diff --git a/private/model/api/shape.go b/private/model/api/shape.go index 372607cceba..8d666de2684 100644 --- a/private/model/api/shape.go +++ b/private/model/api/shape.go @@ -615,16 +615,6 @@ func (s {{ .ShapeName }}) SDKResponseMetadata() aws.Response { {{ range $_, $name := $context.MemberNames -}} {{ $elem := index $context.MemberRefs $name -}} -// Set{{ $name }} sets the {{ $name }} field's value. -func (s *{{ $builderShapeName }}) Set{{ $name }}(v {{ $context.GoStructValueType $name $elem }}) *{{ $builderShapeName }} { - {{ if $elem.UseIndirection -}} - s.{{ $name }} = &v - {{ else -}} - s.{{ $name }} = v - {{ end -}} - return s -} - {{ if $elem.GenerateGetter -}} func (s *{{ $builderShapeName }}) get{{ $name }}() (v {{ $context.GoStructValueType $name $elem }}) { {{ if $elem.UseIndirection -}} diff --git a/private/protocol/ec2query/build_test.go b/private/protocol/ec2query/build_test.go index 6cb9d87f7fc..db0a6e11b4d 100644 --- a/private/protocol/ec2query/build_test.go +++ b/private/protocol/ec2query/build_test.go @@ -150,18 +150,6 @@ type InputService1TestShapeInputService1TestCaseOperation1Input struct { Foo *string `type:"string"` } -// SetBar sets the Bar field's value. -func (s *InputService1TestShapeInputService1TestCaseOperation1Input) SetBar(v string) *InputService1TestShapeInputService1TestCaseOperation1Input { - s.Bar = &v - return s -} - -// SetFoo sets the Foo field's value. -func (s *InputService1TestShapeInputService1TestCaseOperation1Input) SetFoo(v string) *InputService1TestShapeInputService1TestCaseOperation1Input { - s.Foo = &v - return s -} - type InputService1TestShapeInputService1TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -284,24 +272,6 @@ type InputService2TestShapeInputService2TestCaseOperation1Input struct { Yuck *string `locationName:"yuckLocationName" queryName:"yuckQueryName" type:"string"` } -// SetBar sets the Bar field's value. -func (s *InputService2TestShapeInputService2TestCaseOperation1Input) SetBar(v string) *InputService2TestShapeInputService2TestCaseOperation1Input { - s.Bar = &v - return s -} - -// SetFoo sets the Foo field's value. -func (s *InputService2TestShapeInputService2TestCaseOperation1Input) SetFoo(v string) *InputService2TestShapeInputService2TestCaseOperation1Input { - s.Foo = &v - return s -} - -// SetYuck sets the Yuck field's value. -func (s *InputService2TestShapeInputService2TestCaseOperation1Input) SetYuck(v string) *InputService2TestShapeInputService2TestCaseOperation1Input { - s.Yuck = &v - return s -} - type InputService2TestShapeInputService2TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -420,12 +390,6 @@ type InputService3TestShapeInputService3TestCaseOperation1Input struct { StructArg *InputService3TestShapeStructType `locationName:"Struct" type:"structure"` } -// SetStructArg sets the StructArg field's value. -func (s *InputService3TestShapeInputService3TestCaseOperation1Input) SetStructArg(v *InputService3TestShapeStructType) *InputService3TestShapeInputService3TestCaseOperation1Input { - s.StructArg = v - return s -} - type InputService3TestShapeInputService3TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -443,12 +407,6 @@ type InputService3TestShapeStructType struct { ScalarArg *string `locationName:"Scalar" type:"string"` } -// SetScalarArg sets the ScalarArg field's value. -func (s *InputService3TestShapeStructType) SetScalarArg(v string) *InputService3TestShapeStructType { - s.ScalarArg = &v - return s -} - // InputService4ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -562,30 +520,6 @@ type InputService4TestShapeInputService4TestCaseOperation1Input struct { ListStrings []string `type:"list"` } -// SetListBools sets the ListBools field's value. -func (s *InputService4TestShapeInputService4TestCaseOperation1Input) SetListBools(v []bool) *InputService4TestShapeInputService4TestCaseOperation1Input { - s.ListBools = v - return s -} - -// SetListFloats sets the ListFloats field's value. -func (s *InputService4TestShapeInputService4TestCaseOperation1Input) SetListFloats(v []float64) *InputService4TestShapeInputService4TestCaseOperation1Input { - s.ListFloats = v - return s -} - -// SetListIntegers sets the ListIntegers field's value. -func (s *InputService4TestShapeInputService4TestCaseOperation1Input) SetListIntegers(v []int64) *InputService4TestShapeInputService4TestCaseOperation1Input { - s.ListIntegers = v - return s -} - -// SetListStrings sets the ListStrings field's value. -func (s *InputService4TestShapeInputService4TestCaseOperation1Input) SetListStrings(v []string) *InputService4TestShapeInputService4TestCaseOperation1Input { - s.ListStrings = v - return s -} - type InputService4TestShapeInputService4TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -704,12 +638,6 @@ type InputService5TestShapeInputService5TestCaseOperation1Input struct { ListArg []string `locationName:"ListMemberName" locationNameList:"item" type:"list"` } -// SetListArg sets the ListArg field's value. -func (s *InputService5TestShapeInputService5TestCaseOperation1Input) SetListArg(v []string) *InputService5TestShapeInputService5TestCaseOperation1Input { - s.ListArg = v - return s -} - type InputService5TestShapeInputService5TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -828,12 +756,6 @@ type InputService6TestShapeInputService6TestCaseOperation1Input struct { ListArg []string `locationName:"ListMemberName" queryName:"ListQueryName" locationNameList:"item" type:"list"` } -// SetListArg sets the ListArg field's value. -func (s *InputService6TestShapeInputService6TestCaseOperation1Input) SetListArg(v []string) *InputService6TestShapeInputService6TestCaseOperation1Input { - s.ListArg = v - return s -} - type InputService6TestShapeInputService6TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -953,12 +875,6 @@ type InputService7TestShapeInputService7TestCaseOperation1Input struct { BlobArg []byte `type:"blob"` } -// SetBlobArg sets the BlobArg field's value. -func (s *InputService7TestShapeInputService7TestCaseOperation1Input) SetBlobArg(v []byte) *InputService7TestShapeInputService7TestCaseOperation1Input { - s.BlobArg = v - return s -} - type InputService7TestShapeInputService7TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1077,12 +993,6 @@ type InputService8TestShapeInputService8TestCaseOperation1Input struct { TimeArg *time.Time `type:"timestamp" timestampFormat:"iso8601"` } -// SetTimeArg sets the TimeArg field's value. -func (s *InputService8TestShapeInputService8TestCaseOperation1Input) SetTimeArg(v time.Time) *InputService8TestShapeInputService8TestCaseOperation1Input { - s.TimeArg = &v - return s -} - type InputService8TestShapeInputService8TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1259,12 +1169,6 @@ type InputService9TestShapeInputService9TestCaseOperation2Input struct { Token *string `type:"string" idempotencyToken:"true"` } -// SetToken sets the Token field's value. -func (s *InputService9TestShapeInputService9TestCaseOperation2Input) SetToken(v string) *InputService9TestShapeInputService9TestCaseOperation2Input { - s.Token = &v - return s -} - type InputService9TestShapeInputService9TestCaseOperation2Output struct { _ struct{} `type:"structure"` @@ -1443,18 +1347,6 @@ type InputService10TestShapeInputService10TestCaseOperation2Input struct { ListEnums []InputService10TestShapeEnumType `type:"list"` } -// SetFooEnum sets the FooEnum field's value. -func (s *InputService10TestShapeInputService10TestCaseOperation2Input) SetFooEnum(v InputService10TestShapeEnumType) *InputService10TestShapeInputService10TestCaseOperation2Input { - s.FooEnum = v - return s -} - -// SetListEnums sets the ListEnums field's value. -func (s *InputService10TestShapeInputService10TestCaseOperation2Input) SetListEnums(v []InputService10TestShapeEnumType) *InputService10TestShapeInputService10TestCaseOperation2Input { - s.ListEnums = v - return s -} - type InputService10TestShapeInputService10TestCaseOperation2Output struct { _ struct{} `type:"structure"` diff --git a/private/protocol/ec2query/unmarshal_test.go b/private/protocol/ec2query/unmarshal_test.go index 40f8d067652..e0fb4d96e6a 100644 --- a/private/protocol/ec2query/unmarshal_test.go +++ b/private/protocol/ec2query/unmarshal_test.go @@ -171,54 +171,6 @@ func (s OutputService1TestShapeOutputService1TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetChar sets the Char field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetChar(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Char = &v - return s -} - -// SetDouble sets the Double field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetDouble(v float64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Double = &v - return s -} - -// SetFalseBool sets the FalseBool field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetFalseBool(v bool) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.FalseBool = &v - return s -} - -// SetFloat sets the Float field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetFloat(v float64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Float = &v - return s -} - -// SetLong sets the Long field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetLong(v int64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Long = &v - return s -} - -// SetNum sets the Num field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetNum(v int64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Num = &v - return s -} - -// SetStr sets the Str field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetStr(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Str = &v - return s -} - -// SetTrueBool sets the TrueBool field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetTrueBool(v bool) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.TrueBool = &v - return s -} - // OutputService2ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -336,12 +288,6 @@ func (s OutputService2TestShapeOutputService2TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetBlob sets the Blob field's value. -func (s *OutputService2TestShapeOutputService2TestCaseOperation1Output) SetBlob(v []byte) *OutputService2TestShapeOutputService2TestCaseOperation1Output { - s.Blob = v - return s -} - // OutputService3ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -458,12 +404,6 @@ func (s OutputService3TestShapeOutputService3TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetListMember sets the ListMember field's value. -func (s *OutputService3TestShapeOutputService3TestCaseOperation1Output) SetListMember(v []string) *OutputService3TestShapeOutputService3TestCaseOperation1Output { - s.ListMember = v - return s -} - // OutputService4ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -580,12 +520,6 @@ func (s OutputService4TestShapeOutputService4TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetListMember sets the ListMember field's value. -func (s *OutputService4TestShapeOutputService4TestCaseOperation1Output) SetListMember(v []string) *OutputService4TestShapeOutputService4TestCaseOperation1Output { - s.ListMember = v - return s -} - // OutputService5ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -702,12 +636,6 @@ func (s OutputService5TestShapeOutputService5TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetListMember sets the ListMember field's value. -func (s *OutputService5TestShapeOutputService5TestCaseOperation1Output) SetListMember(v []string) *OutputService5TestShapeOutputService5TestCaseOperation1Output { - s.ListMember = v - return s -} - // OutputService6ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -824,24 +752,12 @@ func (s OutputService6TestShapeOutputService6TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetMap sets the Map field's value. -func (s *OutputService6TestShapeOutputService6TestCaseOperation1Output) SetMap(v map[string]OutputService6TestShapeStructureType) *OutputService6TestShapeOutputService6TestCaseOperation1Output { - s.Map = v - return s -} - type OutputService6TestShapeStructureType struct { _ struct{} `type:"structure"` Foo *string `locationName:"foo" type:"string"` } -// SetFoo sets the Foo field's value. -func (s *OutputService6TestShapeStructureType) SetFoo(v string) *OutputService6TestShapeStructureType { - s.Foo = &v - return s -} - // OutputService7ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -958,12 +874,6 @@ func (s OutputService7TestShapeOutputService7TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetMap sets the Map field's value. -func (s *OutputService7TestShapeOutputService7TestCaseOperation1Output) SetMap(v map[string]string) *OutputService7TestShapeOutputService7TestCaseOperation1Output { - s.Map = v - return s -} - // OutputService8ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1080,12 +990,6 @@ func (s OutputService8TestShapeOutputService8TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetMap sets the Map field's value. -func (s *OutputService8TestShapeOutputService8TestCaseOperation1Output) SetMap(v map[string]string) *OutputService8TestShapeOutputService8TestCaseOperation1Output { - s.Map = v - return s -} - // OutputService9ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1202,12 +1106,6 @@ func (s OutputService9TestShapeOutputService9TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetFoo sets the Foo field's value. -func (s *OutputService9TestShapeOutputService9TestCaseOperation1Output) SetFoo(v string) *OutputService9TestShapeOutputService9TestCaseOperation1Output { - s.Foo = &v - return s -} - // OutputService10ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1326,18 +1224,6 @@ func (s OutputService10TestShapeOutputService10TestCaseOperation1Output) SDKResp return s.responseMetadata } -// SetFooEnum sets the FooEnum field's value. -func (s *OutputService10TestShapeOutputService10TestCaseOperation1Output) SetFooEnum(v OutputService10TestShapeEC2EnumType) *OutputService10TestShapeOutputService10TestCaseOperation1Output { - s.FooEnum = v - return s -} - -// SetListEnums sets the ListEnums field's value. -func (s *OutputService10TestShapeOutputService10TestCaseOperation1Output) SetListEnums(v []OutputService10TestShapeEC2EnumType) *OutputService10TestShapeOutputService10TestCaseOperation1Output { - s.ListEnums = v - return s -} - type OutputService10TestShapeEC2EnumType string // Enum values for OutputService10TestShapeEC2EnumType diff --git a/private/protocol/jsonrpc/build_test.go b/private/protocol/jsonrpc/build_test.go index b1daa6d8c44..a7249fe9b95 100644 --- a/private/protocol/jsonrpc/build_test.go +++ b/private/protocol/jsonrpc/build_test.go @@ -150,12 +150,6 @@ type InputService1TestShapeInputService1TestCaseOperation1Input struct { Name *string `type:"string"` } -// SetName sets the Name field's value. -func (s *InputService1TestShapeInputService1TestCaseOperation1Input) SetName(v string) *InputService1TestShapeInputService1TestCaseOperation1Input { - s.Name = &v - return s -} - type InputService1TestShapeInputService1TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -276,12 +270,6 @@ type InputService2TestShapeInputService2TestCaseOperation1Input struct { TimeArg *time.Time `type:"timestamp" timestampFormat:"unix"` } -// SetTimeArg sets the TimeArg field's value. -func (s *InputService2TestShapeInputService2TestCaseOperation1Input) SetTimeArg(v time.Time) *InputService2TestShapeInputService2TestCaseOperation1Input { - s.TimeArg = &v - return s -} - type InputService2TestShapeInputService2TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -463,18 +451,6 @@ type InputService3TestShapeInputService3TestCaseOperation2Input struct { BlobMap map[string][]byte `type:"map"` } -// SetBlobArg sets the BlobArg field's value. -func (s *InputService3TestShapeInputService3TestCaseOperation2Input) SetBlobArg(v []byte) *InputService3TestShapeInputService3TestCaseOperation2Input { - s.BlobArg = v - return s -} - -// SetBlobMap sets the BlobMap field's value. -func (s *InputService3TestShapeInputService3TestCaseOperation2Input) SetBlobMap(v map[string][]byte) *InputService3TestShapeInputService3TestCaseOperation2Input { - s.BlobMap = v - return s -} - type InputService3TestShapeInputService3TestCaseOperation2Output struct { _ struct{} `type:"structure"` @@ -595,12 +571,6 @@ type InputService4TestShapeInputService4TestCaseOperation1Input struct { ListParam [][]byte `type:"list"` } -// SetListParam sets the ListParam field's value. -func (s *InputService4TestShapeInputService4TestCaseOperation1Input) SetListParam(v [][]byte) *InputService4TestShapeInputService4TestCaseOperation1Input { - s.ListParam = v - return s -} - type InputService4TestShapeInputService4TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1011,12 +981,6 @@ type InputService5TestShapeInputService5TestCaseOperation6Input struct { RecursiveStruct *InputService5TestShapeRecursiveStructType `type:"structure"` } -// SetRecursiveStruct sets the RecursiveStruct field's value. -func (s *InputService5TestShapeInputService5TestCaseOperation6Input) SetRecursiveStruct(v *InputService5TestShapeRecursiveStructType) *InputService5TestShapeInputService5TestCaseOperation6Input { - s.RecursiveStruct = v - return s -} - type InputService5TestShapeInputService5TestCaseOperation6Output struct { _ struct{} `type:"structure"` @@ -1040,30 +1004,6 @@ type InputService5TestShapeRecursiveStructType struct { RecursiveStruct *InputService5TestShapeRecursiveStructType `type:"structure"` } -// SetNoRecurse sets the NoRecurse field's value. -func (s *InputService5TestShapeRecursiveStructType) SetNoRecurse(v string) *InputService5TestShapeRecursiveStructType { - s.NoRecurse = &v - return s -} - -// SetRecursiveList sets the RecursiveList field's value. -func (s *InputService5TestShapeRecursiveStructType) SetRecursiveList(v []InputService5TestShapeRecursiveStructType) *InputService5TestShapeRecursiveStructType { - s.RecursiveList = v - return s -} - -// SetRecursiveMap sets the RecursiveMap field's value. -func (s *InputService5TestShapeRecursiveStructType) SetRecursiveMap(v map[string]InputService5TestShapeRecursiveStructType) *InputService5TestShapeRecursiveStructType { - s.RecursiveMap = v - return s -} - -// SetRecursiveStruct sets the RecursiveStruct field's value. -func (s *InputService5TestShapeRecursiveStructType) SetRecursiveStruct(v *InputService5TestShapeRecursiveStructType) *InputService5TestShapeRecursiveStructType { - s.RecursiveStruct = v - return s -} - // InputService6ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1173,12 +1113,6 @@ type InputService6TestShapeInputService6TestCaseOperation1Input struct { Map map[string]string `type:"map"` } -// SetMap sets the Map field's value. -func (s *InputService6TestShapeInputService6TestCaseOperation1Input) SetMap(v map[string]string) *InputService6TestShapeInputService6TestCaseOperation1Input { - s.Map = v - return s -} - type InputService6TestShapeInputService6TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1355,12 +1289,6 @@ type InputService7TestShapeInputService7TestCaseOperation2Input struct { Token *string `type:"string" idempotencyToken:"true"` } -// SetToken sets the Token field's value. -func (s *InputService7TestShapeInputService7TestCaseOperation2Input) SetToken(v string) *InputService7TestShapeInputService7TestCaseOperation2Input { - s.Token = &v - return s -} - type InputService7TestShapeInputService7TestCaseOperation2Output struct { _ struct{} `type:"structure"` @@ -1539,18 +1467,6 @@ type InputService8TestShapeInputService8TestCaseOperation2Input struct { ListEnums []InputService8TestShapeEnumType `type:"list"` } -// SetFooEnum sets the FooEnum field's value. -func (s *InputService8TestShapeInputService8TestCaseOperation2Input) SetFooEnum(v InputService8TestShapeEnumType) *InputService8TestShapeInputService8TestCaseOperation2Input { - s.FooEnum = v - return s -} - -// SetListEnums sets the ListEnums field's value. -func (s *InputService8TestShapeInputService8TestCaseOperation2Input) SetListEnums(v []InputService8TestShapeEnumType) *InputService8TestShapeInputService8TestCaseOperation2Input { - s.ListEnums = v - return s -} - type InputService8TestShapeInputService8TestCaseOperation2Output struct { _ struct{} `type:"structure"` diff --git a/private/protocol/jsonrpc/unmarshal_test.go b/private/protocol/jsonrpc/unmarshal_test.go index 4743ebfcd8c..485cbe16dd1 100644 --- a/private/protocol/jsonrpc/unmarshal_test.go +++ b/private/protocol/jsonrpc/unmarshal_test.go @@ -171,54 +171,6 @@ func (s OutputService1TestShapeOutputService1TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetChar sets the Char field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetChar(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Char = &v - return s -} - -// SetDouble sets the Double field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetDouble(v float64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Double = &v - return s -} - -// SetFalseBool sets the FalseBool field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetFalseBool(v bool) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.FalseBool = &v - return s -} - -// SetFloat sets the Float field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetFloat(v float64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Float = &v - return s -} - -// SetLong sets the Long field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetLong(v int64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Long = &v - return s -} - -// SetNum sets the Num field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetNum(v int64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Num = &v - return s -} - -// SetStr sets the Str field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetStr(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Str = &v - return s -} - -// SetTrueBool sets the TrueBool field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetTrueBool(v bool) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.TrueBool = &v - return s -} - // OutputService2ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -325,12 +277,6 @@ type OutputService2TestShapeBlobContainer struct { Foo []byte `locationName:"foo" type:"blob"` } -// SetFoo sets the Foo field's value. -func (s *OutputService2TestShapeBlobContainer) SetFoo(v []byte) *OutputService2TestShapeBlobContainer { - s.Foo = v - return s -} - type OutputService2TestShapeOutputService2TestCaseOperation1Input struct { _ struct{} `type:"structure"` } @@ -351,18 +297,6 @@ func (s OutputService2TestShapeOutputService2TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetBlobMember sets the BlobMember field's value. -func (s *OutputService2TestShapeOutputService2TestCaseOperation1Output) SetBlobMember(v []byte) *OutputService2TestShapeOutputService2TestCaseOperation1Output { - s.BlobMember = v - return s -} - -// SetStructMember sets the StructMember field's value. -func (s *OutputService2TestShapeOutputService2TestCaseOperation1Output) SetStructMember(v *OutputService2TestShapeBlobContainer) *OutputService2TestShapeOutputService2TestCaseOperation1Output { - s.StructMember = v - return s -} - // OutputService3ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -481,30 +415,12 @@ func (s OutputService3TestShapeOutputService3TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetStructMember sets the StructMember field's value. -func (s *OutputService3TestShapeOutputService3TestCaseOperation1Output) SetStructMember(v *OutputService3TestShapeTimeContainer) *OutputService3TestShapeOutputService3TestCaseOperation1Output { - s.StructMember = v - return s -} - -// SetTimeMember sets the TimeMember field's value. -func (s *OutputService3TestShapeOutputService3TestCaseOperation1Output) SetTimeMember(v time.Time) *OutputService3TestShapeOutputService3TestCaseOperation1Output { - s.TimeMember = &v - return s -} - type OutputService3TestShapeTimeContainer struct { _ struct{} `type:"structure"` Foo *time.Time `locationName:"foo" type:"timestamp" timestampFormat:"unix"` } -// SetFoo sets the Foo field's value. -func (s *OutputService3TestShapeTimeContainer) SetFoo(v time.Time) *OutputService3TestShapeTimeContainer { - s.Foo = &v - return s -} - // OutputService4ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -674,24 +590,6 @@ func (s OutputService4TestShapeOutputService4TestCaseOperation2Output) SDKRespon return s.responseMetadata } -// SetListMember sets the ListMember field's value. -func (s *OutputService4TestShapeOutputService4TestCaseOperation2Output) SetListMember(v []string) *OutputService4TestShapeOutputService4TestCaseOperation2Output { - s.ListMember = v - return s -} - -// SetListMemberMap sets the ListMemberMap field's value. -func (s *OutputService4TestShapeOutputService4TestCaseOperation2Output) SetListMemberMap(v []map[string]string) *OutputService4TestShapeOutputService4TestCaseOperation2Output { - s.ListMemberMap = v - return s -} - -// SetListMemberStruct sets the ListMemberStruct field's value. -func (s *OutputService4TestShapeOutputService4TestCaseOperation2Output) SetListMemberStruct(v []OutputService4TestShapeStructType) *OutputService4TestShapeOutputService4TestCaseOperation2Output { - s.ListMemberStruct = v - return s -} - type OutputService4TestShapeStructType struct { _ struct{} `type:"structure"` } @@ -812,12 +710,6 @@ func (s OutputService5TestShapeOutputService5TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetMapMember sets the MapMember field's value. -func (s *OutputService5TestShapeOutputService5TestCaseOperation1Output) SetMapMember(v map[string][]int64) *OutputService5TestShapeOutputService5TestCaseOperation1Output { - s.MapMember = v - return s -} - // OutputService6ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -934,12 +826,6 @@ func (s OutputService6TestShapeOutputService6TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetStrType sets the StrType field's value. -func (s *OutputService6TestShapeOutputService6TestCaseOperation1Output) SetStrType(v string) *OutputService6TestShapeOutputService6TestCaseOperation1Output { - s.StrType = &v - return s -} - // OutputService7ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1058,18 +944,6 @@ func (s OutputService7TestShapeOutputService7TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetFooEnum sets the FooEnum field's value. -func (s *OutputService7TestShapeOutputService7TestCaseOperation1Output) SetFooEnum(v OutputService7TestShapeJSONEnumType) *OutputService7TestShapeOutputService7TestCaseOperation1Output { - s.FooEnum = v - return s -} - -// SetListEnums sets the ListEnums field's value. -func (s *OutputService7TestShapeOutputService7TestCaseOperation1Output) SetListEnums(v []OutputService7TestShapeJSONEnumType) *OutputService7TestShapeOutputService7TestCaseOperation1Output { - s.ListEnums = v - return s -} - type OutputService7TestShapeJSONEnumType string // Enum values for OutputService7TestShapeJSONEnumType diff --git a/private/protocol/query/build_test.go b/private/protocol/query/build_test.go index 9fe4c67cbb8..250e20ca484 100644 --- a/private/protocol/query/build_test.go +++ b/private/protocol/query/build_test.go @@ -268,24 +268,6 @@ type InputService1TestShapeInputService1TestCaseOperation3Input struct { Foo *string `type:"string"` } -// SetBar sets the Bar field's value. -func (s *InputService1TestShapeInputService1TestCaseOperation3Input) SetBar(v string) *InputService1TestShapeInputService1TestCaseOperation3Input { - s.Bar = &v - return s -} - -// SetBaz sets the Baz field's value. -func (s *InputService1TestShapeInputService1TestCaseOperation3Input) SetBaz(v bool) *InputService1TestShapeInputService1TestCaseOperation3Input { - s.Baz = &v - return s -} - -// SetFoo sets the Foo field's value. -func (s *InputService1TestShapeInputService1TestCaseOperation3Input) SetFoo(v string) *InputService1TestShapeInputService1TestCaseOperation3Input { - s.Foo = &v - return s -} - type InputService1TestShapeInputService1TestCaseOperation3Output struct { _ struct{} `type:"structure"` @@ -404,12 +386,6 @@ type InputService2TestShapeInputService2TestCaseOperation1Input struct { StructArg *InputService2TestShapeStructType `type:"structure"` } -// SetStructArg sets the StructArg field's value. -func (s *InputService2TestShapeInputService2TestCaseOperation1Input) SetStructArg(v *InputService2TestShapeStructType) *InputService2TestShapeInputService2TestCaseOperation1Input { - s.StructArg = v - return s -} - type InputService2TestShapeInputService2TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -427,12 +403,6 @@ type InputService2TestShapeStructType struct { ScalarArg *string `type:"string"` } -// SetScalarArg sets the ScalarArg field's value. -func (s *InputService2TestShapeStructType) SetScalarArg(v string) *InputService2TestShapeStructType { - s.ScalarArg = &v - return s -} - // InputService3ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -598,12 +568,6 @@ type InputService3TestShapeInputService3TestCaseOperation2Input struct { ListArg []string `type:"list"` } -// SetListArg sets the ListArg field's value. -func (s *InputService3TestShapeInputService3TestCaseOperation2Input) SetListArg(v []string) *InputService3TestShapeInputService3TestCaseOperation2Input { - s.ListArg = v - return s -} - type InputService3TestShapeInputService3TestCaseOperation2Output struct { _ struct{} `type:"structure"` @@ -784,24 +748,6 @@ type InputService4TestShapeInputService4TestCaseOperation2Input struct { ScalarArg *string `type:"string"` } -// SetListArg sets the ListArg field's value. -func (s *InputService4TestShapeInputService4TestCaseOperation2Input) SetListArg(v []string) *InputService4TestShapeInputService4TestCaseOperation2Input { - s.ListArg = v - return s -} - -// SetNamedListArg sets the NamedListArg field's value. -func (s *InputService4TestShapeInputService4TestCaseOperation2Input) SetNamedListArg(v []string) *InputService4TestShapeInputService4TestCaseOperation2Input { - s.NamedListArg = v - return s -} - -// SetScalarArg sets the ScalarArg field's value. -func (s *InputService4TestShapeInputService4TestCaseOperation2Input) SetScalarArg(v string) *InputService4TestShapeInputService4TestCaseOperation2Input { - s.ScalarArg = &v - return s -} - type InputService4TestShapeInputService4TestCaseOperation2Output struct { _ struct{} `type:"structure"` @@ -920,12 +866,6 @@ type InputService5TestShapeInputService5TestCaseOperation1Input struct { MapArg map[string]string `type:"map" flattened:"true"` } -// SetMapArg sets the MapArg field's value. -func (s *InputService5TestShapeInputService5TestCaseOperation1Input) SetMapArg(v map[string]string) *InputService5TestShapeInputService5TestCaseOperation1Input { - s.MapArg = v - return s -} - type InputService5TestShapeInputService5TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1044,12 +984,6 @@ type InputService6TestShapeInputService6TestCaseOperation1Input struct { ListArg []string `locationNameList:"item" type:"list"` } -// SetListArg sets the ListArg field's value. -func (s *InputService6TestShapeInputService6TestCaseOperation1Input) SetListArg(v []string) *InputService6TestShapeInputService6TestCaseOperation1Input { - s.ListArg = v - return s -} - type InputService6TestShapeInputService6TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1170,18 +1104,6 @@ type InputService7TestShapeInputService7TestCaseOperation1Input struct { ScalarArg *string `type:"string"` } -// SetListArg sets the ListArg field's value. -func (s *InputService7TestShapeInputService7TestCaseOperation1Input) SetListArg(v []string) *InputService7TestShapeInputService7TestCaseOperation1Input { - s.ListArg = v - return s -} - -// SetScalarArg sets the ScalarArg field's value. -func (s *InputService7TestShapeInputService7TestCaseOperation1Input) SetScalarArg(v string) *InputService7TestShapeInputService7TestCaseOperation1Input { - s.ScalarArg = &v - return s -} - type InputService7TestShapeInputService7TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1300,12 +1222,6 @@ type InputService8TestShapeInputService8TestCaseOperation1Input struct { MapArg map[string]string `type:"map"` } -// SetMapArg sets the MapArg field's value. -func (s *InputService8TestShapeInputService8TestCaseOperation1Input) SetMapArg(v map[string]string) *InputService8TestShapeInputService8TestCaseOperation1Input { - s.MapArg = v - return s -} - type InputService8TestShapeInputService8TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1424,12 +1340,6 @@ type InputService9TestShapeInputService9TestCaseOperation1Input struct { MapArg map[string]string `locationNameKey:"TheKey" locationNameValue:"TheValue" type:"map"` } -// SetMapArg sets the MapArg field's value. -func (s *InputService9TestShapeInputService9TestCaseOperation1Input) SetMapArg(v map[string]string) *InputService9TestShapeInputService9TestCaseOperation1Input { - s.MapArg = v - return s -} - type InputService9TestShapeInputService9TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1549,12 +1459,6 @@ type InputService10TestShapeInputService10TestCaseOperation1Input struct { BlobArg []byte `type:"blob"` } -// SetBlobArg sets the BlobArg field's value. -func (s *InputService10TestShapeInputService10TestCaseOperation1Input) SetBlobArg(v []byte) *InputService10TestShapeInputService10TestCaseOperation1Input { - s.BlobArg = v - return s -} - type InputService10TestShapeInputService10TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1673,12 +1577,6 @@ type InputService11TestShapeInputService11TestCaseOperation1Input struct { BlobArgs [][]byte `type:"list" flattened:"true"` } -// SetBlobArgs sets the BlobArgs field's value. -func (s *InputService11TestShapeInputService11TestCaseOperation1Input) SetBlobArgs(v [][]byte) *InputService11TestShapeInputService11TestCaseOperation1Input { - s.BlobArgs = v - return s -} - type InputService11TestShapeInputService11TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1797,12 +1695,6 @@ type InputService12TestShapeInputService12TestCaseOperation1Input struct { TimeArg *time.Time `type:"timestamp" timestampFormat:"iso8601"` } -// SetTimeArg sets the TimeArg field's value. -func (s *InputService12TestShapeInputService12TestCaseOperation1Input) SetTimeArg(v time.Time) *InputService12TestShapeInputService12TestCaseOperation1Input { - s.TimeArg = &v - return s -} - type InputService12TestShapeInputService12TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -2211,12 +2103,6 @@ type InputService13TestShapeInputService13TestCaseOperation6Input struct { RecursiveStruct *InputService13TestShapeRecursiveStructType `type:"structure"` } -// SetRecursiveStruct sets the RecursiveStruct field's value. -func (s *InputService13TestShapeInputService13TestCaseOperation6Input) SetRecursiveStruct(v *InputService13TestShapeRecursiveStructType) *InputService13TestShapeInputService13TestCaseOperation6Input { - s.RecursiveStruct = v - return s -} - type InputService13TestShapeInputService13TestCaseOperation6Output struct { _ struct{} `type:"structure"` @@ -2240,30 +2126,6 @@ type InputService13TestShapeRecursiveStructType struct { RecursiveStruct *InputService13TestShapeRecursiveStructType `type:"structure"` } -// SetNoRecurse sets the NoRecurse field's value. -func (s *InputService13TestShapeRecursiveStructType) SetNoRecurse(v string) *InputService13TestShapeRecursiveStructType { - s.NoRecurse = &v - return s -} - -// SetRecursiveList sets the RecursiveList field's value. -func (s *InputService13TestShapeRecursiveStructType) SetRecursiveList(v []InputService13TestShapeRecursiveStructType) *InputService13TestShapeRecursiveStructType { - s.RecursiveList = v - return s -} - -// SetRecursiveMap sets the RecursiveMap field's value. -func (s *InputService13TestShapeRecursiveStructType) SetRecursiveMap(v map[string]InputService13TestShapeRecursiveStructType) *InputService13TestShapeRecursiveStructType { - s.RecursiveMap = v - return s -} - -// SetRecursiveStruct sets the RecursiveStruct field's value. -func (s *InputService13TestShapeRecursiveStructType) SetRecursiveStruct(v *InputService13TestShapeRecursiveStructType) *InputService13TestShapeRecursiveStructType { - s.RecursiveStruct = v - return s -} - // InputService14ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -2429,12 +2291,6 @@ type InputService14TestShapeInputService14TestCaseOperation2Input struct { Token *string `type:"string" idempotencyToken:"true"` } -// SetToken sets the Token field's value. -func (s *InputService14TestShapeInputService14TestCaseOperation2Input) SetToken(v string) *InputService14TestShapeInputService14TestCaseOperation2Input { - s.Token = &v - return s -} - type InputService14TestShapeInputService14TestCaseOperation2Output struct { _ struct{} `type:"structure"` @@ -2671,18 +2527,6 @@ type InputService15TestShapeInputService15TestCaseOperation3Input struct { ListEnums []InputService15TestShapeEnumType `type:"list"` } -// SetFooEnum sets the FooEnum field's value. -func (s *InputService15TestShapeInputService15TestCaseOperation3Input) SetFooEnum(v InputService15TestShapeEnumType) *InputService15TestShapeInputService15TestCaseOperation3Input { - s.FooEnum = v - return s -} - -// SetListEnums sets the ListEnums field's value. -func (s *InputService15TestShapeInputService15TestCaseOperation3Input) SetListEnums(v []InputService15TestShapeEnumType) *InputService15TestShapeInputService15TestCaseOperation3Input { - s.ListEnums = v - return s -} - type InputService15TestShapeInputService15TestCaseOperation3Output struct { _ struct{} `type:"structure"` diff --git a/private/protocol/query/unmarshal_test.go b/private/protocol/query/unmarshal_test.go index 66cb3c44e95..7ddcdc39cc0 100644 --- a/private/protocol/query/unmarshal_test.go +++ b/private/protocol/query/unmarshal_test.go @@ -173,60 +173,6 @@ func (s OutputService1TestShapeOutputService1TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetChar sets the Char field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetChar(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Char = &v - return s -} - -// SetDouble sets the Double field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetDouble(v float64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Double = &v - return s -} - -// SetFalseBool sets the FalseBool field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetFalseBool(v bool) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.FalseBool = &v - return s -} - -// SetFloat sets the Float field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetFloat(v float64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Float = &v - return s -} - -// SetLong sets the Long field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetLong(v int64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Long = &v - return s -} - -// SetNum sets the Num field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetNum(v int64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Num = &v - return s -} - -// SetStr sets the Str field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetStr(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Str = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetTimestamp(v time.Time) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Timestamp = &v - return s -} - -// SetTrueBool sets the TrueBool field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetTrueBool(v bool) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.TrueBool = &v - return s -} - // OutputService2ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -345,18 +291,6 @@ func (s OutputService2TestShapeOutputService2TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetNum sets the Num field's value. -func (s *OutputService2TestShapeOutputService2TestCaseOperation1Output) SetNum(v int64) *OutputService2TestShapeOutputService2TestCaseOperation1Output { - s.Num = &v - return s -} - -// SetStr sets the Str field's value. -func (s *OutputService2TestShapeOutputService2TestCaseOperation1Output) SetStr(v string) *OutputService2TestShapeOutputService2TestCaseOperation1Output { - s.Str = &v - return s -} - // OutputService3ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -474,12 +408,6 @@ func (s OutputService3TestShapeOutputService3TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetBlob sets the Blob field's value. -func (s *OutputService3TestShapeOutputService3TestCaseOperation1Output) SetBlob(v []byte) *OutputService3TestShapeOutputService3TestCaseOperation1Output { - s.Blob = v - return s -} - // OutputService4ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -596,12 +524,6 @@ func (s OutputService4TestShapeOutputService4TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetListMember sets the ListMember field's value. -func (s *OutputService4TestShapeOutputService4TestCaseOperation1Output) SetListMember(v []string) *OutputService4TestShapeOutputService4TestCaseOperation1Output { - s.ListMember = v - return s -} - // OutputService5ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -718,12 +640,6 @@ func (s OutputService5TestShapeOutputService5TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetListMember sets the ListMember field's value. -func (s *OutputService5TestShapeOutputService5TestCaseOperation1Output) SetListMember(v []string) *OutputService5TestShapeOutputService5TestCaseOperation1Output { - s.ListMember = v - return s -} - // OutputService6ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -840,12 +756,6 @@ func (s OutputService6TestShapeOutputService6TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetListMember sets the ListMember field's value. -func (s *OutputService6TestShapeOutputService6TestCaseOperation1Output) SetListMember(v []string) *OutputService6TestShapeOutputService6TestCaseOperation1Output { - s.ListMember = v - return s -} - // OutputService7ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -962,12 +872,6 @@ func (s OutputService7TestShapeOutputService7TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetListMember sets the ListMember field's value. -func (s *OutputService7TestShapeOutputService7TestCaseOperation1Output) SetListMember(v []string) *OutputService7TestShapeOutputService7TestCaseOperation1Output { - s.ListMember = v - return s -} - // OutputService8ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1084,12 +988,6 @@ func (s OutputService8TestShapeOutputService8TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetList sets the List field's value. -func (s *OutputService8TestShapeOutputService8TestCaseOperation1Output) SetList(v []OutputService8TestShapeStructureShape) *OutputService8TestShapeOutputService8TestCaseOperation1Output { - s.List = v - return s -} - type OutputService8TestShapeStructureShape struct { _ struct{} `type:"structure"` @@ -1100,24 +998,6 @@ type OutputService8TestShapeStructureShape struct { Foo *string `type:"string"` } -// SetBar sets the Bar field's value. -func (s *OutputService8TestShapeStructureShape) SetBar(v string) *OutputService8TestShapeStructureShape { - s.Bar = &v - return s -} - -// SetBaz sets the Baz field's value. -func (s *OutputService8TestShapeStructureShape) SetBaz(v string) *OutputService8TestShapeStructureShape { - s.Baz = &v - return s -} - -// SetFoo sets the Foo field's value. -func (s *OutputService8TestShapeStructureShape) SetFoo(v string) *OutputService8TestShapeStructureShape { - s.Foo = &v - return s -} - // OutputService9ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1234,12 +1114,6 @@ func (s OutputService9TestShapeOutputService9TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetList sets the List field's value. -func (s *OutputService9TestShapeOutputService9TestCaseOperation1Output) SetList(v []OutputService9TestShapeStructureShape) *OutputService9TestShapeOutputService9TestCaseOperation1Output { - s.List = v - return s -} - type OutputService9TestShapeStructureShape struct { _ struct{} `type:"structure"` @@ -1250,24 +1124,6 @@ type OutputService9TestShapeStructureShape struct { Foo *string `type:"string"` } -// SetBar sets the Bar field's value. -func (s *OutputService9TestShapeStructureShape) SetBar(v string) *OutputService9TestShapeStructureShape { - s.Bar = &v - return s -} - -// SetBaz sets the Baz field's value. -func (s *OutputService9TestShapeStructureShape) SetBaz(v string) *OutputService9TestShapeStructureShape { - s.Baz = &v - return s -} - -// SetFoo sets the Foo field's value. -func (s *OutputService9TestShapeStructureShape) SetFoo(v string) *OutputService9TestShapeStructureShape { - s.Foo = &v - return s -} - // OutputService10ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1384,12 +1240,6 @@ func (s OutputService10TestShapeOutputService10TestCaseOperation1Output) SDKResp return s.responseMetadata } -// SetList sets the List field's value. -func (s *OutputService10TestShapeOutputService10TestCaseOperation1Output) SetList(v []string) *OutputService10TestShapeOutputService10TestCaseOperation1Output { - s.List = v - return s -} - // OutputService11ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1506,24 +1356,12 @@ func (s OutputService11TestShapeOutputService11TestCaseOperation1Output) SDKResp return s.responseMetadata } -// SetMap sets the Map field's value. -func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetMap(v map[string]OutputService11TestShapeStructType) *OutputService11TestShapeOutputService11TestCaseOperation1Output { - s.Map = v - return s -} - type OutputService11TestShapeStructType struct { _ struct{} `type:"structure"` Foo *string `locationName:"foo" type:"string"` } -// SetFoo sets the Foo field's value. -func (s *OutputService11TestShapeStructType) SetFoo(v string) *OutputService11TestShapeStructType { - s.Foo = &v - return s -} - // OutputService12ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1640,12 +1478,6 @@ func (s OutputService12TestShapeOutputService12TestCaseOperation1Output) SDKResp return s.responseMetadata } -// SetMap sets the Map field's value. -func (s *OutputService12TestShapeOutputService12TestCaseOperation1Output) SetMap(v map[string]string) *OutputService12TestShapeOutputService12TestCaseOperation1Output { - s.Map = v - return s -} - // OutputService13ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1762,12 +1594,6 @@ func (s OutputService13TestShapeOutputService13TestCaseOperation1Output) SDKResp return s.responseMetadata } -// SetMap sets the Map field's value. -func (s *OutputService13TestShapeOutputService13TestCaseOperation1Output) SetMap(v map[string]string) *OutputService13TestShapeOutputService13TestCaseOperation1Output { - s.Map = v - return s -} - // OutputService14ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1884,12 +1710,6 @@ func (s OutputService14TestShapeOutputService14TestCaseOperation1Output) SDKResp return s.responseMetadata } -// SetMap sets the Map field's value. -func (s *OutputService14TestShapeOutputService14TestCaseOperation1Output) SetMap(v map[string]string) *OutputService14TestShapeOutputService14TestCaseOperation1Output { - s.Map = v - return s -} - // OutputService15ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -2006,12 +1826,6 @@ func (s OutputService15TestShapeOutputService15TestCaseOperation1Output) SDKResp return s.responseMetadata } -// SetFoo sets the Foo field's value. -func (s *OutputService15TestShapeOutputService15TestCaseOperation1Output) SetFoo(v string) *OutputService15TestShapeOutputService15TestCaseOperation1Output { - s.Foo = &v - return s -} - // OutputService16ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -2130,18 +1944,6 @@ func (s OutputService16TestShapeOutputService16TestCaseOperation1Output) SDKResp return s.responseMetadata } -// SetFooEnum sets the FooEnum field's value. -func (s *OutputService16TestShapeOutputService16TestCaseOperation1Output) SetFooEnum(v OutputService16TestShapeEC2EnumType) *OutputService16TestShapeOutputService16TestCaseOperation1Output { - s.FooEnum = v - return s -} - -// SetListEnums sets the ListEnums field's value. -func (s *OutputService16TestShapeOutputService16TestCaseOperation1Output) SetListEnums(v []OutputService16TestShapeEC2EnumType) *OutputService16TestShapeOutputService16TestCaseOperation1Output { - s.ListEnums = v - return s -} - type OutputService16TestShapeEC2EnumType string // Enum values for OutputService16TestShapeEC2EnumType diff --git a/private/protocol/restjson/build_test.go b/private/protocol/restjson/build_test.go index f2e2a6ea57a..01b9f0c76c3 100644 --- a/private/protocol/restjson/build_test.go +++ b/private/protocol/restjson/build_test.go @@ -264,12 +264,6 @@ type InputService2TestShapeInputService2TestCaseOperation1Input struct { PipelineId *string `location:"uri" type:"string"` } -// SetPipelineId sets the PipelineId field's value. -func (s *InputService2TestShapeInputService2TestCaseOperation1Input) SetPipelineId(v string) *InputService2TestShapeInputService2TestCaseOperation1Input { - s.PipelineId = &v - return s -} - type InputService2TestShapeInputService2TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -388,12 +382,6 @@ type InputService3TestShapeInputService3TestCaseOperation1Input struct { Foo *string `location:"uri" locationName:"PipelineId" type:"string"` } -// SetFoo sets the Foo field's value. -func (s *InputService3TestShapeInputService3TestCaseOperation1Input) SetFoo(v string) *InputService3TestShapeInputService3TestCaseOperation1Input { - s.Foo = &v - return s -} - type InputService3TestShapeInputService3TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -512,12 +500,6 @@ type InputService4TestShapeInputService4TestCaseOperation1Input struct { Items []string `location:"querystring" locationName:"item" type:"list"` } -// SetItems sets the Items field's value. -func (s *InputService4TestShapeInputService4TestCaseOperation1Input) SetItems(v []string) *InputService4TestShapeInputService4TestCaseOperation1Input { - s.Items = v - return s -} - type InputService4TestShapeInputService4TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -638,18 +620,6 @@ type InputService5TestShapeInputService5TestCaseOperation1Input struct { QueryDoc map[string]string `location:"querystring" type:"map"` } -// SetPipelineId sets the PipelineId field's value. -func (s *InputService5TestShapeInputService5TestCaseOperation1Input) SetPipelineId(v string) *InputService5TestShapeInputService5TestCaseOperation1Input { - s.PipelineId = &v - return s -} - -// SetQueryDoc sets the QueryDoc field's value. -func (s *InputService5TestShapeInputService5TestCaseOperation1Input) SetQueryDoc(v map[string]string) *InputService5TestShapeInputService5TestCaseOperation1Input { - s.QueryDoc = v - return s -} - type InputService5TestShapeInputService5TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -770,18 +740,6 @@ type InputService6TestShapeInputService6TestCaseOperation1Input struct { QueryDoc map[string][]string `location:"querystring" type:"map"` } -// SetPipelineId sets the PipelineId field's value. -func (s *InputService6TestShapeInputService6TestCaseOperation1Input) SetPipelineId(v string) *InputService6TestShapeInputService6TestCaseOperation1Input { - s.PipelineId = &v - return s -} - -// SetQueryDoc sets the QueryDoc field's value. -func (s *InputService6TestShapeInputService6TestCaseOperation1Input) SetQueryDoc(v map[string][]string) *InputService6TestShapeInputService6TestCaseOperation1Input { - s.QueryDoc = v - return s -} - type InputService6TestShapeInputService6TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -958,12 +916,6 @@ type InputService7TestShapeInputService7TestCaseOperation2Input struct { BoolQuery *bool `location:"querystring" locationName:"bool-query" type:"boolean"` } -// SetBoolQuery sets the BoolQuery field's value. -func (s *InputService7TestShapeInputService7TestCaseOperation2Input) SetBoolQuery(v bool) *InputService7TestShapeInputService7TestCaseOperation2Input { - s.BoolQuery = &v - return s -} - type InputService7TestShapeInputService7TestCaseOperation2Output struct { _ struct{} `type:"structure"` @@ -1086,24 +1038,6 @@ type InputService8TestShapeInputService8TestCaseOperation1Input struct { PipelineId *string `location:"uri" locationName:"PipelineId" type:"string"` } -// SetAscending sets the Ascending field's value. -func (s *InputService8TestShapeInputService8TestCaseOperation1Input) SetAscending(v string) *InputService8TestShapeInputService8TestCaseOperation1Input { - s.Ascending = &v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *InputService8TestShapeInputService8TestCaseOperation1Input) SetPageToken(v string) *InputService8TestShapeInputService8TestCaseOperation1Input { - s.PageToken = &v - return s -} - -// SetPipelineId sets the PipelineId field's value. -func (s *InputService8TestShapeInputService8TestCaseOperation1Input) SetPipelineId(v string) *InputService8TestShapeInputService8TestCaseOperation1Input { - s.PipelineId = &v - return s -} - type InputService8TestShapeInputService8TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1228,30 +1162,6 @@ type InputService9TestShapeInputService9TestCaseOperation1Input struct { PipelineId *string `location:"uri" locationName:"PipelineId" type:"string"` } -// SetAscending sets the Ascending field's value. -func (s *InputService9TestShapeInputService9TestCaseOperation1Input) SetAscending(v string) *InputService9TestShapeInputService9TestCaseOperation1Input { - s.Ascending = &v - return s -} - -// SetConfig sets the Config field's value. -func (s *InputService9TestShapeInputService9TestCaseOperation1Input) SetConfig(v *InputService9TestShapeStructType) *InputService9TestShapeInputService9TestCaseOperation1Input { - s.Config = v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *InputService9TestShapeInputService9TestCaseOperation1Input) SetPageToken(v string) *InputService9TestShapeInputService9TestCaseOperation1Input { - s.PageToken = &v - return s -} - -// SetPipelineId sets the PipelineId field's value. -func (s *InputService9TestShapeInputService9TestCaseOperation1Input) SetPipelineId(v string) *InputService9TestShapeInputService9TestCaseOperation1Input { - s.PipelineId = &v - return s -} - type InputService9TestShapeInputService9TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1271,18 +1181,6 @@ type InputService9TestShapeStructType struct { B *string `type:"string"` } -// SetA sets the A field's value. -func (s *InputService9TestShapeStructType) SetA(v string) *InputService9TestShapeStructType { - s.A = &v - return s -} - -// SetB sets the B field's value. -func (s *InputService9TestShapeStructType) SetB(v string) *InputService9TestShapeStructType { - s.B = &v - return s -} - // InputService10ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1398,36 +1296,6 @@ type InputService10TestShapeInputService10TestCaseOperation1Input struct { PipelineId *string `location:"uri" locationName:"PipelineId" type:"string"` } -// SetAscending sets the Ascending field's value. -func (s *InputService10TestShapeInputService10TestCaseOperation1Input) SetAscending(v string) *InputService10TestShapeInputService10TestCaseOperation1Input { - s.Ascending = &v - return s -} - -// SetChecksum sets the Checksum field's value. -func (s *InputService10TestShapeInputService10TestCaseOperation1Input) SetChecksum(v string) *InputService10TestShapeInputService10TestCaseOperation1Input { - s.Checksum = &v - return s -} - -// SetConfig sets the Config field's value. -func (s *InputService10TestShapeInputService10TestCaseOperation1Input) SetConfig(v *InputService10TestShapeStructType) *InputService10TestShapeInputService10TestCaseOperation1Input { - s.Config = v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *InputService10TestShapeInputService10TestCaseOperation1Input) SetPageToken(v string) *InputService10TestShapeInputService10TestCaseOperation1Input { - s.PageToken = &v - return s -} - -// SetPipelineId sets the PipelineId field's value. -func (s *InputService10TestShapeInputService10TestCaseOperation1Input) SetPipelineId(v string) *InputService10TestShapeInputService10TestCaseOperation1Input { - s.PipelineId = &v - return s -} - type InputService10TestShapeInputService10TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1447,18 +1315,6 @@ type InputService10TestShapeStructType struct { B *string `type:"string"` } -// SetA sets the A field's value. -func (s *InputService10TestShapeStructType) SetA(v string) *InputService10TestShapeStructType { - s.A = &v - return s -} - -// SetB sets the B field's value. -func (s *InputService10TestShapeStructType) SetB(v string) *InputService10TestShapeStructType { - s.B = &v - return s -} - // InputService11ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1585,24 +1441,6 @@ func (s *InputService11TestShapeInputService11TestCaseOperation1Input) Validate( return nil } -// SetBody sets the Body field's value. -func (s *InputService11TestShapeInputService11TestCaseOperation1Input) SetBody(v io.ReadSeeker) *InputService11TestShapeInputService11TestCaseOperation1Input { - s.Body = v - return s -} - -// SetChecksum sets the Checksum field's value. -func (s *InputService11TestShapeInputService11TestCaseOperation1Input) SetChecksum(v string) *InputService11TestShapeInputService11TestCaseOperation1Input { - s.Checksum = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *InputService11TestShapeInputService11TestCaseOperation1Input) SetVaultName(v string) *InputService11TestShapeInputService11TestCaseOperation1Input { - s.VaultName = &v - return s -} - type InputService11TestShapeInputService11TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1739,18 +1577,6 @@ func (s *InputService12TestShapeInputService12TestCaseOperation1Input) Validate( return nil } -// SetBar sets the Bar field's value. -func (s *InputService12TestShapeInputService12TestCaseOperation1Input) SetBar(v []byte) *InputService12TestShapeInputService12TestCaseOperation1Input { - s.Bar = v - return s -} - -// SetFoo sets the Foo field's value. -func (s *InputService12TestShapeInputService12TestCaseOperation1Input) SetFoo(v string) *InputService12TestShapeInputService12TestCaseOperation1Input { - s.Foo = &v - return s -} - type InputService12TestShapeInputService12TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1927,12 +1753,6 @@ type InputService13TestShapeInputService13TestCaseOperation2Input struct { Foo []byte `locationName:"foo" type:"blob"` } -// SetFoo sets the Foo field's value. -func (s *InputService13TestShapeInputService13TestCaseOperation2Input) SetFoo(v []byte) *InputService13TestShapeInputService13TestCaseOperation2Input { - s.Foo = v - return s -} - type InputService13TestShapeInputService13TestCaseOperation2Output struct { _ struct{} `type:"structure"` @@ -2098,12 +1918,6 @@ type InputService14TestShapeFooShape struct { Baz *string `locationName:"baz" type:"string"` } -// SetBaz sets the Baz field's value. -func (s *InputService14TestShapeFooShape) SetBaz(v string) *InputService14TestShapeFooShape { - s.Baz = &v - return s -} - type InputService14TestShapeInputService14TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -2121,12 +1935,6 @@ type InputService14TestShapeInputService14TestCaseOperation2Input struct { Foo *InputService14TestShapeFooShape `locationName:"foo" type:"structure"` } -// SetFoo sets the Foo field's value. -func (s *InputService14TestShapeInputService14TestCaseOperation2Input) SetFoo(v *InputService14TestShapeFooShape) *InputService14TestShapeInputService14TestCaseOperation2Input { - s.Foo = v - return s -} - type InputService14TestShapeInputService14TestCaseOperation2Output struct { _ struct{} `type:"structure"` @@ -2303,12 +2111,6 @@ type InputService15TestShapeInputService15TestCaseOperation2Input struct { Foo *string `location:"querystring" locationName:"param-name" type:"string"` } -// SetFoo sets the Foo field's value. -func (s *InputService15TestShapeInputService15TestCaseOperation2Input) SetFoo(v string) *InputService15TestShapeInputService15TestCaseOperation2Input { - s.Foo = &v - return s -} - type InputService15TestShapeInputService15TestCaseOperation2Output struct { _ struct{} `type:"structure"` @@ -2717,12 +2519,6 @@ type InputService16TestShapeInputService16TestCaseOperation6Input struct { RecursiveStruct *InputService16TestShapeRecursiveStructType `type:"structure"` } -// SetRecursiveStruct sets the RecursiveStruct field's value. -func (s *InputService16TestShapeInputService16TestCaseOperation6Input) SetRecursiveStruct(v *InputService16TestShapeRecursiveStructType) *InputService16TestShapeInputService16TestCaseOperation6Input { - s.RecursiveStruct = v - return s -} - type InputService16TestShapeInputService16TestCaseOperation6Output struct { _ struct{} `type:"structure"` @@ -2746,30 +2542,6 @@ type InputService16TestShapeRecursiveStructType struct { RecursiveStruct *InputService16TestShapeRecursiveStructType `type:"structure"` } -// SetNoRecurse sets the NoRecurse field's value. -func (s *InputService16TestShapeRecursiveStructType) SetNoRecurse(v string) *InputService16TestShapeRecursiveStructType { - s.NoRecurse = &v - return s -} - -// SetRecursiveList sets the RecursiveList field's value. -func (s *InputService16TestShapeRecursiveStructType) SetRecursiveList(v []InputService16TestShapeRecursiveStructType) *InputService16TestShapeRecursiveStructType { - s.RecursiveList = v - return s -} - -// SetRecursiveMap sets the RecursiveMap field's value. -func (s *InputService16TestShapeRecursiveStructType) SetRecursiveMap(v map[string]InputService16TestShapeRecursiveStructType) *InputService16TestShapeRecursiveStructType { - s.RecursiveMap = v - return s -} - -// SetRecursiveStruct sets the RecursiveStruct field's value. -func (s *InputService16TestShapeRecursiveStructType) SetRecursiveStruct(v *InputService16TestShapeRecursiveStructType) *InputService16TestShapeRecursiveStructType { - s.RecursiveStruct = v - return s -} - // InputService17ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -2937,18 +2709,6 @@ type InputService17TestShapeInputService17TestCaseOperation2Input struct { TimeArgInHeader *time.Time `location:"header" locationName:"x-amz-timearg" type:"timestamp" timestampFormat:"rfc822"` } -// SetTimeArg sets the TimeArg field's value. -func (s *InputService17TestShapeInputService17TestCaseOperation2Input) SetTimeArg(v time.Time) *InputService17TestShapeInputService17TestCaseOperation2Input { - s.TimeArg = &v - return s -} - -// SetTimeArgInHeader sets the TimeArgInHeader field's value. -func (s *InputService17TestShapeInputService17TestCaseOperation2Input) SetTimeArgInHeader(v time.Time) *InputService17TestShapeInputService17TestCaseOperation2Input { - s.TimeArgInHeader = &v - return s -} - type InputService17TestShapeInputService17TestCaseOperation2Output struct { _ struct{} `type:"structure"` @@ -3067,12 +2827,6 @@ type InputService18TestShapeInputService18TestCaseOperation1Input struct { TimeArg *time.Time `locationName:"timestamp_location" type:"timestamp" timestampFormat:"unix"` } -// SetTimeArg sets the TimeArg field's value. -func (s *InputService18TestShapeInputService18TestCaseOperation1Input) SetTimeArg(v time.Time) *InputService18TestShapeInputService18TestCaseOperation1Input { - s.TimeArg = &v - return s -} - type InputService18TestShapeInputService18TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -3191,12 +2945,6 @@ type InputService19TestShapeInputService19TestCaseOperation1Input struct { Foo *string `locationName:"foo" type:"string"` } -// SetFoo sets the Foo field's value. -func (s *InputService19TestShapeInputService19TestCaseOperation1Input) SetFoo(v string) *InputService19TestShapeInputService19TestCaseOperation1Input { - s.Foo = &v - return s -} - type InputService19TestShapeInputService19TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -3373,12 +3121,6 @@ type InputService20TestShapeInputService20TestCaseOperation2Input struct { Token *string `type:"string" idempotencyToken:"true"` } -// SetToken sets the Token field's value. -func (s *InputService20TestShapeInputService20TestCaseOperation2Input) SetToken(v string) *InputService20TestShapeInputService20TestCaseOperation2Input { - s.Token = &v - return s -} - type InputService20TestShapeInputService20TestCaseOperation2Output struct { _ struct{} `type:"structure"` @@ -3593,18 +3335,6 @@ type InputService21TestShapeBodyStructure struct { BodyListField []aws.JSONValue `type:"list"` } -// SetBodyField sets the BodyField field's value. -func (s *InputService21TestShapeBodyStructure) SetBodyField(v aws.JSONValue) *InputService21TestShapeBodyStructure { - s.BodyField = v - return s -} - -// SetBodyListField sets the BodyListField field's value. -func (s *InputService21TestShapeBodyStructure) SetBodyListField(v []aws.JSONValue) *InputService21TestShapeBodyStructure { - s.BodyListField = v - return s -} - type InputService21TestShapeInputService21TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -3637,24 +3367,6 @@ type InputService21TestShapeInputService21TestCaseOperation3Input struct { QueryField aws.JSONValue `location:"querystring" locationName:"Bar" type:"jsonvalue"` } -// SetBody sets the Body field's value. -func (s *InputService21TestShapeInputService21TestCaseOperation3Input) SetBody(v *InputService21TestShapeBodyStructure) *InputService21TestShapeInputService21TestCaseOperation3Input { - s.Body = v - return s -} - -// SetHeaderField sets the HeaderField field's value. -func (s *InputService21TestShapeInputService21TestCaseOperation3Input) SetHeaderField(v aws.JSONValue) *InputService21TestShapeInputService21TestCaseOperation3Input { - s.HeaderField = v - return s -} - -// SetQueryField sets the QueryField field's value. -func (s *InputService21TestShapeInputService21TestCaseOperation3Input) SetQueryField(v aws.JSONValue) *InputService21TestShapeInputService21TestCaseOperation3Input { - s.QueryField = v - return s -} - type InputService21TestShapeInputService21TestCaseOperation3Output struct { _ struct{} `type:"structure"` @@ -3839,36 +3551,6 @@ type InputService22TestShapeInputService22TestCaseOperation2Input struct { QueryListEnums []InputService22TestShapeEnumType `location:"querystring" locationName:"List" type:"list"` } -// SetFooEnum sets the FooEnum field's value. -func (s *InputService22TestShapeInputService22TestCaseOperation2Input) SetFooEnum(v InputService22TestShapeEnumType) *InputService22TestShapeInputService22TestCaseOperation2Input { - s.FooEnum = v - return s -} - -// SetHeaderEnum sets the HeaderEnum field's value. -func (s *InputService22TestShapeInputService22TestCaseOperation2Input) SetHeaderEnum(v InputService22TestShapeEnumType) *InputService22TestShapeInputService22TestCaseOperation2Input { - s.HeaderEnum = v - return s -} - -// SetListEnums sets the ListEnums field's value. -func (s *InputService22TestShapeInputService22TestCaseOperation2Input) SetListEnums(v []InputService22TestShapeEnumType) *InputService22TestShapeInputService22TestCaseOperation2Input { - s.ListEnums = v - return s -} - -// SetQueryFooEnum sets the QueryFooEnum field's value. -func (s *InputService22TestShapeInputService22TestCaseOperation2Input) SetQueryFooEnum(v InputService22TestShapeEnumType) *InputService22TestShapeInputService22TestCaseOperation2Input { - s.QueryFooEnum = v - return s -} - -// SetQueryListEnums sets the QueryListEnums field's value. -func (s *InputService22TestShapeInputService22TestCaseOperation2Input) SetQueryListEnums(v []InputService22TestShapeEnumType) *InputService22TestShapeInputService22TestCaseOperation2Input { - s.QueryListEnums = v - return s -} - type InputService22TestShapeInputService22TestCaseOperation2Output struct { _ struct{} `type:"structure"` diff --git a/private/protocol/restjson/unmarshal_test.go b/private/protocol/restjson/unmarshal_test.go index 086fff9d1e5..a84604ac782 100644 --- a/private/protocol/restjson/unmarshal_test.go +++ b/private/protocol/restjson/unmarshal_test.go @@ -177,72 +177,6 @@ func (s OutputService1TestShapeOutputService1TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetChar sets the Char field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetChar(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Char = &v - return s -} - -// SetDouble sets the Double field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetDouble(v float64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Double = &v - return s -} - -// SetFalseBool sets the FalseBool field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetFalseBool(v bool) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.FalseBool = &v - return s -} - -// SetFloat sets the Float field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetFloat(v float64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Float = &v - return s -} - -// SetImaHeader sets the ImaHeader field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetImaHeader(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.ImaHeader = &v - return s -} - -// SetImaHeaderLocation sets the ImaHeaderLocation field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetImaHeaderLocation(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.ImaHeaderLocation = &v - return s -} - -// SetLong sets the Long field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetLong(v int64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Long = &v - return s -} - -// SetNum sets the Num field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetNum(v int64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Num = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetStatus(v int64) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Status = &v - return s -} - -// SetStr sets the Str field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetStr(v string) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.Str = &v - return s -} - -// SetTrueBool sets the TrueBool field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation1Output) SetTrueBool(v bool) *OutputService1TestShapeOutputService1TestCaseOperation1Output { - s.TrueBool = &v - return s -} - // OutputService2ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -349,12 +283,6 @@ type OutputService2TestShapeBlobContainer struct { Foo []byte `locationName:"foo" type:"blob"` } -// SetFoo sets the Foo field's value. -func (s *OutputService2TestShapeBlobContainer) SetFoo(v []byte) *OutputService2TestShapeBlobContainer { - s.Foo = v - return s -} - type OutputService2TestShapeOutputService2TestCaseOperation1Input struct { _ struct{} `type:"structure"` } @@ -375,18 +303,6 @@ func (s OutputService2TestShapeOutputService2TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetBlobMember sets the BlobMember field's value. -func (s *OutputService2TestShapeOutputService2TestCaseOperation1Output) SetBlobMember(v []byte) *OutputService2TestShapeOutputService2TestCaseOperation1Output { - s.BlobMember = v - return s -} - -// SetStructMember sets the StructMember field's value. -func (s *OutputService2TestShapeOutputService2TestCaseOperation1Output) SetStructMember(v *OutputService2TestShapeBlobContainer) *OutputService2TestShapeOutputService2TestCaseOperation1Output { - s.StructMember = v - return s -} - // OutputService3ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -505,30 +421,12 @@ func (s OutputService3TestShapeOutputService3TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetStructMember sets the StructMember field's value. -func (s *OutputService3TestShapeOutputService3TestCaseOperation1Output) SetStructMember(v *OutputService3TestShapeTimeContainer) *OutputService3TestShapeOutputService3TestCaseOperation1Output { - s.StructMember = v - return s -} - -// SetTimeMember sets the TimeMember field's value. -func (s *OutputService3TestShapeOutputService3TestCaseOperation1Output) SetTimeMember(v time.Time) *OutputService3TestShapeOutputService3TestCaseOperation1Output { - s.TimeMember = &v - return s -} - type OutputService3TestShapeTimeContainer struct { _ struct{} `type:"structure"` Foo *time.Time `locationName:"foo" type:"timestamp" timestampFormat:"unix"` } -// SetFoo sets the Foo field's value. -func (s *OutputService3TestShapeTimeContainer) SetFoo(v time.Time) *OutputService3TestShapeTimeContainer { - s.Foo = &v - return s -} - // OutputService4ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -645,12 +543,6 @@ func (s OutputService4TestShapeOutputService4TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetListMember sets the ListMember field's value. -func (s *OutputService4TestShapeOutputService4TestCaseOperation1Output) SetListMember(v []string) *OutputService4TestShapeOutputService4TestCaseOperation1Output { - s.ListMember = v - return s -} - // OutputService5ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -767,24 +659,12 @@ func (s OutputService5TestShapeOutputService5TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetListMember sets the ListMember field's value. -func (s *OutputService5TestShapeOutputService5TestCaseOperation1Output) SetListMember(v []OutputService5TestShapeSingleStruct) *OutputService5TestShapeOutputService5TestCaseOperation1Output { - s.ListMember = v - return s -} - type OutputService5TestShapeSingleStruct struct { _ struct{} `type:"structure"` Foo *string `type:"string"` } -// SetFoo sets the Foo field's value. -func (s *OutputService5TestShapeSingleStruct) SetFoo(v string) *OutputService5TestShapeSingleStruct { - s.Foo = &v - return s -} - // OutputService6ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -901,12 +781,6 @@ func (s OutputService6TestShapeOutputService6TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetMapMember sets the MapMember field's value. -func (s *OutputService6TestShapeOutputService6TestCaseOperation1Output) SetMapMember(v map[string][]int64) *OutputService6TestShapeOutputService6TestCaseOperation1Output { - s.MapMember = v - return s -} - // OutputService7ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1023,12 +897,6 @@ func (s OutputService7TestShapeOutputService7TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetMapMember sets the MapMember field's value. -func (s *OutputService7TestShapeOutputService7TestCaseOperation1Output) SetMapMember(v map[string]time.Time) *OutputService7TestShapeOutputService7TestCaseOperation1Output { - s.MapMember = v - return s -} - // OutputService8ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1145,12 +1013,6 @@ func (s OutputService8TestShapeOutputService8TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetStrType sets the StrType field's value. -func (s *OutputService8TestShapeOutputService8TestCaseOperation1Output) SetStrType(v string) *OutputService8TestShapeOutputService8TestCaseOperation1Output { - s.StrType = &v - return s -} - // OutputService9ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1269,18 +1131,6 @@ func (s OutputService9TestShapeOutputService9TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetAllHeaders sets the AllHeaders field's value. -func (s *OutputService9TestShapeOutputService9TestCaseOperation1Output) SetAllHeaders(v map[string]string) *OutputService9TestShapeOutputService9TestCaseOperation1Output { - s.AllHeaders = v - return s -} - -// SetPrefixedHeaders sets the PrefixedHeaders field's value. -func (s *OutputService9TestShapeOutputService9TestCaseOperation1Output) SetPrefixedHeaders(v map[string]string) *OutputService9TestShapeOutputService9TestCaseOperation1Output { - s.PrefixedHeaders = v - return s -} - // OutputService10ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1386,12 +1236,6 @@ type OutputService10TestShapeBodyStructure struct { Foo *string `type:"string"` } -// SetFoo sets the Foo field's value. -func (s *OutputService10TestShapeBodyStructure) SetFoo(v string) *OutputService10TestShapeBodyStructure { - s.Foo = &v - return s -} - type OutputService10TestShapeOutputService10TestCaseOperation1Input struct { _ struct{} `type:"structure"` } @@ -1411,18 +1255,6 @@ func (s OutputService10TestShapeOutputService10TestCaseOperation1Output) SDKResp return s.responseMetadata } -// SetData sets the Data field's value. -func (s *OutputService10TestShapeOutputService10TestCaseOperation1Output) SetData(v *OutputService10TestShapeBodyStructure) *OutputService10TestShapeOutputService10TestCaseOperation1Output { - s.Data = v - return s -} - -// SetHeader sets the Header field's value. -func (s *OutputService10TestShapeOutputService10TestCaseOperation1Output) SetHeader(v string) *OutputService10TestShapeOutputService10TestCaseOperation1Output { - s.Header = &v - return s -} - // OutputService11ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1539,12 +1371,6 @@ func (s OutputService11TestShapeOutputService11TestCaseOperation1Output) SDKResp return s.responseMetadata } -// SetStream sets the Stream field's value. -func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetStream(v []byte) *OutputService11TestShapeOutputService11TestCaseOperation1Output { - s.Stream = v - return s -} - // OutputService12ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1763,24 +1589,6 @@ func (s OutputService12TestShapeOutputService12TestCaseOperation3Output) SDKResp return s.responseMetadata } -// SetBodyField sets the BodyField field's value. -func (s *OutputService12TestShapeOutputService12TestCaseOperation3Output) SetBodyField(v aws.JSONValue) *OutputService12TestShapeOutputService12TestCaseOperation3Output { - s.BodyField = v - return s -} - -// SetBodyListField sets the BodyListField field's value. -func (s *OutputService12TestShapeOutputService12TestCaseOperation3Output) SetBodyListField(v []aws.JSONValue) *OutputService12TestShapeOutputService12TestCaseOperation3Output { - s.BodyListField = v - return s -} - -// SetHeaderField sets the HeaderField field's value. -func (s *OutputService12TestShapeOutputService12TestCaseOperation3Output) SetHeaderField(v aws.JSONValue) *OutputService12TestShapeOutputService12TestCaseOperation3Output { - s.HeaderField = v - return s -} - // OutputService13ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1948,24 +1756,6 @@ func (s OutputService13TestShapeOutputService13TestCaseOperation2Input) SDKRespo return s.responseMetadata } -// SetFooEnum sets the FooEnum field's value. -func (s *OutputService13TestShapeOutputService13TestCaseOperation2Input) SetFooEnum(v OutputService13TestShapeRESTJSONEnumType) *OutputService13TestShapeOutputService13TestCaseOperation2Input { - s.FooEnum = v - return s -} - -// SetHeaderEnum sets the HeaderEnum field's value. -func (s *OutputService13TestShapeOutputService13TestCaseOperation2Input) SetHeaderEnum(v OutputService13TestShapeRESTJSONEnumType) *OutputService13TestShapeOutputService13TestCaseOperation2Input { - s.HeaderEnum = v - return s -} - -// SetListEnums sets the ListEnums field's value. -func (s *OutputService13TestShapeOutputService13TestCaseOperation2Input) SetListEnums(v []OutputService13TestShapeRESTJSONEnumType) *OutputService13TestShapeOutputService13TestCaseOperation2Input { - s.ListEnums = v - return s -} - type OutputService13TestShapeOutputService13TestCaseOperation2Output struct { _ struct{} `type:"structure"` diff --git a/private/protocol/restxml/build_test.go b/private/protocol/restxml/build_test.go index 839526079f1..70b8f833402 100644 --- a/private/protocol/restxml/build_test.go +++ b/private/protocol/restxml/build_test.go @@ -255,18 +255,6 @@ type InputService1TestShapeInputService1TestCaseOperation2Input struct { Name *string `type:"string"` } -// SetDescription sets the Description field's value. -func (s *InputService1TestShapeInputService1TestCaseOperation2Input) SetDescription(v string) *InputService1TestShapeInputService1TestCaseOperation2Input { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *InputService1TestShapeInputService1TestCaseOperation2Input) SetName(v string) *InputService1TestShapeInputService1TestCaseOperation2Input { - s.Name = &v - return s -} - type InputService1TestShapeInputService1TestCaseOperation2Output struct { _ struct{} `type:"structure"` @@ -406,30 +394,6 @@ type InputService2TestShapeInputService2TestCaseOperation1Input struct { Third *float64 `type:"float"` } -// SetFirst sets the First field's value. -func (s *InputService2TestShapeInputService2TestCaseOperation1Input) SetFirst(v bool) *InputService2TestShapeInputService2TestCaseOperation1Input { - s.First = &v - return s -} - -// SetFourth sets the Fourth field's value. -func (s *InputService2TestShapeInputService2TestCaseOperation1Input) SetFourth(v int64) *InputService2TestShapeInputService2TestCaseOperation1Input { - s.Fourth = &v - return s -} - -// SetSecond sets the Second field's value. -func (s *InputService2TestShapeInputService2TestCaseOperation1Input) SetSecond(v bool) *InputService2TestShapeInputService2TestCaseOperation1Input { - s.Second = &v - return s -} - -// SetThird sets the Third field's value. -func (s *InputService2TestShapeInputService2TestCaseOperation1Input) SetThird(v float64) *InputService2TestShapeInputService2TestCaseOperation1Input { - s.Third = &v - return s -} - type InputService2TestShapeInputService2TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -608,18 +572,6 @@ type InputService3TestShapeInputService3TestCaseOperation2Input struct { SubStructure *InputService3TestShapeSubStructure `type:"structure"` } -// SetDescription sets the Description field's value. -func (s *InputService3TestShapeInputService3TestCaseOperation2Input) SetDescription(v string) *InputService3TestShapeInputService3TestCaseOperation2Input { - s.Description = &v - return s -} - -// SetSubStructure sets the SubStructure field's value. -func (s *InputService3TestShapeInputService3TestCaseOperation2Input) SetSubStructure(v *InputService3TestShapeSubStructure) *InputService3TestShapeInputService3TestCaseOperation2Input { - s.SubStructure = v - return s -} - type InputService3TestShapeInputService3TestCaseOperation2Output struct { _ struct{} `type:"structure"` @@ -639,18 +591,6 @@ type InputService3TestShapeSubStructure struct { Foo *string `type:"string"` } -// SetBar sets the Bar field's value. -func (s *InputService3TestShapeSubStructure) SetBar(v string) *InputService3TestShapeSubStructure { - s.Bar = &v - return s -} - -// SetFoo sets the Foo field's value. -func (s *InputService3TestShapeSubStructure) SetFoo(v string) *InputService3TestShapeSubStructure { - s.Foo = &v - return s -} - // InputService4ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -760,18 +700,6 @@ type InputService4TestShapeInputService4TestCaseOperation1Input struct { SubStructure *InputService4TestShapeSubStructure `type:"structure"` } -// SetDescription sets the Description field's value. -func (s *InputService4TestShapeInputService4TestCaseOperation1Input) SetDescription(v string) *InputService4TestShapeInputService4TestCaseOperation1Input { - s.Description = &v - return s -} - -// SetSubStructure sets the SubStructure field's value. -func (s *InputService4TestShapeInputService4TestCaseOperation1Input) SetSubStructure(v *InputService4TestShapeSubStructure) *InputService4TestShapeInputService4TestCaseOperation1Input { - s.SubStructure = v - return s -} - type InputService4TestShapeInputService4TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -791,18 +719,6 @@ type InputService4TestShapeSubStructure struct { Foo *string `type:"string"` } -// SetBar sets the Bar field's value. -func (s *InputService4TestShapeSubStructure) SetBar(v string) *InputService4TestShapeSubStructure { - s.Bar = &v - return s -} - -// SetFoo sets the Foo field's value. -func (s *InputService4TestShapeSubStructure) SetFoo(v string) *InputService4TestShapeSubStructure { - s.Foo = &v - return s -} - // InputService5ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -910,12 +826,6 @@ type InputService5TestShapeInputService5TestCaseOperation1Input struct { ListParam []string `type:"list"` } -// SetListParam sets the ListParam field's value. -func (s *InputService5TestShapeInputService5TestCaseOperation1Input) SetListParam(v []string) *InputService5TestShapeInputService5TestCaseOperation1Input { - s.ListParam = v - return s -} - type InputService5TestShapeInputService5TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1034,12 +944,6 @@ type InputService6TestShapeInputService6TestCaseOperation1Input struct { ListParam []string `locationName:"AlternateName" locationNameList:"NotMember" type:"list"` } -// SetListParam sets the ListParam field's value. -func (s *InputService6TestShapeInputService6TestCaseOperation1Input) SetListParam(v []string) *InputService6TestShapeInputService6TestCaseOperation1Input { - s.ListParam = v - return s -} - type InputService6TestShapeInputService6TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1158,12 +1062,6 @@ type InputService7TestShapeInputService7TestCaseOperation1Input struct { ListParam []string `type:"list" flattened:"true"` } -// SetListParam sets the ListParam field's value. -func (s *InputService7TestShapeInputService7TestCaseOperation1Input) SetListParam(v []string) *InputService7TestShapeInputService7TestCaseOperation1Input { - s.ListParam = v - return s -} - type InputService7TestShapeInputService7TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1282,12 +1180,6 @@ type InputService8TestShapeInputService8TestCaseOperation1Input struct { ListParam []string `locationName:"item" type:"list" flattened:"true"` } -// SetListParam sets the ListParam field's value. -func (s *InputService8TestShapeInputService8TestCaseOperation1Input) SetListParam(v []string) *InputService8TestShapeInputService8TestCaseOperation1Input { - s.ListParam = v - return s -} - type InputService8TestShapeInputService8TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1406,12 +1298,6 @@ type InputService9TestShapeInputService9TestCaseOperation1Input struct { ListParam []InputService9TestShapeSingleFieldStruct `locationName:"item" type:"list" flattened:"true"` } -// SetListParam sets the ListParam field's value. -func (s *InputService9TestShapeInputService9TestCaseOperation1Input) SetListParam(v []InputService9TestShapeSingleFieldStruct) *InputService9TestShapeInputService9TestCaseOperation1Input { - s.ListParam = v - return s -} - type InputService9TestShapeInputService9TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1429,12 +1315,6 @@ type InputService9TestShapeSingleFieldStruct struct { Element *string `locationName:"value" type:"string"` } -// SetElement sets the Element field's value. -func (s *InputService9TestShapeSingleFieldStruct) SetElement(v string) *InputService9TestShapeSingleFieldStruct { - s.Element = &v - return s -} - // InputService10ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1542,12 +1422,6 @@ type InputService10TestShapeInputService10TestCaseOperation1Input struct { StructureParam *InputService10TestShapeStructureShape `type:"structure"` } -// SetStructureParam sets the StructureParam field's value. -func (s *InputService10TestShapeInputService10TestCaseOperation1Input) SetStructureParam(v *InputService10TestShapeStructureShape) *InputService10TestShapeInputService10TestCaseOperation1Input { - s.StructureParam = v - return s -} - type InputService10TestShapeInputService10TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1568,18 +1442,6 @@ type InputService10TestShapeStructureShape struct { T *time.Time `locationName:"t" type:"timestamp" timestampFormat:"iso8601"` } -// SetB sets the B field's value. -func (s *InputService10TestShapeStructureShape) SetB(v []byte) *InputService10TestShapeStructureShape { - s.B = v - return s -} - -// SetT sets the T field's value. -func (s *InputService10TestShapeStructureShape) SetT(v time.Time) *InputService10TestShapeStructureShape { - s.T = &v - return s -} - // InputService11ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1687,12 +1549,6 @@ type InputService11TestShapeInputService11TestCaseOperation1Input struct { Foo map[string]string `location:"headers" locationName:"x-foo-" type:"map"` } -// SetFoo sets the Foo field's value. -func (s *InputService11TestShapeInputService11TestCaseOperation1Input) SetFoo(v map[string]string) *InputService11TestShapeInputService11TestCaseOperation1Input { - s.Foo = v - return s -} - type InputService11TestShapeInputService11TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1811,12 +1667,6 @@ type InputService12TestShapeInputService12TestCaseOperation1Input struct { Items []string `location:"querystring" locationName:"item" type:"list"` } -// SetItems sets the Items field's value. -func (s *InputService12TestShapeInputService12TestCaseOperation1Input) SetItems(v []string) *InputService12TestShapeInputService12TestCaseOperation1Input { - s.Items = v - return s -} - type InputService12TestShapeInputService12TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -1937,18 +1787,6 @@ type InputService13TestShapeInputService13TestCaseOperation1Input struct { QueryDoc map[string]string `location:"querystring" type:"map"` } -// SetPipelineId sets the PipelineId field's value. -func (s *InputService13TestShapeInputService13TestCaseOperation1Input) SetPipelineId(v string) *InputService13TestShapeInputService13TestCaseOperation1Input { - s.PipelineId = &v - return s -} - -// SetQueryDoc sets the QueryDoc field's value. -func (s *InputService13TestShapeInputService13TestCaseOperation1Input) SetQueryDoc(v map[string]string) *InputService13TestShapeInputService13TestCaseOperation1Input { - s.QueryDoc = v - return s -} - type InputService13TestShapeInputService13TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -2069,18 +1907,6 @@ type InputService14TestShapeInputService14TestCaseOperation1Input struct { QueryDoc map[string][]string `location:"querystring" type:"map"` } -// SetPipelineId sets the PipelineId field's value. -func (s *InputService14TestShapeInputService14TestCaseOperation1Input) SetPipelineId(v string) *InputService14TestShapeInputService14TestCaseOperation1Input { - s.PipelineId = &v - return s -} - -// SetQueryDoc sets the QueryDoc field's value. -func (s *InputService14TestShapeInputService14TestCaseOperation1Input) SetQueryDoc(v map[string][]string) *InputService14TestShapeInputService14TestCaseOperation1Input { - s.QueryDoc = v - return s -} - type InputService14TestShapeInputService14TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -2257,12 +2083,6 @@ type InputService15TestShapeInputService15TestCaseOperation2Input struct { BoolQuery *bool `location:"querystring" locationName:"bool-query" type:"boolean"` } -// SetBoolQuery sets the BoolQuery field's value. -func (s *InputService15TestShapeInputService15TestCaseOperation2Input) SetBoolQuery(v bool) *InputService15TestShapeInputService15TestCaseOperation2Input { - s.BoolQuery = &v - return s -} - type InputService15TestShapeInputService15TestCaseOperation2Output struct { _ struct{} `type:"structure"` @@ -2381,12 +2201,6 @@ type InputService16TestShapeInputService16TestCaseOperation1Input struct { Foo *string `locationName:"foo" type:"string"` } -// SetFoo sets the Foo field's value. -func (s *InputService16TestShapeInputService16TestCaseOperation1Input) SetFoo(v string) *InputService16TestShapeInputService16TestCaseOperation1Input { - s.Foo = &v - return s -} - type InputService16TestShapeInputService16TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -2563,12 +2377,6 @@ type InputService17TestShapeInputService17TestCaseOperation2Input struct { Foo []byte `locationName:"foo" type:"blob"` } -// SetFoo sets the Foo field's value. -func (s *InputService17TestShapeInputService17TestCaseOperation2Input) SetFoo(v []byte) *InputService17TestShapeInputService17TestCaseOperation2Input { - s.Foo = v - return s -} - type InputService17TestShapeInputService17TestCaseOperation2Output struct { _ struct{} `type:"structure"` @@ -2828,12 +2636,6 @@ type InputService18TestShapeFooShape struct { Baz *string `locationName:"baz" type:"string"` } -// SetBaz sets the Baz field's value. -func (s *InputService18TestShapeFooShape) SetBaz(v string) *InputService18TestShapeFooShape { - s.Baz = &v - return s -} - type InputService18TestShapeInputService18TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -2873,12 +2675,6 @@ type InputService18TestShapeInputService18TestCaseOperation4Input struct { Foo *InputService18TestShapeFooShape `locationName:"foo" type:"structure"` } -// SetFoo sets the Foo field's value. -func (s *InputService18TestShapeInputService18TestCaseOperation4Input) SetFoo(v *InputService18TestShapeFooShape) *InputService18TestShapeInputService18TestCaseOperation4Input { - s.Foo = v - return s -} - type InputService18TestShapeInputService18TestCaseOperation4Output struct { _ struct{} `type:"structure"` @@ -2997,12 +2793,6 @@ type InputService19TestShapeGrant struct { Grantee *InputService19TestShapeGrantee `type:"structure" xmlPrefix:"xsi" xmlURI:"http://www.w3.org/2001/XMLSchema-instance"` } -// SetGrantee sets the Grantee field's value. -func (s *InputService19TestShapeGrant) SetGrantee(v *InputService19TestShapeGrantee) *InputService19TestShapeGrant { - s.Grantee = v - return s -} - type InputService19TestShapeGrantee struct { _ struct{} `type:"structure" xmlPrefix:"xsi" xmlURI:"http://www.w3.org/2001/XMLSchema-instance"` @@ -3011,30 +2801,12 @@ type InputService19TestShapeGrantee struct { Type *string `locationName:"xsi:type" type:"string" xmlAttribute:"true"` } -// SetEmailAddress sets the EmailAddress field's value. -func (s *InputService19TestShapeGrantee) SetEmailAddress(v string) *InputService19TestShapeGrantee { - s.EmailAddress = &v - return s -} - -// SetType sets the Type field's value. -func (s *InputService19TestShapeGrantee) SetType(v string) *InputService19TestShapeGrantee { - s.Type = &v - return s -} - type InputService19TestShapeInputService19TestCaseOperation1Input struct { _ struct{} `type:"structure" payload:"Grant"` Grant *InputService19TestShapeGrant `locationName:"Grant" type:"structure"` } -// SetGrant sets the Grant field's value. -func (s *InputService19TestShapeInputService19TestCaseOperation1Input) SetGrant(v *InputService19TestShapeGrant) *InputService19TestShapeInputService19TestCaseOperation1Input { - s.Grant = v - return s -} - type InputService19TestShapeInputService19TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -3155,18 +2927,6 @@ type InputService20TestShapeInputService20TestCaseOperation1Input struct { Key *string `location:"uri" type:"string"` } -// SetBucket sets the Bucket field's value. -func (s *InputService20TestShapeInputService20TestCaseOperation1Input) SetBucket(v string) *InputService20TestShapeInputService20TestCaseOperation1Input { - s.Bucket = &v - return s -} - -// SetKey sets the Key field's value. -func (s *InputService20TestShapeInputService20TestCaseOperation1Input) SetKey(v string) *InputService20TestShapeInputService20TestCaseOperation1Input { - s.Key = &v - return s -} - type InputService20TestShapeInputService20TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -3343,12 +3103,6 @@ type InputService21TestShapeInputService21TestCaseOperation2Input struct { Foo *string `location:"querystring" locationName:"param-name" type:"string"` } -// SetFoo sets the Foo field's value. -func (s *InputService21TestShapeInputService21TestCaseOperation2Input) SetFoo(v string) *InputService21TestShapeInputService21TestCaseOperation2Input { - s.Foo = &v - return s -} - type InputService21TestShapeInputService21TestCaseOperation2Output struct { _ struct{} `type:"structure"` @@ -3757,12 +3511,6 @@ type InputService22TestShapeInputService22TestCaseOperation6Input struct { RecursiveStruct *InputService22TestShapeRecursiveStructType `type:"structure"` } -// SetRecursiveStruct sets the RecursiveStruct field's value. -func (s *InputService22TestShapeInputService22TestCaseOperation6Input) SetRecursiveStruct(v *InputService22TestShapeRecursiveStructType) *InputService22TestShapeInputService22TestCaseOperation6Input { - s.RecursiveStruct = v - return s -} - type InputService22TestShapeInputService22TestCaseOperation6Output struct { _ struct{} `type:"structure"` @@ -3786,30 +3534,6 @@ type InputService22TestShapeRecursiveStructType struct { RecursiveStruct *InputService22TestShapeRecursiveStructType `type:"structure"` } -// SetNoRecurse sets the NoRecurse field's value. -func (s *InputService22TestShapeRecursiveStructType) SetNoRecurse(v string) *InputService22TestShapeRecursiveStructType { - s.NoRecurse = &v - return s -} - -// SetRecursiveList sets the RecursiveList field's value. -func (s *InputService22TestShapeRecursiveStructType) SetRecursiveList(v []InputService22TestShapeRecursiveStructType) *InputService22TestShapeRecursiveStructType { - s.RecursiveList = v - return s -} - -// SetRecursiveMap sets the RecursiveMap field's value. -func (s *InputService22TestShapeRecursiveStructType) SetRecursiveMap(v map[string]InputService22TestShapeRecursiveStructType) *InputService22TestShapeRecursiveStructType { - s.RecursiveMap = v - return s -} - -// SetRecursiveStruct sets the RecursiveStruct field's value. -func (s *InputService22TestShapeRecursiveStructType) SetRecursiveStruct(v *InputService22TestShapeRecursiveStructType) *InputService22TestShapeRecursiveStructType { - s.RecursiveStruct = v - return s -} - // InputService23ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -3917,12 +3641,6 @@ type InputService23TestShapeInputService23TestCaseOperation1Input struct { TimeArgInHeader *time.Time `location:"header" locationName:"x-amz-timearg" type:"timestamp" timestampFormat:"rfc822"` } -// SetTimeArgInHeader sets the TimeArgInHeader field's value. -func (s *InputService23TestShapeInputService23TestCaseOperation1Input) SetTimeArgInHeader(v time.Time) *InputService23TestShapeInputService23TestCaseOperation1Input { - s.TimeArgInHeader = &v - return s -} - type InputService23TestShapeInputService23TestCaseOperation1Output struct { _ struct{} `type:"structure"` @@ -4099,12 +3817,6 @@ type InputService24TestShapeInputService24TestCaseOperation2Input struct { Token *string `type:"string" idempotencyToken:"true"` } -// SetToken sets the Token field's value. -func (s *InputService24TestShapeInputService24TestCaseOperation2Input) SetToken(v string) *InputService24TestShapeInputService24TestCaseOperation2Input { - s.Token = &v - return s -} - type InputService24TestShapeInputService24TestCaseOperation2Output struct { _ struct{} `type:"structure"` @@ -4289,36 +4001,6 @@ type InputService25TestShapeInputService25TestCaseOperation2Input struct { URIListEnums []InputService25TestShapeEnumType `location:"querystring" locationName:"ListEnums" type:"list"` } -// SetFooEnum sets the FooEnum field's value. -func (s *InputService25TestShapeInputService25TestCaseOperation2Input) SetFooEnum(v InputService25TestShapeEnumType) *InputService25TestShapeInputService25TestCaseOperation2Input { - s.FooEnum = v - return s -} - -// SetHeaderEnum sets the HeaderEnum field's value. -func (s *InputService25TestShapeInputService25TestCaseOperation2Input) SetHeaderEnum(v InputService25TestShapeEnumType) *InputService25TestShapeInputService25TestCaseOperation2Input { - s.HeaderEnum = v - return s -} - -// SetListEnums sets the ListEnums field's value. -func (s *InputService25TestShapeInputService25TestCaseOperation2Input) SetListEnums(v []InputService25TestShapeEnumType) *InputService25TestShapeInputService25TestCaseOperation2Input { - s.ListEnums = v - return s -} - -// SetURIFooEnum sets the URIFooEnum field's value. -func (s *InputService25TestShapeInputService25TestCaseOperation2Input) SetURIFooEnum(v InputService25TestShapeEnumType) *InputService25TestShapeInputService25TestCaseOperation2Input { - s.URIFooEnum = v - return s -} - -// SetURIListEnums sets the URIListEnums field's value. -func (s *InputService25TestShapeInputService25TestCaseOperation2Input) SetURIListEnums(v []InputService25TestShapeEnumType) *InputService25TestShapeInputService25TestCaseOperation2Input { - s.URIListEnums = v - return s -} - type InputService25TestShapeInputService25TestCaseOperation2Output struct { _ struct{} `type:"structure"` diff --git a/private/protocol/restxml/unmarshal_test.go b/private/protocol/restxml/unmarshal_test.go index a85b862f55d..59136d26bd4 100644 --- a/private/protocol/restxml/unmarshal_test.go +++ b/private/protocol/restxml/unmarshal_test.go @@ -226,72 +226,6 @@ func (s OutputService1TestShapeOutputService1TestCaseOperation2Output) SDKRespon return s.responseMetadata } -// SetChar sets the Char field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation2Output) SetChar(v string) *OutputService1TestShapeOutputService1TestCaseOperation2Output { - s.Char = &v - return s -} - -// SetDouble sets the Double field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation2Output) SetDouble(v float64) *OutputService1TestShapeOutputService1TestCaseOperation2Output { - s.Double = &v - return s -} - -// SetFalseBool sets the FalseBool field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation2Output) SetFalseBool(v bool) *OutputService1TestShapeOutputService1TestCaseOperation2Output { - s.FalseBool = &v - return s -} - -// SetFloat sets the Float field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation2Output) SetFloat(v float64) *OutputService1TestShapeOutputService1TestCaseOperation2Output { - s.Float = &v - return s -} - -// SetImaHeader sets the ImaHeader field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation2Output) SetImaHeader(v string) *OutputService1TestShapeOutputService1TestCaseOperation2Output { - s.ImaHeader = &v - return s -} - -// SetImaHeaderLocation sets the ImaHeaderLocation field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation2Output) SetImaHeaderLocation(v string) *OutputService1TestShapeOutputService1TestCaseOperation2Output { - s.ImaHeaderLocation = &v - return s -} - -// SetLong sets the Long field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation2Output) SetLong(v int64) *OutputService1TestShapeOutputService1TestCaseOperation2Output { - s.Long = &v - return s -} - -// SetNum sets the Num field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation2Output) SetNum(v int64) *OutputService1TestShapeOutputService1TestCaseOperation2Output { - s.Num = &v - return s -} - -// SetStr sets the Str field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation2Output) SetStr(v string) *OutputService1TestShapeOutputService1TestCaseOperation2Output { - s.Str = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation2Output) SetTimestamp(v time.Time) *OutputService1TestShapeOutputService1TestCaseOperation2Output { - s.Timestamp = &v - return s -} - -// SetTrueBool sets the TrueBool field's value. -func (s *OutputService1TestShapeOutputService1TestCaseOperation2Output) SetTrueBool(v bool) *OutputService1TestShapeOutputService1TestCaseOperation2Output { - s.TrueBool = &v - return s -} - // OutputService2ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -409,12 +343,6 @@ func (s OutputService2TestShapeOutputService2TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetBlob sets the Blob field's value. -func (s *OutputService2TestShapeOutputService2TestCaseOperation1Output) SetBlob(v []byte) *OutputService2TestShapeOutputService2TestCaseOperation1Output { - s.Blob = v - return s -} - // OutputService3ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -531,12 +459,6 @@ func (s OutputService3TestShapeOutputService3TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetListMember sets the ListMember field's value. -func (s *OutputService3TestShapeOutputService3TestCaseOperation1Output) SetListMember(v []string) *OutputService3TestShapeOutputService3TestCaseOperation1Output { - s.ListMember = v - return s -} - // OutputService4ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -653,12 +575,6 @@ func (s OutputService4TestShapeOutputService4TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetListMember sets the ListMember field's value. -func (s *OutputService4TestShapeOutputService4TestCaseOperation1Output) SetListMember(v []string) *OutputService4TestShapeOutputService4TestCaseOperation1Output { - s.ListMember = v - return s -} - // OutputService5ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -775,12 +691,6 @@ func (s OutputService5TestShapeOutputService5TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetListMember sets the ListMember field's value. -func (s *OutputService5TestShapeOutputService5TestCaseOperation1Output) SetListMember(v []string) *OutputService5TestShapeOutputService5TestCaseOperation1Output { - s.ListMember = v - return s -} - // OutputService6ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -897,24 +807,12 @@ func (s OutputService6TestShapeOutputService6TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetMap sets the Map field's value. -func (s *OutputService6TestShapeOutputService6TestCaseOperation1Output) SetMap(v map[string]OutputService6TestShapeSingleStructure) *OutputService6TestShapeOutputService6TestCaseOperation1Output { - s.Map = v - return s -} - type OutputService6TestShapeSingleStructure struct { _ struct{} `type:"structure"` Foo *string `locationName:"foo" type:"string"` } -// SetFoo sets the Foo field's value. -func (s *OutputService6TestShapeSingleStructure) SetFoo(v string) *OutputService6TestShapeSingleStructure { - s.Foo = &v - return s -} - // OutputService7ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1031,12 +929,6 @@ func (s OutputService7TestShapeOutputService7TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetMap sets the Map field's value. -func (s *OutputService7TestShapeOutputService7TestCaseOperation1Output) SetMap(v map[string]string) *OutputService7TestShapeOutputService7TestCaseOperation1Output { - s.Map = v - return s -} - // OutputService8ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1153,12 +1045,6 @@ func (s OutputService8TestShapeOutputService8TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetMap sets the Map field's value. -func (s *OutputService8TestShapeOutputService8TestCaseOperation1Output) SetMap(v map[string]string) *OutputService8TestShapeOutputService8TestCaseOperation1Output { - s.Map = v - return s -} - // OutputService9ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1277,30 +1163,12 @@ func (s OutputService9TestShapeOutputService9TestCaseOperation1Output) SDKRespon return s.responseMetadata } -// SetData sets the Data field's value. -func (s *OutputService9TestShapeOutputService9TestCaseOperation1Output) SetData(v *OutputService9TestShapeSingleStructure) *OutputService9TestShapeOutputService9TestCaseOperation1Output { - s.Data = v - return s -} - -// SetHeader sets the Header field's value. -func (s *OutputService9TestShapeOutputService9TestCaseOperation1Output) SetHeader(v string) *OutputService9TestShapeOutputService9TestCaseOperation1Output { - s.Header = &v - return s -} - type OutputService9TestShapeSingleStructure struct { _ struct{} `type:"structure"` Foo *string `type:"string"` } -// SetFoo sets the Foo field's value. -func (s *OutputService9TestShapeSingleStructure) SetFoo(v string) *OutputService9TestShapeSingleStructure { - s.Foo = &v - return s -} - // OutputService10ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1417,12 +1285,6 @@ func (s OutputService10TestShapeOutputService10TestCaseOperation1Output) SDKResp return s.responseMetadata } -// SetStream sets the Stream field's value. -func (s *OutputService10TestShapeOutputService10TestCaseOperation1Output) SetStream(v []byte) *OutputService10TestShapeOutputService10TestCaseOperation1Output { - s.Stream = v - return s -} - // OutputService11ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1555,60 +1417,6 @@ func (s OutputService11TestShapeOutputService11TestCaseOperation1Output) SDKResp return s.responseMetadata } -// SetChar sets the Char field's value. -func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetChar(v string) *OutputService11TestShapeOutputService11TestCaseOperation1Output { - s.Char = &v - return s -} - -// SetDouble sets the Double field's value. -func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetDouble(v float64) *OutputService11TestShapeOutputService11TestCaseOperation1Output { - s.Double = &v - return s -} - -// SetFalseBool sets the FalseBool field's value. -func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetFalseBool(v bool) *OutputService11TestShapeOutputService11TestCaseOperation1Output { - s.FalseBool = &v - return s -} - -// SetFloat sets the Float field's value. -func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetFloat(v float64) *OutputService11TestShapeOutputService11TestCaseOperation1Output { - s.Float = &v - return s -} - -// SetInteger sets the Integer field's value. -func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetInteger(v int64) *OutputService11TestShapeOutputService11TestCaseOperation1Output { - s.Integer = &v - return s -} - -// SetLong sets the Long field's value. -func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetLong(v int64) *OutputService11TestShapeOutputService11TestCaseOperation1Output { - s.Long = &v - return s -} - -// SetStr sets the Str field's value. -func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetStr(v string) *OutputService11TestShapeOutputService11TestCaseOperation1Output { - s.Str = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetTimestamp(v time.Time) *OutputService11TestShapeOutputService11TestCaseOperation1Output { - s.Timestamp = &v - return s -} - -// SetTrueBool sets the TrueBool field's value. -func (s *OutputService11TestShapeOutputService11TestCaseOperation1Output) SetTrueBool(v bool) *OutputService11TestShapeOutputService11TestCaseOperation1Output { - s.TrueBool = &v - return s -} - // OutputService12ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1725,12 +1533,6 @@ func (s OutputService12TestShapeOutputService12TestCaseOperation1Output) SDKResp return s.responseMetadata } -// SetFoo sets the Foo field's value. -func (s *OutputService12TestShapeOutputService12TestCaseOperation1Output) SetFoo(v string) *OutputService12TestShapeOutputService12TestCaseOperation1Output { - s.Foo = &v - return s -} - // OutputService13ProtocolTest provides the API operation methods for making requests to // . See this package's package overview docs // for details on the service. @@ -1898,24 +1700,6 @@ func (s OutputService13TestShapeOutputService13TestCaseOperation2Input) SDKRespo return s.responseMetadata } -// SetFooEnum sets the FooEnum field's value. -func (s *OutputService13TestShapeOutputService13TestCaseOperation2Input) SetFooEnum(v OutputService13TestShapeRESTJSONEnumType) *OutputService13TestShapeOutputService13TestCaseOperation2Input { - s.FooEnum = v - return s -} - -// SetHeaderEnum sets the HeaderEnum field's value. -func (s *OutputService13TestShapeOutputService13TestCaseOperation2Input) SetHeaderEnum(v OutputService13TestShapeRESTJSONEnumType) *OutputService13TestShapeOutputService13TestCaseOperation2Input { - s.HeaderEnum = v - return s -} - -// SetListEnums sets the ListEnums field's value. -func (s *OutputService13TestShapeOutputService13TestCaseOperation2Input) SetListEnums(v []OutputService13TestShapeRESTJSONEnumType) *OutputService13TestShapeOutputService13TestCaseOperation2Input { - s.ListEnums = v - return s -} - type OutputService13TestShapeOutputService13TestCaseOperation2Output struct { _ struct{} `type:"structure"` @@ -2045,30 +1829,12 @@ type OutputService14TestShapeItemDetailShape struct { Type OutputService14TestShapeItemType `locationName:"xsi:type" type:"string" xmlAttribute:"true" required:"true" enum:"true"` } -// SetID sets the ID field's value. -func (s *OutputService14TestShapeItemDetailShape) SetID(v string) *OutputService14TestShapeItemDetailShape { - s.ID = &v - return s -} - -// SetType sets the Type field's value. -func (s *OutputService14TestShapeItemDetailShape) SetType(v OutputService14TestShapeItemType) *OutputService14TestShapeItemDetailShape { - s.Type = v - return s -} - type OutputService14TestShapeItemShape struct { _ struct{} `type:"structure"` ItemDetail *OutputService14TestShapeItemDetailShape `type:"structure" xmlPrefix:"xsi" xmlURI:"http://www.w3.org/2001/XMLSchema-instance"` } -// SetItemDetail sets the ItemDetail field's value. -func (s *OutputService14TestShapeItemShape) SetItemDetail(v *OutputService14TestShapeItemDetailShape) *OutputService14TestShapeItemShape { - s.ItemDetail = v - return s -} - type OutputService14TestShapeOutputService14TestCaseOperation1Input struct { _ struct{} `type:"structure"` } @@ -2086,12 +1852,6 @@ func (s OutputService14TestShapeOutputService14TestCaseOperation1Output) SDKResp return s.responseMetadata } -// SetListItems sets the ListItems field's value. -func (s *OutputService14TestShapeOutputService14TestCaseOperation1Output) SetListItems(v []OutputService14TestShapeItemShape) *OutputService14TestShapeOutputService14TestCaseOperation1Output { - s.ListItems = v - return s -} - type OutputService14TestShapeItemType string // Enum values for OutputService14TestShapeItemType diff --git a/service/acm/api.go b/service/acm/api.go index d74807c02d2..24dd3e9486d 100644 --- a/service/acm/api.go +++ b/service/acm/api.go @@ -740,18 +740,6 @@ func (s *AddTagsToCertificateInput) Validate() error { return nil } -// SetCertificateArn sets the CertificateArn field's value. -func (s *AddTagsToCertificateInput) SetCertificateArn(v string) *AddTagsToCertificateInput { - s.CertificateArn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *AddTagsToCertificateInput) SetTags(v []Tag) *AddTagsToCertificateInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AddTagsToCertificateOutput type AddTagsToCertificateOutput struct { _ struct{} `type:"structure"` @@ -892,144 +880,6 @@ func (s CertificateDetail) GoString() string { return s.String() } -// SetCertificateArn sets the CertificateArn field's value. -func (s *CertificateDetail) SetCertificateArn(v string) *CertificateDetail { - s.CertificateArn = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *CertificateDetail) SetCreatedAt(v time.Time) *CertificateDetail { - s.CreatedAt = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *CertificateDetail) SetDomainName(v string) *CertificateDetail { - s.DomainName = &v - return s -} - -// SetDomainValidationOptions sets the DomainValidationOptions field's value. -func (s *CertificateDetail) SetDomainValidationOptions(v []DomainValidation) *CertificateDetail { - s.DomainValidationOptions = v - return s -} - -// SetExtendedKeyUsages sets the ExtendedKeyUsages field's value. -func (s *CertificateDetail) SetExtendedKeyUsages(v []ExtendedKeyUsage) *CertificateDetail { - s.ExtendedKeyUsages = v - return s -} - -// SetFailureReason sets the FailureReason field's value. -func (s *CertificateDetail) SetFailureReason(v FailureReason) *CertificateDetail { - s.FailureReason = v - return s -} - -// SetImportedAt sets the ImportedAt field's value. -func (s *CertificateDetail) SetImportedAt(v time.Time) *CertificateDetail { - s.ImportedAt = &v - return s -} - -// SetInUseBy sets the InUseBy field's value. -func (s *CertificateDetail) SetInUseBy(v []string) *CertificateDetail { - s.InUseBy = v - return s -} - -// SetIssuedAt sets the IssuedAt field's value. -func (s *CertificateDetail) SetIssuedAt(v time.Time) *CertificateDetail { - s.IssuedAt = &v - return s -} - -// SetIssuer sets the Issuer field's value. -func (s *CertificateDetail) SetIssuer(v string) *CertificateDetail { - s.Issuer = &v - return s -} - -// SetKeyAlgorithm sets the KeyAlgorithm field's value. -func (s *CertificateDetail) SetKeyAlgorithm(v KeyAlgorithm) *CertificateDetail { - s.KeyAlgorithm = v - return s -} - -// SetKeyUsages sets the KeyUsages field's value. -func (s *CertificateDetail) SetKeyUsages(v []KeyUsage) *CertificateDetail { - s.KeyUsages = v - return s -} - -// SetNotAfter sets the NotAfter field's value. -func (s *CertificateDetail) SetNotAfter(v time.Time) *CertificateDetail { - s.NotAfter = &v - return s -} - -// SetNotBefore sets the NotBefore field's value. -func (s *CertificateDetail) SetNotBefore(v time.Time) *CertificateDetail { - s.NotBefore = &v - return s -} - -// SetRenewalSummary sets the RenewalSummary field's value. -func (s *CertificateDetail) SetRenewalSummary(v *RenewalSummary) *CertificateDetail { - s.RenewalSummary = v - return s -} - -// SetRevocationReason sets the RevocationReason field's value. -func (s *CertificateDetail) SetRevocationReason(v RevocationReason) *CertificateDetail { - s.RevocationReason = v - return s -} - -// SetRevokedAt sets the RevokedAt field's value. -func (s *CertificateDetail) SetRevokedAt(v time.Time) *CertificateDetail { - s.RevokedAt = &v - return s -} - -// SetSerial sets the Serial field's value. -func (s *CertificateDetail) SetSerial(v string) *CertificateDetail { - s.Serial = &v - return s -} - -// SetSignatureAlgorithm sets the SignatureAlgorithm field's value. -func (s *CertificateDetail) SetSignatureAlgorithm(v string) *CertificateDetail { - s.SignatureAlgorithm = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *CertificateDetail) SetStatus(v CertificateStatus) *CertificateDetail { - s.Status = v - return s -} - -// SetSubject sets the Subject field's value. -func (s *CertificateDetail) SetSubject(v string) *CertificateDetail { - s.Subject = &v - return s -} - -// SetSubjectAlternativeNames sets the SubjectAlternativeNames field's value. -func (s *CertificateDetail) SetSubjectAlternativeNames(v []string) *CertificateDetail { - s.SubjectAlternativeNames = v - return s -} - -// SetType sets the Type field's value. -func (s *CertificateDetail) SetType(v CertificateType) *CertificateDetail { - s.Type = v - return s -} - // This structure is returned in the response object of ListCertificates action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/CertificateSummary type CertificateSummary struct { @@ -1058,18 +908,6 @@ func (s CertificateSummary) GoString() string { return s.String() } -// SetCertificateArn sets the CertificateArn field's value. -func (s *CertificateSummary) SetCertificateArn(v string) *CertificateSummary { - s.CertificateArn = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *CertificateSummary) SetDomainName(v string) *CertificateSummary { - s.DomainName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteCertificateRequest type DeleteCertificateInput struct { _ struct{} `type:"structure"` @@ -1113,12 +951,6 @@ func (s *DeleteCertificateInput) Validate() error { return nil } -// SetCertificateArn sets the CertificateArn field's value. -func (s *DeleteCertificateInput) SetCertificateArn(v string) *DeleteCertificateInput { - s.CertificateArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteCertificateOutput type DeleteCertificateOutput struct { _ struct{} `type:"structure"` @@ -1184,12 +1016,6 @@ func (s *DescribeCertificateInput) Validate() error { return nil } -// SetCertificateArn sets the CertificateArn field's value. -func (s *DescribeCertificateInput) SetCertificateArn(v string) *DescribeCertificateInput { - s.CertificateArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificateResponse type DescribeCertificateOutput struct { _ struct{} `type:"structure"` @@ -1215,12 +1041,6 @@ func (s DescribeCertificateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificate sets the Certificate field's value. -func (s *DescribeCertificateOutput) SetCertificate(v *CertificateDetail) *DescribeCertificateOutput { - s.Certificate = v - return s -} - // Contains information about the validation of each domain name in the certificate. // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DomainValidation type DomainValidation struct { @@ -1266,42 +1086,6 @@ func (s DomainValidation) GoString() string { return s.String() } -// SetDomainName sets the DomainName field's value. -func (s *DomainValidation) SetDomainName(v string) *DomainValidation { - s.DomainName = &v - return s -} - -// SetResourceRecord sets the ResourceRecord field's value. -func (s *DomainValidation) SetResourceRecord(v *ResourceRecord) *DomainValidation { - s.ResourceRecord = v - return s -} - -// SetValidationDomain sets the ValidationDomain field's value. -func (s *DomainValidation) SetValidationDomain(v string) *DomainValidation { - s.ValidationDomain = &v - return s -} - -// SetValidationEmails sets the ValidationEmails field's value. -func (s *DomainValidation) SetValidationEmails(v []string) *DomainValidation { - s.ValidationEmails = v - return s -} - -// SetValidationMethod sets the ValidationMethod field's value. -func (s *DomainValidation) SetValidationMethod(v ValidationMethod) *DomainValidation { - s.ValidationMethod = v - return s -} - -// SetValidationStatus sets the ValidationStatus field's value. -func (s *DomainValidation) SetValidationStatus(v DomainStatus) *DomainValidation { - s.ValidationStatus = v - return s -} - // Contains information about the domain names that you want ACM to use to send // you emails that enable you to validate domain ownership. // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DomainValidationOption @@ -1368,18 +1152,6 @@ func (s *DomainValidationOption) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DomainValidationOption) SetDomainName(v string) *DomainValidationOption { - s.DomainName = &v - return s -} - -// SetValidationDomain sets the ValidationDomain field's value. -func (s *DomainValidationOption) SetValidationDomain(v string) *DomainValidationOption { - s.ValidationDomain = &v - return s -} - // The Extended Key Usage X.509 v3 extension defines one or more purposes for // which the public key can be used. This is in addition to or in place of the // basic purposes specified by the Key Usage extension. @@ -1424,18 +1196,6 @@ func (s ExtendedKeyUsage) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *ExtendedKeyUsage) SetName(v ExtendedKeyUsageName) *ExtendedKeyUsage { - s.Name = v - return s -} - -// SetOID sets the OID field's value. -func (s *ExtendedKeyUsage) SetOID(v string) *ExtendedKeyUsage { - s.OID = &v - return s -} - // This structure can be used in the ListCertificates action to filter the output // of the certificate list. // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/Filters @@ -1462,24 +1222,6 @@ func (s Filters) GoString() string { return s.String() } -// SetExtendedKeyUsage sets the ExtendedKeyUsage field's value. -func (s *Filters) SetExtendedKeyUsage(v []ExtendedKeyUsageName) *Filters { - s.ExtendedKeyUsage = v - return s -} - -// SetKeyTypes sets the KeyTypes field's value. -func (s *Filters) SetKeyTypes(v []KeyAlgorithm) *Filters { - s.KeyTypes = v - return s -} - -// SetKeyUsage sets the KeyUsage field's value. -func (s *Filters) SetKeyUsage(v []KeyUsageName) *Filters { - s.KeyUsage = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificateRequest type GetCertificateInput struct { _ struct{} `type:"structure"` @@ -1522,12 +1264,6 @@ func (s *GetCertificateInput) Validate() error { return nil } -// SetCertificateArn sets the CertificateArn field's value. -func (s *GetCertificateInput) SetCertificateArn(v string) *GetCertificateInput { - s.CertificateArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificateResponse type GetCertificateOutput struct { _ struct{} `type:"structure"` @@ -1558,18 +1294,6 @@ func (s GetCertificateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificate sets the Certificate field's value. -func (s *GetCertificateOutput) SetCertificate(v string) *GetCertificateOutput { - s.Certificate = &v - return s -} - -// SetCertificateChain sets the CertificateChain field's value. -func (s *GetCertificateOutput) SetCertificateChain(v string) *GetCertificateOutput { - s.CertificateChain = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ImportCertificateRequest type ImportCertificateInput struct { _ struct{} `type:"structure"` @@ -1639,30 +1363,6 @@ func (s *ImportCertificateInput) Validate() error { return nil } -// SetCertificate sets the Certificate field's value. -func (s *ImportCertificateInput) SetCertificate(v []byte) *ImportCertificateInput { - s.Certificate = v - return s -} - -// SetCertificateArn sets the CertificateArn field's value. -func (s *ImportCertificateInput) SetCertificateArn(v string) *ImportCertificateInput { - s.CertificateArn = &v - return s -} - -// SetCertificateChain sets the CertificateChain field's value. -func (s *ImportCertificateInput) SetCertificateChain(v []byte) *ImportCertificateInput { - s.CertificateChain = v - return s -} - -// SetPrivateKey sets the PrivateKey field's value. -func (s *ImportCertificateInput) SetPrivateKey(v []byte) *ImportCertificateInput { - s.PrivateKey = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ImportCertificateResponse type ImportCertificateOutput struct { _ struct{} `type:"structure"` @@ -1689,12 +1389,6 @@ func (s ImportCertificateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificateArn sets the CertificateArn field's value. -func (s *ImportCertificateOutput) SetCertificateArn(v string) *ImportCertificateOutput { - s.CertificateArn = &v - return s -} - // The Key Usage X.509 v3 extension defines the purpose of the public key contained // in the certificate. // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/KeyUsage @@ -1715,12 +1409,6 @@ func (s KeyUsage) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *KeyUsage) SetName(v KeyUsageName) *KeyUsage { - s.Name = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificatesRequest type ListCertificatesInput struct { _ struct{} `type:"structure"` @@ -1776,30 +1464,6 @@ func (s *ListCertificatesInput) Validate() error { return nil } -// SetCertificateStatuses sets the CertificateStatuses field's value. -func (s *ListCertificatesInput) SetCertificateStatuses(v []CertificateStatus) *ListCertificatesInput { - s.CertificateStatuses = v - return s -} - -// SetIncludes sets the Includes field's value. -func (s *ListCertificatesInput) SetIncludes(v *Filters) *ListCertificatesInput { - s.Includes = v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListCertificatesInput) SetMaxItems(v int64) *ListCertificatesInput { - s.MaxItems = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListCertificatesInput) SetNextToken(v string) *ListCertificatesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificatesResponse type ListCertificatesOutput struct { _ struct{} `type:"structure"` @@ -1829,18 +1493,6 @@ func (s ListCertificatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificateSummaryList sets the CertificateSummaryList field's value. -func (s *ListCertificatesOutput) SetCertificateSummaryList(v []CertificateSummary) *ListCertificatesOutput { - s.CertificateSummaryList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListCertificatesOutput) SetNextToken(v string) *ListCertificatesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificateRequest type ListTagsForCertificateInput struct { _ struct{} `type:"structure"` @@ -1884,12 +1536,6 @@ func (s *ListTagsForCertificateInput) Validate() error { return nil } -// SetCertificateArn sets the CertificateArn field's value. -func (s *ListTagsForCertificateInput) SetCertificateArn(v string) *ListTagsForCertificateInput { - s.CertificateArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificateResponse type ListTagsForCertificateOutput struct { _ struct{} `type:"structure"` @@ -1915,12 +1561,6 @@ func (s ListTagsForCertificateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTags sets the Tags field's value. -func (s *ListTagsForCertificateOutput) SetTags(v []Tag) *ListTagsForCertificateOutput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RemoveTagsFromCertificateRequest type RemoveTagsFromCertificateInput struct { _ struct{} `type:"structure"` @@ -1983,18 +1623,6 @@ func (s *RemoveTagsFromCertificateInput) Validate() error { return nil } -// SetCertificateArn sets the CertificateArn field's value. -func (s *RemoveTagsFromCertificateInput) SetCertificateArn(v string) *RemoveTagsFromCertificateInput { - s.CertificateArn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *RemoveTagsFromCertificateInput) SetTags(v []Tag) *RemoveTagsFromCertificateInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RemoveTagsFromCertificateOutput type RemoveTagsFromCertificateOutput struct { _ struct{} `type:"structure"` @@ -2050,18 +1678,6 @@ func (s RenewalSummary) GoString() string { return s.String() } -// SetDomainValidationOptions sets the DomainValidationOptions field's value. -func (s *RenewalSummary) SetDomainValidationOptions(v []DomainValidation) *RenewalSummary { - s.DomainValidationOptions = v - return s -} - -// SetRenewalStatus sets the RenewalStatus field's value. -func (s *RenewalSummary) SetRenewalStatus(v RenewalStatus) *RenewalSummary { - s.RenewalStatus = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificateRequest type RequestCertificateInput struct { _ struct{} `type:"structure"` @@ -2161,36 +1777,6 @@ func (s *RequestCertificateInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *RequestCertificateInput) SetDomainName(v string) *RequestCertificateInput { - s.DomainName = &v - return s -} - -// SetDomainValidationOptions sets the DomainValidationOptions field's value. -func (s *RequestCertificateInput) SetDomainValidationOptions(v []DomainValidationOption) *RequestCertificateInput { - s.DomainValidationOptions = v - return s -} - -// SetIdempotencyToken sets the IdempotencyToken field's value. -func (s *RequestCertificateInput) SetIdempotencyToken(v string) *RequestCertificateInput { - s.IdempotencyToken = &v - return s -} - -// SetSubjectAlternativeNames sets the SubjectAlternativeNames field's value. -func (s *RequestCertificateInput) SetSubjectAlternativeNames(v []string) *RequestCertificateInput { - s.SubjectAlternativeNames = v - return s -} - -// SetValidationMethod sets the ValidationMethod field's value. -func (s *RequestCertificateInput) SetValidationMethod(v ValidationMethod) *RequestCertificateInput { - s.ValidationMethod = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificateResponse type RequestCertificateOutput struct { _ struct{} `type:"structure"` @@ -2219,12 +1805,6 @@ func (s RequestCertificateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificateArn sets the CertificateArn field's value. -func (s *RequestCertificateOutput) SetCertificateArn(v string) *RequestCertificateOutput { - s.CertificateArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResendValidationEmailRequest type ResendValidationEmailInput struct { _ struct{} `type:"structure"` @@ -2308,24 +1888,6 @@ func (s *ResendValidationEmailInput) Validate() error { return nil } -// SetCertificateArn sets the CertificateArn field's value. -func (s *ResendValidationEmailInput) SetCertificateArn(v string) *ResendValidationEmailInput { - s.CertificateArn = &v - return s -} - -// SetDomain sets the Domain field's value. -func (s *ResendValidationEmailInput) SetDomain(v string) *ResendValidationEmailInput { - s.Domain = &v - return s -} - -// SetValidationDomain sets the ValidationDomain field's value. -func (s *ResendValidationEmailInput) SetValidationDomain(v string) *ResendValidationEmailInput { - s.ValidationDomain = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResendValidationEmailOutput type ResendValidationEmailOutput struct { _ struct{} `type:"structure"` @@ -2382,24 +1944,6 @@ func (s ResourceRecord) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *ResourceRecord) SetName(v string) *ResourceRecord { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *ResourceRecord) SetType(v RecordType) *ResourceRecord { - s.Type = v - return s -} - -// SetValue sets the Value field's value. -func (s *ResourceRecord) SetValue(v string) *ResourceRecord { - s.Value = &v - return s -} - // A key-value pair that identifies or specifies metadata about an ACM resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/Tag type Tag struct { @@ -2441,18 +1985,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - type CertificateStatus string // Enum values for CertificateStatus diff --git a/service/alexaforbusiness/api.go b/service/alexaforbusiness/api.go index 91860f9aef2..edbf2d0ffd4 100644 --- a/service/alexaforbusiness/api.go +++ b/service/alexaforbusiness/api.go @@ -2198,18 +2198,6 @@ func (s AssociateDeviceWithRoomInput) GoString() string { return s.String() } -// SetDeviceArn sets the DeviceArn field's value. -func (s *AssociateDeviceWithRoomInput) SetDeviceArn(v string) *AssociateDeviceWithRoomInput { - s.DeviceArn = &v - return s -} - -// SetRoomArn sets the RoomArn field's value. -func (s *AssociateDeviceWithRoomInput) SetRoomArn(v string) *AssociateDeviceWithRoomInput { - s.RoomArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateDeviceWithRoomResponse type AssociateDeviceWithRoomOutput struct { _ struct{} `type:"structure"` @@ -2253,18 +2241,6 @@ func (s AssociateSkillGroupWithRoomInput) GoString() string { return s.String() } -// SetRoomArn sets the RoomArn field's value. -func (s *AssociateSkillGroupWithRoomInput) SetRoomArn(v string) *AssociateSkillGroupWithRoomInput { - s.RoomArn = &v - return s -} - -// SetSkillGroupArn sets the SkillGroupArn field's value. -func (s *AssociateSkillGroupWithRoomInput) SetSkillGroupArn(v string) *AssociateSkillGroupWithRoomInput { - s.SkillGroupArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateSkillGroupWithRoomResponse type AssociateSkillGroupWithRoomOutput struct { _ struct{} `type:"structure"` @@ -2387,66 +2363,6 @@ func (s *CreateProfileInput) Validate() error { return nil } -// SetAddress sets the Address field's value. -func (s *CreateProfileInput) SetAddress(v string) *CreateProfileInput { - s.Address = &v - return s -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *CreateProfileInput) SetClientRequestToken(v string) *CreateProfileInput { - s.ClientRequestToken = &v - return s -} - -// SetDistanceUnit sets the DistanceUnit field's value. -func (s *CreateProfileInput) SetDistanceUnit(v DistanceUnit) *CreateProfileInput { - s.DistanceUnit = v - return s -} - -// SetMaxVolumeLimit sets the MaxVolumeLimit field's value. -func (s *CreateProfileInput) SetMaxVolumeLimit(v int64) *CreateProfileInput { - s.MaxVolumeLimit = &v - return s -} - -// SetPSTNEnabled sets the PSTNEnabled field's value. -func (s *CreateProfileInput) SetPSTNEnabled(v bool) *CreateProfileInput { - s.PSTNEnabled = &v - return s -} - -// SetProfileName sets the ProfileName field's value. -func (s *CreateProfileInput) SetProfileName(v string) *CreateProfileInput { - s.ProfileName = &v - return s -} - -// SetSetupModeDisabled sets the SetupModeDisabled field's value. -func (s *CreateProfileInput) SetSetupModeDisabled(v bool) *CreateProfileInput { - s.SetupModeDisabled = &v - return s -} - -// SetTemperatureUnit sets the TemperatureUnit field's value. -func (s *CreateProfileInput) SetTemperatureUnit(v TemperatureUnit) *CreateProfileInput { - s.TemperatureUnit = v - return s -} - -// SetTimezone sets the Timezone field's value. -func (s *CreateProfileInput) SetTimezone(v string) *CreateProfileInput { - s.Timezone = &v - return s -} - -// SetWakeWord sets the WakeWord field's value. -func (s *CreateProfileInput) SetWakeWord(v WakeWord) *CreateProfileInput { - s.WakeWord = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateProfileResponse type CreateProfileOutput struct { _ struct{} `type:"structure"` @@ -2472,12 +2388,6 @@ func (s CreateProfileOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetProfileArn sets the ProfileArn field's value. -func (s *CreateProfileOutput) SetProfileArn(v string) *CreateProfileOutput { - s.ProfileArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateRoomRequest type CreateRoomInput struct { _ struct{} `type:"structure"` @@ -2543,42 +2453,6 @@ func (s *CreateRoomInput) Validate() error { return nil } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *CreateRoomInput) SetClientRequestToken(v string) *CreateRoomInput { - s.ClientRequestToken = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateRoomInput) SetDescription(v string) *CreateRoomInput { - s.Description = &v - return s -} - -// SetProfileArn sets the ProfileArn field's value. -func (s *CreateRoomInput) SetProfileArn(v string) *CreateRoomInput { - s.ProfileArn = &v - return s -} - -// SetProviderCalendarId sets the ProviderCalendarId field's value. -func (s *CreateRoomInput) SetProviderCalendarId(v string) *CreateRoomInput { - s.ProviderCalendarId = &v - return s -} - -// SetRoomName sets the RoomName field's value. -func (s *CreateRoomInput) SetRoomName(v string) *CreateRoomInput { - s.RoomName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateRoomInput) SetTags(v []Tag) *CreateRoomInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateRoomResponse type CreateRoomOutput struct { _ struct{} `type:"structure"` @@ -2604,12 +2478,6 @@ func (s CreateRoomOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRoomArn sets the RoomArn field's value. -func (s *CreateRoomOutput) SetRoomArn(v string) *CreateRoomOutput { - s.RoomArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateSkillGroupRequest type CreateSkillGroupInput struct { _ struct{} `type:"structure"` @@ -2659,24 +2527,6 @@ func (s *CreateSkillGroupInput) Validate() error { return nil } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *CreateSkillGroupInput) SetClientRequestToken(v string) *CreateSkillGroupInput { - s.ClientRequestToken = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateSkillGroupInput) SetDescription(v string) *CreateSkillGroupInput { - s.Description = &v - return s -} - -// SetSkillGroupName sets the SkillGroupName field's value. -func (s *CreateSkillGroupInput) SetSkillGroupName(v string) *CreateSkillGroupInput { - s.SkillGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateSkillGroupResponse type CreateSkillGroupOutput struct { _ struct{} `type:"structure"` @@ -2702,12 +2552,6 @@ func (s CreateSkillGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSkillGroupArn sets the SkillGroupArn field's value. -func (s *CreateSkillGroupOutput) SetSkillGroupArn(v string) *CreateSkillGroupOutput { - s.SkillGroupArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateUserRequest type CreateUserInput struct { _ struct{} `type:"structure"` @@ -2773,42 +2617,6 @@ func (s *CreateUserInput) Validate() error { return nil } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *CreateUserInput) SetClientRequestToken(v string) *CreateUserInput { - s.ClientRequestToken = &v - return s -} - -// SetEmail sets the Email field's value. -func (s *CreateUserInput) SetEmail(v string) *CreateUserInput { - s.Email = &v - return s -} - -// SetFirstName sets the FirstName field's value. -func (s *CreateUserInput) SetFirstName(v string) *CreateUserInput { - s.FirstName = &v - return s -} - -// SetLastName sets the LastName field's value. -func (s *CreateUserInput) SetLastName(v string) *CreateUserInput { - s.LastName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateUserInput) SetTags(v []Tag) *CreateUserInput { - s.Tags = v - return s -} - -// SetUserId sets the UserId field's value. -func (s *CreateUserInput) SetUserId(v string) *CreateUserInput { - s.UserId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateUserResponse type CreateUserOutput struct { _ struct{} `type:"structure"` @@ -2834,12 +2642,6 @@ func (s CreateUserOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUserArn sets the UserArn field's value. -func (s *CreateUserOutput) SetUserArn(v string) *CreateUserOutput { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteProfileRequest type DeleteProfileInput struct { _ struct{} `type:"structure"` @@ -2858,12 +2660,6 @@ func (s DeleteProfileInput) GoString() string { return s.String() } -// SetProfileArn sets the ProfileArn field's value. -func (s *DeleteProfileInput) SetProfileArn(v string) *DeleteProfileInput { - s.ProfileArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteProfileResponse type DeleteProfileOutput struct { _ struct{} `type:"structure"` @@ -2904,12 +2700,6 @@ func (s DeleteRoomInput) GoString() string { return s.String() } -// SetRoomArn sets the RoomArn field's value. -func (s *DeleteRoomInput) SetRoomArn(v string) *DeleteRoomInput { - s.RoomArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteRoomResponse type DeleteRoomOutput struct { _ struct{} `type:"structure"` @@ -2981,24 +2771,6 @@ func (s *DeleteRoomSkillParameterInput) Validate() error { return nil } -// SetParameterKey sets the ParameterKey field's value. -func (s *DeleteRoomSkillParameterInput) SetParameterKey(v string) *DeleteRoomSkillParameterInput { - s.ParameterKey = &v - return s -} - -// SetRoomArn sets the RoomArn field's value. -func (s *DeleteRoomSkillParameterInput) SetRoomArn(v string) *DeleteRoomSkillParameterInput { - s.RoomArn = &v - return s -} - -// SetSkillId sets the SkillId field's value. -func (s *DeleteRoomSkillParameterInput) SetSkillId(v string) *DeleteRoomSkillParameterInput { - s.SkillId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteRoomSkillParameterResponse type DeleteRoomSkillParameterOutput struct { _ struct{} `type:"structure"` @@ -3039,12 +2811,6 @@ func (s DeleteSkillGroupInput) GoString() string { return s.String() } -// SetSkillGroupArn sets the SkillGroupArn field's value. -func (s *DeleteSkillGroupInput) SetSkillGroupArn(v string) *DeleteSkillGroupInput { - s.SkillGroupArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteSkillGroupResponse type DeleteSkillGroupOutput struct { _ struct{} `type:"structure"` @@ -3104,18 +2870,6 @@ func (s *DeleteUserInput) Validate() error { return nil } -// SetEnrollmentId sets the EnrollmentId field's value. -func (s *DeleteUserInput) SetEnrollmentId(v string) *DeleteUserInput { - s.EnrollmentId = &v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *DeleteUserInput) SetUserArn(v string) *DeleteUserInput { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteUserResponse type DeleteUserOutput struct { _ struct{} `type:"structure"` @@ -3178,54 +2932,6 @@ func (s Device) GoString() string { return s.String() } -// SetDeviceArn sets the DeviceArn field's value. -func (s *Device) SetDeviceArn(v string) *Device { - s.DeviceArn = &v - return s -} - -// SetDeviceName sets the DeviceName field's value. -func (s *Device) SetDeviceName(v string) *Device { - s.DeviceName = &v - return s -} - -// SetDeviceSerialNumber sets the DeviceSerialNumber field's value. -func (s *Device) SetDeviceSerialNumber(v string) *Device { - s.DeviceSerialNumber = &v - return s -} - -// SetDeviceStatus sets the DeviceStatus field's value. -func (s *Device) SetDeviceStatus(v DeviceStatus) *Device { - s.DeviceStatus = v - return s -} - -// SetDeviceType sets the DeviceType field's value. -func (s *Device) SetDeviceType(v string) *Device { - s.DeviceType = &v - return s -} - -// SetMacAddress sets the MacAddress field's value. -func (s *Device) SetMacAddress(v string) *Device { - s.MacAddress = &v - return s -} - -// SetRoomArn sets the RoomArn field's value. -func (s *Device) SetRoomArn(v string) *Device { - s.RoomArn = &v - return s -} - -// SetSoftwareVersion sets the SoftwareVersion field's value. -func (s *Device) SetSoftwareVersion(v string) *Device { - s.SoftwareVersion = &v - return s -} - // Device attributes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeviceData type DeviceData struct { @@ -3269,60 +2975,6 @@ func (s DeviceData) GoString() string { return s.String() } -// SetDeviceArn sets the DeviceArn field's value. -func (s *DeviceData) SetDeviceArn(v string) *DeviceData { - s.DeviceArn = &v - return s -} - -// SetDeviceName sets the DeviceName field's value. -func (s *DeviceData) SetDeviceName(v string) *DeviceData { - s.DeviceName = &v - return s -} - -// SetDeviceSerialNumber sets the DeviceSerialNumber field's value. -func (s *DeviceData) SetDeviceSerialNumber(v string) *DeviceData { - s.DeviceSerialNumber = &v - return s -} - -// SetDeviceStatus sets the DeviceStatus field's value. -func (s *DeviceData) SetDeviceStatus(v DeviceStatus) *DeviceData { - s.DeviceStatus = v - return s -} - -// SetDeviceType sets the DeviceType field's value. -func (s *DeviceData) SetDeviceType(v string) *DeviceData { - s.DeviceType = &v - return s -} - -// SetMacAddress sets the MacAddress field's value. -func (s *DeviceData) SetMacAddress(v string) *DeviceData { - s.MacAddress = &v - return s -} - -// SetRoomArn sets the RoomArn field's value. -func (s *DeviceData) SetRoomArn(v string) *DeviceData { - s.RoomArn = &v - return s -} - -// SetRoomName sets the RoomName field's value. -func (s *DeviceData) SetRoomName(v string) *DeviceData { - s.RoomName = &v - return s -} - -// SetSoftwareVersion sets the SoftwareVersion field's value. -func (s *DeviceData) SetSoftwareVersion(v string) *DeviceData { - s.SoftwareVersion = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateDeviceFromRoomRequest type DisassociateDeviceFromRoomInput struct { _ struct{} `type:"structure"` @@ -3341,12 +2993,6 @@ func (s DisassociateDeviceFromRoomInput) GoString() string { return s.String() } -// SetDeviceArn sets the DeviceArn field's value. -func (s *DisassociateDeviceFromRoomInput) SetDeviceArn(v string) *DisassociateDeviceFromRoomInput { - s.DeviceArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateDeviceFromRoomResponse type DisassociateDeviceFromRoomOutput struct { _ struct{} `type:"structure"` @@ -3390,18 +3036,6 @@ func (s DisassociateSkillGroupFromRoomInput) GoString() string { return s.String() } -// SetRoomArn sets the RoomArn field's value. -func (s *DisassociateSkillGroupFromRoomInput) SetRoomArn(v string) *DisassociateSkillGroupFromRoomInput { - s.RoomArn = &v - return s -} - -// SetSkillGroupArn sets the SkillGroupArn field's value. -func (s *DisassociateSkillGroupFromRoomInput) SetSkillGroupArn(v string) *DisassociateSkillGroupFromRoomInput { - s.SkillGroupArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateSkillGroupFromRoomResponse type DisassociateSkillGroupFromRoomOutput struct { _ struct{} `type:"structure"` @@ -3472,18 +3106,6 @@ func (s *Filter) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Filter) SetKey(v string) *Filter { - s.Key = &v - return s -} - -// SetValues sets the Values field's value. -func (s *Filter) SetValues(v []string) *Filter { - s.Values = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetDeviceRequest type GetDeviceInput struct { _ struct{} `type:"structure"` @@ -3502,12 +3124,6 @@ func (s GetDeviceInput) GoString() string { return s.String() } -// SetDeviceArn sets the DeviceArn field's value. -func (s *GetDeviceInput) SetDeviceArn(v string) *GetDeviceInput { - s.DeviceArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetDeviceResponse type GetDeviceOutput struct { _ struct{} `type:"structure"` @@ -3533,12 +3149,6 @@ func (s GetDeviceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDevice sets the Device field's value. -func (s *GetDeviceOutput) SetDevice(v *Device) *GetDeviceOutput { - s.Device = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetProfileRequest type GetProfileInput struct { _ struct{} `type:"structure"` @@ -3557,12 +3167,6 @@ func (s GetProfileInput) GoString() string { return s.String() } -// SetProfileArn sets the ProfileArn field's value. -func (s *GetProfileInput) SetProfileArn(v string) *GetProfileInput { - s.ProfileArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetProfileResponse type GetProfileOutput struct { _ struct{} `type:"structure"` @@ -3588,12 +3192,6 @@ func (s GetProfileOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetProfile sets the Profile field's value. -func (s *GetProfileOutput) SetProfile(v *Profile) *GetProfileOutput { - s.Profile = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetRoomRequest type GetRoomInput struct { _ struct{} `type:"structure"` @@ -3612,12 +3210,6 @@ func (s GetRoomInput) GoString() string { return s.String() } -// SetRoomArn sets the RoomArn field's value. -func (s *GetRoomInput) SetRoomArn(v string) *GetRoomInput { - s.RoomArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetRoomResponse type GetRoomOutput struct { _ struct{} `type:"structure"` @@ -3643,12 +3235,6 @@ func (s GetRoomOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRoom sets the Room field's value. -func (s *GetRoomOutput) SetRoom(v *Room) *GetRoomOutput { - s.Room = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetRoomSkillParameterRequest type GetRoomSkillParameterInput struct { _ struct{} `type:"structure"` @@ -3699,24 +3285,6 @@ func (s *GetRoomSkillParameterInput) Validate() error { return nil } -// SetParameterKey sets the ParameterKey field's value. -func (s *GetRoomSkillParameterInput) SetParameterKey(v string) *GetRoomSkillParameterInput { - s.ParameterKey = &v - return s -} - -// SetRoomArn sets the RoomArn field's value. -func (s *GetRoomSkillParameterInput) SetRoomArn(v string) *GetRoomSkillParameterInput { - s.RoomArn = &v - return s -} - -// SetSkillId sets the SkillId field's value. -func (s *GetRoomSkillParameterInput) SetSkillId(v string) *GetRoomSkillParameterInput { - s.SkillId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetRoomSkillParameterResponse type GetRoomSkillParameterOutput struct { _ struct{} `type:"structure"` @@ -3742,12 +3310,6 @@ func (s GetRoomSkillParameterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRoomSkillParameter sets the RoomSkillParameter field's value. -func (s *GetRoomSkillParameterOutput) SetRoomSkillParameter(v *RoomSkillParameter) *GetRoomSkillParameterOutput { - s.RoomSkillParameter = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetSkillGroupRequest type GetSkillGroupInput struct { _ struct{} `type:"structure"` @@ -3766,12 +3328,6 @@ func (s GetSkillGroupInput) GoString() string { return s.String() } -// SetSkillGroupArn sets the SkillGroupArn field's value. -func (s *GetSkillGroupInput) SetSkillGroupArn(v string) *GetSkillGroupInput { - s.SkillGroupArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetSkillGroupResponse type GetSkillGroupOutput struct { _ struct{} `type:"structure"` @@ -3797,12 +3353,6 @@ func (s GetSkillGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSkillGroup sets the SkillGroup field's value. -func (s *GetSkillGroupOutput) SetSkillGroup(v *SkillGroup) *GetSkillGroupOutput { - s.SkillGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListSkillsRequest type ListSkillsInput struct { _ struct{} `type:"structure"` @@ -3848,24 +3398,6 @@ func (s *ListSkillsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListSkillsInput) SetMaxResults(v int64) *ListSkillsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListSkillsInput) SetNextToken(v string) *ListSkillsInput { - s.NextToken = &v - return s -} - -// SetSkillGroupArn sets the SkillGroupArn field's value. -func (s *ListSkillsInput) SetSkillGroupArn(v string) *ListSkillsInput { - s.SkillGroupArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListSkillsResponse type ListSkillsOutput struct { _ struct{} `type:"structure"` @@ -3894,18 +3426,6 @@ func (s ListSkillsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListSkillsOutput) SetNextToken(v string) *ListSkillsOutput { - s.NextToken = &v - return s -} - -// SetSkillSummaries sets the SkillSummaries field's value. -func (s *ListSkillsOutput) SetSkillSummaries(v []SkillSummary) *ListSkillsOutput { - s.SkillSummaries = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListTagsRequest type ListTagsInput struct { _ struct{} `type:"structure"` @@ -3956,24 +3476,6 @@ func (s *ListTagsInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *ListTagsInput) SetArn(v string) *ListTagsInput { - s.Arn = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListTagsInput) SetMaxResults(v int64) *ListTagsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTagsInput) SetNextToken(v string) *ListTagsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListTagsResponse type ListTagsOutput struct { _ struct{} `type:"structure"` @@ -4002,18 +3504,6 @@ func (s ListTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTagsOutput) SetNextToken(v string) *ListTagsOutput { - s.NextToken = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *ListTagsOutput) SetTags(v []Tag) *ListTagsOutput { - s.Tags = v - return s -} - // A room profile with attributes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/Profile type Profile struct { @@ -4060,66 +3550,6 @@ func (s Profile) GoString() string { return s.String() } -// SetAddress sets the Address field's value. -func (s *Profile) SetAddress(v string) *Profile { - s.Address = &v - return s -} - -// SetDistanceUnit sets the DistanceUnit field's value. -func (s *Profile) SetDistanceUnit(v DistanceUnit) *Profile { - s.DistanceUnit = v - return s -} - -// SetMaxVolumeLimit sets the MaxVolumeLimit field's value. -func (s *Profile) SetMaxVolumeLimit(v int64) *Profile { - s.MaxVolumeLimit = &v - return s -} - -// SetPSTNEnabled sets the PSTNEnabled field's value. -func (s *Profile) SetPSTNEnabled(v bool) *Profile { - s.PSTNEnabled = &v - return s -} - -// SetProfileArn sets the ProfileArn field's value. -func (s *Profile) SetProfileArn(v string) *Profile { - s.ProfileArn = &v - return s -} - -// SetProfileName sets the ProfileName field's value. -func (s *Profile) SetProfileName(v string) *Profile { - s.ProfileName = &v - return s -} - -// SetSetupModeDisabled sets the SetupModeDisabled field's value. -func (s *Profile) SetSetupModeDisabled(v bool) *Profile { - s.SetupModeDisabled = &v - return s -} - -// SetTemperatureUnit sets the TemperatureUnit field's value. -func (s *Profile) SetTemperatureUnit(v TemperatureUnit) *Profile { - s.TemperatureUnit = v - return s -} - -// SetTimezone sets the Timezone field's value. -func (s *Profile) SetTimezone(v string) *Profile { - s.Timezone = &v - return s -} - -// SetWakeWord sets the WakeWord field's value. -func (s *Profile) SetWakeWord(v WakeWord) *Profile { - s.WakeWord = v - return s -} - // The data of a room profile. // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ProfileData type ProfileData struct { @@ -4157,48 +3587,6 @@ func (s ProfileData) GoString() string { return s.String() } -// SetAddress sets the Address field's value. -func (s *ProfileData) SetAddress(v string) *ProfileData { - s.Address = &v - return s -} - -// SetDistanceUnit sets the DistanceUnit field's value. -func (s *ProfileData) SetDistanceUnit(v DistanceUnit) *ProfileData { - s.DistanceUnit = v - return s -} - -// SetProfileArn sets the ProfileArn field's value. -func (s *ProfileData) SetProfileArn(v string) *ProfileData { - s.ProfileArn = &v - return s -} - -// SetProfileName sets the ProfileName field's value. -func (s *ProfileData) SetProfileName(v string) *ProfileData { - s.ProfileName = &v - return s -} - -// SetTemperatureUnit sets the TemperatureUnit field's value. -func (s *ProfileData) SetTemperatureUnit(v TemperatureUnit) *ProfileData { - s.TemperatureUnit = v - return s -} - -// SetTimezone sets the Timezone field's value. -func (s *ProfileData) SetTimezone(v string) *ProfileData { - s.Timezone = &v - return s -} - -// SetWakeWord sets the WakeWord field's value. -func (s *ProfileData) SetWakeWord(v WakeWord) *ProfileData { - s.WakeWord = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/PutRoomSkillParameterRequest type PutRoomSkillParameterInput struct { _ struct{} `type:"structure"` @@ -4250,24 +3638,6 @@ func (s *PutRoomSkillParameterInput) Validate() error { return nil } -// SetRoomArn sets the RoomArn field's value. -func (s *PutRoomSkillParameterInput) SetRoomArn(v string) *PutRoomSkillParameterInput { - s.RoomArn = &v - return s -} - -// SetRoomSkillParameter sets the RoomSkillParameter field's value. -func (s *PutRoomSkillParameterInput) SetRoomSkillParameter(v *RoomSkillParameter) *PutRoomSkillParameterInput { - s.RoomSkillParameter = v - return s -} - -// SetSkillId sets the SkillId field's value. -func (s *PutRoomSkillParameterInput) SetSkillId(v string) *PutRoomSkillParameterInput { - s.SkillId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/PutRoomSkillParameterResponse type PutRoomSkillParameterOutput struct { _ struct{} `type:"structure"` @@ -4333,18 +3703,6 @@ func (s *ResolveRoomInput) Validate() error { return nil } -// SetSkillId sets the SkillId field's value. -func (s *ResolveRoomInput) SetSkillId(v string) *ResolveRoomInput { - s.SkillId = &v - return s -} - -// SetUserId sets the UserId field's value. -func (s *ResolveRoomInput) SetUserId(v string) *ResolveRoomInput { - s.UserId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ResolveRoomResponse type ResolveRoomOutput struct { _ struct{} `type:"structure"` @@ -4376,24 +3734,6 @@ func (s ResolveRoomOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRoomArn sets the RoomArn field's value. -func (s *ResolveRoomOutput) SetRoomArn(v string) *ResolveRoomOutput { - s.RoomArn = &v - return s -} - -// SetRoomName sets the RoomName field's value. -func (s *ResolveRoomOutput) SetRoomName(v string) *ResolveRoomOutput { - s.RoomName = &v - return s -} - -// SetRoomSkillParameters sets the RoomSkillParameters field's value. -func (s *ResolveRoomOutput) SetRoomSkillParameters(v []RoomSkillParameter) *ResolveRoomOutput { - s.RoomSkillParameters = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/RevokeInvitationRequest type RevokeInvitationInput struct { _ struct{} `type:"structure"` @@ -4415,18 +3755,6 @@ func (s RevokeInvitationInput) GoString() string { return s.String() } -// SetEnrollmentId sets the EnrollmentId field's value. -func (s *RevokeInvitationInput) SetEnrollmentId(v string) *RevokeInvitationInput { - s.EnrollmentId = &v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *RevokeInvitationInput) SetUserArn(v string) *RevokeInvitationInput { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/RevokeInvitationResponse type RevokeInvitationOutput struct { _ struct{} `type:"structure"` @@ -4480,36 +3808,6 @@ func (s Room) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *Room) SetDescription(v string) *Room { - s.Description = &v - return s -} - -// SetProfileArn sets the ProfileArn field's value. -func (s *Room) SetProfileArn(v string) *Room { - s.ProfileArn = &v - return s -} - -// SetProviderCalendarId sets the ProviderCalendarId field's value. -func (s *Room) SetProviderCalendarId(v string) *Room { - s.ProviderCalendarId = &v - return s -} - -// SetRoomArn sets the RoomArn field's value. -func (s *Room) SetRoomArn(v string) *Room { - s.RoomArn = &v - return s -} - -// SetRoomName sets the RoomName field's value. -func (s *Room) SetRoomName(v string) *Room { - s.RoomName = &v - return s -} - // The data of a room. // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/RoomData type RoomData struct { @@ -4544,42 +3842,6 @@ func (s RoomData) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *RoomData) SetDescription(v string) *RoomData { - s.Description = &v - return s -} - -// SetProfileArn sets the ProfileArn field's value. -func (s *RoomData) SetProfileArn(v string) *RoomData { - s.ProfileArn = &v - return s -} - -// SetProfileName sets the ProfileName field's value. -func (s *RoomData) SetProfileName(v string) *RoomData { - s.ProfileName = &v - return s -} - -// SetProviderCalendarId sets the ProviderCalendarId field's value. -func (s *RoomData) SetProviderCalendarId(v string) *RoomData { - s.ProviderCalendarId = &v - return s -} - -// SetRoomArn sets the RoomArn field's value. -func (s *RoomData) SetRoomArn(v string) *RoomData { - s.RoomArn = &v - return s -} - -// SetRoomName sets the RoomName field's value. -func (s *RoomData) SetRoomName(v string) *RoomData { - s.RoomName = &v - return s -} - // A skill parameter associated with a room. // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/RoomSkillParameter type RoomSkillParameter struct { @@ -4631,18 +3893,6 @@ func (s *RoomSkillParameter) Validate() error { return nil } -// SetParameterKey sets the ParameterKey field's value. -func (s *RoomSkillParameter) SetParameterKey(v string) *RoomSkillParameter { - s.ParameterKey = &v - return s -} - -// SetParameterValue sets the ParameterValue field's value. -func (s *RoomSkillParameter) SetParameterValue(v string) *RoomSkillParameter { - s.ParameterValue = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchDevicesRequest type SearchDevicesInput struct { _ struct{} `type:"structure"` @@ -4707,30 +3957,6 @@ func (s *SearchDevicesInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *SearchDevicesInput) SetFilters(v []Filter) *SearchDevicesInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *SearchDevicesInput) SetMaxResults(v int64) *SearchDevicesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *SearchDevicesInput) SetNextToken(v string) *SearchDevicesInput { - s.NextToken = &v - return s -} - -// SetSortCriteria sets the SortCriteria field's value. -func (s *SearchDevicesInput) SetSortCriteria(v []Sort) *SearchDevicesInput { - s.SortCriteria = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchDevicesResponse type SearchDevicesOutput struct { _ struct{} `type:"structure"` @@ -4762,24 +3988,6 @@ func (s SearchDevicesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDevices sets the Devices field's value. -func (s *SearchDevicesOutput) SetDevices(v []DeviceData) *SearchDevicesOutput { - s.Devices = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *SearchDevicesOutput) SetNextToken(v string) *SearchDevicesOutput { - s.NextToken = &v - return s -} - -// SetTotalCount sets the TotalCount field's value. -func (s *SearchDevicesOutput) SetTotalCount(v int64) *SearchDevicesOutput { - s.TotalCount = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchProfilesRequest type SearchProfilesInput struct { _ struct{} `type:"structure"` @@ -4843,30 +4051,6 @@ func (s *SearchProfilesInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *SearchProfilesInput) SetFilters(v []Filter) *SearchProfilesInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *SearchProfilesInput) SetMaxResults(v int64) *SearchProfilesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *SearchProfilesInput) SetNextToken(v string) *SearchProfilesInput { - s.NextToken = &v - return s -} - -// SetSortCriteria sets the SortCriteria field's value. -func (s *SearchProfilesInput) SetSortCriteria(v []Sort) *SearchProfilesInput { - s.SortCriteria = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchProfilesResponse type SearchProfilesOutput struct { _ struct{} `type:"structure"` @@ -4898,24 +4082,6 @@ func (s SearchProfilesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *SearchProfilesOutput) SetNextToken(v string) *SearchProfilesOutput { - s.NextToken = &v - return s -} - -// SetProfiles sets the Profiles field's value. -func (s *SearchProfilesOutput) SetProfiles(v []ProfileData) *SearchProfilesOutput { - s.Profiles = v - return s -} - -// SetTotalCount sets the TotalCount field's value. -func (s *SearchProfilesOutput) SetTotalCount(v int64) *SearchProfilesOutput { - s.TotalCount = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchRoomsRequest type SearchRoomsInput struct { _ struct{} `type:"structure"` @@ -4979,30 +4145,6 @@ func (s *SearchRoomsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *SearchRoomsInput) SetFilters(v []Filter) *SearchRoomsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *SearchRoomsInput) SetMaxResults(v int64) *SearchRoomsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *SearchRoomsInput) SetNextToken(v string) *SearchRoomsInput { - s.NextToken = &v - return s -} - -// SetSortCriteria sets the SortCriteria field's value. -func (s *SearchRoomsInput) SetSortCriteria(v []Sort) *SearchRoomsInput { - s.SortCriteria = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchRoomsResponse type SearchRoomsOutput struct { _ struct{} `type:"structure"` @@ -5034,24 +4176,6 @@ func (s SearchRoomsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *SearchRoomsOutput) SetNextToken(v string) *SearchRoomsOutput { - s.NextToken = &v - return s -} - -// SetRooms sets the Rooms field's value. -func (s *SearchRoomsOutput) SetRooms(v []RoomData) *SearchRoomsOutput { - s.Rooms = v - return s -} - -// SetTotalCount sets the TotalCount field's value. -func (s *SearchRoomsOutput) SetTotalCount(v int64) *SearchRoomsOutput { - s.TotalCount = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchSkillGroupsRequest type SearchSkillGroupsInput struct { _ struct{} `type:"structure"` @@ -5116,30 +4240,6 @@ func (s *SearchSkillGroupsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *SearchSkillGroupsInput) SetFilters(v []Filter) *SearchSkillGroupsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *SearchSkillGroupsInput) SetMaxResults(v int64) *SearchSkillGroupsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *SearchSkillGroupsInput) SetNextToken(v string) *SearchSkillGroupsInput { - s.NextToken = &v - return s -} - -// SetSortCriteria sets the SortCriteria field's value. -func (s *SearchSkillGroupsInput) SetSortCriteria(v []Sort) *SearchSkillGroupsInput { - s.SortCriteria = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchSkillGroupsResponse type SearchSkillGroupsOutput struct { _ struct{} `type:"structure"` @@ -5171,24 +4271,6 @@ func (s SearchSkillGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *SearchSkillGroupsOutput) SetNextToken(v string) *SearchSkillGroupsOutput { - s.NextToken = &v - return s -} - -// SetSkillGroups sets the SkillGroups field's value. -func (s *SearchSkillGroupsOutput) SetSkillGroups(v []SkillGroupData) *SearchSkillGroupsOutput { - s.SkillGroups = v - return s -} - -// SetTotalCount sets the TotalCount field's value. -func (s *SearchSkillGroupsOutput) SetTotalCount(v int64) *SearchSkillGroupsOutput { - s.TotalCount = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchUsersRequest type SearchUsersInput struct { _ struct{} `type:"structure"` @@ -5253,30 +4335,6 @@ func (s *SearchUsersInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *SearchUsersInput) SetFilters(v []Filter) *SearchUsersInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *SearchUsersInput) SetMaxResults(v int64) *SearchUsersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *SearchUsersInput) SetNextToken(v string) *SearchUsersInput { - s.NextToken = &v - return s -} - -// SetSortCriteria sets the SortCriteria field's value. -func (s *SearchUsersInput) SetSortCriteria(v []Sort) *SearchUsersInput { - s.SortCriteria = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchUsersResponse type SearchUsersOutput struct { _ struct{} `type:"structure"` @@ -5308,24 +4366,6 @@ func (s SearchUsersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *SearchUsersOutput) SetNextToken(v string) *SearchUsersOutput { - s.NextToken = &v - return s -} - -// SetTotalCount sets the TotalCount field's value. -func (s *SearchUsersOutput) SetTotalCount(v int64) *SearchUsersOutput { - s.TotalCount = &v - return s -} - -// SetUsers sets the Users field's value. -func (s *SearchUsersOutput) SetUsers(v []UserData) *SearchUsersOutput { - s.Users = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SendInvitationRequest type SendInvitationInput struct { _ struct{} `type:"structure"` @@ -5344,12 +4384,6 @@ func (s SendInvitationInput) GoString() string { return s.String() } -// SetUserArn sets the UserArn field's value. -func (s *SendInvitationInput) SetUserArn(v string) *SendInvitationInput { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SendInvitationResponse type SendInvitationOutput struct { _ struct{} `type:"structure"` @@ -5397,24 +4431,6 @@ func (s SkillGroup) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *SkillGroup) SetDescription(v string) *SkillGroup { - s.Description = &v - return s -} - -// SetSkillGroupArn sets the SkillGroupArn field's value. -func (s *SkillGroup) SetSkillGroupArn(v string) *SkillGroup { - s.SkillGroupArn = &v - return s -} - -// SetSkillGroupName sets the SkillGroupName field's value. -func (s *SkillGroup) SetSkillGroupName(v string) *SkillGroup { - s.SkillGroupName = &v - return s -} - // The attributes of a skill group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SkillGroupData type SkillGroupData struct { @@ -5440,24 +4456,6 @@ func (s SkillGroupData) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *SkillGroupData) SetDescription(v string) *SkillGroupData { - s.Description = &v - return s -} - -// SetSkillGroupArn sets the SkillGroupArn field's value. -func (s *SkillGroupData) SetSkillGroupArn(v string) *SkillGroupData { - s.SkillGroupArn = &v - return s -} - -// SetSkillGroupName sets the SkillGroupName field's value. -func (s *SkillGroupData) SetSkillGroupName(v string) *SkillGroupData { - s.SkillGroupName = &v - return s -} - // The summary of skills. // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SkillSummary type SkillSummary struct { @@ -5483,24 +4481,6 @@ func (s SkillSummary) GoString() string { return s.String() } -// SetSkillId sets the SkillId field's value. -func (s *SkillSummary) SetSkillId(v string) *SkillSummary { - s.SkillId = &v - return s -} - -// SetSkillName sets the SkillName field's value. -func (s *SkillSummary) SetSkillName(v string) *SkillSummary { - s.SkillName = &v - return s -} - -// SetSupportsLinking sets the SupportsLinking field's value. -func (s *SkillSummary) SetSupportsLinking(v bool) *SkillSummary { - s.SupportsLinking = &v - return s -} - // An object representing a sort criteria. // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/Sort type Sort struct { @@ -5547,18 +4527,6 @@ func (s *Sort) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Sort) SetKey(v string) *Sort { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Sort) SetValue(v SortValue) *Sort { - s.Value = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/StartDeviceSyncRequest type StartDeviceSyncInput struct { _ struct{} `type:"structure"` @@ -5599,24 +4567,6 @@ func (s *StartDeviceSyncInput) Validate() error { return nil } -// SetDeviceArn sets the DeviceArn field's value. -func (s *StartDeviceSyncInput) SetDeviceArn(v string) *StartDeviceSyncInput { - s.DeviceArn = &v - return s -} - -// SetFeatures sets the Features field's value. -func (s *StartDeviceSyncInput) SetFeatures(v []Feature) *StartDeviceSyncInput { - s.Features = v - return s -} - -// SetRoomArn sets the RoomArn field's value. -func (s *StartDeviceSyncInput) SetRoomArn(v string) *StartDeviceSyncInput { - s.RoomArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/StartDeviceSyncResponse type StartDeviceSyncOutput struct { _ struct{} `type:"structure"` @@ -5674,18 +4624,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/TagResourceRequest type TagResourceInput struct { _ struct{} `type:"structure"` @@ -5737,18 +4675,6 @@ func (s *TagResourceInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *TagResourceInput) SetArn(v string) *TagResourceInput { - s.Arn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagResourceInput) SetTags(v []Tag) *TagResourceInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/TagResourceResponse type TagResourceOutput struct { _ struct{} `type:"structure"` @@ -5815,18 +4741,6 @@ func (s *UntagResourceInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *UntagResourceInput) SetArn(v string) *UntagResourceInput { - s.Arn = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *UntagResourceInput) SetTagKeys(v []string) *UntagResourceInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UntagResourceResponse type UntagResourceOutput struct { _ struct{} `type:"structure"` @@ -5883,18 +4797,6 @@ func (s *UpdateDeviceInput) Validate() error { return nil } -// SetDeviceArn sets the DeviceArn field's value. -func (s *UpdateDeviceInput) SetDeviceArn(v string) *UpdateDeviceInput { - s.DeviceArn = &v - return s -} - -// SetDeviceName sets the DeviceName field's value. -func (s *UpdateDeviceInput) SetDeviceName(v string) *UpdateDeviceInput { - s.DeviceName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateDeviceResponse type UpdateDeviceOutput struct { _ struct{} `type:"structure"` @@ -5981,66 +4883,6 @@ func (s *UpdateProfileInput) Validate() error { return nil } -// SetAddress sets the Address field's value. -func (s *UpdateProfileInput) SetAddress(v string) *UpdateProfileInput { - s.Address = &v - return s -} - -// SetDistanceUnit sets the DistanceUnit field's value. -func (s *UpdateProfileInput) SetDistanceUnit(v DistanceUnit) *UpdateProfileInput { - s.DistanceUnit = v - return s -} - -// SetMaxVolumeLimit sets the MaxVolumeLimit field's value. -func (s *UpdateProfileInput) SetMaxVolumeLimit(v int64) *UpdateProfileInput { - s.MaxVolumeLimit = &v - return s -} - -// SetPSTNEnabled sets the PSTNEnabled field's value. -func (s *UpdateProfileInput) SetPSTNEnabled(v bool) *UpdateProfileInput { - s.PSTNEnabled = &v - return s -} - -// SetProfileArn sets the ProfileArn field's value. -func (s *UpdateProfileInput) SetProfileArn(v string) *UpdateProfileInput { - s.ProfileArn = &v - return s -} - -// SetProfileName sets the ProfileName field's value. -func (s *UpdateProfileInput) SetProfileName(v string) *UpdateProfileInput { - s.ProfileName = &v - return s -} - -// SetSetupModeDisabled sets the SetupModeDisabled field's value. -func (s *UpdateProfileInput) SetSetupModeDisabled(v bool) *UpdateProfileInput { - s.SetupModeDisabled = &v - return s -} - -// SetTemperatureUnit sets the TemperatureUnit field's value. -func (s *UpdateProfileInput) SetTemperatureUnit(v TemperatureUnit) *UpdateProfileInput { - s.TemperatureUnit = v - return s -} - -// SetTimezone sets the Timezone field's value. -func (s *UpdateProfileInput) SetTimezone(v string) *UpdateProfileInput { - s.Timezone = &v - return s -} - -// SetWakeWord sets the WakeWord field's value. -func (s *UpdateProfileInput) SetWakeWord(v WakeWord) *UpdateProfileInput { - s.WakeWord = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateProfileResponse type UpdateProfileOutput struct { _ struct{} `type:"structure"` @@ -6109,36 +4951,6 @@ func (s *UpdateRoomInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *UpdateRoomInput) SetDescription(v string) *UpdateRoomInput { - s.Description = &v - return s -} - -// SetProfileArn sets the ProfileArn field's value. -func (s *UpdateRoomInput) SetProfileArn(v string) *UpdateRoomInput { - s.ProfileArn = &v - return s -} - -// SetProviderCalendarId sets the ProviderCalendarId field's value. -func (s *UpdateRoomInput) SetProviderCalendarId(v string) *UpdateRoomInput { - s.ProviderCalendarId = &v - return s -} - -// SetRoomArn sets the RoomArn field's value. -func (s *UpdateRoomInput) SetRoomArn(v string) *UpdateRoomInput { - s.RoomArn = &v - return s -} - -// SetRoomName sets the RoomName field's value. -func (s *UpdateRoomInput) SetRoomName(v string) *UpdateRoomInput { - s.RoomName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateRoomResponse type UpdateRoomOutput struct { _ struct{} `type:"structure"` @@ -6201,24 +5013,6 @@ func (s *UpdateSkillGroupInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *UpdateSkillGroupInput) SetDescription(v string) *UpdateSkillGroupInput { - s.Description = &v - return s -} - -// SetSkillGroupArn sets the SkillGroupArn field's value. -func (s *UpdateSkillGroupInput) SetSkillGroupArn(v string) *UpdateSkillGroupInput { - s.SkillGroupArn = &v - return s -} - -// SetSkillGroupName sets the SkillGroupName field's value. -func (s *UpdateSkillGroupInput) SetSkillGroupName(v string) *UpdateSkillGroupInput { - s.SkillGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateSkillGroupResponse type UpdateSkillGroupOutput struct { _ struct{} `type:"structure"` @@ -6275,42 +5069,6 @@ func (s UserData) GoString() string { return s.String() } -// SetEmail sets the Email field's value. -func (s *UserData) SetEmail(v string) *UserData { - s.Email = &v - return s -} - -// SetEnrollmentId sets the EnrollmentId field's value. -func (s *UserData) SetEnrollmentId(v string) *UserData { - s.EnrollmentId = &v - return s -} - -// SetEnrollmentStatus sets the EnrollmentStatus field's value. -func (s *UserData) SetEnrollmentStatus(v EnrollmentStatus) *UserData { - s.EnrollmentStatus = v - return s -} - -// SetFirstName sets the FirstName field's value. -func (s *UserData) SetFirstName(v string) *UserData { - s.FirstName = &v - return s -} - -// SetLastName sets the LastName field's value. -func (s *UserData) SetLastName(v string) *UserData { - s.LastName = &v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *UserData) SetUserArn(v string) *UserData { - s.UserArn = &v - return s -} - type DeviceStatus string // Enum values for DeviceStatus diff --git a/service/apigateway/api.go b/service/apigateway/api.go index 6e2895e235e..4214fc5af5d 100644 --- a/service/apigateway/api.go +++ b/service/apigateway/api.go @@ -6408,18 +6408,6 @@ func (s AccessLogSettings) GoString() string { return s.String() } -// SetDestinationArn sets the DestinationArn field's value. -func (s *AccessLogSettings) SetDestinationArn(v string) *AccessLogSettings { - s.DestinationArn = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *AccessLogSettings) SetFormat(v string) *AccessLogSettings { - s.Format = &v - return s -} - // API stage name of the associated API stage in a usage plan. type ApiStage struct { _ struct{} `type:"structure"` @@ -6441,18 +6429,6 @@ func (s ApiStage) GoString() string { return s.String() } -// SetApiId sets the ApiId field's value. -func (s *ApiStage) SetApiId(v string) *ApiStage { - s.ApiId = &v - return s -} - -// SetStage sets the Stage field's value. -func (s *ApiStage) SetStage(v string) *ApiStage { - s.Stage = &v - return s -} - // Configuration settings of a canary deployment. type CanarySettings struct { _ struct{} `type:"structure"` @@ -6483,30 +6459,6 @@ func (s CanarySettings) GoString() string { return s.String() } -// SetDeploymentId sets the DeploymentId field's value. -func (s *CanarySettings) SetDeploymentId(v string) *CanarySettings { - s.DeploymentId = &v - return s -} - -// SetPercentTraffic sets the PercentTraffic field's value. -func (s *CanarySettings) SetPercentTraffic(v float64) *CanarySettings { - s.PercentTraffic = &v - return s -} - -// SetStageVariableOverrides sets the StageVariableOverrides field's value. -func (s *CanarySettings) SetStageVariableOverrides(v map[string]string) *CanarySettings { - s.StageVariableOverrides = v - return s -} - -// SetUseStageCache sets the UseStageCache field's value. -func (s *CanarySettings) SetUseStageCache(v bool) *CanarySettings { - s.UseStageCache = &v - return s -} - // Request to create an ApiKey resource. type CreateApiKeyInput struct { _ struct{} `type:"structure"` @@ -6545,48 +6497,6 @@ func (s CreateApiKeyInput) GoString() string { return s.String() } -// SetCustomerId sets the CustomerId field's value. -func (s *CreateApiKeyInput) SetCustomerId(v string) *CreateApiKeyInput { - s.CustomerId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateApiKeyInput) SetDescription(v string) *CreateApiKeyInput { - s.Description = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *CreateApiKeyInput) SetEnabled(v bool) *CreateApiKeyInput { - s.Enabled = &v - return s -} - -// SetGenerateDistinctId sets the GenerateDistinctId field's value. -func (s *CreateApiKeyInput) SetGenerateDistinctId(v bool) *CreateApiKeyInput { - s.GenerateDistinctId = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateApiKeyInput) SetName(v string) *CreateApiKeyInput { - s.Name = &v - return s -} - -// SetStageKeys sets the StageKeys field's value. -func (s *CreateApiKeyInput) SetStageKeys(v []StageKey) *CreateApiKeyInput { - s.StageKeys = v - return s -} - -// SetValue sets the Value field's value. -func (s *CreateApiKeyInput) SetValue(v string) *CreateApiKeyInput { - s.Value = &v - return s -} - // Request to add a new Authorizer to an existing RestApi resource. type CreateAuthorizerInput struct { _ struct{} `type:"structure"` @@ -6701,66 +6611,6 @@ func (s *CreateAuthorizerInput) Validate() error { return nil } -// SetAuthType sets the AuthType field's value. -func (s *CreateAuthorizerInput) SetAuthType(v string) *CreateAuthorizerInput { - s.AuthType = &v - return s -} - -// SetAuthorizerCredentials sets the AuthorizerCredentials field's value. -func (s *CreateAuthorizerInput) SetAuthorizerCredentials(v string) *CreateAuthorizerInput { - s.AuthorizerCredentials = &v - return s -} - -// SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value. -func (s *CreateAuthorizerInput) SetAuthorizerResultTtlInSeconds(v int64) *CreateAuthorizerInput { - s.AuthorizerResultTtlInSeconds = &v - return s -} - -// SetAuthorizerUri sets the AuthorizerUri field's value. -func (s *CreateAuthorizerInput) SetAuthorizerUri(v string) *CreateAuthorizerInput { - s.AuthorizerUri = &v - return s -} - -// SetIdentitySource sets the IdentitySource field's value. -func (s *CreateAuthorizerInput) SetIdentitySource(v string) *CreateAuthorizerInput { - s.IdentitySource = &v - return s -} - -// SetIdentityValidationExpression sets the IdentityValidationExpression field's value. -func (s *CreateAuthorizerInput) SetIdentityValidationExpression(v string) *CreateAuthorizerInput { - s.IdentityValidationExpression = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateAuthorizerInput) SetName(v string) *CreateAuthorizerInput { - s.Name = &v - return s -} - -// SetProviderARNs sets the ProviderARNs field's value. -func (s *CreateAuthorizerInput) SetProviderARNs(v []string) *CreateAuthorizerInput { - s.ProviderARNs = v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *CreateAuthorizerInput) SetRestApiId(v string) *CreateAuthorizerInput { - s.RestApiId = &v - return s -} - -// SetType sets the Type field's value. -func (s *CreateAuthorizerInput) SetType(v AuthorizerType) *CreateAuthorizerInput { - s.Type = v - return s -} - // Requests API Gateway to create a new BasePathMapping resource. type CreateBasePathMappingInput struct { _ struct{} `type:"structure"` @@ -6815,30 +6665,6 @@ func (s *CreateBasePathMappingInput) Validate() error { return nil } -// SetBasePath sets the BasePath field's value. -func (s *CreateBasePathMappingInput) SetBasePath(v string) *CreateBasePathMappingInput { - s.BasePath = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *CreateBasePathMappingInput) SetDomainName(v string) *CreateBasePathMappingInput { - s.DomainName = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *CreateBasePathMappingInput) SetRestApiId(v string) *CreateBasePathMappingInput { - s.RestApiId = &v - return s -} - -// SetStage sets the Stage field's value. -func (s *CreateBasePathMappingInput) SetStage(v string) *CreateBasePathMappingInput { - s.Stage = &v - return s -} - // Requests API Gateway to create a Deployment resource. type CreateDeploymentInput struct { _ struct{} `type:"structure"` @@ -6898,54 +6724,6 @@ func (s *CreateDeploymentInput) Validate() error { return nil } -// SetCacheClusterEnabled sets the CacheClusterEnabled field's value. -func (s *CreateDeploymentInput) SetCacheClusterEnabled(v bool) *CreateDeploymentInput { - s.CacheClusterEnabled = &v - return s -} - -// SetCacheClusterSize sets the CacheClusterSize field's value. -func (s *CreateDeploymentInput) SetCacheClusterSize(v CacheClusterSize) *CreateDeploymentInput { - s.CacheClusterSize = v - return s -} - -// SetCanarySettings sets the CanarySettings field's value. -func (s *CreateDeploymentInput) SetCanarySettings(v *DeploymentCanarySettings) *CreateDeploymentInput { - s.CanarySettings = v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateDeploymentInput) SetDescription(v string) *CreateDeploymentInput { - s.Description = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *CreateDeploymentInput) SetRestApiId(v string) *CreateDeploymentInput { - s.RestApiId = &v - return s -} - -// SetStageDescription sets the StageDescription field's value. -func (s *CreateDeploymentInput) SetStageDescription(v string) *CreateDeploymentInput { - s.StageDescription = &v - return s -} - -// SetStageName sets the StageName field's value. -func (s *CreateDeploymentInput) SetStageName(v string) *CreateDeploymentInput { - s.StageName = &v - return s -} - -// SetVariables sets the Variables field's value. -func (s *CreateDeploymentInput) SetVariables(v map[string]string) *CreateDeploymentInput { - s.Variables = v - return s -} - // Creates a new documentation part of a given API. type CreateDocumentationPartInput struct { _ struct{} `type:"structure"` @@ -7006,24 +6784,6 @@ func (s *CreateDocumentationPartInput) Validate() error { return nil } -// SetLocation sets the Location field's value. -func (s *CreateDocumentationPartInput) SetLocation(v *DocumentationPartLocation) *CreateDocumentationPartInput { - s.Location = v - return s -} - -// SetProperties sets the Properties field's value. -func (s *CreateDocumentationPartInput) SetProperties(v string) *CreateDocumentationPartInput { - s.Properties = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *CreateDocumentationPartInput) SetRestApiId(v string) *CreateDocumentationPartInput { - s.RestApiId = &v - return s -} - // Creates a new documentation version of a given API. type CreateDocumentationVersionInput struct { _ struct{} `type:"structure"` @@ -7073,30 +6833,6 @@ func (s *CreateDocumentationVersionInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateDocumentationVersionInput) SetDescription(v string) *CreateDocumentationVersionInput { - s.Description = &v - return s -} - -// SetDocumentationVersion sets the DocumentationVersion field's value. -func (s *CreateDocumentationVersionInput) SetDocumentationVersion(v string) *CreateDocumentationVersionInput { - s.DocumentationVersion = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *CreateDocumentationVersionInput) SetRestApiId(v string) *CreateDocumentationVersionInput { - s.RestApiId = &v - return s -} - -// SetStageName sets the StageName field's value. -func (s *CreateDocumentationVersionInput) SetStageName(v string) *CreateDocumentationVersionInput { - s.StageName = &v - return s -} - // A request to create a new domain name. type CreateDomainNameInput struct { _ struct{} `type:"structure"` @@ -7170,60 +6906,6 @@ func (s *CreateDomainNameInput) Validate() error { return nil } -// SetCertificateArn sets the CertificateArn field's value. -func (s *CreateDomainNameInput) SetCertificateArn(v string) *CreateDomainNameInput { - s.CertificateArn = &v - return s -} - -// SetCertificateBody sets the CertificateBody field's value. -func (s *CreateDomainNameInput) SetCertificateBody(v string) *CreateDomainNameInput { - s.CertificateBody = &v - return s -} - -// SetCertificateChain sets the CertificateChain field's value. -func (s *CreateDomainNameInput) SetCertificateChain(v string) *CreateDomainNameInput { - s.CertificateChain = &v - return s -} - -// SetCertificateName sets the CertificateName field's value. -func (s *CreateDomainNameInput) SetCertificateName(v string) *CreateDomainNameInput { - s.CertificateName = &v - return s -} - -// SetCertificatePrivateKey sets the CertificatePrivateKey field's value. -func (s *CreateDomainNameInput) SetCertificatePrivateKey(v string) *CreateDomainNameInput { - s.CertificatePrivateKey = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *CreateDomainNameInput) SetDomainName(v string) *CreateDomainNameInput { - s.DomainName = &v - return s -} - -// SetEndpointConfiguration sets the EndpointConfiguration field's value. -func (s *CreateDomainNameInput) SetEndpointConfiguration(v *EndpointConfiguration) *CreateDomainNameInput { - s.EndpointConfiguration = v - return s -} - -// SetRegionalCertificateArn sets the RegionalCertificateArn field's value. -func (s *CreateDomainNameInput) SetRegionalCertificateArn(v string) *CreateDomainNameInput { - s.RegionalCertificateArn = &v - return s -} - -// SetRegionalCertificateName sets the RegionalCertificateName field's value. -func (s *CreateDomainNameInput) SetRegionalCertificateName(v string) *CreateDomainNameInput { - s.RegionalCertificateName = &v - return s -} - // Request to add a new Model to an existing RestApi resource. type CreateModelInput struct { _ struct{} `type:"structure"` @@ -7283,36 +6965,6 @@ func (s *CreateModelInput) Validate() error { return nil } -// SetContentType sets the ContentType field's value. -func (s *CreateModelInput) SetContentType(v string) *CreateModelInput { - s.ContentType = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateModelInput) SetDescription(v string) *CreateModelInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateModelInput) SetName(v string) *CreateModelInput { - s.Name = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *CreateModelInput) SetRestApiId(v string) *CreateModelInput { - s.RestApiId = &v - return s -} - -// SetSchema sets the Schema field's value. -func (s *CreateModelInput) SetSchema(v string) *CreateModelInput { - s.Schema = &v - return s -} - // Creates a RequestValidator of a given RestApi. type CreateRequestValidatorInput struct { _ struct{} `type:"structure"` @@ -7358,30 +7010,6 @@ func (s *CreateRequestValidatorInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *CreateRequestValidatorInput) SetName(v string) *CreateRequestValidatorInput { - s.Name = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *CreateRequestValidatorInput) SetRestApiId(v string) *CreateRequestValidatorInput { - s.RestApiId = &v - return s -} - -// SetValidateRequestBody sets the ValidateRequestBody field's value. -func (s *CreateRequestValidatorInput) SetValidateRequestBody(v bool) *CreateRequestValidatorInput { - s.ValidateRequestBody = &v - return s -} - -// SetValidateRequestParameters sets the ValidateRequestParameters field's value. -func (s *CreateRequestValidatorInput) SetValidateRequestParameters(v bool) *CreateRequestValidatorInput { - s.ValidateRequestParameters = &v - return s -} - // Requests API Gateway to create a Resource resource. type CreateResourceInput struct { _ struct{} `type:"structure"` @@ -7434,24 +7062,6 @@ func (s *CreateResourceInput) Validate() error { return nil } -// SetParentId sets the ParentId field's value. -func (s *CreateResourceInput) SetParentId(v string) *CreateResourceInput { - s.ParentId = &v - return s -} - -// SetPathPart sets the PathPart field's value. -func (s *CreateResourceInput) SetPathPart(v string) *CreateResourceInput { - s.PathPart = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *CreateResourceInput) SetRestApiId(v string) *CreateResourceInput { - s.RestApiId = &v - return s -} - // The POST Request to add a new RestApi resource to your collection. type CreateRestApiInput struct { _ struct{} `type:"structure"` @@ -7517,54 +7127,6 @@ func (s *CreateRestApiInput) Validate() error { return nil } -// SetApiKeySource sets the ApiKeySource field's value. -func (s *CreateRestApiInput) SetApiKeySource(v ApiKeySourceType) *CreateRestApiInput { - s.ApiKeySource = v - return s -} - -// SetBinaryMediaTypes sets the BinaryMediaTypes field's value. -func (s *CreateRestApiInput) SetBinaryMediaTypes(v []string) *CreateRestApiInput { - s.BinaryMediaTypes = v - return s -} - -// SetCloneFrom sets the CloneFrom field's value. -func (s *CreateRestApiInput) SetCloneFrom(v string) *CreateRestApiInput { - s.CloneFrom = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateRestApiInput) SetDescription(v string) *CreateRestApiInput { - s.Description = &v - return s -} - -// SetEndpointConfiguration sets the EndpointConfiguration field's value. -func (s *CreateRestApiInput) SetEndpointConfiguration(v *EndpointConfiguration) *CreateRestApiInput { - s.EndpointConfiguration = v - return s -} - -// SetMinimumCompressionSize sets the MinimumCompressionSize field's value. -func (s *CreateRestApiInput) SetMinimumCompressionSize(v int64) *CreateRestApiInput { - s.MinimumCompressionSize = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateRestApiInput) SetName(v string) *CreateRestApiInput { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *CreateRestApiInput) SetVersion(v string) *CreateRestApiInput { - s.Version = &v - return s -} - // Requests API Gateway to create a Stage resource. type CreateStageInput struct { _ struct{} `type:"structure"` @@ -7642,66 +7204,6 @@ func (s *CreateStageInput) Validate() error { return nil } -// SetCacheClusterEnabled sets the CacheClusterEnabled field's value. -func (s *CreateStageInput) SetCacheClusterEnabled(v bool) *CreateStageInput { - s.CacheClusterEnabled = &v - return s -} - -// SetCacheClusterSize sets the CacheClusterSize field's value. -func (s *CreateStageInput) SetCacheClusterSize(v CacheClusterSize) *CreateStageInput { - s.CacheClusterSize = v - return s -} - -// SetCanarySettings sets the CanarySettings field's value. -func (s *CreateStageInput) SetCanarySettings(v *CanarySettings) *CreateStageInput { - s.CanarySettings = v - return s -} - -// SetDeploymentId sets the DeploymentId field's value. -func (s *CreateStageInput) SetDeploymentId(v string) *CreateStageInput { - s.DeploymentId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateStageInput) SetDescription(v string) *CreateStageInput { - s.Description = &v - return s -} - -// SetDocumentationVersion sets the DocumentationVersion field's value. -func (s *CreateStageInput) SetDocumentationVersion(v string) *CreateStageInput { - s.DocumentationVersion = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *CreateStageInput) SetRestApiId(v string) *CreateStageInput { - s.RestApiId = &v - return s -} - -// SetStageName sets the StageName field's value. -func (s *CreateStageInput) SetStageName(v string) *CreateStageInput { - s.StageName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateStageInput) SetTags(v map[string]string) *CreateStageInput { - s.Tags = v - return s -} - -// SetVariables sets the Variables field's value. -func (s *CreateStageInput) SetVariables(v map[string]string) *CreateStageInput { - s.Variables = v - return s -} - // The POST request to create a usage plan with the name, description, throttle // limits and quota limits, as well as the associated API stages, specified // in the payload. @@ -7750,36 +7252,6 @@ func (s *CreateUsagePlanInput) Validate() error { return nil } -// SetApiStages sets the ApiStages field's value. -func (s *CreateUsagePlanInput) SetApiStages(v []ApiStage) *CreateUsagePlanInput { - s.ApiStages = v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateUsagePlanInput) SetDescription(v string) *CreateUsagePlanInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateUsagePlanInput) SetName(v string) *CreateUsagePlanInput { - s.Name = &v - return s -} - -// SetQuota sets the Quota field's value. -func (s *CreateUsagePlanInput) SetQuota(v *QuotaSettings) *CreateUsagePlanInput { - s.Quota = v - return s -} - -// SetThrottle sets the Throttle field's value. -func (s *CreateUsagePlanInput) SetThrottle(v *ThrottleSettings) *CreateUsagePlanInput { - s.Throttle = v - return s -} - // The POST request to create a usage plan key for adding an existing API key // to a usage plan. type CreateUsagePlanKeyInput struct { @@ -7834,24 +7306,6 @@ func (s *CreateUsagePlanKeyInput) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *CreateUsagePlanKeyInput) SetKeyId(v string) *CreateUsagePlanKeyInput { - s.KeyId = &v - return s -} - -// SetKeyType sets the KeyType field's value. -func (s *CreateUsagePlanKeyInput) SetKeyType(v string) *CreateUsagePlanKeyInput { - s.KeyType = &v - return s -} - -// SetUsagePlanId sets the UsagePlanId field's value. -func (s *CreateUsagePlanKeyInput) SetUsagePlanId(v string) *CreateUsagePlanKeyInput { - s.UsagePlanId = &v - return s -} - // Creates a VPC link, under the caller's account in a selected region, in an // asynchronous operation that typically takes 2-4 minutes to complete and become // operational. The caller must have permissions to create and update VPC Endpoint @@ -7903,24 +7357,6 @@ func (s *CreateVpcLinkInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateVpcLinkInput) SetDescription(v string) *CreateVpcLinkInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateVpcLinkInput) SetName(v string) *CreateVpcLinkInput { - s.Name = &v - return s -} - -// SetTargetArns sets the TargetArns field's value. -func (s *CreateVpcLinkInput) SetTargetArns(v []string) *CreateVpcLinkInput { - s.TargetArns = v - return s -} - // A request to delete the ApiKey resource. type DeleteApiKeyInput struct { _ struct{} `type:"structure"` @@ -7955,12 +7391,6 @@ func (s *DeleteApiKeyInput) Validate() error { return nil } -// SetApiKey sets the ApiKey field's value. -func (s *DeleteApiKeyInput) SetApiKey(v string) *DeleteApiKeyInput { - s.ApiKey = &v - return s -} - type DeleteApiKeyOutput struct { _ struct{} `type:"structure"` @@ -8025,18 +7455,6 @@ func (s *DeleteAuthorizerInput) Validate() error { return nil } -// SetAuthorizerId sets the AuthorizerId field's value. -func (s *DeleteAuthorizerInput) SetAuthorizerId(v string) *DeleteAuthorizerInput { - s.AuthorizerId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *DeleteAuthorizerInput) SetRestApiId(v string) *DeleteAuthorizerInput { - s.RestApiId = &v - return s -} - type DeleteAuthorizerOutput struct { _ struct{} `type:"structure"` @@ -8101,18 +7519,6 @@ func (s *DeleteBasePathMappingInput) Validate() error { return nil } -// SetBasePath sets the BasePath field's value. -func (s *DeleteBasePathMappingInput) SetBasePath(v string) *DeleteBasePathMappingInput { - s.BasePath = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *DeleteBasePathMappingInput) SetDomainName(v string) *DeleteBasePathMappingInput { - s.DomainName = &v - return s -} - type DeleteBasePathMappingOutput struct { _ struct{} `type:"structure"` @@ -8168,12 +7574,6 @@ func (s *DeleteClientCertificateInput) Validate() error { return nil } -// SetClientCertificateId sets the ClientCertificateId field's value. -func (s *DeleteClientCertificateInput) SetClientCertificateId(v string) *DeleteClientCertificateInput { - s.ClientCertificateId = &v - return s -} - type DeleteClientCertificateOutput struct { _ struct{} `type:"structure"` @@ -8238,18 +7638,6 @@ func (s *DeleteDeploymentInput) Validate() error { return nil } -// SetDeploymentId sets the DeploymentId field's value. -func (s *DeleteDeploymentInput) SetDeploymentId(v string) *DeleteDeploymentInput { - s.DeploymentId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *DeleteDeploymentInput) SetRestApiId(v string) *DeleteDeploymentInput { - s.RestApiId = &v - return s -} - type DeleteDeploymentOutput struct { _ struct{} `type:"structure"` @@ -8314,18 +7702,6 @@ func (s *DeleteDocumentationPartInput) Validate() error { return nil } -// SetDocumentationPartId sets the DocumentationPartId field's value. -func (s *DeleteDocumentationPartInput) SetDocumentationPartId(v string) *DeleteDocumentationPartInput { - s.DocumentationPartId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *DeleteDocumentationPartInput) SetRestApiId(v string) *DeleteDocumentationPartInput { - s.RestApiId = &v - return s -} - type DeleteDocumentationPartOutput struct { _ struct{} `type:"structure"` @@ -8390,18 +7766,6 @@ func (s *DeleteDocumentationVersionInput) Validate() error { return nil } -// SetDocumentationVersion sets the DocumentationVersion field's value. -func (s *DeleteDocumentationVersionInput) SetDocumentationVersion(v string) *DeleteDocumentationVersionInput { - s.DocumentationVersion = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *DeleteDocumentationVersionInput) SetRestApiId(v string) *DeleteDocumentationVersionInput { - s.RestApiId = &v - return s -} - type DeleteDocumentationVersionOutput struct { _ struct{} `type:"structure"` @@ -8457,12 +7821,6 @@ func (s *DeleteDomainNameInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DeleteDomainNameInput) SetDomainName(v string) *DeleteDomainNameInput { - s.DomainName = &v - return s -} - type DeleteDomainNameOutput struct { _ struct{} `type:"structure"` @@ -8547,18 +7905,6 @@ func (s *DeleteGatewayResponseInput) Validate() error { return nil } -// SetResponseType sets the ResponseType field's value. -func (s *DeleteGatewayResponseInput) SetResponseType(v GatewayResponseType) *DeleteGatewayResponseInput { - s.ResponseType = v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *DeleteGatewayResponseInput) SetRestApiId(v string) *DeleteGatewayResponseInput { - s.RestApiId = &v - return s -} - type DeleteGatewayResponseOutput struct { _ struct{} `type:"structure"` @@ -8632,24 +7978,6 @@ func (s *DeleteIntegrationInput) Validate() error { return nil } -// SetHttpMethod sets the HttpMethod field's value. -func (s *DeleteIntegrationInput) SetHttpMethod(v string) *DeleteIntegrationInput { - s.HttpMethod = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *DeleteIntegrationInput) SetResourceId(v string) *DeleteIntegrationInput { - s.ResourceId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *DeleteIntegrationInput) SetRestApiId(v string) *DeleteIntegrationInput { - s.RestApiId = &v - return s -} - type DeleteIntegrationOutput struct { _ struct{} `type:"structure"` @@ -8732,30 +8060,6 @@ func (s *DeleteIntegrationResponseInput) Validate() error { return nil } -// SetHttpMethod sets the HttpMethod field's value. -func (s *DeleteIntegrationResponseInput) SetHttpMethod(v string) *DeleteIntegrationResponseInput { - s.HttpMethod = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *DeleteIntegrationResponseInput) SetResourceId(v string) *DeleteIntegrationResponseInput { - s.ResourceId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *DeleteIntegrationResponseInput) SetRestApiId(v string) *DeleteIntegrationResponseInput { - s.RestApiId = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *DeleteIntegrationResponseInput) SetStatusCode(v string) *DeleteIntegrationResponseInput { - s.StatusCode = &v - return s -} - type DeleteIntegrationResponseOutput struct { _ struct{} `type:"structure"` @@ -8829,24 +8133,6 @@ func (s *DeleteMethodInput) Validate() error { return nil } -// SetHttpMethod sets the HttpMethod field's value. -func (s *DeleteMethodInput) SetHttpMethod(v string) *DeleteMethodInput { - s.HttpMethod = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *DeleteMethodInput) SetResourceId(v string) *DeleteMethodInput { - s.ResourceId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *DeleteMethodInput) SetRestApiId(v string) *DeleteMethodInput { - s.RestApiId = &v - return s -} - type DeleteMethodOutput struct { _ struct{} `type:"structure"` @@ -8929,30 +8215,6 @@ func (s *DeleteMethodResponseInput) Validate() error { return nil } -// SetHttpMethod sets the HttpMethod field's value. -func (s *DeleteMethodResponseInput) SetHttpMethod(v string) *DeleteMethodResponseInput { - s.HttpMethod = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *DeleteMethodResponseInput) SetResourceId(v string) *DeleteMethodResponseInput { - s.ResourceId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *DeleteMethodResponseInput) SetRestApiId(v string) *DeleteMethodResponseInput { - s.RestApiId = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *DeleteMethodResponseInput) SetStatusCode(v string) *DeleteMethodResponseInput { - s.StatusCode = &v - return s -} - type DeleteMethodResponseOutput struct { _ struct{} `type:"structure"` @@ -9017,18 +8279,6 @@ func (s *DeleteModelInput) Validate() error { return nil } -// SetModelName sets the ModelName field's value. -func (s *DeleteModelInput) SetModelName(v string) *DeleteModelInput { - s.ModelName = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *DeleteModelInput) SetRestApiId(v string) *DeleteModelInput { - s.RestApiId = &v - return s -} - type DeleteModelOutput struct { _ struct{} `type:"structure"` @@ -9093,18 +8343,6 @@ func (s *DeleteRequestValidatorInput) Validate() error { return nil } -// SetRequestValidatorId sets the RequestValidatorId field's value. -func (s *DeleteRequestValidatorInput) SetRequestValidatorId(v string) *DeleteRequestValidatorInput { - s.RequestValidatorId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *DeleteRequestValidatorInput) SetRestApiId(v string) *DeleteRequestValidatorInput { - s.RestApiId = &v - return s -} - type DeleteRequestValidatorOutput struct { _ struct{} `type:"structure"` @@ -9169,18 +8407,6 @@ func (s *DeleteResourceInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *DeleteResourceInput) SetResourceId(v string) *DeleteResourceInput { - s.ResourceId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *DeleteResourceInput) SetRestApiId(v string) *DeleteResourceInput { - s.RestApiId = &v - return s -} - type DeleteResourceOutput struct { _ struct{} `type:"structure"` @@ -9236,12 +8462,6 @@ func (s *DeleteRestApiInput) Validate() error { return nil } -// SetRestApiId sets the RestApiId field's value. -func (s *DeleteRestApiInput) SetRestApiId(v string) *DeleteRestApiInput { - s.RestApiId = &v - return s -} - type DeleteRestApiOutput struct { _ struct{} `type:"structure"` @@ -9306,18 +8526,6 @@ func (s *DeleteStageInput) Validate() error { return nil } -// SetRestApiId sets the RestApiId field's value. -func (s *DeleteStageInput) SetRestApiId(v string) *DeleteStageInput { - s.RestApiId = &v - return s -} - -// SetStageName sets the StageName field's value. -func (s *DeleteStageInput) SetStageName(v string) *DeleteStageInput { - s.StageName = &v - return s -} - type DeleteStageOutput struct { _ struct{} `type:"structure"` @@ -9373,12 +8581,6 @@ func (s *DeleteUsagePlanInput) Validate() error { return nil } -// SetUsagePlanId sets the UsagePlanId field's value. -func (s *DeleteUsagePlanInput) SetUsagePlanId(v string) *DeleteUsagePlanInput { - s.UsagePlanId = &v - return s -} - // The DELETE request to delete a usage plan key and remove the underlying API // key from the associated usage plan. type DeleteUsagePlanKeyInput struct { @@ -9424,18 +8626,6 @@ func (s *DeleteUsagePlanKeyInput) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *DeleteUsagePlanKeyInput) SetKeyId(v string) *DeleteUsagePlanKeyInput { - s.KeyId = &v - return s -} - -// SetUsagePlanId sets the UsagePlanId field's value. -func (s *DeleteUsagePlanKeyInput) SetUsagePlanId(v string) *DeleteUsagePlanKeyInput { - s.UsagePlanId = &v - return s -} - type DeleteUsagePlanKeyOutput struct { _ struct{} `type:"structure"` @@ -9513,12 +8703,6 @@ func (s *DeleteVpcLinkInput) Validate() error { return nil } -// SetVpcLinkId sets the VpcLinkId field's value. -func (s *DeleteVpcLinkInput) SetVpcLinkId(v string) *DeleteVpcLinkInput { - s.VpcLinkId = &v - return s -} - type DeleteVpcLinkOutput struct { _ struct{} `type:"structure"` @@ -9568,24 +8752,6 @@ func (s DeploymentCanarySettings) GoString() string { return s.String() } -// SetPercentTraffic sets the PercentTraffic field's value. -func (s *DeploymentCanarySettings) SetPercentTraffic(v float64) *DeploymentCanarySettings { - s.PercentTraffic = &v - return s -} - -// SetStageVariableOverrides sets the StageVariableOverrides field's value. -func (s *DeploymentCanarySettings) SetStageVariableOverrides(v map[string]string) *DeploymentCanarySettings { - s.StageVariableOverrides = v - return s -} - -// SetUseStageCache sets the UseStageCache field's value. -func (s *DeploymentCanarySettings) SetUseStageCache(v bool) *DeploymentCanarySettings { - s.UseStageCache = &v - return s -} - // Specifies the target API entity to which the documentation applies. type DocumentationPartLocation struct { _ struct{} `type:"structure"` @@ -9656,36 +8822,6 @@ func (s *DocumentationPartLocation) Validate() error { return nil } -// SetMethod sets the Method field's value. -func (s *DocumentationPartLocation) SetMethod(v string) *DocumentationPartLocation { - s.Method = &v - return s -} - -// SetName sets the Name field's value. -func (s *DocumentationPartLocation) SetName(v string) *DocumentationPartLocation { - s.Name = &v - return s -} - -// SetPath sets the Path field's value. -func (s *DocumentationPartLocation) SetPath(v string) *DocumentationPartLocation { - s.Path = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *DocumentationPartLocation) SetStatusCode(v string) *DocumentationPartLocation { - s.StatusCode = &v - return s -} - -// SetType sets the Type field's value. -func (s *DocumentationPartLocation) SetType(v DocumentationPartType) *DocumentationPartLocation { - s.Type = v - return s -} - // The endpoint configuration to indicate the types of endpoints an API (RestApi) // or its custom domain name (DomainName) has. type EndpointConfiguration struct { @@ -9708,12 +8844,6 @@ func (s EndpointConfiguration) GoString() string { return s.String() } -// SetTypes sets the Types field's value. -func (s *EndpointConfiguration) SetTypes(v []EndpointType) *EndpointConfiguration { - s.Types = v - return s -} - // Request to flush authorizer cache entries on a specified stage. type FlushStageAuthorizersCacheInput struct { _ struct{} `type:"structure"` @@ -9757,18 +8887,6 @@ func (s *FlushStageAuthorizersCacheInput) Validate() error { return nil } -// SetRestApiId sets the RestApiId field's value. -func (s *FlushStageAuthorizersCacheInput) SetRestApiId(v string) *FlushStageAuthorizersCacheInput { - s.RestApiId = &v - return s -} - -// SetStageName sets the StageName field's value. -func (s *FlushStageAuthorizersCacheInput) SetStageName(v string) *FlushStageAuthorizersCacheInput { - s.StageName = &v - return s -} - type FlushStageAuthorizersCacheOutput struct { _ struct{} `type:"structure"` @@ -9833,18 +8951,6 @@ func (s *FlushStageCacheInput) Validate() error { return nil } -// SetRestApiId sets the RestApiId field's value. -func (s *FlushStageCacheInput) SetRestApiId(v string) *FlushStageCacheInput { - s.RestApiId = &v - return s -} - -// SetStageName sets the StageName field's value. -func (s *FlushStageCacheInput) SetStageName(v string) *FlushStageCacheInput { - s.StageName = &v - return s -} - type FlushStageCacheOutput struct { _ struct{} `type:"structure"` @@ -9884,12 +8990,6 @@ func (s GenerateClientCertificateInput) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *GenerateClientCertificateInput) SetDescription(v string) *GenerateClientCertificateInput { - s.Description = &v - return s -} - // Requests API Gateway to get information about the current Account resource. type GetAccountInput struct { _ struct{} `type:"structure"` @@ -9943,18 +9043,6 @@ func (s *GetApiKeyInput) Validate() error { return nil } -// SetApiKey sets the ApiKey field's value. -func (s *GetApiKeyInput) SetApiKey(v string) *GetApiKeyInput { - s.ApiKey = &v - return s -} - -// SetIncludeValue sets the IncludeValue field's value. -func (s *GetApiKeyInput) SetIncludeValue(v bool) *GetApiKeyInput { - s.IncludeValue = &v - return s -} - // A request to get information about the current ApiKeys resource. type GetApiKeysInput struct { _ struct{} `type:"structure"` @@ -9987,36 +9075,6 @@ func (s GetApiKeysInput) GoString() string { return s.String() } -// SetCustomerId sets the CustomerId field's value. -func (s *GetApiKeysInput) SetCustomerId(v string) *GetApiKeysInput { - s.CustomerId = &v - return s -} - -// SetIncludeValues sets the IncludeValues field's value. -func (s *GetApiKeysInput) SetIncludeValues(v bool) *GetApiKeysInput { - s.IncludeValues = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *GetApiKeysInput) SetLimit(v int64) *GetApiKeysInput { - s.Limit = &v - return s -} - -// SetNameQuery sets the NameQuery field's value. -func (s *GetApiKeysInput) SetNameQuery(v string) *GetApiKeysInput { - s.NameQuery = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetApiKeysInput) SetPosition(v string) *GetApiKeysInput { - s.Position = &v - return s -} - // Represents a collection of API keys as represented by an ApiKeys resource. // // Use API Keys (http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-api-keys.html) @@ -10050,24 +9108,6 @@ func (s GetApiKeysOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetItems sets the Items field's value. -func (s *GetApiKeysOutput) SetItems(v []UpdateApiKeyOutput) *GetApiKeysOutput { - s.Items = v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetApiKeysOutput) SetPosition(v string) *GetApiKeysOutput { - s.Position = &v - return s -} - -// SetWarnings sets the Warnings field's value. -func (s *GetApiKeysOutput) SetWarnings(v []string) *GetApiKeysOutput { - s.Warnings = v - return s -} - // Request to describe an existing Authorizer resource. type GetAuthorizerInput struct { _ struct{} `type:"structure"` @@ -10111,18 +9151,6 @@ func (s *GetAuthorizerInput) Validate() error { return nil } -// SetAuthorizerId sets the AuthorizerId field's value. -func (s *GetAuthorizerInput) SetAuthorizerId(v string) *GetAuthorizerInput { - s.AuthorizerId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetAuthorizerInput) SetRestApiId(v string) *GetAuthorizerInput { - s.RestApiId = &v - return s -} - // Request to describe an existing Authorizers resource. type GetAuthorizersInput struct { _ struct{} `type:"structure"` @@ -10163,24 +9191,6 @@ func (s *GetAuthorizersInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *GetAuthorizersInput) SetLimit(v int64) *GetAuthorizersInput { - s.Limit = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetAuthorizersInput) SetPosition(v string) *GetAuthorizersInput { - s.Position = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetAuthorizersInput) SetRestApiId(v string) *GetAuthorizersInput { - s.RestApiId = &v - return s -} - // Represents a collection of Authorizer resources. // // Enable custom authorization (http://docs.aws.amazon.com/apigateway/latest/developerguide/use-custom-authorizer.html) @@ -10210,18 +9220,6 @@ func (s GetAuthorizersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetItems sets the Items field's value. -func (s *GetAuthorizersOutput) SetItems(v []UpdateAuthorizerOutput) *GetAuthorizersOutput { - s.Items = v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetAuthorizersOutput) SetPosition(v string) *GetAuthorizersOutput { - s.Position = &v - return s -} - // Request to describe a BasePathMapping resource. type GetBasePathMappingInput struct { _ struct{} `type:"structure"` @@ -10268,18 +9266,6 @@ func (s *GetBasePathMappingInput) Validate() error { return nil } -// SetBasePath sets the BasePath field's value. -func (s *GetBasePathMappingInput) SetBasePath(v string) *GetBasePathMappingInput { - s.BasePath = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *GetBasePathMappingInput) SetDomainName(v string) *GetBasePathMappingInput { - s.DomainName = &v - return s -} - // A request to get information about a collection of BasePathMapping resources. type GetBasePathMappingsInput struct { _ struct{} `type:"structure"` @@ -10321,24 +9307,6 @@ func (s *GetBasePathMappingsInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *GetBasePathMappingsInput) SetDomainName(v string) *GetBasePathMappingsInput { - s.DomainName = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *GetBasePathMappingsInput) SetLimit(v int64) *GetBasePathMappingsInput { - s.Limit = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetBasePathMappingsInput) SetPosition(v string) *GetBasePathMappingsInput { - s.Position = &v - return s -} - // Represents a collection of BasePathMapping resources. // // Use Custom Domain Names (http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html) @@ -10368,18 +9336,6 @@ func (s GetBasePathMappingsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetItems sets the Items field's value. -func (s *GetBasePathMappingsOutput) SetItems(v []UpdateBasePathMappingOutput) *GetBasePathMappingsOutput { - s.Items = v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetBasePathMappingsOutput) SetPosition(v string) *GetBasePathMappingsOutput { - s.Position = &v - return s -} - // A request to get information about the current ClientCertificate resource. type GetClientCertificateInput struct { _ struct{} `type:"structure"` @@ -10414,12 +9370,6 @@ func (s *GetClientCertificateInput) Validate() error { return nil } -// SetClientCertificateId sets the ClientCertificateId field's value. -func (s *GetClientCertificateInput) SetClientCertificateId(v string) *GetClientCertificateInput { - s.ClientCertificateId = &v - return s -} - // A request to get information about a collection of ClientCertificate resources. type GetClientCertificatesInput struct { _ struct{} `type:"structure"` @@ -10442,18 +9392,6 @@ func (s GetClientCertificatesInput) GoString() string { return s.String() } -// SetLimit sets the Limit field's value. -func (s *GetClientCertificatesInput) SetLimit(v int64) *GetClientCertificatesInput { - s.Limit = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetClientCertificatesInput) SetPosition(v string) *GetClientCertificatesInput { - s.Position = &v - return s -} - // Represents a collection of ClientCertificate resources. // // Use Client-Side Certificate (http://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-client-side-ssl-authentication.html) @@ -10483,18 +9421,6 @@ func (s GetClientCertificatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetItems sets the Items field's value. -func (s *GetClientCertificatesOutput) SetItems(v []UpdateClientCertificateOutput) *GetClientCertificatesOutput { - s.Items = v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetClientCertificatesOutput) SetPosition(v string) *GetClientCertificatesOutput { - s.Position = &v - return s -} - // Requests API Gateway to get information about a Deployment resource. type GetDeploymentInput struct { _ struct{} `type:"structure"` @@ -10547,24 +9473,6 @@ func (s *GetDeploymentInput) Validate() error { return nil } -// SetDeploymentId sets the DeploymentId field's value. -func (s *GetDeploymentInput) SetDeploymentId(v string) *GetDeploymentInput { - s.DeploymentId = &v - return s -} - -// SetEmbed sets the Embed field's value. -func (s *GetDeploymentInput) SetEmbed(v []string) *GetDeploymentInput { - s.Embed = v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetDeploymentInput) SetRestApiId(v string) *GetDeploymentInput { - s.RestApiId = &v - return s -} - // Requests API Gateway to get information about a Deployments collection. type GetDeploymentsInput struct { _ struct{} `type:"structure"` @@ -10606,24 +9514,6 @@ func (s *GetDeploymentsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *GetDeploymentsInput) SetLimit(v int64) *GetDeploymentsInput { - s.Limit = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetDeploymentsInput) SetPosition(v string) *GetDeploymentsInput { - s.Position = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetDeploymentsInput) SetRestApiId(v string) *GetDeploymentsInput { - s.RestApiId = &v - return s -} - // Represents a collection resource that contains zero or more references to // your existing deployments, and links that guide you on how to interact with // your collection. The collection offers a paginated view of the contained @@ -10662,18 +9552,6 @@ func (s GetDeploymentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetItems sets the Items field's value. -func (s *GetDeploymentsOutput) SetItems(v []UpdateDeploymentOutput) *GetDeploymentsOutput { - s.Items = v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetDeploymentsOutput) SetPosition(v string) *GetDeploymentsOutput { - s.Position = &v - return s -} - // Gets a specified documentation part of a given API. type GetDocumentationPartInput struct { _ struct{} `type:"structure"` @@ -10717,18 +9595,6 @@ func (s *GetDocumentationPartInput) Validate() error { return nil } -// SetDocumentationPartId sets the DocumentationPartId field's value. -func (s *GetDocumentationPartInput) SetDocumentationPartId(v string) *GetDocumentationPartInput { - s.DocumentationPartId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetDocumentationPartInput) SetRestApiId(v string) *GetDocumentationPartInput { - s.RestApiId = &v - return s -} - // Gets the documentation parts of an API. The result may be filtered by the // type, name, or path of API entities (targets). type GetDocumentationPartsInput struct { @@ -10784,48 +9650,6 @@ func (s *GetDocumentationPartsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *GetDocumentationPartsInput) SetLimit(v int64) *GetDocumentationPartsInput { - s.Limit = &v - return s -} - -// SetLocationStatus sets the LocationStatus field's value. -func (s *GetDocumentationPartsInput) SetLocationStatus(v LocationStatusType) *GetDocumentationPartsInput { - s.LocationStatus = v - return s -} - -// SetNameQuery sets the NameQuery field's value. -func (s *GetDocumentationPartsInput) SetNameQuery(v string) *GetDocumentationPartsInput { - s.NameQuery = &v - return s -} - -// SetPath sets the Path field's value. -func (s *GetDocumentationPartsInput) SetPath(v string) *GetDocumentationPartsInput { - s.Path = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetDocumentationPartsInput) SetPosition(v string) *GetDocumentationPartsInput { - s.Position = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetDocumentationPartsInput) SetRestApiId(v string) *GetDocumentationPartsInput { - s.RestApiId = &v - return s -} - -// SetType sets the Type field's value. -func (s *GetDocumentationPartsInput) SetType(v DocumentationPartType) *GetDocumentationPartsInput { - s.Type = v - return s -} - // The collection of documentation parts of an API. // // Documenting an API (http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-documenting-api.html), DocumentationPart @@ -10855,18 +9679,6 @@ func (s GetDocumentationPartsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetItems sets the Items field's value. -func (s *GetDocumentationPartsOutput) SetItems(v []UpdateDocumentationPartOutput) *GetDocumentationPartsOutput { - s.Items = v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetDocumentationPartsOutput) SetPosition(v string) *GetDocumentationPartsOutput { - s.Position = &v - return s -} - // Gets a documentation snapshot of an API. type GetDocumentationVersionInput struct { _ struct{} `type:"structure"` @@ -10910,18 +9722,6 @@ func (s *GetDocumentationVersionInput) Validate() error { return nil } -// SetDocumentationVersion sets the DocumentationVersion field's value. -func (s *GetDocumentationVersionInput) SetDocumentationVersion(v string) *GetDocumentationVersionInput { - s.DocumentationVersion = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetDocumentationVersionInput) SetRestApiId(v string) *GetDocumentationVersionInput { - s.RestApiId = &v - return s -} - // Gets the documentation versions of an API. type GetDocumentationVersionsInput struct { _ struct{} `type:"structure"` @@ -10962,24 +9762,6 @@ func (s *GetDocumentationVersionsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *GetDocumentationVersionsInput) SetLimit(v int64) *GetDocumentationVersionsInput { - s.Limit = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetDocumentationVersionsInput) SetPosition(v string) *GetDocumentationVersionsInput { - s.Position = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetDocumentationVersionsInput) SetRestApiId(v string) *GetDocumentationVersionsInput { - s.RestApiId = &v - return s -} - // The collection of documentation snapshots of an API. // // Use the DocumentationVersions to manage documentation snapshots associated @@ -11013,18 +9795,6 @@ func (s GetDocumentationVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetItems sets the Items field's value. -func (s *GetDocumentationVersionsOutput) SetItems(v []UpdateDocumentationVersionOutput) *GetDocumentationVersionsOutput { - s.Items = v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetDocumentationVersionsOutput) SetPosition(v string) *GetDocumentationVersionsOutput { - s.Position = &v - return s -} - // Request to get the name of a DomainName resource. type GetDomainNameInput struct { _ struct{} `type:"structure"` @@ -11059,12 +9829,6 @@ func (s *GetDomainNameInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *GetDomainNameInput) SetDomainName(v string) *GetDomainNameInput { - s.DomainName = &v - return s -} - // Request to describe a collection of DomainName resources. type GetDomainNamesInput struct { _ struct{} `type:"structure"` @@ -11087,18 +9851,6 @@ func (s GetDomainNamesInput) GoString() string { return s.String() } -// SetLimit sets the Limit field's value. -func (s *GetDomainNamesInput) SetLimit(v int64) *GetDomainNamesInput { - s.Limit = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetDomainNamesInput) SetPosition(v string) *GetDomainNamesInput { - s.Position = &v - return s -} - // Represents a collection of DomainName resources. // // Use Client-Side Certificate (http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html) @@ -11128,18 +9880,6 @@ func (s GetDomainNamesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetItems sets the Items field's value. -func (s *GetDomainNamesOutput) SetItems(v []UpdateDomainNameOutput) *GetDomainNamesOutput { - s.Items = v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetDomainNamesOutput) SetPosition(v string) *GetDomainNamesOutput { - s.Position = &v - return s -} - // Request a new export of a RestApi for a particular Stage. type GetExportInput struct { _ struct{} `type:"structure"` @@ -11206,36 +9946,6 @@ func (s *GetExportInput) Validate() error { return nil } -// SetAccepts sets the Accepts field's value. -func (s *GetExportInput) SetAccepts(v string) *GetExportInput { - s.Accepts = &v - return s -} - -// SetExportType sets the ExportType field's value. -func (s *GetExportInput) SetExportType(v string) *GetExportInput { - s.ExportType = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *GetExportInput) SetParameters(v map[string]string) *GetExportInput { - s.Parameters = v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetExportInput) SetRestApiId(v string) *GetExportInput { - s.RestApiId = &v - return s -} - -// SetStageName sets the StageName field's value. -func (s *GetExportInput) SetStageName(v string) *GetExportInput { - s.StageName = &v - return s -} - // The binary blob response to GetExport, which contains the generated SDK. type GetExportOutput struct { _ struct{} `type:"structure" payload:"Body"` @@ -11268,24 +9978,6 @@ func (s GetExportOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBody sets the Body field's value. -func (s *GetExportOutput) SetBody(v []byte) *GetExportOutput { - s.Body = v - return s -} - -// SetContentDisposition sets the ContentDisposition field's value. -func (s *GetExportOutput) SetContentDisposition(v string) *GetExportOutput { - s.ContentDisposition = &v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *GetExportOutput) SetContentType(v string) *GetExportOutput { - s.ContentType = &v - return s -} - // Gets a GatewayResponse of a specified response type on the given RestApi. type GetGatewayResponseInput struct { _ struct{} `type:"structure"` @@ -11348,18 +10040,6 @@ func (s *GetGatewayResponseInput) Validate() error { return nil } -// SetResponseType sets the ResponseType field's value. -func (s *GetGatewayResponseInput) SetResponseType(v GatewayResponseType) *GetGatewayResponseInput { - s.ResponseType = v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetGatewayResponseInput) SetRestApiId(v string) *GetGatewayResponseInput { - s.RestApiId = &v - return s -} - // Gets the GatewayResponses collection on the given RestApi. If an API developer // has not added any definitions for gateway responses, the result will be the // API Gateway-generated default GatewayResponses collection for the supported @@ -11405,24 +10085,6 @@ func (s *GetGatewayResponsesInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *GetGatewayResponsesInput) SetLimit(v int64) *GetGatewayResponsesInput { - s.Limit = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetGatewayResponsesInput) SetPosition(v string) *GetGatewayResponsesInput { - s.Position = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetGatewayResponsesInput) SetRestApiId(v string) *GetGatewayResponsesInput { - s.RestApiId = &v - return s -} - // The collection of the GatewayResponse instances of a RestApi as a responseType-to-GatewayResponse // object map of key-value pairs. As such, pagination is not supported for querying // this collection. @@ -11609,18 +10271,6 @@ func (s GetGatewayResponsesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetItems sets the Items field's value. -func (s *GetGatewayResponsesOutput) SetItems(v []UpdateGatewayResponseOutput) *GetGatewayResponsesOutput { - s.Items = v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetGatewayResponsesOutput) SetPosition(v string) *GetGatewayResponsesOutput { - s.Position = &v - return s -} - // Represents a request to get the integration configuration. type GetIntegrationInput struct { _ struct{} `type:"structure"` @@ -11673,24 +10323,6 @@ func (s *GetIntegrationInput) Validate() error { return nil } -// SetHttpMethod sets the HttpMethod field's value. -func (s *GetIntegrationInput) SetHttpMethod(v string) *GetIntegrationInput { - s.HttpMethod = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *GetIntegrationInput) SetResourceId(v string) *GetIntegrationInput { - s.ResourceId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetIntegrationInput) SetRestApiId(v string) *GetIntegrationInput { - s.RestApiId = &v - return s -} - // Represents a get integration response request. type GetIntegrationResponseInput struct { _ struct{} `type:"structure"` @@ -11752,30 +10384,6 @@ func (s *GetIntegrationResponseInput) Validate() error { return nil } -// SetHttpMethod sets the HttpMethod field's value. -func (s *GetIntegrationResponseInput) SetHttpMethod(v string) *GetIntegrationResponseInput { - s.HttpMethod = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *GetIntegrationResponseInput) SetResourceId(v string) *GetIntegrationResponseInput { - s.ResourceId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetIntegrationResponseInput) SetRestApiId(v string) *GetIntegrationResponseInput { - s.RestApiId = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *GetIntegrationResponseInput) SetStatusCode(v string) *GetIntegrationResponseInput { - s.StatusCode = &v - return s -} - // Request to describe an existing Method resource. type GetMethodInput struct { _ struct{} `type:"structure"` @@ -11828,24 +10436,6 @@ func (s *GetMethodInput) Validate() error { return nil } -// SetHttpMethod sets the HttpMethod field's value. -func (s *GetMethodInput) SetHttpMethod(v string) *GetMethodInput { - s.HttpMethod = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *GetMethodInput) SetResourceId(v string) *GetMethodInput { - s.ResourceId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetMethodInput) SetRestApiId(v string) *GetMethodInput { - s.RestApiId = &v - return s -} - // Request to describe a MethodResponse resource. type GetMethodResponseInput struct { _ struct{} `type:"structure"` @@ -11907,30 +10497,6 @@ func (s *GetMethodResponseInput) Validate() error { return nil } -// SetHttpMethod sets the HttpMethod field's value. -func (s *GetMethodResponseInput) SetHttpMethod(v string) *GetMethodResponseInput { - s.HttpMethod = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *GetMethodResponseInput) SetResourceId(v string) *GetMethodResponseInput { - s.ResourceId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetMethodResponseInput) SetRestApiId(v string) *GetMethodResponseInput { - s.RestApiId = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *GetMethodResponseInput) SetStatusCode(v string) *GetMethodResponseInput { - s.StatusCode = &v - return s -} - // Request to list information about a model in an existing RestApi resource. type GetModelInput struct { _ struct{} `type:"structure"` @@ -11979,24 +10545,6 @@ func (s *GetModelInput) Validate() error { return nil } -// SetFlatten sets the Flatten field's value. -func (s *GetModelInput) SetFlatten(v bool) *GetModelInput { - s.Flatten = &v - return s -} - -// SetModelName sets the ModelName field's value. -func (s *GetModelInput) SetModelName(v string) *GetModelInput { - s.ModelName = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetModelInput) SetRestApiId(v string) *GetModelInput { - s.RestApiId = &v - return s -} - // Request to generate a sample mapping template used to transform the payload. type GetModelTemplateInput struct { _ struct{} `type:"structure"` @@ -12040,18 +10588,6 @@ func (s *GetModelTemplateInput) Validate() error { return nil } -// SetModelName sets the ModelName field's value. -func (s *GetModelTemplateInput) SetModelName(v string) *GetModelTemplateInput { - s.ModelName = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetModelTemplateInput) SetRestApiId(v string) *GetModelTemplateInput { - s.RestApiId = &v - return s -} - // Represents a mapping template used to transform a payload. // // Mapping Templates (http://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html#models-mappings-mappings) @@ -12080,12 +10616,6 @@ func (s GetModelTemplateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetValue sets the Value field's value. -func (s *GetModelTemplateOutput) SetValue(v string) *GetModelTemplateOutput { - s.Value = &v - return s -} - // Request to list existing Models defined for a RestApi resource. type GetModelsInput struct { _ struct{} `type:"structure"` @@ -12127,24 +10657,6 @@ func (s *GetModelsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *GetModelsInput) SetLimit(v int64) *GetModelsInput { - s.Limit = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetModelsInput) SetPosition(v string) *GetModelsInput { - s.Position = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetModelsInput) SetRestApiId(v string) *GetModelsInput { - s.RestApiId = &v - return s -} - // Represents a collection of Model resources. // // Method, MethodResponse, Models and Mappings (http://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html) @@ -12174,18 +10686,6 @@ func (s GetModelsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetItems sets the Items field's value. -func (s *GetModelsOutput) SetItems(v []UpdateModelOutput) *GetModelsOutput { - s.Items = v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetModelsOutput) SetPosition(v string) *GetModelsOutput { - s.Position = &v - return s -} - // Gets a RequestValidator of a given RestApi. type GetRequestValidatorInput struct { _ struct{} `type:"structure"` @@ -12229,18 +10729,6 @@ func (s *GetRequestValidatorInput) Validate() error { return nil } -// SetRequestValidatorId sets the RequestValidatorId field's value. -func (s *GetRequestValidatorInput) SetRequestValidatorId(v string) *GetRequestValidatorInput { - s.RequestValidatorId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetRequestValidatorInput) SetRestApiId(v string) *GetRequestValidatorInput { - s.RestApiId = &v - return s -} - // Gets the RequestValidators collection of a given RestApi. type GetRequestValidatorsInput struct { _ struct{} `type:"structure"` @@ -12281,24 +10769,6 @@ func (s *GetRequestValidatorsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *GetRequestValidatorsInput) SetLimit(v int64) *GetRequestValidatorsInput { - s.Limit = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetRequestValidatorsInput) SetPosition(v string) *GetRequestValidatorsInput { - s.Position = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetRequestValidatorsInput) SetRestApiId(v string) *GetRequestValidatorsInput { - s.RestApiId = &v - return s -} - // A collection of RequestValidator resources of a given RestApi. // // In Swagger, the RequestValidators of an API is defined by the x-amazon-apigateway-request-validators @@ -12332,18 +10802,6 @@ func (s GetRequestValidatorsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetItems sets the Items field's value. -func (s *GetRequestValidatorsOutput) SetItems(v []UpdateRequestValidatorOutput) *GetRequestValidatorsOutput { - s.Items = v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetRequestValidatorsOutput) SetPosition(v string) *GetRequestValidatorsOutput { - s.Position = &v - return s -} - // Request to list information about a resource. type GetResourceInput struct { _ struct{} `type:"structure"` @@ -12395,24 +10853,6 @@ func (s *GetResourceInput) Validate() error { return nil } -// SetEmbed sets the Embed field's value. -func (s *GetResourceInput) SetEmbed(v []string) *GetResourceInput { - s.Embed = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *GetResourceInput) SetResourceId(v string) *GetResourceInput { - s.ResourceId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetResourceInput) SetRestApiId(v string) *GetResourceInput { - s.RestApiId = &v - return s -} - // Request to list information about a collection of resources. type GetResourcesInput struct { _ struct{} `type:"structure"` @@ -12462,30 +10902,6 @@ func (s *GetResourcesInput) Validate() error { return nil } -// SetEmbed sets the Embed field's value. -func (s *GetResourcesInput) SetEmbed(v []string) *GetResourcesInput { - s.Embed = v - return s -} - -// SetLimit sets the Limit field's value. -func (s *GetResourcesInput) SetLimit(v int64) *GetResourcesInput { - s.Limit = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetResourcesInput) SetPosition(v string) *GetResourcesInput { - s.Position = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetResourcesInput) SetRestApiId(v string) *GetResourcesInput { - s.RestApiId = &v - return s -} - // Represents a collection of Resource resources. // // Create an API (http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) @@ -12515,18 +10931,6 @@ func (s GetResourcesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetItems sets the Items field's value. -func (s *GetResourcesOutput) SetItems(v []UpdateResourceOutput) *GetResourcesOutput { - s.Items = v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetResourcesOutput) SetPosition(v string) *GetResourcesOutput { - s.Position = &v - return s -} - // The GET request to list an existing RestApi defined for your collection. type GetRestApiInput struct { _ struct{} `type:"structure"` @@ -12561,12 +10965,6 @@ func (s *GetRestApiInput) Validate() error { return nil } -// SetRestApiId sets the RestApiId field's value. -func (s *GetRestApiInput) SetRestApiId(v string) *GetRestApiInput { - s.RestApiId = &v - return s -} - // The GET request to list existing RestApis defined for your collection. type GetRestApisInput struct { _ struct{} `type:"structure"` @@ -12589,18 +10987,6 @@ func (s GetRestApisInput) GoString() string { return s.String() } -// SetLimit sets the Limit field's value. -func (s *GetRestApisInput) SetLimit(v int64) *GetRestApisInput { - s.Limit = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetRestApisInput) SetPosition(v string) *GetRestApisInput { - s.Position = &v - return s -} - // Contains references to your APIs and links that guide you in how to interact // with your collection. A collection offers a paginated view of your APIs. // @@ -12631,18 +11017,6 @@ func (s GetRestApisOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetItems sets the Items field's value. -func (s *GetRestApisOutput) SetItems(v []UpdateRestApiOutput) *GetRestApisOutput { - s.Items = v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetRestApisOutput) SetPosition(v string) *GetRestApisOutput { - s.Position = &v - return s -} - // Request a new generated client SDK for a RestApi and Stage. type GetSdkInput struct { _ struct{} `type:"structure"` @@ -12703,30 +11077,6 @@ func (s *GetSdkInput) Validate() error { return nil } -// SetParameters sets the Parameters field's value. -func (s *GetSdkInput) SetParameters(v map[string]string) *GetSdkInput { - s.Parameters = v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetSdkInput) SetRestApiId(v string) *GetSdkInput { - s.RestApiId = &v - return s -} - -// SetSdkType sets the SdkType field's value. -func (s *GetSdkInput) SetSdkType(v string) *GetSdkInput { - s.SdkType = &v - return s -} - -// SetStageName sets the StageName field's value. -func (s *GetSdkInput) SetStageName(v string) *GetSdkInput { - s.StageName = &v - return s -} - // The binary blob response to GetSdk, which contains the generated SDK. type GetSdkOutput struct { _ struct{} `type:"structure" payload:"Body"` @@ -12758,24 +11108,6 @@ func (s GetSdkOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBody sets the Body field's value. -func (s *GetSdkOutput) SetBody(v []byte) *GetSdkOutput { - s.Body = v - return s -} - -// SetContentDisposition sets the ContentDisposition field's value. -func (s *GetSdkOutput) SetContentDisposition(v string) *GetSdkOutput { - s.ContentDisposition = &v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *GetSdkOutput) SetContentType(v string) *GetSdkOutput { - s.ContentType = &v - return s -} - // Get an SdkType instance. type GetSdkTypeInput struct { _ struct{} `type:"structure"` @@ -12810,12 +11142,6 @@ func (s *GetSdkTypeInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *GetSdkTypeInput) SetId(v string) *GetSdkTypeInput { - s.Id = &v - return s -} - // A type of SDK that API Gateway can generate. type GetSdkTypeOutput struct { _ struct{} `type:"structure"` @@ -12850,30 +11176,6 @@ func (s GetSdkTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConfigurationProperties sets the ConfigurationProperties field's value. -func (s *GetSdkTypeOutput) SetConfigurationProperties(v []SdkConfigurationProperty) *GetSdkTypeOutput { - s.ConfigurationProperties = v - return s -} - -// SetDescription sets the Description field's value. -func (s *GetSdkTypeOutput) SetDescription(v string) *GetSdkTypeOutput { - s.Description = &v - return s -} - -// SetFriendlyName sets the FriendlyName field's value. -func (s *GetSdkTypeOutput) SetFriendlyName(v string) *GetSdkTypeOutput { - s.FriendlyName = &v - return s -} - -// SetId sets the Id field's value. -func (s *GetSdkTypeOutput) SetId(v string) *GetSdkTypeOutput { - s.Id = &v - return s -} - // Get the SdkTypes collection. type GetSdkTypesInput struct { _ struct{} `type:"structure"` @@ -12895,18 +11197,6 @@ func (s GetSdkTypesInput) GoString() string { return s.String() } -// SetLimit sets the Limit field's value. -func (s *GetSdkTypesInput) SetLimit(v int64) *GetSdkTypesInput { - s.Limit = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetSdkTypesInput) SetPosition(v string) *GetSdkTypesInput { - s.Position = &v - return s -} - // The collection of SdkType instances. type GetSdkTypesOutput struct { _ struct{} `type:"structure"` @@ -12934,18 +11224,6 @@ func (s GetSdkTypesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetItems sets the Items field's value. -func (s *GetSdkTypesOutput) SetItems(v []GetSdkTypeOutput) *GetSdkTypesOutput { - s.Items = v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetSdkTypesOutput) SetPosition(v string) *GetSdkTypesOutput { - s.Position = &v - return s -} - // Requests API Gateway to get information about a Stage resource. type GetStageInput struct { _ struct{} `type:"structure"` @@ -12989,18 +11267,6 @@ func (s *GetStageInput) Validate() error { return nil } -// SetRestApiId sets the RestApiId field's value. -func (s *GetStageInput) SetRestApiId(v string) *GetStageInput { - s.RestApiId = &v - return s -} - -// SetStageName sets the StageName field's value. -func (s *GetStageInput) SetStageName(v string) *GetStageInput { - s.StageName = &v - return s -} - // Requests API Gateway to get information about one or more Stage resources. type GetStagesInput struct { _ struct{} `type:"structure"` @@ -13038,18 +11304,6 @@ func (s *GetStagesInput) Validate() error { return nil } -// SetDeploymentId sets the DeploymentId field's value. -func (s *GetStagesInput) SetDeploymentId(v string) *GetStagesInput { - s.DeploymentId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *GetStagesInput) SetRestApiId(v string) *GetStagesInput { - s.RestApiId = &v - return s -} - // A list of Stage resources that are associated with the ApiKey resource. // // Deploying API in Stages (http://docs.aws.amazon.com/apigateway/latest/developerguide/stages.html) @@ -13077,12 +11331,6 @@ func (s GetStagesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetItem sets the Item field's value. -func (s *GetStagesOutput) SetItem(v []UpdateStageOutput) *GetStagesOutput { - s.Item = v - return s -} - // Gets the Tags collection for a given resource. type GetTagsInput struct { _ struct{} `type:"structure"` @@ -13125,24 +11373,6 @@ func (s *GetTagsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *GetTagsInput) SetLimit(v int64) *GetTagsInput { - s.Limit = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetTagsInput) SetPosition(v string) *GetTagsInput { - s.Position = &v - return s -} - -// SetResourceArn sets the ResourceArn field's value. -func (s *GetTagsInput) SetResourceArn(v string) *GetTagsInput { - s.ResourceArn = &v - return s -} - // A collection of Tags associated with a given resource. type GetTagsOutput struct { _ struct{} `type:"structure"` @@ -13168,12 +11398,6 @@ func (s GetTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTags sets the Tags field's value. -func (s *GetTagsOutput) SetTags(v map[string]string) *GetTagsOutput { - s.Tags = v - return s -} - // The GET request to get the usage data of a usage plan in a specified time // interval. type GetUsageInput struct { @@ -13236,42 +11460,6 @@ func (s *GetUsageInput) Validate() error { return nil } -// SetEndDate sets the EndDate field's value. -func (s *GetUsageInput) SetEndDate(v string) *GetUsageInput { - s.EndDate = &v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *GetUsageInput) SetKeyId(v string) *GetUsageInput { - s.KeyId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *GetUsageInput) SetLimit(v int64) *GetUsageInput { - s.Limit = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetUsageInput) SetPosition(v string) *GetUsageInput { - s.Position = &v - return s -} - -// SetStartDate sets the StartDate field's value. -func (s *GetUsageInput) SetStartDate(v string) *GetUsageInput { - s.StartDate = &v - return s -} - -// SetUsagePlanId sets the UsagePlanId field's value. -func (s *GetUsageInput) SetUsagePlanId(v string) *GetUsageInput { - s.UsagePlanId = &v - return s -} - // The GET request to get a usage plan of a given plan identifier. type GetUsagePlanInput struct { _ struct{} `type:"structure"` @@ -13306,12 +11494,6 @@ func (s *GetUsagePlanInput) Validate() error { return nil } -// SetUsagePlanId sets the UsagePlanId field's value. -func (s *GetUsagePlanInput) SetUsagePlanId(v string) *GetUsagePlanInput { - s.UsagePlanId = &v - return s -} - // The GET request to get a usage plan key of a given key identifier. type GetUsagePlanKeyInput struct { _ struct{} `type:"structure"` @@ -13357,18 +11539,6 @@ func (s *GetUsagePlanKeyInput) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *GetUsagePlanKeyInput) SetKeyId(v string) *GetUsagePlanKeyInput { - s.KeyId = &v - return s -} - -// SetUsagePlanId sets the UsagePlanId field's value. -func (s *GetUsagePlanKeyInput) SetUsagePlanId(v string) *GetUsagePlanKeyInput { - s.UsagePlanId = &v - return s -} - // Represents a usage plan key to identify a plan customer. // // To associate an API stage with a selected API key in a usage plan, you must @@ -13408,30 +11578,6 @@ func (s GetUsagePlanKeyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetId sets the Id field's value. -func (s *GetUsagePlanKeyOutput) SetId(v string) *GetUsagePlanKeyOutput { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetUsagePlanKeyOutput) SetName(v string) *GetUsagePlanKeyOutput { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *GetUsagePlanKeyOutput) SetType(v string) *GetUsagePlanKeyOutput { - s.Type = &v - return s -} - -// SetValue sets the Value field's value. -func (s *GetUsagePlanKeyOutput) SetValue(v string) *GetUsagePlanKeyOutput { - s.Value = &v - return s -} - // The GET request to get all the usage plan keys representing the API keys // added to a specified usage plan. type GetUsagePlanKeysInput struct { @@ -13477,30 +11623,6 @@ func (s *GetUsagePlanKeysInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *GetUsagePlanKeysInput) SetLimit(v int64) *GetUsagePlanKeysInput { - s.Limit = &v - return s -} - -// SetNameQuery sets the NameQuery field's value. -func (s *GetUsagePlanKeysInput) SetNameQuery(v string) *GetUsagePlanKeysInput { - s.NameQuery = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetUsagePlanKeysInput) SetPosition(v string) *GetUsagePlanKeysInput { - s.Position = &v - return s -} - -// SetUsagePlanId sets the UsagePlanId field's value. -func (s *GetUsagePlanKeysInput) SetUsagePlanId(v string) *GetUsagePlanKeysInput { - s.UsagePlanId = &v - return s -} - // Represents the collection of usage plan keys added to usage plans for the // associated API keys and, possibly, other types of keys. // @@ -13531,18 +11653,6 @@ func (s GetUsagePlanKeysOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetItems sets the Items field's value. -func (s *GetUsagePlanKeysOutput) SetItems(v []GetUsagePlanKeyOutput) *GetUsagePlanKeysOutput { - s.Items = v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetUsagePlanKeysOutput) SetPosition(v string) *GetUsagePlanKeysOutput { - s.Position = &v - return s -} - // The GET request to get all the usage plans of the caller's account. type GetUsagePlansInput struct { _ struct{} `type:"structure"` @@ -13567,24 +11677,6 @@ func (s GetUsagePlansInput) GoString() string { return s.String() } -// SetKeyId sets the KeyId field's value. -func (s *GetUsagePlansInput) SetKeyId(v string) *GetUsagePlansInput { - s.KeyId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *GetUsagePlansInput) SetLimit(v int64) *GetUsagePlansInput { - s.Limit = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetUsagePlansInput) SetPosition(v string) *GetUsagePlansInput { - s.Position = &v - return s -} - // Represents a collection of usage plans for an AWS account. // // Create and Use Usage Plans (http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html) @@ -13614,18 +11706,6 @@ func (s GetUsagePlansOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetItems sets the Items field's value. -func (s *GetUsagePlansOutput) SetItems(v []UpdateUsagePlanOutput) *GetUsagePlansOutput { - s.Items = v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetUsagePlansOutput) SetPosition(v string) *GetUsagePlansOutput { - s.Position = &v - return s -} - // Gets a specified VPC link under the caller's account in a region. type GetVpcLinkInput struct { _ struct{} `type:"structure"` @@ -13661,12 +11741,6 @@ func (s *GetVpcLinkInput) Validate() error { return nil } -// SetVpcLinkId sets the VpcLinkId field's value. -func (s *GetVpcLinkInput) SetVpcLinkId(v string) *GetVpcLinkInput { - s.VpcLinkId = &v - return s -} - // Gets the VpcLinks collection under the caller's account in a selected region. type GetVpcLinksInput struct { _ struct{} `type:"structure"` @@ -13688,18 +11762,6 @@ func (s GetVpcLinksInput) GoString() string { return s.String() } -// SetLimit sets the Limit field's value. -func (s *GetVpcLinksInput) SetLimit(v int64) *GetVpcLinksInput { - s.Limit = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetVpcLinksInput) SetPosition(v string) *GetVpcLinksInput { - s.Position = &v - return s -} - // The collection of VPC links under the caller's account in a region. // // Getting Started with Private Integrations (http://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-with-private-integration.html), @@ -13730,18 +11792,6 @@ func (s GetVpcLinksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetItems sets the Items field's value. -func (s *GetVpcLinksOutput) SetItems(v []UpdateVpcLinkOutput) *GetVpcLinksOutput { - s.Items = v - return s -} - -// SetPosition sets the Position field's value. -func (s *GetVpcLinksOutput) SetPosition(v string) *GetVpcLinksOutput { - s.Position = &v - return s -} - // The POST request to import API keys from an external source, such as a CSV-formatted // file. type ImportApiKeysInput struct { @@ -13791,24 +11841,6 @@ func (s *ImportApiKeysInput) Validate() error { return nil } -// SetBody sets the Body field's value. -func (s *ImportApiKeysInput) SetBody(v []byte) *ImportApiKeysInput { - s.Body = v - return s -} - -// SetFailOnWarnings sets the FailOnWarnings field's value. -func (s *ImportApiKeysInput) SetFailOnWarnings(v bool) *ImportApiKeysInput { - s.FailOnWarnings = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *ImportApiKeysInput) SetFormat(v ApiKeysFormat) *ImportApiKeysInput { - s.Format = v - return s -} - // The identifier of an ApiKey used in a UsagePlan. type ImportApiKeysOutput struct { _ struct{} `type:"structure"` @@ -13837,18 +11869,6 @@ func (s ImportApiKeysOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIds sets the Ids field's value. -func (s *ImportApiKeysOutput) SetIds(v []string) *ImportApiKeysOutput { - s.Ids = v - return s -} - -// SetWarnings sets the Warnings field's value. -func (s *ImportApiKeysOutput) SetWarnings(v []string) *ImportApiKeysOutput { - s.Warnings = v - return s -} - // Import documentation parts from an external (e.g., Swagger) definition file. type ImportDocumentationPartsInput struct { _ struct{} `type:"structure" payload:"Body"` @@ -13903,30 +11923,6 @@ func (s *ImportDocumentationPartsInput) Validate() error { return nil } -// SetBody sets the Body field's value. -func (s *ImportDocumentationPartsInput) SetBody(v []byte) *ImportDocumentationPartsInput { - s.Body = v - return s -} - -// SetFailOnWarnings sets the FailOnWarnings field's value. -func (s *ImportDocumentationPartsInput) SetFailOnWarnings(v bool) *ImportDocumentationPartsInput { - s.FailOnWarnings = &v - return s -} - -// SetMode sets the Mode field's value. -func (s *ImportDocumentationPartsInput) SetMode(v PutMode) *ImportDocumentationPartsInput { - s.Mode = v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *ImportDocumentationPartsInput) SetRestApiId(v string) *ImportDocumentationPartsInput { - s.RestApiId = &v - return s -} - // A collection of the imported DocumentationPart identifiers. // // This is used to return the result when documentation parts in an external @@ -13961,18 +11957,6 @@ func (s ImportDocumentationPartsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIds sets the Ids field's value. -func (s *ImportDocumentationPartsOutput) SetIds(v []string) *ImportDocumentationPartsOutput { - s.Ids = v - return s -} - -// SetWarnings sets the Warnings field's value. -func (s *ImportDocumentationPartsOutput) SetWarnings(v []string) *ImportDocumentationPartsOutput { - s.Warnings = v - return s -} - // A POST request to import an API to API Gateway using an input of an API definition // file. type ImportRestApiInput struct { @@ -14037,24 +12021,6 @@ func (s *ImportRestApiInput) Validate() error { return nil } -// SetBody sets the Body field's value. -func (s *ImportRestApiInput) SetBody(v []byte) *ImportRestApiInput { - s.Body = v - return s -} - -// SetFailOnWarnings sets the FailOnWarnings field's value. -func (s *ImportRestApiInput) SetFailOnWarnings(v bool) *ImportRestApiInput { - s.FailOnWarnings = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *ImportRestApiInput) SetParameters(v map[string]string) *ImportRestApiInput { - s.Parameters = v - return s -} - // Specifies the method setting properties. type MethodSetting struct { _ struct{} `type:"structure"` @@ -14121,66 +12087,6 @@ func (s MethodSetting) GoString() string { return s.String() } -// SetCacheDataEncrypted sets the CacheDataEncrypted field's value. -func (s *MethodSetting) SetCacheDataEncrypted(v bool) *MethodSetting { - s.CacheDataEncrypted = &v - return s -} - -// SetCacheTtlInSeconds sets the CacheTtlInSeconds field's value. -func (s *MethodSetting) SetCacheTtlInSeconds(v int64) *MethodSetting { - s.CacheTtlInSeconds = &v - return s -} - -// SetCachingEnabled sets the CachingEnabled field's value. -func (s *MethodSetting) SetCachingEnabled(v bool) *MethodSetting { - s.CachingEnabled = &v - return s -} - -// SetDataTraceEnabled sets the DataTraceEnabled field's value. -func (s *MethodSetting) SetDataTraceEnabled(v bool) *MethodSetting { - s.DataTraceEnabled = &v - return s -} - -// SetLoggingLevel sets the LoggingLevel field's value. -func (s *MethodSetting) SetLoggingLevel(v string) *MethodSetting { - s.LoggingLevel = &v - return s -} - -// SetMetricsEnabled sets the MetricsEnabled field's value. -func (s *MethodSetting) SetMetricsEnabled(v bool) *MethodSetting { - s.MetricsEnabled = &v - return s -} - -// SetRequireAuthorizationForCacheControl sets the RequireAuthorizationForCacheControl field's value. -func (s *MethodSetting) SetRequireAuthorizationForCacheControl(v bool) *MethodSetting { - s.RequireAuthorizationForCacheControl = &v - return s -} - -// SetThrottlingBurstLimit sets the ThrottlingBurstLimit field's value. -func (s *MethodSetting) SetThrottlingBurstLimit(v int64) *MethodSetting { - s.ThrottlingBurstLimit = &v - return s -} - -// SetThrottlingRateLimit sets the ThrottlingRateLimit field's value. -func (s *MethodSetting) SetThrottlingRateLimit(v float64) *MethodSetting { - s.ThrottlingRateLimit = &v - return s -} - -// SetUnauthorizedCacheControlHeaderStrategy sets the UnauthorizedCacheControlHeaderStrategy field's value. -func (s *MethodSetting) SetUnauthorizedCacheControlHeaderStrategy(v UnauthorizedCacheControlHeaderStrategy) *MethodSetting { - s.UnauthorizedCacheControlHeaderStrategy = v - return s -} - // Represents a summary of a Method resource, given a particular date and time. type MethodSnapshot struct { _ struct{} `type:"structure"` @@ -14204,18 +12110,6 @@ func (s MethodSnapshot) GoString() string { return s.String() } -// SetApiKeyRequired sets the ApiKeyRequired field's value. -func (s *MethodSnapshot) SetApiKeyRequired(v bool) *MethodSnapshot { - s.ApiKeyRequired = &v - return s -} - -// SetAuthorizationType sets the AuthorizationType field's value. -func (s *MethodSnapshot) SetAuthorizationType(v string) *MethodSnapshot { - s.AuthorizationType = &v - return s -} - // A single patch operation to apply to the specified resource. Please refer // to http://tools.ietf.org/html/rfc6902#section-4 for an explanation of how // each operation is used. @@ -14263,30 +12157,6 @@ func (s PatchOperation) GoString() string { return s.String() } -// SetFrom sets the From field's value. -func (s *PatchOperation) SetFrom(v string) *PatchOperation { - s.From = &v - return s -} - -// SetOp sets the Op field's value. -func (s *PatchOperation) SetOp(v Op) *PatchOperation { - s.Op = v - return s -} - -// SetPath sets the Path field's value. -func (s *PatchOperation) SetPath(v string) *PatchOperation { - s.Path = &v - return s -} - -// SetValue sets the Value field's value. -func (s *PatchOperation) SetValue(v string) *PatchOperation { - s.Value = &v - return s -} - // Creates a customization of a GatewayResponse of a specified response type // and status code on the given RestApi. type PutGatewayResponseInput struct { @@ -14361,36 +12231,6 @@ func (s *PutGatewayResponseInput) Validate() error { return nil } -// SetResponseParameters sets the ResponseParameters field's value. -func (s *PutGatewayResponseInput) SetResponseParameters(v map[string]string) *PutGatewayResponseInput { - s.ResponseParameters = v - return s -} - -// SetResponseTemplates sets the ResponseTemplates field's value. -func (s *PutGatewayResponseInput) SetResponseTemplates(v map[string]string) *PutGatewayResponseInput { - s.ResponseTemplates = v - return s -} - -// SetResponseType sets the ResponseType field's value. -func (s *PutGatewayResponseInput) SetResponseType(v GatewayResponseType) *PutGatewayResponseInput { - s.ResponseType = v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *PutGatewayResponseInput) SetRestApiId(v string) *PutGatewayResponseInput { - s.RestApiId = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *PutGatewayResponseInput) SetStatusCode(v string) *PutGatewayResponseInput { - s.StatusCode = &v - return s -} - // Sets up a method's integration. type PutIntegrationInput struct { _ struct{} `type:"structure"` @@ -14547,102 +12387,6 @@ func (s *PutIntegrationInput) Validate() error { return nil } -// SetCacheKeyParameters sets the CacheKeyParameters field's value. -func (s *PutIntegrationInput) SetCacheKeyParameters(v []string) *PutIntegrationInput { - s.CacheKeyParameters = v - return s -} - -// SetCacheNamespace sets the CacheNamespace field's value. -func (s *PutIntegrationInput) SetCacheNamespace(v string) *PutIntegrationInput { - s.CacheNamespace = &v - return s -} - -// SetConnectionId sets the ConnectionId field's value. -func (s *PutIntegrationInput) SetConnectionId(v string) *PutIntegrationInput { - s.ConnectionId = &v - return s -} - -// SetConnectionType sets the ConnectionType field's value. -func (s *PutIntegrationInput) SetConnectionType(v ConnectionType) *PutIntegrationInput { - s.ConnectionType = v - return s -} - -// SetContentHandling sets the ContentHandling field's value. -func (s *PutIntegrationInput) SetContentHandling(v ContentHandlingStrategy) *PutIntegrationInput { - s.ContentHandling = v - return s -} - -// SetCredentials sets the Credentials field's value. -func (s *PutIntegrationInput) SetCredentials(v string) *PutIntegrationInput { - s.Credentials = &v - return s -} - -// SetHttpMethod sets the HttpMethod field's value. -func (s *PutIntegrationInput) SetHttpMethod(v string) *PutIntegrationInput { - s.HttpMethod = &v - return s -} - -// SetIntegrationHttpMethod sets the IntegrationHttpMethod field's value. -func (s *PutIntegrationInput) SetIntegrationHttpMethod(v string) *PutIntegrationInput { - s.IntegrationHttpMethod = &v - return s -} - -// SetPassthroughBehavior sets the PassthroughBehavior field's value. -func (s *PutIntegrationInput) SetPassthroughBehavior(v string) *PutIntegrationInput { - s.PassthroughBehavior = &v - return s -} - -// SetRequestParameters sets the RequestParameters field's value. -func (s *PutIntegrationInput) SetRequestParameters(v map[string]string) *PutIntegrationInput { - s.RequestParameters = v - return s -} - -// SetRequestTemplates sets the RequestTemplates field's value. -func (s *PutIntegrationInput) SetRequestTemplates(v map[string]string) *PutIntegrationInput { - s.RequestTemplates = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *PutIntegrationInput) SetResourceId(v string) *PutIntegrationInput { - s.ResourceId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *PutIntegrationInput) SetRestApiId(v string) *PutIntegrationInput { - s.RestApiId = &v - return s -} - -// SetTimeoutInMillis sets the TimeoutInMillis field's value. -func (s *PutIntegrationInput) SetTimeoutInMillis(v int64) *PutIntegrationInput { - s.TimeoutInMillis = &v - return s -} - -// SetType sets the Type field's value. -func (s *PutIntegrationInput) SetType(v IntegrationType) *PutIntegrationInput { - s.Type = v - return s -} - -// SetUri sets the Uri field's value. -func (s *PutIntegrationInput) SetUri(v string) *PutIntegrationInput { - s.Uri = &v - return s -} - // Represents a put integration response request. type PutIntegrationResponseInput struct { _ struct{} `type:"structure"` @@ -14736,54 +12480,6 @@ func (s *PutIntegrationResponseInput) Validate() error { return nil } -// SetContentHandling sets the ContentHandling field's value. -func (s *PutIntegrationResponseInput) SetContentHandling(v ContentHandlingStrategy) *PutIntegrationResponseInput { - s.ContentHandling = v - return s -} - -// SetHttpMethod sets the HttpMethod field's value. -func (s *PutIntegrationResponseInput) SetHttpMethod(v string) *PutIntegrationResponseInput { - s.HttpMethod = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *PutIntegrationResponseInput) SetResourceId(v string) *PutIntegrationResponseInput { - s.ResourceId = &v - return s -} - -// SetResponseParameters sets the ResponseParameters field's value. -func (s *PutIntegrationResponseInput) SetResponseParameters(v map[string]string) *PutIntegrationResponseInput { - s.ResponseParameters = v - return s -} - -// SetResponseTemplates sets the ResponseTemplates field's value. -func (s *PutIntegrationResponseInput) SetResponseTemplates(v map[string]string) *PutIntegrationResponseInput { - s.ResponseTemplates = v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *PutIntegrationResponseInput) SetRestApiId(v string) *PutIntegrationResponseInput { - s.RestApiId = &v - return s -} - -// SetSelectionPattern sets the SelectionPattern field's value. -func (s *PutIntegrationResponseInput) SetSelectionPattern(v string) *PutIntegrationResponseInput { - s.SelectionPattern = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *PutIntegrationResponseInput) SetStatusCode(v string) *PutIntegrationResponseInput { - s.StatusCode = &v - return s -} - // Request to add a method to an existing Resource resource. type PutMethodInput struct { _ struct{} `type:"structure"` @@ -14887,72 +12583,6 @@ func (s *PutMethodInput) Validate() error { return nil } -// SetApiKeyRequired sets the ApiKeyRequired field's value. -func (s *PutMethodInput) SetApiKeyRequired(v bool) *PutMethodInput { - s.ApiKeyRequired = &v - return s -} - -// SetAuthorizationScopes sets the AuthorizationScopes field's value. -func (s *PutMethodInput) SetAuthorizationScopes(v []string) *PutMethodInput { - s.AuthorizationScopes = v - return s -} - -// SetAuthorizationType sets the AuthorizationType field's value. -func (s *PutMethodInput) SetAuthorizationType(v string) *PutMethodInput { - s.AuthorizationType = &v - return s -} - -// SetAuthorizerId sets the AuthorizerId field's value. -func (s *PutMethodInput) SetAuthorizerId(v string) *PutMethodInput { - s.AuthorizerId = &v - return s -} - -// SetHttpMethod sets the HttpMethod field's value. -func (s *PutMethodInput) SetHttpMethod(v string) *PutMethodInput { - s.HttpMethod = &v - return s -} - -// SetOperationName sets the OperationName field's value. -func (s *PutMethodInput) SetOperationName(v string) *PutMethodInput { - s.OperationName = &v - return s -} - -// SetRequestModels sets the RequestModels field's value. -func (s *PutMethodInput) SetRequestModels(v map[string]string) *PutMethodInput { - s.RequestModels = v - return s -} - -// SetRequestParameters sets the RequestParameters field's value. -func (s *PutMethodInput) SetRequestParameters(v map[string]bool) *PutMethodInput { - s.RequestParameters = v - return s -} - -// SetRequestValidatorId sets the RequestValidatorId field's value. -func (s *PutMethodInput) SetRequestValidatorId(v string) *PutMethodInput { - s.RequestValidatorId = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *PutMethodInput) SetResourceId(v string) *PutMethodInput { - s.ResourceId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *PutMethodInput) SetRestApiId(v string) *PutMethodInput { - s.RestApiId = &v - return s -} - // Request to add a MethodResponse to an existing Method resource. type PutMethodResponseInput struct { _ struct{} `type:"structure"` @@ -15032,42 +12662,6 @@ func (s *PutMethodResponseInput) Validate() error { return nil } -// SetHttpMethod sets the HttpMethod field's value. -func (s *PutMethodResponseInput) SetHttpMethod(v string) *PutMethodResponseInput { - s.HttpMethod = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *PutMethodResponseInput) SetResourceId(v string) *PutMethodResponseInput { - s.ResourceId = &v - return s -} - -// SetResponseModels sets the ResponseModels field's value. -func (s *PutMethodResponseInput) SetResponseModels(v map[string]string) *PutMethodResponseInput { - s.ResponseModels = v - return s -} - -// SetResponseParameters sets the ResponseParameters field's value. -func (s *PutMethodResponseInput) SetResponseParameters(v map[string]bool) *PutMethodResponseInput { - s.ResponseParameters = v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *PutMethodResponseInput) SetRestApiId(v string) *PutMethodResponseInput { - s.RestApiId = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *PutMethodResponseInput) SetStatusCode(v string) *PutMethodResponseInput { - s.StatusCode = &v - return s -} - // A PUT request to update an existing API, with external API definitions specified // as the request body. type PutRestApiInput struct { @@ -15128,36 +12722,6 @@ func (s *PutRestApiInput) Validate() error { return nil } -// SetBody sets the Body field's value. -func (s *PutRestApiInput) SetBody(v []byte) *PutRestApiInput { - s.Body = v - return s -} - -// SetFailOnWarnings sets the FailOnWarnings field's value. -func (s *PutRestApiInput) SetFailOnWarnings(v bool) *PutRestApiInput { - s.FailOnWarnings = &v - return s -} - -// SetMode sets the Mode field's value. -func (s *PutRestApiInput) SetMode(v PutMode) *PutRestApiInput { - s.Mode = v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *PutRestApiInput) SetParameters(v map[string]string) *PutRestApiInput { - s.Parameters = v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *PutRestApiInput) SetRestApiId(v string) *PutRestApiInput { - s.RestApiId = &v - return s -} - // Quotas configured for a usage plan. type QuotaSettings struct { _ struct{} `type:"structure"` @@ -15184,24 +12748,6 @@ func (s QuotaSettings) GoString() string { return s.String() } -// SetLimit sets the Limit field's value. -func (s *QuotaSettings) SetLimit(v int64) *QuotaSettings { - s.Limit = &v - return s -} - -// SetOffset sets the Offset field's value. -func (s *QuotaSettings) SetOffset(v int64) *QuotaSettings { - s.Offset = &v - return s -} - -// SetPeriod sets the Period field's value. -func (s *QuotaSettings) SetPeriod(v QuotaPeriodType) *QuotaSettings { - s.Period = v - return s -} - // A configuration property of an SDK type. type SdkConfigurationProperty struct { _ struct{} `type:"structure"` @@ -15233,36 +12779,6 @@ func (s SdkConfigurationProperty) GoString() string { return s.String() } -// SetDefaultValue sets the DefaultValue field's value. -func (s *SdkConfigurationProperty) SetDefaultValue(v string) *SdkConfigurationProperty { - s.DefaultValue = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *SdkConfigurationProperty) SetDescription(v string) *SdkConfigurationProperty { - s.Description = &v - return s -} - -// SetFriendlyName sets the FriendlyName field's value. -func (s *SdkConfigurationProperty) SetFriendlyName(v string) *SdkConfigurationProperty { - s.FriendlyName = &v - return s -} - -// SetName sets the Name field's value. -func (s *SdkConfigurationProperty) SetName(v string) *SdkConfigurationProperty { - s.Name = &v - return s -} - -// SetRequired sets the Required field's value. -func (s *SdkConfigurationProperty) SetRequired(v bool) *SdkConfigurationProperty { - s.Required = &v - return s -} - // A reference to a unique stage identified in the format {restApiId}/{stage}. type StageKey struct { _ struct{} `type:"structure"` @@ -15284,18 +12800,6 @@ func (s StageKey) GoString() string { return s.String() } -// SetRestApiId sets the RestApiId field's value. -func (s *StageKey) SetRestApiId(v string) *StageKey { - s.RestApiId = &v - return s -} - -// SetStageName sets the StageName field's value. -func (s *StageKey) SetStageName(v string) *StageKey { - s.StageName = &v - return s -} - // Adds or updates Tags on a gievn resource. type TagResourceInput struct { _ struct{} `type:"structure"` @@ -15342,18 +12846,6 @@ func (s *TagResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput { - s.ResourceArn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagResourceInput) SetTags(v map[string]string) *TagResourceInput { - s.Tags = v - return s -} - type TagResourceOutput struct { _ struct{} `type:"structure"` @@ -15437,48 +12929,6 @@ func (s *TestInvokeAuthorizerInput) Validate() error { return nil } -// SetAdditionalContext sets the AdditionalContext field's value. -func (s *TestInvokeAuthorizerInput) SetAdditionalContext(v map[string]string) *TestInvokeAuthorizerInput { - s.AdditionalContext = v - return s -} - -// SetAuthorizerId sets the AuthorizerId field's value. -func (s *TestInvokeAuthorizerInput) SetAuthorizerId(v string) *TestInvokeAuthorizerInput { - s.AuthorizerId = &v - return s -} - -// SetBody sets the Body field's value. -func (s *TestInvokeAuthorizerInput) SetBody(v string) *TestInvokeAuthorizerInput { - s.Body = &v - return s -} - -// SetHeaders sets the Headers field's value. -func (s *TestInvokeAuthorizerInput) SetHeaders(v map[string]string) *TestInvokeAuthorizerInput { - s.Headers = v - return s -} - -// SetPathWithQueryString sets the PathWithQueryString field's value. -func (s *TestInvokeAuthorizerInput) SetPathWithQueryString(v string) *TestInvokeAuthorizerInput { - s.PathWithQueryString = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *TestInvokeAuthorizerInput) SetRestApiId(v string) *TestInvokeAuthorizerInput { - s.RestApiId = &v - return s -} - -// SetStageVariables sets the StageVariables field's value. -func (s *TestInvokeAuthorizerInput) SetStageVariables(v map[string]string) *TestInvokeAuthorizerInput { - s.StageVariables = v - return s -} - // Represents the response of the test invoke request for a custom Authorizer type TestInvokeAuthorizerOutput struct { _ struct{} `type:"structure"` @@ -15524,48 +12974,6 @@ func (s TestInvokeAuthorizerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAuthorization sets the Authorization field's value. -func (s *TestInvokeAuthorizerOutput) SetAuthorization(v map[string][]string) *TestInvokeAuthorizerOutput { - s.Authorization = v - return s -} - -// SetClaims sets the Claims field's value. -func (s *TestInvokeAuthorizerOutput) SetClaims(v map[string]string) *TestInvokeAuthorizerOutput { - s.Claims = v - return s -} - -// SetClientStatus sets the ClientStatus field's value. -func (s *TestInvokeAuthorizerOutput) SetClientStatus(v int64) *TestInvokeAuthorizerOutput { - s.ClientStatus = &v - return s -} - -// SetLatency sets the Latency field's value. -func (s *TestInvokeAuthorizerOutput) SetLatency(v int64) *TestInvokeAuthorizerOutput { - s.Latency = &v - return s -} - -// SetLog sets the Log field's value. -func (s *TestInvokeAuthorizerOutput) SetLog(v string) *TestInvokeAuthorizerOutput { - s.Log = &v - return s -} - -// SetPolicy sets the Policy field's value. -func (s *TestInvokeAuthorizerOutput) SetPolicy(v string) *TestInvokeAuthorizerOutput { - s.Policy = &v - return s -} - -// SetPrincipalId sets the PrincipalId field's value. -func (s *TestInvokeAuthorizerOutput) SetPrincipalId(v string) *TestInvokeAuthorizerOutput { - s.PrincipalId = &v - return s -} - // Make a request to simulate the execution of a Method. type TestInvokeMethodInput struct { _ struct{} `type:"structure"` @@ -15637,54 +13045,6 @@ func (s *TestInvokeMethodInput) Validate() error { return nil } -// SetBody sets the Body field's value. -func (s *TestInvokeMethodInput) SetBody(v string) *TestInvokeMethodInput { - s.Body = &v - return s -} - -// SetClientCertificateId sets the ClientCertificateId field's value. -func (s *TestInvokeMethodInput) SetClientCertificateId(v string) *TestInvokeMethodInput { - s.ClientCertificateId = &v - return s -} - -// SetHeaders sets the Headers field's value. -func (s *TestInvokeMethodInput) SetHeaders(v map[string]string) *TestInvokeMethodInput { - s.Headers = v - return s -} - -// SetHttpMethod sets the HttpMethod field's value. -func (s *TestInvokeMethodInput) SetHttpMethod(v string) *TestInvokeMethodInput { - s.HttpMethod = &v - return s -} - -// SetPathWithQueryString sets the PathWithQueryString field's value. -func (s *TestInvokeMethodInput) SetPathWithQueryString(v string) *TestInvokeMethodInput { - s.PathWithQueryString = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *TestInvokeMethodInput) SetResourceId(v string) *TestInvokeMethodInput { - s.ResourceId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *TestInvokeMethodInput) SetRestApiId(v string) *TestInvokeMethodInput { - s.RestApiId = &v - return s -} - -// SetStageVariables sets the StageVariables field's value. -func (s *TestInvokeMethodInput) SetStageVariables(v map[string]string) *TestInvokeMethodInput { - s.StageVariables = v - return s -} - // Represents the response of the test invoke request in the HTTP method. // // Test API using the API Gateway console (http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-test-method.html#how-to-test-method-console) @@ -15724,36 +13084,6 @@ func (s TestInvokeMethodOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBody sets the Body field's value. -func (s *TestInvokeMethodOutput) SetBody(v string) *TestInvokeMethodOutput { - s.Body = &v - return s -} - -// SetHeaders sets the Headers field's value. -func (s *TestInvokeMethodOutput) SetHeaders(v map[string]string) *TestInvokeMethodOutput { - s.Headers = v - return s -} - -// SetLatency sets the Latency field's value. -func (s *TestInvokeMethodOutput) SetLatency(v int64) *TestInvokeMethodOutput { - s.Latency = &v - return s -} - -// SetLog sets the Log field's value. -func (s *TestInvokeMethodOutput) SetLog(v string) *TestInvokeMethodOutput { - s.Log = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *TestInvokeMethodOutput) SetStatus(v int64) *TestInvokeMethodOutput { - s.Status = &v - return s -} - // The API request rate limits. type ThrottleSettings struct { _ struct{} `type:"structure"` @@ -15777,18 +13107,6 @@ func (s ThrottleSettings) GoString() string { return s.String() } -// SetBurstLimit sets the BurstLimit field's value. -func (s *ThrottleSettings) SetBurstLimit(v int64) *ThrottleSettings { - s.BurstLimit = &v - return s -} - -// SetRateLimit sets the RateLimit field's value. -func (s *ThrottleSettings) SetRateLimit(v float64) *ThrottleSettings { - s.RateLimit = &v - return s -} - // Removes Tags from a given resource. type UntagResourceInput struct { _ struct{} `type:"structure"` @@ -15833,18 +13151,6 @@ func (s *UntagResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { - s.ResourceArn = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *UntagResourceInput) SetTagKeys(v []string) *UntagResourceInput { - s.TagKeys = v - return s -} - type UntagResourceOutput struct { _ struct{} `type:"structure"` @@ -15885,12 +13191,6 @@ func (s UpdateAccountInput) GoString() string { return s.String() } -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateAccountInput) SetPatchOperations(v []PatchOperation) *UpdateAccountInput { - s.PatchOperations = v - return s -} - // Represents an AWS account that is associated with API Gateway. // // To view the account info, call GET on this resource. @@ -15961,30 +13261,6 @@ func (s UpdateAccountOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApiKeyVersion sets the ApiKeyVersion field's value. -func (s *UpdateAccountOutput) SetApiKeyVersion(v string) *UpdateAccountOutput { - s.ApiKeyVersion = &v - return s -} - -// SetCloudwatchRoleArn sets the CloudwatchRoleArn field's value. -func (s *UpdateAccountOutput) SetCloudwatchRoleArn(v string) *UpdateAccountOutput { - s.CloudwatchRoleArn = &v - return s -} - -// SetFeatures sets the Features field's value. -func (s *UpdateAccountOutput) SetFeatures(v []string) *UpdateAccountOutput { - s.Features = v - return s -} - -// SetThrottleSettings sets the ThrottleSettings field's value. -func (s *UpdateAccountOutput) SetThrottleSettings(v *ThrottleSettings) *UpdateAccountOutput { - s.ThrottleSettings = v - return s -} - // A request to change information about an ApiKey resource. type UpdateApiKeyInput struct { _ struct{} `type:"structure"` @@ -16023,18 +13299,6 @@ func (s *UpdateApiKeyInput) Validate() error { return nil } -// SetApiKey sets the ApiKey field's value. -func (s *UpdateApiKeyInput) SetApiKey(v string) *UpdateApiKeyInput { - s.ApiKey = &v - return s -} - -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateApiKeyInput) SetPatchOperations(v []PatchOperation) *UpdateApiKeyInput { - s.PatchOperations = v - return s -} - // A resource that can be distributed to callers for executing Method resources // that require an API key. API keys can be mapped to any Stage on any RestApi, // which indicates that the callers with the API key can make requests to that @@ -16090,60 +13354,6 @@ func (s UpdateApiKeyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreatedDate sets the CreatedDate field's value. -func (s *UpdateApiKeyOutput) SetCreatedDate(v time.Time) *UpdateApiKeyOutput { - s.CreatedDate = &v - return s -} - -// SetCustomerId sets the CustomerId field's value. -func (s *UpdateApiKeyOutput) SetCustomerId(v string) *UpdateApiKeyOutput { - s.CustomerId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateApiKeyOutput) SetDescription(v string) *UpdateApiKeyOutput { - s.Description = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *UpdateApiKeyOutput) SetEnabled(v bool) *UpdateApiKeyOutput { - s.Enabled = &v - return s -} - -// SetId sets the Id field's value. -func (s *UpdateApiKeyOutput) SetId(v string) *UpdateApiKeyOutput { - s.Id = &v - return s -} - -// SetLastUpdatedDate sets the LastUpdatedDate field's value. -func (s *UpdateApiKeyOutput) SetLastUpdatedDate(v time.Time) *UpdateApiKeyOutput { - s.LastUpdatedDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateApiKeyOutput) SetName(v string) *UpdateApiKeyOutput { - s.Name = &v - return s -} - -// SetStageKeys sets the StageKeys field's value. -func (s *UpdateApiKeyOutput) SetStageKeys(v []string) *UpdateApiKeyOutput { - s.StageKeys = v - return s -} - -// SetValue sets the Value field's value. -func (s *UpdateApiKeyOutput) SetValue(v string) *UpdateApiKeyOutput { - s.Value = &v - return s -} - // Request to update an existing Authorizer resource. type UpdateAuthorizerInput struct { _ struct{} `type:"structure"` @@ -16191,24 +13401,6 @@ func (s *UpdateAuthorizerInput) Validate() error { return nil } -// SetAuthorizerId sets the AuthorizerId field's value. -func (s *UpdateAuthorizerInput) SetAuthorizerId(v string) *UpdateAuthorizerInput { - s.AuthorizerId = &v - return s -} - -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateAuthorizerInput) SetPatchOperations(v []PatchOperation) *UpdateAuthorizerInput { - s.PatchOperations = v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *UpdateAuthorizerInput) SetRestApiId(v string) *UpdateAuthorizerInput { - s.RestApiId = &v - return s -} - // Represents an authorization layer for methods. If enabled on a method, API // Gateway will activate the authorizer when a client calls the method. // @@ -16306,66 +13498,6 @@ func (s UpdateAuthorizerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAuthType sets the AuthType field's value. -func (s *UpdateAuthorizerOutput) SetAuthType(v string) *UpdateAuthorizerOutput { - s.AuthType = &v - return s -} - -// SetAuthorizerCredentials sets the AuthorizerCredentials field's value. -func (s *UpdateAuthorizerOutput) SetAuthorizerCredentials(v string) *UpdateAuthorizerOutput { - s.AuthorizerCredentials = &v - return s -} - -// SetAuthorizerResultTtlInSeconds sets the AuthorizerResultTtlInSeconds field's value. -func (s *UpdateAuthorizerOutput) SetAuthorizerResultTtlInSeconds(v int64) *UpdateAuthorizerOutput { - s.AuthorizerResultTtlInSeconds = &v - return s -} - -// SetAuthorizerUri sets the AuthorizerUri field's value. -func (s *UpdateAuthorizerOutput) SetAuthorizerUri(v string) *UpdateAuthorizerOutput { - s.AuthorizerUri = &v - return s -} - -// SetId sets the Id field's value. -func (s *UpdateAuthorizerOutput) SetId(v string) *UpdateAuthorizerOutput { - s.Id = &v - return s -} - -// SetIdentitySource sets the IdentitySource field's value. -func (s *UpdateAuthorizerOutput) SetIdentitySource(v string) *UpdateAuthorizerOutput { - s.IdentitySource = &v - return s -} - -// SetIdentityValidationExpression sets the IdentityValidationExpression field's value. -func (s *UpdateAuthorizerOutput) SetIdentityValidationExpression(v string) *UpdateAuthorizerOutput { - s.IdentityValidationExpression = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateAuthorizerOutput) SetName(v string) *UpdateAuthorizerOutput { - s.Name = &v - return s -} - -// SetProviderARNs sets the ProviderARNs field's value. -func (s *UpdateAuthorizerOutput) SetProviderARNs(v []string) *UpdateAuthorizerOutput { - s.ProviderARNs = v - return s -} - -// SetType sets the Type field's value. -func (s *UpdateAuthorizerOutput) SetType(v AuthorizerType) *UpdateAuthorizerOutput { - s.Type = v - return s -} - // A request to change information about the BasePathMapping resource. type UpdateBasePathMappingInput struct { _ struct{} `type:"structure"` @@ -16413,24 +13545,6 @@ func (s *UpdateBasePathMappingInput) Validate() error { return nil } -// SetBasePath sets the BasePath field's value. -func (s *UpdateBasePathMappingInput) SetBasePath(v string) *UpdateBasePathMappingInput { - s.BasePath = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *UpdateBasePathMappingInput) SetDomainName(v string) *UpdateBasePathMappingInput { - s.DomainName = &v - return s -} - -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateBasePathMappingInput) SetPatchOperations(v []PatchOperation) *UpdateBasePathMappingInput { - s.PatchOperations = v - return s -} - // Represents the base path that callers of the API must provide as part of // the URL after the domain name. // @@ -16468,24 +13582,6 @@ func (s UpdateBasePathMappingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBasePath sets the BasePath field's value. -func (s *UpdateBasePathMappingOutput) SetBasePath(v string) *UpdateBasePathMappingOutput { - s.BasePath = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *UpdateBasePathMappingOutput) SetRestApiId(v string) *UpdateBasePathMappingOutput { - s.RestApiId = &v - return s -} - -// SetStage sets the Stage field's value. -func (s *UpdateBasePathMappingOutput) SetStage(v string) *UpdateBasePathMappingOutput { - s.Stage = &v - return s -} - // A request to change information about an ClientCertificate resource. type UpdateClientCertificateInput struct { _ struct{} `type:"structure"` @@ -16524,18 +13620,6 @@ func (s *UpdateClientCertificateInput) Validate() error { return nil } -// SetClientCertificateId sets the ClientCertificateId field's value. -func (s *UpdateClientCertificateInput) SetClientCertificateId(v string) *UpdateClientCertificateInput { - s.ClientCertificateId = &v - return s -} - -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateClientCertificateInput) SetPatchOperations(v []PatchOperation) *UpdateClientCertificateInput { - s.PatchOperations = v - return s -} - // Represents a client certificate used to configure client-side SSL authentication // while sending requests to the integration endpoint. // @@ -16580,36 +13664,6 @@ func (s UpdateClientCertificateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClientCertificateId sets the ClientCertificateId field's value. -func (s *UpdateClientCertificateOutput) SetClientCertificateId(v string) *UpdateClientCertificateOutput { - s.ClientCertificateId = &v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *UpdateClientCertificateOutput) SetCreatedDate(v time.Time) *UpdateClientCertificateOutput { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateClientCertificateOutput) SetDescription(v string) *UpdateClientCertificateOutput { - s.Description = &v - return s -} - -// SetExpirationDate sets the ExpirationDate field's value. -func (s *UpdateClientCertificateOutput) SetExpirationDate(v time.Time) *UpdateClientCertificateOutput { - s.ExpirationDate = &v - return s -} - -// SetPemEncodedCertificate sets the PemEncodedCertificate field's value. -func (s *UpdateClientCertificateOutput) SetPemEncodedCertificate(v string) *UpdateClientCertificateOutput { - s.PemEncodedCertificate = &v - return s -} - // Requests API Gateway to change information about a Deployment resource. type UpdateDeploymentInput struct { _ struct{} `type:"structure"` @@ -16658,24 +13712,6 @@ func (s *UpdateDeploymentInput) Validate() error { return nil } -// SetDeploymentId sets the DeploymentId field's value. -func (s *UpdateDeploymentInput) SetDeploymentId(v string) *UpdateDeploymentInput { - s.DeploymentId = &v - return s -} - -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateDeploymentInput) SetPatchOperations(v []PatchOperation) *UpdateDeploymentInput { - s.PatchOperations = v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *UpdateDeploymentInput) SetRestApiId(v string) *UpdateDeploymentInput { - s.RestApiId = &v - return s -} - // An immutable representation of a RestApi resource that can be called by users // using Stages. A deployment must be associated with a Stage for it to be callable // over the Internet. @@ -16720,30 +13756,6 @@ func (s UpdateDeploymentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApiSummary sets the ApiSummary field's value. -func (s *UpdateDeploymentOutput) SetApiSummary(v map[string]map[string]MethodSnapshot) *UpdateDeploymentOutput { - s.ApiSummary = v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *UpdateDeploymentOutput) SetCreatedDate(v time.Time) *UpdateDeploymentOutput { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateDeploymentOutput) SetDescription(v string) *UpdateDeploymentOutput { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *UpdateDeploymentOutput) SetId(v string) *UpdateDeploymentOutput { - s.Id = &v - return s -} - // Updates an existing documentation part of a given API. type UpdateDocumentationPartInput struct { _ struct{} `type:"structure"` @@ -16791,24 +13803,6 @@ func (s *UpdateDocumentationPartInput) Validate() error { return nil } -// SetDocumentationPartId sets the DocumentationPartId field's value. -func (s *UpdateDocumentationPartInput) SetDocumentationPartId(v string) *UpdateDocumentationPartInput { - s.DocumentationPartId = &v - return s -} - -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateDocumentationPartInput) SetPatchOperations(v []PatchOperation) *UpdateDocumentationPartInput { - s.PatchOperations = v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *UpdateDocumentationPartInput) SetRestApiId(v string) *UpdateDocumentationPartInput { - s.RestApiId = &v - return s -} - // A documentation part for a targeted API entity. // // A documentation part consists of a content map (properties) and a target @@ -16865,24 +13859,6 @@ func (s UpdateDocumentationPartOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetId sets the Id field's value. -func (s *UpdateDocumentationPartOutput) SetId(v string) *UpdateDocumentationPartOutput { - s.Id = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *UpdateDocumentationPartOutput) SetLocation(v *DocumentationPartLocation) *UpdateDocumentationPartOutput { - s.Location = v - return s -} - -// SetProperties sets the Properties field's value. -func (s *UpdateDocumentationPartOutput) SetProperties(v string) *UpdateDocumentationPartOutput { - s.Properties = &v - return s -} - // Updates an existing documentation version of an API. type UpdateDocumentationVersionInput struct { _ struct{} `type:"structure"` @@ -16930,24 +13906,6 @@ func (s *UpdateDocumentationVersionInput) Validate() error { return nil } -// SetDocumentationVersion sets the DocumentationVersion field's value. -func (s *UpdateDocumentationVersionInput) SetDocumentationVersion(v string) *UpdateDocumentationVersionInput { - s.DocumentationVersion = &v - return s -} - -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateDocumentationVersionInput) SetPatchOperations(v []PatchOperation) *UpdateDocumentationVersionInput { - s.PatchOperations = v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *UpdateDocumentationVersionInput) SetRestApiId(v string) *UpdateDocumentationVersionInput { - s.RestApiId = &v - return s -} - // A snapshot of the documentation of an API. // // Publishing API documentation involves creating a documentation version associated @@ -16986,24 +13944,6 @@ func (s UpdateDocumentationVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreatedDate sets the CreatedDate field's value. -func (s *UpdateDocumentationVersionOutput) SetCreatedDate(v time.Time) *UpdateDocumentationVersionOutput { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateDocumentationVersionOutput) SetDescription(v string) *UpdateDocumentationVersionOutput { - s.Description = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *UpdateDocumentationVersionOutput) SetVersion(v string) *UpdateDocumentationVersionOutput { - s.Version = &v - return s -} - // A request to change information about the DomainName resource. type UpdateDomainNameInput struct { _ struct{} `type:"structure"` @@ -17042,18 +13982,6 @@ func (s *UpdateDomainNameInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *UpdateDomainNameInput) SetDomainName(v string) *UpdateDomainNameInput { - s.DomainName = &v - return s -} - -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateDomainNameInput) SetPatchOperations(v []PatchOperation) *UpdateDomainNameInput { - s.PatchOperations = v - return s -} - // Represents a custom domain name as a user-friendly host name of an API (RestApi). // // When you deploy an API, API Gateway creates a default host name for the API. @@ -17139,72 +14067,6 @@ func (s UpdateDomainNameOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificateArn sets the CertificateArn field's value. -func (s *UpdateDomainNameOutput) SetCertificateArn(v string) *UpdateDomainNameOutput { - s.CertificateArn = &v - return s -} - -// SetCertificateName sets the CertificateName field's value. -func (s *UpdateDomainNameOutput) SetCertificateName(v string) *UpdateDomainNameOutput { - s.CertificateName = &v - return s -} - -// SetCertificateUploadDate sets the CertificateUploadDate field's value. -func (s *UpdateDomainNameOutput) SetCertificateUploadDate(v time.Time) *UpdateDomainNameOutput { - s.CertificateUploadDate = &v - return s -} - -// SetDistributionDomainName sets the DistributionDomainName field's value. -func (s *UpdateDomainNameOutput) SetDistributionDomainName(v string) *UpdateDomainNameOutput { - s.DistributionDomainName = &v - return s -} - -// SetDistributionHostedZoneId sets the DistributionHostedZoneId field's value. -func (s *UpdateDomainNameOutput) SetDistributionHostedZoneId(v string) *UpdateDomainNameOutput { - s.DistributionHostedZoneId = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *UpdateDomainNameOutput) SetDomainName(v string) *UpdateDomainNameOutput { - s.DomainName = &v - return s -} - -// SetEndpointConfiguration sets the EndpointConfiguration field's value. -func (s *UpdateDomainNameOutput) SetEndpointConfiguration(v *EndpointConfiguration) *UpdateDomainNameOutput { - s.EndpointConfiguration = v - return s -} - -// SetRegionalCertificateArn sets the RegionalCertificateArn field's value. -func (s *UpdateDomainNameOutput) SetRegionalCertificateArn(v string) *UpdateDomainNameOutput { - s.RegionalCertificateArn = &v - return s -} - -// SetRegionalCertificateName sets the RegionalCertificateName field's value. -func (s *UpdateDomainNameOutput) SetRegionalCertificateName(v string) *UpdateDomainNameOutput { - s.RegionalCertificateName = &v - return s -} - -// SetRegionalDomainName sets the RegionalDomainName field's value. -func (s *UpdateDomainNameOutput) SetRegionalDomainName(v string) *UpdateDomainNameOutput { - s.RegionalDomainName = &v - return s -} - -// SetRegionalHostedZoneId sets the RegionalHostedZoneId field's value. -func (s *UpdateDomainNameOutput) SetRegionalHostedZoneId(v string) *UpdateDomainNameOutput { - s.RegionalHostedZoneId = &v - return s -} - // Updates a GatewayResponse of a specified response type on the given RestApi. type UpdateGatewayResponseInput struct { _ struct{} `type:"structure"` @@ -17271,24 +14133,6 @@ func (s *UpdateGatewayResponseInput) Validate() error { return nil } -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateGatewayResponseInput) SetPatchOperations(v []PatchOperation) *UpdateGatewayResponseInput { - s.PatchOperations = v - return s -} - -// SetResponseType sets the ResponseType field's value. -func (s *UpdateGatewayResponseInput) SetResponseType(v GatewayResponseType) *UpdateGatewayResponseInput { - s.ResponseType = v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *UpdateGatewayResponseInput) SetRestApiId(v string) *UpdateGatewayResponseInput { - s.RestApiId = &v - return s -} - // A gateway response of a given response type and status code, with optional // response parameters and mapping templates. // @@ -17390,36 +14234,6 @@ func (s UpdateGatewayResponseOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDefaultResponse sets the DefaultResponse field's value. -func (s *UpdateGatewayResponseOutput) SetDefaultResponse(v bool) *UpdateGatewayResponseOutput { - s.DefaultResponse = &v - return s -} - -// SetResponseParameters sets the ResponseParameters field's value. -func (s *UpdateGatewayResponseOutput) SetResponseParameters(v map[string]string) *UpdateGatewayResponseOutput { - s.ResponseParameters = v - return s -} - -// SetResponseTemplates sets the ResponseTemplates field's value. -func (s *UpdateGatewayResponseOutput) SetResponseTemplates(v map[string]string) *UpdateGatewayResponseOutput { - s.ResponseTemplates = v - return s -} - -// SetResponseType sets the ResponseType field's value. -func (s *UpdateGatewayResponseOutput) SetResponseType(v GatewayResponseType) *UpdateGatewayResponseOutput { - s.ResponseType = v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *UpdateGatewayResponseOutput) SetStatusCode(v string) *UpdateGatewayResponseOutput { - s.StatusCode = &v - return s -} - // Represents an update integration request. type UpdateIntegrationInput struct { _ struct{} `type:"structure"` @@ -17467,37 +14281,13 @@ func (s *UpdateIntegrationInput) Validate() error { } if s.RestApiId == nil { - invalidParams.Add(aws.NewErrParamRequired("RestApiId")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetHttpMethod sets the HttpMethod field's value. -func (s *UpdateIntegrationInput) SetHttpMethod(v string) *UpdateIntegrationInput { - s.HttpMethod = &v - return s -} - -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateIntegrationInput) SetPatchOperations(v []PatchOperation) *UpdateIntegrationInput { - s.PatchOperations = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *UpdateIntegrationInput) SetResourceId(v string) *UpdateIntegrationInput { - s.ResourceId = &v - return s -} + invalidParams.Add(aws.NewErrParamRequired("RestApiId")) + } -// SetRestApiId sets the RestApiId field's value. -func (s *UpdateIntegrationInput) SetRestApiId(v string) *UpdateIntegrationInput { - s.RestApiId = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } // Represents an HTTP, HTTP_PROXY, AWS, AWS_PROXY, or Mock integration. @@ -17679,90 +14469,6 @@ func (s UpdateIntegrationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCacheKeyParameters sets the CacheKeyParameters field's value. -func (s *UpdateIntegrationOutput) SetCacheKeyParameters(v []string) *UpdateIntegrationOutput { - s.CacheKeyParameters = v - return s -} - -// SetCacheNamespace sets the CacheNamespace field's value. -func (s *UpdateIntegrationOutput) SetCacheNamespace(v string) *UpdateIntegrationOutput { - s.CacheNamespace = &v - return s -} - -// SetConnectionId sets the ConnectionId field's value. -func (s *UpdateIntegrationOutput) SetConnectionId(v string) *UpdateIntegrationOutput { - s.ConnectionId = &v - return s -} - -// SetConnectionType sets the ConnectionType field's value. -func (s *UpdateIntegrationOutput) SetConnectionType(v ConnectionType) *UpdateIntegrationOutput { - s.ConnectionType = v - return s -} - -// SetContentHandling sets the ContentHandling field's value. -func (s *UpdateIntegrationOutput) SetContentHandling(v ContentHandlingStrategy) *UpdateIntegrationOutput { - s.ContentHandling = v - return s -} - -// SetCredentials sets the Credentials field's value. -func (s *UpdateIntegrationOutput) SetCredentials(v string) *UpdateIntegrationOutput { - s.Credentials = &v - return s -} - -// SetHttpMethod sets the HttpMethod field's value. -func (s *UpdateIntegrationOutput) SetHttpMethod(v string) *UpdateIntegrationOutput { - s.HttpMethod = &v - return s -} - -// SetIntegrationResponses sets the IntegrationResponses field's value. -func (s *UpdateIntegrationOutput) SetIntegrationResponses(v map[string]UpdateIntegrationResponseOutput) *UpdateIntegrationOutput { - s.IntegrationResponses = v - return s -} - -// SetPassthroughBehavior sets the PassthroughBehavior field's value. -func (s *UpdateIntegrationOutput) SetPassthroughBehavior(v string) *UpdateIntegrationOutput { - s.PassthroughBehavior = &v - return s -} - -// SetRequestParameters sets the RequestParameters field's value. -func (s *UpdateIntegrationOutput) SetRequestParameters(v map[string]string) *UpdateIntegrationOutput { - s.RequestParameters = v - return s -} - -// SetRequestTemplates sets the RequestTemplates field's value. -func (s *UpdateIntegrationOutput) SetRequestTemplates(v map[string]string) *UpdateIntegrationOutput { - s.RequestTemplates = v - return s -} - -// SetTimeoutInMillis sets the TimeoutInMillis field's value. -func (s *UpdateIntegrationOutput) SetTimeoutInMillis(v int64) *UpdateIntegrationOutput { - s.TimeoutInMillis = &v - return s -} - -// SetType sets the Type field's value. -func (s *UpdateIntegrationOutput) SetType(v IntegrationType) *UpdateIntegrationOutput { - s.Type = v - return s -} - -// SetUri sets the Uri field's value. -func (s *UpdateIntegrationOutput) SetUri(v string) *UpdateIntegrationOutput { - s.Uri = &v - return s -} - // Represents an update integration response request. type UpdateIntegrationResponseInput struct { _ struct{} `type:"structure"` @@ -17828,36 +14534,6 @@ func (s *UpdateIntegrationResponseInput) Validate() error { return nil } -// SetHttpMethod sets the HttpMethod field's value. -func (s *UpdateIntegrationResponseInput) SetHttpMethod(v string) *UpdateIntegrationResponseInput { - s.HttpMethod = &v - return s -} - -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateIntegrationResponseInput) SetPatchOperations(v []PatchOperation) *UpdateIntegrationResponseInput { - s.PatchOperations = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *UpdateIntegrationResponseInput) SetResourceId(v string) *UpdateIntegrationResponseInput { - s.ResourceId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *UpdateIntegrationResponseInput) SetRestApiId(v string) *UpdateIntegrationResponseInput { - s.RestApiId = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *UpdateIntegrationResponseInput) SetStatusCode(v string) *UpdateIntegrationResponseInput { - s.StatusCode = &v - return s -} - // Represents an integration response. The status code must map to an existing // MethodResponse, and parameters and templates can be used to transform the // back-end response. @@ -17928,36 +14604,6 @@ func (s UpdateIntegrationResponseOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetContentHandling sets the ContentHandling field's value. -func (s *UpdateIntegrationResponseOutput) SetContentHandling(v ContentHandlingStrategy) *UpdateIntegrationResponseOutput { - s.ContentHandling = v - return s -} - -// SetResponseParameters sets the ResponseParameters field's value. -func (s *UpdateIntegrationResponseOutput) SetResponseParameters(v map[string]string) *UpdateIntegrationResponseOutput { - s.ResponseParameters = v - return s -} - -// SetResponseTemplates sets the ResponseTemplates field's value. -func (s *UpdateIntegrationResponseOutput) SetResponseTemplates(v map[string]string) *UpdateIntegrationResponseOutput { - s.ResponseTemplates = v - return s -} - -// SetSelectionPattern sets the SelectionPattern field's value. -func (s *UpdateIntegrationResponseOutput) SetSelectionPattern(v string) *UpdateIntegrationResponseOutput { - s.SelectionPattern = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *UpdateIntegrationResponseOutput) SetStatusCode(v string) *UpdateIntegrationResponseOutput { - s.StatusCode = &v - return s -} - // Request to update an existing Method resource. type UpdateMethodInput struct { _ struct{} `type:"structure"` @@ -18014,30 +14660,6 @@ func (s *UpdateMethodInput) Validate() error { return nil } -// SetHttpMethod sets the HttpMethod field's value. -func (s *UpdateMethodInput) SetHttpMethod(v string) *UpdateMethodInput { - s.HttpMethod = &v - return s -} - -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateMethodInput) SetPatchOperations(v []PatchOperation) *UpdateMethodInput { - s.PatchOperations = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *UpdateMethodInput) SetResourceId(v string) *UpdateMethodInput { - s.ResourceId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *UpdateMethodInput) SetRestApiId(v string) *UpdateMethodInput { - s.RestApiId = &v - return s -} - // Represents a client-facing interface by which the client calls the API to // access back-end resources. A Method resource is integrated with an Integration // resource. Both consist of a request and one or more responses. The method @@ -18251,72 +14873,6 @@ func (s UpdateMethodOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApiKeyRequired sets the ApiKeyRequired field's value. -func (s *UpdateMethodOutput) SetApiKeyRequired(v bool) *UpdateMethodOutput { - s.ApiKeyRequired = &v - return s -} - -// SetAuthorizationScopes sets the AuthorizationScopes field's value. -func (s *UpdateMethodOutput) SetAuthorizationScopes(v []string) *UpdateMethodOutput { - s.AuthorizationScopes = v - return s -} - -// SetAuthorizationType sets the AuthorizationType field's value. -func (s *UpdateMethodOutput) SetAuthorizationType(v string) *UpdateMethodOutput { - s.AuthorizationType = &v - return s -} - -// SetAuthorizerId sets the AuthorizerId field's value. -func (s *UpdateMethodOutput) SetAuthorizerId(v string) *UpdateMethodOutput { - s.AuthorizerId = &v - return s -} - -// SetHttpMethod sets the HttpMethod field's value. -func (s *UpdateMethodOutput) SetHttpMethod(v string) *UpdateMethodOutput { - s.HttpMethod = &v - return s -} - -// SetMethodIntegration sets the MethodIntegration field's value. -func (s *UpdateMethodOutput) SetMethodIntegration(v *UpdateIntegrationOutput) *UpdateMethodOutput { - s.MethodIntegration = v - return s -} - -// SetMethodResponses sets the MethodResponses field's value. -func (s *UpdateMethodOutput) SetMethodResponses(v map[string]UpdateMethodResponseOutput) *UpdateMethodOutput { - s.MethodResponses = v - return s -} - -// SetOperationName sets the OperationName field's value. -func (s *UpdateMethodOutput) SetOperationName(v string) *UpdateMethodOutput { - s.OperationName = &v - return s -} - -// SetRequestModels sets the RequestModels field's value. -func (s *UpdateMethodOutput) SetRequestModels(v map[string]string) *UpdateMethodOutput { - s.RequestModels = v - return s -} - -// SetRequestParameters sets the RequestParameters field's value. -func (s *UpdateMethodOutput) SetRequestParameters(v map[string]bool) *UpdateMethodOutput { - s.RequestParameters = v - return s -} - -// SetRequestValidatorId sets the RequestValidatorId field's value. -func (s *UpdateMethodOutput) SetRequestValidatorId(v string) *UpdateMethodOutput { - s.RequestValidatorId = &v - return s -} - // A request to update an existing MethodResponse resource. type UpdateMethodResponseInput struct { _ struct{} `type:"structure"` @@ -18382,36 +14938,6 @@ func (s *UpdateMethodResponseInput) Validate() error { return nil } -// SetHttpMethod sets the HttpMethod field's value. -func (s *UpdateMethodResponseInput) SetHttpMethod(v string) *UpdateMethodResponseInput { - s.HttpMethod = &v - return s -} - -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateMethodResponseInput) SetPatchOperations(v []PatchOperation) *UpdateMethodResponseInput { - s.PatchOperations = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *UpdateMethodResponseInput) SetResourceId(v string) *UpdateMethodResponseInput { - s.ResourceId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *UpdateMethodResponseInput) SetRestApiId(v string) *UpdateMethodResponseInput { - s.RestApiId = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *UpdateMethodResponseInput) SetStatusCode(v string) *UpdateMethodResponseInput { - s.StatusCode = &v - return s -} - // Represents a method response of a given HTTP status code returned to the // client. The method response is passed from the back end through the associated // integration response that can be transformed using a mapping template. @@ -18480,24 +15006,6 @@ func (s UpdateMethodResponseOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResponseModels sets the ResponseModels field's value. -func (s *UpdateMethodResponseOutput) SetResponseModels(v map[string]string) *UpdateMethodResponseOutput { - s.ResponseModels = v - return s -} - -// SetResponseParameters sets the ResponseParameters field's value. -func (s *UpdateMethodResponseOutput) SetResponseParameters(v map[string]bool) *UpdateMethodResponseOutput { - s.ResponseParameters = v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *UpdateMethodResponseOutput) SetStatusCode(v string) *UpdateMethodResponseOutput { - s.StatusCode = &v - return s -} - // Request to update an existing model in an existing RestApi resource. type UpdateModelInput struct { _ struct{} `type:"structure"` @@ -18545,24 +15053,6 @@ func (s *UpdateModelInput) Validate() error { return nil } -// SetModelName sets the ModelName field's value. -func (s *UpdateModelInput) SetModelName(v string) *UpdateModelInput { - s.ModelName = &v - return s -} - -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateModelInput) SetPatchOperations(v []PatchOperation) *UpdateModelInput { - s.PatchOperations = v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *UpdateModelInput) SetRestApiId(v string) *UpdateModelInput { - s.RestApiId = &v - return s -} - // Represents the data structure of a method's request or response payload. // // A request model defines the data structure of the client-supplied request @@ -18615,36 +15105,6 @@ func (s UpdateModelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetContentType sets the ContentType field's value. -func (s *UpdateModelOutput) SetContentType(v string) *UpdateModelOutput { - s.ContentType = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateModelOutput) SetDescription(v string) *UpdateModelOutput { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *UpdateModelOutput) SetId(v string) *UpdateModelOutput { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateModelOutput) SetName(v string) *UpdateModelOutput { - s.Name = &v - return s -} - -// SetSchema sets the Schema field's value. -func (s *UpdateModelOutput) SetSchema(v string) *UpdateModelOutput { - s.Schema = &v - return s -} - // Updates a RequestValidator of a given RestApi. type UpdateRequestValidatorInput struct { _ struct{} `type:"structure"` @@ -18692,24 +15152,6 @@ func (s *UpdateRequestValidatorInput) Validate() error { return nil } -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateRequestValidatorInput) SetPatchOperations(v []PatchOperation) *UpdateRequestValidatorInput { - s.PatchOperations = v - return s -} - -// SetRequestValidatorId sets the RequestValidatorId field's value. -func (s *UpdateRequestValidatorInput) SetRequestValidatorId(v string) *UpdateRequestValidatorInput { - s.RequestValidatorId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *UpdateRequestValidatorInput) SetRestApiId(v string) *UpdateRequestValidatorInput { - s.RestApiId = &v - return s -} - // A set of validation rules for incoming Method requests. // // In Swagger, a RequestValidator of an API is defined by the x-amazon-apigateway-request-validators.requestValidator @@ -18754,30 +15196,6 @@ func (s UpdateRequestValidatorOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetId sets the Id field's value. -func (s *UpdateRequestValidatorOutput) SetId(v string) *UpdateRequestValidatorOutput { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateRequestValidatorOutput) SetName(v string) *UpdateRequestValidatorOutput { - s.Name = &v - return s -} - -// SetValidateRequestBody sets the ValidateRequestBody field's value. -func (s *UpdateRequestValidatorOutput) SetValidateRequestBody(v bool) *UpdateRequestValidatorOutput { - s.ValidateRequestBody = &v - return s -} - -// SetValidateRequestParameters sets the ValidateRequestParameters field's value. -func (s *UpdateRequestValidatorOutput) SetValidateRequestParameters(v bool) *UpdateRequestValidatorOutput { - s.ValidateRequestParameters = &v - return s -} - // Request to change information about a Resource resource. type UpdateResourceInput struct { _ struct{} `type:"structure"` @@ -18825,24 +15243,6 @@ func (s *UpdateResourceInput) Validate() error { return nil } -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateResourceInput) SetPatchOperations(v []PatchOperation) *UpdateResourceInput { - s.PatchOperations = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *UpdateResourceInput) SetResourceId(v string) *UpdateResourceInput { - s.ResourceId = &v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *UpdateResourceInput) SetRestApiId(v string) *UpdateResourceInput { - s.RestApiId = &v - return s -} - // Represents an API resource. // // Create an API (http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) @@ -18938,36 +15338,6 @@ func (s UpdateResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetId sets the Id field's value. -func (s *UpdateResourceOutput) SetId(v string) *UpdateResourceOutput { - s.Id = &v - return s -} - -// SetParentId sets the ParentId field's value. -func (s *UpdateResourceOutput) SetParentId(v string) *UpdateResourceOutput { - s.ParentId = &v - return s -} - -// SetPath sets the Path field's value. -func (s *UpdateResourceOutput) SetPath(v string) *UpdateResourceOutput { - s.Path = &v - return s -} - -// SetPathPart sets the PathPart field's value. -func (s *UpdateResourceOutput) SetPathPart(v string) *UpdateResourceOutput { - s.PathPart = &v - return s -} - -// SetResourceMethods sets the ResourceMethods field's value. -func (s *UpdateResourceOutput) SetResourceMethods(v map[string]UpdateMethodOutput) *UpdateResourceOutput { - s.ResourceMethods = v - return s -} - // Request to update an existing RestApi resource in your collection. type UpdateRestApiInput struct { _ struct{} `type:"structure"` @@ -19006,18 +15376,6 @@ func (s *UpdateRestApiInput) Validate() error { return nil } -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateRestApiInput) SetPatchOperations(v []PatchOperation) *UpdateRestApiInput { - s.PatchOperations = v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *UpdateRestApiInput) SetRestApiId(v string) *UpdateRestApiInput { - s.RestApiId = &v - return s -} - // Represents a REST API. // // Create an API (http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html) @@ -19084,66 +15442,6 @@ func (s UpdateRestApiOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApiKeySource sets the ApiKeySource field's value. -func (s *UpdateRestApiOutput) SetApiKeySource(v ApiKeySourceType) *UpdateRestApiOutput { - s.ApiKeySource = v - return s -} - -// SetBinaryMediaTypes sets the BinaryMediaTypes field's value. -func (s *UpdateRestApiOutput) SetBinaryMediaTypes(v []string) *UpdateRestApiOutput { - s.BinaryMediaTypes = v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *UpdateRestApiOutput) SetCreatedDate(v time.Time) *UpdateRestApiOutput { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateRestApiOutput) SetDescription(v string) *UpdateRestApiOutput { - s.Description = &v - return s -} - -// SetEndpointConfiguration sets the EndpointConfiguration field's value. -func (s *UpdateRestApiOutput) SetEndpointConfiguration(v *EndpointConfiguration) *UpdateRestApiOutput { - s.EndpointConfiguration = v - return s -} - -// SetId sets the Id field's value. -func (s *UpdateRestApiOutput) SetId(v string) *UpdateRestApiOutput { - s.Id = &v - return s -} - -// SetMinimumCompressionSize sets the MinimumCompressionSize field's value. -func (s *UpdateRestApiOutput) SetMinimumCompressionSize(v int64) *UpdateRestApiOutput { - s.MinimumCompressionSize = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateRestApiOutput) SetName(v string) *UpdateRestApiOutput { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *UpdateRestApiOutput) SetVersion(v string) *UpdateRestApiOutput { - s.Version = &v - return s -} - -// SetWarnings sets the Warnings field's value. -func (s *UpdateRestApiOutput) SetWarnings(v []string) *UpdateRestApiOutput { - s.Warnings = v - return s -} - // Requests API Gateway to change information about a Stage resource. type UpdateStageInput struct { _ struct{} `type:"structure"` @@ -19191,24 +15489,6 @@ func (s *UpdateStageInput) Validate() error { return nil } -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateStageInput) SetPatchOperations(v []PatchOperation) *UpdateStageInput { - s.PatchOperations = v - return s -} - -// SetRestApiId sets the RestApiId field's value. -func (s *UpdateStageInput) SetRestApiId(v string) *UpdateStageInput { - s.RestApiId = &v - return s -} - -// SetStageName sets the StageName field's value. -func (s *UpdateStageInput) SetStageName(v string) *UpdateStageInput { - s.StageName = &v - return s -} - // Represents a unique identifier for a version of a deployed RestApi that is // callable by users. // @@ -19285,96 +15565,6 @@ func (s UpdateStageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAccessLogSettings sets the AccessLogSettings field's value. -func (s *UpdateStageOutput) SetAccessLogSettings(v *AccessLogSettings) *UpdateStageOutput { - s.AccessLogSettings = v - return s -} - -// SetCacheClusterEnabled sets the CacheClusterEnabled field's value. -func (s *UpdateStageOutput) SetCacheClusterEnabled(v bool) *UpdateStageOutput { - s.CacheClusterEnabled = &v - return s -} - -// SetCacheClusterSize sets the CacheClusterSize field's value. -func (s *UpdateStageOutput) SetCacheClusterSize(v CacheClusterSize) *UpdateStageOutput { - s.CacheClusterSize = v - return s -} - -// SetCacheClusterStatus sets the CacheClusterStatus field's value. -func (s *UpdateStageOutput) SetCacheClusterStatus(v CacheClusterStatus) *UpdateStageOutput { - s.CacheClusterStatus = v - return s -} - -// SetCanarySettings sets the CanarySettings field's value. -func (s *UpdateStageOutput) SetCanarySettings(v *CanarySettings) *UpdateStageOutput { - s.CanarySettings = v - return s -} - -// SetClientCertificateId sets the ClientCertificateId field's value. -func (s *UpdateStageOutput) SetClientCertificateId(v string) *UpdateStageOutput { - s.ClientCertificateId = &v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *UpdateStageOutput) SetCreatedDate(v time.Time) *UpdateStageOutput { - s.CreatedDate = &v - return s -} - -// SetDeploymentId sets the DeploymentId field's value. -func (s *UpdateStageOutput) SetDeploymentId(v string) *UpdateStageOutput { - s.DeploymentId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateStageOutput) SetDescription(v string) *UpdateStageOutput { - s.Description = &v - return s -} - -// SetDocumentationVersion sets the DocumentationVersion field's value. -func (s *UpdateStageOutput) SetDocumentationVersion(v string) *UpdateStageOutput { - s.DocumentationVersion = &v - return s -} - -// SetLastUpdatedDate sets the LastUpdatedDate field's value. -func (s *UpdateStageOutput) SetLastUpdatedDate(v time.Time) *UpdateStageOutput { - s.LastUpdatedDate = &v - return s -} - -// SetMethodSettings sets the MethodSettings field's value. -func (s *UpdateStageOutput) SetMethodSettings(v map[string]MethodSetting) *UpdateStageOutput { - s.MethodSettings = v - return s -} - -// SetStageName sets the StageName field's value. -func (s *UpdateStageOutput) SetStageName(v string) *UpdateStageOutput { - s.StageName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *UpdateStageOutput) SetTags(v map[string]string) *UpdateStageOutput { - s.Tags = v - return s -} - -// SetVariables sets the Variables field's value. -func (s *UpdateStageOutput) SetVariables(v map[string]string) *UpdateStageOutput { - s.Variables = v - return s -} - // The PATCH request to grant a temporary extension to the remaining quota of // a usage plan associated with a specified API key. type UpdateUsageInput struct { @@ -19424,24 +15614,6 @@ func (s *UpdateUsageInput) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *UpdateUsageInput) SetKeyId(v string) *UpdateUsageInput { - s.KeyId = &v - return s -} - -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateUsageInput) SetPatchOperations(v []PatchOperation) *UpdateUsageInput { - s.PatchOperations = v - return s -} - -// SetUsagePlanId sets the UsagePlanId field's value. -func (s *UpdateUsageInput) SetUsagePlanId(v string) *UpdateUsageInput { - s.UsagePlanId = &v - return s -} - // Represents the usage data of a usage plan. // // Create and Use Usage Plans (http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html), Manage Usage in a Usage Plan (http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-usage-plans-with-console.html#api-gateway-usage-plan-manage-usage) @@ -19484,36 +15656,6 @@ func (s UpdateUsageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEndDate sets the EndDate field's value. -func (s *UpdateUsageOutput) SetEndDate(v string) *UpdateUsageOutput { - s.EndDate = &v - return s -} - -// SetItems sets the Items field's value. -func (s *UpdateUsageOutput) SetItems(v map[string][][]int64) *UpdateUsageOutput { - s.Items = v - return s -} - -// SetPosition sets the Position field's value. -func (s *UpdateUsageOutput) SetPosition(v string) *UpdateUsageOutput { - s.Position = &v - return s -} - -// SetStartDate sets the StartDate field's value. -func (s *UpdateUsageOutput) SetStartDate(v string) *UpdateUsageOutput { - s.StartDate = &v - return s -} - -// SetUsagePlanId sets the UsagePlanId field's value. -func (s *UpdateUsageOutput) SetUsagePlanId(v string) *UpdateUsageOutput { - s.UsagePlanId = &v - return s -} - // The PATCH request to update a usage plan of a given plan Id. type UpdateUsagePlanInput struct { _ struct{} `type:"structure"` @@ -19552,18 +15694,6 @@ func (s *UpdateUsagePlanInput) Validate() error { return nil } -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateUsagePlanInput) SetPatchOperations(v []PatchOperation) *UpdateUsagePlanInput { - s.PatchOperations = v - return s -} - -// SetUsagePlanId sets the UsagePlanId field's value. -func (s *UpdateUsagePlanInput) SetUsagePlanId(v string) *UpdateUsagePlanInput { - s.UsagePlanId = &v - return s -} - // Represents a usage plan than can specify who can assess associated API stages // with specified request limits and quotas. // @@ -19615,48 +15745,6 @@ func (s UpdateUsagePlanOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApiStages sets the ApiStages field's value. -func (s *UpdateUsagePlanOutput) SetApiStages(v []ApiStage) *UpdateUsagePlanOutput { - s.ApiStages = v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateUsagePlanOutput) SetDescription(v string) *UpdateUsagePlanOutput { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *UpdateUsagePlanOutput) SetId(v string) *UpdateUsagePlanOutput { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateUsagePlanOutput) SetName(v string) *UpdateUsagePlanOutput { - s.Name = &v - return s -} - -// SetProductCode sets the ProductCode field's value. -func (s *UpdateUsagePlanOutput) SetProductCode(v string) *UpdateUsagePlanOutput { - s.ProductCode = &v - return s -} - -// SetQuota sets the Quota field's value. -func (s *UpdateUsagePlanOutput) SetQuota(v *QuotaSettings) *UpdateUsagePlanOutput { - s.Quota = v - return s -} - -// SetThrottle sets the Throttle field's value. -func (s *UpdateUsagePlanOutput) SetThrottle(v *ThrottleSettings) *UpdateUsagePlanOutput { - s.Throttle = v - return s -} - // Updates an existing VpcLink of a specified identifier. type UpdateVpcLinkInput struct { _ struct{} `type:"structure"` @@ -19696,18 +15784,6 @@ func (s *UpdateVpcLinkInput) Validate() error { return nil } -// SetPatchOperations sets the PatchOperations field's value. -func (s *UpdateVpcLinkInput) SetPatchOperations(v []PatchOperation) *UpdateVpcLinkInput { - s.PatchOperations = v - return s -} - -// SetVpcLinkId sets the VpcLinkId field's value. -func (s *UpdateVpcLinkInput) SetVpcLinkId(v string) *UpdateVpcLinkInput { - s.VpcLinkId = &v - return s -} - // A API Gateway VPC link for a RestApi to access resources in an Amazon Virtual // Private Cloud (VPC). // @@ -19761,42 +15837,6 @@ func (s UpdateVpcLinkOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDescription sets the Description field's value. -func (s *UpdateVpcLinkOutput) SetDescription(v string) *UpdateVpcLinkOutput { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *UpdateVpcLinkOutput) SetId(v string) *UpdateVpcLinkOutput { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateVpcLinkOutput) SetName(v string) *UpdateVpcLinkOutput { - s.Name = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *UpdateVpcLinkOutput) SetStatus(v VpcLinkStatus) *UpdateVpcLinkOutput { - s.Status = v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *UpdateVpcLinkOutput) SetStatusMessage(v string) *UpdateVpcLinkOutput { - s.StatusMessage = &v - return s -} - -// SetTargetArns sets the TargetArns field's value. -func (s *UpdateVpcLinkOutput) SetTargetArns(v []string) *UpdateVpcLinkOutput { - s.TargetArns = v - return s -} - type ApiKeySourceType string // Enum values for ApiKeySourceType diff --git a/service/applicationautoscaling/api.go b/service/applicationautoscaling/api.go index fd556425d25..cf2300b60ef 100644 --- a/service/applicationautoscaling/api.go +++ b/service/applicationautoscaling/api.go @@ -766,18 +766,6 @@ func (s Alarm) GoString() string { return s.String() } -// SetAlarmARN sets the AlarmARN field's value. -func (s *Alarm) SetAlarmARN(v string) *Alarm { - s.AlarmARN = &v - return s -} - -// SetAlarmName sets the AlarmName field's value. -func (s *Alarm) SetAlarmName(v string) *Alarm { - s.AlarmName = &v - return s -} - // Configures a customized metric for a target tracking policy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/CustomizedMetricSpecification type CustomizedMetricSpecification struct { @@ -843,36 +831,6 @@ func (s *CustomizedMetricSpecification) Validate() error { return nil } -// SetDimensions sets the Dimensions field's value. -func (s *CustomizedMetricSpecification) SetDimensions(v []MetricDimension) *CustomizedMetricSpecification { - s.Dimensions = v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *CustomizedMetricSpecification) SetMetricName(v string) *CustomizedMetricSpecification { - s.MetricName = &v - return s -} - -// SetNamespace sets the Namespace field's value. -func (s *CustomizedMetricSpecification) SetNamespace(v string) *CustomizedMetricSpecification { - s.Namespace = &v - return s -} - -// SetStatistic sets the Statistic field's value. -func (s *CustomizedMetricSpecification) SetStatistic(v MetricStatistic) *CustomizedMetricSpecification { - s.Statistic = v - return s -} - -// SetUnit sets the Unit field's value. -func (s *CustomizedMetricSpecification) SetUnit(v string) *CustomizedMetricSpecification { - s.Unit = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicyRequest type DeleteScalingPolicyInput struct { _ struct{} `type:"structure"` @@ -989,30 +947,6 @@ func (s *DeleteScalingPolicyInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *DeleteScalingPolicyInput) SetPolicyName(v string) *DeleteScalingPolicyInput { - s.PolicyName = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *DeleteScalingPolicyInput) SetResourceId(v string) *DeleteScalingPolicyInput { - s.ResourceId = &v - return s -} - -// SetScalableDimension sets the ScalableDimension field's value. -func (s *DeleteScalingPolicyInput) SetScalableDimension(v ScalableDimension) *DeleteScalingPolicyInput { - s.ScalableDimension = v - return s -} - -// SetServiceNamespace sets the ServiceNamespace field's value. -func (s *DeleteScalingPolicyInput) SetServiceNamespace(v ServiceNamespace) *DeleteScalingPolicyInput { - s.ServiceNamespace = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicyResponse type DeleteScalingPolicyOutput struct { _ struct{} `type:"structure"` @@ -1146,30 +1080,6 @@ func (s *DeleteScheduledActionInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *DeleteScheduledActionInput) SetResourceId(v string) *DeleteScheduledActionInput { - s.ResourceId = &v - return s -} - -// SetScalableDimension sets the ScalableDimension field's value. -func (s *DeleteScheduledActionInput) SetScalableDimension(v ScalableDimension) *DeleteScheduledActionInput { - s.ScalableDimension = v - return s -} - -// SetScheduledActionName sets the ScheduledActionName field's value. -func (s *DeleteScheduledActionInput) SetScheduledActionName(v string) *DeleteScheduledActionInput { - s.ScheduledActionName = &v - return s -} - -// SetServiceNamespace sets the ServiceNamespace field's value. -func (s *DeleteScheduledActionInput) SetServiceNamespace(v ServiceNamespace) *DeleteScheduledActionInput { - s.ServiceNamespace = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledActionResponse type DeleteScheduledActionOutput struct { _ struct{} `type:"structure"` @@ -1296,24 +1206,6 @@ func (s *DeregisterScalableTargetInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *DeregisterScalableTargetInput) SetResourceId(v string) *DeregisterScalableTargetInput { - s.ResourceId = &v - return s -} - -// SetScalableDimension sets the ScalableDimension field's value. -func (s *DeregisterScalableTargetInput) SetScalableDimension(v ScalableDimension) *DeregisterScalableTargetInput { - s.ScalableDimension = v - return s -} - -// SetServiceNamespace sets the ServiceNamespace field's value. -func (s *DeregisterScalableTargetInput) SetServiceNamespace(v ServiceNamespace) *DeregisterScalableTargetInput { - s.ServiceNamespace = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTargetResponse type DeregisterScalableTargetOutput struct { _ struct{} `type:"structure"` @@ -1440,36 +1332,6 @@ func (s *DescribeScalableTargetsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeScalableTargetsInput) SetMaxResults(v int64) *DescribeScalableTargetsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeScalableTargetsInput) SetNextToken(v string) *DescribeScalableTargetsInput { - s.NextToken = &v - return s -} - -// SetResourceIds sets the ResourceIds field's value. -func (s *DescribeScalableTargetsInput) SetResourceIds(v []string) *DescribeScalableTargetsInput { - s.ResourceIds = v - return s -} - -// SetScalableDimension sets the ScalableDimension field's value. -func (s *DescribeScalableTargetsInput) SetScalableDimension(v ScalableDimension) *DescribeScalableTargetsInput { - s.ScalableDimension = v - return s -} - -// SetServiceNamespace sets the ServiceNamespace field's value. -func (s *DescribeScalableTargetsInput) SetServiceNamespace(v ServiceNamespace) *DescribeScalableTargetsInput { - s.ServiceNamespace = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalableTargetsResponse type DescribeScalableTargetsOutput struct { _ struct{} `type:"structure"` @@ -1499,18 +1361,6 @@ func (s DescribeScalableTargetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeScalableTargetsOutput) SetNextToken(v string) *DescribeScalableTargetsOutput { - s.NextToken = &v - return s -} - -// SetScalableTargets sets the ScalableTargets field's value. -func (s *DescribeScalableTargetsOutput) SetScalableTargets(v []ScalableTarget) *DescribeScalableTargetsOutput { - s.ScalableTargets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingActivitiesRequest type DescribeScalingActivitiesInput struct { _ struct{} `type:"structure"` @@ -1618,36 +1468,6 @@ func (s *DescribeScalingActivitiesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeScalingActivitiesInput) SetMaxResults(v int64) *DescribeScalingActivitiesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeScalingActivitiesInput) SetNextToken(v string) *DescribeScalingActivitiesInput { - s.NextToken = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *DescribeScalingActivitiesInput) SetResourceId(v string) *DescribeScalingActivitiesInput { - s.ResourceId = &v - return s -} - -// SetScalableDimension sets the ScalableDimension field's value. -func (s *DescribeScalingActivitiesInput) SetScalableDimension(v ScalableDimension) *DescribeScalingActivitiesInput { - s.ScalableDimension = v - return s -} - -// SetServiceNamespace sets the ServiceNamespace field's value. -func (s *DescribeScalingActivitiesInput) SetServiceNamespace(v ServiceNamespace) *DescribeScalingActivitiesInput { - s.ServiceNamespace = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingActivitiesResponse type DescribeScalingActivitiesOutput struct { _ struct{} `type:"structure"` @@ -1677,18 +1497,6 @@ func (s DescribeScalingActivitiesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeScalingActivitiesOutput) SetNextToken(v string) *DescribeScalingActivitiesOutput { - s.NextToken = &v - return s -} - -// SetScalingActivities sets the ScalingActivities field's value. -func (s *DescribeScalingActivitiesOutput) SetScalingActivities(v []ScalingActivity) *DescribeScalingActivitiesOutput { - s.ScalingActivities = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingPoliciesRequest type DescribeScalingPoliciesInput struct { _ struct{} `type:"structure"` @@ -1799,42 +1607,6 @@ func (s *DescribeScalingPoliciesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeScalingPoliciesInput) SetMaxResults(v int64) *DescribeScalingPoliciesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeScalingPoliciesInput) SetNextToken(v string) *DescribeScalingPoliciesInput { - s.NextToken = &v - return s -} - -// SetPolicyNames sets the PolicyNames field's value. -func (s *DescribeScalingPoliciesInput) SetPolicyNames(v []string) *DescribeScalingPoliciesInput { - s.PolicyNames = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *DescribeScalingPoliciesInput) SetResourceId(v string) *DescribeScalingPoliciesInput { - s.ResourceId = &v - return s -} - -// SetScalableDimension sets the ScalableDimension field's value. -func (s *DescribeScalingPoliciesInput) SetScalableDimension(v ScalableDimension) *DescribeScalingPoliciesInput { - s.ScalableDimension = v - return s -} - -// SetServiceNamespace sets the ServiceNamespace field's value. -func (s *DescribeScalingPoliciesInput) SetServiceNamespace(v ServiceNamespace) *DescribeScalingPoliciesInput { - s.ServiceNamespace = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingPoliciesResponse type DescribeScalingPoliciesOutput struct { _ struct{} `type:"structure"` @@ -1864,18 +1636,6 @@ func (s DescribeScalingPoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeScalingPoliciesOutput) SetNextToken(v string) *DescribeScalingPoliciesOutput { - s.NextToken = &v - return s -} - -// SetScalingPolicies sets the ScalingPolicies field's value. -func (s *DescribeScalingPoliciesOutput) SetScalingPolicies(v []ScalingPolicy) *DescribeScalingPoliciesOutput { - s.ScalingPolicies = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScheduledActionsRequest type DescribeScheduledActionsInput struct { _ struct{} `type:"structure"` @@ -1986,42 +1746,6 @@ func (s *DescribeScheduledActionsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeScheduledActionsInput) SetMaxResults(v int64) *DescribeScheduledActionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeScheduledActionsInput) SetNextToken(v string) *DescribeScheduledActionsInput { - s.NextToken = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *DescribeScheduledActionsInput) SetResourceId(v string) *DescribeScheduledActionsInput { - s.ResourceId = &v - return s -} - -// SetScalableDimension sets the ScalableDimension field's value. -func (s *DescribeScheduledActionsInput) SetScalableDimension(v ScalableDimension) *DescribeScheduledActionsInput { - s.ScalableDimension = v - return s -} - -// SetScheduledActionNames sets the ScheduledActionNames field's value. -func (s *DescribeScheduledActionsInput) SetScheduledActionNames(v []string) *DescribeScheduledActionsInput { - s.ScheduledActionNames = v - return s -} - -// SetServiceNamespace sets the ServiceNamespace field's value. -func (s *DescribeScheduledActionsInput) SetServiceNamespace(v ServiceNamespace) *DescribeScheduledActionsInput { - s.ServiceNamespace = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScheduledActionsResponse type DescribeScheduledActionsOutput struct { _ struct{} `type:"structure"` @@ -2051,18 +1775,6 @@ func (s DescribeScheduledActionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeScheduledActionsOutput) SetNextToken(v string) *DescribeScheduledActionsOutput { - s.NextToken = &v - return s -} - -// SetScheduledActions sets the ScheduledActions field's value. -func (s *DescribeScheduledActionsOutput) SetScheduledActions(v []ScheduledAction) *DescribeScheduledActionsOutput { - s.ScheduledActions = v - return s -} - // Describes the dimension of a metric. // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/MetricDimension type MetricDimension struct { @@ -2107,18 +1819,6 @@ func (s *MetricDimension) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *MetricDimension) SetName(v string) *MetricDimension { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *MetricDimension) SetValue(v string) *MetricDimension { - s.Value = &v - return s -} - // Configures a predefined metric for a target tracking policy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PredefinedMetricSpecification type PredefinedMetricSpecification struct { @@ -2171,18 +1871,6 @@ func (s *PredefinedMetricSpecification) Validate() error { return nil } -// SetPredefinedMetricType sets the PredefinedMetricType field's value. -func (s *PredefinedMetricSpecification) SetPredefinedMetricType(v MetricType) *PredefinedMetricSpecification { - s.PredefinedMetricType = v - return s -} - -// SetResourceLabel sets the ResourceLabel field's value. -func (s *PredefinedMetricSpecification) SetResourceLabel(v string) *PredefinedMetricSpecification { - s.ResourceLabel = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScalingPolicyRequest type PutScalingPolicyInput struct { _ struct{} `type:"structure"` @@ -2328,48 +2016,6 @@ func (s *PutScalingPolicyInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *PutScalingPolicyInput) SetPolicyName(v string) *PutScalingPolicyInput { - s.PolicyName = &v - return s -} - -// SetPolicyType sets the PolicyType field's value. -func (s *PutScalingPolicyInput) SetPolicyType(v PolicyType) *PutScalingPolicyInput { - s.PolicyType = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *PutScalingPolicyInput) SetResourceId(v string) *PutScalingPolicyInput { - s.ResourceId = &v - return s -} - -// SetScalableDimension sets the ScalableDimension field's value. -func (s *PutScalingPolicyInput) SetScalableDimension(v ScalableDimension) *PutScalingPolicyInput { - s.ScalableDimension = v - return s -} - -// SetServiceNamespace sets the ServiceNamespace field's value. -func (s *PutScalingPolicyInput) SetServiceNamespace(v ServiceNamespace) *PutScalingPolicyInput { - s.ServiceNamespace = v - return s -} - -// SetStepScalingPolicyConfiguration sets the StepScalingPolicyConfiguration field's value. -func (s *PutScalingPolicyInput) SetStepScalingPolicyConfiguration(v *StepScalingPolicyConfiguration) *PutScalingPolicyInput { - s.StepScalingPolicyConfiguration = v - return s -} - -// SetTargetTrackingScalingPolicyConfiguration sets the TargetTrackingScalingPolicyConfiguration field's value. -func (s *PutScalingPolicyInput) SetTargetTrackingScalingPolicyConfiguration(v *TargetTrackingScalingPolicyConfiguration) *PutScalingPolicyInput { - s.TargetTrackingScalingPolicyConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScalingPolicyResponse type PutScalingPolicyOutput struct { _ struct{} `type:"structure"` @@ -2400,18 +2046,6 @@ func (s PutScalingPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAlarms sets the Alarms field's value. -func (s *PutScalingPolicyOutput) SetAlarms(v []Alarm) *PutScalingPolicyOutput { - s.Alarms = v - return s -} - -// SetPolicyARN sets the PolicyARN field's value. -func (s *PutScalingPolicyOutput) SetPolicyARN(v string) *PutScalingPolicyOutput { - s.PolicyARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScheduledActionRequest type PutScheduledActionInput struct { _ struct{} `type:"structure"` @@ -2555,54 +2189,6 @@ func (s *PutScheduledActionInput) Validate() error { return nil } -// SetEndTime sets the EndTime field's value. -func (s *PutScheduledActionInput) SetEndTime(v time.Time) *PutScheduledActionInput { - s.EndTime = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *PutScheduledActionInput) SetResourceId(v string) *PutScheduledActionInput { - s.ResourceId = &v - return s -} - -// SetScalableDimension sets the ScalableDimension field's value. -func (s *PutScheduledActionInput) SetScalableDimension(v ScalableDimension) *PutScheduledActionInput { - s.ScalableDimension = v - return s -} - -// SetScalableTargetAction sets the ScalableTargetAction field's value. -func (s *PutScheduledActionInput) SetScalableTargetAction(v *ScalableTargetAction) *PutScheduledActionInput { - s.ScalableTargetAction = v - return s -} - -// SetSchedule sets the Schedule field's value. -func (s *PutScheduledActionInput) SetSchedule(v string) *PutScheduledActionInput { - s.Schedule = &v - return s -} - -// SetScheduledActionName sets the ScheduledActionName field's value. -func (s *PutScheduledActionInput) SetScheduledActionName(v string) *PutScheduledActionInput { - s.ScheduledActionName = &v - return s -} - -// SetServiceNamespace sets the ServiceNamespace field's value. -func (s *PutScheduledActionInput) SetServiceNamespace(v ServiceNamespace) *PutScheduledActionInput { - s.ServiceNamespace = v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *PutScheduledActionInput) SetStartTime(v time.Time) *PutScheduledActionInput { - s.StartTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScheduledActionResponse type PutScheduledActionOutput struct { _ struct{} `type:"structure"` @@ -2754,42 +2340,6 @@ func (s *RegisterScalableTargetInput) Validate() error { return nil } -// SetMaxCapacity sets the MaxCapacity field's value. -func (s *RegisterScalableTargetInput) SetMaxCapacity(v int64) *RegisterScalableTargetInput { - s.MaxCapacity = &v - return s -} - -// SetMinCapacity sets the MinCapacity field's value. -func (s *RegisterScalableTargetInput) SetMinCapacity(v int64) *RegisterScalableTargetInput { - s.MinCapacity = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *RegisterScalableTargetInput) SetResourceId(v string) *RegisterScalableTargetInput { - s.ResourceId = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *RegisterScalableTargetInput) SetRoleARN(v string) *RegisterScalableTargetInput { - s.RoleARN = &v - return s -} - -// SetScalableDimension sets the ScalableDimension field's value. -func (s *RegisterScalableTargetInput) SetScalableDimension(v ScalableDimension) *RegisterScalableTargetInput { - s.ScalableDimension = v - return s -} - -// SetServiceNamespace sets the ServiceNamespace field's value. -func (s *RegisterScalableTargetInput) SetServiceNamespace(v ServiceNamespace) *RegisterScalableTargetInput { - s.ServiceNamespace = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/RegisterScalableTargetResponse type RegisterScalableTargetOutput struct { _ struct{} `type:"structure"` @@ -2915,48 +2465,6 @@ func (s ScalableTarget) GoString() string { return s.String() } -// SetCreationTime sets the CreationTime field's value. -func (s *ScalableTarget) SetCreationTime(v time.Time) *ScalableTarget { - s.CreationTime = &v - return s -} - -// SetMaxCapacity sets the MaxCapacity field's value. -func (s *ScalableTarget) SetMaxCapacity(v int64) *ScalableTarget { - s.MaxCapacity = &v - return s -} - -// SetMinCapacity sets the MinCapacity field's value. -func (s *ScalableTarget) SetMinCapacity(v int64) *ScalableTarget { - s.MinCapacity = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *ScalableTarget) SetResourceId(v string) *ScalableTarget { - s.ResourceId = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *ScalableTarget) SetRoleARN(v string) *ScalableTarget { - s.RoleARN = &v - return s -} - -// SetScalableDimension sets the ScalableDimension field's value. -func (s *ScalableTarget) SetScalableDimension(v ScalableDimension) *ScalableTarget { - s.ScalableDimension = v - return s -} - -// SetServiceNamespace sets the ServiceNamespace field's value. -func (s *ScalableTarget) SetServiceNamespace(v ServiceNamespace) *ScalableTarget { - s.ServiceNamespace = v - return s -} - // Represents the minimum and maximum capacity for a scheduled action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ScalableTargetAction type ScalableTargetAction struct { @@ -2979,18 +2487,6 @@ func (s ScalableTargetAction) GoString() string { return s.String() } -// SetMaxCapacity sets the MaxCapacity field's value. -func (s *ScalableTargetAction) SetMaxCapacity(v int64) *ScalableTargetAction { - s.MaxCapacity = &v - return s -} - -// SetMinCapacity sets the MinCapacity field's value. -func (s *ScalableTargetAction) SetMinCapacity(v int64) *ScalableTargetAction { - s.MinCapacity = &v - return s -} - // Represents a scaling activity. // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ScalingActivity type ScalingActivity struct { @@ -3107,72 +2603,6 @@ func (s ScalingActivity) GoString() string { return s.String() } -// SetActivityId sets the ActivityId field's value. -func (s *ScalingActivity) SetActivityId(v string) *ScalingActivity { - s.ActivityId = &v - return s -} - -// SetCause sets the Cause field's value. -func (s *ScalingActivity) SetCause(v string) *ScalingActivity { - s.Cause = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ScalingActivity) SetDescription(v string) *ScalingActivity { - s.Description = &v - return s -} - -// SetDetails sets the Details field's value. -func (s *ScalingActivity) SetDetails(v string) *ScalingActivity { - s.Details = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *ScalingActivity) SetEndTime(v time.Time) *ScalingActivity { - s.EndTime = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *ScalingActivity) SetResourceId(v string) *ScalingActivity { - s.ResourceId = &v - return s -} - -// SetScalableDimension sets the ScalableDimension field's value. -func (s *ScalingActivity) SetScalableDimension(v ScalableDimension) *ScalingActivity { - s.ScalableDimension = v - return s -} - -// SetServiceNamespace sets the ServiceNamespace field's value. -func (s *ScalingActivity) SetServiceNamespace(v ServiceNamespace) *ScalingActivity { - s.ServiceNamespace = v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *ScalingActivity) SetStartTime(v time.Time) *ScalingActivity { - s.StartTime = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *ScalingActivity) SetStatusCode(v ScalingActivityStatusCode) *ScalingActivity { - s.StatusCode = v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *ScalingActivity) SetStatusMessage(v string) *ScalingActivity { - s.StatusMessage = &v - return s -} - // Represents a scaling policy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ScalingPolicy type ScalingPolicy struct { @@ -3284,66 +2714,6 @@ func (s ScalingPolicy) GoString() string { return s.String() } -// SetAlarms sets the Alarms field's value. -func (s *ScalingPolicy) SetAlarms(v []Alarm) *ScalingPolicy { - s.Alarms = v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *ScalingPolicy) SetCreationTime(v time.Time) *ScalingPolicy { - s.CreationTime = &v - return s -} - -// SetPolicyARN sets the PolicyARN field's value. -func (s *ScalingPolicy) SetPolicyARN(v string) *ScalingPolicy { - s.PolicyARN = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *ScalingPolicy) SetPolicyName(v string) *ScalingPolicy { - s.PolicyName = &v - return s -} - -// SetPolicyType sets the PolicyType field's value. -func (s *ScalingPolicy) SetPolicyType(v PolicyType) *ScalingPolicy { - s.PolicyType = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *ScalingPolicy) SetResourceId(v string) *ScalingPolicy { - s.ResourceId = &v - return s -} - -// SetScalableDimension sets the ScalableDimension field's value. -func (s *ScalingPolicy) SetScalableDimension(v ScalableDimension) *ScalingPolicy { - s.ScalableDimension = v - return s -} - -// SetServiceNamespace sets the ServiceNamespace field's value. -func (s *ScalingPolicy) SetServiceNamespace(v ServiceNamespace) *ScalingPolicy { - s.ServiceNamespace = v - return s -} - -// SetStepScalingPolicyConfiguration sets the StepScalingPolicyConfiguration field's value. -func (s *ScalingPolicy) SetStepScalingPolicyConfiguration(v *StepScalingPolicyConfiguration) *ScalingPolicy { - s.StepScalingPolicyConfiguration = v - return s -} - -// SetTargetTrackingScalingPolicyConfiguration sets the TargetTrackingScalingPolicyConfiguration field's value. -func (s *ScalingPolicy) SetTargetTrackingScalingPolicyConfiguration(v *TargetTrackingScalingPolicyConfiguration) *ScalingPolicy { - s.TargetTrackingScalingPolicyConfiguration = v - return s -} - // Represents a scheduled action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ScheduledAction type ScheduledAction struct { @@ -3470,66 +2840,6 @@ func (s ScheduledAction) GoString() string { return s.String() } -// SetCreationTime sets the CreationTime field's value. -func (s *ScheduledAction) SetCreationTime(v time.Time) *ScheduledAction { - s.CreationTime = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *ScheduledAction) SetEndTime(v time.Time) *ScheduledAction { - s.EndTime = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *ScheduledAction) SetResourceId(v string) *ScheduledAction { - s.ResourceId = &v - return s -} - -// SetScalableDimension sets the ScalableDimension field's value. -func (s *ScheduledAction) SetScalableDimension(v ScalableDimension) *ScheduledAction { - s.ScalableDimension = v - return s -} - -// SetScalableTargetAction sets the ScalableTargetAction field's value. -func (s *ScheduledAction) SetScalableTargetAction(v *ScalableTargetAction) *ScheduledAction { - s.ScalableTargetAction = v - return s -} - -// SetSchedule sets the Schedule field's value. -func (s *ScheduledAction) SetSchedule(v string) *ScheduledAction { - s.Schedule = &v - return s -} - -// SetScheduledActionARN sets the ScheduledActionARN field's value. -func (s *ScheduledAction) SetScheduledActionARN(v string) *ScheduledAction { - s.ScheduledActionARN = &v - return s -} - -// SetScheduledActionName sets the ScheduledActionName field's value. -func (s *ScheduledAction) SetScheduledActionName(v string) *ScheduledAction { - s.ScheduledActionName = &v - return s -} - -// SetServiceNamespace sets the ServiceNamespace field's value. -func (s *ScheduledAction) SetServiceNamespace(v ServiceNamespace) *ScheduledAction { - s.ServiceNamespace = v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *ScheduledAction) SetStartTime(v time.Time) *ScheduledAction { - s.StartTime = &v - return s -} - // Represents a step adjustment for a StepScalingPolicyConfiguration. Describes // an adjustment based on the difference between the value of the aggregated // CloudWatch metric and the breach threshold that you've defined for the alarm. @@ -3611,24 +2921,6 @@ func (s *StepAdjustment) Validate() error { return nil } -// SetMetricIntervalLowerBound sets the MetricIntervalLowerBound field's value. -func (s *StepAdjustment) SetMetricIntervalLowerBound(v float64) *StepAdjustment { - s.MetricIntervalLowerBound = &v - return s -} - -// SetMetricIntervalUpperBound sets the MetricIntervalUpperBound field's value. -func (s *StepAdjustment) SetMetricIntervalUpperBound(v float64) *StepAdjustment { - s.MetricIntervalUpperBound = &v - return s -} - -// SetScalingAdjustment sets the ScalingAdjustment field's value. -func (s *StepAdjustment) SetScalingAdjustment(v int64) *StepAdjustment { - s.ScalingAdjustment = &v - return s -} - // Represents a step scaling policy configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/StepScalingPolicyConfiguration type StepScalingPolicyConfiguration struct { @@ -3702,36 +2994,6 @@ func (s *StepScalingPolicyConfiguration) Validate() error { return nil } -// SetAdjustmentType sets the AdjustmentType field's value. -func (s *StepScalingPolicyConfiguration) SetAdjustmentType(v AdjustmentType) *StepScalingPolicyConfiguration { - s.AdjustmentType = v - return s -} - -// SetCooldown sets the Cooldown field's value. -func (s *StepScalingPolicyConfiguration) SetCooldown(v int64) *StepScalingPolicyConfiguration { - s.Cooldown = &v - return s -} - -// SetMetricAggregationType sets the MetricAggregationType field's value. -func (s *StepScalingPolicyConfiguration) SetMetricAggregationType(v MetricAggregationType) *StepScalingPolicyConfiguration { - s.MetricAggregationType = v - return s -} - -// SetMinAdjustmentMagnitude sets the MinAdjustmentMagnitude field's value. -func (s *StepScalingPolicyConfiguration) SetMinAdjustmentMagnitude(v int64) *StepScalingPolicyConfiguration { - s.MinAdjustmentMagnitude = &v - return s -} - -// SetStepAdjustments sets the StepAdjustments field's value. -func (s *StepScalingPolicyConfiguration) SetStepAdjustments(v []StepAdjustment) *StepScalingPolicyConfiguration { - s.StepAdjustments = v - return s -} - // Represents a target tracking scaling policy configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/TargetTrackingScalingPolicyConfiguration type TargetTrackingScalingPolicyConfiguration struct { @@ -3810,42 +3072,6 @@ func (s *TargetTrackingScalingPolicyConfiguration) Validate() error { return nil } -// SetCustomizedMetricSpecification sets the CustomizedMetricSpecification field's value. -func (s *TargetTrackingScalingPolicyConfiguration) SetCustomizedMetricSpecification(v *CustomizedMetricSpecification) *TargetTrackingScalingPolicyConfiguration { - s.CustomizedMetricSpecification = v - return s -} - -// SetDisableScaleIn sets the DisableScaleIn field's value. -func (s *TargetTrackingScalingPolicyConfiguration) SetDisableScaleIn(v bool) *TargetTrackingScalingPolicyConfiguration { - s.DisableScaleIn = &v - return s -} - -// SetPredefinedMetricSpecification sets the PredefinedMetricSpecification field's value. -func (s *TargetTrackingScalingPolicyConfiguration) SetPredefinedMetricSpecification(v *PredefinedMetricSpecification) *TargetTrackingScalingPolicyConfiguration { - s.PredefinedMetricSpecification = v - return s -} - -// SetScaleInCooldown sets the ScaleInCooldown field's value. -func (s *TargetTrackingScalingPolicyConfiguration) SetScaleInCooldown(v int64) *TargetTrackingScalingPolicyConfiguration { - s.ScaleInCooldown = &v - return s -} - -// SetScaleOutCooldown sets the ScaleOutCooldown field's value. -func (s *TargetTrackingScalingPolicyConfiguration) SetScaleOutCooldown(v int64) *TargetTrackingScalingPolicyConfiguration { - s.ScaleOutCooldown = &v - return s -} - -// SetTargetValue sets the TargetValue field's value. -func (s *TargetTrackingScalingPolicyConfiguration) SetTargetValue(v float64) *TargetTrackingScalingPolicyConfiguration { - s.TargetValue = &v - return s -} - type AdjustmentType string // Enum values for AdjustmentType diff --git a/service/applicationdiscoveryservice/api.go b/service/applicationdiscoveryservice/api.go index 4c1ad46b31d..4d900ed30a0 100644 --- a/service/applicationdiscoveryservice/api.go +++ b/service/applicationdiscoveryservice/api.go @@ -1011,24 +1011,6 @@ func (s AgentConfigurationStatus) GoString() string { return s.String() } -// SetAgentId sets the AgentId field's value. -func (s *AgentConfigurationStatus) SetAgentId(v string) *AgentConfigurationStatus { - s.AgentId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *AgentConfigurationStatus) SetDescription(v string) *AgentConfigurationStatus { - s.Description = &v - return s -} - -// SetOperationSucceeded sets the OperationSucceeded field's value. -func (s *AgentConfigurationStatus) SetOperationSucceeded(v bool) *AgentConfigurationStatus { - s.OperationSucceeded = &v - return s -} - // Information about agents or connectors associated with the user’s AWS account. // Information includes agent or connector IDs, IP addresses, media access control // (MAC) addresses, agent or connector health, hostname where the agent or connector @@ -1079,66 +1061,6 @@ func (s AgentInfo) GoString() string { return s.String() } -// SetAgentId sets the AgentId field's value. -func (s *AgentInfo) SetAgentId(v string) *AgentInfo { - s.AgentId = &v - return s -} - -// SetAgentNetworkInfoList sets the AgentNetworkInfoList field's value. -func (s *AgentInfo) SetAgentNetworkInfoList(v []AgentNetworkInfo) *AgentInfo { - s.AgentNetworkInfoList = v - return s -} - -// SetAgentType sets the AgentType field's value. -func (s *AgentInfo) SetAgentType(v string) *AgentInfo { - s.AgentType = &v - return s -} - -// SetCollectionStatus sets the CollectionStatus field's value. -func (s *AgentInfo) SetCollectionStatus(v string) *AgentInfo { - s.CollectionStatus = &v - return s -} - -// SetConnectorId sets the ConnectorId field's value. -func (s *AgentInfo) SetConnectorId(v string) *AgentInfo { - s.ConnectorId = &v - return s -} - -// SetHealth sets the Health field's value. -func (s *AgentInfo) SetHealth(v AgentStatus) *AgentInfo { - s.Health = v - return s -} - -// SetHostName sets the HostName field's value. -func (s *AgentInfo) SetHostName(v string) *AgentInfo { - s.HostName = &v - return s -} - -// SetLastHealthPingTime sets the LastHealthPingTime field's value. -func (s *AgentInfo) SetLastHealthPingTime(v string) *AgentInfo { - s.LastHealthPingTime = &v - return s -} - -// SetRegisteredTime sets the RegisteredTime field's value. -func (s *AgentInfo) SetRegisteredTime(v string) *AgentInfo { - s.RegisteredTime = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *AgentInfo) SetVersion(v string) *AgentInfo { - s.Version = &v - return s -} - // Network details about the host where the agent/connector resides. // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/AgentNetworkInfo type AgentNetworkInfo struct { @@ -1161,18 +1083,6 @@ func (s AgentNetworkInfo) GoString() string { return s.String() } -// SetIpAddress sets the IpAddress field's value. -func (s *AgentNetworkInfo) SetIpAddress(v string) *AgentNetworkInfo { - s.IpAddress = &v - return s -} - -// SetMacAddress sets the MacAddress field's value. -func (s *AgentNetworkInfo) SetMacAddress(v string) *AgentNetworkInfo { - s.MacAddress = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/AssociateConfigurationItemsToApplicationRequest type AssociateConfigurationItemsToApplicationInput struct { _ struct{} `type:"structure"` @@ -1216,18 +1126,6 @@ func (s *AssociateConfigurationItemsToApplicationInput) Validate() error { return nil } -// SetApplicationConfigurationId sets the ApplicationConfigurationId field's value. -func (s *AssociateConfigurationItemsToApplicationInput) SetApplicationConfigurationId(v string) *AssociateConfigurationItemsToApplicationInput { - s.ApplicationConfigurationId = &v - return s -} - -// SetConfigurationIds sets the ConfigurationIds field's value. -func (s *AssociateConfigurationItemsToApplicationInput) SetConfigurationIds(v []string) *AssociateConfigurationItemsToApplicationInput { - s.ConfigurationIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/AssociateConfigurationItemsToApplicationResponse type AssociateConfigurationItemsToApplicationOutput struct { _ struct{} `type:"structure"` @@ -1285,36 +1183,6 @@ func (s ConfigurationTag) GoString() string { return s.String() } -// SetConfigurationId sets the ConfigurationId field's value. -func (s *ConfigurationTag) SetConfigurationId(v string) *ConfigurationTag { - s.ConfigurationId = &v - return s -} - -// SetConfigurationType sets the ConfigurationType field's value. -func (s *ConfigurationTag) SetConfigurationType(v ConfigurationItemType) *ConfigurationTag { - s.ConfigurationType = v - return s -} - -// SetKey sets the Key field's value. -func (s *ConfigurationTag) SetKey(v string) *ConfigurationTag { - s.Key = &v - return s -} - -// SetTimeOfCreation sets the TimeOfCreation field's value. -func (s *ConfigurationTag) SetTimeOfCreation(v time.Time) *ConfigurationTag { - s.TimeOfCreation = &v - return s -} - -// SetValue sets the Value field's value. -func (s *ConfigurationTag) SetValue(v string) *ConfigurationTag { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateApplicationRequest type CreateApplicationInput struct { _ struct{} `type:"structure"` @@ -1352,18 +1220,6 @@ func (s *CreateApplicationInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateApplicationInput) SetDescription(v string) *CreateApplicationInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateApplicationInput) SetName(v string) *CreateApplicationInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateApplicationResponse type CreateApplicationOutput struct { _ struct{} `type:"structure"` @@ -1389,12 +1245,6 @@ func (s CreateApplicationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConfigurationId sets the ConfigurationId field's value. -func (s *CreateApplicationOutput) SetConfigurationId(v string) *CreateApplicationOutput { - s.ConfigurationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateTagsRequest type CreateTagsInput struct { _ struct{} `type:"structure"` @@ -1448,18 +1298,6 @@ func (s *CreateTagsInput) Validate() error { return nil } -// SetConfigurationIds sets the ConfigurationIds field's value. -func (s *CreateTagsInput) SetConfigurationIds(v []string) *CreateTagsInput { - s.ConfigurationIds = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateTagsInput) SetTags(v []Tag) *CreateTagsInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateTagsResponse type CreateTagsOutput struct { _ struct{} `type:"structure"` @@ -1533,48 +1371,6 @@ func (s CustomerAgentInfo) GoString() string { return s.String() } -// SetActiveAgents sets the ActiveAgents field's value. -func (s *CustomerAgentInfo) SetActiveAgents(v int64) *CustomerAgentInfo { - s.ActiveAgents = &v - return s -} - -// SetBlackListedAgents sets the BlackListedAgents field's value. -func (s *CustomerAgentInfo) SetBlackListedAgents(v int64) *CustomerAgentInfo { - s.BlackListedAgents = &v - return s -} - -// SetHealthyAgents sets the HealthyAgents field's value. -func (s *CustomerAgentInfo) SetHealthyAgents(v int64) *CustomerAgentInfo { - s.HealthyAgents = &v - return s -} - -// SetShutdownAgents sets the ShutdownAgents field's value. -func (s *CustomerAgentInfo) SetShutdownAgents(v int64) *CustomerAgentInfo { - s.ShutdownAgents = &v - return s -} - -// SetTotalAgents sets the TotalAgents field's value. -func (s *CustomerAgentInfo) SetTotalAgents(v int64) *CustomerAgentInfo { - s.TotalAgents = &v - return s -} - -// SetUnhealthyAgents sets the UnhealthyAgents field's value. -func (s *CustomerAgentInfo) SetUnhealthyAgents(v int64) *CustomerAgentInfo { - s.UnhealthyAgents = &v - return s -} - -// SetUnknownAgents sets the UnknownAgents field's value. -func (s *CustomerAgentInfo) SetUnknownAgents(v int64) *CustomerAgentInfo { - s.UnknownAgents = &v - return s -} - // Inventory data for installed discovery connectors. // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CustomerConnectorInfo type CustomerConnectorInfo struct { @@ -1626,48 +1422,6 @@ func (s CustomerConnectorInfo) GoString() string { return s.String() } -// SetActiveConnectors sets the ActiveConnectors field's value. -func (s *CustomerConnectorInfo) SetActiveConnectors(v int64) *CustomerConnectorInfo { - s.ActiveConnectors = &v - return s -} - -// SetBlackListedConnectors sets the BlackListedConnectors field's value. -func (s *CustomerConnectorInfo) SetBlackListedConnectors(v int64) *CustomerConnectorInfo { - s.BlackListedConnectors = &v - return s -} - -// SetHealthyConnectors sets the HealthyConnectors field's value. -func (s *CustomerConnectorInfo) SetHealthyConnectors(v int64) *CustomerConnectorInfo { - s.HealthyConnectors = &v - return s -} - -// SetShutdownConnectors sets the ShutdownConnectors field's value. -func (s *CustomerConnectorInfo) SetShutdownConnectors(v int64) *CustomerConnectorInfo { - s.ShutdownConnectors = &v - return s -} - -// SetTotalConnectors sets the TotalConnectors field's value. -func (s *CustomerConnectorInfo) SetTotalConnectors(v int64) *CustomerConnectorInfo { - s.TotalConnectors = &v - return s -} - -// SetUnhealthyConnectors sets the UnhealthyConnectors field's value. -func (s *CustomerConnectorInfo) SetUnhealthyConnectors(v int64) *CustomerConnectorInfo { - s.UnhealthyConnectors = &v - return s -} - -// SetUnknownConnectors sets the UnknownConnectors field's value. -func (s *CustomerConnectorInfo) SetUnknownConnectors(v int64) *CustomerConnectorInfo { - s.UnknownConnectors = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteApplicationsRequest type DeleteApplicationsInput struct { _ struct{} `type:"structure"` @@ -1702,12 +1456,6 @@ func (s *DeleteApplicationsInput) Validate() error { return nil } -// SetConfigurationIds sets the ConfigurationIds field's value. -func (s *DeleteApplicationsInput) SetConfigurationIds(v []string) *DeleteApplicationsInput { - s.ConfigurationIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteApplicationsResponse type DeleteApplicationsOutput struct { _ struct{} `type:"structure"` @@ -1777,18 +1525,6 @@ func (s *DeleteTagsInput) Validate() error { return nil } -// SetConfigurationIds sets the ConfigurationIds field's value. -func (s *DeleteTagsInput) SetConfigurationIds(v []string) *DeleteTagsInput { - s.ConfigurationIds = v - return s -} - -// SetTags sets the Tags field's value. -func (s *DeleteTagsInput) SetTags(v []Tag) *DeleteTagsInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteTagsResponse type DeleteTagsOutput struct { _ struct{} `type:"structure"` @@ -1864,30 +1600,6 @@ func (s *DescribeAgentsInput) Validate() error { return nil } -// SetAgentIds sets the AgentIds field's value. -func (s *DescribeAgentsInput) SetAgentIds(v []string) *DescribeAgentsInput { - s.AgentIds = v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeAgentsInput) SetFilters(v []Filter) *DescribeAgentsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeAgentsInput) SetMaxResults(v int64) *DescribeAgentsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAgentsInput) SetNextToken(v string) *DescribeAgentsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeAgentsResponse type DescribeAgentsOutput struct { _ struct{} `type:"structure"` @@ -1923,18 +1635,6 @@ func (s DescribeAgentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAgentsInfo sets the AgentsInfo field's value. -func (s *DescribeAgentsOutput) SetAgentsInfo(v []AgentInfo) *DescribeAgentsOutput { - s.AgentsInfo = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAgentsOutput) SetNextToken(v string) *DescribeAgentsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeConfigurationsRequest type DescribeConfigurationsInput struct { _ struct{} `type:"structure"` @@ -1969,12 +1669,6 @@ func (s *DescribeConfigurationsInput) Validate() error { return nil } -// SetConfigurationIds sets the ConfigurationIds field's value. -func (s *DescribeConfigurationsInput) SetConfigurationIds(v []string) *DescribeConfigurationsInput { - s.ConfigurationIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeConfigurationsResponse type DescribeConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -2000,12 +1694,6 @@ func (s DescribeConfigurationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConfigurations sets the Configurations field's value. -func (s *DescribeConfigurationsOutput) SetConfigurations(v []map[string]string) *DescribeConfigurationsOutput { - s.Configurations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportConfigurationsRequest type DescribeExportConfigurationsInput struct { _ struct{} `type:"structure"` @@ -2033,24 +1721,6 @@ func (s DescribeExportConfigurationsInput) GoString() string { return s.String() } -// SetExportIds sets the ExportIds field's value. -func (s *DescribeExportConfigurationsInput) SetExportIds(v []string) *DescribeExportConfigurationsInput { - s.ExportIds = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeExportConfigurationsInput) SetMaxResults(v int64) *DescribeExportConfigurationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeExportConfigurationsInput) SetNextToken(v string) *DescribeExportConfigurationsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportConfigurationsResponse type DescribeExportConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -2083,18 +1753,6 @@ func (s DescribeExportConfigurationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExportsInfo sets the ExportsInfo field's value. -func (s *DescribeExportConfigurationsOutput) SetExportsInfo(v []ExportInfo) *DescribeExportConfigurationsOutput { - s.ExportsInfo = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeExportConfigurationsOutput) SetNextToken(v string) *DescribeExportConfigurationsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportTasksRequest type DescribeExportTasksInput struct { _ struct{} `type:"structure"` @@ -2147,30 +1805,6 @@ func (s *DescribeExportTasksInput) Validate() error { return nil } -// SetExportIds sets the ExportIds field's value. -func (s *DescribeExportTasksInput) SetExportIds(v []string) *DescribeExportTasksInput { - s.ExportIds = v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeExportTasksInput) SetFilters(v []ExportFilter) *DescribeExportTasksInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeExportTasksInput) SetMaxResults(v int64) *DescribeExportTasksInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeExportTasksInput) SetNextToken(v string) *DescribeExportTasksInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportTasksResponse type DescribeExportTasksOutput struct { _ struct{} `type:"structure"` @@ -2204,18 +1838,6 @@ func (s DescribeExportTasksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExportsInfo sets the ExportsInfo field's value. -func (s *DescribeExportTasksOutput) SetExportsInfo(v []ExportInfo) *DescribeExportTasksOutput { - s.ExportsInfo = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeExportTasksOutput) SetNextToken(v string) *DescribeExportTasksOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeTagsRequest type DescribeTagsInput struct { _ struct{} `type:"structure"` @@ -2260,24 +1882,6 @@ func (s *DescribeTagsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeTagsInput) SetFilters(v []TagFilter) *DescribeTagsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeTagsInput) SetMaxResults(v int64) *DescribeTagsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeTagsInput) SetNextToken(v string) *DescribeTagsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeTagsResponse type DescribeTagsOutput struct { _ struct{} `type:"structure"` @@ -2307,18 +1911,6 @@ func (s DescribeTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeTagsOutput) SetNextToken(v string) *DescribeTagsOutput { - s.NextToken = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *DescribeTagsOutput) SetTags(v []ConfigurationTag) *DescribeTagsOutput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DisassociateConfigurationItemsFromApplicationRequest type DisassociateConfigurationItemsFromApplicationInput struct { _ struct{} `type:"structure"` @@ -2362,18 +1954,6 @@ func (s *DisassociateConfigurationItemsFromApplicationInput) Validate() error { return nil } -// SetApplicationConfigurationId sets the ApplicationConfigurationId field's value. -func (s *DisassociateConfigurationItemsFromApplicationInput) SetApplicationConfigurationId(v string) *DisassociateConfigurationItemsFromApplicationInput { - s.ApplicationConfigurationId = &v - return s -} - -// SetConfigurationIds sets the ConfigurationIds field's value. -func (s *DisassociateConfigurationItemsFromApplicationInput) SetConfigurationIds(v []string) *DisassociateConfigurationItemsFromApplicationInput { - s.ConfigurationIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DisassociateConfigurationItemsFromApplicationResponse type DisassociateConfigurationItemsFromApplicationOutput struct { _ struct{} `type:"structure"` @@ -2436,12 +2016,6 @@ func (s ExportConfigurationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExportId sets the ExportId field's value. -func (s *ExportConfigurationsOutput) SetExportId(v string) *ExportConfigurationsOutput { - s.ExportId = &v - return s -} - // Used to select which agent's data is to be exported. A single agent ID may // be selected for export using the StartExportTask (http://docs.aws.amazon.com/application-discovery/latest/APIReference/API_StartExportTask.html) // action. @@ -2499,24 +2073,6 @@ func (s *ExportFilter) Validate() error { return nil } -// SetCondition sets the Condition field's value. -func (s *ExportFilter) SetCondition(v string) *ExportFilter { - s.Condition = &v - return s -} - -// SetName sets the Name field's value. -func (s *ExportFilter) SetName(v string) *ExportFilter { - s.Name = &v - return s -} - -// SetValues sets the Values field's value. -func (s *ExportFilter) SetValues(v []string) *ExportFilter { - s.Values = v - return s -} - // Information regarding the export status of discovered data. The value is // an array of objects. // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ExportInfo @@ -2572,54 +2128,6 @@ func (s ExportInfo) GoString() string { return s.String() } -// SetConfigurationsDownloadUrl sets the ConfigurationsDownloadUrl field's value. -func (s *ExportInfo) SetConfigurationsDownloadUrl(v string) *ExportInfo { - s.ConfigurationsDownloadUrl = &v - return s -} - -// SetExportId sets the ExportId field's value. -func (s *ExportInfo) SetExportId(v string) *ExportInfo { - s.ExportId = &v - return s -} - -// SetExportRequestTime sets the ExportRequestTime field's value. -func (s *ExportInfo) SetExportRequestTime(v time.Time) *ExportInfo { - s.ExportRequestTime = &v - return s -} - -// SetExportStatus sets the ExportStatus field's value. -func (s *ExportInfo) SetExportStatus(v ExportStatus) *ExportInfo { - s.ExportStatus = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ExportInfo) SetIsTruncated(v bool) *ExportInfo { - s.IsTruncated = &v - return s -} - -// SetRequestedEndTime sets the RequestedEndTime field's value. -func (s *ExportInfo) SetRequestedEndTime(v time.Time) *ExportInfo { - s.RequestedEndTime = &v - return s -} - -// SetRequestedStartTime sets the RequestedStartTime field's value. -func (s *ExportInfo) SetRequestedStartTime(v time.Time) *ExportInfo { - s.RequestedStartTime = &v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *ExportInfo) SetStatusMessage(v string) *ExportInfo { - s.StatusMessage = &v - return s -} - // A filter that can use conditional operators. // // For more information about filters, see Querying Discovered Configuration @@ -2682,24 +2190,6 @@ func (s *Filter) Validate() error { return nil } -// SetCondition sets the Condition field's value. -func (s *Filter) SetCondition(v string) *Filter { - s.Condition = &v - return s -} - -// SetName sets the Name field's value. -func (s *Filter) SetName(v string) *Filter { - s.Name = &v - return s -} - -// SetValues sets the Values field's value. -func (s *Filter) SetValues(v []string) *Filter { - s.Values = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/GetDiscoverySummaryRequest type GetDiscoverySummaryInput struct { _ struct{} `type:"structure"` @@ -2755,42 +2245,6 @@ func (s GetDiscoverySummaryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAgentSummary sets the AgentSummary field's value. -func (s *GetDiscoverySummaryOutput) SetAgentSummary(v *CustomerAgentInfo) *GetDiscoverySummaryOutput { - s.AgentSummary = v - return s -} - -// SetApplications sets the Applications field's value. -func (s *GetDiscoverySummaryOutput) SetApplications(v int64) *GetDiscoverySummaryOutput { - s.Applications = &v - return s -} - -// SetConnectorSummary sets the ConnectorSummary field's value. -func (s *GetDiscoverySummaryOutput) SetConnectorSummary(v *CustomerConnectorInfo) *GetDiscoverySummaryOutput { - s.ConnectorSummary = v - return s -} - -// SetServers sets the Servers field's value. -func (s *GetDiscoverySummaryOutput) SetServers(v int64) *GetDiscoverySummaryOutput { - s.Servers = &v - return s -} - -// SetServersMappedToApplications sets the ServersMappedToApplications field's value. -func (s *GetDiscoverySummaryOutput) SetServersMappedToApplications(v int64) *GetDiscoverySummaryOutput { - s.ServersMappedToApplications = &v - return s -} - -// SetServersMappedtoTags sets the ServersMappedtoTags field's value. -func (s *GetDiscoverySummaryOutput) SetServersMappedtoTags(v int64) *GetDiscoverySummaryOutput { - s.ServersMappedtoTags = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListConfigurationsRequest type ListConfigurationsInput struct { _ struct{} `type:"structure"` @@ -2861,36 +2315,6 @@ func (s *ListConfigurationsInput) Validate() error { return nil } -// SetConfigurationType sets the ConfigurationType field's value. -func (s *ListConfigurationsInput) SetConfigurationType(v ConfigurationItemType) *ListConfigurationsInput { - s.ConfigurationType = v - return s -} - -// SetFilters sets the Filters field's value. -func (s *ListConfigurationsInput) SetFilters(v []Filter) *ListConfigurationsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListConfigurationsInput) SetMaxResults(v int64) *ListConfigurationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListConfigurationsInput) SetNextToken(v string) *ListConfigurationsInput { - s.NextToken = &v - return s -} - -// SetOrderBy sets the OrderBy field's value. -func (s *ListConfigurationsInput) SetOrderBy(v []OrderByElement) *ListConfigurationsInput { - s.OrderBy = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListConfigurationsResponse type ListConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -2923,18 +2347,6 @@ func (s ListConfigurationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConfigurations sets the Configurations field's value. -func (s *ListConfigurationsOutput) SetConfigurations(v []map[string]string) *ListConfigurationsOutput { - s.Configurations = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListConfigurationsOutput) SetNextToken(v string) *ListConfigurationsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListServerNeighborsRequest type ListServerNeighborsInput struct { _ struct{} `type:"structure"` @@ -2986,36 +2398,6 @@ func (s *ListServerNeighborsInput) Validate() error { return nil } -// SetConfigurationId sets the ConfigurationId field's value. -func (s *ListServerNeighborsInput) SetConfigurationId(v string) *ListServerNeighborsInput { - s.ConfigurationId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListServerNeighborsInput) SetMaxResults(v int64) *ListServerNeighborsInput { - s.MaxResults = &v - return s -} - -// SetNeighborConfigurationIds sets the NeighborConfigurationIds field's value. -func (s *ListServerNeighborsInput) SetNeighborConfigurationIds(v []string) *ListServerNeighborsInput { - s.NeighborConfigurationIds = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListServerNeighborsInput) SetNextToken(v string) *ListServerNeighborsInput { - s.NextToken = &v - return s -} - -// SetPortInformationNeeded sets the PortInformationNeeded field's value. -func (s *ListServerNeighborsInput) SetPortInformationNeeded(v bool) *ListServerNeighborsInput { - s.PortInformationNeeded = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListServerNeighborsResponse type ListServerNeighborsOutput struct { _ struct{} `type:"structure"` @@ -3052,24 +2434,6 @@ func (s ListServerNeighborsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetKnownDependencyCount sets the KnownDependencyCount field's value. -func (s *ListServerNeighborsOutput) SetKnownDependencyCount(v int64) *ListServerNeighborsOutput { - s.KnownDependencyCount = &v - return s -} - -// SetNeighbors sets the Neighbors field's value. -func (s *ListServerNeighborsOutput) SetNeighbors(v []NeighborConnectionDetail) *ListServerNeighborsOutput { - s.Neighbors = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListServerNeighborsOutput) SetNextToken(v string) *ListServerNeighborsOutput { - s.NextToken = &v - return s -} - // Details about neighboring servers. // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/NeighborConnectionDetail type NeighborConnectionDetail struct { @@ -3107,36 +2471,6 @@ func (s NeighborConnectionDetail) GoString() string { return s.String() } -// SetConnectionsCount sets the ConnectionsCount field's value. -func (s *NeighborConnectionDetail) SetConnectionsCount(v int64) *NeighborConnectionDetail { - s.ConnectionsCount = &v - return s -} - -// SetDestinationPort sets the DestinationPort field's value. -func (s *NeighborConnectionDetail) SetDestinationPort(v int64) *NeighborConnectionDetail { - s.DestinationPort = &v - return s -} - -// SetDestinationServerId sets the DestinationServerId field's value. -func (s *NeighborConnectionDetail) SetDestinationServerId(v string) *NeighborConnectionDetail { - s.DestinationServerId = &v - return s -} - -// SetSourceServerId sets the SourceServerId field's value. -func (s *NeighborConnectionDetail) SetSourceServerId(v string) *NeighborConnectionDetail { - s.SourceServerId = &v - return s -} - -// SetTransportProtocol sets the TransportProtocol field's value. -func (s *NeighborConnectionDetail) SetTransportProtocol(v string) *NeighborConnectionDetail { - s.TransportProtocol = &v - return s -} - // A field and direction for ordered output. // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/OrderByElement type OrderByElement struct { @@ -3175,18 +2509,6 @@ func (s *OrderByElement) Validate() error { return nil } -// SetFieldName sets the FieldName field's value. -func (s *OrderByElement) SetFieldName(v string) *OrderByElement { - s.FieldName = &v - return s -} - -// SetSortOrder sets the SortOrder field's value. -func (s *OrderByElement) SetSortOrder(v OrderString) *OrderByElement { - s.SortOrder = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartDataCollectionByAgentIdsRequest type StartDataCollectionByAgentIdsInput struct { _ struct{} `type:"structure"` @@ -3227,12 +2549,6 @@ func (s *StartDataCollectionByAgentIdsInput) Validate() error { return nil } -// SetAgentIds sets the AgentIds field's value. -func (s *StartDataCollectionByAgentIdsInput) SetAgentIds(v []string) *StartDataCollectionByAgentIdsInput { - s.AgentIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartDataCollectionByAgentIdsResponse type StartDataCollectionByAgentIdsOutput struct { _ struct{} `type:"structure"` @@ -3260,12 +2576,6 @@ func (s StartDataCollectionByAgentIdsOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetAgentsConfigurationStatus sets the AgentsConfigurationStatus field's value. -func (s *StartDataCollectionByAgentIdsOutput) SetAgentsConfigurationStatus(v []AgentConfigurationStatus) *StartDataCollectionByAgentIdsOutput { - s.AgentsConfigurationStatus = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartExportTaskRequest type StartExportTaskInput struct { _ struct{} `type:"structure"` @@ -3319,30 +2629,6 @@ func (s *StartExportTaskInput) Validate() error { return nil } -// SetEndTime sets the EndTime field's value. -func (s *StartExportTaskInput) SetEndTime(v time.Time) *StartExportTaskInput { - s.EndTime = &v - return s -} - -// SetExportDataFormat sets the ExportDataFormat field's value. -func (s *StartExportTaskInput) SetExportDataFormat(v []ExportDataFormat) *StartExportTaskInput { - s.ExportDataFormat = v - return s -} - -// SetFilters sets the Filters field's value. -func (s *StartExportTaskInput) SetFilters(v []ExportFilter) *StartExportTaskInput { - s.Filters = v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *StartExportTaskInput) SetStartTime(v time.Time) *StartExportTaskInput { - s.StartTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartExportTaskResponse type StartExportTaskOutput struct { _ struct{} `type:"structure"` @@ -3368,12 +2654,6 @@ func (s StartExportTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExportId sets the ExportId field's value. -func (s *StartExportTaskOutput) SetExportId(v string) *StartExportTaskOutput { - s.ExportId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StopDataCollectionByAgentIdsRequest type StopDataCollectionByAgentIdsInput struct { _ struct{} `type:"structure"` @@ -3408,12 +2688,6 @@ func (s *StopDataCollectionByAgentIdsInput) Validate() error { return nil } -// SetAgentIds sets the AgentIds field's value. -func (s *StopDataCollectionByAgentIdsInput) SetAgentIds(v []string) *StopDataCollectionByAgentIdsInput { - s.AgentIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StopDataCollectionByAgentIdsResponse type StopDataCollectionByAgentIdsOutput struct { _ struct{} `type:"structure"` @@ -3441,12 +2715,6 @@ func (s StopDataCollectionByAgentIdsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAgentsConfigurationStatus sets the AgentsConfigurationStatus field's value. -func (s *StopDataCollectionByAgentIdsOutput) SetAgentsConfigurationStatus(v []AgentConfigurationStatus) *StopDataCollectionByAgentIdsOutput { - s.AgentsConfigurationStatus = v - return s -} - // Metadata that help you categorize IT assets. // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/Tag type Tag struct { @@ -3491,18 +2759,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // The tag filter. Valid names are: tagKey, tagValue, configurationId. // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/TagFilter type TagFilter struct { @@ -3547,18 +2803,6 @@ func (s *TagFilter) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *TagFilter) SetName(v string) *TagFilter { - s.Name = &v - return s -} - -// SetValues sets the Values field's value. -func (s *TagFilter) SetValues(v []string) *TagFilter { - s.Values = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/UpdateApplicationRequest type UpdateApplicationInput struct { _ struct{} `type:"structure"` @@ -3599,24 +2843,6 @@ func (s *UpdateApplicationInput) Validate() error { return nil } -// SetConfigurationId sets the ConfigurationId field's value. -func (s *UpdateApplicationInput) SetConfigurationId(v string) *UpdateApplicationInput { - s.ConfigurationId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateApplicationInput) SetDescription(v string) *UpdateApplicationInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateApplicationInput) SetName(v string) *UpdateApplicationInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/UpdateApplicationResponse type UpdateApplicationOutput struct { _ struct{} `type:"structure"` diff --git a/service/appstream/api.go b/service/appstream/api.go index 21f2b004efb..fe329828a48 100644 --- a/service/appstream/api.go +++ b/service/appstream/api.go @@ -1648,48 +1648,6 @@ func (s Application) GoString() string { return s.String() } -// SetDisplayName sets the DisplayName field's value. -func (s *Application) SetDisplayName(v string) *Application { - s.DisplayName = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *Application) SetEnabled(v bool) *Application { - s.Enabled = &v - return s -} - -// SetIconURL sets the IconURL field's value. -func (s *Application) SetIconURL(v string) *Application { - s.IconURL = &v - return s -} - -// SetLaunchParameters sets the LaunchParameters field's value. -func (s *Application) SetLaunchParameters(v string) *Application { - s.LaunchParameters = &v - return s -} - -// SetLaunchPath sets the LaunchPath field's value. -func (s *Application) SetLaunchPath(v string) *Application { - s.LaunchPath = &v - return s -} - -// SetMetadata sets the Metadata field's value. -func (s *Application) SetMetadata(v map[string]string) *Application { - s.Metadata = v - return s -} - -// SetName sets the Name field's value. -func (s *Application) SetName(v string) *Application { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateFleetRequest type AssociateFleetInput struct { _ struct{} `type:"structure"` @@ -1739,18 +1697,6 @@ func (s *AssociateFleetInput) Validate() error { return nil } -// SetFleetName sets the FleetName field's value. -func (s *AssociateFleetInput) SetFleetName(v string) *AssociateFleetInput { - s.FleetName = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *AssociateFleetInput) SetStackName(v string) *AssociateFleetInput { - s.StackName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateFleetResult type AssociateFleetOutput struct { _ struct{} `type:"structure"` @@ -1808,12 +1754,6 @@ func (s *ComputeCapacity) Validate() error { return nil } -// SetDesiredInstances sets the DesiredInstances field's value. -func (s *ComputeCapacity) SetDesiredInstances(v int64) *ComputeCapacity { - s.DesiredInstances = &v - return s -} - // Describes the capacity status for a fleet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ComputeCapacityStatus type ComputeCapacityStatus struct { @@ -1844,30 +1784,6 @@ func (s ComputeCapacityStatus) GoString() string { return s.String() } -// SetAvailable sets the Available field's value. -func (s *ComputeCapacityStatus) SetAvailable(v int64) *ComputeCapacityStatus { - s.Available = &v - return s -} - -// SetDesired sets the Desired field's value. -func (s *ComputeCapacityStatus) SetDesired(v int64) *ComputeCapacityStatus { - s.Desired = &v - return s -} - -// SetInUse sets the InUse field's value. -func (s *ComputeCapacityStatus) SetInUse(v int64) *ComputeCapacityStatus { - s.InUse = &v - return s -} - -// SetRunning sets the Running field's value. -func (s *ComputeCapacityStatus) SetRunning(v int64) *ComputeCapacityStatus { - s.Running = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateDirectoryConfigRequest type CreateDirectoryConfigInput struct { _ struct{} `type:"structure"` @@ -1926,24 +1842,6 @@ func (s *CreateDirectoryConfigInput) Validate() error { return nil } -// SetDirectoryName sets the DirectoryName field's value. -func (s *CreateDirectoryConfigInput) SetDirectoryName(v string) *CreateDirectoryConfigInput { - s.DirectoryName = &v - return s -} - -// SetOrganizationalUnitDistinguishedNames sets the OrganizationalUnitDistinguishedNames field's value. -func (s *CreateDirectoryConfigInput) SetOrganizationalUnitDistinguishedNames(v []string) *CreateDirectoryConfigInput { - s.OrganizationalUnitDistinguishedNames = v - return s -} - -// SetServiceAccountCredentials sets the ServiceAccountCredentials field's value. -func (s *CreateDirectoryConfigInput) SetServiceAccountCredentials(v *ServiceAccountCredentials) *CreateDirectoryConfigInput { - s.ServiceAccountCredentials = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateDirectoryConfigResult type CreateDirectoryConfigOutput struct { _ struct{} `type:"structure"` @@ -1969,12 +1867,6 @@ func (s CreateDirectoryConfigOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDirectoryConfig sets the DirectoryConfig field's value. -func (s *CreateDirectoryConfigOutput) SetDirectoryConfig(v *DirectoryConfig) *CreateDirectoryConfigOutput { - s.DirectoryConfig = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleetRequest type CreateFleetInput struct { _ struct{} `type:"structure"` @@ -2124,78 +2016,6 @@ func (s *CreateFleetInput) Validate() error { return nil } -// SetComputeCapacity sets the ComputeCapacity field's value. -func (s *CreateFleetInput) SetComputeCapacity(v *ComputeCapacity) *CreateFleetInput { - s.ComputeCapacity = v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateFleetInput) SetDescription(v string) *CreateFleetInput { - s.Description = &v - return s -} - -// SetDisconnectTimeoutInSeconds sets the DisconnectTimeoutInSeconds field's value. -func (s *CreateFleetInput) SetDisconnectTimeoutInSeconds(v int64) *CreateFleetInput { - s.DisconnectTimeoutInSeconds = &v - return s -} - -// SetDisplayName sets the DisplayName field's value. -func (s *CreateFleetInput) SetDisplayName(v string) *CreateFleetInput { - s.DisplayName = &v - return s -} - -// SetDomainJoinInfo sets the DomainJoinInfo field's value. -func (s *CreateFleetInput) SetDomainJoinInfo(v *DomainJoinInfo) *CreateFleetInput { - s.DomainJoinInfo = v - return s -} - -// SetEnableDefaultInternetAccess sets the EnableDefaultInternetAccess field's value. -func (s *CreateFleetInput) SetEnableDefaultInternetAccess(v bool) *CreateFleetInput { - s.EnableDefaultInternetAccess = &v - return s -} - -// SetFleetType sets the FleetType field's value. -func (s *CreateFleetInput) SetFleetType(v FleetType) *CreateFleetInput { - s.FleetType = v - return s -} - -// SetImageName sets the ImageName field's value. -func (s *CreateFleetInput) SetImageName(v string) *CreateFleetInput { - s.ImageName = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *CreateFleetInput) SetInstanceType(v string) *CreateFleetInput { - s.InstanceType = &v - return s -} - -// SetMaxUserDurationInSeconds sets the MaxUserDurationInSeconds field's value. -func (s *CreateFleetInput) SetMaxUserDurationInSeconds(v int64) *CreateFleetInput { - s.MaxUserDurationInSeconds = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateFleetInput) SetName(v string) *CreateFleetInput { - s.Name = &v - return s -} - -// SetVpcConfig sets the VpcConfig field's value. -func (s *CreateFleetInput) SetVpcConfig(v *VpcConfig) *CreateFleetInput { - s.VpcConfig = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleetResult type CreateFleetOutput struct { _ struct{} `type:"structure"` @@ -2221,12 +2041,6 @@ func (s CreateFleetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFleet sets the Fleet field's value. -func (s *CreateFleetOutput) SetFleet(v *Fleet) *CreateFleetOutput { - s.Fleet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilderRequest type CreateImageBuilderInput struct { _ struct{} `type:"structure"` @@ -2307,60 +2121,6 @@ func (s *CreateImageBuilderInput) Validate() error { return nil } -// SetAppstreamAgentVersion sets the AppstreamAgentVersion field's value. -func (s *CreateImageBuilderInput) SetAppstreamAgentVersion(v string) *CreateImageBuilderInput { - s.AppstreamAgentVersion = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateImageBuilderInput) SetDescription(v string) *CreateImageBuilderInput { - s.Description = &v - return s -} - -// SetDisplayName sets the DisplayName field's value. -func (s *CreateImageBuilderInput) SetDisplayName(v string) *CreateImageBuilderInput { - s.DisplayName = &v - return s -} - -// SetDomainJoinInfo sets the DomainJoinInfo field's value. -func (s *CreateImageBuilderInput) SetDomainJoinInfo(v *DomainJoinInfo) *CreateImageBuilderInput { - s.DomainJoinInfo = v - return s -} - -// SetEnableDefaultInternetAccess sets the EnableDefaultInternetAccess field's value. -func (s *CreateImageBuilderInput) SetEnableDefaultInternetAccess(v bool) *CreateImageBuilderInput { - s.EnableDefaultInternetAccess = &v - return s -} - -// SetImageName sets the ImageName field's value. -func (s *CreateImageBuilderInput) SetImageName(v string) *CreateImageBuilderInput { - s.ImageName = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *CreateImageBuilderInput) SetInstanceType(v string) *CreateImageBuilderInput { - s.InstanceType = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateImageBuilderInput) SetName(v string) *CreateImageBuilderInput { - s.Name = &v - return s -} - -// SetVpcConfig sets the VpcConfig field's value. -func (s *CreateImageBuilderInput) SetVpcConfig(v *VpcConfig) *CreateImageBuilderInput { - s.VpcConfig = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilderResult type CreateImageBuilderOutput struct { _ struct{} `type:"structure"` @@ -2386,12 +2146,6 @@ func (s CreateImageBuilderOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImageBuilder sets the ImageBuilder field's value. -func (s *CreateImageBuilderOutput) SetImageBuilder(v *ImageBuilder) *CreateImageBuilderOutput { - s.ImageBuilder = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilderStreamingURLRequest type CreateImageBuilderStreamingURLInput struct { _ struct{} `type:"structure"` @@ -2433,18 +2187,6 @@ func (s *CreateImageBuilderStreamingURLInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *CreateImageBuilderStreamingURLInput) SetName(v string) *CreateImageBuilderStreamingURLInput { - s.Name = &v - return s -} - -// SetValidity sets the Validity field's value. -func (s *CreateImageBuilderStreamingURLInput) SetValidity(v int64) *CreateImageBuilderStreamingURLInput { - s.Validity = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilderStreamingURLResult type CreateImageBuilderStreamingURLOutput struct { _ struct{} `type:"structure"` @@ -2473,18 +2215,6 @@ func (s CreateImageBuilderStreamingURLOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetExpires sets the Expires field's value. -func (s *CreateImageBuilderStreamingURLOutput) SetExpires(v time.Time) *CreateImageBuilderStreamingURLOutput { - s.Expires = &v - return s -} - -// SetStreamingURL sets the StreamingURL field's value. -func (s *CreateImageBuilderStreamingURLOutput) SetStreamingURL(v string) *CreateImageBuilderStreamingURLOutput { - s.StreamingURL = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStackRequest type CreateStackInput struct { _ struct{} `type:"structure"` @@ -2538,30 +2268,6 @@ func (s *CreateStackInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateStackInput) SetDescription(v string) *CreateStackInput { - s.Description = &v - return s -} - -// SetDisplayName sets the DisplayName field's value. -func (s *CreateStackInput) SetDisplayName(v string) *CreateStackInput { - s.DisplayName = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateStackInput) SetName(v string) *CreateStackInput { - s.Name = &v - return s -} - -// SetStorageConnectors sets the StorageConnectors field's value. -func (s *CreateStackInput) SetStorageConnectors(v []StorageConnector) *CreateStackInput { - s.StorageConnectors = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStackResult type CreateStackOutput struct { _ struct{} `type:"structure"` @@ -2587,12 +2293,6 @@ func (s CreateStackOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStack sets the Stack field's value. -func (s *CreateStackOutput) SetStack(v *Stack) *CreateStackOutput { - s.Stack = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStreamingURLRequest type CreateStreamingURLInput struct { _ struct{} `type:"structure"` @@ -2672,42 +2372,6 @@ func (s *CreateStreamingURLInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *CreateStreamingURLInput) SetApplicationId(v string) *CreateStreamingURLInput { - s.ApplicationId = &v - return s -} - -// SetFleetName sets the FleetName field's value. -func (s *CreateStreamingURLInput) SetFleetName(v string) *CreateStreamingURLInput { - s.FleetName = &v - return s -} - -// SetSessionContext sets the SessionContext field's value. -func (s *CreateStreamingURLInput) SetSessionContext(v string) *CreateStreamingURLInput { - s.SessionContext = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *CreateStreamingURLInput) SetStackName(v string) *CreateStreamingURLInput { - s.StackName = &v - return s -} - -// SetUserId sets the UserId field's value. -func (s *CreateStreamingURLInput) SetUserId(v string) *CreateStreamingURLInput { - s.UserId = &v - return s -} - -// SetValidity sets the Validity field's value. -func (s *CreateStreamingURLInput) SetValidity(v int64) *CreateStreamingURLInput { - s.Validity = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStreamingURLResult type CreateStreamingURLOutput struct { _ struct{} `type:"structure"` @@ -2736,18 +2400,6 @@ func (s CreateStreamingURLOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExpires sets the Expires field's value. -func (s *CreateStreamingURLOutput) SetExpires(v time.Time) *CreateStreamingURLOutput { - s.Expires = &v - return s -} - -// SetStreamingURL sets the StreamingURL field's value. -func (s *CreateStreamingURLOutput) SetStreamingURL(v string) *CreateStreamingURLOutput { - s.StreamingURL = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteDirectoryConfigRequest type DeleteDirectoryConfigInput struct { _ struct{} `type:"structure"` @@ -2782,12 +2434,6 @@ func (s *DeleteDirectoryConfigInput) Validate() error { return nil } -// SetDirectoryName sets the DirectoryName field's value. -func (s *DeleteDirectoryConfigInput) SetDirectoryName(v string) *DeleteDirectoryConfigInput { - s.DirectoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteDirectoryConfigResult type DeleteDirectoryConfigOutput struct { _ struct{} `type:"structure"` @@ -2847,12 +2493,6 @@ func (s *DeleteFleetInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteFleetInput) SetName(v string) *DeleteFleetInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteFleetResult type DeleteFleetOutput struct { _ struct{} `type:"structure"` @@ -2909,12 +2549,6 @@ func (s *DeleteImageBuilderInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteImageBuilderInput) SetName(v string) *DeleteImageBuilderInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImageBuilderResult type DeleteImageBuilderOutput struct { _ struct{} `type:"structure"` @@ -2940,12 +2574,6 @@ func (s DeleteImageBuilderOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImageBuilder sets the ImageBuilder field's value. -func (s *DeleteImageBuilderOutput) SetImageBuilder(v *ImageBuilder) *DeleteImageBuilderOutput { - s.ImageBuilder = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImageRequest type DeleteImageInput struct { _ struct{} `type:"structure"` @@ -2980,12 +2608,6 @@ func (s *DeleteImageInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteImageInput) SetName(v string) *DeleteImageInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImageResult type DeleteImageOutput struct { _ struct{} `type:"structure"` @@ -3011,12 +2633,6 @@ func (s DeleteImageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImage sets the Image field's value. -func (s *DeleteImageOutput) SetImage(v *Image) *DeleteImageOutput { - s.Image = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteStackRequest type DeleteStackInput struct { _ struct{} `type:"structure"` @@ -3054,12 +2670,6 @@ func (s *DeleteStackInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteStackInput) SetName(v string) *DeleteStackInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteStackResult type DeleteStackOutput struct { _ struct{} `type:"structure"` @@ -3120,24 +2730,6 @@ func (s *DescribeDirectoryConfigsInput) Validate() error { return nil } -// SetDirectoryNames sets the DirectoryNames field's value. -func (s *DescribeDirectoryConfigsInput) SetDirectoryNames(v []string) *DescribeDirectoryConfigsInput { - s.DirectoryNames = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeDirectoryConfigsInput) SetMaxResults(v int64) *DescribeDirectoryConfigsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeDirectoryConfigsInput) SetNextToken(v string) *DescribeDirectoryConfigsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeDirectoryConfigsResult type DescribeDirectoryConfigsOutput struct { _ struct{} `type:"structure"` @@ -3167,18 +2759,6 @@ func (s DescribeDirectoryConfigsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDirectoryConfigs sets the DirectoryConfigs field's value. -func (s *DescribeDirectoryConfigsOutput) SetDirectoryConfigs(v []DirectoryConfig) *DescribeDirectoryConfigsOutput { - s.DirectoryConfigs = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeDirectoryConfigsOutput) SetNextToken(v string) *DescribeDirectoryConfigsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeFleetsRequest type DescribeFleetsInput struct { _ struct{} `type:"structure"` @@ -3214,18 +2794,6 @@ func (s *DescribeFleetsInput) Validate() error { return nil } -// SetNames sets the Names field's value. -func (s *DescribeFleetsInput) SetNames(v []string) *DescribeFleetsInput { - s.Names = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeFleetsInput) SetNextToken(v string) *DescribeFleetsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeFleetsResult type DescribeFleetsOutput struct { _ struct{} `type:"structure"` @@ -3255,18 +2823,6 @@ func (s DescribeFleetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFleets sets the Fleets field's value. -func (s *DescribeFleetsOutput) SetFleets(v []Fleet) *DescribeFleetsOutput { - s.Fleets = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeFleetsOutput) SetNextToken(v string) *DescribeFleetsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImageBuildersRequest type DescribeImageBuildersInput struct { _ struct{} `type:"structure"` @@ -3305,24 +2861,6 @@ func (s *DescribeImageBuildersInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeImageBuildersInput) SetMaxResults(v int64) *DescribeImageBuildersInput { - s.MaxResults = &v - return s -} - -// SetNames sets the Names field's value. -func (s *DescribeImageBuildersInput) SetNames(v []string) *DescribeImageBuildersInput { - s.Names = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeImageBuildersInput) SetNextToken(v string) *DescribeImageBuildersInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImageBuildersResult type DescribeImageBuildersOutput struct { _ struct{} `type:"structure"` @@ -3352,18 +2890,6 @@ func (s DescribeImageBuildersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImageBuilders sets the ImageBuilders field's value. -func (s *DescribeImageBuildersOutput) SetImageBuilders(v []ImageBuilder) *DescribeImageBuildersOutput { - s.ImageBuilders = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeImageBuildersOutput) SetNextToken(v string) *DescribeImageBuildersOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImagesRequest type DescribeImagesInput struct { _ struct{} `type:"structure"` @@ -3382,12 +2908,6 @@ func (s DescribeImagesInput) GoString() string { return s.String() } -// SetNames sets the Names field's value. -func (s *DescribeImagesInput) SetNames(v []string) *DescribeImagesInput { - s.Names = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImagesResult type DescribeImagesOutput struct { _ struct{} `type:"structure"` @@ -3413,12 +2933,6 @@ func (s DescribeImagesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImages sets the Images field's value. -func (s *DescribeImagesOutput) SetImages(v []Image) *DescribeImagesOutput { - s.Images = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeSessionsRequest type DescribeSessionsInput struct { _ struct{} `type:"structure"` @@ -3490,42 +3004,6 @@ func (s *DescribeSessionsInput) Validate() error { return nil } -// SetAuthenticationType sets the AuthenticationType field's value. -func (s *DescribeSessionsInput) SetAuthenticationType(v AuthenticationType) *DescribeSessionsInput { - s.AuthenticationType = v - return s -} - -// SetFleetName sets the FleetName field's value. -func (s *DescribeSessionsInput) SetFleetName(v string) *DescribeSessionsInput { - s.FleetName = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeSessionsInput) SetLimit(v int64) *DescribeSessionsInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeSessionsInput) SetNextToken(v string) *DescribeSessionsInput { - s.NextToken = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *DescribeSessionsInput) SetStackName(v string) *DescribeSessionsInput { - s.StackName = &v - return s -} - -// SetUserId sets the UserId field's value. -func (s *DescribeSessionsInput) SetUserId(v string) *DescribeSessionsInput { - s.UserId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeSessionsResult type DescribeSessionsOutput struct { _ struct{} `type:"structure"` @@ -3555,18 +3033,6 @@ func (s DescribeSessionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeSessionsOutput) SetNextToken(v string) *DescribeSessionsOutput { - s.NextToken = &v - return s -} - -// SetSessions sets the Sessions field's value. -func (s *DescribeSessionsOutput) SetSessions(v []Session) *DescribeSessionsOutput { - s.Sessions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeStacksRequest type DescribeStacksInput struct { _ struct{} `type:"structure"` @@ -3602,18 +3068,6 @@ func (s *DescribeStacksInput) Validate() error { return nil } -// SetNames sets the Names field's value. -func (s *DescribeStacksInput) SetNames(v []string) *DescribeStacksInput { - s.Names = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeStacksInput) SetNextToken(v string) *DescribeStacksInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeStacksResult type DescribeStacksOutput struct { _ struct{} `type:"structure"` @@ -3643,18 +3097,6 @@ func (s DescribeStacksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeStacksOutput) SetNextToken(v string) *DescribeStacksOutput { - s.NextToken = &v - return s -} - -// SetStacks sets the Stacks field's value. -func (s *DescribeStacksOutput) SetStacks(v []Stack) *DescribeStacksOutput { - s.Stacks = v - return s -} - // Configuration information for the directory used to join domains. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DirectoryConfig type DirectoryConfig struct { @@ -3686,30 +3128,6 @@ func (s DirectoryConfig) GoString() string { return s.String() } -// SetCreatedTime sets the CreatedTime field's value. -func (s *DirectoryConfig) SetCreatedTime(v time.Time) *DirectoryConfig { - s.CreatedTime = &v - return s -} - -// SetDirectoryName sets the DirectoryName field's value. -func (s *DirectoryConfig) SetDirectoryName(v string) *DirectoryConfig { - s.DirectoryName = &v - return s -} - -// SetOrganizationalUnitDistinguishedNames sets the OrganizationalUnitDistinguishedNames field's value. -func (s *DirectoryConfig) SetOrganizationalUnitDistinguishedNames(v []string) *DirectoryConfig { - s.OrganizationalUnitDistinguishedNames = v - return s -} - -// SetServiceAccountCredentials sets the ServiceAccountCredentials field's value. -func (s *DirectoryConfig) SetServiceAccountCredentials(v *ServiceAccountCredentials) *DirectoryConfig { - s.ServiceAccountCredentials = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleetRequest type DisassociateFleetInput struct { _ struct{} `type:"structure"` @@ -3759,18 +3177,6 @@ func (s *DisassociateFleetInput) Validate() error { return nil } -// SetFleetName sets the FleetName field's value. -func (s *DisassociateFleetInput) SetFleetName(v string) *DisassociateFleetInput { - s.FleetName = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *DisassociateFleetInput) SetStackName(v string) *DisassociateFleetInput { - s.StackName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleetResult type DisassociateFleetOutput struct { _ struct{} `type:"structure"` @@ -3815,18 +3221,6 @@ func (s DomainJoinInfo) GoString() string { return s.String() } -// SetDirectoryName sets the DirectoryName field's value. -func (s *DomainJoinInfo) SetDirectoryName(v string) *DomainJoinInfo { - s.DirectoryName = &v - return s -} - -// SetOrganizationalUnitDistinguishedName sets the OrganizationalUnitDistinguishedName field's value. -func (s *DomainJoinInfo) SetOrganizationalUnitDistinguishedName(v string) *DomainJoinInfo { - s.OrganizationalUnitDistinguishedName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ExpireSessionRequest type ExpireSessionInput struct { _ struct{} `type:"structure"` @@ -3864,12 +3258,6 @@ func (s *ExpireSessionInput) Validate() error { return nil } -// SetSessionId sets the SessionId field's value. -func (s *ExpireSessionInput) SetSessionId(v string) *ExpireSessionInput { - s.SessionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ExpireSessionResult type ExpireSessionOutput struct { _ struct{} `type:"structure"` @@ -3980,102 +3368,6 @@ func (s Fleet) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Fleet) SetArn(v string) *Fleet { - s.Arn = &v - return s -} - -// SetComputeCapacityStatus sets the ComputeCapacityStatus field's value. -func (s *Fleet) SetComputeCapacityStatus(v *ComputeCapacityStatus) *Fleet { - s.ComputeCapacityStatus = v - return s -} - -// SetCreatedTime sets the CreatedTime field's value. -func (s *Fleet) SetCreatedTime(v time.Time) *Fleet { - s.CreatedTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Fleet) SetDescription(v string) *Fleet { - s.Description = &v - return s -} - -// SetDisconnectTimeoutInSeconds sets the DisconnectTimeoutInSeconds field's value. -func (s *Fleet) SetDisconnectTimeoutInSeconds(v int64) *Fleet { - s.DisconnectTimeoutInSeconds = &v - return s -} - -// SetDisplayName sets the DisplayName field's value. -func (s *Fleet) SetDisplayName(v string) *Fleet { - s.DisplayName = &v - return s -} - -// SetDomainJoinInfo sets the DomainJoinInfo field's value. -func (s *Fleet) SetDomainJoinInfo(v *DomainJoinInfo) *Fleet { - s.DomainJoinInfo = v - return s -} - -// SetEnableDefaultInternetAccess sets the EnableDefaultInternetAccess field's value. -func (s *Fleet) SetEnableDefaultInternetAccess(v bool) *Fleet { - s.EnableDefaultInternetAccess = &v - return s -} - -// SetFleetErrors sets the FleetErrors field's value. -func (s *Fleet) SetFleetErrors(v []FleetError) *Fleet { - s.FleetErrors = v - return s -} - -// SetFleetType sets the FleetType field's value. -func (s *Fleet) SetFleetType(v FleetType) *Fleet { - s.FleetType = v - return s -} - -// SetImageName sets the ImageName field's value. -func (s *Fleet) SetImageName(v string) *Fleet { - s.ImageName = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *Fleet) SetInstanceType(v string) *Fleet { - s.InstanceType = &v - return s -} - -// SetMaxUserDurationInSeconds sets the MaxUserDurationInSeconds field's value. -func (s *Fleet) SetMaxUserDurationInSeconds(v int64) *Fleet { - s.MaxUserDurationInSeconds = &v - return s -} - -// SetName sets the Name field's value. -func (s *Fleet) SetName(v string) *Fleet { - s.Name = &v - return s -} - -// SetState sets the State field's value. -func (s *Fleet) SetState(v FleetState) *Fleet { - s.State = v - return s -} - -// SetVpcConfig sets the VpcConfig field's value. -func (s *Fleet) SetVpcConfig(v *VpcConfig) *Fleet { - s.VpcConfig = v - return s -} - // Describes a fleet error. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/FleetError type FleetError struct { @@ -4098,18 +3390,6 @@ func (s FleetError) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *FleetError) SetErrorCode(v FleetErrorCode) *FleetError { - s.ErrorCode = v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *FleetError) SetErrorMessage(v string) *FleetError { - s.ErrorMessage = &v - return s -} - // Describes an image. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/Image type Image struct { @@ -4173,90 +3453,6 @@ func (s Image) GoString() string { return s.String() } -// SetApplications sets the Applications field's value. -func (s *Image) SetApplications(v []Application) *Image { - s.Applications = v - return s -} - -// SetAppstreamAgentVersion sets the AppstreamAgentVersion field's value. -func (s *Image) SetAppstreamAgentVersion(v string) *Image { - s.AppstreamAgentVersion = &v - return s -} - -// SetArn sets the Arn field's value. -func (s *Image) SetArn(v string) *Image { - s.Arn = &v - return s -} - -// SetBaseImageArn sets the BaseImageArn field's value. -func (s *Image) SetBaseImageArn(v string) *Image { - s.BaseImageArn = &v - return s -} - -// SetCreatedTime sets the CreatedTime field's value. -func (s *Image) SetCreatedTime(v time.Time) *Image { - s.CreatedTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Image) SetDescription(v string) *Image { - s.Description = &v - return s -} - -// SetDisplayName sets the DisplayName field's value. -func (s *Image) SetDisplayName(v string) *Image { - s.DisplayName = &v - return s -} - -// SetImageBuilderSupported sets the ImageBuilderSupported field's value. -func (s *Image) SetImageBuilderSupported(v bool) *Image { - s.ImageBuilderSupported = &v - return s -} - -// SetName sets the Name field's value. -func (s *Image) SetName(v string) *Image { - s.Name = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *Image) SetPlatform(v PlatformType) *Image { - s.Platform = v - return s -} - -// SetPublicBaseImageReleasedDate sets the PublicBaseImageReleasedDate field's value. -func (s *Image) SetPublicBaseImageReleasedDate(v time.Time) *Image { - s.PublicBaseImageReleasedDate = &v - return s -} - -// SetState sets the State field's value. -func (s *Image) SetState(v ImageState) *Image { - s.State = v - return s -} - -// SetStateChangeReason sets the StateChangeReason field's value. -func (s *Image) SetStateChangeReason(v *ImageStateChangeReason) *Image { - s.StateChangeReason = v - return s -} - -// SetVisibility sets the Visibility field's value. -func (s *Image) SetVisibility(v VisibilityType) *Image { - s.Visibility = v - return s -} - // Describes a streaming instance used for editing an image. New images are // created from a snapshot through an image builder. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ImageBuilder @@ -4322,96 +3518,6 @@ func (s ImageBuilder) GoString() string { return s.String() } -// SetAppstreamAgentVersion sets the AppstreamAgentVersion field's value. -func (s *ImageBuilder) SetAppstreamAgentVersion(v string) *ImageBuilder { - s.AppstreamAgentVersion = &v - return s -} - -// SetArn sets the Arn field's value. -func (s *ImageBuilder) SetArn(v string) *ImageBuilder { - s.Arn = &v - return s -} - -// SetCreatedTime sets the CreatedTime field's value. -func (s *ImageBuilder) SetCreatedTime(v time.Time) *ImageBuilder { - s.CreatedTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ImageBuilder) SetDescription(v string) *ImageBuilder { - s.Description = &v - return s -} - -// SetDisplayName sets the DisplayName field's value. -func (s *ImageBuilder) SetDisplayName(v string) *ImageBuilder { - s.DisplayName = &v - return s -} - -// SetDomainJoinInfo sets the DomainJoinInfo field's value. -func (s *ImageBuilder) SetDomainJoinInfo(v *DomainJoinInfo) *ImageBuilder { - s.DomainJoinInfo = v - return s -} - -// SetEnableDefaultInternetAccess sets the EnableDefaultInternetAccess field's value. -func (s *ImageBuilder) SetEnableDefaultInternetAccess(v bool) *ImageBuilder { - s.EnableDefaultInternetAccess = &v - return s -} - -// SetImageArn sets the ImageArn field's value. -func (s *ImageBuilder) SetImageArn(v string) *ImageBuilder { - s.ImageArn = &v - return s -} - -// SetImageBuilderErrors sets the ImageBuilderErrors field's value. -func (s *ImageBuilder) SetImageBuilderErrors(v []ResourceError) *ImageBuilder { - s.ImageBuilderErrors = v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *ImageBuilder) SetInstanceType(v string) *ImageBuilder { - s.InstanceType = &v - return s -} - -// SetName sets the Name field's value. -func (s *ImageBuilder) SetName(v string) *ImageBuilder { - s.Name = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *ImageBuilder) SetPlatform(v PlatformType) *ImageBuilder { - s.Platform = v - return s -} - -// SetState sets the State field's value. -func (s *ImageBuilder) SetState(v ImageBuilderState) *ImageBuilder { - s.State = v - return s -} - -// SetStateChangeReason sets the StateChangeReason field's value. -func (s *ImageBuilder) SetStateChangeReason(v *ImageBuilderStateChangeReason) *ImageBuilder { - s.StateChangeReason = v - return s -} - -// SetVpcConfig sets the VpcConfig field's value. -func (s *ImageBuilder) SetVpcConfig(v *VpcConfig) *ImageBuilder { - s.VpcConfig = v - return s -} - // Describes the reason why the last image builder state change occurred. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ImageBuilderStateChangeReason type ImageBuilderStateChangeReason struct { @@ -4434,18 +3540,6 @@ func (s ImageBuilderStateChangeReason) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *ImageBuilderStateChangeReason) SetCode(v ImageBuilderStateChangeReasonCode) *ImageBuilderStateChangeReason { - s.Code = v - return s -} - -// SetMessage sets the Message field's value. -func (s *ImageBuilderStateChangeReason) SetMessage(v string) *ImageBuilderStateChangeReason { - s.Message = &v - return s -} - // Describes the reason why the last image state change occurred. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ImageStateChangeReason type ImageStateChangeReason struct { @@ -4468,18 +3562,6 @@ func (s ImageStateChangeReason) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *ImageStateChangeReason) SetCode(v ImageStateChangeReasonCode) *ImageStateChangeReason { - s.Code = v - return s -} - -// SetMessage sets the Message field's value. -func (s *ImageStateChangeReason) SetMessage(v string) *ImageStateChangeReason { - s.Message = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedFleetsRequest type ListAssociatedFleetsInput struct { _ struct{} `type:"structure"` @@ -4524,18 +3606,6 @@ func (s *ListAssociatedFleetsInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *ListAssociatedFleetsInput) SetNextToken(v string) *ListAssociatedFleetsInput { - s.NextToken = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *ListAssociatedFleetsInput) SetStackName(v string) *ListAssociatedFleetsInput { - s.StackName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedFleetsResult type ListAssociatedFleetsOutput struct { _ struct{} `type:"structure"` @@ -4565,18 +3635,6 @@ func (s ListAssociatedFleetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNames sets the Names field's value. -func (s *ListAssociatedFleetsOutput) SetNames(v []string) *ListAssociatedFleetsOutput { - s.Names = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAssociatedFleetsOutput) SetNextToken(v string) *ListAssociatedFleetsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedStacksRequest type ListAssociatedStacksInput struct { _ struct{} `type:"structure"` @@ -4621,18 +3679,6 @@ func (s *ListAssociatedStacksInput) Validate() error { return nil } -// SetFleetName sets the FleetName field's value. -func (s *ListAssociatedStacksInput) SetFleetName(v string) *ListAssociatedStacksInput { - s.FleetName = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAssociatedStacksInput) SetNextToken(v string) *ListAssociatedStacksInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedStacksResult type ListAssociatedStacksOutput struct { _ struct{} `type:"structure"` @@ -4662,18 +3708,6 @@ func (s ListAssociatedStacksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNames sets the Names field's value. -func (s *ListAssociatedStacksOutput) SetNames(v []string) *ListAssociatedStacksOutput { - s.Names = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAssociatedStacksOutput) SetNextToken(v string) *ListAssociatedStacksOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListTagsForResourceRequest type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -4708,12 +3742,6 @@ func (s *ListTagsForResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { - s.ResourceArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListTagsForResourceResponse type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` @@ -4739,12 +3767,6 @@ func (s ListTagsForResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTags sets the Tags field's value. -func (s *ListTagsForResourceOutput) SetTags(v map[string]string) *ListTagsForResourceOutput { - s.Tags = v - return s -} - // Describes a resource error. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ResourceError type ResourceError struct { @@ -4770,24 +3792,6 @@ func (s ResourceError) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *ResourceError) SetErrorCode(v FleetErrorCode) *ResourceError { - s.ErrorCode = v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *ResourceError) SetErrorMessage(v string) *ResourceError { - s.ErrorMessage = &v - return s -} - -// SetErrorTimestamp sets the ErrorTimestamp field's value. -func (s *ResourceError) SetErrorTimestamp(v time.Time) *ResourceError { - s.ErrorTimestamp = &v - return s -} - // Describes the credentials for the service account used by the streaming instance // to connect to the directory. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ServiceAccountCredentials @@ -4841,18 +3845,6 @@ func (s *ServiceAccountCredentials) Validate() error { return nil } -// SetAccountName sets the AccountName field's value. -func (s *ServiceAccountCredentials) SetAccountName(v string) *ServiceAccountCredentials { - s.AccountName = &v - return s -} - -// SetAccountPassword sets the AccountPassword field's value. -func (s *ServiceAccountCredentials) SetAccountPassword(v string) *ServiceAccountCredentials { - s.AccountPassword = &v - return s -} - // Describes a streaming session. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/Session type Session struct { @@ -4898,42 +3890,6 @@ func (s Session) GoString() string { return s.String() } -// SetAuthenticationType sets the AuthenticationType field's value. -func (s *Session) SetAuthenticationType(v AuthenticationType) *Session { - s.AuthenticationType = v - return s -} - -// SetFleetName sets the FleetName field's value. -func (s *Session) SetFleetName(v string) *Session { - s.FleetName = &v - return s -} - -// SetId sets the Id field's value. -func (s *Session) SetId(v string) *Session { - s.Id = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *Session) SetStackName(v string) *Session { - s.StackName = &v - return s -} - -// SetState sets the State field's value. -func (s *Session) SetState(v SessionState) *Session { - s.State = v - return s -} - -// SetUserId sets the UserId field's value. -func (s *Session) SetUserId(v string) *Session { - s.UserId = &v - return s -} - // Describes a stack. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/Stack type Stack struct { @@ -4973,48 +3929,6 @@ func (s Stack) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Stack) SetArn(v string) *Stack { - s.Arn = &v - return s -} - -// SetCreatedTime sets the CreatedTime field's value. -func (s *Stack) SetCreatedTime(v time.Time) *Stack { - s.CreatedTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Stack) SetDescription(v string) *Stack { - s.Description = &v - return s -} - -// SetDisplayName sets the DisplayName field's value. -func (s *Stack) SetDisplayName(v string) *Stack { - s.DisplayName = &v - return s -} - -// SetName sets the Name field's value. -func (s *Stack) SetName(v string) *Stack { - s.Name = &v - return s -} - -// SetStackErrors sets the StackErrors field's value. -func (s *Stack) SetStackErrors(v []StackError) *Stack { - s.StackErrors = v - return s -} - -// SetStorageConnectors sets the StorageConnectors field's value. -func (s *Stack) SetStorageConnectors(v []StorageConnector) *Stack { - s.StorageConnectors = v - return s -} - // Describes a stack error. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StackError type StackError struct { @@ -5037,18 +3951,6 @@ func (s StackError) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *StackError) SetErrorCode(v StackErrorCode) *StackError { - s.ErrorCode = v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *StackError) SetErrorMessage(v string) *StackError { - s.ErrorMessage = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartFleetRequest type StartFleetInput struct { _ struct{} `type:"structure"` @@ -5086,12 +3988,6 @@ func (s *StartFleetInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *StartFleetInput) SetName(v string) *StartFleetInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartFleetResult type StartFleetOutput struct { _ struct{} `type:"structure"` @@ -5158,18 +4054,6 @@ func (s *StartImageBuilderInput) Validate() error { return nil } -// SetAppstreamAgentVersion sets the AppstreamAgentVersion field's value. -func (s *StartImageBuilderInput) SetAppstreamAgentVersion(v string) *StartImageBuilderInput { - s.AppstreamAgentVersion = &v - return s -} - -// SetName sets the Name field's value. -func (s *StartImageBuilderInput) SetName(v string) *StartImageBuilderInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartImageBuilderResult type StartImageBuilderOutput struct { _ struct{} `type:"structure"` @@ -5195,12 +4079,6 @@ func (s StartImageBuilderOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImageBuilder sets the ImageBuilder field's value. -func (s *StartImageBuilderOutput) SetImageBuilder(v *ImageBuilder) *StartImageBuilderOutput { - s.ImageBuilder = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopFleetRequest type StopFleetInput struct { _ struct{} `type:"structure"` @@ -5238,12 +4116,6 @@ func (s *StopFleetInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *StopFleetInput) SetName(v string) *StopFleetInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopFleetResult type StopFleetOutput struct { _ struct{} `type:"structure"` @@ -5303,12 +4175,6 @@ func (s *StopImageBuilderInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *StopImageBuilderInput) SetName(v string) *StopImageBuilderInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopImageBuilderResult type StopImageBuilderOutput struct { _ struct{} `type:"structure"` @@ -5334,12 +4200,6 @@ func (s StopImageBuilderOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImageBuilder sets the ImageBuilder field's value. -func (s *StopImageBuilderOutput) SetImageBuilder(v *ImageBuilder) *StopImageBuilderOutput { - s.ImageBuilder = v - return s -} - // Describes a storage connector. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StorageConnector type StorageConnector struct { @@ -5380,18 +4240,6 @@ func (s *StorageConnector) Validate() error { return nil } -// SetConnectorType sets the ConnectorType field's value. -func (s *StorageConnector) SetConnectorType(v StorageConnectorType) *StorageConnector { - s.ConnectorType = v - return s -} - -// SetResourceIdentifier sets the ResourceIdentifier field's value. -func (s *StorageConnector) SetResourceIdentifier(v string) *StorageConnector { - s.ResourceIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/TagResourceRequest type TagResourceInput struct { _ struct{} `type:"structure"` @@ -5441,18 +4289,6 @@ func (s *TagResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput { - s.ResourceArn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagResourceInput) SetTags(v map[string]string) *TagResourceInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/TagResourceResponse type TagResourceOutput struct { _ struct{} `type:"structure"` @@ -5521,18 +4357,6 @@ func (s *UntagResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { - s.ResourceArn = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *UntagResourceInput) SetTagKeys(v []string) *UntagResourceInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UntagResourceResponse type UntagResourceOutput struct { _ struct{} `type:"structure"` @@ -5601,24 +4425,6 @@ func (s *UpdateDirectoryConfigInput) Validate() error { return nil } -// SetDirectoryName sets the DirectoryName field's value. -func (s *UpdateDirectoryConfigInput) SetDirectoryName(v string) *UpdateDirectoryConfigInput { - s.DirectoryName = &v - return s -} - -// SetOrganizationalUnitDistinguishedNames sets the OrganizationalUnitDistinguishedNames field's value. -func (s *UpdateDirectoryConfigInput) SetOrganizationalUnitDistinguishedNames(v []string) *UpdateDirectoryConfigInput { - s.OrganizationalUnitDistinguishedNames = v - return s -} - -// SetServiceAccountCredentials sets the ServiceAccountCredentials field's value. -func (s *UpdateDirectoryConfigInput) SetServiceAccountCredentials(v *ServiceAccountCredentials) *UpdateDirectoryConfigInput { - s.ServiceAccountCredentials = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateDirectoryConfigResult type UpdateDirectoryConfigOutput struct { _ struct{} `type:"structure"` @@ -5644,12 +4450,6 @@ func (s UpdateDirectoryConfigOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDirectoryConfig sets the DirectoryConfig field's value. -func (s *UpdateDirectoryConfigOutput) SetDirectoryConfig(v *DirectoryConfig) *UpdateDirectoryConfigOutput { - s.DirectoryConfig = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleetRequest type UpdateFleetInput struct { _ struct{} `type:"structure"` @@ -5779,84 +4579,6 @@ func (s *UpdateFleetInput) Validate() error { return nil } -// SetAttributesToDelete sets the AttributesToDelete field's value. -func (s *UpdateFleetInput) SetAttributesToDelete(v []FleetAttribute) *UpdateFleetInput { - s.AttributesToDelete = v - return s -} - -// SetComputeCapacity sets the ComputeCapacity field's value. -func (s *UpdateFleetInput) SetComputeCapacity(v *ComputeCapacity) *UpdateFleetInput { - s.ComputeCapacity = v - return s -} - -// SetDeleteVpcConfig sets the DeleteVpcConfig field's value. -func (s *UpdateFleetInput) SetDeleteVpcConfig(v bool) *UpdateFleetInput { - s.DeleteVpcConfig = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateFleetInput) SetDescription(v string) *UpdateFleetInput { - s.Description = &v - return s -} - -// SetDisconnectTimeoutInSeconds sets the DisconnectTimeoutInSeconds field's value. -func (s *UpdateFleetInput) SetDisconnectTimeoutInSeconds(v int64) *UpdateFleetInput { - s.DisconnectTimeoutInSeconds = &v - return s -} - -// SetDisplayName sets the DisplayName field's value. -func (s *UpdateFleetInput) SetDisplayName(v string) *UpdateFleetInput { - s.DisplayName = &v - return s -} - -// SetDomainJoinInfo sets the DomainJoinInfo field's value. -func (s *UpdateFleetInput) SetDomainJoinInfo(v *DomainJoinInfo) *UpdateFleetInput { - s.DomainJoinInfo = v - return s -} - -// SetEnableDefaultInternetAccess sets the EnableDefaultInternetAccess field's value. -func (s *UpdateFleetInput) SetEnableDefaultInternetAccess(v bool) *UpdateFleetInput { - s.EnableDefaultInternetAccess = &v - return s -} - -// SetImageName sets the ImageName field's value. -func (s *UpdateFleetInput) SetImageName(v string) *UpdateFleetInput { - s.ImageName = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *UpdateFleetInput) SetInstanceType(v string) *UpdateFleetInput { - s.InstanceType = &v - return s -} - -// SetMaxUserDurationInSeconds sets the MaxUserDurationInSeconds field's value. -func (s *UpdateFleetInput) SetMaxUserDurationInSeconds(v int64) *UpdateFleetInput { - s.MaxUserDurationInSeconds = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateFleetInput) SetName(v string) *UpdateFleetInput { - s.Name = &v - return s -} - -// SetVpcConfig sets the VpcConfig field's value. -func (s *UpdateFleetInput) SetVpcConfig(v *VpcConfig) *UpdateFleetInput { - s.VpcConfig = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleetResult type UpdateFleetOutput struct { _ struct{} `type:"structure"` @@ -5882,12 +4604,6 @@ func (s UpdateFleetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFleet sets the Fleet field's value. -func (s *UpdateFleetOutput) SetFleet(v *Fleet) *UpdateFleetOutput { - s.Fleet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStackRequest type UpdateStackInput struct { _ struct{} `type:"structure"` @@ -5944,36 +4660,6 @@ func (s *UpdateStackInput) Validate() error { return nil } -// SetDeleteStorageConnectors sets the DeleteStorageConnectors field's value. -func (s *UpdateStackInput) SetDeleteStorageConnectors(v bool) *UpdateStackInput { - s.DeleteStorageConnectors = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateStackInput) SetDescription(v string) *UpdateStackInput { - s.Description = &v - return s -} - -// SetDisplayName sets the DisplayName field's value. -func (s *UpdateStackInput) SetDisplayName(v string) *UpdateStackInput { - s.DisplayName = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateStackInput) SetName(v string) *UpdateStackInput { - s.Name = &v - return s -} - -// SetStorageConnectors sets the StorageConnectors field's value. -func (s *UpdateStackInput) SetStorageConnectors(v []StorageConnector) *UpdateStackInput { - s.StorageConnectors = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStackResult type UpdateStackOutput struct { _ struct{} `type:"structure"` @@ -5999,12 +4685,6 @@ func (s UpdateStackOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStack sets the Stack field's value. -func (s *UpdateStackOutput) SetStack(v *Stack) *UpdateStackOutput { - s.Stack = v - return s -} - // Describes VPC configuration information. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/VpcConfig type VpcConfig struct { @@ -6027,18 +4707,6 @@ func (s VpcConfig) GoString() string { return s.String() } -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *VpcConfig) SetSecurityGroupIds(v []string) *VpcConfig { - s.SecurityGroupIds = v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *VpcConfig) SetSubnetIds(v []string) *VpcConfig { - s.SubnetIds = v - return s -} - type AuthenticationType string // Enum values for AuthenticationType diff --git a/service/appsync/api.go b/service/appsync/api.go index dd9997bfb12..2d4e369e621 100644 --- a/service/appsync/api.go +++ b/service/appsync/api.go @@ -1312,24 +1312,6 @@ func (s ApiKey) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *ApiKey) SetDescription(v string) *ApiKey { - s.Description = &v - return s -} - -// SetExpires sets the Expires field's value. -func (s *ApiKey) SetExpires(v int64) *ApiKey { - s.Expires = &v - return s -} - -// SetId sets the Id field's value. -func (s *ApiKey) SetId(v string) *ApiKey { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKeyRequest type CreateApiKeyInput struct { _ struct{} `type:"structure"` @@ -1367,18 +1349,6 @@ func (s *CreateApiKeyInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *CreateApiKeyInput) SetApiId(v string) *CreateApiKeyInput { - s.ApiId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateApiKeyInput) SetDescription(v string) *CreateApiKeyInput { - s.Description = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKeyResponse type CreateApiKeyOutput struct { _ struct{} `type:"structure"` @@ -1404,12 +1374,6 @@ func (s CreateApiKeyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApiKey sets the ApiKey field's value. -func (s *CreateApiKeyOutput) SetApiKey(v *ApiKey) *CreateApiKeyOutput { - s.ApiKey = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSourceRequest type CreateDataSourceInput struct { _ struct{} `type:"structure"` @@ -1492,54 +1456,6 @@ func (s *CreateDataSourceInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *CreateDataSourceInput) SetApiId(v string) *CreateDataSourceInput { - s.ApiId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateDataSourceInput) SetDescription(v string) *CreateDataSourceInput { - s.Description = &v - return s -} - -// SetDynamodbConfig sets the DynamodbConfig field's value. -func (s *CreateDataSourceInput) SetDynamodbConfig(v *DynamodbDataSourceConfig) *CreateDataSourceInput { - s.DynamodbConfig = v - return s -} - -// SetElasticsearchConfig sets the ElasticsearchConfig field's value. -func (s *CreateDataSourceInput) SetElasticsearchConfig(v *ElasticsearchDataSourceConfig) *CreateDataSourceInput { - s.ElasticsearchConfig = v - return s -} - -// SetLambdaConfig sets the LambdaConfig field's value. -func (s *CreateDataSourceInput) SetLambdaConfig(v *LambdaDataSourceConfig) *CreateDataSourceInput { - s.LambdaConfig = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateDataSourceInput) SetName(v string) *CreateDataSourceInput { - s.Name = &v - return s -} - -// SetServiceRoleArn sets the ServiceRoleArn field's value. -func (s *CreateDataSourceInput) SetServiceRoleArn(v string) *CreateDataSourceInput { - s.ServiceRoleArn = &v - return s -} - -// SetType sets the Type field's value. -func (s *CreateDataSourceInput) SetType(v DataSourceType) *CreateDataSourceInput { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSourceResponse type CreateDataSourceOutput struct { _ struct{} `type:"structure"` @@ -1565,12 +1481,6 @@ func (s CreateDataSourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDataSource sets the DataSource field's value. -func (s *CreateDataSourceOutput) SetDataSource(v *DataSource) *CreateDataSourceOutput { - s.DataSource = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApiRequest type CreateGraphqlApiInput struct { _ struct{} `type:"structure"` @@ -1621,24 +1531,6 @@ func (s *CreateGraphqlApiInput) Validate() error { return nil } -// SetAuthenticationType sets the AuthenticationType field's value. -func (s *CreateGraphqlApiInput) SetAuthenticationType(v AuthenticationType) *CreateGraphqlApiInput { - s.AuthenticationType = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateGraphqlApiInput) SetName(v string) *CreateGraphqlApiInput { - s.Name = &v - return s -} - -// SetUserPoolConfig sets the UserPoolConfig field's value. -func (s *CreateGraphqlApiInput) SetUserPoolConfig(v *UserPoolConfig) *CreateGraphqlApiInput { - s.UserPoolConfig = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApiResponse type CreateGraphqlApiOutput struct { _ struct{} `type:"structure"` @@ -1664,12 +1556,6 @@ func (s CreateGraphqlApiOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGraphqlApi sets the GraphqlApi field's value. -func (s *CreateGraphqlApiOutput) SetGraphqlApi(v *GraphqlApi) *CreateGraphqlApiOutput { - s.GraphqlApi = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolverRequest type CreateResolverInput struct { _ struct{} `type:"structure"` @@ -1747,42 +1633,6 @@ func (s *CreateResolverInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *CreateResolverInput) SetApiId(v string) *CreateResolverInput { - s.ApiId = &v - return s -} - -// SetDataSourceName sets the DataSourceName field's value. -func (s *CreateResolverInput) SetDataSourceName(v string) *CreateResolverInput { - s.DataSourceName = &v - return s -} - -// SetFieldName sets the FieldName field's value. -func (s *CreateResolverInput) SetFieldName(v string) *CreateResolverInput { - s.FieldName = &v - return s -} - -// SetRequestMappingTemplate sets the RequestMappingTemplate field's value. -func (s *CreateResolverInput) SetRequestMappingTemplate(v string) *CreateResolverInput { - s.RequestMappingTemplate = &v - return s -} - -// SetResponseMappingTemplate sets the ResponseMappingTemplate field's value. -func (s *CreateResolverInput) SetResponseMappingTemplate(v string) *CreateResolverInput { - s.ResponseMappingTemplate = &v - return s -} - -// SetTypeName sets the TypeName field's value. -func (s *CreateResolverInput) SetTypeName(v string) *CreateResolverInput { - s.TypeName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolverResponse type CreateResolverOutput struct { _ struct{} `type:"structure"` @@ -1808,12 +1658,6 @@ func (s CreateResolverOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResolver sets the Resolver field's value. -func (s *CreateResolverOutput) SetResolver(v *Resolver) *CreateResolverOutput { - s.Resolver = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateTypeRequest type CreateTypeInput struct { _ struct{} `type:"structure"` @@ -1867,24 +1711,6 @@ func (s *CreateTypeInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *CreateTypeInput) SetApiId(v string) *CreateTypeInput { - s.ApiId = &v - return s -} - -// SetDefinition sets the Definition field's value. -func (s *CreateTypeInput) SetDefinition(v string) *CreateTypeInput { - s.Definition = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *CreateTypeInput) SetFormat(v TypeDefinitionFormat) *CreateTypeInput { - s.Format = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateTypeResponse type CreateTypeOutput struct { _ struct{} `type:"structure"` @@ -1910,12 +1736,6 @@ func (s CreateTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetType sets the Type field's value. -func (s *CreateTypeOutput) SetType(v *Type) *CreateTypeOutput { - s.Type = v - return s -} - // Describes a data source. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DataSource type DataSource struct { @@ -1957,54 +1777,6 @@ func (s DataSource) GoString() string { return s.String() } -// SetDataSourceArn sets the DataSourceArn field's value. -func (s *DataSource) SetDataSourceArn(v string) *DataSource { - s.DataSourceArn = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *DataSource) SetDescription(v string) *DataSource { - s.Description = &v - return s -} - -// SetDynamodbConfig sets the DynamodbConfig field's value. -func (s *DataSource) SetDynamodbConfig(v *DynamodbDataSourceConfig) *DataSource { - s.DynamodbConfig = v - return s -} - -// SetElasticsearchConfig sets the ElasticsearchConfig field's value. -func (s *DataSource) SetElasticsearchConfig(v *ElasticsearchDataSourceConfig) *DataSource { - s.ElasticsearchConfig = v - return s -} - -// SetLambdaConfig sets the LambdaConfig field's value. -func (s *DataSource) SetLambdaConfig(v *LambdaDataSourceConfig) *DataSource { - s.LambdaConfig = v - return s -} - -// SetName sets the Name field's value. -func (s *DataSource) SetName(v string) *DataSource { - s.Name = &v - return s -} - -// SetServiceRoleArn sets the ServiceRoleArn field's value. -func (s *DataSource) SetServiceRoleArn(v string) *DataSource { - s.ServiceRoleArn = &v - return s -} - -// SetType sets the Type field's value. -func (s *DataSource) SetType(v DataSourceType) *DataSource { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiKeyRequest type DeleteApiKeyInput struct { _ struct{} `type:"structure"` @@ -2048,18 +1820,6 @@ func (s *DeleteApiKeyInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *DeleteApiKeyInput) SetApiId(v string) *DeleteApiKeyInput { - s.ApiId = &v - return s -} - -// SetId sets the Id field's value. -func (s *DeleteApiKeyInput) SetId(v string) *DeleteApiKeyInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiKeyResponse type DeleteApiKeyOutput struct { _ struct{} `type:"structure"` @@ -2125,18 +1885,6 @@ func (s *DeleteDataSourceInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *DeleteDataSourceInput) SetApiId(v string) *DeleteDataSourceInput { - s.ApiId = &v - return s -} - -// SetName sets the Name field's value. -func (s *DeleteDataSourceInput) SetName(v string) *DeleteDataSourceInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDataSourceResponse type DeleteDataSourceOutput struct { _ struct{} `type:"structure"` @@ -2193,12 +1941,6 @@ func (s *DeleteGraphqlApiInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *DeleteGraphqlApiInput) SetApiId(v string) *DeleteGraphqlApiInput { - s.ApiId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteGraphqlApiResponse type DeleteGraphqlApiOutput struct { _ struct{} `type:"structure"` @@ -2273,24 +2015,6 @@ func (s *DeleteResolverInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *DeleteResolverInput) SetApiId(v string) *DeleteResolverInput { - s.ApiId = &v - return s -} - -// SetFieldName sets the FieldName field's value. -func (s *DeleteResolverInput) SetFieldName(v string) *DeleteResolverInput { - s.FieldName = &v - return s -} - -// SetTypeName sets the TypeName field's value. -func (s *DeleteResolverInput) SetTypeName(v string) *DeleteResolverInput { - s.TypeName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteResolverResponse type DeleteResolverOutput struct { _ struct{} `type:"structure"` @@ -2356,18 +2080,6 @@ func (s *DeleteTypeInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *DeleteTypeInput) SetApiId(v string) *DeleteTypeInput { - s.ApiId = &v - return s -} - -// SetTypeName sets the TypeName field's value. -func (s *DeleteTypeInput) SetTypeName(v string) *DeleteTypeInput { - s.TypeName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteTypeResponse type DeleteTypeOutput struct { _ struct{} `type:"structure"` @@ -2437,24 +2149,6 @@ func (s *DynamodbDataSourceConfig) Validate() error { return nil } -// SetAwsRegion sets the AwsRegion field's value. -func (s *DynamodbDataSourceConfig) SetAwsRegion(v string) *DynamodbDataSourceConfig { - s.AwsRegion = &v - return s -} - -// SetTableName sets the TableName field's value. -func (s *DynamodbDataSourceConfig) SetTableName(v string) *DynamodbDataSourceConfig { - s.TableName = &v - return s -} - -// SetUseCallerCredentials sets the UseCallerCredentials field's value. -func (s *DynamodbDataSourceConfig) SetUseCallerCredentials(v bool) *DynamodbDataSourceConfig { - s.UseCallerCredentials = &v - return s -} - // Describes an Elasticsearch data source configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ElasticsearchDataSourceConfig type ElasticsearchDataSourceConfig struct { @@ -2499,18 +2193,6 @@ func (s *ElasticsearchDataSourceConfig) Validate() error { return nil } -// SetAwsRegion sets the AwsRegion field's value. -func (s *ElasticsearchDataSourceConfig) SetAwsRegion(v string) *ElasticsearchDataSourceConfig { - s.AwsRegion = &v - return s -} - -// SetEndpoint sets the Endpoint field's value. -func (s *ElasticsearchDataSourceConfig) SetEndpoint(v string) *ElasticsearchDataSourceConfig { - s.Endpoint = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSourceRequest type GetDataSourceInput struct { _ struct{} `type:"structure"` @@ -2554,18 +2236,6 @@ func (s *GetDataSourceInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *GetDataSourceInput) SetApiId(v string) *GetDataSourceInput { - s.ApiId = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetDataSourceInput) SetName(v string) *GetDataSourceInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSourceResponse type GetDataSourceOutput struct { _ struct{} `type:"structure"` @@ -2591,12 +2261,6 @@ func (s GetDataSourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDataSource sets the DataSource field's value. -func (s *GetDataSourceOutput) SetDataSource(v *DataSource) *GetDataSourceOutput { - s.DataSource = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApiRequest type GetGraphqlApiInput struct { _ struct{} `type:"structure"` @@ -2631,12 +2295,6 @@ func (s *GetGraphqlApiInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *GetGraphqlApiInput) SetApiId(v string) *GetGraphqlApiInput { - s.ApiId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApiResponse type GetGraphqlApiOutput struct { _ struct{} `type:"structure"` @@ -2662,12 +2320,6 @@ func (s GetGraphqlApiOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGraphqlApi sets the GraphqlApi field's value. -func (s *GetGraphqlApiOutput) SetGraphqlApi(v *GraphqlApi) *GetGraphqlApiOutput { - s.GraphqlApi = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetIntrospectionSchemaRequest type GetIntrospectionSchemaInput struct { _ struct{} `type:"structure"` @@ -2710,18 +2362,6 @@ func (s *GetIntrospectionSchemaInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *GetIntrospectionSchemaInput) SetApiId(v string) *GetIntrospectionSchemaInput { - s.ApiId = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *GetIntrospectionSchemaInput) SetFormat(v OutputType) *GetIntrospectionSchemaInput { - s.Format = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetIntrospectionSchemaResponse type GetIntrospectionSchemaOutput struct { _ struct{} `type:"structure" payload:"Schema"` @@ -2749,12 +2389,6 @@ func (s GetIntrospectionSchemaOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSchema sets the Schema field's value. -func (s *GetIntrospectionSchemaOutput) SetSchema(v []byte) *GetIntrospectionSchemaOutput { - s.Schema = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetResolverRequest type GetResolverInput struct { _ struct{} `type:"structure"` @@ -2807,24 +2441,6 @@ func (s *GetResolverInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *GetResolverInput) SetApiId(v string) *GetResolverInput { - s.ApiId = &v - return s -} - -// SetFieldName sets the FieldName field's value. -func (s *GetResolverInput) SetFieldName(v string) *GetResolverInput { - s.FieldName = &v - return s -} - -// SetTypeName sets the TypeName field's value. -func (s *GetResolverInput) SetTypeName(v string) *GetResolverInput { - s.TypeName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetResolverResponse type GetResolverOutput struct { _ struct{} `type:"structure"` @@ -2850,12 +2466,6 @@ func (s GetResolverOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResolver sets the Resolver field's value. -func (s *GetResolverOutput) SetResolver(v *Resolver) *GetResolverOutput { - s.Resolver = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSchemaCreationStatusRequest type GetSchemaCreationStatusInput struct { _ struct{} `type:"structure"` @@ -2890,12 +2500,6 @@ func (s *GetSchemaCreationStatusInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *GetSchemaCreationStatusInput) SetApiId(v string) *GetSchemaCreationStatusInput { - s.ApiId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSchemaCreationStatusResponse type GetSchemaCreationStatusOutput struct { _ struct{} `type:"structure"` @@ -2925,18 +2529,6 @@ func (s GetSchemaCreationStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDetails sets the Details field's value. -func (s *GetSchemaCreationStatusOutput) SetDetails(v string) *GetSchemaCreationStatusOutput { - s.Details = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetSchemaCreationStatusOutput) SetStatus(v SchemaStatus) *GetSchemaCreationStatusOutput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetTypeRequest type GetTypeInput struct { _ struct{} `type:"structure"` @@ -2988,24 +2580,6 @@ func (s *GetTypeInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *GetTypeInput) SetApiId(v string) *GetTypeInput { - s.ApiId = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *GetTypeInput) SetFormat(v TypeDefinitionFormat) *GetTypeInput { - s.Format = v - return s -} - -// SetTypeName sets the TypeName field's value. -func (s *GetTypeInput) SetTypeName(v string) *GetTypeInput { - s.TypeName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetTypeResponse type GetTypeOutput struct { _ struct{} `type:"structure"` @@ -3031,12 +2605,6 @@ func (s GetTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetType sets the Type field's value. -func (s *GetTypeOutput) SetType(v *Type) *GetTypeOutput { - s.Type = v - return s -} - // Describes a GraphQL API. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GraphqlApi type GraphqlApi struct { @@ -3071,42 +2639,6 @@ func (s GraphqlApi) GoString() string { return s.String() } -// SetApiId sets the ApiId field's value. -func (s *GraphqlApi) SetApiId(v string) *GraphqlApi { - s.ApiId = &v - return s -} - -// SetArn sets the Arn field's value. -func (s *GraphqlApi) SetArn(v string) *GraphqlApi { - s.Arn = &v - return s -} - -// SetAuthenticationType sets the AuthenticationType field's value. -func (s *GraphqlApi) SetAuthenticationType(v AuthenticationType) *GraphqlApi { - s.AuthenticationType = v - return s -} - -// SetName sets the Name field's value. -func (s *GraphqlApi) SetName(v string) *GraphqlApi { - s.Name = &v - return s -} - -// SetUris sets the Uris field's value. -func (s *GraphqlApi) SetUris(v map[string]string) *GraphqlApi { - s.Uris = v - return s -} - -// SetUserPoolConfig sets the UserPoolConfig field's value. -func (s *GraphqlApi) SetUserPoolConfig(v *UserPoolConfig) *GraphqlApi { - s.UserPoolConfig = v - return s -} - // Describes a Lambda data source configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/LambdaDataSourceConfig type LambdaDataSourceConfig struct { @@ -3142,12 +2674,6 @@ func (s *LambdaDataSourceConfig) Validate() error { return nil } -// SetLambdaFunctionArn sets the LambdaFunctionArn field's value. -func (s *LambdaDataSourceConfig) SetLambdaFunctionArn(v string) *LambdaDataSourceConfig { - s.LambdaFunctionArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeysRequest type ListApiKeysInput struct { _ struct{} `type:"structure"` @@ -3189,24 +2715,6 @@ func (s *ListApiKeysInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *ListApiKeysInput) SetApiId(v string) *ListApiKeysInput { - s.ApiId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListApiKeysInput) SetMaxResults(v int64) *ListApiKeysInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListApiKeysInput) SetNextToken(v string) *ListApiKeysInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeysResponse type ListApiKeysOutput struct { _ struct{} `type:"structure"` @@ -3236,18 +2744,6 @@ func (s ListApiKeysOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApiKeys sets the ApiKeys field's value. -func (s *ListApiKeysOutput) SetApiKeys(v []ApiKey) *ListApiKeysOutput { - s.ApiKeys = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListApiKeysOutput) SetNextToken(v string) *ListApiKeysOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSourcesRequest type ListDataSourcesInput struct { _ struct{} `type:"structure"` @@ -3289,24 +2785,6 @@ func (s *ListDataSourcesInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *ListDataSourcesInput) SetApiId(v string) *ListDataSourcesInput { - s.ApiId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListDataSourcesInput) SetMaxResults(v int64) *ListDataSourcesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDataSourcesInput) SetNextToken(v string) *ListDataSourcesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSourcesResponse type ListDataSourcesOutput struct { _ struct{} `type:"structure"` @@ -3336,18 +2814,6 @@ func (s ListDataSourcesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDataSources sets the DataSources field's value. -func (s *ListDataSourcesOutput) SetDataSources(v []DataSource) *ListDataSourcesOutput { - s.DataSources = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDataSourcesOutput) SetNextToken(v string) *ListDataSourcesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApisRequest type ListGraphqlApisInput struct { _ struct{} `type:"structure"` @@ -3370,18 +2836,6 @@ func (s ListGraphqlApisInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *ListGraphqlApisInput) SetMaxResults(v int64) *ListGraphqlApisInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListGraphqlApisInput) SetNextToken(v string) *ListGraphqlApisInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApisResponse type ListGraphqlApisOutput struct { _ struct{} `type:"structure"` @@ -3411,18 +2865,6 @@ func (s ListGraphqlApisOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGraphqlApis sets the GraphqlApis field's value. -func (s *ListGraphqlApisOutput) SetGraphqlApis(v []GraphqlApi) *ListGraphqlApisOutput { - s.GraphqlApis = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListGraphqlApisOutput) SetNextToken(v string) *ListGraphqlApisOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversRequest type ListResolversInput struct { _ struct{} `type:"structure"` @@ -3473,30 +2915,6 @@ func (s *ListResolversInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *ListResolversInput) SetApiId(v string) *ListResolversInput { - s.ApiId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListResolversInput) SetMaxResults(v int64) *ListResolversInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListResolversInput) SetNextToken(v string) *ListResolversInput { - s.NextToken = &v - return s -} - -// SetTypeName sets the TypeName field's value. -func (s *ListResolversInput) SetTypeName(v string) *ListResolversInput { - s.TypeName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversResponse type ListResolversOutput struct { _ struct{} `type:"structure"` @@ -3526,18 +2944,6 @@ func (s ListResolversOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListResolversOutput) SetNextToken(v string) *ListResolversOutput { - s.NextToken = &v - return s -} - -// SetResolvers sets the Resolvers field's value. -func (s *ListResolversOutput) SetResolvers(v []Resolver) *ListResolversOutput { - s.Resolvers = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypesRequest type ListTypesInput struct { _ struct{} `type:"structure"` @@ -3587,30 +2993,6 @@ func (s *ListTypesInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *ListTypesInput) SetApiId(v string) *ListTypesInput { - s.ApiId = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *ListTypesInput) SetFormat(v TypeDefinitionFormat) *ListTypesInput { - s.Format = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListTypesInput) SetMaxResults(v int64) *ListTypesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTypesInput) SetNextToken(v string) *ListTypesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypesResponse type ListTypesOutput struct { _ struct{} `type:"structure"` @@ -3640,18 +3022,6 @@ func (s ListTypesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTypesOutput) SetNextToken(v string) *ListTypesOutput { - s.NextToken = &v - return s -} - -// SetTypes sets the Types field's value. -func (s *ListTypesOutput) SetTypes(v []Type) *ListTypesOutput { - s.Types = v - return s -} - // Describes a resolver. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/Resolver type Resolver struct { @@ -3686,42 +3056,6 @@ func (s Resolver) GoString() string { return s.String() } -// SetDataSourceName sets the DataSourceName field's value. -func (s *Resolver) SetDataSourceName(v string) *Resolver { - s.DataSourceName = &v - return s -} - -// SetFieldName sets the FieldName field's value. -func (s *Resolver) SetFieldName(v string) *Resolver { - s.FieldName = &v - return s -} - -// SetRequestMappingTemplate sets the RequestMappingTemplate field's value. -func (s *Resolver) SetRequestMappingTemplate(v string) *Resolver { - s.RequestMappingTemplate = &v - return s -} - -// SetResolverArn sets the ResolverArn field's value. -func (s *Resolver) SetResolverArn(v string) *Resolver { - s.ResolverArn = &v - return s -} - -// SetResponseMappingTemplate sets the ResponseMappingTemplate field's value. -func (s *Resolver) SetResponseMappingTemplate(v string) *Resolver { - s.ResponseMappingTemplate = &v - return s -} - -// SetTypeName sets the TypeName field's value. -func (s *Resolver) SetTypeName(v string) *Resolver { - s.TypeName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreationRequest type StartSchemaCreationInput struct { _ struct{} `type:"structure"` @@ -3767,18 +3101,6 @@ func (s *StartSchemaCreationInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *StartSchemaCreationInput) SetApiId(v string) *StartSchemaCreationInput { - s.ApiId = &v - return s -} - -// SetDefinition sets the Definition field's value. -func (s *StartSchemaCreationInput) SetDefinition(v []byte) *StartSchemaCreationInput { - s.Definition = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreationResponse type StartSchemaCreationOutput struct { _ struct{} `type:"structure"` @@ -3805,12 +3127,6 @@ func (s StartSchemaCreationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStatus sets the Status field's value. -func (s *StartSchemaCreationOutput) SetStatus(v SchemaStatus) *StartSchemaCreationOutput { - s.Status = v - return s -} - // Describes a type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/Type type Type struct { @@ -3842,36 +3158,6 @@ func (s Type) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Type) SetArn(v string) *Type { - s.Arn = &v - return s -} - -// SetDefinition sets the Definition field's value. -func (s *Type) SetDefinition(v string) *Type { - s.Definition = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Type) SetDescription(v string) *Type { - s.Description = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *Type) SetFormat(v TypeDefinitionFormat) *Type { - s.Format = v - return s -} - -// SetName sets the Name field's value. -func (s *Type) SetName(v string) *Type { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSourceRequest type UpdateDataSourceInput struct { _ struct{} `type:"structure"` @@ -3953,54 +3239,6 @@ func (s *UpdateDataSourceInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *UpdateDataSourceInput) SetApiId(v string) *UpdateDataSourceInput { - s.ApiId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateDataSourceInput) SetDescription(v string) *UpdateDataSourceInput { - s.Description = &v - return s -} - -// SetDynamodbConfig sets the DynamodbConfig field's value. -func (s *UpdateDataSourceInput) SetDynamodbConfig(v *DynamodbDataSourceConfig) *UpdateDataSourceInput { - s.DynamodbConfig = v - return s -} - -// SetElasticsearchConfig sets the ElasticsearchConfig field's value. -func (s *UpdateDataSourceInput) SetElasticsearchConfig(v *ElasticsearchDataSourceConfig) *UpdateDataSourceInput { - s.ElasticsearchConfig = v - return s -} - -// SetLambdaConfig sets the LambdaConfig field's value. -func (s *UpdateDataSourceInput) SetLambdaConfig(v *LambdaDataSourceConfig) *UpdateDataSourceInput { - s.LambdaConfig = v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateDataSourceInput) SetName(v string) *UpdateDataSourceInput { - s.Name = &v - return s -} - -// SetServiceRoleArn sets the ServiceRoleArn field's value. -func (s *UpdateDataSourceInput) SetServiceRoleArn(v string) *UpdateDataSourceInput { - s.ServiceRoleArn = &v - return s -} - -// SetType sets the Type field's value. -func (s *UpdateDataSourceInput) SetType(v DataSourceType) *UpdateDataSourceInput { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSourceResponse type UpdateDataSourceOutput struct { _ struct{} `type:"structure"` @@ -4026,12 +3264,6 @@ func (s UpdateDataSourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDataSource sets the DataSource field's value. -func (s *UpdateDataSourceOutput) SetDataSource(v *DataSource) *UpdateDataSourceOutput { - s.DataSource = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApiRequest type UpdateGraphqlApiInput struct { _ struct{} `type:"structure"` @@ -4086,30 +3318,6 @@ func (s *UpdateGraphqlApiInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *UpdateGraphqlApiInput) SetApiId(v string) *UpdateGraphqlApiInput { - s.ApiId = &v - return s -} - -// SetAuthenticationType sets the AuthenticationType field's value. -func (s *UpdateGraphqlApiInput) SetAuthenticationType(v AuthenticationType) *UpdateGraphqlApiInput { - s.AuthenticationType = v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateGraphqlApiInput) SetName(v string) *UpdateGraphqlApiInput { - s.Name = &v - return s -} - -// SetUserPoolConfig sets the UserPoolConfig field's value. -func (s *UpdateGraphqlApiInput) SetUserPoolConfig(v *UserPoolConfig) *UpdateGraphqlApiInput { - s.UserPoolConfig = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApiResponse type UpdateGraphqlApiOutput struct { _ struct{} `type:"structure"` @@ -4135,12 +3343,6 @@ func (s UpdateGraphqlApiOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGraphqlApi sets the GraphqlApi field's value. -func (s *UpdateGraphqlApiOutput) SetGraphqlApi(v *GraphqlApi) *UpdateGraphqlApiOutput { - s.GraphqlApi = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolverRequest type UpdateResolverInput struct { _ struct{} `type:"structure"` @@ -4214,42 +3416,6 @@ func (s *UpdateResolverInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *UpdateResolverInput) SetApiId(v string) *UpdateResolverInput { - s.ApiId = &v - return s -} - -// SetDataSourceName sets the DataSourceName field's value. -func (s *UpdateResolverInput) SetDataSourceName(v string) *UpdateResolverInput { - s.DataSourceName = &v - return s -} - -// SetFieldName sets the FieldName field's value. -func (s *UpdateResolverInput) SetFieldName(v string) *UpdateResolverInput { - s.FieldName = &v - return s -} - -// SetRequestMappingTemplate sets the RequestMappingTemplate field's value. -func (s *UpdateResolverInput) SetRequestMappingTemplate(v string) *UpdateResolverInput { - s.RequestMappingTemplate = &v - return s -} - -// SetResponseMappingTemplate sets the ResponseMappingTemplate field's value. -func (s *UpdateResolverInput) SetResponseMappingTemplate(v string) *UpdateResolverInput { - s.ResponseMappingTemplate = &v - return s -} - -// SetTypeName sets the TypeName field's value. -func (s *UpdateResolverInput) SetTypeName(v string) *UpdateResolverInput { - s.TypeName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolverResponse type UpdateResolverOutput struct { _ struct{} `type:"structure"` @@ -4275,12 +3441,6 @@ func (s UpdateResolverOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResolver sets the Resolver field's value. -func (s *UpdateResolverOutput) SetResolver(v *Resolver) *UpdateResolverOutput { - s.Resolver = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateTypeRequest type UpdateTypeInput struct { _ struct{} `type:"structure"` @@ -4335,30 +3495,6 @@ func (s *UpdateTypeInput) Validate() error { return nil } -// SetApiId sets the ApiId field's value. -func (s *UpdateTypeInput) SetApiId(v string) *UpdateTypeInput { - s.ApiId = &v - return s -} - -// SetDefinition sets the Definition field's value. -func (s *UpdateTypeInput) SetDefinition(v string) *UpdateTypeInput { - s.Definition = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *UpdateTypeInput) SetFormat(v TypeDefinitionFormat) *UpdateTypeInput { - s.Format = v - return s -} - -// SetTypeName sets the TypeName field's value. -func (s *UpdateTypeInput) SetTypeName(v string) *UpdateTypeInput { - s.TypeName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateTypeResponse type UpdateTypeOutput struct { _ struct{} `type:"structure"` @@ -4384,12 +3520,6 @@ func (s UpdateTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetType sets the Type field's value. -func (s *UpdateTypeOutput) SetType(v *Type) *UpdateTypeOutput { - s.Type = v - return s -} - // Describes an Amazon Cognito User Pool configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UserPoolConfig type UserPoolConfig struct { @@ -4448,30 +3578,6 @@ func (s *UserPoolConfig) Validate() error { return nil } -// SetAppIdClientRegex sets the AppIdClientRegex field's value. -func (s *UserPoolConfig) SetAppIdClientRegex(v string) *UserPoolConfig { - s.AppIdClientRegex = &v - return s -} - -// SetAwsRegion sets the AwsRegion field's value. -func (s *UserPoolConfig) SetAwsRegion(v string) *UserPoolConfig { - s.AwsRegion = &v - return s -} - -// SetDefaultAction sets the DefaultAction field's value. -func (s *UserPoolConfig) SetDefaultAction(v DefaultAction) *UserPoolConfig { - s.DefaultAction = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *UserPoolConfig) SetUserPoolId(v string) *UserPoolConfig { - s.UserPoolId = &v - return s -} - type AuthenticationType string // Enum values for AuthenticationType diff --git a/service/athena/api.go b/service/athena/api.go index 180a825e47e..94b87cf8632 100644 --- a/service/athena/api.go +++ b/service/athena/api.go @@ -790,12 +790,6 @@ func (s *BatchGetNamedQueryInput) Validate() error { return nil } -// SetNamedQueryIds sets the NamedQueryIds field's value. -func (s *BatchGetNamedQueryInput) SetNamedQueryIds(v []string) *BatchGetNamedQueryInput { - s.NamedQueryIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetNamedQueryOutput type BatchGetNamedQueryOutput struct { _ struct{} `type:"structure"` @@ -824,18 +818,6 @@ func (s BatchGetNamedQueryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNamedQueries sets the NamedQueries field's value. -func (s *BatchGetNamedQueryOutput) SetNamedQueries(v []NamedQuery) *BatchGetNamedQueryOutput { - s.NamedQueries = v - return s -} - -// SetUnprocessedNamedQueryIds sets the UnprocessedNamedQueryIds field's value. -func (s *BatchGetNamedQueryOutput) SetUnprocessedNamedQueryIds(v []UnprocessedNamedQueryId) *BatchGetNamedQueryOutput { - s.UnprocessedNamedQueryIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetQueryExecutionInput type BatchGetQueryExecutionInput struct { _ struct{} `type:"structure"` @@ -873,12 +855,6 @@ func (s *BatchGetQueryExecutionInput) Validate() error { return nil } -// SetQueryExecutionIds sets the QueryExecutionIds field's value. -func (s *BatchGetQueryExecutionInput) SetQueryExecutionIds(v []string) *BatchGetQueryExecutionInput { - s.QueryExecutionIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetQueryExecutionOutput type BatchGetQueryExecutionOutput struct { _ struct{} `type:"structure"` @@ -907,18 +883,6 @@ func (s BatchGetQueryExecutionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetQueryExecutions sets the QueryExecutions field's value. -func (s *BatchGetQueryExecutionOutput) SetQueryExecutions(v []QueryExecution) *BatchGetQueryExecutionOutput { - s.QueryExecutions = v - return s -} - -// SetUnprocessedQueryExecutionIds sets the UnprocessedQueryExecutionIds field's value. -func (s *BatchGetQueryExecutionOutput) SetUnprocessedQueryExecutionIds(v []UnprocessedQueryExecutionId) *BatchGetQueryExecutionOutput { - s.UnprocessedQueryExecutionIds = v - return s -} - // Information about the columns in a query execution result. // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ColumnInfo type ColumnInfo struct { @@ -971,66 +935,6 @@ func (s ColumnInfo) GoString() string { return s.String() } -// SetCaseSensitive sets the CaseSensitive field's value. -func (s *ColumnInfo) SetCaseSensitive(v bool) *ColumnInfo { - s.CaseSensitive = &v - return s -} - -// SetCatalogName sets the CatalogName field's value. -func (s *ColumnInfo) SetCatalogName(v string) *ColumnInfo { - s.CatalogName = &v - return s -} - -// SetLabel sets the Label field's value. -func (s *ColumnInfo) SetLabel(v string) *ColumnInfo { - s.Label = &v - return s -} - -// SetName sets the Name field's value. -func (s *ColumnInfo) SetName(v string) *ColumnInfo { - s.Name = &v - return s -} - -// SetNullable sets the Nullable field's value. -func (s *ColumnInfo) SetNullable(v ColumnNullable) *ColumnInfo { - s.Nullable = v - return s -} - -// SetPrecision sets the Precision field's value. -func (s *ColumnInfo) SetPrecision(v int64) *ColumnInfo { - s.Precision = &v - return s -} - -// SetScale sets the Scale field's value. -func (s *ColumnInfo) SetScale(v int64) *ColumnInfo { - s.Scale = &v - return s -} - -// SetSchemaName sets the SchemaName field's value. -func (s *ColumnInfo) SetSchemaName(v string) *ColumnInfo { - s.SchemaName = &v - return s -} - -// SetTableName sets the TableName field's value. -func (s *ColumnInfo) SetTableName(v string) *ColumnInfo { - s.TableName = &v - return s -} - -// SetType sets the Type field's value. -func (s *ColumnInfo) SetType(v string) *ColumnInfo { - s.Type = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateNamedQueryInput type CreateNamedQueryInput struct { _ struct{} `type:"structure"` @@ -1111,36 +1015,6 @@ func (s *CreateNamedQueryInput) Validate() error { return nil } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *CreateNamedQueryInput) SetClientRequestToken(v string) *CreateNamedQueryInput { - s.ClientRequestToken = &v - return s -} - -// SetDatabase sets the Database field's value. -func (s *CreateNamedQueryInput) SetDatabase(v string) *CreateNamedQueryInput { - s.Database = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateNamedQueryInput) SetDescription(v string) *CreateNamedQueryInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateNamedQueryInput) SetName(v string) *CreateNamedQueryInput { - s.Name = &v - return s -} - -// SetQueryString sets the QueryString field's value. -func (s *CreateNamedQueryInput) SetQueryString(v string) *CreateNamedQueryInput { - s.QueryString = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateNamedQueryOutput type CreateNamedQueryOutput struct { _ struct{} `type:"structure"` @@ -1166,12 +1040,6 @@ func (s CreateNamedQueryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNamedQueryId sets the NamedQueryId field's value. -func (s *CreateNamedQueryOutput) SetNamedQueryId(v string) *CreateNamedQueryOutput { - s.NamedQueryId = &v - return s -} - // A piece of data (a field in the table). // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/Datum type Datum struct { @@ -1191,12 +1059,6 @@ func (s Datum) GoString() string { return s.String() } -// SetVarCharValue sets the VarCharValue field's value. -func (s *Datum) SetVarCharValue(v string) *Datum { - s.VarCharValue = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteNamedQueryInput type DeleteNamedQueryInput struct { _ struct{} `type:"structure"` @@ -1231,12 +1093,6 @@ func (s *DeleteNamedQueryInput) Validate() error { return nil } -// SetNamedQueryId sets the NamedQueryId field's value. -func (s *DeleteNamedQueryInput) SetNamedQueryId(v string) *DeleteNamedQueryInput { - s.NamedQueryId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteNamedQueryOutput type DeleteNamedQueryOutput struct { _ struct{} `type:"structure"` @@ -1299,18 +1155,6 @@ func (s *EncryptionConfiguration) Validate() error { return nil } -// SetEncryptionOption sets the EncryptionOption field's value. -func (s *EncryptionConfiguration) SetEncryptionOption(v EncryptionOption) *EncryptionConfiguration { - s.EncryptionOption = v - return s -} - -// SetKmsKey sets the KmsKey field's value. -func (s *EncryptionConfiguration) SetKmsKey(v string) *EncryptionConfiguration { - s.KmsKey = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetNamedQueryInput type GetNamedQueryInput struct { _ struct{} `type:"structure"` @@ -1345,12 +1189,6 @@ func (s *GetNamedQueryInput) Validate() error { return nil } -// SetNamedQueryId sets the NamedQueryId field's value. -func (s *GetNamedQueryInput) SetNamedQueryId(v string) *GetNamedQueryInput { - s.NamedQueryId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetNamedQueryOutput type GetNamedQueryOutput struct { _ struct{} `type:"structure"` @@ -1376,12 +1214,6 @@ func (s GetNamedQueryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNamedQuery sets the NamedQuery field's value. -func (s *GetNamedQueryOutput) SetNamedQuery(v *NamedQuery) *GetNamedQueryOutput { - s.NamedQuery = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryExecutionInput type GetQueryExecutionInput struct { _ struct{} `type:"structure"` @@ -1416,12 +1248,6 @@ func (s *GetQueryExecutionInput) Validate() error { return nil } -// SetQueryExecutionId sets the QueryExecutionId field's value. -func (s *GetQueryExecutionInput) SetQueryExecutionId(v string) *GetQueryExecutionInput { - s.QueryExecutionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryExecutionOutput type GetQueryExecutionOutput struct { _ struct{} `type:"structure"` @@ -1447,12 +1273,6 @@ func (s GetQueryExecutionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetQueryExecution sets the QueryExecution field's value. -func (s *GetQueryExecutionOutput) SetQueryExecution(v *QueryExecution) *GetQueryExecutionOutput { - s.QueryExecution = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryResultsInput type GetQueryResultsInput struct { _ struct{} `type:"structure"` @@ -1494,24 +1314,6 @@ func (s *GetQueryResultsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *GetQueryResultsInput) SetMaxResults(v int64) *GetQueryResultsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetQueryResultsInput) SetNextToken(v string) *GetQueryResultsInput { - s.NextToken = &v - return s -} - -// SetQueryExecutionId sets the QueryExecutionId field's value. -func (s *GetQueryResultsInput) SetQueryExecutionId(v string) *GetQueryResultsInput { - s.QueryExecutionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryResultsOutput type GetQueryResultsOutput struct { _ struct{} `type:"structure"` @@ -1540,18 +1342,6 @@ func (s GetQueryResultsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *GetQueryResultsOutput) SetNextToken(v string) *GetQueryResultsOutput { - s.NextToken = &v - return s -} - -// SetResultSet sets the ResultSet field's value. -func (s *GetQueryResultsOutput) SetResultSet(v *ResultSet) *GetQueryResultsOutput { - s.ResultSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListNamedQueriesInput type ListNamedQueriesInput struct { _ struct{} `type:"structure"` @@ -1574,18 +1364,6 @@ func (s ListNamedQueriesInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *ListNamedQueriesInput) SetMaxResults(v int64) *ListNamedQueriesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListNamedQueriesInput) SetNextToken(v string) *ListNamedQueriesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListNamedQueriesOutput type ListNamedQueriesOutput struct { _ struct{} `type:"structure"` @@ -1614,18 +1392,6 @@ func (s ListNamedQueriesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNamedQueryIds sets the NamedQueryIds field's value. -func (s *ListNamedQueriesOutput) SetNamedQueryIds(v []string) *ListNamedQueriesOutput { - s.NamedQueryIds = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListNamedQueriesOutput) SetNextToken(v string) *ListNamedQueriesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListQueryExecutionsInput type ListQueryExecutionsInput struct { _ struct{} `type:"structure"` @@ -1648,18 +1414,6 @@ func (s ListQueryExecutionsInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *ListQueryExecutionsInput) SetMaxResults(v int64) *ListQueryExecutionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListQueryExecutionsInput) SetNextToken(v string) *ListQueryExecutionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListQueryExecutionsOutput type ListQueryExecutionsOutput struct { _ struct{} `type:"structure"` @@ -1688,18 +1442,6 @@ func (s ListQueryExecutionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListQueryExecutionsOutput) SetNextToken(v string) *ListQueryExecutionsOutput { - s.NextToken = &v - return s -} - -// SetQueryExecutionIds sets the QueryExecutionIds field's value. -func (s *ListQueryExecutionsOutput) SetQueryExecutionIds(v []string) *ListQueryExecutionsOutput { - s.QueryExecutionIds = v - return s -} - // A query, where QueryString is the SQL query statements that comprise the // query. // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/NamedQuery @@ -1738,36 +1480,6 @@ func (s NamedQuery) GoString() string { return s.String() } -// SetDatabase sets the Database field's value. -func (s *NamedQuery) SetDatabase(v string) *NamedQuery { - s.Database = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *NamedQuery) SetDescription(v string) *NamedQuery { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *NamedQuery) SetName(v string) *NamedQuery { - s.Name = &v - return s -} - -// SetNamedQueryId sets the NamedQueryId field's value. -func (s *NamedQuery) SetNamedQueryId(v string) *NamedQuery { - s.NamedQueryId = &v - return s -} - -// SetQueryString sets the QueryString field's value. -func (s *NamedQuery) SetQueryString(v string) *NamedQuery { - s.QueryString = &v - return s -} - // Information about a single instance of a query execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryExecution type QueryExecution struct { @@ -1805,42 +1517,6 @@ func (s QueryExecution) GoString() string { return s.String() } -// SetQuery sets the Query field's value. -func (s *QueryExecution) SetQuery(v string) *QueryExecution { - s.Query = &v - return s -} - -// SetQueryExecutionContext sets the QueryExecutionContext field's value. -func (s *QueryExecution) SetQueryExecutionContext(v *QueryExecutionContext) *QueryExecution { - s.QueryExecutionContext = v - return s -} - -// SetQueryExecutionId sets the QueryExecutionId field's value. -func (s *QueryExecution) SetQueryExecutionId(v string) *QueryExecution { - s.QueryExecutionId = &v - return s -} - -// SetResultConfiguration sets the ResultConfiguration field's value. -func (s *QueryExecution) SetResultConfiguration(v *ResultConfiguration) *QueryExecution { - s.ResultConfiguration = v - return s -} - -// SetStatistics sets the Statistics field's value. -func (s *QueryExecution) SetStatistics(v *QueryExecutionStatistics) *QueryExecution { - s.Statistics = v - return s -} - -// SetStatus sets the Status field's value. -func (s *QueryExecution) SetStatus(v *QueryExecutionStatus) *QueryExecution { - s.Status = v - return s -} - // The database in which the query execution occurs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryExecutionContext type QueryExecutionContext struct { @@ -1873,12 +1549,6 @@ func (s *QueryExecutionContext) Validate() error { return nil } -// SetDatabase sets the Database field's value. -func (s *QueryExecutionContext) SetDatabase(v string) *QueryExecutionContext { - s.Database = &v - return s -} - // The amount of data scanned during the query execution and the amount of time // that it took to execute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryExecutionStatistics @@ -1902,18 +1572,6 @@ func (s QueryExecutionStatistics) GoString() string { return s.String() } -// SetDataScannedInBytes sets the DataScannedInBytes field's value. -func (s *QueryExecutionStatistics) SetDataScannedInBytes(v int64) *QueryExecutionStatistics { - s.DataScannedInBytes = &v - return s -} - -// SetEngineExecutionTimeInMillis sets the EngineExecutionTimeInMillis field's value. -func (s *QueryExecutionStatistics) SetEngineExecutionTimeInMillis(v int64) *QueryExecutionStatistics { - s.EngineExecutionTimeInMillis = &v - return s -} - // The completion date, current state, submission time, and state change reason // (if applicable) for the query execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/QueryExecutionStatus @@ -1947,30 +1605,6 @@ func (s QueryExecutionStatus) GoString() string { return s.String() } -// SetCompletionDateTime sets the CompletionDateTime field's value. -func (s *QueryExecutionStatus) SetCompletionDateTime(v time.Time) *QueryExecutionStatus { - s.CompletionDateTime = &v - return s -} - -// SetState sets the State field's value. -func (s *QueryExecutionStatus) SetState(v QueryExecutionState) *QueryExecutionStatus { - s.State = v - return s -} - -// SetStateChangeReason sets the StateChangeReason field's value. -func (s *QueryExecutionStatus) SetStateChangeReason(v string) *QueryExecutionStatus { - s.StateChangeReason = &v - return s -} - -// SetSubmissionDateTime sets the SubmissionDateTime field's value. -func (s *QueryExecutionStatus) SetSubmissionDateTime(v time.Time) *QueryExecutionStatus { - s.SubmissionDateTime = &v - return s -} - // The location in Amazon S3 where query results are stored and the encryption // option, if any, used for query results. // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ResultConfiguration @@ -2016,18 +1650,6 @@ func (s *ResultConfiguration) Validate() error { return nil } -// SetEncryptionConfiguration sets the EncryptionConfiguration field's value. -func (s *ResultConfiguration) SetEncryptionConfiguration(v *EncryptionConfiguration) *ResultConfiguration { - s.EncryptionConfiguration = v - return s -} - -// SetOutputLocation sets the OutputLocation field's value. -func (s *ResultConfiguration) SetOutputLocation(v string) *ResultConfiguration { - s.OutputLocation = &v - return s -} - // The metadata and rows that comprise a query result set. The metadata describes // the column structure and data types. // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ResultSet @@ -2052,18 +1674,6 @@ func (s ResultSet) GoString() string { return s.String() } -// SetResultSetMetadata sets the ResultSetMetadata field's value. -func (s *ResultSet) SetResultSetMetadata(v *ResultSetMetadata) *ResultSet { - s.ResultSetMetadata = v - return s -} - -// SetRows sets the Rows field's value. -func (s *ResultSet) SetRows(v []Row) *ResultSet { - s.Rows = v - return s -} - // The metadata that describes the column structure and data types of a table // of query results. // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ResultSetMetadata @@ -2084,12 +1694,6 @@ func (s ResultSetMetadata) GoString() string { return s.String() } -// SetColumnInfo sets the ColumnInfo field's value. -func (s *ResultSetMetadata) SetColumnInfo(v []ColumnInfo) *ResultSetMetadata { - s.ColumnInfo = v - return s -} - // The rows that comprise a query result table. // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/Row type Row struct { @@ -2109,12 +1713,6 @@ func (s Row) GoString() string { return s.String() } -// SetData sets the Data field's value. -func (s *Row) SetData(v []Datum) *Row { - s.Data = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StartQueryExecutionInput type StartQueryExecutionInput struct { _ struct{} `type:"structure"` @@ -2188,30 +1786,6 @@ func (s *StartQueryExecutionInput) Validate() error { return nil } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *StartQueryExecutionInput) SetClientRequestToken(v string) *StartQueryExecutionInput { - s.ClientRequestToken = &v - return s -} - -// SetQueryExecutionContext sets the QueryExecutionContext field's value. -func (s *StartQueryExecutionInput) SetQueryExecutionContext(v *QueryExecutionContext) *StartQueryExecutionInput { - s.QueryExecutionContext = v - return s -} - -// SetQueryString sets the QueryString field's value. -func (s *StartQueryExecutionInput) SetQueryString(v string) *StartQueryExecutionInput { - s.QueryString = &v - return s -} - -// SetResultConfiguration sets the ResultConfiguration field's value. -func (s *StartQueryExecutionInput) SetResultConfiguration(v *ResultConfiguration) *StartQueryExecutionInput { - s.ResultConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StartQueryExecutionOutput type StartQueryExecutionOutput struct { _ struct{} `type:"structure"` @@ -2237,12 +1811,6 @@ func (s StartQueryExecutionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetQueryExecutionId sets the QueryExecutionId field's value. -func (s *StartQueryExecutionOutput) SetQueryExecutionId(v string) *StartQueryExecutionOutput { - s.QueryExecutionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StopQueryExecutionInput type StopQueryExecutionInput struct { _ struct{} `type:"structure"` @@ -2277,12 +1845,6 @@ func (s *StopQueryExecutionInput) Validate() error { return nil } -// SetQueryExecutionId sets the QueryExecutionId field's value. -func (s *StopQueryExecutionInput) SetQueryExecutionId(v string) *StopQueryExecutionInput { - s.QueryExecutionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StopQueryExecutionOutput type StopQueryExecutionOutput struct { _ struct{} `type:"structure"` @@ -2332,24 +1894,6 @@ func (s UnprocessedNamedQueryId) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *UnprocessedNamedQueryId) SetErrorCode(v string) *UnprocessedNamedQueryId { - s.ErrorCode = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *UnprocessedNamedQueryId) SetErrorMessage(v string) *UnprocessedNamedQueryId { - s.ErrorMessage = &v - return s -} - -// SetNamedQueryId sets the NamedQueryId field's value. -func (s *UnprocessedNamedQueryId) SetNamedQueryId(v string) *UnprocessedNamedQueryId { - s.NamedQueryId = &v - return s -} - // Describes a query execution that failed to process. // Please also see https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UnprocessedQueryExecutionId type UnprocessedQueryExecutionId struct { @@ -2376,24 +1920,6 @@ func (s UnprocessedQueryExecutionId) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *UnprocessedQueryExecutionId) SetErrorCode(v string) *UnprocessedQueryExecutionId { - s.ErrorCode = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *UnprocessedQueryExecutionId) SetErrorMessage(v string) *UnprocessedQueryExecutionId { - s.ErrorMessage = &v - return s -} - -// SetQueryExecutionId sets the QueryExecutionId field's value. -func (s *UnprocessedQueryExecutionId) SetQueryExecutionId(v string) *UnprocessedQueryExecutionId { - s.QueryExecutionId = &v - return s -} - type ColumnNullable string // Enum values for ColumnNullable diff --git a/service/autoscaling/api.go b/service/autoscaling/api.go index 8a422258acc..60b9630bab4 100644 --- a/service/autoscaling/api.go +++ b/service/autoscaling/api.go @@ -3382,66 +3382,6 @@ func (s Activity) GoString() string { return s.String() } -// SetActivityId sets the ActivityId field's value. -func (s *Activity) SetActivityId(v string) *Activity { - s.ActivityId = &v - return s -} - -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *Activity) SetAutoScalingGroupName(v string) *Activity { - s.AutoScalingGroupName = &v - return s -} - -// SetCause sets the Cause field's value. -func (s *Activity) SetCause(v string) *Activity { - s.Cause = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Activity) SetDescription(v string) *Activity { - s.Description = &v - return s -} - -// SetDetails sets the Details field's value. -func (s *Activity) SetDetails(v string) *Activity { - s.Details = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *Activity) SetEndTime(v time.Time) *Activity { - s.EndTime = &v - return s -} - -// SetProgress sets the Progress field's value. -func (s *Activity) SetProgress(v int64) *Activity { - s.Progress = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *Activity) SetStartTime(v time.Time) *Activity { - s.StartTime = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *Activity) SetStatusCode(v ScalingActivityStatusCode) *Activity { - s.StatusCode = v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *Activity) SetStatusMessage(v string) *Activity { - s.StatusMessage = &v - return s -} - // Describes a policy adjustment type. // // For more information, see Dynamic Scaling (http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-scale-based-on-demand.html) @@ -3465,12 +3405,6 @@ func (s AdjustmentType) GoString() string { return s.String() } -// SetAdjustmentType sets the AdjustmentType field's value. -func (s *AdjustmentType) SetAdjustmentType(v string) *AdjustmentType { - s.AdjustmentType = &v - return s -} - // Describes an alarm. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Alarm type Alarm struct { @@ -3493,18 +3427,6 @@ func (s Alarm) GoString() string { return s.String() } -// SetAlarmARN sets the AlarmARN field's value. -func (s *Alarm) SetAlarmARN(v string) *Alarm { - s.AlarmARN = &v - return s -} - -// SetAlarmName sets the AlarmName field's value. -func (s *Alarm) SetAlarmName(v string) *Alarm { - s.AlarmName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachInstancesQuery type AttachInstancesInput struct { _ struct{} `type:"structure"` @@ -3545,18 +3467,6 @@ func (s *AttachInstancesInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *AttachInstancesInput) SetAutoScalingGroupName(v string) *AttachInstancesInput { - s.AutoScalingGroupName = &v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *AttachInstancesInput) SetInstanceIds(v []string) *AttachInstancesInput { - s.InstanceIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachInstancesOutput type AttachInstancesOutput struct { _ struct{} `type:"structure"` @@ -3625,18 +3535,6 @@ func (s *AttachLoadBalancerTargetGroupsInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *AttachLoadBalancerTargetGroupsInput) SetAutoScalingGroupName(v string) *AttachLoadBalancerTargetGroupsInput { - s.AutoScalingGroupName = &v - return s -} - -// SetTargetGroupARNs sets the TargetGroupARNs field's value. -func (s *AttachLoadBalancerTargetGroupsInput) SetTargetGroupARNs(v []string) *AttachLoadBalancerTargetGroupsInput { - s.TargetGroupARNs = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancerTargetGroupsResultType type AttachLoadBalancerTargetGroupsOutput struct { _ struct{} `type:"structure"` @@ -3705,18 +3603,6 @@ func (s *AttachLoadBalancersInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *AttachLoadBalancersInput) SetAutoScalingGroupName(v string) *AttachLoadBalancersInput { - s.AutoScalingGroupName = &v - return s -} - -// SetLoadBalancerNames sets the LoadBalancerNames field's value. -func (s *AttachLoadBalancersInput) SetLoadBalancerNames(v []string) *AttachLoadBalancersInput { - s.LoadBalancerNames = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancersResultType type AttachLoadBalancersOutput struct { _ struct{} `type:"structure"` @@ -3798,30 +3684,6 @@ func (s *BlockDeviceMapping) Validate() error { return nil } -// SetDeviceName sets the DeviceName field's value. -func (s *BlockDeviceMapping) SetDeviceName(v string) *BlockDeviceMapping { - s.DeviceName = &v - return s -} - -// SetEbs sets the Ebs field's value. -func (s *BlockDeviceMapping) SetEbs(v *Ebs) *BlockDeviceMapping { - s.Ebs = v - return s -} - -// SetNoDevice sets the NoDevice field's value. -func (s *BlockDeviceMapping) SetNoDevice(v bool) *BlockDeviceMapping { - s.NoDevice = &v - return s -} - -// SetVirtualName sets the VirtualName field's value. -func (s *BlockDeviceMapping) SetVirtualName(v string) *BlockDeviceMapping { - s.VirtualName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleActionType type CompleteLifecycleActionInput struct { _ struct{} `type:"structure"` @@ -3895,36 +3757,6 @@ func (s *CompleteLifecycleActionInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *CompleteLifecycleActionInput) SetAutoScalingGroupName(v string) *CompleteLifecycleActionInput { - s.AutoScalingGroupName = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *CompleteLifecycleActionInput) SetInstanceId(v string) *CompleteLifecycleActionInput { - s.InstanceId = &v - return s -} - -// SetLifecycleActionResult sets the LifecycleActionResult field's value. -func (s *CompleteLifecycleActionInput) SetLifecycleActionResult(v string) *CompleteLifecycleActionInput { - s.LifecycleActionResult = &v - return s -} - -// SetLifecycleActionToken sets the LifecycleActionToken field's value. -func (s *CompleteLifecycleActionInput) SetLifecycleActionToken(v string) *CompleteLifecycleActionInput { - s.LifecycleActionToken = &v - return s -} - -// SetLifecycleHookName sets the LifecycleHookName field's value. -func (s *CompleteLifecycleActionInput) SetLifecycleHookName(v string) *CompleteLifecycleActionInput { - s.LifecycleHookName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleActionAnswer type CompleteLifecycleActionOutput struct { _ struct{} `type:"structure"` @@ -4144,120 +3976,6 @@ func (s *CreateAutoScalingGroupInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *CreateAutoScalingGroupInput) SetAutoScalingGroupName(v string) *CreateAutoScalingGroupInput { - s.AutoScalingGroupName = &v - return s -} - -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *CreateAutoScalingGroupInput) SetAvailabilityZones(v []string) *CreateAutoScalingGroupInput { - s.AvailabilityZones = v - return s -} - -// SetDefaultCooldown sets the DefaultCooldown field's value. -func (s *CreateAutoScalingGroupInput) SetDefaultCooldown(v int64) *CreateAutoScalingGroupInput { - s.DefaultCooldown = &v - return s -} - -// SetDesiredCapacity sets the DesiredCapacity field's value. -func (s *CreateAutoScalingGroupInput) SetDesiredCapacity(v int64) *CreateAutoScalingGroupInput { - s.DesiredCapacity = &v - return s -} - -// SetHealthCheckGracePeriod sets the HealthCheckGracePeriod field's value. -func (s *CreateAutoScalingGroupInput) SetHealthCheckGracePeriod(v int64) *CreateAutoScalingGroupInput { - s.HealthCheckGracePeriod = &v - return s -} - -// SetHealthCheckType sets the HealthCheckType field's value. -func (s *CreateAutoScalingGroupInput) SetHealthCheckType(v string) *CreateAutoScalingGroupInput { - s.HealthCheckType = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *CreateAutoScalingGroupInput) SetInstanceId(v string) *CreateAutoScalingGroupInput { - s.InstanceId = &v - return s -} - -// SetLaunchConfigurationName sets the LaunchConfigurationName field's value. -func (s *CreateAutoScalingGroupInput) SetLaunchConfigurationName(v string) *CreateAutoScalingGroupInput { - s.LaunchConfigurationName = &v - return s -} - -// SetLaunchTemplate sets the LaunchTemplate field's value. -func (s *CreateAutoScalingGroupInput) SetLaunchTemplate(v *LaunchTemplateSpecification) *CreateAutoScalingGroupInput { - s.LaunchTemplate = v - return s -} - -// SetLifecycleHookSpecificationList sets the LifecycleHookSpecificationList field's value. -func (s *CreateAutoScalingGroupInput) SetLifecycleHookSpecificationList(v []LifecycleHookSpecification) *CreateAutoScalingGroupInput { - s.LifecycleHookSpecificationList = v - return s -} - -// SetLoadBalancerNames sets the LoadBalancerNames field's value. -func (s *CreateAutoScalingGroupInput) SetLoadBalancerNames(v []string) *CreateAutoScalingGroupInput { - s.LoadBalancerNames = v - return s -} - -// SetMaxSize sets the MaxSize field's value. -func (s *CreateAutoScalingGroupInput) SetMaxSize(v int64) *CreateAutoScalingGroupInput { - s.MaxSize = &v - return s -} - -// SetMinSize sets the MinSize field's value. -func (s *CreateAutoScalingGroupInput) SetMinSize(v int64) *CreateAutoScalingGroupInput { - s.MinSize = &v - return s -} - -// SetNewInstancesProtectedFromScaleIn sets the NewInstancesProtectedFromScaleIn field's value. -func (s *CreateAutoScalingGroupInput) SetNewInstancesProtectedFromScaleIn(v bool) *CreateAutoScalingGroupInput { - s.NewInstancesProtectedFromScaleIn = &v - return s -} - -// SetPlacementGroup sets the PlacementGroup field's value. -func (s *CreateAutoScalingGroupInput) SetPlacementGroup(v string) *CreateAutoScalingGroupInput { - s.PlacementGroup = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateAutoScalingGroupInput) SetTags(v []Tag) *CreateAutoScalingGroupInput { - s.Tags = v - return s -} - -// SetTargetGroupARNs sets the TargetGroupARNs field's value. -func (s *CreateAutoScalingGroupInput) SetTargetGroupARNs(v []string) *CreateAutoScalingGroupInput { - s.TargetGroupARNs = v - return s -} - -// SetTerminationPolicies sets the TerminationPolicies field's value. -func (s *CreateAutoScalingGroupInput) SetTerminationPolicies(v []string) *CreateAutoScalingGroupInput { - s.TerminationPolicies = v - return s -} - -// SetVPCZoneIdentifier sets the VPCZoneIdentifier field's value. -func (s *CreateAutoScalingGroupInput) SetVPCZoneIdentifier(v string) *CreateAutoScalingGroupInput { - s.VPCZoneIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupOutput type CreateAutoScalingGroupOutput struct { _ struct{} `type:"structure"` @@ -4492,114 +4210,6 @@ func (s *CreateLaunchConfigurationInput) Validate() error { return nil } -// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value. -func (s *CreateLaunchConfigurationInput) SetAssociatePublicIpAddress(v bool) *CreateLaunchConfigurationInput { - s.AssociatePublicIpAddress = &v - return s -} - -// SetBlockDeviceMappings sets the BlockDeviceMappings field's value. -func (s *CreateLaunchConfigurationInput) SetBlockDeviceMappings(v []BlockDeviceMapping) *CreateLaunchConfigurationInput { - s.BlockDeviceMappings = v - return s -} - -// SetClassicLinkVPCId sets the ClassicLinkVPCId field's value. -func (s *CreateLaunchConfigurationInput) SetClassicLinkVPCId(v string) *CreateLaunchConfigurationInput { - s.ClassicLinkVPCId = &v - return s -} - -// SetClassicLinkVPCSecurityGroups sets the ClassicLinkVPCSecurityGroups field's value. -func (s *CreateLaunchConfigurationInput) SetClassicLinkVPCSecurityGroups(v []string) *CreateLaunchConfigurationInput { - s.ClassicLinkVPCSecurityGroups = v - return s -} - -// SetEbsOptimized sets the EbsOptimized field's value. -func (s *CreateLaunchConfigurationInput) SetEbsOptimized(v bool) *CreateLaunchConfigurationInput { - s.EbsOptimized = &v - return s -} - -// SetIamInstanceProfile sets the IamInstanceProfile field's value. -func (s *CreateLaunchConfigurationInput) SetIamInstanceProfile(v string) *CreateLaunchConfigurationInput { - s.IamInstanceProfile = &v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *CreateLaunchConfigurationInput) SetImageId(v string) *CreateLaunchConfigurationInput { - s.ImageId = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *CreateLaunchConfigurationInput) SetInstanceId(v string) *CreateLaunchConfigurationInput { - s.InstanceId = &v - return s -} - -// SetInstanceMonitoring sets the InstanceMonitoring field's value. -func (s *CreateLaunchConfigurationInput) SetInstanceMonitoring(v *InstanceMonitoring) *CreateLaunchConfigurationInput { - s.InstanceMonitoring = v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *CreateLaunchConfigurationInput) SetInstanceType(v string) *CreateLaunchConfigurationInput { - s.InstanceType = &v - return s -} - -// SetKernelId sets the KernelId field's value. -func (s *CreateLaunchConfigurationInput) SetKernelId(v string) *CreateLaunchConfigurationInput { - s.KernelId = &v - return s -} - -// SetKeyName sets the KeyName field's value. -func (s *CreateLaunchConfigurationInput) SetKeyName(v string) *CreateLaunchConfigurationInput { - s.KeyName = &v - return s -} - -// SetLaunchConfigurationName sets the LaunchConfigurationName field's value. -func (s *CreateLaunchConfigurationInput) SetLaunchConfigurationName(v string) *CreateLaunchConfigurationInput { - s.LaunchConfigurationName = &v - return s -} - -// SetPlacementTenancy sets the PlacementTenancy field's value. -func (s *CreateLaunchConfigurationInput) SetPlacementTenancy(v string) *CreateLaunchConfigurationInput { - s.PlacementTenancy = &v - return s -} - -// SetRamdiskId sets the RamdiskId field's value. -func (s *CreateLaunchConfigurationInput) SetRamdiskId(v string) *CreateLaunchConfigurationInput { - s.RamdiskId = &v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *CreateLaunchConfigurationInput) SetSecurityGroups(v []string) *CreateLaunchConfigurationInput { - s.SecurityGroups = v - return s -} - -// SetSpotPrice sets the SpotPrice field's value. -func (s *CreateLaunchConfigurationInput) SetSpotPrice(v string) *CreateLaunchConfigurationInput { - s.SpotPrice = &v - return s -} - -// SetUserData sets the UserData field's value. -func (s *CreateLaunchConfigurationInput) SetUserData(v string) *CreateLaunchConfigurationInput { - s.UserData = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateLaunchConfigurationOutput type CreateLaunchConfigurationOutput struct { _ struct{} `type:"structure"` @@ -4663,12 +4273,6 @@ func (s *CreateOrUpdateTagsInput) Validate() error { return nil } -// SetTags sets the Tags field's value. -func (s *CreateOrUpdateTagsInput) SetTags(v []Tag) *CreateOrUpdateTagsInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateOrUpdateTagsOutput type CreateOrUpdateTagsOutput struct { _ struct{} `type:"structure"` @@ -4756,36 +4360,6 @@ func (s *CustomizedMetricSpecification) Validate() error { return nil } -// SetDimensions sets the Dimensions field's value. -func (s *CustomizedMetricSpecification) SetDimensions(v []MetricDimension) *CustomizedMetricSpecification { - s.Dimensions = v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *CustomizedMetricSpecification) SetMetricName(v string) *CustomizedMetricSpecification { - s.MetricName = &v - return s -} - -// SetNamespace sets the Namespace field's value. -func (s *CustomizedMetricSpecification) SetNamespace(v string) *CustomizedMetricSpecification { - s.Namespace = &v - return s -} - -// SetStatistic sets the Statistic field's value. -func (s *CustomizedMetricSpecification) SetStatistic(v MetricStatistic) *CustomizedMetricSpecification { - s.Statistic = v - return s -} - -// SetUnit sets the Unit field's value. -func (s *CustomizedMetricSpecification) SetUnit(v string) *CustomizedMetricSpecification { - s.Unit = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteAutoScalingGroupType type DeleteAutoScalingGroupInput struct { _ struct{} `type:"structure"` @@ -4828,18 +4402,6 @@ func (s *DeleteAutoScalingGroupInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *DeleteAutoScalingGroupInput) SetAutoScalingGroupName(v string) *DeleteAutoScalingGroupInput { - s.AutoScalingGroupName = &v - return s -} - -// SetForceDelete sets the ForceDelete field's value. -func (s *DeleteAutoScalingGroupInput) SetForceDelete(v bool) *DeleteAutoScalingGroupInput { - s.ForceDelete = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteAutoScalingGroupOutput type DeleteAutoScalingGroupOutput struct { _ struct{} `type:"structure"` @@ -4899,12 +4461,6 @@ func (s *DeleteLaunchConfigurationInput) Validate() error { return nil } -// SetLaunchConfigurationName sets the LaunchConfigurationName field's value. -func (s *DeleteLaunchConfigurationInput) SetLaunchConfigurationName(v string) *DeleteLaunchConfigurationInput { - s.LaunchConfigurationName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLaunchConfigurationOutput type DeleteLaunchConfigurationOutput struct { _ struct{} `type:"structure"` @@ -4976,18 +4532,6 @@ func (s *DeleteLifecycleHookInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *DeleteLifecycleHookInput) SetAutoScalingGroupName(v string) *DeleteLifecycleHookInput { - s.AutoScalingGroupName = &v - return s -} - -// SetLifecycleHookName sets the LifecycleHookName field's value. -func (s *DeleteLifecycleHookInput) SetLifecycleHookName(v string) *DeleteLifecycleHookInput { - s.LifecycleHookName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLifecycleHookAnswer type DeleteLifecycleHookOutput struct { _ struct{} `type:"structure"` @@ -5060,18 +4604,6 @@ func (s *DeleteNotificationConfigurationInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *DeleteNotificationConfigurationInput) SetAutoScalingGroupName(v string) *DeleteNotificationConfigurationInput { - s.AutoScalingGroupName = &v - return s -} - -// SetTopicARN sets the TopicARN field's value. -func (s *DeleteNotificationConfigurationInput) SetTopicARN(v string) *DeleteNotificationConfigurationInput { - s.TopicARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteNotificationConfigurationOutput type DeleteNotificationConfigurationOutput struct { _ struct{} `type:"structure"` @@ -5137,18 +4669,6 @@ func (s *DeletePolicyInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *DeletePolicyInput) SetAutoScalingGroupName(v string) *DeletePolicyInput { - s.AutoScalingGroupName = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *DeletePolicyInput) SetPolicyName(v string) *DeletePolicyInput { - s.PolicyName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeletePolicyOutput type DeletePolicyOutput struct { _ struct{} `type:"structure"` @@ -5220,18 +4740,6 @@ func (s *DeleteScheduledActionInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *DeleteScheduledActionInput) SetAutoScalingGroupName(v string) *DeleteScheduledActionInput { - s.AutoScalingGroupName = &v - return s -} - -// SetScheduledActionName sets the ScheduledActionName field's value. -func (s *DeleteScheduledActionInput) SetScheduledActionName(v string) *DeleteScheduledActionInput { - s.ScheduledActionName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteScheduledActionOutput type DeleteScheduledActionOutput struct { _ struct{} `type:"structure"` @@ -5295,12 +4803,6 @@ func (s *DeleteTagsInput) Validate() error { return nil } -// SetTags sets the Tags field's value. -func (s *DeleteTagsInput) SetTags(v []Tag) *DeleteTagsInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteTagsOutput type DeleteTagsOutput struct { _ struct{} `type:"structure"` @@ -5374,30 +4876,6 @@ func (s DescribeAccountLimitsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMaxNumberOfAutoScalingGroups sets the MaxNumberOfAutoScalingGroups field's value. -func (s *DescribeAccountLimitsOutput) SetMaxNumberOfAutoScalingGroups(v int64) *DescribeAccountLimitsOutput { - s.MaxNumberOfAutoScalingGroups = &v - return s -} - -// SetMaxNumberOfLaunchConfigurations sets the MaxNumberOfLaunchConfigurations field's value. -func (s *DescribeAccountLimitsOutput) SetMaxNumberOfLaunchConfigurations(v int64) *DescribeAccountLimitsOutput { - s.MaxNumberOfLaunchConfigurations = &v - return s -} - -// SetNumberOfAutoScalingGroups sets the NumberOfAutoScalingGroups field's value. -func (s *DescribeAccountLimitsOutput) SetNumberOfAutoScalingGroups(v int64) *DescribeAccountLimitsOutput { - s.NumberOfAutoScalingGroups = &v - return s -} - -// SetNumberOfLaunchConfigurations sets the NumberOfLaunchConfigurations field's value. -func (s *DescribeAccountLimitsOutput) SetNumberOfLaunchConfigurations(v int64) *DescribeAccountLimitsOutput { - s.NumberOfLaunchConfigurations = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAdjustmentTypesInput type DescribeAdjustmentTypesInput struct { _ struct{} `type:"structure"` @@ -5438,12 +4916,6 @@ func (s DescribeAdjustmentTypesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAdjustmentTypes sets the AdjustmentTypes field's value. -func (s *DescribeAdjustmentTypesOutput) SetAdjustmentTypes(v []AdjustmentType) *DescribeAdjustmentTypesOutput { - s.AdjustmentTypes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/GroupNamesType type DescribeAutoScalingGroupsInput struct { _ struct{} `type:"structure"` @@ -5471,24 +4943,6 @@ func (s DescribeAutoScalingGroupsInput) GoString() string { return s.String() } -// SetAutoScalingGroupNames sets the AutoScalingGroupNames field's value. -func (s *DescribeAutoScalingGroupsInput) SetAutoScalingGroupNames(v []string) *DescribeAutoScalingGroupsInput { - s.AutoScalingGroupNames = v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeAutoScalingGroupsInput) SetMaxRecords(v int64) *DescribeAutoScalingGroupsInput { - s.MaxRecords = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAutoScalingGroupsInput) SetNextToken(v string) *DescribeAutoScalingGroupsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/GroupsType type DescribeAutoScalingGroupsOutput struct { _ struct{} `type:"structure"` @@ -5520,18 +4974,6 @@ func (s DescribeAutoScalingGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAutoScalingGroups sets the AutoScalingGroups field's value. -func (s *DescribeAutoScalingGroupsOutput) SetAutoScalingGroups(v []Group) *DescribeAutoScalingGroupsOutput { - s.AutoScalingGroups = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAutoScalingGroupsOutput) SetNextToken(v string) *DescribeAutoScalingGroupsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingInstancesType type DescribeAutoScalingInstancesInput struct { _ struct{} `type:"structure"` @@ -5560,24 +5002,6 @@ func (s DescribeAutoScalingInstancesInput) GoString() string { return s.String() } -// SetInstanceIds sets the InstanceIds field's value. -func (s *DescribeAutoScalingInstancesInput) SetInstanceIds(v []string) *DescribeAutoScalingInstancesInput { - s.InstanceIds = v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeAutoScalingInstancesInput) SetMaxRecords(v int64) *DescribeAutoScalingInstancesInput { - s.MaxRecords = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAutoScalingInstancesInput) SetNextToken(v string) *DescribeAutoScalingInstancesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstancesType type DescribeAutoScalingInstancesOutput struct { _ struct{} `type:"structure"` @@ -5607,18 +5031,6 @@ func (s DescribeAutoScalingInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAutoScalingInstances sets the AutoScalingInstances field's value. -func (s *DescribeAutoScalingInstancesOutput) SetAutoScalingInstances(v []InstanceDetails) *DescribeAutoScalingInstancesOutput { - s.AutoScalingInstances = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAutoScalingInstancesOutput) SetNextToken(v string) *DescribeAutoScalingInstancesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingNotificationTypesInput type DescribeAutoScalingNotificationTypesInput struct { _ struct{} `type:"structure"` @@ -5659,12 +5071,6 @@ func (s DescribeAutoScalingNotificationTypesOutput) SDKResponseMetadata() aws.Re return s.responseMetadata } -// SetAutoScalingNotificationTypes sets the AutoScalingNotificationTypes field's value. -func (s *DescribeAutoScalingNotificationTypesOutput) SetAutoScalingNotificationTypes(v []string) *DescribeAutoScalingNotificationTypesOutput { - s.AutoScalingNotificationTypes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfigurationNamesType type DescribeLaunchConfigurationsInput struct { _ struct{} `type:"structure"` @@ -5692,24 +5098,6 @@ func (s DescribeLaunchConfigurationsInput) GoString() string { return s.String() } -// SetLaunchConfigurationNames sets the LaunchConfigurationNames field's value. -func (s *DescribeLaunchConfigurationsInput) SetLaunchConfigurationNames(v []string) *DescribeLaunchConfigurationsInput { - s.LaunchConfigurationNames = v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeLaunchConfigurationsInput) SetMaxRecords(v int64) *DescribeLaunchConfigurationsInput { - s.MaxRecords = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeLaunchConfigurationsInput) SetNextToken(v string) *DescribeLaunchConfigurationsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfigurationsType type DescribeLaunchConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -5741,18 +5129,6 @@ func (s DescribeLaunchConfigurationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLaunchConfigurations sets the LaunchConfigurations field's value. -func (s *DescribeLaunchConfigurationsOutput) SetLaunchConfigurations(v []LaunchConfiguration) *DescribeLaunchConfigurationsOutput { - s.LaunchConfigurations = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeLaunchConfigurationsOutput) SetNextToken(v string) *DescribeLaunchConfigurationsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHookTypesInput type DescribeLifecycleHookTypesInput struct { _ struct{} `type:"structure"` @@ -5793,12 +5169,6 @@ func (s DescribeLifecycleHookTypesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLifecycleHookTypes sets the LifecycleHookTypes field's value. -func (s *DescribeLifecycleHookTypesOutput) SetLifecycleHookTypes(v []string) *DescribeLifecycleHookTypesOutput { - s.LifecycleHookTypes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHooksType type DescribeLifecycleHooksInput struct { _ struct{} `type:"structure"` @@ -5840,18 +5210,6 @@ func (s *DescribeLifecycleHooksInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *DescribeLifecycleHooksInput) SetAutoScalingGroupName(v string) *DescribeLifecycleHooksInput { - s.AutoScalingGroupName = &v - return s -} - -// SetLifecycleHookNames sets the LifecycleHookNames field's value. -func (s *DescribeLifecycleHooksInput) SetLifecycleHookNames(v []string) *DescribeLifecycleHooksInput { - s.LifecycleHookNames = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHooksAnswer type DescribeLifecycleHooksOutput struct { _ struct{} `type:"structure"` @@ -5877,12 +5235,6 @@ func (s DescribeLifecycleHooksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLifecycleHooks sets the LifecycleHooks field's value. -func (s *DescribeLifecycleHooksOutput) SetLifecycleHooks(v []LifecycleHook) *DescribeLifecycleHooksOutput { - s.LifecycleHooks = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancerTargetGroupsRequest type DescribeLoadBalancerTargetGroupsInput struct { _ struct{} `type:"structure"` @@ -5928,24 +5280,6 @@ func (s *DescribeLoadBalancerTargetGroupsInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *DescribeLoadBalancerTargetGroupsInput) SetAutoScalingGroupName(v string) *DescribeLoadBalancerTargetGroupsInput { - s.AutoScalingGroupName = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeLoadBalancerTargetGroupsInput) SetMaxRecords(v int64) *DescribeLoadBalancerTargetGroupsInput { - s.MaxRecords = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeLoadBalancerTargetGroupsInput) SetNextToken(v string) *DescribeLoadBalancerTargetGroupsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancerTargetGroupsResponse type DescribeLoadBalancerTargetGroupsOutput struct { _ struct{} `type:"structure"` @@ -5975,18 +5309,6 @@ func (s DescribeLoadBalancerTargetGroupsOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetLoadBalancerTargetGroups sets the LoadBalancerTargetGroups field's value. -func (s *DescribeLoadBalancerTargetGroupsOutput) SetLoadBalancerTargetGroups(v []LoadBalancerTargetGroupState) *DescribeLoadBalancerTargetGroupsOutput { - s.LoadBalancerTargetGroups = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeLoadBalancerTargetGroupsOutput) SetNextToken(v string) *DescribeLoadBalancerTargetGroupsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancersRequest type DescribeLoadBalancersInput struct { _ struct{} `type:"structure"` @@ -6032,24 +5354,6 @@ func (s *DescribeLoadBalancersInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *DescribeLoadBalancersInput) SetAutoScalingGroupName(v string) *DescribeLoadBalancersInput { - s.AutoScalingGroupName = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeLoadBalancersInput) SetMaxRecords(v int64) *DescribeLoadBalancersInput { - s.MaxRecords = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeLoadBalancersInput) SetNextToken(v string) *DescribeLoadBalancersInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancersResponse type DescribeLoadBalancersOutput struct { _ struct{} `type:"structure"` @@ -6079,18 +5383,6 @@ func (s DescribeLoadBalancersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLoadBalancers sets the LoadBalancers field's value. -func (s *DescribeLoadBalancersOutput) SetLoadBalancers(v []LoadBalancerState) *DescribeLoadBalancersOutput { - s.LoadBalancers = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeLoadBalancersOutput) SetNextToken(v string) *DescribeLoadBalancersOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeMetricCollectionTypesInput type DescribeMetricCollectionTypesInput struct { _ struct{} `type:"structure"` @@ -6134,18 +5426,6 @@ func (s DescribeMetricCollectionTypesOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetGranularities sets the Granularities field's value. -func (s *DescribeMetricCollectionTypesOutput) SetGranularities(v []MetricGranularityType) *DescribeMetricCollectionTypesOutput { - s.Granularities = v - return s -} - -// SetMetrics sets the Metrics field's value. -func (s *DescribeMetricCollectionTypesOutput) SetMetrics(v []MetricCollectionType) *DescribeMetricCollectionTypesOutput { - s.Metrics = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeNotificationConfigurationsType type DescribeNotificationConfigurationsInput struct { _ struct{} `type:"structure"` @@ -6172,24 +5452,6 @@ func (s DescribeNotificationConfigurationsInput) GoString() string { return s.String() } -// SetAutoScalingGroupNames sets the AutoScalingGroupNames field's value. -func (s *DescribeNotificationConfigurationsInput) SetAutoScalingGroupNames(v []string) *DescribeNotificationConfigurationsInput { - s.AutoScalingGroupNames = v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeNotificationConfigurationsInput) SetMaxRecords(v int64) *DescribeNotificationConfigurationsInput { - s.MaxRecords = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeNotificationConfigurationsInput) SetNextToken(v string) *DescribeNotificationConfigurationsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeNotificationConfigurationsAnswer type DescribeNotificationConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -6221,18 +5483,6 @@ func (s DescribeNotificationConfigurationsOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeNotificationConfigurationsOutput) SetNextToken(v string) *DescribeNotificationConfigurationsOutput { - s.NextToken = &v - return s -} - -// SetNotificationConfigurations sets the NotificationConfigurations field's value. -func (s *DescribeNotificationConfigurationsOutput) SetNotificationConfigurations(v []NotificationConfiguration) *DescribeNotificationConfigurationsOutput { - s.NotificationConfigurations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribePoliciesType type DescribePoliciesInput struct { _ struct{} `type:"structure"` @@ -6281,41 +5531,11 @@ func (s *DescribePoliciesInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *DescribePoliciesInput) SetAutoScalingGroupName(v string) *DescribePoliciesInput { - s.AutoScalingGroupName = &v - return s -} +// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PoliciesType +type DescribePoliciesOutput struct { + _ struct{} `type:"structure"` -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribePoliciesInput) SetMaxRecords(v int64) *DescribePoliciesInput { - s.MaxRecords = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribePoliciesInput) SetNextToken(v string) *DescribePoliciesInput { - s.NextToken = &v - return s -} - -// SetPolicyNames sets the PolicyNames field's value. -func (s *DescribePoliciesInput) SetPolicyNames(v []string) *DescribePoliciesInput { - s.PolicyNames = v - return s -} - -// SetPolicyTypes sets the PolicyTypes field's value. -func (s *DescribePoliciesInput) SetPolicyTypes(v []string) *DescribePoliciesInput { - s.PolicyTypes = v - return s -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PoliciesType -type DescribePoliciesOutput struct { - _ struct{} `type:"structure"` - - responseMetadata aws.Response + responseMetadata aws.Response // The token to use when requesting the next set of items. If there are no additional // items to return, the string is empty. @@ -6340,18 +5560,6 @@ func (s DescribePoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribePoliciesOutput) SetNextToken(v string) *DescribePoliciesOutput { - s.NextToken = &v - return s -} - -// SetScalingPolicies sets the ScalingPolicies field's value. -func (s *DescribePoliciesOutput) SetScalingPolicies(v []ScalingPolicy) *DescribePoliciesOutput { - s.ScalingPolicies = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingActivitiesType type DescribeScalingActivitiesInput struct { _ struct{} `type:"structure"` @@ -6398,30 +5606,6 @@ func (s *DescribeScalingActivitiesInput) Validate() error { return nil } -// SetActivityIds sets the ActivityIds field's value. -func (s *DescribeScalingActivitiesInput) SetActivityIds(v []string) *DescribeScalingActivitiesInput { - s.ActivityIds = v - return s -} - -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *DescribeScalingActivitiesInput) SetAutoScalingGroupName(v string) *DescribeScalingActivitiesInput { - s.AutoScalingGroupName = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeScalingActivitiesInput) SetMaxRecords(v int64) *DescribeScalingActivitiesInput { - s.MaxRecords = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeScalingActivitiesInput) SetNextToken(v string) *DescribeScalingActivitiesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ActivitiesType type DescribeScalingActivitiesOutput struct { _ struct{} `type:"structure"` @@ -6454,18 +5638,6 @@ func (s DescribeScalingActivitiesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetActivities sets the Activities field's value. -func (s *DescribeScalingActivitiesOutput) SetActivities(v []Activity) *DescribeScalingActivitiesOutput { - s.Activities = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeScalingActivitiesOutput) SetNextToken(v string) *DescribeScalingActivitiesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingProcessTypesInput type DescribeScalingProcessTypesInput struct { _ struct{} `type:"structure"` @@ -6506,12 +5678,6 @@ func (s DescribeScalingProcessTypesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetProcesses sets the Processes field's value. -func (s *DescribeScalingProcessTypesOutput) SetProcesses(v []ProcessType) *DescribeScalingProcessTypesOutput { - s.Processes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScheduledActionsType type DescribeScheduledActionsInput struct { _ struct{} `type:"structure"` @@ -6568,42 +5734,6 @@ func (s *DescribeScheduledActionsInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *DescribeScheduledActionsInput) SetAutoScalingGroupName(v string) *DescribeScheduledActionsInput { - s.AutoScalingGroupName = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *DescribeScheduledActionsInput) SetEndTime(v time.Time) *DescribeScheduledActionsInput { - s.EndTime = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeScheduledActionsInput) SetMaxRecords(v int64) *DescribeScheduledActionsInput { - s.MaxRecords = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeScheduledActionsInput) SetNextToken(v string) *DescribeScheduledActionsInput { - s.NextToken = &v - return s -} - -// SetScheduledActionNames sets the ScheduledActionNames field's value. -func (s *DescribeScheduledActionsInput) SetScheduledActionNames(v []string) *DescribeScheduledActionsInput { - s.ScheduledActionNames = v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *DescribeScheduledActionsInput) SetStartTime(v time.Time) *DescribeScheduledActionsInput { - s.StartTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScheduledActionsType type DescribeScheduledActionsOutput struct { _ struct{} `type:"structure"` @@ -6633,18 +5763,6 @@ func (s DescribeScheduledActionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeScheduledActionsOutput) SetNextToken(v string) *DescribeScheduledActionsOutput { - s.NextToken = &v - return s -} - -// SetScheduledUpdateGroupActions sets the ScheduledUpdateGroupActions field's value. -func (s *DescribeScheduledActionsOutput) SetScheduledUpdateGroupActions(v []ScheduledUpdateGroupAction) *DescribeScheduledActionsOutput { - s.ScheduledUpdateGroupActions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTagsType type DescribeTagsInput struct { _ struct{} `type:"structure"` @@ -6671,24 +5789,6 @@ func (s DescribeTagsInput) GoString() string { return s.String() } -// SetFilters sets the Filters field's value. -func (s *DescribeTagsInput) SetFilters(v []Filter) *DescribeTagsInput { - s.Filters = v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeTagsInput) SetMaxRecords(v int64) *DescribeTagsInput { - s.MaxRecords = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeTagsInput) SetNextToken(v string) *DescribeTagsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TagsType type DescribeTagsOutput struct { _ struct{} `type:"structure"` @@ -6718,18 +5818,6 @@ func (s DescribeTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeTagsOutput) SetNextToken(v string) *DescribeTagsOutput { - s.NextToken = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *DescribeTagsOutput) SetTags(v []TagDescription) *DescribeTagsOutput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTerminationPolicyTypesInput type DescribeTerminationPolicyTypesInput struct { _ struct{} `type:"structure"` @@ -6771,12 +5859,6 @@ func (s DescribeTerminationPolicyTypesOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetTerminationPolicyTypes sets the TerminationPolicyTypes field's value. -func (s *DescribeTerminationPolicyTypesOutput) SetTerminationPolicyTypes(v []string) *DescribeTerminationPolicyTypesOutput { - s.TerminationPolicyTypes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachInstancesQuery type DetachInstancesInput struct { _ struct{} `type:"structure"` @@ -6827,24 +5909,6 @@ func (s *DetachInstancesInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *DetachInstancesInput) SetAutoScalingGroupName(v string) *DetachInstancesInput { - s.AutoScalingGroupName = &v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *DetachInstancesInput) SetInstanceIds(v []string) *DetachInstancesInput { - s.InstanceIds = v - return s -} - -// SetShouldDecrementDesiredCapacity sets the ShouldDecrementDesiredCapacity field's value. -func (s *DetachInstancesInput) SetShouldDecrementDesiredCapacity(v bool) *DetachInstancesInput { - s.ShouldDecrementDesiredCapacity = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachInstancesAnswer type DetachInstancesOutput struct { _ struct{} `type:"structure"` @@ -6870,12 +5934,6 @@ func (s DetachInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetActivities sets the Activities field's value. -func (s *DetachInstancesOutput) SetActivities(v []Activity) *DetachInstancesOutput { - s.Activities = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancerTargetGroupsType type DetachLoadBalancerTargetGroupsInput struct { _ struct{} `type:"structure"` @@ -6922,18 +5980,6 @@ func (s *DetachLoadBalancerTargetGroupsInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *DetachLoadBalancerTargetGroupsInput) SetAutoScalingGroupName(v string) *DetachLoadBalancerTargetGroupsInput { - s.AutoScalingGroupName = &v - return s -} - -// SetTargetGroupARNs sets the TargetGroupARNs field's value. -func (s *DetachLoadBalancerTargetGroupsInput) SetTargetGroupARNs(v []string) *DetachLoadBalancerTargetGroupsInput { - s.TargetGroupARNs = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancerTargetGroupsResultType type DetachLoadBalancerTargetGroupsOutput struct { _ struct{} `type:"structure"` @@ -7002,18 +6048,6 @@ func (s *DetachLoadBalancersInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *DetachLoadBalancersInput) SetAutoScalingGroupName(v string) *DetachLoadBalancersInput { - s.AutoScalingGroupName = &v - return s -} - -// SetLoadBalancerNames sets the LoadBalancerNames field's value. -func (s *DetachLoadBalancersInput) SetLoadBalancerNames(v []string) *DetachLoadBalancersInput { - s.LoadBalancerNames = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancersResultType type DetachLoadBalancersOutput struct { _ struct{} `type:"structure"` @@ -7093,18 +6127,6 @@ func (s *DisableMetricsCollectionInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *DisableMetricsCollectionInput) SetAutoScalingGroupName(v string) *DisableMetricsCollectionInput { - s.AutoScalingGroupName = &v - return s -} - -// SetMetrics sets the Metrics field's value. -func (s *DisableMetricsCollectionInput) SetMetrics(v []string) *DisableMetricsCollectionInput { - s.Metrics = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DisableMetricsCollectionOutput type DisableMetricsCollectionOutput struct { _ struct{} `type:"structure"` @@ -7204,42 +6226,6 @@ func (s *Ebs) Validate() error { return nil } -// SetDeleteOnTermination sets the DeleteOnTermination field's value. -func (s *Ebs) SetDeleteOnTermination(v bool) *Ebs { - s.DeleteOnTermination = &v - return s -} - -// SetEncrypted sets the Encrypted field's value. -func (s *Ebs) SetEncrypted(v bool) *Ebs { - s.Encrypted = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *Ebs) SetIops(v int64) *Ebs { - s.Iops = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *Ebs) SetSnapshotId(v string) *Ebs { - s.SnapshotId = &v - return s -} - -// SetVolumeSize sets the VolumeSize field's value. -func (s *Ebs) SetVolumeSize(v int64) *Ebs { - s.VolumeSize = &v - return s -} - -// SetVolumeType sets the VolumeType field's value. -func (s *Ebs) SetVolumeType(v string) *Ebs { - s.VolumeType = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnableMetricsCollectionQuery type EnableMetricsCollectionInput struct { _ struct{} `type:"structure"` @@ -7310,24 +6296,6 @@ func (s *EnableMetricsCollectionInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *EnableMetricsCollectionInput) SetAutoScalingGroupName(v string) *EnableMetricsCollectionInput { - s.AutoScalingGroupName = &v - return s -} - -// SetGranularity sets the Granularity field's value. -func (s *EnableMetricsCollectionInput) SetGranularity(v string) *EnableMetricsCollectionInput { - s.Granularity = &v - return s -} - -// SetMetrics sets the Metrics field's value. -func (s *EnableMetricsCollectionInput) SetMetrics(v []string) *EnableMetricsCollectionInput { - s.Metrics = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnableMetricsCollectionOutput type EnableMetricsCollectionOutput struct { _ struct{} `type:"structure"` @@ -7388,18 +6356,6 @@ func (s EnabledMetric) GoString() string { return s.String() } -// SetGranularity sets the Granularity field's value. -func (s *EnabledMetric) SetGranularity(v string) *EnabledMetric { - s.Granularity = &v - return s -} - -// SetMetric sets the Metric field's value. -func (s *EnabledMetric) SetMetric(v string) *EnabledMetric { - s.Metric = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnterStandbyQuery type EnterStandbyInput struct { _ struct{} `type:"structure"` @@ -7453,24 +6409,6 @@ func (s *EnterStandbyInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *EnterStandbyInput) SetAutoScalingGroupName(v string) *EnterStandbyInput { - s.AutoScalingGroupName = &v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *EnterStandbyInput) SetInstanceIds(v []string) *EnterStandbyInput { - s.InstanceIds = v - return s -} - -// SetShouldDecrementDesiredCapacity sets the ShouldDecrementDesiredCapacity field's value. -func (s *EnterStandbyInput) SetShouldDecrementDesiredCapacity(v bool) *EnterStandbyInput { - s.ShouldDecrementDesiredCapacity = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnterStandbyAnswer type EnterStandbyOutput struct { _ struct{} `type:"structure"` @@ -7496,12 +6434,6 @@ func (s EnterStandbyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetActivities sets the Activities field's value. -func (s *EnterStandbyOutput) SetActivities(v []Activity) *EnterStandbyOutput { - s.Activities = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExecutePolicyType type ExecutePolicyInput struct { _ struct{} `type:"structure"` @@ -7574,36 +6506,6 @@ func (s *ExecutePolicyInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *ExecutePolicyInput) SetAutoScalingGroupName(v string) *ExecutePolicyInput { - s.AutoScalingGroupName = &v - return s -} - -// SetBreachThreshold sets the BreachThreshold field's value. -func (s *ExecutePolicyInput) SetBreachThreshold(v float64) *ExecutePolicyInput { - s.BreachThreshold = &v - return s -} - -// SetHonorCooldown sets the HonorCooldown field's value. -func (s *ExecutePolicyInput) SetHonorCooldown(v bool) *ExecutePolicyInput { - s.HonorCooldown = &v - return s -} - -// SetMetricValue sets the MetricValue field's value. -func (s *ExecutePolicyInput) SetMetricValue(v float64) *ExecutePolicyInput { - s.MetricValue = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *ExecutePolicyInput) SetPolicyName(v string) *ExecutePolicyInput { - s.PolicyName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExecutePolicyOutput type ExecutePolicyOutput struct { _ struct{} `type:"structure"` @@ -7666,18 +6568,6 @@ func (s *ExitStandbyInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *ExitStandbyInput) SetAutoScalingGroupName(v string) *ExitStandbyInput { - s.AutoScalingGroupName = &v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *ExitStandbyInput) SetInstanceIds(v []string) *ExitStandbyInput { - s.InstanceIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExitStandbyAnswer type ExitStandbyOutput struct { _ struct{} `type:"structure"` @@ -7703,12 +6593,6 @@ func (s ExitStandbyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetActivities sets the Activities field's value. -func (s *ExitStandbyOutput) SetActivities(v []Activity) *ExitStandbyOutput { - s.Activities = v - return s -} - // Describes a filter. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Filter type Filter struct { @@ -7732,18 +6616,6 @@ func (s Filter) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *Filter) SetName(v string) *Filter { - s.Name = &v - return s -} - -// SetValues sets the Values field's value. -func (s *Filter) SetValues(v []string) *Filter { - s.Values = v - return s -} - // Describes an Auto Scaling group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingGroup type Group struct { @@ -7853,144 +6725,6 @@ func (s Group) GoString() string { return s.String() } -// SetAutoScalingGroupARN sets the AutoScalingGroupARN field's value. -func (s *Group) SetAutoScalingGroupARN(v string) *Group { - s.AutoScalingGroupARN = &v - return s -} - -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *Group) SetAutoScalingGroupName(v string) *Group { - s.AutoScalingGroupName = &v - return s -} - -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *Group) SetAvailabilityZones(v []string) *Group { - s.AvailabilityZones = v - return s -} - -// SetCreatedTime sets the CreatedTime field's value. -func (s *Group) SetCreatedTime(v time.Time) *Group { - s.CreatedTime = &v - return s -} - -// SetDefaultCooldown sets the DefaultCooldown field's value. -func (s *Group) SetDefaultCooldown(v int64) *Group { - s.DefaultCooldown = &v - return s -} - -// SetDesiredCapacity sets the DesiredCapacity field's value. -func (s *Group) SetDesiredCapacity(v int64) *Group { - s.DesiredCapacity = &v - return s -} - -// SetEnabledMetrics sets the EnabledMetrics field's value. -func (s *Group) SetEnabledMetrics(v []EnabledMetric) *Group { - s.EnabledMetrics = v - return s -} - -// SetHealthCheckGracePeriod sets the HealthCheckGracePeriod field's value. -func (s *Group) SetHealthCheckGracePeriod(v int64) *Group { - s.HealthCheckGracePeriod = &v - return s -} - -// SetHealthCheckType sets the HealthCheckType field's value. -func (s *Group) SetHealthCheckType(v string) *Group { - s.HealthCheckType = &v - return s -} - -// SetInstances sets the Instances field's value. -func (s *Group) SetInstances(v []Instance) *Group { - s.Instances = v - return s -} - -// SetLaunchConfigurationName sets the LaunchConfigurationName field's value. -func (s *Group) SetLaunchConfigurationName(v string) *Group { - s.LaunchConfigurationName = &v - return s -} - -// SetLaunchTemplate sets the LaunchTemplate field's value. -func (s *Group) SetLaunchTemplate(v *LaunchTemplateSpecification) *Group { - s.LaunchTemplate = v - return s -} - -// SetLoadBalancerNames sets the LoadBalancerNames field's value. -func (s *Group) SetLoadBalancerNames(v []string) *Group { - s.LoadBalancerNames = v - return s -} - -// SetMaxSize sets the MaxSize field's value. -func (s *Group) SetMaxSize(v int64) *Group { - s.MaxSize = &v - return s -} - -// SetMinSize sets the MinSize field's value. -func (s *Group) SetMinSize(v int64) *Group { - s.MinSize = &v - return s -} - -// SetNewInstancesProtectedFromScaleIn sets the NewInstancesProtectedFromScaleIn field's value. -func (s *Group) SetNewInstancesProtectedFromScaleIn(v bool) *Group { - s.NewInstancesProtectedFromScaleIn = &v - return s -} - -// SetPlacementGroup sets the PlacementGroup field's value. -func (s *Group) SetPlacementGroup(v string) *Group { - s.PlacementGroup = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Group) SetStatus(v string) *Group { - s.Status = &v - return s -} - -// SetSuspendedProcesses sets the SuspendedProcesses field's value. -func (s *Group) SetSuspendedProcesses(v []SuspendedProcess) *Group { - s.SuspendedProcesses = v - return s -} - -// SetTags sets the Tags field's value. -func (s *Group) SetTags(v []TagDescription) *Group { - s.Tags = v - return s -} - -// SetTargetGroupARNs sets the TargetGroupARNs field's value. -func (s *Group) SetTargetGroupARNs(v []string) *Group { - s.TargetGroupARNs = v - return s -} - -// SetTerminationPolicies sets the TerminationPolicies field's value. -func (s *Group) SetTerminationPolicies(v []string) *Group { - s.TerminationPolicies = v - return s -} - -// SetVPCZoneIdentifier sets the VPCZoneIdentifier field's value. -func (s *Group) SetVPCZoneIdentifier(v string) *Group { - s.VPCZoneIdentifier = &v - return s -} - // Describes an EC2 instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Instance type Instance struct { @@ -8042,48 +6776,6 @@ func (s Instance) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *Instance) SetAvailabilityZone(v string) *Instance { - s.AvailabilityZone = &v - return s -} - -// SetHealthStatus sets the HealthStatus field's value. -func (s *Instance) SetHealthStatus(v string) *Instance { - s.HealthStatus = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *Instance) SetInstanceId(v string) *Instance { - s.InstanceId = &v - return s -} - -// SetLaunchConfigurationName sets the LaunchConfigurationName field's value. -func (s *Instance) SetLaunchConfigurationName(v string) *Instance { - s.LaunchConfigurationName = &v - return s -} - -// SetLaunchTemplate sets the LaunchTemplate field's value. -func (s *Instance) SetLaunchTemplate(v *LaunchTemplateSpecification) *Instance { - s.LaunchTemplate = v - return s -} - -// SetLifecycleState sets the LifecycleState field's value. -func (s *Instance) SetLifecycleState(v LifecycleState) *Instance { - s.LifecycleState = v - return s -} - -// SetProtectedFromScaleIn sets the ProtectedFromScaleIn field's value. -func (s *Instance) SetProtectedFromScaleIn(v bool) *Instance { - s.ProtectedFromScaleIn = &v - return s -} - // Describes an EC2 instance associated with an Auto Scaling group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingInstanceDetails type InstanceDetails struct { @@ -8142,54 +6834,6 @@ func (s InstanceDetails) GoString() string { return s.String() } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *InstanceDetails) SetAutoScalingGroupName(v string) *InstanceDetails { - s.AutoScalingGroupName = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *InstanceDetails) SetAvailabilityZone(v string) *InstanceDetails { - s.AvailabilityZone = &v - return s -} - -// SetHealthStatus sets the HealthStatus field's value. -func (s *InstanceDetails) SetHealthStatus(v string) *InstanceDetails { - s.HealthStatus = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *InstanceDetails) SetInstanceId(v string) *InstanceDetails { - s.InstanceId = &v - return s -} - -// SetLaunchConfigurationName sets the LaunchConfigurationName field's value. -func (s *InstanceDetails) SetLaunchConfigurationName(v string) *InstanceDetails { - s.LaunchConfigurationName = &v - return s -} - -// SetLaunchTemplate sets the LaunchTemplate field's value. -func (s *InstanceDetails) SetLaunchTemplate(v *LaunchTemplateSpecification) *InstanceDetails { - s.LaunchTemplate = v - return s -} - -// SetLifecycleState sets the LifecycleState field's value. -func (s *InstanceDetails) SetLifecycleState(v string) *InstanceDetails { - s.LifecycleState = &v - return s -} - -// SetProtectedFromScaleIn sets the ProtectedFromScaleIn field's value. -func (s *InstanceDetails) SetProtectedFromScaleIn(v bool) *InstanceDetails { - s.ProtectedFromScaleIn = &v - return s -} - // Describes whether detailed monitoring is enabled for the Auto Scaling instances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstanceMonitoring type InstanceMonitoring struct { @@ -8209,12 +6853,6 @@ func (s InstanceMonitoring) GoString() string { return s.String() } -// SetEnabled sets the Enabled field's value. -func (s *InstanceMonitoring) SetEnabled(v bool) *InstanceMonitoring { - s.Enabled = &v - return s -} - // Describes a launch configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfiguration type LaunchConfiguration struct { @@ -8306,120 +6944,6 @@ func (s LaunchConfiguration) GoString() string { return s.String() } -// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value. -func (s *LaunchConfiguration) SetAssociatePublicIpAddress(v bool) *LaunchConfiguration { - s.AssociatePublicIpAddress = &v - return s -} - -// SetBlockDeviceMappings sets the BlockDeviceMappings field's value. -func (s *LaunchConfiguration) SetBlockDeviceMappings(v []BlockDeviceMapping) *LaunchConfiguration { - s.BlockDeviceMappings = v - return s -} - -// SetClassicLinkVPCId sets the ClassicLinkVPCId field's value. -func (s *LaunchConfiguration) SetClassicLinkVPCId(v string) *LaunchConfiguration { - s.ClassicLinkVPCId = &v - return s -} - -// SetClassicLinkVPCSecurityGroups sets the ClassicLinkVPCSecurityGroups field's value. -func (s *LaunchConfiguration) SetClassicLinkVPCSecurityGroups(v []string) *LaunchConfiguration { - s.ClassicLinkVPCSecurityGroups = v - return s -} - -// SetCreatedTime sets the CreatedTime field's value. -func (s *LaunchConfiguration) SetCreatedTime(v time.Time) *LaunchConfiguration { - s.CreatedTime = &v - return s -} - -// SetEbsOptimized sets the EbsOptimized field's value. -func (s *LaunchConfiguration) SetEbsOptimized(v bool) *LaunchConfiguration { - s.EbsOptimized = &v - return s -} - -// SetIamInstanceProfile sets the IamInstanceProfile field's value. -func (s *LaunchConfiguration) SetIamInstanceProfile(v string) *LaunchConfiguration { - s.IamInstanceProfile = &v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *LaunchConfiguration) SetImageId(v string) *LaunchConfiguration { - s.ImageId = &v - return s -} - -// SetInstanceMonitoring sets the InstanceMonitoring field's value. -func (s *LaunchConfiguration) SetInstanceMonitoring(v *InstanceMonitoring) *LaunchConfiguration { - s.InstanceMonitoring = v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *LaunchConfiguration) SetInstanceType(v string) *LaunchConfiguration { - s.InstanceType = &v - return s -} - -// SetKernelId sets the KernelId field's value. -func (s *LaunchConfiguration) SetKernelId(v string) *LaunchConfiguration { - s.KernelId = &v - return s -} - -// SetKeyName sets the KeyName field's value. -func (s *LaunchConfiguration) SetKeyName(v string) *LaunchConfiguration { - s.KeyName = &v - return s -} - -// SetLaunchConfigurationARN sets the LaunchConfigurationARN field's value. -func (s *LaunchConfiguration) SetLaunchConfigurationARN(v string) *LaunchConfiguration { - s.LaunchConfigurationARN = &v - return s -} - -// SetLaunchConfigurationName sets the LaunchConfigurationName field's value. -func (s *LaunchConfiguration) SetLaunchConfigurationName(v string) *LaunchConfiguration { - s.LaunchConfigurationName = &v - return s -} - -// SetPlacementTenancy sets the PlacementTenancy field's value. -func (s *LaunchConfiguration) SetPlacementTenancy(v string) *LaunchConfiguration { - s.PlacementTenancy = &v - return s -} - -// SetRamdiskId sets the RamdiskId field's value. -func (s *LaunchConfiguration) SetRamdiskId(v string) *LaunchConfiguration { - s.RamdiskId = &v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *LaunchConfiguration) SetSecurityGroups(v []string) *LaunchConfiguration { - s.SecurityGroups = v - return s -} - -// SetSpotPrice sets the SpotPrice field's value. -func (s *LaunchConfiguration) SetSpotPrice(v string) *LaunchConfiguration { - s.SpotPrice = &v - return s -} - -// SetUserData sets the UserData field's value. -func (s *LaunchConfiguration) SetUserData(v string) *LaunchConfiguration { - s.UserData = &v - return s -} - // Describes a launch template. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchTemplateSpecification type LaunchTemplateSpecification struct { @@ -8467,24 +6991,6 @@ func (s *LaunchTemplateSpecification) Validate() error { return nil } -// SetLaunchTemplateId sets the LaunchTemplateId field's value. -func (s *LaunchTemplateSpecification) SetLaunchTemplateId(v string) *LaunchTemplateSpecification { - s.LaunchTemplateId = &v - return s -} - -// SetLaunchTemplateName sets the LaunchTemplateName field's value. -func (s *LaunchTemplateSpecification) SetLaunchTemplateName(v string) *LaunchTemplateSpecification { - s.LaunchTemplateName = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *LaunchTemplateSpecification) SetVersion(v string) *LaunchTemplateSpecification { - s.Version = &v - return s -} - // Describes a lifecycle hook, which tells Auto Scaling that you want to perform // an action whenever it launches instances or whenever it terminates instances. // @@ -8543,60 +7049,6 @@ func (s LifecycleHook) GoString() string { return s.String() } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *LifecycleHook) SetAutoScalingGroupName(v string) *LifecycleHook { - s.AutoScalingGroupName = &v - return s -} - -// SetDefaultResult sets the DefaultResult field's value. -func (s *LifecycleHook) SetDefaultResult(v string) *LifecycleHook { - s.DefaultResult = &v - return s -} - -// SetGlobalTimeout sets the GlobalTimeout field's value. -func (s *LifecycleHook) SetGlobalTimeout(v int64) *LifecycleHook { - s.GlobalTimeout = &v - return s -} - -// SetHeartbeatTimeout sets the HeartbeatTimeout field's value. -func (s *LifecycleHook) SetHeartbeatTimeout(v int64) *LifecycleHook { - s.HeartbeatTimeout = &v - return s -} - -// SetLifecycleHookName sets the LifecycleHookName field's value. -func (s *LifecycleHook) SetLifecycleHookName(v string) *LifecycleHook { - s.LifecycleHookName = &v - return s -} - -// SetLifecycleTransition sets the LifecycleTransition field's value. -func (s *LifecycleHook) SetLifecycleTransition(v string) *LifecycleHook { - s.LifecycleTransition = &v - return s -} - -// SetNotificationMetadata sets the NotificationMetadata field's value. -func (s *LifecycleHook) SetNotificationMetadata(v string) *LifecycleHook { - s.NotificationMetadata = &v - return s -} - -// SetNotificationTargetARN sets the NotificationTargetARN field's value. -func (s *LifecycleHook) SetNotificationTargetARN(v string) *LifecycleHook { - s.NotificationTargetARN = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *LifecycleHook) SetRoleARN(v string) *LifecycleHook { - s.RoleARN = &v - return s -} - // Describes a lifecycle hook, which tells Auto Scaling that you want to perform // an action whenever it launches instances or whenever it terminates instances. // @@ -8665,59 +7117,17 @@ func (s *LifecycleHookSpecification) Validate() error { if s.LifecycleTransition == nil { invalidParams.Add(aws.NewErrParamRequired("LifecycleTransition")) } - if s.NotificationMetadata != nil && len(*s.NotificationMetadata) < 1 { - invalidParams.Add(aws.NewErrParamMinLen("NotificationMetadata", 1)) - } - if s.RoleARN != nil && len(*s.RoleARN) < 1 { - invalidParams.Add(aws.NewErrParamMinLen("RoleARN", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetDefaultResult sets the DefaultResult field's value. -func (s *LifecycleHookSpecification) SetDefaultResult(v string) *LifecycleHookSpecification { - s.DefaultResult = &v - return s -} - -// SetHeartbeatTimeout sets the HeartbeatTimeout field's value. -func (s *LifecycleHookSpecification) SetHeartbeatTimeout(v int64) *LifecycleHookSpecification { - s.HeartbeatTimeout = &v - return s -} - -// SetLifecycleHookName sets the LifecycleHookName field's value. -func (s *LifecycleHookSpecification) SetLifecycleHookName(v string) *LifecycleHookSpecification { - s.LifecycleHookName = &v - return s -} - -// SetLifecycleTransition sets the LifecycleTransition field's value. -func (s *LifecycleHookSpecification) SetLifecycleTransition(v string) *LifecycleHookSpecification { - s.LifecycleTransition = &v - return s -} - -// SetNotificationMetadata sets the NotificationMetadata field's value. -func (s *LifecycleHookSpecification) SetNotificationMetadata(v string) *LifecycleHookSpecification { - s.NotificationMetadata = &v - return s -} - -// SetNotificationTargetARN sets the NotificationTargetARN field's value. -func (s *LifecycleHookSpecification) SetNotificationTargetARN(v string) *LifecycleHookSpecification { - s.NotificationTargetARN = &v - return s -} + if s.NotificationMetadata != nil && len(*s.NotificationMetadata) < 1 { + invalidParams.Add(aws.NewErrParamMinLen("NotificationMetadata", 1)) + } + if s.RoleARN != nil && len(*s.RoleARN) < 1 { + invalidParams.Add(aws.NewErrParamMinLen("RoleARN", 1)) + } -// SetRoleARN sets the RoleARN field's value. -func (s *LifecycleHookSpecification) SetRoleARN(v string) *LifecycleHookSpecification { - s.RoleARN = &v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } // Describes the state of a Classic Load Balancer. @@ -8767,18 +7177,6 @@ func (s LoadBalancerState) GoString() string { return s.String() } -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *LoadBalancerState) SetLoadBalancerName(v string) *LoadBalancerState { - s.LoadBalancerName = &v - return s -} - -// SetState sets the State field's value. -func (s *LoadBalancerState) SetState(v string) *LoadBalancerState { - s.State = &v - return s -} - // Describes the state of a target group. // // If you attach a target group to an existing Auto Scaling group, the initial @@ -8823,18 +7221,6 @@ func (s LoadBalancerTargetGroupState) GoString() string { return s.String() } -// SetLoadBalancerTargetGroupARN sets the LoadBalancerTargetGroupARN field's value. -func (s *LoadBalancerTargetGroupState) SetLoadBalancerTargetGroupARN(v string) *LoadBalancerTargetGroupState { - s.LoadBalancerTargetGroupARN = &v - return s -} - -// SetState sets the State field's value. -func (s *LoadBalancerTargetGroupState) SetState(v string) *LoadBalancerTargetGroupState { - s.State = &v - return s -} - // Describes a metric. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/MetricCollectionType type MetricCollectionType struct { @@ -8870,12 +7256,6 @@ func (s MetricCollectionType) GoString() string { return s.String() } -// SetMetric sets the Metric field's value. -func (s *MetricCollectionType) SetMetric(v string) *MetricCollectionType { - s.Metric = &v - return s -} - // Describes the dimension of a metric. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/MetricDimension type MetricDimension struct { @@ -8920,18 +7300,6 @@ func (s *MetricDimension) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *MetricDimension) SetName(v string) *MetricDimension { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *MetricDimension) SetValue(v string) *MetricDimension { - s.Value = &v - return s -} - // Describes a granularity of a metric. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/MetricGranularityType type MetricGranularityType struct { @@ -8951,12 +7319,6 @@ func (s MetricGranularityType) GoString() string { return s.String() } -// SetGranularity sets the Granularity field's value. -func (s *MetricGranularityType) SetGranularity(v string) *MetricGranularityType { - s.Granularity = &v - return s -} - // Describes a notification. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/NotificationConfiguration type NotificationConfiguration struct { @@ -8993,24 +7355,6 @@ func (s NotificationConfiguration) GoString() string { return s.String() } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *NotificationConfiguration) SetAutoScalingGroupName(v string) *NotificationConfiguration { - s.AutoScalingGroupName = &v - return s -} - -// SetNotificationType sets the NotificationType field's value. -func (s *NotificationConfiguration) SetNotificationType(v string) *NotificationConfiguration { - s.NotificationType = &v - return s -} - -// SetTopicARN sets the TopicARN field's value. -func (s *NotificationConfiguration) SetTopicARN(v string) *NotificationConfiguration { - s.TopicARN = &v - return s -} - // Configures a predefined metric for a target tracking policy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PredefinedMetricSpecification type PredefinedMetricSpecification struct { @@ -9074,18 +7418,6 @@ func (s *PredefinedMetricSpecification) Validate() error { return nil } -// SetPredefinedMetricType sets the PredefinedMetricType field's value. -func (s *PredefinedMetricSpecification) SetPredefinedMetricType(v MetricType) *PredefinedMetricSpecification { - s.PredefinedMetricType = v - return s -} - -// SetResourceLabel sets the ResourceLabel field's value. -func (s *PredefinedMetricSpecification) SetResourceLabel(v string) *PredefinedMetricSpecification { - s.ResourceLabel = &v - return s -} - // Describes a process type. // // For more information, see Auto Scaling Processes (http://docs.aws.amazon.com/autoscaling/latest/userguide/as-suspend-resume-processes.html#process-types) @@ -9126,12 +7458,6 @@ func (s ProcessType) GoString() string { return s.String() } -// SetProcessName sets the ProcessName field's value. -func (s *ProcessType) SetProcessName(v string) *ProcessType { - s.ProcessName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutLifecycleHookType type PutLifecycleHookInput struct { _ struct{} `type:"structure"` @@ -9232,54 +7558,6 @@ func (s *PutLifecycleHookInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *PutLifecycleHookInput) SetAutoScalingGroupName(v string) *PutLifecycleHookInput { - s.AutoScalingGroupName = &v - return s -} - -// SetDefaultResult sets the DefaultResult field's value. -func (s *PutLifecycleHookInput) SetDefaultResult(v string) *PutLifecycleHookInput { - s.DefaultResult = &v - return s -} - -// SetHeartbeatTimeout sets the HeartbeatTimeout field's value. -func (s *PutLifecycleHookInput) SetHeartbeatTimeout(v int64) *PutLifecycleHookInput { - s.HeartbeatTimeout = &v - return s -} - -// SetLifecycleHookName sets the LifecycleHookName field's value. -func (s *PutLifecycleHookInput) SetLifecycleHookName(v string) *PutLifecycleHookInput { - s.LifecycleHookName = &v - return s -} - -// SetLifecycleTransition sets the LifecycleTransition field's value. -func (s *PutLifecycleHookInput) SetLifecycleTransition(v string) *PutLifecycleHookInput { - s.LifecycleTransition = &v - return s -} - -// SetNotificationMetadata sets the NotificationMetadata field's value. -func (s *PutLifecycleHookInput) SetNotificationMetadata(v string) *PutLifecycleHookInput { - s.NotificationMetadata = &v - return s -} - -// SetNotificationTargetARN sets the NotificationTargetARN field's value. -func (s *PutLifecycleHookInput) SetNotificationTargetARN(v string) *PutLifecycleHookInput { - s.NotificationTargetARN = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *PutLifecycleHookInput) SetRoleARN(v string) *PutLifecycleHookInput { - s.RoleARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutLifecycleHookAnswer type PutLifecycleHookOutput struct { _ struct{} `type:"structure"` @@ -9362,24 +7640,6 @@ func (s *PutNotificationConfigurationInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *PutNotificationConfigurationInput) SetAutoScalingGroupName(v string) *PutNotificationConfigurationInput { - s.AutoScalingGroupName = &v - return s -} - -// SetNotificationTypes sets the NotificationTypes field's value. -func (s *PutNotificationConfigurationInput) SetNotificationTypes(v []string) *PutNotificationConfigurationInput { - s.NotificationTypes = v - return s -} - -// SetTopicARN sets the TopicARN field's value. -func (s *PutNotificationConfigurationInput) SetTopicARN(v string) *PutNotificationConfigurationInput { - s.TopicARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutNotificationConfigurationOutput type PutNotificationConfigurationOutput struct { _ struct{} `type:"structure"` @@ -9541,78 +7801,6 @@ func (s *PutScalingPolicyInput) Validate() error { return nil } -// SetAdjustmentType sets the AdjustmentType field's value. -func (s *PutScalingPolicyInput) SetAdjustmentType(v string) *PutScalingPolicyInput { - s.AdjustmentType = &v - return s -} - -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *PutScalingPolicyInput) SetAutoScalingGroupName(v string) *PutScalingPolicyInput { - s.AutoScalingGroupName = &v - return s -} - -// SetCooldown sets the Cooldown field's value. -func (s *PutScalingPolicyInput) SetCooldown(v int64) *PutScalingPolicyInput { - s.Cooldown = &v - return s -} - -// SetEstimatedInstanceWarmup sets the EstimatedInstanceWarmup field's value. -func (s *PutScalingPolicyInput) SetEstimatedInstanceWarmup(v int64) *PutScalingPolicyInput { - s.EstimatedInstanceWarmup = &v - return s -} - -// SetMetricAggregationType sets the MetricAggregationType field's value. -func (s *PutScalingPolicyInput) SetMetricAggregationType(v string) *PutScalingPolicyInput { - s.MetricAggregationType = &v - return s -} - -// SetMinAdjustmentMagnitude sets the MinAdjustmentMagnitude field's value. -func (s *PutScalingPolicyInput) SetMinAdjustmentMagnitude(v int64) *PutScalingPolicyInput { - s.MinAdjustmentMagnitude = &v - return s -} - -// SetMinAdjustmentStep sets the MinAdjustmentStep field's value. -func (s *PutScalingPolicyInput) SetMinAdjustmentStep(v int64) *PutScalingPolicyInput { - s.MinAdjustmentStep = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *PutScalingPolicyInput) SetPolicyName(v string) *PutScalingPolicyInput { - s.PolicyName = &v - return s -} - -// SetPolicyType sets the PolicyType field's value. -func (s *PutScalingPolicyInput) SetPolicyType(v string) *PutScalingPolicyInput { - s.PolicyType = &v - return s -} - -// SetScalingAdjustment sets the ScalingAdjustment field's value. -func (s *PutScalingPolicyInput) SetScalingAdjustment(v int64) *PutScalingPolicyInput { - s.ScalingAdjustment = &v - return s -} - -// SetStepAdjustments sets the StepAdjustments field's value. -func (s *PutScalingPolicyInput) SetStepAdjustments(v []StepAdjustment) *PutScalingPolicyInput { - s.StepAdjustments = v - return s -} - -// SetTargetTrackingConfiguration sets the TargetTrackingConfiguration field's value. -func (s *PutScalingPolicyInput) SetTargetTrackingConfiguration(v *TargetTrackingConfiguration) *PutScalingPolicyInput { - s.TargetTrackingConfiguration = v - return s -} - // Contains the output of PutScalingPolicy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PolicyARNType type PutScalingPolicyOutput struct { @@ -9642,18 +7830,6 @@ func (s PutScalingPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAlarms sets the Alarms field's value. -func (s *PutScalingPolicyOutput) SetAlarms(v []Alarm) *PutScalingPolicyOutput { - s.Alarms = v - return s -} - -// SetPolicyARN sets the PolicyARN field's value. -func (s *PutScalingPolicyOutput) SetPolicyARN(v string) *PutScalingPolicyOutput { - s.PolicyARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScheduledUpdateGroupActionType type PutScheduledUpdateGroupActionInput struct { _ struct{} `type:"structure"` @@ -9736,60 +7912,6 @@ func (s *PutScheduledUpdateGroupActionInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *PutScheduledUpdateGroupActionInput) SetAutoScalingGroupName(v string) *PutScheduledUpdateGroupActionInput { - s.AutoScalingGroupName = &v - return s -} - -// SetDesiredCapacity sets the DesiredCapacity field's value. -func (s *PutScheduledUpdateGroupActionInput) SetDesiredCapacity(v int64) *PutScheduledUpdateGroupActionInput { - s.DesiredCapacity = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *PutScheduledUpdateGroupActionInput) SetEndTime(v time.Time) *PutScheduledUpdateGroupActionInput { - s.EndTime = &v - return s -} - -// SetMaxSize sets the MaxSize field's value. -func (s *PutScheduledUpdateGroupActionInput) SetMaxSize(v int64) *PutScheduledUpdateGroupActionInput { - s.MaxSize = &v - return s -} - -// SetMinSize sets the MinSize field's value. -func (s *PutScheduledUpdateGroupActionInput) SetMinSize(v int64) *PutScheduledUpdateGroupActionInput { - s.MinSize = &v - return s -} - -// SetRecurrence sets the Recurrence field's value. -func (s *PutScheduledUpdateGroupActionInput) SetRecurrence(v string) *PutScheduledUpdateGroupActionInput { - s.Recurrence = &v - return s -} - -// SetScheduledActionName sets the ScheduledActionName field's value. -func (s *PutScheduledUpdateGroupActionInput) SetScheduledActionName(v string) *PutScheduledUpdateGroupActionInput { - s.ScheduledActionName = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *PutScheduledUpdateGroupActionInput) SetStartTime(v time.Time) *PutScheduledUpdateGroupActionInput { - s.StartTime = &v - return s -} - -// SetTime sets the Time field's value. -func (s *PutScheduledUpdateGroupActionInput) SetTime(v time.Time) *PutScheduledUpdateGroupActionInput { - s.Time = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScheduledUpdateGroupActionOutput type PutScheduledUpdateGroupActionOutput struct { _ struct{} `type:"structure"` @@ -9875,30 +7997,6 @@ func (s *RecordLifecycleActionHeartbeatInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *RecordLifecycleActionHeartbeatInput) SetAutoScalingGroupName(v string) *RecordLifecycleActionHeartbeatInput { - s.AutoScalingGroupName = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *RecordLifecycleActionHeartbeatInput) SetInstanceId(v string) *RecordLifecycleActionHeartbeatInput { - s.InstanceId = &v - return s -} - -// SetLifecycleActionToken sets the LifecycleActionToken field's value. -func (s *RecordLifecycleActionHeartbeatInput) SetLifecycleActionToken(v string) *RecordLifecycleActionHeartbeatInput { - s.LifecycleActionToken = &v - return s -} - -// SetLifecycleHookName sets the LifecycleHookName field's value. -func (s *RecordLifecycleActionHeartbeatInput) SetLifecycleHookName(v string) *RecordLifecycleActionHeartbeatInput { - s.LifecycleHookName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RecordLifecycleActionHeartbeatAnswer type RecordLifecycleActionHeartbeatOutput struct { _ struct{} `type:"structure"` @@ -10011,90 +8109,6 @@ func (s ScalingPolicy) GoString() string { return s.String() } -// SetAdjustmentType sets the AdjustmentType field's value. -func (s *ScalingPolicy) SetAdjustmentType(v string) *ScalingPolicy { - s.AdjustmentType = &v - return s -} - -// SetAlarms sets the Alarms field's value. -func (s *ScalingPolicy) SetAlarms(v []Alarm) *ScalingPolicy { - s.Alarms = v - return s -} - -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *ScalingPolicy) SetAutoScalingGroupName(v string) *ScalingPolicy { - s.AutoScalingGroupName = &v - return s -} - -// SetCooldown sets the Cooldown field's value. -func (s *ScalingPolicy) SetCooldown(v int64) *ScalingPolicy { - s.Cooldown = &v - return s -} - -// SetEstimatedInstanceWarmup sets the EstimatedInstanceWarmup field's value. -func (s *ScalingPolicy) SetEstimatedInstanceWarmup(v int64) *ScalingPolicy { - s.EstimatedInstanceWarmup = &v - return s -} - -// SetMetricAggregationType sets the MetricAggregationType field's value. -func (s *ScalingPolicy) SetMetricAggregationType(v string) *ScalingPolicy { - s.MetricAggregationType = &v - return s -} - -// SetMinAdjustmentMagnitude sets the MinAdjustmentMagnitude field's value. -func (s *ScalingPolicy) SetMinAdjustmentMagnitude(v int64) *ScalingPolicy { - s.MinAdjustmentMagnitude = &v - return s -} - -// SetMinAdjustmentStep sets the MinAdjustmentStep field's value. -func (s *ScalingPolicy) SetMinAdjustmentStep(v int64) *ScalingPolicy { - s.MinAdjustmentStep = &v - return s -} - -// SetPolicyARN sets the PolicyARN field's value. -func (s *ScalingPolicy) SetPolicyARN(v string) *ScalingPolicy { - s.PolicyARN = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *ScalingPolicy) SetPolicyName(v string) *ScalingPolicy { - s.PolicyName = &v - return s -} - -// SetPolicyType sets the PolicyType field's value. -func (s *ScalingPolicy) SetPolicyType(v string) *ScalingPolicy { - s.PolicyType = &v - return s -} - -// SetScalingAdjustment sets the ScalingAdjustment field's value. -func (s *ScalingPolicy) SetScalingAdjustment(v int64) *ScalingPolicy { - s.ScalingAdjustment = &v - return s -} - -// SetStepAdjustments sets the StepAdjustments field's value. -func (s *ScalingPolicy) SetStepAdjustments(v []StepAdjustment) *ScalingPolicy { - s.StepAdjustments = v - return s -} - -// SetTargetTrackingConfiguration sets the TargetTrackingConfiguration field's value. -func (s *ScalingPolicy) SetTargetTrackingConfiguration(v *TargetTrackingConfiguration) *ScalingPolicy { - s.TargetTrackingConfiguration = v - return s -} - // Describes a scheduled update to an Auto Scaling group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScheduledUpdateGroupAction type ScheduledUpdateGroupAction struct { @@ -10146,66 +8160,6 @@ func (s ScheduledUpdateGroupAction) GoString() string { return s.String() } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *ScheduledUpdateGroupAction) SetAutoScalingGroupName(v string) *ScheduledUpdateGroupAction { - s.AutoScalingGroupName = &v - return s -} - -// SetDesiredCapacity sets the DesiredCapacity field's value. -func (s *ScheduledUpdateGroupAction) SetDesiredCapacity(v int64) *ScheduledUpdateGroupAction { - s.DesiredCapacity = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *ScheduledUpdateGroupAction) SetEndTime(v time.Time) *ScheduledUpdateGroupAction { - s.EndTime = &v - return s -} - -// SetMaxSize sets the MaxSize field's value. -func (s *ScheduledUpdateGroupAction) SetMaxSize(v int64) *ScheduledUpdateGroupAction { - s.MaxSize = &v - return s -} - -// SetMinSize sets the MinSize field's value. -func (s *ScheduledUpdateGroupAction) SetMinSize(v int64) *ScheduledUpdateGroupAction { - s.MinSize = &v - return s -} - -// SetRecurrence sets the Recurrence field's value. -func (s *ScheduledUpdateGroupAction) SetRecurrence(v string) *ScheduledUpdateGroupAction { - s.Recurrence = &v - return s -} - -// SetScheduledActionARN sets the ScheduledActionARN field's value. -func (s *ScheduledUpdateGroupAction) SetScheduledActionARN(v string) *ScheduledUpdateGroupAction { - s.ScheduledActionARN = &v - return s -} - -// SetScheduledActionName sets the ScheduledActionName field's value. -func (s *ScheduledUpdateGroupAction) SetScheduledActionName(v string) *ScheduledUpdateGroupAction { - s.ScheduledActionName = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *ScheduledUpdateGroupAction) SetStartTime(v time.Time) *ScheduledUpdateGroupAction { - s.StartTime = &v - return s -} - -// SetTime sets the Time field's value. -func (s *ScheduledUpdateGroupAction) SetTime(v time.Time) *ScheduledUpdateGroupAction { - s.Time = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetDesiredCapacityType type SetDesiredCapacityInput struct { _ struct{} `type:"structure"` @@ -10258,24 +8212,6 @@ func (s *SetDesiredCapacityInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *SetDesiredCapacityInput) SetAutoScalingGroupName(v string) *SetDesiredCapacityInput { - s.AutoScalingGroupName = &v - return s -} - -// SetDesiredCapacity sets the DesiredCapacity field's value. -func (s *SetDesiredCapacityInput) SetDesiredCapacity(v int64) *SetDesiredCapacityInput { - s.DesiredCapacity = &v - return s -} - -// SetHonorCooldown sets the HonorCooldown field's value. -func (s *SetDesiredCapacityInput) SetHonorCooldown(v bool) *SetDesiredCapacityInput { - s.HonorCooldown = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetDesiredCapacityOutput type SetDesiredCapacityOutput struct { _ struct{} `type:"structure"` @@ -10358,24 +8294,6 @@ func (s *SetInstanceHealthInput) Validate() error { return nil } -// SetHealthStatus sets the HealthStatus field's value. -func (s *SetInstanceHealthInput) SetHealthStatus(v string) *SetInstanceHealthInput { - s.HealthStatus = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *SetInstanceHealthInput) SetInstanceId(v string) *SetInstanceHealthInput { - s.InstanceId = &v - return s -} - -// SetShouldRespectGracePeriod sets the ShouldRespectGracePeriod field's value. -func (s *SetInstanceHealthInput) SetShouldRespectGracePeriod(v bool) *SetInstanceHealthInput { - s.ShouldRespectGracePeriod = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceHealthOutput type SetInstanceHealthOutput struct { _ struct{} `type:"structure"` @@ -10454,24 +8372,6 @@ func (s *SetInstanceProtectionInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *SetInstanceProtectionInput) SetAutoScalingGroupName(v string) *SetInstanceProtectionInput { - s.AutoScalingGroupName = &v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *SetInstanceProtectionInput) SetInstanceIds(v []string) *SetInstanceProtectionInput { - s.InstanceIds = v - return s -} - -// SetProtectedFromScaleIn sets the ProtectedFromScaleIn field's value. -func (s *SetInstanceProtectionInput) SetProtectedFromScaleIn(v bool) *SetInstanceProtectionInput { - s.ProtectedFromScaleIn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceProtectionAnswer type SetInstanceProtectionOutput struct { _ struct{} `type:"structure"` @@ -10575,24 +8475,6 @@ func (s *StepAdjustment) Validate() error { return nil } -// SetMetricIntervalLowerBound sets the MetricIntervalLowerBound field's value. -func (s *StepAdjustment) SetMetricIntervalLowerBound(v float64) *StepAdjustment { - s.MetricIntervalLowerBound = &v - return s -} - -// SetMetricIntervalUpperBound sets the MetricIntervalUpperBound field's value. -func (s *StepAdjustment) SetMetricIntervalUpperBound(v float64) *StepAdjustment { - s.MetricIntervalUpperBound = &v - return s -} - -// SetScalingAdjustment sets the ScalingAdjustment field's value. -func (s *StepAdjustment) SetScalingAdjustment(v int64) *StepAdjustment { - s.ScalingAdjustment = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ResumeProcessesInput type SuspendProcessesInput struct { _ struct{} `type:"structure"` @@ -10650,18 +8532,6 @@ func (s *SuspendProcessesInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *SuspendProcessesInput) SetAutoScalingGroupName(v string) *SuspendProcessesInput { - s.AutoScalingGroupName = &v - return s -} - -// SetScalingProcesses sets the ScalingProcesses field's value. -func (s *SuspendProcessesInput) SetScalingProcesses(v []string) *SuspendProcessesInput { - s.ScalingProcesses = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SuspendProcessesOutput type SuspendProcessesOutput struct { _ struct{} `type:"structure"` @@ -10707,18 +8577,6 @@ func (s SuspendedProcess) GoString() string { return s.String() } -// SetProcessName sets the ProcessName field's value. -func (s *SuspendedProcess) SetProcessName(v string) *SuspendedProcess { - s.ProcessName = &v - return s -} - -// SetSuspensionReason sets the SuspensionReason field's value. -func (s *SuspendedProcess) SetSuspensionReason(v string) *SuspendedProcess { - s.SuspensionReason = &v - return s -} - // Describes a tag for an Auto Scaling group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Tag type Tag struct { @@ -10770,36 +8628,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetPropagateAtLaunch sets the PropagateAtLaunch field's value. -func (s *Tag) SetPropagateAtLaunch(v bool) *Tag { - s.PropagateAtLaunch = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *Tag) SetResourceId(v string) *Tag { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *Tag) SetResourceType(v string) *Tag { - s.ResourceType = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Describes a tag for an Auto Scaling group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TagDescription type TagDescription struct { @@ -10832,36 +8660,6 @@ func (s TagDescription) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *TagDescription) SetKey(v string) *TagDescription { - s.Key = &v - return s -} - -// SetPropagateAtLaunch sets the PropagateAtLaunch field's value. -func (s *TagDescription) SetPropagateAtLaunch(v bool) *TagDescription { - s.PropagateAtLaunch = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *TagDescription) SetResourceId(v string) *TagDescription { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *TagDescription) SetResourceType(v string) *TagDescription { - s.ResourceType = &v - return s -} - -// SetValue sets the Value field's value. -func (s *TagDescription) SetValue(v string) *TagDescription { - s.Value = &v - return s -} - // Represents a target tracking policy configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TargetTrackingConfiguration type TargetTrackingConfiguration struct { @@ -10921,30 +8719,6 @@ func (s *TargetTrackingConfiguration) Validate() error { return nil } -// SetCustomizedMetricSpecification sets the CustomizedMetricSpecification field's value. -func (s *TargetTrackingConfiguration) SetCustomizedMetricSpecification(v *CustomizedMetricSpecification) *TargetTrackingConfiguration { - s.CustomizedMetricSpecification = v - return s -} - -// SetDisableScaleIn sets the DisableScaleIn field's value. -func (s *TargetTrackingConfiguration) SetDisableScaleIn(v bool) *TargetTrackingConfiguration { - s.DisableScaleIn = &v - return s -} - -// SetPredefinedMetricSpecification sets the PredefinedMetricSpecification field's value. -func (s *TargetTrackingConfiguration) SetPredefinedMetricSpecification(v *PredefinedMetricSpecification) *TargetTrackingConfiguration { - s.PredefinedMetricSpecification = v - return s -} - -// SetTargetValue sets the TargetValue field's value. -func (s *TargetTrackingConfiguration) SetTargetValue(v float64) *TargetTrackingConfiguration { - s.TargetValue = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TerminateInstanceInAutoScalingGroupType type TerminateInstanceInAutoScalingGroupInput struct { _ struct{} `type:"structure"` @@ -10992,18 +8766,6 @@ func (s *TerminateInstanceInAutoScalingGroupInput) Validate() error { return nil } -// SetInstanceId sets the InstanceId field's value. -func (s *TerminateInstanceInAutoScalingGroupInput) SetInstanceId(v string) *TerminateInstanceInAutoScalingGroupInput { - s.InstanceId = &v - return s -} - -// SetShouldDecrementDesiredCapacity sets the ShouldDecrementDesiredCapacity field's value. -func (s *TerminateInstanceInAutoScalingGroupInput) SetShouldDecrementDesiredCapacity(v bool) *TerminateInstanceInAutoScalingGroupInput { - s.ShouldDecrementDesiredCapacity = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ActivityType type TerminateInstanceInAutoScalingGroupOutput struct { _ struct{} `type:"structure"` @@ -11029,12 +8791,6 @@ func (s TerminateInstanceInAutoScalingGroupOutput) SDKResponseMetadata() aws.Res return s.responseMetadata } -// SetActivity sets the Activity field's value. -func (s *TerminateInstanceInAutoScalingGroupOutput) SetActivity(v *Activity) *TerminateInstanceInAutoScalingGroupOutput { - s.Activity = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupType type UpdateAutoScalingGroupInput struct { _ struct{} `type:"structure"` @@ -11160,90 +8916,6 @@ func (s *UpdateAutoScalingGroupInput) Validate() error { return nil } -// SetAutoScalingGroupName sets the AutoScalingGroupName field's value. -func (s *UpdateAutoScalingGroupInput) SetAutoScalingGroupName(v string) *UpdateAutoScalingGroupInput { - s.AutoScalingGroupName = &v - return s -} - -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *UpdateAutoScalingGroupInput) SetAvailabilityZones(v []string) *UpdateAutoScalingGroupInput { - s.AvailabilityZones = v - return s -} - -// SetDefaultCooldown sets the DefaultCooldown field's value. -func (s *UpdateAutoScalingGroupInput) SetDefaultCooldown(v int64) *UpdateAutoScalingGroupInput { - s.DefaultCooldown = &v - return s -} - -// SetDesiredCapacity sets the DesiredCapacity field's value. -func (s *UpdateAutoScalingGroupInput) SetDesiredCapacity(v int64) *UpdateAutoScalingGroupInput { - s.DesiredCapacity = &v - return s -} - -// SetHealthCheckGracePeriod sets the HealthCheckGracePeriod field's value. -func (s *UpdateAutoScalingGroupInput) SetHealthCheckGracePeriod(v int64) *UpdateAutoScalingGroupInput { - s.HealthCheckGracePeriod = &v - return s -} - -// SetHealthCheckType sets the HealthCheckType field's value. -func (s *UpdateAutoScalingGroupInput) SetHealthCheckType(v string) *UpdateAutoScalingGroupInput { - s.HealthCheckType = &v - return s -} - -// SetLaunchConfigurationName sets the LaunchConfigurationName field's value. -func (s *UpdateAutoScalingGroupInput) SetLaunchConfigurationName(v string) *UpdateAutoScalingGroupInput { - s.LaunchConfigurationName = &v - return s -} - -// SetLaunchTemplate sets the LaunchTemplate field's value. -func (s *UpdateAutoScalingGroupInput) SetLaunchTemplate(v *LaunchTemplateSpecification) *UpdateAutoScalingGroupInput { - s.LaunchTemplate = v - return s -} - -// SetMaxSize sets the MaxSize field's value. -func (s *UpdateAutoScalingGroupInput) SetMaxSize(v int64) *UpdateAutoScalingGroupInput { - s.MaxSize = &v - return s -} - -// SetMinSize sets the MinSize field's value. -func (s *UpdateAutoScalingGroupInput) SetMinSize(v int64) *UpdateAutoScalingGroupInput { - s.MinSize = &v - return s -} - -// SetNewInstancesProtectedFromScaleIn sets the NewInstancesProtectedFromScaleIn field's value. -func (s *UpdateAutoScalingGroupInput) SetNewInstancesProtectedFromScaleIn(v bool) *UpdateAutoScalingGroupInput { - s.NewInstancesProtectedFromScaleIn = &v - return s -} - -// SetPlacementGroup sets the PlacementGroup field's value. -func (s *UpdateAutoScalingGroupInput) SetPlacementGroup(v string) *UpdateAutoScalingGroupInput { - s.PlacementGroup = &v - return s -} - -// SetTerminationPolicies sets the TerminationPolicies field's value. -func (s *UpdateAutoScalingGroupInput) SetTerminationPolicies(v []string) *UpdateAutoScalingGroupInput { - s.TerminationPolicies = v - return s -} - -// SetVPCZoneIdentifier sets the VPCZoneIdentifier field's value. -func (s *UpdateAutoScalingGroupInput) SetVPCZoneIdentifier(v string) *UpdateAutoScalingGroupInput { - s.VPCZoneIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupOutput type UpdateAutoScalingGroupOutput struct { _ struct{} `type:"structure"` diff --git a/service/batch/api.go b/service/batch/api.go index afa33eda261..05b97de9516 100644 --- a/service/batch/api.go +++ b/service/batch/api.go @@ -864,12 +864,6 @@ func (s ArrayProperties) GoString() string { return s.String() } -// SetSize sets the Size field's value. -func (s *ArrayProperties) SetSize(v int64) *ArrayProperties { - s.Size = &v - return s -} - // An object representing the array properties of a job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ArrayPropertiesDetail type ArrayPropertiesDetail struct { @@ -897,24 +891,6 @@ func (s ArrayPropertiesDetail) GoString() string { return s.String() } -// SetIndex sets the Index field's value. -func (s *ArrayPropertiesDetail) SetIndex(v int64) *ArrayPropertiesDetail { - s.Index = &v - return s -} - -// SetSize sets the Size field's value. -func (s *ArrayPropertiesDetail) SetSize(v int64) *ArrayPropertiesDetail { - s.Size = &v - return s -} - -// SetStatusSummary sets the StatusSummary field's value. -func (s *ArrayPropertiesDetail) SetStatusSummary(v map[string]int64) *ArrayPropertiesDetail { - s.StatusSummary = v - return s -} - // An object representing the array properties of a job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ArrayPropertiesSummary type ArrayPropertiesSummary struct { @@ -938,18 +914,6 @@ func (s ArrayPropertiesSummary) GoString() string { return s.String() } -// SetIndex sets the Index field's value. -func (s *ArrayPropertiesSummary) SetIndex(v int64) *ArrayPropertiesSummary { - s.Index = &v - return s -} - -// SetSize sets the Size field's value. -func (s *ArrayPropertiesSummary) SetSize(v int64) *ArrayPropertiesSummary { - s.Size = &v - return s -} - // An object representing the details of a container that is part of a job attempt. // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/AttemptContainerDetail type AttemptContainerDetail struct { @@ -987,36 +951,6 @@ func (s AttemptContainerDetail) GoString() string { return s.String() } -// SetContainerInstanceArn sets the ContainerInstanceArn field's value. -func (s *AttemptContainerDetail) SetContainerInstanceArn(v string) *AttemptContainerDetail { - s.ContainerInstanceArn = &v - return s -} - -// SetExitCode sets the ExitCode field's value. -func (s *AttemptContainerDetail) SetExitCode(v int64) *AttemptContainerDetail { - s.ExitCode = &v - return s -} - -// SetLogStreamName sets the LogStreamName field's value. -func (s *AttemptContainerDetail) SetLogStreamName(v string) *AttemptContainerDetail { - s.LogStreamName = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *AttemptContainerDetail) SetReason(v string) *AttemptContainerDetail { - s.Reason = &v - return s -} - -// SetTaskArn sets the TaskArn field's value. -func (s *AttemptContainerDetail) SetTaskArn(v string) *AttemptContainerDetail { - s.TaskArn = &v - return s -} - // An object representing a job attempt. // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/AttemptDetail type AttemptDetail struct { @@ -1048,30 +982,6 @@ func (s AttemptDetail) GoString() string { return s.String() } -// SetContainer sets the Container field's value. -func (s *AttemptDetail) SetContainer(v *AttemptContainerDetail) *AttemptDetail { - s.Container = v - return s -} - -// SetStartedAt sets the StartedAt field's value. -func (s *AttemptDetail) SetStartedAt(v int64) *AttemptDetail { - s.StartedAt = &v - return s -} - -// SetStatusReason sets the StatusReason field's value. -func (s *AttemptDetail) SetStatusReason(v string) *AttemptDetail { - s.StatusReason = &v - return s -} - -// SetStoppedAt sets the StoppedAt field's value. -func (s *AttemptDetail) SetStoppedAt(v int64) *AttemptDetail { - s.StoppedAt = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CancelJobRequest type CancelJobInput struct { _ struct{} `type:"structure"` @@ -1117,18 +1027,6 @@ func (s *CancelJobInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *CancelJobInput) SetJobId(v string) *CancelJobInput { - s.JobId = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *CancelJobInput) SetReason(v string) *CancelJobInput { - s.Reason = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CancelJobResponse type CancelJobOutput struct { _ struct{} `type:"structure"` @@ -1205,60 +1103,6 @@ func (s ComputeEnvironmentDetail) GoString() string { return s.String() } -// SetComputeEnvironmentArn sets the ComputeEnvironmentArn field's value. -func (s *ComputeEnvironmentDetail) SetComputeEnvironmentArn(v string) *ComputeEnvironmentDetail { - s.ComputeEnvironmentArn = &v - return s -} - -// SetComputeEnvironmentName sets the ComputeEnvironmentName field's value. -func (s *ComputeEnvironmentDetail) SetComputeEnvironmentName(v string) *ComputeEnvironmentDetail { - s.ComputeEnvironmentName = &v - return s -} - -// SetComputeResources sets the ComputeResources field's value. -func (s *ComputeEnvironmentDetail) SetComputeResources(v *ComputeResource) *ComputeEnvironmentDetail { - s.ComputeResources = v - return s -} - -// SetEcsClusterArn sets the EcsClusterArn field's value. -func (s *ComputeEnvironmentDetail) SetEcsClusterArn(v string) *ComputeEnvironmentDetail { - s.EcsClusterArn = &v - return s -} - -// SetServiceRole sets the ServiceRole field's value. -func (s *ComputeEnvironmentDetail) SetServiceRole(v string) *ComputeEnvironmentDetail { - s.ServiceRole = &v - return s -} - -// SetState sets the State field's value. -func (s *ComputeEnvironmentDetail) SetState(v CEState) *ComputeEnvironmentDetail { - s.State = v - return s -} - -// SetStatus sets the Status field's value. -func (s *ComputeEnvironmentDetail) SetStatus(v CEStatus) *ComputeEnvironmentDetail { - s.Status = v - return s -} - -// SetStatusReason sets the StatusReason field's value. -func (s *ComputeEnvironmentDetail) SetStatusReason(v string) *ComputeEnvironmentDetail { - s.StatusReason = &v - return s -} - -// SetType sets the Type field's value. -func (s *ComputeEnvironmentDetail) SetType(v CEType) *ComputeEnvironmentDetail { - s.Type = v - return s -} - // The order in which compute environments are tried for job placement within // a queue. Compute environments are tried in ascending order. For example, // if two compute environments are associated with a job queue, the compute @@ -1306,18 +1150,6 @@ func (s *ComputeEnvironmentOrder) Validate() error { return nil } -// SetComputeEnvironment sets the ComputeEnvironment field's value. -func (s *ComputeEnvironmentOrder) SetComputeEnvironment(v string) *ComputeEnvironmentOrder { - s.ComputeEnvironment = &v - return s -} - -// SetOrder sets the Order field's value. -func (s *ComputeEnvironmentOrder) SetOrder(v int64) *ComputeEnvironmentOrder { - s.Order = &v - return s -} - // An object representing an AWS Batch compute resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ComputeResource type ComputeResource struct { @@ -1439,84 +1271,6 @@ func (s *ComputeResource) Validate() error { return nil } -// SetBidPercentage sets the BidPercentage field's value. -func (s *ComputeResource) SetBidPercentage(v int64) *ComputeResource { - s.BidPercentage = &v - return s -} - -// SetDesiredvCpus sets the DesiredvCpus field's value. -func (s *ComputeResource) SetDesiredvCpus(v int64) *ComputeResource { - s.DesiredvCpus = &v - return s -} - -// SetEc2KeyPair sets the Ec2KeyPair field's value. -func (s *ComputeResource) SetEc2KeyPair(v string) *ComputeResource { - s.Ec2KeyPair = &v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *ComputeResource) SetImageId(v string) *ComputeResource { - s.ImageId = &v - return s -} - -// SetInstanceRole sets the InstanceRole field's value. -func (s *ComputeResource) SetInstanceRole(v string) *ComputeResource { - s.InstanceRole = &v - return s -} - -// SetInstanceTypes sets the InstanceTypes field's value. -func (s *ComputeResource) SetInstanceTypes(v []string) *ComputeResource { - s.InstanceTypes = v - return s -} - -// SetMaxvCpus sets the MaxvCpus field's value. -func (s *ComputeResource) SetMaxvCpus(v int64) *ComputeResource { - s.MaxvCpus = &v - return s -} - -// SetMinvCpus sets the MinvCpus field's value. -func (s *ComputeResource) SetMinvCpus(v int64) *ComputeResource { - s.MinvCpus = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *ComputeResource) SetSecurityGroupIds(v []string) *ComputeResource { - s.SecurityGroupIds = v - return s -} - -// SetSpotIamFleetRole sets the SpotIamFleetRole field's value. -func (s *ComputeResource) SetSpotIamFleetRole(v string) *ComputeResource { - s.SpotIamFleetRole = &v - return s -} - -// SetSubnets sets the Subnets field's value. -func (s *ComputeResource) SetSubnets(v []string) *ComputeResource { - s.Subnets = v - return s -} - -// SetTags sets the Tags field's value. -func (s *ComputeResource) SetTags(v map[string]string) *ComputeResource { - s.Tags = v - return s -} - -// SetType sets the Type field's value. -func (s *ComputeResource) SetType(v CRType) *ComputeResource { - s.Type = v - return s -} - // An object representing the attributes of a compute environment that can be // updated. // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ComputeResourceUpdate @@ -1543,24 +1297,6 @@ func (s ComputeResourceUpdate) GoString() string { return s.String() } -// SetDesiredvCpus sets the DesiredvCpus field's value. -func (s *ComputeResourceUpdate) SetDesiredvCpus(v int64) *ComputeResourceUpdate { - s.DesiredvCpus = &v - return s -} - -// SetMaxvCpus sets the MaxvCpus field's value. -func (s *ComputeResourceUpdate) SetMaxvCpus(v int64) *ComputeResourceUpdate { - s.MaxvCpus = &v - return s -} - -// SetMinvCpus sets the MinvCpus field's value. -func (s *ComputeResourceUpdate) SetMinvCpus(v int64) *ComputeResourceUpdate { - s.MinvCpus = &v - return s -} - // An object representing the details of a container that is part of a job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerDetail type ContainerDetail struct { @@ -1639,108 +1375,6 @@ func (s ContainerDetail) GoString() string { return s.String() } -// SetCommand sets the Command field's value. -func (s *ContainerDetail) SetCommand(v []string) *ContainerDetail { - s.Command = v - return s -} - -// SetContainerInstanceArn sets the ContainerInstanceArn field's value. -func (s *ContainerDetail) SetContainerInstanceArn(v string) *ContainerDetail { - s.ContainerInstanceArn = &v - return s -} - -// SetEnvironment sets the Environment field's value. -func (s *ContainerDetail) SetEnvironment(v []KeyValuePair) *ContainerDetail { - s.Environment = v - return s -} - -// SetExitCode sets the ExitCode field's value. -func (s *ContainerDetail) SetExitCode(v int64) *ContainerDetail { - s.ExitCode = &v - return s -} - -// SetImage sets the Image field's value. -func (s *ContainerDetail) SetImage(v string) *ContainerDetail { - s.Image = &v - return s -} - -// SetJobRoleArn sets the JobRoleArn field's value. -func (s *ContainerDetail) SetJobRoleArn(v string) *ContainerDetail { - s.JobRoleArn = &v - return s -} - -// SetLogStreamName sets the LogStreamName field's value. -func (s *ContainerDetail) SetLogStreamName(v string) *ContainerDetail { - s.LogStreamName = &v - return s -} - -// SetMemory sets the Memory field's value. -func (s *ContainerDetail) SetMemory(v int64) *ContainerDetail { - s.Memory = &v - return s -} - -// SetMountPoints sets the MountPoints field's value. -func (s *ContainerDetail) SetMountPoints(v []MountPoint) *ContainerDetail { - s.MountPoints = v - return s -} - -// SetPrivileged sets the Privileged field's value. -func (s *ContainerDetail) SetPrivileged(v bool) *ContainerDetail { - s.Privileged = &v - return s -} - -// SetReadonlyRootFilesystem sets the ReadonlyRootFilesystem field's value. -func (s *ContainerDetail) SetReadonlyRootFilesystem(v bool) *ContainerDetail { - s.ReadonlyRootFilesystem = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *ContainerDetail) SetReason(v string) *ContainerDetail { - s.Reason = &v - return s -} - -// SetTaskArn sets the TaskArn field's value. -func (s *ContainerDetail) SetTaskArn(v string) *ContainerDetail { - s.TaskArn = &v - return s -} - -// SetUlimits sets the Ulimits field's value. -func (s *ContainerDetail) SetUlimits(v []Ulimit) *ContainerDetail { - s.Ulimits = v - return s -} - -// SetUser sets the User field's value. -func (s *ContainerDetail) SetUser(v string) *ContainerDetail { - s.User = &v - return s -} - -// SetVcpus sets the Vcpus field's value. -func (s *ContainerDetail) SetVcpus(v int64) *ContainerDetail { - s.Vcpus = &v - return s -} - -// SetVolumes sets the Volumes field's value. -func (s *ContainerDetail) SetVolumes(v []Volume) *ContainerDetail { - s.Volumes = v - return s -} - // The overrides that should be sent to a container. // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerOverrides type ContainerOverrides struct { @@ -1777,30 +1411,6 @@ func (s ContainerOverrides) GoString() string { return s.String() } -// SetCommand sets the Command field's value. -func (s *ContainerOverrides) SetCommand(v []string) *ContainerOverrides { - s.Command = v - return s -} - -// SetEnvironment sets the Environment field's value. -func (s *ContainerOverrides) SetEnvironment(v []KeyValuePair) *ContainerOverrides { - s.Environment = v - return s -} - -// SetMemory sets the Memory field's value. -func (s *ContainerOverrides) SetMemory(v int64) *ContainerOverrides { - s.Memory = &v - return s -} - -// SetVcpus sets the Vcpus field's value. -func (s *ContainerOverrides) SetVcpus(v int64) *ContainerOverrides { - s.Vcpus = &v - return s -} - // Container properties are used in job definitions to describe the container // that is launched as part of a job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerProperties @@ -1951,78 +1561,6 @@ func (s *ContainerProperties) Validate() error { return nil } -// SetCommand sets the Command field's value. -func (s *ContainerProperties) SetCommand(v []string) *ContainerProperties { - s.Command = v - return s -} - -// SetEnvironment sets the Environment field's value. -func (s *ContainerProperties) SetEnvironment(v []KeyValuePair) *ContainerProperties { - s.Environment = v - return s -} - -// SetImage sets the Image field's value. -func (s *ContainerProperties) SetImage(v string) *ContainerProperties { - s.Image = &v - return s -} - -// SetJobRoleArn sets the JobRoleArn field's value. -func (s *ContainerProperties) SetJobRoleArn(v string) *ContainerProperties { - s.JobRoleArn = &v - return s -} - -// SetMemory sets the Memory field's value. -func (s *ContainerProperties) SetMemory(v int64) *ContainerProperties { - s.Memory = &v - return s -} - -// SetMountPoints sets the MountPoints field's value. -func (s *ContainerProperties) SetMountPoints(v []MountPoint) *ContainerProperties { - s.MountPoints = v - return s -} - -// SetPrivileged sets the Privileged field's value. -func (s *ContainerProperties) SetPrivileged(v bool) *ContainerProperties { - s.Privileged = &v - return s -} - -// SetReadonlyRootFilesystem sets the ReadonlyRootFilesystem field's value. -func (s *ContainerProperties) SetReadonlyRootFilesystem(v bool) *ContainerProperties { - s.ReadonlyRootFilesystem = &v - return s -} - -// SetUlimits sets the Ulimits field's value. -func (s *ContainerProperties) SetUlimits(v []Ulimit) *ContainerProperties { - s.Ulimits = v - return s -} - -// SetUser sets the User field's value. -func (s *ContainerProperties) SetUser(v string) *ContainerProperties { - s.User = &v - return s -} - -// SetVcpus sets the Vcpus field's value. -func (s *ContainerProperties) SetVcpus(v int64) *ContainerProperties { - s.Vcpus = &v - return s -} - -// SetVolumes sets the Volumes field's value. -func (s *ContainerProperties) SetVolumes(v []Volume) *ContainerProperties { - s.Volumes = v - return s -} - // An object representing summary details of a container within a job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerSummary type ContainerSummary struct { @@ -2046,18 +1584,6 @@ func (s ContainerSummary) GoString() string { return s.String() } -// SetExitCode sets the ExitCode field's value. -func (s *ContainerSummary) SetExitCode(v int64) *ContainerSummary { - s.ExitCode = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *ContainerSummary) SetReason(v string) *ContainerSummary { - s.Reason = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironmentRequest type CreateComputeEnvironmentInput struct { _ struct{} `type:"structure"` @@ -2135,36 +1661,6 @@ func (s *CreateComputeEnvironmentInput) Validate() error { return nil } -// SetComputeEnvironmentName sets the ComputeEnvironmentName field's value. -func (s *CreateComputeEnvironmentInput) SetComputeEnvironmentName(v string) *CreateComputeEnvironmentInput { - s.ComputeEnvironmentName = &v - return s -} - -// SetComputeResources sets the ComputeResources field's value. -func (s *CreateComputeEnvironmentInput) SetComputeResources(v *ComputeResource) *CreateComputeEnvironmentInput { - s.ComputeResources = v - return s -} - -// SetServiceRole sets the ServiceRole field's value. -func (s *CreateComputeEnvironmentInput) SetServiceRole(v string) *CreateComputeEnvironmentInput { - s.ServiceRole = &v - return s -} - -// SetState sets the State field's value. -func (s *CreateComputeEnvironmentInput) SetState(v CEState) *CreateComputeEnvironmentInput { - s.State = v - return s -} - -// SetType sets the Type field's value. -func (s *CreateComputeEnvironmentInput) SetType(v CEType) *CreateComputeEnvironmentInput { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironmentResponse type CreateComputeEnvironmentOutput struct { _ struct{} `type:"structure"` @@ -2193,18 +1689,6 @@ func (s CreateComputeEnvironmentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetComputeEnvironmentArn sets the ComputeEnvironmentArn field's value. -func (s *CreateComputeEnvironmentOutput) SetComputeEnvironmentArn(v string) *CreateComputeEnvironmentOutput { - s.ComputeEnvironmentArn = &v - return s -} - -// SetComputeEnvironmentName sets the ComputeEnvironmentName field's value. -func (s *CreateComputeEnvironmentOutput) SetComputeEnvironmentName(v string) *CreateComputeEnvironmentOutput { - s.ComputeEnvironmentName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateJobQueueRequest type CreateJobQueueInput struct { _ struct{} `type:"structure"` @@ -2276,30 +1760,6 @@ func (s *CreateJobQueueInput) Validate() error { return nil } -// SetComputeEnvironmentOrder sets the ComputeEnvironmentOrder field's value. -func (s *CreateJobQueueInput) SetComputeEnvironmentOrder(v []ComputeEnvironmentOrder) *CreateJobQueueInput { - s.ComputeEnvironmentOrder = v - return s -} - -// SetJobQueueName sets the JobQueueName field's value. -func (s *CreateJobQueueInput) SetJobQueueName(v string) *CreateJobQueueInput { - s.JobQueueName = &v - return s -} - -// SetPriority sets the Priority field's value. -func (s *CreateJobQueueInput) SetPriority(v int64) *CreateJobQueueInput { - s.Priority = &v - return s -} - -// SetState sets the State field's value. -func (s *CreateJobQueueInput) SetState(v JQState) *CreateJobQueueInput { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateJobQueueResponse type CreateJobQueueOutput struct { _ struct{} `type:"structure"` @@ -2332,18 +1792,6 @@ func (s CreateJobQueueOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobQueueArn sets the JobQueueArn field's value. -func (s *CreateJobQueueOutput) SetJobQueueArn(v string) *CreateJobQueueOutput { - s.JobQueueArn = &v - return s -} - -// SetJobQueueName sets the JobQueueName field's value. -func (s *CreateJobQueueOutput) SetJobQueueName(v string) *CreateJobQueueOutput { - s.JobQueueName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteComputeEnvironmentRequest type DeleteComputeEnvironmentInput struct { _ struct{} `type:"structure"` @@ -2378,12 +1826,6 @@ func (s *DeleteComputeEnvironmentInput) Validate() error { return nil } -// SetComputeEnvironment sets the ComputeEnvironment field's value. -func (s *DeleteComputeEnvironmentInput) SetComputeEnvironment(v string) *DeleteComputeEnvironmentInput { - s.ComputeEnvironment = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteComputeEnvironmentResponse type DeleteComputeEnvironmentOutput struct { _ struct{} `type:"structure"` @@ -2440,12 +1882,6 @@ func (s *DeleteJobQueueInput) Validate() error { return nil } -// SetJobQueue sets the JobQueue field's value. -func (s *DeleteJobQueueInput) SetJobQueue(v string) *DeleteJobQueueInput { - s.JobQueue = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteJobQueueResponse type DeleteJobQueueOutput struct { _ struct{} `type:"structure"` @@ -2503,12 +1939,6 @@ func (s *DeregisterJobDefinitionInput) Validate() error { return nil } -// SetJobDefinition sets the JobDefinition field's value. -func (s *DeregisterJobDefinitionInput) SetJobDefinition(v string) *DeregisterJobDefinitionInput { - s.JobDefinition = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeregisterJobDefinitionResponse type DeregisterJobDefinitionOutput struct { _ struct{} `type:"structure"` @@ -2570,24 +2000,6 @@ func (s DescribeComputeEnvironmentsInput) GoString() string { return s.String() } -// SetComputeEnvironments sets the ComputeEnvironments field's value. -func (s *DescribeComputeEnvironmentsInput) SetComputeEnvironments(v []string) *DescribeComputeEnvironmentsInput { - s.ComputeEnvironments = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeComputeEnvironmentsInput) SetMaxResults(v int64) *DescribeComputeEnvironmentsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeComputeEnvironmentsInput) SetNextToken(v string) *DescribeComputeEnvironmentsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeComputeEnvironmentsResponse type DescribeComputeEnvironmentsOutput struct { _ struct{} `type:"structure"` @@ -2619,18 +2031,6 @@ func (s DescribeComputeEnvironmentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetComputeEnvironments sets the ComputeEnvironments field's value. -func (s *DescribeComputeEnvironmentsOutput) SetComputeEnvironments(v []ComputeEnvironmentDetail) *DescribeComputeEnvironmentsOutput { - s.ComputeEnvironments = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeComputeEnvironmentsOutput) SetNextToken(v string) *DescribeComputeEnvironmentsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobDefinitionsRequest type DescribeJobDefinitionsInput struct { _ struct{} `type:"structure"` @@ -2675,36 +2075,6 @@ func (s DescribeJobDefinitionsInput) GoString() string { return s.String() } -// SetJobDefinitionName sets the JobDefinitionName field's value. -func (s *DescribeJobDefinitionsInput) SetJobDefinitionName(v string) *DescribeJobDefinitionsInput { - s.JobDefinitionName = &v - return s -} - -// SetJobDefinitions sets the JobDefinitions field's value. -func (s *DescribeJobDefinitionsInput) SetJobDefinitions(v []string) *DescribeJobDefinitionsInput { - s.JobDefinitions = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeJobDefinitionsInput) SetMaxResults(v int64) *DescribeJobDefinitionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeJobDefinitionsInput) SetNextToken(v string) *DescribeJobDefinitionsInput { - s.NextToken = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DescribeJobDefinitionsInput) SetStatus(v string) *DescribeJobDefinitionsInput { - s.Status = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobDefinitionsResponse type DescribeJobDefinitionsOutput struct { _ struct{} `type:"structure"` @@ -2736,18 +2106,6 @@ func (s DescribeJobDefinitionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobDefinitions sets the JobDefinitions field's value. -func (s *DescribeJobDefinitionsOutput) SetJobDefinitions(v []JobDefinition) *DescribeJobDefinitionsOutput { - s.JobDefinitions = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeJobDefinitionsOutput) SetNextToken(v string) *DescribeJobDefinitionsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobQueuesRequest type DescribeJobQueuesInput struct { _ struct{} `type:"structure"` @@ -2786,24 +2144,6 @@ func (s DescribeJobQueuesInput) GoString() string { return s.String() } -// SetJobQueues sets the JobQueues field's value. -func (s *DescribeJobQueuesInput) SetJobQueues(v []string) *DescribeJobQueuesInput { - s.JobQueues = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeJobQueuesInput) SetMaxResults(v int64) *DescribeJobQueuesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeJobQueuesInput) SetNextToken(v string) *DescribeJobQueuesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobQueuesResponse type DescribeJobQueuesOutput struct { _ struct{} `type:"structure"` @@ -2835,18 +2175,6 @@ func (s DescribeJobQueuesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobQueues sets the JobQueues field's value. -func (s *DescribeJobQueuesOutput) SetJobQueues(v []JobQueueDetail) *DescribeJobQueuesOutput { - s.JobQueues = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeJobQueuesOutput) SetNextToken(v string) *DescribeJobQueuesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobsRequest type DescribeJobsInput struct { _ struct{} `type:"structure"` @@ -2881,12 +2209,6 @@ func (s *DescribeJobsInput) Validate() error { return nil } -// SetJobs sets the Jobs field's value. -func (s *DescribeJobsInput) SetJobs(v []string) *DescribeJobsInput { - s.Jobs = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobsResponse type DescribeJobsOutput struct { _ struct{} `type:"structure"` @@ -2912,12 +2234,6 @@ func (s DescribeJobsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobs sets the Jobs field's value. -func (s *DescribeJobsOutput) SetJobs(v []JobDetail) *DescribeJobsOutput { - s.Jobs = v - return s -} - // The contents of the host parameter determine whether your data volume persists // on the host container instance and where it is stored. If the host parameter // is empty, then the Docker daemon assigns a host path for your data volume, @@ -2947,12 +2263,6 @@ func (s Host) GoString() string { return s.String() } -// SetSourcePath sets the SourcePath field's value. -func (s *Host) SetSourcePath(v string) *Host { - s.SourcePath = &v - return s -} - // An object representing an AWS Batch job definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobDefinition type JobDefinition struct { @@ -3005,54 +2315,6 @@ func (s JobDefinition) GoString() string { return s.String() } -// SetContainerProperties sets the ContainerProperties field's value. -func (s *JobDefinition) SetContainerProperties(v *ContainerProperties) *JobDefinition { - s.ContainerProperties = v - return s -} - -// SetJobDefinitionArn sets the JobDefinitionArn field's value. -func (s *JobDefinition) SetJobDefinitionArn(v string) *JobDefinition { - s.JobDefinitionArn = &v - return s -} - -// SetJobDefinitionName sets the JobDefinitionName field's value. -func (s *JobDefinition) SetJobDefinitionName(v string) *JobDefinition { - s.JobDefinitionName = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *JobDefinition) SetParameters(v map[string]string) *JobDefinition { - s.Parameters = v - return s -} - -// SetRetryStrategy sets the RetryStrategy field's value. -func (s *JobDefinition) SetRetryStrategy(v *RetryStrategy) *JobDefinition { - s.RetryStrategy = v - return s -} - -// SetRevision sets the Revision field's value. -func (s *JobDefinition) SetRevision(v int64) *JobDefinition { - s.Revision = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *JobDefinition) SetStatus(v string) *JobDefinition { - s.Status = &v - return s -} - -// SetType sets the Type field's value. -func (s *JobDefinition) SetType(v string) *JobDefinition { - s.Type = &v - return s -} - // An object representing an AWS Batch job dependency. // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobDependency type JobDependency struct { @@ -3075,18 +2337,6 @@ func (s JobDependency) GoString() string { return s.String() } -// SetJobId sets the JobId field's value. -func (s *JobDependency) SetJobId(v string) *JobDependency { - s.JobId = &v - return s -} - -// SetType sets the Type field's value. -func (s *JobDependency) SetType(v ArrayJobDependency) *JobDependency { - s.Type = v - return s -} - // An object representing an AWS Batch job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobDetail type JobDetail struct { @@ -3169,96 +2419,6 @@ func (s JobDetail) GoString() string { return s.String() } -// SetArrayProperties sets the ArrayProperties field's value. -func (s *JobDetail) SetArrayProperties(v *ArrayPropertiesDetail) *JobDetail { - s.ArrayProperties = v - return s -} - -// SetAttempts sets the Attempts field's value. -func (s *JobDetail) SetAttempts(v []AttemptDetail) *JobDetail { - s.Attempts = v - return s -} - -// SetContainer sets the Container field's value. -func (s *JobDetail) SetContainer(v *ContainerDetail) *JobDetail { - s.Container = v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *JobDetail) SetCreatedAt(v int64) *JobDetail { - s.CreatedAt = &v - return s -} - -// SetDependsOn sets the DependsOn field's value. -func (s *JobDetail) SetDependsOn(v []JobDependency) *JobDetail { - s.DependsOn = v - return s -} - -// SetJobDefinition sets the JobDefinition field's value. -func (s *JobDetail) SetJobDefinition(v string) *JobDetail { - s.JobDefinition = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *JobDetail) SetJobId(v string) *JobDetail { - s.JobId = &v - return s -} - -// SetJobName sets the JobName field's value. -func (s *JobDetail) SetJobName(v string) *JobDetail { - s.JobName = &v - return s -} - -// SetJobQueue sets the JobQueue field's value. -func (s *JobDetail) SetJobQueue(v string) *JobDetail { - s.JobQueue = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *JobDetail) SetParameters(v map[string]string) *JobDetail { - s.Parameters = v - return s -} - -// SetRetryStrategy sets the RetryStrategy field's value. -func (s *JobDetail) SetRetryStrategy(v *RetryStrategy) *JobDetail { - s.RetryStrategy = v - return s -} - -// SetStartedAt sets the StartedAt field's value. -func (s *JobDetail) SetStartedAt(v int64) *JobDetail { - s.StartedAt = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *JobDetail) SetStatus(v JobStatus) *JobDetail { - s.Status = v - return s -} - -// SetStatusReason sets the StatusReason field's value. -func (s *JobDetail) SetStatusReason(v string) *JobDetail { - s.StatusReason = &v - return s -} - -// SetStoppedAt sets the StoppedAt field's value. -func (s *JobDetail) SetStoppedAt(v int64) *JobDetail { - s.StoppedAt = &v - return s -} - // An object representing the details of an AWS Batch job queue. // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobQueueDetail type JobQueueDetail struct { @@ -3309,48 +2469,6 @@ func (s JobQueueDetail) GoString() string { return s.String() } -// SetComputeEnvironmentOrder sets the ComputeEnvironmentOrder field's value. -func (s *JobQueueDetail) SetComputeEnvironmentOrder(v []ComputeEnvironmentOrder) *JobQueueDetail { - s.ComputeEnvironmentOrder = v - return s -} - -// SetJobQueueArn sets the JobQueueArn field's value. -func (s *JobQueueDetail) SetJobQueueArn(v string) *JobQueueDetail { - s.JobQueueArn = &v - return s -} - -// SetJobQueueName sets the JobQueueName field's value. -func (s *JobQueueDetail) SetJobQueueName(v string) *JobQueueDetail { - s.JobQueueName = &v - return s -} - -// SetPriority sets the Priority field's value. -func (s *JobQueueDetail) SetPriority(v int64) *JobQueueDetail { - s.Priority = &v - return s -} - -// SetState sets the State field's value. -func (s *JobQueueDetail) SetState(v JQState) *JobQueueDetail { - s.State = v - return s -} - -// SetStatus sets the Status field's value. -func (s *JobQueueDetail) SetStatus(v JQStatus) *JobQueueDetail { - s.Status = v - return s -} - -// SetStatusReason sets the StatusReason field's value. -func (s *JobQueueDetail) SetStatusReason(v string) *JobQueueDetail { - s.StatusReason = &v - return s -} - // An object representing summary details of a job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobSummary type JobSummary struct { @@ -3405,60 +2523,6 @@ func (s JobSummary) GoString() string { return s.String() } -// SetArrayProperties sets the ArrayProperties field's value. -func (s *JobSummary) SetArrayProperties(v *ArrayPropertiesSummary) *JobSummary { - s.ArrayProperties = v - return s -} - -// SetContainer sets the Container field's value. -func (s *JobSummary) SetContainer(v *ContainerSummary) *JobSummary { - s.Container = v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *JobSummary) SetCreatedAt(v int64) *JobSummary { - s.CreatedAt = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *JobSummary) SetJobId(v string) *JobSummary { - s.JobId = &v - return s -} - -// SetJobName sets the JobName field's value. -func (s *JobSummary) SetJobName(v string) *JobSummary { - s.JobName = &v - return s -} - -// SetStartedAt sets the StartedAt field's value. -func (s *JobSummary) SetStartedAt(v int64) *JobSummary { - s.StartedAt = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *JobSummary) SetStatus(v JobStatus) *JobSummary { - s.Status = v - return s -} - -// SetStatusReason sets the StatusReason field's value. -func (s *JobSummary) SetStatusReason(v string) *JobSummary { - s.StatusReason = &v - return s -} - -// SetStoppedAt sets the StoppedAt field's value. -func (s *JobSummary) SetStoppedAt(v int64) *JobSummary { - s.StoppedAt = &v - return s -} - // A key-value pair object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/KeyValuePair type KeyValuePair struct { @@ -3483,18 +2547,6 @@ func (s KeyValuePair) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *KeyValuePair) SetName(v string) *KeyValuePair { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *KeyValuePair) SetValue(v string) *KeyValuePair { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListJobsRequest type ListJobsInput struct { _ struct{} `type:"structure"` @@ -3540,36 +2592,6 @@ func (s ListJobsInput) GoString() string { return s.String() } -// SetArrayJobId sets the ArrayJobId field's value. -func (s *ListJobsInput) SetArrayJobId(v string) *ListJobsInput { - s.ArrayJobId = &v - return s -} - -// SetJobQueue sets the JobQueue field's value. -func (s *ListJobsInput) SetJobQueue(v string) *ListJobsInput { - s.JobQueue = &v - return s -} - -// SetJobStatus sets the JobStatus field's value. -func (s *ListJobsInput) SetJobStatus(v JobStatus) *ListJobsInput { - s.JobStatus = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListJobsInput) SetMaxResults(v int64) *ListJobsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListJobsResponse type ListJobsOutput struct { _ struct{} `type:"structure"` @@ -3603,18 +2625,6 @@ func (s ListJobsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobSummaryList sets the JobSummaryList field's value. -func (s *ListJobsOutput) SetJobSummaryList(v []JobSummary) *ListJobsOutput { - s.JobSummaryList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput { - s.NextToken = &v - return s -} - // Details on a Docker volume mount point that is used in a job's container // properties. // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/MountPoint @@ -3642,24 +2652,6 @@ func (s MountPoint) GoString() string { return s.String() } -// SetContainerPath sets the ContainerPath field's value. -func (s *MountPoint) SetContainerPath(v string) *MountPoint { - s.ContainerPath = &v - return s -} - -// SetReadOnly sets the ReadOnly field's value. -func (s *MountPoint) SetReadOnly(v bool) *MountPoint { - s.ReadOnly = &v - return s -} - -// SetSourceVolume sets the SourceVolume field's value. -func (s *MountPoint) SetSourceVolume(v string) *MountPoint { - s.SourceVolume = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinitionRequest type RegisterJobDefinitionInput struct { _ struct{} `type:"structure"` @@ -3722,36 +2714,6 @@ func (s *RegisterJobDefinitionInput) Validate() error { return nil } -// SetContainerProperties sets the ContainerProperties field's value. -func (s *RegisterJobDefinitionInput) SetContainerProperties(v *ContainerProperties) *RegisterJobDefinitionInput { - s.ContainerProperties = v - return s -} - -// SetJobDefinitionName sets the JobDefinitionName field's value. -func (s *RegisterJobDefinitionInput) SetJobDefinitionName(v string) *RegisterJobDefinitionInput { - s.JobDefinitionName = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *RegisterJobDefinitionInput) SetParameters(v map[string]string) *RegisterJobDefinitionInput { - s.Parameters = v - return s -} - -// SetRetryStrategy sets the RetryStrategy field's value. -func (s *RegisterJobDefinitionInput) SetRetryStrategy(v *RetryStrategy) *RegisterJobDefinitionInput { - s.RetryStrategy = v - return s -} - -// SetType sets the Type field's value. -func (s *RegisterJobDefinitionInput) SetType(v JobDefinitionType) *RegisterJobDefinitionInput { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinitionResponse type RegisterJobDefinitionOutput struct { _ struct{} `type:"structure"` @@ -3789,24 +2751,6 @@ func (s RegisterJobDefinitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobDefinitionArn sets the JobDefinitionArn field's value. -func (s *RegisterJobDefinitionOutput) SetJobDefinitionArn(v string) *RegisterJobDefinitionOutput { - s.JobDefinitionArn = &v - return s -} - -// SetJobDefinitionName sets the JobDefinitionName field's value. -func (s *RegisterJobDefinitionOutput) SetJobDefinitionName(v string) *RegisterJobDefinitionOutput { - s.JobDefinitionName = &v - return s -} - -// SetRevision sets the Revision field's value. -func (s *RegisterJobDefinitionOutput) SetRevision(v int64) *RegisterJobDefinitionOutput { - s.Revision = &v - return s -} - // The retry strategy associated with a job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RetryStrategy type RetryStrategy struct { @@ -3828,12 +2772,6 @@ func (s RetryStrategy) GoString() string { return s.String() } -// SetAttempts sets the Attempts field's value. -func (s *RetryStrategy) SetAttempts(v int64) *RetryStrategy { - s.Attempts = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJobRequest type SubmitJobInput struct { _ struct{} `type:"structure"` @@ -3925,54 +2863,6 @@ func (s *SubmitJobInput) Validate() error { return nil } -// SetArrayProperties sets the ArrayProperties field's value. -func (s *SubmitJobInput) SetArrayProperties(v *ArrayProperties) *SubmitJobInput { - s.ArrayProperties = v - return s -} - -// SetContainerOverrides sets the ContainerOverrides field's value. -func (s *SubmitJobInput) SetContainerOverrides(v *ContainerOverrides) *SubmitJobInput { - s.ContainerOverrides = v - return s -} - -// SetDependsOn sets the DependsOn field's value. -func (s *SubmitJobInput) SetDependsOn(v []JobDependency) *SubmitJobInput { - s.DependsOn = v - return s -} - -// SetJobDefinition sets the JobDefinition field's value. -func (s *SubmitJobInput) SetJobDefinition(v string) *SubmitJobInput { - s.JobDefinition = &v - return s -} - -// SetJobName sets the JobName field's value. -func (s *SubmitJobInput) SetJobName(v string) *SubmitJobInput { - s.JobName = &v - return s -} - -// SetJobQueue sets the JobQueue field's value. -func (s *SubmitJobInput) SetJobQueue(v string) *SubmitJobInput { - s.JobQueue = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *SubmitJobInput) SetParameters(v map[string]string) *SubmitJobInput { - s.Parameters = v - return s -} - -// SetRetryStrategy sets the RetryStrategy field's value. -func (s *SubmitJobInput) SetRetryStrategy(v *RetryStrategy) *SubmitJobInput { - s.RetryStrategy = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJobResponse type SubmitJobOutput struct { _ struct{} `type:"structure"` @@ -4005,18 +2895,6 @@ func (s SubmitJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobId sets the JobId field's value. -func (s *SubmitJobOutput) SetJobId(v string) *SubmitJobOutput { - s.JobId = &v - return s -} - -// SetJobName sets the JobName field's value. -func (s *SubmitJobOutput) SetJobName(v string) *SubmitJobOutput { - s.JobName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TerminateJobRequest type TerminateJobInput struct { _ struct{} `type:"structure"` @@ -4062,18 +2940,6 @@ func (s *TerminateJobInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *TerminateJobInput) SetJobId(v string) *TerminateJobInput { - s.JobId = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *TerminateJobInput) SetReason(v string) *TerminateJobInput { - s.Reason = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TerminateJobResponse type TerminateJobOutput struct { _ struct{} `type:"structure"` @@ -4149,24 +3015,6 @@ func (s *Ulimit) Validate() error { return nil } -// SetHardLimit sets the HardLimit field's value. -func (s *Ulimit) SetHardLimit(v int64) *Ulimit { - s.HardLimit = &v - return s -} - -// SetName sets the Name field's value. -func (s *Ulimit) SetName(v string) *Ulimit { - s.Name = &v - return s -} - -// SetSoftLimit sets the SoftLimit field's value. -func (s *Ulimit) SetSoftLimit(v int64) *Ulimit { - s.SoftLimit = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironmentRequest type UpdateComputeEnvironmentInput struct { _ struct{} `type:"structure"` @@ -4225,30 +3073,6 @@ func (s *UpdateComputeEnvironmentInput) Validate() error { return nil } -// SetComputeEnvironment sets the ComputeEnvironment field's value. -func (s *UpdateComputeEnvironmentInput) SetComputeEnvironment(v string) *UpdateComputeEnvironmentInput { - s.ComputeEnvironment = &v - return s -} - -// SetComputeResources sets the ComputeResources field's value. -func (s *UpdateComputeEnvironmentInput) SetComputeResources(v *ComputeResourceUpdate) *UpdateComputeEnvironmentInput { - s.ComputeResources = v - return s -} - -// SetServiceRole sets the ServiceRole field's value. -func (s *UpdateComputeEnvironmentInput) SetServiceRole(v string) *UpdateComputeEnvironmentInput { - s.ServiceRole = &v - return s -} - -// SetState sets the State field's value. -func (s *UpdateComputeEnvironmentInput) SetState(v CEState) *UpdateComputeEnvironmentInput { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironmentResponse type UpdateComputeEnvironmentOutput struct { _ struct{} `type:"structure"` @@ -4277,18 +3101,6 @@ func (s UpdateComputeEnvironmentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetComputeEnvironmentArn sets the ComputeEnvironmentArn field's value. -func (s *UpdateComputeEnvironmentOutput) SetComputeEnvironmentArn(v string) *UpdateComputeEnvironmentOutput { - s.ComputeEnvironmentArn = &v - return s -} - -// SetComputeEnvironmentName sets the ComputeEnvironmentName field's value. -func (s *UpdateComputeEnvironmentOutput) SetComputeEnvironmentName(v string) *UpdateComputeEnvironmentOutput { - s.ComputeEnvironmentName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateJobQueueRequest type UpdateJobQueueInput struct { _ struct{} `type:"structure"` @@ -4345,30 +3157,6 @@ func (s *UpdateJobQueueInput) Validate() error { return nil } -// SetComputeEnvironmentOrder sets the ComputeEnvironmentOrder field's value. -func (s *UpdateJobQueueInput) SetComputeEnvironmentOrder(v []ComputeEnvironmentOrder) *UpdateJobQueueInput { - s.ComputeEnvironmentOrder = v - return s -} - -// SetJobQueue sets the JobQueue field's value. -func (s *UpdateJobQueueInput) SetJobQueue(v string) *UpdateJobQueueInput { - s.JobQueue = &v - return s -} - -// SetPriority sets the Priority field's value. -func (s *UpdateJobQueueInput) SetPriority(v int64) *UpdateJobQueueInput { - s.Priority = &v - return s -} - -// SetState sets the State field's value. -func (s *UpdateJobQueueInput) SetState(v JQState) *UpdateJobQueueInput { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateJobQueueResponse type UpdateJobQueueOutput struct { _ struct{} `type:"structure"` @@ -4397,18 +3185,6 @@ func (s UpdateJobQueueOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobQueueArn sets the JobQueueArn field's value. -func (s *UpdateJobQueueOutput) SetJobQueueArn(v string) *UpdateJobQueueOutput { - s.JobQueueArn = &v - return s -} - -// SetJobQueueName sets the JobQueueName field's value. -func (s *UpdateJobQueueOutput) SetJobQueueName(v string) *UpdateJobQueueOutput { - s.JobQueueName = &v - return s -} - // A data volume used in a job's container properties. // Please also see https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/Volume type Volume struct { @@ -4437,18 +3213,6 @@ func (s Volume) GoString() string { return s.String() } -// SetHost sets the Host field's value. -func (s *Volume) SetHost(v *Host) *Volume { - s.Host = v - return s -} - -// SetName sets the Name field's value. -func (s *Volume) SetName(v string) *Volume { - s.Name = &v - return s -} - type ArrayJobDependency string // Enum values for ArrayJobDependency diff --git a/service/budgets/api.go b/service/budgets/api.go index 24f155772c1..15c129c9c8e 100644 --- a/service/budgets/api.go +++ b/service/budgets/api.go @@ -714,54 +714,6 @@ func (s *Budget) Validate() error { return nil } -// SetBudgetLimit sets the BudgetLimit field's value. -func (s *Budget) SetBudgetLimit(v *Spend) *Budget { - s.BudgetLimit = v - return s -} - -// SetBudgetName sets the BudgetName field's value. -func (s *Budget) SetBudgetName(v string) *Budget { - s.BudgetName = &v - return s -} - -// SetBudgetType sets the BudgetType field's value. -func (s *Budget) SetBudgetType(v BudgetType) *Budget { - s.BudgetType = v - return s -} - -// SetCalculatedSpend sets the CalculatedSpend field's value. -func (s *Budget) SetCalculatedSpend(v *CalculatedSpend) *Budget { - s.CalculatedSpend = v - return s -} - -// SetCostFilters sets the CostFilters field's value. -func (s *Budget) SetCostFilters(v map[string][]string) *Budget { - s.CostFilters = v - return s -} - -// SetCostTypes sets the CostTypes field's value. -func (s *Budget) SetCostTypes(v *CostTypes) *Budget { - s.CostTypes = v - return s -} - -// SetTimePeriod sets the TimePeriod field's value. -func (s *Budget) SetTimePeriod(v *TimePeriod) *Budget { - s.TimePeriod = v - return s -} - -// SetTimeUnit sets the TimeUnit field's value. -func (s *Budget) SetTimeUnit(v TimeUnit) *Budget { - s.TimeUnit = v - return s -} - // A structure that holds the actual and forecasted spend for a budget. type CalculatedSpend struct { _ struct{} `type:"structure"` @@ -811,18 +763,6 @@ func (s *CalculatedSpend) Validate() error { return nil } -// SetActualSpend sets the ActualSpend field's value. -func (s *CalculatedSpend) SetActualSpend(v *Spend) *CalculatedSpend { - s.ActualSpend = v - return s -} - -// SetForecastedSpend sets the ForecastedSpend field's value. -func (s *CalculatedSpend) SetForecastedSpend(v *Spend) *CalculatedSpend { - s.ForecastedSpend = v - return s -} - // This includes the options for getting the cost of a budget. type CostTypes struct { _ struct{} `type:"structure"` @@ -865,60 +805,6 @@ func (s CostTypes) GoString() string { return s.String() } -// SetIncludeCredit sets the IncludeCredit field's value. -func (s *CostTypes) SetIncludeCredit(v bool) *CostTypes { - s.IncludeCredit = &v - return s -} - -// SetIncludeOtherSubscription sets the IncludeOtherSubscription field's value. -func (s *CostTypes) SetIncludeOtherSubscription(v bool) *CostTypes { - s.IncludeOtherSubscription = &v - return s -} - -// SetIncludeRecurring sets the IncludeRecurring field's value. -func (s *CostTypes) SetIncludeRecurring(v bool) *CostTypes { - s.IncludeRecurring = &v - return s -} - -// SetIncludeRefund sets the IncludeRefund field's value. -func (s *CostTypes) SetIncludeRefund(v bool) *CostTypes { - s.IncludeRefund = &v - return s -} - -// SetIncludeSubscription sets the IncludeSubscription field's value. -func (s *CostTypes) SetIncludeSubscription(v bool) *CostTypes { - s.IncludeSubscription = &v - return s -} - -// SetIncludeSupport sets the IncludeSupport field's value. -func (s *CostTypes) SetIncludeSupport(v bool) *CostTypes { - s.IncludeSupport = &v - return s -} - -// SetIncludeTax sets the IncludeTax field's value. -func (s *CostTypes) SetIncludeTax(v bool) *CostTypes { - s.IncludeTax = &v - return s -} - -// SetIncludeUpfront sets the IncludeUpfront field's value. -func (s *CostTypes) SetIncludeUpfront(v bool) *CostTypes { - s.IncludeUpfront = &v - return s -} - -// SetUseBlended sets the UseBlended field's value. -func (s *CostTypes) SetUseBlended(v bool) *CostTypes { - s.UseBlended = &v - return s -} - // Request of CreateBudget type CreateBudgetInput struct { _ struct{} `type:"structure"` @@ -980,24 +866,6 @@ func (s *CreateBudgetInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *CreateBudgetInput) SetAccountId(v string) *CreateBudgetInput { - s.AccountId = &v - return s -} - -// SetBudget sets the Budget field's value. -func (s *CreateBudgetInput) SetBudget(v *Budget) *CreateBudgetInput { - s.Budget = v - return s -} - -// SetNotificationsWithSubscribers sets the NotificationsWithSubscribers field's value. -func (s *CreateBudgetInput) SetNotificationsWithSubscribers(v []NotificationWithSubscribers) *CreateBudgetInput { - s.NotificationsWithSubscribers = v - return s -} - // Response of CreateBudget type CreateBudgetOutput struct { _ struct{} `type:"structure"` @@ -1100,30 +968,6 @@ func (s *CreateNotificationInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *CreateNotificationInput) SetAccountId(v string) *CreateNotificationInput { - s.AccountId = &v - return s -} - -// SetBudgetName sets the BudgetName field's value. -func (s *CreateNotificationInput) SetBudgetName(v string) *CreateNotificationInput { - s.BudgetName = &v - return s -} - -// SetNotification sets the Notification field's value. -func (s *CreateNotificationInput) SetNotification(v *Notification) *CreateNotificationInput { - s.Notification = v - return s -} - -// SetSubscribers sets the Subscribers field's value. -func (s *CreateNotificationInput) SetSubscribers(v []Subscriber) *CreateNotificationInput { - s.Subscribers = v - return s -} - // Response of CreateNotification type CreateNotificationOutput struct { _ struct{} `type:"structure"` @@ -1222,30 +1066,6 @@ func (s *CreateSubscriberInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *CreateSubscriberInput) SetAccountId(v string) *CreateSubscriberInput { - s.AccountId = &v - return s -} - -// SetBudgetName sets the BudgetName field's value. -func (s *CreateSubscriberInput) SetBudgetName(v string) *CreateSubscriberInput { - s.BudgetName = &v - return s -} - -// SetNotification sets the Notification field's value. -func (s *CreateSubscriberInput) SetNotification(v *Notification) *CreateSubscriberInput { - s.Notification = v - return s -} - -// SetSubscriber sets the Subscriber field's value. -func (s *CreateSubscriberInput) SetSubscriber(v *Subscriber) *CreateSubscriberInput { - s.Subscriber = v - return s -} - // Response of CreateSubscriber type CreateSubscriberOutput struct { _ struct{} `type:"structure"` @@ -1314,18 +1134,6 @@ func (s *DeleteBudgetInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *DeleteBudgetInput) SetAccountId(v string) *DeleteBudgetInput { - s.AccountId = &v - return s -} - -// SetBudgetName sets the BudgetName field's value. -func (s *DeleteBudgetInput) SetBudgetName(v string) *DeleteBudgetInput { - s.BudgetName = &v - return s -} - // Response of DeleteBudget type DeleteBudgetOutput struct { _ struct{} `type:"structure"` @@ -1409,24 +1217,6 @@ func (s *DeleteNotificationInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *DeleteNotificationInput) SetAccountId(v string) *DeleteNotificationInput { - s.AccountId = &v - return s -} - -// SetBudgetName sets the BudgetName field's value. -func (s *DeleteNotificationInput) SetBudgetName(v string) *DeleteNotificationInput { - s.BudgetName = &v - return s -} - -// SetNotification sets the Notification field's value. -func (s *DeleteNotificationInput) SetNotification(v *Notification) *DeleteNotificationInput { - s.Notification = v - return s -} - // Response of DeleteNotification type DeleteNotificationOutput struct { _ struct{} `type:"structure"` @@ -1525,30 +1315,6 @@ func (s *DeleteSubscriberInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *DeleteSubscriberInput) SetAccountId(v string) *DeleteSubscriberInput { - s.AccountId = &v - return s -} - -// SetBudgetName sets the BudgetName field's value. -func (s *DeleteSubscriberInput) SetBudgetName(v string) *DeleteSubscriberInput { - s.BudgetName = &v - return s -} - -// SetNotification sets the Notification field's value. -func (s *DeleteSubscriberInput) SetNotification(v *Notification) *DeleteSubscriberInput { - s.Notification = v - return s -} - -// SetSubscriber sets the Subscriber field's value. -func (s *DeleteSubscriberInput) SetSubscriber(v *Subscriber) *DeleteSubscriberInput { - s.Subscriber = v - return s -} - // Response of DeleteSubscriber type DeleteSubscriberOutput struct { _ struct{} `type:"structure"` @@ -1617,18 +1383,6 @@ func (s *DescribeBudgetInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *DescribeBudgetInput) SetAccountId(v string) *DescribeBudgetInput { - s.AccountId = &v - return s -} - -// SetBudgetName sets the BudgetName field's value. -func (s *DescribeBudgetInput) SetBudgetName(v string) *DescribeBudgetInput { - s.BudgetName = &v - return s -} - // Response of DescribeBudget type DescribeBudgetOutput struct { _ struct{} `type:"structure"` @@ -1654,12 +1408,6 @@ func (s DescribeBudgetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBudget sets the Budget field's value. -func (s *DescribeBudgetOutput) SetBudget(v *Budget) *DescribeBudgetOutput { - s.Budget = v - return s -} - // Request of DescribeBudgets type DescribeBudgetsInput struct { _ struct{} `type:"structure"` @@ -1707,24 +1455,6 @@ func (s *DescribeBudgetsInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *DescribeBudgetsInput) SetAccountId(v string) *DescribeBudgetsInput { - s.AccountId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeBudgetsInput) SetMaxResults(v int64) *DescribeBudgetsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeBudgetsInput) SetNextToken(v string) *DescribeBudgetsInput { - s.NextToken = &v - return s -} - // Response of DescribeBudgets type DescribeBudgetsOutput struct { _ struct{} `type:"structure"` @@ -1753,18 +1483,6 @@ func (s DescribeBudgetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBudgets sets the Budgets field's value. -func (s *DescribeBudgetsOutput) SetBudgets(v []Budget) *DescribeBudgetsOutput { - s.Budgets = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeBudgetsOutput) SetNextToken(v string) *DescribeBudgetsOutput { - s.NextToken = &v - return s -} - // Request of DescribeNotificationsForBudget type DescribeNotificationsForBudgetInput struct { _ struct{} `type:"structure"` @@ -1821,30 +1539,6 @@ func (s *DescribeNotificationsForBudgetInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *DescribeNotificationsForBudgetInput) SetAccountId(v string) *DescribeNotificationsForBudgetInput { - s.AccountId = &v - return s -} - -// SetBudgetName sets the BudgetName field's value. -func (s *DescribeNotificationsForBudgetInput) SetBudgetName(v string) *DescribeNotificationsForBudgetInput { - s.BudgetName = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeNotificationsForBudgetInput) SetMaxResults(v int64) *DescribeNotificationsForBudgetInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeNotificationsForBudgetInput) SetNextToken(v string) *DescribeNotificationsForBudgetInput { - s.NextToken = &v - return s -} - // Response of GetNotificationsForBudget type DescribeNotificationsForBudgetOutput struct { _ struct{} `type:"structure"` @@ -1873,18 +1567,6 @@ func (s DescribeNotificationsForBudgetOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeNotificationsForBudgetOutput) SetNextToken(v string) *DescribeNotificationsForBudgetOutput { - s.NextToken = &v - return s -} - -// SetNotifications sets the Notifications field's value. -func (s *DescribeNotificationsForBudgetOutput) SetNotifications(v []Notification) *DescribeNotificationsForBudgetOutput { - s.Notifications = v - return s -} - // Request of DescribeSubscribersForNotification type DescribeSubscribersForNotificationInput struct { _ struct{} `type:"structure"` @@ -1956,36 +1638,6 @@ func (s *DescribeSubscribersForNotificationInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *DescribeSubscribersForNotificationInput) SetAccountId(v string) *DescribeSubscribersForNotificationInput { - s.AccountId = &v - return s -} - -// SetBudgetName sets the BudgetName field's value. -func (s *DescribeSubscribersForNotificationInput) SetBudgetName(v string) *DescribeSubscribersForNotificationInput { - s.BudgetName = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeSubscribersForNotificationInput) SetMaxResults(v int64) *DescribeSubscribersForNotificationInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeSubscribersForNotificationInput) SetNextToken(v string) *DescribeSubscribersForNotificationInput { - s.NextToken = &v - return s -} - -// SetNotification sets the Notification field's value. -func (s *DescribeSubscribersForNotificationInput) SetNotification(v *Notification) *DescribeSubscribersForNotificationInput { - s.Notification = v - return s -} - // Response of DescribeSubscribersForNotification type DescribeSubscribersForNotificationOutput struct { _ struct{} `type:"structure"` @@ -2014,18 +1666,6 @@ func (s DescribeSubscribersForNotificationOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeSubscribersForNotificationOutput) SetNextToken(v string) *DescribeSubscribersForNotificationOutput { - s.NextToken = &v - return s -} - -// SetSubscribers sets the Subscribers field's value. -func (s *DescribeSubscribersForNotificationOutput) SetSubscribers(v []Subscriber) *DescribeSubscribersForNotificationOutput { - s.Subscribers = v - return s -} - // Notification model. Each budget may contain multiple notifications with different // settings. type Notification struct { @@ -2084,30 +1724,6 @@ func (s *Notification) Validate() error { return nil } -// SetComparisonOperator sets the ComparisonOperator field's value. -func (s *Notification) SetComparisonOperator(v ComparisonOperator) *Notification { - s.ComparisonOperator = v - return s -} - -// SetNotificationType sets the NotificationType field's value. -func (s *Notification) SetNotificationType(v NotificationType) *Notification { - s.NotificationType = v - return s -} - -// SetThreshold sets the Threshold field's value. -func (s *Notification) SetThreshold(v float64) *Notification { - s.Threshold = &v - return s -} - -// SetThresholdType sets the ThresholdType field's value. -func (s *Notification) SetThresholdType(v ThresholdType) *Notification { - s.ThresholdType = v - return s -} - // A structure to relate notification and a list of subscribers who belong to // the notification. type NotificationWithSubscribers struct { @@ -2168,18 +1784,6 @@ func (s *NotificationWithSubscribers) Validate() error { return nil } -// SetNotification sets the Notification field's value. -func (s *NotificationWithSubscribers) SetNotification(v *Notification) *NotificationWithSubscribers { - s.Notification = v - return s -} - -// SetSubscribers sets the Subscribers field's value. -func (s *NotificationWithSubscribers) SetSubscribers(v []Subscriber) *NotificationWithSubscribers { - s.Subscribers = v - return s -} - // A structure that represents either a cost spend or usage spend. Contains // an amount and a unit. type Spend struct { @@ -2227,18 +1831,6 @@ func (s *Spend) Validate() error { return nil } -// SetAmount sets the Amount field's value. -func (s *Spend) SetAmount(v string) *Spend { - s.Amount = &v - return s -} - -// SetUnit sets the Unit field's value. -func (s *Spend) SetUnit(v string) *Spend { - s.Unit = &v - return s -} - // Subscriber model. Each notification may contain multiple subscribers with // different addresses. type Subscriber struct { @@ -2285,18 +1877,6 @@ func (s *Subscriber) Validate() error { return nil } -// SetAddress sets the Address field's value. -func (s *Subscriber) SetAddress(v string) *Subscriber { - s.Address = &v - return s -} - -// SetSubscriptionType sets the SubscriptionType field's value. -func (s *Subscriber) SetSubscriptionType(v SubscriptionType) *Subscriber { - s.SubscriptionType = v - return s -} - // A time period indicating the start date and end date of a budget. type TimePeriod struct { _ struct{} `type:"structure"` @@ -2340,18 +1920,6 @@ func (s *TimePeriod) Validate() error { return nil } -// SetEnd sets the End field's value. -func (s *TimePeriod) SetEnd(v time.Time) *TimePeriod { - s.End = &v - return s -} - -// SetStart sets the Start field's value. -func (s *TimePeriod) SetStart(v time.Time) *TimePeriod { - s.Start = &v - return s -} - // Request of UpdateBudget type UpdateBudgetInput struct { _ struct{} `type:"structure"` @@ -2403,18 +1971,6 @@ func (s *UpdateBudgetInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *UpdateBudgetInput) SetAccountId(v string) *UpdateBudgetInput { - s.AccountId = &v - return s -} - -// SetNewBudget sets the NewBudget field's value. -func (s *UpdateBudgetInput) SetNewBudget(v *Budget) *UpdateBudgetInput { - s.NewBudget = v - return s -} - // Response of UpdateBudget type UpdateBudgetOutput struct { _ struct{} `type:"structure"` @@ -2513,30 +2069,6 @@ func (s *UpdateNotificationInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *UpdateNotificationInput) SetAccountId(v string) *UpdateNotificationInput { - s.AccountId = &v - return s -} - -// SetBudgetName sets the BudgetName field's value. -func (s *UpdateNotificationInput) SetBudgetName(v string) *UpdateNotificationInput { - s.BudgetName = &v - return s -} - -// SetNewNotification sets the NewNotification field's value. -func (s *UpdateNotificationInput) SetNewNotification(v *Notification) *UpdateNotificationInput { - s.NewNotification = v - return s -} - -// SetOldNotification sets the OldNotification field's value. -func (s *UpdateNotificationInput) SetOldNotification(v *Notification) *UpdateNotificationInput { - s.OldNotification = v - return s -} - // Response of UpdateNotification type UpdateNotificationOutput struct { _ struct{} `type:"structure"` @@ -2650,36 +2182,6 @@ func (s *UpdateSubscriberInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *UpdateSubscriberInput) SetAccountId(v string) *UpdateSubscriberInput { - s.AccountId = &v - return s -} - -// SetBudgetName sets the BudgetName field's value. -func (s *UpdateSubscriberInput) SetBudgetName(v string) *UpdateSubscriberInput { - s.BudgetName = &v - return s -} - -// SetNewSubscriber sets the NewSubscriber field's value. -func (s *UpdateSubscriberInput) SetNewSubscriber(v *Subscriber) *UpdateSubscriberInput { - s.NewSubscriber = v - return s -} - -// SetNotification sets the Notification field's value. -func (s *UpdateSubscriberInput) SetNotification(v *Notification) *UpdateSubscriberInput { - s.Notification = v - return s -} - -// SetOldSubscriber sets the OldSubscriber field's value. -func (s *UpdateSubscriberInput) SetOldSubscriber(v *Subscriber) *UpdateSubscriberInput { - s.OldSubscriber = v - return s -} - // Response of UpdateSubscriber type UpdateSubscriberOutput struct { _ struct{} `type:"structure"` diff --git a/service/cloud9/api.go b/service/cloud9/api.go index 696302d227b..4121099aa46 100644 --- a/service/cloud9/api.go +++ b/service/cloud9/api.go @@ -694,48 +694,6 @@ func (s *CreateEnvironmentEC2Input) Validate() error { return nil } -// SetAutomaticStopTimeMinutes sets the AutomaticStopTimeMinutes field's value. -func (s *CreateEnvironmentEC2Input) SetAutomaticStopTimeMinutes(v int64) *CreateEnvironmentEC2Input { - s.AutomaticStopTimeMinutes = &v - return s -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *CreateEnvironmentEC2Input) SetClientRequestToken(v string) *CreateEnvironmentEC2Input { - s.ClientRequestToken = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateEnvironmentEC2Input) SetDescription(v string) *CreateEnvironmentEC2Input { - s.Description = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *CreateEnvironmentEC2Input) SetInstanceType(v string) *CreateEnvironmentEC2Input { - s.InstanceType = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateEnvironmentEC2Input) SetName(v string) *CreateEnvironmentEC2Input { - s.Name = &v - return s -} - -// SetOwnerArn sets the OwnerArn field's value. -func (s *CreateEnvironmentEC2Input) SetOwnerArn(v string) *CreateEnvironmentEC2Input { - s.OwnerArn = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *CreateEnvironmentEC2Input) SetSubnetId(v string) *CreateEnvironmentEC2Input { - s.SubnetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/CreateEnvironmentEC2Result type CreateEnvironmentEC2Output struct { _ struct{} `type:"structure"` @@ -761,12 +719,6 @@ func (s CreateEnvironmentEC2Output) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *CreateEnvironmentEC2Output) SetEnvironmentId(v string) *CreateEnvironmentEC2Output { - s.EnvironmentId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/CreateEnvironmentMembershipRequest type CreateEnvironmentMembershipInput struct { _ struct{} `type:"structure"` @@ -824,24 +776,6 @@ func (s *CreateEnvironmentMembershipInput) Validate() error { return nil } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *CreateEnvironmentMembershipInput) SetEnvironmentId(v string) *CreateEnvironmentMembershipInput { - s.EnvironmentId = &v - return s -} - -// SetPermissions sets the Permissions field's value. -func (s *CreateEnvironmentMembershipInput) SetPermissions(v MemberPermissions) *CreateEnvironmentMembershipInput { - s.Permissions = v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *CreateEnvironmentMembershipInput) SetUserArn(v string) *CreateEnvironmentMembershipInput { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/CreateEnvironmentMembershipResult type CreateEnvironmentMembershipOutput struct { _ struct{} `type:"structure"` @@ -867,12 +801,6 @@ func (s CreateEnvironmentMembershipOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMembership sets the Membership field's value. -func (s *CreateEnvironmentMembershipOutput) SetMembership(v *EnvironmentMember) *CreateEnvironmentMembershipOutput { - s.Membership = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DeleteEnvironmentRequest type DeleteEnvironmentInput struct { _ struct{} `type:"structure"` @@ -907,12 +835,6 @@ func (s *DeleteEnvironmentInput) Validate() error { return nil } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *DeleteEnvironmentInput) SetEnvironmentId(v string) *DeleteEnvironmentInput { - s.EnvironmentId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DeleteEnvironmentMembershipRequest type DeleteEnvironmentMembershipInput struct { _ struct{} `type:"structure"` @@ -957,18 +879,6 @@ func (s *DeleteEnvironmentMembershipInput) Validate() error { return nil } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *DeleteEnvironmentMembershipInput) SetEnvironmentId(v string) *DeleteEnvironmentMembershipInput { - s.EnvironmentId = &v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *DeleteEnvironmentMembershipInput) SetUserArn(v string) *DeleteEnvironmentMembershipInput { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DeleteEnvironmentMembershipResult type DeleteEnvironmentMembershipOutput struct { _ struct{} `type:"structure"` @@ -1059,36 +969,6 @@ func (s DescribeEnvironmentMembershipsInput) GoString() string { return s.String() } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *DescribeEnvironmentMembershipsInput) SetEnvironmentId(v string) *DescribeEnvironmentMembershipsInput { - s.EnvironmentId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeEnvironmentMembershipsInput) SetMaxResults(v int64) *DescribeEnvironmentMembershipsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEnvironmentMembershipsInput) SetNextToken(v string) *DescribeEnvironmentMembershipsInput { - s.NextToken = &v - return s -} - -// SetPermissions sets the Permissions field's value. -func (s *DescribeEnvironmentMembershipsInput) SetPermissions(v []Permissions) *DescribeEnvironmentMembershipsInput { - s.Permissions = v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *DescribeEnvironmentMembershipsInput) SetUserArn(v string) *DescribeEnvironmentMembershipsInput { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DescribeEnvironmentMembershipsResult type DescribeEnvironmentMembershipsOutput struct { _ struct{} `type:"structure"` @@ -1120,18 +1000,6 @@ func (s DescribeEnvironmentMembershipsOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetMemberships sets the Memberships field's value. -func (s *DescribeEnvironmentMembershipsOutput) SetMemberships(v []EnvironmentMember) *DescribeEnvironmentMembershipsOutput { - s.Memberships = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEnvironmentMembershipsOutput) SetNextToken(v string) *DescribeEnvironmentMembershipsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DescribeEnvironmentStatusRequest type DescribeEnvironmentStatusInput struct { _ struct{} `type:"structure"` @@ -1166,12 +1034,6 @@ func (s *DescribeEnvironmentStatusInput) Validate() error { return nil } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *DescribeEnvironmentStatusInput) SetEnvironmentId(v string) *DescribeEnvironmentStatusInput { - s.EnvironmentId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DescribeEnvironmentStatusResult type DescribeEnvironmentStatusOutput struct { _ struct{} `type:"structure"` @@ -1214,18 +1076,6 @@ func (s DescribeEnvironmentStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMessage sets the Message field's value. -func (s *DescribeEnvironmentStatusOutput) SetMessage(v string) *DescribeEnvironmentStatusOutput { - s.Message = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DescribeEnvironmentStatusOutput) SetStatus(v EnvironmentStatus) *DescribeEnvironmentStatusOutput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DescribeEnvironmentsRequest type DescribeEnvironmentsInput struct { _ struct{} `type:"structure"` @@ -1263,12 +1113,6 @@ func (s *DescribeEnvironmentsInput) Validate() error { return nil } -// SetEnvironmentIds sets the EnvironmentIds field's value. -func (s *DescribeEnvironmentsInput) SetEnvironmentIds(v []string) *DescribeEnvironmentsInput { - s.EnvironmentIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DescribeEnvironmentsResult type DescribeEnvironmentsOutput struct { _ struct{} `type:"structure"` @@ -1294,12 +1138,6 @@ func (s DescribeEnvironmentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEnvironments sets the Environments field's value. -func (s *DescribeEnvironmentsOutput) SetEnvironments(v []Environment) *DescribeEnvironmentsOutput { - s.Environments = v - return s -} - // Information about an AWS Cloud9 development environment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/Environment type Environment struct { @@ -1339,42 +1177,6 @@ func (s Environment) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Environment) SetArn(v string) *Environment { - s.Arn = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Environment) SetDescription(v string) *Environment { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *Environment) SetId(v string) *Environment { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *Environment) SetName(v string) *Environment { - s.Name = &v - return s -} - -// SetOwnerArn sets the OwnerArn field's value. -func (s *Environment) SetOwnerArn(v string) *Environment { - s.OwnerArn = &v - return s -} - -// SetType sets the Type field's value. -func (s *Environment) SetType(v EnvironmentType) *Environment { - s.Type = v - return s -} - // Information about an environment member for an AWS Cloud9 development environment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/EnvironmentMember type EnvironmentMember struct { @@ -1415,36 +1217,6 @@ func (s EnvironmentMember) GoString() string { return s.String() } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *EnvironmentMember) SetEnvironmentId(v string) *EnvironmentMember { - s.EnvironmentId = &v - return s -} - -// SetLastAccess sets the LastAccess field's value. -func (s *EnvironmentMember) SetLastAccess(v time.Time) *EnvironmentMember { - s.LastAccess = &v - return s -} - -// SetPermissions sets the Permissions field's value. -func (s *EnvironmentMember) SetPermissions(v Permissions) *EnvironmentMember { - s.Permissions = v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *EnvironmentMember) SetUserArn(v string) *EnvironmentMember { - s.UserArn = &v - return s -} - -// SetUserId sets the UserId field's value. -func (s *EnvironmentMember) SetUserId(v string) *EnvironmentMember { - s.UserId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/ListEnvironmentsRequest type ListEnvironmentsInput struct { _ struct{} `type:"structure"` @@ -1471,18 +1243,6 @@ func (s ListEnvironmentsInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *ListEnvironmentsInput) SetMaxResults(v int64) *ListEnvironmentsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListEnvironmentsInput) SetNextToken(v string) *ListEnvironmentsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/ListEnvironmentsResult type ListEnvironmentsOutput struct { _ struct{} `type:"structure"` @@ -1514,18 +1274,6 @@ func (s ListEnvironmentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEnvironmentIds sets the EnvironmentIds field's value. -func (s *ListEnvironmentsOutput) SetEnvironmentIds(v []string) *ListEnvironmentsOutput { - s.EnvironmentIds = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListEnvironmentsOutput) SetNextToken(v string) *ListEnvironmentsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/UpdateEnvironmentRequest type UpdateEnvironmentInput struct { _ struct{} `type:"structure"` @@ -1569,24 +1317,6 @@ func (s *UpdateEnvironmentInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *UpdateEnvironmentInput) SetDescription(v string) *UpdateEnvironmentInput { - s.Description = &v - return s -} - -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *UpdateEnvironmentInput) SetEnvironmentId(v string) *UpdateEnvironmentInput { - s.EnvironmentId = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateEnvironmentInput) SetName(v string) *UpdateEnvironmentInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/UpdateEnvironmentMembershipRequest type UpdateEnvironmentMembershipInput struct { _ struct{} `type:"structure"` @@ -1645,24 +1375,6 @@ func (s *UpdateEnvironmentMembershipInput) Validate() error { return nil } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *UpdateEnvironmentMembershipInput) SetEnvironmentId(v string) *UpdateEnvironmentMembershipInput { - s.EnvironmentId = &v - return s -} - -// SetPermissions sets the Permissions field's value. -func (s *UpdateEnvironmentMembershipInput) SetPermissions(v MemberPermissions) *UpdateEnvironmentMembershipInput { - s.Permissions = v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *UpdateEnvironmentMembershipInput) SetUserArn(v string) *UpdateEnvironmentMembershipInput { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/UpdateEnvironmentMembershipResult type UpdateEnvironmentMembershipOutput struct { _ struct{} `type:"structure"` @@ -1688,12 +1400,6 @@ func (s UpdateEnvironmentMembershipOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMembership sets the Membership field's value. -func (s *UpdateEnvironmentMembershipOutput) SetMembership(v *EnvironmentMember) *UpdateEnvironmentMembershipOutput { - s.Membership = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/UpdateEnvironmentResult type UpdateEnvironmentOutput struct { _ struct{} `type:"structure"` diff --git a/service/clouddirectory/api.go b/service/clouddirectory/api.go index d0b13fc793d..50928910386 100644 --- a/service/clouddirectory/api.go +++ b/service/clouddirectory/api.go @@ -4214,30 +4214,6 @@ func (s *AddFacetToObjectInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *AddFacetToObjectInput) SetDirectoryArn(v string) *AddFacetToObjectInput { - s.DirectoryArn = &v - return s -} - -// SetObjectAttributeList sets the ObjectAttributeList field's value. -func (s *AddFacetToObjectInput) SetObjectAttributeList(v []AttributeKeyAndValue) *AddFacetToObjectInput { - s.ObjectAttributeList = v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *AddFacetToObjectInput) SetObjectReference(v *ObjectReference) *AddFacetToObjectInput { - s.ObjectReference = v - return s -} - -// SetSchemaFacet sets the SchemaFacet field's value. -func (s *AddFacetToObjectInput) SetSchemaFacet(v *SchemaFacet) *AddFacetToObjectInput { - s.SchemaFacet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/AddFacetToObjectResponse type AddFacetToObjectOutput struct { _ struct{} `type:"structure"` @@ -4305,18 +4281,6 @@ func (s *ApplySchemaInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *ApplySchemaInput) SetDirectoryArn(v string) *ApplySchemaInput { - s.DirectoryArn = &v - return s -} - -// SetPublishedSchemaArn sets the PublishedSchemaArn field's value. -func (s *ApplySchemaInput) SetPublishedSchemaArn(v string) *ApplySchemaInput { - s.PublishedSchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ApplySchemaResponse type ApplySchemaOutput struct { _ struct{} `type:"structure"` @@ -4348,18 +4312,6 @@ func (s ApplySchemaOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAppliedSchemaArn sets the AppliedSchemaArn field's value. -func (s *ApplySchemaOutput) SetAppliedSchemaArn(v string) *ApplySchemaOutput { - s.AppliedSchemaArn = &v - return s -} - -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *ApplySchemaOutput) SetDirectoryArn(v string) *ApplySchemaOutput { - s.DirectoryArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/AttachObjectRequest type AttachObjectInput struct { _ struct{} `type:"structure"` @@ -4425,30 +4377,6 @@ func (s *AttachObjectInput) Validate() error { return nil } -// SetChildReference sets the ChildReference field's value. -func (s *AttachObjectInput) SetChildReference(v *ObjectReference) *AttachObjectInput { - s.ChildReference = v - return s -} - -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *AttachObjectInput) SetDirectoryArn(v string) *AttachObjectInput { - s.DirectoryArn = &v - return s -} - -// SetLinkName sets the LinkName field's value. -func (s *AttachObjectInput) SetLinkName(v string) *AttachObjectInput { - s.LinkName = &v - return s -} - -// SetParentReference sets the ParentReference field's value. -func (s *AttachObjectInput) SetParentReference(v *ObjectReference) *AttachObjectInput { - s.ParentReference = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/AttachObjectResponse type AttachObjectOutput struct { _ struct{} `type:"structure"` @@ -4474,12 +4402,6 @@ func (s AttachObjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttachedObjectIdentifier sets the AttachedObjectIdentifier field's value. -func (s *AttachObjectOutput) SetAttachedObjectIdentifier(v string) *AttachObjectOutput { - s.AttachedObjectIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/AttachPolicyRequest type AttachPolicyInput struct { _ struct{} `type:"structure"` @@ -4527,24 +4449,6 @@ func (s *AttachPolicyInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *AttachPolicyInput) SetDirectoryArn(v string) *AttachPolicyInput { - s.DirectoryArn = &v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *AttachPolicyInput) SetObjectReference(v *ObjectReference) *AttachPolicyInput { - s.ObjectReference = v - return s -} - -// SetPolicyReference sets the PolicyReference field's value. -func (s *AttachPolicyInput) SetPolicyReference(v *ObjectReference) *AttachPolicyInput { - s.PolicyReference = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/AttachPolicyResponse type AttachPolicyOutput struct { _ struct{} `type:"structure"` @@ -4620,24 +4524,6 @@ func (s *AttachToIndexInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *AttachToIndexInput) SetDirectoryArn(v string) *AttachToIndexInput { - s.DirectoryArn = &v - return s -} - -// SetIndexReference sets the IndexReference field's value. -func (s *AttachToIndexInput) SetIndexReference(v *ObjectReference) *AttachToIndexInput { - s.IndexReference = v - return s -} - -// SetTargetReference sets the TargetReference field's value. -func (s *AttachToIndexInput) SetTargetReference(v *ObjectReference) *AttachToIndexInput { - s.TargetReference = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/AttachToIndexResponse type AttachToIndexOutput struct { _ struct{} `type:"structure"` @@ -4663,12 +4549,6 @@ func (s AttachToIndexOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttachedObjectIdentifier sets the AttachedObjectIdentifier field's value. -func (s *AttachToIndexOutput) SetAttachedObjectIdentifier(v string) *AttachToIndexOutput { - s.AttachedObjectIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/AttachTypedLinkRequest type AttachTypedLinkInput struct { _ struct{} `type:"structure"` @@ -4752,36 +4632,6 @@ func (s *AttachTypedLinkInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *AttachTypedLinkInput) SetAttributes(v []AttributeNameAndValue) *AttachTypedLinkInput { - s.Attributes = v - return s -} - -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *AttachTypedLinkInput) SetDirectoryArn(v string) *AttachTypedLinkInput { - s.DirectoryArn = &v - return s -} - -// SetSourceObjectReference sets the SourceObjectReference field's value. -func (s *AttachTypedLinkInput) SetSourceObjectReference(v *ObjectReference) *AttachTypedLinkInput { - s.SourceObjectReference = v - return s -} - -// SetTargetObjectReference sets the TargetObjectReference field's value. -func (s *AttachTypedLinkInput) SetTargetObjectReference(v *ObjectReference) *AttachTypedLinkInput { - s.TargetObjectReference = v - return s -} - -// SetTypedLinkFacet sets the TypedLinkFacet field's value. -func (s *AttachTypedLinkInput) SetTypedLinkFacet(v *TypedLinkSchemaAndFacetName) *AttachTypedLinkInput { - s.TypedLinkFacet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/AttachTypedLinkResponse type AttachTypedLinkOutput struct { _ struct{} `type:"structure"` @@ -4807,12 +4657,6 @@ func (s AttachTypedLinkOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTypedLinkSpecifier sets the TypedLinkSpecifier field's value. -func (s *AttachTypedLinkOutput) SetTypedLinkSpecifier(v *TypedLinkSpecifier) *AttachTypedLinkOutput { - s.TypedLinkSpecifier = v - return s -} - // A unique identifier for an attribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/AttributeKey type AttributeKey struct { @@ -4873,24 +4717,6 @@ func (s *AttributeKey) Validate() error { return nil } -// SetFacetName sets the FacetName field's value. -func (s *AttributeKey) SetFacetName(v string) *AttributeKey { - s.FacetName = &v - return s -} - -// SetName sets the Name field's value. -func (s *AttributeKey) SetName(v string) *AttributeKey { - s.Name = &v - return s -} - -// SetSchemaArn sets the SchemaArn field's value. -func (s *AttributeKey) SetSchemaArn(v string) *AttributeKey { - s.SchemaArn = &v - return s -} - // The combination of an attribute key and an attribute value. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/AttributeKeyAndValue type AttributeKeyAndValue struct { @@ -4940,18 +4766,6 @@ func (s *AttributeKeyAndValue) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *AttributeKeyAndValue) SetKey(v *AttributeKey) *AttributeKeyAndValue { - s.Key = v - return s -} - -// SetValue sets the Value field's value. -func (s *AttributeKeyAndValue) SetValue(v *TypedAttributeValue) *AttributeKeyAndValue { - s.Value = v - return s -} - // Identifies the attribute name and value for a typed link. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/AttributeNameAndValue type AttributeNameAndValue struct { @@ -4999,18 +4813,6 @@ func (s *AttributeNameAndValue) Validate() error { return nil } -// SetAttributeName sets the AttributeName field's value. -func (s *AttributeNameAndValue) SetAttributeName(v string) *AttributeNameAndValue { - s.AttributeName = &v - return s -} - -// SetValue sets the Value field's value. -func (s *AttributeNameAndValue) SetValue(v *TypedAttributeValue) *AttributeNameAndValue { - s.Value = v - return s -} - // Represents the output of a batch add facet to object operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchAddFacetToObject type BatchAddFacetToObject struct { @@ -5076,24 +4878,6 @@ func (s *BatchAddFacetToObject) Validate() error { return nil } -// SetObjectAttributeList sets the ObjectAttributeList field's value. -func (s *BatchAddFacetToObject) SetObjectAttributeList(v []AttributeKeyAndValue) *BatchAddFacetToObject { - s.ObjectAttributeList = v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *BatchAddFacetToObject) SetObjectReference(v *ObjectReference) *BatchAddFacetToObject { - s.ObjectReference = v - return s -} - -// SetSchemaFacet sets the SchemaFacet field's value. -func (s *BatchAddFacetToObject) SetSchemaFacet(v *SchemaFacet) *BatchAddFacetToObject { - s.SchemaFacet = v - return s -} - // The result of a batch add facet to object operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchAddFacetToObjectResponse type BatchAddFacetToObjectResponse struct { @@ -5166,24 +4950,6 @@ func (s *BatchAttachObject) Validate() error { return nil } -// SetChildReference sets the ChildReference field's value. -func (s *BatchAttachObject) SetChildReference(v *ObjectReference) *BatchAttachObject { - s.ChildReference = v - return s -} - -// SetLinkName sets the LinkName field's value. -func (s *BatchAttachObject) SetLinkName(v string) *BatchAttachObject { - s.LinkName = &v - return s -} - -// SetParentReference sets the ParentReference field's value. -func (s *BatchAttachObject) SetParentReference(v *ObjectReference) *BatchAttachObject { - s.ParentReference = v - return s -} - // Represents the output batch AttachObject response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchAttachObjectResponse type BatchAttachObjectResponse struct { @@ -5203,12 +4969,6 @@ func (s BatchAttachObjectResponse) GoString() string { return s.String() } -// SetAttachedObjectIdentifier sets the AttachedObjectIdentifier field's value. -func (s *BatchAttachObjectResponse) SetAttachedObjectIdentifier(v string) *BatchAttachObjectResponse { - s.AttachedObjectIdentifier = &v - return s -} - // Attaches a policy object to a regular object inside a BatchRead operation. For // more information, see AttachPolicy and BatchReadRequest$Operations. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchAttachPolicy @@ -5254,18 +5014,6 @@ func (s *BatchAttachPolicy) Validate() error { return nil } -// SetObjectReference sets the ObjectReference field's value. -func (s *BatchAttachPolicy) SetObjectReference(v *ObjectReference) *BatchAttachPolicy { - s.ObjectReference = v - return s -} - -// SetPolicyReference sets the PolicyReference field's value. -func (s *BatchAttachPolicy) SetPolicyReference(v *ObjectReference) *BatchAttachPolicy { - s.PolicyReference = v - return s -} - // Represents the output of an AttachPolicy response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchAttachPolicyResponse type BatchAttachPolicyResponse struct { @@ -5327,18 +5075,6 @@ func (s *BatchAttachToIndex) Validate() error { return nil } -// SetIndexReference sets the IndexReference field's value. -func (s *BatchAttachToIndex) SetIndexReference(v *ObjectReference) *BatchAttachToIndex { - s.IndexReference = v - return s -} - -// SetTargetReference sets the TargetReference field's value. -func (s *BatchAttachToIndex) SetTargetReference(v *ObjectReference) *BatchAttachToIndex { - s.TargetReference = v - return s -} - // Represents the output of a AttachToIndex response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchAttachToIndexResponse type BatchAttachToIndexResponse struct { @@ -5358,12 +5094,6 @@ func (s BatchAttachToIndexResponse) GoString() string { return s.String() } -// SetAttachedObjectIdentifier sets the AttachedObjectIdentifier field's value. -func (s *BatchAttachToIndexResponse) SetAttachedObjectIdentifier(v string) *BatchAttachToIndexResponse { - s.AttachedObjectIdentifier = &v - return s -} - // Attaches a typed link to a specified source and target object inside a BatchRead // operation. For more information, see AttachTypedLink and BatchReadRequest$Operations. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchAttachTypedLink @@ -5439,30 +5169,6 @@ func (s *BatchAttachTypedLink) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *BatchAttachTypedLink) SetAttributes(v []AttributeNameAndValue) *BatchAttachTypedLink { - s.Attributes = v - return s -} - -// SetSourceObjectReference sets the SourceObjectReference field's value. -func (s *BatchAttachTypedLink) SetSourceObjectReference(v *ObjectReference) *BatchAttachTypedLink { - s.SourceObjectReference = v - return s -} - -// SetTargetObjectReference sets the TargetObjectReference field's value. -func (s *BatchAttachTypedLink) SetTargetObjectReference(v *ObjectReference) *BatchAttachTypedLink { - s.TargetObjectReference = v - return s -} - -// SetTypedLinkFacet sets the TypedLinkFacet field's value. -func (s *BatchAttachTypedLink) SetTypedLinkFacet(v *TypedLinkSchemaAndFacetName) *BatchAttachTypedLink { - s.TypedLinkFacet = v - return s -} - // Represents the output of a AttachTypedLink response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchAttachTypedLinkResponse type BatchAttachTypedLinkResponse struct { @@ -5482,12 +5188,6 @@ func (s BatchAttachTypedLinkResponse) GoString() string { return s.String() } -// SetTypedLinkSpecifier sets the TypedLinkSpecifier field's value. -func (s *BatchAttachTypedLinkResponse) SetTypedLinkSpecifier(v *TypedLinkSpecifier) *BatchAttachTypedLinkResponse { - s.TypedLinkSpecifier = v - return s -} - // Creates an index object inside of a BatchRead operation. For more information, // see CreateIndex and BatchReadRequest$Operations. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchCreateIndex @@ -5555,36 +5255,6 @@ func (s *BatchCreateIndex) Validate() error { return nil } -// SetBatchReferenceName sets the BatchReferenceName field's value. -func (s *BatchCreateIndex) SetBatchReferenceName(v string) *BatchCreateIndex { - s.BatchReferenceName = &v - return s -} - -// SetIsUnique sets the IsUnique field's value. -func (s *BatchCreateIndex) SetIsUnique(v bool) *BatchCreateIndex { - s.IsUnique = &v - return s -} - -// SetLinkName sets the LinkName field's value. -func (s *BatchCreateIndex) SetLinkName(v string) *BatchCreateIndex { - s.LinkName = &v - return s -} - -// SetOrderedIndexedAttributeList sets the OrderedIndexedAttributeList field's value. -func (s *BatchCreateIndex) SetOrderedIndexedAttributeList(v []AttributeKey) *BatchCreateIndex { - s.OrderedIndexedAttributeList = v - return s -} - -// SetParentReference sets the ParentReference field's value. -func (s *BatchCreateIndex) SetParentReference(v *ObjectReference) *BatchCreateIndex { - s.ParentReference = v - return s -} - // Represents the output of a CreateIndex response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchCreateIndexResponse type BatchCreateIndexResponse struct { @@ -5604,12 +5274,6 @@ func (s BatchCreateIndexResponse) GoString() string { return s.String() } -// SetObjectIdentifier sets the ObjectIdentifier field's value. -func (s *BatchCreateIndexResponse) SetObjectIdentifier(v string) *BatchCreateIndexResponse { - s.ObjectIdentifier = &v - return s -} - // Represents the output of a CreateObject operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchCreateObject type BatchCreateObject struct { @@ -5701,36 +5365,6 @@ func (s *BatchCreateObject) Validate() error { return nil } -// SetBatchReferenceName sets the BatchReferenceName field's value. -func (s *BatchCreateObject) SetBatchReferenceName(v string) *BatchCreateObject { - s.BatchReferenceName = &v - return s -} - -// SetLinkName sets the LinkName field's value. -func (s *BatchCreateObject) SetLinkName(v string) *BatchCreateObject { - s.LinkName = &v - return s -} - -// SetObjectAttributeList sets the ObjectAttributeList field's value. -func (s *BatchCreateObject) SetObjectAttributeList(v []AttributeKeyAndValue) *BatchCreateObject { - s.ObjectAttributeList = v - return s -} - -// SetParentReference sets the ParentReference field's value. -func (s *BatchCreateObject) SetParentReference(v *ObjectReference) *BatchCreateObject { - s.ParentReference = v - return s -} - -// SetSchemaFacet sets the SchemaFacet field's value. -func (s *BatchCreateObject) SetSchemaFacet(v []SchemaFacet) *BatchCreateObject { - s.SchemaFacet = v - return s -} - // Represents the output of a CreateObject response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchCreateObjectResponse type BatchCreateObjectResponse struct { @@ -5750,12 +5384,6 @@ func (s BatchCreateObjectResponse) GoString() string { return s.String() } -// SetObjectIdentifier sets the ObjectIdentifier field's value. -func (s *BatchCreateObjectResponse) SetObjectIdentifier(v string) *BatchCreateObjectResponse { - s.ObjectIdentifier = &v - return s -} - // Represents the output of a DeleteObject operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchDeleteObject type BatchDeleteObject struct { @@ -5791,12 +5419,6 @@ func (s *BatchDeleteObject) Validate() error { return nil } -// SetObjectReference sets the ObjectReference field's value. -func (s *BatchDeleteObject) SetObjectReference(v *ObjectReference) *BatchDeleteObject { - s.ObjectReference = v - return s -} - // Represents the output of a DeleteObject response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchDeleteObjectResponse type BatchDeleteObjectResponse struct { @@ -5858,18 +5480,6 @@ func (s *BatchDetachFromIndex) Validate() error { return nil } -// SetIndexReference sets the IndexReference field's value. -func (s *BatchDetachFromIndex) SetIndexReference(v *ObjectReference) *BatchDetachFromIndex { - s.IndexReference = v - return s -} - -// SetTargetReference sets the TargetReference field's value. -func (s *BatchDetachFromIndex) SetTargetReference(v *ObjectReference) *BatchDetachFromIndex { - s.TargetReference = v - return s -} - // Represents the output of a DetachFromIndex response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchDetachFromIndexResponse type BatchDetachFromIndexResponse struct { @@ -5889,12 +5499,6 @@ func (s BatchDetachFromIndexResponse) GoString() string { return s.String() } -// SetDetachedObjectIdentifier sets the DetachedObjectIdentifier field's value. -func (s *BatchDetachFromIndexResponse) SetDetachedObjectIdentifier(v string) *BatchDetachFromIndexResponse { - s.DetachedObjectIdentifier = &v - return s -} - // Represents the output of a DetachObject operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchDetachObject type BatchDetachObject struct { @@ -5952,24 +5556,6 @@ func (s *BatchDetachObject) Validate() error { return nil } -// SetBatchReferenceName sets the BatchReferenceName field's value. -func (s *BatchDetachObject) SetBatchReferenceName(v string) *BatchDetachObject { - s.BatchReferenceName = &v - return s -} - -// SetLinkName sets the LinkName field's value. -func (s *BatchDetachObject) SetLinkName(v string) *BatchDetachObject { - s.LinkName = &v - return s -} - -// SetParentReference sets the ParentReference field's value. -func (s *BatchDetachObject) SetParentReference(v *ObjectReference) *BatchDetachObject { - s.ParentReference = v - return s -} - // Represents the output of a DetachObject response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchDetachObjectResponse type BatchDetachObjectResponse struct { @@ -5989,12 +5575,6 @@ func (s BatchDetachObjectResponse) GoString() string { return s.String() } -// SetDetachedObjectIdentifier sets the DetachedObjectIdentifier field's value. -func (s *BatchDetachObjectResponse) SetDetachedObjectIdentifier(v string) *BatchDetachObjectResponse { - s.DetachedObjectIdentifier = &v - return s -} - // Detaches the specified policy from the specified directory inside a BatchWrite // operation. For more information, see DetachPolicy and BatchWriteRequest$Operations. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchDetachPolicy @@ -6040,18 +5620,6 @@ func (s *BatchDetachPolicy) Validate() error { return nil } -// SetObjectReference sets the ObjectReference field's value. -func (s *BatchDetachPolicy) SetObjectReference(v *ObjectReference) *BatchDetachPolicy { - s.ObjectReference = v - return s -} - -// SetPolicyReference sets the PolicyReference field's value. -func (s *BatchDetachPolicy) SetPolicyReference(v *ObjectReference) *BatchDetachPolicy { - s.PolicyReference = v - return s -} - // Represents the output of a DetachPolicy response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchDetachPolicyResponse type BatchDetachPolicyResponse struct { @@ -6109,12 +5677,6 @@ func (s *BatchDetachTypedLink) Validate() error { return nil } -// SetTypedLinkSpecifier sets the TypedLinkSpecifier field's value. -func (s *BatchDetachTypedLink) SetTypedLinkSpecifier(v *TypedLinkSpecifier) *BatchDetachTypedLink { - s.TypedLinkSpecifier = v - return s -} - // Represents the output of a DetachTypedLink response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchDetachTypedLinkResponse type BatchDetachTypedLinkResponse struct { @@ -6167,12 +5729,6 @@ func (s *BatchGetObjectInformation) Validate() error { return nil } -// SetObjectReference sets the ObjectReference field's value. -func (s *BatchGetObjectInformation) SetObjectReference(v *ObjectReference) *BatchGetObjectInformation { - s.ObjectReference = v - return s -} - // Represents the output of a GetObjectInformation response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchGetObjectInformationResponse type BatchGetObjectInformationResponse struct { @@ -6195,18 +5751,6 @@ func (s BatchGetObjectInformationResponse) GoString() string { return s.String() } -// SetObjectIdentifier sets the ObjectIdentifier field's value. -func (s *BatchGetObjectInformationResponse) SetObjectIdentifier(v string) *BatchGetObjectInformationResponse { - s.ObjectIdentifier = &v - return s -} - -// SetSchemaFacets sets the SchemaFacets field's value. -func (s *BatchGetObjectInformationResponse) SetSchemaFacets(v []SchemaFacet) *BatchGetObjectInformationResponse { - s.SchemaFacets = v - return s -} - // Lists indices attached to an object inside a BatchRead operation. For more // information, see ListAttachedIndices and BatchReadRequest$Operations. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchListAttachedIndices @@ -6252,24 +5796,6 @@ func (s *BatchListAttachedIndices) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *BatchListAttachedIndices) SetMaxResults(v int64) *BatchListAttachedIndices { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *BatchListAttachedIndices) SetNextToken(v string) *BatchListAttachedIndices { - s.NextToken = &v - return s -} - -// SetTargetReference sets the TargetReference field's value. -func (s *BatchListAttachedIndices) SetTargetReference(v *ObjectReference) *BatchListAttachedIndices { - s.TargetReference = v - return s -} - // Represents the output of a ListAttachedIndices response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchListAttachedIndicesResponse type BatchListAttachedIndicesResponse struct { @@ -6292,18 +5818,6 @@ func (s BatchListAttachedIndicesResponse) GoString() string { return s.String() } -// SetIndexAttachments sets the IndexAttachments field's value. -func (s *BatchListAttachedIndicesResponse) SetIndexAttachments(v []IndexAttachment) *BatchListAttachedIndicesResponse { - s.IndexAttachments = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *BatchListAttachedIndicesResponse) SetNextToken(v string) *BatchListAttachedIndicesResponse { - s.NextToken = &v - return s -} - // Returns a paginated list of all the incoming TypedLinkSpecifier information // for an object inside a BatchRead operation. For more information, see ListIncomingTypedLinks // and BatchReadRequest$Operations. @@ -6372,36 +5886,6 @@ func (s *BatchListIncomingTypedLinks) Validate() error { return nil } -// SetFilterAttributeRanges sets the FilterAttributeRanges field's value. -func (s *BatchListIncomingTypedLinks) SetFilterAttributeRanges(v []TypedLinkAttributeRange) *BatchListIncomingTypedLinks { - s.FilterAttributeRanges = v - return s -} - -// SetFilterTypedLink sets the FilterTypedLink field's value. -func (s *BatchListIncomingTypedLinks) SetFilterTypedLink(v *TypedLinkSchemaAndFacetName) *BatchListIncomingTypedLinks { - s.FilterTypedLink = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *BatchListIncomingTypedLinks) SetMaxResults(v int64) *BatchListIncomingTypedLinks { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *BatchListIncomingTypedLinks) SetNextToken(v string) *BatchListIncomingTypedLinks { - s.NextToken = &v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *BatchListIncomingTypedLinks) SetObjectReference(v *ObjectReference) *BatchListIncomingTypedLinks { - s.ObjectReference = v - return s -} - // Represents the output of a ListIncomingTypedLinks response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchListIncomingTypedLinksResponse type BatchListIncomingTypedLinksResponse struct { @@ -6424,18 +5908,6 @@ func (s BatchListIncomingTypedLinksResponse) GoString() string { return s.String() } -// SetLinkSpecifiers sets the LinkSpecifiers field's value. -func (s *BatchListIncomingTypedLinksResponse) SetLinkSpecifiers(v []TypedLinkSpecifier) *BatchListIncomingTypedLinksResponse { - s.LinkSpecifiers = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *BatchListIncomingTypedLinksResponse) SetNextToken(v string) *BatchListIncomingTypedLinksResponse { - s.NextToken = &v - return s -} - // Lists objects attached to the specified index inside a BatchRead operation. // For more information, see ListIndex and BatchReadRequest$Operations. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchListIndex @@ -6491,30 +5963,6 @@ func (s *BatchListIndex) Validate() error { return nil } -// SetIndexReference sets the IndexReference field's value. -func (s *BatchListIndex) SetIndexReference(v *ObjectReference) *BatchListIndex { - s.IndexReference = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *BatchListIndex) SetMaxResults(v int64) *BatchListIndex { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *BatchListIndex) SetNextToken(v string) *BatchListIndex { - s.NextToken = &v - return s -} - -// SetRangesOnIndexedValues sets the RangesOnIndexedValues field's value. -func (s *BatchListIndex) SetRangesOnIndexedValues(v []ObjectAttributeRange) *BatchListIndex { - s.RangesOnIndexedValues = v - return s -} - // Represents the output of a ListIndex response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchListIndexResponse type BatchListIndexResponse struct { @@ -6537,18 +5985,6 @@ func (s BatchListIndexResponse) GoString() string { return s.String() } -// SetIndexAttachments sets the IndexAttachments field's value. -func (s *BatchListIndexResponse) SetIndexAttachments(v []IndexAttachment) *BatchListIndexResponse { - s.IndexAttachments = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *BatchListIndexResponse) SetNextToken(v string) *BatchListIndexResponse { - s.NextToken = &v - return s -} - // Represents the output of a ListObjectAttributes operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchListObjectAttributes type BatchListObjectAttributes struct { @@ -6603,30 +6039,6 @@ func (s *BatchListObjectAttributes) Validate() error { return nil } -// SetFacetFilter sets the FacetFilter field's value. -func (s *BatchListObjectAttributes) SetFacetFilter(v *SchemaFacet) *BatchListObjectAttributes { - s.FacetFilter = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *BatchListObjectAttributes) SetMaxResults(v int64) *BatchListObjectAttributes { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *BatchListObjectAttributes) SetNextToken(v string) *BatchListObjectAttributes { - s.NextToken = &v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *BatchListObjectAttributes) SetObjectReference(v *ObjectReference) *BatchListObjectAttributes { - s.ObjectReference = v - return s -} - // Represents the output of a ListObjectAttributes response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchListObjectAttributesResponse type BatchListObjectAttributesResponse struct { @@ -6650,18 +6062,6 @@ func (s BatchListObjectAttributesResponse) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *BatchListObjectAttributesResponse) SetAttributes(v []AttributeKeyAndValue) *BatchListObjectAttributesResponse { - s.Attributes = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *BatchListObjectAttributesResponse) SetNextToken(v string) *BatchListObjectAttributesResponse { - s.NextToken = &v - return s -} - // Represents the output of a ListObjectChildren operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchListObjectChildren type BatchListObjectChildren struct { @@ -6707,24 +6107,6 @@ func (s *BatchListObjectChildren) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *BatchListObjectChildren) SetMaxResults(v int64) *BatchListObjectChildren { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *BatchListObjectChildren) SetNextToken(v string) *BatchListObjectChildren { - s.NextToken = &v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *BatchListObjectChildren) SetObjectReference(v *ObjectReference) *BatchListObjectChildren { - s.ObjectReference = v - return s -} - // Represents the output of a ListObjectChildren response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchListObjectChildrenResponse type BatchListObjectChildrenResponse struct { @@ -6748,18 +6130,6 @@ func (s BatchListObjectChildrenResponse) GoString() string { return s.String() } -// SetChildren sets the Children field's value. -func (s *BatchListObjectChildrenResponse) SetChildren(v map[string]string) *BatchListObjectChildrenResponse { - s.Children = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *BatchListObjectChildrenResponse) SetNextToken(v string) *BatchListObjectChildrenResponse { - s.NextToken = &v - return s -} - // Retrieves all available parent paths for any object type such as node, leaf // node, policy node, and index node objects inside a BatchRead operation. For // more information, see ListObjectParentPaths and BatchReadRequest$Operations. @@ -6806,24 +6176,6 @@ func (s *BatchListObjectParentPaths) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *BatchListObjectParentPaths) SetMaxResults(v int64) *BatchListObjectParentPaths { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *BatchListObjectParentPaths) SetNextToken(v string) *BatchListObjectParentPaths { - s.NextToken = &v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *BatchListObjectParentPaths) SetObjectReference(v *ObjectReference) *BatchListObjectParentPaths { - s.ObjectReference = v - return s -} - // Represents the output of a ListObjectParentPaths response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchListObjectParentPathsResponse type BatchListObjectParentPathsResponse struct { @@ -6846,18 +6198,6 @@ func (s BatchListObjectParentPathsResponse) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *BatchListObjectParentPathsResponse) SetNextToken(v string) *BatchListObjectParentPathsResponse { - s.NextToken = &v - return s -} - -// SetPathToObjectIdentifiersList sets the PathToObjectIdentifiersList field's value. -func (s *BatchListObjectParentPathsResponse) SetPathToObjectIdentifiersList(v []PathToObjectIdentifiers) *BatchListObjectParentPathsResponse { - s.PathToObjectIdentifiersList = v - return s -} - // Returns policies attached to an object in pagination fashion inside a BatchRead // operation. For more information, see ListObjectPolicies and BatchReadRequest$Operations. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchListObjectPolicies @@ -6903,24 +6243,6 @@ func (s *BatchListObjectPolicies) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *BatchListObjectPolicies) SetMaxResults(v int64) *BatchListObjectPolicies { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *BatchListObjectPolicies) SetNextToken(v string) *BatchListObjectPolicies { - s.NextToken = &v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *BatchListObjectPolicies) SetObjectReference(v *ObjectReference) *BatchListObjectPolicies { - s.ObjectReference = v - return s -} - // Represents the output of a ListObjectPolicies response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchListObjectPoliciesResponse type BatchListObjectPoliciesResponse struct { @@ -6943,18 +6265,6 @@ func (s BatchListObjectPoliciesResponse) GoString() string { return s.String() } -// SetAttachedPolicyIds sets the AttachedPolicyIds field's value. -func (s *BatchListObjectPoliciesResponse) SetAttachedPolicyIds(v []string) *BatchListObjectPoliciesResponse { - s.AttachedPolicyIds = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *BatchListObjectPoliciesResponse) SetNextToken(v string) *BatchListObjectPoliciesResponse { - s.NextToken = &v - return s -} - // Returns a paginated list of all the outgoing TypedLinkSpecifier information // for an object inside a BatchRead operation. For more information, see ListOutgoingTypedLinks // and BatchReadRequest$Operations. @@ -7023,36 +6333,6 @@ func (s *BatchListOutgoingTypedLinks) Validate() error { return nil } -// SetFilterAttributeRanges sets the FilterAttributeRanges field's value. -func (s *BatchListOutgoingTypedLinks) SetFilterAttributeRanges(v []TypedLinkAttributeRange) *BatchListOutgoingTypedLinks { - s.FilterAttributeRanges = v - return s -} - -// SetFilterTypedLink sets the FilterTypedLink field's value. -func (s *BatchListOutgoingTypedLinks) SetFilterTypedLink(v *TypedLinkSchemaAndFacetName) *BatchListOutgoingTypedLinks { - s.FilterTypedLink = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *BatchListOutgoingTypedLinks) SetMaxResults(v int64) *BatchListOutgoingTypedLinks { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *BatchListOutgoingTypedLinks) SetNextToken(v string) *BatchListOutgoingTypedLinks { - s.NextToken = &v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *BatchListOutgoingTypedLinks) SetObjectReference(v *ObjectReference) *BatchListOutgoingTypedLinks { - s.ObjectReference = v - return s -} - // Represents the output of a ListOutgoingTypedLinks response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchListOutgoingTypedLinksResponse type BatchListOutgoingTypedLinksResponse struct { @@ -7075,18 +6355,6 @@ func (s BatchListOutgoingTypedLinksResponse) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *BatchListOutgoingTypedLinksResponse) SetNextToken(v string) *BatchListOutgoingTypedLinksResponse { - s.NextToken = &v - return s -} - -// SetTypedLinkSpecifiers sets the TypedLinkSpecifiers field's value. -func (s *BatchListOutgoingTypedLinksResponse) SetTypedLinkSpecifiers(v []TypedLinkSpecifier) *BatchListOutgoingTypedLinksResponse { - s.TypedLinkSpecifiers = v - return s -} - // Returns all of the ObjectIdentifiers to which a given policy is attached // inside a BatchRead operation. For more information, see ListPolicyAttachments // and BatchReadRequest$Operations. @@ -7133,24 +6401,6 @@ func (s *BatchListPolicyAttachments) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *BatchListPolicyAttachments) SetMaxResults(v int64) *BatchListPolicyAttachments { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *BatchListPolicyAttachments) SetNextToken(v string) *BatchListPolicyAttachments { - s.NextToken = &v - return s -} - -// SetPolicyReference sets the PolicyReference field's value. -func (s *BatchListPolicyAttachments) SetPolicyReference(v *ObjectReference) *BatchListPolicyAttachments { - s.PolicyReference = v - return s -} - // Represents the output of a ListPolicyAttachments response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchListPolicyAttachmentsResponse type BatchListPolicyAttachmentsResponse struct { @@ -7173,18 +6423,6 @@ func (s BatchListPolicyAttachmentsResponse) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *BatchListPolicyAttachmentsResponse) SetNextToken(v string) *BatchListPolicyAttachmentsResponse { - s.NextToken = &v - return s -} - -// SetObjectIdentifiers sets the ObjectIdentifiers field's value. -func (s *BatchListPolicyAttachmentsResponse) SetObjectIdentifiers(v []string) *BatchListPolicyAttachmentsResponse { - s.ObjectIdentifiers = v - return s -} - // Lists all policies from the root of the Directory to the object specified // inside a BatchRead operation. For more information, see LookupPolicy and // BatchReadRequest$Operations. @@ -7231,24 +6469,6 @@ func (s *BatchLookupPolicy) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *BatchLookupPolicy) SetMaxResults(v int64) *BatchLookupPolicy { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *BatchLookupPolicy) SetNextToken(v string) *BatchLookupPolicy { - s.NextToken = &v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *BatchLookupPolicy) SetObjectReference(v *ObjectReference) *BatchLookupPolicy { - s.ObjectReference = v - return s -} - // Represents the output of a LookupPolicy response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchLookupPolicyResponse type BatchLookupPolicyResponse struct { @@ -7272,18 +6492,6 @@ func (s BatchLookupPolicyResponse) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *BatchLookupPolicyResponse) SetNextToken(v string) *BatchLookupPolicyResponse { - s.NextToken = &v - return s -} - -// SetPolicyToPathList sets the PolicyToPathList field's value. -func (s *BatchLookupPolicyResponse) SetPolicyToPathList(v []PolicyToPath) *BatchLookupPolicyResponse { - s.PolicyToPathList = v - return s -} - // The batch read exception structure, which contains the exception type and // message. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchReadException @@ -7307,18 +6515,6 @@ func (s BatchReadException) GoString() string { return s.String() } -// SetMessage sets the Message field's value. -func (s *BatchReadException) SetMessage(v string) *BatchReadException { - s.Message = &v - return s -} - -// SetType sets the Type field's value. -func (s *BatchReadException) SetType(v BatchReadExceptionType) *BatchReadException { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchReadRequest type BatchReadInput struct { _ struct{} `type:"structure"` @@ -7374,24 +6570,6 @@ func (s *BatchReadInput) Validate() error { return nil } -// SetConsistencyLevel sets the ConsistencyLevel field's value. -func (s *BatchReadInput) SetConsistencyLevel(v ConsistencyLevel) *BatchReadInput { - s.ConsistencyLevel = v - return s -} - -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *BatchReadInput) SetDirectoryArn(v string) *BatchReadInput { - s.DirectoryArn = &v - return s -} - -// SetOperations sets the Operations field's value. -func (s *BatchReadInput) SetOperations(v []BatchReadOperation) *BatchReadInput { - s.Operations = v - return s -} - // Represents the output of a BatchRead operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchReadOperation type BatchReadOperation struct { @@ -7519,72 +6697,6 @@ func (s *BatchReadOperation) Validate() error { return nil } -// SetGetObjectInformation sets the GetObjectInformation field's value. -func (s *BatchReadOperation) SetGetObjectInformation(v *BatchGetObjectInformation) *BatchReadOperation { - s.GetObjectInformation = v - return s -} - -// SetListAttachedIndices sets the ListAttachedIndices field's value. -func (s *BatchReadOperation) SetListAttachedIndices(v *BatchListAttachedIndices) *BatchReadOperation { - s.ListAttachedIndices = v - return s -} - -// SetListIncomingTypedLinks sets the ListIncomingTypedLinks field's value. -func (s *BatchReadOperation) SetListIncomingTypedLinks(v *BatchListIncomingTypedLinks) *BatchReadOperation { - s.ListIncomingTypedLinks = v - return s -} - -// SetListIndex sets the ListIndex field's value. -func (s *BatchReadOperation) SetListIndex(v *BatchListIndex) *BatchReadOperation { - s.ListIndex = v - return s -} - -// SetListObjectAttributes sets the ListObjectAttributes field's value. -func (s *BatchReadOperation) SetListObjectAttributes(v *BatchListObjectAttributes) *BatchReadOperation { - s.ListObjectAttributes = v - return s -} - -// SetListObjectChildren sets the ListObjectChildren field's value. -func (s *BatchReadOperation) SetListObjectChildren(v *BatchListObjectChildren) *BatchReadOperation { - s.ListObjectChildren = v - return s -} - -// SetListObjectParentPaths sets the ListObjectParentPaths field's value. -func (s *BatchReadOperation) SetListObjectParentPaths(v *BatchListObjectParentPaths) *BatchReadOperation { - s.ListObjectParentPaths = v - return s -} - -// SetListObjectPolicies sets the ListObjectPolicies field's value. -func (s *BatchReadOperation) SetListObjectPolicies(v *BatchListObjectPolicies) *BatchReadOperation { - s.ListObjectPolicies = v - return s -} - -// SetListOutgoingTypedLinks sets the ListOutgoingTypedLinks field's value. -func (s *BatchReadOperation) SetListOutgoingTypedLinks(v *BatchListOutgoingTypedLinks) *BatchReadOperation { - s.ListOutgoingTypedLinks = v - return s -} - -// SetListPolicyAttachments sets the ListPolicyAttachments field's value. -func (s *BatchReadOperation) SetListPolicyAttachments(v *BatchListPolicyAttachments) *BatchReadOperation { - s.ListPolicyAttachments = v - return s -} - -// SetLookupPolicy sets the LookupPolicy field's value. -func (s *BatchReadOperation) SetLookupPolicy(v *BatchLookupPolicy) *BatchReadOperation { - s.LookupPolicy = v - return s -} - // Represents the output of a BatchRead response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchReadOperationResponse type BatchReadOperationResponse struct { @@ -7607,18 +6719,6 @@ func (s BatchReadOperationResponse) GoString() string { return s.String() } -// SetExceptionResponse sets the ExceptionResponse field's value. -func (s *BatchReadOperationResponse) SetExceptionResponse(v *BatchReadException) *BatchReadOperationResponse { - s.ExceptionResponse = v - return s -} - -// SetSuccessfulResponse sets the SuccessfulResponse field's value. -func (s *BatchReadOperationResponse) SetSuccessfulResponse(v *BatchReadSuccessfulResponse) *BatchReadOperationResponse { - s.SuccessfulResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchReadResponse type BatchReadOutput struct { _ struct{} `type:"structure"` @@ -7644,12 +6744,6 @@ func (s BatchReadOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResponses sets the Responses field's value. -func (s *BatchReadOutput) SetResponses(v []BatchReadOperationResponse) *BatchReadOutput { - s.Responses = v - return s -} - // Represents the output of a BatchRead success response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchReadSuccessfulResponse type BatchReadSuccessfulResponse struct { @@ -7712,72 +6806,6 @@ func (s BatchReadSuccessfulResponse) GoString() string { return s.String() } -// SetGetObjectInformation sets the GetObjectInformation field's value. -func (s *BatchReadSuccessfulResponse) SetGetObjectInformation(v *BatchGetObjectInformationResponse) *BatchReadSuccessfulResponse { - s.GetObjectInformation = v - return s -} - -// SetListAttachedIndices sets the ListAttachedIndices field's value. -func (s *BatchReadSuccessfulResponse) SetListAttachedIndices(v *BatchListAttachedIndicesResponse) *BatchReadSuccessfulResponse { - s.ListAttachedIndices = v - return s -} - -// SetListIncomingTypedLinks sets the ListIncomingTypedLinks field's value. -func (s *BatchReadSuccessfulResponse) SetListIncomingTypedLinks(v *BatchListIncomingTypedLinksResponse) *BatchReadSuccessfulResponse { - s.ListIncomingTypedLinks = v - return s -} - -// SetListIndex sets the ListIndex field's value. -func (s *BatchReadSuccessfulResponse) SetListIndex(v *BatchListIndexResponse) *BatchReadSuccessfulResponse { - s.ListIndex = v - return s -} - -// SetListObjectAttributes sets the ListObjectAttributes field's value. -func (s *BatchReadSuccessfulResponse) SetListObjectAttributes(v *BatchListObjectAttributesResponse) *BatchReadSuccessfulResponse { - s.ListObjectAttributes = v - return s -} - -// SetListObjectChildren sets the ListObjectChildren field's value. -func (s *BatchReadSuccessfulResponse) SetListObjectChildren(v *BatchListObjectChildrenResponse) *BatchReadSuccessfulResponse { - s.ListObjectChildren = v - return s -} - -// SetListObjectParentPaths sets the ListObjectParentPaths field's value. -func (s *BatchReadSuccessfulResponse) SetListObjectParentPaths(v *BatchListObjectParentPathsResponse) *BatchReadSuccessfulResponse { - s.ListObjectParentPaths = v - return s -} - -// SetListObjectPolicies sets the ListObjectPolicies field's value. -func (s *BatchReadSuccessfulResponse) SetListObjectPolicies(v *BatchListObjectPoliciesResponse) *BatchReadSuccessfulResponse { - s.ListObjectPolicies = v - return s -} - -// SetListOutgoingTypedLinks sets the ListOutgoingTypedLinks field's value. -func (s *BatchReadSuccessfulResponse) SetListOutgoingTypedLinks(v *BatchListOutgoingTypedLinksResponse) *BatchReadSuccessfulResponse { - s.ListOutgoingTypedLinks = v - return s -} - -// SetListPolicyAttachments sets the ListPolicyAttachments field's value. -func (s *BatchReadSuccessfulResponse) SetListPolicyAttachments(v *BatchListPolicyAttachmentsResponse) *BatchReadSuccessfulResponse { - s.ListPolicyAttachments = v - return s -} - -// SetLookupPolicy sets the LookupPolicy field's value. -func (s *BatchReadSuccessfulResponse) SetLookupPolicy(v *BatchLookupPolicyResponse) *BatchReadSuccessfulResponse { - s.LookupPolicy = v - return s -} - // A batch operation to remove a facet from an object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchRemoveFacetFromObject type BatchRemoveFacetFromObject struct { @@ -7827,18 +6855,6 @@ func (s *BatchRemoveFacetFromObject) Validate() error { return nil } -// SetObjectReference sets the ObjectReference field's value. -func (s *BatchRemoveFacetFromObject) SetObjectReference(v *ObjectReference) *BatchRemoveFacetFromObject { - s.ObjectReference = v - return s -} - -// SetSchemaFacet sets the SchemaFacet field's value. -func (s *BatchRemoveFacetFromObject) SetSchemaFacet(v *SchemaFacet) *BatchRemoveFacetFromObject { - s.SchemaFacet = v - return s -} - // An empty result that represents success. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchRemoveFacetFromObjectResponse type BatchRemoveFacetFromObjectResponse struct { @@ -7906,18 +6922,6 @@ func (s *BatchUpdateObjectAttributes) Validate() error { return nil } -// SetAttributeUpdates sets the AttributeUpdates field's value. -func (s *BatchUpdateObjectAttributes) SetAttributeUpdates(v []ObjectAttributeUpdate) *BatchUpdateObjectAttributes { - s.AttributeUpdates = v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *BatchUpdateObjectAttributes) SetObjectReference(v *ObjectReference) *BatchUpdateObjectAttributes { - s.ObjectReference = v - return s -} - // Represents the output of a BatchUpdate response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchUpdateObjectAttributesResponse type BatchUpdateObjectAttributesResponse struct { @@ -7937,12 +6941,6 @@ func (s BatchUpdateObjectAttributesResponse) GoString() string { return s.String() } -// SetObjectIdentifier sets the ObjectIdentifier field's value. -func (s *BatchUpdateObjectAttributesResponse) SetObjectIdentifier(v string) *BatchUpdateObjectAttributesResponse { - s.ObjectIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchWriteRequest type BatchWriteInput struct { _ struct{} `type:"structure"` @@ -7994,18 +6992,6 @@ func (s *BatchWriteInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *BatchWriteInput) SetDirectoryArn(v string) *BatchWriteInput { - s.DirectoryArn = &v - return s -} - -// SetOperations sets the Operations field's value. -func (s *BatchWriteInput) SetOperations(v []BatchWriteOperation) *BatchWriteInput { - s.Operations = v - return s -} - // Represents the output of a BatchWrite operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchWriteOperation type BatchWriteOperation struct { @@ -8148,90 +7134,6 @@ func (s *BatchWriteOperation) Validate() error { return nil } -// SetAddFacetToObject sets the AddFacetToObject field's value. -func (s *BatchWriteOperation) SetAddFacetToObject(v *BatchAddFacetToObject) *BatchWriteOperation { - s.AddFacetToObject = v - return s -} - -// SetAttachObject sets the AttachObject field's value. -func (s *BatchWriteOperation) SetAttachObject(v *BatchAttachObject) *BatchWriteOperation { - s.AttachObject = v - return s -} - -// SetAttachPolicy sets the AttachPolicy field's value. -func (s *BatchWriteOperation) SetAttachPolicy(v *BatchAttachPolicy) *BatchWriteOperation { - s.AttachPolicy = v - return s -} - -// SetAttachToIndex sets the AttachToIndex field's value. -func (s *BatchWriteOperation) SetAttachToIndex(v *BatchAttachToIndex) *BatchWriteOperation { - s.AttachToIndex = v - return s -} - -// SetAttachTypedLink sets the AttachTypedLink field's value. -func (s *BatchWriteOperation) SetAttachTypedLink(v *BatchAttachTypedLink) *BatchWriteOperation { - s.AttachTypedLink = v - return s -} - -// SetCreateIndex sets the CreateIndex field's value. -func (s *BatchWriteOperation) SetCreateIndex(v *BatchCreateIndex) *BatchWriteOperation { - s.CreateIndex = v - return s -} - -// SetCreateObject sets the CreateObject field's value. -func (s *BatchWriteOperation) SetCreateObject(v *BatchCreateObject) *BatchWriteOperation { - s.CreateObject = v - return s -} - -// SetDeleteObject sets the DeleteObject field's value. -func (s *BatchWriteOperation) SetDeleteObject(v *BatchDeleteObject) *BatchWriteOperation { - s.DeleteObject = v - return s -} - -// SetDetachFromIndex sets the DetachFromIndex field's value. -func (s *BatchWriteOperation) SetDetachFromIndex(v *BatchDetachFromIndex) *BatchWriteOperation { - s.DetachFromIndex = v - return s -} - -// SetDetachObject sets the DetachObject field's value. -func (s *BatchWriteOperation) SetDetachObject(v *BatchDetachObject) *BatchWriteOperation { - s.DetachObject = v - return s -} - -// SetDetachPolicy sets the DetachPolicy field's value. -func (s *BatchWriteOperation) SetDetachPolicy(v *BatchDetachPolicy) *BatchWriteOperation { - s.DetachPolicy = v - return s -} - -// SetDetachTypedLink sets the DetachTypedLink field's value. -func (s *BatchWriteOperation) SetDetachTypedLink(v *BatchDetachTypedLink) *BatchWriteOperation { - s.DetachTypedLink = v - return s -} - -// SetRemoveFacetFromObject sets the RemoveFacetFromObject field's value. -func (s *BatchWriteOperation) SetRemoveFacetFromObject(v *BatchRemoveFacetFromObject) *BatchWriteOperation { - s.RemoveFacetFromObject = v - return s -} - -// SetUpdateObjectAttributes sets the UpdateObjectAttributes field's value. -func (s *BatchWriteOperation) SetUpdateObjectAttributes(v *BatchUpdateObjectAttributes) *BatchWriteOperation { - s.UpdateObjectAttributes = v - return s -} - // Represents the output of a BatchWrite response operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchWriteOperationResponse type BatchWriteOperationResponse struct { @@ -8294,90 +7196,6 @@ func (s BatchWriteOperationResponse) GoString() string { return s.String() } -// SetAddFacetToObject sets the AddFacetToObject field's value. -func (s *BatchWriteOperationResponse) SetAddFacetToObject(v *BatchAddFacetToObjectResponse) *BatchWriteOperationResponse { - s.AddFacetToObject = v - return s -} - -// SetAttachObject sets the AttachObject field's value. -func (s *BatchWriteOperationResponse) SetAttachObject(v *BatchAttachObjectResponse) *BatchWriteOperationResponse { - s.AttachObject = v - return s -} - -// SetAttachPolicy sets the AttachPolicy field's value. -func (s *BatchWriteOperationResponse) SetAttachPolicy(v *BatchAttachPolicyResponse) *BatchWriteOperationResponse { - s.AttachPolicy = v - return s -} - -// SetAttachToIndex sets the AttachToIndex field's value. -func (s *BatchWriteOperationResponse) SetAttachToIndex(v *BatchAttachToIndexResponse) *BatchWriteOperationResponse { - s.AttachToIndex = v - return s -} - -// SetAttachTypedLink sets the AttachTypedLink field's value. -func (s *BatchWriteOperationResponse) SetAttachTypedLink(v *BatchAttachTypedLinkResponse) *BatchWriteOperationResponse { - s.AttachTypedLink = v - return s -} - -// SetCreateIndex sets the CreateIndex field's value. -func (s *BatchWriteOperationResponse) SetCreateIndex(v *BatchCreateIndexResponse) *BatchWriteOperationResponse { - s.CreateIndex = v - return s -} - -// SetCreateObject sets the CreateObject field's value. -func (s *BatchWriteOperationResponse) SetCreateObject(v *BatchCreateObjectResponse) *BatchWriteOperationResponse { - s.CreateObject = v - return s -} - -// SetDeleteObject sets the DeleteObject field's value. -func (s *BatchWriteOperationResponse) SetDeleteObject(v *BatchDeleteObjectResponse) *BatchWriteOperationResponse { - s.DeleteObject = v - return s -} - -// SetDetachFromIndex sets the DetachFromIndex field's value. -func (s *BatchWriteOperationResponse) SetDetachFromIndex(v *BatchDetachFromIndexResponse) *BatchWriteOperationResponse { - s.DetachFromIndex = v - return s -} - -// SetDetachObject sets the DetachObject field's value. -func (s *BatchWriteOperationResponse) SetDetachObject(v *BatchDetachObjectResponse) *BatchWriteOperationResponse { - s.DetachObject = v - return s -} - -// SetDetachPolicy sets the DetachPolicy field's value. -func (s *BatchWriteOperationResponse) SetDetachPolicy(v *BatchDetachPolicyResponse) *BatchWriteOperationResponse { - s.DetachPolicy = v - return s -} - -// SetDetachTypedLink sets the DetachTypedLink field's value. -func (s *BatchWriteOperationResponse) SetDetachTypedLink(v *BatchDetachTypedLinkResponse) *BatchWriteOperationResponse { - s.DetachTypedLink = v - return s -} - -// SetRemoveFacetFromObject sets the RemoveFacetFromObject field's value. -func (s *BatchWriteOperationResponse) SetRemoveFacetFromObject(v *BatchRemoveFacetFromObjectResponse) *BatchWriteOperationResponse { - s.RemoveFacetFromObject = v - return s -} - -// SetUpdateObjectAttributes sets the UpdateObjectAttributes field's value. -func (s *BatchWriteOperationResponse) SetUpdateObjectAttributes(v *BatchUpdateObjectAttributesResponse) *BatchWriteOperationResponse { - s.UpdateObjectAttributes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/BatchWriteResponse type BatchWriteOutput struct { _ struct{} `type:"structure"` @@ -8403,12 +7221,6 @@ func (s BatchWriteOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResponses sets the Responses field's value. -func (s *BatchWriteOutput) SetResponses(v []BatchWriteOperationResponse) *BatchWriteOutput { - s.Responses = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/CreateDirectoryRequest type CreateDirectoryInput struct { _ struct{} `type:"structure"` @@ -8456,18 +7268,6 @@ func (s *CreateDirectoryInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *CreateDirectoryInput) SetName(v string) *CreateDirectoryInput { - s.Name = &v - return s -} - -// SetSchemaArn sets the SchemaArn field's value. -func (s *CreateDirectoryInput) SetSchemaArn(v string) *CreateDirectoryInput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/CreateDirectoryResponse type CreateDirectoryOutput struct { _ struct{} `type:"structure"` @@ -8513,30 +7313,6 @@ func (s CreateDirectoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAppliedSchemaArn sets the AppliedSchemaArn field's value. -func (s *CreateDirectoryOutput) SetAppliedSchemaArn(v string) *CreateDirectoryOutput { - s.AppliedSchemaArn = &v - return s -} - -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *CreateDirectoryOutput) SetDirectoryArn(v string) *CreateDirectoryOutput { - s.DirectoryArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateDirectoryOutput) SetName(v string) *CreateDirectoryOutput { - s.Name = &v - return s -} - -// SetObjectIdentifier sets the ObjectIdentifier field's value. -func (s *CreateDirectoryOutput) SetObjectIdentifier(v string) *CreateDirectoryOutput { - s.ObjectIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/CreateFacetRequest type CreateFacetInput struct { _ struct{} `type:"structure"` @@ -8612,30 +7388,6 @@ func (s *CreateFacetInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *CreateFacetInput) SetAttributes(v []FacetAttribute) *CreateFacetInput { - s.Attributes = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateFacetInput) SetName(v string) *CreateFacetInput { - s.Name = &v - return s -} - -// SetObjectType sets the ObjectType field's value. -func (s *CreateFacetInput) SetObjectType(v ObjectType) *CreateFacetInput { - s.ObjectType = v - return s -} - -// SetSchemaArn sets the SchemaArn field's value. -func (s *CreateFacetInput) SetSchemaArn(v string) *CreateFacetInput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/CreateFacetResponse type CreateFacetOutput struct { _ struct{} `type:"structure"` @@ -8728,36 +7480,6 @@ func (s *CreateIndexInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *CreateIndexInput) SetDirectoryArn(v string) *CreateIndexInput { - s.DirectoryArn = &v - return s -} - -// SetIsUnique sets the IsUnique field's value. -func (s *CreateIndexInput) SetIsUnique(v bool) *CreateIndexInput { - s.IsUnique = &v - return s -} - -// SetLinkName sets the LinkName field's value. -func (s *CreateIndexInput) SetLinkName(v string) *CreateIndexInput { - s.LinkName = &v - return s -} - -// SetOrderedIndexedAttributeList sets the OrderedIndexedAttributeList field's value. -func (s *CreateIndexInput) SetOrderedIndexedAttributeList(v []AttributeKey) *CreateIndexInput { - s.OrderedIndexedAttributeList = v - return s -} - -// SetParentReference sets the ParentReference field's value. -func (s *CreateIndexInput) SetParentReference(v *ObjectReference) *CreateIndexInput { - s.ParentReference = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/CreateIndexResponse type CreateIndexOutput struct { _ struct{} `type:"structure"` @@ -8783,12 +7505,6 @@ func (s CreateIndexOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetObjectIdentifier sets the ObjectIdentifier field's value. -func (s *CreateIndexOutput) SetObjectIdentifier(v string) *CreateIndexOutput { - s.ObjectIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/CreateObjectRequest type CreateObjectInput struct { _ struct{} `type:"structure"` @@ -8861,36 +7577,6 @@ func (s *CreateObjectInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *CreateObjectInput) SetDirectoryArn(v string) *CreateObjectInput { - s.DirectoryArn = &v - return s -} - -// SetLinkName sets the LinkName field's value. -func (s *CreateObjectInput) SetLinkName(v string) *CreateObjectInput { - s.LinkName = &v - return s -} - -// SetObjectAttributeList sets the ObjectAttributeList field's value. -func (s *CreateObjectInput) SetObjectAttributeList(v []AttributeKeyAndValue) *CreateObjectInput { - s.ObjectAttributeList = v - return s -} - -// SetParentReference sets the ParentReference field's value. -func (s *CreateObjectInput) SetParentReference(v *ObjectReference) *CreateObjectInput { - s.ParentReference = v - return s -} - -// SetSchemaFacets sets the SchemaFacets field's value. -func (s *CreateObjectInput) SetSchemaFacets(v []SchemaFacet) *CreateObjectInput { - s.SchemaFacets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/CreateObjectResponse type CreateObjectOutput struct { _ struct{} `type:"structure"` @@ -8916,12 +7602,6 @@ func (s CreateObjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetObjectIdentifier sets the ObjectIdentifier field's value. -func (s *CreateObjectOutput) SetObjectIdentifier(v string) *CreateObjectOutput { - s.ObjectIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/CreateSchemaRequest type CreateSchemaInput struct { _ struct{} `type:"structure"` @@ -8960,12 +7640,6 @@ func (s *CreateSchemaInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *CreateSchemaInput) SetName(v string) *CreateSchemaInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/CreateSchemaResponse type CreateSchemaOutput struct { _ struct{} `type:"structure"` @@ -8992,12 +7666,6 @@ func (s CreateSchemaOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSchemaArn sets the SchemaArn field's value. -func (s *CreateSchemaOutput) SetSchemaArn(v string) *CreateSchemaOutput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/CreateTypedLinkFacetRequest type CreateTypedLinkFacetInput struct { _ struct{} `type:"structure"` @@ -9047,18 +7715,6 @@ func (s *CreateTypedLinkFacetInput) Validate() error { return nil } -// SetFacet sets the Facet field's value. -func (s *CreateTypedLinkFacetInput) SetFacet(v *TypedLinkFacet) *CreateTypedLinkFacetInput { - s.Facet = v - return s -} - -// SetSchemaArn sets the SchemaArn field's value. -func (s *CreateTypedLinkFacetInput) SetSchemaArn(v string) *CreateTypedLinkFacetInput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/CreateTypedLinkFacetResponse type CreateTypedLinkFacetOutput struct { _ struct{} `type:"structure"` @@ -9115,12 +7771,6 @@ func (s *DeleteDirectoryInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *DeleteDirectoryInput) SetDirectoryArn(v string) *DeleteDirectoryInput { - s.DirectoryArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/DeleteDirectoryResponse type DeleteDirectoryOutput struct { _ struct{} `type:"structure"` @@ -9148,12 +7798,6 @@ func (s DeleteDirectoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *DeleteDirectoryOutput) SetDirectoryArn(v string) *DeleteDirectoryOutput { - s.DirectoryArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/DeleteFacetRequest type DeleteFacetInput struct { _ struct{} `type:"structure"` @@ -9201,18 +7845,6 @@ func (s *DeleteFacetInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteFacetInput) SetName(v string) *DeleteFacetInput { - s.Name = &v - return s -} - -// SetSchemaArn sets the SchemaArn field's value. -func (s *DeleteFacetInput) SetSchemaArn(v string) *DeleteFacetInput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/DeleteFacetResponse type DeleteFacetOutput struct { _ struct{} `type:"structure"` @@ -9279,18 +7911,6 @@ func (s *DeleteObjectInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *DeleteObjectInput) SetDirectoryArn(v string) *DeleteObjectInput { - s.DirectoryArn = &v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *DeleteObjectInput) SetObjectReference(v *ObjectReference) *DeleteObjectInput { - s.ObjectReference = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/DeleteObjectResponse type DeleteObjectOutput struct { _ struct{} `type:"structure"` @@ -9348,12 +7968,6 @@ func (s *DeleteSchemaInput) Validate() error { return nil } -// SetSchemaArn sets the SchemaArn field's value. -func (s *DeleteSchemaInput) SetSchemaArn(v string) *DeleteSchemaInput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/DeleteSchemaResponse type DeleteSchemaOutput struct { _ struct{} `type:"structure"` @@ -9380,12 +7994,6 @@ func (s DeleteSchemaOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSchemaArn sets the SchemaArn field's value. -func (s *DeleteSchemaOutput) SetSchemaArn(v string) *DeleteSchemaOutput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/DeleteTypedLinkFacetRequest type DeleteTypedLinkFacetInput struct { _ struct{} `type:"structure"` @@ -9430,18 +8038,6 @@ func (s *DeleteTypedLinkFacetInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteTypedLinkFacetInput) SetName(v string) *DeleteTypedLinkFacetInput { - s.Name = &v - return s -} - -// SetSchemaArn sets the SchemaArn field's value. -func (s *DeleteTypedLinkFacetInput) SetSchemaArn(v string) *DeleteTypedLinkFacetInput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/DeleteTypedLinkFacetResponse type DeleteTypedLinkFacetOutput struct { _ struct{} `type:"structure"` @@ -9517,24 +8113,6 @@ func (s *DetachFromIndexInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *DetachFromIndexInput) SetDirectoryArn(v string) *DetachFromIndexInput { - s.DirectoryArn = &v - return s -} - -// SetIndexReference sets the IndexReference field's value. -func (s *DetachFromIndexInput) SetIndexReference(v *ObjectReference) *DetachFromIndexInput { - s.IndexReference = v - return s -} - -// SetTargetReference sets the TargetReference field's value. -func (s *DetachFromIndexInput) SetTargetReference(v *ObjectReference) *DetachFromIndexInput { - s.TargetReference = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/DetachFromIndexResponse type DetachFromIndexOutput struct { _ struct{} `type:"structure"` @@ -9560,12 +8138,6 @@ func (s DetachFromIndexOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDetachedObjectIdentifier sets the DetachedObjectIdentifier field's value. -func (s *DetachFromIndexOutput) SetDetachedObjectIdentifier(v string) *DetachFromIndexOutput { - s.DetachedObjectIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/DetachObjectRequest type DetachObjectInput struct { _ struct{} `type:"structure"` @@ -9623,24 +8195,6 @@ func (s *DetachObjectInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *DetachObjectInput) SetDirectoryArn(v string) *DetachObjectInput { - s.DirectoryArn = &v - return s -} - -// SetLinkName sets the LinkName field's value. -func (s *DetachObjectInput) SetLinkName(v string) *DetachObjectInput { - s.LinkName = &v - return s -} - -// SetParentReference sets the ParentReference field's value. -func (s *DetachObjectInput) SetParentReference(v *ObjectReference) *DetachObjectInput { - s.ParentReference = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/DetachObjectResponse type DetachObjectOutput struct { _ struct{} `type:"structure"` @@ -9666,12 +8220,6 @@ func (s DetachObjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDetachedObjectIdentifier sets the DetachedObjectIdentifier field's value. -func (s *DetachObjectOutput) SetDetachedObjectIdentifier(v string) *DetachObjectOutput { - s.DetachedObjectIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/DetachPolicyRequest type DetachPolicyInput struct { _ struct{} `type:"structure"` @@ -9725,24 +8273,6 @@ func (s *DetachPolicyInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *DetachPolicyInput) SetDirectoryArn(v string) *DetachPolicyInput { - s.DirectoryArn = &v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *DetachPolicyInput) SetObjectReference(v *ObjectReference) *DetachPolicyInput { - s.ObjectReference = v - return s -} - -// SetPolicyReference sets the PolicyReference field's value. -func (s *DetachPolicyInput) SetPolicyReference(v *ObjectReference) *DetachPolicyInput { - s.PolicyReference = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/DetachPolicyResponse type DetachPolicyOutput struct { _ struct{} `type:"structure"` @@ -9814,18 +8344,6 @@ func (s *DetachTypedLinkInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *DetachTypedLinkInput) SetDirectoryArn(v string) *DetachTypedLinkInput { - s.DirectoryArn = &v - return s -} - -// SetTypedLinkSpecifier sets the TypedLinkSpecifier field's value. -func (s *DetachTypedLinkInput) SetTypedLinkSpecifier(v *TypedLinkSpecifier) *DetachTypedLinkInput { - s.TypedLinkSpecifier = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/DetachTypedLinkOutput type DetachTypedLinkOutput struct { _ struct{} `type:"structure"` @@ -9877,30 +8395,6 @@ func (s Directory) GoString() string { return s.String() } -// SetCreationDateTime sets the CreationDateTime field's value. -func (s *Directory) SetCreationDateTime(v time.Time) *Directory { - s.CreationDateTime = &v - return s -} - -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *Directory) SetDirectoryArn(v string) *Directory { - s.DirectoryArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *Directory) SetName(v string) *Directory { - s.Name = &v - return s -} - -// SetState sets the State field's value. -func (s *Directory) SetState(v DirectoryState) *Directory { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/DisableDirectoryRequest type DisableDirectoryInput struct { _ struct{} `type:"structure"` @@ -9935,12 +8429,6 @@ func (s *DisableDirectoryInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *DisableDirectoryInput) SetDirectoryArn(v string) *DisableDirectoryInput { - s.DirectoryArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/DisableDirectoryResponse type DisableDirectoryOutput struct { _ struct{} `type:"structure"` @@ -9968,12 +8456,6 @@ func (s DisableDirectoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *DisableDirectoryOutput) SetDirectoryArn(v string) *DisableDirectoryOutput { - s.DirectoryArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/EnableDirectoryRequest type EnableDirectoryInput struct { _ struct{} `type:"structure"` @@ -10008,12 +8490,6 @@ func (s *EnableDirectoryInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *EnableDirectoryInput) SetDirectoryArn(v string) *EnableDirectoryInput { - s.DirectoryArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/EnableDirectoryResponse type EnableDirectoryOutput struct { _ struct{} `type:"structure"` @@ -10041,12 +8517,6 @@ func (s EnableDirectoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *EnableDirectoryOutput) SetDirectoryArn(v string) *EnableDirectoryOutput { - s.DirectoryArn = &v - return s -} - // A structure that contains Name, ARN, Attributes, Rules, and ObjectTypes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/Facet type Facet struct { @@ -10070,18 +8540,6 @@ func (s Facet) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *Facet) SetName(v string) *Facet { - s.Name = &v - return s -} - -// SetObjectType sets the ObjectType field's value. -func (s *Facet) SetObjectType(v ObjectType) *Facet { - s.ObjectType = v - return s -} - // An attribute that is associated with the Facet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/FacetAttribute type FacetAttribute struct { @@ -10143,30 +8601,6 @@ func (s *FacetAttribute) Validate() error { return nil } -// SetAttributeDefinition sets the AttributeDefinition field's value. -func (s *FacetAttribute) SetAttributeDefinition(v *FacetAttributeDefinition) *FacetAttribute { - s.AttributeDefinition = v - return s -} - -// SetAttributeReference sets the AttributeReference field's value. -func (s *FacetAttribute) SetAttributeReference(v *FacetAttributeReference) *FacetAttribute { - s.AttributeReference = v - return s -} - -// SetName sets the Name field's value. -func (s *FacetAttribute) SetName(v string) *FacetAttribute { - s.Name = &v - return s -} - -// SetRequiredBehavior sets the RequiredBehavior field's value. -func (s *FacetAttribute) SetRequiredBehavior(v RequiredAttributeBehavior) *FacetAttribute { - s.RequiredBehavior = v - return s -} - // A facet attribute definition. See Attribute References (http://docs.aws.amazon.com/directoryservice/latest/admin-guide/cd_advanced.html#attributereferences) // for more information. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/FacetAttributeDefinition @@ -10211,30 +8645,6 @@ func (s *FacetAttributeDefinition) Validate() error { return nil } -// SetDefaultValue sets the DefaultValue field's value. -func (s *FacetAttributeDefinition) SetDefaultValue(v *TypedAttributeValue) *FacetAttributeDefinition { - s.DefaultValue = v - return s -} - -// SetIsImmutable sets the IsImmutable field's value. -func (s *FacetAttributeDefinition) SetIsImmutable(v bool) *FacetAttributeDefinition { - s.IsImmutable = &v - return s -} - -// SetRules sets the Rules field's value. -func (s *FacetAttributeDefinition) SetRules(v map[string]Rule) *FacetAttributeDefinition { - s.Rules = v - return s -} - -// SetType sets the Type field's value. -func (s *FacetAttributeDefinition) SetType(v FacetAttributeType) *FacetAttributeDefinition { - s.Type = v - return s -} - // The facet attribute reference that specifies the attribute definition that // contains the attribute facet name and attribute name. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/FacetAttributeReference @@ -10290,18 +8700,6 @@ func (s *FacetAttributeReference) Validate() error { return nil } -// SetTargetAttributeName sets the TargetAttributeName field's value. -func (s *FacetAttributeReference) SetTargetAttributeName(v string) *FacetAttributeReference { - s.TargetAttributeName = &v - return s -} - -// SetTargetFacetName sets the TargetFacetName field's value. -func (s *FacetAttributeReference) SetTargetFacetName(v string) *FacetAttributeReference { - s.TargetFacetName = &v - return s -} - // A structure that contains information used to update an attribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/FacetAttributeUpdate type FacetAttributeUpdate struct { @@ -10339,18 +8737,6 @@ func (s *FacetAttributeUpdate) Validate() error { return nil } -// SetAction sets the Action field's value. -func (s *FacetAttributeUpdate) SetAction(v UpdateActionType) *FacetAttributeUpdate { - s.Action = v - return s -} - -// SetAttribute sets the Attribute field's value. -func (s *FacetAttributeUpdate) SetAttribute(v *FacetAttribute) *FacetAttributeUpdate { - s.Attribute = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetAppliedSchemaVersionRequest type GetAppliedSchemaVersionInput struct { _ struct{} `type:"structure"` @@ -10385,12 +8771,6 @@ func (s *GetAppliedSchemaVersionInput) Validate() error { return nil } -// SetSchemaArn sets the SchemaArn field's value. -func (s *GetAppliedSchemaVersionInput) SetSchemaArn(v string) *GetAppliedSchemaVersionInput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetAppliedSchemaVersionResponse type GetAppliedSchemaVersionOutput struct { _ struct{} `type:"structure"` @@ -10417,12 +8797,6 @@ func (s GetAppliedSchemaVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAppliedSchemaArn sets the AppliedSchemaArn field's value. -func (s *GetAppliedSchemaVersionOutput) SetAppliedSchemaArn(v string) *GetAppliedSchemaVersionOutput { - s.AppliedSchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetDirectoryRequest type GetDirectoryInput struct { _ struct{} `type:"structure"` @@ -10457,12 +8831,6 @@ func (s *GetDirectoryInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *GetDirectoryInput) SetDirectoryArn(v string) *GetDirectoryInput { - s.DirectoryArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetDirectoryResponse type GetDirectoryOutput struct { _ struct{} `type:"structure"` @@ -10490,12 +8858,6 @@ func (s GetDirectoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDirectory sets the Directory field's value. -func (s *GetDirectoryOutput) SetDirectory(v *Directory) *GetDirectoryOutput { - s.Directory = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetFacetRequest type GetFacetInput struct { _ struct{} `type:"structure"` @@ -10543,18 +8905,6 @@ func (s *GetFacetInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *GetFacetInput) SetName(v string) *GetFacetInput { - s.Name = &v - return s -} - -// SetSchemaArn sets the SchemaArn field's value. -func (s *GetFacetInput) SetSchemaArn(v string) *GetFacetInput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetFacetResponse type GetFacetOutput struct { _ struct{} `type:"structure"` @@ -10580,12 +8930,6 @@ func (s GetFacetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFacet sets the Facet field's value. -func (s *GetFacetOutput) SetFacet(v *Facet) *GetFacetOutput { - s.Facet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetObjectInformationRequest type GetObjectInformationInput struct { _ struct{} `type:"structure"` @@ -10632,24 +8976,6 @@ func (s *GetObjectInformationInput) Validate() error { return nil } -// SetConsistencyLevel sets the ConsistencyLevel field's value. -func (s *GetObjectInformationInput) SetConsistencyLevel(v ConsistencyLevel) *GetObjectInformationInput { - s.ConsistencyLevel = v - return s -} - -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *GetObjectInformationInput) SetDirectoryArn(v string) *GetObjectInformationInput { - s.DirectoryArn = &v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *GetObjectInformationInput) SetObjectReference(v *ObjectReference) *GetObjectInformationInput { - s.ObjectReference = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetObjectInformationResponse type GetObjectInformationOutput struct { _ struct{} `type:"structure"` @@ -10680,18 +9006,6 @@ func (s GetObjectInformationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetObjectIdentifier sets the ObjectIdentifier field's value. -func (s *GetObjectInformationOutput) SetObjectIdentifier(v string) *GetObjectInformationOutput { - s.ObjectIdentifier = &v - return s -} - -// SetSchemaFacets sets the SchemaFacets field's value. -func (s *GetObjectInformationOutput) SetSchemaFacets(v []SchemaFacet) *GetObjectInformationOutput { - s.SchemaFacets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetSchemaAsJsonRequest type GetSchemaAsJsonInput struct { _ struct{} `type:"structure"` @@ -10726,12 +9040,6 @@ func (s *GetSchemaAsJsonInput) Validate() error { return nil } -// SetSchemaArn sets the SchemaArn field's value. -func (s *GetSchemaAsJsonInput) SetSchemaArn(v string) *GetSchemaAsJsonInput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetSchemaAsJsonResponse type GetSchemaAsJsonOutput struct { _ struct{} `type:"structure"` @@ -10760,18 +9068,6 @@ func (s GetSchemaAsJsonOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDocument sets the Document field's value. -func (s *GetSchemaAsJsonOutput) SetDocument(v string) *GetSchemaAsJsonOutput { - s.Document = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetSchemaAsJsonOutput) SetName(v string) *GetSchemaAsJsonOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetTypedLinkFacetInformationRequest type GetTypedLinkFacetInformationInput struct { _ struct{} `type:"structure"` @@ -10816,18 +9112,6 @@ func (s *GetTypedLinkFacetInformationInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *GetTypedLinkFacetInformationInput) SetName(v string) *GetTypedLinkFacetInformationInput { - s.Name = &v - return s -} - -// SetSchemaArn sets the SchemaArn field's value. -func (s *GetTypedLinkFacetInformationInput) SetSchemaArn(v string) *GetTypedLinkFacetInformationInput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/GetTypedLinkFacetInformationResponse type GetTypedLinkFacetInformationOutput struct { _ struct{} `type:"structure"` @@ -10860,12 +9144,6 @@ func (s GetTypedLinkFacetInformationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIdentityAttributeOrder sets the IdentityAttributeOrder field's value. -func (s *GetTypedLinkFacetInformationOutput) SetIdentityAttributeOrder(v []string) *GetTypedLinkFacetInformationOutput { - s.IdentityAttributeOrder = v - return s -} - // Represents an index and an attached object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/IndexAttachment type IndexAttachment struct { @@ -10891,18 +9169,6 @@ func (s IndexAttachment) GoString() string { return s.String() } -// SetIndexedAttributes sets the IndexedAttributes field's value. -func (s *IndexAttachment) SetIndexedAttributes(v []AttributeKeyAndValue) *IndexAttachment { - s.IndexedAttributes = v - return s -} - -// SetObjectIdentifier sets the ObjectIdentifier field's value. -func (s *IndexAttachment) SetObjectIdentifier(v string) *IndexAttachment { - s.ObjectIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListAppliedSchemaArnsRequest type ListAppliedSchemaArnsInput struct { _ struct{} `type:"structure"` @@ -10950,30 +9216,6 @@ func (s *ListAppliedSchemaArnsInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *ListAppliedSchemaArnsInput) SetDirectoryArn(v string) *ListAppliedSchemaArnsInput { - s.DirectoryArn = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListAppliedSchemaArnsInput) SetMaxResults(v int64) *ListAppliedSchemaArnsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAppliedSchemaArnsInput) SetNextToken(v string) *ListAppliedSchemaArnsInput { - s.NextToken = &v - return s -} - -// SetSchemaArn sets the SchemaArn field's value. -func (s *ListAppliedSchemaArnsInput) SetSchemaArn(v string) *ListAppliedSchemaArnsInput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListAppliedSchemaArnsResponse type ListAppliedSchemaArnsOutput struct { _ struct{} `type:"structure"` @@ -11002,18 +9244,6 @@ func (s ListAppliedSchemaArnsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListAppliedSchemaArnsOutput) SetNextToken(v string) *ListAppliedSchemaArnsOutput { - s.NextToken = &v - return s -} - -// SetSchemaArns sets the SchemaArns field's value. -func (s *ListAppliedSchemaArnsOutput) SetSchemaArns(v []string) *ListAppliedSchemaArnsOutput { - s.SchemaArns = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListAttachedIndicesRequest type ListAttachedIndicesInput struct { _ struct{} `type:"structure"` @@ -11069,36 +9299,6 @@ func (s *ListAttachedIndicesInput) Validate() error { return nil } -// SetConsistencyLevel sets the ConsistencyLevel field's value. -func (s *ListAttachedIndicesInput) SetConsistencyLevel(v ConsistencyLevel) *ListAttachedIndicesInput { - s.ConsistencyLevel = v - return s -} - -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *ListAttachedIndicesInput) SetDirectoryArn(v string) *ListAttachedIndicesInput { - s.DirectoryArn = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListAttachedIndicesInput) SetMaxResults(v int64) *ListAttachedIndicesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAttachedIndicesInput) SetNextToken(v string) *ListAttachedIndicesInput { - s.NextToken = &v - return s -} - -// SetTargetReference sets the TargetReference field's value. -func (s *ListAttachedIndicesInput) SetTargetReference(v *ObjectReference) *ListAttachedIndicesInput { - s.TargetReference = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListAttachedIndicesResponse type ListAttachedIndicesOutput struct { _ struct{} `type:"structure"` @@ -11127,18 +9327,6 @@ func (s ListAttachedIndicesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIndexAttachments sets the IndexAttachments field's value. -func (s *ListAttachedIndicesOutput) SetIndexAttachments(v []IndexAttachment) *ListAttachedIndicesOutput { - s.IndexAttachments = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAttachedIndicesOutput) SetNextToken(v string) *ListAttachedIndicesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListDevelopmentSchemaArnsRequest type ListDevelopmentSchemaArnsInput struct { _ struct{} `type:"structure"` @@ -11173,18 +9361,6 @@ func (s *ListDevelopmentSchemaArnsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListDevelopmentSchemaArnsInput) SetMaxResults(v int64) *ListDevelopmentSchemaArnsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDevelopmentSchemaArnsInput) SetNextToken(v string) *ListDevelopmentSchemaArnsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListDevelopmentSchemaArnsResponse type ListDevelopmentSchemaArnsOutput struct { _ struct{} `type:"structure"` @@ -11213,18 +9389,6 @@ func (s ListDevelopmentSchemaArnsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListDevelopmentSchemaArnsOutput) SetNextToken(v string) *ListDevelopmentSchemaArnsOutput { - s.NextToken = &v - return s -} - -// SetSchemaArns sets the SchemaArns field's value. -func (s *ListDevelopmentSchemaArnsOutput) SetSchemaArns(v []string) *ListDevelopmentSchemaArnsOutput { - s.SchemaArns = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListDirectoriesRequest type ListDirectoriesInput struct { _ struct{} `type:"structure"` @@ -11263,24 +9427,6 @@ func (s *ListDirectoriesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListDirectoriesInput) SetMaxResults(v int64) *ListDirectoriesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDirectoriesInput) SetNextToken(v string) *ListDirectoriesInput { - s.NextToken = &v - return s -} - -// SetState sets the State field's value. -func (s *ListDirectoriesInput) SetState(v DirectoryState) *ListDirectoriesInput { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListDirectoriesResponse type ListDirectoriesOutput struct { _ struct{} `type:"structure"` @@ -11312,18 +9458,6 @@ func (s ListDirectoriesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDirectories sets the Directories field's value. -func (s *ListDirectoriesOutput) SetDirectories(v []Directory) *ListDirectoriesOutput { - s.Directories = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDirectoriesOutput) SetNextToken(v string) *ListDirectoriesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListFacetAttributesRequest type ListFacetAttributesInput struct { _ struct{} `type:"structure"` @@ -11379,30 +9513,6 @@ func (s *ListFacetAttributesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListFacetAttributesInput) SetMaxResults(v int64) *ListFacetAttributesInput { - s.MaxResults = &v - return s -} - -// SetName sets the Name field's value. -func (s *ListFacetAttributesInput) SetName(v string) *ListFacetAttributesInput { - s.Name = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFacetAttributesInput) SetNextToken(v string) *ListFacetAttributesInput { - s.NextToken = &v - return s -} - -// SetSchemaArn sets the SchemaArn field's value. -func (s *ListFacetAttributesInput) SetSchemaArn(v string) *ListFacetAttributesInput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListFacetAttributesResponse type ListFacetAttributesOutput struct { _ struct{} `type:"structure"` @@ -11431,18 +9541,6 @@ func (s ListFacetAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *ListFacetAttributesOutput) SetAttributes(v []FacetAttribute) *ListFacetAttributesOutput { - s.Attributes = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFacetAttributesOutput) SetNextToken(v string) *ListFacetAttributesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListFacetNamesRequest type ListFacetNamesInput struct { _ struct{} `type:"structure"` @@ -11486,24 +9584,6 @@ func (s *ListFacetNamesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListFacetNamesInput) SetMaxResults(v int64) *ListFacetNamesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFacetNamesInput) SetNextToken(v string) *ListFacetNamesInput { - s.NextToken = &v - return s -} - -// SetSchemaArn sets the SchemaArn field's value. -func (s *ListFacetNamesInput) SetSchemaArn(v string) *ListFacetNamesInput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListFacetNamesResponse type ListFacetNamesOutput struct { _ struct{} `type:"structure"` @@ -11532,18 +9612,6 @@ func (s ListFacetNamesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFacetNames sets the FacetNames field's value. -func (s *ListFacetNamesOutput) SetFacetNames(v []string) *ListFacetNamesOutput { - s.FacetNames = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFacetNamesOutput) SetNextToken(v string) *ListFacetNamesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListIncomingTypedLinksRequest type ListIncomingTypedLinksInput struct { _ struct{} `type:"structure"` @@ -11622,48 +9690,6 @@ func (s *ListIncomingTypedLinksInput) Validate() error { return nil } -// SetConsistencyLevel sets the ConsistencyLevel field's value. -func (s *ListIncomingTypedLinksInput) SetConsistencyLevel(v ConsistencyLevel) *ListIncomingTypedLinksInput { - s.ConsistencyLevel = v - return s -} - -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *ListIncomingTypedLinksInput) SetDirectoryArn(v string) *ListIncomingTypedLinksInput { - s.DirectoryArn = &v - return s -} - -// SetFilterAttributeRanges sets the FilterAttributeRanges field's value. -func (s *ListIncomingTypedLinksInput) SetFilterAttributeRanges(v []TypedLinkAttributeRange) *ListIncomingTypedLinksInput { - s.FilterAttributeRanges = v - return s -} - -// SetFilterTypedLink sets the FilterTypedLink field's value. -func (s *ListIncomingTypedLinksInput) SetFilterTypedLink(v *TypedLinkSchemaAndFacetName) *ListIncomingTypedLinksInput { - s.FilterTypedLink = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListIncomingTypedLinksInput) SetMaxResults(v int64) *ListIncomingTypedLinksInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIncomingTypedLinksInput) SetNextToken(v string) *ListIncomingTypedLinksInput { - s.NextToken = &v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *ListIncomingTypedLinksInput) SetObjectReference(v *ObjectReference) *ListIncomingTypedLinksInput { - s.ObjectReference = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListIncomingTypedLinksResponse type ListIncomingTypedLinksOutput struct { _ struct{} `type:"structure"` @@ -11692,18 +9718,6 @@ func (s ListIncomingTypedLinksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLinkSpecifiers sets the LinkSpecifiers field's value. -func (s *ListIncomingTypedLinksOutput) SetLinkSpecifiers(v []TypedLinkSpecifier) *ListIncomingTypedLinksOutput { - s.LinkSpecifiers = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIncomingTypedLinksOutput) SetNextToken(v string) *ListIncomingTypedLinksOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListIndexRequest type ListIndexInput struct { _ struct{} `type:"structure"` @@ -11771,42 +9785,6 @@ func (s *ListIndexInput) Validate() error { return nil } -// SetConsistencyLevel sets the ConsistencyLevel field's value. -func (s *ListIndexInput) SetConsistencyLevel(v ConsistencyLevel) *ListIndexInput { - s.ConsistencyLevel = v - return s -} - -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *ListIndexInput) SetDirectoryArn(v string) *ListIndexInput { - s.DirectoryArn = &v - return s -} - -// SetIndexReference sets the IndexReference field's value. -func (s *ListIndexInput) SetIndexReference(v *ObjectReference) *ListIndexInput { - s.IndexReference = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListIndexInput) SetMaxResults(v int64) *ListIndexInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIndexInput) SetNextToken(v string) *ListIndexInput { - s.NextToken = &v - return s -} - -// SetRangesOnIndexedValues sets the RangesOnIndexedValues field's value. -func (s *ListIndexInput) SetRangesOnIndexedValues(v []ObjectAttributeRange) *ListIndexInput { - s.RangesOnIndexedValues = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListIndexResponse type ListIndexOutput struct { _ struct{} `type:"structure"` @@ -11835,18 +9813,6 @@ func (s ListIndexOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIndexAttachments sets the IndexAttachments field's value. -func (s *ListIndexOutput) SetIndexAttachments(v []IndexAttachment) *ListIndexOutput { - s.IndexAttachments = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIndexOutput) SetNextToken(v string) *ListIndexOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListObjectAttributesRequest type ListObjectAttributesInput struct { _ struct{} `type:"structure"` @@ -11914,42 +9880,6 @@ func (s *ListObjectAttributesInput) Validate() error { return nil } -// SetConsistencyLevel sets the ConsistencyLevel field's value. -func (s *ListObjectAttributesInput) SetConsistencyLevel(v ConsistencyLevel) *ListObjectAttributesInput { - s.ConsistencyLevel = v - return s -} - -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *ListObjectAttributesInput) SetDirectoryArn(v string) *ListObjectAttributesInput { - s.DirectoryArn = &v - return s -} - -// SetFacetFilter sets the FacetFilter field's value. -func (s *ListObjectAttributesInput) SetFacetFilter(v *SchemaFacet) *ListObjectAttributesInput { - s.FacetFilter = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListObjectAttributesInput) SetMaxResults(v int64) *ListObjectAttributesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListObjectAttributesInput) SetNextToken(v string) *ListObjectAttributesInput { - s.NextToken = &v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *ListObjectAttributesInput) SetObjectReference(v *ObjectReference) *ListObjectAttributesInput { - s.ObjectReference = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListObjectAttributesResponse type ListObjectAttributesOutput struct { _ struct{} `type:"structure"` @@ -11979,18 +9909,6 @@ func (s ListObjectAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *ListObjectAttributesOutput) SetAttributes(v []AttributeKeyAndValue) *ListObjectAttributesOutput { - s.Attributes = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListObjectAttributesOutput) SetNextToken(v string) *ListObjectAttributesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListObjectChildrenRequest type ListObjectChildrenInput struct { _ struct{} `type:"structure"` @@ -12050,36 +9968,6 @@ func (s *ListObjectChildrenInput) Validate() error { return nil } -// SetConsistencyLevel sets the ConsistencyLevel field's value. -func (s *ListObjectChildrenInput) SetConsistencyLevel(v ConsistencyLevel) *ListObjectChildrenInput { - s.ConsistencyLevel = v - return s -} - -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *ListObjectChildrenInput) SetDirectoryArn(v string) *ListObjectChildrenInput { - s.DirectoryArn = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListObjectChildrenInput) SetMaxResults(v int64) *ListObjectChildrenInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListObjectChildrenInput) SetNextToken(v string) *ListObjectChildrenInput { - s.NextToken = &v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *ListObjectChildrenInput) SetObjectReference(v *ObjectReference) *ListObjectChildrenInput { - s.ObjectReference = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListObjectChildrenResponse type ListObjectChildrenOutput struct { _ struct{} `type:"structure"` @@ -12109,18 +9997,6 @@ func (s ListObjectChildrenOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChildren sets the Children field's value. -func (s *ListObjectChildrenOutput) SetChildren(v map[string]string) *ListObjectChildrenOutput { - s.Children = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListObjectChildrenOutput) SetNextToken(v string) *ListObjectChildrenOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListObjectParentPathsRequest type ListObjectParentPathsInput struct { _ struct{} `type:"structure"` @@ -12174,30 +10050,6 @@ func (s *ListObjectParentPathsInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *ListObjectParentPathsInput) SetDirectoryArn(v string) *ListObjectParentPathsInput { - s.DirectoryArn = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListObjectParentPathsInput) SetMaxResults(v int64) *ListObjectParentPathsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListObjectParentPathsInput) SetNextToken(v string) *ListObjectParentPathsInput { - s.NextToken = &v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *ListObjectParentPathsInput) SetObjectReference(v *ObjectReference) *ListObjectParentPathsInput { - s.ObjectReference = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListObjectParentPathsResponse type ListObjectParentPathsOutput struct { _ struct{} `type:"structure"` @@ -12226,18 +10078,6 @@ func (s ListObjectParentPathsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListObjectParentPathsOutput) SetNextToken(v string) *ListObjectParentPathsOutput { - s.NextToken = &v - return s -} - -// SetPathToObjectIdentifiersList sets the PathToObjectIdentifiersList field's value. -func (s *ListObjectParentPathsOutput) SetPathToObjectIdentifiersList(v []PathToObjectIdentifiers) *ListObjectParentPathsOutput { - s.PathToObjectIdentifiersList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListObjectParentsRequest type ListObjectParentsInput struct { _ struct{} `type:"structure"` @@ -12297,36 +10137,6 @@ func (s *ListObjectParentsInput) Validate() error { return nil } -// SetConsistencyLevel sets the ConsistencyLevel field's value. -func (s *ListObjectParentsInput) SetConsistencyLevel(v ConsistencyLevel) *ListObjectParentsInput { - s.ConsistencyLevel = v - return s -} - -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *ListObjectParentsInput) SetDirectoryArn(v string) *ListObjectParentsInput { - s.DirectoryArn = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListObjectParentsInput) SetMaxResults(v int64) *ListObjectParentsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListObjectParentsInput) SetNextToken(v string) *ListObjectParentsInput { - s.NextToken = &v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *ListObjectParentsInput) SetObjectReference(v *ObjectReference) *ListObjectParentsInput { - s.ObjectReference = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListObjectParentsResponse type ListObjectParentsOutput struct { _ struct{} `type:"structure"` @@ -12356,18 +10166,6 @@ func (s ListObjectParentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListObjectParentsOutput) SetNextToken(v string) *ListObjectParentsOutput { - s.NextToken = &v - return s -} - -// SetParents sets the Parents field's value. -func (s *ListObjectParentsOutput) SetParents(v map[string]string) *ListObjectParentsOutput { - s.Parents = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListObjectPoliciesRequest type ListObjectPoliciesInput struct { _ struct{} `type:"structure"` @@ -12426,36 +10224,6 @@ func (s *ListObjectPoliciesInput) Validate() error { return nil } -// SetConsistencyLevel sets the ConsistencyLevel field's value. -func (s *ListObjectPoliciesInput) SetConsistencyLevel(v ConsistencyLevel) *ListObjectPoliciesInput { - s.ConsistencyLevel = v - return s -} - -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *ListObjectPoliciesInput) SetDirectoryArn(v string) *ListObjectPoliciesInput { - s.DirectoryArn = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListObjectPoliciesInput) SetMaxResults(v int64) *ListObjectPoliciesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListObjectPoliciesInput) SetNextToken(v string) *ListObjectPoliciesInput { - s.NextToken = &v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *ListObjectPoliciesInput) SetObjectReference(v *ObjectReference) *ListObjectPoliciesInput { - s.ObjectReference = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListObjectPoliciesResponse type ListObjectPoliciesOutput struct { _ struct{} `type:"structure"` @@ -12484,18 +10252,6 @@ func (s ListObjectPoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttachedPolicyIds sets the AttachedPolicyIds field's value. -func (s *ListObjectPoliciesOutput) SetAttachedPolicyIds(v []string) *ListObjectPoliciesOutput { - s.AttachedPolicyIds = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListObjectPoliciesOutput) SetNextToken(v string) *ListObjectPoliciesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListOutgoingTypedLinksRequest type ListOutgoingTypedLinksInput struct { _ struct{} `type:"structure"` @@ -12563,57 +10319,15 @@ func (s *ListOutgoingTypedLinksInput) Validate() error { } } if s.FilterTypedLink != nil { - if err := s.FilterTypedLink.Validate(); err != nil { - invalidParams.AddNested("FilterTypedLink", err.(aws.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetConsistencyLevel sets the ConsistencyLevel field's value. -func (s *ListOutgoingTypedLinksInput) SetConsistencyLevel(v ConsistencyLevel) *ListOutgoingTypedLinksInput { - s.ConsistencyLevel = v - return s -} - -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *ListOutgoingTypedLinksInput) SetDirectoryArn(v string) *ListOutgoingTypedLinksInput { - s.DirectoryArn = &v - return s -} - -// SetFilterAttributeRanges sets the FilterAttributeRanges field's value. -func (s *ListOutgoingTypedLinksInput) SetFilterAttributeRanges(v []TypedLinkAttributeRange) *ListOutgoingTypedLinksInput { - s.FilterAttributeRanges = v - return s -} - -// SetFilterTypedLink sets the FilterTypedLink field's value. -func (s *ListOutgoingTypedLinksInput) SetFilterTypedLink(v *TypedLinkSchemaAndFacetName) *ListOutgoingTypedLinksInput { - s.FilterTypedLink = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListOutgoingTypedLinksInput) SetMaxResults(v int64) *ListOutgoingTypedLinksInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListOutgoingTypedLinksInput) SetNextToken(v string) *ListOutgoingTypedLinksInput { - s.NextToken = &v - return s -} + if err := s.FilterTypedLink.Validate(); err != nil { + invalidParams.AddNested("FilterTypedLink", err.(aws.ErrInvalidParams)) + } + } -// SetObjectReference sets the ObjectReference field's value. -func (s *ListOutgoingTypedLinksInput) SetObjectReference(v *ObjectReference) *ListOutgoingTypedLinksInput { - s.ObjectReference = v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListOutgoingTypedLinksResponse @@ -12644,18 +10358,6 @@ func (s ListOutgoingTypedLinksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListOutgoingTypedLinksOutput) SetNextToken(v string) *ListOutgoingTypedLinksOutput { - s.NextToken = &v - return s -} - -// SetTypedLinkSpecifiers sets the TypedLinkSpecifiers field's value. -func (s *ListOutgoingTypedLinksOutput) SetTypedLinkSpecifiers(v []TypedLinkSpecifier) *ListOutgoingTypedLinksOutput { - s.TypedLinkSpecifiers = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListPolicyAttachmentsRequest type ListPolicyAttachmentsInput struct { _ struct{} `type:"structure"` @@ -12714,36 +10416,6 @@ func (s *ListPolicyAttachmentsInput) Validate() error { return nil } -// SetConsistencyLevel sets the ConsistencyLevel field's value. -func (s *ListPolicyAttachmentsInput) SetConsistencyLevel(v ConsistencyLevel) *ListPolicyAttachmentsInput { - s.ConsistencyLevel = v - return s -} - -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *ListPolicyAttachmentsInput) SetDirectoryArn(v string) *ListPolicyAttachmentsInput { - s.DirectoryArn = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListPolicyAttachmentsInput) SetMaxResults(v int64) *ListPolicyAttachmentsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListPolicyAttachmentsInput) SetNextToken(v string) *ListPolicyAttachmentsInput { - s.NextToken = &v - return s -} - -// SetPolicyReference sets the PolicyReference field's value. -func (s *ListPolicyAttachmentsInput) SetPolicyReference(v *ObjectReference) *ListPolicyAttachmentsInput { - s.PolicyReference = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListPolicyAttachmentsResponse type ListPolicyAttachmentsOutput struct { _ struct{} `type:"structure"` @@ -12772,18 +10444,6 @@ func (s ListPolicyAttachmentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListPolicyAttachmentsOutput) SetNextToken(v string) *ListPolicyAttachmentsOutput { - s.NextToken = &v - return s -} - -// SetObjectIdentifiers sets the ObjectIdentifiers field's value. -func (s *ListPolicyAttachmentsOutput) SetObjectIdentifiers(v []string) *ListPolicyAttachmentsOutput { - s.ObjectIdentifiers = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListPublishedSchemaArnsRequest type ListPublishedSchemaArnsInput struct { _ struct{} `type:"structure"` @@ -12822,24 +10482,6 @@ func (s *ListPublishedSchemaArnsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListPublishedSchemaArnsInput) SetMaxResults(v int64) *ListPublishedSchemaArnsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListPublishedSchemaArnsInput) SetNextToken(v string) *ListPublishedSchemaArnsInput { - s.NextToken = &v - return s -} - -// SetSchemaArn sets the SchemaArn field's value. -func (s *ListPublishedSchemaArnsInput) SetSchemaArn(v string) *ListPublishedSchemaArnsInput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListPublishedSchemaArnsResponse type ListPublishedSchemaArnsOutput struct { _ struct{} `type:"structure"` @@ -12868,18 +10510,6 @@ func (s ListPublishedSchemaArnsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListPublishedSchemaArnsOutput) SetNextToken(v string) *ListPublishedSchemaArnsOutput { - s.NextToken = &v - return s -} - -// SetSchemaArns sets the SchemaArns field's value. -func (s *ListPublishedSchemaArnsOutput) SetSchemaArns(v []string) *ListPublishedSchemaArnsOutput { - s.SchemaArns = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListTagsForResourceRequest type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -12926,24 +10556,6 @@ func (s *ListTagsForResourceInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListTagsForResourceInput) SetMaxResults(v int64) *ListTagsForResourceInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTagsForResourceInput) SetNextToken(v string) *ListTagsForResourceInput { - s.NextToken = &v - return s -} - -// SetResourceArn sets the ResourceArn field's value. -func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { - s.ResourceArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListTagsForResourceResponse type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` @@ -12973,18 +10585,6 @@ func (s ListTagsForResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTagsForResourceOutput) SetNextToken(v string) *ListTagsForResourceOutput { - s.NextToken = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *ListTagsForResourceOutput) SetTags(v []Tag) *ListTagsForResourceOutput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListTypedLinkFacetAttributesRequest type ListTypedLinkFacetAttributesInput struct { _ struct{} `type:"structure"` @@ -13038,30 +10638,6 @@ func (s *ListTypedLinkFacetAttributesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListTypedLinkFacetAttributesInput) SetMaxResults(v int64) *ListTypedLinkFacetAttributesInput { - s.MaxResults = &v - return s -} - -// SetName sets the Name field's value. -func (s *ListTypedLinkFacetAttributesInput) SetName(v string) *ListTypedLinkFacetAttributesInput { - s.Name = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTypedLinkFacetAttributesInput) SetNextToken(v string) *ListTypedLinkFacetAttributesInput { - s.NextToken = &v - return s -} - -// SetSchemaArn sets the SchemaArn field's value. -func (s *ListTypedLinkFacetAttributesInput) SetSchemaArn(v string) *ListTypedLinkFacetAttributesInput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListTypedLinkFacetAttributesResponse type ListTypedLinkFacetAttributesOutput struct { _ struct{} `type:"structure"` @@ -13090,18 +10666,6 @@ func (s ListTypedLinkFacetAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *ListTypedLinkFacetAttributesOutput) SetAttributes(v []TypedLinkAttributeDefinition) *ListTypedLinkFacetAttributesOutput { - s.Attributes = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTypedLinkFacetAttributesOutput) SetNextToken(v string) *ListTypedLinkFacetAttributesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListTypedLinkFacetNamesRequest type ListTypedLinkFacetNamesInput struct { _ struct{} `type:"structure"` @@ -13146,24 +10710,6 @@ func (s *ListTypedLinkFacetNamesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListTypedLinkFacetNamesInput) SetMaxResults(v int64) *ListTypedLinkFacetNamesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTypedLinkFacetNamesInput) SetNextToken(v string) *ListTypedLinkFacetNamesInput { - s.NextToken = &v - return s -} - -// SetSchemaArn sets the SchemaArn field's value. -func (s *ListTypedLinkFacetNamesInput) SetSchemaArn(v string) *ListTypedLinkFacetNamesInput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ListTypedLinkFacetNamesResponse type ListTypedLinkFacetNamesOutput struct { _ struct{} `type:"structure"` @@ -13192,18 +10738,6 @@ func (s ListTypedLinkFacetNamesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFacetNames sets the FacetNames field's value. -func (s *ListTypedLinkFacetNamesOutput) SetFacetNames(v []string) *ListTypedLinkFacetNamesOutput { - s.FacetNames = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTypedLinkFacetNamesOutput) SetNextToken(v string) *ListTypedLinkFacetNamesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/LookupPolicyRequest type LookupPolicyInput struct { _ struct{} `type:"structure"` @@ -13258,30 +10792,6 @@ func (s *LookupPolicyInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *LookupPolicyInput) SetDirectoryArn(v string) *LookupPolicyInput { - s.DirectoryArn = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *LookupPolicyInput) SetMaxResults(v int64) *LookupPolicyInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *LookupPolicyInput) SetNextToken(v string) *LookupPolicyInput { - s.NextToken = &v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *LookupPolicyInput) SetObjectReference(v *ObjectReference) *LookupPolicyInput { - s.ObjectReference = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/LookupPolicyResponse type LookupPolicyOutput struct { _ struct{} `type:"structure"` @@ -13311,18 +10821,6 @@ func (s LookupPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *LookupPolicyOutput) SetNextToken(v string) *LookupPolicyOutput { - s.NextToken = &v - return s -} - -// SetPolicyToPathList sets the PolicyToPathList field's value. -func (s *LookupPolicyOutput) SetPolicyToPathList(v []PolicyToPath) *LookupPolicyOutput { - s.PolicyToPathList = v - return s -} - // The action to take on the object attribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ObjectAttributeAction type ObjectAttributeAction struct { @@ -13345,18 +10843,6 @@ func (s ObjectAttributeAction) GoString() string { return s.String() } -// SetObjectAttributeActionType sets the ObjectAttributeActionType field's value. -func (s *ObjectAttributeAction) SetObjectAttributeActionType(v UpdateActionType) *ObjectAttributeAction { - s.ObjectAttributeActionType = v - return s -} - -// SetObjectAttributeUpdateValue sets the ObjectAttributeUpdateValue field's value. -func (s *ObjectAttributeAction) SetObjectAttributeUpdateValue(v *TypedAttributeValue) *ObjectAttributeAction { - s.ObjectAttributeUpdateValue = v - return s -} - // A range of attributes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ObjectAttributeRange type ObjectAttributeRange struct { @@ -13399,18 +10885,6 @@ func (s *ObjectAttributeRange) Validate() error { return nil } -// SetAttributeKey sets the AttributeKey field's value. -func (s *ObjectAttributeRange) SetAttributeKey(v *AttributeKey) *ObjectAttributeRange { - s.AttributeKey = v - return s -} - -// SetRange sets the Range field's value. -func (s *ObjectAttributeRange) SetRange(v *TypedAttributeValueRange) *ObjectAttributeRange { - s.Range = v - return s -} - // Structure that contains attribute update information. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ObjectAttributeUpdate type ObjectAttributeUpdate struct { @@ -13448,18 +10922,6 @@ func (s *ObjectAttributeUpdate) Validate() error { return nil } -// SetObjectAttributeAction sets the ObjectAttributeAction field's value. -func (s *ObjectAttributeUpdate) SetObjectAttributeAction(v *ObjectAttributeAction) *ObjectAttributeUpdate { - s.ObjectAttributeAction = v - return s -} - -// SetObjectAttributeKey sets the ObjectAttributeKey field's value. -func (s *ObjectAttributeUpdate) SetObjectAttributeKey(v *AttributeKey) *ObjectAttributeUpdate { - s.ObjectAttributeKey = v - return s -} - // The reference that identifies an object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/ObjectReference type ObjectReference struct { @@ -13493,12 +10955,6 @@ func (s ObjectReference) GoString() string { return s.String() } -// SetSelector sets the Selector field's value. -func (s *ObjectReference) SetSelector(v string) *ObjectReference { - s.Selector = &v - return s -} - // Returns the path to the ObjectIdentifiers that is associated with the directory. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/PathToObjectIdentifiers type PathToObjectIdentifiers struct { @@ -13522,18 +10978,6 @@ func (s PathToObjectIdentifiers) GoString() string { return s.String() } -// SetObjectIdentifiers sets the ObjectIdentifiers field's value. -func (s *PathToObjectIdentifiers) SetObjectIdentifiers(v []string) *PathToObjectIdentifiers { - s.ObjectIdentifiers = v - return s -} - -// SetPath sets the Path field's value. -func (s *PathToObjectIdentifiers) SetPath(v string) *PathToObjectIdentifiers { - s.Path = &v - return s -} - // Contains the PolicyType, PolicyId, and the ObjectIdentifier to which it is // attached. For more information, see Policies (http://docs.aws.amazon.com/directoryservice/latest/admin-guide/cd_key_concepts.html#policies). // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/PolicyAttachment @@ -13560,24 +11004,6 @@ func (s PolicyAttachment) GoString() string { return s.String() } -// SetObjectIdentifier sets the ObjectIdentifier field's value. -func (s *PolicyAttachment) SetObjectIdentifier(v string) *PolicyAttachment { - s.ObjectIdentifier = &v - return s -} - -// SetPolicyId sets the PolicyId field's value. -func (s *PolicyAttachment) SetPolicyId(v string) *PolicyAttachment { - s.PolicyId = &v - return s -} - -// SetPolicyType sets the PolicyType field's value. -func (s *PolicyAttachment) SetPolicyType(v string) *PolicyAttachment { - s.PolicyType = &v - return s -} - // Used when a regular object exists in a Directory and you want to find all // of the policies that are associated with that object and the parent to that // object. @@ -13602,18 +11028,6 @@ func (s PolicyToPath) GoString() string { return s.String() } -// SetPath sets the Path field's value. -func (s *PolicyToPath) SetPath(v string) *PolicyToPath { - s.Path = &v - return s -} - -// SetPolicies sets the Policies field's value. -func (s *PolicyToPath) SetPolicies(v []PolicyAttachment) *PolicyToPath { - s.Policies = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/PublishSchemaRequest type PublishSchemaInput struct { _ struct{} `type:"structure"` @@ -13677,30 +11091,6 @@ func (s *PublishSchemaInput) Validate() error { return nil } -// SetDevelopmentSchemaArn sets the DevelopmentSchemaArn field's value. -func (s *PublishSchemaInput) SetDevelopmentSchemaArn(v string) *PublishSchemaInput { - s.DevelopmentSchemaArn = &v - return s -} - -// SetMinorVersion sets the MinorVersion field's value. -func (s *PublishSchemaInput) SetMinorVersion(v string) *PublishSchemaInput { - s.MinorVersion = &v - return s -} - -// SetName sets the Name field's value. -func (s *PublishSchemaInput) SetName(v string) *PublishSchemaInput { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *PublishSchemaInput) SetVersion(v string) *PublishSchemaInput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/PublishSchemaResponse type PublishSchemaOutput struct { _ struct{} `type:"structure"` @@ -13727,12 +11117,6 @@ func (s PublishSchemaOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPublishedSchemaArn sets the PublishedSchemaArn field's value. -func (s *PublishSchemaOutput) SetPublishedSchemaArn(v string) *PublishSchemaOutput { - s.PublishedSchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/PutSchemaFromJsonRequest type PutSchemaFromJsonInput struct { _ struct{} `type:"structure"` @@ -13776,18 +11160,6 @@ func (s *PutSchemaFromJsonInput) Validate() error { return nil } -// SetDocument sets the Document field's value. -func (s *PutSchemaFromJsonInput) SetDocument(v string) *PutSchemaFromJsonInput { - s.Document = &v - return s -} - -// SetSchemaArn sets the SchemaArn field's value. -func (s *PutSchemaFromJsonInput) SetSchemaArn(v string) *PutSchemaFromJsonInput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/PutSchemaFromJsonResponse type PutSchemaFromJsonOutput struct { _ struct{} `type:"structure"` @@ -13813,12 +11185,6 @@ func (s PutSchemaFromJsonOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *PutSchemaFromJsonOutput) SetArn(v string) *PutSchemaFromJsonOutput { - s.Arn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/RemoveFacetFromObjectRequest type RemoveFacetFromObjectInput struct { _ struct{} `type:"structure"` @@ -13876,24 +11242,6 @@ func (s *RemoveFacetFromObjectInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *RemoveFacetFromObjectInput) SetDirectoryArn(v string) *RemoveFacetFromObjectInput { - s.DirectoryArn = &v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *RemoveFacetFromObjectInput) SetObjectReference(v *ObjectReference) *RemoveFacetFromObjectInput { - s.ObjectReference = v - return s -} - -// SetSchemaFacet sets the SchemaFacet field's value. -func (s *RemoveFacetFromObjectInput) SetSchemaFacet(v *SchemaFacet) *RemoveFacetFromObjectInput { - s.SchemaFacet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/RemoveFacetFromObjectResponse type RemoveFacetFromObjectOutput struct { _ struct{} `type:"structure"` @@ -13939,18 +11287,6 @@ func (s Rule) GoString() string { return s.String() } -// SetParameters sets the Parameters field's value. -func (s *Rule) SetParameters(v map[string]string) *Rule { - s.Parameters = v - return s -} - -// SetType sets the Type field's value. -func (s *Rule) SetType(v RuleType) *Rule { - s.Type = v - return s -} - // A facet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/SchemaFacet type SchemaFacet struct { @@ -13988,18 +11324,6 @@ func (s *SchemaFacet) Validate() error { return nil } -// SetFacetName sets the FacetName field's value. -func (s *SchemaFacet) SetFacetName(v string) *SchemaFacet { - s.FacetName = &v - return s -} - -// SetSchemaArn sets the SchemaArn field's value. -func (s *SchemaFacet) SetSchemaArn(v string) *SchemaFacet { - s.SchemaArn = &v - return s -} - // The tag structure that contains a tag key and value. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/Tag type Tag struct { @@ -14022,18 +11346,6 @@ func (s Tag) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/TagResourceRequest type TagResourceInput struct { _ struct{} `type:"structure"` @@ -14078,18 +11390,6 @@ func (s *TagResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput { - s.ResourceArn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagResourceInput) SetTags(v []Tag) *TagResourceInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/TagResourceResponse type TagResourceOutput struct { _ struct{} `type:"structure"` @@ -14147,36 +11447,6 @@ func (s TypedAttributeValue) GoString() string { return s.String() } -// SetBinaryValue sets the BinaryValue field's value. -func (s *TypedAttributeValue) SetBinaryValue(v []byte) *TypedAttributeValue { - s.BinaryValue = v - return s -} - -// SetBooleanValue sets the BooleanValue field's value. -func (s *TypedAttributeValue) SetBooleanValue(v bool) *TypedAttributeValue { - s.BooleanValue = &v - return s -} - -// SetDatetimeValue sets the DatetimeValue field's value. -func (s *TypedAttributeValue) SetDatetimeValue(v time.Time) *TypedAttributeValue { - s.DatetimeValue = &v - return s -} - -// SetNumberValue sets the NumberValue field's value. -func (s *TypedAttributeValue) SetNumberValue(v string) *TypedAttributeValue { - s.NumberValue = &v - return s -} - -// SetStringValue sets the StringValue field's value. -func (s *TypedAttributeValue) SetStringValue(v string) *TypedAttributeValue { - s.StringValue = &v - return s -} - // A range of attribute values. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/TypedAttributeValueRange type TypedAttributeValueRange struct { @@ -14225,30 +11495,6 @@ func (s *TypedAttributeValueRange) Validate() error { return nil } -// SetEndMode sets the EndMode field's value. -func (s *TypedAttributeValueRange) SetEndMode(v RangeMode) *TypedAttributeValueRange { - s.EndMode = v - return s -} - -// SetEndValue sets the EndValue field's value. -func (s *TypedAttributeValueRange) SetEndValue(v *TypedAttributeValue) *TypedAttributeValueRange { - s.EndValue = v - return s -} - -// SetStartMode sets the StartMode field's value. -func (s *TypedAttributeValueRange) SetStartMode(v RangeMode) *TypedAttributeValueRange { - s.StartMode = v - return s -} - -// SetStartValue sets the StartValue field's value. -func (s *TypedAttributeValueRange) SetStartValue(v *TypedAttributeValue) *TypedAttributeValueRange { - s.StartValue = v - return s -} - // A typed link attribute definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/TypedLinkAttributeDefinition type TypedLinkAttributeDefinition struct { @@ -14312,42 +11558,6 @@ func (s *TypedLinkAttributeDefinition) Validate() error { return nil } -// SetDefaultValue sets the DefaultValue field's value. -func (s *TypedLinkAttributeDefinition) SetDefaultValue(v *TypedAttributeValue) *TypedLinkAttributeDefinition { - s.DefaultValue = v - return s -} - -// SetIsImmutable sets the IsImmutable field's value. -func (s *TypedLinkAttributeDefinition) SetIsImmutable(v bool) *TypedLinkAttributeDefinition { - s.IsImmutable = &v - return s -} - -// SetName sets the Name field's value. -func (s *TypedLinkAttributeDefinition) SetName(v string) *TypedLinkAttributeDefinition { - s.Name = &v - return s -} - -// SetRequiredBehavior sets the RequiredBehavior field's value. -func (s *TypedLinkAttributeDefinition) SetRequiredBehavior(v RequiredAttributeBehavior) *TypedLinkAttributeDefinition { - s.RequiredBehavior = v - return s -} - -// SetRules sets the Rules field's value. -func (s *TypedLinkAttributeDefinition) SetRules(v map[string]Rule) *TypedLinkAttributeDefinition { - s.Rules = v - return s -} - -// SetType sets the Type field's value. -func (s *TypedLinkAttributeDefinition) SetType(v FacetAttributeType) *TypedLinkAttributeDefinition { - s.Type = v - return s -} - // Identifies the range of attributes that are used by a specified filter. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/TypedLinkAttributeRange type TypedLinkAttributeRange struct { @@ -14394,18 +11604,6 @@ func (s *TypedLinkAttributeRange) Validate() error { return nil } -// SetAttributeName sets the AttributeName field's value. -func (s *TypedLinkAttributeRange) SetAttributeName(v string) *TypedLinkAttributeRange { - s.AttributeName = &v - return s -} - -// SetRange sets the Range field's value. -func (s *TypedLinkAttributeRange) SetRange(v *TypedAttributeValueRange) *TypedLinkAttributeRange { - s.Range = v - return s -} - // Defines the typed links structure and its attributes. To create a typed link // facet, use the CreateTypedLinkFacet API. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/TypedLinkFacet @@ -14473,24 +11671,6 @@ func (s *TypedLinkFacet) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *TypedLinkFacet) SetAttributes(v []TypedLinkAttributeDefinition) *TypedLinkFacet { - s.Attributes = v - return s -} - -// SetIdentityAttributeOrder sets the IdentityAttributeOrder field's value. -func (s *TypedLinkFacet) SetIdentityAttributeOrder(v []string) *TypedLinkFacet { - s.IdentityAttributeOrder = v - return s -} - -// SetName sets the Name field's value. -func (s *TypedLinkFacet) SetName(v string) *TypedLinkFacet { - s.Name = &v - return s -} - // A typed link facet attribute update. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/TypedLinkFacetAttributeUpdate type TypedLinkFacetAttributeUpdate struct { @@ -14539,18 +11719,6 @@ func (s *TypedLinkFacetAttributeUpdate) Validate() error { return nil } -// SetAction sets the Action field's value. -func (s *TypedLinkFacetAttributeUpdate) SetAction(v UpdateActionType) *TypedLinkFacetAttributeUpdate { - s.Action = v - return s -} - -// SetAttribute sets the Attribute field's value. -func (s *TypedLinkFacetAttributeUpdate) SetAttribute(v *TypedLinkAttributeDefinition) *TypedLinkFacetAttributeUpdate { - s.Attribute = v - return s -} - // Identifies the schema Amazon Resource Name (ARN) and facet name for the typed // link. // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/TypedLinkSchemaAndFacetName @@ -14597,18 +11765,6 @@ func (s *TypedLinkSchemaAndFacetName) Validate() error { return nil } -// SetSchemaArn sets the SchemaArn field's value. -func (s *TypedLinkSchemaAndFacetName) SetSchemaArn(v string) *TypedLinkSchemaAndFacetName { - s.SchemaArn = &v - return s -} - -// SetTypedLinkName sets the TypedLinkName field's value. -func (s *TypedLinkSchemaAndFacetName) SetTypedLinkName(v string) *TypedLinkSchemaAndFacetName { - s.TypedLinkName = &v - return s -} - // Contains all the information that is used to uniquely identify a typed link. // The parameters discussed in this topic are used to uniquely specify the typed // link being operated on. The AttachTypedLink API returns a typed link specifier @@ -14688,30 +11844,6 @@ func (s *TypedLinkSpecifier) Validate() error { return nil } -// SetIdentityAttributeValues sets the IdentityAttributeValues field's value. -func (s *TypedLinkSpecifier) SetIdentityAttributeValues(v []AttributeNameAndValue) *TypedLinkSpecifier { - s.IdentityAttributeValues = v - return s -} - -// SetSourceObjectReference sets the SourceObjectReference field's value. -func (s *TypedLinkSpecifier) SetSourceObjectReference(v *ObjectReference) *TypedLinkSpecifier { - s.SourceObjectReference = v - return s -} - -// SetTargetObjectReference sets the TargetObjectReference field's value. -func (s *TypedLinkSpecifier) SetTargetObjectReference(v *ObjectReference) *TypedLinkSpecifier { - s.TargetObjectReference = v - return s -} - -// SetTypedLinkFacet sets the TypedLinkFacet field's value. -func (s *TypedLinkSpecifier) SetTypedLinkFacet(v *TypedLinkSchemaAndFacetName) *TypedLinkSpecifier { - s.TypedLinkFacet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UntagResourceRequest type UntagResourceInput struct { _ struct{} `type:"structure"` @@ -14756,18 +11888,6 @@ func (s *UntagResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { - s.ResourceArn = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *UntagResourceInput) SetTagKeys(v []string) *UntagResourceInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UntagResourceResponse type UntagResourceOutput struct { _ struct{} `type:"structure"` @@ -14853,30 +11973,6 @@ func (s *UpdateFacetInput) Validate() error { return nil } -// SetAttributeUpdates sets the AttributeUpdates field's value. -func (s *UpdateFacetInput) SetAttributeUpdates(v []FacetAttributeUpdate) *UpdateFacetInput { - s.AttributeUpdates = v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateFacetInput) SetName(v string) *UpdateFacetInput { - s.Name = &v - return s -} - -// SetObjectType sets the ObjectType field's value. -func (s *UpdateFacetInput) SetObjectType(v ObjectType) *UpdateFacetInput { - s.ObjectType = v - return s -} - -// SetSchemaArn sets the SchemaArn field's value. -func (s *UpdateFacetInput) SetSchemaArn(v string) *UpdateFacetInput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UpdateFacetResponse type UpdateFacetOutput struct { _ struct{} `type:"structure"` @@ -14959,24 +12055,6 @@ func (s *UpdateObjectAttributesInput) Validate() error { return nil } -// SetAttributeUpdates sets the AttributeUpdates field's value. -func (s *UpdateObjectAttributesInput) SetAttributeUpdates(v []ObjectAttributeUpdate) *UpdateObjectAttributesInput { - s.AttributeUpdates = v - return s -} - -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *UpdateObjectAttributesInput) SetDirectoryArn(v string) *UpdateObjectAttributesInput { - s.DirectoryArn = &v - return s -} - -// SetObjectReference sets the ObjectReference field's value. -func (s *UpdateObjectAttributesInput) SetObjectReference(v *ObjectReference) *UpdateObjectAttributesInput { - s.ObjectReference = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UpdateObjectAttributesResponse type UpdateObjectAttributesOutput struct { _ struct{} `type:"structure"` @@ -15002,12 +12080,6 @@ func (s UpdateObjectAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetObjectIdentifier sets the ObjectIdentifier field's value. -func (s *UpdateObjectAttributesOutput) SetObjectIdentifier(v string) *UpdateObjectAttributesOutput { - s.ObjectIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UpdateSchemaRequest type UpdateSchemaInput struct { _ struct{} `type:"structure"` @@ -15055,18 +12127,6 @@ func (s *UpdateSchemaInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *UpdateSchemaInput) SetName(v string) *UpdateSchemaInput { - s.Name = &v - return s -} - -// SetSchemaArn sets the SchemaArn field's value. -func (s *UpdateSchemaInput) SetSchemaArn(v string) *UpdateSchemaInput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UpdateSchemaResponse type UpdateSchemaOutput struct { _ struct{} `type:"structure"` @@ -15093,12 +12153,6 @@ func (s UpdateSchemaOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSchemaArn sets the SchemaArn field's value. -func (s *UpdateSchemaOutput) SetSchemaArn(v string) *UpdateSchemaOutput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UpdateTypedLinkFacetRequest type UpdateTypedLinkFacetInput struct { _ struct{} `type:"structure"` @@ -15175,30 +12229,6 @@ func (s *UpdateTypedLinkFacetInput) Validate() error { return nil } -// SetAttributeUpdates sets the AttributeUpdates field's value. -func (s *UpdateTypedLinkFacetInput) SetAttributeUpdates(v []TypedLinkFacetAttributeUpdate) *UpdateTypedLinkFacetInput { - s.AttributeUpdates = v - return s -} - -// SetIdentityAttributeOrder sets the IdentityAttributeOrder field's value. -func (s *UpdateTypedLinkFacetInput) SetIdentityAttributeOrder(v []string) *UpdateTypedLinkFacetInput { - s.IdentityAttributeOrder = v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateTypedLinkFacetInput) SetName(v string) *UpdateTypedLinkFacetInput { - s.Name = &v - return s -} - -// SetSchemaArn sets the SchemaArn field's value. -func (s *UpdateTypedLinkFacetInput) SetSchemaArn(v string) *UpdateTypedLinkFacetInput { - s.SchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UpdateTypedLinkFacetResponse type UpdateTypedLinkFacetOutput struct { _ struct{} `type:"structure"` @@ -15269,24 +12299,6 @@ func (s *UpgradeAppliedSchemaInput) Validate() error { return nil } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *UpgradeAppliedSchemaInput) SetDirectoryArn(v string) *UpgradeAppliedSchemaInput { - s.DirectoryArn = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *UpgradeAppliedSchemaInput) SetDryRun(v bool) *UpgradeAppliedSchemaInput { - s.DryRun = &v - return s -} - -// SetPublishedSchemaArn sets the PublishedSchemaArn field's value. -func (s *UpgradeAppliedSchemaInput) SetPublishedSchemaArn(v string) *UpgradeAppliedSchemaInput { - s.PublishedSchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UpgradeAppliedSchemaResponse type UpgradeAppliedSchemaOutput struct { _ struct{} `type:"structure"` @@ -15315,18 +12327,6 @@ func (s UpgradeAppliedSchemaOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDirectoryArn sets the DirectoryArn field's value. -func (s *UpgradeAppliedSchemaOutput) SetDirectoryArn(v string) *UpgradeAppliedSchemaOutput { - s.DirectoryArn = &v - return s -} - -// SetUpgradedSchemaArn sets the UpgradedSchemaArn field's value. -func (s *UpgradeAppliedSchemaOutput) SetUpgradedSchemaArn(v string) *UpgradeAppliedSchemaOutput { - s.UpgradedSchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UpgradePublishedSchemaRequest type UpgradePublishedSchemaInput struct { _ struct{} `type:"structure"` @@ -15389,30 +12389,6 @@ func (s *UpgradePublishedSchemaInput) Validate() error { return nil } -// SetDevelopmentSchemaArn sets the DevelopmentSchemaArn field's value. -func (s *UpgradePublishedSchemaInput) SetDevelopmentSchemaArn(v string) *UpgradePublishedSchemaInput { - s.DevelopmentSchemaArn = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *UpgradePublishedSchemaInput) SetDryRun(v bool) *UpgradePublishedSchemaInput { - s.DryRun = &v - return s -} - -// SetMinorVersion sets the MinorVersion field's value. -func (s *UpgradePublishedSchemaInput) SetMinorVersion(v string) *UpgradePublishedSchemaInput { - s.MinorVersion = &v - return s -} - -// SetPublishedSchemaArn sets the PublishedSchemaArn field's value. -func (s *UpgradePublishedSchemaInput) SetPublishedSchemaArn(v string) *UpgradePublishedSchemaInput { - s.PublishedSchemaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2016-05-10/UpgradePublishedSchemaResponse type UpgradePublishedSchemaOutput struct { _ struct{} `type:"structure"` @@ -15438,12 +12414,6 @@ func (s UpgradePublishedSchemaOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUpgradedSchemaArn sets the UpgradedSchemaArn field's value. -func (s *UpgradePublishedSchemaOutput) SetUpgradedSchemaArn(v string) *UpgradePublishedSchemaOutput { - s.UpgradedSchemaArn = &v - return s -} - type BatchReadExceptionType string // Enum values for BatchReadExceptionType diff --git a/service/cloudformation/api.go b/service/cloudformation/api.go index aa1dc250ffd..ab4b18ca708 100644 --- a/service/cloudformation/api.go +++ b/service/cloudformation/api.go @@ -2610,18 +2610,6 @@ func (s AccountGateResult) GoString() string { return s.String() } -// SetStatus sets the Status field's value. -func (s *AccountGateResult) SetStatus(v AccountGateStatus) *AccountGateResult { - s.Status = v - return s -} - -// SetStatusReason sets the StatusReason field's value. -func (s *AccountGateResult) SetStatusReason(v string) *AccountGateResult { - s.StatusReason = &v - return s -} - // The AccountLimit data type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/AccountLimit type AccountLimit struct { @@ -2644,18 +2632,6 @@ func (s AccountLimit) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *AccountLimit) SetName(v string) *AccountLimit { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *AccountLimit) SetValue(v int64) *AccountLimit { - s.Value = &v - return s -} - // The input for the CancelUpdateStack action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStackInput type CancelUpdateStackInput struct { @@ -2701,18 +2677,6 @@ func (s *CancelUpdateStackInput) Validate() error { return nil } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *CancelUpdateStackInput) SetClientRequestToken(v string) *CancelUpdateStackInput { - s.ClientRequestToken = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *CancelUpdateStackInput) SetStackName(v string) *CancelUpdateStackInput { - s.StackName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStackOutput type CancelUpdateStackOutput struct { _ struct{} `type:"structure"` @@ -2760,18 +2724,6 @@ func (s Change) GoString() string { return s.String() } -// SetResourceChange sets the ResourceChange field's value. -func (s *Change) SetResourceChange(v *ResourceChange) *Change { - s.ResourceChange = v - return s -} - -// SetType sets the Type field's value. -func (s *Change) SetType(v ChangeType) *Change { - s.Type = v - return s -} - // The ChangeSetSummary structure describes a change set, its status, and the // stack with which it's associated. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ChangeSetSummary @@ -2822,60 +2774,6 @@ func (s ChangeSetSummary) GoString() string { return s.String() } -// SetChangeSetId sets the ChangeSetId field's value. -func (s *ChangeSetSummary) SetChangeSetId(v string) *ChangeSetSummary { - s.ChangeSetId = &v - return s -} - -// SetChangeSetName sets the ChangeSetName field's value. -func (s *ChangeSetSummary) SetChangeSetName(v string) *ChangeSetSummary { - s.ChangeSetName = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *ChangeSetSummary) SetCreationTime(v time.Time) *ChangeSetSummary { - s.CreationTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ChangeSetSummary) SetDescription(v string) *ChangeSetSummary { - s.Description = &v - return s -} - -// SetExecutionStatus sets the ExecutionStatus field's value. -func (s *ChangeSetSummary) SetExecutionStatus(v ExecutionStatus) *ChangeSetSummary { - s.ExecutionStatus = v - return s -} - -// SetStackId sets the StackId field's value. -func (s *ChangeSetSummary) SetStackId(v string) *ChangeSetSummary { - s.StackId = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *ChangeSetSummary) SetStackName(v string) *ChangeSetSummary { - s.StackName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ChangeSetSummary) SetStatus(v ChangeSetStatus) *ChangeSetSummary { - s.Status = v - return s -} - -// SetStatusReason sets the StatusReason field's value. -func (s *ChangeSetSummary) SetStatusReason(v string) *ChangeSetSummary { - s.StatusReason = &v - return s -} - // The input for the ContinueUpdateRollback action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollbackInput type ContinueUpdateRollbackInput struct { @@ -2980,30 +2878,6 @@ func (s *ContinueUpdateRollbackInput) Validate() error { return nil } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *ContinueUpdateRollbackInput) SetClientRequestToken(v string) *ContinueUpdateRollbackInput { - s.ClientRequestToken = &v - return s -} - -// SetResourcesToSkip sets the ResourcesToSkip field's value. -func (s *ContinueUpdateRollbackInput) SetResourcesToSkip(v []string) *ContinueUpdateRollbackInput { - s.ResourcesToSkip = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *ContinueUpdateRollbackInput) SetRoleARN(v string) *ContinueUpdateRollbackInput { - s.RoleARN = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *ContinueUpdateRollbackInput) SetStackName(v string) *ContinueUpdateRollbackInput { - s.StackName = &v - return s -} - // The output for a ContinueUpdateRollback action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollbackOutput type ContinueUpdateRollbackOutput struct { @@ -3224,96 +3098,6 @@ func (s *CreateChangeSetInput) Validate() error { return nil } -// SetCapabilities sets the Capabilities field's value. -func (s *CreateChangeSetInput) SetCapabilities(v []Capability) *CreateChangeSetInput { - s.Capabilities = v - return s -} - -// SetChangeSetName sets the ChangeSetName field's value. -func (s *CreateChangeSetInput) SetChangeSetName(v string) *CreateChangeSetInput { - s.ChangeSetName = &v - return s -} - -// SetChangeSetType sets the ChangeSetType field's value. -func (s *CreateChangeSetInput) SetChangeSetType(v ChangeSetType) *CreateChangeSetInput { - s.ChangeSetType = v - return s -} - -// SetClientToken sets the ClientToken field's value. -func (s *CreateChangeSetInput) SetClientToken(v string) *CreateChangeSetInput { - s.ClientToken = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateChangeSetInput) SetDescription(v string) *CreateChangeSetInput { - s.Description = &v - return s -} - -// SetNotificationARNs sets the NotificationARNs field's value. -func (s *CreateChangeSetInput) SetNotificationARNs(v []string) *CreateChangeSetInput { - s.NotificationARNs = v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *CreateChangeSetInput) SetParameters(v []Parameter) *CreateChangeSetInput { - s.Parameters = v - return s -} - -// SetResourceTypes sets the ResourceTypes field's value. -func (s *CreateChangeSetInput) SetResourceTypes(v []string) *CreateChangeSetInput { - s.ResourceTypes = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *CreateChangeSetInput) SetRoleARN(v string) *CreateChangeSetInput { - s.RoleARN = &v - return s -} - -// SetRollbackConfiguration sets the RollbackConfiguration field's value. -func (s *CreateChangeSetInput) SetRollbackConfiguration(v *RollbackConfiguration) *CreateChangeSetInput { - s.RollbackConfiguration = v - return s -} - -// SetStackName sets the StackName field's value. -func (s *CreateChangeSetInput) SetStackName(v string) *CreateChangeSetInput { - s.StackName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateChangeSetInput) SetTags(v []Tag) *CreateChangeSetInput { - s.Tags = v - return s -} - -// SetTemplateBody sets the TemplateBody field's value. -func (s *CreateChangeSetInput) SetTemplateBody(v string) *CreateChangeSetInput { - s.TemplateBody = &v - return s -} - -// SetTemplateURL sets the TemplateURL field's value. -func (s *CreateChangeSetInput) SetTemplateURL(v string) *CreateChangeSetInput { - s.TemplateURL = &v - return s -} - -// SetUsePreviousTemplate sets the UsePreviousTemplate field's value. -func (s *CreateChangeSetInput) SetUsePreviousTemplate(v bool) *CreateChangeSetInput { - s.UsePreviousTemplate = &v - return s -} - // The output for the CreateChangeSet action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSetOutput type CreateChangeSetOutput struct { @@ -3343,18 +3127,6 @@ func (s CreateChangeSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetId sets the Id field's value. -func (s *CreateChangeSetOutput) SetId(v string) *CreateChangeSetOutput { - s.Id = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *CreateChangeSetOutput) SetStackId(v string) *CreateChangeSetOutput { - s.StackId = &v - return s -} - // The input for CreateStack action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInput type CreateStackInput struct { @@ -3579,108 +3351,6 @@ func (s *CreateStackInput) Validate() error { return nil } -// SetCapabilities sets the Capabilities field's value. -func (s *CreateStackInput) SetCapabilities(v []Capability) *CreateStackInput { - s.Capabilities = v - return s -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *CreateStackInput) SetClientRequestToken(v string) *CreateStackInput { - s.ClientRequestToken = &v - return s -} - -// SetDisableRollback sets the DisableRollback field's value. -func (s *CreateStackInput) SetDisableRollback(v bool) *CreateStackInput { - s.DisableRollback = &v - return s -} - -// SetEnableTerminationProtection sets the EnableTerminationProtection field's value. -func (s *CreateStackInput) SetEnableTerminationProtection(v bool) *CreateStackInput { - s.EnableTerminationProtection = &v - return s -} - -// SetNotificationARNs sets the NotificationARNs field's value. -func (s *CreateStackInput) SetNotificationARNs(v []string) *CreateStackInput { - s.NotificationARNs = v - return s -} - -// SetOnFailure sets the OnFailure field's value. -func (s *CreateStackInput) SetOnFailure(v OnFailure) *CreateStackInput { - s.OnFailure = v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *CreateStackInput) SetParameters(v []Parameter) *CreateStackInput { - s.Parameters = v - return s -} - -// SetResourceTypes sets the ResourceTypes field's value. -func (s *CreateStackInput) SetResourceTypes(v []string) *CreateStackInput { - s.ResourceTypes = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *CreateStackInput) SetRoleARN(v string) *CreateStackInput { - s.RoleARN = &v - return s -} - -// SetRollbackConfiguration sets the RollbackConfiguration field's value. -func (s *CreateStackInput) SetRollbackConfiguration(v *RollbackConfiguration) *CreateStackInput { - s.RollbackConfiguration = v - return s -} - -// SetStackName sets the StackName field's value. -func (s *CreateStackInput) SetStackName(v string) *CreateStackInput { - s.StackName = &v - return s -} - -// SetStackPolicyBody sets the StackPolicyBody field's value. -func (s *CreateStackInput) SetStackPolicyBody(v string) *CreateStackInput { - s.StackPolicyBody = &v - return s -} - -// SetStackPolicyURL sets the StackPolicyURL field's value. -func (s *CreateStackInput) SetStackPolicyURL(v string) *CreateStackInput { - s.StackPolicyURL = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateStackInput) SetTags(v []Tag) *CreateStackInput { - s.Tags = v - return s -} - -// SetTemplateBody sets the TemplateBody field's value. -func (s *CreateStackInput) SetTemplateBody(v string) *CreateStackInput { - s.TemplateBody = &v - return s -} - -// SetTemplateURL sets the TemplateURL field's value. -func (s *CreateStackInput) SetTemplateURL(v string) *CreateStackInput { - s.TemplateURL = &v - return s -} - -// SetTimeoutInMinutes sets the TimeoutInMinutes field's value. -func (s *CreateStackInput) SetTimeoutInMinutes(v int64) *CreateStackInput { - s.TimeoutInMinutes = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInstancesInput type CreateStackInstancesInput struct { _ struct{} `type:"structure"` @@ -3793,42 +3463,6 @@ func (s *CreateStackInstancesInput) Validate() error { return nil } -// SetAccounts sets the Accounts field's value. -func (s *CreateStackInstancesInput) SetAccounts(v []string) *CreateStackInstancesInput { - s.Accounts = v - return s -} - -// SetOperationId sets the OperationId field's value. -func (s *CreateStackInstancesInput) SetOperationId(v string) *CreateStackInstancesInput { - s.OperationId = &v - return s -} - -// SetOperationPreferences sets the OperationPreferences field's value. -func (s *CreateStackInstancesInput) SetOperationPreferences(v *StackSetOperationPreferences) *CreateStackInstancesInput { - s.OperationPreferences = v - return s -} - -// SetParameterOverrides sets the ParameterOverrides field's value. -func (s *CreateStackInstancesInput) SetParameterOverrides(v []Parameter) *CreateStackInstancesInput { - s.ParameterOverrides = v - return s -} - -// SetRegions sets the Regions field's value. -func (s *CreateStackInstancesInput) SetRegions(v []string) *CreateStackInstancesInput { - s.Regions = v - return s -} - -// SetStackSetName sets the StackSetName field's value. -func (s *CreateStackInstancesInput) SetStackSetName(v string) *CreateStackInstancesInput { - s.StackSetName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInstancesOutput type CreateStackInstancesOutput struct { _ struct{} `type:"structure"` @@ -3854,12 +3488,6 @@ func (s CreateStackInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperationId sets the OperationId field's value. -func (s *CreateStackInstancesOutput) SetOperationId(v string) *CreateStackInstancesOutput { - s.OperationId = &v - return s -} - // The output for a CreateStack action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackOutput type CreateStackOutput struct { @@ -3886,12 +3514,6 @@ func (s CreateStackOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStackId sets the StackId field's value. -func (s *CreateStackOutput) SetStackId(v string) *CreateStackOutput { - s.StackId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackSetInput type CreateStackSetInput struct { _ struct{} `type:"structure"` @@ -4030,54 +3652,6 @@ func (s *CreateStackSetInput) Validate() error { return nil } -// SetCapabilities sets the Capabilities field's value. -func (s *CreateStackSetInput) SetCapabilities(v []Capability) *CreateStackSetInput { - s.Capabilities = v - return s -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *CreateStackSetInput) SetClientRequestToken(v string) *CreateStackSetInput { - s.ClientRequestToken = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateStackSetInput) SetDescription(v string) *CreateStackSetInput { - s.Description = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *CreateStackSetInput) SetParameters(v []Parameter) *CreateStackSetInput { - s.Parameters = v - return s -} - -// SetStackSetName sets the StackSetName field's value. -func (s *CreateStackSetInput) SetStackSetName(v string) *CreateStackSetInput { - s.StackSetName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateStackSetInput) SetTags(v []Tag) *CreateStackSetInput { - s.Tags = v - return s -} - -// SetTemplateBody sets the TemplateBody field's value. -func (s *CreateStackSetInput) SetTemplateBody(v string) *CreateStackSetInput { - s.TemplateBody = &v - return s -} - -// SetTemplateURL sets the TemplateURL field's value. -func (s *CreateStackSetInput) SetTemplateURL(v string) *CreateStackSetInput { - s.TemplateURL = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackSetOutput type CreateStackSetOutput struct { _ struct{} `type:"structure"` @@ -4103,12 +3677,6 @@ func (s CreateStackSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStackSetId sets the StackSetId field's value. -func (s *CreateStackSetOutput) SetStackSetId(v string) *CreateStackSetOutput { - s.StackSetId = &v - return s -} - // The input for the DeleteChangeSet action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSetInput type DeleteChangeSetInput struct { @@ -4155,18 +3723,6 @@ func (s *DeleteChangeSetInput) Validate() error { return nil } -// SetChangeSetName sets the ChangeSetName field's value. -func (s *DeleteChangeSetInput) SetChangeSetName(v string) *DeleteChangeSetInput { - s.ChangeSetName = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *DeleteChangeSetInput) SetStackName(v string) *DeleteChangeSetInput { - s.StackName = &v - return s -} - // The output for the DeleteChangeSet action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSetOutput type DeleteChangeSetOutput struct { @@ -4265,30 +3821,6 @@ func (s *DeleteStackInput) Validate() error { return nil } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *DeleteStackInput) SetClientRequestToken(v string) *DeleteStackInput { - s.ClientRequestToken = &v - return s -} - -// SetRetainResources sets the RetainResources field's value. -func (s *DeleteStackInput) SetRetainResources(v []string) *DeleteStackInput { - s.RetainResources = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *DeleteStackInput) SetRoleARN(v string) *DeleteStackInput { - s.RoleARN = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *DeleteStackInput) SetStackName(v string) *DeleteStackInput { - s.StackName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInstancesInput type DeleteStackInstancesInput struct { _ struct{} `type:"structure"` @@ -4379,42 +3911,6 @@ func (s *DeleteStackInstancesInput) Validate() error { return nil } -// SetAccounts sets the Accounts field's value. -func (s *DeleteStackInstancesInput) SetAccounts(v []string) *DeleteStackInstancesInput { - s.Accounts = v - return s -} - -// SetOperationId sets the OperationId field's value. -func (s *DeleteStackInstancesInput) SetOperationId(v string) *DeleteStackInstancesInput { - s.OperationId = &v - return s -} - -// SetOperationPreferences sets the OperationPreferences field's value. -func (s *DeleteStackInstancesInput) SetOperationPreferences(v *StackSetOperationPreferences) *DeleteStackInstancesInput { - s.OperationPreferences = v - return s -} - -// SetRegions sets the Regions field's value. -func (s *DeleteStackInstancesInput) SetRegions(v []string) *DeleteStackInstancesInput { - s.Regions = v - return s -} - -// SetRetainStacks sets the RetainStacks field's value. -func (s *DeleteStackInstancesInput) SetRetainStacks(v bool) *DeleteStackInstancesInput { - s.RetainStacks = &v - return s -} - -// SetStackSetName sets the StackSetName field's value. -func (s *DeleteStackInstancesInput) SetStackSetName(v string) *DeleteStackInstancesInput { - s.StackSetName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInstancesOutput type DeleteStackInstancesOutput struct { _ struct{} `type:"structure"` @@ -4440,12 +3936,6 @@ func (s DeleteStackInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperationId sets the OperationId field's value. -func (s *DeleteStackInstancesOutput) SetOperationId(v string) *DeleteStackInstancesOutput { - s.OperationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackOutput type DeleteStackOutput struct { _ struct{} `type:"structure"` @@ -4503,12 +3993,6 @@ func (s *DeleteStackSetInput) Validate() error { return nil } -// SetStackSetName sets the StackSetName field's value. -func (s *DeleteStackSetInput) SetStackSetName(v string) *DeleteStackSetInput { - s.StackSetName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackSetOutput type DeleteStackSetOutput struct { _ struct{} `type:"structure"` @@ -4563,12 +4047,6 @@ func (s *DescribeAccountLimitsInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *DescribeAccountLimitsInput) SetNextToken(v string) *DescribeAccountLimitsInput { - s.NextToken = &v - return s -} - // The output for the DescribeAccountLimits action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimitsOutput type DescribeAccountLimitsOutput struct { @@ -4600,18 +4078,6 @@ func (s DescribeAccountLimitsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAccountLimits sets the AccountLimits field's value. -func (s *DescribeAccountLimitsOutput) SetAccountLimits(v []AccountLimit) *DescribeAccountLimitsOutput { - s.AccountLimits = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAccountLimitsOutput) SetNextToken(v string) *DescribeAccountLimitsOutput { - s.NextToken = &v - return s -} - // The input for the DescribeChangeSet action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetInput type DescribeChangeSetInput struct { @@ -4665,24 +4131,6 @@ func (s *DescribeChangeSetInput) Validate() error { return nil } -// SetChangeSetName sets the ChangeSetName field's value. -func (s *DescribeChangeSetInput) SetChangeSetName(v string) *DescribeChangeSetInput { - s.ChangeSetName = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeChangeSetInput) SetNextToken(v string) *DescribeChangeSetInput { - s.NextToken = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *DescribeChangeSetInput) SetStackName(v string) *DescribeChangeSetInput { - s.StackName = &v - return s -} - // The output for the DescribeChangeSet action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetOutput type DescribeChangeSetOutput struct { @@ -4769,102 +4217,6 @@ func (s DescribeChangeSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCapabilities sets the Capabilities field's value. -func (s *DescribeChangeSetOutput) SetCapabilities(v []Capability) *DescribeChangeSetOutput { - s.Capabilities = v - return s -} - -// SetChangeSetId sets the ChangeSetId field's value. -func (s *DescribeChangeSetOutput) SetChangeSetId(v string) *DescribeChangeSetOutput { - s.ChangeSetId = &v - return s -} - -// SetChangeSetName sets the ChangeSetName field's value. -func (s *DescribeChangeSetOutput) SetChangeSetName(v string) *DescribeChangeSetOutput { - s.ChangeSetName = &v - return s -} - -// SetChanges sets the Changes field's value. -func (s *DescribeChangeSetOutput) SetChanges(v []Change) *DescribeChangeSetOutput { - s.Changes = v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *DescribeChangeSetOutput) SetCreationTime(v time.Time) *DescribeChangeSetOutput { - s.CreationTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *DescribeChangeSetOutput) SetDescription(v string) *DescribeChangeSetOutput { - s.Description = &v - return s -} - -// SetExecutionStatus sets the ExecutionStatus field's value. -func (s *DescribeChangeSetOutput) SetExecutionStatus(v ExecutionStatus) *DescribeChangeSetOutput { - s.ExecutionStatus = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeChangeSetOutput) SetNextToken(v string) *DescribeChangeSetOutput { - s.NextToken = &v - return s -} - -// SetNotificationARNs sets the NotificationARNs field's value. -func (s *DescribeChangeSetOutput) SetNotificationARNs(v []string) *DescribeChangeSetOutput { - s.NotificationARNs = v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *DescribeChangeSetOutput) SetParameters(v []Parameter) *DescribeChangeSetOutput { - s.Parameters = v - return s -} - -// SetRollbackConfiguration sets the RollbackConfiguration field's value. -func (s *DescribeChangeSetOutput) SetRollbackConfiguration(v *RollbackConfiguration) *DescribeChangeSetOutput { - s.RollbackConfiguration = v - return s -} - -// SetStackId sets the StackId field's value. -func (s *DescribeChangeSetOutput) SetStackId(v string) *DescribeChangeSetOutput { - s.StackId = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *DescribeChangeSetOutput) SetStackName(v string) *DescribeChangeSetOutput { - s.StackName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DescribeChangeSetOutput) SetStatus(v ChangeSetStatus) *DescribeChangeSetOutput { - s.Status = v - return s -} - -// SetStatusReason sets the StatusReason field's value. -func (s *DescribeChangeSetOutput) SetStatusReason(v string) *DescribeChangeSetOutput { - s.StatusReason = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *DescribeChangeSetOutput) SetTags(v []Tag) *DescribeChangeSetOutput { - s.Tags = v - return s -} - // The input for DescribeStackEvents action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEventsInput type DescribeStackEventsInput struct { @@ -4908,18 +4260,6 @@ func (s *DescribeStackEventsInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *DescribeStackEventsInput) SetNextToken(v string) *DescribeStackEventsInput { - s.NextToken = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *DescribeStackEventsInput) SetStackName(v string) *DescribeStackEventsInput { - s.StackName = &v - return s -} - // The output for a DescribeStackEvents action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEventsOutput type DescribeStackEventsOutput struct { @@ -4950,18 +4290,6 @@ func (s DescribeStackEventsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeStackEventsOutput) SetNextToken(v string) *DescribeStackEventsOutput { - s.NextToken = &v - return s -} - -// SetStackEvents sets the StackEvents field's value. -func (s *DescribeStackEventsOutput) SetStackEvents(v []StackEvent) *DescribeStackEventsOutput { - s.StackEvents = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackInstanceInput type DescribeStackInstanceInput struct { _ struct{} `type:"structure"` @@ -5015,24 +4343,6 @@ func (s *DescribeStackInstanceInput) Validate() error { return nil } -// SetStackInstanceAccount sets the StackInstanceAccount field's value. -func (s *DescribeStackInstanceInput) SetStackInstanceAccount(v string) *DescribeStackInstanceInput { - s.StackInstanceAccount = &v - return s -} - -// SetStackInstanceRegion sets the StackInstanceRegion field's value. -func (s *DescribeStackInstanceInput) SetStackInstanceRegion(v string) *DescribeStackInstanceInput { - s.StackInstanceRegion = &v - return s -} - -// SetStackSetName sets the StackSetName field's value. -func (s *DescribeStackInstanceInput) SetStackSetName(v string) *DescribeStackInstanceInput { - s.StackSetName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackInstanceOutput type DescribeStackInstanceOutput struct { _ struct{} `type:"structure"` @@ -5058,12 +4368,6 @@ func (s DescribeStackInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStackInstance sets the StackInstance field's value. -func (s *DescribeStackInstanceOutput) SetStackInstance(v *StackInstance) *DescribeStackInstanceOutput { - s.StackInstance = v - return s -} - // The input for DescribeStackResource action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourceInput type DescribeStackResourceInput struct { @@ -5118,18 +4422,6 @@ func (s *DescribeStackResourceInput) Validate() error { return nil } -// SetLogicalResourceId sets the LogicalResourceId field's value. -func (s *DescribeStackResourceInput) SetLogicalResourceId(v string) *DescribeStackResourceInput { - s.LogicalResourceId = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *DescribeStackResourceInput) SetStackName(v string) *DescribeStackResourceInput { - s.StackName = &v - return s -} - // The output for a DescribeStackResource action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourceOutput type DescribeStackResourceOutput struct { @@ -5157,12 +4449,6 @@ func (s DescribeStackResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStackResourceDetail sets the StackResourceDetail field's value. -func (s *DescribeStackResourceOutput) SetStackResourceDetail(v *StackResourceDetail) *DescribeStackResourceOutput { - s.StackResourceDetail = v - return s -} - // The input for DescribeStackResources action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourcesInput type DescribeStackResourcesInput struct { @@ -5212,24 +4498,6 @@ func (s DescribeStackResourcesInput) GoString() string { return s.String() } -// SetLogicalResourceId sets the LogicalResourceId field's value. -func (s *DescribeStackResourcesInput) SetLogicalResourceId(v string) *DescribeStackResourcesInput { - s.LogicalResourceId = &v - return s -} - -// SetPhysicalResourceId sets the PhysicalResourceId field's value. -func (s *DescribeStackResourcesInput) SetPhysicalResourceId(v string) *DescribeStackResourcesInput { - s.PhysicalResourceId = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *DescribeStackResourcesInput) SetStackName(v string) *DescribeStackResourcesInput { - s.StackName = &v - return s -} - // The output for a DescribeStackResources action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourcesOutput type DescribeStackResourcesOutput struct { @@ -5256,12 +4524,6 @@ func (s DescribeStackResourcesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStackResources sets the StackResources field's value. -func (s *DescribeStackResourcesOutput) SetStackResources(v []StackResource) *DescribeStackResourcesOutput { - s.StackResources = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetInput type DescribeStackSetInput struct { _ struct{} `type:"structure"` @@ -5296,12 +4558,6 @@ func (s *DescribeStackSetInput) Validate() error { return nil } -// SetStackSetName sets the StackSetName field's value. -func (s *DescribeStackSetInput) SetStackSetName(v string) *DescribeStackSetInput { - s.StackSetName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOperationInput type DescribeStackSetOperationInput struct { _ struct{} `type:"structure"` @@ -5348,18 +4604,6 @@ func (s *DescribeStackSetOperationInput) Validate() error { return nil } -// SetOperationId sets the OperationId field's value. -func (s *DescribeStackSetOperationInput) SetOperationId(v string) *DescribeStackSetOperationInput { - s.OperationId = &v - return s -} - -// SetStackSetName sets the StackSetName field's value. -func (s *DescribeStackSetOperationInput) SetStackSetName(v string) *DescribeStackSetOperationInput { - s.StackSetName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOperationOutput type DescribeStackSetOperationOutput struct { _ struct{} `type:"structure"` @@ -5385,12 +4629,6 @@ func (s DescribeStackSetOperationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStackSetOperation sets the StackSetOperation field's value. -func (s *DescribeStackSetOperationOutput) SetStackSetOperation(v *StackSetOperation) *DescribeStackSetOperationOutput { - s.StackSetOperation = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOutput type DescribeStackSetOutput struct { _ struct{} `type:"structure"` @@ -5416,12 +4654,6 @@ func (s DescribeStackSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStackSet sets the StackSet field's value. -func (s *DescribeStackSetOutput) SetStackSet(v *StackSet) *DescribeStackSetOutput { - s.StackSet = v - return s -} - // The input for DescribeStacks action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacksInput type DescribeStacksInput struct { @@ -5465,18 +4697,6 @@ func (s *DescribeStacksInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *DescribeStacksInput) SetNextToken(v string) *DescribeStacksInput { - s.NextToken = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *DescribeStacksInput) SetStackName(v string) *DescribeStacksInput { - s.StackName = &v - return s -} - // The output for a DescribeStacks action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacksOutput type DescribeStacksOutput struct { @@ -5507,18 +4727,6 @@ func (s DescribeStacksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeStacksOutput) SetNextToken(v string) *DescribeStacksOutput { - s.NextToken = &v - return s -} - -// SetStacks sets the Stacks field's value. -func (s *DescribeStacksOutput) SetStacks(v []Stack) *DescribeStacksOutput { - s.Stacks = v - return s -} - // The input for an EstimateTemplateCost action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCostInput type EstimateTemplateCostInput struct { @@ -5572,24 +4780,6 @@ func (s *EstimateTemplateCostInput) Validate() error { return nil } -// SetParameters sets the Parameters field's value. -func (s *EstimateTemplateCostInput) SetParameters(v []Parameter) *EstimateTemplateCostInput { - s.Parameters = v - return s -} - -// SetTemplateBody sets the TemplateBody field's value. -func (s *EstimateTemplateCostInput) SetTemplateBody(v string) *EstimateTemplateCostInput { - s.TemplateBody = &v - return s -} - -// SetTemplateURL sets the TemplateURL field's value. -func (s *EstimateTemplateCostInput) SetTemplateURL(v string) *EstimateTemplateCostInput { - s.TemplateURL = &v - return s -} - // The output for a EstimateTemplateCost action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCostOutput type EstimateTemplateCostOutput struct { @@ -5617,12 +4807,6 @@ func (s EstimateTemplateCostOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUrl sets the Url field's value. -func (s *EstimateTemplateCostOutput) SetUrl(v string) *EstimateTemplateCostOutput { - s.Url = &v - return s -} - // The input for the ExecuteChangeSet action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSetInput type ExecuteChangeSetInput struct { @@ -5679,24 +4863,6 @@ func (s *ExecuteChangeSetInput) Validate() error { return nil } -// SetChangeSetName sets the ChangeSetName field's value. -func (s *ExecuteChangeSetInput) SetChangeSetName(v string) *ExecuteChangeSetInput { - s.ChangeSetName = &v - return s -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *ExecuteChangeSetInput) SetClientRequestToken(v string) *ExecuteChangeSetInput { - s.ClientRequestToken = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *ExecuteChangeSetInput) SetStackName(v string) *ExecuteChangeSetInput { - s.StackName = &v - return s -} - // The output for the ExecuteChangeSet action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSetOutput type ExecuteChangeSetOutput struct { @@ -5748,24 +4914,6 @@ func (s Export) GoString() string { return s.String() } -// SetExportingStackId sets the ExportingStackId field's value. -func (s *Export) SetExportingStackId(v string) *Export { - s.ExportingStackId = &v - return s -} - -// SetName sets the Name field's value. -func (s *Export) SetName(v string) *Export { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Export) SetValue(v string) *Export { - s.Value = &v - return s -} - // The input for the GetStackPolicy action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicyInput type GetStackPolicyInput struct { @@ -5802,12 +4950,6 @@ func (s *GetStackPolicyInput) Validate() error { return nil } -// SetStackName sets the StackName field's value. -func (s *GetStackPolicyInput) SetStackName(v string) *GetStackPolicyInput { - s.StackName = &v - return s -} - // The output for the GetStackPolicy action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicyOutput type GetStackPolicyOutput struct { @@ -5836,12 +4978,6 @@ func (s GetStackPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStackPolicyBody sets the StackPolicyBody field's value. -func (s *GetStackPolicyOutput) SetStackPolicyBody(v string) *GetStackPolicyOutput { - s.StackPolicyBody = &v - return s -} - // The input for a GetTemplate action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateInput type GetTemplateInput struct { @@ -5896,24 +5032,6 @@ func (s *GetTemplateInput) Validate() error { return nil } -// SetChangeSetName sets the ChangeSetName field's value. -func (s *GetTemplateInput) SetChangeSetName(v string) *GetTemplateInput { - s.ChangeSetName = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *GetTemplateInput) SetStackName(v string) *GetTemplateInput { - s.StackName = &v - return s -} - -// SetTemplateStage sets the TemplateStage field's value. -func (s *GetTemplateInput) SetTemplateStage(v TemplateStage) *GetTemplateInput { - s.TemplateStage = v - return s -} - // The output for GetTemplate action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateOutput type GetTemplateOutput struct { @@ -5951,18 +5069,6 @@ func (s GetTemplateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStagesAvailable sets the StagesAvailable field's value. -func (s *GetTemplateOutput) SetStagesAvailable(v []TemplateStage) *GetTemplateOutput { - s.StagesAvailable = v - return s -} - -// SetTemplateBody sets the TemplateBody field's value. -func (s *GetTemplateOutput) SetTemplateBody(v string) *GetTemplateOutput { - s.TemplateBody = &v - return s -} - // The input for the GetTemplateSummary action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummaryInput type GetTemplateSummaryInput struct { @@ -6031,30 +5137,6 @@ func (s *GetTemplateSummaryInput) Validate() error { return nil } -// SetStackName sets the StackName field's value. -func (s *GetTemplateSummaryInput) SetStackName(v string) *GetTemplateSummaryInput { - s.StackName = &v - return s -} - -// SetStackSetName sets the StackSetName field's value. -func (s *GetTemplateSummaryInput) SetStackSetName(v string) *GetTemplateSummaryInput { - s.StackSetName = &v - return s -} - -// SetTemplateBody sets the TemplateBody field's value. -func (s *GetTemplateSummaryInput) SetTemplateBody(v string) *GetTemplateSummaryInput { - s.TemplateBody = &v - return s -} - -// SetTemplateURL sets the TemplateURL field's value. -func (s *GetTemplateSummaryInput) SetTemplateURL(v string) *GetTemplateSummaryInput { - s.TemplateURL = &v - return s -} - // The output for the GetTemplateSummary action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummaryOutput type GetTemplateSummaryOutput struct { @@ -6113,54 +5195,6 @@ func (s GetTemplateSummaryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCapabilities sets the Capabilities field's value. -func (s *GetTemplateSummaryOutput) SetCapabilities(v []Capability) *GetTemplateSummaryOutput { - s.Capabilities = v - return s -} - -// SetCapabilitiesReason sets the CapabilitiesReason field's value. -func (s *GetTemplateSummaryOutput) SetCapabilitiesReason(v string) *GetTemplateSummaryOutput { - s.CapabilitiesReason = &v - return s -} - -// SetDeclaredTransforms sets the DeclaredTransforms field's value. -func (s *GetTemplateSummaryOutput) SetDeclaredTransforms(v []string) *GetTemplateSummaryOutput { - s.DeclaredTransforms = v - return s -} - -// SetDescription sets the Description field's value. -func (s *GetTemplateSummaryOutput) SetDescription(v string) *GetTemplateSummaryOutput { - s.Description = &v - return s -} - -// SetMetadata sets the Metadata field's value. -func (s *GetTemplateSummaryOutput) SetMetadata(v string) *GetTemplateSummaryOutput { - s.Metadata = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *GetTemplateSummaryOutput) SetParameters(v []ParameterDeclaration) *GetTemplateSummaryOutput { - s.Parameters = v - return s -} - -// SetResourceTypes sets the ResourceTypes field's value. -func (s *GetTemplateSummaryOutput) SetResourceTypes(v []string) *GetTemplateSummaryOutput { - s.ResourceTypes = v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetTemplateSummaryOutput) SetVersion(v string) *GetTemplateSummaryOutput { - s.Version = &v - return s -} - // The input for the ListChangeSets action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSetsInput type ListChangeSetsInput struct { @@ -6207,18 +5241,6 @@ func (s *ListChangeSetsInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *ListChangeSetsInput) SetNextToken(v string) *ListChangeSetsInput { - s.NextToken = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *ListChangeSetsInput) SetStackName(v string) *ListChangeSetsInput { - s.StackName = &v - return s -} - // The output for the ListChangeSets action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSetsOutput type ListChangeSetsOutput struct { @@ -6250,18 +5272,6 @@ func (s ListChangeSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListChangeSetsOutput) SetNextToken(v string) *ListChangeSetsOutput { - s.NextToken = &v - return s -} - -// SetSummaries sets the Summaries field's value. -func (s *ListChangeSetsOutput) SetSummaries(v []ChangeSetSummary) *ListChangeSetsOutput { - s.Summaries = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExportsInput type ListExportsInput struct { _ struct{} `type:"structure"` @@ -6294,12 +5304,6 @@ func (s *ListExportsInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *ListExportsInput) SetNextToken(v string) *ListExportsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExportsOutput type ListExportsOutput struct { _ struct{} `type:"structure"` @@ -6329,18 +5333,6 @@ func (s ListExportsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExports sets the Exports field's value. -func (s *ListExportsOutput) SetExports(v []Export) *ListExportsOutput { - s.Exports = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListExportsOutput) SetNextToken(v string) *ListExportsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImportsInput type ListImportsInput struct { _ struct{} `type:"structure"` @@ -6383,18 +5375,6 @@ func (s *ListImportsInput) Validate() error { return nil } -// SetExportName sets the ExportName field's value. -func (s *ListImportsInput) SetExportName(v string) *ListImportsInput { - s.ExportName = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListImportsInput) SetNextToken(v string) *ListImportsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImportsOutput type ListImportsOutput struct { _ struct{} `type:"structure"` @@ -6424,18 +5404,6 @@ func (s ListImportsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImports sets the Imports field's value. -func (s *ListImportsOutput) SetImports(v []string) *ListImportsOutput { - s.Imports = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListImportsOutput) SetNextToken(v string) *ListImportsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstancesInput type ListStackInstancesInput struct { _ struct{} `type:"structure"` @@ -6496,36 +5464,6 @@ func (s *ListStackInstancesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListStackInstancesInput) SetMaxResults(v int64) *ListStackInstancesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListStackInstancesInput) SetNextToken(v string) *ListStackInstancesInput { - s.NextToken = &v - return s -} - -// SetStackInstanceAccount sets the StackInstanceAccount field's value. -func (s *ListStackInstancesInput) SetStackInstanceAccount(v string) *ListStackInstancesInput { - s.StackInstanceAccount = &v - return s -} - -// SetStackInstanceRegion sets the StackInstanceRegion field's value. -func (s *ListStackInstancesInput) SetStackInstanceRegion(v string) *ListStackInstancesInput { - s.StackInstanceRegion = &v - return s -} - -// SetStackSetName sets the StackSetName field's value. -func (s *ListStackInstancesInput) SetStackSetName(v string) *ListStackInstancesInput { - s.StackSetName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstancesOutput type ListStackInstancesOutput struct { _ struct{} `type:"structure"` @@ -6558,18 +5496,6 @@ func (s ListStackInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListStackInstancesOutput) SetNextToken(v string) *ListStackInstancesOutput { - s.NextToken = &v - return s -} - -// SetSummaries sets the Summaries field's value. -func (s *ListStackInstancesOutput) SetSummaries(v []StackInstanceSummary) *ListStackInstancesOutput { - s.Summaries = v - return s -} - // The input for the ListStackResource action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResourcesInput type ListStackResourcesInput struct { @@ -6620,18 +5546,6 @@ func (s *ListStackResourcesInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *ListStackResourcesInput) SetNextToken(v string) *ListStackResourcesInput { - s.NextToken = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *ListStackResourcesInput) SetStackName(v string) *ListStackResourcesInput { - s.StackName = &v - return s -} - // The output for a ListStackResources action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResourcesOutput type ListStackResourcesOutput struct { @@ -6662,18 +5576,6 @@ func (s ListStackResourcesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListStackResourcesOutput) SetNextToken(v string) *ListStackResourcesOutput { - s.NextToken = &v - return s -} - -// SetStackResourceSummaries sets the StackResourceSummaries field's value. -func (s *ListStackResourcesOutput) SetStackResourceSummaries(v []StackResourceSummary) *ListStackResourcesOutput { - s.StackResourceSummaries = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationResultsInput type ListStackSetOperationResultsInput struct { _ struct{} `type:"structure"` @@ -6740,30 +5642,6 @@ func (s *ListStackSetOperationResultsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListStackSetOperationResultsInput) SetMaxResults(v int64) *ListStackSetOperationResultsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListStackSetOperationResultsInput) SetNextToken(v string) *ListStackSetOperationResultsInput { - s.NextToken = &v - return s -} - -// SetOperationId sets the OperationId field's value. -func (s *ListStackSetOperationResultsInput) SetOperationId(v string) *ListStackSetOperationResultsInput { - s.OperationId = &v - return s -} - -// SetStackSetName sets the StackSetName field's value. -func (s *ListStackSetOperationResultsInput) SetStackSetName(v string) *ListStackSetOperationResultsInput { - s.StackSetName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationResultsOutput type ListStackSetOperationResultsOutput struct { _ struct{} `type:"structure"` @@ -6797,18 +5675,6 @@ func (s ListStackSetOperationResultsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListStackSetOperationResultsOutput) SetNextToken(v string) *ListStackSetOperationResultsOutput { - s.NextToken = &v - return s -} - -// SetSummaries sets the Summaries field's value. -func (s *ListStackSetOperationResultsOutput) SetSummaries(v []StackSetOperationResultSummary) *ListStackSetOperationResultsOutput { - s.Summaries = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationsInput type ListStackSetOperationsInput struct { _ struct{} `type:"structure"` @@ -6863,24 +5729,6 @@ func (s *ListStackSetOperationsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListStackSetOperationsInput) SetMaxResults(v int64) *ListStackSetOperationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListStackSetOperationsInput) SetNextToken(v string) *ListStackSetOperationsInput { - s.NextToken = &v - return s -} - -// SetStackSetName sets the StackSetName field's value. -func (s *ListStackSetOperationsInput) SetStackSetName(v string) *ListStackSetOperationsInput { - s.StackSetName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationsOutput type ListStackSetOperationsOutput struct { _ struct{} `type:"structure"` @@ -6913,18 +5761,6 @@ func (s ListStackSetOperationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListStackSetOperationsOutput) SetNextToken(v string) *ListStackSetOperationsOutput { - s.NextToken = &v - return s -} - -// SetSummaries sets the Summaries field's value. -func (s *ListStackSetOperationsOutput) SetSummaries(v []StackSetOperationSummary) *ListStackSetOperationsOutput { - s.Summaries = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetsInput type ListStackSetsInput struct { _ struct{} `type:"structure"` @@ -6972,24 +5808,6 @@ func (s *ListStackSetsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListStackSetsInput) SetMaxResults(v int64) *ListStackSetsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListStackSetsInput) SetNextToken(v string) *ListStackSetsInput { - s.NextToken = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ListStackSetsInput) SetStatus(v StackSetStatus) *ListStackSetsInput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetsOutput type ListStackSetsOutput struct { _ struct{} `type:"structure"` @@ -7022,18 +5840,6 @@ func (s ListStackSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListStackSetsOutput) SetNextToken(v string) *ListStackSetsOutput { - s.NextToken = &v - return s -} - -// SetSummaries sets the Summaries field's value. -func (s *ListStackSetsOutput) SetSummaries(v []StackSetSummary) *ListStackSetsOutput { - s.Summaries = v - return s -} - // The input for ListStacks action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacksInput type ListStacksInput struct { @@ -7071,18 +5877,6 @@ func (s *ListStacksInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *ListStacksInput) SetNextToken(v string) *ListStacksInput { - s.NextToken = &v - return s -} - -// SetStackStatusFilter sets the StackStatusFilter field's value. -func (s *ListStacksInput) SetStackStatusFilter(v []StackStatus) *ListStacksInput { - s.StackStatusFilter = v - return s -} - // The output for ListStacks action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacksOutput type ListStacksOutput struct { @@ -7114,18 +5908,6 @@ func (s ListStacksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListStacksOutput) SetNextToken(v string) *ListStacksOutput { - s.NextToken = &v - return s -} - -// SetStackSummaries sets the StackSummaries field's value. -func (s *ListStacksOutput) SetStackSummaries(v []StackSummary) *ListStacksOutput { - s.StackSummaries = v - return s -} - // The Output data type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Output type Output struct { @@ -7154,30 +5936,6 @@ func (s Output) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *Output) SetDescription(v string) *Output { - s.Description = &v - return s -} - -// SetExportName sets the ExportName field's value. -func (s *Output) SetExportName(v string) *Output { - s.ExportName = &v - return s -} - -// SetOutputKey sets the OutputKey field's value. -func (s *Output) SetOutputKey(v string) *Output { - s.OutputKey = &v - return s -} - -// SetOutputValue sets the OutputValue field's value. -func (s *Output) SetOutputValue(v string) *Output { - s.OutputValue = &v - return s -} - // The Parameter data type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Parameter type Parameter struct { @@ -7212,30 +5970,6 @@ func (s Parameter) GoString() string { return s.String() } -// SetParameterKey sets the ParameterKey field's value. -func (s *Parameter) SetParameterKey(v string) *Parameter { - s.ParameterKey = &v - return s -} - -// SetParameterValue sets the ParameterValue field's value. -func (s *Parameter) SetParameterValue(v string) *Parameter { - s.ParameterValue = &v - return s -} - -// SetResolvedValue sets the ResolvedValue field's value. -func (s *Parameter) SetResolvedValue(v string) *Parameter { - s.ResolvedValue = &v - return s -} - -// SetUsePreviousValue sets the UsePreviousValue field's value. -func (s *Parameter) SetUsePreviousValue(v bool) *Parameter { - s.UsePreviousValue = &v - return s -} - // A set of criteria that AWS CloudFormation uses to validate parameter values. // Although other constraints might be defined in the stack template, AWS CloudFormation // returns only the AllowedValues property. @@ -7257,12 +5991,6 @@ func (s ParameterConstraints) GoString() string { return s.String() } -// SetAllowedValues sets the AllowedValues field's value. -func (s *ParameterConstraints) SetAllowedValues(v []string) *ParameterConstraints { - s.AllowedValues = v - return s -} - // The ParameterDeclaration data type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ParameterDeclaration type ParameterDeclaration struct { @@ -7298,42 +6026,6 @@ func (s ParameterDeclaration) GoString() string { return s.String() } -// SetDefaultValue sets the DefaultValue field's value. -func (s *ParameterDeclaration) SetDefaultValue(v string) *ParameterDeclaration { - s.DefaultValue = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ParameterDeclaration) SetDescription(v string) *ParameterDeclaration { - s.Description = &v - return s -} - -// SetNoEcho sets the NoEcho field's value. -func (s *ParameterDeclaration) SetNoEcho(v bool) *ParameterDeclaration { - s.NoEcho = &v - return s -} - -// SetParameterConstraints sets the ParameterConstraints field's value. -func (s *ParameterDeclaration) SetParameterConstraints(v *ParameterConstraints) *ParameterDeclaration { - s.ParameterConstraints = v - return s -} - -// SetParameterKey sets the ParameterKey field's value. -func (s *ParameterDeclaration) SetParameterKey(v string) *ParameterDeclaration { - s.ParameterKey = &v - return s -} - -// SetParameterType sets the ParameterType field's value. -func (s *ParameterDeclaration) SetParameterType(v string) *ParameterDeclaration { - s.ParameterType = &v - return s -} - // The ResourceChange structure describes the resource and the action that AWS // CloudFormation will perform on it if you execute this change set. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceChange @@ -7387,48 +6079,6 @@ func (s ResourceChange) GoString() string { return s.String() } -// SetAction sets the Action field's value. -func (s *ResourceChange) SetAction(v ChangeAction) *ResourceChange { - s.Action = v - return s -} - -// SetDetails sets the Details field's value. -func (s *ResourceChange) SetDetails(v []ResourceChangeDetail) *ResourceChange { - s.Details = v - return s -} - -// SetLogicalResourceId sets the LogicalResourceId field's value. -func (s *ResourceChange) SetLogicalResourceId(v string) *ResourceChange { - s.LogicalResourceId = &v - return s -} - -// SetPhysicalResourceId sets the PhysicalResourceId field's value. -func (s *ResourceChange) SetPhysicalResourceId(v string) *ResourceChange { - s.PhysicalResourceId = &v - return s -} - -// SetReplacement sets the Replacement field's value. -func (s *ResourceChange) SetReplacement(v Replacement) *ResourceChange { - s.Replacement = v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *ResourceChange) SetResourceType(v string) *ResourceChange { - s.ResourceType = &v - return s -} - -// SetScope sets the Scope field's value. -func (s *ResourceChange) SetScope(v []ResourceAttribute) *ResourceChange { - s.Scope = v - return s -} - // For a resource with Modify as the action, the ResourceChange structure describes // the changes AWS CloudFormation will make to that resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceChangeDetail @@ -7499,30 +6149,6 @@ func (s ResourceChangeDetail) GoString() string { return s.String() } -// SetCausingEntity sets the CausingEntity field's value. -func (s *ResourceChangeDetail) SetCausingEntity(v string) *ResourceChangeDetail { - s.CausingEntity = &v - return s -} - -// SetChangeSource sets the ChangeSource field's value. -func (s *ResourceChangeDetail) SetChangeSource(v ChangeSource) *ResourceChangeDetail { - s.ChangeSource = v - return s -} - -// SetEvaluation sets the Evaluation field's value. -func (s *ResourceChangeDetail) SetEvaluation(v EvaluationType) *ResourceChangeDetail { - s.Evaluation = v - return s -} - -// SetTarget sets the Target field's value. -func (s *ResourceChangeDetail) SetTarget(v *ResourceTargetDefinition) *ResourceChangeDetail { - s.Target = v - return s -} - // The field that AWS CloudFormation will change, such as the name of a resource's // property, and whether the resource will be recreated. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceTargetDefinition @@ -7555,24 +6181,6 @@ func (s ResourceTargetDefinition) GoString() string { return s.String() } -// SetAttribute sets the Attribute field's value. -func (s *ResourceTargetDefinition) SetAttribute(v ResourceAttribute) *ResourceTargetDefinition { - s.Attribute = v - return s -} - -// SetName sets the Name field's value. -func (s *ResourceTargetDefinition) SetName(v string) *ResourceTargetDefinition { - s.Name = &v - return s -} - -// SetRequiresRecreation sets the RequiresRecreation field's value. -func (s *ResourceTargetDefinition) SetRequiresRecreation(v RequiresRecreation) *ResourceTargetDefinition { - s.RequiresRecreation = v - return s -} - // Structure containing the rollback triggers for AWS CloudFormation to monitor // during stack creation and updating operations, and for the specified monitoring // period afterwards. @@ -7674,18 +6282,6 @@ func (s *RollbackConfiguration) Validate() error { return nil } -// SetMonitoringTimeInMinutes sets the MonitoringTimeInMinutes field's value. -func (s *RollbackConfiguration) SetMonitoringTimeInMinutes(v int64) *RollbackConfiguration { - s.MonitoringTimeInMinutes = &v - return s -} - -// SetRollbackTriggers sets the RollbackTriggers field's value. -func (s *RollbackConfiguration) SetRollbackTriggers(v []RollbackTrigger) *RollbackConfiguration { - s.RollbackTriggers = v - return s -} - // A rollback trigger AWS CloudFormation monitors during creation and updating // of stacks. If any of the alarms you specify goes to ALERT state during the // stack operation or within the specified monitoring period afterwards, CloudFormation @@ -7735,18 +6331,6 @@ func (s *RollbackTrigger) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *RollbackTrigger) SetArn(v string) *RollbackTrigger { - s.Arn = &v - return s -} - -// SetType sets the Type field's value. -func (s *RollbackTrigger) SetType(v string) *RollbackTrigger { - s.Type = &v - return s -} - // The input for the SetStackPolicy action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicyInput type SetStackPolicyInput struct { @@ -7800,24 +6384,6 @@ func (s *SetStackPolicyInput) Validate() error { return nil } -// SetStackName sets the StackName field's value. -func (s *SetStackPolicyInput) SetStackName(v string) *SetStackPolicyInput { - s.StackName = &v - return s -} - -// SetStackPolicyBody sets the StackPolicyBody field's value. -func (s *SetStackPolicyInput) SetStackPolicyBody(v string) *SetStackPolicyInput { - s.StackPolicyBody = &v - return s -} - -// SetStackPolicyURL sets the StackPolicyURL field's value. -func (s *SetStackPolicyInput) SetStackPolicyURL(v string) *SetStackPolicyInput { - s.StackPolicyURL = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicyOutput type SetStackPolicyOutput struct { _ struct{} `type:"structure"` @@ -7913,30 +6479,6 @@ func (s *SignalResourceInput) Validate() error { return nil } -// SetLogicalResourceId sets the LogicalResourceId field's value. -func (s *SignalResourceInput) SetLogicalResourceId(v string) *SignalResourceInput { - s.LogicalResourceId = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *SignalResourceInput) SetStackName(v string) *SignalResourceInput { - s.StackName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *SignalResourceInput) SetStatus(v ResourceSignalStatus) *SignalResourceInput { - s.Status = v - return s -} - -// SetUniqueId sets the UniqueId field's value. -func (s *SignalResourceInput) SetUniqueId(v string) *SignalResourceInput { - s.UniqueId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SignalResourceOutput type SignalResourceOutput struct { _ struct{} `type:"structure"` @@ -8067,155 +6609,29 @@ func (s Stack) GoString() string { return s.String() } -// SetCapabilities sets the Capabilities field's value. -func (s *Stack) SetCapabilities(v []Capability) *Stack { - s.Capabilities = v - return s -} - -// SetChangeSetId sets the ChangeSetId field's value. -func (s *Stack) SetChangeSetId(v string) *Stack { - s.ChangeSetId = &v - return s -} +// The StackEvent data type. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackEvent +type StackEvent struct { + _ struct{} `type:"structure"` -// SetCreationTime sets the CreationTime field's value. -func (s *Stack) SetCreationTime(v time.Time) *Stack { - s.CreationTime = &v - return s -} + // The token passed to the operation that generated this event. + // + // All events triggered by a given stack operation are assigned the same client + // request token, which you can use to track operations. For example, if you + // execute a CreateStack operation with the token token1, then all the StackEvents + // generated by that operation will have ClientRequestToken set as token1. + // + // In the console, stack operations display the client request token on the + // Events tab. Stack operations that are initiated from the console use the + // token format Console-StackOperation-ID, which helps you easily identify the + // stack operation . For example, if you create a stack using the console, each + // stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002. + ClientRequestToken *string `min:"1" type:"string"` -// SetDeletionTime sets the DeletionTime field's value. -func (s *Stack) SetDeletionTime(v time.Time) *Stack { - s.DeletionTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Stack) SetDescription(v string) *Stack { - s.Description = &v - return s -} - -// SetDisableRollback sets the DisableRollback field's value. -func (s *Stack) SetDisableRollback(v bool) *Stack { - s.DisableRollback = &v - return s -} - -// SetEnableTerminationProtection sets the EnableTerminationProtection field's value. -func (s *Stack) SetEnableTerminationProtection(v bool) *Stack { - s.EnableTerminationProtection = &v - return s -} - -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *Stack) SetLastUpdatedTime(v time.Time) *Stack { - s.LastUpdatedTime = &v - return s -} - -// SetNotificationARNs sets the NotificationARNs field's value. -func (s *Stack) SetNotificationARNs(v []string) *Stack { - s.NotificationARNs = v - return s -} - -// SetOutputs sets the Outputs field's value. -func (s *Stack) SetOutputs(v []Output) *Stack { - s.Outputs = v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *Stack) SetParameters(v []Parameter) *Stack { - s.Parameters = v - return s -} - -// SetParentId sets the ParentId field's value. -func (s *Stack) SetParentId(v string) *Stack { - s.ParentId = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *Stack) SetRoleARN(v string) *Stack { - s.RoleARN = &v - return s -} - -// SetRollbackConfiguration sets the RollbackConfiguration field's value. -func (s *Stack) SetRollbackConfiguration(v *RollbackConfiguration) *Stack { - s.RollbackConfiguration = v - return s -} - -// SetRootId sets the RootId field's value. -func (s *Stack) SetRootId(v string) *Stack { - s.RootId = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *Stack) SetStackId(v string) *Stack { - s.StackId = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *Stack) SetStackName(v string) *Stack { - s.StackName = &v - return s -} - -// SetStackStatus sets the StackStatus field's value. -func (s *Stack) SetStackStatus(v StackStatus) *Stack { - s.StackStatus = v - return s -} - -// SetStackStatusReason sets the StackStatusReason field's value. -func (s *Stack) SetStackStatusReason(v string) *Stack { - s.StackStatusReason = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *Stack) SetTags(v []Tag) *Stack { - s.Tags = v - return s -} - -// SetTimeoutInMinutes sets the TimeoutInMinutes field's value. -func (s *Stack) SetTimeoutInMinutes(v int64) *Stack { - s.TimeoutInMinutes = &v - return s -} - -// The StackEvent data type. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackEvent -type StackEvent struct { - _ struct{} `type:"structure"` - - // The token passed to the operation that generated this event. - // - // All events triggered by a given stack operation are assigned the same client - // request token, which you can use to track operations. For example, if you - // execute a CreateStack operation with the token token1, then all the StackEvents - // generated by that operation will have ClientRequestToken set as token1. - // - // In the console, stack operations display the client request token on the - // Events tab. Stack operations that are initiated from the console use the - // token format Console-StackOperation-ID, which helps you easily identify the - // stack operation . For example, if you create a stack using the console, each - // stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002. - ClientRequestToken *string `min:"1" type:"string"` - - // The unique ID of this event. - // - // EventId is a required field - EventId *string `type:"string" required:"true"` + // The unique ID of this event. + // + // EventId is a required field + EventId *string `type:"string" required:"true"` // The logical name of the resource specified in the template. LogicalResourceId *string `type:"string"` @@ -8264,72 +6680,6 @@ func (s StackEvent) GoString() string { return s.String() } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *StackEvent) SetClientRequestToken(v string) *StackEvent { - s.ClientRequestToken = &v - return s -} - -// SetEventId sets the EventId field's value. -func (s *StackEvent) SetEventId(v string) *StackEvent { - s.EventId = &v - return s -} - -// SetLogicalResourceId sets the LogicalResourceId field's value. -func (s *StackEvent) SetLogicalResourceId(v string) *StackEvent { - s.LogicalResourceId = &v - return s -} - -// SetPhysicalResourceId sets the PhysicalResourceId field's value. -func (s *StackEvent) SetPhysicalResourceId(v string) *StackEvent { - s.PhysicalResourceId = &v - return s -} - -// SetResourceProperties sets the ResourceProperties field's value. -func (s *StackEvent) SetResourceProperties(v string) *StackEvent { - s.ResourceProperties = &v - return s -} - -// SetResourceStatus sets the ResourceStatus field's value. -func (s *StackEvent) SetResourceStatus(v ResourceStatus) *StackEvent { - s.ResourceStatus = v - return s -} - -// SetResourceStatusReason sets the ResourceStatusReason field's value. -func (s *StackEvent) SetResourceStatusReason(v string) *StackEvent { - s.ResourceStatusReason = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *StackEvent) SetResourceType(v string) *StackEvent { - s.ResourceType = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *StackEvent) SetStackId(v string) *StackEvent { - s.StackId = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *StackEvent) SetStackName(v string) *StackEvent { - s.StackName = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *StackEvent) SetTimestamp(v time.Time) *StackEvent { - s.Timestamp = &v - return s -} - // An AWS CloudFormation stack, in a specific account and region, that's part // of a stack set operation. A stack instance is a reference to an attempted // or actual stack in a given account within a given region. A stack instance @@ -8393,48 +6743,6 @@ func (s StackInstance) GoString() string { return s.String() } -// SetAccount sets the Account field's value. -func (s *StackInstance) SetAccount(v string) *StackInstance { - s.Account = &v - return s -} - -// SetParameterOverrides sets the ParameterOverrides field's value. -func (s *StackInstance) SetParameterOverrides(v []Parameter) *StackInstance { - s.ParameterOverrides = v - return s -} - -// SetRegion sets the Region field's value. -func (s *StackInstance) SetRegion(v string) *StackInstance { - s.Region = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *StackInstance) SetStackId(v string) *StackInstance { - s.StackId = &v - return s -} - -// SetStackSetId sets the StackSetId field's value. -func (s *StackInstance) SetStackSetId(v string) *StackInstance { - s.StackSetId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *StackInstance) SetStatus(v StackInstanceStatus) *StackInstance { - s.Status = v - return s -} - -// SetStatusReason sets the StatusReason field's value. -func (s *StackInstance) SetStatusReason(v string) *StackInstance { - s.StatusReason = &v - return s -} - // The structure that contains summary information about a stack instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackInstanceSummary type StackInstanceSummary struct { @@ -8487,42 +6795,6 @@ func (s StackInstanceSummary) GoString() string { return s.String() } -// SetAccount sets the Account field's value. -func (s *StackInstanceSummary) SetAccount(v string) *StackInstanceSummary { - s.Account = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *StackInstanceSummary) SetRegion(v string) *StackInstanceSummary { - s.Region = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *StackInstanceSummary) SetStackId(v string) *StackInstanceSummary { - s.StackId = &v - return s -} - -// SetStackSetId sets the StackSetId field's value. -func (s *StackInstanceSummary) SetStackSetId(v string) *StackInstanceSummary { - s.StackSetId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *StackInstanceSummary) SetStatus(v StackInstanceStatus) *StackInstanceSummary { - s.Status = v - return s -} - -// SetStatusReason sets the StatusReason field's value. -func (s *StackInstanceSummary) SetStatusReason(v string) *StackInstanceSummary { - s.StatusReason = &v - return s -} - // The StackResource data type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResource type StackResource struct { @@ -8577,60 +6849,6 @@ func (s StackResource) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *StackResource) SetDescription(v string) *StackResource { - s.Description = &v - return s -} - -// SetLogicalResourceId sets the LogicalResourceId field's value. -func (s *StackResource) SetLogicalResourceId(v string) *StackResource { - s.LogicalResourceId = &v - return s -} - -// SetPhysicalResourceId sets the PhysicalResourceId field's value. -func (s *StackResource) SetPhysicalResourceId(v string) *StackResource { - s.PhysicalResourceId = &v - return s -} - -// SetResourceStatus sets the ResourceStatus field's value. -func (s *StackResource) SetResourceStatus(v ResourceStatus) *StackResource { - s.ResourceStatus = v - return s -} - -// SetResourceStatusReason sets the ResourceStatusReason field's value. -func (s *StackResource) SetResourceStatusReason(v string) *StackResource { - s.ResourceStatusReason = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *StackResource) SetResourceType(v string) *StackResource { - s.ResourceType = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *StackResource) SetStackId(v string) *StackResource { - s.StackId = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *StackResource) SetStackName(v string) *StackResource { - s.StackName = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *StackResource) SetTimestamp(v time.Time) *StackResource { - s.Timestamp = &v - return s -} - // Contains detailed information about the specified stack resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResourceDetail type StackResourceDetail struct { @@ -8690,66 +6908,6 @@ func (s StackResourceDetail) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *StackResourceDetail) SetDescription(v string) *StackResourceDetail { - s.Description = &v - return s -} - -// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value. -func (s *StackResourceDetail) SetLastUpdatedTimestamp(v time.Time) *StackResourceDetail { - s.LastUpdatedTimestamp = &v - return s -} - -// SetLogicalResourceId sets the LogicalResourceId field's value. -func (s *StackResourceDetail) SetLogicalResourceId(v string) *StackResourceDetail { - s.LogicalResourceId = &v - return s -} - -// SetMetadata sets the Metadata field's value. -func (s *StackResourceDetail) SetMetadata(v string) *StackResourceDetail { - s.Metadata = &v - return s -} - -// SetPhysicalResourceId sets the PhysicalResourceId field's value. -func (s *StackResourceDetail) SetPhysicalResourceId(v string) *StackResourceDetail { - s.PhysicalResourceId = &v - return s -} - -// SetResourceStatus sets the ResourceStatus field's value. -func (s *StackResourceDetail) SetResourceStatus(v ResourceStatus) *StackResourceDetail { - s.ResourceStatus = v - return s -} - -// SetResourceStatusReason sets the ResourceStatusReason field's value. -func (s *StackResourceDetail) SetResourceStatusReason(v string) *StackResourceDetail { - s.ResourceStatusReason = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *StackResourceDetail) SetResourceType(v string) *StackResourceDetail { - s.ResourceType = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *StackResourceDetail) SetStackId(v string) *StackResourceDetail { - s.StackId = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *StackResourceDetail) SetStackName(v string) *StackResourceDetail { - s.StackName = &v - return s -} - // Contains high-level information about the specified stack resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResourceSummary type StackResourceSummary struct { @@ -8795,42 +6953,6 @@ func (s StackResourceSummary) GoString() string { return s.String() } -// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value. -func (s *StackResourceSummary) SetLastUpdatedTimestamp(v time.Time) *StackResourceSummary { - s.LastUpdatedTimestamp = &v - return s -} - -// SetLogicalResourceId sets the LogicalResourceId field's value. -func (s *StackResourceSummary) SetLogicalResourceId(v string) *StackResourceSummary { - s.LogicalResourceId = &v - return s -} - -// SetPhysicalResourceId sets the PhysicalResourceId field's value. -func (s *StackResourceSummary) SetPhysicalResourceId(v string) *StackResourceSummary { - s.PhysicalResourceId = &v - return s -} - -// SetResourceStatus sets the ResourceStatus field's value. -func (s *StackResourceSummary) SetResourceStatus(v ResourceStatus) *StackResourceSummary { - s.ResourceStatus = v - return s -} - -// SetResourceStatusReason sets the ResourceStatusReason field's value. -func (s *StackResourceSummary) SetResourceStatusReason(v string) *StackResourceSummary { - s.ResourceStatusReason = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *StackResourceSummary) SetResourceType(v string) *StackResourceSummary { - s.ResourceType = &v - return s -} - // A structure that contains information about a stack set. A stack set enables // you to provision stacks into AWS accounts and across regions by using a single // CloudFormation template. In the stack set, you specify the template to use, @@ -8881,54 +7003,6 @@ func (s StackSet) GoString() string { return s.String() } -// SetCapabilities sets the Capabilities field's value. -func (s *StackSet) SetCapabilities(v []Capability) *StackSet { - s.Capabilities = v - return s -} - -// SetDescription sets the Description field's value. -func (s *StackSet) SetDescription(v string) *StackSet { - s.Description = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *StackSet) SetParameters(v []Parameter) *StackSet { - s.Parameters = v - return s -} - -// SetStackSetId sets the StackSetId field's value. -func (s *StackSet) SetStackSetId(v string) *StackSet { - s.StackSetId = &v - return s -} - -// SetStackSetName sets the StackSetName field's value. -func (s *StackSet) SetStackSetName(v string) *StackSet { - s.StackSetName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *StackSet) SetStatus(v StackSetStatus) *StackSet { - s.Status = v - return s -} - -// SetTags sets the Tags field's value. -func (s *StackSet) SetTags(v []Tag) *StackSet { - s.Tags = v - return s -} - -// SetTemplateBody sets the TemplateBody field's value. -func (s *StackSet) SetTemplateBody(v string) *StackSet { - s.TemplateBody = &v - return s -} - // The structure that contains information about a stack set operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperation type StackSetOperation struct { @@ -8999,54 +7073,6 @@ func (s StackSetOperation) GoString() string { return s.String() } -// SetAction sets the Action field's value. -func (s *StackSetOperation) SetAction(v StackSetOperationAction) *StackSetOperation { - s.Action = v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *StackSetOperation) SetCreationTimestamp(v time.Time) *StackSetOperation { - s.CreationTimestamp = &v - return s -} - -// SetEndTimestamp sets the EndTimestamp field's value. -func (s *StackSetOperation) SetEndTimestamp(v time.Time) *StackSetOperation { - s.EndTimestamp = &v - return s -} - -// SetOperationId sets the OperationId field's value. -func (s *StackSetOperation) SetOperationId(v string) *StackSetOperation { - s.OperationId = &v - return s -} - -// SetOperationPreferences sets the OperationPreferences field's value. -func (s *StackSetOperation) SetOperationPreferences(v *StackSetOperationPreferences) *StackSetOperation { - s.OperationPreferences = v - return s -} - -// SetRetainStacks sets the RetainStacks field's value. -func (s *StackSetOperation) SetRetainStacks(v bool) *StackSetOperation { - s.RetainStacks = &v - return s -} - -// SetStackSetId sets the StackSetId field's value. -func (s *StackSetOperation) SetStackSetId(v string) *StackSetOperation { - s.StackSetId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *StackSetOperation) SetStatus(v StackSetOperationStatus) *StackSetOperation { - s.Status = v - return s -} - // The user-specified preferences for how AWS CloudFormation performs a stack // set operation. // @@ -9135,36 +7161,6 @@ func (s *StackSetOperationPreferences) Validate() error { return nil } -// SetFailureToleranceCount sets the FailureToleranceCount field's value. -func (s *StackSetOperationPreferences) SetFailureToleranceCount(v int64) *StackSetOperationPreferences { - s.FailureToleranceCount = &v - return s -} - -// SetFailureTolerancePercentage sets the FailureTolerancePercentage field's value. -func (s *StackSetOperationPreferences) SetFailureTolerancePercentage(v int64) *StackSetOperationPreferences { - s.FailureTolerancePercentage = &v - return s -} - -// SetMaxConcurrentCount sets the MaxConcurrentCount field's value. -func (s *StackSetOperationPreferences) SetMaxConcurrentCount(v int64) *StackSetOperationPreferences { - s.MaxConcurrentCount = &v - return s -} - -// SetMaxConcurrentPercentage sets the MaxConcurrentPercentage field's value. -func (s *StackSetOperationPreferences) SetMaxConcurrentPercentage(v int64) *StackSetOperationPreferences { - s.MaxConcurrentPercentage = &v - return s -} - -// SetRegionOrder sets the RegionOrder field's value. -func (s *StackSetOperationPreferences) SetRegionOrder(v []string) *StackSetOperationPreferences { - s.RegionOrder = v - return s -} - // The structure that contains information about a specified operation's results // for a given account in a given region. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperationResultSummary @@ -9218,36 +7214,6 @@ func (s StackSetOperationResultSummary) GoString() string { return s.String() } -// SetAccount sets the Account field's value. -func (s *StackSetOperationResultSummary) SetAccount(v string) *StackSetOperationResultSummary { - s.Account = &v - return s -} - -// SetAccountGateResult sets the AccountGateResult field's value. -func (s *StackSetOperationResultSummary) SetAccountGateResult(v *AccountGateResult) *StackSetOperationResultSummary { - s.AccountGateResult = v - return s -} - -// SetRegion sets the Region field's value. -func (s *StackSetOperationResultSummary) SetRegion(v string) *StackSetOperationResultSummary { - s.Region = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *StackSetOperationResultSummary) SetStatus(v StackSetOperationResultStatus) *StackSetOperationResultSummary { - s.Status = v - return s -} - -// SetStatusReason sets the StatusReason field's value. -func (s *StackSetOperationResultSummary) SetStatusReason(v string) *StackSetOperationResultSummary { - s.StatusReason = &v - return s -} - // The structures that contain summary information about the specified operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperationSummary type StackSetOperationSummary struct { @@ -9306,36 +7272,6 @@ func (s StackSetOperationSummary) GoString() string { return s.String() } -// SetAction sets the Action field's value. -func (s *StackSetOperationSummary) SetAction(v StackSetOperationAction) *StackSetOperationSummary { - s.Action = v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *StackSetOperationSummary) SetCreationTimestamp(v time.Time) *StackSetOperationSummary { - s.CreationTimestamp = &v - return s -} - -// SetEndTimestamp sets the EndTimestamp field's value. -func (s *StackSetOperationSummary) SetEndTimestamp(v time.Time) *StackSetOperationSummary { - s.EndTimestamp = &v - return s -} - -// SetOperationId sets the OperationId field's value. -func (s *StackSetOperationSummary) SetOperationId(v string) *StackSetOperationSummary { - s.OperationId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *StackSetOperationSummary) SetStatus(v StackSetOperationStatus) *StackSetOperationSummary { - s.Status = v - return s -} - // The structures that contain summary information about the specified stack // set. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetSummary @@ -9366,30 +7302,6 @@ func (s StackSetSummary) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *StackSetSummary) SetDescription(v string) *StackSetSummary { - s.Description = &v - return s -} - -// SetStackSetId sets the StackSetId field's value. -func (s *StackSetSummary) SetStackSetId(v string) *StackSetSummary { - s.StackSetId = &v - return s -} - -// SetStackSetName sets the StackSetName field's value. -func (s *StackSetSummary) SetStackSetName(v string) *StackSetSummary { - s.StackSetName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *StackSetSummary) SetStatus(v StackSetStatus) *StackSetSummary { - s.Status = v - return s -} - // The StackSummary Data Type // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSummary type StackSummary struct { @@ -9452,66 +7364,6 @@ func (s StackSummary) GoString() string { return s.String() } -// SetCreationTime sets the CreationTime field's value. -func (s *StackSummary) SetCreationTime(v time.Time) *StackSummary { - s.CreationTime = &v - return s -} - -// SetDeletionTime sets the DeletionTime field's value. -func (s *StackSummary) SetDeletionTime(v time.Time) *StackSummary { - s.DeletionTime = &v - return s -} - -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *StackSummary) SetLastUpdatedTime(v time.Time) *StackSummary { - s.LastUpdatedTime = &v - return s -} - -// SetParentId sets the ParentId field's value. -func (s *StackSummary) SetParentId(v string) *StackSummary { - s.ParentId = &v - return s -} - -// SetRootId sets the RootId field's value. -func (s *StackSummary) SetRootId(v string) *StackSummary { - s.RootId = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *StackSummary) SetStackId(v string) *StackSummary { - s.StackId = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *StackSummary) SetStackName(v string) *StackSummary { - s.StackName = &v - return s -} - -// SetStackStatus sets the StackStatus field's value. -func (s *StackSummary) SetStackStatus(v StackStatus) *StackSummary { - s.StackStatus = v - return s -} - -// SetStackStatusReason sets the StackStatusReason field's value. -func (s *StackSummary) SetStackStatusReason(v string) *StackSummary { - s.StackStatusReason = &v - return s -} - -// SetTemplateDescription sets the TemplateDescription field's value. -func (s *StackSummary) SetTemplateDescription(v string) *StackSummary { - s.TemplateDescription = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StopStackSetOperationInput type StopStackSetOperationInput struct { _ struct{} `type:"structure"` @@ -9559,18 +7411,6 @@ func (s *StopStackSetOperationInput) Validate() error { return nil } -// SetOperationId sets the OperationId field's value. -func (s *StopStackSetOperationInput) SetOperationId(v string) *StopStackSetOperationInput { - s.OperationId = &v - return s -} - -// SetStackSetName sets the StackSetName field's value. -func (s *StopStackSetOperationInput) SetStackSetName(v string) *StopStackSetOperationInput { - s.StackSetName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StopStackSetOperationOutput type StopStackSetOperationOutput struct { _ struct{} `type:"structure"` @@ -9647,18 +7487,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // The TemplateParameter data type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TemplateParameter type TemplateParameter struct { @@ -9688,30 +7516,6 @@ func (s TemplateParameter) GoString() string { return s.String() } -// SetDefaultValue sets the DefaultValue field's value. -func (s *TemplateParameter) SetDefaultValue(v string) *TemplateParameter { - s.DefaultValue = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *TemplateParameter) SetDescription(v string) *TemplateParameter { - s.Description = &v - return s -} - -// SetNoEcho sets the NoEcho field's value. -func (s *TemplateParameter) SetNoEcho(v bool) *TemplateParameter { - s.NoEcho = &v - return s -} - -// SetParameterKey sets the ParameterKey field's value. -func (s *TemplateParameter) SetParameterKey(v string) *TemplateParameter { - s.ParameterKey = &v - return s -} - // The input for an UpdateStack action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInput type UpdateStackInput struct { @@ -9935,102 +7739,6 @@ func (s *UpdateStackInput) Validate() error { return nil } -// SetCapabilities sets the Capabilities field's value. -func (s *UpdateStackInput) SetCapabilities(v []Capability) *UpdateStackInput { - s.Capabilities = v - return s -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *UpdateStackInput) SetClientRequestToken(v string) *UpdateStackInput { - s.ClientRequestToken = &v - return s -} - -// SetNotificationARNs sets the NotificationARNs field's value. -func (s *UpdateStackInput) SetNotificationARNs(v []string) *UpdateStackInput { - s.NotificationARNs = v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *UpdateStackInput) SetParameters(v []Parameter) *UpdateStackInput { - s.Parameters = v - return s -} - -// SetResourceTypes sets the ResourceTypes field's value. -func (s *UpdateStackInput) SetResourceTypes(v []string) *UpdateStackInput { - s.ResourceTypes = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *UpdateStackInput) SetRoleARN(v string) *UpdateStackInput { - s.RoleARN = &v - return s -} - -// SetRollbackConfiguration sets the RollbackConfiguration field's value. -func (s *UpdateStackInput) SetRollbackConfiguration(v *RollbackConfiguration) *UpdateStackInput { - s.RollbackConfiguration = v - return s -} - -// SetStackName sets the StackName field's value. -func (s *UpdateStackInput) SetStackName(v string) *UpdateStackInput { - s.StackName = &v - return s -} - -// SetStackPolicyBody sets the StackPolicyBody field's value. -func (s *UpdateStackInput) SetStackPolicyBody(v string) *UpdateStackInput { - s.StackPolicyBody = &v - return s -} - -// SetStackPolicyDuringUpdateBody sets the StackPolicyDuringUpdateBody field's value. -func (s *UpdateStackInput) SetStackPolicyDuringUpdateBody(v string) *UpdateStackInput { - s.StackPolicyDuringUpdateBody = &v - return s -} - -// SetStackPolicyDuringUpdateURL sets the StackPolicyDuringUpdateURL field's value. -func (s *UpdateStackInput) SetStackPolicyDuringUpdateURL(v string) *UpdateStackInput { - s.StackPolicyDuringUpdateURL = &v - return s -} - -// SetStackPolicyURL sets the StackPolicyURL field's value. -func (s *UpdateStackInput) SetStackPolicyURL(v string) *UpdateStackInput { - s.StackPolicyURL = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *UpdateStackInput) SetTags(v []Tag) *UpdateStackInput { - s.Tags = v - return s -} - -// SetTemplateBody sets the TemplateBody field's value. -func (s *UpdateStackInput) SetTemplateBody(v string) *UpdateStackInput { - s.TemplateBody = &v - return s -} - -// SetTemplateURL sets the TemplateURL field's value. -func (s *UpdateStackInput) SetTemplateURL(v string) *UpdateStackInput { - s.TemplateURL = &v - return s -} - -// SetUsePreviousTemplate sets the UsePreviousTemplate field's value. -func (s *UpdateStackInput) SetUsePreviousTemplate(v bool) *UpdateStackInput { - s.UsePreviousTemplate = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInstancesInput type UpdateStackInstancesInput struct { _ struct{} `type:"structure"` @@ -10146,42 +7854,6 @@ func (s *UpdateStackInstancesInput) Validate() error { return nil } -// SetAccounts sets the Accounts field's value. -func (s *UpdateStackInstancesInput) SetAccounts(v []string) *UpdateStackInstancesInput { - s.Accounts = v - return s -} - -// SetOperationId sets the OperationId field's value. -func (s *UpdateStackInstancesInput) SetOperationId(v string) *UpdateStackInstancesInput { - s.OperationId = &v - return s -} - -// SetOperationPreferences sets the OperationPreferences field's value. -func (s *UpdateStackInstancesInput) SetOperationPreferences(v *StackSetOperationPreferences) *UpdateStackInstancesInput { - s.OperationPreferences = v - return s -} - -// SetParameterOverrides sets the ParameterOverrides field's value. -func (s *UpdateStackInstancesInput) SetParameterOverrides(v []Parameter) *UpdateStackInstancesInput { - s.ParameterOverrides = v - return s -} - -// SetRegions sets the Regions field's value. -func (s *UpdateStackInstancesInput) SetRegions(v []string) *UpdateStackInstancesInput { - s.Regions = v - return s -} - -// SetStackSetName sets the StackSetName field's value. -func (s *UpdateStackInstancesInput) SetStackSetName(v string) *UpdateStackInstancesInput { - s.StackSetName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInstancesOutput type UpdateStackInstancesOutput struct { _ struct{} `type:"structure"` @@ -10207,12 +7879,6 @@ func (s UpdateStackInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperationId sets the OperationId field's value. -func (s *UpdateStackInstancesOutput) SetOperationId(v string) *UpdateStackInstancesOutput { - s.OperationId = &v - return s -} - // The output for an UpdateStack action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackOutput type UpdateStackOutput struct { @@ -10239,12 +7905,6 @@ func (s UpdateStackOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStackId sets the StackId field's value. -func (s *UpdateStackOutput) SetStackId(v string) *UpdateStackOutput { - s.StackId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackSetInput type UpdateStackSetInput struct { _ struct{} `type:"structure"` @@ -10415,66 +8075,6 @@ func (s *UpdateStackSetInput) Validate() error { return nil } -// SetCapabilities sets the Capabilities field's value. -func (s *UpdateStackSetInput) SetCapabilities(v []Capability) *UpdateStackSetInput { - s.Capabilities = v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateStackSetInput) SetDescription(v string) *UpdateStackSetInput { - s.Description = &v - return s -} - -// SetOperationId sets the OperationId field's value. -func (s *UpdateStackSetInput) SetOperationId(v string) *UpdateStackSetInput { - s.OperationId = &v - return s -} - -// SetOperationPreferences sets the OperationPreferences field's value. -func (s *UpdateStackSetInput) SetOperationPreferences(v *StackSetOperationPreferences) *UpdateStackSetInput { - s.OperationPreferences = v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *UpdateStackSetInput) SetParameters(v []Parameter) *UpdateStackSetInput { - s.Parameters = v - return s -} - -// SetStackSetName sets the StackSetName field's value. -func (s *UpdateStackSetInput) SetStackSetName(v string) *UpdateStackSetInput { - s.StackSetName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *UpdateStackSetInput) SetTags(v []Tag) *UpdateStackSetInput { - s.Tags = v - return s -} - -// SetTemplateBody sets the TemplateBody field's value. -func (s *UpdateStackSetInput) SetTemplateBody(v string) *UpdateStackSetInput { - s.TemplateBody = &v - return s -} - -// SetTemplateURL sets the TemplateURL field's value. -func (s *UpdateStackSetInput) SetTemplateURL(v string) *UpdateStackSetInput { - s.TemplateURL = &v - return s -} - -// SetUsePreviousTemplate sets the UsePreviousTemplate field's value. -func (s *UpdateStackSetInput) SetUsePreviousTemplate(v bool) *UpdateStackSetInput { - s.UsePreviousTemplate = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackSetOutput type UpdateStackSetOutput struct { _ struct{} `type:"structure"` @@ -10500,12 +8100,6 @@ func (s UpdateStackSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperationId sets the OperationId field's value. -func (s *UpdateStackSetOutput) SetOperationId(v string) *UpdateStackSetOutput { - s.OperationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateTerminationProtectionInput type UpdateTerminationProtectionInput struct { _ struct{} `type:"structure"` @@ -10553,18 +8147,6 @@ func (s *UpdateTerminationProtectionInput) Validate() error { return nil } -// SetEnableTerminationProtection sets the EnableTerminationProtection field's value. -func (s *UpdateTerminationProtectionInput) SetEnableTerminationProtection(v bool) *UpdateTerminationProtectionInput { - s.EnableTerminationProtection = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *UpdateTerminationProtectionInput) SetStackName(v string) *UpdateTerminationProtectionInput { - s.StackName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateTerminationProtectionOutput type UpdateTerminationProtectionOutput struct { _ struct{} `type:"structure"` @@ -10590,12 +8172,6 @@ func (s UpdateTerminationProtectionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStackId sets the StackId field's value. -func (s *UpdateTerminationProtectionOutput) SetStackId(v string) *UpdateTerminationProtectionOutput { - s.StackId = &v - return s -} - // The input for ValidateTemplate action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplateInput type ValidateTemplateInput struct { @@ -10646,18 +8222,6 @@ func (s *ValidateTemplateInput) Validate() error { return nil } -// SetTemplateBody sets the TemplateBody field's value. -func (s *ValidateTemplateInput) SetTemplateBody(v string) *ValidateTemplateInput { - s.TemplateBody = &v - return s -} - -// SetTemplateURL sets the TemplateURL field's value. -func (s *ValidateTemplateInput) SetTemplateURL(v string) *ValidateTemplateInput { - s.TemplateURL = &v - return s -} - // The output for ValidateTemplate action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplateOutput type ValidateTemplateOutput struct { @@ -10704,36 +8268,6 @@ func (s ValidateTemplateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCapabilities sets the Capabilities field's value. -func (s *ValidateTemplateOutput) SetCapabilities(v []Capability) *ValidateTemplateOutput { - s.Capabilities = v - return s -} - -// SetCapabilitiesReason sets the CapabilitiesReason field's value. -func (s *ValidateTemplateOutput) SetCapabilitiesReason(v string) *ValidateTemplateOutput { - s.CapabilitiesReason = &v - return s -} - -// SetDeclaredTransforms sets the DeclaredTransforms field's value. -func (s *ValidateTemplateOutput) SetDeclaredTransforms(v []string) *ValidateTemplateOutput { - s.DeclaredTransforms = v - return s -} - -// SetDescription sets the Description field's value. -func (s *ValidateTemplateOutput) SetDescription(v string) *ValidateTemplateOutput { - s.Description = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *ValidateTemplateOutput) SetParameters(v []TemplateParameter) *ValidateTemplateOutput { - s.Parameters = v - return s -} - type AccountGateStatus string // Enum values for AccountGateStatus diff --git a/service/cloudfront/api.go b/service/cloudfront/api.go index 358fdd731a7..02a42d8cf11 100644 --- a/service/cloudfront/api.go +++ b/service/cloudfront/api.go @@ -1786,24 +1786,6 @@ func (s ActiveTrustedSigners) GoString() string { return s.String() } -// SetEnabled sets the Enabled field's value. -func (s *ActiveTrustedSigners) SetEnabled(v bool) *ActiveTrustedSigners { - s.Enabled = &v - return s -} - -// SetItems sets the Items field's value. -func (s *ActiveTrustedSigners) SetItems(v []Signer) *ActiveTrustedSigners { - s.Items = v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *ActiveTrustedSigners) SetQuantity(v int64) *ActiveTrustedSigners { - s.Quantity = &v - return s -} - // A complex type that contains information about CNAMEs (alternate domain names), // if any, for this distribution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Aliases @@ -1845,18 +1827,6 @@ func (s *Aliases) Validate() error { return nil } -// SetItems sets the Items field's value. -func (s *Aliases) SetItems(v []string) *Aliases { - s.Items = v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *Aliases) SetQuantity(v int64) *Aliases { - s.Quantity = &v - return s -} - // A complex type that controls which HTTP methods CloudFront processes and // forwards to your Amazon S3 bucket or your custom origin. There are three // choices: @@ -1935,24 +1905,6 @@ func (s *AllowedMethods) Validate() error { return nil } -// SetCachedMethods sets the CachedMethods field's value. -func (s *AllowedMethods) SetCachedMethods(v *CachedMethods) *AllowedMethods { - s.CachedMethods = v - return s -} - -// SetItems sets the Items field's value. -func (s *AllowedMethods) SetItems(v []Method) *AllowedMethods { - s.Items = v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *AllowedMethods) SetQuantity(v int64) *AllowedMethods { - s.Quantity = &v - return s -} - // A complex type that describes how CloudFront processes requests. // // You must create at least as many cache behaviors (including the default cache @@ -2193,78 +2145,6 @@ func (s *CacheBehavior) Validate() error { return nil } -// SetAllowedMethods sets the AllowedMethods field's value. -func (s *CacheBehavior) SetAllowedMethods(v *AllowedMethods) *CacheBehavior { - s.AllowedMethods = v - return s -} - -// SetCompress sets the Compress field's value. -func (s *CacheBehavior) SetCompress(v bool) *CacheBehavior { - s.Compress = &v - return s -} - -// SetDefaultTTL sets the DefaultTTL field's value. -func (s *CacheBehavior) SetDefaultTTL(v int64) *CacheBehavior { - s.DefaultTTL = &v - return s -} - -// SetForwardedValues sets the ForwardedValues field's value. -func (s *CacheBehavior) SetForwardedValues(v *ForwardedValues) *CacheBehavior { - s.ForwardedValues = v - return s -} - -// SetLambdaFunctionAssociations sets the LambdaFunctionAssociations field's value. -func (s *CacheBehavior) SetLambdaFunctionAssociations(v *LambdaFunctionAssociations) *CacheBehavior { - s.LambdaFunctionAssociations = v - return s -} - -// SetMaxTTL sets the MaxTTL field's value. -func (s *CacheBehavior) SetMaxTTL(v int64) *CacheBehavior { - s.MaxTTL = &v - return s -} - -// SetMinTTL sets the MinTTL field's value. -func (s *CacheBehavior) SetMinTTL(v int64) *CacheBehavior { - s.MinTTL = &v - return s -} - -// SetPathPattern sets the PathPattern field's value. -func (s *CacheBehavior) SetPathPattern(v string) *CacheBehavior { - s.PathPattern = &v - return s -} - -// SetSmoothStreaming sets the SmoothStreaming field's value. -func (s *CacheBehavior) SetSmoothStreaming(v bool) *CacheBehavior { - s.SmoothStreaming = &v - return s -} - -// SetTargetOriginId sets the TargetOriginId field's value. -func (s *CacheBehavior) SetTargetOriginId(v string) *CacheBehavior { - s.TargetOriginId = &v - return s -} - -// SetTrustedSigners sets the TrustedSigners field's value. -func (s *CacheBehavior) SetTrustedSigners(v *TrustedSigners) *CacheBehavior { - s.TrustedSigners = v - return s -} - -// SetViewerProtocolPolicy sets the ViewerProtocolPolicy field's value. -func (s *CacheBehavior) SetViewerProtocolPolicy(v ViewerProtocolPolicy) *CacheBehavior { - s.ViewerProtocolPolicy = v - return s -} - // A complex type that contains zero or more CacheBehavior elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CacheBehaviors type CacheBehaviors struct { @@ -2311,18 +2191,6 @@ func (s *CacheBehaviors) Validate() error { return nil } -// SetItems sets the Items field's value. -func (s *CacheBehaviors) SetItems(v []CacheBehavior) *CacheBehaviors { - s.Items = v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *CacheBehaviors) SetQuantity(v int64) *CacheBehaviors { - s.Quantity = &v - return s -} - // A complex type that controls whether CloudFront caches the response to requests // using the specified HTTP methods. There are two choices: // @@ -2379,18 +2247,6 @@ func (s *CachedMethods) Validate() error { return nil } -// SetItems sets the Items field's value. -func (s *CachedMethods) SetItems(v []Method) *CachedMethods { - s.Items = v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *CachedMethods) SetQuantity(v int64) *CachedMethods { - s.Quantity = &v - return s -} - // A complex type that specifies whether you want CloudFront to forward cookies // to the origin and, if so, which ones. For more information about forwarding // cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies @@ -2435,18 +2291,6 @@ func (s *CookieNames) Validate() error { return nil } -// SetItems sets the Items field's value. -func (s *CookieNames) SetItems(v []string) *CookieNames { - s.Items = v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *CookieNames) SetQuantity(v int64) *CookieNames { - s.Quantity = &v - return s -} - // A complex type that specifies whether you want CloudFront to forward cookies // to the origin and, if so, which ones. For more information about forwarding // cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies @@ -2510,18 +2354,6 @@ func (s *CookiePreference) Validate() error { return nil } -// SetForward sets the Forward field's value. -func (s *CookiePreference) SetForward(v ItemSelection) *CookiePreference { - s.Forward = v - return s -} - -// SetWhitelistedNames sets the WhitelistedNames field's value. -func (s *CookiePreference) SetWhitelistedNames(v *CookieNames) *CookiePreference { - s.WhitelistedNames = v - return s -} - // The request to create a new origin access identity. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateCloudFrontOriginAccessIdentityRequest type CreateCloudFrontOriginAccessIdentityInput struct { @@ -2562,12 +2394,6 @@ func (s *CreateCloudFrontOriginAccessIdentityInput) Validate() error { return nil } -// SetCloudFrontOriginAccessIdentityConfig sets the CloudFrontOriginAccessIdentityConfig field's value. -func (s *CreateCloudFrontOriginAccessIdentityInput) SetCloudFrontOriginAccessIdentityConfig(v *OriginAccessIdentityConfig) *CreateCloudFrontOriginAccessIdentityInput { - s.CloudFrontOriginAccessIdentityConfig = v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateCloudFrontOriginAccessIdentityResult type CreateCloudFrontOriginAccessIdentityOutput struct { @@ -2601,24 +2427,6 @@ func (s CreateCloudFrontOriginAccessIdentityOutput) SDKResponseMetadata() aws.Re return s.responseMetadata } -// SetCloudFrontOriginAccessIdentity sets the CloudFrontOriginAccessIdentity field's value. -func (s *CreateCloudFrontOriginAccessIdentityOutput) SetCloudFrontOriginAccessIdentity(v *OriginAccessIdentity) *CreateCloudFrontOriginAccessIdentityOutput { - s.CloudFrontOriginAccessIdentity = v - return s -} - -// SetETag sets the ETag field's value. -func (s *CreateCloudFrontOriginAccessIdentityOutput) SetETag(v string) *CreateCloudFrontOriginAccessIdentityOutput { - s.ETag = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *CreateCloudFrontOriginAccessIdentityOutput) SetLocation(v string) *CreateCloudFrontOriginAccessIdentityOutput { - s.Location = &v - return s -} - // The request to create a new distribution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateDistributionRequest type CreateDistributionInput struct { @@ -2659,12 +2467,6 @@ func (s *CreateDistributionInput) Validate() error { return nil } -// SetDistributionConfig sets the DistributionConfig field's value. -func (s *CreateDistributionInput) SetDistributionConfig(v *DistributionConfig) *CreateDistributionInput { - s.DistributionConfig = v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateDistributionResult type CreateDistributionOutput struct { @@ -2698,24 +2500,6 @@ func (s CreateDistributionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDistribution sets the Distribution field's value. -func (s *CreateDistributionOutput) SetDistribution(v *Distribution) *CreateDistributionOutput { - s.Distribution = v - return s -} - -// SetETag sets the ETag field's value. -func (s *CreateDistributionOutput) SetETag(v string) *CreateDistributionOutput { - s.ETag = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *CreateDistributionOutput) SetLocation(v string) *CreateDistributionOutput { - s.Location = &v - return s -} - // The request to create a new distribution with tags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateDistributionWithTagsRequest type CreateDistributionWithTagsInput struct { @@ -2756,12 +2540,6 @@ func (s *CreateDistributionWithTagsInput) Validate() error { return nil } -// SetDistributionConfigWithTags sets the DistributionConfigWithTags field's value. -func (s *CreateDistributionWithTagsInput) SetDistributionConfigWithTags(v *DistributionConfigWithTags) *CreateDistributionWithTagsInput { - s.DistributionConfigWithTags = v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateDistributionWithTagsResult type CreateDistributionWithTagsOutput struct { @@ -2795,24 +2573,6 @@ func (s CreateDistributionWithTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDistribution sets the Distribution field's value. -func (s *CreateDistributionWithTagsOutput) SetDistribution(v *Distribution) *CreateDistributionWithTagsOutput { - s.Distribution = v - return s -} - -// SetETag sets the ETag field's value. -func (s *CreateDistributionWithTagsOutput) SetETag(v string) *CreateDistributionWithTagsOutput { - s.ETag = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *CreateDistributionWithTagsOutput) SetLocation(v string) *CreateDistributionWithTagsOutput { - s.Location = &v - return s -} - // The request to create an invalidation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateInvalidationRequest type CreateInvalidationInput struct { @@ -2862,18 +2622,6 @@ func (s *CreateInvalidationInput) Validate() error { return nil } -// SetDistributionId sets the DistributionId field's value. -func (s *CreateInvalidationInput) SetDistributionId(v string) *CreateInvalidationInput { - s.DistributionId = &v - return s -} - -// SetInvalidationBatch sets the InvalidationBatch field's value. -func (s *CreateInvalidationInput) SetInvalidationBatch(v *InvalidationBatch) *CreateInvalidationInput { - s.InvalidationBatch = v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateInvalidationResult type CreateInvalidationOutput struct { @@ -2904,18 +2652,6 @@ func (s CreateInvalidationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInvalidation sets the Invalidation field's value. -func (s *CreateInvalidationOutput) SetInvalidation(v *Invalidation) *CreateInvalidationOutput { - s.Invalidation = v - return s -} - -// SetLocation sets the Location field's value. -func (s *CreateInvalidationOutput) SetLocation(v string) *CreateInvalidationOutput { - s.Location = &v - return s -} - // The request to create a new streaming distribution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateStreamingDistributionRequest type CreateStreamingDistributionInput struct { @@ -2956,12 +2692,6 @@ func (s *CreateStreamingDistributionInput) Validate() error { return nil } -// SetStreamingDistributionConfig sets the StreamingDistributionConfig field's value. -func (s *CreateStreamingDistributionInput) SetStreamingDistributionConfig(v *StreamingDistributionConfig) *CreateStreamingDistributionInput { - s.StreamingDistributionConfig = v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateStreamingDistributionResult type CreateStreamingDistributionOutput struct { @@ -2995,24 +2725,6 @@ func (s CreateStreamingDistributionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetETag sets the ETag field's value. -func (s *CreateStreamingDistributionOutput) SetETag(v string) *CreateStreamingDistributionOutput { - s.ETag = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *CreateStreamingDistributionOutput) SetLocation(v string) *CreateStreamingDistributionOutput { - s.Location = &v - return s -} - -// SetStreamingDistribution sets the StreamingDistribution field's value. -func (s *CreateStreamingDistributionOutput) SetStreamingDistribution(v *StreamingDistribution) *CreateStreamingDistributionOutput { - s.StreamingDistribution = v - return s -} - // The request to create a new streaming distribution with tags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateStreamingDistributionWithTagsRequest type CreateStreamingDistributionWithTagsInput struct { @@ -3053,12 +2765,6 @@ func (s *CreateStreamingDistributionWithTagsInput) Validate() error { return nil } -// SetStreamingDistributionConfigWithTags sets the StreamingDistributionConfigWithTags field's value. -func (s *CreateStreamingDistributionWithTagsInput) SetStreamingDistributionConfigWithTags(v *StreamingDistributionConfigWithTags) *CreateStreamingDistributionWithTagsInput { - s.StreamingDistributionConfigWithTags = v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CreateStreamingDistributionWithTagsResult type CreateStreamingDistributionWithTagsOutput struct { @@ -3091,24 +2797,6 @@ func (s CreateStreamingDistributionWithTagsOutput) SDKResponseMetadata() aws.Res return s.responseMetadata } -// SetETag sets the ETag field's value. -func (s *CreateStreamingDistributionWithTagsOutput) SetETag(v string) *CreateStreamingDistributionWithTagsOutput { - s.ETag = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *CreateStreamingDistributionWithTagsOutput) SetLocation(v string) *CreateStreamingDistributionWithTagsOutput { - s.Location = &v - return s -} - -// SetStreamingDistribution sets the StreamingDistribution field's value. -func (s *CreateStreamingDistributionWithTagsOutput) SetStreamingDistribution(v *StreamingDistribution) *CreateStreamingDistributionWithTagsOutput { - s.StreamingDistribution = v - return s -} - // A complex type that controls: // // * Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range @@ -3215,30 +2903,6 @@ func (s *CustomErrorResponse) Validate() error { return nil } -// SetErrorCachingMinTTL sets the ErrorCachingMinTTL field's value. -func (s *CustomErrorResponse) SetErrorCachingMinTTL(v int64) *CustomErrorResponse { - s.ErrorCachingMinTTL = &v - return s -} - -// SetErrorCode sets the ErrorCode field's value. -func (s *CustomErrorResponse) SetErrorCode(v int64) *CustomErrorResponse { - s.ErrorCode = &v - return s -} - -// SetResponseCode sets the ResponseCode field's value. -func (s *CustomErrorResponse) SetResponseCode(v string) *CustomErrorResponse { - s.ResponseCode = &v - return s -} - -// SetResponsePagePath sets the ResponsePagePath field's value. -func (s *CustomErrorResponse) SetResponsePagePath(v string) *CustomErrorResponse { - s.ResponsePagePath = &v - return s -} - // A complex type that controls: // // * Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range @@ -3296,18 +2960,6 @@ func (s *CustomErrorResponses) Validate() error { return nil } -// SetItems sets the Items field's value. -func (s *CustomErrorResponses) SetItems(v []CustomErrorResponse) *CustomErrorResponses { - s.Items = v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *CustomErrorResponses) SetQuantity(v int64) *CustomErrorResponses { - s.Quantity = &v - return s -} - // A complex type that contains the list of Custom Headers for each origin. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CustomHeaders type CustomHeaders struct { @@ -3355,18 +3007,6 @@ func (s *CustomHeaders) Validate() error { return nil } -// SetItems sets the Items field's value. -func (s *CustomHeaders) SetItems(v []OriginCustomHeader) *CustomHeaders { - s.Items = v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *CustomHeaders) SetQuantity(v int64) *CustomHeaders { - s.Quantity = &v - return s -} - // A customer origin. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CustomOriginConfig type CustomOriginConfig struct { @@ -3446,42 +3086,6 @@ func (s *CustomOriginConfig) Validate() error { return nil } -// SetHTTPPort sets the HTTPPort field's value. -func (s *CustomOriginConfig) SetHTTPPort(v int64) *CustomOriginConfig { - s.HTTPPort = &v - return s -} - -// SetHTTPSPort sets the HTTPSPort field's value. -func (s *CustomOriginConfig) SetHTTPSPort(v int64) *CustomOriginConfig { - s.HTTPSPort = &v - return s -} - -// SetOriginKeepaliveTimeout sets the OriginKeepaliveTimeout field's value. -func (s *CustomOriginConfig) SetOriginKeepaliveTimeout(v int64) *CustomOriginConfig { - s.OriginKeepaliveTimeout = &v - return s -} - -// SetOriginProtocolPolicy sets the OriginProtocolPolicy field's value. -func (s *CustomOriginConfig) SetOriginProtocolPolicy(v OriginProtocolPolicy) *CustomOriginConfig { - s.OriginProtocolPolicy = v - return s -} - -// SetOriginReadTimeout sets the OriginReadTimeout field's value. -func (s *CustomOriginConfig) SetOriginReadTimeout(v int64) *CustomOriginConfig { - s.OriginReadTimeout = &v - return s -} - -// SetOriginSslProtocols sets the OriginSslProtocols field's value. -func (s *CustomOriginConfig) SetOriginSslProtocols(v *OriginSslProtocols) *CustomOriginConfig { - s.OriginSslProtocols = v - return s -} - // A complex type that describes the default cache behavior if you don't specify // a CacheBehavior element or if files don't match any of the values of PathPattern // in CacheBehavior elements. You must create exactly one default cache behavior. @@ -3668,72 +3272,6 @@ func (s *DefaultCacheBehavior) Validate() error { return nil } -// SetAllowedMethods sets the AllowedMethods field's value. -func (s *DefaultCacheBehavior) SetAllowedMethods(v *AllowedMethods) *DefaultCacheBehavior { - s.AllowedMethods = v - return s -} - -// SetCompress sets the Compress field's value. -func (s *DefaultCacheBehavior) SetCompress(v bool) *DefaultCacheBehavior { - s.Compress = &v - return s -} - -// SetDefaultTTL sets the DefaultTTL field's value. -func (s *DefaultCacheBehavior) SetDefaultTTL(v int64) *DefaultCacheBehavior { - s.DefaultTTL = &v - return s -} - -// SetForwardedValues sets the ForwardedValues field's value. -func (s *DefaultCacheBehavior) SetForwardedValues(v *ForwardedValues) *DefaultCacheBehavior { - s.ForwardedValues = v - return s -} - -// SetLambdaFunctionAssociations sets the LambdaFunctionAssociations field's value. -func (s *DefaultCacheBehavior) SetLambdaFunctionAssociations(v *LambdaFunctionAssociations) *DefaultCacheBehavior { - s.LambdaFunctionAssociations = v - return s -} - -// SetMaxTTL sets the MaxTTL field's value. -func (s *DefaultCacheBehavior) SetMaxTTL(v int64) *DefaultCacheBehavior { - s.MaxTTL = &v - return s -} - -// SetMinTTL sets the MinTTL field's value. -func (s *DefaultCacheBehavior) SetMinTTL(v int64) *DefaultCacheBehavior { - s.MinTTL = &v - return s -} - -// SetSmoothStreaming sets the SmoothStreaming field's value. -func (s *DefaultCacheBehavior) SetSmoothStreaming(v bool) *DefaultCacheBehavior { - s.SmoothStreaming = &v - return s -} - -// SetTargetOriginId sets the TargetOriginId field's value. -func (s *DefaultCacheBehavior) SetTargetOriginId(v string) *DefaultCacheBehavior { - s.TargetOriginId = &v - return s -} - -// SetTrustedSigners sets the TrustedSigners field's value. -func (s *DefaultCacheBehavior) SetTrustedSigners(v *TrustedSigners) *DefaultCacheBehavior { - s.TrustedSigners = v - return s -} - -// SetViewerProtocolPolicy sets the ViewerProtocolPolicy field's value. -func (s *DefaultCacheBehavior) SetViewerProtocolPolicy(v ViewerProtocolPolicy) *DefaultCacheBehavior { - s.ViewerProtocolPolicy = v - return s -} - // Deletes a origin access identity. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteCloudFrontOriginAccessIdentityRequest type DeleteCloudFrontOriginAccessIdentityInput struct { @@ -3773,18 +3311,6 @@ func (s *DeleteCloudFrontOriginAccessIdentityInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DeleteCloudFrontOriginAccessIdentityInput) SetId(v string) *DeleteCloudFrontOriginAccessIdentityInput { - s.Id = &v - return s -} - -// SetIfMatch sets the IfMatch field's value. -func (s *DeleteCloudFrontOriginAccessIdentityInput) SetIfMatch(v string) *DeleteCloudFrontOriginAccessIdentityInput { - s.IfMatch = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteCloudFrontOriginAccessIdentityOutput type DeleteCloudFrontOriginAccessIdentityOutput struct { _ struct{} `type:"structure"` @@ -3880,18 +3406,6 @@ func (s *DeleteDistributionInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DeleteDistributionInput) SetId(v string) *DeleteDistributionInput { - s.Id = &v - return s -} - -// SetIfMatch sets the IfMatch field's value. -func (s *DeleteDistributionInput) SetIfMatch(v string) *DeleteDistributionInput { - s.IfMatch = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteDistributionOutput type DeleteDistributionOutput struct { _ struct{} `type:"structure"` @@ -3946,12 +3460,6 @@ func (s *DeleteServiceLinkedRoleInput) Validate() error { return nil } -// SetRoleName sets the RoleName field's value. -func (s *DeleteServiceLinkedRoleInput) SetRoleName(v string) *DeleteServiceLinkedRoleInput { - s.RoleName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteServiceLinkedRoleOutput type DeleteServiceLinkedRoleOutput struct { _ struct{} `type:"structure"` @@ -4013,18 +3521,6 @@ func (s *DeleteStreamingDistributionInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DeleteStreamingDistributionInput) SetId(v string) *DeleteStreamingDistributionInput { - s.Id = &v - return s -} - -// SetIfMatch sets the IfMatch field's value. -func (s *DeleteStreamingDistributionInput) SetIfMatch(v string) *DeleteStreamingDistributionInput { - s.IfMatch = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DeleteStreamingDistributionOutput type DeleteStreamingDistributionOutput struct { _ struct{} `type:"structure"` @@ -4114,54 +3610,6 @@ func (s Distribution) GoString() string { return s.String() } -// SetARN sets the ARN field's value. -func (s *Distribution) SetARN(v string) *Distribution { - s.ARN = &v - return s -} - -// SetActiveTrustedSigners sets the ActiveTrustedSigners field's value. -func (s *Distribution) SetActiveTrustedSigners(v *ActiveTrustedSigners) *Distribution { - s.ActiveTrustedSigners = v - return s -} - -// SetDistributionConfig sets the DistributionConfig field's value. -func (s *Distribution) SetDistributionConfig(v *DistributionConfig) *Distribution { - s.DistributionConfig = v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *Distribution) SetDomainName(v string) *Distribution { - s.DomainName = &v - return s -} - -// SetId sets the Id field's value. -func (s *Distribution) SetId(v string) *Distribution { - s.Id = &v - return s -} - -// SetInProgressInvalidationBatches sets the InProgressInvalidationBatches field's value. -func (s *Distribution) SetInProgressInvalidationBatches(v int64) *Distribution { - s.InProgressInvalidationBatches = &v - return s -} - -// SetLastModifiedTime sets the LastModifiedTime field's value. -func (s *Distribution) SetLastModifiedTime(v time.Time) *Distribution { - s.LastModifiedTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Distribution) SetStatus(v string) *Distribution { - s.Status = &v - return s -} - // A distribution configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DistributionConfig type DistributionConfig struct { @@ -4510,102 +3958,6 @@ func (s *DistributionConfig) Validate() error { return nil } -// SetAliases sets the Aliases field's value. -func (s *DistributionConfig) SetAliases(v *Aliases) *DistributionConfig { - s.Aliases = v - return s -} - -// SetCacheBehaviors sets the CacheBehaviors field's value. -func (s *DistributionConfig) SetCacheBehaviors(v *CacheBehaviors) *DistributionConfig { - s.CacheBehaviors = v - return s -} - -// SetCallerReference sets the CallerReference field's value. -func (s *DistributionConfig) SetCallerReference(v string) *DistributionConfig { - s.CallerReference = &v - return s -} - -// SetComment sets the Comment field's value. -func (s *DistributionConfig) SetComment(v string) *DistributionConfig { - s.Comment = &v - return s -} - -// SetCustomErrorResponses sets the CustomErrorResponses field's value. -func (s *DistributionConfig) SetCustomErrorResponses(v *CustomErrorResponses) *DistributionConfig { - s.CustomErrorResponses = v - return s -} - -// SetDefaultCacheBehavior sets the DefaultCacheBehavior field's value. -func (s *DistributionConfig) SetDefaultCacheBehavior(v *DefaultCacheBehavior) *DistributionConfig { - s.DefaultCacheBehavior = v - return s -} - -// SetDefaultRootObject sets the DefaultRootObject field's value. -func (s *DistributionConfig) SetDefaultRootObject(v string) *DistributionConfig { - s.DefaultRootObject = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *DistributionConfig) SetEnabled(v bool) *DistributionConfig { - s.Enabled = &v - return s -} - -// SetHttpVersion sets the HttpVersion field's value. -func (s *DistributionConfig) SetHttpVersion(v HttpVersion) *DistributionConfig { - s.HttpVersion = v - return s -} - -// SetIsIPV6Enabled sets the IsIPV6Enabled field's value. -func (s *DistributionConfig) SetIsIPV6Enabled(v bool) *DistributionConfig { - s.IsIPV6Enabled = &v - return s -} - -// SetLogging sets the Logging field's value. -func (s *DistributionConfig) SetLogging(v *LoggingConfig) *DistributionConfig { - s.Logging = v - return s -} - -// SetOrigins sets the Origins field's value. -func (s *DistributionConfig) SetOrigins(v *Origins) *DistributionConfig { - s.Origins = v - return s -} - -// SetPriceClass sets the PriceClass field's value. -func (s *DistributionConfig) SetPriceClass(v PriceClass) *DistributionConfig { - s.PriceClass = v - return s -} - -// SetRestrictions sets the Restrictions field's value. -func (s *DistributionConfig) SetRestrictions(v *Restrictions) *DistributionConfig { - s.Restrictions = v - return s -} - -// SetViewerCertificate sets the ViewerCertificate field's value. -func (s *DistributionConfig) SetViewerCertificate(v *ViewerCertificate) *DistributionConfig { - s.ViewerCertificate = v - return s -} - -// SetWebACLId sets the WebACLId field's value. -func (s *DistributionConfig) SetWebACLId(v string) *DistributionConfig { - s.WebACLId = &v - return s -} - // A distribution Configuration and a list of tags to be associated with the // distribution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DistributionConfigWithTags @@ -4661,18 +4013,6 @@ func (s *DistributionConfigWithTags) Validate() error { return nil } -// SetDistributionConfig sets the DistributionConfig field's value. -func (s *DistributionConfigWithTags) SetDistributionConfig(v *DistributionConfig) *DistributionConfigWithTags { - s.DistributionConfig = v - return s -} - -// SetTags sets the Tags field's value. -func (s *DistributionConfigWithTags) SetTags(v *Tags) *DistributionConfigWithTags { - s.Tags = v - return s -} - // A distribution list. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DistributionList type DistributionList struct { @@ -4721,42 +4061,6 @@ func (s DistributionList) GoString() string { return s.String() } -// SetIsTruncated sets the IsTruncated field's value. -func (s *DistributionList) SetIsTruncated(v bool) *DistributionList { - s.IsTruncated = &v - return s -} - -// SetItems sets the Items field's value. -func (s *DistributionList) SetItems(v []DistributionSummary) *DistributionList { - s.Items = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DistributionList) SetMarker(v string) *DistributionList { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *DistributionList) SetMaxItems(v int64) *DistributionList { - s.MaxItems = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *DistributionList) SetNextMarker(v string) *DistributionList { - s.NextMarker = &v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *DistributionList) SetQuantity(v int64) *DistributionList { - s.Quantity = &v - return s -} - // A summary of the information about a CloudFront distribution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/DistributionSummary type DistributionSummary struct { @@ -4955,131 +4259,23 @@ func (s DistributionSummary) GoString() string { return s.String() } -// SetARN sets the ARN field's value. -func (s *DistributionSummary) SetARN(v string) *DistributionSummary { - s.ARN = &v - return s -} - -// SetAliases sets the Aliases field's value. -func (s *DistributionSummary) SetAliases(v *Aliases) *DistributionSummary { - s.Aliases = v - return s -} - -// SetCacheBehaviors sets the CacheBehaviors field's value. -func (s *DistributionSummary) SetCacheBehaviors(v *CacheBehaviors) *DistributionSummary { - s.CacheBehaviors = v - return s -} - -// SetComment sets the Comment field's value. -func (s *DistributionSummary) SetComment(v string) *DistributionSummary { - s.Comment = &v - return s -} +// A complex type that specifies how CloudFront handles query strings and cookies. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ForwardedValues +type ForwardedValues struct { + _ struct{} `type:"structure"` -// SetCustomErrorResponses sets the CustomErrorResponses field's value. -func (s *DistributionSummary) SetCustomErrorResponses(v *CustomErrorResponses) *DistributionSummary { - s.CustomErrorResponses = v - return s -} + // A complex type that specifies whether you want CloudFront to forward cookies + // to the origin and, if so, which ones. For more information about forwarding + // cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies + // (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html) + // in the Amazon CloudFront Developer Guide. + // + // Cookies is a required field + Cookies *CookiePreference `type:"structure" required:"true"` -// SetDefaultCacheBehavior sets the DefaultCacheBehavior field's value. -func (s *DistributionSummary) SetDefaultCacheBehavior(v *DefaultCacheBehavior) *DistributionSummary { - s.DefaultCacheBehavior = v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *DistributionSummary) SetDomainName(v string) *DistributionSummary { - s.DomainName = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *DistributionSummary) SetEnabled(v bool) *DistributionSummary { - s.Enabled = &v - return s -} - -// SetHttpVersion sets the HttpVersion field's value. -func (s *DistributionSummary) SetHttpVersion(v HttpVersion) *DistributionSummary { - s.HttpVersion = v - return s -} - -// SetId sets the Id field's value. -func (s *DistributionSummary) SetId(v string) *DistributionSummary { - s.Id = &v - return s -} - -// SetIsIPV6Enabled sets the IsIPV6Enabled field's value. -func (s *DistributionSummary) SetIsIPV6Enabled(v bool) *DistributionSummary { - s.IsIPV6Enabled = &v - return s -} - -// SetLastModifiedTime sets the LastModifiedTime field's value. -func (s *DistributionSummary) SetLastModifiedTime(v time.Time) *DistributionSummary { - s.LastModifiedTime = &v - return s -} - -// SetOrigins sets the Origins field's value. -func (s *DistributionSummary) SetOrigins(v *Origins) *DistributionSummary { - s.Origins = v - return s -} - -// SetPriceClass sets the PriceClass field's value. -func (s *DistributionSummary) SetPriceClass(v PriceClass) *DistributionSummary { - s.PriceClass = v - return s -} - -// SetRestrictions sets the Restrictions field's value. -func (s *DistributionSummary) SetRestrictions(v *Restrictions) *DistributionSummary { - s.Restrictions = v - return s -} - -// SetStatus sets the Status field's value. -func (s *DistributionSummary) SetStatus(v string) *DistributionSummary { - s.Status = &v - return s -} - -// SetViewerCertificate sets the ViewerCertificate field's value. -func (s *DistributionSummary) SetViewerCertificate(v *ViewerCertificate) *DistributionSummary { - s.ViewerCertificate = v - return s -} - -// SetWebACLId sets the WebACLId field's value. -func (s *DistributionSummary) SetWebACLId(v string) *DistributionSummary { - s.WebACLId = &v - return s -} - -// A complex type that specifies how CloudFront handles query strings and cookies. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ForwardedValues -type ForwardedValues struct { - _ struct{} `type:"structure"` - - // A complex type that specifies whether you want CloudFront to forward cookies - // to the origin and, if so, which ones. For more information about forwarding - // cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies - // (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html) - // in the Amazon CloudFront Developer Guide. - // - // Cookies is a required field - Cookies *CookiePreference `type:"structure" required:"true"` - - // A complex type that specifies the Headers, if any, that you want CloudFront - // to base caching on for this cache behavior. - Headers *Headers `type:"structure"` + // A complex type that specifies the Headers, if any, that you want CloudFront + // to base caching on for this cache behavior. + Headers *Headers `type:"structure"` // Indicates whether you want CloudFront to forward query strings to the origin // that is associated with this cache behavior and cache based on the query @@ -5156,30 +4352,6 @@ func (s *ForwardedValues) Validate() error { return nil } -// SetCookies sets the Cookies field's value. -func (s *ForwardedValues) SetCookies(v *CookiePreference) *ForwardedValues { - s.Cookies = v - return s -} - -// SetHeaders sets the Headers field's value. -func (s *ForwardedValues) SetHeaders(v *Headers) *ForwardedValues { - s.Headers = v - return s -} - -// SetQueryString sets the QueryString field's value. -func (s *ForwardedValues) SetQueryString(v bool) *ForwardedValues { - s.QueryString = &v - return s -} - -// SetQueryStringCacheKeys sets the QueryStringCacheKeys field's value. -func (s *ForwardedValues) SetQueryStringCacheKeys(v *QueryStringCacheKeys) *ForwardedValues { - s.QueryStringCacheKeys = v - return s -} - // A complex type that controls the countries in which your content is distributed. // CloudFront determines the location of your users using MaxMind GeoIP databases. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GeoRestriction @@ -5251,24 +4423,6 @@ func (s *GeoRestriction) Validate() error { return nil } -// SetItems sets the Items field's value. -func (s *GeoRestriction) SetItems(v []string) *GeoRestriction { - s.Items = v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *GeoRestriction) SetQuantity(v int64) *GeoRestriction { - s.Quantity = &v - return s -} - -// SetRestrictionType sets the RestrictionType field's value. -func (s *GeoRestriction) SetRestrictionType(v GeoRestrictionType) *GeoRestriction { - s.RestrictionType = v - return s -} - // The origin access identity's configuration information. For more information, // see CloudFrontOriginAccessIdentityConfigComplexType. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetCloudFrontOriginAccessIdentityConfigRequest @@ -5305,12 +4459,6 @@ func (s *GetCloudFrontOriginAccessIdentityConfigInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *GetCloudFrontOriginAccessIdentityConfigInput) SetId(v string) *GetCloudFrontOriginAccessIdentityConfigInput { - s.Id = &v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetCloudFrontOriginAccessIdentityConfigResult type GetCloudFrontOriginAccessIdentityConfigOutput struct { @@ -5340,18 +4488,6 @@ func (s GetCloudFrontOriginAccessIdentityConfigOutput) SDKResponseMetadata() aws return s.responseMetadata } -// SetCloudFrontOriginAccessIdentityConfig sets the CloudFrontOriginAccessIdentityConfig field's value. -func (s *GetCloudFrontOriginAccessIdentityConfigOutput) SetCloudFrontOriginAccessIdentityConfig(v *OriginAccessIdentityConfig) *GetCloudFrontOriginAccessIdentityConfigOutput { - s.CloudFrontOriginAccessIdentityConfig = v - return s -} - -// SetETag sets the ETag field's value. -func (s *GetCloudFrontOriginAccessIdentityConfigOutput) SetETag(v string) *GetCloudFrontOriginAccessIdentityConfigOutput { - s.ETag = &v - return s -} - // The request to get an origin access identity's information. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetCloudFrontOriginAccessIdentityRequest type GetCloudFrontOriginAccessIdentityInput struct { @@ -5387,12 +4523,6 @@ func (s *GetCloudFrontOriginAccessIdentityInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *GetCloudFrontOriginAccessIdentityInput) SetId(v string) *GetCloudFrontOriginAccessIdentityInput { - s.Id = &v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetCloudFrontOriginAccessIdentityResult type GetCloudFrontOriginAccessIdentityOutput struct { @@ -5423,18 +4553,6 @@ func (s GetCloudFrontOriginAccessIdentityOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetCloudFrontOriginAccessIdentity sets the CloudFrontOriginAccessIdentity field's value. -func (s *GetCloudFrontOriginAccessIdentityOutput) SetCloudFrontOriginAccessIdentity(v *OriginAccessIdentity) *GetCloudFrontOriginAccessIdentityOutput { - s.CloudFrontOriginAccessIdentity = v - return s -} - -// SetETag sets the ETag field's value. -func (s *GetCloudFrontOriginAccessIdentityOutput) SetETag(v string) *GetCloudFrontOriginAccessIdentityOutput { - s.ETag = &v - return s -} - // The request to get a distribution configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetDistributionConfigRequest type GetDistributionConfigInput struct { @@ -5470,12 +4588,6 @@ func (s *GetDistributionConfigInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *GetDistributionConfigInput) SetId(v string) *GetDistributionConfigInput { - s.Id = &v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetDistributionConfigResult type GetDistributionConfigOutput struct { @@ -5505,18 +4617,6 @@ func (s GetDistributionConfigOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDistributionConfig sets the DistributionConfig field's value. -func (s *GetDistributionConfigOutput) SetDistributionConfig(v *DistributionConfig) *GetDistributionConfigOutput { - s.DistributionConfig = v - return s -} - -// SetETag sets the ETag field's value. -func (s *GetDistributionConfigOutput) SetETag(v string) *GetDistributionConfigOutput { - s.ETag = &v - return s -} - // The request to get a distribution's information. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetDistributionRequest type GetDistributionInput struct { @@ -5552,12 +4652,6 @@ func (s *GetDistributionInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *GetDistributionInput) SetId(v string) *GetDistributionInput { - s.Id = &v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetDistributionResult type GetDistributionOutput struct { @@ -5587,18 +4681,6 @@ func (s GetDistributionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDistribution sets the Distribution field's value. -func (s *GetDistributionOutput) SetDistribution(v *Distribution) *GetDistributionOutput { - s.Distribution = v - return s -} - -// SetETag sets the ETag field's value. -func (s *GetDistributionOutput) SetETag(v string) *GetDistributionOutput { - s.ETag = &v - return s -} - // The request to get an invalidation's information. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetInvalidationRequest type GetInvalidationInput struct { @@ -5643,18 +4725,6 @@ func (s *GetInvalidationInput) Validate() error { return nil } -// SetDistributionId sets the DistributionId field's value. -func (s *GetInvalidationInput) SetDistributionId(v string) *GetInvalidationInput { - s.DistributionId = &v - return s -} - -// SetId sets the Id field's value. -func (s *GetInvalidationInput) SetId(v string) *GetInvalidationInput { - s.Id = &v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetInvalidationResult type GetInvalidationOutput struct { @@ -5682,12 +4752,6 @@ func (s GetInvalidationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInvalidation sets the Invalidation field's value. -func (s *GetInvalidationOutput) SetInvalidation(v *Invalidation) *GetInvalidationOutput { - s.Invalidation = v - return s -} - // To request to get a streaming distribution configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetStreamingDistributionConfigRequest type GetStreamingDistributionConfigInput struct { @@ -5723,12 +4787,6 @@ func (s *GetStreamingDistributionConfigInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *GetStreamingDistributionConfigInput) SetId(v string) *GetStreamingDistributionConfigInput { - s.Id = &v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetStreamingDistributionConfigResult type GetStreamingDistributionConfigOutput struct { @@ -5758,18 +4816,6 @@ func (s GetStreamingDistributionConfigOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetETag sets the ETag field's value. -func (s *GetStreamingDistributionConfigOutput) SetETag(v string) *GetStreamingDistributionConfigOutput { - s.ETag = &v - return s -} - -// SetStreamingDistributionConfig sets the StreamingDistributionConfig field's value. -func (s *GetStreamingDistributionConfigOutput) SetStreamingDistributionConfig(v *StreamingDistributionConfig) *GetStreamingDistributionConfigOutput { - s.StreamingDistributionConfig = v - return s -} - // The request to get a streaming distribution's information. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetStreamingDistributionRequest type GetStreamingDistributionInput struct { @@ -5805,12 +4851,6 @@ func (s *GetStreamingDistributionInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *GetStreamingDistributionInput) SetId(v string) *GetStreamingDistributionInput { - s.Id = &v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/GetStreamingDistributionResult type GetStreamingDistributionOutput struct { @@ -5841,18 +4881,6 @@ func (s GetStreamingDistributionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetETag sets the ETag field's value. -func (s *GetStreamingDistributionOutput) SetETag(v string) *GetStreamingDistributionOutput { - s.ETag = &v - return s -} - -// SetStreamingDistribution sets the StreamingDistribution field's value. -func (s *GetStreamingDistributionOutput) SetStreamingDistribution(v *StreamingDistribution) *GetStreamingDistributionOutput { - s.StreamingDistribution = v - return s -} - // A complex type that specifies the request headers, if any, that you want // CloudFront to base caching on for this cache behavior. // @@ -5929,18 +4957,6 @@ func (s *Headers) Validate() error { return nil } -// SetItems sets the Items field's value. -func (s *Headers) SetItems(v []string) *Headers { - s.Items = v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *Headers) SetQuantity(v int64) *Headers { - s.Quantity = &v - return s -} - // An invalidation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Invalidation type Invalidation struct { @@ -5978,30 +4994,6 @@ func (s Invalidation) GoString() string { return s.String() } -// SetCreateTime sets the CreateTime field's value. -func (s *Invalidation) SetCreateTime(v time.Time) *Invalidation { - s.CreateTime = &v - return s -} - -// SetId sets the Id field's value. -func (s *Invalidation) SetId(v string) *Invalidation { - s.Id = &v - return s -} - -// SetInvalidationBatch sets the InvalidationBatch field's value. -func (s *Invalidation) SetInvalidationBatch(v *InvalidationBatch) *Invalidation { - s.InvalidationBatch = v - return s -} - -// SetStatus sets the Status field's value. -func (s *Invalidation) SetStatus(v string) *Invalidation { - s.Status = &v - return s -} - // An invalidation batch. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/InvalidationBatch type InvalidationBatch struct { @@ -6068,18 +5060,6 @@ func (s *InvalidationBatch) Validate() error { return nil } -// SetCallerReference sets the CallerReference field's value. -func (s *InvalidationBatch) SetCallerReference(v string) *InvalidationBatch { - s.CallerReference = &v - return s -} - -// SetPaths sets the Paths field's value. -func (s *InvalidationBatch) SetPaths(v *Paths) *InvalidationBatch { - s.Paths = v - return s -} - // The InvalidationList complex type describes the list of invalidation objects. // For more information about invalidation, see Invalidating Objects (Web Distributions // Only) (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html) @@ -6131,42 +5111,6 @@ func (s InvalidationList) GoString() string { return s.String() } -// SetIsTruncated sets the IsTruncated field's value. -func (s *InvalidationList) SetIsTruncated(v bool) *InvalidationList { - s.IsTruncated = &v - return s -} - -// SetItems sets the Items field's value. -func (s *InvalidationList) SetItems(v []InvalidationSummary) *InvalidationList { - s.Items = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *InvalidationList) SetMarker(v string) *InvalidationList { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *InvalidationList) SetMaxItems(v int64) *InvalidationList { - s.MaxItems = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *InvalidationList) SetNextMarker(v string) *InvalidationList { - s.NextMarker = &v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *InvalidationList) SetQuantity(v int64) *InvalidationList { - s.Quantity = &v - return s -} - // A summary of an invalidation request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/InvalidationSummary type InvalidationSummary struct { @@ -6196,24 +5140,6 @@ func (s InvalidationSummary) GoString() string { return s.String() } -// SetCreateTime sets the CreateTime field's value. -func (s *InvalidationSummary) SetCreateTime(v time.Time) *InvalidationSummary { - s.CreateTime = &v - return s -} - -// SetId sets the Id field's value. -func (s *InvalidationSummary) SetId(v string) *InvalidationSummary { - s.Id = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *InvalidationSummary) SetStatus(v string) *InvalidationSummary { - s.Status = &v - return s -} - // A complex type that lists the active CloudFront key pairs, if any, that are // associated with AwsAccountNumber. // @@ -6246,18 +5172,6 @@ func (s KeyPairIds) GoString() string { return s.String() } -// SetItems sets the Items field's value. -func (s *KeyPairIds) SetItems(v []string) *KeyPairIds { - s.Items = v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *KeyPairIds) SetQuantity(v int64) *KeyPairIds { - s.Quantity = &v - return s -} - // A complex type that contains a Lambda function association. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/LambdaFunctionAssociation type LambdaFunctionAssociation struct { @@ -6304,18 +5218,6 @@ func (s LambdaFunctionAssociation) GoString() string { return s.String() } -// SetEventType sets the EventType field's value. -func (s *LambdaFunctionAssociation) SetEventType(v EventType) *LambdaFunctionAssociation { - s.EventType = v - return s -} - -// SetLambdaFunctionARN sets the LambdaFunctionARN field's value. -func (s *LambdaFunctionAssociation) SetLambdaFunctionARN(v string) *LambdaFunctionAssociation { - s.LambdaFunctionARN = &v - return s -} - // A complex type that specifies a list of Lambda functions associations for // a cache behavior. // @@ -6365,18 +5267,6 @@ func (s *LambdaFunctionAssociations) Validate() error { return nil } -// SetItems sets the Items field's value. -func (s *LambdaFunctionAssociations) SetItems(v []LambdaFunctionAssociation) *LambdaFunctionAssociations { - s.Items = v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *LambdaFunctionAssociations) SetQuantity(v int64) *LambdaFunctionAssociations { - s.Quantity = &v - return s -} - // The request to list origin access identities. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListCloudFrontOriginAccessIdentitiesRequest type ListCloudFrontOriginAccessIdentitiesInput struct { @@ -6403,18 +5293,6 @@ func (s ListCloudFrontOriginAccessIdentitiesInput) GoString() string { return s.String() } -// SetMarker sets the Marker field's value. -func (s *ListCloudFrontOriginAccessIdentitiesInput) SetMarker(v string) *ListCloudFrontOriginAccessIdentitiesInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListCloudFrontOriginAccessIdentitiesInput) SetMaxItems(v int64) *ListCloudFrontOriginAccessIdentitiesInput { - s.MaxItems = &v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListCloudFrontOriginAccessIdentitiesResult type ListCloudFrontOriginAccessIdentitiesOutput struct { @@ -6441,12 +5319,6 @@ func (s ListCloudFrontOriginAccessIdentitiesOutput) SDKResponseMetadata() aws.Re return s.responseMetadata } -// SetCloudFrontOriginAccessIdentityList sets the CloudFrontOriginAccessIdentityList field's value. -func (s *ListCloudFrontOriginAccessIdentitiesOutput) SetCloudFrontOriginAccessIdentityList(v *OriginAccessIdentityList) *ListCloudFrontOriginAccessIdentitiesOutput { - s.CloudFrontOriginAccessIdentityList = v - return s -} - // The request to list distributions that are associated with a specified AWS // WAF web ACL. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListDistributionsByWebACLIdRequest @@ -6496,24 +5368,6 @@ func (s *ListDistributionsByWebACLIdInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListDistributionsByWebACLIdInput) SetMarker(v string) *ListDistributionsByWebACLIdInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListDistributionsByWebACLIdInput) SetMaxItems(v int64) *ListDistributionsByWebACLIdInput { - s.MaxItems = &v - return s -} - -// SetWebACLId sets the WebACLId field's value. -func (s *ListDistributionsByWebACLIdInput) SetWebACLId(v string) *ListDistributionsByWebACLIdInput { - s.WebACLId = &v - return s -} - // The response to a request to list the distributions that are associated with // a specified AWS WAF web ACL. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListDistributionsByWebACLIdResult @@ -6541,12 +5395,6 @@ func (s ListDistributionsByWebACLIdOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDistributionList sets the DistributionList field's value. -func (s *ListDistributionsByWebACLIdOutput) SetDistributionList(v *DistributionList) *ListDistributionsByWebACLIdOutput { - s.DistributionList = v - return s -} - // The request to list your distributions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListDistributionsRequest type ListDistributionsInput struct { @@ -6573,18 +5421,6 @@ func (s ListDistributionsInput) GoString() string { return s.String() } -// SetMarker sets the Marker field's value. -func (s *ListDistributionsInput) SetMarker(v string) *ListDistributionsInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListDistributionsInput) SetMaxItems(v int64) *ListDistributionsInput { - s.MaxItems = &v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListDistributionsResult type ListDistributionsOutput struct { @@ -6611,12 +5447,6 @@ func (s ListDistributionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDistributionList sets the DistributionList field's value. -func (s *ListDistributionsOutput) SetDistributionList(v *DistributionList) *ListDistributionsOutput { - s.DistributionList = v - return s -} - // The request to list invalidations. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListInvalidationsRequest type ListInvalidationsInput struct { @@ -6665,24 +5495,6 @@ func (s *ListInvalidationsInput) Validate() error { return nil } -// SetDistributionId sets the DistributionId field's value. -func (s *ListInvalidationsInput) SetDistributionId(v string) *ListInvalidationsInput { - s.DistributionId = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListInvalidationsInput) SetMarker(v string) *ListInvalidationsInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListInvalidationsInput) SetMaxItems(v int64) *ListInvalidationsInput { - s.MaxItems = &v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListInvalidationsResult type ListInvalidationsOutput struct { @@ -6709,12 +5521,6 @@ func (s ListInvalidationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInvalidationList sets the InvalidationList field's value. -func (s *ListInvalidationsOutput) SetInvalidationList(v *InvalidationList) *ListInvalidationsOutput { - s.InvalidationList = v - return s -} - // The request to list your streaming distributions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListStreamingDistributionsRequest type ListStreamingDistributionsInput struct { @@ -6737,18 +5543,6 @@ func (s ListStreamingDistributionsInput) GoString() string { return s.String() } -// SetMarker sets the Marker field's value. -func (s *ListStreamingDistributionsInput) SetMarker(v string) *ListStreamingDistributionsInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListStreamingDistributionsInput) SetMaxItems(v int64) *ListStreamingDistributionsInput { - s.MaxItems = &v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListStreamingDistributionsResult type ListStreamingDistributionsOutput struct { @@ -6775,12 +5569,6 @@ func (s ListStreamingDistributionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStreamingDistributionList sets the StreamingDistributionList field's value. -func (s *ListStreamingDistributionsOutput) SetStreamingDistributionList(v *StreamingDistributionList) *ListStreamingDistributionsOutput { - s.StreamingDistributionList = v - return s -} - // The request to list tags for a CloudFront resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListTagsForResourceRequest type ListTagsForResourceInput struct { @@ -6816,12 +5604,6 @@ func (s *ListTagsForResourceInput) Validate() error { return nil } -// SetResource sets the Resource field's value. -func (s *ListTagsForResourceInput) SetResource(v string) *ListTagsForResourceInput { - s.Resource = &v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/ListTagsForResourceResult type ListTagsForResourceOutput struct { @@ -6850,12 +5632,6 @@ func (s ListTagsForResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTags sets the Tags field's value. -func (s *ListTagsForResourceOutput) SetTags(v *Tags) *ListTagsForResourceOutput { - s.Tags = v - return s -} - // A complex type that controls whether access logs are written for the distribution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/LoggingConfig type LoggingConfig struct { @@ -6931,30 +5707,6 @@ func (s *LoggingConfig) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *LoggingConfig) SetBucket(v string) *LoggingConfig { - s.Bucket = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *LoggingConfig) SetEnabled(v bool) *LoggingConfig { - s.Enabled = &v - return s -} - -// SetIncludeCookies sets the IncludeCookies field's value. -func (s *LoggingConfig) SetIncludeCookies(v bool) *LoggingConfig { - s.IncludeCookies = &v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *LoggingConfig) SetPrefix(v string) *LoggingConfig { - s.Prefix = &v - return s -} - // A complex type that describes the Amazon S3 bucket or the HTTP server (for // example, a web server) from which CloudFront gets your files. You must create // at least one origin. @@ -7085,42 +5837,6 @@ func (s *Origin) Validate() error { return nil } -// SetCustomHeaders sets the CustomHeaders field's value. -func (s *Origin) SetCustomHeaders(v *CustomHeaders) *Origin { - s.CustomHeaders = v - return s -} - -// SetCustomOriginConfig sets the CustomOriginConfig field's value. -func (s *Origin) SetCustomOriginConfig(v *CustomOriginConfig) *Origin { - s.CustomOriginConfig = v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *Origin) SetDomainName(v string) *Origin { - s.DomainName = &v - return s -} - -// SetId sets the Id field's value. -func (s *Origin) SetId(v string) *Origin { - s.Id = &v - return s -} - -// SetOriginPath sets the OriginPath field's value. -func (s *Origin) SetOriginPath(v string) *Origin { - s.OriginPath = &v - return s -} - -// SetS3OriginConfig sets the S3OriginConfig field's value. -func (s *Origin) SetS3OriginConfig(v *S3OriginConfig) *Origin { - s.S3OriginConfig = v - return s -} - // CloudFront origin access identity. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CloudFrontOriginAccessIdentity type OriginAccessIdentity struct { @@ -7152,24 +5868,6 @@ func (s OriginAccessIdentity) GoString() string { return s.String() } -// SetCloudFrontOriginAccessIdentityConfig sets the CloudFrontOriginAccessIdentityConfig field's value. -func (s *OriginAccessIdentity) SetCloudFrontOriginAccessIdentityConfig(v *OriginAccessIdentityConfig) *OriginAccessIdentity { - s.CloudFrontOriginAccessIdentityConfig = v - return s -} - -// SetId sets the Id field's value. -func (s *OriginAccessIdentity) SetId(v string) *OriginAccessIdentity { - s.Id = &v - return s -} - -// SetS3CanonicalUserId sets the S3CanonicalUserId field's value. -func (s *OriginAccessIdentity) SetS3CanonicalUserId(v string) *OriginAccessIdentity { - s.S3CanonicalUserId = &v - return s -} - // Origin access identity configuration. Send a GET request to the /CloudFront // API version/CloudFront/identity ID/config resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CloudFrontOriginAccessIdentityConfig @@ -7228,18 +5926,6 @@ func (s *OriginAccessIdentityConfig) Validate() error { return nil } -// SetCallerReference sets the CallerReference field's value. -func (s *OriginAccessIdentityConfig) SetCallerReference(v string) *OriginAccessIdentityConfig { - s.CallerReference = &v - return s -} - -// SetComment sets the Comment field's value. -func (s *OriginAccessIdentityConfig) SetComment(v string) *OriginAccessIdentityConfig { - s.Comment = &v - return s -} - // Lists the origin access identities for CloudFront.Send a GET request to the // /CloudFront API version/origin-access-identity/cloudfront resource. The response // includes a CloudFrontOriginAccessIdentityList element with zero or more CloudFrontOriginAccessIdentitySummary @@ -7298,42 +5984,6 @@ func (s OriginAccessIdentityList) GoString() string { return s.String() } -// SetIsTruncated sets the IsTruncated field's value. -func (s *OriginAccessIdentityList) SetIsTruncated(v bool) *OriginAccessIdentityList { - s.IsTruncated = &v - return s -} - -// SetItems sets the Items field's value. -func (s *OriginAccessIdentityList) SetItems(v []OriginAccessIdentitySummary) *OriginAccessIdentityList { - s.Items = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *OriginAccessIdentityList) SetMarker(v string) *OriginAccessIdentityList { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *OriginAccessIdentityList) SetMaxItems(v int64) *OriginAccessIdentityList { - s.MaxItems = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *OriginAccessIdentityList) SetNextMarker(v string) *OriginAccessIdentityList { - s.NextMarker = &v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *OriginAccessIdentityList) SetQuantity(v int64) *OriginAccessIdentityList { - s.Quantity = &v - return s -} - // Summary of the information about a CloudFront origin access identity. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/CloudFrontOriginAccessIdentitySummary type OriginAccessIdentitySummary struct { @@ -7368,24 +6018,6 @@ func (s OriginAccessIdentitySummary) GoString() string { return s.String() } -// SetComment sets the Comment field's value. -func (s *OriginAccessIdentitySummary) SetComment(v string) *OriginAccessIdentitySummary { - s.Comment = &v - return s -} - -// SetId sets the Id field's value. -func (s *OriginAccessIdentitySummary) SetId(v string) *OriginAccessIdentitySummary { - s.Id = &v - return s -} - -// SetS3CanonicalUserId sets the S3CanonicalUserId field's value. -func (s *OriginAccessIdentitySummary) SetS3CanonicalUserId(v string) *OriginAccessIdentitySummary { - s.S3CanonicalUserId = &v - return s -} - // A complex type that contains HeaderName and HeaderValue elements, if any, // for this distribution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/OriginCustomHeader @@ -7434,18 +6066,6 @@ func (s *OriginCustomHeader) Validate() error { return nil } -// SetHeaderName sets the HeaderName field's value. -func (s *OriginCustomHeader) SetHeaderName(v string) *OriginCustomHeader { - s.HeaderName = &v - return s -} - -// SetHeaderValue sets the HeaderValue field's value. -func (s *OriginCustomHeader) SetHeaderValue(v string) *OriginCustomHeader { - s.HeaderValue = &v - return s -} - // A complex type that contains information about the SSL/TLS protocols that // CloudFront can use when establishing an HTTPS connection with your origin. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/OriginSslProtocols @@ -7492,18 +6112,6 @@ func (s *OriginSslProtocols) Validate() error { return nil } -// SetItems sets the Items field's value. -func (s *OriginSslProtocols) SetItems(v []SslProtocol) *OriginSslProtocols { - s.Items = v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *OriginSslProtocols) SetQuantity(v int64) *OriginSslProtocols { - s.Quantity = &v - return s -} - // A complex type that contains information about origins for this distribution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Origins type Origins struct { @@ -7552,18 +6160,6 @@ func (s *Origins) Validate() error { return nil } -// SetItems sets the Items field's value. -func (s *Origins) SetItems(v []Origin) *Origins { - s.Items = v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *Origins) SetQuantity(v int64) *Origins { - s.Quantity = &v - return s -} - // A complex type that contains information about the objects that you want // to invalidate. For more information, see Specifying the Objects to Invalidate // (http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidation-specifying-objects) @@ -7605,18 +6201,6 @@ func (s *Paths) Validate() error { return nil } -// SetItems sets the Items field's value. -func (s *Paths) SetItems(v []string) *Paths { - s.Items = v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *Paths) SetQuantity(v int64) *Paths { - s.Quantity = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/QueryStringCacheKeys type QueryStringCacheKeys struct { _ struct{} `type:"structure"` @@ -7656,18 +6240,6 @@ func (s *QueryStringCacheKeys) Validate() error { return nil } -// SetItems sets the Items field's value. -func (s *QueryStringCacheKeys) SetItems(v []string) *QueryStringCacheKeys { - s.Items = v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *QueryStringCacheKeys) SetQuantity(v int64) *QueryStringCacheKeys { - s.Quantity = &v - return s -} - // A complex type that identifies ways in which you want to restrict distribution // of your content. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Restrictions @@ -7710,12 +6282,6 @@ func (s *Restrictions) Validate() error { return nil } -// SetGeoRestriction sets the GeoRestriction field's value. -func (s *Restrictions) SetGeoRestriction(v *GeoRestriction) *Restrictions { - s.GeoRestriction = v - return s -} - // A complex type that contains information about the Amazon S3 bucket from // which you want CloudFront to get your media files for distribution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/S3Origin @@ -7777,18 +6343,6 @@ func (s *S3Origin) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *S3Origin) SetDomainName(v string) *S3Origin { - s.DomainName = &v - return s -} - -// SetOriginAccessIdentity sets the OriginAccessIdentity field's value. -func (s *S3Origin) SetOriginAccessIdentity(v string) *S3Origin { - s.OriginAccessIdentity = &v - return s -} - // A complex type that contains information about the Amazon S3 origin. If the // origin is a custom origin, use the CustomOriginConfig element instead. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/S3OriginConfig @@ -7847,12 +6401,6 @@ func (s *S3OriginConfig) Validate() error { return nil } -// SetOriginAccessIdentity sets the OriginAccessIdentity field's value. -func (s *S3OriginConfig) SetOriginAccessIdentity(v string) *S3OriginConfig { - s.OriginAccessIdentity = &v - return s -} - // A complex type that lists the AWS accounts that were included in the TrustedSigners // complex type, as well as their active CloudFront key pair IDs, if any. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Signer @@ -7882,18 +6430,6 @@ func (s Signer) GoString() string { return s.String() } -// SetAwsAccountNumber sets the AwsAccountNumber field's value. -func (s *Signer) SetAwsAccountNumber(v string) *Signer { - s.AwsAccountNumber = &v - return s -} - -// SetKeyPairIds sets the KeyPairIds field's value. -func (s *Signer) SetKeyPairIds(v *KeyPairIds) *Signer { - s.KeyPairIds = v - return s -} - // A streaming distribution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/StreamingDistribution type StreamingDistribution struct { @@ -7954,48 +6490,6 @@ func (s StreamingDistribution) GoString() string { return s.String() } -// SetARN sets the ARN field's value. -func (s *StreamingDistribution) SetARN(v string) *StreamingDistribution { - s.ARN = &v - return s -} - -// SetActiveTrustedSigners sets the ActiveTrustedSigners field's value. -func (s *StreamingDistribution) SetActiveTrustedSigners(v *ActiveTrustedSigners) *StreamingDistribution { - s.ActiveTrustedSigners = v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *StreamingDistribution) SetDomainName(v string) *StreamingDistribution { - s.DomainName = &v - return s -} - -// SetId sets the Id field's value. -func (s *StreamingDistribution) SetId(v string) *StreamingDistribution { - s.Id = &v - return s -} - -// SetLastModifiedTime sets the LastModifiedTime field's value. -func (s *StreamingDistribution) SetLastModifiedTime(v time.Time) *StreamingDistribution { - s.LastModifiedTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *StreamingDistribution) SetStatus(v string) *StreamingDistribution { - s.Status = &v - return s -} - -// SetStreamingDistributionConfig sets the StreamingDistributionConfig field's value. -func (s *StreamingDistribution) SetStreamingDistributionConfig(v *StreamingDistributionConfig) *StreamingDistribution { - s.StreamingDistributionConfig = v - return s -} - // The RTMP distribution's configuration information. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/StreamingDistributionConfig type StreamingDistributionConfig struct { @@ -8115,54 +6609,6 @@ func (s *StreamingDistributionConfig) Validate() error { return nil } -// SetAliases sets the Aliases field's value. -func (s *StreamingDistributionConfig) SetAliases(v *Aliases) *StreamingDistributionConfig { - s.Aliases = v - return s -} - -// SetCallerReference sets the CallerReference field's value. -func (s *StreamingDistributionConfig) SetCallerReference(v string) *StreamingDistributionConfig { - s.CallerReference = &v - return s -} - -// SetComment sets the Comment field's value. -func (s *StreamingDistributionConfig) SetComment(v string) *StreamingDistributionConfig { - s.Comment = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *StreamingDistributionConfig) SetEnabled(v bool) *StreamingDistributionConfig { - s.Enabled = &v - return s -} - -// SetLogging sets the Logging field's value. -func (s *StreamingDistributionConfig) SetLogging(v *StreamingLoggingConfig) *StreamingDistributionConfig { - s.Logging = v - return s -} - -// SetPriceClass sets the PriceClass field's value. -func (s *StreamingDistributionConfig) SetPriceClass(v PriceClass) *StreamingDistributionConfig { - s.PriceClass = v - return s -} - -// SetS3Origin sets the S3Origin field's value. -func (s *StreamingDistributionConfig) SetS3Origin(v *S3Origin) *StreamingDistributionConfig { - s.S3Origin = v - return s -} - -// SetTrustedSigners sets the TrustedSigners field's value. -func (s *StreamingDistributionConfig) SetTrustedSigners(v *TrustedSigners) *StreamingDistributionConfig { - s.TrustedSigners = v - return s -} - // A streaming distribution Configuration and a list of tags to be associated // with the streaming distribution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/StreamingDistributionConfigWithTags @@ -8218,18 +6664,6 @@ func (s *StreamingDistributionConfigWithTags) Validate() error { return nil } -// SetStreamingDistributionConfig sets the StreamingDistributionConfig field's value. -func (s *StreamingDistributionConfigWithTags) SetStreamingDistributionConfig(v *StreamingDistributionConfig) *StreamingDistributionConfigWithTags { - s.StreamingDistributionConfig = v - return s -} - -// SetTags sets the Tags field's value. -func (s *StreamingDistributionConfigWithTags) SetTags(v *Tags) *StreamingDistributionConfigWithTags { - s.Tags = v - return s -} - // A streaming distribution list. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/StreamingDistributionList type StreamingDistributionList struct { @@ -8279,42 +6713,6 @@ func (s StreamingDistributionList) GoString() string { return s.String() } -// SetIsTruncated sets the IsTruncated field's value. -func (s *StreamingDistributionList) SetIsTruncated(v bool) *StreamingDistributionList { - s.IsTruncated = &v - return s -} - -// SetItems sets the Items field's value. -func (s *StreamingDistributionList) SetItems(v []StreamingDistributionSummary) *StreamingDistributionList { - s.Items = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *StreamingDistributionList) SetMarker(v string) *StreamingDistributionList { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *StreamingDistributionList) SetMaxItems(v int64) *StreamingDistributionList { - s.MaxItems = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *StreamingDistributionList) SetNextMarker(v string) *StreamingDistributionList { - s.NextMarker = &v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *StreamingDistributionList) SetQuantity(v int64) *StreamingDistributionList { - s.Quantity = &v - return s -} - // A summary of the information for an Amazon CloudFront streaming distribution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/StreamingDistributionSummary type StreamingDistributionSummary struct { @@ -8399,72 +6797,6 @@ func (s StreamingDistributionSummary) GoString() string { return s.String() } -// SetARN sets the ARN field's value. -func (s *StreamingDistributionSummary) SetARN(v string) *StreamingDistributionSummary { - s.ARN = &v - return s -} - -// SetAliases sets the Aliases field's value. -func (s *StreamingDistributionSummary) SetAliases(v *Aliases) *StreamingDistributionSummary { - s.Aliases = v - return s -} - -// SetComment sets the Comment field's value. -func (s *StreamingDistributionSummary) SetComment(v string) *StreamingDistributionSummary { - s.Comment = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *StreamingDistributionSummary) SetDomainName(v string) *StreamingDistributionSummary { - s.DomainName = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *StreamingDistributionSummary) SetEnabled(v bool) *StreamingDistributionSummary { - s.Enabled = &v - return s -} - -// SetId sets the Id field's value. -func (s *StreamingDistributionSummary) SetId(v string) *StreamingDistributionSummary { - s.Id = &v - return s -} - -// SetLastModifiedTime sets the LastModifiedTime field's value. -func (s *StreamingDistributionSummary) SetLastModifiedTime(v time.Time) *StreamingDistributionSummary { - s.LastModifiedTime = &v - return s -} - -// SetPriceClass sets the PriceClass field's value. -func (s *StreamingDistributionSummary) SetPriceClass(v PriceClass) *StreamingDistributionSummary { - s.PriceClass = v - return s -} - -// SetS3Origin sets the S3Origin field's value. -func (s *StreamingDistributionSummary) SetS3Origin(v *S3Origin) *StreamingDistributionSummary { - s.S3Origin = v - return s -} - -// SetStatus sets the Status field's value. -func (s *StreamingDistributionSummary) SetStatus(v string) *StreamingDistributionSummary { - s.Status = &v - return s -} - -// SetTrustedSigners sets the TrustedSigners field's value. -func (s *StreamingDistributionSummary) SetTrustedSigners(v *TrustedSigners) *StreamingDistributionSummary { - s.TrustedSigners = v - return s -} - // A complex type that controls whether access logs are written for this streaming // distribution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/StreamingLoggingConfig @@ -8527,24 +6859,6 @@ func (s *StreamingLoggingConfig) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *StreamingLoggingConfig) SetBucket(v string) *StreamingLoggingConfig { - s.Bucket = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *StreamingLoggingConfig) SetEnabled(v bool) *StreamingLoggingConfig { - s.Enabled = &v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *StreamingLoggingConfig) SetPrefix(v string) *StreamingLoggingConfig { - s.Prefix = &v - return s -} - // A complex type that contains Tag key and Tag value. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/Tag type Tag struct { @@ -8592,18 +6906,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // A complex type that contains zero or more Tag elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/TagKeys type TagKeys struct { @@ -8623,12 +6925,6 @@ func (s TagKeys) GoString() string { return s.String() } -// SetItems sets the Items field's value. -func (s *TagKeys) SetItems(v []string) *TagKeys { - s.Items = v - return s -} - // The request to add tags to a CloudFront resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/TagResourceRequest type TagResourceInput struct { @@ -8678,18 +6974,6 @@ func (s *TagResourceInput) Validate() error { return nil } -// SetResource sets the Resource field's value. -func (s *TagResourceInput) SetResource(v string) *TagResourceInput { - s.Resource = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagResourceInput) SetTags(v *Tags) *TagResourceInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/TagResourceOutput type TagResourceOutput struct { _ struct{} `type:"structure"` @@ -8748,12 +7032,6 @@ func (s *Tags) Validate() error { return nil } -// SetItems sets the Items field's value. -func (s *Tags) SetItems(v []Tag) *Tags { - s.Items = v - return s -} - // A complex type that specifies the AWS accounts, if any, that you want to // allow to create signed URLs for private content. // @@ -8820,24 +7098,6 @@ func (s *TrustedSigners) Validate() error { return nil } -// SetEnabled sets the Enabled field's value. -func (s *TrustedSigners) SetEnabled(v bool) *TrustedSigners { - s.Enabled = &v - return s -} - -// SetItems sets the Items field's value. -func (s *TrustedSigners) SetItems(v []string) *TrustedSigners { - s.Items = v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *TrustedSigners) SetQuantity(v int64) *TrustedSigners { - s.Quantity = &v - return s -} - // The request to remove tags from a CloudFront resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UntagResourceRequest type UntagResourceInput struct { @@ -8882,18 +7142,6 @@ func (s *UntagResourceInput) Validate() error { return nil } -// SetResource sets the Resource field's value. -func (s *UntagResourceInput) SetResource(v string) *UntagResourceInput { - s.Resource = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *UntagResourceInput) SetTagKeys(v *TagKeys) *UntagResourceInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UntagResourceOutput type UntagResourceOutput struct { _ struct{} `type:"structure"` @@ -8969,24 +7217,6 @@ func (s *UpdateCloudFrontOriginAccessIdentityInput) Validate() error { return nil } -// SetCloudFrontOriginAccessIdentityConfig sets the CloudFrontOriginAccessIdentityConfig field's value. -func (s *UpdateCloudFrontOriginAccessIdentityInput) SetCloudFrontOriginAccessIdentityConfig(v *OriginAccessIdentityConfig) *UpdateCloudFrontOriginAccessIdentityInput { - s.CloudFrontOriginAccessIdentityConfig = v - return s -} - -// SetId sets the Id field's value. -func (s *UpdateCloudFrontOriginAccessIdentityInput) SetId(v string) *UpdateCloudFrontOriginAccessIdentityInput { - s.Id = &v - return s -} - -// SetIfMatch sets the IfMatch field's value. -func (s *UpdateCloudFrontOriginAccessIdentityInput) SetIfMatch(v string) *UpdateCloudFrontOriginAccessIdentityInput { - s.IfMatch = &v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateCloudFrontOriginAccessIdentityResult type UpdateCloudFrontOriginAccessIdentityOutput struct { @@ -9016,18 +7246,6 @@ func (s UpdateCloudFrontOriginAccessIdentityOutput) SDKResponseMetadata() aws.Re return s.responseMetadata } -// SetCloudFrontOriginAccessIdentity sets the CloudFrontOriginAccessIdentity field's value. -func (s *UpdateCloudFrontOriginAccessIdentityOutput) SetCloudFrontOriginAccessIdentity(v *OriginAccessIdentity) *UpdateCloudFrontOriginAccessIdentityOutput { - s.CloudFrontOriginAccessIdentity = v - return s -} - -// SetETag sets the ETag field's value. -func (s *UpdateCloudFrontOriginAccessIdentityOutput) SetETag(v string) *UpdateCloudFrontOriginAccessIdentityOutput { - s.ETag = &v - return s -} - // The request to update a distribution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateDistributionRequest type UpdateDistributionInput struct { @@ -9081,24 +7299,6 @@ func (s *UpdateDistributionInput) Validate() error { return nil } -// SetDistributionConfig sets the DistributionConfig field's value. -func (s *UpdateDistributionInput) SetDistributionConfig(v *DistributionConfig) *UpdateDistributionInput { - s.DistributionConfig = v - return s -} - -// SetId sets the Id field's value. -func (s *UpdateDistributionInput) SetId(v string) *UpdateDistributionInput { - s.Id = &v - return s -} - -// SetIfMatch sets the IfMatch field's value. -func (s *UpdateDistributionInput) SetIfMatch(v string) *UpdateDistributionInput { - s.IfMatch = &v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateDistributionResult type UpdateDistributionOutput struct { @@ -9128,18 +7328,6 @@ func (s UpdateDistributionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDistribution sets the Distribution field's value. -func (s *UpdateDistributionOutput) SetDistribution(v *Distribution) *UpdateDistributionOutput { - s.Distribution = v - return s -} - -// SetETag sets the ETag field's value. -func (s *UpdateDistributionOutput) SetETag(v string) *UpdateDistributionOutput { - s.ETag = &v - return s -} - // The request to update a streaming distribution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateStreamingDistributionRequest type UpdateStreamingDistributionInput struct { @@ -9193,24 +7381,6 @@ func (s *UpdateStreamingDistributionInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *UpdateStreamingDistributionInput) SetId(v string) *UpdateStreamingDistributionInput { - s.Id = &v - return s -} - -// SetIfMatch sets the IfMatch field's value. -func (s *UpdateStreamingDistributionInput) SetIfMatch(v string) *UpdateStreamingDistributionInput { - s.IfMatch = &v - return s -} - -// SetStreamingDistributionConfig sets the StreamingDistributionConfig field's value. -func (s *UpdateStreamingDistributionInput) SetStreamingDistributionConfig(v *StreamingDistributionConfig) *UpdateStreamingDistributionInput { - s.StreamingDistributionConfig = v - return s -} - // The returned result of the corresponding request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2017-03-25/UpdateStreamingDistributionResult type UpdateStreamingDistributionOutput struct { @@ -9240,18 +7410,6 @@ func (s UpdateStreamingDistributionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetETag sets the ETag field's value. -func (s *UpdateStreamingDistributionOutput) SetETag(v string) *UpdateStreamingDistributionOutput { - s.ETag = &v - return s -} - -// SetStreamingDistribution sets the StreamingDistribution field's value. -func (s *UpdateStreamingDistributionOutput) SetStreamingDistribution(v *StreamingDistribution) *UpdateStreamingDistributionOutput { - s.StreamingDistribution = v - return s -} - // A complex type that specifies the following: // // * Whether you want viewers to use HTTP or HTTPS to request your objects. @@ -9444,48 +7602,6 @@ func (s ViewerCertificate) GoString() string { return s.String() } -// SetACMCertificateArn sets the ACMCertificateArn field's value. -func (s *ViewerCertificate) SetACMCertificateArn(v string) *ViewerCertificate { - s.ACMCertificateArn = &v - return s -} - -// SetCertificate sets the Certificate field's value. -func (s *ViewerCertificate) SetCertificate(v string) *ViewerCertificate { - s.Certificate = &v - return s -} - -// SetCertificateSource sets the CertificateSource field's value. -func (s *ViewerCertificate) SetCertificateSource(v CertificateSource) *ViewerCertificate { - s.CertificateSource = v - return s -} - -// SetCloudFrontDefaultCertificate sets the CloudFrontDefaultCertificate field's value. -func (s *ViewerCertificate) SetCloudFrontDefaultCertificate(v bool) *ViewerCertificate { - s.CloudFrontDefaultCertificate = &v - return s -} - -// SetIAMCertificateId sets the IAMCertificateId field's value. -func (s *ViewerCertificate) SetIAMCertificateId(v string) *ViewerCertificate { - s.IAMCertificateId = &v - return s -} - -// SetMinimumProtocolVersion sets the MinimumProtocolVersion field's value. -func (s *ViewerCertificate) SetMinimumProtocolVersion(v MinimumProtocolVersion) *ViewerCertificate { - s.MinimumProtocolVersion = v - return s -} - -// SetSSLSupportMethod sets the SSLSupportMethod field's value. -func (s *ViewerCertificate) SetSSLSupportMethod(v SSLSupportMethod) *ViewerCertificate { - s.SSLSupportMethod = v - return s -} - type CertificateSource string // Enum values for CertificateSource diff --git a/service/cloudhsm/api.go b/service/cloudhsm/api.go index 86ee0e78a6b..a810dfb1607 100644 --- a/service/cloudhsm/api.go +++ b/service/cloudhsm/api.go @@ -1263,18 +1263,6 @@ func (s *AddTagsToResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *AddTagsToResourceInput) SetResourceArn(v string) *AddTagsToResourceInput { - s.ResourceArn = &v - return s -} - -// SetTagList sets the TagList field's value. -func (s *AddTagsToResourceInput) SetTagList(v []Tag) *AddTagsToResourceInput { - s.TagList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/AddTagsToResourceResponse type AddTagsToResourceOutput struct { _ struct{} `type:"structure"` @@ -1302,12 +1290,6 @@ func (s AddTagsToResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStatus sets the Status field's value. -func (s *AddTagsToResourceOutput) SetStatus(v string) *AddTagsToResourceOutput { - s.Status = &v - return s -} - // Contains the inputs for the CreateHapgRequest action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateHapgRequest type CreateHapgInput struct { @@ -1343,12 +1325,6 @@ func (s *CreateHapgInput) Validate() error { return nil } -// SetLabel sets the Label field's value. -func (s *CreateHapgInput) SetLabel(v string) *CreateHapgInput { - s.Label = &v - return s -} - // Contains the output of the CreateHAPartitionGroup action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateHapgResponse type CreateHapgOutput struct { @@ -1375,12 +1351,6 @@ func (s CreateHapgOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHapgArn sets the HapgArn field's value. -func (s *CreateHapgOutput) SetHapgArn(v string) *CreateHapgOutput { - s.HapgArn = &v - return s -} - // Contains the inputs for the CreateHsm operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateHsmRequest type CreateHsmInput struct { @@ -1464,54 +1434,6 @@ func (s *CreateHsmInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *CreateHsmInput) SetClientToken(v string) *CreateHsmInput { - s.ClientToken = &v - return s -} - -// SetEniIp sets the EniIp field's value. -func (s *CreateHsmInput) SetEniIp(v string) *CreateHsmInput { - s.EniIp = &v - return s -} - -// SetExternalId sets the ExternalId field's value. -func (s *CreateHsmInput) SetExternalId(v string) *CreateHsmInput { - s.ExternalId = &v - return s -} - -// SetIamRoleArn sets the IamRoleArn field's value. -func (s *CreateHsmInput) SetIamRoleArn(v string) *CreateHsmInput { - s.IamRoleArn = &v - return s -} - -// SetSshKey sets the SshKey field's value. -func (s *CreateHsmInput) SetSshKey(v string) *CreateHsmInput { - s.SshKey = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *CreateHsmInput) SetSubnetId(v string) *CreateHsmInput { - s.SubnetId = &v - return s -} - -// SetSubscriptionType sets the SubscriptionType field's value. -func (s *CreateHsmInput) SetSubscriptionType(v SubscriptionType) *CreateHsmInput { - s.SubscriptionType = v - return s -} - -// SetSyslogIp sets the SyslogIp field's value. -func (s *CreateHsmInput) SetSyslogIp(v string) *CreateHsmInput { - s.SyslogIp = &v - return s -} - // Contains the output of the CreateHsm operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateHsmResponse type CreateHsmOutput struct { @@ -1538,12 +1460,6 @@ func (s CreateHsmOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHsmArn sets the HsmArn field's value. -func (s *CreateHsmOutput) SetHsmArn(v string) *CreateHsmOutput { - s.HsmArn = &v - return s -} - // Contains the inputs for the CreateLunaClient action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateLunaClientRequest type CreateLunaClientInput struct { @@ -1586,18 +1502,6 @@ func (s *CreateLunaClientInput) Validate() error { return nil } -// SetCertificate sets the Certificate field's value. -func (s *CreateLunaClientInput) SetCertificate(v string) *CreateLunaClientInput { - s.Certificate = &v - return s -} - -// SetLabel sets the Label field's value. -func (s *CreateLunaClientInput) SetLabel(v string) *CreateLunaClientInput { - s.Label = &v - return s -} - // Contains the output of the CreateLunaClient action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateLunaClientResponse type CreateLunaClientOutput struct { @@ -1624,12 +1528,6 @@ func (s CreateLunaClientOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClientArn sets the ClientArn field's value. -func (s *CreateLunaClientOutput) SetClientArn(v string) *CreateLunaClientOutput { - s.ClientArn = &v - return s -} - // Contains the inputs for the DeleteHapg action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteHapgRequest type DeleteHapgInput struct { @@ -1665,12 +1563,6 @@ func (s *DeleteHapgInput) Validate() error { return nil } -// SetHapgArn sets the HapgArn field's value. -func (s *DeleteHapgInput) SetHapgArn(v string) *DeleteHapgInput { - s.HapgArn = &v - return s -} - // Contains the output of the DeleteHapg action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteHapgResponse type DeleteHapgOutput struct { @@ -1699,12 +1591,6 @@ func (s DeleteHapgOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStatus sets the Status field's value. -func (s *DeleteHapgOutput) SetStatus(v string) *DeleteHapgOutput { - s.Status = &v - return s -} - // Contains the inputs for the DeleteHsm operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteHsmRequest type DeleteHsmInput struct { @@ -1740,12 +1626,6 @@ func (s *DeleteHsmInput) Validate() error { return nil } -// SetHsmArn sets the HsmArn field's value. -func (s *DeleteHsmInput) SetHsmArn(v string) *DeleteHsmInput { - s.HsmArn = &v - return s -} - // Contains the output of the DeleteHsm operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteHsmResponse type DeleteHsmOutput struct { @@ -1774,12 +1654,6 @@ func (s DeleteHsmOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStatus sets the Status field's value. -func (s *DeleteHsmOutput) SetStatus(v string) *DeleteHsmOutput { - s.Status = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteLunaClientRequest type DeleteLunaClientInput struct { _ struct{} `type:"structure"` @@ -1814,12 +1688,6 @@ func (s *DeleteLunaClientInput) Validate() error { return nil } -// SetClientArn sets the ClientArn field's value. -func (s *DeleteLunaClientInput) SetClientArn(v string) *DeleteLunaClientInput { - s.ClientArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteLunaClientResponse type DeleteLunaClientOutput struct { _ struct{} `type:"structure"` @@ -1847,12 +1715,6 @@ func (s DeleteLunaClientOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStatus sets the Status field's value. -func (s *DeleteLunaClientOutput) SetStatus(v string) *DeleteLunaClientOutput { - s.Status = &v - return s -} - // Contains the inputs for the DescribeHapg action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeHapgRequest type DescribeHapgInput struct { @@ -1888,12 +1750,6 @@ func (s *DescribeHapgInput) Validate() error { return nil } -// SetHapgArn sets the HapgArn field's value. -func (s *DescribeHapgInput) SetHapgArn(v string) *DescribeHapgInput { - s.HapgArn = &v - return s -} - // Contains the output of the DescribeHapg action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeHapgResponse type DescribeHapgOutput struct { @@ -1945,60 +1801,6 @@ func (s DescribeHapgOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHapgArn sets the HapgArn field's value. -func (s *DescribeHapgOutput) SetHapgArn(v string) *DescribeHapgOutput { - s.HapgArn = &v - return s -} - -// SetHapgSerial sets the HapgSerial field's value. -func (s *DescribeHapgOutput) SetHapgSerial(v string) *DescribeHapgOutput { - s.HapgSerial = &v - return s -} - -// SetHsmsLastActionFailed sets the HsmsLastActionFailed field's value. -func (s *DescribeHapgOutput) SetHsmsLastActionFailed(v []string) *DescribeHapgOutput { - s.HsmsLastActionFailed = v - return s -} - -// SetHsmsPendingDeletion sets the HsmsPendingDeletion field's value. -func (s *DescribeHapgOutput) SetHsmsPendingDeletion(v []string) *DescribeHapgOutput { - s.HsmsPendingDeletion = v - return s -} - -// SetHsmsPendingRegistration sets the HsmsPendingRegistration field's value. -func (s *DescribeHapgOutput) SetHsmsPendingRegistration(v []string) *DescribeHapgOutput { - s.HsmsPendingRegistration = v - return s -} - -// SetLabel sets the Label field's value. -func (s *DescribeHapgOutput) SetLabel(v string) *DescribeHapgOutput { - s.Label = &v - return s -} - -// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. -func (s *DescribeHapgOutput) SetLastModifiedTimestamp(v string) *DescribeHapgOutput { - s.LastModifiedTimestamp = &v - return s -} - -// SetPartitionSerialList sets the PartitionSerialList field's value. -func (s *DescribeHapgOutput) SetPartitionSerialList(v []string) *DescribeHapgOutput { - s.PartitionSerialList = v - return s -} - -// SetState sets the State field's value. -func (s *DescribeHapgOutput) SetState(v CloudHsmObjectState) *DescribeHapgOutput { - s.State = v - return s -} - // Contains the inputs for the DescribeHsm operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeHsmRequest type DescribeHsmInput struct { @@ -2023,18 +1825,6 @@ func (s DescribeHsmInput) GoString() string { return s.String() } -// SetHsmArn sets the HsmArn field's value. -func (s *DescribeHsmInput) SetHsmArn(v string) *DescribeHsmInput { - s.HsmArn = &v - return s -} - -// SetHsmSerialNumber sets the HsmSerialNumber field's value. -func (s *DescribeHsmInput) SetHsmSerialNumber(v string) *DescribeHsmInput { - s.HsmSerialNumber = &v - return s -} - // Contains the output of the DescribeHsm operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeHsmResponse type DescribeHsmOutput struct { @@ -2125,132 +1915,6 @@ func (s DescribeHsmOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *DescribeHsmOutput) SetAvailabilityZone(v string) *DescribeHsmOutput { - s.AvailabilityZone = &v - return s -} - -// SetEniId sets the EniId field's value. -func (s *DescribeHsmOutput) SetEniId(v string) *DescribeHsmOutput { - s.EniId = &v - return s -} - -// SetEniIp sets the EniIp field's value. -func (s *DescribeHsmOutput) SetEniIp(v string) *DescribeHsmOutput { - s.EniIp = &v - return s -} - -// SetHsmArn sets the HsmArn field's value. -func (s *DescribeHsmOutput) SetHsmArn(v string) *DescribeHsmOutput { - s.HsmArn = &v - return s -} - -// SetHsmType sets the HsmType field's value. -func (s *DescribeHsmOutput) SetHsmType(v string) *DescribeHsmOutput { - s.HsmType = &v - return s -} - -// SetIamRoleArn sets the IamRoleArn field's value. -func (s *DescribeHsmOutput) SetIamRoleArn(v string) *DescribeHsmOutput { - s.IamRoleArn = &v - return s -} - -// SetPartitions sets the Partitions field's value. -func (s *DescribeHsmOutput) SetPartitions(v []string) *DescribeHsmOutput { - s.Partitions = v - return s -} - -// SetSerialNumber sets the SerialNumber field's value. -func (s *DescribeHsmOutput) SetSerialNumber(v string) *DescribeHsmOutput { - s.SerialNumber = &v - return s -} - -// SetServerCertLastUpdated sets the ServerCertLastUpdated field's value. -func (s *DescribeHsmOutput) SetServerCertLastUpdated(v string) *DescribeHsmOutput { - s.ServerCertLastUpdated = &v - return s -} - -// SetServerCertUri sets the ServerCertUri field's value. -func (s *DescribeHsmOutput) SetServerCertUri(v string) *DescribeHsmOutput { - s.ServerCertUri = &v - return s -} - -// SetSoftwareVersion sets the SoftwareVersion field's value. -func (s *DescribeHsmOutput) SetSoftwareVersion(v string) *DescribeHsmOutput { - s.SoftwareVersion = &v - return s -} - -// SetSshKeyLastUpdated sets the SshKeyLastUpdated field's value. -func (s *DescribeHsmOutput) SetSshKeyLastUpdated(v string) *DescribeHsmOutput { - s.SshKeyLastUpdated = &v - return s -} - -// SetSshPublicKey sets the SshPublicKey field's value. -func (s *DescribeHsmOutput) SetSshPublicKey(v string) *DescribeHsmOutput { - s.SshPublicKey = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DescribeHsmOutput) SetStatus(v HsmStatus) *DescribeHsmOutput { - s.Status = v - return s -} - -// SetStatusDetails sets the StatusDetails field's value. -func (s *DescribeHsmOutput) SetStatusDetails(v string) *DescribeHsmOutput { - s.StatusDetails = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *DescribeHsmOutput) SetSubnetId(v string) *DescribeHsmOutput { - s.SubnetId = &v - return s -} - -// SetSubscriptionEndDate sets the SubscriptionEndDate field's value. -func (s *DescribeHsmOutput) SetSubscriptionEndDate(v string) *DescribeHsmOutput { - s.SubscriptionEndDate = &v - return s -} - -// SetSubscriptionStartDate sets the SubscriptionStartDate field's value. -func (s *DescribeHsmOutput) SetSubscriptionStartDate(v string) *DescribeHsmOutput { - s.SubscriptionStartDate = &v - return s -} - -// SetSubscriptionType sets the SubscriptionType field's value. -func (s *DescribeHsmOutput) SetSubscriptionType(v SubscriptionType) *DescribeHsmOutput { - s.SubscriptionType = v - return s -} - -// SetVendorName sets the VendorName field's value. -func (s *DescribeHsmOutput) SetVendorName(v string) *DescribeHsmOutput { - s.VendorName = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *DescribeHsmOutput) SetVpcId(v string) *DescribeHsmOutput { - s.VpcId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeLunaClientRequest type DescribeLunaClientInput struct { _ struct{} `type:"structure"` @@ -2272,18 +1936,6 @@ func (s DescribeLunaClientInput) GoString() string { return s.String() } -// SetCertificateFingerprint sets the CertificateFingerprint field's value. -func (s *DescribeLunaClientInput) SetCertificateFingerprint(v string) *DescribeLunaClientInput { - s.CertificateFingerprint = &v - return s -} - -// SetClientArn sets the ClientArn field's value. -func (s *DescribeLunaClientInput) SetClientArn(v string) *DescribeLunaClientInput { - s.ClientArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeLunaClientResponse type DescribeLunaClientOutput struct { _ struct{} `type:"structure"` @@ -2321,36 +1973,6 @@ func (s DescribeLunaClientOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificate sets the Certificate field's value. -func (s *DescribeLunaClientOutput) SetCertificate(v string) *DescribeLunaClientOutput { - s.Certificate = &v - return s -} - -// SetCertificateFingerprint sets the CertificateFingerprint field's value. -func (s *DescribeLunaClientOutput) SetCertificateFingerprint(v string) *DescribeLunaClientOutput { - s.CertificateFingerprint = &v - return s -} - -// SetClientArn sets the ClientArn field's value. -func (s *DescribeLunaClientOutput) SetClientArn(v string) *DescribeLunaClientOutput { - s.ClientArn = &v - return s -} - -// SetLabel sets the Label field's value. -func (s *DescribeLunaClientOutput) SetLabel(v string) *DescribeLunaClientOutput { - s.Label = &v - return s -} - -// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. -func (s *DescribeLunaClientOutput) SetLastModifiedTimestamp(v string) *DescribeLunaClientOutput { - s.LastModifiedTimestamp = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/GetConfigRequest type GetConfigInput struct { _ struct{} `type:"structure"` @@ -2403,24 +2025,6 @@ func (s *GetConfigInput) Validate() error { return nil } -// SetClientArn sets the ClientArn field's value. -func (s *GetConfigInput) SetClientArn(v string) *GetConfigInput { - s.ClientArn = &v - return s -} - -// SetClientVersion sets the ClientVersion field's value. -func (s *GetConfigInput) SetClientVersion(v ClientVersion) *GetConfigInput { - s.ClientVersion = v - return s -} - -// SetHapgList sets the HapgList field's value. -func (s *GetConfigInput) SetHapgList(v []string) *GetConfigInput { - s.HapgList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/GetConfigResponse type GetConfigOutput struct { _ struct{} `type:"structure"` @@ -2452,24 +2056,6 @@ func (s GetConfigOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConfigCred sets the ConfigCred field's value. -func (s *GetConfigOutput) SetConfigCred(v string) *GetConfigOutput { - s.ConfigCred = &v - return s -} - -// SetConfigFile sets the ConfigFile field's value. -func (s *GetConfigOutput) SetConfigFile(v string) *GetConfigOutput { - s.ConfigFile = &v - return s -} - -// SetConfigType sets the ConfigType field's value. -func (s *GetConfigOutput) SetConfigType(v string) *GetConfigOutput { - s.ConfigType = &v - return s -} - // Contains the inputs for the ListAvailableZones action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListAvailableZonesRequest type ListAvailableZonesInput struct { @@ -2511,12 +2097,6 @@ func (s ListAvailableZonesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAZList sets the AZList field's value. -func (s *ListAvailableZonesOutput) SetAZList(v []string) *ListAvailableZonesOutput { - s.AZList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListHapgsRequest type ListHapgsInput struct { _ struct{} `type:"structure"` @@ -2536,12 +2116,6 @@ func (s ListHapgsInput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListHapgsInput) SetNextToken(v string) *ListHapgsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListHapgsResponse type ListHapgsOutput struct { _ struct{} `type:"structure"` @@ -2573,18 +2147,6 @@ func (s ListHapgsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHapgList sets the HapgList field's value. -func (s *ListHapgsOutput) SetHapgList(v []string) *ListHapgsOutput { - s.HapgList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListHapgsOutput) SetNextToken(v string) *ListHapgsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListHsmsRequest type ListHsmsInput struct { _ struct{} `type:"structure"` @@ -2604,12 +2166,6 @@ func (s ListHsmsInput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListHsmsInput) SetNextToken(v string) *ListHsmsInput { - s.NextToken = &v - return s -} - // Contains the output of the ListHsms operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListHsmsResponse type ListHsmsOutput struct { @@ -2640,18 +2196,6 @@ func (s ListHsmsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHsmList sets the HsmList field's value. -func (s *ListHsmsOutput) SetHsmList(v []string) *ListHsmsOutput { - s.HsmList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListHsmsOutput) SetNextToken(v string) *ListHsmsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListLunaClientsRequest type ListLunaClientsInput struct { _ struct{} `type:"structure"` @@ -2671,12 +2215,6 @@ func (s ListLunaClientsInput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListLunaClientsInput) SetNextToken(v string) *ListLunaClientsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListLunaClientsResponse type ListLunaClientsOutput struct { _ struct{} `type:"structure"` @@ -2708,18 +2246,6 @@ func (s ListLunaClientsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClientList sets the ClientList field's value. -func (s *ListLunaClientsOutput) SetClientList(v []string) *ListLunaClientsOutput { - s.ClientList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListLunaClientsOutput) SetNextToken(v string) *ListLunaClientsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListTagsForResourceRequest type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -2754,12 +2280,6 @@ func (s *ListTagsForResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { - s.ResourceArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListTagsForResourceResponse type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` @@ -2787,12 +2307,6 @@ func (s ListTagsForResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTagList sets the TagList field's value. -func (s *ListTagsForResourceOutput) SetTagList(v []Tag) *ListTagsForResourceOutput { - s.TagList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyHapgRequest type ModifyHapgInput struct { _ struct{} `type:"structure"` @@ -2834,24 +2348,6 @@ func (s *ModifyHapgInput) Validate() error { return nil } -// SetHapgArn sets the HapgArn field's value. -func (s *ModifyHapgInput) SetHapgArn(v string) *ModifyHapgInput { - s.HapgArn = &v - return s -} - -// SetLabel sets the Label field's value. -func (s *ModifyHapgInput) SetLabel(v string) *ModifyHapgInput { - s.Label = &v - return s -} - -// SetPartitionSerialList sets the PartitionSerialList field's value. -func (s *ModifyHapgInput) SetPartitionSerialList(v []string) *ModifyHapgInput { - s.PartitionSerialList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyHapgResponse type ModifyHapgOutput struct { _ struct{} `type:"structure"` @@ -2877,12 +2373,6 @@ func (s ModifyHapgOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHapgArn sets the HapgArn field's value. -func (s *ModifyHapgOutput) SetHapgArn(v string) *ModifyHapgOutput { - s.HapgArn = &v - return s -} - // Contains the inputs for the ModifyHsm operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyHsmRequest type ModifyHsmInput struct { @@ -2939,42 +2429,6 @@ func (s *ModifyHsmInput) Validate() error { return nil } -// SetEniIp sets the EniIp field's value. -func (s *ModifyHsmInput) SetEniIp(v string) *ModifyHsmInput { - s.EniIp = &v - return s -} - -// SetExternalId sets the ExternalId field's value. -func (s *ModifyHsmInput) SetExternalId(v string) *ModifyHsmInput { - s.ExternalId = &v - return s -} - -// SetHsmArn sets the HsmArn field's value. -func (s *ModifyHsmInput) SetHsmArn(v string) *ModifyHsmInput { - s.HsmArn = &v - return s -} - -// SetIamRoleArn sets the IamRoleArn field's value. -func (s *ModifyHsmInput) SetIamRoleArn(v string) *ModifyHsmInput { - s.IamRoleArn = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *ModifyHsmInput) SetSubnetId(v string) *ModifyHsmInput { - s.SubnetId = &v - return s -} - -// SetSyslogIp sets the SyslogIp field's value. -func (s *ModifyHsmInput) SetSyslogIp(v string) *ModifyHsmInput { - s.SyslogIp = &v - return s -} - // Contains the output of the ModifyHsm operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyHsmResponse type ModifyHsmOutput struct { @@ -3001,12 +2455,6 @@ func (s ModifyHsmOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHsmArn sets the HsmArn field's value. -func (s *ModifyHsmOutput) SetHsmArn(v string) *ModifyHsmOutput { - s.HsmArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyLunaClientRequest type ModifyLunaClientInput struct { _ struct{} `type:"structure"` @@ -3053,18 +2501,6 @@ func (s *ModifyLunaClientInput) Validate() error { return nil } -// SetCertificate sets the Certificate field's value. -func (s *ModifyLunaClientInput) SetCertificate(v string) *ModifyLunaClientInput { - s.Certificate = &v - return s -} - -// SetClientArn sets the ClientArn field's value. -func (s *ModifyLunaClientInput) SetClientArn(v string) *ModifyLunaClientInput { - s.ClientArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyLunaClientResponse type ModifyLunaClientOutput struct { _ struct{} `type:"structure"` @@ -3090,12 +2526,6 @@ func (s ModifyLunaClientOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClientArn sets the ClientArn field's value. -func (s *ModifyLunaClientOutput) SetClientArn(v string) *ModifyLunaClientOutput { - s.ClientArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/RemoveTagsFromResourceRequest type RemoveTagsFromResourceInput struct { _ struct{} `type:"structure"` @@ -3142,18 +2572,6 @@ func (s *RemoveTagsFromResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *RemoveTagsFromResourceInput) SetResourceArn(v string) *RemoveTagsFromResourceInput { - s.ResourceArn = &v - return s -} - -// SetTagKeyList sets the TagKeyList field's value. -func (s *RemoveTagsFromResourceInput) SetTagKeyList(v []string) *RemoveTagsFromResourceInput { - s.TagKeyList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/RemoveTagsFromResourceResponse type RemoveTagsFromResourceOutput struct { _ struct{} `type:"structure"` @@ -3181,12 +2599,6 @@ func (s RemoveTagsFromResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStatus sets the Status field's value. -func (s *RemoveTagsFromResourceOutput) SetStatus(v string) *RemoveTagsFromResourceOutput { - s.Status = &v - return s -} - // A key-value pair that identifies or specifies metadata about an AWS CloudHSM // resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/Tag @@ -3235,18 +2647,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - type ClientVersion string // Enum values for ClientVersion diff --git a/service/cloudhsmv2/api.go b/service/cloudhsmv2/api.go index 3d05e524efc..a387bf45ea0 100644 --- a/service/cloudhsmv2/api.go +++ b/service/cloudhsmv2/api.go @@ -727,30 +727,6 @@ func (s Backup) GoString() string { return s.String() } -// SetBackupId sets the BackupId field's value. -func (s *Backup) SetBackupId(v string) *Backup { - s.BackupId = &v - return s -} - -// SetBackupState sets the BackupState field's value. -func (s *Backup) SetBackupState(v BackupState) *Backup { - s.BackupState = v - return s -} - -// SetClusterId sets the ClusterId field's value. -func (s *Backup) SetClusterId(v string) *Backup { - s.ClusterId = &v - return s -} - -// SetCreateTimestamp sets the CreateTimestamp field's value. -func (s *Backup) SetCreateTimestamp(v time.Time) *Backup { - s.CreateTimestamp = &v - return s -} - // Contains one or more certificates or a certificate signing request (CSR). // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/Certificates type Certificates struct { @@ -784,36 +760,6 @@ func (s Certificates) GoString() string { return s.String() } -// SetAwsHardwareCertificate sets the AwsHardwareCertificate field's value. -func (s *Certificates) SetAwsHardwareCertificate(v string) *Certificates { - s.AwsHardwareCertificate = &v - return s -} - -// SetClusterCertificate sets the ClusterCertificate field's value. -func (s *Certificates) SetClusterCertificate(v string) *Certificates { - s.ClusterCertificate = &v - return s -} - -// SetClusterCsr sets the ClusterCsr field's value. -func (s *Certificates) SetClusterCsr(v string) *Certificates { - s.ClusterCsr = &v - return s -} - -// SetHsmCertificate sets the HsmCertificate field's value. -func (s *Certificates) SetHsmCertificate(v string) *Certificates { - s.HsmCertificate = &v - return s -} - -// SetManufacturerHardwareCertificate sets the ManufacturerHardwareCertificate field's value. -func (s *Certificates) SetManufacturerHardwareCertificate(v string) *Certificates { - s.ManufacturerHardwareCertificate = &v - return s -} - // Contains information about an AWS CloudHSM cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/Cluster type Cluster struct { @@ -871,84 +817,6 @@ func (s Cluster) GoString() string { return s.String() } -// SetBackupPolicy sets the BackupPolicy field's value. -func (s *Cluster) SetBackupPolicy(v BackupPolicy) *Cluster { - s.BackupPolicy = v - return s -} - -// SetCertificates sets the Certificates field's value. -func (s *Cluster) SetCertificates(v *Certificates) *Cluster { - s.Certificates = v - return s -} - -// SetClusterId sets the ClusterId field's value. -func (s *Cluster) SetClusterId(v string) *Cluster { - s.ClusterId = &v - return s -} - -// SetCreateTimestamp sets the CreateTimestamp field's value. -func (s *Cluster) SetCreateTimestamp(v time.Time) *Cluster { - s.CreateTimestamp = &v - return s -} - -// SetHsmType sets the HsmType field's value. -func (s *Cluster) SetHsmType(v string) *Cluster { - s.HsmType = &v - return s -} - -// SetHsms sets the Hsms field's value. -func (s *Cluster) SetHsms(v []Hsm) *Cluster { - s.Hsms = v - return s -} - -// SetPreCoPassword sets the PreCoPassword field's value. -func (s *Cluster) SetPreCoPassword(v string) *Cluster { - s.PreCoPassword = &v - return s -} - -// SetSecurityGroup sets the SecurityGroup field's value. -func (s *Cluster) SetSecurityGroup(v string) *Cluster { - s.SecurityGroup = &v - return s -} - -// SetSourceBackupId sets the SourceBackupId field's value. -func (s *Cluster) SetSourceBackupId(v string) *Cluster { - s.SourceBackupId = &v - return s -} - -// SetState sets the State field's value. -func (s *Cluster) SetState(v ClusterState) *Cluster { - s.State = v - return s -} - -// SetStateMessage sets the StateMessage field's value. -func (s *Cluster) SetStateMessage(v string) *Cluster { - s.StateMessage = &v - return s -} - -// SetSubnetMapping sets the SubnetMapping field's value. -func (s *Cluster) SetSubnetMapping(v map[string]string) *Cluster { - s.SubnetMapping = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *Cluster) SetVpcId(v string) *Cluster { - s.VpcId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/CreateClusterRequest type CreateClusterInput struct { _ struct{} `type:"structure"` @@ -1007,24 +875,6 @@ func (s *CreateClusterInput) Validate() error { return nil } -// SetHsmType sets the HsmType field's value. -func (s *CreateClusterInput) SetHsmType(v string) *CreateClusterInput { - s.HsmType = &v - return s -} - -// SetSourceBackupId sets the SourceBackupId field's value. -func (s *CreateClusterInput) SetSourceBackupId(v string) *CreateClusterInput { - s.SourceBackupId = &v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *CreateClusterInput) SetSubnetIds(v []string) *CreateClusterInput { - s.SubnetIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/CreateClusterResponse type CreateClusterOutput struct { _ struct{} `type:"structure"` @@ -1050,12 +900,6 @@ func (s CreateClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *CreateClusterOutput) SetCluster(v *Cluster) *CreateClusterOutput { - s.Cluster = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/CreateHsmRequest type CreateHsmInput struct { _ struct{} `type:"structure"` @@ -1106,24 +950,6 @@ func (s *CreateHsmInput) Validate() error { return nil } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *CreateHsmInput) SetAvailabilityZone(v string) *CreateHsmInput { - s.AvailabilityZone = &v - return s -} - -// SetClusterId sets the ClusterId field's value. -func (s *CreateHsmInput) SetClusterId(v string) *CreateHsmInput { - s.ClusterId = &v - return s -} - -// SetIpAddress sets the IpAddress field's value. -func (s *CreateHsmInput) SetIpAddress(v string) *CreateHsmInput { - s.IpAddress = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/CreateHsmResponse type CreateHsmOutput struct { _ struct{} `type:"structure"` @@ -1149,12 +975,6 @@ func (s CreateHsmOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHsm sets the Hsm field's value. -func (s *CreateHsmOutput) SetHsm(v *Hsm) *CreateHsmOutput { - s.Hsm = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DeleteClusterRequest type DeleteClusterInput struct { _ struct{} `type:"structure"` @@ -1190,12 +1010,6 @@ func (s *DeleteClusterInput) Validate() error { return nil } -// SetClusterId sets the ClusterId field's value. -func (s *DeleteClusterInput) SetClusterId(v string) *DeleteClusterInput { - s.ClusterId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DeleteClusterResponse type DeleteClusterOutput struct { _ struct{} `type:"structure"` @@ -1221,12 +1035,6 @@ func (s DeleteClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *DeleteClusterOutput) SetCluster(v *Cluster) *DeleteClusterOutput { - s.Cluster = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DeleteHsmRequest type DeleteHsmInput struct { _ struct{} `type:"structure"` @@ -1272,30 +1080,6 @@ func (s *DeleteHsmInput) Validate() error { return nil } -// SetClusterId sets the ClusterId field's value. -func (s *DeleteHsmInput) SetClusterId(v string) *DeleteHsmInput { - s.ClusterId = &v - return s -} - -// SetEniId sets the EniId field's value. -func (s *DeleteHsmInput) SetEniId(v string) *DeleteHsmInput { - s.EniId = &v - return s -} - -// SetEniIp sets the EniIp field's value. -func (s *DeleteHsmInput) SetEniIp(v string) *DeleteHsmInput { - s.EniIp = &v - return s -} - -// SetHsmId sets the HsmId field's value. -func (s *DeleteHsmInput) SetHsmId(v string) *DeleteHsmInput { - s.HsmId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DeleteHsmResponse type DeleteHsmOutput struct { _ struct{} `type:"structure"` @@ -1321,12 +1105,6 @@ func (s DeleteHsmOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHsmId sets the HsmId field's value. -func (s *DeleteHsmOutput) SetHsmId(v string) *DeleteHsmOutput { - s.HsmId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DescribeBackupsRequest type DescribeBackupsInput struct { _ struct{} `type:"structure"` @@ -1374,24 +1152,6 @@ func (s *DescribeBackupsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeBackupsInput) SetFilters(v map[string][]string) *DescribeBackupsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeBackupsInput) SetMaxResults(v int64) *DescribeBackupsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeBackupsInput) SetNextToken(v string) *DescribeBackupsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DescribeBackupsResponse type DescribeBackupsOutput struct { _ struct{} `type:"structure"` @@ -1422,18 +1182,6 @@ func (s DescribeBackupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBackups sets the Backups field's value. -func (s *DescribeBackupsOutput) SetBackups(v []Backup) *DescribeBackupsOutput { - s.Backups = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeBackupsOutput) SetNextToken(v string) *DescribeBackupsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DescribeClustersRequest type DescribeClustersInput struct { _ struct{} `type:"structure"` @@ -1482,24 +1230,6 @@ func (s *DescribeClustersInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeClustersInput) SetFilters(v map[string][]string) *DescribeClustersInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeClustersInput) SetMaxResults(v int64) *DescribeClustersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeClustersInput) SetNextToken(v string) *DescribeClustersInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DescribeClustersResponse type DescribeClustersOutput struct { _ struct{} `type:"structure"` @@ -1530,18 +1260,6 @@ func (s DescribeClustersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClusters sets the Clusters field's value. -func (s *DescribeClustersOutput) SetClusters(v []Cluster) *DescribeClustersOutput { - s.Clusters = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeClustersOutput) SetNextToken(v string) *DescribeClustersOutput { - s.NextToken = &v - return s -} - // Contains information about a hardware security module (HSM) in an AWS CloudHSM // cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/Hsm @@ -1585,54 +1303,6 @@ func (s Hsm) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *Hsm) SetAvailabilityZone(v string) *Hsm { - s.AvailabilityZone = &v - return s -} - -// SetClusterId sets the ClusterId field's value. -func (s *Hsm) SetClusterId(v string) *Hsm { - s.ClusterId = &v - return s -} - -// SetEniId sets the EniId field's value. -func (s *Hsm) SetEniId(v string) *Hsm { - s.EniId = &v - return s -} - -// SetEniIp sets the EniIp field's value. -func (s *Hsm) SetEniIp(v string) *Hsm { - s.EniIp = &v - return s -} - -// SetHsmId sets the HsmId field's value. -func (s *Hsm) SetHsmId(v string) *Hsm { - s.HsmId = &v - return s -} - -// SetState sets the State field's value. -func (s *Hsm) SetState(v HsmState) *Hsm { - s.State = v - return s -} - -// SetStateMessage sets the StateMessage field's value. -func (s *Hsm) SetStateMessage(v string) *Hsm { - s.StateMessage = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *Hsm) SetSubnetId(v string) *Hsm { - s.SubnetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/InitializeClusterRequest type InitializeClusterInput struct { _ struct{} `type:"structure"` @@ -1692,24 +1362,6 @@ func (s *InitializeClusterInput) Validate() error { return nil } -// SetClusterId sets the ClusterId field's value. -func (s *InitializeClusterInput) SetClusterId(v string) *InitializeClusterInput { - s.ClusterId = &v - return s -} - -// SetSignedCert sets the SignedCert field's value. -func (s *InitializeClusterInput) SetSignedCert(v string) *InitializeClusterInput { - s.SignedCert = &v - return s -} - -// SetTrustAnchor sets the TrustAnchor field's value. -func (s *InitializeClusterInput) SetTrustAnchor(v string) *InitializeClusterInput { - s.TrustAnchor = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/InitializeClusterResponse type InitializeClusterOutput struct { _ struct{} `type:"structure"` @@ -1738,18 +1390,6 @@ func (s InitializeClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetState sets the State field's value. -func (s *InitializeClusterOutput) SetState(v ClusterState) *InitializeClusterOutput { - s.State = v - return s -} - -// SetStateMessage sets the StateMessage field's value. -func (s *InitializeClusterOutput) SetStateMessage(v string) *InitializeClusterOutput { - s.StateMessage = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/ListTagsRequest type ListTagsInput struct { _ struct{} `type:"structure"` @@ -1796,24 +1436,6 @@ func (s *ListTagsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListTagsInput) SetMaxResults(v int64) *ListTagsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTagsInput) SetNextToken(v string) *ListTagsInput { - s.NextToken = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *ListTagsInput) SetResourceId(v string) *ListTagsInput { - s.ResourceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/ListTagsResponse type ListTagsOutput struct { _ struct{} `type:"structure"` @@ -1845,18 +1467,6 @@ func (s ListTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTagsOutput) SetNextToken(v string) *ListTagsOutput { - s.NextToken = &v - return s -} - -// SetTagList sets the TagList field's value. -func (s *ListTagsOutput) SetTagList(v []Tag) *ListTagsOutput { - s.TagList = v - return s -} - // Contains a tag. A tag is a key-value pair. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/Tag type Tag struct { @@ -1904,18 +1514,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/TagResourceRequest type TagResourceInput struct { _ struct{} `type:"structure"` @@ -1970,18 +1568,6 @@ func (s *TagResourceInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *TagResourceInput) SetResourceId(v string) *TagResourceInput { - s.ResourceId = &v - return s -} - -// SetTagList sets the TagList field's value. -func (s *TagResourceInput) SetTagList(v []Tag) *TagResourceInput { - s.TagList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/TagResourceResponse type TagResourceOutput struct { _ struct{} `type:"structure"` @@ -2052,18 +1638,6 @@ func (s *UntagResourceInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *UntagResourceInput) SetResourceId(v string) *UntagResourceInput { - s.ResourceId = &v - return s -} - -// SetTagKeyList sets the TagKeyList field's value. -func (s *UntagResourceInput) SetTagKeyList(v []string) *UntagResourceInput { - s.TagKeyList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/UntagResourceResponse type UntagResourceOutput struct { _ struct{} `type:"structure"` diff --git a/service/cloudsearch/api.go b/service/cloudsearch/api.go index e12501847e9..9ca13a6a0ca 100644 --- a/service/cloudsearch/api.go +++ b/service/cloudsearch/api.go @@ -1254,18 +1254,6 @@ func (s AccessPoliciesStatus) GoString() string { return s.String() } -// SetOptions sets the Options field's value. -func (s *AccessPoliciesStatus) SetOptions(v string) *AccessPoliciesStatus { - s.Options = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *AccessPoliciesStatus) SetStatus(v *OptionStatus) *AccessPoliciesStatus { - s.Status = v - return s -} - // Synonyms, stopwords, and stemming options for an analysis scheme. Includes // tokenization dictionary for Japanese. type AnalysisOptions struct { @@ -1318,36 +1306,6 @@ func (s AnalysisOptions) GoString() string { return s.String() } -// SetAlgorithmicStemming sets the AlgorithmicStemming field's value. -func (s *AnalysisOptions) SetAlgorithmicStemming(v AlgorithmicStemming) *AnalysisOptions { - s.AlgorithmicStemming = v - return s -} - -// SetJapaneseTokenizationDictionary sets the JapaneseTokenizationDictionary field's value. -func (s *AnalysisOptions) SetJapaneseTokenizationDictionary(v string) *AnalysisOptions { - s.JapaneseTokenizationDictionary = &v - return s -} - -// SetStemmingDictionary sets the StemmingDictionary field's value. -func (s *AnalysisOptions) SetStemmingDictionary(v string) *AnalysisOptions { - s.StemmingDictionary = &v - return s -} - -// SetStopwords sets the Stopwords field's value. -func (s *AnalysisOptions) SetStopwords(v string) *AnalysisOptions { - s.Stopwords = &v - return s -} - -// SetSynonyms sets the Synonyms field's value. -func (s *AnalysisOptions) SetSynonyms(v string) *AnalysisOptions { - s.Synonyms = &v - return s -} - // Configuration information for an analysis scheme. Each analysis scheme has // a unique name and specifies the language of the text to be processed. The // following options can be configured for an analysis scheme: Synonyms, Stopwords, @@ -1402,24 +1360,6 @@ func (s *AnalysisScheme) Validate() error { return nil } -// SetAnalysisOptions sets the AnalysisOptions field's value. -func (s *AnalysisScheme) SetAnalysisOptions(v *AnalysisOptions) *AnalysisScheme { - s.AnalysisOptions = v - return s -} - -// SetAnalysisSchemeLanguage sets the AnalysisSchemeLanguage field's value. -func (s *AnalysisScheme) SetAnalysisSchemeLanguage(v AnalysisSchemeLanguage) *AnalysisScheme { - s.AnalysisSchemeLanguage = v - return s -} - -// SetAnalysisSchemeName sets the AnalysisSchemeName field's value. -func (s *AnalysisScheme) SetAnalysisSchemeName(v string) *AnalysisScheme { - s.AnalysisSchemeName = &v - return s -} - // The status and configuration of an AnalysisScheme. type AnalysisSchemeStatus struct { _ struct{} `type:"structure"` @@ -1448,18 +1388,6 @@ func (s AnalysisSchemeStatus) GoString() string { return s.String() } -// SetOptions sets the Options field's value. -func (s *AnalysisSchemeStatus) SetOptions(v *AnalysisScheme) *AnalysisSchemeStatus { - s.Options = v - return s -} - -// SetStatus sets the Status field's value. -func (s *AnalysisSchemeStatus) SetStatus(v *OptionStatus) *AnalysisSchemeStatus { - s.Status = v - return s -} - // The status and configuration of the domain's availability options. type AvailabilityOptionsStatus struct { _ struct{} `type:"structure"` @@ -1485,18 +1413,6 @@ func (s AvailabilityOptionsStatus) GoString() string { return s.String() } -// SetOptions sets the Options field's value. -func (s *AvailabilityOptionsStatus) SetOptions(v bool) *AvailabilityOptionsStatus { - s.Options = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *AvailabilityOptionsStatus) SetStatus(v *OptionStatus) *AvailabilityOptionsStatus { - s.Status = v - return s -} - // Container for the parameters to the BuildSuggester operation. Specifies the // name of the domain you want to update. type BuildSuggestersInput struct { @@ -1538,12 +1454,6 @@ func (s *BuildSuggestersInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *BuildSuggestersInput) SetDomainName(v string) *BuildSuggestersInput { - s.DomainName = &v - return s -} - // The result of a BuildSuggester request. Contains a list of the fields used // for suggestions. type BuildSuggestersOutput struct { @@ -1570,12 +1480,6 @@ func (s BuildSuggestersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFieldNames sets the FieldNames field's value. -func (s *BuildSuggestersOutput) SetFieldNames(v []string) *BuildSuggestersOutput { - s.FieldNames = v - return s -} - // Container for the parameters to the CreateDomain operation. Specifies a name // for the new search domain. type CreateDomainInput struct { @@ -1616,12 +1520,6 @@ func (s *CreateDomainInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *CreateDomainInput) SetDomainName(v string) *CreateDomainInput { - s.DomainName = &v - return s -} - // The result of a CreateDomainRequest. Contains the status of a newly created // domain. type CreateDomainOutput struct { @@ -1648,12 +1546,6 @@ func (s CreateDomainOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDomainStatus sets the DomainStatus field's value. -func (s *CreateDomainOutput) SetDomainStatus(v *DomainStatus) *CreateDomainOutput { - s.DomainStatus = v - return s -} - // Options for a field that contains an array of dates. Present if IndexFieldType // specifies the field is of type date-array. All options are enabled by default. type DateArrayOptions struct { @@ -1685,36 +1577,6 @@ func (s DateArrayOptions) GoString() string { return s.String() } -// SetDefaultValue sets the DefaultValue field's value. -func (s *DateArrayOptions) SetDefaultValue(v string) *DateArrayOptions { - s.DefaultValue = &v - return s -} - -// SetFacetEnabled sets the FacetEnabled field's value. -func (s *DateArrayOptions) SetFacetEnabled(v bool) *DateArrayOptions { - s.FacetEnabled = &v - return s -} - -// SetReturnEnabled sets the ReturnEnabled field's value. -func (s *DateArrayOptions) SetReturnEnabled(v bool) *DateArrayOptions { - s.ReturnEnabled = &v - return s -} - -// SetSearchEnabled sets the SearchEnabled field's value. -func (s *DateArrayOptions) SetSearchEnabled(v bool) *DateArrayOptions { - s.SearchEnabled = &v - return s -} - -// SetSourceFields sets the SourceFields field's value. -func (s *DateArrayOptions) SetSourceFields(v string) *DateArrayOptions { - s.SourceFields = &v - return s -} - // Options for a date field. Dates and times are specified in UTC (Coordinated // Universal Time) according to IETF RFC3339: yyyy-mm-ddT00:00:00Z. Present // if IndexFieldType specifies the field is of type date. All options are enabled @@ -1777,42 +1639,6 @@ func (s *DateOptions) Validate() error { return nil } -// SetDefaultValue sets the DefaultValue field's value. -func (s *DateOptions) SetDefaultValue(v string) *DateOptions { - s.DefaultValue = &v - return s -} - -// SetFacetEnabled sets the FacetEnabled field's value. -func (s *DateOptions) SetFacetEnabled(v bool) *DateOptions { - s.FacetEnabled = &v - return s -} - -// SetReturnEnabled sets the ReturnEnabled field's value. -func (s *DateOptions) SetReturnEnabled(v bool) *DateOptions { - s.ReturnEnabled = &v - return s -} - -// SetSearchEnabled sets the SearchEnabled field's value. -func (s *DateOptions) SetSearchEnabled(v bool) *DateOptions { - s.SearchEnabled = &v - return s -} - -// SetSortEnabled sets the SortEnabled field's value. -func (s *DateOptions) SetSortEnabled(v bool) *DateOptions { - s.SortEnabled = &v - return s -} - -// SetSourceField sets the SourceField field's value. -func (s *DateOptions) SetSourceField(v string) *DateOptions { - s.SourceField = &v - return s -} - // Container for the parameters to the DefineAnalysisScheme operation. Specifies // the name of the domain you want to update and the analysis scheme configuration. type DefineAnalysisSchemeInput struct { @@ -1871,18 +1697,6 @@ func (s *DefineAnalysisSchemeInput) Validate() error { return nil } -// SetAnalysisScheme sets the AnalysisScheme field's value. -func (s *DefineAnalysisSchemeInput) SetAnalysisScheme(v *AnalysisScheme) *DefineAnalysisSchemeInput { - s.AnalysisScheme = v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *DefineAnalysisSchemeInput) SetDomainName(v string) *DefineAnalysisSchemeInput { - s.DomainName = &v - return s -} - // The result of a DefineAnalysisScheme request. Contains the status of the // newly-configured analysis scheme. type DefineAnalysisSchemeOutput struct { @@ -1911,12 +1725,6 @@ func (s DefineAnalysisSchemeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAnalysisScheme sets the AnalysisScheme field's value. -func (s *DefineAnalysisSchemeOutput) SetAnalysisScheme(v *AnalysisSchemeStatus) *DefineAnalysisSchemeOutput { - s.AnalysisScheme = v - return s -} - // Container for the parameters to the DefineExpression operation. Specifies // the name of the domain you want to update and the expression you want to // configure. @@ -1975,18 +1783,6 @@ func (s *DefineExpressionInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DefineExpressionInput) SetDomainName(v string) *DefineExpressionInput { - s.DomainName = &v - return s -} - -// SetExpression sets the Expression field's value. -func (s *DefineExpressionInput) SetExpression(v *Expression) *DefineExpressionInput { - s.Expression = v - return s -} - // The result of a DefineExpression request. Contains the status of the newly-configured // expression. type DefineExpressionOutput struct { @@ -2015,12 +1811,6 @@ func (s DefineExpressionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExpression sets the Expression field's value. -func (s *DefineExpressionOutput) SetExpression(v *ExpressionStatus) *DefineExpressionOutput { - s.Expression = v - return s -} - // Container for the parameters to the DefineIndexField operation. Specifies // the name of the domain you want to update and the index field configuration. type DefineIndexFieldInput struct { @@ -2076,18 +1866,6 @@ func (s *DefineIndexFieldInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DefineIndexFieldInput) SetDomainName(v string) *DefineIndexFieldInput { - s.DomainName = &v - return s -} - -// SetIndexField sets the IndexField field's value. -func (s *DefineIndexFieldInput) SetIndexField(v *IndexField) *DefineIndexFieldInput { - s.IndexField = v - return s -} - // The result of a DefineIndexField request. Contains the status of the newly-configured // index field. type DefineIndexFieldOutput struct { @@ -2116,12 +1894,6 @@ func (s DefineIndexFieldOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIndexField sets the IndexField field's value. -func (s *DefineIndexFieldOutput) SetIndexField(v *IndexFieldStatus) *DefineIndexFieldOutput { - s.IndexField = v - return s -} - // Container for the parameters to the DefineSuggester operation. Specifies // the name of the domain you want to update and the suggester configuration. type DefineSuggesterInput struct { @@ -2179,18 +1951,6 @@ func (s *DefineSuggesterInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DefineSuggesterInput) SetDomainName(v string) *DefineSuggesterInput { - s.DomainName = &v - return s -} - -// SetSuggester sets the Suggester field's value. -func (s *DefineSuggesterInput) SetSuggester(v *Suggester) *DefineSuggesterInput { - s.Suggester = v - return s -} - // The result of a DefineSuggester request. Contains the status of the newly-configured // suggester. type DefineSuggesterOutput struct { @@ -2219,12 +1979,6 @@ func (s DefineSuggesterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSuggester sets the Suggester field's value. -func (s *DefineSuggesterOutput) SetSuggester(v *SuggesterStatus) *DefineSuggesterOutput { - s.Suggester = v - return s -} - // Container for the parameters to the DeleteAnalysisScheme operation. Specifies // the name of the domain you want to update and the analysis scheme you want // to delete. @@ -2279,18 +2033,6 @@ func (s *DeleteAnalysisSchemeInput) Validate() error { return nil } -// SetAnalysisSchemeName sets the AnalysisSchemeName field's value. -func (s *DeleteAnalysisSchemeInput) SetAnalysisSchemeName(v string) *DeleteAnalysisSchemeInput { - s.AnalysisSchemeName = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *DeleteAnalysisSchemeInput) SetDomainName(v string) *DeleteAnalysisSchemeInput { - s.DomainName = &v - return s -} - // The result of a DeleteAnalysisScheme request. Contains the status of the // deleted analysis scheme. type DeleteAnalysisSchemeOutput struct { @@ -2319,12 +2061,6 @@ func (s DeleteAnalysisSchemeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAnalysisScheme sets the AnalysisScheme field's value. -func (s *DeleteAnalysisSchemeOutput) SetAnalysisScheme(v *AnalysisSchemeStatus) *DeleteAnalysisSchemeOutput { - s.AnalysisScheme = v - return s -} - // Container for the parameters to the DeleteDomain operation. Specifies the // name of the domain you want to delete. type DeleteDomainInput struct { @@ -2363,12 +2099,6 @@ func (s *DeleteDomainInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DeleteDomainInput) SetDomainName(v string) *DeleteDomainInput { - s.DomainName = &v - return s -} - // The result of a DeleteDomain request. Contains the status of a newly deleted // domain, or no status if the domain has already been completely deleted. type DeleteDomainOutput struct { @@ -2395,12 +2125,6 @@ func (s DeleteDomainOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDomainStatus sets the DomainStatus field's value. -func (s *DeleteDomainOutput) SetDomainStatus(v *DomainStatus) *DeleteDomainOutput { - s.DomainStatus = v - return s -} - // Container for the parameters to the DeleteExpression operation. Specifies // the name of the domain you want to update and the name of the expression // you want to delete. @@ -2455,18 +2179,6 @@ func (s *DeleteExpressionInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DeleteExpressionInput) SetDomainName(v string) *DeleteExpressionInput { - s.DomainName = &v - return s -} - -// SetExpressionName sets the ExpressionName field's value. -func (s *DeleteExpressionInput) SetExpressionName(v string) *DeleteExpressionInput { - s.ExpressionName = &v - return s -} - // The result of a DeleteExpression request. Specifies the expression being // deleted. type DeleteExpressionOutput struct { @@ -2495,12 +2207,6 @@ func (s DeleteExpressionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExpression sets the Expression field's value. -func (s *DeleteExpressionOutput) SetExpression(v *ExpressionStatus) *DeleteExpressionOutput { - s.Expression = v - return s -} - // Container for the parameters to the DeleteIndexField operation. Specifies // the name of the domain you want to update and the name of the index field // you want to delete. @@ -2556,18 +2262,6 @@ func (s *DeleteIndexFieldInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DeleteIndexFieldInput) SetDomainName(v string) *DeleteIndexFieldInput { - s.DomainName = &v - return s -} - -// SetIndexFieldName sets the IndexFieldName field's value. -func (s *DeleteIndexFieldInput) SetIndexFieldName(v string) *DeleteIndexFieldInput { - s.IndexFieldName = &v - return s -} - // The result of a DeleteIndexField request. type DeleteIndexFieldOutput struct { _ struct{} `type:"structure"` @@ -2595,12 +2289,6 @@ func (s DeleteIndexFieldOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIndexField sets the IndexField field's value. -func (s *DeleteIndexFieldOutput) SetIndexField(v *IndexFieldStatus) *DeleteIndexFieldOutput { - s.IndexField = v - return s -} - // Container for the parameters to the DeleteSuggester operation. Specifies // the name of the domain you want to update and name of the suggester you want // to delete. @@ -2655,18 +2343,6 @@ func (s *DeleteSuggesterInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DeleteSuggesterInput) SetDomainName(v string) *DeleteSuggesterInput { - s.DomainName = &v - return s -} - -// SetSuggesterName sets the SuggesterName field's value. -func (s *DeleteSuggesterInput) SetSuggesterName(v string) *DeleteSuggesterInput { - s.SuggesterName = &v - return s -} - // The result of a DeleteSuggester request. Contains the status of the deleted // suggester. type DeleteSuggesterOutput struct { @@ -2695,12 +2371,6 @@ func (s DeleteSuggesterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSuggester sets the Suggester field's value. -func (s *DeleteSuggesterOutput) SetSuggester(v *SuggesterStatus) *DeleteSuggesterOutput { - s.Suggester = v - return s -} - // Container for the parameters to the DescribeAnalysisSchemes operation. Specifies // the name of the domain you want to describe. To limit the response to particular // analysis schemes, specify the names of the analysis schemes you want to describe. @@ -2749,24 +2419,6 @@ func (s *DescribeAnalysisSchemesInput) Validate() error { return nil } -// SetAnalysisSchemeNames sets the AnalysisSchemeNames field's value. -func (s *DescribeAnalysisSchemesInput) SetAnalysisSchemeNames(v []string) *DescribeAnalysisSchemesInput { - s.AnalysisSchemeNames = v - return s -} - -// SetDeployed sets the Deployed field's value. -func (s *DescribeAnalysisSchemesInput) SetDeployed(v bool) *DescribeAnalysisSchemesInput { - s.Deployed = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *DescribeAnalysisSchemesInput) SetDomainName(v string) *DescribeAnalysisSchemesInput { - s.DomainName = &v - return s -} - // The result of a DescribeAnalysisSchemes request. Contains the analysis schemes // configured for the domain specified in the request. type DescribeAnalysisSchemesOutput struct { @@ -2795,12 +2447,6 @@ func (s DescribeAnalysisSchemesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAnalysisSchemes sets the AnalysisSchemes field's value. -func (s *DescribeAnalysisSchemesOutput) SetAnalysisSchemes(v []AnalysisSchemeStatus) *DescribeAnalysisSchemesOutput { - s.AnalysisSchemes = v - return s -} - // Container for the parameters to the DescribeAvailabilityOptions operation. // Specifies the name of the domain you want to describe. To show the active // configuration and exclude any pending changes, set the Deployed option to @@ -2845,18 +2491,6 @@ func (s *DescribeAvailabilityOptionsInput) Validate() error { return nil } -// SetDeployed sets the Deployed field's value. -func (s *DescribeAvailabilityOptionsInput) SetDeployed(v bool) *DescribeAvailabilityOptionsInput { - s.Deployed = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *DescribeAvailabilityOptionsInput) SetDomainName(v string) *DescribeAvailabilityOptionsInput { - s.DomainName = &v - return s -} - // The result of a DescribeAvailabilityOptions request. Indicates whether or // not the Multi-AZ option is enabled for the domain specified in the request. type DescribeAvailabilityOptionsOutput struct { @@ -2884,12 +2518,6 @@ func (s DescribeAvailabilityOptionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAvailabilityOptions sets the AvailabilityOptions field's value. -func (s *DescribeAvailabilityOptionsOutput) SetAvailabilityOptions(v *AvailabilityOptionsStatus) *DescribeAvailabilityOptionsOutput { - s.AvailabilityOptions = v - return s -} - // Container for the parameters to the DescribeDomains operation. By default // shows the status of all domains. To restrict the response to particular domains, // specify the names of the domains you want to describe. @@ -2910,12 +2538,6 @@ func (s DescribeDomainsInput) GoString() string { return s.String() } -// SetDomainNames sets the DomainNames field's value. -func (s *DescribeDomainsInput) SetDomainNames(v []string) *DescribeDomainsInput { - s.DomainNames = v - return s -} - // The result of a DescribeDomains request. Contains the status of the domains // specified in the request or all domains owned by the account. type DescribeDomainsOutput struct { @@ -2944,12 +2566,6 @@ func (s DescribeDomainsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDomainStatusList sets the DomainStatusList field's value. -func (s *DescribeDomainsOutput) SetDomainStatusList(v []DomainStatus) *DescribeDomainsOutput { - s.DomainStatusList = v - return s -} - // Container for the parameters to the DescribeDomains operation. Specifies // the name of the domain you want to describe. To restrict the response to // particular expressions, specify the names of the expressions you want to @@ -2999,24 +2615,6 @@ func (s *DescribeExpressionsInput) Validate() error { return nil } -// SetDeployed sets the Deployed field's value. -func (s *DescribeExpressionsInput) SetDeployed(v bool) *DescribeExpressionsInput { - s.Deployed = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *DescribeExpressionsInput) SetDomainName(v string) *DescribeExpressionsInput { - s.DomainName = &v - return s -} - -// SetExpressionNames sets the ExpressionNames field's value. -func (s *DescribeExpressionsInput) SetExpressionNames(v []string) *DescribeExpressionsInput { - s.ExpressionNames = v - return s -} - // The result of a DescribeExpressions request. Contains the expressions configured // for the domain specified in the request. type DescribeExpressionsOutput struct { @@ -3045,12 +2643,6 @@ func (s DescribeExpressionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExpressions sets the Expressions field's value. -func (s *DescribeExpressionsOutput) SetExpressions(v []ExpressionStatus) *DescribeExpressionsOutput { - s.Expressions = v - return s -} - // Container for the parameters to the DescribeIndexFields operation. Specifies // the name of the domain you want to describe. To restrict the response to // particular index fields, specify the names of the index fields you want to @@ -3100,24 +2692,6 @@ func (s *DescribeIndexFieldsInput) Validate() error { return nil } -// SetDeployed sets the Deployed field's value. -func (s *DescribeIndexFieldsInput) SetDeployed(v bool) *DescribeIndexFieldsInput { - s.Deployed = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *DescribeIndexFieldsInput) SetDomainName(v string) *DescribeIndexFieldsInput { - s.DomainName = &v - return s -} - -// SetFieldNames sets the FieldNames field's value. -func (s *DescribeIndexFieldsInput) SetFieldNames(v []string) *DescribeIndexFieldsInput { - s.FieldNames = v - return s -} - // The result of a DescribeIndexFields request. Contains the index fields configured // for the domain specified in the request. type DescribeIndexFieldsOutput struct { @@ -3146,12 +2720,6 @@ func (s DescribeIndexFieldsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIndexFields sets the IndexFields field's value. -func (s *DescribeIndexFieldsOutput) SetIndexFields(v []IndexFieldStatus) *DescribeIndexFieldsOutput { - s.IndexFields = v - return s -} - // Container for the parameters to the DescribeScalingParameters operation. // Specifies the name of the domain you want to describe. type DescribeScalingParametersInput struct { @@ -3193,12 +2761,6 @@ func (s *DescribeScalingParametersInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DescribeScalingParametersInput) SetDomainName(v string) *DescribeScalingParametersInput { - s.DomainName = &v - return s -} - // The result of a DescribeScalingParameters request. Contains the scaling parameters // configured for the domain specified in the request. type DescribeScalingParametersOutput struct { @@ -3227,12 +2789,6 @@ func (s DescribeScalingParametersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetScalingParameters sets the ScalingParameters field's value. -func (s *DescribeScalingParametersOutput) SetScalingParameters(v *ScalingParametersStatus) *DescribeScalingParametersOutput { - s.ScalingParameters = v - return s -} - // Container for the parameters to the DescribeServiceAccessPolicies operation. // Specifies the name of the domain you want to describe. To show the active // configuration and exclude any pending changes, set the Deployed option to @@ -3277,18 +2833,6 @@ func (s *DescribeServiceAccessPoliciesInput) Validate() error { return nil } -// SetDeployed sets the Deployed field's value. -func (s *DescribeServiceAccessPoliciesInput) SetDeployed(v bool) *DescribeServiceAccessPoliciesInput { - s.Deployed = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *DescribeServiceAccessPoliciesInput) SetDomainName(v string) *DescribeServiceAccessPoliciesInput { - s.DomainName = &v - return s -} - // The result of a DescribeServiceAccessPolicies request. type DescribeServiceAccessPoliciesOutput struct { _ struct{} `type:"structure"` @@ -3316,12 +2860,6 @@ func (s DescribeServiceAccessPoliciesOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetAccessPolicies sets the AccessPolicies field's value. -func (s *DescribeServiceAccessPoliciesOutput) SetAccessPolicies(v *AccessPoliciesStatus) *DescribeServiceAccessPoliciesOutput { - s.AccessPolicies = v - return s -} - // Container for the parameters to the DescribeSuggester operation. Specifies // the name of the domain you want to describe. To restrict the response to // particular suggesters, specify the names of the suggesters you want to describe. @@ -3370,24 +2908,6 @@ func (s *DescribeSuggestersInput) Validate() error { return nil } -// SetDeployed sets the Deployed field's value. -func (s *DescribeSuggestersInput) SetDeployed(v bool) *DescribeSuggestersInput { - s.Deployed = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *DescribeSuggestersInput) SetDomainName(v string) *DescribeSuggestersInput { - s.DomainName = &v - return s -} - -// SetSuggesterNames sets the SuggesterNames field's value. -func (s *DescribeSuggestersInput) SetSuggesterNames(v []string) *DescribeSuggestersInput { - s.SuggesterNames = v - return s -} - // The result of a DescribeSuggesters request. type DescribeSuggestersOutput struct { _ struct{} `type:"structure"` @@ -3415,12 +2935,6 @@ func (s DescribeSuggestersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSuggesters sets the Suggesters field's value. -func (s *DescribeSuggestersOutput) SetSuggesters(v []SuggesterStatus) *DescribeSuggestersOutput { - s.Suggesters = v - return s -} - // Options for a search suggester. type DocumentSuggesterOptions struct { _ struct{} `type:"structure"` @@ -3474,24 +2988,6 @@ func (s *DocumentSuggesterOptions) Validate() error { return nil } -// SetFuzzyMatching sets the FuzzyMatching field's value. -func (s *DocumentSuggesterOptions) SetFuzzyMatching(v SuggesterFuzzyMatching) *DocumentSuggesterOptions { - s.FuzzyMatching = v - return s -} - -// SetSortExpression sets the SortExpression field's value. -func (s *DocumentSuggesterOptions) SetSortExpression(v string) *DocumentSuggesterOptions { - s.SortExpression = &v - return s -} - -// SetSourceField sets the SourceField field's value. -func (s *DocumentSuggesterOptions) SetSourceField(v string) *DocumentSuggesterOptions { - s.SourceField = &v - return s -} - // The current status of the search domain. type DomainStatus struct { _ struct{} `type:"structure"` @@ -3563,84 +3059,6 @@ func (s DomainStatus) GoString() string { return s.String() } -// SetARN sets the ARN field's value. -func (s *DomainStatus) SetARN(v string) *DomainStatus { - s.ARN = &v - return s -} - -// SetCreated sets the Created field's value. -func (s *DomainStatus) SetCreated(v bool) *DomainStatus { - s.Created = &v - return s -} - -// SetDeleted sets the Deleted field's value. -func (s *DomainStatus) SetDeleted(v bool) *DomainStatus { - s.Deleted = &v - return s -} - -// SetDocService sets the DocService field's value. -func (s *DomainStatus) SetDocService(v *ServiceEndpoint) *DomainStatus { - s.DocService = v - return s -} - -// SetDomainId sets the DomainId field's value. -func (s *DomainStatus) SetDomainId(v string) *DomainStatus { - s.DomainId = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *DomainStatus) SetDomainName(v string) *DomainStatus { - s.DomainName = &v - return s -} - -// SetLimits sets the Limits field's value. -func (s *DomainStatus) SetLimits(v *Limits) *DomainStatus { - s.Limits = v - return s -} - -// SetProcessing sets the Processing field's value. -func (s *DomainStatus) SetProcessing(v bool) *DomainStatus { - s.Processing = &v - return s -} - -// SetRequiresIndexDocuments sets the RequiresIndexDocuments field's value. -func (s *DomainStatus) SetRequiresIndexDocuments(v bool) *DomainStatus { - s.RequiresIndexDocuments = &v - return s -} - -// SetSearchInstanceCount sets the SearchInstanceCount field's value. -func (s *DomainStatus) SetSearchInstanceCount(v int64) *DomainStatus { - s.SearchInstanceCount = &v - return s -} - -// SetSearchInstanceType sets the SearchInstanceType field's value. -func (s *DomainStatus) SetSearchInstanceType(v string) *DomainStatus { - s.SearchInstanceType = &v - return s -} - -// SetSearchPartitionCount sets the SearchPartitionCount field's value. -func (s *DomainStatus) SetSearchPartitionCount(v int64) *DomainStatus { - s.SearchPartitionCount = &v - return s -} - -// SetSearchService sets the SearchService field's value. -func (s *DomainStatus) SetSearchService(v *ServiceEndpoint) *DomainStatus { - s.SearchService = v - return s -} - // Options for a field that contains an array of double-precision 64-bit floating // point values. Present if IndexFieldType specifies the field is of type double-array. // All options are enabled by default. @@ -3673,36 +3091,6 @@ func (s DoubleArrayOptions) GoString() string { return s.String() } -// SetDefaultValue sets the DefaultValue field's value. -func (s *DoubleArrayOptions) SetDefaultValue(v float64) *DoubleArrayOptions { - s.DefaultValue = &v - return s -} - -// SetFacetEnabled sets the FacetEnabled field's value. -func (s *DoubleArrayOptions) SetFacetEnabled(v bool) *DoubleArrayOptions { - s.FacetEnabled = &v - return s -} - -// SetReturnEnabled sets the ReturnEnabled field's value. -func (s *DoubleArrayOptions) SetReturnEnabled(v bool) *DoubleArrayOptions { - s.ReturnEnabled = &v - return s -} - -// SetSearchEnabled sets the SearchEnabled field's value. -func (s *DoubleArrayOptions) SetSearchEnabled(v bool) *DoubleArrayOptions { - s.SearchEnabled = &v - return s -} - -// SetSourceFields sets the SourceFields field's value. -func (s *DoubleArrayOptions) SetSourceFields(v string) *DoubleArrayOptions { - s.SourceFields = &v - return s -} - // Options for a double-precision 64-bit floating point field. Present if IndexFieldType // specifies the field is of type double. All options are enabled by default. type DoubleOptions struct { @@ -3752,42 +3140,6 @@ func (s *DoubleOptions) Validate() error { return nil } -// SetDefaultValue sets the DefaultValue field's value. -func (s *DoubleOptions) SetDefaultValue(v float64) *DoubleOptions { - s.DefaultValue = &v - return s -} - -// SetFacetEnabled sets the FacetEnabled field's value. -func (s *DoubleOptions) SetFacetEnabled(v bool) *DoubleOptions { - s.FacetEnabled = &v - return s -} - -// SetReturnEnabled sets the ReturnEnabled field's value. -func (s *DoubleOptions) SetReturnEnabled(v bool) *DoubleOptions { - s.ReturnEnabled = &v - return s -} - -// SetSearchEnabled sets the SearchEnabled field's value. -func (s *DoubleOptions) SetSearchEnabled(v bool) *DoubleOptions { - s.SearchEnabled = &v - return s -} - -// SetSortEnabled sets the SortEnabled field's value. -func (s *DoubleOptions) SetSortEnabled(v bool) *DoubleOptions { - s.SortEnabled = &v - return s -} - -// SetSourceField sets the SourceField field's value. -func (s *DoubleOptions) SetSourceField(v string) *DoubleOptions { - s.SourceField = &v - return s -} - // A named expression that can be evaluated at search time. Can be used to sort // the search results, define other expressions, or return computed information // in the search results. @@ -3843,18 +3195,6 @@ func (s *Expression) Validate() error { return nil } -// SetExpressionName sets the ExpressionName field's value. -func (s *Expression) SetExpressionName(v string) *Expression { - s.ExpressionName = &v - return s -} - -// SetExpressionValue sets the ExpressionValue field's value. -func (s *Expression) SetExpressionValue(v string) *Expression { - s.ExpressionValue = &v - return s -} - // The value of an Expression and its current status. type ExpressionStatus struct { _ struct{} `type:"structure"` @@ -3880,18 +3220,6 @@ func (s ExpressionStatus) GoString() string { return s.String() } -// SetOptions sets the Options field's value. -func (s *ExpressionStatus) SetOptions(v *Expression) *ExpressionStatus { - s.Options = v - return s -} - -// SetStatus sets the Status field's value. -func (s *ExpressionStatus) SetStatus(v *OptionStatus) *ExpressionStatus { - s.Status = v - return s -} - // Container for the parameters to the IndexDocuments operation. Specifies the // name of the domain you want to re-index. type IndexDocumentsInput struct { @@ -3933,12 +3261,6 @@ func (s *IndexDocumentsInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *IndexDocumentsInput) SetDomainName(v string) *IndexDocumentsInput { - s.DomainName = &v - return s -} - // The result of an IndexDocuments request. Contains the status of the indexing // operation, including the fields being indexed. type IndexDocumentsOutput struct { @@ -3965,12 +3287,6 @@ func (s IndexDocumentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFieldNames sets the FieldNames field's value. -func (s *IndexDocumentsOutput) SetFieldNames(v []string) *IndexDocumentsOutput { - s.FieldNames = v - return s -} - // Configuration information for a field in the index, including its name, type, // and options. The supported options depend on the IndexFieldType. type IndexField struct { @@ -4115,84 +3431,6 @@ func (s *IndexField) Validate() error { return nil } -// SetDateArrayOptions sets the DateArrayOptions field's value. -func (s *IndexField) SetDateArrayOptions(v *DateArrayOptions) *IndexField { - s.DateArrayOptions = v - return s -} - -// SetDateOptions sets the DateOptions field's value. -func (s *IndexField) SetDateOptions(v *DateOptions) *IndexField { - s.DateOptions = v - return s -} - -// SetDoubleArrayOptions sets the DoubleArrayOptions field's value. -func (s *IndexField) SetDoubleArrayOptions(v *DoubleArrayOptions) *IndexField { - s.DoubleArrayOptions = v - return s -} - -// SetDoubleOptions sets the DoubleOptions field's value. -func (s *IndexField) SetDoubleOptions(v *DoubleOptions) *IndexField { - s.DoubleOptions = v - return s -} - -// SetIndexFieldName sets the IndexFieldName field's value. -func (s *IndexField) SetIndexFieldName(v string) *IndexField { - s.IndexFieldName = &v - return s -} - -// SetIndexFieldType sets the IndexFieldType field's value. -func (s *IndexField) SetIndexFieldType(v IndexFieldType) *IndexField { - s.IndexFieldType = v - return s -} - -// SetIntArrayOptions sets the IntArrayOptions field's value. -func (s *IndexField) SetIntArrayOptions(v *IntArrayOptions) *IndexField { - s.IntArrayOptions = v - return s -} - -// SetIntOptions sets the IntOptions field's value. -func (s *IndexField) SetIntOptions(v *IntOptions) *IndexField { - s.IntOptions = v - return s -} - -// SetLatLonOptions sets the LatLonOptions field's value. -func (s *IndexField) SetLatLonOptions(v *LatLonOptions) *IndexField { - s.LatLonOptions = v - return s -} - -// SetLiteralArrayOptions sets the LiteralArrayOptions field's value. -func (s *IndexField) SetLiteralArrayOptions(v *LiteralArrayOptions) *IndexField { - s.LiteralArrayOptions = v - return s -} - -// SetLiteralOptions sets the LiteralOptions field's value. -func (s *IndexField) SetLiteralOptions(v *LiteralOptions) *IndexField { - s.LiteralOptions = v - return s -} - -// SetTextArrayOptions sets the TextArrayOptions field's value. -func (s *IndexField) SetTextArrayOptions(v *TextArrayOptions) *IndexField { - s.TextArrayOptions = v - return s -} - -// SetTextOptions sets the TextOptions field's value. -func (s *IndexField) SetTextOptions(v *TextOptions) *IndexField { - s.TextOptions = v - return s -} - // The value of an IndexField and its current status. type IndexFieldStatus struct { _ struct{} `type:"structure"` @@ -4219,18 +3457,6 @@ func (s IndexFieldStatus) GoString() string { return s.String() } -// SetOptions sets the Options field's value. -func (s *IndexFieldStatus) SetOptions(v *IndexField) *IndexFieldStatus { - s.Options = v - return s -} - -// SetStatus sets the Status field's value. -func (s *IndexFieldStatus) SetStatus(v *OptionStatus) *IndexFieldStatus { - s.Status = v - return s -} - // Options for a field that contains an array of 64-bit signed integers. Present // if IndexFieldType specifies the field is of type int-array. All options are // enabled by default. @@ -4263,36 +3489,6 @@ func (s IntArrayOptions) GoString() string { return s.String() } -// SetDefaultValue sets the DefaultValue field's value. -func (s *IntArrayOptions) SetDefaultValue(v int64) *IntArrayOptions { - s.DefaultValue = &v - return s -} - -// SetFacetEnabled sets the FacetEnabled field's value. -func (s *IntArrayOptions) SetFacetEnabled(v bool) *IntArrayOptions { - s.FacetEnabled = &v - return s -} - -// SetReturnEnabled sets the ReturnEnabled field's value. -func (s *IntArrayOptions) SetReturnEnabled(v bool) *IntArrayOptions { - s.ReturnEnabled = &v - return s -} - -// SetSearchEnabled sets the SearchEnabled field's value. -func (s *IntArrayOptions) SetSearchEnabled(v bool) *IntArrayOptions { - s.SearchEnabled = &v - return s -} - -// SetSourceFields sets the SourceFields field's value. -func (s *IntArrayOptions) SetSourceFields(v string) *IntArrayOptions { - s.SourceFields = &v - return s -} - // Options for a 64-bit signed integer field. Present if IndexFieldType specifies // the field is of type int. All options are enabled by default. type IntOptions struct { @@ -4342,42 +3538,6 @@ func (s *IntOptions) Validate() error { return nil } -// SetDefaultValue sets the DefaultValue field's value. -func (s *IntOptions) SetDefaultValue(v int64) *IntOptions { - s.DefaultValue = &v - return s -} - -// SetFacetEnabled sets the FacetEnabled field's value. -func (s *IntOptions) SetFacetEnabled(v bool) *IntOptions { - s.FacetEnabled = &v - return s -} - -// SetReturnEnabled sets the ReturnEnabled field's value. -func (s *IntOptions) SetReturnEnabled(v bool) *IntOptions { - s.ReturnEnabled = &v - return s -} - -// SetSearchEnabled sets the SearchEnabled field's value. -func (s *IntOptions) SetSearchEnabled(v bool) *IntOptions { - s.SearchEnabled = &v - return s -} - -// SetSortEnabled sets the SortEnabled field's value. -func (s *IntOptions) SetSortEnabled(v bool) *IntOptions { - s.SortEnabled = &v - return s -} - -// SetSourceField sets the SourceField field's value. -func (s *IntOptions) SetSourceField(v string) *IntOptions { - s.SourceField = &v - return s -} - // Options for a latlon field. A latlon field contains a location stored as // a latitude and longitude value pair. Present if IndexFieldType specifies // the field is of type latlon. All options are enabled by default. @@ -4439,42 +3599,6 @@ func (s *LatLonOptions) Validate() error { return nil } -// SetDefaultValue sets the DefaultValue field's value. -func (s *LatLonOptions) SetDefaultValue(v string) *LatLonOptions { - s.DefaultValue = &v - return s -} - -// SetFacetEnabled sets the FacetEnabled field's value. -func (s *LatLonOptions) SetFacetEnabled(v bool) *LatLonOptions { - s.FacetEnabled = &v - return s -} - -// SetReturnEnabled sets the ReturnEnabled field's value. -func (s *LatLonOptions) SetReturnEnabled(v bool) *LatLonOptions { - s.ReturnEnabled = &v - return s -} - -// SetSearchEnabled sets the SearchEnabled field's value. -func (s *LatLonOptions) SetSearchEnabled(v bool) *LatLonOptions { - s.SearchEnabled = &v - return s -} - -// SetSortEnabled sets the SortEnabled field's value. -func (s *LatLonOptions) SetSortEnabled(v bool) *LatLonOptions { - s.SortEnabled = &v - return s -} - -// SetSourceField sets the SourceField field's value. -func (s *LatLonOptions) SetSourceField(v string) *LatLonOptions { - s.SourceField = &v - return s -} - type Limits struct { _ struct{} `type:"structure"` @@ -4495,18 +3619,6 @@ func (s Limits) GoString() string { return s.String() } -// SetMaximumPartitionCount sets the MaximumPartitionCount field's value. -func (s *Limits) SetMaximumPartitionCount(v int64) *Limits { - s.MaximumPartitionCount = &v - return s -} - -// SetMaximumReplicationCount sets the MaximumReplicationCount field's value. -func (s *Limits) SetMaximumReplicationCount(v int64) *Limits { - s.MaximumReplicationCount = &v - return s -} - type ListDomainNamesInput struct { _ struct{} `type:"structure"` } @@ -4547,12 +3659,6 @@ func (s ListDomainNamesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDomainNames sets the DomainNames field's value. -func (s *ListDomainNamesOutput) SetDomainNames(v map[string]string) *ListDomainNamesOutput { - s.DomainNames = v - return s -} - // Options for a field that contains an array of literal strings. Present if // IndexFieldType specifies the field is of type literal-array. All options // are enabled by default. @@ -4585,36 +3691,6 @@ func (s LiteralArrayOptions) GoString() string { return s.String() } -// SetDefaultValue sets the DefaultValue field's value. -func (s *LiteralArrayOptions) SetDefaultValue(v string) *LiteralArrayOptions { - s.DefaultValue = &v - return s -} - -// SetFacetEnabled sets the FacetEnabled field's value. -func (s *LiteralArrayOptions) SetFacetEnabled(v bool) *LiteralArrayOptions { - s.FacetEnabled = &v - return s -} - -// SetReturnEnabled sets the ReturnEnabled field's value. -func (s *LiteralArrayOptions) SetReturnEnabled(v bool) *LiteralArrayOptions { - s.ReturnEnabled = &v - return s -} - -// SetSearchEnabled sets the SearchEnabled field's value. -func (s *LiteralArrayOptions) SetSearchEnabled(v bool) *LiteralArrayOptions { - s.SearchEnabled = &v - return s -} - -// SetSourceFields sets the SourceFields field's value. -func (s *LiteralArrayOptions) SetSourceFields(v string) *LiteralArrayOptions { - s.SourceFields = &v - return s -} - // Options for literal field. Present if IndexFieldType specifies the field // is of type literal. All options are enabled by default. type LiteralOptions struct { @@ -4675,42 +3751,6 @@ func (s *LiteralOptions) Validate() error { return nil } -// SetDefaultValue sets the DefaultValue field's value. -func (s *LiteralOptions) SetDefaultValue(v string) *LiteralOptions { - s.DefaultValue = &v - return s -} - -// SetFacetEnabled sets the FacetEnabled field's value. -func (s *LiteralOptions) SetFacetEnabled(v bool) *LiteralOptions { - s.FacetEnabled = &v - return s -} - -// SetReturnEnabled sets the ReturnEnabled field's value. -func (s *LiteralOptions) SetReturnEnabled(v bool) *LiteralOptions { - s.ReturnEnabled = &v - return s -} - -// SetSearchEnabled sets the SearchEnabled field's value. -func (s *LiteralOptions) SetSearchEnabled(v bool) *LiteralOptions { - s.SearchEnabled = &v - return s -} - -// SetSortEnabled sets the SortEnabled field's value. -func (s *LiteralOptions) SetSortEnabled(v bool) *LiteralOptions { - s.SortEnabled = &v - return s -} - -// SetSourceField sets the SourceField field's value. -func (s *LiteralOptions) SetSourceField(v string) *LiteralOptions { - s.SourceField = &v - return s -} - // The status of domain configuration option. type OptionStatus struct { _ struct{} `type:"structure"` @@ -4756,36 +3796,6 @@ func (s OptionStatus) GoString() string { return s.String() } -// SetCreationDate sets the CreationDate field's value. -func (s *OptionStatus) SetCreationDate(v time.Time) *OptionStatus { - s.CreationDate = &v - return s -} - -// SetPendingDeletion sets the PendingDeletion field's value. -func (s *OptionStatus) SetPendingDeletion(v bool) *OptionStatus { - s.PendingDeletion = &v - return s -} - -// SetState sets the State field's value. -func (s *OptionStatus) SetState(v OptionState) *OptionStatus { - s.State = v - return s -} - -// SetUpdateDate sets the UpdateDate field's value. -func (s *OptionStatus) SetUpdateDate(v time.Time) *OptionStatus { - s.UpdateDate = &v - return s -} - -// SetUpdateVersion sets the UpdateVersion field's value. -func (s *OptionStatus) SetUpdateVersion(v int64) *OptionStatus { - s.UpdateVersion = &v - return s -} - // The desired instance type and desired number of replicas of each index partition. type ScalingParameters struct { _ struct{} `type:"structure"` @@ -4812,24 +3822,6 @@ func (s ScalingParameters) GoString() string { return s.String() } -// SetDesiredInstanceType sets the DesiredInstanceType field's value. -func (s *ScalingParameters) SetDesiredInstanceType(v PartitionInstanceType) *ScalingParameters { - s.DesiredInstanceType = v - return s -} - -// SetDesiredPartitionCount sets the DesiredPartitionCount field's value. -func (s *ScalingParameters) SetDesiredPartitionCount(v int64) *ScalingParameters { - s.DesiredPartitionCount = &v - return s -} - -// SetDesiredReplicationCount sets the DesiredReplicationCount field's value. -func (s *ScalingParameters) SetDesiredReplicationCount(v int64) *ScalingParameters { - s.DesiredReplicationCount = &v - return s -} - // The status and configuration of a search domain's scaling parameters. type ScalingParametersStatus struct { _ struct{} `type:"structure"` @@ -4855,18 +3847,6 @@ func (s ScalingParametersStatus) GoString() string { return s.String() } -// SetOptions sets the Options field's value. -func (s *ScalingParametersStatus) SetOptions(v *ScalingParameters) *ScalingParametersStatus { - s.Options = v - return s -} - -// SetStatus sets the Status field's value. -func (s *ScalingParametersStatus) SetStatus(v *OptionStatus) *ScalingParametersStatus { - s.Status = v - return s -} - // The endpoint to which service requests can be submitted. type ServiceEndpoint struct { _ struct{} `type:"structure"` @@ -4886,12 +3866,6 @@ func (s ServiceEndpoint) GoString() string { return s.String() } -// SetEndpoint sets the Endpoint field's value. -func (s *ServiceEndpoint) SetEndpoint(v string) *ServiceEndpoint { - s.Endpoint = &v - return s -} - // Configuration information for a search suggester. Each suggester has a unique // name and specifies the text field you want to use for suggestions. The following // options can be configured for a suggester: FuzzyMatching, SortExpression. @@ -4946,18 +3920,6 @@ func (s *Suggester) Validate() error { return nil } -// SetDocumentSuggesterOptions sets the DocumentSuggesterOptions field's value. -func (s *Suggester) SetDocumentSuggesterOptions(v *DocumentSuggesterOptions) *Suggester { - s.DocumentSuggesterOptions = v - return s -} - -// SetSuggesterName sets the SuggesterName field's value. -func (s *Suggester) SetSuggesterName(v string) *Suggester { - s.SuggesterName = &v - return s -} - // The value of a Suggester and its current status. type SuggesterStatus struct { _ struct{} `type:"structure"` @@ -4985,18 +3947,6 @@ func (s SuggesterStatus) GoString() string { return s.String() } -// SetOptions sets the Options field's value. -func (s *SuggesterStatus) SetOptions(v *Suggester) *SuggesterStatus { - s.Options = v - return s -} - -// SetStatus sets the Status field's value. -func (s *SuggesterStatus) SetStatus(v *OptionStatus) *SuggesterStatus { - s.Status = v - return s -} - // Options for a field that contains an array of text strings. Present if IndexFieldType // specifies the field is of type text-array. A text-array field is always searchable. // All options are enabled by default. @@ -5029,36 +3979,6 @@ func (s TextArrayOptions) GoString() string { return s.String() } -// SetAnalysisScheme sets the AnalysisScheme field's value. -func (s *TextArrayOptions) SetAnalysisScheme(v string) *TextArrayOptions { - s.AnalysisScheme = &v - return s -} - -// SetDefaultValue sets the DefaultValue field's value. -func (s *TextArrayOptions) SetDefaultValue(v string) *TextArrayOptions { - s.DefaultValue = &v - return s -} - -// SetHighlightEnabled sets the HighlightEnabled field's value. -func (s *TextArrayOptions) SetHighlightEnabled(v bool) *TextArrayOptions { - s.HighlightEnabled = &v - return s -} - -// SetReturnEnabled sets the ReturnEnabled field's value. -func (s *TextArrayOptions) SetReturnEnabled(v bool) *TextArrayOptions { - s.ReturnEnabled = &v - return s -} - -// SetSourceFields sets the SourceFields field's value. -func (s *TextArrayOptions) SetSourceFields(v string) *TextArrayOptions { - s.SourceFields = &v - return s -} - // Options for text field. Present if IndexFieldType specifies the field is // of type text. A text field is always searchable. All options are enabled // by default. @@ -5120,42 +4040,6 @@ func (s *TextOptions) Validate() error { return nil } -// SetAnalysisScheme sets the AnalysisScheme field's value. -func (s *TextOptions) SetAnalysisScheme(v string) *TextOptions { - s.AnalysisScheme = &v - return s -} - -// SetDefaultValue sets the DefaultValue field's value. -func (s *TextOptions) SetDefaultValue(v string) *TextOptions { - s.DefaultValue = &v - return s -} - -// SetHighlightEnabled sets the HighlightEnabled field's value. -func (s *TextOptions) SetHighlightEnabled(v bool) *TextOptions { - s.HighlightEnabled = &v - return s -} - -// SetReturnEnabled sets the ReturnEnabled field's value. -func (s *TextOptions) SetReturnEnabled(v bool) *TextOptions { - s.ReturnEnabled = &v - return s -} - -// SetSortEnabled sets the SortEnabled field's value. -func (s *TextOptions) SetSortEnabled(v bool) *TextOptions { - s.SortEnabled = &v - return s -} - -// SetSourceField sets the SourceField field's value. -func (s *TextOptions) SetSourceField(v string) *TextOptions { - s.SourceField = &v - return s -} - // Container for the parameters to the UpdateAvailabilityOptions operation. // Specifies the name of the domain you want to update and the Multi-AZ availability // option. @@ -5210,18 +4094,6 @@ func (s *UpdateAvailabilityOptionsInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *UpdateAvailabilityOptionsInput) SetDomainName(v string) *UpdateAvailabilityOptionsInput { - s.DomainName = &v - return s -} - -// SetMultiAZ sets the MultiAZ field's value. -func (s *UpdateAvailabilityOptionsInput) SetMultiAZ(v bool) *UpdateAvailabilityOptionsInput { - s.MultiAZ = &v - return s -} - // The result of a UpdateAvailabilityOptions request. Contains the status of // the domain's availability options. type UpdateAvailabilityOptionsOutput struct { @@ -5249,12 +4121,6 @@ func (s UpdateAvailabilityOptionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAvailabilityOptions sets the AvailabilityOptions field's value. -func (s *UpdateAvailabilityOptionsOutput) SetAvailabilityOptions(v *AvailabilityOptionsStatus) *UpdateAvailabilityOptionsOutput { - s.AvailabilityOptions = v - return s -} - // Container for the parameters to the UpdateScalingParameters operation. Specifies // the name of the domain you want to update and the scaling parameters you // want to configure. @@ -5306,18 +4172,6 @@ func (s *UpdateScalingParametersInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *UpdateScalingParametersInput) SetDomainName(v string) *UpdateScalingParametersInput { - s.DomainName = &v - return s -} - -// SetScalingParameters sets the ScalingParameters field's value. -func (s *UpdateScalingParametersInput) SetScalingParameters(v *ScalingParameters) *UpdateScalingParametersInput { - s.ScalingParameters = v - return s -} - // The result of a UpdateScalingParameters request. Contains the status of the // newly-configured scaling parameters. type UpdateScalingParametersOutput struct { @@ -5346,12 +4200,6 @@ func (s UpdateScalingParametersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetScalingParameters sets the ScalingParameters field's value. -func (s *UpdateScalingParametersOutput) SetScalingParameters(v *ScalingParametersStatus) *UpdateScalingParametersOutput { - s.ScalingParameters = v - return s -} - // Container for the parameters to the UpdateServiceAccessPolicies operation. // Specifies the name of the domain you want to update and the access rules // you want to configure. @@ -5404,18 +4252,6 @@ func (s *UpdateServiceAccessPoliciesInput) Validate() error { return nil } -// SetAccessPolicies sets the AccessPolicies field's value. -func (s *UpdateServiceAccessPoliciesInput) SetAccessPolicies(v string) *UpdateServiceAccessPoliciesInput { - s.AccessPolicies = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *UpdateServiceAccessPoliciesInput) SetDomainName(v string) *UpdateServiceAccessPoliciesInput { - s.DomainName = &v - return s -} - // The result of an UpdateServiceAccessPolicies request. Contains the new access // policies. type UpdateServiceAccessPoliciesOutput struct { @@ -5444,12 +4280,6 @@ func (s UpdateServiceAccessPoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAccessPolicies sets the AccessPolicies field's value. -func (s *UpdateServiceAccessPoliciesOutput) SetAccessPolicies(v *AccessPoliciesStatus) *UpdateServiceAccessPoliciesOutput { - s.AccessPolicies = v - return s -} - type AlgorithmicStemming string // Enum values for AlgorithmicStemming diff --git a/service/cloudsearchdomain/api.go b/service/cloudsearchdomain/api.go index 1c7a90e575d..e22ce203a6a 100644 --- a/service/cloudsearchdomain/api.go +++ b/service/cloudsearchdomain/api.go @@ -228,18 +228,6 @@ func (s Bucket) GoString() string { return s.String() } -// SetCount sets the Count field's value. -func (s *Bucket) SetCount(v int64) *Bucket { - s.Count = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Bucket) SetValue(v string) *Bucket { - s.Value = &v - return s -} - // A container for the calculated facet values and counts. type BucketInfo struct { _ struct{} `type:"structure"` @@ -258,12 +246,6 @@ func (s BucketInfo) GoString() string { return s.String() } -// SetBuckets sets the Buckets field's value. -func (s *BucketInfo) SetBuckets(v []Bucket) *BucketInfo { - s.Buckets = v - return s -} - // A warning returned by the document service when an issue is discovered while // processing an upload request. type DocumentServiceWarning struct { @@ -283,12 +265,6 @@ func (s DocumentServiceWarning) GoString() string { return s.String() } -// SetMessage sets the Message field's value. -func (s *DocumentServiceWarning) SetMessage(v string) *DocumentServiceWarning { - s.Message = &v - return s -} - // The statistics for a field calculated in the request. type FieldStats struct { _ struct{} `type:"structure"` @@ -350,54 +326,6 @@ func (s FieldStats) GoString() string { return s.String() } -// SetCount sets the Count field's value. -func (s *FieldStats) SetCount(v int64) *FieldStats { - s.Count = &v - return s -} - -// SetMax sets the Max field's value. -func (s *FieldStats) SetMax(v string) *FieldStats { - s.Max = &v - return s -} - -// SetMean sets the Mean field's value. -func (s *FieldStats) SetMean(v string) *FieldStats { - s.Mean = &v - return s -} - -// SetMin sets the Min field's value. -func (s *FieldStats) SetMin(v string) *FieldStats { - s.Min = &v - return s -} - -// SetMissing sets the Missing field's value. -func (s *FieldStats) SetMissing(v int64) *FieldStats { - s.Missing = &v - return s -} - -// SetStddev sets the Stddev field's value. -func (s *FieldStats) SetStddev(v float64) *FieldStats { - s.Stddev = &v - return s -} - -// SetSum sets the Sum field's value. -func (s *FieldStats) SetSum(v float64) *FieldStats { - s.Sum = &v - return s -} - -// SetSumOfSquares sets the SumOfSquares field's value. -func (s *FieldStats) SetSumOfSquares(v float64) *FieldStats { - s.SumOfSquares = &v - return s -} - // Information about a document that matches the search request. type Hit struct { _ struct{} `type:"structure"` @@ -425,30 +353,6 @@ func (s Hit) GoString() string { return s.String() } -// SetExprs sets the Exprs field's value. -func (s *Hit) SetExprs(v map[string]string) *Hit { - s.Exprs = v - return s -} - -// SetFields sets the Fields field's value. -func (s *Hit) SetFields(v map[string][]string) *Hit { - s.Fields = v - return s -} - -// SetHighlights sets the Highlights field's value. -func (s *Hit) SetHighlights(v map[string]string) *Hit { - s.Highlights = v - return s -} - -// SetId sets the Id field's value. -func (s *Hit) SetId(v string) *Hit { - s.Id = &v - return s -} - // The collection of documents that match the search request. type Hits struct { _ struct{} `type:"structure"` @@ -477,30 +381,6 @@ func (s Hits) GoString() string { return s.String() } -// SetCursor sets the Cursor field's value. -func (s *Hits) SetCursor(v string) *Hits { - s.Cursor = &v - return s -} - -// SetFound sets the Found field's value. -func (s *Hits) SetFound(v int64) *Hits { - s.Found = &v - return s -} - -// SetHit sets the Hit field's value. -func (s *Hits) SetHit(v []Hit) *Hits { - s.Hit = v - return s -} - -// SetStart sets the Start field's value. -func (s *Hits) SetStart(v int64) *Hits { - s.Start = &v - return s -} - // Container for the parameters to the Search request. type SearchInput struct { _ struct{} `type:"structure"` @@ -829,90 +709,6 @@ func (s *SearchInput) Validate() error { return nil } -// SetCursor sets the Cursor field's value. -func (s *SearchInput) SetCursor(v string) *SearchInput { - s.Cursor = &v - return s -} - -// SetExpr sets the Expr field's value. -func (s *SearchInput) SetExpr(v string) *SearchInput { - s.Expr = &v - return s -} - -// SetFacet sets the Facet field's value. -func (s *SearchInput) SetFacet(v string) *SearchInput { - s.Facet = &v - return s -} - -// SetFilterQuery sets the FilterQuery field's value. -func (s *SearchInput) SetFilterQuery(v string) *SearchInput { - s.FilterQuery = &v - return s -} - -// SetHighlight sets the Highlight field's value. -func (s *SearchInput) SetHighlight(v string) *SearchInput { - s.Highlight = &v - return s -} - -// SetPartial sets the Partial field's value. -func (s *SearchInput) SetPartial(v bool) *SearchInput { - s.Partial = &v - return s -} - -// SetQuery sets the Query field's value. -func (s *SearchInput) SetQuery(v string) *SearchInput { - s.Query = &v - return s -} - -// SetQueryOptions sets the QueryOptions field's value. -func (s *SearchInput) SetQueryOptions(v string) *SearchInput { - s.QueryOptions = &v - return s -} - -// SetQueryParser sets the QueryParser field's value. -func (s *SearchInput) SetQueryParser(v QueryParser) *SearchInput { - s.QueryParser = v - return s -} - -// SetReturn sets the Return field's value. -func (s *SearchInput) SetReturn(v string) *SearchInput { - s.Return = &v - return s -} - -// SetSize sets the Size field's value. -func (s *SearchInput) SetSize(v int64) *SearchInput { - s.Size = &v - return s -} - -// SetSort sets the Sort field's value. -func (s *SearchInput) SetSort(v string) *SearchInput { - s.Sort = &v - return s -} - -// SetStart sets the Start field's value. -func (s *SearchInput) SetStart(v int64) *SearchInput { - s.Start = &v - return s -} - -// SetStats sets the Stats field's value. -func (s *SearchInput) SetStats(v string) *SearchInput { - s.Stats = &v - return s -} - // The result of a Search request. Contains the documents that match the specified // search criteria and any requested fields, highlights, and facet information. type SearchOutput struct { @@ -948,30 +744,6 @@ func (s SearchOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFacets sets the Facets field's value. -func (s *SearchOutput) SetFacets(v map[string]BucketInfo) *SearchOutput { - s.Facets = v - return s -} - -// SetHits sets the Hits field's value. -func (s *SearchOutput) SetHits(v *Hits) *SearchOutput { - s.Hits = v - return s -} - -// SetStats sets the Stats field's value. -func (s *SearchOutput) SetStats(v map[string]FieldStats) *SearchOutput { - s.Stats = v - return s -} - -// SetStatus sets the Status field's value. -func (s *SearchOutput) SetStatus(v *SearchStatus) *SearchOutput { - s.Status = v - return s -} - // Contains the resource id (rid) and the time it took to process the request // (timems). type SearchStatus struct { @@ -994,18 +766,6 @@ func (s SearchStatus) GoString() string { return s.String() } -// SetRid sets the Rid field's value. -func (s *SearchStatus) SetRid(v string) *SearchStatus { - s.Rid = &v - return s -} - -// SetTimems sets the Timems field's value. -func (s *SearchStatus) SetTimems(v int64) *SearchStatus { - s.Timems = &v - return s -} - // Container for the parameters to the Suggest request. type SuggestInput struct { _ struct{} `type:"structure"` @@ -1052,24 +812,6 @@ func (s *SuggestInput) Validate() error { return nil } -// SetQuery sets the Query field's value. -func (s *SuggestInput) SetQuery(v string) *SuggestInput { - s.Query = &v - return s -} - -// SetSize sets the Size field's value. -func (s *SuggestInput) SetSize(v int64) *SuggestInput { - s.Size = &v - return s -} - -// SetSuggester sets the Suggester field's value. -func (s *SuggestInput) SetSuggester(v string) *SuggestInput { - s.Suggester = &v - return s -} - // Container for the suggestion information returned in a SuggestResponse. type SuggestModel struct { _ struct{} `type:"structure"` @@ -1094,24 +836,6 @@ func (s SuggestModel) GoString() string { return s.String() } -// SetFound sets the Found field's value. -func (s *SuggestModel) SetFound(v int64) *SuggestModel { - s.Found = &v - return s -} - -// SetQuery sets the Query field's value. -func (s *SuggestModel) SetQuery(v string) *SuggestModel { - s.Query = &v - return s -} - -// SetSuggestions sets the Suggestions field's value. -func (s *SuggestModel) SetSuggestions(v []SuggestionMatch) *SuggestModel { - s.Suggestions = v - return s -} - // Contains the response to a Suggest request. type SuggestOutput struct { _ struct{} `type:"structure"` @@ -1141,18 +865,6 @@ func (s SuggestOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStatus sets the Status field's value. -func (s *SuggestOutput) SetStatus(v *SuggestStatus) *SuggestOutput { - s.Status = v - return s -} - -// SetSuggest sets the Suggest field's value. -func (s *SuggestOutput) SetSuggest(v *SuggestModel) *SuggestOutput { - s.Suggest = v - return s -} - // Contains the resource id (rid) and the time it took to process the request // (timems). type SuggestStatus struct { @@ -1175,18 +887,6 @@ func (s SuggestStatus) GoString() string { return s.String() } -// SetRid sets the Rid field's value. -func (s *SuggestStatus) SetRid(v string) *SuggestStatus { - s.Rid = &v - return s -} - -// SetTimems sets the Timems field's value. -func (s *SuggestStatus) SetTimems(v int64) *SuggestStatus { - s.Timems = &v - return s -} - // An autocomplete suggestion that matches the query string specified in a SuggestRequest. type SuggestionMatch struct { _ struct{} `type:"structure"` @@ -1211,24 +911,6 @@ func (s SuggestionMatch) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *SuggestionMatch) SetId(v string) *SuggestionMatch { - s.Id = &v - return s -} - -// SetScore sets the Score field's value. -func (s *SuggestionMatch) SetScore(v int64) *SuggestionMatch { - s.Score = &v - return s -} - -// SetSuggestion sets the Suggestion field's value. -func (s *SuggestionMatch) SetSuggestion(v string) *SuggestionMatch { - s.Suggestion = &v - return s -} - // Container for the parameters to the UploadDocuments request. type UploadDocumentsInput struct { _ struct{} `type:"structure" payload:"Documents"` @@ -1275,18 +957,6 @@ func (s *UploadDocumentsInput) Validate() error { return nil } -// SetContentType sets the ContentType field's value. -func (s *UploadDocumentsInput) SetContentType(v ContentType) *UploadDocumentsInput { - s.ContentType = v - return s -} - -// SetDocuments sets the Documents field's value. -func (s *UploadDocumentsInput) SetDocuments(v io.ReadSeeker) *UploadDocumentsInput { - s.Documents = v - return s -} - // Contains the response to an UploadDocuments request. type UploadDocumentsOutput struct { _ struct{} `type:"structure"` @@ -1321,30 +991,6 @@ func (s UploadDocumentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAdds sets the Adds field's value. -func (s *UploadDocumentsOutput) SetAdds(v int64) *UploadDocumentsOutput { - s.Adds = &v - return s -} - -// SetDeletes sets the Deletes field's value. -func (s *UploadDocumentsOutput) SetDeletes(v int64) *UploadDocumentsOutput { - s.Deletes = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *UploadDocumentsOutput) SetStatus(v string) *UploadDocumentsOutput { - s.Status = &v - return s -} - -// SetWarnings sets the Warnings field's value. -func (s *UploadDocumentsOutput) SetWarnings(v []DocumentServiceWarning) *UploadDocumentsOutput { - s.Warnings = v - return s -} - type ContentType string // Enum values for ContentType diff --git a/service/cloudtrail/api.go b/service/cloudtrail/api.go index 9c7ea8b5d5d..f33b5bbad26 100644 --- a/service/cloudtrail/api.go +++ b/service/cloudtrail/api.go @@ -900,18 +900,6 @@ func (s *AddTagsInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *AddTagsInput) SetResourceId(v string) *AddTagsInput { - s.ResourceId = &v - return s -} - -// SetTagsList sets the TagsList field's value. -func (s *AddTagsInput) SetTagsList(v []Tag) *AddTagsInput { - s.TagsList = v - return s -} - // Returns the objects or data listed below if successful. Otherwise, returns // an error. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTagsResponse @@ -1048,66 +1036,6 @@ func (s *CreateTrailInput) Validate() error { return nil } -// SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value. -func (s *CreateTrailInput) SetCloudWatchLogsLogGroupArn(v string) *CreateTrailInput { - s.CloudWatchLogsLogGroupArn = &v - return s -} - -// SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value. -func (s *CreateTrailInput) SetCloudWatchLogsRoleArn(v string) *CreateTrailInput { - s.CloudWatchLogsRoleArn = &v - return s -} - -// SetEnableLogFileValidation sets the EnableLogFileValidation field's value. -func (s *CreateTrailInput) SetEnableLogFileValidation(v bool) *CreateTrailInput { - s.EnableLogFileValidation = &v - return s -} - -// SetIncludeGlobalServiceEvents sets the IncludeGlobalServiceEvents field's value. -func (s *CreateTrailInput) SetIncludeGlobalServiceEvents(v bool) *CreateTrailInput { - s.IncludeGlobalServiceEvents = &v - return s -} - -// SetIsMultiRegionTrail sets the IsMultiRegionTrail field's value. -func (s *CreateTrailInput) SetIsMultiRegionTrail(v bool) *CreateTrailInput { - s.IsMultiRegionTrail = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CreateTrailInput) SetKmsKeyId(v string) *CreateTrailInput { - s.KmsKeyId = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateTrailInput) SetName(v string) *CreateTrailInput { - s.Name = &v - return s -} - -// SetS3BucketName sets the S3BucketName field's value. -func (s *CreateTrailInput) SetS3BucketName(v string) *CreateTrailInput { - s.S3BucketName = &v - return s -} - -// SetS3KeyPrefix sets the S3KeyPrefix field's value. -func (s *CreateTrailInput) SetS3KeyPrefix(v string) *CreateTrailInput { - s.S3KeyPrefix = &v - return s -} - -// SetSnsTopicName sets the SnsTopicName field's value. -func (s *CreateTrailInput) SetSnsTopicName(v string) *CreateTrailInput { - s.SnsTopicName = &v - return s -} - // Returns the objects or data listed below if successful. Otherwise, returns // an error. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrailResponse @@ -1183,78 +1111,6 @@ func (s CreateTrailOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value. -func (s *CreateTrailOutput) SetCloudWatchLogsLogGroupArn(v string) *CreateTrailOutput { - s.CloudWatchLogsLogGroupArn = &v - return s -} - -// SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value. -func (s *CreateTrailOutput) SetCloudWatchLogsRoleArn(v string) *CreateTrailOutput { - s.CloudWatchLogsRoleArn = &v - return s -} - -// SetIncludeGlobalServiceEvents sets the IncludeGlobalServiceEvents field's value. -func (s *CreateTrailOutput) SetIncludeGlobalServiceEvents(v bool) *CreateTrailOutput { - s.IncludeGlobalServiceEvents = &v - return s -} - -// SetIsMultiRegionTrail sets the IsMultiRegionTrail field's value. -func (s *CreateTrailOutput) SetIsMultiRegionTrail(v bool) *CreateTrailOutput { - s.IsMultiRegionTrail = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CreateTrailOutput) SetKmsKeyId(v string) *CreateTrailOutput { - s.KmsKeyId = &v - return s -} - -// SetLogFileValidationEnabled sets the LogFileValidationEnabled field's value. -func (s *CreateTrailOutput) SetLogFileValidationEnabled(v bool) *CreateTrailOutput { - s.LogFileValidationEnabled = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateTrailOutput) SetName(v string) *CreateTrailOutput { - s.Name = &v - return s -} - -// SetS3BucketName sets the S3BucketName field's value. -func (s *CreateTrailOutput) SetS3BucketName(v string) *CreateTrailOutput { - s.S3BucketName = &v - return s -} - -// SetS3KeyPrefix sets the S3KeyPrefix field's value. -func (s *CreateTrailOutput) SetS3KeyPrefix(v string) *CreateTrailOutput { - s.S3KeyPrefix = &v - return s -} - -// SetSnsTopicARN sets the SnsTopicARN field's value. -func (s *CreateTrailOutput) SetSnsTopicARN(v string) *CreateTrailOutput { - s.SnsTopicARN = &v - return s -} - -// SetSnsTopicName sets the SnsTopicName field's value. -func (s *CreateTrailOutput) SetSnsTopicName(v string) *CreateTrailOutput { - s.SnsTopicName = &v - return s -} - -// SetTrailARN sets the TrailARN field's value. -func (s *CreateTrailOutput) SetTrailARN(v string) *CreateTrailOutput { - s.TrailARN = &v - return s -} - // The Amazon S3 objects that you specify in your event selectors for your trail // to log data events. Data events are object-level API operations that access // S3 objects, such as GetObject, DeleteObject, and PutObject. You can specify @@ -1304,18 +1160,6 @@ func (s DataResource) GoString() string { return s.String() } -// SetType sets the Type field's value. -func (s *DataResource) SetType(v string) *DataResource { - s.Type = &v - return s -} - -// SetValues sets the Values field's value. -func (s *DataResource) SetValues(v []string) *DataResource { - s.Values = v - return s -} - // The request that specifies the name of a trail to delete. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrailRequest type DeleteTrailInput struct { @@ -1352,12 +1196,6 @@ func (s *DeleteTrailInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteTrailInput) SetName(v string) *DeleteTrailInput { - s.Name = &v - return s -} - // Returns the objects or data listed below if successful. Otherwise, returns // an error. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrailResponse @@ -1424,18 +1262,6 @@ func (s DescribeTrailsInput) GoString() string { return s.String() } -// SetIncludeShadowTrails sets the IncludeShadowTrails field's value. -func (s *DescribeTrailsInput) SetIncludeShadowTrails(v bool) *DescribeTrailsInput { - s.IncludeShadowTrails = &v - return s -} - -// SetTrailNameList sets the TrailNameList field's value. -func (s *DescribeTrailsInput) SetTrailNameList(v []string) *DescribeTrailsInput { - s.TrailNameList = v - return s -} - // Returns the objects or data listed below if successful. Otherwise, returns // an error. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrailsResponse @@ -1463,12 +1289,6 @@ func (s DescribeTrailsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTrailList sets the TrailList field's value. -func (s *DescribeTrailsOutput) SetTrailList(v []Trail) *DescribeTrailsOutput { - s.TrailList = v - return s -} - // Contains information about an event that was returned by a lookup request. // The result includes a representation of a CloudTrail event. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Event @@ -1508,48 +1328,6 @@ func (s Event) GoString() string { return s.String() } -// SetCloudTrailEvent sets the CloudTrailEvent field's value. -func (s *Event) SetCloudTrailEvent(v string) *Event { - s.CloudTrailEvent = &v - return s -} - -// SetEventId sets the EventId field's value. -func (s *Event) SetEventId(v string) *Event { - s.EventId = &v - return s -} - -// SetEventName sets the EventName field's value. -func (s *Event) SetEventName(v string) *Event { - s.EventName = &v - return s -} - -// SetEventSource sets the EventSource field's value. -func (s *Event) SetEventSource(v string) *Event { - s.EventSource = &v - return s -} - -// SetEventTime sets the EventTime field's value. -func (s *Event) SetEventTime(v time.Time) *Event { - s.EventTime = &v - return s -} - -// SetResources sets the Resources field's value. -func (s *Event) SetResources(v []Resource) *Event { - s.Resources = v - return s -} - -// SetUsername sets the Username field's value. -func (s *Event) SetUsername(v string) *Event { - s.Username = &v - return s -} - // Use event selectors to specify whether you want your trail to log management // and/or data events. When an event occurs in your account, CloudTrail evaluates // the event selector for all trails. For each trail, if the event matches any @@ -1595,24 +1373,6 @@ func (s EventSelector) GoString() string { return s.String() } -// SetDataResources sets the DataResources field's value. -func (s *EventSelector) SetDataResources(v []DataResource) *EventSelector { - s.DataResources = v - return s -} - -// SetIncludeManagementEvents sets the IncludeManagementEvents field's value. -func (s *EventSelector) SetIncludeManagementEvents(v bool) *EventSelector { - s.IncludeManagementEvents = &v - return s -} - -// SetReadWriteType sets the ReadWriteType field's value. -func (s *EventSelector) SetReadWriteType(v ReadWriteType) *EventSelector { - s.ReadWriteType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectorsRequest type GetEventSelectorsInput struct { _ struct{} `type:"structure"` @@ -1664,12 +1424,6 @@ func (s *GetEventSelectorsInput) Validate() error { return nil } -// SetTrailName sets the TrailName field's value. -func (s *GetEventSelectorsInput) SetTrailName(v string) *GetEventSelectorsInput { - s.TrailName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectorsResponse type GetEventSelectorsOutput struct { _ struct{} `type:"structure"` @@ -1698,18 +1452,6 @@ func (s GetEventSelectorsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventSelectors sets the EventSelectors field's value. -func (s *GetEventSelectorsOutput) SetEventSelectors(v []EventSelector) *GetEventSelectorsOutput { - s.EventSelectors = v - return s -} - -// SetTrailARN sets the TrailARN field's value. -func (s *GetEventSelectorsOutput) SetTrailARN(v string) *GetEventSelectorsOutput { - s.TrailARN = &v - return s -} - // The name of a trail about which you want the current status. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatusRequest type GetTrailStatusInput struct { @@ -1749,12 +1491,6 @@ func (s *GetTrailStatusInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *GetTrailStatusInput) SetName(v string) *GetTrailStatusInput { - s.Name = &v - return s -} - // Returns the objects or data listed below if successful. Otherwise, returns // an error. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatusResponse @@ -1855,108 +1591,6 @@ func (s GetTrailStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIsLogging sets the IsLogging field's value. -func (s *GetTrailStatusOutput) SetIsLogging(v bool) *GetTrailStatusOutput { - s.IsLogging = &v - return s -} - -// SetLatestCloudWatchLogsDeliveryError sets the LatestCloudWatchLogsDeliveryError field's value. -func (s *GetTrailStatusOutput) SetLatestCloudWatchLogsDeliveryError(v string) *GetTrailStatusOutput { - s.LatestCloudWatchLogsDeliveryError = &v - return s -} - -// SetLatestCloudWatchLogsDeliveryTime sets the LatestCloudWatchLogsDeliveryTime field's value. -func (s *GetTrailStatusOutput) SetLatestCloudWatchLogsDeliveryTime(v time.Time) *GetTrailStatusOutput { - s.LatestCloudWatchLogsDeliveryTime = &v - return s -} - -// SetLatestDeliveryAttemptSucceeded sets the LatestDeliveryAttemptSucceeded field's value. -func (s *GetTrailStatusOutput) SetLatestDeliveryAttemptSucceeded(v string) *GetTrailStatusOutput { - s.LatestDeliveryAttemptSucceeded = &v - return s -} - -// SetLatestDeliveryAttemptTime sets the LatestDeliveryAttemptTime field's value. -func (s *GetTrailStatusOutput) SetLatestDeliveryAttemptTime(v string) *GetTrailStatusOutput { - s.LatestDeliveryAttemptTime = &v - return s -} - -// SetLatestDeliveryError sets the LatestDeliveryError field's value. -func (s *GetTrailStatusOutput) SetLatestDeliveryError(v string) *GetTrailStatusOutput { - s.LatestDeliveryError = &v - return s -} - -// SetLatestDeliveryTime sets the LatestDeliveryTime field's value. -func (s *GetTrailStatusOutput) SetLatestDeliveryTime(v time.Time) *GetTrailStatusOutput { - s.LatestDeliveryTime = &v - return s -} - -// SetLatestDigestDeliveryError sets the LatestDigestDeliveryError field's value. -func (s *GetTrailStatusOutput) SetLatestDigestDeliveryError(v string) *GetTrailStatusOutput { - s.LatestDigestDeliveryError = &v - return s -} - -// SetLatestDigestDeliveryTime sets the LatestDigestDeliveryTime field's value. -func (s *GetTrailStatusOutput) SetLatestDigestDeliveryTime(v time.Time) *GetTrailStatusOutput { - s.LatestDigestDeliveryTime = &v - return s -} - -// SetLatestNotificationAttemptSucceeded sets the LatestNotificationAttemptSucceeded field's value. -func (s *GetTrailStatusOutput) SetLatestNotificationAttemptSucceeded(v string) *GetTrailStatusOutput { - s.LatestNotificationAttemptSucceeded = &v - return s -} - -// SetLatestNotificationAttemptTime sets the LatestNotificationAttemptTime field's value. -func (s *GetTrailStatusOutput) SetLatestNotificationAttemptTime(v string) *GetTrailStatusOutput { - s.LatestNotificationAttemptTime = &v - return s -} - -// SetLatestNotificationError sets the LatestNotificationError field's value. -func (s *GetTrailStatusOutput) SetLatestNotificationError(v string) *GetTrailStatusOutput { - s.LatestNotificationError = &v - return s -} - -// SetLatestNotificationTime sets the LatestNotificationTime field's value. -func (s *GetTrailStatusOutput) SetLatestNotificationTime(v time.Time) *GetTrailStatusOutput { - s.LatestNotificationTime = &v - return s -} - -// SetStartLoggingTime sets the StartLoggingTime field's value. -func (s *GetTrailStatusOutput) SetStartLoggingTime(v time.Time) *GetTrailStatusOutput { - s.StartLoggingTime = &v - return s -} - -// SetStopLoggingTime sets the StopLoggingTime field's value. -func (s *GetTrailStatusOutput) SetStopLoggingTime(v time.Time) *GetTrailStatusOutput { - s.StopLoggingTime = &v - return s -} - -// SetTimeLoggingStarted sets the TimeLoggingStarted field's value. -func (s *GetTrailStatusOutput) SetTimeLoggingStarted(v string) *GetTrailStatusOutput { - s.TimeLoggingStarted = &v - return s -} - -// SetTimeLoggingStopped sets the TimeLoggingStopped field's value. -func (s *GetTrailStatusOutput) SetTimeLoggingStopped(v string) *GetTrailStatusOutput { - s.TimeLoggingStopped = &v - return s -} - // Requests the public keys for a specified time range. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeysRequest type ListPublicKeysInput struct { @@ -1985,24 +1619,6 @@ func (s ListPublicKeysInput) GoString() string { return s.String() } -// SetEndTime sets the EndTime field's value. -func (s *ListPublicKeysInput) SetEndTime(v time.Time) *ListPublicKeysInput { - s.EndTime = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListPublicKeysInput) SetNextToken(v string) *ListPublicKeysInput { - s.NextToken = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *ListPublicKeysInput) SetStartTime(v time.Time) *ListPublicKeysInput { - s.StartTime = &v - return s -} - // Returns the objects or data listed below if successful. Otherwise, returns // an error. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeysResponse @@ -2035,18 +1651,6 @@ func (s ListPublicKeysOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListPublicKeysOutput) SetNextToken(v string) *ListPublicKeysOutput { - s.NextToken = &v - return s -} - -// SetPublicKeyList sets the PublicKeyList field's value. -func (s *ListPublicKeysOutput) SetPublicKeyList(v []PublicKey) *ListPublicKeysOutput { - s.PublicKeyList = v - return s -} - // Specifies a list of trail tags to return. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTagsRequest type ListTagsInput struct { @@ -2088,18 +1692,6 @@ func (s *ListTagsInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *ListTagsInput) SetNextToken(v string) *ListTagsInput { - s.NextToken = &v - return s -} - -// SetResourceIdList sets the ResourceIdList field's value. -func (s *ListTagsInput) SetResourceIdList(v []string) *ListTagsInput { - s.ResourceIdList = v - return s -} - // Returns the objects or data listed below if successful. Otherwise, returns // an error. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTagsResponse @@ -2130,18 +1722,6 @@ func (s ListTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTagsOutput) SetNextToken(v string) *ListTagsOutput { - s.NextToken = &v - return s -} - -// SetResourceTagList sets the ResourceTagList field's value. -func (s *ListTagsOutput) SetResourceTagList(v []ResourceTag) *ListTagsOutput { - s.ResourceTagList = v - return s -} - // Specifies an attribute and value that filter the events returned. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupAttribute type LookupAttribute struct { @@ -2185,18 +1765,6 @@ func (s *LookupAttribute) Validate() error { return nil } -// SetAttributeKey sets the AttributeKey field's value. -func (s *LookupAttribute) SetAttributeKey(v LookupAttributeKey) *LookupAttribute { - s.AttributeKey = v - return s -} - -// SetAttributeValue sets the AttributeValue field's value. -func (s *LookupAttribute) SetAttributeValue(v string) *LookupAttribute { - s.AttributeValue = &v - return s -} - // Contains a request for LookupEvents. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEventsRequest type LookupEventsInput struct { @@ -2258,36 +1826,6 @@ func (s *LookupEventsInput) Validate() error { return nil } -// SetEndTime sets the EndTime field's value. -func (s *LookupEventsInput) SetEndTime(v time.Time) *LookupEventsInput { - s.EndTime = &v - return s -} - -// SetLookupAttributes sets the LookupAttributes field's value. -func (s *LookupEventsInput) SetLookupAttributes(v []LookupAttribute) *LookupEventsInput { - s.LookupAttributes = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *LookupEventsInput) SetMaxResults(v int64) *LookupEventsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *LookupEventsInput) SetNextToken(v string) *LookupEventsInput { - s.NextToken = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *LookupEventsInput) SetStartTime(v time.Time) *LookupEventsInput { - s.StartTime = &v - return s -} - // Contains a response to a LookupEvents action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEventsResponse type LookupEventsOutput struct { @@ -2323,18 +1861,6 @@ func (s LookupEventsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEvents sets the Events field's value. -func (s *LookupEventsOutput) SetEvents(v []Event) *LookupEventsOutput { - s.Events = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *LookupEventsOutput) SetNextToken(v string) *LookupEventsOutput { - s.NextToken = &v - return s -} - // Contains information about a returned public key. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PublicKey type PublicKey struct { @@ -2365,30 +1891,6 @@ func (s PublicKey) GoString() string { return s.String() } -// SetFingerprint sets the Fingerprint field's value. -func (s *PublicKey) SetFingerprint(v string) *PublicKey { - s.Fingerprint = &v - return s -} - -// SetValidityEndTime sets the ValidityEndTime field's value. -func (s *PublicKey) SetValidityEndTime(v time.Time) *PublicKey { - s.ValidityEndTime = &v - return s -} - -// SetValidityStartTime sets the ValidityStartTime field's value. -func (s *PublicKey) SetValidityStartTime(v time.Time) *PublicKey { - s.ValidityStartTime = &v - return s -} - -// SetValue sets the Value field's value. -func (s *PublicKey) SetValue(v []byte) *PublicKey { - s.Value = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectorsRequest type PutEventSelectorsInput struct { _ struct{} `type:"structure"` @@ -2450,18 +1952,6 @@ func (s *PutEventSelectorsInput) Validate() error { return nil } -// SetEventSelectors sets the EventSelectors field's value. -func (s *PutEventSelectorsInput) SetEventSelectors(v []EventSelector) *PutEventSelectorsInput { - s.EventSelectors = v - return s -} - -// SetTrailName sets the TrailName field's value. -func (s *PutEventSelectorsInput) SetTrailName(v string) *PutEventSelectorsInput { - s.TrailName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectorsResponse type PutEventSelectorsOutput struct { _ struct{} `type:"structure"` @@ -2493,18 +1983,6 @@ func (s PutEventSelectorsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventSelectors sets the EventSelectors field's value. -func (s *PutEventSelectorsOutput) SetEventSelectors(v []EventSelector) *PutEventSelectorsOutput { - s.EventSelectors = v - return s -} - -// SetTrailARN sets the TrailARN field's value. -func (s *PutEventSelectorsOutput) SetTrailARN(v string) *PutEventSelectorsOutput { - s.TrailARN = &v - return s -} - // Specifies the tags to remove from a trail. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTagsRequest type RemoveTagsInput struct { @@ -2553,18 +2031,6 @@ func (s *RemoveTagsInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *RemoveTagsInput) SetResourceId(v string) *RemoveTagsInput { - s.ResourceId = &v - return s -} - -// SetTagsList sets the TagsList field's value. -func (s *RemoveTagsInput) SetTagsList(v []Tag) *RemoveTagsInput { - s.TagsList = v - return s -} - // Returns the objects or data listed below if successful. Otherwise, returns // an error. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTagsResponse @@ -2618,18 +2084,6 @@ func (s Resource) GoString() string { return s.String() } -// SetResourceName sets the ResourceName field's value. -func (s *Resource) SetResourceName(v string) *Resource { - s.ResourceName = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *Resource) SetResourceType(v string) *Resource { - s.ResourceType = &v - return s -} - // A resource tag. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ResourceTag type ResourceTag struct { @@ -2652,18 +2106,6 @@ func (s ResourceTag) GoString() string { return s.String() } -// SetResourceId sets the ResourceId field's value. -func (s *ResourceTag) SetResourceId(v string) *ResourceTag { - s.ResourceId = &v - return s -} - -// SetTagsList sets the TagsList field's value. -func (s *ResourceTag) SetTagsList(v []Tag) *ResourceTag { - s.TagsList = v - return s -} - // The request to CloudTrail to start logging AWS API calls for an account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLoggingRequest type StartLoggingInput struct { @@ -2702,12 +2144,6 @@ func (s *StartLoggingInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *StartLoggingInput) SetName(v string) *StartLoggingInput { - s.Name = &v - return s -} - // Returns the objects or data listed below if successful. Otherwise, returns // an error. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLoggingResponse @@ -2771,12 +2207,6 @@ func (s *StopLoggingInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *StopLoggingInput) SetName(v string) *StopLoggingInput { - s.Name = &v - return s -} - // Returns the objects or data listed below if successful. Otherwise, returns // an error. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopLoggingResponse @@ -2841,18 +2271,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // The settings for a trail. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/Trail type Trail struct { @@ -2926,90 +2344,6 @@ func (s Trail) GoString() string { return s.String() } -// SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value. -func (s *Trail) SetCloudWatchLogsLogGroupArn(v string) *Trail { - s.CloudWatchLogsLogGroupArn = &v - return s -} - -// SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value. -func (s *Trail) SetCloudWatchLogsRoleArn(v string) *Trail { - s.CloudWatchLogsRoleArn = &v - return s -} - -// SetHasCustomEventSelectors sets the HasCustomEventSelectors field's value. -func (s *Trail) SetHasCustomEventSelectors(v bool) *Trail { - s.HasCustomEventSelectors = &v - return s -} - -// SetHomeRegion sets the HomeRegion field's value. -func (s *Trail) SetHomeRegion(v string) *Trail { - s.HomeRegion = &v - return s -} - -// SetIncludeGlobalServiceEvents sets the IncludeGlobalServiceEvents field's value. -func (s *Trail) SetIncludeGlobalServiceEvents(v bool) *Trail { - s.IncludeGlobalServiceEvents = &v - return s -} - -// SetIsMultiRegionTrail sets the IsMultiRegionTrail field's value. -func (s *Trail) SetIsMultiRegionTrail(v bool) *Trail { - s.IsMultiRegionTrail = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *Trail) SetKmsKeyId(v string) *Trail { - s.KmsKeyId = &v - return s -} - -// SetLogFileValidationEnabled sets the LogFileValidationEnabled field's value. -func (s *Trail) SetLogFileValidationEnabled(v bool) *Trail { - s.LogFileValidationEnabled = &v - return s -} - -// SetName sets the Name field's value. -func (s *Trail) SetName(v string) *Trail { - s.Name = &v - return s -} - -// SetS3BucketName sets the S3BucketName field's value. -func (s *Trail) SetS3BucketName(v string) *Trail { - s.S3BucketName = &v - return s -} - -// SetS3KeyPrefix sets the S3KeyPrefix field's value. -func (s *Trail) SetS3KeyPrefix(v string) *Trail { - s.S3KeyPrefix = &v - return s -} - -// SetSnsTopicARN sets the SnsTopicARN field's value. -func (s *Trail) SetSnsTopicARN(v string) *Trail { - s.SnsTopicARN = &v - return s -} - -// SetSnsTopicName sets the SnsTopicName field's value. -func (s *Trail) SetSnsTopicName(v string) *Trail { - s.SnsTopicName = &v - return s -} - -// SetTrailARN sets the TrailARN field's value. -func (s *Trail) SetTrailARN(v string) *Trail { - s.TrailARN = &v - return s -} - // Specifies settings to update for the trail. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrailRequest type UpdateTrailInput struct { @@ -3124,66 +2458,6 @@ func (s *UpdateTrailInput) Validate() error { return nil } -// SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value. -func (s *UpdateTrailInput) SetCloudWatchLogsLogGroupArn(v string) *UpdateTrailInput { - s.CloudWatchLogsLogGroupArn = &v - return s -} - -// SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value. -func (s *UpdateTrailInput) SetCloudWatchLogsRoleArn(v string) *UpdateTrailInput { - s.CloudWatchLogsRoleArn = &v - return s -} - -// SetEnableLogFileValidation sets the EnableLogFileValidation field's value. -func (s *UpdateTrailInput) SetEnableLogFileValidation(v bool) *UpdateTrailInput { - s.EnableLogFileValidation = &v - return s -} - -// SetIncludeGlobalServiceEvents sets the IncludeGlobalServiceEvents field's value. -func (s *UpdateTrailInput) SetIncludeGlobalServiceEvents(v bool) *UpdateTrailInput { - s.IncludeGlobalServiceEvents = &v - return s -} - -// SetIsMultiRegionTrail sets the IsMultiRegionTrail field's value. -func (s *UpdateTrailInput) SetIsMultiRegionTrail(v bool) *UpdateTrailInput { - s.IsMultiRegionTrail = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *UpdateTrailInput) SetKmsKeyId(v string) *UpdateTrailInput { - s.KmsKeyId = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateTrailInput) SetName(v string) *UpdateTrailInput { - s.Name = &v - return s -} - -// SetS3BucketName sets the S3BucketName field's value. -func (s *UpdateTrailInput) SetS3BucketName(v string) *UpdateTrailInput { - s.S3BucketName = &v - return s -} - -// SetS3KeyPrefix sets the S3KeyPrefix field's value. -func (s *UpdateTrailInput) SetS3KeyPrefix(v string) *UpdateTrailInput { - s.S3KeyPrefix = &v - return s -} - -// SetSnsTopicName sets the SnsTopicName field's value. -func (s *UpdateTrailInput) SetSnsTopicName(v string) *UpdateTrailInput { - s.SnsTopicName = &v - return s -} - // Returns the objects or data listed below if successful. Otherwise, returns // an error. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrailResponse @@ -3259,78 +2533,6 @@ func (s UpdateTrailOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value. -func (s *UpdateTrailOutput) SetCloudWatchLogsLogGroupArn(v string) *UpdateTrailOutput { - s.CloudWatchLogsLogGroupArn = &v - return s -} - -// SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value. -func (s *UpdateTrailOutput) SetCloudWatchLogsRoleArn(v string) *UpdateTrailOutput { - s.CloudWatchLogsRoleArn = &v - return s -} - -// SetIncludeGlobalServiceEvents sets the IncludeGlobalServiceEvents field's value. -func (s *UpdateTrailOutput) SetIncludeGlobalServiceEvents(v bool) *UpdateTrailOutput { - s.IncludeGlobalServiceEvents = &v - return s -} - -// SetIsMultiRegionTrail sets the IsMultiRegionTrail field's value. -func (s *UpdateTrailOutput) SetIsMultiRegionTrail(v bool) *UpdateTrailOutput { - s.IsMultiRegionTrail = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *UpdateTrailOutput) SetKmsKeyId(v string) *UpdateTrailOutput { - s.KmsKeyId = &v - return s -} - -// SetLogFileValidationEnabled sets the LogFileValidationEnabled field's value. -func (s *UpdateTrailOutput) SetLogFileValidationEnabled(v bool) *UpdateTrailOutput { - s.LogFileValidationEnabled = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateTrailOutput) SetName(v string) *UpdateTrailOutput { - s.Name = &v - return s -} - -// SetS3BucketName sets the S3BucketName field's value. -func (s *UpdateTrailOutput) SetS3BucketName(v string) *UpdateTrailOutput { - s.S3BucketName = &v - return s -} - -// SetS3KeyPrefix sets the S3KeyPrefix field's value. -func (s *UpdateTrailOutput) SetS3KeyPrefix(v string) *UpdateTrailOutput { - s.S3KeyPrefix = &v - return s -} - -// SetSnsTopicARN sets the SnsTopicARN field's value. -func (s *UpdateTrailOutput) SetSnsTopicARN(v string) *UpdateTrailOutput { - s.SnsTopicARN = &v - return s -} - -// SetSnsTopicName sets the SnsTopicName field's value. -func (s *UpdateTrailOutput) SetSnsTopicName(v string) *UpdateTrailOutput { - s.SnsTopicName = &v - return s -} - -// SetTrailARN sets the TrailARN field's value. -func (s *UpdateTrailOutput) SetTrailARN(v string) *UpdateTrailOutput { - s.TrailARN = &v - return s -} - type LookupAttributeKey string // Enum values for LookupAttributeKey diff --git a/service/cloudwatch/api.go b/service/cloudwatch/api.go index b350cdd6180..ada3ea63df6 100644 --- a/service/cloudwatch/api.go +++ b/service/cloudwatch/api.go @@ -1125,36 +1125,6 @@ func (s AlarmHistoryItem) GoString() string { return s.String() } -// SetAlarmName sets the AlarmName field's value. -func (s *AlarmHistoryItem) SetAlarmName(v string) *AlarmHistoryItem { - s.AlarmName = &v - return s -} - -// SetHistoryData sets the HistoryData field's value. -func (s *AlarmHistoryItem) SetHistoryData(v string) *AlarmHistoryItem { - s.HistoryData = &v - return s -} - -// SetHistoryItemType sets the HistoryItemType field's value. -func (s *AlarmHistoryItem) SetHistoryItemType(v HistoryItemType) *AlarmHistoryItem { - s.HistoryItemType = v - return s -} - -// SetHistorySummary sets the HistorySummary field's value. -func (s *AlarmHistoryItem) SetHistorySummary(v string) *AlarmHistoryItem { - s.HistorySummary = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *AlarmHistoryItem) SetTimestamp(v time.Time) *AlarmHistoryItem { - s.Timestamp = &v - return s -} - // Represents a specific dashboard. // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DashboardEntry type DashboardEntry struct { @@ -1185,30 +1155,6 @@ func (s DashboardEntry) GoString() string { return s.String() } -// SetDashboardArn sets the DashboardArn field's value. -func (s *DashboardEntry) SetDashboardArn(v string) *DashboardEntry { - s.DashboardArn = &v - return s -} - -// SetDashboardName sets the DashboardName field's value. -func (s *DashboardEntry) SetDashboardName(v string) *DashboardEntry { - s.DashboardName = &v - return s -} - -// SetLastModified sets the LastModified field's value. -func (s *DashboardEntry) SetLastModified(v time.Time) *DashboardEntry { - s.LastModified = &v - return s -} - -// SetSize sets the Size field's value. -func (s *DashboardEntry) SetSize(v int64) *DashboardEntry { - s.Size = &v - return s -} - // An error or warning for the operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DashboardValidationMessage type DashboardValidationMessage struct { @@ -1231,18 +1177,6 @@ func (s DashboardValidationMessage) GoString() string { return s.String() } -// SetDataPath sets the DataPath field's value. -func (s *DashboardValidationMessage) SetDataPath(v string) *DashboardValidationMessage { - s.DataPath = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *DashboardValidationMessage) SetMessage(v string) *DashboardValidationMessage { - s.Message = &v - return s -} - // Encapsulates the statistical data that CloudWatch computes from metric data. // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/Datapoint type Datapoint struct { @@ -1284,54 +1218,6 @@ func (s Datapoint) GoString() string { return s.String() } -// SetAverage sets the Average field's value. -func (s *Datapoint) SetAverage(v float64) *Datapoint { - s.Average = &v - return s -} - -// SetExtendedStatistics sets the ExtendedStatistics field's value. -func (s *Datapoint) SetExtendedStatistics(v map[string]float64) *Datapoint { - s.ExtendedStatistics = v - return s -} - -// SetMaximum sets the Maximum field's value. -func (s *Datapoint) SetMaximum(v float64) *Datapoint { - s.Maximum = &v - return s -} - -// SetMinimum sets the Minimum field's value. -func (s *Datapoint) SetMinimum(v float64) *Datapoint { - s.Minimum = &v - return s -} - -// SetSampleCount sets the SampleCount field's value. -func (s *Datapoint) SetSampleCount(v float64) *Datapoint { - s.SampleCount = &v - return s -} - -// SetSum sets the Sum field's value. -func (s *Datapoint) SetSum(v float64) *Datapoint { - s.Sum = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *Datapoint) SetTimestamp(v time.Time) *Datapoint { - s.Timestamp = &v - return s -} - -// SetUnit sets the Unit field's value. -func (s *Datapoint) SetUnit(v StandardUnit) *Datapoint { - s.Unit = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteAlarmsInput type DeleteAlarmsInput struct { _ struct{} `type:"structure"` @@ -1366,12 +1252,6 @@ func (s *DeleteAlarmsInput) Validate() error { return nil } -// SetAlarmNames sets the AlarmNames field's value. -func (s *DeleteAlarmsInput) SetAlarmNames(v []string) *DeleteAlarmsInput { - s.AlarmNames = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteAlarmsOutput type DeleteAlarmsOutput struct { _ struct{} `type:"structure"` @@ -1428,12 +1308,6 @@ func (s *DeleteDashboardsInput) Validate() error { return nil } -// SetDashboardNames sets the DashboardNames field's value. -func (s *DeleteDashboardsInput) SetDashboardNames(v []string) *DeleteDashboardsInput { - s.DashboardNames = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteDashboardsOutput type DeleteDashboardsOutput struct { _ struct{} `type:"structure"` @@ -1506,42 +1380,6 @@ func (s *DescribeAlarmHistoryInput) Validate() error { return nil } -// SetAlarmName sets the AlarmName field's value. -func (s *DescribeAlarmHistoryInput) SetAlarmName(v string) *DescribeAlarmHistoryInput { - s.AlarmName = &v - return s -} - -// SetEndDate sets the EndDate field's value. -func (s *DescribeAlarmHistoryInput) SetEndDate(v time.Time) *DescribeAlarmHistoryInput { - s.EndDate = &v - return s -} - -// SetHistoryItemType sets the HistoryItemType field's value. -func (s *DescribeAlarmHistoryInput) SetHistoryItemType(v HistoryItemType) *DescribeAlarmHistoryInput { - s.HistoryItemType = v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeAlarmHistoryInput) SetMaxRecords(v int64) *DescribeAlarmHistoryInput { - s.MaxRecords = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAlarmHistoryInput) SetNextToken(v string) *DescribeAlarmHistoryInput { - s.NextToken = &v - return s -} - -// SetStartDate sets the StartDate field's value. -func (s *DescribeAlarmHistoryInput) SetStartDate(v time.Time) *DescribeAlarmHistoryInput { - s.StartDate = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmHistoryOutput type DescribeAlarmHistoryOutput struct { _ struct{} `type:"structure"` @@ -1570,18 +1408,6 @@ func (s DescribeAlarmHistoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAlarmHistoryItems sets the AlarmHistoryItems field's value. -func (s *DescribeAlarmHistoryOutput) SetAlarmHistoryItems(v []AlarmHistoryItem) *DescribeAlarmHistoryOutput { - s.AlarmHistoryItems = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAlarmHistoryOutput) SetNextToken(v string) *DescribeAlarmHistoryOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsForMetricInput type DescribeAlarmsForMetricInput struct { _ struct{} `type:"structure"` @@ -1659,48 +1485,6 @@ func (s *DescribeAlarmsForMetricInput) Validate() error { return nil } -// SetDimensions sets the Dimensions field's value. -func (s *DescribeAlarmsForMetricInput) SetDimensions(v []Dimension) *DescribeAlarmsForMetricInput { - s.Dimensions = v - return s -} - -// SetExtendedStatistic sets the ExtendedStatistic field's value. -func (s *DescribeAlarmsForMetricInput) SetExtendedStatistic(v string) *DescribeAlarmsForMetricInput { - s.ExtendedStatistic = &v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *DescribeAlarmsForMetricInput) SetMetricName(v string) *DescribeAlarmsForMetricInput { - s.MetricName = &v - return s -} - -// SetNamespace sets the Namespace field's value. -func (s *DescribeAlarmsForMetricInput) SetNamespace(v string) *DescribeAlarmsForMetricInput { - s.Namespace = &v - return s -} - -// SetPeriod sets the Period field's value. -func (s *DescribeAlarmsForMetricInput) SetPeriod(v int64) *DescribeAlarmsForMetricInput { - s.Period = &v - return s -} - -// SetStatistic sets the Statistic field's value. -func (s *DescribeAlarmsForMetricInput) SetStatistic(v Statistic) *DescribeAlarmsForMetricInput { - s.Statistic = v - return s -} - -// SetUnit sets the Unit field's value. -func (s *DescribeAlarmsForMetricInput) SetUnit(v StandardUnit) *DescribeAlarmsForMetricInput { - s.Unit = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsForMetricOutput type DescribeAlarmsForMetricOutput struct { _ struct{} `type:"structure"` @@ -1726,12 +1510,6 @@ func (s DescribeAlarmsForMetricOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMetricAlarms sets the MetricAlarms field's value. -func (s *DescribeAlarmsForMetricOutput) SetMetricAlarms(v []MetricAlarm) *DescribeAlarmsForMetricOutput { - s.MetricAlarms = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsInput type DescribeAlarmsInput struct { _ struct{} `type:"structure"` @@ -1786,42 +1564,6 @@ func (s *DescribeAlarmsInput) Validate() error { return nil } -// SetActionPrefix sets the ActionPrefix field's value. -func (s *DescribeAlarmsInput) SetActionPrefix(v string) *DescribeAlarmsInput { - s.ActionPrefix = &v - return s -} - -// SetAlarmNamePrefix sets the AlarmNamePrefix field's value. -func (s *DescribeAlarmsInput) SetAlarmNamePrefix(v string) *DescribeAlarmsInput { - s.AlarmNamePrefix = &v - return s -} - -// SetAlarmNames sets the AlarmNames field's value. -func (s *DescribeAlarmsInput) SetAlarmNames(v []string) *DescribeAlarmsInput { - s.AlarmNames = v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeAlarmsInput) SetMaxRecords(v int64) *DescribeAlarmsInput { - s.MaxRecords = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAlarmsInput) SetNextToken(v string) *DescribeAlarmsInput { - s.NextToken = &v - return s -} - -// SetStateValue sets the StateValue field's value. -func (s *DescribeAlarmsInput) SetStateValue(v StateValue) *DescribeAlarmsInput { - s.StateValue = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsOutput type DescribeAlarmsOutput struct { _ struct{} `type:"structure"` @@ -1850,18 +1592,6 @@ func (s DescribeAlarmsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMetricAlarms sets the MetricAlarms field's value. -func (s *DescribeAlarmsOutput) SetMetricAlarms(v []MetricAlarm) *DescribeAlarmsOutput { - s.MetricAlarms = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAlarmsOutput) SetNextToken(v string) *DescribeAlarmsOutput { - s.NextToken = &v - return s -} - // Expands the identity of a metric. // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/Dimension type Dimension struct { @@ -1912,18 +1642,6 @@ func (s *Dimension) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *Dimension) SetName(v string) *Dimension { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Dimension) SetValue(v string) *Dimension { - s.Value = &v - return s -} - // Represents filters for a dimension. // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DimensionFilter type DimensionFilter struct { @@ -1968,18 +1686,6 @@ func (s *DimensionFilter) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DimensionFilter) SetName(v string) *DimensionFilter { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *DimensionFilter) SetValue(v string) *DimensionFilter { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DisableAlarmActionsInput type DisableAlarmActionsInput struct { _ struct{} `type:"structure"` @@ -2014,12 +1720,6 @@ func (s *DisableAlarmActionsInput) Validate() error { return nil } -// SetAlarmNames sets the AlarmNames field's value. -func (s *DisableAlarmActionsInput) SetAlarmNames(v []string) *DisableAlarmActionsInput { - s.AlarmNames = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DisableAlarmActionsOutput type DisableAlarmActionsOutput struct { _ struct{} `type:"structure"` @@ -2076,12 +1776,6 @@ func (s *EnableAlarmActionsInput) Validate() error { return nil } -// SetAlarmNames sets the AlarmNames field's value. -func (s *EnableAlarmActionsInput) SetAlarmNames(v []string) *EnableAlarmActionsInput { - s.AlarmNames = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/EnableAlarmActionsOutput type EnableAlarmActionsOutput struct { _ struct{} `type:"structure"` @@ -2138,12 +1832,6 @@ func (s *GetDashboardInput) Validate() error { return nil } -// SetDashboardName sets the DashboardName field's value. -func (s *GetDashboardInput) SetDashboardName(v string) *GetDashboardInput { - s.DashboardName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetDashboardOutput type GetDashboardOutput struct { _ struct{} `type:"structure"` @@ -2177,24 +1865,6 @@ func (s GetDashboardOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDashboardArn sets the DashboardArn field's value. -func (s *GetDashboardOutput) SetDashboardArn(v string) *GetDashboardOutput { - s.DashboardArn = &v - return s -} - -// SetDashboardBody sets the DashboardBody field's value. -func (s *GetDashboardOutput) SetDashboardBody(v string) *GetDashboardOutput { - s.DashboardBody = &v - return s -} - -// SetDashboardName sets the DashboardName field's value. -func (s *GetDashboardOutput) SetDashboardName(v string) *GetDashboardOutput { - s.DashboardName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStatisticsInput type GetMetricStatisticsInput struct { _ struct{} `type:"structure"` @@ -2357,60 +2027,6 @@ func (s *GetMetricStatisticsInput) Validate() error { return nil } -// SetDimensions sets the Dimensions field's value. -func (s *GetMetricStatisticsInput) SetDimensions(v []Dimension) *GetMetricStatisticsInput { - s.Dimensions = v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *GetMetricStatisticsInput) SetEndTime(v time.Time) *GetMetricStatisticsInput { - s.EndTime = &v - return s -} - -// SetExtendedStatistics sets the ExtendedStatistics field's value. -func (s *GetMetricStatisticsInput) SetExtendedStatistics(v []string) *GetMetricStatisticsInput { - s.ExtendedStatistics = v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *GetMetricStatisticsInput) SetMetricName(v string) *GetMetricStatisticsInput { - s.MetricName = &v - return s -} - -// SetNamespace sets the Namespace field's value. -func (s *GetMetricStatisticsInput) SetNamespace(v string) *GetMetricStatisticsInput { - s.Namespace = &v - return s -} - -// SetPeriod sets the Period field's value. -func (s *GetMetricStatisticsInput) SetPeriod(v int64) *GetMetricStatisticsInput { - s.Period = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *GetMetricStatisticsInput) SetStartTime(v time.Time) *GetMetricStatisticsInput { - s.StartTime = &v - return s -} - -// SetStatistics sets the Statistics field's value. -func (s *GetMetricStatisticsInput) SetStatistics(v []Statistic) *GetMetricStatisticsInput { - s.Statistics = v - return s -} - -// SetUnit sets the Unit field's value. -func (s *GetMetricStatisticsInput) SetUnit(v StandardUnit) *GetMetricStatisticsInput { - s.Unit = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStatisticsOutput type GetMetricStatisticsOutput struct { _ struct{} `type:"structure"` @@ -2439,18 +2055,6 @@ func (s GetMetricStatisticsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDatapoints sets the Datapoints field's value. -func (s *GetMetricStatisticsOutput) SetDatapoints(v []Datapoint) *GetMetricStatisticsOutput { - s.Datapoints = v - return s -} - -// SetLabel sets the Label field's value. -func (s *GetMetricStatisticsOutput) SetLabel(v string) *GetMetricStatisticsOutput { - s.Label = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListDashboardsInput type ListDashboardsInput struct { _ struct{} `type:"structure"` @@ -2475,18 +2079,6 @@ func (s ListDashboardsInput) GoString() string { return s.String() } -// SetDashboardNamePrefix sets the DashboardNamePrefix field's value. -func (s *ListDashboardsInput) SetDashboardNamePrefix(v string) *ListDashboardsInput { - s.DashboardNamePrefix = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDashboardsInput) SetNextToken(v string) *ListDashboardsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListDashboardsOutput type ListDashboardsOutput struct { _ struct{} `type:"structure"` @@ -2515,18 +2107,6 @@ func (s ListDashboardsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDashboardEntries sets the DashboardEntries field's value. -func (s *ListDashboardsOutput) SetDashboardEntries(v []DashboardEntry) *ListDashboardsOutput { - s.DashboardEntries = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDashboardsOutput) SetNextToken(v string) *ListDashboardsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetricsInput type ListMetricsInput struct { _ struct{} `type:"structure"` @@ -2578,30 +2158,6 @@ func (s *ListMetricsInput) Validate() error { return nil } -// SetDimensions sets the Dimensions field's value. -func (s *ListMetricsInput) SetDimensions(v []DimensionFilter) *ListMetricsInput { - s.Dimensions = v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *ListMetricsInput) SetMetricName(v string) *ListMetricsInput { - s.MetricName = &v - return s -} - -// SetNamespace sets the Namespace field's value. -func (s *ListMetricsInput) SetNamespace(v string) *ListMetricsInput { - s.Namespace = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListMetricsInput) SetNextToken(v string) *ListMetricsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetricsOutput type ListMetricsOutput struct { _ struct{} `type:"structure"` @@ -2630,18 +2186,6 @@ func (s ListMetricsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMetrics sets the Metrics field's value. -func (s *ListMetricsOutput) SetMetrics(v []Metric) *ListMetricsOutput { - s.Metrics = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListMetricsOutput) SetNextToken(v string) *ListMetricsOutput { - s.NextToken = &v - return s -} - // Represents a specific metric. // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/Metric type Metric struct { @@ -2667,24 +2211,6 @@ func (s Metric) GoString() string { return s.String() } -// SetDimensions sets the Dimensions field's value. -func (s *Metric) SetDimensions(v []Dimension) *Metric { - s.Dimensions = v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *Metric) SetMetricName(v string) *Metric { - s.MetricName = &v - return s -} - -// SetNamespace sets the Namespace field's value. -func (s *Metric) SetNamespace(v string) *Metric { - s.Namespace = &v - return s -} - // Represents an alarm. // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MetricAlarm type MetricAlarm struct { @@ -2788,156 +2314,6 @@ func (s MetricAlarm) GoString() string { return s.String() } -// SetActionsEnabled sets the ActionsEnabled field's value. -func (s *MetricAlarm) SetActionsEnabled(v bool) *MetricAlarm { - s.ActionsEnabled = &v - return s -} - -// SetAlarmActions sets the AlarmActions field's value. -func (s *MetricAlarm) SetAlarmActions(v []string) *MetricAlarm { - s.AlarmActions = v - return s -} - -// SetAlarmArn sets the AlarmArn field's value. -func (s *MetricAlarm) SetAlarmArn(v string) *MetricAlarm { - s.AlarmArn = &v - return s -} - -// SetAlarmConfigurationUpdatedTimestamp sets the AlarmConfigurationUpdatedTimestamp field's value. -func (s *MetricAlarm) SetAlarmConfigurationUpdatedTimestamp(v time.Time) *MetricAlarm { - s.AlarmConfigurationUpdatedTimestamp = &v - return s -} - -// SetAlarmDescription sets the AlarmDescription field's value. -func (s *MetricAlarm) SetAlarmDescription(v string) *MetricAlarm { - s.AlarmDescription = &v - return s -} - -// SetAlarmName sets the AlarmName field's value. -func (s *MetricAlarm) SetAlarmName(v string) *MetricAlarm { - s.AlarmName = &v - return s -} - -// SetComparisonOperator sets the ComparisonOperator field's value. -func (s *MetricAlarm) SetComparisonOperator(v ComparisonOperator) *MetricAlarm { - s.ComparisonOperator = v - return s -} - -// SetDatapointsToAlarm sets the DatapointsToAlarm field's value. -func (s *MetricAlarm) SetDatapointsToAlarm(v int64) *MetricAlarm { - s.DatapointsToAlarm = &v - return s -} - -// SetDimensions sets the Dimensions field's value. -func (s *MetricAlarm) SetDimensions(v []Dimension) *MetricAlarm { - s.Dimensions = v - return s -} - -// SetEvaluateLowSampleCountPercentile sets the EvaluateLowSampleCountPercentile field's value. -func (s *MetricAlarm) SetEvaluateLowSampleCountPercentile(v string) *MetricAlarm { - s.EvaluateLowSampleCountPercentile = &v - return s -} - -// SetEvaluationPeriods sets the EvaluationPeriods field's value. -func (s *MetricAlarm) SetEvaluationPeriods(v int64) *MetricAlarm { - s.EvaluationPeriods = &v - return s -} - -// SetExtendedStatistic sets the ExtendedStatistic field's value. -func (s *MetricAlarm) SetExtendedStatistic(v string) *MetricAlarm { - s.ExtendedStatistic = &v - return s -} - -// SetInsufficientDataActions sets the InsufficientDataActions field's value. -func (s *MetricAlarm) SetInsufficientDataActions(v []string) *MetricAlarm { - s.InsufficientDataActions = v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *MetricAlarm) SetMetricName(v string) *MetricAlarm { - s.MetricName = &v - return s -} - -// SetNamespace sets the Namespace field's value. -func (s *MetricAlarm) SetNamespace(v string) *MetricAlarm { - s.Namespace = &v - return s -} - -// SetOKActions sets the OKActions field's value. -func (s *MetricAlarm) SetOKActions(v []string) *MetricAlarm { - s.OKActions = v - return s -} - -// SetPeriod sets the Period field's value. -func (s *MetricAlarm) SetPeriod(v int64) *MetricAlarm { - s.Period = &v - return s -} - -// SetStateReason sets the StateReason field's value. -func (s *MetricAlarm) SetStateReason(v string) *MetricAlarm { - s.StateReason = &v - return s -} - -// SetStateReasonData sets the StateReasonData field's value. -func (s *MetricAlarm) SetStateReasonData(v string) *MetricAlarm { - s.StateReasonData = &v - return s -} - -// SetStateUpdatedTimestamp sets the StateUpdatedTimestamp field's value. -func (s *MetricAlarm) SetStateUpdatedTimestamp(v time.Time) *MetricAlarm { - s.StateUpdatedTimestamp = &v - return s -} - -// SetStateValue sets the StateValue field's value. -func (s *MetricAlarm) SetStateValue(v StateValue) *MetricAlarm { - s.StateValue = v - return s -} - -// SetStatistic sets the Statistic field's value. -func (s *MetricAlarm) SetStatistic(v Statistic) *MetricAlarm { - s.Statistic = v - return s -} - -// SetThreshold sets the Threshold field's value. -func (s *MetricAlarm) SetThreshold(v float64) *MetricAlarm { - s.Threshold = &v - return s -} - -// SetTreatMissingData sets the TreatMissingData field's value. -func (s *MetricAlarm) SetTreatMissingData(v string) *MetricAlarm { - s.TreatMissingData = &v - return s -} - -// SetUnit sets the Unit field's value. -func (s *MetricAlarm) SetUnit(v StandardUnit) *MetricAlarm { - s.Unit = v - return s -} - // Encapsulates the information sent to either create a metric or add new values // to be aggregated into an existing metric. // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MetricDatum @@ -3025,48 +2401,6 @@ func (s *MetricDatum) Validate() error { return nil } -// SetDimensions sets the Dimensions field's value. -func (s *MetricDatum) SetDimensions(v []Dimension) *MetricDatum { - s.Dimensions = v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *MetricDatum) SetMetricName(v string) *MetricDatum { - s.MetricName = &v - return s -} - -// SetStatisticValues sets the StatisticValues field's value. -func (s *MetricDatum) SetStatisticValues(v *StatisticSet) *MetricDatum { - s.StatisticValues = v - return s -} - -// SetStorageResolution sets the StorageResolution field's value. -func (s *MetricDatum) SetStorageResolution(v int64) *MetricDatum { - s.StorageResolution = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *MetricDatum) SetTimestamp(v time.Time) *MetricDatum { - s.Timestamp = &v - return s -} - -// SetUnit sets the Unit field's value. -func (s *MetricDatum) SetUnit(v StandardUnit) *MetricDatum { - s.Unit = v - return s -} - -// SetValue sets the Value field's value. -func (s *MetricDatum) SetValue(v float64) *MetricDatum { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutDashboardInput type PutDashboardInput struct { _ struct{} `type:"structure"` @@ -3117,18 +2451,6 @@ func (s *PutDashboardInput) Validate() error { return nil } -// SetDashboardBody sets the DashboardBody field's value. -func (s *PutDashboardInput) SetDashboardBody(v string) *PutDashboardInput { - s.DashboardBody = &v - return s -} - -// SetDashboardName sets the DashboardName field's value. -func (s *PutDashboardInput) SetDashboardName(v string) *PutDashboardInput { - s.DashboardName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutDashboardOutput type PutDashboardOutput struct { _ struct{} `type:"structure"` @@ -3162,12 +2484,6 @@ func (s PutDashboardOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDashboardValidationMessages sets the DashboardValidationMessages field's value. -func (s *PutDashboardOutput) SetDashboardValidationMessages(v []DashboardValidationMessage) *PutDashboardOutput { - s.DashboardValidationMessages = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarmInput type PutMetricAlarmInput struct { _ struct{} `type:"structure"` @@ -3391,120 +2707,6 @@ func (s *PutMetricAlarmInput) Validate() error { return nil } -// SetActionsEnabled sets the ActionsEnabled field's value. -func (s *PutMetricAlarmInput) SetActionsEnabled(v bool) *PutMetricAlarmInput { - s.ActionsEnabled = &v - return s -} - -// SetAlarmActions sets the AlarmActions field's value. -func (s *PutMetricAlarmInput) SetAlarmActions(v []string) *PutMetricAlarmInput { - s.AlarmActions = v - return s -} - -// SetAlarmDescription sets the AlarmDescription field's value. -func (s *PutMetricAlarmInput) SetAlarmDescription(v string) *PutMetricAlarmInput { - s.AlarmDescription = &v - return s -} - -// SetAlarmName sets the AlarmName field's value. -func (s *PutMetricAlarmInput) SetAlarmName(v string) *PutMetricAlarmInput { - s.AlarmName = &v - return s -} - -// SetComparisonOperator sets the ComparisonOperator field's value. -func (s *PutMetricAlarmInput) SetComparisonOperator(v ComparisonOperator) *PutMetricAlarmInput { - s.ComparisonOperator = v - return s -} - -// SetDatapointsToAlarm sets the DatapointsToAlarm field's value. -func (s *PutMetricAlarmInput) SetDatapointsToAlarm(v int64) *PutMetricAlarmInput { - s.DatapointsToAlarm = &v - return s -} - -// SetDimensions sets the Dimensions field's value. -func (s *PutMetricAlarmInput) SetDimensions(v []Dimension) *PutMetricAlarmInput { - s.Dimensions = v - return s -} - -// SetEvaluateLowSampleCountPercentile sets the EvaluateLowSampleCountPercentile field's value. -func (s *PutMetricAlarmInput) SetEvaluateLowSampleCountPercentile(v string) *PutMetricAlarmInput { - s.EvaluateLowSampleCountPercentile = &v - return s -} - -// SetEvaluationPeriods sets the EvaluationPeriods field's value. -func (s *PutMetricAlarmInput) SetEvaluationPeriods(v int64) *PutMetricAlarmInput { - s.EvaluationPeriods = &v - return s -} - -// SetExtendedStatistic sets the ExtendedStatistic field's value. -func (s *PutMetricAlarmInput) SetExtendedStatistic(v string) *PutMetricAlarmInput { - s.ExtendedStatistic = &v - return s -} - -// SetInsufficientDataActions sets the InsufficientDataActions field's value. -func (s *PutMetricAlarmInput) SetInsufficientDataActions(v []string) *PutMetricAlarmInput { - s.InsufficientDataActions = v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *PutMetricAlarmInput) SetMetricName(v string) *PutMetricAlarmInput { - s.MetricName = &v - return s -} - -// SetNamespace sets the Namespace field's value. -func (s *PutMetricAlarmInput) SetNamespace(v string) *PutMetricAlarmInput { - s.Namespace = &v - return s -} - -// SetOKActions sets the OKActions field's value. -func (s *PutMetricAlarmInput) SetOKActions(v []string) *PutMetricAlarmInput { - s.OKActions = v - return s -} - -// SetPeriod sets the Period field's value. -func (s *PutMetricAlarmInput) SetPeriod(v int64) *PutMetricAlarmInput { - s.Period = &v - return s -} - -// SetStatistic sets the Statistic field's value. -func (s *PutMetricAlarmInput) SetStatistic(v Statistic) *PutMetricAlarmInput { - s.Statistic = v - return s -} - -// SetThreshold sets the Threshold field's value. -func (s *PutMetricAlarmInput) SetThreshold(v float64) *PutMetricAlarmInput { - s.Threshold = &v - return s -} - -// SetTreatMissingData sets the TreatMissingData field's value. -func (s *PutMetricAlarmInput) SetTreatMissingData(v string) *PutMetricAlarmInput { - s.TreatMissingData = &v - return s -} - -// SetUnit sets the Unit field's value. -func (s *PutMetricAlarmInput) SetUnit(v StandardUnit) *PutMetricAlarmInput { - s.Unit = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarmOutput type PutMetricAlarmOutput struct { _ struct{} `type:"structure"` @@ -3583,18 +2785,6 @@ func (s *PutMetricDataInput) Validate() error { return nil } -// SetMetricData sets the MetricData field's value. -func (s *PutMetricDataInput) SetMetricData(v []MetricDatum) *PutMetricDataInput { - s.MetricData = v - return s -} - -// SetNamespace sets the Namespace field's value. -func (s *PutMetricDataInput) SetNamespace(v string) *PutMetricDataInput { - s.Namespace = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricDataOutput type PutMetricDataOutput struct { _ struct{} `type:"structure"` @@ -3675,30 +2865,6 @@ func (s *SetAlarmStateInput) Validate() error { return nil } -// SetAlarmName sets the AlarmName field's value. -func (s *SetAlarmStateInput) SetAlarmName(v string) *SetAlarmStateInput { - s.AlarmName = &v - return s -} - -// SetStateReason sets the StateReason field's value. -func (s *SetAlarmStateInput) SetStateReason(v string) *SetAlarmStateInput { - s.StateReason = &v - return s -} - -// SetStateReasonData sets the StateReasonData field's value. -func (s *SetAlarmStateInput) SetStateReasonData(v string) *SetAlarmStateInput { - s.StateReasonData = &v - return s -} - -// SetStateValue sets the StateValue field's value. -func (s *SetAlarmStateInput) SetStateValue(v StateValue) *SetAlarmStateInput { - s.StateValue = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/SetAlarmStateOutput type SetAlarmStateOutput struct { _ struct{} `type:"structure"` @@ -3783,30 +2949,6 @@ func (s *StatisticSet) Validate() error { return nil } -// SetMaximum sets the Maximum field's value. -func (s *StatisticSet) SetMaximum(v float64) *StatisticSet { - s.Maximum = &v - return s -} - -// SetMinimum sets the Minimum field's value. -func (s *StatisticSet) SetMinimum(v float64) *StatisticSet { - s.Minimum = &v - return s -} - -// SetSampleCount sets the SampleCount field's value. -func (s *StatisticSet) SetSampleCount(v float64) *StatisticSet { - s.SampleCount = &v - return s -} - -// SetSum sets the Sum field's value. -func (s *StatisticSet) SetSum(v float64) *StatisticSet { - s.Sum = &v - return s -} - type ComparisonOperator string // Enum values for ComparisonOperator diff --git a/service/cloudwatchevents/api.go b/service/cloudwatchevents/api.go index b0723f5c097..628c618bd1f 100644 --- a/service/cloudwatchevents/api.go +++ b/service/cloudwatchevents/api.go @@ -945,12 +945,6 @@ func (s *DeleteRuleInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteRuleInput) SetName(v string) *DeleteRuleInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteRuleOutput type DeleteRuleOutput struct { _ struct{} `type:"structure"` @@ -1020,24 +1014,6 @@ func (s DescribeEventBusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *DescribeEventBusOutput) SetArn(v string) *DescribeEventBusOutput { - s.Arn = &v - return s -} - -// SetName sets the Name field's value. -func (s *DescribeEventBusOutput) SetName(v string) *DescribeEventBusOutput { - s.Name = &v - return s -} - -// SetPolicy sets the Policy field's value. -func (s *DescribeEventBusOutput) SetPolicy(v string) *DescribeEventBusOutput { - s.Policy = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeRuleRequest type DescribeRuleInput struct { _ struct{} `type:"structure"` @@ -1075,12 +1051,6 @@ func (s *DescribeRuleInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DescribeRuleInput) SetName(v string) *DescribeRuleInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeRuleResponse type DescribeRuleOutput struct { _ struct{} `type:"structure"` @@ -1125,48 +1095,6 @@ func (s DescribeRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *DescribeRuleOutput) SetArn(v string) *DescribeRuleOutput { - s.Arn = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *DescribeRuleOutput) SetDescription(v string) *DescribeRuleOutput { - s.Description = &v - return s -} - -// SetEventPattern sets the EventPattern field's value. -func (s *DescribeRuleOutput) SetEventPattern(v string) *DescribeRuleOutput { - s.EventPattern = &v - return s -} - -// SetName sets the Name field's value. -func (s *DescribeRuleOutput) SetName(v string) *DescribeRuleOutput { - s.Name = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *DescribeRuleOutput) SetRoleArn(v string) *DescribeRuleOutput { - s.RoleArn = &v - return s -} - -// SetScheduleExpression sets the ScheduleExpression field's value. -func (s *DescribeRuleOutput) SetScheduleExpression(v string) *DescribeRuleOutput { - s.ScheduleExpression = &v - return s -} - -// SetState sets the State field's value. -func (s *DescribeRuleOutput) SetState(v RuleState) *DescribeRuleOutput { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DisableRuleRequest type DisableRuleInput struct { _ struct{} `type:"structure"` @@ -1204,12 +1132,6 @@ func (s *DisableRuleInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DisableRuleInput) SetName(v string) *DisableRuleInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DisableRuleOutput type DisableRuleOutput struct { _ struct{} `type:"structure"` @@ -1278,18 +1200,6 @@ func (s *EcsParameters) Validate() error { return nil } -// SetTaskCount sets the TaskCount field's value. -func (s *EcsParameters) SetTaskCount(v int64) *EcsParameters { - s.TaskCount = &v - return s -} - -// SetTaskDefinitionArn sets the TaskDefinitionArn field's value. -func (s *EcsParameters) SetTaskDefinitionArn(v string) *EcsParameters { - s.TaskDefinitionArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/EnableRuleRequest type EnableRuleInput struct { _ struct{} `type:"structure"` @@ -1327,12 +1237,6 @@ func (s *EnableRuleInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *EnableRuleInput) SetName(v string) *EnableRuleInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/EnableRuleOutput type EnableRuleOutput struct { _ struct{} `type:"structure"` @@ -1400,18 +1304,6 @@ func (s *InputTransformer) Validate() error { return nil } -// SetInputPathsMap sets the InputPathsMap field's value. -func (s *InputTransformer) SetInputPathsMap(v map[string]string) *InputTransformer { - s.InputPathsMap = v - return s -} - -// SetInputTemplate sets the InputTemplate field's value. -func (s *InputTransformer) SetInputTemplate(v string) *InputTransformer { - s.InputTemplate = &v - return s -} - // This object enables you to specify a JSON path to extract from the event // and use as the partition key for the Amazon Kinesis stream, so that you can // control the shard to which the event goes. If you do not include this parameter, @@ -1452,12 +1344,6 @@ func (s *KinesisParameters) Validate() error { return nil } -// SetPartitionKeyPath sets the PartitionKeyPath field's value. -func (s *KinesisParameters) SetPartitionKeyPath(v string) *KinesisParameters { - s.PartitionKeyPath = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRuleNamesByTargetRequest type ListRuleNamesByTargetInput struct { _ struct{} `type:"structure"` @@ -1507,24 +1393,6 @@ func (s *ListRuleNamesByTargetInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListRuleNamesByTargetInput) SetLimit(v int64) *ListRuleNamesByTargetInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListRuleNamesByTargetInput) SetNextToken(v string) *ListRuleNamesByTargetInput { - s.NextToken = &v - return s -} - -// SetTargetArn sets the TargetArn field's value. -func (s *ListRuleNamesByTargetInput) SetTargetArn(v string) *ListRuleNamesByTargetInput { - s.TargetArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRuleNamesByTargetResponse type ListRuleNamesByTargetOutput struct { _ struct{} `type:"structure"` @@ -1554,18 +1422,6 @@ func (s ListRuleNamesByTargetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListRuleNamesByTargetOutput) SetNextToken(v string) *ListRuleNamesByTargetOutput { - s.NextToken = &v - return s -} - -// SetRuleNames sets the RuleNames field's value. -func (s *ListRuleNamesByTargetOutput) SetRuleNames(v []string) *ListRuleNamesByTargetOutput { - s.RuleNames = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRulesRequest type ListRulesInput struct { _ struct{} `type:"structure"` @@ -1609,24 +1465,6 @@ func (s *ListRulesInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListRulesInput) SetLimit(v int64) *ListRulesInput { - s.Limit = &v - return s -} - -// SetNamePrefix sets the NamePrefix field's value. -func (s *ListRulesInput) SetNamePrefix(v string) *ListRulesInput { - s.NamePrefix = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListRulesInput) SetNextToken(v string) *ListRulesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRulesResponse type ListRulesOutput struct { _ struct{} `type:"structure"` @@ -1656,18 +1494,6 @@ func (s ListRulesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListRulesOutput) SetNextToken(v string) *ListRulesOutput { - s.NextToken = &v - return s -} - -// SetRules sets the Rules field's value. -func (s *ListRulesOutput) SetRules(v []Rule) *ListRulesOutput { - s.Rules = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRuleRequest type ListTargetsByRuleInput struct { _ struct{} `type:"structure"` @@ -1717,24 +1543,6 @@ func (s *ListTargetsByRuleInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListTargetsByRuleInput) SetLimit(v int64) *ListTargetsByRuleInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTargetsByRuleInput) SetNextToken(v string) *ListTargetsByRuleInput { - s.NextToken = &v - return s -} - -// SetRule sets the Rule field's value. -func (s *ListTargetsByRuleInput) SetRule(v string) *ListTargetsByRuleInput { - s.Rule = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRuleResponse type ListTargetsByRuleOutput struct { _ struct{} `type:"structure"` @@ -1764,18 +1572,6 @@ func (s ListTargetsByRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTargetsByRuleOutput) SetNextToken(v string) *ListTargetsByRuleOutput { - s.NextToken = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *ListTargetsByRuleOutput) SetTargets(v []Target) *ListTargetsByRuleOutput { - s.Targets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEventsRequest type PutEventsInput struct { _ struct{} `type:"structure"` @@ -1815,12 +1611,6 @@ func (s *PutEventsInput) Validate() error { return nil } -// SetEntries sets the Entries field's value. -func (s *PutEventsInput) SetEntries(v []PutEventsRequestEntry) *PutEventsInput { - s.Entries = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEventsResponse type PutEventsOutput struct { _ struct{} `type:"structure"` @@ -1851,18 +1641,6 @@ func (s PutEventsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEntries sets the Entries field's value. -func (s *PutEventsOutput) SetEntries(v []PutEventsResultEntry) *PutEventsOutput { - s.Entries = v - return s -} - -// SetFailedEntryCount sets the FailedEntryCount field's value. -func (s *PutEventsOutput) SetFailedEntryCount(v int64) *PutEventsOutput { - s.FailedEntryCount = &v - return s -} - // Represents an event to be submitted. // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEventsRequestEntry type PutEventsRequestEntry struct { @@ -1897,36 +1675,6 @@ func (s PutEventsRequestEntry) GoString() string { return s.String() } -// SetDetail sets the Detail field's value. -func (s *PutEventsRequestEntry) SetDetail(v string) *PutEventsRequestEntry { - s.Detail = &v - return s -} - -// SetDetailType sets the DetailType field's value. -func (s *PutEventsRequestEntry) SetDetailType(v string) *PutEventsRequestEntry { - s.DetailType = &v - return s -} - -// SetResources sets the Resources field's value. -func (s *PutEventsRequestEntry) SetResources(v []string) *PutEventsRequestEntry { - s.Resources = v - return s -} - -// SetSource sets the Source field's value. -func (s *PutEventsRequestEntry) SetSource(v string) *PutEventsRequestEntry { - s.Source = &v - return s -} - -// SetTime sets the Time field's value. -func (s *PutEventsRequestEntry) SetTime(v time.Time) *PutEventsRequestEntry { - s.Time = &v - return s -} - // Represents an event that failed to be submitted. // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEventsResultEntry type PutEventsResultEntry struct { @@ -1952,24 +1700,6 @@ func (s PutEventsResultEntry) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *PutEventsResultEntry) SetErrorCode(v string) *PutEventsResultEntry { - s.ErrorCode = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *PutEventsResultEntry) SetErrorMessage(v string) *PutEventsResultEntry { - s.ErrorMessage = &v - return s -} - -// SetEventId sets the EventId field's value. -func (s *PutEventsResultEntry) SetEventId(v string) *PutEventsResultEntry { - s.EventId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutPermissionRequest type PutPermissionInput struct { _ struct{} `type:"structure"` @@ -2042,24 +1772,6 @@ func (s *PutPermissionInput) Validate() error { return nil } -// SetAction sets the Action field's value. -func (s *PutPermissionInput) SetAction(v string) *PutPermissionInput { - s.Action = &v - return s -} - -// SetPrincipal sets the Principal field's value. -func (s *PutPermissionInput) SetPrincipal(v string) *PutPermissionInput { - s.Principal = &v - return s -} - -// SetStatementId sets the StatementId field's value. -func (s *PutPermissionInput) SetStatementId(v string) *PutPermissionInput { - s.StatementId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutPermissionOutput type PutPermissionOutput struct { _ struct{} `type:"structure"` @@ -2138,42 +1850,6 @@ func (s *PutRuleInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *PutRuleInput) SetDescription(v string) *PutRuleInput { - s.Description = &v - return s -} - -// SetEventPattern sets the EventPattern field's value. -func (s *PutRuleInput) SetEventPattern(v string) *PutRuleInput { - s.EventPattern = &v - return s -} - -// SetName sets the Name field's value. -func (s *PutRuleInput) SetName(v string) *PutRuleInput { - s.Name = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *PutRuleInput) SetRoleArn(v string) *PutRuleInput { - s.RoleArn = &v - return s -} - -// SetScheduleExpression sets the ScheduleExpression field's value. -func (s *PutRuleInput) SetScheduleExpression(v string) *PutRuleInput { - s.ScheduleExpression = &v - return s -} - -// SetState sets the State field's value. -func (s *PutRuleInput) SetState(v RuleState) *PutRuleInput { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutRuleResponse type PutRuleOutput struct { _ struct{} `type:"structure"` @@ -2199,12 +1875,6 @@ func (s PutRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRuleArn sets the RuleArn field's value. -func (s *PutRuleOutput) SetRuleArn(v string) *PutRuleOutput { - s.RuleArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargetsRequest type PutTargetsInput struct { _ struct{} `type:"structure"` @@ -2261,18 +1931,6 @@ func (s *PutTargetsInput) Validate() error { return nil } -// SetRule sets the Rule field's value. -func (s *PutTargetsInput) SetRule(v string) *PutTargetsInput { - s.Rule = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *PutTargetsInput) SetTargets(v []Target) *PutTargetsInput { - s.Targets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargetsResponse type PutTargetsOutput struct { _ struct{} `type:"structure"` @@ -2301,18 +1959,6 @@ func (s PutTargetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailedEntries sets the FailedEntries field's value. -func (s *PutTargetsOutput) SetFailedEntries(v []PutTargetsResultEntry) *PutTargetsOutput { - s.FailedEntries = v - return s -} - -// SetFailedEntryCount sets the FailedEntryCount field's value. -func (s *PutTargetsOutput) SetFailedEntryCount(v int64) *PutTargetsOutput { - s.FailedEntryCount = &v - return s -} - // Represents a target that failed to be added to a rule. // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargetsResultEntry type PutTargetsResultEntry struct { @@ -2340,24 +1986,6 @@ func (s PutTargetsResultEntry) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *PutTargetsResultEntry) SetErrorCode(v string) *PutTargetsResultEntry { - s.ErrorCode = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *PutTargetsResultEntry) SetErrorMessage(v string) *PutTargetsResultEntry { - s.ErrorMessage = &v - return s -} - -// SetTargetId sets the TargetId field's value. -func (s *PutTargetsResultEntry) SetTargetId(v string) *PutTargetsResultEntry { - s.TargetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemovePermissionRequest type RemovePermissionInput struct { _ struct{} `type:"structure"` @@ -2396,12 +2024,6 @@ func (s *RemovePermissionInput) Validate() error { return nil } -// SetStatementId sets the StatementId field's value. -func (s *RemovePermissionInput) SetStatementId(v string) *RemovePermissionInput { - s.StatementId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemovePermissionOutput type RemovePermissionOutput struct { _ struct{} `type:"structure"` @@ -2473,18 +2095,6 @@ func (s *RemoveTargetsInput) Validate() error { return nil } -// SetIds sets the Ids field's value. -func (s *RemoveTargetsInput) SetIds(v []string) *RemoveTargetsInput { - s.Ids = v - return s -} - -// SetRule sets the Rule field's value. -func (s *RemoveTargetsInput) SetRule(v string) *RemoveTargetsInput { - s.Rule = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargetsResponse type RemoveTargetsOutput struct { _ struct{} `type:"structure"` @@ -2513,18 +2123,6 @@ func (s RemoveTargetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailedEntries sets the FailedEntries field's value. -func (s *RemoveTargetsOutput) SetFailedEntries(v []RemoveTargetsResultEntry) *RemoveTargetsOutput { - s.FailedEntries = v - return s -} - -// SetFailedEntryCount sets the FailedEntryCount field's value. -func (s *RemoveTargetsOutput) SetFailedEntryCount(v int64) *RemoveTargetsOutput { - s.FailedEntryCount = &v - return s -} - // Represents a target that failed to be removed from a rule. // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargetsResultEntry type RemoveTargetsResultEntry struct { @@ -2552,24 +2150,6 @@ func (s RemoveTargetsResultEntry) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *RemoveTargetsResultEntry) SetErrorCode(v string) *RemoveTargetsResultEntry { - s.ErrorCode = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *RemoveTargetsResultEntry) SetErrorMessage(v string) *RemoveTargetsResultEntry { - s.ErrorMessage = &v - return s -} - -// SetTargetId sets the TargetId field's value. -func (s *RemoveTargetsResultEntry) SetTargetId(v string) *RemoveTargetsResultEntry { - s.TargetId = &v - return s -} - // Contains information about a rule in Amazon CloudWatch Events. // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/Rule type Rule struct { @@ -2609,48 +2189,6 @@ func (s Rule) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Rule) SetArn(v string) *Rule { - s.Arn = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Rule) SetDescription(v string) *Rule { - s.Description = &v - return s -} - -// SetEventPattern sets the EventPattern field's value. -func (s *Rule) SetEventPattern(v string) *Rule { - s.EventPattern = &v - return s -} - -// SetName sets the Name field's value. -func (s *Rule) SetName(v string) *Rule { - s.Name = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *Rule) SetRoleArn(v string) *Rule { - s.RoleArn = &v - return s -} - -// SetScheduleExpression sets the ScheduleExpression field's value. -func (s *Rule) SetScheduleExpression(v string) *Rule { - s.ScheduleExpression = &v - return s -} - -// SetState sets the State field's value. -func (s *Rule) SetState(v RuleState) *Rule { - s.State = v - return s -} - // This parameter contains the criteria (either InstanceIds or a tag) used to // specify which EC2 instances are to be sent the command. // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RunCommandParameters @@ -2698,12 +2236,6 @@ func (s *RunCommandParameters) Validate() error { return nil } -// SetRunCommandTargets sets the RunCommandTargets field's value. -func (s *RunCommandParameters) SetRunCommandTargets(v []RunCommandTarget) *RunCommandParameters { - s.RunCommandTargets = v - return s -} - // Information about the EC2 instances that are to be sent the command, specified // as key-value pairs. Each RunCommandTarget block can include only one key, // but this key may specify multiple values. @@ -2757,18 +2289,6 @@ func (s *RunCommandTarget) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *RunCommandTarget) SetKey(v string) *RunCommandTarget { - s.Key = &v - return s -} - -// SetValues sets the Values field's value. -func (s *RunCommandTarget) SetValues(v []string) *RunCommandTarget { - s.Values = v - return s -} - // Targets are the resources to be invoked when a rule is triggered. Target // types include EC2 instances, AWS Lambda functions, Amazon Kinesis streams, // Amazon ECS tasks, AWS Step Functions state machines, Run Command, and built-in @@ -2880,60 +2400,6 @@ func (s *Target) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *Target) SetArn(v string) *Target { - s.Arn = &v - return s -} - -// SetEcsParameters sets the EcsParameters field's value. -func (s *Target) SetEcsParameters(v *EcsParameters) *Target { - s.EcsParameters = v - return s -} - -// SetId sets the Id field's value. -func (s *Target) SetId(v string) *Target { - s.Id = &v - return s -} - -// SetInput sets the Input field's value. -func (s *Target) SetInput(v string) *Target { - s.Input = &v - return s -} - -// SetInputPath sets the InputPath field's value. -func (s *Target) SetInputPath(v string) *Target { - s.InputPath = &v - return s -} - -// SetInputTransformer sets the InputTransformer field's value. -func (s *Target) SetInputTransformer(v *InputTransformer) *Target { - s.InputTransformer = v - return s -} - -// SetKinesisParameters sets the KinesisParameters field's value. -func (s *Target) SetKinesisParameters(v *KinesisParameters) *Target { - s.KinesisParameters = v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *Target) SetRoleArn(v string) *Target { - s.RoleArn = &v - return s -} - -// SetRunCommandParameters sets the RunCommandParameters field's value. -func (s *Target) SetRunCommandParameters(v *RunCommandParameters) *Target { - s.RunCommandParameters = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/TestEventPatternRequest type TestEventPatternInput struct { _ struct{} `type:"structure"` @@ -2978,18 +2444,6 @@ func (s *TestEventPatternInput) Validate() error { return nil } -// SetEvent sets the Event field's value. -func (s *TestEventPatternInput) SetEvent(v string) *TestEventPatternInput { - s.Event = &v - return s -} - -// SetEventPattern sets the EventPattern field's value. -func (s *TestEventPatternInput) SetEventPattern(v string) *TestEventPatternInput { - s.EventPattern = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/TestEventPatternResponse type TestEventPatternOutput struct { _ struct{} `type:"structure"` @@ -3015,12 +2469,6 @@ func (s TestEventPatternOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResult sets the Result field's value. -func (s *TestEventPatternOutput) SetResult(v bool) *TestEventPatternOutput { - s.Result = &v - return s -} - type RuleState string // Enum values for RuleState diff --git a/service/cloudwatchlogs/api.go b/service/cloudwatchlogs/api.go index d5e63b26502..6d03fc37759 100644 --- a/service/cloudwatchlogs/api.go +++ b/service/cloudwatchlogs/api.go @@ -2284,18 +2284,6 @@ func (s *AssociateKmsKeyInput) Validate() error { return nil } -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *AssociateKmsKeyInput) SetKmsKeyId(v string) *AssociateKmsKeyInput { - s.KmsKeyId = &v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *AssociateKmsKeyInput) SetLogGroupName(v string) *AssociateKmsKeyInput { - s.LogGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/AssociateKmsKeyOutput type AssociateKmsKeyOutput struct { _ struct{} `type:"structure"` @@ -2355,12 +2343,6 @@ func (s *CancelExportTaskInput) Validate() error { return nil } -// SetTaskId sets the TaskId field's value. -func (s *CancelExportTaskInput) SetTaskId(v string) *CancelExportTaskInput { - s.TaskId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CancelExportTaskOutput type CancelExportTaskOutput struct { _ struct{} `type:"structure"` @@ -2472,48 +2454,6 @@ func (s *CreateExportTaskInput) Validate() error { return nil } -// SetDestination sets the Destination field's value. -func (s *CreateExportTaskInput) SetDestination(v string) *CreateExportTaskInput { - s.Destination = &v - return s -} - -// SetDestinationPrefix sets the DestinationPrefix field's value. -func (s *CreateExportTaskInput) SetDestinationPrefix(v string) *CreateExportTaskInput { - s.DestinationPrefix = &v - return s -} - -// SetFrom sets the From field's value. -func (s *CreateExportTaskInput) SetFrom(v int64) *CreateExportTaskInput { - s.From = &v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *CreateExportTaskInput) SetLogGroupName(v string) *CreateExportTaskInput { - s.LogGroupName = &v - return s -} - -// SetLogStreamNamePrefix sets the LogStreamNamePrefix field's value. -func (s *CreateExportTaskInput) SetLogStreamNamePrefix(v string) *CreateExportTaskInput { - s.LogStreamNamePrefix = &v - return s -} - -// SetTaskName sets the TaskName field's value. -func (s *CreateExportTaskInput) SetTaskName(v string) *CreateExportTaskInput { - s.TaskName = &v - return s -} - -// SetTo sets the To field's value. -func (s *CreateExportTaskInput) SetTo(v int64) *CreateExportTaskInput { - s.To = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateExportTaskResponse type CreateExportTaskOutput struct { _ struct{} `type:"structure"` @@ -2539,12 +2479,6 @@ func (s CreateExportTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTaskId sets the TaskId field's value. -func (s *CreateExportTaskOutput) SetTaskId(v string) *CreateExportTaskOutput { - s.TaskId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroupRequest type CreateLogGroupInput struct { _ struct{} `type:"structure"` @@ -2593,24 +2527,6 @@ func (s *CreateLogGroupInput) Validate() error { return nil } -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CreateLogGroupInput) SetKmsKeyId(v string) *CreateLogGroupInput { - s.KmsKeyId = &v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *CreateLogGroupInput) SetLogGroupName(v string) *CreateLogGroupInput { - s.LogGroupName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateLogGroupInput) SetTags(v map[string]string) *CreateLogGroupInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroupOutput type CreateLogGroupOutput struct { _ struct{} `type:"structure"` @@ -2682,18 +2598,6 @@ func (s *CreateLogStreamInput) Validate() error { return nil } -// SetLogGroupName sets the LogGroupName field's value. -func (s *CreateLogStreamInput) SetLogGroupName(v string) *CreateLogStreamInput { - s.LogGroupName = &v - return s -} - -// SetLogStreamName sets the LogStreamName field's value. -func (s *CreateLogStreamInput) SetLogStreamName(v string) *CreateLogStreamInput { - s.LogStreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogStreamOutput type CreateLogStreamOutput struct { _ struct{} `type:"structure"` @@ -2753,12 +2657,6 @@ func (s *DeleteDestinationInput) Validate() error { return nil } -// SetDestinationName sets the DestinationName field's value. -func (s *DeleteDestinationInput) SetDestinationName(v string) *DeleteDestinationInput { - s.DestinationName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDestinationOutput type DeleteDestinationOutput struct { _ struct{} `type:"structure"` @@ -2818,12 +2716,6 @@ func (s *DeleteLogGroupInput) Validate() error { return nil } -// SetLogGroupName sets the LogGroupName field's value. -func (s *DeleteLogGroupInput) SetLogGroupName(v string) *DeleteLogGroupInput { - s.LogGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogGroupOutput type DeleteLogGroupOutput struct { _ struct{} `type:"structure"` @@ -2895,18 +2787,6 @@ func (s *DeleteLogStreamInput) Validate() error { return nil } -// SetLogGroupName sets the LogGroupName field's value. -func (s *DeleteLogStreamInput) SetLogGroupName(v string) *DeleteLogStreamInput { - s.LogGroupName = &v - return s -} - -// SetLogStreamName sets the LogStreamName field's value. -func (s *DeleteLogStreamInput) SetLogStreamName(v string) *DeleteLogStreamInput { - s.LogStreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogStreamOutput type DeleteLogStreamOutput struct { _ struct{} `type:"structure"` @@ -2978,18 +2858,6 @@ func (s *DeleteMetricFilterInput) Validate() error { return nil } -// SetFilterName sets the FilterName field's value. -func (s *DeleteMetricFilterInput) SetFilterName(v string) *DeleteMetricFilterInput { - s.FilterName = &v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *DeleteMetricFilterInput) SetLogGroupName(v string) *DeleteMetricFilterInput { - s.LogGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteMetricFilterOutput type DeleteMetricFilterOutput struct { _ struct{} `type:"structure"` @@ -3030,12 +2898,6 @@ func (s DeleteResourcePolicyInput) GoString() string { return s.String() } -// SetPolicyName sets the PolicyName field's value. -func (s *DeleteResourcePolicyInput) SetPolicyName(v string) *DeleteResourcePolicyInput { - s.PolicyName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteResourcePolicyOutput type DeleteResourcePolicyOutput struct { _ struct{} `type:"structure"` @@ -3095,12 +2957,6 @@ func (s *DeleteRetentionPolicyInput) Validate() error { return nil } -// SetLogGroupName sets the LogGroupName field's value. -func (s *DeleteRetentionPolicyInput) SetLogGroupName(v string) *DeleteRetentionPolicyInput { - s.LogGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteRetentionPolicyOutput type DeleteRetentionPolicyOutput struct { _ struct{} `type:"structure"` @@ -3172,18 +3028,6 @@ func (s *DeleteSubscriptionFilterInput) Validate() error { return nil } -// SetFilterName sets the FilterName field's value. -func (s *DeleteSubscriptionFilterInput) SetFilterName(v string) *DeleteSubscriptionFilterInput { - s.FilterName = &v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *DeleteSubscriptionFilterInput) SetLogGroupName(v string) *DeleteSubscriptionFilterInput { - s.LogGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteSubscriptionFilterOutput type DeleteSubscriptionFilterOutput struct { _ struct{} `type:"structure"` @@ -3251,24 +3095,6 @@ func (s *DescribeDestinationsInput) Validate() error { return nil } -// SetDestinationNamePrefix sets the DestinationNamePrefix field's value. -func (s *DescribeDestinationsInput) SetDestinationNamePrefix(v string) *DescribeDestinationsInput { - s.DestinationNamePrefix = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeDestinationsInput) SetLimit(v int64) *DescribeDestinationsInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeDestinationsInput) SetNextToken(v string) *DescribeDestinationsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDestinationsResponse type DescribeDestinationsOutput struct { _ struct{} `type:"structure"` @@ -3298,18 +3124,6 @@ func (s DescribeDestinationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDestinations sets the Destinations field's value. -func (s *DescribeDestinationsOutput) SetDestinations(v []Destination) *DescribeDestinationsOutput { - s.Destinations = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeDestinationsOutput) SetNextToken(v string) *DescribeDestinationsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeExportTasksRequest type DescribeExportTasksInput struct { _ struct{} `type:"structure"` @@ -3360,30 +3174,6 @@ func (s *DescribeExportTasksInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *DescribeExportTasksInput) SetLimit(v int64) *DescribeExportTasksInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeExportTasksInput) SetNextToken(v string) *DescribeExportTasksInput { - s.NextToken = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *DescribeExportTasksInput) SetStatusCode(v ExportTaskStatusCode) *DescribeExportTasksInput { - s.StatusCode = v - return s -} - -// SetTaskId sets the TaskId field's value. -func (s *DescribeExportTasksInput) SetTaskId(v string) *DescribeExportTasksInput { - s.TaskId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeExportTasksResponse type DescribeExportTasksOutput struct { _ struct{} `type:"structure"` @@ -3413,18 +3203,6 @@ func (s DescribeExportTasksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExportTasks sets the ExportTasks field's value. -func (s *DescribeExportTasksOutput) SetExportTasks(v []ExportTask) *DescribeExportTasksOutput { - s.ExportTasks = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeExportTasksOutput) SetNextToken(v string) *DescribeExportTasksOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogGroupsRequest type DescribeLogGroupsInput struct { _ struct{} `type:"structure"` @@ -3470,24 +3248,6 @@ func (s *DescribeLogGroupsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *DescribeLogGroupsInput) SetLimit(v int64) *DescribeLogGroupsInput { - s.Limit = &v - return s -} - -// SetLogGroupNamePrefix sets the LogGroupNamePrefix field's value. -func (s *DescribeLogGroupsInput) SetLogGroupNamePrefix(v string) *DescribeLogGroupsInput { - s.LogGroupNamePrefix = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeLogGroupsInput) SetNextToken(v string) *DescribeLogGroupsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogGroupsResponse type DescribeLogGroupsOutput struct { _ struct{} `type:"structure"` @@ -3517,18 +3277,6 @@ func (s DescribeLogGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLogGroups sets the LogGroups field's value. -func (s *DescribeLogGroupsOutput) SetLogGroups(v []LogGroup) *DescribeLogGroupsOutput { - s.LogGroups = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeLogGroupsOutput) SetNextToken(v string) *DescribeLogGroupsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogStreamsRequest type DescribeLogStreamsInput struct { _ struct{} `type:"structure"` @@ -3607,42 +3355,6 @@ func (s *DescribeLogStreamsInput) Validate() error { return nil } -// SetDescending sets the Descending field's value. -func (s *DescribeLogStreamsInput) SetDescending(v bool) *DescribeLogStreamsInput { - s.Descending = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeLogStreamsInput) SetLimit(v int64) *DescribeLogStreamsInput { - s.Limit = &v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *DescribeLogStreamsInput) SetLogGroupName(v string) *DescribeLogStreamsInput { - s.LogGroupName = &v - return s -} - -// SetLogStreamNamePrefix sets the LogStreamNamePrefix field's value. -func (s *DescribeLogStreamsInput) SetLogStreamNamePrefix(v string) *DescribeLogStreamsInput { - s.LogStreamNamePrefix = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeLogStreamsInput) SetNextToken(v string) *DescribeLogStreamsInput { - s.NextToken = &v - return s -} - -// SetOrderBy sets the OrderBy field's value. -func (s *DescribeLogStreamsInput) SetOrderBy(v OrderBy) *DescribeLogStreamsInput { - s.OrderBy = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogStreamsResponse type DescribeLogStreamsOutput struct { _ struct{} `type:"structure"` @@ -3672,18 +3384,6 @@ func (s DescribeLogStreamsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLogStreams sets the LogStreams field's value. -func (s *DescribeLogStreamsOutput) SetLogStreams(v []LogStream) *DescribeLogStreamsOutput { - s.LogStreams = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeLogStreamsOutput) SetNextToken(v string) *DescribeLogStreamsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeMetricFiltersRequest type DescribeMetricFiltersInput struct { _ struct{} `type:"structure"` @@ -3742,42 +3442,6 @@ func (s *DescribeMetricFiltersInput) Validate() error { return nil } -// SetFilterNamePrefix sets the FilterNamePrefix field's value. -func (s *DescribeMetricFiltersInput) SetFilterNamePrefix(v string) *DescribeMetricFiltersInput { - s.FilterNamePrefix = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeMetricFiltersInput) SetLimit(v int64) *DescribeMetricFiltersInput { - s.Limit = &v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *DescribeMetricFiltersInput) SetLogGroupName(v string) *DescribeMetricFiltersInput { - s.LogGroupName = &v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *DescribeMetricFiltersInput) SetMetricName(v string) *DescribeMetricFiltersInput { - s.MetricName = &v - return s -} - -// SetMetricNamespace sets the MetricNamespace field's value. -func (s *DescribeMetricFiltersInput) SetMetricNamespace(v string) *DescribeMetricFiltersInput { - s.MetricNamespace = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeMetricFiltersInput) SetNextToken(v string) *DescribeMetricFiltersInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeMetricFiltersResponse type DescribeMetricFiltersOutput struct { _ struct{} `type:"structure"` @@ -3807,18 +3471,6 @@ func (s DescribeMetricFiltersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMetricFilters sets the MetricFilters field's value. -func (s *DescribeMetricFiltersOutput) SetMetricFilters(v []MetricFilter) *DescribeMetricFiltersOutput { - s.MetricFilters = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeMetricFiltersOutput) SetNextToken(v string) *DescribeMetricFiltersOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeResourcePoliciesRequest type DescribeResourcePoliciesInput struct { _ struct{} `type:"structure"` @@ -3858,18 +3510,6 @@ func (s *DescribeResourcePoliciesInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *DescribeResourcePoliciesInput) SetLimit(v int64) *DescribeResourcePoliciesInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeResourcePoliciesInput) SetNextToken(v string) *DescribeResourcePoliciesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeResourcePoliciesResponse type DescribeResourcePoliciesOutput struct { _ struct{} `type:"structure"` @@ -3899,18 +3539,6 @@ func (s DescribeResourcePoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeResourcePoliciesOutput) SetNextToken(v string) *DescribeResourcePoliciesOutput { - s.NextToken = &v - return s -} - -// SetResourcePolicies sets the ResourcePolicies field's value. -func (s *DescribeResourcePoliciesOutput) SetResourcePolicies(v []ResourcePolicy) *DescribeResourcePoliciesOutput { - s.ResourcePolicies = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeSubscriptionFiltersRequest type DescribeSubscriptionFiltersInput struct { _ struct{} `type:"structure"` @@ -3968,30 +3596,6 @@ func (s *DescribeSubscriptionFiltersInput) Validate() error { return nil } -// SetFilterNamePrefix sets the FilterNamePrefix field's value. -func (s *DescribeSubscriptionFiltersInput) SetFilterNamePrefix(v string) *DescribeSubscriptionFiltersInput { - s.FilterNamePrefix = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeSubscriptionFiltersInput) SetLimit(v int64) *DescribeSubscriptionFiltersInput { - s.Limit = &v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *DescribeSubscriptionFiltersInput) SetLogGroupName(v string) *DescribeSubscriptionFiltersInput { - s.LogGroupName = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeSubscriptionFiltersInput) SetNextToken(v string) *DescribeSubscriptionFiltersInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeSubscriptionFiltersResponse type DescribeSubscriptionFiltersOutput struct { _ struct{} `type:"structure"` @@ -4021,18 +3625,6 @@ func (s DescribeSubscriptionFiltersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeSubscriptionFiltersOutput) SetNextToken(v string) *DescribeSubscriptionFiltersOutput { - s.NextToken = &v - return s -} - -// SetSubscriptionFilters sets the SubscriptionFilters field's value. -func (s *DescribeSubscriptionFiltersOutput) SetSubscriptionFilters(v []SubscriptionFilter) *DescribeSubscriptionFiltersOutput { - s.SubscriptionFilters = v - return s -} - // Represents a cross-account destination that receives subscription log events. // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/Destination type Destination struct { @@ -4070,42 +3662,6 @@ func (s Destination) GoString() string { return s.String() } -// SetAccessPolicy sets the AccessPolicy field's value. -func (s *Destination) SetAccessPolicy(v string) *Destination { - s.AccessPolicy = &v - return s -} - -// SetArn sets the Arn field's value. -func (s *Destination) SetArn(v string) *Destination { - s.Arn = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *Destination) SetCreationTime(v int64) *Destination { - s.CreationTime = &v - return s -} - -// SetDestinationName sets the DestinationName field's value. -func (s *Destination) SetDestinationName(v string) *Destination { - s.DestinationName = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *Destination) SetRoleArn(v string) *Destination { - s.RoleArn = &v - return s -} - -// SetTargetArn sets the TargetArn field's value. -func (s *Destination) SetTargetArn(v string) *Destination { - s.TargetArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DisassociateKmsKeyRequest type DisassociateKmsKeyInput struct { _ struct{} `type:"structure"` @@ -4143,12 +3699,6 @@ func (s *DisassociateKmsKeyInput) Validate() error { return nil } -// SetLogGroupName sets the LogGroupName field's value. -func (s *DisassociateKmsKeyInput) SetLogGroupName(v string) *DisassociateKmsKeyInput { - s.LogGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DisassociateKmsKeyOutput type DisassociateKmsKeyOutput struct { _ struct{} `type:"structure"` @@ -4216,60 +3766,6 @@ func (s ExportTask) GoString() string { return s.String() } -// SetDestination sets the Destination field's value. -func (s *ExportTask) SetDestination(v string) *ExportTask { - s.Destination = &v - return s -} - -// SetDestinationPrefix sets the DestinationPrefix field's value. -func (s *ExportTask) SetDestinationPrefix(v string) *ExportTask { - s.DestinationPrefix = &v - return s -} - -// SetExecutionInfo sets the ExecutionInfo field's value. -func (s *ExportTask) SetExecutionInfo(v *ExportTaskExecutionInfo) *ExportTask { - s.ExecutionInfo = v - return s -} - -// SetFrom sets the From field's value. -func (s *ExportTask) SetFrom(v int64) *ExportTask { - s.From = &v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *ExportTask) SetLogGroupName(v string) *ExportTask { - s.LogGroupName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ExportTask) SetStatus(v *ExportTaskStatus) *ExportTask { - s.Status = v - return s -} - -// SetTaskId sets the TaskId field's value. -func (s *ExportTask) SetTaskId(v string) *ExportTask { - s.TaskId = &v - return s -} - -// SetTaskName sets the TaskName field's value. -func (s *ExportTask) SetTaskName(v string) *ExportTask { - s.TaskName = &v - return s -} - -// SetTo sets the To field's value. -func (s *ExportTask) SetTo(v int64) *ExportTask { - s.To = &v - return s -} - // Represents the status of an export task. // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ExportTaskExecutionInfo type ExportTaskExecutionInfo struct { @@ -4294,18 +3790,6 @@ func (s ExportTaskExecutionInfo) GoString() string { return s.String() } -// SetCompletionTime sets the CompletionTime field's value. -func (s *ExportTaskExecutionInfo) SetCompletionTime(v int64) *ExportTaskExecutionInfo { - s.CompletionTime = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *ExportTaskExecutionInfo) SetCreationTime(v int64) *ExportTaskExecutionInfo { - s.CreationTime = &v - return s -} - // Represents the status of an export task. // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ExportTaskStatus type ExportTaskStatus struct { @@ -4328,18 +3812,6 @@ func (s ExportTaskStatus) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *ExportTaskStatus) SetCode(v ExportTaskStatusCode) *ExportTaskStatus { - s.Code = v - return s -} - -// SetMessage sets the Message field's value. -func (s *ExportTaskStatus) SetMessage(v string) *ExportTaskStatus { - s.Message = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilterLogEventsRequest type FilterLogEventsInput struct { _ struct{} `type:"structure"` @@ -4416,54 +3888,6 @@ func (s *FilterLogEventsInput) Validate() error { return nil } -// SetEndTime sets the EndTime field's value. -func (s *FilterLogEventsInput) SetEndTime(v int64) *FilterLogEventsInput { - s.EndTime = &v - return s -} - -// SetFilterPattern sets the FilterPattern field's value. -func (s *FilterLogEventsInput) SetFilterPattern(v string) *FilterLogEventsInput { - s.FilterPattern = &v - return s -} - -// SetInterleaved sets the Interleaved field's value. -func (s *FilterLogEventsInput) SetInterleaved(v bool) *FilterLogEventsInput { - s.Interleaved = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *FilterLogEventsInput) SetLimit(v int64) *FilterLogEventsInput { - s.Limit = &v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *FilterLogEventsInput) SetLogGroupName(v string) *FilterLogEventsInput { - s.LogGroupName = &v - return s -} - -// SetLogStreamNames sets the LogStreamNames field's value. -func (s *FilterLogEventsInput) SetLogStreamNames(v []string) *FilterLogEventsInput { - s.LogStreamNames = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *FilterLogEventsInput) SetNextToken(v string) *FilterLogEventsInput { - s.NextToken = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *FilterLogEventsInput) SetStartTime(v int64) *FilterLogEventsInput { - s.StartTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilterLogEventsResponse type FilterLogEventsOutput struct { _ struct{} `type:"structure"` @@ -4497,24 +3921,6 @@ func (s FilterLogEventsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEvents sets the Events field's value. -func (s *FilterLogEventsOutput) SetEvents(v []FilteredLogEvent) *FilterLogEventsOutput { - s.Events = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *FilterLogEventsOutput) SetNextToken(v string) *FilterLogEventsOutput { - s.NextToken = &v - return s -} - -// SetSearchedLogStreams sets the SearchedLogStreams field's value. -func (s *FilterLogEventsOutput) SetSearchedLogStreams(v []SearchedLogStream) *FilterLogEventsOutput { - s.SearchedLogStreams = v - return s -} - // Represents a matched event. // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilteredLogEvent type FilteredLogEvent struct { @@ -4548,36 +3954,6 @@ func (s FilteredLogEvent) GoString() string { return s.String() } -// SetEventId sets the EventId field's value. -func (s *FilteredLogEvent) SetEventId(v string) *FilteredLogEvent { - s.EventId = &v - return s -} - -// SetIngestionTime sets the IngestionTime field's value. -func (s *FilteredLogEvent) SetIngestionTime(v int64) *FilteredLogEvent { - s.IngestionTime = &v - return s -} - -// SetLogStreamName sets the LogStreamName field's value. -func (s *FilteredLogEvent) SetLogStreamName(v string) *FilteredLogEvent { - s.LogStreamName = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *FilteredLogEvent) SetMessage(v string) *FilteredLogEvent { - s.Message = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *FilteredLogEvent) SetTimestamp(v int64) *FilteredLogEvent { - s.Timestamp = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEventsRequest type GetLogEventsInput struct { _ struct{} `type:"structure"` @@ -4657,48 +4033,6 @@ func (s *GetLogEventsInput) Validate() error { return nil } -// SetEndTime sets the EndTime field's value. -func (s *GetLogEventsInput) SetEndTime(v int64) *GetLogEventsInput { - s.EndTime = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *GetLogEventsInput) SetLimit(v int64) *GetLogEventsInput { - s.Limit = &v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *GetLogEventsInput) SetLogGroupName(v string) *GetLogEventsInput { - s.LogGroupName = &v - return s -} - -// SetLogStreamName sets the LogStreamName field's value. -func (s *GetLogEventsInput) SetLogStreamName(v string) *GetLogEventsInput { - s.LogStreamName = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetLogEventsInput) SetNextToken(v string) *GetLogEventsInput { - s.NextToken = &v - return s -} - -// SetStartFromHead sets the StartFromHead field's value. -func (s *GetLogEventsInput) SetStartFromHead(v bool) *GetLogEventsInput { - s.StartFromHead = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *GetLogEventsInput) SetStartTime(v int64) *GetLogEventsInput { - s.StartTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEventsResponse type GetLogEventsOutput struct { _ struct{} `type:"structure"` @@ -4732,24 +4066,6 @@ func (s GetLogEventsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEvents sets the Events field's value. -func (s *GetLogEventsOutput) SetEvents(v []OutputLogEvent) *GetLogEventsOutput { - s.Events = v - return s -} - -// SetNextBackwardToken sets the NextBackwardToken field's value. -func (s *GetLogEventsOutput) SetNextBackwardToken(v string) *GetLogEventsOutput { - s.NextBackwardToken = &v - return s -} - -// SetNextForwardToken sets the NextForwardToken field's value. -func (s *GetLogEventsOutput) SetNextForwardToken(v string) *GetLogEventsOutput { - s.NextForwardToken = &v - return s -} - // Represents a log event, which is a record of activity that was recorded by // the application or resource being monitored. // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/InputLogEvent @@ -4799,18 +4115,6 @@ func (s *InputLogEvent) Validate() error { return nil } -// SetMessage sets the Message field's value. -func (s *InputLogEvent) SetMessage(v string) *InputLogEvent { - s.Message = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *InputLogEvent) SetTimestamp(v int64) *InputLogEvent { - s.Timestamp = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListTagsLogGroupRequest type ListTagsLogGroupInput struct { _ struct{} `type:"structure"` @@ -4848,12 +4152,6 @@ func (s *ListTagsLogGroupInput) Validate() error { return nil } -// SetLogGroupName sets the LogGroupName field's value. -func (s *ListTagsLogGroupInput) SetLogGroupName(v string) *ListTagsLogGroupInput { - s.LogGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListTagsLogGroupResponse type ListTagsLogGroupOutput struct { _ struct{} `type:"structure"` @@ -4879,12 +4177,6 @@ func (s ListTagsLogGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTags sets the Tags field's value. -func (s *ListTagsLogGroupOutput) SetTags(v map[string]string) *ListTagsLogGroupOutput { - s.Tags = v - return s -} - // Represents a log group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LogGroup type LogGroup struct { @@ -4925,48 +4217,6 @@ func (s LogGroup) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *LogGroup) SetArn(v string) *LogGroup { - s.Arn = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *LogGroup) SetCreationTime(v int64) *LogGroup { - s.CreationTime = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *LogGroup) SetKmsKeyId(v string) *LogGroup { - s.KmsKeyId = &v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *LogGroup) SetLogGroupName(v string) *LogGroup { - s.LogGroupName = &v - return s -} - -// SetMetricFilterCount sets the MetricFilterCount field's value. -func (s *LogGroup) SetMetricFilterCount(v int64) *LogGroup { - s.MetricFilterCount = &v - return s -} - -// SetRetentionInDays sets the RetentionInDays field's value. -func (s *LogGroup) SetRetentionInDays(v int64) *LogGroup { - s.RetentionInDays = &v - return s -} - -// SetStoredBytes sets the StoredBytes field's value. -func (s *LogGroup) SetStoredBytes(v int64) *LogGroup { - s.StoredBytes = &v - return s -} - // Represents a log stream, which is a sequence of log events from a single // emitter of logs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/LogStream @@ -5015,54 +4265,6 @@ func (s LogStream) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *LogStream) SetArn(v string) *LogStream { - s.Arn = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *LogStream) SetCreationTime(v int64) *LogStream { - s.CreationTime = &v - return s -} - -// SetFirstEventTimestamp sets the FirstEventTimestamp field's value. -func (s *LogStream) SetFirstEventTimestamp(v int64) *LogStream { - s.FirstEventTimestamp = &v - return s -} - -// SetLastEventTimestamp sets the LastEventTimestamp field's value. -func (s *LogStream) SetLastEventTimestamp(v int64) *LogStream { - s.LastEventTimestamp = &v - return s -} - -// SetLastIngestionTime sets the LastIngestionTime field's value. -func (s *LogStream) SetLastIngestionTime(v int64) *LogStream { - s.LastIngestionTime = &v - return s -} - -// SetLogStreamName sets the LogStreamName field's value. -func (s *LogStream) SetLogStreamName(v string) *LogStream { - s.LogStreamName = &v - return s -} - -// SetStoredBytes sets the StoredBytes field's value. -func (s *LogStream) SetStoredBytes(v int64) *LogStream { - s.StoredBytes = &v - return s -} - -// SetUploadSequenceToken sets the UploadSequenceToken field's value. -func (s *LogStream) SetUploadSequenceToken(v string) *LogStream { - s.UploadSequenceToken = &v - return s -} - // Metric filters express how CloudWatch Logs would extract metric observations // from ingested log events and transform them into metric data in a CloudWatch // metric. @@ -5100,36 +4302,6 @@ func (s MetricFilter) GoString() string { return s.String() } -// SetCreationTime sets the CreationTime field's value. -func (s *MetricFilter) SetCreationTime(v int64) *MetricFilter { - s.CreationTime = &v - return s -} - -// SetFilterName sets the FilterName field's value. -func (s *MetricFilter) SetFilterName(v string) *MetricFilter { - s.FilterName = &v - return s -} - -// SetFilterPattern sets the FilterPattern field's value. -func (s *MetricFilter) SetFilterPattern(v string) *MetricFilter { - s.FilterPattern = &v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *MetricFilter) SetLogGroupName(v string) *MetricFilter { - s.LogGroupName = &v - return s -} - -// SetMetricTransformations sets the MetricTransformations field's value. -func (s *MetricFilter) SetMetricTransformations(v []MetricTransformation) *MetricFilter { - s.MetricTransformations = v - return s -} - // Represents a matched event. // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/MetricFilterMatchRecord type MetricFilterMatchRecord struct { @@ -5155,24 +4327,6 @@ func (s MetricFilterMatchRecord) GoString() string { return s.String() } -// SetEventMessage sets the EventMessage field's value. -func (s *MetricFilterMatchRecord) SetEventMessage(v string) *MetricFilterMatchRecord { - s.EventMessage = &v - return s -} - -// SetEventNumber sets the EventNumber field's value. -func (s *MetricFilterMatchRecord) SetEventNumber(v int64) *MetricFilterMatchRecord { - s.EventNumber = &v - return s -} - -// SetExtractedValues sets the ExtractedValues field's value. -func (s *MetricFilterMatchRecord) SetExtractedValues(v map[string]string) *MetricFilterMatchRecord { - s.ExtractedValues = v - return s -} - // Indicates how to transform ingested log events in to metric data in a CloudWatch // metric. // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/MetricTransformation @@ -5232,30 +4386,6 @@ func (s *MetricTransformation) Validate() error { return nil } -// SetDefaultValue sets the DefaultValue field's value. -func (s *MetricTransformation) SetDefaultValue(v float64) *MetricTransformation { - s.DefaultValue = &v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *MetricTransformation) SetMetricName(v string) *MetricTransformation { - s.MetricName = &v - return s -} - -// SetMetricNamespace sets the MetricNamespace field's value. -func (s *MetricTransformation) SetMetricNamespace(v string) *MetricTransformation { - s.MetricNamespace = &v - return s -} - -// SetMetricValue sets the MetricValue field's value. -func (s *MetricTransformation) SetMetricValue(v string) *MetricTransformation { - s.MetricValue = &v - return s -} - // Represents a log event. // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/OutputLogEvent type OutputLogEvent struct { @@ -5283,24 +4413,6 @@ func (s OutputLogEvent) GoString() string { return s.String() } -// SetIngestionTime sets the IngestionTime field's value. -func (s *OutputLogEvent) SetIngestionTime(v int64) *OutputLogEvent { - s.IngestionTime = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *OutputLogEvent) SetMessage(v string) *OutputLogEvent { - s.Message = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *OutputLogEvent) SetTimestamp(v int64) *OutputLogEvent { - s.Timestamp = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationRequest type PutDestinationInput struct { _ struct{} `type:"structure"` @@ -5363,24 +4475,6 @@ func (s *PutDestinationInput) Validate() error { return nil } -// SetDestinationName sets the DestinationName field's value. -func (s *PutDestinationInput) SetDestinationName(v string) *PutDestinationInput { - s.DestinationName = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *PutDestinationInput) SetRoleArn(v string) *PutDestinationInput { - s.RoleArn = &v - return s -} - -// SetTargetArn sets the TargetArn field's value. -func (s *PutDestinationInput) SetTargetArn(v string) *PutDestinationInput { - s.TargetArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationResponse type PutDestinationOutput struct { _ struct{} `type:"structure"` @@ -5406,12 +4500,6 @@ func (s PutDestinationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDestination sets the Destination field's value. -func (s *PutDestinationOutput) SetDestination(v *Destination) *PutDestinationOutput { - s.Destination = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicyRequest type PutDestinationPolicyInput struct { _ struct{} `type:"structure"` @@ -5462,18 +4550,6 @@ func (s *PutDestinationPolicyInput) Validate() error { return nil } -// SetAccessPolicy sets the AccessPolicy field's value. -func (s *PutDestinationPolicyInput) SetAccessPolicy(v string) *PutDestinationPolicyInput { - s.AccessPolicy = &v - return s -} - -// SetDestinationName sets the DestinationName field's value. -func (s *PutDestinationPolicyInput) SetDestinationName(v string) *PutDestinationPolicyInput { - s.DestinationName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicyOutput type PutDestinationPolicyOutput struct { _ struct{} `type:"structure"` @@ -5574,30 +4650,6 @@ func (s *PutLogEventsInput) Validate() error { return nil } -// SetLogEvents sets the LogEvents field's value. -func (s *PutLogEventsInput) SetLogEvents(v []InputLogEvent) *PutLogEventsInput { - s.LogEvents = v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *PutLogEventsInput) SetLogGroupName(v string) *PutLogEventsInput { - s.LogGroupName = &v - return s -} - -// SetLogStreamName sets the LogStreamName field's value. -func (s *PutLogEventsInput) SetLogStreamName(v string) *PutLogEventsInput { - s.LogStreamName = &v - return s -} - -// SetSequenceToken sets the SequenceToken field's value. -func (s *PutLogEventsInput) SetSequenceToken(v string) *PutLogEventsInput { - s.SequenceToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEventsResponse type PutLogEventsOutput struct { _ struct{} `type:"structure"` @@ -5626,18 +4678,6 @@ func (s PutLogEventsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextSequenceToken sets the NextSequenceToken field's value. -func (s *PutLogEventsOutput) SetNextSequenceToken(v string) *PutLogEventsOutput { - s.NextSequenceToken = &v - return s -} - -// SetRejectedLogEventsInfo sets the RejectedLogEventsInfo field's value. -func (s *PutLogEventsOutput) SetRejectedLogEventsInfo(v *RejectedLogEventsInfo) *PutLogEventsOutput { - s.RejectedLogEventsInfo = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutMetricFilterRequest type PutMetricFilterInput struct { _ struct{} `type:"structure"` @@ -5715,30 +4755,6 @@ func (s *PutMetricFilterInput) Validate() error { return nil } -// SetFilterName sets the FilterName field's value. -func (s *PutMetricFilterInput) SetFilterName(v string) *PutMetricFilterInput { - s.FilterName = &v - return s -} - -// SetFilterPattern sets the FilterPattern field's value. -func (s *PutMetricFilterInput) SetFilterPattern(v string) *PutMetricFilterInput { - s.FilterPattern = &v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *PutMetricFilterInput) SetLogGroupName(v string) *PutMetricFilterInput { - s.LogGroupName = &v - return s -} - -// SetMetricTransformations sets the MetricTransformations field's value. -func (s *PutMetricFilterInput) SetMetricTransformations(v []MetricTransformation) *PutMetricFilterInput { - s.MetricTransformations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutMetricFilterOutput type PutMetricFilterOutput struct { _ struct{} `type:"structure"` @@ -5804,18 +4820,6 @@ func (s *PutResourcePolicyInput) Validate() error { return nil } -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *PutResourcePolicyInput) SetPolicyDocument(v string) *PutResourcePolicyInput { - s.PolicyDocument = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *PutResourcePolicyInput) SetPolicyName(v string) *PutResourcePolicyInput { - s.PolicyName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutResourcePolicyResponse type PutResourcePolicyOutput struct { _ struct{} `type:"structure"` @@ -5841,12 +4845,6 @@ func (s PutResourcePolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResourcePolicy sets the ResourcePolicy field's value. -func (s *PutResourcePolicyOutput) SetResourcePolicy(v *ResourcePolicy) *PutResourcePolicyOutput { - s.ResourcePolicy = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutRetentionPolicyRequest type PutRetentionPolicyInput struct { _ struct{} `type:"structure"` @@ -5895,18 +4893,6 @@ func (s *PutRetentionPolicyInput) Validate() error { return nil } -// SetLogGroupName sets the LogGroupName field's value. -func (s *PutRetentionPolicyInput) SetLogGroupName(v string) *PutRetentionPolicyInput { - s.LogGroupName = &v - return s -} - -// SetRetentionInDays sets the RetentionInDays field's value. -func (s *PutRetentionPolicyInput) SetRetentionInDays(v int64) *PutRetentionPolicyInput { - s.RetentionInDays = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutRetentionPolicyOutput type PutRetentionPolicyOutput struct { _ struct{} `type:"structure"` @@ -6030,42 +5016,6 @@ func (s *PutSubscriptionFilterInput) Validate() error { return nil } -// SetDestinationArn sets the DestinationArn field's value. -func (s *PutSubscriptionFilterInput) SetDestinationArn(v string) *PutSubscriptionFilterInput { - s.DestinationArn = &v - return s -} - -// SetDistribution sets the Distribution field's value. -func (s *PutSubscriptionFilterInput) SetDistribution(v Distribution) *PutSubscriptionFilterInput { - s.Distribution = v - return s -} - -// SetFilterName sets the FilterName field's value. -func (s *PutSubscriptionFilterInput) SetFilterName(v string) *PutSubscriptionFilterInput { - s.FilterName = &v - return s -} - -// SetFilterPattern sets the FilterPattern field's value. -func (s *PutSubscriptionFilterInput) SetFilterPattern(v string) *PutSubscriptionFilterInput { - s.FilterPattern = &v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *PutSubscriptionFilterInput) SetLogGroupName(v string) *PutSubscriptionFilterInput { - s.LogGroupName = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *PutSubscriptionFilterInput) SetRoleArn(v string) *PutSubscriptionFilterInput { - s.RoleArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSubscriptionFilterOutput type PutSubscriptionFilterOutput struct { _ struct{} `type:"structure"` @@ -6113,24 +5063,6 @@ func (s RejectedLogEventsInfo) GoString() string { return s.String() } -// SetExpiredLogEventEndIndex sets the ExpiredLogEventEndIndex field's value. -func (s *RejectedLogEventsInfo) SetExpiredLogEventEndIndex(v int64) *RejectedLogEventsInfo { - s.ExpiredLogEventEndIndex = &v - return s -} - -// SetTooNewLogEventStartIndex sets the TooNewLogEventStartIndex field's value. -func (s *RejectedLogEventsInfo) SetTooNewLogEventStartIndex(v int64) *RejectedLogEventsInfo { - s.TooNewLogEventStartIndex = &v - return s -} - -// SetTooOldLogEventEndIndex sets the TooOldLogEventEndIndex field's value. -func (s *RejectedLogEventsInfo) SetTooOldLogEventEndIndex(v int64) *RejectedLogEventsInfo { - s.TooOldLogEventEndIndex = &v - return s -} - // A policy enabling one or more entities to put logs to a log group in this // account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ResourcePolicy @@ -6158,24 +5090,6 @@ func (s ResourcePolicy) GoString() string { return s.String() } -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *ResourcePolicy) SetLastUpdatedTime(v int64) *ResourcePolicy { - s.LastUpdatedTime = &v - return s -} - -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *ResourcePolicy) SetPolicyDocument(v string) *ResourcePolicy { - s.PolicyDocument = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *ResourcePolicy) SetPolicyName(v string) *ResourcePolicy { - s.PolicyName = &v - return s -} - // Represents the search status of a log stream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/SearchedLogStream type SearchedLogStream struct { @@ -6198,18 +5112,6 @@ func (s SearchedLogStream) GoString() string { return s.String() } -// SetLogStreamName sets the LogStreamName field's value. -func (s *SearchedLogStream) SetLogStreamName(v string) *SearchedLogStream { - s.LogStreamName = &v - return s -} - -// SetSearchedCompletely sets the SearchedCompletely field's value. -func (s *SearchedLogStream) SetSearchedCompletely(v bool) *SearchedLogStream { - s.SearchedCompletely = &v - return s -} - // Represents a subscription filter. // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/SubscriptionFilter type SubscriptionFilter struct { @@ -6251,48 +5153,6 @@ func (s SubscriptionFilter) GoString() string { return s.String() } -// SetCreationTime sets the CreationTime field's value. -func (s *SubscriptionFilter) SetCreationTime(v int64) *SubscriptionFilter { - s.CreationTime = &v - return s -} - -// SetDestinationArn sets the DestinationArn field's value. -func (s *SubscriptionFilter) SetDestinationArn(v string) *SubscriptionFilter { - s.DestinationArn = &v - return s -} - -// SetDistribution sets the Distribution field's value. -func (s *SubscriptionFilter) SetDistribution(v Distribution) *SubscriptionFilter { - s.Distribution = v - return s -} - -// SetFilterName sets the FilterName field's value. -func (s *SubscriptionFilter) SetFilterName(v string) *SubscriptionFilter { - s.FilterName = &v - return s -} - -// SetFilterPattern sets the FilterPattern field's value. -func (s *SubscriptionFilter) SetFilterPattern(v string) *SubscriptionFilter { - s.FilterPattern = &v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *SubscriptionFilter) SetLogGroupName(v string) *SubscriptionFilter { - s.LogGroupName = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *SubscriptionFilter) SetRoleArn(v string) *SubscriptionFilter { - s.RoleArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TagLogGroupRequest type TagLogGroupInput struct { _ struct{} `type:"structure"` @@ -6342,18 +5202,6 @@ func (s *TagLogGroupInput) Validate() error { return nil } -// SetLogGroupName sets the LogGroupName field's value. -func (s *TagLogGroupInput) SetLogGroupName(v string) *TagLogGroupInput { - s.LogGroupName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagLogGroupInput) SetTags(v map[string]string) *TagLogGroupInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TagLogGroupOutput type TagLogGroupOutput struct { _ struct{} `type:"structure"` @@ -6425,18 +5273,6 @@ func (s *TestMetricFilterInput) Validate() error { return nil } -// SetFilterPattern sets the FilterPattern field's value. -func (s *TestMetricFilterInput) SetFilterPattern(v string) *TestMetricFilterInput { - s.FilterPattern = &v - return s -} - -// SetLogEventMessages sets the LogEventMessages field's value. -func (s *TestMetricFilterInput) SetLogEventMessages(v []string) *TestMetricFilterInput { - s.LogEventMessages = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TestMetricFilterResponse type TestMetricFilterOutput struct { _ struct{} `type:"structure"` @@ -6462,12 +5298,6 @@ func (s TestMetricFilterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMatches sets the Matches field's value. -func (s *TestMetricFilterOutput) SetMatches(v []MetricFilterMatchRecord) *TestMetricFilterOutput { - s.Matches = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UntagLogGroupRequest type UntagLogGroupInput struct { _ struct{} `type:"structure"` @@ -6517,18 +5347,6 @@ func (s *UntagLogGroupInput) Validate() error { return nil } -// SetLogGroupName sets the LogGroupName field's value. -func (s *UntagLogGroupInput) SetLogGroupName(v string) *UntagLogGroupInput { - s.LogGroupName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *UntagLogGroupInput) SetTags(v []string) *UntagLogGroupInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UntagLogGroupOutput type UntagLogGroupOutput struct { _ struct{} `type:"structure"` diff --git a/service/codebuild/api.go b/service/codebuild/api.go index d59a38244ab..b8059a8cce7 100644 --- a/service/codebuild/api.go +++ b/service/codebuild/api.go @@ -797,12 +797,6 @@ func (s *BatchDeleteBuildsInput) Validate() error { return nil } -// SetIds sets the Ids field's value. -func (s *BatchDeleteBuildsInput) SetIds(v []string) *BatchDeleteBuildsInput { - s.Ids = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchDeleteBuildsOutput type BatchDeleteBuildsOutput struct { _ struct{} `type:"structure"` @@ -831,18 +825,6 @@ func (s BatchDeleteBuildsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBuildsDeleted sets the BuildsDeleted field's value. -func (s *BatchDeleteBuildsOutput) SetBuildsDeleted(v []string) *BatchDeleteBuildsOutput { - s.BuildsDeleted = v - return s -} - -// SetBuildsNotDeleted sets the BuildsNotDeleted field's value. -func (s *BatchDeleteBuildsOutput) SetBuildsNotDeleted(v []BuildNotDeleted) *BatchDeleteBuildsOutput { - s.BuildsNotDeleted = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuildsInput type BatchGetBuildsInput struct { _ struct{} `type:"structure"` @@ -880,12 +862,6 @@ func (s *BatchGetBuildsInput) Validate() error { return nil } -// SetIds sets the Ids field's value. -func (s *BatchGetBuildsInput) SetIds(v []string) *BatchGetBuildsInput { - s.Ids = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuildsOutput type BatchGetBuildsOutput struct { _ struct{} `type:"structure"` @@ -914,18 +890,6 @@ func (s BatchGetBuildsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBuilds sets the Builds field's value. -func (s *BatchGetBuildsOutput) SetBuilds(v []Build) *BatchGetBuildsOutput { - s.Builds = v - return s -} - -// SetBuildsNotFound sets the BuildsNotFound field's value. -func (s *BatchGetBuildsOutput) SetBuildsNotFound(v []string) *BatchGetBuildsOutput { - s.BuildsNotFound = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetProjectsInput type BatchGetProjectsInput struct { _ struct{} `type:"structure"` @@ -963,12 +927,6 @@ func (s *BatchGetProjectsInput) Validate() error { return nil } -// SetNames sets the Names field's value. -func (s *BatchGetProjectsInput) SetNames(v []string) *BatchGetProjectsInput { - s.Names = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetProjectsOutput type BatchGetProjectsOutput struct { _ struct{} `type:"structure"` @@ -997,18 +955,6 @@ func (s BatchGetProjectsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetProjects sets the Projects field's value. -func (s *BatchGetProjectsOutput) SetProjects(v []Project) *BatchGetProjectsOutput { - s.Projects = v - return s -} - -// SetProjectsNotFound sets the ProjectsNotFound field's value. -func (s *BatchGetProjectsOutput) SetProjectsNotFound(v []string) *BatchGetProjectsOutput { - s.ProjectsNotFound = v - return s -} - // Information about a build. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Build type Build struct { @@ -1108,120 +1054,6 @@ func (s Build) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Build) SetArn(v string) *Build { - s.Arn = &v - return s -} - -// SetArtifacts sets the Artifacts field's value. -func (s *Build) SetArtifacts(v *BuildArtifacts) *Build { - s.Artifacts = v - return s -} - -// SetBuildComplete sets the BuildComplete field's value. -func (s *Build) SetBuildComplete(v bool) *Build { - s.BuildComplete = &v - return s -} - -// SetBuildStatus sets the BuildStatus field's value. -func (s *Build) SetBuildStatus(v StatusType) *Build { - s.BuildStatus = v - return s -} - -// SetCache sets the Cache field's value. -func (s *Build) SetCache(v *ProjectCache) *Build { - s.Cache = v - return s -} - -// SetCurrentPhase sets the CurrentPhase field's value. -func (s *Build) SetCurrentPhase(v string) *Build { - s.CurrentPhase = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *Build) SetEndTime(v time.Time) *Build { - s.EndTime = &v - return s -} - -// SetEnvironment sets the Environment field's value. -func (s *Build) SetEnvironment(v *ProjectEnvironment) *Build { - s.Environment = v - return s -} - -// SetId sets the Id field's value. -func (s *Build) SetId(v string) *Build { - s.Id = &v - return s -} - -// SetInitiator sets the Initiator field's value. -func (s *Build) SetInitiator(v string) *Build { - s.Initiator = &v - return s -} - -// SetLogs sets the Logs field's value. -func (s *Build) SetLogs(v *LogsLocation) *Build { - s.Logs = v - return s -} - -// SetNetworkInterface sets the NetworkInterface field's value. -func (s *Build) SetNetworkInterface(v *NetworkInterface) *Build { - s.NetworkInterface = v - return s -} - -// SetPhases sets the Phases field's value. -func (s *Build) SetPhases(v []BuildPhase) *Build { - s.Phases = v - return s -} - -// SetProjectName sets the ProjectName field's value. -func (s *Build) SetProjectName(v string) *Build { - s.ProjectName = &v - return s -} - -// SetSource sets the Source field's value. -func (s *Build) SetSource(v *ProjectSource) *Build { - s.Source = v - return s -} - -// SetSourceVersion sets the SourceVersion field's value. -func (s *Build) SetSourceVersion(v string) *Build { - s.SourceVersion = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *Build) SetStartTime(v time.Time) *Build { - s.StartTime = &v - return s -} - -// SetTimeoutInMinutes sets the TimeoutInMinutes field's value. -func (s *Build) SetTimeoutInMinutes(v int64) *Build { - s.TimeoutInMinutes = &v - return s -} - -// SetVpcConfig sets the VpcConfig field's value. -func (s *Build) SetVpcConfig(v *VpcConfig) *Build { - s.VpcConfig = v - return s -} - // Information about build output artifacts. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildArtifacts type BuildArtifacts struct { @@ -1259,24 +1091,6 @@ func (s BuildArtifacts) GoString() string { return s.String() } -// SetLocation sets the Location field's value. -func (s *BuildArtifacts) SetLocation(v string) *BuildArtifacts { - s.Location = &v - return s -} - -// SetMd5sum sets the Md5sum field's value. -func (s *BuildArtifacts) SetMd5sum(v string) *BuildArtifacts { - s.Md5sum = &v - return s -} - -// SetSha256sum sets the Sha256sum field's value. -func (s *BuildArtifacts) SetSha256sum(v string) *BuildArtifacts { - s.Sha256sum = &v - return s -} - // Information about a build that could not be successfully deleted. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildNotDeleted type BuildNotDeleted struct { @@ -1299,18 +1113,6 @@ func (s BuildNotDeleted) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *BuildNotDeleted) SetId(v string) *BuildNotDeleted { - s.Id = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *BuildNotDeleted) SetStatusCode(v string) *BuildNotDeleted { - s.StatusCode = &v - return s -} - // Information about a stage for a build. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildPhase type BuildPhase struct { @@ -1380,42 +1182,6 @@ func (s BuildPhase) GoString() string { return s.String() } -// SetContexts sets the Contexts field's value. -func (s *BuildPhase) SetContexts(v []PhaseContext) *BuildPhase { - s.Contexts = v - return s -} - -// SetDurationInSeconds sets the DurationInSeconds field's value. -func (s *BuildPhase) SetDurationInSeconds(v int64) *BuildPhase { - s.DurationInSeconds = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *BuildPhase) SetEndTime(v time.Time) *BuildPhase { - s.EndTime = &v - return s -} - -// SetPhaseStatus sets the PhaseStatus field's value. -func (s *BuildPhase) SetPhaseStatus(v StatusType) *BuildPhase { - s.PhaseStatus = v - return s -} - -// SetPhaseType sets the PhaseType field's value. -func (s *BuildPhase) SetPhaseType(v BuildPhaseType) *BuildPhase { - s.PhaseType = v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *BuildPhase) SetStartTime(v time.Time) *BuildPhase { - s.StartTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProjectInput type CreateProjectInput struct { _ struct{} `type:"structure"` @@ -1558,78 +1324,6 @@ func (s *CreateProjectInput) Validate() error { return nil } -// SetArtifacts sets the Artifacts field's value. -func (s *CreateProjectInput) SetArtifacts(v *ProjectArtifacts) *CreateProjectInput { - s.Artifacts = v - return s -} - -// SetBadgeEnabled sets the BadgeEnabled field's value. -func (s *CreateProjectInput) SetBadgeEnabled(v bool) *CreateProjectInput { - s.BadgeEnabled = &v - return s -} - -// SetCache sets the Cache field's value. -func (s *CreateProjectInput) SetCache(v *ProjectCache) *CreateProjectInput { - s.Cache = v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateProjectInput) SetDescription(v string) *CreateProjectInput { - s.Description = &v - return s -} - -// SetEncryptionKey sets the EncryptionKey field's value. -func (s *CreateProjectInput) SetEncryptionKey(v string) *CreateProjectInput { - s.EncryptionKey = &v - return s -} - -// SetEnvironment sets the Environment field's value. -func (s *CreateProjectInput) SetEnvironment(v *ProjectEnvironment) *CreateProjectInput { - s.Environment = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateProjectInput) SetName(v string) *CreateProjectInput { - s.Name = &v - return s -} - -// SetServiceRole sets the ServiceRole field's value. -func (s *CreateProjectInput) SetServiceRole(v string) *CreateProjectInput { - s.ServiceRole = &v - return s -} - -// SetSource sets the Source field's value. -func (s *CreateProjectInput) SetSource(v *ProjectSource) *CreateProjectInput { - s.Source = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateProjectInput) SetTags(v []Tag) *CreateProjectInput { - s.Tags = v - return s -} - -// SetTimeoutInMinutes sets the TimeoutInMinutes field's value. -func (s *CreateProjectInput) SetTimeoutInMinutes(v int64) *CreateProjectInput { - s.TimeoutInMinutes = &v - return s -} - -// SetVpcConfig sets the VpcConfig field's value. -func (s *CreateProjectInput) SetVpcConfig(v *VpcConfig) *CreateProjectInput { - s.VpcConfig = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProjectOutput type CreateProjectOutput struct { _ struct{} `type:"structure"` @@ -1655,12 +1349,6 @@ func (s CreateProjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetProject sets the Project field's value. -func (s *CreateProjectOutput) SetProject(v *Project) *CreateProjectOutput { - s.Project = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhookInput type CreateWebhookInput struct { _ struct{} `type:"structure"` @@ -1698,12 +1386,6 @@ func (s *CreateWebhookInput) Validate() error { return nil } -// SetProjectName sets the ProjectName field's value. -func (s *CreateWebhookInput) SetProjectName(v string) *CreateWebhookInput { - s.ProjectName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhookOutput type CreateWebhookOutput struct { _ struct{} `type:"structure"` @@ -1730,12 +1412,6 @@ func (s CreateWebhookOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetWebhook sets the Webhook field's value. -func (s *CreateWebhookOutput) SetWebhook(v *Webhook) *CreateWebhookOutput { - s.Webhook = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteProjectInput type DeleteProjectInput struct { _ struct{} `type:"structure"` @@ -1773,12 +1449,6 @@ func (s *DeleteProjectInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteProjectInput) SetName(v string) *DeleteProjectInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteProjectOutput type DeleteProjectOutput struct { _ struct{} `type:"structure"` @@ -1838,12 +1508,6 @@ func (s *DeleteWebhookInput) Validate() error { return nil } -// SetProjectName sets the ProjectName field's value. -func (s *DeleteWebhookInput) SetProjectName(v string) *DeleteWebhookInput { - s.ProjectName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhookOutput type DeleteWebhookOutput struct { _ struct{} `type:"structure"` @@ -1891,24 +1555,6 @@ func (s EnvironmentImage) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *EnvironmentImage) SetDescription(v string) *EnvironmentImage { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *EnvironmentImage) SetName(v string) *EnvironmentImage { - s.Name = &v - return s -} - -// SetVersions sets the Versions field's value. -func (s *EnvironmentImage) SetVersions(v []string) *EnvironmentImage { - s.Versions = v - return s -} - // A set of Docker images that are related by programming language and are managed // by AWS CodeBuild. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentLanguage @@ -1932,18 +1578,6 @@ func (s EnvironmentLanguage) GoString() string { return s.String() } -// SetImages sets the Images field's value. -func (s *EnvironmentLanguage) SetImages(v []EnvironmentImage) *EnvironmentLanguage { - s.Images = v - return s -} - -// SetLanguage sets the Language field's value. -func (s *EnvironmentLanguage) SetLanguage(v LanguageType) *EnvironmentLanguage { - s.Language = v - return s -} - // A set of Docker images that are related by platform and are managed by AWS // CodeBuild. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentPlatform @@ -1967,18 +1601,6 @@ func (s EnvironmentPlatform) GoString() string { return s.String() } -// SetLanguages sets the Languages field's value. -func (s *EnvironmentPlatform) SetLanguages(v []EnvironmentLanguage) *EnvironmentPlatform { - s.Languages = v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *EnvironmentPlatform) SetPlatform(v PlatformType) *EnvironmentPlatform { - s.Platform = v - return s -} - // Information about an environment variable for a build project or a build. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentVariable type EnvironmentVariable struct { @@ -2039,24 +1661,6 @@ func (s *EnvironmentVariable) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *EnvironmentVariable) SetName(v string) *EnvironmentVariable { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *EnvironmentVariable) SetType(v EnvironmentVariableType) *EnvironmentVariable { - s.Type = v - return s -} - -// SetValue sets the Value field's value. -func (s *EnvironmentVariable) SetValue(v string) *EnvironmentVariable { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCacheInput type InvalidateProjectCacheInput struct { _ struct{} `type:"structure"` @@ -2094,12 +1698,6 @@ func (s *InvalidateProjectCacheInput) Validate() error { return nil } -// SetProjectName sets the ProjectName field's value. -func (s *InvalidateProjectCacheInput) SetProjectName(v string) *InvalidateProjectCacheInput { - s.ProjectName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCacheOutput type InvalidateProjectCacheOutput struct { _ struct{} `type:"structure"` @@ -2174,24 +1772,6 @@ func (s *ListBuildsForProjectInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *ListBuildsForProjectInput) SetNextToken(v string) *ListBuildsForProjectInput { - s.NextToken = &v - return s -} - -// SetProjectName sets the ProjectName field's value. -func (s *ListBuildsForProjectInput) SetProjectName(v string) *ListBuildsForProjectInput { - s.ProjectName = &v - return s -} - -// SetSortOrder sets the SortOrder field's value. -func (s *ListBuildsForProjectInput) SetSortOrder(v SortOrderType) *ListBuildsForProjectInput { - s.SortOrder = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsForProjectOutput type ListBuildsForProjectOutput struct { _ struct{} `type:"structure"` @@ -2224,18 +1804,6 @@ func (s ListBuildsForProjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIds sets the Ids field's value. -func (s *ListBuildsForProjectOutput) SetIds(v []string) *ListBuildsForProjectOutput { - s.Ids = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListBuildsForProjectOutput) SetNextToken(v string) *ListBuildsForProjectOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsInput type ListBuildsInput struct { _ struct{} `type:"structure"` @@ -2266,18 +1834,6 @@ func (s ListBuildsInput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListBuildsInput) SetNextToken(v string) *ListBuildsInput { - s.NextToken = &v - return s -} - -// SetSortOrder sets the SortOrder field's value. -func (s *ListBuildsInput) SetSortOrder(v SortOrderType) *ListBuildsInput { - s.SortOrder = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsOutput type ListBuildsOutput struct { _ struct{} `type:"structure"` @@ -2309,18 +1865,6 @@ func (s ListBuildsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIds sets the Ids field's value. -func (s *ListBuildsOutput) SetIds(v []string) *ListBuildsOutput { - s.Ids = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListBuildsOutput) SetNextToken(v string) *ListBuildsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImagesInput type ListCuratedEnvironmentImagesInput struct { _ struct{} `type:"structure"` @@ -2362,12 +1906,6 @@ func (s ListCuratedEnvironmentImagesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPlatforms sets the Platforms field's value. -func (s *ListCuratedEnvironmentImagesOutput) SetPlatforms(v []EnvironmentPlatform) *ListCuratedEnvironmentImagesOutput { - s.Platforms = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListProjectsInput type ListProjectsInput struct { _ struct{} `type:"structure"` @@ -2427,24 +1965,6 @@ func (s *ListProjectsInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *ListProjectsInput) SetNextToken(v string) *ListProjectsInput { - s.NextToken = &v - return s -} - -// SetSortBy sets the SortBy field's value. -func (s *ListProjectsInput) SetSortBy(v ProjectSortByType) *ListProjectsInput { - s.SortBy = v - return s -} - -// SetSortOrder sets the SortOrder field's value. -func (s *ListProjectsInput) SetSortOrder(v SortOrderType) *ListProjectsInput { - s.SortOrder = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListProjectsOutput type ListProjectsOutput struct { _ struct{} `type:"structure"` @@ -2477,18 +1997,6 @@ func (s ListProjectsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListProjectsOutput) SetNextToken(v string) *ListProjectsOutput { - s.NextToken = &v - return s -} - -// SetProjects sets the Projects field's value. -func (s *ListProjectsOutput) SetProjects(v []string) *ListProjectsOutput { - s.Projects = v - return s -} - // Information about build logs in Amazon CloudWatch Logs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/LogsLocation type LogsLocation struct { @@ -2514,24 +2022,6 @@ func (s LogsLocation) GoString() string { return s.String() } -// SetDeepLink sets the DeepLink field's value. -func (s *LogsLocation) SetDeepLink(v string) *LogsLocation { - s.DeepLink = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *LogsLocation) SetGroupName(v string) *LogsLocation { - s.GroupName = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *LogsLocation) SetStreamName(v string) *LogsLocation { - s.StreamName = &v - return s -} - // Describes a network interface. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/NetworkInterface type NetworkInterface struct { @@ -2554,18 +2044,6 @@ func (s NetworkInterface) GoString() string { return s.String() } -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *NetworkInterface) SetNetworkInterfaceId(v string) *NetworkInterface { - s.NetworkInterfaceId = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *NetworkInterface) SetSubnetId(v string) *NetworkInterface { - s.SubnetId = &v - return s -} - // Additional information about a build phase that has an error. You can use // this information to help troubleshoot a failed build. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/PhaseContext @@ -2590,18 +2068,6 @@ func (s PhaseContext) GoString() string { return s.String() } -// SetMessage sets the Message field's value. -func (s *PhaseContext) SetMessage(v string) *PhaseContext { - s.Message = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *PhaseContext) SetStatusCode(v string) *PhaseContext { - s.StatusCode = &v - return s -} - // Information about a build project. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Project type Project struct { @@ -2679,102 +2145,6 @@ func (s Project) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Project) SetArn(v string) *Project { - s.Arn = &v - return s -} - -// SetArtifacts sets the Artifacts field's value. -func (s *Project) SetArtifacts(v *ProjectArtifacts) *Project { - s.Artifacts = v - return s -} - -// SetBadge sets the Badge field's value. -func (s *Project) SetBadge(v *ProjectBadge) *Project { - s.Badge = v - return s -} - -// SetCache sets the Cache field's value. -func (s *Project) SetCache(v *ProjectCache) *Project { - s.Cache = v - return s -} - -// SetCreated sets the Created field's value. -func (s *Project) SetCreated(v time.Time) *Project { - s.Created = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Project) SetDescription(v string) *Project { - s.Description = &v - return s -} - -// SetEncryptionKey sets the EncryptionKey field's value. -func (s *Project) SetEncryptionKey(v string) *Project { - s.EncryptionKey = &v - return s -} - -// SetEnvironment sets the Environment field's value. -func (s *Project) SetEnvironment(v *ProjectEnvironment) *Project { - s.Environment = v - return s -} - -// SetLastModified sets the LastModified field's value. -func (s *Project) SetLastModified(v time.Time) *Project { - s.LastModified = &v - return s -} - -// SetName sets the Name field's value. -func (s *Project) SetName(v string) *Project { - s.Name = &v - return s -} - -// SetServiceRole sets the ServiceRole field's value. -func (s *Project) SetServiceRole(v string) *Project { - s.ServiceRole = &v - return s -} - -// SetSource sets the Source field's value. -func (s *Project) SetSource(v *ProjectSource) *Project { - s.Source = v - return s -} - -// SetTags sets the Tags field's value. -func (s *Project) SetTags(v []Tag) *Project { - s.Tags = v - return s -} - -// SetTimeoutInMinutes sets the TimeoutInMinutes field's value. -func (s *Project) SetTimeoutInMinutes(v int64) *Project { - s.TimeoutInMinutes = &v - return s -} - -// SetVpcConfig sets the VpcConfig field's value. -func (s *Project) SetVpcConfig(v *VpcConfig) *Project { - s.VpcConfig = v - return s -} - -// SetWebhook sets the Webhook field's value. -func (s *Project) SetWebhook(v *Webhook) *Project { - s.Webhook = v - return s -} - // Information about the build output artifacts for the build project. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectArtifacts type ProjectArtifacts struct { @@ -2904,42 +2274,6 @@ func (s *ProjectArtifacts) Validate() error { return nil } -// SetLocation sets the Location field's value. -func (s *ProjectArtifacts) SetLocation(v string) *ProjectArtifacts { - s.Location = &v - return s -} - -// SetName sets the Name field's value. -func (s *ProjectArtifacts) SetName(v string) *ProjectArtifacts { - s.Name = &v - return s -} - -// SetNamespaceType sets the NamespaceType field's value. -func (s *ProjectArtifacts) SetNamespaceType(v ArtifactNamespace) *ProjectArtifacts { - s.NamespaceType = v - return s -} - -// SetPackaging sets the Packaging field's value. -func (s *ProjectArtifacts) SetPackaging(v ArtifactPackaging) *ProjectArtifacts { - s.Packaging = v - return s -} - -// SetPath sets the Path field's value. -func (s *ProjectArtifacts) SetPath(v string) *ProjectArtifacts { - s.Path = &v - return s -} - -// SetType sets the Type field's value. -func (s *ProjectArtifacts) SetType(v ArtifactsType) *ProjectArtifacts { - s.Type = v - return s -} - // Information about the build badge for the build project. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectBadge type ProjectBadge struct { @@ -2964,18 +2298,6 @@ func (s ProjectBadge) GoString() string { return s.String() } -// SetBadgeEnabled sets the BadgeEnabled field's value. -func (s *ProjectBadge) SetBadgeEnabled(v bool) *ProjectBadge { - s.BadgeEnabled = &v - return s -} - -// SetBadgeRequestUrl sets the BadgeRequestUrl field's value. -func (s *ProjectBadge) SetBadgeRequestUrl(v string) *ProjectBadge { - s.BadgeRequestUrl = &v - return s -} - // Information about the cache for the build project. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectCache type ProjectCache struct { @@ -3021,18 +2343,6 @@ func (s *ProjectCache) Validate() error { return nil } -// SetLocation sets the Location field's value. -func (s *ProjectCache) SetLocation(v string) *ProjectCache { - s.Location = &v - return s -} - -// SetType sets the Type field's value. -func (s *ProjectCache) SetType(v CacheType) *ProjectCache { - s.Type = v - return s -} - // Information about the build environment of the build project. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectEnvironment type ProjectEnvironment struct { @@ -3122,36 +2432,6 @@ func (s *ProjectEnvironment) Validate() error { return nil } -// SetComputeType sets the ComputeType field's value. -func (s *ProjectEnvironment) SetComputeType(v ComputeType) *ProjectEnvironment { - s.ComputeType = v - return s -} - -// SetEnvironmentVariables sets the EnvironmentVariables field's value. -func (s *ProjectEnvironment) SetEnvironmentVariables(v []EnvironmentVariable) *ProjectEnvironment { - s.EnvironmentVariables = v - return s -} - -// SetImage sets the Image field's value. -func (s *ProjectEnvironment) SetImage(v string) *ProjectEnvironment { - s.Image = &v - return s -} - -// SetPrivilegedMode sets the PrivilegedMode field's value. -func (s *ProjectEnvironment) SetPrivilegedMode(v bool) *ProjectEnvironment { - s.PrivilegedMode = &v - return s -} - -// SetType sets the Type field's value. -func (s *ProjectEnvironment) SetType(v EnvironmentType) *ProjectEnvironment { - s.Type = v - return s -} - // Information about the build input source code for the build project. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectSource type ProjectSource struct { @@ -3259,30 +2539,6 @@ func (s *ProjectSource) Validate() error { return nil } -// SetAuth sets the Auth field's value. -func (s *ProjectSource) SetAuth(v *SourceAuth) *ProjectSource { - s.Auth = v - return s -} - -// SetBuildspec sets the Buildspec field's value. -func (s *ProjectSource) SetBuildspec(v string) *ProjectSource { - s.Buildspec = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *ProjectSource) SetLocation(v string) *ProjectSource { - s.Location = &v - return s -} - -// SetType sets the Type field's value. -func (s *ProjectSource) SetType(v SourceType) *ProjectSource { - s.Type = v - return s -} - // Information about the authorization settings for AWS CodeBuild to access // the source code to be built. // @@ -3326,18 +2582,6 @@ func (s *SourceAuth) Validate() error { return nil } -// SetResource sets the Resource field's value. -func (s *SourceAuth) SetResource(v string) *SourceAuth { - s.Resource = &v - return s -} - -// SetType sets the Type field's value. -func (s *SourceAuth) SetType(v SourceAuthType) *SourceAuth { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildInput type StartBuildInput struct { _ struct{} `type:"structure"` @@ -3427,42 +2671,6 @@ func (s *StartBuildInput) Validate() error { return nil } -// SetArtifactsOverride sets the ArtifactsOverride field's value. -func (s *StartBuildInput) SetArtifactsOverride(v *ProjectArtifacts) *StartBuildInput { - s.ArtifactsOverride = v - return s -} - -// SetBuildspecOverride sets the BuildspecOverride field's value. -func (s *StartBuildInput) SetBuildspecOverride(v string) *StartBuildInput { - s.BuildspecOverride = &v - return s -} - -// SetEnvironmentVariablesOverride sets the EnvironmentVariablesOverride field's value. -func (s *StartBuildInput) SetEnvironmentVariablesOverride(v []EnvironmentVariable) *StartBuildInput { - s.EnvironmentVariablesOverride = v - return s -} - -// SetProjectName sets the ProjectName field's value. -func (s *StartBuildInput) SetProjectName(v string) *StartBuildInput { - s.ProjectName = &v - return s -} - -// SetSourceVersion sets the SourceVersion field's value. -func (s *StartBuildInput) SetSourceVersion(v string) *StartBuildInput { - s.SourceVersion = &v - return s -} - -// SetTimeoutInMinutesOverride sets the TimeoutInMinutesOverride field's value. -func (s *StartBuildInput) SetTimeoutInMinutesOverride(v int64) *StartBuildInput { - s.TimeoutInMinutesOverride = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildOutput type StartBuildOutput struct { _ struct{} `type:"structure"` @@ -3488,12 +2696,6 @@ func (s StartBuildOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBuild sets the Build field's value. -func (s *StartBuildOutput) SetBuild(v *Build) *StartBuildOutput { - s.Build = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuildInput type StopBuildInput struct { _ struct{} `type:"structure"` @@ -3531,12 +2733,6 @@ func (s *StopBuildInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *StopBuildInput) SetId(v string) *StopBuildInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuildOutput type StopBuildOutput struct { _ struct{} `type:"structure"` @@ -3562,12 +2758,6 @@ func (s StopBuildOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBuild sets the Build field's value. -func (s *StopBuildOutput) SetBuild(v *Build) *StopBuildOutput { - s.Build = v - return s -} - // A tag, consisting of a key and a value. // // This tag is available for use by AWS services that support tags in AWS CodeBuild. @@ -3608,18 +2798,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectInput type UpdateProjectInput struct { _ struct{} `type:"structure"` @@ -3747,78 +2925,6 @@ func (s *UpdateProjectInput) Validate() error { return nil } -// SetArtifacts sets the Artifacts field's value. -func (s *UpdateProjectInput) SetArtifacts(v *ProjectArtifacts) *UpdateProjectInput { - s.Artifacts = v - return s -} - -// SetBadgeEnabled sets the BadgeEnabled field's value. -func (s *UpdateProjectInput) SetBadgeEnabled(v bool) *UpdateProjectInput { - s.BadgeEnabled = &v - return s -} - -// SetCache sets the Cache field's value. -func (s *UpdateProjectInput) SetCache(v *ProjectCache) *UpdateProjectInput { - s.Cache = v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateProjectInput) SetDescription(v string) *UpdateProjectInput { - s.Description = &v - return s -} - -// SetEncryptionKey sets the EncryptionKey field's value. -func (s *UpdateProjectInput) SetEncryptionKey(v string) *UpdateProjectInput { - s.EncryptionKey = &v - return s -} - -// SetEnvironment sets the Environment field's value. -func (s *UpdateProjectInput) SetEnvironment(v *ProjectEnvironment) *UpdateProjectInput { - s.Environment = v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateProjectInput) SetName(v string) *UpdateProjectInput { - s.Name = &v - return s -} - -// SetServiceRole sets the ServiceRole field's value. -func (s *UpdateProjectInput) SetServiceRole(v string) *UpdateProjectInput { - s.ServiceRole = &v - return s -} - -// SetSource sets the Source field's value. -func (s *UpdateProjectInput) SetSource(v *ProjectSource) *UpdateProjectInput { - s.Source = v - return s -} - -// SetTags sets the Tags field's value. -func (s *UpdateProjectInput) SetTags(v []Tag) *UpdateProjectInput { - s.Tags = v - return s -} - -// SetTimeoutInMinutes sets the TimeoutInMinutes field's value. -func (s *UpdateProjectInput) SetTimeoutInMinutes(v int64) *UpdateProjectInput { - s.TimeoutInMinutes = &v - return s -} - -// SetVpcConfig sets the VpcConfig field's value. -func (s *UpdateProjectInput) SetVpcConfig(v *VpcConfig) *UpdateProjectInput { - s.VpcConfig = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectOutput type UpdateProjectOutput struct { _ struct{} `type:"structure"` @@ -3844,12 +2950,6 @@ func (s UpdateProjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetProject sets the Project field's value. -func (s *UpdateProjectOutput) SetProject(v *Project) *UpdateProjectOutput { - s.Project = v - return s -} - // Information about the VPC configuration that AWS CodeBuild will access. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/VpcConfig type VpcConfig struct { @@ -3888,24 +2988,6 @@ func (s *VpcConfig) Validate() error { return nil } -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *VpcConfig) SetSecurityGroupIds(v []string) *VpcConfig { - s.SecurityGroupIds = v - return s -} - -// SetSubnets sets the Subnets field's value. -func (s *VpcConfig) SetSubnets(v []string) *VpcConfig { - s.Subnets = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *VpcConfig) SetVpcId(v string) *VpcConfig { - s.VpcId = &v - return s -} - // Information about a webhook in GitHub that connects repository events to // a build project in AWS CodeBuild. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Webhook @@ -3926,12 +3008,6 @@ func (s Webhook) GoString() string { return s.String() } -// SetUrl sets the Url field's value. -func (s *Webhook) SetUrl(v string) *Webhook { - s.Url = &v - return s -} - type ArtifactNamespace string // Enum values for ArtifactNamespace diff --git a/service/codecommit/api.go b/service/codecommit/api.go index 2add6970ecf..7d2e4c8ffea 100644 --- a/service/codecommit/api.go +++ b/service/codecommit/api.go @@ -2211,12 +2211,6 @@ func (s *BatchGetRepositoriesInput) Validate() error { return nil } -// SetRepositoryNames sets the RepositoryNames field's value. -func (s *BatchGetRepositoriesInput) SetRepositoryNames(v []string) *BatchGetRepositoriesInput { - s.RepositoryNames = v - return s -} - // Represents the output of a batch get repositories operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositoriesOutput type BatchGetRepositoriesOutput struct { @@ -2246,18 +2240,6 @@ func (s BatchGetRepositoriesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRepositories sets the Repositories field's value. -func (s *BatchGetRepositoriesOutput) SetRepositories(v []RepositoryMetadata) *BatchGetRepositoriesOutput { - s.Repositories = v - return s -} - -// SetRepositoriesNotFound sets the RepositoriesNotFound field's value. -func (s *BatchGetRepositoriesOutput) SetRepositoriesNotFound(v []string) *BatchGetRepositoriesOutput { - s.RepositoriesNotFound = v - return s -} - // Returns information about a specific Git blob object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BlobMetadata type BlobMetadata struct { @@ -2291,24 +2273,6 @@ func (s BlobMetadata) GoString() string { return s.String() } -// SetBlobId sets the BlobId field's value. -func (s *BlobMetadata) SetBlobId(v string) *BlobMetadata { - s.BlobId = &v - return s -} - -// SetMode sets the Mode field's value. -func (s *BlobMetadata) SetMode(v string) *BlobMetadata { - s.Mode = &v - return s -} - -// SetPath sets the Path field's value. -func (s *BlobMetadata) SetPath(v string) *BlobMetadata { - s.Path = &v - return s -} - // Returns information about a branch. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BranchInfo type BranchInfo struct { @@ -2331,18 +2295,6 @@ func (s BranchInfo) GoString() string { return s.String() } -// SetBranchName sets the BranchName field's value. -func (s *BranchInfo) SetBranchName(v string) *BranchInfo { - s.BranchName = &v - return s -} - -// SetCommitId sets the CommitId field's value. -func (s *BranchInfo) SetCommitId(v string) *BranchInfo { - s.CommitId = &v - return s -} - // Returns information about a specific comment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Comment type Comment struct { @@ -2386,54 +2338,6 @@ func (s Comment) GoString() string { return s.String() } -// SetAuthorArn sets the AuthorArn field's value. -func (s *Comment) SetAuthorArn(v string) *Comment { - s.AuthorArn = &v - return s -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *Comment) SetClientRequestToken(v string) *Comment { - s.ClientRequestToken = &v - return s -} - -// SetCommentId sets the CommentId field's value. -func (s *Comment) SetCommentId(v string) *Comment { - s.CommentId = &v - return s -} - -// SetContent sets the Content field's value. -func (s *Comment) SetContent(v string) *Comment { - s.Content = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *Comment) SetCreationDate(v time.Time) *Comment { - s.CreationDate = &v - return s -} - -// SetDeleted sets the Deleted field's value. -func (s *Comment) SetDeleted(v bool) *Comment { - s.Deleted = &v - return s -} - -// SetInReplyTo sets the InReplyTo field's value. -func (s *Comment) SetInReplyTo(v string) *Comment { - s.InReplyTo = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *Comment) SetLastModifiedDate(v time.Time) *Comment { - s.LastModifiedDate = &v - return s -} - // Returns information about comments on the comparison between two commits. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentsForComparedCommit type CommentsForComparedCommit struct { @@ -2474,48 +2378,6 @@ func (s CommentsForComparedCommit) GoString() string { return s.String() } -// SetAfterBlobId sets the AfterBlobId field's value. -func (s *CommentsForComparedCommit) SetAfterBlobId(v string) *CommentsForComparedCommit { - s.AfterBlobId = &v - return s -} - -// SetAfterCommitId sets the AfterCommitId field's value. -func (s *CommentsForComparedCommit) SetAfterCommitId(v string) *CommentsForComparedCommit { - s.AfterCommitId = &v - return s -} - -// SetBeforeBlobId sets the BeforeBlobId field's value. -func (s *CommentsForComparedCommit) SetBeforeBlobId(v string) *CommentsForComparedCommit { - s.BeforeBlobId = &v - return s -} - -// SetBeforeCommitId sets the BeforeCommitId field's value. -func (s *CommentsForComparedCommit) SetBeforeCommitId(v string) *CommentsForComparedCommit { - s.BeforeCommitId = &v - return s -} - -// SetComments sets the Comments field's value. -func (s *CommentsForComparedCommit) SetComments(v []Comment) *CommentsForComparedCommit { - s.Comments = v - return s -} - -// SetLocation sets the Location field's value. -func (s *CommentsForComparedCommit) SetLocation(v *Location) *CommentsForComparedCommit { - s.Location = v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *CommentsForComparedCommit) SetRepositoryName(v string) *CommentsForComparedCommit { - s.RepositoryName = &v - return s -} - // Returns information about comments on a pull request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CommentsForPullRequest type CommentsForPullRequest struct { @@ -2564,54 +2426,6 @@ func (s CommentsForPullRequest) GoString() string { return s.String() } -// SetAfterBlobId sets the AfterBlobId field's value. -func (s *CommentsForPullRequest) SetAfterBlobId(v string) *CommentsForPullRequest { - s.AfterBlobId = &v - return s -} - -// SetAfterCommitId sets the AfterCommitId field's value. -func (s *CommentsForPullRequest) SetAfterCommitId(v string) *CommentsForPullRequest { - s.AfterCommitId = &v - return s -} - -// SetBeforeBlobId sets the BeforeBlobId field's value. -func (s *CommentsForPullRequest) SetBeforeBlobId(v string) *CommentsForPullRequest { - s.BeforeBlobId = &v - return s -} - -// SetBeforeCommitId sets the BeforeCommitId field's value. -func (s *CommentsForPullRequest) SetBeforeCommitId(v string) *CommentsForPullRequest { - s.BeforeCommitId = &v - return s -} - -// SetComments sets the Comments field's value. -func (s *CommentsForPullRequest) SetComments(v []Comment) *CommentsForPullRequest { - s.Comments = v - return s -} - -// SetLocation sets the Location field's value. -func (s *CommentsForPullRequest) SetLocation(v *Location) *CommentsForPullRequest { - s.Location = v - return s -} - -// SetPullRequestId sets the PullRequestId field's value. -func (s *CommentsForPullRequest) SetPullRequestId(v string) *CommentsForPullRequest { - s.PullRequestId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *CommentsForPullRequest) SetRepositoryName(v string) *CommentsForPullRequest { - s.RepositoryName = &v - return s -} - // Returns information about a specific commit. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Commit type Commit struct { @@ -2658,48 +2472,6 @@ func (s Commit) GoString() string { return s.String() } -// SetAdditionalData sets the AdditionalData field's value. -func (s *Commit) SetAdditionalData(v string) *Commit { - s.AdditionalData = &v - return s -} - -// SetAuthor sets the Author field's value. -func (s *Commit) SetAuthor(v *UserInfo) *Commit { - s.Author = v - return s -} - -// SetCommitId sets the CommitId field's value. -func (s *Commit) SetCommitId(v string) *Commit { - s.CommitId = &v - return s -} - -// SetCommitter sets the Committer field's value. -func (s *Commit) SetCommitter(v *UserInfo) *Commit { - s.Committer = v - return s -} - -// SetMessage sets the Message field's value. -func (s *Commit) SetMessage(v string) *Commit { - s.Message = &v - return s -} - -// SetParents sets the Parents field's value. -func (s *Commit) SetParents(v []string) *Commit { - s.Parents = v - return s -} - -// SetTreeId sets the TreeId field's value. -func (s *Commit) SetTreeId(v string) *Commit { - s.TreeId = &v - return s -} - // Represents the input of a create branch operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranchInput type CreateBranchInput struct { @@ -2759,24 +2531,6 @@ func (s *CreateBranchInput) Validate() error { return nil } -// SetBranchName sets the BranchName field's value. -func (s *CreateBranchInput) SetBranchName(v string) *CreateBranchInput { - s.BranchName = &v - return s -} - -// SetCommitId sets the CommitId field's value. -func (s *CreateBranchInput) SetCommitId(v string) *CreateBranchInput { - s.CommitId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *CreateBranchInput) SetRepositoryName(v string) *CreateBranchInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranchOutput type CreateBranchOutput struct { _ struct{} `type:"structure"` @@ -2865,30 +2619,6 @@ func (s *CreatePullRequestInput) Validate() error { return nil } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *CreatePullRequestInput) SetClientRequestToken(v string) *CreatePullRequestInput { - s.ClientRequestToken = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreatePullRequestInput) SetDescription(v string) *CreatePullRequestInput { - s.Description = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *CreatePullRequestInput) SetTargets(v []Target) *CreatePullRequestInput { - s.Targets = v - return s -} - -// SetTitle sets the Title field's value. -func (s *CreatePullRequestInput) SetTitle(v string) *CreatePullRequestInput { - s.Title = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequestOutput type CreatePullRequestOutput struct { _ struct{} `type:"structure"` @@ -2916,12 +2646,6 @@ func (s CreatePullRequestOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPullRequest sets the PullRequest field's value. -func (s *CreatePullRequestOutput) SetPullRequest(v *PullRequest) *CreatePullRequestOutput { - s.PullRequest = v - return s -} - // Represents the input of a create repository operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepositoryInput type CreateRepositoryInput struct { @@ -2975,18 +2699,6 @@ func (s *CreateRepositoryInput) Validate() error { return nil } -// SetRepositoryDescription sets the RepositoryDescription field's value. -func (s *CreateRepositoryInput) SetRepositoryDescription(v string) *CreateRepositoryInput { - s.RepositoryDescription = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *CreateRepositoryInput) SetRepositoryName(v string) *CreateRepositoryInput { - s.RepositoryName = &v - return s -} - // Represents the output of a create repository operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepositoryOutput type CreateRepositoryOutput struct { @@ -3013,12 +2725,6 @@ func (s CreateRepositoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRepositoryMetadata sets the RepositoryMetadata field's value. -func (s *CreateRepositoryOutput) SetRepositoryMetadata(v *RepositoryMetadata) *CreateRepositoryOutput { - s.RepositoryMetadata = v - return s -} - // Represents the input of a delete branch operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteBranchInput type DeleteBranchInput struct { @@ -3069,18 +2775,6 @@ func (s *DeleteBranchInput) Validate() error { return nil } -// SetBranchName sets the BranchName field's value. -func (s *DeleteBranchInput) SetBranchName(v string) *DeleteBranchInput { - s.BranchName = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *DeleteBranchInput) SetRepositoryName(v string) *DeleteBranchInput { - s.RepositoryName = &v - return s -} - // Represents the output of a delete branch operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteBranchOutput type DeleteBranchOutput struct { @@ -3108,12 +2802,6 @@ func (s DeleteBranchOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeletedBranch sets the DeletedBranch field's value. -func (s *DeleteBranchOutput) SetDeletedBranch(v *BranchInfo) *DeleteBranchOutput { - s.DeletedBranch = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteCommentContentInput type DeleteCommentContentInput struct { _ struct{} `type:"structure"` @@ -3149,12 +2837,6 @@ func (s *DeleteCommentContentInput) Validate() error { return nil } -// SetCommentId sets the CommentId field's value. -func (s *DeleteCommentContentInput) SetCommentId(v string) *DeleteCommentContentInput { - s.CommentId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteCommentContentOutput type DeleteCommentContentOutput struct { _ struct{} `type:"structure"` @@ -3180,12 +2862,6 @@ func (s DeleteCommentContentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetComment sets the Comment field's value. -func (s *DeleteCommentContentOutput) SetComment(v *Comment) *DeleteCommentContentOutput { - s.Comment = v - return s -} - // Represents the input of a delete repository operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepositoryInput type DeleteRepositoryInput struct { @@ -3224,12 +2900,6 @@ func (s *DeleteRepositoryInput) Validate() error { return nil } -// SetRepositoryName sets the RepositoryName field's value. -func (s *DeleteRepositoryInput) SetRepositoryName(v string) *DeleteRepositoryInput { - s.RepositoryName = &v - return s -} - // Represents the output of a delete repository operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepositoryOutput type DeleteRepositoryOutput struct { @@ -3256,12 +2926,6 @@ func (s DeleteRepositoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRepositoryId sets the RepositoryId field's value. -func (s *DeleteRepositoryOutput) SetRepositoryId(v string) *DeleteRepositoryOutput { - s.RepositoryId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEventsInput type DescribePullRequestEventsInput struct { _ struct{} `type:"structure"` @@ -3313,36 +2977,6 @@ func (s *DescribePullRequestEventsInput) Validate() error { return nil } -// SetActorArn sets the ActorArn field's value. -func (s *DescribePullRequestEventsInput) SetActorArn(v string) *DescribePullRequestEventsInput { - s.ActorArn = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribePullRequestEventsInput) SetMaxResults(v int64) *DescribePullRequestEventsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribePullRequestEventsInput) SetNextToken(v string) *DescribePullRequestEventsInput { - s.NextToken = &v - return s -} - -// SetPullRequestEventType sets the PullRequestEventType field's value. -func (s *DescribePullRequestEventsInput) SetPullRequestEventType(v PullRequestEventType) *DescribePullRequestEventsInput { - s.PullRequestEventType = v - return s -} - -// SetPullRequestId sets the PullRequestId field's value. -func (s *DescribePullRequestEventsInput) SetPullRequestId(v string) *DescribePullRequestEventsInput { - s.PullRequestId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEventsOutput type DescribePullRequestEventsOutput struct { _ struct{} `type:"structure"` @@ -3374,18 +3008,6 @@ func (s DescribePullRequestEventsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribePullRequestEventsOutput) SetNextToken(v string) *DescribePullRequestEventsOutput { - s.NextToken = &v - return s -} - -// SetPullRequestEvents sets the PullRequestEvents field's value. -func (s *DescribePullRequestEventsOutput) SetPullRequestEvents(v []PullRequestEvent) *DescribePullRequestEventsOutput { - s.PullRequestEvents = v - return s -} - // Returns information about a set of differences for a commit specifier. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Difference type Difference struct { @@ -3414,24 +3036,6 @@ func (s Difference) GoString() string { return s.String() } -// SetAfterBlob sets the AfterBlob field's value. -func (s *Difference) SetAfterBlob(v *BlobMetadata) *Difference { - s.AfterBlob = v - return s -} - -// SetBeforeBlob sets the BeforeBlob field's value. -func (s *Difference) SetBeforeBlob(v *BlobMetadata) *Difference { - s.BeforeBlob = v - return s -} - -// SetChangeType sets the ChangeType field's value. -func (s *Difference) SetChangeType(v ChangeTypeEnum) *Difference { - s.ChangeType = v - return s -} - // Represents the input of a get blob operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlobInput type GetBlobInput struct { @@ -3479,18 +3083,6 @@ func (s *GetBlobInput) Validate() error { return nil } -// SetBlobId sets the BlobId field's value. -func (s *GetBlobInput) SetBlobId(v string) *GetBlobInput { - s.BlobId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *GetBlobInput) SetRepositoryName(v string) *GetBlobInput { - s.RepositoryName = &v - return s -} - // Represents the output of a get blob operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlobOutput type GetBlobOutput struct { @@ -3521,12 +3113,6 @@ func (s GetBlobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetContent sets the Content field's value. -func (s *GetBlobOutput) SetContent(v []byte) *GetBlobOutput { - s.Content = v - return s -} - // Represents the input of a get branch operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranchInput type GetBranchInput struct { @@ -3566,18 +3152,6 @@ func (s *GetBranchInput) Validate() error { return nil } -// SetBranchName sets the BranchName field's value. -func (s *GetBranchInput) SetBranchName(v string) *GetBranchInput { - s.BranchName = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *GetBranchInput) SetRepositoryName(v string) *GetBranchInput { - s.RepositoryName = &v - return s -} - // Represents the output of a get branch operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranchOutput type GetBranchOutput struct { @@ -3604,12 +3178,6 @@ func (s GetBranchOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBranch sets the Branch field's value. -func (s *GetBranchOutput) SetBranch(v *BranchInfo) *GetBranchOutput { - s.Branch = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentInput type GetCommentInput struct { _ struct{} `type:"structure"` @@ -3645,12 +3213,6 @@ func (s *GetCommentInput) Validate() error { return nil } -// SetCommentId sets the CommentId field's value. -func (s *GetCommentInput) SetCommentId(v string) *GetCommentInput { - s.CommentId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentOutput type GetCommentOutput struct { _ struct{} `type:"structure"` @@ -3676,12 +3238,6 @@ func (s GetCommentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetComment sets the Comment field's value. -func (s *GetCommentOutput) SetComment(v *Comment) *GetCommentOutput { - s.Comment = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommitInput type GetCommentsForComparedCommitInput struct { _ struct{} `type:"structure"` @@ -3741,36 +3297,6 @@ func (s *GetCommentsForComparedCommitInput) Validate() error { return nil } -// SetAfterCommitId sets the AfterCommitId field's value. -func (s *GetCommentsForComparedCommitInput) SetAfterCommitId(v string) *GetCommentsForComparedCommitInput { - s.AfterCommitId = &v - return s -} - -// SetBeforeCommitId sets the BeforeCommitId field's value. -func (s *GetCommentsForComparedCommitInput) SetBeforeCommitId(v string) *GetCommentsForComparedCommitInput { - s.BeforeCommitId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetCommentsForComparedCommitInput) SetMaxResults(v int64) *GetCommentsForComparedCommitInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetCommentsForComparedCommitInput) SetNextToken(v string) *GetCommentsForComparedCommitInput { - s.NextToken = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *GetCommentsForComparedCommitInput) SetRepositoryName(v string) *GetCommentsForComparedCommitInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommitOutput type GetCommentsForComparedCommitOutput struct { _ struct{} `type:"structure"` @@ -3800,18 +3326,6 @@ func (s GetCommentsForComparedCommitOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCommentsForComparedCommitData sets the CommentsForComparedCommitData field's value. -func (s *GetCommentsForComparedCommitOutput) SetCommentsForComparedCommitData(v []CommentsForComparedCommit) *GetCommentsForComparedCommitOutput { - s.CommentsForComparedCommitData = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetCommentsForComparedCommitOutput) SetNextToken(v string) *GetCommentsForComparedCommitOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequestInput type GetCommentsForPullRequestInput struct { _ struct{} `type:"structure"` @@ -3869,42 +3383,6 @@ func (s *GetCommentsForPullRequestInput) Validate() error { return nil } -// SetAfterCommitId sets the AfterCommitId field's value. -func (s *GetCommentsForPullRequestInput) SetAfterCommitId(v string) *GetCommentsForPullRequestInput { - s.AfterCommitId = &v - return s -} - -// SetBeforeCommitId sets the BeforeCommitId field's value. -func (s *GetCommentsForPullRequestInput) SetBeforeCommitId(v string) *GetCommentsForPullRequestInput { - s.BeforeCommitId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetCommentsForPullRequestInput) SetMaxResults(v int64) *GetCommentsForPullRequestInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetCommentsForPullRequestInput) SetNextToken(v string) *GetCommentsForPullRequestInput { - s.NextToken = &v - return s -} - -// SetPullRequestId sets the PullRequestId field's value. -func (s *GetCommentsForPullRequestInput) SetPullRequestId(v string) *GetCommentsForPullRequestInput { - s.PullRequestId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *GetCommentsForPullRequestInput) SetRepositoryName(v string) *GetCommentsForPullRequestInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequestOutput type GetCommentsForPullRequestOutput struct { _ struct{} `type:"structure"` @@ -3934,18 +3412,6 @@ func (s GetCommentsForPullRequestOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCommentsForPullRequestData sets the CommentsForPullRequestData field's value. -func (s *GetCommentsForPullRequestOutput) SetCommentsForPullRequestData(v []CommentsForPullRequest) *GetCommentsForPullRequestOutput { - s.CommentsForPullRequestData = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetCommentsForPullRequestOutput) SetNextToken(v string) *GetCommentsForPullRequestOutput { - s.NextToken = &v - return s -} - // Represents the input of a get commit operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommitInput type GetCommitInput struct { @@ -3993,18 +3459,6 @@ func (s *GetCommitInput) Validate() error { return nil } -// SetCommitId sets the CommitId field's value. -func (s *GetCommitInput) SetCommitId(v string) *GetCommitInput { - s.CommitId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *GetCommitInput) SetRepositoryName(v string) *GetCommitInput { - s.RepositoryName = &v - return s -} - // Represents the output of a get commit operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommitOutput type GetCommitOutput struct { @@ -4033,12 +3487,6 @@ func (s GetCommitOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCommit sets the Commit field's value. -func (s *GetCommitOutput) SetCommit(v *Commit) *GetCommitOutput { - s.Commit = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferencesInput type GetDifferencesInput struct { _ struct{} `type:"structure"` @@ -4111,48 +3559,6 @@ func (s *GetDifferencesInput) Validate() error { return nil } -// SetAfterCommitSpecifier sets the AfterCommitSpecifier field's value. -func (s *GetDifferencesInput) SetAfterCommitSpecifier(v string) *GetDifferencesInput { - s.AfterCommitSpecifier = &v - return s -} - -// SetAfterPath sets the AfterPath field's value. -func (s *GetDifferencesInput) SetAfterPath(v string) *GetDifferencesInput { - s.AfterPath = &v - return s -} - -// SetBeforeCommitSpecifier sets the BeforeCommitSpecifier field's value. -func (s *GetDifferencesInput) SetBeforeCommitSpecifier(v string) *GetDifferencesInput { - s.BeforeCommitSpecifier = &v - return s -} - -// SetBeforePath sets the BeforePath field's value. -func (s *GetDifferencesInput) SetBeforePath(v string) *GetDifferencesInput { - s.BeforePath = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetDifferencesInput) SetMaxResults(v int64) *GetDifferencesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetDifferencesInput) SetNextToken(v string) *GetDifferencesInput { - s.NextToken = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *GetDifferencesInput) SetRepositoryName(v string) *GetDifferencesInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferencesOutput type GetDifferencesOutput struct { _ struct{} `type:"structure"` @@ -4183,18 +3589,6 @@ func (s GetDifferencesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDifferences sets the Differences field's value. -func (s *GetDifferencesOutput) SetDifferences(v []Difference) *GetDifferencesOutput { - s.Differences = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetDifferencesOutput) SetNextToken(v string) *GetDifferencesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeConflictsInput type GetMergeConflictsInput struct { _ struct{} `type:"structure"` @@ -4261,30 +3655,6 @@ func (s *GetMergeConflictsInput) Validate() error { return nil } -// SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value. -func (s *GetMergeConflictsInput) SetDestinationCommitSpecifier(v string) *GetMergeConflictsInput { - s.DestinationCommitSpecifier = &v - return s -} - -// SetMergeOption sets the MergeOption field's value. -func (s *GetMergeConflictsInput) SetMergeOption(v MergeOptionTypeEnum) *GetMergeConflictsInput { - s.MergeOption = v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *GetMergeConflictsInput) SetRepositoryName(v string) *GetMergeConflictsInput { - s.RepositoryName = &v - return s -} - -// SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value. -func (s *GetMergeConflictsInput) SetSourceCommitSpecifier(v string) *GetMergeConflictsInput { - s.SourceCommitSpecifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeConflictsOutput type GetMergeConflictsOutput struct { _ struct{} `type:"structure"` @@ -4324,24 +3694,6 @@ func (s GetMergeConflictsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDestinationCommitId sets the DestinationCommitId field's value. -func (s *GetMergeConflictsOutput) SetDestinationCommitId(v string) *GetMergeConflictsOutput { - s.DestinationCommitId = &v - return s -} - -// SetMergeable sets the Mergeable field's value. -func (s *GetMergeConflictsOutput) SetMergeable(v bool) *GetMergeConflictsOutput { - s.Mergeable = &v - return s -} - -// SetSourceCommitId sets the SourceCommitId field's value. -func (s *GetMergeConflictsOutput) SetSourceCommitId(v string) *GetMergeConflictsOutput { - s.SourceCommitId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestInput type GetPullRequestInput struct { _ struct{} `type:"structure"` @@ -4376,12 +3728,6 @@ func (s *GetPullRequestInput) Validate() error { return nil } -// SetPullRequestId sets the PullRequestId field's value. -func (s *GetPullRequestInput) SetPullRequestId(v string) *GetPullRequestInput { - s.PullRequestId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestOutput type GetPullRequestOutput struct { _ struct{} `type:"structure"` @@ -4409,12 +3755,6 @@ func (s GetPullRequestOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPullRequest sets the PullRequest field's value. -func (s *GetPullRequestOutput) SetPullRequest(v *PullRequest) *GetPullRequestOutput { - s.PullRequest = v - return s -} - // Represents the input of a get repository operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryInput type GetRepositoryInput struct { @@ -4453,12 +3793,6 @@ func (s *GetRepositoryInput) Validate() error { return nil } -// SetRepositoryName sets the RepositoryName field's value. -func (s *GetRepositoryInput) SetRepositoryName(v string) *GetRepositoryInput { - s.RepositoryName = &v - return s -} - // Represents the output of a get repository operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryOutput type GetRepositoryOutput struct { @@ -4485,12 +3819,6 @@ func (s GetRepositoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRepositoryMetadata sets the RepositoryMetadata field's value. -func (s *GetRepositoryOutput) SetRepositoryMetadata(v *RepositoryMetadata) *GetRepositoryOutput { - s.RepositoryMetadata = v - return s -} - // Represents the input of a get repository triggers operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggersInput type GetRepositoryTriggersInput struct { @@ -4529,12 +3857,6 @@ func (s *GetRepositoryTriggersInput) Validate() error { return nil } -// SetRepositoryName sets the RepositoryName field's value. -func (s *GetRepositoryTriggersInput) SetRepositoryName(v string) *GetRepositoryTriggersInput { - s.RepositoryName = &v - return s -} - // Represents the output of a get repository triggers operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggersOutput type GetRepositoryTriggersOutput struct { @@ -4564,18 +3886,6 @@ func (s GetRepositoryTriggersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConfigurationId sets the ConfigurationId field's value. -func (s *GetRepositoryTriggersOutput) SetConfigurationId(v string) *GetRepositoryTriggersOutput { - s.ConfigurationId = &v - return s -} - -// SetTriggers sets the Triggers field's value. -func (s *GetRepositoryTriggersOutput) SetTriggers(v []RepositoryTrigger) *GetRepositoryTriggersOutput { - s.Triggers = v - return s -} - // Represents the input of a list branches operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranchesInput type ListBranchesInput struct { @@ -4617,18 +3927,6 @@ func (s *ListBranchesInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *ListBranchesInput) SetNextToken(v string) *ListBranchesInput { - s.NextToken = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *ListBranchesInput) SetRepositoryName(v string) *ListBranchesInput { - s.RepositoryName = &v - return s -} - // Represents the output of a list branches operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranchesOutput type ListBranchesOutput struct { @@ -4658,18 +3956,6 @@ func (s ListBranchesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBranches sets the Branches field's value. -func (s *ListBranchesOutput) SetBranches(v []string) *ListBranchesOutput { - s.Branches = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListBranchesOutput) SetNextToken(v string) *ListBranchesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequestsInput type ListPullRequestsInput struct { _ struct{} `type:"structure"` @@ -4723,36 +4009,6 @@ func (s *ListPullRequestsInput) Validate() error { return nil } -// SetAuthorArn sets the AuthorArn field's value. -func (s *ListPullRequestsInput) SetAuthorArn(v string) *ListPullRequestsInput { - s.AuthorArn = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListPullRequestsInput) SetMaxResults(v int64) *ListPullRequestsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListPullRequestsInput) SetNextToken(v string) *ListPullRequestsInput { - s.NextToken = &v - return s -} - -// SetPullRequestStatus sets the PullRequestStatus field's value. -func (s *ListPullRequestsInput) SetPullRequestStatus(v PullRequestStatusEnum) *ListPullRequestsInput { - s.PullRequestStatus = v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *ListPullRequestsInput) SetRepositoryName(v string) *ListPullRequestsInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequestsOutput type ListPullRequestsOutput struct { _ struct{} `type:"structure"` @@ -4784,18 +4040,6 @@ func (s ListPullRequestsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListPullRequestsOutput) SetNextToken(v string) *ListPullRequestsOutput { - s.NextToken = &v - return s -} - -// SetPullRequestIds sets the PullRequestIds field's value. -func (s *ListPullRequestsOutput) SetPullRequestIds(v []string) *ListPullRequestsOutput { - s.PullRequestIds = v - return s -} - // Represents the input of a list repositories operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesInput type ListRepositoriesInput struct { @@ -4824,24 +4068,6 @@ func (s ListRepositoriesInput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListRepositoriesInput) SetNextToken(v string) *ListRepositoriesInput { - s.NextToken = &v - return s -} - -// SetOrder sets the Order field's value. -func (s *ListRepositoriesInput) SetOrder(v OrderEnum) *ListRepositoriesInput { - s.Order = v - return s -} - -// SetSortBy sets the SortBy field's value. -func (s *ListRepositoriesInput) SetSortBy(v SortByEnum) *ListRepositoriesInput { - s.SortBy = v - return s -} - // Represents the output of a list repositories operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesOutput type ListRepositoriesOutput struct { @@ -4874,18 +4100,6 @@ func (s ListRepositoriesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListRepositoriesOutput) SetNextToken(v string) *ListRepositoriesOutput { - s.NextToken = &v - return s -} - -// SetRepositories sets the Repositories field's value. -func (s *ListRepositoriesOutput) SetRepositories(v []RepositoryNameIdPair) *ListRepositoriesOutput { - s.Repositories = v - return s -} - // Returns information about the location of a change or comment in the comparison // between two commits or a pull request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Location @@ -4914,24 +4128,6 @@ func (s Location) GoString() string { return s.String() } -// SetFilePath sets the FilePath field's value. -func (s *Location) SetFilePath(v string) *Location { - s.FilePath = &v - return s -} - -// SetFilePosition sets the FilePosition field's value. -func (s *Location) SetFilePosition(v int64) *Location { - s.FilePosition = &v - return s -} - -// SetRelativeFileVersion sets the RelativeFileVersion field's value. -func (s *Location) SetRelativeFileVersion(v RelativeFileVersionEnum) *Location { - s.RelativeFileVersion = v - return s -} - // Returns information about a merge or potential merge between a source reference // and a destination reference in a pull request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeMetadata @@ -4955,18 +4151,6 @@ func (s MergeMetadata) GoString() string { return s.String() } -// SetIsMerged sets the IsMerged field's value. -func (s *MergeMetadata) SetIsMerged(v bool) *MergeMetadata { - s.IsMerged = &v - return s -} - -// SetMergedBy sets the MergedBy field's value. -func (s *MergeMetadata) SetMergedBy(v string) *MergeMetadata { - s.MergedBy = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForwardInput type MergePullRequestByFastForwardInput struct { _ struct{} `type:"structure"` @@ -5018,24 +4202,6 @@ func (s *MergePullRequestByFastForwardInput) Validate() error { return nil } -// SetPullRequestId sets the PullRequestId field's value. -func (s *MergePullRequestByFastForwardInput) SetPullRequestId(v string) *MergePullRequestByFastForwardInput { - s.PullRequestId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *MergePullRequestByFastForwardInput) SetRepositoryName(v string) *MergePullRequestByFastForwardInput { - s.RepositoryName = &v - return s -} - -// SetSourceCommitId sets the SourceCommitId field's value. -func (s *MergePullRequestByFastForwardInput) SetSourceCommitId(v string) *MergePullRequestByFastForwardInput { - s.SourceCommitId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForwardOutput type MergePullRequestByFastForwardOutput struct { _ struct{} `type:"structure"` @@ -5062,12 +4228,6 @@ func (s MergePullRequestByFastForwardOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetPullRequest sets the PullRequest field's value. -func (s *MergePullRequestByFastForwardOutput) SetPullRequest(v *PullRequest) *MergePullRequestByFastForwardOutput { - s.PullRequest = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommitInput type PostCommentForComparedCommitInput struct { _ struct{} `type:"structure"` @@ -5138,42 +4298,6 @@ func (s *PostCommentForComparedCommitInput) Validate() error { return nil } -// SetAfterCommitId sets the AfterCommitId field's value. -func (s *PostCommentForComparedCommitInput) SetAfterCommitId(v string) *PostCommentForComparedCommitInput { - s.AfterCommitId = &v - return s -} - -// SetBeforeCommitId sets the BeforeCommitId field's value. -func (s *PostCommentForComparedCommitInput) SetBeforeCommitId(v string) *PostCommentForComparedCommitInput { - s.BeforeCommitId = &v - return s -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *PostCommentForComparedCommitInput) SetClientRequestToken(v string) *PostCommentForComparedCommitInput { - s.ClientRequestToken = &v - return s -} - -// SetContent sets the Content field's value. -func (s *PostCommentForComparedCommitInput) SetContent(v string) *PostCommentForComparedCommitInput { - s.Content = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *PostCommentForComparedCommitInput) SetLocation(v *Location) *PostCommentForComparedCommitInput { - s.Location = v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *PostCommentForComparedCommitInput) SetRepositoryName(v string) *PostCommentForComparedCommitInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommitOutput type PostCommentForComparedCommitOutput struct { _ struct{} `type:"structure"` @@ -5220,48 +4344,6 @@ func (s PostCommentForComparedCommitOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAfterBlobId sets the AfterBlobId field's value. -func (s *PostCommentForComparedCommitOutput) SetAfterBlobId(v string) *PostCommentForComparedCommitOutput { - s.AfterBlobId = &v - return s -} - -// SetAfterCommitId sets the AfterCommitId field's value. -func (s *PostCommentForComparedCommitOutput) SetAfterCommitId(v string) *PostCommentForComparedCommitOutput { - s.AfterCommitId = &v - return s -} - -// SetBeforeBlobId sets the BeforeBlobId field's value. -func (s *PostCommentForComparedCommitOutput) SetBeforeBlobId(v string) *PostCommentForComparedCommitOutput { - s.BeforeBlobId = &v - return s -} - -// SetBeforeCommitId sets the BeforeCommitId field's value. -func (s *PostCommentForComparedCommitOutput) SetBeforeCommitId(v string) *PostCommentForComparedCommitOutput { - s.BeforeCommitId = &v - return s -} - -// SetComment sets the Comment field's value. -func (s *PostCommentForComparedCommitOutput) SetComment(v *Comment) *PostCommentForComparedCommitOutput { - s.Comment = v - return s -} - -// SetLocation sets the Location field's value. -func (s *PostCommentForComparedCommitOutput) SetLocation(v *Location) *PostCommentForComparedCommitOutput { - s.Location = v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *PostCommentForComparedCommitOutput) SetRepositoryName(v string) *PostCommentForComparedCommitOutput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequestInput type PostCommentForPullRequestInput struct { _ struct{} `type:"structure"` @@ -5348,48 +4430,6 @@ func (s *PostCommentForPullRequestInput) Validate() error { return nil } -// SetAfterCommitId sets the AfterCommitId field's value. -func (s *PostCommentForPullRequestInput) SetAfterCommitId(v string) *PostCommentForPullRequestInput { - s.AfterCommitId = &v - return s -} - -// SetBeforeCommitId sets the BeforeCommitId field's value. -func (s *PostCommentForPullRequestInput) SetBeforeCommitId(v string) *PostCommentForPullRequestInput { - s.BeforeCommitId = &v - return s -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *PostCommentForPullRequestInput) SetClientRequestToken(v string) *PostCommentForPullRequestInput { - s.ClientRequestToken = &v - return s -} - -// SetContent sets the Content field's value. -func (s *PostCommentForPullRequestInput) SetContent(v string) *PostCommentForPullRequestInput { - s.Content = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *PostCommentForPullRequestInput) SetLocation(v *Location) *PostCommentForPullRequestInput { - s.Location = v - return s -} - -// SetPullRequestId sets the PullRequestId field's value. -func (s *PostCommentForPullRequestInput) SetPullRequestId(v string) *PostCommentForPullRequestInput { - s.PullRequestId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *PostCommentForPullRequestInput) SetRepositoryName(v string) *PostCommentForPullRequestInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequestOutput type PostCommentForPullRequestOutput struct { _ struct{} `type:"structure"` @@ -5439,54 +4479,6 @@ func (s PostCommentForPullRequestOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAfterBlobId sets the AfterBlobId field's value. -func (s *PostCommentForPullRequestOutput) SetAfterBlobId(v string) *PostCommentForPullRequestOutput { - s.AfterBlobId = &v - return s -} - -// SetAfterCommitId sets the AfterCommitId field's value. -func (s *PostCommentForPullRequestOutput) SetAfterCommitId(v string) *PostCommentForPullRequestOutput { - s.AfterCommitId = &v - return s -} - -// SetBeforeBlobId sets the BeforeBlobId field's value. -func (s *PostCommentForPullRequestOutput) SetBeforeBlobId(v string) *PostCommentForPullRequestOutput { - s.BeforeBlobId = &v - return s -} - -// SetBeforeCommitId sets the BeforeCommitId field's value. -func (s *PostCommentForPullRequestOutput) SetBeforeCommitId(v string) *PostCommentForPullRequestOutput { - s.BeforeCommitId = &v - return s -} - -// SetComment sets the Comment field's value. -func (s *PostCommentForPullRequestOutput) SetComment(v *Comment) *PostCommentForPullRequestOutput { - s.Comment = v - return s -} - -// SetLocation sets the Location field's value. -func (s *PostCommentForPullRequestOutput) SetLocation(v *Location) *PostCommentForPullRequestOutput { - s.Location = v - return s -} - -// SetPullRequestId sets the PullRequestId field's value. -func (s *PostCommentForPullRequestOutput) SetPullRequestId(v string) *PostCommentForPullRequestOutput { - s.PullRequestId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *PostCommentForPullRequestOutput) SetRepositoryName(v string) *PostCommentForPullRequestOutput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReplyInput type PostCommentReplyInput struct { _ struct{} `type:"structure"` @@ -5537,24 +4529,6 @@ func (s *PostCommentReplyInput) Validate() error { return nil } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *PostCommentReplyInput) SetClientRequestToken(v string) *PostCommentReplyInput { - s.ClientRequestToken = &v - return s -} - -// SetContent sets the Content field's value. -func (s *PostCommentReplyInput) SetContent(v string) *PostCommentReplyInput { - s.Content = &v - return s -} - -// SetInReplyTo sets the InReplyTo field's value. -func (s *PostCommentReplyInput) SetInReplyTo(v string) *PostCommentReplyInput { - s.InReplyTo = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReplyOutput type PostCommentReplyOutput struct { _ struct{} `type:"structure"` @@ -5580,12 +4554,6 @@ func (s PostCommentReplyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetComment sets the Comment field's value. -func (s *PostCommentReplyOutput) SetComment(v *Comment) *PostCommentReplyOutput { - s.Comment = v - return s -} - // Returns information about a pull request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequest type PullRequest struct { @@ -5637,60 +4605,6 @@ func (s PullRequest) GoString() string { return s.String() } -// SetAuthorArn sets the AuthorArn field's value. -func (s *PullRequest) SetAuthorArn(v string) *PullRequest { - s.AuthorArn = &v - return s -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *PullRequest) SetClientRequestToken(v string) *PullRequest { - s.ClientRequestToken = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *PullRequest) SetCreationDate(v time.Time) *PullRequest { - s.CreationDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *PullRequest) SetDescription(v string) *PullRequest { - s.Description = &v - return s -} - -// SetLastActivityDate sets the LastActivityDate field's value. -func (s *PullRequest) SetLastActivityDate(v time.Time) *PullRequest { - s.LastActivityDate = &v - return s -} - -// SetPullRequestId sets the PullRequestId field's value. -func (s *PullRequest) SetPullRequestId(v string) *PullRequest { - s.PullRequestId = &v - return s -} - -// SetPullRequestStatus sets the PullRequestStatus field's value. -func (s *PullRequest) SetPullRequestStatus(v PullRequestStatusEnum) *PullRequest { - s.PullRequestStatus = v - return s -} - -// SetPullRequestTargets sets the PullRequestTargets field's value. -func (s *PullRequest) SetPullRequestTargets(v []PullRequestTarget) *PullRequest { - s.PullRequestTargets = v - return s -} - -// SetTitle sets the Title field's value. -func (s *PullRequest) SetTitle(v string) *PullRequest { - s.Title = &v - return s -} - // Returns information about a pull request event. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestEvent type PullRequestEvent struct { @@ -5731,48 +4645,6 @@ func (s PullRequestEvent) GoString() string { return s.String() } -// SetActorArn sets the ActorArn field's value. -func (s *PullRequestEvent) SetActorArn(v string) *PullRequestEvent { - s.ActorArn = &v - return s -} - -// SetEventDate sets the EventDate field's value. -func (s *PullRequestEvent) SetEventDate(v time.Time) *PullRequestEvent { - s.EventDate = &v - return s -} - -// SetPullRequestEventType sets the PullRequestEventType field's value. -func (s *PullRequestEvent) SetPullRequestEventType(v PullRequestEventType) *PullRequestEvent { - s.PullRequestEventType = v - return s -} - -// SetPullRequestId sets the PullRequestId field's value. -func (s *PullRequestEvent) SetPullRequestId(v string) *PullRequestEvent { - s.PullRequestId = &v - return s -} - -// SetPullRequestMergedStateChangedEventMetadata sets the PullRequestMergedStateChangedEventMetadata field's value. -func (s *PullRequestEvent) SetPullRequestMergedStateChangedEventMetadata(v *PullRequestMergedStateChangedEventMetadata) *PullRequestEvent { - s.PullRequestMergedStateChangedEventMetadata = v - return s -} - -// SetPullRequestSourceReferenceUpdatedEventMetadata sets the PullRequestSourceReferenceUpdatedEventMetadata field's value. -func (s *PullRequestEvent) SetPullRequestSourceReferenceUpdatedEventMetadata(v *PullRequestSourceReferenceUpdatedEventMetadata) *PullRequestEvent { - s.PullRequestSourceReferenceUpdatedEventMetadata = v - return s -} - -// SetPullRequestStatusChangedEventMetadata sets the PullRequestStatusChangedEventMetadata field's value. -func (s *PullRequestEvent) SetPullRequestStatusChangedEventMetadata(v *PullRequestStatusChangedEventMetadata) *PullRequestEvent { - s.PullRequestStatusChangedEventMetadata = v - return s -} - // Returns information about the change in the merge state for a pull request // event. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestMergedStateChangedEventMetadata @@ -5799,24 +4671,6 @@ func (s PullRequestMergedStateChangedEventMetadata) GoString() string { return s.String() } -// SetDestinationReference sets the DestinationReference field's value. -func (s *PullRequestMergedStateChangedEventMetadata) SetDestinationReference(v string) *PullRequestMergedStateChangedEventMetadata { - s.DestinationReference = &v - return s -} - -// SetMergeMetadata sets the MergeMetadata field's value. -func (s *PullRequestMergedStateChangedEventMetadata) SetMergeMetadata(v *MergeMetadata) *PullRequestMergedStateChangedEventMetadata { - s.MergeMetadata = v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *PullRequestMergedStateChangedEventMetadata) SetRepositoryName(v string) *PullRequestMergedStateChangedEventMetadata { - s.RepositoryName = &v - return s -} - // Information about an update to the source branch of a pull request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestSourceReferenceUpdatedEventMetadata type PullRequestSourceReferenceUpdatedEventMetadata struct { @@ -5844,24 +4698,6 @@ func (s PullRequestSourceReferenceUpdatedEventMetadata) GoString() string { return s.String() } -// SetAfterCommitId sets the AfterCommitId field's value. -func (s *PullRequestSourceReferenceUpdatedEventMetadata) SetAfterCommitId(v string) *PullRequestSourceReferenceUpdatedEventMetadata { - s.AfterCommitId = &v - return s -} - -// SetBeforeCommitId sets the BeforeCommitId field's value. -func (s *PullRequestSourceReferenceUpdatedEventMetadata) SetBeforeCommitId(v string) *PullRequestSourceReferenceUpdatedEventMetadata { - s.BeforeCommitId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *PullRequestSourceReferenceUpdatedEventMetadata) SetRepositoryName(v string) *PullRequestSourceReferenceUpdatedEventMetadata { - s.RepositoryName = &v - return s -} - // Information about a change to the status of a pull request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestStatusChangedEventMetadata type PullRequestStatusChangedEventMetadata struct { @@ -5881,12 +4717,6 @@ func (s PullRequestStatusChangedEventMetadata) GoString() string { return s.String() } -// SetPullRequestStatus sets the PullRequestStatus field's value. -func (s *PullRequestStatusChangedEventMetadata) SetPullRequestStatus(v PullRequestStatusEnum) *PullRequestStatusChangedEventMetadata { - s.PullRequestStatus = v - return s -} - // Returns information about a pull request target. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PullRequestTarget type PullRequestTarget struct { @@ -5928,42 +4758,6 @@ func (s PullRequestTarget) GoString() string { return s.String() } -// SetDestinationCommit sets the DestinationCommit field's value. -func (s *PullRequestTarget) SetDestinationCommit(v string) *PullRequestTarget { - s.DestinationCommit = &v - return s -} - -// SetDestinationReference sets the DestinationReference field's value. -func (s *PullRequestTarget) SetDestinationReference(v string) *PullRequestTarget { - s.DestinationReference = &v - return s -} - -// SetMergeMetadata sets the MergeMetadata field's value. -func (s *PullRequestTarget) SetMergeMetadata(v *MergeMetadata) *PullRequestTarget { - s.MergeMetadata = v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *PullRequestTarget) SetRepositoryName(v string) *PullRequestTarget { - s.RepositoryName = &v - return s -} - -// SetSourceCommit sets the SourceCommit field's value. -func (s *PullRequestTarget) SetSourceCommit(v string) *PullRequestTarget { - s.SourceCommit = &v - return s -} - -// SetSourceReference sets the SourceReference field's value. -func (s *PullRequestTarget) SetSourceReference(v string) *PullRequestTarget { - s.SourceReference = &v - return s -} - // Represents the input ofa put repository triggers operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggersInput type PutRepositoryTriggersInput struct { @@ -6018,18 +4812,6 @@ func (s *PutRepositoryTriggersInput) Validate() error { return nil } -// SetRepositoryName sets the RepositoryName field's value. -func (s *PutRepositoryTriggersInput) SetRepositoryName(v string) *PutRepositoryTriggersInput { - s.RepositoryName = &v - return s -} - -// SetTriggers sets the Triggers field's value. -func (s *PutRepositoryTriggersInput) SetTriggers(v []RepositoryTrigger) *PutRepositoryTriggersInput { - s.Triggers = v - return s -} - // Represents the output of a put repository triggers operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggersOutput type PutRepositoryTriggersOutput struct { @@ -6056,12 +4838,6 @@ func (s PutRepositoryTriggersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConfigurationId sets the ConfigurationId field's value. -func (s *PutRepositoryTriggersOutput) SetConfigurationId(v string) *PutRepositoryTriggersOutput { - s.ConfigurationId = &v - return s -} - // Information about a repository. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryMetadata type RepositoryMetadata struct { @@ -6108,66 +4884,6 @@ func (s RepositoryMetadata) GoString() string { return s.String() } -// SetAccountId sets the AccountId field's value. -func (s *RepositoryMetadata) SetAccountId(v string) *RepositoryMetadata { - s.AccountId = &v - return s -} - -// SetArn sets the Arn field's value. -func (s *RepositoryMetadata) SetArn(v string) *RepositoryMetadata { - s.Arn = &v - return s -} - -// SetCloneUrlHttp sets the CloneUrlHttp field's value. -func (s *RepositoryMetadata) SetCloneUrlHttp(v string) *RepositoryMetadata { - s.CloneUrlHttp = &v - return s -} - -// SetCloneUrlSsh sets the CloneUrlSsh field's value. -func (s *RepositoryMetadata) SetCloneUrlSsh(v string) *RepositoryMetadata { - s.CloneUrlSsh = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *RepositoryMetadata) SetCreationDate(v time.Time) *RepositoryMetadata { - s.CreationDate = &v - return s -} - -// SetDefaultBranch sets the DefaultBranch field's value. -func (s *RepositoryMetadata) SetDefaultBranch(v string) *RepositoryMetadata { - s.DefaultBranch = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *RepositoryMetadata) SetLastModifiedDate(v time.Time) *RepositoryMetadata { - s.LastModifiedDate = &v - return s -} - -// SetRepositoryDescription sets the RepositoryDescription field's value. -func (s *RepositoryMetadata) SetRepositoryDescription(v string) *RepositoryMetadata { - s.RepositoryDescription = &v - return s -} - -// SetRepositoryId sets the RepositoryId field's value. -func (s *RepositoryMetadata) SetRepositoryId(v string) *RepositoryMetadata { - s.RepositoryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *RepositoryMetadata) SetRepositoryName(v string) *RepositoryMetadata { - s.RepositoryName = &v - return s -} - // Information about a repository name and ID. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryNameIdPair type RepositoryNameIdPair struct { @@ -6190,18 +4906,6 @@ func (s RepositoryNameIdPair) GoString() string { return s.String() } -// SetRepositoryId sets the RepositoryId field's value. -func (s *RepositoryNameIdPair) SetRepositoryId(v string) *RepositoryNameIdPair { - s.RepositoryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *RepositoryNameIdPair) SetRepositoryName(v string) *RepositoryNameIdPair { - s.RepositoryName = &v - return s -} - // Information about a trigger for a repository. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTrigger type RepositoryTrigger struct { @@ -6270,36 +4974,6 @@ func (s *RepositoryTrigger) Validate() error { return nil } -// SetBranches sets the Branches field's value. -func (s *RepositoryTrigger) SetBranches(v []string) *RepositoryTrigger { - s.Branches = v - return s -} - -// SetCustomData sets the CustomData field's value. -func (s *RepositoryTrigger) SetCustomData(v string) *RepositoryTrigger { - s.CustomData = &v - return s -} - -// SetDestinationArn sets the DestinationArn field's value. -func (s *RepositoryTrigger) SetDestinationArn(v string) *RepositoryTrigger { - s.DestinationArn = &v - return s -} - -// SetEvents sets the Events field's value. -func (s *RepositoryTrigger) SetEvents(v []RepositoryTriggerEventEnum) *RepositoryTrigger { - s.Events = v - return s -} - -// SetName sets the Name field's value. -func (s *RepositoryTrigger) SetName(v string) *RepositoryTrigger { - s.Name = &v - return s -} - // A trigger failed to run. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/RepositoryTriggerExecutionFailure type RepositoryTriggerExecutionFailure struct { @@ -6322,18 +4996,6 @@ func (s RepositoryTriggerExecutionFailure) GoString() string { return s.String() } -// SetFailureMessage sets the FailureMessage field's value. -func (s *RepositoryTriggerExecutionFailure) SetFailureMessage(v string) *RepositoryTriggerExecutionFailure { - s.FailureMessage = &v - return s -} - -// SetTrigger sets the Trigger field's value. -func (s *RepositoryTriggerExecutionFailure) SetTrigger(v string) *RepositoryTriggerExecutionFailure { - s.Trigger = &v - return s -} - // Returns information about a target for a pull request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/Target type Target struct { @@ -6386,24 +5048,6 @@ func (s *Target) Validate() error { return nil } -// SetDestinationReference sets the DestinationReference field's value. -func (s *Target) SetDestinationReference(v string) *Target { - s.DestinationReference = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *Target) SetRepositoryName(v string) *Target { - s.RepositoryName = &v - return s -} - -// SetSourceReference sets the SourceReference field's value. -func (s *Target) SetSourceReference(v string) *Target { - s.SourceReference = &v - return s -} - // Represents the input of a test repository triggers operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggersInput type TestRepositoryTriggersInput struct { @@ -6458,18 +5102,6 @@ func (s *TestRepositoryTriggersInput) Validate() error { return nil } -// SetRepositoryName sets the RepositoryName field's value. -func (s *TestRepositoryTriggersInput) SetRepositoryName(v string) *TestRepositoryTriggersInput { - s.RepositoryName = &v - return s -} - -// SetTriggers sets the Triggers field's value. -func (s *TestRepositoryTriggersInput) SetTriggers(v []RepositoryTrigger) *TestRepositoryTriggersInput { - s.Triggers = v - return s -} - // Represents the output of a test repository triggers operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggersOutput type TestRepositoryTriggersOutput struct { @@ -6501,18 +5133,6 @@ func (s TestRepositoryTriggersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailedExecutions sets the FailedExecutions field's value. -func (s *TestRepositoryTriggersOutput) SetFailedExecutions(v []RepositoryTriggerExecutionFailure) *TestRepositoryTriggersOutput { - s.FailedExecutions = v - return s -} - -// SetSuccessfulExecutions sets the SuccessfulExecutions field's value. -func (s *TestRepositoryTriggersOutput) SetSuccessfulExecutions(v []string) *TestRepositoryTriggersOutput { - s.SuccessfulExecutions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateCommentInput type UpdateCommentInput struct { _ struct{} `type:"structure"` @@ -6558,18 +5178,6 @@ func (s *UpdateCommentInput) Validate() error { return nil } -// SetCommentId sets the CommentId field's value. -func (s *UpdateCommentInput) SetCommentId(v string) *UpdateCommentInput { - s.CommentId = &v - return s -} - -// SetContent sets the Content field's value. -func (s *UpdateCommentInput) SetContent(v string) *UpdateCommentInput { - s.Content = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateCommentOutput type UpdateCommentOutput struct { _ struct{} `type:"structure"` @@ -6595,12 +5203,6 @@ func (s UpdateCommentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetComment sets the Comment field's value. -func (s *UpdateCommentOutput) SetComment(v *Comment) *UpdateCommentOutput { - s.Comment = v - return s -} - // Represents the input of an update default branch operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranchInput type UpdateDefaultBranchInput struct { @@ -6651,18 +5253,6 @@ func (s *UpdateDefaultBranchInput) Validate() error { return nil } -// SetDefaultBranchName sets the DefaultBranchName field's value. -func (s *UpdateDefaultBranchInput) SetDefaultBranchName(v string) *UpdateDefaultBranchInput { - s.DefaultBranchName = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *UpdateDefaultBranchInput) SetRepositoryName(v string) *UpdateDefaultBranchInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranchOutput type UpdateDefaultBranchOutput struct { _ struct{} `type:"structure"` @@ -6729,18 +5319,6 @@ func (s *UpdatePullRequestDescriptionInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *UpdatePullRequestDescriptionInput) SetDescription(v string) *UpdatePullRequestDescriptionInput { - s.Description = &v - return s -} - -// SetPullRequestId sets the PullRequestId field's value. -func (s *UpdatePullRequestDescriptionInput) SetPullRequestId(v string) *UpdatePullRequestDescriptionInput { - s.PullRequestId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestDescriptionOutput type UpdatePullRequestDescriptionOutput struct { _ struct{} `type:"structure"` @@ -6768,12 +5346,6 @@ func (s UpdatePullRequestDescriptionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPullRequest sets the PullRequest field's value. -func (s *UpdatePullRequestDescriptionOutput) SetPullRequest(v *PullRequest) *UpdatePullRequestDescriptionOutput { - s.PullRequest = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatusInput type UpdatePullRequestStatusInput struct { _ struct{} `type:"structure"` @@ -6817,18 +5389,6 @@ func (s *UpdatePullRequestStatusInput) Validate() error { return nil } -// SetPullRequestId sets the PullRequestId field's value. -func (s *UpdatePullRequestStatusInput) SetPullRequestId(v string) *UpdatePullRequestStatusInput { - s.PullRequestId = &v - return s -} - -// SetPullRequestStatus sets the PullRequestStatus field's value. -func (s *UpdatePullRequestStatusInput) SetPullRequestStatus(v PullRequestStatusEnum) *UpdatePullRequestStatusInput { - s.PullRequestStatus = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatusOutput type UpdatePullRequestStatusOutput struct { _ struct{} `type:"structure"` @@ -6856,12 +5416,6 @@ func (s UpdatePullRequestStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPullRequest sets the PullRequest field's value. -func (s *UpdatePullRequestStatusOutput) SetPullRequest(v *PullRequest) *UpdatePullRequestStatusOutput { - s.PullRequest = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitleInput type UpdatePullRequestTitleInput struct { _ struct{} `type:"structure"` @@ -6905,18 +5459,6 @@ func (s *UpdatePullRequestTitleInput) Validate() error { return nil } -// SetPullRequestId sets the PullRequestId field's value. -func (s *UpdatePullRequestTitleInput) SetPullRequestId(v string) *UpdatePullRequestTitleInput { - s.PullRequestId = &v - return s -} - -// SetTitle sets the Title field's value. -func (s *UpdatePullRequestTitleInput) SetTitle(v string) *UpdatePullRequestTitleInput { - s.Title = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitleOutput type UpdatePullRequestTitleOutput struct { _ struct{} `type:"structure"` @@ -6944,12 +5486,6 @@ func (s UpdatePullRequestTitleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPullRequest sets the PullRequest field's value. -func (s *UpdatePullRequestTitleOutput) SetPullRequest(v *PullRequest) *UpdatePullRequestTitleOutput { - s.PullRequest = v - return s -} - // Represents the input of an update repository description operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescriptionInput type UpdateRepositoryDescriptionInput struct { @@ -6992,18 +5528,6 @@ func (s *UpdateRepositoryDescriptionInput) Validate() error { return nil } -// SetRepositoryDescription sets the RepositoryDescription field's value. -func (s *UpdateRepositoryDescriptionInput) SetRepositoryDescription(v string) *UpdateRepositoryDescriptionInput { - s.RepositoryDescription = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *UpdateRepositoryDescriptionInput) SetRepositoryName(v string) *UpdateRepositoryDescriptionInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescriptionOutput type UpdateRepositoryDescriptionOutput struct { _ struct{} `type:"structure"` @@ -7076,18 +5600,6 @@ func (s *UpdateRepositoryNameInput) Validate() error { return nil } -// SetNewName sets the NewName field's value. -func (s *UpdateRepositoryNameInput) SetNewName(v string) *UpdateRepositoryNameInput { - s.NewName = &v - return s -} - -// SetOldName sets the OldName field's value. -func (s *UpdateRepositoryNameInput) SetOldName(v string) *UpdateRepositoryNameInput { - s.OldName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryNameOutput type UpdateRepositoryNameOutput struct { _ struct{} `type:"structure"` @@ -7135,24 +5647,6 @@ func (s UserInfo) GoString() string { return s.String() } -// SetDate sets the Date field's value. -func (s *UserInfo) SetDate(v string) *UserInfo { - s.Date = &v - return s -} - -// SetEmail sets the Email field's value. -func (s *UserInfo) SetEmail(v string) *UserInfo { - s.Email = &v - return s -} - -// SetName sets the Name field's value. -func (s *UserInfo) SetName(v string) *UserInfo { - s.Name = &v - return s -} - type ChangeTypeEnum string // Enum values for ChangeTypeEnum diff --git a/service/codedeploy/api.go b/service/codedeploy/api.go index aaab7cee2b0..c200ab93f55 100644 --- a/service/codedeploy/api.go +++ b/service/codedeploy/api.go @@ -2396,18 +2396,6 @@ func (s *AddTagsToOnPremisesInstancesInput) Validate() error { return nil } -// SetInstanceNames sets the InstanceNames field's value. -func (s *AddTagsToOnPremisesInstancesInput) SetInstanceNames(v []string) *AddTagsToOnPremisesInstancesInput { - s.InstanceNames = v - return s -} - -// SetTags sets the Tags field's value. -func (s *AddTagsToOnPremisesInstancesInput) SetTags(v []Tag) *AddTagsToOnPremisesInstancesInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstancesOutput type AddTagsToOnPremisesInstancesOutput struct { _ struct{} `type:"structure"` @@ -2450,12 +2438,6 @@ func (s Alarm) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *Alarm) SetName(v string) *Alarm { - s.Name = &v - return s -} - // Information about alarms associated with the deployment group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AlarmConfiguration type AlarmConfiguration struct { @@ -2490,24 +2472,6 @@ func (s AlarmConfiguration) GoString() string { return s.String() } -// SetAlarms sets the Alarms field's value. -func (s *AlarmConfiguration) SetAlarms(v []Alarm) *AlarmConfiguration { - s.Alarms = v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *AlarmConfiguration) SetEnabled(v bool) *AlarmConfiguration { - s.Enabled = &v - return s -} - -// SetIgnorePollAlarmFailure sets the IgnorePollAlarmFailure field's value. -func (s *AlarmConfiguration) SetIgnorePollAlarmFailure(v bool) *AlarmConfiguration { - s.IgnorePollAlarmFailure = &v - return s -} - // Information about an application. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ApplicationInfo type ApplicationInfo struct { @@ -2544,42 +2508,6 @@ func (s ApplicationInfo) GoString() string { return s.String() } -// SetApplicationId sets the ApplicationId field's value. -func (s *ApplicationInfo) SetApplicationId(v string) *ApplicationInfo { - s.ApplicationId = &v - return s -} - -// SetApplicationName sets the ApplicationName field's value. -func (s *ApplicationInfo) SetApplicationName(v string) *ApplicationInfo { - s.ApplicationName = &v - return s -} - -// SetComputePlatform sets the ComputePlatform field's value. -func (s *ApplicationInfo) SetComputePlatform(v ComputePlatform) *ApplicationInfo { - s.ComputePlatform = v - return s -} - -// SetCreateTime sets the CreateTime field's value. -func (s *ApplicationInfo) SetCreateTime(v time.Time) *ApplicationInfo { - s.CreateTime = &v - return s -} - -// SetGitHubAccountName sets the GitHubAccountName field's value. -func (s *ApplicationInfo) SetGitHubAccountName(v string) *ApplicationInfo { - s.GitHubAccountName = &v - return s -} - -// SetLinkedToGitHub sets the LinkedToGitHub field's value. -func (s *ApplicationInfo) SetLinkedToGitHub(v bool) *ApplicationInfo { - s.LinkedToGitHub = &v - return s -} - // Information about a configuration for automatically rolling back to a previous // version of an application revision when a deployment doesn't complete successfully. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AutoRollbackConfiguration @@ -2604,18 +2532,6 @@ func (s AutoRollbackConfiguration) GoString() string { return s.String() } -// SetEnabled sets the Enabled field's value. -func (s *AutoRollbackConfiguration) SetEnabled(v bool) *AutoRollbackConfiguration { - s.Enabled = &v - return s -} - -// SetEvents sets the Events field's value. -func (s *AutoRollbackConfiguration) SetEvents(v []AutoRollbackEvent) *AutoRollbackConfiguration { - s.Events = v - return s -} - // Information about an Auto Scaling group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AutoScalingGroup type AutoScalingGroup struct { @@ -2638,18 +2554,6 @@ func (s AutoScalingGroup) GoString() string { return s.String() } -// SetHook sets the Hook field's value. -func (s *AutoScalingGroup) SetHook(v string) *AutoScalingGroup { - s.Hook = &v - return s -} - -// SetName sets the Name field's value. -func (s *AutoScalingGroup) SetName(v string) *AutoScalingGroup { - s.Name = &v - return s -} - // Represents the input of a BatchGetApplicationRevisions operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisionsInput type BatchGetApplicationRevisionsInput struct { @@ -2697,18 +2601,6 @@ func (s *BatchGetApplicationRevisionsInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *BatchGetApplicationRevisionsInput) SetApplicationName(v string) *BatchGetApplicationRevisionsInput { - s.ApplicationName = &v - return s -} - -// SetRevisions sets the Revisions field's value. -func (s *BatchGetApplicationRevisionsInput) SetRevisions(v []RevisionLocation) *BatchGetApplicationRevisionsInput { - s.Revisions = v - return s -} - // Represents the output of a BatchGetApplicationRevisions operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisionsOutput type BatchGetApplicationRevisionsOutput struct { @@ -2741,24 +2633,6 @@ func (s BatchGetApplicationRevisionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationName sets the ApplicationName field's value. -func (s *BatchGetApplicationRevisionsOutput) SetApplicationName(v string) *BatchGetApplicationRevisionsOutput { - s.ApplicationName = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *BatchGetApplicationRevisionsOutput) SetErrorMessage(v string) *BatchGetApplicationRevisionsOutput { - s.ErrorMessage = &v - return s -} - -// SetRevisions sets the Revisions field's value. -func (s *BatchGetApplicationRevisionsOutput) SetRevisions(v []RevisionInfo) *BatchGetApplicationRevisionsOutput { - s.Revisions = v - return s -} - // Represents the input of a BatchGetApplications operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationsInput type BatchGetApplicationsInput struct { @@ -2794,12 +2668,6 @@ func (s *BatchGetApplicationsInput) Validate() error { return nil } -// SetApplicationNames sets the ApplicationNames field's value. -func (s *BatchGetApplicationsInput) SetApplicationNames(v []string) *BatchGetApplicationsInput { - s.ApplicationNames = v - return s -} - // Represents the output of a BatchGetApplications operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationsOutput type BatchGetApplicationsOutput struct { @@ -2826,12 +2694,6 @@ func (s BatchGetApplicationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationsInfo sets the ApplicationsInfo field's value. -func (s *BatchGetApplicationsOutput) SetApplicationsInfo(v []ApplicationInfo) *BatchGetApplicationsOutput { - s.ApplicationsInfo = v - return s -} - // Represents the input of a BatchGetDeploymentGroups operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroupsInput type BatchGetDeploymentGroupsInput struct { @@ -2880,18 +2742,6 @@ func (s *BatchGetDeploymentGroupsInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *BatchGetDeploymentGroupsInput) SetApplicationName(v string) *BatchGetDeploymentGroupsInput { - s.ApplicationName = &v - return s -} - -// SetDeploymentGroupNames sets the DeploymentGroupNames field's value. -func (s *BatchGetDeploymentGroupsInput) SetDeploymentGroupNames(v []string) *BatchGetDeploymentGroupsInput { - s.DeploymentGroupNames = v - return s -} - // Represents the output of a BatchGetDeploymentGroups operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroupsOutput type BatchGetDeploymentGroupsOutput struct { @@ -2921,18 +2771,6 @@ func (s BatchGetDeploymentGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeploymentGroupsInfo sets the DeploymentGroupsInfo field's value. -func (s *BatchGetDeploymentGroupsOutput) SetDeploymentGroupsInfo(v []DeploymentGroupInfo) *BatchGetDeploymentGroupsOutput { - s.DeploymentGroupsInfo = v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *BatchGetDeploymentGroupsOutput) SetErrorMessage(v string) *BatchGetDeploymentGroupsOutput { - s.ErrorMessage = &v - return s -} - // Represents the input of a BatchGetDeploymentInstances operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstancesInput type BatchGetDeploymentInstancesInput struct { @@ -2977,18 +2815,6 @@ func (s *BatchGetDeploymentInstancesInput) Validate() error { return nil } -// SetDeploymentId sets the DeploymentId field's value. -func (s *BatchGetDeploymentInstancesInput) SetDeploymentId(v string) *BatchGetDeploymentInstancesInput { - s.DeploymentId = &v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *BatchGetDeploymentInstancesInput) SetInstanceIds(v []string) *BatchGetDeploymentInstancesInput { - s.InstanceIds = v - return s -} - // Represents the output of a BatchGetDeploymentInstances operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstancesOutput type BatchGetDeploymentInstancesOutput struct { @@ -3018,18 +2844,6 @@ func (s BatchGetDeploymentInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetErrorMessage sets the ErrorMessage field's value. -func (s *BatchGetDeploymentInstancesOutput) SetErrorMessage(v string) *BatchGetDeploymentInstancesOutput { - s.ErrorMessage = &v - return s -} - -// SetInstancesSummary sets the InstancesSummary field's value. -func (s *BatchGetDeploymentInstancesOutput) SetInstancesSummary(v []InstanceSummary) *BatchGetDeploymentInstancesOutput { - s.InstancesSummary = v - return s -} - // Represents the input of a BatchGetDeployments operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentsInput type BatchGetDeploymentsInput struct { @@ -3065,12 +2879,6 @@ func (s *BatchGetDeploymentsInput) Validate() error { return nil } -// SetDeploymentIds sets the DeploymentIds field's value. -func (s *BatchGetDeploymentsInput) SetDeploymentIds(v []string) *BatchGetDeploymentsInput { - s.DeploymentIds = v - return s -} - // Represents the output of a BatchGetDeployments operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentsOutput type BatchGetDeploymentsOutput struct { @@ -3097,12 +2905,6 @@ func (s BatchGetDeploymentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeploymentsInfo sets the DeploymentsInfo field's value. -func (s *BatchGetDeploymentsOutput) SetDeploymentsInfo(v []DeploymentInfo) *BatchGetDeploymentsOutput { - s.DeploymentsInfo = v - return s -} - // Represents the input of a BatchGetOnPremisesInstances operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstancesInput type BatchGetOnPremisesInstancesInput struct { @@ -3138,12 +2940,6 @@ func (s *BatchGetOnPremisesInstancesInput) Validate() error { return nil } -// SetInstanceNames sets the InstanceNames field's value. -func (s *BatchGetOnPremisesInstancesInput) SetInstanceNames(v []string) *BatchGetOnPremisesInstancesInput { - s.InstanceNames = v - return s -} - // Represents the output of a BatchGetOnPremisesInstances operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstancesOutput type BatchGetOnPremisesInstancesOutput struct { @@ -3170,12 +2966,6 @@ func (s BatchGetOnPremisesInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceInfos sets the InstanceInfos field's value. -func (s *BatchGetOnPremisesInstancesOutput) SetInstanceInfos(v []InstanceInfo) *BatchGetOnPremisesInstancesOutput { - s.InstanceInfos = v - return s -} - // Information about blue/green deployment options for a deployment group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BlueGreenDeploymentConfiguration type BlueGreenDeploymentConfiguration struct { @@ -3204,24 +2994,6 @@ func (s BlueGreenDeploymentConfiguration) GoString() string { return s.String() } -// SetDeploymentReadyOption sets the DeploymentReadyOption field's value. -func (s *BlueGreenDeploymentConfiguration) SetDeploymentReadyOption(v *DeploymentReadyOption) *BlueGreenDeploymentConfiguration { - s.DeploymentReadyOption = v - return s -} - -// SetGreenFleetProvisioningOption sets the GreenFleetProvisioningOption field's value. -func (s *BlueGreenDeploymentConfiguration) SetGreenFleetProvisioningOption(v *GreenFleetProvisioningOption) *BlueGreenDeploymentConfiguration { - s.GreenFleetProvisioningOption = v - return s -} - -// SetTerminateBlueInstancesOnDeploymentSuccess sets the TerminateBlueInstancesOnDeploymentSuccess field's value. -func (s *BlueGreenDeploymentConfiguration) SetTerminateBlueInstancesOnDeploymentSuccess(v *BlueInstanceTerminationOption) *BlueGreenDeploymentConfiguration { - s.TerminateBlueInstancesOnDeploymentSuccess = v - return s -} - // Information about whether instances in the original environment are terminated // when a blue/green deployment is successful. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BlueInstanceTerminationOption @@ -3252,18 +3024,6 @@ func (s BlueInstanceTerminationOption) GoString() string { return s.String() } -// SetAction sets the Action field's value. -func (s *BlueInstanceTerminationOption) SetAction(v InstanceAction) *BlueInstanceTerminationOption { - s.Action = v - return s -} - -// SetTerminationWaitTimeInMinutes sets the TerminationWaitTimeInMinutes field's value. -func (s *BlueInstanceTerminationOption) SetTerminationWaitTimeInMinutes(v int64) *BlueInstanceTerminationOption { - s.TerminationWaitTimeInMinutes = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeploymentInput type ContinueDeploymentInput struct { _ struct{} `type:"structure"` @@ -3283,12 +3043,6 @@ func (s ContinueDeploymentInput) GoString() string { return s.String() } -// SetDeploymentId sets the DeploymentId field's value. -func (s *ContinueDeploymentInput) SetDeploymentId(v string) *ContinueDeploymentInput { - s.DeploymentId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeploymentOutput type ContinueDeploymentOutput struct { _ struct{} `type:"structure"` @@ -3353,18 +3107,6 @@ func (s *CreateApplicationInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *CreateApplicationInput) SetApplicationName(v string) *CreateApplicationInput { - s.ApplicationName = &v - return s -} - -// SetComputePlatform sets the ComputePlatform field's value. -func (s *CreateApplicationInput) SetComputePlatform(v ComputePlatform) *CreateApplicationInput { - s.ComputePlatform = v - return s -} - // Represents the output of a CreateApplication operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplicationOutput type CreateApplicationOutput struct { @@ -3391,12 +3133,6 @@ func (s CreateApplicationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationId sets the ApplicationId field's value. -func (s *CreateApplicationOutput) SetApplicationId(v string) *CreateApplicationOutput { - s.ApplicationId = &v - return s -} - // Represents the input of a CreateDeploymentConfig operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfigInput type CreateDeploymentConfigInput struct { @@ -3462,30 +3198,6 @@ func (s *CreateDeploymentConfigInput) Validate() error { return nil } -// SetComputePlatform sets the ComputePlatform field's value. -func (s *CreateDeploymentConfigInput) SetComputePlatform(v ComputePlatform) *CreateDeploymentConfigInput { - s.ComputePlatform = v - return s -} - -// SetDeploymentConfigName sets the DeploymentConfigName field's value. -func (s *CreateDeploymentConfigInput) SetDeploymentConfigName(v string) *CreateDeploymentConfigInput { - s.DeploymentConfigName = &v - return s -} - -// SetMinimumHealthyHosts sets the MinimumHealthyHosts field's value. -func (s *CreateDeploymentConfigInput) SetMinimumHealthyHosts(v *MinimumHealthyHosts) *CreateDeploymentConfigInput { - s.MinimumHealthyHosts = v - return s -} - -// SetTrafficRoutingConfig sets the TrafficRoutingConfig field's value. -func (s *CreateDeploymentConfigInput) SetTrafficRoutingConfig(v *TrafficRoutingConfig) *CreateDeploymentConfigInput { - s.TrafficRoutingConfig = v - return s -} - // Represents the output of a CreateDeploymentConfig operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfigOutput type CreateDeploymentConfigOutput struct { @@ -3512,12 +3224,6 @@ func (s CreateDeploymentConfigOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeploymentConfigId sets the DeploymentConfigId field's value. -func (s *CreateDeploymentConfigOutput) SetDeploymentConfigId(v string) *CreateDeploymentConfigOutput { - s.DeploymentConfigId = &v - return s -} - // Represents the input of a CreateDeploymentGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroupInput type CreateDeploymentGroupInput struct { @@ -3642,96 +3348,6 @@ func (s *CreateDeploymentGroupInput) Validate() error { return nil } -// SetAlarmConfiguration sets the AlarmConfiguration field's value. -func (s *CreateDeploymentGroupInput) SetAlarmConfiguration(v *AlarmConfiguration) *CreateDeploymentGroupInput { - s.AlarmConfiguration = v - return s -} - -// SetApplicationName sets the ApplicationName field's value. -func (s *CreateDeploymentGroupInput) SetApplicationName(v string) *CreateDeploymentGroupInput { - s.ApplicationName = &v - return s -} - -// SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value. -func (s *CreateDeploymentGroupInput) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *CreateDeploymentGroupInput { - s.AutoRollbackConfiguration = v - return s -} - -// SetAutoScalingGroups sets the AutoScalingGroups field's value. -func (s *CreateDeploymentGroupInput) SetAutoScalingGroups(v []string) *CreateDeploymentGroupInput { - s.AutoScalingGroups = v - return s -} - -// SetBlueGreenDeploymentConfiguration sets the BlueGreenDeploymentConfiguration field's value. -func (s *CreateDeploymentGroupInput) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *CreateDeploymentGroupInput { - s.BlueGreenDeploymentConfiguration = v - return s -} - -// SetDeploymentConfigName sets the DeploymentConfigName field's value. -func (s *CreateDeploymentGroupInput) SetDeploymentConfigName(v string) *CreateDeploymentGroupInput { - s.DeploymentConfigName = &v - return s -} - -// SetDeploymentGroupName sets the DeploymentGroupName field's value. -func (s *CreateDeploymentGroupInput) SetDeploymentGroupName(v string) *CreateDeploymentGroupInput { - s.DeploymentGroupName = &v - return s -} - -// SetDeploymentStyle sets the DeploymentStyle field's value. -func (s *CreateDeploymentGroupInput) SetDeploymentStyle(v *DeploymentStyle) *CreateDeploymentGroupInput { - s.DeploymentStyle = v - return s -} - -// SetEc2TagFilters sets the Ec2TagFilters field's value. -func (s *CreateDeploymentGroupInput) SetEc2TagFilters(v []EC2TagFilter) *CreateDeploymentGroupInput { - s.Ec2TagFilters = v - return s -} - -// SetEc2TagSet sets the Ec2TagSet field's value. -func (s *CreateDeploymentGroupInput) SetEc2TagSet(v *EC2TagSet) *CreateDeploymentGroupInput { - s.Ec2TagSet = v - return s -} - -// SetLoadBalancerInfo sets the LoadBalancerInfo field's value. -func (s *CreateDeploymentGroupInput) SetLoadBalancerInfo(v *LoadBalancerInfo) *CreateDeploymentGroupInput { - s.LoadBalancerInfo = v - return s -} - -// SetOnPremisesInstanceTagFilters sets the OnPremisesInstanceTagFilters field's value. -func (s *CreateDeploymentGroupInput) SetOnPremisesInstanceTagFilters(v []TagFilter) *CreateDeploymentGroupInput { - s.OnPremisesInstanceTagFilters = v - return s -} - -// SetOnPremisesTagSet sets the OnPremisesTagSet field's value. -func (s *CreateDeploymentGroupInput) SetOnPremisesTagSet(v *OnPremisesTagSet) *CreateDeploymentGroupInput { - s.OnPremisesTagSet = v - return s -} - -// SetServiceRoleArn sets the ServiceRoleArn field's value. -func (s *CreateDeploymentGroupInput) SetServiceRoleArn(v string) *CreateDeploymentGroupInput { - s.ServiceRoleArn = &v - return s -} - -// SetTriggerConfigurations sets the TriggerConfigurations field's value. -func (s *CreateDeploymentGroupInput) SetTriggerConfigurations(v []TriggerConfig) *CreateDeploymentGroupInput { - s.TriggerConfigurations = v - return s -} - // Represents the output of a CreateDeploymentGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroupOutput type CreateDeploymentGroupOutput struct { @@ -3758,12 +3374,6 @@ func (s CreateDeploymentGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeploymentGroupId sets the DeploymentGroupId field's value. -func (s *CreateDeploymentGroupOutput) SetDeploymentGroupId(v string) *CreateDeploymentGroupOutput { - s.DeploymentGroupId = &v - return s -} - // Represents the input of a CreateDeployment operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentInput type CreateDeploymentInput struct { @@ -3865,66 +3475,6 @@ func (s *CreateDeploymentInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *CreateDeploymentInput) SetApplicationName(v string) *CreateDeploymentInput { - s.ApplicationName = &v - return s -} - -// SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value. -func (s *CreateDeploymentInput) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *CreateDeploymentInput { - s.AutoRollbackConfiguration = v - return s -} - -// SetDeploymentConfigName sets the DeploymentConfigName field's value. -func (s *CreateDeploymentInput) SetDeploymentConfigName(v string) *CreateDeploymentInput { - s.DeploymentConfigName = &v - return s -} - -// SetDeploymentGroupName sets the DeploymentGroupName field's value. -func (s *CreateDeploymentInput) SetDeploymentGroupName(v string) *CreateDeploymentInput { - s.DeploymentGroupName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateDeploymentInput) SetDescription(v string) *CreateDeploymentInput { - s.Description = &v - return s -} - -// SetFileExistsBehavior sets the FileExistsBehavior field's value. -func (s *CreateDeploymentInput) SetFileExistsBehavior(v FileExistsBehavior) *CreateDeploymentInput { - s.FileExistsBehavior = v - return s -} - -// SetIgnoreApplicationStopFailures sets the IgnoreApplicationStopFailures field's value. -func (s *CreateDeploymentInput) SetIgnoreApplicationStopFailures(v bool) *CreateDeploymentInput { - s.IgnoreApplicationStopFailures = &v - return s -} - -// SetRevision sets the Revision field's value. -func (s *CreateDeploymentInput) SetRevision(v *RevisionLocation) *CreateDeploymentInput { - s.Revision = v - return s -} - -// SetTargetInstances sets the TargetInstances field's value. -func (s *CreateDeploymentInput) SetTargetInstances(v *TargetInstances) *CreateDeploymentInput { - s.TargetInstances = v - return s -} - -// SetUpdateOutdatedInstancesOnly sets the UpdateOutdatedInstancesOnly field's value. -func (s *CreateDeploymentInput) SetUpdateOutdatedInstancesOnly(v bool) *CreateDeploymentInput { - s.UpdateOutdatedInstancesOnly = &v - return s -} - // Represents the output of a CreateDeployment operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentOutput type CreateDeploymentOutput struct { @@ -3951,12 +3501,6 @@ func (s CreateDeploymentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeploymentId sets the DeploymentId field's value. -func (s *CreateDeploymentOutput) SetDeploymentId(v string) *CreateDeploymentOutput { - s.DeploymentId = &v - return s -} - // Represents the input of a DeleteApplication operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplicationInput type DeleteApplicationInput struct { @@ -3996,12 +3540,6 @@ func (s *DeleteApplicationInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *DeleteApplicationInput) SetApplicationName(v string) *DeleteApplicationInput { - s.ApplicationName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplicationOutput type DeleteApplicationOutput struct { _ struct{} `type:"structure"` @@ -4063,12 +3601,6 @@ func (s *DeleteDeploymentConfigInput) Validate() error { return nil } -// SetDeploymentConfigName sets the DeploymentConfigName field's value. -func (s *DeleteDeploymentConfigInput) SetDeploymentConfigName(v string) *DeleteDeploymentConfigInput { - s.DeploymentConfigName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfigOutput type DeleteDeploymentConfigOutput struct { _ struct{} `type:"structure"` @@ -4142,18 +3674,6 @@ func (s *DeleteDeploymentGroupInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *DeleteDeploymentGroupInput) SetApplicationName(v string) *DeleteDeploymentGroupInput { - s.ApplicationName = &v - return s -} - -// SetDeploymentGroupName sets the DeploymentGroupName field's value. -func (s *DeleteDeploymentGroupInput) SetDeploymentGroupName(v string) *DeleteDeploymentGroupInput { - s.DeploymentGroupName = &v - return s -} - // Represents the output of a DeleteDeploymentGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroupOutput type DeleteDeploymentGroupOutput struct { @@ -4185,12 +3705,6 @@ func (s DeleteDeploymentGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHooksNotCleanedUp sets the HooksNotCleanedUp field's value. -func (s *DeleteDeploymentGroupOutput) SetHooksNotCleanedUp(v []AutoScalingGroup) *DeleteDeploymentGroupOutput { - s.HooksNotCleanedUp = v - return s -} - // Represents the input of a DeleteGitHubAccount operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteGitHubAccountTokenInput type DeleteGitHubAccountTokenInput struct { @@ -4210,12 +3724,6 @@ func (s DeleteGitHubAccountTokenInput) GoString() string { return s.String() } -// SetTokenName sets the TokenName field's value. -func (s *DeleteGitHubAccountTokenInput) SetTokenName(v string) *DeleteGitHubAccountTokenInput { - s.TokenName = &v - return s -} - // Represents the output of a DeleteGitHubAccountToken operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteGitHubAccountTokenOutput type DeleteGitHubAccountTokenOutput struct { @@ -4242,12 +3750,6 @@ func (s DeleteGitHubAccountTokenOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTokenName sets the TokenName field's value. -func (s *DeleteGitHubAccountTokenOutput) SetTokenName(v string) *DeleteGitHubAccountTokenOutput { - s.TokenName = &v - return s -} - // Information about a deployment configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentConfigInfo type DeploymentConfigInfo struct { @@ -4283,42 +3785,6 @@ func (s DeploymentConfigInfo) GoString() string { return s.String() } -// SetComputePlatform sets the ComputePlatform field's value. -func (s *DeploymentConfigInfo) SetComputePlatform(v ComputePlatform) *DeploymentConfigInfo { - s.ComputePlatform = v - return s -} - -// SetCreateTime sets the CreateTime field's value. -func (s *DeploymentConfigInfo) SetCreateTime(v time.Time) *DeploymentConfigInfo { - s.CreateTime = &v - return s -} - -// SetDeploymentConfigId sets the DeploymentConfigId field's value. -func (s *DeploymentConfigInfo) SetDeploymentConfigId(v string) *DeploymentConfigInfo { - s.DeploymentConfigId = &v - return s -} - -// SetDeploymentConfigName sets the DeploymentConfigName field's value. -func (s *DeploymentConfigInfo) SetDeploymentConfigName(v string) *DeploymentConfigInfo { - s.DeploymentConfigName = &v - return s -} - -// SetMinimumHealthyHosts sets the MinimumHealthyHosts field's value. -func (s *DeploymentConfigInfo) SetMinimumHealthyHosts(v *MinimumHealthyHosts) *DeploymentConfigInfo { - s.MinimumHealthyHosts = v - return s -} - -// SetTrafficRoutingConfig sets the TrafficRoutingConfig field's value. -func (s *DeploymentConfigInfo) SetTrafficRoutingConfig(v *TrafficRoutingConfig) *DeploymentConfigInfo { - s.TrafficRoutingConfig = v - return s -} - // Information about a deployment group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentGroupInfo type DeploymentGroupInfo struct { @@ -4406,126 +3872,6 @@ func (s DeploymentGroupInfo) GoString() string { return s.String() } -// SetAlarmConfiguration sets the AlarmConfiguration field's value. -func (s *DeploymentGroupInfo) SetAlarmConfiguration(v *AlarmConfiguration) *DeploymentGroupInfo { - s.AlarmConfiguration = v - return s -} - -// SetApplicationName sets the ApplicationName field's value. -func (s *DeploymentGroupInfo) SetApplicationName(v string) *DeploymentGroupInfo { - s.ApplicationName = &v - return s -} - -// SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value. -func (s *DeploymentGroupInfo) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *DeploymentGroupInfo { - s.AutoRollbackConfiguration = v - return s -} - -// SetAutoScalingGroups sets the AutoScalingGroups field's value. -func (s *DeploymentGroupInfo) SetAutoScalingGroups(v []AutoScalingGroup) *DeploymentGroupInfo { - s.AutoScalingGroups = v - return s -} - -// SetBlueGreenDeploymentConfiguration sets the BlueGreenDeploymentConfiguration field's value. -func (s *DeploymentGroupInfo) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *DeploymentGroupInfo { - s.BlueGreenDeploymentConfiguration = v - return s -} - -// SetComputePlatform sets the ComputePlatform field's value. -func (s *DeploymentGroupInfo) SetComputePlatform(v ComputePlatform) *DeploymentGroupInfo { - s.ComputePlatform = v - return s -} - -// SetDeploymentConfigName sets the DeploymentConfigName field's value. -func (s *DeploymentGroupInfo) SetDeploymentConfigName(v string) *DeploymentGroupInfo { - s.DeploymentConfigName = &v - return s -} - -// SetDeploymentGroupId sets the DeploymentGroupId field's value. -func (s *DeploymentGroupInfo) SetDeploymentGroupId(v string) *DeploymentGroupInfo { - s.DeploymentGroupId = &v - return s -} - -// SetDeploymentGroupName sets the DeploymentGroupName field's value. -func (s *DeploymentGroupInfo) SetDeploymentGroupName(v string) *DeploymentGroupInfo { - s.DeploymentGroupName = &v - return s -} - -// SetDeploymentStyle sets the DeploymentStyle field's value. -func (s *DeploymentGroupInfo) SetDeploymentStyle(v *DeploymentStyle) *DeploymentGroupInfo { - s.DeploymentStyle = v - return s -} - -// SetEc2TagFilters sets the Ec2TagFilters field's value. -func (s *DeploymentGroupInfo) SetEc2TagFilters(v []EC2TagFilter) *DeploymentGroupInfo { - s.Ec2TagFilters = v - return s -} - -// SetEc2TagSet sets the Ec2TagSet field's value. -func (s *DeploymentGroupInfo) SetEc2TagSet(v *EC2TagSet) *DeploymentGroupInfo { - s.Ec2TagSet = v - return s -} - -// SetLastAttemptedDeployment sets the LastAttemptedDeployment field's value. -func (s *DeploymentGroupInfo) SetLastAttemptedDeployment(v *LastDeploymentInfo) *DeploymentGroupInfo { - s.LastAttemptedDeployment = v - return s -} - -// SetLastSuccessfulDeployment sets the LastSuccessfulDeployment field's value. -func (s *DeploymentGroupInfo) SetLastSuccessfulDeployment(v *LastDeploymentInfo) *DeploymentGroupInfo { - s.LastSuccessfulDeployment = v - return s -} - -// SetLoadBalancerInfo sets the LoadBalancerInfo field's value. -func (s *DeploymentGroupInfo) SetLoadBalancerInfo(v *LoadBalancerInfo) *DeploymentGroupInfo { - s.LoadBalancerInfo = v - return s -} - -// SetOnPremisesInstanceTagFilters sets the OnPremisesInstanceTagFilters field's value. -func (s *DeploymentGroupInfo) SetOnPremisesInstanceTagFilters(v []TagFilter) *DeploymentGroupInfo { - s.OnPremisesInstanceTagFilters = v - return s -} - -// SetOnPremisesTagSet sets the OnPremisesTagSet field's value. -func (s *DeploymentGroupInfo) SetOnPremisesTagSet(v *OnPremisesTagSet) *DeploymentGroupInfo { - s.OnPremisesTagSet = v - return s -} - -// SetServiceRoleArn sets the ServiceRoleArn field's value. -func (s *DeploymentGroupInfo) SetServiceRoleArn(v string) *DeploymentGroupInfo { - s.ServiceRoleArn = &v - return s -} - -// SetTargetRevision sets the TargetRevision field's value. -func (s *DeploymentGroupInfo) SetTargetRevision(v *RevisionLocation) *DeploymentGroupInfo { - s.TargetRevision = v - return s -} - -// SetTriggerConfigurations sets the TriggerConfigurations field's value. -func (s *DeploymentGroupInfo) SetTriggerConfigurations(v []TriggerConfig) *DeploymentGroupInfo { - s.TriggerConfigurations = v - return s -} - // Information about a deployment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentInfo type DeploymentInfo struct { @@ -4663,168 +4009,6 @@ func (s DeploymentInfo) GoString() string { return s.String() } -// SetAdditionalDeploymentStatusInfo sets the AdditionalDeploymentStatusInfo field's value. -func (s *DeploymentInfo) SetAdditionalDeploymentStatusInfo(v string) *DeploymentInfo { - s.AdditionalDeploymentStatusInfo = &v - return s -} - -// SetApplicationName sets the ApplicationName field's value. -func (s *DeploymentInfo) SetApplicationName(v string) *DeploymentInfo { - s.ApplicationName = &v - return s -} - -// SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value. -func (s *DeploymentInfo) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *DeploymentInfo { - s.AutoRollbackConfiguration = v - return s -} - -// SetBlueGreenDeploymentConfiguration sets the BlueGreenDeploymentConfiguration field's value. -func (s *DeploymentInfo) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *DeploymentInfo { - s.BlueGreenDeploymentConfiguration = v - return s -} - -// SetCompleteTime sets the CompleteTime field's value. -func (s *DeploymentInfo) SetCompleteTime(v time.Time) *DeploymentInfo { - s.CompleteTime = &v - return s -} - -// SetComputePlatform sets the ComputePlatform field's value. -func (s *DeploymentInfo) SetComputePlatform(v ComputePlatform) *DeploymentInfo { - s.ComputePlatform = v - return s -} - -// SetCreateTime sets the CreateTime field's value. -func (s *DeploymentInfo) SetCreateTime(v time.Time) *DeploymentInfo { - s.CreateTime = &v - return s -} - -// SetCreator sets the Creator field's value. -func (s *DeploymentInfo) SetCreator(v DeploymentCreator) *DeploymentInfo { - s.Creator = v - return s -} - -// SetDeploymentConfigName sets the DeploymentConfigName field's value. -func (s *DeploymentInfo) SetDeploymentConfigName(v string) *DeploymentInfo { - s.DeploymentConfigName = &v - return s -} - -// SetDeploymentGroupName sets the DeploymentGroupName field's value. -func (s *DeploymentInfo) SetDeploymentGroupName(v string) *DeploymentInfo { - s.DeploymentGroupName = &v - return s -} - -// SetDeploymentId sets the DeploymentId field's value. -func (s *DeploymentInfo) SetDeploymentId(v string) *DeploymentInfo { - s.DeploymentId = &v - return s -} - -// SetDeploymentOverview sets the DeploymentOverview field's value. -func (s *DeploymentInfo) SetDeploymentOverview(v *DeploymentOverview) *DeploymentInfo { - s.DeploymentOverview = v - return s -} - -// SetDeploymentStatusMessages sets the DeploymentStatusMessages field's value. -func (s *DeploymentInfo) SetDeploymentStatusMessages(v []string) *DeploymentInfo { - s.DeploymentStatusMessages = v - return s -} - -// SetDeploymentStyle sets the DeploymentStyle field's value. -func (s *DeploymentInfo) SetDeploymentStyle(v *DeploymentStyle) *DeploymentInfo { - s.DeploymentStyle = v - return s -} - -// SetDescription sets the Description field's value. -func (s *DeploymentInfo) SetDescription(v string) *DeploymentInfo { - s.Description = &v - return s -} - -// SetErrorInformation sets the ErrorInformation field's value. -func (s *DeploymentInfo) SetErrorInformation(v *ErrorInformation) *DeploymentInfo { - s.ErrorInformation = v - return s -} - -// SetFileExistsBehavior sets the FileExistsBehavior field's value. -func (s *DeploymentInfo) SetFileExistsBehavior(v FileExistsBehavior) *DeploymentInfo { - s.FileExistsBehavior = v - return s -} - -// SetIgnoreApplicationStopFailures sets the IgnoreApplicationStopFailures field's value. -func (s *DeploymentInfo) SetIgnoreApplicationStopFailures(v bool) *DeploymentInfo { - s.IgnoreApplicationStopFailures = &v - return s -} - -// SetInstanceTerminationWaitTimeStarted sets the InstanceTerminationWaitTimeStarted field's value. -func (s *DeploymentInfo) SetInstanceTerminationWaitTimeStarted(v bool) *DeploymentInfo { - s.InstanceTerminationWaitTimeStarted = &v - return s -} - -// SetLoadBalancerInfo sets the LoadBalancerInfo field's value. -func (s *DeploymentInfo) SetLoadBalancerInfo(v *LoadBalancerInfo) *DeploymentInfo { - s.LoadBalancerInfo = v - return s -} - -// SetPreviousRevision sets the PreviousRevision field's value. -func (s *DeploymentInfo) SetPreviousRevision(v *RevisionLocation) *DeploymentInfo { - s.PreviousRevision = v - return s -} - -// SetRevision sets the Revision field's value. -func (s *DeploymentInfo) SetRevision(v *RevisionLocation) *DeploymentInfo { - s.Revision = v - return s -} - -// SetRollbackInfo sets the RollbackInfo field's value. -func (s *DeploymentInfo) SetRollbackInfo(v *RollbackInfo) *DeploymentInfo { - s.RollbackInfo = v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *DeploymentInfo) SetStartTime(v time.Time) *DeploymentInfo { - s.StartTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DeploymentInfo) SetStatus(v DeploymentStatus) *DeploymentInfo { - s.Status = v - return s -} - -// SetTargetInstances sets the TargetInstances field's value. -func (s *DeploymentInfo) SetTargetInstances(v *TargetInstances) *DeploymentInfo { - s.TargetInstances = v - return s -} - -// SetUpdateOutdatedInstancesOnly sets the UpdateOutdatedInstancesOnly field's value. -func (s *DeploymentInfo) SetUpdateOutdatedInstancesOnly(v bool) *DeploymentInfo { - s.UpdateOutdatedInstancesOnly = &v - return s -} - // Information about the deployment status of the instances in the deployment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentOverview type DeploymentOverview struct { @@ -4861,42 +4045,6 @@ func (s DeploymentOverview) GoString() string { return s.String() } -// SetFailed sets the Failed field's value. -func (s *DeploymentOverview) SetFailed(v int64) *DeploymentOverview { - s.Failed = &v - return s -} - -// SetInProgress sets the InProgress field's value. -func (s *DeploymentOverview) SetInProgress(v int64) *DeploymentOverview { - s.InProgress = &v - return s -} - -// SetPending sets the Pending field's value. -func (s *DeploymentOverview) SetPending(v int64) *DeploymentOverview { - s.Pending = &v - return s -} - -// SetReady sets the Ready field's value. -func (s *DeploymentOverview) SetReady(v int64) *DeploymentOverview { - s.Ready = &v - return s -} - -// SetSkipped sets the Skipped field's value. -func (s *DeploymentOverview) SetSkipped(v int64) *DeploymentOverview { - s.Skipped = &v - return s -} - -// SetSucceeded sets the Succeeded field's value. -func (s *DeploymentOverview) SetSucceeded(v int64) *DeploymentOverview { - s.Succeeded = &v - return s -} - // Information about how traffic is rerouted to instances in a replacement environment // in a blue/green deployment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentReadyOption @@ -4932,18 +4080,6 @@ func (s DeploymentReadyOption) GoString() string { return s.String() } -// SetActionOnTimeout sets the ActionOnTimeout field's value. -func (s *DeploymentReadyOption) SetActionOnTimeout(v DeploymentReadyAction) *DeploymentReadyOption { - s.ActionOnTimeout = v - return s -} - -// SetWaitTimeInMinutes sets the WaitTimeInMinutes field's value. -func (s *DeploymentReadyOption) SetWaitTimeInMinutes(v int64) *DeploymentReadyOption { - s.WaitTimeInMinutes = &v - return s -} - // Information about the type of deployment, either in-place or blue/green, // you want to run and whether to route deployment traffic behind a load balancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentStyle @@ -4967,18 +4103,6 @@ func (s DeploymentStyle) GoString() string { return s.String() } -// SetDeploymentOption sets the DeploymentOption field's value. -func (s *DeploymentStyle) SetDeploymentOption(v DeploymentOption) *DeploymentStyle { - s.DeploymentOption = v - return s -} - -// SetDeploymentType sets the DeploymentType field's value. -func (s *DeploymentStyle) SetDeploymentType(v DeploymentType) *DeploymentStyle { - s.DeploymentType = v - return s -} - // Represents the input of a DeregisterOnPremisesInstance operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstanceInput type DeregisterOnPremisesInstanceInput struct { @@ -5014,12 +4138,6 @@ func (s *DeregisterOnPremisesInstanceInput) Validate() error { return nil } -// SetInstanceName sets the InstanceName field's value. -func (s *DeregisterOnPremisesInstanceInput) SetInstanceName(v string) *DeregisterOnPremisesInstanceInput { - s.InstanceName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstanceOutput type DeregisterOnPremisesInstanceOutput struct { _ struct{} `type:"structure"` @@ -5087,30 +4205,6 @@ func (s Diagnostics) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *Diagnostics) SetErrorCode(v LifecycleErrorCode) *Diagnostics { - s.ErrorCode = v - return s -} - -// SetLogTail sets the LogTail field's value. -func (s *Diagnostics) SetLogTail(v string) *Diagnostics { - s.LogTail = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *Diagnostics) SetMessage(v string) *Diagnostics { - s.Message = &v - return s -} - -// SetScriptName sets the ScriptName field's value. -func (s *Diagnostics) SetScriptName(v string) *Diagnostics { - s.ScriptName = &v - return s -} - // Information about an EC2 tag filter. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/EC2TagFilter type EC2TagFilter struct { @@ -5142,24 +4236,6 @@ func (s EC2TagFilter) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *EC2TagFilter) SetKey(v string) *EC2TagFilter { - s.Key = &v - return s -} - -// SetType sets the Type field's value. -func (s *EC2TagFilter) SetType(v EC2TagFilterType) *EC2TagFilter { - s.Type = v - return s -} - -// SetValue sets the Value field's value. -func (s *EC2TagFilter) SetValue(v string) *EC2TagFilter { - s.Value = &v - return s -} - // Information about groups of EC2 instance tags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/EC2TagSet type EC2TagSet struct { @@ -5181,12 +4257,6 @@ func (s EC2TagSet) GoString() string { return s.String() } -// SetEc2TagSetList sets the Ec2TagSetList field's value. -func (s *EC2TagSet) SetEc2TagSetList(v [][]EC2TagFilter) *EC2TagSet { - s.Ec2TagSetList = v - return s -} - // Information about a load balancer in Elastic Load Balancing to use in a deployment. // Instances are registered directly with a load balancer, and traffic is routed // to the load balancer. @@ -5212,12 +4282,6 @@ func (s ELBInfo) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *ELBInfo) SetName(v string) *ELBInfo { - s.Name = &v - return s -} - // Information about a deployment error. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ErrorInformation type ErrorInformation struct { @@ -5280,18 +4344,6 @@ func (s ErrorInformation) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *ErrorInformation) SetCode(v ErrorCode) *ErrorInformation { - s.Code = v - return s -} - -// SetMessage sets the Message field's value. -func (s *ErrorInformation) SetMessage(v string) *ErrorInformation { - s.Message = &v - return s -} - // Information about an application revision. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GenericRevisionInfo type GenericRevisionInfo struct { @@ -5323,36 +4375,6 @@ func (s GenericRevisionInfo) GoString() string { return s.String() } -// SetDeploymentGroups sets the DeploymentGroups field's value. -func (s *GenericRevisionInfo) SetDeploymentGroups(v []string) *GenericRevisionInfo { - s.DeploymentGroups = v - return s -} - -// SetDescription sets the Description field's value. -func (s *GenericRevisionInfo) SetDescription(v string) *GenericRevisionInfo { - s.Description = &v - return s -} - -// SetFirstUsedTime sets the FirstUsedTime field's value. -func (s *GenericRevisionInfo) SetFirstUsedTime(v time.Time) *GenericRevisionInfo { - s.FirstUsedTime = &v - return s -} - -// SetLastUsedTime sets the LastUsedTime field's value. -func (s *GenericRevisionInfo) SetLastUsedTime(v time.Time) *GenericRevisionInfo { - s.LastUsedTime = &v - return s -} - -// SetRegisterTime sets the RegisterTime field's value. -func (s *GenericRevisionInfo) SetRegisterTime(v time.Time) *GenericRevisionInfo { - s.RegisterTime = &v - return s -} - // Represents the input of a GetApplication operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationInput type GetApplicationInput struct { @@ -5392,12 +4414,6 @@ func (s *GetApplicationInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *GetApplicationInput) SetApplicationName(v string) *GetApplicationInput { - s.ApplicationName = &v - return s -} - // Represents the output of a GetApplication operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationOutput type GetApplicationOutput struct { @@ -5424,12 +4440,6 @@ func (s GetApplicationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplication sets the Application field's value. -func (s *GetApplicationOutput) SetApplication(v *ApplicationInfo) *GetApplicationOutput { - s.Application = v - return s -} - // Represents the input of a GetApplicationRevision operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevisionInput type GetApplicationRevisionInput struct { @@ -5477,18 +4487,6 @@ func (s *GetApplicationRevisionInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *GetApplicationRevisionInput) SetApplicationName(v string) *GetApplicationRevisionInput { - s.ApplicationName = &v - return s -} - -// SetRevision sets the Revision field's value. -func (s *GetApplicationRevisionInput) SetRevision(v *RevisionLocation) *GetApplicationRevisionInput { - s.Revision = v - return s -} - // Represents the output of a GetApplicationRevision operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevisionOutput type GetApplicationRevisionOutput struct { @@ -5521,24 +4519,6 @@ func (s GetApplicationRevisionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationName sets the ApplicationName field's value. -func (s *GetApplicationRevisionOutput) SetApplicationName(v string) *GetApplicationRevisionOutput { - s.ApplicationName = &v - return s -} - -// SetRevision sets the Revision field's value. -func (s *GetApplicationRevisionOutput) SetRevision(v *RevisionLocation) *GetApplicationRevisionOutput { - s.Revision = v - return s -} - -// SetRevisionInfo sets the RevisionInfo field's value. -func (s *GetApplicationRevisionOutput) SetRevisionInfo(v *GenericRevisionInfo) *GetApplicationRevisionOutput { - s.RevisionInfo = v - return s -} - // Represents the input of a GetDeploymentConfig operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfigInput type GetDeploymentConfigInput struct { @@ -5578,12 +4558,6 @@ func (s *GetDeploymentConfigInput) Validate() error { return nil } -// SetDeploymentConfigName sets the DeploymentConfigName field's value. -func (s *GetDeploymentConfigInput) SetDeploymentConfigName(v string) *GetDeploymentConfigInput { - s.DeploymentConfigName = &v - return s -} - // Represents the output of a GetDeploymentConfig operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfigOutput type GetDeploymentConfigOutput struct { @@ -5610,12 +4584,6 @@ func (s GetDeploymentConfigOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeploymentConfigInfo sets the DeploymentConfigInfo field's value. -func (s *GetDeploymentConfigOutput) SetDeploymentConfigInfo(v *DeploymentConfigInfo) *GetDeploymentConfigOutput { - s.DeploymentConfigInfo = v - return s -} - // Represents the input of a GetDeploymentGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroupInput type GetDeploymentGroupInput struct { @@ -5667,18 +4635,6 @@ func (s *GetDeploymentGroupInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *GetDeploymentGroupInput) SetApplicationName(v string) *GetDeploymentGroupInput { - s.ApplicationName = &v - return s -} - -// SetDeploymentGroupName sets the DeploymentGroupName field's value. -func (s *GetDeploymentGroupInput) SetDeploymentGroupName(v string) *GetDeploymentGroupInput { - s.DeploymentGroupName = &v - return s -} - // Represents the output of a GetDeploymentGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroupOutput type GetDeploymentGroupOutput struct { @@ -5705,12 +4661,6 @@ func (s GetDeploymentGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeploymentGroupInfo sets the DeploymentGroupInfo field's value. -func (s *GetDeploymentGroupOutput) SetDeploymentGroupInfo(v *DeploymentGroupInfo) *GetDeploymentGroupOutput { - s.DeploymentGroupInfo = v - return s -} - // Represents the input of a GetDeployment operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInput type GetDeploymentInput struct { @@ -5746,12 +4696,6 @@ func (s *GetDeploymentInput) Validate() error { return nil } -// SetDeploymentId sets the DeploymentId field's value. -func (s *GetDeploymentInput) SetDeploymentId(v string) *GetDeploymentInput { - s.DeploymentId = &v - return s -} - // Represents the input of a GetDeploymentInstance operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstanceInput type GetDeploymentInstanceInput struct { @@ -5796,18 +4740,6 @@ func (s *GetDeploymentInstanceInput) Validate() error { return nil } -// SetDeploymentId sets the DeploymentId field's value. -func (s *GetDeploymentInstanceInput) SetDeploymentId(v string) *GetDeploymentInstanceInput { - s.DeploymentId = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *GetDeploymentInstanceInput) SetInstanceId(v string) *GetDeploymentInstanceInput { - s.InstanceId = &v - return s -} - // Represents the output of a GetDeploymentInstance operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstanceOutput type GetDeploymentInstanceOutput struct { @@ -5834,12 +4766,6 @@ func (s GetDeploymentInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceSummary sets the InstanceSummary field's value. -func (s *GetDeploymentInstanceOutput) SetInstanceSummary(v *InstanceSummary) *GetDeploymentInstanceOutput { - s.InstanceSummary = v - return s -} - // Represents the output of a GetDeployment operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentOutput type GetDeploymentOutput struct { @@ -5866,12 +4792,6 @@ func (s GetDeploymentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeploymentInfo sets the DeploymentInfo field's value. -func (s *GetDeploymentOutput) SetDeploymentInfo(v *DeploymentInfo) *GetDeploymentOutput { - s.DeploymentInfo = v - return s -} - // Represents the input of a GetOnPremisesInstance operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstanceInput type GetOnPremisesInstanceInput struct { @@ -5907,12 +4827,6 @@ func (s *GetOnPremisesInstanceInput) Validate() error { return nil } -// SetInstanceName sets the InstanceName field's value. -func (s *GetOnPremisesInstanceInput) SetInstanceName(v string) *GetOnPremisesInstanceInput { - s.InstanceName = &v - return s -} - // Represents the output of a GetOnPremisesInstance operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstanceOutput type GetOnPremisesInstanceOutput struct { @@ -5939,12 +4853,6 @@ func (s GetOnPremisesInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceInfo sets the InstanceInfo field's value. -func (s *GetOnPremisesInstanceOutput) SetInstanceInfo(v *InstanceInfo) *GetOnPremisesInstanceOutput { - s.InstanceInfo = v - return s -} - // Information about the location of application artifacts stored in GitHub. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GitHubLocation type GitHubLocation struct { @@ -5971,18 +4879,6 @@ func (s GitHubLocation) GoString() string { return s.String() } -// SetCommitId sets the CommitId field's value. -func (s *GitHubLocation) SetCommitId(v string) *GitHubLocation { - s.CommitId = &v - return s -} - -// SetRepository sets the Repository field's value. -func (s *GitHubLocation) SetRepository(v string) *GitHubLocation { - s.Repository = &v - return s -} - // Information about the instances that belong to the replacement environment // in a blue/green deployment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GreenFleetProvisioningOption @@ -6009,12 +4905,6 @@ func (s GreenFleetProvisioningOption) GoString() string { return s.String() } -// SetAction sets the Action field's value. -func (s *GreenFleetProvisioningOption) SetAction(v GreenFleetProvisioningAction) *GreenFleetProvisioningOption { - s.Action = v - return s -} - // Information about an on-premises instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InstanceInfo type InstanceInfo struct { @@ -6053,48 +4943,6 @@ func (s InstanceInfo) GoString() string { return s.String() } -// SetDeregisterTime sets the DeregisterTime field's value. -func (s *InstanceInfo) SetDeregisterTime(v time.Time) *InstanceInfo { - s.DeregisterTime = &v - return s -} - -// SetIamSessionArn sets the IamSessionArn field's value. -func (s *InstanceInfo) SetIamSessionArn(v string) *InstanceInfo { - s.IamSessionArn = &v - return s -} - -// SetIamUserArn sets the IamUserArn field's value. -func (s *InstanceInfo) SetIamUserArn(v string) *InstanceInfo { - s.IamUserArn = &v - return s -} - -// SetInstanceArn sets the InstanceArn field's value. -func (s *InstanceInfo) SetInstanceArn(v string) *InstanceInfo { - s.InstanceArn = &v - return s -} - -// SetInstanceName sets the InstanceName field's value. -func (s *InstanceInfo) SetInstanceName(v string) *InstanceInfo { - s.InstanceName = &v - return s -} - -// SetRegisterTime sets the RegisterTime field's value. -func (s *InstanceInfo) SetRegisterTime(v time.Time) *InstanceInfo { - s.RegisterTime = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *InstanceInfo) SetTags(v []Tag) *InstanceInfo { - s.Tags = v - return s -} - // Information about an instance in a deployment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/InstanceSummary type InstanceSummary struct { @@ -6146,42 +4994,6 @@ func (s InstanceSummary) GoString() string { return s.String() } -// SetDeploymentId sets the DeploymentId field's value. -func (s *InstanceSummary) SetDeploymentId(v string) *InstanceSummary { - s.DeploymentId = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *InstanceSummary) SetInstanceId(v string) *InstanceSummary { - s.InstanceId = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *InstanceSummary) SetInstanceType(v InstanceType) *InstanceSummary { - s.InstanceType = v - return s -} - -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *InstanceSummary) SetLastUpdatedAt(v time.Time) *InstanceSummary { - s.LastUpdatedAt = &v - return s -} - -// SetLifecycleEvents sets the LifecycleEvents field's value. -func (s *InstanceSummary) SetLifecycleEvents(v []LifecycleEvent) *InstanceSummary { - s.LifecycleEvents = v - return s -} - -// SetStatus sets the Status field's value. -func (s *InstanceSummary) SetStatus(v InstanceStatus) *InstanceSummary { - s.Status = v - return s -} - // Information about the most recent attempted or successful deployment to a // deployment group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LastDeploymentInfo @@ -6213,30 +5025,6 @@ func (s LastDeploymentInfo) GoString() string { return s.String() } -// SetCreateTime sets the CreateTime field's value. -func (s *LastDeploymentInfo) SetCreateTime(v time.Time) *LastDeploymentInfo { - s.CreateTime = &v - return s -} - -// SetDeploymentId sets the DeploymentId field's value. -func (s *LastDeploymentInfo) SetDeploymentId(v string) *LastDeploymentInfo { - s.DeploymentId = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *LastDeploymentInfo) SetEndTime(v time.Time) *LastDeploymentInfo { - s.EndTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *LastDeploymentInfo) SetStatus(v DeploymentStatus) *LastDeploymentInfo { - s.Status = v - return s -} - // Information about a deployment lifecycle event. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LifecycleEvent type LifecycleEvent struct { @@ -6281,36 +5069,6 @@ func (s LifecycleEvent) GoString() string { return s.String() } -// SetDiagnostics sets the Diagnostics field's value. -func (s *LifecycleEvent) SetDiagnostics(v *Diagnostics) *LifecycleEvent { - s.Diagnostics = v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *LifecycleEvent) SetEndTime(v time.Time) *LifecycleEvent { - s.EndTime = &v - return s -} - -// SetLifecycleEventName sets the LifecycleEventName field's value. -func (s *LifecycleEvent) SetLifecycleEventName(v string) *LifecycleEvent { - s.LifecycleEventName = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *LifecycleEvent) SetStartTime(v time.Time) *LifecycleEvent { - s.StartTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *LifecycleEvent) SetStatus(v LifecycleEventStatus) *LifecycleEvent { - s.Status = v - return s -} - // Represents the input of a ListApplicationRevisions operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisionsInput type ListApplicationRevisionsInput struct { @@ -6397,48 +5155,6 @@ func (s *ListApplicationRevisionsInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *ListApplicationRevisionsInput) SetApplicationName(v string) *ListApplicationRevisionsInput { - s.ApplicationName = &v - return s -} - -// SetDeployed sets the Deployed field's value. -func (s *ListApplicationRevisionsInput) SetDeployed(v ListStateFilterAction) *ListApplicationRevisionsInput { - s.Deployed = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListApplicationRevisionsInput) SetNextToken(v string) *ListApplicationRevisionsInput { - s.NextToken = &v - return s -} - -// SetS3Bucket sets the S3Bucket field's value. -func (s *ListApplicationRevisionsInput) SetS3Bucket(v string) *ListApplicationRevisionsInput { - s.S3Bucket = &v - return s -} - -// SetS3KeyPrefix sets the S3KeyPrefix field's value. -func (s *ListApplicationRevisionsInput) SetS3KeyPrefix(v string) *ListApplicationRevisionsInput { - s.S3KeyPrefix = &v - return s -} - -// SetSortBy sets the SortBy field's value. -func (s *ListApplicationRevisionsInput) SetSortBy(v ApplicationRevisionSortBy) *ListApplicationRevisionsInput { - s.SortBy = v - return s -} - -// SetSortOrder sets the SortOrder field's value. -func (s *ListApplicationRevisionsInput) SetSortOrder(v SortOrder) *ListApplicationRevisionsInput { - s.SortOrder = v - return s -} - // Represents the output of a ListApplicationRevisions operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisionsOutput type ListApplicationRevisionsOutput struct { @@ -6470,18 +5186,6 @@ func (s ListApplicationRevisionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListApplicationRevisionsOutput) SetNextToken(v string) *ListApplicationRevisionsOutput { - s.NextToken = &v - return s -} - -// SetRevisions sets the Revisions field's value. -func (s *ListApplicationRevisionsOutput) SetRevisions(v []RevisionLocation) *ListApplicationRevisionsOutput { - s.Revisions = v - return s -} - // Represents the input of a ListApplications operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationsInput type ListApplicationsInput struct { @@ -6502,12 +5206,6 @@ func (s ListApplicationsInput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListApplicationsInput) SetNextToken(v string) *ListApplicationsInput { - s.NextToken = &v - return s -} - // Represents the output of a ListApplications operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationsOutput type ListApplicationsOutput struct { @@ -6539,18 +5237,6 @@ func (s ListApplicationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplications sets the Applications field's value. -func (s *ListApplicationsOutput) SetApplications(v []string) *ListApplicationsOutput { - s.Applications = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListApplicationsOutput) SetNextToken(v string) *ListApplicationsOutput { - s.NextToken = &v - return s -} - // Represents the input of a ListDeploymentConfigs operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigsInput type ListDeploymentConfigsInput struct { @@ -6572,12 +5258,6 @@ func (s ListDeploymentConfigsInput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListDeploymentConfigsInput) SetNextToken(v string) *ListDeploymentConfigsInput { - s.NextToken = &v - return s -} - // Represents the output of a ListDeploymentConfigs operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigsOutput type ListDeploymentConfigsOutput struct { @@ -6610,18 +5290,6 @@ func (s ListDeploymentConfigsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeploymentConfigsList sets the DeploymentConfigsList field's value. -func (s *ListDeploymentConfigsOutput) SetDeploymentConfigsList(v []string) *ListDeploymentConfigsOutput { - s.DeploymentConfigsList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDeploymentConfigsOutput) SetNextToken(v string) *ListDeploymentConfigsOutput { - s.NextToken = &v - return s -} - // Represents the input of a ListDeploymentGroups operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroupsInput type ListDeploymentGroupsInput struct { @@ -6665,18 +5333,6 @@ func (s *ListDeploymentGroupsInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *ListDeploymentGroupsInput) SetApplicationName(v string) *ListDeploymentGroupsInput { - s.ApplicationName = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDeploymentGroupsInput) SetNextToken(v string) *ListDeploymentGroupsInput { - s.NextToken = &v - return s -} - // Represents the output of a ListDeploymentGroups operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroupsOutput type ListDeploymentGroupsOutput struct { @@ -6711,24 +5367,6 @@ func (s ListDeploymentGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationName sets the ApplicationName field's value. -func (s *ListDeploymentGroupsOutput) SetApplicationName(v string) *ListDeploymentGroupsOutput { - s.ApplicationName = &v - return s -} - -// SetDeploymentGroups sets the DeploymentGroups field's value. -func (s *ListDeploymentGroupsOutput) SetDeploymentGroups(v []string) *ListDeploymentGroupsOutput { - s.DeploymentGroups = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDeploymentGroupsOutput) SetNextToken(v string) *ListDeploymentGroupsOutput { - s.NextToken = &v - return s -} - // Represents the input of a ListDeploymentInstances operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstancesInput type ListDeploymentInstancesInput struct { @@ -6788,30 +5426,6 @@ func (s *ListDeploymentInstancesInput) Validate() error { return nil } -// SetDeploymentId sets the DeploymentId field's value. -func (s *ListDeploymentInstancesInput) SetDeploymentId(v string) *ListDeploymentInstancesInput { - s.DeploymentId = &v - return s -} - -// SetInstanceStatusFilter sets the InstanceStatusFilter field's value. -func (s *ListDeploymentInstancesInput) SetInstanceStatusFilter(v []InstanceStatus) *ListDeploymentInstancesInput { - s.InstanceStatusFilter = v - return s -} - -// SetInstanceTypeFilter sets the InstanceTypeFilter field's value. -func (s *ListDeploymentInstancesInput) SetInstanceTypeFilter(v []InstanceType) *ListDeploymentInstancesInput { - s.InstanceTypeFilter = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDeploymentInstancesInput) SetNextToken(v string) *ListDeploymentInstancesInput { - s.NextToken = &v - return s -} - // Represents the output of a ListDeploymentInstances operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstancesOutput type ListDeploymentInstancesOutput struct { @@ -6843,18 +5457,6 @@ func (s ListDeploymentInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstancesList sets the InstancesList field's value. -func (s *ListDeploymentInstancesOutput) SetInstancesList(v []string) *ListDeploymentInstancesOutput { - s.InstancesList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDeploymentInstancesOutput) SetNextToken(v string) *ListDeploymentInstancesOutput { - s.NextToken = &v - return s -} - // Represents the input of a ListDeployments operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentsInput type ListDeploymentsInput struct { @@ -6916,36 +5518,6 @@ func (s *ListDeploymentsInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *ListDeploymentsInput) SetApplicationName(v string) *ListDeploymentsInput { - s.ApplicationName = &v - return s -} - -// SetCreateTimeRange sets the CreateTimeRange field's value. -func (s *ListDeploymentsInput) SetCreateTimeRange(v *TimeRange) *ListDeploymentsInput { - s.CreateTimeRange = v - return s -} - -// SetDeploymentGroupName sets the DeploymentGroupName field's value. -func (s *ListDeploymentsInput) SetDeploymentGroupName(v string) *ListDeploymentsInput { - s.DeploymentGroupName = &v - return s -} - -// SetIncludeOnlyStatuses sets the IncludeOnlyStatuses field's value. -func (s *ListDeploymentsInput) SetIncludeOnlyStatuses(v []DeploymentStatus) *ListDeploymentsInput { - s.IncludeOnlyStatuses = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDeploymentsInput) SetNextToken(v string) *ListDeploymentsInput { - s.NextToken = &v - return s -} - // Represents the output of a ListDeployments operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentsOutput type ListDeploymentsOutput struct { @@ -6977,18 +5549,6 @@ func (s ListDeploymentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeployments sets the Deployments field's value. -func (s *ListDeploymentsOutput) SetDeployments(v []string) *ListDeploymentsOutput { - s.Deployments = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDeploymentsOutput) SetNextToken(v string) *ListDeploymentsOutput { - s.NextToken = &v - return s -} - // Represents the input of a ListGitHubAccountTokenNames operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNamesInput type ListGitHubAccountTokenNamesInput struct { @@ -7009,12 +5569,6 @@ func (s ListGitHubAccountTokenNamesInput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListGitHubAccountTokenNamesInput) SetNextToken(v string) *ListGitHubAccountTokenNamesInput { - s.NextToken = &v - return s -} - // Represents the output of a ListGitHubAccountTokenNames operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNamesOutput type ListGitHubAccountTokenNamesOutput struct { @@ -7046,18 +5600,6 @@ func (s ListGitHubAccountTokenNamesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListGitHubAccountTokenNamesOutput) SetNextToken(v string) *ListGitHubAccountTokenNamesOutput { - s.NextToken = &v - return s -} - -// SetTokenNameList sets the TokenNameList field's value. -func (s *ListGitHubAccountTokenNamesOutput) SetTokenNameList(v []string) *ListGitHubAccountTokenNamesOutput { - s.TokenNameList = v - return s -} - // Represents the input of a ListOnPremisesInstances operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstancesInput type ListOnPremisesInstancesInput struct { @@ -7091,24 +5633,6 @@ func (s ListOnPremisesInstancesInput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListOnPremisesInstancesInput) SetNextToken(v string) *ListOnPremisesInstancesInput { - s.NextToken = &v - return s -} - -// SetRegistrationStatus sets the RegistrationStatus field's value. -func (s *ListOnPremisesInstancesInput) SetRegistrationStatus(v RegistrationStatus) *ListOnPremisesInstancesInput { - s.RegistrationStatus = v - return s -} - -// SetTagFilters sets the TagFilters field's value. -func (s *ListOnPremisesInstancesInput) SetTagFilters(v []TagFilter) *ListOnPremisesInstancesInput { - s.TagFilters = v - return s -} - // Represents the output of list on-premises instances operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstancesOutput type ListOnPremisesInstancesOutput struct { @@ -7140,18 +5664,6 @@ func (s ListOnPremisesInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceNames sets the InstanceNames field's value. -func (s *ListOnPremisesInstancesOutput) SetInstanceNames(v []string) *ListOnPremisesInstancesOutput { - s.InstanceNames = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListOnPremisesInstancesOutput) SetNextToken(v string) *ListOnPremisesInstancesOutput { - s.NextToken = &v - return s -} - // Information about the Elastic Load Balancing load balancer or target group // used in a deployment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LoadBalancerInfo @@ -7179,18 +5691,6 @@ func (s LoadBalancerInfo) GoString() string { return s.String() } -// SetElbInfoList sets the ElbInfoList field's value. -func (s *LoadBalancerInfo) SetElbInfoList(v []ELBInfo) *LoadBalancerInfo { - s.ElbInfoList = v - return s -} - -// SetTargetGroupInfoList sets the TargetGroupInfoList field's value. -func (s *LoadBalancerInfo) SetTargetGroupInfoList(v []TargetGroupInfo) *LoadBalancerInfo { - s.TargetGroupInfoList = v - return s -} - // Information about minimum healthy instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/MinimumHealthyHosts type MinimumHealthyHosts struct { @@ -7238,18 +5738,6 @@ func (s MinimumHealthyHosts) GoString() string { return s.String() } -// SetType sets the Type field's value. -func (s *MinimumHealthyHosts) SetType(v MinimumHealthyHostsType) *MinimumHealthyHosts { - s.Type = v - return s -} - -// SetValue sets the Value field's value. -func (s *MinimumHealthyHosts) SetValue(v int64) *MinimumHealthyHosts { - s.Value = &v - return s -} - // Information about groups of on-premises instance tags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/OnPremisesTagSet type OnPremisesTagSet struct { @@ -7271,12 +5759,6 @@ func (s OnPremisesTagSet) GoString() string { return s.String() } -// SetOnPremisesTagSetList sets the OnPremisesTagSetList field's value. -func (s *OnPremisesTagSet) SetOnPremisesTagSetList(v [][]TagFilter) *OnPremisesTagSet { - s.OnPremisesTagSetList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/PutLifecycleEventHookExecutionStatusInput type PutLifecycleEventHookExecutionStatusInput struct { _ struct{} `type:"structure"` @@ -7304,24 +5786,6 @@ func (s PutLifecycleEventHookExecutionStatusInput) GoString() string { return s.String() } -// SetDeploymentId sets the DeploymentId field's value. -func (s *PutLifecycleEventHookExecutionStatusInput) SetDeploymentId(v string) *PutLifecycleEventHookExecutionStatusInput { - s.DeploymentId = &v - return s -} - -// SetLifecycleEventHookExecutionId sets the LifecycleEventHookExecutionId field's value. -func (s *PutLifecycleEventHookExecutionStatusInput) SetLifecycleEventHookExecutionId(v string) *PutLifecycleEventHookExecutionStatusInput { - s.LifecycleEventHookExecutionId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *PutLifecycleEventHookExecutionStatusInput) SetStatus(v LifecycleEventStatus) *PutLifecycleEventHookExecutionStatusInput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/PutLifecycleEventHookExecutionStatusOutput type PutLifecycleEventHookExecutionStatusOutput struct { _ struct{} `type:"structure"` @@ -7348,12 +5812,6 @@ func (s PutLifecycleEventHookExecutionStatusOutput) SDKResponseMetadata() aws.Re return s.responseMetadata } -// SetLifecycleEventHookExecutionId sets the LifecycleEventHookExecutionId field's value. -func (s *PutLifecycleEventHookExecutionStatusOutput) SetLifecycleEventHookExecutionId(v string) *PutLifecycleEventHookExecutionStatusOutput { - s.LifecycleEventHookExecutionId = &v - return s -} - // A revision for an AWS Lambda deployment that is a YAML-formatted or JSON-formatted // string. For AWS Lambda deployments, the revision is the same as the AppSpec // file. @@ -7380,18 +5838,6 @@ func (s RawString) GoString() string { return s.String() } -// SetContent sets the Content field's value. -func (s *RawString) SetContent(v string) *RawString { - s.Content = &v - return s -} - -// SetSha256 sets the Sha256 field's value. -func (s *RawString) SetSha256(v string) *RawString { - s.Sha256 = &v - return s -} - // Represents the input of a RegisterApplicationRevision operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevisionInput type RegisterApplicationRevisionInput struct { @@ -7444,24 +5890,6 @@ func (s *RegisterApplicationRevisionInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *RegisterApplicationRevisionInput) SetApplicationName(v string) *RegisterApplicationRevisionInput { - s.ApplicationName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *RegisterApplicationRevisionInput) SetDescription(v string) *RegisterApplicationRevisionInput { - s.Description = &v - return s -} - -// SetRevision sets the Revision field's value. -func (s *RegisterApplicationRevisionInput) SetRevision(v *RevisionLocation) *RegisterApplicationRevisionInput { - s.Revision = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevisionOutput type RegisterApplicationRevisionOutput struct { _ struct{} `type:"structure"` @@ -7525,24 +5953,6 @@ func (s *RegisterOnPremisesInstanceInput) Validate() error { return nil } -// SetIamSessionArn sets the IamSessionArn field's value. -func (s *RegisterOnPremisesInstanceInput) SetIamSessionArn(v string) *RegisterOnPremisesInstanceInput { - s.IamSessionArn = &v - return s -} - -// SetIamUserArn sets the IamUserArn field's value. -func (s *RegisterOnPremisesInstanceInput) SetIamUserArn(v string) *RegisterOnPremisesInstanceInput { - s.IamUserArn = &v - return s -} - -// SetInstanceName sets the InstanceName field's value. -func (s *RegisterOnPremisesInstanceInput) SetInstanceName(v string) *RegisterOnPremisesInstanceInput { - s.InstanceName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstanceOutput type RegisterOnPremisesInstanceOutput struct { _ struct{} `type:"structure"` @@ -7609,18 +6019,6 @@ func (s *RemoveTagsFromOnPremisesInstancesInput) Validate() error { return nil } -// SetInstanceNames sets the InstanceNames field's value. -func (s *RemoveTagsFromOnPremisesInstancesInput) SetInstanceNames(v []string) *RemoveTagsFromOnPremisesInstancesInput { - s.InstanceNames = v - return s -} - -// SetTags sets the Tags field's value. -func (s *RemoveTagsFromOnPremisesInstancesInput) SetTags(v []Tag) *RemoveTagsFromOnPremisesInstancesInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstancesOutput type RemoveTagsFromOnPremisesInstancesOutput struct { _ struct{} `type:"structure"` @@ -7666,18 +6064,6 @@ func (s RevisionInfo) GoString() string { return s.String() } -// SetGenericRevisionInfo sets the GenericRevisionInfo field's value. -func (s *RevisionInfo) SetGenericRevisionInfo(v *GenericRevisionInfo) *RevisionInfo { - s.GenericRevisionInfo = v - return s -} - -// SetRevisionLocation sets the RevisionLocation field's value. -func (s *RevisionInfo) SetRevisionLocation(v *RevisionLocation) *RevisionInfo { - s.RevisionLocation = v - return s -} - // Information about the location of an application revision. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RevisionLocation type RevisionLocation struct { @@ -7715,30 +6101,6 @@ func (s RevisionLocation) GoString() string { return s.String() } -// SetGitHubLocation sets the GitHubLocation field's value. -func (s *RevisionLocation) SetGitHubLocation(v *GitHubLocation) *RevisionLocation { - s.GitHubLocation = v - return s -} - -// SetRevisionType sets the RevisionType field's value. -func (s *RevisionLocation) SetRevisionType(v RevisionLocationType) *RevisionLocation { - s.RevisionType = v - return s -} - -// SetS3Location sets the S3Location field's value. -func (s *RevisionLocation) SetS3Location(v *S3Location) *RevisionLocation { - s.S3Location = v - return s -} - -// SetString_ sets the String_ field's value. -func (s *RevisionLocation) SetString_(v *RawString) *RevisionLocation { - s.String_ = v - return s -} - // Information about a deployment rollback. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RollbackInfo type RollbackInfo struct { @@ -7766,24 +6128,6 @@ func (s RollbackInfo) GoString() string { return s.String() } -// SetRollbackDeploymentId sets the RollbackDeploymentId field's value. -func (s *RollbackInfo) SetRollbackDeploymentId(v string) *RollbackInfo { - s.RollbackDeploymentId = &v - return s -} - -// SetRollbackMessage sets the RollbackMessage field's value. -func (s *RollbackInfo) SetRollbackMessage(v string) *RollbackInfo { - s.RollbackMessage = &v - return s -} - -// SetRollbackTriggeringDeploymentId sets the RollbackTriggeringDeploymentId field's value. -func (s *RollbackInfo) SetRollbackTriggeringDeploymentId(v string) *RollbackInfo { - s.RollbackTriggeringDeploymentId = &v - return s -} - // Information about the location of application artifacts stored in Amazon // S3. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/S3Location @@ -7831,36 +6175,6 @@ func (s S3Location) GoString() string { return s.String() } -// SetBucket sets the Bucket field's value. -func (s *S3Location) SetBucket(v string) *S3Location { - s.Bucket = &v - return s -} - -// SetBundleType sets the BundleType field's value. -func (s *S3Location) SetBundleType(v BundleType) *S3Location { - s.BundleType = v - return s -} - -// SetETag sets the ETag field's value. -func (s *S3Location) SetETag(v string) *S3Location { - s.ETag = &v - return s -} - -// SetKey sets the Key field's value. -func (s *S3Location) SetKey(v string) *S3Location { - s.Key = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *S3Location) SetVersion(v string) *S3Location { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTerminationInput type SkipWaitTimeForInstanceTerminationInput struct { _ struct{} `type:"structure"` @@ -7880,12 +6194,6 @@ func (s SkipWaitTimeForInstanceTerminationInput) GoString() string { return s.String() } -// SetDeploymentId sets the DeploymentId field's value. -func (s *SkipWaitTimeForInstanceTerminationInput) SetDeploymentId(v string) *SkipWaitTimeForInstanceTerminationInput { - s.DeploymentId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTerminationOutput type SkipWaitTimeForInstanceTerminationOutput struct { _ struct{} `type:"structure"` @@ -7948,18 +6256,6 @@ func (s *StopDeploymentInput) Validate() error { return nil } -// SetAutoRollbackEnabled sets the AutoRollbackEnabled field's value. -func (s *StopDeploymentInput) SetAutoRollbackEnabled(v bool) *StopDeploymentInput { - s.AutoRollbackEnabled = &v - return s -} - -// SetDeploymentId sets the DeploymentId field's value. -func (s *StopDeploymentInput) SetDeploymentId(v string) *StopDeploymentInput { - s.DeploymentId = &v - return s -} - // Represents the output of a StopDeployment operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeploymentOutput type StopDeploymentOutput struct { @@ -7993,18 +6289,6 @@ func (s StopDeploymentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStatus sets the Status field's value. -func (s *StopDeploymentOutput) SetStatus(v StopStatus) *StopDeploymentOutput { - s.Status = v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *StopDeploymentOutput) SetStatusMessage(v string) *StopDeploymentOutput { - s.StatusMessage = &v - return s -} - // Information about a tag. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/Tag type Tag struct { @@ -8027,18 +6311,6 @@ func (s Tag) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Information about an on-premises instance tag filter. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TagFilter type TagFilter struct { @@ -8070,24 +6342,6 @@ func (s TagFilter) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *TagFilter) SetKey(v string) *TagFilter { - s.Key = &v - return s -} - -// SetType sets the Type field's value. -func (s *TagFilter) SetType(v TagFilterType) *TagFilter { - s.Type = v - return s -} - -// SetValue sets the Value field's value. -func (s *TagFilter) SetValue(v string) *TagFilter { - s.Value = &v - return s -} - // Information about a target group in Elastic Load Balancing to use in a deployment. // Instances are registered as targets in a target group, and traffic is routed // to the target group. @@ -8113,12 +6367,6 @@ func (s TargetGroupInfo) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *TargetGroupInfo) SetName(v string) *TargetGroupInfo { - s.Name = &v - return s -} - // Information about the instances to be used in the replacement environment // in a blue/green deployment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TargetInstances @@ -8150,24 +6398,6 @@ func (s TargetInstances) GoString() string { return s.String() } -// SetAutoScalingGroups sets the AutoScalingGroups field's value. -func (s *TargetInstances) SetAutoScalingGroups(v []string) *TargetInstances { - s.AutoScalingGroups = v - return s -} - -// SetEc2TagSet sets the Ec2TagSet field's value. -func (s *TargetInstances) SetEc2TagSet(v *EC2TagSet) *TargetInstances { - s.Ec2TagSet = v - return s -} - -// SetTagFilters sets the TagFilters field's value. -func (s *TargetInstances) SetTagFilters(v []EC2TagFilter) *TargetInstances { - s.TagFilters = v - return s -} - // A configuration that shifts traffic from one version of a Lambda function // to another in two increments. The original and target Lambda function versions // are specified in the deployment's AppSpec file. @@ -8194,18 +6424,6 @@ func (s TimeBasedCanary) GoString() string { return s.String() } -// SetCanaryInterval sets the CanaryInterval field's value. -func (s *TimeBasedCanary) SetCanaryInterval(v int64) *TimeBasedCanary { - s.CanaryInterval = &v - return s -} - -// SetCanaryPercentage sets the CanaryPercentage field's value. -func (s *TimeBasedCanary) SetCanaryPercentage(v int64) *TimeBasedCanary { - s.CanaryPercentage = &v - return s -} - // A configuration that shifts traffic from one version of a Lambda function // to another in equal increments, with an equal number of minutes between each // increment. The original and target Lambda function versions are specified @@ -8233,18 +6451,6 @@ func (s TimeBasedLinear) GoString() string { return s.String() } -// SetLinearInterval sets the LinearInterval field's value. -func (s *TimeBasedLinear) SetLinearInterval(v int64) *TimeBasedLinear { - s.LinearInterval = &v - return s -} - -// SetLinearPercentage sets the LinearPercentage field's value. -func (s *TimeBasedLinear) SetLinearPercentage(v int64) *TimeBasedLinear { - s.LinearPercentage = &v - return s -} - // Information about a time range. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TimeRange type TimeRange struct { @@ -8271,18 +6477,6 @@ func (s TimeRange) GoString() string { return s.String() } -// SetEnd sets the End field's value. -func (s *TimeRange) SetEnd(v time.Time) *TimeRange { - s.End = &v - return s -} - -// SetStart sets the Start field's value. -func (s *TimeRange) SetStart(v time.Time) *TimeRange { - s.Start = &v - return s -} - // The configuration that specifies how traffic is shifted from one version // of a Lambda function to another version during an AWS Lambda deployment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TrafficRoutingConfig @@ -8315,24 +6509,6 @@ func (s TrafficRoutingConfig) GoString() string { return s.String() } -// SetTimeBasedCanary sets the TimeBasedCanary field's value. -func (s *TrafficRoutingConfig) SetTimeBasedCanary(v *TimeBasedCanary) *TrafficRoutingConfig { - s.TimeBasedCanary = v - return s -} - -// SetTimeBasedLinear sets the TimeBasedLinear field's value. -func (s *TrafficRoutingConfig) SetTimeBasedLinear(v *TimeBasedLinear) *TrafficRoutingConfig { - s.TimeBasedLinear = v - return s -} - -// SetType sets the Type field's value. -func (s *TrafficRoutingConfig) SetType(v TrafficRoutingType) *TrafficRoutingConfig { - s.Type = v - return s -} - // Information about notification triggers for the deployment group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TriggerConfig type TriggerConfig struct { @@ -8359,24 +6535,6 @@ func (s TriggerConfig) GoString() string { return s.String() } -// SetTriggerEvents sets the TriggerEvents field's value. -func (s *TriggerConfig) SetTriggerEvents(v []TriggerEventType) *TriggerConfig { - s.TriggerEvents = v - return s -} - -// SetTriggerName sets the TriggerName field's value. -func (s *TriggerConfig) SetTriggerName(v string) *TriggerConfig { - s.TriggerName = &v - return s -} - -// SetTriggerTargetArn sets the TriggerTargetArn field's value. -func (s *TriggerConfig) SetTriggerTargetArn(v string) *TriggerConfig { - s.TriggerTargetArn = &v - return s -} - // Represents the input of an UpdateApplication operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplicationInput type UpdateApplicationInput struct { @@ -8415,18 +6573,6 @@ func (s *UpdateApplicationInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *UpdateApplicationInput) SetApplicationName(v string) *UpdateApplicationInput { - s.ApplicationName = &v - return s -} - -// SetNewApplicationName sets the NewApplicationName field's value. -func (s *UpdateApplicationInput) SetNewApplicationName(v string) *UpdateApplicationInput { - s.NewApplicationName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplicationOutput type UpdateApplicationOutput struct { _ struct{} `type:"structure"` @@ -8562,102 +6708,6 @@ func (s *UpdateDeploymentGroupInput) Validate() error { return nil } -// SetAlarmConfiguration sets the AlarmConfiguration field's value. -func (s *UpdateDeploymentGroupInput) SetAlarmConfiguration(v *AlarmConfiguration) *UpdateDeploymentGroupInput { - s.AlarmConfiguration = v - return s -} - -// SetApplicationName sets the ApplicationName field's value. -func (s *UpdateDeploymentGroupInput) SetApplicationName(v string) *UpdateDeploymentGroupInput { - s.ApplicationName = &v - return s -} - -// SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value. -func (s *UpdateDeploymentGroupInput) SetAutoRollbackConfiguration(v *AutoRollbackConfiguration) *UpdateDeploymentGroupInput { - s.AutoRollbackConfiguration = v - return s -} - -// SetAutoScalingGroups sets the AutoScalingGroups field's value. -func (s *UpdateDeploymentGroupInput) SetAutoScalingGroups(v []string) *UpdateDeploymentGroupInput { - s.AutoScalingGroups = v - return s -} - -// SetBlueGreenDeploymentConfiguration sets the BlueGreenDeploymentConfiguration field's value. -func (s *UpdateDeploymentGroupInput) SetBlueGreenDeploymentConfiguration(v *BlueGreenDeploymentConfiguration) *UpdateDeploymentGroupInput { - s.BlueGreenDeploymentConfiguration = v - return s -} - -// SetCurrentDeploymentGroupName sets the CurrentDeploymentGroupName field's value. -func (s *UpdateDeploymentGroupInput) SetCurrentDeploymentGroupName(v string) *UpdateDeploymentGroupInput { - s.CurrentDeploymentGroupName = &v - return s -} - -// SetDeploymentConfigName sets the DeploymentConfigName field's value. -func (s *UpdateDeploymentGroupInput) SetDeploymentConfigName(v string) *UpdateDeploymentGroupInput { - s.DeploymentConfigName = &v - return s -} - -// SetDeploymentStyle sets the DeploymentStyle field's value. -func (s *UpdateDeploymentGroupInput) SetDeploymentStyle(v *DeploymentStyle) *UpdateDeploymentGroupInput { - s.DeploymentStyle = v - return s -} - -// SetEc2TagFilters sets the Ec2TagFilters field's value. -func (s *UpdateDeploymentGroupInput) SetEc2TagFilters(v []EC2TagFilter) *UpdateDeploymentGroupInput { - s.Ec2TagFilters = v - return s -} - -// SetEc2TagSet sets the Ec2TagSet field's value. -func (s *UpdateDeploymentGroupInput) SetEc2TagSet(v *EC2TagSet) *UpdateDeploymentGroupInput { - s.Ec2TagSet = v - return s -} - -// SetLoadBalancerInfo sets the LoadBalancerInfo field's value. -func (s *UpdateDeploymentGroupInput) SetLoadBalancerInfo(v *LoadBalancerInfo) *UpdateDeploymentGroupInput { - s.LoadBalancerInfo = v - return s -} - -// SetNewDeploymentGroupName sets the NewDeploymentGroupName field's value. -func (s *UpdateDeploymentGroupInput) SetNewDeploymentGroupName(v string) *UpdateDeploymentGroupInput { - s.NewDeploymentGroupName = &v - return s -} - -// SetOnPremisesInstanceTagFilters sets the OnPremisesInstanceTagFilters field's value. -func (s *UpdateDeploymentGroupInput) SetOnPremisesInstanceTagFilters(v []TagFilter) *UpdateDeploymentGroupInput { - s.OnPremisesInstanceTagFilters = v - return s -} - -// SetOnPremisesTagSet sets the OnPremisesTagSet field's value. -func (s *UpdateDeploymentGroupInput) SetOnPremisesTagSet(v *OnPremisesTagSet) *UpdateDeploymentGroupInput { - s.OnPremisesTagSet = v - return s -} - -// SetServiceRoleArn sets the ServiceRoleArn field's value. -func (s *UpdateDeploymentGroupInput) SetServiceRoleArn(v string) *UpdateDeploymentGroupInput { - s.ServiceRoleArn = &v - return s -} - -// SetTriggerConfigurations sets the TriggerConfigurations field's value. -func (s *UpdateDeploymentGroupInput) SetTriggerConfigurations(v []TriggerConfig) *UpdateDeploymentGroupInput { - s.TriggerConfigurations = v - return s -} - // Represents the output of an UpdateDeploymentGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroupOutput type UpdateDeploymentGroupOutput struct { @@ -8688,12 +6738,6 @@ func (s UpdateDeploymentGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHooksNotCleanedUp sets the HooksNotCleanedUp field's value. -func (s *UpdateDeploymentGroupOutput) SetHooksNotCleanedUp(v []AutoScalingGroup) *UpdateDeploymentGroupOutput { - s.HooksNotCleanedUp = v - return s -} - type ApplicationRevisionSortBy string // Enum values for ApplicationRevisionSortBy diff --git a/service/codepipeline/api.go b/service/codepipeline/api.go index 99c60c6556b..f6b79681359 100644 --- a/service/codepipeline/api.go +++ b/service/codepipeline/api.go @@ -1429,24 +1429,6 @@ func (s AWSSessionCredentials) GoString() string { return s.String() } -// SetAccessKeyId sets the AccessKeyId field's value. -func (s *AWSSessionCredentials) SetAccessKeyId(v string) *AWSSessionCredentials { - s.AccessKeyId = &v - return s -} - -// SetSecretAccessKey sets the SecretAccessKey field's value. -func (s *AWSSessionCredentials) SetSecretAccessKey(v string) *AWSSessionCredentials { - s.SecretAccessKey = &v - return s -} - -// SetSessionToken sets the SessionToken field's value. -func (s *AWSSessionCredentials) SetSessionToken(v string) *AWSSessionCredentials { - s.SessionToken = &v - return s -} - // Represents the input of an AcknowledgeJob action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeJobInput type AcknowledgeJobInput struct { @@ -1493,18 +1475,6 @@ func (s *AcknowledgeJobInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *AcknowledgeJobInput) SetJobId(v string) *AcknowledgeJobInput { - s.JobId = &v - return s -} - -// SetNonce sets the Nonce field's value. -func (s *AcknowledgeJobInput) SetNonce(v string) *AcknowledgeJobInput { - s.Nonce = &v - return s -} - // Represents the output of an AcknowledgeJob action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeJobOutput type AcknowledgeJobOutput struct { @@ -1531,12 +1501,6 @@ func (s AcknowledgeJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStatus sets the Status field's value. -func (s *AcknowledgeJobOutput) SetStatus(v JobStatus) *AcknowledgeJobOutput { - s.Status = v - return s -} - // Represents the input of an AcknowledgeThirdPartyJob action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeThirdPartyJobInput type AcknowledgeThirdPartyJobInput struct { @@ -1599,24 +1563,6 @@ func (s *AcknowledgeThirdPartyJobInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *AcknowledgeThirdPartyJobInput) SetClientToken(v string) *AcknowledgeThirdPartyJobInput { - s.ClientToken = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *AcknowledgeThirdPartyJobInput) SetJobId(v string) *AcknowledgeThirdPartyJobInput { - s.JobId = &v - return s -} - -// SetNonce sets the Nonce field's value. -func (s *AcknowledgeThirdPartyJobInput) SetNonce(v string) *AcknowledgeThirdPartyJobInput { - s.Nonce = &v - return s -} - // Represents the output of an AcknowledgeThirdPartyJob action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeThirdPartyJobOutput type AcknowledgeThirdPartyJobOutput struct { @@ -1643,12 +1589,6 @@ func (s AcknowledgeThirdPartyJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStatus sets the Status field's value. -func (s *AcknowledgeThirdPartyJobOutput) SetStatus(v JobStatus) *AcknowledgeThirdPartyJobOutput { - s.Status = v - return s -} - // Represents information about an action configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionConfiguration type ActionConfiguration struct { @@ -1668,12 +1608,6 @@ func (s ActionConfiguration) GoString() string { return s.String() } -// SetConfiguration sets the Configuration field's value. -func (s *ActionConfiguration) SetConfiguration(v map[string]string) *ActionConfiguration { - s.Configuration = v - return s -} - // Represents information about an action configuration property. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionConfigurationProperty type ActionConfigurationProperty struct { @@ -1765,48 +1699,6 @@ func (s *ActionConfigurationProperty) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *ActionConfigurationProperty) SetDescription(v string) *ActionConfigurationProperty { - s.Description = &v - return s -} - -// SetKey sets the Key field's value. -func (s *ActionConfigurationProperty) SetKey(v bool) *ActionConfigurationProperty { - s.Key = &v - return s -} - -// SetName sets the Name field's value. -func (s *ActionConfigurationProperty) SetName(v string) *ActionConfigurationProperty { - s.Name = &v - return s -} - -// SetQueryable sets the Queryable field's value. -func (s *ActionConfigurationProperty) SetQueryable(v bool) *ActionConfigurationProperty { - s.Queryable = &v - return s -} - -// SetRequired sets the Required field's value. -func (s *ActionConfigurationProperty) SetRequired(v bool) *ActionConfigurationProperty { - s.Required = &v - return s -} - -// SetSecret sets the Secret field's value. -func (s *ActionConfigurationProperty) SetSecret(v bool) *ActionConfigurationProperty { - s.Secret = &v - return s -} - -// SetType sets the Type field's value. -func (s *ActionConfigurationProperty) SetType(v ActionConfigurationPropertyType) *ActionConfigurationProperty { - s.Type = v - return s -} - // Represents the context of an action within the stage of a pipeline to a job // worker. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionContext @@ -1827,12 +1719,6 @@ func (s ActionContext) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *ActionContext) SetName(v string) *ActionContext { - s.Name = &v - return s -} - // Represents information about an action declaration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionDeclaration type ActionDeclaration struct { @@ -1920,48 +1806,6 @@ func (s *ActionDeclaration) Validate() error { return nil } -// SetActionTypeId sets the ActionTypeId field's value. -func (s *ActionDeclaration) SetActionTypeId(v *ActionTypeId) *ActionDeclaration { - s.ActionTypeId = v - return s -} - -// SetConfiguration sets the Configuration field's value. -func (s *ActionDeclaration) SetConfiguration(v map[string]string) *ActionDeclaration { - s.Configuration = v - return s -} - -// SetInputArtifacts sets the InputArtifacts field's value. -func (s *ActionDeclaration) SetInputArtifacts(v []InputArtifact) *ActionDeclaration { - s.InputArtifacts = v - return s -} - -// SetName sets the Name field's value. -func (s *ActionDeclaration) SetName(v string) *ActionDeclaration { - s.Name = &v - return s -} - -// SetOutputArtifacts sets the OutputArtifacts field's value. -func (s *ActionDeclaration) SetOutputArtifacts(v []OutputArtifact) *ActionDeclaration { - s.OutputArtifacts = v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *ActionDeclaration) SetRoleArn(v string) *ActionDeclaration { - s.RoleArn = &v - return s -} - -// SetRunOrder sets the RunOrder field's value. -func (s *ActionDeclaration) SetRunOrder(v int64) *ActionDeclaration { - s.RunOrder = &v - return s -} - // Represents information about the run of an action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionExecution type ActionExecution struct { @@ -2010,60 +1854,6 @@ func (s ActionExecution) GoString() string { return s.String() } -// SetErrorDetails sets the ErrorDetails field's value. -func (s *ActionExecution) SetErrorDetails(v *ErrorDetails) *ActionExecution { - s.ErrorDetails = v - return s -} - -// SetExternalExecutionId sets the ExternalExecutionId field's value. -func (s *ActionExecution) SetExternalExecutionId(v string) *ActionExecution { - s.ExternalExecutionId = &v - return s -} - -// SetExternalExecutionUrl sets the ExternalExecutionUrl field's value. -func (s *ActionExecution) SetExternalExecutionUrl(v string) *ActionExecution { - s.ExternalExecutionUrl = &v - return s -} - -// SetLastStatusChange sets the LastStatusChange field's value. -func (s *ActionExecution) SetLastStatusChange(v time.Time) *ActionExecution { - s.LastStatusChange = &v - return s -} - -// SetLastUpdatedBy sets the LastUpdatedBy field's value. -func (s *ActionExecution) SetLastUpdatedBy(v string) *ActionExecution { - s.LastUpdatedBy = &v - return s -} - -// SetPercentComplete sets the PercentComplete field's value. -func (s *ActionExecution) SetPercentComplete(v int64) *ActionExecution { - s.PercentComplete = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ActionExecution) SetStatus(v ActionExecutionStatus) *ActionExecution { - s.Status = v - return s -} - -// SetSummary sets the Summary field's value. -func (s *ActionExecution) SetSummary(v string) *ActionExecution { - s.Summary = &v - return s -} - -// SetToken sets the Token field's value. -func (s *ActionExecution) SetToken(v string) *ActionExecution { - s.Token = &v - return s -} - // Represents information about the version (or revision) of an action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionRevision type ActionRevision struct { @@ -2126,24 +1916,6 @@ func (s *ActionRevision) Validate() error { return nil } -// SetCreated sets the Created field's value. -func (s *ActionRevision) SetCreated(v time.Time) *ActionRevision { - s.Created = &v - return s -} - -// SetRevisionChangeId sets the RevisionChangeId field's value. -func (s *ActionRevision) SetRevisionChangeId(v string) *ActionRevision { - s.RevisionChangeId = &v - return s -} - -// SetRevisionId sets the RevisionId field's value. -func (s *ActionRevision) SetRevisionId(v string) *ActionRevision { - s.RevisionId = &v - return s -} - // Represents information about the state of an action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionState type ActionState struct { @@ -2177,36 +1949,6 @@ func (s ActionState) GoString() string { return s.String() } -// SetActionName sets the ActionName field's value. -func (s *ActionState) SetActionName(v string) *ActionState { - s.ActionName = &v - return s -} - -// SetCurrentRevision sets the CurrentRevision field's value. -func (s *ActionState) SetCurrentRevision(v *ActionRevision) *ActionState { - s.CurrentRevision = v - return s -} - -// SetEntityUrl sets the EntityUrl field's value. -func (s *ActionState) SetEntityUrl(v string) *ActionState { - s.EntityUrl = &v - return s -} - -// SetLatestExecution sets the LatestExecution field's value. -func (s *ActionState) SetLatestExecution(v *ActionExecution) *ActionState { - s.LatestExecution = v - return s -} - -// SetRevisionUrl sets the RevisionUrl field's value. -func (s *ActionState) SetRevisionUrl(v string) *ActionState { - s.RevisionUrl = &v - return s -} - // Returns information about the details of an action type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionType type ActionType struct { @@ -2244,36 +1986,6 @@ func (s ActionType) GoString() string { return s.String() } -// SetActionConfigurationProperties sets the ActionConfigurationProperties field's value. -func (s *ActionType) SetActionConfigurationProperties(v []ActionConfigurationProperty) *ActionType { - s.ActionConfigurationProperties = v - return s -} - -// SetId sets the Id field's value. -func (s *ActionType) SetId(v *ActionTypeId) *ActionType { - s.Id = v - return s -} - -// SetInputArtifactDetails sets the InputArtifactDetails field's value. -func (s *ActionType) SetInputArtifactDetails(v *ArtifactDetails) *ActionType { - s.InputArtifactDetails = v - return s -} - -// SetOutputArtifactDetails sets the OutputArtifactDetails field's value. -func (s *ActionType) SetOutputArtifactDetails(v *ArtifactDetails) *ActionType { - s.OutputArtifactDetails = v - return s -} - -// SetSettings sets the Settings field's value. -func (s *ActionType) SetSettings(v *ActionTypeSettings) *ActionType { - s.Settings = v - return s -} - // Represents information about an action type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeId type ActionTypeId struct { @@ -2345,30 +2057,6 @@ func (s *ActionTypeId) Validate() error { return nil } -// SetCategory sets the Category field's value. -func (s *ActionTypeId) SetCategory(v ActionCategory) *ActionTypeId { - s.Category = v - return s -} - -// SetOwner sets the Owner field's value. -func (s *ActionTypeId) SetOwner(v ActionOwner) *ActionTypeId { - s.Owner = v - return s -} - -// SetProvider sets the Provider field's value. -func (s *ActionTypeId) SetProvider(v string) *ActionTypeId { - s.Provider = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *ActionTypeId) SetVersion(v string) *ActionTypeId { - s.Version = &v - return s -} - // Returns information about the settings for an action type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ActionTypeSettings type ActionTypeSettings struct { @@ -2429,30 +2117,6 @@ func (s *ActionTypeSettings) Validate() error { return nil } -// SetEntityUrlTemplate sets the EntityUrlTemplate field's value. -func (s *ActionTypeSettings) SetEntityUrlTemplate(v string) *ActionTypeSettings { - s.EntityUrlTemplate = &v - return s -} - -// SetExecutionUrlTemplate sets the ExecutionUrlTemplate field's value. -func (s *ActionTypeSettings) SetExecutionUrlTemplate(v string) *ActionTypeSettings { - s.ExecutionUrlTemplate = &v - return s -} - -// SetRevisionUrlTemplate sets the RevisionUrlTemplate field's value. -func (s *ActionTypeSettings) SetRevisionUrlTemplate(v string) *ActionTypeSettings { - s.RevisionUrlTemplate = &v - return s -} - -// SetThirdPartyConfigurationUrl sets the ThirdPartyConfigurationUrl field's value. -func (s *ActionTypeSettings) SetThirdPartyConfigurationUrl(v string) *ActionTypeSettings { - s.ThirdPartyConfigurationUrl = &v - return s -} - // Represents information about the result of an approval request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ApprovalResult type ApprovalResult struct { @@ -2496,18 +2160,6 @@ func (s *ApprovalResult) Validate() error { return nil } -// SetStatus sets the Status field's value. -func (s *ApprovalResult) SetStatus(v ApprovalStatus) *ApprovalResult { - s.Status = v - return s -} - -// SetSummary sets the Summary field's value. -func (s *ApprovalResult) SetSummary(v string) *ApprovalResult { - s.Summary = &v - return s -} - // Represents information about an artifact that will be worked upon by actions // in the pipeline. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/Artifact @@ -2535,24 +2187,6 @@ func (s Artifact) GoString() string { return s.String() } -// SetLocation sets the Location field's value. -func (s *Artifact) SetLocation(v *ArtifactLocation) *Artifact { - s.Location = v - return s -} - -// SetName sets the Name field's value. -func (s *Artifact) SetName(v string) *Artifact { - s.Name = &v - return s -} - -// SetRevision sets the Revision field's value. -func (s *Artifact) SetRevision(v string) *Artifact { - s.Revision = &v - return s -} - // Returns information about the details of an artifact. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactDetails type ArtifactDetails struct { @@ -2597,18 +2231,6 @@ func (s *ArtifactDetails) Validate() error { return nil } -// SetMaximumCount sets the MaximumCount field's value. -func (s *ArtifactDetails) SetMaximumCount(v int64) *ArtifactDetails { - s.MaximumCount = &v - return s -} - -// SetMinimumCount sets the MinimumCount field's value. -func (s *ArtifactDetails) SetMinimumCount(v int64) *ArtifactDetails { - s.MinimumCount = &v - return s -} - // Represents information about the location of an artifact. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactLocation type ArtifactLocation struct { @@ -2631,18 +2253,6 @@ func (s ArtifactLocation) GoString() string { return s.String() } -// SetS3Location sets the S3Location field's value. -func (s *ArtifactLocation) SetS3Location(v *S3ArtifactLocation) *ArtifactLocation { - s.S3Location = v - return s -} - -// SetType sets the Type field's value. -func (s *ArtifactLocation) SetType(v ArtifactLocationType) *ArtifactLocation { - s.Type = v - return s -} - // Represents revision details of an artifact. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactRevision type ArtifactRevision struct { @@ -2685,42 +2295,6 @@ func (s ArtifactRevision) GoString() string { return s.String() } -// SetCreated sets the Created field's value. -func (s *ArtifactRevision) SetCreated(v time.Time) *ArtifactRevision { - s.Created = &v - return s -} - -// SetName sets the Name field's value. -func (s *ArtifactRevision) SetName(v string) *ArtifactRevision { - s.Name = &v - return s -} - -// SetRevisionChangeIdentifier sets the RevisionChangeIdentifier field's value. -func (s *ArtifactRevision) SetRevisionChangeIdentifier(v string) *ArtifactRevision { - s.RevisionChangeIdentifier = &v - return s -} - -// SetRevisionId sets the RevisionId field's value. -func (s *ArtifactRevision) SetRevisionId(v string) *ArtifactRevision { - s.RevisionId = &v - return s -} - -// SetRevisionSummary sets the RevisionSummary field's value. -func (s *ArtifactRevision) SetRevisionSummary(v string) *ArtifactRevision { - s.RevisionSummary = &v - return s -} - -// SetRevisionUrl sets the RevisionUrl field's value. -func (s *ArtifactRevision) SetRevisionUrl(v string) *ArtifactRevision { - s.RevisionUrl = &v - return s -} - // The Amazon S3 bucket where artifacts are stored for the pipeline. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ArtifactStore type ArtifactStore struct { @@ -2781,24 +2355,6 @@ func (s *ArtifactStore) Validate() error { return nil } -// SetEncryptionKey sets the EncryptionKey field's value. -func (s *ArtifactStore) SetEncryptionKey(v *EncryptionKey) *ArtifactStore { - s.EncryptionKey = v - return s -} - -// SetLocation sets the Location field's value. -func (s *ArtifactStore) SetLocation(v string) *ArtifactStore { - s.Location = &v - return s -} - -// SetType sets the Type field's value. -func (s *ArtifactStore) SetType(v ArtifactStoreType) *ArtifactStore { - s.Type = v - return s -} - // Reserved for future use. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/BlockerDeclaration type BlockerDeclaration struct { @@ -2845,18 +2401,6 @@ func (s *BlockerDeclaration) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *BlockerDeclaration) SetName(v string) *BlockerDeclaration { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *BlockerDeclaration) SetType(v BlockerType) *BlockerDeclaration { - s.Type = v - return s -} - // Represents the input of a CreateCustomActionType operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreateCustomActionTypeInput type CreateCustomActionTypeInput struct { @@ -2969,48 +2513,6 @@ func (s *CreateCustomActionTypeInput) Validate() error { return nil } -// SetCategory sets the Category field's value. -func (s *CreateCustomActionTypeInput) SetCategory(v ActionCategory) *CreateCustomActionTypeInput { - s.Category = v - return s -} - -// SetConfigurationProperties sets the ConfigurationProperties field's value. -func (s *CreateCustomActionTypeInput) SetConfigurationProperties(v []ActionConfigurationProperty) *CreateCustomActionTypeInput { - s.ConfigurationProperties = v - return s -} - -// SetInputArtifactDetails sets the InputArtifactDetails field's value. -func (s *CreateCustomActionTypeInput) SetInputArtifactDetails(v *ArtifactDetails) *CreateCustomActionTypeInput { - s.InputArtifactDetails = v - return s -} - -// SetOutputArtifactDetails sets the OutputArtifactDetails field's value. -func (s *CreateCustomActionTypeInput) SetOutputArtifactDetails(v *ArtifactDetails) *CreateCustomActionTypeInput { - s.OutputArtifactDetails = v - return s -} - -// SetProvider sets the Provider field's value. -func (s *CreateCustomActionTypeInput) SetProvider(v string) *CreateCustomActionTypeInput { - s.Provider = &v - return s -} - -// SetSettings sets the Settings field's value. -func (s *CreateCustomActionTypeInput) SetSettings(v *ActionTypeSettings) *CreateCustomActionTypeInput { - s.Settings = v - return s -} - -// SetVersion sets the Version field's value. -func (s *CreateCustomActionTypeInput) SetVersion(v string) *CreateCustomActionTypeInput { - s.Version = &v - return s -} - // Represents the output of a CreateCustomActionType operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreateCustomActionTypeOutput type CreateCustomActionTypeOutput struct { @@ -3039,12 +2541,6 @@ func (s CreateCustomActionTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetActionType sets the ActionType field's value. -func (s *CreateCustomActionTypeOutput) SetActionType(v *ActionType) *CreateCustomActionTypeOutput { - s.ActionType = v - return s -} - // Represents the input of a CreatePipeline action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreatePipelineInput type CreatePipelineInput struct { @@ -3085,12 +2581,6 @@ func (s *CreatePipelineInput) Validate() error { return nil } -// SetPipeline sets the Pipeline field's value. -func (s *CreatePipelineInput) SetPipeline(v *PipelineDeclaration) *CreatePipelineInput { - s.Pipeline = v - return s -} - // Represents the output of a CreatePipeline action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreatePipelineOutput type CreatePipelineOutput struct { @@ -3117,12 +2607,6 @@ func (s CreatePipelineOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPipeline sets the Pipeline field's value. -func (s *CreatePipelineOutput) SetPipeline(v *PipelineDeclaration) *CreatePipelineOutput { - s.Pipeline = v - return s -} - // Represents information about a current revision. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CurrentRevision type CurrentRevision struct { @@ -3183,30 +2667,6 @@ func (s *CurrentRevision) Validate() error { return nil } -// SetChangeIdentifier sets the ChangeIdentifier field's value. -func (s *CurrentRevision) SetChangeIdentifier(v string) *CurrentRevision { - s.ChangeIdentifier = &v - return s -} - -// SetCreated sets the Created field's value. -func (s *CurrentRevision) SetCreated(v time.Time) *CurrentRevision { - s.Created = &v - return s -} - -// SetRevision sets the Revision field's value. -func (s *CurrentRevision) SetRevision(v string) *CurrentRevision { - s.Revision = &v - return s -} - -// SetRevisionSummary sets the RevisionSummary field's value. -func (s *CurrentRevision) SetRevisionSummary(v string) *CurrentRevision { - s.RevisionSummary = &v - return s -} - // Represents the input of a DeleteCustomActionType operation. The custom action // will be marked as deleted. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteCustomActionTypeInput @@ -3267,24 +2727,6 @@ func (s *DeleteCustomActionTypeInput) Validate() error { return nil } -// SetCategory sets the Category field's value. -func (s *DeleteCustomActionTypeInput) SetCategory(v ActionCategory) *DeleteCustomActionTypeInput { - s.Category = v - return s -} - -// SetProvider sets the Provider field's value. -func (s *DeleteCustomActionTypeInput) SetProvider(v string) *DeleteCustomActionTypeInput { - s.Provider = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *DeleteCustomActionTypeInput) SetVersion(v string) *DeleteCustomActionTypeInput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteCustomActionTypeOutput type DeleteCustomActionTypeOutput struct { _ struct{} `type:"structure"` @@ -3345,12 +2787,6 @@ func (s *DeletePipelineInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeletePipelineInput) SetName(v string) *DeletePipelineInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeletePipelineOutput type DeletePipelineOutput struct { _ struct{} `type:"structure"` @@ -3450,30 +2886,6 @@ func (s *DisableStageTransitionInput) Validate() error { return nil } -// SetPipelineName sets the PipelineName field's value. -func (s *DisableStageTransitionInput) SetPipelineName(v string) *DisableStageTransitionInput { - s.PipelineName = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *DisableStageTransitionInput) SetReason(v string) *DisableStageTransitionInput { - s.Reason = &v - return s -} - -// SetStageName sets the StageName field's value. -func (s *DisableStageTransitionInput) SetStageName(v string) *DisableStageTransitionInput { - s.StageName = &v - return s -} - -// SetTransitionType sets the TransitionType field's value. -func (s *DisableStageTransitionInput) SetTransitionType(v StageTransitionType) *DisableStageTransitionInput { - s.TransitionType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DisableStageTransitionOutput type DisableStageTransitionOutput struct { _ struct{} `type:"structure"` @@ -3558,24 +2970,6 @@ func (s *EnableStageTransitionInput) Validate() error { return nil } -// SetPipelineName sets the PipelineName field's value. -func (s *EnableStageTransitionInput) SetPipelineName(v string) *EnableStageTransitionInput { - s.PipelineName = &v - return s -} - -// SetStageName sets the StageName field's value. -func (s *EnableStageTransitionInput) SetStageName(v string) *EnableStageTransitionInput { - s.StageName = &v - return s -} - -// SetTransitionType sets the TransitionType field's value. -func (s *EnableStageTransitionInput) SetTransitionType(v StageTransitionType) *EnableStageTransitionInput { - s.TransitionType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EnableStageTransitionOutput type EnableStageTransitionOutput struct { _ struct{} `type:"structure"` @@ -3647,18 +3041,6 @@ func (s *EncryptionKey) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *EncryptionKey) SetId(v string) *EncryptionKey { - s.Id = &v - return s -} - -// SetType sets the Type field's value. -func (s *EncryptionKey) SetType(v EncryptionKeyType) *EncryptionKey { - s.Type = v - return s -} - // Represents information about an error in AWS CodePipeline. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ErrorDetails type ErrorDetails struct { @@ -3681,18 +3063,6 @@ func (s ErrorDetails) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *ErrorDetails) SetCode(v string) *ErrorDetails { - s.Code = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *ErrorDetails) SetMessage(v string) *ErrorDetails { - s.Message = &v - return s -} - // The details of the actions taken and results produced on an artifact as it // passes through stages in the pipeline. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ExecutionDetails @@ -3734,24 +3104,6 @@ func (s *ExecutionDetails) Validate() error { return nil } -// SetExternalExecutionId sets the ExternalExecutionId field's value. -func (s *ExecutionDetails) SetExternalExecutionId(v string) *ExecutionDetails { - s.ExternalExecutionId = &v - return s -} - -// SetPercentComplete sets the PercentComplete field's value. -func (s *ExecutionDetails) SetPercentComplete(v int64) *ExecutionDetails { - s.PercentComplete = &v - return s -} - -// SetSummary sets the Summary field's value. -func (s *ExecutionDetails) SetSummary(v string) *ExecutionDetails { - s.Summary = &v - return s -} - // Represents information about failure details. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/FailureDetails type FailureDetails struct { @@ -3801,24 +3153,6 @@ func (s *FailureDetails) Validate() error { return nil } -// SetExternalExecutionId sets the ExternalExecutionId field's value. -func (s *FailureDetails) SetExternalExecutionId(v string) *FailureDetails { - s.ExternalExecutionId = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *FailureDetails) SetMessage(v string) *FailureDetails { - s.Message = &v - return s -} - -// SetType sets the Type field's value. -func (s *FailureDetails) SetType(v FailureType) *FailureDetails { - s.Type = v - return s -} - // Represents the input of a GetJobDetails action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetJobDetailsInput type GetJobDetailsInput struct { @@ -3854,12 +3188,6 @@ func (s *GetJobDetailsInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *GetJobDetailsInput) SetJobId(v string) *GetJobDetailsInput { - s.JobId = &v - return s -} - // Represents the output of a GetJobDetails action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetJobDetailsOutput type GetJobDetailsOutput struct { @@ -3889,12 +3217,6 @@ func (s GetJobDetailsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobDetails sets the JobDetails field's value. -func (s *GetJobDetailsOutput) SetJobDetails(v *JobDetails) *GetJobDetailsOutput { - s.JobDetails = v - return s -} - // Represents the input of a GetPipelineExecution action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineExecutionInput type GetPipelineExecutionInput struct { @@ -3942,18 +3264,6 @@ func (s *GetPipelineExecutionInput) Validate() error { return nil } -// SetPipelineExecutionId sets the PipelineExecutionId field's value. -func (s *GetPipelineExecutionInput) SetPipelineExecutionId(v string) *GetPipelineExecutionInput { - s.PipelineExecutionId = &v - return s -} - -// SetPipelineName sets the PipelineName field's value. -func (s *GetPipelineExecutionInput) SetPipelineName(v string) *GetPipelineExecutionInput { - s.PipelineName = &v - return s -} - // Represents the output of a GetPipelineExecution action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineExecutionOutput type GetPipelineExecutionOutput struct { @@ -3980,12 +3290,6 @@ func (s GetPipelineExecutionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPipelineExecution sets the PipelineExecution field's value. -func (s *GetPipelineExecutionOutput) SetPipelineExecution(v *PipelineExecution) *GetPipelineExecutionOutput { - s.PipelineExecution = v - return s -} - // Represents the input of a GetPipeline action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineInput type GetPipelineInput struct { @@ -4032,18 +3336,6 @@ func (s *GetPipelineInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *GetPipelineInput) SetName(v string) *GetPipelineInput { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetPipelineInput) SetVersion(v int64) *GetPipelineInput { - s.Version = &v - return s -} - // Represents the output of a GetPipeline action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineOutput type GetPipelineOutput struct { @@ -4074,18 +3366,6 @@ func (s GetPipelineOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMetadata sets the Metadata field's value. -func (s *GetPipelineOutput) SetMetadata(v *PipelineMetadata) *GetPipelineOutput { - s.Metadata = v - return s -} - -// SetPipeline sets the Pipeline field's value. -func (s *GetPipelineOutput) SetPipeline(v *PipelineDeclaration) *GetPipelineOutput { - s.Pipeline = v - return s -} - // Represents the input of a GetPipelineState action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineStateInput type GetPipelineStateInput struct { @@ -4124,12 +3404,6 @@ func (s *GetPipelineStateInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *GetPipelineStateInput) SetName(v string) *GetPipelineStateInput { - s.Name = &v - return s -} - // Represents the output of a GetPipelineState action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineStateOutput type GetPipelineStateOutput struct { @@ -4171,36 +3445,6 @@ func (s GetPipelineStateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreated sets the Created field's value. -func (s *GetPipelineStateOutput) SetCreated(v time.Time) *GetPipelineStateOutput { - s.Created = &v - return s -} - -// SetPipelineName sets the PipelineName field's value. -func (s *GetPipelineStateOutput) SetPipelineName(v string) *GetPipelineStateOutput { - s.PipelineName = &v - return s -} - -// SetPipelineVersion sets the PipelineVersion field's value. -func (s *GetPipelineStateOutput) SetPipelineVersion(v int64) *GetPipelineStateOutput { - s.PipelineVersion = &v - return s -} - -// SetStageStates sets the StageStates field's value. -func (s *GetPipelineStateOutput) SetStageStates(v []StageState) *GetPipelineStateOutput { - s.StageStates = v - return s -} - -// SetUpdated sets the Updated field's value. -func (s *GetPipelineStateOutput) SetUpdated(v time.Time) *GetPipelineStateOutput { - s.Updated = &v - return s -} - // Represents the input of a GetThirdPartyJobDetails action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetThirdPartyJobDetailsInput type GetThirdPartyJobDetailsInput struct { @@ -4252,18 +3496,6 @@ func (s *GetThirdPartyJobDetailsInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *GetThirdPartyJobDetailsInput) SetClientToken(v string) *GetThirdPartyJobDetailsInput { - s.ClientToken = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *GetThirdPartyJobDetailsInput) SetJobId(v string) *GetThirdPartyJobDetailsInput { - s.JobId = &v - return s -} - // Represents the output of a GetThirdPartyJobDetails action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetThirdPartyJobDetailsOutput type GetThirdPartyJobDetailsOutput struct { @@ -4290,12 +3522,6 @@ func (s GetThirdPartyJobDetailsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobDetails sets the JobDetails field's value. -func (s *GetThirdPartyJobDetailsOutput) SetJobDetails(v *ThirdPartyJobDetails) *GetThirdPartyJobDetailsOutput { - s.JobDetails = v - return s -} - // Represents information about an artifact to be worked on, such as a test // or build artifact. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/InputArtifact @@ -4341,12 +3567,6 @@ func (s *InputArtifact) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *InputArtifact) SetName(v string) *InputArtifact { - s.Name = &v - return s -} - // Represents information about a job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/Job type Job struct { @@ -4377,30 +3597,6 @@ func (s Job) GoString() string { return s.String() } -// SetAccountId sets the AccountId field's value. -func (s *Job) SetAccountId(v string) *Job { - s.AccountId = &v - return s -} - -// SetData sets the Data field's value. -func (s *Job) SetData(v *JobData) *Job { - s.Data = v - return s -} - -// SetId sets the Id field's value. -func (s *Job) SetId(v string) *Job { - s.Id = &v - return s -} - -// SetNonce sets the Nonce field's value. -func (s *Job) SetNonce(v string) *Job { - s.Nonce = &v - return s -} - // Represents additional information about a job required for a job worker to // complete the job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/JobData @@ -4447,54 +3643,6 @@ func (s JobData) GoString() string { return s.String() } -// SetActionConfiguration sets the ActionConfiguration field's value. -func (s *JobData) SetActionConfiguration(v *ActionConfiguration) *JobData { - s.ActionConfiguration = v - return s -} - -// SetActionTypeId sets the ActionTypeId field's value. -func (s *JobData) SetActionTypeId(v *ActionTypeId) *JobData { - s.ActionTypeId = v - return s -} - -// SetArtifactCredentials sets the ArtifactCredentials field's value. -func (s *JobData) SetArtifactCredentials(v *AWSSessionCredentials) *JobData { - s.ArtifactCredentials = v - return s -} - -// SetContinuationToken sets the ContinuationToken field's value. -func (s *JobData) SetContinuationToken(v string) *JobData { - s.ContinuationToken = &v - return s -} - -// SetEncryptionKey sets the EncryptionKey field's value. -func (s *JobData) SetEncryptionKey(v *EncryptionKey) *JobData { - s.EncryptionKey = v - return s -} - -// SetInputArtifacts sets the InputArtifacts field's value. -func (s *JobData) SetInputArtifacts(v []Artifact) *JobData { - s.InputArtifacts = v - return s -} - -// SetOutputArtifacts sets the OutputArtifacts field's value. -func (s *JobData) SetOutputArtifacts(v []Artifact) *JobData { - s.OutputArtifacts = v - return s -} - -// SetPipelineContext sets the PipelineContext field's value. -func (s *JobData) SetPipelineContext(v *PipelineContext) *JobData { - s.PipelineContext = v - return s -} - // Represents information about the details of a job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/JobDetails type JobDetails struct { @@ -4521,24 +3669,6 @@ func (s JobDetails) GoString() string { return s.String() } -// SetAccountId sets the AccountId field's value. -func (s *JobDetails) SetAccountId(v string) *JobDetails { - s.AccountId = &v - return s -} - -// SetData sets the Data field's value. -func (s *JobDetails) SetData(v *JobData) *JobDetails { - s.Data = v - return s -} - -// SetId sets the Id field's value. -func (s *JobDetails) SetId(v string) *JobDetails { - s.Id = &v - return s -} - // Represents the input of a ListActionTypes action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypesInput type ListActionTypesInput struct { @@ -4575,18 +3705,6 @@ func (s *ListActionTypesInput) Validate() error { return nil } -// SetActionOwnerFilter sets the ActionOwnerFilter field's value. -func (s *ListActionTypesInput) SetActionOwnerFilter(v ActionOwner) *ListActionTypesInput { - s.ActionOwnerFilter = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListActionTypesInput) SetNextToken(v string) *ListActionTypesInput { - s.NextToken = &v - return s -} - // Represents the output of a ListActionTypes action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypesOutput type ListActionTypesOutput struct { @@ -4620,18 +3738,6 @@ func (s ListActionTypesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetActionTypes sets the ActionTypes field's value. -func (s *ListActionTypesOutput) SetActionTypes(v []ActionType) *ListActionTypesOutput { - s.ActionTypes = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListActionTypesOutput) SetNextToken(v string) *ListActionTypesOutput { - s.NextToken = &v - return s -} - // Represents the input of a ListPipelineExecutions action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutionsInput type ListPipelineExecutionsInput struct { @@ -4686,24 +3792,6 @@ func (s *ListPipelineExecutionsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListPipelineExecutionsInput) SetMaxResults(v int64) *ListPipelineExecutionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListPipelineExecutionsInput) SetNextToken(v string) *ListPipelineExecutionsInput { - s.NextToken = &v - return s -} - -// SetPipelineName sets the PipelineName field's value. -func (s *ListPipelineExecutionsInput) SetPipelineName(v string) *ListPipelineExecutionsInput { - s.PipelineName = &v - return s -} - // Represents the output of a ListPipelineExecutions action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutionsOutput type ListPipelineExecutionsOutput struct { @@ -4735,18 +3823,6 @@ func (s ListPipelineExecutionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListPipelineExecutionsOutput) SetNextToken(v string) *ListPipelineExecutionsOutput { - s.NextToken = &v - return s -} - -// SetPipelineExecutionSummaries sets the PipelineExecutionSummaries field's value. -func (s *ListPipelineExecutionsOutput) SetPipelineExecutionSummaries(v []PipelineExecutionSummary) *ListPipelineExecutionsOutput { - s.PipelineExecutionSummaries = v - return s -} - // Represents the input of a ListPipelines action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelinesInput type ListPipelinesInput struct { @@ -4780,12 +3856,6 @@ func (s *ListPipelinesInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *ListPipelinesInput) SetNextToken(v string) *ListPipelinesInput { - s.NextToken = &v - return s -} - // Represents the output of a ListPipelines action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelinesOutput type ListPipelinesOutput struct { @@ -4817,18 +3887,6 @@ func (s ListPipelinesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListPipelinesOutput) SetNextToken(v string) *ListPipelinesOutput { - s.NextToken = &v - return s -} - -// SetPipelines sets the Pipelines field's value. -func (s *ListPipelinesOutput) SetPipelines(v []PipelineSummary) *ListPipelinesOutput { - s.Pipelines = v - return s -} - // Represents information about the output of an action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/OutputArtifact type OutputArtifact struct { @@ -4875,12 +3933,6 @@ func (s *OutputArtifact) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *OutputArtifact) SetName(v string) *OutputArtifact { - s.Name = &v - return s -} - // Represents information about a pipeline to a job worker. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineContext type PipelineContext struct { @@ -4907,24 +3959,6 @@ func (s PipelineContext) GoString() string { return s.String() } -// SetAction sets the Action field's value. -func (s *PipelineContext) SetAction(v *ActionContext) *PipelineContext { - s.Action = v - return s -} - -// SetPipelineName sets the PipelineName field's value. -func (s *PipelineContext) SetPipelineName(v string) *PipelineContext { - s.PipelineName = &v - return s -} - -// SetStage sets the Stage field's value. -func (s *PipelineContext) SetStage(v *StageContext) *PipelineContext { - s.Stage = v - return s -} - // Represents the structure of actions and stages to be performed in the pipeline. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineDeclaration type PipelineDeclaration struct { @@ -5012,36 +4046,6 @@ func (s *PipelineDeclaration) Validate() error { return nil } -// SetArtifactStore sets the ArtifactStore field's value. -func (s *PipelineDeclaration) SetArtifactStore(v *ArtifactStore) *PipelineDeclaration { - s.ArtifactStore = v - return s -} - -// SetName sets the Name field's value. -func (s *PipelineDeclaration) SetName(v string) *PipelineDeclaration { - s.Name = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *PipelineDeclaration) SetRoleArn(v string) *PipelineDeclaration { - s.RoleArn = &v - return s -} - -// SetStages sets the Stages field's value. -func (s *PipelineDeclaration) SetStages(v []StageDeclaration) *PipelineDeclaration { - s.Stages = v - return s -} - -// SetVersion sets the Version field's value. -func (s *PipelineDeclaration) SetVersion(v int64) *PipelineDeclaration { - s.Version = &v - return s -} - // Represents information about an execution of a pipeline. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecution type PipelineExecution struct { @@ -5083,36 +4087,6 @@ func (s PipelineExecution) GoString() string { return s.String() } -// SetArtifactRevisions sets the ArtifactRevisions field's value. -func (s *PipelineExecution) SetArtifactRevisions(v []ArtifactRevision) *PipelineExecution { - s.ArtifactRevisions = v - return s -} - -// SetPipelineExecutionId sets the PipelineExecutionId field's value. -func (s *PipelineExecution) SetPipelineExecutionId(v string) *PipelineExecution { - s.PipelineExecutionId = &v - return s -} - -// SetPipelineName sets the PipelineName field's value. -func (s *PipelineExecution) SetPipelineName(v string) *PipelineExecution { - s.PipelineName = &v - return s -} - -// SetPipelineVersion sets the PipelineVersion field's value. -func (s *PipelineExecution) SetPipelineVersion(v int64) *PipelineExecution { - s.PipelineVersion = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *PipelineExecution) SetStatus(v PipelineExecutionStatus) *PipelineExecution { - s.Status = v - return s -} - // Summary information about a pipeline execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineExecutionSummary type PipelineExecutionSummary struct { @@ -5152,30 +4126,6 @@ func (s PipelineExecutionSummary) GoString() string { return s.String() } -// SetLastUpdateTime sets the LastUpdateTime field's value. -func (s *PipelineExecutionSummary) SetLastUpdateTime(v time.Time) *PipelineExecutionSummary { - s.LastUpdateTime = &v - return s -} - -// SetPipelineExecutionId sets the PipelineExecutionId field's value. -func (s *PipelineExecutionSummary) SetPipelineExecutionId(v string) *PipelineExecutionSummary { - s.PipelineExecutionId = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *PipelineExecutionSummary) SetStartTime(v time.Time) *PipelineExecutionSummary { - s.StartTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *PipelineExecutionSummary) SetStatus(v PipelineExecutionStatus) *PipelineExecutionSummary { - s.Status = v - return s -} - // Information about a pipeline. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineMetadata type PipelineMetadata struct { @@ -5201,24 +4151,6 @@ func (s PipelineMetadata) GoString() string { return s.String() } -// SetCreated sets the Created field's value. -func (s *PipelineMetadata) SetCreated(v time.Time) *PipelineMetadata { - s.Created = &v - return s -} - -// SetPipelineArn sets the PipelineArn field's value. -func (s *PipelineMetadata) SetPipelineArn(v string) *PipelineMetadata { - s.PipelineArn = &v - return s -} - -// SetUpdated sets the Updated field's value. -func (s *PipelineMetadata) SetUpdated(v time.Time) *PipelineMetadata { - s.Updated = &v - return s -} - // Returns a summary of a pipeline. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PipelineSummary type PipelineSummary struct { @@ -5247,30 +4179,6 @@ func (s PipelineSummary) GoString() string { return s.String() } -// SetCreated sets the Created field's value. -func (s *PipelineSummary) SetCreated(v time.Time) *PipelineSummary { - s.Created = &v - return s -} - -// SetName sets the Name field's value. -func (s *PipelineSummary) SetName(v string) *PipelineSummary { - s.Name = &v - return s -} - -// SetUpdated sets the Updated field's value. -func (s *PipelineSummary) SetUpdated(v time.Time) *PipelineSummary { - s.Updated = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *PipelineSummary) SetVersion(v int64) *PipelineSummary { - s.Version = &v - return s -} - // Represents the input of a PollForJobs action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForJobsInput type PollForJobsInput struct { @@ -5323,24 +4231,6 @@ func (s *PollForJobsInput) Validate() error { return nil } -// SetActionTypeId sets the ActionTypeId field's value. -func (s *PollForJobsInput) SetActionTypeId(v *ActionTypeId) *PollForJobsInput { - s.ActionTypeId = v - return s -} - -// SetMaxBatchSize sets the MaxBatchSize field's value. -func (s *PollForJobsInput) SetMaxBatchSize(v int64) *PollForJobsInput { - s.MaxBatchSize = &v - return s -} - -// SetQueryParam sets the QueryParam field's value. -func (s *PollForJobsInput) SetQueryParam(v map[string]string) *PollForJobsInput { - s.QueryParam = v - return s -} - // Represents the output of a PollForJobs action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForJobsOutput type PollForJobsOutput struct { @@ -5367,12 +4257,6 @@ func (s PollForJobsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobs sets the Jobs field's value. -func (s *PollForJobsOutput) SetJobs(v []Job) *PollForJobsOutput { - s.Jobs = v - return s -} - // Represents the input of a PollForThirdPartyJobs action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForThirdPartyJobsInput type PollForThirdPartyJobsInput struct { @@ -5419,18 +4303,6 @@ func (s *PollForThirdPartyJobsInput) Validate() error { return nil } -// SetActionTypeId sets the ActionTypeId field's value. -func (s *PollForThirdPartyJobsInput) SetActionTypeId(v *ActionTypeId) *PollForThirdPartyJobsInput { - s.ActionTypeId = v - return s -} - -// SetMaxBatchSize sets the MaxBatchSize field's value. -func (s *PollForThirdPartyJobsInput) SetMaxBatchSize(v int64) *PollForThirdPartyJobsInput { - s.MaxBatchSize = &v - return s -} - // Represents the output of a PollForThirdPartyJobs action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForThirdPartyJobsOutput type PollForThirdPartyJobsOutput struct { @@ -5457,12 +4329,6 @@ func (s PollForThirdPartyJobsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobs sets the Jobs field's value. -func (s *PollForThirdPartyJobsOutput) SetJobs(v []ThirdPartyJob) *PollForThirdPartyJobsOutput { - s.Jobs = v - return s -} - // Represents the input of a PutActionRevision action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutActionRevisionInput type PutActionRevisionInput struct { @@ -5539,30 +4405,6 @@ func (s *PutActionRevisionInput) Validate() error { return nil } -// SetActionName sets the ActionName field's value. -func (s *PutActionRevisionInput) SetActionName(v string) *PutActionRevisionInput { - s.ActionName = &v - return s -} - -// SetActionRevision sets the ActionRevision field's value. -func (s *PutActionRevisionInput) SetActionRevision(v *ActionRevision) *PutActionRevisionInput { - s.ActionRevision = v - return s -} - -// SetPipelineName sets the PipelineName field's value. -func (s *PutActionRevisionInput) SetPipelineName(v string) *PutActionRevisionInput { - s.PipelineName = &v - return s -} - -// SetStageName sets the StageName field's value. -func (s *PutActionRevisionInput) SetStageName(v string) *PutActionRevisionInput { - s.StageName = &v - return s -} - // Represents the output of a PutActionRevision action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutActionRevisionOutput type PutActionRevisionOutput struct { @@ -5593,18 +4435,6 @@ func (s PutActionRevisionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNewRevision sets the NewRevision field's value. -func (s *PutActionRevisionOutput) SetNewRevision(v bool) *PutActionRevisionOutput { - s.NewRevision = &v - return s -} - -// SetPipelineExecutionId sets the PipelineExecutionId field's value. -func (s *PutActionRevisionOutput) SetPipelineExecutionId(v string) *PutActionRevisionOutput { - s.PipelineExecutionId = &v - return s -} - // Represents the input of a PutApprovalResult action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutApprovalResultInput type PutApprovalResultInput struct { @@ -5693,36 +4523,6 @@ func (s *PutApprovalResultInput) Validate() error { return nil } -// SetActionName sets the ActionName field's value. -func (s *PutApprovalResultInput) SetActionName(v string) *PutApprovalResultInput { - s.ActionName = &v - return s -} - -// SetPipelineName sets the PipelineName field's value. -func (s *PutApprovalResultInput) SetPipelineName(v string) *PutApprovalResultInput { - s.PipelineName = &v - return s -} - -// SetResult sets the Result field's value. -func (s *PutApprovalResultInput) SetResult(v *ApprovalResult) *PutApprovalResultInput { - s.Result = v - return s -} - -// SetStageName sets the StageName field's value. -func (s *PutApprovalResultInput) SetStageName(v string) *PutApprovalResultInput { - s.StageName = &v - return s -} - -// SetToken sets the Token field's value. -func (s *PutApprovalResultInput) SetToken(v string) *PutApprovalResultInput { - s.Token = &v - return s -} - // Represents the output of a PutApprovalResult action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutApprovalResultOutput type PutApprovalResultOutput struct { @@ -5749,12 +4549,6 @@ func (s PutApprovalResultOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApprovedAt sets the ApprovedAt field's value. -func (s *PutApprovalResultOutput) SetApprovedAt(v time.Time) *PutApprovalResultOutput { - s.ApprovedAt = &v - return s -} - // Represents the input of a PutJobFailureResult action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobFailureResultInput type PutJobFailureResultInput struct { @@ -5805,18 +4599,6 @@ func (s *PutJobFailureResultInput) Validate() error { return nil } -// SetFailureDetails sets the FailureDetails field's value. -func (s *PutJobFailureResultInput) SetFailureDetails(v *FailureDetails) *PutJobFailureResultInput { - s.FailureDetails = v - return s -} - -// SetJobId sets the JobId field's value. -func (s *PutJobFailureResultInput) SetJobId(v string) *PutJobFailureResultInput { - s.JobId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobFailureResultOutput type PutJobFailureResultOutput struct { _ struct{} `type:"structure"` @@ -5901,30 +4683,6 @@ func (s *PutJobSuccessResultInput) Validate() error { return nil } -// SetContinuationToken sets the ContinuationToken field's value. -func (s *PutJobSuccessResultInput) SetContinuationToken(v string) *PutJobSuccessResultInput { - s.ContinuationToken = &v - return s -} - -// SetCurrentRevision sets the CurrentRevision field's value. -func (s *PutJobSuccessResultInput) SetCurrentRevision(v *CurrentRevision) *PutJobSuccessResultInput { - s.CurrentRevision = v - return s -} - -// SetExecutionDetails sets the ExecutionDetails field's value. -func (s *PutJobSuccessResultInput) SetExecutionDetails(v *ExecutionDetails) *PutJobSuccessResultInput { - s.ExecutionDetails = v - return s -} - -// SetJobId sets the JobId field's value. -func (s *PutJobSuccessResultInput) SetJobId(v string) *PutJobSuccessResultInput { - s.JobId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobSuccessResultOutput type PutJobSuccessResultOutput struct { _ struct{} `type:"structure"` @@ -6012,24 +4770,6 @@ func (s *PutThirdPartyJobFailureResultInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *PutThirdPartyJobFailureResultInput) SetClientToken(v string) *PutThirdPartyJobFailureResultInput { - s.ClientToken = &v - return s -} - -// SetFailureDetails sets the FailureDetails field's value. -func (s *PutThirdPartyJobFailureResultInput) SetFailureDetails(v *FailureDetails) *PutThirdPartyJobFailureResultInput { - s.FailureDetails = v - return s -} - -// SetJobId sets the JobId field's value. -func (s *PutThirdPartyJobFailureResultInput) SetJobId(v string) *PutThirdPartyJobFailureResultInput { - s.JobId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobFailureResultOutput type PutThirdPartyJobFailureResultOutput struct { _ struct{} `type:"structure"` @@ -6129,36 +4869,6 @@ func (s *PutThirdPartyJobSuccessResultInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *PutThirdPartyJobSuccessResultInput) SetClientToken(v string) *PutThirdPartyJobSuccessResultInput { - s.ClientToken = &v - return s -} - -// SetContinuationToken sets the ContinuationToken field's value. -func (s *PutThirdPartyJobSuccessResultInput) SetContinuationToken(v string) *PutThirdPartyJobSuccessResultInput { - s.ContinuationToken = &v - return s -} - -// SetCurrentRevision sets the CurrentRevision field's value. -func (s *PutThirdPartyJobSuccessResultInput) SetCurrentRevision(v *CurrentRevision) *PutThirdPartyJobSuccessResultInput { - s.CurrentRevision = v - return s -} - -// SetExecutionDetails sets the ExecutionDetails field's value. -func (s *PutThirdPartyJobSuccessResultInput) SetExecutionDetails(v *ExecutionDetails) *PutThirdPartyJobSuccessResultInput { - s.ExecutionDetails = v - return s -} - -// SetJobId sets the JobId field's value. -func (s *PutThirdPartyJobSuccessResultInput) SetJobId(v string) *PutThirdPartyJobSuccessResultInput { - s.JobId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobSuccessResultOutput type PutThirdPartyJobSuccessResultOutput struct { _ struct{} `type:"structure"` @@ -6250,30 +4960,6 @@ func (s *RetryStageExecutionInput) Validate() error { return nil } -// SetPipelineExecutionId sets the PipelineExecutionId field's value. -func (s *RetryStageExecutionInput) SetPipelineExecutionId(v string) *RetryStageExecutionInput { - s.PipelineExecutionId = &v - return s -} - -// SetPipelineName sets the PipelineName field's value. -func (s *RetryStageExecutionInput) SetPipelineName(v string) *RetryStageExecutionInput { - s.PipelineName = &v - return s -} - -// SetRetryMode sets the RetryMode field's value. -func (s *RetryStageExecutionInput) SetRetryMode(v StageRetryMode) *RetryStageExecutionInput { - s.RetryMode = v - return s -} - -// SetStageName sets the StageName field's value. -func (s *RetryStageExecutionInput) SetStageName(v string) *RetryStageExecutionInput { - s.StageName = &v - return s -} - // Represents the output of a RetryStageExecution action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryStageExecutionOutput type RetryStageExecutionOutput struct { @@ -6300,12 +4986,6 @@ func (s RetryStageExecutionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPipelineExecutionId sets the PipelineExecutionId field's value. -func (s *RetryStageExecutionOutput) SetPipelineExecutionId(v string) *RetryStageExecutionOutput { - s.PipelineExecutionId = &v - return s -} - // The location of the Amazon S3 bucket that contains a revision. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/S3ArtifactLocation type S3ArtifactLocation struct { @@ -6333,18 +5013,6 @@ func (s S3ArtifactLocation) GoString() string { return s.String() } -// SetBucketName sets the BucketName field's value. -func (s *S3ArtifactLocation) SetBucketName(v string) *S3ArtifactLocation { - s.BucketName = &v - return s -} - -// SetObjectKey sets the ObjectKey field's value. -func (s *S3ArtifactLocation) SetObjectKey(v string) *S3ArtifactLocation { - s.ObjectKey = &v - return s -} - // Represents information about a stage to a job worker. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageContext type StageContext struct { @@ -6364,12 +5032,6 @@ func (s StageContext) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *StageContext) SetName(v string) *StageContext { - s.Name = &v - return s -} - // Represents information about a stage and its definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageDeclaration type StageDeclaration struct { @@ -6434,24 +5096,6 @@ func (s *StageDeclaration) Validate() error { return nil } -// SetActions sets the Actions field's value. -func (s *StageDeclaration) SetActions(v []ActionDeclaration) *StageDeclaration { - s.Actions = v - return s -} - -// SetBlockers sets the Blockers field's value. -func (s *StageDeclaration) SetBlockers(v []BlockerDeclaration) *StageDeclaration { - s.Blockers = v - return s -} - -// SetName sets the Name field's value. -func (s *StageDeclaration) SetName(v string) *StageDeclaration { - s.Name = &v - return s -} - // Represents information about the run of a stage. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageExecution type StageExecution struct { @@ -6479,18 +5123,6 @@ func (s StageExecution) GoString() string { return s.String() } -// SetPipelineExecutionId sets the PipelineExecutionId field's value. -func (s *StageExecution) SetPipelineExecutionId(v string) *StageExecution { - s.PipelineExecutionId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *StageExecution) SetStatus(v StageExecutionStatus) *StageExecution { - s.Status = v - return s -} - // Represents information about the state of the stage. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StageState type StageState struct { @@ -6520,30 +5152,6 @@ func (s StageState) GoString() string { return s.String() } -// SetActionStates sets the ActionStates field's value. -func (s *StageState) SetActionStates(v []ActionState) *StageState { - s.ActionStates = v - return s -} - -// SetInboundTransitionState sets the InboundTransitionState field's value. -func (s *StageState) SetInboundTransitionState(v *TransitionState) *StageState { - s.InboundTransitionState = v - return s -} - -// SetLatestExecution sets the LatestExecution field's value. -func (s *StageState) SetLatestExecution(v *StageExecution) *StageState { - s.LatestExecution = v - return s -} - -// SetStageName sets the StageName field's value. -func (s *StageState) SetStageName(v string) *StageState { - s.StageName = &v - return s -} - // Represents the input of a StartPipelineExecution action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecutionInput type StartPipelineExecutionInput struct { @@ -6582,12 +5190,6 @@ func (s *StartPipelineExecutionInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *StartPipelineExecutionInput) SetName(v string) *StartPipelineExecutionInput { - s.Name = &v - return s -} - // Represents the output of a StartPipelineExecution action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecutionOutput type StartPipelineExecutionOutput struct { @@ -6614,12 +5216,6 @@ func (s StartPipelineExecutionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPipelineExecutionId sets the PipelineExecutionId field's value. -func (s *StartPipelineExecutionOutput) SetPipelineExecutionId(v string) *StartPipelineExecutionOutput { - s.PipelineExecutionId = &v - return s -} - // A response to a PollForThirdPartyJobs request returned by AWS CodePipeline // when there is a job to be worked upon by a partner action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ThirdPartyJob @@ -6644,18 +5240,6 @@ func (s ThirdPartyJob) GoString() string { return s.String() } -// SetClientId sets the ClientId field's value. -func (s *ThirdPartyJob) SetClientId(v string) *ThirdPartyJob { - s.ClientId = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *ThirdPartyJob) SetJobId(v string) *ThirdPartyJob { - s.JobId = &v - return s -} - // Represents information about the job data for a partner action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ThirdPartyJobData type ThirdPartyJobData struct { @@ -6708,54 +5292,6 @@ func (s ThirdPartyJobData) GoString() string { return s.String() } -// SetActionConfiguration sets the ActionConfiguration field's value. -func (s *ThirdPartyJobData) SetActionConfiguration(v *ActionConfiguration) *ThirdPartyJobData { - s.ActionConfiguration = v - return s -} - -// SetActionTypeId sets the ActionTypeId field's value. -func (s *ThirdPartyJobData) SetActionTypeId(v *ActionTypeId) *ThirdPartyJobData { - s.ActionTypeId = v - return s -} - -// SetArtifactCredentials sets the ArtifactCredentials field's value. -func (s *ThirdPartyJobData) SetArtifactCredentials(v *AWSSessionCredentials) *ThirdPartyJobData { - s.ArtifactCredentials = v - return s -} - -// SetContinuationToken sets the ContinuationToken field's value. -func (s *ThirdPartyJobData) SetContinuationToken(v string) *ThirdPartyJobData { - s.ContinuationToken = &v - return s -} - -// SetEncryptionKey sets the EncryptionKey field's value. -func (s *ThirdPartyJobData) SetEncryptionKey(v *EncryptionKey) *ThirdPartyJobData { - s.EncryptionKey = v - return s -} - -// SetInputArtifacts sets the InputArtifacts field's value. -func (s *ThirdPartyJobData) SetInputArtifacts(v []Artifact) *ThirdPartyJobData { - s.InputArtifacts = v - return s -} - -// SetOutputArtifacts sets the OutputArtifacts field's value. -func (s *ThirdPartyJobData) SetOutputArtifacts(v []Artifact) *ThirdPartyJobData { - s.OutputArtifacts = v - return s -} - -// SetPipelineContext sets the PipelineContext field's value. -func (s *ThirdPartyJobData) SetPipelineContext(v *PipelineContext) *ThirdPartyJobData { - s.PipelineContext = v - return s -} - // The details of a job sent in response to a GetThirdPartyJobDetails request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ThirdPartyJobDetails type ThirdPartyJobDetails struct { @@ -6783,24 +5319,6 @@ func (s ThirdPartyJobDetails) GoString() string { return s.String() } -// SetData sets the Data field's value. -func (s *ThirdPartyJobDetails) SetData(v *ThirdPartyJobData) *ThirdPartyJobDetails { - s.Data = v - return s -} - -// SetId sets the Id field's value. -func (s *ThirdPartyJobDetails) SetId(v string) *ThirdPartyJobDetails { - s.Id = &v - return s -} - -// SetNonce sets the Nonce field's value. -func (s *ThirdPartyJobDetails) SetNonce(v string) *ThirdPartyJobDetails { - s.Nonce = &v - return s -} - // Represents information about the state of transitions between one stage and // another stage. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/TransitionState @@ -6831,30 +5349,6 @@ func (s TransitionState) GoString() string { return s.String() } -// SetDisabledReason sets the DisabledReason field's value. -func (s *TransitionState) SetDisabledReason(v string) *TransitionState { - s.DisabledReason = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *TransitionState) SetEnabled(v bool) *TransitionState { - s.Enabled = &v - return s -} - -// SetLastChangedAt sets the LastChangedAt field's value. -func (s *TransitionState) SetLastChangedAt(v time.Time) *TransitionState { - s.LastChangedAt = &v - return s -} - -// SetLastChangedBy sets the LastChangedBy field's value. -func (s *TransitionState) SetLastChangedBy(v string) *TransitionState { - s.LastChangedBy = &v - return s -} - // Represents the input of an UpdatePipeline action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipelineInput type UpdatePipelineInput struct { @@ -6895,12 +5389,6 @@ func (s *UpdatePipelineInput) Validate() error { return nil } -// SetPipeline sets the Pipeline field's value. -func (s *UpdatePipelineInput) SetPipeline(v *PipelineDeclaration) *UpdatePipelineInput { - s.Pipeline = v - return s -} - // Represents the output of an UpdatePipeline action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipelineOutput type UpdatePipelineOutput struct { @@ -6927,12 +5415,6 @@ func (s UpdatePipelineOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPipeline sets the Pipeline field's value. -func (s *UpdatePipelineOutput) SetPipeline(v *PipelineDeclaration) *UpdatePipelineOutput { - s.Pipeline = v - return s -} - type ActionCategory string // Enum values for ActionCategory diff --git a/service/codestar/api.go b/service/codestar/api.go index a176e30dc2e..501b6019ef1 100644 --- a/service/codestar/api.go +++ b/service/codestar/api.go @@ -979,36 +979,6 @@ func (s *AssociateTeamMemberInput) Validate() error { return nil } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *AssociateTeamMemberInput) SetClientRequestToken(v string) *AssociateTeamMemberInput { - s.ClientRequestToken = &v - return s -} - -// SetProjectId sets the ProjectId field's value. -func (s *AssociateTeamMemberInput) SetProjectId(v string) *AssociateTeamMemberInput { - s.ProjectId = &v - return s -} - -// SetProjectRole sets the ProjectRole field's value. -func (s *AssociateTeamMemberInput) SetProjectRole(v string) *AssociateTeamMemberInput { - s.ProjectRole = &v - return s -} - -// SetRemoteAccessAllowed sets the RemoteAccessAllowed field's value. -func (s *AssociateTeamMemberInput) SetRemoteAccessAllowed(v bool) *AssociateTeamMemberInput { - s.RemoteAccessAllowed = &v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *AssociateTeamMemberInput) SetUserArn(v string) *AssociateTeamMemberInput { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/AssociateTeamMemberResult type AssociateTeamMemberOutput struct { _ struct{} `type:"structure"` @@ -1035,12 +1005,6 @@ func (s AssociateTeamMemberOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *AssociateTeamMemberOutput) SetClientRequestToken(v string) *AssociateTeamMemberOutput { - s.ClientRequestToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateProjectRequest type CreateProjectInput struct { _ struct{} `type:"structure"` @@ -1099,30 +1063,6 @@ func (s *CreateProjectInput) Validate() error { return nil } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *CreateProjectInput) SetClientRequestToken(v string) *CreateProjectInput { - s.ClientRequestToken = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateProjectInput) SetDescription(v string) *CreateProjectInput { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *CreateProjectInput) SetId(v string) *CreateProjectInput { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateProjectInput) SetName(v string) *CreateProjectInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateProjectResult type CreateProjectOutput struct { _ struct{} `type:"structure"` @@ -1161,30 +1101,6 @@ func (s CreateProjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *CreateProjectOutput) SetArn(v string) *CreateProjectOutput { - s.Arn = &v - return s -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *CreateProjectOutput) SetClientRequestToken(v string) *CreateProjectOutput { - s.ClientRequestToken = &v - return s -} - -// SetId sets the Id field's value. -func (s *CreateProjectOutput) SetId(v string) *CreateProjectOutput { - s.Id = &v - return s -} - -// SetProjectTemplateId sets the ProjectTemplateId field's value. -func (s *CreateProjectOutput) SetProjectTemplateId(v string) *CreateProjectOutput { - s.ProjectTemplateId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateUserProfileRequest type CreateUserProfileInput struct { _ struct{} `type:"structure"` @@ -1253,30 +1169,6 @@ func (s *CreateUserProfileInput) Validate() error { return nil } -// SetDisplayName sets the DisplayName field's value. -func (s *CreateUserProfileInput) SetDisplayName(v string) *CreateUserProfileInput { - s.DisplayName = &v - return s -} - -// SetEmailAddress sets the EmailAddress field's value. -func (s *CreateUserProfileInput) SetEmailAddress(v string) *CreateUserProfileInput { - s.EmailAddress = &v - return s -} - -// SetSshPublicKey sets the SshPublicKey field's value. -func (s *CreateUserProfileInput) SetSshPublicKey(v string) *CreateUserProfileInput { - s.SshPublicKey = &v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *CreateUserProfileInput) SetUserArn(v string) *CreateUserProfileInput { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateUserProfileResult type CreateUserProfileOutput struct { _ struct{} `type:"structure"` @@ -1322,42 +1214,6 @@ func (s CreateUserProfileOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreatedTimestamp sets the CreatedTimestamp field's value. -func (s *CreateUserProfileOutput) SetCreatedTimestamp(v time.Time) *CreateUserProfileOutput { - s.CreatedTimestamp = &v - return s -} - -// SetDisplayName sets the DisplayName field's value. -func (s *CreateUserProfileOutput) SetDisplayName(v string) *CreateUserProfileOutput { - s.DisplayName = &v - return s -} - -// SetEmailAddress sets the EmailAddress field's value. -func (s *CreateUserProfileOutput) SetEmailAddress(v string) *CreateUserProfileOutput { - s.EmailAddress = &v - return s -} - -// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. -func (s *CreateUserProfileOutput) SetLastModifiedTimestamp(v time.Time) *CreateUserProfileOutput { - s.LastModifiedTimestamp = &v - return s -} - -// SetSshPublicKey sets the SshPublicKey field's value. -func (s *CreateUserProfileOutput) SetSshPublicKey(v string) *CreateUserProfileOutput { - s.SshPublicKey = &v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *CreateUserProfileOutput) SetUserArn(v string) *CreateUserProfileOutput { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteProjectRequest type DeleteProjectInput struct { _ struct{} `type:"structure"` @@ -1408,24 +1264,6 @@ func (s *DeleteProjectInput) Validate() error { return nil } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *DeleteProjectInput) SetClientRequestToken(v string) *DeleteProjectInput { - s.ClientRequestToken = &v - return s -} - -// SetDeleteStack sets the DeleteStack field's value. -func (s *DeleteProjectInput) SetDeleteStack(v bool) *DeleteProjectInput { - s.DeleteStack = &v - return s -} - -// SetId sets the Id field's value. -func (s *DeleteProjectInput) SetId(v string) *DeleteProjectInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteProjectResult type DeleteProjectOutput struct { _ struct{} `type:"structure"` @@ -1455,18 +1293,6 @@ func (s DeleteProjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetProjectArn sets the ProjectArn field's value. -func (s *DeleteProjectOutput) SetProjectArn(v string) *DeleteProjectOutput { - s.ProjectArn = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *DeleteProjectOutput) SetStackId(v string) *DeleteProjectOutput { - s.StackId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteUserProfileRequest type DeleteUserProfileInput struct { _ struct{} `type:"structure"` @@ -1504,12 +1330,6 @@ func (s *DeleteUserProfileInput) Validate() error { return nil } -// SetUserArn sets the UserArn field's value. -func (s *DeleteUserProfileInput) SetUserArn(v string) *DeleteUserProfileInput { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteUserProfileResult type DeleteUserProfileOutput struct { _ struct{} `type:"structure"` @@ -1537,12 +1357,6 @@ func (s DeleteUserProfileOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUserArn sets the UserArn field's value. -func (s *DeleteUserProfileOutput) SetUserArn(v string) *DeleteUserProfileOutput { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeProjectRequest type DescribeProjectInput struct { _ struct{} `type:"structure"` @@ -1580,12 +1394,6 @@ func (s *DescribeProjectInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DescribeProjectInput) SetId(v string) *DescribeProjectInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeProjectResult type DescribeProjectOutput struct { _ struct{} `type:"structure"` @@ -1634,54 +1442,6 @@ func (s DescribeProjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *DescribeProjectOutput) SetArn(v string) *DescribeProjectOutput { - s.Arn = &v - return s -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *DescribeProjectOutput) SetClientRequestToken(v string) *DescribeProjectOutput { - s.ClientRequestToken = &v - return s -} - -// SetCreatedTimeStamp sets the CreatedTimeStamp field's value. -func (s *DescribeProjectOutput) SetCreatedTimeStamp(v time.Time) *DescribeProjectOutput { - s.CreatedTimeStamp = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *DescribeProjectOutput) SetDescription(v string) *DescribeProjectOutput { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *DescribeProjectOutput) SetId(v string) *DescribeProjectOutput { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *DescribeProjectOutput) SetName(v string) *DescribeProjectOutput { - s.Name = &v - return s -} - -// SetProjectTemplateId sets the ProjectTemplateId field's value. -func (s *DescribeProjectOutput) SetProjectTemplateId(v string) *DescribeProjectOutput { - s.ProjectTemplateId = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *DescribeProjectOutput) SetStackId(v string) *DescribeProjectOutput { - s.StackId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeUserProfileRequest type DescribeUserProfileInput struct { _ struct{} `type:"structure"` @@ -1719,12 +1479,6 @@ func (s *DescribeUserProfileInput) Validate() error { return nil } -// SetUserArn sets the UserArn field's value. -func (s *DescribeUserProfileInput) SetUserArn(v string) *DescribeUserProfileInput { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeUserProfileResult type DescribeUserProfileOutput struct { _ struct{} `type:"structure"` @@ -1783,42 +1537,6 @@ func (s DescribeUserProfileOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreatedTimestamp sets the CreatedTimestamp field's value. -func (s *DescribeUserProfileOutput) SetCreatedTimestamp(v time.Time) *DescribeUserProfileOutput { - s.CreatedTimestamp = &v - return s -} - -// SetDisplayName sets the DisplayName field's value. -func (s *DescribeUserProfileOutput) SetDisplayName(v string) *DescribeUserProfileOutput { - s.DisplayName = &v - return s -} - -// SetEmailAddress sets the EmailAddress field's value. -func (s *DescribeUserProfileOutput) SetEmailAddress(v string) *DescribeUserProfileOutput { - s.EmailAddress = &v - return s -} - -// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. -func (s *DescribeUserProfileOutput) SetLastModifiedTimestamp(v time.Time) *DescribeUserProfileOutput { - s.LastModifiedTimestamp = &v - return s -} - -// SetSshPublicKey sets the SshPublicKey field's value. -func (s *DescribeUserProfileOutput) SetSshPublicKey(v string) *DescribeUserProfileOutput { - s.SshPublicKey = &v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *DescribeUserProfileOutput) SetUserArn(v string) *DescribeUserProfileOutput { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DisassociateTeamMemberRequest type DisassociateTeamMemberInput struct { _ struct{} `type:"structure"` @@ -1869,18 +1587,6 @@ func (s *DisassociateTeamMemberInput) Validate() error { return nil } -// SetProjectId sets the ProjectId field's value. -func (s *DisassociateTeamMemberInput) SetProjectId(v string) *DisassociateTeamMemberInput { - s.ProjectId = &v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *DisassociateTeamMemberInput) SetUserArn(v string) *DisassociateTeamMemberInput { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DisassociateTeamMemberResult type DisassociateTeamMemberOutput struct { _ struct{} `type:"structure"` @@ -1941,18 +1647,6 @@ func (s *ListProjectsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListProjectsInput) SetMaxResults(v int64) *ListProjectsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListProjectsInput) SetNextToken(v string) *ListProjectsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListProjectsResult type ListProjectsOutput struct { _ struct{} `type:"structure"` @@ -1984,18 +1678,6 @@ func (s ListProjectsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListProjectsOutput) SetNextToken(v string) *ListProjectsOutput { - s.NextToken = &v - return s -} - -// SetProjects sets the Projects field's value. -func (s *ListProjectsOutput) SetProjects(v []ProjectSummary) *ListProjectsOutput { - s.Projects = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListResourcesRequest type ListResourcesInput struct { _ struct{} `type:"structure"` @@ -2046,24 +1728,6 @@ func (s *ListResourcesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListResourcesInput) SetMaxResults(v int64) *ListResourcesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListResourcesInput) SetNextToken(v string) *ListResourcesInput { - s.NextToken = &v - return s -} - -// SetProjectId sets the ProjectId field's value. -func (s *ListResourcesInput) SetProjectId(v string) *ListResourcesInput { - s.ProjectId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListResourcesResult type ListResourcesOutput struct { _ struct{} `type:"structure"` @@ -2093,18 +1757,6 @@ func (s ListResourcesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListResourcesOutput) SetNextToken(v string) *ListResourcesOutput { - s.NextToken = &v - return s -} - -// SetResources sets the Resources field's value. -func (s *ListResourcesOutput) SetResources(v []Resource) *ListResourcesOutput { - s.Resources = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTagsForProjectRequest type ListTagsForProjectInput struct { _ struct{} `type:"structure"` @@ -2154,24 +1806,6 @@ func (s *ListTagsForProjectInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *ListTagsForProjectInput) SetId(v string) *ListTagsForProjectInput { - s.Id = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListTagsForProjectInput) SetMaxResults(v int64) *ListTagsForProjectInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTagsForProjectInput) SetNextToken(v string) *ListTagsForProjectInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTagsForProjectResult type ListTagsForProjectOutput struct { _ struct{} `type:"structure"` @@ -2200,18 +1834,6 @@ func (s ListTagsForProjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTagsForProjectOutput) SetNextToken(v string) *ListTagsForProjectOutput { - s.NextToken = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *ListTagsForProjectOutput) SetTags(v map[string]string) *ListTagsForProjectOutput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTeamMembersRequest type ListTeamMembersInput struct { _ struct{} `type:"structure"` @@ -2262,24 +1884,6 @@ func (s *ListTeamMembersInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListTeamMembersInput) SetMaxResults(v int64) *ListTeamMembersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTeamMembersInput) SetNextToken(v string) *ListTeamMembersInput { - s.NextToken = &v - return s -} - -// SetProjectId sets the ProjectId field's value. -func (s *ListTeamMembersInput) SetProjectId(v string) *ListTeamMembersInput { - s.ProjectId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTeamMembersResult type ListTeamMembersOutput struct { _ struct{} `type:"structure"` @@ -2311,18 +1915,6 @@ func (s ListTeamMembersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTeamMembersOutput) SetNextToken(v string) *ListTeamMembersOutput { - s.NextToken = &v - return s -} - -// SetTeamMembers sets the TeamMembers field's value. -func (s *ListTeamMembersOutput) SetTeamMembers(v []TeamMember) *ListTeamMembersOutput { - s.TeamMembers = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListUserProfilesRequest type ListUserProfilesInput struct { _ struct{} `type:"structure"` @@ -2361,18 +1953,6 @@ func (s *ListUserProfilesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListUserProfilesInput) SetMaxResults(v int64) *ListUserProfilesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListUserProfilesInput) SetNextToken(v string) *ListUserProfilesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListUserProfilesResult type ListUserProfilesOutput struct { _ struct{} `type:"structure"` @@ -2404,18 +1984,6 @@ func (s ListUserProfilesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListUserProfilesOutput) SetNextToken(v string) *ListUserProfilesOutput { - s.NextToken = &v - return s -} - -// SetUserProfiles sets the UserProfiles field's value. -func (s *ListUserProfilesOutput) SetUserProfiles(v []UserProfileSummary) *ListUserProfilesOutput { - s.UserProfiles = v - return s -} - // Information about the metadata for a project. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ProjectSummary type ProjectSummary struct { @@ -2438,18 +2006,6 @@ func (s ProjectSummary) GoString() string { return s.String() } -// SetProjectArn sets the ProjectArn field's value. -func (s *ProjectSummary) SetProjectArn(v string) *ProjectSummary { - s.ProjectArn = &v - return s -} - -// SetProjectId sets the ProjectId field's value. -func (s *ProjectSummary) SetProjectId(v string) *ProjectSummary { - s.ProjectId = &v - return s -} - // Information about a resource for a project. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/Resource type Resource struct { @@ -2471,12 +2027,6 @@ func (s Resource) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *Resource) SetId(v string) *Resource { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TagProjectRequest type TagProjectInput struct { _ struct{} `type:"structure"` @@ -2523,18 +2073,6 @@ func (s *TagProjectInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *TagProjectInput) SetId(v string) *TagProjectInput { - s.Id = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagProjectInput) SetTags(v map[string]string) *TagProjectInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TagProjectResult type TagProjectOutput struct { _ struct{} `type:"structure"` @@ -2560,12 +2098,6 @@ func (s TagProjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTags sets the Tags field's value. -func (s *TagProjectOutput) SetTags(v map[string]string) *TagProjectOutput { - s.Tags = v - return s -} - // Information about a team member in a project. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TeamMember type TeamMember struct { @@ -2598,24 +2130,6 @@ func (s TeamMember) GoString() string { return s.String() } -// SetProjectRole sets the ProjectRole field's value. -func (s *TeamMember) SetProjectRole(v string) *TeamMember { - s.ProjectRole = &v - return s -} - -// SetRemoteAccessAllowed sets the RemoteAccessAllowed field's value. -func (s *TeamMember) SetRemoteAccessAllowed(v bool) *TeamMember { - s.RemoteAccessAllowed = &v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *TeamMember) SetUserArn(v string) *TeamMember { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UntagProjectRequest type UntagProjectInput struct { _ struct{} `type:"structure"` @@ -2662,18 +2176,6 @@ func (s *UntagProjectInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *UntagProjectInput) SetId(v string) *UntagProjectInput { - s.Id = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *UntagProjectInput) SetTags(v []string) *UntagProjectInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UntagProjectResult type UntagProjectOutput struct { _ struct{} `type:"structure"` @@ -2742,24 +2244,6 @@ func (s *UpdateProjectInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *UpdateProjectInput) SetDescription(v string) *UpdateProjectInput { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *UpdateProjectInput) SetId(v string) *UpdateProjectInput { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateProjectInput) SetName(v string) *UpdateProjectInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateProjectResult type UpdateProjectOutput struct { _ struct{} `type:"structure"` @@ -2843,30 +2327,6 @@ func (s *UpdateTeamMemberInput) Validate() error { return nil } -// SetProjectId sets the ProjectId field's value. -func (s *UpdateTeamMemberInput) SetProjectId(v string) *UpdateTeamMemberInput { - s.ProjectId = &v - return s -} - -// SetProjectRole sets the ProjectRole field's value. -func (s *UpdateTeamMemberInput) SetProjectRole(v string) *UpdateTeamMemberInput { - s.ProjectRole = &v - return s -} - -// SetRemoteAccessAllowed sets the RemoteAccessAllowed field's value. -func (s *UpdateTeamMemberInput) SetRemoteAccessAllowed(v bool) *UpdateTeamMemberInput { - s.RemoteAccessAllowed = &v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *UpdateTeamMemberInput) SetUserArn(v string) *UpdateTeamMemberInput { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateTeamMemberResult type UpdateTeamMemberOutput struct { _ struct{} `type:"structure"` @@ -2900,24 +2360,6 @@ func (s UpdateTeamMemberOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetProjectRole sets the ProjectRole field's value. -func (s *UpdateTeamMemberOutput) SetProjectRole(v string) *UpdateTeamMemberOutput { - s.ProjectRole = &v - return s -} - -// SetRemoteAccessAllowed sets the RemoteAccessAllowed field's value. -func (s *UpdateTeamMemberOutput) SetRemoteAccessAllowed(v bool) *UpdateTeamMemberOutput { - s.RemoteAccessAllowed = &v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *UpdateTeamMemberOutput) SetUserArn(v string) *UpdateTeamMemberOutput { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateUserProfileRequest type UpdateUserProfileInput struct { _ struct{} `type:"structure"` @@ -2974,30 +2416,6 @@ func (s *UpdateUserProfileInput) Validate() error { return nil } -// SetDisplayName sets the DisplayName field's value. -func (s *UpdateUserProfileInput) SetDisplayName(v string) *UpdateUserProfileInput { - s.DisplayName = &v - return s -} - -// SetEmailAddress sets the EmailAddress field's value. -func (s *UpdateUserProfileInput) SetEmailAddress(v string) *UpdateUserProfileInput { - s.EmailAddress = &v - return s -} - -// SetSshPublicKey sets the SshPublicKey field's value. -func (s *UpdateUserProfileInput) SetSshPublicKey(v string) *UpdateUserProfileInput { - s.SshPublicKey = &v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *UpdateUserProfileInput) SetUserArn(v string) *UpdateUserProfileInput { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateUserProfileResult type UpdateUserProfileOutput struct { _ struct{} `type:"structure"` @@ -3043,42 +2461,6 @@ func (s UpdateUserProfileOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreatedTimestamp sets the CreatedTimestamp field's value. -func (s *UpdateUserProfileOutput) SetCreatedTimestamp(v time.Time) *UpdateUserProfileOutput { - s.CreatedTimestamp = &v - return s -} - -// SetDisplayName sets the DisplayName field's value. -func (s *UpdateUserProfileOutput) SetDisplayName(v string) *UpdateUserProfileOutput { - s.DisplayName = &v - return s -} - -// SetEmailAddress sets the EmailAddress field's value. -func (s *UpdateUserProfileOutput) SetEmailAddress(v string) *UpdateUserProfileOutput { - s.EmailAddress = &v - return s -} - -// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. -func (s *UpdateUserProfileOutput) SetLastModifiedTimestamp(v time.Time) *UpdateUserProfileOutput { - s.LastModifiedTimestamp = &v - return s -} - -// SetSshPublicKey sets the SshPublicKey field's value. -func (s *UpdateUserProfileOutput) SetSshPublicKey(v string) *UpdateUserProfileOutput { - s.SshPublicKey = &v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *UpdateUserProfileOutput) SetUserArn(v string) *UpdateUserProfileOutput { - s.UserArn = &v - return s -} - // Information about a user's profile in AWS CodeStar. // Please also see https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UserProfileSummary type UserProfileSummary struct { @@ -3116,27 +2498,3 @@ func (s UserProfileSummary) String() string { func (s UserProfileSummary) GoString() string { return s.String() } - -// SetDisplayName sets the DisplayName field's value. -func (s *UserProfileSummary) SetDisplayName(v string) *UserProfileSummary { - s.DisplayName = &v - return s -} - -// SetEmailAddress sets the EmailAddress field's value. -func (s *UserProfileSummary) SetEmailAddress(v string) *UserProfileSummary { - s.EmailAddress = &v - return s -} - -// SetSshPublicKey sets the SshPublicKey field's value. -func (s *UserProfileSummary) SetSshPublicKey(v string) *UserProfileSummary { - s.SshPublicKey = &v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *UserProfileSummary) SetUserArn(v string) *UserProfileSummary { - s.UserArn = &v - return s -} diff --git a/service/cognitoidentity/api.go b/service/cognitoidentity/api.go index 0c4fdb1bc23..76a6282fea9 100644 --- a/service/cognitoidentity/api.go +++ b/service/cognitoidentity/api.go @@ -1073,48 +1073,6 @@ func (s *CreateIdentityPoolInput) Validate() error { return nil } -// SetAllowUnauthenticatedIdentities sets the AllowUnauthenticatedIdentities field's value. -func (s *CreateIdentityPoolInput) SetAllowUnauthenticatedIdentities(v bool) *CreateIdentityPoolInput { - s.AllowUnauthenticatedIdentities = &v - return s -} - -// SetCognitoIdentityProviders sets the CognitoIdentityProviders field's value. -func (s *CreateIdentityPoolInput) SetCognitoIdentityProviders(v []Provider) *CreateIdentityPoolInput { - s.CognitoIdentityProviders = v - return s -} - -// SetDeveloperProviderName sets the DeveloperProviderName field's value. -func (s *CreateIdentityPoolInput) SetDeveloperProviderName(v string) *CreateIdentityPoolInput { - s.DeveloperProviderName = &v - return s -} - -// SetIdentityPoolName sets the IdentityPoolName field's value. -func (s *CreateIdentityPoolInput) SetIdentityPoolName(v string) *CreateIdentityPoolInput { - s.IdentityPoolName = &v - return s -} - -// SetOpenIdConnectProviderARNs sets the OpenIdConnectProviderARNs field's value. -func (s *CreateIdentityPoolInput) SetOpenIdConnectProviderARNs(v []string) *CreateIdentityPoolInput { - s.OpenIdConnectProviderARNs = v - return s -} - -// SetSamlProviderARNs sets the SamlProviderARNs field's value. -func (s *CreateIdentityPoolInput) SetSamlProviderARNs(v []string) *CreateIdentityPoolInput { - s.SamlProviderARNs = v - return s -} - -// SetSupportedLoginProviders sets the SupportedLoginProviders field's value. -func (s *CreateIdentityPoolInput) SetSupportedLoginProviders(v map[string]string) *CreateIdentityPoolInput { - s.SupportedLoginProviders = v - return s -} - // Credentials for the provided identity ID. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/Credentials type Credentials struct { @@ -1143,30 +1101,6 @@ func (s Credentials) GoString() string { return s.String() } -// SetAccessKeyId sets the AccessKeyId field's value. -func (s *Credentials) SetAccessKeyId(v string) *Credentials { - s.AccessKeyId = &v - return s -} - -// SetExpiration sets the Expiration field's value. -func (s *Credentials) SetExpiration(v time.Time) *Credentials { - s.Expiration = &v - return s -} - -// SetSecretKey sets the SecretKey field's value. -func (s *Credentials) SetSecretKey(v string) *Credentials { - s.SecretKey = &v - return s -} - -// SetSessionToken sets the SessionToken field's value. -func (s *Credentials) SetSessionToken(v string) *Credentials { - s.SessionToken = &v - return s -} - // Input to the DeleteIdentities action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentitiesInput type DeleteIdentitiesInput struct { @@ -1205,12 +1139,6 @@ func (s *DeleteIdentitiesInput) Validate() error { return nil } -// SetIdentityIdsToDelete sets the IdentityIdsToDelete field's value. -func (s *DeleteIdentitiesInput) SetIdentityIdsToDelete(v []string) *DeleteIdentitiesInput { - s.IdentityIdsToDelete = v - return s -} - // Returned in response to a successful DeleteIdentities operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentitiesResponse type DeleteIdentitiesOutput struct { @@ -1238,12 +1166,6 @@ func (s DeleteIdentitiesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUnprocessedIdentityIds sets the UnprocessedIdentityIds field's value. -func (s *DeleteIdentitiesOutput) SetUnprocessedIdentityIds(v []UnprocessedIdentityId) *DeleteIdentitiesOutput { - s.UnprocessedIdentityIds = v - return s -} - // Input to the DeleteIdentityPool action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentityPoolInput type DeleteIdentityPoolInput struct { @@ -1282,12 +1204,6 @@ func (s *DeleteIdentityPoolInput) Validate() error { return nil } -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *DeleteIdentityPoolInput) SetIdentityPoolId(v string) *DeleteIdentityPoolInput { - s.IdentityPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentityPoolOutput type DeleteIdentityPoolOutput struct { _ struct{} `type:"structure"` @@ -1348,12 +1264,6 @@ func (s *DescribeIdentityInput) Validate() error { return nil } -// SetIdentityId sets the IdentityId field's value. -func (s *DescribeIdentityInput) SetIdentityId(v string) *DescribeIdentityInput { - s.IdentityId = &v - return s -} - // A description of the identity. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/IdentityDescription type DescribeIdentityOutput struct { @@ -1389,30 +1299,6 @@ func (s DescribeIdentityOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreationDate sets the CreationDate field's value. -func (s *DescribeIdentityOutput) SetCreationDate(v time.Time) *DescribeIdentityOutput { - s.CreationDate = &v - return s -} - -// SetIdentityId sets the IdentityId field's value. -func (s *DescribeIdentityOutput) SetIdentityId(v string) *DescribeIdentityOutput { - s.IdentityId = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *DescribeIdentityOutput) SetLastModifiedDate(v time.Time) *DescribeIdentityOutput { - s.LastModifiedDate = &v - return s -} - -// SetLogins sets the Logins field's value. -func (s *DescribeIdentityOutput) SetLogins(v []string) *DescribeIdentityOutput { - s.Logins = v - return s -} - // Input to the DescribeIdentityPool action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DescribeIdentityPoolInput type DescribeIdentityPoolInput struct { @@ -1451,12 +1337,6 @@ func (s *DescribeIdentityPoolInput) Validate() error { return nil } -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *DescribeIdentityPoolInput) SetIdentityPoolId(v string) *DescribeIdentityPoolInput { - s.IdentityPoolId = &v - return s -} - // Input to the GetCredentialsForIdentity action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetCredentialsForIdentityInput type GetCredentialsForIdentityInput struct { @@ -1507,24 +1387,6 @@ func (s *GetCredentialsForIdentityInput) Validate() error { return nil } -// SetCustomRoleArn sets the CustomRoleArn field's value. -func (s *GetCredentialsForIdentityInput) SetCustomRoleArn(v string) *GetCredentialsForIdentityInput { - s.CustomRoleArn = &v - return s -} - -// SetIdentityId sets the IdentityId field's value. -func (s *GetCredentialsForIdentityInput) SetIdentityId(v string) *GetCredentialsForIdentityInput { - s.IdentityId = &v - return s -} - -// SetLogins sets the Logins field's value. -func (s *GetCredentialsForIdentityInput) SetLogins(v map[string]string) *GetCredentialsForIdentityInput { - s.Logins = v - return s -} - // Returned in response to a successful GetCredentialsForIdentity operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetCredentialsForIdentityResponse type GetCredentialsForIdentityOutput struct { @@ -1554,18 +1416,6 @@ func (s GetCredentialsForIdentityOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCredentials sets the Credentials field's value. -func (s *GetCredentialsForIdentityOutput) SetCredentials(v *Credentials) *GetCredentialsForIdentityOutput { - s.Credentials = v - return s -} - -// SetIdentityId sets the IdentityId field's value. -func (s *GetCredentialsForIdentityOutput) SetIdentityId(v string) *GetCredentialsForIdentityOutput { - s.IdentityId = &v - return s -} - // Input to the GetId action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetIdInput type GetIdInput struct { @@ -1626,24 +1476,6 @@ func (s *GetIdInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *GetIdInput) SetAccountId(v string) *GetIdInput { - s.AccountId = &v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *GetIdInput) SetIdentityPoolId(v string) *GetIdInput { - s.IdentityPoolId = &v - return s -} - -// SetLogins sets the Logins field's value. -func (s *GetIdInput) SetLogins(v map[string]string) *GetIdInput { - s.Logins = v - return s -} - // Returned in response to a GetId request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetIdResponse type GetIdOutput struct { @@ -1670,12 +1502,6 @@ func (s GetIdOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIdentityId sets the IdentityId field's value. -func (s *GetIdOutput) SetIdentityId(v string) *GetIdOutput { - s.IdentityId = &v - return s -} - // Input to the GetIdentityPoolRoles action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetIdentityPoolRolesInput type GetIdentityPoolRolesInput struct { @@ -1714,12 +1540,6 @@ func (s *GetIdentityPoolRolesInput) Validate() error { return nil } -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *GetIdentityPoolRolesInput) SetIdentityPoolId(v string) *GetIdentityPoolRolesInput { - s.IdentityPoolId = &v - return s -} - // Returned in response to a successful GetIdentityPoolRoles operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetIdentityPoolRolesResponse type GetIdentityPoolRolesOutput struct { @@ -1755,24 +1575,6 @@ func (s GetIdentityPoolRolesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *GetIdentityPoolRolesOutput) SetIdentityPoolId(v string) *GetIdentityPoolRolesOutput { - s.IdentityPoolId = &v - return s -} - -// SetRoleMappings sets the RoleMappings field's value. -func (s *GetIdentityPoolRolesOutput) SetRoleMappings(v map[string]RoleMapping) *GetIdentityPoolRolesOutput { - s.RoleMappings = v - return s -} - -// SetRoles sets the Roles field's value. -func (s *GetIdentityPoolRolesOutput) SetRoles(v map[string]string) *GetIdentityPoolRolesOutput { - s.Roles = v - return s -} - // Input to the GetOpenIdTokenForDeveloperIdentity action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenForDeveloperIdentityInput type GetOpenIdTokenForDeveloperIdentityInput struct { @@ -1847,30 +1649,6 @@ func (s *GetOpenIdTokenForDeveloperIdentityInput) Validate() error { return nil } -// SetIdentityId sets the IdentityId field's value. -func (s *GetOpenIdTokenForDeveloperIdentityInput) SetIdentityId(v string) *GetOpenIdTokenForDeveloperIdentityInput { - s.IdentityId = &v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *GetOpenIdTokenForDeveloperIdentityInput) SetIdentityPoolId(v string) *GetOpenIdTokenForDeveloperIdentityInput { - s.IdentityPoolId = &v - return s -} - -// SetLogins sets the Logins field's value. -func (s *GetOpenIdTokenForDeveloperIdentityInput) SetLogins(v map[string]string) *GetOpenIdTokenForDeveloperIdentityInput { - s.Logins = v - return s -} - -// SetTokenDuration sets the TokenDuration field's value. -func (s *GetOpenIdTokenForDeveloperIdentityInput) SetTokenDuration(v int64) *GetOpenIdTokenForDeveloperIdentityInput { - s.TokenDuration = &v - return s -} - // Returned in response to a successful GetOpenIdTokenForDeveloperIdentity request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenForDeveloperIdentityResponse type GetOpenIdTokenForDeveloperIdentityOutput struct { @@ -1900,18 +1678,6 @@ func (s GetOpenIdTokenForDeveloperIdentityOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetIdentityId sets the IdentityId field's value. -func (s *GetOpenIdTokenForDeveloperIdentityOutput) SetIdentityId(v string) *GetOpenIdTokenForDeveloperIdentityOutput { - s.IdentityId = &v - return s -} - -// SetToken sets the Token field's value. -func (s *GetOpenIdTokenForDeveloperIdentityOutput) SetToken(v string) *GetOpenIdTokenForDeveloperIdentityOutput { - s.Token = &v - return s -} - // Input to the GetOpenIdToken action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenInput type GetOpenIdTokenInput struct { @@ -1957,18 +1723,6 @@ func (s *GetOpenIdTokenInput) Validate() error { return nil } -// SetIdentityId sets the IdentityId field's value. -func (s *GetOpenIdTokenInput) SetIdentityId(v string) *GetOpenIdTokenInput { - s.IdentityId = &v - return s -} - -// SetLogins sets the Logins field's value. -func (s *GetOpenIdTokenInput) SetLogins(v map[string]string) *GetOpenIdTokenInput { - s.Logins = v - return s -} - // Returned in response to a successful GetOpenIdToken request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenResponse type GetOpenIdTokenOutput struct { @@ -1999,18 +1753,6 @@ func (s GetOpenIdTokenOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIdentityId sets the IdentityId field's value. -func (s *GetOpenIdTokenOutput) SetIdentityId(v string) *GetOpenIdTokenOutput { - s.IdentityId = &v - return s -} - -// SetToken sets the Token field's value. -func (s *GetOpenIdTokenOutput) SetToken(v string) *GetOpenIdTokenOutput { - s.Token = &v - return s -} - // A description of the identity pool. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/IdentityPoolShortDescription type IdentityPoolShortDescription struct { @@ -2033,18 +1775,6 @@ func (s IdentityPoolShortDescription) GoString() string { return s.String() } -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *IdentityPoolShortDescription) SetIdentityPoolId(v string) *IdentityPoolShortDescription { - s.IdentityPoolId = &v - return s -} - -// SetIdentityPoolName sets the IdentityPoolName field's value. -func (s *IdentityPoolShortDescription) SetIdentityPoolName(v string) *IdentityPoolShortDescription { - s.IdentityPoolName = &v - return s -} - // Input to the ListIdentities action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentitiesInput type ListIdentitiesInput struct { @@ -2106,30 +1836,6 @@ func (s *ListIdentitiesInput) Validate() error { return nil } -// SetHideDisabled sets the HideDisabled field's value. -func (s *ListIdentitiesInput) SetHideDisabled(v bool) *ListIdentitiesInput { - s.HideDisabled = &v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *ListIdentitiesInput) SetIdentityPoolId(v string) *ListIdentitiesInput { - s.IdentityPoolId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListIdentitiesInput) SetMaxResults(v int64) *ListIdentitiesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIdentitiesInput) SetNextToken(v string) *ListIdentitiesInput { - s.NextToken = &v - return s -} - // The response to a ListIdentities request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentitiesResponse type ListIdentitiesOutput struct { @@ -2162,24 +1868,6 @@ func (s ListIdentitiesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIdentities sets the Identities field's value. -func (s *ListIdentitiesOutput) SetIdentities(v []DescribeIdentityOutput) *ListIdentitiesOutput { - s.Identities = v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *ListIdentitiesOutput) SetIdentityPoolId(v string) *ListIdentitiesOutput { - s.IdentityPoolId = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIdentitiesOutput) SetNextToken(v string) *ListIdentitiesOutput { - s.NextToken = &v - return s -} - // Input to the ListIdentityPools action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentityPoolsInput type ListIdentityPoolsInput struct { @@ -2224,18 +1912,6 @@ func (s *ListIdentityPoolsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListIdentityPoolsInput) SetMaxResults(v int64) *ListIdentityPoolsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIdentityPoolsInput) SetNextToken(v string) *ListIdentityPoolsInput { - s.NextToken = &v - return s -} - // The result of a successful ListIdentityPools action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentityPoolsResponse type ListIdentityPoolsOutput struct { @@ -2265,18 +1941,6 @@ func (s ListIdentityPoolsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIdentityPools sets the IdentityPools field's value. -func (s *ListIdentityPoolsOutput) SetIdentityPools(v []IdentityPoolShortDescription) *ListIdentityPoolsOutput { - s.IdentityPools = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIdentityPoolsOutput) SetNextToken(v string) *ListIdentityPoolsOutput { - s.NextToken = &v - return s -} - // Input to the LookupDeveloperIdentityInput action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/LookupDeveloperIdentityInput type LookupDeveloperIdentityInput struct { @@ -2346,36 +2010,6 @@ func (s *LookupDeveloperIdentityInput) Validate() error { return nil } -// SetDeveloperUserIdentifier sets the DeveloperUserIdentifier field's value. -func (s *LookupDeveloperIdentityInput) SetDeveloperUserIdentifier(v string) *LookupDeveloperIdentityInput { - s.DeveloperUserIdentifier = &v - return s -} - -// SetIdentityId sets the IdentityId field's value. -func (s *LookupDeveloperIdentityInput) SetIdentityId(v string) *LookupDeveloperIdentityInput { - s.IdentityId = &v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *LookupDeveloperIdentityInput) SetIdentityPoolId(v string) *LookupDeveloperIdentityInput { - s.IdentityPoolId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *LookupDeveloperIdentityInput) SetMaxResults(v int64) *LookupDeveloperIdentityInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *LookupDeveloperIdentityInput) SetNextToken(v string) *LookupDeveloperIdentityInput { - s.NextToken = &v - return s -} - // Returned in response to a successful LookupDeveloperIdentity action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/LookupDeveloperIdentityResponse type LookupDeveloperIdentityOutput struct { @@ -2415,24 +2049,6 @@ func (s LookupDeveloperIdentityOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeveloperUserIdentifierList sets the DeveloperUserIdentifierList field's value. -func (s *LookupDeveloperIdentityOutput) SetDeveloperUserIdentifierList(v []string) *LookupDeveloperIdentityOutput { - s.DeveloperUserIdentifierList = v - return s -} - -// SetIdentityId sets the IdentityId field's value. -func (s *LookupDeveloperIdentityOutput) SetIdentityId(v string) *LookupDeveloperIdentityOutput { - s.IdentityId = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *LookupDeveloperIdentityOutput) SetNextToken(v string) *LookupDeveloperIdentityOutput { - s.NextToken = &v - return s -} - // A rule that maps a claim name, a claim value, and a match type to a role // ARN. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/MappingRule @@ -2506,30 +2122,6 @@ func (s *MappingRule) Validate() error { return nil } -// SetClaim sets the Claim field's value. -func (s *MappingRule) SetClaim(v string) *MappingRule { - s.Claim = &v - return s -} - -// SetMatchType sets the MatchType field's value. -func (s *MappingRule) SetMatchType(v MappingRuleMatchType) *MappingRule { - s.MatchType = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *MappingRule) SetRoleARN(v string) *MappingRule { - s.RoleARN = &v - return s -} - -// SetValue sets the Value field's value. -func (s *MappingRule) SetValue(v string) *MappingRule { - s.Value = &v - return s -} - // Input to the MergeDeveloperIdentities action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/MergeDeveloperIdentitiesInput type MergeDeveloperIdentitiesInput struct { @@ -2608,30 +2200,6 @@ func (s *MergeDeveloperIdentitiesInput) Validate() error { return nil } -// SetDestinationUserIdentifier sets the DestinationUserIdentifier field's value. -func (s *MergeDeveloperIdentitiesInput) SetDestinationUserIdentifier(v string) *MergeDeveloperIdentitiesInput { - s.DestinationUserIdentifier = &v - return s -} - -// SetDeveloperProviderName sets the DeveloperProviderName field's value. -func (s *MergeDeveloperIdentitiesInput) SetDeveloperProviderName(v string) *MergeDeveloperIdentitiesInput { - s.DeveloperProviderName = &v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *MergeDeveloperIdentitiesInput) SetIdentityPoolId(v string) *MergeDeveloperIdentitiesInput { - s.IdentityPoolId = &v - return s -} - -// SetSourceUserIdentifier sets the SourceUserIdentifier field's value. -func (s *MergeDeveloperIdentitiesInput) SetSourceUserIdentifier(v string) *MergeDeveloperIdentitiesInput { - s.SourceUserIdentifier = &v - return s -} - // Returned in response to a successful MergeDeveloperIdentities action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/MergeDeveloperIdentitiesResponse type MergeDeveloperIdentitiesOutput struct { @@ -2658,12 +2226,6 @@ func (s MergeDeveloperIdentitiesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIdentityId sets the IdentityId field's value. -func (s *MergeDeveloperIdentitiesOutput) SetIdentityId(v string) *MergeDeveloperIdentitiesOutput { - s.IdentityId = &v - return s -} - // A provider representing an Amazon Cognito Identity User Pool and its client // ID. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/CognitoIdentityProvider @@ -2708,24 +2270,6 @@ func (s *Provider) Validate() error { return nil } -// SetClientId sets the ClientId field's value. -func (s *Provider) SetClientId(v string) *Provider { - s.ClientId = &v - return s -} - -// SetProviderName sets the ProviderName field's value. -func (s *Provider) SetProviderName(v string) *Provider { - s.ProviderName = &v - return s -} - -// SetServerSideTokenCheck sets the ServerSideTokenCheck field's value. -func (s *Provider) SetServerSideTokenCheck(v bool) *Provider { - s.ServerSideTokenCheck = &v - return s -} - // A role mapping. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/RoleMapping type RoleMapping struct { @@ -2779,24 +2323,6 @@ func (s *RoleMapping) Validate() error { return nil } -// SetAmbiguousRoleResolution sets the AmbiguousRoleResolution field's value. -func (s *RoleMapping) SetAmbiguousRoleResolution(v AmbiguousRoleResolutionType) *RoleMapping { - s.AmbiguousRoleResolution = v - return s -} - -// SetRulesConfiguration sets the RulesConfiguration field's value. -func (s *RoleMapping) SetRulesConfiguration(v *RulesConfigurationType) *RoleMapping { - s.RulesConfiguration = v - return s -} - -// SetType sets the Type field's value. -func (s *RoleMapping) SetType(v RoleMappingType) *RoleMapping { - s.Type = v - return s -} - // A container for rules. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/RulesConfigurationType type RulesConfigurationType struct { @@ -2844,12 +2370,6 @@ func (s *RulesConfigurationType) Validate() error { return nil } -// SetRules sets the Rules field's value. -func (s *RulesConfigurationType) SetRules(v []MappingRule) *RulesConfigurationType { - s.Rules = v - return s -} - // Input to the SetIdentityPoolRoles action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/SetIdentityPoolRolesInput type SetIdentityPoolRolesInput struct { @@ -2913,24 +2433,6 @@ func (s *SetIdentityPoolRolesInput) Validate() error { return nil } -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *SetIdentityPoolRolesInput) SetIdentityPoolId(v string) *SetIdentityPoolRolesInput { - s.IdentityPoolId = &v - return s -} - -// SetRoleMappings sets the RoleMappings field's value. -func (s *SetIdentityPoolRolesInput) SetRoleMappings(v map[string]RoleMapping) *SetIdentityPoolRolesInput { - s.RoleMappings = v - return s -} - -// SetRoles sets the Roles field's value. -func (s *SetIdentityPoolRolesInput) SetRoles(v map[string]string) *SetIdentityPoolRolesInput { - s.Roles = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/SetIdentityPoolRolesOutput type SetIdentityPoolRolesOutput struct { _ struct{} `type:"structure"` @@ -3027,30 +2529,6 @@ func (s *UnlinkDeveloperIdentityInput) Validate() error { return nil } -// SetDeveloperProviderName sets the DeveloperProviderName field's value. -func (s *UnlinkDeveloperIdentityInput) SetDeveloperProviderName(v string) *UnlinkDeveloperIdentityInput { - s.DeveloperProviderName = &v - return s -} - -// SetDeveloperUserIdentifier sets the DeveloperUserIdentifier field's value. -func (s *UnlinkDeveloperIdentityInput) SetDeveloperUserIdentifier(v string) *UnlinkDeveloperIdentityInput { - s.DeveloperUserIdentifier = &v - return s -} - -// SetIdentityId sets the IdentityId field's value. -func (s *UnlinkDeveloperIdentityInput) SetIdentityId(v string) *UnlinkDeveloperIdentityInput { - s.IdentityId = &v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *UnlinkDeveloperIdentityInput) SetIdentityPoolId(v string) *UnlinkDeveloperIdentityInput { - s.IdentityPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkDeveloperIdentityOutput type UnlinkDeveloperIdentityOutput struct { _ struct{} `type:"structure"` @@ -3129,24 +2607,6 @@ func (s *UnlinkIdentityInput) Validate() error { return nil } -// SetIdentityId sets the IdentityId field's value. -func (s *UnlinkIdentityInput) SetIdentityId(v string) *UnlinkIdentityInput { - s.IdentityId = &v - return s -} - -// SetLogins sets the Logins field's value. -func (s *UnlinkIdentityInput) SetLogins(v map[string]string) *UnlinkIdentityInput { - s.Logins = v - return s -} - -// SetLoginsToRemove sets the LoginsToRemove field's value. -func (s *UnlinkIdentityInput) SetLoginsToRemove(v []string) *UnlinkIdentityInput { - s.LoginsToRemove = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkIdentityOutput type UnlinkIdentityOutput struct { _ struct{} `type:"structure"` @@ -3192,18 +2652,6 @@ func (s UnprocessedIdentityId) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *UnprocessedIdentityId) SetErrorCode(v ErrorCode) *UnprocessedIdentityId { - s.ErrorCode = v - return s -} - -// SetIdentityId sets the IdentityId field's value. -func (s *UnprocessedIdentityId) SetIdentityId(v string) *UnprocessedIdentityId { - s.IdentityId = &v - return s -} - // An object representing an Amazon Cognito identity pool. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UpdateIdentityPoolInput type UpdateIdentityPoolOutput struct { @@ -3296,54 +2744,6 @@ func (s UpdateIdentityPoolOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAllowUnauthenticatedIdentities sets the AllowUnauthenticatedIdentities field's value. -func (s *UpdateIdentityPoolOutput) SetAllowUnauthenticatedIdentities(v bool) *UpdateIdentityPoolOutput { - s.AllowUnauthenticatedIdentities = &v - return s -} - -// SetCognitoIdentityProviders sets the CognitoIdentityProviders field's value. -func (s *UpdateIdentityPoolOutput) SetCognitoIdentityProviders(v []Provider) *UpdateIdentityPoolOutput { - s.CognitoIdentityProviders = v - return s -} - -// SetDeveloperProviderName sets the DeveloperProviderName field's value. -func (s *UpdateIdentityPoolOutput) SetDeveloperProviderName(v string) *UpdateIdentityPoolOutput { - s.DeveloperProviderName = &v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *UpdateIdentityPoolOutput) SetIdentityPoolId(v string) *UpdateIdentityPoolOutput { - s.IdentityPoolId = &v - return s -} - -// SetIdentityPoolName sets the IdentityPoolName field's value. -func (s *UpdateIdentityPoolOutput) SetIdentityPoolName(v string) *UpdateIdentityPoolOutput { - s.IdentityPoolName = &v - return s -} - -// SetOpenIdConnectProviderARNs sets the OpenIdConnectProviderARNs field's value. -func (s *UpdateIdentityPoolOutput) SetOpenIdConnectProviderARNs(v []string) *UpdateIdentityPoolOutput { - s.OpenIdConnectProviderARNs = v - return s -} - -// SetSamlProviderARNs sets the SamlProviderARNs field's value. -func (s *UpdateIdentityPoolOutput) SetSamlProviderARNs(v []string) *UpdateIdentityPoolOutput { - s.SamlProviderARNs = v - return s -} - -// SetSupportedLoginProviders sets the SupportedLoginProviders field's value. -func (s *UpdateIdentityPoolOutput) SetSupportedLoginProviders(v map[string]string) *UpdateIdentityPoolOutput { - s.SupportedLoginProviders = v - return s -} - type AmbiguousRoleResolutionType string // Enum values for AmbiguousRoleResolutionType diff --git a/service/cognitoidentityprovider/api.go b/service/cognitoidentityprovider/api.go index 194dff184be..d9f453448ff 100644 --- a/service/cognitoidentityprovider/api.go +++ b/service/cognitoidentityprovider/api.go @@ -4883,18 +4883,6 @@ func (s *AccountTakeoverActionType) Validate() error { return nil } -// SetEventAction sets the EventAction field's value. -func (s *AccountTakeoverActionType) SetEventAction(v AccountTakeoverEventActionType) *AccountTakeoverActionType { - s.EventAction = v - return s -} - -// SetNotify sets the Notify field's value. -func (s *AccountTakeoverActionType) SetNotify(v bool) *AccountTakeoverActionType { - s.Notify = &v - return s -} - // Account takeover actions type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AccountTakeoverActionsType type AccountTakeoverActionsType struct { @@ -4945,24 +4933,6 @@ func (s *AccountTakeoverActionsType) Validate() error { return nil } -// SetHighAction sets the HighAction field's value. -func (s *AccountTakeoverActionsType) SetHighAction(v *AccountTakeoverActionType) *AccountTakeoverActionsType { - s.HighAction = v - return s -} - -// SetLowAction sets the LowAction field's value. -func (s *AccountTakeoverActionsType) SetLowAction(v *AccountTakeoverActionType) *AccountTakeoverActionsType { - s.LowAction = v - return s -} - -// SetMediumAction sets the MediumAction field's value. -func (s *AccountTakeoverActionsType) SetMediumAction(v *AccountTakeoverActionType) *AccountTakeoverActionsType { - s.MediumAction = v - return s -} - // Configuration for mitigation actions and notification for different levels // of risk detected for a potential account takeover. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AccountTakeoverRiskConfigurationType @@ -5012,18 +4982,6 @@ func (s *AccountTakeoverRiskConfigurationType) Validate() error { return nil } -// SetActions sets the Actions field's value. -func (s *AccountTakeoverRiskConfigurationType) SetActions(v *AccountTakeoverActionsType) *AccountTakeoverRiskConfigurationType { - s.Actions = v - return s -} - -// SetNotifyConfiguration sets the NotifyConfiguration field's value. -func (s *AccountTakeoverRiskConfigurationType) SetNotifyConfiguration(v *NotifyConfigurationType) *AccountTakeoverRiskConfigurationType { - s.NotifyConfiguration = v - return s -} - // Represents the request to add custom attributes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AddCustomAttributesRequest type AddCustomAttributesInput struct { @@ -5081,18 +5039,6 @@ func (s *AddCustomAttributesInput) Validate() error { return nil } -// SetCustomAttributes sets the CustomAttributes field's value. -func (s *AddCustomAttributesInput) SetCustomAttributes(v []SchemaAttributeType) *AddCustomAttributesInput { - s.CustomAttributes = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *AddCustomAttributesInput) SetUserPoolId(v string) *AddCustomAttributesInput { - s.UserPoolId = &v - return s -} - // Represents the response from the server for the request to add custom attributes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AddCustomAttributesResponse type AddCustomAttributesOutput struct { @@ -5177,24 +5123,6 @@ func (s *AdminAddUserToGroupInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *AdminAddUserToGroupInput) SetGroupName(v string) *AdminAddUserToGroupInput { - s.GroupName = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminAddUserToGroupInput) SetUserPoolId(v string) *AdminAddUserToGroupInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminAddUserToGroupInput) SetUsername(v string) *AdminAddUserToGroupInput { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminAddUserToGroupOutput type AdminAddUserToGroupOutput struct { _ struct{} `type:"structure"` @@ -5267,18 +5195,6 @@ func (s *AdminConfirmSignUpInput) Validate() error { return nil } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminConfirmSignUpInput) SetUserPoolId(v string) *AdminConfirmSignUpInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminConfirmSignUpInput) SetUsername(v string) *AdminConfirmSignUpInput { - s.Username = &v - return s -} - // Represents the response from the server for the request to confirm registration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminConfirmSignUpResponse type AdminConfirmSignUpOutput struct { @@ -5348,24 +5264,6 @@ func (s *AdminCreateUserConfigType) Validate() error { return nil } -// SetAllowAdminCreateUserOnly sets the AllowAdminCreateUserOnly field's value. -func (s *AdminCreateUserConfigType) SetAllowAdminCreateUserOnly(v bool) *AdminCreateUserConfigType { - s.AllowAdminCreateUserOnly = &v - return s -} - -// SetInviteMessageTemplate sets the InviteMessageTemplate field's value. -func (s *AdminCreateUserConfigType) SetInviteMessageTemplate(v *MessageTemplateType) *AdminCreateUserConfigType { - s.InviteMessageTemplate = v - return s -} - -// SetUnusedAccountValidityDays sets the UnusedAccountValidityDays field's value. -func (s *AdminCreateUserConfigType) SetUnusedAccountValidityDays(v int64) *AdminCreateUserConfigType { - s.UnusedAccountValidityDays = &v - return s -} - // Represents the request to create a user in the specified user pool. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUserRequest type AdminCreateUserInput struct { @@ -5518,54 +5416,6 @@ func (s *AdminCreateUserInput) Validate() error { return nil } -// SetDesiredDeliveryMediums sets the DesiredDeliveryMediums field's value. -func (s *AdminCreateUserInput) SetDesiredDeliveryMediums(v []DeliveryMediumType) *AdminCreateUserInput { - s.DesiredDeliveryMediums = v - return s -} - -// SetForceAliasCreation sets the ForceAliasCreation field's value. -func (s *AdminCreateUserInput) SetForceAliasCreation(v bool) *AdminCreateUserInput { - s.ForceAliasCreation = &v - return s -} - -// SetMessageAction sets the MessageAction field's value. -func (s *AdminCreateUserInput) SetMessageAction(v MessageActionType) *AdminCreateUserInput { - s.MessageAction = v - return s -} - -// SetTemporaryPassword sets the TemporaryPassword field's value. -func (s *AdminCreateUserInput) SetTemporaryPassword(v string) *AdminCreateUserInput { - s.TemporaryPassword = &v - return s -} - -// SetUserAttributes sets the UserAttributes field's value. -func (s *AdminCreateUserInput) SetUserAttributes(v []AttributeType) *AdminCreateUserInput { - s.UserAttributes = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminCreateUserInput) SetUserPoolId(v string) *AdminCreateUserInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminCreateUserInput) SetUsername(v string) *AdminCreateUserInput { - s.Username = &v - return s -} - -// SetValidationData sets the ValidationData field's value. -func (s *AdminCreateUserInput) SetValidationData(v []AttributeType) *AdminCreateUserInput { - s.ValidationData = v - return s -} - // Represents the response from the server to the request to create the user. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUserResponse type AdminCreateUserOutput struct { @@ -5592,12 +5442,6 @@ func (s AdminCreateUserOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUser sets the User field's value. -func (s *AdminCreateUserOutput) SetUser(v *UserType) *AdminCreateUserOutput { - s.User = v - return s -} - // Represents the request to delete user attributes as an administrator. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserAttributesRequest type AdminDeleteUserAttributesInput struct { @@ -5660,24 +5504,6 @@ func (s *AdminDeleteUserAttributesInput) Validate() error { return nil } -// SetUserAttributeNames sets the UserAttributeNames field's value. -func (s *AdminDeleteUserAttributesInput) SetUserAttributeNames(v []string) *AdminDeleteUserAttributesInput { - s.UserAttributeNames = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminDeleteUserAttributesInput) SetUserPoolId(v string) *AdminDeleteUserAttributesInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminDeleteUserAttributesInput) SetUsername(v string) *AdminDeleteUserAttributesInput { - s.Username = &v - return s -} - // Represents the response received from the server for a request to delete // user attributes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserAttributesResponse @@ -5752,18 +5578,6 @@ func (s *AdminDeleteUserInput) Validate() error { return nil } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminDeleteUserInput) SetUserPoolId(v string) *AdminDeleteUserInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminDeleteUserInput) SetUsername(v string) *AdminDeleteUserInput { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserOutput type AdminDeleteUserOutput struct { _ struct{} `type:"structure"` @@ -5834,18 +5648,6 @@ func (s *AdminDisableProviderForUserInput) Validate() error { return nil } -// SetUser sets the User field's value. -func (s *AdminDisableProviderForUserInput) SetUser(v *ProviderUserIdentifierType) *AdminDisableProviderForUserInput { - s.User = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminDisableProviderForUserInput) SetUserPoolId(v string) *AdminDisableProviderForUserInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableProviderForUserResponse type AdminDisableProviderForUserOutput struct { _ struct{} `type:"structure"` @@ -5918,18 +5720,6 @@ func (s *AdminDisableUserInput) Validate() error { return nil } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminDisableUserInput) SetUserPoolId(v string) *AdminDisableUserInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminDisableUserInput) SetUsername(v string) *AdminDisableUserInput { - s.Username = &v - return s -} - // Represents the response received from the server to disable the user as an // administrator. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableUserResponse @@ -6004,18 +5794,6 @@ func (s *AdminEnableUserInput) Validate() error { return nil } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminEnableUserInput) SetUserPoolId(v string) *AdminEnableUserInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminEnableUserInput) SetUsername(v string) *AdminEnableUserInput { - s.Username = &v - return s -} - // Represents the response from the server for the request to enable a user // as an administrator. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminEnableUserResponse @@ -6102,24 +5880,6 @@ func (s *AdminForgetDeviceInput) Validate() error { return nil } -// SetDeviceKey sets the DeviceKey field's value. -func (s *AdminForgetDeviceInput) SetDeviceKey(v string) *AdminForgetDeviceInput { - s.DeviceKey = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminForgetDeviceInput) SetUserPoolId(v string) *AdminForgetDeviceInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminForgetDeviceInput) SetUsername(v string) *AdminForgetDeviceInput { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminForgetDeviceOutput type AdminForgetDeviceOutput struct { _ struct{} `type:"structure"` @@ -6204,24 +5964,6 @@ func (s *AdminGetDeviceInput) Validate() error { return nil } -// SetDeviceKey sets the DeviceKey field's value. -func (s *AdminGetDeviceInput) SetDeviceKey(v string) *AdminGetDeviceInput { - s.DeviceKey = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminGetDeviceInput) SetUserPoolId(v string) *AdminGetDeviceInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminGetDeviceInput) SetUsername(v string) *AdminGetDeviceInput { - s.Username = &v - return s -} - // Gets the device response, as an administrator. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetDeviceResponse type AdminGetDeviceOutput struct { @@ -6250,12 +5992,6 @@ func (s AdminGetDeviceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDevice sets the Device field's value. -func (s *AdminGetDeviceOutput) SetDevice(v *DeviceType) *AdminGetDeviceOutput { - s.Device = v - return s -} - // Represents the request to get the specified user as an administrator. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUserRequest type AdminGetUserInput struct { @@ -6307,18 +6043,6 @@ func (s *AdminGetUserInput) Validate() error { return nil } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminGetUserInput) SetUserPoolId(v string) *AdminGetUserInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminGetUserInput) SetUsername(v string) *AdminGetUserInput { - s.Username = &v - return s -} - // Represents the response from the server from the request to get the specified // user as an administrator. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUserResponse @@ -6382,60 +6106,6 @@ func (s AdminGetUserOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEnabled sets the Enabled field's value. -func (s *AdminGetUserOutput) SetEnabled(v bool) *AdminGetUserOutput { - s.Enabled = &v - return s -} - -// SetMFAOptions sets the MFAOptions field's value. -func (s *AdminGetUserOutput) SetMFAOptions(v []MFAOptionType) *AdminGetUserOutput { - s.MFAOptions = v - return s -} - -// SetPreferredMfaSetting sets the PreferredMfaSetting field's value. -func (s *AdminGetUserOutput) SetPreferredMfaSetting(v string) *AdminGetUserOutput { - s.PreferredMfaSetting = &v - return s -} - -// SetUserAttributes sets the UserAttributes field's value. -func (s *AdminGetUserOutput) SetUserAttributes(v []AttributeType) *AdminGetUserOutput { - s.UserAttributes = v - return s -} - -// SetUserCreateDate sets the UserCreateDate field's value. -func (s *AdminGetUserOutput) SetUserCreateDate(v time.Time) *AdminGetUserOutput { - s.UserCreateDate = &v - return s -} - -// SetUserLastModifiedDate sets the UserLastModifiedDate field's value. -func (s *AdminGetUserOutput) SetUserLastModifiedDate(v time.Time) *AdminGetUserOutput { - s.UserLastModifiedDate = &v - return s -} - -// SetUserMFASettingList sets the UserMFASettingList field's value. -func (s *AdminGetUserOutput) SetUserMFASettingList(v []string) *AdminGetUserOutput { - s.UserMFASettingList = v - return s -} - -// SetUserStatus sets the UserStatus field's value. -func (s *AdminGetUserOutput) SetUserStatus(v UserStatusType) *AdminGetUserOutput { - s.UserStatus = v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminGetUserOutput) SetUsername(v string) *AdminGetUserOutput { - s.Username = &v - return s -} - // Initiates the authorization request, as an administrator. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminInitiateAuthRequest type AdminInitiateAuthInput struct { @@ -6551,48 +6221,6 @@ func (s *AdminInitiateAuthInput) Validate() error { return nil } -// SetAnalyticsMetadata sets the AnalyticsMetadata field's value. -func (s *AdminInitiateAuthInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *AdminInitiateAuthInput { - s.AnalyticsMetadata = v - return s -} - -// SetAuthFlow sets the AuthFlow field's value. -func (s *AdminInitiateAuthInput) SetAuthFlow(v AuthFlowType) *AdminInitiateAuthInput { - s.AuthFlow = v - return s -} - -// SetAuthParameters sets the AuthParameters field's value. -func (s *AdminInitiateAuthInput) SetAuthParameters(v map[string]string) *AdminInitiateAuthInput { - s.AuthParameters = v - return s -} - -// SetClientId sets the ClientId field's value. -func (s *AdminInitiateAuthInput) SetClientId(v string) *AdminInitiateAuthInput { - s.ClientId = &v - return s -} - -// SetClientMetadata sets the ClientMetadata field's value. -func (s *AdminInitiateAuthInput) SetClientMetadata(v map[string]string) *AdminInitiateAuthInput { - s.ClientMetadata = v - return s -} - -// SetContextData sets the ContextData field's value. -func (s *AdminInitiateAuthInput) SetContextData(v *ContextDataType) *AdminInitiateAuthInput { - s.ContextData = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminInitiateAuthInput) SetUserPoolId(v string) *AdminInitiateAuthInput { - s.UserPoolId = &v - return s -} - // Initiates the authentication response, as an administrator. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminInitiateAuthResponse type AdminInitiateAuthOutput struct { @@ -6671,30 +6299,6 @@ func (s AdminInitiateAuthOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAuthenticationResult sets the AuthenticationResult field's value. -func (s *AdminInitiateAuthOutput) SetAuthenticationResult(v *AuthenticationResultType) *AdminInitiateAuthOutput { - s.AuthenticationResult = v - return s -} - -// SetChallengeName sets the ChallengeName field's value. -func (s *AdminInitiateAuthOutput) SetChallengeName(v ChallengeNameType) *AdminInitiateAuthOutput { - s.ChallengeName = v - return s -} - -// SetChallengeParameters sets the ChallengeParameters field's value. -func (s *AdminInitiateAuthOutput) SetChallengeParameters(v map[string]string) *AdminInitiateAuthOutput { - s.ChallengeParameters = v - return s -} - -// SetSession sets the Session field's value. -func (s *AdminInitiateAuthOutput) SetSession(v string) *AdminInitiateAuthOutput { - s.Session = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminLinkProviderForUserRequest type AdminLinkProviderForUserInput struct { _ struct{} `type:"structure"` @@ -6785,24 +6389,6 @@ func (s *AdminLinkProviderForUserInput) Validate() error { return nil } -// SetDestinationUser sets the DestinationUser field's value. -func (s *AdminLinkProviderForUserInput) SetDestinationUser(v *ProviderUserIdentifierType) *AdminLinkProviderForUserInput { - s.DestinationUser = v - return s -} - -// SetSourceUser sets the SourceUser field's value. -func (s *AdminLinkProviderForUserInput) SetSourceUser(v *ProviderUserIdentifierType) *AdminLinkProviderForUserInput { - s.SourceUser = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminLinkProviderForUserInput) SetUserPoolId(v string) *AdminLinkProviderForUserInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminLinkProviderForUserResponse type AdminLinkProviderForUserOutput struct { _ struct{} `type:"structure"` @@ -6884,30 +6470,6 @@ func (s *AdminListDevicesInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *AdminListDevicesInput) SetLimit(v int64) *AdminListDevicesInput { - s.Limit = &v - return s -} - -// SetPaginationToken sets the PaginationToken field's value. -func (s *AdminListDevicesInput) SetPaginationToken(v string) *AdminListDevicesInput { - s.PaginationToken = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminListDevicesInput) SetUserPoolId(v string) *AdminListDevicesInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminListDevicesInput) SetUsername(v string) *AdminListDevicesInput { - s.Username = &v - return s -} - // Lists the device's response, as an administrator. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListDevicesResponse type AdminListDevicesOutput struct { @@ -6937,18 +6499,6 @@ func (s AdminListDevicesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDevices sets the Devices field's value. -func (s *AdminListDevicesOutput) SetDevices(v []DeviceType) *AdminListDevicesOutput { - s.Devices = v - return s -} - -// SetPaginationToken sets the PaginationToken field's value. -func (s *AdminListDevicesOutput) SetPaginationToken(v string) *AdminListDevicesOutput { - s.PaginationToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListGroupsForUserRequest type AdminListGroupsForUserInput struct { _ struct{} `type:"structure"` @@ -7008,30 +6558,6 @@ func (s *AdminListGroupsForUserInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *AdminListGroupsForUserInput) SetLimit(v int64) *AdminListGroupsForUserInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *AdminListGroupsForUserInput) SetNextToken(v string) *AdminListGroupsForUserInput { - s.NextToken = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminListGroupsForUserInput) SetUserPoolId(v string) *AdminListGroupsForUserInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminListGroupsForUserInput) SetUsername(v string) *AdminListGroupsForUserInput { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListGroupsForUserResponse type AdminListGroupsForUserOutput struct { _ struct{} `type:"structure"` @@ -7061,18 +6587,6 @@ func (s AdminListGroupsForUserOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroups sets the Groups field's value. -func (s *AdminListGroupsForUserOutput) SetGroups(v []GroupType) *AdminListGroupsForUserOutput { - s.Groups = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *AdminListGroupsForUserOutput) SetNextToken(v string) *AdminListGroupsForUserOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListUserAuthEventsRequest type AdminListUserAuthEventsInput struct { _ struct{} `type:"structure"` @@ -7131,30 +6645,6 @@ func (s *AdminListUserAuthEventsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *AdminListUserAuthEventsInput) SetMaxResults(v int64) *AdminListUserAuthEventsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *AdminListUserAuthEventsInput) SetNextToken(v string) *AdminListUserAuthEventsInput { - s.NextToken = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminListUserAuthEventsInput) SetUserPoolId(v string) *AdminListUserAuthEventsInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminListUserAuthEventsInput) SetUsername(v string) *AdminListUserAuthEventsInput { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListUserAuthEventsResponse type AdminListUserAuthEventsOutput struct { _ struct{} `type:"structure"` @@ -7184,18 +6674,6 @@ func (s AdminListUserAuthEventsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAuthEvents sets the AuthEvents field's value. -func (s *AdminListUserAuthEventsOutput) SetAuthEvents(v []AuthEventType) *AdminListUserAuthEventsOutput { - s.AuthEvents = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *AdminListUserAuthEventsOutput) SetNextToken(v string) *AdminListUserAuthEventsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRemoveUserFromGroupRequest type AdminRemoveUserFromGroupInput struct { _ struct{} `type:"structure"` @@ -7257,24 +6735,6 @@ func (s *AdminRemoveUserFromGroupInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *AdminRemoveUserFromGroupInput) SetGroupName(v string) *AdminRemoveUserFromGroupInput { - s.GroupName = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminRemoveUserFromGroupInput) SetUserPoolId(v string) *AdminRemoveUserFromGroupInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminRemoveUserFromGroupInput) SetUsername(v string) *AdminRemoveUserFromGroupInput { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRemoveUserFromGroupOutput type AdminRemoveUserFromGroupOutput struct { _ struct{} `type:"structure"` @@ -7347,18 +6807,6 @@ func (s *AdminResetUserPasswordInput) Validate() error { return nil } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminResetUserPasswordInput) SetUserPoolId(v string) *AdminResetUserPasswordInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminResetUserPasswordInput) SetUsername(v string) *AdminResetUserPasswordInput { - s.Username = &v - return s -} - // Represents the response from the server to reset a user password as an administrator. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminResetUserPasswordResponse type AdminResetUserPasswordOutput struct { @@ -7487,48 +6935,6 @@ func (s *AdminRespondToAuthChallengeInput) Validate() error { return nil } -// SetAnalyticsMetadata sets the AnalyticsMetadata field's value. -func (s *AdminRespondToAuthChallengeInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *AdminRespondToAuthChallengeInput { - s.AnalyticsMetadata = v - return s -} - -// SetChallengeName sets the ChallengeName field's value. -func (s *AdminRespondToAuthChallengeInput) SetChallengeName(v ChallengeNameType) *AdminRespondToAuthChallengeInput { - s.ChallengeName = v - return s -} - -// SetChallengeResponses sets the ChallengeResponses field's value. -func (s *AdminRespondToAuthChallengeInput) SetChallengeResponses(v map[string]string) *AdminRespondToAuthChallengeInput { - s.ChallengeResponses = v - return s -} - -// SetClientId sets the ClientId field's value. -func (s *AdminRespondToAuthChallengeInput) SetClientId(v string) *AdminRespondToAuthChallengeInput { - s.ClientId = &v - return s -} - -// SetContextData sets the ContextData field's value. -func (s *AdminRespondToAuthChallengeInput) SetContextData(v *ContextDataType) *AdminRespondToAuthChallengeInput { - s.ContextData = v - return s -} - -// SetSession sets the Session field's value. -func (s *AdminRespondToAuthChallengeInput) SetSession(v string) *AdminRespondToAuthChallengeInput { - s.Session = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminRespondToAuthChallengeInput) SetUserPoolId(v string) *AdminRespondToAuthChallengeInput { - s.UserPoolId = &v - return s -} - // Responds to the authentication challenge, as an administrator. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRespondToAuthChallengeResponse type AdminRespondToAuthChallengeOutput struct { @@ -7568,30 +6974,6 @@ func (s AdminRespondToAuthChallengeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAuthenticationResult sets the AuthenticationResult field's value. -func (s *AdminRespondToAuthChallengeOutput) SetAuthenticationResult(v *AuthenticationResultType) *AdminRespondToAuthChallengeOutput { - s.AuthenticationResult = v - return s -} - -// SetChallengeName sets the ChallengeName field's value. -func (s *AdminRespondToAuthChallengeOutput) SetChallengeName(v ChallengeNameType) *AdminRespondToAuthChallengeOutput { - s.ChallengeName = v - return s -} - -// SetChallengeParameters sets the ChallengeParameters field's value. -func (s *AdminRespondToAuthChallengeOutput) SetChallengeParameters(v map[string]string) *AdminRespondToAuthChallengeOutput { - s.ChallengeParameters = v - return s -} - -// SetSession sets the Session field's value. -func (s *AdminRespondToAuthChallengeOutput) SetSession(v string) *AdminRespondToAuthChallengeOutput { - s.Session = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserMFAPreferenceRequest type AdminSetUserMFAPreferenceInput struct { _ struct{} `type:"structure"` @@ -7647,30 +7029,6 @@ func (s *AdminSetUserMFAPreferenceInput) Validate() error { return nil } -// SetSMSMfaSettings sets the SMSMfaSettings field's value. -func (s *AdminSetUserMFAPreferenceInput) SetSMSMfaSettings(v *SMSMfaSettingsType) *AdminSetUserMFAPreferenceInput { - s.SMSMfaSettings = v - return s -} - -// SetSoftwareTokenMfaSettings sets the SoftwareTokenMfaSettings field's value. -func (s *AdminSetUserMFAPreferenceInput) SetSoftwareTokenMfaSettings(v *SoftwareTokenMfaSettingsType) *AdminSetUserMFAPreferenceInput { - s.SoftwareTokenMfaSettings = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminSetUserMFAPreferenceInput) SetUserPoolId(v string) *AdminSetUserMFAPreferenceInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminSetUserMFAPreferenceInput) SetUsername(v string) *AdminSetUserMFAPreferenceInput { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserMFAPreferenceResponse type AdminSetUserMFAPreferenceOutput struct { _ struct{} `type:"structure"` @@ -7760,24 +7118,6 @@ func (s *AdminSetUserSettingsInput) Validate() error { return nil } -// SetMFAOptions sets the MFAOptions field's value. -func (s *AdminSetUserSettingsInput) SetMFAOptions(v []MFAOptionType) *AdminSetUserSettingsInput { - s.MFAOptions = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminSetUserSettingsInput) SetUserPoolId(v string) *AdminSetUserSettingsInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminSetUserSettingsInput) SetUsername(v string) *AdminSetUserSettingsInput { - s.Username = &v - return s -} - // Represents the response from the server to set user settings as an administrator. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserSettingsResponse type AdminSetUserSettingsOutput struct { @@ -7870,30 +7210,6 @@ func (s *AdminUpdateAuthEventFeedbackInput) Validate() error { return nil } -// SetEventId sets the EventId field's value. -func (s *AdminUpdateAuthEventFeedbackInput) SetEventId(v string) *AdminUpdateAuthEventFeedbackInput { - s.EventId = &v - return s -} - -// SetFeedbackValue sets the FeedbackValue field's value. -func (s *AdminUpdateAuthEventFeedbackInput) SetFeedbackValue(v FeedbackValueType) *AdminUpdateAuthEventFeedbackInput { - s.FeedbackValue = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminUpdateAuthEventFeedbackInput) SetUserPoolId(v string) *AdminUpdateAuthEventFeedbackInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminUpdateAuthEventFeedbackInput) SetUsername(v string) *AdminUpdateAuthEventFeedbackInput { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateAuthEventFeedbackResponse type AdminUpdateAuthEventFeedbackOutput struct { _ struct{} `type:"structure"` @@ -7981,30 +7297,6 @@ func (s *AdminUpdateDeviceStatusInput) Validate() error { return nil } -// SetDeviceKey sets the DeviceKey field's value. -func (s *AdminUpdateDeviceStatusInput) SetDeviceKey(v string) *AdminUpdateDeviceStatusInput { - s.DeviceKey = &v - return s -} - -// SetDeviceRememberedStatus sets the DeviceRememberedStatus field's value. -func (s *AdminUpdateDeviceStatusInput) SetDeviceRememberedStatus(v DeviceRememberedStatusType) *AdminUpdateDeviceStatusInput { - s.DeviceRememberedStatus = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminUpdateDeviceStatusInput) SetUserPoolId(v string) *AdminUpdateDeviceStatusInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminUpdateDeviceStatusInput) SetUsername(v string) *AdminUpdateDeviceStatusInput { - s.Username = &v - return s -} - // The status response from the request to update the device, as an administrator. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateDeviceStatusResponse type AdminUpdateDeviceStatusOutput struct { @@ -8097,24 +7389,6 @@ func (s *AdminUpdateUserAttributesInput) Validate() error { return nil } -// SetUserAttributes sets the UserAttributes field's value. -func (s *AdminUpdateUserAttributesInput) SetUserAttributes(v []AttributeType) *AdminUpdateUserAttributesInput { - s.UserAttributes = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminUpdateUserAttributesInput) SetUserPoolId(v string) *AdminUpdateUserAttributesInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminUpdateUserAttributesInput) SetUsername(v string) *AdminUpdateUserAttributesInput { - s.Username = &v - return s -} - // Represents the response from the server for the request to update user attributes // as an administrator. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateUserAttributesResponse @@ -8189,18 +7463,6 @@ func (s *AdminUserGlobalSignOutInput) Validate() error { return nil } -// SetUserPoolId sets the UserPoolId field's value. -func (s *AdminUserGlobalSignOutInput) SetUserPoolId(v string) *AdminUserGlobalSignOutInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *AdminUserGlobalSignOutInput) SetUsername(v string) *AdminUserGlobalSignOutInput { - s.Username = &v - return s -} - // The global sign-out response, as an administrator. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUserGlobalSignOutResponse type AdminUserGlobalSignOutOutput struct { @@ -8286,30 +7548,6 @@ func (s *AnalyticsConfigurationType) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *AnalyticsConfigurationType) SetApplicationId(v string) *AnalyticsConfigurationType { - s.ApplicationId = &v - return s -} - -// SetExternalId sets the ExternalId field's value. -func (s *AnalyticsConfigurationType) SetExternalId(v string) *AnalyticsConfigurationType { - s.ExternalId = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *AnalyticsConfigurationType) SetRoleArn(v string) *AnalyticsConfigurationType { - s.RoleArn = &v - return s -} - -// SetUserDataShared sets the UserDataShared field's value. -func (s *AnalyticsConfigurationType) SetUserDataShared(v bool) *AnalyticsConfigurationType { - s.UserDataShared = &v - return s -} - // An Amazon Pinpoint analytics endpoint. // // An endpoint uniquely identifies a mobile device, email address, or phone @@ -8332,12 +7570,6 @@ func (s AnalyticsMetadataType) GoString() string { return s.String() } -// SetAnalyticsEndpointId sets the AnalyticsEndpointId field's value. -func (s *AnalyticsMetadataType) SetAnalyticsEndpointId(v string) *AnalyticsMetadataType { - s.AnalyticsEndpointId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AssociateSoftwareTokenRequest type AssociateSoftwareTokenInput struct { _ struct{} `type:"structure"` @@ -8374,18 +7606,6 @@ func (s *AssociateSoftwareTokenInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *AssociateSoftwareTokenInput) SetAccessToken(v string) *AssociateSoftwareTokenInput { - s.AccessToken = &v - return s -} - -// SetSession sets the Session field's value. -func (s *AssociateSoftwareTokenInput) SetSession(v string) *AssociateSoftwareTokenInput { - s.Session = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AssociateSoftwareTokenResponse type AssociateSoftwareTokenOutput struct { _ struct{} `type:"structure"` @@ -8417,18 +7637,6 @@ func (s AssociateSoftwareTokenOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSecretCode sets the SecretCode field's value. -func (s *AssociateSoftwareTokenOutput) SetSecretCode(v string) *AssociateSoftwareTokenOutput { - s.SecretCode = &v - return s -} - -// SetSession sets the Session field's value. -func (s *AssociateSoftwareTokenOutput) SetSession(v string) *AssociateSoftwareTokenOutput { - s.Session = &v - return s -} - // Specifies whether the attribute is standard or custom. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AttributeType type AttributeType struct { @@ -8470,18 +7678,6 @@ func (s *AttributeType) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *AttributeType) SetName(v string) *AttributeType { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *AttributeType) SetValue(v string) *AttributeType { - s.Value = &v - return s -} - // The authentication event type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AuthEventType type AuthEventType struct { @@ -8524,54 +7720,6 @@ func (s AuthEventType) GoString() string { return s.String() } -// SetChallengeResponses sets the ChallengeResponses field's value. -func (s *AuthEventType) SetChallengeResponses(v []ChallengeResponseType) *AuthEventType { - s.ChallengeResponses = v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *AuthEventType) SetCreationDate(v time.Time) *AuthEventType { - s.CreationDate = &v - return s -} - -// SetEventContextData sets the EventContextData field's value. -func (s *AuthEventType) SetEventContextData(v *EventContextDataType) *AuthEventType { - s.EventContextData = v - return s -} - -// SetEventFeedback sets the EventFeedback field's value. -func (s *AuthEventType) SetEventFeedback(v *EventFeedbackType) *AuthEventType { - s.EventFeedback = v - return s -} - -// SetEventId sets the EventId field's value. -func (s *AuthEventType) SetEventId(v string) *AuthEventType { - s.EventId = &v - return s -} - -// SetEventResponse sets the EventResponse field's value. -func (s *AuthEventType) SetEventResponse(v EventResponseType) *AuthEventType { - s.EventResponse = v - return s -} - -// SetEventRisk sets the EventRisk field's value. -func (s *AuthEventType) SetEventRisk(v *EventRiskType) *AuthEventType { - s.EventRisk = v - return s -} - -// SetEventType sets the EventType field's value. -func (s *AuthEventType) SetEventType(v EventType) *AuthEventType { - s.EventType = v - return s -} - // The authentication result. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AuthenticationResultType type AuthenticationResultType struct { @@ -8606,42 +7754,6 @@ func (s AuthenticationResultType) GoString() string { return s.String() } -// SetAccessToken sets the AccessToken field's value. -func (s *AuthenticationResultType) SetAccessToken(v string) *AuthenticationResultType { - s.AccessToken = &v - return s -} - -// SetExpiresIn sets the ExpiresIn field's value. -func (s *AuthenticationResultType) SetExpiresIn(v int64) *AuthenticationResultType { - s.ExpiresIn = &v - return s -} - -// SetIdToken sets the IdToken field's value. -func (s *AuthenticationResultType) SetIdToken(v string) *AuthenticationResultType { - s.IdToken = &v - return s -} - -// SetNewDeviceMetadata sets the NewDeviceMetadata field's value. -func (s *AuthenticationResultType) SetNewDeviceMetadata(v *NewDeviceMetadataType) *AuthenticationResultType { - s.NewDeviceMetadata = v - return s -} - -// SetRefreshToken sets the RefreshToken field's value. -func (s *AuthenticationResultType) SetRefreshToken(v string) *AuthenticationResultType { - s.RefreshToken = &v - return s -} - -// SetTokenType sets the TokenType field's value. -func (s *AuthenticationResultType) SetTokenType(v string) *AuthenticationResultType { - s.TokenType = &v - return s -} - // The challenge response type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ChallengeResponseType type ChallengeResponseType struct { @@ -8664,18 +7776,6 @@ func (s ChallengeResponseType) GoString() string { return s.String() } -// SetChallengeName sets the ChallengeName field's value. -func (s *ChallengeResponseType) SetChallengeName(v ChallengeName) *ChallengeResponseType { - s.ChallengeName = v - return s -} - -// SetChallengeResponse sets the ChallengeResponse field's value. -func (s *ChallengeResponseType) SetChallengeResponse(v ChallengeResponse) *ChallengeResponseType { - s.ChallengeResponse = v - return s -} - // Represents the request to change a user password. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ChangePasswordRequest type ChangePasswordInput struct { @@ -8735,24 +7835,6 @@ func (s *ChangePasswordInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *ChangePasswordInput) SetAccessToken(v string) *ChangePasswordInput { - s.AccessToken = &v - return s -} - -// SetPreviousPassword sets the PreviousPassword field's value. -func (s *ChangePasswordInput) SetPreviousPassword(v string) *ChangePasswordInput { - s.PreviousPassword = &v - return s -} - -// SetProposedPassword sets the ProposedPassword field's value. -func (s *ChangePasswordInput) SetProposedPassword(v string) *ChangePasswordInput { - s.ProposedPassword = &v - return s -} - // The response from the server to the change password request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ChangePasswordResponse type ChangePasswordOutput struct { @@ -8801,24 +7883,6 @@ func (s CodeDeliveryDetailsType) GoString() string { return s.String() } -// SetAttributeName sets the AttributeName field's value. -func (s *CodeDeliveryDetailsType) SetAttributeName(v string) *CodeDeliveryDetailsType { - s.AttributeName = &v - return s -} - -// SetDeliveryMedium sets the DeliveryMedium field's value. -func (s *CodeDeliveryDetailsType) SetDeliveryMedium(v DeliveryMediumType) *CodeDeliveryDetailsType { - s.DeliveryMedium = v - return s -} - -// SetDestination sets the Destination field's value. -func (s *CodeDeliveryDetailsType) SetDestination(v string) *CodeDeliveryDetailsType { - s.Destination = &v - return s -} - // The compromised credentials actions type // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CompromisedCredentialsActionsType type CompromisedCredentialsActionsType struct { @@ -8853,12 +7917,6 @@ func (s *CompromisedCredentialsActionsType) Validate() error { return nil } -// SetEventAction sets the EventAction field's value. -func (s *CompromisedCredentialsActionsType) SetEventAction(v CompromisedCredentialsEventActionType) *CompromisedCredentialsActionsType { - s.EventAction = v - return s -} - // The compromised credentials risk configuration type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CompromisedCredentialsRiskConfigurationType type CompromisedCredentialsRiskConfigurationType struct { @@ -8903,18 +7961,6 @@ func (s *CompromisedCredentialsRiskConfigurationType) Validate() error { return nil } -// SetActions sets the Actions field's value. -func (s *CompromisedCredentialsRiskConfigurationType) SetActions(v *CompromisedCredentialsActionsType) *CompromisedCredentialsRiskConfigurationType { - s.Actions = v - return s -} - -// SetEventFilter sets the EventFilter field's value. -func (s *CompromisedCredentialsRiskConfigurationType) SetEventFilter(v []EventFilterType) *CompromisedCredentialsRiskConfigurationType { - s.EventFilter = v - return s -} - // Confirms the device request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmDeviceRequest type ConfirmDeviceInput struct { @@ -8971,30 +8017,6 @@ func (s *ConfirmDeviceInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *ConfirmDeviceInput) SetAccessToken(v string) *ConfirmDeviceInput { - s.AccessToken = &v - return s -} - -// SetDeviceKey sets the DeviceKey field's value. -func (s *ConfirmDeviceInput) SetDeviceKey(v string) *ConfirmDeviceInput { - s.DeviceKey = &v - return s -} - -// SetDeviceName sets the DeviceName field's value. -func (s *ConfirmDeviceInput) SetDeviceName(v string) *ConfirmDeviceInput { - s.DeviceName = &v - return s -} - -// SetDeviceSecretVerifierConfig sets the DeviceSecretVerifierConfig field's value. -func (s *ConfirmDeviceInput) SetDeviceSecretVerifierConfig(v *DeviceSecretVerifierConfigType) *ConfirmDeviceInput { - s.DeviceSecretVerifierConfig = v - return s -} - // Confirms the device response. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmDeviceResponse type ConfirmDeviceOutput struct { @@ -9022,12 +8044,6 @@ func (s ConfirmDeviceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUserConfirmationNecessary sets the UserConfirmationNecessary field's value. -func (s *ConfirmDeviceOutput) SetUserConfirmationNecessary(v bool) *ConfirmDeviceOutput { - s.UserConfirmationNecessary = &v - return s -} - // The request representing the confirmation for a password reset. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmForgotPasswordRequest type ConfirmForgotPasswordInput struct { @@ -9120,48 +8136,6 @@ func (s *ConfirmForgotPasswordInput) Validate() error { return nil } -// SetAnalyticsMetadata sets the AnalyticsMetadata field's value. -func (s *ConfirmForgotPasswordInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *ConfirmForgotPasswordInput { - s.AnalyticsMetadata = v - return s -} - -// SetClientId sets the ClientId field's value. -func (s *ConfirmForgotPasswordInput) SetClientId(v string) *ConfirmForgotPasswordInput { - s.ClientId = &v - return s -} - -// SetConfirmationCode sets the ConfirmationCode field's value. -func (s *ConfirmForgotPasswordInput) SetConfirmationCode(v string) *ConfirmForgotPasswordInput { - s.ConfirmationCode = &v - return s -} - -// SetPassword sets the Password field's value. -func (s *ConfirmForgotPasswordInput) SetPassword(v string) *ConfirmForgotPasswordInput { - s.Password = &v - return s -} - -// SetSecretHash sets the SecretHash field's value. -func (s *ConfirmForgotPasswordInput) SetSecretHash(v string) *ConfirmForgotPasswordInput { - s.SecretHash = &v - return s -} - -// SetUserContextData sets the UserContextData field's value. -func (s *ConfirmForgotPasswordInput) SetUserContextData(v *UserContextDataType) *ConfirmForgotPasswordInput { - s.UserContextData = v - return s -} - -// SetUsername sets the Username field's value. -func (s *ConfirmForgotPasswordInput) SetUsername(v string) *ConfirmForgotPasswordInput { - s.Username = &v - return s -} - // The response from the server that results from a user's request to retrieve // a forgotten password. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmForgotPasswordResponse @@ -9272,48 +8246,6 @@ func (s *ConfirmSignUpInput) Validate() error { return nil } -// SetAnalyticsMetadata sets the AnalyticsMetadata field's value. -func (s *ConfirmSignUpInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *ConfirmSignUpInput { - s.AnalyticsMetadata = v - return s -} - -// SetClientId sets the ClientId field's value. -func (s *ConfirmSignUpInput) SetClientId(v string) *ConfirmSignUpInput { - s.ClientId = &v - return s -} - -// SetConfirmationCode sets the ConfirmationCode field's value. -func (s *ConfirmSignUpInput) SetConfirmationCode(v string) *ConfirmSignUpInput { - s.ConfirmationCode = &v - return s -} - -// SetForceAliasCreation sets the ForceAliasCreation field's value. -func (s *ConfirmSignUpInput) SetForceAliasCreation(v bool) *ConfirmSignUpInput { - s.ForceAliasCreation = &v - return s -} - -// SetSecretHash sets the SecretHash field's value. -func (s *ConfirmSignUpInput) SetSecretHash(v string) *ConfirmSignUpInput { - s.SecretHash = &v - return s -} - -// SetUserContextData sets the UserContextData field's value. -func (s *ConfirmSignUpInput) SetUserContextData(v *UserContextDataType) *ConfirmSignUpInput { - s.UserContextData = v - return s -} - -// SetUsername sets the Username field's value. -func (s *ConfirmSignUpInput) SetUsername(v string) *ConfirmSignUpInput { - s.Username = &v - return s -} - // Represents the response from the server for the registration confirmation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmSignUpResponse type ConfirmSignUpOutput struct { @@ -9404,36 +8336,6 @@ func (s *ContextDataType) Validate() error { return nil } -// SetEncodedData sets the EncodedData field's value. -func (s *ContextDataType) SetEncodedData(v string) *ContextDataType { - s.EncodedData = &v - return s -} - -// SetHttpHeaders sets the HttpHeaders field's value. -func (s *ContextDataType) SetHttpHeaders(v []HttpHeader) *ContextDataType { - s.HttpHeaders = v - return s -} - -// SetIpAddress sets the IpAddress field's value. -func (s *ContextDataType) SetIpAddress(v string) *ContextDataType { - s.IpAddress = &v - return s -} - -// SetServerName sets the ServerName field's value. -func (s *ContextDataType) SetServerName(v string) *ContextDataType { - s.ServerName = &v - return s -} - -// SetServerPath sets the ServerPath field's value. -func (s *ContextDataType) SetServerPath(v string) *ContextDataType { - s.ServerPath = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateGroupRequest type CreateGroupInput struct { _ struct{} `type:"structure"` @@ -9509,36 +8411,6 @@ func (s *CreateGroupInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateGroupInput) SetDescription(v string) *CreateGroupInput { - s.Description = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *CreateGroupInput) SetGroupName(v string) *CreateGroupInput { - s.GroupName = &v - return s -} - -// SetPrecedence sets the Precedence field's value. -func (s *CreateGroupInput) SetPrecedence(v int64) *CreateGroupInput { - s.Precedence = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *CreateGroupInput) SetRoleArn(v string) *CreateGroupInput { - s.RoleArn = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *CreateGroupInput) SetUserPoolId(v string) *CreateGroupInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateGroupResponse type CreateGroupOutput struct { _ struct{} `type:"structure"` @@ -9564,12 +8436,6 @@ func (s CreateGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroup sets the Group field's value. -func (s *CreateGroupOutput) SetGroup(v *GroupType) *CreateGroupOutput { - s.Group = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateIdentityProviderRequest type CreateIdentityProviderInput struct { _ struct{} `type:"structure"` @@ -9643,42 +8509,6 @@ func (s *CreateIdentityProviderInput) Validate() error { return nil } -// SetAttributeMapping sets the AttributeMapping field's value. -func (s *CreateIdentityProviderInput) SetAttributeMapping(v map[string]string) *CreateIdentityProviderInput { - s.AttributeMapping = v - return s -} - -// SetIdpIdentifiers sets the IdpIdentifiers field's value. -func (s *CreateIdentityProviderInput) SetIdpIdentifiers(v []string) *CreateIdentityProviderInput { - s.IdpIdentifiers = v - return s -} - -// SetProviderDetails sets the ProviderDetails field's value. -func (s *CreateIdentityProviderInput) SetProviderDetails(v map[string]string) *CreateIdentityProviderInput { - s.ProviderDetails = v - return s -} - -// SetProviderName sets the ProviderName field's value. -func (s *CreateIdentityProviderInput) SetProviderName(v string) *CreateIdentityProviderInput { - s.ProviderName = &v - return s -} - -// SetProviderType sets the ProviderType field's value. -func (s *CreateIdentityProviderInput) SetProviderType(v IdentityProviderTypeType) *CreateIdentityProviderInput { - s.ProviderType = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *CreateIdentityProviderInput) SetUserPoolId(v string) *CreateIdentityProviderInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateIdentityProviderResponse type CreateIdentityProviderOutput struct { _ struct{} `type:"structure"` @@ -9706,12 +8536,6 @@ func (s CreateIdentityProviderOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIdentityProvider sets the IdentityProvider field's value. -func (s *CreateIdentityProviderOutput) SetIdentityProvider(v *IdentityProviderType) *CreateIdentityProviderOutput { - s.IdentityProvider = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateResourceServerRequest type CreateResourceServerInput struct { _ struct{} `type:"structure"` @@ -9784,30 +8608,6 @@ func (s *CreateResourceServerInput) Validate() error { return nil } -// SetIdentifier sets the Identifier field's value. -func (s *CreateResourceServerInput) SetIdentifier(v string) *CreateResourceServerInput { - s.Identifier = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateResourceServerInput) SetName(v string) *CreateResourceServerInput { - s.Name = &v - return s -} - -// SetScopes sets the Scopes field's value. -func (s *CreateResourceServerInput) SetScopes(v []ResourceServerScopeType) *CreateResourceServerInput { - s.Scopes = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *CreateResourceServerInput) SetUserPoolId(v string) *CreateResourceServerInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateResourceServerResponse type CreateResourceServerOutput struct { _ struct{} `type:"structure"` @@ -9835,12 +8635,6 @@ func (s CreateResourceServerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResourceServer sets the ResourceServer field's value. -func (s *CreateResourceServerOutput) SetResourceServer(v *ResourceServerType) *CreateResourceServerOutput { - s.ResourceServer = v - return s -} - // Represents the request to create the user import job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJobRequest type CreateUserImportJobInput struct { @@ -9903,24 +8697,6 @@ func (s *CreateUserImportJobInput) Validate() error { return nil } -// SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value. -func (s *CreateUserImportJobInput) SetCloudWatchLogsRoleArn(v string) *CreateUserImportJobInput { - s.CloudWatchLogsRoleArn = &v - return s -} - -// SetJobName sets the JobName field's value. -func (s *CreateUserImportJobInput) SetJobName(v string) *CreateUserImportJobInput { - s.JobName = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *CreateUserImportJobInput) SetUserPoolId(v string) *CreateUserImportJobInput { - s.UserPoolId = &v - return s -} - // Represents the response from the server to the request to create the user // import job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJobResponse @@ -9948,12 +8724,6 @@ func (s CreateUserImportJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUserImportJob sets the UserImportJob field's value. -func (s *CreateUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *CreateUserImportJobOutput { - s.UserImportJob = v - return s -} - // Represents the request to create a user pool client. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolClientRequest type CreateUserPoolClientInput struct { @@ -10062,96 +8832,6 @@ func (s *CreateUserPoolClientInput) Validate() error { return nil } -// SetAllowedOAuthFlows sets the AllowedOAuthFlows field's value. -func (s *CreateUserPoolClientInput) SetAllowedOAuthFlows(v []OAuthFlowType) *CreateUserPoolClientInput { - s.AllowedOAuthFlows = v - return s -} - -// SetAllowedOAuthFlowsUserPoolClient sets the AllowedOAuthFlowsUserPoolClient field's value. -func (s *CreateUserPoolClientInput) SetAllowedOAuthFlowsUserPoolClient(v bool) *CreateUserPoolClientInput { - s.AllowedOAuthFlowsUserPoolClient = &v - return s -} - -// SetAllowedOAuthScopes sets the AllowedOAuthScopes field's value. -func (s *CreateUserPoolClientInput) SetAllowedOAuthScopes(v []string) *CreateUserPoolClientInput { - s.AllowedOAuthScopes = v - return s -} - -// SetAnalyticsConfiguration sets the AnalyticsConfiguration field's value. -func (s *CreateUserPoolClientInput) SetAnalyticsConfiguration(v *AnalyticsConfigurationType) *CreateUserPoolClientInput { - s.AnalyticsConfiguration = v - return s -} - -// SetCallbackURLs sets the CallbackURLs field's value. -func (s *CreateUserPoolClientInput) SetCallbackURLs(v []string) *CreateUserPoolClientInput { - s.CallbackURLs = v - return s -} - -// SetClientName sets the ClientName field's value. -func (s *CreateUserPoolClientInput) SetClientName(v string) *CreateUserPoolClientInput { - s.ClientName = &v - return s -} - -// SetDefaultRedirectURI sets the DefaultRedirectURI field's value. -func (s *CreateUserPoolClientInput) SetDefaultRedirectURI(v string) *CreateUserPoolClientInput { - s.DefaultRedirectURI = &v - return s -} - -// SetExplicitAuthFlows sets the ExplicitAuthFlows field's value. -func (s *CreateUserPoolClientInput) SetExplicitAuthFlows(v []ExplicitAuthFlowsType) *CreateUserPoolClientInput { - s.ExplicitAuthFlows = v - return s -} - -// SetGenerateSecret sets the GenerateSecret field's value. -func (s *CreateUserPoolClientInput) SetGenerateSecret(v bool) *CreateUserPoolClientInput { - s.GenerateSecret = &v - return s -} - -// SetLogoutURLs sets the LogoutURLs field's value. -func (s *CreateUserPoolClientInput) SetLogoutURLs(v []string) *CreateUserPoolClientInput { - s.LogoutURLs = v - return s -} - -// SetReadAttributes sets the ReadAttributes field's value. -func (s *CreateUserPoolClientInput) SetReadAttributes(v []string) *CreateUserPoolClientInput { - s.ReadAttributes = v - return s -} - -// SetRefreshTokenValidity sets the RefreshTokenValidity field's value. -func (s *CreateUserPoolClientInput) SetRefreshTokenValidity(v int64) *CreateUserPoolClientInput { - s.RefreshTokenValidity = &v - return s -} - -// SetSupportedIdentityProviders sets the SupportedIdentityProviders field's value. -func (s *CreateUserPoolClientInput) SetSupportedIdentityProviders(v []string) *CreateUserPoolClientInput { - s.SupportedIdentityProviders = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *CreateUserPoolClientInput) SetUserPoolId(v string) *CreateUserPoolClientInput { - s.UserPoolId = &v - return s -} - -// SetWriteAttributes sets the WriteAttributes field's value. -func (s *CreateUserPoolClientInput) SetWriteAttributes(v []string) *CreateUserPoolClientInput { - s.WriteAttributes = v - return s -} - // Represents the response from the server to create a user pool client. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolClientResponse type CreateUserPoolClientOutput struct { @@ -10178,12 +8858,6 @@ func (s CreateUserPoolClientOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUserPoolClient sets the UserPoolClient field's value. -func (s *CreateUserPoolClientOutput) SetUserPoolClient(v *UserPoolClientType) *CreateUserPoolClientOutput { - s.UserPoolClient = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolDomainRequest type CreateUserPoolDomainInput struct { _ struct{} `type:"structure"` @@ -10233,18 +8907,6 @@ func (s *CreateUserPoolDomainInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *CreateUserPoolDomainInput) SetDomain(v string) *CreateUserPoolDomainInput { - s.Domain = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *CreateUserPoolDomainInput) SetUserPoolId(v string) *CreateUserPoolDomainInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolDomainResponse type CreateUserPoolDomainOutput struct { _ struct{} `type:"structure"` @@ -10422,120 +9084,6 @@ func (s *CreateUserPoolInput) Validate() error { return nil } -// SetAdminCreateUserConfig sets the AdminCreateUserConfig field's value. -func (s *CreateUserPoolInput) SetAdminCreateUserConfig(v *AdminCreateUserConfigType) *CreateUserPoolInput { - s.AdminCreateUserConfig = v - return s -} - -// SetAliasAttributes sets the AliasAttributes field's value. -func (s *CreateUserPoolInput) SetAliasAttributes(v []AliasAttributeType) *CreateUserPoolInput { - s.AliasAttributes = v - return s -} - -// SetAutoVerifiedAttributes sets the AutoVerifiedAttributes field's value. -func (s *CreateUserPoolInput) SetAutoVerifiedAttributes(v []VerifiedAttributeType) *CreateUserPoolInput { - s.AutoVerifiedAttributes = v - return s -} - -// SetDeviceConfiguration sets the DeviceConfiguration field's value. -func (s *CreateUserPoolInput) SetDeviceConfiguration(v *DeviceConfigurationType) *CreateUserPoolInput { - s.DeviceConfiguration = v - return s -} - -// SetEmailConfiguration sets the EmailConfiguration field's value. -func (s *CreateUserPoolInput) SetEmailConfiguration(v *EmailConfigurationType) *CreateUserPoolInput { - s.EmailConfiguration = v - return s -} - -// SetEmailVerificationMessage sets the EmailVerificationMessage field's value. -func (s *CreateUserPoolInput) SetEmailVerificationMessage(v string) *CreateUserPoolInput { - s.EmailVerificationMessage = &v - return s -} - -// SetEmailVerificationSubject sets the EmailVerificationSubject field's value. -func (s *CreateUserPoolInput) SetEmailVerificationSubject(v string) *CreateUserPoolInput { - s.EmailVerificationSubject = &v - return s -} - -// SetLambdaConfig sets the LambdaConfig field's value. -func (s *CreateUserPoolInput) SetLambdaConfig(v *LambdaConfigType) *CreateUserPoolInput { - s.LambdaConfig = v - return s -} - -// SetMfaConfiguration sets the MfaConfiguration field's value. -func (s *CreateUserPoolInput) SetMfaConfiguration(v UserPoolMfaType) *CreateUserPoolInput { - s.MfaConfiguration = v - return s -} - -// SetPolicies sets the Policies field's value. -func (s *CreateUserPoolInput) SetPolicies(v *UserPoolPolicyType) *CreateUserPoolInput { - s.Policies = v - return s -} - -// SetPoolName sets the PoolName field's value. -func (s *CreateUserPoolInput) SetPoolName(v string) *CreateUserPoolInput { - s.PoolName = &v - return s -} - -// SetSchema sets the Schema field's value. -func (s *CreateUserPoolInput) SetSchema(v []SchemaAttributeType) *CreateUserPoolInput { - s.Schema = v - return s -} - -// SetSmsAuthenticationMessage sets the SmsAuthenticationMessage field's value. -func (s *CreateUserPoolInput) SetSmsAuthenticationMessage(v string) *CreateUserPoolInput { - s.SmsAuthenticationMessage = &v - return s -} - -// SetSmsConfiguration sets the SmsConfiguration field's value. -func (s *CreateUserPoolInput) SetSmsConfiguration(v *SmsConfigurationType) *CreateUserPoolInput { - s.SmsConfiguration = v - return s -} - -// SetSmsVerificationMessage sets the SmsVerificationMessage field's value. -func (s *CreateUserPoolInput) SetSmsVerificationMessage(v string) *CreateUserPoolInput { - s.SmsVerificationMessage = &v - return s -} - -// SetUserPoolAddOns sets the UserPoolAddOns field's value. -func (s *CreateUserPoolInput) SetUserPoolAddOns(v *UserPoolAddOnsType) *CreateUserPoolInput { - s.UserPoolAddOns = v - return s -} - -// SetUserPoolTags sets the UserPoolTags field's value. -func (s *CreateUserPoolInput) SetUserPoolTags(v map[string]string) *CreateUserPoolInput { - s.UserPoolTags = v - return s -} - -// SetUsernameAttributes sets the UsernameAttributes field's value. -func (s *CreateUserPoolInput) SetUsernameAttributes(v []UsernameAttributeType) *CreateUserPoolInput { - s.UsernameAttributes = v - return s -} - -// SetVerificationMessageTemplate sets the VerificationMessageTemplate field's value. -func (s *CreateUserPoolInput) SetVerificationMessageTemplate(v *VerificationMessageTemplateType) *CreateUserPoolInput { - s.VerificationMessageTemplate = v - return s -} - // Represents the response from the server for the request to create a user // pool. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolResponse @@ -10563,12 +9111,6 @@ func (s CreateUserPoolOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUserPool sets the UserPool field's value. -func (s *CreateUserPoolOutput) SetUserPool(v *UserPoolType) *CreateUserPoolOutput { - s.UserPool = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteGroupRequest type DeleteGroupInput struct { _ struct{} `type:"structure"` @@ -10618,18 +9160,6 @@ func (s *DeleteGroupInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *DeleteGroupInput) SetGroupName(v string) *DeleteGroupInput { - s.GroupName = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *DeleteGroupInput) SetUserPoolId(v string) *DeleteGroupInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteGroupOutput type DeleteGroupOutput struct { _ struct{} `type:"structure"` @@ -10701,18 +9231,6 @@ func (s *DeleteIdentityProviderInput) Validate() error { return nil } -// SetProviderName sets the ProviderName field's value. -func (s *DeleteIdentityProviderInput) SetProviderName(v string) *DeleteIdentityProviderInput { - s.ProviderName = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *DeleteIdentityProviderInput) SetUserPoolId(v string) *DeleteIdentityProviderInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteIdentityProviderOutput type DeleteIdentityProviderOutput struct { _ struct{} `type:"structure"` @@ -10784,18 +9302,6 @@ func (s *DeleteResourceServerInput) Validate() error { return nil } -// SetIdentifier sets the Identifier field's value. -func (s *DeleteResourceServerInput) SetIdentifier(v string) *DeleteResourceServerInput { - s.Identifier = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *DeleteResourceServerInput) SetUserPoolId(v string) *DeleteResourceServerInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteResourceServerOutput type DeleteResourceServerOutput struct { _ struct{} `type:"structure"` @@ -10865,18 +9371,6 @@ func (s *DeleteUserAttributesInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *DeleteUserAttributesInput) SetAccessToken(v string) *DeleteUserAttributesInput { - s.AccessToken = &v - return s -} - -// SetUserAttributeNames sets the UserAttributeNames field's value. -func (s *DeleteUserAttributesInput) SetUserAttributeNames(v []string) *DeleteUserAttributesInput { - s.UserAttributeNames = v - return s -} - // Represents the response from the server to delete user attributes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserAttributesResponse type DeleteUserAttributesOutput struct { @@ -10935,12 +9429,6 @@ func (s *DeleteUserInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *DeleteUserInput) SetAccessToken(v string) *DeleteUserInput { - s.AccessToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserOutput type DeleteUserOutput struct { _ struct{} `type:"structure"` @@ -11013,18 +9501,6 @@ func (s *DeleteUserPoolClientInput) Validate() error { return nil } -// SetClientId sets the ClientId field's value. -func (s *DeleteUserPoolClientInput) SetClientId(v string) *DeleteUserPoolClientInput { - s.ClientId = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *DeleteUserPoolClientInput) SetUserPoolId(v string) *DeleteUserPoolClientInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolClientOutput type DeleteUserPoolClientOutput struct { _ struct{} `type:"structure"` @@ -11096,18 +9572,6 @@ func (s *DeleteUserPoolDomainInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *DeleteUserPoolDomainInput) SetDomain(v string) *DeleteUserPoolDomainInput { - s.Domain = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *DeleteUserPoolDomainInput) SetUserPoolId(v string) *DeleteUserPoolDomainInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolDomainResponse type DeleteUserPoolDomainOutput struct { _ struct{} `type:"structure"` @@ -11168,12 +9632,6 @@ func (s *DeleteUserPoolInput) Validate() error { return nil } -// SetUserPoolId sets the UserPoolId field's value. -func (s *DeleteUserPoolInput) SetUserPoolId(v string) *DeleteUserPoolInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolOutput type DeleteUserPoolOutput struct { _ struct{} `type:"structure"` @@ -11245,18 +9703,6 @@ func (s *DescribeIdentityProviderInput) Validate() error { return nil } -// SetProviderName sets the ProviderName field's value. -func (s *DescribeIdentityProviderInput) SetProviderName(v string) *DescribeIdentityProviderInput { - s.ProviderName = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *DescribeIdentityProviderInput) SetUserPoolId(v string) *DescribeIdentityProviderInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeIdentityProviderResponse type DescribeIdentityProviderOutput struct { _ struct{} `type:"structure"` @@ -11284,12 +9730,6 @@ func (s DescribeIdentityProviderOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIdentityProvider sets the IdentityProvider field's value. -func (s *DescribeIdentityProviderOutput) SetIdentityProvider(v *IdentityProviderType) *DescribeIdentityProviderOutput { - s.IdentityProvider = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeResourceServerRequest type DescribeResourceServerInput struct { _ struct{} `type:"structure"` @@ -11339,18 +9779,6 @@ func (s *DescribeResourceServerInput) Validate() error { return nil } -// SetIdentifier sets the Identifier field's value. -func (s *DescribeResourceServerInput) SetIdentifier(v string) *DescribeResourceServerInput { - s.Identifier = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *DescribeResourceServerInput) SetUserPoolId(v string) *DescribeResourceServerInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeResourceServerResponse type DescribeResourceServerOutput struct { _ struct{} `type:"structure"` @@ -11378,12 +9806,6 @@ func (s DescribeResourceServerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResourceServer sets the ResourceServer field's value. -func (s *DescribeResourceServerOutput) SetResourceServer(v *ResourceServerType) *DescribeResourceServerOutput { - s.ResourceServer = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeRiskConfigurationRequest type DescribeRiskConfigurationInput struct { _ struct{} `type:"structure"` @@ -11427,18 +9849,6 @@ func (s *DescribeRiskConfigurationInput) Validate() error { return nil } -// SetClientId sets the ClientId field's value. -func (s *DescribeRiskConfigurationInput) SetClientId(v string) *DescribeRiskConfigurationInput { - s.ClientId = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *DescribeRiskConfigurationInput) SetUserPoolId(v string) *DescribeRiskConfigurationInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeRiskConfigurationResponse type DescribeRiskConfigurationOutput struct { _ struct{} `type:"structure"` @@ -11466,12 +9876,6 @@ func (s DescribeRiskConfigurationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRiskConfiguration sets the RiskConfiguration field's value. -func (s *DescribeRiskConfigurationOutput) SetRiskConfiguration(v *RiskConfigurationType) *DescribeRiskConfigurationOutput { - s.RiskConfiguration = v - return s -} - // Represents the request to describe the user import job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserImportJobRequest type DescribeUserImportJobInput struct { @@ -11522,18 +9926,6 @@ func (s *DescribeUserImportJobInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *DescribeUserImportJobInput) SetJobId(v string) *DescribeUserImportJobInput { - s.JobId = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *DescribeUserImportJobInput) SetUserPoolId(v string) *DescribeUserImportJobInput { - s.UserPoolId = &v - return s -} - // Represents the response from the server to the request to describe the user // import job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserImportJobResponse @@ -11561,12 +9953,6 @@ func (s DescribeUserImportJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUserImportJob sets the UserImportJob field's value. -func (s *DescribeUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *DescribeUserImportJobOutput { - s.UserImportJob = v - return s -} - // Represents the request to describe a user pool client. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolClientRequest type DescribeUserPoolClientInput struct { @@ -11617,18 +10003,6 @@ func (s *DescribeUserPoolClientInput) Validate() error { return nil } -// SetClientId sets the ClientId field's value. -func (s *DescribeUserPoolClientInput) SetClientId(v string) *DescribeUserPoolClientInput { - s.ClientId = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *DescribeUserPoolClientInput) SetUserPoolId(v string) *DescribeUserPoolClientInput { - s.UserPoolId = &v - return s -} - // Represents the response from the server from a request to describe the user // pool client. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolClientResponse @@ -11656,12 +10030,6 @@ func (s DescribeUserPoolClientOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUserPoolClient sets the UserPoolClient field's value. -func (s *DescribeUserPoolClientOutput) SetUserPoolClient(v *UserPoolClientType) *DescribeUserPoolClientOutput { - s.UserPoolClient = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolDomainRequest type DescribeUserPoolDomainInput struct { _ struct{} `type:"structure"` @@ -11699,12 +10067,6 @@ func (s *DescribeUserPoolDomainInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *DescribeUserPoolDomainInput) SetDomain(v string) *DescribeUserPoolDomainInput { - s.Domain = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolDomainResponse type DescribeUserPoolDomainOutput struct { _ struct{} `type:"structure"` @@ -11730,12 +10092,6 @@ func (s DescribeUserPoolDomainOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDomainDescription sets the DomainDescription field's value. -func (s *DescribeUserPoolDomainOutput) SetDomainDescription(v *DomainDescriptionType) *DescribeUserPoolDomainOutput { - s.DomainDescription = v - return s -} - // Represents the request to describe the user pool. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolRequest type DescribeUserPoolInput struct { @@ -11774,12 +10130,6 @@ func (s *DescribeUserPoolInput) Validate() error { return nil } -// SetUserPoolId sets the UserPoolId field's value. -func (s *DescribeUserPoolInput) SetUserPoolId(v string) *DescribeUserPoolInput { - s.UserPoolId = &v - return s -} - // Represents the response to describe the user pool. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolResponse type DescribeUserPoolOutput struct { @@ -11806,12 +10156,6 @@ func (s DescribeUserPoolOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUserPool sets the UserPool field's value. -func (s *DescribeUserPoolOutput) SetUserPool(v *UserPoolType) *DescribeUserPoolOutput { - s.UserPool = v - return s -} - // The configuration for the user pool's device tracking. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeviceConfigurationType type DeviceConfigurationType struct { @@ -11835,18 +10179,6 @@ func (s DeviceConfigurationType) GoString() string { return s.String() } -// SetChallengeRequiredOnNewDevice sets the ChallengeRequiredOnNewDevice field's value. -func (s *DeviceConfigurationType) SetChallengeRequiredOnNewDevice(v bool) *DeviceConfigurationType { - s.ChallengeRequiredOnNewDevice = &v - return s -} - -// SetDeviceOnlyRememberedOnUserPrompt sets the DeviceOnlyRememberedOnUserPrompt field's value. -func (s *DeviceConfigurationType) SetDeviceOnlyRememberedOnUserPrompt(v bool) *DeviceConfigurationType { - s.DeviceOnlyRememberedOnUserPrompt = &v - return s -} - // The device verifier against which it will be authenticated. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeviceSecretVerifierConfigType type DeviceSecretVerifierConfigType struct { @@ -11869,18 +10201,6 @@ func (s DeviceSecretVerifierConfigType) GoString() string { return s.String() } -// SetPasswordVerifier sets the PasswordVerifier field's value. -func (s *DeviceSecretVerifierConfigType) SetPasswordVerifier(v string) *DeviceSecretVerifierConfigType { - s.PasswordVerifier = &v - return s -} - -// SetSalt sets the Salt field's value. -func (s *DeviceSecretVerifierConfigType) SetSalt(v string) *DeviceSecretVerifierConfigType { - s.Salt = &v - return s -} - // The device type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeviceType type DeviceType struct { @@ -11912,36 +10232,6 @@ func (s DeviceType) GoString() string { return s.String() } -// SetDeviceAttributes sets the DeviceAttributes field's value. -func (s *DeviceType) SetDeviceAttributes(v []AttributeType) *DeviceType { - s.DeviceAttributes = v - return s -} - -// SetDeviceCreateDate sets the DeviceCreateDate field's value. -func (s *DeviceType) SetDeviceCreateDate(v time.Time) *DeviceType { - s.DeviceCreateDate = &v - return s -} - -// SetDeviceKey sets the DeviceKey field's value. -func (s *DeviceType) SetDeviceKey(v string) *DeviceType { - s.DeviceKey = &v - return s -} - -// SetDeviceLastAuthenticatedDate sets the DeviceLastAuthenticatedDate field's value. -func (s *DeviceType) SetDeviceLastAuthenticatedDate(v time.Time) *DeviceType { - s.DeviceLastAuthenticatedDate = &v - return s -} - -// SetDeviceLastModifiedDate sets the DeviceLastModifiedDate field's value. -func (s *DeviceType) SetDeviceLastModifiedDate(v time.Time) *DeviceType { - s.DeviceLastModifiedDate = &v - return s -} - // A container for information about a domain. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DomainDescriptionType type DomainDescriptionType struct { @@ -11979,48 +10269,6 @@ func (s DomainDescriptionType) GoString() string { return s.String() } -// SetAWSAccountId sets the AWSAccountId field's value. -func (s *DomainDescriptionType) SetAWSAccountId(v string) *DomainDescriptionType { - s.AWSAccountId = &v - return s -} - -// SetCloudFrontDistribution sets the CloudFrontDistribution field's value. -func (s *DomainDescriptionType) SetCloudFrontDistribution(v string) *DomainDescriptionType { - s.CloudFrontDistribution = &v - return s -} - -// SetDomain sets the Domain field's value. -func (s *DomainDescriptionType) SetDomain(v string) *DomainDescriptionType { - s.Domain = &v - return s -} - -// SetS3Bucket sets the S3Bucket field's value. -func (s *DomainDescriptionType) SetS3Bucket(v string) *DomainDescriptionType { - s.S3Bucket = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DomainDescriptionType) SetStatus(v DomainStatusType) *DomainDescriptionType { - s.Status = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *DomainDescriptionType) SetUserPoolId(v string) *DomainDescriptionType { - s.UserPoolId = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *DomainDescriptionType) SetVersion(v string) *DomainDescriptionType { - s.Version = &v - return s -} - // The email configuration type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/EmailConfigurationType type EmailConfigurationType struct { @@ -12056,18 +10304,6 @@ func (s *EmailConfigurationType) Validate() error { return nil } -// SetReplyToEmailAddress sets the ReplyToEmailAddress field's value. -func (s *EmailConfigurationType) SetReplyToEmailAddress(v string) *EmailConfigurationType { - s.ReplyToEmailAddress = &v - return s -} - -// SetSourceArn sets the SourceArn field's value. -func (s *EmailConfigurationType) SetSourceArn(v string) *EmailConfigurationType { - s.SourceArn = &v - return s -} - // Specifies the user context data captured at the time of an event request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/EventContextDataType type EventContextDataType struct { @@ -12099,36 +10335,6 @@ func (s EventContextDataType) GoString() string { return s.String() } -// SetCity sets the City field's value. -func (s *EventContextDataType) SetCity(v string) *EventContextDataType { - s.City = &v - return s -} - -// SetCountry sets the Country field's value. -func (s *EventContextDataType) SetCountry(v string) *EventContextDataType { - s.Country = &v - return s -} - -// SetDeviceName sets the DeviceName field's value. -func (s *EventContextDataType) SetDeviceName(v string) *EventContextDataType { - s.DeviceName = &v - return s -} - -// SetIpAddress sets the IpAddress field's value. -func (s *EventContextDataType) SetIpAddress(v string) *EventContextDataType { - s.IpAddress = &v - return s -} - -// SetTimezone sets the Timezone field's value. -func (s *EventContextDataType) SetTimezone(v string) *EventContextDataType { - s.Timezone = &v - return s -} - // Specifies the event feedback type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/EventFeedbackType type EventFeedbackType struct { @@ -12158,24 +10364,6 @@ func (s EventFeedbackType) GoString() string { return s.String() } -// SetFeedbackDate sets the FeedbackDate field's value. -func (s *EventFeedbackType) SetFeedbackDate(v time.Time) *EventFeedbackType { - s.FeedbackDate = &v - return s -} - -// SetFeedbackValue sets the FeedbackValue field's value. -func (s *EventFeedbackType) SetFeedbackValue(v FeedbackValueType) *EventFeedbackType { - s.FeedbackValue = v - return s -} - -// SetProvider sets the Provider field's value. -func (s *EventFeedbackType) SetProvider(v string) *EventFeedbackType { - s.Provider = &v - return s -} - // The event risk type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/EventRiskType type EventRiskType struct { @@ -12198,18 +10386,6 @@ func (s EventRiskType) GoString() string { return s.String() } -// SetRiskDecision sets the RiskDecision field's value. -func (s *EventRiskType) SetRiskDecision(v RiskDecisionType) *EventRiskType { - s.RiskDecision = v - return s -} - -// SetRiskLevel sets the RiskLevel field's value. -func (s *EventRiskType) SetRiskLevel(v RiskLevelType) *EventRiskType { - s.RiskLevel = v - return s -} - // Represents the request to forget the device. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgetDeviceRequest type ForgetDeviceInput struct { @@ -12251,18 +10427,6 @@ func (s *ForgetDeviceInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *ForgetDeviceInput) SetAccessToken(v string) *ForgetDeviceInput { - s.AccessToken = &v - return s -} - -// SetDeviceKey sets the DeviceKey field's value. -func (s *ForgetDeviceInput) SetDeviceKey(v string) *ForgetDeviceInput { - s.DeviceKey = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgetDeviceOutput type ForgetDeviceOutput struct { _ struct{} `type:"structure"` @@ -12352,36 +10516,6 @@ func (s *ForgotPasswordInput) Validate() error { return nil } -// SetAnalyticsMetadata sets the AnalyticsMetadata field's value. -func (s *ForgotPasswordInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *ForgotPasswordInput { - s.AnalyticsMetadata = v - return s -} - -// SetClientId sets the ClientId field's value. -func (s *ForgotPasswordInput) SetClientId(v string) *ForgotPasswordInput { - s.ClientId = &v - return s -} - -// SetSecretHash sets the SecretHash field's value. -func (s *ForgotPasswordInput) SetSecretHash(v string) *ForgotPasswordInput { - s.SecretHash = &v - return s -} - -// SetUserContextData sets the UserContextData field's value. -func (s *ForgotPasswordInput) SetUserContextData(v *UserContextDataType) *ForgotPasswordInput { - s.UserContextData = v - return s -} - -// SetUsername sets the Username field's value. -func (s *ForgotPasswordInput) SetUsername(v string) *ForgotPasswordInput { - s.Username = &v - return s -} - // Respresents the response from the server regarding the request to reset a // password. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgotPasswordResponse @@ -12410,12 +10544,6 @@ func (s ForgotPasswordOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCodeDeliveryDetails sets the CodeDeliveryDetails field's value. -func (s *ForgotPasswordOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *ForgotPasswordOutput { - s.CodeDeliveryDetails = v - return s -} - // Represents the request to get the header information for the .csv file for // the user import job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetCSVHeaderRequest @@ -12455,12 +10583,6 @@ func (s *GetCSVHeaderInput) Validate() error { return nil } -// SetUserPoolId sets the UserPoolId field's value. -func (s *GetCSVHeaderInput) SetUserPoolId(v string) *GetCSVHeaderInput { - s.UserPoolId = &v - return s -} - // Represents the response from the server to the request to get the header // information for the .csv file for the user import job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetCSVHeaderResponse @@ -12491,18 +10613,6 @@ func (s GetCSVHeaderOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCSVHeader sets the CSVHeader field's value. -func (s *GetCSVHeaderOutput) SetCSVHeader(v []string) *GetCSVHeaderOutput { - s.CSVHeader = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *GetCSVHeaderOutput) SetUserPoolId(v string) *GetCSVHeaderOutput { - s.UserPoolId = &v - return s -} - // Represents the request to get the device. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetDeviceRequest type GetDeviceInput struct { @@ -12544,18 +10654,6 @@ func (s *GetDeviceInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *GetDeviceInput) SetAccessToken(v string) *GetDeviceInput { - s.AccessToken = &v - return s -} - -// SetDeviceKey sets the DeviceKey field's value. -func (s *GetDeviceInput) SetDeviceKey(v string) *GetDeviceInput { - s.DeviceKey = &v - return s -} - // Gets the device response. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetDeviceResponse type GetDeviceOutput struct { @@ -12584,12 +10682,6 @@ func (s GetDeviceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDevice sets the Device field's value. -func (s *GetDeviceOutput) SetDevice(v *DeviceType) *GetDeviceOutput { - s.Device = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetGroupRequest type GetGroupInput struct { _ struct{} `type:"structure"` @@ -12639,18 +10731,6 @@ func (s *GetGroupInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *GetGroupInput) SetGroupName(v string) *GetGroupInput { - s.GroupName = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *GetGroupInput) SetUserPoolId(v string) *GetGroupInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetGroupResponse type GetGroupOutput struct { _ struct{} `type:"structure"` @@ -12676,12 +10756,6 @@ func (s GetGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroup sets the Group field's value. -func (s *GetGroupOutput) SetGroup(v *GroupType) *GetGroupOutput { - s.Group = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetIdentityProviderByIdentifierRequest type GetIdentityProviderByIdentifierInput struct { _ struct{} `type:"structure"` @@ -12731,18 +10805,6 @@ func (s *GetIdentityProviderByIdentifierInput) Validate() error { return nil } -// SetIdpIdentifier sets the IdpIdentifier field's value. -func (s *GetIdentityProviderByIdentifierInput) SetIdpIdentifier(v string) *GetIdentityProviderByIdentifierInput { - s.IdpIdentifier = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *GetIdentityProviderByIdentifierInput) SetUserPoolId(v string) *GetIdentityProviderByIdentifierInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetIdentityProviderByIdentifierResponse type GetIdentityProviderByIdentifierOutput struct { _ struct{} `type:"structure"` @@ -12770,12 +10832,6 @@ func (s GetIdentityProviderByIdentifierOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetIdentityProvider sets the IdentityProvider field's value. -func (s *GetIdentityProviderByIdentifierOutput) SetIdentityProvider(v *IdentityProviderType) *GetIdentityProviderByIdentifierOutput { - s.IdentityProvider = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUICustomizationRequest type GetUICustomizationInput struct { _ struct{} `type:"structure"` @@ -12819,18 +10875,6 @@ func (s *GetUICustomizationInput) Validate() error { return nil } -// SetClientId sets the ClientId field's value. -func (s *GetUICustomizationInput) SetClientId(v string) *GetUICustomizationInput { - s.ClientId = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *GetUICustomizationInput) SetUserPoolId(v string) *GetUICustomizationInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUICustomizationResponse type GetUICustomizationOutput struct { _ struct{} `type:"structure"` @@ -12858,12 +10902,6 @@ func (s GetUICustomizationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUICustomization sets the UICustomization field's value. -func (s *GetUICustomizationOutput) SetUICustomization(v *UICustomizationType) *GetUICustomizationOutput { - s.UICustomization = v - return s -} - // Represents the request to get user attribute verification. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserAttributeVerificationCodeRequest type GetUserAttributeVerificationCodeInput struct { @@ -12913,18 +10951,6 @@ func (s *GetUserAttributeVerificationCodeInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *GetUserAttributeVerificationCodeInput) SetAccessToken(v string) *GetUserAttributeVerificationCodeInput { - s.AccessToken = &v - return s -} - -// SetAttributeName sets the AttributeName field's value. -func (s *GetUserAttributeVerificationCodeInput) SetAttributeName(v string) *GetUserAttributeVerificationCodeInput { - s.AttributeName = &v - return s -} - // The verification code response returned by the server response to get the // user attribute verification code. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserAttributeVerificationCodeResponse @@ -12953,12 +10979,6 @@ func (s GetUserAttributeVerificationCodeOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetCodeDeliveryDetails sets the CodeDeliveryDetails field's value. -func (s *GetUserAttributeVerificationCodeOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *GetUserAttributeVerificationCodeOutput { - s.CodeDeliveryDetails = v - return s -} - // Represents the request to get information about the user. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserRequest type GetUserInput struct { @@ -12995,12 +11015,6 @@ func (s *GetUserInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *GetUserInput) SetAccessToken(v string) *GetUserInput { - s.AccessToken = &v - return s -} - // Represents the response from the server from the request to get information // about the user. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserResponse @@ -13047,36 +11061,6 @@ func (s GetUserOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMFAOptions sets the MFAOptions field's value. -func (s *GetUserOutput) SetMFAOptions(v []MFAOptionType) *GetUserOutput { - s.MFAOptions = v - return s -} - -// SetPreferredMfaSetting sets the PreferredMfaSetting field's value. -func (s *GetUserOutput) SetPreferredMfaSetting(v string) *GetUserOutput { - s.PreferredMfaSetting = &v - return s -} - -// SetUserAttributes sets the UserAttributes field's value. -func (s *GetUserOutput) SetUserAttributes(v []AttributeType) *GetUserOutput { - s.UserAttributes = v - return s -} - -// SetUserMFASettingList sets the UserMFASettingList field's value. -func (s *GetUserOutput) SetUserMFASettingList(v []string) *GetUserOutput { - s.UserMFASettingList = v - return s -} - -// SetUsername sets the Username field's value. -func (s *GetUserOutput) SetUsername(v string) *GetUserOutput { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserPoolMfaConfigRequest type GetUserPoolMfaConfigInput struct { _ struct{} `type:"structure"` @@ -13114,12 +11098,6 @@ func (s *GetUserPoolMfaConfigInput) Validate() error { return nil } -// SetUserPoolId sets the UserPoolId field's value. -func (s *GetUserPoolMfaConfigInput) SetUserPoolId(v string) *GetUserPoolMfaConfigInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserPoolMfaConfigResponse type GetUserPoolMfaConfigOutput struct { _ struct{} `type:"structure"` @@ -13151,24 +11129,6 @@ func (s GetUserPoolMfaConfigOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMfaConfiguration sets the MfaConfiguration field's value. -func (s *GetUserPoolMfaConfigOutput) SetMfaConfiguration(v UserPoolMfaType) *GetUserPoolMfaConfigOutput { - s.MfaConfiguration = v - return s -} - -// SetSmsMfaConfiguration sets the SmsMfaConfiguration field's value. -func (s *GetUserPoolMfaConfigOutput) SetSmsMfaConfiguration(v *SmsMfaConfigType) *GetUserPoolMfaConfigOutput { - s.SmsMfaConfiguration = v - return s -} - -// SetSoftwareTokenMfaConfiguration sets the SoftwareTokenMfaConfiguration field's value. -func (s *GetUserPoolMfaConfigOutput) SetSoftwareTokenMfaConfiguration(v *SoftwareTokenMfaConfigType) *GetUserPoolMfaConfigOutput { - s.SoftwareTokenMfaConfiguration = v - return s -} - // Represents the request to sign out all devices. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GlobalSignOutRequest type GlobalSignOutInput struct { @@ -13204,12 +11164,6 @@ func (s *GlobalSignOutInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *GlobalSignOutInput) SetAccessToken(v string) *GlobalSignOutInput { - s.AccessToken = &v - return s -} - // The response to the request to sign out all devices. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GlobalSignOutResponse type GlobalSignOutOutput struct { @@ -13283,48 +11237,6 @@ func (s GroupType) GoString() string { return s.String() } -// SetCreationDate sets the CreationDate field's value. -func (s *GroupType) SetCreationDate(v time.Time) *GroupType { - s.CreationDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *GroupType) SetDescription(v string) *GroupType { - s.Description = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *GroupType) SetGroupName(v string) *GroupType { - s.GroupName = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *GroupType) SetLastModifiedDate(v time.Time) *GroupType { - s.LastModifiedDate = &v - return s -} - -// SetPrecedence sets the Precedence field's value. -func (s *GroupType) SetPrecedence(v int64) *GroupType { - s.Precedence = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *GroupType) SetRoleArn(v string) *GroupType { - s.RoleArn = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *GroupType) SetUserPoolId(v string) *GroupType { - s.UserPoolId = &v - return s -} - // The HTTP header. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/HttpHeader type HttpHeader struct { @@ -13347,18 +11259,6 @@ func (s HttpHeader) GoString() string { return s.String() } -// SetHeaderName sets the HeaderName field's value. -func (s *HttpHeader) SetHeaderName(v string) *HttpHeader { - s.HeaderName = &v - return s -} - -// SetHeaderValue sets the HeaderValue field's value. -func (s *HttpHeader) SetHeaderValue(v string) *HttpHeader { - s.HeaderValue = &v - return s -} - // A container for information about an identity provider. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/IdentityProviderType type IdentityProviderType struct { @@ -13400,54 +11300,6 @@ func (s IdentityProviderType) GoString() string { return s.String() } -// SetAttributeMapping sets the AttributeMapping field's value. -func (s *IdentityProviderType) SetAttributeMapping(v map[string]string) *IdentityProviderType { - s.AttributeMapping = v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *IdentityProviderType) SetCreationDate(v time.Time) *IdentityProviderType { - s.CreationDate = &v - return s -} - -// SetIdpIdentifiers sets the IdpIdentifiers field's value. -func (s *IdentityProviderType) SetIdpIdentifiers(v []string) *IdentityProviderType { - s.IdpIdentifiers = v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *IdentityProviderType) SetLastModifiedDate(v time.Time) *IdentityProviderType { - s.LastModifiedDate = &v - return s -} - -// SetProviderDetails sets the ProviderDetails field's value. -func (s *IdentityProviderType) SetProviderDetails(v map[string]string) *IdentityProviderType { - s.ProviderDetails = v - return s -} - -// SetProviderName sets the ProviderName field's value. -func (s *IdentityProviderType) SetProviderName(v string) *IdentityProviderType { - s.ProviderName = &v - return s -} - -// SetProviderType sets the ProviderType field's value. -func (s *IdentityProviderType) SetProviderType(v IdentityProviderTypeType) *IdentityProviderType { - s.ProviderType = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *IdentityProviderType) SetUserPoolId(v string) *IdentityProviderType { - s.UserPoolId = &v - return s -} - // Initiates the authentication request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InitiateAuthRequest type InitiateAuthInput struct { @@ -13541,42 +11393,6 @@ func (s *InitiateAuthInput) Validate() error { return nil } -// SetAnalyticsMetadata sets the AnalyticsMetadata field's value. -func (s *InitiateAuthInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *InitiateAuthInput { - s.AnalyticsMetadata = v - return s -} - -// SetAuthFlow sets the AuthFlow field's value. -func (s *InitiateAuthInput) SetAuthFlow(v AuthFlowType) *InitiateAuthInput { - s.AuthFlow = v - return s -} - -// SetAuthParameters sets the AuthParameters field's value. -func (s *InitiateAuthInput) SetAuthParameters(v map[string]string) *InitiateAuthInput { - s.AuthParameters = v - return s -} - -// SetClientId sets the ClientId field's value. -func (s *InitiateAuthInput) SetClientId(v string) *InitiateAuthInput { - s.ClientId = &v - return s -} - -// SetClientMetadata sets the ClientMetadata field's value. -func (s *InitiateAuthInput) SetClientMetadata(v map[string]string) *InitiateAuthInput { - s.ClientMetadata = v - return s -} - -// SetUserContextData sets the UserContextData field's value. -func (s *InitiateAuthInput) SetUserContextData(v *UserContextDataType) *InitiateAuthInput { - s.UserContextData = v - return s -} - // Initiates the authentication response. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InitiateAuthResponse type InitiateAuthOutput struct { @@ -13649,30 +11465,6 @@ func (s InitiateAuthOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAuthenticationResult sets the AuthenticationResult field's value. -func (s *InitiateAuthOutput) SetAuthenticationResult(v *AuthenticationResultType) *InitiateAuthOutput { - s.AuthenticationResult = v - return s -} - -// SetChallengeName sets the ChallengeName field's value. -func (s *InitiateAuthOutput) SetChallengeName(v ChallengeNameType) *InitiateAuthOutput { - s.ChallengeName = v - return s -} - -// SetChallengeParameters sets the ChallengeParameters field's value. -func (s *InitiateAuthOutput) SetChallengeParameters(v map[string]string) *InitiateAuthOutput { - s.ChallengeParameters = v - return s -} - -// SetSession sets the Session field's value. -func (s *InitiateAuthOutput) SetSession(v string) *InitiateAuthOutput { - s.Session = &v - return s -} - // Specifies the configuration for AWS Lambda triggers. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/LambdaConfigType type LambdaConfigType struct { @@ -13753,60 +11545,6 @@ func (s *LambdaConfigType) Validate() error { return nil } -// SetCreateAuthChallenge sets the CreateAuthChallenge field's value. -func (s *LambdaConfigType) SetCreateAuthChallenge(v string) *LambdaConfigType { - s.CreateAuthChallenge = &v - return s -} - -// SetCustomMessage sets the CustomMessage field's value. -func (s *LambdaConfigType) SetCustomMessage(v string) *LambdaConfigType { - s.CustomMessage = &v - return s -} - -// SetDefineAuthChallenge sets the DefineAuthChallenge field's value. -func (s *LambdaConfigType) SetDefineAuthChallenge(v string) *LambdaConfigType { - s.DefineAuthChallenge = &v - return s -} - -// SetPostAuthentication sets the PostAuthentication field's value. -func (s *LambdaConfigType) SetPostAuthentication(v string) *LambdaConfigType { - s.PostAuthentication = &v - return s -} - -// SetPostConfirmation sets the PostConfirmation field's value. -func (s *LambdaConfigType) SetPostConfirmation(v string) *LambdaConfigType { - s.PostConfirmation = &v - return s -} - -// SetPreAuthentication sets the PreAuthentication field's value. -func (s *LambdaConfigType) SetPreAuthentication(v string) *LambdaConfigType { - s.PreAuthentication = &v - return s -} - -// SetPreSignUp sets the PreSignUp field's value. -func (s *LambdaConfigType) SetPreSignUp(v string) *LambdaConfigType { - s.PreSignUp = &v - return s -} - -// SetPreTokenGeneration sets the PreTokenGeneration field's value. -func (s *LambdaConfigType) SetPreTokenGeneration(v string) *LambdaConfigType { - s.PreTokenGeneration = &v - return s -} - -// SetVerifyAuthChallengeResponse sets the VerifyAuthChallengeResponse field's value. -func (s *LambdaConfigType) SetVerifyAuthChallengeResponse(v string) *LambdaConfigType { - s.VerifyAuthChallengeResponse = &v - return s -} - // Represents the request to list the devices. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListDevicesRequest type ListDevicesInput struct { @@ -13851,24 +11589,6 @@ func (s *ListDevicesInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *ListDevicesInput) SetAccessToken(v string) *ListDevicesInput { - s.AccessToken = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListDevicesInput) SetLimit(v int64) *ListDevicesInput { - s.Limit = &v - return s -} - -// SetPaginationToken sets the PaginationToken field's value. -func (s *ListDevicesInput) SetPaginationToken(v string) *ListDevicesInput { - s.PaginationToken = &v - return s -} - // Represents the response to list devices. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListDevicesResponse type ListDevicesOutput struct { @@ -13898,18 +11618,6 @@ func (s ListDevicesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDevices sets the Devices field's value. -func (s *ListDevicesOutput) SetDevices(v []DeviceType) *ListDevicesOutput { - s.Devices = v - return s -} - -// SetPaginationToken sets the PaginationToken field's value. -func (s *ListDevicesOutput) SetPaginationToken(v string) *ListDevicesOutput { - s.PaginationToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListGroupsRequest type ListGroupsInput struct { _ struct{} `type:"structure"` @@ -13957,27 +11665,9 @@ func (s *ListGroupsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListGroupsInput) SetLimit(v int64) *ListGroupsInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListGroupsInput) SetNextToken(v string) *ListGroupsInput { - s.NextToken = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *ListGroupsInput) SetUserPoolId(v string) *ListGroupsInput { - s.UserPoolId = &v - return s -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListGroupsResponse -type ListGroupsOutput struct { - _ struct{} `type:"structure"` +// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListGroupsResponse +type ListGroupsOutput struct { + _ struct{} `type:"structure"` responseMetadata aws.Response @@ -14004,18 +11694,6 @@ func (s ListGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroups sets the Groups field's value. -func (s *ListGroupsOutput) SetGroups(v []GroupType) *ListGroupsOutput { - s.Groups = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListGroupsOutput) SetNextToken(v string) *ListGroupsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListIdentityProvidersRequest type ListIdentityProvidersInput struct { _ struct{} `type:"structure"` @@ -14065,24 +11743,6 @@ func (s *ListIdentityProvidersInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListIdentityProvidersInput) SetMaxResults(v int64) *ListIdentityProvidersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIdentityProvidersInput) SetNextToken(v string) *ListIdentityProvidersInput { - s.NextToken = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *ListIdentityProvidersInput) SetUserPoolId(v string) *ListIdentityProvidersInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListIdentityProvidersResponse type ListIdentityProvidersOutput struct { _ struct{} `type:"structure"` @@ -14113,18 +11773,6 @@ func (s ListIdentityProvidersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListIdentityProvidersOutput) SetNextToken(v string) *ListIdentityProvidersOutput { - s.NextToken = &v - return s -} - -// SetProviders sets the Providers field's value. -func (s *ListIdentityProvidersOutput) SetProviders(v []ProviderDescription) *ListIdentityProvidersOutput { - s.Providers = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListResourceServersRequest type ListResourceServersInput struct { _ struct{} `type:"structure"` @@ -14174,24 +11822,6 @@ func (s *ListResourceServersInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListResourceServersInput) SetMaxResults(v int64) *ListResourceServersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListResourceServersInput) SetNextToken(v string) *ListResourceServersInput { - s.NextToken = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *ListResourceServersInput) SetUserPoolId(v string) *ListResourceServersInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListResourceServersResponse type ListResourceServersOutput struct { _ struct{} `type:"structure"` @@ -14222,18 +11852,6 @@ func (s ListResourceServersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListResourceServersOutput) SetNextToken(v string) *ListResourceServersOutput { - s.NextToken = &v - return s -} - -// SetResourceServers sets the ResourceServers field's value. -func (s *ListResourceServersOutput) SetResourceServers(v []ResourceServerType) *ListResourceServersOutput { - s.ResourceServers = v - return s -} - // Represents the request to list the user import jobs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserImportJobsRequest type ListUserImportJobsInput struct { @@ -14291,24 +11909,6 @@ func (s *ListUserImportJobsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListUserImportJobsInput) SetMaxResults(v int64) *ListUserImportJobsInput { - s.MaxResults = &v - return s -} - -// SetPaginationToken sets the PaginationToken field's value. -func (s *ListUserImportJobsInput) SetPaginationToken(v string) *ListUserImportJobsInput { - s.PaginationToken = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *ListUserImportJobsInput) SetUserPoolId(v string) *ListUserImportJobsInput { - s.UserPoolId = &v - return s -} - // Represents the response from the server to the request to list the user import // jobs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserImportJobsResponse @@ -14340,18 +11940,6 @@ func (s ListUserImportJobsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPaginationToken sets the PaginationToken field's value. -func (s *ListUserImportJobsOutput) SetPaginationToken(v string) *ListUserImportJobsOutput { - s.PaginationToken = &v - return s -} - -// SetUserImportJobs sets the UserImportJobs field's value. -func (s *ListUserImportJobsOutput) SetUserImportJobs(v []UserImportJobType) *ListUserImportJobsOutput { - s.UserImportJobs = v - return s -} - // Represents the request to list the user pool clients. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolClientsRequest type ListUserPoolClientsInput struct { @@ -14404,24 +11992,6 @@ func (s *ListUserPoolClientsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListUserPoolClientsInput) SetMaxResults(v int64) *ListUserPoolClientsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListUserPoolClientsInput) SetNextToken(v string) *ListUserPoolClientsInput { - s.NextToken = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *ListUserPoolClientsInput) SetUserPoolId(v string) *ListUserPoolClientsInput { - s.UserPoolId = &v - return s -} - // Represents the response from the server that lists user pool clients. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolClientsResponse type ListUserPoolClientsOutput struct { @@ -14452,18 +12022,6 @@ func (s ListUserPoolClientsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListUserPoolClientsOutput) SetNextToken(v string) *ListUserPoolClientsOutput { - s.NextToken = &v - return s -} - -// SetUserPoolClients sets the UserPoolClients field's value. -func (s *ListUserPoolClientsOutput) SetUserPoolClients(v []UserPoolClientDescription) *ListUserPoolClientsOutput { - s.UserPoolClients = v - return s -} - // Represents the request to list user pools. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolsRequest type ListUserPoolsInput struct { @@ -14510,18 +12068,6 @@ func (s *ListUserPoolsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListUserPoolsInput) SetMaxResults(v int64) *ListUserPoolsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListUserPoolsInput) SetNextToken(v string) *ListUserPoolsInput { - s.NextToken = &v - return s -} - // Represents the response to list user pools. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolsResponse type ListUserPoolsOutput struct { @@ -14552,18 +12098,6 @@ func (s ListUserPoolsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListUserPoolsOutput) SetNextToken(v string) *ListUserPoolsOutput { - s.NextToken = &v - return s -} - -// SetUserPools sets the UserPools field's value. -func (s *ListUserPoolsOutput) SetUserPools(v []UserPoolDescriptionType) *ListUserPoolsOutput { - s.UserPools = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersInGroupRequest type ListUsersInGroupInput struct { _ struct{} `type:"structure"` @@ -14623,30 +12157,6 @@ func (s *ListUsersInGroupInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *ListUsersInGroupInput) SetGroupName(v string) *ListUsersInGroupInput { - s.GroupName = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListUsersInGroupInput) SetLimit(v int64) *ListUsersInGroupInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListUsersInGroupInput) SetNextToken(v string) *ListUsersInGroupInput { - s.NextToken = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *ListUsersInGroupInput) SetUserPoolId(v string) *ListUsersInGroupInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersInGroupResponse type ListUsersInGroupOutput struct { _ struct{} `type:"structure"` @@ -14676,18 +12186,6 @@ func (s ListUsersInGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListUsersInGroupOutput) SetNextToken(v string) *ListUsersInGroupOutput { - s.NextToken = &v - return s -} - -// SetUsers sets the Users field's value. -func (s *ListUsersInGroupOutput) SetUsers(v []UserType) *ListUsersInGroupOutput { - s.Users = v - return s -} - // Represents the request to list users. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersRequest type ListUsersInput struct { @@ -14785,36 +12283,6 @@ func (s *ListUsersInput) Validate() error { return nil } -// SetAttributesToGet sets the AttributesToGet field's value. -func (s *ListUsersInput) SetAttributesToGet(v []string) *ListUsersInput { - s.AttributesToGet = v - return s -} - -// SetFilter sets the Filter field's value. -func (s *ListUsersInput) SetFilter(v string) *ListUsersInput { - s.Filter = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListUsersInput) SetLimit(v int64) *ListUsersInput { - s.Limit = &v - return s -} - -// SetPaginationToken sets the PaginationToken field's value. -func (s *ListUsersInput) SetPaginationToken(v string) *ListUsersInput { - s.PaginationToken = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *ListUsersInput) SetUserPoolId(v string) *ListUsersInput { - s.UserPoolId = &v - return s -} - // The response from the request to list users. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersResponse type ListUsersOutput struct { @@ -14845,18 +12313,6 @@ func (s ListUsersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPaginationToken sets the PaginationToken field's value. -func (s *ListUsersOutput) SetPaginationToken(v string) *ListUsersOutput { - s.PaginationToken = &v - return s -} - -// SetUsers sets the Users field's value. -func (s *ListUsersOutput) SetUsers(v []UserType) *ListUsersOutput { - s.Users = v - return s -} - // Specifies the different settings for multi-factor authentication (MFA). // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/MFAOptionType type MFAOptionType struct { @@ -14892,18 +12348,6 @@ func (s *MFAOptionType) Validate() error { return nil } -// SetAttributeName sets the AttributeName field's value. -func (s *MFAOptionType) SetAttributeName(v string) *MFAOptionType { - s.AttributeName = &v - return s -} - -// SetDeliveryMedium sets the DeliveryMedium field's value. -func (s *MFAOptionType) SetDeliveryMedium(v DeliveryMediumType) *MFAOptionType { - s.DeliveryMedium = v - return s -} - // The message template structure. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/MessageTemplateType type MessageTemplateType struct { @@ -14948,24 +12392,6 @@ func (s *MessageTemplateType) Validate() error { return nil } -// SetEmailMessage sets the EmailMessage field's value. -func (s *MessageTemplateType) SetEmailMessage(v string) *MessageTemplateType { - s.EmailMessage = &v - return s -} - -// SetEmailSubject sets the EmailSubject field's value. -func (s *MessageTemplateType) SetEmailSubject(v string) *MessageTemplateType { - s.EmailSubject = &v - return s -} - -// SetSMSMessage sets the SMSMessage field's value. -func (s *MessageTemplateType) SetSMSMessage(v string) *MessageTemplateType { - s.SMSMessage = &v - return s -} - // The new device metadata type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/NewDeviceMetadataType type NewDeviceMetadataType struct { @@ -14988,18 +12414,6 @@ func (s NewDeviceMetadataType) GoString() string { return s.String() } -// SetDeviceGroupKey sets the DeviceGroupKey field's value. -func (s *NewDeviceMetadataType) SetDeviceGroupKey(v string) *NewDeviceMetadataType { - s.DeviceGroupKey = &v - return s -} - -// SetDeviceKey sets the DeviceKey field's value. -func (s *NewDeviceMetadataType) SetDeviceKey(v string) *NewDeviceMetadataType { - s.DeviceKey = &v - return s -} - // The notify configuration type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/NotifyConfigurationType type NotifyConfigurationType struct { @@ -15073,42 +12487,6 @@ func (s *NotifyConfigurationType) Validate() error { return nil } -// SetBlockEmail sets the BlockEmail field's value. -func (s *NotifyConfigurationType) SetBlockEmail(v *NotifyEmailType) *NotifyConfigurationType { - s.BlockEmail = v - return s -} - -// SetFrom sets the From field's value. -func (s *NotifyConfigurationType) SetFrom(v string) *NotifyConfigurationType { - s.From = &v - return s -} - -// SetMfaEmail sets the MfaEmail field's value. -func (s *NotifyConfigurationType) SetMfaEmail(v *NotifyEmailType) *NotifyConfigurationType { - s.MfaEmail = v - return s -} - -// SetNoActionEmail sets the NoActionEmail field's value. -func (s *NotifyConfigurationType) SetNoActionEmail(v *NotifyEmailType) *NotifyConfigurationType { - s.NoActionEmail = v - return s -} - -// SetReplyTo sets the ReplyTo field's value. -func (s *NotifyConfigurationType) SetReplyTo(v string) *NotifyConfigurationType { - s.ReplyTo = &v - return s -} - -// SetSourceArn sets the SourceArn field's value. -func (s *NotifyConfigurationType) SetSourceArn(v string) *NotifyConfigurationType { - s.SourceArn = &v - return s -} - // The notify email type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/NotifyEmailType type NotifyEmailType struct { @@ -15159,24 +12537,6 @@ func (s *NotifyEmailType) Validate() error { return nil } -// SetHtmlBody sets the HtmlBody field's value. -func (s *NotifyEmailType) SetHtmlBody(v string) *NotifyEmailType { - s.HtmlBody = &v - return s -} - -// SetSubject sets the Subject field's value. -func (s *NotifyEmailType) SetSubject(v string) *NotifyEmailType { - s.Subject = &v - return s -} - -// SetTextBody sets the TextBody field's value. -func (s *NotifyEmailType) SetTextBody(v string) *NotifyEmailType { - s.TextBody = &v - return s -} - // The minimum and maximum value of an attribute that is of the number data // type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/NumberAttributeConstraintsType @@ -15200,18 +12560,6 @@ func (s NumberAttributeConstraintsType) GoString() string { return s.String() } -// SetMaxValue sets the MaxValue field's value. -func (s *NumberAttributeConstraintsType) SetMaxValue(v string) *NumberAttributeConstraintsType { - s.MaxValue = &v - return s -} - -// SetMinValue sets the MinValue field's value. -func (s *NumberAttributeConstraintsType) SetMinValue(v string) *NumberAttributeConstraintsType { - s.MinValue = &v - return s -} - // The password policy type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/PasswordPolicyType type PasswordPolicyType struct { @@ -15261,36 +12609,6 @@ func (s *PasswordPolicyType) Validate() error { return nil } -// SetMinimumLength sets the MinimumLength field's value. -func (s *PasswordPolicyType) SetMinimumLength(v int64) *PasswordPolicyType { - s.MinimumLength = &v - return s -} - -// SetRequireLowercase sets the RequireLowercase field's value. -func (s *PasswordPolicyType) SetRequireLowercase(v bool) *PasswordPolicyType { - s.RequireLowercase = &v - return s -} - -// SetRequireNumbers sets the RequireNumbers field's value. -func (s *PasswordPolicyType) SetRequireNumbers(v bool) *PasswordPolicyType { - s.RequireNumbers = &v - return s -} - -// SetRequireSymbols sets the RequireSymbols field's value. -func (s *PasswordPolicyType) SetRequireSymbols(v bool) *PasswordPolicyType { - s.RequireSymbols = &v - return s -} - -// SetRequireUppercase sets the RequireUppercase field's value. -func (s *PasswordPolicyType) SetRequireUppercase(v bool) *PasswordPolicyType { - s.RequireUppercase = &v - return s -} - // A container for identity provider details. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ProviderDescription type ProviderDescription struct { @@ -15319,30 +12637,6 @@ func (s ProviderDescription) GoString() string { return s.String() } -// SetCreationDate sets the CreationDate field's value. -func (s *ProviderDescription) SetCreationDate(v time.Time) *ProviderDescription { - s.CreationDate = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *ProviderDescription) SetLastModifiedDate(v time.Time) *ProviderDescription { - s.LastModifiedDate = &v - return s -} - -// SetProviderName sets the ProviderName field's value. -func (s *ProviderDescription) SetProviderName(v string) *ProviderDescription { - s.ProviderName = &v - return s -} - -// SetProviderType sets the ProviderType field's value. -func (s *ProviderDescription) SetProviderType(v IdentityProviderTypeType) *ProviderDescription { - s.ProviderType = v - return s -} - // A container for information about an identity provider for a user pool. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ProviderUserIdentifierType type ProviderUserIdentifierType struct { @@ -15381,24 +12675,6 @@ func (s *ProviderUserIdentifierType) Validate() error { return nil } -// SetProviderAttributeName sets the ProviderAttributeName field's value. -func (s *ProviderUserIdentifierType) SetProviderAttributeName(v string) *ProviderUserIdentifierType { - s.ProviderAttributeName = &v - return s -} - -// SetProviderAttributeValue sets the ProviderAttributeValue field's value. -func (s *ProviderUserIdentifierType) SetProviderAttributeValue(v string) *ProviderUserIdentifierType { - s.ProviderAttributeValue = &v - return s -} - -// SetProviderName sets the ProviderName field's value. -func (s *ProviderUserIdentifierType) SetProviderName(v string) *ProviderUserIdentifierType { - s.ProviderName = &v - return s -} - // Represents the request to resend the confirmation code. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResendConfirmationCodeRequest type ResendConfirmationCodeInput struct { @@ -15465,36 +12741,6 @@ func (s *ResendConfirmationCodeInput) Validate() error { return nil } -// SetAnalyticsMetadata sets the AnalyticsMetadata field's value. -func (s *ResendConfirmationCodeInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *ResendConfirmationCodeInput { - s.AnalyticsMetadata = v - return s -} - -// SetClientId sets the ClientId field's value. -func (s *ResendConfirmationCodeInput) SetClientId(v string) *ResendConfirmationCodeInput { - s.ClientId = &v - return s -} - -// SetSecretHash sets the SecretHash field's value. -func (s *ResendConfirmationCodeInput) SetSecretHash(v string) *ResendConfirmationCodeInput { - s.SecretHash = &v - return s -} - -// SetUserContextData sets the UserContextData field's value. -func (s *ResendConfirmationCodeInput) SetUserContextData(v *UserContextDataType) *ResendConfirmationCodeInput { - s.UserContextData = v - return s -} - -// SetUsername sets the Username field's value. -func (s *ResendConfirmationCodeInput) SetUsername(v string) *ResendConfirmationCodeInput { - s.Username = &v - return s -} - // The response from the server when the Amazon Cognito Your User Pools service // makes the request to resend a confirmation code. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResendConfirmationCodeResponse @@ -15523,12 +12769,6 @@ func (s ResendConfirmationCodeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCodeDeliveryDetails sets the CodeDeliveryDetails field's value. -func (s *ResendConfirmationCodeOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *ResendConfirmationCodeOutput { - s.CodeDeliveryDetails = v - return s -} - // A resource server scope. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResourceServerScopeType type ResourceServerScopeType struct { @@ -15579,18 +12819,6 @@ func (s *ResourceServerScopeType) Validate() error { return nil } -// SetScopeDescription sets the ScopeDescription field's value. -func (s *ResourceServerScopeType) SetScopeDescription(v string) *ResourceServerScopeType { - s.ScopeDescription = &v - return s -} - -// SetScopeName sets the ScopeName field's value. -func (s *ResourceServerScopeType) SetScopeName(v string) *ResourceServerScopeType { - s.ScopeName = &v - return s -} - // A container for information about a resource server for a user pool. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResourceServerType type ResourceServerType struct { @@ -15619,30 +12847,6 @@ func (s ResourceServerType) GoString() string { return s.String() } -// SetIdentifier sets the Identifier field's value. -func (s *ResourceServerType) SetIdentifier(v string) *ResourceServerType { - s.Identifier = &v - return s -} - -// SetName sets the Name field's value. -func (s *ResourceServerType) SetName(v string) *ResourceServerType { - s.Name = &v - return s -} - -// SetScopes sets the Scopes field's value. -func (s *ResourceServerType) SetScopes(v []ResourceServerScopeType) *ResourceServerType { - s.Scopes = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *ResourceServerType) SetUserPoolId(v string) *ResourceServerType { - s.UserPoolId = &v - return s -} - // The request to respond to an authentication challenge. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RespondToAuthChallengeRequest type RespondToAuthChallengeInput struct { @@ -15724,42 +12928,6 @@ func (s *RespondToAuthChallengeInput) Validate() error { return nil } -// SetAnalyticsMetadata sets the AnalyticsMetadata field's value. -func (s *RespondToAuthChallengeInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *RespondToAuthChallengeInput { - s.AnalyticsMetadata = v - return s -} - -// SetChallengeName sets the ChallengeName field's value. -func (s *RespondToAuthChallengeInput) SetChallengeName(v ChallengeNameType) *RespondToAuthChallengeInput { - s.ChallengeName = v - return s -} - -// SetChallengeResponses sets the ChallengeResponses field's value. -func (s *RespondToAuthChallengeInput) SetChallengeResponses(v map[string]string) *RespondToAuthChallengeInput { - s.ChallengeResponses = v - return s -} - -// SetClientId sets the ClientId field's value. -func (s *RespondToAuthChallengeInput) SetClientId(v string) *RespondToAuthChallengeInput { - s.ClientId = &v - return s -} - -// SetSession sets the Session field's value. -func (s *RespondToAuthChallengeInput) SetSession(v string) *RespondToAuthChallengeInput { - s.Session = &v - return s -} - -// SetUserContextData sets the UserContextData field's value. -func (s *RespondToAuthChallengeInput) SetUserContextData(v *UserContextDataType) *RespondToAuthChallengeInput { - s.UserContextData = v - return s -} - // The response to respond to the authentication challenge. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RespondToAuthChallengeResponse type RespondToAuthChallengeOutput struct { @@ -15800,30 +12968,6 @@ func (s RespondToAuthChallengeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAuthenticationResult sets the AuthenticationResult field's value. -func (s *RespondToAuthChallengeOutput) SetAuthenticationResult(v *AuthenticationResultType) *RespondToAuthChallengeOutput { - s.AuthenticationResult = v - return s -} - -// SetChallengeName sets the ChallengeName field's value. -func (s *RespondToAuthChallengeOutput) SetChallengeName(v ChallengeNameType) *RespondToAuthChallengeOutput { - s.ChallengeName = v - return s -} - -// SetChallengeParameters sets the ChallengeParameters field's value. -func (s *RespondToAuthChallengeOutput) SetChallengeParameters(v map[string]string) *RespondToAuthChallengeOutput { - s.ChallengeParameters = v - return s -} - -// SetSession sets the Session field's value. -func (s *RespondToAuthChallengeOutput) SetSession(v string) *RespondToAuthChallengeOutput { - s.Session = &v - return s -} - // The risk configuration type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RiskConfigurationType type RiskConfigurationType struct { @@ -15860,42 +13004,6 @@ func (s RiskConfigurationType) GoString() string { return s.String() } -// SetAccountTakeoverRiskConfiguration sets the AccountTakeoverRiskConfiguration field's value. -func (s *RiskConfigurationType) SetAccountTakeoverRiskConfiguration(v *AccountTakeoverRiskConfigurationType) *RiskConfigurationType { - s.AccountTakeoverRiskConfiguration = v - return s -} - -// SetClientId sets the ClientId field's value. -func (s *RiskConfigurationType) SetClientId(v string) *RiskConfigurationType { - s.ClientId = &v - return s -} - -// SetCompromisedCredentialsRiskConfiguration sets the CompromisedCredentialsRiskConfiguration field's value. -func (s *RiskConfigurationType) SetCompromisedCredentialsRiskConfiguration(v *CompromisedCredentialsRiskConfigurationType) *RiskConfigurationType { - s.CompromisedCredentialsRiskConfiguration = v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *RiskConfigurationType) SetLastModifiedDate(v time.Time) *RiskConfigurationType { - s.LastModifiedDate = &v - return s -} - -// SetRiskExceptionConfiguration sets the RiskExceptionConfiguration field's value. -func (s *RiskConfigurationType) SetRiskExceptionConfiguration(v *RiskExceptionConfigurationType) *RiskConfigurationType { - s.RiskExceptionConfiguration = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *RiskConfigurationType) SetUserPoolId(v string) *RiskConfigurationType { - s.UserPoolId = &v - return s -} - // The type of the configuration to override the risk decision. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RiskExceptionConfigurationType type RiskExceptionConfigurationType struct { @@ -15921,18 +13029,6 @@ func (s RiskExceptionConfigurationType) GoString() string { return s.String() } -// SetBlockedIPRangeList sets the BlockedIPRangeList field's value. -func (s *RiskExceptionConfigurationType) SetBlockedIPRangeList(v []string) *RiskExceptionConfigurationType { - s.BlockedIPRangeList = v - return s -} - -// SetSkippedIPRangeList sets the SkippedIPRangeList field's value. -func (s *RiskExceptionConfigurationType) SetSkippedIPRangeList(v []string) *RiskExceptionConfigurationType { - s.SkippedIPRangeList = v - return s -} - // The SMS multi-factor authentication (MFA) settings type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SMSMfaSettingsType type SMSMfaSettingsType struct { @@ -15955,18 +13051,6 @@ func (s SMSMfaSettingsType) GoString() string { return s.String() } -// SetEnabled sets the Enabled field's value. -func (s *SMSMfaSettingsType) SetEnabled(v bool) *SMSMfaSettingsType { - s.Enabled = &v - return s -} - -// SetPreferredMfa sets the PreferredMfa field's value. -func (s *SMSMfaSettingsType) SetPreferredMfa(v bool) *SMSMfaSettingsType { - s.PreferredMfa = &v - return s -} - // Contains information about the schema attribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SchemaAttributeType type SchemaAttributeType struct { @@ -16019,48 +13103,6 @@ func (s *SchemaAttributeType) Validate() error { return nil } -// SetAttributeDataType sets the AttributeDataType field's value. -func (s *SchemaAttributeType) SetAttributeDataType(v AttributeDataType) *SchemaAttributeType { - s.AttributeDataType = v - return s -} - -// SetDeveloperOnlyAttribute sets the DeveloperOnlyAttribute field's value. -func (s *SchemaAttributeType) SetDeveloperOnlyAttribute(v bool) *SchemaAttributeType { - s.DeveloperOnlyAttribute = &v - return s -} - -// SetMutable sets the Mutable field's value. -func (s *SchemaAttributeType) SetMutable(v bool) *SchemaAttributeType { - s.Mutable = &v - return s -} - -// SetName sets the Name field's value. -func (s *SchemaAttributeType) SetName(v string) *SchemaAttributeType { - s.Name = &v - return s -} - -// SetNumberAttributeConstraints sets the NumberAttributeConstraints field's value. -func (s *SchemaAttributeType) SetNumberAttributeConstraints(v *NumberAttributeConstraintsType) *SchemaAttributeType { - s.NumberAttributeConstraints = v - return s -} - -// SetRequired sets the Required field's value. -func (s *SchemaAttributeType) SetRequired(v bool) *SchemaAttributeType { - s.Required = &v - return s -} - -// SetStringAttributeConstraints sets the StringAttributeConstraints field's value. -func (s *SchemaAttributeType) SetStringAttributeConstraints(v *StringAttributeConstraintsType) *SchemaAttributeType { - s.StringAttributeConstraints = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetRiskConfigurationRequest type SetRiskConfigurationInput struct { _ struct{} `type:"structure"` @@ -16129,36 +13171,6 @@ func (s *SetRiskConfigurationInput) Validate() error { return nil } -// SetAccountTakeoverRiskConfiguration sets the AccountTakeoverRiskConfiguration field's value. -func (s *SetRiskConfigurationInput) SetAccountTakeoverRiskConfiguration(v *AccountTakeoverRiskConfigurationType) *SetRiskConfigurationInput { - s.AccountTakeoverRiskConfiguration = v - return s -} - -// SetClientId sets the ClientId field's value. -func (s *SetRiskConfigurationInput) SetClientId(v string) *SetRiskConfigurationInput { - s.ClientId = &v - return s -} - -// SetCompromisedCredentialsRiskConfiguration sets the CompromisedCredentialsRiskConfiguration field's value. -func (s *SetRiskConfigurationInput) SetCompromisedCredentialsRiskConfiguration(v *CompromisedCredentialsRiskConfigurationType) *SetRiskConfigurationInput { - s.CompromisedCredentialsRiskConfiguration = v - return s -} - -// SetRiskExceptionConfiguration sets the RiskExceptionConfiguration field's value. -func (s *SetRiskConfigurationInput) SetRiskExceptionConfiguration(v *RiskExceptionConfigurationType) *SetRiskConfigurationInput { - s.RiskExceptionConfiguration = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *SetRiskConfigurationInput) SetUserPoolId(v string) *SetRiskConfigurationInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetRiskConfigurationResponse type SetRiskConfigurationOutput struct { _ struct{} `type:"structure"` @@ -16186,12 +13198,6 @@ func (s SetRiskConfigurationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRiskConfiguration sets the RiskConfiguration field's value. -func (s *SetRiskConfigurationOutput) SetRiskConfiguration(v *RiskConfigurationType) *SetRiskConfigurationOutput { - s.RiskConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUICustomizationRequest type SetUICustomizationInput struct { _ struct{} `type:"structure"` @@ -16243,30 +13249,6 @@ func (s *SetUICustomizationInput) Validate() error { return nil } -// SetCSS sets the CSS field's value. -func (s *SetUICustomizationInput) SetCSS(v string) *SetUICustomizationInput { - s.CSS = &v - return s -} - -// SetClientId sets the ClientId field's value. -func (s *SetUICustomizationInput) SetClientId(v string) *SetUICustomizationInput { - s.ClientId = &v - return s -} - -// SetImageFile sets the ImageFile field's value. -func (s *SetUICustomizationInput) SetImageFile(v []byte) *SetUICustomizationInput { - s.ImageFile = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *SetUICustomizationInput) SetUserPoolId(v string) *SetUICustomizationInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUICustomizationResponse type SetUICustomizationOutput struct { _ struct{} `type:"structure"` @@ -16294,12 +13276,6 @@ func (s SetUICustomizationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUICustomization sets the UICustomization field's value. -func (s *SetUICustomizationOutput) SetUICustomization(v *UICustomizationType) *SetUICustomizationOutput { - s.UICustomization = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserMFAPreferenceRequest type SetUserMFAPreferenceInput struct { _ struct{} `type:"structure"` @@ -16340,24 +13316,6 @@ func (s *SetUserMFAPreferenceInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *SetUserMFAPreferenceInput) SetAccessToken(v string) *SetUserMFAPreferenceInput { - s.AccessToken = &v - return s -} - -// SetSMSMfaSettings sets the SMSMfaSettings field's value. -func (s *SetUserMFAPreferenceInput) SetSMSMfaSettings(v *SMSMfaSettingsType) *SetUserMFAPreferenceInput { - s.SMSMfaSettings = v - return s -} - -// SetSoftwareTokenMfaSettings sets the SoftwareTokenMfaSettings field's value. -func (s *SetUserMFAPreferenceInput) SetSoftwareTokenMfaSettings(v *SoftwareTokenMfaSettingsType) *SetUserMFAPreferenceInput { - s.SoftwareTokenMfaSettings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserMFAPreferenceResponse type SetUserMFAPreferenceOutput struct { _ struct{} `type:"structure"` @@ -16431,33 +13389,9 @@ func (s *SetUserPoolMfaConfigInput) Validate() error { return nil } -// SetMfaConfiguration sets the MfaConfiguration field's value. -func (s *SetUserPoolMfaConfigInput) SetMfaConfiguration(v UserPoolMfaType) *SetUserPoolMfaConfigInput { - s.MfaConfiguration = v - return s -} - -// SetSmsMfaConfiguration sets the SmsMfaConfiguration field's value. -func (s *SetUserPoolMfaConfigInput) SetSmsMfaConfiguration(v *SmsMfaConfigType) *SetUserPoolMfaConfigInput { - s.SmsMfaConfiguration = v - return s -} - -// SetSoftwareTokenMfaConfiguration sets the SoftwareTokenMfaConfiguration field's value. -func (s *SetUserPoolMfaConfigInput) SetSoftwareTokenMfaConfiguration(v *SoftwareTokenMfaConfigType) *SetUserPoolMfaConfigInput { - s.SoftwareTokenMfaConfiguration = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *SetUserPoolMfaConfigInput) SetUserPoolId(v string) *SetUserPoolMfaConfigInput { - s.UserPoolId = &v - return s -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserPoolMfaConfigResponse -type SetUserPoolMfaConfigOutput struct { - _ struct{} `type:"structure"` +// Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserPoolMfaConfigResponse +type SetUserPoolMfaConfigOutput struct { + _ struct{} `type:"structure"` responseMetadata aws.Response @@ -16486,24 +13420,6 @@ func (s SetUserPoolMfaConfigOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMfaConfiguration sets the MfaConfiguration field's value. -func (s *SetUserPoolMfaConfigOutput) SetMfaConfiguration(v UserPoolMfaType) *SetUserPoolMfaConfigOutput { - s.MfaConfiguration = v - return s -} - -// SetSmsMfaConfiguration sets the SmsMfaConfiguration field's value. -func (s *SetUserPoolMfaConfigOutput) SetSmsMfaConfiguration(v *SmsMfaConfigType) *SetUserPoolMfaConfigOutput { - s.SmsMfaConfiguration = v - return s -} - -// SetSoftwareTokenMfaConfiguration sets the SoftwareTokenMfaConfiguration field's value. -func (s *SetUserPoolMfaConfigOutput) SetSoftwareTokenMfaConfiguration(v *SoftwareTokenMfaConfigType) *SetUserPoolMfaConfigOutput { - s.SoftwareTokenMfaConfiguration = v - return s -} - // Represents the request to set user settings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserSettingsRequest type SetUserSettingsInput struct { @@ -16555,18 +13471,6 @@ func (s *SetUserSettingsInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *SetUserSettingsInput) SetAccessToken(v string) *SetUserSettingsInput { - s.AccessToken = &v - return s -} - -// SetMFAOptions sets the MFAOptions field's value. -func (s *SetUserSettingsInput) SetMFAOptions(v []MFAOptionType) *SetUserSettingsInput { - s.MFAOptions = v - return s -} - // The response from the server for a set user settings request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserSettingsResponse type SetUserSettingsOutput struct { @@ -16691,54 +13595,6 @@ func (s *SignUpInput) Validate() error { return nil } -// SetAnalyticsMetadata sets the AnalyticsMetadata field's value. -func (s *SignUpInput) SetAnalyticsMetadata(v *AnalyticsMetadataType) *SignUpInput { - s.AnalyticsMetadata = v - return s -} - -// SetClientId sets the ClientId field's value. -func (s *SignUpInput) SetClientId(v string) *SignUpInput { - s.ClientId = &v - return s -} - -// SetPassword sets the Password field's value. -func (s *SignUpInput) SetPassword(v string) *SignUpInput { - s.Password = &v - return s -} - -// SetSecretHash sets the SecretHash field's value. -func (s *SignUpInput) SetSecretHash(v string) *SignUpInput { - s.SecretHash = &v - return s -} - -// SetUserAttributes sets the UserAttributes field's value. -func (s *SignUpInput) SetUserAttributes(v []AttributeType) *SignUpInput { - s.UserAttributes = v - return s -} - -// SetUserContextData sets the UserContextData field's value. -func (s *SignUpInput) SetUserContextData(v *UserContextDataType) *SignUpInput { - s.UserContextData = v - return s -} - -// SetUsername sets the Username field's value. -func (s *SignUpInput) SetUsername(v string) *SignUpInput { - s.Username = &v - return s -} - -// SetValidationData sets the ValidationData field's value. -func (s *SignUpInput) SetValidationData(v []AttributeType) *SignUpInput { - s.ValidationData = v - return s -} - // The response from the server for a registration request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SignUpResponse type SignUpOutput struct { @@ -16776,24 +13632,6 @@ func (s SignUpOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCodeDeliveryDetails sets the CodeDeliveryDetails field's value. -func (s *SignUpOutput) SetCodeDeliveryDetails(v *CodeDeliveryDetailsType) *SignUpOutput { - s.CodeDeliveryDetails = v - return s -} - -// SetUserConfirmed sets the UserConfirmed field's value. -func (s *SignUpOutput) SetUserConfirmed(v bool) *SignUpOutput { - s.UserConfirmed = &v - return s -} - -// SetUserSub sets the UserSub field's value. -func (s *SignUpOutput) SetUserSub(v string) *SignUpOutput { - s.UserSub = &v - return s -} - // The SMS configuration type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SmsConfigurationType type SmsConfigurationType struct { @@ -16836,18 +13674,6 @@ func (s *SmsConfigurationType) Validate() error { return nil } -// SetExternalId sets the ExternalId field's value. -func (s *SmsConfigurationType) SetExternalId(v string) *SmsConfigurationType { - s.ExternalId = &v - return s -} - -// SetSnsCallerArn sets the SnsCallerArn field's value. -func (s *SmsConfigurationType) SetSnsCallerArn(v string) *SmsConfigurationType { - s.SnsCallerArn = &v - return s -} - // The SMS text message multi-factor authentication (MFA) configuration type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SmsMfaConfigType type SmsMfaConfigType struct { @@ -16888,18 +13714,6 @@ func (s *SmsMfaConfigType) Validate() error { return nil } -// SetSmsAuthenticationMessage sets the SmsAuthenticationMessage field's value. -func (s *SmsMfaConfigType) SetSmsAuthenticationMessage(v string) *SmsMfaConfigType { - s.SmsAuthenticationMessage = &v - return s -} - -// SetSmsConfiguration sets the SmsConfiguration field's value. -func (s *SmsMfaConfigType) SetSmsConfiguration(v *SmsConfigurationType) *SmsMfaConfigType { - s.SmsConfiguration = v - return s -} - // The type used for enabling software token MFA at the user pool level. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SoftwareTokenMfaConfigType type SoftwareTokenMfaConfigType struct { @@ -16919,12 +13733,6 @@ func (s SoftwareTokenMfaConfigType) GoString() string { return s.String() } -// SetEnabled sets the Enabled field's value. -func (s *SoftwareTokenMfaConfigType) SetEnabled(v bool) *SoftwareTokenMfaConfigType { - s.Enabled = &v - return s -} - // The type used for enabling software token MFA at the user level. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SoftwareTokenMfaSettingsType type SoftwareTokenMfaSettingsType struct { @@ -16947,18 +13755,6 @@ func (s SoftwareTokenMfaSettingsType) GoString() string { return s.String() } -// SetEnabled sets the Enabled field's value. -func (s *SoftwareTokenMfaSettingsType) SetEnabled(v bool) *SoftwareTokenMfaSettingsType { - s.Enabled = &v - return s -} - -// SetPreferredMfa sets the PreferredMfa field's value. -func (s *SoftwareTokenMfaSettingsType) SetPreferredMfa(v bool) *SoftwareTokenMfaSettingsType { - s.PreferredMfa = &v - return s -} - // Represents the request to start the user import job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StartUserImportJobRequest type StartUserImportJobInput struct { @@ -17009,18 +13805,6 @@ func (s *StartUserImportJobInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *StartUserImportJobInput) SetJobId(v string) *StartUserImportJobInput { - s.JobId = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *StartUserImportJobInput) SetUserPoolId(v string) *StartUserImportJobInput { - s.UserPoolId = &v - return s -} - // Represents the response from the server to the request to start the user // import job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StartUserImportJobResponse @@ -17048,12 +13832,6 @@ func (s StartUserImportJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUserImportJob sets the UserImportJob field's value. -func (s *StartUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *StartUserImportJobOutput { - s.UserImportJob = v - return s -} - // Represents the request to stop the user import job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StopUserImportJobRequest type StopUserImportJobInput struct { @@ -17104,18 +13882,6 @@ func (s *StopUserImportJobInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *StopUserImportJobInput) SetJobId(v string) *StopUserImportJobInput { - s.JobId = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *StopUserImportJobInput) SetUserPoolId(v string) *StopUserImportJobInput { - s.UserPoolId = &v - return s -} - // Represents the response from the server to the request to stop the user import // job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StopUserImportJobResponse @@ -17143,12 +13909,6 @@ func (s StopUserImportJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUserImportJob sets the UserImportJob field's value. -func (s *StopUserImportJobOutput) SetUserImportJob(v *UserImportJobType) *StopUserImportJobOutput { - s.UserImportJob = v - return s -} - // The constraints associated with a string attribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StringAttributeConstraintsType type StringAttributeConstraintsType struct { @@ -17171,18 +13931,6 @@ func (s StringAttributeConstraintsType) GoString() string { return s.String() } -// SetMaxLength sets the MaxLength field's value. -func (s *StringAttributeConstraintsType) SetMaxLength(v string) *StringAttributeConstraintsType { - s.MaxLength = &v - return s -} - -// SetMinLength sets the MinLength field's value. -func (s *StringAttributeConstraintsType) SetMinLength(v string) *StringAttributeConstraintsType { - s.MinLength = &v - return s -} - // A container for the UI customization information for a user pool's built-in // app UI. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UICustomizationType @@ -17221,48 +13969,6 @@ func (s UICustomizationType) GoString() string { return s.String() } -// SetCSS sets the CSS field's value. -func (s *UICustomizationType) SetCSS(v string) *UICustomizationType { - s.CSS = &v - return s -} - -// SetCSSVersion sets the CSSVersion field's value. -func (s *UICustomizationType) SetCSSVersion(v string) *UICustomizationType { - s.CSSVersion = &v - return s -} - -// SetClientId sets the ClientId field's value. -func (s *UICustomizationType) SetClientId(v string) *UICustomizationType { - s.ClientId = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *UICustomizationType) SetCreationDate(v time.Time) *UICustomizationType { - s.CreationDate = &v - return s -} - -// SetImageUrl sets the ImageUrl field's value. -func (s *UICustomizationType) SetImageUrl(v string) *UICustomizationType { - s.ImageUrl = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *UICustomizationType) SetLastModifiedDate(v time.Time) *UICustomizationType { - s.LastModifiedDate = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *UICustomizationType) SetUserPoolId(v string) *UICustomizationType { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateAuthEventFeedbackRequest type UpdateAuthEventFeedbackInput struct { _ struct{} `type:"structure"` @@ -17341,36 +14047,6 @@ func (s *UpdateAuthEventFeedbackInput) Validate() error { return nil } -// SetEventId sets the EventId field's value. -func (s *UpdateAuthEventFeedbackInput) SetEventId(v string) *UpdateAuthEventFeedbackInput { - s.EventId = &v - return s -} - -// SetFeedbackToken sets the FeedbackToken field's value. -func (s *UpdateAuthEventFeedbackInput) SetFeedbackToken(v string) *UpdateAuthEventFeedbackInput { - s.FeedbackToken = &v - return s -} - -// SetFeedbackValue sets the FeedbackValue field's value. -func (s *UpdateAuthEventFeedbackInput) SetFeedbackValue(v FeedbackValueType) *UpdateAuthEventFeedbackInput { - s.FeedbackValue = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *UpdateAuthEventFeedbackInput) SetUserPoolId(v string) *UpdateAuthEventFeedbackInput { - s.UserPoolId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *UpdateAuthEventFeedbackInput) SetUsername(v string) *UpdateAuthEventFeedbackInput { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateAuthEventFeedbackResponse type UpdateAuthEventFeedbackOutput struct { _ struct{} `type:"structure"` @@ -17443,24 +14119,6 @@ func (s *UpdateDeviceStatusInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *UpdateDeviceStatusInput) SetAccessToken(v string) *UpdateDeviceStatusInput { - s.AccessToken = &v - return s -} - -// SetDeviceKey sets the DeviceKey field's value. -func (s *UpdateDeviceStatusInput) SetDeviceKey(v string) *UpdateDeviceStatusInput { - s.DeviceKey = &v - return s -} - -// SetDeviceRememberedStatus sets the DeviceRememberedStatus field's value. -func (s *UpdateDeviceStatusInput) SetDeviceRememberedStatus(v DeviceRememberedStatusType) *UpdateDeviceStatusInput { - s.DeviceRememberedStatus = v - return s -} - // The response to the request to update the device status. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateDeviceStatusResponse type UpdateDeviceStatusOutput struct { @@ -17547,36 +14205,6 @@ func (s *UpdateGroupInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *UpdateGroupInput) SetDescription(v string) *UpdateGroupInput { - s.Description = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *UpdateGroupInput) SetGroupName(v string) *UpdateGroupInput { - s.GroupName = &v - return s -} - -// SetPrecedence sets the Precedence field's value. -func (s *UpdateGroupInput) SetPrecedence(v int64) *UpdateGroupInput { - s.Precedence = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *UpdateGroupInput) SetRoleArn(v string) *UpdateGroupInput { - s.RoleArn = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *UpdateGroupInput) SetUserPoolId(v string) *UpdateGroupInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateGroupResponse type UpdateGroupOutput struct { _ struct{} `type:"structure"` @@ -17602,12 +14230,6 @@ func (s UpdateGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroup sets the Group field's value. -func (s *UpdateGroupOutput) SetGroup(v *GroupType) *UpdateGroupOutput { - s.Group = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateIdentityProviderRequest type UpdateIdentityProviderInput struct { _ struct{} `type:"structure"` @@ -17666,36 +14288,6 @@ func (s *UpdateIdentityProviderInput) Validate() error { return nil } -// SetAttributeMapping sets the AttributeMapping field's value. -func (s *UpdateIdentityProviderInput) SetAttributeMapping(v map[string]string) *UpdateIdentityProviderInput { - s.AttributeMapping = v - return s -} - -// SetIdpIdentifiers sets the IdpIdentifiers field's value. -func (s *UpdateIdentityProviderInput) SetIdpIdentifiers(v []string) *UpdateIdentityProviderInput { - s.IdpIdentifiers = v - return s -} - -// SetProviderDetails sets the ProviderDetails field's value. -func (s *UpdateIdentityProviderInput) SetProviderDetails(v map[string]string) *UpdateIdentityProviderInput { - s.ProviderDetails = v - return s -} - -// SetProviderName sets the ProviderName field's value. -func (s *UpdateIdentityProviderInput) SetProviderName(v string) *UpdateIdentityProviderInput { - s.ProviderName = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *UpdateIdentityProviderInput) SetUserPoolId(v string) *UpdateIdentityProviderInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateIdentityProviderResponse type UpdateIdentityProviderOutput struct { _ struct{} `type:"structure"` @@ -17723,12 +14315,6 @@ func (s UpdateIdentityProviderOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIdentityProvider sets the IdentityProvider field's value. -func (s *UpdateIdentityProviderOutput) SetIdentityProvider(v *IdentityProviderType) *UpdateIdentityProviderOutput { - s.IdentityProvider = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateResourceServerRequest type UpdateResourceServerInput struct { _ struct{} `type:"structure"` @@ -17800,30 +14386,6 @@ func (s *UpdateResourceServerInput) Validate() error { return nil } -// SetIdentifier sets the Identifier field's value. -func (s *UpdateResourceServerInput) SetIdentifier(v string) *UpdateResourceServerInput { - s.Identifier = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateResourceServerInput) SetName(v string) *UpdateResourceServerInput { - s.Name = &v - return s -} - -// SetScopes sets the Scopes field's value. -func (s *UpdateResourceServerInput) SetScopes(v []ResourceServerScopeType) *UpdateResourceServerInput { - s.Scopes = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *UpdateResourceServerInput) SetUserPoolId(v string) *UpdateResourceServerInput { - s.UserPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateResourceServerResponse type UpdateResourceServerOutput struct { _ struct{} `type:"structure"` @@ -17851,12 +14413,6 @@ func (s UpdateResourceServerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResourceServer sets the ResourceServer field's value. -func (s *UpdateResourceServerOutput) SetResourceServer(v *ResourceServerType) *UpdateResourceServerOutput { - s.ResourceServer = v - return s -} - // Represents the request to update user attributes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserAttributesRequest type UpdateUserAttributesInput struct { @@ -17911,18 +14467,6 @@ func (s *UpdateUserAttributesInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *UpdateUserAttributesInput) SetAccessToken(v string) *UpdateUserAttributesInput { - s.AccessToken = &v - return s -} - -// SetUserAttributes sets the UserAttributes field's value. -func (s *UpdateUserAttributesInput) SetUserAttributes(v []AttributeType) *UpdateUserAttributesInput { - s.UserAttributes = v - return s -} - // Represents the response from the server for the request to update user attributes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserAttributesResponse type UpdateUserAttributesOutput struct { @@ -17950,12 +14494,6 @@ func (s UpdateUserAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCodeDeliveryDetailsList sets the CodeDeliveryDetailsList field's value. -func (s *UpdateUserAttributesOutput) SetCodeDeliveryDetailsList(v []CodeDeliveryDetailsType) *UpdateUserAttributesOutput { - s.CodeDeliveryDetailsList = v - return s -} - // Represents the request to update the user pool client. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolClientRequest type UpdateUserPoolClientInput struct { @@ -18067,96 +14605,6 @@ func (s *UpdateUserPoolClientInput) Validate() error { return nil } -// SetAllowedOAuthFlows sets the AllowedOAuthFlows field's value. -func (s *UpdateUserPoolClientInput) SetAllowedOAuthFlows(v []OAuthFlowType) *UpdateUserPoolClientInput { - s.AllowedOAuthFlows = v - return s -} - -// SetAllowedOAuthFlowsUserPoolClient sets the AllowedOAuthFlowsUserPoolClient field's value. -func (s *UpdateUserPoolClientInput) SetAllowedOAuthFlowsUserPoolClient(v bool) *UpdateUserPoolClientInput { - s.AllowedOAuthFlowsUserPoolClient = &v - return s -} - -// SetAllowedOAuthScopes sets the AllowedOAuthScopes field's value. -func (s *UpdateUserPoolClientInput) SetAllowedOAuthScopes(v []string) *UpdateUserPoolClientInput { - s.AllowedOAuthScopes = v - return s -} - -// SetAnalyticsConfiguration sets the AnalyticsConfiguration field's value. -func (s *UpdateUserPoolClientInput) SetAnalyticsConfiguration(v *AnalyticsConfigurationType) *UpdateUserPoolClientInput { - s.AnalyticsConfiguration = v - return s -} - -// SetCallbackURLs sets the CallbackURLs field's value. -func (s *UpdateUserPoolClientInput) SetCallbackURLs(v []string) *UpdateUserPoolClientInput { - s.CallbackURLs = v - return s -} - -// SetClientId sets the ClientId field's value. -func (s *UpdateUserPoolClientInput) SetClientId(v string) *UpdateUserPoolClientInput { - s.ClientId = &v - return s -} - -// SetClientName sets the ClientName field's value. -func (s *UpdateUserPoolClientInput) SetClientName(v string) *UpdateUserPoolClientInput { - s.ClientName = &v - return s -} - -// SetDefaultRedirectURI sets the DefaultRedirectURI field's value. -func (s *UpdateUserPoolClientInput) SetDefaultRedirectURI(v string) *UpdateUserPoolClientInput { - s.DefaultRedirectURI = &v - return s -} - -// SetExplicitAuthFlows sets the ExplicitAuthFlows field's value. -func (s *UpdateUserPoolClientInput) SetExplicitAuthFlows(v []ExplicitAuthFlowsType) *UpdateUserPoolClientInput { - s.ExplicitAuthFlows = v - return s -} - -// SetLogoutURLs sets the LogoutURLs field's value. -func (s *UpdateUserPoolClientInput) SetLogoutURLs(v []string) *UpdateUserPoolClientInput { - s.LogoutURLs = v - return s -} - -// SetReadAttributes sets the ReadAttributes field's value. -func (s *UpdateUserPoolClientInput) SetReadAttributes(v []string) *UpdateUserPoolClientInput { - s.ReadAttributes = v - return s -} - -// SetRefreshTokenValidity sets the RefreshTokenValidity field's value. -func (s *UpdateUserPoolClientInput) SetRefreshTokenValidity(v int64) *UpdateUserPoolClientInput { - s.RefreshTokenValidity = &v - return s -} - -// SetSupportedIdentityProviders sets the SupportedIdentityProviders field's value. -func (s *UpdateUserPoolClientInput) SetSupportedIdentityProviders(v []string) *UpdateUserPoolClientInput { - s.SupportedIdentityProviders = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *UpdateUserPoolClientInput) SetUserPoolId(v string) *UpdateUserPoolClientInput { - s.UserPoolId = &v - return s -} - -// SetWriteAttributes sets the WriteAttributes field's value. -func (s *UpdateUserPoolClientInput) SetWriteAttributes(v []string) *UpdateUserPoolClientInput { - s.WriteAttributes = v - return s -} - // Represents the response from the server to the request to update the user // pool client. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolClientResponse @@ -18185,12 +14633,6 @@ func (s UpdateUserPoolClientOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUserPoolClient sets the UserPoolClient field's value. -func (s *UpdateUserPoolClientOutput) SetUserPoolClient(v *UserPoolClientType) *UpdateUserPoolClientOutput { - s.UserPoolClient = v - return s -} - // Represents the request to update the user pool. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolRequest type UpdateUserPoolInput struct { @@ -18333,102 +14775,6 @@ func (s *UpdateUserPoolInput) Validate() error { return nil } -// SetAdminCreateUserConfig sets the AdminCreateUserConfig field's value. -func (s *UpdateUserPoolInput) SetAdminCreateUserConfig(v *AdminCreateUserConfigType) *UpdateUserPoolInput { - s.AdminCreateUserConfig = v - return s -} - -// SetAutoVerifiedAttributes sets the AutoVerifiedAttributes field's value. -func (s *UpdateUserPoolInput) SetAutoVerifiedAttributes(v []VerifiedAttributeType) *UpdateUserPoolInput { - s.AutoVerifiedAttributes = v - return s -} - -// SetDeviceConfiguration sets the DeviceConfiguration field's value. -func (s *UpdateUserPoolInput) SetDeviceConfiguration(v *DeviceConfigurationType) *UpdateUserPoolInput { - s.DeviceConfiguration = v - return s -} - -// SetEmailConfiguration sets the EmailConfiguration field's value. -func (s *UpdateUserPoolInput) SetEmailConfiguration(v *EmailConfigurationType) *UpdateUserPoolInput { - s.EmailConfiguration = v - return s -} - -// SetEmailVerificationMessage sets the EmailVerificationMessage field's value. -func (s *UpdateUserPoolInput) SetEmailVerificationMessage(v string) *UpdateUserPoolInput { - s.EmailVerificationMessage = &v - return s -} - -// SetEmailVerificationSubject sets the EmailVerificationSubject field's value. -func (s *UpdateUserPoolInput) SetEmailVerificationSubject(v string) *UpdateUserPoolInput { - s.EmailVerificationSubject = &v - return s -} - -// SetLambdaConfig sets the LambdaConfig field's value. -func (s *UpdateUserPoolInput) SetLambdaConfig(v *LambdaConfigType) *UpdateUserPoolInput { - s.LambdaConfig = v - return s -} - -// SetMfaConfiguration sets the MfaConfiguration field's value. -func (s *UpdateUserPoolInput) SetMfaConfiguration(v UserPoolMfaType) *UpdateUserPoolInput { - s.MfaConfiguration = v - return s -} - -// SetPolicies sets the Policies field's value. -func (s *UpdateUserPoolInput) SetPolicies(v *UserPoolPolicyType) *UpdateUserPoolInput { - s.Policies = v - return s -} - -// SetSmsAuthenticationMessage sets the SmsAuthenticationMessage field's value. -func (s *UpdateUserPoolInput) SetSmsAuthenticationMessage(v string) *UpdateUserPoolInput { - s.SmsAuthenticationMessage = &v - return s -} - -// SetSmsConfiguration sets the SmsConfiguration field's value. -func (s *UpdateUserPoolInput) SetSmsConfiguration(v *SmsConfigurationType) *UpdateUserPoolInput { - s.SmsConfiguration = v - return s -} - -// SetSmsVerificationMessage sets the SmsVerificationMessage field's value. -func (s *UpdateUserPoolInput) SetSmsVerificationMessage(v string) *UpdateUserPoolInput { - s.SmsVerificationMessage = &v - return s -} - -// SetUserPoolAddOns sets the UserPoolAddOns field's value. -func (s *UpdateUserPoolInput) SetUserPoolAddOns(v *UserPoolAddOnsType) *UpdateUserPoolInput { - s.UserPoolAddOns = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *UpdateUserPoolInput) SetUserPoolId(v string) *UpdateUserPoolInput { - s.UserPoolId = &v - return s -} - -// SetUserPoolTags sets the UserPoolTags field's value. -func (s *UpdateUserPoolInput) SetUserPoolTags(v map[string]string) *UpdateUserPoolInput { - s.UserPoolTags = v - return s -} - -// SetVerificationMessageTemplate sets the VerificationMessageTemplate field's value. -func (s *UpdateUserPoolInput) SetVerificationMessageTemplate(v *VerificationMessageTemplateType) *UpdateUserPoolInput { - s.VerificationMessageTemplate = v - return s -} - // Represents the response from the server when you make a request to update // the user pool. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolResponse @@ -18476,12 +14822,6 @@ func (s UserContextDataType) GoString() string { return s.String() } -// SetEncodedData sets the EncodedData field's value. -func (s *UserContextDataType) SetEncodedData(v string) *UserContextDataType { - s.EncodedData = &v - return s -} - // The user import job type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserImportJobType type UserImportJobType struct { @@ -18560,84 +14900,6 @@ func (s UserImportJobType) GoString() string { return s.String() } -// SetCloudWatchLogsRoleArn sets the CloudWatchLogsRoleArn field's value. -func (s *UserImportJobType) SetCloudWatchLogsRoleArn(v string) *UserImportJobType { - s.CloudWatchLogsRoleArn = &v - return s -} - -// SetCompletionDate sets the CompletionDate field's value. -func (s *UserImportJobType) SetCompletionDate(v time.Time) *UserImportJobType { - s.CompletionDate = &v - return s -} - -// SetCompletionMessage sets the CompletionMessage field's value. -func (s *UserImportJobType) SetCompletionMessage(v string) *UserImportJobType { - s.CompletionMessage = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *UserImportJobType) SetCreationDate(v time.Time) *UserImportJobType { - s.CreationDate = &v - return s -} - -// SetFailedUsers sets the FailedUsers field's value. -func (s *UserImportJobType) SetFailedUsers(v int64) *UserImportJobType { - s.FailedUsers = &v - return s -} - -// SetImportedUsers sets the ImportedUsers field's value. -func (s *UserImportJobType) SetImportedUsers(v int64) *UserImportJobType { - s.ImportedUsers = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *UserImportJobType) SetJobId(v string) *UserImportJobType { - s.JobId = &v - return s -} - -// SetJobName sets the JobName field's value. -func (s *UserImportJobType) SetJobName(v string) *UserImportJobType { - s.JobName = &v - return s -} - -// SetPreSignedUrl sets the PreSignedUrl field's value. -func (s *UserImportJobType) SetPreSignedUrl(v string) *UserImportJobType { - s.PreSignedUrl = &v - return s -} - -// SetSkippedUsers sets the SkippedUsers field's value. -func (s *UserImportJobType) SetSkippedUsers(v int64) *UserImportJobType { - s.SkippedUsers = &v - return s -} - -// SetStartDate sets the StartDate field's value. -func (s *UserImportJobType) SetStartDate(v time.Time) *UserImportJobType { - s.StartDate = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *UserImportJobType) SetStatus(v UserImportJobStatusType) *UserImportJobType { - s.Status = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *UserImportJobType) SetUserPoolId(v string) *UserImportJobType { - s.UserPoolId = &v - return s -} - // The user pool add-ons type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolAddOnsType type UserPoolAddOnsType struct { @@ -18672,12 +14934,6 @@ func (s *UserPoolAddOnsType) Validate() error { return nil } -// SetAdvancedSecurityMode sets the AdvancedSecurityMode field's value. -func (s *UserPoolAddOnsType) SetAdvancedSecurityMode(v AdvancedSecurityModeType) *UserPoolAddOnsType { - s.AdvancedSecurityMode = v - return s -} - // The description of the user pool client. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolClientDescription type UserPoolClientDescription struct { @@ -18704,24 +14960,6 @@ func (s UserPoolClientDescription) GoString() string { return s.String() } -// SetClientId sets the ClientId field's value. -func (s *UserPoolClientDescription) SetClientId(v string) *UserPoolClientDescription { - s.ClientId = &v - return s -} - -// SetClientName sets the ClientName field's value. -func (s *UserPoolClientDescription) SetClientName(v string) *UserPoolClientDescription { - s.ClientName = &v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *UserPoolClientDescription) SetUserPoolId(v string) *UserPoolClientDescription { - s.UserPoolId = &v - return s -} - // Contains information about a user pool client. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolClientType type UserPoolClientType struct { @@ -18801,114 +15039,6 @@ func (s UserPoolClientType) GoString() string { return s.String() } -// SetAllowedOAuthFlows sets the AllowedOAuthFlows field's value. -func (s *UserPoolClientType) SetAllowedOAuthFlows(v []OAuthFlowType) *UserPoolClientType { - s.AllowedOAuthFlows = v - return s -} - -// SetAllowedOAuthFlowsUserPoolClient sets the AllowedOAuthFlowsUserPoolClient field's value. -func (s *UserPoolClientType) SetAllowedOAuthFlowsUserPoolClient(v bool) *UserPoolClientType { - s.AllowedOAuthFlowsUserPoolClient = &v - return s -} - -// SetAllowedOAuthScopes sets the AllowedOAuthScopes field's value. -func (s *UserPoolClientType) SetAllowedOAuthScopes(v []string) *UserPoolClientType { - s.AllowedOAuthScopes = v - return s -} - -// SetAnalyticsConfiguration sets the AnalyticsConfiguration field's value. -func (s *UserPoolClientType) SetAnalyticsConfiguration(v *AnalyticsConfigurationType) *UserPoolClientType { - s.AnalyticsConfiguration = v - return s -} - -// SetCallbackURLs sets the CallbackURLs field's value. -func (s *UserPoolClientType) SetCallbackURLs(v []string) *UserPoolClientType { - s.CallbackURLs = v - return s -} - -// SetClientId sets the ClientId field's value. -func (s *UserPoolClientType) SetClientId(v string) *UserPoolClientType { - s.ClientId = &v - return s -} - -// SetClientName sets the ClientName field's value. -func (s *UserPoolClientType) SetClientName(v string) *UserPoolClientType { - s.ClientName = &v - return s -} - -// SetClientSecret sets the ClientSecret field's value. -func (s *UserPoolClientType) SetClientSecret(v string) *UserPoolClientType { - s.ClientSecret = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *UserPoolClientType) SetCreationDate(v time.Time) *UserPoolClientType { - s.CreationDate = &v - return s -} - -// SetDefaultRedirectURI sets the DefaultRedirectURI field's value. -func (s *UserPoolClientType) SetDefaultRedirectURI(v string) *UserPoolClientType { - s.DefaultRedirectURI = &v - return s -} - -// SetExplicitAuthFlows sets the ExplicitAuthFlows field's value. -func (s *UserPoolClientType) SetExplicitAuthFlows(v []ExplicitAuthFlowsType) *UserPoolClientType { - s.ExplicitAuthFlows = v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *UserPoolClientType) SetLastModifiedDate(v time.Time) *UserPoolClientType { - s.LastModifiedDate = &v - return s -} - -// SetLogoutURLs sets the LogoutURLs field's value. -func (s *UserPoolClientType) SetLogoutURLs(v []string) *UserPoolClientType { - s.LogoutURLs = v - return s -} - -// SetReadAttributes sets the ReadAttributes field's value. -func (s *UserPoolClientType) SetReadAttributes(v []string) *UserPoolClientType { - s.ReadAttributes = v - return s -} - -// SetRefreshTokenValidity sets the RefreshTokenValidity field's value. -func (s *UserPoolClientType) SetRefreshTokenValidity(v int64) *UserPoolClientType { - s.RefreshTokenValidity = &v - return s -} - -// SetSupportedIdentityProviders sets the SupportedIdentityProviders field's value. -func (s *UserPoolClientType) SetSupportedIdentityProviders(v []string) *UserPoolClientType { - s.SupportedIdentityProviders = v - return s -} - -// SetUserPoolId sets the UserPoolId field's value. -func (s *UserPoolClientType) SetUserPoolId(v string) *UserPoolClientType { - s.UserPoolId = &v - return s -} - -// SetWriteAttributes sets the WriteAttributes field's value. -func (s *UserPoolClientType) SetWriteAttributes(v []string) *UserPoolClientType { - s.WriteAttributes = v - return s -} - // A user pool description. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolDescriptionType type UserPoolDescriptionType struct { @@ -18943,42 +15073,6 @@ func (s UserPoolDescriptionType) GoString() string { return s.String() } -// SetCreationDate sets the CreationDate field's value. -func (s *UserPoolDescriptionType) SetCreationDate(v time.Time) *UserPoolDescriptionType { - s.CreationDate = &v - return s -} - -// SetId sets the Id field's value. -func (s *UserPoolDescriptionType) SetId(v string) *UserPoolDescriptionType { - s.Id = &v - return s -} - -// SetLambdaConfig sets the LambdaConfig field's value. -func (s *UserPoolDescriptionType) SetLambdaConfig(v *LambdaConfigType) *UserPoolDescriptionType { - s.LambdaConfig = v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *UserPoolDescriptionType) SetLastModifiedDate(v time.Time) *UserPoolDescriptionType { - s.LastModifiedDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *UserPoolDescriptionType) SetName(v string) *UserPoolDescriptionType { - s.Name = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *UserPoolDescriptionType) SetStatus(v StatusType) *UserPoolDescriptionType { - s.Status = v - return s -} - // The policy associated with a user pool. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolPolicyType type UserPoolPolicyType struct { @@ -19013,12 +15107,6 @@ func (s *UserPoolPolicyType) Validate() error { return nil } -// SetPasswordPolicy sets the PasswordPolicy field's value. -func (s *UserPoolPolicyType) SetPasswordPolicy(v *PasswordPolicyType) *UserPoolPolicyType { - s.PasswordPolicy = v - return s -} - // A container for information about the user pool. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolType type UserPoolType struct { @@ -19126,168 +15214,6 @@ func (s UserPoolType) GoString() string { return s.String() } -// SetAdminCreateUserConfig sets the AdminCreateUserConfig field's value. -func (s *UserPoolType) SetAdminCreateUserConfig(v *AdminCreateUserConfigType) *UserPoolType { - s.AdminCreateUserConfig = v - return s -} - -// SetAliasAttributes sets the AliasAttributes field's value. -func (s *UserPoolType) SetAliasAttributes(v []AliasAttributeType) *UserPoolType { - s.AliasAttributes = v - return s -} - -// SetAutoVerifiedAttributes sets the AutoVerifiedAttributes field's value. -func (s *UserPoolType) SetAutoVerifiedAttributes(v []VerifiedAttributeType) *UserPoolType { - s.AutoVerifiedAttributes = v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *UserPoolType) SetCreationDate(v time.Time) *UserPoolType { - s.CreationDate = &v - return s -} - -// SetDeviceConfiguration sets the DeviceConfiguration field's value. -func (s *UserPoolType) SetDeviceConfiguration(v *DeviceConfigurationType) *UserPoolType { - s.DeviceConfiguration = v - return s -} - -// SetDomain sets the Domain field's value. -func (s *UserPoolType) SetDomain(v string) *UserPoolType { - s.Domain = &v - return s -} - -// SetEmailConfiguration sets the EmailConfiguration field's value. -func (s *UserPoolType) SetEmailConfiguration(v *EmailConfigurationType) *UserPoolType { - s.EmailConfiguration = v - return s -} - -// SetEmailConfigurationFailure sets the EmailConfigurationFailure field's value. -func (s *UserPoolType) SetEmailConfigurationFailure(v string) *UserPoolType { - s.EmailConfigurationFailure = &v - return s -} - -// SetEmailVerificationMessage sets the EmailVerificationMessage field's value. -func (s *UserPoolType) SetEmailVerificationMessage(v string) *UserPoolType { - s.EmailVerificationMessage = &v - return s -} - -// SetEmailVerificationSubject sets the EmailVerificationSubject field's value. -func (s *UserPoolType) SetEmailVerificationSubject(v string) *UserPoolType { - s.EmailVerificationSubject = &v - return s -} - -// SetEstimatedNumberOfUsers sets the EstimatedNumberOfUsers field's value. -func (s *UserPoolType) SetEstimatedNumberOfUsers(v int64) *UserPoolType { - s.EstimatedNumberOfUsers = &v - return s -} - -// SetId sets the Id field's value. -func (s *UserPoolType) SetId(v string) *UserPoolType { - s.Id = &v - return s -} - -// SetLambdaConfig sets the LambdaConfig field's value. -func (s *UserPoolType) SetLambdaConfig(v *LambdaConfigType) *UserPoolType { - s.LambdaConfig = v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *UserPoolType) SetLastModifiedDate(v time.Time) *UserPoolType { - s.LastModifiedDate = &v - return s -} - -// SetMfaConfiguration sets the MfaConfiguration field's value. -func (s *UserPoolType) SetMfaConfiguration(v UserPoolMfaType) *UserPoolType { - s.MfaConfiguration = v - return s -} - -// SetName sets the Name field's value. -func (s *UserPoolType) SetName(v string) *UserPoolType { - s.Name = &v - return s -} - -// SetPolicies sets the Policies field's value. -func (s *UserPoolType) SetPolicies(v *UserPoolPolicyType) *UserPoolType { - s.Policies = v - return s -} - -// SetSchemaAttributes sets the SchemaAttributes field's value. -func (s *UserPoolType) SetSchemaAttributes(v []SchemaAttributeType) *UserPoolType { - s.SchemaAttributes = v - return s -} - -// SetSmsAuthenticationMessage sets the SmsAuthenticationMessage field's value. -func (s *UserPoolType) SetSmsAuthenticationMessage(v string) *UserPoolType { - s.SmsAuthenticationMessage = &v - return s -} - -// SetSmsConfiguration sets the SmsConfiguration field's value. -func (s *UserPoolType) SetSmsConfiguration(v *SmsConfigurationType) *UserPoolType { - s.SmsConfiguration = v - return s -} - -// SetSmsConfigurationFailure sets the SmsConfigurationFailure field's value. -func (s *UserPoolType) SetSmsConfigurationFailure(v string) *UserPoolType { - s.SmsConfigurationFailure = &v - return s -} - -// SetSmsVerificationMessage sets the SmsVerificationMessage field's value. -func (s *UserPoolType) SetSmsVerificationMessage(v string) *UserPoolType { - s.SmsVerificationMessage = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *UserPoolType) SetStatus(v StatusType) *UserPoolType { - s.Status = v - return s -} - -// SetUserPoolAddOns sets the UserPoolAddOns field's value. -func (s *UserPoolType) SetUserPoolAddOns(v *UserPoolAddOnsType) *UserPoolType { - s.UserPoolAddOns = v - return s -} - -// SetUserPoolTags sets the UserPoolTags field's value. -func (s *UserPoolType) SetUserPoolTags(v map[string]string) *UserPoolType { - s.UserPoolTags = v - return s -} - -// SetUsernameAttributes sets the UsernameAttributes field's value. -func (s *UserPoolType) SetUsernameAttributes(v []UsernameAttributeType) *UserPoolType { - s.UsernameAttributes = v - return s -} - -// SetVerificationMessageTemplate sets the VerificationMessageTemplate field's value. -func (s *UserPoolType) SetVerificationMessageTemplate(v *VerificationMessageTemplateType) *UserPoolType { - s.VerificationMessageTemplate = v - return s -} - // The user type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserType type UserType struct { @@ -19335,48 +15261,6 @@ func (s UserType) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *UserType) SetAttributes(v []AttributeType) *UserType { - s.Attributes = v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *UserType) SetEnabled(v bool) *UserType { - s.Enabled = &v - return s -} - -// SetMFAOptions sets the MFAOptions field's value. -func (s *UserType) SetMFAOptions(v []MFAOptionType) *UserType { - s.MFAOptions = v - return s -} - -// SetUserCreateDate sets the UserCreateDate field's value. -func (s *UserType) SetUserCreateDate(v time.Time) *UserType { - s.UserCreateDate = &v - return s -} - -// SetUserLastModifiedDate sets the UserLastModifiedDate field's value. -func (s *UserType) SetUserLastModifiedDate(v time.Time) *UserType { - s.UserLastModifiedDate = &v - return s -} - -// SetUserStatus sets the UserStatus field's value. -func (s *UserType) SetUserStatus(v UserStatusType) *UserType { - s.UserStatus = v - return s -} - -// SetUsername sets the Username field's value. -func (s *UserType) SetUsername(v string) *UserType { - s.Username = &v - return s -} - // The template for verification messages. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerificationMessageTemplateType type VerificationMessageTemplateType struct { @@ -19437,42 +15321,6 @@ func (s *VerificationMessageTemplateType) Validate() error { return nil } -// SetDefaultEmailOption sets the DefaultEmailOption field's value. -func (s *VerificationMessageTemplateType) SetDefaultEmailOption(v DefaultEmailOptionType) *VerificationMessageTemplateType { - s.DefaultEmailOption = v - return s -} - -// SetEmailMessage sets the EmailMessage field's value. -func (s *VerificationMessageTemplateType) SetEmailMessage(v string) *VerificationMessageTemplateType { - s.EmailMessage = &v - return s -} - -// SetEmailMessageByLink sets the EmailMessageByLink field's value. -func (s *VerificationMessageTemplateType) SetEmailMessageByLink(v string) *VerificationMessageTemplateType { - s.EmailMessageByLink = &v - return s -} - -// SetEmailSubject sets the EmailSubject field's value. -func (s *VerificationMessageTemplateType) SetEmailSubject(v string) *VerificationMessageTemplateType { - s.EmailSubject = &v - return s -} - -// SetEmailSubjectByLink sets the EmailSubjectByLink field's value. -func (s *VerificationMessageTemplateType) SetEmailSubjectByLink(v string) *VerificationMessageTemplateType { - s.EmailSubjectByLink = &v - return s -} - -// SetSmsMessage sets the SmsMessage field's value. -func (s *VerificationMessageTemplateType) SetSmsMessage(v string) *VerificationMessageTemplateType { - s.SmsMessage = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifySoftwareTokenRequest type VerifySoftwareTokenInput struct { _ struct{} `type:"structure"` @@ -19523,30 +15371,6 @@ func (s *VerifySoftwareTokenInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *VerifySoftwareTokenInput) SetAccessToken(v string) *VerifySoftwareTokenInput { - s.AccessToken = &v - return s -} - -// SetFriendlyDeviceName sets the FriendlyDeviceName field's value. -func (s *VerifySoftwareTokenInput) SetFriendlyDeviceName(v string) *VerifySoftwareTokenInput { - s.FriendlyDeviceName = &v - return s -} - -// SetSession sets the Session field's value. -func (s *VerifySoftwareTokenInput) SetSession(v string) *VerifySoftwareTokenInput { - s.Session = &v - return s -} - -// SetUserCode sets the UserCode field's value. -func (s *VerifySoftwareTokenInput) SetUserCode(v string) *VerifySoftwareTokenInput { - s.UserCode = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifySoftwareTokenResponse type VerifySoftwareTokenOutput struct { _ struct{} `type:"structure"` @@ -19576,18 +15400,6 @@ func (s VerifySoftwareTokenOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSession sets the Session field's value. -func (s *VerifySoftwareTokenOutput) SetSession(v string) *VerifySoftwareTokenOutput { - s.Session = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *VerifySoftwareTokenOutput) SetStatus(v VerifySoftwareTokenResponseType) *VerifySoftwareTokenOutput { - s.Status = v - return s -} - // Represents the request to verify user attributes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifyUserAttributeRequest type VerifyUserAttributeInput struct { @@ -19647,24 +15459,6 @@ func (s *VerifyUserAttributeInput) Validate() error { return nil } -// SetAccessToken sets the AccessToken field's value. -func (s *VerifyUserAttributeInput) SetAccessToken(v string) *VerifyUserAttributeInput { - s.AccessToken = &v - return s -} - -// SetAttributeName sets the AttributeName field's value. -func (s *VerifyUserAttributeInput) SetAttributeName(v string) *VerifyUserAttributeInput { - s.AttributeName = &v - return s -} - -// SetCode sets the Code field's value. -func (s *VerifyUserAttributeInput) SetCode(v string) *VerifyUserAttributeInput { - s.Code = &v - return s -} - // A container representing the response from the server from the request to // verify user attributes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifyUserAttributeResponse diff --git a/service/cognitosync/api.go b/service/cognitosync/api.go index 62faca72cab..3c617202eec 100644 --- a/service/cognitosync/api.go +++ b/service/cognitosync/api.go @@ -974,12 +974,6 @@ func (s *BulkPublishInput) Validate() error { return nil } -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *BulkPublishInput) SetIdentityPoolId(v string) *BulkPublishInput { - s.IdentityPoolId = &v - return s -} - // The output for the BulkPublish operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/BulkPublishResponse type BulkPublishOutput struct { @@ -1007,12 +1001,6 @@ func (s BulkPublishOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *BulkPublishOutput) SetIdentityPoolId(v string) *BulkPublishOutput { - s.IdentityPoolId = &v - return s -} - // Configuration options for configure Cognito streams. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/CognitoStreams type CognitoStreams struct { @@ -1061,24 +1049,6 @@ func (s *CognitoStreams) Validate() error { return nil } -// SetRoleArn sets the RoleArn field's value. -func (s *CognitoStreams) SetRoleArn(v string) *CognitoStreams { - s.RoleArn = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *CognitoStreams) SetStreamName(v string) *CognitoStreams { - s.StreamName = &v - return s -} - -// SetStreamingStatus sets the StreamingStatus field's value. -func (s *CognitoStreams) SetStreamingStatus(v StreamingStatus) *CognitoStreams { - s.StreamingStatus = v - return s -} - // A collection of data for an identity pool. An identity pool can have multiple // datasets. A dataset is per identity and can be general or associated with // a particular entity in an application (like a saved game). Datasets are automatically @@ -1122,48 +1092,6 @@ func (s Dataset) GoString() string { return s.String() } -// SetCreationDate sets the CreationDate field's value. -func (s *Dataset) SetCreationDate(v time.Time) *Dataset { - s.CreationDate = &v - return s -} - -// SetDataStorage sets the DataStorage field's value. -func (s *Dataset) SetDataStorage(v int64) *Dataset { - s.DataStorage = &v - return s -} - -// SetDatasetName sets the DatasetName field's value. -func (s *Dataset) SetDatasetName(v string) *Dataset { - s.DatasetName = &v - return s -} - -// SetIdentityId sets the IdentityId field's value. -func (s *Dataset) SetIdentityId(v string) *Dataset { - s.IdentityId = &v - return s -} - -// SetLastModifiedBy sets the LastModifiedBy field's value. -func (s *Dataset) SetLastModifiedBy(v string) *Dataset { - s.LastModifiedBy = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *Dataset) SetLastModifiedDate(v time.Time) *Dataset { - s.LastModifiedDate = &v - return s -} - -// SetNumRecords sets the NumRecords field's value. -func (s *Dataset) SetNumRecords(v int64) *Dataset { - s.NumRecords = &v - return s -} - // A request to delete the specific dataset. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/DeleteDatasetRequest type DeleteDatasetInput struct { @@ -1229,24 +1157,6 @@ func (s *DeleteDatasetInput) Validate() error { return nil } -// SetDatasetName sets the DatasetName field's value. -func (s *DeleteDatasetInput) SetDatasetName(v string) *DeleteDatasetInput { - s.DatasetName = &v - return s -} - -// SetIdentityId sets the IdentityId field's value. -func (s *DeleteDatasetInput) SetIdentityId(v string) *DeleteDatasetInput { - s.IdentityId = &v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *DeleteDatasetInput) SetIdentityPoolId(v string) *DeleteDatasetInput { - s.IdentityPoolId = &v - return s -} - // Response to a successful DeleteDataset request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/DeleteDatasetResponse type DeleteDatasetOutput struct { @@ -1277,12 +1187,6 @@ func (s DeleteDatasetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDataset sets the Dataset field's value. -func (s *DeleteDatasetOutput) SetDataset(v *Dataset) *DeleteDatasetOutput { - s.Dataset = v - return s -} - // A request for meta data about a dataset (creation date, number of records, // size) by owner and dataset name. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/DescribeDatasetRequest @@ -1349,24 +1253,6 @@ func (s *DescribeDatasetInput) Validate() error { return nil } -// SetDatasetName sets the DatasetName field's value. -func (s *DescribeDatasetInput) SetDatasetName(v string) *DescribeDatasetInput { - s.DatasetName = &v - return s -} - -// SetIdentityId sets the IdentityId field's value. -func (s *DescribeDatasetInput) SetIdentityId(v string) *DescribeDatasetInput { - s.IdentityId = &v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *DescribeDatasetInput) SetIdentityPoolId(v string) *DescribeDatasetInput { - s.IdentityPoolId = &v - return s -} - // Response to a successful DescribeDataset request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/DescribeDatasetResponse type DescribeDatasetOutput struct { @@ -1397,12 +1283,6 @@ func (s DescribeDatasetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDataset sets the Dataset field's value. -func (s *DescribeDatasetOutput) SetDataset(v *Dataset) *DescribeDatasetOutput { - s.Dataset = v - return s -} - // A request for usage information about the identity pool. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/DescribeIdentityPoolUsageRequest type DescribeIdentityPoolUsageInput struct { @@ -1442,12 +1322,6 @@ func (s *DescribeIdentityPoolUsageInput) Validate() error { return nil } -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *DescribeIdentityPoolUsageInput) SetIdentityPoolId(v string) *DescribeIdentityPoolUsageInput { - s.IdentityPoolId = &v - return s -} - // Response to a successful DescribeIdentityPoolUsage request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/DescribeIdentityPoolUsageResponse type DescribeIdentityPoolUsageOutput struct { @@ -1474,12 +1348,6 @@ func (s DescribeIdentityPoolUsageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIdentityPoolUsage sets the IdentityPoolUsage field's value. -func (s *DescribeIdentityPoolUsageOutput) SetIdentityPoolUsage(v *IdentityPoolUsage) *DescribeIdentityPoolUsageOutput { - s.IdentityPoolUsage = v - return s -} - // A request for information about the usage of an identity pool. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/DescribeIdentityUsageRequest type DescribeIdentityUsageInput struct { @@ -1532,18 +1400,6 @@ func (s *DescribeIdentityUsageInput) Validate() error { return nil } -// SetIdentityId sets the IdentityId field's value. -func (s *DescribeIdentityUsageInput) SetIdentityId(v string) *DescribeIdentityUsageInput { - s.IdentityId = &v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *DescribeIdentityUsageInput) SetIdentityPoolId(v string) *DescribeIdentityUsageInput { - s.IdentityPoolId = &v - return s -} - // The response to a successful DescribeIdentityUsage request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/DescribeIdentityUsageResponse type DescribeIdentityUsageOutput struct { @@ -1570,12 +1426,6 @@ func (s DescribeIdentityUsageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIdentityUsage sets the IdentityUsage field's value. -func (s *DescribeIdentityUsageOutput) SetIdentityUsage(v *IdentityUsage) *DescribeIdentityUsageOutput { - s.IdentityUsage = v - return s -} - // The input for the GetBulkPublishDetails operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/GetBulkPublishDetailsRequest type GetBulkPublishDetailsInput struct { @@ -1615,12 +1465,6 @@ func (s *GetBulkPublishDetailsInput) Validate() error { return nil } -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *GetBulkPublishDetailsInput) SetIdentityPoolId(v string) *GetBulkPublishDetailsInput { - s.IdentityPoolId = &v - return s -} - // The output for the GetBulkPublishDetails operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/GetBulkPublishDetailsResponse type GetBulkPublishDetailsOutput struct { @@ -1671,36 +1515,6 @@ func (s GetBulkPublishDetailsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBulkPublishCompleteTime sets the BulkPublishCompleteTime field's value. -func (s *GetBulkPublishDetailsOutput) SetBulkPublishCompleteTime(v time.Time) *GetBulkPublishDetailsOutput { - s.BulkPublishCompleteTime = &v - return s -} - -// SetBulkPublishStartTime sets the BulkPublishStartTime field's value. -func (s *GetBulkPublishDetailsOutput) SetBulkPublishStartTime(v time.Time) *GetBulkPublishDetailsOutput { - s.BulkPublishStartTime = &v - return s -} - -// SetBulkPublishStatus sets the BulkPublishStatus field's value. -func (s *GetBulkPublishDetailsOutput) SetBulkPublishStatus(v BulkPublishStatus) *GetBulkPublishDetailsOutput { - s.BulkPublishStatus = v - return s -} - -// SetFailureMessage sets the FailureMessage field's value. -func (s *GetBulkPublishDetailsOutput) SetFailureMessage(v string) *GetBulkPublishDetailsOutput { - s.FailureMessage = &v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *GetBulkPublishDetailsOutput) SetIdentityPoolId(v string) *GetBulkPublishDetailsOutput { - s.IdentityPoolId = &v - return s -} - // A request for a list of the configured Cognito Events // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/GetCognitoEventsRequest type GetCognitoEventsInput struct { @@ -1739,12 +1553,6 @@ func (s *GetCognitoEventsInput) Validate() error { return nil } -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *GetCognitoEventsInput) SetIdentityPoolId(v string) *GetCognitoEventsInput { - s.IdentityPoolId = &v - return s -} - // The response from the GetCognitoEvents request // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/GetCognitoEventsResponse type GetCognitoEventsOutput struct { @@ -1771,12 +1579,6 @@ func (s GetCognitoEventsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEvents sets the Events field's value. -func (s *GetCognitoEventsOutput) SetEvents(v map[string]string) *GetCognitoEventsOutput { - s.Events = v - return s -} - // The input for the GetIdentityPoolConfiguration operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/GetIdentityPoolConfigurationRequest type GetIdentityPoolConfigurationInput struct { @@ -1817,12 +1619,6 @@ func (s *GetIdentityPoolConfigurationInput) Validate() error { return nil } -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *GetIdentityPoolConfigurationInput) SetIdentityPoolId(v string) *GetIdentityPoolConfigurationInput { - s.IdentityPoolId = &v - return s -} - // The output for the GetIdentityPoolConfiguration operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/GetIdentityPoolConfigurationResponse type GetIdentityPoolConfigurationOutput struct { @@ -1856,24 +1652,6 @@ func (s GetIdentityPoolConfigurationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCognitoStreams sets the CognitoStreams field's value. -func (s *GetIdentityPoolConfigurationOutput) SetCognitoStreams(v *CognitoStreams) *GetIdentityPoolConfigurationOutput { - s.CognitoStreams = v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *GetIdentityPoolConfigurationOutput) SetIdentityPoolId(v string) *GetIdentityPoolConfigurationOutput { - s.IdentityPoolId = &v - return s -} - -// SetPushSync sets the PushSync field's value. -func (s *GetIdentityPoolConfigurationOutput) SetPushSync(v *PushSync) *GetIdentityPoolConfigurationOutput { - s.PushSync = v - return s -} - // Usage information for the identity pool. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/IdentityPoolUsage type IdentityPoolUsage struct { @@ -1903,30 +1681,6 @@ func (s IdentityPoolUsage) GoString() string { return s.String() } -// SetDataStorage sets the DataStorage field's value. -func (s *IdentityPoolUsage) SetDataStorage(v int64) *IdentityPoolUsage { - s.DataStorage = &v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *IdentityPoolUsage) SetIdentityPoolId(v string) *IdentityPoolUsage { - s.IdentityPoolId = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *IdentityPoolUsage) SetLastModifiedDate(v time.Time) *IdentityPoolUsage { - s.LastModifiedDate = &v - return s -} - -// SetSyncSessionsCount sets the SyncSessionsCount field's value. -func (s *IdentityPoolUsage) SetSyncSessionsCount(v int64) *IdentityPoolUsage { - s.SyncSessionsCount = &v - return s -} - // Usage information for the identity. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/IdentityUsage type IdentityUsage struct { @@ -1960,36 +1714,6 @@ func (s IdentityUsage) GoString() string { return s.String() } -// SetDataStorage sets the DataStorage field's value. -func (s *IdentityUsage) SetDataStorage(v int64) *IdentityUsage { - s.DataStorage = &v - return s -} - -// SetDatasetCount sets the DatasetCount field's value. -func (s *IdentityUsage) SetDatasetCount(v int64) *IdentityUsage { - s.DatasetCount = &v - return s -} - -// SetIdentityId sets the IdentityId field's value. -func (s *IdentityUsage) SetIdentityId(v string) *IdentityUsage { - s.IdentityId = &v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *IdentityUsage) SetIdentityPoolId(v string) *IdentityUsage { - s.IdentityPoolId = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *IdentityUsage) SetLastModifiedDate(v time.Time) *IdentityUsage { - s.LastModifiedDate = &v - return s -} - // Request for a list of datasets for an identity. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/ListDatasetsRequest type ListDatasetsInput struct { @@ -2048,30 +1772,6 @@ func (s *ListDatasetsInput) Validate() error { return nil } -// SetIdentityId sets the IdentityId field's value. -func (s *ListDatasetsInput) SetIdentityId(v string) *ListDatasetsInput { - s.IdentityId = &v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *ListDatasetsInput) SetIdentityPoolId(v string) *ListDatasetsInput { - s.IdentityPoolId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListDatasetsInput) SetMaxResults(v int64) *ListDatasetsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDatasetsInput) SetNextToken(v string) *ListDatasetsInput { - s.NextToken = &v - return s -} - // Returned for a successful ListDatasets request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/ListDatasetsResponse type ListDatasetsOutput struct { @@ -2104,24 +1804,6 @@ func (s ListDatasetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCount sets the Count field's value. -func (s *ListDatasetsOutput) SetCount(v int64) *ListDatasetsOutput { - s.Count = &v - return s -} - -// SetDatasets sets the Datasets field's value. -func (s *ListDatasetsOutput) SetDatasets(v []Dataset) *ListDatasetsOutput { - s.Datasets = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDatasetsOutput) SetNextToken(v string) *ListDatasetsOutput { - s.NextToken = &v - return s -} - // A request for usage information on an identity pool. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/ListIdentityPoolUsageRequest type ListIdentityPoolUsageInput struct { @@ -2144,18 +1826,6 @@ func (s ListIdentityPoolUsageInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *ListIdentityPoolUsageInput) SetMaxResults(v int64) *ListIdentityPoolUsageInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIdentityPoolUsageInput) SetNextToken(v string) *ListIdentityPoolUsageInput { - s.NextToken = &v - return s -} - // Returned for a successful ListIdentityPoolUsage request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/ListIdentityPoolUsageResponse type ListIdentityPoolUsageOutput struct { @@ -2191,30 +1861,6 @@ func (s ListIdentityPoolUsageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCount sets the Count field's value. -func (s *ListIdentityPoolUsageOutput) SetCount(v int64) *ListIdentityPoolUsageOutput { - s.Count = &v - return s -} - -// SetIdentityPoolUsages sets the IdentityPoolUsages field's value. -func (s *ListIdentityPoolUsageOutput) SetIdentityPoolUsages(v []IdentityPoolUsage) *ListIdentityPoolUsageOutput { - s.IdentityPoolUsages = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListIdentityPoolUsageOutput) SetMaxResults(v int64) *ListIdentityPoolUsageOutput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIdentityPoolUsageOutput) SetNextToken(v string) *ListIdentityPoolUsageOutput { - s.NextToken = &v - return s -} - // A request for a list of records. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/ListRecordsRequest type ListRecordsInput struct { @@ -2292,48 +1938,6 @@ func (s *ListRecordsInput) Validate() error { return nil } -// SetDatasetName sets the DatasetName field's value. -func (s *ListRecordsInput) SetDatasetName(v string) *ListRecordsInput { - s.DatasetName = &v - return s -} - -// SetIdentityId sets the IdentityId field's value. -func (s *ListRecordsInput) SetIdentityId(v string) *ListRecordsInput { - s.IdentityId = &v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *ListRecordsInput) SetIdentityPoolId(v string) *ListRecordsInput { - s.IdentityPoolId = &v - return s -} - -// SetLastSyncCount sets the LastSyncCount field's value. -func (s *ListRecordsInput) SetLastSyncCount(v int64) *ListRecordsInput { - s.LastSyncCount = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListRecordsInput) SetMaxResults(v int64) *ListRecordsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListRecordsInput) SetNextToken(v string) *ListRecordsInput { - s.NextToken = &v - return s -} - -// SetSyncSessionToken sets the SyncSessionToken field's value. -func (s *ListRecordsInput) SetSyncSessionToken(v string) *ListRecordsInput { - s.SyncSessionToken = &v - return s -} - // Returned for a successful ListRecordsRequest. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/ListRecordsResponse type ListRecordsOutput struct { @@ -2384,60 +1988,6 @@ func (s ListRecordsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCount sets the Count field's value. -func (s *ListRecordsOutput) SetCount(v int64) *ListRecordsOutput { - s.Count = &v - return s -} - -// SetDatasetDeletedAfterRequestedSyncCount sets the DatasetDeletedAfterRequestedSyncCount field's value. -func (s *ListRecordsOutput) SetDatasetDeletedAfterRequestedSyncCount(v bool) *ListRecordsOutput { - s.DatasetDeletedAfterRequestedSyncCount = &v - return s -} - -// SetDatasetExists sets the DatasetExists field's value. -func (s *ListRecordsOutput) SetDatasetExists(v bool) *ListRecordsOutput { - s.DatasetExists = &v - return s -} - -// SetDatasetSyncCount sets the DatasetSyncCount field's value. -func (s *ListRecordsOutput) SetDatasetSyncCount(v int64) *ListRecordsOutput { - s.DatasetSyncCount = &v - return s -} - -// SetLastModifiedBy sets the LastModifiedBy field's value. -func (s *ListRecordsOutput) SetLastModifiedBy(v string) *ListRecordsOutput { - s.LastModifiedBy = &v - return s -} - -// SetMergedDatasetNames sets the MergedDatasetNames field's value. -func (s *ListRecordsOutput) SetMergedDatasetNames(v []string) *ListRecordsOutput { - s.MergedDatasetNames = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListRecordsOutput) SetNextToken(v string) *ListRecordsOutput { - s.NextToken = &v - return s -} - -// SetRecords sets the Records field's value. -func (s *ListRecordsOutput) SetRecords(v []Record) *ListRecordsOutput { - s.Records = v - return s -} - -// SetSyncSessionToken sets the SyncSessionToken field's value. -func (s *ListRecordsOutput) SetSyncSessionToken(v string) *ListRecordsOutput { - s.SyncSessionToken = &v - return s -} - // Configuration options to be applied to the identity pool. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/PushSync type PushSync struct { @@ -2473,18 +2023,6 @@ func (s *PushSync) Validate() error { return nil } -// SetApplicationArns sets the ApplicationArns field's value. -func (s *PushSync) SetApplicationArns(v []string) *PushSync { - s.ApplicationArns = v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *PushSync) SetRoleArn(v string) *PushSync { - s.RoleArn = &v - return s -} - // The basic data structure of a dataset. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/Record type Record struct { @@ -2519,42 +2057,6 @@ func (s Record) GoString() string { return s.String() } -// SetDeviceLastModifiedDate sets the DeviceLastModifiedDate field's value. -func (s *Record) SetDeviceLastModifiedDate(v time.Time) *Record { - s.DeviceLastModifiedDate = &v - return s -} - -// SetKey sets the Key field's value. -func (s *Record) SetKey(v string) *Record { - s.Key = &v - return s -} - -// SetLastModifiedBy sets the LastModifiedBy field's value. -func (s *Record) SetLastModifiedBy(v string) *Record { - s.LastModifiedBy = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *Record) SetLastModifiedDate(v time.Time) *Record { - s.LastModifiedDate = &v - return s -} - -// SetSyncCount sets the SyncCount field's value. -func (s *Record) SetSyncCount(v int64) *Record { - s.SyncCount = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Record) SetValue(v string) *Record { - s.Value = &v - return s -} - // An update operation for a record. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/RecordPatch type RecordPatch struct { @@ -2616,36 +2118,6 @@ func (s *RecordPatch) Validate() error { return nil } -// SetDeviceLastModifiedDate sets the DeviceLastModifiedDate field's value. -func (s *RecordPatch) SetDeviceLastModifiedDate(v time.Time) *RecordPatch { - s.DeviceLastModifiedDate = &v - return s -} - -// SetKey sets the Key field's value. -func (s *RecordPatch) SetKey(v string) *RecordPatch { - s.Key = &v - return s -} - -// SetOp sets the Op field's value. -func (s *RecordPatch) SetOp(v Operation) *RecordPatch { - s.Op = v - return s -} - -// SetSyncCount sets the SyncCount field's value. -func (s *RecordPatch) SetSyncCount(v int64) *RecordPatch { - s.SyncCount = &v - return s -} - -// SetValue sets the Value field's value. -func (s *RecordPatch) SetValue(v string) *RecordPatch { - s.Value = &v - return s -} - // A request to RegisterDevice. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/RegisterDeviceRequest type RegisterDeviceInput struct { @@ -2715,30 +2187,6 @@ func (s *RegisterDeviceInput) Validate() error { return nil } -// SetIdentityId sets the IdentityId field's value. -func (s *RegisterDeviceInput) SetIdentityId(v string) *RegisterDeviceInput { - s.IdentityId = &v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *RegisterDeviceInput) SetIdentityPoolId(v string) *RegisterDeviceInput { - s.IdentityPoolId = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *RegisterDeviceInput) SetPlatform(v Platform) *RegisterDeviceInput { - s.Platform = v - return s -} - -// SetToken sets the Token field's value. -func (s *RegisterDeviceInput) SetToken(v string) *RegisterDeviceInput { - s.Token = &v - return s -} - // Response to a RegisterDevice request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/RegisterDeviceResponse type RegisterDeviceOutput struct { @@ -2765,12 +2213,6 @@ func (s RegisterDeviceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeviceId sets the DeviceId field's value. -func (s *RegisterDeviceOutput) SetDeviceId(v string) *RegisterDeviceOutput { - s.DeviceId = &v - return s -} - // A request to configure Cognito Events" // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/SetCognitoEventsRequest type SetCognitoEventsInput struct { @@ -2818,18 +2260,6 @@ func (s *SetCognitoEventsInput) Validate() error { return nil } -// SetEvents sets the Events field's value. -func (s *SetCognitoEventsInput) SetEvents(v map[string]string) *SetCognitoEventsInput { - s.Events = v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *SetCognitoEventsInput) SetIdentityPoolId(v string) *SetCognitoEventsInput { - s.IdentityPoolId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/SetCognitoEventsOutput type SetCognitoEventsOutput struct { _ struct{} `type:"structure"` @@ -2907,24 +2337,6 @@ func (s *SetIdentityPoolConfigurationInput) Validate() error { return nil } -// SetCognitoStreams sets the CognitoStreams field's value. -func (s *SetIdentityPoolConfigurationInput) SetCognitoStreams(v *CognitoStreams) *SetIdentityPoolConfigurationInput { - s.CognitoStreams = v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *SetIdentityPoolConfigurationInput) SetIdentityPoolId(v string) *SetIdentityPoolConfigurationInput { - s.IdentityPoolId = &v - return s -} - -// SetPushSync sets the PushSync field's value. -func (s *SetIdentityPoolConfigurationInput) SetPushSync(v *PushSync) *SetIdentityPoolConfigurationInput { - s.PushSync = v - return s -} - // The output for the SetIdentityPoolConfiguration operation // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/SetIdentityPoolConfigurationResponse type SetIdentityPoolConfigurationOutput struct { @@ -2958,24 +2370,6 @@ func (s SetIdentityPoolConfigurationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCognitoStreams sets the CognitoStreams field's value. -func (s *SetIdentityPoolConfigurationOutput) SetCognitoStreams(v *CognitoStreams) *SetIdentityPoolConfigurationOutput { - s.CognitoStreams = v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *SetIdentityPoolConfigurationOutput) SetIdentityPoolId(v string) *SetIdentityPoolConfigurationOutput { - s.IdentityPoolId = &v - return s -} - -// SetPushSync sets the PushSync field's value. -func (s *SetIdentityPoolConfigurationOutput) SetPushSync(v *PushSync) *SetIdentityPoolConfigurationOutput { - s.PushSync = v - return s -} - // A request to SubscribeToDatasetRequest. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/SubscribeToDatasetRequest type SubscribeToDatasetInput struct { @@ -3051,30 +2445,6 @@ func (s *SubscribeToDatasetInput) Validate() error { return nil } -// SetDatasetName sets the DatasetName field's value. -func (s *SubscribeToDatasetInput) SetDatasetName(v string) *SubscribeToDatasetInput { - s.DatasetName = &v - return s -} - -// SetDeviceId sets the DeviceId field's value. -func (s *SubscribeToDatasetInput) SetDeviceId(v string) *SubscribeToDatasetInput { - s.DeviceId = &v - return s -} - -// SetIdentityId sets the IdentityId field's value. -func (s *SubscribeToDatasetInput) SetIdentityId(v string) *SubscribeToDatasetInput { - s.IdentityId = &v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *SubscribeToDatasetInput) SetIdentityPoolId(v string) *SubscribeToDatasetInput { - s.IdentityPoolId = &v - return s -} - // Response to a SubscribeToDataset request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/SubscribeToDatasetResponse type SubscribeToDatasetOutput struct { @@ -3173,30 +2543,6 @@ func (s *UnsubscribeFromDatasetInput) Validate() error { return nil } -// SetDatasetName sets the DatasetName field's value. -func (s *UnsubscribeFromDatasetInput) SetDatasetName(v string) *UnsubscribeFromDatasetInput { - s.DatasetName = &v - return s -} - -// SetDeviceId sets the DeviceId field's value. -func (s *UnsubscribeFromDatasetInput) SetDeviceId(v string) *UnsubscribeFromDatasetInput { - s.DeviceId = &v - return s -} - -// SetIdentityId sets the IdentityId field's value. -func (s *UnsubscribeFromDatasetInput) SetIdentityId(v string) *UnsubscribeFromDatasetInput { - s.IdentityId = &v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *UnsubscribeFromDatasetInput) SetIdentityPoolId(v string) *UnsubscribeFromDatasetInput { - s.IdentityPoolId = &v - return s -} - // Response to an UnsubscribeFromDataset request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/UnsubscribeFromDatasetResponse type UnsubscribeFromDatasetOutput struct { @@ -3316,48 +2662,6 @@ func (s *UpdateRecordsInput) Validate() error { return nil } -// SetClientContext sets the ClientContext field's value. -func (s *UpdateRecordsInput) SetClientContext(v string) *UpdateRecordsInput { - s.ClientContext = &v - return s -} - -// SetDatasetName sets the DatasetName field's value. -func (s *UpdateRecordsInput) SetDatasetName(v string) *UpdateRecordsInput { - s.DatasetName = &v - return s -} - -// SetDeviceId sets the DeviceId field's value. -func (s *UpdateRecordsInput) SetDeviceId(v string) *UpdateRecordsInput { - s.DeviceId = &v - return s -} - -// SetIdentityId sets the IdentityId field's value. -func (s *UpdateRecordsInput) SetIdentityId(v string) *UpdateRecordsInput { - s.IdentityId = &v - return s -} - -// SetIdentityPoolId sets the IdentityPoolId field's value. -func (s *UpdateRecordsInput) SetIdentityPoolId(v string) *UpdateRecordsInput { - s.IdentityPoolId = &v - return s -} - -// SetRecordPatches sets the RecordPatches field's value. -func (s *UpdateRecordsInput) SetRecordPatches(v []RecordPatch) *UpdateRecordsInput { - s.RecordPatches = v - return s -} - -// SetSyncSessionToken sets the SyncSessionToken field's value. -func (s *UpdateRecordsInput) SetSyncSessionToken(v string) *UpdateRecordsInput { - s.SyncSessionToken = &v - return s -} - // Returned for a successful UpdateRecordsRequest. // Please also see https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/UpdateRecordsResponse type UpdateRecordsOutput struct { @@ -3384,12 +2688,6 @@ func (s UpdateRecordsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRecords sets the Records field's value. -func (s *UpdateRecordsOutput) SetRecords(v []Record) *UpdateRecordsOutput { - s.Records = v - return s -} - type BulkPublishStatus string // Enum values for BulkPublishStatus diff --git a/service/comprehend/api.go b/service/comprehend/api.go index dfe8164e21d..42cfa51d72e 100644 --- a/service/comprehend/api.go +++ b/service/comprehend/api.go @@ -650,12 +650,6 @@ func (s *BatchDetectDominantLanguageInput) Validate() error { return nil } -// SetTextList sets the TextList field's value. -func (s *BatchDetectDominantLanguageInput) SetTextList(v []string) *BatchDetectDominantLanguageInput { - s.TextList = v - return s -} - // The result of calling the operation. The operation returns one object for // each document that is successfully processed by the operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectDominantLanguageItemResult @@ -680,18 +674,6 @@ func (s BatchDetectDominantLanguageItemResult) GoString() string { return s.String() } -// SetIndex sets the Index field's value. -func (s *BatchDetectDominantLanguageItemResult) SetIndex(v int64) *BatchDetectDominantLanguageItemResult { - s.Index = &v - return s -} - -// SetLanguages sets the Languages field's value. -func (s *BatchDetectDominantLanguageItemResult) SetLanguages(v []DominantLanguage) *BatchDetectDominantLanguageItemResult { - s.Languages = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectDominantLanguageResponse type BatchDetectDominantLanguageOutput struct { _ struct{} `type:"structure"` @@ -730,18 +712,6 @@ func (s BatchDetectDominantLanguageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetErrorList sets the ErrorList field's value. -func (s *BatchDetectDominantLanguageOutput) SetErrorList(v []BatchItemError) *BatchDetectDominantLanguageOutput { - s.ErrorList = v - return s -} - -// SetResultList sets the ResultList field's value. -func (s *BatchDetectDominantLanguageOutput) SetResultList(v []BatchDetectDominantLanguageItemResult) *BatchDetectDominantLanguageOutput { - s.ResultList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectEntitiesRequest type BatchDetectEntitiesInput struct { _ struct{} `type:"structure"` @@ -790,18 +760,6 @@ func (s *BatchDetectEntitiesInput) Validate() error { return nil } -// SetLanguageCode sets the LanguageCode field's value. -func (s *BatchDetectEntitiesInput) SetLanguageCode(v string) *BatchDetectEntitiesInput { - s.LanguageCode = &v - return s -} - -// SetTextList sets the TextList field's value. -func (s *BatchDetectEntitiesInput) SetTextList(v []string) *BatchDetectEntitiesInput { - s.TextList = v - return s -} - // The result of calling the operation. The operation returns one object for // each document that is successfully processed by the operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectEntitiesItemResult @@ -825,18 +783,6 @@ func (s BatchDetectEntitiesItemResult) GoString() string { return s.String() } -// SetEntities sets the Entities field's value. -func (s *BatchDetectEntitiesItemResult) SetEntities(v []Entity) *BatchDetectEntitiesItemResult { - s.Entities = v - return s -} - -// SetIndex sets the Index field's value. -func (s *BatchDetectEntitiesItemResult) SetIndex(v int64) *BatchDetectEntitiesItemResult { - s.Index = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectEntitiesResponse type BatchDetectEntitiesOutput struct { _ struct{} `type:"structure"` @@ -875,18 +821,6 @@ func (s BatchDetectEntitiesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetErrorList sets the ErrorList field's value. -func (s *BatchDetectEntitiesOutput) SetErrorList(v []BatchItemError) *BatchDetectEntitiesOutput { - s.ErrorList = v - return s -} - -// SetResultList sets the ResultList field's value. -func (s *BatchDetectEntitiesOutput) SetResultList(v []BatchDetectEntitiesItemResult) *BatchDetectEntitiesOutput { - s.ResultList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectKeyPhrasesRequest type BatchDetectKeyPhrasesInput struct { _ struct{} `type:"structure"` @@ -935,18 +869,6 @@ func (s *BatchDetectKeyPhrasesInput) Validate() error { return nil } -// SetLanguageCode sets the LanguageCode field's value. -func (s *BatchDetectKeyPhrasesInput) SetLanguageCode(v string) *BatchDetectKeyPhrasesInput { - s.LanguageCode = &v - return s -} - -// SetTextList sets the TextList field's value. -func (s *BatchDetectKeyPhrasesInput) SetTextList(v []string) *BatchDetectKeyPhrasesInput { - s.TextList = v - return s -} - // The result of calling the operation. The operation returns one object for // each document that is successfully processed by the operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectKeyPhrasesItemResult @@ -970,18 +892,6 @@ func (s BatchDetectKeyPhrasesItemResult) GoString() string { return s.String() } -// SetIndex sets the Index field's value. -func (s *BatchDetectKeyPhrasesItemResult) SetIndex(v int64) *BatchDetectKeyPhrasesItemResult { - s.Index = &v - return s -} - -// SetKeyPhrases sets the KeyPhrases field's value. -func (s *BatchDetectKeyPhrasesItemResult) SetKeyPhrases(v []KeyPhrase) *BatchDetectKeyPhrasesItemResult { - s.KeyPhrases = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectKeyPhrasesResponse type BatchDetectKeyPhrasesOutput struct { _ struct{} `type:"structure"` @@ -1020,18 +930,6 @@ func (s BatchDetectKeyPhrasesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetErrorList sets the ErrorList field's value. -func (s *BatchDetectKeyPhrasesOutput) SetErrorList(v []BatchItemError) *BatchDetectKeyPhrasesOutput { - s.ErrorList = v - return s -} - -// SetResultList sets the ResultList field's value. -func (s *BatchDetectKeyPhrasesOutput) SetResultList(v []BatchDetectKeyPhrasesItemResult) *BatchDetectKeyPhrasesOutput { - s.ResultList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectSentimentRequest type BatchDetectSentimentInput struct { _ struct{} `type:"structure"` @@ -1080,18 +978,6 @@ func (s *BatchDetectSentimentInput) Validate() error { return nil } -// SetLanguageCode sets the LanguageCode field's value. -func (s *BatchDetectSentimentInput) SetLanguageCode(v string) *BatchDetectSentimentInput { - s.LanguageCode = &v - return s -} - -// SetTextList sets the TextList field's value. -func (s *BatchDetectSentimentInput) SetTextList(v []string) *BatchDetectSentimentInput { - s.TextList = v - return s -} - // The result of calling the operation. The operation returns one object for // each document that is successfully processed by the operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectSentimentItemResult @@ -1119,24 +1005,6 @@ func (s BatchDetectSentimentItemResult) GoString() string { return s.String() } -// SetIndex sets the Index field's value. -func (s *BatchDetectSentimentItemResult) SetIndex(v int64) *BatchDetectSentimentItemResult { - s.Index = &v - return s -} - -// SetSentiment sets the Sentiment field's value. -func (s *BatchDetectSentimentItemResult) SetSentiment(v SentimentType) *BatchDetectSentimentItemResult { - s.Sentiment = v - return s -} - -// SetSentimentScore sets the SentimentScore field's value. -func (s *BatchDetectSentimentItemResult) SetSentimentScore(v *SentimentScore) *BatchDetectSentimentItemResult { - s.SentimentScore = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectSentimentResponse type BatchDetectSentimentOutput struct { _ struct{} `type:"structure"` @@ -1175,18 +1043,6 @@ func (s BatchDetectSentimentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetErrorList sets the ErrorList field's value. -func (s *BatchDetectSentimentOutput) SetErrorList(v []BatchItemError) *BatchDetectSentimentOutput { - s.ErrorList = v - return s -} - -// SetResultList sets the ResultList field's value. -func (s *BatchDetectSentimentOutput) SetResultList(v []BatchDetectSentimentItemResult) *BatchDetectSentimentOutput { - s.ResultList = v - return s -} - // Describes an error that occurred while processing a document in a batch. // The operation returns on BatchItemError object for each document that contained // an error. @@ -1214,24 +1070,6 @@ func (s BatchItemError) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *BatchItemError) SetErrorCode(v string) *BatchItemError { - s.ErrorCode = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *BatchItemError) SetErrorMessage(v string) *BatchItemError { - s.ErrorMessage = &v - return s -} - -// SetIndex sets the Index field's value. -func (s *BatchItemError) SetIndex(v int64) *BatchItemError { - s.Index = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeTopicsDetectionJobRequest type DescribeTopicsDetectionJobInput struct { _ struct{} `type:"structure"` @@ -1269,12 +1107,6 @@ func (s *DescribeTopicsDetectionJobInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *DescribeTopicsDetectionJobInput) SetJobId(v string) *DescribeTopicsDetectionJobInput { - s.JobId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeTopicsDetectionJobResponse type DescribeTopicsDetectionJobOutput struct { _ struct{} `type:"structure"` @@ -1300,12 +1132,6 @@ func (s DescribeTopicsDetectionJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTopicsDetectionJobProperties sets the TopicsDetectionJobProperties field's value. -func (s *DescribeTopicsDetectionJobOutput) SetTopicsDetectionJobProperties(v *TopicsDetectionJobProperties) *DescribeTopicsDetectionJobOutput { - s.TopicsDetectionJobProperties = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectDominantLanguageRequest type DetectDominantLanguageInput struct { _ struct{} `type:"structure"` @@ -1344,12 +1170,6 @@ func (s *DetectDominantLanguageInput) Validate() error { return nil } -// SetText sets the Text field's value. -func (s *DetectDominantLanguageInput) SetText(v string) *DetectDominantLanguageInput { - s.Text = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectDominantLanguageResponse type DetectDominantLanguageOutput struct { _ struct{} `type:"structure"` @@ -1379,12 +1199,6 @@ func (s DetectDominantLanguageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLanguages sets the Languages field's value. -func (s *DetectDominantLanguageOutput) SetLanguages(v []DominantLanguage) *DetectDominantLanguageOutput { - s.Languages = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectEntitiesRequest type DetectEntitiesInput struct { _ struct{} `type:"structure"` @@ -1435,18 +1249,6 @@ func (s *DetectEntitiesInput) Validate() error { return nil } -// SetLanguageCode sets the LanguageCode field's value. -func (s *DetectEntitiesInput) SetLanguageCode(v LanguageCode) *DetectEntitiesInput { - s.LanguageCode = v - return s -} - -// SetText sets the Text field's value. -func (s *DetectEntitiesInput) SetText(v string) *DetectEntitiesInput { - s.Text = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectEntitiesResponse type DetectEntitiesOutput struct { _ struct{} `type:"structure"` @@ -1475,12 +1277,6 @@ func (s DetectEntitiesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEntities sets the Entities field's value. -func (s *DetectEntitiesOutput) SetEntities(v []Entity) *DetectEntitiesOutput { - s.Entities = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectKeyPhrasesRequest type DetectKeyPhrasesInput struct { _ struct{} `type:"structure"` @@ -1532,18 +1328,6 @@ func (s *DetectKeyPhrasesInput) Validate() error { return nil } -// SetLanguageCode sets the LanguageCode field's value. -func (s *DetectKeyPhrasesInput) SetLanguageCode(v LanguageCode) *DetectKeyPhrasesInput { - s.LanguageCode = v - return s -} - -// SetText sets the Text field's value. -func (s *DetectKeyPhrasesInput) SetText(v string) *DetectKeyPhrasesInput { - s.Text = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectKeyPhrasesResponse type DetectKeyPhrasesOutput struct { _ struct{} `type:"structure"` @@ -1572,12 +1356,6 @@ func (s DetectKeyPhrasesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetKeyPhrases sets the KeyPhrases field's value. -func (s *DetectKeyPhrasesOutput) SetKeyPhrases(v []KeyPhrase) *DetectKeyPhrasesOutput { - s.KeyPhrases = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectSentimentRequest type DetectSentimentInput struct { _ struct{} `type:"structure"` @@ -1629,18 +1407,6 @@ func (s *DetectSentimentInput) Validate() error { return nil } -// SetLanguageCode sets the LanguageCode field's value. -func (s *DetectSentimentInput) SetLanguageCode(v LanguageCode) *DetectSentimentInput { - s.LanguageCode = v - return s -} - -// SetText sets the Text field's value. -func (s *DetectSentimentInput) SetText(v string) *DetectSentimentInput { - s.Text = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectSentimentResponse type DetectSentimentOutput struct { _ struct{} `type:"structure"` @@ -1670,18 +1436,6 @@ func (s DetectSentimentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSentiment sets the Sentiment field's value. -func (s *DetectSentimentOutput) SetSentiment(v SentimentType) *DetectSentimentOutput { - s.Sentiment = v - return s -} - -// SetSentimentScore sets the SentimentScore field's value. -func (s *DetectSentimentOutput) SetSentimentScore(v *SentimentScore) *DetectSentimentOutput { - s.SentimentScore = v - return s -} - // Returns the code for the dominant language in the input text and the level // of confidence that Amazon Comprehend has in the accuracy of the detection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DominantLanguage @@ -1706,18 +1460,6 @@ func (s DominantLanguage) GoString() string { return s.String() } -// SetLanguageCode sets the LanguageCode field's value. -func (s *DominantLanguage) SetLanguageCode(v string) *DominantLanguage { - s.LanguageCode = &v - return s -} - -// SetScore sets the Score field's value. -func (s *DominantLanguage) SetScore(v float64) *DominantLanguage { - s.Score = &v - return s -} - // Provides information about an entity. // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/Entity type Entity struct { @@ -1757,36 +1499,6 @@ func (s Entity) GoString() string { return s.String() } -// SetBeginOffset sets the BeginOffset field's value. -func (s *Entity) SetBeginOffset(v int64) *Entity { - s.BeginOffset = &v - return s -} - -// SetEndOffset sets the EndOffset field's value. -func (s *Entity) SetEndOffset(v int64) *Entity { - s.EndOffset = &v - return s -} - -// SetScore sets the Score field's value. -func (s *Entity) SetScore(v float64) *Entity { - s.Score = &v - return s -} - -// SetText sets the Text field's value. -func (s *Entity) SetText(v string) *Entity { - s.Text = &v - return s -} - -// SetType sets the Type field's value. -func (s *Entity) SetType(v EntityType) *Entity { - s.Type = v - return s -} - // The input properties for a topic detection job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/InputDataConfig type InputDataConfig struct { @@ -1839,18 +1551,6 @@ func (s *InputDataConfig) Validate() error { return nil } -// SetInputFormat sets the InputFormat field's value. -func (s *InputDataConfig) SetInputFormat(v InputFormat) *InputDataConfig { - s.InputFormat = v - return s -} - -// SetS3Uri sets the S3Uri field's value. -func (s *InputDataConfig) SetS3Uri(v string) *InputDataConfig { - s.S3Uri = &v - return s -} - // Describes a key noun phrase. // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/KeyPhrase type KeyPhrase struct { @@ -1887,30 +1587,6 @@ func (s KeyPhrase) GoString() string { return s.String() } -// SetBeginOffset sets the BeginOffset field's value. -func (s *KeyPhrase) SetBeginOffset(v int64) *KeyPhrase { - s.BeginOffset = &v - return s -} - -// SetEndOffset sets the EndOffset field's value. -func (s *KeyPhrase) SetEndOffset(v int64) *KeyPhrase { - s.EndOffset = &v - return s -} - -// SetScore sets the Score field's value. -func (s *KeyPhrase) SetScore(v float64) *KeyPhrase { - s.Score = &v - return s -} - -// SetText sets the Text field's value. -func (s *KeyPhrase) SetText(v string) *KeyPhrase { - s.Text = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListTopicsDetectionJobsRequest type ListTopicsDetectionJobsInput struct { _ struct{} `type:"structure"` @@ -1958,24 +1634,6 @@ func (s *ListTopicsDetectionJobsInput) Validate() error { return nil } -// SetFilter sets the Filter field's value. -func (s *ListTopicsDetectionJobsInput) SetFilter(v *TopicsDetectionJobFilter) *ListTopicsDetectionJobsInput { - s.Filter = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListTopicsDetectionJobsInput) SetMaxResults(v int64) *ListTopicsDetectionJobsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTopicsDetectionJobsInput) SetNextToken(v string) *ListTopicsDetectionJobsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListTopicsDetectionJobsResponse type ListTopicsDetectionJobsOutput struct { _ struct{} `type:"structure"` @@ -2004,18 +1662,6 @@ func (s ListTopicsDetectionJobsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTopicsDetectionJobsOutput) SetNextToken(v string) *ListTopicsDetectionJobsOutput { - s.NextToken = &v - return s -} - -// SetTopicsDetectionJobPropertiesList sets the TopicsDetectionJobPropertiesList field's value. -func (s *ListTopicsDetectionJobsOutput) SetTopicsDetectionJobPropertiesList(v []TopicsDetectionJobProperties) *ListTopicsDetectionJobsOutput { - s.TopicsDetectionJobPropertiesList = v - return s -} - // Provides configuration parameters for the output of topic detection jobs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/OutputDataConfig type OutputDataConfig struct { @@ -2057,12 +1703,6 @@ func (s *OutputDataConfig) Validate() error { return nil } -// SetS3Uri sets the S3Uri field's value. -func (s *OutputDataConfig) SetS3Uri(v string) *OutputDataConfig { - s.S3Uri = &v - return s -} - // Describes the level of confidence that Amazon Comprehend has in the accuracy // of its detection of sentiments. // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/SentimentScore @@ -2096,30 +1736,6 @@ func (s SentimentScore) GoString() string { return s.String() } -// SetMixed sets the Mixed field's value. -func (s *SentimentScore) SetMixed(v float64) *SentimentScore { - s.Mixed = &v - return s -} - -// SetNegative sets the Negative field's value. -func (s *SentimentScore) SetNegative(v float64) *SentimentScore { - s.Negative = &v - return s -} - -// SetNeutral sets the Neutral field's value. -func (s *SentimentScore) SetNeutral(v float64) *SentimentScore { - s.Neutral = &v - return s -} - -// SetPositive sets the Positive field's value. -func (s *SentimentScore) SetPositive(v float64) *SentimentScore { - s.Positive = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartTopicsDetectionJobRequest type StartTopicsDetectionJobInput struct { _ struct{} `type:"structure"` @@ -2202,42 +1818,6 @@ func (s *StartTopicsDetectionJobInput) Validate() error { return nil } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *StartTopicsDetectionJobInput) SetClientRequestToken(v string) *StartTopicsDetectionJobInput { - s.ClientRequestToken = &v - return s -} - -// SetDataAccessRoleArn sets the DataAccessRoleArn field's value. -func (s *StartTopicsDetectionJobInput) SetDataAccessRoleArn(v string) *StartTopicsDetectionJobInput { - s.DataAccessRoleArn = &v - return s -} - -// SetInputDataConfig sets the InputDataConfig field's value. -func (s *StartTopicsDetectionJobInput) SetInputDataConfig(v *InputDataConfig) *StartTopicsDetectionJobInput { - s.InputDataConfig = v - return s -} - -// SetJobName sets the JobName field's value. -func (s *StartTopicsDetectionJobInput) SetJobName(v string) *StartTopicsDetectionJobInput { - s.JobName = &v - return s -} - -// SetNumberOfTopics sets the NumberOfTopics field's value. -func (s *StartTopicsDetectionJobInput) SetNumberOfTopics(v int64) *StartTopicsDetectionJobInput { - s.NumberOfTopics = &v - return s -} - -// SetOutputDataConfig sets the OutputDataConfig field's value. -func (s *StartTopicsDetectionJobInput) SetOutputDataConfig(v *OutputDataConfig) *StartTopicsDetectionJobInput { - s.OutputDataConfig = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartTopicsDetectionJobResponse type StartTopicsDetectionJobOutput struct { _ struct{} `type:"structure"` @@ -2276,18 +1856,6 @@ func (s StartTopicsDetectionJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobId sets the JobId field's value. -func (s *StartTopicsDetectionJobOutput) SetJobId(v string) *StartTopicsDetectionJobOutput { - s.JobId = &v - return s -} - -// SetJobStatus sets the JobStatus field's value. -func (s *StartTopicsDetectionJobOutput) SetJobStatus(v JobStatus) *StartTopicsDetectionJobOutput { - s.JobStatus = v - return s -} - // Provides information for filtering topic detection jobs. For more information, // see . // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/TopicsDetectionJobFilter @@ -2334,30 +1902,6 @@ func (s *TopicsDetectionJobFilter) Validate() error { return nil } -// SetJobName sets the JobName field's value. -func (s *TopicsDetectionJobFilter) SetJobName(v string) *TopicsDetectionJobFilter { - s.JobName = &v - return s -} - -// SetJobStatus sets the JobStatus field's value. -func (s *TopicsDetectionJobFilter) SetJobStatus(v JobStatus) *TopicsDetectionJobFilter { - s.JobStatus = v - return s -} - -// SetSubmitTimeAfter sets the SubmitTimeAfter field's value. -func (s *TopicsDetectionJobFilter) SetSubmitTimeAfter(v time.Time) *TopicsDetectionJobFilter { - s.SubmitTimeAfter = &v - return s -} - -// SetSubmitTimeBefore sets the SubmitTimeBefore field's value. -func (s *TopicsDetectionJobFilter) SetSubmitTimeBefore(v time.Time) *TopicsDetectionJobFilter { - s.SubmitTimeBefore = &v - return s -} - // Provides information about a topic detection job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/TopicsDetectionJobProperties type TopicsDetectionJobProperties struct { @@ -2405,60 +1949,6 @@ func (s TopicsDetectionJobProperties) GoString() string { return s.String() } -// SetEndTime sets the EndTime field's value. -func (s *TopicsDetectionJobProperties) SetEndTime(v time.Time) *TopicsDetectionJobProperties { - s.EndTime = &v - return s -} - -// SetInputDataConfig sets the InputDataConfig field's value. -func (s *TopicsDetectionJobProperties) SetInputDataConfig(v *InputDataConfig) *TopicsDetectionJobProperties { - s.InputDataConfig = v - return s -} - -// SetJobId sets the JobId field's value. -func (s *TopicsDetectionJobProperties) SetJobId(v string) *TopicsDetectionJobProperties { - s.JobId = &v - return s -} - -// SetJobName sets the JobName field's value. -func (s *TopicsDetectionJobProperties) SetJobName(v string) *TopicsDetectionJobProperties { - s.JobName = &v - return s -} - -// SetJobStatus sets the JobStatus field's value. -func (s *TopicsDetectionJobProperties) SetJobStatus(v JobStatus) *TopicsDetectionJobProperties { - s.JobStatus = v - return s -} - -// SetMessage sets the Message field's value. -func (s *TopicsDetectionJobProperties) SetMessage(v string) *TopicsDetectionJobProperties { - s.Message = &v - return s -} - -// SetNumberOfTopics sets the NumberOfTopics field's value. -func (s *TopicsDetectionJobProperties) SetNumberOfTopics(v int64) *TopicsDetectionJobProperties { - s.NumberOfTopics = &v - return s -} - -// SetOutputDataConfig sets the OutputDataConfig field's value. -func (s *TopicsDetectionJobProperties) SetOutputDataConfig(v *OutputDataConfig) *TopicsDetectionJobProperties { - s.OutputDataConfig = v - return s -} - -// SetSubmitTime sets the SubmitTime field's value. -func (s *TopicsDetectionJobProperties) SetSubmitTime(v time.Time) *TopicsDetectionJobProperties { - s.SubmitTime = &v - return s -} - type EntityType string // Enum values for EntityType diff --git a/service/configservice/api.go b/service/configservice/api.go index f37b2d29536..eaddbe07021 100644 --- a/service/configservice/api.go +++ b/service/configservice/api.go @@ -1699,18 +1699,6 @@ func (s Compliance) GoString() string { return s.String() } -// SetComplianceContributorCount sets the ComplianceContributorCount field's value. -func (s *Compliance) SetComplianceContributorCount(v *ComplianceContributorCount) *Compliance { - s.ComplianceContributorCount = v - return s -} - -// SetComplianceType sets the ComplianceType field's value. -func (s *Compliance) SetComplianceType(v ComplianceType) *Compliance { - s.ComplianceType = v - return s -} - // Indicates whether an AWS Config rule is compliant. A rule is compliant if // all of the resources that the rule evaluated comply with it, and it is noncompliant // if any of these resources do not comply. @@ -1735,18 +1723,6 @@ func (s ComplianceByConfigRule) GoString() string { return s.String() } -// SetCompliance sets the Compliance field's value. -func (s *ComplianceByConfigRule) SetCompliance(v *Compliance) *ComplianceByConfigRule { - s.Compliance = v - return s -} - -// SetConfigRuleName sets the ConfigRuleName field's value. -func (s *ComplianceByConfigRule) SetConfigRuleName(v string) *ComplianceByConfigRule { - s.ConfigRuleName = &v - return s -} - // Indicates whether an AWS resource that is evaluated according to one or more // AWS Config rules is compliant. A resource is compliant if it complies with // all of the rules that evaluate it, and it is noncompliant if it does not @@ -1776,24 +1752,6 @@ func (s ComplianceByResource) GoString() string { return s.String() } -// SetCompliance sets the Compliance field's value. -func (s *ComplianceByResource) SetCompliance(v *Compliance) *ComplianceByResource { - s.Compliance = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *ComplianceByResource) SetResourceId(v string) *ComplianceByResource { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *ComplianceByResource) SetResourceType(v string) *ComplianceByResource { - s.ResourceType = &v - return s -} - // The number of AWS resources or AWS Config rules responsible for the current // compliance of the item, up to a maximum number. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ComplianceContributorCount @@ -1818,18 +1776,6 @@ func (s ComplianceContributorCount) GoString() string { return s.String() } -// SetCapExceeded sets the CapExceeded field's value. -func (s *ComplianceContributorCount) SetCapExceeded(v bool) *ComplianceContributorCount { - s.CapExceeded = &v - return s -} - -// SetCappedCount sets the CappedCount field's value. -func (s *ComplianceContributorCount) SetCappedCount(v int64) *ComplianceContributorCount { - s.CappedCount = &v - return s -} - // The number of AWS Config rules or AWS resources that are compliant and noncompliant. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ComplianceSummary type ComplianceSummary struct { @@ -1857,24 +1803,6 @@ func (s ComplianceSummary) GoString() string { return s.String() } -// SetComplianceSummaryTimestamp sets the ComplianceSummaryTimestamp field's value. -func (s *ComplianceSummary) SetComplianceSummaryTimestamp(v time.Time) *ComplianceSummary { - s.ComplianceSummaryTimestamp = &v - return s -} - -// SetCompliantResourceCount sets the CompliantResourceCount field's value. -func (s *ComplianceSummary) SetCompliantResourceCount(v *ComplianceContributorCount) *ComplianceSummary { - s.CompliantResourceCount = v - return s -} - -// SetNonCompliantResourceCount sets the NonCompliantResourceCount field's value. -func (s *ComplianceSummary) SetNonCompliantResourceCount(v *ComplianceContributorCount) *ComplianceSummary { - s.NonCompliantResourceCount = v - return s -} - // The number of AWS resources of a specific type that are compliant or noncompliant, // up to a maximum of 100 for each compliance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ComplianceSummaryByResourceType @@ -1899,18 +1827,6 @@ func (s ComplianceSummaryByResourceType) GoString() string { return s.String() } -// SetComplianceSummary sets the ComplianceSummary field's value. -func (s *ComplianceSummaryByResourceType) SetComplianceSummary(v *ComplianceSummary) *ComplianceSummaryByResourceType { - s.ComplianceSummary = v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *ComplianceSummaryByResourceType) SetResourceType(v string) *ComplianceSummaryByResourceType { - s.ResourceType = &v - return s -} - // Provides status of the delivery of the snapshot or the configuration history // to the specified Amazon S3 bucket. Also provides the status of notifications // about the Amazon S3 delivery to the specified Amazon SNS topic. @@ -1947,42 +1863,6 @@ func (s ConfigExportDeliveryInfo) GoString() string { return s.String() } -// SetLastAttemptTime sets the LastAttemptTime field's value. -func (s *ConfigExportDeliveryInfo) SetLastAttemptTime(v time.Time) *ConfigExportDeliveryInfo { - s.LastAttemptTime = &v - return s -} - -// SetLastErrorCode sets the LastErrorCode field's value. -func (s *ConfigExportDeliveryInfo) SetLastErrorCode(v string) *ConfigExportDeliveryInfo { - s.LastErrorCode = &v - return s -} - -// SetLastErrorMessage sets the LastErrorMessage field's value. -func (s *ConfigExportDeliveryInfo) SetLastErrorMessage(v string) *ConfigExportDeliveryInfo { - s.LastErrorMessage = &v - return s -} - -// SetLastStatus sets the LastStatus field's value. -func (s *ConfigExportDeliveryInfo) SetLastStatus(v DeliveryStatus) *ConfigExportDeliveryInfo { - s.LastStatus = v - return s -} - -// SetLastSuccessfulTime sets the LastSuccessfulTime field's value. -func (s *ConfigExportDeliveryInfo) SetLastSuccessfulTime(v time.Time) *ConfigExportDeliveryInfo { - s.LastSuccessfulTime = &v - return s -} - -// SetNextDeliveryTime sets the NextDeliveryTime field's value. -func (s *ConfigExportDeliveryInfo) SetNextDeliveryTime(v time.Time) *ConfigExportDeliveryInfo { - s.NextDeliveryTime = &v - return s -} - // An AWS Config rule represents an AWS Lambda function that you create for // a custom rule or a predefined function for an AWS managed rule. The function // evaluates configuration items to assess whether your AWS resources comply @@ -2103,60 +1983,6 @@ func (s *ConfigRule) Validate() error { return nil } -// SetConfigRuleArn sets the ConfigRuleArn field's value. -func (s *ConfigRule) SetConfigRuleArn(v string) *ConfigRule { - s.ConfigRuleArn = &v - return s -} - -// SetConfigRuleId sets the ConfigRuleId field's value. -func (s *ConfigRule) SetConfigRuleId(v string) *ConfigRule { - s.ConfigRuleId = &v - return s -} - -// SetConfigRuleName sets the ConfigRuleName field's value. -func (s *ConfigRule) SetConfigRuleName(v string) *ConfigRule { - s.ConfigRuleName = &v - return s -} - -// SetConfigRuleState sets the ConfigRuleState field's value. -func (s *ConfigRule) SetConfigRuleState(v ConfigRuleState) *ConfigRule { - s.ConfigRuleState = v - return s -} - -// SetDescription sets the Description field's value. -func (s *ConfigRule) SetDescription(v string) *ConfigRule { - s.Description = &v - return s -} - -// SetInputParameters sets the InputParameters field's value. -func (s *ConfigRule) SetInputParameters(v string) *ConfigRule { - s.InputParameters = &v - return s -} - -// SetMaximumExecutionFrequency sets the MaximumExecutionFrequency field's value. -func (s *ConfigRule) SetMaximumExecutionFrequency(v MaximumExecutionFrequency) *ConfigRule { - s.MaximumExecutionFrequency = v - return s -} - -// SetScope sets the Scope field's value. -func (s *ConfigRule) SetScope(v *Scope) *ConfigRule { - s.Scope = v - return s -} - -// SetSource sets the Source field's value. -func (s *ConfigRule) SetSource(v *Source) *ConfigRule { - s.Source = v - return s -} - // Status information for your AWS managed Config rules. The status includes // information such as the last time the rule ran, the last time it failed, // and the related error for the last failure. @@ -2221,72 +2047,6 @@ func (s ConfigRuleEvaluationStatus) GoString() string { return s.String() } -// SetConfigRuleArn sets the ConfigRuleArn field's value. -func (s *ConfigRuleEvaluationStatus) SetConfigRuleArn(v string) *ConfigRuleEvaluationStatus { - s.ConfigRuleArn = &v - return s -} - -// SetConfigRuleId sets the ConfigRuleId field's value. -func (s *ConfigRuleEvaluationStatus) SetConfigRuleId(v string) *ConfigRuleEvaluationStatus { - s.ConfigRuleId = &v - return s -} - -// SetConfigRuleName sets the ConfigRuleName field's value. -func (s *ConfigRuleEvaluationStatus) SetConfigRuleName(v string) *ConfigRuleEvaluationStatus { - s.ConfigRuleName = &v - return s -} - -// SetFirstActivatedTime sets the FirstActivatedTime field's value. -func (s *ConfigRuleEvaluationStatus) SetFirstActivatedTime(v time.Time) *ConfigRuleEvaluationStatus { - s.FirstActivatedTime = &v - return s -} - -// SetFirstEvaluationStarted sets the FirstEvaluationStarted field's value. -func (s *ConfigRuleEvaluationStatus) SetFirstEvaluationStarted(v bool) *ConfigRuleEvaluationStatus { - s.FirstEvaluationStarted = &v - return s -} - -// SetLastErrorCode sets the LastErrorCode field's value. -func (s *ConfigRuleEvaluationStatus) SetLastErrorCode(v string) *ConfigRuleEvaluationStatus { - s.LastErrorCode = &v - return s -} - -// SetLastErrorMessage sets the LastErrorMessage field's value. -func (s *ConfigRuleEvaluationStatus) SetLastErrorMessage(v string) *ConfigRuleEvaluationStatus { - s.LastErrorMessage = &v - return s -} - -// SetLastFailedEvaluationTime sets the LastFailedEvaluationTime field's value. -func (s *ConfigRuleEvaluationStatus) SetLastFailedEvaluationTime(v time.Time) *ConfigRuleEvaluationStatus { - s.LastFailedEvaluationTime = &v - return s -} - -// SetLastFailedInvocationTime sets the LastFailedInvocationTime field's value. -func (s *ConfigRuleEvaluationStatus) SetLastFailedInvocationTime(v time.Time) *ConfigRuleEvaluationStatus { - s.LastFailedInvocationTime = &v - return s -} - -// SetLastSuccessfulEvaluationTime sets the LastSuccessfulEvaluationTime field's value. -func (s *ConfigRuleEvaluationStatus) SetLastSuccessfulEvaluationTime(v time.Time) *ConfigRuleEvaluationStatus { - s.LastSuccessfulEvaluationTime = &v - return s -} - -// SetLastSuccessfulInvocationTime sets the LastSuccessfulInvocationTime field's value. -func (s *ConfigRuleEvaluationStatus) SetLastSuccessfulInvocationTime(v time.Time) *ConfigRuleEvaluationStatus { - s.LastSuccessfulInvocationTime = &v - return s -} - // Provides options for how often AWS Config delivers configuration snapshots // to the Amazon S3 bucket in your delivery channel. // @@ -2344,12 +2104,6 @@ func (s ConfigSnapshotDeliveryProperties) GoString() string { return s.String() } -// SetDeliveryFrequency sets the DeliveryFrequency field's value. -func (s *ConfigSnapshotDeliveryProperties) SetDeliveryFrequency(v MaximumExecutionFrequency) *ConfigSnapshotDeliveryProperties { - s.DeliveryFrequency = v - return s -} - // A list that contains the status of the delivery of the configuration stream // notification to the Amazon SNS topic. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigStreamDeliveryInfo @@ -2383,30 +2137,6 @@ func (s ConfigStreamDeliveryInfo) GoString() string { return s.String() } -// SetLastErrorCode sets the LastErrorCode field's value. -func (s *ConfigStreamDeliveryInfo) SetLastErrorCode(v string) *ConfigStreamDeliveryInfo { - s.LastErrorCode = &v - return s -} - -// SetLastErrorMessage sets the LastErrorMessage field's value. -func (s *ConfigStreamDeliveryInfo) SetLastErrorMessage(v string) *ConfigStreamDeliveryInfo { - s.LastErrorMessage = &v - return s -} - -// SetLastStatus sets the LastStatus field's value. -func (s *ConfigStreamDeliveryInfo) SetLastStatus(v DeliveryStatus) *ConfigStreamDeliveryInfo { - s.LastStatus = v - return s -} - -// SetLastStatusChangeTime sets the LastStatusChangeTime field's value. -func (s *ConfigStreamDeliveryInfo) SetLastStatusChangeTime(v time.Time) *ConfigStreamDeliveryInfo { - s.LastStatusChangeTime = &v - return s -} - // A list that contains detailed configurations of a specified resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigurationItem type ConfigurationItem struct { @@ -2489,114 +2219,6 @@ func (s ConfigurationItem) GoString() string { return s.String() } -// SetAccountId sets the AccountId field's value. -func (s *ConfigurationItem) SetAccountId(v string) *ConfigurationItem { - s.AccountId = &v - return s -} - -// SetArn sets the Arn field's value. -func (s *ConfigurationItem) SetArn(v string) *ConfigurationItem { - s.Arn = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *ConfigurationItem) SetAvailabilityZone(v string) *ConfigurationItem { - s.AvailabilityZone = &v - return s -} - -// SetAwsRegion sets the AwsRegion field's value. -func (s *ConfigurationItem) SetAwsRegion(v string) *ConfigurationItem { - s.AwsRegion = &v - return s -} - -// SetConfiguration sets the Configuration field's value. -func (s *ConfigurationItem) SetConfiguration(v string) *ConfigurationItem { - s.Configuration = &v - return s -} - -// SetConfigurationItemCaptureTime sets the ConfigurationItemCaptureTime field's value. -func (s *ConfigurationItem) SetConfigurationItemCaptureTime(v time.Time) *ConfigurationItem { - s.ConfigurationItemCaptureTime = &v - return s -} - -// SetConfigurationItemMD5Hash sets the ConfigurationItemMD5Hash field's value. -func (s *ConfigurationItem) SetConfigurationItemMD5Hash(v string) *ConfigurationItem { - s.ConfigurationItemMD5Hash = &v - return s -} - -// SetConfigurationItemStatus sets the ConfigurationItemStatus field's value. -func (s *ConfigurationItem) SetConfigurationItemStatus(v ConfigurationItemStatus) *ConfigurationItem { - s.ConfigurationItemStatus = v - return s -} - -// SetConfigurationStateId sets the ConfigurationStateId field's value. -func (s *ConfigurationItem) SetConfigurationStateId(v string) *ConfigurationItem { - s.ConfigurationStateId = &v - return s -} - -// SetRelatedEvents sets the RelatedEvents field's value. -func (s *ConfigurationItem) SetRelatedEvents(v []string) *ConfigurationItem { - s.RelatedEvents = v - return s -} - -// SetRelationships sets the Relationships field's value. -func (s *ConfigurationItem) SetRelationships(v []Relationship) *ConfigurationItem { - s.Relationships = v - return s -} - -// SetResourceCreationTime sets the ResourceCreationTime field's value. -func (s *ConfigurationItem) SetResourceCreationTime(v time.Time) *ConfigurationItem { - s.ResourceCreationTime = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *ConfigurationItem) SetResourceId(v string) *ConfigurationItem { - s.ResourceId = &v - return s -} - -// SetResourceName sets the ResourceName field's value. -func (s *ConfigurationItem) SetResourceName(v string) *ConfigurationItem { - s.ResourceName = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *ConfigurationItem) SetResourceType(v ResourceType) *ConfigurationItem { - s.ResourceType = v - return s -} - -// SetSupplementaryConfiguration sets the SupplementaryConfiguration field's value. -func (s *ConfigurationItem) SetSupplementaryConfiguration(v map[string]string) *ConfigurationItem { - s.SupplementaryConfiguration = v - return s -} - -// SetTags sets the Tags field's value. -func (s *ConfigurationItem) SetTags(v map[string]string) *ConfigurationItem { - s.Tags = v - return s -} - -// SetVersion sets the Version field's value. -func (s *ConfigurationItem) SetVersion(v string) *ConfigurationItem { - s.Version = &v - return s -} - // An object that represents the recording of configuration changes of an AWS // resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigurationRecorder @@ -2640,24 +2262,6 @@ func (s *ConfigurationRecorder) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *ConfigurationRecorder) SetName(v string) *ConfigurationRecorder { - s.Name = &v - return s -} - -// SetRecordingGroup sets the RecordingGroup field's value. -func (s *ConfigurationRecorder) SetRecordingGroup(v *RecordingGroup) *ConfigurationRecorder { - s.RecordingGroup = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *ConfigurationRecorder) SetRoleARN(v string) *ConfigurationRecorder { - s.RoleARN = &v - return s -} - // The current status of the configuration recorder. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigurationRecorderStatus type ConfigurationRecorderStatus struct { @@ -2698,54 +2302,6 @@ func (s ConfigurationRecorderStatus) GoString() string { return s.String() } -// SetLastErrorCode sets the LastErrorCode field's value. -func (s *ConfigurationRecorderStatus) SetLastErrorCode(v string) *ConfigurationRecorderStatus { - s.LastErrorCode = &v - return s -} - -// SetLastErrorMessage sets the LastErrorMessage field's value. -func (s *ConfigurationRecorderStatus) SetLastErrorMessage(v string) *ConfigurationRecorderStatus { - s.LastErrorMessage = &v - return s -} - -// SetLastStartTime sets the LastStartTime field's value. -func (s *ConfigurationRecorderStatus) SetLastStartTime(v time.Time) *ConfigurationRecorderStatus { - s.LastStartTime = &v - return s -} - -// SetLastStatus sets the LastStatus field's value. -func (s *ConfigurationRecorderStatus) SetLastStatus(v RecorderStatus) *ConfigurationRecorderStatus { - s.LastStatus = v - return s -} - -// SetLastStatusChangeTime sets the LastStatusChangeTime field's value. -func (s *ConfigurationRecorderStatus) SetLastStatusChangeTime(v time.Time) *ConfigurationRecorderStatus { - s.LastStatusChangeTime = &v - return s -} - -// SetLastStopTime sets the LastStopTime field's value. -func (s *ConfigurationRecorderStatus) SetLastStopTime(v time.Time) *ConfigurationRecorderStatus { - s.LastStopTime = &v - return s -} - -// SetName sets the Name field's value. -func (s *ConfigurationRecorderStatus) SetName(v string) *ConfigurationRecorderStatus { - s.Name = &v - return s -} - -// SetRecording sets the Recording field's value. -func (s *ConfigurationRecorderStatus) SetRecording(v bool) *ConfigurationRecorderStatus { - s.Recording = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigRuleRequest type DeleteConfigRuleInput struct { _ struct{} `type:"structure"` @@ -2783,12 +2339,6 @@ func (s *DeleteConfigRuleInput) Validate() error { return nil } -// SetConfigRuleName sets the ConfigRuleName field's value. -func (s *DeleteConfigRuleInput) SetConfigRuleName(v string) *DeleteConfigRuleInput { - s.ConfigRuleName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigRuleOutput type DeleteConfigRuleOutput struct { _ struct{} `type:"structure"` @@ -2851,12 +2401,6 @@ func (s *DeleteConfigurationRecorderInput) Validate() error { return nil } -// SetConfigurationRecorderName sets the ConfigurationRecorderName field's value. -func (s *DeleteConfigurationRecorderInput) SetConfigurationRecorderName(v string) *DeleteConfigurationRecorderInput { - s.ConfigurationRecorderName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigurationRecorderOutput type DeleteConfigurationRecorderOutput struct { _ struct{} `type:"structure"` @@ -2918,12 +2462,6 @@ func (s *DeleteDeliveryChannelInput) Validate() error { return nil } -// SetDeliveryChannelName sets the DeliveryChannelName field's value. -func (s *DeleteDeliveryChannelInput) SetDeliveryChannelName(v string) *DeleteDeliveryChannelInput { - s.DeliveryChannelName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteDeliveryChannelOutput type DeleteDeliveryChannelOutput struct { _ struct{} `type:"structure"` @@ -2983,12 +2521,6 @@ func (s *DeleteEvaluationResultsInput) Validate() error { return nil } -// SetConfigRuleName sets the ConfigRuleName field's value. -func (s *DeleteEvaluationResultsInput) SetConfigRuleName(v string) *DeleteEvaluationResultsInput { - s.ConfigRuleName = &v - return s -} - // The output when you delete the evaluation results for the specified Config // rule. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteEvaluationResultsResponse @@ -3051,12 +2583,6 @@ func (s *DeliverConfigSnapshotInput) Validate() error { return nil } -// SetDeliveryChannelName sets the DeliveryChannelName field's value. -func (s *DeliverConfigSnapshotInput) SetDeliveryChannelName(v string) *DeliverConfigSnapshotInput { - s.DeliveryChannelName = &v - return s -} - // The output for the DeliverConfigSnapshot action in JSON format. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeliverConfigSnapshotResponse type DeliverConfigSnapshotOutput struct { @@ -3083,12 +2609,6 @@ func (s DeliverConfigSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConfigSnapshotId sets the ConfigSnapshotId field's value. -func (s *DeliverConfigSnapshotOutput) SetConfigSnapshotId(v string) *DeliverConfigSnapshotOutput { - s.ConfigSnapshotId = &v - return s -} - // The channel through which AWS Config delivers notifications and updated configuration // states. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeliveryChannel @@ -3151,36 +2671,6 @@ func (s *DeliveryChannel) Validate() error { return nil } -// SetConfigSnapshotDeliveryProperties sets the ConfigSnapshotDeliveryProperties field's value. -func (s *DeliveryChannel) SetConfigSnapshotDeliveryProperties(v *ConfigSnapshotDeliveryProperties) *DeliveryChannel { - s.ConfigSnapshotDeliveryProperties = v - return s -} - -// SetName sets the Name field's value. -func (s *DeliveryChannel) SetName(v string) *DeliveryChannel { - s.Name = &v - return s -} - -// SetS3BucketName sets the S3BucketName field's value. -func (s *DeliveryChannel) SetS3BucketName(v string) *DeliveryChannel { - s.S3BucketName = &v - return s -} - -// SetS3KeyPrefix sets the S3KeyPrefix field's value. -func (s *DeliveryChannel) SetS3KeyPrefix(v string) *DeliveryChannel { - s.S3KeyPrefix = &v - return s -} - -// SetSnsTopicARN sets the SnsTopicARN field's value. -func (s *DeliveryChannel) SetSnsTopicARN(v string) *DeliveryChannel { - s.SnsTopicARN = &v - return s -} - // The status of a specified delivery channel. // // Valid values: Success | Failure @@ -3214,30 +2704,6 @@ func (s DeliveryChannelStatus) GoString() string { return s.String() } -// SetConfigHistoryDeliveryInfo sets the ConfigHistoryDeliveryInfo field's value. -func (s *DeliveryChannelStatus) SetConfigHistoryDeliveryInfo(v *ConfigExportDeliveryInfo) *DeliveryChannelStatus { - s.ConfigHistoryDeliveryInfo = v - return s -} - -// SetConfigSnapshotDeliveryInfo sets the ConfigSnapshotDeliveryInfo field's value. -func (s *DeliveryChannelStatus) SetConfigSnapshotDeliveryInfo(v *ConfigExportDeliveryInfo) *DeliveryChannelStatus { - s.ConfigSnapshotDeliveryInfo = v - return s -} - -// SetConfigStreamDeliveryInfo sets the ConfigStreamDeliveryInfo field's value. -func (s *DeliveryChannelStatus) SetConfigStreamDeliveryInfo(v *ConfigStreamDeliveryInfo) *DeliveryChannelStatus { - s.ConfigStreamDeliveryInfo = v - return s -} - -// SetName sets the Name field's value. -func (s *DeliveryChannelStatus) SetName(v string) *DeliveryChannelStatus { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByConfigRuleRequest type DescribeComplianceByConfigRuleInput struct { _ struct{} `type:"structure"` @@ -3265,24 +2731,6 @@ func (s DescribeComplianceByConfigRuleInput) GoString() string { return s.String() } -// SetComplianceTypes sets the ComplianceTypes field's value. -func (s *DescribeComplianceByConfigRuleInput) SetComplianceTypes(v []ComplianceType) *DescribeComplianceByConfigRuleInput { - s.ComplianceTypes = v - return s -} - -// SetConfigRuleNames sets the ConfigRuleNames field's value. -func (s *DescribeComplianceByConfigRuleInput) SetConfigRuleNames(v []string) *DescribeComplianceByConfigRuleInput { - s.ConfigRuleNames = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeComplianceByConfigRuleInput) SetNextToken(v string) *DescribeComplianceByConfigRuleInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByConfigRuleResponse type DescribeComplianceByConfigRuleOutput struct { _ struct{} `type:"structure"` @@ -3312,18 +2760,6 @@ func (s DescribeComplianceByConfigRuleOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetComplianceByConfigRules sets the ComplianceByConfigRules field's value. -func (s *DescribeComplianceByConfigRuleOutput) SetComplianceByConfigRules(v []ComplianceByConfigRule) *DescribeComplianceByConfigRuleOutput { - s.ComplianceByConfigRules = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeComplianceByConfigRuleOutput) SetNextToken(v string) *DescribeComplianceByConfigRuleOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByResourceRequest type DescribeComplianceByResourceInput struct { _ struct{} `type:"structure"` @@ -3379,36 +2815,6 @@ func (s *DescribeComplianceByResourceInput) Validate() error { return nil } -// SetComplianceTypes sets the ComplianceTypes field's value. -func (s *DescribeComplianceByResourceInput) SetComplianceTypes(v []ComplianceType) *DescribeComplianceByResourceInput { - s.ComplianceTypes = v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeComplianceByResourceInput) SetLimit(v int64) *DescribeComplianceByResourceInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeComplianceByResourceInput) SetNextToken(v string) *DescribeComplianceByResourceInput { - s.NextToken = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *DescribeComplianceByResourceInput) SetResourceId(v string) *DescribeComplianceByResourceInput { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *DescribeComplianceByResourceInput) SetResourceType(v string) *DescribeComplianceByResourceInput { - s.ResourceType = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByResourceResponse type DescribeComplianceByResourceOutput struct { _ struct{} `type:"structure"` @@ -3439,18 +2845,6 @@ func (s DescribeComplianceByResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetComplianceByResources sets the ComplianceByResources field's value. -func (s *DescribeComplianceByResourceOutput) SetComplianceByResources(v []ComplianceByResource) *DescribeComplianceByResourceOutput { - s.ComplianceByResources = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeComplianceByResourceOutput) SetNextToken(v string) *DescribeComplianceByResourceOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRuleEvaluationStatusRequest type DescribeConfigRuleEvaluationStatusInput struct { _ struct{} `type:"structure"` @@ -3485,24 +2879,6 @@ func (s DescribeConfigRuleEvaluationStatusInput) GoString() string { return s.String() } -// SetConfigRuleNames sets the ConfigRuleNames field's value. -func (s *DescribeConfigRuleEvaluationStatusInput) SetConfigRuleNames(v []string) *DescribeConfigRuleEvaluationStatusInput { - s.ConfigRuleNames = v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeConfigRuleEvaluationStatusInput) SetLimit(v int64) *DescribeConfigRuleEvaluationStatusInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeConfigRuleEvaluationStatusInput) SetNextToken(v string) *DescribeConfigRuleEvaluationStatusInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRuleEvaluationStatusResponse type DescribeConfigRuleEvaluationStatusOutput struct { _ struct{} `type:"structure"` @@ -3532,18 +2908,6 @@ func (s DescribeConfigRuleEvaluationStatusOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetConfigRulesEvaluationStatus sets the ConfigRulesEvaluationStatus field's value. -func (s *DescribeConfigRuleEvaluationStatusOutput) SetConfigRulesEvaluationStatus(v []ConfigRuleEvaluationStatus) *DescribeConfigRuleEvaluationStatusOutput { - s.ConfigRulesEvaluationStatus = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeConfigRuleEvaluationStatusOutput) SetNextToken(v string) *DescribeConfigRuleEvaluationStatusOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRulesRequest type DescribeConfigRulesInput struct { _ struct{} `type:"structure"` @@ -3567,18 +2931,6 @@ func (s DescribeConfigRulesInput) GoString() string { return s.String() } -// SetConfigRuleNames sets the ConfigRuleNames field's value. -func (s *DescribeConfigRulesInput) SetConfigRuleNames(v []string) *DescribeConfigRulesInput { - s.ConfigRuleNames = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeConfigRulesInput) SetNextToken(v string) *DescribeConfigRulesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRulesResponse type DescribeConfigRulesOutput struct { _ struct{} `type:"structure"` @@ -3608,18 +2960,6 @@ func (s DescribeConfigRulesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConfigRules sets the ConfigRules field's value. -func (s *DescribeConfigRulesOutput) SetConfigRules(v []ConfigRule) *DescribeConfigRulesOutput { - s.ConfigRules = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeConfigRulesOutput) SetNextToken(v string) *DescribeConfigRulesOutput { - s.NextToken = &v - return s -} - // The input for the DescribeConfigurationRecorderStatus action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorderStatusRequest type DescribeConfigurationRecorderStatusInput struct { @@ -3641,12 +2981,6 @@ func (s DescribeConfigurationRecorderStatusInput) GoString() string { return s.String() } -// SetConfigurationRecorderNames sets the ConfigurationRecorderNames field's value. -func (s *DescribeConfigurationRecorderStatusInput) SetConfigurationRecorderNames(v []string) *DescribeConfigurationRecorderStatusInput { - s.ConfigurationRecorderNames = v - return s -} - // The output for the DescribeConfigurationRecorderStatus action in JSON format. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorderStatusResponse type DescribeConfigurationRecorderStatusOutput struct { @@ -3673,12 +3007,6 @@ func (s DescribeConfigurationRecorderStatusOutput) SDKResponseMetadata() aws.Res return s.responseMetadata } -// SetConfigurationRecordersStatus sets the ConfigurationRecordersStatus field's value. -func (s *DescribeConfigurationRecorderStatusOutput) SetConfigurationRecordersStatus(v []ConfigurationRecorderStatus) *DescribeConfigurationRecorderStatusOutput { - s.ConfigurationRecordersStatus = v - return s -} - // The input for the DescribeConfigurationRecorders action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecordersRequest type DescribeConfigurationRecordersInput struct { @@ -3698,12 +3026,6 @@ func (s DescribeConfigurationRecordersInput) GoString() string { return s.String() } -// SetConfigurationRecorderNames sets the ConfigurationRecorderNames field's value. -func (s *DescribeConfigurationRecordersInput) SetConfigurationRecorderNames(v []string) *DescribeConfigurationRecordersInput { - s.ConfigurationRecorderNames = v - return s -} - // The output for the DescribeConfigurationRecorders action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecordersResponse type DescribeConfigurationRecordersOutput struct { @@ -3730,12 +3052,6 @@ func (s DescribeConfigurationRecordersOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetConfigurationRecorders sets the ConfigurationRecorders field's value. -func (s *DescribeConfigurationRecordersOutput) SetConfigurationRecorders(v []ConfigurationRecorder) *DescribeConfigurationRecordersOutput { - s.ConfigurationRecorders = v - return s -} - // The input for the DeliveryChannelStatus action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelStatusRequest type DescribeDeliveryChannelStatusInput struct { @@ -3755,12 +3071,6 @@ func (s DescribeDeliveryChannelStatusInput) GoString() string { return s.String() } -// SetDeliveryChannelNames sets the DeliveryChannelNames field's value. -func (s *DescribeDeliveryChannelStatusInput) SetDeliveryChannelNames(v []string) *DescribeDeliveryChannelStatusInput { - s.DeliveryChannelNames = v - return s -} - // The output for the DescribeDeliveryChannelStatus action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelStatusResponse type DescribeDeliveryChannelStatusOutput struct { @@ -3787,12 +3097,6 @@ func (s DescribeDeliveryChannelStatusOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetDeliveryChannelsStatus sets the DeliveryChannelsStatus field's value. -func (s *DescribeDeliveryChannelStatusOutput) SetDeliveryChannelsStatus(v []DeliveryChannelStatus) *DescribeDeliveryChannelStatusOutput { - s.DeliveryChannelsStatus = v - return s -} - // The input for the DescribeDeliveryChannels action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelsRequest type DescribeDeliveryChannelsInput struct { @@ -3812,12 +3116,6 @@ func (s DescribeDeliveryChannelsInput) GoString() string { return s.String() } -// SetDeliveryChannelNames sets the DeliveryChannelNames field's value. -func (s *DescribeDeliveryChannelsInput) SetDeliveryChannelNames(v []string) *DescribeDeliveryChannelsInput { - s.DeliveryChannelNames = v - return s -} - // The output for the DescribeDeliveryChannels action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelsResponse type DescribeDeliveryChannelsOutput struct { @@ -3844,12 +3142,6 @@ func (s DescribeDeliveryChannelsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeliveryChannels sets the DeliveryChannels field's value. -func (s *DescribeDeliveryChannelsOutput) SetDeliveryChannels(v []DeliveryChannel) *DescribeDeliveryChannelsOutput { - s.DeliveryChannels = v - return s -} - // Identifies an AWS resource and indicates whether it complies with the AWS // Config rule that it was evaluated against. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/Evaluation @@ -3938,36 +3230,6 @@ func (s *Evaluation) Validate() error { return nil } -// SetAnnotation sets the Annotation field's value. -func (s *Evaluation) SetAnnotation(v string) *Evaluation { - s.Annotation = &v - return s -} - -// SetComplianceResourceId sets the ComplianceResourceId field's value. -func (s *Evaluation) SetComplianceResourceId(v string) *Evaluation { - s.ComplianceResourceId = &v - return s -} - -// SetComplianceResourceType sets the ComplianceResourceType field's value. -func (s *Evaluation) SetComplianceResourceType(v string) *Evaluation { - s.ComplianceResourceType = &v - return s -} - -// SetComplianceType sets the ComplianceType field's value. -func (s *Evaluation) SetComplianceType(v ComplianceType) *Evaluation { - s.ComplianceType = v - return s -} - -// SetOrderingTimestamp sets the OrderingTimestamp field's value. -func (s *Evaluation) SetOrderingTimestamp(v time.Time) *Evaluation { - s.OrderingTimestamp = &v - return s -} - // The details of an AWS Config evaluation. Provides the AWS resource that was // evaluated, the compliance of the resource, related timestamps, and supplementary // information. @@ -4011,42 +3273,6 @@ func (s EvaluationResult) GoString() string { return s.String() } -// SetAnnotation sets the Annotation field's value. -func (s *EvaluationResult) SetAnnotation(v string) *EvaluationResult { - s.Annotation = &v - return s -} - -// SetComplianceType sets the ComplianceType field's value. -func (s *EvaluationResult) SetComplianceType(v ComplianceType) *EvaluationResult { - s.ComplianceType = v - return s -} - -// SetConfigRuleInvokedTime sets the ConfigRuleInvokedTime field's value. -func (s *EvaluationResult) SetConfigRuleInvokedTime(v time.Time) *EvaluationResult { - s.ConfigRuleInvokedTime = &v - return s -} - -// SetEvaluationResultIdentifier sets the EvaluationResultIdentifier field's value. -func (s *EvaluationResult) SetEvaluationResultIdentifier(v *EvaluationResultIdentifier) *EvaluationResult { - s.EvaluationResultIdentifier = v - return s -} - -// SetResultRecordedTime sets the ResultRecordedTime field's value. -func (s *EvaluationResult) SetResultRecordedTime(v time.Time) *EvaluationResult { - s.ResultRecordedTime = &v - return s -} - -// SetResultToken sets the ResultToken field's value. -func (s *EvaluationResult) SetResultToken(v string) *EvaluationResult { - s.ResultToken = &v - return s -} - // Uniquely identifies an evaluation result. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/EvaluationResultIdentifier type EvaluationResultIdentifier struct { @@ -4073,18 +3299,6 @@ func (s EvaluationResultIdentifier) GoString() string { return s.String() } -// SetEvaluationResultQualifier sets the EvaluationResultQualifier field's value. -func (s *EvaluationResultIdentifier) SetEvaluationResultQualifier(v *EvaluationResultQualifier) *EvaluationResultIdentifier { - s.EvaluationResultQualifier = v - return s -} - -// SetOrderingTimestamp sets the OrderingTimestamp field's value. -func (s *EvaluationResultIdentifier) SetOrderingTimestamp(v time.Time) *EvaluationResultIdentifier { - s.OrderingTimestamp = &v - return s -} - // Identifies an AWS Config rule that evaluated an AWS resource, and provides // the type and ID of the resource that the rule evaluated. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/EvaluationResultQualifier @@ -4111,24 +3325,6 @@ func (s EvaluationResultQualifier) GoString() string { return s.String() } -// SetConfigRuleName sets the ConfigRuleName field's value. -func (s *EvaluationResultQualifier) SetConfigRuleName(v string) *EvaluationResultQualifier { - s.ConfigRuleName = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *EvaluationResultQualifier) SetResourceId(v string) *EvaluationResultQualifier { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *EvaluationResultQualifier) SetResourceType(v string) *EvaluationResultQualifier { - s.ResourceType = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByConfigRuleRequest type GetComplianceDetailsByConfigRuleInput struct { _ struct{} `type:"structure"` @@ -4180,30 +3376,6 @@ func (s *GetComplianceDetailsByConfigRuleInput) Validate() error { return nil } -// SetComplianceTypes sets the ComplianceTypes field's value. -func (s *GetComplianceDetailsByConfigRuleInput) SetComplianceTypes(v []ComplianceType) *GetComplianceDetailsByConfigRuleInput { - s.ComplianceTypes = v - return s -} - -// SetConfigRuleName sets the ConfigRuleName field's value. -func (s *GetComplianceDetailsByConfigRuleInput) SetConfigRuleName(v string) *GetComplianceDetailsByConfigRuleInput { - s.ConfigRuleName = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *GetComplianceDetailsByConfigRuleInput) SetLimit(v int64) *GetComplianceDetailsByConfigRuleInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetComplianceDetailsByConfigRuleInput) SetNextToken(v string) *GetComplianceDetailsByConfigRuleInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByConfigRuleResponse type GetComplianceDetailsByConfigRuleOutput struct { _ struct{} `type:"structure"` @@ -4234,18 +3406,6 @@ func (s GetComplianceDetailsByConfigRuleOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetEvaluationResults sets the EvaluationResults field's value. -func (s *GetComplianceDetailsByConfigRuleOutput) SetEvaluationResults(v []EvaluationResult) *GetComplianceDetailsByConfigRuleOutput { - s.EvaluationResults = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetComplianceDetailsByConfigRuleOutput) SetNextToken(v string) *GetComplianceDetailsByConfigRuleOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByResourceRequest type GetComplianceDetailsByResourceInput struct { _ struct{} `type:"structure"` @@ -4304,30 +3464,6 @@ func (s *GetComplianceDetailsByResourceInput) Validate() error { return nil } -// SetComplianceTypes sets the ComplianceTypes field's value. -func (s *GetComplianceDetailsByResourceInput) SetComplianceTypes(v []ComplianceType) *GetComplianceDetailsByResourceInput { - s.ComplianceTypes = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetComplianceDetailsByResourceInput) SetNextToken(v string) *GetComplianceDetailsByResourceInput { - s.NextToken = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *GetComplianceDetailsByResourceInput) SetResourceId(v string) *GetComplianceDetailsByResourceInput { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *GetComplianceDetailsByResourceInput) SetResourceType(v string) *GetComplianceDetailsByResourceInput { - s.ResourceType = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByResourceResponse type GetComplianceDetailsByResourceOutput struct { _ struct{} `type:"structure"` @@ -4357,18 +3493,6 @@ func (s GetComplianceDetailsByResourceOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetEvaluationResults sets the EvaluationResults field's value. -func (s *GetComplianceDetailsByResourceOutput) SetEvaluationResults(v []EvaluationResult) *GetComplianceDetailsByResourceOutput { - s.EvaluationResults = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetComplianceDetailsByResourceOutput) SetNextToken(v string) *GetComplianceDetailsByResourceOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByConfigRuleInput type GetComplianceSummaryByConfigRuleInput struct { _ struct{} `type:"structure"` @@ -4410,12 +3534,6 @@ func (s GetComplianceSummaryByConfigRuleOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetComplianceSummary sets the ComplianceSummary field's value. -func (s *GetComplianceSummaryByConfigRuleOutput) SetComplianceSummary(v *ComplianceSummary) *GetComplianceSummaryByConfigRuleOutput { - s.ComplianceSummary = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByResourceTypeRequest type GetComplianceSummaryByResourceTypeInput struct { _ struct{} `type:"structure"` @@ -4439,12 +3557,6 @@ func (s GetComplianceSummaryByResourceTypeInput) GoString() string { return s.String() } -// SetResourceTypes sets the ResourceTypes field's value. -func (s *GetComplianceSummaryByResourceTypeInput) SetResourceTypes(v []string) *GetComplianceSummaryByResourceTypeInput { - s.ResourceTypes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByResourceTypeResponse type GetComplianceSummaryByResourceTypeOutput struct { _ struct{} `type:"structure"` @@ -4472,12 +3584,6 @@ func (s GetComplianceSummaryByResourceTypeOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetComplianceSummariesByResourceType sets the ComplianceSummariesByResourceType field's value. -func (s *GetComplianceSummaryByResourceTypeOutput) SetComplianceSummariesByResourceType(v []ComplianceSummaryByResourceType) *GetComplianceSummaryByResourceTypeOutput { - s.ComplianceSummariesByResourceType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetDiscoveredResourceCountsRequest type GetDiscoveredResourceCountsInput struct { _ struct{} `type:"structure"` @@ -4514,24 +3620,6 @@ func (s GetDiscoveredResourceCountsInput) GoString() string { return s.String() } -// SetLimit sets the Limit field's value. -func (s *GetDiscoveredResourceCountsInput) SetLimit(v int64) *GetDiscoveredResourceCountsInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetDiscoveredResourceCountsInput) SetNextToken(v string) *GetDiscoveredResourceCountsInput { - s.NextToken = &v - return s -} - -// SetResourceTypes sets the ResourceTypes field's value. -func (s *GetDiscoveredResourceCountsInput) SetResourceTypes(v []string) *GetDiscoveredResourceCountsInput { - s.ResourceTypes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetDiscoveredResourceCountsResponse type GetDiscoveredResourceCountsOutput struct { _ struct{} `type:"structure"` @@ -4578,24 +3666,6 @@ func (s GetDiscoveredResourceCountsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *GetDiscoveredResourceCountsOutput) SetNextToken(v string) *GetDiscoveredResourceCountsOutput { - s.NextToken = &v - return s -} - -// SetResourceCounts sets the ResourceCounts field's value. -func (s *GetDiscoveredResourceCountsOutput) SetResourceCounts(v []ResourceCount) *GetDiscoveredResourceCountsOutput { - s.ResourceCounts = v - return s -} - -// SetTotalDiscoveredResources sets the TotalDiscoveredResources field's value. -func (s *GetDiscoveredResourceCountsOutput) SetTotalDiscoveredResources(v int64) *GetDiscoveredResourceCountsOutput { - s.TotalDiscoveredResources = &v - return s -} - // The input for the GetResourceConfigHistory action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetResourceConfigHistoryRequest type GetResourceConfigHistoryInput struct { @@ -4661,48 +3731,6 @@ func (s *GetResourceConfigHistoryInput) Validate() error { return nil } -// SetChronologicalOrder sets the ChronologicalOrder field's value. -func (s *GetResourceConfigHistoryInput) SetChronologicalOrder(v ChronologicalOrder) *GetResourceConfigHistoryInput { - s.ChronologicalOrder = v - return s -} - -// SetEarlierTime sets the EarlierTime field's value. -func (s *GetResourceConfigHistoryInput) SetEarlierTime(v time.Time) *GetResourceConfigHistoryInput { - s.EarlierTime = &v - return s -} - -// SetLaterTime sets the LaterTime field's value. -func (s *GetResourceConfigHistoryInput) SetLaterTime(v time.Time) *GetResourceConfigHistoryInput { - s.LaterTime = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *GetResourceConfigHistoryInput) SetLimit(v int64) *GetResourceConfigHistoryInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetResourceConfigHistoryInput) SetNextToken(v string) *GetResourceConfigHistoryInput { - s.NextToken = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *GetResourceConfigHistoryInput) SetResourceId(v string) *GetResourceConfigHistoryInput { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *GetResourceConfigHistoryInput) SetResourceType(v ResourceType) *GetResourceConfigHistoryInput { - s.ResourceType = v - return s -} - // The output for the GetResourceConfigHistory action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetResourceConfigHistoryResponse type GetResourceConfigHistoryOutput struct { @@ -4733,18 +3761,6 @@ func (s GetResourceConfigHistoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConfigurationItems sets the ConfigurationItems field's value. -func (s *GetResourceConfigHistoryOutput) SetConfigurationItems(v []ConfigurationItem) *GetResourceConfigHistoryOutput { - s.ConfigurationItems = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetResourceConfigHistoryOutput) SetNextToken(v string) *GetResourceConfigHistoryOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListDiscoveredResourcesRequest type ListDiscoveredResourcesInput struct { _ struct{} `type:"structure"` @@ -4801,42 +3817,6 @@ func (s *ListDiscoveredResourcesInput) Validate() error { return nil } -// SetIncludeDeletedResources sets the IncludeDeletedResources field's value. -func (s *ListDiscoveredResourcesInput) SetIncludeDeletedResources(v bool) *ListDiscoveredResourcesInput { - s.IncludeDeletedResources = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListDiscoveredResourcesInput) SetLimit(v int64) *ListDiscoveredResourcesInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDiscoveredResourcesInput) SetNextToken(v string) *ListDiscoveredResourcesInput { - s.NextToken = &v - return s -} - -// SetResourceIds sets the ResourceIds field's value. -func (s *ListDiscoveredResourcesInput) SetResourceIds(v []string) *ListDiscoveredResourcesInput { - s.ResourceIds = v - return s -} - -// SetResourceName sets the ResourceName field's value. -func (s *ListDiscoveredResourcesInput) SetResourceName(v string) *ListDiscoveredResourcesInput { - s.ResourceName = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *ListDiscoveredResourcesInput) SetResourceType(v ResourceType) *ListDiscoveredResourcesInput { - s.ResourceType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListDiscoveredResourcesResponse type ListDiscoveredResourcesOutput struct { _ struct{} `type:"structure"` @@ -4867,18 +3847,6 @@ func (s ListDiscoveredResourcesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListDiscoveredResourcesOutput) SetNextToken(v string) *ListDiscoveredResourcesOutput { - s.NextToken = &v - return s -} - -// SetResourceIdentifiers sets the ResourceIdentifiers field's value. -func (s *ListDiscoveredResourcesOutput) SetResourceIdentifiers(v []ResourceIdentifier) *ListDiscoveredResourcesOutput { - s.ResourceIdentifiers = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigRuleRequest type PutConfigRuleInput struct { _ struct{} `type:"structure"` @@ -4918,12 +3886,6 @@ func (s *PutConfigRuleInput) Validate() error { return nil } -// SetConfigRule sets the ConfigRule field's value. -func (s *PutConfigRuleInput) SetConfigRule(v *ConfigRule) *PutConfigRuleInput { - s.ConfigRule = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigRuleOutput type PutConfigRuleOutput struct { _ struct{} `type:"structure"` @@ -4987,12 +3949,6 @@ func (s *PutConfigurationRecorderInput) Validate() error { return nil } -// SetConfigurationRecorder sets the ConfigurationRecorder field's value. -func (s *PutConfigurationRecorderInput) SetConfigurationRecorder(v *ConfigurationRecorder) *PutConfigurationRecorderInput { - s.ConfigurationRecorder = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigurationRecorderOutput type PutConfigurationRecorderOutput struct { _ struct{} `type:"structure"` @@ -5056,12 +4012,6 @@ func (s *PutDeliveryChannelInput) Validate() error { return nil } -// SetDeliveryChannel sets the DeliveryChannel field's value. -func (s *PutDeliveryChannelInput) SetDeliveryChannel(v *DeliveryChannel) *PutDeliveryChannelInput { - s.DeliveryChannel = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutDeliveryChannelOutput type PutDeliveryChannelOutput struct { _ struct{} `type:"structure"` @@ -5140,24 +4090,6 @@ func (s *PutEvaluationsInput) Validate() error { return nil } -// SetEvaluations sets the Evaluations field's value. -func (s *PutEvaluationsInput) SetEvaluations(v []Evaluation) *PutEvaluationsInput { - s.Evaluations = v - return s -} - -// SetResultToken sets the ResultToken field's value. -func (s *PutEvaluationsInput) SetResultToken(v string) *PutEvaluationsInput { - s.ResultToken = &v - return s -} - -// SetTestMode sets the TestMode field's value. -func (s *PutEvaluationsInput) SetTestMode(v bool) *PutEvaluationsInput { - s.TestMode = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutEvaluationsResponse type PutEvaluationsOutput struct { _ struct{} `type:"structure"` @@ -5183,12 +4115,6 @@ func (s PutEvaluationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailedEvaluations sets the FailedEvaluations field's value. -func (s *PutEvaluationsOutput) SetFailedEvaluations(v []Evaluation) *PutEvaluationsOutput { - s.FailedEvaluations = v - return s -} - // Specifies the types of AWS resource for which AWS Config records configuration // changes. // @@ -5273,24 +4199,6 @@ func (s RecordingGroup) GoString() string { return s.String() } -// SetAllSupported sets the AllSupported field's value. -func (s *RecordingGroup) SetAllSupported(v bool) *RecordingGroup { - s.AllSupported = &v - return s -} - -// SetIncludeGlobalResourceTypes sets the IncludeGlobalResourceTypes field's value. -func (s *RecordingGroup) SetIncludeGlobalResourceTypes(v bool) *RecordingGroup { - s.IncludeGlobalResourceTypes = &v - return s -} - -// SetResourceTypes sets the ResourceTypes field's value. -func (s *RecordingGroup) SetResourceTypes(v []ResourceType) *RecordingGroup { - s.ResourceTypes = v - return s -} - // The relationship of the related resource to the main resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/Relationship type Relationship struct { @@ -5319,30 +4227,6 @@ func (s Relationship) GoString() string { return s.String() } -// SetRelationshipName sets the RelationshipName field's value. -func (s *Relationship) SetRelationshipName(v string) *Relationship { - s.RelationshipName = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *Relationship) SetResourceId(v string) *Relationship { - s.ResourceId = &v - return s -} - -// SetResourceName sets the ResourceName field's value. -func (s *Relationship) SetResourceName(v string) *Relationship { - s.ResourceName = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *Relationship) SetResourceType(v ResourceType) *Relationship { - s.ResourceType = v - return s -} - // An object that contains the resource type and the number of resources. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ResourceCount type ResourceCount struct { @@ -5365,18 +4249,6 @@ func (s ResourceCount) GoString() string { return s.String() } -// SetCount sets the Count field's value. -func (s *ResourceCount) SetCount(v int64) *ResourceCount { - s.Count = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *ResourceCount) SetResourceType(v ResourceType) *ResourceCount { - s.ResourceType = v - return s -} - // The details that identify a resource that is discovered by AWS Config, including // the resource type, ID, and (if available) the custom resource name. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ResourceIdentifier @@ -5406,30 +4278,6 @@ func (s ResourceIdentifier) GoString() string { return s.String() } -// SetResourceDeletionTime sets the ResourceDeletionTime field's value. -func (s *ResourceIdentifier) SetResourceDeletionTime(v time.Time) *ResourceIdentifier { - s.ResourceDeletionTime = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *ResourceIdentifier) SetResourceId(v string) *ResourceIdentifier { - s.ResourceId = &v - return s -} - -// SetResourceName sets the ResourceName field's value. -func (s *ResourceIdentifier) SetResourceName(v string) *ResourceIdentifier { - s.ResourceName = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *ResourceIdentifier) SetResourceType(v ResourceType) *ResourceIdentifier { - s.ResourceType = v - return s -} - // Defines which resources trigger an evaluation for an AWS Config rule. The // scope can include one or more resource types, a combination of a tag key // and value, or a combination of one resource type and one resource ID. Specify @@ -5489,30 +4337,6 @@ func (s *Scope) Validate() error { return nil } -// SetComplianceResourceId sets the ComplianceResourceId field's value. -func (s *Scope) SetComplianceResourceId(v string) *Scope { - s.ComplianceResourceId = &v - return s -} - -// SetComplianceResourceTypes sets the ComplianceResourceTypes field's value. -func (s *Scope) SetComplianceResourceTypes(v []string) *Scope { - s.ComplianceResourceTypes = v - return s -} - -// SetTagKey sets the TagKey field's value. -func (s *Scope) SetTagKey(v string) *Scope { - s.TagKey = &v - return s -} - -// SetTagValue sets the TagValue field's value. -func (s *Scope) SetTagValue(v string) *Scope { - s.TagValue = &v - return s -} - // Provides the AWS Config rule owner (AWS or customer), the rule identifier, // and the events that trigger the evaluation of your AWS resources. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/Source @@ -5569,24 +4393,6 @@ func (s *Source) Validate() error { return nil } -// SetOwner sets the Owner field's value. -func (s *Source) SetOwner(v Owner) *Source { - s.Owner = v - return s -} - -// SetSourceDetails sets the SourceDetails field's value. -func (s *Source) SetSourceDetails(v []SourceDetail) *Source { - s.SourceDetails = v - return s -} - -// SetSourceIdentifier sets the SourceIdentifier field's value. -func (s *Source) SetSourceIdentifier(v string) *Source { - s.SourceIdentifier = &v - return s -} - // Provides the source and the message types that trigger AWS Config to evaluate // your AWS resources against a rule. It also provides the frequency with which // you want AWS Config to run evaluations for the rule if the trigger type is @@ -5641,24 +4447,6 @@ func (s SourceDetail) GoString() string { return s.String() } -// SetEventSource sets the EventSource field's value. -func (s *SourceDetail) SetEventSource(v EventSource) *SourceDetail { - s.EventSource = v - return s -} - -// SetMaximumExecutionFrequency sets the MaximumExecutionFrequency field's value. -func (s *SourceDetail) SetMaximumExecutionFrequency(v MaximumExecutionFrequency) *SourceDetail { - s.MaximumExecutionFrequency = v - return s -} - -// SetMessageType sets the MessageType field's value. -func (s *SourceDetail) SetMessageType(v MessageType) *SourceDetail { - s.MessageType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigRulesEvaluationRequest type StartConfigRulesEvaluationInput struct { _ struct{} `type:"structure"` @@ -5690,12 +4478,6 @@ func (s *StartConfigRulesEvaluationInput) Validate() error { return nil } -// SetConfigRuleNames sets the ConfigRuleNames field's value. -func (s *StartConfigRulesEvaluationInput) SetConfigRuleNames(v []string) *StartConfigRulesEvaluationInput { - s.ConfigRuleNames = v - return s -} - // The output when you start the evaluation for the specified Config rule. // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigRulesEvaluationResponse type StartConfigRulesEvaluationOutput struct { @@ -5758,12 +4540,6 @@ func (s *StartConfigurationRecorderInput) Validate() error { return nil } -// SetConfigurationRecorderName sets the ConfigurationRecorderName field's value. -func (s *StartConfigurationRecorderInput) SetConfigurationRecorderName(v string) *StartConfigurationRecorderInput { - s.ConfigurationRecorderName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigurationRecorderOutput type StartConfigurationRecorderOutput struct { _ struct{} `type:"structure"` @@ -5825,12 +4601,6 @@ func (s *StopConfigurationRecorderInput) Validate() error { return nil } -// SetConfigurationRecorderName sets the ConfigurationRecorderName field's value. -func (s *StopConfigurationRecorderInput) SetConfigurationRecorderName(v string) *StopConfigurationRecorderInput { - s.ConfigurationRecorderName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StopConfigurationRecorderOutput type StopConfigurationRecorderOutput struct { _ struct{} `type:"structure"` diff --git a/service/costandusagereportservice/api.go b/service/costandusagereportservice/api.go index e724f740800..62fc1eefbea 100644 --- a/service/costandusagereportservice/api.go +++ b/service/costandusagereportservice/api.go @@ -230,12 +230,6 @@ func (s DeleteReportDefinitionInput) GoString() string { return s.String() } -// SetReportName sets the ReportName field's value. -func (s *DeleteReportDefinitionInput) SetReportName(v string) *DeleteReportDefinitionInput { - s.ReportName = &v - return s -} - // Response of DeleteReportDefinition // Please also see https://docs.aws.amazon.com/goto/WebAPI/cur-2017-01-06/DeleteReportDefinitionResponse type DeleteReportDefinitionOutput struct { @@ -262,12 +256,6 @@ func (s DeleteReportDefinitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResponseMessage sets the ResponseMessage field's value. -func (s *DeleteReportDefinitionOutput) SetResponseMessage(v string) *DeleteReportDefinitionOutput { - s.ResponseMessage = &v - return s -} - // Request of DescribeReportDefinitions // Please also see https://docs.aws.amazon.com/goto/WebAPI/cur-2017-01-06/DescribeReportDefinitionsRequest type DescribeReportDefinitionsInput struct { @@ -303,18 +291,6 @@ func (s *DescribeReportDefinitionsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeReportDefinitionsInput) SetMaxResults(v int64) *DescribeReportDefinitionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeReportDefinitionsInput) SetNextToken(v string) *DescribeReportDefinitionsInput { - s.NextToken = &v - return s -} - // Response of DescribeReportDefinitions // Please also see https://docs.aws.amazon.com/goto/WebAPI/cur-2017-01-06/DescribeReportDefinitionsResponse type DescribeReportDefinitionsOutput struct { @@ -344,18 +320,6 @@ func (s DescribeReportDefinitionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeReportDefinitionsOutput) SetNextToken(v string) *DescribeReportDefinitionsOutput { - s.NextToken = &v - return s -} - -// SetReportDefinitions sets the ReportDefinitions field's value. -func (s *DescribeReportDefinitionsOutput) SetReportDefinitions(v []ReportDefinition) *DescribeReportDefinitionsOutput { - s.ReportDefinitions = v - return s -} - // Request of PutReportDefinition // Please also see https://docs.aws.amazon.com/goto/WebAPI/cur-2017-01-06/PutReportDefinitionRequest type PutReportDefinitionInput struct { @@ -398,12 +362,6 @@ func (s *PutReportDefinitionInput) Validate() error { return nil } -// SetReportDefinition sets the ReportDefinition field's value. -func (s *PutReportDefinitionInput) SetReportDefinition(v *ReportDefinition) *PutReportDefinitionInput { - s.ReportDefinition = v - return s -} - // Response of PutReportDefinition // Please also see https://docs.aws.amazon.com/goto/WebAPI/cur-2017-01-06/PutReportDefinitionResponse type PutReportDefinitionOutput struct { @@ -527,60 +485,6 @@ func (s *ReportDefinition) Validate() error { return nil } -// SetAdditionalArtifacts sets the AdditionalArtifacts field's value. -func (s *ReportDefinition) SetAdditionalArtifacts(v []AdditionalArtifact) *ReportDefinition { - s.AdditionalArtifacts = v - return s -} - -// SetAdditionalSchemaElements sets the AdditionalSchemaElements field's value. -func (s *ReportDefinition) SetAdditionalSchemaElements(v []SchemaElement) *ReportDefinition { - s.AdditionalSchemaElements = v - return s -} - -// SetCompression sets the Compression field's value. -func (s *ReportDefinition) SetCompression(v CompressionFormat) *ReportDefinition { - s.Compression = v - return s -} - -// SetFormat sets the Format field's value. -func (s *ReportDefinition) SetFormat(v ReportFormat) *ReportDefinition { - s.Format = v - return s -} - -// SetReportName sets the ReportName field's value. -func (s *ReportDefinition) SetReportName(v string) *ReportDefinition { - s.ReportName = &v - return s -} - -// SetS3Bucket sets the S3Bucket field's value. -func (s *ReportDefinition) SetS3Bucket(v string) *ReportDefinition { - s.S3Bucket = &v - return s -} - -// SetS3Prefix sets the S3Prefix field's value. -func (s *ReportDefinition) SetS3Prefix(v string) *ReportDefinition { - s.S3Prefix = &v - return s -} - -// SetS3Region sets the S3Region field's value. -func (s *ReportDefinition) SetS3Region(v AWSRegion) *ReportDefinition { - s.S3Region = v - return s -} - -// SetTimeUnit sets the TimeUnit field's value. -func (s *ReportDefinition) SetTimeUnit(v TimeUnit) *ReportDefinition { - s.TimeUnit = v - return s -} - // Region of customer S3 bucket. type AWSRegion string diff --git a/service/costexplorer/api.go b/service/costexplorer/api.go index c84b50d0384..11a8776506c 100644 --- a/service/costexplorer/api.go +++ b/service/costexplorer/api.go @@ -263,18 +263,6 @@ func (s *DateInterval) Validate() error { return nil } -// SetEnd sets the End field's value. -func (s *DateInterval) SetEnd(v string) *DateInterval { - s.End = &v - return s -} - -// SetStart sets the Start field's value. -func (s *DateInterval) SetStart(v string) *DateInterval { - s.Start = &v - return s -} - // The metadata that you can use to filter and group your results. You can use // GetDimensionValues to find specific values. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DimensionValues @@ -300,18 +288,6 @@ func (s DimensionValues) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *DimensionValues) SetKey(v Dimension) *DimensionValues { - s.Key = v - return s -} - -// SetValues sets the Values field's value. -func (s *DimensionValues) SetValues(v []string) *DimensionValues { - s.Values = v - return s -} - // The metadata of a specific type that you can use to filter and group your // results. You can use GetDimensionValues to find specific values. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DimensionValuesWithAttributes @@ -335,18 +311,6 @@ func (s DimensionValuesWithAttributes) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *DimensionValuesWithAttributes) SetAttributes(v map[string]string) *DimensionValuesWithAttributes { - s.Attributes = v - return s -} - -// SetValue sets the Value field's value. -func (s *DimensionValuesWithAttributes) SetValue(v string) *DimensionValuesWithAttributes { - s.Value = &v - return s -} - // Use Expression to filter by cost or by usage. There are two patterns: // // * Simple dimension values - You can set the dimension name and values @@ -409,36 +373,6 @@ func (s Expression) GoString() string { return s.String() } -// SetAnd sets the And field's value. -func (s *Expression) SetAnd(v []Expression) *Expression { - s.And = v - return s -} - -// SetDimensions sets the Dimensions field's value. -func (s *Expression) SetDimensions(v *DimensionValues) *Expression { - s.Dimensions = v - return s -} - -// SetNot sets the Not field's value. -func (s *Expression) SetNot(v *Expression) *Expression { - s.Not = v - return s -} - -// SetOr sets the Or field's value. -func (s *Expression) SetOr(v []Expression) *Expression { - s.Or = v - return s -} - -// SetTags sets the Tags field's value. -func (s *Expression) SetTags(v *TagValues) *Expression { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetCostAndUsageRequest type GetCostAndUsageInput struct { _ struct{} `type:"structure"` @@ -512,42 +446,6 @@ func (s *GetCostAndUsageInput) Validate() error { return nil } -// SetFilter sets the Filter field's value. -func (s *GetCostAndUsageInput) SetFilter(v *Expression) *GetCostAndUsageInput { - s.Filter = v - return s -} - -// SetGranularity sets the Granularity field's value. -func (s *GetCostAndUsageInput) SetGranularity(v Granularity) *GetCostAndUsageInput { - s.Granularity = v - return s -} - -// SetGroupBy sets the GroupBy field's value. -func (s *GetCostAndUsageInput) SetGroupBy(v []GroupDefinition) *GetCostAndUsageInput { - s.GroupBy = v - return s -} - -// SetMetrics sets the Metrics field's value. -func (s *GetCostAndUsageInput) SetMetrics(v []string) *GetCostAndUsageInput { - s.Metrics = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetCostAndUsageInput) SetNextPageToken(v string) *GetCostAndUsageInput { - s.NextPageToken = &v - return s -} - -// SetTimePeriod sets the TimePeriod field's value. -func (s *GetCostAndUsageInput) SetTimePeriod(v *DateInterval) *GetCostAndUsageInput { - s.TimePeriod = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetCostAndUsageResponse type GetCostAndUsageOutput struct { _ struct{} `type:"structure"` @@ -581,24 +479,6 @@ func (s GetCostAndUsageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroupDefinitions sets the GroupDefinitions field's value. -func (s *GetCostAndUsageOutput) SetGroupDefinitions(v []GroupDefinition) *GetCostAndUsageOutput { - s.GroupDefinitions = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetCostAndUsageOutput) SetNextPageToken(v string) *GetCostAndUsageOutput { - s.NextPageToken = &v - return s -} - -// SetResultsByTime sets the ResultsByTime field's value. -func (s *GetCostAndUsageOutput) SetResultsByTime(v []ResultByTime) *GetCostAndUsageOutput { - s.ResultsByTime = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetDimensionValuesRequest type GetDimensionValuesInput struct { _ struct{} `type:"structure"` @@ -714,36 +594,6 @@ func (s *GetDimensionValuesInput) Validate() error { return nil } -// SetContext sets the Context field's value. -func (s *GetDimensionValuesInput) SetContext(v Context) *GetDimensionValuesInput { - s.Context = v - return s -} - -// SetDimension sets the Dimension field's value. -func (s *GetDimensionValuesInput) SetDimension(v Dimension) *GetDimensionValuesInput { - s.Dimension = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetDimensionValuesInput) SetNextPageToken(v string) *GetDimensionValuesInput { - s.NextPageToken = &v - return s -} - -// SetSearchString sets the SearchString field's value. -func (s *GetDimensionValuesInput) SetSearchString(v string) *GetDimensionValuesInput { - s.SearchString = &v - return s -} - -// SetTimePeriod sets the TimePeriod field's value. -func (s *GetDimensionValuesInput) SetTimePeriod(v *DateInterval) *GetDimensionValuesInput { - s.TimePeriod = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetDimensionValuesResponse type GetDimensionValuesOutput struct { _ struct{} `type:"structure"` @@ -836,30 +686,6 @@ func (s GetDimensionValuesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDimensionValues sets the DimensionValues field's value. -func (s *GetDimensionValuesOutput) SetDimensionValues(v []DimensionValuesWithAttributes) *GetDimensionValuesOutput { - s.DimensionValues = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetDimensionValuesOutput) SetNextPageToken(v string) *GetDimensionValuesOutput { - s.NextPageToken = &v - return s -} - -// SetReturnSize sets the ReturnSize field's value. -func (s *GetDimensionValuesOutput) SetReturnSize(v int64) *GetDimensionValuesOutput { - s.ReturnSize = &v - return s -} - -// SetTotalSize sets the TotalSize field's value. -func (s *GetDimensionValuesOutput) SetTotalSize(v int64) *GetDimensionValuesOutput { - s.TotalSize = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetReservationUtilizationRequest type GetReservationUtilizationInput struct { _ struct{} `type:"structure"` @@ -923,36 +749,6 @@ func (s *GetReservationUtilizationInput) Validate() error { return nil } -// SetFilter sets the Filter field's value. -func (s *GetReservationUtilizationInput) SetFilter(v *Expression) *GetReservationUtilizationInput { - s.Filter = v - return s -} - -// SetGranularity sets the Granularity field's value. -func (s *GetReservationUtilizationInput) SetGranularity(v Granularity) *GetReservationUtilizationInput { - s.Granularity = v - return s -} - -// SetGroupBy sets the GroupBy field's value. -func (s *GetReservationUtilizationInput) SetGroupBy(v []GroupDefinition) *GetReservationUtilizationInput { - s.GroupBy = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetReservationUtilizationInput) SetNextPageToken(v string) *GetReservationUtilizationInput { - s.NextPageToken = &v - return s -} - -// SetTimePeriod sets the TimePeriod field's value. -func (s *GetReservationUtilizationInput) SetTimePeriod(v *DateInterval) *GetReservationUtilizationInput { - s.TimePeriod = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetReservationUtilizationResponse type GetReservationUtilizationOutput struct { _ struct{} `type:"structure"` @@ -988,24 +784,6 @@ func (s GetReservationUtilizationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetReservationUtilizationOutput) SetNextPageToken(v string) *GetReservationUtilizationOutput { - s.NextPageToken = &v - return s -} - -// SetTotal sets the Total field's value. -func (s *GetReservationUtilizationOutput) SetTotal(v *ReservationAggregates) *GetReservationUtilizationOutput { - s.Total = v - return s -} - -// SetUtilizationsByTime sets the UtilizationsByTime field's value. -func (s *GetReservationUtilizationOutput) SetUtilizationsByTime(v []UtilizationByTime) *GetReservationUtilizationOutput { - s.UtilizationsByTime = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetTagsRequest type GetTagsInput struct { _ struct{} `type:"structure"` @@ -1059,30 +837,6 @@ func (s *GetTagsInput) Validate() error { return nil } -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetTagsInput) SetNextPageToken(v string) *GetTagsInput { - s.NextPageToken = &v - return s -} - -// SetSearchString sets the SearchString field's value. -func (s *GetTagsInput) SetSearchString(v string) *GetTagsInput { - s.SearchString = &v - return s -} - -// SetTagKey sets the TagKey field's value. -func (s *GetTagsInput) SetTagKey(v string) *GetTagsInput { - s.TagKey = &v - return s -} - -// SetTimePeriod sets the TimePeriod field's value. -func (s *GetTagsInput) SetTimePeriod(v *DateInterval) *GetTagsInput { - s.TimePeriod = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetTagsResponse type GetTagsOutput struct { _ struct{} `type:"structure"` @@ -1125,30 +879,6 @@ func (s GetTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetTagsOutput) SetNextPageToken(v string) *GetTagsOutput { - s.NextPageToken = &v - return s -} - -// SetReturnSize sets the ReturnSize field's value. -func (s *GetTagsOutput) SetReturnSize(v int64) *GetTagsOutput { - s.ReturnSize = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *GetTagsOutput) SetTags(v []string) *GetTagsOutput { - s.Tags = v - return s -} - -// SetTotalSize sets the TotalSize field's value. -func (s *GetTagsOutput) SetTotalSize(v int64) *GetTagsOutput { - s.TotalSize = &v - return s -} - // One level of grouped data within the results. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/Group type Group struct { @@ -1171,18 +901,6 @@ func (s Group) GoString() string { return s.String() } -// SetKeys sets the Keys field's value. -func (s *Group) SetKeys(v []string) *Group { - s.Keys = v - return s -} - -// SetMetrics sets the Metrics field's value. -func (s *Group) SetMetrics(v map[string]MetricValue) *Group { - s.Metrics = v - return s -} - // Represents a group when you specify a group by criteria, or in the response // to a query with a specific grouping. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GroupDefinition @@ -1206,18 +924,6 @@ func (s GroupDefinition) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *GroupDefinition) SetKey(v string) *GroupDefinition { - s.Key = &v - return s -} - -// SetType sets the Type field's value. -func (s *GroupDefinition) SetType(v GroupDefinitionType) *GroupDefinition { - s.Type = v - return s -} - // The aggregated value for a metric. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/MetricValue type MetricValue struct { @@ -1240,18 +946,6 @@ func (s MetricValue) GoString() string { return s.String() } -// SetAmount sets the Amount field's value. -func (s *MetricValue) SetAmount(v string) *MetricValue { - s.Amount = &v - return s -} - -// SetUnit sets the Unit field's value. -func (s *MetricValue) SetUnit(v string) *MetricValue { - s.Unit = &v - return s -} - // The aggregated numbers for your RI usage. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ReservationAggregates type ReservationAggregates struct { @@ -1280,30 +974,6 @@ func (s ReservationAggregates) GoString() string { return s.String() } -// SetPurchasedHours sets the PurchasedHours field's value. -func (s *ReservationAggregates) SetPurchasedHours(v string) *ReservationAggregates { - s.PurchasedHours = &v - return s -} - -// SetTotalActualHours sets the TotalActualHours field's value. -func (s *ReservationAggregates) SetTotalActualHours(v string) *ReservationAggregates { - s.TotalActualHours = &v - return s -} - -// SetUnusedHours sets the UnusedHours field's value. -func (s *ReservationAggregates) SetUnusedHours(v string) *ReservationAggregates { - s.UnusedHours = &v - return s -} - -// SetUtilizationPercentage sets the UtilizationPercentage field's value. -func (s *ReservationAggregates) SetUtilizationPercentage(v string) *ReservationAggregates { - s.UtilizationPercentage = &v - return s -} - // A group of RIs that share a set of attributes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ReservationUtilizationGroup type ReservationUtilizationGroup struct { @@ -1332,30 +1002,6 @@ func (s ReservationUtilizationGroup) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *ReservationUtilizationGroup) SetAttributes(v map[string]string) *ReservationUtilizationGroup { - s.Attributes = v - return s -} - -// SetKey sets the Key field's value. -func (s *ReservationUtilizationGroup) SetKey(v string) *ReservationUtilizationGroup { - s.Key = &v - return s -} - -// SetUtilization sets the Utilization field's value. -func (s *ReservationUtilizationGroup) SetUtilization(v *ReservationAggregates) *ReservationUtilizationGroup { - s.Utilization = v - return s -} - -// SetValue sets the Value field's value. -func (s *ReservationUtilizationGroup) SetValue(v string) *ReservationUtilizationGroup { - s.Value = &v - return s -} - // The result that is associated with a time period. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ResultByTime type ResultByTime struct { @@ -1384,30 +1030,6 @@ func (s ResultByTime) GoString() string { return s.String() } -// SetEstimated sets the Estimated field's value. -func (s *ResultByTime) SetEstimated(v bool) *ResultByTime { - s.Estimated = &v - return s -} - -// SetGroups sets the Groups field's value. -func (s *ResultByTime) SetGroups(v []Group) *ResultByTime { - s.Groups = v - return s -} - -// SetTimePeriod sets the TimePeriod field's value. -func (s *ResultByTime) SetTimePeriod(v *DateInterval) *ResultByTime { - s.TimePeriod = v - return s -} - -// SetTotal sets the Total field's value. -func (s *ResultByTime) SetTotal(v map[string]MetricValue) *ResultByTime { - s.Total = v - return s -} - // The values that are available for a tag. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/TagValues type TagValues struct { @@ -1430,18 +1052,6 @@ func (s TagValues) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *TagValues) SetKey(v string) *TagValues { - s.Key = &v - return s -} - -// SetValues sets the Values field's value. -func (s *TagValues) SetValues(v []string) *TagValues { - s.Values = v - return s -} - // The amount of utilization, in hours. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UtilizationByTime type UtilizationByTime struct { @@ -1467,24 +1077,6 @@ func (s UtilizationByTime) GoString() string { return s.String() } -// SetGroups sets the Groups field's value. -func (s *UtilizationByTime) SetGroups(v []ReservationUtilizationGroup) *UtilizationByTime { - s.Groups = v - return s -} - -// SetTimePeriod sets the TimePeriod field's value. -func (s *UtilizationByTime) SetTimePeriod(v *DateInterval) *UtilizationByTime { - s.TimePeriod = v - return s -} - -// SetTotal sets the Total field's value. -func (s *UtilizationByTime) SetTotal(v *ReservationAggregates) *UtilizationByTime { - s.Total = v - return s -} - type Context string // Enum values for Context diff --git a/service/databasemigrationservice/api.go b/service/databasemigrationservice/api.go index 4dca294e9d1..4244094b609 100644 --- a/service/databasemigrationservice/api.go +++ b/service/databasemigrationservice/api.go @@ -2888,24 +2888,6 @@ func (s AccountQuota) GoString() string { return s.String() } -// SetAccountQuotaName sets the AccountQuotaName field's value. -func (s *AccountQuota) SetAccountQuotaName(v string) *AccountQuota { - s.AccountQuotaName = &v - return s -} - -// SetMax sets the Max field's value. -func (s *AccountQuota) SetMax(v int64) *AccountQuota { - s.Max = &v - return s -} - -// SetUsed sets the Used field's value. -func (s *AccountQuota) SetUsed(v int64) *AccountQuota { - s.Used = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResourceMessage type AddTagsToResourceInput struct { _ struct{} `type:"structure"` @@ -2951,18 +2933,6 @@ func (s *AddTagsToResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *AddTagsToResourceInput) SetResourceArn(v string) *AddTagsToResourceInput { - s.ResourceArn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *AddTagsToResourceInput) SetTags(v []Tag) *AddTagsToResourceInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResourceResponse type AddTagsToResourceOutput struct { _ struct{} `type:"structure"` @@ -3003,12 +2973,6 @@ func (s AvailabilityZone) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *AvailabilityZone) SetName(v string) *AvailabilityZone { - s.Name = &v - return s -} - // The SSL certificate that can be used to encrypt connections between the endpoints // and the replication instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Certificate @@ -3059,66 +3023,6 @@ func (s Certificate) GoString() string { return s.String() } -// SetCertificateArn sets the CertificateArn field's value. -func (s *Certificate) SetCertificateArn(v string) *Certificate { - s.CertificateArn = &v - return s -} - -// SetCertificateCreationDate sets the CertificateCreationDate field's value. -func (s *Certificate) SetCertificateCreationDate(v time.Time) *Certificate { - s.CertificateCreationDate = &v - return s -} - -// SetCertificateIdentifier sets the CertificateIdentifier field's value. -func (s *Certificate) SetCertificateIdentifier(v string) *Certificate { - s.CertificateIdentifier = &v - return s -} - -// SetCertificateOwner sets the CertificateOwner field's value. -func (s *Certificate) SetCertificateOwner(v string) *Certificate { - s.CertificateOwner = &v - return s -} - -// SetCertificatePem sets the CertificatePem field's value. -func (s *Certificate) SetCertificatePem(v string) *Certificate { - s.CertificatePem = &v - return s -} - -// SetCertificateWallet sets the CertificateWallet field's value. -func (s *Certificate) SetCertificateWallet(v []byte) *Certificate { - s.CertificateWallet = v - return s -} - -// SetKeyLength sets the KeyLength field's value. -func (s *Certificate) SetKeyLength(v int64) *Certificate { - s.KeyLength = &v - return s -} - -// SetSigningAlgorithm sets the SigningAlgorithm field's value. -func (s *Certificate) SetSigningAlgorithm(v string) *Certificate { - s.SigningAlgorithm = &v - return s -} - -// SetValidFromDate sets the ValidFromDate field's value. -func (s *Certificate) SetValidFromDate(v time.Time) *Certificate { - s.ValidFromDate = &v - return s -} - -// SetValidToDate sets the ValidToDate field's value. -func (s *Certificate) SetValidToDate(v time.Time) *Certificate { - s.ValidToDate = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Connection type Connection struct { _ struct{} `type:"structure"` @@ -3155,42 +3059,6 @@ func (s Connection) GoString() string { return s.String() } -// SetEndpointArn sets the EndpointArn field's value. -func (s *Connection) SetEndpointArn(v string) *Connection { - s.EndpointArn = &v - return s -} - -// SetEndpointIdentifier sets the EndpointIdentifier field's value. -func (s *Connection) SetEndpointIdentifier(v string) *Connection { - s.EndpointIdentifier = &v - return s -} - -// SetLastFailureMessage sets the LastFailureMessage field's value. -func (s *Connection) SetLastFailureMessage(v string) *Connection { - s.LastFailureMessage = &v - return s -} - -// SetReplicationInstanceArn sets the ReplicationInstanceArn field's value. -func (s *Connection) SetReplicationInstanceArn(v string) *Connection { - s.ReplicationInstanceArn = &v - return s -} - -// SetReplicationInstanceIdentifier sets the ReplicationInstanceIdentifier field's value. -func (s *Connection) SetReplicationInstanceIdentifier(v string) *Connection { - s.ReplicationInstanceIdentifier = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Connection) SetStatus(v string) *Connection { - s.Status = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpointMessage type CreateEndpointInput struct { _ struct{} `type:"structure"` @@ -3306,102 +3174,6 @@ func (s *CreateEndpointInput) Validate() error { return nil } -// SetCertificateArn sets the CertificateArn field's value. -func (s *CreateEndpointInput) SetCertificateArn(v string) *CreateEndpointInput { - s.CertificateArn = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *CreateEndpointInput) SetDatabaseName(v string) *CreateEndpointInput { - s.DatabaseName = &v - return s -} - -// SetDynamoDbSettings sets the DynamoDbSettings field's value. -func (s *CreateEndpointInput) SetDynamoDbSettings(v *DynamoDbSettings) *CreateEndpointInput { - s.DynamoDbSettings = v - return s -} - -// SetEndpointIdentifier sets the EndpointIdentifier field's value. -func (s *CreateEndpointInput) SetEndpointIdentifier(v string) *CreateEndpointInput { - s.EndpointIdentifier = &v - return s -} - -// SetEndpointType sets the EndpointType field's value. -func (s *CreateEndpointInput) SetEndpointType(v ReplicationEndpointTypeValue) *CreateEndpointInput { - s.EndpointType = v - return s -} - -// SetEngineName sets the EngineName field's value. -func (s *CreateEndpointInput) SetEngineName(v string) *CreateEndpointInput { - s.EngineName = &v - return s -} - -// SetExtraConnectionAttributes sets the ExtraConnectionAttributes field's value. -func (s *CreateEndpointInput) SetExtraConnectionAttributes(v string) *CreateEndpointInput { - s.ExtraConnectionAttributes = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CreateEndpointInput) SetKmsKeyId(v string) *CreateEndpointInput { - s.KmsKeyId = &v - return s -} - -// SetMongoDbSettings sets the MongoDbSettings field's value. -func (s *CreateEndpointInput) SetMongoDbSettings(v *MongoDbSettings) *CreateEndpointInput { - s.MongoDbSettings = v - return s -} - -// SetPassword sets the Password field's value. -func (s *CreateEndpointInput) SetPassword(v string) *CreateEndpointInput { - s.Password = &v - return s -} - -// SetPort sets the Port field's value. -func (s *CreateEndpointInput) SetPort(v int64) *CreateEndpointInput { - s.Port = &v - return s -} - -// SetS3Settings sets the S3Settings field's value. -func (s *CreateEndpointInput) SetS3Settings(v *S3Settings) *CreateEndpointInput { - s.S3Settings = v - return s -} - -// SetServerName sets the ServerName field's value. -func (s *CreateEndpointInput) SetServerName(v string) *CreateEndpointInput { - s.ServerName = &v - return s -} - -// SetSslMode sets the SslMode field's value. -func (s *CreateEndpointInput) SetSslMode(v DmsSslModeValue) *CreateEndpointInput { - s.SslMode = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateEndpointInput) SetTags(v []Tag) *CreateEndpointInput { - s.Tags = v - return s -} - -// SetUsername sets the Username field's value. -func (s *CreateEndpointInput) SetUsername(v string) *CreateEndpointInput { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpointResponse type CreateEndpointOutput struct { _ struct{} `type:"structure"` @@ -3427,12 +3199,6 @@ func (s CreateEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEndpoint sets the Endpoint field's value. -func (s *CreateEndpointOutput) SetEndpoint(v *Endpoint) *CreateEndpointOutput { - s.Endpoint = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscriptionMessage type CreateEventSubscriptionInput struct { _ struct{} `type:"structure"` @@ -3508,48 +3274,6 @@ func (s *CreateEventSubscriptionInput) Validate() error { return nil } -// SetEnabled sets the Enabled field's value. -func (s *CreateEventSubscriptionInput) SetEnabled(v bool) *CreateEventSubscriptionInput { - s.Enabled = &v - return s -} - -// SetEventCategories sets the EventCategories field's value. -func (s *CreateEventSubscriptionInput) SetEventCategories(v []string) *CreateEventSubscriptionInput { - s.EventCategories = v - return s -} - -// SetSnsTopicArn sets the SnsTopicArn field's value. -func (s *CreateEventSubscriptionInput) SetSnsTopicArn(v string) *CreateEventSubscriptionInput { - s.SnsTopicArn = &v - return s -} - -// SetSourceIds sets the SourceIds field's value. -func (s *CreateEventSubscriptionInput) SetSourceIds(v []string) *CreateEventSubscriptionInput { - s.SourceIds = v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *CreateEventSubscriptionInput) SetSourceType(v string) *CreateEventSubscriptionInput { - s.SourceType = &v - return s -} - -// SetSubscriptionName sets the SubscriptionName field's value. -func (s *CreateEventSubscriptionInput) SetSubscriptionName(v string) *CreateEventSubscriptionInput { - s.SubscriptionName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateEventSubscriptionInput) SetTags(v []Tag) *CreateEventSubscriptionInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscriptionResponse type CreateEventSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -3575,12 +3299,6 @@ func (s CreateEventSubscriptionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventSubscription sets the EventSubscription field's value. -func (s *CreateEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *CreateEventSubscriptionOutput { - s.EventSubscription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstanceMessage type CreateReplicationInstanceInput struct { _ struct{} `type:"structure"` @@ -3699,84 +3417,6 @@ func (s *CreateReplicationInstanceInput) Validate() error { return nil } -// SetAllocatedStorage sets the AllocatedStorage field's value. -func (s *CreateReplicationInstanceInput) SetAllocatedStorage(v int64) *CreateReplicationInstanceInput { - s.AllocatedStorage = &v - return s -} - -// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. -func (s *CreateReplicationInstanceInput) SetAutoMinorVersionUpgrade(v bool) *CreateReplicationInstanceInput { - s.AutoMinorVersionUpgrade = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *CreateReplicationInstanceInput) SetAvailabilityZone(v string) *CreateReplicationInstanceInput { - s.AvailabilityZone = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *CreateReplicationInstanceInput) SetEngineVersion(v string) *CreateReplicationInstanceInput { - s.EngineVersion = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CreateReplicationInstanceInput) SetKmsKeyId(v string) *CreateReplicationInstanceInput { - s.KmsKeyId = &v - return s -} - -// SetMultiAZ sets the MultiAZ field's value. -func (s *CreateReplicationInstanceInput) SetMultiAZ(v bool) *CreateReplicationInstanceInput { - s.MultiAZ = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *CreateReplicationInstanceInput) SetPreferredMaintenanceWindow(v string) *CreateReplicationInstanceInput { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetPubliclyAccessible sets the PubliclyAccessible field's value. -func (s *CreateReplicationInstanceInput) SetPubliclyAccessible(v bool) *CreateReplicationInstanceInput { - s.PubliclyAccessible = &v - return s -} - -// SetReplicationInstanceClass sets the ReplicationInstanceClass field's value. -func (s *CreateReplicationInstanceInput) SetReplicationInstanceClass(v string) *CreateReplicationInstanceInput { - s.ReplicationInstanceClass = &v - return s -} - -// SetReplicationInstanceIdentifier sets the ReplicationInstanceIdentifier field's value. -func (s *CreateReplicationInstanceInput) SetReplicationInstanceIdentifier(v string) *CreateReplicationInstanceInput { - s.ReplicationInstanceIdentifier = &v - return s -} - -// SetReplicationSubnetGroupIdentifier sets the ReplicationSubnetGroupIdentifier field's value. -func (s *CreateReplicationInstanceInput) SetReplicationSubnetGroupIdentifier(v string) *CreateReplicationInstanceInput { - s.ReplicationSubnetGroupIdentifier = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateReplicationInstanceInput) SetTags(v []Tag) *CreateReplicationInstanceInput { - s.Tags = v - return s -} - -// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value. -func (s *CreateReplicationInstanceInput) SetVpcSecurityGroupIds(v []string) *CreateReplicationInstanceInput { - s.VpcSecurityGroupIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstanceResponse type CreateReplicationInstanceOutput struct { _ struct{} `type:"structure"` @@ -3802,12 +3442,6 @@ func (s CreateReplicationInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReplicationInstance sets the ReplicationInstance field's value. -func (s *CreateReplicationInstanceOutput) SetReplicationInstance(v *ReplicationInstance) *CreateReplicationInstanceOutput { - s.ReplicationInstance = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationSubnetGroupMessage type CreateReplicationSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -3869,30 +3503,6 @@ func (s *CreateReplicationSubnetGroupInput) Validate() error { return nil } -// SetReplicationSubnetGroupDescription sets the ReplicationSubnetGroupDescription field's value. -func (s *CreateReplicationSubnetGroupInput) SetReplicationSubnetGroupDescription(v string) *CreateReplicationSubnetGroupInput { - s.ReplicationSubnetGroupDescription = &v - return s -} - -// SetReplicationSubnetGroupIdentifier sets the ReplicationSubnetGroupIdentifier field's value. -func (s *CreateReplicationSubnetGroupInput) SetReplicationSubnetGroupIdentifier(v string) *CreateReplicationSubnetGroupInput { - s.ReplicationSubnetGroupIdentifier = &v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *CreateReplicationSubnetGroupInput) SetSubnetIds(v []string) *CreateReplicationSubnetGroupInput { - s.SubnetIds = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateReplicationSubnetGroupInput) SetTags(v []Tag) *CreateReplicationSubnetGroupInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationSubnetGroupResponse type CreateReplicationSubnetGroupOutput struct { _ struct{} `type:"structure"` @@ -3918,12 +3528,6 @@ func (s CreateReplicationSubnetGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReplicationSubnetGroup sets the ReplicationSubnetGroup field's value. -func (s *CreateReplicationSubnetGroupOutput) SetReplicationSubnetGroup(v *ReplicationSubnetGroup) *CreateReplicationSubnetGroupOutput { - s.ReplicationSubnetGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationTaskMessage type CreateReplicationTaskInput struct { _ struct{} `type:"structure"` @@ -4025,60 +3629,6 @@ func (s *CreateReplicationTaskInput) Validate() error { return nil } -// SetCdcStartTime sets the CdcStartTime field's value. -func (s *CreateReplicationTaskInput) SetCdcStartTime(v time.Time) *CreateReplicationTaskInput { - s.CdcStartTime = &v - return s -} - -// SetMigrationType sets the MigrationType field's value. -func (s *CreateReplicationTaskInput) SetMigrationType(v MigrationTypeValue) *CreateReplicationTaskInput { - s.MigrationType = v - return s -} - -// SetReplicationInstanceArn sets the ReplicationInstanceArn field's value. -func (s *CreateReplicationTaskInput) SetReplicationInstanceArn(v string) *CreateReplicationTaskInput { - s.ReplicationInstanceArn = &v - return s -} - -// SetReplicationTaskIdentifier sets the ReplicationTaskIdentifier field's value. -func (s *CreateReplicationTaskInput) SetReplicationTaskIdentifier(v string) *CreateReplicationTaskInput { - s.ReplicationTaskIdentifier = &v - return s -} - -// SetReplicationTaskSettings sets the ReplicationTaskSettings field's value. -func (s *CreateReplicationTaskInput) SetReplicationTaskSettings(v string) *CreateReplicationTaskInput { - s.ReplicationTaskSettings = &v - return s -} - -// SetSourceEndpointArn sets the SourceEndpointArn field's value. -func (s *CreateReplicationTaskInput) SetSourceEndpointArn(v string) *CreateReplicationTaskInput { - s.SourceEndpointArn = &v - return s -} - -// SetTableMappings sets the TableMappings field's value. -func (s *CreateReplicationTaskInput) SetTableMappings(v string) *CreateReplicationTaskInput { - s.TableMappings = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateReplicationTaskInput) SetTags(v []Tag) *CreateReplicationTaskInput { - s.Tags = v - return s -} - -// SetTargetEndpointArn sets the TargetEndpointArn field's value. -func (s *CreateReplicationTaskInput) SetTargetEndpointArn(v string) *CreateReplicationTaskInput { - s.TargetEndpointArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationTaskResponse type CreateReplicationTaskOutput struct { _ struct{} `type:"structure"` @@ -4104,12 +3654,6 @@ func (s CreateReplicationTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReplicationTask sets the ReplicationTask field's value. -func (s *CreateReplicationTaskOutput) SetReplicationTask(v *ReplicationTask) *CreateReplicationTaskOutput { - s.ReplicationTask = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteCertificateMessage type DeleteCertificateInput struct { _ struct{} `type:"structure"` @@ -4144,12 +3688,6 @@ func (s *DeleteCertificateInput) Validate() error { return nil } -// SetCertificateArn sets the CertificateArn field's value. -func (s *DeleteCertificateInput) SetCertificateArn(v string) *DeleteCertificateInput { - s.CertificateArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteCertificateResponse type DeleteCertificateOutput struct { _ struct{} `type:"structure"` @@ -4175,12 +3713,6 @@ func (s DeleteCertificateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificate sets the Certificate field's value. -func (s *DeleteCertificateOutput) SetCertificate(v *Certificate) *DeleteCertificateOutput { - s.Certificate = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpointMessage type DeleteEndpointInput struct { _ struct{} `type:"structure"` @@ -4215,12 +3747,6 @@ func (s *DeleteEndpointInput) Validate() error { return nil } -// SetEndpointArn sets the EndpointArn field's value. -func (s *DeleteEndpointInput) SetEndpointArn(v string) *DeleteEndpointInput { - s.EndpointArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpointResponse type DeleteEndpointOutput struct { _ struct{} `type:"structure"` @@ -4246,12 +3772,6 @@ func (s DeleteEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEndpoint sets the Endpoint field's value. -func (s *DeleteEndpointOutput) SetEndpoint(v *Endpoint) *DeleteEndpointOutput { - s.Endpoint = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscriptionMessage type DeleteEventSubscriptionInput struct { _ struct{} `type:"structure"` @@ -4286,12 +3806,6 @@ func (s *DeleteEventSubscriptionInput) Validate() error { return nil } -// SetSubscriptionName sets the SubscriptionName field's value. -func (s *DeleteEventSubscriptionInput) SetSubscriptionName(v string) *DeleteEventSubscriptionInput { - s.SubscriptionName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscriptionResponse type DeleteEventSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -4317,12 +3831,6 @@ func (s DeleteEventSubscriptionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventSubscription sets the EventSubscription field's value. -func (s *DeleteEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *DeleteEventSubscriptionOutput { - s.EventSubscription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationInstanceMessage type DeleteReplicationInstanceInput struct { _ struct{} `type:"structure"` @@ -4357,12 +3865,6 @@ func (s *DeleteReplicationInstanceInput) Validate() error { return nil } -// SetReplicationInstanceArn sets the ReplicationInstanceArn field's value. -func (s *DeleteReplicationInstanceInput) SetReplicationInstanceArn(v string) *DeleteReplicationInstanceInput { - s.ReplicationInstanceArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationInstanceResponse type DeleteReplicationInstanceOutput struct { _ struct{} `type:"structure"` @@ -4388,12 +3890,6 @@ func (s DeleteReplicationInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReplicationInstance sets the ReplicationInstance field's value. -func (s *DeleteReplicationInstanceOutput) SetReplicationInstance(v *ReplicationInstance) *DeleteReplicationInstanceOutput { - s.ReplicationInstance = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationSubnetGroupMessage type DeleteReplicationSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -4428,12 +3924,6 @@ func (s *DeleteReplicationSubnetGroupInput) Validate() error { return nil } -// SetReplicationSubnetGroupIdentifier sets the ReplicationSubnetGroupIdentifier field's value. -func (s *DeleteReplicationSubnetGroupInput) SetReplicationSubnetGroupIdentifier(v string) *DeleteReplicationSubnetGroupInput { - s.ReplicationSubnetGroupIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationSubnetGroupResponse type DeleteReplicationSubnetGroupOutput struct { _ struct{} `type:"structure"` @@ -4490,12 +3980,6 @@ func (s *DeleteReplicationTaskInput) Validate() error { return nil } -// SetReplicationTaskArn sets the ReplicationTaskArn field's value. -func (s *DeleteReplicationTaskInput) SetReplicationTaskArn(v string) *DeleteReplicationTaskInput { - s.ReplicationTaskArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationTaskResponse type DeleteReplicationTaskOutput struct { _ struct{} `type:"structure"` @@ -4521,12 +4005,6 @@ func (s DeleteReplicationTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReplicationTask sets the ReplicationTask field's value. -func (s *DeleteReplicationTaskOutput) SetReplicationTask(v *ReplicationTask) *DeleteReplicationTaskOutput { - s.ReplicationTask = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeAccountAttributesMessage type DescribeAccountAttributesInput struct { _ struct{} `type:"structure"` @@ -4567,12 +4045,6 @@ func (s DescribeAccountAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAccountQuotas sets the AccountQuotas field's value. -func (s *DescribeAccountAttributesOutput) SetAccountQuotas(v []AccountQuota) *DescribeAccountAttributesOutput { - s.AccountQuotas = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificatesMessage type DescribeCertificatesInput struct { _ struct{} `type:"structure"` @@ -4620,24 +4092,6 @@ func (s *DescribeCertificatesInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeCertificatesInput) SetFilters(v []Filter) *DescribeCertificatesInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeCertificatesInput) SetMarker(v string) *DescribeCertificatesInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeCertificatesInput) SetMaxRecords(v int64) *DescribeCertificatesInput { - s.MaxRecords = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificatesResponse type DescribeCertificatesOutput struct { _ struct{} `type:"structure"` @@ -4667,18 +4121,6 @@ func (s DescribeCertificatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificates sets the Certificates field's value. -func (s *DescribeCertificatesOutput) SetCertificates(v []Certificate) *DescribeCertificatesOutput { - s.Certificates = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeCertificatesOutput) SetMarker(v string) *DescribeCertificatesOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnectionsMessage type DescribeConnectionsInput struct { _ struct{} `type:"structure"` @@ -4730,24 +4172,6 @@ func (s *DescribeConnectionsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeConnectionsInput) SetFilters(v []Filter) *DescribeConnectionsInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeConnectionsInput) SetMarker(v string) *DescribeConnectionsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeConnectionsInput) SetMaxRecords(v int64) *DescribeConnectionsInput { - s.MaxRecords = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnectionsResponse type DescribeConnectionsOutput struct { _ struct{} `type:"structure"` @@ -4778,18 +4202,6 @@ func (s DescribeConnectionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConnections sets the Connections field's value. -func (s *DescribeConnectionsOutput) SetConnections(v []Connection) *DescribeConnectionsOutput { - s.Connections = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeConnectionsOutput) SetMarker(v string) *DescribeConnectionsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointTypesMessage type DescribeEndpointTypesInput struct { _ struct{} `type:"structure"` @@ -4841,24 +4253,6 @@ func (s *DescribeEndpointTypesInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeEndpointTypesInput) SetFilters(v []Filter) *DescribeEndpointTypesInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeEndpointTypesInput) SetMarker(v string) *DescribeEndpointTypesInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeEndpointTypesInput) SetMaxRecords(v int64) *DescribeEndpointTypesInput { - s.MaxRecords = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointTypesResponse type DescribeEndpointTypesOutput struct { _ struct{} `type:"structure"` @@ -4889,18 +4283,6 @@ func (s DescribeEndpointTypesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeEndpointTypesOutput) SetMarker(v string) *DescribeEndpointTypesOutput { - s.Marker = &v - return s -} - -// SetSupportedEndpointTypes sets the SupportedEndpointTypes field's value. -func (s *DescribeEndpointTypesOutput) SetSupportedEndpointTypes(v []SupportedEndpointType) *DescribeEndpointTypesOutput { - s.SupportedEndpointTypes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointsMessage type DescribeEndpointsInput struct { _ struct{} `type:"structure"` @@ -4952,24 +4334,6 @@ func (s *DescribeEndpointsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeEndpointsInput) SetFilters(v []Filter) *DescribeEndpointsInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeEndpointsInput) SetMarker(v string) *DescribeEndpointsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeEndpointsInput) SetMaxRecords(v int64) *DescribeEndpointsInput { - s.MaxRecords = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointsResponse type DescribeEndpointsOutput struct { _ struct{} `type:"structure"` @@ -5000,18 +4364,6 @@ func (s DescribeEndpointsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEndpoints sets the Endpoints field's value. -func (s *DescribeEndpointsOutput) SetEndpoints(v []Endpoint) *DescribeEndpointsOutput { - s.Endpoints = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeEndpointsOutput) SetMarker(v string) *DescribeEndpointsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategoriesMessage type DescribeEventCategoriesInput struct { _ struct{} `type:"structure"` @@ -5052,18 +4404,6 @@ func (s *DescribeEventCategoriesInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeEventCategoriesInput) SetFilters(v []Filter) *DescribeEventCategoriesInput { - s.Filters = v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *DescribeEventCategoriesInput) SetSourceType(v string) *DescribeEventCategoriesInput { - s.SourceType = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategoriesResponse type DescribeEventCategoriesOutput struct { _ struct{} `type:"structure"` @@ -5089,12 +4429,6 @@ func (s DescribeEventCategoriesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventCategoryGroupList sets the EventCategoryGroupList field's value. -func (s *DescribeEventCategoriesOutput) SetEventCategoryGroupList(v []EventCategoryGroup) *DescribeEventCategoriesOutput { - s.EventCategoryGroupList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptionsMessage type DescribeEventSubscriptionsInput struct { _ struct{} `type:"structure"` @@ -5147,30 +4481,6 @@ func (s *DescribeEventSubscriptionsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeEventSubscriptionsInput) SetFilters(v []Filter) *DescribeEventSubscriptionsInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeEventSubscriptionsInput) SetMarker(v string) *DescribeEventSubscriptionsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeEventSubscriptionsInput) SetMaxRecords(v int64) *DescribeEventSubscriptionsInput { - s.MaxRecords = &v - return s -} - -// SetSubscriptionName sets the SubscriptionName field's value. -func (s *DescribeEventSubscriptionsInput) SetSubscriptionName(v string) *DescribeEventSubscriptionsInput { - s.SubscriptionName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptionsResponse type DescribeEventSubscriptionsOutput struct { _ struct{} `type:"structure"` @@ -5201,18 +4511,6 @@ func (s DescribeEventSubscriptionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventSubscriptionsList sets the EventSubscriptionsList field's value. -func (s *DescribeEventSubscriptionsOutput) SetEventSubscriptionsList(v []EventSubscription) *DescribeEventSubscriptionsOutput { - s.EventSubscriptionsList = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeEventSubscriptionsOutput) SetMarker(v string) *DescribeEventSubscriptionsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventsMessage type DescribeEventsInput struct { _ struct{} `type:"structure"` @@ -5284,60 +4582,6 @@ func (s *DescribeEventsInput) Validate() error { return nil } -// SetDuration sets the Duration field's value. -func (s *DescribeEventsInput) SetDuration(v int64) *DescribeEventsInput { - s.Duration = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *DescribeEventsInput) SetEndTime(v time.Time) *DescribeEventsInput { - s.EndTime = &v - return s -} - -// SetEventCategories sets the EventCategories field's value. -func (s *DescribeEventsInput) SetEventCategories(v []string) *DescribeEventsInput { - s.EventCategories = v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeEventsInput) SetFilters(v []Filter) *DescribeEventsInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeEventsInput) SetMarker(v string) *DescribeEventsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeEventsInput) SetMaxRecords(v int64) *DescribeEventsInput { - s.MaxRecords = &v - return s -} - -// SetSourceIdentifier sets the SourceIdentifier field's value. -func (s *DescribeEventsInput) SetSourceIdentifier(v string) *DescribeEventsInput { - s.SourceIdentifier = &v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *DescribeEventsInput) SetSourceType(v SourceType) *DescribeEventsInput { - s.SourceType = v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput { - s.StartTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventsResponse type DescribeEventsOutput struct { _ struct{} `type:"structure"` @@ -5368,18 +4612,6 @@ func (s DescribeEventsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEvents sets the Events field's value. -func (s *DescribeEventsOutput) SetEvents(v []Event) *DescribeEventsOutput { - s.Events = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeEventsOutput) SetMarker(v string) *DescribeEventsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeOrderableReplicationInstancesMessage type DescribeOrderableReplicationInstancesInput struct { _ struct{} `type:"structure"` @@ -5409,18 +4641,6 @@ func (s DescribeOrderableReplicationInstancesInput) GoString() string { return s.String() } -// SetMarker sets the Marker field's value. -func (s *DescribeOrderableReplicationInstancesInput) SetMarker(v string) *DescribeOrderableReplicationInstancesInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeOrderableReplicationInstancesInput) SetMaxRecords(v int64) *DescribeOrderableReplicationInstancesInput { - s.MaxRecords = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeOrderableReplicationInstancesResponse type DescribeOrderableReplicationInstancesOutput struct { _ struct{} `type:"structure"` @@ -5451,18 +4671,6 @@ func (s DescribeOrderableReplicationInstancesOutput) SDKResponseMetadata() aws.R return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeOrderableReplicationInstancesOutput) SetMarker(v string) *DescribeOrderableReplicationInstancesOutput { - s.Marker = &v - return s -} - -// SetOrderableReplicationInstances sets the OrderableReplicationInstances field's value. -func (s *DescribeOrderableReplicationInstancesOutput) SetOrderableReplicationInstances(v []OrderableReplicationInstance) *DescribeOrderableReplicationInstancesOutput { - s.OrderableReplicationInstances = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeRefreshSchemasStatusMessage type DescribeRefreshSchemasStatusInput struct { _ struct{} `type:"structure"` @@ -5497,12 +4705,6 @@ func (s *DescribeRefreshSchemasStatusInput) Validate() error { return nil } -// SetEndpointArn sets the EndpointArn field's value. -func (s *DescribeRefreshSchemasStatusInput) SetEndpointArn(v string) *DescribeRefreshSchemasStatusInput { - s.EndpointArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeRefreshSchemasStatusResponse type DescribeRefreshSchemasStatusOutput struct { _ struct{} `type:"structure"` @@ -5528,12 +4730,6 @@ func (s DescribeRefreshSchemasStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRefreshSchemasStatus sets the RefreshSchemasStatus field's value. -func (s *DescribeRefreshSchemasStatusOutput) SetRefreshSchemasStatus(v *RefreshSchemasStatus) *DescribeRefreshSchemasStatusOutput { - s.RefreshSchemasStatus = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstancesMessage type DescribeReplicationInstancesInput struct { _ struct{} `type:"structure"` @@ -5586,24 +4782,6 @@ func (s *DescribeReplicationInstancesInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeReplicationInstancesInput) SetFilters(v []Filter) *DescribeReplicationInstancesInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeReplicationInstancesInput) SetMarker(v string) *DescribeReplicationInstancesInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeReplicationInstancesInput) SetMaxRecords(v int64) *DescribeReplicationInstancesInput { - s.MaxRecords = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstancesResponse type DescribeReplicationInstancesOutput struct { _ struct{} `type:"structure"` @@ -5634,18 +4812,6 @@ func (s DescribeReplicationInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeReplicationInstancesOutput) SetMarker(v string) *DescribeReplicationInstancesOutput { - s.Marker = &v - return s -} - -// SetReplicationInstances sets the ReplicationInstances field's value. -func (s *DescribeReplicationInstancesOutput) SetReplicationInstances(v []ReplicationInstance) *DescribeReplicationInstancesOutput { - s.ReplicationInstances = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationSubnetGroupsMessage type DescribeReplicationSubnetGroupsInput struct { _ struct{} `type:"structure"` @@ -5695,24 +4861,6 @@ func (s *DescribeReplicationSubnetGroupsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeReplicationSubnetGroupsInput) SetFilters(v []Filter) *DescribeReplicationSubnetGroupsInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeReplicationSubnetGroupsInput) SetMarker(v string) *DescribeReplicationSubnetGroupsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeReplicationSubnetGroupsInput) SetMaxRecords(v int64) *DescribeReplicationSubnetGroupsInput { - s.MaxRecords = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationSubnetGroupsResponse type DescribeReplicationSubnetGroupsOutput struct { _ struct{} `type:"structure"` @@ -5743,18 +4891,6 @@ func (s DescribeReplicationSubnetGroupsOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeReplicationSubnetGroupsOutput) SetMarker(v string) *DescribeReplicationSubnetGroupsOutput { - s.Marker = &v - return s -} - -// SetReplicationSubnetGroups sets the ReplicationSubnetGroups field's value. -func (s *DescribeReplicationSubnetGroupsOutput) SetReplicationSubnetGroups(v []ReplicationSubnetGroup) *DescribeReplicationSubnetGroupsOutput { - s.ReplicationSubnetGroups = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskAssessmentResultsMessage type DescribeReplicationTaskAssessmentResultsInput struct { _ struct{} `type:"structure"` @@ -5789,24 +4925,6 @@ func (s DescribeReplicationTaskAssessmentResultsInput) GoString() string { return s.String() } -// SetMarker sets the Marker field's value. -func (s *DescribeReplicationTaskAssessmentResultsInput) SetMarker(v string) *DescribeReplicationTaskAssessmentResultsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeReplicationTaskAssessmentResultsInput) SetMaxRecords(v int64) *DescribeReplicationTaskAssessmentResultsInput { - s.MaxRecords = &v - return s -} - -// SetReplicationTaskArn sets the ReplicationTaskArn field's value. -func (s *DescribeReplicationTaskAssessmentResultsInput) SetReplicationTaskArn(v string) *DescribeReplicationTaskAssessmentResultsInput { - s.ReplicationTaskArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskAssessmentResultsResponse type DescribeReplicationTaskAssessmentResultsOutput struct { _ struct{} `type:"structure"` @@ -5840,24 +4958,6 @@ func (s DescribeReplicationTaskAssessmentResultsOutput) SDKResponseMetadata() aw return s.responseMetadata } -// SetBucketName sets the BucketName field's value. -func (s *DescribeReplicationTaskAssessmentResultsOutput) SetBucketName(v string) *DescribeReplicationTaskAssessmentResultsOutput { - s.BucketName = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeReplicationTaskAssessmentResultsOutput) SetMarker(v string) *DescribeReplicationTaskAssessmentResultsOutput { - s.Marker = &v - return s -} - -// SetReplicationTaskAssessmentResults sets the ReplicationTaskAssessmentResults field's value. -func (s *DescribeReplicationTaskAssessmentResultsOutput) SetReplicationTaskAssessmentResults(v []ReplicationTaskAssessmentResult) *DescribeReplicationTaskAssessmentResultsOutput { - s.ReplicationTaskAssessmentResults = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTasksMessage type DescribeReplicationTasksInput struct { _ struct{} `type:"structure"` @@ -5910,24 +5010,6 @@ func (s *DescribeReplicationTasksInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeReplicationTasksInput) SetFilters(v []Filter) *DescribeReplicationTasksInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeReplicationTasksInput) SetMarker(v string) *DescribeReplicationTasksInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeReplicationTasksInput) SetMaxRecords(v int64) *DescribeReplicationTasksInput { - s.MaxRecords = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTasksResponse type DescribeReplicationTasksOutput struct { _ struct{} `type:"structure"` @@ -5958,18 +5040,6 @@ func (s DescribeReplicationTasksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeReplicationTasksOutput) SetMarker(v string) *DescribeReplicationTasksOutput { - s.Marker = &v - return s -} - -// SetReplicationTasks sets the ReplicationTasks field's value. -func (s *DescribeReplicationTasksOutput) SetReplicationTasks(v []ReplicationTask) *DescribeReplicationTasksOutput { - s.ReplicationTasks = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeSchemasMessage type DescribeSchemasInput struct { _ struct{} `type:"structure"` @@ -6018,24 +5088,6 @@ func (s *DescribeSchemasInput) Validate() error { return nil } -// SetEndpointArn sets the EndpointArn field's value. -func (s *DescribeSchemasInput) SetEndpointArn(v string) *DescribeSchemasInput { - s.EndpointArn = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeSchemasInput) SetMarker(v string) *DescribeSchemasInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeSchemasInput) SetMaxRecords(v int64) *DescribeSchemasInput { - s.MaxRecords = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeSchemasResponse type DescribeSchemasOutput struct { _ struct{} `type:"structure"` @@ -6066,18 +5118,6 @@ func (s DescribeSchemasOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeSchemasOutput) SetMarker(v string) *DescribeSchemasOutput { - s.Marker = &v - return s -} - -// SetSchemas sets the Schemas field's value. -func (s *DescribeSchemasOutput) SetSchemas(v []string) *DescribeSchemasOutput { - s.Schemas = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeTableStatisticsMessage type DescribeTableStatisticsInput struct { _ struct{} `type:"structure"` @@ -6141,30 +5181,6 @@ func (s *DescribeTableStatisticsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeTableStatisticsInput) SetFilters(v []Filter) *DescribeTableStatisticsInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeTableStatisticsInput) SetMarker(v string) *DescribeTableStatisticsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeTableStatisticsInput) SetMaxRecords(v int64) *DescribeTableStatisticsInput { - s.MaxRecords = &v - return s -} - -// SetReplicationTaskArn sets the ReplicationTaskArn field's value. -func (s *DescribeTableStatisticsInput) SetReplicationTaskArn(v string) *DescribeTableStatisticsInput { - s.ReplicationTaskArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeTableStatisticsResponse type DescribeTableStatisticsOutput struct { _ struct{} `type:"structure"` @@ -6198,24 +5214,6 @@ func (s DescribeTableStatisticsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeTableStatisticsOutput) SetMarker(v string) *DescribeTableStatisticsOutput { - s.Marker = &v - return s -} - -// SetReplicationTaskArn sets the ReplicationTaskArn field's value. -func (s *DescribeTableStatisticsOutput) SetReplicationTaskArn(v string) *DescribeTableStatisticsOutput { - s.ReplicationTaskArn = &v - return s -} - -// SetTableStatistics sets the TableStatistics field's value. -func (s *DescribeTableStatisticsOutput) SetTableStatistics(v []TableStatistics) *DescribeTableStatisticsOutput { - s.TableStatistics = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DynamoDbSettings type DynamoDbSettings struct { _ struct{} `type:"structure"` @@ -6250,12 +5248,6 @@ func (s *DynamoDbSettings) Validate() error { return nil } -// SetServiceAccessRoleArn sets the ServiceAccessRoleArn field's value. -func (s *DynamoDbSettings) SetServiceAccessRoleArn(v string) *DynamoDbSettings { - s.ServiceAccessRoleArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Endpoint type Endpoint struct { _ struct{} `type:"structure"` @@ -6339,108 +5331,6 @@ func (s Endpoint) GoString() string { return s.String() } -// SetCertificateArn sets the CertificateArn field's value. -func (s *Endpoint) SetCertificateArn(v string) *Endpoint { - s.CertificateArn = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *Endpoint) SetDatabaseName(v string) *Endpoint { - s.DatabaseName = &v - return s -} - -// SetDynamoDbSettings sets the DynamoDbSettings field's value. -func (s *Endpoint) SetDynamoDbSettings(v *DynamoDbSettings) *Endpoint { - s.DynamoDbSettings = v - return s -} - -// SetEndpointArn sets the EndpointArn field's value. -func (s *Endpoint) SetEndpointArn(v string) *Endpoint { - s.EndpointArn = &v - return s -} - -// SetEndpointIdentifier sets the EndpointIdentifier field's value. -func (s *Endpoint) SetEndpointIdentifier(v string) *Endpoint { - s.EndpointIdentifier = &v - return s -} - -// SetEndpointType sets the EndpointType field's value. -func (s *Endpoint) SetEndpointType(v ReplicationEndpointTypeValue) *Endpoint { - s.EndpointType = v - return s -} - -// SetEngineName sets the EngineName field's value. -func (s *Endpoint) SetEngineName(v string) *Endpoint { - s.EngineName = &v - return s -} - -// SetExternalId sets the ExternalId field's value. -func (s *Endpoint) SetExternalId(v string) *Endpoint { - s.ExternalId = &v - return s -} - -// SetExtraConnectionAttributes sets the ExtraConnectionAttributes field's value. -func (s *Endpoint) SetExtraConnectionAttributes(v string) *Endpoint { - s.ExtraConnectionAttributes = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *Endpoint) SetKmsKeyId(v string) *Endpoint { - s.KmsKeyId = &v - return s -} - -// SetMongoDbSettings sets the MongoDbSettings field's value. -func (s *Endpoint) SetMongoDbSettings(v *MongoDbSettings) *Endpoint { - s.MongoDbSettings = v - return s -} - -// SetPort sets the Port field's value. -func (s *Endpoint) SetPort(v int64) *Endpoint { - s.Port = &v - return s -} - -// SetS3Settings sets the S3Settings field's value. -func (s *Endpoint) SetS3Settings(v *S3Settings) *Endpoint { - s.S3Settings = v - return s -} - -// SetServerName sets the ServerName field's value. -func (s *Endpoint) SetServerName(v string) *Endpoint { - s.ServerName = &v - return s -} - -// SetSslMode sets the SslMode field's value. -func (s *Endpoint) SetSslMode(v DmsSslModeValue) *Endpoint { - s.SslMode = v - return s -} - -// SetStatus sets the Status field's value. -func (s *Endpoint) SetStatus(v string) *Endpoint { - s.Status = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *Endpoint) SetUsername(v string) *Endpoint { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Event type Event struct { _ struct{} `type:"structure"` @@ -6477,36 +5367,6 @@ func (s Event) GoString() string { return s.String() } -// SetDate sets the Date field's value. -func (s *Event) SetDate(v time.Time) *Event { - s.Date = &v - return s -} - -// SetEventCategories sets the EventCategories field's value. -func (s *Event) SetEventCategories(v []string) *Event { - s.EventCategories = v - return s -} - -// SetMessage sets the Message field's value. -func (s *Event) SetMessage(v string) *Event { - s.Message = &v - return s -} - -// SetSourceIdentifier sets the SourceIdentifier field's value. -func (s *Event) SetSourceIdentifier(v string) *Event { - s.SourceIdentifier = &v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *Event) SetSourceType(v SourceType) *Event { - s.SourceType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/EventCategoryGroup type EventCategoryGroup struct { _ struct{} `type:"structure"` @@ -6531,18 +5391,6 @@ func (s EventCategoryGroup) GoString() string { return s.String() } -// SetEventCategories sets the EventCategories field's value. -func (s *EventCategoryGroup) SetEventCategories(v []string) *EventCategoryGroup { - s.EventCategories = v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *EventCategoryGroup) SetSourceType(v string) *EventCategoryGroup { - s.SourceType = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/EventSubscription type EventSubscription struct { _ struct{} `type:"structure"` @@ -6597,60 +5445,6 @@ func (s EventSubscription) GoString() string { return s.String() } -// SetCustSubscriptionId sets the CustSubscriptionId field's value. -func (s *EventSubscription) SetCustSubscriptionId(v string) *EventSubscription { - s.CustSubscriptionId = &v - return s -} - -// SetCustomerAwsId sets the CustomerAwsId field's value. -func (s *EventSubscription) SetCustomerAwsId(v string) *EventSubscription { - s.CustomerAwsId = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *EventSubscription) SetEnabled(v bool) *EventSubscription { - s.Enabled = &v - return s -} - -// SetEventCategoriesList sets the EventCategoriesList field's value. -func (s *EventSubscription) SetEventCategoriesList(v []string) *EventSubscription { - s.EventCategoriesList = v - return s -} - -// SetSnsTopicArn sets the SnsTopicArn field's value. -func (s *EventSubscription) SetSnsTopicArn(v string) *EventSubscription { - s.SnsTopicArn = &v - return s -} - -// SetSourceIdsList sets the SourceIdsList field's value. -func (s *EventSubscription) SetSourceIdsList(v []string) *EventSubscription { - s.SourceIdsList = v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *EventSubscription) SetSourceType(v string) *EventSubscription { - s.SourceType = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *EventSubscription) SetStatus(v string) *EventSubscription { - s.Status = &v - return s -} - -// SetSubscriptionCreationTime sets the SubscriptionCreationTime field's value. -func (s *EventSubscription) SetSubscriptionCreationTime(v string) *EventSubscription { - s.SubscriptionCreationTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Filter type Filter struct { _ struct{} `type:"structure"` @@ -6694,18 +5488,6 @@ func (s *Filter) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *Filter) SetName(v string) *Filter { - s.Name = &v - return s -} - -// SetValues sets the Values field's value. -func (s *Filter) SetValues(v []string) *Filter { - s.Values = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ImportCertificateMessage type ImportCertificateInput struct { _ struct{} `type:"structure"` @@ -6752,30 +5534,6 @@ func (s *ImportCertificateInput) Validate() error { return nil } -// SetCertificateIdentifier sets the CertificateIdentifier field's value. -func (s *ImportCertificateInput) SetCertificateIdentifier(v string) *ImportCertificateInput { - s.CertificateIdentifier = &v - return s -} - -// SetCertificatePem sets the CertificatePem field's value. -func (s *ImportCertificateInput) SetCertificatePem(v string) *ImportCertificateInput { - s.CertificatePem = &v - return s -} - -// SetCertificateWallet sets the CertificateWallet field's value. -func (s *ImportCertificateInput) SetCertificateWallet(v []byte) *ImportCertificateInput { - s.CertificateWallet = v - return s -} - -// SetTags sets the Tags field's value. -func (s *ImportCertificateInput) SetTags(v []Tag) *ImportCertificateInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ImportCertificateResponse type ImportCertificateOutput struct { _ struct{} `type:"structure"` @@ -6801,12 +5559,6 @@ func (s ImportCertificateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificate sets the Certificate field's value. -func (s *ImportCertificateOutput) SetCertificate(v *Certificate) *ImportCertificateOutput { - s.Certificate = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ListTagsForResourceMessage type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -6842,12 +5594,6 @@ func (s *ListTagsForResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { - s.ResourceArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ListTagsForResourceResponse type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` @@ -6873,12 +5619,6 @@ func (s ListTagsForResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTagList sets the TagList field's value. -func (s *ListTagsForResourceOutput) SetTagList(v []Tag) *ListTagsForResourceOutput { - s.TagList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpointMessage type ModifyEndpointInput struct { _ struct{} `type:"structure"` @@ -6977,96 +5717,6 @@ func (s *ModifyEndpointInput) Validate() error { return nil } -// SetCertificateArn sets the CertificateArn field's value. -func (s *ModifyEndpointInput) SetCertificateArn(v string) *ModifyEndpointInput { - s.CertificateArn = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *ModifyEndpointInput) SetDatabaseName(v string) *ModifyEndpointInput { - s.DatabaseName = &v - return s -} - -// SetDynamoDbSettings sets the DynamoDbSettings field's value. -func (s *ModifyEndpointInput) SetDynamoDbSettings(v *DynamoDbSettings) *ModifyEndpointInput { - s.DynamoDbSettings = v - return s -} - -// SetEndpointArn sets the EndpointArn field's value. -func (s *ModifyEndpointInput) SetEndpointArn(v string) *ModifyEndpointInput { - s.EndpointArn = &v - return s -} - -// SetEndpointIdentifier sets the EndpointIdentifier field's value. -func (s *ModifyEndpointInput) SetEndpointIdentifier(v string) *ModifyEndpointInput { - s.EndpointIdentifier = &v - return s -} - -// SetEndpointType sets the EndpointType field's value. -func (s *ModifyEndpointInput) SetEndpointType(v ReplicationEndpointTypeValue) *ModifyEndpointInput { - s.EndpointType = v - return s -} - -// SetEngineName sets the EngineName field's value. -func (s *ModifyEndpointInput) SetEngineName(v string) *ModifyEndpointInput { - s.EngineName = &v - return s -} - -// SetExtraConnectionAttributes sets the ExtraConnectionAttributes field's value. -func (s *ModifyEndpointInput) SetExtraConnectionAttributes(v string) *ModifyEndpointInput { - s.ExtraConnectionAttributes = &v - return s -} - -// SetMongoDbSettings sets the MongoDbSettings field's value. -func (s *ModifyEndpointInput) SetMongoDbSettings(v *MongoDbSettings) *ModifyEndpointInput { - s.MongoDbSettings = v - return s -} - -// SetPassword sets the Password field's value. -func (s *ModifyEndpointInput) SetPassword(v string) *ModifyEndpointInput { - s.Password = &v - return s -} - -// SetPort sets the Port field's value. -func (s *ModifyEndpointInput) SetPort(v int64) *ModifyEndpointInput { - s.Port = &v - return s -} - -// SetS3Settings sets the S3Settings field's value. -func (s *ModifyEndpointInput) SetS3Settings(v *S3Settings) *ModifyEndpointInput { - s.S3Settings = v - return s -} - -// SetServerName sets the ServerName field's value. -func (s *ModifyEndpointInput) SetServerName(v string) *ModifyEndpointInput { - s.ServerName = &v - return s -} - -// SetSslMode sets the SslMode field's value. -func (s *ModifyEndpointInput) SetSslMode(v DmsSslModeValue) *ModifyEndpointInput { - s.SslMode = v - return s -} - -// SetUsername sets the Username field's value. -func (s *ModifyEndpointInput) SetUsername(v string) *ModifyEndpointInput { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpointResponse type ModifyEndpointOutput struct { _ struct{} `type:"structure"` @@ -7092,12 +5742,6 @@ func (s ModifyEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEndpoint sets the Endpoint field's value. -func (s *ModifyEndpointOutput) SetEndpoint(v *Endpoint) *ModifyEndpointOutput { - s.Endpoint = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscriptionMessage type ModifyEventSubscriptionInput struct { _ struct{} `type:"structure"` @@ -7150,36 +5794,6 @@ func (s *ModifyEventSubscriptionInput) Validate() error { return nil } -// SetEnabled sets the Enabled field's value. -func (s *ModifyEventSubscriptionInput) SetEnabled(v bool) *ModifyEventSubscriptionInput { - s.Enabled = &v - return s -} - -// SetEventCategories sets the EventCategories field's value. -func (s *ModifyEventSubscriptionInput) SetEventCategories(v []string) *ModifyEventSubscriptionInput { - s.EventCategories = v - return s -} - -// SetSnsTopicArn sets the SnsTopicArn field's value. -func (s *ModifyEventSubscriptionInput) SetSnsTopicArn(v string) *ModifyEventSubscriptionInput { - s.SnsTopicArn = &v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *ModifyEventSubscriptionInput) SetSourceType(v string) *ModifyEventSubscriptionInput { - s.SourceType = &v - return s -} - -// SetSubscriptionName sets the SubscriptionName field's value. -func (s *ModifyEventSubscriptionInput) SetSubscriptionName(v string) *ModifyEventSubscriptionInput { - s.SubscriptionName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscriptionResponse type ModifyEventSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -7205,12 +5819,6 @@ func (s ModifyEventSubscriptionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventSubscription sets the EventSubscription field's value. -func (s *ModifyEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *ModifyEventSubscriptionOutput { - s.EventSubscription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationInstanceMessage type ModifyReplicationInstanceInput struct { _ struct{} `type:"structure"` @@ -7309,72 +5917,6 @@ func (s *ModifyReplicationInstanceInput) Validate() error { return nil } -// SetAllocatedStorage sets the AllocatedStorage field's value. -func (s *ModifyReplicationInstanceInput) SetAllocatedStorage(v int64) *ModifyReplicationInstanceInput { - s.AllocatedStorage = &v - return s -} - -// SetAllowMajorVersionUpgrade sets the AllowMajorVersionUpgrade field's value. -func (s *ModifyReplicationInstanceInput) SetAllowMajorVersionUpgrade(v bool) *ModifyReplicationInstanceInput { - s.AllowMajorVersionUpgrade = &v - return s -} - -// SetApplyImmediately sets the ApplyImmediately field's value. -func (s *ModifyReplicationInstanceInput) SetApplyImmediately(v bool) *ModifyReplicationInstanceInput { - s.ApplyImmediately = &v - return s -} - -// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. -func (s *ModifyReplicationInstanceInput) SetAutoMinorVersionUpgrade(v bool) *ModifyReplicationInstanceInput { - s.AutoMinorVersionUpgrade = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *ModifyReplicationInstanceInput) SetEngineVersion(v string) *ModifyReplicationInstanceInput { - s.EngineVersion = &v - return s -} - -// SetMultiAZ sets the MultiAZ field's value. -func (s *ModifyReplicationInstanceInput) SetMultiAZ(v bool) *ModifyReplicationInstanceInput { - s.MultiAZ = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *ModifyReplicationInstanceInput) SetPreferredMaintenanceWindow(v string) *ModifyReplicationInstanceInput { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetReplicationInstanceArn sets the ReplicationInstanceArn field's value. -func (s *ModifyReplicationInstanceInput) SetReplicationInstanceArn(v string) *ModifyReplicationInstanceInput { - s.ReplicationInstanceArn = &v - return s -} - -// SetReplicationInstanceClass sets the ReplicationInstanceClass field's value. -func (s *ModifyReplicationInstanceInput) SetReplicationInstanceClass(v string) *ModifyReplicationInstanceInput { - s.ReplicationInstanceClass = &v - return s -} - -// SetReplicationInstanceIdentifier sets the ReplicationInstanceIdentifier field's value. -func (s *ModifyReplicationInstanceInput) SetReplicationInstanceIdentifier(v string) *ModifyReplicationInstanceInput { - s.ReplicationInstanceIdentifier = &v - return s -} - -// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value. -func (s *ModifyReplicationInstanceInput) SetVpcSecurityGroupIds(v []string) *ModifyReplicationInstanceInput { - s.VpcSecurityGroupIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationInstanceResponse type ModifyReplicationInstanceOutput struct { _ struct{} `type:"structure"` @@ -7400,12 +5942,6 @@ func (s ModifyReplicationInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReplicationInstance sets the ReplicationInstance field's value. -func (s *ModifyReplicationInstanceOutput) SetReplicationInstance(v *ReplicationInstance) *ModifyReplicationInstanceOutput { - s.ReplicationInstance = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationSubnetGroupMessage type ModifyReplicationSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -7452,24 +5988,6 @@ func (s *ModifyReplicationSubnetGroupInput) Validate() error { return nil } -// SetReplicationSubnetGroupDescription sets the ReplicationSubnetGroupDescription field's value. -func (s *ModifyReplicationSubnetGroupInput) SetReplicationSubnetGroupDescription(v string) *ModifyReplicationSubnetGroupInput { - s.ReplicationSubnetGroupDescription = &v - return s -} - -// SetReplicationSubnetGroupIdentifier sets the ReplicationSubnetGroupIdentifier field's value. -func (s *ModifyReplicationSubnetGroupInput) SetReplicationSubnetGroupIdentifier(v string) *ModifyReplicationSubnetGroupInput { - s.ReplicationSubnetGroupIdentifier = &v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *ModifyReplicationSubnetGroupInput) SetSubnetIds(v []string) *ModifyReplicationSubnetGroupInput { - s.SubnetIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationSubnetGroupResponse type ModifyReplicationSubnetGroupOutput struct { _ struct{} `type:"structure"` @@ -7495,12 +6013,6 @@ func (s ModifyReplicationSubnetGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReplicationSubnetGroup sets the ReplicationSubnetGroup field's value. -func (s *ModifyReplicationSubnetGroupOutput) SetReplicationSubnetGroup(v *ReplicationSubnetGroup) *ModifyReplicationSubnetGroupOutput { - s.ReplicationSubnetGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationTaskMessage type ModifyReplicationTaskInput struct { _ struct{} `type:"structure"` @@ -7564,42 +6076,6 @@ func (s *ModifyReplicationTaskInput) Validate() error { return nil } -// SetCdcStartTime sets the CdcStartTime field's value. -func (s *ModifyReplicationTaskInput) SetCdcStartTime(v time.Time) *ModifyReplicationTaskInput { - s.CdcStartTime = &v - return s -} - -// SetMigrationType sets the MigrationType field's value. -func (s *ModifyReplicationTaskInput) SetMigrationType(v MigrationTypeValue) *ModifyReplicationTaskInput { - s.MigrationType = v - return s -} - -// SetReplicationTaskArn sets the ReplicationTaskArn field's value. -func (s *ModifyReplicationTaskInput) SetReplicationTaskArn(v string) *ModifyReplicationTaskInput { - s.ReplicationTaskArn = &v - return s -} - -// SetReplicationTaskIdentifier sets the ReplicationTaskIdentifier field's value. -func (s *ModifyReplicationTaskInput) SetReplicationTaskIdentifier(v string) *ModifyReplicationTaskInput { - s.ReplicationTaskIdentifier = &v - return s -} - -// SetReplicationTaskSettings sets the ReplicationTaskSettings field's value. -func (s *ModifyReplicationTaskInput) SetReplicationTaskSettings(v string) *ModifyReplicationTaskInput { - s.ReplicationTaskSettings = &v - return s -} - -// SetTableMappings sets the TableMappings field's value. -func (s *ModifyReplicationTaskInput) SetTableMappings(v string) *ModifyReplicationTaskInput { - s.TableMappings = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationTaskResponse type ModifyReplicationTaskOutput struct { _ struct{} `type:"structure"` @@ -7625,12 +6101,6 @@ func (s ModifyReplicationTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReplicationTask sets the ReplicationTask field's value. -func (s *ModifyReplicationTaskOutput) SetReplicationTask(v *ReplicationTask) *ModifyReplicationTaskOutput { - s.ReplicationTask = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/MongoDbSettings type MongoDbSettings struct { _ struct{} `type:"structure"` @@ -7702,72 +6172,6 @@ func (s MongoDbSettings) GoString() string { return s.String() } -// SetAuthMechanism sets the AuthMechanism field's value. -func (s *MongoDbSettings) SetAuthMechanism(v AuthMechanismValue) *MongoDbSettings { - s.AuthMechanism = v - return s -} - -// SetAuthSource sets the AuthSource field's value. -func (s *MongoDbSettings) SetAuthSource(v string) *MongoDbSettings { - s.AuthSource = &v - return s -} - -// SetAuthType sets the AuthType field's value. -func (s *MongoDbSettings) SetAuthType(v AuthTypeValue) *MongoDbSettings { - s.AuthType = v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *MongoDbSettings) SetDatabaseName(v string) *MongoDbSettings { - s.DatabaseName = &v - return s -} - -// SetDocsToInvestigate sets the DocsToInvestigate field's value. -func (s *MongoDbSettings) SetDocsToInvestigate(v string) *MongoDbSettings { - s.DocsToInvestigate = &v - return s -} - -// SetExtractDocId sets the ExtractDocId field's value. -func (s *MongoDbSettings) SetExtractDocId(v string) *MongoDbSettings { - s.ExtractDocId = &v - return s -} - -// SetNestingLevel sets the NestingLevel field's value. -func (s *MongoDbSettings) SetNestingLevel(v NestingLevelValue) *MongoDbSettings { - s.NestingLevel = v - return s -} - -// SetPassword sets the Password field's value. -func (s *MongoDbSettings) SetPassword(v string) *MongoDbSettings { - s.Password = &v - return s -} - -// SetPort sets the Port field's value. -func (s *MongoDbSettings) SetPort(v int64) *MongoDbSettings { - s.Port = &v - return s -} - -// SetServerName sets the ServerName field's value. -func (s *MongoDbSettings) SetServerName(v string) *MongoDbSettings { - s.ServerName = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *MongoDbSettings) SetUsername(v string) *MongoDbSettings { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/OrderableReplicationInstance type OrderableReplicationInstance struct { _ struct{} `type:"structure"` @@ -7811,48 +6215,6 @@ func (s OrderableReplicationInstance) GoString() string { return s.String() } -// SetDefaultAllocatedStorage sets the DefaultAllocatedStorage field's value. -func (s *OrderableReplicationInstance) SetDefaultAllocatedStorage(v int64) *OrderableReplicationInstance { - s.DefaultAllocatedStorage = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *OrderableReplicationInstance) SetEngineVersion(v string) *OrderableReplicationInstance { - s.EngineVersion = &v - return s -} - -// SetIncludedAllocatedStorage sets the IncludedAllocatedStorage field's value. -func (s *OrderableReplicationInstance) SetIncludedAllocatedStorage(v int64) *OrderableReplicationInstance { - s.IncludedAllocatedStorage = &v - return s -} - -// SetMaxAllocatedStorage sets the MaxAllocatedStorage field's value. -func (s *OrderableReplicationInstance) SetMaxAllocatedStorage(v int64) *OrderableReplicationInstance { - s.MaxAllocatedStorage = &v - return s -} - -// SetMinAllocatedStorage sets the MinAllocatedStorage field's value. -func (s *OrderableReplicationInstance) SetMinAllocatedStorage(v int64) *OrderableReplicationInstance { - s.MinAllocatedStorage = &v - return s -} - -// SetReplicationInstanceClass sets the ReplicationInstanceClass field's value. -func (s *OrderableReplicationInstance) SetReplicationInstanceClass(v string) *OrderableReplicationInstance { - s.ReplicationInstanceClass = &v - return s -} - -// SetStorageType sets the StorageType field's value. -func (s *OrderableReplicationInstance) SetStorageType(v string) *OrderableReplicationInstance { - s.StorageType = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RefreshSchemasMessage type RefreshSchemasInput struct { _ struct{} `type:"structure"` @@ -7896,18 +6258,6 @@ func (s *RefreshSchemasInput) Validate() error { return nil } -// SetEndpointArn sets the EndpointArn field's value. -func (s *RefreshSchemasInput) SetEndpointArn(v string) *RefreshSchemasInput { - s.EndpointArn = &v - return s -} - -// SetReplicationInstanceArn sets the ReplicationInstanceArn field's value. -func (s *RefreshSchemasInput) SetReplicationInstanceArn(v string) *RefreshSchemasInput { - s.ReplicationInstanceArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RefreshSchemasResponse type RefreshSchemasOutput struct { _ struct{} `type:"structure"` @@ -7933,12 +6283,6 @@ func (s RefreshSchemasOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRefreshSchemasStatus sets the RefreshSchemasStatus field's value. -func (s *RefreshSchemasOutput) SetRefreshSchemasStatus(v *RefreshSchemasStatus) *RefreshSchemasOutput { - s.RefreshSchemasStatus = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RefreshSchemasStatus type RefreshSchemasStatus struct { _ struct{} `type:"structure"` @@ -7969,36 +6313,6 @@ func (s RefreshSchemasStatus) GoString() string { return s.String() } -// SetEndpointArn sets the EndpointArn field's value. -func (s *RefreshSchemasStatus) SetEndpointArn(v string) *RefreshSchemasStatus { - s.EndpointArn = &v - return s -} - -// SetLastFailureMessage sets the LastFailureMessage field's value. -func (s *RefreshSchemasStatus) SetLastFailureMessage(v string) *RefreshSchemasStatus { - s.LastFailureMessage = &v - return s -} - -// SetLastRefreshDate sets the LastRefreshDate field's value. -func (s *RefreshSchemasStatus) SetLastRefreshDate(v time.Time) *RefreshSchemasStatus { - s.LastRefreshDate = &v - return s -} - -// SetReplicationInstanceArn sets the ReplicationInstanceArn field's value. -func (s *RefreshSchemasStatus) SetReplicationInstanceArn(v string) *RefreshSchemasStatus { - s.ReplicationInstanceArn = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *RefreshSchemasStatus) SetStatus(v RefreshSchemasStatusTypeValue) *RefreshSchemasStatus { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTablesMessage type ReloadTablesInput struct { _ struct{} `type:"structure"` @@ -8042,18 +6356,6 @@ func (s *ReloadTablesInput) Validate() error { return nil } -// SetReplicationTaskArn sets the ReplicationTaskArn field's value. -func (s *ReloadTablesInput) SetReplicationTaskArn(v string) *ReloadTablesInput { - s.ReplicationTaskArn = &v - return s -} - -// SetTablesToReload sets the TablesToReload field's value. -func (s *ReloadTablesInput) SetTablesToReload(v []TableToReload) *ReloadTablesInput { - s.TablesToReload = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTablesResponse type ReloadTablesOutput struct { _ struct{} `type:"structure"` @@ -8079,12 +6381,6 @@ func (s ReloadTablesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReplicationTaskArn sets the ReplicationTaskArn field's value. -func (s *ReloadTablesOutput) SetReplicationTaskArn(v string) *ReloadTablesOutput { - s.ReplicationTaskArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RemoveTagsFromResourceMessage type RemoveTagsFromResourceInput struct { _ struct{} `type:"structure"` @@ -8129,18 +6425,6 @@ func (s *RemoveTagsFromResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *RemoveTagsFromResourceInput) SetResourceArn(v string) *RemoveTagsFromResourceInput { - s.ResourceArn = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *RemoveTagsFromResourceInput) SetTagKeys(v []string) *RemoveTagsFromResourceInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RemoveTagsFromResourceResponse type RemoveTagsFromResourceOutput struct { _ struct{} `type:"structure"` @@ -8264,132 +6548,6 @@ func (s ReplicationInstance) GoString() string { return s.String() } -// SetAllocatedStorage sets the AllocatedStorage field's value. -func (s *ReplicationInstance) SetAllocatedStorage(v int64) *ReplicationInstance { - s.AllocatedStorage = &v - return s -} - -// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. -func (s *ReplicationInstance) SetAutoMinorVersionUpgrade(v bool) *ReplicationInstance { - s.AutoMinorVersionUpgrade = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *ReplicationInstance) SetAvailabilityZone(v string) *ReplicationInstance { - s.AvailabilityZone = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *ReplicationInstance) SetEngineVersion(v string) *ReplicationInstance { - s.EngineVersion = &v - return s -} - -// SetInstanceCreateTime sets the InstanceCreateTime field's value. -func (s *ReplicationInstance) SetInstanceCreateTime(v time.Time) *ReplicationInstance { - s.InstanceCreateTime = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *ReplicationInstance) SetKmsKeyId(v string) *ReplicationInstance { - s.KmsKeyId = &v - return s -} - -// SetMultiAZ sets the MultiAZ field's value. -func (s *ReplicationInstance) SetMultiAZ(v bool) *ReplicationInstance { - s.MultiAZ = &v - return s -} - -// SetPendingModifiedValues sets the PendingModifiedValues field's value. -func (s *ReplicationInstance) SetPendingModifiedValues(v *ReplicationPendingModifiedValues) *ReplicationInstance { - s.PendingModifiedValues = v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *ReplicationInstance) SetPreferredMaintenanceWindow(v string) *ReplicationInstance { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetPubliclyAccessible sets the PubliclyAccessible field's value. -func (s *ReplicationInstance) SetPubliclyAccessible(v bool) *ReplicationInstance { - s.PubliclyAccessible = &v - return s -} - -// SetReplicationInstanceArn sets the ReplicationInstanceArn field's value. -func (s *ReplicationInstance) SetReplicationInstanceArn(v string) *ReplicationInstance { - s.ReplicationInstanceArn = &v - return s -} - -// SetReplicationInstanceClass sets the ReplicationInstanceClass field's value. -func (s *ReplicationInstance) SetReplicationInstanceClass(v string) *ReplicationInstance { - s.ReplicationInstanceClass = &v - return s -} - -// SetReplicationInstanceIdentifier sets the ReplicationInstanceIdentifier field's value. -func (s *ReplicationInstance) SetReplicationInstanceIdentifier(v string) *ReplicationInstance { - s.ReplicationInstanceIdentifier = &v - return s -} - -// SetReplicationInstancePrivateIpAddress sets the ReplicationInstancePrivateIpAddress field's value. -func (s *ReplicationInstance) SetReplicationInstancePrivateIpAddress(v string) *ReplicationInstance { - s.ReplicationInstancePrivateIpAddress = &v - return s -} - -// SetReplicationInstancePrivateIpAddresses sets the ReplicationInstancePrivateIpAddresses field's value. -func (s *ReplicationInstance) SetReplicationInstancePrivateIpAddresses(v []string) *ReplicationInstance { - s.ReplicationInstancePrivateIpAddresses = v - return s -} - -// SetReplicationInstancePublicIpAddress sets the ReplicationInstancePublicIpAddress field's value. -func (s *ReplicationInstance) SetReplicationInstancePublicIpAddress(v string) *ReplicationInstance { - s.ReplicationInstancePublicIpAddress = &v - return s -} - -// SetReplicationInstancePublicIpAddresses sets the ReplicationInstancePublicIpAddresses field's value. -func (s *ReplicationInstance) SetReplicationInstancePublicIpAddresses(v []string) *ReplicationInstance { - s.ReplicationInstancePublicIpAddresses = v - return s -} - -// SetReplicationInstanceStatus sets the ReplicationInstanceStatus field's value. -func (s *ReplicationInstance) SetReplicationInstanceStatus(v string) *ReplicationInstance { - s.ReplicationInstanceStatus = &v - return s -} - -// SetReplicationSubnetGroup sets the ReplicationSubnetGroup field's value. -func (s *ReplicationInstance) SetReplicationSubnetGroup(v *ReplicationSubnetGroup) *ReplicationInstance { - s.ReplicationSubnetGroup = v - return s -} - -// SetSecondaryAvailabilityZone sets the SecondaryAvailabilityZone field's value. -func (s *ReplicationInstance) SetSecondaryAvailabilityZone(v string) *ReplicationInstance { - s.SecondaryAvailabilityZone = &v - return s -} - -// SetVpcSecurityGroups sets the VpcSecurityGroups field's value. -func (s *ReplicationInstance) SetVpcSecurityGroups(v []VpcSecurityGroupMembership) *ReplicationInstance { - s.VpcSecurityGroups = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationPendingModifiedValues type ReplicationPendingModifiedValues struct { _ struct{} `type:"structure"` @@ -8422,30 +6580,6 @@ func (s ReplicationPendingModifiedValues) GoString() string { return s.String() } -// SetAllocatedStorage sets the AllocatedStorage field's value. -func (s *ReplicationPendingModifiedValues) SetAllocatedStorage(v int64) *ReplicationPendingModifiedValues { - s.AllocatedStorage = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *ReplicationPendingModifiedValues) SetEngineVersion(v string) *ReplicationPendingModifiedValues { - s.EngineVersion = &v - return s -} - -// SetMultiAZ sets the MultiAZ field's value. -func (s *ReplicationPendingModifiedValues) SetMultiAZ(v bool) *ReplicationPendingModifiedValues { - s.MultiAZ = &v - return s -} - -// SetReplicationInstanceClass sets the ReplicationInstanceClass field's value. -func (s *ReplicationPendingModifiedValues) SetReplicationInstanceClass(v string) *ReplicationPendingModifiedValues { - s.ReplicationInstanceClass = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationSubnetGroup type ReplicationSubnetGroup struct { _ struct{} `type:"structure"` @@ -8476,36 +6610,6 @@ func (s ReplicationSubnetGroup) GoString() string { return s.String() } -// SetReplicationSubnetGroupDescription sets the ReplicationSubnetGroupDescription field's value. -func (s *ReplicationSubnetGroup) SetReplicationSubnetGroupDescription(v string) *ReplicationSubnetGroup { - s.ReplicationSubnetGroupDescription = &v - return s -} - -// SetReplicationSubnetGroupIdentifier sets the ReplicationSubnetGroupIdentifier field's value. -func (s *ReplicationSubnetGroup) SetReplicationSubnetGroupIdentifier(v string) *ReplicationSubnetGroup { - s.ReplicationSubnetGroupIdentifier = &v - return s -} - -// SetSubnetGroupStatus sets the SubnetGroupStatus field's value. -func (s *ReplicationSubnetGroup) SetSubnetGroupStatus(v string) *ReplicationSubnetGroup { - s.SubnetGroupStatus = &v - return s -} - -// SetSubnets sets the Subnets field's value. -func (s *ReplicationSubnetGroup) SetSubnets(v []Subnet) *ReplicationSubnetGroup { - s.Subnets = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *ReplicationSubnetGroup) SetVpcId(v string) *ReplicationSubnetGroup { - s.VpcId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationTask type ReplicationTask struct { _ struct{} `type:"structure"` @@ -8572,90 +6676,6 @@ func (s ReplicationTask) GoString() string { return s.String() } -// SetLastFailureMessage sets the LastFailureMessage field's value. -func (s *ReplicationTask) SetLastFailureMessage(v string) *ReplicationTask { - s.LastFailureMessage = &v - return s -} - -// SetMigrationType sets the MigrationType field's value. -func (s *ReplicationTask) SetMigrationType(v MigrationTypeValue) *ReplicationTask { - s.MigrationType = v - return s -} - -// SetReplicationInstanceArn sets the ReplicationInstanceArn field's value. -func (s *ReplicationTask) SetReplicationInstanceArn(v string) *ReplicationTask { - s.ReplicationInstanceArn = &v - return s -} - -// SetReplicationTaskArn sets the ReplicationTaskArn field's value. -func (s *ReplicationTask) SetReplicationTaskArn(v string) *ReplicationTask { - s.ReplicationTaskArn = &v - return s -} - -// SetReplicationTaskCreationDate sets the ReplicationTaskCreationDate field's value. -func (s *ReplicationTask) SetReplicationTaskCreationDate(v time.Time) *ReplicationTask { - s.ReplicationTaskCreationDate = &v - return s -} - -// SetReplicationTaskIdentifier sets the ReplicationTaskIdentifier field's value. -func (s *ReplicationTask) SetReplicationTaskIdentifier(v string) *ReplicationTask { - s.ReplicationTaskIdentifier = &v - return s -} - -// SetReplicationTaskSettings sets the ReplicationTaskSettings field's value. -func (s *ReplicationTask) SetReplicationTaskSettings(v string) *ReplicationTask { - s.ReplicationTaskSettings = &v - return s -} - -// SetReplicationTaskStartDate sets the ReplicationTaskStartDate field's value. -func (s *ReplicationTask) SetReplicationTaskStartDate(v time.Time) *ReplicationTask { - s.ReplicationTaskStartDate = &v - return s -} - -// SetReplicationTaskStats sets the ReplicationTaskStats field's value. -func (s *ReplicationTask) SetReplicationTaskStats(v *ReplicationTaskStats) *ReplicationTask { - s.ReplicationTaskStats = v - return s -} - -// SetSourceEndpointArn sets the SourceEndpointArn field's value. -func (s *ReplicationTask) SetSourceEndpointArn(v string) *ReplicationTask { - s.SourceEndpointArn = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ReplicationTask) SetStatus(v string) *ReplicationTask { - s.Status = &v - return s -} - -// SetStopReason sets the StopReason field's value. -func (s *ReplicationTask) SetStopReason(v string) *ReplicationTask { - s.StopReason = &v - return s -} - -// SetTableMappings sets the TableMappings field's value. -func (s *ReplicationTask) SetTableMappings(v string) *ReplicationTask { - s.TableMappings = &v - return s -} - -// SetTargetEndpointArn sets the TargetEndpointArn field's value. -func (s *ReplicationTask) SetTargetEndpointArn(v string) *ReplicationTask { - s.TargetEndpointArn = &v - return s -} - // The task assessment report in JSON format. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationTaskAssessmentResult type ReplicationTaskAssessmentResult struct { @@ -8694,48 +6714,6 @@ func (s ReplicationTaskAssessmentResult) GoString() string { return s.String() } -// SetAssessmentResults sets the AssessmentResults field's value. -func (s *ReplicationTaskAssessmentResult) SetAssessmentResults(v string) *ReplicationTaskAssessmentResult { - s.AssessmentResults = &v - return s -} - -// SetAssessmentResultsFile sets the AssessmentResultsFile field's value. -func (s *ReplicationTaskAssessmentResult) SetAssessmentResultsFile(v string) *ReplicationTaskAssessmentResult { - s.AssessmentResultsFile = &v - return s -} - -// SetAssessmentStatus sets the AssessmentStatus field's value. -func (s *ReplicationTaskAssessmentResult) SetAssessmentStatus(v string) *ReplicationTaskAssessmentResult { - s.AssessmentStatus = &v - return s -} - -// SetReplicationTaskArn sets the ReplicationTaskArn field's value. -func (s *ReplicationTaskAssessmentResult) SetReplicationTaskArn(v string) *ReplicationTaskAssessmentResult { - s.ReplicationTaskArn = &v - return s -} - -// SetReplicationTaskIdentifier sets the ReplicationTaskIdentifier field's value. -func (s *ReplicationTaskAssessmentResult) SetReplicationTaskIdentifier(v string) *ReplicationTaskAssessmentResult { - s.ReplicationTaskIdentifier = &v - return s -} - -// SetReplicationTaskLastAssessmentDate sets the ReplicationTaskLastAssessmentDate field's value. -func (s *ReplicationTaskAssessmentResult) SetReplicationTaskLastAssessmentDate(v time.Time) *ReplicationTaskAssessmentResult { - s.ReplicationTaskLastAssessmentDate = &v - return s -} - -// SetS3ObjectUrl sets the S3ObjectUrl field's value. -func (s *ReplicationTaskAssessmentResult) SetS3ObjectUrl(v string) *ReplicationTaskAssessmentResult { - s.S3ObjectUrl = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReplicationTaskStats type ReplicationTaskStats struct { _ struct{} `type:"structure"` @@ -8769,42 +6747,6 @@ func (s ReplicationTaskStats) GoString() string { return s.String() } -// SetElapsedTimeMillis sets the ElapsedTimeMillis field's value. -func (s *ReplicationTaskStats) SetElapsedTimeMillis(v int64) *ReplicationTaskStats { - s.ElapsedTimeMillis = &v - return s -} - -// SetFullLoadProgressPercent sets the FullLoadProgressPercent field's value. -func (s *ReplicationTaskStats) SetFullLoadProgressPercent(v int64) *ReplicationTaskStats { - s.FullLoadProgressPercent = &v - return s -} - -// SetTablesErrored sets the TablesErrored field's value. -func (s *ReplicationTaskStats) SetTablesErrored(v int64) *ReplicationTaskStats { - s.TablesErrored = &v - return s -} - -// SetTablesLoaded sets the TablesLoaded field's value. -func (s *ReplicationTaskStats) SetTablesLoaded(v int64) *ReplicationTaskStats { - s.TablesLoaded = &v - return s -} - -// SetTablesLoading sets the TablesLoading field's value. -func (s *ReplicationTaskStats) SetTablesLoading(v int64) *ReplicationTaskStats { - s.TablesLoading = &v - return s -} - -// SetTablesQueued sets the TablesQueued field's value. -func (s *ReplicationTaskStats) SetTablesQueued(v int64) *ReplicationTaskStats { - s.TablesQueued = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/S3Settings type S3Settings struct { _ struct{} `type:"structure"` @@ -8846,48 +6788,6 @@ func (s S3Settings) GoString() string { return s.String() } -// SetBucketFolder sets the BucketFolder field's value. -func (s *S3Settings) SetBucketFolder(v string) *S3Settings { - s.BucketFolder = &v - return s -} - -// SetBucketName sets the BucketName field's value. -func (s *S3Settings) SetBucketName(v string) *S3Settings { - s.BucketName = &v - return s -} - -// SetCompressionType sets the CompressionType field's value. -func (s *S3Settings) SetCompressionType(v CompressionTypeValue) *S3Settings { - s.CompressionType = v - return s -} - -// SetCsvDelimiter sets the CsvDelimiter field's value. -func (s *S3Settings) SetCsvDelimiter(v string) *S3Settings { - s.CsvDelimiter = &v - return s -} - -// SetCsvRowDelimiter sets the CsvRowDelimiter field's value. -func (s *S3Settings) SetCsvRowDelimiter(v string) *S3Settings { - s.CsvRowDelimiter = &v - return s -} - -// SetExternalTableDefinition sets the ExternalTableDefinition field's value. -func (s *S3Settings) SetExternalTableDefinition(v string) *S3Settings { - s.ExternalTableDefinition = &v - return s -} - -// SetServiceAccessRoleArn sets the ServiceAccessRoleArn field's value. -func (s *S3Settings) SetServiceAccessRoleArn(v string) *S3Settings { - s.ServiceAccessRoleArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskAssessmentMessage type StartReplicationTaskAssessmentInput struct { _ struct{} `type:"structure"` @@ -8922,12 +6822,6 @@ func (s *StartReplicationTaskAssessmentInput) Validate() error { return nil } -// SetReplicationTaskArn sets the ReplicationTaskArn field's value. -func (s *StartReplicationTaskAssessmentInput) SetReplicationTaskArn(v string) *StartReplicationTaskAssessmentInput { - s.ReplicationTaskArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskAssessmentResponse type StartReplicationTaskAssessmentOutput struct { _ struct{} `type:"structure"` @@ -8953,12 +6847,6 @@ func (s StartReplicationTaskAssessmentOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetReplicationTask sets the ReplicationTask field's value. -func (s *StartReplicationTaskAssessmentOutput) SetReplicationTask(v *ReplicationTask) *StartReplicationTaskAssessmentOutput { - s.ReplicationTask = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskMessage type StartReplicationTaskInput struct { _ struct{} `type:"structure"` @@ -9004,24 +6892,6 @@ func (s *StartReplicationTaskInput) Validate() error { return nil } -// SetCdcStartTime sets the CdcStartTime field's value. -func (s *StartReplicationTaskInput) SetCdcStartTime(v time.Time) *StartReplicationTaskInput { - s.CdcStartTime = &v - return s -} - -// SetReplicationTaskArn sets the ReplicationTaskArn field's value. -func (s *StartReplicationTaskInput) SetReplicationTaskArn(v string) *StartReplicationTaskInput { - s.ReplicationTaskArn = &v - return s -} - -// SetStartReplicationTaskType sets the StartReplicationTaskType field's value. -func (s *StartReplicationTaskInput) SetStartReplicationTaskType(v StartReplicationTaskTypeValue) *StartReplicationTaskInput { - s.StartReplicationTaskType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskResponse type StartReplicationTaskOutput struct { _ struct{} `type:"structure"` @@ -9047,12 +6917,6 @@ func (s StartReplicationTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReplicationTask sets the ReplicationTask field's value. -func (s *StartReplicationTaskOutput) SetReplicationTask(v *ReplicationTask) *StartReplicationTaskOutput { - s.ReplicationTask = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopReplicationTaskMessage type StopReplicationTaskInput struct { _ struct{} `type:"structure"` @@ -9087,12 +6951,6 @@ func (s *StopReplicationTaskInput) Validate() error { return nil } -// SetReplicationTaskArn sets the ReplicationTaskArn field's value. -func (s *StopReplicationTaskInput) SetReplicationTaskArn(v string) *StopReplicationTaskInput { - s.ReplicationTaskArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopReplicationTaskResponse type StopReplicationTaskOutput struct { _ struct{} `type:"structure"` @@ -9118,12 +6976,6 @@ func (s StopReplicationTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReplicationTask sets the ReplicationTask field's value. -func (s *StopReplicationTaskOutput) SetReplicationTask(v *ReplicationTask) *StopReplicationTaskOutput { - s.ReplicationTask = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Subnet type Subnet struct { _ struct{} `type:"structure"` @@ -9148,24 +7000,6 @@ func (s Subnet) GoString() string { return s.String() } -// SetSubnetAvailabilityZone sets the SubnetAvailabilityZone field's value. -func (s *Subnet) SetSubnetAvailabilityZone(v *AvailabilityZone) *Subnet { - s.SubnetAvailabilityZone = v - return s -} - -// SetSubnetIdentifier sets the SubnetIdentifier field's value. -func (s *Subnet) SetSubnetIdentifier(v string) *Subnet { - s.SubnetIdentifier = &v - return s -} - -// SetSubnetStatus sets the SubnetStatus field's value. -func (s *Subnet) SetSubnetStatus(v string) *Subnet { - s.SubnetStatus = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/SupportedEndpointType type SupportedEndpointType struct { _ struct{} `type:"structure"` @@ -9192,24 +7026,6 @@ func (s SupportedEndpointType) GoString() string { return s.String() } -// SetEndpointType sets the EndpointType field's value. -func (s *SupportedEndpointType) SetEndpointType(v ReplicationEndpointTypeValue) *SupportedEndpointType { - s.EndpointType = v - return s -} - -// SetEngineName sets the EngineName field's value. -func (s *SupportedEndpointType) SetEngineName(v string) *SupportedEndpointType { - s.EngineName = &v - return s -} - -// SetSupportsCDC sets the SupportsCDC field's value. -func (s *SupportedEndpointType) SetSupportsCDC(v bool) *SupportedEndpointType { - s.SupportsCDC = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TableStatistics type TableStatistics struct { _ struct{} `type:"structure"` @@ -9300,96 +7116,6 @@ func (s TableStatistics) GoString() string { return s.String() } -// SetDdls sets the Ddls field's value. -func (s *TableStatistics) SetDdls(v int64) *TableStatistics { - s.Ddls = &v - return s -} - -// SetDeletes sets the Deletes field's value. -func (s *TableStatistics) SetDeletes(v int64) *TableStatistics { - s.Deletes = &v - return s -} - -// SetFullLoadCondtnlChkFailedRows sets the FullLoadCondtnlChkFailedRows field's value. -func (s *TableStatistics) SetFullLoadCondtnlChkFailedRows(v int64) *TableStatistics { - s.FullLoadCondtnlChkFailedRows = &v - return s -} - -// SetFullLoadErrorRows sets the FullLoadErrorRows field's value. -func (s *TableStatistics) SetFullLoadErrorRows(v int64) *TableStatistics { - s.FullLoadErrorRows = &v - return s -} - -// SetFullLoadRows sets the FullLoadRows field's value. -func (s *TableStatistics) SetFullLoadRows(v int64) *TableStatistics { - s.FullLoadRows = &v - return s -} - -// SetInserts sets the Inserts field's value. -func (s *TableStatistics) SetInserts(v int64) *TableStatistics { - s.Inserts = &v - return s -} - -// SetLastUpdateTime sets the LastUpdateTime field's value. -func (s *TableStatistics) SetLastUpdateTime(v time.Time) *TableStatistics { - s.LastUpdateTime = &v - return s -} - -// SetSchemaName sets the SchemaName field's value. -func (s *TableStatistics) SetSchemaName(v string) *TableStatistics { - s.SchemaName = &v - return s -} - -// SetTableName sets the TableName field's value. -func (s *TableStatistics) SetTableName(v string) *TableStatistics { - s.TableName = &v - return s -} - -// SetTableState sets the TableState field's value. -func (s *TableStatistics) SetTableState(v string) *TableStatistics { - s.TableState = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *TableStatistics) SetUpdates(v int64) *TableStatistics { - s.Updates = &v - return s -} - -// SetValidationFailedRecords sets the ValidationFailedRecords field's value. -func (s *TableStatistics) SetValidationFailedRecords(v int64) *TableStatistics { - s.ValidationFailedRecords = &v - return s -} - -// SetValidationPendingRecords sets the ValidationPendingRecords field's value. -func (s *TableStatistics) SetValidationPendingRecords(v int64) *TableStatistics { - s.ValidationPendingRecords = &v - return s -} - -// SetValidationState sets the ValidationState field's value. -func (s *TableStatistics) SetValidationState(v string) *TableStatistics { - s.ValidationState = &v - return s -} - -// SetValidationSuspendedRecords sets the ValidationSuspendedRecords field's value. -func (s *TableStatistics) SetValidationSuspendedRecords(v int64) *TableStatistics { - s.ValidationSuspendedRecords = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TableToReload type TableToReload struct { _ struct{} `type:"structure"` @@ -9411,18 +7137,6 @@ func (s TableToReload) GoString() string { return s.String() } -// SetSchemaName sets the SchemaName field's value. -func (s *TableToReload) SetSchemaName(v string) *TableToReload { - s.SchemaName = &v - return s -} - -// SetTableName sets the TableName field's value. -func (s *TableToReload) SetTableName(v string) *TableToReload { - s.TableName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/Tag type Tag struct { _ struct{} `type:"structure"` @@ -9450,18 +7164,6 @@ func (s Tag) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TestConnectionMessage type TestConnectionInput struct { _ struct{} `type:"structure"` @@ -9505,18 +7207,6 @@ func (s *TestConnectionInput) Validate() error { return nil } -// SetEndpointArn sets the EndpointArn field's value. -func (s *TestConnectionInput) SetEndpointArn(v string) *TestConnectionInput { - s.EndpointArn = &v - return s -} - -// SetReplicationInstanceArn sets the ReplicationInstanceArn field's value. -func (s *TestConnectionInput) SetReplicationInstanceArn(v string) *TestConnectionInput { - s.ReplicationInstanceArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TestConnectionResponse type TestConnectionOutput struct { _ struct{} `type:"structure"` @@ -9542,12 +7232,6 @@ func (s TestConnectionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConnection sets the Connection field's value. -func (s *TestConnectionOutput) SetConnection(v *Connection) *TestConnectionOutput { - s.Connection = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/VpcSecurityGroupMembership type VpcSecurityGroupMembership struct { _ struct{} `type:"structure"` @@ -9569,18 +7253,6 @@ func (s VpcSecurityGroupMembership) GoString() string { return s.String() } -// SetStatus sets the Status field's value. -func (s *VpcSecurityGroupMembership) SetStatus(v string) *VpcSecurityGroupMembership { - s.Status = &v - return s -} - -// SetVpcSecurityGroupId sets the VpcSecurityGroupId field's value. -func (s *VpcSecurityGroupMembership) SetVpcSecurityGroupId(v string) *VpcSecurityGroupMembership { - s.VpcSecurityGroupId = &v - return s -} - type AuthMechanismValue string // Enum values for AuthMechanismValue diff --git a/service/datapipeline/api.go b/service/datapipeline/api.go index 191fcb2fb68..1cd8b3b0d43 100644 --- a/service/datapipeline/api.go +++ b/service/datapipeline/api.go @@ -1252,24 +1252,6 @@ func (s *ActivatePipelineInput) Validate() error { return nil } -// SetParameterValues sets the ParameterValues field's value. -func (s *ActivatePipelineInput) SetParameterValues(v []ParameterValue) *ActivatePipelineInput { - s.ParameterValues = v - return s -} - -// SetPipelineId sets the PipelineId field's value. -func (s *ActivatePipelineInput) SetPipelineId(v string) *ActivatePipelineInput { - s.PipelineId = &v - return s -} - -// SetStartTimestamp sets the StartTimestamp field's value. -func (s *ActivatePipelineInput) SetStartTimestamp(v time.Time) *ActivatePipelineInput { - s.StartTimestamp = &v - return s -} - // Contains the output of ActivatePipeline. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ActivatePipelineOutput type ActivatePipelineOutput struct { @@ -1347,18 +1329,6 @@ func (s *AddTagsInput) Validate() error { return nil } -// SetPipelineId sets the PipelineId field's value. -func (s *AddTagsInput) SetPipelineId(v string) *AddTagsInput { - s.PipelineId = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *AddTagsInput) SetTags(v []Tag) *AddTagsInput { - s.Tags = v - return s -} - // Contains the output of AddTags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/AddTagsOutput type AddTagsOutput struct { @@ -1460,30 +1430,6 @@ func (s *CreatePipelineInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreatePipelineInput) SetDescription(v string) *CreatePipelineInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreatePipelineInput) SetName(v string) *CreatePipelineInput { - s.Name = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreatePipelineInput) SetTags(v []Tag) *CreatePipelineInput { - s.Tags = v - return s -} - -// SetUniqueId sets the UniqueId field's value. -func (s *CreatePipelineInput) SetUniqueId(v string) *CreatePipelineInput { - s.UniqueId = &v - return s -} - // Contains the output of CreatePipeline. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/CreatePipelineOutput type CreatePipelineOutput struct { @@ -1513,12 +1459,6 @@ func (s CreatePipelineOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPipelineId sets the PipelineId field's value. -func (s *CreatePipelineOutput) SetPipelineId(v string) *CreatePipelineOutput { - s.PipelineId = &v - return s -} - // Contains the parameters for DeactivatePipeline. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DeactivatePipelineInput type DeactivatePipelineInput struct { @@ -1562,18 +1502,6 @@ func (s *DeactivatePipelineInput) Validate() error { return nil } -// SetCancelActive sets the CancelActive field's value. -func (s *DeactivatePipelineInput) SetCancelActive(v bool) *DeactivatePipelineInput { - s.CancelActive = &v - return s -} - -// SetPipelineId sets the PipelineId field's value. -func (s *DeactivatePipelineInput) SetPipelineId(v string) *DeactivatePipelineInput { - s.PipelineId = &v - return s -} - // Contains the output of DeactivatePipeline. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DeactivatePipelineOutput type DeactivatePipelineOutput struct { @@ -1635,12 +1563,6 @@ func (s *DeletePipelineInput) Validate() error { return nil } -// SetPipelineId sets the PipelineId field's value. -func (s *DeletePipelineInput) SetPipelineId(v string) *DeletePipelineInput { - s.PipelineId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DeletePipelineOutput type DeletePipelineOutput struct { _ struct{} `type:"structure"` @@ -1721,30 +1643,6 @@ func (s *DescribeObjectsInput) Validate() error { return nil } -// SetEvaluateExpressions sets the EvaluateExpressions field's value. -func (s *DescribeObjectsInput) SetEvaluateExpressions(v bool) *DescribeObjectsInput { - s.EvaluateExpressions = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeObjectsInput) SetMarker(v string) *DescribeObjectsInput { - s.Marker = &v - return s -} - -// SetObjectIds sets the ObjectIds field's value. -func (s *DescribeObjectsInput) SetObjectIds(v []string) *DescribeObjectsInput { - s.ObjectIds = v - return s -} - -// SetPipelineId sets the PipelineId field's value. -func (s *DescribeObjectsInput) SetPipelineId(v string) *DescribeObjectsInput { - s.PipelineId = &v - return s -} - // Contains the output of DescribeObjects. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DescribeObjectsOutput type DescribeObjectsOutput struct { @@ -1781,24 +1679,6 @@ func (s DescribeObjectsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHasMoreResults sets the HasMoreResults field's value. -func (s *DescribeObjectsOutput) SetHasMoreResults(v bool) *DescribeObjectsOutput { - s.HasMoreResults = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeObjectsOutput) SetMarker(v string) *DescribeObjectsOutput { - s.Marker = &v - return s -} - -// SetPipelineObjects sets the PipelineObjects field's value. -func (s *DescribeObjectsOutput) SetPipelineObjects(v []PipelineObject) *DescribeObjectsOutput { - s.PipelineObjects = v - return s -} - // Contains the parameters for DescribePipelines. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DescribePipelinesInput type DescribePipelinesInput struct { @@ -1835,12 +1715,6 @@ func (s *DescribePipelinesInput) Validate() error { return nil } -// SetPipelineIds sets the PipelineIds field's value. -func (s *DescribePipelinesInput) SetPipelineIds(v []string) *DescribePipelinesInput { - s.PipelineIds = v - return s -} - // Contains the output of DescribePipelines. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DescribePipelinesOutput type DescribePipelinesOutput struct { @@ -1869,12 +1743,6 @@ func (s DescribePipelinesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPipelineDescriptionList sets the PipelineDescriptionList field's value. -func (s *DescribePipelinesOutput) SetPipelineDescriptionList(v []PipelineDescription) *DescribePipelinesOutput { - s.PipelineDescriptionList = v - return s -} - // Contains the parameters for EvaluateExpression. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/EvaluateExpressionInput type EvaluateExpressionInput struct { @@ -1934,24 +1802,6 @@ func (s *EvaluateExpressionInput) Validate() error { return nil } -// SetExpression sets the Expression field's value. -func (s *EvaluateExpressionInput) SetExpression(v string) *EvaluateExpressionInput { - s.Expression = &v - return s -} - -// SetObjectId sets the ObjectId field's value. -func (s *EvaluateExpressionInput) SetObjectId(v string) *EvaluateExpressionInput { - s.ObjectId = &v - return s -} - -// SetPipelineId sets the PipelineId field's value. -func (s *EvaluateExpressionInput) SetPipelineId(v string) *EvaluateExpressionInput { - s.PipelineId = &v - return s -} - // Contains the output of EvaluateExpression. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/EvaluateExpressionOutput type EvaluateExpressionOutput struct { @@ -1980,12 +1830,6 @@ func (s EvaluateExpressionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEvaluatedExpression sets the EvaluatedExpression field's value. -func (s *EvaluateExpressionOutput) SetEvaluatedExpression(v string) *EvaluateExpressionOutput { - s.EvaluatedExpression = &v - return s -} - // A key-value pair that describes a property of a pipeline object. The value // is specified as either a string value (StringValue) or a reference to another // object (RefValue) but not as both. @@ -2035,24 +1879,6 @@ func (s *Field) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Field) SetKey(v string) *Field { - s.Key = &v - return s -} - -// SetRefValue sets the RefValue field's value. -func (s *Field) SetRefValue(v string) *Field { - s.RefValue = &v - return s -} - -// SetStringValue sets the StringValue field's value. -func (s *Field) SetStringValue(v string) *Field { - s.StringValue = &v - return s -} - // Contains the parameters for GetPipelineDefinition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/GetPipelineDefinitionInput type GetPipelineDefinitionInput struct { @@ -2096,18 +1922,6 @@ func (s *GetPipelineDefinitionInput) Validate() error { return nil } -// SetPipelineId sets the PipelineId field's value. -func (s *GetPipelineDefinitionInput) SetPipelineId(v string) *GetPipelineDefinitionInput { - s.PipelineId = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetPipelineDefinitionInput) SetVersion(v string) *GetPipelineDefinitionInput { - s.Version = &v - return s -} - // Contains the output of GetPipelineDefinition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/GetPipelineDefinitionOutput type GetPipelineDefinitionOutput struct { @@ -2140,24 +1954,6 @@ func (s GetPipelineDefinitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetParameterObjects sets the ParameterObjects field's value. -func (s *GetPipelineDefinitionOutput) SetParameterObjects(v []ParameterObject) *GetPipelineDefinitionOutput { - s.ParameterObjects = v - return s -} - -// SetParameterValues sets the ParameterValues field's value. -func (s *GetPipelineDefinitionOutput) SetParameterValues(v []ParameterValue) *GetPipelineDefinitionOutput { - s.ParameterValues = v - return s -} - -// SetPipelineObjects sets the PipelineObjects field's value. -func (s *GetPipelineDefinitionOutput) SetPipelineObjects(v []PipelineObject) *GetPipelineDefinitionOutput { - s.PipelineObjects = v - return s -} - // Identity information for the EC2 instance that is hosting the task runner. // You can get this value by calling a metadata URI from the EC2 instance. For // more information, see Instance Metadata (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AESDG-chapter-instancedata.html) @@ -2188,18 +1984,6 @@ func (s InstanceIdentity) GoString() string { return s.String() } -// SetDocument sets the Document field's value. -func (s *InstanceIdentity) SetDocument(v string) *InstanceIdentity { - s.Document = &v - return s -} - -// SetSignature sets the Signature field's value. -func (s *InstanceIdentity) SetSignature(v string) *InstanceIdentity { - s.Signature = &v - return s -} - // Contains the parameters for ListPipelines. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ListPipelinesInput type ListPipelinesInput struct { @@ -2222,12 +2006,6 @@ func (s ListPipelinesInput) GoString() string { return s.String() } -// SetMarker sets the Marker field's value. -func (s *ListPipelinesInput) SetMarker(v string) *ListPipelinesInput { - s.Marker = &v - return s -} - // Contains the output of ListPipelines. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ListPipelinesOutput type ListPipelinesOutput struct { @@ -2266,24 +2044,6 @@ func (s ListPipelinesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHasMoreResults sets the HasMoreResults field's value. -func (s *ListPipelinesOutput) SetHasMoreResults(v bool) *ListPipelinesOutput { - s.HasMoreResults = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListPipelinesOutput) SetMarker(v string) *ListPipelinesOutput { - s.Marker = &v - return s -} - -// SetPipelineIdList sets the PipelineIdList field's value. -func (s *ListPipelinesOutput) SetPipelineIdList(v []PipelineIdName) *ListPipelinesOutput { - s.PipelineIdList = v - return s -} - // Contains a logical operation for comparing the value of a field with a specified // value. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/Operator @@ -2335,18 +2095,6 @@ func (s Operator) GoString() string { return s.String() } -// SetType sets the Type field's value. -func (s *Operator) SetType(v OperatorType) *Operator { - s.Type = v - return s -} - -// SetValues sets the Values field's value. -func (s *Operator) SetValues(v []string) *Operator { - s.Values = v - return s -} - // The attributes allowed or specified with a parameter object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ParameterAttribute type ParameterAttribute struct { @@ -2394,18 +2142,6 @@ func (s *ParameterAttribute) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *ParameterAttribute) SetKey(v string) *ParameterAttribute { - s.Key = &v - return s -} - -// SetStringValue sets the StringValue field's value. -func (s *ParameterAttribute) SetStringValue(v string) *ParameterAttribute { - s.StringValue = &v - return s -} - // Contains information about a parameter object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ParameterObject type ParameterObject struct { @@ -2460,18 +2196,6 @@ func (s *ParameterObject) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *ParameterObject) SetAttributes(v []ParameterAttribute) *ParameterObject { - s.Attributes = v - return s -} - -// SetId sets the Id field's value. -func (s *ParameterObject) SetId(v string) *ParameterObject { - s.Id = &v - return s -} - // A value or list of parameter values. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ParameterValue type ParameterValue struct { @@ -2519,18 +2243,6 @@ func (s *ParameterValue) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *ParameterValue) SetId(v string) *ParameterValue { - s.Id = &v - return s -} - -// SetStringValue sets the StringValue field's value. -func (s *ParameterValue) SetStringValue(v string) *ParameterValue { - s.StringValue = &v - return s -} - // Contains pipeline metadata. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/PipelineDescription type PipelineDescription struct { @@ -2573,36 +2285,6 @@ func (s PipelineDescription) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *PipelineDescription) SetDescription(v string) *PipelineDescription { - s.Description = &v - return s -} - -// SetFields sets the Fields field's value. -func (s *PipelineDescription) SetFields(v []Field) *PipelineDescription { - s.Fields = v - return s -} - -// SetName sets the Name field's value. -func (s *PipelineDescription) SetName(v string) *PipelineDescription { - s.Name = &v - return s -} - -// SetPipelineId sets the PipelineId field's value. -func (s *PipelineDescription) SetPipelineId(v string) *PipelineDescription { - s.PipelineId = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *PipelineDescription) SetTags(v []Tag) *PipelineDescription { - s.Tags = v - return s -} - // Contains the name and identifier of a pipeline. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/PipelineIdName type PipelineIdName struct { @@ -2626,18 +2308,6 @@ func (s PipelineIdName) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *PipelineIdName) SetId(v string) *PipelineIdName { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *PipelineIdName) SetName(v string) *PipelineIdName { - s.Name = &v - return s -} - // Contains information about a pipeline object. This can be a logical, physical, // or physical attempt pipeline object. The complete set of components of a // pipeline defines the pipeline. @@ -2706,24 +2376,6 @@ func (s *PipelineObject) Validate() error { return nil } -// SetFields sets the Fields field's value. -func (s *PipelineObject) SetFields(v []Field) *PipelineObject { - s.Fields = v - return s -} - -// SetId sets the Id field's value. -func (s *PipelineObject) SetId(v string) *PipelineObject { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *PipelineObject) SetName(v string) *PipelineObject { - s.Name = &v - return s -} - // Contains the parameters for PollForTask. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/PollForTaskInput type PollForTaskInput struct { @@ -2777,24 +2429,6 @@ func (s *PollForTaskInput) Validate() error { return nil } -// SetHostname sets the Hostname field's value. -func (s *PollForTaskInput) SetHostname(v string) *PollForTaskInput { - s.Hostname = &v - return s -} - -// SetInstanceIdentity sets the InstanceIdentity field's value. -func (s *PollForTaskInput) SetInstanceIdentity(v *InstanceIdentity) *PollForTaskInput { - s.InstanceIdentity = v - return s -} - -// SetWorkerGroup sets the WorkerGroup field's value. -func (s *PollForTaskInput) SetWorkerGroup(v string) *PollForTaskInput { - s.WorkerGroup = &v - return s -} - // Contains the output of PollForTask. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/PollForTaskOutput type PollForTaskOutput struct { @@ -2824,12 +2458,6 @@ func (s PollForTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTaskObject sets the TaskObject field's value. -func (s *PollForTaskOutput) SetTaskObject(v *TaskObject) *PollForTaskOutput { - s.TaskObject = v - return s -} - // Contains the parameters for PutPipelineDefinition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/PutPipelineDefinitionInput type PutPipelineDefinitionInput struct { @@ -2905,30 +2533,6 @@ func (s *PutPipelineDefinitionInput) Validate() error { return nil } -// SetParameterObjects sets the ParameterObjects field's value. -func (s *PutPipelineDefinitionInput) SetParameterObjects(v []ParameterObject) *PutPipelineDefinitionInput { - s.ParameterObjects = v - return s -} - -// SetParameterValues sets the ParameterValues field's value. -func (s *PutPipelineDefinitionInput) SetParameterValues(v []ParameterValue) *PutPipelineDefinitionInput { - s.ParameterValues = v - return s -} - -// SetPipelineId sets the PipelineId field's value. -func (s *PutPipelineDefinitionInput) SetPipelineId(v string) *PutPipelineDefinitionInput { - s.PipelineId = &v - return s -} - -// SetPipelineObjects sets the PipelineObjects field's value. -func (s *PutPipelineDefinitionInput) SetPipelineObjects(v []PipelineObject) *PutPipelineDefinitionInput { - s.PipelineObjects = v - return s -} - // Contains the output of PutPipelineDefinition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/PutPipelineDefinitionOutput type PutPipelineDefinitionOutput struct { @@ -2965,24 +2569,6 @@ func (s PutPipelineDefinitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetErrored sets the Errored field's value. -func (s *PutPipelineDefinitionOutput) SetErrored(v bool) *PutPipelineDefinitionOutput { - s.Errored = &v - return s -} - -// SetValidationErrors sets the ValidationErrors field's value. -func (s *PutPipelineDefinitionOutput) SetValidationErrors(v []ValidationError) *PutPipelineDefinitionOutput { - s.ValidationErrors = v - return s -} - -// SetValidationWarnings sets the ValidationWarnings field's value. -func (s *PutPipelineDefinitionOutput) SetValidationWarnings(v []ValidationWarning) *PutPipelineDefinitionOutput { - s.ValidationWarnings = v - return s -} - // Defines the query to run against an object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/Query type Query struct { @@ -3003,12 +2589,6 @@ func (s Query) GoString() string { return s.String() } -// SetSelectors sets the Selectors field's value. -func (s *Query) SetSelectors(v []Selector) *Query { - s.Selectors = v - return s -} - // Contains the parameters for QueryObjects. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/QueryObjectsInput type QueryObjectsInput struct { @@ -3073,36 +2653,6 @@ func (s *QueryObjectsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *QueryObjectsInput) SetLimit(v int64) *QueryObjectsInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *QueryObjectsInput) SetMarker(v string) *QueryObjectsInput { - s.Marker = &v - return s -} - -// SetPipelineId sets the PipelineId field's value. -func (s *QueryObjectsInput) SetPipelineId(v string) *QueryObjectsInput { - s.PipelineId = &v - return s -} - -// SetQuery sets the Query field's value. -func (s *QueryObjectsInput) SetQuery(v *Query) *QueryObjectsInput { - s.Query = v - return s -} - -// SetSphere sets the Sphere field's value. -func (s *QueryObjectsInput) SetSphere(v string) *QueryObjectsInput { - s.Sphere = &v - return s -} - // Contains the output of QueryObjects. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/QueryObjectsOutput type QueryObjectsOutput struct { @@ -3138,24 +2688,6 @@ func (s QueryObjectsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHasMoreResults sets the HasMoreResults field's value. -func (s *QueryObjectsOutput) SetHasMoreResults(v bool) *QueryObjectsOutput { - s.HasMoreResults = &v - return s -} - -// SetIds sets the Ids field's value. -func (s *QueryObjectsOutput) SetIds(v []string) *QueryObjectsOutput { - s.Ids = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *QueryObjectsOutput) SetMarker(v string) *QueryObjectsOutput { - s.Marker = &v - return s -} - // Contains the parameters for RemoveTags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/RemoveTagsInput type RemoveTagsInput struct { @@ -3203,18 +2735,6 @@ func (s *RemoveTagsInput) Validate() error { return nil } -// SetPipelineId sets the PipelineId field's value. -func (s *RemoveTagsInput) SetPipelineId(v string) *RemoveTagsInput { - s.PipelineId = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *RemoveTagsInput) SetTagKeys(v []string) *RemoveTagsInput { - s.TagKeys = v - return s -} - // Contains the output of RemoveTags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/RemoveTagsOutput type RemoveTagsOutput struct { @@ -3288,18 +2808,6 @@ func (s *ReportTaskProgressInput) Validate() error { return nil } -// SetFields sets the Fields field's value. -func (s *ReportTaskProgressInput) SetFields(v []Field) *ReportTaskProgressInput { - s.Fields = v - return s -} - -// SetTaskId sets the TaskId field's value. -func (s *ReportTaskProgressInput) SetTaskId(v string) *ReportTaskProgressInput { - s.TaskId = &v - return s -} - // Contains the output of ReportTaskProgress. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ReportTaskProgressOutput type ReportTaskProgressOutput struct { @@ -3329,12 +2837,6 @@ func (s ReportTaskProgressOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCanceled sets the Canceled field's value. -func (s *ReportTaskProgressOutput) SetCanceled(v bool) *ReportTaskProgressOutput { - s.Canceled = &v - return s -} - // Contains the parameters for ReportTaskRunnerHeartbeat. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ReportTaskRunnerHeartbeatInput type ReportTaskRunnerHeartbeatInput struct { @@ -3390,24 +2892,6 @@ func (s *ReportTaskRunnerHeartbeatInput) Validate() error { return nil } -// SetHostname sets the Hostname field's value. -func (s *ReportTaskRunnerHeartbeatInput) SetHostname(v string) *ReportTaskRunnerHeartbeatInput { - s.Hostname = &v - return s -} - -// SetTaskrunnerId sets the TaskrunnerId field's value. -func (s *ReportTaskRunnerHeartbeatInput) SetTaskrunnerId(v string) *ReportTaskRunnerHeartbeatInput { - s.TaskrunnerId = &v - return s -} - -// SetWorkerGroup sets the WorkerGroup field's value. -func (s *ReportTaskRunnerHeartbeatInput) SetWorkerGroup(v string) *ReportTaskRunnerHeartbeatInput { - s.WorkerGroup = &v - return s -} - // Contains the output of ReportTaskRunnerHeartbeat. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ReportTaskRunnerHeartbeatOutput type ReportTaskRunnerHeartbeatOutput struct { @@ -3436,12 +2920,6 @@ func (s ReportTaskRunnerHeartbeatOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTerminate sets the Terminate field's value. -func (s *ReportTaskRunnerHeartbeatOutput) SetTerminate(v bool) *ReportTaskRunnerHeartbeatOutput { - s.Terminate = &v - return s -} - // A comparision that is used to determine whether a query should return this // object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/Selector @@ -3469,18 +2947,6 @@ func (s Selector) GoString() string { return s.String() } -// SetFieldName sets the FieldName field's value. -func (s *Selector) SetFieldName(v string) *Selector { - s.FieldName = &v - return s -} - -// SetOperator sets the Operator field's value. -func (s *Selector) SetOperator(v *Operator) *Selector { - s.Operator = v - return s -} - // Contains the parameters for SetStatus. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/SetStatusInput type SetStatusInput struct { @@ -3539,24 +3005,6 @@ func (s *SetStatusInput) Validate() error { return nil } -// SetObjectIds sets the ObjectIds field's value. -func (s *SetStatusInput) SetObjectIds(v []string) *SetStatusInput { - s.ObjectIds = v - return s -} - -// SetPipelineId sets the PipelineId field's value. -func (s *SetStatusInput) SetPipelineId(v string) *SetStatusInput { - s.PipelineId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *SetStatusInput) SetStatus(v string) *SetStatusInput { - s.Status = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/SetStatusOutput type SetStatusOutput struct { _ struct{} `type:"structure"` @@ -3645,36 +3093,6 @@ func (s *SetTaskStatusInput) Validate() error { return nil } -// SetErrorId sets the ErrorId field's value. -func (s *SetTaskStatusInput) SetErrorId(v string) *SetTaskStatusInput { - s.ErrorId = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *SetTaskStatusInput) SetErrorMessage(v string) *SetTaskStatusInput { - s.ErrorMessage = &v - return s -} - -// SetErrorStackTrace sets the ErrorStackTrace field's value. -func (s *SetTaskStatusInput) SetErrorStackTrace(v string) *SetTaskStatusInput { - s.ErrorStackTrace = &v - return s -} - -// SetTaskId sets the TaskId field's value. -func (s *SetTaskStatusInput) SetTaskId(v string) *SetTaskStatusInput { - s.TaskId = &v - return s -} - -// SetTaskStatus sets the TaskStatus field's value. -func (s *SetTaskStatusInput) SetTaskStatus(v TaskStatus) *SetTaskStatusInput { - s.TaskStatus = v - return s -} - // Contains the output of SetTaskStatus. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/SetTaskStatusOutput type SetTaskStatusOutput struct { @@ -3753,18 +3171,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Contains information about a pipeline task that is assigned to a task runner. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/TaskObject type TaskObject struct { @@ -3796,30 +3202,6 @@ func (s TaskObject) GoString() string { return s.String() } -// SetAttemptId sets the AttemptId field's value. -func (s *TaskObject) SetAttemptId(v string) *TaskObject { - s.AttemptId = &v - return s -} - -// SetObjects sets the Objects field's value. -func (s *TaskObject) SetObjects(v map[string]PipelineObject) *TaskObject { - s.Objects = v - return s -} - -// SetPipelineId sets the PipelineId field's value. -func (s *TaskObject) SetPipelineId(v string) *TaskObject { - s.PipelineId = &v - return s -} - -// SetTaskId sets the TaskId field's value. -func (s *TaskObject) SetTaskId(v string) *TaskObject { - s.TaskId = &v - return s -} - // Contains the parameters for ValidatePipelineDefinition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ValidatePipelineDefinitionInput type ValidatePipelineDefinitionInput struct { @@ -3894,30 +3276,6 @@ func (s *ValidatePipelineDefinitionInput) Validate() error { return nil } -// SetParameterObjects sets the ParameterObjects field's value. -func (s *ValidatePipelineDefinitionInput) SetParameterObjects(v []ParameterObject) *ValidatePipelineDefinitionInput { - s.ParameterObjects = v - return s -} - -// SetParameterValues sets the ParameterValues field's value. -func (s *ValidatePipelineDefinitionInput) SetParameterValues(v []ParameterValue) *ValidatePipelineDefinitionInput { - s.ParameterValues = v - return s -} - -// SetPipelineId sets the PipelineId field's value. -func (s *ValidatePipelineDefinitionInput) SetPipelineId(v string) *ValidatePipelineDefinitionInput { - s.PipelineId = &v - return s -} - -// SetPipelineObjects sets the PipelineObjects field's value. -func (s *ValidatePipelineDefinitionInput) SetPipelineObjects(v []PipelineObject) *ValidatePipelineDefinitionInput { - s.PipelineObjects = v - return s -} - // Contains the output of ValidatePipelineDefinition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ValidatePipelineDefinitionOutput type ValidatePipelineDefinitionOutput struct { @@ -3952,24 +3310,6 @@ func (s ValidatePipelineDefinitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetErrored sets the Errored field's value. -func (s *ValidatePipelineDefinitionOutput) SetErrored(v bool) *ValidatePipelineDefinitionOutput { - s.Errored = &v - return s -} - -// SetValidationErrors sets the ValidationErrors field's value. -func (s *ValidatePipelineDefinitionOutput) SetValidationErrors(v []ValidationError) *ValidatePipelineDefinitionOutput { - s.ValidationErrors = v - return s -} - -// SetValidationWarnings sets the ValidationWarnings field's value. -func (s *ValidatePipelineDefinitionOutput) SetValidationWarnings(v []ValidationWarning) *ValidatePipelineDefinitionOutput { - s.ValidationWarnings = v - return s -} - // Defines a validation error. Validation errors prevent pipeline activation. // The set of validation errors that can be returned are defined by AWS Data // Pipeline. @@ -3994,18 +3334,6 @@ func (s ValidationError) GoString() string { return s.String() } -// SetErrors sets the Errors field's value. -func (s *ValidationError) SetErrors(v []string) *ValidationError { - s.Errors = v - return s -} - -// SetId sets the Id field's value. -func (s *ValidationError) SetId(v string) *ValidationError { - s.Id = &v - return s -} - // Defines a validation warning. Validation warnings do not prevent pipeline // activation. The set of validation warnings that can be returned are defined // by AWS Data Pipeline. @@ -4030,18 +3358,6 @@ func (s ValidationWarning) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *ValidationWarning) SetId(v string) *ValidationWarning { - s.Id = &v - return s -} - -// SetWarnings sets the Warnings field's value. -func (s *ValidationWarning) SetWarnings(v []string) *ValidationWarning { - s.Warnings = v - return s -} - type OperatorType string // Enum values for OperatorType diff --git a/service/dax/api.go b/service/dax/api.go index b1f4b1887a9..f0c3a51fee6 100644 --- a/service/dax/api.go +++ b/service/dax/api.go @@ -1154,102 +1154,6 @@ func (s Cluster) GoString() string { return s.String() } -// SetActiveNodes sets the ActiveNodes field's value. -func (s *Cluster) SetActiveNodes(v int64) *Cluster { - s.ActiveNodes = &v - return s -} - -// SetClusterArn sets the ClusterArn field's value. -func (s *Cluster) SetClusterArn(v string) *Cluster { - s.ClusterArn = &v - return s -} - -// SetClusterDiscoveryEndpoint sets the ClusterDiscoveryEndpoint field's value. -func (s *Cluster) SetClusterDiscoveryEndpoint(v *Endpoint) *Cluster { - s.ClusterDiscoveryEndpoint = v - return s -} - -// SetClusterName sets the ClusterName field's value. -func (s *Cluster) SetClusterName(v string) *Cluster { - s.ClusterName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Cluster) SetDescription(v string) *Cluster { - s.Description = &v - return s -} - -// SetIamRoleArn sets the IamRoleArn field's value. -func (s *Cluster) SetIamRoleArn(v string) *Cluster { - s.IamRoleArn = &v - return s -} - -// SetNodeIdsToRemove sets the NodeIdsToRemove field's value. -func (s *Cluster) SetNodeIdsToRemove(v []string) *Cluster { - s.NodeIdsToRemove = v - return s -} - -// SetNodeType sets the NodeType field's value. -func (s *Cluster) SetNodeType(v string) *Cluster { - s.NodeType = &v - return s -} - -// SetNodes sets the Nodes field's value. -func (s *Cluster) SetNodes(v []Node) *Cluster { - s.Nodes = v - return s -} - -// SetNotificationConfiguration sets the NotificationConfiguration field's value. -func (s *Cluster) SetNotificationConfiguration(v *NotificationConfiguration) *Cluster { - s.NotificationConfiguration = v - return s -} - -// SetParameterGroup sets the ParameterGroup field's value. -func (s *Cluster) SetParameterGroup(v *ParameterGroupStatus) *Cluster { - s.ParameterGroup = v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *Cluster) SetPreferredMaintenanceWindow(v string) *Cluster { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *Cluster) SetSecurityGroups(v []SecurityGroupMembership) *Cluster { - s.SecurityGroups = v - return s -} - -// SetStatus sets the Status field's value. -func (s *Cluster) SetStatus(v string) *Cluster { - s.Status = &v - return s -} - -// SetSubnetGroup sets the SubnetGroup field's value. -func (s *Cluster) SetSubnetGroup(v string) *Cluster { - s.SubnetGroup = &v - return s -} - -// SetTotalNodes sets the TotalNodes field's value. -func (s *Cluster) SetTotalNodes(v int64) *Cluster { - s.TotalNodes = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/CreateClusterRequest type CreateClusterInput struct { _ struct{} `type:"structure"` @@ -1385,78 +1289,6 @@ func (s *CreateClusterInput) Validate() error { return nil } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *CreateClusterInput) SetAvailabilityZones(v []string) *CreateClusterInput { - s.AvailabilityZones = v - return s -} - -// SetClusterName sets the ClusterName field's value. -func (s *CreateClusterInput) SetClusterName(v string) *CreateClusterInput { - s.ClusterName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateClusterInput) SetDescription(v string) *CreateClusterInput { - s.Description = &v - return s -} - -// SetIamRoleArn sets the IamRoleArn field's value. -func (s *CreateClusterInput) SetIamRoleArn(v string) *CreateClusterInput { - s.IamRoleArn = &v - return s -} - -// SetNodeType sets the NodeType field's value. -func (s *CreateClusterInput) SetNodeType(v string) *CreateClusterInput { - s.NodeType = &v - return s -} - -// SetNotificationTopicArn sets the NotificationTopicArn field's value. -func (s *CreateClusterInput) SetNotificationTopicArn(v string) *CreateClusterInput { - s.NotificationTopicArn = &v - return s -} - -// SetParameterGroupName sets the ParameterGroupName field's value. -func (s *CreateClusterInput) SetParameterGroupName(v string) *CreateClusterInput { - s.ParameterGroupName = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *CreateClusterInput) SetPreferredMaintenanceWindow(v string) *CreateClusterInput { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetReplicationFactor sets the ReplicationFactor field's value. -func (s *CreateClusterInput) SetReplicationFactor(v int64) *CreateClusterInput { - s.ReplicationFactor = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *CreateClusterInput) SetSecurityGroupIds(v []string) *CreateClusterInput { - s.SecurityGroupIds = v - return s -} - -// SetSubnetGroupName sets the SubnetGroupName field's value. -func (s *CreateClusterInput) SetSubnetGroupName(v string) *CreateClusterInput { - s.SubnetGroupName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateClusterInput) SetTags(v []Tag) *CreateClusterInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/CreateClusterResponse type CreateClusterOutput struct { _ struct{} `type:"structure"` @@ -1482,12 +1314,6 @@ func (s CreateClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *CreateClusterOutput) SetCluster(v *Cluster) *CreateClusterOutput { - s.Cluster = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/CreateParameterGroupRequest type CreateParameterGroupInput struct { _ struct{} `type:"structure"` @@ -1526,18 +1352,6 @@ func (s *CreateParameterGroupInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateParameterGroupInput) SetDescription(v string) *CreateParameterGroupInput { - s.Description = &v - return s -} - -// SetParameterGroupName sets the ParameterGroupName field's value. -func (s *CreateParameterGroupInput) SetParameterGroupName(v string) *CreateParameterGroupInput { - s.ParameterGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/CreateParameterGroupResponse type CreateParameterGroupOutput struct { _ struct{} `type:"structure"` @@ -1563,12 +1377,6 @@ func (s CreateParameterGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetParameterGroup sets the ParameterGroup field's value. -func (s *CreateParameterGroupOutput) SetParameterGroup(v *ParameterGroup) *CreateParameterGroupOutput { - s.ParameterGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/CreateSubnetGroupRequest type CreateSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -1615,24 +1423,6 @@ func (s *CreateSubnetGroupInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateSubnetGroupInput) SetDescription(v string) *CreateSubnetGroupInput { - s.Description = &v - return s -} - -// SetSubnetGroupName sets the SubnetGroupName field's value. -func (s *CreateSubnetGroupInput) SetSubnetGroupName(v string) *CreateSubnetGroupInput { - s.SubnetGroupName = &v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *CreateSubnetGroupInput) SetSubnetIds(v []string) *CreateSubnetGroupInput { - s.SubnetIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/CreateSubnetGroupResponse type CreateSubnetGroupOutput struct { _ struct{} `type:"structure"` @@ -1658,12 +1448,6 @@ func (s CreateSubnetGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSubnetGroup sets the SubnetGroup field's value. -func (s *CreateSubnetGroupOutput) SetSubnetGroup(v *SubnetGroup) *CreateSubnetGroupOutput { - s.SubnetGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DecreaseReplicationFactorRequest type DecreaseReplicationFactorInput struct { _ struct{} `type:"structure"` @@ -1713,30 +1497,6 @@ func (s *DecreaseReplicationFactorInput) Validate() error { return nil } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *DecreaseReplicationFactorInput) SetAvailabilityZones(v []string) *DecreaseReplicationFactorInput { - s.AvailabilityZones = v - return s -} - -// SetClusterName sets the ClusterName field's value. -func (s *DecreaseReplicationFactorInput) SetClusterName(v string) *DecreaseReplicationFactorInput { - s.ClusterName = &v - return s -} - -// SetNewReplicationFactor sets the NewReplicationFactor field's value. -func (s *DecreaseReplicationFactorInput) SetNewReplicationFactor(v int64) *DecreaseReplicationFactorInput { - s.NewReplicationFactor = &v - return s -} - -// SetNodeIdsToRemove sets the NodeIdsToRemove field's value. -func (s *DecreaseReplicationFactorInput) SetNodeIdsToRemove(v []string) *DecreaseReplicationFactorInput { - s.NodeIdsToRemove = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DecreaseReplicationFactorResponse type DecreaseReplicationFactorOutput struct { _ struct{} `type:"structure"` @@ -1763,12 +1523,6 @@ func (s DecreaseReplicationFactorOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *DecreaseReplicationFactorOutput) SetCluster(v *Cluster) *DecreaseReplicationFactorOutput { - s.Cluster = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DeleteClusterRequest type DeleteClusterInput struct { _ struct{} `type:"structure"` @@ -1803,12 +1557,6 @@ func (s *DeleteClusterInput) Validate() error { return nil } -// SetClusterName sets the ClusterName field's value. -func (s *DeleteClusterInput) SetClusterName(v string) *DeleteClusterInput { - s.ClusterName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DeleteClusterResponse type DeleteClusterOutput struct { _ struct{} `type:"structure"` @@ -1834,12 +1582,6 @@ func (s DeleteClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *DeleteClusterOutput) SetCluster(v *Cluster) *DeleteClusterOutput { - s.Cluster = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DeleteParameterGroupRequest type DeleteParameterGroupInput struct { _ struct{} `type:"structure"` @@ -1874,12 +1616,6 @@ func (s *DeleteParameterGroupInput) Validate() error { return nil } -// SetParameterGroupName sets the ParameterGroupName field's value. -func (s *DeleteParameterGroupInput) SetParameterGroupName(v string) *DeleteParameterGroupInput { - s.ParameterGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DeleteParameterGroupResponse type DeleteParameterGroupOutput struct { _ struct{} `type:"structure"` @@ -1906,12 +1642,6 @@ func (s DeleteParameterGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeletionMessage sets the DeletionMessage field's value. -func (s *DeleteParameterGroupOutput) SetDeletionMessage(v string) *DeleteParameterGroupOutput { - s.DeletionMessage = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DeleteSubnetGroupRequest type DeleteSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -1946,12 +1676,6 @@ func (s *DeleteSubnetGroupInput) Validate() error { return nil } -// SetSubnetGroupName sets the SubnetGroupName field's value. -func (s *DeleteSubnetGroupInput) SetSubnetGroupName(v string) *DeleteSubnetGroupInput { - s.SubnetGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DeleteSubnetGroupResponse type DeleteSubnetGroupOutput struct { _ struct{} `type:"structure"` @@ -1978,12 +1702,6 @@ func (s DeleteSubnetGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeletionMessage sets the DeletionMessage field's value. -func (s *DeleteSubnetGroupOutput) SetDeletionMessage(v string) *DeleteSubnetGroupOutput { - s.DeletionMessage = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeClustersRequest type DescribeClustersInput struct { _ struct{} `type:"structure"` @@ -2014,24 +1732,6 @@ func (s DescribeClustersInput) GoString() string { return s.String() } -// SetClusterNames sets the ClusterNames field's value. -func (s *DescribeClustersInput) SetClusterNames(v []string) *DescribeClustersInput { - s.ClusterNames = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeClustersInput) SetMaxResults(v int64) *DescribeClustersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeClustersInput) SetNextToken(v string) *DescribeClustersInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeClustersResponse type DescribeClustersOutput struct { _ struct{} `type:"structure"` @@ -2061,18 +1761,6 @@ func (s DescribeClustersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClusters sets the Clusters field's value. -func (s *DescribeClustersOutput) SetClusters(v []Cluster) *DescribeClustersOutput { - s.Clusters = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeClustersOutput) SetNextToken(v string) *DescribeClustersOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeDefaultParametersRequest type DescribeDefaultParametersInput struct { _ struct{} `type:"structure"` @@ -2100,18 +1788,6 @@ func (s DescribeDefaultParametersInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeDefaultParametersInput) SetMaxResults(v int64) *DescribeDefaultParametersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeDefaultParametersInput) SetNextToken(v string) *DescribeDefaultParametersInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeDefaultParametersResponse type DescribeDefaultParametersOutput struct { _ struct{} `type:"structure"` @@ -2140,18 +1816,6 @@ func (s DescribeDefaultParametersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeDefaultParametersOutput) SetNextToken(v string) *DescribeDefaultParametersOutput { - s.NextToken = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *DescribeDefaultParametersOutput) SetParameters(v []Parameter) *DescribeDefaultParametersOutput { - s.Parameters = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeEventsRequest type DescribeEventsInput struct { _ struct{} `type:"structure"` @@ -2198,48 +1862,6 @@ func (s DescribeEventsInput) GoString() string { return s.String() } -// SetDuration sets the Duration field's value. -func (s *DescribeEventsInput) SetDuration(v int64) *DescribeEventsInput { - s.Duration = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *DescribeEventsInput) SetEndTime(v time.Time) *DescribeEventsInput { - s.EndTime = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeEventsInput) SetMaxResults(v int64) *DescribeEventsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEventsInput) SetNextToken(v string) *DescribeEventsInput { - s.NextToken = &v - return s -} - -// SetSourceName sets the SourceName field's value. -func (s *DescribeEventsInput) SetSourceName(v string) *DescribeEventsInput { - s.SourceName = &v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *DescribeEventsInput) SetSourceType(v SourceType) *DescribeEventsInput { - s.SourceType = v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput { - s.StartTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeEventsResponse type DescribeEventsOutput struct { _ struct{} `type:"structure"` @@ -2268,18 +1890,6 @@ func (s DescribeEventsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEvents sets the Events field's value. -func (s *DescribeEventsOutput) SetEvents(v []Event) *DescribeEventsOutput { - s.Events = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEventsOutput) SetNextToken(v string) *DescribeEventsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeParameterGroupsRequest type DescribeParameterGroupsInput struct { _ struct{} `type:"structure"` @@ -2310,24 +1920,6 @@ func (s DescribeParameterGroupsInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeParameterGroupsInput) SetMaxResults(v int64) *DescribeParameterGroupsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeParameterGroupsInput) SetNextToken(v string) *DescribeParameterGroupsInput { - s.NextToken = &v - return s -} - -// SetParameterGroupNames sets the ParameterGroupNames field's value. -func (s *DescribeParameterGroupsInput) SetParameterGroupNames(v []string) *DescribeParameterGroupsInput { - s.ParameterGroupNames = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeParameterGroupsResponse type DescribeParameterGroupsOutput struct { _ struct{} `type:"structure"` @@ -2357,18 +1949,6 @@ func (s DescribeParameterGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeParameterGroupsOutput) SetNextToken(v string) *DescribeParameterGroupsOutput { - s.NextToken = &v - return s -} - -// SetParameterGroups sets the ParameterGroups field's value. -func (s *DescribeParameterGroupsOutput) SetParameterGroups(v []ParameterGroup) *DescribeParameterGroupsOutput { - s.ParameterGroups = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeParametersRequest type DescribeParametersInput struct { _ struct{} `type:"structure"` @@ -2419,30 +1999,6 @@ func (s *DescribeParametersInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeParametersInput) SetMaxResults(v int64) *DescribeParametersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeParametersInput) SetNextToken(v string) *DescribeParametersInput { - s.NextToken = &v - return s -} - -// SetParameterGroupName sets the ParameterGroupName field's value. -func (s *DescribeParametersInput) SetParameterGroupName(v string) *DescribeParametersInput { - s.ParameterGroupName = &v - return s -} - -// SetSource sets the Source field's value. -func (s *DescribeParametersInput) SetSource(v string) *DescribeParametersInput { - s.Source = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeParametersResponse type DescribeParametersOutput struct { _ struct{} `type:"structure"` @@ -2472,18 +2028,6 @@ func (s DescribeParametersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeParametersOutput) SetNextToken(v string) *DescribeParametersOutput { - s.NextToken = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *DescribeParametersOutput) SetParameters(v []Parameter) *DescribeParametersOutput { - s.Parameters = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeSubnetGroupsRequest type DescribeSubnetGroupsInput struct { _ struct{} `type:"structure"` @@ -2514,24 +2058,6 @@ func (s DescribeSubnetGroupsInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeSubnetGroupsInput) SetMaxResults(v int64) *DescribeSubnetGroupsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeSubnetGroupsInput) SetNextToken(v string) *DescribeSubnetGroupsInput { - s.NextToken = &v - return s -} - -// SetSubnetGroupNames sets the SubnetGroupNames field's value. -func (s *DescribeSubnetGroupsInput) SetSubnetGroupNames(v []string) *DescribeSubnetGroupsInput { - s.SubnetGroupNames = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeSubnetGroupsResponse type DescribeSubnetGroupsOutput struct { _ struct{} `type:"structure"` @@ -2561,18 +2087,6 @@ func (s DescribeSubnetGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeSubnetGroupsOutput) SetNextToken(v string) *DescribeSubnetGroupsOutput { - s.NextToken = &v - return s -} - -// SetSubnetGroups sets the SubnetGroups field's value. -func (s *DescribeSubnetGroupsOutput) SetSubnetGroups(v []SubnetGroup) *DescribeSubnetGroupsOutput { - s.SubnetGroups = v - return s -} - // Represents the information required for client programs to connect to the // configuration endpoint for a DAX cluster, or to an individual node within // the cluster. @@ -2597,18 +2111,6 @@ func (s Endpoint) GoString() string { return s.String() } -// SetAddress sets the Address field's value. -func (s *Endpoint) SetAddress(v string) *Endpoint { - s.Address = &v - return s -} - -// SetPort sets the Port field's value. -func (s *Endpoint) SetPort(v int64) *Endpoint { - s.Port = &v - return s -} - // Represents a single occurrence of something interesting within the system. // Some examples of events are creating a DAX cluster, adding or removing a // node, or rebooting a node. @@ -2641,30 +2143,6 @@ func (s Event) GoString() string { return s.String() } -// SetDate sets the Date field's value. -func (s *Event) SetDate(v time.Time) *Event { - s.Date = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *Event) SetMessage(v string) *Event { - s.Message = &v - return s -} - -// SetSourceName sets the SourceName field's value. -func (s *Event) SetSourceName(v string) *Event { - s.SourceName = &v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *Event) SetSourceType(v SourceType) *Event { - s.SourceType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/IncreaseReplicationFactorRequest type IncreaseReplicationFactorInput struct { _ struct{} `type:"structure"` @@ -2713,24 +2191,6 @@ func (s *IncreaseReplicationFactorInput) Validate() error { return nil } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *IncreaseReplicationFactorInput) SetAvailabilityZones(v []string) *IncreaseReplicationFactorInput { - s.AvailabilityZones = v - return s -} - -// SetClusterName sets the ClusterName field's value. -func (s *IncreaseReplicationFactorInput) SetClusterName(v string) *IncreaseReplicationFactorInput { - s.ClusterName = &v - return s -} - -// SetNewReplicationFactor sets the NewReplicationFactor field's value. -func (s *IncreaseReplicationFactorInput) SetNewReplicationFactor(v int64) *IncreaseReplicationFactorInput { - s.NewReplicationFactor = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/IncreaseReplicationFactorResponse type IncreaseReplicationFactorOutput struct { _ struct{} `type:"structure"` @@ -2756,12 +2216,6 @@ func (s IncreaseReplicationFactorOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *IncreaseReplicationFactorOutput) SetCluster(v *Cluster) *IncreaseReplicationFactorOutput { - s.Cluster = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/ListTagsRequest type ListTagsInput struct { _ struct{} `type:"structure"` @@ -2801,18 +2255,6 @@ func (s *ListTagsInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *ListTagsInput) SetNextToken(v string) *ListTagsInput { - s.NextToken = &v - return s -} - -// SetResourceName sets the ResourceName field's value. -func (s *ListTagsInput) SetResourceName(v string) *ListTagsInput { - s.ResourceName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/ListTagsResponse type ListTagsOutput struct { _ struct{} `type:"structure"` @@ -2842,18 +2284,6 @@ func (s ListTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTagsOutput) SetNextToken(v string) *ListTagsOutput { - s.NextToken = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *ListTagsOutput) SetTags(v []Tag) *ListTagsOutput { - s.Tags = v - return s -} - // Represents an individual node within a DAX cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/Node type Node struct { @@ -2892,42 +2322,6 @@ func (s Node) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *Node) SetAvailabilityZone(v string) *Node { - s.AvailabilityZone = &v - return s -} - -// SetEndpoint sets the Endpoint field's value. -func (s *Node) SetEndpoint(v *Endpoint) *Node { - s.Endpoint = v - return s -} - -// SetNodeCreateTime sets the NodeCreateTime field's value. -func (s *Node) SetNodeCreateTime(v time.Time) *Node { - s.NodeCreateTime = &v - return s -} - -// SetNodeId sets the NodeId field's value. -func (s *Node) SetNodeId(v string) *Node { - s.NodeId = &v - return s -} - -// SetNodeStatus sets the NodeStatus field's value. -func (s *Node) SetNodeStatus(v string) *Node { - s.NodeStatus = &v - return s -} - -// SetParameterGroupStatus sets the ParameterGroupStatus field's value. -func (s *Node) SetParameterGroupStatus(v string) *Node { - s.ParameterGroupStatus = &v - return s -} - // Represents a parameter value that is applicable to a particular node type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/NodeTypeSpecificValue type NodeTypeSpecificValue struct { @@ -2950,18 +2344,6 @@ func (s NodeTypeSpecificValue) GoString() string { return s.String() } -// SetNodeType sets the NodeType field's value. -func (s *NodeTypeSpecificValue) SetNodeType(v string) *NodeTypeSpecificValue { - s.NodeType = &v - return s -} - -// SetValue sets the Value field's value. -func (s *NodeTypeSpecificValue) SetValue(v string) *NodeTypeSpecificValue { - s.Value = &v - return s -} - // Describes a notification topic and its status. Notification topics are used // for publishing DAX events to subscribers using Amazon Simple Notification // Service (SNS). @@ -2986,18 +2368,6 @@ func (s NotificationConfiguration) GoString() string { return s.String() } -// SetTopicArn sets the TopicArn field's value. -func (s *NotificationConfiguration) SetTopicArn(v string) *NotificationConfiguration { - s.TopicArn = &v - return s -} - -// SetTopicStatus sets the TopicStatus field's value. -func (s *NotificationConfiguration) SetTopicStatus(v string) *NotificationConfiguration { - s.TopicStatus = &v - return s -} - // Describes an individual setting that controls some aspect of DAX behavior. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/Parameter type Parameter struct { @@ -3048,66 +2418,6 @@ func (s Parameter) GoString() string { return s.String() } -// SetAllowedValues sets the AllowedValues field's value. -func (s *Parameter) SetAllowedValues(v string) *Parameter { - s.AllowedValues = &v - return s -} - -// SetChangeType sets the ChangeType field's value. -func (s *Parameter) SetChangeType(v ChangeType) *Parameter { - s.ChangeType = v - return s -} - -// SetDataType sets the DataType field's value. -func (s *Parameter) SetDataType(v string) *Parameter { - s.DataType = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Parameter) SetDescription(v string) *Parameter { - s.Description = &v - return s -} - -// SetIsModifiable sets the IsModifiable field's value. -func (s *Parameter) SetIsModifiable(v IsModifiable) *Parameter { - s.IsModifiable = v - return s -} - -// SetNodeTypeSpecificValues sets the NodeTypeSpecificValues field's value. -func (s *Parameter) SetNodeTypeSpecificValues(v []NodeTypeSpecificValue) *Parameter { - s.NodeTypeSpecificValues = v - return s -} - -// SetParameterName sets the ParameterName field's value. -func (s *Parameter) SetParameterName(v string) *Parameter { - s.ParameterName = &v - return s -} - -// SetParameterType sets the ParameterType field's value. -func (s *Parameter) SetParameterType(v ParameterType) *Parameter { - s.ParameterType = v - return s -} - -// SetParameterValue sets the ParameterValue field's value. -func (s *Parameter) SetParameterValue(v string) *Parameter { - s.ParameterValue = &v - return s -} - -// SetSource sets the Source field's value. -func (s *Parameter) SetSource(v string) *Parameter { - s.Source = &v - return s -} - // A named set of parameters that are applied to all of the nodes in a DAX cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/ParameterGroup type ParameterGroup struct { @@ -3130,18 +2440,6 @@ func (s ParameterGroup) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *ParameterGroup) SetDescription(v string) *ParameterGroup { - s.Description = &v - return s -} - -// SetParameterGroupName sets the ParameterGroupName field's value. -func (s *ParameterGroup) SetParameterGroupName(v string) *ParameterGroup { - s.ParameterGroupName = &v - return s -} - // The status of a parameter group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/ParameterGroupStatus type ParameterGroupStatus struct { @@ -3167,24 +2465,6 @@ func (s ParameterGroupStatus) GoString() string { return s.String() } -// SetNodeIdsToReboot sets the NodeIdsToReboot field's value. -func (s *ParameterGroupStatus) SetNodeIdsToReboot(v []string) *ParameterGroupStatus { - s.NodeIdsToReboot = v - return s -} - -// SetParameterApplyStatus sets the ParameterApplyStatus field's value. -func (s *ParameterGroupStatus) SetParameterApplyStatus(v string) *ParameterGroupStatus { - s.ParameterApplyStatus = &v - return s -} - -// SetParameterGroupName sets the ParameterGroupName field's value. -func (s *ParameterGroupStatus) SetParameterGroupName(v string) *ParameterGroupStatus { - s.ParameterGroupName = &v - return s -} - // An individual DAX parameter. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/ParameterNameValue type ParameterNameValue struct { @@ -3207,18 +2487,6 @@ func (s ParameterNameValue) GoString() string { return s.String() } -// SetParameterName sets the ParameterName field's value. -func (s *ParameterNameValue) SetParameterName(v string) *ParameterNameValue { - s.ParameterName = &v - return s -} - -// SetParameterValue sets the ParameterValue field's value. -func (s *ParameterNameValue) SetParameterValue(v string) *ParameterNameValue { - s.ParameterValue = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/RebootNodeRequest type RebootNodeInput struct { _ struct{} `type:"structure"` @@ -3262,18 +2530,6 @@ func (s *RebootNodeInput) Validate() error { return nil } -// SetClusterName sets the ClusterName field's value. -func (s *RebootNodeInput) SetClusterName(v string) *RebootNodeInput { - s.ClusterName = &v - return s -} - -// SetNodeId sets the NodeId field's value. -func (s *RebootNodeInput) SetNodeId(v string) *RebootNodeInput { - s.NodeId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/RebootNodeResponse type RebootNodeOutput struct { _ struct{} `type:"structure"` @@ -3299,12 +2555,6 @@ func (s RebootNodeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *RebootNodeOutput) SetCluster(v *Cluster) *RebootNodeOutput { - s.Cluster = v - return s -} - // An individual VPC security group and its status. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/SecurityGroupMembership type SecurityGroupMembership struct { @@ -3327,18 +2577,6 @@ func (s SecurityGroupMembership) GoString() string { return s.String() } -// SetSecurityGroupIdentifier sets the SecurityGroupIdentifier field's value. -func (s *SecurityGroupMembership) SetSecurityGroupIdentifier(v string) *SecurityGroupMembership { - s.SecurityGroupIdentifier = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *SecurityGroupMembership) SetStatus(v string) *SecurityGroupMembership { - s.Status = &v - return s -} - // Represents the subnet associated with a DAX cluster. This parameter refers // to subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and used // with DAX. @@ -3363,18 +2601,6 @@ func (s Subnet) GoString() string { return s.String() } -// SetSubnetAvailabilityZone sets the SubnetAvailabilityZone field's value. -func (s *Subnet) SetSubnetAvailabilityZone(v string) *Subnet { - s.SubnetAvailabilityZone = &v - return s -} - -// SetSubnetIdentifier sets the SubnetIdentifier field's value. -func (s *Subnet) SetSubnetIdentifier(v string) *Subnet { - s.SubnetIdentifier = &v - return s -} - // Represents the output of one of the following actions: // // * CreateSubnetGroup @@ -3407,30 +2633,6 @@ func (s SubnetGroup) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *SubnetGroup) SetDescription(v string) *SubnetGroup { - s.Description = &v - return s -} - -// SetSubnetGroupName sets the SubnetGroupName field's value. -func (s *SubnetGroup) SetSubnetGroupName(v string) *SubnetGroup { - s.SubnetGroupName = &v - return s -} - -// SetSubnets sets the Subnets field's value. -func (s *SubnetGroup) SetSubnets(v []Subnet) *SubnetGroup { - s.Subnets = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *SubnetGroup) SetVpcId(v string) *SubnetGroup { - s.VpcId = &v - return s -} - // A description of a tag. Every tag is a key-value pair. You can add up to // 50 tags to a single DAX cluster. // @@ -3462,18 +2664,6 @@ func (s Tag) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/TagResourceRequest type TagResourceInput struct { _ struct{} `type:"structure"` @@ -3517,18 +2707,6 @@ func (s *TagResourceInput) Validate() error { return nil } -// SetResourceName sets the ResourceName field's value. -func (s *TagResourceInput) SetResourceName(v string) *TagResourceInput { - s.ResourceName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagResourceInput) SetTags(v []Tag) *TagResourceInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/TagResourceResponse type TagResourceOutput struct { _ struct{} `type:"structure"` @@ -3554,12 +2732,6 @@ func (s TagResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTags sets the Tags field's value. -func (s *TagResourceOutput) SetTags(v []Tag) *TagResourceOutput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/UntagResourceRequest type UntagResourceInput struct { _ struct{} `type:"structure"` @@ -3604,18 +2776,6 @@ func (s *UntagResourceInput) Validate() error { return nil } -// SetResourceName sets the ResourceName field's value. -func (s *UntagResourceInput) SetResourceName(v string) *UntagResourceInput { - s.ResourceName = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *UntagResourceInput) SetTagKeys(v []string) *UntagResourceInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/UntagResourceResponse type UntagResourceOutput struct { _ struct{} `type:"structure"` @@ -3641,12 +2801,6 @@ func (s UntagResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTags sets the Tags field's value. -func (s *UntagResourceOutput) SetTags(v []Tag) *UntagResourceOutput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/UpdateClusterRequest type UpdateClusterInput struct { _ struct{} `type:"structure"` @@ -3703,48 +2857,6 @@ func (s *UpdateClusterInput) Validate() error { return nil } -// SetClusterName sets the ClusterName field's value. -func (s *UpdateClusterInput) SetClusterName(v string) *UpdateClusterInput { - s.ClusterName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateClusterInput) SetDescription(v string) *UpdateClusterInput { - s.Description = &v - return s -} - -// SetNotificationTopicArn sets the NotificationTopicArn field's value. -func (s *UpdateClusterInput) SetNotificationTopicArn(v string) *UpdateClusterInput { - s.NotificationTopicArn = &v - return s -} - -// SetNotificationTopicStatus sets the NotificationTopicStatus field's value. -func (s *UpdateClusterInput) SetNotificationTopicStatus(v string) *UpdateClusterInput { - s.NotificationTopicStatus = &v - return s -} - -// SetParameterGroupName sets the ParameterGroupName field's value. -func (s *UpdateClusterInput) SetParameterGroupName(v string) *UpdateClusterInput { - s.ParameterGroupName = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *UpdateClusterInput) SetPreferredMaintenanceWindow(v string) *UpdateClusterInput { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *UpdateClusterInput) SetSecurityGroupIds(v []string) *UpdateClusterInput { - s.SecurityGroupIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/UpdateClusterResponse type UpdateClusterOutput struct { _ struct{} `type:"structure"` @@ -3770,12 +2882,6 @@ func (s UpdateClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *UpdateClusterOutput) SetCluster(v *Cluster) *UpdateClusterOutput { - s.Cluster = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/UpdateParameterGroupRequest type UpdateParameterGroupInput struct { _ struct{} `type:"structure"` @@ -3820,18 +2926,6 @@ func (s *UpdateParameterGroupInput) Validate() error { return nil } -// SetParameterGroupName sets the ParameterGroupName field's value. -func (s *UpdateParameterGroupInput) SetParameterGroupName(v string) *UpdateParameterGroupInput { - s.ParameterGroupName = &v - return s -} - -// SetParameterNameValues sets the ParameterNameValues field's value. -func (s *UpdateParameterGroupInput) SetParameterNameValues(v []ParameterNameValue) *UpdateParameterGroupInput { - s.ParameterNameValues = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/UpdateParameterGroupResponse type UpdateParameterGroupOutput struct { _ struct{} `type:"structure"` @@ -3857,12 +2951,6 @@ func (s UpdateParameterGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetParameterGroup sets the ParameterGroup field's value. -func (s *UpdateParameterGroupOutput) SetParameterGroup(v *ParameterGroup) *UpdateParameterGroupOutput { - s.ParameterGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/UpdateSubnetGroupRequest type UpdateSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -3903,24 +2991,6 @@ func (s *UpdateSubnetGroupInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *UpdateSubnetGroupInput) SetDescription(v string) *UpdateSubnetGroupInput { - s.Description = &v - return s -} - -// SetSubnetGroupName sets the SubnetGroupName field's value. -func (s *UpdateSubnetGroupInput) SetSubnetGroupName(v string) *UpdateSubnetGroupInput { - s.SubnetGroupName = &v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *UpdateSubnetGroupInput) SetSubnetIds(v []string) *UpdateSubnetGroupInput { - s.SubnetIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/UpdateSubnetGroupResponse type UpdateSubnetGroupOutput struct { _ struct{} `type:"structure"` @@ -3946,12 +3016,6 @@ func (s UpdateSubnetGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSubnetGroup sets the SubnetGroup field's value. -func (s *UpdateSubnetGroupOutput) SetSubnetGroup(v *SubnetGroup) *UpdateSubnetGroupOutput { - s.SubnetGroup = v - return s -} - type ChangeType string // Enum values for ChangeType diff --git a/service/devicefarm/api.go b/service/devicefarm/api.go index a4b382901d3..d26f718b566 100644 --- a/service/devicefarm/api.go +++ b/service/devicefarm/api.go @@ -3278,48 +3278,6 @@ func (s AccountSettings) GoString() string { return s.String() } -// SetAwsAccountNumber sets the AwsAccountNumber field's value. -func (s *AccountSettings) SetAwsAccountNumber(v string) *AccountSettings { - s.AwsAccountNumber = &v - return s -} - -// SetDefaultJobTimeoutMinutes sets the DefaultJobTimeoutMinutes field's value. -func (s *AccountSettings) SetDefaultJobTimeoutMinutes(v int64) *AccountSettings { - s.DefaultJobTimeoutMinutes = &v - return s -} - -// SetMaxJobTimeoutMinutes sets the MaxJobTimeoutMinutes field's value. -func (s *AccountSettings) SetMaxJobTimeoutMinutes(v int64) *AccountSettings { - s.MaxJobTimeoutMinutes = &v - return s -} - -// SetMaxSlots sets the MaxSlots field's value. -func (s *AccountSettings) SetMaxSlots(v map[string]int64) *AccountSettings { - s.MaxSlots = v - return s -} - -// SetTrialMinutes sets the TrialMinutes field's value. -func (s *AccountSettings) SetTrialMinutes(v *TrialMinutes) *AccountSettings { - s.TrialMinutes = v - return s -} - -// SetUnmeteredDevices sets the UnmeteredDevices field's value. -func (s *AccountSettings) SetUnmeteredDevices(v map[string]int64) *AccountSettings { - s.UnmeteredDevices = v - return s -} - -// SetUnmeteredRemoteAccessDevices sets the UnmeteredRemoteAccessDevices field's value. -func (s *AccountSettings) SetUnmeteredRemoteAccessDevices(v map[string]int64) *AccountSettings { - s.UnmeteredRemoteAccessDevices = v - return s -} - // Represents the output of a test. Examples of artifacts include logs and screenshots. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Artifact type Artifact struct { @@ -3401,36 +3359,6 @@ func (s Artifact) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Artifact) SetArn(v string) *Artifact { - s.Arn = &v - return s -} - -// SetExtension sets the Extension field's value. -func (s *Artifact) SetExtension(v string) *Artifact { - s.Extension = &v - return s -} - -// SetName sets the Name field's value. -func (s *Artifact) SetName(v string) *Artifact { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *Artifact) SetType(v ArtifactType) *Artifact { - s.Type = v - return s -} - -// SetUrl sets the Url field's value. -func (s *Artifact) SetUrl(v string) *Artifact { - s.Url = &v - return s -} - // Represents the amount of CPU that an app is using on a physical device. // // Note that this does not represent system-wide CPU usage. @@ -3459,24 +3387,6 @@ func (s CPU) GoString() string { return s.String() } -// SetArchitecture sets the Architecture field's value. -func (s *CPU) SetArchitecture(v string) *CPU { - s.Architecture = &v - return s -} - -// SetClock sets the Clock field's value. -func (s *CPU) SetClock(v float64) *CPU { - s.Clock = &v - return s -} - -// SetFrequency sets the Frequency field's value. -func (s *CPU) SetFrequency(v string) *CPU { - s.Frequency = &v - return s -} - // Represents entity counters. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Counters type Counters struct { @@ -3514,48 +3424,6 @@ func (s Counters) GoString() string { return s.String() } -// SetErrored sets the Errored field's value. -func (s *Counters) SetErrored(v int64) *Counters { - s.Errored = &v - return s -} - -// SetFailed sets the Failed field's value. -func (s *Counters) SetFailed(v int64) *Counters { - s.Failed = &v - return s -} - -// SetPassed sets the Passed field's value. -func (s *Counters) SetPassed(v int64) *Counters { - s.Passed = &v - return s -} - -// SetSkipped sets the Skipped field's value. -func (s *Counters) SetSkipped(v int64) *Counters { - s.Skipped = &v - return s -} - -// SetStopped sets the Stopped field's value. -func (s *Counters) SetStopped(v int64) *Counters { - s.Stopped = &v - return s -} - -// SetTotal sets the Total field's value. -func (s *Counters) SetTotal(v int64) *Counters { - s.Total = &v - return s -} - -// SetWarned sets the Warned field's value. -func (s *Counters) SetWarned(v int64) *Counters { - s.Warned = &v - return s -} - // Represents a request to the create device pool operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateDevicePoolRequest type CreateDevicePoolInput struct { @@ -3615,30 +3483,6 @@ func (s *CreateDevicePoolInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateDevicePoolInput) SetDescription(v string) *CreateDevicePoolInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateDevicePoolInput) SetName(v string) *CreateDevicePoolInput { - s.Name = &v - return s -} - -// SetProjectArn sets the ProjectArn field's value. -func (s *CreateDevicePoolInput) SetProjectArn(v string) *CreateDevicePoolInput { - s.ProjectArn = &v - return s -} - -// SetRules sets the Rules field's value. -func (s *CreateDevicePoolInput) SetRules(v []Rule) *CreateDevicePoolInput { - s.Rules = v - return s -} - // Represents the result of a create device pool request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateDevicePoolResult type CreateDevicePoolOutput struct { @@ -3665,12 +3509,6 @@ func (s CreateDevicePoolOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDevicePool sets the DevicePool field's value. -func (s *CreateDevicePoolOutput) SetDevicePool(v *DevicePool) *CreateDevicePoolOutput { - s.DevicePool = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateNetworkProfileRequest type CreateNetworkProfileInput struct { _ struct{} `type:"structure"` @@ -3752,78 +3590,6 @@ func (s *CreateNetworkProfileInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateNetworkProfileInput) SetDescription(v string) *CreateNetworkProfileInput { - s.Description = &v - return s -} - -// SetDownlinkBandwidthBits sets the DownlinkBandwidthBits field's value. -func (s *CreateNetworkProfileInput) SetDownlinkBandwidthBits(v int64) *CreateNetworkProfileInput { - s.DownlinkBandwidthBits = &v - return s -} - -// SetDownlinkDelayMs sets the DownlinkDelayMs field's value. -func (s *CreateNetworkProfileInput) SetDownlinkDelayMs(v int64) *CreateNetworkProfileInput { - s.DownlinkDelayMs = &v - return s -} - -// SetDownlinkJitterMs sets the DownlinkJitterMs field's value. -func (s *CreateNetworkProfileInput) SetDownlinkJitterMs(v int64) *CreateNetworkProfileInput { - s.DownlinkJitterMs = &v - return s -} - -// SetDownlinkLossPercent sets the DownlinkLossPercent field's value. -func (s *CreateNetworkProfileInput) SetDownlinkLossPercent(v int64) *CreateNetworkProfileInput { - s.DownlinkLossPercent = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateNetworkProfileInput) SetName(v string) *CreateNetworkProfileInput { - s.Name = &v - return s -} - -// SetProjectArn sets the ProjectArn field's value. -func (s *CreateNetworkProfileInput) SetProjectArn(v string) *CreateNetworkProfileInput { - s.ProjectArn = &v - return s -} - -// SetType sets the Type field's value. -func (s *CreateNetworkProfileInput) SetType(v NetworkProfileType) *CreateNetworkProfileInput { - s.Type = v - return s -} - -// SetUplinkBandwidthBits sets the UplinkBandwidthBits field's value. -func (s *CreateNetworkProfileInput) SetUplinkBandwidthBits(v int64) *CreateNetworkProfileInput { - s.UplinkBandwidthBits = &v - return s -} - -// SetUplinkDelayMs sets the UplinkDelayMs field's value. -func (s *CreateNetworkProfileInput) SetUplinkDelayMs(v int64) *CreateNetworkProfileInput { - s.UplinkDelayMs = &v - return s -} - -// SetUplinkJitterMs sets the UplinkJitterMs field's value. -func (s *CreateNetworkProfileInput) SetUplinkJitterMs(v int64) *CreateNetworkProfileInput { - s.UplinkJitterMs = &v - return s -} - -// SetUplinkLossPercent sets the UplinkLossPercent field's value. -func (s *CreateNetworkProfileInput) SetUplinkLossPercent(v int64) *CreateNetworkProfileInput { - s.UplinkLossPercent = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateNetworkProfileResult type CreateNetworkProfileOutput struct { _ struct{} `type:"structure"` @@ -3849,12 +3615,6 @@ func (s CreateNetworkProfileOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNetworkProfile sets the NetworkProfile field's value. -func (s *CreateNetworkProfileOutput) SetNetworkProfile(v *NetworkProfile) *CreateNetworkProfileOutput { - s.NetworkProfile = v - return s -} - // Represents a request to the create project operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateProjectRequest type CreateProjectInput struct { @@ -3895,18 +3655,6 @@ func (s *CreateProjectInput) Validate() error { return nil } -// SetDefaultJobTimeoutMinutes sets the DefaultJobTimeoutMinutes field's value. -func (s *CreateProjectInput) SetDefaultJobTimeoutMinutes(v int64) *CreateProjectInput { - s.DefaultJobTimeoutMinutes = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateProjectInput) SetName(v string) *CreateProjectInput { - s.Name = &v - return s -} - // Represents the result of a create project request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateProjectResult type CreateProjectOutput struct { @@ -3933,12 +3681,6 @@ func (s CreateProjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetProject sets the Project field's value. -func (s *CreateProjectOutput) SetProject(v *Project) *CreateProjectOutput { - s.Project = v - return s -} - // Creates the configuration settings for a remote access session, including // the device model and type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateRemoteAccessSessionConfiguration @@ -3959,12 +3701,6 @@ func (s CreateRemoteAccessSessionConfiguration) GoString() string { return s.String() } -// SetBillingMethod sets the BillingMethod field's value. -func (s *CreateRemoteAccessSessionConfiguration) SetBillingMethod(v BillingMethod) *CreateRemoteAccessSessionConfiguration { - s.BillingMethod = v - return s -} - // Creates and submits a request to start a remote access session. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateRemoteAccessSessionRequest type CreateRemoteAccessSessionInput struct { @@ -4038,48 +3774,6 @@ func (s *CreateRemoteAccessSessionInput) Validate() error { return nil } -// SetClientId sets the ClientId field's value. -func (s *CreateRemoteAccessSessionInput) SetClientId(v string) *CreateRemoteAccessSessionInput { - s.ClientId = &v - return s -} - -// SetConfiguration sets the Configuration field's value. -func (s *CreateRemoteAccessSessionInput) SetConfiguration(v *CreateRemoteAccessSessionConfiguration) *CreateRemoteAccessSessionInput { - s.Configuration = v - return s -} - -// SetDeviceArn sets the DeviceArn field's value. -func (s *CreateRemoteAccessSessionInput) SetDeviceArn(v string) *CreateRemoteAccessSessionInput { - s.DeviceArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateRemoteAccessSessionInput) SetName(v string) *CreateRemoteAccessSessionInput { - s.Name = &v - return s -} - -// SetProjectArn sets the ProjectArn field's value. -func (s *CreateRemoteAccessSessionInput) SetProjectArn(v string) *CreateRemoteAccessSessionInput { - s.ProjectArn = &v - return s -} - -// SetRemoteDebugEnabled sets the RemoteDebugEnabled field's value. -func (s *CreateRemoteAccessSessionInput) SetRemoteDebugEnabled(v bool) *CreateRemoteAccessSessionInput { - s.RemoteDebugEnabled = &v - return s -} - -// SetSshPublicKey sets the SshPublicKey field's value. -func (s *CreateRemoteAccessSessionInput) SetSshPublicKey(v string) *CreateRemoteAccessSessionInput { - s.SshPublicKey = &v - return s -} - // Represents the server response from a request to create a remote access session. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateRemoteAccessSessionResult type CreateRemoteAccessSessionOutput struct { @@ -4107,12 +3801,6 @@ func (s CreateRemoteAccessSessionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRemoteAccessSession sets the RemoteAccessSession field's value. -func (s *CreateRemoteAccessSessionOutput) SetRemoteAccessSession(v *RemoteAccessSession) *CreateRemoteAccessSessionOutput { - s.RemoteAccessSession = v - return s -} - // Represents a request to the create upload operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateUploadRequest type CreateUploadInput struct { @@ -4214,30 +3902,6 @@ func (s *CreateUploadInput) Validate() error { return nil } -// SetContentType sets the ContentType field's value. -func (s *CreateUploadInput) SetContentType(v string) *CreateUploadInput { - s.ContentType = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateUploadInput) SetName(v string) *CreateUploadInput { - s.Name = &v - return s -} - -// SetProjectArn sets the ProjectArn field's value. -func (s *CreateUploadInput) SetProjectArn(v string) *CreateUploadInput { - s.ProjectArn = &v - return s -} - -// SetType sets the Type field's value. -func (s *CreateUploadInput) SetType(v UploadType) *CreateUploadInput { - s.Type = v - return s -} - // Represents the result of a create upload request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateUploadResult type CreateUploadOutput struct { @@ -4264,12 +3928,6 @@ func (s CreateUploadOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUpload sets the Upload field's value. -func (s *CreateUploadOutput) SetUpload(v *Upload) *CreateUploadOutput { - s.Upload = v - return s -} - // A JSON object specifying the paths where the artifacts generated by the customer's // tests, on the device or in the test environment, will be pulled from. // @@ -4303,24 +3961,6 @@ func (s CustomerArtifactPaths) GoString() string { return s.String() } -// SetAndroidPaths sets the AndroidPaths field's value. -func (s *CustomerArtifactPaths) SetAndroidPaths(v []string) *CustomerArtifactPaths { - s.AndroidPaths = v - return s -} - -// SetDeviceHostPaths sets the DeviceHostPaths field's value. -func (s *CustomerArtifactPaths) SetDeviceHostPaths(v []string) *CustomerArtifactPaths { - s.DeviceHostPaths = v - return s -} - -// SetIosPaths sets the IosPaths field's value. -func (s *CustomerArtifactPaths) SetIosPaths(v []string) *CustomerArtifactPaths { - s.IosPaths = v - return s -} - // Represents a request to the delete device pool operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteDevicePoolRequest type DeleteDevicePoolInput struct { @@ -4360,12 +4000,6 @@ func (s *DeleteDevicePoolInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *DeleteDevicePoolInput) SetArn(v string) *DeleteDevicePoolInput { - s.Arn = &v - return s -} - // Represents the result of a delete device pool request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteDevicePoolResult type DeleteDevicePoolOutput struct { @@ -4426,12 +4060,6 @@ func (s *DeleteNetworkProfileInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *DeleteNetworkProfileInput) SetArn(v string) *DeleteNetworkProfileInput { - s.Arn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteNetworkProfileResult type DeleteNetworkProfileOutput struct { _ struct{} `type:"structure"` @@ -4493,12 +4121,6 @@ func (s *DeleteProjectInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *DeleteProjectInput) SetArn(v string) *DeleteProjectInput { - s.Arn = &v - return s -} - // Represents the result of a delete project request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteProjectResult type DeleteProjectOutput struct { @@ -4561,12 +4183,6 @@ func (s *DeleteRemoteAccessSessionInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *DeleteRemoteAccessSessionInput) SetArn(v string) *DeleteRemoteAccessSessionInput { - s.Arn = &v - return s -} - // The response from the server when a request is made to delete the remote // access session. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRemoteAccessSessionResult @@ -4629,12 +4245,6 @@ func (s *DeleteRunInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *DeleteRunInput) SetArn(v string) *DeleteRunInput { - s.Arn = &v - return s -} - // Represents the result of a delete run request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRunResult type DeleteRunOutput struct { @@ -4697,12 +4307,6 @@ func (s *DeleteUploadInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *DeleteUploadInput) SetArn(v string) *DeleteUploadInput { - s.Arn = &v - return s -} - // Represents the result of a delete upload request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteUploadResult type DeleteUploadOutput struct { @@ -4809,114 +4413,6 @@ func (s Device) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Device) SetArn(v string) *Device { - s.Arn = &v - return s -} - -// SetCarrier sets the Carrier field's value. -func (s *Device) SetCarrier(v string) *Device { - s.Carrier = &v - return s -} - -// SetCpu sets the Cpu field's value. -func (s *Device) SetCpu(v *CPU) *Device { - s.Cpu = v - return s -} - -// SetFleetName sets the FleetName field's value. -func (s *Device) SetFleetName(v string) *Device { - s.FleetName = &v - return s -} - -// SetFleetType sets the FleetType field's value. -func (s *Device) SetFleetType(v string) *Device { - s.FleetType = &v - return s -} - -// SetFormFactor sets the FormFactor field's value. -func (s *Device) SetFormFactor(v DeviceFormFactor) *Device { - s.FormFactor = v - return s -} - -// SetHeapSize sets the HeapSize field's value. -func (s *Device) SetHeapSize(v int64) *Device { - s.HeapSize = &v - return s -} - -// SetImage sets the Image field's value. -func (s *Device) SetImage(v string) *Device { - s.Image = &v - return s -} - -// SetManufacturer sets the Manufacturer field's value. -func (s *Device) SetManufacturer(v string) *Device { - s.Manufacturer = &v - return s -} - -// SetMemory sets the Memory field's value. -func (s *Device) SetMemory(v int64) *Device { - s.Memory = &v - return s -} - -// SetModel sets the Model field's value. -func (s *Device) SetModel(v string) *Device { - s.Model = &v - return s -} - -// SetName sets the Name field's value. -func (s *Device) SetName(v string) *Device { - s.Name = &v - return s -} - -// SetOs sets the Os field's value. -func (s *Device) SetOs(v string) *Device { - s.Os = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *Device) SetPlatform(v DevicePlatform) *Device { - s.Platform = v - return s -} - -// SetRadio sets the Radio field's value. -func (s *Device) SetRadio(v string) *Device { - s.Radio = &v - return s -} - -// SetRemoteAccessEnabled sets the RemoteAccessEnabled field's value. -func (s *Device) SetRemoteAccessEnabled(v bool) *Device { - s.RemoteAccessEnabled = &v - return s -} - -// SetRemoteDebugEnabled sets the RemoteDebugEnabled field's value. -func (s *Device) SetRemoteDebugEnabled(v bool) *Device { - s.RemoteDebugEnabled = &v - return s -} - -// SetResolution sets the Resolution field's value. -func (s *Device) SetResolution(v *Resolution) *Device { - s.Resolution = v - return s -} - // Represents the total (metered or unmetered) minutes used by the resource // to run tests. Contains the sum of minutes consumed by all children. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeviceMinutes @@ -4946,24 +4442,6 @@ func (s DeviceMinutes) GoString() string { return s.String() } -// SetMetered sets the Metered field's value. -func (s *DeviceMinutes) SetMetered(v float64) *DeviceMinutes { - s.Metered = &v - return s -} - -// SetTotal sets the Total field's value. -func (s *DeviceMinutes) SetTotal(v float64) *DeviceMinutes { - s.Total = &v - return s -} - -// SetUnmetered sets the Unmetered field's value. -func (s *DeviceMinutes) SetUnmetered(v float64) *DeviceMinutes { - s.Unmetered = &v - return s -} - // Represents a collection of device types. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DevicePool type DevicePool struct { @@ -5002,36 +4480,6 @@ func (s DevicePool) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DevicePool) SetArn(v string) *DevicePool { - s.Arn = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *DevicePool) SetDescription(v string) *DevicePool { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *DevicePool) SetName(v string) *DevicePool { - s.Name = &v - return s -} - -// SetRules sets the Rules field's value. -func (s *DevicePool) SetRules(v []Rule) *DevicePool { - s.Rules = v - return s -} - -// SetType sets the Type field's value. -func (s *DevicePool) SetType(v DevicePoolType) *DevicePool { - s.Type = v - return s -} - // Represents a device pool compatibility result. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DevicePoolCompatibilityResult type DevicePoolCompatibilityResult struct { @@ -5057,24 +4505,6 @@ func (s DevicePoolCompatibilityResult) GoString() string { return s.String() } -// SetCompatible sets the Compatible field's value. -func (s *DevicePoolCompatibilityResult) SetCompatible(v bool) *DevicePoolCompatibilityResult { - s.Compatible = &v - return s -} - -// SetDevice sets the Device field's value. -func (s *DevicePoolCompatibilityResult) SetDevice(v *Device) *DevicePoolCompatibilityResult { - s.Device = v - return s -} - -// SetIncompatibilityMessages sets the IncompatibilityMessages field's value. -func (s *DevicePoolCompatibilityResult) SetIncompatibilityMessages(v []IncompatibilityMessage) *DevicePoolCompatibilityResult { - s.IncompatibilityMessages = v - return s -} - // Represents configuration information about a test run, such as the execution // timeout (in minutes). // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ExecutionConfiguration @@ -5103,24 +4533,6 @@ func (s ExecutionConfiguration) GoString() string { return s.String() } -// SetAccountsCleanup sets the AccountsCleanup field's value. -func (s *ExecutionConfiguration) SetAccountsCleanup(v bool) *ExecutionConfiguration { - s.AccountsCleanup = &v - return s -} - -// SetAppPackagesCleanup sets the AppPackagesCleanup field's value. -func (s *ExecutionConfiguration) SetAppPackagesCleanup(v bool) *ExecutionConfiguration { - s.AppPackagesCleanup = &v - return s -} - -// SetJobTimeoutMinutes sets the JobTimeoutMinutes field's value. -func (s *ExecutionConfiguration) SetJobTimeoutMinutes(v int64) *ExecutionConfiguration { - s.JobTimeoutMinutes = &v - return s -} - // Represents the request sent to retrieve the account settings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetAccountSettingsRequest type GetAccountSettingsInput struct { @@ -5164,12 +4576,6 @@ func (s GetAccountSettingsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAccountSettings sets the AccountSettings field's value. -func (s *GetAccountSettingsOutput) SetAccountSettings(v *AccountSettings) *GetAccountSettingsOutput { - s.AccountSettings = v - return s -} - // Represents a request to the get device request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDeviceRequest type GetDeviceInput struct { @@ -5208,12 +4614,6 @@ func (s *GetDeviceInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *GetDeviceInput) SetArn(v string) *GetDeviceInput { - s.Arn = &v - return s -} - // Represents the result of a get device request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDeviceResult type GetDeviceOutput struct { @@ -5240,12 +4640,6 @@ func (s GetDeviceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDevice sets the Device field's value. -func (s *GetDeviceOutput) SetDevice(v *Device) *GetDeviceOutput { - s.Device = v - return s -} - // Represents a request to the get device pool compatibility operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolCompatibilityRequest type GetDevicePoolCompatibilityInput struct { @@ -5333,30 +4727,6 @@ func (s *GetDevicePoolCompatibilityInput) Validate() error { return nil } -// SetAppArn sets the AppArn field's value. -func (s *GetDevicePoolCompatibilityInput) SetAppArn(v string) *GetDevicePoolCompatibilityInput { - s.AppArn = &v - return s -} - -// SetDevicePoolArn sets the DevicePoolArn field's value. -func (s *GetDevicePoolCompatibilityInput) SetDevicePoolArn(v string) *GetDevicePoolCompatibilityInput { - s.DevicePoolArn = &v - return s -} - -// SetTest sets the Test field's value. -func (s *GetDevicePoolCompatibilityInput) SetTest(v *ScheduleRunTest) *GetDevicePoolCompatibilityInput { - s.Test = v - return s -} - -// SetTestType sets the TestType field's value. -func (s *GetDevicePoolCompatibilityInput) SetTestType(v TestType) *GetDevicePoolCompatibilityInput { - s.TestType = v - return s -} - // Represents the result of describe device pool compatibility request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolCompatibilityResult type GetDevicePoolCompatibilityOutput struct { @@ -5386,18 +4756,6 @@ func (s GetDevicePoolCompatibilityOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCompatibleDevices sets the CompatibleDevices field's value. -func (s *GetDevicePoolCompatibilityOutput) SetCompatibleDevices(v []DevicePoolCompatibilityResult) *GetDevicePoolCompatibilityOutput { - s.CompatibleDevices = v - return s -} - -// SetIncompatibleDevices sets the IncompatibleDevices field's value. -func (s *GetDevicePoolCompatibilityOutput) SetIncompatibleDevices(v []DevicePoolCompatibilityResult) *GetDevicePoolCompatibilityOutput { - s.IncompatibleDevices = v - return s -} - // Represents a request to the get device pool operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolRequest type GetDevicePoolInput struct { @@ -5436,12 +4794,6 @@ func (s *GetDevicePoolInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *GetDevicePoolInput) SetArn(v string) *GetDevicePoolInput { - s.Arn = &v - return s -} - // Represents the result of a get device pool request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolResult type GetDevicePoolOutput struct { @@ -5468,12 +4820,6 @@ func (s GetDevicePoolOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDevicePool sets the DevicePool field's value. -func (s *GetDevicePoolOutput) SetDevicePool(v *DevicePool) *GetDevicePoolOutput { - s.DevicePool = v - return s -} - // Represents a request to the get job operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetJobRequest type GetJobInput struct { @@ -5512,12 +4858,6 @@ func (s *GetJobInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *GetJobInput) SetArn(v string) *GetJobInput { - s.Arn = &v - return s -} - // Represents the result of a get job request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetJobResult type GetJobOutput struct { @@ -5544,12 +4884,6 @@ func (s GetJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJob sets the Job field's value. -func (s *GetJobOutput) SetJob(v *Job) *GetJobOutput { - s.Job = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetNetworkProfileRequest type GetNetworkProfileInput struct { _ struct{} `type:"structure"` @@ -5588,12 +4922,6 @@ func (s *GetNetworkProfileInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *GetNetworkProfileInput) SetArn(v string) *GetNetworkProfileInput { - s.Arn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetNetworkProfileResult type GetNetworkProfileOutput struct { _ struct{} `type:"structure"` @@ -5619,12 +4947,6 @@ func (s GetNetworkProfileOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNetworkProfile sets the NetworkProfile field's value. -func (s *GetNetworkProfileOutput) SetNetworkProfile(v *NetworkProfile) *GetNetworkProfileOutput { - s.NetworkProfile = v - return s -} - // Represents the request to retrieve the offering status for the specified // customer or account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetOfferingStatusRequest @@ -5659,12 +4981,6 @@ func (s *GetOfferingStatusInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *GetOfferingStatusInput) SetNextToken(v string) *GetOfferingStatusInput { - s.NextToken = &v - return s -} - // Returns the status result for a device offering. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetOfferingStatusResult type GetOfferingStatusOutput struct { @@ -5698,24 +5014,6 @@ func (s GetOfferingStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCurrent sets the Current field's value. -func (s *GetOfferingStatusOutput) SetCurrent(v map[string]OfferingStatus) *GetOfferingStatusOutput { - s.Current = v - return s -} - -// SetNextPeriod sets the NextPeriod field's value. -func (s *GetOfferingStatusOutput) SetNextPeriod(v map[string]OfferingStatus) *GetOfferingStatusOutput { - s.NextPeriod = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetOfferingStatusOutput) SetNextToken(v string) *GetOfferingStatusOutput { - s.NextToken = &v - return s -} - // Represents a request to the get project operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetProjectRequest type GetProjectInput struct { @@ -5754,12 +5052,6 @@ func (s *GetProjectInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *GetProjectInput) SetArn(v string) *GetProjectInput { - s.Arn = &v - return s -} - // Represents the result of a get project request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetProjectResult type GetProjectOutput struct { @@ -5786,12 +5078,6 @@ func (s GetProjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetProject sets the Project field's value. -func (s *GetProjectOutput) SetProject(v *Project) *GetProjectOutput { - s.Project = v - return s -} - // Represents the request to get information about the specified remote access // session. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRemoteAccessSessionRequest @@ -5832,12 +5118,6 @@ func (s *GetRemoteAccessSessionInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *GetRemoteAccessSessionInput) SetArn(v string) *GetRemoteAccessSessionInput { - s.Arn = &v - return s -} - // Represents the response from the server that lists detailed information about // the remote access session. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRemoteAccessSessionResult @@ -5865,12 +5145,6 @@ func (s GetRemoteAccessSessionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRemoteAccessSession sets the RemoteAccessSession field's value. -func (s *GetRemoteAccessSessionOutput) SetRemoteAccessSession(v *RemoteAccessSession) *GetRemoteAccessSessionOutput { - s.RemoteAccessSession = v - return s -} - // Represents a request to the get run operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRunRequest type GetRunInput struct { @@ -5909,12 +5183,6 @@ func (s *GetRunInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *GetRunInput) SetArn(v string) *GetRunInput { - s.Arn = &v - return s -} - // Represents the result of a get run request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRunResult type GetRunOutput struct { @@ -5941,12 +5209,6 @@ func (s GetRunOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRun sets the Run field's value. -func (s *GetRunOutput) SetRun(v *Run) *GetRunOutput { - s.Run = v - return s -} - // Represents a request to the get suite operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetSuiteRequest type GetSuiteInput struct { @@ -5985,12 +5247,6 @@ func (s *GetSuiteInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *GetSuiteInput) SetArn(v string) *GetSuiteInput { - s.Arn = &v - return s -} - // Represents the result of a get suite request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetSuiteResult type GetSuiteOutput struct { @@ -6017,12 +5273,6 @@ func (s GetSuiteOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSuite sets the Suite field's value. -func (s *GetSuiteOutput) SetSuite(v *Suite) *GetSuiteOutput { - s.Suite = v - return s -} - // Represents a request to the get test operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetTestRequest type GetTestInput struct { @@ -6061,12 +5311,6 @@ func (s *GetTestInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *GetTestInput) SetArn(v string) *GetTestInput { - s.Arn = &v - return s -} - // Represents the result of a get test request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetTestResult type GetTestOutput struct { @@ -6093,12 +5337,6 @@ func (s GetTestOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTest sets the Test field's value. -func (s *GetTestOutput) SetTest(v *Test) *GetTestOutput { - s.Test = v - return s -} - // Represents a request to the get upload operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetUploadRequest type GetUploadInput struct { @@ -6137,12 +5375,6 @@ func (s *GetUploadInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *GetUploadInput) SetArn(v string) *GetUploadInput { - s.Arn = &v - return s -} - // Represents the result of a get upload request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetUploadResult type GetUploadOutput struct { @@ -6169,12 +5401,6 @@ func (s GetUploadOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUpload sets the Upload field's value. -func (s *GetUploadOutput) SetUpload(v *Upload) *GetUploadOutput { - s.Upload = v - return s -} - // Represents information about incompatibility. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/IncompatibilityMessage type IncompatibilityMessage struct { @@ -6211,18 +5437,6 @@ func (s IncompatibilityMessage) GoString() string { return s.String() } -// SetMessage sets the Message field's value. -func (s *IncompatibilityMessage) SetMessage(v string) *IncompatibilityMessage { - s.Message = &v - return s -} - -// SetType sets the Type field's value. -func (s *IncompatibilityMessage) SetType(v DeviceAttribute) *IncompatibilityMessage { - s.Type = v - return s -} - // Represents the request to install an Android application (in .apk format) // or an iOS application (in .ipa format) as part of a remote access session. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/InstallToRemoteAccessSessionRequest @@ -6276,18 +5490,6 @@ func (s *InstallToRemoteAccessSessionInput) Validate() error { return nil } -// SetAppArn sets the AppArn field's value. -func (s *InstallToRemoteAccessSessionInput) SetAppArn(v string) *InstallToRemoteAccessSessionInput { - s.AppArn = &v - return s -} - -// SetRemoteAccessSessionArn sets the RemoteAccessSessionArn field's value. -func (s *InstallToRemoteAccessSessionInput) SetRemoteAccessSessionArn(v string) *InstallToRemoteAccessSessionInput { - s.RemoteAccessSessionArn = &v - return s -} - // Represents the response from the server after AWS Device Farm makes a request // to install to a remote access session. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/InstallToRemoteAccessSessionResult @@ -6315,12 +5517,6 @@ func (s InstallToRemoteAccessSessionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAppUpload sets the AppUpload field's value. -func (s *InstallToRemoteAccessSessionOutput) SetAppUpload(v *Upload) *InstallToRemoteAccessSessionOutput { - s.AppUpload = v - return s -} - // Represents a device. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Job type Job struct { @@ -6441,78 +5637,6 @@ func (s Job) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Job) SetArn(v string) *Job { - s.Arn = &v - return s -} - -// SetCounters sets the Counters field's value. -func (s *Job) SetCounters(v *Counters) *Job { - s.Counters = v - return s -} - -// SetCreated sets the Created field's value. -func (s *Job) SetCreated(v time.Time) *Job { - s.Created = &v - return s -} - -// SetDevice sets the Device field's value. -func (s *Job) SetDevice(v *Device) *Job { - s.Device = v - return s -} - -// SetDeviceMinutes sets the DeviceMinutes field's value. -func (s *Job) SetDeviceMinutes(v *DeviceMinutes) *Job { - s.DeviceMinutes = v - return s -} - -// SetMessage sets the Message field's value. -func (s *Job) SetMessage(v string) *Job { - s.Message = &v - return s -} - -// SetName sets the Name field's value. -func (s *Job) SetName(v string) *Job { - s.Name = &v - return s -} - -// SetResult sets the Result field's value. -func (s *Job) SetResult(v ExecutionResult) *Job { - s.Result = v - return s -} - -// SetStarted sets the Started field's value. -func (s *Job) SetStarted(v time.Time) *Job { - s.Started = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Job) SetStatus(v ExecutionStatus) *Job { - s.Status = v - return s -} - -// SetStopped sets the Stopped field's value. -func (s *Job) SetStopped(v time.Time) *Job { - s.Stopped = &v - return s -} - -// SetType sets the Type field's value. -func (s *Job) SetType(v TestType) *Job { - s.Type = v - return s -} - // Represents a request to the list artifacts operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListArtifactsRequest type ListArtifactsInput struct { @@ -6574,24 +5698,6 @@ func (s *ListArtifactsInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *ListArtifactsInput) SetArn(v string) *ListArtifactsInput { - s.Arn = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListArtifactsInput) SetNextToken(v string) *ListArtifactsInput { - s.NextToken = &v - return s -} - -// SetType sets the Type field's value. -func (s *ListArtifactsInput) SetType(v ArtifactCategory) *ListArtifactsInput { - s.Type = v - return s -} - // Represents the result of a list artifacts operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListArtifactsResult type ListArtifactsOutput struct { @@ -6623,18 +5729,6 @@ func (s ListArtifactsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArtifacts sets the Artifacts field's value. -func (s *ListArtifactsOutput) SetArtifacts(v []Artifact) *ListArtifactsOutput { - s.Artifacts = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListArtifactsOutput) SetNextToken(v string) *ListArtifactsOutput { - s.NextToken = &v - return s -} - // Represents the result of a list device pools request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevicePoolsRequest type ListDevicePoolsInput struct { @@ -6690,24 +5784,6 @@ func (s *ListDevicePoolsInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *ListDevicePoolsInput) SetArn(v string) *ListDevicePoolsInput { - s.Arn = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDevicePoolsInput) SetNextToken(v string) *ListDevicePoolsInput { - s.NextToken = &v - return s -} - -// SetType sets the Type field's value. -func (s *ListDevicePoolsInput) SetType(v DevicePoolType) *ListDevicePoolsInput { - s.Type = v - return s -} - // Represents the result of a list device pools request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevicePoolsResult type ListDevicePoolsOutput struct { @@ -6739,18 +5815,6 @@ func (s ListDevicePoolsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDevicePools sets the DevicePools field's value. -func (s *ListDevicePoolsOutput) SetDevicePools(v []DevicePool) *ListDevicePoolsOutput { - s.DevicePools = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDevicePoolsOutput) SetNextToken(v string) *ListDevicePoolsOutput { - s.NextToken = &v - return s -} - // Represents the result of a list devices request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevicesRequest type ListDevicesInput struct { @@ -6790,18 +5854,6 @@ func (s *ListDevicesInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *ListDevicesInput) SetArn(v string) *ListDevicesInput { - s.Arn = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDevicesInput) SetNextToken(v string) *ListDevicesInput { - s.NextToken = &v - return s -} - // Represents the result of a list devices operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevicesResult type ListDevicesOutput struct { @@ -6833,18 +5885,6 @@ func (s ListDevicesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDevices sets the Devices field's value. -func (s *ListDevicesOutput) SetDevices(v []Device) *ListDevicesOutput { - s.Devices = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDevicesOutput) SetNextToken(v string) *ListDevicesOutput { - s.NextToken = &v - return s -} - // Represents a request to the list jobs operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListJobsRequest type ListJobsInput struct { @@ -6890,18 +5930,6 @@ func (s *ListJobsInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *ListJobsInput) SetArn(v string) *ListJobsInput { - s.Arn = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput { - s.NextToken = &v - return s -} - // Represents the result of a list jobs request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListJobsResult type ListJobsOutput struct { @@ -6933,18 +5961,6 @@ func (s ListJobsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobs sets the Jobs field's value. -func (s *ListJobsOutput) SetJobs(v []Job) *ListJobsOutput { - s.Jobs = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListNetworkProfilesRequest type ListNetworkProfilesInput struct { _ struct{} `type:"structure"` @@ -6994,24 +6010,6 @@ func (s *ListNetworkProfilesInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *ListNetworkProfilesInput) SetArn(v string) *ListNetworkProfilesInput { - s.Arn = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListNetworkProfilesInput) SetNextToken(v string) *ListNetworkProfilesInput { - s.NextToken = &v - return s -} - -// SetType sets the Type field's value. -func (s *ListNetworkProfilesInput) SetType(v NetworkProfileType) *ListNetworkProfilesInput { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListNetworkProfilesResult type ListNetworkProfilesOutput struct { _ struct{} `type:"structure"` @@ -7041,18 +6039,6 @@ func (s ListNetworkProfilesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNetworkProfiles sets the NetworkProfiles field's value. -func (s *ListNetworkProfilesOutput) SetNetworkProfiles(v []NetworkProfile) *ListNetworkProfilesOutput { - s.NetworkProfiles = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListNetworkProfilesOutput) SetNextToken(v string) *ListNetworkProfilesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingPromotionsRequest type ListOfferingPromotionsInput struct { _ struct{} `type:"structure"` @@ -7085,12 +6071,6 @@ func (s *ListOfferingPromotionsInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *ListOfferingPromotionsInput) SetNextToken(v string) *ListOfferingPromotionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingPromotionsResult type ListOfferingPromotionsOutput struct { _ struct{} `type:"structure"` @@ -7120,18 +6100,6 @@ func (s ListOfferingPromotionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListOfferingPromotionsOutput) SetNextToken(v string) *ListOfferingPromotionsOutput { - s.NextToken = &v - return s -} - -// SetOfferingPromotions sets the OfferingPromotions field's value. -func (s *ListOfferingPromotionsOutput) SetOfferingPromotions(v []OfferingPromotion) *ListOfferingPromotionsOutput { - s.OfferingPromotions = v - return s -} - // Represents the request to list the offering transaction history. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingTransactionsRequest type ListOfferingTransactionsInput struct { @@ -7165,12 +6133,6 @@ func (s *ListOfferingTransactionsInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *ListOfferingTransactionsInput) SetNextToken(v string) *ListOfferingTransactionsInput { - s.NextToken = &v - return s -} - // Returns the transaction log of the specified offerings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingTransactionsResult type ListOfferingTransactionsOutput struct { @@ -7202,18 +6164,6 @@ func (s ListOfferingTransactionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListOfferingTransactionsOutput) SetNextToken(v string) *ListOfferingTransactionsOutput { - s.NextToken = &v - return s -} - -// SetOfferingTransactions sets the OfferingTransactions field's value. -func (s *ListOfferingTransactionsOutput) SetOfferingTransactions(v []OfferingTransaction) *ListOfferingTransactionsOutput { - s.OfferingTransactions = v - return s -} - // Represents the request to list all offerings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingsRequest type ListOfferingsInput struct { @@ -7247,12 +6197,6 @@ func (s *ListOfferingsInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *ListOfferingsInput) SetNextToken(v string) *ListOfferingsInput { - s.NextToken = &v - return s -} - // Represents the return values of the list of offerings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingsResult type ListOfferingsOutput struct { @@ -7283,18 +6227,6 @@ func (s ListOfferingsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListOfferingsOutput) SetNextToken(v string) *ListOfferingsOutput { - s.NextToken = &v - return s -} - -// SetOfferings sets the Offerings field's value. -func (s *ListOfferingsOutput) SetOfferings(v []Offering) *ListOfferingsOutput { - s.Offerings = v - return s -} - // Represents a request to the list projects operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListProjectsRequest type ListProjectsInput struct { @@ -7336,18 +6268,6 @@ func (s *ListProjectsInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *ListProjectsInput) SetArn(v string) *ListProjectsInput { - s.Arn = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListProjectsInput) SetNextToken(v string) *ListProjectsInput { - s.NextToken = &v - return s -} - // Represents the result of a list projects request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListProjectsResult type ListProjectsOutput struct { @@ -7379,18 +6299,6 @@ func (s ListProjectsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListProjectsOutput) SetNextToken(v string) *ListProjectsOutput { - s.NextToken = &v - return s -} - -// SetProjects sets the Projects field's value. -func (s *ListProjectsOutput) SetProjects(v []Project) *ListProjectsOutput { - s.Projects = v - return s -} - // Represents the request to return information about the remote access session. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRemoteAccessSessionsRequest type ListRemoteAccessSessionsInput struct { @@ -7437,18 +6345,6 @@ func (s *ListRemoteAccessSessionsInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *ListRemoteAccessSessionsInput) SetArn(v string) *ListRemoteAccessSessionsInput { - s.Arn = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListRemoteAccessSessionsInput) SetNextToken(v string) *ListRemoteAccessSessionsInput { - s.NextToken = &v - return s -} - // Represents the response from the server after AWS Device Farm makes a request // to return information about the remote access session. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRemoteAccessSessionsResult @@ -7481,18 +6377,6 @@ func (s ListRemoteAccessSessionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListRemoteAccessSessionsOutput) SetNextToken(v string) *ListRemoteAccessSessionsOutput { - s.NextToken = &v - return s -} - -// SetRemoteAccessSessions sets the RemoteAccessSessions field's value. -func (s *ListRemoteAccessSessionsOutput) SetRemoteAccessSessions(v []RemoteAccessSession) *ListRemoteAccessSessionsOutput { - s.RemoteAccessSessions = v - return s -} - // Represents a request to the list runs operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRunsRequest type ListRunsInput struct { @@ -7539,18 +6423,6 @@ func (s *ListRunsInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *ListRunsInput) SetArn(v string) *ListRunsInput { - s.Arn = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListRunsInput) SetNextToken(v string) *ListRunsInput { - s.NextToken = &v - return s -} - // Represents the result of a list runs request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRunsResult type ListRunsOutput struct { @@ -7582,18 +6454,6 @@ func (s ListRunsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListRunsOutput) SetNextToken(v string) *ListRunsOutput { - s.NextToken = &v - return s -} - -// SetRuns sets the Runs field's value. -func (s *ListRunsOutput) SetRuns(v []Run) *ListRunsOutput { - s.Runs = v - return s -} - // Represents a request to the list samples operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSamplesRequest type ListSamplesInput struct { @@ -7640,18 +6500,6 @@ func (s *ListSamplesInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *ListSamplesInput) SetArn(v string) *ListSamplesInput { - s.Arn = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListSamplesInput) SetNextToken(v string) *ListSamplesInput { - s.NextToken = &v - return s -} - // Represents the result of a list samples request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSamplesResult type ListSamplesOutput struct { @@ -7683,18 +6531,6 @@ func (s ListSamplesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListSamplesOutput) SetNextToken(v string) *ListSamplesOutput { - s.NextToken = &v - return s -} - -// SetSamples sets the Samples field's value. -func (s *ListSamplesOutput) SetSamples(v []Sample) *ListSamplesOutput { - s.Samples = v - return s -} - // Represents a request to the list suites operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSuitesRequest type ListSuitesInput struct { @@ -7740,18 +6576,6 @@ func (s *ListSuitesInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *ListSuitesInput) SetArn(v string) *ListSuitesInput { - s.Arn = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListSuitesInput) SetNextToken(v string) *ListSuitesInput { - s.NextToken = &v - return s -} - // Represents the result of a list suites request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSuitesResult type ListSuitesOutput struct { @@ -7783,18 +6607,6 @@ func (s ListSuitesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListSuitesOutput) SetNextToken(v string) *ListSuitesOutput { - s.NextToken = &v - return s -} - -// SetSuites sets the Suites field's value. -func (s *ListSuitesOutput) SetSuites(v []Suite) *ListSuitesOutput { - s.Suites = v - return s -} - // Represents a request to the list tests operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestsRequest type ListTestsInput struct { @@ -7840,18 +6652,6 @@ func (s *ListTestsInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *ListTestsInput) SetArn(v string) *ListTestsInput { - s.Arn = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTestsInput) SetNextToken(v string) *ListTestsInput { - s.NextToken = &v - return s -} - // Represents the result of a list tests request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestsResult type ListTestsOutput struct { @@ -7883,18 +6683,6 @@ func (s ListTestsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTestsOutput) SetNextToken(v string) *ListTestsOutput { - s.NextToken = &v - return s -} - -// SetTests sets the Tests field's value. -func (s *ListTestsOutput) SetTests(v []Test) *ListTestsOutput { - s.Tests = v - return s -} - // Represents a request to the list unique problems operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUniqueProblemsRequest type ListUniqueProblemsInput struct { @@ -7940,18 +6728,6 @@ func (s *ListUniqueProblemsInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *ListUniqueProblemsInput) SetArn(v string) *ListUniqueProblemsInput { - s.Arn = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListUniqueProblemsInput) SetNextToken(v string) *ListUniqueProblemsInput { - s.NextToken = &v - return s -} - // Represents the result of a list unique problems request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUniqueProblemsResult type ListUniqueProblemsOutput struct { @@ -7999,18 +6775,6 @@ func (s ListUniqueProblemsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListUniqueProblemsOutput) SetNextToken(v string) *ListUniqueProblemsOutput { - s.NextToken = &v - return s -} - -// SetUniqueProblems sets the UniqueProblems field's value. -func (s *ListUniqueProblemsOutput) SetUniqueProblems(v map[string][]UniqueProblem) *ListUniqueProblemsOutput { - s.UniqueProblems = v - return s -} - // Represents a request to the list uploads operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUploadsRequest type ListUploadsInput struct { @@ -8057,18 +6821,6 @@ func (s *ListUploadsInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *ListUploadsInput) SetArn(v string) *ListUploadsInput { - s.Arn = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListUploadsInput) SetNextToken(v string) *ListUploadsInput { - s.NextToken = &v - return s -} - // Represents the result of a list uploads request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUploadsResult type ListUploadsOutput struct { @@ -8100,18 +6852,6 @@ func (s ListUploadsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListUploadsOutput) SetNextToken(v string) *ListUploadsOutput { - s.NextToken = &v - return s -} - -// SetUploads sets the Uploads field's value. -func (s *ListUploadsOutput) SetUploads(v []Upload) *ListUploadsOutput { - s.Uploads = v - return s -} - // Represents a latitude and longitude pair, expressed in geographic coordinate // system degrees (for example 47.6204, -122.3491). // @@ -8159,18 +6899,6 @@ func (s *Location) Validate() error { return nil } -// SetLatitude sets the Latitude field's value. -func (s *Location) SetLatitude(v float64) *Location { - s.Latitude = &v - return s -} - -// SetLongitude sets the Longitude field's value. -func (s *Location) SetLongitude(v float64) *Location { - s.Longitude = &v - return s -} - // A number representing the monetary amount for an offering or transaction. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/MonetaryAmount type MonetaryAmount struct { @@ -8193,18 +6921,6 @@ func (s MonetaryAmount) GoString() string { return s.String() } -// SetAmount sets the Amount field's value. -func (s *MonetaryAmount) SetAmount(v float64) *MonetaryAmount { - s.Amount = &v - return s -} - -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *MonetaryAmount) SetCurrencyCode(v CurrencyCode) *MonetaryAmount { - s.CurrencyCode = v - return s -} - // An array of settings that describes characteristics of a network profile. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/NetworkProfile type NetworkProfile struct { @@ -8261,78 +6977,6 @@ func (s NetworkProfile) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *NetworkProfile) SetArn(v string) *NetworkProfile { - s.Arn = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *NetworkProfile) SetDescription(v string) *NetworkProfile { - s.Description = &v - return s -} - -// SetDownlinkBandwidthBits sets the DownlinkBandwidthBits field's value. -func (s *NetworkProfile) SetDownlinkBandwidthBits(v int64) *NetworkProfile { - s.DownlinkBandwidthBits = &v - return s -} - -// SetDownlinkDelayMs sets the DownlinkDelayMs field's value. -func (s *NetworkProfile) SetDownlinkDelayMs(v int64) *NetworkProfile { - s.DownlinkDelayMs = &v - return s -} - -// SetDownlinkJitterMs sets the DownlinkJitterMs field's value. -func (s *NetworkProfile) SetDownlinkJitterMs(v int64) *NetworkProfile { - s.DownlinkJitterMs = &v - return s -} - -// SetDownlinkLossPercent sets the DownlinkLossPercent field's value. -func (s *NetworkProfile) SetDownlinkLossPercent(v int64) *NetworkProfile { - s.DownlinkLossPercent = &v - return s -} - -// SetName sets the Name field's value. -func (s *NetworkProfile) SetName(v string) *NetworkProfile { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *NetworkProfile) SetType(v NetworkProfileType) *NetworkProfile { - s.Type = v - return s -} - -// SetUplinkBandwidthBits sets the UplinkBandwidthBits field's value. -func (s *NetworkProfile) SetUplinkBandwidthBits(v int64) *NetworkProfile { - s.UplinkBandwidthBits = &v - return s -} - -// SetUplinkDelayMs sets the UplinkDelayMs field's value. -func (s *NetworkProfile) SetUplinkDelayMs(v int64) *NetworkProfile { - s.UplinkDelayMs = &v - return s -} - -// SetUplinkJitterMs sets the UplinkJitterMs field's value. -func (s *NetworkProfile) SetUplinkJitterMs(v int64) *NetworkProfile { - s.UplinkJitterMs = &v - return s -} - -// SetUplinkLossPercent sets the UplinkLossPercent field's value. -func (s *NetworkProfile) SetUplinkLossPercent(v int64) *NetworkProfile { - s.UplinkLossPercent = &v - return s -} - // Represents the metadata of a device offering. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Offering type Offering struct { @@ -8364,36 +7008,6 @@ func (s Offering) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *Offering) SetDescription(v string) *Offering { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *Offering) SetId(v string) *Offering { - s.Id = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *Offering) SetPlatform(v DevicePlatform) *Offering { - s.Platform = v - return s -} - -// SetRecurringCharges sets the RecurringCharges field's value. -func (s *Offering) SetRecurringCharges(v []RecurringCharge) *Offering { - s.RecurringCharges = v - return s -} - -// SetType sets the Type field's value. -func (s *Offering) SetType(v OfferingType) *Offering { - s.Type = v - return s -} - // Represents information about an offering promotion. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/OfferingPromotion type OfferingPromotion struct { @@ -8416,18 +7030,6 @@ func (s OfferingPromotion) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *OfferingPromotion) SetDescription(v string) *OfferingPromotion { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *OfferingPromotion) SetId(v string) *OfferingPromotion { - s.Id = &v - return s -} - // The status of the offering. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/OfferingStatus type OfferingStatus struct { @@ -8456,30 +7058,6 @@ func (s OfferingStatus) GoString() string { return s.String() } -// SetEffectiveOn sets the EffectiveOn field's value. -func (s *OfferingStatus) SetEffectiveOn(v time.Time) *OfferingStatus { - s.EffectiveOn = &v - return s -} - -// SetOffering sets the Offering field's value. -func (s *OfferingStatus) SetOffering(v *Offering) *OfferingStatus { - s.Offering = v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *OfferingStatus) SetQuantity(v int64) *OfferingStatus { - s.Quantity = &v - return s -} - -// SetType sets the Type field's value. -func (s *OfferingStatus) SetType(v OfferingTransactionType) *OfferingStatus { - s.Type = v - return s -} - // Represents the metadata of an offering transaction. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/OfferingTransaction type OfferingTransaction struct { @@ -8511,36 +7089,6 @@ func (s OfferingTransaction) GoString() string { return s.String() } -// SetCost sets the Cost field's value. -func (s *OfferingTransaction) SetCost(v *MonetaryAmount) *OfferingTransaction { - s.Cost = v - return s -} - -// SetCreatedOn sets the CreatedOn field's value. -func (s *OfferingTransaction) SetCreatedOn(v time.Time) *OfferingTransaction { - s.CreatedOn = &v - return s -} - -// SetOfferingPromotionId sets the OfferingPromotionId field's value. -func (s *OfferingTransaction) SetOfferingPromotionId(v string) *OfferingTransaction { - s.OfferingPromotionId = &v - return s -} - -// SetOfferingStatus sets the OfferingStatus field's value. -func (s *OfferingTransaction) SetOfferingStatus(v *OfferingStatus) *OfferingTransaction { - s.OfferingStatus = v - return s -} - -// SetTransactionId sets the TransactionId field's value. -func (s *OfferingTransaction) SetTransactionId(v string) *OfferingTransaction { - s.TransactionId = &v - return s -} - // Represents a specific warning or failure. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Problem type Problem struct { @@ -8594,48 +7142,6 @@ func (s Problem) GoString() string { return s.String() } -// SetDevice sets the Device field's value. -func (s *Problem) SetDevice(v *Device) *Problem { - s.Device = v - return s -} - -// SetJob sets the Job field's value. -func (s *Problem) SetJob(v *ProblemDetail) *Problem { - s.Job = v - return s -} - -// SetMessage sets the Message field's value. -func (s *Problem) SetMessage(v string) *Problem { - s.Message = &v - return s -} - -// SetResult sets the Result field's value. -func (s *Problem) SetResult(v ExecutionResult) *Problem { - s.Result = v - return s -} - -// SetRun sets the Run field's value. -func (s *Problem) SetRun(v *ProblemDetail) *Problem { - s.Run = v - return s -} - -// SetSuite sets the Suite field's value. -func (s *Problem) SetSuite(v *ProblemDetail) *Problem { - s.Suite = v - return s -} - -// SetTest sets the Test field's value. -func (s *Problem) SetTest(v *ProblemDetail) *Problem { - s.Test = v - return s -} - // Information about a problem detail. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ProblemDetail type ProblemDetail struct { @@ -8658,18 +7164,6 @@ func (s ProblemDetail) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *ProblemDetail) SetArn(v string) *ProblemDetail { - s.Arn = &v - return s -} - -// SetName sets the Name field's value. -func (s *ProblemDetail) SetName(v string) *ProblemDetail { - s.Name = &v - return s -} - // Represents an operating-system neutral workspace for running and managing // tests. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Project @@ -8700,30 +7194,6 @@ func (s Project) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Project) SetArn(v string) *Project { - s.Arn = &v - return s -} - -// SetCreated sets the Created field's value. -func (s *Project) SetCreated(v time.Time) *Project { - s.Created = &v - return s -} - -// SetDefaultJobTimeoutMinutes sets the DefaultJobTimeoutMinutes field's value. -func (s *Project) SetDefaultJobTimeoutMinutes(v int64) *Project { - s.DefaultJobTimeoutMinutes = &v - return s -} - -// SetName sets the Name field's value. -func (s *Project) SetName(v string) *Project { - s.Name = &v - return s -} - // Represents a request for a purchase offering. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/PurchaseOfferingRequest type PurchaseOfferingInput struct { @@ -8765,24 +7235,6 @@ func (s *PurchaseOfferingInput) Validate() error { return nil } -// SetOfferingId sets the OfferingId field's value. -func (s *PurchaseOfferingInput) SetOfferingId(v string) *PurchaseOfferingInput { - s.OfferingId = &v - return s -} - -// SetOfferingPromotionId sets the OfferingPromotionId field's value. -func (s *PurchaseOfferingInput) SetOfferingPromotionId(v string) *PurchaseOfferingInput { - s.OfferingPromotionId = &v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *PurchaseOfferingInput) SetQuantity(v int64) *PurchaseOfferingInput { - s.Quantity = &v - return s -} - // The result of the purchase offering (e.g., success or failure). // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/PurchaseOfferingResult type PurchaseOfferingOutput struct { @@ -8809,12 +7261,6 @@ func (s PurchaseOfferingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOfferingTransaction sets the OfferingTransaction field's value. -func (s *PurchaseOfferingOutput) SetOfferingTransaction(v *OfferingTransaction) *PurchaseOfferingOutput { - s.OfferingTransaction = v - return s -} - // Represents the set of radios and their states on a device. Examples of radios // include Wi-Fi, GPS, Bluetooth, and NFC. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Radios @@ -8844,30 +7290,6 @@ func (s Radios) GoString() string { return s.String() } -// SetBluetooth sets the Bluetooth field's value. -func (s *Radios) SetBluetooth(v bool) *Radios { - s.Bluetooth = &v - return s -} - -// SetGps sets the Gps field's value. -func (s *Radios) SetGps(v bool) *Radios { - s.Gps = &v - return s -} - -// SetNfc sets the Nfc field's value. -func (s *Radios) SetNfc(v bool) *Radios { - s.Nfc = &v - return s -} - -// SetWifi sets the Wifi field's value. -func (s *Radios) SetWifi(v bool) *Radios { - s.Wifi = &v - return s -} - // Specifies whether charges for devices will be recurring. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RecurringCharge type RecurringCharge struct { @@ -8890,18 +7312,6 @@ func (s RecurringCharge) GoString() string { return s.String() } -// SetCost sets the Cost field's value. -func (s *RecurringCharge) SetCost(v *MonetaryAmount) *RecurringCharge { - s.Cost = v - return s -} - -// SetFrequency sets the Frequency field's value. -func (s *RecurringCharge) SetFrequency(v RecurringChargeFrequency) *RecurringCharge { - s.Frequency = v - return s -} - // Represents information about the remote access session. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RemoteAccessSession type RemoteAccessSession struct { @@ -9005,102 +7415,6 @@ func (s RemoteAccessSession) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *RemoteAccessSession) SetArn(v string) *RemoteAccessSession { - s.Arn = &v - return s -} - -// SetBillingMethod sets the BillingMethod field's value. -func (s *RemoteAccessSession) SetBillingMethod(v BillingMethod) *RemoteAccessSession { - s.BillingMethod = v - return s -} - -// SetClientId sets the ClientId field's value. -func (s *RemoteAccessSession) SetClientId(v string) *RemoteAccessSession { - s.ClientId = &v - return s -} - -// SetCreated sets the Created field's value. -func (s *RemoteAccessSession) SetCreated(v time.Time) *RemoteAccessSession { - s.Created = &v - return s -} - -// SetDevice sets the Device field's value. -func (s *RemoteAccessSession) SetDevice(v *Device) *RemoteAccessSession { - s.Device = v - return s -} - -// SetDeviceMinutes sets the DeviceMinutes field's value. -func (s *RemoteAccessSession) SetDeviceMinutes(v *DeviceMinutes) *RemoteAccessSession { - s.DeviceMinutes = v - return s -} - -// SetDeviceUdid sets the DeviceUdid field's value. -func (s *RemoteAccessSession) SetDeviceUdid(v string) *RemoteAccessSession { - s.DeviceUdid = &v - return s -} - -// SetEndpoint sets the Endpoint field's value. -func (s *RemoteAccessSession) SetEndpoint(v string) *RemoteAccessSession { - s.Endpoint = &v - return s -} - -// SetHostAddress sets the HostAddress field's value. -func (s *RemoteAccessSession) SetHostAddress(v string) *RemoteAccessSession { - s.HostAddress = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *RemoteAccessSession) SetMessage(v string) *RemoteAccessSession { - s.Message = &v - return s -} - -// SetName sets the Name field's value. -func (s *RemoteAccessSession) SetName(v string) *RemoteAccessSession { - s.Name = &v - return s -} - -// SetRemoteDebugEnabled sets the RemoteDebugEnabled field's value. -func (s *RemoteAccessSession) SetRemoteDebugEnabled(v bool) *RemoteAccessSession { - s.RemoteDebugEnabled = &v - return s -} - -// SetResult sets the Result field's value. -func (s *RemoteAccessSession) SetResult(v ExecutionResult) *RemoteAccessSession { - s.Result = v - return s -} - -// SetStarted sets the Started field's value. -func (s *RemoteAccessSession) SetStarted(v time.Time) *RemoteAccessSession { - s.Started = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *RemoteAccessSession) SetStatus(v ExecutionStatus) *RemoteAccessSession { - s.Status = v - return s -} - -// SetStopped sets the Stopped field's value. -func (s *RemoteAccessSession) SetStopped(v time.Time) *RemoteAccessSession { - s.Stopped = &v - return s -} - // A request representing an offering renewal. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RenewOfferingRequest type RenewOfferingInput struct { @@ -9136,18 +7450,6 @@ func (s *RenewOfferingInput) Validate() error { return nil } -// SetOfferingId sets the OfferingId field's value. -func (s *RenewOfferingInput) SetOfferingId(v string) *RenewOfferingInput { - s.OfferingId = &v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *RenewOfferingInput) SetQuantity(v int64) *RenewOfferingInput { - s.Quantity = &v - return s -} - // The result of a renewal offering. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RenewOfferingResult type RenewOfferingOutput struct { @@ -9174,12 +7476,6 @@ func (s RenewOfferingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOfferingTransaction sets the OfferingTransaction field's value. -func (s *RenewOfferingOutput) SetOfferingTransaction(v *OfferingTransaction) *RenewOfferingOutput { - s.OfferingTransaction = v - return s -} - // Represents the screen resolution of a device in height and width, expressed // in pixels. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Resolution @@ -9203,18 +7499,6 @@ func (s Resolution) GoString() string { return s.String() } -// SetHeight sets the Height field's value. -func (s *Resolution) SetHeight(v int64) *Resolution { - s.Height = &v - return s -} - -// SetWidth sets the Width field's value. -func (s *Resolution) SetWidth(v int64) *Resolution { - s.Width = &v - return s -} - // Represents a condition for a device pool. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Rule type Rule struct { @@ -9266,24 +7550,6 @@ func (s Rule) GoString() string { return s.String() } -// SetAttribute sets the Attribute field's value. -func (s *Rule) SetAttribute(v DeviceAttribute) *Rule { - s.Attribute = v - return s -} - -// SetOperator sets the Operator field's value. -func (s *Rule) SetOperator(v RuleOperator) *Rule { - s.Operator = v - return s -} - -// SetValue sets the Value field's value. -func (s *Rule) SetValue(v string) *Rule { - s.Value = &v - return s -} - // Represents a test run on a set of devices with a given app package, test // parameters, etc. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Run @@ -9436,120 +7702,6 @@ func (s Run) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Run) SetArn(v string) *Run { - s.Arn = &v - return s -} - -// SetBillingMethod sets the BillingMethod field's value. -func (s *Run) SetBillingMethod(v BillingMethod) *Run { - s.BillingMethod = v - return s -} - -// SetCompletedJobs sets the CompletedJobs field's value. -func (s *Run) SetCompletedJobs(v int64) *Run { - s.CompletedJobs = &v - return s -} - -// SetCounters sets the Counters field's value. -func (s *Run) SetCounters(v *Counters) *Run { - s.Counters = v - return s -} - -// SetCreated sets the Created field's value. -func (s *Run) SetCreated(v time.Time) *Run { - s.Created = &v - return s -} - -// SetCustomerArtifactPaths sets the CustomerArtifactPaths field's value. -func (s *Run) SetCustomerArtifactPaths(v *CustomerArtifactPaths) *Run { - s.CustomerArtifactPaths = v - return s -} - -// SetDeviceMinutes sets the DeviceMinutes field's value. -func (s *Run) SetDeviceMinutes(v *DeviceMinutes) *Run { - s.DeviceMinutes = v - return s -} - -// SetMessage sets the Message field's value. -func (s *Run) SetMessage(v string) *Run { - s.Message = &v - return s -} - -// SetName sets the Name field's value. -func (s *Run) SetName(v string) *Run { - s.Name = &v - return s -} - -// SetNetworkProfile sets the NetworkProfile field's value. -func (s *Run) SetNetworkProfile(v *NetworkProfile) *Run { - s.NetworkProfile = v - return s -} - -// SetParsingResultUrl sets the ParsingResultUrl field's value. -func (s *Run) SetParsingResultUrl(v string) *Run { - s.ParsingResultUrl = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *Run) SetPlatform(v DevicePlatform) *Run { - s.Platform = v - return s -} - -// SetResult sets the Result field's value. -func (s *Run) SetResult(v ExecutionResult) *Run { - s.Result = v - return s -} - -// SetResultCode sets the ResultCode field's value. -func (s *Run) SetResultCode(v ExecutionResultCode) *Run { - s.ResultCode = v - return s -} - -// SetStarted sets the Started field's value. -func (s *Run) SetStarted(v time.Time) *Run { - s.Started = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Run) SetStatus(v ExecutionStatus) *Run { - s.Status = v - return s -} - -// SetStopped sets the Stopped field's value. -func (s *Run) SetStopped(v time.Time) *Run { - s.Stopped = &v - return s -} - -// SetTotalJobs sets the TotalJobs field's value. -func (s *Run) SetTotalJobs(v int64) *Run { - s.TotalJobs = &v - return s -} - -// SetType sets the Type field's value. -func (s *Run) SetType(v TestType) *Run { - s.Type = v - return s -} - // Represents a sample of performance data. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Sample type Sample struct { @@ -9617,24 +7769,6 @@ func (s Sample) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Sample) SetArn(v string) *Sample { - s.Arn = &v - return s -} - -// SetType sets the Type field's value. -func (s *Sample) SetType(v SampleType) *Sample { - s.Type = v - return s -} - -// SetUrl sets the Url field's value. -func (s *Sample) SetUrl(v string) *Sample { - s.Url = &v - return s -} - // Represents the settings for a run. Includes things like location, radio states, // auxiliary apps, and network profiles. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRunConfiguration @@ -9700,54 +7834,6 @@ func (s *ScheduleRunConfiguration) Validate() error { return nil } -// SetAuxiliaryApps sets the AuxiliaryApps field's value. -func (s *ScheduleRunConfiguration) SetAuxiliaryApps(v []string) *ScheduleRunConfiguration { - s.AuxiliaryApps = v - return s -} - -// SetBillingMethod sets the BillingMethod field's value. -func (s *ScheduleRunConfiguration) SetBillingMethod(v BillingMethod) *ScheduleRunConfiguration { - s.BillingMethod = v - return s -} - -// SetCustomerArtifactPaths sets the CustomerArtifactPaths field's value. -func (s *ScheduleRunConfiguration) SetCustomerArtifactPaths(v *CustomerArtifactPaths) *ScheduleRunConfiguration { - s.CustomerArtifactPaths = v - return s -} - -// SetExtraDataPackageArn sets the ExtraDataPackageArn field's value. -func (s *ScheduleRunConfiguration) SetExtraDataPackageArn(v string) *ScheduleRunConfiguration { - s.ExtraDataPackageArn = &v - return s -} - -// SetLocale sets the Locale field's value. -func (s *ScheduleRunConfiguration) SetLocale(v string) *ScheduleRunConfiguration { - s.Locale = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *ScheduleRunConfiguration) SetLocation(v *Location) *ScheduleRunConfiguration { - s.Location = v - return s -} - -// SetNetworkProfileArn sets the NetworkProfileArn field's value. -func (s *ScheduleRunConfiguration) SetNetworkProfileArn(v string) *ScheduleRunConfiguration { - s.NetworkProfileArn = &v - return s -} - -// SetRadios sets the Radios field's value. -func (s *ScheduleRunConfiguration) SetRadios(v *Radios) *ScheduleRunConfiguration { - s.Radios = v - return s -} - // Represents a request to the schedule run operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRunRequest type ScheduleRunInput struct { @@ -9833,48 +7919,6 @@ func (s *ScheduleRunInput) Validate() error { return nil } -// SetAppArn sets the AppArn field's value. -func (s *ScheduleRunInput) SetAppArn(v string) *ScheduleRunInput { - s.AppArn = &v - return s -} - -// SetConfiguration sets the Configuration field's value. -func (s *ScheduleRunInput) SetConfiguration(v *ScheduleRunConfiguration) *ScheduleRunInput { - s.Configuration = v - return s -} - -// SetDevicePoolArn sets the DevicePoolArn field's value. -func (s *ScheduleRunInput) SetDevicePoolArn(v string) *ScheduleRunInput { - s.DevicePoolArn = &v - return s -} - -// SetExecutionConfiguration sets the ExecutionConfiguration field's value. -func (s *ScheduleRunInput) SetExecutionConfiguration(v *ExecutionConfiguration) *ScheduleRunInput { - s.ExecutionConfiguration = v - return s -} - -// SetName sets the Name field's value. -func (s *ScheduleRunInput) SetName(v string) *ScheduleRunInput { - s.Name = &v - return s -} - -// SetProjectArn sets the ProjectArn field's value. -func (s *ScheduleRunInput) SetProjectArn(v string) *ScheduleRunInput { - s.ProjectArn = &v - return s -} - -// SetTest sets the Test field's value. -func (s *ScheduleRunInput) SetTest(v *ScheduleRunTest) *ScheduleRunInput { - s.Test = v - return s -} - // Represents the result of a schedule run request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRunResult type ScheduleRunOutput struct { @@ -9901,12 +7945,6 @@ func (s ScheduleRunOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRun sets the Run field's value. -func (s *ScheduleRunOutput) SetRun(v *Run) *ScheduleRunOutput { - s.Run = v - return s -} - // Represents additional test settings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRunTest type ScheduleRunTest struct { @@ -10057,30 +8095,6 @@ func (s *ScheduleRunTest) Validate() error { return nil } -// SetFilter sets the Filter field's value. -func (s *ScheduleRunTest) SetFilter(v string) *ScheduleRunTest { - s.Filter = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *ScheduleRunTest) SetParameters(v map[string]string) *ScheduleRunTest { - s.Parameters = v - return s -} - -// SetTestPackageArn sets the TestPackageArn field's value. -func (s *ScheduleRunTest) SetTestPackageArn(v string) *ScheduleRunTest { - s.TestPackageArn = &v - return s -} - -// SetType sets the Type field's value. -func (s *ScheduleRunTest) SetType(v TestType) *ScheduleRunTest { - s.Type = v - return s -} - // Represents the request to stop the remote access session. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRemoteAccessSessionRequest type StopRemoteAccessSessionInput struct { @@ -10119,12 +8133,6 @@ func (s *StopRemoteAccessSessionInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *StopRemoteAccessSessionInput) SetArn(v string) *StopRemoteAccessSessionInput { - s.Arn = &v - return s -} - // Represents the response from the server that describes the remote access // session when AWS Device Farm stops the session. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRemoteAccessSessionResult @@ -10153,12 +8161,6 @@ func (s StopRemoteAccessSessionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRemoteAccessSession sets the RemoteAccessSession field's value. -func (s *StopRemoteAccessSessionOutput) SetRemoteAccessSession(v *RemoteAccessSession) *StopRemoteAccessSessionOutput { - s.RemoteAccessSession = v - return s -} - // Represents the request to stop a specific run. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRunRequest type StopRunInput struct { @@ -10198,12 +8200,6 @@ func (s *StopRunInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *StopRunInput) SetArn(v string) *StopRunInput { - s.Arn = &v - return s -} - // Represents the results of your stop run attempt. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRunResult type StopRunOutput struct { @@ -10230,12 +8226,6 @@ func (s StopRunOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRun sets the Run field's value. -func (s *StopRunOutput) SetRun(v *Run) *StopRunOutput { - s.Run = v - return s -} - // Represents a collection of one or more tests. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Suite type Suite struct { @@ -10353,72 +8343,6 @@ func (s Suite) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Suite) SetArn(v string) *Suite { - s.Arn = &v - return s -} - -// SetCounters sets the Counters field's value. -func (s *Suite) SetCounters(v *Counters) *Suite { - s.Counters = v - return s -} - -// SetCreated sets the Created field's value. -func (s *Suite) SetCreated(v time.Time) *Suite { - s.Created = &v - return s -} - -// SetDeviceMinutes sets the DeviceMinutes field's value. -func (s *Suite) SetDeviceMinutes(v *DeviceMinutes) *Suite { - s.DeviceMinutes = v - return s -} - -// SetMessage sets the Message field's value. -func (s *Suite) SetMessage(v string) *Suite { - s.Message = &v - return s -} - -// SetName sets the Name field's value. -func (s *Suite) SetName(v string) *Suite { - s.Name = &v - return s -} - -// SetResult sets the Result field's value. -func (s *Suite) SetResult(v ExecutionResult) *Suite { - s.Result = v - return s -} - -// SetStarted sets the Started field's value. -func (s *Suite) SetStarted(v time.Time) *Suite { - s.Started = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Suite) SetStatus(v ExecutionStatus) *Suite { - s.Status = v - return s -} - -// SetStopped sets the Stopped field's value. -func (s *Suite) SetStopped(v time.Time) *Suite { - s.Stopped = &v - return s -} - -// SetType sets the Type field's value. -func (s *Suite) SetType(v TestType) *Suite { - s.Type = v - return s -} - // Represents a condition that is evaluated. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Test type Test struct { @@ -10536,72 +8460,6 @@ func (s Test) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Test) SetArn(v string) *Test { - s.Arn = &v - return s -} - -// SetCounters sets the Counters field's value. -func (s *Test) SetCounters(v *Counters) *Test { - s.Counters = v - return s -} - -// SetCreated sets the Created field's value. -func (s *Test) SetCreated(v time.Time) *Test { - s.Created = &v - return s -} - -// SetDeviceMinutes sets the DeviceMinutes field's value. -func (s *Test) SetDeviceMinutes(v *DeviceMinutes) *Test { - s.DeviceMinutes = v - return s -} - -// SetMessage sets the Message field's value. -func (s *Test) SetMessage(v string) *Test { - s.Message = &v - return s -} - -// SetName sets the Name field's value. -func (s *Test) SetName(v string) *Test { - s.Name = &v - return s -} - -// SetResult sets the Result field's value. -func (s *Test) SetResult(v ExecutionResult) *Test { - s.Result = v - return s -} - -// SetStarted sets the Started field's value. -func (s *Test) SetStarted(v time.Time) *Test { - s.Started = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Test) SetStatus(v ExecutionStatus) *Test { - s.Status = v - return s -} - -// SetStopped sets the Stopped field's value. -func (s *Test) SetStopped(v time.Time) *Test { - s.Stopped = &v - return s -} - -// SetType sets the Type field's value. -func (s *Test) SetType(v TestType) *Test { - s.Type = v - return s -} - // Represents information about free trial device minutes for an AWS account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/TrialMinutes type TrialMinutes struct { @@ -10624,18 +8482,6 @@ func (s TrialMinutes) GoString() string { return s.String() } -// SetRemaining sets the Remaining field's value. -func (s *TrialMinutes) SetRemaining(v float64) *TrialMinutes { - s.Remaining = &v - return s -} - -// SetTotal sets the Total field's value. -func (s *TrialMinutes) SetTotal(v float64) *TrialMinutes { - s.Total = &v - return s -} - // A collection of one or more problems, grouped by their result. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UniqueProblem type UniqueProblem struct { @@ -10658,18 +8504,6 @@ func (s UniqueProblem) GoString() string { return s.String() } -// SetMessage sets the Message field's value. -func (s *UniqueProblem) SetMessage(v string) *UniqueProblem { - s.Message = &v - return s -} - -// SetProblems sets the Problems field's value. -func (s *UniqueProblem) SetProblems(v []Problem) *UniqueProblem { - s.Problems = v - return s -} - // Represents a request to the update device pool operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateDevicePoolRequest type UpdateDevicePoolInput struct { @@ -10720,30 +8554,6 @@ func (s *UpdateDevicePoolInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *UpdateDevicePoolInput) SetArn(v string) *UpdateDevicePoolInput { - s.Arn = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateDevicePoolInput) SetDescription(v string) *UpdateDevicePoolInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateDevicePoolInput) SetName(v string) *UpdateDevicePoolInput { - s.Name = &v - return s -} - -// SetRules sets the Rules field's value. -func (s *UpdateDevicePoolInput) SetRules(v []Rule) *UpdateDevicePoolInput { - s.Rules = v - return s -} - // Represents the result of an update device pool request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateDevicePoolResult type UpdateDevicePoolOutput struct { @@ -10770,12 +8580,6 @@ func (s UpdateDevicePoolOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDevicePool sets the DevicePool field's value. -func (s *UpdateDevicePoolOutput) SetDevicePool(v *DevicePool) *UpdateDevicePoolOutput { - s.DevicePool = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateNetworkProfileRequest type UpdateNetworkProfileInput struct { _ struct{} `type:"structure"` @@ -10852,78 +8656,6 @@ func (s *UpdateNetworkProfileInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *UpdateNetworkProfileInput) SetArn(v string) *UpdateNetworkProfileInput { - s.Arn = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateNetworkProfileInput) SetDescription(v string) *UpdateNetworkProfileInput { - s.Description = &v - return s -} - -// SetDownlinkBandwidthBits sets the DownlinkBandwidthBits field's value. -func (s *UpdateNetworkProfileInput) SetDownlinkBandwidthBits(v int64) *UpdateNetworkProfileInput { - s.DownlinkBandwidthBits = &v - return s -} - -// SetDownlinkDelayMs sets the DownlinkDelayMs field's value. -func (s *UpdateNetworkProfileInput) SetDownlinkDelayMs(v int64) *UpdateNetworkProfileInput { - s.DownlinkDelayMs = &v - return s -} - -// SetDownlinkJitterMs sets the DownlinkJitterMs field's value. -func (s *UpdateNetworkProfileInput) SetDownlinkJitterMs(v int64) *UpdateNetworkProfileInput { - s.DownlinkJitterMs = &v - return s -} - -// SetDownlinkLossPercent sets the DownlinkLossPercent field's value. -func (s *UpdateNetworkProfileInput) SetDownlinkLossPercent(v int64) *UpdateNetworkProfileInput { - s.DownlinkLossPercent = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateNetworkProfileInput) SetName(v string) *UpdateNetworkProfileInput { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *UpdateNetworkProfileInput) SetType(v NetworkProfileType) *UpdateNetworkProfileInput { - s.Type = v - return s -} - -// SetUplinkBandwidthBits sets the UplinkBandwidthBits field's value. -func (s *UpdateNetworkProfileInput) SetUplinkBandwidthBits(v int64) *UpdateNetworkProfileInput { - s.UplinkBandwidthBits = &v - return s -} - -// SetUplinkDelayMs sets the UplinkDelayMs field's value. -func (s *UpdateNetworkProfileInput) SetUplinkDelayMs(v int64) *UpdateNetworkProfileInput { - s.UplinkDelayMs = &v - return s -} - -// SetUplinkJitterMs sets the UplinkJitterMs field's value. -func (s *UpdateNetworkProfileInput) SetUplinkJitterMs(v int64) *UpdateNetworkProfileInput { - s.UplinkJitterMs = &v - return s -} - -// SetUplinkLossPercent sets the UplinkLossPercent field's value. -func (s *UpdateNetworkProfileInput) SetUplinkLossPercent(v int64) *UpdateNetworkProfileInput { - s.UplinkLossPercent = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateNetworkProfileResult type UpdateNetworkProfileOutput struct { _ struct{} `type:"structure"` @@ -10949,12 +8681,6 @@ func (s UpdateNetworkProfileOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNetworkProfile sets the NetworkProfile field's value. -func (s *UpdateNetworkProfileOutput) SetNetworkProfile(v *NetworkProfile) *UpdateNetworkProfileOutput { - s.NetworkProfile = v - return s -} - // Represents a request to the update project operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateProjectRequest type UpdateProjectInput struct { @@ -11000,24 +8726,6 @@ func (s *UpdateProjectInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *UpdateProjectInput) SetArn(v string) *UpdateProjectInput { - s.Arn = &v - return s -} - -// SetDefaultJobTimeoutMinutes sets the DefaultJobTimeoutMinutes field's value. -func (s *UpdateProjectInput) SetDefaultJobTimeoutMinutes(v int64) *UpdateProjectInput { - s.DefaultJobTimeoutMinutes = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateProjectInput) SetName(v string) *UpdateProjectInput { - s.Name = &v - return s -} - // Represents the result of an update project request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateProjectResult type UpdateProjectOutput struct { @@ -11044,12 +8752,6 @@ func (s UpdateProjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetProject sets the Project field's value. -func (s *UpdateProjectOutput) SetProject(v *Project) *UpdateProjectOutput { - s.Project = v - return s -} - // An app or a set of one or more tests to upload or that have been uploaded. // Please also see https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/Upload type Upload struct { @@ -11143,60 +8845,6 @@ func (s Upload) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Upload) SetArn(v string) *Upload { - s.Arn = &v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *Upload) SetContentType(v string) *Upload { - s.ContentType = &v - return s -} - -// SetCreated sets the Created field's value. -func (s *Upload) SetCreated(v time.Time) *Upload { - s.Created = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *Upload) SetMessage(v string) *Upload { - s.Message = &v - return s -} - -// SetMetadata sets the Metadata field's value. -func (s *Upload) SetMetadata(v string) *Upload { - s.Metadata = &v - return s -} - -// SetName sets the Name field's value. -func (s *Upload) SetName(v string) *Upload { - s.Name = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Upload) SetStatus(v UploadStatus) *Upload { - s.Status = v - return s -} - -// SetType sets the Type field's value. -func (s *Upload) SetType(v UploadType) *Upload { - s.Type = v - return s -} - -// SetUrl sets the Url field's value. -func (s *Upload) SetUrl(v string) *Upload { - s.Url = &v - return s -} - type ArtifactCategory string // Enum values for ArtifactCategory diff --git a/service/directconnect/api.go b/service/directconnect/api.go index 4355ec2c509..8fdbff0f670 100644 --- a/service/directconnect/api.go +++ b/service/directconnect/api.go @@ -2551,36 +2551,6 @@ func (s *AllocateConnectionOnInterconnectInput) Validate() error { return nil } -// SetBandwidth sets the Bandwidth field's value. -func (s *AllocateConnectionOnInterconnectInput) SetBandwidth(v string) *AllocateConnectionOnInterconnectInput { - s.Bandwidth = &v - return s -} - -// SetConnectionName sets the ConnectionName field's value. -func (s *AllocateConnectionOnInterconnectInput) SetConnectionName(v string) *AllocateConnectionOnInterconnectInput { - s.ConnectionName = &v - return s -} - -// SetInterconnectId sets the InterconnectId field's value. -func (s *AllocateConnectionOnInterconnectInput) SetInterconnectId(v string) *AllocateConnectionOnInterconnectInput { - s.InterconnectId = &v - return s -} - -// SetOwnerAccount sets the OwnerAccount field's value. -func (s *AllocateConnectionOnInterconnectInput) SetOwnerAccount(v string) *AllocateConnectionOnInterconnectInput { - s.OwnerAccount = &v - return s -} - -// SetVlan sets the Vlan field's value. -func (s *AllocateConnectionOnInterconnectInput) SetVlan(v int64) *AllocateConnectionOnInterconnectInput { - s.Vlan = &v - return s -} - // Container for the parameters to theHostedConnection operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateHostedConnectionRequest type AllocateHostedConnectionInput struct { @@ -2674,36 +2644,6 @@ func (s *AllocateHostedConnectionInput) Validate() error { return nil } -// SetBandwidth sets the Bandwidth field's value. -func (s *AllocateHostedConnectionInput) SetBandwidth(v string) *AllocateHostedConnectionInput { - s.Bandwidth = &v - return s -} - -// SetConnectionId sets the ConnectionId field's value. -func (s *AllocateHostedConnectionInput) SetConnectionId(v string) *AllocateHostedConnectionInput { - s.ConnectionId = &v - return s -} - -// SetConnectionName sets the ConnectionName field's value. -func (s *AllocateHostedConnectionInput) SetConnectionName(v string) *AllocateHostedConnectionInput { - s.ConnectionName = &v - return s -} - -// SetOwnerAccount sets the OwnerAccount field's value. -func (s *AllocateHostedConnectionInput) SetOwnerAccount(v string) *AllocateHostedConnectionInput { - s.OwnerAccount = &v - return s -} - -// SetVlan sets the Vlan field's value. -func (s *AllocateHostedConnectionInput) SetVlan(v int64) *AllocateHostedConnectionInput { - s.Vlan = &v - return s -} - // Container for the parameters to the AllocatePrivateVirtualInterface operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePrivateVirtualInterfaceRequest type AllocatePrivateVirtualInterfaceInput struct { @@ -2768,24 +2708,6 @@ func (s *AllocatePrivateVirtualInterfaceInput) Validate() error { return nil } -// SetConnectionId sets the ConnectionId field's value. -func (s *AllocatePrivateVirtualInterfaceInput) SetConnectionId(v string) *AllocatePrivateVirtualInterfaceInput { - s.ConnectionId = &v - return s -} - -// SetNewPrivateVirtualInterfaceAllocation sets the NewPrivateVirtualInterfaceAllocation field's value. -func (s *AllocatePrivateVirtualInterfaceInput) SetNewPrivateVirtualInterfaceAllocation(v *NewPrivateVirtualInterfaceAllocation) *AllocatePrivateVirtualInterfaceInput { - s.NewPrivateVirtualInterfaceAllocation = v - return s -} - -// SetOwnerAccount sets the OwnerAccount field's value. -func (s *AllocatePrivateVirtualInterfaceInput) SetOwnerAccount(v string) *AllocatePrivateVirtualInterfaceInput { - s.OwnerAccount = &v - return s -} - // Container for the parameters to the AllocatePublicVirtualInterface operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePublicVirtualInterfaceRequest type AllocatePublicVirtualInterfaceInput struct { @@ -2850,24 +2772,6 @@ func (s *AllocatePublicVirtualInterfaceInput) Validate() error { return nil } -// SetConnectionId sets the ConnectionId field's value. -func (s *AllocatePublicVirtualInterfaceInput) SetConnectionId(v string) *AllocatePublicVirtualInterfaceInput { - s.ConnectionId = &v - return s -} - -// SetNewPublicVirtualInterfaceAllocation sets the NewPublicVirtualInterfaceAllocation field's value. -func (s *AllocatePublicVirtualInterfaceInput) SetNewPublicVirtualInterfaceAllocation(v *NewPublicVirtualInterfaceAllocation) *AllocatePublicVirtualInterfaceInput { - s.NewPublicVirtualInterfaceAllocation = v - return s -} - -// SetOwnerAccount sets the OwnerAccount field's value. -func (s *AllocatePublicVirtualInterfaceInput) SetOwnerAccount(v string) *AllocatePublicVirtualInterfaceInput { - s.OwnerAccount = &v - return s -} - // Container for the parameters to the AssociateConnectionWithLag operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateConnectionWithLagRequest type AssociateConnectionWithLagInput struct { @@ -2920,18 +2824,6 @@ func (s *AssociateConnectionWithLagInput) Validate() error { return nil } -// SetConnectionId sets the ConnectionId field's value. -func (s *AssociateConnectionWithLagInput) SetConnectionId(v string) *AssociateConnectionWithLagInput { - s.ConnectionId = &v - return s -} - -// SetLagId sets the LagId field's value. -func (s *AssociateConnectionWithLagInput) SetLagId(v string) *AssociateConnectionWithLagInput { - s.LagId = &v - return s -} - // Container for the parameters to the AssociateHostedConnection operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateHostedConnectionRequest type AssociateHostedConnectionInput struct { @@ -2984,18 +2876,6 @@ func (s *AssociateHostedConnectionInput) Validate() error { return nil } -// SetConnectionId sets the ConnectionId field's value. -func (s *AssociateHostedConnectionInput) SetConnectionId(v string) *AssociateHostedConnectionInput { - s.ConnectionId = &v - return s -} - -// SetParentConnectionId sets the ParentConnectionId field's value. -func (s *AssociateHostedConnectionInput) SetParentConnectionId(v string) *AssociateHostedConnectionInput { - s.ParentConnectionId = &v - return s -} - // Container for the parameters to the AssociateVirtualInterface operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateVirtualInterfaceRequest type AssociateVirtualInterfaceInput struct { @@ -3048,18 +2928,6 @@ func (s *AssociateVirtualInterfaceInput) Validate() error { return nil } -// SetConnectionId sets the ConnectionId field's value. -func (s *AssociateVirtualInterfaceInput) SetConnectionId(v string) *AssociateVirtualInterfaceInput { - s.ConnectionId = &v - return s -} - -// SetVirtualInterfaceId sets the VirtualInterfaceId field's value. -func (s *AssociateVirtualInterfaceInput) SetVirtualInterfaceId(v string) *AssociateVirtualInterfaceInput { - s.VirtualInterfaceId = &v - return s -} - // A structure containing information about a BGP peer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/BGPPeer type BGPPeer struct { @@ -3126,48 +2994,6 @@ func (s BGPPeer) GoString() string { return s.String() } -// SetAddressFamily sets the AddressFamily field's value. -func (s *BGPPeer) SetAddressFamily(v AddressFamily) *BGPPeer { - s.AddressFamily = v - return s -} - -// SetAmazonAddress sets the AmazonAddress field's value. -func (s *BGPPeer) SetAmazonAddress(v string) *BGPPeer { - s.AmazonAddress = &v - return s -} - -// SetAsn sets the Asn field's value. -func (s *BGPPeer) SetAsn(v int64) *BGPPeer { - s.Asn = &v - return s -} - -// SetAuthKey sets the AuthKey field's value. -func (s *BGPPeer) SetAuthKey(v string) *BGPPeer { - s.AuthKey = &v - return s -} - -// SetBgpPeerState sets the BgpPeerState field's value. -func (s *BGPPeer) SetBgpPeerState(v BGPPeerState) *BGPPeer { - s.BgpPeerState = v - return s -} - -// SetBgpStatus sets the BgpStatus field's value. -func (s *BGPPeer) SetBgpStatus(v BGPStatus) *BGPPeer { - s.BgpStatus = v - return s -} - -// SetCustomerAddress sets the CustomerAddress field's value. -func (s *BGPPeer) SetCustomerAddress(v string) *BGPPeer { - s.CustomerAddress = &v - return s -} - // Container for the parameters to the ConfirmConnection operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmConnectionRequest type ConfirmConnectionInput struct { @@ -3208,12 +3034,6 @@ func (s *ConfirmConnectionInput) Validate() error { return nil } -// SetConnectionId sets the ConnectionId field's value. -func (s *ConfirmConnectionInput) SetConnectionId(v string) *ConfirmConnectionInput { - s.ConnectionId = &v - return s -} - // The response received when ConfirmConnection is called. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmConnectionResponse type ConfirmConnectionOutput struct { @@ -3261,12 +3081,6 @@ func (s ConfirmConnectionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConnectionState sets the ConnectionState field's value. -func (s *ConfirmConnectionOutput) SetConnectionState(v ConnectionState) *ConfirmConnectionOutput { - s.ConnectionState = v - return s -} - // Container for the parameters to the ConfirmPrivateVirtualInterface operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPrivateVirtualInterfaceRequest type ConfirmPrivateVirtualInterfaceInput struct { @@ -3323,24 +3137,6 @@ func (s *ConfirmPrivateVirtualInterfaceInput) Validate() error { return nil } -// SetDirectConnectGatewayId sets the DirectConnectGatewayId field's value. -func (s *ConfirmPrivateVirtualInterfaceInput) SetDirectConnectGatewayId(v string) *ConfirmPrivateVirtualInterfaceInput { - s.DirectConnectGatewayId = &v - return s -} - -// SetVirtualGatewayId sets the VirtualGatewayId field's value. -func (s *ConfirmPrivateVirtualInterfaceInput) SetVirtualGatewayId(v string) *ConfirmPrivateVirtualInterfaceInput { - s.VirtualGatewayId = &v - return s -} - -// SetVirtualInterfaceId sets the VirtualInterfaceId field's value. -func (s *ConfirmPrivateVirtualInterfaceInput) SetVirtualInterfaceId(v string) *ConfirmPrivateVirtualInterfaceInput { - s.VirtualInterfaceId = &v - return s -} - // The response received when ConfirmPrivateVirtualInterface is called. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPrivateVirtualInterfaceResponse type ConfirmPrivateVirtualInterfaceOutput struct { @@ -3394,12 +3190,6 @@ func (s ConfirmPrivateVirtualInterfaceOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetVirtualInterfaceState sets the VirtualInterfaceState field's value. -func (s *ConfirmPrivateVirtualInterfaceOutput) SetVirtualInterfaceState(v VirtualInterfaceState) *ConfirmPrivateVirtualInterfaceOutput { - s.VirtualInterfaceState = v - return s -} - // Container for the parameters to the ConfirmPublicVirtualInterface operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPublicVirtualInterfaceRequest type ConfirmPublicVirtualInterfaceInput struct { @@ -3439,12 +3229,6 @@ func (s *ConfirmPublicVirtualInterfaceInput) Validate() error { return nil } -// SetVirtualInterfaceId sets the VirtualInterfaceId field's value. -func (s *ConfirmPublicVirtualInterfaceInput) SetVirtualInterfaceId(v string) *ConfirmPublicVirtualInterfaceInput { - s.VirtualInterfaceId = &v - return s -} - // The response received when ConfirmPublicVirtualInterface is called. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPublicVirtualInterfaceResponse type ConfirmPublicVirtualInterfaceOutput struct { @@ -3498,12 +3282,6 @@ func (s ConfirmPublicVirtualInterfaceOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetVirtualInterfaceState sets the VirtualInterfaceState field's value. -func (s *ConfirmPublicVirtualInterfaceOutput) SetVirtualInterfaceState(v VirtualInterfaceState) *ConfirmPublicVirtualInterfaceOutput { - s.VirtualInterfaceState = v - return s -} - // Container for the parameters to the CreateBGPPeer operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateBGPPeerRequest type CreateBGPPeerInput struct { @@ -3532,18 +3310,6 @@ func (s CreateBGPPeerInput) GoString() string { return s.String() } -// SetNewBGPPeer sets the NewBGPPeer field's value. -func (s *CreateBGPPeerInput) SetNewBGPPeer(v *NewBGPPeer) *CreateBGPPeerInput { - s.NewBGPPeer = v - return s -} - -// SetVirtualInterfaceId sets the VirtualInterfaceId field's value. -func (s *CreateBGPPeerInput) SetVirtualInterfaceId(v string) *CreateBGPPeerInput { - s.VirtualInterfaceId = &v - return s -} - // The response received when CreateBGPPeer is called. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateBGPPeerResponse type CreateBGPPeerOutput struct { @@ -3571,12 +3337,6 @@ func (s CreateBGPPeerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVirtualInterface sets the VirtualInterface field's value. -func (s *CreateBGPPeerOutput) SetVirtualInterface(v *CreatePublicVirtualInterfaceOutput) *CreateBGPPeerOutput { - s.VirtualInterface = v - return s -} - // Container for the parameters to the CreateConnection operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateConnectionRequest type CreateConnectionInput struct { @@ -3647,30 +3407,6 @@ func (s *CreateConnectionInput) Validate() error { return nil } -// SetBandwidth sets the Bandwidth field's value. -func (s *CreateConnectionInput) SetBandwidth(v string) *CreateConnectionInput { - s.Bandwidth = &v - return s -} - -// SetConnectionName sets the ConnectionName field's value. -func (s *CreateConnectionInput) SetConnectionName(v string) *CreateConnectionInput { - s.ConnectionName = &v - return s -} - -// SetLagId sets the LagId field's value. -func (s *CreateConnectionInput) SetLagId(v string) *CreateConnectionInput { - s.LagId = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *CreateConnectionInput) SetLocation(v string) *CreateConnectionInput { - s.Location = &v - return s -} - // Container for the parameters to the CreateDirectConnectGatewayAssociation // operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayAssociationRequest @@ -3724,18 +3460,6 @@ func (s *CreateDirectConnectGatewayAssociationInput) Validate() error { return nil } -// SetDirectConnectGatewayId sets the DirectConnectGatewayId field's value. -func (s *CreateDirectConnectGatewayAssociationInput) SetDirectConnectGatewayId(v string) *CreateDirectConnectGatewayAssociationInput { - s.DirectConnectGatewayId = &v - return s -} - -// SetVirtualGatewayId sets the VirtualGatewayId field's value. -func (s *CreateDirectConnectGatewayAssociationInput) SetVirtualGatewayId(v string) *CreateDirectConnectGatewayAssociationInput { - s.VirtualGatewayId = &v - return s -} - // Container for the response from the CreateDirectConnectGatewayAssociation // API call // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayAssociationResult @@ -3763,12 +3487,6 @@ func (s CreateDirectConnectGatewayAssociationOutput) SDKResponseMetadata() aws.R return s.responseMetadata } -// SetDirectConnectGatewayAssociation sets the DirectConnectGatewayAssociation field's value. -func (s *CreateDirectConnectGatewayAssociationOutput) SetDirectConnectGatewayAssociation(v *GatewayAssociation) *CreateDirectConnectGatewayAssociationOutput { - s.DirectConnectGatewayAssociation = v - return s -} - // Container for the parameters to the CreateDirectConnectGateway operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayRequest type CreateDirectConnectGatewayInput struct { @@ -3817,18 +3535,6 @@ func (s *CreateDirectConnectGatewayInput) Validate() error { return nil } -// SetAmazonSideAsn sets the AmazonSideAsn field's value. -func (s *CreateDirectConnectGatewayInput) SetAmazonSideAsn(v int64) *CreateDirectConnectGatewayInput { - s.AmazonSideAsn = &v - return s -} - -// SetDirectConnectGatewayName sets the DirectConnectGatewayName field's value. -func (s *CreateDirectConnectGatewayInput) SetDirectConnectGatewayName(v string) *CreateDirectConnectGatewayInput { - s.DirectConnectGatewayName = &v - return s -} - // Container for the response from the CreateDirectConnectGateway API call // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayResult type CreateDirectConnectGatewayOutput struct { @@ -3855,12 +3561,6 @@ func (s CreateDirectConnectGatewayOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDirectConnectGateway sets the DirectConnectGateway field's value. -func (s *CreateDirectConnectGatewayOutput) SetDirectConnectGateway(v *Gateway) *CreateDirectConnectGatewayOutput { - s.DirectConnectGateway = v - return s -} - // Container for the parameters to the CreateInterconnect operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateInterconnectRequest type CreateInterconnectInput struct { @@ -3933,30 +3633,6 @@ func (s *CreateInterconnectInput) Validate() error { return nil } -// SetBandwidth sets the Bandwidth field's value. -func (s *CreateInterconnectInput) SetBandwidth(v string) *CreateInterconnectInput { - s.Bandwidth = &v - return s -} - -// SetInterconnectName sets the InterconnectName field's value. -func (s *CreateInterconnectInput) SetInterconnectName(v string) *CreateInterconnectInput { - s.InterconnectName = &v - return s -} - -// SetLagId sets the LagId field's value. -func (s *CreateInterconnectInput) SetLagId(v string) *CreateInterconnectInput { - s.LagId = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *CreateInterconnectInput) SetLocation(v string) *CreateInterconnectInput { - s.Location = &v - return s -} - // An interconnect is a connection that can host other connections. // // Like a standard AWS Direct Connect connection, an interconnect represents @@ -4051,60 +3727,6 @@ func (s CreateInterconnectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAwsDevice sets the AwsDevice field's value. -func (s *CreateInterconnectOutput) SetAwsDevice(v string) *CreateInterconnectOutput { - s.AwsDevice = &v - return s -} - -// SetBandwidth sets the Bandwidth field's value. -func (s *CreateInterconnectOutput) SetBandwidth(v string) *CreateInterconnectOutput { - s.Bandwidth = &v - return s -} - -// SetInterconnectId sets the InterconnectId field's value. -func (s *CreateInterconnectOutput) SetInterconnectId(v string) *CreateInterconnectOutput { - s.InterconnectId = &v - return s -} - -// SetInterconnectName sets the InterconnectName field's value. -func (s *CreateInterconnectOutput) SetInterconnectName(v string) *CreateInterconnectOutput { - s.InterconnectName = &v - return s -} - -// SetInterconnectState sets the InterconnectState field's value. -func (s *CreateInterconnectOutput) SetInterconnectState(v InterconnectState) *CreateInterconnectOutput { - s.InterconnectState = v - return s -} - -// SetLagId sets the LagId field's value. -func (s *CreateInterconnectOutput) SetLagId(v string) *CreateInterconnectOutput { - s.LagId = &v - return s -} - -// SetLoaIssueTime sets the LoaIssueTime field's value. -func (s *CreateInterconnectOutput) SetLoaIssueTime(v time.Time) *CreateInterconnectOutput { - s.LoaIssueTime = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *CreateInterconnectOutput) SetLocation(v string) *CreateInterconnectOutput { - s.Location = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *CreateInterconnectOutput) SetRegion(v string) *CreateInterconnectOutput { - s.Region = &v - return s -} - // Container for the parameters to the CreateLag operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateLagRequest type CreateLagInput struct { @@ -4187,36 +3809,6 @@ func (s *CreateLagInput) Validate() error { return nil } -// SetConnectionId sets the ConnectionId field's value. -func (s *CreateLagInput) SetConnectionId(v string) *CreateLagInput { - s.ConnectionId = &v - return s -} - -// SetConnectionsBandwidth sets the ConnectionsBandwidth field's value. -func (s *CreateLagInput) SetConnectionsBandwidth(v string) *CreateLagInput { - s.ConnectionsBandwidth = &v - return s -} - -// SetLagName sets the LagName field's value. -func (s *CreateLagInput) SetLagName(v string) *CreateLagInput { - s.LagName = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *CreateLagInput) SetLocation(v string) *CreateLagInput { - s.Location = &v - return s -} - -// SetNumberOfConnections sets the NumberOfConnections field's value. -func (s *CreateLagInput) SetNumberOfConnections(v int64) *CreateLagInput { - s.NumberOfConnections = &v - return s -} - // Container for the parameters to the CreatePrivateVirtualInterface operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePrivateVirtualInterfaceRequest type CreatePrivateVirtualInterfaceInput struct { @@ -4273,18 +3865,6 @@ func (s *CreatePrivateVirtualInterfaceInput) Validate() error { return nil } -// SetConnectionId sets the ConnectionId field's value. -func (s *CreatePrivateVirtualInterfaceInput) SetConnectionId(v string) *CreatePrivateVirtualInterfaceInput { - s.ConnectionId = &v - return s -} - -// SetNewPrivateVirtualInterface sets the NewPrivateVirtualInterface field's value. -func (s *CreatePrivateVirtualInterfaceInput) SetNewPrivateVirtualInterface(v *NewPrivateVirtualInterface) *CreatePrivateVirtualInterfaceInput { - s.NewPrivateVirtualInterface = v - return s -} - // Container for the parameters to the CreatePublicVirtualInterface operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePublicVirtualInterfaceRequest type CreatePublicVirtualInterfaceInput struct { @@ -4341,18 +3921,6 @@ func (s *CreatePublicVirtualInterfaceInput) Validate() error { return nil } -// SetConnectionId sets the ConnectionId field's value. -func (s *CreatePublicVirtualInterfaceInput) SetConnectionId(v string) *CreatePublicVirtualInterfaceInput { - s.ConnectionId = &v - return s -} - -// SetNewPublicVirtualInterface sets the NewPublicVirtualInterface field's value. -func (s *CreatePublicVirtualInterfaceInput) SetNewPublicVirtualInterface(v *NewPublicVirtualInterface) *CreatePublicVirtualInterfaceInput { - s.NewPublicVirtualInterface = v - return s -} - // A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect // location and the customer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePrivateVirtualInterfaceOutput @@ -4499,120 +4067,6 @@ func (s CreatePublicVirtualInterfaceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAddressFamily sets the AddressFamily field's value. -func (s *CreatePublicVirtualInterfaceOutput) SetAddressFamily(v AddressFamily) *CreatePublicVirtualInterfaceOutput { - s.AddressFamily = v - return s -} - -// SetAmazonAddress sets the AmazonAddress field's value. -func (s *CreatePublicVirtualInterfaceOutput) SetAmazonAddress(v string) *CreatePublicVirtualInterfaceOutput { - s.AmazonAddress = &v - return s -} - -// SetAmazonSideAsn sets the AmazonSideAsn field's value. -func (s *CreatePublicVirtualInterfaceOutput) SetAmazonSideAsn(v int64) *CreatePublicVirtualInterfaceOutput { - s.AmazonSideAsn = &v - return s -} - -// SetAsn sets the Asn field's value. -func (s *CreatePublicVirtualInterfaceOutput) SetAsn(v int64) *CreatePublicVirtualInterfaceOutput { - s.Asn = &v - return s -} - -// SetAuthKey sets the AuthKey field's value. -func (s *CreatePublicVirtualInterfaceOutput) SetAuthKey(v string) *CreatePublicVirtualInterfaceOutput { - s.AuthKey = &v - return s -} - -// SetBgpPeers sets the BgpPeers field's value. -func (s *CreatePublicVirtualInterfaceOutput) SetBgpPeers(v []BGPPeer) *CreatePublicVirtualInterfaceOutput { - s.BgpPeers = v - return s -} - -// SetConnectionId sets the ConnectionId field's value. -func (s *CreatePublicVirtualInterfaceOutput) SetConnectionId(v string) *CreatePublicVirtualInterfaceOutput { - s.ConnectionId = &v - return s -} - -// SetCustomerAddress sets the CustomerAddress field's value. -func (s *CreatePublicVirtualInterfaceOutput) SetCustomerAddress(v string) *CreatePublicVirtualInterfaceOutput { - s.CustomerAddress = &v - return s -} - -// SetCustomerRouterConfig sets the CustomerRouterConfig field's value. -func (s *CreatePublicVirtualInterfaceOutput) SetCustomerRouterConfig(v string) *CreatePublicVirtualInterfaceOutput { - s.CustomerRouterConfig = &v - return s -} - -// SetDirectConnectGatewayId sets the DirectConnectGatewayId field's value. -func (s *CreatePublicVirtualInterfaceOutput) SetDirectConnectGatewayId(v string) *CreatePublicVirtualInterfaceOutput { - s.DirectConnectGatewayId = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *CreatePublicVirtualInterfaceOutput) SetLocation(v string) *CreatePublicVirtualInterfaceOutput { - s.Location = &v - return s -} - -// SetOwnerAccount sets the OwnerAccount field's value. -func (s *CreatePublicVirtualInterfaceOutput) SetOwnerAccount(v string) *CreatePublicVirtualInterfaceOutput { - s.OwnerAccount = &v - return s -} - -// SetRouteFilterPrefixes sets the RouteFilterPrefixes field's value. -func (s *CreatePublicVirtualInterfaceOutput) SetRouteFilterPrefixes(v []RouteFilterPrefix) *CreatePublicVirtualInterfaceOutput { - s.RouteFilterPrefixes = v - return s -} - -// SetVirtualGatewayId sets the VirtualGatewayId field's value. -func (s *CreatePublicVirtualInterfaceOutput) SetVirtualGatewayId(v string) *CreatePublicVirtualInterfaceOutput { - s.VirtualGatewayId = &v - return s -} - -// SetVirtualInterfaceId sets the VirtualInterfaceId field's value. -func (s *CreatePublicVirtualInterfaceOutput) SetVirtualInterfaceId(v string) *CreatePublicVirtualInterfaceOutput { - s.VirtualInterfaceId = &v - return s -} - -// SetVirtualInterfaceName sets the VirtualInterfaceName field's value. -func (s *CreatePublicVirtualInterfaceOutput) SetVirtualInterfaceName(v string) *CreatePublicVirtualInterfaceOutput { - s.VirtualInterfaceName = &v - return s -} - -// SetVirtualInterfaceState sets the VirtualInterfaceState field's value. -func (s *CreatePublicVirtualInterfaceOutput) SetVirtualInterfaceState(v VirtualInterfaceState) *CreatePublicVirtualInterfaceOutput { - s.VirtualInterfaceState = v - return s -} - -// SetVirtualInterfaceType sets the VirtualInterfaceType field's value. -func (s *CreatePublicVirtualInterfaceOutput) SetVirtualInterfaceType(v string) *CreatePublicVirtualInterfaceOutput { - s.VirtualInterfaceType = &v - return s -} - -// SetVlan sets the Vlan field's value. -func (s *CreatePublicVirtualInterfaceOutput) SetVlan(v int64) *CreatePublicVirtualInterfaceOutput { - s.Vlan = &v - return s -} - // Container for the parameters to the DeleteBGPPeer operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteBGPPeerRequest type DeleteBGPPeerInput struct { @@ -4646,24 +4100,6 @@ func (s DeleteBGPPeerInput) GoString() string { return s.String() } -// SetAsn sets the Asn field's value. -func (s *DeleteBGPPeerInput) SetAsn(v int64) *DeleteBGPPeerInput { - s.Asn = &v - return s -} - -// SetCustomerAddress sets the CustomerAddress field's value. -func (s *DeleteBGPPeerInput) SetCustomerAddress(v string) *DeleteBGPPeerInput { - s.CustomerAddress = &v - return s -} - -// SetVirtualInterfaceId sets the VirtualInterfaceId field's value. -func (s *DeleteBGPPeerInput) SetVirtualInterfaceId(v string) *DeleteBGPPeerInput { - s.VirtualInterfaceId = &v - return s -} - // The response received when DeleteBGPPeer is called. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteBGPPeerResponse type DeleteBGPPeerOutput struct { @@ -4691,12 +4127,6 @@ func (s DeleteBGPPeerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVirtualInterface sets the VirtualInterface field's value. -func (s *DeleteBGPPeerOutput) SetVirtualInterface(v *CreatePublicVirtualInterfaceOutput) *DeleteBGPPeerOutput { - s.VirtualInterface = v - return s -} - // Container for the parameters to the DeleteConnection operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteConnectionRequest type DeleteConnectionInput struct { @@ -4737,12 +4167,6 @@ func (s *DeleteConnectionInput) Validate() error { return nil } -// SetConnectionId sets the ConnectionId field's value. -func (s *DeleteConnectionInput) SetConnectionId(v string) *DeleteConnectionInput { - s.ConnectionId = &v - return s -} - // Container for the parameters to the DeleteDirectConnectGatewayAssociation // operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayAssociationRequest @@ -4796,18 +4220,6 @@ func (s *DeleteDirectConnectGatewayAssociationInput) Validate() error { return nil } -// SetDirectConnectGatewayId sets the DirectConnectGatewayId field's value. -func (s *DeleteDirectConnectGatewayAssociationInput) SetDirectConnectGatewayId(v string) *DeleteDirectConnectGatewayAssociationInput { - s.DirectConnectGatewayId = &v - return s -} - -// SetVirtualGatewayId sets the VirtualGatewayId field's value. -func (s *DeleteDirectConnectGatewayAssociationInput) SetVirtualGatewayId(v string) *DeleteDirectConnectGatewayAssociationInput { - s.VirtualGatewayId = &v - return s -} - // Container for the response from the DeleteDirectConnectGatewayAssociation // API call // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayAssociationResult @@ -4835,12 +4247,6 @@ func (s DeleteDirectConnectGatewayAssociationOutput) SDKResponseMetadata() aws.R return s.responseMetadata } -// SetDirectConnectGatewayAssociation sets the DirectConnectGatewayAssociation field's value. -func (s *DeleteDirectConnectGatewayAssociationOutput) SetDirectConnectGatewayAssociation(v *GatewayAssociation) *DeleteDirectConnectGatewayAssociationOutput { - s.DirectConnectGatewayAssociation = v - return s -} - // Container for the parameters to the DeleteDirectConnectGateway operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayRequest type DeleteDirectConnectGatewayInput struct { @@ -4880,12 +4286,6 @@ func (s *DeleteDirectConnectGatewayInput) Validate() error { return nil } -// SetDirectConnectGatewayId sets the DirectConnectGatewayId field's value. -func (s *DeleteDirectConnectGatewayInput) SetDirectConnectGatewayId(v string) *DeleteDirectConnectGatewayInput { - s.DirectConnectGatewayId = &v - return s -} - // Container for the response from the DeleteDirectConnectGateway API call // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayResult type DeleteDirectConnectGatewayOutput struct { @@ -4912,12 +4312,6 @@ func (s DeleteDirectConnectGatewayOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDirectConnectGateway sets the DirectConnectGateway field's value. -func (s *DeleteDirectConnectGatewayOutput) SetDirectConnectGateway(v *Gateway) *DeleteDirectConnectGatewayOutput { - s.DirectConnectGateway = v - return s -} - // Container for the parameters to the DeleteInterconnect operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteInterconnectRequest type DeleteInterconnectInput struct { @@ -4955,12 +4349,6 @@ func (s *DeleteInterconnectInput) Validate() error { return nil } -// SetInterconnectId sets the InterconnectId field's value. -func (s *DeleteInterconnectInput) SetInterconnectId(v string) *DeleteInterconnectInput { - s.InterconnectId = &v - return s -} - // The response received when DeleteInterconnect is called. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteInterconnectResponse type DeleteInterconnectOutput struct { @@ -5002,12 +4390,6 @@ func (s DeleteInterconnectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInterconnectState sets the InterconnectState field's value. -func (s *DeleteInterconnectOutput) SetInterconnectState(v InterconnectState) *DeleteInterconnectOutput { - s.InterconnectState = v - return s -} - // Container for the parameters to the DeleteLag operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteLagRequest type DeleteLagInput struct { @@ -5047,12 +4429,6 @@ func (s *DeleteLagInput) Validate() error { return nil } -// SetLagId sets the LagId field's value. -func (s *DeleteLagInput) SetLagId(v string) *DeleteLagInput { - s.LagId = &v - return s -} - // Container for the parameters to the DeleteVirtualInterface operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteVirtualInterfaceRequest type DeleteVirtualInterfaceInput struct { @@ -5092,12 +4468,6 @@ func (s *DeleteVirtualInterfaceInput) Validate() error { return nil } -// SetVirtualInterfaceId sets the VirtualInterfaceId field's value. -func (s *DeleteVirtualInterfaceInput) SetVirtualInterfaceId(v string) *DeleteVirtualInterfaceInput { - s.VirtualInterfaceId = &v - return s -} - // The response received when DeleteVirtualInterface is called. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteVirtualInterfaceResponse type DeleteVirtualInterfaceOutput struct { @@ -5151,12 +4521,6 @@ func (s DeleteVirtualInterfaceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVirtualInterfaceState sets the VirtualInterfaceState field's value. -func (s *DeleteVirtualInterfaceOutput) SetVirtualInterfaceState(v VirtualInterfaceState) *DeleteVirtualInterfaceOutput { - s.VirtualInterfaceState = v - return s -} - // Container for the parameters to the DescribeConnectionLoa operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionLoaRequest type DescribeConnectionLoaInput struct { @@ -5210,24 +4574,6 @@ func (s *DescribeConnectionLoaInput) Validate() error { return nil } -// SetConnectionId sets the ConnectionId field's value. -func (s *DescribeConnectionLoaInput) SetConnectionId(v string) *DescribeConnectionLoaInput { - s.ConnectionId = &v - return s -} - -// SetLoaContentType sets the LoaContentType field's value. -func (s *DescribeConnectionLoaInput) SetLoaContentType(v LoaContentType) *DescribeConnectionLoaInput { - s.LoaContentType = v - return s -} - -// SetProviderName sets the ProviderName field's value. -func (s *DescribeConnectionLoaInput) SetProviderName(v string) *DescribeConnectionLoaInput { - s.ProviderName = &v - return s -} - // The response received when DescribeConnectionLoa is called. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionLoaResponse type DescribeConnectionLoaOutput struct { @@ -5255,12 +4601,6 @@ func (s DescribeConnectionLoaOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLoa sets the Loa field's value. -func (s *DescribeConnectionLoaOutput) SetLoa(v *DescribeLoaOutput) *DescribeConnectionLoaOutput { - s.Loa = v - return s -} - // Container for the parameters to the DescribeConnections operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsRequest type DescribeConnectionsInput struct { @@ -5285,12 +4625,6 @@ func (s DescribeConnectionsInput) GoString() string { return s.String() } -// SetConnectionId sets the ConnectionId field's value. -func (s *DescribeConnectionsInput) SetConnectionId(v string) *DescribeConnectionsInput { - s.ConnectionId = &v - return s -} - // Container for the parameters to the DescribeConnectionsOnInterconnect operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsOnInterconnectRequest type DescribeConnectionsOnInterconnectInput struct { @@ -5330,12 +4664,6 @@ func (s *DescribeConnectionsOnInterconnectInput) Validate() error { return nil } -// SetInterconnectId sets the InterconnectId field's value. -func (s *DescribeConnectionsOnInterconnectInput) SetInterconnectId(v string) *DescribeConnectionsOnInterconnectInput { - s.InterconnectId = &v - return s -} - // Container for the parameters to the DescribeDirectConnectGatewayAssociations // operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAssociationsRequest @@ -5380,30 +4708,6 @@ func (s DescribeDirectConnectGatewayAssociationsInput) GoString() string { return s.String() } -// SetDirectConnectGatewayId sets the DirectConnectGatewayId field's value. -func (s *DescribeDirectConnectGatewayAssociationsInput) SetDirectConnectGatewayId(v string) *DescribeDirectConnectGatewayAssociationsInput { - s.DirectConnectGatewayId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeDirectConnectGatewayAssociationsInput) SetMaxResults(v int64) *DescribeDirectConnectGatewayAssociationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeDirectConnectGatewayAssociationsInput) SetNextToken(v string) *DescribeDirectConnectGatewayAssociationsInput { - s.NextToken = &v - return s -} - -// SetVirtualGatewayId sets the VirtualGatewayId field's value. -func (s *DescribeDirectConnectGatewayAssociationsInput) SetVirtualGatewayId(v string) *DescribeDirectConnectGatewayAssociationsInput { - s.VirtualGatewayId = &v - return s -} - // Container for the response from the DescribeDirectConnectGatewayAssociations // API call // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAssociationsResult @@ -5434,18 +4738,6 @@ func (s DescribeDirectConnectGatewayAssociationsOutput) SDKResponseMetadata() aw return s.responseMetadata } -// SetDirectConnectGatewayAssociations sets the DirectConnectGatewayAssociations field's value. -func (s *DescribeDirectConnectGatewayAssociationsOutput) SetDirectConnectGatewayAssociations(v []GatewayAssociation) *DescribeDirectConnectGatewayAssociationsOutput { - s.DirectConnectGatewayAssociations = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeDirectConnectGatewayAssociationsOutput) SetNextToken(v string) *DescribeDirectConnectGatewayAssociationsOutput { - s.NextToken = &v - return s -} - // Container for the parameters to the DescribeDirectConnectGatewayAttachments // operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAttachmentsRequest @@ -5490,30 +4782,6 @@ func (s DescribeDirectConnectGatewayAttachmentsInput) GoString() string { return s.String() } -// SetDirectConnectGatewayId sets the DirectConnectGatewayId field's value. -func (s *DescribeDirectConnectGatewayAttachmentsInput) SetDirectConnectGatewayId(v string) *DescribeDirectConnectGatewayAttachmentsInput { - s.DirectConnectGatewayId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeDirectConnectGatewayAttachmentsInput) SetMaxResults(v int64) *DescribeDirectConnectGatewayAttachmentsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeDirectConnectGatewayAttachmentsInput) SetNextToken(v string) *DescribeDirectConnectGatewayAttachmentsInput { - s.NextToken = &v - return s -} - -// SetVirtualInterfaceId sets the VirtualInterfaceId field's value. -func (s *DescribeDirectConnectGatewayAttachmentsInput) SetVirtualInterfaceId(v string) *DescribeDirectConnectGatewayAttachmentsInput { - s.VirtualInterfaceId = &v - return s -} - // Container for the response from the DescribeDirectConnectGatewayAttachments // API call // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAttachmentsResult @@ -5544,18 +4812,6 @@ func (s DescribeDirectConnectGatewayAttachmentsOutput) SDKResponseMetadata() aws return s.responseMetadata } -// SetDirectConnectGatewayAttachments sets the DirectConnectGatewayAttachments field's value. -func (s *DescribeDirectConnectGatewayAttachmentsOutput) SetDirectConnectGatewayAttachments(v []GatewayAttachment) *DescribeDirectConnectGatewayAttachmentsOutput { - s.DirectConnectGatewayAttachments = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeDirectConnectGatewayAttachmentsOutput) SetNextToken(v string) *DescribeDirectConnectGatewayAttachmentsOutput { - s.NextToken = &v - return s -} - // Container for the parameters to the DescribeDirectConnectGateways operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewaysRequest type DescribeDirectConnectGatewaysInput struct { @@ -5592,24 +4848,6 @@ func (s DescribeDirectConnectGatewaysInput) GoString() string { return s.String() } -// SetDirectConnectGatewayId sets the DirectConnectGatewayId field's value. -func (s *DescribeDirectConnectGatewaysInput) SetDirectConnectGatewayId(v string) *DescribeDirectConnectGatewaysInput { - s.DirectConnectGatewayId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeDirectConnectGatewaysInput) SetMaxResults(v int64) *DescribeDirectConnectGatewaysInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeDirectConnectGatewaysInput) SetNextToken(v string) *DescribeDirectConnectGatewaysInput { - s.NextToken = &v - return s -} - // Container for the response from the DescribeDirectConnectGateways API call // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewaysResult type DescribeDirectConnectGatewaysOutput struct { @@ -5639,18 +4877,6 @@ func (s DescribeDirectConnectGatewaysOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetDirectConnectGateways sets the DirectConnectGateways field's value. -func (s *DescribeDirectConnectGatewaysOutput) SetDirectConnectGateways(v []Gateway) *DescribeDirectConnectGatewaysOutput { - s.DirectConnectGateways = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeDirectConnectGatewaysOutput) SetNextToken(v string) *DescribeDirectConnectGatewaysOutput { - s.NextToken = &v - return s -} - // Container for the parameters to the DescribeHostedConnections operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeHostedConnectionsRequest type DescribeHostedConnectionsInput struct { @@ -5690,12 +4916,6 @@ func (s *DescribeHostedConnectionsInput) Validate() error { return nil } -// SetConnectionId sets the ConnectionId field's value. -func (s *DescribeHostedConnectionsInput) SetConnectionId(v string) *DescribeHostedConnectionsInput { - s.ConnectionId = &v - return s -} - // A structure containing a list of connections. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsOnInterconnectOutput type DescribeHostedConnectionsOutput struct { @@ -5722,12 +4942,6 @@ func (s DescribeHostedConnectionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConnections sets the Connections field's value. -func (s *DescribeHostedConnectionsOutput) SetConnections(v []DisassociateConnectionFromLagOutput) *DescribeHostedConnectionsOutput { - s.Connections = v - return s -} - // Container for the parameters to the DescribeInterconnectLoa operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnectLoaRequest type DescribeInterconnectLoaInput struct { @@ -5778,24 +4992,6 @@ func (s *DescribeInterconnectLoaInput) Validate() error { return nil } -// SetInterconnectId sets the InterconnectId field's value. -func (s *DescribeInterconnectLoaInput) SetInterconnectId(v string) *DescribeInterconnectLoaInput { - s.InterconnectId = &v - return s -} - -// SetLoaContentType sets the LoaContentType field's value. -func (s *DescribeInterconnectLoaInput) SetLoaContentType(v LoaContentType) *DescribeInterconnectLoaInput { - s.LoaContentType = v - return s -} - -// SetProviderName sets the ProviderName field's value. -func (s *DescribeInterconnectLoaInput) SetProviderName(v string) *DescribeInterconnectLoaInput { - s.ProviderName = &v - return s -} - // The response received when DescribeInterconnectLoa is called. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnectLoaResponse type DescribeInterconnectLoaOutput struct { @@ -5823,12 +5019,6 @@ func (s DescribeInterconnectLoaOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLoa sets the Loa field's value. -func (s *DescribeInterconnectLoaOutput) SetLoa(v *DescribeLoaOutput) *DescribeInterconnectLoaOutput { - s.Loa = v - return s -} - // Container for the parameters to the DescribeInterconnects operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnectsRequest type DescribeInterconnectsInput struct { @@ -5850,12 +5040,6 @@ func (s DescribeInterconnectsInput) GoString() string { return s.String() } -// SetInterconnectId sets the InterconnectId field's value. -func (s *DescribeInterconnectsInput) SetInterconnectId(v string) *DescribeInterconnectsInput { - s.InterconnectId = &v - return s -} - // A structure containing a list of interconnects. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Interconnects type DescribeInterconnectsOutput struct { @@ -5882,12 +5066,6 @@ func (s DescribeInterconnectsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInterconnects sets the Interconnects field's value. -func (s *DescribeInterconnectsOutput) SetInterconnects(v []CreateInterconnectOutput) *DescribeInterconnectsOutput { - s.Interconnects = v - return s -} - // Container for the parameters to the DescribeLags operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLagsRequest type DescribeLagsInput struct { @@ -5911,12 +5089,6 @@ func (s DescribeLagsInput) GoString() string { return s.String() } -// SetLagId sets the LagId field's value. -func (s *DescribeLagsInput) SetLagId(v string) *DescribeLagsInput { - s.LagId = &v - return s -} - // A structure containing a list of LAGs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Lags type DescribeLagsOutput struct { @@ -5943,12 +5115,6 @@ func (s DescribeLagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLags sets the Lags field's value. -func (s *DescribeLagsOutput) SetLags(v []UpdateLagOutput) *DescribeLagsOutput { - s.Lags = v - return s -} - // Container for the parameters to the DescribeLoa operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLoaRequest type DescribeLoaInput struct { @@ -6002,24 +5168,6 @@ func (s *DescribeLoaInput) Validate() error { return nil } -// SetConnectionId sets the ConnectionId field's value. -func (s *DescribeLoaInput) SetConnectionId(v string) *DescribeLoaInput { - s.ConnectionId = &v - return s -} - -// SetLoaContentType sets the LoaContentType field's value. -func (s *DescribeLoaInput) SetLoaContentType(v LoaContentType) *DescribeLoaInput { - s.LoaContentType = v - return s -} - -// SetProviderName sets the ProviderName field's value. -func (s *DescribeLoaInput) SetProviderName(v string) *DescribeLoaInput { - s.ProviderName = &v - return s -} - // A structure containing the Letter of Authorization - Connecting Facility // Assignment (LOA-CFA) for a connection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Loa @@ -6055,18 +5203,6 @@ func (s DescribeLoaOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLoaContent sets the LoaContent field's value. -func (s *DescribeLoaOutput) SetLoaContent(v []byte) *DescribeLoaOutput { - s.LoaContent = v - return s -} - -// SetLoaContentType sets the LoaContentType field's value. -func (s *DescribeLoaOutput) SetLoaContentType(v LoaContentType) *DescribeLoaOutput { - s.LoaContentType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLocationsInput type DescribeLocationsInput struct { _ struct{} `type:"structure"` @@ -6112,12 +5248,6 @@ func (s DescribeLocationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLocations sets the Locations field's value. -func (s *DescribeLocationsOutput) SetLocations(v []Location) *DescribeLocationsOutput { - s.Locations = v - return s -} - // Container for the parameters to the DescribeTags operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeTagsRequest type DescribeTagsInput struct { @@ -6153,12 +5283,6 @@ func (s *DescribeTagsInput) Validate() error { return nil } -// SetResourceArns sets the ResourceArns field's value. -func (s *DescribeTagsInput) SetResourceArns(v []string) *DescribeTagsInput { - s.ResourceArns = v - return s -} - // The response received when DescribeTags is called. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeTagsResponse type DescribeTagsOutput struct { @@ -6185,12 +5309,6 @@ func (s DescribeTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResourceTags sets the ResourceTags field's value. -func (s *DescribeTagsOutput) SetResourceTags(v []ResourceTag) *DescribeTagsOutput { - s.ResourceTags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualGatewaysInput type DescribeVirtualGatewaysInput struct { _ struct{} `type:"structure"` @@ -6232,12 +5350,6 @@ func (s DescribeVirtualGatewaysOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVirtualGateways sets the VirtualGateways field's value. -func (s *DescribeVirtualGatewaysOutput) SetVirtualGateways(v []VirtualGateway) *DescribeVirtualGatewaysOutput { - s.VirtualGateways = v - return s -} - // Container for the parameters to the DescribeVirtualInterfaces operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualInterfacesRequest type DescribeVirtualInterfacesInput struct { @@ -6269,18 +5381,6 @@ func (s DescribeVirtualInterfacesInput) GoString() string { return s.String() } -// SetConnectionId sets the ConnectionId field's value. -func (s *DescribeVirtualInterfacesInput) SetConnectionId(v string) *DescribeVirtualInterfacesInput { - s.ConnectionId = &v - return s -} - -// SetVirtualInterfaceId sets the VirtualInterfaceId field's value. -func (s *DescribeVirtualInterfacesInput) SetVirtualInterfaceId(v string) *DescribeVirtualInterfacesInput { - s.VirtualInterfaceId = &v - return s -} - // A structure containing a list of virtual interfaces. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/VirtualInterfaces type DescribeVirtualInterfacesOutput struct { @@ -6307,12 +5407,6 @@ func (s DescribeVirtualInterfacesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVirtualInterfaces sets the VirtualInterfaces field's value. -func (s *DescribeVirtualInterfacesOutput) SetVirtualInterfaces(v []CreatePublicVirtualInterfaceOutput) *DescribeVirtualInterfacesOutput { - s.VirtualInterfaces = v - return s -} - // Container for the parameters to the DisassociateConnectionFromLag operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateConnectionFromLagRequest type DisassociateConnectionFromLagInput struct { @@ -6365,18 +5459,6 @@ func (s *DisassociateConnectionFromLagInput) Validate() error { return nil } -// SetConnectionId sets the ConnectionId field's value. -func (s *DisassociateConnectionFromLagInput) SetConnectionId(v string) *DisassociateConnectionFromLagInput { - s.ConnectionId = &v - return s -} - -// SetLagId sets the LagId field's value. -func (s *DisassociateConnectionFromLagInput) SetLagId(v string) *DisassociateConnectionFromLagInput { - s.LagId = &v - return s -} - // A connection represents the physical network connection between the AWS Direct // Connect location and the customer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteConnectionOutput @@ -6483,78 +5565,6 @@ func (s DisassociateConnectionFromLagOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetAwsDevice sets the AwsDevice field's value. -func (s *DisassociateConnectionFromLagOutput) SetAwsDevice(v string) *DisassociateConnectionFromLagOutput { - s.AwsDevice = &v - return s -} - -// SetBandwidth sets the Bandwidth field's value. -func (s *DisassociateConnectionFromLagOutput) SetBandwidth(v string) *DisassociateConnectionFromLagOutput { - s.Bandwidth = &v - return s -} - -// SetConnectionId sets the ConnectionId field's value. -func (s *DisassociateConnectionFromLagOutput) SetConnectionId(v string) *DisassociateConnectionFromLagOutput { - s.ConnectionId = &v - return s -} - -// SetConnectionName sets the ConnectionName field's value. -func (s *DisassociateConnectionFromLagOutput) SetConnectionName(v string) *DisassociateConnectionFromLagOutput { - s.ConnectionName = &v - return s -} - -// SetConnectionState sets the ConnectionState field's value. -func (s *DisassociateConnectionFromLagOutput) SetConnectionState(v ConnectionState) *DisassociateConnectionFromLagOutput { - s.ConnectionState = v - return s -} - -// SetLagId sets the LagId field's value. -func (s *DisassociateConnectionFromLagOutput) SetLagId(v string) *DisassociateConnectionFromLagOutput { - s.LagId = &v - return s -} - -// SetLoaIssueTime sets the LoaIssueTime field's value. -func (s *DisassociateConnectionFromLagOutput) SetLoaIssueTime(v time.Time) *DisassociateConnectionFromLagOutput { - s.LoaIssueTime = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *DisassociateConnectionFromLagOutput) SetLocation(v string) *DisassociateConnectionFromLagOutput { - s.Location = &v - return s -} - -// SetOwnerAccount sets the OwnerAccount field's value. -func (s *DisassociateConnectionFromLagOutput) SetOwnerAccount(v string) *DisassociateConnectionFromLagOutput { - s.OwnerAccount = &v - return s -} - -// SetPartnerName sets the PartnerName field's value. -func (s *DisassociateConnectionFromLagOutput) SetPartnerName(v string) *DisassociateConnectionFromLagOutput { - s.PartnerName = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *DisassociateConnectionFromLagOutput) SetRegion(v string) *DisassociateConnectionFromLagOutput { - s.Region = &v - return s -} - -// SetVlan sets the Vlan field's value. -func (s *DisassociateConnectionFromLagOutput) SetVlan(v int64) *DisassociateConnectionFromLagOutput { - s.Vlan = &v - return s -} - // A direct connect gateway is an intermediate object that enables you to connect // virtual interfaces and virtual private gateways. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DirectConnectGateway @@ -6604,42 +5614,6 @@ func (s Gateway) GoString() string { return s.String() } -// SetAmazonSideAsn sets the AmazonSideAsn field's value. -func (s *Gateway) SetAmazonSideAsn(v int64) *Gateway { - s.AmazonSideAsn = &v - return s -} - -// SetDirectConnectGatewayId sets the DirectConnectGatewayId field's value. -func (s *Gateway) SetDirectConnectGatewayId(v string) *Gateway { - s.DirectConnectGatewayId = &v - return s -} - -// SetDirectConnectGatewayName sets the DirectConnectGatewayName field's value. -func (s *Gateway) SetDirectConnectGatewayName(v string) *Gateway { - s.DirectConnectGatewayName = &v - return s -} - -// SetDirectConnectGatewayState sets the DirectConnectGatewayState field's value. -func (s *Gateway) SetDirectConnectGatewayState(v GatewayState) *Gateway { - s.DirectConnectGatewayState = v - return s -} - -// SetOwnerAccount sets the OwnerAccount field's value. -func (s *Gateway) SetOwnerAccount(v string) *Gateway { - s.OwnerAccount = &v - return s -} - -// SetStateChangeError sets the StateChangeError field's value. -func (s *Gateway) SetStateChangeError(v string) *Gateway { - s.StateChangeError = &v - return s -} - // The association between a direct connect gateway and virtual private gateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DirectConnectGatewayAssociation type GatewayAssociation struct { @@ -6692,42 +5666,6 @@ func (s GatewayAssociation) GoString() string { return s.String() } -// SetAssociationState sets the AssociationState field's value. -func (s *GatewayAssociation) SetAssociationState(v GatewayAssociationState) *GatewayAssociation { - s.AssociationState = v - return s -} - -// SetDirectConnectGatewayId sets the DirectConnectGatewayId field's value. -func (s *GatewayAssociation) SetDirectConnectGatewayId(v string) *GatewayAssociation { - s.DirectConnectGatewayId = &v - return s -} - -// SetStateChangeError sets the StateChangeError field's value. -func (s *GatewayAssociation) SetStateChangeError(v string) *GatewayAssociation { - s.StateChangeError = &v - return s -} - -// SetVirtualGatewayId sets the VirtualGatewayId field's value. -func (s *GatewayAssociation) SetVirtualGatewayId(v string) *GatewayAssociation { - s.VirtualGatewayId = &v - return s -} - -// SetVirtualGatewayOwnerAccount sets the VirtualGatewayOwnerAccount field's value. -func (s *GatewayAssociation) SetVirtualGatewayOwnerAccount(v string) *GatewayAssociation { - s.VirtualGatewayOwnerAccount = &v - return s -} - -// SetVirtualGatewayRegion sets the VirtualGatewayRegion field's value. -func (s *GatewayAssociation) SetVirtualGatewayRegion(v string) *GatewayAssociation { - s.VirtualGatewayRegion = &v - return s -} - // The association between a direct connect gateway and virtual interface. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DirectConnectGatewayAttachment type GatewayAttachment struct { @@ -6783,42 +5721,6 @@ func (s GatewayAttachment) GoString() string { return s.String() } -// SetAttachmentState sets the AttachmentState field's value. -func (s *GatewayAttachment) SetAttachmentState(v GatewayAttachmentState) *GatewayAttachment { - s.AttachmentState = v - return s -} - -// SetDirectConnectGatewayId sets the DirectConnectGatewayId field's value. -func (s *GatewayAttachment) SetDirectConnectGatewayId(v string) *GatewayAttachment { - s.DirectConnectGatewayId = &v - return s -} - -// SetStateChangeError sets the StateChangeError field's value. -func (s *GatewayAttachment) SetStateChangeError(v string) *GatewayAttachment { - s.StateChangeError = &v - return s -} - -// SetVirtualInterfaceId sets the VirtualInterfaceId field's value. -func (s *GatewayAttachment) SetVirtualInterfaceId(v string) *GatewayAttachment { - s.VirtualInterfaceId = &v - return s -} - -// SetVirtualInterfaceOwnerAccount sets the VirtualInterfaceOwnerAccount field's value. -func (s *GatewayAttachment) SetVirtualInterfaceOwnerAccount(v string) *GatewayAttachment { - s.VirtualInterfaceOwnerAccount = &v - return s -} - -// SetVirtualInterfaceRegion sets the VirtualInterfaceRegion field's value. -func (s *GatewayAttachment) SetVirtualInterfaceRegion(v string) *GatewayAttachment { - s.VirtualInterfaceRegion = &v - return s -} - // An AWS Direct Connect location where connections and interconnects can be // requested. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Location @@ -6843,18 +5745,6 @@ func (s Location) GoString() string { return s.String() } -// SetLocationCode sets the LocationCode field's value. -func (s *Location) SetLocationCode(v string) *Location { - s.LocationCode = &v - return s -} - -// SetLocationName sets the LocationName field's value. -func (s *Location) SetLocationName(v string) *Location { - s.LocationName = &v - return s -} - // A structure containing information about a new BGP peer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewBGPPeer type NewBGPPeer struct { @@ -6898,36 +5788,6 @@ func (s NewBGPPeer) GoString() string { return s.String() } -// SetAddressFamily sets the AddressFamily field's value. -func (s *NewBGPPeer) SetAddressFamily(v AddressFamily) *NewBGPPeer { - s.AddressFamily = v - return s -} - -// SetAmazonAddress sets the AmazonAddress field's value. -func (s *NewBGPPeer) SetAmazonAddress(v string) *NewBGPPeer { - s.AmazonAddress = &v - return s -} - -// SetAsn sets the Asn field's value. -func (s *NewBGPPeer) SetAsn(v int64) *NewBGPPeer { - s.Asn = &v - return s -} - -// SetAuthKey sets the AuthKey field's value. -func (s *NewBGPPeer) SetAuthKey(v string) *NewBGPPeer { - s.AuthKey = &v - return s -} - -// SetCustomerAddress sets the CustomerAddress field's value. -func (s *NewBGPPeer) SetCustomerAddress(v string) *NewBGPPeer { - s.CustomerAddress = &v - return s -} - // A structure containing information about a new private virtual interface. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewPrivateVirtualInterface type NewPrivateVirtualInterface struct { @@ -7020,60 +5880,6 @@ func (s *NewPrivateVirtualInterface) Validate() error { return nil } -// SetAddressFamily sets the AddressFamily field's value. -func (s *NewPrivateVirtualInterface) SetAddressFamily(v AddressFamily) *NewPrivateVirtualInterface { - s.AddressFamily = v - return s -} - -// SetAmazonAddress sets the AmazonAddress field's value. -func (s *NewPrivateVirtualInterface) SetAmazonAddress(v string) *NewPrivateVirtualInterface { - s.AmazonAddress = &v - return s -} - -// SetAsn sets the Asn field's value. -func (s *NewPrivateVirtualInterface) SetAsn(v int64) *NewPrivateVirtualInterface { - s.Asn = &v - return s -} - -// SetAuthKey sets the AuthKey field's value. -func (s *NewPrivateVirtualInterface) SetAuthKey(v string) *NewPrivateVirtualInterface { - s.AuthKey = &v - return s -} - -// SetCustomerAddress sets the CustomerAddress field's value. -func (s *NewPrivateVirtualInterface) SetCustomerAddress(v string) *NewPrivateVirtualInterface { - s.CustomerAddress = &v - return s -} - -// SetDirectConnectGatewayId sets the DirectConnectGatewayId field's value. -func (s *NewPrivateVirtualInterface) SetDirectConnectGatewayId(v string) *NewPrivateVirtualInterface { - s.DirectConnectGatewayId = &v - return s -} - -// SetVirtualGatewayId sets the VirtualGatewayId field's value. -func (s *NewPrivateVirtualInterface) SetVirtualGatewayId(v string) *NewPrivateVirtualInterface { - s.VirtualGatewayId = &v - return s -} - -// SetVirtualInterfaceName sets the VirtualInterfaceName field's value. -func (s *NewPrivateVirtualInterface) SetVirtualInterfaceName(v string) *NewPrivateVirtualInterface { - s.VirtualInterfaceName = &v - return s -} - -// SetVlan sets the Vlan field's value. -func (s *NewPrivateVirtualInterface) SetVlan(v int64) *NewPrivateVirtualInterface { - s.Vlan = &v - return s -} - // A structure containing information about a private virtual interface that // will be provisioned on a connection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewPrivateVirtualInterfaceAllocation @@ -7156,48 +5962,6 @@ func (s *NewPrivateVirtualInterfaceAllocation) Validate() error { return nil } -// SetAddressFamily sets the AddressFamily field's value. -func (s *NewPrivateVirtualInterfaceAllocation) SetAddressFamily(v AddressFamily) *NewPrivateVirtualInterfaceAllocation { - s.AddressFamily = v - return s -} - -// SetAmazonAddress sets the AmazonAddress field's value. -func (s *NewPrivateVirtualInterfaceAllocation) SetAmazonAddress(v string) *NewPrivateVirtualInterfaceAllocation { - s.AmazonAddress = &v - return s -} - -// SetAsn sets the Asn field's value. -func (s *NewPrivateVirtualInterfaceAllocation) SetAsn(v int64) *NewPrivateVirtualInterfaceAllocation { - s.Asn = &v - return s -} - -// SetAuthKey sets the AuthKey field's value. -func (s *NewPrivateVirtualInterfaceAllocation) SetAuthKey(v string) *NewPrivateVirtualInterfaceAllocation { - s.AuthKey = &v - return s -} - -// SetCustomerAddress sets the CustomerAddress field's value. -func (s *NewPrivateVirtualInterfaceAllocation) SetCustomerAddress(v string) *NewPrivateVirtualInterfaceAllocation { - s.CustomerAddress = &v - return s -} - -// SetVirtualInterfaceName sets the VirtualInterfaceName field's value. -func (s *NewPrivateVirtualInterfaceAllocation) SetVirtualInterfaceName(v string) *NewPrivateVirtualInterfaceAllocation { - s.VirtualInterfaceName = &v - return s -} - -// SetVlan sets the Vlan field's value. -func (s *NewPrivateVirtualInterfaceAllocation) SetVlan(v int64) *NewPrivateVirtualInterfaceAllocation { - s.Vlan = &v - return s -} - // A structure containing information about a new public virtual interface. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewPublicVirtualInterface type NewPublicVirtualInterface struct { @@ -7283,54 +6047,6 @@ func (s *NewPublicVirtualInterface) Validate() error { return nil } -// SetAddressFamily sets the AddressFamily field's value. -func (s *NewPublicVirtualInterface) SetAddressFamily(v AddressFamily) *NewPublicVirtualInterface { - s.AddressFamily = v - return s -} - -// SetAmazonAddress sets the AmazonAddress field's value. -func (s *NewPublicVirtualInterface) SetAmazonAddress(v string) *NewPublicVirtualInterface { - s.AmazonAddress = &v - return s -} - -// SetAsn sets the Asn field's value. -func (s *NewPublicVirtualInterface) SetAsn(v int64) *NewPublicVirtualInterface { - s.Asn = &v - return s -} - -// SetAuthKey sets the AuthKey field's value. -func (s *NewPublicVirtualInterface) SetAuthKey(v string) *NewPublicVirtualInterface { - s.AuthKey = &v - return s -} - -// SetCustomerAddress sets the CustomerAddress field's value. -func (s *NewPublicVirtualInterface) SetCustomerAddress(v string) *NewPublicVirtualInterface { - s.CustomerAddress = &v - return s -} - -// SetRouteFilterPrefixes sets the RouteFilterPrefixes field's value. -func (s *NewPublicVirtualInterface) SetRouteFilterPrefixes(v []RouteFilterPrefix) *NewPublicVirtualInterface { - s.RouteFilterPrefixes = v - return s -} - -// SetVirtualInterfaceName sets the VirtualInterfaceName field's value. -func (s *NewPublicVirtualInterface) SetVirtualInterfaceName(v string) *NewPublicVirtualInterface { - s.VirtualInterfaceName = &v - return s -} - -// SetVlan sets the Vlan field's value. -func (s *NewPublicVirtualInterface) SetVlan(v int64) *NewPublicVirtualInterface { - s.Vlan = &v - return s -} - // A structure containing information about a public virtual interface that // will be provisioned on a connection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewPublicVirtualInterfaceAllocation @@ -7417,54 +6133,6 @@ func (s *NewPublicVirtualInterfaceAllocation) Validate() error { return nil } -// SetAddressFamily sets the AddressFamily field's value. -func (s *NewPublicVirtualInterfaceAllocation) SetAddressFamily(v AddressFamily) *NewPublicVirtualInterfaceAllocation { - s.AddressFamily = v - return s -} - -// SetAmazonAddress sets the AmazonAddress field's value. -func (s *NewPublicVirtualInterfaceAllocation) SetAmazonAddress(v string) *NewPublicVirtualInterfaceAllocation { - s.AmazonAddress = &v - return s -} - -// SetAsn sets the Asn field's value. -func (s *NewPublicVirtualInterfaceAllocation) SetAsn(v int64) *NewPublicVirtualInterfaceAllocation { - s.Asn = &v - return s -} - -// SetAuthKey sets the AuthKey field's value. -func (s *NewPublicVirtualInterfaceAllocation) SetAuthKey(v string) *NewPublicVirtualInterfaceAllocation { - s.AuthKey = &v - return s -} - -// SetCustomerAddress sets the CustomerAddress field's value. -func (s *NewPublicVirtualInterfaceAllocation) SetCustomerAddress(v string) *NewPublicVirtualInterfaceAllocation { - s.CustomerAddress = &v - return s -} - -// SetRouteFilterPrefixes sets the RouteFilterPrefixes field's value. -func (s *NewPublicVirtualInterfaceAllocation) SetRouteFilterPrefixes(v []RouteFilterPrefix) *NewPublicVirtualInterfaceAllocation { - s.RouteFilterPrefixes = v - return s -} - -// SetVirtualInterfaceName sets the VirtualInterfaceName field's value. -func (s *NewPublicVirtualInterfaceAllocation) SetVirtualInterfaceName(v string) *NewPublicVirtualInterfaceAllocation { - s.VirtualInterfaceName = &v - return s -} - -// SetVlan sets the Vlan field's value. -func (s *NewPublicVirtualInterfaceAllocation) SetVlan(v int64) *NewPublicVirtualInterfaceAllocation { - s.Vlan = &v - return s -} - // The tags associated with a Direct Connect resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ResourceTag type ResourceTag struct { @@ -7487,18 +6155,6 @@ func (s ResourceTag) GoString() string { return s.String() } -// SetResourceArn sets the ResourceArn field's value. -func (s *ResourceTag) SetResourceArn(v string) *ResourceTag { - s.ResourceArn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *ResourceTag) SetTags(v []Tag) *ResourceTag { - s.Tags = v - return s -} - // A route filter prefix that the customer can advertise through Border Gateway // Protocol (BGP) over a public virtual interface. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/RouteFilterPrefix @@ -7524,12 +6180,6 @@ func (s RouteFilterPrefix) GoString() string { return s.String() } -// SetCidr sets the Cidr field's value. -func (s *RouteFilterPrefix) SetCidr(v string) *RouteFilterPrefix { - s.Cidr = &v - return s -} - // Information about a tag. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Tag type Tag struct { @@ -7571,18 +6221,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Container for the parameters to the TagResource operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/TagResourceRequest type TagResourceInput struct { @@ -7639,18 +6277,6 @@ func (s *TagResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput { - s.ResourceArn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagResourceInput) SetTags(v []Tag) *TagResourceInput { - s.Tags = v - return s -} - // The response received when TagResource is called. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/TagResourceResponse type TagResourceOutput struct { @@ -7718,18 +6344,6 @@ func (s *UntagResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { - s.ResourceArn = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *UntagResourceInput) SetTagKeys(v []string) *UntagResourceInput { - s.TagKeys = v - return s -} - // The response received when UntagResource is called. // Please also see https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UntagResourceResponse type UntagResourceOutput struct { @@ -7805,24 +6419,6 @@ func (s *UpdateLagInput) Validate() error { return nil } -// SetLagId sets the LagId field's value. -func (s *UpdateLagInput) SetLagId(v string) *UpdateLagInput { - s.LagId = &v - return s -} - -// SetLagName sets the LagName field's value. -func (s *UpdateLagInput) SetLagName(v string) *UpdateLagInput { - s.LagName = &v - return s -} - -// SetMinimumLinks sets the MinimumLinks field's value. -func (s *UpdateLagInput) SetMinimumLinks(v int64) *UpdateLagInput { - s.MinimumLinks = &v - return s -} - // Describes a link aggregation group (LAG). A LAG is a connection that uses // the Link Aggregation Control Protocol (LACP) to logically aggregate a bundle // of physical connections. Like an interconnect, it can host other connections. @@ -7919,78 +6515,6 @@ func (s UpdateLagOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAllowsHostedConnections sets the AllowsHostedConnections field's value. -func (s *UpdateLagOutput) SetAllowsHostedConnections(v bool) *UpdateLagOutput { - s.AllowsHostedConnections = &v - return s -} - -// SetAwsDevice sets the AwsDevice field's value. -func (s *UpdateLagOutput) SetAwsDevice(v string) *UpdateLagOutput { - s.AwsDevice = &v - return s -} - -// SetConnections sets the Connections field's value. -func (s *UpdateLagOutput) SetConnections(v []DisassociateConnectionFromLagOutput) *UpdateLagOutput { - s.Connections = v - return s -} - -// SetConnectionsBandwidth sets the ConnectionsBandwidth field's value. -func (s *UpdateLagOutput) SetConnectionsBandwidth(v string) *UpdateLagOutput { - s.ConnectionsBandwidth = &v - return s -} - -// SetLagId sets the LagId field's value. -func (s *UpdateLagOutput) SetLagId(v string) *UpdateLagOutput { - s.LagId = &v - return s -} - -// SetLagName sets the LagName field's value. -func (s *UpdateLagOutput) SetLagName(v string) *UpdateLagOutput { - s.LagName = &v - return s -} - -// SetLagState sets the LagState field's value. -func (s *UpdateLagOutput) SetLagState(v LagState) *UpdateLagOutput { - s.LagState = v - return s -} - -// SetLocation sets the Location field's value. -func (s *UpdateLagOutput) SetLocation(v string) *UpdateLagOutput { - s.Location = &v - return s -} - -// SetMinimumLinks sets the MinimumLinks field's value. -func (s *UpdateLagOutput) SetMinimumLinks(v int64) *UpdateLagOutput { - s.MinimumLinks = &v - return s -} - -// SetNumberOfConnections sets the NumberOfConnections field's value. -func (s *UpdateLagOutput) SetNumberOfConnections(v int64) *UpdateLagOutput { - s.NumberOfConnections = &v - return s -} - -// SetOwnerAccount sets the OwnerAccount field's value. -func (s *UpdateLagOutput) SetOwnerAccount(v string) *UpdateLagOutput { - s.OwnerAccount = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *UpdateLagOutput) SetRegion(v string) *UpdateLagOutput { - s.Region = &v - return s -} - // You can create one or more AWS Direct Connect private virtual interfaces // linking to your virtual private gateway. // @@ -8029,18 +6553,6 @@ func (s VirtualGateway) GoString() string { return s.String() } -// SetVirtualGatewayId sets the VirtualGatewayId field's value. -func (s *VirtualGateway) SetVirtualGatewayId(v string) *VirtualGateway { - s.VirtualGatewayId = &v - return s -} - -// SetVirtualGatewayState sets the VirtualGatewayState field's value. -func (s *VirtualGateway) SetVirtualGatewayState(v string) *VirtualGateway { - s.VirtualGatewayState = &v - return s -} - // Indicates the address family for the BGP peer. // // * ipv4: IPv4 address family diff --git a/service/directoryservice/api.go b/service/directoryservice/api.go index 948ae4fce8d..3555ac8f2dc 100644 --- a/service/directoryservice/api.go +++ b/service/directoryservice/api.go @@ -2220,24 +2220,6 @@ func (s *AddIpRoutesInput) Validate() error { return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *AddIpRoutesInput) SetDirectoryId(v string) *AddIpRoutesInput { - s.DirectoryId = &v - return s -} - -// SetIpRoutes sets the IpRoutes field's value. -func (s *AddIpRoutesInput) SetIpRoutes(v []IpRoute) *AddIpRoutesInput { - s.IpRoutes = v - return s -} - -// SetUpdateSecurityGroupForDirectoryControllers sets the UpdateSecurityGroupForDirectoryControllers field's value. -func (s *AddIpRoutesInput) SetUpdateSecurityGroupForDirectoryControllers(v bool) *AddIpRoutesInput { - s.UpdateSecurityGroupForDirectoryControllers = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddIpRoutesResult type AddIpRoutesOutput struct { _ struct{} `type:"structure"` @@ -2310,18 +2292,6 @@ func (s *AddTagsToResourceInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *AddTagsToResourceInput) SetResourceId(v string) *AddTagsToResourceInput { - s.ResourceId = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *AddTagsToResourceInput) SetTags(v []Tag) *AddTagsToResourceInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddTagsToResourceResult type AddTagsToResourceOutput struct { _ struct{} `type:"structure"` @@ -2379,18 +2349,6 @@ func (s *Attribute) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *Attribute) SetName(v string) *Attribute { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Attribute) SetValue(v string) *Attribute { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CancelSchemaExtensionRequest type CancelSchemaExtensionInput struct { _ struct{} `type:"structure"` @@ -2434,18 +2392,6 @@ func (s *CancelSchemaExtensionInput) Validate() error { return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *CancelSchemaExtensionInput) SetDirectoryId(v string) *CancelSchemaExtensionInput { - s.DirectoryId = &v - return s -} - -// SetSchemaExtensionId sets the SchemaExtensionId field's value. -func (s *CancelSchemaExtensionInput) SetSchemaExtensionId(v string) *CancelSchemaExtensionInput { - s.SchemaExtensionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CancelSchemaExtensionResult type CancelSchemaExtensionOutput struct { _ struct{} `type:"structure"` @@ -2494,24 +2440,6 @@ func (s Computer) GoString() string { return s.String() } -// SetComputerAttributes sets the ComputerAttributes field's value. -func (s *Computer) SetComputerAttributes(v []Attribute) *Computer { - s.ComputerAttributes = v - return s -} - -// SetComputerId sets the ComputerId field's value. -func (s *Computer) SetComputerId(v string) *Computer { - s.ComputerId = &v - return s -} - -// SetComputerName sets the ComputerName field's value. -func (s *Computer) SetComputerName(v string) *Computer { - s.ComputerName = &v - return s -} - // Points to a remote domain with which you are setting up a trust relationship. // Conditional forwarders are required in order to set up a trust relationship // with another domain. @@ -2544,24 +2472,6 @@ func (s ConditionalForwarder) GoString() string { return s.String() } -// SetDnsIpAddrs sets the DnsIpAddrs field's value. -func (s *ConditionalForwarder) SetDnsIpAddrs(v []string) *ConditionalForwarder { - s.DnsIpAddrs = v - return s -} - -// SetRemoteDomainName sets the RemoteDomainName field's value. -func (s *ConditionalForwarder) SetRemoteDomainName(v string) *ConditionalForwarder { - s.RemoteDomainName = &v - return s -} - -// SetReplicationScope sets the ReplicationScope field's value. -func (s *ConditionalForwarder) SetReplicationScope(v ReplicationScope) *ConditionalForwarder { - s.ReplicationScope = v - return s -} - // Contains the inputs for the ConnectDirectory operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ConnectDirectoryRequest type ConnectDirectoryInput struct { @@ -2638,42 +2548,6 @@ func (s *ConnectDirectoryInput) Validate() error { return nil } -// SetConnectSettings sets the ConnectSettings field's value. -func (s *ConnectDirectoryInput) SetConnectSettings(v *DirectoryConnectSettings) *ConnectDirectoryInput { - s.ConnectSettings = v - return s -} - -// SetDescription sets the Description field's value. -func (s *ConnectDirectoryInput) SetDescription(v string) *ConnectDirectoryInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *ConnectDirectoryInput) SetName(v string) *ConnectDirectoryInput { - s.Name = &v - return s -} - -// SetPassword sets the Password field's value. -func (s *ConnectDirectoryInput) SetPassword(v string) *ConnectDirectoryInput { - s.Password = &v - return s -} - -// SetShortName sets the ShortName field's value. -func (s *ConnectDirectoryInput) SetShortName(v string) *ConnectDirectoryInput { - s.ShortName = &v - return s -} - -// SetSize sets the Size field's value. -func (s *ConnectDirectoryInput) SetSize(v DirectorySize) *ConnectDirectoryInput { - s.Size = v - return s -} - // Contains the results of the ConnectDirectory operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ConnectDirectoryResult type ConnectDirectoryOutput struct { @@ -2700,12 +2574,6 @@ func (s ConnectDirectoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDirectoryId sets the DirectoryId field's value. -func (s *ConnectDirectoryOutput) SetDirectoryId(v string) *ConnectDirectoryOutput { - s.DirectoryId = &v - return s -} - // Contains the inputs for the CreateAlias operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateAliasRequest type CreateAliasInput struct { @@ -2756,18 +2624,6 @@ func (s *CreateAliasInput) Validate() error { return nil } -// SetAlias sets the Alias field's value. -func (s *CreateAliasInput) SetAlias(v string) *CreateAliasInput { - s.Alias = &v - return s -} - -// SetDirectoryId sets the DirectoryId field's value. -func (s *CreateAliasInput) SetDirectoryId(v string) *CreateAliasInput { - s.DirectoryId = &v - return s -} - // Contains the results of the CreateAlias operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateAliasResult type CreateAliasOutput struct { @@ -2797,18 +2653,6 @@ func (s CreateAliasOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAlias sets the Alias field's value. -func (s *CreateAliasOutput) SetAlias(v string) *CreateAliasOutput { - s.Alias = &v - return s -} - -// SetDirectoryId sets the DirectoryId field's value. -func (s *CreateAliasOutput) SetDirectoryId(v string) *CreateAliasOutput { - s.DirectoryId = &v - return s -} - // Contains the inputs for the CreateComputer operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateComputerRequest type CreateComputerInput struct { @@ -2887,36 +2731,6 @@ func (s *CreateComputerInput) Validate() error { return nil } -// SetComputerAttributes sets the ComputerAttributes field's value. -func (s *CreateComputerInput) SetComputerAttributes(v []Attribute) *CreateComputerInput { - s.ComputerAttributes = v - return s -} - -// SetComputerName sets the ComputerName field's value. -func (s *CreateComputerInput) SetComputerName(v string) *CreateComputerInput { - s.ComputerName = &v - return s -} - -// SetDirectoryId sets the DirectoryId field's value. -func (s *CreateComputerInput) SetDirectoryId(v string) *CreateComputerInput { - s.DirectoryId = &v - return s -} - -// SetOrganizationalUnitDistinguishedName sets the OrganizationalUnitDistinguishedName field's value. -func (s *CreateComputerInput) SetOrganizationalUnitDistinguishedName(v string) *CreateComputerInput { - s.OrganizationalUnitDistinguishedName = &v - return s -} - -// SetPassword sets the Password field's value. -func (s *CreateComputerInput) SetPassword(v string) *CreateComputerInput { - s.Password = &v - return s -} - // Contains the results for the CreateComputer operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateComputerResult type CreateComputerOutput struct { @@ -2943,12 +2757,6 @@ func (s CreateComputerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetComputer sets the Computer field's value. -func (s *CreateComputerOutput) SetComputer(v *Computer) *CreateComputerOutput { - s.Computer = v - return s -} - // Initiates the creation of a conditional forwarder for your AWS Directory // Service for Microsoft Active Directory. Conditional forwarders are required // in order to set up a trust relationship with another domain. @@ -3006,24 +2814,6 @@ func (s *CreateConditionalForwarderInput) Validate() error { return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *CreateConditionalForwarderInput) SetDirectoryId(v string) *CreateConditionalForwarderInput { - s.DirectoryId = &v - return s -} - -// SetDnsIpAddrs sets the DnsIpAddrs field's value. -func (s *CreateConditionalForwarderInput) SetDnsIpAddrs(v []string) *CreateConditionalForwarderInput { - s.DnsIpAddrs = v - return s -} - -// SetRemoteDomainName sets the RemoteDomainName field's value. -func (s *CreateConditionalForwarderInput) SetRemoteDomainName(v string) *CreateConditionalForwarderInput { - s.RemoteDomainName = &v - return s -} - // The result of a CreateConditinalForwarder request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateConditionalForwarderResult type CreateConditionalForwarderOutput struct { @@ -3116,42 +2906,6 @@ func (s *CreateDirectoryInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateDirectoryInput) SetDescription(v string) *CreateDirectoryInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateDirectoryInput) SetName(v string) *CreateDirectoryInput { - s.Name = &v - return s -} - -// SetPassword sets the Password field's value. -func (s *CreateDirectoryInput) SetPassword(v string) *CreateDirectoryInput { - s.Password = &v - return s -} - -// SetShortName sets the ShortName field's value. -func (s *CreateDirectoryInput) SetShortName(v string) *CreateDirectoryInput { - s.ShortName = &v - return s -} - -// SetSize sets the Size field's value. -func (s *CreateDirectoryInput) SetSize(v DirectorySize) *CreateDirectoryInput { - s.Size = v - return s -} - -// SetVpcSettings sets the VpcSettings field's value. -func (s *CreateDirectoryInput) SetVpcSettings(v *DirectoryVpcSettings) *CreateDirectoryInput { - s.VpcSettings = v - return s -} - // Contains the results of the CreateDirectory operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateDirectoryResult type CreateDirectoryOutput struct { @@ -3178,12 +2932,6 @@ func (s CreateDirectoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDirectoryId sets the DirectoryId field's value. -func (s *CreateDirectoryOutput) SetDirectoryId(v string) *CreateDirectoryOutput { - s.DirectoryId = &v - return s -} - // Creates a Microsoft AD in the AWS cloud. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateMicrosoftADRequest type CreateMicrosoftADInput struct { @@ -3257,42 +3005,6 @@ func (s *CreateMicrosoftADInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateMicrosoftADInput) SetDescription(v string) *CreateMicrosoftADInput { - s.Description = &v - return s -} - -// SetEdition sets the Edition field's value. -func (s *CreateMicrosoftADInput) SetEdition(v DirectoryEdition) *CreateMicrosoftADInput { - s.Edition = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateMicrosoftADInput) SetName(v string) *CreateMicrosoftADInput { - s.Name = &v - return s -} - -// SetPassword sets the Password field's value. -func (s *CreateMicrosoftADInput) SetPassword(v string) *CreateMicrosoftADInput { - s.Password = &v - return s -} - -// SetShortName sets the ShortName field's value. -func (s *CreateMicrosoftADInput) SetShortName(v string) *CreateMicrosoftADInput { - s.ShortName = &v - return s -} - -// SetVpcSettings sets the VpcSettings field's value. -func (s *CreateMicrosoftADInput) SetVpcSettings(v *DirectoryVpcSettings) *CreateMicrosoftADInput { - s.VpcSettings = v - return s -} - // Result of a CreateMicrosoftAD request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateMicrosoftADResult type CreateMicrosoftADOutput struct { @@ -3319,12 +3031,6 @@ func (s CreateMicrosoftADOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDirectoryId sets the DirectoryId field's value. -func (s *CreateMicrosoftADOutput) SetDirectoryId(v string) *CreateMicrosoftADOutput { - s.DirectoryId = &v - return s -} - // Contains the inputs for the CreateSnapshot operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateSnapshotRequest type CreateSnapshotInput struct { @@ -3363,18 +3069,6 @@ func (s *CreateSnapshotInput) Validate() error { return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *CreateSnapshotInput) SetDirectoryId(v string) *CreateSnapshotInput { - s.DirectoryId = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateSnapshotInput) SetName(v string) *CreateSnapshotInput { - s.Name = &v - return s -} - // Contains the results of the CreateSnapshot operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateSnapshotResult type CreateSnapshotOutput struct { @@ -3401,12 +3095,6 @@ func (s CreateSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSnapshotId sets the SnapshotId field's value. -func (s *CreateSnapshotOutput) SetSnapshotId(v string) *CreateSnapshotOutput { - s.SnapshotId = &v - return s -} - // AWS Directory Service for Microsoft Active Directory allows you to configure // trust relationships. For example, you can establish a trust between your // Microsoft AD in the AWS cloud, and your existing on-premises Microsoft Active @@ -3487,42 +3175,6 @@ func (s *CreateTrustInput) Validate() error { return nil } -// SetConditionalForwarderIpAddrs sets the ConditionalForwarderIpAddrs field's value. -func (s *CreateTrustInput) SetConditionalForwarderIpAddrs(v []string) *CreateTrustInput { - s.ConditionalForwarderIpAddrs = v - return s -} - -// SetDirectoryId sets the DirectoryId field's value. -func (s *CreateTrustInput) SetDirectoryId(v string) *CreateTrustInput { - s.DirectoryId = &v - return s -} - -// SetRemoteDomainName sets the RemoteDomainName field's value. -func (s *CreateTrustInput) SetRemoteDomainName(v string) *CreateTrustInput { - s.RemoteDomainName = &v - return s -} - -// SetTrustDirection sets the TrustDirection field's value. -func (s *CreateTrustInput) SetTrustDirection(v TrustDirection) *CreateTrustInput { - s.TrustDirection = v - return s -} - -// SetTrustPassword sets the TrustPassword field's value. -func (s *CreateTrustInput) SetTrustPassword(v string) *CreateTrustInput { - s.TrustPassword = &v - return s -} - -// SetTrustType sets the TrustType field's value. -func (s *CreateTrustInput) SetTrustType(v TrustType) *CreateTrustInput { - s.TrustType = v - return s -} - // The result of a CreateTrust request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateTrustResult type CreateTrustOutput struct { @@ -3549,12 +3201,6 @@ func (s CreateTrustOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTrustId sets the TrustId field's value. -func (s *CreateTrustOutput) SetTrustId(v string) *CreateTrustOutput { - s.TrustId = &v - return s -} - // Deletes a conditional forwarder. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteConditionalForwarderRequest type DeleteConditionalForwarderInput struct { @@ -3600,18 +3246,6 @@ func (s *DeleteConditionalForwarderInput) Validate() error { return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *DeleteConditionalForwarderInput) SetDirectoryId(v string) *DeleteConditionalForwarderInput { - s.DirectoryId = &v - return s -} - -// SetRemoteDomainName sets the RemoteDomainName field's value. -func (s *DeleteConditionalForwarderInput) SetRemoteDomainName(v string) *DeleteConditionalForwarderInput { - s.RemoteDomainName = &v - return s -} - // The result of a DeleteConditionalForwarder request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteConditionalForwarderResult type DeleteConditionalForwarderOutput struct { @@ -3670,12 +3304,6 @@ func (s *DeleteDirectoryInput) Validate() error { return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *DeleteDirectoryInput) SetDirectoryId(v string) *DeleteDirectoryInput { - s.DirectoryId = &v - return s -} - // Contains the results of the DeleteDirectory operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteDirectoryResult type DeleteDirectoryOutput struct { @@ -3702,12 +3330,6 @@ func (s DeleteDirectoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDirectoryId sets the DirectoryId field's value. -func (s *DeleteDirectoryOutput) SetDirectoryId(v string) *DeleteDirectoryOutput { - s.DirectoryId = &v - return s -} - // Contains the inputs for the DeleteSnapshot operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteSnapshotRequest type DeleteSnapshotInput struct { @@ -3743,12 +3365,6 @@ func (s *DeleteSnapshotInput) Validate() error { return nil } -// SetSnapshotId sets the SnapshotId field's value. -func (s *DeleteSnapshotInput) SetSnapshotId(v string) *DeleteSnapshotInput { - s.SnapshotId = &v - return s -} - // Contains the results of the DeleteSnapshot operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteSnapshotResult type DeleteSnapshotOutput struct { @@ -3775,12 +3391,6 @@ func (s DeleteSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSnapshotId sets the SnapshotId field's value. -func (s *DeleteSnapshotOutput) SetSnapshotId(v string) *DeleteSnapshotOutput { - s.SnapshotId = &v - return s -} - // Deletes the local side of an existing trust relationship between the Microsoft // AD in the AWS cloud and the external domain. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteTrustRequest @@ -3820,18 +3430,6 @@ func (s *DeleteTrustInput) Validate() error { return nil } -// SetDeleteAssociatedConditionalForwarder sets the DeleteAssociatedConditionalForwarder field's value. -func (s *DeleteTrustInput) SetDeleteAssociatedConditionalForwarder(v bool) *DeleteTrustInput { - s.DeleteAssociatedConditionalForwarder = &v - return s -} - -// SetTrustId sets the TrustId field's value. -func (s *DeleteTrustInput) SetTrustId(v string) *DeleteTrustInput { - s.TrustId = &v - return s -} - // The result of a DeleteTrust request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteTrustResult type DeleteTrustOutput struct { @@ -3858,12 +3456,6 @@ func (s DeleteTrustOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTrustId sets the TrustId field's value. -func (s *DeleteTrustOutput) SetTrustId(v string) *DeleteTrustOutput { - s.TrustId = &v - return s -} - // Removes the specified directory as a publisher to the specified SNS topic. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeregisterEventTopicRequest type DeregisterEventTopicInput struct { @@ -3912,18 +3504,6 @@ func (s *DeregisterEventTopicInput) Validate() error { return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *DeregisterEventTopicInput) SetDirectoryId(v string) *DeregisterEventTopicInput { - s.DirectoryId = &v - return s -} - -// SetTopicName sets the TopicName field's value. -func (s *DeregisterEventTopicInput) SetTopicName(v string) *DeregisterEventTopicInput { - s.TopicName = &v - return s -} - // The result of a DeregisterEventTopic request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeregisterEventTopicResult type DeregisterEventTopicOutput struct { @@ -3987,18 +3567,6 @@ func (s *DescribeConditionalForwardersInput) Validate() error { return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *DescribeConditionalForwardersInput) SetDirectoryId(v string) *DescribeConditionalForwardersInput { - s.DirectoryId = &v - return s -} - -// SetRemoteDomainNames sets the RemoteDomainNames field's value. -func (s *DescribeConditionalForwardersInput) SetRemoteDomainNames(v []string) *DescribeConditionalForwardersInput { - s.RemoteDomainNames = v - return s -} - // The result of a DescribeConditionalForwarder request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeConditionalForwardersResult type DescribeConditionalForwardersOutput struct { @@ -4025,12 +3593,6 @@ func (s DescribeConditionalForwardersOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetConditionalForwarders sets the ConditionalForwarders field's value. -func (s *DescribeConditionalForwardersOutput) SetConditionalForwarders(v []ConditionalForwarder) *DescribeConditionalForwardersOutput { - s.ConditionalForwarders = v - return s -} - // Contains the inputs for the DescribeDirectories operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectoriesRequest type DescribeDirectoriesInput struct { @@ -4062,24 +3624,6 @@ func (s DescribeDirectoriesInput) GoString() string { return s.String() } -// SetDirectoryIds sets the DirectoryIds field's value. -func (s *DescribeDirectoriesInput) SetDirectoryIds(v []string) *DescribeDirectoriesInput { - s.DirectoryIds = v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeDirectoriesInput) SetLimit(v int64) *DescribeDirectoriesInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeDirectoriesInput) SetNextToken(v string) *DescribeDirectoriesInput { - s.NextToken = &v - return s -} - // Contains the results of the DescribeDirectories operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectoriesResult type DescribeDirectoriesOutput struct { @@ -4116,18 +3660,6 @@ func (s DescribeDirectoriesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDirectoryDescriptions sets the DirectoryDescriptions field's value. -func (s *DescribeDirectoriesOutput) SetDirectoryDescriptions(v []DirectoryDescription) *DescribeDirectoriesOutput { - s.DirectoryDescriptions = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeDirectoriesOutput) SetNextToken(v string) *DescribeDirectoriesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDomainControllersRequest type DescribeDomainControllersInput struct { _ struct{} `type:"structure"` @@ -4173,30 +3705,6 @@ func (s *DescribeDomainControllersInput) Validate() error { return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *DescribeDomainControllersInput) SetDirectoryId(v string) *DescribeDomainControllersInput { - s.DirectoryId = &v - return s -} - -// SetDomainControllerIds sets the DomainControllerIds field's value. -func (s *DescribeDomainControllersInput) SetDomainControllerIds(v []string) *DescribeDomainControllersInput { - s.DomainControllerIds = v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeDomainControllersInput) SetLimit(v int64) *DescribeDomainControllersInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeDomainControllersInput) SetNextToken(v string) *DescribeDomainControllersInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDomainControllersResult type DescribeDomainControllersOutput struct { _ struct{} `type:"structure"` @@ -4227,18 +3735,6 @@ func (s DescribeDomainControllersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDomainControllers sets the DomainControllers field's value. -func (s *DescribeDomainControllersOutput) SetDomainControllers(v []DomainController) *DescribeDomainControllersOutput { - s.DomainControllers = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeDomainControllersOutput) SetNextToken(v string) *DescribeDomainControllersOutput { - s.NextToken = &v - return s -} - // Describes event topics. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeEventTopicsRequest type DescribeEventTopicsInput struct { @@ -4265,18 +3761,6 @@ func (s DescribeEventTopicsInput) GoString() string { return s.String() } -// SetDirectoryId sets the DirectoryId field's value. -func (s *DescribeEventTopicsInput) SetDirectoryId(v string) *DescribeEventTopicsInput { - s.DirectoryId = &v - return s -} - -// SetTopicNames sets the TopicNames field's value. -func (s *DescribeEventTopicsInput) SetTopicNames(v []string) *DescribeEventTopicsInput { - s.TopicNames = v - return s -} - // The result of a DescribeEventTopic request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeEventTopicsResult type DescribeEventTopicsOutput struct { @@ -4304,12 +3788,6 @@ func (s DescribeEventTopicsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventTopics sets the EventTopics field's value. -func (s *DescribeEventTopicsOutput) SetEventTopics(v []EventTopic) *DescribeEventTopicsOutput { - s.EventTopics = v - return s -} - // Contains the inputs for the DescribeSnapshots operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSnapshotsRequest type DescribeSnapshotsInput struct { @@ -4341,30 +3819,6 @@ func (s DescribeSnapshotsInput) GoString() string { return s.String() } -// SetDirectoryId sets the DirectoryId field's value. -func (s *DescribeSnapshotsInput) SetDirectoryId(v string) *DescribeSnapshotsInput { - s.DirectoryId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeSnapshotsInput) SetLimit(v int64) *DescribeSnapshotsInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeSnapshotsInput) SetNextToken(v string) *DescribeSnapshotsInput { - s.NextToken = &v - return s -} - -// SetSnapshotIds sets the SnapshotIds field's value. -func (s *DescribeSnapshotsInput) SetSnapshotIds(v []string) *DescribeSnapshotsInput { - s.SnapshotIds = v - return s -} - // Contains the results of the DescribeSnapshots operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSnapshotsResult type DescribeSnapshotsOutput struct { @@ -4400,18 +3854,6 @@ func (s DescribeSnapshotsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeSnapshotsOutput) SetNextToken(v string) *DescribeSnapshotsOutput { - s.NextToken = &v - return s -} - -// SetSnapshots sets the Snapshots field's value. -func (s *DescribeSnapshotsOutput) SetSnapshots(v []Snapshot) *DescribeSnapshotsOutput { - s.Snapshots = v - return s -} - // Describes the trust relationships for a particular Microsoft AD in the AWS // cloud. If no input parameters are are provided, such as directory ID or trust // ID, this request describes all the trust relationships. @@ -4448,30 +3890,6 @@ func (s DescribeTrustsInput) GoString() string { return s.String() } -// SetDirectoryId sets the DirectoryId field's value. -func (s *DescribeTrustsInput) SetDirectoryId(v string) *DescribeTrustsInput { - s.DirectoryId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeTrustsInput) SetLimit(v int64) *DescribeTrustsInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeTrustsInput) SetNextToken(v string) *DescribeTrustsInput { - s.NextToken = &v - return s -} - -// SetTrustIds sets the TrustIds field's value. -func (s *DescribeTrustsInput) SetTrustIds(v []string) *DescribeTrustsInput { - s.TrustIds = v - return s -} - // The result of a DescribeTrust request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeTrustsResult type DescribeTrustsOutput struct { @@ -4508,18 +3926,6 @@ func (s DescribeTrustsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeTrustsOutput) SetNextToken(v string) *DescribeTrustsOutput { - s.NextToken = &v - return s -} - -// SetTrusts sets the Trusts field's value. -func (s *DescribeTrustsOutput) SetTrusts(v []Trust) *DescribeTrustsOutput { - s.Trusts = v - return s -} - // Contains information for the ConnectDirectory operation when an AD Connector // directory is being created. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryConnectSettings @@ -4594,30 +4000,6 @@ func (s *DirectoryConnectSettings) Validate() error { return nil } -// SetCustomerDnsIps sets the CustomerDnsIps field's value. -func (s *DirectoryConnectSettings) SetCustomerDnsIps(v []string) *DirectoryConnectSettings { - s.CustomerDnsIps = v - return s -} - -// SetCustomerUserName sets the CustomerUserName field's value. -func (s *DirectoryConnectSettings) SetCustomerUserName(v string) *DirectoryConnectSettings { - s.CustomerUserName = &v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *DirectoryConnectSettings) SetSubnetIds(v []string) *DirectoryConnectSettings { - s.SubnetIds = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *DirectoryConnectSettings) SetVpcId(v string) *DirectoryConnectSettings { - s.VpcId = &v - return s -} - // Contains information about an AD Connector directory. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryConnectSettingsDescription type DirectoryConnectSettingsDescription struct { @@ -4652,42 +4034,6 @@ func (s DirectoryConnectSettingsDescription) GoString() string { return s.String() } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *DirectoryConnectSettingsDescription) SetAvailabilityZones(v []string) *DirectoryConnectSettingsDescription { - s.AvailabilityZones = v - return s -} - -// SetConnectIps sets the ConnectIps field's value. -func (s *DirectoryConnectSettingsDescription) SetConnectIps(v []string) *DirectoryConnectSettingsDescription { - s.ConnectIps = v - return s -} - -// SetCustomerUserName sets the CustomerUserName field's value. -func (s *DirectoryConnectSettingsDescription) SetCustomerUserName(v string) *DirectoryConnectSettingsDescription { - s.CustomerUserName = &v - return s -} - -// SetSecurityGroupId sets the SecurityGroupId field's value. -func (s *DirectoryConnectSettingsDescription) SetSecurityGroupId(v string) *DirectoryConnectSettingsDescription { - s.SecurityGroupId = &v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *DirectoryConnectSettingsDescription) SetSubnetIds(v []string) *DirectoryConnectSettingsDescription { - s.SubnetIds = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *DirectoryConnectSettingsDescription) SetVpcId(v string) *DirectoryConnectSettingsDescription { - s.VpcId = &v - return s -} - // Contains information about an AWS Directory Service directory. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryDescription type DirectoryDescription struct { @@ -4778,126 +4124,6 @@ func (s DirectoryDescription) GoString() string { return s.String() } -// SetAccessUrl sets the AccessUrl field's value. -func (s *DirectoryDescription) SetAccessUrl(v string) *DirectoryDescription { - s.AccessUrl = &v - return s -} - -// SetAlias sets the Alias field's value. -func (s *DirectoryDescription) SetAlias(v string) *DirectoryDescription { - s.Alias = &v - return s -} - -// SetConnectSettings sets the ConnectSettings field's value. -func (s *DirectoryDescription) SetConnectSettings(v *DirectoryConnectSettingsDescription) *DirectoryDescription { - s.ConnectSettings = v - return s -} - -// SetDescription sets the Description field's value. -func (s *DirectoryDescription) SetDescription(v string) *DirectoryDescription { - s.Description = &v - return s -} - -// SetDesiredNumberOfDomainControllers sets the DesiredNumberOfDomainControllers field's value. -func (s *DirectoryDescription) SetDesiredNumberOfDomainControllers(v int64) *DirectoryDescription { - s.DesiredNumberOfDomainControllers = &v - return s -} - -// SetDirectoryId sets the DirectoryId field's value. -func (s *DirectoryDescription) SetDirectoryId(v string) *DirectoryDescription { - s.DirectoryId = &v - return s -} - -// SetDnsIpAddrs sets the DnsIpAddrs field's value. -func (s *DirectoryDescription) SetDnsIpAddrs(v []string) *DirectoryDescription { - s.DnsIpAddrs = v - return s -} - -// SetEdition sets the Edition field's value. -func (s *DirectoryDescription) SetEdition(v DirectoryEdition) *DirectoryDescription { - s.Edition = v - return s -} - -// SetLaunchTime sets the LaunchTime field's value. -func (s *DirectoryDescription) SetLaunchTime(v time.Time) *DirectoryDescription { - s.LaunchTime = &v - return s -} - -// SetName sets the Name field's value. -func (s *DirectoryDescription) SetName(v string) *DirectoryDescription { - s.Name = &v - return s -} - -// SetRadiusSettings sets the RadiusSettings field's value. -func (s *DirectoryDescription) SetRadiusSettings(v *RadiusSettings) *DirectoryDescription { - s.RadiusSettings = v - return s -} - -// SetRadiusStatus sets the RadiusStatus field's value. -func (s *DirectoryDescription) SetRadiusStatus(v RadiusStatus) *DirectoryDescription { - s.RadiusStatus = v - return s -} - -// SetShortName sets the ShortName field's value. -func (s *DirectoryDescription) SetShortName(v string) *DirectoryDescription { - s.ShortName = &v - return s -} - -// SetSize sets the Size field's value. -func (s *DirectoryDescription) SetSize(v DirectorySize) *DirectoryDescription { - s.Size = v - return s -} - -// SetSsoEnabled sets the SsoEnabled field's value. -func (s *DirectoryDescription) SetSsoEnabled(v bool) *DirectoryDescription { - s.SsoEnabled = &v - return s -} - -// SetStage sets the Stage field's value. -func (s *DirectoryDescription) SetStage(v DirectoryStage) *DirectoryDescription { - s.Stage = v - return s -} - -// SetStageLastUpdatedDateTime sets the StageLastUpdatedDateTime field's value. -func (s *DirectoryDescription) SetStageLastUpdatedDateTime(v time.Time) *DirectoryDescription { - s.StageLastUpdatedDateTime = &v - return s -} - -// SetStageReason sets the StageReason field's value. -func (s *DirectoryDescription) SetStageReason(v string) *DirectoryDescription { - s.StageReason = &v - return s -} - -// SetType sets the Type field's value. -func (s *DirectoryDescription) SetType(v DirectoryType) *DirectoryDescription { - s.Type = v - return s -} - -// SetVpcSettings sets the VpcSettings field's value. -func (s *DirectoryDescription) SetVpcSettings(v *DirectoryVpcSettingsDescription) *DirectoryDescription { - s.VpcSettings = v - return s -} - // Contains directory limit information for a region. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryLimits type DirectoryLimits struct { @@ -4941,60 +4167,6 @@ func (s DirectoryLimits) GoString() string { return s.String() } -// SetCloudOnlyDirectoriesCurrentCount sets the CloudOnlyDirectoriesCurrentCount field's value. -func (s *DirectoryLimits) SetCloudOnlyDirectoriesCurrentCount(v int64) *DirectoryLimits { - s.CloudOnlyDirectoriesCurrentCount = &v - return s -} - -// SetCloudOnlyDirectoriesLimit sets the CloudOnlyDirectoriesLimit field's value. -func (s *DirectoryLimits) SetCloudOnlyDirectoriesLimit(v int64) *DirectoryLimits { - s.CloudOnlyDirectoriesLimit = &v - return s -} - -// SetCloudOnlyDirectoriesLimitReached sets the CloudOnlyDirectoriesLimitReached field's value. -func (s *DirectoryLimits) SetCloudOnlyDirectoriesLimitReached(v bool) *DirectoryLimits { - s.CloudOnlyDirectoriesLimitReached = &v - return s -} - -// SetCloudOnlyMicrosoftADCurrentCount sets the CloudOnlyMicrosoftADCurrentCount field's value. -func (s *DirectoryLimits) SetCloudOnlyMicrosoftADCurrentCount(v int64) *DirectoryLimits { - s.CloudOnlyMicrosoftADCurrentCount = &v - return s -} - -// SetCloudOnlyMicrosoftADLimit sets the CloudOnlyMicrosoftADLimit field's value. -func (s *DirectoryLimits) SetCloudOnlyMicrosoftADLimit(v int64) *DirectoryLimits { - s.CloudOnlyMicrosoftADLimit = &v - return s -} - -// SetCloudOnlyMicrosoftADLimitReached sets the CloudOnlyMicrosoftADLimitReached field's value. -func (s *DirectoryLimits) SetCloudOnlyMicrosoftADLimitReached(v bool) *DirectoryLimits { - s.CloudOnlyMicrosoftADLimitReached = &v - return s -} - -// SetConnectedDirectoriesCurrentCount sets the ConnectedDirectoriesCurrentCount field's value. -func (s *DirectoryLimits) SetConnectedDirectoriesCurrentCount(v int64) *DirectoryLimits { - s.ConnectedDirectoriesCurrentCount = &v - return s -} - -// SetConnectedDirectoriesLimit sets the ConnectedDirectoriesLimit field's value. -func (s *DirectoryLimits) SetConnectedDirectoriesLimit(v int64) *DirectoryLimits { - s.ConnectedDirectoriesLimit = &v - return s -} - -// SetConnectedDirectoriesLimitReached sets the ConnectedDirectoriesLimitReached field's value. -func (s *DirectoryLimits) SetConnectedDirectoriesLimitReached(v bool) *DirectoryLimits { - s.ConnectedDirectoriesLimitReached = &v - return s -} - // Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryVpcSettings type DirectoryVpcSettings struct { @@ -5041,18 +4213,6 @@ func (s *DirectoryVpcSettings) Validate() error { return nil } -// SetSubnetIds sets the SubnetIds field's value. -func (s *DirectoryVpcSettings) SetSubnetIds(v []string) *DirectoryVpcSettings { - s.SubnetIds = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *DirectoryVpcSettings) SetVpcId(v string) *DirectoryVpcSettings { - s.VpcId = &v - return s -} - // Contains information about the directory. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DirectoryVpcSettingsDescription type DirectoryVpcSettingsDescription struct { @@ -5081,30 +4241,6 @@ func (s DirectoryVpcSettingsDescription) GoString() string { return s.String() } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *DirectoryVpcSettingsDescription) SetAvailabilityZones(v []string) *DirectoryVpcSettingsDescription { - s.AvailabilityZones = v - return s -} - -// SetSecurityGroupId sets the SecurityGroupId field's value. -func (s *DirectoryVpcSettingsDescription) SetSecurityGroupId(v string) *DirectoryVpcSettingsDescription { - s.SecurityGroupId = &v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *DirectoryVpcSettingsDescription) SetSubnetIds(v []string) *DirectoryVpcSettingsDescription { - s.SubnetIds = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *DirectoryVpcSettingsDescription) SetVpcId(v string) *DirectoryVpcSettingsDescription { - s.VpcId = &v - return s -} - // Contains the inputs for the DisableRadius operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableRadiusRequest type DisableRadiusInput struct { @@ -5140,12 +4276,6 @@ func (s *DisableRadiusInput) Validate() error { return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *DisableRadiusInput) SetDirectoryId(v string) *DisableRadiusInput { - s.DirectoryId = &v - return s -} - // Contains the results of the DisableRadius operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableRadiusResult type DisableRadiusOutput struct { @@ -5226,24 +4356,6 @@ func (s *DisableSsoInput) Validate() error { return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *DisableSsoInput) SetDirectoryId(v string) *DisableSsoInput { - s.DirectoryId = &v - return s -} - -// SetPassword sets the Password field's value. -func (s *DisableSsoInput) SetPassword(v string) *DisableSsoInput { - s.Password = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *DisableSsoInput) SetUserName(v string) *DisableSsoInput { - s.UserName = &v - return s -} - // Contains the results of the DisableSso operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableSsoResult type DisableSsoOutput struct { @@ -5313,66 +4425,6 @@ func (s DomainController) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *DomainController) SetAvailabilityZone(v string) *DomainController { - s.AvailabilityZone = &v - return s -} - -// SetDirectoryId sets the DirectoryId field's value. -func (s *DomainController) SetDirectoryId(v string) *DomainController { - s.DirectoryId = &v - return s -} - -// SetDnsIpAddr sets the DnsIpAddr field's value. -func (s *DomainController) SetDnsIpAddr(v string) *DomainController { - s.DnsIpAddr = &v - return s -} - -// SetDomainControllerId sets the DomainControllerId field's value. -func (s *DomainController) SetDomainControllerId(v string) *DomainController { - s.DomainControllerId = &v - return s -} - -// SetLaunchTime sets the LaunchTime field's value. -func (s *DomainController) SetLaunchTime(v time.Time) *DomainController { - s.LaunchTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DomainController) SetStatus(v DomainControllerStatus) *DomainController { - s.Status = v - return s -} - -// SetStatusLastUpdatedDateTime sets the StatusLastUpdatedDateTime field's value. -func (s *DomainController) SetStatusLastUpdatedDateTime(v time.Time) *DomainController { - s.StatusLastUpdatedDateTime = &v - return s -} - -// SetStatusReason sets the StatusReason field's value. -func (s *DomainController) SetStatusReason(v string) *DomainController { - s.StatusReason = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *DomainController) SetSubnetId(v string) *DomainController { - s.SubnetId = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *DomainController) SetVpcId(v string) *DomainController { - s.VpcId = &v - return s -} - // Contains the inputs for the EnableRadius operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableRadiusRequest type EnableRadiusInput struct { @@ -5422,18 +4474,6 @@ func (s *EnableRadiusInput) Validate() error { return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *EnableRadiusInput) SetDirectoryId(v string) *EnableRadiusInput { - s.DirectoryId = &v - return s -} - -// SetRadiusSettings sets the RadiusSettings field's value. -func (s *EnableRadiusInput) SetRadiusSettings(v *RadiusSettings) *EnableRadiusInput { - s.RadiusSettings = v - return s -} - // Contains the results of the EnableRadius operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableRadiusResult type EnableRadiusOutput struct { @@ -5514,24 +4554,6 @@ func (s *EnableSsoInput) Validate() error { return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *EnableSsoInput) SetDirectoryId(v string) *EnableSsoInput { - s.DirectoryId = &v - return s -} - -// SetPassword sets the Password field's value. -func (s *EnableSsoInput) SetPassword(v string) *EnableSsoInput { - s.Password = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *EnableSsoInput) SetUserName(v string) *EnableSsoInput { - s.UserName = &v - return s -} - // Contains the results of the EnableSso operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableSsoResult type EnableSsoOutput struct { @@ -5587,36 +4609,6 @@ func (s EventTopic) GoString() string { return s.String() } -// SetCreatedDateTime sets the CreatedDateTime field's value. -func (s *EventTopic) SetCreatedDateTime(v time.Time) *EventTopic { - s.CreatedDateTime = &v - return s -} - -// SetDirectoryId sets the DirectoryId field's value. -func (s *EventTopic) SetDirectoryId(v string) *EventTopic { - s.DirectoryId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *EventTopic) SetStatus(v TopicStatus) *EventTopic { - s.Status = v - return s -} - -// SetTopicArn sets the TopicArn field's value. -func (s *EventTopic) SetTopicArn(v string) *EventTopic { - s.TopicArn = &v - return s -} - -// SetTopicName sets the TopicName field's value. -func (s *EventTopic) SetTopicName(v string) *EventTopic { - s.TopicName = &v - return s -} - // Contains the inputs for the GetDirectoryLimits operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetDirectoryLimitsRequest type GetDirectoryLimitsInput struct { @@ -5660,12 +4652,6 @@ func (s GetDirectoryLimitsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDirectoryLimits sets the DirectoryLimits field's value. -func (s *GetDirectoryLimitsOutput) SetDirectoryLimits(v *DirectoryLimits) *GetDirectoryLimitsOutput { - s.DirectoryLimits = v - return s -} - // Contains the inputs for the GetSnapshotLimits operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetSnapshotLimitsRequest type GetSnapshotLimitsInput struct { @@ -5701,12 +4687,6 @@ func (s *GetSnapshotLimitsInput) Validate() error { return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *GetSnapshotLimitsInput) SetDirectoryId(v string) *GetSnapshotLimitsInput { - s.DirectoryId = &v - return s -} - // Contains the results of the GetSnapshotLimits operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetSnapshotLimitsResult type GetSnapshotLimitsOutput struct { @@ -5734,12 +4714,6 @@ func (s GetSnapshotLimitsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSnapshotLimits sets the SnapshotLimits field's value. -func (s *GetSnapshotLimitsOutput) SetSnapshotLimits(v *SnapshotLimits) *GetSnapshotLimitsOutput { - s.SnapshotLimits = v - return s -} - // IP address block. This is often the address block of the DNS server used // for your on-premises domain. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/IpRoute @@ -5765,18 +4739,6 @@ func (s IpRoute) GoString() string { return s.String() } -// SetCidrIp sets the CidrIp field's value. -func (s *IpRoute) SetCidrIp(v string) *IpRoute { - s.CidrIp = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *IpRoute) SetDescription(v string) *IpRoute { - s.Description = &v - return s -} - // Information about one or more IP address blocks. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/IpRouteInfo type IpRouteInfo struct { @@ -5811,42 +4773,6 @@ func (s IpRouteInfo) GoString() string { return s.String() } -// SetAddedDateTime sets the AddedDateTime field's value. -func (s *IpRouteInfo) SetAddedDateTime(v time.Time) *IpRouteInfo { - s.AddedDateTime = &v - return s -} - -// SetCidrIp sets the CidrIp field's value. -func (s *IpRouteInfo) SetCidrIp(v string) *IpRouteInfo { - s.CidrIp = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *IpRouteInfo) SetDescription(v string) *IpRouteInfo { - s.Description = &v - return s -} - -// SetDirectoryId sets the DirectoryId field's value. -func (s *IpRouteInfo) SetDirectoryId(v string) *IpRouteInfo { - s.DirectoryId = &v - return s -} - -// SetIpRouteStatusMsg sets the IpRouteStatusMsg field's value. -func (s *IpRouteInfo) SetIpRouteStatusMsg(v IpRouteStatusMsg) *IpRouteInfo { - s.IpRouteStatusMsg = v - return s -} - -// SetIpRouteStatusReason sets the IpRouteStatusReason field's value. -func (s *IpRouteInfo) SetIpRouteStatusReason(v string) *IpRouteInfo { - s.IpRouteStatusReason = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListIpRoutesRequest type ListIpRoutesInput struct { _ struct{} `type:"structure"` @@ -5889,24 +4815,6 @@ func (s *ListIpRoutesInput) Validate() error { return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *ListIpRoutesInput) SetDirectoryId(v string) *ListIpRoutesInput { - s.DirectoryId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListIpRoutesInput) SetLimit(v int64) *ListIpRoutesInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIpRoutesInput) SetNextToken(v string) *ListIpRoutesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListIpRoutesResult type ListIpRoutesOutput struct { _ struct{} `type:"structure"` @@ -5937,18 +4845,6 @@ func (s ListIpRoutesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIpRoutesInfo sets the IpRoutesInfo field's value. -func (s *ListIpRoutesOutput) SetIpRoutesInfo(v []IpRouteInfo) *ListIpRoutesOutput { - s.IpRoutesInfo = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIpRoutesOutput) SetNextToken(v string) *ListIpRoutesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListSchemaExtensionsRequest type ListSchemaExtensionsInput struct { _ struct{} `type:"structure"` @@ -5991,24 +4887,6 @@ func (s *ListSchemaExtensionsInput) Validate() error { return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *ListSchemaExtensionsInput) SetDirectoryId(v string) *ListSchemaExtensionsInput { - s.DirectoryId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListSchemaExtensionsInput) SetLimit(v int64) *ListSchemaExtensionsInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListSchemaExtensionsInput) SetNextToken(v string) *ListSchemaExtensionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListSchemaExtensionsResult type ListSchemaExtensionsOutput struct { _ struct{} `type:"structure"` @@ -6039,18 +4917,6 @@ func (s ListSchemaExtensionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListSchemaExtensionsOutput) SetNextToken(v string) *ListSchemaExtensionsOutput { - s.NextToken = &v - return s -} - -// SetSchemaExtensionsInfo sets the SchemaExtensionsInfo field's value. -func (s *ListSchemaExtensionsOutput) SetSchemaExtensionsInfo(v []SchemaExtensionInfo) *ListSchemaExtensionsOutput { - s.SchemaExtensionsInfo = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListTagsForResourceRequest type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -6091,24 +4957,6 @@ func (s *ListTagsForResourceInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListTagsForResourceInput) SetLimit(v int64) *ListTagsForResourceInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTagsForResourceInput) SetNextToken(v string) *ListTagsForResourceInput { - s.NextToken = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *ListTagsForResourceInput) SetResourceId(v string) *ListTagsForResourceInput { - s.ResourceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListTagsForResourceResult type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` @@ -6137,18 +4985,6 @@ func (s ListTagsForResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTagsForResourceOutput) SetNextToken(v string) *ListTagsForResourceOutput { - s.NextToken = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *ListTagsForResourceOutput) SetTags(v []Tag) *ListTagsForResourceOutput { - s.Tags = v - return s -} - // Contains information about a Remote Authentication Dial In User Service (RADIUS) // server. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RadiusSettings @@ -6216,54 +5052,6 @@ func (s *RadiusSettings) Validate() error { return nil } -// SetAuthenticationProtocol sets the AuthenticationProtocol field's value. -func (s *RadiusSettings) SetAuthenticationProtocol(v RadiusAuthenticationProtocol) *RadiusSettings { - s.AuthenticationProtocol = v - return s -} - -// SetDisplayLabel sets the DisplayLabel field's value. -func (s *RadiusSettings) SetDisplayLabel(v string) *RadiusSettings { - s.DisplayLabel = &v - return s -} - -// SetRadiusPort sets the RadiusPort field's value. -func (s *RadiusSettings) SetRadiusPort(v int64) *RadiusSettings { - s.RadiusPort = &v - return s -} - -// SetRadiusRetries sets the RadiusRetries field's value. -func (s *RadiusSettings) SetRadiusRetries(v int64) *RadiusSettings { - s.RadiusRetries = &v - return s -} - -// SetRadiusServers sets the RadiusServers field's value. -func (s *RadiusSettings) SetRadiusServers(v []string) *RadiusSettings { - s.RadiusServers = v - return s -} - -// SetRadiusTimeout sets the RadiusTimeout field's value. -func (s *RadiusSettings) SetRadiusTimeout(v int64) *RadiusSettings { - s.RadiusTimeout = &v - return s -} - -// SetSharedSecret sets the SharedSecret field's value. -func (s *RadiusSettings) SetSharedSecret(v string) *RadiusSettings { - s.SharedSecret = &v - return s -} - -// SetUseSameUsername sets the UseSameUsername field's value. -func (s *RadiusSettings) SetUseSameUsername(v bool) *RadiusSettings { - s.UseSameUsername = &v - return s -} - // Registers a new event topic. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterEventTopicRequest type RegisterEventTopicInput struct { @@ -6312,18 +5100,6 @@ func (s *RegisterEventTopicInput) Validate() error { return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *RegisterEventTopicInput) SetDirectoryId(v string) *RegisterEventTopicInput { - s.DirectoryId = &v - return s -} - -// SetTopicName sets the TopicName field's value. -func (s *RegisterEventTopicInput) SetTopicName(v string) *RegisterEventTopicInput { - s.TopicName = &v - return s -} - // The result of a RegisterEventTopic request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterEventTopicResult type RegisterEventTopicOutput struct { @@ -6390,18 +5166,6 @@ func (s *RemoveIpRoutesInput) Validate() error { return nil } -// SetCidrIps sets the CidrIps field's value. -func (s *RemoveIpRoutesInput) SetCidrIps(v []string) *RemoveIpRoutesInput { - s.CidrIps = v - return s -} - -// SetDirectoryId sets the DirectoryId field's value. -func (s *RemoveIpRoutesInput) SetDirectoryId(v string) *RemoveIpRoutesInput { - s.DirectoryId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveIpRoutesResult type RemoveIpRoutesOutput struct { _ struct{} `type:"structure"` @@ -6467,18 +5231,6 @@ func (s *RemoveTagsFromResourceInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *RemoveTagsFromResourceInput) SetResourceId(v string) *RemoveTagsFromResourceInput { - s.ResourceId = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *RemoveTagsFromResourceInput) SetTagKeys(v []string) *RemoveTagsFromResourceInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveTagsFromResourceResult type RemoveTagsFromResourceOutput struct { _ struct{} `type:"structure"` @@ -6536,12 +5288,6 @@ func (s *RestoreFromSnapshotInput) Validate() error { return nil } -// SetSnapshotId sets the SnapshotId field's value. -func (s *RestoreFromSnapshotInput) SetSnapshotId(v string) *RestoreFromSnapshotInput { - s.SnapshotId = &v - return s -} - // Contains the results of the RestoreFromSnapshot operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RestoreFromSnapshotResult type RestoreFromSnapshotOutput struct { @@ -6603,48 +5349,6 @@ func (s SchemaExtensionInfo) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *SchemaExtensionInfo) SetDescription(v string) *SchemaExtensionInfo { - s.Description = &v - return s -} - -// SetDirectoryId sets the DirectoryId field's value. -func (s *SchemaExtensionInfo) SetDirectoryId(v string) *SchemaExtensionInfo { - s.DirectoryId = &v - return s -} - -// SetEndDateTime sets the EndDateTime field's value. -func (s *SchemaExtensionInfo) SetEndDateTime(v time.Time) *SchemaExtensionInfo { - s.EndDateTime = &v - return s -} - -// SetSchemaExtensionId sets the SchemaExtensionId field's value. -func (s *SchemaExtensionInfo) SetSchemaExtensionId(v string) *SchemaExtensionInfo { - s.SchemaExtensionId = &v - return s -} - -// SetSchemaExtensionStatus sets the SchemaExtensionStatus field's value. -func (s *SchemaExtensionInfo) SetSchemaExtensionStatus(v SchemaExtensionStatus) *SchemaExtensionInfo { - s.SchemaExtensionStatus = v - return s -} - -// SetSchemaExtensionStatusReason sets the SchemaExtensionStatusReason field's value. -func (s *SchemaExtensionInfo) SetSchemaExtensionStatusReason(v string) *SchemaExtensionInfo { - s.SchemaExtensionStatusReason = &v - return s -} - -// SetStartDateTime sets the StartDateTime field's value. -func (s *SchemaExtensionInfo) SetStartDateTime(v time.Time) *SchemaExtensionInfo { - s.StartDateTime = &v - return s -} - // Describes a directory snapshot. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/Snapshot type Snapshot struct { @@ -6679,42 +5383,6 @@ func (s Snapshot) GoString() string { return s.String() } -// SetDirectoryId sets the DirectoryId field's value. -func (s *Snapshot) SetDirectoryId(v string) *Snapshot { - s.DirectoryId = &v - return s -} - -// SetName sets the Name field's value. -func (s *Snapshot) SetName(v string) *Snapshot { - s.Name = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *Snapshot) SetSnapshotId(v string) *Snapshot { - s.SnapshotId = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *Snapshot) SetStartTime(v time.Time) *Snapshot { - s.StartTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Snapshot) SetStatus(v SnapshotStatus) *Snapshot { - s.Status = v - return s -} - -// SetType sets the Type field's value. -func (s *Snapshot) SetType(v SnapshotType) *Snapshot { - s.Type = v - return s -} - // Contains manual snapshot limit information for a directory. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/SnapshotLimits type SnapshotLimits struct { @@ -6740,24 +5408,6 @@ func (s SnapshotLimits) GoString() string { return s.String() } -// SetManualSnapshotsCurrentCount sets the ManualSnapshotsCurrentCount field's value. -func (s *SnapshotLimits) SetManualSnapshotsCurrentCount(v int64) *SnapshotLimits { - s.ManualSnapshotsCurrentCount = &v - return s -} - -// SetManualSnapshotsLimit sets the ManualSnapshotsLimit field's value. -func (s *SnapshotLimits) SetManualSnapshotsLimit(v int64) *SnapshotLimits { - s.ManualSnapshotsLimit = &v - return s -} - -// SetManualSnapshotsLimitReached sets the ManualSnapshotsLimitReached field's value. -func (s *SnapshotLimits) SetManualSnapshotsLimitReached(v bool) *SnapshotLimits { - s.ManualSnapshotsLimitReached = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/StartSchemaExtensionRequest type StartSchemaExtensionInput struct { _ struct{} `type:"structure"` @@ -6826,30 +5476,6 @@ func (s *StartSchemaExtensionInput) Validate() error { return nil } -// SetCreateSnapshotBeforeSchemaExtension sets the CreateSnapshotBeforeSchemaExtension field's value. -func (s *StartSchemaExtensionInput) SetCreateSnapshotBeforeSchemaExtension(v bool) *StartSchemaExtensionInput { - s.CreateSnapshotBeforeSchemaExtension = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *StartSchemaExtensionInput) SetDescription(v string) *StartSchemaExtensionInput { - s.Description = &v - return s -} - -// SetDirectoryId sets the DirectoryId field's value. -func (s *StartSchemaExtensionInput) SetDirectoryId(v string) *StartSchemaExtensionInput { - s.DirectoryId = &v - return s -} - -// SetLdifContent sets the LdifContent field's value. -func (s *StartSchemaExtensionInput) SetLdifContent(v string) *StartSchemaExtensionInput { - s.LdifContent = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/StartSchemaExtensionResult type StartSchemaExtensionOutput struct { _ struct{} `type:"structure"` @@ -6875,12 +5501,6 @@ func (s StartSchemaExtensionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSchemaExtensionId sets the SchemaExtensionId field's value. -func (s *StartSchemaExtensionOutput) SetSchemaExtensionId(v string) *StartSchemaExtensionOutput { - s.SchemaExtensionId = &v - return s -} - // Metadata assigned to a directory consisting of a key-value pair. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/Tag type Tag struct { @@ -6932,18 +5552,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Describes a trust relationship between an Microsoft AD in the AWS cloud and // an external domain. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/Trust @@ -6992,66 +5600,6 @@ func (s Trust) GoString() string { return s.String() } -// SetCreatedDateTime sets the CreatedDateTime field's value. -func (s *Trust) SetCreatedDateTime(v time.Time) *Trust { - s.CreatedDateTime = &v - return s -} - -// SetDirectoryId sets the DirectoryId field's value. -func (s *Trust) SetDirectoryId(v string) *Trust { - s.DirectoryId = &v - return s -} - -// SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value. -func (s *Trust) SetLastUpdatedDateTime(v time.Time) *Trust { - s.LastUpdatedDateTime = &v - return s -} - -// SetRemoteDomainName sets the RemoteDomainName field's value. -func (s *Trust) SetRemoteDomainName(v string) *Trust { - s.RemoteDomainName = &v - return s -} - -// SetStateLastUpdatedDateTime sets the StateLastUpdatedDateTime field's value. -func (s *Trust) SetStateLastUpdatedDateTime(v time.Time) *Trust { - s.StateLastUpdatedDateTime = &v - return s -} - -// SetTrustDirection sets the TrustDirection field's value. -func (s *Trust) SetTrustDirection(v TrustDirection) *Trust { - s.TrustDirection = v - return s -} - -// SetTrustId sets the TrustId field's value. -func (s *Trust) SetTrustId(v string) *Trust { - s.TrustId = &v - return s -} - -// SetTrustState sets the TrustState field's value. -func (s *Trust) SetTrustState(v TrustState) *Trust { - s.TrustState = v - return s -} - -// SetTrustStateReason sets the TrustStateReason field's value. -func (s *Trust) SetTrustStateReason(v string) *Trust { - s.TrustStateReason = &v - return s -} - -// SetTrustType sets the TrustType field's value. -func (s *Trust) SetTrustType(v TrustType) *Trust { - s.TrustType = v - return s -} - // Updates a conditional forwarder. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateConditionalForwarderRequest type UpdateConditionalForwarderInput struct { @@ -7108,24 +5656,6 @@ func (s *UpdateConditionalForwarderInput) Validate() error { return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *UpdateConditionalForwarderInput) SetDirectoryId(v string) *UpdateConditionalForwarderInput { - s.DirectoryId = &v - return s -} - -// SetDnsIpAddrs sets the DnsIpAddrs field's value. -func (s *UpdateConditionalForwarderInput) SetDnsIpAddrs(v []string) *UpdateConditionalForwarderInput { - s.DnsIpAddrs = v - return s -} - -// SetRemoteDomainName sets the RemoteDomainName field's value. -func (s *UpdateConditionalForwarderInput) SetRemoteDomainName(v string) *UpdateConditionalForwarderInput { - s.RemoteDomainName = &v - return s -} - // The result of an UpdateConditionalForwarder request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateConditionalForwarderResult type UpdateConditionalForwarderOutput struct { @@ -7196,18 +5726,6 @@ func (s *UpdateNumberOfDomainControllersInput) Validate() error { return nil } -// SetDesiredNumber sets the DesiredNumber field's value. -func (s *UpdateNumberOfDomainControllersInput) SetDesiredNumber(v int64) *UpdateNumberOfDomainControllersInput { - s.DesiredNumber = &v - return s -} - -// SetDirectoryId sets the DirectoryId field's value. -func (s *UpdateNumberOfDomainControllersInput) SetDirectoryId(v string) *UpdateNumberOfDomainControllersInput { - s.DirectoryId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateNumberOfDomainControllersResult type UpdateNumberOfDomainControllersOutput struct { _ struct{} `type:"structure"` @@ -7279,18 +5797,6 @@ func (s *UpdateRadiusInput) Validate() error { return nil } -// SetDirectoryId sets the DirectoryId field's value. -func (s *UpdateRadiusInput) SetDirectoryId(v string) *UpdateRadiusInput { - s.DirectoryId = &v - return s -} - -// SetRadiusSettings sets the RadiusSettings field's value. -func (s *UpdateRadiusInput) SetRadiusSettings(v *RadiusSettings) *UpdateRadiusInput { - s.RadiusSettings = v - return s -} - // Contains the results of the UpdateRadius operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateRadiusResult type UpdateRadiusOutput struct { @@ -7350,12 +5856,6 @@ func (s *VerifyTrustInput) Validate() error { return nil } -// SetTrustId sets the TrustId field's value. -func (s *VerifyTrustInput) SetTrustId(v string) *VerifyTrustInput { - s.TrustId = &v - return s -} - // Result of a VerifyTrust request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/VerifyTrustResult type VerifyTrustOutput struct { @@ -7382,12 +5882,6 @@ func (s VerifyTrustOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTrustId sets the TrustId field's value. -func (s *VerifyTrustOutput) SetTrustId(v string) *VerifyTrustOutput { - s.TrustId = &v - return s -} - type DirectoryEdition string // Enum values for DirectoryEdition diff --git a/service/dynamodb/api.go b/service/dynamodb/api.go index fc211f943e3..66d419fb791 100644 --- a/service/dynamodb/api.go +++ b/service/dynamodb/api.go @@ -2206,18 +2206,6 @@ func (s *AttributeDefinition) Validate() error { return nil } -// SetAttributeName sets the AttributeName field's value. -func (s *AttributeDefinition) SetAttributeName(v string) *AttributeDefinition { - s.AttributeName = &v - return s -} - -// SetAttributeType sets the AttributeType field's value. -func (s *AttributeDefinition) SetAttributeType(v ScalarAttributeType) *AttributeDefinition { - s.AttributeType = v - return s -} - // Represents the data for an attribute. // // Each attribute value is described as a name-value pair. The name is the data @@ -2300,66 +2288,6 @@ func (s AttributeValue) GoString() string { return s.String() } -// SetB sets the B field's value. -func (s *AttributeValue) SetB(v []byte) *AttributeValue { - s.B = v - return s -} - -// SetBOOL sets the BOOL field's value. -func (s *AttributeValue) SetBOOL(v bool) *AttributeValue { - s.BOOL = &v - return s -} - -// SetBS sets the BS field's value. -func (s *AttributeValue) SetBS(v [][]byte) *AttributeValue { - s.BS = v - return s -} - -// SetL sets the L field's value. -func (s *AttributeValue) SetL(v []AttributeValue) *AttributeValue { - s.L = v - return s -} - -// SetM sets the M field's value. -func (s *AttributeValue) SetM(v map[string]AttributeValue) *AttributeValue { - s.M = v - return s -} - -// SetN sets the N field's value. -func (s *AttributeValue) SetN(v string) *AttributeValue { - s.N = &v - return s -} - -// SetNS sets the NS field's value. -func (s *AttributeValue) SetNS(v []string) *AttributeValue { - s.NS = v - return s -} - -// SetNULL sets the NULL field's value. -func (s *AttributeValue) SetNULL(v bool) *AttributeValue { - s.NULL = &v - return s -} - -// SetS sets the S field's value. -func (s *AttributeValue) SetS(v string) *AttributeValue { - s.S = &v - return s -} - -// SetSS sets the SS field's value. -func (s *AttributeValue) SetSS(v []string) *AttributeValue { - s.SS = v - return s -} - // For the UpdateItem operation, represents the attributes to be modified, the // action to perform on each, and the new value for each. // @@ -2459,18 +2387,6 @@ func (s AttributeValueUpdate) GoString() string { return s.String() } -// SetAction sets the Action field's value. -func (s *AttributeValueUpdate) SetAction(v AttributeAction) *AttributeValueUpdate { - s.Action = v - return s -} - -// SetValue sets the Value field's value. -func (s *AttributeValueUpdate) SetValue(v *AttributeValue) *AttributeValueUpdate { - s.Value = v - return s -} - // Contains the description of the backup created for the table. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BackupDescription type BackupDescription struct { @@ -2497,24 +2413,6 @@ func (s BackupDescription) GoString() string { return s.String() } -// SetBackupDetails sets the BackupDetails field's value. -func (s *BackupDescription) SetBackupDetails(v *BackupDetails) *BackupDescription { - s.BackupDetails = v - return s -} - -// SetSourceTableDetails sets the SourceTableDetails field's value. -func (s *BackupDescription) SetSourceTableDetails(v *SourceTableDetails) *BackupDescription { - s.SourceTableDetails = v - return s -} - -// SetSourceTableFeatureDetails sets the SourceTableFeatureDetails field's value. -func (s *BackupDescription) SetSourceTableFeatureDetails(v *SourceTableFeatureDetails) *BackupDescription { - s.SourceTableFeatureDetails = v - return s -} - // Contains the details of the backup created for the table. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BackupDetails type BackupDetails struct { @@ -2554,36 +2452,6 @@ func (s BackupDetails) GoString() string { return s.String() } -// SetBackupArn sets the BackupArn field's value. -func (s *BackupDetails) SetBackupArn(v string) *BackupDetails { - s.BackupArn = &v - return s -} - -// SetBackupCreationDateTime sets the BackupCreationDateTime field's value. -func (s *BackupDetails) SetBackupCreationDateTime(v time.Time) *BackupDetails { - s.BackupCreationDateTime = &v - return s -} - -// SetBackupName sets the BackupName field's value. -func (s *BackupDetails) SetBackupName(v string) *BackupDetails { - s.BackupName = &v - return s -} - -// SetBackupSizeBytes sets the BackupSizeBytes field's value. -func (s *BackupDetails) SetBackupSizeBytes(v int64) *BackupDetails { - s.BackupSizeBytes = &v - return s -} - -// SetBackupStatus sets the BackupStatus field's value. -func (s *BackupDetails) SetBackupStatus(v BackupStatus) *BackupDetails { - s.BackupStatus = v - return s -} - // Contains details for the backup. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BackupSummary type BackupSummary struct { @@ -2624,54 +2492,6 @@ func (s BackupSummary) GoString() string { return s.String() } -// SetBackupArn sets the BackupArn field's value. -func (s *BackupSummary) SetBackupArn(v string) *BackupSummary { - s.BackupArn = &v - return s -} - -// SetBackupCreationDateTime sets the BackupCreationDateTime field's value. -func (s *BackupSummary) SetBackupCreationDateTime(v time.Time) *BackupSummary { - s.BackupCreationDateTime = &v - return s -} - -// SetBackupName sets the BackupName field's value. -func (s *BackupSummary) SetBackupName(v string) *BackupSummary { - s.BackupName = &v - return s -} - -// SetBackupSizeBytes sets the BackupSizeBytes field's value. -func (s *BackupSummary) SetBackupSizeBytes(v int64) *BackupSummary { - s.BackupSizeBytes = &v - return s -} - -// SetBackupStatus sets the BackupStatus field's value. -func (s *BackupSummary) SetBackupStatus(v BackupStatus) *BackupSummary { - s.BackupStatus = v - return s -} - -// SetTableArn sets the TableArn field's value. -func (s *BackupSummary) SetTableArn(v string) *BackupSummary { - s.TableArn = &v - return s -} - -// SetTableId sets the TableId field's value. -func (s *BackupSummary) SetTableId(v string) *BackupSummary { - s.TableId = &v - return s -} - -// SetTableName sets the TableName field's value. -func (s *BackupSummary) SetTableName(v string) *BackupSummary { - s.TableName = &v - return s -} - // Represents the input of a BatchGetItem operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItemInput type BatchGetItemInput struct { @@ -2799,18 +2619,6 @@ func (s *BatchGetItemInput) Validate() error { return nil } -// SetRequestItems sets the RequestItems field's value. -func (s *BatchGetItemInput) SetRequestItems(v map[string]KeysAndAttributes) *BatchGetItemInput { - s.RequestItems = v - return s -} - -// SetReturnConsumedCapacity sets the ReturnConsumedCapacity field's value. -func (s *BatchGetItemInput) SetReturnConsumedCapacity(v ReturnConsumedCapacity) *BatchGetItemInput { - s.ReturnConsumedCapacity = v - return s -} - // Represents the output of a BatchGetItem operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItemOutput type BatchGetItemOutput struct { @@ -2870,24 +2678,6 @@ func (s BatchGetItemOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConsumedCapacity sets the ConsumedCapacity field's value. -func (s *BatchGetItemOutput) SetConsumedCapacity(v []ConsumedCapacity) *BatchGetItemOutput { - s.ConsumedCapacity = v - return s -} - -// SetResponses sets the Responses field's value. -func (s *BatchGetItemOutput) SetResponses(v map[string][]map[string]AttributeValue) *BatchGetItemOutput { - s.Responses = v - return s -} - -// SetUnprocessedKeys sets the UnprocessedKeys field's value. -func (s *BatchGetItemOutput) SetUnprocessedKeys(v map[string]KeysAndAttributes) *BatchGetItemOutput { - s.UnprocessedKeys = v - return s -} - // Represents the input of a BatchWriteItem operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchWriteItemInput type BatchWriteItemInput struct { @@ -2974,24 +2764,6 @@ func (s *BatchWriteItemInput) Validate() error { return nil } -// SetRequestItems sets the RequestItems field's value. -func (s *BatchWriteItemInput) SetRequestItems(v map[string][]WriteRequest) *BatchWriteItemInput { - s.RequestItems = v - return s -} - -// SetReturnConsumedCapacity sets the ReturnConsumedCapacity field's value. -func (s *BatchWriteItemInput) SetReturnConsumedCapacity(v ReturnConsumedCapacity) *BatchWriteItemInput { - s.ReturnConsumedCapacity = v - return s -} - -// SetReturnItemCollectionMetrics sets the ReturnItemCollectionMetrics field's value. -func (s *BatchWriteItemInput) SetReturnItemCollectionMetrics(v ReturnItemCollectionMetrics) *BatchWriteItemInput { - s.ReturnItemCollectionMetrics = v - return s -} - // Represents the output of a BatchWriteItem operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchWriteItemOutput type BatchWriteItemOutput struct { @@ -3076,24 +2848,6 @@ func (s BatchWriteItemOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConsumedCapacity sets the ConsumedCapacity field's value. -func (s *BatchWriteItemOutput) SetConsumedCapacity(v []ConsumedCapacity) *BatchWriteItemOutput { - s.ConsumedCapacity = v - return s -} - -// SetItemCollectionMetrics sets the ItemCollectionMetrics field's value. -func (s *BatchWriteItemOutput) SetItemCollectionMetrics(v map[string][]ItemCollectionMetrics) *BatchWriteItemOutput { - s.ItemCollectionMetrics = v - return s -} - -// SetUnprocessedItems sets the UnprocessedItems field's value. -func (s *BatchWriteItemOutput) SetUnprocessedItems(v map[string][]WriteRequest) *BatchWriteItemOutput { - s.UnprocessedItems = v - return s -} - // Represents the amount of provisioned throughput capacity consumed on a table // or an index. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Capacity @@ -3114,12 +2868,6 @@ func (s Capacity) GoString() string { return s.String() } -// SetCapacityUnits sets the CapacityUnits field's value. -func (s *Capacity) SetCapacityUnits(v float64) *Capacity { - s.CapacityUnits = &v - return s -} - // Represents the selection criteria for a Query or Scan operation: // // * For a Query operation, Condition is used for specifying the KeyConditions @@ -3220,18 +2968,6 @@ func (s *Condition) Validate() error { return nil } -// SetAttributeValueList sets the AttributeValueList field's value. -func (s *Condition) SetAttributeValueList(v []AttributeValue) *Condition { - s.AttributeValueList = v - return s -} - -// SetComparisonOperator sets the ComparisonOperator field's value. -func (s *Condition) SetComparisonOperator(v ComparisonOperator) *Condition { - s.ComparisonOperator = v - return s -} - // The capacity units consumed by an operation. The data returned includes the // total provisioned throughput consumed, along with statistics for the table // and any indexes involved in the operation. ConsumedCapacity is only returned @@ -3268,36 +3004,6 @@ func (s ConsumedCapacity) GoString() string { return s.String() } -// SetCapacityUnits sets the CapacityUnits field's value. -func (s *ConsumedCapacity) SetCapacityUnits(v float64) *ConsumedCapacity { - s.CapacityUnits = &v - return s -} - -// SetGlobalSecondaryIndexes sets the GlobalSecondaryIndexes field's value. -func (s *ConsumedCapacity) SetGlobalSecondaryIndexes(v map[string]Capacity) *ConsumedCapacity { - s.GlobalSecondaryIndexes = v - return s -} - -// SetLocalSecondaryIndexes sets the LocalSecondaryIndexes field's value. -func (s *ConsumedCapacity) SetLocalSecondaryIndexes(v map[string]Capacity) *ConsumedCapacity { - s.LocalSecondaryIndexes = v - return s -} - -// SetTable sets the Table field's value. -func (s *ConsumedCapacity) SetTable(v *Capacity) *ConsumedCapacity { - s.Table = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *ConsumedCapacity) SetTableName(v string) *ConsumedCapacity { - s.TableName = &v - return s -} - // Represents the backup and restore settings on the table when the backup was // created. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ContinuousBackupsDescription @@ -3320,12 +3026,6 @@ func (s ContinuousBackupsDescription) GoString() string { return s.String() } -// SetContinuousBackupsStatus sets the ContinuousBackupsStatus field's value. -func (s *ContinuousBackupsDescription) SetContinuousBackupsStatus(v ContinuousBackupsStatus) *ContinuousBackupsDescription { - s.ContinuousBackupsStatus = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateBackupInput type CreateBackupInput struct { _ struct{} `type:"structure"` @@ -3375,18 +3075,6 @@ func (s *CreateBackupInput) Validate() error { return nil } -// SetBackupName sets the BackupName field's value. -func (s *CreateBackupInput) SetBackupName(v string) *CreateBackupInput { - s.BackupName = &v - return s -} - -// SetTableName sets the TableName field's value. -func (s *CreateBackupInput) SetTableName(v string) *CreateBackupInput { - s.TableName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateBackupOutput type CreateBackupOutput struct { _ struct{} `type:"structure"` @@ -3412,12 +3100,6 @@ func (s CreateBackupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBackupDetails sets the BackupDetails field's value. -func (s *CreateBackupOutput) SetBackupDetails(v *BackupDetails) *CreateBackupOutput { - s.BackupDetails = v - return s -} - // Represents a new global secondary index to be added to an existing table. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateGlobalSecondaryIndexAction type CreateGlobalSecondaryIndexAction struct { @@ -3510,30 +3192,6 @@ func (s *CreateGlobalSecondaryIndexAction) Validate() error { return nil } -// SetIndexName sets the IndexName field's value. -func (s *CreateGlobalSecondaryIndexAction) SetIndexName(v string) *CreateGlobalSecondaryIndexAction { - s.IndexName = &v - return s -} - -// SetKeySchema sets the KeySchema field's value. -func (s *CreateGlobalSecondaryIndexAction) SetKeySchema(v []KeySchemaElement) *CreateGlobalSecondaryIndexAction { - s.KeySchema = v - return s -} - -// SetProjection sets the Projection field's value. -func (s *CreateGlobalSecondaryIndexAction) SetProjection(v *Projection) *CreateGlobalSecondaryIndexAction { - s.Projection = v - return s -} - -// SetProvisionedThroughput sets the ProvisionedThroughput field's value. -func (s *CreateGlobalSecondaryIndexAction) SetProvisionedThroughput(v *ProvisionedThroughput) *CreateGlobalSecondaryIndexAction { - s.ProvisionedThroughput = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateGlobalTableInput type CreateGlobalTableInput struct { _ struct{} `type:"structure"` @@ -3580,18 +3238,6 @@ func (s *CreateGlobalTableInput) Validate() error { return nil } -// SetGlobalTableName sets the GlobalTableName field's value. -func (s *CreateGlobalTableInput) SetGlobalTableName(v string) *CreateGlobalTableInput { - s.GlobalTableName = &v - return s -} - -// SetReplicationGroup sets the ReplicationGroup field's value. -func (s *CreateGlobalTableInput) SetReplicationGroup(v []Replica) *CreateGlobalTableInput { - s.ReplicationGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateGlobalTableOutput type CreateGlobalTableOutput struct { _ struct{} `type:"structure"` @@ -3617,12 +3263,6 @@ func (s CreateGlobalTableOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGlobalTableDescription sets the GlobalTableDescription field's value. -func (s *CreateGlobalTableOutput) SetGlobalTableDescription(v *GlobalTableDescription) *CreateGlobalTableOutput { - s.GlobalTableDescription = v - return s -} - // Represents a replica to be added. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateReplicaAction type CreateReplicaAction struct { @@ -3658,12 +3298,6 @@ func (s *CreateReplicaAction) Validate() error { return nil } -// SetRegionName sets the RegionName field's value. -func (s *CreateReplicaAction) SetRegionName(v string) *CreateReplicaAction { - s.RegionName = &v - return s -} - // Represents the input of a CreateTable operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTableInput type CreateTableInput struct { @@ -3890,48 +3524,6 @@ func (s *CreateTableInput) Validate() error { return nil } -// SetAttributeDefinitions sets the AttributeDefinitions field's value. -func (s *CreateTableInput) SetAttributeDefinitions(v []AttributeDefinition) *CreateTableInput { - s.AttributeDefinitions = v - return s -} - -// SetGlobalSecondaryIndexes sets the GlobalSecondaryIndexes field's value. -func (s *CreateTableInput) SetGlobalSecondaryIndexes(v []GlobalSecondaryIndex) *CreateTableInput { - s.GlobalSecondaryIndexes = v - return s -} - -// SetKeySchema sets the KeySchema field's value. -func (s *CreateTableInput) SetKeySchema(v []KeySchemaElement) *CreateTableInput { - s.KeySchema = v - return s -} - -// SetLocalSecondaryIndexes sets the LocalSecondaryIndexes field's value. -func (s *CreateTableInput) SetLocalSecondaryIndexes(v []LocalSecondaryIndex) *CreateTableInput { - s.LocalSecondaryIndexes = v - return s -} - -// SetProvisionedThroughput sets the ProvisionedThroughput field's value. -func (s *CreateTableInput) SetProvisionedThroughput(v *ProvisionedThroughput) *CreateTableInput { - s.ProvisionedThroughput = v - return s -} - -// SetStreamSpecification sets the StreamSpecification field's value. -func (s *CreateTableInput) SetStreamSpecification(v *StreamSpecification) *CreateTableInput { - s.StreamSpecification = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *CreateTableInput) SetTableName(v string) *CreateTableInput { - s.TableName = &v - return s -} - // Represents the output of a CreateTable operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTableOutput type CreateTableOutput struct { @@ -3958,12 +3550,6 @@ func (s CreateTableOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTableDescription sets the TableDescription field's value. -func (s *CreateTableOutput) SetTableDescription(v *TableDescription) *CreateTableOutput { - s.TableDescription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteBackupInput type DeleteBackupInput struct { _ struct{} `type:"structure"` @@ -4001,12 +3587,6 @@ func (s *DeleteBackupInput) Validate() error { return nil } -// SetBackupArn sets the BackupArn field's value. -func (s *DeleteBackupInput) SetBackupArn(v string) *DeleteBackupInput { - s.BackupArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteBackupOutput type DeleteBackupOutput struct { _ struct{} `type:"structure"` @@ -4032,12 +3612,6 @@ func (s DeleteBackupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBackupDescription sets the BackupDescription field's value. -func (s *DeleteBackupOutput) SetBackupDescription(v *BackupDescription) *DeleteBackupOutput { - s.BackupDescription = v - return s -} - // Represents a global secondary index to be deleted from an existing table. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteGlobalSecondaryIndexAction type DeleteGlobalSecondaryIndexAction struct { @@ -4076,12 +3650,6 @@ func (s *DeleteGlobalSecondaryIndexAction) Validate() error { return nil } -// SetIndexName sets the IndexName field's value. -func (s *DeleteGlobalSecondaryIndexAction) SetIndexName(v string) *DeleteGlobalSecondaryIndexAction { - s.IndexName = &v - return s -} - // Represents the input of a DeleteItem operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItemInput type DeleteItemInput struct { @@ -4258,66 +3826,6 @@ func (s *DeleteItemInput) Validate() error { return nil } -// SetConditionExpression sets the ConditionExpression field's value. -func (s *DeleteItemInput) SetConditionExpression(v string) *DeleteItemInput { - s.ConditionExpression = &v - return s -} - -// SetConditionalOperator sets the ConditionalOperator field's value. -func (s *DeleteItemInput) SetConditionalOperator(v ConditionalOperator) *DeleteItemInput { - s.ConditionalOperator = v - return s -} - -// SetExpected sets the Expected field's value. -func (s *DeleteItemInput) SetExpected(v map[string]ExpectedAttributeValue) *DeleteItemInput { - s.Expected = v - return s -} - -// SetExpressionAttributeNames sets the ExpressionAttributeNames field's value. -func (s *DeleteItemInput) SetExpressionAttributeNames(v map[string]string) *DeleteItemInput { - s.ExpressionAttributeNames = v - return s -} - -// SetExpressionAttributeValues sets the ExpressionAttributeValues field's value. -func (s *DeleteItemInput) SetExpressionAttributeValues(v map[string]AttributeValue) *DeleteItemInput { - s.ExpressionAttributeValues = v - return s -} - -// SetKey sets the Key field's value. -func (s *DeleteItemInput) SetKey(v map[string]AttributeValue) *DeleteItemInput { - s.Key = v - return s -} - -// SetReturnConsumedCapacity sets the ReturnConsumedCapacity field's value. -func (s *DeleteItemInput) SetReturnConsumedCapacity(v ReturnConsumedCapacity) *DeleteItemInput { - s.ReturnConsumedCapacity = v - return s -} - -// SetReturnItemCollectionMetrics sets the ReturnItemCollectionMetrics field's value. -func (s *DeleteItemInput) SetReturnItemCollectionMetrics(v ReturnItemCollectionMetrics) *DeleteItemInput { - s.ReturnItemCollectionMetrics = v - return s -} - -// SetReturnValues sets the ReturnValues field's value. -func (s *DeleteItemInput) SetReturnValues(v ReturnValue) *DeleteItemInput { - s.ReturnValues = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *DeleteItemInput) SetTableName(v string) *DeleteItemInput { - s.TableName = &v - return s -} - // Represents the output of a DeleteItem operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItemOutput type DeleteItemOutput struct { @@ -4375,24 +3883,6 @@ func (s DeleteItemOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *DeleteItemOutput) SetAttributes(v map[string]AttributeValue) *DeleteItemOutput { - s.Attributes = v - return s -} - -// SetConsumedCapacity sets the ConsumedCapacity field's value. -func (s *DeleteItemOutput) SetConsumedCapacity(v *ConsumedCapacity) *DeleteItemOutput { - s.ConsumedCapacity = v - return s -} - -// SetItemCollectionMetrics sets the ItemCollectionMetrics field's value. -func (s *DeleteItemOutput) SetItemCollectionMetrics(v *ItemCollectionMetrics) *DeleteItemOutput { - s.ItemCollectionMetrics = v - return s -} - // Represents a replica to be removed. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteReplicaAction type DeleteReplicaAction struct { @@ -4428,12 +3918,6 @@ func (s *DeleteReplicaAction) Validate() error { return nil } -// SetRegionName sets the RegionName field's value. -func (s *DeleteReplicaAction) SetRegionName(v string) *DeleteReplicaAction { - s.RegionName = &v - return s -} - // Represents a request to perform a DeleteItem operation on an item. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteRequest type DeleteRequest struct { @@ -4457,12 +3941,6 @@ func (s DeleteRequest) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *DeleteRequest) SetKey(v map[string]AttributeValue) *DeleteRequest { - s.Key = v - return s -} - // Represents the input of a DeleteTable operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTableInput type DeleteTableInput struct { @@ -4501,12 +3979,6 @@ func (s *DeleteTableInput) Validate() error { return nil } -// SetTableName sets the TableName field's value. -func (s *DeleteTableInput) SetTableName(v string) *DeleteTableInput { - s.TableName = &v - return s -} - // Represents the output of a DeleteTable operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTableOutput type DeleteTableOutput struct { @@ -4533,12 +4005,6 @@ func (s DeleteTableOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTableDescription sets the TableDescription field's value. -func (s *DeleteTableOutput) SetTableDescription(v *TableDescription) *DeleteTableOutput { - s.TableDescription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeBackupInput type DescribeBackupInput struct { _ struct{} `type:"structure"` @@ -4576,12 +4042,6 @@ func (s *DescribeBackupInput) Validate() error { return nil } -// SetBackupArn sets the BackupArn field's value. -func (s *DescribeBackupInput) SetBackupArn(v string) *DescribeBackupInput { - s.BackupArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeBackupOutput type DescribeBackupOutput struct { _ struct{} `type:"structure"` @@ -4607,12 +4067,6 @@ func (s DescribeBackupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBackupDescription sets the BackupDescription field's value. -func (s *DescribeBackupOutput) SetBackupDescription(v *BackupDescription) *DescribeBackupOutput { - s.BackupDescription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeContinuousBackupsInput type DescribeContinuousBackupsInput struct { _ struct{} `type:"structure"` @@ -4651,12 +4105,6 @@ func (s *DescribeContinuousBackupsInput) Validate() error { return nil } -// SetTableName sets the TableName field's value. -func (s *DescribeContinuousBackupsInput) SetTableName(v string) *DescribeContinuousBackupsInput { - s.TableName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeContinuousBackupsOutput type DescribeContinuousBackupsOutput struct { _ struct{} `type:"structure"` @@ -4682,12 +4130,6 @@ func (s DescribeContinuousBackupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetContinuousBackupsDescription sets the ContinuousBackupsDescription field's value. -func (s *DescribeContinuousBackupsOutput) SetContinuousBackupsDescription(v *ContinuousBackupsDescription) *DescribeContinuousBackupsOutput { - s.ContinuousBackupsDescription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeGlobalTableInput type DescribeGlobalTableInput struct { _ struct{} `type:"structure"` @@ -4725,12 +4167,6 @@ func (s *DescribeGlobalTableInput) Validate() error { return nil } -// SetGlobalTableName sets the GlobalTableName field's value. -func (s *DescribeGlobalTableInput) SetGlobalTableName(v string) *DescribeGlobalTableInput { - s.GlobalTableName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeGlobalTableOutput type DescribeGlobalTableOutput struct { _ struct{} `type:"structure"` @@ -4756,12 +4192,6 @@ func (s DescribeGlobalTableOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGlobalTableDescription sets the GlobalTableDescription field's value. -func (s *DescribeGlobalTableOutput) SetGlobalTableDescription(v *GlobalTableDescription) *DescribeGlobalTableOutput { - s.GlobalTableDescription = v - return s -} - // Represents the input of a DescribeLimits operation. Has no content. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeLimitsInput type DescribeLimitsInput struct { @@ -4819,30 +4249,6 @@ func (s DescribeLimitsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAccountMaxReadCapacityUnits sets the AccountMaxReadCapacityUnits field's value. -func (s *DescribeLimitsOutput) SetAccountMaxReadCapacityUnits(v int64) *DescribeLimitsOutput { - s.AccountMaxReadCapacityUnits = &v - return s -} - -// SetAccountMaxWriteCapacityUnits sets the AccountMaxWriteCapacityUnits field's value. -func (s *DescribeLimitsOutput) SetAccountMaxWriteCapacityUnits(v int64) *DescribeLimitsOutput { - s.AccountMaxWriteCapacityUnits = &v - return s -} - -// SetTableMaxReadCapacityUnits sets the TableMaxReadCapacityUnits field's value. -func (s *DescribeLimitsOutput) SetTableMaxReadCapacityUnits(v int64) *DescribeLimitsOutput { - s.TableMaxReadCapacityUnits = &v - return s -} - -// SetTableMaxWriteCapacityUnits sets the TableMaxWriteCapacityUnits field's value. -func (s *DescribeLimitsOutput) SetTableMaxWriteCapacityUnits(v int64) *DescribeLimitsOutput { - s.TableMaxWriteCapacityUnits = &v - return s -} - // Represents the input of a DescribeTable operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableInput type DescribeTableInput struct { @@ -4881,12 +4287,6 @@ func (s *DescribeTableInput) Validate() error { return nil } -// SetTableName sets the TableName field's value. -func (s *DescribeTableInput) SetTableName(v string) *DescribeTableInput { - s.TableName = &v - return s -} - // Represents the output of a DescribeTable operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableOutput type DescribeTableOutput struct { @@ -4913,12 +4313,6 @@ func (s DescribeTableOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTable sets the Table field's value. -func (s *DescribeTableOutput) SetTable(v *TableDescription) *DescribeTableOutput { - s.Table = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTimeToLiveInput type DescribeTimeToLiveInput struct { _ struct{} `type:"structure"` @@ -4956,12 +4350,6 @@ func (s *DescribeTimeToLiveInput) Validate() error { return nil } -// SetTableName sets the TableName field's value. -func (s *DescribeTimeToLiveInput) SetTableName(v string) *DescribeTimeToLiveInput { - s.TableName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTimeToLiveOutput type DescribeTimeToLiveOutput struct { _ struct{} `type:"structure"` @@ -4987,12 +4375,6 @@ func (s DescribeTimeToLiveOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTimeToLiveDescription sets the TimeToLiveDescription field's value. -func (s *DescribeTimeToLiveOutput) SetTimeToLiveDescription(v *TimeToLiveDescription) *DescribeTimeToLiveOutput { - s.TimeToLiveDescription = v - return s -} - // Represents a condition to be compared with an attribute value. This condition // can be used with DeleteItem, PutItem or UpdateItem operations; if the comparison // evaluates to true, the operation succeeds; if not, the operation fails. You @@ -5121,30 +4503,6 @@ func (s ExpectedAttributeValue) GoString() string { return s.String() } -// SetAttributeValueList sets the AttributeValueList field's value. -func (s *ExpectedAttributeValue) SetAttributeValueList(v []AttributeValue) *ExpectedAttributeValue { - s.AttributeValueList = v - return s -} - -// SetComparisonOperator sets the ComparisonOperator field's value. -func (s *ExpectedAttributeValue) SetComparisonOperator(v ComparisonOperator) *ExpectedAttributeValue { - s.ComparisonOperator = v - return s -} - -// SetExists sets the Exists field's value. -func (s *ExpectedAttributeValue) SetExists(v bool) *ExpectedAttributeValue { - s.Exists = &v - return s -} - -// SetValue sets the Value field's value. -func (s *ExpectedAttributeValue) SetValue(v *AttributeValue) *ExpectedAttributeValue { - s.Value = v - return s -} - // Represents the input of a GetItem operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItemInput type GetItemInput struct { @@ -5277,48 +4635,6 @@ func (s *GetItemInput) Validate() error { return nil } -// SetAttributesToGet sets the AttributesToGet field's value. -func (s *GetItemInput) SetAttributesToGet(v []string) *GetItemInput { - s.AttributesToGet = v - return s -} - -// SetConsistentRead sets the ConsistentRead field's value. -func (s *GetItemInput) SetConsistentRead(v bool) *GetItemInput { - s.ConsistentRead = &v - return s -} - -// SetExpressionAttributeNames sets the ExpressionAttributeNames field's value. -func (s *GetItemInput) SetExpressionAttributeNames(v map[string]string) *GetItemInput { - s.ExpressionAttributeNames = v - return s -} - -// SetKey sets the Key field's value. -func (s *GetItemInput) SetKey(v map[string]AttributeValue) *GetItemInput { - s.Key = v - return s -} - -// SetProjectionExpression sets the ProjectionExpression field's value. -func (s *GetItemInput) SetProjectionExpression(v string) *GetItemInput { - s.ProjectionExpression = &v - return s -} - -// SetReturnConsumedCapacity sets the ReturnConsumedCapacity field's value. -func (s *GetItemInput) SetReturnConsumedCapacity(v ReturnConsumedCapacity) *GetItemInput { - s.ReturnConsumedCapacity = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *GetItemInput) SetTableName(v string) *GetItemInput { - s.TableName = &v - return s -} - // Represents the output of a GetItem operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItemOutput type GetItemOutput struct { @@ -5353,18 +4669,6 @@ func (s GetItemOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConsumedCapacity sets the ConsumedCapacity field's value. -func (s *GetItemOutput) SetConsumedCapacity(v *ConsumedCapacity) *GetItemOutput { - s.ConsumedCapacity = v - return s -} - -// SetItem sets the Item field's value. -func (s *GetItemOutput) SetItem(v map[string]AttributeValue) *GetItemOutput { - s.Item = v - return s -} - // Represents the properties of a global secondary index. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndex type GlobalSecondaryIndex struct { @@ -5472,30 +4776,6 @@ func (s *GlobalSecondaryIndex) Validate() error { return nil } -// SetIndexName sets the IndexName field's value. -func (s *GlobalSecondaryIndex) SetIndexName(v string) *GlobalSecondaryIndex { - s.IndexName = &v - return s -} - -// SetKeySchema sets the KeySchema field's value. -func (s *GlobalSecondaryIndex) SetKeySchema(v []KeySchemaElement) *GlobalSecondaryIndex { - s.KeySchema = v - return s -} - -// SetProjection sets the Projection field's value. -func (s *GlobalSecondaryIndex) SetProjection(v *Projection) *GlobalSecondaryIndex { - s.Projection = v - return s -} - -// SetProvisionedThroughput sets the ProvisionedThroughput field's value. -func (s *GlobalSecondaryIndex) SetProvisionedThroughput(v *ProvisionedThroughput) *GlobalSecondaryIndex { - s.ProvisionedThroughput = v - return s -} - // Represents the properties of a global secondary index. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndexDescription type GlobalSecondaryIndexDescription struct { @@ -5579,68 +4859,14 @@ func (s GlobalSecondaryIndexDescription) GoString() string { return s.String() } -// SetBackfilling sets the Backfilling field's value. -func (s *GlobalSecondaryIndexDescription) SetBackfilling(v bool) *GlobalSecondaryIndexDescription { - s.Backfilling = &v - return s -} - -// SetIndexArn sets the IndexArn field's value. -func (s *GlobalSecondaryIndexDescription) SetIndexArn(v string) *GlobalSecondaryIndexDescription { - s.IndexArn = &v - return s -} - -// SetIndexName sets the IndexName field's value. -func (s *GlobalSecondaryIndexDescription) SetIndexName(v string) *GlobalSecondaryIndexDescription { - s.IndexName = &v - return s -} - -// SetIndexSizeBytes sets the IndexSizeBytes field's value. -func (s *GlobalSecondaryIndexDescription) SetIndexSizeBytes(v int64) *GlobalSecondaryIndexDescription { - s.IndexSizeBytes = &v - return s -} +// Represents the properties of a global secondary index for the table when +// the backup was created. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndexInfo +type GlobalSecondaryIndexInfo struct { + _ struct{} `type:"structure"` -// SetIndexStatus sets the IndexStatus field's value. -func (s *GlobalSecondaryIndexDescription) SetIndexStatus(v IndexStatus) *GlobalSecondaryIndexDescription { - s.IndexStatus = v - return s -} - -// SetItemCount sets the ItemCount field's value. -func (s *GlobalSecondaryIndexDescription) SetItemCount(v int64) *GlobalSecondaryIndexDescription { - s.ItemCount = &v - return s -} - -// SetKeySchema sets the KeySchema field's value. -func (s *GlobalSecondaryIndexDescription) SetKeySchema(v []KeySchemaElement) *GlobalSecondaryIndexDescription { - s.KeySchema = v - return s -} - -// SetProjection sets the Projection field's value. -func (s *GlobalSecondaryIndexDescription) SetProjection(v *Projection) *GlobalSecondaryIndexDescription { - s.Projection = v - return s -} - -// SetProvisionedThroughput sets the ProvisionedThroughput field's value. -func (s *GlobalSecondaryIndexDescription) SetProvisionedThroughput(v *ProvisionedThroughputDescription) *GlobalSecondaryIndexDescription { - s.ProvisionedThroughput = v - return s -} - -// Represents the properties of a global secondary index for the table when -// the backup was created. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndexInfo -type GlobalSecondaryIndexInfo struct { - _ struct{} `type:"structure"` - - // The name of the global secondary index. - IndexName *string `min:"3" type:"string"` + // The name of the global secondary index. + IndexName *string `min:"3" type:"string"` // The complete key schema for a global secondary index, which consists of one // or more pairs of attribute names and key types: @@ -5679,30 +4905,6 @@ func (s GlobalSecondaryIndexInfo) GoString() string { return s.String() } -// SetIndexName sets the IndexName field's value. -func (s *GlobalSecondaryIndexInfo) SetIndexName(v string) *GlobalSecondaryIndexInfo { - s.IndexName = &v - return s -} - -// SetKeySchema sets the KeySchema field's value. -func (s *GlobalSecondaryIndexInfo) SetKeySchema(v []KeySchemaElement) *GlobalSecondaryIndexInfo { - s.KeySchema = v - return s -} - -// SetProjection sets the Projection field's value. -func (s *GlobalSecondaryIndexInfo) SetProjection(v *Projection) *GlobalSecondaryIndexInfo { - s.Projection = v - return s -} - -// SetProvisionedThroughput sets the ProvisionedThroughput field's value. -func (s *GlobalSecondaryIndexInfo) SetProvisionedThroughput(v *ProvisionedThroughput) *GlobalSecondaryIndexInfo { - s.ProvisionedThroughput = v - return s -} - // Represents one of the following: // // * A new global secondary index to be added to an existing table. @@ -5772,24 +4974,6 @@ func (s *GlobalSecondaryIndexUpdate) Validate() error { return nil } -// SetCreate sets the Create field's value. -func (s *GlobalSecondaryIndexUpdate) SetCreate(v *CreateGlobalSecondaryIndexAction) *GlobalSecondaryIndexUpdate { - s.Create = v - return s -} - -// SetDelete sets the Delete field's value. -func (s *GlobalSecondaryIndexUpdate) SetDelete(v *DeleteGlobalSecondaryIndexAction) *GlobalSecondaryIndexUpdate { - s.Delete = v - return s -} - -// SetUpdate sets the Update field's value. -func (s *GlobalSecondaryIndexUpdate) SetUpdate(v *UpdateGlobalSecondaryIndexAction) *GlobalSecondaryIndexUpdate { - s.Update = v - return s -} - // Represents the properties of a global table. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalTable type GlobalTable struct { @@ -5812,18 +4996,6 @@ func (s GlobalTable) GoString() string { return s.String() } -// SetGlobalTableName sets the GlobalTableName field's value. -func (s *GlobalTable) SetGlobalTableName(v string) *GlobalTable { - s.GlobalTableName = &v - return s -} - -// SetReplicationGroup sets the ReplicationGroup field's value. -func (s *GlobalTable) SetReplicationGroup(v []Replica) *GlobalTable { - s.ReplicationGroup = v - return s -} - // Contains details about the global table. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalTableDescription type GlobalTableDescription struct { @@ -5863,36 +5035,6 @@ func (s GlobalTableDescription) GoString() string { return s.String() } -// SetCreationDateTime sets the CreationDateTime field's value. -func (s *GlobalTableDescription) SetCreationDateTime(v time.Time) *GlobalTableDescription { - s.CreationDateTime = &v - return s -} - -// SetGlobalTableArn sets the GlobalTableArn field's value. -func (s *GlobalTableDescription) SetGlobalTableArn(v string) *GlobalTableDescription { - s.GlobalTableArn = &v - return s -} - -// SetGlobalTableName sets the GlobalTableName field's value. -func (s *GlobalTableDescription) SetGlobalTableName(v string) *GlobalTableDescription { - s.GlobalTableName = &v - return s -} - -// SetGlobalTableStatus sets the GlobalTableStatus field's value. -func (s *GlobalTableDescription) SetGlobalTableStatus(v GlobalTableStatus) *GlobalTableDescription { - s.GlobalTableStatus = v - return s -} - -// SetReplicationGroup sets the ReplicationGroup field's value. -func (s *GlobalTableDescription) SetReplicationGroup(v []ReplicaDescription) *GlobalTableDescription { - s.ReplicationGroup = v - return s -} - // Information about item collections, if any, that were affected by the operation. // ItemCollectionMetrics is only returned if the request asked for it. If the // table does not have any local secondary indexes, this information is not @@ -5927,18 +5069,6 @@ func (s ItemCollectionMetrics) GoString() string { return s.String() } -// SetItemCollectionKey sets the ItemCollectionKey field's value. -func (s *ItemCollectionMetrics) SetItemCollectionKey(v map[string]AttributeValue) *ItemCollectionMetrics { - s.ItemCollectionKey = v - return s -} - -// SetSizeEstimateRangeGB sets the SizeEstimateRangeGB field's value. -func (s *ItemCollectionMetrics) SetSizeEstimateRangeGB(v []float64) *ItemCollectionMetrics { - s.SizeEstimateRangeGB = v - return s -} - // Represents a single element of a key schema. A key schema specifies the attributes // that make up the primary key of a table, or the key attributes of an index. // @@ -6008,18 +5138,6 @@ func (s *KeySchemaElement) Validate() error { return nil } -// SetAttributeName sets the AttributeName field's value. -func (s *KeySchemaElement) SetAttributeName(v string) *KeySchemaElement { - s.AttributeName = &v - return s -} - -// SetKeyType sets the KeyType field's value. -func (s *KeySchemaElement) SetKeyType(v KeyType) *KeySchemaElement { - s.KeyType = v - return s -} - // Represents a set of primary keys and, for each key, the attributes to retrieve // from the table. // @@ -6126,36 +5244,6 @@ func (s *KeysAndAttributes) Validate() error { return nil } -// SetAttributesToGet sets the AttributesToGet field's value. -func (s *KeysAndAttributes) SetAttributesToGet(v []string) *KeysAndAttributes { - s.AttributesToGet = v - return s -} - -// SetConsistentRead sets the ConsistentRead field's value. -func (s *KeysAndAttributes) SetConsistentRead(v bool) *KeysAndAttributes { - s.ConsistentRead = &v - return s -} - -// SetExpressionAttributeNames sets the ExpressionAttributeNames field's value. -func (s *KeysAndAttributes) SetExpressionAttributeNames(v map[string]string) *KeysAndAttributes { - s.ExpressionAttributeNames = v - return s -} - -// SetKeys sets the Keys field's value. -func (s *KeysAndAttributes) SetKeys(v []map[string]AttributeValue) *KeysAndAttributes { - s.Keys = v - return s -} - -// SetProjectionExpression sets the ProjectionExpression field's value. -func (s *KeysAndAttributes) SetProjectionExpression(v string) *KeysAndAttributes { - s.ProjectionExpression = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListBackupsInput type ListBackupsInput struct { _ struct{} `type:"structure"` @@ -6206,36 +5294,6 @@ func (s *ListBackupsInput) Validate() error { return nil } -// SetExclusiveStartBackupArn sets the ExclusiveStartBackupArn field's value. -func (s *ListBackupsInput) SetExclusiveStartBackupArn(v string) *ListBackupsInput { - s.ExclusiveStartBackupArn = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListBackupsInput) SetLimit(v int64) *ListBackupsInput { - s.Limit = &v - return s -} - -// SetTableName sets the TableName field's value. -func (s *ListBackupsInput) SetTableName(v string) *ListBackupsInput { - s.TableName = &v - return s -} - -// SetTimeRangeLowerBound sets the TimeRangeLowerBound field's value. -func (s *ListBackupsInput) SetTimeRangeLowerBound(v time.Time) *ListBackupsInput { - s.TimeRangeLowerBound = &v - return s -} - -// SetTimeRangeUpperBound sets the TimeRangeUpperBound field's value. -func (s *ListBackupsInput) SetTimeRangeUpperBound(v time.Time) *ListBackupsInput { - s.TimeRangeUpperBound = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListBackupsOutput type ListBackupsOutput struct { _ struct{} `type:"structure"` @@ -6264,18 +5322,6 @@ func (s ListBackupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBackupSummaries sets the BackupSummaries field's value. -func (s *ListBackupsOutput) SetBackupSummaries(v []BackupSummary) *ListBackupsOutput { - s.BackupSummaries = v - return s -} - -// SetLastEvaluatedBackupArn sets the LastEvaluatedBackupArn field's value. -func (s *ListBackupsOutput) SetLastEvaluatedBackupArn(v string) *ListBackupsOutput { - s.LastEvaluatedBackupArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListGlobalTablesInput type ListGlobalTablesInput struct { _ struct{} `type:"structure"` @@ -6316,24 +5362,6 @@ func (s *ListGlobalTablesInput) Validate() error { return nil } -// SetExclusiveStartGlobalTableName sets the ExclusiveStartGlobalTableName field's value. -func (s *ListGlobalTablesInput) SetExclusiveStartGlobalTableName(v string) *ListGlobalTablesInput { - s.ExclusiveStartGlobalTableName = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListGlobalTablesInput) SetLimit(v int64) *ListGlobalTablesInput { - s.Limit = &v - return s -} - -// SetRegionName sets the RegionName field's value. -func (s *ListGlobalTablesInput) SetRegionName(v string) *ListGlobalTablesInput { - s.RegionName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListGlobalTablesOutput type ListGlobalTablesOutput struct { _ struct{} `type:"structure"` @@ -6362,18 +5390,6 @@ func (s ListGlobalTablesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGlobalTables sets the GlobalTables field's value. -func (s *ListGlobalTablesOutput) SetGlobalTables(v []GlobalTable) *ListGlobalTablesOutput { - s.GlobalTables = v - return s -} - -// SetLastEvaluatedGlobalTableName sets the LastEvaluatedGlobalTableName field's value. -func (s *ListGlobalTablesOutput) SetLastEvaluatedGlobalTableName(v string) *ListGlobalTablesOutput { - s.LastEvaluatedGlobalTableName = &v - return s -} - // Represents the input of a ListTables operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTablesInput type ListTablesInput struct { @@ -6415,18 +5431,6 @@ func (s *ListTablesInput) Validate() error { return nil } -// SetExclusiveStartTableName sets the ExclusiveStartTableName field's value. -func (s *ListTablesInput) SetExclusiveStartTableName(v string) *ListTablesInput { - s.ExclusiveStartTableName = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListTablesInput) SetLimit(v int64) *ListTablesInput { - s.Limit = &v - return s -} - // Represents the output of a ListTables operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTablesOutput type ListTablesOutput struct { @@ -6466,18 +5470,6 @@ func (s ListTablesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLastEvaluatedTableName sets the LastEvaluatedTableName field's value. -func (s *ListTablesOutput) SetLastEvaluatedTableName(v string) *ListTablesOutput { - s.LastEvaluatedTableName = &v - return s -} - -// SetTableNames sets the TableNames field's value. -func (s *ListTablesOutput) SetTableNames(v []string) *ListTablesOutput { - s.TableNames = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTagsOfResourceInput type ListTagsOfResourceInput struct { _ struct{} `type:"structure"` @@ -6521,18 +5513,6 @@ func (s *ListTagsOfResourceInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *ListTagsOfResourceInput) SetNextToken(v string) *ListTagsOfResourceInput { - s.NextToken = &v - return s -} - -// SetResourceArn sets the ResourceArn field's value. -func (s *ListTagsOfResourceInput) SetResourceArn(v string) *ListTagsOfResourceInput { - s.ResourceArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTagsOfResourceOutput type ListTagsOfResourceOutput struct { _ struct{} `type:"structure"` @@ -6563,18 +5543,6 @@ func (s ListTagsOfResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTagsOfResourceOutput) SetNextToken(v string) *ListTagsOfResourceOutput { - s.NextToken = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *ListTagsOfResourceOutput) SetTags(v []Tag) *ListTagsOfResourceOutput { - s.Tags = v - return s -} - // Represents the properties of a local secondary index. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/LocalSecondaryIndex type LocalSecondaryIndex struct { @@ -6663,24 +5631,6 @@ func (s *LocalSecondaryIndex) Validate() error { return nil } -// SetIndexName sets the IndexName field's value. -func (s *LocalSecondaryIndex) SetIndexName(v string) *LocalSecondaryIndex { - s.IndexName = &v - return s -} - -// SetKeySchema sets the KeySchema field's value. -func (s *LocalSecondaryIndex) SetKeySchema(v []KeySchemaElement) *LocalSecondaryIndex { - s.KeySchema = v - return s -} - -// SetProjection sets the Projection field's value. -func (s *LocalSecondaryIndex) SetProjection(v *Projection) *LocalSecondaryIndex { - s.Projection = v - return s -} - // Represents the properties of a local secondary index. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/LocalSecondaryIndexDescription type LocalSecondaryIndexDescription struct { @@ -6734,42 +5684,6 @@ func (s LocalSecondaryIndexDescription) GoString() string { return s.String() } -// SetIndexArn sets the IndexArn field's value. -func (s *LocalSecondaryIndexDescription) SetIndexArn(v string) *LocalSecondaryIndexDescription { - s.IndexArn = &v - return s -} - -// SetIndexName sets the IndexName field's value. -func (s *LocalSecondaryIndexDescription) SetIndexName(v string) *LocalSecondaryIndexDescription { - s.IndexName = &v - return s -} - -// SetIndexSizeBytes sets the IndexSizeBytes field's value. -func (s *LocalSecondaryIndexDescription) SetIndexSizeBytes(v int64) *LocalSecondaryIndexDescription { - s.IndexSizeBytes = &v - return s -} - -// SetItemCount sets the ItemCount field's value. -func (s *LocalSecondaryIndexDescription) SetItemCount(v int64) *LocalSecondaryIndexDescription { - s.ItemCount = &v - return s -} - -// SetKeySchema sets the KeySchema field's value. -func (s *LocalSecondaryIndexDescription) SetKeySchema(v []KeySchemaElement) *LocalSecondaryIndexDescription { - s.KeySchema = v - return s -} - -// SetProjection sets the Projection field's value. -func (s *LocalSecondaryIndexDescription) SetProjection(v *Projection) *LocalSecondaryIndexDescription { - s.Projection = v - return s -} - // Represents the properties of a local secondary index for the table when the // backup was created. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/LocalSecondaryIndexInfo @@ -6812,24 +5726,6 @@ func (s LocalSecondaryIndexInfo) GoString() string { return s.String() } -// SetIndexName sets the IndexName field's value. -func (s *LocalSecondaryIndexInfo) SetIndexName(v string) *LocalSecondaryIndexInfo { - s.IndexName = &v - return s -} - -// SetKeySchema sets the KeySchema field's value. -func (s *LocalSecondaryIndexInfo) SetKeySchema(v []KeySchemaElement) *LocalSecondaryIndexInfo { - s.KeySchema = v - return s -} - -// SetProjection sets the Projection field's value. -func (s *LocalSecondaryIndexInfo) SetProjection(v *Projection) *LocalSecondaryIndexInfo { - s.Projection = v - return s -} - // Represents attributes that are copied (projected) from the table into an // index. These are in addition to the primary key attributes and index key // attributes, which are automatically projected. @@ -6879,18 +5775,6 @@ func (s *Projection) Validate() error { return nil } -// SetNonKeyAttributes sets the NonKeyAttributes field's value. -func (s *Projection) SetNonKeyAttributes(v []string) *Projection { - s.NonKeyAttributes = v - return s -} - -// SetProjectionType sets the ProjectionType field's value. -func (s *Projection) SetProjectionType(v ProjectionType) *Projection { - s.ProjectionType = v - return s -} - // Represents the provisioned throughput settings for a specified table or index. // The settings can be modified using the UpdateTable operation. // @@ -6952,18 +5836,6 @@ func (s *ProvisionedThroughput) Validate() error { return nil } -// SetReadCapacityUnits sets the ReadCapacityUnits field's value. -func (s *ProvisionedThroughput) SetReadCapacityUnits(v int64) *ProvisionedThroughput { - s.ReadCapacityUnits = &v - return s -} - -// SetWriteCapacityUnits sets the WriteCapacityUnits field's value. -func (s *ProvisionedThroughput) SetWriteCapacityUnits(v int64) *ProvisionedThroughput { - s.WriteCapacityUnits = &v - return s -} - // Represents the provisioned throughput settings for the table, consisting // of read and write capacity units, along with data about increases and decreases. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ProvisionedThroughputDescription @@ -7003,36 +5875,6 @@ func (s ProvisionedThroughputDescription) GoString() string { return s.String() } -// SetLastDecreaseDateTime sets the LastDecreaseDateTime field's value. -func (s *ProvisionedThroughputDescription) SetLastDecreaseDateTime(v time.Time) *ProvisionedThroughputDescription { - s.LastDecreaseDateTime = &v - return s -} - -// SetLastIncreaseDateTime sets the LastIncreaseDateTime field's value. -func (s *ProvisionedThroughputDescription) SetLastIncreaseDateTime(v time.Time) *ProvisionedThroughputDescription { - s.LastIncreaseDateTime = &v - return s -} - -// SetNumberOfDecreasesToday sets the NumberOfDecreasesToday field's value. -func (s *ProvisionedThroughputDescription) SetNumberOfDecreasesToday(v int64) *ProvisionedThroughputDescription { - s.NumberOfDecreasesToday = &v - return s -} - -// SetReadCapacityUnits sets the ReadCapacityUnits field's value. -func (s *ProvisionedThroughputDescription) SetReadCapacityUnits(v int64) *ProvisionedThroughputDescription { - s.ReadCapacityUnits = &v - return s -} - -// SetWriteCapacityUnits sets the WriteCapacityUnits field's value. -func (s *ProvisionedThroughputDescription) SetWriteCapacityUnits(v int64) *ProvisionedThroughputDescription { - s.WriteCapacityUnits = &v - return s -} - // Represents the input of a PutItem operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItemInput type PutItemInput struct { @@ -7221,66 +6063,6 @@ func (s *PutItemInput) Validate() error { return nil } -// SetConditionExpression sets the ConditionExpression field's value. -func (s *PutItemInput) SetConditionExpression(v string) *PutItemInput { - s.ConditionExpression = &v - return s -} - -// SetConditionalOperator sets the ConditionalOperator field's value. -func (s *PutItemInput) SetConditionalOperator(v ConditionalOperator) *PutItemInput { - s.ConditionalOperator = v - return s -} - -// SetExpected sets the Expected field's value. -func (s *PutItemInput) SetExpected(v map[string]ExpectedAttributeValue) *PutItemInput { - s.Expected = v - return s -} - -// SetExpressionAttributeNames sets the ExpressionAttributeNames field's value. -func (s *PutItemInput) SetExpressionAttributeNames(v map[string]string) *PutItemInput { - s.ExpressionAttributeNames = v - return s -} - -// SetExpressionAttributeValues sets the ExpressionAttributeValues field's value. -func (s *PutItemInput) SetExpressionAttributeValues(v map[string]AttributeValue) *PutItemInput { - s.ExpressionAttributeValues = v - return s -} - -// SetItem sets the Item field's value. -func (s *PutItemInput) SetItem(v map[string]AttributeValue) *PutItemInput { - s.Item = v - return s -} - -// SetReturnConsumedCapacity sets the ReturnConsumedCapacity field's value. -func (s *PutItemInput) SetReturnConsumedCapacity(v ReturnConsumedCapacity) *PutItemInput { - s.ReturnConsumedCapacity = v - return s -} - -// SetReturnItemCollectionMetrics sets the ReturnItemCollectionMetrics field's value. -func (s *PutItemInput) SetReturnItemCollectionMetrics(v ReturnItemCollectionMetrics) *PutItemInput { - s.ReturnItemCollectionMetrics = v - return s -} - -// SetReturnValues sets the ReturnValues field's value. -func (s *PutItemInput) SetReturnValues(v ReturnValue) *PutItemInput { - s.ReturnValues = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *PutItemInput) SetTableName(v string) *PutItemInput { - s.TableName = &v - return s -} - // Represents the output of a PutItem operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItemOutput type PutItemOutput struct { @@ -7338,24 +6120,6 @@ func (s PutItemOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *PutItemOutput) SetAttributes(v map[string]AttributeValue) *PutItemOutput { - s.Attributes = v - return s -} - -// SetConsumedCapacity sets the ConsumedCapacity field's value. -func (s *PutItemOutput) SetConsumedCapacity(v *ConsumedCapacity) *PutItemOutput { - s.ConsumedCapacity = v - return s -} - -// SetItemCollectionMetrics sets the ItemCollectionMetrics field's value. -func (s *PutItemOutput) SetItemCollectionMetrics(v *ItemCollectionMetrics) *PutItemOutput { - s.ItemCollectionMetrics = v - return s -} - // Represents a request to perform a PutItem operation on an item. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutRequest type PutRequest struct { @@ -7381,12 +6145,6 @@ func (s PutRequest) GoString() string { return s.String() } -// SetItem sets the Item field's value. -func (s *PutRequest) SetItem(v map[string]AttributeValue) *PutRequest { - s.Item = v - return s -} - // Represents the input of a Query operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/QueryInput type QueryInput struct { @@ -7733,108 +6491,6 @@ func (s *QueryInput) Validate() error { return nil } -// SetAttributesToGet sets the AttributesToGet field's value. -func (s *QueryInput) SetAttributesToGet(v []string) *QueryInput { - s.AttributesToGet = v - return s -} - -// SetConditionalOperator sets the ConditionalOperator field's value. -func (s *QueryInput) SetConditionalOperator(v ConditionalOperator) *QueryInput { - s.ConditionalOperator = v - return s -} - -// SetConsistentRead sets the ConsistentRead field's value. -func (s *QueryInput) SetConsistentRead(v bool) *QueryInput { - s.ConsistentRead = &v - return s -} - -// SetExclusiveStartKey sets the ExclusiveStartKey field's value. -func (s *QueryInput) SetExclusiveStartKey(v map[string]AttributeValue) *QueryInput { - s.ExclusiveStartKey = v - return s -} - -// SetExpressionAttributeNames sets the ExpressionAttributeNames field's value. -func (s *QueryInput) SetExpressionAttributeNames(v map[string]string) *QueryInput { - s.ExpressionAttributeNames = v - return s -} - -// SetExpressionAttributeValues sets the ExpressionAttributeValues field's value. -func (s *QueryInput) SetExpressionAttributeValues(v map[string]AttributeValue) *QueryInput { - s.ExpressionAttributeValues = v - return s -} - -// SetFilterExpression sets the FilterExpression field's value. -func (s *QueryInput) SetFilterExpression(v string) *QueryInput { - s.FilterExpression = &v - return s -} - -// SetIndexName sets the IndexName field's value. -func (s *QueryInput) SetIndexName(v string) *QueryInput { - s.IndexName = &v - return s -} - -// SetKeyConditionExpression sets the KeyConditionExpression field's value. -func (s *QueryInput) SetKeyConditionExpression(v string) *QueryInput { - s.KeyConditionExpression = &v - return s -} - -// SetKeyConditions sets the KeyConditions field's value. -func (s *QueryInput) SetKeyConditions(v map[string]Condition) *QueryInput { - s.KeyConditions = v - return s -} - -// SetLimit sets the Limit field's value. -func (s *QueryInput) SetLimit(v int64) *QueryInput { - s.Limit = &v - return s -} - -// SetProjectionExpression sets the ProjectionExpression field's value. -func (s *QueryInput) SetProjectionExpression(v string) *QueryInput { - s.ProjectionExpression = &v - return s -} - -// SetQueryFilter sets the QueryFilter field's value. -func (s *QueryInput) SetQueryFilter(v map[string]Condition) *QueryInput { - s.QueryFilter = v - return s -} - -// SetReturnConsumedCapacity sets the ReturnConsumedCapacity field's value. -func (s *QueryInput) SetReturnConsumedCapacity(v ReturnConsumedCapacity) *QueryInput { - s.ReturnConsumedCapacity = v - return s -} - -// SetScanIndexForward sets the ScanIndexForward field's value. -func (s *QueryInput) SetScanIndexForward(v bool) *QueryInput { - s.ScanIndexForward = &v - return s -} - -// SetSelect sets the Select field's value. -func (s *QueryInput) SetSelect(v Select) *QueryInput { - s.Select = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *QueryInput) SetTableName(v string) *QueryInput { - s.TableName = &v - return s -} - // Represents the output of a Query operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/QueryOutput type QueryOutput struct { @@ -7901,36 +6557,6 @@ func (s QueryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConsumedCapacity sets the ConsumedCapacity field's value. -func (s *QueryOutput) SetConsumedCapacity(v *ConsumedCapacity) *QueryOutput { - s.ConsumedCapacity = v - return s -} - -// SetCount sets the Count field's value. -func (s *QueryOutput) SetCount(v int64) *QueryOutput { - s.Count = &v - return s -} - -// SetItems sets the Items field's value. -func (s *QueryOutput) SetItems(v []map[string]AttributeValue) *QueryOutput { - s.Items = v - return s -} - -// SetLastEvaluatedKey sets the LastEvaluatedKey field's value. -func (s *QueryOutput) SetLastEvaluatedKey(v map[string]AttributeValue) *QueryOutput { - s.LastEvaluatedKey = v - return s -} - -// SetScannedCount sets the ScannedCount field's value. -func (s *QueryOutput) SetScannedCount(v int64) *QueryOutput { - s.ScannedCount = &v - return s -} - // Represents the properties of a replica. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Replica type Replica struct { @@ -7950,12 +6576,6 @@ func (s Replica) GoString() string { return s.String() } -// SetRegionName sets the RegionName field's value. -func (s *Replica) SetRegionName(v string) *Replica { - s.RegionName = &v - return s -} - // Contains the details of the replica. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaDescription type ReplicaDescription struct { @@ -7975,12 +6595,6 @@ func (s ReplicaDescription) GoString() string { return s.String() } -// SetRegionName sets the RegionName field's value. -func (s *ReplicaDescription) SetRegionName(v string) *ReplicaDescription { - s.RegionName = &v - return s -} - // Represents one of the following: // // * A new replica to be added to an existing global table. @@ -8029,18 +6643,6 @@ func (s *ReplicaUpdate) Validate() error { return nil } -// SetCreate sets the Create field's value. -func (s *ReplicaUpdate) SetCreate(v *CreateReplicaAction) *ReplicaUpdate { - s.Create = v - return s -} - -// SetDelete sets the Delete field's value. -func (s *ReplicaUpdate) SetDelete(v *DeleteReplicaAction) *ReplicaUpdate { - s.Delete = v - return s -} - // Contains details for the restore. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreSummary type RestoreSummary struct { @@ -8073,30 +6675,6 @@ func (s RestoreSummary) GoString() string { return s.String() } -// SetRestoreDateTime sets the RestoreDateTime field's value. -func (s *RestoreSummary) SetRestoreDateTime(v time.Time) *RestoreSummary { - s.RestoreDateTime = &v - return s -} - -// SetRestoreInProgress sets the RestoreInProgress field's value. -func (s *RestoreSummary) SetRestoreInProgress(v bool) *RestoreSummary { - s.RestoreInProgress = &v - return s -} - -// SetSourceBackupArn sets the SourceBackupArn field's value. -func (s *RestoreSummary) SetSourceBackupArn(v string) *RestoreSummary { - s.SourceBackupArn = &v - return s -} - -// SetSourceTableArn sets the SourceTableArn field's value. -func (s *RestoreSummary) SetSourceTableArn(v string) *RestoreSummary { - s.SourceTableArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableFromBackupInput type RestoreTableFromBackupInput struct { _ struct{} `type:"structure"` @@ -8146,18 +6724,6 @@ func (s *RestoreTableFromBackupInput) Validate() error { return nil } -// SetBackupArn sets the BackupArn field's value. -func (s *RestoreTableFromBackupInput) SetBackupArn(v string) *RestoreTableFromBackupInput { - s.BackupArn = &v - return s -} - -// SetTargetTableName sets the TargetTableName field's value. -func (s *RestoreTableFromBackupInput) SetTargetTableName(v string) *RestoreTableFromBackupInput { - s.TargetTableName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableFromBackupOutput type RestoreTableFromBackupOutput struct { _ struct{} `type:"structure"` @@ -8183,12 +6749,6 @@ func (s RestoreTableFromBackupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTableDescription sets the TableDescription field's value. -func (s *RestoreTableFromBackupOutput) SetTableDescription(v *TableDescription) *RestoreTableFromBackupOutput { - s.TableDescription = v - return s -} - // Represents the input of a Scan operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ScanInput type ScanInput struct { @@ -8482,102 +7042,6 @@ func (s *ScanInput) Validate() error { return nil } -// SetAttributesToGet sets the AttributesToGet field's value. -func (s *ScanInput) SetAttributesToGet(v []string) *ScanInput { - s.AttributesToGet = v - return s -} - -// SetConditionalOperator sets the ConditionalOperator field's value. -func (s *ScanInput) SetConditionalOperator(v ConditionalOperator) *ScanInput { - s.ConditionalOperator = v - return s -} - -// SetConsistentRead sets the ConsistentRead field's value. -func (s *ScanInput) SetConsistentRead(v bool) *ScanInput { - s.ConsistentRead = &v - return s -} - -// SetExclusiveStartKey sets the ExclusiveStartKey field's value. -func (s *ScanInput) SetExclusiveStartKey(v map[string]AttributeValue) *ScanInput { - s.ExclusiveStartKey = v - return s -} - -// SetExpressionAttributeNames sets the ExpressionAttributeNames field's value. -func (s *ScanInput) SetExpressionAttributeNames(v map[string]string) *ScanInput { - s.ExpressionAttributeNames = v - return s -} - -// SetExpressionAttributeValues sets the ExpressionAttributeValues field's value. -func (s *ScanInput) SetExpressionAttributeValues(v map[string]AttributeValue) *ScanInput { - s.ExpressionAttributeValues = v - return s -} - -// SetFilterExpression sets the FilterExpression field's value. -func (s *ScanInput) SetFilterExpression(v string) *ScanInput { - s.FilterExpression = &v - return s -} - -// SetIndexName sets the IndexName field's value. -func (s *ScanInput) SetIndexName(v string) *ScanInput { - s.IndexName = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ScanInput) SetLimit(v int64) *ScanInput { - s.Limit = &v - return s -} - -// SetProjectionExpression sets the ProjectionExpression field's value. -func (s *ScanInput) SetProjectionExpression(v string) *ScanInput { - s.ProjectionExpression = &v - return s -} - -// SetReturnConsumedCapacity sets the ReturnConsumedCapacity field's value. -func (s *ScanInput) SetReturnConsumedCapacity(v ReturnConsumedCapacity) *ScanInput { - s.ReturnConsumedCapacity = v - return s -} - -// SetScanFilter sets the ScanFilter field's value. -func (s *ScanInput) SetScanFilter(v map[string]Condition) *ScanInput { - s.ScanFilter = v - return s -} - -// SetSegment sets the Segment field's value. -func (s *ScanInput) SetSegment(v int64) *ScanInput { - s.Segment = &v - return s -} - -// SetSelect sets the Select field's value. -func (s *ScanInput) SetSelect(v Select) *ScanInput { - s.Select = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *ScanInput) SetTableName(v string) *ScanInput { - s.TableName = &v - return s -} - -// SetTotalSegments sets the TotalSegments field's value. -func (s *ScanInput) SetTotalSegments(v int64) *ScanInput { - s.TotalSegments = &v - return s -} - // Represents the output of a Scan operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ScanOutput type ScanOutput struct { @@ -8643,36 +7107,6 @@ func (s ScanOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConsumedCapacity sets the ConsumedCapacity field's value. -func (s *ScanOutput) SetConsumedCapacity(v *ConsumedCapacity) *ScanOutput { - s.ConsumedCapacity = v - return s -} - -// SetCount sets the Count field's value. -func (s *ScanOutput) SetCount(v int64) *ScanOutput { - s.Count = &v - return s -} - -// SetItems sets the Items field's value. -func (s *ScanOutput) SetItems(v []map[string]AttributeValue) *ScanOutput { - s.Items = v - return s -} - -// SetLastEvaluatedKey sets the LastEvaluatedKey field's value. -func (s *ScanOutput) SetLastEvaluatedKey(v map[string]AttributeValue) *ScanOutput { - s.LastEvaluatedKey = v - return s -} - -// SetScannedCount sets the ScannedCount field's value. -func (s *ScanOutput) SetScannedCount(v int64) *ScanOutput { - s.ScannedCount = &v - return s -} - // Contains the details of the table when the backup was created. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/SourceTableDetails type SourceTableDetails struct { @@ -8723,54 +7157,6 @@ func (s SourceTableDetails) GoString() string { return s.String() } -// SetItemCount sets the ItemCount field's value. -func (s *SourceTableDetails) SetItemCount(v int64) *SourceTableDetails { - s.ItemCount = &v - return s -} - -// SetKeySchema sets the KeySchema field's value. -func (s *SourceTableDetails) SetKeySchema(v []KeySchemaElement) *SourceTableDetails { - s.KeySchema = v - return s -} - -// SetProvisionedThroughput sets the ProvisionedThroughput field's value. -func (s *SourceTableDetails) SetProvisionedThroughput(v *ProvisionedThroughput) *SourceTableDetails { - s.ProvisionedThroughput = v - return s -} - -// SetTableArn sets the TableArn field's value. -func (s *SourceTableDetails) SetTableArn(v string) *SourceTableDetails { - s.TableArn = &v - return s -} - -// SetTableCreationDateTime sets the TableCreationDateTime field's value. -func (s *SourceTableDetails) SetTableCreationDateTime(v time.Time) *SourceTableDetails { - s.TableCreationDateTime = &v - return s -} - -// SetTableId sets the TableId field's value. -func (s *SourceTableDetails) SetTableId(v string) *SourceTableDetails { - s.TableId = &v - return s -} - -// SetTableName sets the TableName field's value. -func (s *SourceTableDetails) SetTableName(v string) *SourceTableDetails { - s.TableName = &v - return s -} - -// SetTableSizeBytes sets the TableSizeBytes field's value. -func (s *SourceTableDetails) SetTableSizeBytes(v int64) *SourceTableDetails { - s.TableSizeBytes = &v - return s -} - // Contains the details of the features enabled on the table when the backup // was created. For example, LSIs, GSIs, streams, TTL. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/SourceTableFeatureDetails @@ -8804,30 +7190,6 @@ func (s SourceTableFeatureDetails) GoString() string { return s.String() } -// SetGlobalSecondaryIndexes sets the GlobalSecondaryIndexes field's value. -func (s *SourceTableFeatureDetails) SetGlobalSecondaryIndexes(v []GlobalSecondaryIndexInfo) *SourceTableFeatureDetails { - s.GlobalSecondaryIndexes = v - return s -} - -// SetLocalSecondaryIndexes sets the LocalSecondaryIndexes field's value. -func (s *SourceTableFeatureDetails) SetLocalSecondaryIndexes(v []LocalSecondaryIndexInfo) *SourceTableFeatureDetails { - s.LocalSecondaryIndexes = v - return s -} - -// SetStreamDescription sets the StreamDescription field's value. -func (s *SourceTableFeatureDetails) SetStreamDescription(v *StreamSpecification) *SourceTableFeatureDetails { - s.StreamDescription = v - return s -} - -// SetTimeToLiveDescription sets the TimeToLiveDescription field's value. -func (s *SourceTableFeatureDetails) SetTimeToLiveDescription(v *TimeToLiveDescription) *SourceTableFeatureDetails { - s.TimeToLiveDescription = v - return s -} - // Represents the DynamoDB Streams configuration for a table in DynamoDB. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/StreamSpecification type StreamSpecification struct { @@ -8865,18 +7227,6 @@ func (s StreamSpecification) GoString() string { return s.String() } -// SetStreamEnabled sets the StreamEnabled field's value. -func (s *StreamSpecification) SetStreamEnabled(v bool) *StreamSpecification { - s.StreamEnabled = &v - return s -} - -// SetStreamViewType sets the StreamViewType field's value. -func (s *StreamSpecification) SetStreamViewType(v StreamViewType) *StreamSpecification { - s.StreamViewType = v - return s -} - // Represents the properties of a table. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableDescription type TableDescription struct { @@ -9092,102 +7442,6 @@ func (s TableDescription) GoString() string { return s.String() } -// SetAttributeDefinitions sets the AttributeDefinitions field's value. -func (s *TableDescription) SetAttributeDefinitions(v []AttributeDefinition) *TableDescription { - s.AttributeDefinitions = v - return s -} - -// SetCreationDateTime sets the CreationDateTime field's value. -func (s *TableDescription) SetCreationDateTime(v time.Time) *TableDescription { - s.CreationDateTime = &v - return s -} - -// SetGlobalSecondaryIndexes sets the GlobalSecondaryIndexes field's value. -func (s *TableDescription) SetGlobalSecondaryIndexes(v []GlobalSecondaryIndexDescription) *TableDescription { - s.GlobalSecondaryIndexes = v - return s -} - -// SetItemCount sets the ItemCount field's value. -func (s *TableDescription) SetItemCount(v int64) *TableDescription { - s.ItemCount = &v - return s -} - -// SetKeySchema sets the KeySchema field's value. -func (s *TableDescription) SetKeySchema(v []KeySchemaElement) *TableDescription { - s.KeySchema = v - return s -} - -// SetLatestStreamArn sets the LatestStreamArn field's value. -func (s *TableDescription) SetLatestStreamArn(v string) *TableDescription { - s.LatestStreamArn = &v - return s -} - -// SetLatestStreamLabel sets the LatestStreamLabel field's value. -func (s *TableDescription) SetLatestStreamLabel(v string) *TableDescription { - s.LatestStreamLabel = &v - return s -} - -// SetLocalSecondaryIndexes sets the LocalSecondaryIndexes field's value. -func (s *TableDescription) SetLocalSecondaryIndexes(v []LocalSecondaryIndexDescription) *TableDescription { - s.LocalSecondaryIndexes = v - return s -} - -// SetProvisionedThroughput sets the ProvisionedThroughput field's value. -func (s *TableDescription) SetProvisionedThroughput(v *ProvisionedThroughputDescription) *TableDescription { - s.ProvisionedThroughput = v - return s -} - -// SetRestoreSummary sets the RestoreSummary field's value. -func (s *TableDescription) SetRestoreSummary(v *RestoreSummary) *TableDescription { - s.RestoreSummary = v - return s -} - -// SetStreamSpecification sets the StreamSpecification field's value. -func (s *TableDescription) SetStreamSpecification(v *StreamSpecification) *TableDescription { - s.StreamSpecification = v - return s -} - -// SetTableArn sets the TableArn field's value. -func (s *TableDescription) SetTableArn(v string) *TableDescription { - s.TableArn = &v - return s -} - -// SetTableId sets the TableId field's value. -func (s *TableDescription) SetTableId(v string) *TableDescription { - s.TableId = &v - return s -} - -// SetTableName sets the TableName field's value. -func (s *TableDescription) SetTableName(v string) *TableDescription { - s.TableName = &v - return s -} - -// SetTableSizeBytes sets the TableSizeBytes field's value. -func (s *TableDescription) SetTableSizeBytes(v int64) *TableDescription { - s.TableSizeBytes = &v - return s -} - -// SetTableStatus sets the TableStatus field's value. -func (s *TableDescription) SetTableStatus(v TableStatus) *TableDescription { - s.TableStatus = v - return s -} - // Describes a tag. A tag is a key-value pair. You can add up to 50 tags to // a single DynamoDB table. // @@ -9246,18 +7500,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TagResourceInput type TagResourceInput struct { _ struct{} `type:"structure"` @@ -9312,18 +7554,6 @@ func (s *TagResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput { - s.ResourceArn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagResourceInput) SetTags(v []Tag) *TagResourceInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TagResourceOutput type TagResourceOutput struct { _ struct{} `type:"structure"` @@ -9368,18 +7598,6 @@ func (s TimeToLiveDescription) GoString() string { return s.String() } -// SetAttributeName sets the AttributeName field's value. -func (s *TimeToLiveDescription) SetAttributeName(v string) *TimeToLiveDescription { - s.AttributeName = &v - return s -} - -// SetTimeToLiveStatus sets the TimeToLiveStatus field's value. -func (s *TimeToLiveDescription) SetTimeToLiveStatus(v TimeToLiveStatus) *TimeToLiveDescription { - s.TimeToLiveStatus = v - return s -} - // Represents the settings used to enable or disable Time to Live for the specified // table. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TimeToLiveSpecification @@ -9430,18 +7648,6 @@ func (s *TimeToLiveSpecification) Validate() error { return nil } -// SetAttributeName sets the AttributeName field's value. -func (s *TimeToLiveSpecification) SetAttributeName(v string) *TimeToLiveSpecification { - s.AttributeName = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *TimeToLiveSpecification) SetEnabled(v bool) *TimeToLiveSpecification { - s.Enabled = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UntagResourceInput type UntagResourceInput struct { _ struct{} `type:"structure"` @@ -9490,18 +7696,6 @@ func (s *UntagResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { - s.ResourceArn = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *UntagResourceInput) SetTagKeys(v []string) *UntagResourceInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UntagResourceOutput type UntagResourceOutput struct { _ struct{} `type:"structure"` @@ -9582,18 +7776,6 @@ func (s *UpdateGlobalSecondaryIndexAction) Validate() error { return nil } -// SetIndexName sets the IndexName field's value. -func (s *UpdateGlobalSecondaryIndexAction) SetIndexName(v string) *UpdateGlobalSecondaryIndexAction { - s.IndexName = &v - return s -} - -// SetProvisionedThroughput sets the ProvisionedThroughput field's value. -func (s *UpdateGlobalSecondaryIndexAction) SetProvisionedThroughput(v *ProvisionedThroughput) *UpdateGlobalSecondaryIndexAction { - s.ProvisionedThroughput = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateGlobalTableInput type UpdateGlobalTableInput struct { _ struct{} `type:"structure"` @@ -9647,18 +7829,6 @@ func (s *UpdateGlobalTableInput) Validate() error { return nil } -// SetGlobalTableName sets the GlobalTableName field's value. -func (s *UpdateGlobalTableInput) SetGlobalTableName(v string) *UpdateGlobalTableInput { - s.GlobalTableName = &v - return s -} - -// SetReplicaUpdates sets the ReplicaUpdates field's value. -func (s *UpdateGlobalTableInput) SetReplicaUpdates(v []ReplicaUpdate) *UpdateGlobalTableInput { - s.ReplicaUpdates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateGlobalTableOutput type UpdateGlobalTableOutput struct { _ struct{} `type:"structure"` @@ -9684,12 +7854,6 @@ func (s UpdateGlobalTableOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGlobalTableDescription sets the GlobalTableDescription field's value. -func (s *UpdateGlobalTableOutput) SetGlobalTableDescription(v *GlobalTableDescription) *UpdateGlobalTableOutput { - s.GlobalTableDescription = v - return s -} - // Represents the input of an UpdateItem operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItemInput type UpdateItemInput struct { @@ -9958,78 +8122,6 @@ func (s *UpdateItemInput) Validate() error { return nil } -// SetAttributeUpdates sets the AttributeUpdates field's value. -func (s *UpdateItemInput) SetAttributeUpdates(v map[string]AttributeValueUpdate) *UpdateItemInput { - s.AttributeUpdates = v - return s -} - -// SetConditionExpression sets the ConditionExpression field's value. -func (s *UpdateItemInput) SetConditionExpression(v string) *UpdateItemInput { - s.ConditionExpression = &v - return s -} - -// SetConditionalOperator sets the ConditionalOperator field's value. -func (s *UpdateItemInput) SetConditionalOperator(v ConditionalOperator) *UpdateItemInput { - s.ConditionalOperator = v - return s -} - -// SetExpected sets the Expected field's value. -func (s *UpdateItemInput) SetExpected(v map[string]ExpectedAttributeValue) *UpdateItemInput { - s.Expected = v - return s -} - -// SetExpressionAttributeNames sets the ExpressionAttributeNames field's value. -func (s *UpdateItemInput) SetExpressionAttributeNames(v map[string]string) *UpdateItemInput { - s.ExpressionAttributeNames = v - return s -} - -// SetExpressionAttributeValues sets the ExpressionAttributeValues field's value. -func (s *UpdateItemInput) SetExpressionAttributeValues(v map[string]AttributeValue) *UpdateItemInput { - s.ExpressionAttributeValues = v - return s -} - -// SetKey sets the Key field's value. -func (s *UpdateItemInput) SetKey(v map[string]AttributeValue) *UpdateItemInput { - s.Key = v - return s -} - -// SetReturnConsumedCapacity sets the ReturnConsumedCapacity field's value. -func (s *UpdateItemInput) SetReturnConsumedCapacity(v ReturnConsumedCapacity) *UpdateItemInput { - s.ReturnConsumedCapacity = v - return s -} - -// SetReturnItemCollectionMetrics sets the ReturnItemCollectionMetrics field's value. -func (s *UpdateItemInput) SetReturnItemCollectionMetrics(v ReturnItemCollectionMetrics) *UpdateItemInput { - s.ReturnItemCollectionMetrics = v - return s -} - -// SetReturnValues sets the ReturnValues field's value. -func (s *UpdateItemInput) SetReturnValues(v ReturnValue) *UpdateItemInput { - s.ReturnValues = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *UpdateItemInput) SetTableName(v string) *UpdateItemInput { - s.TableName = &v - return s -} - -// SetUpdateExpression sets the UpdateExpression field's value. -func (s *UpdateItemInput) SetUpdateExpression(v string) *UpdateItemInput { - s.UpdateExpression = &v - return s -} - // Represents the output of an UpdateItem operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItemOutput type UpdateItemOutput struct { @@ -10089,24 +8181,6 @@ func (s UpdateItemOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *UpdateItemOutput) SetAttributes(v map[string]AttributeValue) *UpdateItemOutput { - s.Attributes = v - return s -} - -// SetConsumedCapacity sets the ConsumedCapacity field's value. -func (s *UpdateItemOutput) SetConsumedCapacity(v *ConsumedCapacity) *UpdateItemOutput { - s.ConsumedCapacity = v - return s -} - -// SetItemCollectionMetrics sets the ItemCollectionMetrics field's value. -func (s *UpdateItemOutput) SetItemCollectionMetrics(v *ItemCollectionMetrics) *UpdateItemOutput { - s.ItemCollectionMetrics = v - return s -} - // Represents the input of an UpdateTable operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableInput type UpdateTableInput struct { @@ -10193,36 +8267,6 @@ func (s *UpdateTableInput) Validate() error { return nil } -// SetAttributeDefinitions sets the AttributeDefinitions field's value. -func (s *UpdateTableInput) SetAttributeDefinitions(v []AttributeDefinition) *UpdateTableInput { - s.AttributeDefinitions = v - return s -} - -// SetGlobalSecondaryIndexUpdates sets the GlobalSecondaryIndexUpdates field's value. -func (s *UpdateTableInput) SetGlobalSecondaryIndexUpdates(v []GlobalSecondaryIndexUpdate) *UpdateTableInput { - s.GlobalSecondaryIndexUpdates = v - return s -} - -// SetProvisionedThroughput sets the ProvisionedThroughput field's value. -func (s *UpdateTableInput) SetProvisionedThroughput(v *ProvisionedThroughput) *UpdateTableInput { - s.ProvisionedThroughput = v - return s -} - -// SetStreamSpecification sets the StreamSpecification field's value. -func (s *UpdateTableInput) SetStreamSpecification(v *StreamSpecification) *UpdateTableInput { - s.StreamSpecification = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *UpdateTableInput) SetTableName(v string) *UpdateTableInput { - s.TableName = &v - return s -} - // Represents the output of an UpdateTable operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableOutput type UpdateTableOutput struct { @@ -10249,12 +8293,6 @@ func (s UpdateTableOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTableDescription sets the TableDescription field's value. -func (s *UpdateTableOutput) SetTableDescription(v *TableDescription) *UpdateTableOutput { - s.TableDescription = v - return s -} - // Represents the input of an UpdateTimeToLive operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTimeToLiveInput type UpdateTimeToLiveInput struct { @@ -10308,18 +8346,6 @@ func (s *UpdateTimeToLiveInput) Validate() error { return nil } -// SetTableName sets the TableName field's value. -func (s *UpdateTimeToLiveInput) SetTableName(v string) *UpdateTimeToLiveInput { - s.TableName = &v - return s -} - -// SetTimeToLiveSpecification sets the TimeToLiveSpecification field's value. -func (s *UpdateTimeToLiveInput) SetTimeToLiveSpecification(v *TimeToLiveSpecification) *UpdateTimeToLiveInput { - s.TimeToLiveSpecification = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTimeToLiveOutput type UpdateTimeToLiveOutput struct { _ struct{} `type:"structure"` @@ -10345,12 +8371,6 @@ func (s UpdateTimeToLiveOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTimeToLiveSpecification sets the TimeToLiveSpecification field's value. -func (s *UpdateTimeToLiveOutput) SetTimeToLiveSpecification(v *TimeToLiveSpecification) *UpdateTimeToLiveOutput { - s.TimeToLiveSpecification = v - return s -} - // Represents an operation to perform - either DeleteItem or PutItem. You can // only request one of these operations, not both, in a single WriteRequest. // If you do need to perform both of these operations, you will need to provide @@ -10376,18 +8396,6 @@ func (s WriteRequest) GoString() string { return s.String() } -// SetDeleteRequest sets the DeleteRequest field's value. -func (s *WriteRequest) SetDeleteRequest(v *DeleteRequest) *WriteRequest { - s.DeleteRequest = v - return s -} - -// SetPutRequest sets the PutRequest field's value. -func (s *WriteRequest) SetPutRequest(v *PutRequest) *WriteRequest { - s.PutRequest = v - return s -} - type AttributeAction string // Enum values for AttributeAction diff --git a/service/dynamodbstreams/api.go b/service/dynamodbstreams/api.go index e794a90152b..1bda3c97efb 100644 --- a/service/dynamodbstreams/api.go +++ b/service/dynamodbstreams/api.go @@ -285,24 +285,6 @@ func (s *DescribeStreamInput) Validate() error { return nil } -// SetExclusiveStartShardId sets the ExclusiveStartShardId field's value. -func (s *DescribeStreamInput) SetExclusiveStartShardId(v string) *DescribeStreamInput { - s.ExclusiveStartShardId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeStreamInput) SetLimit(v int64) *DescribeStreamInput { - s.Limit = &v - return s -} - -// SetStreamArn sets the StreamArn field's value. -func (s *DescribeStreamInput) SetStreamArn(v string) *DescribeStreamInput { - s.StreamArn = &v - return s -} - // Represents the output of a DescribeStream operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/DescribeStreamOutput type DescribeStreamOutput struct { @@ -332,12 +314,6 @@ func (s DescribeStreamOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStreamDescription sets the StreamDescription field's value. -func (s *DescribeStreamOutput) SetStreamDescription(v *StreamDescription) *DescribeStreamOutput { - s.StreamDescription = v - return s -} - // Represents the input of a GetRecords operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/GetRecordsInput type GetRecordsInput struct { @@ -384,18 +360,6 @@ func (s *GetRecordsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *GetRecordsInput) SetLimit(v int64) *GetRecordsInput { - s.Limit = &v - return s -} - -// SetShardIterator sets the ShardIterator field's value. -func (s *GetRecordsInput) SetShardIterator(v string) *GetRecordsInput { - s.ShardIterator = &v - return s -} - // Represents the output of a GetRecords operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/GetRecordsOutput type GetRecordsOutput struct { @@ -427,18 +391,6 @@ func (s GetRecordsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextShardIterator sets the NextShardIterator field's value. -func (s *GetRecordsOutput) SetNextShardIterator(v string) *GetRecordsOutput { - s.NextShardIterator = &v - return s -} - -// SetRecords sets the Records field's value. -func (s *GetRecordsOutput) SetRecords(v []Record) *GetRecordsOutput { - s.Records = v - return s -} - // Represents the input of a GetShardIterator operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/GetShardIteratorInput type GetShardIteratorInput struct { @@ -519,30 +471,6 @@ func (s *GetShardIteratorInput) Validate() error { return nil } -// SetSequenceNumber sets the SequenceNumber field's value. -func (s *GetShardIteratorInput) SetSequenceNumber(v string) *GetShardIteratorInput { - s.SequenceNumber = &v - return s -} - -// SetShardId sets the ShardId field's value. -func (s *GetShardIteratorInput) SetShardId(v string) *GetShardIteratorInput { - s.ShardId = &v - return s -} - -// SetShardIteratorType sets the ShardIteratorType field's value. -func (s *GetShardIteratorInput) SetShardIteratorType(v ShardIteratorType) *GetShardIteratorInput { - s.ShardIteratorType = v - return s -} - -// SetStreamArn sets the StreamArn field's value. -func (s *GetShardIteratorInput) SetStreamArn(v string) *GetShardIteratorInput { - s.StreamArn = &v - return s -} - // Represents the output of a GetShardIterator operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/GetShardIteratorOutput type GetShardIteratorOutput struct { @@ -571,12 +499,6 @@ func (s GetShardIteratorOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetShardIterator sets the ShardIterator field's value. -func (s *GetShardIteratorOutput) SetShardIterator(v string) *GetShardIteratorOutput { - s.ShardIterator = &v - return s -} - // Contains details about the type of identity that made the request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/Identity type Identity struct { @@ -600,18 +522,6 @@ func (s Identity) GoString() string { return s.String() } -// SetPrincipalId sets the PrincipalId field's value. -func (s *Identity) SetPrincipalId(v string) *Identity { - s.PrincipalId = &v - return s -} - -// SetType sets the Type field's value. -func (s *Identity) SetType(v string) *Identity { - s.Type = &v - return s -} - // Represents the input of a ListStreams operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/ListStreamsInput type ListStreamsInput struct { @@ -659,24 +569,6 @@ func (s *ListStreamsInput) Validate() error { return nil } -// SetExclusiveStartStreamArn sets the ExclusiveStartStreamArn field's value. -func (s *ListStreamsInput) SetExclusiveStartStreamArn(v string) *ListStreamsInput { - s.ExclusiveStartStreamArn = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListStreamsInput) SetLimit(v int64) *ListStreamsInput { - s.Limit = &v - return s -} - -// SetTableName sets the TableName field's value. -func (s *ListStreamsInput) SetTableName(v string) *ListStreamsInput { - s.TableName = &v - return s -} - // Represents the output of a ListStreams operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/ListStreamsOutput type ListStreamsOutput struct { @@ -715,18 +607,6 @@ func (s ListStreamsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLastEvaluatedStreamArn sets the LastEvaluatedStreamArn field's value. -func (s *ListStreamsOutput) SetLastEvaluatedStreamArn(v string) *ListStreamsOutput { - s.LastEvaluatedStreamArn = &v - return s -} - -// SetStreams sets the Streams field's value. -func (s *ListStreamsOutput) SetStreams(v []Stream) *ListStreamsOutput { - s.Streams = v - return s -} - // A description of a unique event within a stream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/Record type Record struct { @@ -787,48 +667,6 @@ func (s Record) GoString() string { return s.String() } -// SetAwsRegion sets the AwsRegion field's value. -func (s *Record) SetAwsRegion(v string) *Record { - s.AwsRegion = &v - return s -} - -// SetDynamodb sets the Dynamodb field's value. -func (s *Record) SetDynamodb(v *StreamRecord) *Record { - s.Dynamodb = v - return s -} - -// SetEventID sets the EventID field's value. -func (s *Record) SetEventID(v string) *Record { - s.EventID = &v - return s -} - -// SetEventName sets the EventName field's value. -func (s *Record) SetEventName(v OperationType) *Record { - s.EventName = v - return s -} - -// SetEventSource sets the EventSource field's value. -func (s *Record) SetEventSource(v string) *Record { - s.EventSource = &v - return s -} - -// SetEventVersion sets the EventVersion field's value. -func (s *Record) SetEventVersion(v string) *Record { - s.EventVersion = &v - return s -} - -// SetUserIdentity sets the UserIdentity field's value. -func (s *Record) SetUserIdentity(v *Identity) *Record { - s.UserIdentity = v - return s -} - // The beginning and ending sequence numbers for the stream records contained // within a shard. // Please also see https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/SequenceNumberRange @@ -852,18 +690,6 @@ func (s SequenceNumberRange) GoString() string { return s.String() } -// SetEndingSequenceNumber sets the EndingSequenceNumber field's value. -func (s *SequenceNumberRange) SetEndingSequenceNumber(v string) *SequenceNumberRange { - s.EndingSequenceNumber = &v - return s -} - -// SetStartingSequenceNumber sets the StartingSequenceNumber field's value. -func (s *SequenceNumberRange) SetStartingSequenceNumber(v string) *SequenceNumberRange { - s.StartingSequenceNumber = &v - return s -} - // A uniquely identified group of stream records within a stream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/Shard type Shard struct { @@ -889,24 +715,6 @@ func (s Shard) GoString() string { return s.String() } -// SetParentShardId sets the ParentShardId field's value. -func (s *Shard) SetParentShardId(v string) *Shard { - s.ParentShardId = &v - return s -} - -// SetSequenceNumberRange sets the SequenceNumberRange field's value. -func (s *Shard) SetSequenceNumberRange(v *SequenceNumberRange) *Shard { - s.SequenceNumberRange = v - return s -} - -// SetShardId sets the ShardId field's value. -func (s *Shard) SetShardId(v string) *Shard { - s.ShardId = &v - return s -} - // Represents all of the data describing a particular stream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/Stream type Stream struct { @@ -943,24 +751,6 @@ func (s Stream) GoString() string { return s.String() } -// SetStreamArn sets the StreamArn field's value. -func (s *Stream) SetStreamArn(v string) *Stream { - s.StreamArn = &v - return s -} - -// SetStreamLabel sets the StreamLabel field's value. -func (s *Stream) SetStreamLabel(v string) *Stream { - s.StreamLabel = &v - return s -} - -// SetTableName sets the TableName field's value. -func (s *Stream) SetTableName(v string) *Stream { - s.TableName = &v - return s -} - // Represents all of the data describing a particular stream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/StreamDescription type StreamDescription struct { @@ -1044,60 +834,6 @@ func (s StreamDescription) GoString() string { return s.String() } -// SetCreationRequestDateTime sets the CreationRequestDateTime field's value. -func (s *StreamDescription) SetCreationRequestDateTime(v time.Time) *StreamDescription { - s.CreationRequestDateTime = &v - return s -} - -// SetKeySchema sets the KeySchema field's value. -func (s *StreamDescription) SetKeySchema(v []dynamodb.KeySchemaElement) *StreamDescription { - s.KeySchema = v - return s -} - -// SetLastEvaluatedShardId sets the LastEvaluatedShardId field's value. -func (s *StreamDescription) SetLastEvaluatedShardId(v string) *StreamDescription { - s.LastEvaluatedShardId = &v - return s -} - -// SetShards sets the Shards field's value. -func (s *StreamDescription) SetShards(v []Shard) *StreamDescription { - s.Shards = v - return s -} - -// SetStreamArn sets the StreamArn field's value. -func (s *StreamDescription) SetStreamArn(v string) *StreamDescription { - s.StreamArn = &v - return s -} - -// SetStreamLabel sets the StreamLabel field's value. -func (s *StreamDescription) SetStreamLabel(v string) *StreamDescription { - s.StreamLabel = &v - return s -} - -// SetStreamStatus sets the StreamStatus field's value. -func (s *StreamDescription) SetStreamStatus(v StreamStatus) *StreamDescription { - s.StreamStatus = v - return s -} - -// SetStreamViewType sets the StreamViewType field's value. -func (s *StreamDescription) SetStreamViewType(v StreamViewType) *StreamDescription { - s.StreamViewType = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *StreamDescription) SetTableName(v string) *StreamDescription { - s.TableName = &v - return s -} - // A description of a single data modification that was performed on an item // in a DynamoDB table. // Please also see https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/StreamRecord @@ -1146,48 +882,6 @@ func (s StreamRecord) GoString() string { return s.String() } -// SetApproximateCreationDateTime sets the ApproximateCreationDateTime field's value. -func (s *StreamRecord) SetApproximateCreationDateTime(v time.Time) *StreamRecord { - s.ApproximateCreationDateTime = &v - return s -} - -// SetKeys sets the Keys field's value. -func (s *StreamRecord) SetKeys(v map[string]dynamodb.AttributeValue) *StreamRecord { - s.Keys = v - return s -} - -// SetNewImage sets the NewImage field's value. -func (s *StreamRecord) SetNewImage(v map[string]dynamodb.AttributeValue) *StreamRecord { - s.NewImage = v - return s -} - -// SetOldImage sets the OldImage field's value. -func (s *StreamRecord) SetOldImage(v map[string]dynamodb.AttributeValue) *StreamRecord { - s.OldImage = v - return s -} - -// SetSequenceNumber sets the SequenceNumber field's value. -func (s *StreamRecord) SetSequenceNumber(v string) *StreamRecord { - s.SequenceNumber = &v - return s -} - -// SetSizeBytes sets the SizeBytes field's value. -func (s *StreamRecord) SetSizeBytes(v int64) *StreamRecord { - s.SizeBytes = &v - return s -} - -// SetStreamViewType sets the StreamViewType field's value. -func (s *StreamRecord) SetStreamViewType(v StreamViewType) *StreamRecord { - s.StreamViewType = v - return s -} - type KeyType string // Enum values for KeyType diff --git a/service/ec2/api.go b/service/ec2/api.go index 334ea80cbf3..7caf6b88a1a 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -15663,24 +15663,6 @@ func (s *AcceptReservedInstancesExchangeQuoteInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *AcceptReservedInstancesExchangeQuoteInput) SetDryRun(v bool) *AcceptReservedInstancesExchangeQuoteInput { - s.DryRun = &v - return s -} - -// SetReservedInstanceIds sets the ReservedInstanceIds field's value. -func (s *AcceptReservedInstancesExchangeQuoteInput) SetReservedInstanceIds(v []string) *AcceptReservedInstancesExchangeQuoteInput { - s.ReservedInstanceIds = v - return s -} - -// SetTargetConfigurations sets the TargetConfigurations field's value. -func (s *AcceptReservedInstancesExchangeQuoteInput) SetTargetConfigurations(v []TargetConfigurationRequest) *AcceptReservedInstancesExchangeQuoteInput { - s.TargetConfigurations = v - return s -} - // The result of the exchange and whether it was successful. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptReservedInstancesExchangeQuoteResult type AcceptReservedInstancesExchangeQuoteOutput struct { @@ -15707,12 +15689,6 @@ func (s AcceptReservedInstancesExchangeQuoteOutput) SDKResponseMetadata() aws.Re return s.responseMetadata } -// SetExchangeId sets the ExchangeId field's value. -func (s *AcceptReservedInstancesExchangeQuoteOutput) SetExchangeId(v string) *AcceptReservedInstancesExchangeQuoteOutput { - s.ExchangeId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcEndpointConnectionsRequest type AcceptVpcEndpointConnectionsInput struct { _ struct{} `type:"structure"` @@ -15762,24 +15738,6 @@ func (s *AcceptVpcEndpointConnectionsInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *AcceptVpcEndpointConnectionsInput) SetDryRun(v bool) *AcceptVpcEndpointConnectionsInput { - s.DryRun = &v - return s -} - -// SetServiceId sets the ServiceId field's value. -func (s *AcceptVpcEndpointConnectionsInput) SetServiceId(v string) *AcceptVpcEndpointConnectionsInput { - s.ServiceId = &v - return s -} - -// SetVpcEndpointIds sets the VpcEndpointIds field's value. -func (s *AcceptVpcEndpointConnectionsInput) SetVpcEndpointIds(v []string) *AcceptVpcEndpointConnectionsInput { - s.VpcEndpointIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcEndpointConnectionsResult type AcceptVpcEndpointConnectionsOutput struct { _ struct{} `type:"structure"` @@ -15805,12 +15763,6 @@ func (s AcceptVpcEndpointConnectionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUnsuccessful sets the Unsuccessful field's value. -func (s *AcceptVpcEndpointConnectionsOutput) SetUnsuccessful(v []UnsuccessfulItem) *AcceptVpcEndpointConnectionsOutput { - s.Unsuccessful = v - return s -} - // Contains the parameters for AcceptVpcPeeringConnection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcPeeringConnectionRequest type AcceptVpcPeeringConnectionInput struct { @@ -15837,18 +15789,6 @@ func (s AcceptVpcPeeringConnectionInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *AcceptVpcPeeringConnectionInput) SetDryRun(v bool) *AcceptVpcPeeringConnectionInput { - s.DryRun = &v - return s -} - -// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value. -func (s *AcceptVpcPeeringConnectionInput) SetVpcPeeringConnectionId(v string) *AcceptVpcPeeringConnectionInput { - s.VpcPeeringConnectionId = &v - return s -} - // Contains the output of AcceptVpcPeeringConnection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcPeeringConnectionResult type AcceptVpcPeeringConnectionOutput struct { @@ -15875,12 +15815,6 @@ func (s AcceptVpcPeeringConnectionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVpcPeeringConnection sets the VpcPeeringConnection field's value. -func (s *AcceptVpcPeeringConnectionOutput) SetVpcPeeringConnection(v *VpcPeeringConnection) *AcceptVpcPeeringConnectionOutput { - s.VpcPeeringConnection = v - return s -} - // Describes an account attribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AccountAttribute type AccountAttribute struct { @@ -15903,18 +15837,6 @@ func (s AccountAttribute) GoString() string { return s.String() } -// SetAttributeName sets the AttributeName field's value. -func (s *AccountAttribute) SetAttributeName(v string) *AccountAttribute { - s.AttributeName = &v - return s -} - -// SetAttributeValues sets the AttributeValues field's value. -func (s *AccountAttribute) SetAttributeValues(v []AccountAttributeValue) *AccountAttribute { - s.AttributeValues = v - return s -} - // Describes a value of an account attribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AccountAttributeValue type AccountAttributeValue struct { @@ -15934,12 +15856,6 @@ func (s AccountAttributeValue) GoString() string { return s.String() } -// SetAttributeValue sets the AttributeValue field's value. -func (s *AccountAttributeValue) SetAttributeValue(v string) *AccountAttributeValue { - s.AttributeValue = &v - return s -} - // Describes a running instance in a Spot Fleet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ActiveInstance type ActiveInstance struct { @@ -15970,30 +15886,6 @@ func (s ActiveInstance) GoString() string { return s.String() } -// SetInstanceHealth sets the InstanceHealth field's value. -func (s *ActiveInstance) SetInstanceHealth(v InstanceHealthStatus) *ActiveInstance { - s.InstanceHealth = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *ActiveInstance) SetInstanceId(v string) *ActiveInstance { - s.InstanceId = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *ActiveInstance) SetInstanceType(v string) *ActiveInstance { - s.InstanceType = &v - return s -} - -// SetSpotInstanceRequestId sets the SpotInstanceRequestId field's value. -func (s *ActiveInstance) SetSpotInstanceRequestId(v string) *ActiveInstance { - s.SpotInstanceRequestId = &v - return s -} - // Describes an Elastic IP address. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Address type Address struct { @@ -16039,60 +15931,6 @@ func (s Address) GoString() string { return s.String() } -// SetAllocationId sets the AllocationId field's value. -func (s *Address) SetAllocationId(v string) *Address { - s.AllocationId = &v - return s -} - -// SetAssociationId sets the AssociationId field's value. -func (s *Address) SetAssociationId(v string) *Address { - s.AssociationId = &v - return s -} - -// SetDomain sets the Domain field's value. -func (s *Address) SetDomain(v DomainType) *Address { - s.Domain = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *Address) SetInstanceId(v string) *Address { - s.InstanceId = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *Address) SetNetworkInterfaceId(v string) *Address { - s.NetworkInterfaceId = &v - return s -} - -// SetNetworkInterfaceOwnerId sets the NetworkInterfaceOwnerId field's value. -func (s *Address) SetNetworkInterfaceOwnerId(v string) *Address { - s.NetworkInterfaceOwnerId = &v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *Address) SetPrivateIpAddress(v string) *Address { - s.PrivateIpAddress = &v - return s -} - -// SetPublicIp sets the PublicIp field's value. -func (s *Address) SetPublicIp(v string) *Address { - s.PublicIp = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *Address) SetTags(v []Tag) *Address { - s.Tags = v - return s -} - // Contains the parameters for AllocateAddress. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateAddressRequest type AllocateAddressInput struct { @@ -16123,24 +15961,6 @@ func (s AllocateAddressInput) GoString() string { return s.String() } -// SetAddress sets the Address field's value. -func (s *AllocateAddressInput) SetAddress(v string) *AllocateAddressInput { - s.Address = &v - return s -} - -// SetDomain sets the Domain field's value. -func (s *AllocateAddressInput) SetDomain(v DomainType) *AllocateAddressInput { - s.Domain = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *AllocateAddressInput) SetDryRun(v bool) *AllocateAddressInput { - s.DryRun = &v - return s -} - // Contains the output of AllocateAddress. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateAddressResult type AllocateAddressOutput struct { @@ -16175,24 +15995,6 @@ func (s AllocateAddressOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAllocationId sets the AllocationId field's value. -func (s *AllocateAddressOutput) SetAllocationId(v string) *AllocateAddressOutput { - s.AllocationId = &v - return s -} - -// SetDomain sets the Domain field's value. -func (s *AllocateAddressOutput) SetDomain(v DomainType) *AllocateAddressOutput { - s.Domain = v - return s -} - -// SetPublicIp sets the PublicIp field's value. -func (s *AllocateAddressOutput) SetPublicIp(v string) *AllocateAddressOutput { - s.PublicIp = &v - return s -} - // Contains the parameters for AllocateHosts. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateHostsRequest type AllocateHostsInput struct { @@ -16261,36 +16063,6 @@ func (s *AllocateHostsInput) Validate() error { return nil } -// SetAutoPlacement sets the AutoPlacement field's value. -func (s *AllocateHostsInput) SetAutoPlacement(v AutoPlacement) *AllocateHostsInput { - s.AutoPlacement = v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *AllocateHostsInput) SetAvailabilityZone(v string) *AllocateHostsInput { - s.AvailabilityZone = &v - return s -} - -// SetClientToken sets the ClientToken field's value. -func (s *AllocateHostsInput) SetClientToken(v string) *AllocateHostsInput { - s.ClientToken = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *AllocateHostsInput) SetInstanceType(v string) *AllocateHostsInput { - s.InstanceType = &v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *AllocateHostsInput) SetQuantity(v int64) *AllocateHostsInput { - s.Quantity = &v - return s -} - // Contains the output of AllocateHosts. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateHostsResult type AllocateHostsOutput struct { @@ -16318,12 +16090,6 @@ func (s AllocateHostsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHostIds sets the HostIds field's value. -func (s *AllocateHostsOutput) SetHostIds(v []string) *AllocateHostsOutput { - s.HostIds = v - return s -} - // Describes a principal. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllowedPrincipal type AllowedPrincipal struct { @@ -16346,18 +16112,6 @@ func (s AllowedPrincipal) GoString() string { return s.String() } -// SetPrincipal sets the Principal field's value. -func (s *AllowedPrincipal) SetPrincipal(v string) *AllowedPrincipal { - s.Principal = &v - return s -} - -// SetPrincipalType sets the PrincipalType field's value. -func (s *AllowedPrincipal) SetPrincipalType(v PrincipalType) *AllowedPrincipal { - s.PrincipalType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignIpv6AddressesRequest type AssignIpv6AddressesInput struct { _ struct{} `type:"structure"` @@ -16401,24 +16155,6 @@ func (s *AssignIpv6AddressesInput) Validate() error { return nil } -// SetIpv6AddressCount sets the Ipv6AddressCount field's value. -func (s *AssignIpv6AddressesInput) SetIpv6AddressCount(v int64) *AssignIpv6AddressesInput { - s.Ipv6AddressCount = &v - return s -} - -// SetIpv6Addresses sets the Ipv6Addresses field's value. -func (s *AssignIpv6AddressesInput) SetIpv6Addresses(v []string) *AssignIpv6AddressesInput { - s.Ipv6Addresses = v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *AssignIpv6AddressesInput) SetNetworkInterfaceId(v string) *AssignIpv6AddressesInput { - s.NetworkInterfaceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignIpv6AddressesResult type AssignIpv6AddressesOutput struct { _ struct{} `type:"structure"` @@ -16447,18 +16183,6 @@ func (s AssignIpv6AddressesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssignedIpv6Addresses sets the AssignedIpv6Addresses field's value. -func (s *AssignIpv6AddressesOutput) SetAssignedIpv6Addresses(v []string) *AssignIpv6AddressesOutput { - s.AssignedIpv6Addresses = v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *AssignIpv6AddressesOutput) SetNetworkInterfaceId(v string) *AssignIpv6AddressesOutput { - s.NetworkInterfaceId = &v - return s -} - // Contains the parameters for AssignPrivateIpAddresses. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateIpAddressesRequest type AssignPrivateIpAddressesInput struct { @@ -16510,30 +16234,6 @@ func (s *AssignPrivateIpAddressesInput) Validate() error { return nil } -// SetAllowReassignment sets the AllowReassignment field's value. -func (s *AssignPrivateIpAddressesInput) SetAllowReassignment(v bool) *AssignPrivateIpAddressesInput { - s.AllowReassignment = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *AssignPrivateIpAddressesInput) SetNetworkInterfaceId(v string) *AssignPrivateIpAddressesInput { - s.NetworkInterfaceId = &v - return s -} - -// SetPrivateIpAddresses sets the PrivateIpAddresses field's value. -func (s *AssignPrivateIpAddressesInput) SetPrivateIpAddresses(v []string) *AssignPrivateIpAddressesInput { - s.PrivateIpAddresses = v - return s -} - -// SetSecondaryPrivateIpAddressCount sets the SecondaryPrivateIpAddressCount field's value. -func (s *AssignPrivateIpAddressesInput) SetSecondaryPrivateIpAddressCount(v int64) *AssignPrivateIpAddressesInput { - s.SecondaryPrivateIpAddressCount = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateIpAddressesOutput type AssignPrivateIpAddressesOutput struct { _ struct{} `type:"structure"` @@ -16607,48 +16307,6 @@ func (s AssociateAddressInput) GoString() string { return s.String() } -// SetAllocationId sets the AllocationId field's value. -func (s *AssociateAddressInput) SetAllocationId(v string) *AssociateAddressInput { - s.AllocationId = &v - return s -} - -// SetAllowReassociation sets the AllowReassociation field's value. -func (s *AssociateAddressInput) SetAllowReassociation(v bool) *AssociateAddressInput { - s.AllowReassociation = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *AssociateAddressInput) SetDryRun(v bool) *AssociateAddressInput { - s.DryRun = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *AssociateAddressInput) SetInstanceId(v string) *AssociateAddressInput { - s.InstanceId = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *AssociateAddressInput) SetNetworkInterfaceId(v string) *AssociateAddressInput { - s.NetworkInterfaceId = &v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *AssociateAddressInput) SetPrivateIpAddress(v string) *AssociateAddressInput { - s.PrivateIpAddress = &v - return s -} - -// SetPublicIp sets the PublicIp field's value. -func (s *AssociateAddressInput) SetPublicIp(v string) *AssociateAddressInput { - s.PublicIp = &v - return s -} - // Contains the output of AssociateAddress. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateAddressResult type AssociateAddressOutput struct { @@ -16676,12 +16334,6 @@ func (s AssociateAddressOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssociationId sets the AssociationId field's value. -func (s *AssociateAddressOutput) SetAssociationId(v string) *AssociateAddressOutput { - s.AssociationId = &v - return s -} - // Contains the parameters for AssociateDhcpOptions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateDhcpOptionsRequest type AssociateDhcpOptionsInput struct { @@ -16733,24 +16385,6 @@ func (s *AssociateDhcpOptionsInput) Validate() error { return nil } -// SetDhcpOptionsId sets the DhcpOptionsId field's value. -func (s *AssociateDhcpOptionsInput) SetDhcpOptionsId(v string) *AssociateDhcpOptionsInput { - s.DhcpOptionsId = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *AssociateDhcpOptionsInput) SetDryRun(v bool) *AssociateDhcpOptionsInput { - s.DryRun = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *AssociateDhcpOptionsInput) SetVpcId(v string) *AssociateDhcpOptionsInput { - s.VpcId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateDhcpOptionsOutput type AssociateDhcpOptionsOutput struct { _ struct{} `type:"structure"` @@ -16816,18 +16450,6 @@ func (s *AssociateIamInstanceProfileInput) Validate() error { return nil } -// SetIamInstanceProfile sets the IamInstanceProfile field's value. -func (s *AssociateIamInstanceProfileInput) SetIamInstanceProfile(v *IamInstanceProfileSpecification) *AssociateIamInstanceProfileInput { - s.IamInstanceProfile = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *AssociateIamInstanceProfileInput) SetInstanceId(v string) *AssociateIamInstanceProfileInput { - s.InstanceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateIamInstanceProfileResult type AssociateIamInstanceProfileOutput struct { _ struct{} `type:"structure"` @@ -16853,12 +16475,6 @@ func (s AssociateIamInstanceProfileOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIamInstanceProfileAssociation sets the IamInstanceProfileAssociation field's value. -func (s *AssociateIamInstanceProfileOutput) SetIamInstanceProfileAssociation(v *IamInstanceProfileAssociation) *AssociateIamInstanceProfileOutput { - s.IamInstanceProfileAssociation = v - return s -} - // Contains the parameters for AssociateRouteTable. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateRouteTableRequest type AssociateRouteTableInput struct { @@ -16909,24 +16525,6 @@ func (s *AssociateRouteTableInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *AssociateRouteTableInput) SetDryRun(v bool) *AssociateRouteTableInput { - s.DryRun = &v - return s -} - -// SetRouteTableId sets the RouteTableId field's value. -func (s *AssociateRouteTableInput) SetRouteTableId(v string) *AssociateRouteTableInput { - s.RouteTableId = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *AssociateRouteTableInput) SetSubnetId(v string) *AssociateRouteTableInput { - s.SubnetId = &v - return s -} - // Contains the output of AssociateRouteTable. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateRouteTableResult type AssociateRouteTableOutput struct { @@ -16953,12 +16551,6 @@ func (s AssociateRouteTableOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssociationId sets the AssociationId field's value. -func (s *AssociateRouteTableOutput) SetAssociationId(v string) *AssociateRouteTableOutput { - s.AssociationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateSubnetCidrBlockRequest type AssociateSubnetCidrBlockInput struct { _ struct{} `type:"structure"` @@ -17002,18 +16594,6 @@ func (s *AssociateSubnetCidrBlockInput) Validate() error { return nil } -// SetIpv6CidrBlock sets the Ipv6CidrBlock field's value. -func (s *AssociateSubnetCidrBlockInput) SetIpv6CidrBlock(v string) *AssociateSubnetCidrBlockInput { - s.Ipv6CidrBlock = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *AssociateSubnetCidrBlockInput) SetSubnetId(v string) *AssociateSubnetCidrBlockInput { - s.SubnetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateSubnetCidrBlockResult type AssociateSubnetCidrBlockOutput struct { _ struct{} `type:"structure"` @@ -17042,18 +16622,6 @@ func (s AssociateSubnetCidrBlockOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIpv6CidrBlockAssociation sets the Ipv6CidrBlockAssociation field's value. -func (s *AssociateSubnetCidrBlockOutput) SetIpv6CidrBlockAssociation(v *SubnetIpv6CidrBlockAssociation) *AssociateSubnetCidrBlockOutput { - s.Ipv6CidrBlockAssociation = v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *AssociateSubnetCidrBlockOutput) SetSubnetId(v string) *AssociateSubnetCidrBlockOutput { - s.SubnetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateVpcCidrBlockRequest type AssociateVpcCidrBlockInput struct { _ struct{} `type:"structure"` @@ -17096,24 +16664,6 @@ func (s *AssociateVpcCidrBlockInput) Validate() error { return nil } -// SetAmazonProvidedIpv6CidrBlock sets the AmazonProvidedIpv6CidrBlock field's value. -func (s *AssociateVpcCidrBlockInput) SetAmazonProvidedIpv6CidrBlock(v bool) *AssociateVpcCidrBlockInput { - s.AmazonProvidedIpv6CidrBlock = &v - return s -} - -// SetCidrBlock sets the CidrBlock field's value. -func (s *AssociateVpcCidrBlockInput) SetCidrBlock(v string) *AssociateVpcCidrBlockInput { - s.CidrBlock = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *AssociateVpcCidrBlockInput) SetVpcId(v string) *AssociateVpcCidrBlockInput { - s.VpcId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateVpcCidrBlockResult type AssociateVpcCidrBlockOutput struct { _ struct{} `type:"structure"` @@ -17145,24 +16695,6 @@ func (s AssociateVpcCidrBlockOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCidrBlockAssociation sets the CidrBlockAssociation field's value. -func (s *AssociateVpcCidrBlockOutput) SetCidrBlockAssociation(v *VpcCidrBlockAssociation) *AssociateVpcCidrBlockOutput { - s.CidrBlockAssociation = v - return s -} - -// SetIpv6CidrBlockAssociation sets the Ipv6CidrBlockAssociation field's value. -func (s *AssociateVpcCidrBlockOutput) SetIpv6CidrBlockAssociation(v *VpcIpv6CidrBlockAssociation) *AssociateVpcCidrBlockOutput { - s.Ipv6CidrBlockAssociation = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *AssociateVpcCidrBlockOutput) SetVpcId(v string) *AssociateVpcCidrBlockOutput { - s.VpcId = &v - return s -} - // Contains the parameters for AttachClassicLinkVpc. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachClassicLinkVpcRequest type AttachClassicLinkVpcInput struct { @@ -17223,30 +16755,6 @@ func (s *AttachClassicLinkVpcInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *AttachClassicLinkVpcInput) SetDryRun(v bool) *AttachClassicLinkVpcInput { - s.DryRun = &v - return s -} - -// SetGroups sets the Groups field's value. -func (s *AttachClassicLinkVpcInput) SetGroups(v []string) *AttachClassicLinkVpcInput { - s.Groups = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *AttachClassicLinkVpcInput) SetInstanceId(v string) *AttachClassicLinkVpcInput { - s.InstanceId = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *AttachClassicLinkVpcInput) SetVpcId(v string) *AttachClassicLinkVpcInput { - s.VpcId = &v - return s -} - // Contains the output of AttachClassicLinkVpc. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachClassicLinkVpcResult type AttachClassicLinkVpcOutput struct { @@ -17273,12 +16781,6 @@ func (s AttachClassicLinkVpcOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReturn sets the Return field's value. -func (s *AttachClassicLinkVpcOutput) SetReturn(v bool) *AttachClassicLinkVpcOutput { - s.Return = &v - return s -} - // Contains the parameters for AttachInternetGateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachInternetGatewayRequest type AttachInternetGatewayInput struct { @@ -17329,24 +16831,6 @@ func (s *AttachInternetGatewayInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *AttachInternetGatewayInput) SetDryRun(v bool) *AttachInternetGatewayInput { - s.DryRun = &v - return s -} - -// SetInternetGatewayId sets the InternetGatewayId field's value. -func (s *AttachInternetGatewayInput) SetInternetGatewayId(v string) *AttachInternetGatewayInput { - s.InternetGatewayId = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *AttachInternetGatewayInput) SetVpcId(v string) *AttachInternetGatewayInput { - s.VpcId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachInternetGatewayOutput type AttachInternetGatewayOutput struct { _ struct{} `type:"structure"` @@ -17428,30 +16912,6 @@ func (s *AttachNetworkInterfaceInput) Validate() error { return nil } -// SetDeviceIndex sets the DeviceIndex field's value. -func (s *AttachNetworkInterfaceInput) SetDeviceIndex(v int64) *AttachNetworkInterfaceInput { - s.DeviceIndex = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *AttachNetworkInterfaceInput) SetDryRun(v bool) *AttachNetworkInterfaceInput { - s.DryRun = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *AttachNetworkInterfaceInput) SetInstanceId(v string) *AttachNetworkInterfaceInput { - s.InstanceId = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *AttachNetworkInterfaceInput) SetNetworkInterfaceId(v string) *AttachNetworkInterfaceInput { - s.NetworkInterfaceId = &v - return s -} - // Contains the output of AttachNetworkInterface. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachNetworkInterfaceResult type AttachNetworkInterfaceOutput struct { @@ -17478,12 +16938,6 @@ func (s AttachNetworkInterfaceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttachmentId sets the AttachmentId field's value. -func (s *AttachNetworkInterfaceOutput) SetAttachmentId(v string) *AttachNetworkInterfaceOutput { - s.AttachmentId = &v - return s -} - // Contains the parameters for AttachVolume. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVolumeRequest type AttachVolumeInput struct { @@ -17544,30 +16998,6 @@ func (s *AttachVolumeInput) Validate() error { return nil } -// SetDevice sets the Device field's value. -func (s *AttachVolumeInput) SetDevice(v string) *AttachVolumeInput { - s.Device = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *AttachVolumeInput) SetDryRun(v bool) *AttachVolumeInput { - s.DryRun = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *AttachVolumeInput) SetInstanceId(v string) *AttachVolumeInput { - s.InstanceId = &v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *AttachVolumeInput) SetVolumeId(v string) *AttachVolumeInput { - s.VolumeId = &v - return s -} - // Contains the parameters for AttachVpnGateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVpnGatewayRequest type AttachVpnGatewayInput struct { @@ -17618,24 +17048,6 @@ func (s *AttachVpnGatewayInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *AttachVpnGatewayInput) SetDryRun(v bool) *AttachVpnGatewayInput { - s.DryRun = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *AttachVpnGatewayInput) SetVpcId(v string) *AttachVpnGatewayInput { - s.VpcId = &v - return s -} - -// SetVpnGatewayId sets the VpnGatewayId field's value. -func (s *AttachVpnGatewayInput) SetVpnGatewayId(v string) *AttachVpnGatewayInput { - s.VpnGatewayId = &v - return s -} - // Contains the output of AttachVpnGateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVpnGatewayResult type AttachVpnGatewayOutput struct { @@ -17662,12 +17074,6 @@ func (s AttachVpnGatewayOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVpcAttachment sets the VpcAttachment field's value. -func (s *AttachVpnGatewayOutput) SetVpcAttachment(v *VpcAttachment) *AttachVpnGatewayOutput { - s.VpcAttachment = v - return s -} - // Describes a value for a resource attribute that is a Boolean value. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttributeBooleanValue type AttributeBooleanValue struct { @@ -17687,12 +17093,6 @@ func (s AttributeBooleanValue) GoString() string { return s.String() } -// SetValue sets the Value field's value. -func (s *AttributeBooleanValue) SetValue(v bool) *AttributeBooleanValue { - s.Value = &v - return s -} - // Describes a value for a resource attribute that is a String. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttributeValue type AttributeValue struct { @@ -17712,12 +17112,6 @@ func (s AttributeValue) GoString() string { return s.String() } -// SetValue sets the Value field's value. -func (s *AttributeValue) SetValue(v string) *AttributeValue { - s.Value = &v - return s -} - // Contains the parameters for AuthorizeSecurityGroupEgress. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupEgressRequest type AuthorizeSecurityGroupEgressInput struct { @@ -17784,60 +17178,6 @@ func (s *AuthorizeSecurityGroupEgressInput) Validate() error { return nil } -// SetCidrIp sets the CidrIp field's value. -func (s *AuthorizeSecurityGroupEgressInput) SetCidrIp(v string) *AuthorizeSecurityGroupEgressInput { - s.CidrIp = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *AuthorizeSecurityGroupEgressInput) SetDryRun(v bool) *AuthorizeSecurityGroupEgressInput { - s.DryRun = &v - return s -} - -// SetFromPort sets the FromPort field's value. -func (s *AuthorizeSecurityGroupEgressInput) SetFromPort(v int64) *AuthorizeSecurityGroupEgressInput { - s.FromPort = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *AuthorizeSecurityGroupEgressInput) SetGroupId(v string) *AuthorizeSecurityGroupEgressInput { - s.GroupId = &v - return s -} - -// SetIpPermissions sets the IpPermissions field's value. -func (s *AuthorizeSecurityGroupEgressInput) SetIpPermissions(v []IpPermission) *AuthorizeSecurityGroupEgressInput { - s.IpPermissions = v - return s -} - -// SetIpProtocol sets the IpProtocol field's value. -func (s *AuthorizeSecurityGroupEgressInput) SetIpProtocol(v string) *AuthorizeSecurityGroupEgressInput { - s.IpProtocol = &v - return s -} - -// SetSourceSecurityGroupName sets the SourceSecurityGroupName field's value. -func (s *AuthorizeSecurityGroupEgressInput) SetSourceSecurityGroupName(v string) *AuthorizeSecurityGroupEgressInput { - s.SourceSecurityGroupName = &v - return s -} - -// SetSourceSecurityGroupOwnerId sets the SourceSecurityGroupOwnerId field's value. -func (s *AuthorizeSecurityGroupEgressInput) SetSourceSecurityGroupOwnerId(v string) *AuthorizeSecurityGroupEgressInput { - s.SourceSecurityGroupOwnerId = &v - return s -} - -// SetToPort sets the ToPort field's value. -func (s *AuthorizeSecurityGroupEgressInput) SetToPort(v int64) *AuthorizeSecurityGroupEgressInput { - s.ToPort = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupEgressOutput type AuthorizeSecurityGroupEgressOutput struct { _ struct{} `type:"structure"` @@ -17934,66 +17274,6 @@ func (s AuthorizeSecurityGroupIngressInput) GoString() string { return s.String() } -// SetCidrIp sets the CidrIp field's value. -func (s *AuthorizeSecurityGroupIngressInput) SetCidrIp(v string) *AuthorizeSecurityGroupIngressInput { - s.CidrIp = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *AuthorizeSecurityGroupIngressInput) SetDryRun(v bool) *AuthorizeSecurityGroupIngressInput { - s.DryRun = &v - return s -} - -// SetFromPort sets the FromPort field's value. -func (s *AuthorizeSecurityGroupIngressInput) SetFromPort(v int64) *AuthorizeSecurityGroupIngressInput { - s.FromPort = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *AuthorizeSecurityGroupIngressInput) SetGroupId(v string) *AuthorizeSecurityGroupIngressInput { - s.GroupId = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *AuthorizeSecurityGroupIngressInput) SetGroupName(v string) *AuthorizeSecurityGroupIngressInput { - s.GroupName = &v - return s -} - -// SetIpPermissions sets the IpPermissions field's value. -func (s *AuthorizeSecurityGroupIngressInput) SetIpPermissions(v []IpPermission) *AuthorizeSecurityGroupIngressInput { - s.IpPermissions = v - return s -} - -// SetIpProtocol sets the IpProtocol field's value. -func (s *AuthorizeSecurityGroupIngressInput) SetIpProtocol(v string) *AuthorizeSecurityGroupIngressInput { - s.IpProtocol = &v - return s -} - -// SetSourceSecurityGroupName sets the SourceSecurityGroupName field's value. -func (s *AuthorizeSecurityGroupIngressInput) SetSourceSecurityGroupName(v string) *AuthorizeSecurityGroupIngressInput { - s.SourceSecurityGroupName = &v - return s -} - -// SetSourceSecurityGroupOwnerId sets the SourceSecurityGroupOwnerId field's value. -func (s *AuthorizeSecurityGroupIngressInput) SetSourceSecurityGroupOwnerId(v string) *AuthorizeSecurityGroupIngressInput { - s.SourceSecurityGroupOwnerId = &v - return s -} - -// SetToPort sets the ToPort field's value. -func (s *AuthorizeSecurityGroupIngressInput) SetToPort(v int64) *AuthorizeSecurityGroupIngressInput { - s.ToPort = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupIngressOutput type AuthorizeSecurityGroupIngressOutput struct { _ struct{} `type:"structure"` @@ -18044,30 +17324,6 @@ func (s AvailabilityZone) GoString() string { return s.String() } -// SetMessages sets the Messages field's value. -func (s *AvailabilityZone) SetMessages(v []AvailabilityZoneMessage) *AvailabilityZone { - s.Messages = v - return s -} - -// SetRegionName sets the RegionName field's value. -func (s *AvailabilityZone) SetRegionName(v string) *AvailabilityZone { - s.RegionName = &v - return s -} - -// SetState sets the State field's value. -func (s *AvailabilityZone) SetState(v AvailabilityZoneState) *AvailabilityZone { - s.State = v - return s -} - -// SetZoneName sets the ZoneName field's value. -func (s *AvailabilityZone) SetZoneName(v string) *AvailabilityZone { - s.ZoneName = &v - return s -} - // Describes a message about an Availability Zone. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AvailabilityZoneMessage type AvailabilityZoneMessage struct { @@ -18087,12 +17343,6 @@ func (s AvailabilityZoneMessage) GoString() string { return s.String() } -// SetMessage sets the Message field's value. -func (s *AvailabilityZoneMessage) SetMessage(v string) *AvailabilityZoneMessage { - s.Message = &v - return s -} - // The capacity information for instances launched onto the Dedicated Host. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AvailableCapacity type AvailableCapacity struct { @@ -18115,18 +17365,6 @@ func (s AvailableCapacity) GoString() string { return s.String() } -// SetAvailableInstanceCapacity sets the AvailableInstanceCapacity field's value. -func (s *AvailableCapacity) SetAvailableInstanceCapacity(v []InstanceCapacity) *AvailableCapacity { - s.AvailableInstanceCapacity = v - return s -} - -// SetAvailableVCpus sets the AvailableVCpus field's value. -func (s *AvailableCapacity) SetAvailableVCpus(v int64) *AvailableCapacity { - s.AvailableVCpus = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BlobAttributeValue type BlobAttributeValue struct { _ struct{} `type:"structure"` @@ -18145,12 +17383,6 @@ func (s BlobAttributeValue) GoString() string { return s.String() } -// SetValue sets the Value field's value. -func (s *BlobAttributeValue) SetValue(v []byte) *BlobAttributeValue { - s.Value = v - return s -} - // Describes a block device mapping. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BlockDeviceMapping type BlockDeviceMapping struct { @@ -18190,30 +17422,6 @@ func (s BlockDeviceMapping) GoString() string { return s.String() } -// SetDeviceName sets the DeviceName field's value. -func (s *BlockDeviceMapping) SetDeviceName(v string) *BlockDeviceMapping { - s.DeviceName = &v - return s -} - -// SetEbs sets the Ebs field's value. -func (s *BlockDeviceMapping) SetEbs(v *EbsBlockDevice) *BlockDeviceMapping { - s.Ebs = v - return s -} - -// SetNoDevice sets the NoDevice field's value. -func (s *BlockDeviceMapping) SetNoDevice(v string) *BlockDeviceMapping { - s.NoDevice = &v - return s -} - -// SetVirtualName sets the VirtualName field's value. -func (s *BlockDeviceMapping) SetVirtualName(v string) *BlockDeviceMapping { - s.VirtualName = &v - return s -} - // Contains the parameters for BundleInstance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BundleInstanceRequest type BundleInstanceInput struct { @@ -18272,24 +17480,6 @@ func (s *BundleInstanceInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *BundleInstanceInput) SetDryRun(v bool) *BundleInstanceInput { - s.DryRun = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *BundleInstanceInput) SetInstanceId(v string) *BundleInstanceInput { - s.InstanceId = &v - return s -} - -// SetStorage sets the Storage field's value. -func (s *BundleInstanceInput) SetStorage(v *Storage) *BundleInstanceInput { - s.Storage = v - return s -} - // Contains the output of BundleInstance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BundleInstanceResult type BundleInstanceOutput struct { @@ -18316,12 +17506,6 @@ func (s BundleInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBundleTask sets the BundleTask field's value. -func (s *BundleInstanceOutput) SetBundleTask(v *BundleTask) *BundleInstanceOutput { - s.BundleTask = v - return s -} - // Describes a bundle task. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BundleTask type BundleTask struct { @@ -18362,54 +17546,6 @@ func (s BundleTask) GoString() string { return s.String() } -// SetBundleId sets the BundleId field's value. -func (s *BundleTask) SetBundleId(v string) *BundleTask { - s.BundleId = &v - return s -} - -// SetBundleTaskError sets the BundleTaskError field's value. -func (s *BundleTask) SetBundleTaskError(v *BundleTaskError) *BundleTask { - s.BundleTaskError = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *BundleTask) SetInstanceId(v string) *BundleTask { - s.InstanceId = &v - return s -} - -// SetProgress sets the Progress field's value. -func (s *BundleTask) SetProgress(v string) *BundleTask { - s.Progress = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *BundleTask) SetStartTime(v time.Time) *BundleTask { - s.StartTime = &v - return s -} - -// SetState sets the State field's value. -func (s *BundleTask) SetState(v BundleTaskState) *BundleTask { - s.State = v - return s -} - -// SetStorage sets the Storage field's value. -func (s *BundleTask) SetStorage(v *Storage) *BundleTask { - s.Storage = v - return s -} - -// SetUpdateTime sets the UpdateTime field's value. -func (s *BundleTask) SetUpdateTime(v time.Time) *BundleTask { - s.UpdateTime = &v - return s -} - // Describes an error for BundleInstance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BundleTaskError type BundleTaskError struct { @@ -18432,18 +17568,6 @@ func (s BundleTaskError) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *BundleTaskError) SetCode(v string) *BundleTaskError { - s.Code = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *BundleTaskError) SetMessage(v string) *BundleTaskError { - s.Message = &v - return s -} - // Contains the parameters for CancelBundleTask. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelBundleTaskRequest type CancelBundleTaskInput struct { @@ -18485,18 +17609,6 @@ func (s *CancelBundleTaskInput) Validate() error { return nil } -// SetBundleId sets the BundleId field's value. -func (s *CancelBundleTaskInput) SetBundleId(v string) *CancelBundleTaskInput { - s.BundleId = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CancelBundleTaskInput) SetDryRun(v bool) *CancelBundleTaskInput { - s.DryRun = &v - return s -} - // Contains the output of CancelBundleTask. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelBundleTaskResult type CancelBundleTaskOutput struct { @@ -18523,12 +17635,6 @@ func (s CancelBundleTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBundleTask sets the BundleTask field's value. -func (s *CancelBundleTaskOutput) SetBundleTask(v *BundleTask) *CancelBundleTaskOutput { - s.BundleTask = v - return s -} - // Contains the parameters for CancelConversionTask. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelConversionRequest type CancelConversionTaskInput struct { @@ -18573,24 +17679,6 @@ func (s *CancelConversionTaskInput) Validate() error { return nil } -// SetConversionTaskId sets the ConversionTaskId field's value. -func (s *CancelConversionTaskInput) SetConversionTaskId(v string) *CancelConversionTaskInput { - s.ConversionTaskId = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CancelConversionTaskInput) SetDryRun(v bool) *CancelConversionTaskInput { - s.DryRun = &v - return s -} - -// SetReasonMessage sets the ReasonMessage field's value. -func (s *CancelConversionTaskInput) SetReasonMessage(v string) *CancelConversionTaskInput { - s.ReasonMessage = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelConversionTaskOutput type CancelConversionTaskOutput struct { _ struct{} `type:"structure"` @@ -18648,12 +17736,6 @@ func (s *CancelExportTaskInput) Validate() error { return nil } -// SetExportTaskId sets the ExportTaskId field's value. -func (s *CancelExportTaskInput) SetExportTaskId(v string) *CancelExportTaskInput { - s.ExportTaskId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelExportTaskOutput type CancelExportTaskOutput struct { _ struct{} `type:"structure"` @@ -18704,24 +17786,6 @@ func (s CancelImportTaskInput) GoString() string { return s.String() } -// SetCancelReason sets the CancelReason field's value. -func (s *CancelImportTaskInput) SetCancelReason(v string) *CancelImportTaskInput { - s.CancelReason = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CancelImportTaskInput) SetDryRun(v bool) *CancelImportTaskInput { - s.DryRun = &v - return s -} - -// SetImportTaskId sets the ImportTaskId field's value. -func (s *CancelImportTaskInput) SetImportTaskId(v string) *CancelImportTaskInput { - s.ImportTaskId = &v - return s -} - // Contains the output for CancelImportTask. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelImportTaskResult type CancelImportTaskOutput struct { @@ -18754,24 +17818,6 @@ func (s CancelImportTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImportTaskId sets the ImportTaskId field's value. -func (s *CancelImportTaskOutput) SetImportTaskId(v string) *CancelImportTaskOutput { - s.ImportTaskId = &v - return s -} - -// SetPreviousState sets the PreviousState field's value. -func (s *CancelImportTaskOutput) SetPreviousState(v string) *CancelImportTaskOutput { - s.PreviousState = &v - return s -} - -// SetState sets the State field's value. -func (s *CancelImportTaskOutput) SetState(v string) *CancelImportTaskOutput { - s.State = &v - return s -} - // Contains the parameters for CancelReservedInstancesListing. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelReservedInstancesListingRequest type CancelReservedInstancesListingInput struct { @@ -18807,12 +17853,6 @@ func (s *CancelReservedInstancesListingInput) Validate() error { return nil } -// SetReservedInstancesListingId sets the ReservedInstancesListingId field's value. -func (s *CancelReservedInstancesListingInput) SetReservedInstancesListingId(v string) *CancelReservedInstancesListingInput { - s.ReservedInstancesListingId = &v - return s -} - // Contains the output of CancelReservedInstancesListing. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelReservedInstancesListingResult type CancelReservedInstancesListingOutput struct { @@ -18839,12 +17879,6 @@ func (s CancelReservedInstancesListingOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetReservedInstancesListings sets the ReservedInstancesListings field's value. -func (s *CancelReservedInstancesListingOutput) SetReservedInstancesListings(v []ReservedInstancesListing) *CancelReservedInstancesListingOutput { - s.ReservedInstancesListings = v - return s -} - // Describes a Spot Fleet error. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequestsError type CancelSpotFleetRequestsError struct { @@ -18871,18 +17905,6 @@ func (s CancelSpotFleetRequestsError) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *CancelSpotFleetRequestsError) SetCode(v CancelBatchErrorCode) *CancelSpotFleetRequestsError { - s.Code = v - return s -} - -// SetMessage sets the Message field's value. -func (s *CancelSpotFleetRequestsError) SetMessage(v string) *CancelSpotFleetRequestsError { - s.Message = &v - return s -} - // Describes a Spot Fleet request that was not successfully canceled. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequestsErrorItem type CancelSpotFleetRequestsErrorItem struct { @@ -18909,18 +17931,6 @@ func (s CancelSpotFleetRequestsErrorItem) GoString() string { return s.String() } -// SetError sets the Error field's value. -func (s *CancelSpotFleetRequestsErrorItem) SetError(v *CancelSpotFleetRequestsError) *CancelSpotFleetRequestsErrorItem { - s.Error = v - return s -} - -// SetSpotFleetRequestId sets the SpotFleetRequestId field's value. -func (s *CancelSpotFleetRequestsErrorItem) SetSpotFleetRequestId(v string) *CancelSpotFleetRequestsErrorItem { - s.SpotFleetRequestId = &v - return s -} - // Contains the parameters for CancelSpotFleetRequests. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequestsRequest type CancelSpotFleetRequestsInput struct { @@ -18972,24 +17982,6 @@ func (s *CancelSpotFleetRequestsInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *CancelSpotFleetRequestsInput) SetDryRun(v bool) *CancelSpotFleetRequestsInput { - s.DryRun = &v - return s -} - -// SetSpotFleetRequestIds sets the SpotFleetRequestIds field's value. -func (s *CancelSpotFleetRequestsInput) SetSpotFleetRequestIds(v []string) *CancelSpotFleetRequestsInput { - s.SpotFleetRequestIds = v - return s -} - -// SetTerminateInstances sets the TerminateInstances field's value. -func (s *CancelSpotFleetRequestsInput) SetTerminateInstances(v bool) *CancelSpotFleetRequestsInput { - s.TerminateInstances = &v - return s -} - // Contains the output of CancelSpotFleetRequests. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequestsResponse type CancelSpotFleetRequestsOutput struct { @@ -19019,18 +18011,6 @@ func (s CancelSpotFleetRequestsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSuccessfulFleetRequests sets the SuccessfulFleetRequests field's value. -func (s *CancelSpotFleetRequestsOutput) SetSuccessfulFleetRequests(v []CancelSpotFleetRequestsSuccessItem) *CancelSpotFleetRequestsOutput { - s.SuccessfulFleetRequests = v - return s -} - -// SetUnsuccessfulFleetRequests sets the UnsuccessfulFleetRequests field's value. -func (s *CancelSpotFleetRequestsOutput) SetUnsuccessfulFleetRequests(v []CancelSpotFleetRequestsErrorItem) *CancelSpotFleetRequestsOutput { - s.UnsuccessfulFleetRequests = v - return s -} - // Describes a Spot Fleet request that was successfully canceled. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequestsSuccessItem type CancelSpotFleetRequestsSuccessItem struct { @@ -19062,24 +18042,6 @@ func (s CancelSpotFleetRequestsSuccessItem) GoString() string { return s.String() } -// SetCurrentSpotFleetRequestState sets the CurrentSpotFleetRequestState field's value. -func (s *CancelSpotFleetRequestsSuccessItem) SetCurrentSpotFleetRequestState(v BatchState) *CancelSpotFleetRequestsSuccessItem { - s.CurrentSpotFleetRequestState = v - return s -} - -// SetPreviousSpotFleetRequestState sets the PreviousSpotFleetRequestState field's value. -func (s *CancelSpotFleetRequestsSuccessItem) SetPreviousSpotFleetRequestState(v BatchState) *CancelSpotFleetRequestsSuccessItem { - s.PreviousSpotFleetRequestState = v - return s -} - -// SetSpotFleetRequestId sets the SpotFleetRequestId field's value. -func (s *CancelSpotFleetRequestsSuccessItem) SetSpotFleetRequestId(v string) *CancelSpotFleetRequestsSuccessItem { - s.SpotFleetRequestId = &v - return s -} - // Contains the parameters for CancelSpotInstanceRequests. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotInstanceRequestsRequest type CancelSpotInstanceRequestsInput struct { @@ -19121,18 +18083,6 @@ func (s *CancelSpotInstanceRequestsInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *CancelSpotInstanceRequestsInput) SetDryRun(v bool) *CancelSpotInstanceRequestsInput { - s.DryRun = &v - return s -} - -// SetSpotInstanceRequestIds sets the SpotInstanceRequestIds field's value. -func (s *CancelSpotInstanceRequestsInput) SetSpotInstanceRequestIds(v []string) *CancelSpotInstanceRequestsInput { - s.SpotInstanceRequestIds = v - return s -} - // Contains the output of CancelSpotInstanceRequests. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotInstanceRequestsResult type CancelSpotInstanceRequestsOutput struct { @@ -19159,12 +18109,6 @@ func (s CancelSpotInstanceRequestsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCancelledSpotInstanceRequests sets the CancelledSpotInstanceRequests field's value. -func (s *CancelSpotInstanceRequestsOutput) SetCancelledSpotInstanceRequests(v []CancelledSpotInstanceRequest) *CancelSpotInstanceRequestsOutput { - s.CancelledSpotInstanceRequests = v - return s -} - // Describes a request to cancel a Spot Instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelledSpotInstanceRequest type CancelledSpotInstanceRequest struct { @@ -19187,18 +18131,6 @@ func (s CancelledSpotInstanceRequest) GoString() string { return s.String() } -// SetSpotInstanceRequestId sets the SpotInstanceRequestId field's value. -func (s *CancelledSpotInstanceRequest) SetSpotInstanceRequestId(v string) *CancelledSpotInstanceRequest { - s.SpotInstanceRequestId = &v - return s -} - -// SetState sets the State field's value. -func (s *CancelledSpotInstanceRequest) SetState(v CancelSpotInstanceRequestState) *CancelledSpotInstanceRequest { - s.State = v - return s -} - // Describes an IPv4 CIDR block. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CidrBlock type CidrBlock struct { @@ -19218,12 +18150,6 @@ func (s CidrBlock) GoString() string { return s.String() } -// SetCidrBlock sets the CidrBlock field's value. -func (s *CidrBlock) SetCidrBlock(v string) *CidrBlock { - s.CidrBlock = &v - return s -} - // Describes the ClassicLink DNS support status of a VPC. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClassicLinkDnsSupport type ClassicLinkDnsSupport struct { @@ -19246,18 +18172,6 @@ func (s ClassicLinkDnsSupport) GoString() string { return s.String() } -// SetClassicLinkDnsSupported sets the ClassicLinkDnsSupported field's value. -func (s *ClassicLinkDnsSupport) SetClassicLinkDnsSupported(v bool) *ClassicLinkDnsSupport { - s.ClassicLinkDnsSupported = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *ClassicLinkDnsSupport) SetVpcId(v string) *ClassicLinkDnsSupport { - s.VpcId = &v - return s -} - // Describes a linked EC2-Classic instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClassicLinkInstance type ClassicLinkInstance struct { @@ -19286,30 +18200,6 @@ func (s ClassicLinkInstance) GoString() string { return s.String() } -// SetGroups sets the Groups field's value. -func (s *ClassicLinkInstance) SetGroups(v []GroupIdentifier) *ClassicLinkInstance { - s.Groups = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *ClassicLinkInstance) SetInstanceId(v string) *ClassicLinkInstance { - s.InstanceId = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *ClassicLinkInstance) SetTags(v []Tag) *ClassicLinkInstance { - s.Tags = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *ClassicLinkInstance) SetVpcId(v string) *ClassicLinkInstance { - s.VpcId = &v - return s -} - // Describes a Classic Load Balancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClassicLoadBalancer type ClassicLoadBalancer struct { @@ -19345,12 +18235,6 @@ func (s *ClassicLoadBalancer) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *ClassicLoadBalancer) SetName(v string) *ClassicLoadBalancer { - s.Name = &v - return s -} - // Describes the Classic Load Balancers to attach to a Spot Fleet. Spot Fleet // registers the running Spot Instances with these Classic Load Balancers. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClassicLoadBalancersConfig @@ -19397,12 +18281,6 @@ func (s *ClassicLoadBalancersConfig) Validate() error { return nil } -// SetClassicLoadBalancers sets the ClassicLoadBalancers field's value. -func (s *ClassicLoadBalancersConfig) SetClassicLoadBalancers(v []ClassicLoadBalancer) *ClassicLoadBalancersConfig { - s.ClassicLoadBalancers = v - return s -} - // Describes the client-specific data. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientData type ClientData struct { @@ -19431,30 +18309,6 @@ func (s ClientData) GoString() string { return s.String() } -// SetComment sets the Comment field's value. -func (s *ClientData) SetComment(v string) *ClientData { - s.Comment = &v - return s -} - -// SetUploadEnd sets the UploadEnd field's value. -func (s *ClientData) SetUploadEnd(v time.Time) *ClientData { - s.UploadEnd = &v - return s -} - -// SetUploadSize sets the UploadSize field's value. -func (s *ClientData) SetUploadSize(v float64) *ClientData { - s.UploadSize = &v - return s -} - -// SetUploadStart sets the UploadStart field's value. -func (s *ClientData) SetUploadStart(v time.Time) *ClientData { - s.UploadStart = &v - return s -} - // Contains the parameters for ConfirmProductInstance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ConfirmProductInstanceRequest type ConfirmProductInstanceInput struct { @@ -19505,24 +18359,6 @@ func (s *ConfirmProductInstanceInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *ConfirmProductInstanceInput) SetDryRun(v bool) *ConfirmProductInstanceInput { - s.DryRun = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *ConfirmProductInstanceInput) SetInstanceId(v string) *ConfirmProductInstanceInput { - s.InstanceId = &v - return s -} - -// SetProductCode sets the ProductCode field's value. -func (s *ConfirmProductInstanceInput) SetProductCode(v string) *ConfirmProductInstanceInput { - s.ProductCode = &v - return s -} - // Contains the output of ConfirmProductInstance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ConfirmProductInstanceResult type ConfirmProductInstanceOutput struct { @@ -19554,18 +18390,6 @@ func (s ConfirmProductInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOwnerId sets the OwnerId field's value. -func (s *ConfirmProductInstanceOutput) SetOwnerId(v string) *ConfirmProductInstanceOutput { - s.OwnerId = &v - return s -} - -// SetReturn sets the Return field's value. -func (s *ConfirmProductInstanceOutput) SetReturn(v bool) *ConfirmProductInstanceOutput { - s.Return = &v - return s -} - // Describes a connection notification for a VPC endpoint or VPC endpoint service. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ConnectionNotification type ConnectionNotification struct { @@ -19604,48 +18428,6 @@ func (s ConnectionNotification) GoString() string { return s.String() } -// SetConnectionEvents sets the ConnectionEvents field's value. -func (s *ConnectionNotification) SetConnectionEvents(v []string) *ConnectionNotification { - s.ConnectionEvents = v - return s -} - -// SetConnectionNotificationArn sets the ConnectionNotificationArn field's value. -func (s *ConnectionNotification) SetConnectionNotificationArn(v string) *ConnectionNotification { - s.ConnectionNotificationArn = &v - return s -} - -// SetConnectionNotificationId sets the ConnectionNotificationId field's value. -func (s *ConnectionNotification) SetConnectionNotificationId(v string) *ConnectionNotification { - s.ConnectionNotificationId = &v - return s -} - -// SetConnectionNotificationState sets the ConnectionNotificationState field's value. -func (s *ConnectionNotification) SetConnectionNotificationState(v ConnectionNotificationState) *ConnectionNotification { - s.ConnectionNotificationState = v - return s -} - -// SetConnectionNotificationType sets the ConnectionNotificationType field's value. -func (s *ConnectionNotification) SetConnectionNotificationType(v ConnectionNotificationType) *ConnectionNotification { - s.ConnectionNotificationType = v - return s -} - -// SetServiceId sets the ServiceId field's value. -func (s *ConnectionNotification) SetServiceId(v string) *ConnectionNotification { - s.ServiceId = &v - return s -} - -// SetVpcEndpointId sets the VpcEndpointId field's value. -func (s *ConnectionNotification) SetVpcEndpointId(v string) *ConnectionNotification { - s.VpcEndpointId = &v - return s -} - // Describes a conversion task. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ConversionTask type ConversionTask struct { @@ -19690,48 +18472,6 @@ func (s ConversionTask) GoString() string { return s.String() } -// SetConversionTaskId sets the ConversionTaskId field's value. -func (s *ConversionTask) SetConversionTaskId(v string) *ConversionTask { - s.ConversionTaskId = &v - return s -} - -// SetExpirationTime sets the ExpirationTime field's value. -func (s *ConversionTask) SetExpirationTime(v string) *ConversionTask { - s.ExpirationTime = &v - return s -} - -// SetImportInstance sets the ImportInstance field's value. -func (s *ConversionTask) SetImportInstance(v *ImportInstanceTaskDetails) *ConversionTask { - s.ImportInstance = v - return s -} - -// SetImportVolume sets the ImportVolume field's value. -func (s *ConversionTask) SetImportVolume(v *ImportVolumeTaskDetails) *ConversionTask { - s.ImportVolume = v - return s -} - -// SetState sets the State field's value. -func (s *ConversionTask) SetState(v ConversionTaskState) *ConversionTask { - s.State = v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *ConversionTask) SetStatusMessage(v string) *ConversionTask { - s.StatusMessage = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *ConversionTask) SetTags(v []Tag) *ConversionTask { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyFpgaImageRequest type CopyFpgaImageInput struct { _ struct{} `type:"structure"` @@ -19791,42 +18531,6 @@ func (s *CopyFpgaImageInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *CopyFpgaImageInput) SetClientToken(v string) *CopyFpgaImageInput { - s.ClientToken = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CopyFpgaImageInput) SetDescription(v string) *CopyFpgaImageInput { - s.Description = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CopyFpgaImageInput) SetDryRun(v bool) *CopyFpgaImageInput { - s.DryRun = &v - return s -} - -// SetName sets the Name field's value. -func (s *CopyFpgaImageInput) SetName(v string) *CopyFpgaImageInput { - s.Name = &v - return s -} - -// SetSourceFpgaImageId sets the SourceFpgaImageId field's value. -func (s *CopyFpgaImageInput) SetSourceFpgaImageId(v string) *CopyFpgaImageInput { - s.SourceFpgaImageId = &v - return s -} - -// SetSourceRegion sets the SourceRegion field's value. -func (s *CopyFpgaImageInput) SetSourceRegion(v string) *CopyFpgaImageInput { - s.SourceRegion = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyFpgaImageResult type CopyFpgaImageOutput struct { _ struct{} `type:"structure"` @@ -19852,12 +18556,6 @@ func (s CopyFpgaImageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFpgaImageId sets the FpgaImageId field's value. -func (s *CopyFpgaImageOutput) SetFpgaImageId(v string) *CopyFpgaImageOutput { - s.FpgaImageId = &v - return s -} - // Contains the parameters for CopyImage. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyImageRequest type CopyImageInput struct { @@ -19942,54 +18640,6 @@ func (s *CopyImageInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *CopyImageInput) SetClientToken(v string) *CopyImageInput { - s.ClientToken = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CopyImageInput) SetDescription(v string) *CopyImageInput { - s.Description = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CopyImageInput) SetDryRun(v bool) *CopyImageInput { - s.DryRun = &v - return s -} - -// SetEncrypted sets the Encrypted field's value. -func (s *CopyImageInput) SetEncrypted(v bool) *CopyImageInput { - s.Encrypted = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CopyImageInput) SetKmsKeyId(v string) *CopyImageInput { - s.KmsKeyId = &v - return s -} - -// SetName sets the Name field's value. -func (s *CopyImageInput) SetName(v string) *CopyImageInput { - s.Name = &v - return s -} - -// SetSourceImageId sets the SourceImageId field's value. -func (s *CopyImageInput) SetSourceImageId(v string) *CopyImageInput { - s.SourceImageId = &v - return s -} - -// SetSourceRegion sets the SourceRegion field's value. -func (s *CopyImageInput) SetSourceRegion(v string) *CopyImageInput { - s.SourceRegion = &v - return s -} - // Contains the output of CopyImage. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyImageResult type CopyImageOutput struct { @@ -20016,12 +18666,6 @@ func (s CopyImageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImageId sets the ImageId field's value. -func (s *CopyImageOutput) SetImageId(v string) *CopyImageOutput { - s.ImageId = &v - return s -} - // Contains the parameters for CopySnapshot. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopySnapshotRequest type CopySnapshotInput struct { @@ -20118,54 +18762,6 @@ func (s *CopySnapshotInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CopySnapshotInput) SetDescription(v string) *CopySnapshotInput { - s.Description = &v - return s -} - -// SetDestinationRegion sets the DestinationRegion field's value. -func (s *CopySnapshotInput) SetDestinationRegion(v string) *CopySnapshotInput { - s.DestinationRegion = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CopySnapshotInput) SetDryRun(v bool) *CopySnapshotInput { - s.DryRun = &v - return s -} - -// SetEncrypted sets the Encrypted field's value. -func (s *CopySnapshotInput) SetEncrypted(v bool) *CopySnapshotInput { - s.Encrypted = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CopySnapshotInput) SetKmsKeyId(v string) *CopySnapshotInput { - s.KmsKeyId = &v - return s -} - -// SetPresignedUrl sets the PresignedUrl field's value. -func (s *CopySnapshotInput) SetPresignedUrl(v string) *CopySnapshotInput { - s.PresignedUrl = &v - return s -} - -// SetSourceRegion sets the SourceRegion field's value. -func (s *CopySnapshotInput) SetSourceRegion(v string) *CopySnapshotInput { - s.SourceRegion = &v - return s -} - -// SetSourceSnapshotId sets the SourceSnapshotId field's value. -func (s *CopySnapshotInput) SetSourceSnapshotId(v string) *CopySnapshotInput { - s.SourceSnapshotId = &v - return s -} - // Contains the output of CopySnapshot. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopySnapshotResult type CopySnapshotOutput struct { @@ -20192,12 +18788,6 @@ func (s CopySnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSnapshotId sets the SnapshotId field's value. -func (s *CopySnapshotOutput) SetSnapshotId(v string) *CopySnapshotOutput { - s.SnapshotId = &v - return s -} - // Contains the parameters for CreateCustomerGateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCustomerGatewayRequest type CreateCustomerGatewayInput struct { @@ -20259,30 +18849,6 @@ func (s *CreateCustomerGatewayInput) Validate() error { return nil } -// SetBgpAsn sets the BgpAsn field's value. -func (s *CreateCustomerGatewayInput) SetBgpAsn(v int64) *CreateCustomerGatewayInput { - s.BgpAsn = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateCustomerGatewayInput) SetDryRun(v bool) *CreateCustomerGatewayInput { - s.DryRun = &v - return s -} - -// SetPublicIp sets the PublicIp field's value. -func (s *CreateCustomerGatewayInput) SetPublicIp(v string) *CreateCustomerGatewayInput { - s.PublicIp = &v - return s -} - -// SetType sets the Type field's value. -func (s *CreateCustomerGatewayInput) SetType(v GatewayType) *CreateCustomerGatewayInput { - s.Type = v - return s -} - // Contains the output of CreateCustomerGateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCustomerGatewayResult type CreateCustomerGatewayOutput struct { @@ -20309,12 +18875,6 @@ func (s CreateCustomerGatewayOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCustomerGateway sets the CustomerGateway field's value. -func (s *CreateCustomerGatewayOutput) SetCustomerGateway(v *CustomerGateway) *CreateCustomerGatewayOutput { - s.CustomerGateway = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultSubnetRequest type CreateDefaultSubnetInput struct { _ struct{} `type:"structure"` @@ -20355,18 +18915,6 @@ func (s *CreateDefaultSubnetInput) Validate() error { return nil } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *CreateDefaultSubnetInput) SetAvailabilityZone(v string) *CreateDefaultSubnetInput { - s.AvailabilityZone = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateDefaultSubnetInput) SetDryRun(v bool) *CreateDefaultSubnetInput { - s.DryRun = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultSubnetResult type CreateDefaultSubnetOutput struct { _ struct{} `type:"structure"` @@ -20392,12 +18940,6 @@ func (s CreateDefaultSubnetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSubnet sets the Subnet field's value. -func (s *CreateDefaultSubnetOutput) SetSubnet(v *Subnet) *CreateDefaultSubnetOutput { - s.Subnet = v - return s -} - // Contains the parameters for CreateDefaultVpc. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultVpcRequest type CreateDefaultVpcInput struct { @@ -20420,12 +18962,6 @@ func (s CreateDefaultVpcInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *CreateDefaultVpcInput) SetDryRun(v bool) *CreateDefaultVpcInput { - s.DryRun = &v - return s -} - // Contains the output of CreateDefaultVpc. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultVpcResult type CreateDefaultVpcOutput struct { @@ -20452,12 +18988,6 @@ func (s CreateDefaultVpcOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVpc sets the Vpc field's value. -func (s *CreateDefaultVpcOutput) SetVpc(v *Vpc) *CreateDefaultVpcOutput { - s.Vpc = v - return s -} - // Contains the parameters for CreateDhcpOptions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDhcpOptionsRequest type CreateDhcpOptionsInput struct { @@ -20499,18 +19029,6 @@ func (s *CreateDhcpOptionsInput) Validate() error { return nil } -// SetDhcpConfigurations sets the DhcpConfigurations field's value. -func (s *CreateDhcpOptionsInput) SetDhcpConfigurations(v []NewDhcpConfiguration) *CreateDhcpOptionsInput { - s.DhcpConfigurations = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateDhcpOptionsInput) SetDryRun(v bool) *CreateDhcpOptionsInput { - s.DryRun = &v - return s -} - // Contains the output of CreateDhcpOptions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDhcpOptionsResult type CreateDhcpOptionsOutput struct { @@ -20537,12 +19055,6 @@ func (s CreateDhcpOptionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDhcpOptions sets the DhcpOptions field's value. -func (s *CreateDhcpOptionsOutput) SetDhcpOptions(v *DhcpOptions) *CreateDhcpOptionsOutput { - s.DhcpOptions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateEgressOnlyInternetGatewayRequest type CreateEgressOnlyInternetGatewayInput struct { _ struct{} `type:"structure"` @@ -20587,24 +19099,6 @@ func (s *CreateEgressOnlyInternetGatewayInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *CreateEgressOnlyInternetGatewayInput) SetClientToken(v string) *CreateEgressOnlyInternetGatewayInput { - s.ClientToken = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateEgressOnlyInternetGatewayInput) SetDryRun(v bool) *CreateEgressOnlyInternetGatewayInput { - s.DryRun = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *CreateEgressOnlyInternetGatewayInput) SetVpcId(v string) *CreateEgressOnlyInternetGatewayInput { - s.VpcId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateEgressOnlyInternetGatewayResult type CreateEgressOnlyInternetGatewayOutput struct { _ struct{} `type:"structure"` @@ -20634,18 +19128,6 @@ func (s CreateEgressOnlyInternetGatewayOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetClientToken sets the ClientToken field's value. -func (s *CreateEgressOnlyInternetGatewayOutput) SetClientToken(v string) *CreateEgressOnlyInternetGatewayOutput { - s.ClientToken = &v - return s -} - -// SetEgressOnlyInternetGateway sets the EgressOnlyInternetGateway field's value. -func (s *CreateEgressOnlyInternetGatewayOutput) SetEgressOnlyInternetGateway(v *EgressOnlyInternetGateway) *CreateEgressOnlyInternetGatewayOutput { - s.EgressOnlyInternetGateway = v - return s -} - // Contains the parameters for CreateFlowLogs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFlowLogsRequest type CreateFlowLogsInput struct { @@ -20722,42 +19204,6 @@ func (s *CreateFlowLogsInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *CreateFlowLogsInput) SetClientToken(v string) *CreateFlowLogsInput { - s.ClientToken = &v - return s -} - -// SetDeliverLogsPermissionArn sets the DeliverLogsPermissionArn field's value. -func (s *CreateFlowLogsInput) SetDeliverLogsPermissionArn(v string) *CreateFlowLogsInput { - s.DeliverLogsPermissionArn = &v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *CreateFlowLogsInput) SetLogGroupName(v string) *CreateFlowLogsInput { - s.LogGroupName = &v - return s -} - -// SetResourceIds sets the ResourceIds field's value. -func (s *CreateFlowLogsInput) SetResourceIds(v []string) *CreateFlowLogsInput { - s.ResourceIds = v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *CreateFlowLogsInput) SetResourceType(v FlowLogsResourceType) *CreateFlowLogsInput { - s.ResourceType = v - return s -} - -// SetTrafficType sets the TrafficType field's value. -func (s *CreateFlowLogsInput) SetTrafficType(v TrafficType) *CreateFlowLogsInput { - s.TrafficType = v - return s -} - // Contains the output of CreateFlowLogs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFlowLogsResult type CreateFlowLogsOutput struct { @@ -20791,24 +19237,6 @@ func (s CreateFlowLogsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClientToken sets the ClientToken field's value. -func (s *CreateFlowLogsOutput) SetClientToken(v string) *CreateFlowLogsOutput { - s.ClientToken = &v - return s -} - -// SetFlowLogIds sets the FlowLogIds field's value. -func (s *CreateFlowLogsOutput) SetFlowLogIds(v []string) *CreateFlowLogsOutput { - s.FlowLogIds = v - return s -} - -// SetUnsuccessful sets the Unsuccessful field's value. -func (s *CreateFlowLogsOutput) SetUnsuccessful(v []UnsuccessfulItem) *CreateFlowLogsOutput { - s.Unsuccessful = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFpgaImageRequest type CreateFpgaImageInput struct { _ struct{} `type:"structure"` @@ -20863,42 +19291,6 @@ func (s *CreateFpgaImageInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *CreateFpgaImageInput) SetClientToken(v string) *CreateFpgaImageInput { - s.ClientToken = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateFpgaImageInput) SetDescription(v string) *CreateFpgaImageInput { - s.Description = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateFpgaImageInput) SetDryRun(v bool) *CreateFpgaImageInput { - s.DryRun = &v - return s -} - -// SetInputStorageLocation sets the InputStorageLocation field's value. -func (s *CreateFpgaImageInput) SetInputStorageLocation(v *StorageLocation) *CreateFpgaImageInput { - s.InputStorageLocation = v - return s -} - -// SetLogsStorageLocation sets the LogsStorageLocation field's value. -func (s *CreateFpgaImageInput) SetLogsStorageLocation(v *StorageLocation) *CreateFpgaImageInput { - s.LogsStorageLocation = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateFpgaImageInput) SetName(v string) *CreateFpgaImageInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFpgaImageResult type CreateFpgaImageOutput struct { _ struct{} `type:"structure"` @@ -20927,18 +19319,6 @@ func (s CreateFpgaImageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFpgaImageGlobalId sets the FpgaImageGlobalId field's value. -func (s *CreateFpgaImageOutput) SetFpgaImageGlobalId(v string) *CreateFpgaImageOutput { - s.FpgaImageGlobalId = &v - return s -} - -// SetFpgaImageId sets the FpgaImageId field's value. -func (s *CreateFpgaImageOutput) SetFpgaImageId(v string) *CreateFpgaImageOutput { - s.FpgaImageId = &v - return s -} - // Contains the parameters for CreateImage. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateImageRequest type CreateImageInput struct { @@ -21005,42 +19385,6 @@ func (s *CreateImageInput) Validate() error { return nil } -// SetBlockDeviceMappings sets the BlockDeviceMappings field's value. -func (s *CreateImageInput) SetBlockDeviceMappings(v []BlockDeviceMapping) *CreateImageInput { - s.BlockDeviceMappings = v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateImageInput) SetDescription(v string) *CreateImageInput { - s.Description = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateImageInput) SetDryRun(v bool) *CreateImageInput { - s.DryRun = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *CreateImageInput) SetInstanceId(v string) *CreateImageInput { - s.InstanceId = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateImageInput) SetName(v string) *CreateImageInput { - s.Name = &v - return s -} - -// SetNoReboot sets the NoReboot field's value. -func (s *CreateImageInput) SetNoReboot(v bool) *CreateImageInput { - s.NoReboot = &v - return s -} - // Contains the output of CreateImage. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateImageResult type CreateImageOutput struct { @@ -21067,12 +19411,6 @@ func (s CreateImageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImageId sets the ImageId field's value. -func (s *CreateImageOutput) SetImageId(v string) *CreateImageOutput { - s.ImageId = &v - return s -} - // Contains the parameters for CreateInstanceExportTask. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceExportTaskRequest type CreateInstanceExportTaskInput struct { @@ -21118,30 +19456,6 @@ func (s *CreateInstanceExportTaskInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateInstanceExportTaskInput) SetDescription(v string) *CreateInstanceExportTaskInput { - s.Description = &v - return s -} - -// SetExportToS3Task sets the ExportToS3Task field's value. -func (s *CreateInstanceExportTaskInput) SetExportToS3Task(v *ExportToS3TaskSpecification) *CreateInstanceExportTaskInput { - s.ExportToS3Task = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *CreateInstanceExportTaskInput) SetInstanceId(v string) *CreateInstanceExportTaskInput { - s.InstanceId = &v - return s -} - -// SetTargetEnvironment sets the TargetEnvironment field's value. -func (s *CreateInstanceExportTaskInput) SetTargetEnvironment(v ExportEnvironment) *CreateInstanceExportTaskInput { - s.TargetEnvironment = v - return s -} - // Contains the output for CreateInstanceExportTask. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceExportTaskResult type CreateInstanceExportTaskOutput struct { @@ -21168,12 +19482,6 @@ func (s CreateInstanceExportTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExportTask sets the ExportTask field's value. -func (s *CreateInstanceExportTaskOutput) SetExportTask(v *ExportTask) *CreateInstanceExportTaskOutput { - s.ExportTask = v - return s -} - // Contains the parameters for CreateInternetGateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInternetGatewayRequest type CreateInternetGatewayInput struct { @@ -21196,12 +19504,6 @@ func (s CreateInternetGatewayInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *CreateInternetGatewayInput) SetDryRun(v bool) *CreateInternetGatewayInput { - s.DryRun = &v - return s -} - // Contains the output of CreateInternetGateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInternetGatewayResult type CreateInternetGatewayOutput struct { @@ -21228,12 +19530,6 @@ func (s CreateInternetGatewayOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInternetGateway sets the InternetGateway field's value. -func (s *CreateInternetGatewayOutput) SetInternetGateway(v *InternetGateway) *CreateInternetGatewayOutput { - s.InternetGateway = v - return s -} - // Contains the parameters for CreateKeyPair. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateKeyPairRequest type CreateKeyPairInput struct { @@ -21277,18 +19573,6 @@ func (s *CreateKeyPairInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *CreateKeyPairInput) SetDryRun(v bool) *CreateKeyPairInput { - s.DryRun = &v - return s -} - -// SetKeyName sets the KeyName field's value. -func (s *CreateKeyPairInput) SetKeyName(v string) *CreateKeyPairInput { - s.KeyName = &v - return s -} - // Describes a key pair. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/KeyPair type CreateKeyPairOutput struct { @@ -21321,24 +19605,6 @@ func (s CreateKeyPairOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetKeyFingerprint sets the KeyFingerprint field's value. -func (s *CreateKeyPairOutput) SetKeyFingerprint(v string) *CreateKeyPairOutput { - s.KeyFingerprint = &v - return s -} - -// SetKeyMaterial sets the KeyMaterial field's value. -func (s *CreateKeyPairOutput) SetKeyMaterial(v string) *CreateKeyPairOutput { - s.KeyMaterial = &v - return s -} - -// SetKeyName sets the KeyName field's value. -func (s *CreateKeyPairOutput) SetKeyName(v string) *CreateKeyPairOutput { - s.KeyName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateRequest type CreateLaunchTemplateInput struct { _ struct{} `type:"structure"` @@ -21403,36 +19669,6 @@ func (s *CreateLaunchTemplateInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *CreateLaunchTemplateInput) SetClientToken(v string) *CreateLaunchTemplateInput { - s.ClientToken = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateLaunchTemplateInput) SetDryRun(v bool) *CreateLaunchTemplateInput { - s.DryRun = &v - return s -} - -// SetLaunchTemplateData sets the LaunchTemplateData field's value. -func (s *CreateLaunchTemplateInput) SetLaunchTemplateData(v *RequestLaunchTemplateData) *CreateLaunchTemplateInput { - s.LaunchTemplateData = v - return s -} - -// SetLaunchTemplateName sets the LaunchTemplateName field's value. -func (s *CreateLaunchTemplateInput) SetLaunchTemplateName(v string) *CreateLaunchTemplateInput { - s.LaunchTemplateName = &v - return s -} - -// SetVersionDescription sets the VersionDescription field's value. -func (s *CreateLaunchTemplateInput) SetVersionDescription(v string) *CreateLaunchTemplateInput { - s.VersionDescription = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateResult type CreateLaunchTemplateOutput struct { _ struct{} `type:"structure"` @@ -21458,12 +19694,6 @@ func (s CreateLaunchTemplateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLaunchTemplate sets the LaunchTemplate field's value. -func (s *CreateLaunchTemplateOutput) SetLaunchTemplate(v *LaunchTemplate) *CreateLaunchTemplateOutput { - s.LaunchTemplate = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateVersionRequest type CreateLaunchTemplateVersionInput struct { _ struct{} `type:"structure"` @@ -21532,48 +19762,6 @@ func (s *CreateLaunchTemplateVersionInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *CreateLaunchTemplateVersionInput) SetClientToken(v string) *CreateLaunchTemplateVersionInput { - s.ClientToken = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateLaunchTemplateVersionInput) SetDryRun(v bool) *CreateLaunchTemplateVersionInput { - s.DryRun = &v - return s -} - -// SetLaunchTemplateData sets the LaunchTemplateData field's value. -func (s *CreateLaunchTemplateVersionInput) SetLaunchTemplateData(v *RequestLaunchTemplateData) *CreateLaunchTemplateVersionInput { - s.LaunchTemplateData = v - return s -} - -// SetLaunchTemplateId sets the LaunchTemplateId field's value. -func (s *CreateLaunchTemplateVersionInput) SetLaunchTemplateId(v string) *CreateLaunchTemplateVersionInput { - s.LaunchTemplateId = &v - return s -} - -// SetLaunchTemplateName sets the LaunchTemplateName field's value. -func (s *CreateLaunchTemplateVersionInput) SetLaunchTemplateName(v string) *CreateLaunchTemplateVersionInput { - s.LaunchTemplateName = &v - return s -} - -// SetSourceVersion sets the SourceVersion field's value. -func (s *CreateLaunchTemplateVersionInput) SetSourceVersion(v string) *CreateLaunchTemplateVersionInput { - s.SourceVersion = &v - return s -} - -// SetVersionDescription sets the VersionDescription field's value. -func (s *CreateLaunchTemplateVersionInput) SetVersionDescription(v string) *CreateLaunchTemplateVersionInput { - s.VersionDescription = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateVersionResult type CreateLaunchTemplateVersionOutput struct { _ struct{} `type:"structure"` @@ -21599,12 +19787,6 @@ func (s CreateLaunchTemplateVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLaunchTemplateVersion sets the LaunchTemplateVersion field's value. -func (s *CreateLaunchTemplateVersionOutput) SetLaunchTemplateVersion(v *LaunchTemplateVersion) *CreateLaunchTemplateVersionOutput { - s.LaunchTemplateVersion = v - return s -} - // Contains the parameters for CreateNatGateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNatGatewayRequest type CreateNatGatewayInput struct { @@ -21657,24 +19839,6 @@ func (s *CreateNatGatewayInput) Validate() error { return nil } -// SetAllocationId sets the AllocationId field's value. -func (s *CreateNatGatewayInput) SetAllocationId(v string) *CreateNatGatewayInput { - s.AllocationId = &v - return s -} - -// SetClientToken sets the ClientToken field's value. -func (s *CreateNatGatewayInput) SetClientToken(v string) *CreateNatGatewayInput { - s.ClientToken = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *CreateNatGatewayInput) SetSubnetId(v string) *CreateNatGatewayInput { - s.SubnetId = &v - return s -} - // Contains the output of CreateNatGateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNatGatewayResult type CreateNatGatewayOutput struct { @@ -21705,18 +19869,6 @@ func (s CreateNatGatewayOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClientToken sets the ClientToken field's value. -func (s *CreateNatGatewayOutput) SetClientToken(v string) *CreateNatGatewayOutput { - s.ClientToken = &v - return s -} - -// SetNatGateway sets the NatGateway field's value. -func (s *CreateNatGatewayOutput) SetNatGateway(v *NatGateway) *CreateNatGatewayOutput { - s.NatGateway = v - return s -} - // Contains the parameters for CreateNetworkAclEntry. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclEntryRequest type CreateNetworkAclEntryInput struct { @@ -21817,66 +19969,6 @@ func (s *CreateNetworkAclEntryInput) Validate() error { return nil } -// SetCidrBlock sets the CidrBlock field's value. -func (s *CreateNetworkAclEntryInput) SetCidrBlock(v string) *CreateNetworkAclEntryInput { - s.CidrBlock = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateNetworkAclEntryInput) SetDryRun(v bool) *CreateNetworkAclEntryInput { - s.DryRun = &v - return s -} - -// SetEgress sets the Egress field's value. -func (s *CreateNetworkAclEntryInput) SetEgress(v bool) *CreateNetworkAclEntryInput { - s.Egress = &v - return s -} - -// SetIcmpTypeCode sets the IcmpTypeCode field's value. -func (s *CreateNetworkAclEntryInput) SetIcmpTypeCode(v *IcmpTypeCode) *CreateNetworkAclEntryInput { - s.IcmpTypeCode = v - return s -} - -// SetIpv6CidrBlock sets the Ipv6CidrBlock field's value. -func (s *CreateNetworkAclEntryInput) SetIpv6CidrBlock(v string) *CreateNetworkAclEntryInput { - s.Ipv6CidrBlock = &v - return s -} - -// SetNetworkAclId sets the NetworkAclId field's value. -func (s *CreateNetworkAclEntryInput) SetNetworkAclId(v string) *CreateNetworkAclEntryInput { - s.NetworkAclId = &v - return s -} - -// SetPortRange sets the PortRange field's value. -func (s *CreateNetworkAclEntryInput) SetPortRange(v *PortRange) *CreateNetworkAclEntryInput { - s.PortRange = v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *CreateNetworkAclEntryInput) SetProtocol(v string) *CreateNetworkAclEntryInput { - s.Protocol = &v - return s -} - -// SetRuleAction sets the RuleAction field's value. -func (s *CreateNetworkAclEntryInput) SetRuleAction(v RuleAction) *CreateNetworkAclEntryInput { - s.RuleAction = v - return s -} - -// SetRuleNumber sets the RuleNumber field's value. -func (s *CreateNetworkAclEntryInput) SetRuleNumber(v int64) *CreateNetworkAclEntryInput { - s.RuleNumber = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclEntryOutput type CreateNetworkAclEntryOutput struct { _ struct{} `type:"structure"` @@ -21940,18 +20032,6 @@ func (s *CreateNetworkAclInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *CreateNetworkAclInput) SetDryRun(v bool) *CreateNetworkAclInput { - s.DryRun = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *CreateNetworkAclInput) SetVpcId(v string) *CreateNetworkAclInput { - s.VpcId = &v - return s -} - // Contains the output of CreateNetworkAcl. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclResult type CreateNetworkAclOutput struct { @@ -21978,12 +20058,6 @@ func (s CreateNetworkAclOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNetworkAcl sets the NetworkAcl field's value. -func (s *CreateNetworkAclOutput) SetNetworkAcl(v *NetworkAcl) *CreateNetworkAclOutput { - s.NetworkAcl = v - return s -} - // Contains the parameters for CreateNetworkInterface. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfaceRequest type CreateNetworkInterfaceInput struct { @@ -22070,60 +20144,6 @@ func (s *CreateNetworkInterfaceInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateNetworkInterfaceInput) SetDescription(v string) *CreateNetworkInterfaceInput { - s.Description = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateNetworkInterfaceInput) SetDryRun(v bool) *CreateNetworkInterfaceInput { - s.DryRun = &v - return s -} - -// SetGroups sets the Groups field's value. -func (s *CreateNetworkInterfaceInput) SetGroups(v []string) *CreateNetworkInterfaceInput { - s.Groups = v - return s -} - -// SetIpv6AddressCount sets the Ipv6AddressCount field's value. -func (s *CreateNetworkInterfaceInput) SetIpv6AddressCount(v int64) *CreateNetworkInterfaceInput { - s.Ipv6AddressCount = &v - return s -} - -// SetIpv6Addresses sets the Ipv6Addresses field's value. -func (s *CreateNetworkInterfaceInput) SetIpv6Addresses(v []InstanceIpv6Address) *CreateNetworkInterfaceInput { - s.Ipv6Addresses = v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *CreateNetworkInterfaceInput) SetPrivateIpAddress(v string) *CreateNetworkInterfaceInput { - s.PrivateIpAddress = &v - return s -} - -// SetPrivateIpAddresses sets the PrivateIpAddresses field's value. -func (s *CreateNetworkInterfaceInput) SetPrivateIpAddresses(v []PrivateIpAddressSpecification) *CreateNetworkInterfaceInput { - s.PrivateIpAddresses = v - return s -} - -// SetSecondaryPrivateIpAddressCount sets the SecondaryPrivateIpAddressCount field's value. -func (s *CreateNetworkInterfaceInput) SetSecondaryPrivateIpAddressCount(v int64) *CreateNetworkInterfaceInput { - s.SecondaryPrivateIpAddressCount = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *CreateNetworkInterfaceInput) SetSubnetId(v string) *CreateNetworkInterfaceInput { - s.SubnetId = &v - return s -} - // Contains the output of CreateNetworkInterface. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfaceResult type CreateNetworkInterfaceOutput struct { @@ -22150,12 +20170,6 @@ func (s CreateNetworkInterfaceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNetworkInterface sets the NetworkInterface field's value. -func (s *CreateNetworkInterfaceOutput) SetNetworkInterface(v *NetworkInterface) *CreateNetworkInterfaceOutput { - s.NetworkInterface = v - return s -} - // Contains the parameters for CreateNetworkInterfacePermission. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfacePermissionRequest type CreateNetworkInterfacePermissionInput struct { @@ -22211,36 +20225,6 @@ func (s *CreateNetworkInterfacePermissionInput) Validate() error { return nil } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *CreateNetworkInterfacePermissionInput) SetAwsAccountId(v string) *CreateNetworkInterfacePermissionInput { - s.AwsAccountId = &v - return s -} - -// SetAwsService sets the AwsService field's value. -func (s *CreateNetworkInterfacePermissionInput) SetAwsService(v string) *CreateNetworkInterfacePermissionInput { - s.AwsService = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateNetworkInterfacePermissionInput) SetDryRun(v bool) *CreateNetworkInterfacePermissionInput { - s.DryRun = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *CreateNetworkInterfacePermissionInput) SetNetworkInterfaceId(v string) *CreateNetworkInterfacePermissionInput { - s.NetworkInterfaceId = &v - return s -} - -// SetPermission sets the Permission field's value. -func (s *CreateNetworkInterfacePermissionInput) SetPermission(v InterfacePermissionType) *CreateNetworkInterfacePermissionInput { - s.Permission = v - return s -} - // Contains the output of CreateNetworkInterfacePermission. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfacePermissionResult type CreateNetworkInterfacePermissionOutput struct { @@ -22267,12 +20251,6 @@ func (s CreateNetworkInterfacePermissionOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetInterfacePermission sets the InterfacePermission field's value. -func (s *CreateNetworkInterfacePermissionOutput) SetInterfacePermission(v *NetworkInterfacePermission) *CreateNetworkInterfacePermissionOutput { - s.InterfacePermission = v - return s -} - // Contains the parameters for CreatePlacementGroup. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroupRequest type CreatePlacementGroupInput struct { @@ -22325,24 +20303,6 @@ func (s *CreatePlacementGroupInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *CreatePlacementGroupInput) SetDryRun(v bool) *CreatePlacementGroupInput { - s.DryRun = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *CreatePlacementGroupInput) SetGroupName(v string) *CreatePlacementGroupInput { - s.GroupName = &v - return s -} - -// SetStrategy sets the Strategy field's value. -func (s *CreatePlacementGroupInput) SetStrategy(v PlacementStrategy) *CreatePlacementGroupInput { - s.Strategy = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroupOutput type CreatePlacementGroupOutput struct { _ struct{} `type:"structure"` @@ -22433,30 +20393,6 @@ func (s *CreateReservedInstancesListingInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *CreateReservedInstancesListingInput) SetClientToken(v string) *CreateReservedInstancesListingInput { - s.ClientToken = &v - return s -} - -// SetInstanceCount sets the InstanceCount field's value. -func (s *CreateReservedInstancesListingInput) SetInstanceCount(v int64) *CreateReservedInstancesListingInput { - s.InstanceCount = &v - return s -} - -// SetPriceSchedules sets the PriceSchedules field's value. -func (s *CreateReservedInstancesListingInput) SetPriceSchedules(v []PriceScheduleSpecification) *CreateReservedInstancesListingInput { - s.PriceSchedules = v - return s -} - -// SetReservedInstancesId sets the ReservedInstancesId field's value. -func (s *CreateReservedInstancesListingInput) SetReservedInstancesId(v string) *CreateReservedInstancesListingInput { - s.ReservedInstancesId = &v - return s -} - // Contains the output of CreateReservedInstancesListing. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateReservedInstancesListingResult type CreateReservedInstancesListingOutput struct { @@ -22483,12 +20419,6 @@ func (s CreateReservedInstancesListingOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetReservedInstancesListings sets the ReservedInstancesListings field's value. -func (s *CreateReservedInstancesListingOutput) SetReservedInstancesListings(v []ReservedInstancesListing) *CreateReservedInstancesListingOutput { - s.ReservedInstancesListings = v - return s -} - // Contains the parameters for CreateRoute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteRequest type CreateRouteInput struct { @@ -22558,66 +20488,6 @@ func (s *CreateRouteInput) Validate() error { return nil } -// SetDestinationCidrBlock sets the DestinationCidrBlock field's value. -func (s *CreateRouteInput) SetDestinationCidrBlock(v string) *CreateRouteInput { - s.DestinationCidrBlock = &v - return s -} - -// SetDestinationIpv6CidrBlock sets the DestinationIpv6CidrBlock field's value. -func (s *CreateRouteInput) SetDestinationIpv6CidrBlock(v string) *CreateRouteInput { - s.DestinationIpv6CidrBlock = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateRouteInput) SetDryRun(v bool) *CreateRouteInput { - s.DryRun = &v - return s -} - -// SetEgressOnlyInternetGatewayId sets the EgressOnlyInternetGatewayId field's value. -func (s *CreateRouteInput) SetEgressOnlyInternetGatewayId(v string) *CreateRouteInput { - s.EgressOnlyInternetGatewayId = &v - return s -} - -// SetGatewayId sets the GatewayId field's value. -func (s *CreateRouteInput) SetGatewayId(v string) *CreateRouteInput { - s.GatewayId = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *CreateRouteInput) SetInstanceId(v string) *CreateRouteInput { - s.InstanceId = &v - return s -} - -// SetNatGatewayId sets the NatGatewayId field's value. -func (s *CreateRouteInput) SetNatGatewayId(v string) *CreateRouteInput { - s.NatGatewayId = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *CreateRouteInput) SetNetworkInterfaceId(v string) *CreateRouteInput { - s.NetworkInterfaceId = &v - return s -} - -// SetRouteTableId sets the RouteTableId field's value. -func (s *CreateRouteInput) SetRouteTableId(v string) *CreateRouteInput { - s.RouteTableId = &v - return s -} - -// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value. -func (s *CreateRouteInput) SetVpcPeeringConnectionId(v string) *CreateRouteInput { - s.VpcPeeringConnectionId = &v - return s -} - // Contains the output of CreateRoute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteResult type CreateRouteOutput struct { @@ -22644,12 +20514,6 @@ func (s CreateRouteOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReturn sets the Return field's value. -func (s *CreateRouteOutput) SetReturn(v bool) *CreateRouteOutput { - s.Return = &v - return s -} - // Contains the parameters for CreateRouteTable. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTableRequest type CreateRouteTableInput struct { @@ -22691,18 +20555,6 @@ func (s *CreateRouteTableInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *CreateRouteTableInput) SetDryRun(v bool) *CreateRouteTableInput { - s.DryRun = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *CreateRouteTableInput) SetVpcId(v string) *CreateRouteTableInput { - s.VpcId = &v - return s -} - // Contains the output of CreateRouteTable. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTableResult type CreateRouteTableOutput struct { @@ -22729,12 +20581,6 @@ func (s CreateRouteTableOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRouteTable sets the RouteTable field's value. -func (s *CreateRouteTableOutput) SetRouteTable(v *RouteTable) *CreateRouteTableOutput { - s.RouteTable = v - return s -} - // Contains the parameters for CreateSecurityGroup. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroupRequest type CreateSecurityGroupInput struct { @@ -22800,30 +20646,6 @@ func (s *CreateSecurityGroupInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateSecurityGroupInput) SetDescription(v string) *CreateSecurityGroupInput { - s.Description = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateSecurityGroupInput) SetDryRun(v bool) *CreateSecurityGroupInput { - s.DryRun = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *CreateSecurityGroupInput) SetGroupName(v string) *CreateSecurityGroupInput { - s.GroupName = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *CreateSecurityGroupInput) SetVpcId(v string) *CreateSecurityGroupInput { - s.VpcId = &v - return s -} - // Contains the output of CreateSecurityGroup. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroupResult type CreateSecurityGroupOutput struct { @@ -22850,12 +20672,6 @@ func (s CreateSecurityGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroupId sets the GroupId field's value. -func (s *CreateSecurityGroupOutput) SetGroupId(v string) *CreateSecurityGroupOutput { - s.GroupId = &v - return s -} - // Contains the parameters for CreateSnapshot. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSnapshotRequest type CreateSnapshotInput struct { @@ -22900,24 +20716,6 @@ func (s *CreateSnapshotInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateSnapshotInput) SetDescription(v string) *CreateSnapshotInput { - s.Description = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateSnapshotInput) SetDryRun(v bool) *CreateSnapshotInput { - s.DryRun = &v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *CreateSnapshotInput) SetVolumeId(v string) *CreateSnapshotInput { - s.VolumeId = &v - return s -} - // Describes a snapshot. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Snapshot type CreateSnapshotOutput struct { @@ -22999,90 +20797,6 @@ func (s CreateSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDataEncryptionKeyId sets the DataEncryptionKeyId field's value. -func (s *CreateSnapshotOutput) SetDataEncryptionKeyId(v string) *CreateSnapshotOutput { - s.DataEncryptionKeyId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateSnapshotOutput) SetDescription(v string) *CreateSnapshotOutput { - s.Description = &v - return s -} - -// SetEncrypted sets the Encrypted field's value. -func (s *CreateSnapshotOutput) SetEncrypted(v bool) *CreateSnapshotOutput { - s.Encrypted = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CreateSnapshotOutput) SetKmsKeyId(v string) *CreateSnapshotOutput { - s.KmsKeyId = &v - return s -} - -// SetOwnerAlias sets the OwnerAlias field's value. -func (s *CreateSnapshotOutput) SetOwnerAlias(v string) *CreateSnapshotOutput { - s.OwnerAlias = &v - return s -} - -// SetOwnerId sets the OwnerId field's value. -func (s *CreateSnapshotOutput) SetOwnerId(v string) *CreateSnapshotOutput { - s.OwnerId = &v - return s -} - -// SetProgress sets the Progress field's value. -func (s *CreateSnapshotOutput) SetProgress(v string) *CreateSnapshotOutput { - s.Progress = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *CreateSnapshotOutput) SetSnapshotId(v string) *CreateSnapshotOutput { - s.SnapshotId = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *CreateSnapshotOutput) SetStartTime(v time.Time) *CreateSnapshotOutput { - s.StartTime = &v - return s -} - -// SetState sets the State field's value. -func (s *CreateSnapshotOutput) SetState(v SnapshotState) *CreateSnapshotOutput { - s.State = v - return s -} - -// SetStateMessage sets the StateMessage field's value. -func (s *CreateSnapshotOutput) SetStateMessage(v string) *CreateSnapshotOutput { - s.StateMessage = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateSnapshotOutput) SetTags(v []Tag) *CreateSnapshotOutput { - s.Tags = v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *CreateSnapshotOutput) SetVolumeId(v string) *CreateSnapshotOutput { - s.VolumeId = &v - return s -} - -// SetVolumeSize sets the VolumeSize field's value. -func (s *CreateSnapshotOutput) SetVolumeSize(v int64) *CreateSnapshotOutput { - s.VolumeSize = &v - return s -} - // Contains the parameters for CreateSpotDatafeedSubscription. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSpotDatafeedSubscriptionRequest type CreateSpotDatafeedSubscriptionInput struct { @@ -23127,24 +20841,6 @@ func (s *CreateSpotDatafeedSubscriptionInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *CreateSpotDatafeedSubscriptionInput) SetBucket(v string) *CreateSpotDatafeedSubscriptionInput { - s.Bucket = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateSpotDatafeedSubscriptionInput) SetDryRun(v bool) *CreateSpotDatafeedSubscriptionInput { - s.DryRun = &v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *CreateSpotDatafeedSubscriptionInput) SetPrefix(v string) *CreateSpotDatafeedSubscriptionInput { - s.Prefix = &v - return s -} - // Contains the output of CreateSpotDatafeedSubscription. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSpotDatafeedSubscriptionResult type CreateSpotDatafeedSubscriptionOutput struct { @@ -23171,12 +20867,6 @@ func (s CreateSpotDatafeedSubscriptionOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetSpotDatafeedSubscription sets the SpotDatafeedSubscription field's value. -func (s *CreateSpotDatafeedSubscriptionOutput) SetSpotDatafeedSubscription(v *SpotDatafeedSubscription) *CreateSpotDatafeedSubscriptionOutput { - s.SpotDatafeedSubscription = v - return s -} - // Contains the parameters for CreateSubnet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnetRequest type CreateSubnetInput struct { @@ -23237,36 +20927,6 @@ func (s *CreateSubnetInput) Validate() error { return nil } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *CreateSubnetInput) SetAvailabilityZone(v string) *CreateSubnetInput { - s.AvailabilityZone = &v - return s -} - -// SetCidrBlock sets the CidrBlock field's value. -func (s *CreateSubnetInput) SetCidrBlock(v string) *CreateSubnetInput { - s.CidrBlock = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateSubnetInput) SetDryRun(v bool) *CreateSubnetInput { - s.DryRun = &v - return s -} - -// SetIpv6CidrBlock sets the Ipv6CidrBlock field's value. -func (s *CreateSubnetInput) SetIpv6CidrBlock(v string) *CreateSubnetInput { - s.Ipv6CidrBlock = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *CreateSubnetInput) SetVpcId(v string) *CreateSubnetInput { - s.VpcId = &v - return s -} - // Contains the output of CreateSubnet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnetResult type CreateSubnetOutput struct { @@ -23293,12 +20953,6 @@ func (s CreateSubnetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSubnet sets the Subnet field's value. -func (s *CreateSubnetOutput) SetSubnet(v *Subnet) *CreateSubnetOutput { - s.Subnet = v - return s -} - // Contains the parameters for CreateTags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTagsRequest type CreateTagsInput struct { @@ -23351,24 +21005,6 @@ func (s *CreateTagsInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *CreateTagsInput) SetDryRun(v bool) *CreateTagsInput { - s.DryRun = &v - return s -} - -// SetResources sets the Resources field's value. -func (s *CreateTagsInput) SetResources(v []string) *CreateTagsInput { - s.Resources = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateTagsInput) SetTags(v []Tag) *CreateTagsInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTagsOutput type CreateTagsOutput struct { _ struct{} `type:"structure"` @@ -23481,60 +21117,6 @@ func (s *CreateVolumeInput) Validate() error { return nil } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *CreateVolumeInput) SetAvailabilityZone(v string) *CreateVolumeInput { - s.AvailabilityZone = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateVolumeInput) SetDryRun(v bool) *CreateVolumeInput { - s.DryRun = &v - return s -} - -// SetEncrypted sets the Encrypted field's value. -func (s *CreateVolumeInput) SetEncrypted(v bool) *CreateVolumeInput { - s.Encrypted = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *CreateVolumeInput) SetIops(v int64) *CreateVolumeInput { - s.Iops = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CreateVolumeInput) SetKmsKeyId(v string) *CreateVolumeInput { - s.KmsKeyId = &v - return s -} - -// SetSize sets the Size field's value. -func (s *CreateVolumeInput) SetSize(v int64) *CreateVolumeInput { - s.Size = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *CreateVolumeInput) SetSnapshotId(v string) *CreateVolumeInput { - s.SnapshotId = &v - return s -} - -// SetTagSpecifications sets the TagSpecifications field's value. -func (s *CreateVolumeInput) SetTagSpecifications(v []TagSpecification) *CreateVolumeInput { - s.TagSpecifications = v - return s -} - -// SetVolumeType sets the VolumeType field's value. -func (s *CreateVolumeInput) SetVolumeType(v VolumeType) *CreateVolumeInput { - s.VolumeType = v - return s -} - // Describes a volume. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Volume type CreateVolumeOutput struct { @@ -23609,78 +21191,6 @@ func (s CreateVolumeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttachments sets the Attachments field's value. -func (s *CreateVolumeOutput) SetAttachments(v []DetachVolumeOutput) *CreateVolumeOutput { - s.Attachments = v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *CreateVolumeOutput) SetAvailabilityZone(v string) *CreateVolumeOutput { - s.AvailabilityZone = &v - return s -} - -// SetCreateTime sets the CreateTime field's value. -func (s *CreateVolumeOutput) SetCreateTime(v time.Time) *CreateVolumeOutput { - s.CreateTime = &v - return s -} - -// SetEncrypted sets the Encrypted field's value. -func (s *CreateVolumeOutput) SetEncrypted(v bool) *CreateVolumeOutput { - s.Encrypted = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *CreateVolumeOutput) SetIops(v int64) *CreateVolumeOutput { - s.Iops = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CreateVolumeOutput) SetKmsKeyId(v string) *CreateVolumeOutput { - s.KmsKeyId = &v - return s -} - -// SetSize sets the Size field's value. -func (s *CreateVolumeOutput) SetSize(v int64) *CreateVolumeOutput { - s.Size = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *CreateVolumeOutput) SetSnapshotId(v string) *CreateVolumeOutput { - s.SnapshotId = &v - return s -} - -// SetState sets the State field's value. -func (s *CreateVolumeOutput) SetState(v VolumeState) *CreateVolumeOutput { - s.State = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateVolumeOutput) SetTags(v []Tag) *CreateVolumeOutput { - s.Tags = v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *CreateVolumeOutput) SetVolumeId(v string) *CreateVolumeOutput { - s.VolumeId = &v - return s -} - -// SetVolumeType sets the VolumeType field's value. -func (s *CreateVolumeOutput) SetVolumeType(v VolumeType) *CreateVolumeOutput { - s.VolumeType = v - return s -} - // Describes the user or group to be added or removed from the permissions for // a volume. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolumePermission @@ -23706,18 +21216,6 @@ func (s CreateVolumePermission) GoString() string { return s.String() } -// SetGroup sets the Group field's value. -func (s *CreateVolumePermission) SetGroup(v PermissionGroup) *CreateVolumePermission { - s.Group = v - return s -} - -// SetUserId sets the UserId field's value. -func (s *CreateVolumePermission) SetUserId(v string) *CreateVolumePermission { - s.UserId = &v - return s -} - // Describes modifications to the permissions for a volume. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolumePermissionModifications type CreateVolumePermissionModifications struct { @@ -23742,18 +21240,6 @@ func (s CreateVolumePermissionModifications) GoString() string { return s.String() } -// SetAdd sets the Add field's value. -func (s *CreateVolumePermissionModifications) SetAdd(v []CreateVolumePermission) *CreateVolumePermissionModifications { - s.Add = v - return s -} - -// SetRemove sets the Remove field's value. -func (s *CreateVolumePermissionModifications) SetRemove(v []CreateVolumePermission) *CreateVolumePermissionModifications { - s.Remove = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointConnectionNotificationRequest type CreateVpcEndpointConnectionNotificationInput struct { _ struct{} `type:"structure"` @@ -23814,42 +21300,6 @@ func (s *CreateVpcEndpointConnectionNotificationInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *CreateVpcEndpointConnectionNotificationInput) SetClientToken(v string) *CreateVpcEndpointConnectionNotificationInput { - s.ClientToken = &v - return s -} - -// SetConnectionEvents sets the ConnectionEvents field's value. -func (s *CreateVpcEndpointConnectionNotificationInput) SetConnectionEvents(v []string) *CreateVpcEndpointConnectionNotificationInput { - s.ConnectionEvents = v - return s -} - -// SetConnectionNotificationArn sets the ConnectionNotificationArn field's value. -func (s *CreateVpcEndpointConnectionNotificationInput) SetConnectionNotificationArn(v string) *CreateVpcEndpointConnectionNotificationInput { - s.ConnectionNotificationArn = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateVpcEndpointConnectionNotificationInput) SetDryRun(v bool) *CreateVpcEndpointConnectionNotificationInput { - s.DryRun = &v - return s -} - -// SetServiceId sets the ServiceId field's value. -func (s *CreateVpcEndpointConnectionNotificationInput) SetServiceId(v string) *CreateVpcEndpointConnectionNotificationInput { - s.ServiceId = &v - return s -} - -// SetVpcEndpointId sets the VpcEndpointId field's value. -func (s *CreateVpcEndpointConnectionNotificationInput) SetVpcEndpointId(v string) *CreateVpcEndpointConnectionNotificationInput { - s.VpcEndpointId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointConnectionNotificationResult type CreateVpcEndpointConnectionNotificationOutput struct { _ struct{} `type:"structure"` @@ -23879,18 +21329,6 @@ func (s CreateVpcEndpointConnectionNotificationOutput) SDKResponseMetadata() aws return s.responseMetadata } -// SetClientToken sets the ClientToken field's value. -func (s *CreateVpcEndpointConnectionNotificationOutput) SetClientToken(v string) *CreateVpcEndpointConnectionNotificationOutput { - s.ClientToken = &v - return s -} - -// SetConnectionNotification sets the ConnectionNotification field's value. -func (s *CreateVpcEndpointConnectionNotificationOutput) SetConnectionNotification(v *ConnectionNotification) *CreateVpcEndpointConnectionNotificationOutput { - s.ConnectionNotification = v - return s -} - // Contains the parameters for CreateVpcEndpoint. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointRequest type CreateVpcEndpointInput struct { @@ -23983,66 +21421,6 @@ func (s *CreateVpcEndpointInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *CreateVpcEndpointInput) SetClientToken(v string) *CreateVpcEndpointInput { - s.ClientToken = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateVpcEndpointInput) SetDryRun(v bool) *CreateVpcEndpointInput { - s.DryRun = &v - return s -} - -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *CreateVpcEndpointInput) SetPolicyDocument(v string) *CreateVpcEndpointInput { - s.PolicyDocument = &v - return s -} - -// SetPrivateDnsEnabled sets the PrivateDnsEnabled field's value. -func (s *CreateVpcEndpointInput) SetPrivateDnsEnabled(v bool) *CreateVpcEndpointInput { - s.PrivateDnsEnabled = &v - return s -} - -// SetRouteTableIds sets the RouteTableIds field's value. -func (s *CreateVpcEndpointInput) SetRouteTableIds(v []string) *CreateVpcEndpointInput { - s.RouteTableIds = v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *CreateVpcEndpointInput) SetSecurityGroupIds(v []string) *CreateVpcEndpointInput { - s.SecurityGroupIds = v - return s -} - -// SetServiceName sets the ServiceName field's value. -func (s *CreateVpcEndpointInput) SetServiceName(v string) *CreateVpcEndpointInput { - s.ServiceName = &v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *CreateVpcEndpointInput) SetSubnetIds(v []string) *CreateVpcEndpointInput { - s.SubnetIds = v - return s -} - -// SetVpcEndpointType sets the VpcEndpointType field's value. -func (s *CreateVpcEndpointInput) SetVpcEndpointType(v VpcEndpointType) *CreateVpcEndpointInput { - s.VpcEndpointType = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *CreateVpcEndpointInput) SetVpcId(v string) *CreateVpcEndpointInput { - s.VpcId = &v - return s -} - // Contains the output of CreateVpcEndpoint. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointResult type CreateVpcEndpointOutput struct { @@ -24073,18 +21451,6 @@ func (s CreateVpcEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClientToken sets the ClientToken field's value. -func (s *CreateVpcEndpointOutput) SetClientToken(v string) *CreateVpcEndpointOutput { - s.ClientToken = &v - return s -} - -// SetVpcEndpoint sets the VpcEndpoint field's value. -func (s *CreateVpcEndpointOutput) SetVpcEndpoint(v *VpcEndpoint) *CreateVpcEndpointOutput { - s.VpcEndpoint = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointServiceConfigurationRequest type CreateVpcEndpointServiceConfigurationInput struct { _ struct{} `type:"structure"` @@ -24134,30 +21500,6 @@ func (s *CreateVpcEndpointServiceConfigurationInput) Validate() error { return nil } -// SetAcceptanceRequired sets the AcceptanceRequired field's value. -func (s *CreateVpcEndpointServiceConfigurationInput) SetAcceptanceRequired(v bool) *CreateVpcEndpointServiceConfigurationInput { - s.AcceptanceRequired = &v - return s -} - -// SetClientToken sets the ClientToken field's value. -func (s *CreateVpcEndpointServiceConfigurationInput) SetClientToken(v string) *CreateVpcEndpointServiceConfigurationInput { - s.ClientToken = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateVpcEndpointServiceConfigurationInput) SetDryRun(v bool) *CreateVpcEndpointServiceConfigurationInput { - s.DryRun = &v - return s -} - -// SetNetworkLoadBalancerArns sets the NetworkLoadBalancerArns field's value. -func (s *CreateVpcEndpointServiceConfigurationInput) SetNetworkLoadBalancerArns(v []string) *CreateVpcEndpointServiceConfigurationInput { - s.NetworkLoadBalancerArns = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointServiceConfigurationResult type CreateVpcEndpointServiceConfigurationOutput struct { _ struct{} `type:"structure"` @@ -24187,18 +21529,6 @@ func (s CreateVpcEndpointServiceConfigurationOutput) SDKResponseMetadata() aws.R return s.responseMetadata } -// SetClientToken sets the ClientToken field's value. -func (s *CreateVpcEndpointServiceConfigurationOutput) SetClientToken(v string) *CreateVpcEndpointServiceConfigurationOutput { - s.ClientToken = &v - return s -} - -// SetServiceConfiguration sets the ServiceConfiguration field's value. -func (s *CreateVpcEndpointServiceConfigurationOutput) SetServiceConfiguration(v *ServiceConfiguration) *CreateVpcEndpointServiceConfigurationOutput { - s.ServiceConfiguration = v - return s -} - // Contains the parameters for CreateVpc. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcRequest type CreateVpcInput struct { @@ -24257,30 +21587,6 @@ func (s *CreateVpcInput) Validate() error { return nil } -// SetAmazonProvidedIpv6CidrBlock sets the AmazonProvidedIpv6CidrBlock field's value. -func (s *CreateVpcInput) SetAmazonProvidedIpv6CidrBlock(v bool) *CreateVpcInput { - s.AmazonProvidedIpv6CidrBlock = &v - return s -} - -// SetCidrBlock sets the CidrBlock field's value. -func (s *CreateVpcInput) SetCidrBlock(v string) *CreateVpcInput { - s.CidrBlock = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateVpcInput) SetDryRun(v bool) *CreateVpcInput { - s.DryRun = &v - return s -} - -// SetInstanceTenancy sets the InstanceTenancy field's value. -func (s *CreateVpcInput) SetInstanceTenancy(v Tenancy) *CreateVpcInput { - s.InstanceTenancy = v - return s -} - // Contains the output of CreateVpc. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcResult type CreateVpcOutput struct { @@ -24307,12 +21613,6 @@ func (s CreateVpcOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVpc sets the Vpc field's value. -func (s *CreateVpcOutput) SetVpc(v *Vpc) *CreateVpcOutput { - s.Vpc = v - return s -} - // Contains the parameters for CreateVpcPeeringConnection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcPeeringConnectionRequest type CreateVpcPeeringConnectionInput struct { @@ -24353,36 +21653,6 @@ func (s CreateVpcPeeringConnectionInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *CreateVpcPeeringConnectionInput) SetDryRun(v bool) *CreateVpcPeeringConnectionInput { - s.DryRun = &v - return s -} - -// SetPeerOwnerId sets the PeerOwnerId field's value. -func (s *CreateVpcPeeringConnectionInput) SetPeerOwnerId(v string) *CreateVpcPeeringConnectionInput { - s.PeerOwnerId = &v - return s -} - -// SetPeerRegion sets the PeerRegion field's value. -func (s *CreateVpcPeeringConnectionInput) SetPeerRegion(v string) *CreateVpcPeeringConnectionInput { - s.PeerRegion = &v - return s -} - -// SetPeerVpcId sets the PeerVpcId field's value. -func (s *CreateVpcPeeringConnectionInput) SetPeerVpcId(v string) *CreateVpcPeeringConnectionInput { - s.PeerVpcId = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *CreateVpcPeeringConnectionInput) SetVpcId(v string) *CreateVpcPeeringConnectionInput { - s.VpcId = &v - return s -} - // Contains the output of CreateVpcPeeringConnection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcPeeringConnectionResult type CreateVpcPeeringConnectionOutput struct { @@ -24409,12 +21679,6 @@ func (s CreateVpcPeeringConnectionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVpcPeeringConnection sets the VpcPeeringConnection field's value. -func (s *CreateVpcPeeringConnectionOutput) SetVpcPeeringConnection(v *VpcPeeringConnection) *CreateVpcPeeringConnectionOutput { - s.VpcPeeringConnection = v - return s -} - // Contains the parameters for CreateVpnConnection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnectionRequest type CreateVpnConnectionInput struct { @@ -24477,36 +21741,6 @@ func (s *CreateVpnConnectionInput) Validate() error { return nil } -// SetCustomerGatewayId sets the CustomerGatewayId field's value. -func (s *CreateVpnConnectionInput) SetCustomerGatewayId(v string) *CreateVpnConnectionInput { - s.CustomerGatewayId = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateVpnConnectionInput) SetDryRun(v bool) *CreateVpnConnectionInput { - s.DryRun = &v - return s -} - -// SetOptions sets the Options field's value. -func (s *CreateVpnConnectionInput) SetOptions(v *VpnConnectionOptionsSpecification) *CreateVpnConnectionInput { - s.Options = v - return s -} - -// SetType sets the Type field's value. -func (s *CreateVpnConnectionInput) SetType(v string) *CreateVpnConnectionInput { - s.Type = &v - return s -} - -// SetVpnGatewayId sets the VpnGatewayId field's value. -func (s *CreateVpnConnectionInput) SetVpnGatewayId(v string) *CreateVpnConnectionInput { - s.VpnGatewayId = &v - return s -} - // Contains the output of CreateVpnConnection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnectionResult type CreateVpnConnectionOutput struct { @@ -24533,12 +21767,6 @@ func (s CreateVpnConnectionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVpnConnection sets the VpnConnection field's value. -func (s *CreateVpnConnectionOutput) SetVpnConnection(v *VpnConnection) *CreateVpnConnectionOutput { - s.VpnConnection = v - return s -} - // Contains the parameters for CreateVpnConnectionRoute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnectionRouteRequest type CreateVpnConnectionRouteInput struct { @@ -24583,18 +21811,6 @@ func (s *CreateVpnConnectionRouteInput) Validate() error { return nil } -// SetDestinationCidrBlock sets the DestinationCidrBlock field's value. -func (s *CreateVpnConnectionRouteInput) SetDestinationCidrBlock(v string) *CreateVpnConnectionRouteInput { - s.DestinationCidrBlock = &v - return s -} - -// SetVpnConnectionId sets the VpnConnectionId field's value. -func (s *CreateVpnConnectionRouteInput) SetVpnConnectionId(v string) *CreateVpnConnectionRouteInput { - s.VpnConnectionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnectionRouteOutput type CreateVpnConnectionRouteOutput struct { _ struct{} `type:"structure"` @@ -24667,30 +21883,6 @@ func (s *CreateVpnGatewayInput) Validate() error { return nil } -// SetAmazonSideAsn sets the AmazonSideAsn field's value. -func (s *CreateVpnGatewayInput) SetAmazonSideAsn(v int64) *CreateVpnGatewayInput { - s.AmazonSideAsn = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *CreateVpnGatewayInput) SetAvailabilityZone(v string) *CreateVpnGatewayInput { - s.AvailabilityZone = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *CreateVpnGatewayInput) SetDryRun(v bool) *CreateVpnGatewayInput { - s.DryRun = &v - return s -} - -// SetType sets the Type field's value. -func (s *CreateVpnGatewayInput) SetType(v GatewayType) *CreateVpnGatewayInput { - s.Type = v - return s -} - // Contains the output of CreateVpnGateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnGatewayResult type CreateVpnGatewayOutput struct { @@ -24717,12 +21909,6 @@ func (s CreateVpnGatewayOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVpnGateway sets the VpnGateway field's value. -func (s *CreateVpnGatewayOutput) SetVpnGateway(v *VpnGateway) *CreateVpnGatewayOutput { - s.VpnGateway = v - return s -} - // Describes the credit option for CPU usage of a T2 instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreditSpecification type CreditSpecification struct { @@ -24742,12 +21928,6 @@ func (s CreditSpecification) GoString() string { return s.String() } -// SetCpuCredits sets the CpuCredits field's value. -func (s *CreditSpecification) SetCpuCredits(v string) *CreditSpecification { - s.CpuCredits = &v - return s -} - // The credit option for CPU usage of a T2 instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreditSpecificationRequest type CreditSpecificationRequest struct { @@ -24784,12 +21964,6 @@ func (s *CreditSpecificationRequest) Validate() error { return nil } -// SetCpuCredits sets the CpuCredits field's value. -func (s *CreditSpecificationRequest) SetCpuCredits(v string) *CreditSpecificationRequest { - s.CpuCredits = &v - return s -} - // Describes a customer gateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CustomerGateway type CustomerGateway struct { @@ -24826,42 +22000,6 @@ func (s CustomerGateway) GoString() string { return s.String() } -// SetBgpAsn sets the BgpAsn field's value. -func (s *CustomerGateway) SetBgpAsn(v string) *CustomerGateway { - s.BgpAsn = &v - return s -} - -// SetCustomerGatewayId sets the CustomerGatewayId field's value. -func (s *CustomerGateway) SetCustomerGatewayId(v string) *CustomerGateway { - s.CustomerGatewayId = &v - return s -} - -// SetIpAddress sets the IpAddress field's value. -func (s *CustomerGateway) SetIpAddress(v string) *CustomerGateway { - s.IpAddress = &v - return s -} - -// SetState sets the State field's value. -func (s *CustomerGateway) SetState(v string) *CustomerGateway { - s.State = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CustomerGateway) SetTags(v []Tag) *CustomerGateway { - s.Tags = v - return s -} - -// SetType sets the Type field's value. -func (s *CustomerGateway) SetType(v string) *CustomerGateway { - s.Type = &v - return s -} - // Contains the parameters for DeleteCustomerGateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteCustomerGatewayRequest type DeleteCustomerGatewayInput struct { @@ -24903,18 +22041,6 @@ func (s *DeleteCustomerGatewayInput) Validate() error { return nil } -// SetCustomerGatewayId sets the CustomerGatewayId field's value. -func (s *DeleteCustomerGatewayInput) SetCustomerGatewayId(v string) *DeleteCustomerGatewayInput { - s.CustomerGatewayId = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DeleteCustomerGatewayInput) SetDryRun(v bool) *DeleteCustomerGatewayInput { - s.DryRun = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteCustomerGatewayOutput type DeleteCustomerGatewayOutput struct { _ struct{} `type:"structure"` @@ -24978,18 +22104,6 @@ func (s *DeleteDhcpOptionsInput) Validate() error { return nil } -// SetDhcpOptionsId sets the DhcpOptionsId field's value. -func (s *DeleteDhcpOptionsInput) SetDhcpOptionsId(v string) *DeleteDhcpOptionsInput { - s.DhcpOptionsId = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DeleteDhcpOptionsInput) SetDryRun(v bool) *DeleteDhcpOptionsInput { - s.DryRun = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteDhcpOptionsOutput type DeleteDhcpOptionsOutput struct { _ struct{} `type:"structure"` @@ -25052,18 +22166,6 @@ func (s *DeleteEgressOnlyInternetGatewayInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteEgressOnlyInternetGatewayInput) SetDryRun(v bool) *DeleteEgressOnlyInternetGatewayInput { - s.DryRun = &v - return s -} - -// SetEgressOnlyInternetGatewayId sets the EgressOnlyInternetGatewayId field's value. -func (s *DeleteEgressOnlyInternetGatewayInput) SetEgressOnlyInternetGatewayId(v string) *DeleteEgressOnlyInternetGatewayInput { - s.EgressOnlyInternetGatewayId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteEgressOnlyInternetGatewayResult type DeleteEgressOnlyInternetGatewayOutput struct { _ struct{} `type:"structure"` @@ -25089,12 +22191,6 @@ func (s DeleteEgressOnlyInternetGatewayOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetReturnCode sets the ReturnCode field's value. -func (s *DeleteEgressOnlyInternetGatewayOutput) SetReturnCode(v bool) *DeleteEgressOnlyInternetGatewayOutput { - s.ReturnCode = &v - return s -} - // Contains the parameters for DeleteFlowLogs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFlowLogsRequest type DeleteFlowLogsInput struct { @@ -25130,12 +22226,6 @@ func (s *DeleteFlowLogsInput) Validate() error { return nil } -// SetFlowLogIds sets the FlowLogIds field's value. -func (s *DeleteFlowLogsInput) SetFlowLogIds(v []string) *DeleteFlowLogsInput { - s.FlowLogIds = v - return s -} - // Contains the output of DeleteFlowLogs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFlowLogsResult type DeleteFlowLogsOutput struct { @@ -25162,12 +22252,6 @@ func (s DeleteFlowLogsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUnsuccessful sets the Unsuccessful field's value. -func (s *DeleteFlowLogsOutput) SetUnsuccessful(v []UnsuccessfulItem) *DeleteFlowLogsOutput { - s.Unsuccessful = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFpgaImageRequest type DeleteFpgaImageInput struct { _ struct{} `type:"structure"` @@ -25208,18 +22292,6 @@ func (s *DeleteFpgaImageInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteFpgaImageInput) SetDryRun(v bool) *DeleteFpgaImageInput { - s.DryRun = &v - return s -} - -// SetFpgaImageId sets the FpgaImageId field's value. -func (s *DeleteFpgaImageInput) SetFpgaImageId(v string) *DeleteFpgaImageInput { - s.FpgaImageId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFpgaImageResult type DeleteFpgaImageOutput struct { _ struct{} `type:"structure"` @@ -25245,12 +22317,6 @@ func (s DeleteFpgaImageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReturn sets the Return field's value. -func (s *DeleteFpgaImageOutput) SetReturn(v bool) *DeleteFpgaImageOutput { - s.Return = &v - return s -} - // Contains the parameters for DeleteInternetGateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInternetGatewayRequest type DeleteInternetGatewayInput struct { @@ -25292,18 +22358,6 @@ func (s *DeleteInternetGatewayInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteInternetGatewayInput) SetDryRun(v bool) *DeleteInternetGatewayInput { - s.DryRun = &v - return s -} - -// SetInternetGatewayId sets the InternetGatewayId field's value. -func (s *DeleteInternetGatewayInput) SetInternetGatewayId(v string) *DeleteInternetGatewayInput { - s.InternetGatewayId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInternetGatewayOutput type DeleteInternetGatewayOutput struct { _ struct{} `type:"structure"` @@ -25367,18 +22421,6 @@ func (s *DeleteKeyPairInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteKeyPairInput) SetDryRun(v bool) *DeleteKeyPairInput { - s.DryRun = &v - return s -} - -// SetKeyName sets the KeyName field's value. -func (s *DeleteKeyPairInput) SetKeyName(v string) *DeleteKeyPairInput { - s.KeyName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteKeyPairOutput type DeleteKeyPairOutput struct { _ struct{} `type:"structure"` @@ -25443,24 +22485,6 @@ func (s *DeleteLaunchTemplateInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteLaunchTemplateInput) SetDryRun(v bool) *DeleteLaunchTemplateInput { - s.DryRun = &v - return s -} - -// SetLaunchTemplateId sets the LaunchTemplateId field's value. -func (s *DeleteLaunchTemplateInput) SetLaunchTemplateId(v string) *DeleteLaunchTemplateInput { - s.LaunchTemplateId = &v - return s -} - -// SetLaunchTemplateName sets the LaunchTemplateName field's value. -func (s *DeleteLaunchTemplateInput) SetLaunchTemplateName(v string) *DeleteLaunchTemplateInput { - s.LaunchTemplateName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplateResult type DeleteLaunchTemplateOutput struct { _ struct{} `type:"structure"` @@ -25486,12 +22510,6 @@ func (s DeleteLaunchTemplateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLaunchTemplate sets the LaunchTemplate field's value. -func (s *DeleteLaunchTemplateOutput) SetLaunchTemplate(v *LaunchTemplate) *DeleteLaunchTemplateOutput { - s.LaunchTemplate = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplateVersionsRequest type DeleteLaunchTemplateVersionsInput struct { _ struct{} `type:"structure"` @@ -25543,30 +22561,6 @@ func (s *DeleteLaunchTemplateVersionsInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteLaunchTemplateVersionsInput) SetDryRun(v bool) *DeleteLaunchTemplateVersionsInput { - s.DryRun = &v - return s -} - -// SetLaunchTemplateId sets the LaunchTemplateId field's value. -func (s *DeleteLaunchTemplateVersionsInput) SetLaunchTemplateId(v string) *DeleteLaunchTemplateVersionsInput { - s.LaunchTemplateId = &v - return s -} - -// SetLaunchTemplateName sets the LaunchTemplateName field's value. -func (s *DeleteLaunchTemplateVersionsInput) SetLaunchTemplateName(v string) *DeleteLaunchTemplateVersionsInput { - s.LaunchTemplateName = &v - return s -} - -// SetVersions sets the Versions field's value. -func (s *DeleteLaunchTemplateVersionsInput) SetVersions(v []string) *DeleteLaunchTemplateVersionsInput { - s.Versions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplateVersionsResult type DeleteLaunchTemplateVersionsOutput struct { _ struct{} `type:"structure"` @@ -25595,18 +22589,6 @@ func (s DeleteLaunchTemplateVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSuccessfullyDeletedLaunchTemplateVersions sets the SuccessfullyDeletedLaunchTemplateVersions field's value. -func (s *DeleteLaunchTemplateVersionsOutput) SetSuccessfullyDeletedLaunchTemplateVersions(v []DeleteLaunchTemplateVersionsResponseSuccessItem) *DeleteLaunchTemplateVersionsOutput { - s.SuccessfullyDeletedLaunchTemplateVersions = v - return s -} - -// SetUnsuccessfullyDeletedLaunchTemplateVersions sets the UnsuccessfullyDeletedLaunchTemplateVersions field's value. -func (s *DeleteLaunchTemplateVersionsOutput) SetUnsuccessfullyDeletedLaunchTemplateVersions(v []DeleteLaunchTemplateVersionsResponseErrorItem) *DeleteLaunchTemplateVersionsOutput { - s.UnsuccessfullyDeletedLaunchTemplateVersions = v - return s -} - // Describes a launch template version that could not be deleted. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplateVersionsResponseErrorItem type DeleteLaunchTemplateVersionsResponseErrorItem struct { @@ -25635,30 +22617,6 @@ func (s DeleteLaunchTemplateVersionsResponseErrorItem) GoString() string { return s.String() } -// SetLaunchTemplateId sets the LaunchTemplateId field's value. -func (s *DeleteLaunchTemplateVersionsResponseErrorItem) SetLaunchTemplateId(v string) *DeleteLaunchTemplateVersionsResponseErrorItem { - s.LaunchTemplateId = &v - return s -} - -// SetLaunchTemplateName sets the LaunchTemplateName field's value. -func (s *DeleteLaunchTemplateVersionsResponseErrorItem) SetLaunchTemplateName(v string) *DeleteLaunchTemplateVersionsResponseErrorItem { - s.LaunchTemplateName = &v - return s -} - -// SetResponseError sets the ResponseError field's value. -func (s *DeleteLaunchTemplateVersionsResponseErrorItem) SetResponseError(v *ResponseError) *DeleteLaunchTemplateVersionsResponseErrorItem { - s.ResponseError = v - return s -} - -// SetVersionNumber sets the VersionNumber field's value. -func (s *DeleteLaunchTemplateVersionsResponseErrorItem) SetVersionNumber(v int64) *DeleteLaunchTemplateVersionsResponseErrorItem { - s.VersionNumber = &v - return s -} - // Describes a launch template version that was successfully deleted. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplateVersionsResponseSuccessItem type DeleteLaunchTemplateVersionsResponseSuccessItem struct { @@ -25684,24 +22642,6 @@ func (s DeleteLaunchTemplateVersionsResponseSuccessItem) GoString() string { return s.String() } -// SetLaunchTemplateId sets the LaunchTemplateId field's value. -func (s *DeleteLaunchTemplateVersionsResponseSuccessItem) SetLaunchTemplateId(v string) *DeleteLaunchTemplateVersionsResponseSuccessItem { - s.LaunchTemplateId = &v - return s -} - -// SetLaunchTemplateName sets the LaunchTemplateName field's value. -func (s *DeleteLaunchTemplateVersionsResponseSuccessItem) SetLaunchTemplateName(v string) *DeleteLaunchTemplateVersionsResponseSuccessItem { - s.LaunchTemplateName = &v - return s -} - -// SetVersionNumber sets the VersionNumber field's value. -func (s *DeleteLaunchTemplateVersionsResponseSuccessItem) SetVersionNumber(v int64) *DeleteLaunchTemplateVersionsResponseSuccessItem { - s.VersionNumber = &v - return s -} - // Contains the parameters for DeleteNatGateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNatGatewayRequest type DeleteNatGatewayInput struct { @@ -25737,12 +22677,6 @@ func (s *DeleteNatGatewayInput) Validate() error { return nil } -// SetNatGatewayId sets the NatGatewayId field's value. -func (s *DeleteNatGatewayInput) SetNatGatewayId(v string) *DeleteNatGatewayInput { - s.NatGatewayId = &v - return s -} - // Contains the output of DeleteNatGateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNatGatewayResult type DeleteNatGatewayOutput struct { @@ -25769,12 +22703,6 @@ func (s DeleteNatGatewayOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNatGatewayId sets the NatGatewayId field's value. -func (s *DeleteNatGatewayOutput) SetNatGatewayId(v string) *DeleteNatGatewayOutput { - s.NatGatewayId = &v - return s -} - // Contains the parameters for DeleteNetworkAclEntry. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAclEntryRequest type DeleteNetworkAclEntryInput struct { @@ -25834,30 +22762,6 @@ func (s *DeleteNetworkAclEntryInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteNetworkAclEntryInput) SetDryRun(v bool) *DeleteNetworkAclEntryInput { - s.DryRun = &v - return s -} - -// SetEgress sets the Egress field's value. -func (s *DeleteNetworkAclEntryInput) SetEgress(v bool) *DeleteNetworkAclEntryInput { - s.Egress = &v - return s -} - -// SetNetworkAclId sets the NetworkAclId field's value. -func (s *DeleteNetworkAclEntryInput) SetNetworkAclId(v string) *DeleteNetworkAclEntryInput { - s.NetworkAclId = &v - return s -} - -// SetRuleNumber sets the RuleNumber field's value. -func (s *DeleteNetworkAclEntryInput) SetRuleNumber(v int64) *DeleteNetworkAclEntryInput { - s.RuleNumber = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAclEntryOutput type DeleteNetworkAclEntryOutput struct { _ struct{} `type:"structure"` @@ -25921,18 +22825,6 @@ func (s *DeleteNetworkAclInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteNetworkAclInput) SetDryRun(v bool) *DeleteNetworkAclInput { - s.DryRun = &v - return s -} - -// SetNetworkAclId sets the NetworkAclId field's value. -func (s *DeleteNetworkAclInput) SetNetworkAclId(v string) *DeleteNetworkAclInput { - s.NetworkAclId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAclOutput type DeleteNetworkAclOutput struct { _ struct{} `type:"structure"` @@ -25996,18 +22888,6 @@ func (s *DeleteNetworkInterfaceInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteNetworkInterfaceInput) SetDryRun(v bool) *DeleteNetworkInterfaceInput { - s.DryRun = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *DeleteNetworkInterfaceInput) SetNetworkInterfaceId(v string) *DeleteNetworkInterfaceInput { - s.NetworkInterfaceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfaceOutput type DeleteNetworkInterfaceOutput struct { _ struct{} `type:"structure"` @@ -26075,24 +22955,6 @@ func (s *DeleteNetworkInterfacePermissionInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteNetworkInterfacePermissionInput) SetDryRun(v bool) *DeleteNetworkInterfacePermissionInput { - s.DryRun = &v - return s -} - -// SetForce sets the Force field's value. -func (s *DeleteNetworkInterfacePermissionInput) SetForce(v bool) *DeleteNetworkInterfacePermissionInput { - s.Force = &v - return s -} - -// SetNetworkInterfacePermissionId sets the NetworkInterfacePermissionId field's value. -func (s *DeleteNetworkInterfacePermissionInput) SetNetworkInterfacePermissionId(v string) *DeleteNetworkInterfacePermissionInput { - s.NetworkInterfacePermissionId = &v - return s -} - // Contains the output for DeleteNetworkInterfacePermission. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfacePermissionResult type DeleteNetworkInterfacePermissionOutput struct { @@ -26119,12 +22981,6 @@ func (s DeleteNetworkInterfacePermissionOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetReturn sets the Return field's value. -func (s *DeleteNetworkInterfacePermissionOutput) SetReturn(v bool) *DeleteNetworkInterfacePermissionOutput { - s.Return = &v - return s -} - // Contains the parameters for DeletePlacementGroup. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeletePlacementGroupRequest type DeletePlacementGroupInput struct { @@ -26166,18 +23022,6 @@ func (s *DeletePlacementGroupInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeletePlacementGroupInput) SetDryRun(v bool) *DeletePlacementGroupInput { - s.DryRun = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *DeletePlacementGroupInput) SetGroupName(v string) *DeletePlacementGroupInput { - s.GroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeletePlacementGroupOutput type DeletePlacementGroupOutput struct { _ struct{} `type:"structure"` @@ -26249,30 +23093,6 @@ func (s *DeleteRouteInput) Validate() error { return nil } -// SetDestinationCidrBlock sets the DestinationCidrBlock field's value. -func (s *DeleteRouteInput) SetDestinationCidrBlock(v string) *DeleteRouteInput { - s.DestinationCidrBlock = &v - return s -} - -// SetDestinationIpv6CidrBlock sets the DestinationIpv6CidrBlock field's value. -func (s *DeleteRouteInput) SetDestinationIpv6CidrBlock(v string) *DeleteRouteInput { - s.DestinationIpv6CidrBlock = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DeleteRouteInput) SetDryRun(v bool) *DeleteRouteInput { - s.DryRun = &v - return s -} - -// SetRouteTableId sets the RouteTableId field's value. -func (s *DeleteRouteInput) SetRouteTableId(v string) *DeleteRouteInput { - s.RouteTableId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRouteOutput type DeleteRouteOutput struct { _ struct{} `type:"structure"` @@ -26336,18 +23156,6 @@ func (s *DeleteRouteTableInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteRouteTableInput) SetDryRun(v bool) *DeleteRouteTableInput { - s.DryRun = &v - return s -} - -// SetRouteTableId sets the RouteTableId field's value. -func (s *DeleteRouteTableInput) SetRouteTableId(v string) *DeleteRouteTableInput { - s.RouteTableId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRouteTableOutput type DeleteRouteTableOutput struct { _ struct{} `type:"structure"` @@ -26399,24 +23207,6 @@ func (s DeleteSecurityGroupInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DeleteSecurityGroupInput) SetDryRun(v bool) *DeleteSecurityGroupInput { - s.DryRun = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *DeleteSecurityGroupInput) SetGroupId(v string) *DeleteSecurityGroupInput { - s.GroupId = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *DeleteSecurityGroupInput) SetGroupName(v string) *DeleteSecurityGroupInput { - s.GroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSecurityGroupOutput type DeleteSecurityGroupOutput struct { _ struct{} `type:"structure"` @@ -26480,18 +23270,6 @@ func (s *DeleteSnapshotInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteSnapshotInput) SetDryRun(v bool) *DeleteSnapshotInput { - s.DryRun = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *DeleteSnapshotInput) SetSnapshotId(v string) *DeleteSnapshotInput { - s.SnapshotId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSnapshotOutput type DeleteSnapshotOutput struct { _ struct{} `type:"structure"` @@ -26536,12 +23314,6 @@ func (s DeleteSpotDatafeedSubscriptionInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DeleteSpotDatafeedSubscriptionInput) SetDryRun(v bool) *DeleteSpotDatafeedSubscriptionInput { - s.DryRun = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSpotDatafeedSubscriptionOutput type DeleteSpotDatafeedSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -26605,18 +23377,6 @@ func (s *DeleteSubnetInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteSubnetInput) SetDryRun(v bool) *DeleteSubnetInput { - s.DryRun = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *DeleteSubnetInput) SetSubnetId(v string) *DeleteSubnetInput { - s.SubnetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSubnetOutput type DeleteSubnetOutput struct { _ struct{} `type:"structure"` @@ -26688,24 +23448,6 @@ func (s *DeleteTagsInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteTagsInput) SetDryRun(v bool) *DeleteTagsInput { - s.DryRun = &v - return s -} - -// SetResources sets the Resources field's value. -func (s *DeleteTagsInput) SetResources(v []string) *DeleteTagsInput { - s.Resources = v - return s -} - -// SetTags sets the Tags field's value. -func (s *DeleteTagsInput) SetTags(v []Tag) *DeleteTagsInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTagsOutput type DeleteTagsOutput struct { _ struct{} `type:"structure"` @@ -26769,18 +23511,6 @@ func (s *DeleteVolumeInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteVolumeInput) SetDryRun(v bool) *DeleteVolumeInput { - s.DryRun = &v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *DeleteVolumeInput) SetVolumeId(v string) *DeleteVolumeInput { - s.VolumeId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVolumeOutput type DeleteVolumeOutput struct { _ struct{} `type:"structure"` @@ -26843,18 +23573,6 @@ func (s *DeleteVpcEndpointConnectionNotificationsInput) Validate() error { return nil } -// SetConnectionNotificationIds sets the ConnectionNotificationIds field's value. -func (s *DeleteVpcEndpointConnectionNotificationsInput) SetConnectionNotificationIds(v []string) *DeleteVpcEndpointConnectionNotificationsInput { - s.ConnectionNotificationIds = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DeleteVpcEndpointConnectionNotificationsInput) SetDryRun(v bool) *DeleteVpcEndpointConnectionNotificationsInput { - s.DryRun = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointConnectionNotificationsResult type DeleteVpcEndpointConnectionNotificationsOutput struct { _ struct{} `type:"structure"` @@ -26880,12 +23598,6 @@ func (s DeleteVpcEndpointConnectionNotificationsOutput) SDKResponseMetadata() aw return s.responseMetadata } -// SetUnsuccessful sets the Unsuccessful field's value. -func (s *DeleteVpcEndpointConnectionNotificationsOutput) SetUnsuccessful(v []UnsuccessfulItem) *DeleteVpcEndpointConnectionNotificationsOutput { - s.Unsuccessful = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointServiceConfigurationsRequest type DeleteVpcEndpointServiceConfigurationsInput struct { _ struct{} `type:"structure"` @@ -26926,18 +23638,6 @@ func (s *DeleteVpcEndpointServiceConfigurationsInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteVpcEndpointServiceConfigurationsInput) SetDryRun(v bool) *DeleteVpcEndpointServiceConfigurationsInput { - s.DryRun = &v - return s -} - -// SetServiceIds sets the ServiceIds field's value. -func (s *DeleteVpcEndpointServiceConfigurationsInput) SetServiceIds(v []string) *DeleteVpcEndpointServiceConfigurationsInput { - s.ServiceIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointServiceConfigurationsResult type DeleteVpcEndpointServiceConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -26963,12 +23663,6 @@ func (s DeleteVpcEndpointServiceConfigurationsOutput) SDKResponseMetadata() aws. return s.responseMetadata } -// SetUnsuccessful sets the Unsuccessful field's value. -func (s *DeleteVpcEndpointServiceConfigurationsOutput) SetUnsuccessful(v []UnsuccessfulItem) *DeleteVpcEndpointServiceConfigurationsOutput { - s.Unsuccessful = v - return s -} - // Contains the parameters for DeleteVpcEndpoints. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointsRequest type DeleteVpcEndpointsInput struct { @@ -27010,18 +23704,6 @@ func (s *DeleteVpcEndpointsInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteVpcEndpointsInput) SetDryRun(v bool) *DeleteVpcEndpointsInput { - s.DryRun = &v - return s -} - -// SetVpcEndpointIds sets the VpcEndpointIds field's value. -func (s *DeleteVpcEndpointsInput) SetVpcEndpointIds(v []string) *DeleteVpcEndpointsInput { - s.VpcEndpointIds = v - return s -} - // Contains the output of DeleteVpcEndpoints. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointsResult type DeleteVpcEndpointsOutput struct { @@ -27048,12 +23730,6 @@ func (s DeleteVpcEndpointsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUnsuccessful sets the Unsuccessful field's value. -func (s *DeleteVpcEndpointsOutput) SetUnsuccessful(v []UnsuccessfulItem) *DeleteVpcEndpointsOutput { - s.Unsuccessful = v - return s -} - // Contains the parameters for DeleteVpc. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcRequest type DeleteVpcInput struct { @@ -27095,18 +23771,6 @@ func (s *DeleteVpcInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteVpcInput) SetDryRun(v bool) *DeleteVpcInput { - s.DryRun = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *DeleteVpcInput) SetVpcId(v string) *DeleteVpcInput { - s.VpcId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcOutput type DeleteVpcOutput struct { _ struct{} `type:"structure"` @@ -27170,18 +23834,6 @@ func (s *DeleteVpcPeeringConnectionInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteVpcPeeringConnectionInput) SetDryRun(v bool) *DeleteVpcPeeringConnectionInput { - s.DryRun = &v - return s -} - -// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value. -func (s *DeleteVpcPeeringConnectionInput) SetVpcPeeringConnectionId(v string) *DeleteVpcPeeringConnectionInput { - s.VpcPeeringConnectionId = &v - return s -} - // Contains the output of DeleteVpcPeeringConnection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcPeeringConnectionResult type DeleteVpcPeeringConnectionOutput struct { @@ -27208,12 +23860,6 @@ func (s DeleteVpcPeeringConnectionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReturn sets the Return field's value. -func (s *DeleteVpcPeeringConnectionOutput) SetReturn(v bool) *DeleteVpcPeeringConnectionOutput { - s.Return = &v - return s -} - // Contains the parameters for DeleteVpnConnection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnectionRequest type DeleteVpnConnectionInput struct { @@ -27255,18 +23901,6 @@ func (s *DeleteVpnConnectionInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteVpnConnectionInput) SetDryRun(v bool) *DeleteVpnConnectionInput { - s.DryRun = &v - return s -} - -// SetVpnConnectionId sets the VpnConnectionId field's value. -func (s *DeleteVpnConnectionInput) SetVpnConnectionId(v string) *DeleteVpnConnectionInput { - s.VpnConnectionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnectionOutput type DeleteVpnConnectionOutput struct { _ struct{} `type:"structure"` @@ -27333,18 +23967,6 @@ func (s *DeleteVpnConnectionRouteInput) Validate() error { return nil } -// SetDestinationCidrBlock sets the DestinationCidrBlock field's value. -func (s *DeleteVpnConnectionRouteInput) SetDestinationCidrBlock(v string) *DeleteVpnConnectionRouteInput { - s.DestinationCidrBlock = &v - return s -} - -// SetVpnConnectionId sets the VpnConnectionId field's value. -func (s *DeleteVpnConnectionRouteInput) SetVpnConnectionId(v string) *DeleteVpnConnectionRouteInput { - s.VpnConnectionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnectionRouteOutput type DeleteVpnConnectionRouteOutput struct { _ struct{} `type:"structure"` @@ -27408,18 +24030,6 @@ func (s *DeleteVpnGatewayInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteVpnGatewayInput) SetDryRun(v bool) *DeleteVpnGatewayInput { - s.DryRun = &v - return s -} - -// SetVpnGatewayId sets the VpnGatewayId field's value. -func (s *DeleteVpnGatewayInput) SetVpnGatewayId(v string) *DeleteVpnGatewayInput { - s.VpnGatewayId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnGatewayOutput type DeleteVpnGatewayOutput struct { _ struct{} `type:"structure"` @@ -27483,18 +24093,6 @@ func (s *DeregisterImageInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeregisterImageInput) SetDryRun(v bool) *DeregisterImageInput { - s.DryRun = &v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *DeregisterImageInput) SetImageId(v string) *DeregisterImageInput { - s.ImageId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterImageOutput type DeregisterImageOutput struct { _ struct{} `type:"structure"` @@ -27542,18 +24140,6 @@ func (s DescribeAccountAttributesInput) GoString() string { return s.String() } -// SetAttributeNames sets the AttributeNames field's value. -func (s *DescribeAccountAttributesInput) SetAttributeNames(v []AccountAttributeName) *DescribeAccountAttributesInput { - s.AttributeNames = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DescribeAccountAttributesInput) SetDryRun(v bool) *DescribeAccountAttributesInput { - s.DryRun = &v - return s -} - // Contains the output of DescribeAccountAttributes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAccountAttributesResult type DescribeAccountAttributesOutput struct { @@ -27580,12 +24166,6 @@ func (s DescribeAccountAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAccountAttributes sets the AccountAttributes field's value. -func (s *DescribeAccountAttributesOutput) SetAccountAttributes(v []AccountAttribute) *DescribeAccountAttributesOutput { - s.AccountAttributes = v - return s -} - // Contains the parameters for DescribeAddresses. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressesRequest type DescribeAddressesInput struct { @@ -27641,30 +24221,6 @@ func (s DescribeAddressesInput) GoString() string { return s.String() } -// SetAllocationIds sets the AllocationIds field's value. -func (s *DescribeAddressesInput) SetAllocationIds(v []string) *DescribeAddressesInput { - s.AllocationIds = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DescribeAddressesInput) SetDryRun(v bool) *DescribeAddressesInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeAddressesInput) SetFilters(v []Filter) *DescribeAddressesInput { - s.Filters = v - return s -} - -// SetPublicIps sets the PublicIps field's value. -func (s *DescribeAddressesInput) SetPublicIps(v []string) *DescribeAddressesInput { - s.PublicIps = v - return s -} - // Contains the output of DescribeAddresses. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressesResult type DescribeAddressesOutput struct { @@ -27691,12 +24247,6 @@ func (s DescribeAddressesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAddresses sets the Addresses field's value. -func (s *DescribeAddressesOutput) SetAddresses(v []Address) *DescribeAddressesOutput { - s.Addresses = v - return s -} - // Contains the parameters for DescribeAvailabilityZones. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAvailabilityZonesRequest type DescribeAvailabilityZonesInput struct { @@ -27735,24 +24285,6 @@ func (s DescribeAvailabilityZonesInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeAvailabilityZonesInput) SetDryRun(v bool) *DescribeAvailabilityZonesInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeAvailabilityZonesInput) SetFilters(v []Filter) *DescribeAvailabilityZonesInput { - s.Filters = v - return s -} - -// SetZoneNames sets the ZoneNames field's value. -func (s *DescribeAvailabilityZonesInput) SetZoneNames(v []string) *DescribeAvailabilityZonesInput { - s.ZoneNames = v - return s -} - // Contains the output of DescribeAvailabiltyZones. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAvailabilityZonesResult type DescribeAvailabilityZonesOutput struct { @@ -27779,12 +24311,6 @@ func (s DescribeAvailabilityZonesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *DescribeAvailabilityZonesOutput) SetAvailabilityZones(v []AvailabilityZone) *DescribeAvailabilityZonesOutput { - s.AvailabilityZones = v - return s -} - // Contains the parameters for DescribeBundleTasks. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeBundleTasksRequest type DescribeBundleTasksInput struct { @@ -27837,24 +24363,6 @@ func (s DescribeBundleTasksInput) GoString() string { return s.String() } -// SetBundleIds sets the BundleIds field's value. -func (s *DescribeBundleTasksInput) SetBundleIds(v []string) *DescribeBundleTasksInput { - s.BundleIds = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DescribeBundleTasksInput) SetDryRun(v bool) *DescribeBundleTasksInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeBundleTasksInput) SetFilters(v []Filter) *DescribeBundleTasksInput { - s.Filters = v - return s -} - // Contains the output of DescribeBundleTasks. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeBundleTasksResult type DescribeBundleTasksOutput struct { @@ -27881,12 +24389,6 @@ func (s DescribeBundleTasksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBundleTasks sets the BundleTasks field's value. -func (s *DescribeBundleTasksOutput) SetBundleTasks(v []BundleTask) *DescribeBundleTasksOutput { - s.BundleTasks = v - return s -} - // Contains the parameters for DescribeClassicLinkInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClassicLinkInstancesRequest type DescribeClassicLinkInstancesInput struct { @@ -27948,36 +24450,6 @@ func (s DescribeClassicLinkInstancesInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeClassicLinkInstancesInput) SetDryRun(v bool) *DescribeClassicLinkInstancesInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeClassicLinkInstancesInput) SetFilters(v []Filter) *DescribeClassicLinkInstancesInput { - s.Filters = v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *DescribeClassicLinkInstancesInput) SetInstanceIds(v []string) *DescribeClassicLinkInstancesInput { - s.InstanceIds = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeClassicLinkInstancesInput) SetMaxResults(v int64) *DescribeClassicLinkInstancesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeClassicLinkInstancesInput) SetNextToken(v string) *DescribeClassicLinkInstancesInput { - s.NextToken = &v - return s -} - // Contains the output of DescribeClassicLinkInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClassicLinkInstancesResult type DescribeClassicLinkInstancesOutput struct { @@ -28008,18 +24480,6 @@ func (s DescribeClassicLinkInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstances sets the Instances field's value. -func (s *DescribeClassicLinkInstancesOutput) SetInstances(v []ClassicLinkInstance) *DescribeClassicLinkInstancesOutput { - s.Instances = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeClassicLinkInstancesOutput) SetNextToken(v string) *DescribeClassicLinkInstancesOutput { - s.NextToken = &v - return s -} - // Contains the parameters for DescribeConversionTasks. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeConversionTasksRequest type DescribeConversionTasksInput struct { @@ -28045,18 +24505,6 @@ func (s DescribeConversionTasksInput) GoString() string { return s.String() } -// SetConversionTaskIds sets the ConversionTaskIds field's value. -func (s *DescribeConversionTasksInput) SetConversionTaskIds(v []string) *DescribeConversionTasksInput { - s.ConversionTaskIds = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DescribeConversionTasksInput) SetDryRun(v bool) *DescribeConversionTasksInput { - s.DryRun = &v - return s -} - // Contains the output for DescribeConversionTasks. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeConversionTasksResult type DescribeConversionTasksOutput struct { @@ -28083,12 +24531,6 @@ func (s DescribeConversionTasksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConversionTasks sets the ConversionTasks field's value. -func (s *DescribeConversionTasksOutput) SetConversionTasks(v []ConversionTask) *DescribeConversionTasksOutput { - s.ConversionTasks = v - return s -} - // Contains the parameters for DescribeCustomerGateways. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCustomerGatewaysRequest type DescribeCustomerGatewaysInput struct { @@ -28149,24 +24591,6 @@ func (s DescribeCustomerGatewaysInput) GoString() string { return s.String() } -// SetCustomerGatewayIds sets the CustomerGatewayIds field's value. -func (s *DescribeCustomerGatewaysInput) SetCustomerGatewayIds(v []string) *DescribeCustomerGatewaysInput { - s.CustomerGatewayIds = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DescribeCustomerGatewaysInput) SetDryRun(v bool) *DescribeCustomerGatewaysInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeCustomerGatewaysInput) SetFilters(v []Filter) *DescribeCustomerGatewaysInput { - s.Filters = v - return s -} - // Contains the output of DescribeCustomerGateways. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCustomerGatewaysResult type DescribeCustomerGatewaysOutput struct { @@ -28193,12 +24617,6 @@ func (s DescribeCustomerGatewaysOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCustomerGateways sets the CustomerGateways field's value. -func (s *DescribeCustomerGatewaysOutput) SetCustomerGateways(v []CustomerGateway) *DescribeCustomerGatewaysOutput { - s.CustomerGateways = v - return s -} - // Contains the parameters for DescribeDhcpOptions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeDhcpOptionsRequest type DescribeDhcpOptionsInput struct { @@ -28251,24 +24669,6 @@ func (s DescribeDhcpOptionsInput) GoString() string { return s.String() } -// SetDhcpOptionsIds sets the DhcpOptionsIds field's value. -func (s *DescribeDhcpOptionsInput) SetDhcpOptionsIds(v []string) *DescribeDhcpOptionsInput { - s.DhcpOptionsIds = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DescribeDhcpOptionsInput) SetDryRun(v bool) *DescribeDhcpOptionsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeDhcpOptionsInput) SetFilters(v []Filter) *DescribeDhcpOptionsInput { - s.Filters = v - return s -} - // Contains the output of DescribeDhcpOptions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeDhcpOptionsResult type DescribeDhcpOptionsOutput struct { @@ -28295,12 +24695,6 @@ func (s DescribeDhcpOptionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDhcpOptions sets the DhcpOptions field's value. -func (s *DescribeDhcpOptionsOutput) SetDhcpOptions(v []DhcpOptions) *DescribeDhcpOptionsOutput { - s.DhcpOptions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeEgressOnlyInternetGatewaysRequest type DescribeEgressOnlyInternetGatewaysInput struct { _ struct{} `type:"structure"` @@ -28334,30 +24728,6 @@ func (s DescribeEgressOnlyInternetGatewaysInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeEgressOnlyInternetGatewaysInput) SetDryRun(v bool) *DescribeEgressOnlyInternetGatewaysInput { - s.DryRun = &v - return s -} - -// SetEgressOnlyInternetGatewayIds sets the EgressOnlyInternetGatewayIds field's value. -func (s *DescribeEgressOnlyInternetGatewaysInput) SetEgressOnlyInternetGatewayIds(v []string) *DescribeEgressOnlyInternetGatewaysInput { - s.EgressOnlyInternetGatewayIds = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeEgressOnlyInternetGatewaysInput) SetMaxResults(v int64) *DescribeEgressOnlyInternetGatewaysInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEgressOnlyInternetGatewaysInput) SetNextToken(v string) *DescribeEgressOnlyInternetGatewaysInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeEgressOnlyInternetGatewaysResult type DescribeEgressOnlyInternetGatewaysOutput struct { _ struct{} `type:"structure"` @@ -28386,18 +24756,6 @@ func (s DescribeEgressOnlyInternetGatewaysOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetEgressOnlyInternetGateways sets the EgressOnlyInternetGateways field's value. -func (s *DescribeEgressOnlyInternetGatewaysOutput) SetEgressOnlyInternetGateways(v []EgressOnlyInternetGateway) *DescribeEgressOnlyInternetGatewaysOutput { - s.EgressOnlyInternetGateways = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEgressOnlyInternetGatewaysOutput) SetNextToken(v string) *DescribeEgressOnlyInternetGatewaysOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeElasticGpusRequest type DescribeElasticGpusInput struct { _ struct{} `type:"structure"` @@ -28443,36 +24801,6 @@ func (s DescribeElasticGpusInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeElasticGpusInput) SetDryRun(v bool) *DescribeElasticGpusInput { - s.DryRun = &v - return s -} - -// SetElasticGpuIds sets the ElasticGpuIds field's value. -func (s *DescribeElasticGpusInput) SetElasticGpuIds(v []string) *DescribeElasticGpusInput { - s.ElasticGpuIds = v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeElasticGpusInput) SetFilters(v []Filter) *DescribeElasticGpusInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeElasticGpusInput) SetMaxResults(v int64) *DescribeElasticGpusInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeElasticGpusInput) SetNextToken(v string) *DescribeElasticGpusInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeElasticGpusResult type DescribeElasticGpusOutput struct { _ struct{} `type:"structure"` @@ -28507,24 +24835,6 @@ func (s DescribeElasticGpusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetElasticGpuSet sets the ElasticGpuSet field's value. -func (s *DescribeElasticGpusOutput) SetElasticGpuSet(v []ElasticGpus) *DescribeElasticGpusOutput { - s.ElasticGpuSet = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeElasticGpusOutput) SetMaxResults(v int64) *DescribeElasticGpusOutput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeElasticGpusOutput) SetNextToken(v string) *DescribeElasticGpusOutput { - s.NextToken = &v - return s -} - // Contains the parameters for DescribeExportTasks. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeExportTasksRequest type DescribeExportTasksInput struct { @@ -28544,12 +24854,6 @@ func (s DescribeExportTasksInput) GoString() string { return s.String() } -// SetExportTaskIds sets the ExportTaskIds field's value. -func (s *DescribeExportTasksInput) SetExportTaskIds(v []string) *DescribeExportTasksInput { - s.ExportTaskIds = v - return s -} - // Contains the output for DescribeExportTasks. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeExportTasksResult type DescribeExportTasksOutput struct { @@ -28576,12 +24880,6 @@ func (s DescribeExportTasksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExportTasks sets the ExportTasks field's value. -func (s *DescribeExportTasksOutput) SetExportTasks(v []ExportTask) *DescribeExportTasksOutput { - s.ExportTasks = v - return s -} - // Contains the parameters for DescribeFlowLogs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFlowLogsRequest type DescribeFlowLogsInput struct { @@ -28624,30 +24922,6 @@ func (s DescribeFlowLogsInput) GoString() string { return s.String() } -// SetFilter sets the Filter field's value. -func (s *DescribeFlowLogsInput) SetFilter(v []Filter) *DescribeFlowLogsInput { - s.Filter = v - return s -} - -// SetFlowLogIds sets the FlowLogIds field's value. -func (s *DescribeFlowLogsInput) SetFlowLogIds(v []string) *DescribeFlowLogsInput { - s.FlowLogIds = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeFlowLogsInput) SetMaxResults(v int64) *DescribeFlowLogsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeFlowLogsInput) SetNextToken(v string) *DescribeFlowLogsInput { - s.NextToken = &v - return s -} - // Contains the output of DescribeFlowLogs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFlowLogsResult type DescribeFlowLogsOutput struct { @@ -28678,18 +24952,6 @@ func (s DescribeFlowLogsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFlowLogs sets the FlowLogs field's value. -func (s *DescribeFlowLogsOutput) SetFlowLogs(v []FlowLog) *DescribeFlowLogsOutput { - s.FlowLogs = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeFlowLogsOutput) SetNextToken(v string) *DescribeFlowLogsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImageAttributeRequest type DescribeFpgaImageAttributeInput struct { _ struct{} `type:"structure"` @@ -28738,24 +25000,6 @@ func (s *DescribeFpgaImageAttributeInput) Validate() error { return nil } -// SetAttribute sets the Attribute field's value. -func (s *DescribeFpgaImageAttributeInput) SetAttribute(v FpgaImageAttributeName) *DescribeFpgaImageAttributeInput { - s.Attribute = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DescribeFpgaImageAttributeInput) SetDryRun(v bool) *DescribeFpgaImageAttributeInput { - s.DryRun = &v - return s -} - -// SetFpgaImageId sets the FpgaImageId field's value. -func (s *DescribeFpgaImageAttributeInput) SetFpgaImageId(v string) *DescribeFpgaImageAttributeInput { - s.FpgaImageId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImageAttributeResult type DescribeFpgaImageAttributeOutput struct { _ struct{} `type:"structure"` @@ -28781,12 +25025,6 @@ func (s DescribeFpgaImageAttributeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFpgaImageAttribute sets the FpgaImageAttribute field's value. -func (s *DescribeFpgaImageAttributeOutput) SetFpgaImageAttribute(v *FpgaImageAttribute) *DescribeFpgaImageAttributeOutput { - s.FpgaImageAttribute = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImagesRequest type DescribeFpgaImagesInput struct { _ struct{} `type:"structure"` @@ -28875,42 +25113,6 @@ func (s *DescribeFpgaImagesInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DescribeFpgaImagesInput) SetDryRun(v bool) *DescribeFpgaImagesInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeFpgaImagesInput) SetFilters(v []Filter) *DescribeFpgaImagesInput { - s.Filters = v - return s -} - -// SetFpgaImageIds sets the FpgaImageIds field's value. -func (s *DescribeFpgaImagesInput) SetFpgaImageIds(v []string) *DescribeFpgaImagesInput { - s.FpgaImageIds = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeFpgaImagesInput) SetMaxResults(v int64) *DescribeFpgaImagesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeFpgaImagesInput) SetNextToken(v string) *DescribeFpgaImagesInput { - s.NextToken = &v - return s -} - -// SetOwners sets the Owners field's value. -func (s *DescribeFpgaImagesInput) SetOwners(v []string) *DescribeFpgaImagesInput { - s.Owners = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImagesResult type DescribeFpgaImagesOutput struct { _ struct{} `type:"structure"` @@ -28940,18 +25142,6 @@ func (s DescribeFpgaImagesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFpgaImages sets the FpgaImages field's value. -func (s *DescribeFpgaImagesOutput) SetFpgaImages(v []FpgaImage) *DescribeFpgaImagesOutput { - s.FpgaImages = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeFpgaImagesOutput) SetNextToken(v string) *DescribeFpgaImagesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservationOfferingsRequest type DescribeHostReservationOfferingsInput struct { _ struct{} `type:"structure"` @@ -29000,42 +25190,6 @@ func (s DescribeHostReservationOfferingsInput) GoString() string { return s.String() } -// SetFilter sets the Filter field's value. -func (s *DescribeHostReservationOfferingsInput) SetFilter(v []Filter) *DescribeHostReservationOfferingsInput { - s.Filter = v - return s -} - -// SetMaxDuration sets the MaxDuration field's value. -func (s *DescribeHostReservationOfferingsInput) SetMaxDuration(v int64) *DescribeHostReservationOfferingsInput { - s.MaxDuration = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeHostReservationOfferingsInput) SetMaxResults(v int64) *DescribeHostReservationOfferingsInput { - s.MaxResults = &v - return s -} - -// SetMinDuration sets the MinDuration field's value. -func (s *DescribeHostReservationOfferingsInput) SetMinDuration(v int64) *DescribeHostReservationOfferingsInput { - s.MinDuration = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeHostReservationOfferingsInput) SetNextToken(v string) *DescribeHostReservationOfferingsInput { - s.NextToken = &v - return s -} - -// SetOfferingId sets the OfferingId field's value. -func (s *DescribeHostReservationOfferingsInput) SetOfferingId(v string) *DescribeHostReservationOfferingsInput { - s.OfferingId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservationOfferingsResult type DescribeHostReservationOfferingsOutput struct { _ struct{} `type:"structure"` @@ -29065,18 +25219,6 @@ func (s DescribeHostReservationOfferingsOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeHostReservationOfferingsOutput) SetNextToken(v string) *DescribeHostReservationOfferingsOutput { - s.NextToken = &v - return s -} - -// SetOfferingSet sets the OfferingSet field's value. -func (s *DescribeHostReservationOfferingsOutput) SetOfferingSet(v []HostOffering) *DescribeHostReservationOfferingsOutput { - s.OfferingSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservationsRequest type DescribeHostReservationsInput struct { _ struct{} `type:"structure"` @@ -29114,30 +25256,6 @@ func (s DescribeHostReservationsInput) GoString() string { return s.String() } -// SetFilter sets the Filter field's value. -func (s *DescribeHostReservationsInput) SetFilter(v []Filter) *DescribeHostReservationsInput { - s.Filter = v - return s -} - -// SetHostReservationIdSet sets the HostReservationIdSet field's value. -func (s *DescribeHostReservationsInput) SetHostReservationIdSet(v []string) *DescribeHostReservationsInput { - s.HostReservationIdSet = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeHostReservationsInput) SetMaxResults(v int64) *DescribeHostReservationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeHostReservationsInput) SetNextToken(v string) *DescribeHostReservationsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservationsResult type DescribeHostReservationsOutput struct { _ struct{} `type:"structure"` @@ -29167,18 +25285,6 @@ func (s DescribeHostReservationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHostReservationSet sets the HostReservationSet field's value. -func (s *DescribeHostReservationsOutput) SetHostReservationSet(v []HostReservation) *DescribeHostReservationsOutput { - s.HostReservationSet = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeHostReservationsOutput) SetNextToken(v string) *DescribeHostReservationsOutput { - s.NextToken = &v - return s -} - // Contains the parameters for DescribeHosts. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostsRequest type DescribeHostsInput struct { @@ -29227,30 +25333,6 @@ func (s DescribeHostsInput) GoString() string { return s.String() } -// SetFilter sets the Filter field's value. -func (s *DescribeHostsInput) SetFilter(v []Filter) *DescribeHostsInput { - s.Filter = v - return s -} - -// SetHostIds sets the HostIds field's value. -func (s *DescribeHostsInput) SetHostIds(v []string) *DescribeHostsInput { - s.HostIds = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeHostsInput) SetMaxResults(v int64) *DescribeHostsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeHostsInput) SetNextToken(v string) *DescribeHostsInput { - s.NextToken = &v - return s -} - // Contains the output of DescribeHosts. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostsResult type DescribeHostsOutput struct { @@ -29281,18 +25363,6 @@ func (s DescribeHostsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHosts sets the Hosts field's value. -func (s *DescribeHostsOutput) SetHosts(v []Host) *DescribeHostsOutput { - s.Hosts = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeHostsOutput) SetNextToken(v string) *DescribeHostsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIamInstanceProfileAssociationsRequest type DescribeIamInstanceProfileAssociationsInput struct { _ struct{} `type:"structure"` @@ -29342,30 +25412,6 @@ func (s *DescribeIamInstanceProfileAssociationsInput) Validate() error { return nil } -// SetAssociationIds sets the AssociationIds field's value. -func (s *DescribeIamInstanceProfileAssociationsInput) SetAssociationIds(v []string) *DescribeIamInstanceProfileAssociationsInput { - s.AssociationIds = v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeIamInstanceProfileAssociationsInput) SetFilters(v []Filter) *DescribeIamInstanceProfileAssociationsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeIamInstanceProfileAssociationsInput) SetMaxResults(v int64) *DescribeIamInstanceProfileAssociationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeIamInstanceProfileAssociationsInput) SetNextToken(v string) *DescribeIamInstanceProfileAssociationsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIamInstanceProfileAssociationsResult type DescribeIamInstanceProfileAssociationsOutput struct { _ struct{} `type:"structure"` @@ -29395,18 +25441,6 @@ func (s DescribeIamInstanceProfileAssociationsOutput) SDKResponseMetadata() aws. return s.responseMetadata } -// SetIamInstanceProfileAssociations sets the IamInstanceProfileAssociations field's value. -func (s *DescribeIamInstanceProfileAssociationsOutput) SetIamInstanceProfileAssociations(v []IamInstanceProfileAssociation) *DescribeIamInstanceProfileAssociationsOutput { - s.IamInstanceProfileAssociations = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeIamInstanceProfileAssociationsOutput) SetNextToken(v string) *DescribeIamInstanceProfileAssociationsOutput { - s.NextToken = &v - return s -} - // Contains the parameters for DescribeIdFormat. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdFormatRequest type DescribeIdFormatInput struct { @@ -29426,12 +25460,6 @@ func (s DescribeIdFormatInput) GoString() string { return s.String() } -// SetResource sets the Resource field's value. -func (s *DescribeIdFormatInput) SetResource(v string) *DescribeIdFormatInput { - s.Resource = &v - return s -} - // Contains the output of DescribeIdFormat. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdFormatResult type DescribeIdFormatOutput struct { @@ -29458,12 +25486,6 @@ func (s DescribeIdFormatOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStatuses sets the Statuses field's value. -func (s *DescribeIdFormatOutput) SetStatuses(v []IdFormat) *DescribeIdFormatOutput { - s.Statuses = v - return s -} - // Contains the parameters for DescribeIdentityIdFormat. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdentityIdFormatRequest type DescribeIdentityIdFormatInput struct { @@ -29503,18 +25525,6 @@ func (s *DescribeIdentityIdFormatInput) Validate() error { return nil } -// SetPrincipalArn sets the PrincipalArn field's value. -func (s *DescribeIdentityIdFormatInput) SetPrincipalArn(v string) *DescribeIdentityIdFormatInput { - s.PrincipalArn = &v - return s -} - -// SetResource sets the Resource field's value. -func (s *DescribeIdentityIdFormatInput) SetResource(v string) *DescribeIdentityIdFormatInput { - s.Resource = &v - return s -} - // Contains the output of DescribeIdentityIdFormat. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdentityIdFormatResult type DescribeIdentityIdFormatOutput struct { @@ -29541,12 +25551,6 @@ func (s DescribeIdentityIdFormatOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStatuses sets the Statuses field's value. -func (s *DescribeIdentityIdFormatOutput) SetStatuses(v []IdFormat) *DescribeIdentityIdFormatOutput { - s.Statuses = v - return s -} - // Contains the parameters for DescribeImageAttribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageAttributeRequest type DescribeImageAttributeInput struct { @@ -29600,24 +25604,6 @@ func (s *DescribeImageAttributeInput) Validate() error { return nil } -// SetAttribute sets the Attribute field's value. -func (s *DescribeImageAttributeInput) SetAttribute(v ImageAttributeName) *DescribeImageAttributeInput { - s.Attribute = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DescribeImageAttributeInput) SetDryRun(v bool) *DescribeImageAttributeInput { - s.DryRun = &v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *DescribeImageAttributeInput) SetImageId(v string) *DescribeImageAttributeInput { - s.ImageId = &v - return s -} - // Describes an image attribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageAttribute type DescribeImageAttributeOutput struct { @@ -29666,54 +25652,6 @@ func (s DescribeImageAttributeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBlockDeviceMappings sets the BlockDeviceMappings field's value. -func (s *DescribeImageAttributeOutput) SetBlockDeviceMappings(v []BlockDeviceMapping) *DescribeImageAttributeOutput { - s.BlockDeviceMappings = v - return s -} - -// SetDescription sets the Description field's value. -func (s *DescribeImageAttributeOutput) SetDescription(v *AttributeValue) *DescribeImageAttributeOutput { - s.Description = v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *DescribeImageAttributeOutput) SetImageId(v string) *DescribeImageAttributeOutput { - s.ImageId = &v - return s -} - -// SetKernelId sets the KernelId field's value. -func (s *DescribeImageAttributeOutput) SetKernelId(v *AttributeValue) *DescribeImageAttributeOutput { - s.KernelId = v - return s -} - -// SetLaunchPermissions sets the LaunchPermissions field's value. -func (s *DescribeImageAttributeOutput) SetLaunchPermissions(v []LaunchPermission) *DescribeImageAttributeOutput { - s.LaunchPermissions = v - return s -} - -// SetProductCodes sets the ProductCodes field's value. -func (s *DescribeImageAttributeOutput) SetProductCodes(v []ProductCode) *DescribeImageAttributeOutput { - s.ProductCodes = v - return s -} - -// SetRamdiskId sets the RamdiskId field's value. -func (s *DescribeImageAttributeOutput) SetRamdiskId(v *AttributeValue) *DescribeImageAttributeOutput { - s.RamdiskId = v - return s -} - -// SetSriovNetSupport sets the SriovNetSupport field's value. -func (s *DescribeImageAttributeOutput) SetSriovNetSupport(v *AttributeValue) *DescribeImageAttributeOutput { - s.SriovNetSupport = v - return s -} - // Contains the parameters for DescribeImages. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImagesRequest type DescribeImagesInput struct { @@ -29836,36 +25774,6 @@ func (s DescribeImagesInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeImagesInput) SetDryRun(v bool) *DescribeImagesInput { - s.DryRun = &v - return s -} - -// SetExecutableUsers sets the ExecutableUsers field's value. -func (s *DescribeImagesInput) SetExecutableUsers(v []string) *DescribeImagesInput { - s.ExecutableUsers = v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeImagesInput) SetFilters(v []Filter) *DescribeImagesInput { - s.Filters = v - return s -} - -// SetImageIds sets the ImageIds field's value. -func (s *DescribeImagesInput) SetImageIds(v []string) *DescribeImagesInput { - s.ImageIds = v - return s -} - -// SetOwners sets the Owners field's value. -func (s *DescribeImagesInput) SetOwners(v []string) *DescribeImagesInput { - s.Owners = v - return s -} - // Contains the output of DescribeImages. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImagesResult type DescribeImagesOutput struct { @@ -29892,12 +25800,6 @@ func (s DescribeImagesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImages sets the Images field's value. -func (s *DescribeImagesOutput) SetImages(v []Image) *DescribeImagesOutput { - s.Images = v - return s -} - // Contains the parameters for DescribeImportImageTasks. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportImageTasksRequest type DescribeImportImageTasksInput struct { @@ -29934,36 +25836,6 @@ func (s DescribeImportImageTasksInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeImportImageTasksInput) SetDryRun(v bool) *DescribeImportImageTasksInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeImportImageTasksInput) SetFilters(v []Filter) *DescribeImportImageTasksInput { - s.Filters = v - return s -} - -// SetImportTaskIds sets the ImportTaskIds field's value. -func (s *DescribeImportImageTasksInput) SetImportTaskIds(v []string) *DescribeImportImageTasksInput { - s.ImportTaskIds = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeImportImageTasksInput) SetMaxResults(v int64) *DescribeImportImageTasksInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeImportImageTasksInput) SetNextToken(v string) *DescribeImportImageTasksInput { - s.NextToken = &v - return s -} - // Contains the output for DescribeImportImageTasks. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportImageTasksResult type DescribeImportImageTasksOutput struct { @@ -29995,18 +25867,6 @@ func (s DescribeImportImageTasksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImportImageTasks sets the ImportImageTasks field's value. -func (s *DescribeImportImageTasksOutput) SetImportImageTasks(v []ImportImageTask) *DescribeImportImageTasksOutput { - s.ImportImageTasks = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeImportImageTasksOutput) SetNextToken(v string) *DescribeImportImageTasksOutput { - s.NextToken = &v - return s -} - // Contains the parameters for DescribeImportSnapshotTasks. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportSnapshotTasksRequest type DescribeImportSnapshotTasksInput struct { @@ -30042,36 +25902,6 @@ func (s DescribeImportSnapshotTasksInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeImportSnapshotTasksInput) SetDryRun(v bool) *DescribeImportSnapshotTasksInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeImportSnapshotTasksInput) SetFilters(v []Filter) *DescribeImportSnapshotTasksInput { - s.Filters = v - return s -} - -// SetImportTaskIds sets the ImportTaskIds field's value. -func (s *DescribeImportSnapshotTasksInput) SetImportTaskIds(v []string) *DescribeImportSnapshotTasksInput { - s.ImportTaskIds = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeImportSnapshotTasksInput) SetMaxResults(v int64) *DescribeImportSnapshotTasksInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeImportSnapshotTasksInput) SetNextToken(v string) *DescribeImportSnapshotTasksInput { - s.NextToken = &v - return s -} - // Contains the output for DescribeImportSnapshotTasks. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportSnapshotTasksResult type DescribeImportSnapshotTasksOutput struct { @@ -30103,18 +25933,6 @@ func (s DescribeImportSnapshotTasksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImportSnapshotTasks sets the ImportSnapshotTasks field's value. -func (s *DescribeImportSnapshotTasksOutput) SetImportSnapshotTasks(v []ImportSnapshotTask) *DescribeImportSnapshotTasksOutput { - s.ImportSnapshotTasks = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeImportSnapshotTasksOutput) SetNextToken(v string) *DescribeImportSnapshotTasksOutput { - s.NextToken = &v - return s -} - // Contains the parameters for DescribeInstanceAttribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceAttributeRequest type DescribeInstanceAttributeInput struct { @@ -30166,24 +25984,6 @@ func (s *DescribeInstanceAttributeInput) Validate() error { return nil } -// SetAttribute sets the Attribute field's value. -func (s *DescribeInstanceAttributeInput) SetAttribute(v InstanceAttributeName) *DescribeInstanceAttributeInput { - s.Attribute = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DescribeInstanceAttributeInput) SetDryRun(v bool) *DescribeInstanceAttributeInput { - s.DryRun = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *DescribeInstanceAttributeInput) SetInstanceId(v string) *DescribeInstanceAttributeInput { - s.InstanceId = &v - return s -} - // Describes an instance attribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceAttribute type DescribeInstanceAttributeOutput struct { @@ -30257,96 +26057,6 @@ func (s DescribeInstanceAttributeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBlockDeviceMappings sets the BlockDeviceMappings field's value. -func (s *DescribeInstanceAttributeOutput) SetBlockDeviceMappings(v []InstanceBlockDeviceMapping) *DescribeInstanceAttributeOutput { - s.BlockDeviceMappings = v - return s -} - -// SetDisableApiTermination sets the DisableApiTermination field's value. -func (s *DescribeInstanceAttributeOutput) SetDisableApiTermination(v *AttributeBooleanValue) *DescribeInstanceAttributeOutput { - s.DisableApiTermination = v - return s -} - -// SetEbsOptimized sets the EbsOptimized field's value. -func (s *DescribeInstanceAttributeOutput) SetEbsOptimized(v *AttributeBooleanValue) *DescribeInstanceAttributeOutput { - s.EbsOptimized = v - return s -} - -// SetEnaSupport sets the EnaSupport field's value. -func (s *DescribeInstanceAttributeOutput) SetEnaSupport(v *AttributeBooleanValue) *DescribeInstanceAttributeOutput { - s.EnaSupport = v - return s -} - -// SetGroups sets the Groups field's value. -func (s *DescribeInstanceAttributeOutput) SetGroups(v []GroupIdentifier) *DescribeInstanceAttributeOutput { - s.Groups = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *DescribeInstanceAttributeOutput) SetInstanceId(v string) *DescribeInstanceAttributeOutput { - s.InstanceId = &v - return s -} - -// SetInstanceInitiatedShutdownBehavior sets the InstanceInitiatedShutdownBehavior field's value. -func (s *DescribeInstanceAttributeOutput) SetInstanceInitiatedShutdownBehavior(v *AttributeValue) *DescribeInstanceAttributeOutput { - s.InstanceInitiatedShutdownBehavior = v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *DescribeInstanceAttributeOutput) SetInstanceType(v *AttributeValue) *DescribeInstanceAttributeOutput { - s.InstanceType = v - return s -} - -// SetKernelId sets the KernelId field's value. -func (s *DescribeInstanceAttributeOutput) SetKernelId(v *AttributeValue) *DescribeInstanceAttributeOutput { - s.KernelId = v - return s -} - -// SetProductCodes sets the ProductCodes field's value. -func (s *DescribeInstanceAttributeOutput) SetProductCodes(v []ProductCode) *DescribeInstanceAttributeOutput { - s.ProductCodes = v - return s -} - -// SetRamdiskId sets the RamdiskId field's value. -func (s *DescribeInstanceAttributeOutput) SetRamdiskId(v *AttributeValue) *DescribeInstanceAttributeOutput { - s.RamdiskId = v - return s -} - -// SetRootDeviceName sets the RootDeviceName field's value. -func (s *DescribeInstanceAttributeOutput) SetRootDeviceName(v *AttributeValue) *DescribeInstanceAttributeOutput { - s.RootDeviceName = v - return s -} - -// SetSourceDestCheck sets the SourceDestCheck field's value. -func (s *DescribeInstanceAttributeOutput) SetSourceDestCheck(v *AttributeBooleanValue) *DescribeInstanceAttributeOutput { - s.SourceDestCheck = v - return s -} - -// SetSriovNetSupport sets the SriovNetSupport field's value. -func (s *DescribeInstanceAttributeOutput) SetSriovNetSupport(v *AttributeValue) *DescribeInstanceAttributeOutput { - s.SriovNetSupport = v - return s -} - -// SetUserData sets the UserData field's value. -func (s *DescribeInstanceAttributeOutput) SetUserData(v *AttributeValue) *DescribeInstanceAttributeOutput { - s.UserData = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceCreditSpecificationsRequest type DescribeInstanceCreditSpecificationsInput struct { _ struct{} `type:"structure"` @@ -30389,36 +26099,6 @@ func (s DescribeInstanceCreditSpecificationsInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeInstanceCreditSpecificationsInput) SetDryRun(v bool) *DescribeInstanceCreditSpecificationsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeInstanceCreditSpecificationsInput) SetFilters(v []Filter) *DescribeInstanceCreditSpecificationsInput { - s.Filters = v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *DescribeInstanceCreditSpecificationsInput) SetInstanceIds(v []string) *DescribeInstanceCreditSpecificationsInput { - s.InstanceIds = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeInstanceCreditSpecificationsInput) SetMaxResults(v int64) *DescribeInstanceCreditSpecificationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeInstanceCreditSpecificationsInput) SetNextToken(v string) *DescribeInstanceCreditSpecificationsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceCreditSpecificationsResult type DescribeInstanceCreditSpecificationsOutput struct { _ struct{} `type:"structure"` @@ -30448,18 +26128,6 @@ func (s DescribeInstanceCreditSpecificationsOutput) SDKResponseMetadata() aws.Re return s.responseMetadata } -// SetInstanceCreditSpecifications sets the InstanceCreditSpecifications field's value. -func (s *DescribeInstanceCreditSpecificationsOutput) SetInstanceCreditSpecifications(v []InstanceCreditSpecification) *DescribeInstanceCreditSpecificationsOutput { - s.InstanceCreditSpecifications = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeInstanceCreditSpecificationsOutput) SetNextToken(v string) *DescribeInstanceCreditSpecificationsOutput { - s.NextToken = &v - return s -} - // Contains the parameters for DescribeInstanceStatus. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceStatusRequest type DescribeInstanceStatusInput struct { @@ -30541,42 +26209,6 @@ func (s DescribeInstanceStatusInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeInstanceStatusInput) SetDryRun(v bool) *DescribeInstanceStatusInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeInstanceStatusInput) SetFilters(v []Filter) *DescribeInstanceStatusInput { - s.Filters = v - return s -} - -// SetIncludeAllInstances sets the IncludeAllInstances field's value. -func (s *DescribeInstanceStatusInput) SetIncludeAllInstances(v bool) *DescribeInstanceStatusInput { - s.IncludeAllInstances = &v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *DescribeInstanceStatusInput) SetInstanceIds(v []string) *DescribeInstanceStatusInput { - s.InstanceIds = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeInstanceStatusInput) SetMaxResults(v int64) *DescribeInstanceStatusInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeInstanceStatusInput) SetNextToken(v string) *DescribeInstanceStatusInput { - s.NextToken = &v - return s -} - // Contains the output of DescribeInstanceStatus. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceStatusResult type DescribeInstanceStatusOutput struct { @@ -30607,18 +26239,6 @@ func (s DescribeInstanceStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceStatuses sets the InstanceStatuses field's value. -func (s *DescribeInstanceStatusOutput) SetInstanceStatuses(v []InstanceStatus) *DescribeInstanceStatusOutput { - s.InstanceStatuses = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeInstanceStatusOutput) SetNextToken(v string) *DescribeInstanceStatusOutput { - s.NextToken = &v - return s -} - // Contains the parameters for DescribeInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstancesRequest type DescribeInstancesInput struct { @@ -30895,36 +26515,6 @@ func (s DescribeInstancesInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeInstancesInput) SetDryRun(v bool) *DescribeInstancesInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeInstancesInput) SetFilters(v []Filter) *DescribeInstancesInput { - s.Filters = v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *DescribeInstancesInput) SetInstanceIds(v []string) *DescribeInstancesInput { - s.InstanceIds = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeInstancesInput) SetMaxResults(v int64) *DescribeInstancesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeInstancesInput) SetNextToken(v string) *DescribeInstancesInput { - s.NextToken = &v - return s -} - // Contains the output of DescribeInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstancesResult type DescribeInstancesOutput struct { @@ -30955,18 +26545,6 @@ func (s DescribeInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeInstancesOutput) SetNextToken(v string) *DescribeInstancesOutput { - s.NextToken = &v - return s -} - -// SetReservations sets the Reservations field's value. -func (s *DescribeInstancesOutput) SetReservations(v []RunInstancesOutput) *DescribeInstancesOutput { - s.Reservations = v - return s -} - // Contains the parameters for DescribeInternetGateways. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInternetGatewaysRequest type DescribeInternetGatewaysInput struct { @@ -31020,24 +26598,6 @@ func (s DescribeInternetGatewaysInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeInternetGatewaysInput) SetDryRun(v bool) *DescribeInternetGatewaysInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeInternetGatewaysInput) SetFilters(v []Filter) *DescribeInternetGatewaysInput { - s.Filters = v - return s -} - -// SetInternetGatewayIds sets the InternetGatewayIds field's value. -func (s *DescribeInternetGatewaysInput) SetInternetGatewayIds(v []string) *DescribeInternetGatewaysInput { - s.InternetGatewayIds = v - return s -} - // Contains the output of DescribeInternetGateways. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInternetGatewaysResult type DescribeInternetGatewaysOutput struct { @@ -31064,12 +26624,6 @@ func (s DescribeInternetGatewaysOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInternetGateways sets the InternetGateways field's value. -func (s *DescribeInternetGatewaysOutput) SetInternetGateways(v []InternetGateway) *DescribeInternetGatewaysOutput { - s.InternetGateways = v - return s -} - // Contains the parameters for DescribeKeyPairs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeKeyPairsRequest type DescribeKeyPairsInput struct { @@ -31104,24 +26658,6 @@ func (s DescribeKeyPairsInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeKeyPairsInput) SetDryRun(v bool) *DescribeKeyPairsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeKeyPairsInput) SetFilters(v []Filter) *DescribeKeyPairsInput { - s.Filters = v - return s -} - -// SetKeyNames sets the KeyNames field's value. -func (s *DescribeKeyPairsInput) SetKeyNames(v []string) *DescribeKeyPairsInput { - s.KeyNames = v - return s -} - // Contains the output of DescribeKeyPairs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeKeyPairsResult type DescribeKeyPairsOutput struct { @@ -31148,12 +26684,6 @@ func (s DescribeKeyPairsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetKeyPairs sets the KeyPairs field's value. -func (s *DescribeKeyPairsOutput) SetKeyPairs(v []KeyPairInfo) *DescribeKeyPairsOutput { - s.KeyPairs = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersionsRequest type DescribeLaunchTemplateVersionsInput struct { _ struct{} `type:"structure"` @@ -31234,60 +26764,6 @@ func (s *DescribeLaunchTemplateVersionsInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DescribeLaunchTemplateVersionsInput) SetDryRun(v bool) *DescribeLaunchTemplateVersionsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeLaunchTemplateVersionsInput) SetFilters(v []Filter) *DescribeLaunchTemplateVersionsInput { - s.Filters = v - return s -} - -// SetLaunchTemplateId sets the LaunchTemplateId field's value. -func (s *DescribeLaunchTemplateVersionsInput) SetLaunchTemplateId(v string) *DescribeLaunchTemplateVersionsInput { - s.LaunchTemplateId = &v - return s -} - -// SetLaunchTemplateName sets the LaunchTemplateName field's value. -func (s *DescribeLaunchTemplateVersionsInput) SetLaunchTemplateName(v string) *DescribeLaunchTemplateVersionsInput { - s.LaunchTemplateName = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeLaunchTemplateVersionsInput) SetMaxResults(v int64) *DescribeLaunchTemplateVersionsInput { - s.MaxResults = &v - return s -} - -// SetMaxVersion sets the MaxVersion field's value. -func (s *DescribeLaunchTemplateVersionsInput) SetMaxVersion(v string) *DescribeLaunchTemplateVersionsInput { - s.MaxVersion = &v - return s -} - -// SetMinVersion sets the MinVersion field's value. -func (s *DescribeLaunchTemplateVersionsInput) SetMinVersion(v string) *DescribeLaunchTemplateVersionsInput { - s.MinVersion = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeLaunchTemplateVersionsInput) SetNextToken(v string) *DescribeLaunchTemplateVersionsInput { - s.NextToken = &v - return s -} - -// SetVersions sets the Versions field's value. -func (s *DescribeLaunchTemplateVersionsInput) SetVersions(v []string) *DescribeLaunchTemplateVersionsInput { - s.Versions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersionsResult type DescribeLaunchTemplateVersionsOutput struct { _ struct{} `type:"structure"` @@ -31317,18 +26793,6 @@ func (s DescribeLaunchTemplateVersionsOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetLaunchTemplateVersions sets the LaunchTemplateVersions field's value. -func (s *DescribeLaunchTemplateVersionsOutput) SetLaunchTemplateVersions(v []LaunchTemplateVersion) *DescribeLaunchTemplateVersionsOutput { - s.LaunchTemplateVersions = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeLaunchTemplateVersionsOutput) SetNextToken(v string) *DescribeLaunchTemplateVersionsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplatesRequest type DescribeLaunchTemplatesInput struct { _ struct{} `type:"structure"` @@ -31371,42 +26835,6 @@ func (s DescribeLaunchTemplatesInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeLaunchTemplatesInput) SetDryRun(v bool) *DescribeLaunchTemplatesInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeLaunchTemplatesInput) SetFilters(v []Filter) *DescribeLaunchTemplatesInput { - s.Filters = v - return s -} - -// SetLaunchTemplateIds sets the LaunchTemplateIds field's value. -func (s *DescribeLaunchTemplatesInput) SetLaunchTemplateIds(v []string) *DescribeLaunchTemplatesInput { - s.LaunchTemplateIds = v - return s -} - -// SetLaunchTemplateNames sets the LaunchTemplateNames field's value. -func (s *DescribeLaunchTemplatesInput) SetLaunchTemplateNames(v []string) *DescribeLaunchTemplatesInput { - s.LaunchTemplateNames = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeLaunchTemplatesInput) SetMaxResults(v int64) *DescribeLaunchTemplatesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeLaunchTemplatesInput) SetNextToken(v string) *DescribeLaunchTemplatesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplatesResult type DescribeLaunchTemplatesOutput struct { _ struct{} `type:"structure"` @@ -31436,18 +26864,6 @@ func (s DescribeLaunchTemplatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLaunchTemplates sets the LaunchTemplates field's value. -func (s *DescribeLaunchTemplatesOutput) SetLaunchTemplates(v []LaunchTemplate) *DescribeLaunchTemplatesOutput { - s.LaunchTemplates = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeLaunchTemplatesOutput) SetNextToken(v string) *DescribeLaunchTemplatesOutput { - s.NextToken = &v - return s -} - // Contains the parameters for DescribeMovingAddresses. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMovingAddressesRequest type DescribeMovingAddressesInput struct { @@ -31490,36 +26906,6 @@ func (s DescribeMovingAddressesInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeMovingAddressesInput) SetDryRun(v bool) *DescribeMovingAddressesInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeMovingAddressesInput) SetFilters(v []Filter) *DescribeMovingAddressesInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeMovingAddressesInput) SetMaxResults(v int64) *DescribeMovingAddressesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeMovingAddressesInput) SetNextToken(v string) *DescribeMovingAddressesInput { - s.NextToken = &v - return s -} - -// SetPublicIps sets the PublicIps field's value. -func (s *DescribeMovingAddressesInput) SetPublicIps(v []string) *DescribeMovingAddressesInput { - s.PublicIps = v - return s -} - // Contains the output of DescribeMovingAddresses. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMovingAddressesResult type DescribeMovingAddressesOutput struct { @@ -31550,18 +26936,6 @@ func (s DescribeMovingAddressesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMovingAddressStatuses sets the MovingAddressStatuses field's value. -func (s *DescribeMovingAddressesOutput) SetMovingAddressStatuses(v []MovingAddressStatus) *DescribeMovingAddressesOutput { - s.MovingAddressStatuses = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeMovingAddressesOutput) SetNextToken(v string) *DescribeMovingAddressesOutput { - s.NextToken = &v - return s -} - // Contains the parameters for DescribeNatGateways. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNatGatewaysRequest type DescribeNatGatewaysInput struct { @@ -31620,30 +26994,6 @@ func (s DescribeNatGatewaysInput) GoString() string { return s.String() } -// SetFilter sets the Filter field's value. -func (s *DescribeNatGatewaysInput) SetFilter(v []Filter) *DescribeNatGatewaysInput { - s.Filter = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeNatGatewaysInput) SetMaxResults(v int64) *DescribeNatGatewaysInput { - s.MaxResults = &v - return s -} - -// SetNatGatewayIds sets the NatGatewayIds field's value. -func (s *DescribeNatGatewaysInput) SetNatGatewayIds(v []string) *DescribeNatGatewaysInput { - s.NatGatewayIds = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeNatGatewaysInput) SetNextToken(v string) *DescribeNatGatewaysInput { - s.NextToken = &v - return s -} - // Contains the output of DescribeNatGateways. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNatGatewaysResult type DescribeNatGatewaysOutput struct { @@ -31674,18 +27024,6 @@ func (s DescribeNatGatewaysOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNatGateways sets the NatGateways field's value. -func (s *DescribeNatGatewaysOutput) SetNatGateways(v []NatGateway) *DescribeNatGatewaysOutput { - s.NatGateways = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeNatGatewaysOutput) SetNextToken(v string) *DescribeNatGatewaysOutput { - s.NextToken = &v - return s -} - // Contains the parameters for DescribeNetworkAcls. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkAclsRequest type DescribeNetworkAclsInput struct { @@ -31770,24 +27108,6 @@ func (s DescribeNetworkAclsInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeNetworkAclsInput) SetDryRun(v bool) *DescribeNetworkAclsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeNetworkAclsInput) SetFilters(v []Filter) *DescribeNetworkAclsInput { - s.Filters = v - return s -} - -// SetNetworkAclIds sets the NetworkAclIds field's value. -func (s *DescribeNetworkAclsInput) SetNetworkAclIds(v []string) *DescribeNetworkAclsInput { - s.NetworkAclIds = v - return s -} - // Contains the output of DescribeNetworkAcls. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkAclsResult type DescribeNetworkAclsOutput struct { @@ -31814,12 +27134,6 @@ func (s DescribeNetworkAclsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNetworkAcls sets the NetworkAcls field's value. -func (s *DescribeNetworkAclsOutput) SetNetworkAcls(v []NetworkAcl) *DescribeNetworkAclsOutput { - s.NetworkAcls = v - return s -} - // Contains the parameters for DescribeNetworkInterfaceAttribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaceAttributeRequest type DescribeNetworkInterfaceAttributeInput struct { @@ -31864,24 +27178,6 @@ func (s *DescribeNetworkInterfaceAttributeInput) Validate() error { return nil } -// SetAttribute sets the Attribute field's value. -func (s *DescribeNetworkInterfaceAttributeInput) SetAttribute(v NetworkInterfaceAttribute) *DescribeNetworkInterfaceAttributeInput { - s.Attribute = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DescribeNetworkInterfaceAttributeInput) SetDryRun(v bool) *DescribeNetworkInterfaceAttributeInput { - s.DryRun = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *DescribeNetworkInterfaceAttributeInput) SetNetworkInterfaceId(v string) *DescribeNetworkInterfaceAttributeInput { - s.NetworkInterfaceId = &v - return s -} - // Contains the output of DescribeNetworkInterfaceAttribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaceAttributeResult type DescribeNetworkInterfaceAttributeOutput struct { @@ -31920,36 +27216,6 @@ func (s DescribeNetworkInterfaceAttributeOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetAttachment sets the Attachment field's value. -func (s *DescribeNetworkInterfaceAttributeOutput) SetAttachment(v *NetworkInterfaceAttachment) *DescribeNetworkInterfaceAttributeOutput { - s.Attachment = v - return s -} - -// SetDescription sets the Description field's value. -func (s *DescribeNetworkInterfaceAttributeOutput) SetDescription(v *AttributeValue) *DescribeNetworkInterfaceAttributeOutput { - s.Description = v - return s -} - -// SetGroups sets the Groups field's value. -func (s *DescribeNetworkInterfaceAttributeOutput) SetGroups(v []GroupIdentifier) *DescribeNetworkInterfaceAttributeOutput { - s.Groups = v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *DescribeNetworkInterfaceAttributeOutput) SetNetworkInterfaceId(v string) *DescribeNetworkInterfaceAttributeOutput { - s.NetworkInterfaceId = &v - return s -} - -// SetSourceDestCheck sets the SourceDestCheck field's value. -func (s *DescribeNetworkInterfaceAttributeOutput) SetSourceDestCheck(v *AttributeBooleanValue) *DescribeNetworkInterfaceAttributeOutput { - s.SourceDestCheck = v - return s -} - // Contains the parameters for DescribeNetworkInterfacePermissions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacePermissionsRequest type DescribeNetworkInterfacePermissionsInput struct { @@ -31993,30 +27259,6 @@ func (s DescribeNetworkInterfacePermissionsInput) GoString() string { return s.String() } -// SetFilters sets the Filters field's value. -func (s *DescribeNetworkInterfacePermissionsInput) SetFilters(v []Filter) *DescribeNetworkInterfacePermissionsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeNetworkInterfacePermissionsInput) SetMaxResults(v int64) *DescribeNetworkInterfacePermissionsInput { - s.MaxResults = &v - return s -} - -// SetNetworkInterfacePermissionIds sets the NetworkInterfacePermissionIds field's value. -func (s *DescribeNetworkInterfacePermissionsInput) SetNetworkInterfacePermissionIds(v []string) *DescribeNetworkInterfacePermissionsInput { - s.NetworkInterfacePermissionIds = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeNetworkInterfacePermissionsInput) SetNextToken(v string) *DescribeNetworkInterfacePermissionsInput { - s.NextToken = &v - return s -} - // Contains the output for DescribeNetworkInterfacePermissions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacePermissionsResult type DescribeNetworkInterfacePermissionsOutput struct { @@ -32046,18 +27288,6 @@ func (s DescribeNetworkInterfacePermissionsOutput) SDKResponseMetadata() aws.Res return s.responseMetadata } -// SetNetworkInterfacePermissions sets the NetworkInterfacePermissions field's value. -func (s *DescribeNetworkInterfacePermissionsOutput) SetNetworkInterfacePermissions(v []NetworkInterfacePermission) *DescribeNetworkInterfacePermissionsOutput { - s.NetworkInterfacePermissions = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeNetworkInterfacePermissionsOutput) SetNextToken(v string) *DescribeNetworkInterfacePermissionsOutput { - s.NextToken = &v - return s -} - // Contains the parameters for DescribeNetworkInterfaces. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacesRequest type DescribeNetworkInterfacesInput struct { @@ -32198,24 +27428,6 @@ func (s DescribeNetworkInterfacesInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeNetworkInterfacesInput) SetDryRun(v bool) *DescribeNetworkInterfacesInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeNetworkInterfacesInput) SetFilters(v []Filter) *DescribeNetworkInterfacesInput { - s.Filters = v - return s -} - -// SetNetworkInterfaceIds sets the NetworkInterfaceIds field's value. -func (s *DescribeNetworkInterfacesInput) SetNetworkInterfaceIds(v []string) *DescribeNetworkInterfacesInput { - s.NetworkInterfaceIds = v - return s -} - // Contains the output of DescribeNetworkInterfaces. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacesResult type DescribeNetworkInterfacesOutput struct { @@ -32242,12 +27454,6 @@ func (s DescribeNetworkInterfacesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNetworkInterfaces sets the NetworkInterfaces field's value. -func (s *DescribeNetworkInterfacesOutput) SetNetworkInterfaces(v []NetworkInterface) *DescribeNetworkInterfacesOutput { - s.NetworkInterfaces = v - return s -} - // Contains the parameters for DescribePlacementGroups. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePlacementGroupsRequest type DescribePlacementGroupsInput struct { @@ -32285,24 +27491,6 @@ func (s DescribePlacementGroupsInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribePlacementGroupsInput) SetDryRun(v bool) *DescribePlacementGroupsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribePlacementGroupsInput) SetFilters(v []Filter) *DescribePlacementGroupsInput { - s.Filters = v - return s -} - -// SetGroupNames sets the GroupNames field's value. -func (s *DescribePlacementGroupsInput) SetGroupNames(v []string) *DescribePlacementGroupsInput { - s.GroupNames = v - return s -} - // Contains the output of DescribePlacementGroups. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePlacementGroupsResult type DescribePlacementGroupsOutput struct { @@ -32329,12 +27517,6 @@ func (s DescribePlacementGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPlacementGroups sets the PlacementGroups field's value. -func (s *DescribePlacementGroupsOutput) SetPlacementGroups(v []PlacementGroup) *DescribePlacementGroupsOutput { - s.PlacementGroups = v - return s -} - // Contains the parameters for DescribePrefixLists. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePrefixListsRequest type DescribePrefixListsInput struct { @@ -32379,36 +27561,6 @@ func (s DescribePrefixListsInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribePrefixListsInput) SetDryRun(v bool) *DescribePrefixListsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribePrefixListsInput) SetFilters(v []Filter) *DescribePrefixListsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribePrefixListsInput) SetMaxResults(v int64) *DescribePrefixListsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribePrefixListsInput) SetNextToken(v string) *DescribePrefixListsInput { - s.NextToken = &v - return s -} - -// SetPrefixListIds sets the PrefixListIds field's value. -func (s *DescribePrefixListsInput) SetPrefixListIds(v []string) *DescribePrefixListsInput { - s.PrefixListIds = v - return s -} - // Contains the output of DescribePrefixLists. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePrefixListsResult type DescribePrefixListsOutput struct { @@ -32439,18 +27591,6 @@ func (s DescribePrefixListsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribePrefixListsOutput) SetNextToken(v string) *DescribePrefixListsOutput { - s.NextToken = &v - return s -} - -// SetPrefixLists sets the PrefixLists field's value. -func (s *DescribePrefixListsOutput) SetPrefixLists(v []PrefixList) *DescribePrefixListsOutput { - s.PrefixLists = v - return s -} - // Contains the parameters for DescribeRegions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRegionsRequest type DescribeRegionsInput struct { @@ -32483,24 +27623,6 @@ func (s DescribeRegionsInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeRegionsInput) SetDryRun(v bool) *DescribeRegionsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeRegionsInput) SetFilters(v []Filter) *DescribeRegionsInput { - s.Filters = v - return s -} - -// SetRegionNames sets the RegionNames field's value. -func (s *DescribeRegionsInput) SetRegionNames(v []string) *DescribeRegionsInput { - s.RegionNames = v - return s -} - // Contains the output of DescribeRegions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRegionsResult type DescribeRegionsOutput struct { @@ -32527,12 +27649,6 @@ func (s DescribeRegionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRegions sets the Regions field's value. -func (s *DescribeRegionsOutput) SetRegions(v []Region) *DescribeRegionsOutput { - s.Regions = v - return s -} - // Contains the parameters for DescribeReservedInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesRequest type DescribeReservedInstancesInput struct { @@ -32623,36 +27739,6 @@ func (s DescribeReservedInstancesInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeReservedInstancesInput) SetDryRun(v bool) *DescribeReservedInstancesInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeReservedInstancesInput) SetFilters(v []Filter) *DescribeReservedInstancesInput { - s.Filters = v - return s -} - -// SetOfferingClass sets the OfferingClass field's value. -func (s *DescribeReservedInstancesInput) SetOfferingClass(v OfferingClassType) *DescribeReservedInstancesInput { - s.OfferingClass = v - return s -} - -// SetOfferingType sets the OfferingType field's value. -func (s *DescribeReservedInstancesInput) SetOfferingType(v OfferingTypeValues) *DescribeReservedInstancesInput { - s.OfferingType = v - return s -} - -// SetReservedInstancesIds sets the ReservedInstancesIds field's value. -func (s *DescribeReservedInstancesInput) SetReservedInstancesIds(v []string) *DescribeReservedInstancesInput { - s.ReservedInstancesIds = v - return s -} - // Contains the parameters for DescribeReservedInstancesListings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesListingsRequest type DescribeReservedInstancesListingsInput struct { @@ -32687,24 +27773,6 @@ func (s DescribeReservedInstancesListingsInput) GoString() string { return s.String() } -// SetFilters sets the Filters field's value. -func (s *DescribeReservedInstancesListingsInput) SetFilters(v []Filter) *DescribeReservedInstancesListingsInput { - s.Filters = v - return s -} - -// SetReservedInstancesId sets the ReservedInstancesId field's value. -func (s *DescribeReservedInstancesListingsInput) SetReservedInstancesId(v string) *DescribeReservedInstancesListingsInput { - s.ReservedInstancesId = &v - return s -} - -// SetReservedInstancesListingId sets the ReservedInstancesListingId field's value. -func (s *DescribeReservedInstancesListingsInput) SetReservedInstancesListingId(v string) *DescribeReservedInstancesListingsInput { - s.ReservedInstancesListingId = &v - return s -} - // Contains the output of DescribeReservedInstancesListings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesListingsResult type DescribeReservedInstancesListingsOutput struct { @@ -32731,12 +27799,6 @@ func (s DescribeReservedInstancesListingsOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetReservedInstancesListings sets the ReservedInstancesListings field's value. -func (s *DescribeReservedInstancesListingsOutput) SetReservedInstancesListings(v []ReservedInstancesListing) *DescribeReservedInstancesListingsOutput { - s.ReservedInstancesListings = v - return s -} - // Contains the parameters for DescribeReservedInstancesModifications. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesModificationsRequest type DescribeReservedInstancesModificationsInput struct { @@ -32795,24 +27857,6 @@ func (s DescribeReservedInstancesModificationsInput) GoString() string { return s.String() } -// SetFilters sets the Filters field's value. -func (s *DescribeReservedInstancesModificationsInput) SetFilters(v []Filter) *DescribeReservedInstancesModificationsInput { - s.Filters = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeReservedInstancesModificationsInput) SetNextToken(v string) *DescribeReservedInstancesModificationsInput { - s.NextToken = &v - return s -} - -// SetReservedInstancesModificationIds sets the ReservedInstancesModificationIds field's value. -func (s *DescribeReservedInstancesModificationsInput) SetReservedInstancesModificationIds(v []string) *DescribeReservedInstancesModificationsInput { - s.ReservedInstancesModificationIds = v - return s -} - // Contains the output of DescribeReservedInstancesModifications. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesModificationsResult type DescribeReservedInstancesModificationsOutput struct { @@ -32843,18 +27887,6 @@ func (s DescribeReservedInstancesModificationsOutput) SDKResponseMetadata() aws. return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeReservedInstancesModificationsOutput) SetNextToken(v string) *DescribeReservedInstancesModificationsOutput { - s.NextToken = &v - return s -} - -// SetReservedInstancesModifications sets the ReservedInstancesModifications field's value. -func (s *DescribeReservedInstancesModificationsOutput) SetReservedInstancesModifications(v []ReservedInstancesModification) *DescribeReservedInstancesModificationsOutput { - s.ReservedInstancesModifications = v - return s -} - // Contains the parameters for DescribeReservedInstancesOfferings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesOfferingsRequest type DescribeReservedInstancesOfferingsInput struct { @@ -32975,96 +28007,6 @@ func (s DescribeReservedInstancesOfferingsInput) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *DescribeReservedInstancesOfferingsInput) SetAvailabilityZone(v string) *DescribeReservedInstancesOfferingsInput { - s.AvailabilityZone = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DescribeReservedInstancesOfferingsInput) SetDryRun(v bool) *DescribeReservedInstancesOfferingsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeReservedInstancesOfferingsInput) SetFilters(v []Filter) *DescribeReservedInstancesOfferingsInput { - s.Filters = v - return s -} - -// SetIncludeMarketplace sets the IncludeMarketplace field's value. -func (s *DescribeReservedInstancesOfferingsInput) SetIncludeMarketplace(v bool) *DescribeReservedInstancesOfferingsInput { - s.IncludeMarketplace = &v - return s -} - -// SetInstanceTenancy sets the InstanceTenancy field's value. -func (s *DescribeReservedInstancesOfferingsInput) SetInstanceTenancy(v Tenancy) *DescribeReservedInstancesOfferingsInput { - s.InstanceTenancy = v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *DescribeReservedInstancesOfferingsInput) SetInstanceType(v InstanceType) *DescribeReservedInstancesOfferingsInput { - s.InstanceType = v - return s -} - -// SetMaxDuration sets the MaxDuration field's value. -func (s *DescribeReservedInstancesOfferingsInput) SetMaxDuration(v int64) *DescribeReservedInstancesOfferingsInput { - s.MaxDuration = &v - return s -} - -// SetMaxInstanceCount sets the MaxInstanceCount field's value. -func (s *DescribeReservedInstancesOfferingsInput) SetMaxInstanceCount(v int64) *DescribeReservedInstancesOfferingsInput { - s.MaxInstanceCount = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeReservedInstancesOfferingsInput) SetMaxResults(v int64) *DescribeReservedInstancesOfferingsInput { - s.MaxResults = &v - return s -} - -// SetMinDuration sets the MinDuration field's value. -func (s *DescribeReservedInstancesOfferingsInput) SetMinDuration(v int64) *DescribeReservedInstancesOfferingsInput { - s.MinDuration = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeReservedInstancesOfferingsInput) SetNextToken(v string) *DescribeReservedInstancesOfferingsInput { - s.NextToken = &v - return s -} - -// SetOfferingClass sets the OfferingClass field's value. -func (s *DescribeReservedInstancesOfferingsInput) SetOfferingClass(v OfferingClassType) *DescribeReservedInstancesOfferingsInput { - s.OfferingClass = v - return s -} - -// SetOfferingType sets the OfferingType field's value. -func (s *DescribeReservedInstancesOfferingsInput) SetOfferingType(v OfferingTypeValues) *DescribeReservedInstancesOfferingsInput { - s.OfferingType = v - return s -} - -// SetProductDescription sets the ProductDescription field's value. -func (s *DescribeReservedInstancesOfferingsInput) SetProductDescription(v RIProductDescription) *DescribeReservedInstancesOfferingsInput { - s.ProductDescription = v - return s -} - -// SetReservedInstancesOfferingIds sets the ReservedInstancesOfferingIds field's value. -func (s *DescribeReservedInstancesOfferingsInput) SetReservedInstancesOfferingIds(v []string) *DescribeReservedInstancesOfferingsInput { - s.ReservedInstancesOfferingIds = v - return s -} - // Contains the output of DescribeReservedInstancesOfferings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesOfferingsResult type DescribeReservedInstancesOfferingsOutput struct { @@ -33095,18 +28037,6 @@ func (s DescribeReservedInstancesOfferingsOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeReservedInstancesOfferingsOutput) SetNextToken(v string) *DescribeReservedInstancesOfferingsOutput { - s.NextToken = &v - return s -} - -// SetReservedInstancesOfferings sets the ReservedInstancesOfferings field's value. -func (s *DescribeReservedInstancesOfferingsOutput) SetReservedInstancesOfferings(v []ReservedInstancesOffering) *DescribeReservedInstancesOfferingsOutput { - s.ReservedInstancesOfferings = v - return s -} - // Contains the output for DescribeReservedInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesResult type DescribeReservedInstancesOutput struct { @@ -33133,12 +28063,6 @@ func (s DescribeReservedInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReservedInstances sets the ReservedInstances field's value. -func (s *DescribeReservedInstancesOutput) SetReservedInstances(v []ReservedInstances) *DescribeReservedInstancesOutput { - s.ReservedInstances = v - return s -} - // Contains the parameters for DescribeRouteTables. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRouteTablesRequest type DescribeRouteTablesInput struct { @@ -33234,24 +28158,6 @@ func (s DescribeRouteTablesInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeRouteTablesInput) SetDryRun(v bool) *DescribeRouteTablesInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeRouteTablesInput) SetFilters(v []Filter) *DescribeRouteTablesInput { - s.Filters = v - return s -} - -// SetRouteTableIds sets the RouteTableIds field's value. -func (s *DescribeRouteTablesInput) SetRouteTableIds(v []string) *DescribeRouteTablesInput { - s.RouteTableIds = v - return s -} - // Contains the output of DescribeRouteTables. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRouteTablesResult type DescribeRouteTablesOutput struct { @@ -33278,12 +28184,6 @@ func (s DescribeRouteTablesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRouteTables sets the RouteTables field's value. -func (s *DescribeRouteTablesOutput) SetRouteTables(v []RouteTable) *DescribeRouteTablesOutput { - s.RouteTables = v - return s -} - // Contains the parameters for DescribeScheduledInstanceAvailability. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstanceAvailabilityRequest type DescribeScheduledInstanceAvailabilityInput struct { @@ -33368,54 +28268,6 @@ func (s *DescribeScheduledInstanceAvailabilityInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DescribeScheduledInstanceAvailabilityInput) SetDryRun(v bool) *DescribeScheduledInstanceAvailabilityInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeScheduledInstanceAvailabilityInput) SetFilters(v []Filter) *DescribeScheduledInstanceAvailabilityInput { - s.Filters = v - return s -} - -// SetFirstSlotStartTimeRange sets the FirstSlotStartTimeRange field's value. -func (s *DescribeScheduledInstanceAvailabilityInput) SetFirstSlotStartTimeRange(v *SlotDateTimeRangeRequest) *DescribeScheduledInstanceAvailabilityInput { - s.FirstSlotStartTimeRange = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeScheduledInstanceAvailabilityInput) SetMaxResults(v int64) *DescribeScheduledInstanceAvailabilityInput { - s.MaxResults = &v - return s -} - -// SetMaxSlotDurationInHours sets the MaxSlotDurationInHours field's value. -func (s *DescribeScheduledInstanceAvailabilityInput) SetMaxSlotDurationInHours(v int64) *DescribeScheduledInstanceAvailabilityInput { - s.MaxSlotDurationInHours = &v - return s -} - -// SetMinSlotDurationInHours sets the MinSlotDurationInHours field's value. -func (s *DescribeScheduledInstanceAvailabilityInput) SetMinSlotDurationInHours(v int64) *DescribeScheduledInstanceAvailabilityInput { - s.MinSlotDurationInHours = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeScheduledInstanceAvailabilityInput) SetNextToken(v string) *DescribeScheduledInstanceAvailabilityInput { - s.NextToken = &v - return s -} - -// SetRecurrence sets the Recurrence field's value. -func (s *DescribeScheduledInstanceAvailabilityInput) SetRecurrence(v *ScheduledInstanceRecurrenceRequest) *DescribeScheduledInstanceAvailabilityInput { - s.Recurrence = v - return s -} - // Contains the output of DescribeScheduledInstanceAvailability. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstanceAvailabilityResult type DescribeScheduledInstanceAvailabilityOutput struct { @@ -33446,18 +28298,6 @@ func (s DescribeScheduledInstanceAvailabilityOutput) SDKResponseMetadata() aws.R return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeScheduledInstanceAvailabilityOutput) SetNextToken(v string) *DescribeScheduledInstanceAvailabilityOutput { - s.NextToken = &v - return s -} - -// SetScheduledInstanceAvailabilitySet sets the ScheduledInstanceAvailabilitySet field's value. -func (s *DescribeScheduledInstanceAvailabilityOutput) SetScheduledInstanceAvailabilitySet(v []ScheduledInstanceAvailability) *DescribeScheduledInstanceAvailabilityOutput { - s.ScheduledInstanceAvailabilitySet = v - return s -} - // Contains the parameters for DescribeScheduledInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstancesRequest type DescribeScheduledInstancesInput struct { @@ -33505,42 +28345,6 @@ func (s DescribeScheduledInstancesInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeScheduledInstancesInput) SetDryRun(v bool) *DescribeScheduledInstancesInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeScheduledInstancesInput) SetFilters(v []Filter) *DescribeScheduledInstancesInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeScheduledInstancesInput) SetMaxResults(v int64) *DescribeScheduledInstancesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeScheduledInstancesInput) SetNextToken(v string) *DescribeScheduledInstancesInput { - s.NextToken = &v - return s -} - -// SetScheduledInstanceIds sets the ScheduledInstanceIds field's value. -func (s *DescribeScheduledInstancesInput) SetScheduledInstanceIds(v []string) *DescribeScheduledInstancesInput { - s.ScheduledInstanceIds = v - return s -} - -// SetSlotStartTimeRange sets the SlotStartTimeRange field's value. -func (s *DescribeScheduledInstancesInput) SetSlotStartTimeRange(v *SlotStartTimeRangeRequest) *DescribeScheduledInstancesInput { - s.SlotStartTimeRange = v - return s -} - // Contains the output of DescribeScheduledInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstancesResult type DescribeScheduledInstancesOutput struct { @@ -33571,18 +28375,6 @@ func (s DescribeScheduledInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeScheduledInstancesOutput) SetNextToken(v string) *DescribeScheduledInstancesOutput { - s.NextToken = &v - return s -} - -// SetScheduledInstanceSet sets the ScheduledInstanceSet field's value. -func (s *DescribeScheduledInstancesOutput) SetScheduledInstanceSet(v []ScheduledInstance) *DescribeScheduledInstancesOutput { - s.ScheduledInstanceSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupReferencesRequest type DescribeSecurityGroupReferencesInput struct { _ struct{} `type:"structure"` @@ -33623,18 +28415,6 @@ func (s *DescribeSecurityGroupReferencesInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DescribeSecurityGroupReferencesInput) SetDryRun(v bool) *DescribeSecurityGroupReferencesInput { - s.DryRun = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *DescribeSecurityGroupReferencesInput) SetGroupId(v []string) *DescribeSecurityGroupReferencesInput { - s.GroupId = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupReferencesResult type DescribeSecurityGroupReferencesOutput struct { _ struct{} `type:"structure"` @@ -33660,12 +28440,6 @@ func (s DescribeSecurityGroupReferencesOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetSecurityGroupReferenceSet sets the SecurityGroupReferenceSet field's value. -func (s *DescribeSecurityGroupReferencesOutput) SetSecurityGroupReferenceSet(v []SecurityGroupReference) *DescribeSecurityGroupReferencesOutput { - s.SecurityGroupReferenceSet = v - return s -} - // Contains the parameters for DescribeSecurityGroups. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupsRequest type DescribeSecurityGroupsInput struct { @@ -33783,42 +28557,6 @@ func (s DescribeSecurityGroupsInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeSecurityGroupsInput) SetDryRun(v bool) *DescribeSecurityGroupsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeSecurityGroupsInput) SetFilters(v []Filter) *DescribeSecurityGroupsInput { - s.Filters = v - return s -} - -// SetGroupIds sets the GroupIds field's value. -func (s *DescribeSecurityGroupsInput) SetGroupIds(v []string) *DescribeSecurityGroupsInput { - s.GroupIds = v - return s -} - -// SetGroupNames sets the GroupNames field's value. -func (s *DescribeSecurityGroupsInput) SetGroupNames(v []string) *DescribeSecurityGroupsInput { - s.GroupNames = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeSecurityGroupsInput) SetMaxResults(v int64) *DescribeSecurityGroupsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeSecurityGroupsInput) SetNextToken(v string) *DescribeSecurityGroupsInput { - s.NextToken = &v - return s -} - // Contains the output of DescribeSecurityGroups. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupsResult type DescribeSecurityGroupsOutput struct { @@ -33849,18 +28587,6 @@ func (s DescribeSecurityGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeSecurityGroupsOutput) SetNextToken(v string) *DescribeSecurityGroupsOutput { - s.NextToken = &v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *DescribeSecurityGroupsOutput) SetSecurityGroups(v []SecurityGroup) *DescribeSecurityGroupsOutput { - s.SecurityGroups = v - return s -} - // Contains the parameters for DescribeSnapshotAttribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshotAttributeRequest type DescribeSnapshotAttributeInput struct { @@ -33910,24 +28636,6 @@ func (s *DescribeSnapshotAttributeInput) Validate() error { return nil } -// SetAttribute sets the Attribute field's value. -func (s *DescribeSnapshotAttributeInput) SetAttribute(v SnapshotAttributeName) *DescribeSnapshotAttributeInput { - s.Attribute = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DescribeSnapshotAttributeInput) SetDryRun(v bool) *DescribeSnapshotAttributeInput { - s.DryRun = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *DescribeSnapshotAttributeInput) SetSnapshotId(v string) *DescribeSnapshotAttributeInput { - s.SnapshotId = &v - return s -} - // Contains the output of DescribeSnapshotAttribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshotAttributeResult type DescribeSnapshotAttributeOutput struct { @@ -33960,24 +28668,6 @@ func (s DescribeSnapshotAttributeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreateVolumePermissions sets the CreateVolumePermissions field's value. -func (s *DescribeSnapshotAttributeOutput) SetCreateVolumePermissions(v []CreateVolumePermission) *DescribeSnapshotAttributeOutput { - s.CreateVolumePermissions = v - return s -} - -// SetProductCodes sets the ProductCodes field's value. -func (s *DescribeSnapshotAttributeOutput) SetProductCodes(v []ProductCode) *DescribeSnapshotAttributeOutput { - s.ProductCodes = v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *DescribeSnapshotAttributeOutput) SetSnapshotId(v string) *DescribeSnapshotAttributeOutput { - s.SnapshotId = &v - return s -} - // Contains the parameters for DescribeSnapshots. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshotsRequest type DescribeSnapshotsInput struct { @@ -34070,48 +28760,6 @@ func (s DescribeSnapshotsInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeSnapshotsInput) SetDryRun(v bool) *DescribeSnapshotsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeSnapshotsInput) SetFilters(v []Filter) *DescribeSnapshotsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeSnapshotsInput) SetMaxResults(v int64) *DescribeSnapshotsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeSnapshotsInput) SetNextToken(v string) *DescribeSnapshotsInput { - s.NextToken = &v - return s -} - -// SetOwnerIds sets the OwnerIds field's value. -func (s *DescribeSnapshotsInput) SetOwnerIds(v []string) *DescribeSnapshotsInput { - s.OwnerIds = v - return s -} - -// SetRestorableByUserIds sets the RestorableByUserIds field's value. -func (s *DescribeSnapshotsInput) SetRestorableByUserIds(v []string) *DescribeSnapshotsInput { - s.RestorableByUserIds = v - return s -} - -// SetSnapshotIds sets the SnapshotIds field's value. -func (s *DescribeSnapshotsInput) SetSnapshotIds(v []string) *DescribeSnapshotsInput { - s.SnapshotIds = v - return s -} - // Contains the output of DescribeSnapshots. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshotsResult type DescribeSnapshotsOutput struct { @@ -34144,18 +28792,6 @@ func (s DescribeSnapshotsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeSnapshotsOutput) SetNextToken(v string) *DescribeSnapshotsOutput { - s.NextToken = &v - return s -} - -// SetSnapshots sets the Snapshots field's value. -func (s *DescribeSnapshotsOutput) SetSnapshots(v []CreateSnapshotOutput) *DescribeSnapshotsOutput { - s.Snapshots = v - return s -} - // Contains the parameters for DescribeSpotDatafeedSubscription. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotDatafeedSubscriptionRequest type DescribeSpotDatafeedSubscriptionInput struct { @@ -34178,12 +28814,6 @@ func (s DescribeSpotDatafeedSubscriptionInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeSpotDatafeedSubscriptionInput) SetDryRun(v bool) *DescribeSpotDatafeedSubscriptionInput { - s.DryRun = &v - return s -} - // Contains the output of DescribeSpotDatafeedSubscription. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotDatafeedSubscriptionResult type DescribeSpotDatafeedSubscriptionOutput struct { @@ -34210,12 +28840,6 @@ func (s DescribeSpotDatafeedSubscriptionOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetSpotDatafeedSubscription sets the SpotDatafeedSubscription field's value. -func (s *DescribeSpotDatafeedSubscriptionOutput) SetSpotDatafeedSubscription(v *SpotDatafeedSubscription) *DescribeSpotDatafeedSubscriptionOutput { - s.SpotDatafeedSubscription = v - return s -} - // Contains the parameters for DescribeSpotFleetInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetInstancesRequest type DescribeSpotFleetInstancesInput struct { @@ -34265,30 +28889,6 @@ func (s *DescribeSpotFleetInstancesInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DescribeSpotFleetInstancesInput) SetDryRun(v bool) *DescribeSpotFleetInstancesInput { - s.DryRun = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeSpotFleetInstancesInput) SetMaxResults(v int64) *DescribeSpotFleetInstancesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeSpotFleetInstancesInput) SetNextToken(v string) *DescribeSpotFleetInstancesInput { - s.NextToken = &v - return s -} - -// SetSpotFleetRequestId sets the SpotFleetRequestId field's value. -func (s *DescribeSpotFleetInstancesInput) SetSpotFleetRequestId(v string) *DescribeSpotFleetInstancesInput { - s.SpotFleetRequestId = &v - return s -} - // Contains the output of DescribeSpotFleetInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetInstancesResponse type DescribeSpotFleetInstancesOutput struct { @@ -34327,24 +28927,6 @@ func (s DescribeSpotFleetInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetActiveInstances sets the ActiveInstances field's value. -func (s *DescribeSpotFleetInstancesOutput) SetActiveInstances(v []ActiveInstance) *DescribeSpotFleetInstancesOutput { - s.ActiveInstances = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeSpotFleetInstancesOutput) SetNextToken(v string) *DescribeSpotFleetInstancesOutput { - s.NextToken = &v - return s -} - -// SetSpotFleetRequestId sets the SpotFleetRequestId field's value. -func (s *DescribeSpotFleetInstancesOutput) SetSpotFleetRequestId(v string) *DescribeSpotFleetInstancesOutput { - s.SpotFleetRequestId = &v - return s -} - // Contains the parameters for DescribeSpotFleetRequestHistory. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequestHistoryRequest type DescribeSpotFleetRequestHistoryInput struct { @@ -34406,42 +28988,6 @@ func (s *DescribeSpotFleetRequestHistoryInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DescribeSpotFleetRequestHistoryInput) SetDryRun(v bool) *DescribeSpotFleetRequestHistoryInput { - s.DryRun = &v - return s -} - -// SetEventType sets the EventType field's value. -func (s *DescribeSpotFleetRequestHistoryInput) SetEventType(v EventType) *DescribeSpotFleetRequestHistoryInput { - s.EventType = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeSpotFleetRequestHistoryInput) SetMaxResults(v int64) *DescribeSpotFleetRequestHistoryInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeSpotFleetRequestHistoryInput) SetNextToken(v string) *DescribeSpotFleetRequestHistoryInput { - s.NextToken = &v - return s -} - -// SetSpotFleetRequestId sets the SpotFleetRequestId field's value. -func (s *DescribeSpotFleetRequestHistoryInput) SetSpotFleetRequestId(v string) *DescribeSpotFleetRequestHistoryInput { - s.SpotFleetRequestId = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *DescribeSpotFleetRequestHistoryInput) SetStartTime(v time.Time) *DescribeSpotFleetRequestHistoryInput { - s.StartTime = &v - return s -} - // Contains the output of DescribeSpotFleetRequestHistory. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequestHistoryResponse type DescribeSpotFleetRequestHistoryOutput struct { @@ -34492,36 +29038,6 @@ func (s DescribeSpotFleetRequestHistoryOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetHistoryRecords sets the HistoryRecords field's value. -func (s *DescribeSpotFleetRequestHistoryOutput) SetHistoryRecords(v []HistoryRecord) *DescribeSpotFleetRequestHistoryOutput { - s.HistoryRecords = v - return s -} - -// SetLastEvaluatedTime sets the LastEvaluatedTime field's value. -func (s *DescribeSpotFleetRequestHistoryOutput) SetLastEvaluatedTime(v time.Time) *DescribeSpotFleetRequestHistoryOutput { - s.LastEvaluatedTime = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeSpotFleetRequestHistoryOutput) SetNextToken(v string) *DescribeSpotFleetRequestHistoryOutput { - s.NextToken = &v - return s -} - -// SetSpotFleetRequestId sets the SpotFleetRequestId field's value. -func (s *DescribeSpotFleetRequestHistoryOutput) SetSpotFleetRequestId(v string) *DescribeSpotFleetRequestHistoryOutput { - s.SpotFleetRequestId = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *DescribeSpotFleetRequestHistoryOutput) SetStartTime(v time.Time) *DescribeSpotFleetRequestHistoryOutput { - s.StartTime = &v - return s -} - // Contains the parameters for DescribeSpotFleetRequests. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequestsRequest type DescribeSpotFleetRequestsInput struct { @@ -34555,30 +29071,6 @@ func (s DescribeSpotFleetRequestsInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeSpotFleetRequestsInput) SetDryRun(v bool) *DescribeSpotFleetRequestsInput { - s.DryRun = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeSpotFleetRequestsInput) SetMaxResults(v int64) *DescribeSpotFleetRequestsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeSpotFleetRequestsInput) SetNextToken(v string) *DescribeSpotFleetRequestsInput { - s.NextToken = &v - return s -} - -// SetSpotFleetRequestIds sets the SpotFleetRequestIds field's value. -func (s *DescribeSpotFleetRequestsInput) SetSpotFleetRequestIds(v []string) *DescribeSpotFleetRequestsInput { - s.SpotFleetRequestIds = v - return s -} - // Contains the output of DescribeSpotFleetRequests. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequestsResponse type DescribeSpotFleetRequestsOutput struct { @@ -34611,18 +29103,6 @@ func (s DescribeSpotFleetRequestsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeSpotFleetRequestsOutput) SetNextToken(v string) *DescribeSpotFleetRequestsOutput { - s.NextToken = &v - return s -} - -// SetSpotFleetRequestConfigs sets the SpotFleetRequestConfigs field's value. -func (s *DescribeSpotFleetRequestsOutput) SetSpotFleetRequestConfigs(v []SpotFleetRequestConfig) *DescribeSpotFleetRequestsOutput { - s.SpotFleetRequestConfigs = v - return s -} - // Contains the parameters for DescribeSpotInstanceRequests. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotInstanceRequestsRequest type DescribeSpotInstanceRequestsInput struct { @@ -34760,24 +29240,6 @@ func (s DescribeSpotInstanceRequestsInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeSpotInstanceRequestsInput) SetDryRun(v bool) *DescribeSpotInstanceRequestsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeSpotInstanceRequestsInput) SetFilters(v []Filter) *DescribeSpotInstanceRequestsInput { - s.Filters = v - return s -} - -// SetSpotInstanceRequestIds sets the SpotInstanceRequestIds field's value. -func (s *DescribeSpotInstanceRequestsInput) SetSpotInstanceRequestIds(v []string) *DescribeSpotInstanceRequestsInput { - s.SpotInstanceRequestIds = v - return s -} - // Contains the output of DescribeSpotInstanceRequests. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotInstanceRequestsResult type DescribeSpotInstanceRequestsOutput struct { @@ -34804,12 +29266,6 @@ func (s DescribeSpotInstanceRequestsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSpotInstanceRequests sets the SpotInstanceRequests field's value. -func (s *DescribeSpotInstanceRequestsOutput) SetSpotInstanceRequests(v []SpotInstanceRequest) *DescribeSpotInstanceRequestsOutput { - s.SpotInstanceRequests = v - return s -} - // Contains the parameters for DescribeSpotPriceHistory. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotPriceHistoryRequest type DescribeSpotPriceHistoryInput struct { @@ -34876,60 +29332,6 @@ func (s DescribeSpotPriceHistoryInput) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *DescribeSpotPriceHistoryInput) SetAvailabilityZone(v string) *DescribeSpotPriceHistoryInput { - s.AvailabilityZone = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DescribeSpotPriceHistoryInput) SetDryRun(v bool) *DescribeSpotPriceHistoryInput { - s.DryRun = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *DescribeSpotPriceHistoryInput) SetEndTime(v time.Time) *DescribeSpotPriceHistoryInput { - s.EndTime = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeSpotPriceHistoryInput) SetFilters(v []Filter) *DescribeSpotPriceHistoryInput { - s.Filters = v - return s -} - -// SetInstanceTypes sets the InstanceTypes field's value. -func (s *DescribeSpotPriceHistoryInput) SetInstanceTypes(v []InstanceType) *DescribeSpotPriceHistoryInput { - s.InstanceTypes = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeSpotPriceHistoryInput) SetMaxResults(v int64) *DescribeSpotPriceHistoryInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeSpotPriceHistoryInput) SetNextToken(v string) *DescribeSpotPriceHistoryInput { - s.NextToken = &v - return s -} - -// SetProductDescriptions sets the ProductDescriptions field's value. -func (s *DescribeSpotPriceHistoryInput) SetProductDescriptions(v []string) *DescribeSpotPriceHistoryInput { - s.ProductDescriptions = v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *DescribeSpotPriceHistoryInput) SetStartTime(v time.Time) *DescribeSpotPriceHistoryInput { - s.StartTime = &v - return s -} - // Contains the output of DescribeSpotPriceHistory. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotPriceHistoryResult type DescribeSpotPriceHistoryOutput struct { @@ -34960,18 +29362,6 @@ func (s DescribeSpotPriceHistoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeSpotPriceHistoryOutput) SetNextToken(v string) *DescribeSpotPriceHistoryOutput { - s.NextToken = &v - return s -} - -// SetSpotPriceHistory sets the SpotPriceHistory field's value. -func (s *DescribeSpotPriceHistoryOutput) SetSpotPriceHistory(v []SpotPrice) *DescribeSpotPriceHistoryOutput { - s.SpotPriceHistory = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStaleSecurityGroupsRequest type DescribeStaleSecurityGroupsInput struct { _ struct{} `type:"structure"` @@ -35027,30 +29417,6 @@ func (s *DescribeStaleSecurityGroupsInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DescribeStaleSecurityGroupsInput) SetDryRun(v bool) *DescribeStaleSecurityGroupsInput { - s.DryRun = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeStaleSecurityGroupsInput) SetMaxResults(v int64) *DescribeStaleSecurityGroupsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeStaleSecurityGroupsInput) SetNextToken(v string) *DescribeStaleSecurityGroupsInput { - s.NextToken = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *DescribeStaleSecurityGroupsInput) SetVpcId(v string) *DescribeStaleSecurityGroupsInput { - s.VpcId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStaleSecurityGroupsResult type DescribeStaleSecurityGroupsOutput struct { _ struct{} `type:"structure"` @@ -35080,18 +29446,6 @@ func (s DescribeStaleSecurityGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeStaleSecurityGroupsOutput) SetNextToken(v string) *DescribeStaleSecurityGroupsOutput { - s.NextToken = &v - return s -} - -// SetStaleSecurityGroupSet sets the StaleSecurityGroupSet field's value. -func (s *DescribeStaleSecurityGroupsOutput) SetStaleSecurityGroupSet(v []StaleSecurityGroup) *DescribeStaleSecurityGroupsOutput { - s.StaleSecurityGroupSet = v - return s -} - // Contains the parameters for DescribeSubnets. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSubnetsRequest type DescribeSubnetsInput struct { @@ -35166,24 +29520,6 @@ func (s DescribeSubnetsInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeSubnetsInput) SetDryRun(v bool) *DescribeSubnetsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeSubnetsInput) SetFilters(v []Filter) *DescribeSubnetsInput { - s.Filters = v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *DescribeSubnetsInput) SetSubnetIds(v []string) *DescribeSubnetsInput { - s.SubnetIds = v - return s -} - // Contains the output of DescribeSubnets. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSubnetsResult type DescribeSubnetsOutput struct { @@ -35210,12 +29546,6 @@ func (s DescribeSubnetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSubnets sets the Subnets field's value. -func (s *DescribeSubnetsOutput) SetSubnets(v []Subnet) *DescribeSubnetsOutput { - s.Subnets = v - return s -} - // Contains the parameters for DescribeTags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTagsRequest type DescribeTagsInput struct { @@ -35260,30 +29590,6 @@ func (s DescribeTagsInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeTagsInput) SetDryRun(v bool) *DescribeTagsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeTagsInput) SetFilters(v []Filter) *DescribeTagsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeTagsInput) SetMaxResults(v int64) *DescribeTagsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeTagsInput) SetNextToken(v string) *DescribeTagsInput { - s.NextToken = &v - return s -} - // Contains the output of DescribeTags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTagsResult type DescribeTagsOutput struct { @@ -35314,18 +29620,6 @@ func (s DescribeTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeTagsOutput) SetNextToken(v string) *DescribeTagsOutput { - s.NextToken = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *DescribeTagsOutput) SetTags(v []TagDescription) *DescribeTagsOutput { - s.Tags = v - return s -} - // Contains the parameters for DescribeVolumeAttribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeAttributeRequest type DescribeVolumeAttributeInput struct { @@ -35370,24 +29664,6 @@ func (s *DescribeVolumeAttributeInput) Validate() error { return nil } -// SetAttribute sets the Attribute field's value. -func (s *DescribeVolumeAttributeInput) SetAttribute(v VolumeAttributeName) *DescribeVolumeAttributeInput { - s.Attribute = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DescribeVolumeAttributeInput) SetDryRun(v bool) *DescribeVolumeAttributeInput { - s.DryRun = &v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *DescribeVolumeAttributeInput) SetVolumeId(v string) *DescribeVolumeAttributeInput { - s.VolumeId = &v - return s -} - // Contains the output of DescribeVolumeAttribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeAttributeResult type DescribeVolumeAttributeOutput struct { @@ -35420,24 +29696,6 @@ func (s DescribeVolumeAttributeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAutoEnableIO sets the AutoEnableIO field's value. -func (s *DescribeVolumeAttributeOutput) SetAutoEnableIO(v *AttributeBooleanValue) *DescribeVolumeAttributeOutput { - s.AutoEnableIO = v - return s -} - -// SetProductCodes sets the ProductCodes field's value. -func (s *DescribeVolumeAttributeOutput) SetProductCodes(v []ProductCode) *DescribeVolumeAttributeOutput { - s.ProductCodes = v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *DescribeVolumeAttributeOutput) SetVolumeId(v string) *DescribeVolumeAttributeOutput { - s.VolumeId = &v - return s -} - // Contains the parameters for DescribeVolumeStatus. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeStatusRequest type DescribeVolumeStatusInput struct { @@ -35514,36 +29772,6 @@ func (s DescribeVolumeStatusInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeVolumeStatusInput) SetDryRun(v bool) *DescribeVolumeStatusInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeVolumeStatusInput) SetFilters(v []Filter) *DescribeVolumeStatusInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeVolumeStatusInput) SetMaxResults(v int64) *DescribeVolumeStatusInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeVolumeStatusInput) SetNextToken(v string) *DescribeVolumeStatusInput { - s.NextToken = &v - return s -} - -// SetVolumeIds sets the VolumeIds field's value. -func (s *DescribeVolumeStatusInput) SetVolumeIds(v []string) *DescribeVolumeStatusInput { - s.VolumeIds = v - return s -} - // Contains the output of DescribeVolumeStatus. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeStatusResult type DescribeVolumeStatusOutput struct { @@ -35574,18 +29802,6 @@ func (s DescribeVolumeStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeVolumeStatusOutput) SetNextToken(v string) *DescribeVolumeStatusOutput { - s.NextToken = &v - return s -} - -// SetVolumeStatuses sets the VolumeStatuses field's value. -func (s *DescribeVolumeStatusOutput) SetVolumeStatuses(v []VolumeStatusItem) *DescribeVolumeStatusOutput { - s.VolumeStatuses = v - return s -} - // Contains the parameters for DescribeVolumes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesRequest type DescribeVolumesInput struct { @@ -35680,36 +29896,6 @@ func (s DescribeVolumesInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeVolumesInput) SetDryRun(v bool) *DescribeVolumesInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeVolumesInput) SetFilters(v []Filter) *DescribeVolumesInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeVolumesInput) SetMaxResults(v int64) *DescribeVolumesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeVolumesInput) SetNextToken(v string) *DescribeVolumesInput { - s.NextToken = &v - return s -} - -// SetVolumeIds sets the VolumeIds field's value. -func (s *DescribeVolumesInput) SetVolumeIds(v []string) *DescribeVolumesInput { - s.VolumeIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesModificationsRequest type DescribeVolumesModificationsInput struct { _ struct{} `type:"structure"` @@ -35746,36 +29932,6 @@ func (s DescribeVolumesModificationsInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeVolumesModificationsInput) SetDryRun(v bool) *DescribeVolumesModificationsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeVolumesModificationsInput) SetFilters(v []Filter) *DescribeVolumesModificationsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeVolumesModificationsInput) SetMaxResults(v int64) *DescribeVolumesModificationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeVolumesModificationsInput) SetNextToken(v string) *DescribeVolumesModificationsInput { - s.NextToken = &v - return s -} - -// SetVolumeIds sets the VolumeIds field's value. -func (s *DescribeVolumesModificationsInput) SetVolumeIds(v []string) *DescribeVolumesModificationsInput { - s.VolumeIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesModificationsResult type DescribeVolumesModificationsOutput struct { _ struct{} `type:"structure"` @@ -35804,18 +29960,6 @@ func (s DescribeVolumesModificationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeVolumesModificationsOutput) SetNextToken(v string) *DescribeVolumesModificationsOutput { - s.NextToken = &v - return s -} - -// SetVolumesModifications sets the VolumesModifications field's value. -func (s *DescribeVolumesModificationsOutput) SetVolumesModifications(v []VolumeModification) *DescribeVolumesModificationsOutput { - s.VolumesModifications = v - return s -} - // Contains the output of DescribeVolumes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesResult type DescribeVolumesOutput struct { @@ -35848,18 +29992,6 @@ func (s DescribeVolumesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeVolumesOutput) SetNextToken(v string) *DescribeVolumesOutput { - s.NextToken = &v - return s -} - -// SetVolumes sets the Volumes field's value. -func (s *DescribeVolumesOutput) SetVolumes(v []CreateVolumeOutput) *DescribeVolumesOutput { - s.Volumes = v - return s -} - // Contains the parameters for DescribeVpcAttribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcAttributeRequest type DescribeVpcAttributeInput struct { @@ -35909,24 +30041,6 @@ func (s *DescribeVpcAttributeInput) Validate() error { return nil } -// SetAttribute sets the Attribute field's value. -func (s *DescribeVpcAttributeInput) SetAttribute(v VpcAttributeName) *DescribeVpcAttributeInput { - s.Attribute = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DescribeVpcAttributeInput) SetDryRun(v bool) *DescribeVpcAttributeInput { - s.DryRun = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *DescribeVpcAttributeInput) SetVpcId(v string) *DescribeVpcAttributeInput { - s.VpcId = &v - return s -} - // Contains the output of DescribeVpcAttribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcAttributeResult type DescribeVpcAttributeOutput struct { @@ -35963,24 +30077,6 @@ func (s DescribeVpcAttributeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEnableDnsHostnames sets the EnableDnsHostnames field's value. -func (s *DescribeVpcAttributeOutput) SetEnableDnsHostnames(v *AttributeBooleanValue) *DescribeVpcAttributeOutput { - s.EnableDnsHostnames = v - return s -} - -// SetEnableDnsSupport sets the EnableDnsSupport field's value. -func (s *DescribeVpcAttributeOutput) SetEnableDnsSupport(v *AttributeBooleanValue) *DescribeVpcAttributeOutput { - s.EnableDnsSupport = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *DescribeVpcAttributeOutput) SetVpcId(v string) *DescribeVpcAttributeOutput { - s.VpcId = &v - return s -} - // Contains the parameters for DescribeVpcClassicLinkDnsSupport. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLinkDnsSupportRequest type DescribeVpcClassicLinkDnsSupportInput struct { @@ -36025,24 +30121,6 @@ func (s *DescribeVpcClassicLinkDnsSupportInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeVpcClassicLinkDnsSupportInput) SetMaxResults(v int64) *DescribeVpcClassicLinkDnsSupportInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeVpcClassicLinkDnsSupportInput) SetNextToken(v string) *DescribeVpcClassicLinkDnsSupportInput { - s.NextToken = &v - return s -} - -// SetVpcIds sets the VpcIds field's value. -func (s *DescribeVpcClassicLinkDnsSupportInput) SetVpcIds(v []string) *DescribeVpcClassicLinkDnsSupportInput { - s.VpcIds = v - return s -} - // Contains the output of DescribeVpcClassicLinkDnsSupport. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLinkDnsSupportResult type DescribeVpcClassicLinkDnsSupportOutput struct { @@ -36072,18 +30150,6 @@ func (s DescribeVpcClassicLinkDnsSupportOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeVpcClassicLinkDnsSupportOutput) SetNextToken(v string) *DescribeVpcClassicLinkDnsSupportOutput { - s.NextToken = &v - return s -} - -// SetVpcs sets the Vpcs field's value. -func (s *DescribeVpcClassicLinkDnsSupportOutput) SetVpcs(v []ClassicLinkDnsSupport) *DescribeVpcClassicLinkDnsSupportOutput { - s.Vpcs = v - return s -} - // Contains the parameters for DescribeVpcClassicLink. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLinkRequest type DescribeVpcClassicLinkInput struct { @@ -36131,24 +30197,6 @@ func (s DescribeVpcClassicLinkInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeVpcClassicLinkInput) SetDryRun(v bool) *DescribeVpcClassicLinkInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeVpcClassicLinkInput) SetFilters(v []Filter) *DescribeVpcClassicLinkInput { - s.Filters = v - return s -} - -// SetVpcIds sets the VpcIds field's value. -func (s *DescribeVpcClassicLinkInput) SetVpcIds(v []string) *DescribeVpcClassicLinkInput { - s.VpcIds = v - return s -} - // Contains the output of DescribeVpcClassicLink. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLinkResult type DescribeVpcClassicLinkOutput struct { @@ -36175,12 +30223,6 @@ func (s DescribeVpcClassicLinkOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVpcs sets the Vpcs field's value. -func (s *DescribeVpcClassicLinkOutput) SetVpcs(v []VpcClassicLink) *DescribeVpcClassicLinkOutput { - s.Vpcs = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointConnectionNotificationsRequest type DescribeVpcEndpointConnectionNotificationsInput struct { _ struct{} `type:"structure"` @@ -36228,36 +30270,6 @@ func (s DescribeVpcEndpointConnectionNotificationsInput) GoString() string { return s.String() } -// SetConnectionNotificationId sets the ConnectionNotificationId field's value. -func (s *DescribeVpcEndpointConnectionNotificationsInput) SetConnectionNotificationId(v string) *DescribeVpcEndpointConnectionNotificationsInput { - s.ConnectionNotificationId = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DescribeVpcEndpointConnectionNotificationsInput) SetDryRun(v bool) *DescribeVpcEndpointConnectionNotificationsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeVpcEndpointConnectionNotificationsInput) SetFilters(v []Filter) *DescribeVpcEndpointConnectionNotificationsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeVpcEndpointConnectionNotificationsInput) SetMaxResults(v int64) *DescribeVpcEndpointConnectionNotificationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeVpcEndpointConnectionNotificationsInput) SetNextToken(v string) *DescribeVpcEndpointConnectionNotificationsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointConnectionNotificationsResult type DescribeVpcEndpointConnectionNotificationsOutput struct { _ struct{} `type:"structure"` @@ -36287,18 +30299,6 @@ func (s DescribeVpcEndpointConnectionNotificationsOutput) SDKResponseMetadata() return s.responseMetadata } -// SetConnectionNotificationSet sets the ConnectionNotificationSet field's value. -func (s *DescribeVpcEndpointConnectionNotificationsOutput) SetConnectionNotificationSet(v []ConnectionNotification) *DescribeVpcEndpointConnectionNotificationsOutput { - s.ConnectionNotificationSet = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeVpcEndpointConnectionNotificationsOutput) SetNextToken(v string) *DescribeVpcEndpointConnectionNotificationsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointConnectionsRequest type DescribeVpcEndpointConnectionsInput struct { _ struct{} `type:"structure"` @@ -36342,30 +30342,6 @@ func (s DescribeVpcEndpointConnectionsInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeVpcEndpointConnectionsInput) SetDryRun(v bool) *DescribeVpcEndpointConnectionsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeVpcEndpointConnectionsInput) SetFilters(v []Filter) *DescribeVpcEndpointConnectionsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeVpcEndpointConnectionsInput) SetMaxResults(v int64) *DescribeVpcEndpointConnectionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeVpcEndpointConnectionsInput) SetNextToken(v string) *DescribeVpcEndpointConnectionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointConnectionsResult type DescribeVpcEndpointConnectionsOutput struct { _ struct{} `type:"structure"` @@ -36395,18 +30371,6 @@ func (s DescribeVpcEndpointConnectionsOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeVpcEndpointConnectionsOutput) SetNextToken(v string) *DescribeVpcEndpointConnectionsOutput { - s.NextToken = &v - return s -} - -// SetVpcEndpointConnections sets the VpcEndpointConnections field's value. -func (s *DescribeVpcEndpointConnectionsOutput) SetVpcEndpointConnections(v []VpcEndpointConnection) *DescribeVpcEndpointConnectionsOutput { - s.VpcEndpointConnections = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServiceConfigurationsRequest type DescribeVpcEndpointServiceConfigurationsInput struct { _ struct{} `type:"structure"` @@ -36451,36 +30415,6 @@ func (s DescribeVpcEndpointServiceConfigurationsInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeVpcEndpointServiceConfigurationsInput) SetDryRun(v bool) *DescribeVpcEndpointServiceConfigurationsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeVpcEndpointServiceConfigurationsInput) SetFilters(v []Filter) *DescribeVpcEndpointServiceConfigurationsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeVpcEndpointServiceConfigurationsInput) SetMaxResults(v int64) *DescribeVpcEndpointServiceConfigurationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeVpcEndpointServiceConfigurationsInput) SetNextToken(v string) *DescribeVpcEndpointServiceConfigurationsInput { - s.NextToken = &v - return s -} - -// SetServiceIds sets the ServiceIds field's value. -func (s *DescribeVpcEndpointServiceConfigurationsInput) SetServiceIds(v []string) *DescribeVpcEndpointServiceConfigurationsInput { - s.ServiceIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServiceConfigurationsResult type DescribeVpcEndpointServiceConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -36510,18 +30444,6 @@ func (s DescribeVpcEndpointServiceConfigurationsOutput) SDKResponseMetadata() aw return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeVpcEndpointServiceConfigurationsOutput) SetNextToken(v string) *DescribeVpcEndpointServiceConfigurationsOutput { - s.NextToken = &v - return s -} - -// SetServiceConfigurations sets the ServiceConfigurations field's value. -func (s *DescribeVpcEndpointServiceConfigurationsOutput) SetServiceConfigurations(v []ServiceConfiguration) *DescribeVpcEndpointServiceConfigurationsOutput { - s.ServiceConfigurations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServicePermissionsRequest type DescribeVpcEndpointServicePermissionsInput struct { _ struct{} `type:"structure"` @@ -36580,36 +30502,6 @@ func (s *DescribeVpcEndpointServicePermissionsInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DescribeVpcEndpointServicePermissionsInput) SetDryRun(v bool) *DescribeVpcEndpointServicePermissionsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeVpcEndpointServicePermissionsInput) SetFilters(v []Filter) *DescribeVpcEndpointServicePermissionsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeVpcEndpointServicePermissionsInput) SetMaxResults(v int64) *DescribeVpcEndpointServicePermissionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeVpcEndpointServicePermissionsInput) SetNextToken(v string) *DescribeVpcEndpointServicePermissionsInput { - s.NextToken = &v - return s -} - -// SetServiceId sets the ServiceId field's value. -func (s *DescribeVpcEndpointServicePermissionsInput) SetServiceId(v string) *DescribeVpcEndpointServicePermissionsInput { - s.ServiceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServicePermissionsResult type DescribeVpcEndpointServicePermissionsOutput struct { _ struct{} `type:"structure"` @@ -36639,18 +30531,6 @@ func (s DescribeVpcEndpointServicePermissionsOutput) SDKResponseMetadata() aws.R return s.responseMetadata } -// SetAllowedPrincipals sets the AllowedPrincipals field's value. -func (s *DescribeVpcEndpointServicePermissionsOutput) SetAllowedPrincipals(v []AllowedPrincipal) *DescribeVpcEndpointServicePermissionsOutput { - s.AllowedPrincipals = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeVpcEndpointServicePermissionsOutput) SetNextToken(v string) *DescribeVpcEndpointServicePermissionsOutput { - s.NextToken = &v - return s -} - // Contains the parameters for DescribeVpcEndpointServices. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServicesRequest type DescribeVpcEndpointServicesInput struct { @@ -36692,36 +30572,6 @@ func (s DescribeVpcEndpointServicesInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeVpcEndpointServicesInput) SetDryRun(v bool) *DescribeVpcEndpointServicesInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeVpcEndpointServicesInput) SetFilters(v []Filter) *DescribeVpcEndpointServicesInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeVpcEndpointServicesInput) SetMaxResults(v int64) *DescribeVpcEndpointServicesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeVpcEndpointServicesInput) SetNextToken(v string) *DescribeVpcEndpointServicesInput { - s.NextToken = &v - return s -} - -// SetServiceNames sets the ServiceNames field's value. -func (s *DescribeVpcEndpointServicesInput) SetServiceNames(v []string) *DescribeVpcEndpointServicesInput { - s.ServiceNames = v - return s -} - // Contains the output of DescribeVpcEndpointServices. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServicesResult type DescribeVpcEndpointServicesOutput struct { @@ -36755,24 +30605,6 @@ func (s DescribeVpcEndpointServicesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeVpcEndpointServicesOutput) SetNextToken(v string) *DescribeVpcEndpointServicesOutput { - s.NextToken = &v - return s -} - -// SetServiceDetails sets the ServiceDetails field's value. -func (s *DescribeVpcEndpointServicesOutput) SetServiceDetails(v []ServiceDetail) *DescribeVpcEndpointServicesOutput { - s.ServiceDetails = v - return s -} - -// SetServiceNames sets the ServiceNames field's value. -func (s *DescribeVpcEndpointServicesOutput) SetServiceNames(v []string) *DescribeVpcEndpointServicesOutput { - s.ServiceNames = v - return s -} - // Contains the parameters for DescribeVpcEndpoints. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointsRequest type DescribeVpcEndpointsInput struct { @@ -36821,36 +30653,6 @@ func (s DescribeVpcEndpointsInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeVpcEndpointsInput) SetDryRun(v bool) *DescribeVpcEndpointsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeVpcEndpointsInput) SetFilters(v []Filter) *DescribeVpcEndpointsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeVpcEndpointsInput) SetMaxResults(v int64) *DescribeVpcEndpointsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeVpcEndpointsInput) SetNextToken(v string) *DescribeVpcEndpointsInput { - s.NextToken = &v - return s -} - -// SetVpcEndpointIds sets the VpcEndpointIds field's value. -func (s *DescribeVpcEndpointsInput) SetVpcEndpointIds(v []string) *DescribeVpcEndpointsInput { - s.VpcEndpointIds = v - return s -} - // Contains the output of DescribeVpcEndpoints. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointsResult type DescribeVpcEndpointsOutput struct { @@ -36881,18 +30683,6 @@ func (s DescribeVpcEndpointsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeVpcEndpointsOutput) SetNextToken(v string) *DescribeVpcEndpointsOutput { - s.NextToken = &v - return s -} - -// SetVpcEndpoints sets the VpcEndpoints field's value. -func (s *DescribeVpcEndpointsOutput) SetVpcEndpoints(v []VpcEndpoint) *DescribeVpcEndpointsOutput { - s.VpcEndpoints = v - return s -} - // Contains the parameters for DescribeVpcPeeringConnections. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcPeeringConnectionsRequest type DescribeVpcPeeringConnectionsInput struct { @@ -36964,24 +30754,6 @@ func (s DescribeVpcPeeringConnectionsInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeVpcPeeringConnectionsInput) SetDryRun(v bool) *DescribeVpcPeeringConnectionsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeVpcPeeringConnectionsInput) SetFilters(v []Filter) *DescribeVpcPeeringConnectionsInput { - s.Filters = v - return s -} - -// SetVpcPeeringConnectionIds sets the VpcPeeringConnectionIds field's value. -func (s *DescribeVpcPeeringConnectionsInput) SetVpcPeeringConnectionIds(v []string) *DescribeVpcPeeringConnectionsInput { - s.VpcPeeringConnectionIds = v - return s -} - // Contains the output of DescribeVpcPeeringConnections. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcPeeringConnectionsResult type DescribeVpcPeeringConnectionsOutput struct { @@ -37008,12 +30780,6 @@ func (s DescribeVpcPeeringConnectionsOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetVpcPeeringConnections sets the VpcPeeringConnections field's value. -func (s *DescribeVpcPeeringConnectionsOutput) SetVpcPeeringConnections(v []VpcPeeringConnection) *DescribeVpcPeeringConnectionsOutput { - s.VpcPeeringConnections = v - return s -} - // Contains the parameters for DescribeVpcs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcsRequest type DescribeVpcsInput struct { @@ -37091,24 +30857,6 @@ func (s DescribeVpcsInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeVpcsInput) SetDryRun(v bool) *DescribeVpcsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeVpcsInput) SetFilters(v []Filter) *DescribeVpcsInput { - s.Filters = v - return s -} - -// SetVpcIds sets the VpcIds field's value. -func (s *DescribeVpcsInput) SetVpcIds(v []string) *DescribeVpcsInput { - s.VpcIds = v - return s -} - // Contains the output of DescribeVpcs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcsResult type DescribeVpcsOutput struct { @@ -37135,12 +30883,6 @@ func (s DescribeVpcsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVpcs sets the Vpcs field's value. -func (s *DescribeVpcsOutput) SetVpcs(v []Vpc) *DescribeVpcsOutput { - s.Vpcs = v - return s -} - // Contains the parameters for DescribeVpnConnections. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnConnectionsRequest type DescribeVpnConnectionsInput struct { @@ -37214,24 +30956,6 @@ func (s DescribeVpnConnectionsInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeVpnConnectionsInput) SetDryRun(v bool) *DescribeVpnConnectionsInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeVpnConnectionsInput) SetFilters(v []Filter) *DescribeVpnConnectionsInput { - s.Filters = v - return s -} - -// SetVpnConnectionIds sets the VpnConnectionIds field's value. -func (s *DescribeVpnConnectionsInput) SetVpnConnectionIds(v []string) *DescribeVpnConnectionsInput { - s.VpnConnectionIds = v - return s -} - // Contains the output of DescribeVpnConnections. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnConnectionsResult type DescribeVpnConnectionsOutput struct { @@ -37258,12 +30982,6 @@ func (s DescribeVpnConnectionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVpnConnections sets the VpnConnections field's value. -func (s *DescribeVpnConnectionsOutput) SetVpnConnections(v []VpnConnection) *DescribeVpnConnectionsOutput { - s.VpnConnections = v - return s -} - // Contains the parameters for DescribeVpnGateways. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnGatewaysRequest type DescribeVpnGatewaysInput struct { @@ -37329,24 +31047,6 @@ func (s DescribeVpnGatewaysInput) GoString() string { return s.String() } -// SetDryRun sets the DryRun field's value. -func (s *DescribeVpnGatewaysInput) SetDryRun(v bool) *DescribeVpnGatewaysInput { - s.DryRun = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeVpnGatewaysInput) SetFilters(v []Filter) *DescribeVpnGatewaysInput { - s.Filters = v - return s -} - -// SetVpnGatewayIds sets the VpnGatewayIds field's value. -func (s *DescribeVpnGatewaysInput) SetVpnGatewayIds(v []string) *DescribeVpnGatewaysInput { - s.VpnGatewayIds = v - return s -} - // Contains the output of DescribeVpnGateways. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnGatewaysResult type DescribeVpnGatewaysOutput struct { @@ -37373,12 +31073,6 @@ func (s DescribeVpnGatewaysOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVpnGateways sets the VpnGateways field's value. -func (s *DescribeVpnGatewaysOutput) SetVpnGateways(v []VpnGateway) *DescribeVpnGatewaysOutput { - s.VpnGateways = v - return s -} - // Contains the parameters for DetachClassicLinkVpc. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachClassicLinkVpcRequest type DetachClassicLinkVpcInput struct { @@ -37429,24 +31123,6 @@ func (s *DetachClassicLinkVpcInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DetachClassicLinkVpcInput) SetDryRun(v bool) *DetachClassicLinkVpcInput { - s.DryRun = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *DetachClassicLinkVpcInput) SetInstanceId(v string) *DetachClassicLinkVpcInput { - s.InstanceId = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *DetachClassicLinkVpcInput) SetVpcId(v string) *DetachClassicLinkVpcInput { - s.VpcId = &v - return s -} - // Contains the output of DetachClassicLinkVpc. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachClassicLinkVpcResult type DetachClassicLinkVpcOutput struct { @@ -37473,12 +31149,6 @@ func (s DetachClassicLinkVpcOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReturn sets the Return field's value. -func (s *DetachClassicLinkVpcOutput) SetReturn(v bool) *DetachClassicLinkVpcOutput { - s.Return = &v - return s -} - // Contains the parameters for DetachInternetGateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachInternetGatewayRequest type DetachInternetGatewayInput struct { @@ -37529,24 +31199,6 @@ func (s *DetachInternetGatewayInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DetachInternetGatewayInput) SetDryRun(v bool) *DetachInternetGatewayInput { - s.DryRun = &v - return s -} - -// SetInternetGatewayId sets the InternetGatewayId field's value. -func (s *DetachInternetGatewayInput) SetInternetGatewayId(v string) *DetachInternetGatewayInput { - s.InternetGatewayId = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *DetachInternetGatewayInput) SetVpcId(v string) *DetachInternetGatewayInput { - s.VpcId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachInternetGatewayOutput type DetachInternetGatewayOutput struct { _ struct{} `type:"structure"` @@ -37613,24 +31265,6 @@ func (s *DetachNetworkInterfaceInput) Validate() error { return nil } -// SetAttachmentId sets the AttachmentId field's value. -func (s *DetachNetworkInterfaceInput) SetAttachmentId(v string) *DetachNetworkInterfaceInput { - s.AttachmentId = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DetachNetworkInterfaceInput) SetDryRun(v bool) *DetachNetworkInterfaceInput { - s.DryRun = &v - return s -} - -// SetForce sets the Force field's value. -func (s *DetachNetworkInterfaceInput) SetForce(v bool) *DetachNetworkInterfaceInput { - s.Force = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachNetworkInterfaceOutput type DetachNetworkInterfaceOutput struct { _ struct{} `type:"structure"` @@ -37709,36 +31343,6 @@ func (s *DetachVolumeInput) Validate() error { return nil } -// SetDevice sets the Device field's value. -func (s *DetachVolumeInput) SetDevice(v string) *DetachVolumeInput { - s.Device = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DetachVolumeInput) SetDryRun(v bool) *DetachVolumeInput { - s.DryRun = &v - return s -} - -// SetForce sets the Force field's value. -func (s *DetachVolumeInput) SetForce(v bool) *DetachVolumeInput { - s.Force = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *DetachVolumeInput) SetInstanceId(v string) *DetachVolumeInput { - s.InstanceId = &v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *DetachVolumeInput) SetVolumeId(v string) *DetachVolumeInput { - s.VolumeId = &v - return s -} - // Describes volume attachment details. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVolumeOutput type DetachVolumeOutput struct { @@ -37780,42 +31384,6 @@ func (s DetachVolumeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttachTime sets the AttachTime field's value. -func (s *DetachVolumeOutput) SetAttachTime(v time.Time) *DetachVolumeOutput { - s.AttachTime = &v - return s -} - -// SetDeleteOnTermination sets the DeleteOnTermination field's value. -func (s *DetachVolumeOutput) SetDeleteOnTermination(v bool) *DetachVolumeOutput { - s.DeleteOnTermination = &v - return s -} - -// SetDevice sets the Device field's value. -func (s *DetachVolumeOutput) SetDevice(v string) *DetachVolumeOutput { - s.Device = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *DetachVolumeOutput) SetInstanceId(v string) *DetachVolumeOutput { - s.InstanceId = &v - return s -} - -// SetState sets the State field's value. -func (s *DetachVolumeOutput) SetState(v VolumeAttachmentState) *DetachVolumeOutput { - s.State = v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *DetachVolumeOutput) SetVolumeId(v string) *DetachVolumeOutput { - s.VolumeId = &v - return s -} - // Contains the parameters for DetachVpnGateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVpnGatewayRequest type DetachVpnGatewayInput struct { @@ -37866,24 +31434,6 @@ func (s *DetachVpnGatewayInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DetachVpnGatewayInput) SetDryRun(v bool) *DetachVpnGatewayInput { - s.DryRun = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *DetachVpnGatewayInput) SetVpcId(v string) *DetachVpnGatewayInput { - s.VpcId = &v - return s -} - -// SetVpnGatewayId sets the VpnGatewayId field's value. -func (s *DetachVpnGatewayInput) SetVpnGatewayId(v string) *DetachVpnGatewayInput { - s.VpnGatewayId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVpnGatewayOutput type DetachVpnGatewayOutput struct { _ struct{} `type:"structure"` @@ -37928,18 +31478,6 @@ func (s DhcpConfiguration) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *DhcpConfiguration) SetKey(v string) *DhcpConfiguration { - s.Key = &v - return s -} - -// SetValues sets the Values field's value. -func (s *DhcpConfiguration) SetValues(v []AttributeValue) *DhcpConfiguration { - s.Values = v - return s -} - // Describes a set of DHCP options. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DhcpOptions type DhcpOptions struct { @@ -37965,24 +31503,6 @@ func (s DhcpOptions) GoString() string { return s.String() } -// SetDhcpConfigurations sets the DhcpConfigurations field's value. -func (s *DhcpOptions) SetDhcpConfigurations(v []DhcpConfiguration) *DhcpOptions { - s.DhcpConfigurations = v - return s -} - -// SetDhcpOptionsId sets the DhcpOptionsId field's value. -func (s *DhcpOptions) SetDhcpOptionsId(v string) *DhcpOptions { - s.DhcpOptionsId = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *DhcpOptions) SetTags(v []Tag) *DhcpOptions { - s.Tags = v - return s -} - // Contains the parameters for DisableVgwRoutePropagation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVgwRoutePropagationRequest type DisableVgwRoutePropagationInput struct { @@ -38027,18 +31547,6 @@ func (s *DisableVgwRoutePropagationInput) Validate() error { return nil } -// SetGatewayId sets the GatewayId field's value. -func (s *DisableVgwRoutePropagationInput) SetGatewayId(v string) *DisableVgwRoutePropagationInput { - s.GatewayId = &v - return s -} - -// SetRouteTableId sets the RouteTableId field's value. -func (s *DisableVgwRoutePropagationInput) SetRouteTableId(v string) *DisableVgwRoutePropagationInput { - s.RouteTableId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVgwRoutePropagationOutput type DisableVgwRoutePropagationOutput struct { _ struct{} `type:"structure"` @@ -38080,12 +31588,6 @@ func (s DisableVpcClassicLinkDnsSupportInput) GoString() string { return s.String() } -// SetVpcId sets the VpcId field's value. -func (s *DisableVpcClassicLinkDnsSupportInput) SetVpcId(v string) *DisableVpcClassicLinkDnsSupportInput { - s.VpcId = &v - return s -} - // Contains the output of DisableVpcClassicLinkDnsSupport. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLinkDnsSupportResult type DisableVpcClassicLinkDnsSupportOutput struct { @@ -38112,12 +31614,6 @@ func (s DisableVpcClassicLinkDnsSupportOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetReturn sets the Return field's value. -func (s *DisableVpcClassicLinkDnsSupportOutput) SetReturn(v bool) *DisableVpcClassicLinkDnsSupportOutput { - s.Return = &v - return s -} - // Contains the parameters for DisableVpcClassicLink. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLinkRequest type DisableVpcClassicLinkInput struct { @@ -38159,18 +31655,6 @@ func (s *DisableVpcClassicLinkInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DisableVpcClassicLinkInput) SetDryRun(v bool) *DisableVpcClassicLinkInput { - s.DryRun = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *DisableVpcClassicLinkInput) SetVpcId(v string) *DisableVpcClassicLinkInput { - s.VpcId = &v - return s -} - // Contains the output of DisableVpcClassicLink. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLinkResult type DisableVpcClassicLinkOutput struct { @@ -38197,12 +31681,6 @@ func (s DisableVpcClassicLinkOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReturn sets the Return field's value. -func (s *DisableVpcClassicLinkOutput) SetReturn(v bool) *DisableVpcClassicLinkOutput { - s.Return = &v - return s -} - // Contains the parameters for DisassociateAddress. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateAddressRequest type DisassociateAddressInput struct { @@ -38231,24 +31709,6 @@ func (s DisassociateAddressInput) GoString() string { return s.String() } -// SetAssociationId sets the AssociationId field's value. -func (s *DisassociateAddressInput) SetAssociationId(v string) *DisassociateAddressInput { - s.AssociationId = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DisassociateAddressInput) SetDryRun(v bool) *DisassociateAddressInput { - s.DryRun = &v - return s -} - -// SetPublicIp sets the PublicIp field's value. -func (s *DisassociateAddressInput) SetPublicIp(v string) *DisassociateAddressInput { - s.PublicIp = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateAddressOutput type DisassociateAddressOutput struct { _ struct{} `type:"structure"` @@ -38305,12 +31765,6 @@ func (s *DisassociateIamInstanceProfileInput) Validate() error { return nil } -// SetAssociationId sets the AssociationId field's value. -func (s *DisassociateIamInstanceProfileInput) SetAssociationId(v string) *DisassociateIamInstanceProfileInput { - s.AssociationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateIamInstanceProfileResult type DisassociateIamInstanceProfileOutput struct { _ struct{} `type:"structure"` @@ -38336,12 +31790,6 @@ func (s DisassociateIamInstanceProfileOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetIamInstanceProfileAssociation sets the IamInstanceProfileAssociation field's value. -func (s *DisassociateIamInstanceProfileOutput) SetIamInstanceProfileAssociation(v *IamInstanceProfileAssociation) *DisassociateIamInstanceProfileOutput { - s.IamInstanceProfileAssociation = v - return s -} - // Contains the parameters for DisassociateRouteTable. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateRouteTableRequest type DisassociateRouteTableInput struct { @@ -38384,18 +31832,6 @@ func (s *DisassociateRouteTableInput) Validate() error { return nil } -// SetAssociationId sets the AssociationId field's value. -func (s *DisassociateRouteTableInput) SetAssociationId(v string) *DisassociateRouteTableInput { - s.AssociationId = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DisassociateRouteTableInput) SetDryRun(v bool) *DisassociateRouteTableInput { - s.DryRun = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateRouteTableOutput type DisassociateRouteTableOutput struct { _ struct{} `type:"structure"` @@ -38452,12 +31888,6 @@ func (s *DisassociateSubnetCidrBlockInput) Validate() error { return nil } -// SetAssociationId sets the AssociationId field's value. -func (s *DisassociateSubnetCidrBlockInput) SetAssociationId(v string) *DisassociateSubnetCidrBlockInput { - s.AssociationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateSubnetCidrBlockResult type DisassociateSubnetCidrBlockOutput struct { _ struct{} `type:"structure"` @@ -38486,18 +31916,6 @@ func (s DisassociateSubnetCidrBlockOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIpv6CidrBlockAssociation sets the Ipv6CidrBlockAssociation field's value. -func (s *DisassociateSubnetCidrBlockOutput) SetIpv6CidrBlockAssociation(v *SubnetIpv6CidrBlockAssociation) *DisassociateSubnetCidrBlockOutput { - s.Ipv6CidrBlockAssociation = v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *DisassociateSubnetCidrBlockOutput) SetSubnetId(v string) *DisassociateSubnetCidrBlockOutput { - s.SubnetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateVpcCidrBlockRequest type DisassociateVpcCidrBlockInput struct { _ struct{} `type:"structure"` @@ -38532,12 +31950,6 @@ func (s *DisassociateVpcCidrBlockInput) Validate() error { return nil } -// SetAssociationId sets the AssociationId field's value. -func (s *DisassociateVpcCidrBlockInput) SetAssociationId(v string) *DisassociateVpcCidrBlockInput { - s.AssociationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateVpcCidrBlockResult type DisassociateVpcCidrBlockOutput struct { _ struct{} `type:"structure"` @@ -38569,24 +31981,6 @@ func (s DisassociateVpcCidrBlockOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCidrBlockAssociation sets the CidrBlockAssociation field's value. -func (s *DisassociateVpcCidrBlockOutput) SetCidrBlockAssociation(v *VpcCidrBlockAssociation) *DisassociateVpcCidrBlockOutput { - s.CidrBlockAssociation = v - return s -} - -// SetIpv6CidrBlockAssociation sets the Ipv6CidrBlockAssociation field's value. -func (s *DisassociateVpcCidrBlockOutput) SetIpv6CidrBlockAssociation(v *VpcIpv6CidrBlockAssociation) *DisassociateVpcCidrBlockOutput { - s.Ipv6CidrBlockAssociation = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *DisassociateVpcCidrBlockOutput) SetVpcId(v string) *DisassociateVpcCidrBlockOutput { - s.VpcId = &v - return s -} - // Describes a disk image. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DiskImage type DiskImage struct { @@ -38632,24 +32026,6 @@ func (s *DiskImage) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *DiskImage) SetDescription(v string) *DiskImage { - s.Description = &v - return s -} - -// SetImage sets the Image field's value. -func (s *DiskImage) SetImage(v *DiskImageDetail) *DiskImage { - s.Image = v - return s -} - -// SetVolume sets the Volume field's value. -func (s *DiskImage) SetVolume(v *VolumeDetail) *DiskImage { - s.Volume = v - return s -} - // Describes a disk image. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DiskImageDescription type DiskImageDescription struct { @@ -38691,30 +32067,6 @@ func (s DiskImageDescription) GoString() string { return s.String() } -// SetChecksum sets the Checksum field's value. -func (s *DiskImageDescription) SetChecksum(v string) *DiskImageDescription { - s.Checksum = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *DiskImageDescription) SetFormat(v DiskImageFormat) *DiskImageDescription { - s.Format = v - return s -} - -// SetImportManifestUrl sets the ImportManifestUrl field's value. -func (s *DiskImageDescription) SetImportManifestUrl(v string) *DiskImageDescription { - s.ImportManifestUrl = &v - return s -} - -// SetSize sets the Size field's value. -func (s *DiskImageDescription) SetSize(v int64) *DiskImageDescription { - s.Size = &v - return s -} - // Describes a disk image. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DiskImageDetail type DiskImageDetail struct { @@ -38774,24 +32126,6 @@ func (s *DiskImageDetail) Validate() error { return nil } -// SetBytes sets the Bytes field's value. -func (s *DiskImageDetail) SetBytes(v int64) *DiskImageDetail { - s.Bytes = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *DiskImageDetail) SetFormat(v DiskImageFormat) *DiskImageDetail { - s.Format = v - return s -} - -// SetImportManifestUrl sets the ImportManifestUrl field's value. -func (s *DiskImageDetail) SetImportManifestUrl(v string) *DiskImageDetail { - s.ImportManifestUrl = &v - return s -} - // Describes a disk image volume. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DiskImageVolumeDescription type DiskImageVolumeDescription struct { @@ -38816,18 +32150,6 @@ func (s DiskImageVolumeDescription) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *DiskImageVolumeDescription) SetId(v string) *DiskImageVolumeDescription { - s.Id = &v - return s -} - -// SetSize sets the Size field's value. -func (s *DiskImageVolumeDescription) SetSize(v int64) *DiskImageVolumeDescription { - s.Size = &v - return s -} - // Describes a DNS entry. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DnsEntry type DnsEntry struct { @@ -38850,18 +32172,6 @@ func (s DnsEntry) GoString() string { return s.String() } -// SetDnsName sets the DnsName field's value. -func (s *DnsEntry) SetDnsName(v string) *DnsEntry { - s.DnsName = &v - return s -} - -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *DnsEntry) SetHostedZoneId(v string) *DnsEntry { - s.HostedZoneId = &v - return s -} - // Describes a block device for an EBS volume. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsBlockDevice type EbsBlockDevice struct { @@ -38930,48 +32240,6 @@ func (s EbsBlockDevice) GoString() string { return s.String() } -// SetDeleteOnTermination sets the DeleteOnTermination field's value. -func (s *EbsBlockDevice) SetDeleteOnTermination(v bool) *EbsBlockDevice { - s.DeleteOnTermination = &v - return s -} - -// SetEncrypted sets the Encrypted field's value. -func (s *EbsBlockDevice) SetEncrypted(v bool) *EbsBlockDevice { - s.Encrypted = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *EbsBlockDevice) SetIops(v int64) *EbsBlockDevice { - s.Iops = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *EbsBlockDevice) SetKmsKeyId(v string) *EbsBlockDevice { - s.KmsKeyId = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *EbsBlockDevice) SetSnapshotId(v string) *EbsBlockDevice { - s.SnapshotId = &v - return s -} - -// SetVolumeSize sets the VolumeSize field's value. -func (s *EbsBlockDevice) SetVolumeSize(v int64) *EbsBlockDevice { - s.VolumeSize = &v - return s -} - -// SetVolumeType sets the VolumeType field's value. -func (s *EbsBlockDevice) SetVolumeType(v VolumeType) *EbsBlockDevice { - s.VolumeType = v - return s -} - // Describes a parameter used to set up an EBS volume in a block device mapping. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsInstanceBlockDevice type EbsInstanceBlockDevice struct { @@ -39000,30 +32268,6 @@ func (s EbsInstanceBlockDevice) GoString() string { return s.String() } -// SetAttachTime sets the AttachTime field's value. -func (s *EbsInstanceBlockDevice) SetAttachTime(v time.Time) *EbsInstanceBlockDevice { - s.AttachTime = &v - return s -} - -// SetDeleteOnTermination sets the DeleteOnTermination field's value. -func (s *EbsInstanceBlockDevice) SetDeleteOnTermination(v bool) *EbsInstanceBlockDevice { - s.DeleteOnTermination = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *EbsInstanceBlockDevice) SetStatus(v AttachmentStatus) *EbsInstanceBlockDevice { - s.Status = v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *EbsInstanceBlockDevice) SetVolumeId(v string) *EbsInstanceBlockDevice { - s.VolumeId = &v - return s -} - // Describes information used to set up an EBS volume specified in a block device // mapping. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsInstanceBlockDeviceSpecification @@ -39047,18 +32291,6 @@ func (s EbsInstanceBlockDeviceSpecification) GoString() string { return s.String() } -// SetDeleteOnTermination sets the DeleteOnTermination field's value. -func (s *EbsInstanceBlockDeviceSpecification) SetDeleteOnTermination(v bool) *EbsInstanceBlockDeviceSpecification { - s.DeleteOnTermination = &v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *EbsInstanceBlockDeviceSpecification) SetVolumeId(v string) *EbsInstanceBlockDeviceSpecification { - s.VolumeId = &v - return s -} - // Describes an egress-only Internet gateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EgressOnlyInternetGateway type EgressOnlyInternetGateway struct { @@ -39081,18 +32313,6 @@ func (s EgressOnlyInternetGateway) GoString() string { return s.String() } -// SetAttachments sets the Attachments field's value. -func (s *EgressOnlyInternetGateway) SetAttachments(v []InternetGatewayAttachment) *EgressOnlyInternetGateway { - s.Attachments = v - return s -} - -// SetEgressOnlyInternetGatewayId sets the EgressOnlyInternetGatewayId field's value. -func (s *EgressOnlyInternetGateway) SetEgressOnlyInternetGatewayId(v string) *EgressOnlyInternetGateway { - s.EgressOnlyInternetGatewayId = &v - return s -} - // Describes the association between an instance and an Elastic GPU. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpuAssociation type ElasticGpuAssociation struct { @@ -39121,30 +32341,6 @@ func (s ElasticGpuAssociation) GoString() string { return s.String() } -// SetElasticGpuAssociationId sets the ElasticGpuAssociationId field's value. -func (s *ElasticGpuAssociation) SetElasticGpuAssociationId(v string) *ElasticGpuAssociation { - s.ElasticGpuAssociationId = &v - return s -} - -// SetElasticGpuAssociationState sets the ElasticGpuAssociationState field's value. -func (s *ElasticGpuAssociation) SetElasticGpuAssociationState(v string) *ElasticGpuAssociation { - s.ElasticGpuAssociationState = &v - return s -} - -// SetElasticGpuAssociationTime sets the ElasticGpuAssociationTime field's value. -func (s *ElasticGpuAssociation) SetElasticGpuAssociationTime(v string) *ElasticGpuAssociation { - s.ElasticGpuAssociationTime = &v - return s -} - -// SetElasticGpuId sets the ElasticGpuId field's value. -func (s *ElasticGpuAssociation) SetElasticGpuId(v string) *ElasticGpuAssociation { - s.ElasticGpuId = &v - return s -} - // Describes the status of an Elastic GPU. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpuHealth type ElasticGpuHealth struct { @@ -39164,12 +32360,6 @@ func (s ElasticGpuHealth) GoString() string { return s.String() } -// SetStatus sets the Status field's value. -func (s *ElasticGpuHealth) SetStatus(v ElasticGpuStatus) *ElasticGpuHealth { - s.Status = v - return s -} - // A specification for an Elastic GPU. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpuSpecification type ElasticGpuSpecification struct { @@ -39205,12 +32395,6 @@ func (s *ElasticGpuSpecification) Validate() error { return nil } -// SetType sets the Type field's value. -func (s *ElasticGpuSpecification) SetType(v string) *ElasticGpuSpecification { - s.Type = &v - return s -} - // Describes an elastic GPU. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpuSpecificationResponse type ElasticGpuSpecificationResponse struct { @@ -39230,12 +32414,6 @@ func (s ElasticGpuSpecificationResponse) GoString() string { return s.String() } -// SetType sets the Type field's value. -func (s *ElasticGpuSpecificationResponse) SetType(v string) *ElasticGpuSpecificationResponse { - s.Type = &v - return s -} - // Describes an Elastic GPU. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpus type ElasticGpus struct { @@ -39270,42 +32448,6 @@ func (s ElasticGpus) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *ElasticGpus) SetAvailabilityZone(v string) *ElasticGpus { - s.AvailabilityZone = &v - return s -} - -// SetElasticGpuHealth sets the ElasticGpuHealth field's value. -func (s *ElasticGpus) SetElasticGpuHealth(v *ElasticGpuHealth) *ElasticGpus { - s.ElasticGpuHealth = v - return s -} - -// SetElasticGpuId sets the ElasticGpuId field's value. -func (s *ElasticGpus) SetElasticGpuId(v string) *ElasticGpus { - s.ElasticGpuId = &v - return s -} - -// SetElasticGpuState sets the ElasticGpuState field's value. -func (s *ElasticGpus) SetElasticGpuState(v ElasticGpuState) *ElasticGpus { - s.ElasticGpuState = v - return s -} - -// SetElasticGpuType sets the ElasticGpuType field's value. -func (s *ElasticGpus) SetElasticGpuType(v string) *ElasticGpus { - s.ElasticGpuType = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *ElasticGpus) SetInstanceId(v string) *ElasticGpus { - s.InstanceId = &v - return s -} - // Contains the parameters for EnableVgwRoutePropagation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVgwRoutePropagationRequest type EnableVgwRoutePropagationInput struct { @@ -39350,18 +32492,6 @@ func (s *EnableVgwRoutePropagationInput) Validate() error { return nil } -// SetGatewayId sets the GatewayId field's value. -func (s *EnableVgwRoutePropagationInput) SetGatewayId(v string) *EnableVgwRoutePropagationInput { - s.GatewayId = &v - return s -} - -// SetRouteTableId sets the RouteTableId field's value. -func (s *EnableVgwRoutePropagationInput) SetRouteTableId(v string) *EnableVgwRoutePropagationInput { - s.RouteTableId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVgwRoutePropagationOutput type EnableVgwRoutePropagationOutput struct { _ struct{} `type:"structure"` @@ -39425,18 +32555,6 @@ func (s *EnableVolumeIOInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *EnableVolumeIOInput) SetDryRun(v bool) *EnableVolumeIOInput { - s.DryRun = &v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *EnableVolumeIOInput) SetVolumeId(v string) *EnableVolumeIOInput { - s.VolumeId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVolumeIOOutput type EnableVolumeIOOutput struct { _ struct{} `type:"structure"` @@ -39478,12 +32596,6 @@ func (s EnableVpcClassicLinkDnsSupportInput) GoString() string { return s.String() } -// SetVpcId sets the VpcId field's value. -func (s *EnableVpcClassicLinkDnsSupportInput) SetVpcId(v string) *EnableVpcClassicLinkDnsSupportInput { - s.VpcId = &v - return s -} - // Contains the output of EnableVpcClassicLinkDnsSupport. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLinkDnsSupportResult type EnableVpcClassicLinkDnsSupportOutput struct { @@ -39510,12 +32622,6 @@ func (s EnableVpcClassicLinkDnsSupportOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetReturn sets the Return field's value. -func (s *EnableVpcClassicLinkDnsSupportOutput) SetReturn(v bool) *EnableVpcClassicLinkDnsSupportOutput { - s.Return = &v - return s -} - // Contains the parameters for EnableVpcClassicLink. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLinkRequest type EnableVpcClassicLinkInput struct { @@ -39557,18 +32663,6 @@ func (s *EnableVpcClassicLinkInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *EnableVpcClassicLinkInput) SetDryRun(v bool) *EnableVpcClassicLinkInput { - s.DryRun = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *EnableVpcClassicLinkInput) SetVpcId(v string) *EnableVpcClassicLinkInput { - s.VpcId = &v - return s -} - // Contains the output of EnableVpcClassicLink. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLinkResult type EnableVpcClassicLinkOutput struct { @@ -39595,12 +32689,6 @@ func (s EnableVpcClassicLinkOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReturn sets the Return field's value. -func (s *EnableVpcClassicLinkOutput) SetReturn(v bool) *EnableVpcClassicLinkOutput { - s.Return = &v - return s -} - // Describes a Spot Fleet event. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EventInformation type EventInformation struct { @@ -39687,24 +32775,6 @@ func (s EventInformation) GoString() string { return s.String() } -// SetEventDescription sets the EventDescription field's value. -func (s *EventInformation) SetEventDescription(v string) *EventInformation { - s.EventDescription = &v - return s -} - -// SetEventSubType sets the EventSubType field's value. -func (s *EventInformation) SetEventSubType(v string) *EventInformation { - s.EventSubType = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *EventInformation) SetInstanceId(v string) *EventInformation { - s.InstanceId = &v - return s -} - // Describes an instance export task. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportTask type ExportTask struct { @@ -39739,42 +32809,6 @@ func (s ExportTask) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *ExportTask) SetDescription(v string) *ExportTask { - s.Description = &v - return s -} - -// SetExportTaskId sets the ExportTaskId field's value. -func (s *ExportTask) SetExportTaskId(v string) *ExportTask { - s.ExportTaskId = &v - return s -} - -// SetExportToS3Task sets the ExportToS3Task field's value. -func (s *ExportTask) SetExportToS3Task(v *ExportToS3Task) *ExportTask { - s.ExportToS3Task = v - return s -} - -// SetInstanceExportDetails sets the InstanceExportDetails field's value. -func (s *ExportTask) SetInstanceExportDetails(v *InstanceExportDetails) *ExportTask { - s.InstanceExportDetails = v - return s -} - -// SetState sets the State field's value. -func (s *ExportTask) SetState(v ExportTaskState) *ExportTask { - s.State = v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *ExportTask) SetStatusMessage(v string) *ExportTask { - s.StatusMessage = &v - return s -} - // Describes the format and location for an instance export task. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportToS3Task type ExportToS3Task struct { @@ -39805,30 +32839,6 @@ func (s ExportToS3Task) GoString() string { return s.String() } -// SetContainerFormat sets the ContainerFormat field's value. -func (s *ExportToS3Task) SetContainerFormat(v ContainerFormat) *ExportToS3Task { - s.ContainerFormat = v - return s -} - -// SetDiskImageFormat sets the DiskImageFormat field's value. -func (s *ExportToS3Task) SetDiskImageFormat(v DiskImageFormat) *ExportToS3Task { - s.DiskImageFormat = v - return s -} - -// SetS3Bucket sets the S3Bucket field's value. -func (s *ExportToS3Task) SetS3Bucket(v string) *ExportToS3Task { - s.S3Bucket = &v - return s -} - -// SetS3Key sets the S3Key field's value. -func (s *ExportToS3Task) SetS3Key(v string) *ExportToS3Task { - s.S3Key = &v - return s -} - // Describes an instance export task. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportToS3TaskSpecification type ExportToS3TaskSpecification struct { @@ -39860,30 +32870,6 @@ func (s ExportToS3TaskSpecification) GoString() string { return s.String() } -// SetContainerFormat sets the ContainerFormat field's value. -func (s *ExportToS3TaskSpecification) SetContainerFormat(v ContainerFormat) *ExportToS3TaskSpecification { - s.ContainerFormat = v - return s -} - -// SetDiskImageFormat sets the DiskImageFormat field's value. -func (s *ExportToS3TaskSpecification) SetDiskImageFormat(v DiskImageFormat) *ExportToS3TaskSpecification { - s.DiskImageFormat = v - return s -} - -// SetS3Bucket sets the S3Bucket field's value. -func (s *ExportToS3TaskSpecification) SetS3Bucket(v string) *ExportToS3TaskSpecification { - s.S3Bucket = &v - return s -} - -// SetS3Prefix sets the S3Prefix field's value. -func (s *ExportToS3TaskSpecification) SetS3Prefix(v string) *ExportToS3TaskSpecification { - s.S3Prefix = &v - return s -} - // A filter name and value pair that is used to return a more specific list // of results. Filters can be used to match a set of resources by various criteria, // such as tags, attributes, or IDs. @@ -39908,18 +32894,6 @@ func (s Filter) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *Filter) SetName(v string) *Filter { - s.Name = &v - return s -} - -// SetValues sets the Values field's value. -func (s *Filter) SetValues(v []string) *Filter { - s.Values = v - return s -} - // Describes a launch template. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetLaunchTemplateSpecification type FleetLaunchTemplateSpecification struct { @@ -39961,24 +32935,6 @@ func (s *FleetLaunchTemplateSpecification) Validate() error { return nil } -// SetLaunchTemplateId sets the LaunchTemplateId field's value. -func (s *FleetLaunchTemplateSpecification) SetLaunchTemplateId(v string) *FleetLaunchTemplateSpecification { - s.LaunchTemplateId = &v - return s -} - -// SetLaunchTemplateName sets the LaunchTemplateName field's value. -func (s *FleetLaunchTemplateSpecification) SetLaunchTemplateName(v string) *FleetLaunchTemplateSpecification { - s.LaunchTemplateName = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *FleetLaunchTemplateSpecification) SetVersion(v string) *FleetLaunchTemplateSpecification { - s.Version = &v - return s -} - // Describes a flow log. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FlowLog type FlowLog struct { @@ -40027,60 +32983,6 @@ func (s FlowLog) GoString() string { return s.String() } -// SetCreationTime sets the CreationTime field's value. -func (s *FlowLog) SetCreationTime(v time.Time) *FlowLog { - s.CreationTime = &v - return s -} - -// SetDeliverLogsErrorMessage sets the DeliverLogsErrorMessage field's value. -func (s *FlowLog) SetDeliverLogsErrorMessage(v string) *FlowLog { - s.DeliverLogsErrorMessage = &v - return s -} - -// SetDeliverLogsPermissionArn sets the DeliverLogsPermissionArn field's value. -func (s *FlowLog) SetDeliverLogsPermissionArn(v string) *FlowLog { - s.DeliverLogsPermissionArn = &v - return s -} - -// SetDeliverLogsStatus sets the DeliverLogsStatus field's value. -func (s *FlowLog) SetDeliverLogsStatus(v string) *FlowLog { - s.DeliverLogsStatus = &v - return s -} - -// SetFlowLogId sets the FlowLogId field's value. -func (s *FlowLog) SetFlowLogId(v string) *FlowLog { - s.FlowLogId = &v - return s -} - -// SetFlowLogStatus sets the FlowLogStatus field's value. -func (s *FlowLog) SetFlowLogStatus(v string) *FlowLog { - s.FlowLogStatus = &v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *FlowLog) SetLogGroupName(v string) *FlowLog { - s.LogGroupName = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *FlowLog) SetResourceId(v string) *FlowLog { - s.ResourceId = &v - return s -} - -// SetTrafficType sets the TrafficType field's value. -func (s *FlowLog) SetTrafficType(v TrafficType) *FlowLog { - s.TrafficType = v - return s -} - // Describes an Amazon FPGA image (AFI). // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FpgaImage type FpgaImage struct { @@ -40139,90 +33041,6 @@ func (s FpgaImage) GoString() string { return s.String() } -// SetCreateTime sets the CreateTime field's value. -func (s *FpgaImage) SetCreateTime(v time.Time) *FpgaImage { - s.CreateTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *FpgaImage) SetDescription(v string) *FpgaImage { - s.Description = &v - return s -} - -// SetFpgaImageGlobalId sets the FpgaImageGlobalId field's value. -func (s *FpgaImage) SetFpgaImageGlobalId(v string) *FpgaImage { - s.FpgaImageGlobalId = &v - return s -} - -// SetFpgaImageId sets the FpgaImageId field's value. -func (s *FpgaImage) SetFpgaImageId(v string) *FpgaImage { - s.FpgaImageId = &v - return s -} - -// SetName sets the Name field's value. -func (s *FpgaImage) SetName(v string) *FpgaImage { - s.Name = &v - return s -} - -// SetOwnerAlias sets the OwnerAlias field's value. -func (s *FpgaImage) SetOwnerAlias(v string) *FpgaImage { - s.OwnerAlias = &v - return s -} - -// SetOwnerId sets the OwnerId field's value. -func (s *FpgaImage) SetOwnerId(v string) *FpgaImage { - s.OwnerId = &v - return s -} - -// SetPciId sets the PciId field's value. -func (s *FpgaImage) SetPciId(v *PciId) *FpgaImage { - s.PciId = v - return s -} - -// SetProductCodes sets the ProductCodes field's value. -func (s *FpgaImage) SetProductCodes(v []ProductCode) *FpgaImage { - s.ProductCodes = v - return s -} - -// SetPublic sets the Public field's value. -func (s *FpgaImage) SetPublic(v bool) *FpgaImage { - s.Public = &v - return s -} - -// SetShellVersion sets the ShellVersion field's value. -func (s *FpgaImage) SetShellVersion(v string) *FpgaImage { - s.ShellVersion = &v - return s -} - -// SetState sets the State field's value. -func (s *FpgaImage) SetState(v *FpgaImageState) *FpgaImage { - s.State = v - return s -} - -// SetTags sets the Tags field's value. -func (s *FpgaImage) SetTags(v []Tag) *FpgaImage { - s.Tags = v - return s -} - -// SetUpdateTime sets the UpdateTime field's value. -func (s *FpgaImage) SetUpdateTime(v time.Time) *FpgaImage { - s.UpdateTime = &v - return s -} - // Describes an Amazon FPGA image (AFI) attribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FpgaImageAttribute type FpgaImageAttribute struct { @@ -40254,36 +33072,6 @@ func (s FpgaImageAttribute) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *FpgaImageAttribute) SetDescription(v string) *FpgaImageAttribute { - s.Description = &v - return s -} - -// SetFpgaImageId sets the FpgaImageId field's value. -func (s *FpgaImageAttribute) SetFpgaImageId(v string) *FpgaImageAttribute { - s.FpgaImageId = &v - return s -} - -// SetLoadPermissions sets the LoadPermissions field's value. -func (s *FpgaImageAttribute) SetLoadPermissions(v []LoadPermission) *FpgaImageAttribute { - s.LoadPermissions = v - return s -} - -// SetName sets the Name field's value. -func (s *FpgaImageAttribute) SetName(v string) *FpgaImageAttribute { - s.Name = &v - return s -} - -// SetProductCodes sets the ProductCodes field's value. -func (s *FpgaImageAttribute) SetProductCodes(v []ProductCode) *FpgaImageAttribute { - s.ProductCodes = v - return s -} - // Describes the state of the bitstream generation process for an Amazon FPGA // image (AFI). // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FpgaImageState @@ -40315,18 +33103,6 @@ func (s FpgaImageState) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *FpgaImageState) SetCode(v FpgaImageStateCode) *FpgaImageState { - s.Code = v - return s -} - -// SetMessage sets the Message field's value. -func (s *FpgaImageState) SetMessage(v string) *FpgaImageState { - s.Message = &v - return s -} - // Contains the parameters for GetConsoleOutput. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleOutputRequest type GetConsoleOutputInput struct { @@ -40368,18 +33144,6 @@ func (s *GetConsoleOutputInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *GetConsoleOutputInput) SetDryRun(v bool) *GetConsoleOutputInput { - s.DryRun = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *GetConsoleOutputInput) SetInstanceId(v string) *GetConsoleOutputInput { - s.InstanceId = &v - return s -} - // Contains the output of GetConsoleOutput. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleOutputResult type GetConsoleOutputOutput struct { @@ -40413,24 +33177,6 @@ func (s GetConsoleOutputOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceId sets the InstanceId field's value. -func (s *GetConsoleOutputOutput) SetInstanceId(v string) *GetConsoleOutputOutput { - s.InstanceId = &v - return s -} - -// SetOutput sets the Output field's value. -func (s *GetConsoleOutputOutput) SetOutput(v string) *GetConsoleOutputOutput { - s.Output = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *GetConsoleOutputOutput) SetTimestamp(v time.Time) *GetConsoleOutputOutput { - s.Timestamp = &v - return s -} - // Contains the parameters for the request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleScreenshotRequest type GetConsoleScreenshotInput struct { @@ -40476,24 +33222,6 @@ func (s *GetConsoleScreenshotInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *GetConsoleScreenshotInput) SetDryRun(v bool) *GetConsoleScreenshotInput { - s.DryRun = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *GetConsoleScreenshotInput) SetInstanceId(v string) *GetConsoleScreenshotInput { - s.InstanceId = &v - return s -} - -// SetWakeUp sets the WakeUp field's value. -func (s *GetConsoleScreenshotInput) SetWakeUp(v bool) *GetConsoleScreenshotInput { - s.WakeUp = &v - return s -} - // Contains the output of the request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleScreenshotResult type GetConsoleScreenshotOutput struct { @@ -40523,18 +33251,6 @@ func (s GetConsoleScreenshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImageData sets the ImageData field's value. -func (s *GetConsoleScreenshotOutput) SetImageData(v string) *GetConsoleScreenshotOutput { - s.ImageData = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *GetConsoleScreenshotOutput) SetInstanceId(v string) *GetConsoleScreenshotOutput { - s.InstanceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetHostReservationPurchasePreviewRequest type GetHostReservationPurchasePreviewInput struct { _ struct{} `type:"structure"` @@ -40579,18 +33295,6 @@ func (s *GetHostReservationPurchasePreviewInput) Validate() error { return nil } -// SetHostIdSet sets the HostIdSet field's value. -func (s *GetHostReservationPurchasePreviewInput) SetHostIdSet(v []string) *GetHostReservationPurchasePreviewInput { - s.HostIdSet = v - return s -} - -// SetOfferingId sets the OfferingId field's value. -func (s *GetHostReservationPurchasePreviewInput) SetOfferingId(v string) *GetHostReservationPurchasePreviewInput { - s.OfferingId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetHostReservationPurchasePreviewResult type GetHostReservationPurchasePreviewOutput struct { _ struct{} `type:"structure"` @@ -40627,30 +33331,6 @@ func (s GetHostReservationPurchasePreviewOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *GetHostReservationPurchasePreviewOutput) SetCurrencyCode(v CurrencyCodeValues) *GetHostReservationPurchasePreviewOutput { - s.CurrencyCode = v - return s -} - -// SetPurchase sets the Purchase field's value. -func (s *GetHostReservationPurchasePreviewOutput) SetPurchase(v []Purchase) *GetHostReservationPurchasePreviewOutput { - s.Purchase = v - return s -} - -// SetTotalHourlyPrice sets the TotalHourlyPrice field's value. -func (s *GetHostReservationPurchasePreviewOutput) SetTotalHourlyPrice(v string) *GetHostReservationPurchasePreviewOutput { - s.TotalHourlyPrice = &v - return s -} - -// SetTotalUpfrontPrice sets the TotalUpfrontPrice field's value. -func (s *GetHostReservationPurchasePreviewOutput) SetTotalUpfrontPrice(v string) *GetHostReservationPurchasePreviewOutput { - s.TotalUpfrontPrice = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetLaunchTemplateDataRequest type GetLaunchTemplateDataInput struct { _ struct{} `type:"structure"` @@ -40691,18 +33371,6 @@ func (s *GetLaunchTemplateDataInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *GetLaunchTemplateDataInput) SetDryRun(v bool) *GetLaunchTemplateDataInput { - s.DryRun = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *GetLaunchTemplateDataInput) SetInstanceId(v string) *GetLaunchTemplateDataInput { - s.InstanceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetLaunchTemplateDataResult type GetLaunchTemplateDataOutput struct { _ struct{} `type:"structure"` @@ -40728,12 +33396,6 @@ func (s GetLaunchTemplateDataOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLaunchTemplateData sets the LaunchTemplateData field's value. -func (s *GetLaunchTemplateDataOutput) SetLaunchTemplateData(v *ResponseLaunchTemplateData) *GetLaunchTemplateDataOutput { - s.LaunchTemplateData = v - return s -} - // Contains the parameters for GetPasswordData. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetPasswordDataRequest type GetPasswordDataInput struct { @@ -40775,18 +33437,6 @@ func (s *GetPasswordDataInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *GetPasswordDataInput) SetDryRun(v bool) *GetPasswordDataInput { - s.DryRun = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *GetPasswordDataInput) SetInstanceId(v string) *GetPasswordDataInput { - s.InstanceId = &v - return s -} - // Contains the output of GetPasswordData. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetPasswordDataResult type GetPasswordDataOutput struct { @@ -40820,24 +33470,6 @@ func (s GetPasswordDataOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceId sets the InstanceId field's value. -func (s *GetPasswordDataOutput) SetInstanceId(v string) *GetPasswordDataOutput { - s.InstanceId = &v - return s -} - -// SetPasswordData sets the PasswordData field's value. -func (s *GetPasswordDataOutput) SetPasswordData(v string) *GetPasswordDataOutput { - s.PasswordData = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *GetPasswordDataOutput) SetTimestamp(v time.Time) *GetPasswordDataOutput { - s.Timestamp = &v - return s -} - // Contains the parameters for GetReservedInstanceExchangeQuote. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetReservedInstancesExchangeQuoteRequest type GetReservedInstancesExchangeQuoteInput struct { @@ -40890,24 +33522,6 @@ func (s *GetReservedInstancesExchangeQuoteInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *GetReservedInstancesExchangeQuoteInput) SetDryRun(v bool) *GetReservedInstancesExchangeQuoteInput { - s.DryRun = &v - return s -} - -// SetReservedInstanceIds sets the ReservedInstanceIds field's value. -func (s *GetReservedInstancesExchangeQuoteInput) SetReservedInstanceIds(v []string) *GetReservedInstancesExchangeQuoteInput { - s.ReservedInstanceIds = v - return s -} - -// SetTargetConfigurations sets the TargetConfigurations field's value. -func (s *GetReservedInstancesExchangeQuoteInput) SetTargetConfigurations(v []TargetConfigurationRequest) *GetReservedInstancesExchangeQuoteInput { - s.TargetConfigurations = v - return s -} - // Contains the output of GetReservedInstancesExchangeQuote. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetReservedInstancesExchangeQuoteResult type GetReservedInstancesExchangeQuoteOutput struct { @@ -40958,60 +33572,6 @@ func (s GetReservedInstancesExchangeQuoteOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *GetReservedInstancesExchangeQuoteOutput) SetCurrencyCode(v string) *GetReservedInstancesExchangeQuoteOutput { - s.CurrencyCode = &v - return s -} - -// SetIsValidExchange sets the IsValidExchange field's value. -func (s *GetReservedInstancesExchangeQuoteOutput) SetIsValidExchange(v bool) *GetReservedInstancesExchangeQuoteOutput { - s.IsValidExchange = &v - return s -} - -// SetOutputReservedInstancesWillExpireAt sets the OutputReservedInstancesWillExpireAt field's value. -func (s *GetReservedInstancesExchangeQuoteOutput) SetOutputReservedInstancesWillExpireAt(v time.Time) *GetReservedInstancesExchangeQuoteOutput { - s.OutputReservedInstancesWillExpireAt = &v - return s -} - -// SetPaymentDue sets the PaymentDue field's value. -func (s *GetReservedInstancesExchangeQuoteOutput) SetPaymentDue(v string) *GetReservedInstancesExchangeQuoteOutput { - s.PaymentDue = &v - return s -} - -// SetReservedInstanceValueRollup sets the ReservedInstanceValueRollup field's value. -func (s *GetReservedInstancesExchangeQuoteOutput) SetReservedInstanceValueRollup(v *ReservationValue) *GetReservedInstancesExchangeQuoteOutput { - s.ReservedInstanceValueRollup = v - return s -} - -// SetReservedInstanceValueSet sets the ReservedInstanceValueSet field's value. -func (s *GetReservedInstancesExchangeQuoteOutput) SetReservedInstanceValueSet(v []ReservedInstanceReservationValue) *GetReservedInstancesExchangeQuoteOutput { - s.ReservedInstanceValueSet = v - return s -} - -// SetTargetConfigurationValueRollup sets the TargetConfigurationValueRollup field's value. -func (s *GetReservedInstancesExchangeQuoteOutput) SetTargetConfigurationValueRollup(v *ReservationValue) *GetReservedInstancesExchangeQuoteOutput { - s.TargetConfigurationValueRollup = v - return s -} - -// SetTargetConfigurationValueSet sets the TargetConfigurationValueSet field's value. -func (s *GetReservedInstancesExchangeQuoteOutput) SetTargetConfigurationValueSet(v []TargetReservationValue) *GetReservedInstancesExchangeQuoteOutput { - s.TargetConfigurationValueSet = v - return s -} - -// SetValidationFailureReason sets the ValidationFailureReason field's value. -func (s *GetReservedInstancesExchangeQuoteOutput) SetValidationFailureReason(v string) *GetReservedInstancesExchangeQuoteOutput { - s.ValidationFailureReason = &v - return s -} - // Describes a security group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GroupIdentifier type GroupIdentifier struct { @@ -41034,18 +33594,6 @@ func (s GroupIdentifier) GoString() string { return s.String() } -// SetGroupId sets the GroupId field's value. -func (s *GroupIdentifier) SetGroupId(v string) *GroupIdentifier { - s.GroupId = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *GroupIdentifier) SetGroupName(v string) *GroupIdentifier { - s.GroupName = &v - return s -} - // Describes an event in the history of the Spot Fleet request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HistoryRecord type HistoryRecord struct { @@ -41086,24 +33634,6 @@ func (s HistoryRecord) GoString() string { return s.String() } -// SetEventInformation sets the EventInformation field's value. -func (s *HistoryRecord) SetEventInformation(v *EventInformation) *HistoryRecord { - s.EventInformation = v - return s -} - -// SetEventType sets the EventType field's value. -func (s *HistoryRecord) SetEventType(v EventType) *HistoryRecord { - s.EventType = v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *HistoryRecord) SetTimestamp(v time.Time) *HistoryRecord { - s.Timestamp = &v - return s -} - // Describes the properties of the Dedicated Host. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Host type Host struct { @@ -41150,60 +33680,6 @@ func (s Host) GoString() string { return s.String() } -// SetAutoPlacement sets the AutoPlacement field's value. -func (s *Host) SetAutoPlacement(v AutoPlacement) *Host { - s.AutoPlacement = v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *Host) SetAvailabilityZone(v string) *Host { - s.AvailabilityZone = &v - return s -} - -// SetAvailableCapacity sets the AvailableCapacity field's value. -func (s *Host) SetAvailableCapacity(v *AvailableCapacity) *Host { - s.AvailableCapacity = v - return s -} - -// SetClientToken sets the ClientToken field's value. -func (s *Host) SetClientToken(v string) *Host { - s.ClientToken = &v - return s -} - -// SetHostId sets the HostId field's value. -func (s *Host) SetHostId(v string) *Host { - s.HostId = &v - return s -} - -// SetHostProperties sets the HostProperties field's value. -func (s *Host) SetHostProperties(v *HostProperties) *Host { - s.HostProperties = v - return s -} - -// SetHostReservationId sets the HostReservationId field's value. -func (s *Host) SetHostReservationId(v string) *Host { - s.HostReservationId = &v - return s -} - -// SetInstances sets the Instances field's value. -func (s *Host) SetInstances(v []HostInstance) *Host { - s.Instances = v - return s -} - -// SetState sets the State field's value. -func (s *Host) SetState(v AllocationState) *Host { - s.State = v - return s -} - // Describes an instance running on a Dedicated Host. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HostInstance type HostInstance struct { @@ -41226,18 +33702,6 @@ func (s HostInstance) GoString() string { return s.String() } -// SetInstanceId sets the InstanceId field's value. -func (s *HostInstance) SetInstanceId(v string) *HostInstance { - s.InstanceId = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *HostInstance) SetInstanceType(v string) *HostInstance { - s.InstanceType = &v - return s -} - // Details about the Dedicated Host Reservation offering. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HostOffering type HostOffering struct { @@ -41275,48 +33739,6 @@ func (s HostOffering) GoString() string { return s.String() } -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *HostOffering) SetCurrencyCode(v CurrencyCodeValues) *HostOffering { - s.CurrencyCode = v - return s -} - -// SetDuration sets the Duration field's value. -func (s *HostOffering) SetDuration(v int64) *HostOffering { - s.Duration = &v - return s -} - -// SetHourlyPrice sets the HourlyPrice field's value. -func (s *HostOffering) SetHourlyPrice(v string) *HostOffering { - s.HourlyPrice = &v - return s -} - -// SetInstanceFamily sets the InstanceFamily field's value. -func (s *HostOffering) SetInstanceFamily(v string) *HostOffering { - s.InstanceFamily = &v - return s -} - -// SetOfferingId sets the OfferingId field's value. -func (s *HostOffering) SetOfferingId(v string) *HostOffering { - s.OfferingId = &v - return s -} - -// SetPaymentOption sets the PaymentOption field's value. -func (s *HostOffering) SetPaymentOption(v PaymentOption) *HostOffering { - s.PaymentOption = v - return s -} - -// SetUpfrontPrice sets the UpfrontPrice field's value. -func (s *HostOffering) SetUpfrontPrice(v string) *HostOffering { - s.UpfrontPrice = &v - return s -} - // Describes properties of a Dedicated Host. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HostProperties type HostProperties struct { @@ -41345,30 +33767,6 @@ func (s HostProperties) GoString() string { return s.String() } -// SetCores sets the Cores field's value. -func (s *HostProperties) SetCores(v int64) *HostProperties { - s.Cores = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *HostProperties) SetInstanceType(v string) *HostProperties { - s.InstanceType = &v - return s -} - -// SetSockets sets the Sockets field's value. -func (s *HostProperties) SetSockets(v int64) *HostProperties { - s.Sockets = &v - return s -} - -// SetTotalVCpus sets the TotalVCpus field's value. -func (s *HostProperties) SetTotalVCpus(v int64) *HostProperties { - s.TotalVCpus = &v - return s -} - // Details about the Dedicated Host Reservation and associated Dedicated Hosts. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/HostReservation type HostReservation struct { @@ -41429,84 +33827,6 @@ func (s HostReservation) GoString() string { return s.String() } -// SetCount sets the Count field's value. -func (s *HostReservation) SetCount(v int64) *HostReservation { - s.Count = &v - return s -} - -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *HostReservation) SetCurrencyCode(v CurrencyCodeValues) *HostReservation { - s.CurrencyCode = v - return s -} - -// SetDuration sets the Duration field's value. -func (s *HostReservation) SetDuration(v int64) *HostReservation { - s.Duration = &v - return s -} - -// SetEnd sets the End field's value. -func (s *HostReservation) SetEnd(v time.Time) *HostReservation { - s.End = &v - return s -} - -// SetHostIdSet sets the HostIdSet field's value. -func (s *HostReservation) SetHostIdSet(v []string) *HostReservation { - s.HostIdSet = v - return s -} - -// SetHostReservationId sets the HostReservationId field's value. -func (s *HostReservation) SetHostReservationId(v string) *HostReservation { - s.HostReservationId = &v - return s -} - -// SetHourlyPrice sets the HourlyPrice field's value. -func (s *HostReservation) SetHourlyPrice(v string) *HostReservation { - s.HourlyPrice = &v - return s -} - -// SetInstanceFamily sets the InstanceFamily field's value. -func (s *HostReservation) SetInstanceFamily(v string) *HostReservation { - s.InstanceFamily = &v - return s -} - -// SetOfferingId sets the OfferingId field's value. -func (s *HostReservation) SetOfferingId(v string) *HostReservation { - s.OfferingId = &v - return s -} - -// SetPaymentOption sets the PaymentOption field's value. -func (s *HostReservation) SetPaymentOption(v PaymentOption) *HostReservation { - s.PaymentOption = v - return s -} - -// SetStart sets the Start field's value. -func (s *HostReservation) SetStart(v time.Time) *HostReservation { - s.Start = &v - return s -} - -// SetState sets the State field's value. -func (s *HostReservation) SetState(v ReservationState) *HostReservation { - s.State = v - return s -} - -// SetUpfrontPrice sets the UpfrontPrice field's value. -func (s *HostReservation) SetUpfrontPrice(v string) *HostReservation { - s.UpfrontPrice = &v - return s -} - // Describes an IAM instance profile. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IamInstanceProfile type IamInstanceProfile struct { @@ -41529,18 +33849,6 @@ func (s IamInstanceProfile) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *IamInstanceProfile) SetArn(v string) *IamInstanceProfile { - s.Arn = &v - return s -} - -// SetId sets the Id field's value. -func (s *IamInstanceProfile) SetId(v string) *IamInstanceProfile { - s.Id = &v - return s -} - // Describes an association between an IAM instance profile and an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IamInstanceProfileAssociation type IamInstanceProfileAssociation struct { @@ -41572,36 +33880,6 @@ func (s IamInstanceProfileAssociation) GoString() string { return s.String() } -// SetAssociationId sets the AssociationId field's value. -func (s *IamInstanceProfileAssociation) SetAssociationId(v string) *IamInstanceProfileAssociation { - s.AssociationId = &v - return s -} - -// SetIamInstanceProfile sets the IamInstanceProfile field's value. -func (s *IamInstanceProfileAssociation) SetIamInstanceProfile(v *IamInstanceProfile) *IamInstanceProfileAssociation { - s.IamInstanceProfile = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *IamInstanceProfileAssociation) SetInstanceId(v string) *IamInstanceProfileAssociation { - s.InstanceId = &v - return s -} - -// SetState sets the State field's value. -func (s *IamInstanceProfileAssociation) SetState(v IamInstanceProfileAssociationState) *IamInstanceProfileAssociation { - s.State = v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *IamInstanceProfileAssociation) SetTimestamp(v time.Time) *IamInstanceProfileAssociation { - s.Timestamp = &v - return s -} - // Describes an IAM instance profile. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IamInstanceProfileSpecification type IamInstanceProfileSpecification struct { @@ -41624,18 +33902,6 @@ func (s IamInstanceProfileSpecification) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *IamInstanceProfileSpecification) SetArn(v string) *IamInstanceProfileSpecification { - s.Arn = &v - return s -} - -// SetName sets the Name field's value. -func (s *IamInstanceProfileSpecification) SetName(v string) *IamInstanceProfileSpecification { - s.Name = &v - return s -} - // Describes the ICMP type and code. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IcmpTypeCode type IcmpTypeCode struct { @@ -41658,18 +33924,6 @@ func (s IcmpTypeCode) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *IcmpTypeCode) SetCode(v int64) *IcmpTypeCode { - s.Code = &v - return s -} - -// SetType sets the Type field's value. -func (s *IcmpTypeCode) SetType(v int64) *IcmpTypeCode { - s.Type = &v - return s -} - // Describes the ID format for a resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IdFormat type IdFormat struct { @@ -41697,24 +33951,6 @@ func (s IdFormat) GoString() string { return s.String() } -// SetDeadline sets the Deadline field's value. -func (s *IdFormat) SetDeadline(v time.Time) *IdFormat { - s.Deadline = &v - return s -} - -// SetResource sets the Resource field's value. -func (s *IdFormat) SetResource(v string) *IdFormat { - s.Resource = &v - return s -} - -// SetUseLongIds sets the UseLongIds field's value. -func (s *IdFormat) SetUseLongIds(v bool) *IdFormat { - s.UseLongIds = &v - return s -} - // Describes an image. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Image type Image struct { @@ -41811,150 +34047,6 @@ func (s Image) GoString() string { return s.String() } -// SetArchitecture sets the Architecture field's value. -func (s *Image) SetArchitecture(v ArchitectureValues) *Image { - s.Architecture = v - return s -} - -// SetBlockDeviceMappings sets the BlockDeviceMappings field's value. -func (s *Image) SetBlockDeviceMappings(v []BlockDeviceMapping) *Image { - s.BlockDeviceMappings = v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *Image) SetCreationDate(v string) *Image { - s.CreationDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Image) SetDescription(v string) *Image { - s.Description = &v - return s -} - -// SetEnaSupport sets the EnaSupport field's value. -func (s *Image) SetEnaSupport(v bool) *Image { - s.EnaSupport = &v - return s -} - -// SetHypervisor sets the Hypervisor field's value. -func (s *Image) SetHypervisor(v HypervisorType) *Image { - s.Hypervisor = v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *Image) SetImageId(v string) *Image { - s.ImageId = &v - return s -} - -// SetImageLocation sets the ImageLocation field's value. -func (s *Image) SetImageLocation(v string) *Image { - s.ImageLocation = &v - return s -} - -// SetImageOwnerAlias sets the ImageOwnerAlias field's value. -func (s *Image) SetImageOwnerAlias(v string) *Image { - s.ImageOwnerAlias = &v - return s -} - -// SetImageType sets the ImageType field's value. -func (s *Image) SetImageType(v ImageTypeValues) *Image { - s.ImageType = v - return s -} - -// SetKernelId sets the KernelId field's value. -func (s *Image) SetKernelId(v string) *Image { - s.KernelId = &v - return s -} - -// SetName sets the Name field's value. -func (s *Image) SetName(v string) *Image { - s.Name = &v - return s -} - -// SetOwnerId sets the OwnerId field's value. -func (s *Image) SetOwnerId(v string) *Image { - s.OwnerId = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *Image) SetPlatform(v PlatformValues) *Image { - s.Platform = v - return s -} - -// SetProductCodes sets the ProductCodes field's value. -func (s *Image) SetProductCodes(v []ProductCode) *Image { - s.ProductCodes = v - return s -} - -// SetPublic sets the Public field's value. -func (s *Image) SetPublic(v bool) *Image { - s.Public = &v - return s -} - -// SetRamdiskId sets the RamdiskId field's value. -func (s *Image) SetRamdiskId(v string) *Image { - s.RamdiskId = &v - return s -} - -// SetRootDeviceName sets the RootDeviceName field's value. -func (s *Image) SetRootDeviceName(v string) *Image { - s.RootDeviceName = &v - return s -} - -// SetRootDeviceType sets the RootDeviceType field's value. -func (s *Image) SetRootDeviceType(v DeviceType) *Image { - s.RootDeviceType = v - return s -} - -// SetSriovNetSupport sets the SriovNetSupport field's value. -func (s *Image) SetSriovNetSupport(v string) *Image { - s.SriovNetSupport = &v - return s -} - -// SetState sets the State field's value. -func (s *Image) SetState(v ImageState) *Image { - s.State = v - return s -} - -// SetStateReason sets the StateReason field's value. -func (s *Image) SetStateReason(v *StateReason) *Image { - s.StateReason = v - return s -} - -// SetTags sets the Tags field's value. -func (s *Image) SetTags(v []Tag) *Image { - s.Tags = v - return s -} - -// SetVirtualizationType sets the VirtualizationType field's value. -func (s *Image) SetVirtualizationType(v VirtualizationType) *Image { - s.VirtualizationType = v - return s -} - // Describes the disk container object for an import image task. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageDiskContainer type ImageDiskContainer struct { @@ -41992,42 +34084,6 @@ func (s ImageDiskContainer) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *ImageDiskContainer) SetDescription(v string) *ImageDiskContainer { - s.Description = &v - return s -} - -// SetDeviceName sets the DeviceName field's value. -func (s *ImageDiskContainer) SetDeviceName(v string) *ImageDiskContainer { - s.DeviceName = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *ImageDiskContainer) SetFormat(v string) *ImageDiskContainer { - s.Format = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *ImageDiskContainer) SetSnapshotId(v string) *ImageDiskContainer { - s.SnapshotId = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *ImageDiskContainer) SetUrl(v string) *ImageDiskContainer { - s.Url = &v - return s -} - -// SetUserBucket sets the UserBucket field's value. -func (s *ImageDiskContainer) SetUserBucket(v *UserBucket) *ImageDiskContainer { - s.UserBucket = v - return s -} - // Contains the parameters for ImportImage. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageRequest type ImportImageInput struct { @@ -42090,66 +34146,6 @@ func (s ImportImageInput) GoString() string { return s.String() } -// SetArchitecture sets the Architecture field's value. -func (s *ImportImageInput) SetArchitecture(v string) *ImportImageInput { - s.Architecture = &v - return s -} - -// SetClientData sets the ClientData field's value. -func (s *ImportImageInput) SetClientData(v *ClientData) *ImportImageInput { - s.ClientData = v - return s -} - -// SetClientToken sets the ClientToken field's value. -func (s *ImportImageInput) SetClientToken(v string) *ImportImageInput { - s.ClientToken = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ImportImageInput) SetDescription(v string) *ImportImageInput { - s.Description = &v - return s -} - -// SetDiskContainers sets the DiskContainers field's value. -func (s *ImportImageInput) SetDiskContainers(v []ImageDiskContainer) *ImportImageInput { - s.DiskContainers = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ImportImageInput) SetDryRun(v bool) *ImportImageInput { - s.DryRun = &v - return s -} - -// SetHypervisor sets the Hypervisor field's value. -func (s *ImportImageInput) SetHypervisor(v string) *ImportImageInput { - s.Hypervisor = &v - return s -} - -// SetLicenseType sets the LicenseType field's value. -func (s *ImportImageInput) SetLicenseType(v string) *ImportImageInput { - s.LicenseType = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *ImportImageInput) SetPlatform(v string) *ImportImageInput { - s.Platform = &v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *ImportImageInput) SetRoleName(v string) *ImportImageInput { - s.RoleName = &v - return s -} - // Contains the output for ImportImage. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageResult type ImportImageOutput struct { @@ -42206,72 +34202,6 @@ func (s ImportImageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArchitecture sets the Architecture field's value. -func (s *ImportImageOutput) SetArchitecture(v string) *ImportImageOutput { - s.Architecture = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ImportImageOutput) SetDescription(v string) *ImportImageOutput { - s.Description = &v - return s -} - -// SetHypervisor sets the Hypervisor field's value. -func (s *ImportImageOutput) SetHypervisor(v string) *ImportImageOutput { - s.Hypervisor = &v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *ImportImageOutput) SetImageId(v string) *ImportImageOutput { - s.ImageId = &v - return s -} - -// SetImportTaskId sets the ImportTaskId field's value. -func (s *ImportImageOutput) SetImportTaskId(v string) *ImportImageOutput { - s.ImportTaskId = &v - return s -} - -// SetLicenseType sets the LicenseType field's value. -func (s *ImportImageOutput) SetLicenseType(v string) *ImportImageOutput { - s.LicenseType = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *ImportImageOutput) SetPlatform(v string) *ImportImageOutput { - s.Platform = &v - return s -} - -// SetProgress sets the Progress field's value. -func (s *ImportImageOutput) SetProgress(v string) *ImportImageOutput { - s.Progress = &v - return s -} - -// SetSnapshotDetails sets the SnapshotDetails field's value. -func (s *ImportImageOutput) SetSnapshotDetails(v []SnapshotDetail) *ImportImageOutput { - s.SnapshotDetails = v - return s -} - -// SetStatus sets the Status field's value. -func (s *ImportImageOutput) SetStatus(v string) *ImportImageOutput { - s.Status = &v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *ImportImageOutput) SetStatusMessage(v string) *ImportImageOutput { - s.StatusMessage = &v - return s -} - // Describes an import image task. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImageTask type ImportImageTask struct { @@ -42325,72 +34255,6 @@ func (s ImportImageTask) GoString() string { return s.String() } -// SetArchitecture sets the Architecture field's value. -func (s *ImportImageTask) SetArchitecture(v string) *ImportImageTask { - s.Architecture = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ImportImageTask) SetDescription(v string) *ImportImageTask { - s.Description = &v - return s -} - -// SetHypervisor sets the Hypervisor field's value. -func (s *ImportImageTask) SetHypervisor(v string) *ImportImageTask { - s.Hypervisor = &v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *ImportImageTask) SetImageId(v string) *ImportImageTask { - s.ImageId = &v - return s -} - -// SetImportTaskId sets the ImportTaskId field's value. -func (s *ImportImageTask) SetImportTaskId(v string) *ImportImageTask { - s.ImportTaskId = &v - return s -} - -// SetLicenseType sets the LicenseType field's value. -func (s *ImportImageTask) SetLicenseType(v string) *ImportImageTask { - s.LicenseType = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *ImportImageTask) SetPlatform(v string) *ImportImageTask { - s.Platform = &v - return s -} - -// SetProgress sets the Progress field's value. -func (s *ImportImageTask) SetProgress(v string) *ImportImageTask { - s.Progress = &v - return s -} - -// SetSnapshotDetails sets the SnapshotDetails field's value. -func (s *ImportImageTask) SetSnapshotDetails(v []SnapshotDetail) *ImportImageTask { - s.SnapshotDetails = v - return s -} - -// SetStatus sets the Status field's value. -func (s *ImportImageTask) SetStatus(v string) *ImportImageTask { - s.Status = &v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *ImportImageTask) SetStatusMessage(v string) *ImportImageTask { - s.StatusMessage = &v - return s -} - // Contains the parameters for ImportInstance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstanceRequest type ImportInstanceInput struct { @@ -42447,36 +34311,6 @@ func (s *ImportInstanceInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *ImportInstanceInput) SetDescription(v string) *ImportInstanceInput { - s.Description = &v - return s -} - -// SetDiskImages sets the DiskImages field's value. -func (s *ImportInstanceInput) SetDiskImages(v []DiskImage) *ImportInstanceInput { - s.DiskImages = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ImportInstanceInput) SetDryRun(v bool) *ImportInstanceInput { - s.DryRun = &v - return s -} - -// SetLaunchSpecification sets the LaunchSpecification field's value. -func (s *ImportInstanceInput) SetLaunchSpecification(v *ImportInstanceLaunchSpecification) *ImportInstanceInput { - s.LaunchSpecification = v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *ImportInstanceInput) SetPlatform(v PlatformValues) *ImportInstanceInput { - s.Platform = v - return s -} - // Describes the launch specification for VM import. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstanceLaunchSpecification type ImportInstanceLaunchSpecification struct { @@ -42531,72 +34365,6 @@ func (s ImportInstanceLaunchSpecification) GoString() string { return s.String() } -// SetAdditionalInfo sets the AdditionalInfo field's value. -func (s *ImportInstanceLaunchSpecification) SetAdditionalInfo(v string) *ImportInstanceLaunchSpecification { - s.AdditionalInfo = &v - return s -} - -// SetArchitecture sets the Architecture field's value. -func (s *ImportInstanceLaunchSpecification) SetArchitecture(v ArchitectureValues) *ImportInstanceLaunchSpecification { - s.Architecture = v - return s -} - -// SetGroupIds sets the GroupIds field's value. -func (s *ImportInstanceLaunchSpecification) SetGroupIds(v []string) *ImportInstanceLaunchSpecification { - s.GroupIds = v - return s -} - -// SetGroupNames sets the GroupNames field's value. -func (s *ImportInstanceLaunchSpecification) SetGroupNames(v []string) *ImportInstanceLaunchSpecification { - s.GroupNames = v - return s -} - -// SetInstanceInitiatedShutdownBehavior sets the InstanceInitiatedShutdownBehavior field's value. -func (s *ImportInstanceLaunchSpecification) SetInstanceInitiatedShutdownBehavior(v ShutdownBehavior) *ImportInstanceLaunchSpecification { - s.InstanceInitiatedShutdownBehavior = v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *ImportInstanceLaunchSpecification) SetInstanceType(v InstanceType) *ImportInstanceLaunchSpecification { - s.InstanceType = v - return s -} - -// SetMonitoring sets the Monitoring field's value. -func (s *ImportInstanceLaunchSpecification) SetMonitoring(v bool) *ImportInstanceLaunchSpecification { - s.Monitoring = &v - return s -} - -// SetPlacement sets the Placement field's value. -func (s *ImportInstanceLaunchSpecification) SetPlacement(v *Placement) *ImportInstanceLaunchSpecification { - s.Placement = v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *ImportInstanceLaunchSpecification) SetPrivateIpAddress(v string) *ImportInstanceLaunchSpecification { - s.PrivateIpAddress = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *ImportInstanceLaunchSpecification) SetSubnetId(v string) *ImportInstanceLaunchSpecification { - s.SubnetId = &v - return s -} - -// SetUserData sets the UserData field's value. -func (s *ImportInstanceLaunchSpecification) SetUserData(v *UserData) *ImportInstanceLaunchSpecification { - s.UserData = v - return s -} - // Contains the output for ImportInstance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstanceResult type ImportInstanceOutput struct { @@ -42623,12 +34391,6 @@ func (s ImportInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConversionTask sets the ConversionTask field's value. -func (s *ImportInstanceOutput) SetConversionTask(v *ConversionTask) *ImportInstanceOutput { - s.ConversionTask = v - return s -} - // Describes an import instance task. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstanceTaskDetails type ImportInstanceTaskDetails struct { @@ -42659,30 +34421,6 @@ func (s ImportInstanceTaskDetails) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *ImportInstanceTaskDetails) SetDescription(v string) *ImportInstanceTaskDetails { - s.Description = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *ImportInstanceTaskDetails) SetInstanceId(v string) *ImportInstanceTaskDetails { - s.InstanceId = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *ImportInstanceTaskDetails) SetPlatform(v PlatformValues) *ImportInstanceTaskDetails { - s.Platform = v - return s -} - -// SetVolumes sets the Volumes field's value. -func (s *ImportInstanceTaskDetails) SetVolumes(v []ImportInstanceVolumeDetailItem) *ImportInstanceTaskDetails { - s.Volumes = v - return s -} - // Describes an import volume task. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstanceVolumeDetailItem type ImportInstanceVolumeDetailItem struct { @@ -42730,48 +34468,6 @@ func (s ImportInstanceVolumeDetailItem) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *ImportInstanceVolumeDetailItem) SetAvailabilityZone(v string) *ImportInstanceVolumeDetailItem { - s.AvailabilityZone = &v - return s -} - -// SetBytesConverted sets the BytesConverted field's value. -func (s *ImportInstanceVolumeDetailItem) SetBytesConverted(v int64) *ImportInstanceVolumeDetailItem { - s.BytesConverted = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ImportInstanceVolumeDetailItem) SetDescription(v string) *ImportInstanceVolumeDetailItem { - s.Description = &v - return s -} - -// SetImage sets the Image field's value. -func (s *ImportInstanceVolumeDetailItem) SetImage(v *DiskImageDescription) *ImportInstanceVolumeDetailItem { - s.Image = v - return s -} - -// SetStatus sets the Status field's value. -func (s *ImportInstanceVolumeDetailItem) SetStatus(v string) *ImportInstanceVolumeDetailItem { - s.Status = &v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *ImportInstanceVolumeDetailItem) SetStatusMessage(v string) *ImportInstanceVolumeDetailItem { - s.StatusMessage = &v - return s -} - -// SetVolume sets the Volume field's value. -func (s *ImportInstanceVolumeDetailItem) SetVolume(v *DiskImageVolumeDescription) *ImportInstanceVolumeDetailItem { - s.Volume = v - return s -} - // Contains the parameters for ImportKeyPair. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportKeyPairRequest type ImportKeyPairInput struct { @@ -42825,24 +34521,6 @@ func (s *ImportKeyPairInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *ImportKeyPairInput) SetDryRun(v bool) *ImportKeyPairInput { - s.DryRun = &v - return s -} - -// SetKeyName sets the KeyName field's value. -func (s *ImportKeyPairInput) SetKeyName(v string) *ImportKeyPairInput { - s.KeyName = &v - return s -} - -// SetPublicKeyMaterial sets the PublicKeyMaterial field's value. -func (s *ImportKeyPairInput) SetPublicKeyMaterial(v []byte) *ImportKeyPairInput { - s.PublicKeyMaterial = v - return s -} - // Contains the output of ImportKeyPair. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportKeyPairResult type ImportKeyPairOutput struct { @@ -42872,18 +34550,6 @@ func (s ImportKeyPairOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetKeyFingerprint sets the KeyFingerprint field's value. -func (s *ImportKeyPairOutput) SetKeyFingerprint(v string) *ImportKeyPairOutput { - s.KeyFingerprint = &v - return s -} - -// SetKeyName sets the KeyName field's value. -func (s *ImportKeyPairOutput) SetKeyName(v string) *ImportKeyPairOutput { - s.KeyName = &v - return s -} - // Contains the parameters for ImportSnapshot. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportSnapshotRequest type ImportSnapshotInput struct { @@ -42921,42 +34587,6 @@ func (s ImportSnapshotInput) GoString() string { return s.String() } -// SetClientData sets the ClientData field's value. -func (s *ImportSnapshotInput) SetClientData(v *ClientData) *ImportSnapshotInput { - s.ClientData = v - return s -} - -// SetClientToken sets the ClientToken field's value. -func (s *ImportSnapshotInput) SetClientToken(v string) *ImportSnapshotInput { - s.ClientToken = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ImportSnapshotInput) SetDescription(v string) *ImportSnapshotInput { - s.Description = &v - return s -} - -// SetDiskContainer sets the DiskContainer field's value. -func (s *ImportSnapshotInput) SetDiskContainer(v *SnapshotDiskContainer) *ImportSnapshotInput { - s.DiskContainer = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ImportSnapshotInput) SetDryRun(v bool) *ImportSnapshotInput { - s.DryRun = &v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *ImportSnapshotInput) SetRoleName(v string) *ImportSnapshotInput { - s.RoleName = &v - return s -} - // Contains the output for ImportSnapshot. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportSnapshotResult type ImportSnapshotOutput struct { @@ -42989,24 +34619,6 @@ func (s ImportSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDescription sets the Description field's value. -func (s *ImportSnapshotOutput) SetDescription(v string) *ImportSnapshotOutput { - s.Description = &v - return s -} - -// SetImportTaskId sets the ImportTaskId field's value. -func (s *ImportSnapshotOutput) SetImportTaskId(v string) *ImportSnapshotOutput { - s.ImportTaskId = &v - return s -} - -// SetSnapshotTaskDetail sets the SnapshotTaskDetail field's value. -func (s *ImportSnapshotOutput) SetSnapshotTaskDetail(v *SnapshotTaskDetail) *ImportSnapshotOutput { - s.SnapshotTaskDetail = v - return s -} - // Describes an import snapshot task. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportSnapshotTask type ImportSnapshotTask struct { @@ -43032,24 +34644,6 @@ func (s ImportSnapshotTask) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *ImportSnapshotTask) SetDescription(v string) *ImportSnapshotTask { - s.Description = &v - return s -} - -// SetImportTaskId sets the ImportTaskId field's value. -func (s *ImportSnapshotTask) SetImportTaskId(v string) *ImportSnapshotTask { - s.ImportTaskId = &v - return s -} - -// SetSnapshotTaskDetail sets the SnapshotTaskDetail field's value. -func (s *ImportSnapshotTask) SetSnapshotTaskDetail(v *SnapshotTaskDetail) *ImportSnapshotTask { - s.SnapshotTaskDetail = v - return s -} - // Contains the parameters for ImportVolume. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportVolumeRequest type ImportVolumeInput struct { @@ -43122,36 +34716,6 @@ func (s *ImportVolumeInput) Validate() error { return nil } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *ImportVolumeInput) SetAvailabilityZone(v string) *ImportVolumeInput { - s.AvailabilityZone = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ImportVolumeInput) SetDescription(v string) *ImportVolumeInput { - s.Description = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ImportVolumeInput) SetDryRun(v bool) *ImportVolumeInput { - s.DryRun = &v - return s -} - -// SetImage sets the Image field's value. -func (s *ImportVolumeInput) SetImage(v *DiskImageDetail) *ImportVolumeInput { - s.Image = v - return s -} - -// SetVolume sets the Volume field's value. -func (s *ImportVolumeInput) SetVolume(v *VolumeDetail) *ImportVolumeInput { - s.Volume = v - return s -} - // Contains the output for ImportVolume. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportVolumeResult type ImportVolumeOutput struct { @@ -43178,12 +34742,6 @@ func (s ImportVolumeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConversionTask sets the ConversionTask field's value. -func (s *ImportVolumeOutput) SetConversionTask(v *ConversionTask) *ImportVolumeOutput { - s.ConversionTask = v - return s -} - // Describes an import volume task. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportVolumeTaskDetails type ImportVolumeTaskDetails struct { @@ -43223,36 +34781,6 @@ func (s ImportVolumeTaskDetails) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *ImportVolumeTaskDetails) SetAvailabilityZone(v string) *ImportVolumeTaskDetails { - s.AvailabilityZone = &v - return s -} - -// SetBytesConverted sets the BytesConverted field's value. -func (s *ImportVolumeTaskDetails) SetBytesConverted(v int64) *ImportVolumeTaskDetails { - s.BytesConverted = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ImportVolumeTaskDetails) SetDescription(v string) *ImportVolumeTaskDetails { - s.Description = &v - return s -} - -// SetImage sets the Image field's value. -func (s *ImportVolumeTaskDetails) SetImage(v *DiskImageDescription) *ImportVolumeTaskDetails { - s.Image = v - return s -} - -// SetVolume sets the Volume field's value. -func (s *ImportVolumeTaskDetails) SetVolume(v *DiskImageVolumeDescription) *ImportVolumeTaskDetails { - s.Volume = v - return s -} - // Describes an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Instance type Instance struct { @@ -43408,240 +34936,6 @@ func (s Instance) GoString() string { return s.String() } -// SetAmiLaunchIndex sets the AmiLaunchIndex field's value. -func (s *Instance) SetAmiLaunchIndex(v int64) *Instance { - s.AmiLaunchIndex = &v - return s -} - -// SetArchitecture sets the Architecture field's value. -func (s *Instance) SetArchitecture(v ArchitectureValues) *Instance { - s.Architecture = v - return s -} - -// SetBlockDeviceMappings sets the BlockDeviceMappings field's value. -func (s *Instance) SetBlockDeviceMappings(v []InstanceBlockDeviceMapping) *Instance { - s.BlockDeviceMappings = v - return s -} - -// SetClientToken sets the ClientToken field's value. -func (s *Instance) SetClientToken(v string) *Instance { - s.ClientToken = &v - return s -} - -// SetEbsOptimized sets the EbsOptimized field's value. -func (s *Instance) SetEbsOptimized(v bool) *Instance { - s.EbsOptimized = &v - return s -} - -// SetElasticGpuAssociations sets the ElasticGpuAssociations field's value. -func (s *Instance) SetElasticGpuAssociations(v []ElasticGpuAssociation) *Instance { - s.ElasticGpuAssociations = v - return s -} - -// SetEnaSupport sets the EnaSupport field's value. -func (s *Instance) SetEnaSupport(v bool) *Instance { - s.EnaSupport = &v - return s -} - -// SetHypervisor sets the Hypervisor field's value. -func (s *Instance) SetHypervisor(v HypervisorType) *Instance { - s.Hypervisor = v - return s -} - -// SetIamInstanceProfile sets the IamInstanceProfile field's value. -func (s *Instance) SetIamInstanceProfile(v *IamInstanceProfile) *Instance { - s.IamInstanceProfile = v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *Instance) SetImageId(v string) *Instance { - s.ImageId = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *Instance) SetInstanceId(v string) *Instance { - s.InstanceId = &v - return s -} - -// SetInstanceLifecycle sets the InstanceLifecycle field's value. -func (s *Instance) SetInstanceLifecycle(v InstanceLifecycleType) *Instance { - s.InstanceLifecycle = v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *Instance) SetInstanceType(v InstanceType) *Instance { - s.InstanceType = v - return s -} - -// SetKernelId sets the KernelId field's value. -func (s *Instance) SetKernelId(v string) *Instance { - s.KernelId = &v - return s -} - -// SetKeyName sets the KeyName field's value. -func (s *Instance) SetKeyName(v string) *Instance { - s.KeyName = &v - return s -} - -// SetLaunchTime sets the LaunchTime field's value. -func (s *Instance) SetLaunchTime(v time.Time) *Instance { - s.LaunchTime = &v - return s -} - -// SetMonitoring sets the Monitoring field's value. -func (s *Instance) SetMonitoring(v *Monitoring) *Instance { - s.Monitoring = v - return s -} - -// SetNetworkInterfaces sets the NetworkInterfaces field's value. -func (s *Instance) SetNetworkInterfaces(v []InstanceNetworkInterface) *Instance { - s.NetworkInterfaces = v - return s -} - -// SetPlacement sets the Placement field's value. -func (s *Instance) SetPlacement(v *Placement) *Instance { - s.Placement = v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *Instance) SetPlatform(v PlatformValues) *Instance { - s.Platform = v - return s -} - -// SetPrivateDnsName sets the PrivateDnsName field's value. -func (s *Instance) SetPrivateDnsName(v string) *Instance { - s.PrivateDnsName = &v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *Instance) SetPrivateIpAddress(v string) *Instance { - s.PrivateIpAddress = &v - return s -} - -// SetProductCodes sets the ProductCodes field's value. -func (s *Instance) SetProductCodes(v []ProductCode) *Instance { - s.ProductCodes = v - return s -} - -// SetPublicDnsName sets the PublicDnsName field's value. -func (s *Instance) SetPublicDnsName(v string) *Instance { - s.PublicDnsName = &v - return s -} - -// SetPublicIpAddress sets the PublicIpAddress field's value. -func (s *Instance) SetPublicIpAddress(v string) *Instance { - s.PublicIpAddress = &v - return s -} - -// SetRamdiskId sets the RamdiskId field's value. -func (s *Instance) SetRamdiskId(v string) *Instance { - s.RamdiskId = &v - return s -} - -// SetRootDeviceName sets the RootDeviceName field's value. -func (s *Instance) SetRootDeviceName(v string) *Instance { - s.RootDeviceName = &v - return s -} - -// SetRootDeviceType sets the RootDeviceType field's value. -func (s *Instance) SetRootDeviceType(v DeviceType) *Instance { - s.RootDeviceType = v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *Instance) SetSecurityGroups(v []GroupIdentifier) *Instance { - s.SecurityGroups = v - return s -} - -// SetSourceDestCheck sets the SourceDestCheck field's value. -func (s *Instance) SetSourceDestCheck(v bool) *Instance { - s.SourceDestCheck = &v - return s -} - -// SetSpotInstanceRequestId sets the SpotInstanceRequestId field's value. -func (s *Instance) SetSpotInstanceRequestId(v string) *Instance { - s.SpotInstanceRequestId = &v - return s -} - -// SetSriovNetSupport sets the SriovNetSupport field's value. -func (s *Instance) SetSriovNetSupport(v string) *Instance { - s.SriovNetSupport = &v - return s -} - -// SetState sets the State field's value. -func (s *Instance) SetState(v *InstanceState) *Instance { - s.State = v - return s -} - -// SetStateReason sets the StateReason field's value. -func (s *Instance) SetStateReason(v *StateReason) *Instance { - s.StateReason = v - return s -} - -// SetStateTransitionReason sets the StateTransitionReason field's value. -func (s *Instance) SetStateTransitionReason(v string) *Instance { - s.StateTransitionReason = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *Instance) SetSubnetId(v string) *Instance { - s.SubnetId = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *Instance) SetTags(v []Tag) *Instance { - s.Tags = v - return s -} - -// SetVirtualizationType sets the VirtualizationType field's value. -func (s *Instance) SetVirtualizationType(v VirtualizationType) *Instance { - s.VirtualizationType = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *Instance) SetVpcId(v string) *Instance { - s.VpcId = &v - return s -} - // Describes a block device mapping. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceBlockDeviceMapping type InstanceBlockDeviceMapping struct { @@ -43665,18 +34959,6 @@ func (s InstanceBlockDeviceMapping) GoString() string { return s.String() } -// SetDeviceName sets the DeviceName field's value. -func (s *InstanceBlockDeviceMapping) SetDeviceName(v string) *InstanceBlockDeviceMapping { - s.DeviceName = &v - return s -} - -// SetEbs sets the Ebs field's value. -func (s *InstanceBlockDeviceMapping) SetEbs(v *EbsInstanceBlockDevice) *InstanceBlockDeviceMapping { - s.Ebs = v - return s -} - // Describes a block device mapping entry. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceBlockDeviceMappingSpecification type InstanceBlockDeviceMappingSpecification struct { @@ -43706,30 +34988,6 @@ func (s InstanceBlockDeviceMappingSpecification) GoString() string { return s.String() } -// SetDeviceName sets the DeviceName field's value. -func (s *InstanceBlockDeviceMappingSpecification) SetDeviceName(v string) *InstanceBlockDeviceMappingSpecification { - s.DeviceName = &v - return s -} - -// SetEbs sets the Ebs field's value. -func (s *InstanceBlockDeviceMappingSpecification) SetEbs(v *EbsInstanceBlockDeviceSpecification) *InstanceBlockDeviceMappingSpecification { - s.Ebs = v - return s -} - -// SetNoDevice sets the NoDevice field's value. -func (s *InstanceBlockDeviceMappingSpecification) SetNoDevice(v string) *InstanceBlockDeviceMappingSpecification { - s.NoDevice = &v - return s -} - -// SetVirtualName sets the VirtualName field's value. -func (s *InstanceBlockDeviceMappingSpecification) SetVirtualName(v string) *InstanceBlockDeviceMappingSpecification { - s.VirtualName = &v - return s -} - // Information about the instance type that the Dedicated Host supports. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceCapacity type InstanceCapacity struct { @@ -43755,24 +35013,6 @@ func (s InstanceCapacity) GoString() string { return s.String() } -// SetAvailableCapacity sets the AvailableCapacity field's value. -func (s *InstanceCapacity) SetAvailableCapacity(v int64) *InstanceCapacity { - s.AvailableCapacity = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *InstanceCapacity) SetInstanceType(v string) *InstanceCapacity { - s.InstanceType = &v - return s -} - -// SetTotalCapacity sets the TotalCapacity field's value. -func (s *InstanceCapacity) SetTotalCapacity(v int64) *InstanceCapacity { - s.TotalCapacity = &v - return s -} - // Describes a Reserved Instance listing state. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceCount type InstanceCount struct { @@ -43795,18 +35035,6 @@ func (s InstanceCount) GoString() string { return s.String() } -// SetInstanceCount sets the InstanceCount field's value. -func (s *InstanceCount) SetInstanceCount(v int64) *InstanceCount { - s.InstanceCount = &v - return s -} - -// SetState sets the State field's value. -func (s *InstanceCount) SetState(v ListingState) *InstanceCount { - s.State = v - return s -} - // Describes the credit option for CPU usage of a T2 instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceCreditSpecification type InstanceCreditSpecification struct { @@ -43830,18 +35058,6 @@ func (s InstanceCreditSpecification) GoString() string { return s.String() } -// SetCpuCredits sets the CpuCredits field's value. -func (s *InstanceCreditSpecification) SetCpuCredits(v string) *InstanceCreditSpecification { - s.CpuCredits = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *InstanceCreditSpecification) SetInstanceId(v string) *InstanceCreditSpecification { - s.InstanceId = &v - return s -} - // Describes the credit option for CPU usage of a T2 instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceCreditSpecificationRequest type InstanceCreditSpecificationRequest struct { @@ -43865,18 +35081,6 @@ func (s InstanceCreditSpecificationRequest) GoString() string { return s.String() } -// SetCpuCredits sets the CpuCredits field's value. -func (s *InstanceCreditSpecificationRequest) SetCpuCredits(v string) *InstanceCreditSpecificationRequest { - s.CpuCredits = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *InstanceCreditSpecificationRequest) SetInstanceId(v string) *InstanceCreditSpecificationRequest { - s.InstanceId = &v - return s -} - // Describes an instance to export. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceExportDetails type InstanceExportDetails struct { @@ -43899,18 +35103,6 @@ func (s InstanceExportDetails) GoString() string { return s.String() } -// SetInstanceId sets the InstanceId field's value. -func (s *InstanceExportDetails) SetInstanceId(v string) *InstanceExportDetails { - s.InstanceId = &v - return s -} - -// SetTargetEnvironment sets the TargetEnvironment field's value. -func (s *InstanceExportDetails) SetTargetEnvironment(v ExportEnvironment) *InstanceExportDetails { - s.TargetEnvironment = v - return s -} - // Describes an IPv6 address. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceIpv6Address type InstanceIpv6Address struct { @@ -43930,12 +35122,6 @@ func (s InstanceIpv6Address) GoString() string { return s.String() } -// SetIpv6Address sets the Ipv6Address field's value. -func (s *InstanceIpv6Address) SetIpv6Address(v string) *InstanceIpv6Address { - s.Ipv6Address = &v - return s -} - // Describes an IPv6 address. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceIpv6AddressRequest type InstanceIpv6AddressRequest struct { @@ -43955,12 +35141,6 @@ func (s InstanceIpv6AddressRequest) GoString() string { return s.String() } -// SetIpv6Address sets the Ipv6Address field's value. -func (s *InstanceIpv6AddressRequest) SetIpv6Address(v string) *InstanceIpv6AddressRequest { - s.Ipv6Address = &v - return s -} - // Describes the market (purchasing) option for the instances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceMarketOptionsRequest type InstanceMarketOptionsRequest struct { @@ -43983,18 +35163,6 @@ func (s InstanceMarketOptionsRequest) GoString() string { return s.String() } -// SetMarketType sets the MarketType field's value. -func (s *InstanceMarketOptionsRequest) SetMarketType(v MarketType) *InstanceMarketOptionsRequest { - s.MarketType = v - return s -} - -// SetSpotOptions sets the SpotOptions field's value. -func (s *InstanceMarketOptionsRequest) SetSpotOptions(v *SpotMarketOptions) *InstanceMarketOptionsRequest { - s.SpotOptions = v - return s -} - // Describes the monitoring of an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceMonitoring type InstanceMonitoring struct { @@ -44017,18 +35185,6 @@ func (s InstanceMonitoring) GoString() string { return s.String() } -// SetInstanceId sets the InstanceId field's value. -func (s *InstanceMonitoring) SetInstanceId(v string) *InstanceMonitoring { - s.InstanceId = &v - return s -} - -// SetMonitoring sets the Monitoring field's value. -func (s *InstanceMonitoring) SetMonitoring(v *Monitoring) *InstanceMonitoring { - s.Monitoring = v - return s -} - // Describes a network interface. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkInterface type InstanceNetworkInterface struct { @@ -44091,96 +35247,6 @@ func (s InstanceNetworkInterface) GoString() string { return s.String() } -// SetAssociation sets the Association field's value. -func (s *InstanceNetworkInterface) SetAssociation(v *InstanceNetworkInterfaceAssociation) *InstanceNetworkInterface { - s.Association = v - return s -} - -// SetAttachment sets the Attachment field's value. -func (s *InstanceNetworkInterface) SetAttachment(v *InstanceNetworkInterfaceAttachment) *InstanceNetworkInterface { - s.Attachment = v - return s -} - -// SetDescription sets the Description field's value. -func (s *InstanceNetworkInterface) SetDescription(v string) *InstanceNetworkInterface { - s.Description = &v - return s -} - -// SetGroups sets the Groups field's value. -func (s *InstanceNetworkInterface) SetGroups(v []GroupIdentifier) *InstanceNetworkInterface { - s.Groups = v - return s -} - -// SetIpv6Addresses sets the Ipv6Addresses field's value. -func (s *InstanceNetworkInterface) SetIpv6Addresses(v []InstanceIpv6Address) *InstanceNetworkInterface { - s.Ipv6Addresses = v - return s -} - -// SetMacAddress sets the MacAddress field's value. -func (s *InstanceNetworkInterface) SetMacAddress(v string) *InstanceNetworkInterface { - s.MacAddress = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *InstanceNetworkInterface) SetNetworkInterfaceId(v string) *InstanceNetworkInterface { - s.NetworkInterfaceId = &v - return s -} - -// SetOwnerId sets the OwnerId field's value. -func (s *InstanceNetworkInterface) SetOwnerId(v string) *InstanceNetworkInterface { - s.OwnerId = &v - return s -} - -// SetPrivateDnsName sets the PrivateDnsName field's value. -func (s *InstanceNetworkInterface) SetPrivateDnsName(v string) *InstanceNetworkInterface { - s.PrivateDnsName = &v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *InstanceNetworkInterface) SetPrivateIpAddress(v string) *InstanceNetworkInterface { - s.PrivateIpAddress = &v - return s -} - -// SetPrivateIpAddresses sets the PrivateIpAddresses field's value. -func (s *InstanceNetworkInterface) SetPrivateIpAddresses(v []InstancePrivateIpAddress) *InstanceNetworkInterface { - s.PrivateIpAddresses = v - return s -} - -// SetSourceDestCheck sets the SourceDestCheck field's value. -func (s *InstanceNetworkInterface) SetSourceDestCheck(v bool) *InstanceNetworkInterface { - s.SourceDestCheck = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *InstanceNetworkInterface) SetStatus(v NetworkInterfaceStatus) *InstanceNetworkInterface { - s.Status = v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *InstanceNetworkInterface) SetSubnetId(v string) *InstanceNetworkInterface { - s.SubnetId = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *InstanceNetworkInterface) SetVpcId(v string) *InstanceNetworkInterface { - s.VpcId = &v - return s -} - // Describes association information for an Elastic IP address (IPv4). // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkInterfaceAssociation type InstanceNetworkInterfaceAssociation struct { @@ -44206,24 +35272,6 @@ func (s InstanceNetworkInterfaceAssociation) GoString() string { return s.String() } -// SetIpOwnerId sets the IpOwnerId field's value. -func (s *InstanceNetworkInterfaceAssociation) SetIpOwnerId(v string) *InstanceNetworkInterfaceAssociation { - s.IpOwnerId = &v - return s -} - -// SetPublicDnsName sets the PublicDnsName field's value. -func (s *InstanceNetworkInterfaceAssociation) SetPublicDnsName(v string) *InstanceNetworkInterfaceAssociation { - s.PublicDnsName = &v - return s -} - -// SetPublicIp sets the PublicIp field's value. -func (s *InstanceNetworkInterfaceAssociation) SetPublicIp(v string) *InstanceNetworkInterfaceAssociation { - s.PublicIp = &v - return s -} - // Describes a network interface attachment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkInterfaceAttachment type InstanceNetworkInterfaceAttachment struct { @@ -44255,36 +35303,6 @@ func (s InstanceNetworkInterfaceAttachment) GoString() string { return s.String() } -// SetAttachTime sets the AttachTime field's value. -func (s *InstanceNetworkInterfaceAttachment) SetAttachTime(v time.Time) *InstanceNetworkInterfaceAttachment { - s.AttachTime = &v - return s -} - -// SetAttachmentId sets the AttachmentId field's value. -func (s *InstanceNetworkInterfaceAttachment) SetAttachmentId(v string) *InstanceNetworkInterfaceAttachment { - s.AttachmentId = &v - return s -} - -// SetDeleteOnTermination sets the DeleteOnTermination field's value. -func (s *InstanceNetworkInterfaceAttachment) SetDeleteOnTermination(v bool) *InstanceNetworkInterfaceAttachment { - s.DeleteOnTermination = &v - return s -} - -// SetDeviceIndex sets the DeviceIndex field's value. -func (s *InstanceNetworkInterfaceAttachment) SetDeviceIndex(v int64) *InstanceNetworkInterfaceAttachment { - s.DeviceIndex = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *InstanceNetworkInterfaceAttachment) SetStatus(v AttachmentStatus) *InstanceNetworkInterfaceAttachment { - s.Status = v - return s -} - // Describes a network interface. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkInterfaceSpecification type InstanceNetworkInterfaceSpecification struct { @@ -44380,78 +35398,6 @@ func (s *InstanceNetworkInterfaceSpecification) Validate() error { return nil } -// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value. -func (s *InstanceNetworkInterfaceSpecification) SetAssociatePublicIpAddress(v bool) *InstanceNetworkInterfaceSpecification { - s.AssociatePublicIpAddress = &v - return s -} - -// SetDeleteOnTermination sets the DeleteOnTermination field's value. -func (s *InstanceNetworkInterfaceSpecification) SetDeleteOnTermination(v bool) *InstanceNetworkInterfaceSpecification { - s.DeleteOnTermination = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *InstanceNetworkInterfaceSpecification) SetDescription(v string) *InstanceNetworkInterfaceSpecification { - s.Description = &v - return s -} - -// SetDeviceIndex sets the DeviceIndex field's value. -func (s *InstanceNetworkInterfaceSpecification) SetDeviceIndex(v int64) *InstanceNetworkInterfaceSpecification { - s.DeviceIndex = &v - return s -} - -// SetGroups sets the Groups field's value. -func (s *InstanceNetworkInterfaceSpecification) SetGroups(v []string) *InstanceNetworkInterfaceSpecification { - s.Groups = v - return s -} - -// SetIpv6AddressCount sets the Ipv6AddressCount field's value. -func (s *InstanceNetworkInterfaceSpecification) SetIpv6AddressCount(v int64) *InstanceNetworkInterfaceSpecification { - s.Ipv6AddressCount = &v - return s -} - -// SetIpv6Addresses sets the Ipv6Addresses field's value. -func (s *InstanceNetworkInterfaceSpecification) SetIpv6Addresses(v []InstanceIpv6Address) *InstanceNetworkInterfaceSpecification { - s.Ipv6Addresses = v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *InstanceNetworkInterfaceSpecification) SetNetworkInterfaceId(v string) *InstanceNetworkInterfaceSpecification { - s.NetworkInterfaceId = &v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *InstanceNetworkInterfaceSpecification) SetPrivateIpAddress(v string) *InstanceNetworkInterfaceSpecification { - s.PrivateIpAddress = &v - return s -} - -// SetPrivateIpAddresses sets the PrivateIpAddresses field's value. -func (s *InstanceNetworkInterfaceSpecification) SetPrivateIpAddresses(v []PrivateIpAddressSpecification) *InstanceNetworkInterfaceSpecification { - s.PrivateIpAddresses = v - return s -} - -// SetSecondaryPrivateIpAddressCount sets the SecondaryPrivateIpAddressCount field's value. -func (s *InstanceNetworkInterfaceSpecification) SetSecondaryPrivateIpAddressCount(v int64) *InstanceNetworkInterfaceSpecification { - s.SecondaryPrivateIpAddressCount = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *InstanceNetworkInterfaceSpecification) SetSubnetId(v string) *InstanceNetworkInterfaceSpecification { - s.SubnetId = &v - return s -} - // Describes a private IPv4 address. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstancePrivateIpAddress type InstancePrivateIpAddress struct { @@ -44481,30 +35427,6 @@ func (s InstancePrivateIpAddress) GoString() string { return s.String() } -// SetAssociation sets the Association field's value. -func (s *InstancePrivateIpAddress) SetAssociation(v *InstanceNetworkInterfaceAssociation) *InstancePrivateIpAddress { - s.Association = v - return s -} - -// SetPrimary sets the Primary field's value. -func (s *InstancePrivateIpAddress) SetPrimary(v bool) *InstancePrivateIpAddress { - s.Primary = &v - return s -} - -// SetPrivateDnsName sets the PrivateDnsName field's value. -func (s *InstancePrivateIpAddress) SetPrivateDnsName(v string) *InstancePrivateIpAddress { - s.PrivateDnsName = &v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *InstancePrivateIpAddress) SetPrivateIpAddress(v string) *InstancePrivateIpAddress { - s.PrivateIpAddress = &v - return s -} - // Describes the current state of an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceState type InstanceState struct { @@ -44540,18 +35462,6 @@ func (s InstanceState) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *InstanceState) SetCode(v int64) *InstanceState { - s.Code = &v - return s -} - -// SetName sets the Name field's value. -func (s *InstanceState) SetName(v InstanceStateName) *InstanceState { - s.Name = v - return s -} - // Describes an instance state change. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStateChange type InstanceStateChange struct { @@ -44577,24 +35487,6 @@ func (s InstanceStateChange) GoString() string { return s.String() } -// SetCurrentState sets the CurrentState field's value. -func (s *InstanceStateChange) SetCurrentState(v *InstanceState) *InstanceStateChange { - s.CurrentState = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *InstanceStateChange) SetInstanceId(v string) *InstanceStateChange { - s.InstanceId = &v - return s -} - -// SetPreviousState sets the PreviousState field's value. -func (s *InstanceStateChange) SetPreviousState(v *InstanceState) *InstanceStateChange { - s.PreviousState = v - return s -} - // Describes the status of an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStatus type InstanceStatus struct { @@ -44633,42 +35525,6 @@ func (s InstanceStatus) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *InstanceStatus) SetAvailabilityZone(v string) *InstanceStatus { - s.AvailabilityZone = &v - return s -} - -// SetEvents sets the Events field's value. -func (s *InstanceStatus) SetEvents(v []InstanceStatusEvent) *InstanceStatus { - s.Events = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *InstanceStatus) SetInstanceId(v string) *InstanceStatus { - s.InstanceId = &v - return s -} - -// SetInstanceState sets the InstanceState field's value. -func (s *InstanceStatus) SetInstanceState(v *InstanceState) *InstanceStatus { - s.InstanceState = v - return s -} - -// SetInstanceStatus sets the InstanceStatus field's value. -func (s *InstanceStatus) SetInstanceStatus(v *InstanceStatusSummary) *InstanceStatus { - s.InstanceStatus = v - return s -} - -// SetSystemStatus sets the SystemStatus field's value. -func (s *InstanceStatus) SetSystemStatus(v *InstanceStatusSummary) *InstanceStatus { - s.SystemStatus = v - return s -} - // Describes the instance status. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStatusDetails type InstanceStatusDetails struct { @@ -44695,24 +35551,6 @@ func (s InstanceStatusDetails) GoString() string { return s.String() } -// SetImpairedSince sets the ImpairedSince field's value. -func (s *InstanceStatusDetails) SetImpairedSince(v time.Time) *InstanceStatusDetails { - s.ImpairedSince = &v - return s -} - -// SetName sets the Name field's value. -func (s *InstanceStatusDetails) SetName(v StatusName) *InstanceStatusDetails { - s.Name = v - return s -} - -// SetStatus sets the Status field's value. -func (s *InstanceStatusDetails) SetStatus(v StatusType) *InstanceStatusDetails { - s.Status = v - return s -} - // Describes a scheduled event for an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStatusEvent type InstanceStatusEvent struct { @@ -44745,30 +35583,6 @@ func (s InstanceStatusEvent) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *InstanceStatusEvent) SetCode(v EventCode) *InstanceStatusEvent { - s.Code = v - return s -} - -// SetDescription sets the Description field's value. -func (s *InstanceStatusEvent) SetDescription(v string) *InstanceStatusEvent { - s.Description = &v - return s -} - -// SetNotAfter sets the NotAfter field's value. -func (s *InstanceStatusEvent) SetNotAfter(v time.Time) *InstanceStatusEvent { - s.NotAfter = &v - return s -} - -// SetNotBefore sets the NotBefore field's value. -func (s *InstanceStatusEvent) SetNotBefore(v time.Time) *InstanceStatusEvent { - s.NotBefore = &v - return s -} - // Describes the status of an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceStatusSummary type InstanceStatusSummary struct { @@ -44791,18 +35605,6 @@ func (s InstanceStatusSummary) GoString() string { return s.String() } -// SetDetails sets the Details field's value. -func (s *InstanceStatusSummary) SetDetails(v []InstanceStatusDetails) *InstanceStatusSummary { - s.Details = v - return s -} - -// SetStatus sets the Status field's value. -func (s *InstanceStatusSummary) SetStatus(v SummaryStatus) *InstanceStatusSummary { - s.Status = v - return s -} - // Describes an Internet gateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InternetGateway type InternetGateway struct { @@ -44828,24 +35630,6 @@ func (s InternetGateway) GoString() string { return s.String() } -// SetAttachments sets the Attachments field's value. -func (s *InternetGateway) SetAttachments(v []InternetGatewayAttachment) *InternetGateway { - s.Attachments = v - return s -} - -// SetInternetGatewayId sets the InternetGatewayId field's value. -func (s *InternetGateway) SetInternetGatewayId(v string) *InternetGateway { - s.InternetGatewayId = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *InternetGateway) SetTags(v []Tag) *InternetGateway { - s.Tags = v - return s -} - // Describes the attachment of a VPC to an Internet gateway or an egress-only // Internet gateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InternetGatewayAttachment @@ -44869,18 +35653,6 @@ func (s InternetGatewayAttachment) GoString() string { return s.String() } -// SetState sets the State field's value. -func (s *InternetGatewayAttachment) SetState(v AttachmentStatus) *InternetGatewayAttachment { - s.State = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *InternetGatewayAttachment) SetVpcId(v string) *InternetGatewayAttachment { - s.VpcId = &v - return s -} - // Describes a set of permissions for a security group rule. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpPermission type IpPermission struct { @@ -44933,48 +35705,6 @@ func (s IpPermission) GoString() string { return s.String() } -// SetFromPort sets the FromPort field's value. -func (s *IpPermission) SetFromPort(v int64) *IpPermission { - s.FromPort = &v - return s -} - -// SetIpProtocol sets the IpProtocol field's value. -func (s *IpPermission) SetIpProtocol(v string) *IpPermission { - s.IpProtocol = &v - return s -} - -// SetIpRanges sets the IpRanges field's value. -func (s *IpPermission) SetIpRanges(v []IpRange) *IpPermission { - s.IpRanges = v - return s -} - -// SetIpv6Ranges sets the Ipv6Ranges field's value. -func (s *IpPermission) SetIpv6Ranges(v []Ipv6Range) *IpPermission { - s.Ipv6Ranges = v - return s -} - -// SetPrefixListIds sets the PrefixListIds field's value. -func (s *IpPermission) SetPrefixListIds(v []PrefixListId) *IpPermission { - s.PrefixListIds = v - return s -} - -// SetToPort sets the ToPort field's value. -func (s *IpPermission) SetToPort(v int64) *IpPermission { - s.ToPort = &v - return s -} - -// SetUserIdGroupPairs sets the UserIdGroupPairs field's value. -func (s *IpPermission) SetUserIdGroupPairs(v []UserIdGroupPair) *IpPermission { - s.UserIdGroupPairs = v - return s -} - // Describes an IPv4 range. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpRange type IpRange struct { @@ -45002,18 +35732,6 @@ func (s IpRange) GoString() string { return s.String() } -// SetCidrIp sets the CidrIp field's value. -func (s *IpRange) SetCidrIp(v string) *IpRange { - s.CidrIp = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *IpRange) SetDescription(v string) *IpRange { - s.Description = &v - return s -} - // Describes an IPv6 CIDR block. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv6CidrBlock type Ipv6CidrBlock struct { @@ -45033,12 +35751,6 @@ func (s Ipv6CidrBlock) GoString() string { return s.String() } -// SetIpv6CidrBlock sets the Ipv6CidrBlock field's value. -func (s *Ipv6CidrBlock) SetIpv6CidrBlock(v string) *Ipv6CidrBlock { - s.Ipv6CidrBlock = &v - return s -} - // [EC2-VPC only] Describes an IPv6 range. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv6Range type Ipv6Range struct { @@ -45066,18 +35778,6 @@ func (s Ipv6Range) GoString() string { return s.String() } -// SetCidrIpv6 sets the CidrIpv6 field's value. -func (s *Ipv6Range) SetCidrIpv6(v string) *Ipv6Range { - s.CidrIpv6 = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Ipv6Range) SetDescription(v string) *Ipv6Range { - s.Description = &v - return s -} - // Describes a key pair. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/KeyPairInfo type KeyPairInfo struct { @@ -45103,18 +35803,6 @@ func (s KeyPairInfo) GoString() string { return s.String() } -// SetKeyFingerprint sets the KeyFingerprint field's value. -func (s *KeyPairInfo) SetKeyFingerprint(v string) *KeyPairInfo { - s.KeyFingerprint = &v - return s -} - -// SetKeyName sets the KeyName field's value. -func (s *KeyPairInfo) SetKeyName(v string) *KeyPairInfo { - s.KeyName = &v - return s -} - // Describes a launch permission. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchPermission type LaunchPermission struct { @@ -45137,18 +35825,6 @@ func (s LaunchPermission) GoString() string { return s.String() } -// SetGroup sets the Group field's value. -func (s *LaunchPermission) SetGroup(v PermissionGroup) *LaunchPermission { - s.Group = v - return s -} - -// SetUserId sets the UserId field's value. -func (s *LaunchPermission) SetUserId(v string) *LaunchPermission { - s.UserId = &v - return s -} - // Describes a launch permission modification. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchPermissionModifications type LaunchPermissionModifications struct { @@ -45172,18 +35848,6 @@ func (s LaunchPermissionModifications) GoString() string { return s.String() } -// SetAdd sets the Add field's value. -func (s *LaunchPermissionModifications) SetAdd(v []LaunchPermission) *LaunchPermissionModifications { - s.Add = v - return s -} - -// SetRemove sets the Remove field's value. -func (s *LaunchPermissionModifications) SetRemove(v []LaunchPermission) *LaunchPermissionModifications { - s.Remove = v - return s -} - // Describes the launch specification for an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchSpecification type LaunchSpecification struct { @@ -45256,96 +35920,6 @@ func (s LaunchSpecification) GoString() string { return s.String() } -// SetAddressingType sets the AddressingType field's value. -func (s *LaunchSpecification) SetAddressingType(v string) *LaunchSpecification { - s.AddressingType = &v - return s -} - -// SetBlockDeviceMappings sets the BlockDeviceMappings field's value. -func (s *LaunchSpecification) SetBlockDeviceMappings(v []BlockDeviceMapping) *LaunchSpecification { - s.BlockDeviceMappings = v - return s -} - -// SetEbsOptimized sets the EbsOptimized field's value. -func (s *LaunchSpecification) SetEbsOptimized(v bool) *LaunchSpecification { - s.EbsOptimized = &v - return s -} - -// SetIamInstanceProfile sets the IamInstanceProfile field's value. -func (s *LaunchSpecification) SetIamInstanceProfile(v *IamInstanceProfileSpecification) *LaunchSpecification { - s.IamInstanceProfile = v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *LaunchSpecification) SetImageId(v string) *LaunchSpecification { - s.ImageId = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *LaunchSpecification) SetInstanceType(v InstanceType) *LaunchSpecification { - s.InstanceType = v - return s -} - -// SetKernelId sets the KernelId field's value. -func (s *LaunchSpecification) SetKernelId(v string) *LaunchSpecification { - s.KernelId = &v - return s -} - -// SetKeyName sets the KeyName field's value. -func (s *LaunchSpecification) SetKeyName(v string) *LaunchSpecification { - s.KeyName = &v - return s -} - -// SetMonitoring sets the Monitoring field's value. -func (s *LaunchSpecification) SetMonitoring(v *RunInstancesMonitoringEnabled) *LaunchSpecification { - s.Monitoring = v - return s -} - -// SetNetworkInterfaces sets the NetworkInterfaces field's value. -func (s *LaunchSpecification) SetNetworkInterfaces(v []InstanceNetworkInterfaceSpecification) *LaunchSpecification { - s.NetworkInterfaces = v - return s -} - -// SetPlacement sets the Placement field's value. -func (s *LaunchSpecification) SetPlacement(v *SpotPlacement) *LaunchSpecification { - s.Placement = v - return s -} - -// SetRamdiskId sets the RamdiskId field's value. -func (s *LaunchSpecification) SetRamdiskId(v string) *LaunchSpecification { - s.RamdiskId = &v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *LaunchSpecification) SetSecurityGroups(v []GroupIdentifier) *LaunchSpecification { - s.SecurityGroups = v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *LaunchSpecification) SetSubnetId(v string) *LaunchSpecification { - s.SubnetId = &v - return s -} - -// SetUserData sets the UserData field's value. -func (s *LaunchSpecification) SetUserData(v string) *LaunchSpecification { - s.UserData = &v - return s -} - // Describes a launch template. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplate type LaunchTemplate struct { @@ -45383,48 +35957,6 @@ func (s LaunchTemplate) GoString() string { return s.String() } -// SetCreateTime sets the CreateTime field's value. -func (s *LaunchTemplate) SetCreateTime(v time.Time) *LaunchTemplate { - s.CreateTime = &v - return s -} - -// SetCreatedBy sets the CreatedBy field's value. -func (s *LaunchTemplate) SetCreatedBy(v string) *LaunchTemplate { - s.CreatedBy = &v - return s -} - -// SetDefaultVersionNumber sets the DefaultVersionNumber field's value. -func (s *LaunchTemplate) SetDefaultVersionNumber(v int64) *LaunchTemplate { - s.DefaultVersionNumber = &v - return s -} - -// SetLatestVersionNumber sets the LatestVersionNumber field's value. -func (s *LaunchTemplate) SetLatestVersionNumber(v int64) *LaunchTemplate { - s.LatestVersionNumber = &v - return s -} - -// SetLaunchTemplateId sets the LaunchTemplateId field's value. -func (s *LaunchTemplate) SetLaunchTemplateId(v string) *LaunchTemplate { - s.LaunchTemplateId = &v - return s -} - -// SetLaunchTemplateName sets the LaunchTemplateName field's value. -func (s *LaunchTemplate) SetLaunchTemplateName(v string) *LaunchTemplate { - s.LaunchTemplateName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *LaunchTemplate) SetTags(v []Tag) *LaunchTemplate { - s.Tags = v - return s -} - // Describes a block device mapping. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateBlockDeviceMapping type LaunchTemplateBlockDeviceMapping struct { @@ -45454,30 +35986,6 @@ func (s LaunchTemplateBlockDeviceMapping) GoString() string { return s.String() } -// SetDeviceName sets the DeviceName field's value. -func (s *LaunchTemplateBlockDeviceMapping) SetDeviceName(v string) *LaunchTemplateBlockDeviceMapping { - s.DeviceName = &v - return s -} - -// SetEbs sets the Ebs field's value. -func (s *LaunchTemplateBlockDeviceMapping) SetEbs(v *LaunchTemplateEbsBlockDevice) *LaunchTemplateBlockDeviceMapping { - s.Ebs = v - return s -} - -// SetNoDevice sets the NoDevice field's value. -func (s *LaunchTemplateBlockDeviceMapping) SetNoDevice(v string) *LaunchTemplateBlockDeviceMapping { - s.NoDevice = &v - return s -} - -// SetVirtualName sets the VirtualName field's value. -func (s *LaunchTemplateBlockDeviceMapping) SetVirtualName(v string) *LaunchTemplateBlockDeviceMapping { - s.VirtualName = &v - return s -} - // Describes a block device mapping. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateBlockDeviceMappingRequest type LaunchTemplateBlockDeviceMappingRequest struct { @@ -45512,30 +36020,6 @@ func (s LaunchTemplateBlockDeviceMappingRequest) GoString() string { return s.String() } -// SetDeviceName sets the DeviceName field's value. -func (s *LaunchTemplateBlockDeviceMappingRequest) SetDeviceName(v string) *LaunchTemplateBlockDeviceMappingRequest { - s.DeviceName = &v - return s -} - -// SetEbs sets the Ebs field's value. -func (s *LaunchTemplateBlockDeviceMappingRequest) SetEbs(v *LaunchTemplateEbsBlockDeviceRequest) *LaunchTemplateBlockDeviceMappingRequest { - s.Ebs = v - return s -} - -// SetNoDevice sets the NoDevice field's value. -func (s *LaunchTemplateBlockDeviceMappingRequest) SetNoDevice(v string) *LaunchTemplateBlockDeviceMappingRequest { - s.NoDevice = &v - return s -} - -// SetVirtualName sets the VirtualName field's value. -func (s *LaunchTemplateBlockDeviceMappingRequest) SetVirtualName(v string) *LaunchTemplateBlockDeviceMappingRequest { - s.VirtualName = &v - return s -} - // Describes a launch template and overrides. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateConfig type LaunchTemplateConfig struct { @@ -45574,18 +36058,6 @@ func (s *LaunchTemplateConfig) Validate() error { return nil } -// SetLaunchTemplateSpecification sets the LaunchTemplateSpecification field's value. -func (s *LaunchTemplateConfig) SetLaunchTemplateSpecification(v *FleetLaunchTemplateSpecification) *LaunchTemplateConfig { - s.LaunchTemplateSpecification = v - return s -} - -// SetOverrides sets the Overrides field's value. -func (s *LaunchTemplateConfig) SetOverrides(v []LaunchTemplateOverrides) *LaunchTemplateConfig { - s.Overrides = v - return s -} - // Describes a block device for an EBS volume. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateEbsBlockDevice type LaunchTemplateEbsBlockDevice struct { @@ -45623,48 +36095,6 @@ func (s LaunchTemplateEbsBlockDevice) GoString() string { return s.String() } -// SetDeleteOnTermination sets the DeleteOnTermination field's value. -func (s *LaunchTemplateEbsBlockDevice) SetDeleteOnTermination(v bool) *LaunchTemplateEbsBlockDevice { - s.DeleteOnTermination = &v - return s -} - -// SetEncrypted sets the Encrypted field's value. -func (s *LaunchTemplateEbsBlockDevice) SetEncrypted(v bool) *LaunchTemplateEbsBlockDevice { - s.Encrypted = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *LaunchTemplateEbsBlockDevice) SetIops(v int64) *LaunchTemplateEbsBlockDevice { - s.Iops = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *LaunchTemplateEbsBlockDevice) SetKmsKeyId(v string) *LaunchTemplateEbsBlockDevice { - s.KmsKeyId = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *LaunchTemplateEbsBlockDevice) SetSnapshotId(v string) *LaunchTemplateEbsBlockDevice { - s.SnapshotId = &v - return s -} - -// SetVolumeSize sets the VolumeSize field's value. -func (s *LaunchTemplateEbsBlockDevice) SetVolumeSize(v int64) *LaunchTemplateEbsBlockDevice { - s.VolumeSize = &v - return s -} - -// SetVolumeType sets the VolumeType field's value. -func (s *LaunchTemplateEbsBlockDevice) SetVolumeType(v VolumeType) *LaunchTemplateEbsBlockDevice { - s.VolumeType = v - return s -} - // The parameters for a block device for an EBS volume. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateEbsBlockDeviceRequest type LaunchTemplateEbsBlockDeviceRequest struct { @@ -45716,48 +36146,6 @@ func (s LaunchTemplateEbsBlockDeviceRequest) GoString() string { return s.String() } -// SetDeleteOnTermination sets the DeleteOnTermination field's value. -func (s *LaunchTemplateEbsBlockDeviceRequest) SetDeleteOnTermination(v bool) *LaunchTemplateEbsBlockDeviceRequest { - s.DeleteOnTermination = &v - return s -} - -// SetEncrypted sets the Encrypted field's value. -func (s *LaunchTemplateEbsBlockDeviceRequest) SetEncrypted(v bool) *LaunchTemplateEbsBlockDeviceRequest { - s.Encrypted = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *LaunchTemplateEbsBlockDeviceRequest) SetIops(v int64) *LaunchTemplateEbsBlockDeviceRequest { - s.Iops = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *LaunchTemplateEbsBlockDeviceRequest) SetKmsKeyId(v string) *LaunchTemplateEbsBlockDeviceRequest { - s.KmsKeyId = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *LaunchTemplateEbsBlockDeviceRequest) SetSnapshotId(v string) *LaunchTemplateEbsBlockDeviceRequest { - s.SnapshotId = &v - return s -} - -// SetVolumeSize sets the VolumeSize field's value. -func (s *LaunchTemplateEbsBlockDeviceRequest) SetVolumeSize(v int64) *LaunchTemplateEbsBlockDeviceRequest { - s.VolumeSize = &v - return s -} - -// SetVolumeType sets the VolumeType field's value. -func (s *LaunchTemplateEbsBlockDeviceRequest) SetVolumeType(v VolumeType) *LaunchTemplateEbsBlockDeviceRequest { - s.VolumeType = v - return s -} - // Describes an IAM instance profile. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateIamInstanceProfileSpecification type LaunchTemplateIamInstanceProfileSpecification struct { @@ -45780,18 +36168,6 @@ func (s LaunchTemplateIamInstanceProfileSpecification) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *LaunchTemplateIamInstanceProfileSpecification) SetArn(v string) *LaunchTemplateIamInstanceProfileSpecification { - s.Arn = &v - return s -} - -// SetName sets the Name field's value. -func (s *LaunchTemplateIamInstanceProfileSpecification) SetName(v string) *LaunchTemplateIamInstanceProfileSpecification { - s.Name = &v - return s -} - // An IAM instance profile. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateIamInstanceProfileSpecificationRequest type LaunchTemplateIamInstanceProfileSpecificationRequest struct { @@ -45814,18 +36190,6 @@ func (s LaunchTemplateIamInstanceProfileSpecificationRequest) GoString() string return s.String() } -// SetArn sets the Arn field's value. -func (s *LaunchTemplateIamInstanceProfileSpecificationRequest) SetArn(v string) *LaunchTemplateIamInstanceProfileSpecificationRequest { - s.Arn = &v - return s -} - -// SetName sets the Name field's value. -func (s *LaunchTemplateIamInstanceProfileSpecificationRequest) SetName(v string) *LaunchTemplateIamInstanceProfileSpecificationRequest { - s.Name = &v - return s -} - // The market (purchasing) option for the instances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceMarketOptions type LaunchTemplateInstanceMarketOptions struct { @@ -45848,18 +36212,6 @@ func (s LaunchTemplateInstanceMarketOptions) GoString() string { return s.String() } -// SetMarketType sets the MarketType field's value. -func (s *LaunchTemplateInstanceMarketOptions) SetMarketType(v MarketType) *LaunchTemplateInstanceMarketOptions { - s.MarketType = v - return s -} - -// SetSpotOptions sets the SpotOptions field's value. -func (s *LaunchTemplateInstanceMarketOptions) SetSpotOptions(v *LaunchTemplateSpotMarketOptions) *LaunchTemplateInstanceMarketOptions { - s.SpotOptions = v - return s -} - // The market (purchasing) option for the instances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceMarketOptionsRequest type LaunchTemplateInstanceMarketOptionsRequest struct { @@ -45882,18 +36234,6 @@ func (s LaunchTemplateInstanceMarketOptionsRequest) GoString() string { return s.String() } -// SetMarketType sets the MarketType field's value. -func (s *LaunchTemplateInstanceMarketOptionsRequest) SetMarketType(v MarketType) *LaunchTemplateInstanceMarketOptionsRequest { - s.MarketType = v - return s -} - -// SetSpotOptions sets the SpotOptions field's value. -func (s *LaunchTemplateInstanceMarketOptionsRequest) SetSpotOptions(v *LaunchTemplateSpotMarketOptionsRequest) *LaunchTemplateInstanceMarketOptionsRequest { - s.SpotOptions = v - return s -} - // Describes a network interface. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceNetworkInterfaceSpecification type LaunchTemplateInstanceNetworkInterfaceSpecification struct { @@ -45947,78 +36287,6 @@ func (s LaunchTemplateInstanceNetworkInterfaceSpecification) GoString() string { return s.String() } -// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetAssociatePublicIpAddress(v bool) *LaunchTemplateInstanceNetworkInterfaceSpecification { - s.AssociatePublicIpAddress = &v - return s -} - -// SetDeleteOnTermination sets the DeleteOnTermination field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetDeleteOnTermination(v bool) *LaunchTemplateInstanceNetworkInterfaceSpecification { - s.DeleteOnTermination = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetDescription(v string) *LaunchTemplateInstanceNetworkInterfaceSpecification { - s.Description = &v - return s -} - -// SetDeviceIndex sets the DeviceIndex field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetDeviceIndex(v int64) *LaunchTemplateInstanceNetworkInterfaceSpecification { - s.DeviceIndex = &v - return s -} - -// SetGroups sets the Groups field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetGroups(v []string) *LaunchTemplateInstanceNetworkInterfaceSpecification { - s.Groups = v - return s -} - -// SetIpv6AddressCount sets the Ipv6AddressCount field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetIpv6AddressCount(v int64) *LaunchTemplateInstanceNetworkInterfaceSpecification { - s.Ipv6AddressCount = &v - return s -} - -// SetIpv6Addresses sets the Ipv6Addresses field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetIpv6Addresses(v []InstanceIpv6Address) *LaunchTemplateInstanceNetworkInterfaceSpecification { - s.Ipv6Addresses = v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetNetworkInterfaceId(v string) *LaunchTemplateInstanceNetworkInterfaceSpecification { - s.NetworkInterfaceId = &v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetPrivateIpAddress(v string) *LaunchTemplateInstanceNetworkInterfaceSpecification { - s.PrivateIpAddress = &v - return s -} - -// SetPrivateIpAddresses sets the PrivateIpAddresses field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetPrivateIpAddresses(v []PrivateIpAddressSpecification) *LaunchTemplateInstanceNetworkInterfaceSpecification { - s.PrivateIpAddresses = v - return s -} - -// SetSecondaryPrivateIpAddressCount sets the SecondaryPrivateIpAddressCount field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetSecondaryPrivateIpAddressCount(v int64) *LaunchTemplateInstanceNetworkInterfaceSpecification { - s.SecondaryPrivateIpAddressCount = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecification) SetSubnetId(v string) *LaunchTemplateInstanceNetworkInterfaceSpecification { - s.SubnetId = &v - return s -} - // The parameters for a network interface. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceNetworkInterfaceSpecificationRequest type LaunchTemplateInstanceNetworkInterfaceSpecificationRequest struct { @@ -46091,78 +36359,6 @@ func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) Validate() return nil } -// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetAssociatePublicIpAddress(v bool) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { - s.AssociatePublicIpAddress = &v - return s -} - -// SetDeleteOnTermination sets the DeleteOnTermination field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetDeleteOnTermination(v bool) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { - s.DeleteOnTermination = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetDescription(v string) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { - s.Description = &v - return s -} - -// SetDeviceIndex sets the DeviceIndex field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetDeviceIndex(v int64) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { - s.DeviceIndex = &v - return s -} - -// SetGroups sets the Groups field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetGroups(v []string) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { - s.Groups = v - return s -} - -// SetIpv6AddressCount sets the Ipv6AddressCount field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetIpv6AddressCount(v int64) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { - s.Ipv6AddressCount = &v - return s -} - -// SetIpv6Addresses sets the Ipv6Addresses field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetIpv6Addresses(v []InstanceIpv6AddressRequest) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { - s.Ipv6Addresses = v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetNetworkInterfaceId(v string) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { - s.NetworkInterfaceId = &v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetPrivateIpAddress(v string) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { - s.PrivateIpAddress = &v - return s -} - -// SetPrivateIpAddresses sets the PrivateIpAddresses field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetPrivateIpAddresses(v []PrivateIpAddressSpecification) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { - s.PrivateIpAddresses = v - return s -} - -// SetSecondaryPrivateIpAddressCount sets the SecondaryPrivateIpAddressCount field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetSecondaryPrivateIpAddressCount(v int64) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { - s.SecondaryPrivateIpAddressCount = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) SetSubnetId(v string) *LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { - s.SubnetId = &v - return s -} - // Describes overrides for a launch template. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateOverrides type LaunchTemplateOverrides struct { @@ -46194,36 +36390,6 @@ func (s LaunchTemplateOverrides) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *LaunchTemplateOverrides) SetAvailabilityZone(v string) *LaunchTemplateOverrides { - s.AvailabilityZone = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *LaunchTemplateOverrides) SetInstanceType(v InstanceType) *LaunchTemplateOverrides { - s.InstanceType = v - return s -} - -// SetSpotPrice sets the SpotPrice field's value. -func (s *LaunchTemplateOverrides) SetSpotPrice(v string) *LaunchTemplateOverrides { - s.SpotPrice = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *LaunchTemplateOverrides) SetSubnetId(v string) *LaunchTemplateOverrides { - s.SubnetId = &v - return s -} - -// SetWeightedCapacity sets the WeightedCapacity field's value. -func (s *LaunchTemplateOverrides) SetWeightedCapacity(v float64) *LaunchTemplateOverrides { - s.WeightedCapacity = &v - return s -} - // Describes the placement of an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplatePlacement type LaunchTemplatePlacement struct { @@ -46259,42 +36425,6 @@ func (s LaunchTemplatePlacement) GoString() string { return s.String() } -// SetAffinity sets the Affinity field's value. -func (s *LaunchTemplatePlacement) SetAffinity(v string) *LaunchTemplatePlacement { - s.Affinity = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *LaunchTemplatePlacement) SetAvailabilityZone(v string) *LaunchTemplatePlacement { - s.AvailabilityZone = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *LaunchTemplatePlacement) SetGroupName(v string) *LaunchTemplatePlacement { - s.GroupName = &v - return s -} - -// SetHostId sets the HostId field's value. -func (s *LaunchTemplatePlacement) SetHostId(v string) *LaunchTemplatePlacement { - s.HostId = &v - return s -} - -// SetSpreadDomain sets the SpreadDomain field's value. -func (s *LaunchTemplatePlacement) SetSpreadDomain(v string) *LaunchTemplatePlacement { - s.SpreadDomain = &v - return s -} - -// SetTenancy sets the Tenancy field's value. -func (s *LaunchTemplatePlacement) SetTenancy(v Tenancy) *LaunchTemplatePlacement { - s.Tenancy = v - return s -} - // The placement for the instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplatePlacementRequest type LaunchTemplatePlacementRequest struct { @@ -46330,42 +36460,6 @@ func (s LaunchTemplatePlacementRequest) GoString() string { return s.String() } -// SetAffinity sets the Affinity field's value. -func (s *LaunchTemplatePlacementRequest) SetAffinity(v string) *LaunchTemplatePlacementRequest { - s.Affinity = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *LaunchTemplatePlacementRequest) SetAvailabilityZone(v string) *LaunchTemplatePlacementRequest { - s.AvailabilityZone = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *LaunchTemplatePlacementRequest) SetGroupName(v string) *LaunchTemplatePlacementRequest { - s.GroupName = &v - return s -} - -// SetHostId sets the HostId field's value. -func (s *LaunchTemplatePlacementRequest) SetHostId(v string) *LaunchTemplatePlacementRequest { - s.HostId = &v - return s -} - -// SetSpreadDomain sets the SpreadDomain field's value. -func (s *LaunchTemplatePlacementRequest) SetSpreadDomain(v string) *LaunchTemplatePlacementRequest { - s.SpreadDomain = &v - return s -} - -// SetTenancy sets the Tenancy field's value. -func (s *LaunchTemplatePlacementRequest) SetTenancy(v Tenancy) *LaunchTemplatePlacementRequest { - s.Tenancy = v - return s -} - // The launch template to use. You must specify either the launch template ID // or launch template name in the request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateSpecification @@ -46394,24 +36488,6 @@ func (s LaunchTemplateSpecification) GoString() string { return s.String() } -// SetLaunchTemplateId sets the LaunchTemplateId field's value. -func (s *LaunchTemplateSpecification) SetLaunchTemplateId(v string) *LaunchTemplateSpecification { - s.LaunchTemplateId = &v - return s -} - -// SetLaunchTemplateName sets the LaunchTemplateName field's value. -func (s *LaunchTemplateSpecification) SetLaunchTemplateName(v string) *LaunchTemplateSpecification { - s.LaunchTemplateName = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *LaunchTemplateSpecification) SetVersion(v string) *LaunchTemplateSpecification { - s.Version = &v - return s -} - // The options for Spot Instances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateSpotMarketOptions type LaunchTemplateSpotMarketOptions struct { @@ -46448,36 +36524,6 @@ func (s LaunchTemplateSpotMarketOptions) GoString() string { return s.String() } -// SetBlockDurationMinutes sets the BlockDurationMinutes field's value. -func (s *LaunchTemplateSpotMarketOptions) SetBlockDurationMinutes(v int64) *LaunchTemplateSpotMarketOptions { - s.BlockDurationMinutes = &v - return s -} - -// SetInstanceInterruptionBehavior sets the InstanceInterruptionBehavior field's value. -func (s *LaunchTemplateSpotMarketOptions) SetInstanceInterruptionBehavior(v InstanceInterruptionBehavior) *LaunchTemplateSpotMarketOptions { - s.InstanceInterruptionBehavior = v - return s -} - -// SetMaxPrice sets the MaxPrice field's value. -func (s *LaunchTemplateSpotMarketOptions) SetMaxPrice(v string) *LaunchTemplateSpotMarketOptions { - s.MaxPrice = &v - return s -} - -// SetSpotInstanceType sets the SpotInstanceType field's value. -func (s *LaunchTemplateSpotMarketOptions) SetSpotInstanceType(v SpotInstanceType) *LaunchTemplateSpotMarketOptions { - s.SpotInstanceType = v - return s -} - -// SetValidUntil sets the ValidUntil field's value. -func (s *LaunchTemplateSpotMarketOptions) SetValidUntil(v time.Time) *LaunchTemplateSpotMarketOptions { - s.ValidUntil = &v - return s -} - // The options for Spot Instances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateSpotMarketOptionsRequest type LaunchTemplateSpotMarketOptionsRequest struct { @@ -46515,36 +36561,6 @@ func (s LaunchTemplateSpotMarketOptionsRequest) GoString() string { return s.String() } -// SetBlockDurationMinutes sets the BlockDurationMinutes field's value. -func (s *LaunchTemplateSpotMarketOptionsRequest) SetBlockDurationMinutes(v int64) *LaunchTemplateSpotMarketOptionsRequest { - s.BlockDurationMinutes = &v - return s -} - -// SetInstanceInterruptionBehavior sets the InstanceInterruptionBehavior field's value. -func (s *LaunchTemplateSpotMarketOptionsRequest) SetInstanceInterruptionBehavior(v InstanceInterruptionBehavior) *LaunchTemplateSpotMarketOptionsRequest { - s.InstanceInterruptionBehavior = v - return s -} - -// SetMaxPrice sets the MaxPrice field's value. -func (s *LaunchTemplateSpotMarketOptionsRequest) SetMaxPrice(v string) *LaunchTemplateSpotMarketOptionsRequest { - s.MaxPrice = &v - return s -} - -// SetSpotInstanceType sets the SpotInstanceType field's value. -func (s *LaunchTemplateSpotMarketOptionsRequest) SetSpotInstanceType(v SpotInstanceType) *LaunchTemplateSpotMarketOptionsRequest { - s.SpotInstanceType = v - return s -} - -// SetValidUntil sets the ValidUntil field's value. -func (s *LaunchTemplateSpotMarketOptionsRequest) SetValidUntil(v time.Time) *LaunchTemplateSpotMarketOptionsRequest { - s.ValidUntil = &v - return s -} - // The tag specification for the launch template. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateTagSpecification type LaunchTemplateTagSpecification struct { @@ -46567,18 +36583,6 @@ func (s LaunchTemplateTagSpecification) GoString() string { return s.String() } -// SetResourceType sets the ResourceType field's value. -func (s *LaunchTemplateTagSpecification) SetResourceType(v ResourceType) *LaunchTemplateTagSpecification { - s.ResourceType = v - return s -} - -// SetTags sets the Tags field's value. -func (s *LaunchTemplateTagSpecification) SetTags(v []Tag) *LaunchTemplateTagSpecification { - s.Tags = v - return s -} - // The tags specification for the launch template. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateTagSpecificationRequest type LaunchTemplateTagSpecificationRequest struct { @@ -46602,18 +36606,6 @@ func (s LaunchTemplateTagSpecificationRequest) GoString() string { return s.String() } -// SetResourceType sets the ResourceType field's value. -func (s *LaunchTemplateTagSpecificationRequest) SetResourceType(v ResourceType) *LaunchTemplateTagSpecificationRequest { - s.ResourceType = v - return s -} - -// SetTags sets the Tags field's value. -func (s *LaunchTemplateTagSpecificationRequest) SetTags(v []Tag) *LaunchTemplateTagSpecificationRequest { - s.Tags = v - return s -} - // Describes a launch template version. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateVersion type LaunchTemplateVersion struct { @@ -46654,54 +36646,6 @@ func (s LaunchTemplateVersion) GoString() string { return s.String() } -// SetCreateTime sets the CreateTime field's value. -func (s *LaunchTemplateVersion) SetCreateTime(v time.Time) *LaunchTemplateVersion { - s.CreateTime = &v - return s -} - -// SetCreatedBy sets the CreatedBy field's value. -func (s *LaunchTemplateVersion) SetCreatedBy(v string) *LaunchTemplateVersion { - s.CreatedBy = &v - return s -} - -// SetDefaultVersion sets the DefaultVersion field's value. -func (s *LaunchTemplateVersion) SetDefaultVersion(v bool) *LaunchTemplateVersion { - s.DefaultVersion = &v - return s -} - -// SetLaunchTemplateData sets the LaunchTemplateData field's value. -func (s *LaunchTemplateVersion) SetLaunchTemplateData(v *ResponseLaunchTemplateData) *LaunchTemplateVersion { - s.LaunchTemplateData = v - return s -} - -// SetLaunchTemplateId sets the LaunchTemplateId field's value. -func (s *LaunchTemplateVersion) SetLaunchTemplateId(v string) *LaunchTemplateVersion { - s.LaunchTemplateId = &v - return s -} - -// SetLaunchTemplateName sets the LaunchTemplateName field's value. -func (s *LaunchTemplateVersion) SetLaunchTemplateName(v string) *LaunchTemplateVersion { - s.LaunchTemplateName = &v - return s -} - -// SetVersionDescription sets the VersionDescription field's value. -func (s *LaunchTemplateVersion) SetVersionDescription(v string) *LaunchTemplateVersion { - s.VersionDescription = &v - return s -} - -// SetVersionNumber sets the VersionNumber field's value. -func (s *LaunchTemplateVersion) SetVersionNumber(v int64) *LaunchTemplateVersion { - s.VersionNumber = &v - return s -} - // Describes the monitoring for the instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplatesMonitoring type LaunchTemplatesMonitoring struct { @@ -46722,12 +36666,6 @@ func (s LaunchTemplatesMonitoring) GoString() string { return s.String() } -// SetEnabled sets the Enabled field's value. -func (s *LaunchTemplatesMonitoring) SetEnabled(v bool) *LaunchTemplatesMonitoring { - s.Enabled = &v - return s -} - // Describes the monitoring for the instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplatesMonitoringRequest type LaunchTemplatesMonitoringRequest struct { @@ -46748,12 +36686,6 @@ func (s LaunchTemplatesMonitoringRequest) GoString() string { return s.String() } -// SetEnabled sets the Enabled field's value. -func (s *LaunchTemplatesMonitoringRequest) SetEnabled(v bool) *LaunchTemplatesMonitoringRequest { - s.Enabled = &v - return s -} - // Describes the Classic Load Balancers and target groups to attach to a Spot // Fleet request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LoadBalancersConfig @@ -46797,18 +36729,6 @@ func (s *LoadBalancersConfig) Validate() error { return nil } -// SetClassicLoadBalancersConfig sets the ClassicLoadBalancersConfig field's value. -func (s *LoadBalancersConfig) SetClassicLoadBalancersConfig(v *ClassicLoadBalancersConfig) *LoadBalancersConfig { - s.ClassicLoadBalancersConfig = v - return s -} - -// SetTargetGroupsConfig sets the TargetGroupsConfig field's value. -func (s *LoadBalancersConfig) SetTargetGroupsConfig(v *TargetGroupsConfig) *LoadBalancersConfig { - s.TargetGroupsConfig = v - return s -} - // Describes a load permission. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LoadPermission type LoadPermission struct { @@ -46831,18 +36751,6 @@ func (s LoadPermission) GoString() string { return s.String() } -// SetGroup sets the Group field's value. -func (s *LoadPermission) SetGroup(v PermissionGroup) *LoadPermission { - s.Group = v - return s -} - -// SetUserId sets the UserId field's value. -func (s *LoadPermission) SetUserId(v string) *LoadPermission { - s.UserId = &v - return s -} - // Describes modifications to the load permissions of an Amazon FPGA image (AFI). // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LoadPermissionModifications type LoadPermissionModifications struct { @@ -46865,18 +36773,6 @@ func (s LoadPermissionModifications) GoString() string { return s.String() } -// SetAdd sets the Add field's value. -func (s *LoadPermissionModifications) SetAdd(v []LoadPermissionRequest) *LoadPermissionModifications { - s.Add = v - return s -} - -// SetRemove sets the Remove field's value. -func (s *LoadPermissionModifications) SetRemove(v []LoadPermissionRequest) *LoadPermissionModifications { - s.Remove = v - return s -} - // Describes a load permission. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LoadPermissionRequest type LoadPermissionRequest struct { @@ -46899,18 +36795,6 @@ func (s LoadPermissionRequest) GoString() string { return s.String() } -// SetGroup sets the Group field's value. -func (s *LoadPermissionRequest) SetGroup(v PermissionGroup) *LoadPermissionRequest { - s.Group = v - return s -} - -// SetUserId sets the UserId field's value. -func (s *LoadPermissionRequest) SetUserId(v string) *LoadPermissionRequest { - s.UserId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyFpgaImageAttributeRequest type ModifyFpgaImageAttributeInput struct { _ struct{} `type:"structure"` @@ -46979,66 +36863,6 @@ func (s *ModifyFpgaImageAttributeInput) Validate() error { return nil } -// SetAttribute sets the Attribute field's value. -func (s *ModifyFpgaImageAttributeInput) SetAttribute(v FpgaImageAttributeName) *ModifyFpgaImageAttributeInput { - s.Attribute = v - return s -} - -// SetDescription sets the Description field's value. -func (s *ModifyFpgaImageAttributeInput) SetDescription(v string) *ModifyFpgaImageAttributeInput { - s.Description = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ModifyFpgaImageAttributeInput) SetDryRun(v bool) *ModifyFpgaImageAttributeInput { - s.DryRun = &v - return s -} - -// SetFpgaImageId sets the FpgaImageId field's value. -func (s *ModifyFpgaImageAttributeInput) SetFpgaImageId(v string) *ModifyFpgaImageAttributeInput { - s.FpgaImageId = &v - return s -} - -// SetLoadPermission sets the LoadPermission field's value. -func (s *ModifyFpgaImageAttributeInput) SetLoadPermission(v *LoadPermissionModifications) *ModifyFpgaImageAttributeInput { - s.LoadPermission = v - return s -} - -// SetName sets the Name field's value. -func (s *ModifyFpgaImageAttributeInput) SetName(v string) *ModifyFpgaImageAttributeInput { - s.Name = &v - return s -} - -// SetOperationType sets the OperationType field's value. -func (s *ModifyFpgaImageAttributeInput) SetOperationType(v OperationType) *ModifyFpgaImageAttributeInput { - s.OperationType = v - return s -} - -// SetProductCodes sets the ProductCodes field's value. -func (s *ModifyFpgaImageAttributeInput) SetProductCodes(v []string) *ModifyFpgaImageAttributeInput { - s.ProductCodes = v - return s -} - -// SetUserGroups sets the UserGroups field's value. -func (s *ModifyFpgaImageAttributeInput) SetUserGroups(v []string) *ModifyFpgaImageAttributeInput { - s.UserGroups = v - return s -} - -// SetUserIds sets the UserIds field's value. -func (s *ModifyFpgaImageAttributeInput) SetUserIds(v []string) *ModifyFpgaImageAttributeInput { - s.UserIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyFpgaImageAttributeResult type ModifyFpgaImageAttributeOutput struct { _ struct{} `type:"structure"` @@ -47064,12 +36888,6 @@ func (s ModifyFpgaImageAttributeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFpgaImageAttribute sets the FpgaImageAttribute field's value. -func (s *ModifyFpgaImageAttributeOutput) SetFpgaImageAttribute(v *FpgaImageAttribute) *ModifyFpgaImageAttributeOutput { - s.FpgaImageAttribute = v - return s -} - // Contains the parameters for ModifyHosts. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyHostsRequest type ModifyHostsInput struct { @@ -47113,18 +36931,6 @@ func (s *ModifyHostsInput) Validate() error { return nil } -// SetAutoPlacement sets the AutoPlacement field's value. -func (s *ModifyHostsInput) SetAutoPlacement(v AutoPlacement) *ModifyHostsInput { - s.AutoPlacement = v - return s -} - -// SetHostIds sets the HostIds field's value. -func (s *ModifyHostsInput) SetHostIds(v []string) *ModifyHostsInput { - s.HostIds = v - return s -} - // Contains the output of ModifyHosts. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyHostsResult type ModifyHostsOutput struct { @@ -47155,18 +36961,6 @@ func (s ModifyHostsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSuccessful sets the Successful field's value. -func (s *ModifyHostsOutput) SetSuccessful(v []string) *ModifyHostsOutput { - s.Successful = v - return s -} - -// SetUnsuccessful sets the Unsuccessful field's value. -func (s *ModifyHostsOutput) SetUnsuccessful(v []UnsuccessfulItem) *ModifyHostsOutput { - s.Unsuccessful = v - return s -} - // Contains the parameters of ModifyIdFormat. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdFormatRequest type ModifyIdFormatInput struct { @@ -47211,18 +37005,6 @@ func (s *ModifyIdFormatInput) Validate() error { return nil } -// SetResource sets the Resource field's value. -func (s *ModifyIdFormatInput) SetResource(v string) *ModifyIdFormatInput { - s.Resource = &v - return s -} - -// SetUseLongIds sets the UseLongIds field's value. -func (s *ModifyIdFormatInput) SetUseLongIds(v bool) *ModifyIdFormatInput { - s.UseLongIds = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdFormatOutput type ModifyIdFormatOutput struct { _ struct{} `type:"structure"` @@ -47300,24 +37082,6 @@ func (s *ModifyIdentityIdFormatInput) Validate() error { return nil } -// SetPrincipalArn sets the PrincipalArn field's value. -func (s *ModifyIdentityIdFormatInput) SetPrincipalArn(v string) *ModifyIdentityIdFormatInput { - s.PrincipalArn = &v - return s -} - -// SetResource sets the Resource field's value. -func (s *ModifyIdentityIdFormatInput) SetResource(v string) *ModifyIdentityIdFormatInput { - s.Resource = &v - return s -} - -// SetUseLongIds sets the UseLongIds field's value. -func (s *ModifyIdentityIdFormatInput) SetUseLongIds(v bool) *ModifyIdentityIdFormatInput { - s.UseLongIds = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdentityIdFormatOutput type ModifyIdentityIdFormatOutput struct { _ struct{} `type:"structure"` @@ -47411,66 +37175,6 @@ func (s *ModifyImageAttributeInput) Validate() error { return nil } -// SetAttribute sets the Attribute field's value. -func (s *ModifyImageAttributeInput) SetAttribute(v string) *ModifyImageAttributeInput { - s.Attribute = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ModifyImageAttributeInput) SetDescription(v *AttributeValue) *ModifyImageAttributeInput { - s.Description = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ModifyImageAttributeInput) SetDryRun(v bool) *ModifyImageAttributeInput { - s.DryRun = &v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *ModifyImageAttributeInput) SetImageId(v string) *ModifyImageAttributeInput { - s.ImageId = &v - return s -} - -// SetLaunchPermission sets the LaunchPermission field's value. -func (s *ModifyImageAttributeInput) SetLaunchPermission(v *LaunchPermissionModifications) *ModifyImageAttributeInput { - s.LaunchPermission = v - return s -} - -// SetOperationType sets the OperationType field's value. -func (s *ModifyImageAttributeInput) SetOperationType(v OperationType) *ModifyImageAttributeInput { - s.OperationType = v - return s -} - -// SetProductCodes sets the ProductCodes field's value. -func (s *ModifyImageAttributeInput) SetProductCodes(v []string) *ModifyImageAttributeInput { - s.ProductCodes = v - return s -} - -// SetUserGroups sets the UserGroups field's value. -func (s *ModifyImageAttributeInput) SetUserGroups(v []string) *ModifyImageAttributeInput { - s.UserGroups = v - return s -} - -// SetUserIds sets the UserIds field's value. -func (s *ModifyImageAttributeInput) SetUserIds(v []string) *ModifyImageAttributeInput { - s.UserIds = v - return s -} - -// SetValue sets the Value field's value. -func (s *ModifyImageAttributeInput) SetValue(v string) *ModifyImageAttributeInput { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyImageAttributeOutput type ModifyImageAttributeOutput struct { _ struct{} `type:"structure"` @@ -47615,102 +37319,6 @@ func (s *ModifyInstanceAttributeInput) Validate() error { return nil } -// SetAttribute sets the Attribute field's value. -func (s *ModifyInstanceAttributeInput) SetAttribute(v InstanceAttributeName) *ModifyInstanceAttributeInput { - s.Attribute = v - return s -} - -// SetBlockDeviceMappings sets the BlockDeviceMappings field's value. -func (s *ModifyInstanceAttributeInput) SetBlockDeviceMappings(v []InstanceBlockDeviceMappingSpecification) *ModifyInstanceAttributeInput { - s.BlockDeviceMappings = v - return s -} - -// SetDisableApiTermination sets the DisableApiTermination field's value. -func (s *ModifyInstanceAttributeInput) SetDisableApiTermination(v *AttributeBooleanValue) *ModifyInstanceAttributeInput { - s.DisableApiTermination = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ModifyInstanceAttributeInput) SetDryRun(v bool) *ModifyInstanceAttributeInput { - s.DryRun = &v - return s -} - -// SetEbsOptimized sets the EbsOptimized field's value. -func (s *ModifyInstanceAttributeInput) SetEbsOptimized(v *AttributeBooleanValue) *ModifyInstanceAttributeInput { - s.EbsOptimized = v - return s -} - -// SetEnaSupport sets the EnaSupport field's value. -func (s *ModifyInstanceAttributeInput) SetEnaSupport(v *AttributeBooleanValue) *ModifyInstanceAttributeInput { - s.EnaSupport = v - return s -} - -// SetGroups sets the Groups field's value. -func (s *ModifyInstanceAttributeInput) SetGroups(v []string) *ModifyInstanceAttributeInput { - s.Groups = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *ModifyInstanceAttributeInput) SetInstanceId(v string) *ModifyInstanceAttributeInput { - s.InstanceId = &v - return s -} - -// SetInstanceInitiatedShutdownBehavior sets the InstanceInitiatedShutdownBehavior field's value. -func (s *ModifyInstanceAttributeInput) SetInstanceInitiatedShutdownBehavior(v *AttributeValue) *ModifyInstanceAttributeInput { - s.InstanceInitiatedShutdownBehavior = v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *ModifyInstanceAttributeInput) SetInstanceType(v *AttributeValue) *ModifyInstanceAttributeInput { - s.InstanceType = v - return s -} - -// SetKernel sets the Kernel field's value. -func (s *ModifyInstanceAttributeInput) SetKernel(v *AttributeValue) *ModifyInstanceAttributeInput { - s.Kernel = v - return s -} - -// SetRamdisk sets the Ramdisk field's value. -func (s *ModifyInstanceAttributeInput) SetRamdisk(v *AttributeValue) *ModifyInstanceAttributeInput { - s.Ramdisk = v - return s -} - -// SetSourceDestCheck sets the SourceDestCheck field's value. -func (s *ModifyInstanceAttributeInput) SetSourceDestCheck(v *AttributeBooleanValue) *ModifyInstanceAttributeInput { - s.SourceDestCheck = v - return s -} - -// SetSriovNetSupport sets the SriovNetSupport field's value. -func (s *ModifyInstanceAttributeInput) SetSriovNetSupport(v *AttributeValue) *ModifyInstanceAttributeInput { - s.SriovNetSupport = v - return s -} - -// SetUserData sets the UserData field's value. -func (s *ModifyInstanceAttributeInput) SetUserData(v *BlobAttributeValue) *ModifyInstanceAttributeInput { - s.UserData = v - return s -} - -// SetValue sets the Value field's value. -func (s *ModifyInstanceAttributeInput) SetValue(v string) *ModifyInstanceAttributeInput { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceAttributeOutput type ModifyInstanceAttributeOutput struct { _ struct{} `type:"structure"` @@ -47778,24 +37386,6 @@ func (s *ModifyInstanceCreditSpecificationInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *ModifyInstanceCreditSpecificationInput) SetClientToken(v string) *ModifyInstanceCreditSpecificationInput { - s.ClientToken = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ModifyInstanceCreditSpecificationInput) SetDryRun(v bool) *ModifyInstanceCreditSpecificationInput { - s.DryRun = &v - return s -} - -// SetInstanceCreditSpecifications sets the InstanceCreditSpecifications field's value. -func (s *ModifyInstanceCreditSpecificationInput) SetInstanceCreditSpecifications(v []InstanceCreditSpecificationRequest) *ModifyInstanceCreditSpecificationInput { - s.InstanceCreditSpecifications = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceCreditSpecificationResult type ModifyInstanceCreditSpecificationOutput struct { _ struct{} `type:"structure"` @@ -47826,18 +37416,6 @@ func (s ModifyInstanceCreditSpecificationOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetSuccessfulInstanceCreditSpecifications sets the SuccessfulInstanceCreditSpecifications field's value. -func (s *ModifyInstanceCreditSpecificationOutput) SetSuccessfulInstanceCreditSpecifications(v []SuccessfulInstanceCreditSpecificationItem) *ModifyInstanceCreditSpecificationOutput { - s.SuccessfulInstanceCreditSpecifications = v - return s -} - -// SetUnsuccessfulInstanceCreditSpecifications sets the UnsuccessfulInstanceCreditSpecifications field's value. -func (s *ModifyInstanceCreditSpecificationOutput) SetUnsuccessfulInstanceCreditSpecifications(v []UnsuccessfulInstanceCreditSpecificationItem) *ModifyInstanceCreditSpecificationOutput { - s.UnsuccessfulInstanceCreditSpecifications = v - return s -} - // Contains the parameters for ModifyInstancePlacement. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstancePlacementRequest type ModifyInstancePlacementInput struct { @@ -47882,30 +37460,6 @@ func (s *ModifyInstancePlacementInput) Validate() error { return nil } -// SetAffinity sets the Affinity field's value. -func (s *ModifyInstancePlacementInput) SetAffinity(v Affinity) *ModifyInstancePlacementInput { - s.Affinity = v - return s -} - -// SetHostId sets the HostId field's value. -func (s *ModifyInstancePlacementInput) SetHostId(v string) *ModifyInstancePlacementInput { - s.HostId = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *ModifyInstancePlacementInput) SetInstanceId(v string) *ModifyInstancePlacementInput { - s.InstanceId = &v - return s -} - -// SetTenancy sets the Tenancy field's value. -func (s *ModifyInstancePlacementInput) SetTenancy(v HostTenancy) *ModifyInstancePlacementInput { - s.Tenancy = v - return s -} - // Contains the output of ModifyInstancePlacement. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstancePlacementResult type ModifyInstancePlacementOutput struct { @@ -47932,12 +37486,6 @@ func (s ModifyInstancePlacementOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReturn sets the Return field's value. -func (s *ModifyInstancePlacementOutput) SetReturn(v bool) *ModifyInstancePlacementOutput { - s.Return = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyLaunchTemplateRequest type ModifyLaunchTemplateInput struct { _ struct{} `type:"structure"` @@ -47987,36 +37535,6 @@ func (s *ModifyLaunchTemplateInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *ModifyLaunchTemplateInput) SetClientToken(v string) *ModifyLaunchTemplateInput { - s.ClientToken = &v - return s -} - -// SetDefaultVersion sets the DefaultVersion field's value. -func (s *ModifyLaunchTemplateInput) SetDefaultVersion(v string) *ModifyLaunchTemplateInput { - s.DefaultVersion = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ModifyLaunchTemplateInput) SetDryRun(v bool) *ModifyLaunchTemplateInput { - s.DryRun = &v - return s -} - -// SetLaunchTemplateId sets the LaunchTemplateId field's value. -func (s *ModifyLaunchTemplateInput) SetLaunchTemplateId(v string) *ModifyLaunchTemplateInput { - s.LaunchTemplateId = &v - return s -} - -// SetLaunchTemplateName sets the LaunchTemplateName field's value. -func (s *ModifyLaunchTemplateInput) SetLaunchTemplateName(v string) *ModifyLaunchTemplateInput { - s.LaunchTemplateName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyLaunchTemplateResult type ModifyLaunchTemplateOutput struct { _ struct{} `type:"structure"` @@ -48042,12 +37560,6 @@ func (s ModifyLaunchTemplateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLaunchTemplate sets the LaunchTemplate field's value. -func (s *ModifyLaunchTemplateOutput) SetLaunchTemplate(v *LaunchTemplate) *ModifyLaunchTemplateOutput { - s.LaunchTemplate = v - return s -} - // Contains the parameters for ModifyNetworkInterfaceAttribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttributeRequest type ModifyNetworkInterfaceAttributeInput struct { @@ -48109,42 +37621,6 @@ func (s *ModifyNetworkInterfaceAttributeInput) Validate() error { return nil } -// SetAttachment sets the Attachment field's value. -func (s *ModifyNetworkInterfaceAttributeInput) SetAttachment(v *NetworkInterfaceAttachmentChanges) *ModifyNetworkInterfaceAttributeInput { - s.Attachment = v - return s -} - -// SetDescription sets the Description field's value. -func (s *ModifyNetworkInterfaceAttributeInput) SetDescription(v *AttributeValue) *ModifyNetworkInterfaceAttributeInput { - s.Description = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ModifyNetworkInterfaceAttributeInput) SetDryRun(v bool) *ModifyNetworkInterfaceAttributeInput { - s.DryRun = &v - return s -} - -// SetGroups sets the Groups field's value. -func (s *ModifyNetworkInterfaceAttributeInput) SetGroups(v []string) *ModifyNetworkInterfaceAttributeInput { - s.Groups = v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *ModifyNetworkInterfaceAttributeInput) SetNetworkInterfaceId(v string) *ModifyNetworkInterfaceAttributeInput { - s.NetworkInterfaceId = &v - return s -} - -// SetSourceDestCheck sets the SourceDestCheck field's value. -func (s *ModifyNetworkInterfaceAttributeInput) SetSourceDestCheck(v *AttributeBooleanValue) *ModifyNetworkInterfaceAttributeInput { - s.SourceDestCheck = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttributeOutput type ModifyNetworkInterfaceAttributeOutput struct { _ struct{} `type:"structure"` @@ -48215,24 +37691,6 @@ func (s *ModifyReservedInstancesInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *ModifyReservedInstancesInput) SetClientToken(v string) *ModifyReservedInstancesInput { - s.ClientToken = &v - return s -} - -// SetReservedInstancesIds sets the ReservedInstancesIds field's value. -func (s *ModifyReservedInstancesInput) SetReservedInstancesIds(v []string) *ModifyReservedInstancesInput { - s.ReservedInstancesIds = v - return s -} - -// SetTargetConfigurations sets the TargetConfigurations field's value. -func (s *ModifyReservedInstancesInput) SetTargetConfigurations(v []ReservedInstancesConfiguration) *ModifyReservedInstancesInput { - s.TargetConfigurations = v - return s -} - // Contains the output of ModifyReservedInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyReservedInstancesResult type ModifyReservedInstancesOutput struct { @@ -48259,12 +37717,6 @@ func (s ModifyReservedInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReservedInstancesModificationId sets the ReservedInstancesModificationId field's value. -func (s *ModifyReservedInstancesOutput) SetReservedInstancesModificationId(v string) *ModifyReservedInstancesOutput { - s.ReservedInstancesModificationId = &v - return s -} - // Contains the parameters for ModifySnapshotAttribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySnapshotAttributeRequest type ModifySnapshotAttributeInput struct { @@ -48323,48 +37775,6 @@ func (s *ModifySnapshotAttributeInput) Validate() error { return nil } -// SetAttribute sets the Attribute field's value. -func (s *ModifySnapshotAttributeInput) SetAttribute(v SnapshotAttributeName) *ModifySnapshotAttributeInput { - s.Attribute = v - return s -} - -// SetCreateVolumePermission sets the CreateVolumePermission field's value. -func (s *ModifySnapshotAttributeInput) SetCreateVolumePermission(v *CreateVolumePermissionModifications) *ModifySnapshotAttributeInput { - s.CreateVolumePermission = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ModifySnapshotAttributeInput) SetDryRun(v bool) *ModifySnapshotAttributeInput { - s.DryRun = &v - return s -} - -// SetGroupNames sets the GroupNames field's value. -func (s *ModifySnapshotAttributeInput) SetGroupNames(v []string) *ModifySnapshotAttributeInput { - s.GroupNames = v - return s -} - -// SetOperationType sets the OperationType field's value. -func (s *ModifySnapshotAttributeInput) SetOperationType(v OperationType) *ModifySnapshotAttributeInput { - s.OperationType = v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *ModifySnapshotAttributeInput) SetSnapshotId(v string) *ModifySnapshotAttributeInput { - s.SnapshotId = &v - return s -} - -// SetUserIds sets the UserIds field's value. -func (s *ModifySnapshotAttributeInput) SetUserIds(v []string) *ModifySnapshotAttributeInput { - s.UserIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySnapshotAttributeOutput type ModifySnapshotAttributeOutput struct { _ struct{} `type:"structure"` @@ -48430,24 +37840,6 @@ func (s *ModifySpotFleetRequestInput) Validate() error { return nil } -// SetExcessCapacityTerminationPolicy sets the ExcessCapacityTerminationPolicy field's value. -func (s *ModifySpotFleetRequestInput) SetExcessCapacityTerminationPolicy(v ExcessCapacityTerminationPolicy) *ModifySpotFleetRequestInput { - s.ExcessCapacityTerminationPolicy = v - return s -} - -// SetSpotFleetRequestId sets the SpotFleetRequestId field's value. -func (s *ModifySpotFleetRequestInput) SetSpotFleetRequestId(v string) *ModifySpotFleetRequestInput { - s.SpotFleetRequestId = &v - return s -} - -// SetTargetCapacity sets the TargetCapacity field's value. -func (s *ModifySpotFleetRequestInput) SetTargetCapacity(v int64) *ModifySpotFleetRequestInput { - s.TargetCapacity = &v - return s -} - // Contains the output of ModifySpotFleetRequest. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySpotFleetRequestResponse type ModifySpotFleetRequestOutput struct { @@ -48474,12 +37866,6 @@ func (s ModifySpotFleetRequestOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReturn sets the Return field's value. -func (s *ModifySpotFleetRequestOutput) SetReturn(v bool) *ModifySpotFleetRequestOutput { - s.Return = &v - return s -} - // Contains the parameters for ModifySubnetAttribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySubnetAttributeRequest type ModifySubnetAttributeInput struct { @@ -48531,24 +37917,6 @@ func (s *ModifySubnetAttributeInput) Validate() error { return nil } -// SetAssignIpv6AddressOnCreation sets the AssignIpv6AddressOnCreation field's value. -func (s *ModifySubnetAttributeInput) SetAssignIpv6AddressOnCreation(v *AttributeBooleanValue) *ModifySubnetAttributeInput { - s.AssignIpv6AddressOnCreation = v - return s -} - -// SetMapPublicIpOnLaunch sets the MapPublicIpOnLaunch field's value. -func (s *ModifySubnetAttributeInput) SetMapPublicIpOnLaunch(v *AttributeBooleanValue) *ModifySubnetAttributeInput { - s.MapPublicIpOnLaunch = v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *ModifySubnetAttributeInput) SetSubnetId(v string) *ModifySubnetAttributeInput { - s.SubnetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySubnetAttributeOutput type ModifySubnetAttributeOutput struct { _ struct{} `type:"structure"` @@ -48615,24 +37983,6 @@ func (s *ModifyVolumeAttributeInput) Validate() error { return nil } -// SetAutoEnableIO sets the AutoEnableIO field's value. -func (s *ModifyVolumeAttributeInput) SetAutoEnableIO(v *AttributeBooleanValue) *ModifyVolumeAttributeInput { - s.AutoEnableIO = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ModifyVolumeAttributeInput) SetDryRun(v bool) *ModifyVolumeAttributeInput { - s.DryRun = &v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *ModifyVolumeAttributeInput) SetVolumeId(v string) *ModifyVolumeAttributeInput { - s.VolumeId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolumeAttributeOutput type ModifyVolumeAttributeOutput struct { _ struct{} `type:"structure"` @@ -48718,36 +38068,6 @@ func (s *ModifyVolumeInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *ModifyVolumeInput) SetDryRun(v bool) *ModifyVolumeInput { - s.DryRun = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *ModifyVolumeInput) SetIops(v int64) *ModifyVolumeInput { - s.Iops = &v - return s -} - -// SetSize sets the Size field's value. -func (s *ModifyVolumeInput) SetSize(v int64) *ModifyVolumeInput { - s.Size = &v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *ModifyVolumeInput) SetVolumeId(v string) *ModifyVolumeInput { - s.VolumeId = &v - return s -} - -// SetVolumeType sets the VolumeType field's value. -func (s *ModifyVolumeInput) SetVolumeType(v VolumeType) *ModifyVolumeInput { - s.VolumeType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolumeResult type ModifyVolumeOutput struct { _ struct{} `type:"structure"` @@ -48773,12 +38093,6 @@ func (s ModifyVolumeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVolumeModification sets the VolumeModification field's value. -func (s *ModifyVolumeOutput) SetVolumeModification(v *VolumeModification) *ModifyVolumeOutput { - s.VolumeModification = v - return s -} - // Contains the parameters for ModifyVpcAttribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcAttributeRequest type ModifyVpcAttributeInput struct { @@ -48832,24 +38146,6 @@ func (s *ModifyVpcAttributeInput) Validate() error { return nil } -// SetEnableDnsHostnames sets the EnableDnsHostnames field's value. -func (s *ModifyVpcAttributeInput) SetEnableDnsHostnames(v *AttributeBooleanValue) *ModifyVpcAttributeInput { - s.EnableDnsHostnames = v - return s -} - -// SetEnableDnsSupport sets the EnableDnsSupport field's value. -func (s *ModifyVpcAttributeInput) SetEnableDnsSupport(v *AttributeBooleanValue) *ModifyVpcAttributeInput { - s.EnableDnsSupport = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *ModifyVpcAttributeInput) SetVpcId(v string) *ModifyVpcAttributeInput { - s.VpcId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcAttributeOutput type ModifyVpcAttributeOutput struct { _ struct{} `type:"structure"` @@ -48919,30 +38215,6 @@ func (s *ModifyVpcEndpointConnectionNotificationInput) Validate() error { return nil } -// SetConnectionEvents sets the ConnectionEvents field's value. -func (s *ModifyVpcEndpointConnectionNotificationInput) SetConnectionEvents(v []string) *ModifyVpcEndpointConnectionNotificationInput { - s.ConnectionEvents = v - return s -} - -// SetConnectionNotificationArn sets the ConnectionNotificationArn field's value. -func (s *ModifyVpcEndpointConnectionNotificationInput) SetConnectionNotificationArn(v string) *ModifyVpcEndpointConnectionNotificationInput { - s.ConnectionNotificationArn = &v - return s -} - -// SetConnectionNotificationId sets the ConnectionNotificationId field's value. -func (s *ModifyVpcEndpointConnectionNotificationInput) SetConnectionNotificationId(v string) *ModifyVpcEndpointConnectionNotificationInput { - s.ConnectionNotificationId = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ModifyVpcEndpointConnectionNotificationInput) SetDryRun(v bool) *ModifyVpcEndpointConnectionNotificationInput { - s.DryRun = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointConnectionNotificationResult type ModifyVpcEndpointConnectionNotificationOutput struct { _ struct{} `type:"structure"` @@ -48968,12 +38240,6 @@ func (s ModifyVpcEndpointConnectionNotificationOutput) SDKResponseMetadata() aws return s.responseMetadata } -// SetReturnValue sets the ReturnValue field's value. -func (s *ModifyVpcEndpointConnectionNotificationOutput) SetReturnValue(v bool) *ModifyVpcEndpointConnectionNotificationOutput { - s.ReturnValue = &v - return s -} - // Contains the parameters for ModifyVpcEndpoint. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointRequest type ModifyVpcEndpointInput struct { @@ -49047,72 +38313,6 @@ func (s *ModifyVpcEndpointInput) Validate() error { return nil } -// SetAddRouteTableIds sets the AddRouteTableIds field's value. -func (s *ModifyVpcEndpointInput) SetAddRouteTableIds(v []string) *ModifyVpcEndpointInput { - s.AddRouteTableIds = v - return s -} - -// SetAddSecurityGroupIds sets the AddSecurityGroupIds field's value. -func (s *ModifyVpcEndpointInput) SetAddSecurityGroupIds(v []string) *ModifyVpcEndpointInput { - s.AddSecurityGroupIds = v - return s -} - -// SetAddSubnetIds sets the AddSubnetIds field's value. -func (s *ModifyVpcEndpointInput) SetAddSubnetIds(v []string) *ModifyVpcEndpointInput { - s.AddSubnetIds = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ModifyVpcEndpointInput) SetDryRun(v bool) *ModifyVpcEndpointInput { - s.DryRun = &v - return s -} - -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *ModifyVpcEndpointInput) SetPolicyDocument(v string) *ModifyVpcEndpointInput { - s.PolicyDocument = &v - return s -} - -// SetPrivateDnsEnabled sets the PrivateDnsEnabled field's value. -func (s *ModifyVpcEndpointInput) SetPrivateDnsEnabled(v bool) *ModifyVpcEndpointInput { - s.PrivateDnsEnabled = &v - return s -} - -// SetRemoveRouteTableIds sets the RemoveRouteTableIds field's value. -func (s *ModifyVpcEndpointInput) SetRemoveRouteTableIds(v []string) *ModifyVpcEndpointInput { - s.RemoveRouteTableIds = v - return s -} - -// SetRemoveSecurityGroupIds sets the RemoveSecurityGroupIds field's value. -func (s *ModifyVpcEndpointInput) SetRemoveSecurityGroupIds(v []string) *ModifyVpcEndpointInput { - s.RemoveSecurityGroupIds = v - return s -} - -// SetRemoveSubnetIds sets the RemoveSubnetIds field's value. -func (s *ModifyVpcEndpointInput) SetRemoveSubnetIds(v []string) *ModifyVpcEndpointInput { - s.RemoveSubnetIds = v - return s -} - -// SetResetPolicy sets the ResetPolicy field's value. -func (s *ModifyVpcEndpointInput) SetResetPolicy(v bool) *ModifyVpcEndpointInput { - s.ResetPolicy = &v - return s -} - -// SetVpcEndpointId sets the VpcEndpointId field's value. -func (s *ModifyVpcEndpointInput) SetVpcEndpointId(v string) *ModifyVpcEndpointInput { - s.VpcEndpointId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointResult type ModifyVpcEndpointOutput struct { _ struct{} `type:"structure"` @@ -49138,12 +38338,6 @@ func (s ModifyVpcEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReturn sets the Return field's value. -func (s *ModifyVpcEndpointOutput) SetReturn(v bool) *ModifyVpcEndpointOutput { - s.Return = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServiceConfigurationRequest type ModifyVpcEndpointServiceConfigurationInput struct { _ struct{} `type:"structure"` @@ -49195,36 +38389,6 @@ func (s *ModifyVpcEndpointServiceConfigurationInput) Validate() error { return nil } -// SetAcceptanceRequired sets the AcceptanceRequired field's value. -func (s *ModifyVpcEndpointServiceConfigurationInput) SetAcceptanceRequired(v bool) *ModifyVpcEndpointServiceConfigurationInput { - s.AcceptanceRequired = &v - return s -} - -// SetAddNetworkLoadBalancerArns sets the AddNetworkLoadBalancerArns field's value. -func (s *ModifyVpcEndpointServiceConfigurationInput) SetAddNetworkLoadBalancerArns(v []string) *ModifyVpcEndpointServiceConfigurationInput { - s.AddNetworkLoadBalancerArns = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ModifyVpcEndpointServiceConfigurationInput) SetDryRun(v bool) *ModifyVpcEndpointServiceConfigurationInput { - s.DryRun = &v - return s -} - -// SetRemoveNetworkLoadBalancerArns sets the RemoveNetworkLoadBalancerArns field's value. -func (s *ModifyVpcEndpointServiceConfigurationInput) SetRemoveNetworkLoadBalancerArns(v []string) *ModifyVpcEndpointServiceConfigurationInput { - s.RemoveNetworkLoadBalancerArns = v - return s -} - -// SetServiceId sets the ServiceId field's value. -func (s *ModifyVpcEndpointServiceConfigurationInput) SetServiceId(v string) *ModifyVpcEndpointServiceConfigurationInput { - s.ServiceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServiceConfigurationResult type ModifyVpcEndpointServiceConfigurationOutput struct { _ struct{} `type:"structure"` @@ -49250,12 +38414,6 @@ func (s ModifyVpcEndpointServiceConfigurationOutput) SDKResponseMetadata() aws.R return s.responseMetadata } -// SetReturn sets the Return field's value. -func (s *ModifyVpcEndpointServiceConfigurationOutput) SetReturn(v bool) *ModifyVpcEndpointServiceConfigurationOutput { - s.Return = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServicePermissionsRequest type ModifyVpcEndpointServicePermissionsInput struct { _ struct{} `type:"structure"` @@ -49304,30 +38462,6 @@ func (s *ModifyVpcEndpointServicePermissionsInput) Validate() error { return nil } -// SetAddAllowedPrincipals sets the AddAllowedPrincipals field's value. -func (s *ModifyVpcEndpointServicePermissionsInput) SetAddAllowedPrincipals(v []string) *ModifyVpcEndpointServicePermissionsInput { - s.AddAllowedPrincipals = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ModifyVpcEndpointServicePermissionsInput) SetDryRun(v bool) *ModifyVpcEndpointServicePermissionsInput { - s.DryRun = &v - return s -} - -// SetRemoveAllowedPrincipals sets the RemoveAllowedPrincipals field's value. -func (s *ModifyVpcEndpointServicePermissionsInput) SetRemoveAllowedPrincipals(v []string) *ModifyVpcEndpointServicePermissionsInput { - s.RemoveAllowedPrincipals = v - return s -} - -// SetServiceId sets the ServiceId field's value. -func (s *ModifyVpcEndpointServicePermissionsInput) SetServiceId(v string) *ModifyVpcEndpointServicePermissionsInput { - s.ServiceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServicePermissionsResult type ModifyVpcEndpointServicePermissionsOutput struct { _ struct{} `type:"structure"` @@ -49353,12 +38487,6 @@ func (s ModifyVpcEndpointServicePermissionsOutput) SDKResponseMetadata() aws.Res return s.responseMetadata } -// SetReturnValue sets the ReturnValue field's value. -func (s *ModifyVpcEndpointServicePermissionsOutput) SetReturnValue(v bool) *ModifyVpcEndpointServicePermissionsOutput { - s.ReturnValue = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcPeeringConnectionOptionsRequest type ModifyVpcPeeringConnectionOptionsInput struct { _ struct{} `type:"structure"` @@ -49405,30 +38533,6 @@ func (s *ModifyVpcPeeringConnectionOptionsInput) Validate() error { return nil } -// SetAccepterPeeringConnectionOptions sets the AccepterPeeringConnectionOptions field's value. -func (s *ModifyVpcPeeringConnectionOptionsInput) SetAccepterPeeringConnectionOptions(v *PeeringConnectionOptionsRequest) *ModifyVpcPeeringConnectionOptionsInput { - s.AccepterPeeringConnectionOptions = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ModifyVpcPeeringConnectionOptionsInput) SetDryRun(v bool) *ModifyVpcPeeringConnectionOptionsInput { - s.DryRun = &v - return s -} - -// SetRequesterPeeringConnectionOptions sets the RequesterPeeringConnectionOptions field's value. -func (s *ModifyVpcPeeringConnectionOptionsInput) SetRequesterPeeringConnectionOptions(v *PeeringConnectionOptionsRequest) *ModifyVpcPeeringConnectionOptionsInput { - s.RequesterPeeringConnectionOptions = v - return s -} - -// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value. -func (s *ModifyVpcPeeringConnectionOptionsInput) SetVpcPeeringConnectionId(v string) *ModifyVpcPeeringConnectionOptionsInput { - s.VpcPeeringConnectionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcPeeringConnectionOptionsResult type ModifyVpcPeeringConnectionOptionsOutput struct { _ struct{} `type:"structure"` @@ -49457,18 +38561,6 @@ func (s ModifyVpcPeeringConnectionOptionsOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetAccepterPeeringConnectionOptions sets the AccepterPeeringConnectionOptions field's value. -func (s *ModifyVpcPeeringConnectionOptionsOutput) SetAccepterPeeringConnectionOptions(v *PeeringConnectionOptions) *ModifyVpcPeeringConnectionOptionsOutput { - s.AccepterPeeringConnectionOptions = v - return s -} - -// SetRequesterPeeringConnectionOptions sets the RequesterPeeringConnectionOptions field's value. -func (s *ModifyVpcPeeringConnectionOptionsOutput) SetRequesterPeeringConnectionOptions(v *PeeringConnectionOptions) *ModifyVpcPeeringConnectionOptionsOutput { - s.RequesterPeeringConnectionOptions = v - return s -} - // Contains the parameters for ModifyVpcTenancy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcTenancyRequest type ModifyVpcTenancyInput struct { @@ -49518,24 +38610,6 @@ func (s *ModifyVpcTenancyInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *ModifyVpcTenancyInput) SetDryRun(v bool) *ModifyVpcTenancyInput { - s.DryRun = &v - return s -} - -// SetInstanceTenancy sets the InstanceTenancy field's value. -func (s *ModifyVpcTenancyInput) SetInstanceTenancy(v VpcTenancy) *ModifyVpcTenancyInput { - s.InstanceTenancy = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *ModifyVpcTenancyInput) SetVpcId(v string) *ModifyVpcTenancyInput { - s.VpcId = &v - return s -} - // Contains the output of ModifyVpcTenancy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcTenancyResult type ModifyVpcTenancyOutput struct { @@ -49562,12 +38636,6 @@ func (s ModifyVpcTenancyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReturnValue sets the ReturnValue field's value. -func (s *ModifyVpcTenancyOutput) SetReturnValue(v bool) *ModifyVpcTenancyOutput { - s.ReturnValue = &v - return s -} - // Contains the parameters for MonitorInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MonitorInstancesRequest type MonitorInstancesInput struct { @@ -49609,18 +38677,6 @@ func (s *MonitorInstancesInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *MonitorInstancesInput) SetDryRun(v bool) *MonitorInstancesInput { - s.DryRun = &v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *MonitorInstancesInput) SetInstanceIds(v []string) *MonitorInstancesInput { - s.InstanceIds = v - return s -} - // Contains the output of MonitorInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MonitorInstancesResult type MonitorInstancesOutput struct { @@ -49647,12 +38703,6 @@ func (s MonitorInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceMonitorings sets the InstanceMonitorings field's value. -func (s *MonitorInstancesOutput) SetInstanceMonitorings(v []InstanceMonitoring) *MonitorInstancesOutput { - s.InstanceMonitorings = v - return s -} - // Describes the monitoring of an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Monitoring type Monitoring struct { @@ -49673,12 +38723,6 @@ func (s Monitoring) GoString() string { return s.String() } -// SetState sets the State field's value. -func (s *Monitoring) SetState(v MonitoringState) *Monitoring { - s.State = v - return s -} - // Contains the parameters for MoveAddressToVpc. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveAddressToVpcRequest type MoveAddressToVpcInput struct { @@ -49720,18 +38764,6 @@ func (s *MoveAddressToVpcInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *MoveAddressToVpcInput) SetDryRun(v bool) *MoveAddressToVpcInput { - s.DryRun = &v - return s -} - -// SetPublicIp sets the PublicIp field's value. -func (s *MoveAddressToVpcInput) SetPublicIp(v string) *MoveAddressToVpcInput { - s.PublicIp = &v - return s -} - // Contains the output of MoveAddressToVpc. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveAddressToVpcResult type MoveAddressToVpcOutput struct { @@ -49761,18 +38793,6 @@ func (s MoveAddressToVpcOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAllocationId sets the AllocationId field's value. -func (s *MoveAddressToVpcOutput) SetAllocationId(v string) *MoveAddressToVpcOutput { - s.AllocationId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *MoveAddressToVpcOutput) SetStatus(v Status) *MoveAddressToVpcOutput { - s.Status = v - return s -} - // Describes the status of a moving Elastic IP address. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MovingAddressStatus type MovingAddressStatus struct { @@ -49796,18 +38816,6 @@ func (s MovingAddressStatus) GoString() string { return s.String() } -// SetMoveStatus sets the MoveStatus field's value. -func (s *MovingAddressStatus) SetMoveStatus(v MoveStatus) *MovingAddressStatus { - s.MoveStatus = v - return s -} - -// SetPublicIp sets the PublicIp field's value. -func (s *MovingAddressStatus) SetPublicIp(v string) *MovingAddressStatus { - s.PublicIp = &v - return s -} - // Describes a NAT gateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NatGateway type NatGateway struct { @@ -49897,72 +38905,6 @@ func (s NatGateway) GoString() string { return s.String() } -// SetCreateTime sets the CreateTime field's value. -func (s *NatGateway) SetCreateTime(v time.Time) *NatGateway { - s.CreateTime = &v - return s -} - -// SetDeleteTime sets the DeleteTime field's value. -func (s *NatGateway) SetDeleteTime(v time.Time) *NatGateway { - s.DeleteTime = &v - return s -} - -// SetFailureCode sets the FailureCode field's value. -func (s *NatGateway) SetFailureCode(v string) *NatGateway { - s.FailureCode = &v - return s -} - -// SetFailureMessage sets the FailureMessage field's value. -func (s *NatGateway) SetFailureMessage(v string) *NatGateway { - s.FailureMessage = &v - return s -} - -// SetNatGatewayAddresses sets the NatGatewayAddresses field's value. -func (s *NatGateway) SetNatGatewayAddresses(v []NatGatewayAddress) *NatGateway { - s.NatGatewayAddresses = v - return s -} - -// SetNatGatewayId sets the NatGatewayId field's value. -func (s *NatGateway) SetNatGatewayId(v string) *NatGateway { - s.NatGatewayId = &v - return s -} - -// SetProvisionedBandwidth sets the ProvisionedBandwidth field's value. -func (s *NatGateway) SetProvisionedBandwidth(v *ProvisionedBandwidth) *NatGateway { - s.ProvisionedBandwidth = v - return s -} - -// SetState sets the State field's value. -func (s *NatGateway) SetState(v NatGatewayState) *NatGateway { - s.State = v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *NatGateway) SetSubnetId(v string) *NatGateway { - s.SubnetId = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *NatGateway) SetTags(v []Tag) *NatGateway { - s.Tags = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *NatGateway) SetVpcId(v string) *NatGateway { - s.VpcId = &v - return s -} - // Describes the IP addresses and network interface associated with a NAT gateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NatGatewayAddress type NatGatewayAddress struct { @@ -49992,30 +38934,6 @@ func (s NatGatewayAddress) GoString() string { return s.String() } -// SetAllocationId sets the AllocationId field's value. -func (s *NatGatewayAddress) SetAllocationId(v string) *NatGatewayAddress { - s.AllocationId = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *NatGatewayAddress) SetNetworkInterfaceId(v string) *NatGatewayAddress { - s.NetworkInterfaceId = &v - return s -} - -// SetPrivateIp sets the PrivateIp field's value. -func (s *NatGatewayAddress) SetPrivateIp(v string) *NatGatewayAddress { - s.PrivateIp = &v - return s -} - -// SetPublicIp sets the PublicIp field's value. -func (s *NatGatewayAddress) SetPublicIp(v string) *NatGatewayAddress { - s.PublicIp = &v - return s -} - // Describes a network ACL. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkAcl type NetworkAcl struct { @@ -50050,42 +38968,6 @@ func (s NetworkAcl) GoString() string { return s.String() } -// SetAssociations sets the Associations field's value. -func (s *NetworkAcl) SetAssociations(v []NetworkAclAssociation) *NetworkAcl { - s.Associations = v - return s -} - -// SetEntries sets the Entries field's value. -func (s *NetworkAcl) SetEntries(v []NetworkAclEntry) *NetworkAcl { - s.Entries = v - return s -} - -// SetIsDefault sets the IsDefault field's value. -func (s *NetworkAcl) SetIsDefault(v bool) *NetworkAcl { - s.IsDefault = &v - return s -} - -// SetNetworkAclId sets the NetworkAclId field's value. -func (s *NetworkAcl) SetNetworkAclId(v string) *NetworkAcl { - s.NetworkAclId = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *NetworkAcl) SetTags(v []Tag) *NetworkAcl { - s.Tags = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *NetworkAcl) SetVpcId(v string) *NetworkAcl { - s.VpcId = &v - return s -} - // Describes an association between a network ACL and a subnet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkAclAssociation type NetworkAclAssociation struct { @@ -50111,24 +38993,6 @@ func (s NetworkAclAssociation) GoString() string { return s.String() } -// SetNetworkAclAssociationId sets the NetworkAclAssociationId field's value. -func (s *NetworkAclAssociation) SetNetworkAclAssociationId(v string) *NetworkAclAssociation { - s.NetworkAclAssociationId = &v - return s -} - -// SetNetworkAclId sets the NetworkAclId field's value. -func (s *NetworkAclAssociation) SetNetworkAclId(v string) *NetworkAclAssociation { - s.NetworkAclId = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *NetworkAclAssociation) SetSubnetId(v string) *NetworkAclAssociation { - s.SubnetId = &v - return s -} - // Describes an entry in a network ACL. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkAclEntry type NetworkAclEntry struct { @@ -50171,54 +39035,6 @@ func (s NetworkAclEntry) GoString() string { return s.String() } -// SetCidrBlock sets the CidrBlock field's value. -func (s *NetworkAclEntry) SetCidrBlock(v string) *NetworkAclEntry { - s.CidrBlock = &v - return s -} - -// SetEgress sets the Egress field's value. -func (s *NetworkAclEntry) SetEgress(v bool) *NetworkAclEntry { - s.Egress = &v - return s -} - -// SetIcmpTypeCode sets the IcmpTypeCode field's value. -func (s *NetworkAclEntry) SetIcmpTypeCode(v *IcmpTypeCode) *NetworkAclEntry { - s.IcmpTypeCode = v - return s -} - -// SetIpv6CidrBlock sets the Ipv6CidrBlock field's value. -func (s *NetworkAclEntry) SetIpv6CidrBlock(v string) *NetworkAclEntry { - s.Ipv6CidrBlock = &v - return s -} - -// SetPortRange sets the PortRange field's value. -func (s *NetworkAclEntry) SetPortRange(v *PortRange) *NetworkAclEntry { - s.PortRange = v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *NetworkAclEntry) SetProtocol(v string) *NetworkAclEntry { - s.Protocol = &v - return s -} - -// SetRuleAction sets the RuleAction field's value. -func (s *NetworkAclEntry) SetRuleAction(v RuleAction) *NetworkAclEntry { - s.RuleAction = v - return s -} - -// SetRuleNumber sets the RuleNumber field's value. -func (s *NetworkAclEntry) SetRuleNumber(v int64) *NetworkAclEntry { - s.RuleNumber = &v - return s -} - // Describes a network interface. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterface type NetworkInterface struct { @@ -50297,126 +39113,6 @@ func (s NetworkInterface) GoString() string { return s.String() } -// SetAssociation sets the Association field's value. -func (s *NetworkInterface) SetAssociation(v *NetworkInterfaceAssociation) *NetworkInterface { - s.Association = v - return s -} - -// SetAttachment sets the Attachment field's value. -func (s *NetworkInterface) SetAttachment(v *NetworkInterfaceAttachment) *NetworkInterface { - s.Attachment = v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *NetworkInterface) SetAvailabilityZone(v string) *NetworkInterface { - s.AvailabilityZone = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *NetworkInterface) SetDescription(v string) *NetworkInterface { - s.Description = &v - return s -} - -// SetGroups sets the Groups field's value. -func (s *NetworkInterface) SetGroups(v []GroupIdentifier) *NetworkInterface { - s.Groups = v - return s -} - -// SetInterfaceType sets the InterfaceType field's value. -func (s *NetworkInterface) SetInterfaceType(v NetworkInterfaceType) *NetworkInterface { - s.InterfaceType = v - return s -} - -// SetIpv6Addresses sets the Ipv6Addresses field's value. -func (s *NetworkInterface) SetIpv6Addresses(v []NetworkInterfaceIpv6Address) *NetworkInterface { - s.Ipv6Addresses = v - return s -} - -// SetMacAddress sets the MacAddress field's value. -func (s *NetworkInterface) SetMacAddress(v string) *NetworkInterface { - s.MacAddress = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *NetworkInterface) SetNetworkInterfaceId(v string) *NetworkInterface { - s.NetworkInterfaceId = &v - return s -} - -// SetOwnerId sets the OwnerId field's value. -func (s *NetworkInterface) SetOwnerId(v string) *NetworkInterface { - s.OwnerId = &v - return s -} - -// SetPrivateDnsName sets the PrivateDnsName field's value. -func (s *NetworkInterface) SetPrivateDnsName(v string) *NetworkInterface { - s.PrivateDnsName = &v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *NetworkInterface) SetPrivateIpAddress(v string) *NetworkInterface { - s.PrivateIpAddress = &v - return s -} - -// SetPrivateIpAddresses sets the PrivateIpAddresses field's value. -func (s *NetworkInterface) SetPrivateIpAddresses(v []NetworkInterfacePrivateIpAddress) *NetworkInterface { - s.PrivateIpAddresses = v - return s -} - -// SetRequesterId sets the RequesterId field's value. -func (s *NetworkInterface) SetRequesterId(v string) *NetworkInterface { - s.RequesterId = &v - return s -} - -// SetRequesterManaged sets the RequesterManaged field's value. -func (s *NetworkInterface) SetRequesterManaged(v bool) *NetworkInterface { - s.RequesterManaged = &v - return s -} - -// SetSourceDestCheck sets the SourceDestCheck field's value. -func (s *NetworkInterface) SetSourceDestCheck(v bool) *NetworkInterface { - s.SourceDestCheck = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *NetworkInterface) SetStatus(v NetworkInterfaceStatus) *NetworkInterface { - s.Status = v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *NetworkInterface) SetSubnetId(v string) *NetworkInterface { - s.SubnetId = &v - return s -} - -// SetTagSet sets the TagSet field's value. -func (s *NetworkInterface) SetTagSet(v []Tag) *NetworkInterface { - s.TagSet = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *NetworkInterface) SetVpcId(v string) *NetworkInterface { - s.VpcId = &v - return s -} - // Describes association information for an Elastic IP address (IPv4 only). // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfaceAssociation type NetworkInterfaceAssociation struct { @@ -50448,36 +39144,6 @@ func (s NetworkInterfaceAssociation) GoString() string { return s.String() } -// SetAllocationId sets the AllocationId field's value. -func (s *NetworkInterfaceAssociation) SetAllocationId(v string) *NetworkInterfaceAssociation { - s.AllocationId = &v - return s -} - -// SetAssociationId sets the AssociationId field's value. -func (s *NetworkInterfaceAssociation) SetAssociationId(v string) *NetworkInterfaceAssociation { - s.AssociationId = &v - return s -} - -// SetIpOwnerId sets the IpOwnerId field's value. -func (s *NetworkInterfaceAssociation) SetIpOwnerId(v string) *NetworkInterfaceAssociation { - s.IpOwnerId = &v - return s -} - -// SetPublicDnsName sets the PublicDnsName field's value. -func (s *NetworkInterfaceAssociation) SetPublicDnsName(v string) *NetworkInterfaceAssociation { - s.PublicDnsName = &v - return s -} - -// SetPublicIp sets the PublicIp field's value. -func (s *NetworkInterfaceAssociation) SetPublicIp(v string) *NetworkInterfaceAssociation { - s.PublicIp = &v - return s -} - // Describes a network interface attachment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfaceAttachment type NetworkInterfaceAttachment struct { @@ -50515,48 +39181,6 @@ func (s NetworkInterfaceAttachment) GoString() string { return s.String() } -// SetAttachTime sets the AttachTime field's value. -func (s *NetworkInterfaceAttachment) SetAttachTime(v time.Time) *NetworkInterfaceAttachment { - s.AttachTime = &v - return s -} - -// SetAttachmentId sets the AttachmentId field's value. -func (s *NetworkInterfaceAttachment) SetAttachmentId(v string) *NetworkInterfaceAttachment { - s.AttachmentId = &v - return s -} - -// SetDeleteOnTermination sets the DeleteOnTermination field's value. -func (s *NetworkInterfaceAttachment) SetDeleteOnTermination(v bool) *NetworkInterfaceAttachment { - s.DeleteOnTermination = &v - return s -} - -// SetDeviceIndex sets the DeviceIndex field's value. -func (s *NetworkInterfaceAttachment) SetDeviceIndex(v int64) *NetworkInterfaceAttachment { - s.DeviceIndex = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *NetworkInterfaceAttachment) SetInstanceId(v string) *NetworkInterfaceAttachment { - s.InstanceId = &v - return s -} - -// SetInstanceOwnerId sets the InstanceOwnerId field's value. -func (s *NetworkInterfaceAttachment) SetInstanceOwnerId(v string) *NetworkInterfaceAttachment { - s.InstanceOwnerId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *NetworkInterfaceAttachment) SetStatus(v AttachmentStatus) *NetworkInterfaceAttachment { - s.Status = v - return s -} - // Describes an attachment change. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfaceAttachmentChanges type NetworkInterfaceAttachmentChanges struct { @@ -50579,18 +39203,6 @@ func (s NetworkInterfaceAttachmentChanges) GoString() string { return s.String() } -// SetAttachmentId sets the AttachmentId field's value. -func (s *NetworkInterfaceAttachmentChanges) SetAttachmentId(v string) *NetworkInterfaceAttachmentChanges { - s.AttachmentId = &v - return s -} - -// SetDeleteOnTermination sets the DeleteOnTermination field's value. -func (s *NetworkInterfaceAttachmentChanges) SetDeleteOnTermination(v bool) *NetworkInterfaceAttachmentChanges { - s.DeleteOnTermination = &v - return s -} - // Describes an IPv6 address associated with a network interface. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfaceIpv6Address type NetworkInterfaceIpv6Address struct { @@ -50610,12 +39222,6 @@ func (s NetworkInterfaceIpv6Address) GoString() string { return s.String() } -// SetIpv6Address sets the Ipv6Address field's value. -func (s *NetworkInterfaceIpv6Address) SetIpv6Address(v string) *NetworkInterfaceIpv6Address { - s.Ipv6Address = &v - return s -} - // Describes a permission for a network interface. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfacePermission type NetworkInterfacePermission struct { @@ -50650,42 +39256,6 @@ func (s NetworkInterfacePermission) GoString() string { return s.String() } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *NetworkInterfacePermission) SetAwsAccountId(v string) *NetworkInterfacePermission { - s.AwsAccountId = &v - return s -} - -// SetAwsService sets the AwsService field's value. -func (s *NetworkInterfacePermission) SetAwsService(v string) *NetworkInterfacePermission { - s.AwsService = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *NetworkInterfacePermission) SetNetworkInterfaceId(v string) *NetworkInterfacePermission { - s.NetworkInterfaceId = &v - return s -} - -// SetNetworkInterfacePermissionId sets the NetworkInterfacePermissionId field's value. -func (s *NetworkInterfacePermission) SetNetworkInterfacePermissionId(v string) *NetworkInterfacePermission { - s.NetworkInterfacePermissionId = &v - return s -} - -// SetPermission sets the Permission field's value. -func (s *NetworkInterfacePermission) SetPermission(v InterfacePermissionType) *NetworkInterfacePermission { - s.Permission = v - return s -} - -// SetPermissionState sets the PermissionState field's value. -func (s *NetworkInterfacePermission) SetPermissionState(v *NetworkInterfacePermissionState) *NetworkInterfacePermission { - s.PermissionState = v - return s -} - // Describes the state of a network interface permission. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfacePermissionState type NetworkInterfacePermissionState struct { @@ -50708,18 +39278,6 @@ func (s NetworkInterfacePermissionState) GoString() string { return s.String() } -// SetState sets the State field's value. -func (s *NetworkInterfacePermissionState) SetState(v NetworkInterfacePermissionStateCode) *NetworkInterfacePermissionState { - s.State = v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *NetworkInterfacePermissionState) SetStatusMessage(v string) *NetworkInterfacePermissionState { - s.StatusMessage = &v - return s -} - // Describes the private IPv4 address of a network interface. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterfacePrivateIpAddress type NetworkInterfacePrivateIpAddress struct { @@ -50750,30 +39308,6 @@ func (s NetworkInterfacePrivateIpAddress) GoString() string { return s.String() } -// SetAssociation sets the Association field's value. -func (s *NetworkInterfacePrivateIpAddress) SetAssociation(v *NetworkInterfaceAssociation) *NetworkInterfacePrivateIpAddress { - s.Association = v - return s -} - -// SetPrimary sets the Primary field's value. -func (s *NetworkInterfacePrivateIpAddress) SetPrimary(v bool) *NetworkInterfacePrivateIpAddress { - s.Primary = &v - return s -} - -// SetPrivateDnsName sets the PrivateDnsName field's value. -func (s *NetworkInterfacePrivateIpAddress) SetPrivateDnsName(v string) *NetworkInterfacePrivateIpAddress { - s.PrivateDnsName = &v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *NetworkInterfacePrivateIpAddress) SetPrivateIpAddress(v string) *NetworkInterfacePrivateIpAddress { - s.PrivateIpAddress = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NewDhcpConfiguration type NewDhcpConfiguration struct { _ struct{} `type:"structure"` @@ -50793,18 +39327,6 @@ func (s NewDhcpConfiguration) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *NewDhcpConfiguration) SetKey(v string) *NewDhcpConfiguration { - s.Key = &v - return s -} - -// SetValues sets the Values field's value. -func (s *NewDhcpConfiguration) SetValues(v []string) *NewDhcpConfiguration { - s.Values = v - return s -} - // Describes the data that identifies an Amazon FPGA image (AFI) on the PCI // bus. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PciId @@ -50834,30 +39356,6 @@ func (s PciId) GoString() string { return s.String() } -// SetDeviceId sets the DeviceId field's value. -func (s *PciId) SetDeviceId(v string) *PciId { - s.DeviceId = &v - return s -} - -// SetSubsystemId sets the SubsystemId field's value. -func (s *PciId) SetSubsystemId(v string) *PciId { - s.SubsystemId = &v - return s -} - -// SetSubsystemVendorId sets the SubsystemVendorId field's value. -func (s *PciId) SetSubsystemVendorId(v string) *PciId { - s.SubsystemVendorId = &v - return s -} - -// SetVendorId sets the VendorId field's value. -func (s *PciId) SetVendorId(v string) *PciId { - s.VendorId = &v - return s -} - // Describes the VPC peering connection options. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PeeringConnectionOptions type PeeringConnectionOptions struct { @@ -50886,24 +39384,6 @@ func (s PeeringConnectionOptions) GoString() string { return s.String() } -// SetAllowDnsResolutionFromRemoteVpc sets the AllowDnsResolutionFromRemoteVpc field's value. -func (s *PeeringConnectionOptions) SetAllowDnsResolutionFromRemoteVpc(v bool) *PeeringConnectionOptions { - s.AllowDnsResolutionFromRemoteVpc = &v - return s -} - -// SetAllowEgressFromLocalClassicLinkToRemoteVpc sets the AllowEgressFromLocalClassicLinkToRemoteVpc field's value. -func (s *PeeringConnectionOptions) SetAllowEgressFromLocalClassicLinkToRemoteVpc(v bool) *PeeringConnectionOptions { - s.AllowEgressFromLocalClassicLinkToRemoteVpc = &v - return s -} - -// SetAllowEgressFromLocalVpcToRemoteClassicLink sets the AllowEgressFromLocalVpcToRemoteClassicLink field's value. -func (s *PeeringConnectionOptions) SetAllowEgressFromLocalVpcToRemoteClassicLink(v bool) *PeeringConnectionOptions { - s.AllowEgressFromLocalVpcToRemoteClassicLink = &v - return s -} - // The VPC peering connection options. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PeeringConnectionOptionsRequest type PeeringConnectionOptionsRequest struct { @@ -50932,24 +39412,6 @@ func (s PeeringConnectionOptionsRequest) GoString() string { return s.String() } -// SetAllowDnsResolutionFromRemoteVpc sets the AllowDnsResolutionFromRemoteVpc field's value. -func (s *PeeringConnectionOptionsRequest) SetAllowDnsResolutionFromRemoteVpc(v bool) *PeeringConnectionOptionsRequest { - s.AllowDnsResolutionFromRemoteVpc = &v - return s -} - -// SetAllowEgressFromLocalClassicLinkToRemoteVpc sets the AllowEgressFromLocalClassicLinkToRemoteVpc field's value. -func (s *PeeringConnectionOptionsRequest) SetAllowEgressFromLocalClassicLinkToRemoteVpc(v bool) *PeeringConnectionOptionsRequest { - s.AllowEgressFromLocalClassicLinkToRemoteVpc = &v - return s -} - -// SetAllowEgressFromLocalVpcToRemoteClassicLink sets the AllowEgressFromLocalVpcToRemoteClassicLink field's value. -func (s *PeeringConnectionOptionsRequest) SetAllowEgressFromLocalVpcToRemoteClassicLink(v bool) *PeeringConnectionOptionsRequest { - s.AllowEgressFromLocalVpcToRemoteClassicLink = &v - return s -} - // Describes the placement of an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Placement type Placement struct { @@ -50988,42 +39450,6 @@ func (s Placement) GoString() string { return s.String() } -// SetAffinity sets the Affinity field's value. -func (s *Placement) SetAffinity(v string) *Placement { - s.Affinity = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *Placement) SetAvailabilityZone(v string) *Placement { - s.AvailabilityZone = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *Placement) SetGroupName(v string) *Placement { - s.GroupName = &v - return s -} - -// SetHostId sets the HostId field's value. -func (s *Placement) SetHostId(v string) *Placement { - s.HostId = &v - return s -} - -// SetSpreadDomain sets the SpreadDomain field's value. -func (s *Placement) SetSpreadDomain(v string) *Placement { - s.SpreadDomain = &v - return s -} - -// SetTenancy sets the Tenancy field's value. -func (s *Placement) SetTenancy(v Tenancy) *Placement { - s.Tenancy = v - return s -} - // Describes a placement group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PlacementGroup type PlacementGroup struct { @@ -51049,24 +39475,6 @@ func (s PlacementGroup) GoString() string { return s.String() } -// SetGroupName sets the GroupName field's value. -func (s *PlacementGroup) SetGroupName(v string) *PlacementGroup { - s.GroupName = &v - return s -} - -// SetState sets the State field's value. -func (s *PlacementGroup) SetState(v PlacementGroupState) *PlacementGroup { - s.State = v - return s -} - -// SetStrategy sets the Strategy field's value. -func (s *PlacementGroup) SetStrategy(v PlacementStrategy) *PlacementGroup { - s.Strategy = v - return s -} - // Describes a range of ports. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PortRange type PortRange struct { @@ -51089,18 +39497,6 @@ func (s PortRange) GoString() string { return s.String() } -// SetFrom sets the From field's value. -func (s *PortRange) SetFrom(v int64) *PortRange { - s.From = &v - return s -} - -// SetTo sets the To field's value. -func (s *PortRange) SetTo(v int64) *PortRange { - s.To = &v - return s -} - // Describes prefixes for AWS services. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PrefixList type PrefixList struct { @@ -51126,24 +39522,6 @@ func (s PrefixList) GoString() string { return s.String() } -// SetCidrs sets the Cidrs field's value. -func (s *PrefixList) SetCidrs(v []string) *PrefixList { - s.Cidrs = v - return s -} - -// SetPrefixListId sets the PrefixListId field's value. -func (s *PrefixList) SetPrefixListId(v string) *PrefixList { - s.PrefixListId = &v - return s -} - -// SetPrefixListName sets the PrefixListName field's value. -func (s *PrefixList) SetPrefixListName(v string) *PrefixList { - s.PrefixListName = &v - return s -} - // [EC2-VPC only] The ID of the prefix. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PrefixListId type PrefixListId struct { @@ -51170,18 +39548,6 @@ func (s PrefixListId) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *PrefixListId) SetDescription(v string) *PrefixListId { - s.Description = &v - return s -} - -// SetPrefixListId sets the PrefixListId field's value. -func (s *PrefixListId) SetPrefixListId(v string) *PrefixListId { - s.PrefixListId = &v - return s -} - // Describes the price for a Reserved Instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PriceSchedule type PriceSchedule struct { @@ -51221,30 +39587,6 @@ func (s PriceSchedule) GoString() string { return s.String() } -// SetActive sets the Active field's value. -func (s *PriceSchedule) SetActive(v bool) *PriceSchedule { - s.Active = &v - return s -} - -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *PriceSchedule) SetCurrencyCode(v CurrencyCodeValues) *PriceSchedule { - s.CurrencyCode = v - return s -} - -// SetPrice sets the Price field's value. -func (s *PriceSchedule) SetPrice(v float64) *PriceSchedule { - s.Price = &v - return s -} - -// SetTerm sets the Term field's value. -func (s *PriceSchedule) SetTerm(v int64) *PriceSchedule { - s.Term = &v - return s -} - // Describes the price for a Reserved Instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PriceScheduleSpecification type PriceScheduleSpecification struct { @@ -51272,24 +39614,6 @@ func (s PriceScheduleSpecification) GoString() string { return s.String() } -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *PriceScheduleSpecification) SetCurrencyCode(v CurrencyCodeValues) *PriceScheduleSpecification { - s.CurrencyCode = v - return s -} - -// SetPrice sets the Price field's value. -func (s *PriceScheduleSpecification) SetPrice(v float64) *PriceScheduleSpecification { - s.Price = &v - return s -} - -// SetTerm sets the Term field's value. -func (s *PriceScheduleSpecification) SetTerm(v int64) *PriceScheduleSpecification { - s.Term = &v - return s -} - // Describes a Reserved Instance offering. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PricingDetail type PricingDetail struct { @@ -51312,18 +39636,6 @@ func (s PricingDetail) GoString() string { return s.String() } -// SetCount sets the Count field's value. -func (s *PricingDetail) SetCount(v int64) *PricingDetail { - s.Count = &v - return s -} - -// SetPrice sets the Price field's value. -func (s *PricingDetail) SetPrice(v float64) *PricingDetail { - s.Price = &v - return s -} - // Describes a secondary private IPv4 address for a network interface. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PrivateIpAddressSpecification type PrivateIpAddressSpecification struct { @@ -51363,18 +39675,6 @@ func (s *PrivateIpAddressSpecification) Validate() error { return nil } -// SetPrimary sets the Primary field's value. -func (s *PrivateIpAddressSpecification) SetPrimary(v bool) *PrivateIpAddressSpecification { - s.Primary = &v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *PrivateIpAddressSpecification) SetPrivateIpAddress(v string) *PrivateIpAddressSpecification { - s.PrivateIpAddress = &v - return s -} - // Describes a product code. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProductCode type ProductCode struct { @@ -51397,18 +39697,6 @@ func (s ProductCode) GoString() string { return s.String() } -// SetProductCodeId sets the ProductCodeId field's value. -func (s *ProductCode) SetProductCodeId(v string) *ProductCode { - s.ProductCodeId = &v - return s -} - -// SetProductCodeType sets the ProductCodeType field's value. -func (s *ProductCode) SetProductCodeType(v ProductCodeValues) *ProductCode { - s.ProductCodeType = v - return s -} - // Describes a virtual private gateway propagating route. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PropagatingVgw type PropagatingVgw struct { @@ -51428,12 +39716,6 @@ func (s PropagatingVgw) GoString() string { return s.String() } -// SetGatewayId sets the GatewayId field's value. -func (s *PropagatingVgw) SetGatewayId(v string) *PropagatingVgw { - s.GatewayId = &v - return s -} - // Reserved. If you need to sustain traffic greater than the documented limits // (http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-nat-gateway.html), // contact us through the Support Center (https://console.aws.amazon.com/support/home?). @@ -51477,36 +39759,6 @@ func (s ProvisionedBandwidth) GoString() string { return s.String() } -// SetProvisionTime sets the ProvisionTime field's value. -func (s *ProvisionedBandwidth) SetProvisionTime(v time.Time) *ProvisionedBandwidth { - s.ProvisionTime = &v - return s -} - -// SetProvisioned sets the Provisioned field's value. -func (s *ProvisionedBandwidth) SetProvisioned(v string) *ProvisionedBandwidth { - s.Provisioned = &v - return s -} - -// SetRequestTime sets the RequestTime field's value. -func (s *ProvisionedBandwidth) SetRequestTime(v time.Time) *ProvisionedBandwidth { - s.RequestTime = &v - return s -} - -// SetRequested sets the Requested field's value. -func (s *ProvisionedBandwidth) SetRequested(v string) *ProvisionedBandwidth { - s.Requested = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ProvisionedBandwidth) SetStatus(v string) *ProvisionedBandwidth { - s.Status = &v - return s -} - // Describes the result of the purchase. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Purchase type Purchase struct { @@ -51549,54 +39801,6 @@ func (s Purchase) GoString() string { return s.String() } -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *Purchase) SetCurrencyCode(v CurrencyCodeValues) *Purchase { - s.CurrencyCode = v - return s -} - -// SetDuration sets the Duration field's value. -func (s *Purchase) SetDuration(v int64) *Purchase { - s.Duration = &v - return s -} - -// SetHostIdSet sets the HostIdSet field's value. -func (s *Purchase) SetHostIdSet(v []string) *Purchase { - s.HostIdSet = v - return s -} - -// SetHostReservationId sets the HostReservationId field's value. -func (s *Purchase) SetHostReservationId(v string) *Purchase { - s.HostReservationId = &v - return s -} - -// SetHourlyPrice sets the HourlyPrice field's value. -func (s *Purchase) SetHourlyPrice(v string) *Purchase { - s.HourlyPrice = &v - return s -} - -// SetInstanceFamily sets the InstanceFamily field's value. -func (s *Purchase) SetInstanceFamily(v string) *Purchase { - s.InstanceFamily = &v - return s -} - -// SetPaymentOption sets the PaymentOption field's value. -func (s *Purchase) SetPaymentOption(v PaymentOption) *Purchase { - s.PaymentOption = v - return s -} - -// SetUpfrontPrice sets the UpfrontPrice field's value. -func (s *Purchase) SetUpfrontPrice(v string) *Purchase { - s.UpfrontPrice = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseHostReservationRequest type PurchaseHostReservationInput struct { _ struct{} `type:"structure"` @@ -51659,36 +39863,6 @@ func (s *PurchaseHostReservationInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *PurchaseHostReservationInput) SetClientToken(v string) *PurchaseHostReservationInput { - s.ClientToken = &v - return s -} - -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *PurchaseHostReservationInput) SetCurrencyCode(v CurrencyCodeValues) *PurchaseHostReservationInput { - s.CurrencyCode = v - return s -} - -// SetHostIdSet sets the HostIdSet field's value. -func (s *PurchaseHostReservationInput) SetHostIdSet(v []string) *PurchaseHostReservationInput { - s.HostIdSet = v - return s -} - -// SetLimitPrice sets the LimitPrice field's value. -func (s *PurchaseHostReservationInput) SetLimitPrice(v string) *PurchaseHostReservationInput { - s.LimitPrice = &v - return s -} - -// SetOfferingId sets the OfferingId field's value. -func (s *PurchaseHostReservationInput) SetOfferingId(v string) *PurchaseHostReservationInput { - s.OfferingId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseHostReservationResult type PurchaseHostReservationOutput struct { _ struct{} `type:"structure"` @@ -51730,36 +39904,6 @@ func (s PurchaseHostReservationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClientToken sets the ClientToken field's value. -func (s *PurchaseHostReservationOutput) SetClientToken(v string) *PurchaseHostReservationOutput { - s.ClientToken = &v - return s -} - -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *PurchaseHostReservationOutput) SetCurrencyCode(v CurrencyCodeValues) *PurchaseHostReservationOutput { - s.CurrencyCode = v - return s -} - -// SetPurchase sets the Purchase field's value. -func (s *PurchaseHostReservationOutput) SetPurchase(v []Purchase) *PurchaseHostReservationOutput { - s.Purchase = v - return s -} - -// SetTotalHourlyPrice sets the TotalHourlyPrice field's value. -func (s *PurchaseHostReservationOutput) SetTotalHourlyPrice(v string) *PurchaseHostReservationOutput { - s.TotalHourlyPrice = &v - return s -} - -// SetTotalUpfrontPrice sets the TotalUpfrontPrice field's value. -func (s *PurchaseHostReservationOutput) SetTotalUpfrontPrice(v string) *PurchaseHostReservationOutput { - s.TotalUpfrontPrice = &v - return s -} - // Describes a request to purchase Scheduled Instances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseRequest type PurchaseRequest struct { @@ -51804,18 +39948,6 @@ func (s *PurchaseRequest) Validate() error { return nil } -// SetInstanceCount sets the InstanceCount field's value. -func (s *PurchaseRequest) SetInstanceCount(v int64) *PurchaseRequest { - s.InstanceCount = &v - return s -} - -// SetPurchaseToken sets the PurchaseToken field's value. -func (s *PurchaseRequest) SetPurchaseToken(v string) *PurchaseRequest { - s.PurchaseToken = &v - return s -} - // Contains the parameters for PurchaseReservedInstancesOffering. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseReservedInstancesOfferingRequest type PurchaseReservedInstancesOfferingInput struct { @@ -51871,30 +40003,6 @@ func (s *PurchaseReservedInstancesOfferingInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *PurchaseReservedInstancesOfferingInput) SetDryRun(v bool) *PurchaseReservedInstancesOfferingInput { - s.DryRun = &v - return s -} - -// SetInstanceCount sets the InstanceCount field's value. -func (s *PurchaseReservedInstancesOfferingInput) SetInstanceCount(v int64) *PurchaseReservedInstancesOfferingInput { - s.InstanceCount = &v - return s -} - -// SetLimitPrice sets the LimitPrice field's value. -func (s *PurchaseReservedInstancesOfferingInput) SetLimitPrice(v *ReservedInstanceLimitPrice) *PurchaseReservedInstancesOfferingInput { - s.LimitPrice = v - return s -} - -// SetReservedInstancesOfferingId sets the ReservedInstancesOfferingId field's value. -func (s *PurchaseReservedInstancesOfferingInput) SetReservedInstancesOfferingId(v string) *PurchaseReservedInstancesOfferingInput { - s.ReservedInstancesOfferingId = &v - return s -} - // Contains the output of PurchaseReservedInstancesOffering. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseReservedInstancesOfferingResult type PurchaseReservedInstancesOfferingOutput struct { @@ -51921,12 +40029,6 @@ func (s PurchaseReservedInstancesOfferingOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetReservedInstancesId sets the ReservedInstancesId field's value. -func (s *PurchaseReservedInstancesOfferingOutput) SetReservedInstancesId(v string) *PurchaseReservedInstancesOfferingOutput { - s.ReservedInstancesId = &v - return s -} - // Contains the parameters for PurchaseScheduledInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseScheduledInstancesRequest type PurchaseScheduledInstancesInput struct { @@ -51982,24 +40084,6 @@ func (s *PurchaseScheduledInstancesInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *PurchaseScheduledInstancesInput) SetClientToken(v string) *PurchaseScheduledInstancesInput { - s.ClientToken = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *PurchaseScheduledInstancesInput) SetDryRun(v bool) *PurchaseScheduledInstancesInput { - s.DryRun = &v - return s -} - -// SetPurchaseRequests sets the PurchaseRequests field's value. -func (s *PurchaseScheduledInstancesInput) SetPurchaseRequests(v []PurchaseRequest) *PurchaseScheduledInstancesInput { - s.PurchaseRequests = v - return s -} - // Contains the output of PurchaseScheduledInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseScheduledInstancesResult type PurchaseScheduledInstancesOutput struct { @@ -52026,12 +40110,6 @@ func (s PurchaseScheduledInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetScheduledInstanceSet sets the ScheduledInstanceSet field's value. -func (s *PurchaseScheduledInstancesOutput) SetScheduledInstanceSet(v []ScheduledInstance) *PurchaseScheduledInstancesOutput { - s.ScheduledInstanceSet = v - return s -} - // Contains the parameters for RebootInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RebootInstancesRequest type RebootInstancesInput struct { @@ -52073,18 +40151,6 @@ func (s *RebootInstancesInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *RebootInstancesInput) SetDryRun(v bool) *RebootInstancesInput { - s.DryRun = &v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *RebootInstancesInput) SetInstanceIds(v []string) *RebootInstancesInput { - s.InstanceIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RebootInstancesOutput type RebootInstancesOutput struct { _ struct{} `type:"structure"` @@ -52129,18 +40195,6 @@ func (s RecurringCharge) GoString() string { return s.String() } -// SetAmount sets the Amount field's value. -func (s *RecurringCharge) SetAmount(v float64) *RecurringCharge { - s.Amount = &v - return s -} - -// SetFrequency sets the Frequency field's value. -func (s *RecurringCharge) SetFrequency(v RecurringChargeFrequency) *RecurringCharge { - s.Frequency = v - return s -} - // Describes a region. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Region type Region struct { @@ -52163,18 +40217,6 @@ func (s Region) GoString() string { return s.String() } -// SetEndpoint sets the Endpoint field's value. -func (s *Region) SetEndpoint(v string) *Region { - s.Endpoint = &v - return s -} - -// SetRegionName sets the RegionName field's value. -func (s *Region) SetRegionName(v string) *Region { - s.RegionName = &v - return s -} - // Contains the parameters for RegisterImage. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterImageRequest type RegisterImageInput struct { @@ -52271,84 +40313,6 @@ func (s *RegisterImageInput) Validate() error { return nil } -// SetArchitecture sets the Architecture field's value. -func (s *RegisterImageInput) SetArchitecture(v ArchitectureValues) *RegisterImageInput { - s.Architecture = v - return s -} - -// SetBillingProducts sets the BillingProducts field's value. -func (s *RegisterImageInput) SetBillingProducts(v []string) *RegisterImageInput { - s.BillingProducts = v - return s -} - -// SetBlockDeviceMappings sets the BlockDeviceMappings field's value. -func (s *RegisterImageInput) SetBlockDeviceMappings(v []BlockDeviceMapping) *RegisterImageInput { - s.BlockDeviceMappings = v - return s -} - -// SetDescription sets the Description field's value. -func (s *RegisterImageInput) SetDescription(v string) *RegisterImageInput { - s.Description = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *RegisterImageInput) SetDryRun(v bool) *RegisterImageInput { - s.DryRun = &v - return s -} - -// SetEnaSupport sets the EnaSupport field's value. -func (s *RegisterImageInput) SetEnaSupport(v bool) *RegisterImageInput { - s.EnaSupport = &v - return s -} - -// SetImageLocation sets the ImageLocation field's value. -func (s *RegisterImageInput) SetImageLocation(v string) *RegisterImageInput { - s.ImageLocation = &v - return s -} - -// SetKernelId sets the KernelId field's value. -func (s *RegisterImageInput) SetKernelId(v string) *RegisterImageInput { - s.KernelId = &v - return s -} - -// SetName sets the Name field's value. -func (s *RegisterImageInput) SetName(v string) *RegisterImageInput { - s.Name = &v - return s -} - -// SetRamdiskId sets the RamdiskId field's value. -func (s *RegisterImageInput) SetRamdiskId(v string) *RegisterImageInput { - s.RamdiskId = &v - return s -} - -// SetRootDeviceName sets the RootDeviceName field's value. -func (s *RegisterImageInput) SetRootDeviceName(v string) *RegisterImageInput { - s.RootDeviceName = &v - return s -} - -// SetSriovNetSupport sets the SriovNetSupport field's value. -func (s *RegisterImageInput) SetSriovNetSupport(v string) *RegisterImageInput { - s.SriovNetSupport = &v - return s -} - -// SetVirtualizationType sets the VirtualizationType field's value. -func (s *RegisterImageInput) SetVirtualizationType(v string) *RegisterImageInput { - s.VirtualizationType = &v - return s -} - // Contains the output of RegisterImage. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterImageResult type RegisterImageOutput struct { @@ -52375,12 +40339,6 @@ func (s RegisterImageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImageId sets the ImageId field's value. -func (s *RegisterImageOutput) SetImageId(v string) *RegisterImageOutput { - s.ImageId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcEndpointConnectionsRequest type RejectVpcEndpointConnectionsInput struct { _ struct{} `type:"structure"` @@ -52430,24 +40388,6 @@ func (s *RejectVpcEndpointConnectionsInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *RejectVpcEndpointConnectionsInput) SetDryRun(v bool) *RejectVpcEndpointConnectionsInput { - s.DryRun = &v - return s -} - -// SetServiceId sets the ServiceId field's value. -func (s *RejectVpcEndpointConnectionsInput) SetServiceId(v string) *RejectVpcEndpointConnectionsInput { - s.ServiceId = &v - return s -} - -// SetVpcEndpointIds sets the VpcEndpointIds field's value. -func (s *RejectVpcEndpointConnectionsInput) SetVpcEndpointIds(v []string) *RejectVpcEndpointConnectionsInput { - s.VpcEndpointIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcEndpointConnectionsResult type RejectVpcEndpointConnectionsOutput struct { _ struct{} `type:"structure"` @@ -52473,12 +40413,6 @@ func (s RejectVpcEndpointConnectionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUnsuccessful sets the Unsuccessful field's value. -func (s *RejectVpcEndpointConnectionsOutput) SetUnsuccessful(v []UnsuccessfulItem) *RejectVpcEndpointConnectionsOutput { - s.Unsuccessful = v - return s -} - // Contains the parameters for RejectVpcPeeringConnection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcPeeringConnectionRequest type RejectVpcPeeringConnectionInput struct { @@ -52520,18 +40454,6 @@ func (s *RejectVpcPeeringConnectionInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *RejectVpcPeeringConnectionInput) SetDryRun(v bool) *RejectVpcPeeringConnectionInput { - s.DryRun = &v - return s -} - -// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value. -func (s *RejectVpcPeeringConnectionInput) SetVpcPeeringConnectionId(v string) *RejectVpcPeeringConnectionInput { - s.VpcPeeringConnectionId = &v - return s -} - // Contains the output of RejectVpcPeeringConnection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcPeeringConnectionResult type RejectVpcPeeringConnectionOutput struct { @@ -52558,12 +40480,6 @@ func (s RejectVpcPeeringConnectionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReturn sets the Return field's value. -func (s *RejectVpcPeeringConnectionOutput) SetReturn(v bool) *RejectVpcPeeringConnectionOutput { - s.Return = &v - return s -} - // Contains the parameters for ReleaseAddress. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseAddressRequest type ReleaseAddressInput struct { @@ -52592,24 +40508,6 @@ func (s ReleaseAddressInput) GoString() string { return s.String() } -// SetAllocationId sets the AllocationId field's value. -func (s *ReleaseAddressInput) SetAllocationId(v string) *ReleaseAddressInput { - s.AllocationId = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ReleaseAddressInput) SetDryRun(v bool) *ReleaseAddressInput { - s.DryRun = &v - return s -} - -// SetPublicIp sets the PublicIp field's value. -func (s *ReleaseAddressInput) SetPublicIp(v string) *ReleaseAddressInput { - s.PublicIp = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseAddressOutput type ReleaseAddressOutput struct { _ struct{} `type:"structure"` @@ -52667,12 +40565,6 @@ func (s *ReleaseHostsInput) Validate() error { return nil } -// SetHostIds sets the HostIds field's value. -func (s *ReleaseHostsInput) SetHostIds(v []string) *ReleaseHostsInput { - s.HostIds = v - return s -} - // Contains the output of ReleaseHosts. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseHostsResult type ReleaseHostsOutput struct { @@ -52703,18 +40595,6 @@ func (s ReleaseHostsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSuccessful sets the Successful field's value. -func (s *ReleaseHostsOutput) SetSuccessful(v []string) *ReleaseHostsOutput { - s.Successful = v - return s -} - -// SetUnsuccessful sets the Unsuccessful field's value. -func (s *ReleaseHostsOutput) SetUnsuccessful(v []UnsuccessfulItem) *ReleaseHostsOutput { - s.Unsuccessful = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceIamInstanceProfileAssociationRequest type ReplaceIamInstanceProfileAssociationInput struct { _ struct{} `type:"structure"` @@ -52758,18 +40638,6 @@ func (s *ReplaceIamInstanceProfileAssociationInput) Validate() error { return nil } -// SetAssociationId sets the AssociationId field's value. -func (s *ReplaceIamInstanceProfileAssociationInput) SetAssociationId(v string) *ReplaceIamInstanceProfileAssociationInput { - s.AssociationId = &v - return s -} - -// SetIamInstanceProfile sets the IamInstanceProfile field's value. -func (s *ReplaceIamInstanceProfileAssociationInput) SetIamInstanceProfile(v *IamInstanceProfileSpecification) *ReplaceIamInstanceProfileAssociationInput { - s.IamInstanceProfile = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceIamInstanceProfileAssociationResult type ReplaceIamInstanceProfileAssociationOutput struct { _ struct{} `type:"structure"` @@ -52795,12 +40663,6 @@ func (s ReplaceIamInstanceProfileAssociationOutput) SDKResponseMetadata() aws.Re return s.responseMetadata } -// SetIamInstanceProfileAssociation sets the IamInstanceProfileAssociation field's value. -func (s *ReplaceIamInstanceProfileAssociationOutput) SetIamInstanceProfileAssociation(v *IamInstanceProfileAssociation) *ReplaceIamInstanceProfileAssociationOutput { - s.IamInstanceProfileAssociation = v - return s -} - // Contains the parameters for ReplaceNetworkAclAssociation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclAssociationRequest type ReplaceNetworkAclAssociationInput struct { @@ -52852,24 +40714,6 @@ func (s *ReplaceNetworkAclAssociationInput) Validate() error { return nil } -// SetAssociationId sets the AssociationId field's value. -func (s *ReplaceNetworkAclAssociationInput) SetAssociationId(v string) *ReplaceNetworkAclAssociationInput { - s.AssociationId = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ReplaceNetworkAclAssociationInput) SetDryRun(v bool) *ReplaceNetworkAclAssociationInput { - s.DryRun = &v - return s -} - -// SetNetworkAclId sets the NetworkAclId field's value. -func (s *ReplaceNetworkAclAssociationInput) SetNetworkAclId(v string) *ReplaceNetworkAclAssociationInput { - s.NetworkAclId = &v - return s -} - // Contains the output of ReplaceNetworkAclAssociation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclAssociationResult type ReplaceNetworkAclAssociationOutput struct { @@ -52896,12 +40740,6 @@ func (s ReplaceNetworkAclAssociationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNewAssociationId sets the NewAssociationId field's value. -func (s *ReplaceNetworkAclAssociationOutput) SetNewAssociationId(v string) *ReplaceNetworkAclAssociationOutput { - s.NewAssociationId = &v - return s -} - // Contains the parameters for ReplaceNetworkAclEntry. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclEntryRequest type ReplaceNetworkAclEntryInput struct { @@ -53000,66 +40838,6 @@ func (s *ReplaceNetworkAclEntryInput) Validate() error { return nil } -// SetCidrBlock sets the CidrBlock field's value. -func (s *ReplaceNetworkAclEntryInput) SetCidrBlock(v string) *ReplaceNetworkAclEntryInput { - s.CidrBlock = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ReplaceNetworkAclEntryInput) SetDryRun(v bool) *ReplaceNetworkAclEntryInput { - s.DryRun = &v - return s -} - -// SetEgress sets the Egress field's value. -func (s *ReplaceNetworkAclEntryInput) SetEgress(v bool) *ReplaceNetworkAclEntryInput { - s.Egress = &v - return s -} - -// SetIcmpTypeCode sets the IcmpTypeCode field's value. -func (s *ReplaceNetworkAclEntryInput) SetIcmpTypeCode(v *IcmpTypeCode) *ReplaceNetworkAclEntryInput { - s.IcmpTypeCode = v - return s -} - -// SetIpv6CidrBlock sets the Ipv6CidrBlock field's value. -func (s *ReplaceNetworkAclEntryInput) SetIpv6CidrBlock(v string) *ReplaceNetworkAclEntryInput { - s.Ipv6CidrBlock = &v - return s -} - -// SetNetworkAclId sets the NetworkAclId field's value. -func (s *ReplaceNetworkAclEntryInput) SetNetworkAclId(v string) *ReplaceNetworkAclEntryInput { - s.NetworkAclId = &v - return s -} - -// SetPortRange sets the PortRange field's value. -func (s *ReplaceNetworkAclEntryInput) SetPortRange(v *PortRange) *ReplaceNetworkAclEntryInput { - s.PortRange = v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *ReplaceNetworkAclEntryInput) SetProtocol(v string) *ReplaceNetworkAclEntryInput { - s.Protocol = &v - return s -} - -// SetRuleAction sets the RuleAction field's value. -func (s *ReplaceNetworkAclEntryInput) SetRuleAction(v RuleAction) *ReplaceNetworkAclEntryInput { - s.RuleAction = v - return s -} - -// SetRuleNumber sets the RuleNumber field's value. -func (s *ReplaceNetworkAclEntryInput) SetRuleNumber(v int64) *ReplaceNetworkAclEntryInput { - s.RuleNumber = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclEntryOutput type ReplaceNetworkAclEntryOutput struct { _ struct{} `type:"structure"` @@ -53149,66 +40927,6 @@ func (s *ReplaceRouteInput) Validate() error { return nil } -// SetDestinationCidrBlock sets the DestinationCidrBlock field's value. -func (s *ReplaceRouteInput) SetDestinationCidrBlock(v string) *ReplaceRouteInput { - s.DestinationCidrBlock = &v - return s -} - -// SetDestinationIpv6CidrBlock sets the DestinationIpv6CidrBlock field's value. -func (s *ReplaceRouteInput) SetDestinationIpv6CidrBlock(v string) *ReplaceRouteInput { - s.DestinationIpv6CidrBlock = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ReplaceRouteInput) SetDryRun(v bool) *ReplaceRouteInput { - s.DryRun = &v - return s -} - -// SetEgressOnlyInternetGatewayId sets the EgressOnlyInternetGatewayId field's value. -func (s *ReplaceRouteInput) SetEgressOnlyInternetGatewayId(v string) *ReplaceRouteInput { - s.EgressOnlyInternetGatewayId = &v - return s -} - -// SetGatewayId sets the GatewayId field's value. -func (s *ReplaceRouteInput) SetGatewayId(v string) *ReplaceRouteInput { - s.GatewayId = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *ReplaceRouteInput) SetInstanceId(v string) *ReplaceRouteInput { - s.InstanceId = &v - return s -} - -// SetNatGatewayId sets the NatGatewayId field's value. -func (s *ReplaceRouteInput) SetNatGatewayId(v string) *ReplaceRouteInput { - s.NatGatewayId = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *ReplaceRouteInput) SetNetworkInterfaceId(v string) *ReplaceRouteInput { - s.NetworkInterfaceId = &v - return s -} - -// SetRouteTableId sets the RouteTableId field's value. -func (s *ReplaceRouteInput) SetRouteTableId(v string) *ReplaceRouteInput { - s.RouteTableId = &v - return s -} - -// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value. -func (s *ReplaceRouteInput) SetVpcPeeringConnectionId(v string) *ReplaceRouteInput { - s.VpcPeeringConnectionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRouteOutput type ReplaceRouteOutput struct { _ struct{} `type:"structure"` @@ -53281,24 +40999,6 @@ func (s *ReplaceRouteTableAssociationInput) Validate() error { return nil } -// SetAssociationId sets the AssociationId field's value. -func (s *ReplaceRouteTableAssociationInput) SetAssociationId(v string) *ReplaceRouteTableAssociationInput { - s.AssociationId = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ReplaceRouteTableAssociationInput) SetDryRun(v bool) *ReplaceRouteTableAssociationInput { - s.DryRun = &v - return s -} - -// SetRouteTableId sets the RouteTableId field's value. -func (s *ReplaceRouteTableAssociationInput) SetRouteTableId(v string) *ReplaceRouteTableAssociationInput { - s.RouteTableId = &v - return s -} - // Contains the output of ReplaceRouteTableAssociation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRouteTableAssociationResult type ReplaceRouteTableAssociationOutput struct { @@ -53325,12 +41025,6 @@ func (s ReplaceRouteTableAssociationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNewAssociationId sets the NewAssociationId field's value. -func (s *ReplaceRouteTableAssociationOutput) SetNewAssociationId(v string) *ReplaceRouteTableAssociationOutput { - s.NewAssociationId = &v - return s -} - // Contains the parameters for ReportInstanceStatus. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReportInstanceStatusRequest type ReportInstanceStatusInput struct { @@ -53419,48 +41113,6 @@ func (s *ReportInstanceStatusInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *ReportInstanceStatusInput) SetDescription(v string) *ReportInstanceStatusInput { - s.Description = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ReportInstanceStatusInput) SetDryRun(v bool) *ReportInstanceStatusInput { - s.DryRun = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *ReportInstanceStatusInput) SetEndTime(v time.Time) *ReportInstanceStatusInput { - s.EndTime = &v - return s -} - -// SetInstances sets the Instances field's value. -func (s *ReportInstanceStatusInput) SetInstances(v []string) *ReportInstanceStatusInput { - s.Instances = v - return s -} - -// SetReasonCodes sets the ReasonCodes field's value. -func (s *ReportInstanceStatusInput) SetReasonCodes(v []ReportInstanceReasonCodes) *ReportInstanceStatusInput { - s.ReasonCodes = v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *ReportInstanceStatusInput) SetStartTime(v time.Time) *ReportInstanceStatusInput { - s.StartTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ReportInstanceStatusInput) SetStatus(v ReportStatusType) *ReportInstanceStatusInput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReportInstanceStatusOutput type ReportInstanceStatusOutput struct { _ struct{} `type:"structure"` @@ -53626,126 +41278,6 @@ func (s *RequestLaunchTemplateData) Validate() error { return nil } -// SetBlockDeviceMappings sets the BlockDeviceMappings field's value. -func (s *RequestLaunchTemplateData) SetBlockDeviceMappings(v []LaunchTemplateBlockDeviceMappingRequest) *RequestLaunchTemplateData { - s.BlockDeviceMappings = v - return s -} - -// SetCreditSpecification sets the CreditSpecification field's value. -func (s *RequestLaunchTemplateData) SetCreditSpecification(v *CreditSpecificationRequest) *RequestLaunchTemplateData { - s.CreditSpecification = v - return s -} - -// SetDisableApiTermination sets the DisableApiTermination field's value. -func (s *RequestLaunchTemplateData) SetDisableApiTermination(v bool) *RequestLaunchTemplateData { - s.DisableApiTermination = &v - return s -} - -// SetEbsOptimized sets the EbsOptimized field's value. -func (s *RequestLaunchTemplateData) SetEbsOptimized(v bool) *RequestLaunchTemplateData { - s.EbsOptimized = &v - return s -} - -// SetElasticGpuSpecifications sets the ElasticGpuSpecifications field's value. -func (s *RequestLaunchTemplateData) SetElasticGpuSpecifications(v []ElasticGpuSpecification) *RequestLaunchTemplateData { - s.ElasticGpuSpecifications = v - return s -} - -// SetIamInstanceProfile sets the IamInstanceProfile field's value. -func (s *RequestLaunchTemplateData) SetIamInstanceProfile(v *LaunchTemplateIamInstanceProfileSpecificationRequest) *RequestLaunchTemplateData { - s.IamInstanceProfile = v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *RequestLaunchTemplateData) SetImageId(v string) *RequestLaunchTemplateData { - s.ImageId = &v - return s -} - -// SetInstanceInitiatedShutdownBehavior sets the InstanceInitiatedShutdownBehavior field's value. -func (s *RequestLaunchTemplateData) SetInstanceInitiatedShutdownBehavior(v ShutdownBehavior) *RequestLaunchTemplateData { - s.InstanceInitiatedShutdownBehavior = v - return s -} - -// SetInstanceMarketOptions sets the InstanceMarketOptions field's value. -func (s *RequestLaunchTemplateData) SetInstanceMarketOptions(v *LaunchTemplateInstanceMarketOptionsRequest) *RequestLaunchTemplateData { - s.InstanceMarketOptions = v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *RequestLaunchTemplateData) SetInstanceType(v InstanceType) *RequestLaunchTemplateData { - s.InstanceType = v - return s -} - -// SetKernelId sets the KernelId field's value. -func (s *RequestLaunchTemplateData) SetKernelId(v string) *RequestLaunchTemplateData { - s.KernelId = &v - return s -} - -// SetKeyName sets the KeyName field's value. -func (s *RequestLaunchTemplateData) SetKeyName(v string) *RequestLaunchTemplateData { - s.KeyName = &v - return s -} - -// SetMonitoring sets the Monitoring field's value. -func (s *RequestLaunchTemplateData) SetMonitoring(v *LaunchTemplatesMonitoringRequest) *RequestLaunchTemplateData { - s.Monitoring = v - return s -} - -// SetNetworkInterfaces sets the NetworkInterfaces field's value. -func (s *RequestLaunchTemplateData) SetNetworkInterfaces(v []LaunchTemplateInstanceNetworkInterfaceSpecificationRequest) *RequestLaunchTemplateData { - s.NetworkInterfaces = v - return s -} - -// SetPlacement sets the Placement field's value. -func (s *RequestLaunchTemplateData) SetPlacement(v *LaunchTemplatePlacementRequest) *RequestLaunchTemplateData { - s.Placement = v - return s -} - -// SetRamDiskId sets the RamDiskId field's value. -func (s *RequestLaunchTemplateData) SetRamDiskId(v string) *RequestLaunchTemplateData { - s.RamDiskId = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *RequestLaunchTemplateData) SetSecurityGroupIds(v []string) *RequestLaunchTemplateData { - s.SecurityGroupIds = v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *RequestLaunchTemplateData) SetSecurityGroups(v []string) *RequestLaunchTemplateData { - s.SecurityGroups = v - return s -} - -// SetTagSpecifications sets the TagSpecifications field's value. -func (s *RequestLaunchTemplateData) SetTagSpecifications(v []LaunchTemplateTagSpecificationRequest) *RequestLaunchTemplateData { - s.TagSpecifications = v - return s -} - -// SetUserData sets the UserData field's value. -func (s *RequestLaunchTemplateData) SetUserData(v string) *RequestLaunchTemplateData { - s.UserData = &v - return s -} - // Contains the parameters for RequestSpotFleet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotFleetRequest type RequestSpotFleetInput struct { @@ -53792,18 +41324,6 @@ func (s *RequestSpotFleetInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *RequestSpotFleetInput) SetDryRun(v bool) *RequestSpotFleetInput { - s.DryRun = &v - return s -} - -// SetSpotFleetRequestConfig sets the SpotFleetRequestConfig field's value. -func (s *RequestSpotFleetInput) SetSpotFleetRequestConfig(v *SpotFleetRequestConfigData) *RequestSpotFleetInput { - s.SpotFleetRequestConfig = v - return s -} - // Contains the output of RequestSpotFleet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotFleetResponse type RequestSpotFleetOutput struct { @@ -53832,12 +41352,6 @@ func (s RequestSpotFleetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSpotFleetRequestId sets the SpotFleetRequestId field's value. -func (s *RequestSpotFleetOutput) SetSpotFleetRequestId(v string) *RequestSpotFleetOutput { - s.SpotFleetRequestId = &v - return s -} - // Contains the parameters for RequestSpotInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotInstancesRequest type RequestSpotInstancesInput struct { @@ -53954,78 +41468,6 @@ func (s *RequestSpotInstancesInput) Validate() error { return nil } -// SetAvailabilityZoneGroup sets the AvailabilityZoneGroup field's value. -func (s *RequestSpotInstancesInput) SetAvailabilityZoneGroup(v string) *RequestSpotInstancesInput { - s.AvailabilityZoneGroup = &v - return s -} - -// SetBlockDurationMinutes sets the BlockDurationMinutes field's value. -func (s *RequestSpotInstancesInput) SetBlockDurationMinutes(v int64) *RequestSpotInstancesInput { - s.BlockDurationMinutes = &v - return s -} - -// SetClientToken sets the ClientToken field's value. -func (s *RequestSpotInstancesInput) SetClientToken(v string) *RequestSpotInstancesInput { - s.ClientToken = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *RequestSpotInstancesInput) SetDryRun(v bool) *RequestSpotInstancesInput { - s.DryRun = &v - return s -} - -// SetInstanceCount sets the InstanceCount field's value. -func (s *RequestSpotInstancesInput) SetInstanceCount(v int64) *RequestSpotInstancesInput { - s.InstanceCount = &v - return s -} - -// SetInstanceInterruptionBehavior sets the InstanceInterruptionBehavior field's value. -func (s *RequestSpotInstancesInput) SetInstanceInterruptionBehavior(v InstanceInterruptionBehavior) *RequestSpotInstancesInput { - s.InstanceInterruptionBehavior = v - return s -} - -// SetLaunchGroup sets the LaunchGroup field's value. -func (s *RequestSpotInstancesInput) SetLaunchGroup(v string) *RequestSpotInstancesInput { - s.LaunchGroup = &v - return s -} - -// SetLaunchSpecification sets the LaunchSpecification field's value. -func (s *RequestSpotInstancesInput) SetLaunchSpecification(v *RequestSpotLaunchSpecification) *RequestSpotInstancesInput { - s.LaunchSpecification = v - return s -} - -// SetSpotPrice sets the SpotPrice field's value. -func (s *RequestSpotInstancesInput) SetSpotPrice(v string) *RequestSpotInstancesInput { - s.SpotPrice = &v - return s -} - -// SetType sets the Type field's value. -func (s *RequestSpotInstancesInput) SetType(v SpotInstanceType) *RequestSpotInstancesInput { - s.Type = v - return s -} - -// SetValidFrom sets the ValidFrom field's value. -func (s *RequestSpotInstancesInput) SetValidFrom(v time.Time) *RequestSpotInstancesInput { - s.ValidFrom = &v - return s -} - -// SetValidUntil sets the ValidUntil field's value. -func (s *RequestSpotInstancesInput) SetValidUntil(v time.Time) *RequestSpotInstancesInput { - s.ValidUntil = &v - return s -} - // Contains the output of RequestSpotInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotInstancesResult type RequestSpotInstancesOutput struct { @@ -54052,12 +41494,6 @@ func (s RequestSpotInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSpotInstanceRequests sets the SpotInstanceRequests field's value. -func (s *RequestSpotInstancesOutput) SetSpotInstanceRequests(v []SpotInstanceRequest) *RequestSpotInstancesOutput { - s.SpotInstanceRequests = v - return s -} - // Describes the launch specification for an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotLaunchSpecification type RequestSpotLaunchSpecification struct { @@ -54160,102 +41596,6 @@ func (s *RequestSpotLaunchSpecification) Validate() error { return nil } -// SetAddressingType sets the AddressingType field's value. -func (s *RequestSpotLaunchSpecification) SetAddressingType(v string) *RequestSpotLaunchSpecification { - s.AddressingType = &v - return s -} - -// SetBlockDeviceMappings sets the BlockDeviceMappings field's value. -func (s *RequestSpotLaunchSpecification) SetBlockDeviceMappings(v []BlockDeviceMapping) *RequestSpotLaunchSpecification { - s.BlockDeviceMappings = v - return s -} - -// SetEbsOptimized sets the EbsOptimized field's value. -func (s *RequestSpotLaunchSpecification) SetEbsOptimized(v bool) *RequestSpotLaunchSpecification { - s.EbsOptimized = &v - return s -} - -// SetIamInstanceProfile sets the IamInstanceProfile field's value. -func (s *RequestSpotLaunchSpecification) SetIamInstanceProfile(v *IamInstanceProfileSpecification) *RequestSpotLaunchSpecification { - s.IamInstanceProfile = v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *RequestSpotLaunchSpecification) SetImageId(v string) *RequestSpotLaunchSpecification { - s.ImageId = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *RequestSpotLaunchSpecification) SetInstanceType(v InstanceType) *RequestSpotLaunchSpecification { - s.InstanceType = v - return s -} - -// SetKernelId sets the KernelId field's value. -func (s *RequestSpotLaunchSpecification) SetKernelId(v string) *RequestSpotLaunchSpecification { - s.KernelId = &v - return s -} - -// SetKeyName sets the KeyName field's value. -func (s *RequestSpotLaunchSpecification) SetKeyName(v string) *RequestSpotLaunchSpecification { - s.KeyName = &v - return s -} - -// SetMonitoring sets the Monitoring field's value. -func (s *RequestSpotLaunchSpecification) SetMonitoring(v *RunInstancesMonitoringEnabled) *RequestSpotLaunchSpecification { - s.Monitoring = v - return s -} - -// SetNetworkInterfaces sets the NetworkInterfaces field's value. -func (s *RequestSpotLaunchSpecification) SetNetworkInterfaces(v []InstanceNetworkInterfaceSpecification) *RequestSpotLaunchSpecification { - s.NetworkInterfaces = v - return s -} - -// SetPlacement sets the Placement field's value. -func (s *RequestSpotLaunchSpecification) SetPlacement(v *SpotPlacement) *RequestSpotLaunchSpecification { - s.Placement = v - return s -} - -// SetRamdiskId sets the RamdiskId field's value. -func (s *RequestSpotLaunchSpecification) SetRamdiskId(v string) *RequestSpotLaunchSpecification { - s.RamdiskId = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *RequestSpotLaunchSpecification) SetSecurityGroupIds(v []string) *RequestSpotLaunchSpecification { - s.SecurityGroupIds = v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *RequestSpotLaunchSpecification) SetSecurityGroups(v []string) *RequestSpotLaunchSpecification { - s.SecurityGroups = v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *RequestSpotLaunchSpecification) SetSubnetId(v string) *RequestSpotLaunchSpecification { - s.SubnetId = &v - return s -} - -// SetUserData sets the UserData field's value. -func (s *RequestSpotLaunchSpecification) SetUserData(v string) *RequestSpotLaunchSpecification { - s.UserData = &v - return s -} - // The cost associated with the Reserved Instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservationValue type ReservationValue struct { @@ -54282,24 +41622,6 @@ func (s ReservationValue) GoString() string { return s.String() } -// SetHourlyPrice sets the HourlyPrice field's value. -func (s *ReservationValue) SetHourlyPrice(v string) *ReservationValue { - s.HourlyPrice = &v - return s -} - -// SetRemainingTotalValue sets the RemainingTotalValue field's value. -func (s *ReservationValue) SetRemainingTotalValue(v string) *ReservationValue { - s.RemainingTotalValue = &v - return s -} - -// SetRemainingUpfrontValue sets the RemainingUpfrontValue field's value. -func (s *ReservationValue) SetRemainingUpfrontValue(v string) *ReservationValue { - s.RemainingUpfrontValue = &v - return s -} - // Describes the limit price of a Reserved Instance offering. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstanceLimitPrice type ReservedInstanceLimitPrice struct { @@ -54324,18 +41646,6 @@ func (s ReservedInstanceLimitPrice) GoString() string { return s.String() } -// SetAmount sets the Amount field's value. -func (s *ReservedInstanceLimitPrice) SetAmount(v float64) *ReservedInstanceLimitPrice { - s.Amount = &v - return s -} - -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *ReservedInstanceLimitPrice) SetCurrencyCode(v CurrencyCodeValues) *ReservedInstanceLimitPrice { - s.CurrencyCode = v - return s -} - // The total value of the Convertible Reserved Instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstanceReservationValue type ReservedInstanceReservationValue struct { @@ -54358,18 +41668,6 @@ func (s ReservedInstanceReservationValue) GoString() string { return s.String() } -// SetReservationValue sets the ReservationValue field's value. -func (s *ReservedInstanceReservationValue) SetReservationValue(v *ReservationValue) *ReservedInstanceReservationValue { - s.ReservationValue = v - return s -} - -// SetReservedInstanceId sets the ReservedInstanceId field's value. -func (s *ReservedInstanceReservationValue) SetReservedInstanceId(v string) *ReservedInstanceReservationValue { - s.ReservedInstanceId = &v - return s -} - // Describes a Reserved Instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstances type ReservedInstances struct { @@ -54441,114 +41739,6 @@ func (s ReservedInstances) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *ReservedInstances) SetAvailabilityZone(v string) *ReservedInstances { - s.AvailabilityZone = &v - return s -} - -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *ReservedInstances) SetCurrencyCode(v CurrencyCodeValues) *ReservedInstances { - s.CurrencyCode = v - return s -} - -// SetDuration sets the Duration field's value. -func (s *ReservedInstances) SetDuration(v int64) *ReservedInstances { - s.Duration = &v - return s -} - -// SetEnd sets the End field's value. -func (s *ReservedInstances) SetEnd(v time.Time) *ReservedInstances { - s.End = &v - return s -} - -// SetFixedPrice sets the FixedPrice field's value. -func (s *ReservedInstances) SetFixedPrice(v float64) *ReservedInstances { - s.FixedPrice = &v - return s -} - -// SetInstanceCount sets the InstanceCount field's value. -func (s *ReservedInstances) SetInstanceCount(v int64) *ReservedInstances { - s.InstanceCount = &v - return s -} - -// SetInstanceTenancy sets the InstanceTenancy field's value. -func (s *ReservedInstances) SetInstanceTenancy(v Tenancy) *ReservedInstances { - s.InstanceTenancy = v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *ReservedInstances) SetInstanceType(v InstanceType) *ReservedInstances { - s.InstanceType = v - return s -} - -// SetOfferingClass sets the OfferingClass field's value. -func (s *ReservedInstances) SetOfferingClass(v OfferingClassType) *ReservedInstances { - s.OfferingClass = v - return s -} - -// SetOfferingType sets the OfferingType field's value. -func (s *ReservedInstances) SetOfferingType(v OfferingTypeValues) *ReservedInstances { - s.OfferingType = v - return s -} - -// SetProductDescription sets the ProductDescription field's value. -func (s *ReservedInstances) SetProductDescription(v RIProductDescription) *ReservedInstances { - s.ProductDescription = v - return s -} - -// SetRecurringCharges sets the RecurringCharges field's value. -func (s *ReservedInstances) SetRecurringCharges(v []RecurringCharge) *ReservedInstances { - s.RecurringCharges = v - return s -} - -// SetReservedInstancesId sets the ReservedInstancesId field's value. -func (s *ReservedInstances) SetReservedInstancesId(v string) *ReservedInstances { - s.ReservedInstancesId = &v - return s -} - -// SetScope sets the Scope field's value. -func (s *ReservedInstances) SetScope(v Scope) *ReservedInstances { - s.Scope = v - return s -} - -// SetStart sets the Start field's value. -func (s *ReservedInstances) SetStart(v time.Time) *ReservedInstances { - s.Start = &v - return s -} - -// SetState sets the State field's value. -func (s *ReservedInstances) SetState(v ReservedInstanceState) *ReservedInstances { - s.State = v - return s -} - -// SetTags sets the Tags field's value. -func (s *ReservedInstances) SetTags(v []Tag) *ReservedInstances { - s.Tags = v - return s -} - -// SetUsagePrice sets the UsagePrice field's value. -func (s *ReservedInstances) SetUsagePrice(v float64) *ReservedInstances { - s.UsagePrice = &v - return s -} - // Describes the configuration settings for the modified Reserved Instances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstancesConfiguration type ReservedInstancesConfiguration struct { @@ -54582,36 +41772,6 @@ func (s ReservedInstancesConfiguration) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *ReservedInstancesConfiguration) SetAvailabilityZone(v string) *ReservedInstancesConfiguration { - s.AvailabilityZone = &v - return s -} - -// SetInstanceCount sets the InstanceCount field's value. -func (s *ReservedInstancesConfiguration) SetInstanceCount(v int64) *ReservedInstancesConfiguration { - s.InstanceCount = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *ReservedInstancesConfiguration) SetInstanceType(v InstanceType) *ReservedInstancesConfiguration { - s.InstanceType = v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *ReservedInstancesConfiguration) SetPlatform(v string) *ReservedInstancesConfiguration { - s.Platform = &v - return s -} - -// SetScope sets the Scope field's value. -func (s *ReservedInstancesConfiguration) SetScope(v Scope) *ReservedInstancesConfiguration { - s.Scope = v - return s -} - // Describes the ID of a Reserved Instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstancesId type ReservedInstancesId struct { @@ -54631,12 +41791,6 @@ func (s ReservedInstancesId) GoString() string { return s.String() } -// SetReservedInstancesId sets the ReservedInstancesId field's value. -func (s *ReservedInstancesId) SetReservedInstancesId(v string) *ReservedInstancesId { - s.ReservedInstancesId = &v - return s -} - // Describes a Reserved Instance listing. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstancesListing type ReservedInstancesListing struct { @@ -54685,66 +41839,6 @@ func (s ReservedInstancesListing) GoString() string { return s.String() } -// SetClientToken sets the ClientToken field's value. -func (s *ReservedInstancesListing) SetClientToken(v string) *ReservedInstancesListing { - s.ClientToken = &v - return s -} - -// SetCreateDate sets the CreateDate field's value. -func (s *ReservedInstancesListing) SetCreateDate(v time.Time) *ReservedInstancesListing { - s.CreateDate = &v - return s -} - -// SetInstanceCounts sets the InstanceCounts field's value. -func (s *ReservedInstancesListing) SetInstanceCounts(v []InstanceCount) *ReservedInstancesListing { - s.InstanceCounts = v - return s -} - -// SetPriceSchedules sets the PriceSchedules field's value. -func (s *ReservedInstancesListing) SetPriceSchedules(v []PriceSchedule) *ReservedInstancesListing { - s.PriceSchedules = v - return s -} - -// SetReservedInstancesId sets the ReservedInstancesId field's value. -func (s *ReservedInstancesListing) SetReservedInstancesId(v string) *ReservedInstancesListing { - s.ReservedInstancesId = &v - return s -} - -// SetReservedInstancesListingId sets the ReservedInstancesListingId field's value. -func (s *ReservedInstancesListing) SetReservedInstancesListingId(v string) *ReservedInstancesListing { - s.ReservedInstancesListingId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ReservedInstancesListing) SetStatus(v ListingStatus) *ReservedInstancesListing { - s.Status = v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *ReservedInstancesListing) SetStatusMessage(v string) *ReservedInstancesListing { - s.StatusMessage = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *ReservedInstancesListing) SetTags(v []Tag) *ReservedInstancesListing { - s.Tags = v - return s -} - -// SetUpdateDate sets the UpdateDate field's value. -func (s *ReservedInstancesListing) SetUpdateDate(v time.Time) *ReservedInstancesListing { - s.UpdateDate = &v - return s -} - // Describes a Reserved Instance modification. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstancesModification type ReservedInstancesModification struct { @@ -54790,60 +41884,6 @@ func (s ReservedInstancesModification) GoString() string { return s.String() } -// SetClientToken sets the ClientToken field's value. -func (s *ReservedInstancesModification) SetClientToken(v string) *ReservedInstancesModification { - s.ClientToken = &v - return s -} - -// SetCreateDate sets the CreateDate field's value. -func (s *ReservedInstancesModification) SetCreateDate(v time.Time) *ReservedInstancesModification { - s.CreateDate = &v - return s -} - -// SetEffectiveDate sets the EffectiveDate field's value. -func (s *ReservedInstancesModification) SetEffectiveDate(v time.Time) *ReservedInstancesModification { - s.EffectiveDate = &v - return s -} - -// SetModificationResults sets the ModificationResults field's value. -func (s *ReservedInstancesModification) SetModificationResults(v []ReservedInstancesModificationResult) *ReservedInstancesModification { - s.ModificationResults = v - return s -} - -// SetReservedInstancesIds sets the ReservedInstancesIds field's value. -func (s *ReservedInstancesModification) SetReservedInstancesIds(v []ReservedInstancesId) *ReservedInstancesModification { - s.ReservedInstancesIds = v - return s -} - -// SetReservedInstancesModificationId sets the ReservedInstancesModificationId field's value. -func (s *ReservedInstancesModification) SetReservedInstancesModificationId(v string) *ReservedInstancesModification { - s.ReservedInstancesModificationId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ReservedInstancesModification) SetStatus(v string) *ReservedInstancesModification { - s.Status = &v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *ReservedInstancesModification) SetStatusMessage(v string) *ReservedInstancesModification { - s.StatusMessage = &v - return s -} - -// SetUpdateDate sets the UpdateDate field's value. -func (s *ReservedInstancesModification) SetUpdateDate(v time.Time) *ReservedInstancesModification { - s.UpdateDate = &v - return s -} - // Describes the modification request/s. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstancesModificationResult type ReservedInstancesModificationResult struct { @@ -54868,18 +41908,6 @@ func (s ReservedInstancesModificationResult) GoString() string { return s.String() } -// SetReservedInstancesId sets the ReservedInstancesId field's value. -func (s *ReservedInstancesModificationResult) SetReservedInstancesId(v string) *ReservedInstancesModificationResult { - s.ReservedInstancesId = &v - return s -} - -// SetTargetConfiguration sets the TargetConfiguration field's value. -func (s *ReservedInstancesModificationResult) SetTargetConfiguration(v *ReservedInstancesConfiguration) *ReservedInstancesModificationResult { - s.TargetConfiguration = v - return s -} - // Describes a Reserved Instance offering. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstancesOffering type ReservedInstancesOffering struct { @@ -54949,96 +41977,6 @@ func (s ReservedInstancesOffering) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *ReservedInstancesOffering) SetAvailabilityZone(v string) *ReservedInstancesOffering { - s.AvailabilityZone = &v - return s -} - -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *ReservedInstancesOffering) SetCurrencyCode(v CurrencyCodeValues) *ReservedInstancesOffering { - s.CurrencyCode = v - return s -} - -// SetDuration sets the Duration field's value. -func (s *ReservedInstancesOffering) SetDuration(v int64) *ReservedInstancesOffering { - s.Duration = &v - return s -} - -// SetFixedPrice sets the FixedPrice field's value. -func (s *ReservedInstancesOffering) SetFixedPrice(v float64) *ReservedInstancesOffering { - s.FixedPrice = &v - return s -} - -// SetInstanceTenancy sets the InstanceTenancy field's value. -func (s *ReservedInstancesOffering) SetInstanceTenancy(v Tenancy) *ReservedInstancesOffering { - s.InstanceTenancy = v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *ReservedInstancesOffering) SetInstanceType(v InstanceType) *ReservedInstancesOffering { - s.InstanceType = v - return s -} - -// SetMarketplace sets the Marketplace field's value. -func (s *ReservedInstancesOffering) SetMarketplace(v bool) *ReservedInstancesOffering { - s.Marketplace = &v - return s -} - -// SetOfferingClass sets the OfferingClass field's value. -func (s *ReservedInstancesOffering) SetOfferingClass(v OfferingClassType) *ReservedInstancesOffering { - s.OfferingClass = v - return s -} - -// SetOfferingType sets the OfferingType field's value. -func (s *ReservedInstancesOffering) SetOfferingType(v OfferingTypeValues) *ReservedInstancesOffering { - s.OfferingType = v - return s -} - -// SetPricingDetails sets the PricingDetails field's value. -func (s *ReservedInstancesOffering) SetPricingDetails(v []PricingDetail) *ReservedInstancesOffering { - s.PricingDetails = v - return s -} - -// SetProductDescription sets the ProductDescription field's value. -func (s *ReservedInstancesOffering) SetProductDescription(v RIProductDescription) *ReservedInstancesOffering { - s.ProductDescription = v - return s -} - -// SetRecurringCharges sets the RecurringCharges field's value. -func (s *ReservedInstancesOffering) SetRecurringCharges(v []RecurringCharge) *ReservedInstancesOffering { - s.RecurringCharges = v - return s -} - -// SetReservedInstancesOfferingId sets the ReservedInstancesOfferingId field's value. -func (s *ReservedInstancesOffering) SetReservedInstancesOfferingId(v string) *ReservedInstancesOffering { - s.ReservedInstancesOfferingId = &v - return s -} - -// SetScope sets the Scope field's value. -func (s *ReservedInstancesOffering) SetScope(v Scope) *ReservedInstancesOffering { - s.Scope = v - return s -} - -// SetUsagePrice sets the UsagePrice field's value. -func (s *ReservedInstancesOffering) SetUsagePrice(v float64) *ReservedInstancesOffering { - s.UsagePrice = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetFpgaImageAttributeRequest type ResetFpgaImageAttributeInput struct { _ struct{} `type:"structure"` @@ -55082,24 +42020,6 @@ func (s *ResetFpgaImageAttributeInput) Validate() error { return nil } -// SetAttribute sets the Attribute field's value. -func (s *ResetFpgaImageAttributeInput) SetAttribute(v ResetFpgaImageAttributeName) *ResetFpgaImageAttributeInput { - s.Attribute = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ResetFpgaImageAttributeInput) SetDryRun(v bool) *ResetFpgaImageAttributeInput { - s.DryRun = &v - return s -} - -// SetFpgaImageId sets the FpgaImageId field's value. -func (s *ResetFpgaImageAttributeInput) SetFpgaImageId(v string) *ResetFpgaImageAttributeInput { - s.FpgaImageId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetFpgaImageAttributeResult type ResetFpgaImageAttributeOutput struct { _ struct{} `type:"structure"` @@ -55125,12 +42045,6 @@ func (s ResetFpgaImageAttributeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReturn sets the Return field's value. -func (s *ResetFpgaImageAttributeOutput) SetReturn(v bool) *ResetFpgaImageAttributeOutput { - s.Return = &v - return s -} - // Contains the parameters for ResetImageAttribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetImageAttributeRequest type ResetImageAttributeInput struct { @@ -55181,24 +42095,6 @@ func (s *ResetImageAttributeInput) Validate() error { return nil } -// SetAttribute sets the Attribute field's value. -func (s *ResetImageAttributeInput) SetAttribute(v ResetImageAttributeName) *ResetImageAttributeInput { - s.Attribute = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ResetImageAttributeInput) SetDryRun(v bool) *ResetImageAttributeInput { - s.DryRun = &v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *ResetImageAttributeInput) SetImageId(v string) *ResetImageAttributeInput { - s.ImageId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetImageAttributeOutput type ResetImageAttributeOutput struct { _ struct{} `type:"structure"` @@ -55273,24 +42169,6 @@ func (s *ResetInstanceAttributeInput) Validate() error { return nil } -// SetAttribute sets the Attribute field's value. -func (s *ResetInstanceAttributeInput) SetAttribute(v InstanceAttributeName) *ResetInstanceAttributeInput { - s.Attribute = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ResetInstanceAttributeInput) SetDryRun(v bool) *ResetInstanceAttributeInput { - s.DryRun = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *ResetInstanceAttributeInput) SetInstanceId(v string) *ResetInstanceAttributeInput { - s.InstanceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetInstanceAttributeOutput type ResetInstanceAttributeOutput struct { _ struct{} `type:"structure"` @@ -55357,24 +42235,6 @@ func (s *ResetNetworkInterfaceAttributeInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *ResetNetworkInterfaceAttributeInput) SetDryRun(v bool) *ResetNetworkInterfaceAttributeInput { - s.DryRun = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *ResetNetworkInterfaceAttributeInput) SetNetworkInterfaceId(v string) *ResetNetworkInterfaceAttributeInput { - s.NetworkInterfaceId = &v - return s -} - -// SetSourceDestCheck sets the SourceDestCheck field's value. -func (s *ResetNetworkInterfaceAttributeInput) SetSourceDestCheck(v string) *ResetNetworkInterfaceAttributeInput { - s.SourceDestCheck = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetNetworkInterfaceAttributeOutput type ResetNetworkInterfaceAttributeOutput struct { _ struct{} `type:"structure"` @@ -55447,24 +42307,6 @@ func (s *ResetSnapshotAttributeInput) Validate() error { return nil } -// SetAttribute sets the Attribute field's value. -func (s *ResetSnapshotAttributeInput) SetAttribute(v SnapshotAttributeName) *ResetSnapshotAttributeInput { - s.Attribute = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *ResetSnapshotAttributeInput) SetDryRun(v bool) *ResetSnapshotAttributeInput { - s.DryRun = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *ResetSnapshotAttributeInput) SetSnapshotId(v string) *ResetSnapshotAttributeInput { - s.SnapshotId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetSnapshotAttributeOutput type ResetSnapshotAttributeOutput struct { _ struct{} `type:"structure"` @@ -55510,18 +42352,6 @@ func (s ResponseError) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *ResponseError) SetCode(v LaunchTemplateErrorCode) *ResponseError { - s.Code = v - return s -} - -// SetMessage sets the Message field's value. -func (s *ResponseError) SetMessage(v string) *ResponseError { - s.Message = &v - return s -} - // The information for a launch template. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResponseLaunchTemplateData type ResponseLaunchTemplateData struct { @@ -55600,126 +42430,6 @@ func (s ResponseLaunchTemplateData) GoString() string { return s.String() } -// SetBlockDeviceMappings sets the BlockDeviceMappings field's value. -func (s *ResponseLaunchTemplateData) SetBlockDeviceMappings(v []LaunchTemplateBlockDeviceMapping) *ResponseLaunchTemplateData { - s.BlockDeviceMappings = v - return s -} - -// SetCreditSpecification sets the CreditSpecification field's value. -func (s *ResponseLaunchTemplateData) SetCreditSpecification(v *CreditSpecification) *ResponseLaunchTemplateData { - s.CreditSpecification = v - return s -} - -// SetDisableApiTermination sets the DisableApiTermination field's value. -func (s *ResponseLaunchTemplateData) SetDisableApiTermination(v bool) *ResponseLaunchTemplateData { - s.DisableApiTermination = &v - return s -} - -// SetEbsOptimized sets the EbsOptimized field's value. -func (s *ResponseLaunchTemplateData) SetEbsOptimized(v bool) *ResponseLaunchTemplateData { - s.EbsOptimized = &v - return s -} - -// SetElasticGpuSpecifications sets the ElasticGpuSpecifications field's value. -func (s *ResponseLaunchTemplateData) SetElasticGpuSpecifications(v []ElasticGpuSpecificationResponse) *ResponseLaunchTemplateData { - s.ElasticGpuSpecifications = v - return s -} - -// SetIamInstanceProfile sets the IamInstanceProfile field's value. -func (s *ResponseLaunchTemplateData) SetIamInstanceProfile(v *LaunchTemplateIamInstanceProfileSpecification) *ResponseLaunchTemplateData { - s.IamInstanceProfile = v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *ResponseLaunchTemplateData) SetImageId(v string) *ResponseLaunchTemplateData { - s.ImageId = &v - return s -} - -// SetInstanceInitiatedShutdownBehavior sets the InstanceInitiatedShutdownBehavior field's value. -func (s *ResponseLaunchTemplateData) SetInstanceInitiatedShutdownBehavior(v ShutdownBehavior) *ResponseLaunchTemplateData { - s.InstanceInitiatedShutdownBehavior = v - return s -} - -// SetInstanceMarketOptions sets the InstanceMarketOptions field's value. -func (s *ResponseLaunchTemplateData) SetInstanceMarketOptions(v *LaunchTemplateInstanceMarketOptions) *ResponseLaunchTemplateData { - s.InstanceMarketOptions = v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *ResponseLaunchTemplateData) SetInstanceType(v InstanceType) *ResponseLaunchTemplateData { - s.InstanceType = v - return s -} - -// SetKernelId sets the KernelId field's value. -func (s *ResponseLaunchTemplateData) SetKernelId(v string) *ResponseLaunchTemplateData { - s.KernelId = &v - return s -} - -// SetKeyName sets the KeyName field's value. -func (s *ResponseLaunchTemplateData) SetKeyName(v string) *ResponseLaunchTemplateData { - s.KeyName = &v - return s -} - -// SetMonitoring sets the Monitoring field's value. -func (s *ResponseLaunchTemplateData) SetMonitoring(v *LaunchTemplatesMonitoring) *ResponseLaunchTemplateData { - s.Monitoring = v - return s -} - -// SetNetworkInterfaces sets the NetworkInterfaces field's value. -func (s *ResponseLaunchTemplateData) SetNetworkInterfaces(v []LaunchTemplateInstanceNetworkInterfaceSpecification) *ResponseLaunchTemplateData { - s.NetworkInterfaces = v - return s -} - -// SetPlacement sets the Placement field's value. -func (s *ResponseLaunchTemplateData) SetPlacement(v *LaunchTemplatePlacement) *ResponseLaunchTemplateData { - s.Placement = v - return s -} - -// SetRamDiskId sets the RamDiskId field's value. -func (s *ResponseLaunchTemplateData) SetRamDiskId(v string) *ResponseLaunchTemplateData { - s.RamDiskId = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *ResponseLaunchTemplateData) SetSecurityGroupIds(v []string) *ResponseLaunchTemplateData { - s.SecurityGroupIds = v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *ResponseLaunchTemplateData) SetSecurityGroups(v []string) *ResponseLaunchTemplateData { - s.SecurityGroups = v - return s -} - -// SetTagSpecifications sets the TagSpecifications field's value. -func (s *ResponseLaunchTemplateData) SetTagSpecifications(v []LaunchTemplateTagSpecification) *ResponseLaunchTemplateData { - s.TagSpecifications = v - return s -} - -// SetUserData sets the UserData field's value. -func (s *ResponseLaunchTemplateData) SetUserData(v string) *ResponseLaunchTemplateData { - s.UserData = &v - return s -} - // Contains the parameters for RestoreAddressToClassic. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreAddressToClassicRequest type RestoreAddressToClassicInput struct { @@ -55761,18 +42471,6 @@ func (s *RestoreAddressToClassicInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *RestoreAddressToClassicInput) SetDryRun(v bool) *RestoreAddressToClassicInput { - s.DryRun = &v - return s -} - -// SetPublicIp sets the PublicIp field's value. -func (s *RestoreAddressToClassicInput) SetPublicIp(v string) *RestoreAddressToClassicInput { - s.PublicIp = &v - return s -} - // Contains the output of RestoreAddressToClassic. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreAddressToClassicResult type RestoreAddressToClassicOutput struct { @@ -55802,18 +42500,6 @@ func (s RestoreAddressToClassicOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPublicIp sets the PublicIp field's value. -func (s *RestoreAddressToClassicOutput) SetPublicIp(v string) *RestoreAddressToClassicOutput { - s.PublicIp = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *RestoreAddressToClassicOutput) SetStatus(v Status) *RestoreAddressToClassicOutput { - s.Status = v - return s -} - // Contains the parameters for RevokeSecurityGroupEgress. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgressRequest type RevokeSecurityGroupEgressInput struct { @@ -55880,60 +42566,6 @@ func (s *RevokeSecurityGroupEgressInput) Validate() error { return nil } -// SetCidrIp sets the CidrIp field's value. -func (s *RevokeSecurityGroupEgressInput) SetCidrIp(v string) *RevokeSecurityGroupEgressInput { - s.CidrIp = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *RevokeSecurityGroupEgressInput) SetDryRun(v bool) *RevokeSecurityGroupEgressInput { - s.DryRun = &v - return s -} - -// SetFromPort sets the FromPort field's value. -func (s *RevokeSecurityGroupEgressInput) SetFromPort(v int64) *RevokeSecurityGroupEgressInput { - s.FromPort = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *RevokeSecurityGroupEgressInput) SetGroupId(v string) *RevokeSecurityGroupEgressInput { - s.GroupId = &v - return s -} - -// SetIpPermissions sets the IpPermissions field's value. -func (s *RevokeSecurityGroupEgressInput) SetIpPermissions(v []IpPermission) *RevokeSecurityGroupEgressInput { - s.IpPermissions = v - return s -} - -// SetIpProtocol sets the IpProtocol field's value. -func (s *RevokeSecurityGroupEgressInput) SetIpProtocol(v string) *RevokeSecurityGroupEgressInput { - s.IpProtocol = &v - return s -} - -// SetSourceSecurityGroupName sets the SourceSecurityGroupName field's value. -func (s *RevokeSecurityGroupEgressInput) SetSourceSecurityGroupName(v string) *RevokeSecurityGroupEgressInput { - s.SourceSecurityGroupName = &v - return s -} - -// SetSourceSecurityGroupOwnerId sets the SourceSecurityGroupOwnerId field's value. -func (s *RevokeSecurityGroupEgressInput) SetSourceSecurityGroupOwnerId(v string) *RevokeSecurityGroupEgressInput { - s.SourceSecurityGroupOwnerId = &v - return s -} - -// SetToPort sets the ToPort field's value. -func (s *RevokeSecurityGroupEgressInput) SetToPort(v int64) *RevokeSecurityGroupEgressInput { - s.ToPort = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgressOutput type RevokeSecurityGroupEgressOutput struct { _ struct{} `type:"structure"` @@ -56023,66 +42655,6 @@ func (s RevokeSecurityGroupIngressInput) GoString() string { return s.String() } -// SetCidrIp sets the CidrIp field's value. -func (s *RevokeSecurityGroupIngressInput) SetCidrIp(v string) *RevokeSecurityGroupIngressInput { - s.CidrIp = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *RevokeSecurityGroupIngressInput) SetDryRun(v bool) *RevokeSecurityGroupIngressInput { - s.DryRun = &v - return s -} - -// SetFromPort sets the FromPort field's value. -func (s *RevokeSecurityGroupIngressInput) SetFromPort(v int64) *RevokeSecurityGroupIngressInput { - s.FromPort = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *RevokeSecurityGroupIngressInput) SetGroupId(v string) *RevokeSecurityGroupIngressInput { - s.GroupId = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *RevokeSecurityGroupIngressInput) SetGroupName(v string) *RevokeSecurityGroupIngressInput { - s.GroupName = &v - return s -} - -// SetIpPermissions sets the IpPermissions field's value. -func (s *RevokeSecurityGroupIngressInput) SetIpPermissions(v []IpPermission) *RevokeSecurityGroupIngressInput { - s.IpPermissions = v - return s -} - -// SetIpProtocol sets the IpProtocol field's value. -func (s *RevokeSecurityGroupIngressInput) SetIpProtocol(v string) *RevokeSecurityGroupIngressInput { - s.IpProtocol = &v - return s -} - -// SetSourceSecurityGroupName sets the SourceSecurityGroupName field's value. -func (s *RevokeSecurityGroupIngressInput) SetSourceSecurityGroupName(v string) *RevokeSecurityGroupIngressInput { - s.SourceSecurityGroupName = &v - return s -} - -// SetSourceSecurityGroupOwnerId sets the SourceSecurityGroupOwnerId field's value. -func (s *RevokeSecurityGroupIngressInput) SetSourceSecurityGroupOwnerId(v string) *RevokeSecurityGroupIngressInput { - s.SourceSecurityGroupOwnerId = &v - return s -} - -// SetToPort sets the ToPort field's value. -func (s *RevokeSecurityGroupIngressInput) SetToPort(v int64) *RevokeSecurityGroupIngressInput { - s.ToPort = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupIngressOutput type RevokeSecurityGroupIngressOutput struct { _ struct{} `type:"structure"` @@ -56166,78 +42738,6 @@ func (s Route) GoString() string { return s.String() } -// SetDestinationCidrBlock sets the DestinationCidrBlock field's value. -func (s *Route) SetDestinationCidrBlock(v string) *Route { - s.DestinationCidrBlock = &v - return s -} - -// SetDestinationIpv6CidrBlock sets the DestinationIpv6CidrBlock field's value. -func (s *Route) SetDestinationIpv6CidrBlock(v string) *Route { - s.DestinationIpv6CidrBlock = &v - return s -} - -// SetDestinationPrefixListId sets the DestinationPrefixListId field's value. -func (s *Route) SetDestinationPrefixListId(v string) *Route { - s.DestinationPrefixListId = &v - return s -} - -// SetEgressOnlyInternetGatewayId sets the EgressOnlyInternetGatewayId field's value. -func (s *Route) SetEgressOnlyInternetGatewayId(v string) *Route { - s.EgressOnlyInternetGatewayId = &v - return s -} - -// SetGatewayId sets the GatewayId field's value. -func (s *Route) SetGatewayId(v string) *Route { - s.GatewayId = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *Route) SetInstanceId(v string) *Route { - s.InstanceId = &v - return s -} - -// SetInstanceOwnerId sets the InstanceOwnerId field's value. -func (s *Route) SetInstanceOwnerId(v string) *Route { - s.InstanceOwnerId = &v - return s -} - -// SetNatGatewayId sets the NatGatewayId field's value. -func (s *Route) SetNatGatewayId(v string) *Route { - s.NatGatewayId = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *Route) SetNetworkInterfaceId(v string) *Route { - s.NetworkInterfaceId = &v - return s -} - -// SetOrigin sets the Origin field's value. -func (s *Route) SetOrigin(v RouteOrigin) *Route { - s.Origin = v - return s -} - -// SetState sets the State field's value. -func (s *Route) SetState(v RouteState) *Route { - s.State = v - return s -} - -// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value. -func (s *Route) SetVpcPeeringConnectionId(v string) *Route { - s.VpcPeeringConnectionId = &v - return s -} - // Describes a route table. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RouteTable type RouteTable struct { @@ -56272,42 +42772,6 @@ func (s RouteTable) GoString() string { return s.String() } -// SetAssociations sets the Associations field's value. -func (s *RouteTable) SetAssociations(v []RouteTableAssociation) *RouteTable { - s.Associations = v - return s -} - -// SetPropagatingVgws sets the PropagatingVgws field's value. -func (s *RouteTable) SetPropagatingVgws(v []PropagatingVgw) *RouteTable { - s.PropagatingVgws = v - return s -} - -// SetRouteTableId sets the RouteTableId field's value. -func (s *RouteTable) SetRouteTableId(v string) *RouteTable { - s.RouteTableId = &v - return s -} - -// SetRoutes sets the Routes field's value. -func (s *RouteTable) SetRoutes(v []Route) *RouteTable { - s.Routes = v - return s -} - -// SetTags sets the Tags field's value. -func (s *RouteTable) SetTags(v []Tag) *RouteTable { - s.Tags = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *RouteTable) SetVpcId(v string) *RouteTable { - s.VpcId = &v - return s -} - // Describes an association between a route table and a subnet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RouteTableAssociation type RouteTableAssociation struct { @@ -56336,30 +42800,6 @@ func (s RouteTableAssociation) GoString() string { return s.String() } -// SetMain sets the Main field's value. -func (s *RouteTableAssociation) SetMain(v bool) *RouteTableAssociation { - s.Main = &v - return s -} - -// SetRouteTableAssociationId sets the RouteTableAssociationId field's value. -func (s *RouteTableAssociation) SetRouteTableAssociationId(v string) *RouteTableAssociation { - s.RouteTableAssociationId = &v - return s -} - -// SetRouteTableId sets the RouteTableId field's value. -func (s *RouteTableAssociation) SetRouteTableId(v string) *RouteTableAssociation { - s.RouteTableId = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *RouteTableAssociation) SetSubnetId(v string) *RouteTableAssociation { - s.SubnetId = &v - return s -} - // Contains the parameters for RunInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunInstancesRequest type RunInstancesInput struct { @@ -56597,186 +43037,6 @@ func (s *RunInstancesInput) Validate() error { return nil } -// SetAdditionalInfo sets the AdditionalInfo field's value. -func (s *RunInstancesInput) SetAdditionalInfo(v string) *RunInstancesInput { - s.AdditionalInfo = &v - return s -} - -// SetBlockDeviceMappings sets the BlockDeviceMappings field's value. -func (s *RunInstancesInput) SetBlockDeviceMappings(v []BlockDeviceMapping) *RunInstancesInput { - s.BlockDeviceMappings = v - return s -} - -// SetClientToken sets the ClientToken field's value. -func (s *RunInstancesInput) SetClientToken(v string) *RunInstancesInput { - s.ClientToken = &v - return s -} - -// SetCreditSpecification sets the CreditSpecification field's value. -func (s *RunInstancesInput) SetCreditSpecification(v *CreditSpecificationRequest) *RunInstancesInput { - s.CreditSpecification = v - return s -} - -// SetDisableApiTermination sets the DisableApiTermination field's value. -func (s *RunInstancesInput) SetDisableApiTermination(v bool) *RunInstancesInput { - s.DisableApiTermination = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *RunInstancesInput) SetDryRun(v bool) *RunInstancesInput { - s.DryRun = &v - return s -} - -// SetEbsOptimized sets the EbsOptimized field's value. -func (s *RunInstancesInput) SetEbsOptimized(v bool) *RunInstancesInput { - s.EbsOptimized = &v - return s -} - -// SetElasticGpuSpecification sets the ElasticGpuSpecification field's value. -func (s *RunInstancesInput) SetElasticGpuSpecification(v []ElasticGpuSpecification) *RunInstancesInput { - s.ElasticGpuSpecification = v - return s -} - -// SetIamInstanceProfile sets the IamInstanceProfile field's value. -func (s *RunInstancesInput) SetIamInstanceProfile(v *IamInstanceProfileSpecification) *RunInstancesInput { - s.IamInstanceProfile = v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *RunInstancesInput) SetImageId(v string) *RunInstancesInput { - s.ImageId = &v - return s -} - -// SetInstanceInitiatedShutdownBehavior sets the InstanceInitiatedShutdownBehavior field's value. -func (s *RunInstancesInput) SetInstanceInitiatedShutdownBehavior(v ShutdownBehavior) *RunInstancesInput { - s.InstanceInitiatedShutdownBehavior = v - return s -} - -// SetInstanceMarketOptions sets the InstanceMarketOptions field's value. -func (s *RunInstancesInput) SetInstanceMarketOptions(v *InstanceMarketOptionsRequest) *RunInstancesInput { - s.InstanceMarketOptions = v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *RunInstancesInput) SetInstanceType(v InstanceType) *RunInstancesInput { - s.InstanceType = v - return s -} - -// SetIpv6AddressCount sets the Ipv6AddressCount field's value. -func (s *RunInstancesInput) SetIpv6AddressCount(v int64) *RunInstancesInput { - s.Ipv6AddressCount = &v - return s -} - -// SetIpv6Addresses sets the Ipv6Addresses field's value. -func (s *RunInstancesInput) SetIpv6Addresses(v []InstanceIpv6Address) *RunInstancesInput { - s.Ipv6Addresses = v - return s -} - -// SetKernelId sets the KernelId field's value. -func (s *RunInstancesInput) SetKernelId(v string) *RunInstancesInput { - s.KernelId = &v - return s -} - -// SetKeyName sets the KeyName field's value. -func (s *RunInstancesInput) SetKeyName(v string) *RunInstancesInput { - s.KeyName = &v - return s -} - -// SetLaunchTemplate sets the LaunchTemplate field's value. -func (s *RunInstancesInput) SetLaunchTemplate(v *LaunchTemplateSpecification) *RunInstancesInput { - s.LaunchTemplate = v - return s -} - -// SetMaxCount sets the MaxCount field's value. -func (s *RunInstancesInput) SetMaxCount(v int64) *RunInstancesInput { - s.MaxCount = &v - return s -} - -// SetMinCount sets the MinCount field's value. -func (s *RunInstancesInput) SetMinCount(v int64) *RunInstancesInput { - s.MinCount = &v - return s -} - -// SetMonitoring sets the Monitoring field's value. -func (s *RunInstancesInput) SetMonitoring(v *RunInstancesMonitoringEnabled) *RunInstancesInput { - s.Monitoring = v - return s -} - -// SetNetworkInterfaces sets the NetworkInterfaces field's value. -func (s *RunInstancesInput) SetNetworkInterfaces(v []InstanceNetworkInterfaceSpecification) *RunInstancesInput { - s.NetworkInterfaces = v - return s -} - -// SetPlacement sets the Placement field's value. -func (s *RunInstancesInput) SetPlacement(v *Placement) *RunInstancesInput { - s.Placement = v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *RunInstancesInput) SetPrivateIpAddress(v string) *RunInstancesInput { - s.PrivateIpAddress = &v - return s -} - -// SetRamdiskId sets the RamdiskId field's value. -func (s *RunInstancesInput) SetRamdiskId(v string) *RunInstancesInput { - s.RamdiskId = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *RunInstancesInput) SetSecurityGroupIds(v []string) *RunInstancesInput { - s.SecurityGroupIds = v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *RunInstancesInput) SetSecurityGroups(v []string) *RunInstancesInput { - s.SecurityGroups = v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *RunInstancesInput) SetSubnetId(v string) *RunInstancesInput { - s.SubnetId = &v - return s -} - -// SetTagSpecifications sets the TagSpecifications field's value. -func (s *RunInstancesInput) SetTagSpecifications(v []TagSpecification) *RunInstancesInput { - s.TagSpecifications = v - return s -} - -// SetUserData sets the UserData field's value. -func (s *RunInstancesInput) SetUserData(v string) *RunInstancesInput { - s.UserData = &v - return s -} - // Describes the monitoring of an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunInstancesMonitoringEnabled type RunInstancesMonitoringEnabled struct { @@ -56813,12 +43073,6 @@ func (s *RunInstancesMonitoringEnabled) Validate() error { return nil } -// SetEnabled sets the Enabled field's value. -func (s *RunInstancesMonitoringEnabled) SetEnabled(v bool) *RunInstancesMonitoringEnabled { - s.Enabled = &v - return s -} - // Describes a reservation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Reservation type RunInstancesOutput struct { @@ -56858,36 +43112,6 @@ func (s RunInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroups sets the Groups field's value. -func (s *RunInstancesOutput) SetGroups(v []GroupIdentifier) *RunInstancesOutput { - s.Groups = v - return s -} - -// SetInstances sets the Instances field's value. -func (s *RunInstancesOutput) SetInstances(v []Instance) *RunInstancesOutput { - s.Instances = v - return s -} - -// SetOwnerId sets the OwnerId field's value. -func (s *RunInstancesOutput) SetOwnerId(v string) *RunInstancesOutput { - s.OwnerId = &v - return s -} - -// SetRequesterId sets the RequesterId field's value. -func (s *RunInstancesOutput) SetRequesterId(v string) *RunInstancesOutput { - s.RequesterId = &v - return s -} - -// SetReservationId sets the ReservationId field's value. -func (s *RunInstancesOutput) SetReservationId(v string) *RunInstancesOutput { - s.ReservationId = &v - return s -} - // Contains the parameters for RunScheduledInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunScheduledInstancesRequest type RunScheduledInstancesInput struct { @@ -56953,36 +43177,6 @@ func (s *RunScheduledInstancesInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *RunScheduledInstancesInput) SetClientToken(v string) *RunScheduledInstancesInput { - s.ClientToken = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *RunScheduledInstancesInput) SetDryRun(v bool) *RunScheduledInstancesInput { - s.DryRun = &v - return s -} - -// SetInstanceCount sets the InstanceCount field's value. -func (s *RunScheduledInstancesInput) SetInstanceCount(v int64) *RunScheduledInstancesInput { - s.InstanceCount = &v - return s -} - -// SetLaunchSpecification sets the LaunchSpecification field's value. -func (s *RunScheduledInstancesInput) SetLaunchSpecification(v *ScheduledInstancesLaunchSpecification) *RunScheduledInstancesInput { - s.LaunchSpecification = v - return s -} - -// SetScheduledInstanceId sets the ScheduledInstanceId field's value. -func (s *RunScheduledInstancesInput) SetScheduledInstanceId(v string) *RunScheduledInstancesInput { - s.ScheduledInstanceId = &v - return s -} - // Contains the output of RunScheduledInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunScheduledInstancesResult type RunScheduledInstancesOutput struct { @@ -57009,12 +43203,6 @@ func (s RunScheduledInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceIdSet sets the InstanceIdSet field's value. -func (s *RunScheduledInstancesOutput) SetInstanceIdSet(v []string) *RunScheduledInstancesOutput { - s.InstanceIdSet = v - return s -} - // Describes the storage parameters for S3 and S3 buckets for an instance store-backed // AMI. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/S3Storage @@ -57054,36 +43242,6 @@ func (s S3Storage) GoString() string { return s.String() } -// SetAWSAccessKeyId sets the AWSAccessKeyId field's value. -func (s *S3Storage) SetAWSAccessKeyId(v string) *S3Storage { - s.AWSAccessKeyId = &v - return s -} - -// SetBucket sets the Bucket field's value. -func (s *S3Storage) SetBucket(v string) *S3Storage { - s.Bucket = &v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *S3Storage) SetPrefix(v string) *S3Storage { - s.Prefix = &v - return s -} - -// SetUploadPolicy sets the UploadPolicy field's value. -func (s *S3Storage) SetUploadPolicy(v []byte) *S3Storage { - s.UploadPolicy = v - return s -} - -// SetUploadPolicySignature sets the UploadPolicySignature field's value. -func (s *S3Storage) SetUploadPolicySignature(v string) *S3Storage { - s.UploadPolicySignature = &v - return s -} - // Describes a Scheduled Instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstance type ScheduledInstance struct { @@ -57145,96 +43303,6 @@ func (s ScheduledInstance) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *ScheduledInstance) SetAvailabilityZone(v string) *ScheduledInstance { - s.AvailabilityZone = &v - return s -} - -// SetCreateDate sets the CreateDate field's value. -func (s *ScheduledInstance) SetCreateDate(v time.Time) *ScheduledInstance { - s.CreateDate = &v - return s -} - -// SetHourlyPrice sets the HourlyPrice field's value. -func (s *ScheduledInstance) SetHourlyPrice(v string) *ScheduledInstance { - s.HourlyPrice = &v - return s -} - -// SetInstanceCount sets the InstanceCount field's value. -func (s *ScheduledInstance) SetInstanceCount(v int64) *ScheduledInstance { - s.InstanceCount = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *ScheduledInstance) SetInstanceType(v string) *ScheduledInstance { - s.InstanceType = &v - return s -} - -// SetNetworkPlatform sets the NetworkPlatform field's value. -func (s *ScheduledInstance) SetNetworkPlatform(v string) *ScheduledInstance { - s.NetworkPlatform = &v - return s -} - -// SetNextSlotStartTime sets the NextSlotStartTime field's value. -func (s *ScheduledInstance) SetNextSlotStartTime(v time.Time) *ScheduledInstance { - s.NextSlotStartTime = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *ScheduledInstance) SetPlatform(v string) *ScheduledInstance { - s.Platform = &v - return s -} - -// SetPreviousSlotEndTime sets the PreviousSlotEndTime field's value. -func (s *ScheduledInstance) SetPreviousSlotEndTime(v time.Time) *ScheduledInstance { - s.PreviousSlotEndTime = &v - return s -} - -// SetRecurrence sets the Recurrence field's value. -func (s *ScheduledInstance) SetRecurrence(v *ScheduledInstanceRecurrence) *ScheduledInstance { - s.Recurrence = v - return s -} - -// SetScheduledInstanceId sets the ScheduledInstanceId field's value. -func (s *ScheduledInstance) SetScheduledInstanceId(v string) *ScheduledInstance { - s.ScheduledInstanceId = &v - return s -} - -// SetSlotDurationInHours sets the SlotDurationInHours field's value. -func (s *ScheduledInstance) SetSlotDurationInHours(v int64) *ScheduledInstance { - s.SlotDurationInHours = &v - return s -} - -// SetTermEndDate sets the TermEndDate field's value. -func (s *ScheduledInstance) SetTermEndDate(v time.Time) *ScheduledInstance { - s.TermEndDate = &v - return s -} - -// SetTermStartDate sets the TermStartDate field's value. -func (s *ScheduledInstance) SetTermStartDate(v time.Time) *ScheduledInstance { - s.TermStartDate = &v - return s -} - -// SetTotalScheduledInstanceHours sets the TotalScheduledInstanceHours field's value. -func (s *ScheduledInstance) SetTotalScheduledInstanceHours(v int64) *ScheduledInstance { - s.TotalScheduledInstanceHours = &v - return s -} - // Describes a schedule that is available for your Scheduled Instances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstanceAvailability type ScheduledInstanceAvailability struct { @@ -57291,84 +43359,6 @@ func (s ScheduledInstanceAvailability) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *ScheduledInstanceAvailability) SetAvailabilityZone(v string) *ScheduledInstanceAvailability { - s.AvailabilityZone = &v - return s -} - -// SetAvailableInstanceCount sets the AvailableInstanceCount field's value. -func (s *ScheduledInstanceAvailability) SetAvailableInstanceCount(v int64) *ScheduledInstanceAvailability { - s.AvailableInstanceCount = &v - return s -} - -// SetFirstSlotStartTime sets the FirstSlotStartTime field's value. -func (s *ScheduledInstanceAvailability) SetFirstSlotStartTime(v time.Time) *ScheduledInstanceAvailability { - s.FirstSlotStartTime = &v - return s -} - -// SetHourlyPrice sets the HourlyPrice field's value. -func (s *ScheduledInstanceAvailability) SetHourlyPrice(v string) *ScheduledInstanceAvailability { - s.HourlyPrice = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *ScheduledInstanceAvailability) SetInstanceType(v string) *ScheduledInstanceAvailability { - s.InstanceType = &v - return s -} - -// SetMaxTermDurationInDays sets the MaxTermDurationInDays field's value. -func (s *ScheduledInstanceAvailability) SetMaxTermDurationInDays(v int64) *ScheduledInstanceAvailability { - s.MaxTermDurationInDays = &v - return s -} - -// SetMinTermDurationInDays sets the MinTermDurationInDays field's value. -func (s *ScheduledInstanceAvailability) SetMinTermDurationInDays(v int64) *ScheduledInstanceAvailability { - s.MinTermDurationInDays = &v - return s -} - -// SetNetworkPlatform sets the NetworkPlatform field's value. -func (s *ScheduledInstanceAvailability) SetNetworkPlatform(v string) *ScheduledInstanceAvailability { - s.NetworkPlatform = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *ScheduledInstanceAvailability) SetPlatform(v string) *ScheduledInstanceAvailability { - s.Platform = &v - return s -} - -// SetPurchaseToken sets the PurchaseToken field's value. -func (s *ScheduledInstanceAvailability) SetPurchaseToken(v string) *ScheduledInstanceAvailability { - s.PurchaseToken = &v - return s -} - -// SetRecurrence sets the Recurrence field's value. -func (s *ScheduledInstanceAvailability) SetRecurrence(v *ScheduledInstanceRecurrence) *ScheduledInstanceAvailability { - s.Recurrence = v - return s -} - -// SetSlotDurationInHours sets the SlotDurationInHours field's value. -func (s *ScheduledInstanceAvailability) SetSlotDurationInHours(v int64) *ScheduledInstanceAvailability { - s.SlotDurationInHours = &v - return s -} - -// SetTotalScheduledInstanceHours sets the TotalScheduledInstanceHours field's value. -func (s *ScheduledInstanceAvailability) SetTotalScheduledInstanceHours(v int64) *ScheduledInstanceAvailability { - s.TotalScheduledInstanceHours = &v - return s -} - // Describes the recurring schedule for a Scheduled Instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstanceRecurrence type ScheduledInstanceRecurrence struct { @@ -57404,36 +43394,6 @@ func (s ScheduledInstanceRecurrence) GoString() string { return s.String() } -// SetFrequency sets the Frequency field's value. -func (s *ScheduledInstanceRecurrence) SetFrequency(v string) *ScheduledInstanceRecurrence { - s.Frequency = &v - return s -} - -// SetInterval sets the Interval field's value. -func (s *ScheduledInstanceRecurrence) SetInterval(v int64) *ScheduledInstanceRecurrence { - s.Interval = &v - return s -} - -// SetOccurrenceDaySet sets the OccurrenceDaySet field's value. -func (s *ScheduledInstanceRecurrence) SetOccurrenceDaySet(v []int64) *ScheduledInstanceRecurrence { - s.OccurrenceDaySet = v - return s -} - -// SetOccurrenceRelativeToEnd sets the OccurrenceRelativeToEnd field's value. -func (s *ScheduledInstanceRecurrence) SetOccurrenceRelativeToEnd(v bool) *ScheduledInstanceRecurrence { - s.OccurrenceRelativeToEnd = &v - return s -} - -// SetOccurrenceUnit sets the OccurrenceUnit field's value. -func (s *ScheduledInstanceRecurrence) SetOccurrenceUnit(v string) *ScheduledInstanceRecurrence { - s.OccurrenceUnit = &v - return s -} - // Describes the recurring schedule for a Scheduled Instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstanceRecurrenceRequest type ScheduledInstanceRecurrenceRequest struct { @@ -57472,36 +43432,6 @@ func (s ScheduledInstanceRecurrenceRequest) GoString() string { return s.String() } -// SetFrequency sets the Frequency field's value. -func (s *ScheduledInstanceRecurrenceRequest) SetFrequency(v string) *ScheduledInstanceRecurrenceRequest { - s.Frequency = &v - return s -} - -// SetInterval sets the Interval field's value. -func (s *ScheduledInstanceRecurrenceRequest) SetInterval(v int64) *ScheduledInstanceRecurrenceRequest { - s.Interval = &v - return s -} - -// SetOccurrenceDays sets the OccurrenceDays field's value. -func (s *ScheduledInstanceRecurrenceRequest) SetOccurrenceDays(v []int64) *ScheduledInstanceRecurrenceRequest { - s.OccurrenceDays = v - return s -} - -// SetOccurrenceRelativeToEnd sets the OccurrenceRelativeToEnd field's value. -func (s *ScheduledInstanceRecurrenceRequest) SetOccurrenceRelativeToEnd(v bool) *ScheduledInstanceRecurrenceRequest { - s.OccurrenceRelativeToEnd = &v - return s -} - -// SetOccurrenceUnit sets the OccurrenceUnit field's value. -func (s *ScheduledInstanceRecurrenceRequest) SetOccurrenceUnit(v string) *ScheduledInstanceRecurrenceRequest { - s.OccurrenceUnit = &v - return s -} - // Describes a block device mapping for a Scheduled Instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesBlockDeviceMapping type ScheduledInstancesBlockDeviceMapping struct { @@ -57541,30 +43471,6 @@ func (s ScheduledInstancesBlockDeviceMapping) GoString() string { return s.String() } -// SetDeviceName sets the DeviceName field's value. -func (s *ScheduledInstancesBlockDeviceMapping) SetDeviceName(v string) *ScheduledInstancesBlockDeviceMapping { - s.DeviceName = &v - return s -} - -// SetEbs sets the Ebs field's value. -func (s *ScheduledInstancesBlockDeviceMapping) SetEbs(v *ScheduledInstancesEbs) *ScheduledInstancesBlockDeviceMapping { - s.Ebs = v - return s -} - -// SetNoDevice sets the NoDevice field's value. -func (s *ScheduledInstancesBlockDeviceMapping) SetNoDevice(v string) *ScheduledInstancesBlockDeviceMapping { - s.NoDevice = &v - return s -} - -// SetVirtualName sets the VirtualName field's value. -func (s *ScheduledInstancesBlockDeviceMapping) SetVirtualName(v string) *ScheduledInstancesBlockDeviceMapping { - s.VirtualName = &v - return s -} - // Describes an EBS volume for a Scheduled Instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesEbs type ScheduledInstancesEbs struct { @@ -57618,42 +43524,6 @@ func (s ScheduledInstancesEbs) GoString() string { return s.String() } -// SetDeleteOnTermination sets the DeleteOnTermination field's value. -func (s *ScheduledInstancesEbs) SetDeleteOnTermination(v bool) *ScheduledInstancesEbs { - s.DeleteOnTermination = &v - return s -} - -// SetEncrypted sets the Encrypted field's value. -func (s *ScheduledInstancesEbs) SetEncrypted(v bool) *ScheduledInstancesEbs { - s.Encrypted = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *ScheduledInstancesEbs) SetIops(v int64) *ScheduledInstancesEbs { - s.Iops = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *ScheduledInstancesEbs) SetSnapshotId(v string) *ScheduledInstancesEbs { - s.SnapshotId = &v - return s -} - -// SetVolumeSize sets the VolumeSize field's value. -func (s *ScheduledInstancesEbs) SetVolumeSize(v int64) *ScheduledInstancesEbs { - s.VolumeSize = &v - return s -} - -// SetVolumeType sets the VolumeType field's value. -func (s *ScheduledInstancesEbs) SetVolumeType(v string) *ScheduledInstancesEbs { - s.VolumeType = &v - return s -} - // Describes an IAM instance profile for a Scheduled Instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesIamInstanceProfile type ScheduledInstancesIamInstanceProfile struct { @@ -57676,18 +43546,6 @@ func (s ScheduledInstancesIamInstanceProfile) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *ScheduledInstancesIamInstanceProfile) SetArn(v string) *ScheduledInstancesIamInstanceProfile { - s.Arn = &v - return s -} - -// SetName sets the Name field's value. -func (s *ScheduledInstancesIamInstanceProfile) SetName(v string) *ScheduledInstancesIamInstanceProfile { - s.Name = &v - return s -} - // Describes an IPv6 address. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesIpv6Address type ScheduledInstancesIpv6Address struct { @@ -57707,12 +43565,6 @@ func (s ScheduledInstancesIpv6Address) GoString() string { return s.String() } -// SetIpv6Address sets the Ipv6Address field's value. -func (s *ScheduledInstancesIpv6Address) SetIpv6Address(v string) *ScheduledInstancesIpv6Address { - s.Ipv6Address = &v - return s -} - // Describes the launch specification for a Scheduled Instance. // // If you are launching the Scheduled Instance in EC2-VPC, you must specify @@ -57797,90 +43649,6 @@ func (s *ScheduledInstancesLaunchSpecification) Validate() error { return nil } -// SetBlockDeviceMappings sets the BlockDeviceMappings field's value. -func (s *ScheduledInstancesLaunchSpecification) SetBlockDeviceMappings(v []ScheduledInstancesBlockDeviceMapping) *ScheduledInstancesLaunchSpecification { - s.BlockDeviceMappings = v - return s -} - -// SetEbsOptimized sets the EbsOptimized field's value. -func (s *ScheduledInstancesLaunchSpecification) SetEbsOptimized(v bool) *ScheduledInstancesLaunchSpecification { - s.EbsOptimized = &v - return s -} - -// SetIamInstanceProfile sets the IamInstanceProfile field's value. -func (s *ScheduledInstancesLaunchSpecification) SetIamInstanceProfile(v *ScheduledInstancesIamInstanceProfile) *ScheduledInstancesLaunchSpecification { - s.IamInstanceProfile = v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *ScheduledInstancesLaunchSpecification) SetImageId(v string) *ScheduledInstancesLaunchSpecification { - s.ImageId = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *ScheduledInstancesLaunchSpecification) SetInstanceType(v string) *ScheduledInstancesLaunchSpecification { - s.InstanceType = &v - return s -} - -// SetKernelId sets the KernelId field's value. -func (s *ScheduledInstancesLaunchSpecification) SetKernelId(v string) *ScheduledInstancesLaunchSpecification { - s.KernelId = &v - return s -} - -// SetKeyName sets the KeyName field's value. -func (s *ScheduledInstancesLaunchSpecification) SetKeyName(v string) *ScheduledInstancesLaunchSpecification { - s.KeyName = &v - return s -} - -// SetMonitoring sets the Monitoring field's value. -func (s *ScheduledInstancesLaunchSpecification) SetMonitoring(v *ScheduledInstancesMonitoring) *ScheduledInstancesLaunchSpecification { - s.Monitoring = v - return s -} - -// SetNetworkInterfaces sets the NetworkInterfaces field's value. -func (s *ScheduledInstancesLaunchSpecification) SetNetworkInterfaces(v []ScheduledInstancesNetworkInterface) *ScheduledInstancesLaunchSpecification { - s.NetworkInterfaces = v - return s -} - -// SetPlacement sets the Placement field's value. -func (s *ScheduledInstancesLaunchSpecification) SetPlacement(v *ScheduledInstancesPlacement) *ScheduledInstancesLaunchSpecification { - s.Placement = v - return s -} - -// SetRamdiskId sets the RamdiskId field's value. -func (s *ScheduledInstancesLaunchSpecification) SetRamdiskId(v string) *ScheduledInstancesLaunchSpecification { - s.RamdiskId = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *ScheduledInstancesLaunchSpecification) SetSecurityGroupIds(v []string) *ScheduledInstancesLaunchSpecification { - s.SecurityGroupIds = v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *ScheduledInstancesLaunchSpecification) SetSubnetId(v string) *ScheduledInstancesLaunchSpecification { - s.SubnetId = &v - return s -} - -// SetUserData sets the UserData field's value. -func (s *ScheduledInstancesLaunchSpecification) SetUserData(v string) *ScheduledInstancesLaunchSpecification { - s.UserData = &v - return s -} - // Describes whether monitoring is enabled for a Scheduled Instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesMonitoring type ScheduledInstancesMonitoring struct { @@ -57900,12 +43668,6 @@ func (s ScheduledInstancesMonitoring) GoString() string { return s.String() } -// SetEnabled sets the Enabled field's value. -func (s *ScheduledInstancesMonitoring) SetEnabled(v bool) *ScheduledInstancesMonitoring { - s.Enabled = &v - return s -} - // Describes a network interface for a Scheduled Instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesNetworkInterface type ScheduledInstancesNetworkInterface struct { @@ -57963,78 +43725,6 @@ func (s ScheduledInstancesNetworkInterface) GoString() string { return s.String() } -// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value. -func (s *ScheduledInstancesNetworkInterface) SetAssociatePublicIpAddress(v bool) *ScheduledInstancesNetworkInterface { - s.AssociatePublicIpAddress = &v - return s -} - -// SetDeleteOnTermination sets the DeleteOnTermination field's value. -func (s *ScheduledInstancesNetworkInterface) SetDeleteOnTermination(v bool) *ScheduledInstancesNetworkInterface { - s.DeleteOnTermination = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ScheduledInstancesNetworkInterface) SetDescription(v string) *ScheduledInstancesNetworkInterface { - s.Description = &v - return s -} - -// SetDeviceIndex sets the DeviceIndex field's value. -func (s *ScheduledInstancesNetworkInterface) SetDeviceIndex(v int64) *ScheduledInstancesNetworkInterface { - s.DeviceIndex = &v - return s -} - -// SetGroups sets the Groups field's value. -func (s *ScheduledInstancesNetworkInterface) SetGroups(v []string) *ScheduledInstancesNetworkInterface { - s.Groups = v - return s -} - -// SetIpv6AddressCount sets the Ipv6AddressCount field's value. -func (s *ScheduledInstancesNetworkInterface) SetIpv6AddressCount(v int64) *ScheduledInstancesNetworkInterface { - s.Ipv6AddressCount = &v - return s -} - -// SetIpv6Addresses sets the Ipv6Addresses field's value. -func (s *ScheduledInstancesNetworkInterface) SetIpv6Addresses(v []ScheduledInstancesIpv6Address) *ScheduledInstancesNetworkInterface { - s.Ipv6Addresses = v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *ScheduledInstancesNetworkInterface) SetNetworkInterfaceId(v string) *ScheduledInstancesNetworkInterface { - s.NetworkInterfaceId = &v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *ScheduledInstancesNetworkInterface) SetPrivateIpAddress(v string) *ScheduledInstancesNetworkInterface { - s.PrivateIpAddress = &v - return s -} - -// SetPrivateIpAddressConfigs sets the PrivateIpAddressConfigs field's value. -func (s *ScheduledInstancesNetworkInterface) SetPrivateIpAddressConfigs(v []ScheduledInstancesPrivateIpAddressConfig) *ScheduledInstancesNetworkInterface { - s.PrivateIpAddressConfigs = v - return s -} - -// SetSecondaryPrivateIpAddressCount sets the SecondaryPrivateIpAddressCount field's value. -func (s *ScheduledInstancesNetworkInterface) SetSecondaryPrivateIpAddressCount(v int64) *ScheduledInstancesNetworkInterface { - s.SecondaryPrivateIpAddressCount = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *ScheduledInstancesNetworkInterface) SetSubnetId(v string) *ScheduledInstancesNetworkInterface { - s.SubnetId = &v - return s -} - // Describes the placement for a Scheduled Instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesPlacement type ScheduledInstancesPlacement struct { @@ -58057,18 +43747,6 @@ func (s ScheduledInstancesPlacement) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *ScheduledInstancesPlacement) SetAvailabilityZone(v string) *ScheduledInstancesPlacement { - s.AvailabilityZone = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *ScheduledInstancesPlacement) SetGroupName(v string) *ScheduledInstancesPlacement { - s.GroupName = &v - return s -} - // Describes a private IPv4 address for a Scheduled Instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScheduledInstancesPrivateIpAddressConfig type ScheduledInstancesPrivateIpAddressConfig struct { @@ -58092,18 +43770,6 @@ func (s ScheduledInstancesPrivateIpAddressConfig) GoString() string { return s.String() } -// SetPrimary sets the Primary field's value. -func (s *ScheduledInstancesPrivateIpAddressConfig) SetPrimary(v bool) *ScheduledInstancesPrivateIpAddressConfig { - s.Primary = &v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *ScheduledInstancesPrivateIpAddressConfig) SetPrivateIpAddress(v string) *ScheduledInstancesPrivateIpAddressConfig { - s.PrivateIpAddress = &v - return s -} - // Describes a security group // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SecurityGroup type SecurityGroup struct { @@ -58144,54 +43810,6 @@ func (s SecurityGroup) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *SecurityGroup) SetDescription(v string) *SecurityGroup { - s.Description = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *SecurityGroup) SetGroupId(v string) *SecurityGroup { - s.GroupId = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *SecurityGroup) SetGroupName(v string) *SecurityGroup { - s.GroupName = &v - return s -} - -// SetIpPermissions sets the IpPermissions field's value. -func (s *SecurityGroup) SetIpPermissions(v []IpPermission) *SecurityGroup { - s.IpPermissions = v - return s -} - -// SetIpPermissionsEgress sets the IpPermissionsEgress field's value. -func (s *SecurityGroup) SetIpPermissionsEgress(v []IpPermission) *SecurityGroup { - s.IpPermissionsEgress = v - return s -} - -// SetOwnerId sets the OwnerId field's value. -func (s *SecurityGroup) SetOwnerId(v string) *SecurityGroup { - s.OwnerId = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *SecurityGroup) SetTags(v []Tag) *SecurityGroup { - s.Tags = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *SecurityGroup) SetVpcId(v string) *SecurityGroup { - s.VpcId = &v - return s -} - // Describes a security group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SecurityGroupIdentifier type SecurityGroupIdentifier struct { @@ -58214,18 +43832,6 @@ func (s SecurityGroupIdentifier) GoString() string { return s.String() } -// SetGroupId sets the GroupId field's value. -func (s *SecurityGroupIdentifier) SetGroupId(v string) *SecurityGroupIdentifier { - s.GroupId = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *SecurityGroupIdentifier) SetGroupName(v string) *SecurityGroupIdentifier { - s.GroupName = &v - return s -} - // Describes a VPC with a security group that references your security group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SecurityGroupReference type SecurityGroupReference struct { @@ -58255,24 +43861,6 @@ func (s SecurityGroupReference) GoString() string { return s.String() } -// SetGroupId sets the GroupId field's value. -func (s *SecurityGroupReference) SetGroupId(v string) *SecurityGroupReference { - s.GroupId = &v - return s -} - -// SetReferencingVpcId sets the ReferencingVpcId field's value. -func (s *SecurityGroupReference) SetReferencingVpcId(v string) *SecurityGroupReference { - s.ReferencingVpcId = &v - return s -} - -// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value. -func (s *SecurityGroupReference) SetVpcPeeringConnectionId(v string) *SecurityGroupReference { - s.VpcPeeringConnectionId = &v - return s -} - // Describes a service configuration for a VPC endpoint service. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ServiceConfiguration type ServiceConfiguration struct { @@ -58317,60 +43905,6 @@ func (s ServiceConfiguration) GoString() string { return s.String() } -// SetAcceptanceRequired sets the AcceptanceRequired field's value. -func (s *ServiceConfiguration) SetAcceptanceRequired(v bool) *ServiceConfiguration { - s.AcceptanceRequired = &v - return s -} - -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *ServiceConfiguration) SetAvailabilityZones(v []string) *ServiceConfiguration { - s.AvailabilityZones = v - return s -} - -// SetBaseEndpointDnsNames sets the BaseEndpointDnsNames field's value. -func (s *ServiceConfiguration) SetBaseEndpointDnsNames(v []string) *ServiceConfiguration { - s.BaseEndpointDnsNames = v - return s -} - -// SetNetworkLoadBalancerArns sets the NetworkLoadBalancerArns field's value. -func (s *ServiceConfiguration) SetNetworkLoadBalancerArns(v []string) *ServiceConfiguration { - s.NetworkLoadBalancerArns = v - return s -} - -// SetPrivateDnsName sets the PrivateDnsName field's value. -func (s *ServiceConfiguration) SetPrivateDnsName(v string) *ServiceConfiguration { - s.PrivateDnsName = &v - return s -} - -// SetServiceId sets the ServiceId field's value. -func (s *ServiceConfiguration) SetServiceId(v string) *ServiceConfiguration { - s.ServiceId = &v - return s -} - -// SetServiceName sets the ServiceName field's value. -func (s *ServiceConfiguration) SetServiceName(v string) *ServiceConfiguration { - s.ServiceName = &v - return s -} - -// SetServiceState sets the ServiceState field's value. -func (s *ServiceConfiguration) SetServiceState(v ServiceState) *ServiceConfiguration { - s.ServiceState = v - return s -} - -// SetServiceType sets the ServiceType field's value. -func (s *ServiceConfiguration) SetServiceType(v []ServiceTypeDetail) *ServiceConfiguration { - s.ServiceType = v - return s -} - // Describes a VPC endpoint service. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ServiceDetail type ServiceDetail struct { @@ -58412,54 +43946,6 @@ func (s ServiceDetail) GoString() string { return s.String() } -// SetAcceptanceRequired sets the AcceptanceRequired field's value. -func (s *ServiceDetail) SetAcceptanceRequired(v bool) *ServiceDetail { - s.AcceptanceRequired = &v - return s -} - -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *ServiceDetail) SetAvailabilityZones(v []string) *ServiceDetail { - s.AvailabilityZones = v - return s -} - -// SetBaseEndpointDnsNames sets the BaseEndpointDnsNames field's value. -func (s *ServiceDetail) SetBaseEndpointDnsNames(v []string) *ServiceDetail { - s.BaseEndpointDnsNames = v - return s -} - -// SetOwner sets the Owner field's value. -func (s *ServiceDetail) SetOwner(v string) *ServiceDetail { - s.Owner = &v - return s -} - -// SetPrivateDnsName sets the PrivateDnsName field's value. -func (s *ServiceDetail) SetPrivateDnsName(v string) *ServiceDetail { - s.PrivateDnsName = &v - return s -} - -// SetServiceName sets the ServiceName field's value. -func (s *ServiceDetail) SetServiceName(v string) *ServiceDetail { - s.ServiceName = &v - return s -} - -// SetServiceType sets the ServiceType field's value. -func (s *ServiceDetail) SetServiceType(v []ServiceTypeDetail) *ServiceDetail { - s.ServiceType = v - return s -} - -// SetVpcEndpointPolicySupported sets the VpcEndpointPolicySupported field's value. -func (s *ServiceDetail) SetVpcEndpointPolicySupported(v bool) *ServiceDetail { - s.VpcEndpointPolicySupported = &v - return s -} - // Describes the type of service for a VPC endpoint. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ServiceTypeDetail type ServiceTypeDetail struct { @@ -58479,12 +43965,6 @@ func (s ServiceTypeDetail) GoString() string { return s.String() } -// SetServiceType sets the ServiceType field's value. -func (s *ServiceTypeDetail) SetServiceType(v ServiceType) *ServiceTypeDetail { - s.ServiceType = v - return s -} - // Describes the time period for a Scheduled Instance to start its first schedule. // The time period must span less than one day. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SlotDateTimeRangeRequest @@ -58532,18 +44012,6 @@ func (s *SlotDateTimeRangeRequest) Validate() error { return nil } -// SetEarliestTime sets the EarliestTime field's value. -func (s *SlotDateTimeRangeRequest) SetEarliestTime(v time.Time) *SlotDateTimeRangeRequest { - s.EarliestTime = &v - return s -} - -// SetLatestTime sets the LatestTime field's value. -func (s *SlotDateTimeRangeRequest) SetLatestTime(v time.Time) *SlotDateTimeRangeRequest { - s.LatestTime = &v - return s -} - // Describes the time period for a Scheduled Instance to start its first schedule. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SlotStartTimeRangeRequest type SlotStartTimeRangeRequest struct { @@ -58566,18 +44034,6 @@ func (s SlotStartTimeRangeRequest) GoString() string { return s.String() } -// SetEarliestTime sets the EarliestTime field's value. -func (s *SlotStartTimeRangeRequest) SetEarliestTime(v time.Time) *SlotStartTimeRangeRequest { - s.EarliestTime = &v - return s -} - -// SetLatestTime sets the LatestTime field's value. -func (s *SlotStartTimeRangeRequest) SetLatestTime(v time.Time) *SlotStartTimeRangeRequest { - s.LatestTime = &v - return s -} - // Describes the snapshot created from the imported disk. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SnapshotDetail type SnapshotDetail struct { @@ -58624,66 +44080,6 @@ func (s SnapshotDetail) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *SnapshotDetail) SetDescription(v string) *SnapshotDetail { - s.Description = &v - return s -} - -// SetDeviceName sets the DeviceName field's value. -func (s *SnapshotDetail) SetDeviceName(v string) *SnapshotDetail { - s.DeviceName = &v - return s -} - -// SetDiskImageSize sets the DiskImageSize field's value. -func (s *SnapshotDetail) SetDiskImageSize(v float64) *SnapshotDetail { - s.DiskImageSize = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *SnapshotDetail) SetFormat(v string) *SnapshotDetail { - s.Format = &v - return s -} - -// SetProgress sets the Progress field's value. -func (s *SnapshotDetail) SetProgress(v string) *SnapshotDetail { - s.Progress = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *SnapshotDetail) SetSnapshotId(v string) *SnapshotDetail { - s.SnapshotId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *SnapshotDetail) SetStatus(v string) *SnapshotDetail { - s.Status = &v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *SnapshotDetail) SetStatusMessage(v string) *SnapshotDetail { - s.StatusMessage = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *SnapshotDetail) SetUrl(v string) *SnapshotDetail { - s.Url = &v - return s -} - -// SetUserBucket sets the UserBucket field's value. -func (s *SnapshotDetail) SetUserBucket(v *UserBucketDetails) *SnapshotDetail { - s.UserBucket = v - return s -} - // The disk container object for the import snapshot request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SnapshotDiskContainer type SnapshotDiskContainer struct { @@ -58715,30 +44111,6 @@ func (s SnapshotDiskContainer) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *SnapshotDiskContainer) SetDescription(v string) *SnapshotDiskContainer { - s.Description = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *SnapshotDiskContainer) SetFormat(v string) *SnapshotDiskContainer { - s.Format = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *SnapshotDiskContainer) SetUrl(v string) *SnapshotDiskContainer { - s.Url = &v - return s -} - -// SetUserBucket sets the UserBucket field's value. -func (s *SnapshotDiskContainer) SetUserBucket(v *UserBucket) *SnapshotDiskContainer { - s.UserBucket = v - return s -} - // Details about the import snapshot task. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SnapshotTaskDetail type SnapshotTaskDetail struct { @@ -58782,60 +44154,6 @@ func (s SnapshotTaskDetail) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *SnapshotTaskDetail) SetDescription(v string) *SnapshotTaskDetail { - s.Description = &v - return s -} - -// SetDiskImageSize sets the DiskImageSize field's value. -func (s *SnapshotTaskDetail) SetDiskImageSize(v float64) *SnapshotTaskDetail { - s.DiskImageSize = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *SnapshotTaskDetail) SetFormat(v string) *SnapshotTaskDetail { - s.Format = &v - return s -} - -// SetProgress sets the Progress field's value. -func (s *SnapshotTaskDetail) SetProgress(v string) *SnapshotTaskDetail { - s.Progress = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *SnapshotTaskDetail) SetSnapshotId(v string) *SnapshotTaskDetail { - s.SnapshotId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *SnapshotTaskDetail) SetStatus(v string) *SnapshotTaskDetail { - s.Status = &v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *SnapshotTaskDetail) SetStatusMessage(v string) *SnapshotTaskDetail { - s.StatusMessage = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *SnapshotTaskDetail) SetUrl(v string) *SnapshotTaskDetail { - s.Url = &v - return s -} - -// SetUserBucket sets the UserBucket field's value. -func (s *SnapshotTaskDetail) SetUserBucket(v *UserBucketDetails) *SnapshotTaskDetail { - s.UserBucket = v - return s -} - // Describes the data feed for a Spot Instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotDatafeedSubscription type SpotDatafeedSubscription struct { @@ -58867,36 +44185,6 @@ func (s SpotDatafeedSubscription) GoString() string { return s.String() } -// SetBucket sets the Bucket field's value. -func (s *SpotDatafeedSubscription) SetBucket(v string) *SpotDatafeedSubscription { - s.Bucket = &v - return s -} - -// SetFault sets the Fault field's value. -func (s *SpotDatafeedSubscription) SetFault(v *SpotInstanceStateFault) *SpotDatafeedSubscription { - s.Fault = v - return s -} - -// SetOwnerId sets the OwnerId field's value. -func (s *SpotDatafeedSubscription) SetOwnerId(v string) *SpotDatafeedSubscription { - s.OwnerId = &v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *SpotDatafeedSubscription) SetPrefix(v string) *SpotDatafeedSubscription { - s.Prefix = &v - return s -} - -// SetState sets the State field's value. -func (s *SpotDatafeedSubscription) SetState(v DatafeedSubscriptionState) *SpotDatafeedSubscription { - s.State = v - return s -} - // Describes the launch specification for one or more Spot Instances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetLaunchSpecification type SpotFleetLaunchSpecification struct { @@ -59008,114 +44296,6 @@ func (s *SpotFleetLaunchSpecification) Validate() error { return nil } -// SetAddressingType sets the AddressingType field's value. -func (s *SpotFleetLaunchSpecification) SetAddressingType(v string) *SpotFleetLaunchSpecification { - s.AddressingType = &v - return s -} - -// SetBlockDeviceMappings sets the BlockDeviceMappings field's value. -func (s *SpotFleetLaunchSpecification) SetBlockDeviceMappings(v []BlockDeviceMapping) *SpotFleetLaunchSpecification { - s.BlockDeviceMappings = v - return s -} - -// SetEbsOptimized sets the EbsOptimized field's value. -func (s *SpotFleetLaunchSpecification) SetEbsOptimized(v bool) *SpotFleetLaunchSpecification { - s.EbsOptimized = &v - return s -} - -// SetIamInstanceProfile sets the IamInstanceProfile field's value. -func (s *SpotFleetLaunchSpecification) SetIamInstanceProfile(v *IamInstanceProfileSpecification) *SpotFleetLaunchSpecification { - s.IamInstanceProfile = v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *SpotFleetLaunchSpecification) SetImageId(v string) *SpotFleetLaunchSpecification { - s.ImageId = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *SpotFleetLaunchSpecification) SetInstanceType(v InstanceType) *SpotFleetLaunchSpecification { - s.InstanceType = v - return s -} - -// SetKernelId sets the KernelId field's value. -func (s *SpotFleetLaunchSpecification) SetKernelId(v string) *SpotFleetLaunchSpecification { - s.KernelId = &v - return s -} - -// SetKeyName sets the KeyName field's value. -func (s *SpotFleetLaunchSpecification) SetKeyName(v string) *SpotFleetLaunchSpecification { - s.KeyName = &v - return s -} - -// SetMonitoring sets the Monitoring field's value. -func (s *SpotFleetLaunchSpecification) SetMonitoring(v *SpotFleetMonitoring) *SpotFleetLaunchSpecification { - s.Monitoring = v - return s -} - -// SetNetworkInterfaces sets the NetworkInterfaces field's value. -func (s *SpotFleetLaunchSpecification) SetNetworkInterfaces(v []InstanceNetworkInterfaceSpecification) *SpotFleetLaunchSpecification { - s.NetworkInterfaces = v - return s -} - -// SetPlacement sets the Placement field's value. -func (s *SpotFleetLaunchSpecification) SetPlacement(v *SpotPlacement) *SpotFleetLaunchSpecification { - s.Placement = v - return s -} - -// SetRamdiskId sets the RamdiskId field's value. -func (s *SpotFleetLaunchSpecification) SetRamdiskId(v string) *SpotFleetLaunchSpecification { - s.RamdiskId = &v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *SpotFleetLaunchSpecification) SetSecurityGroups(v []GroupIdentifier) *SpotFleetLaunchSpecification { - s.SecurityGroups = v - return s -} - -// SetSpotPrice sets the SpotPrice field's value. -func (s *SpotFleetLaunchSpecification) SetSpotPrice(v string) *SpotFleetLaunchSpecification { - s.SpotPrice = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *SpotFleetLaunchSpecification) SetSubnetId(v string) *SpotFleetLaunchSpecification { - s.SubnetId = &v - return s -} - -// SetTagSpecifications sets the TagSpecifications field's value. -func (s *SpotFleetLaunchSpecification) SetTagSpecifications(v []SpotFleetTagSpecification) *SpotFleetLaunchSpecification { - s.TagSpecifications = v - return s -} - -// SetUserData sets the UserData field's value. -func (s *SpotFleetLaunchSpecification) SetUserData(v string) *SpotFleetLaunchSpecification { - s.UserData = &v - return s -} - -// SetWeightedCapacity sets the WeightedCapacity field's value. -func (s *SpotFleetLaunchSpecification) SetWeightedCapacity(v float64) *SpotFleetLaunchSpecification { - s.WeightedCapacity = &v - return s -} - // Describes whether monitoring is enabled. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetMonitoring type SpotFleetMonitoring struct { @@ -59137,12 +44317,6 @@ func (s SpotFleetMonitoring) GoString() string { return s.String() } -// SetEnabled sets the Enabled field's value. -func (s *SpotFleetMonitoring) SetEnabled(v bool) *SpotFleetMonitoring { - s.Enabled = &v - return s -} - // Describes a Spot Fleet request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetRequestConfig type SpotFleetRequestConfig struct { @@ -59186,36 +44360,6 @@ func (s SpotFleetRequestConfig) GoString() string { return s.String() } -// SetActivityStatus sets the ActivityStatus field's value. -func (s *SpotFleetRequestConfig) SetActivityStatus(v ActivityStatus) *SpotFleetRequestConfig { - s.ActivityStatus = v - return s -} - -// SetCreateTime sets the CreateTime field's value. -func (s *SpotFleetRequestConfig) SetCreateTime(v time.Time) *SpotFleetRequestConfig { - s.CreateTime = &v - return s -} - -// SetSpotFleetRequestConfig sets the SpotFleetRequestConfig field's value. -func (s *SpotFleetRequestConfig) SetSpotFleetRequestConfig(v *SpotFleetRequestConfigData) *SpotFleetRequestConfig { - s.SpotFleetRequestConfig = v - return s -} - -// SetSpotFleetRequestId sets the SpotFleetRequestId field's value. -func (s *SpotFleetRequestConfig) SetSpotFleetRequestId(v string) *SpotFleetRequestConfig { - s.SpotFleetRequestId = &v - return s -} - -// SetSpotFleetRequestState sets the SpotFleetRequestState field's value. -func (s *SpotFleetRequestConfig) SetSpotFleetRequestState(v BatchState) *SpotFleetRequestConfig { - s.SpotFleetRequestState = v - return s -} - // Describes the configuration of a Spot Fleet request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetRequestConfigData type SpotFleetRequestConfigData struct { @@ -59351,102 +44495,6 @@ func (s *SpotFleetRequestConfigData) Validate() error { return nil } -// SetAllocationStrategy sets the AllocationStrategy field's value. -func (s *SpotFleetRequestConfigData) SetAllocationStrategy(v AllocationStrategy) *SpotFleetRequestConfigData { - s.AllocationStrategy = v - return s -} - -// SetClientToken sets the ClientToken field's value. -func (s *SpotFleetRequestConfigData) SetClientToken(v string) *SpotFleetRequestConfigData { - s.ClientToken = &v - return s -} - -// SetExcessCapacityTerminationPolicy sets the ExcessCapacityTerminationPolicy field's value. -func (s *SpotFleetRequestConfigData) SetExcessCapacityTerminationPolicy(v ExcessCapacityTerminationPolicy) *SpotFleetRequestConfigData { - s.ExcessCapacityTerminationPolicy = v - return s -} - -// SetFulfilledCapacity sets the FulfilledCapacity field's value. -func (s *SpotFleetRequestConfigData) SetFulfilledCapacity(v float64) *SpotFleetRequestConfigData { - s.FulfilledCapacity = &v - return s -} - -// SetIamFleetRole sets the IamFleetRole field's value. -func (s *SpotFleetRequestConfigData) SetIamFleetRole(v string) *SpotFleetRequestConfigData { - s.IamFleetRole = &v - return s -} - -// SetInstanceInterruptionBehavior sets the InstanceInterruptionBehavior field's value. -func (s *SpotFleetRequestConfigData) SetInstanceInterruptionBehavior(v InstanceInterruptionBehavior) *SpotFleetRequestConfigData { - s.InstanceInterruptionBehavior = v - return s -} - -// SetLaunchSpecifications sets the LaunchSpecifications field's value. -func (s *SpotFleetRequestConfigData) SetLaunchSpecifications(v []SpotFleetLaunchSpecification) *SpotFleetRequestConfigData { - s.LaunchSpecifications = v - return s -} - -// SetLaunchTemplateConfigs sets the LaunchTemplateConfigs field's value. -func (s *SpotFleetRequestConfigData) SetLaunchTemplateConfigs(v []LaunchTemplateConfig) *SpotFleetRequestConfigData { - s.LaunchTemplateConfigs = v - return s -} - -// SetLoadBalancersConfig sets the LoadBalancersConfig field's value. -func (s *SpotFleetRequestConfigData) SetLoadBalancersConfig(v *LoadBalancersConfig) *SpotFleetRequestConfigData { - s.LoadBalancersConfig = v - return s -} - -// SetReplaceUnhealthyInstances sets the ReplaceUnhealthyInstances field's value. -func (s *SpotFleetRequestConfigData) SetReplaceUnhealthyInstances(v bool) *SpotFleetRequestConfigData { - s.ReplaceUnhealthyInstances = &v - return s -} - -// SetSpotPrice sets the SpotPrice field's value. -func (s *SpotFleetRequestConfigData) SetSpotPrice(v string) *SpotFleetRequestConfigData { - s.SpotPrice = &v - return s -} - -// SetTargetCapacity sets the TargetCapacity field's value. -func (s *SpotFleetRequestConfigData) SetTargetCapacity(v int64) *SpotFleetRequestConfigData { - s.TargetCapacity = &v - return s -} - -// SetTerminateInstancesWithExpiration sets the TerminateInstancesWithExpiration field's value. -func (s *SpotFleetRequestConfigData) SetTerminateInstancesWithExpiration(v bool) *SpotFleetRequestConfigData { - s.TerminateInstancesWithExpiration = &v - return s -} - -// SetType sets the Type field's value. -func (s *SpotFleetRequestConfigData) SetType(v FleetType) *SpotFleetRequestConfigData { - s.Type = v - return s -} - -// SetValidFrom sets the ValidFrom field's value. -func (s *SpotFleetRequestConfigData) SetValidFrom(v time.Time) *SpotFleetRequestConfigData { - s.ValidFrom = &v - return s -} - -// SetValidUntil sets the ValidUntil field's value. -func (s *SpotFleetRequestConfigData) SetValidUntil(v time.Time) *SpotFleetRequestConfigData { - s.ValidUntil = &v - return s -} - // The tags for a Spot Fleet resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetTagSpecification type SpotFleetTagSpecification struct { @@ -59470,18 +44518,6 @@ func (s SpotFleetTagSpecification) GoString() string { return s.String() } -// SetResourceType sets the ResourceType field's value. -func (s *SpotFleetTagSpecification) SetResourceType(v ResourceType) *SpotFleetTagSpecification { - s.ResourceType = v - return s -} - -// SetTags sets the Tags field's value. -func (s *SpotFleetTagSpecification) SetTags(v []Tag) *SpotFleetTagSpecification { - s.Tags = v - return s -} - // Describes a Spot Instance request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotInstanceRequest type SpotInstanceRequest struct { @@ -59569,120 +44605,6 @@ func (s SpotInstanceRequest) GoString() string { return s.String() } -// SetActualBlockHourlyPrice sets the ActualBlockHourlyPrice field's value. -func (s *SpotInstanceRequest) SetActualBlockHourlyPrice(v string) *SpotInstanceRequest { - s.ActualBlockHourlyPrice = &v - return s -} - -// SetAvailabilityZoneGroup sets the AvailabilityZoneGroup field's value. -func (s *SpotInstanceRequest) SetAvailabilityZoneGroup(v string) *SpotInstanceRequest { - s.AvailabilityZoneGroup = &v - return s -} - -// SetBlockDurationMinutes sets the BlockDurationMinutes field's value. -func (s *SpotInstanceRequest) SetBlockDurationMinutes(v int64) *SpotInstanceRequest { - s.BlockDurationMinutes = &v - return s -} - -// SetCreateTime sets the CreateTime field's value. -func (s *SpotInstanceRequest) SetCreateTime(v time.Time) *SpotInstanceRequest { - s.CreateTime = &v - return s -} - -// SetFault sets the Fault field's value. -func (s *SpotInstanceRequest) SetFault(v *SpotInstanceStateFault) *SpotInstanceRequest { - s.Fault = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *SpotInstanceRequest) SetInstanceId(v string) *SpotInstanceRequest { - s.InstanceId = &v - return s -} - -// SetInstanceInterruptionBehavior sets the InstanceInterruptionBehavior field's value. -func (s *SpotInstanceRequest) SetInstanceInterruptionBehavior(v InstanceInterruptionBehavior) *SpotInstanceRequest { - s.InstanceInterruptionBehavior = v - return s -} - -// SetLaunchGroup sets the LaunchGroup field's value. -func (s *SpotInstanceRequest) SetLaunchGroup(v string) *SpotInstanceRequest { - s.LaunchGroup = &v - return s -} - -// SetLaunchSpecification sets the LaunchSpecification field's value. -func (s *SpotInstanceRequest) SetLaunchSpecification(v *LaunchSpecification) *SpotInstanceRequest { - s.LaunchSpecification = v - return s -} - -// SetLaunchedAvailabilityZone sets the LaunchedAvailabilityZone field's value. -func (s *SpotInstanceRequest) SetLaunchedAvailabilityZone(v string) *SpotInstanceRequest { - s.LaunchedAvailabilityZone = &v - return s -} - -// SetProductDescription sets the ProductDescription field's value. -func (s *SpotInstanceRequest) SetProductDescription(v RIProductDescription) *SpotInstanceRequest { - s.ProductDescription = v - return s -} - -// SetSpotInstanceRequestId sets the SpotInstanceRequestId field's value. -func (s *SpotInstanceRequest) SetSpotInstanceRequestId(v string) *SpotInstanceRequest { - s.SpotInstanceRequestId = &v - return s -} - -// SetSpotPrice sets the SpotPrice field's value. -func (s *SpotInstanceRequest) SetSpotPrice(v string) *SpotInstanceRequest { - s.SpotPrice = &v - return s -} - -// SetState sets the State field's value. -func (s *SpotInstanceRequest) SetState(v SpotInstanceState) *SpotInstanceRequest { - s.State = v - return s -} - -// SetStatus sets the Status field's value. -func (s *SpotInstanceRequest) SetStatus(v *SpotInstanceStatus) *SpotInstanceRequest { - s.Status = v - return s -} - -// SetTags sets the Tags field's value. -func (s *SpotInstanceRequest) SetTags(v []Tag) *SpotInstanceRequest { - s.Tags = v - return s -} - -// SetType sets the Type field's value. -func (s *SpotInstanceRequest) SetType(v SpotInstanceType) *SpotInstanceRequest { - s.Type = v - return s -} - -// SetValidFrom sets the ValidFrom field's value. -func (s *SpotInstanceRequest) SetValidFrom(v time.Time) *SpotInstanceRequest { - s.ValidFrom = &v - return s -} - -// SetValidUntil sets the ValidUntil field's value. -func (s *SpotInstanceRequest) SetValidUntil(v time.Time) *SpotInstanceRequest { - s.ValidUntil = &v - return s -} - // Describes a Spot Instance state change. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotInstanceStateFault type SpotInstanceStateFault struct { @@ -59705,18 +44627,6 @@ func (s SpotInstanceStateFault) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *SpotInstanceStateFault) SetCode(v string) *SpotInstanceStateFault { - s.Code = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *SpotInstanceStateFault) SetMessage(v string) *SpotInstanceStateFault { - s.Message = &v - return s -} - // Describes the status of a Spot Instance request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotInstanceStatus type SpotInstanceStatus struct { @@ -59744,24 +44654,6 @@ func (s SpotInstanceStatus) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *SpotInstanceStatus) SetCode(v string) *SpotInstanceStatus { - s.Code = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *SpotInstanceStatus) SetMessage(v string) *SpotInstanceStatus { - s.Message = &v - return s -} - -// SetUpdateTime sets the UpdateTime field's value. -func (s *SpotInstanceStatus) SetUpdateTime(v time.Time) *SpotInstanceStatus { - s.UpdateTime = &v - return s -} - // The options for Spot Instances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotMarketOptions type SpotMarketOptions struct { @@ -59800,36 +44692,6 @@ func (s SpotMarketOptions) GoString() string { return s.String() } -// SetBlockDurationMinutes sets the BlockDurationMinutes field's value. -func (s *SpotMarketOptions) SetBlockDurationMinutes(v int64) *SpotMarketOptions { - s.BlockDurationMinutes = &v - return s -} - -// SetInstanceInterruptionBehavior sets the InstanceInterruptionBehavior field's value. -func (s *SpotMarketOptions) SetInstanceInterruptionBehavior(v InstanceInterruptionBehavior) *SpotMarketOptions { - s.InstanceInterruptionBehavior = v - return s -} - -// SetMaxPrice sets the MaxPrice field's value. -func (s *SpotMarketOptions) SetMaxPrice(v string) *SpotMarketOptions { - s.MaxPrice = &v - return s -} - -// SetSpotInstanceType sets the SpotInstanceType field's value. -func (s *SpotMarketOptions) SetSpotInstanceType(v SpotInstanceType) *SpotMarketOptions { - s.SpotInstanceType = v - return s -} - -// SetValidUntil sets the ValidUntil field's value. -func (s *SpotMarketOptions) SetValidUntil(v time.Time) *SpotMarketOptions { - s.ValidUntil = &v - return s -} - // Describes Spot Instance placement. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotPlacement type SpotPlacement struct { @@ -59860,24 +44722,6 @@ func (s SpotPlacement) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *SpotPlacement) SetAvailabilityZone(v string) *SpotPlacement { - s.AvailabilityZone = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *SpotPlacement) SetGroupName(v string) *SpotPlacement { - s.GroupName = &v - return s -} - -// SetTenancy sets the Tenancy field's value. -func (s *SpotPlacement) SetTenancy(v Tenancy) *SpotPlacement { - s.Tenancy = v - return s -} - // Describes the maximum price per hour that you are willing to pay for a Spot // Instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotPrice @@ -59910,36 +44754,6 @@ func (s SpotPrice) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *SpotPrice) SetAvailabilityZone(v string) *SpotPrice { - s.AvailabilityZone = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *SpotPrice) SetInstanceType(v InstanceType) *SpotPrice { - s.InstanceType = v - return s -} - -// SetProductDescription sets the ProductDescription field's value. -func (s *SpotPrice) SetProductDescription(v RIProductDescription) *SpotPrice { - s.ProductDescription = v - return s -} - -// SetSpotPrice sets the SpotPrice field's value. -func (s *SpotPrice) SetSpotPrice(v string) *SpotPrice { - s.SpotPrice = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *SpotPrice) SetTimestamp(v time.Time) *SpotPrice { - s.Timestamp = &v - return s -} - // Describes a stale rule in a security group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StaleIpPermission type StaleIpPermission struct { @@ -59979,42 +44793,6 @@ func (s StaleIpPermission) GoString() string { return s.String() } -// SetFromPort sets the FromPort field's value. -func (s *StaleIpPermission) SetFromPort(v int64) *StaleIpPermission { - s.FromPort = &v - return s -} - -// SetIpProtocol sets the IpProtocol field's value. -func (s *StaleIpPermission) SetIpProtocol(v string) *StaleIpPermission { - s.IpProtocol = &v - return s -} - -// SetIpRanges sets the IpRanges field's value. -func (s *StaleIpPermission) SetIpRanges(v []string) *StaleIpPermission { - s.IpRanges = v - return s -} - -// SetPrefixListIds sets the PrefixListIds field's value. -func (s *StaleIpPermission) SetPrefixListIds(v []string) *StaleIpPermission { - s.PrefixListIds = v - return s -} - -// SetToPort sets the ToPort field's value. -func (s *StaleIpPermission) SetToPort(v int64) *StaleIpPermission { - s.ToPort = &v - return s -} - -// SetUserIdGroupPairs sets the UserIdGroupPairs field's value. -func (s *StaleIpPermission) SetUserIdGroupPairs(v []UserIdGroupPair) *StaleIpPermission { - s.UserIdGroupPairs = v - return s -} - // Describes a stale security group (a security group that contains stale rules). // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StaleSecurityGroup type StaleSecurityGroup struct { @@ -60051,42 +44829,6 @@ func (s StaleSecurityGroup) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *StaleSecurityGroup) SetDescription(v string) *StaleSecurityGroup { - s.Description = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *StaleSecurityGroup) SetGroupId(v string) *StaleSecurityGroup { - s.GroupId = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *StaleSecurityGroup) SetGroupName(v string) *StaleSecurityGroup { - s.GroupName = &v - return s -} - -// SetStaleIpPermissions sets the StaleIpPermissions field's value. -func (s *StaleSecurityGroup) SetStaleIpPermissions(v []StaleIpPermission) *StaleSecurityGroup { - s.StaleIpPermissions = v - return s -} - -// SetStaleIpPermissionsEgress sets the StaleIpPermissionsEgress field's value. -func (s *StaleSecurityGroup) SetStaleIpPermissionsEgress(v []StaleIpPermission) *StaleSecurityGroup { - s.StaleIpPermissionsEgress = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *StaleSecurityGroup) SetVpcId(v string) *StaleSecurityGroup { - s.VpcId = &v - return s -} - // Contains the parameters for StartInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StartInstancesRequest type StartInstancesInput struct { @@ -60131,24 +44873,6 @@ func (s *StartInstancesInput) Validate() error { return nil } -// SetAdditionalInfo sets the AdditionalInfo field's value. -func (s *StartInstancesInput) SetAdditionalInfo(v string) *StartInstancesInput { - s.AdditionalInfo = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *StartInstancesInput) SetDryRun(v bool) *StartInstancesInput { - s.DryRun = &v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *StartInstancesInput) SetInstanceIds(v []string) *StartInstancesInput { - s.InstanceIds = v - return s -} - // Contains the output of StartInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StartInstancesResult type StartInstancesOutput struct { @@ -60175,12 +44899,6 @@ func (s StartInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStartingInstances sets the StartingInstances field's value. -func (s *StartInstancesOutput) SetStartingInstances(v []InstanceStateChange) *StartInstancesOutput { - s.StartingInstances = v - return s -} - // Describes a state change. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StateReason type StateReason struct { @@ -60232,18 +44950,6 @@ func (s StateReason) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *StateReason) SetCode(v string) *StateReason { - s.Code = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *StateReason) SetMessage(v string) *StateReason { - s.Message = &v - return s -} - // Contains the parameters for StopInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StopInstancesRequest type StopInstancesInput struct { @@ -60293,24 +44999,6 @@ func (s *StopInstancesInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *StopInstancesInput) SetDryRun(v bool) *StopInstancesInput { - s.DryRun = &v - return s -} - -// SetForce sets the Force field's value. -func (s *StopInstancesInput) SetForce(v bool) *StopInstancesInput { - s.Force = &v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *StopInstancesInput) SetInstanceIds(v []string) *StopInstancesInput { - s.InstanceIds = v - return s -} - // Contains the output of StopInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StopInstancesResult type StopInstancesOutput struct { @@ -60337,12 +45025,6 @@ func (s StopInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStoppingInstances sets the StoppingInstances field's value. -func (s *StopInstancesOutput) SetStoppingInstances(v []InstanceStateChange) *StopInstancesOutput { - s.StoppingInstances = v - return s -} - // Describes the storage location for an instance store-backed AMI. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Storage type Storage struct { @@ -60362,12 +45044,6 @@ func (s Storage) GoString() string { return s.String() } -// SetS3 sets the S3 field's value. -func (s *Storage) SetS3(v *S3Storage) *Storage { - s.S3 = v - return s -} - // Describes a storage location in Amazon S3. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StorageLocation type StorageLocation struct { @@ -60390,18 +45066,6 @@ func (s StorageLocation) GoString() string { return s.String() } -// SetBucket sets the Bucket field's value. -func (s *StorageLocation) SetBucket(v string) *StorageLocation { - s.Bucket = &v - return s -} - -// SetKey sets the Key field's value. -func (s *StorageLocation) SetKey(v string) *StorageLocation { - s.Key = &v - return s -} - // Describes a subnet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Subnet type Subnet struct { @@ -60454,72 +45118,6 @@ func (s Subnet) GoString() string { return s.String() } -// SetAssignIpv6AddressOnCreation sets the AssignIpv6AddressOnCreation field's value. -func (s *Subnet) SetAssignIpv6AddressOnCreation(v bool) *Subnet { - s.AssignIpv6AddressOnCreation = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *Subnet) SetAvailabilityZone(v string) *Subnet { - s.AvailabilityZone = &v - return s -} - -// SetAvailableIpAddressCount sets the AvailableIpAddressCount field's value. -func (s *Subnet) SetAvailableIpAddressCount(v int64) *Subnet { - s.AvailableIpAddressCount = &v - return s -} - -// SetCidrBlock sets the CidrBlock field's value. -func (s *Subnet) SetCidrBlock(v string) *Subnet { - s.CidrBlock = &v - return s -} - -// SetDefaultForAz sets the DefaultForAz field's value. -func (s *Subnet) SetDefaultForAz(v bool) *Subnet { - s.DefaultForAz = &v - return s -} - -// SetIpv6CidrBlockAssociationSet sets the Ipv6CidrBlockAssociationSet field's value. -func (s *Subnet) SetIpv6CidrBlockAssociationSet(v []SubnetIpv6CidrBlockAssociation) *Subnet { - s.Ipv6CidrBlockAssociationSet = v - return s -} - -// SetMapPublicIpOnLaunch sets the MapPublicIpOnLaunch field's value. -func (s *Subnet) SetMapPublicIpOnLaunch(v bool) *Subnet { - s.MapPublicIpOnLaunch = &v - return s -} - -// SetState sets the State field's value. -func (s *Subnet) SetState(v SubnetState) *Subnet { - s.State = v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *Subnet) SetSubnetId(v string) *Subnet { - s.SubnetId = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *Subnet) SetTags(v []Tag) *Subnet { - s.Tags = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *Subnet) SetVpcId(v string) *Subnet { - s.VpcId = &v - return s -} - // Describes the state of a CIDR block. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SubnetCidrBlockState type SubnetCidrBlockState struct { @@ -60542,18 +45140,6 @@ func (s SubnetCidrBlockState) GoString() string { return s.String() } -// SetState sets the State field's value. -func (s *SubnetCidrBlockState) SetState(v SubnetCidrBlockStateCode) *SubnetCidrBlockState { - s.State = v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *SubnetCidrBlockState) SetStatusMessage(v string) *SubnetCidrBlockState { - s.StatusMessage = &v - return s -} - // Describes an IPv6 CIDR block associated with a subnet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SubnetIpv6CidrBlockAssociation type SubnetIpv6CidrBlockAssociation struct { @@ -60579,24 +45165,6 @@ func (s SubnetIpv6CidrBlockAssociation) GoString() string { return s.String() } -// SetAssociationId sets the AssociationId field's value. -func (s *SubnetIpv6CidrBlockAssociation) SetAssociationId(v string) *SubnetIpv6CidrBlockAssociation { - s.AssociationId = &v - return s -} - -// SetIpv6CidrBlock sets the Ipv6CidrBlock field's value. -func (s *SubnetIpv6CidrBlockAssociation) SetIpv6CidrBlock(v string) *SubnetIpv6CidrBlockAssociation { - s.Ipv6CidrBlock = &v - return s -} - -// SetIpv6CidrBlockState sets the Ipv6CidrBlockState field's value. -func (s *SubnetIpv6CidrBlockAssociation) SetIpv6CidrBlockState(v *SubnetCidrBlockState) *SubnetIpv6CidrBlockAssociation { - s.Ipv6CidrBlockState = v - return s -} - // Describes the T2 instance whose credit option for CPU usage was successfully // modified. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SuccessfulInstanceCreditSpecificationItem @@ -60617,12 +45185,6 @@ func (s SuccessfulInstanceCreditSpecificationItem) GoString() string { return s.String() } -// SetInstanceId sets the InstanceId field's value. -func (s *SuccessfulInstanceCreditSpecificationItem) SetInstanceId(v string) *SuccessfulInstanceCreditSpecificationItem { - s.InstanceId = &v - return s -} - // Describes a tag. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Tag type Tag struct { @@ -60651,18 +45213,6 @@ func (s Tag) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Describes a tag. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TagDescription type TagDescription struct { @@ -60691,30 +45241,6 @@ func (s TagDescription) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *TagDescription) SetKey(v string) *TagDescription { - s.Key = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *TagDescription) SetResourceId(v string) *TagDescription { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *TagDescription) SetResourceType(v ResourceType) *TagDescription { - s.ResourceType = v - return s -} - -// SetValue sets the Value field's value. -func (s *TagDescription) SetValue(v string) *TagDescription { - s.Value = &v - return s -} - // The tags to apply to a resource when the resource is being created. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TagSpecification type TagSpecification struct { @@ -60738,18 +45264,6 @@ func (s TagSpecification) GoString() string { return s.String() } -// SetResourceType sets the ResourceType field's value. -func (s *TagSpecification) SetResourceType(v ResourceType) *TagSpecification { - s.ResourceType = v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagSpecification) SetTags(v []Tag) *TagSpecification { - s.Tags = v - return s -} - // Information about the Convertible Reserved Instance offering. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetConfiguration type TargetConfiguration struct { @@ -60773,18 +45287,6 @@ func (s TargetConfiguration) GoString() string { return s.String() } -// SetInstanceCount sets the InstanceCount field's value. -func (s *TargetConfiguration) SetInstanceCount(v int64) *TargetConfiguration { - s.InstanceCount = &v - return s -} - -// SetOfferingId sets the OfferingId field's value. -func (s *TargetConfiguration) SetOfferingId(v string) *TargetConfiguration { - s.OfferingId = &v - return s -} - // Details about the target configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetConfigurationRequest type TargetConfigurationRequest struct { @@ -60824,18 +45326,6 @@ func (s *TargetConfigurationRequest) Validate() error { return nil } -// SetInstanceCount sets the InstanceCount field's value. -func (s *TargetConfigurationRequest) SetInstanceCount(v int64) *TargetConfigurationRequest { - s.InstanceCount = &v - return s -} - -// SetOfferingId sets the OfferingId field's value. -func (s *TargetConfigurationRequest) SetOfferingId(v string) *TargetConfigurationRequest { - s.OfferingId = &v - return s -} - // Describes a load balancer target group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetGroup type TargetGroup struct { @@ -60871,12 +45361,6 @@ func (s *TargetGroup) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *TargetGroup) SetArn(v string) *TargetGroup { - s.Arn = &v - return s -} - // Describes the target groups to attach to a Spot Fleet. Spot Fleet registers // the running Spot Instances with these target groups. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetGroupsConfig @@ -60923,12 +45407,6 @@ func (s *TargetGroupsConfig) Validate() error { return nil } -// SetTargetGroups sets the TargetGroups field's value. -func (s *TargetGroupsConfig) SetTargetGroups(v []TargetGroup) *TargetGroupsConfig { - s.TargetGroups = v - return s -} - // The total value of the new Convertible Reserved Instances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetReservationValue type TargetReservationValue struct { @@ -60954,18 +45432,6 @@ func (s TargetReservationValue) GoString() string { return s.String() } -// SetReservationValue sets the ReservationValue field's value. -func (s *TargetReservationValue) SetReservationValue(v *ReservationValue) *TargetReservationValue { - s.ReservationValue = v - return s -} - -// SetTargetConfiguration sets the TargetConfiguration field's value. -func (s *TargetReservationValue) SetTargetConfiguration(v *TargetConfiguration) *TargetReservationValue { - s.TargetConfiguration = v - return s -} - // Contains the parameters for TerminateInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TerminateInstancesRequest type TerminateInstancesInput struct { @@ -61010,18 +45476,6 @@ func (s *TerminateInstancesInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *TerminateInstancesInput) SetDryRun(v bool) *TerminateInstancesInput { - s.DryRun = &v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *TerminateInstancesInput) SetInstanceIds(v []string) *TerminateInstancesInput { - s.InstanceIds = v - return s -} - // Contains the output of TerminateInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TerminateInstancesResult type TerminateInstancesOutput struct { @@ -61048,12 +45502,6 @@ func (s TerminateInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTerminatingInstances sets the TerminatingInstances field's value. -func (s *TerminateInstancesOutput) SetTerminatingInstances(v []InstanceStateChange) *TerminateInstancesOutput { - s.TerminatingInstances = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignIpv6AddressesRequest type UnassignIpv6AddressesInput struct { _ struct{} `type:"structure"` @@ -61097,18 +45545,6 @@ func (s *UnassignIpv6AddressesInput) Validate() error { return nil } -// SetIpv6Addresses sets the Ipv6Addresses field's value. -func (s *UnassignIpv6AddressesInput) SetIpv6Addresses(v []string) *UnassignIpv6AddressesInput { - s.Ipv6Addresses = v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *UnassignIpv6AddressesInput) SetNetworkInterfaceId(v string) *UnassignIpv6AddressesInput { - s.NetworkInterfaceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignIpv6AddressesResult type UnassignIpv6AddressesOutput struct { _ struct{} `type:"structure"` @@ -61137,18 +45573,6 @@ func (s UnassignIpv6AddressesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *UnassignIpv6AddressesOutput) SetNetworkInterfaceId(v string) *UnassignIpv6AddressesOutput { - s.NetworkInterfaceId = &v - return s -} - -// SetUnassignedIpv6Addresses sets the UnassignedIpv6Addresses field's value. -func (s *UnassignIpv6AddressesOutput) SetUnassignedIpv6Addresses(v []string) *UnassignIpv6AddressesOutput { - s.UnassignedIpv6Addresses = v - return s -} - // Contains the parameters for UnassignPrivateIpAddresses. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateIpAddressesRequest type UnassignPrivateIpAddressesInput struct { @@ -61194,18 +45618,6 @@ func (s *UnassignPrivateIpAddressesInput) Validate() error { return nil } -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *UnassignPrivateIpAddressesInput) SetNetworkInterfaceId(v string) *UnassignPrivateIpAddressesInput { - s.NetworkInterfaceId = &v - return s -} - -// SetPrivateIpAddresses sets the PrivateIpAddresses field's value. -func (s *UnassignPrivateIpAddressesInput) SetPrivateIpAddresses(v []string) *UnassignPrivateIpAddressesInput { - s.PrivateIpAddresses = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateIpAddressesOutput type UnassignPrivateIpAddressesOutput struct { _ struct{} `type:"structure"` @@ -61269,18 +45681,6 @@ func (s *UnmonitorInstancesInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *UnmonitorInstancesInput) SetDryRun(v bool) *UnmonitorInstancesInput { - s.DryRun = &v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *UnmonitorInstancesInput) SetInstanceIds(v []string) *UnmonitorInstancesInput { - s.InstanceIds = v - return s -} - // Contains the output of UnmonitorInstances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnmonitorInstancesResult type UnmonitorInstancesOutput struct { @@ -61307,12 +45707,6 @@ func (s UnmonitorInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceMonitorings sets the InstanceMonitorings field's value. -func (s *UnmonitorInstancesOutput) SetInstanceMonitorings(v []InstanceMonitoring) *UnmonitorInstancesOutput { - s.InstanceMonitorings = v - return s -} - // Describes the T2 instance whose credit option for CPU usage was not modified. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnsuccessfulInstanceCreditSpecificationItem type UnsuccessfulInstanceCreditSpecificationItem struct { @@ -61336,18 +45730,6 @@ func (s UnsuccessfulInstanceCreditSpecificationItem) GoString() string { return s.String() } -// SetError sets the Error field's value. -func (s *UnsuccessfulInstanceCreditSpecificationItem) SetError(v *UnsuccessfulInstanceCreditSpecificationItemError) *UnsuccessfulInstanceCreditSpecificationItem { - s.Error = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *UnsuccessfulInstanceCreditSpecificationItem) SetInstanceId(v string) *UnsuccessfulInstanceCreditSpecificationItem { - s.InstanceId = &v - return s -} - // Information about the error for the T2 instance whose credit option for CPU // usage was not modified. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnsuccessfulInstanceCreditSpecificationItemError @@ -61371,18 +45753,6 @@ func (s UnsuccessfulInstanceCreditSpecificationItemError) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *UnsuccessfulInstanceCreditSpecificationItemError) SetCode(v UnsuccessfulInstanceCreditSpecificationErrorCode) *UnsuccessfulInstanceCreditSpecificationItemError { - s.Code = v - return s -} - -// SetMessage sets the Message field's value. -func (s *UnsuccessfulInstanceCreditSpecificationItemError) SetMessage(v string) *UnsuccessfulInstanceCreditSpecificationItemError { - s.Message = &v - return s -} - // Information about items that were not successfully processed in a batch call. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnsuccessfulItem type UnsuccessfulItem struct { @@ -61407,18 +45777,6 @@ func (s UnsuccessfulItem) GoString() string { return s.String() } -// SetError sets the Error field's value. -func (s *UnsuccessfulItem) SetError(v *UnsuccessfulItemError) *UnsuccessfulItem { - s.Error = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *UnsuccessfulItem) SetResourceId(v string) *UnsuccessfulItem { - s.ResourceId = &v - return s -} - // Information about the error that occurred. For more information about errors, // see Error Codes (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnsuccessfulItemError @@ -61446,18 +45804,6 @@ func (s UnsuccessfulItemError) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *UnsuccessfulItemError) SetCode(v string) *UnsuccessfulItemError { - s.Code = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *UnsuccessfulItemError) SetMessage(v string) *UnsuccessfulItemError { - s.Message = &v - return s -} - // Contains the parameters for UpdateSecurityGroupRuleDescriptionsEgress. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsEgressRequest type UpdateSecurityGroupRuleDescriptionsEgressInput struct { @@ -61508,30 +45854,6 @@ func (s *UpdateSecurityGroupRuleDescriptionsEgressInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *UpdateSecurityGroupRuleDescriptionsEgressInput) SetDryRun(v bool) *UpdateSecurityGroupRuleDescriptionsEgressInput { - s.DryRun = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *UpdateSecurityGroupRuleDescriptionsEgressInput) SetGroupId(v string) *UpdateSecurityGroupRuleDescriptionsEgressInput { - s.GroupId = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *UpdateSecurityGroupRuleDescriptionsEgressInput) SetGroupName(v string) *UpdateSecurityGroupRuleDescriptionsEgressInput { - s.GroupName = &v - return s -} - -// SetIpPermissions sets the IpPermissions field's value. -func (s *UpdateSecurityGroupRuleDescriptionsEgressInput) SetIpPermissions(v []IpPermission) *UpdateSecurityGroupRuleDescriptionsEgressInput { - s.IpPermissions = v - return s -} - // Contains the output of UpdateSecurityGroupRuleDescriptionsEgress. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsEgressResult type UpdateSecurityGroupRuleDescriptionsEgressOutput struct { @@ -61558,12 +45880,6 @@ func (s UpdateSecurityGroupRuleDescriptionsEgressOutput) SDKResponseMetadata() a return s.responseMetadata } -// SetReturn sets the Return field's value. -func (s *UpdateSecurityGroupRuleDescriptionsEgressOutput) SetReturn(v bool) *UpdateSecurityGroupRuleDescriptionsEgressOutput { - s.Return = &v - return s -} - // Contains the parameters for UpdateSecurityGroupRuleDescriptionsIngress. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsIngressRequest type UpdateSecurityGroupRuleDescriptionsIngressInput struct { @@ -61614,30 +45930,6 @@ func (s *UpdateSecurityGroupRuleDescriptionsIngressInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *UpdateSecurityGroupRuleDescriptionsIngressInput) SetDryRun(v bool) *UpdateSecurityGroupRuleDescriptionsIngressInput { - s.DryRun = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *UpdateSecurityGroupRuleDescriptionsIngressInput) SetGroupId(v string) *UpdateSecurityGroupRuleDescriptionsIngressInput { - s.GroupId = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *UpdateSecurityGroupRuleDescriptionsIngressInput) SetGroupName(v string) *UpdateSecurityGroupRuleDescriptionsIngressInput { - s.GroupName = &v - return s -} - -// SetIpPermissions sets the IpPermissions field's value. -func (s *UpdateSecurityGroupRuleDescriptionsIngressInput) SetIpPermissions(v []IpPermission) *UpdateSecurityGroupRuleDescriptionsIngressInput { - s.IpPermissions = v - return s -} - // Contains the output of UpdateSecurityGroupRuleDescriptionsIngress. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsIngressResult type UpdateSecurityGroupRuleDescriptionsIngressOutput struct { @@ -61664,12 +45956,6 @@ func (s UpdateSecurityGroupRuleDescriptionsIngressOutput) SDKResponseMetadata() return s.responseMetadata } -// SetReturn sets the Return field's value. -func (s *UpdateSecurityGroupRuleDescriptionsIngressOutput) SetReturn(v bool) *UpdateSecurityGroupRuleDescriptionsIngressOutput { - s.Return = &v - return s -} - // Describes the S3 bucket for the disk image. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UserBucket type UserBucket struct { @@ -61692,18 +45978,6 @@ func (s UserBucket) GoString() string { return s.String() } -// SetS3Bucket sets the S3Bucket field's value. -func (s *UserBucket) SetS3Bucket(v string) *UserBucket { - s.S3Bucket = &v - return s -} - -// SetS3Key sets the S3Key field's value. -func (s *UserBucket) SetS3Key(v string) *UserBucket { - s.S3Key = &v - return s -} - // Describes the S3 bucket for the disk image. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UserBucketDetails type UserBucketDetails struct { @@ -61726,18 +46000,6 @@ func (s UserBucketDetails) GoString() string { return s.String() } -// SetS3Bucket sets the S3Bucket field's value. -func (s *UserBucketDetails) SetS3Bucket(v string) *UserBucketDetails { - s.S3Bucket = &v - return s -} - -// SetS3Key sets the S3Key field's value. -func (s *UserBucketDetails) SetS3Key(v string) *UserBucketDetails { - s.S3Key = &v - return s -} - // Describes the user data for an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UserData type UserData struct { @@ -61759,12 +46021,6 @@ func (s UserData) GoString() string { return s.String() } -// SetData sets the Data field's value. -func (s *UserData) SetData(v string) *UserData { - s.Data = &v - return s -} - // Describes a security group and AWS account ID pair. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UserIdGroupPair type UserIdGroupPair struct { @@ -61812,48 +46068,6 @@ func (s UserIdGroupPair) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *UserIdGroupPair) SetDescription(v string) *UserIdGroupPair { - s.Description = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *UserIdGroupPair) SetGroupId(v string) *UserIdGroupPair { - s.GroupId = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *UserIdGroupPair) SetGroupName(v string) *UserIdGroupPair { - s.GroupName = &v - return s -} - -// SetPeeringStatus sets the PeeringStatus field's value. -func (s *UserIdGroupPair) SetPeeringStatus(v string) *UserIdGroupPair { - s.PeeringStatus = &v - return s -} - -// SetUserId sets the UserId field's value. -func (s *UserIdGroupPair) SetUserId(v string) *UserIdGroupPair { - s.UserId = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *UserIdGroupPair) SetVpcId(v string) *UserIdGroupPair { - s.VpcId = &v - return s -} - -// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value. -func (s *UserIdGroupPair) SetVpcPeeringConnectionId(v string) *UserIdGroupPair { - s.VpcPeeringConnectionId = &v - return s -} - // Describes telemetry for a VPN tunnel. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VgwTelemetry type VgwTelemetry struct { @@ -61886,36 +46100,6 @@ func (s VgwTelemetry) GoString() string { return s.String() } -// SetAcceptedRouteCount sets the AcceptedRouteCount field's value. -func (s *VgwTelemetry) SetAcceptedRouteCount(v int64) *VgwTelemetry { - s.AcceptedRouteCount = &v - return s -} - -// SetLastStatusChange sets the LastStatusChange field's value. -func (s *VgwTelemetry) SetLastStatusChange(v time.Time) *VgwTelemetry { - s.LastStatusChange = &v - return s -} - -// SetOutsideIpAddress sets the OutsideIpAddress field's value. -func (s *VgwTelemetry) SetOutsideIpAddress(v string) *VgwTelemetry { - s.OutsideIpAddress = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *VgwTelemetry) SetStatus(v TelemetryStatus) *VgwTelemetry { - s.Status = v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *VgwTelemetry) SetStatusMessage(v string) *VgwTelemetry { - s.StatusMessage = &v - return s -} - // Describes an EBS volume. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeDetail type VolumeDetail struct { @@ -61951,12 +46135,6 @@ func (s *VolumeDetail) Validate() error { return nil } -// SetSize sets the Size field's value. -func (s *VolumeDetail) SetSize(v int64) *VolumeDetail { - s.Size = &v - return s -} - // Describes the modification status of an EBS volume. // // If the volume has never been modified, some element values will be null. @@ -62012,78 +46190,6 @@ func (s VolumeModification) GoString() string { return s.String() } -// SetEndTime sets the EndTime field's value. -func (s *VolumeModification) SetEndTime(v time.Time) *VolumeModification { - s.EndTime = &v - return s -} - -// SetModificationState sets the ModificationState field's value. -func (s *VolumeModification) SetModificationState(v VolumeModificationState) *VolumeModification { - s.ModificationState = v - return s -} - -// SetOriginalIops sets the OriginalIops field's value. -func (s *VolumeModification) SetOriginalIops(v int64) *VolumeModification { - s.OriginalIops = &v - return s -} - -// SetOriginalSize sets the OriginalSize field's value. -func (s *VolumeModification) SetOriginalSize(v int64) *VolumeModification { - s.OriginalSize = &v - return s -} - -// SetOriginalVolumeType sets the OriginalVolumeType field's value. -func (s *VolumeModification) SetOriginalVolumeType(v VolumeType) *VolumeModification { - s.OriginalVolumeType = v - return s -} - -// SetProgress sets the Progress field's value. -func (s *VolumeModification) SetProgress(v int64) *VolumeModification { - s.Progress = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *VolumeModification) SetStartTime(v time.Time) *VolumeModification { - s.StartTime = &v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *VolumeModification) SetStatusMessage(v string) *VolumeModification { - s.StatusMessage = &v - return s -} - -// SetTargetIops sets the TargetIops field's value. -func (s *VolumeModification) SetTargetIops(v int64) *VolumeModification { - s.TargetIops = &v - return s -} - -// SetTargetSize sets the TargetSize field's value. -func (s *VolumeModification) SetTargetSize(v int64) *VolumeModification { - s.TargetSize = &v - return s -} - -// SetTargetVolumeType sets the TargetVolumeType field's value. -func (s *VolumeModification) SetTargetVolumeType(v VolumeType) *VolumeModification { - s.TargetVolumeType = v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *VolumeModification) SetVolumeId(v string) *VolumeModification { - s.VolumeId = &v - return s -} - // Describes a volume status operation code. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeStatusAction type VolumeStatusAction struct { @@ -62112,30 +46218,6 @@ func (s VolumeStatusAction) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *VolumeStatusAction) SetCode(v string) *VolumeStatusAction { - s.Code = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *VolumeStatusAction) SetDescription(v string) *VolumeStatusAction { - s.Description = &v - return s -} - -// SetEventId sets the EventId field's value. -func (s *VolumeStatusAction) SetEventId(v string) *VolumeStatusAction { - s.EventId = &v - return s -} - -// SetEventType sets the EventType field's value. -func (s *VolumeStatusAction) SetEventType(v string) *VolumeStatusAction { - s.EventType = &v - return s -} - // Describes a volume status. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeStatusDetails type VolumeStatusDetails struct { @@ -62158,18 +46240,6 @@ func (s VolumeStatusDetails) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *VolumeStatusDetails) SetName(v VolumeStatusName) *VolumeStatusDetails { - s.Name = v - return s -} - -// SetStatus sets the Status field's value. -func (s *VolumeStatusDetails) SetStatus(v string) *VolumeStatusDetails { - s.Status = &v - return s -} - // Describes a volume status event. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeStatusEvent type VolumeStatusEvent struct { @@ -62201,36 +46271,6 @@ func (s VolumeStatusEvent) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *VolumeStatusEvent) SetDescription(v string) *VolumeStatusEvent { - s.Description = &v - return s -} - -// SetEventId sets the EventId field's value. -func (s *VolumeStatusEvent) SetEventId(v string) *VolumeStatusEvent { - s.EventId = &v - return s -} - -// SetEventType sets the EventType field's value. -func (s *VolumeStatusEvent) SetEventType(v string) *VolumeStatusEvent { - s.EventType = &v - return s -} - -// SetNotAfter sets the NotAfter field's value. -func (s *VolumeStatusEvent) SetNotAfter(v time.Time) *VolumeStatusEvent { - s.NotAfter = &v - return s -} - -// SetNotBefore sets the NotBefore field's value. -func (s *VolumeStatusEvent) SetNotBefore(v time.Time) *VolumeStatusEvent { - s.NotBefore = &v - return s -} - // Describes the status of a volume. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeStatusInfo type VolumeStatusInfo struct { @@ -62253,18 +46293,6 @@ func (s VolumeStatusInfo) GoString() string { return s.String() } -// SetDetails sets the Details field's value. -func (s *VolumeStatusInfo) SetDetails(v []VolumeStatusDetails) *VolumeStatusInfo { - s.Details = v - return s -} - -// SetStatus sets the Status field's value. -func (s *VolumeStatusInfo) SetStatus(v VolumeStatusInfoStatus) *VolumeStatusInfo { - s.Status = v - return s -} - // Describes the volume status. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeStatusItem type VolumeStatusItem struct { @@ -62296,36 +46324,6 @@ func (s VolumeStatusItem) GoString() string { return s.String() } -// SetActions sets the Actions field's value. -func (s *VolumeStatusItem) SetActions(v []VolumeStatusAction) *VolumeStatusItem { - s.Actions = v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *VolumeStatusItem) SetAvailabilityZone(v string) *VolumeStatusItem { - s.AvailabilityZone = &v - return s -} - -// SetEvents sets the Events field's value. -func (s *VolumeStatusItem) SetEvents(v []VolumeStatusEvent) *VolumeStatusItem { - s.Events = v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *VolumeStatusItem) SetVolumeId(v string) *VolumeStatusItem { - s.VolumeId = &v - return s -} - -// SetVolumeStatus sets the VolumeStatus field's value. -func (s *VolumeStatusItem) SetVolumeStatus(v *VolumeStatusInfo) *VolumeStatusItem { - s.VolumeStatus = v - return s -} - // Describes a VPC. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Vpc type Vpc struct { @@ -62370,60 +46368,6 @@ func (s Vpc) GoString() string { return s.String() } -// SetCidrBlock sets the CidrBlock field's value. -func (s *Vpc) SetCidrBlock(v string) *Vpc { - s.CidrBlock = &v - return s -} - -// SetCidrBlockAssociationSet sets the CidrBlockAssociationSet field's value. -func (s *Vpc) SetCidrBlockAssociationSet(v []VpcCidrBlockAssociation) *Vpc { - s.CidrBlockAssociationSet = v - return s -} - -// SetDhcpOptionsId sets the DhcpOptionsId field's value. -func (s *Vpc) SetDhcpOptionsId(v string) *Vpc { - s.DhcpOptionsId = &v - return s -} - -// SetInstanceTenancy sets the InstanceTenancy field's value. -func (s *Vpc) SetInstanceTenancy(v Tenancy) *Vpc { - s.InstanceTenancy = v - return s -} - -// SetIpv6CidrBlockAssociationSet sets the Ipv6CidrBlockAssociationSet field's value. -func (s *Vpc) SetIpv6CidrBlockAssociationSet(v []VpcIpv6CidrBlockAssociation) *Vpc { - s.Ipv6CidrBlockAssociationSet = v - return s -} - -// SetIsDefault sets the IsDefault field's value. -func (s *Vpc) SetIsDefault(v bool) *Vpc { - s.IsDefault = &v - return s -} - -// SetState sets the State field's value. -func (s *Vpc) SetState(v VpcState) *Vpc { - s.State = v - return s -} - -// SetTags sets the Tags field's value. -func (s *Vpc) SetTags(v []Tag) *Vpc { - s.Tags = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *Vpc) SetVpcId(v string) *Vpc { - s.VpcId = &v - return s -} - // Describes an attachment between a virtual private gateway and a VPC. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcAttachment type VpcAttachment struct { @@ -62446,18 +46390,6 @@ func (s VpcAttachment) GoString() string { return s.String() } -// SetState sets the State field's value. -func (s *VpcAttachment) SetState(v AttachmentStatus) *VpcAttachment { - s.State = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *VpcAttachment) SetVpcId(v string) *VpcAttachment { - s.VpcId = &v - return s -} - // Describes an IPv4 CIDR block associated with a VPC. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcCidrBlockAssociation type VpcCidrBlockAssociation struct { @@ -62483,24 +46415,6 @@ func (s VpcCidrBlockAssociation) GoString() string { return s.String() } -// SetAssociationId sets the AssociationId field's value. -func (s *VpcCidrBlockAssociation) SetAssociationId(v string) *VpcCidrBlockAssociation { - s.AssociationId = &v - return s -} - -// SetCidrBlock sets the CidrBlock field's value. -func (s *VpcCidrBlockAssociation) SetCidrBlock(v string) *VpcCidrBlockAssociation { - s.CidrBlock = &v - return s -} - -// SetCidrBlockState sets the CidrBlockState field's value. -func (s *VpcCidrBlockAssociation) SetCidrBlockState(v *VpcCidrBlockState) *VpcCidrBlockAssociation { - s.CidrBlockState = v - return s -} - // Describes the state of a CIDR block. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcCidrBlockState type VpcCidrBlockState struct { @@ -62523,18 +46437,6 @@ func (s VpcCidrBlockState) GoString() string { return s.String() } -// SetState sets the State field's value. -func (s *VpcCidrBlockState) SetState(v VpcCidrBlockStateCode) *VpcCidrBlockState { - s.State = v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *VpcCidrBlockState) SetStatusMessage(v string) *VpcCidrBlockState { - s.StatusMessage = &v - return s -} - // Describes whether a VPC is enabled for ClassicLink. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcClassicLink type VpcClassicLink struct { @@ -62560,24 +46462,6 @@ func (s VpcClassicLink) GoString() string { return s.String() } -// SetClassicLinkEnabled sets the ClassicLinkEnabled field's value. -func (s *VpcClassicLink) SetClassicLinkEnabled(v bool) *VpcClassicLink { - s.ClassicLinkEnabled = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *VpcClassicLink) SetTags(v []Tag) *VpcClassicLink { - s.Tags = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *VpcClassicLink) SetVpcId(v string) *VpcClassicLink { - s.VpcId = &v - return s -} - // Describes a VPC endpoint. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcEndpoint type VpcEndpoint struct { @@ -62635,84 +46519,6 @@ func (s VpcEndpoint) GoString() string { return s.String() } -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *VpcEndpoint) SetCreationTimestamp(v time.Time) *VpcEndpoint { - s.CreationTimestamp = &v - return s -} - -// SetDnsEntries sets the DnsEntries field's value. -func (s *VpcEndpoint) SetDnsEntries(v []DnsEntry) *VpcEndpoint { - s.DnsEntries = v - return s -} - -// SetGroups sets the Groups field's value. -func (s *VpcEndpoint) SetGroups(v []SecurityGroupIdentifier) *VpcEndpoint { - s.Groups = v - return s -} - -// SetNetworkInterfaceIds sets the NetworkInterfaceIds field's value. -func (s *VpcEndpoint) SetNetworkInterfaceIds(v []string) *VpcEndpoint { - s.NetworkInterfaceIds = v - return s -} - -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *VpcEndpoint) SetPolicyDocument(v string) *VpcEndpoint { - s.PolicyDocument = &v - return s -} - -// SetPrivateDnsEnabled sets the PrivateDnsEnabled field's value. -func (s *VpcEndpoint) SetPrivateDnsEnabled(v bool) *VpcEndpoint { - s.PrivateDnsEnabled = &v - return s -} - -// SetRouteTableIds sets the RouteTableIds field's value. -func (s *VpcEndpoint) SetRouteTableIds(v []string) *VpcEndpoint { - s.RouteTableIds = v - return s -} - -// SetServiceName sets the ServiceName field's value. -func (s *VpcEndpoint) SetServiceName(v string) *VpcEndpoint { - s.ServiceName = &v - return s -} - -// SetState sets the State field's value. -func (s *VpcEndpoint) SetState(v State) *VpcEndpoint { - s.State = v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *VpcEndpoint) SetSubnetIds(v []string) *VpcEndpoint { - s.SubnetIds = v - return s -} - -// SetVpcEndpointId sets the VpcEndpointId field's value. -func (s *VpcEndpoint) SetVpcEndpointId(v string) *VpcEndpoint { - s.VpcEndpointId = &v - return s -} - -// SetVpcEndpointType sets the VpcEndpointType field's value. -func (s *VpcEndpoint) SetVpcEndpointType(v VpcEndpointType) *VpcEndpoint { - s.VpcEndpointType = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *VpcEndpoint) SetVpcId(v string) *VpcEndpoint { - s.VpcId = &v - return s -} - // Describes a VPC endpoint connection to a service. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcEndpointConnection type VpcEndpointConnection struct { @@ -62744,36 +46550,6 @@ func (s VpcEndpointConnection) GoString() string { return s.String() } -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *VpcEndpointConnection) SetCreationTimestamp(v time.Time) *VpcEndpointConnection { - s.CreationTimestamp = &v - return s -} - -// SetServiceId sets the ServiceId field's value. -func (s *VpcEndpointConnection) SetServiceId(v string) *VpcEndpointConnection { - s.ServiceId = &v - return s -} - -// SetVpcEndpointId sets the VpcEndpointId field's value. -func (s *VpcEndpointConnection) SetVpcEndpointId(v string) *VpcEndpointConnection { - s.VpcEndpointId = &v - return s -} - -// SetVpcEndpointOwner sets the VpcEndpointOwner field's value. -func (s *VpcEndpointConnection) SetVpcEndpointOwner(v string) *VpcEndpointConnection { - s.VpcEndpointOwner = &v - return s -} - -// SetVpcEndpointState sets the VpcEndpointState field's value. -func (s *VpcEndpointConnection) SetVpcEndpointState(v State) *VpcEndpointConnection { - s.VpcEndpointState = v - return s -} - // Describes an IPv6 CIDR block associated with a VPC. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcIpv6CidrBlockAssociation type VpcIpv6CidrBlockAssociation struct { @@ -62799,24 +46575,6 @@ func (s VpcIpv6CidrBlockAssociation) GoString() string { return s.String() } -// SetAssociationId sets the AssociationId field's value. -func (s *VpcIpv6CidrBlockAssociation) SetAssociationId(v string) *VpcIpv6CidrBlockAssociation { - s.AssociationId = &v - return s -} - -// SetIpv6CidrBlock sets the Ipv6CidrBlock field's value. -func (s *VpcIpv6CidrBlockAssociation) SetIpv6CidrBlock(v string) *VpcIpv6CidrBlockAssociation { - s.Ipv6CidrBlock = &v - return s -} - -// SetIpv6CidrBlockState sets the Ipv6CidrBlockState field's value. -func (s *VpcIpv6CidrBlockAssociation) SetIpv6CidrBlockState(v *VpcCidrBlockState) *VpcIpv6CidrBlockAssociation { - s.Ipv6CidrBlockState = v - return s -} - // Describes a VPC peering connection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcPeeringConnection type VpcPeeringConnection struct { @@ -62853,42 +46611,6 @@ func (s VpcPeeringConnection) GoString() string { return s.String() } -// SetAccepterVpcInfo sets the AccepterVpcInfo field's value. -func (s *VpcPeeringConnection) SetAccepterVpcInfo(v *VpcPeeringConnectionVpcInfo) *VpcPeeringConnection { - s.AccepterVpcInfo = v - return s -} - -// SetExpirationTime sets the ExpirationTime field's value. -func (s *VpcPeeringConnection) SetExpirationTime(v time.Time) *VpcPeeringConnection { - s.ExpirationTime = &v - return s -} - -// SetRequesterVpcInfo sets the RequesterVpcInfo field's value. -func (s *VpcPeeringConnection) SetRequesterVpcInfo(v *VpcPeeringConnectionVpcInfo) *VpcPeeringConnection { - s.RequesterVpcInfo = v - return s -} - -// SetStatus sets the Status field's value. -func (s *VpcPeeringConnection) SetStatus(v *VpcPeeringConnectionStateReason) *VpcPeeringConnection { - s.Status = v - return s -} - -// SetTags sets the Tags field's value. -func (s *VpcPeeringConnection) SetTags(v []Tag) *VpcPeeringConnection { - s.Tags = v - return s -} - -// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value. -func (s *VpcPeeringConnection) SetVpcPeeringConnectionId(v string) *VpcPeeringConnection { - s.VpcPeeringConnectionId = &v - return s -} - // Describes the VPC peering connection options. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcPeeringConnectionOptionsDescription type VpcPeeringConnectionOptionsDescription struct { @@ -62917,24 +46639,6 @@ func (s VpcPeeringConnectionOptionsDescription) GoString() string { return s.String() } -// SetAllowDnsResolutionFromRemoteVpc sets the AllowDnsResolutionFromRemoteVpc field's value. -func (s *VpcPeeringConnectionOptionsDescription) SetAllowDnsResolutionFromRemoteVpc(v bool) *VpcPeeringConnectionOptionsDescription { - s.AllowDnsResolutionFromRemoteVpc = &v - return s -} - -// SetAllowEgressFromLocalClassicLinkToRemoteVpc sets the AllowEgressFromLocalClassicLinkToRemoteVpc field's value. -func (s *VpcPeeringConnectionOptionsDescription) SetAllowEgressFromLocalClassicLinkToRemoteVpc(v bool) *VpcPeeringConnectionOptionsDescription { - s.AllowEgressFromLocalClassicLinkToRemoteVpc = &v - return s -} - -// SetAllowEgressFromLocalVpcToRemoteClassicLink sets the AllowEgressFromLocalVpcToRemoteClassicLink field's value. -func (s *VpcPeeringConnectionOptionsDescription) SetAllowEgressFromLocalVpcToRemoteClassicLink(v bool) *VpcPeeringConnectionOptionsDescription { - s.AllowEgressFromLocalVpcToRemoteClassicLink = &v - return s -} - // Describes the status of a VPC peering connection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcPeeringConnectionStateReason type VpcPeeringConnectionStateReason struct { @@ -62957,18 +46661,6 @@ func (s VpcPeeringConnectionStateReason) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *VpcPeeringConnectionStateReason) SetCode(v VpcPeeringConnectionStateReasonCode) *VpcPeeringConnectionStateReason { - s.Code = v - return s -} - -// SetMessage sets the Message field's value. -func (s *VpcPeeringConnectionStateReason) SetMessage(v string) *VpcPeeringConnectionStateReason { - s.Message = &v - return s -} - // Describes a VPC in a VPC peering connection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcPeeringConnectionVpcInfo type VpcPeeringConnectionVpcInfo struct { @@ -63007,48 +46699,6 @@ func (s VpcPeeringConnectionVpcInfo) GoString() string { return s.String() } -// SetCidrBlock sets the CidrBlock field's value. -func (s *VpcPeeringConnectionVpcInfo) SetCidrBlock(v string) *VpcPeeringConnectionVpcInfo { - s.CidrBlock = &v - return s -} - -// SetCidrBlockSet sets the CidrBlockSet field's value. -func (s *VpcPeeringConnectionVpcInfo) SetCidrBlockSet(v []CidrBlock) *VpcPeeringConnectionVpcInfo { - s.CidrBlockSet = v - return s -} - -// SetIpv6CidrBlockSet sets the Ipv6CidrBlockSet field's value. -func (s *VpcPeeringConnectionVpcInfo) SetIpv6CidrBlockSet(v []Ipv6CidrBlock) *VpcPeeringConnectionVpcInfo { - s.Ipv6CidrBlockSet = v - return s -} - -// SetOwnerId sets the OwnerId field's value. -func (s *VpcPeeringConnectionVpcInfo) SetOwnerId(v string) *VpcPeeringConnectionVpcInfo { - s.OwnerId = &v - return s -} - -// SetPeeringOptions sets the PeeringOptions field's value. -func (s *VpcPeeringConnectionVpcInfo) SetPeeringOptions(v *VpcPeeringConnectionOptionsDescription) *VpcPeeringConnectionVpcInfo { - s.PeeringOptions = v - return s -} - -// SetRegion sets the Region field's value. -func (s *VpcPeeringConnectionVpcInfo) SetRegion(v string) *VpcPeeringConnectionVpcInfo { - s.Region = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *VpcPeeringConnectionVpcInfo) SetVpcId(v string) *VpcPeeringConnectionVpcInfo { - s.VpcId = &v - return s -} - // Describes a VPN connection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnConnection type VpnConnection struct { @@ -63104,72 +46754,6 @@ func (s VpnConnection) GoString() string { return s.String() } -// SetCategory sets the Category field's value. -func (s *VpnConnection) SetCategory(v string) *VpnConnection { - s.Category = &v - return s -} - -// SetCustomerGatewayConfiguration sets the CustomerGatewayConfiguration field's value. -func (s *VpnConnection) SetCustomerGatewayConfiguration(v string) *VpnConnection { - s.CustomerGatewayConfiguration = &v - return s -} - -// SetCustomerGatewayId sets the CustomerGatewayId field's value. -func (s *VpnConnection) SetCustomerGatewayId(v string) *VpnConnection { - s.CustomerGatewayId = &v - return s -} - -// SetOptions sets the Options field's value. -func (s *VpnConnection) SetOptions(v *VpnConnectionOptions) *VpnConnection { - s.Options = v - return s -} - -// SetRoutes sets the Routes field's value. -func (s *VpnConnection) SetRoutes(v []VpnStaticRoute) *VpnConnection { - s.Routes = v - return s -} - -// SetState sets the State field's value. -func (s *VpnConnection) SetState(v VpnState) *VpnConnection { - s.State = v - return s -} - -// SetTags sets the Tags field's value. -func (s *VpnConnection) SetTags(v []Tag) *VpnConnection { - s.Tags = v - return s -} - -// SetType sets the Type field's value. -func (s *VpnConnection) SetType(v GatewayType) *VpnConnection { - s.Type = v - return s -} - -// SetVgwTelemetry sets the VgwTelemetry field's value. -func (s *VpnConnection) SetVgwTelemetry(v []VgwTelemetry) *VpnConnection { - s.VgwTelemetry = v - return s -} - -// SetVpnConnectionId sets the VpnConnectionId field's value. -func (s *VpnConnection) SetVpnConnectionId(v string) *VpnConnection { - s.VpnConnectionId = &v - return s -} - -// SetVpnGatewayId sets the VpnGatewayId field's value. -func (s *VpnConnection) SetVpnGatewayId(v string) *VpnConnection { - s.VpnGatewayId = &v - return s -} - // Describes VPN connection options. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnConnectionOptions type VpnConnectionOptions struct { @@ -63190,12 +46774,6 @@ func (s VpnConnectionOptions) GoString() string { return s.String() } -// SetStaticRoutesOnly sets the StaticRoutesOnly field's value. -func (s *VpnConnectionOptions) SetStaticRoutesOnly(v bool) *VpnConnectionOptions { - s.StaticRoutesOnly = &v - return s -} - // Describes VPN connection options. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnConnectionOptionsSpecification type VpnConnectionOptionsSpecification struct { @@ -63222,18 +46800,6 @@ func (s VpnConnectionOptionsSpecification) GoString() string { return s.String() } -// SetStaticRoutesOnly sets the StaticRoutesOnly field's value. -func (s *VpnConnectionOptionsSpecification) SetStaticRoutesOnly(v bool) *VpnConnectionOptionsSpecification { - s.StaticRoutesOnly = &v - return s -} - -// SetTunnelOptions sets the TunnelOptions field's value. -func (s *VpnConnectionOptionsSpecification) SetTunnelOptions(v []VpnTunnelOptionsSpecification) *VpnConnectionOptionsSpecification { - s.TunnelOptions = v - return s -} - // Describes a virtual private gateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnGateway type VpnGateway struct { @@ -63272,48 +46838,6 @@ func (s VpnGateway) GoString() string { return s.String() } -// SetAmazonSideAsn sets the AmazonSideAsn field's value. -func (s *VpnGateway) SetAmazonSideAsn(v int64) *VpnGateway { - s.AmazonSideAsn = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *VpnGateway) SetAvailabilityZone(v string) *VpnGateway { - s.AvailabilityZone = &v - return s -} - -// SetState sets the State field's value. -func (s *VpnGateway) SetState(v VpnState) *VpnGateway { - s.State = v - return s -} - -// SetTags sets the Tags field's value. -func (s *VpnGateway) SetTags(v []Tag) *VpnGateway { - s.Tags = v - return s -} - -// SetType sets the Type field's value. -func (s *VpnGateway) SetType(v GatewayType) *VpnGateway { - s.Type = v - return s -} - -// SetVpcAttachments sets the VpcAttachments field's value. -func (s *VpnGateway) SetVpcAttachments(v []VpcAttachment) *VpnGateway { - s.VpcAttachments = v - return s -} - -// SetVpnGatewayId sets the VpnGatewayId field's value. -func (s *VpnGateway) SetVpnGatewayId(v string) *VpnGateway { - s.VpnGatewayId = &v - return s -} - // Describes a static route for a VPN connection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnStaticRoute type VpnStaticRoute struct { @@ -63339,24 +46863,6 @@ func (s VpnStaticRoute) GoString() string { return s.String() } -// SetDestinationCidrBlock sets the DestinationCidrBlock field's value. -func (s *VpnStaticRoute) SetDestinationCidrBlock(v string) *VpnStaticRoute { - s.DestinationCidrBlock = &v - return s -} - -// SetSource sets the Source field's value. -func (s *VpnStaticRoute) SetSource(v VpnStaticRouteSource) *VpnStaticRoute { - s.Source = v - return s -} - -// SetState sets the State field's value. -func (s *VpnStaticRoute) SetState(v VpnState) *VpnStaticRoute { - s.State = v - return s -} - // The tunnel options for a VPN connection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnTunnelOptionsSpecification type VpnTunnelOptionsSpecification struct { @@ -63402,18 +46908,6 @@ func (s VpnTunnelOptionsSpecification) GoString() string { return s.String() } -// SetPreSharedKey sets the PreSharedKey field's value. -func (s *VpnTunnelOptionsSpecification) SetPreSharedKey(v string) *VpnTunnelOptionsSpecification { - s.PreSharedKey = &v - return s -} - -// SetTunnelInsideCidr sets the TunnelInsideCidr field's value. -func (s *VpnTunnelOptionsSpecification) SetTunnelInsideCidr(v string) *VpnTunnelOptionsSpecification { - s.TunnelInsideCidr = &v - return s -} - type AccountAttributeName string // Enum values for AccountAttributeName diff --git a/service/ecr/api.go b/service/ecr/api.go index 6f390f84557..9a31d2339d8 100644 --- a/service/ecr/api.go +++ b/service/ecr/api.go @@ -1343,24 +1343,6 @@ func (s AuthorizationData) GoString() string { return s.String() } -// SetAuthorizationToken sets the AuthorizationToken field's value. -func (s *AuthorizationData) SetAuthorizationToken(v string) *AuthorizationData { - s.AuthorizationToken = &v - return s -} - -// SetExpiresAt sets the ExpiresAt field's value. -func (s *AuthorizationData) SetExpiresAt(v time.Time) *AuthorizationData { - s.ExpiresAt = &v - return s -} - -// SetProxyEndpoint sets the ProxyEndpoint field's value. -func (s *AuthorizationData) SetProxyEndpoint(v string) *AuthorizationData { - s.ProxyEndpoint = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchCheckLayerAvailabilityRequest type BatchCheckLayerAvailabilityInput struct { _ struct{} `type:"structure"` @@ -1414,24 +1396,6 @@ func (s *BatchCheckLayerAvailabilityInput) Validate() error { return nil } -// SetLayerDigests sets the LayerDigests field's value. -func (s *BatchCheckLayerAvailabilityInput) SetLayerDigests(v []string) *BatchCheckLayerAvailabilityInput { - s.LayerDigests = v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *BatchCheckLayerAvailabilityInput) SetRegistryId(v string) *BatchCheckLayerAvailabilityInput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *BatchCheckLayerAvailabilityInput) SetRepositoryName(v string) *BatchCheckLayerAvailabilityInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchCheckLayerAvailabilityResponse type BatchCheckLayerAvailabilityOutput struct { _ struct{} `type:"structure"` @@ -1461,18 +1425,6 @@ func (s BatchCheckLayerAvailabilityOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailures sets the Failures field's value. -func (s *BatchCheckLayerAvailabilityOutput) SetFailures(v []LayerFailure) *BatchCheckLayerAvailabilityOutput { - s.Failures = v - return s -} - -// SetLayers sets the Layers field's value. -func (s *BatchCheckLayerAvailabilityOutput) SetLayers(v []Layer) *BatchCheckLayerAvailabilityOutput { - s.Layers = v - return s -} - // Deletes specified images within a specified repository. Images are specified // with either the imageTag or imageDigest. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImageRequest @@ -1529,24 +1481,6 @@ func (s *BatchDeleteImageInput) Validate() error { return nil } -// SetImageIds sets the ImageIds field's value. -func (s *BatchDeleteImageInput) SetImageIds(v []ImageIdentifier) *BatchDeleteImageInput { - s.ImageIds = v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *BatchDeleteImageInput) SetRegistryId(v string) *BatchDeleteImageInput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *BatchDeleteImageInput) SetRepositoryName(v string) *BatchDeleteImageInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImageResponse type BatchDeleteImageOutput struct { _ struct{} `type:"structure"` @@ -1575,18 +1509,6 @@ func (s BatchDeleteImageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailures sets the Failures field's value. -func (s *BatchDeleteImageOutput) SetFailures(v []ImageFailure) *BatchDeleteImageOutput { - s.Failures = v - return s -} - -// SetImageIds sets the ImageIds field's value. -func (s *BatchDeleteImageOutput) SetImageIds(v []ImageIdentifier) *BatchDeleteImageOutput { - s.ImageIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetImageRequest type BatchGetImageInput struct { _ struct{} `type:"structure"` @@ -1650,30 +1572,6 @@ func (s *BatchGetImageInput) Validate() error { return nil } -// SetAcceptedMediaTypes sets the AcceptedMediaTypes field's value. -func (s *BatchGetImageInput) SetAcceptedMediaTypes(v []string) *BatchGetImageInput { - s.AcceptedMediaTypes = v - return s -} - -// SetImageIds sets the ImageIds field's value. -func (s *BatchGetImageInput) SetImageIds(v []ImageIdentifier) *BatchGetImageInput { - s.ImageIds = v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *BatchGetImageInput) SetRegistryId(v string) *BatchGetImageInput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *BatchGetImageInput) SetRepositoryName(v string) *BatchGetImageInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetImageResponse type BatchGetImageOutput struct { _ struct{} `type:"structure"` @@ -1702,18 +1600,6 @@ func (s BatchGetImageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailures sets the Failures field's value. -func (s *BatchGetImageOutput) SetFailures(v []ImageFailure) *BatchGetImageOutput { - s.Failures = v - return s -} - -// SetImages sets the Images field's value. -func (s *BatchGetImageOutput) SetImages(v []Image) *BatchGetImageOutput { - s.Images = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CompleteLayerUploadRequest type CompleteLayerUploadInput struct { _ struct{} `type:"structure"` @@ -1777,30 +1663,6 @@ func (s *CompleteLayerUploadInput) Validate() error { return nil } -// SetLayerDigests sets the LayerDigests field's value. -func (s *CompleteLayerUploadInput) SetLayerDigests(v []string) *CompleteLayerUploadInput { - s.LayerDigests = v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *CompleteLayerUploadInput) SetRegistryId(v string) *CompleteLayerUploadInput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *CompleteLayerUploadInput) SetRepositoryName(v string) *CompleteLayerUploadInput { - s.RepositoryName = &v - return s -} - -// SetUploadId sets the UploadId field's value. -func (s *CompleteLayerUploadInput) SetUploadId(v string) *CompleteLayerUploadInput { - s.UploadId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CompleteLayerUploadResponse type CompleteLayerUploadOutput struct { _ struct{} `type:"structure"` @@ -1835,30 +1697,6 @@ func (s CompleteLayerUploadOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLayerDigest sets the LayerDigest field's value. -func (s *CompleteLayerUploadOutput) SetLayerDigest(v string) *CompleteLayerUploadOutput { - s.LayerDigest = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *CompleteLayerUploadOutput) SetRegistryId(v string) *CompleteLayerUploadOutput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *CompleteLayerUploadOutput) SetRepositoryName(v string) *CompleteLayerUploadOutput { - s.RepositoryName = &v - return s -} - -// SetUploadId sets the UploadId field's value. -func (s *CompleteLayerUploadOutput) SetUploadId(v string) *CompleteLayerUploadOutput { - s.UploadId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepositoryRequest type CreateRepositoryInput struct { _ struct{} `type:"structure"` @@ -1898,12 +1736,6 @@ func (s *CreateRepositoryInput) Validate() error { return nil } -// SetRepositoryName sets the RepositoryName field's value. -func (s *CreateRepositoryInput) SetRepositoryName(v string) *CreateRepositoryInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepositoryResponse type CreateRepositoryOutput struct { _ struct{} `type:"structure"` @@ -1929,12 +1761,6 @@ func (s CreateRepositoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRepository sets the Repository field's value. -func (s *CreateRepositoryOutput) SetRepository(v *Repository) *CreateRepositoryOutput { - s.Repository = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteLifecyclePolicyRequest type DeleteLifecyclePolicyInput struct { _ struct{} `type:"structure"` @@ -1977,18 +1803,6 @@ func (s *DeleteLifecyclePolicyInput) Validate() error { return nil } -// SetRegistryId sets the RegistryId field's value. -func (s *DeleteLifecyclePolicyInput) SetRegistryId(v string) *DeleteLifecyclePolicyInput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *DeleteLifecyclePolicyInput) SetRepositoryName(v string) *DeleteLifecyclePolicyInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteLifecyclePolicyResponse type DeleteLifecyclePolicyOutput struct { _ struct{} `type:"structure"` @@ -2023,30 +1837,6 @@ func (s DeleteLifecyclePolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLastEvaluatedAt sets the LastEvaluatedAt field's value. -func (s *DeleteLifecyclePolicyOutput) SetLastEvaluatedAt(v time.Time) *DeleteLifecyclePolicyOutput { - s.LastEvaluatedAt = &v - return s -} - -// SetLifecyclePolicyText sets the LifecyclePolicyText field's value. -func (s *DeleteLifecyclePolicyOutput) SetLifecyclePolicyText(v string) *DeleteLifecyclePolicyOutput { - s.LifecyclePolicyText = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *DeleteLifecyclePolicyOutput) SetRegistryId(v string) *DeleteLifecyclePolicyOutput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *DeleteLifecyclePolicyOutput) SetRepositoryName(v string) *DeleteLifecyclePolicyOutput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryRequest type DeleteRepositoryInput struct { _ struct{} `type:"structure"` @@ -2091,24 +1881,6 @@ func (s *DeleteRepositoryInput) Validate() error { return nil } -// SetForce sets the Force field's value. -func (s *DeleteRepositoryInput) SetForce(v bool) *DeleteRepositoryInput { - s.Force = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *DeleteRepositoryInput) SetRegistryId(v string) *DeleteRepositoryInput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *DeleteRepositoryInput) SetRepositoryName(v string) *DeleteRepositoryInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryResponse type DeleteRepositoryOutput struct { _ struct{} `type:"structure"` @@ -2134,12 +1906,6 @@ func (s DeleteRepositoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRepository sets the Repository field's value. -func (s *DeleteRepositoryOutput) SetRepository(v *Repository) *DeleteRepositoryOutput { - s.Repository = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryPolicyRequest type DeleteRepositoryPolicyInput struct { _ struct{} `type:"structure"` @@ -2183,18 +1949,6 @@ func (s *DeleteRepositoryPolicyInput) Validate() error { return nil } -// SetRegistryId sets the RegistryId field's value. -func (s *DeleteRepositoryPolicyInput) SetRegistryId(v string) *DeleteRepositoryPolicyInput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *DeleteRepositoryPolicyInput) SetRepositoryName(v string) *DeleteRepositoryPolicyInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryPolicyResponse type DeleteRepositoryPolicyOutput struct { _ struct{} `type:"structure"` @@ -2226,24 +1980,6 @@ func (s DeleteRepositoryPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicyText sets the PolicyText field's value. -func (s *DeleteRepositoryPolicyOutput) SetPolicyText(v string) *DeleteRepositoryPolicyOutput { - s.PolicyText = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *DeleteRepositoryPolicyOutput) SetRegistryId(v string) *DeleteRepositoryPolicyOutput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *DeleteRepositoryPolicyOutput) SetRepositoryName(v string) *DeleteRepositoryPolicyOutput { - s.RepositoryName = &v - return s -} - // An object representing a filter on a DescribeImages operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImagesFilter type DescribeImagesFilter struct { @@ -2264,12 +2000,6 @@ func (s DescribeImagesFilter) GoString() string { return s.String() } -// SetTagStatus sets the TagStatus field's value. -func (s *DescribeImagesFilter) SetTagStatus(v TagStatus) *DescribeImagesFilter { - s.TagStatus = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImagesRequest type DescribeImagesInput struct { _ struct{} `type:"structure"` @@ -2340,42 +2070,6 @@ func (s *DescribeImagesInput) Validate() error { return nil } -// SetFilter sets the Filter field's value. -func (s *DescribeImagesInput) SetFilter(v *DescribeImagesFilter) *DescribeImagesInput { - s.Filter = v - return s -} - -// SetImageIds sets the ImageIds field's value. -func (s *DescribeImagesInput) SetImageIds(v []ImageIdentifier) *DescribeImagesInput { - s.ImageIds = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeImagesInput) SetMaxResults(v int64) *DescribeImagesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeImagesInput) SetNextToken(v string) *DescribeImagesInput { - s.NextToken = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *DescribeImagesInput) SetRegistryId(v string) *DescribeImagesInput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *DescribeImagesInput) SetRepositoryName(v string) *DescribeImagesInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImagesResponse type DescribeImagesOutput struct { _ struct{} `type:"structure"` @@ -2407,18 +2101,6 @@ func (s DescribeImagesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImageDetails sets the ImageDetails field's value. -func (s *DescribeImagesOutput) SetImageDetails(v []ImageDetail) *DescribeImagesOutput { - s.ImageDetails = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeImagesOutput) SetNextToken(v string) *DescribeImagesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositoriesRequest type DescribeRepositoriesInput struct { _ struct{} `type:"structure"` @@ -2478,30 +2160,6 @@ func (s *DescribeRepositoriesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeRepositoriesInput) SetMaxResults(v int64) *DescribeRepositoriesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeRepositoriesInput) SetNextToken(v string) *DescribeRepositoriesInput { - s.NextToken = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *DescribeRepositoriesInput) SetRegistryId(v string) *DescribeRepositoriesInput { - s.RegistryId = &v - return s -} - -// SetRepositoryNames sets the RepositoryNames field's value. -func (s *DescribeRepositoriesInput) SetRepositoryNames(v []string) *DescribeRepositoriesInput { - s.RepositoryNames = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositoriesResponse type DescribeRepositoriesOutput struct { _ struct{} `type:"structure"` @@ -2533,18 +2191,6 @@ func (s DescribeRepositoriesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeRepositoriesOutput) SetNextToken(v string) *DescribeRepositoriesOutput { - s.NextToken = &v - return s -} - -// SetRepositories sets the Repositories field's value. -func (s *DescribeRepositoriesOutput) SetRepositories(v []Repository) *DescribeRepositoriesOutput { - s.Repositories = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationTokenRequest type GetAuthorizationTokenInput struct { _ struct{} `type:"structure"` @@ -2578,12 +2224,6 @@ func (s *GetAuthorizationTokenInput) Validate() error { return nil } -// SetRegistryIds sets the RegistryIds field's value. -func (s *GetAuthorizationTokenInput) SetRegistryIds(v []string) *GetAuthorizationTokenInput { - s.RegistryIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationTokenResponse type GetAuthorizationTokenOutput struct { _ struct{} `type:"structure"` @@ -2610,12 +2250,6 @@ func (s GetAuthorizationTokenOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAuthorizationData sets the AuthorizationData field's value. -func (s *GetAuthorizationTokenOutput) SetAuthorizationData(v []AuthorizationData) *GetAuthorizationTokenOutput { - s.AuthorizationData = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetDownloadUrlForLayerRequest type GetDownloadUrlForLayerInput struct { _ struct{} `type:"structure"` @@ -2666,24 +2300,6 @@ func (s *GetDownloadUrlForLayerInput) Validate() error { return nil } -// SetLayerDigest sets the LayerDigest field's value. -func (s *GetDownloadUrlForLayerInput) SetLayerDigest(v string) *GetDownloadUrlForLayerInput { - s.LayerDigest = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *GetDownloadUrlForLayerInput) SetRegistryId(v string) *GetDownloadUrlForLayerInput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *GetDownloadUrlForLayerInput) SetRepositoryName(v string) *GetDownloadUrlForLayerInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetDownloadUrlForLayerResponse type GetDownloadUrlForLayerOutput struct { _ struct{} `type:"structure"` @@ -2712,18 +2328,6 @@ func (s GetDownloadUrlForLayerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDownloadUrl sets the DownloadUrl field's value. -func (s *GetDownloadUrlForLayerOutput) SetDownloadUrl(v string) *GetDownloadUrlForLayerOutput { - s.DownloadUrl = &v - return s -} - -// SetLayerDigest sets the LayerDigest field's value. -func (s *GetDownloadUrlForLayerOutput) SetLayerDigest(v string) *GetDownloadUrlForLayerOutput { - s.LayerDigest = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyRequest type GetLifecyclePolicyInput struct { _ struct{} `type:"structure"` @@ -2765,18 +2369,6 @@ func (s *GetLifecyclePolicyInput) Validate() error { return nil } -// SetRegistryId sets the RegistryId field's value. -func (s *GetLifecyclePolicyInput) SetRegistryId(v string) *GetLifecyclePolicyInput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *GetLifecyclePolicyInput) SetRepositoryName(v string) *GetLifecyclePolicyInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyResponse type GetLifecyclePolicyOutput struct { _ struct{} `type:"structure"` @@ -2811,30 +2403,6 @@ func (s GetLifecyclePolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLastEvaluatedAt sets the LastEvaluatedAt field's value. -func (s *GetLifecyclePolicyOutput) SetLastEvaluatedAt(v time.Time) *GetLifecyclePolicyOutput { - s.LastEvaluatedAt = &v - return s -} - -// SetLifecyclePolicyText sets the LifecyclePolicyText field's value. -func (s *GetLifecyclePolicyOutput) SetLifecyclePolicyText(v string) *GetLifecyclePolicyOutput { - s.LifecyclePolicyText = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *GetLifecyclePolicyOutput) SetRegistryId(v string) *GetLifecyclePolicyOutput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *GetLifecyclePolicyOutput) SetRepositoryName(v string) *GetLifecyclePolicyOutput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyPreviewRequest type GetLifecyclePolicyPreviewInput struct { _ struct{} `type:"structure"` @@ -2906,42 +2474,6 @@ func (s *GetLifecyclePolicyPreviewInput) Validate() error { return nil } -// SetFilter sets the Filter field's value. -func (s *GetLifecyclePolicyPreviewInput) SetFilter(v *LifecyclePolicyPreviewFilter) *GetLifecyclePolicyPreviewInput { - s.Filter = v - return s -} - -// SetImageIds sets the ImageIds field's value. -func (s *GetLifecyclePolicyPreviewInput) SetImageIds(v []ImageIdentifier) *GetLifecyclePolicyPreviewInput { - s.ImageIds = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetLifecyclePolicyPreviewInput) SetMaxResults(v int64) *GetLifecyclePolicyPreviewInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetLifecyclePolicyPreviewInput) SetNextToken(v string) *GetLifecyclePolicyPreviewInput { - s.NextToken = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *GetLifecyclePolicyPreviewInput) SetRegistryId(v string) *GetLifecyclePolicyPreviewInput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *GetLifecyclePolicyPreviewInput) SetRepositoryName(v string) *GetLifecyclePolicyPreviewInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyPreviewResponse type GetLifecyclePolicyPreviewOutput struct { _ struct{} `type:"structure"` @@ -2988,48 +2520,6 @@ func (s GetLifecyclePolicyPreviewOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLifecyclePolicyText sets the LifecyclePolicyText field's value. -func (s *GetLifecyclePolicyPreviewOutput) SetLifecyclePolicyText(v string) *GetLifecyclePolicyPreviewOutput { - s.LifecyclePolicyText = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetLifecyclePolicyPreviewOutput) SetNextToken(v string) *GetLifecyclePolicyPreviewOutput { - s.NextToken = &v - return s -} - -// SetPreviewResults sets the PreviewResults field's value. -func (s *GetLifecyclePolicyPreviewOutput) SetPreviewResults(v []LifecyclePolicyPreviewResult) *GetLifecyclePolicyPreviewOutput { - s.PreviewResults = v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *GetLifecyclePolicyPreviewOutput) SetRegistryId(v string) *GetLifecyclePolicyPreviewOutput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *GetLifecyclePolicyPreviewOutput) SetRepositoryName(v string) *GetLifecyclePolicyPreviewOutput { - s.RepositoryName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetLifecyclePolicyPreviewOutput) SetStatus(v LifecyclePolicyPreviewStatus) *GetLifecyclePolicyPreviewOutput { - s.Status = v - return s -} - -// SetSummary sets the Summary field's value. -func (s *GetLifecyclePolicyPreviewOutput) SetSummary(v *LifecyclePolicyPreviewSummary) *GetLifecyclePolicyPreviewOutput { - s.Summary = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRepositoryPolicyRequest type GetRepositoryPolicyInput struct { _ struct{} `type:"structure"` @@ -3071,18 +2561,6 @@ func (s *GetRepositoryPolicyInput) Validate() error { return nil } -// SetRegistryId sets the RegistryId field's value. -func (s *GetRepositoryPolicyInput) SetRegistryId(v string) *GetRepositoryPolicyInput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *GetRepositoryPolicyInput) SetRepositoryName(v string) *GetRepositoryPolicyInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRepositoryPolicyResponse type GetRepositoryPolicyOutput struct { _ struct{} `type:"structure"` @@ -3114,24 +2592,6 @@ func (s GetRepositoryPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicyText sets the PolicyText field's value. -func (s *GetRepositoryPolicyOutput) SetPolicyText(v string) *GetRepositoryPolicyOutput { - s.PolicyText = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *GetRepositoryPolicyOutput) SetRegistryId(v string) *GetRepositoryPolicyOutput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *GetRepositoryPolicyOutput) SetRepositoryName(v string) *GetRepositoryPolicyOutput { - s.RepositoryName = &v - return s -} - // An object representing an Amazon ECR image. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Image type Image struct { @@ -3160,30 +2620,6 @@ func (s Image) GoString() string { return s.String() } -// SetImageId sets the ImageId field's value. -func (s *Image) SetImageId(v *ImageIdentifier) *Image { - s.ImageId = v - return s -} - -// SetImageManifest sets the ImageManifest field's value. -func (s *Image) SetImageManifest(v string) *Image { - s.ImageManifest = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *Image) SetRegistryId(v string) *Image { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *Image) SetRepositoryName(v string) *Image { - s.RepositoryName = &v - return s -} - // An object that describes an image returned by a DescribeImages operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageDetail type ImageDetail struct { @@ -3224,42 +2660,6 @@ func (s ImageDetail) GoString() string { return s.String() } -// SetImageDigest sets the ImageDigest field's value. -func (s *ImageDetail) SetImageDigest(v string) *ImageDetail { - s.ImageDigest = &v - return s -} - -// SetImagePushedAt sets the ImagePushedAt field's value. -func (s *ImageDetail) SetImagePushedAt(v time.Time) *ImageDetail { - s.ImagePushedAt = &v - return s -} - -// SetImageSizeInBytes sets the ImageSizeInBytes field's value. -func (s *ImageDetail) SetImageSizeInBytes(v int64) *ImageDetail { - s.ImageSizeInBytes = &v - return s -} - -// SetImageTags sets the ImageTags field's value. -func (s *ImageDetail) SetImageTags(v []string) *ImageDetail { - s.ImageTags = v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *ImageDetail) SetRegistryId(v string) *ImageDetail { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *ImageDetail) SetRepositoryName(v string) *ImageDetail { - s.RepositoryName = &v - return s -} - // An object representing an Amazon ECR image failure. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageFailure type ImageFailure struct { @@ -3285,24 +2685,6 @@ func (s ImageFailure) GoString() string { return s.String() } -// SetFailureCode sets the FailureCode field's value. -func (s *ImageFailure) SetFailureCode(v ImageFailureCode) *ImageFailure { - s.FailureCode = v - return s -} - -// SetFailureReason sets the FailureReason field's value. -func (s *ImageFailure) SetFailureReason(v string) *ImageFailure { - s.FailureReason = &v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *ImageFailure) SetImageId(v *ImageIdentifier) *ImageFailure { - s.ImageId = v - return s -} - // An object with identifying information for an Amazon ECR image. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ImageIdentifier type ImageIdentifier struct { @@ -3325,18 +2707,6 @@ func (s ImageIdentifier) GoString() string { return s.String() } -// SetImageDigest sets the ImageDigest field's value. -func (s *ImageIdentifier) SetImageDigest(v string) *ImageIdentifier { - s.ImageDigest = &v - return s -} - -// SetImageTag sets the ImageTag field's value. -func (s *ImageIdentifier) SetImageTag(v string) *ImageIdentifier { - s.ImageTag = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InitiateLayerUploadRequest type InitiateLayerUploadInput struct { _ struct{} `type:"structure"` @@ -3378,18 +2748,6 @@ func (s *InitiateLayerUploadInput) Validate() error { return nil } -// SetRegistryId sets the RegistryId field's value. -func (s *InitiateLayerUploadInput) SetRegistryId(v string) *InitiateLayerUploadInput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *InitiateLayerUploadInput) SetRepositoryName(v string) *InitiateLayerUploadInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InitiateLayerUploadResponse type InitiateLayerUploadOutput struct { _ struct{} `type:"structure"` @@ -3420,18 +2778,6 @@ func (s InitiateLayerUploadOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPartSize sets the PartSize field's value. -func (s *InitiateLayerUploadOutput) SetPartSize(v int64) *InitiateLayerUploadOutput { - s.PartSize = &v - return s -} - -// SetUploadId sets the UploadId field's value. -func (s *InitiateLayerUploadOutput) SetUploadId(v string) *InitiateLayerUploadOutput { - s.UploadId = &v - return s -} - // An object representing an Amazon ECR image layer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Layer type Layer struct { @@ -3461,30 +2807,6 @@ func (s Layer) GoString() string { return s.String() } -// SetLayerAvailability sets the LayerAvailability field's value. -func (s *Layer) SetLayerAvailability(v LayerAvailability) *Layer { - s.LayerAvailability = v - return s -} - -// SetLayerDigest sets the LayerDigest field's value. -func (s *Layer) SetLayerDigest(v string) *Layer { - s.LayerDigest = &v - return s -} - -// SetLayerSize sets the LayerSize field's value. -func (s *Layer) SetLayerSize(v int64) *Layer { - s.LayerSize = &v - return s -} - -// SetMediaType sets the MediaType field's value. -func (s *Layer) SetMediaType(v string) *Layer { - s.MediaType = &v - return s -} - // An object representing an Amazon ECR image layer failure. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LayerFailure type LayerFailure struct { @@ -3510,24 +2832,6 @@ func (s LayerFailure) GoString() string { return s.String() } -// SetFailureCode sets the FailureCode field's value. -func (s *LayerFailure) SetFailureCode(v LayerFailureCode) *LayerFailure { - s.FailureCode = v - return s -} - -// SetFailureReason sets the FailureReason field's value. -func (s *LayerFailure) SetFailureReason(v string) *LayerFailure { - s.FailureReason = &v - return s -} - -// SetLayerDigest sets the LayerDigest field's value. -func (s *LayerFailure) SetLayerDigest(v string) *LayerFailure { - s.LayerDigest = &v - return s -} - // The filter for the lifecycle policy preview. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyPreviewFilter type LifecyclePolicyPreviewFilter struct { @@ -3547,12 +2851,6 @@ func (s LifecyclePolicyPreviewFilter) GoString() string { return s.String() } -// SetTagStatus sets the TagStatus field's value. -func (s *LifecyclePolicyPreviewFilter) SetTagStatus(v TagStatus) *LifecyclePolicyPreviewFilter { - s.TagStatus = v - return s -} - // The result of the lifecycle policy preview. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyPreviewResult type LifecyclePolicyPreviewResult struct { @@ -3585,36 +2883,6 @@ func (s LifecyclePolicyPreviewResult) GoString() string { return s.String() } -// SetAction sets the Action field's value. -func (s *LifecyclePolicyPreviewResult) SetAction(v *LifecyclePolicyRuleAction) *LifecyclePolicyPreviewResult { - s.Action = v - return s -} - -// SetAppliedRulePriority sets the AppliedRulePriority field's value. -func (s *LifecyclePolicyPreviewResult) SetAppliedRulePriority(v int64) *LifecyclePolicyPreviewResult { - s.AppliedRulePriority = &v - return s -} - -// SetImageDigest sets the ImageDigest field's value. -func (s *LifecyclePolicyPreviewResult) SetImageDigest(v string) *LifecyclePolicyPreviewResult { - s.ImageDigest = &v - return s -} - -// SetImagePushedAt sets the ImagePushedAt field's value. -func (s *LifecyclePolicyPreviewResult) SetImagePushedAt(v time.Time) *LifecyclePolicyPreviewResult { - s.ImagePushedAt = &v - return s -} - -// SetImageTags sets the ImageTags field's value. -func (s *LifecyclePolicyPreviewResult) SetImageTags(v []string) *LifecyclePolicyPreviewResult { - s.ImageTags = v - return s -} - // The summary of the lifecycle policy preview request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyPreviewSummary type LifecyclePolicyPreviewSummary struct { @@ -3634,12 +2902,6 @@ func (s LifecyclePolicyPreviewSummary) GoString() string { return s.String() } -// SetExpiringImageTotalCount sets the ExpiringImageTotalCount field's value. -func (s *LifecyclePolicyPreviewSummary) SetExpiringImageTotalCount(v int64) *LifecyclePolicyPreviewSummary { - s.ExpiringImageTotalCount = &v - return s -} - // The type of action to be taken. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/LifecyclePolicyRuleAction type LifecyclePolicyRuleAction struct { @@ -3659,12 +2921,6 @@ func (s LifecyclePolicyRuleAction) GoString() string { return s.String() } -// SetType sets the Type field's value. -func (s *LifecyclePolicyRuleAction) SetType(v ImageActionType) *LifecyclePolicyRuleAction { - s.Type = v - return s -} - // An object representing a filter on a ListImages operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImagesFilter type ListImagesFilter struct { @@ -3685,12 +2941,6 @@ func (s ListImagesFilter) GoString() string { return s.String() } -// SetTagStatus sets the TagStatus field's value. -func (s *ListImagesFilter) SetTagStatus(v TagStatus) *ListImagesFilter { - s.TagStatus = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImagesRequest type ListImagesInput struct { _ struct{} `type:"structure"` @@ -3757,36 +3007,6 @@ func (s *ListImagesInput) Validate() error { return nil } -// SetFilter sets the Filter field's value. -func (s *ListImagesInput) SetFilter(v *ListImagesFilter) *ListImagesInput { - s.Filter = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListImagesInput) SetMaxResults(v int64) *ListImagesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListImagesInput) SetNextToken(v string) *ListImagesInput { - s.NextToken = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *ListImagesInput) SetRegistryId(v string) *ListImagesInput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *ListImagesInput) SetRepositoryName(v string) *ListImagesInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImagesResponse type ListImagesOutput struct { _ struct{} `type:"structure"` @@ -3818,18 +3038,6 @@ func (s ListImagesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImageIds sets the ImageIds field's value. -func (s *ListImagesOutput) SetImageIds(v []ImageIdentifier) *ListImagesOutput { - s.ImageIds = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListImagesOutput) SetNextToken(v string) *ListImagesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageRequest type PutImageInput struct { _ struct{} `type:"structure"` @@ -3885,30 +3093,6 @@ func (s *PutImageInput) Validate() error { return nil } -// SetImageManifest sets the ImageManifest field's value. -func (s *PutImageInput) SetImageManifest(v string) *PutImageInput { - s.ImageManifest = &v - return s -} - -// SetImageTag sets the ImageTag field's value. -func (s *PutImageInput) SetImageTag(v string) *PutImageInput { - s.ImageTag = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *PutImageInput) SetRegistryId(v string) *PutImageInput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *PutImageInput) SetRepositoryName(v string) *PutImageInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageResponse type PutImageOutput struct { _ struct{} `type:"structure"` @@ -3934,12 +3118,6 @@ func (s PutImageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImage sets the Image field's value. -func (s *PutImageOutput) SetImage(v *Image) *PutImageOutput { - s.Image = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutLifecyclePolicyRequest type PutLifecyclePolicyInput struct { _ struct{} `type:"structure"` @@ -3993,24 +3171,6 @@ func (s *PutLifecyclePolicyInput) Validate() error { return nil } -// SetLifecyclePolicyText sets the LifecyclePolicyText field's value. -func (s *PutLifecyclePolicyInput) SetLifecyclePolicyText(v string) *PutLifecyclePolicyInput { - s.LifecyclePolicyText = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *PutLifecyclePolicyInput) SetRegistryId(v string) *PutLifecyclePolicyInput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *PutLifecyclePolicyInput) SetRepositoryName(v string) *PutLifecyclePolicyInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutLifecyclePolicyResponse type PutLifecyclePolicyOutput struct { _ struct{} `type:"structure"` @@ -4042,24 +3202,6 @@ func (s PutLifecyclePolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLifecyclePolicyText sets the LifecyclePolicyText field's value. -func (s *PutLifecyclePolicyOutput) SetLifecyclePolicyText(v string) *PutLifecyclePolicyOutput { - s.LifecyclePolicyText = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *PutLifecyclePolicyOutput) SetRegistryId(v string) *PutLifecyclePolicyOutput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *PutLifecyclePolicyOutput) SetRepositoryName(v string) *PutLifecyclePolicyOutput { - s.RepositoryName = &v - return s -} - // An object representing a repository. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/Repository type Repository struct { @@ -4095,36 +3237,6 @@ func (s Repository) GoString() string { return s.String() } -// SetCreatedAt sets the CreatedAt field's value. -func (s *Repository) SetCreatedAt(v time.Time) *Repository { - s.CreatedAt = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *Repository) SetRegistryId(v string) *Repository { - s.RegistryId = &v - return s -} - -// SetRepositoryArn sets the RepositoryArn field's value. -func (s *Repository) SetRepositoryArn(v string) *Repository { - s.RepositoryArn = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *Repository) SetRepositoryName(v string) *Repository { - s.RepositoryName = &v - return s -} - -// SetRepositoryUri sets the RepositoryUri field's value. -func (s *Repository) SetRepositoryUri(v string) *Repository { - s.RepositoryUri = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SetRepositoryPolicyRequest type SetRepositoryPolicyInput struct { _ struct{} `type:"structure"` @@ -4180,30 +3292,6 @@ func (s *SetRepositoryPolicyInput) Validate() error { return nil } -// SetForce sets the Force field's value. -func (s *SetRepositoryPolicyInput) SetForce(v bool) *SetRepositoryPolicyInput { - s.Force = &v - return s -} - -// SetPolicyText sets the PolicyText field's value. -func (s *SetRepositoryPolicyInput) SetPolicyText(v string) *SetRepositoryPolicyInput { - s.PolicyText = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *SetRepositoryPolicyInput) SetRegistryId(v string) *SetRepositoryPolicyInput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *SetRepositoryPolicyInput) SetRepositoryName(v string) *SetRepositoryPolicyInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SetRepositoryPolicyResponse type SetRepositoryPolicyOutput struct { _ struct{} `type:"structure"` @@ -4235,24 +3323,6 @@ func (s SetRepositoryPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicyText sets the PolicyText field's value. -func (s *SetRepositoryPolicyOutput) SetPolicyText(v string) *SetRepositoryPolicyOutput { - s.PolicyText = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *SetRepositoryPolicyOutput) SetRegistryId(v string) *SetRepositoryPolicyOutput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *SetRepositoryPolicyOutput) SetRepositoryName(v string) *SetRepositoryPolicyOutput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartLifecyclePolicyPreviewRequest type StartLifecyclePolicyPreviewInput struct { _ struct{} `type:"structure"` @@ -4301,24 +3371,6 @@ func (s *StartLifecyclePolicyPreviewInput) Validate() error { return nil } -// SetLifecyclePolicyText sets the LifecyclePolicyText field's value. -func (s *StartLifecyclePolicyPreviewInput) SetLifecyclePolicyText(v string) *StartLifecyclePolicyPreviewInput { - s.LifecyclePolicyText = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *StartLifecyclePolicyPreviewInput) SetRegistryId(v string) *StartLifecyclePolicyPreviewInput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *StartLifecyclePolicyPreviewInput) SetRepositoryName(v string) *StartLifecyclePolicyPreviewInput { - s.RepositoryName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartLifecyclePolicyPreviewResponse type StartLifecyclePolicyPreviewOutput struct { _ struct{} `type:"structure"` @@ -4353,30 +3405,6 @@ func (s StartLifecyclePolicyPreviewOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLifecyclePolicyText sets the LifecyclePolicyText field's value. -func (s *StartLifecyclePolicyPreviewOutput) SetLifecyclePolicyText(v string) *StartLifecyclePolicyPreviewOutput { - s.LifecyclePolicyText = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *StartLifecyclePolicyPreviewOutput) SetRegistryId(v string) *StartLifecyclePolicyPreviewOutput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *StartLifecyclePolicyPreviewOutput) SetRepositoryName(v string) *StartLifecyclePolicyPreviewOutput { - s.RepositoryName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *StartLifecyclePolicyPreviewOutput) SetStatus(v LifecyclePolicyPreviewStatus) *StartLifecyclePolicyPreviewOutput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadLayerPartRequest type UploadLayerPartInput struct { _ struct{} `type:"structure"` @@ -4457,42 +3485,6 @@ func (s *UploadLayerPartInput) Validate() error { return nil } -// SetLayerPartBlob sets the LayerPartBlob field's value. -func (s *UploadLayerPartInput) SetLayerPartBlob(v []byte) *UploadLayerPartInput { - s.LayerPartBlob = v - return s -} - -// SetPartFirstByte sets the PartFirstByte field's value. -func (s *UploadLayerPartInput) SetPartFirstByte(v int64) *UploadLayerPartInput { - s.PartFirstByte = &v - return s -} - -// SetPartLastByte sets the PartLastByte field's value. -func (s *UploadLayerPartInput) SetPartLastByte(v int64) *UploadLayerPartInput { - s.PartLastByte = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *UploadLayerPartInput) SetRegistryId(v string) *UploadLayerPartInput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *UploadLayerPartInput) SetRepositoryName(v string) *UploadLayerPartInput { - s.RepositoryName = &v - return s -} - -// SetUploadId sets the UploadId field's value. -func (s *UploadLayerPartInput) SetUploadId(v string) *UploadLayerPartInput { - s.UploadId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadLayerPartResponse type UploadLayerPartOutput struct { _ struct{} `type:"structure"` @@ -4527,30 +3519,6 @@ func (s UploadLayerPartOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLastByteReceived sets the LastByteReceived field's value. -func (s *UploadLayerPartOutput) SetLastByteReceived(v int64) *UploadLayerPartOutput { - s.LastByteReceived = &v - return s -} - -// SetRegistryId sets the RegistryId field's value. -func (s *UploadLayerPartOutput) SetRegistryId(v string) *UploadLayerPartOutput { - s.RegistryId = &v - return s -} - -// SetRepositoryName sets the RepositoryName field's value. -func (s *UploadLayerPartOutput) SetRepositoryName(v string) *UploadLayerPartOutput { - s.RepositoryName = &v - return s -} - -// SetUploadId sets the UploadId field's value. -func (s *UploadLayerPartOutput) SetUploadId(v string) *UploadLayerPartOutput { - s.UploadId = &v - return s -} - type ImageActionType string // Enum values for ImageActionType diff --git a/service/ecs/api.go b/service/ecs/api.go index e78fa33a2ab..c4747bd7ef4 100644 --- a/service/ecs/api.go +++ b/service/ecs/api.go @@ -2237,30 +2237,6 @@ func (s Attachment) GoString() string { return s.String() } -// SetDetails sets the Details field's value. -func (s *Attachment) SetDetails(v []KeyValuePair) *Attachment { - s.Details = v - return s -} - -// SetId sets the Id field's value. -func (s *Attachment) SetId(v string) *Attachment { - s.Id = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Attachment) SetStatus(v string) *Attachment { - s.Status = &v - return s -} - -// SetType sets the Type field's value. -func (s *Attachment) SetType(v string) *Attachment { - s.Type = &v - return s -} - // An object representing a change in state for a task attachment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/AttachmentStateChange type AttachmentStateChange struct { @@ -2305,18 +2281,6 @@ func (s *AttachmentStateChange) Validate() error { return nil } -// SetAttachmentArn sets the AttachmentArn field's value. -func (s *AttachmentStateChange) SetAttachmentArn(v string) *AttachmentStateChange { - s.AttachmentArn = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *AttachmentStateChange) SetStatus(v string) *AttachmentStateChange { - s.Status = &v - return s -} - // An attribute is a name-value pair associated with an Amazon ECS object. Attributes // enable you to extend the Amazon ECS data model by adding custom metadata // to your resources. For more information, see Attributes (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes) @@ -2370,30 +2334,6 @@ func (s *Attribute) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *Attribute) SetName(v string) *Attribute { - s.Name = &v - return s -} - -// SetTargetId sets the TargetId field's value. -func (s *Attribute) SetTargetId(v string) *Attribute { - s.TargetId = &v - return s -} - -// SetTargetType sets the TargetType field's value. -func (s *Attribute) SetTargetType(v TargetType) *Attribute { - s.TargetType = v - return s -} - -// SetValue sets the Value field's value. -func (s *Attribute) SetValue(v string) *Attribute { - s.Value = &v - return s -} - // An object representing the networking details for a task or service. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/AwsVpcConfiguration type AwsVpcConfiguration struct { @@ -2437,24 +2377,6 @@ func (s *AwsVpcConfiguration) Validate() error { return nil } -// SetAssignPublicIp sets the AssignPublicIp field's value. -func (s *AwsVpcConfiguration) SetAssignPublicIp(v AssignPublicIp) *AwsVpcConfiguration { - s.AssignPublicIp = v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *AwsVpcConfiguration) SetSecurityGroups(v []string) *AwsVpcConfiguration { - s.SecurityGroups = v - return s -} - -// SetSubnets sets the Subnets field's value. -func (s *AwsVpcConfiguration) SetSubnets(v []string) *AwsVpcConfiguration { - s.Subnets = v - return s -} - // A regional grouping of one or more container instances on which you can run // task requests. Each account receives a default cluster the first time you // use the Amazon ECS service, but you may also create other clusters. Clusters @@ -2521,54 +2443,6 @@ func (s Cluster) GoString() string { return s.String() } -// SetActiveServicesCount sets the ActiveServicesCount field's value. -func (s *Cluster) SetActiveServicesCount(v int64) *Cluster { - s.ActiveServicesCount = &v - return s -} - -// SetClusterArn sets the ClusterArn field's value. -func (s *Cluster) SetClusterArn(v string) *Cluster { - s.ClusterArn = &v - return s -} - -// SetClusterName sets the ClusterName field's value. -func (s *Cluster) SetClusterName(v string) *Cluster { - s.ClusterName = &v - return s -} - -// SetPendingTasksCount sets the PendingTasksCount field's value. -func (s *Cluster) SetPendingTasksCount(v int64) *Cluster { - s.PendingTasksCount = &v - return s -} - -// SetRegisteredContainerInstancesCount sets the RegisteredContainerInstancesCount field's value. -func (s *Cluster) SetRegisteredContainerInstancesCount(v int64) *Cluster { - s.RegisteredContainerInstancesCount = &v - return s -} - -// SetRunningTasksCount sets the RunningTasksCount field's value. -func (s *Cluster) SetRunningTasksCount(v int64) *Cluster { - s.RunningTasksCount = &v - return s -} - -// SetStatistics sets the Statistics field's value. -func (s *Cluster) SetStatistics(v []KeyValuePair) *Cluster { - s.Statistics = v - return s -} - -// SetStatus sets the Status field's value. -func (s *Cluster) SetStatus(v string) *Cluster { - s.Status = &v - return s -} - // A Docker container that is part of a task. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Container type Container struct { @@ -2610,54 +2484,6 @@ func (s Container) GoString() string { return s.String() } -// SetContainerArn sets the ContainerArn field's value. -func (s *Container) SetContainerArn(v string) *Container { - s.ContainerArn = &v - return s -} - -// SetExitCode sets the ExitCode field's value. -func (s *Container) SetExitCode(v int64) *Container { - s.ExitCode = &v - return s -} - -// SetLastStatus sets the LastStatus field's value. -func (s *Container) SetLastStatus(v string) *Container { - s.LastStatus = &v - return s -} - -// SetName sets the Name field's value. -func (s *Container) SetName(v string) *Container { - s.Name = &v - return s -} - -// SetNetworkBindings sets the NetworkBindings field's value. -func (s *Container) SetNetworkBindings(v []NetworkBinding) *Container { - s.NetworkBindings = v - return s -} - -// SetNetworkInterfaces sets the NetworkInterfaces field's value. -func (s *Container) SetNetworkInterfaces(v []NetworkInterface) *Container { - s.NetworkInterfaces = v - return s -} - -// SetReason sets the Reason field's value. -func (s *Container) SetReason(v string) *Container { - s.Reason = &v - return s -} - -// SetTaskArn sets the TaskArn field's value. -func (s *Container) SetTaskArn(v string) *Container { - s.TaskArn = &v - return s -} - // Container definitions are used in task definitions to describe the different // containers that are launched as part of a task. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ContainerDefinition @@ -3106,168 +2932,6 @@ func (s *ContainerDefinition) Validate() error { return nil } -// SetCommand sets the Command field's value. -func (s *ContainerDefinition) SetCommand(v []string) *ContainerDefinition { - s.Command = v - return s -} - -// SetCpu sets the Cpu field's value. -func (s *ContainerDefinition) SetCpu(v int64) *ContainerDefinition { - s.Cpu = &v - return s -} - -// SetDisableNetworking sets the DisableNetworking field's value. -func (s *ContainerDefinition) SetDisableNetworking(v bool) *ContainerDefinition { - s.DisableNetworking = &v - return s -} - -// SetDnsSearchDomains sets the DnsSearchDomains field's value. -func (s *ContainerDefinition) SetDnsSearchDomains(v []string) *ContainerDefinition { - s.DnsSearchDomains = v - return s -} - -// SetDnsServers sets the DnsServers field's value. -func (s *ContainerDefinition) SetDnsServers(v []string) *ContainerDefinition { - s.DnsServers = v - return s -} - -// SetDockerLabels sets the DockerLabels field's value. -func (s *ContainerDefinition) SetDockerLabels(v map[string]string) *ContainerDefinition { - s.DockerLabels = v - return s -} - -// SetDockerSecurityOptions sets the DockerSecurityOptions field's value. -func (s *ContainerDefinition) SetDockerSecurityOptions(v []string) *ContainerDefinition { - s.DockerSecurityOptions = v - return s -} - -// SetEntryPoint sets the EntryPoint field's value. -func (s *ContainerDefinition) SetEntryPoint(v []string) *ContainerDefinition { - s.EntryPoint = v - return s -} - -// SetEnvironment sets the Environment field's value. -func (s *ContainerDefinition) SetEnvironment(v []KeyValuePair) *ContainerDefinition { - s.Environment = v - return s -} - -// SetEssential sets the Essential field's value. -func (s *ContainerDefinition) SetEssential(v bool) *ContainerDefinition { - s.Essential = &v - return s -} - -// SetExtraHosts sets the ExtraHosts field's value. -func (s *ContainerDefinition) SetExtraHosts(v []HostEntry) *ContainerDefinition { - s.ExtraHosts = v - return s -} - -// SetHostname sets the Hostname field's value. -func (s *ContainerDefinition) SetHostname(v string) *ContainerDefinition { - s.Hostname = &v - return s -} - -// SetImage sets the Image field's value. -func (s *ContainerDefinition) SetImage(v string) *ContainerDefinition { - s.Image = &v - return s -} - -// SetLinks sets the Links field's value. -func (s *ContainerDefinition) SetLinks(v []string) *ContainerDefinition { - s.Links = v - return s -} - -// SetLinuxParameters sets the LinuxParameters field's value. -func (s *ContainerDefinition) SetLinuxParameters(v *LinuxParameters) *ContainerDefinition { - s.LinuxParameters = v - return s -} - -// SetLogConfiguration sets the LogConfiguration field's value. -func (s *ContainerDefinition) SetLogConfiguration(v *LogConfiguration) *ContainerDefinition { - s.LogConfiguration = v - return s -} - -// SetMemory sets the Memory field's value. -func (s *ContainerDefinition) SetMemory(v int64) *ContainerDefinition { - s.Memory = &v - return s -} - -// SetMemoryReservation sets the MemoryReservation field's value. -func (s *ContainerDefinition) SetMemoryReservation(v int64) *ContainerDefinition { - s.MemoryReservation = &v - return s -} - -// SetMountPoints sets the MountPoints field's value. -func (s *ContainerDefinition) SetMountPoints(v []MountPoint) *ContainerDefinition { - s.MountPoints = v - return s -} - -// SetName sets the Name field's value. -func (s *ContainerDefinition) SetName(v string) *ContainerDefinition { - s.Name = &v - return s -} - -// SetPortMappings sets the PortMappings field's value. -func (s *ContainerDefinition) SetPortMappings(v []PortMapping) *ContainerDefinition { - s.PortMappings = v - return s -} - -// SetPrivileged sets the Privileged field's value. -func (s *ContainerDefinition) SetPrivileged(v bool) *ContainerDefinition { - s.Privileged = &v - return s -} - -// SetReadonlyRootFilesystem sets the ReadonlyRootFilesystem field's value. -func (s *ContainerDefinition) SetReadonlyRootFilesystem(v bool) *ContainerDefinition { - s.ReadonlyRootFilesystem = &v - return s -} - -// SetUlimits sets the Ulimits field's value. -func (s *ContainerDefinition) SetUlimits(v []Ulimit) *ContainerDefinition { - s.Ulimits = v - return s -} - -// SetUser sets the User field's value. -func (s *ContainerDefinition) SetUser(v string) *ContainerDefinition { - s.User = &v - return s -} - -// SetVolumesFrom sets the VolumesFrom field's value. -func (s *ContainerDefinition) SetVolumesFrom(v []VolumeFrom) *ContainerDefinition { - s.VolumesFrom = v - return s -} - -// SetWorkingDirectory sets the WorkingDirectory field's value. -func (s *ContainerDefinition) SetWorkingDirectory(v string) *ContainerDefinition { - s.WorkingDirectory = &v - return s -} - // An EC2 instance that is running the Amazon ECS agent and has been registered // with a cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ContainerInstance @@ -3354,90 +3018,6 @@ func (s ContainerInstance) GoString() string { return s.String() } -// SetAgentConnected sets the AgentConnected field's value. -func (s *ContainerInstance) SetAgentConnected(v bool) *ContainerInstance { - s.AgentConnected = &v - return s -} - -// SetAgentUpdateStatus sets the AgentUpdateStatus field's value. -func (s *ContainerInstance) SetAgentUpdateStatus(v AgentUpdateStatus) *ContainerInstance { - s.AgentUpdateStatus = v - return s -} - -// SetAttachments sets the Attachments field's value. -func (s *ContainerInstance) SetAttachments(v []Attachment) *ContainerInstance { - s.Attachments = v - return s -} - -// SetAttributes sets the Attributes field's value. -func (s *ContainerInstance) SetAttributes(v []Attribute) *ContainerInstance { - s.Attributes = v - return s -} - -// SetContainerInstanceArn sets the ContainerInstanceArn field's value. -func (s *ContainerInstance) SetContainerInstanceArn(v string) *ContainerInstance { - s.ContainerInstanceArn = &v - return s -} - -// SetEc2InstanceId sets the Ec2InstanceId field's value. -func (s *ContainerInstance) SetEc2InstanceId(v string) *ContainerInstance { - s.Ec2InstanceId = &v - return s -} - -// SetPendingTasksCount sets the PendingTasksCount field's value. -func (s *ContainerInstance) SetPendingTasksCount(v int64) *ContainerInstance { - s.PendingTasksCount = &v - return s -} - -// SetRegisteredAt sets the RegisteredAt field's value. -func (s *ContainerInstance) SetRegisteredAt(v time.Time) *ContainerInstance { - s.RegisteredAt = &v - return s -} - -// SetRegisteredResources sets the RegisteredResources field's value. -func (s *ContainerInstance) SetRegisteredResources(v []Resource) *ContainerInstance { - s.RegisteredResources = v - return s -} - -// SetRemainingResources sets the RemainingResources field's value. -func (s *ContainerInstance) SetRemainingResources(v []Resource) *ContainerInstance { - s.RemainingResources = v - return s -} - -// SetRunningTasksCount sets the RunningTasksCount field's value. -func (s *ContainerInstance) SetRunningTasksCount(v int64) *ContainerInstance { - s.RunningTasksCount = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ContainerInstance) SetStatus(v string) *ContainerInstance { - s.Status = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *ContainerInstance) SetVersion(v int64) *ContainerInstance { - s.Version = &v - return s -} - -// SetVersionInfo sets the VersionInfo field's value. -func (s *ContainerInstance) SetVersionInfo(v *VersionInfo) *ContainerInstance { - s.VersionInfo = v - return s -} - // The overrides that should be sent to a container. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ContainerOverride type ContainerOverride struct { @@ -3484,42 +3064,6 @@ func (s ContainerOverride) GoString() string { return s.String() } -// SetCommand sets the Command field's value. -func (s *ContainerOverride) SetCommand(v []string) *ContainerOverride { - s.Command = v - return s -} - -// SetCpu sets the Cpu field's value. -func (s *ContainerOverride) SetCpu(v int64) *ContainerOverride { - s.Cpu = &v - return s -} - -// SetEnvironment sets the Environment field's value. -func (s *ContainerOverride) SetEnvironment(v []KeyValuePair) *ContainerOverride { - s.Environment = v - return s -} - -// SetMemory sets the Memory field's value. -func (s *ContainerOverride) SetMemory(v int64) *ContainerOverride { - s.Memory = &v - return s -} - -// SetMemoryReservation sets the MemoryReservation field's value. -func (s *ContainerOverride) SetMemoryReservation(v int64) *ContainerOverride { - s.MemoryReservation = &v - return s -} - -// SetName sets the Name field's value. -func (s *ContainerOverride) SetName(v string) *ContainerOverride { - s.Name = &v - return s -} - // An object representing a change in state for a container. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ContainerStateChange type ContainerStateChange struct { @@ -3552,36 +3096,6 @@ func (s ContainerStateChange) GoString() string { return s.String() } -// SetContainerName sets the ContainerName field's value. -func (s *ContainerStateChange) SetContainerName(v string) *ContainerStateChange { - s.ContainerName = &v - return s -} - -// SetExitCode sets the ExitCode field's value. -func (s *ContainerStateChange) SetExitCode(v int64) *ContainerStateChange { - s.ExitCode = &v - return s -} - -// SetNetworkBindings sets the NetworkBindings field's value. -func (s *ContainerStateChange) SetNetworkBindings(v []NetworkBinding) *ContainerStateChange { - s.NetworkBindings = v - return s -} - -// SetReason sets the Reason field's value. -func (s *ContainerStateChange) SetReason(v string) *ContainerStateChange { - s.Reason = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ContainerStateChange) SetStatus(v string) *ContainerStateChange { - s.Status = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateClusterRequest type CreateClusterInput struct { _ struct{} `type:"structure"` @@ -3602,12 +3116,6 @@ func (s CreateClusterInput) GoString() string { return s.String() } -// SetClusterName sets the ClusterName field's value. -func (s *CreateClusterInput) SetClusterName(v string) *CreateClusterInput { - s.ClusterName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateClusterResponse type CreateClusterOutput struct { _ struct{} `type:"structure"` @@ -3633,12 +3141,6 @@ func (s CreateClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *CreateClusterOutput) SetCluster(v *Cluster) *CreateClusterOutput { - s.Cluster = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateServiceRequest type CreateServiceInput struct { _ struct{} `type:"structure"` @@ -3790,90 +3292,6 @@ func (s *CreateServiceInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *CreateServiceInput) SetClientToken(v string) *CreateServiceInput { - s.ClientToken = &v - return s -} - -// SetCluster sets the Cluster field's value. -func (s *CreateServiceInput) SetCluster(v string) *CreateServiceInput { - s.Cluster = &v - return s -} - -// SetDeploymentConfiguration sets the DeploymentConfiguration field's value. -func (s *CreateServiceInput) SetDeploymentConfiguration(v *DeploymentConfiguration) *CreateServiceInput { - s.DeploymentConfiguration = v - return s -} - -// SetDesiredCount sets the DesiredCount field's value. -func (s *CreateServiceInput) SetDesiredCount(v int64) *CreateServiceInput { - s.DesiredCount = &v - return s -} - -// SetHealthCheckGracePeriodSeconds sets the HealthCheckGracePeriodSeconds field's value. -func (s *CreateServiceInput) SetHealthCheckGracePeriodSeconds(v int64) *CreateServiceInput { - s.HealthCheckGracePeriodSeconds = &v - return s -} - -// SetLaunchType sets the LaunchType field's value. -func (s *CreateServiceInput) SetLaunchType(v LaunchType) *CreateServiceInput { - s.LaunchType = v - return s -} - -// SetLoadBalancers sets the LoadBalancers field's value. -func (s *CreateServiceInput) SetLoadBalancers(v []LoadBalancer) *CreateServiceInput { - s.LoadBalancers = v - return s -} - -// SetNetworkConfiguration sets the NetworkConfiguration field's value. -func (s *CreateServiceInput) SetNetworkConfiguration(v *NetworkConfiguration) *CreateServiceInput { - s.NetworkConfiguration = v - return s -} - -// SetPlacementConstraints sets the PlacementConstraints field's value. -func (s *CreateServiceInput) SetPlacementConstraints(v []PlacementConstraint) *CreateServiceInput { - s.PlacementConstraints = v - return s -} - -// SetPlacementStrategy sets the PlacementStrategy field's value. -func (s *CreateServiceInput) SetPlacementStrategy(v []PlacementStrategy) *CreateServiceInput { - s.PlacementStrategy = v - return s -} - -// SetPlatformVersion sets the PlatformVersion field's value. -func (s *CreateServiceInput) SetPlatformVersion(v string) *CreateServiceInput { - s.PlatformVersion = &v - return s -} - -// SetRole sets the Role field's value. -func (s *CreateServiceInput) SetRole(v string) *CreateServiceInput { - s.Role = &v - return s -} - -// SetServiceName sets the ServiceName field's value. -func (s *CreateServiceInput) SetServiceName(v string) *CreateServiceInput { - s.ServiceName = &v - return s -} - -// SetTaskDefinition sets the TaskDefinition field's value. -func (s *CreateServiceInput) SetTaskDefinition(v string) *CreateServiceInput { - s.TaskDefinition = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateServiceResponse type CreateServiceOutput struct { _ struct{} `type:"structure"` @@ -3899,12 +3317,6 @@ func (s CreateServiceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetService sets the Service field's value. -func (s *CreateServiceOutput) SetService(v *Service) *CreateServiceOutput { - s.Service = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAttributesRequest type DeleteAttributesInput struct { _ struct{} `type:"structure"` @@ -3954,18 +3366,6 @@ func (s *DeleteAttributesInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *DeleteAttributesInput) SetAttributes(v []Attribute) *DeleteAttributesInput { - s.Attributes = v - return s -} - -// SetCluster sets the Cluster field's value. -func (s *DeleteAttributesInput) SetCluster(v string) *DeleteAttributesInput { - s.Cluster = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAttributesResponse type DeleteAttributesOutput struct { _ struct{} `type:"structure"` @@ -3991,12 +3391,6 @@ func (s DeleteAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *DeleteAttributesOutput) SetAttributes(v []Attribute) *DeleteAttributesOutput { - s.Attributes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteClusterRequest type DeleteClusterInput struct { _ struct{} `type:"structure"` @@ -4031,12 +3425,6 @@ func (s *DeleteClusterInput) Validate() error { return nil } -// SetCluster sets the Cluster field's value. -func (s *DeleteClusterInput) SetCluster(v string) *DeleteClusterInput { - s.Cluster = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteClusterResponse type DeleteClusterOutput struct { _ struct{} `type:"structure"` @@ -4062,12 +3450,6 @@ func (s DeleteClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *DeleteClusterOutput) SetCluster(v *Cluster) *DeleteClusterOutput { - s.Cluster = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteServiceRequest type DeleteServiceInput struct { _ struct{} `type:"structure"` @@ -4107,18 +3489,6 @@ func (s *DeleteServiceInput) Validate() error { return nil } -// SetCluster sets the Cluster field's value. -func (s *DeleteServiceInput) SetCluster(v string) *DeleteServiceInput { - s.Cluster = &v - return s -} - -// SetService sets the Service field's value. -func (s *DeleteServiceInput) SetService(v string) *DeleteServiceInput { - s.Service = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteServiceResponse type DeleteServiceOutput struct { _ struct{} `type:"structure"` @@ -4144,12 +3514,6 @@ func (s DeleteServiceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetService sets the Service field's value. -func (s *DeleteServiceOutput) SetService(v *Service) *DeleteServiceOutput { - s.Service = v - return s -} - // The details of an Amazon ECS service deployment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Deployment type Deployment struct { @@ -4204,72 +3568,6 @@ func (s Deployment) GoString() string { return s.String() } -// SetCreatedAt sets the CreatedAt field's value. -func (s *Deployment) SetCreatedAt(v time.Time) *Deployment { - s.CreatedAt = &v - return s -} - -// SetDesiredCount sets the DesiredCount field's value. -func (s *Deployment) SetDesiredCount(v int64) *Deployment { - s.DesiredCount = &v - return s -} - -// SetId sets the Id field's value. -func (s *Deployment) SetId(v string) *Deployment { - s.Id = &v - return s -} - -// SetLaunchType sets the LaunchType field's value. -func (s *Deployment) SetLaunchType(v LaunchType) *Deployment { - s.LaunchType = v - return s -} - -// SetNetworkConfiguration sets the NetworkConfiguration field's value. -func (s *Deployment) SetNetworkConfiguration(v *NetworkConfiguration) *Deployment { - s.NetworkConfiguration = v - return s -} - -// SetPendingCount sets the PendingCount field's value. -func (s *Deployment) SetPendingCount(v int64) *Deployment { - s.PendingCount = &v - return s -} - -// SetPlatformVersion sets the PlatformVersion field's value. -func (s *Deployment) SetPlatformVersion(v string) *Deployment { - s.PlatformVersion = &v - return s -} - -// SetRunningCount sets the RunningCount field's value. -func (s *Deployment) SetRunningCount(v int64) *Deployment { - s.RunningCount = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Deployment) SetStatus(v string) *Deployment { - s.Status = &v - return s -} - -// SetTaskDefinition sets the TaskDefinition field's value. -func (s *Deployment) SetTaskDefinition(v string) *Deployment { - s.TaskDefinition = &v - return s -} - -// SetUpdatedAt sets the UpdatedAt field's value. -func (s *Deployment) SetUpdatedAt(v time.Time) *Deployment { - s.UpdatedAt = &v - return s -} - // Optional deployment parameters that control how many tasks run during the // deployment and the ordering of stopping and starting tasks. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentConfiguration @@ -4300,18 +3598,6 @@ func (s DeploymentConfiguration) GoString() string { return s.String() } -// SetMaximumPercent sets the MaximumPercent field's value. -func (s *DeploymentConfiguration) SetMaximumPercent(v int64) *DeploymentConfiguration { - s.MaximumPercent = &v - return s -} - -// SetMinimumHealthyPercent sets the MinimumHealthyPercent field's value. -func (s *DeploymentConfiguration) SetMinimumHealthyPercent(v int64) *DeploymentConfiguration { - s.MinimumHealthyPercent = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterContainerInstanceRequest type DeregisterContainerInstanceInput struct { _ struct{} `type:"structure"` @@ -4369,24 +3655,6 @@ func (s *DeregisterContainerInstanceInput) Validate() error { return nil } -// SetCluster sets the Cluster field's value. -func (s *DeregisterContainerInstanceInput) SetCluster(v string) *DeregisterContainerInstanceInput { - s.Cluster = &v - return s -} - -// SetContainerInstance sets the ContainerInstance field's value. -func (s *DeregisterContainerInstanceInput) SetContainerInstance(v string) *DeregisterContainerInstanceInput { - s.ContainerInstance = &v - return s -} - -// SetForce sets the Force field's value. -func (s *DeregisterContainerInstanceInput) SetForce(v bool) *DeregisterContainerInstanceInput { - s.Force = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterContainerInstanceResponse type DeregisterContainerInstanceOutput struct { _ struct{} `type:"structure"` @@ -4412,12 +3680,6 @@ func (s DeregisterContainerInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetContainerInstance sets the ContainerInstance field's value. -func (s *DeregisterContainerInstanceOutput) SetContainerInstance(v *ContainerInstance) *DeregisterContainerInstanceOutput { - s.ContainerInstance = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinitionRequest type DeregisterTaskDefinitionInput struct { _ struct{} `type:"structure"` @@ -4453,12 +3715,6 @@ func (s *DeregisterTaskDefinitionInput) Validate() error { return nil } -// SetTaskDefinition sets the TaskDefinition field's value. -func (s *DeregisterTaskDefinitionInput) SetTaskDefinition(v string) *DeregisterTaskDefinitionInput { - s.TaskDefinition = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinitionResponse type DeregisterTaskDefinitionOutput struct { _ struct{} `type:"structure"` @@ -4484,12 +3740,6 @@ func (s DeregisterTaskDefinitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTaskDefinition sets the TaskDefinition field's value. -func (s *DeregisterTaskDefinitionOutput) SetTaskDefinition(v *TaskDefinition) *DeregisterTaskDefinitionOutput { - s.TaskDefinition = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeClustersRequest type DescribeClustersInput struct { _ struct{} `type:"structure"` @@ -4529,18 +3779,6 @@ func (s DescribeClustersInput) GoString() string { return s.String() } -// SetClusters sets the Clusters field's value. -func (s *DescribeClustersInput) SetClusters(v []string) *DescribeClustersInput { - s.Clusters = v - return s -} - -// SetInclude sets the Include field's value. -func (s *DescribeClustersInput) SetInclude(v []ClusterField) *DescribeClustersInput { - s.Include = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeClustersResponse type DescribeClustersOutput struct { _ struct{} `type:"structure"` @@ -4569,18 +3807,6 @@ func (s DescribeClustersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClusters sets the Clusters field's value. -func (s *DescribeClustersOutput) SetClusters(v []Cluster) *DescribeClustersOutput { - s.Clusters = v - return s -} - -// SetFailures sets the Failures field's value. -func (s *DescribeClustersOutput) SetFailures(v []Failure) *DescribeClustersOutput { - s.Failures = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeContainerInstancesRequest type DescribeContainerInstancesInput struct { _ struct{} `type:"structure"` @@ -4620,18 +3846,6 @@ func (s *DescribeContainerInstancesInput) Validate() error { return nil } -// SetCluster sets the Cluster field's value. -func (s *DescribeContainerInstancesInput) SetCluster(v string) *DescribeContainerInstancesInput { - s.Cluster = &v - return s -} - -// SetContainerInstances sets the ContainerInstances field's value. -func (s *DescribeContainerInstancesInput) SetContainerInstances(v []string) *DescribeContainerInstancesInput { - s.ContainerInstances = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeContainerInstancesResponse type DescribeContainerInstancesOutput struct { _ struct{} `type:"structure"` @@ -4660,18 +3874,6 @@ func (s DescribeContainerInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetContainerInstances sets the ContainerInstances field's value. -func (s *DescribeContainerInstancesOutput) SetContainerInstances(v []ContainerInstance) *DescribeContainerInstancesOutput { - s.ContainerInstances = v - return s -} - -// SetFailures sets the Failures field's value. -func (s *DescribeContainerInstancesOutput) SetFailures(v []Failure) *DescribeContainerInstancesOutput { - s.Failures = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeServicesRequest type DescribeServicesInput struct { _ struct{} `type:"structure"` @@ -4712,18 +3914,6 @@ func (s *DescribeServicesInput) Validate() error { return nil } -// SetCluster sets the Cluster field's value. -func (s *DescribeServicesInput) SetCluster(v string) *DescribeServicesInput { - s.Cluster = &v - return s -} - -// SetServices sets the Services field's value. -func (s *DescribeServicesInput) SetServices(v []string) *DescribeServicesInput { - s.Services = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeServicesResponse type DescribeServicesOutput struct { _ struct{} `type:"structure"` @@ -4752,18 +3942,6 @@ func (s DescribeServicesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailures sets the Failures field's value. -func (s *DescribeServicesOutput) SetFailures(v []Failure) *DescribeServicesOutput { - s.Failures = v - return s -} - -// SetServices sets the Services field's value. -func (s *DescribeServicesOutput) SetServices(v []Service) *DescribeServicesOutput { - s.Services = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskDefinitionRequest type DescribeTaskDefinitionInput struct { _ struct{} `type:"structure"` @@ -4800,12 +3978,6 @@ func (s *DescribeTaskDefinitionInput) Validate() error { return nil } -// SetTaskDefinition sets the TaskDefinition field's value. -func (s *DescribeTaskDefinitionInput) SetTaskDefinition(v string) *DescribeTaskDefinitionInput { - s.TaskDefinition = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskDefinitionResponse type DescribeTaskDefinitionOutput struct { _ struct{} `type:"structure"` @@ -4831,12 +4003,6 @@ func (s DescribeTaskDefinitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTaskDefinition sets the TaskDefinition field's value. -func (s *DescribeTaskDefinitionOutput) SetTaskDefinition(v *TaskDefinition) *DescribeTaskDefinitionOutput { - s.TaskDefinition = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTasksRequest type DescribeTasksInput struct { _ struct{} `type:"structure"` @@ -4876,18 +4042,6 @@ func (s *DescribeTasksInput) Validate() error { return nil } -// SetCluster sets the Cluster field's value. -func (s *DescribeTasksInput) SetCluster(v string) *DescribeTasksInput { - s.Cluster = &v - return s -} - -// SetTasks sets the Tasks field's value. -func (s *DescribeTasksInput) SetTasks(v []string) *DescribeTasksInput { - s.Tasks = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTasksResponse type DescribeTasksOutput struct { _ struct{} `type:"structure"` @@ -4916,18 +4070,6 @@ func (s DescribeTasksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailures sets the Failures field's value. -func (s *DescribeTasksOutput) SetFailures(v []Failure) *DescribeTasksOutput { - s.Failures = v - return s -} - -// SetTasks sets the Tasks field's value. -func (s *DescribeTasksOutput) SetTasks(v []Task) *DescribeTasksOutput { - s.Tasks = v - return s -} - // An object representing a container instance host device. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Device type Device struct { @@ -4970,24 +4112,6 @@ func (s *Device) Validate() error { return nil } -// SetContainerPath sets the ContainerPath field's value. -func (s *Device) SetContainerPath(v string) *Device { - s.ContainerPath = &v - return s -} - -// SetHostPath sets the HostPath field's value. -func (s *Device) SetHostPath(v string) *Device { - s.HostPath = &v - return s -} - -// SetPermissions sets the Permissions field's value. -func (s *Device) SetPermissions(v []DeviceCgroupPermission) *Device { - s.Permissions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DiscoverPollEndpointRequest type DiscoverPollEndpointInput struct { _ struct{} `type:"structure"` @@ -5013,18 +4137,6 @@ func (s DiscoverPollEndpointInput) GoString() string { return s.String() } -// SetCluster sets the Cluster field's value. -func (s *DiscoverPollEndpointInput) SetCluster(v string) *DiscoverPollEndpointInput { - s.Cluster = &v - return s -} - -// SetContainerInstance sets the ContainerInstance field's value. -func (s *DiscoverPollEndpointInput) SetContainerInstance(v string) *DiscoverPollEndpointInput { - s.ContainerInstance = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DiscoverPollEndpointResponse type DiscoverPollEndpointOutput struct { _ struct{} `type:"structure"` @@ -5053,18 +4165,6 @@ func (s DiscoverPollEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEndpoint sets the Endpoint field's value. -func (s *DiscoverPollEndpointOutput) SetEndpoint(v string) *DiscoverPollEndpointOutput { - s.Endpoint = &v - return s -} - -// SetTelemetryEndpoint sets the TelemetryEndpoint field's value. -func (s *DiscoverPollEndpointOutput) SetTelemetryEndpoint(v string) *DiscoverPollEndpointOutput { - s.TelemetryEndpoint = &v - return s -} - // A failed resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Failure type Failure struct { @@ -5087,18 +4187,6 @@ func (s Failure) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Failure) SetArn(v string) *Failure { - s.Arn = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *Failure) SetReason(v string) *Failure { - s.Reason = &v - return s -} - // Hostnames and IP address entries that are added to the /etc/hosts file of // a container via the extraHosts parameter of its ContainerDefinition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/HostEntry @@ -5144,18 +4232,6 @@ func (s *HostEntry) Validate() error { return nil } -// SetHostname sets the Hostname field's value. -func (s *HostEntry) SetHostname(v string) *HostEntry { - s.Hostname = &v - return s -} - -// SetIpAddress sets the IpAddress field's value. -func (s *HostEntry) SetIpAddress(v string) *HostEntry { - s.IpAddress = &v - return s -} - // Details on a container instance host volume. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/HostVolumeProperties type HostVolumeProperties struct { @@ -5184,12 +4260,6 @@ func (s HostVolumeProperties) GoString() string { return s.String() } -// SetSourcePath sets the SourcePath field's value. -func (s *HostVolumeProperties) SetSourcePath(v string) *HostVolumeProperties { - s.SourcePath = &v - return s -} - // The Linux capabilities for the container that are added to or dropped from // the default configuration provided by Docker. For more information on the // default capabilities and the non-default available capabilities, see Runtime @@ -5244,18 +4314,6 @@ func (s KernelCapabilities) GoString() string { return s.String() } -// SetAdd sets the Add field's value. -func (s *KernelCapabilities) SetAdd(v []string) *KernelCapabilities { - s.Add = v - return s -} - -// SetDrop sets the Drop field's value. -func (s *KernelCapabilities) SetDrop(v []string) *KernelCapabilities { - s.Drop = v - return s -} - // A key and value pair object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/KeyValuePair type KeyValuePair struct { @@ -5280,18 +4338,6 @@ func (s KeyValuePair) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *KeyValuePair) SetName(v string) *KeyValuePair { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *KeyValuePair) SetValue(v string) *KeyValuePair { - s.Value = &v - return s -} - // Linux-specific options that are applied to the container, such as Linux KernelCapabilities. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/LinuxParameters type LinuxParameters struct { @@ -5343,24 +4389,6 @@ func (s *LinuxParameters) Validate() error { return nil } -// SetCapabilities sets the Capabilities field's value. -func (s *LinuxParameters) SetCapabilities(v *KernelCapabilities) *LinuxParameters { - s.Capabilities = v - return s -} - -// SetDevices sets the Devices field's value. -func (s *LinuxParameters) SetDevices(v []Device) *LinuxParameters { - s.Devices = v - return s -} - -// SetInitProcessEnabled sets the InitProcessEnabled field's value. -func (s *LinuxParameters) SetInitProcessEnabled(v bool) *LinuxParameters { - s.InitProcessEnabled = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAttributesRequest type ListAttributesInput struct { _ struct{} `type:"structure"` @@ -5423,42 +4451,6 @@ func (s *ListAttributesInput) Validate() error { return nil } -// SetAttributeName sets the AttributeName field's value. -func (s *ListAttributesInput) SetAttributeName(v string) *ListAttributesInput { - s.AttributeName = &v - return s -} - -// SetAttributeValue sets the AttributeValue field's value. -func (s *ListAttributesInput) SetAttributeValue(v string) *ListAttributesInput { - s.AttributeValue = &v - return s -} - -// SetCluster sets the Cluster field's value. -func (s *ListAttributesInput) SetCluster(v string) *ListAttributesInput { - s.Cluster = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListAttributesInput) SetMaxResults(v int64) *ListAttributesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAttributesInput) SetNextToken(v string) *ListAttributesInput { - s.NextToken = &v - return s -} - -// SetTargetType sets the TargetType field's value. -func (s *ListAttributesInput) SetTargetType(v TargetType) *ListAttributesInput { - s.TargetType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAttributesResponse type ListAttributesOutput struct { _ struct{} `type:"structure"` @@ -5490,18 +4482,6 @@ func (s ListAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *ListAttributesOutput) SetAttributes(v []Attribute) *ListAttributesOutput { - s.Attributes = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAttributesOutput) SetNextToken(v string) *ListAttributesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListClustersRequest type ListClustersInput struct { _ struct{} `type:"structure"` @@ -5535,18 +4515,6 @@ func (s ListClustersInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *ListClustersInput) SetMaxResults(v int64) *ListClustersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListClustersInput) SetNextToken(v string) *ListClustersInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListClustersResponse type ListClustersOutput struct { _ struct{} `type:"structure"` @@ -5579,18 +4547,6 @@ func (s ListClustersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClusterArns sets the ClusterArns field's value. -func (s *ListClustersOutput) SetClusterArns(v []string) *ListClustersOutput { - s.ClusterArns = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListClustersOutput) SetNextToken(v string) *ListClustersOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListContainerInstancesRequest type ListContainerInstancesInput struct { _ struct{} `type:"structure"` @@ -5643,36 +4599,6 @@ func (s ListContainerInstancesInput) GoString() string { return s.String() } -// SetCluster sets the Cluster field's value. -func (s *ListContainerInstancesInput) SetCluster(v string) *ListContainerInstancesInput { - s.Cluster = &v - return s -} - -// SetFilter sets the Filter field's value. -func (s *ListContainerInstancesInput) SetFilter(v string) *ListContainerInstancesInput { - s.Filter = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListContainerInstancesInput) SetMaxResults(v int64) *ListContainerInstancesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListContainerInstancesInput) SetNextToken(v string) *ListContainerInstancesInput { - s.NextToken = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ListContainerInstancesInput) SetStatus(v ContainerInstanceStatus) *ListContainerInstancesInput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListContainerInstancesResponse type ListContainerInstancesOutput struct { _ struct{} `type:"structure"` @@ -5705,18 +4631,6 @@ func (s ListContainerInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetContainerInstanceArns sets the ContainerInstanceArns field's value. -func (s *ListContainerInstancesOutput) SetContainerInstanceArns(v []string) *ListContainerInstancesOutput { - s.ContainerInstanceArns = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListContainerInstancesOutput) SetNextToken(v string) *ListContainerInstancesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListServicesRequest type ListServicesInput struct { _ struct{} `type:"structure"` @@ -5758,30 +4672,6 @@ func (s ListServicesInput) GoString() string { return s.String() } -// SetCluster sets the Cluster field's value. -func (s *ListServicesInput) SetCluster(v string) *ListServicesInput { - s.Cluster = &v - return s -} - -// SetLaunchType sets the LaunchType field's value. -func (s *ListServicesInput) SetLaunchType(v LaunchType) *ListServicesInput { - s.LaunchType = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListServicesInput) SetMaxResults(v int64) *ListServicesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListServicesInput) SetNextToken(v string) *ListServicesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListServicesResponse type ListServicesOutput struct { _ struct{} `type:"structure"` @@ -5814,18 +4704,6 @@ func (s ListServicesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListServicesOutput) SetNextToken(v string) *ListServicesOutput { - s.NextToken = &v - return s -} - -// SetServiceArns sets the ServiceArns field's value. -func (s *ListServicesOutput) SetServiceArns(v []string) *ListServicesOutput { - s.ServiceArns = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionFamiliesRequest type ListTaskDefinitionFamiliesInput struct { _ struct{} `type:"structure"` @@ -5874,30 +4752,6 @@ func (s ListTaskDefinitionFamiliesInput) GoString() string { return s.String() } -// SetFamilyPrefix sets the FamilyPrefix field's value. -func (s *ListTaskDefinitionFamiliesInput) SetFamilyPrefix(v string) *ListTaskDefinitionFamiliesInput { - s.FamilyPrefix = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListTaskDefinitionFamiliesInput) SetMaxResults(v int64) *ListTaskDefinitionFamiliesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTaskDefinitionFamiliesInput) SetNextToken(v string) *ListTaskDefinitionFamiliesInput { - s.NextToken = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ListTaskDefinitionFamiliesInput) SetStatus(v TaskDefinitionFamilyStatus) *ListTaskDefinitionFamiliesInput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionFamiliesResponse type ListTaskDefinitionFamiliesOutput struct { _ struct{} `type:"structure"` @@ -5930,18 +4784,6 @@ func (s ListTaskDefinitionFamiliesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFamilies sets the Families field's value. -func (s *ListTaskDefinitionFamiliesOutput) SetFamilies(v []string) *ListTaskDefinitionFamiliesOutput { - s.Families = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTaskDefinitionFamiliesOutput) SetNextToken(v string) *ListTaskDefinitionFamiliesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionsRequest type ListTaskDefinitionsInput struct { _ struct{} `type:"structure"` @@ -5995,36 +4837,6 @@ func (s ListTaskDefinitionsInput) GoString() string { return s.String() } -// SetFamilyPrefix sets the FamilyPrefix field's value. -func (s *ListTaskDefinitionsInput) SetFamilyPrefix(v string) *ListTaskDefinitionsInput { - s.FamilyPrefix = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListTaskDefinitionsInput) SetMaxResults(v int64) *ListTaskDefinitionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTaskDefinitionsInput) SetNextToken(v string) *ListTaskDefinitionsInput { - s.NextToken = &v - return s -} - -// SetSort sets the Sort field's value. -func (s *ListTaskDefinitionsInput) SetSort(v SortOrder) *ListTaskDefinitionsInput { - s.Sort = v - return s -} - -// SetStatus sets the Status field's value. -func (s *ListTaskDefinitionsInput) SetStatus(v TaskDefinitionStatus) *ListTaskDefinitionsInput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionsResponse type ListTaskDefinitionsOutput struct { _ struct{} `type:"structure"` @@ -6057,18 +4869,6 @@ func (s ListTaskDefinitionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTaskDefinitionsOutput) SetNextToken(v string) *ListTaskDefinitionsOutput { - s.NextToken = &v - return s -} - -// SetTaskDefinitionArns sets the TaskDefinitionArns field's value. -func (s *ListTaskDefinitionsOutput) SetTaskDefinitionArns(v []string) *ListTaskDefinitionsOutput { - s.TaskDefinitionArns = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTasksRequest type ListTasksInput struct { _ struct{} `type:"structure"` @@ -6139,60 +4939,6 @@ func (s ListTasksInput) GoString() string { return s.String() } -// SetCluster sets the Cluster field's value. -func (s *ListTasksInput) SetCluster(v string) *ListTasksInput { - s.Cluster = &v - return s -} - -// SetContainerInstance sets the ContainerInstance field's value. -func (s *ListTasksInput) SetContainerInstance(v string) *ListTasksInput { - s.ContainerInstance = &v - return s -} - -// SetDesiredStatus sets the DesiredStatus field's value. -func (s *ListTasksInput) SetDesiredStatus(v DesiredStatus) *ListTasksInput { - s.DesiredStatus = v - return s -} - -// SetFamily sets the Family field's value. -func (s *ListTasksInput) SetFamily(v string) *ListTasksInput { - s.Family = &v - return s -} - -// SetLaunchType sets the LaunchType field's value. -func (s *ListTasksInput) SetLaunchType(v LaunchType) *ListTasksInput { - s.LaunchType = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListTasksInput) SetMaxResults(v int64) *ListTasksInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTasksInput) SetNextToken(v string) *ListTasksInput { - s.NextToken = &v - return s -} - -// SetServiceName sets the ServiceName field's value. -func (s *ListTasksInput) SetServiceName(v string) *ListTasksInput { - s.ServiceName = &v - return s -} - -// SetStartedBy sets the StartedBy field's value. -func (s *ListTasksInput) SetStartedBy(v string) *ListTasksInput { - s.StartedBy = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTasksResponse type ListTasksOutput struct { _ struct{} `type:"structure"` @@ -6224,18 +4970,6 @@ func (s ListTasksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTasksOutput) SetNextToken(v string) *ListTasksOutput { - s.NextToken = &v - return s -} - -// SetTaskArns sets the TaskArns field's value. -func (s *ListTasksOutput) SetTaskArns(v []string) *ListTasksOutput { - s.TaskArns = v - return s -} - // Details on a load balancer that is used with a service. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/LoadBalancer type LoadBalancer struct { @@ -6269,30 +5003,6 @@ func (s LoadBalancer) GoString() string { return s.String() } -// SetContainerName sets the ContainerName field's value. -func (s *LoadBalancer) SetContainerName(v string) *LoadBalancer { - s.ContainerName = &v - return s -} - -// SetContainerPort sets the ContainerPort field's value. -func (s *LoadBalancer) SetContainerPort(v int64) *LoadBalancer { - s.ContainerPort = &v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *LoadBalancer) SetLoadBalancerName(v string) *LoadBalancer { - s.LoadBalancerName = &v - return s -} - -// SetTargetGroupArn sets the TargetGroupArn field's value. -func (s *LoadBalancer) SetTargetGroupArn(v string) *LoadBalancer { - s.TargetGroupArn = &v - return s -} - // Log configuration options to send to a custom log driver for the container. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/LogConfiguration type LogConfiguration struct { @@ -6351,18 +5061,6 @@ func (s *LogConfiguration) Validate() error { return nil } -// SetLogDriver sets the LogDriver field's value. -func (s *LogConfiguration) SetLogDriver(v LogDriver) *LogConfiguration { - s.LogDriver = v - return s -} - -// SetOptions sets the Options field's value. -func (s *LogConfiguration) SetOptions(v map[string]string) *LogConfiguration { - s.Options = v - return s -} - // Details on a volume mount point that is used in a container definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/MountPoint type MountPoint struct { @@ -6390,24 +5088,6 @@ func (s MountPoint) GoString() string { return s.String() } -// SetContainerPath sets the ContainerPath field's value. -func (s *MountPoint) SetContainerPath(v string) *MountPoint { - s.ContainerPath = &v - return s -} - -// SetReadOnly sets the ReadOnly field's value. -func (s *MountPoint) SetReadOnly(v bool) *MountPoint { - s.ReadOnly = &v - return s -} - -// SetSourceVolume sets the SourceVolume field's value. -func (s *MountPoint) SetSourceVolume(v string) *MountPoint { - s.SourceVolume = &v - return s -} - // Details on the network bindings between a container and its host container // instance. After a task reaches the RUNNING status, manual and automatic host // and container port assignments are visible in the networkBindings section @@ -6439,30 +5119,6 @@ func (s NetworkBinding) GoString() string { return s.String() } -// SetBindIP sets the BindIP field's value. -func (s *NetworkBinding) SetBindIP(v string) *NetworkBinding { - s.BindIP = &v - return s -} - -// SetContainerPort sets the ContainerPort field's value. -func (s *NetworkBinding) SetContainerPort(v int64) *NetworkBinding { - s.ContainerPort = &v - return s -} - -// SetHostPort sets the HostPort field's value. -func (s *NetworkBinding) SetHostPort(v int64) *NetworkBinding { - s.HostPort = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *NetworkBinding) SetProtocol(v TransportProtocol) *NetworkBinding { - s.Protocol = v - return s -} - // An object representing the network configuration for a task or service. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/NetworkConfiguration type NetworkConfiguration struct { @@ -6497,12 +5153,6 @@ func (s *NetworkConfiguration) Validate() error { return nil } -// SetAwsvpcConfiguration sets the AwsvpcConfiguration field's value. -func (s *NetworkConfiguration) SetAwsvpcConfiguration(v *AwsVpcConfiguration) *NetworkConfiguration { - s.AwsvpcConfiguration = v - return s -} - // An object representing the Elastic Network Interface for tasks that use the // awsvpc network mode. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/NetworkInterface @@ -6529,24 +5179,6 @@ func (s NetworkInterface) GoString() string { return s.String() } -// SetAttachmentId sets the AttachmentId field's value. -func (s *NetworkInterface) SetAttachmentId(v string) *NetworkInterface { - s.AttachmentId = &v - return s -} - -// SetIpv6Address sets the Ipv6Address field's value. -func (s *NetworkInterface) SetIpv6Address(v string) *NetworkInterface { - s.Ipv6Address = &v - return s -} - -// SetPrivateIpv4Address sets the PrivateIpv4Address field's value. -func (s *NetworkInterface) SetPrivateIpv4Address(v string) *NetworkInterface { - s.PrivateIpv4Address = &v - return s -} - // An object representing a constraint on task placement. For more information, // see Task Placement Constraints (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html) // in the Amazon Elastic Container Service Developer Guide. @@ -6577,18 +5209,6 @@ func (s PlacementConstraint) GoString() string { return s.String() } -// SetExpression sets the Expression field's value. -func (s *PlacementConstraint) SetExpression(v string) *PlacementConstraint { - s.Expression = &v - return s -} - -// SetType sets the Type field's value. -func (s *PlacementConstraint) SetType(v PlacementConstraintType) *PlacementConstraint { - s.Type = v - return s -} - // The task placement strategy for a task or service. For more information, // see Task Placement Strategies (http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html) // in the Amazon Elastic Container Service Developer Guide. @@ -6624,18 +5244,6 @@ func (s PlacementStrategy) GoString() string { return s.String() } -// SetField sets the Field field's value. -func (s *PlacementStrategy) SetField(v string) *PlacementStrategy { - s.Field = &v - return s -} - -// SetType sets the Type field's value. -func (s *PlacementStrategy) SetType(v PlacementStrategyType) *PlacementStrategy { - s.Type = v - return s -} - // Port mappings allow containers to access ports on the host container instance // to send or receive traffic. Port mappings are specified as part of the container // definition. @@ -6710,24 +5318,6 @@ func (s PortMapping) GoString() string { return s.String() } -// SetContainerPort sets the ContainerPort field's value. -func (s *PortMapping) SetContainerPort(v int64) *PortMapping { - s.ContainerPort = &v - return s -} - -// SetHostPort sets the HostPort field's value. -func (s *PortMapping) SetHostPort(v int64) *PortMapping { - s.HostPort = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *PortMapping) SetProtocol(v TransportProtocol) *PortMapping { - s.Protocol = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAttributesRequest type PutAttributesInput struct { _ struct{} `type:"structure"` @@ -6776,18 +5366,6 @@ func (s *PutAttributesInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *PutAttributesInput) SetAttributes(v []Attribute) *PutAttributesInput { - s.Attributes = v - return s -} - -// SetCluster sets the Cluster field's value. -func (s *PutAttributesInput) SetCluster(v string) *PutAttributesInput { - s.Cluster = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAttributesResponse type PutAttributesOutput struct { _ struct{} `type:"structure"` @@ -6813,12 +5391,6 @@ func (s PutAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *PutAttributesOutput) SetAttributes(v []Attribute) *PutAttributesOutput { - s.Attributes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterContainerInstanceRequest type RegisterContainerInstanceInput struct { _ struct{} `type:"structure"` @@ -6878,48 +5450,6 @@ func (s *RegisterContainerInstanceInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *RegisterContainerInstanceInput) SetAttributes(v []Attribute) *RegisterContainerInstanceInput { - s.Attributes = v - return s -} - -// SetCluster sets the Cluster field's value. -func (s *RegisterContainerInstanceInput) SetCluster(v string) *RegisterContainerInstanceInput { - s.Cluster = &v - return s -} - -// SetContainerInstanceArn sets the ContainerInstanceArn field's value. -func (s *RegisterContainerInstanceInput) SetContainerInstanceArn(v string) *RegisterContainerInstanceInput { - s.ContainerInstanceArn = &v - return s -} - -// SetInstanceIdentityDocument sets the InstanceIdentityDocument field's value. -func (s *RegisterContainerInstanceInput) SetInstanceIdentityDocument(v string) *RegisterContainerInstanceInput { - s.InstanceIdentityDocument = &v - return s -} - -// SetInstanceIdentityDocumentSignature sets the InstanceIdentityDocumentSignature field's value. -func (s *RegisterContainerInstanceInput) SetInstanceIdentityDocumentSignature(v string) *RegisterContainerInstanceInput { - s.InstanceIdentityDocumentSignature = &v - return s -} - -// SetTotalResources sets the TotalResources field's value. -func (s *RegisterContainerInstanceInput) SetTotalResources(v []Resource) *RegisterContainerInstanceInput { - s.TotalResources = v - return s -} - -// SetVersionInfo sets the VersionInfo field's value. -func (s *RegisterContainerInstanceInput) SetVersionInfo(v *VersionInfo) *RegisterContainerInstanceInput { - s.VersionInfo = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterContainerInstanceResponse type RegisterContainerInstanceOutput struct { _ struct{} `type:"structure"` @@ -6945,12 +5475,6 @@ func (s RegisterContainerInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetContainerInstance sets the ContainerInstance field's value. -func (s *RegisterContainerInstanceOutput) SetContainerInstance(v *ContainerInstance) *RegisterContainerInstanceOutput { - s.ContainerInstance = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinitionRequest type RegisterTaskDefinitionInput struct { _ struct{} `type:"structure"` @@ -7108,66 +5632,6 @@ func (s *RegisterTaskDefinitionInput) Validate() error { return nil } -// SetContainerDefinitions sets the ContainerDefinitions field's value. -func (s *RegisterTaskDefinitionInput) SetContainerDefinitions(v []ContainerDefinition) *RegisterTaskDefinitionInput { - s.ContainerDefinitions = v - return s -} - -// SetCpu sets the Cpu field's value. -func (s *RegisterTaskDefinitionInput) SetCpu(v string) *RegisterTaskDefinitionInput { - s.Cpu = &v - return s -} - -// SetExecutionRoleArn sets the ExecutionRoleArn field's value. -func (s *RegisterTaskDefinitionInput) SetExecutionRoleArn(v string) *RegisterTaskDefinitionInput { - s.ExecutionRoleArn = &v - return s -} - -// SetFamily sets the Family field's value. -func (s *RegisterTaskDefinitionInput) SetFamily(v string) *RegisterTaskDefinitionInput { - s.Family = &v - return s -} - -// SetMemory sets the Memory field's value. -func (s *RegisterTaskDefinitionInput) SetMemory(v string) *RegisterTaskDefinitionInput { - s.Memory = &v - return s -} - -// SetNetworkMode sets the NetworkMode field's value. -func (s *RegisterTaskDefinitionInput) SetNetworkMode(v NetworkMode) *RegisterTaskDefinitionInput { - s.NetworkMode = v - return s -} - -// SetPlacementConstraints sets the PlacementConstraints field's value. -func (s *RegisterTaskDefinitionInput) SetPlacementConstraints(v []TaskDefinitionPlacementConstraint) *RegisterTaskDefinitionInput { - s.PlacementConstraints = v - return s -} - -// SetRequiresCompatibilities sets the RequiresCompatibilities field's value. -func (s *RegisterTaskDefinitionInput) SetRequiresCompatibilities(v []Compatibility) *RegisterTaskDefinitionInput { - s.RequiresCompatibilities = v - return s -} - -// SetTaskRoleArn sets the TaskRoleArn field's value. -func (s *RegisterTaskDefinitionInput) SetTaskRoleArn(v string) *RegisterTaskDefinitionInput { - s.TaskRoleArn = &v - return s -} - -// SetVolumes sets the Volumes field's value. -func (s *RegisterTaskDefinitionInput) SetVolumes(v []Volume) *RegisterTaskDefinitionInput { - s.Volumes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinitionResponse type RegisterTaskDefinitionOutput struct { _ struct{} `type:"structure"` @@ -7193,12 +5657,6 @@ func (s RegisterTaskDefinitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTaskDefinition sets the TaskDefinition field's value. -func (s *RegisterTaskDefinitionOutput) SetTaskDefinition(v *TaskDefinition) *RegisterTaskDefinitionOutput { - s.TaskDefinition = v - return s -} - // Describes the resources available for a container instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Resource type Resource struct { @@ -7236,42 +5694,6 @@ func (s Resource) GoString() string { return s.String() } -// SetDoubleValue sets the DoubleValue field's value. -func (s *Resource) SetDoubleValue(v float64) *Resource { - s.DoubleValue = &v - return s -} - -// SetIntegerValue sets the IntegerValue field's value. -func (s *Resource) SetIntegerValue(v int64) *Resource { - s.IntegerValue = &v - return s -} - -// SetLongValue sets the LongValue field's value. -func (s *Resource) SetLongValue(v int64) *Resource { - s.LongValue = &v - return s -} - -// SetName sets the Name field's value. -func (s *Resource) SetName(v string) *Resource { - s.Name = &v - return s -} - -// SetStringSetValue sets the StringSetValue field's value. -func (s *Resource) SetStringSetValue(v []string) *Resource { - s.StringSetValue = v - return s -} - -// SetType sets the Type field's value. -func (s *Resource) SetType(v string) *Resource { - s.Type = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTaskRequest type RunTaskInput struct { _ struct{} `type:"structure"` @@ -7371,72 +5793,6 @@ func (s *RunTaskInput) Validate() error { return nil } -// SetCluster sets the Cluster field's value. -func (s *RunTaskInput) SetCluster(v string) *RunTaskInput { - s.Cluster = &v - return s -} - -// SetCount sets the Count field's value. -func (s *RunTaskInput) SetCount(v int64) *RunTaskInput { - s.Count = &v - return s -} - -// SetGroup sets the Group field's value. -func (s *RunTaskInput) SetGroup(v string) *RunTaskInput { - s.Group = &v - return s -} - -// SetLaunchType sets the LaunchType field's value. -func (s *RunTaskInput) SetLaunchType(v LaunchType) *RunTaskInput { - s.LaunchType = v - return s -} - -// SetNetworkConfiguration sets the NetworkConfiguration field's value. -func (s *RunTaskInput) SetNetworkConfiguration(v *NetworkConfiguration) *RunTaskInput { - s.NetworkConfiguration = v - return s -} - -// SetOverrides sets the Overrides field's value. -func (s *RunTaskInput) SetOverrides(v *TaskOverride) *RunTaskInput { - s.Overrides = v - return s -} - -// SetPlacementConstraints sets the PlacementConstraints field's value. -func (s *RunTaskInput) SetPlacementConstraints(v []PlacementConstraint) *RunTaskInput { - s.PlacementConstraints = v - return s -} - -// SetPlacementStrategy sets the PlacementStrategy field's value. -func (s *RunTaskInput) SetPlacementStrategy(v []PlacementStrategy) *RunTaskInput { - s.PlacementStrategy = v - return s -} - -// SetPlatformVersion sets the PlatformVersion field's value. -func (s *RunTaskInput) SetPlatformVersion(v string) *RunTaskInput { - s.PlatformVersion = &v - return s -} - -// SetStartedBy sets the StartedBy field's value. -func (s *RunTaskInput) SetStartedBy(v string) *RunTaskInput { - s.StartedBy = &v - return s -} - -// SetTaskDefinition sets the TaskDefinition field's value. -func (s *RunTaskInput) SetTaskDefinition(v string) *RunTaskInput { - s.TaskDefinition = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTaskResponse type RunTaskOutput struct { _ struct{} `type:"structure"` @@ -7466,18 +5822,6 @@ func (s RunTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailures sets the Failures field's value. -func (s *RunTaskOutput) SetFailures(v []Failure) *RunTaskOutput { - s.Failures = v - return s -} - -// SetTasks sets the Tasks field's value. -func (s *RunTaskOutput) SetTasks(v []Task) *RunTaskOutput { - s.Tasks = v - return s -} - // Details on a service within a cluster // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Service type Service struct { @@ -7574,126 +5918,6 @@ func (s Service) GoString() string { return s.String() } -// SetClusterArn sets the ClusterArn field's value. -func (s *Service) SetClusterArn(v string) *Service { - s.ClusterArn = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Service) SetCreatedAt(v time.Time) *Service { - s.CreatedAt = &v - return s -} - -// SetDeploymentConfiguration sets the DeploymentConfiguration field's value. -func (s *Service) SetDeploymentConfiguration(v *DeploymentConfiguration) *Service { - s.DeploymentConfiguration = v - return s -} - -// SetDeployments sets the Deployments field's value. -func (s *Service) SetDeployments(v []Deployment) *Service { - s.Deployments = v - return s -} - -// SetDesiredCount sets the DesiredCount field's value. -func (s *Service) SetDesiredCount(v int64) *Service { - s.DesiredCount = &v - return s -} - -// SetEvents sets the Events field's value. -func (s *Service) SetEvents(v []ServiceEvent) *Service { - s.Events = v - return s -} - -// SetHealthCheckGracePeriodSeconds sets the HealthCheckGracePeriodSeconds field's value. -func (s *Service) SetHealthCheckGracePeriodSeconds(v int64) *Service { - s.HealthCheckGracePeriodSeconds = &v - return s -} - -// SetLaunchType sets the LaunchType field's value. -func (s *Service) SetLaunchType(v LaunchType) *Service { - s.LaunchType = v - return s -} - -// SetLoadBalancers sets the LoadBalancers field's value. -func (s *Service) SetLoadBalancers(v []LoadBalancer) *Service { - s.LoadBalancers = v - return s -} - -// SetNetworkConfiguration sets the NetworkConfiguration field's value. -func (s *Service) SetNetworkConfiguration(v *NetworkConfiguration) *Service { - s.NetworkConfiguration = v - return s -} - -// SetPendingCount sets the PendingCount field's value. -func (s *Service) SetPendingCount(v int64) *Service { - s.PendingCount = &v - return s -} - -// SetPlacementConstraints sets the PlacementConstraints field's value. -func (s *Service) SetPlacementConstraints(v []PlacementConstraint) *Service { - s.PlacementConstraints = v - return s -} - -// SetPlacementStrategy sets the PlacementStrategy field's value. -func (s *Service) SetPlacementStrategy(v []PlacementStrategy) *Service { - s.PlacementStrategy = v - return s -} - -// SetPlatformVersion sets the PlatformVersion field's value. -func (s *Service) SetPlatformVersion(v string) *Service { - s.PlatformVersion = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *Service) SetRoleArn(v string) *Service { - s.RoleArn = &v - return s -} - -// SetRunningCount sets the RunningCount field's value. -func (s *Service) SetRunningCount(v int64) *Service { - s.RunningCount = &v - return s -} - -// SetServiceArn sets the ServiceArn field's value. -func (s *Service) SetServiceArn(v string) *Service { - s.ServiceArn = &v - return s -} - -// SetServiceName sets the ServiceName field's value. -func (s *Service) SetServiceName(v string) *Service { - s.ServiceName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Service) SetStatus(v string) *Service { - s.Status = &v - return s -} - -// SetTaskDefinition sets the TaskDefinition field's value. -func (s *Service) SetTaskDefinition(v string) *Service { - s.TaskDefinition = &v - return s -} - // Details on an event associated with a service. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceEvent type ServiceEvent struct { @@ -7719,24 +5943,6 @@ func (s ServiceEvent) GoString() string { return s.String() } -// SetCreatedAt sets the CreatedAt field's value. -func (s *ServiceEvent) SetCreatedAt(v time.Time) *ServiceEvent { - s.CreatedAt = &v - return s -} - -// SetId sets the Id field's value. -func (s *ServiceEvent) SetId(v string) *ServiceEvent { - s.Id = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *ServiceEvent) SetMessage(v string) *ServiceEvent { - s.Message = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StartTaskRequest type StartTaskInput struct { _ struct{} `type:"structure"` @@ -7824,48 +6030,6 @@ func (s *StartTaskInput) Validate() error { return nil } -// SetCluster sets the Cluster field's value. -func (s *StartTaskInput) SetCluster(v string) *StartTaskInput { - s.Cluster = &v - return s -} - -// SetContainerInstances sets the ContainerInstances field's value. -func (s *StartTaskInput) SetContainerInstances(v []string) *StartTaskInput { - s.ContainerInstances = v - return s -} - -// SetGroup sets the Group field's value. -func (s *StartTaskInput) SetGroup(v string) *StartTaskInput { - s.Group = &v - return s -} - -// SetNetworkConfiguration sets the NetworkConfiguration field's value. -func (s *StartTaskInput) SetNetworkConfiguration(v *NetworkConfiguration) *StartTaskInput { - s.NetworkConfiguration = v - return s -} - -// SetOverrides sets the Overrides field's value. -func (s *StartTaskInput) SetOverrides(v *TaskOverride) *StartTaskInput { - s.Overrides = v - return s -} - -// SetStartedBy sets the StartedBy field's value. -func (s *StartTaskInput) SetStartedBy(v string) *StartTaskInput { - s.StartedBy = &v - return s -} - -// SetTaskDefinition sets the TaskDefinition field's value. -func (s *StartTaskInput) SetTaskDefinition(v string) *StartTaskInput { - s.TaskDefinition = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StartTaskResponse type StartTaskOutput struct { _ struct{} `type:"structure"` @@ -7895,18 +6059,6 @@ func (s StartTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailures sets the Failures field's value. -func (s *StartTaskOutput) SetFailures(v []Failure) *StartTaskOutput { - s.Failures = v - return s -} - -// SetTasks sets the Tasks field's value. -func (s *StartTaskOutput) SetTasks(v []Task) *StartTaskOutput { - s.Tasks = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopTaskRequest type StopTaskInput struct { _ struct{} `type:"structure"` @@ -7952,24 +6104,6 @@ func (s *StopTaskInput) Validate() error { return nil } -// SetCluster sets the Cluster field's value. -func (s *StopTaskInput) SetCluster(v string) *StopTaskInput { - s.Cluster = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *StopTaskInput) SetReason(v string) *StopTaskInput { - s.Reason = &v - return s -} - -// SetTask sets the Task field's value. -func (s *StopTaskInput) SetTask(v string) *StopTaskInput { - s.Task = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopTaskResponse type StopTaskOutput struct { _ struct{} `type:"structure"` @@ -7995,12 +6129,6 @@ func (s StopTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTask sets the Task field's value. -func (s *StopTaskOutput) SetTask(v *Task) *StopTaskOutput { - s.Task = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitContainerStateChangeRequest type SubmitContainerStateChangeInput struct { _ struct{} `type:"structure"` @@ -8038,48 +6166,6 @@ func (s SubmitContainerStateChangeInput) GoString() string { return s.String() } -// SetCluster sets the Cluster field's value. -func (s *SubmitContainerStateChangeInput) SetCluster(v string) *SubmitContainerStateChangeInput { - s.Cluster = &v - return s -} - -// SetContainerName sets the ContainerName field's value. -func (s *SubmitContainerStateChangeInput) SetContainerName(v string) *SubmitContainerStateChangeInput { - s.ContainerName = &v - return s -} - -// SetExitCode sets the ExitCode field's value. -func (s *SubmitContainerStateChangeInput) SetExitCode(v int64) *SubmitContainerStateChangeInput { - s.ExitCode = &v - return s -} - -// SetNetworkBindings sets the NetworkBindings field's value. -func (s *SubmitContainerStateChangeInput) SetNetworkBindings(v []NetworkBinding) *SubmitContainerStateChangeInput { - s.NetworkBindings = v - return s -} - -// SetReason sets the Reason field's value. -func (s *SubmitContainerStateChangeInput) SetReason(v string) *SubmitContainerStateChangeInput { - s.Reason = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *SubmitContainerStateChangeInput) SetStatus(v string) *SubmitContainerStateChangeInput { - s.Status = &v - return s -} - -// SetTask sets the Task field's value. -func (s *SubmitContainerStateChangeInput) SetTask(v string) *SubmitContainerStateChangeInput { - s.Task = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitContainerStateChangeResponse type SubmitContainerStateChangeOutput struct { _ struct{} `type:"structure"` @@ -8105,12 +6191,6 @@ func (s SubmitContainerStateChangeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAcknowledgment sets the Acknowledgment field's value. -func (s *SubmitContainerStateChangeOutput) SetAcknowledgment(v string) *SubmitContainerStateChangeOutput { - s.Acknowledgment = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitTaskStateChangeRequest type SubmitTaskStateChangeInput struct { _ struct{} `type:"structure"` @@ -8171,60 +6251,6 @@ func (s *SubmitTaskStateChangeInput) Validate() error { return nil } -// SetAttachments sets the Attachments field's value. -func (s *SubmitTaskStateChangeInput) SetAttachments(v []AttachmentStateChange) *SubmitTaskStateChangeInput { - s.Attachments = v - return s -} - -// SetCluster sets the Cluster field's value. -func (s *SubmitTaskStateChangeInput) SetCluster(v string) *SubmitTaskStateChangeInput { - s.Cluster = &v - return s -} - -// SetContainers sets the Containers field's value. -func (s *SubmitTaskStateChangeInput) SetContainers(v []ContainerStateChange) *SubmitTaskStateChangeInput { - s.Containers = v - return s -} - -// SetExecutionStoppedAt sets the ExecutionStoppedAt field's value. -func (s *SubmitTaskStateChangeInput) SetExecutionStoppedAt(v time.Time) *SubmitTaskStateChangeInput { - s.ExecutionStoppedAt = &v - return s -} - -// SetPullStartedAt sets the PullStartedAt field's value. -func (s *SubmitTaskStateChangeInput) SetPullStartedAt(v time.Time) *SubmitTaskStateChangeInput { - s.PullStartedAt = &v - return s -} - -// SetPullStoppedAt sets the PullStoppedAt field's value. -func (s *SubmitTaskStateChangeInput) SetPullStoppedAt(v time.Time) *SubmitTaskStateChangeInput { - s.PullStoppedAt = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *SubmitTaskStateChangeInput) SetReason(v string) *SubmitTaskStateChangeInput { - s.Reason = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *SubmitTaskStateChangeInput) SetStatus(v string) *SubmitTaskStateChangeInput { - s.Status = &v - return s -} - -// SetTask sets the Task field's value. -func (s *SubmitTaskStateChangeInput) SetTask(v string) *SubmitTaskStateChangeInput { - s.Task = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitTaskStateChangeResponse type SubmitTaskStateChangeOutput struct { _ struct{} `type:"structure"` @@ -8250,12 +6276,6 @@ func (s SubmitTaskStateChangeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAcknowledgment sets the Acknowledgment field's value. -func (s *SubmitTaskStateChangeOutput) SetAcknowledgment(v string) *SubmitTaskStateChangeOutput { - s.Acknowledgment = &v - return s -} - // Details on a task in a cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Task type Task struct { @@ -8395,162 +6415,6 @@ func (s Task) GoString() string { return s.String() } -// SetAttachments sets the Attachments field's value. -func (s *Task) SetAttachments(v []Attachment) *Task { - s.Attachments = v - return s -} - -// SetClusterArn sets the ClusterArn field's value. -func (s *Task) SetClusterArn(v string) *Task { - s.ClusterArn = &v - return s -} - -// SetConnectivity sets the Connectivity field's value. -func (s *Task) SetConnectivity(v Connectivity) *Task { - s.Connectivity = v - return s -} - -// SetConnectivityAt sets the ConnectivityAt field's value. -func (s *Task) SetConnectivityAt(v time.Time) *Task { - s.ConnectivityAt = &v - return s -} - -// SetContainerInstanceArn sets the ContainerInstanceArn field's value. -func (s *Task) SetContainerInstanceArn(v string) *Task { - s.ContainerInstanceArn = &v - return s -} - -// SetContainers sets the Containers field's value. -func (s *Task) SetContainers(v []Container) *Task { - s.Containers = v - return s -} - -// SetCpu sets the Cpu field's value. -func (s *Task) SetCpu(v string) *Task { - s.Cpu = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Task) SetCreatedAt(v time.Time) *Task { - s.CreatedAt = &v - return s -} - -// SetDesiredStatus sets the DesiredStatus field's value. -func (s *Task) SetDesiredStatus(v string) *Task { - s.DesiredStatus = &v - return s -} - -// SetExecutionStoppedAt sets the ExecutionStoppedAt field's value. -func (s *Task) SetExecutionStoppedAt(v time.Time) *Task { - s.ExecutionStoppedAt = &v - return s -} - -// SetGroup sets the Group field's value. -func (s *Task) SetGroup(v string) *Task { - s.Group = &v - return s -} - -// SetLastStatus sets the LastStatus field's value. -func (s *Task) SetLastStatus(v string) *Task { - s.LastStatus = &v - return s -} - -// SetLaunchType sets the LaunchType field's value. -func (s *Task) SetLaunchType(v LaunchType) *Task { - s.LaunchType = v - return s -} - -// SetMemory sets the Memory field's value. -func (s *Task) SetMemory(v string) *Task { - s.Memory = &v - return s -} - -// SetOverrides sets the Overrides field's value. -func (s *Task) SetOverrides(v *TaskOverride) *Task { - s.Overrides = v - return s -} - -// SetPlatformVersion sets the PlatformVersion field's value. -func (s *Task) SetPlatformVersion(v string) *Task { - s.PlatformVersion = &v - return s -} - -// SetPullStartedAt sets the PullStartedAt field's value. -func (s *Task) SetPullStartedAt(v time.Time) *Task { - s.PullStartedAt = &v - return s -} - -// SetPullStoppedAt sets the PullStoppedAt field's value. -func (s *Task) SetPullStoppedAt(v time.Time) *Task { - s.PullStoppedAt = &v - return s -} - -// SetStartedAt sets the StartedAt field's value. -func (s *Task) SetStartedAt(v time.Time) *Task { - s.StartedAt = &v - return s -} - -// SetStartedBy sets the StartedBy field's value. -func (s *Task) SetStartedBy(v string) *Task { - s.StartedBy = &v - return s -} - -// SetStoppedAt sets the StoppedAt field's value. -func (s *Task) SetStoppedAt(v time.Time) *Task { - s.StoppedAt = &v - return s -} - -// SetStoppedReason sets the StoppedReason field's value. -func (s *Task) SetStoppedReason(v string) *Task { - s.StoppedReason = &v - return s -} - -// SetStoppingAt sets the StoppingAt field's value. -func (s *Task) SetStoppingAt(v time.Time) *Task { - s.StoppingAt = &v - return s -} - -// SetTaskArn sets the TaskArn field's value. -func (s *Task) SetTaskArn(v string) *Task { - s.TaskArn = &v - return s -} - -// SetTaskDefinitionArn sets the TaskDefinitionArn field's value. -func (s *Task) SetTaskDefinitionArn(v string) *Task { - s.TaskDefinitionArn = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *Task) SetVersion(v int64) *Task { - s.Version = &v - return s -} - // Details of a task definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TaskDefinition type TaskDefinition struct { @@ -8703,96 +6567,6 @@ func (s TaskDefinition) GoString() string { return s.String() } -// SetCompatibilities sets the Compatibilities field's value. -func (s *TaskDefinition) SetCompatibilities(v []Compatibility) *TaskDefinition { - s.Compatibilities = v - return s -} - -// SetContainerDefinitions sets the ContainerDefinitions field's value. -func (s *TaskDefinition) SetContainerDefinitions(v []ContainerDefinition) *TaskDefinition { - s.ContainerDefinitions = v - return s -} - -// SetCpu sets the Cpu field's value. -func (s *TaskDefinition) SetCpu(v string) *TaskDefinition { - s.Cpu = &v - return s -} - -// SetExecutionRoleArn sets the ExecutionRoleArn field's value. -func (s *TaskDefinition) SetExecutionRoleArn(v string) *TaskDefinition { - s.ExecutionRoleArn = &v - return s -} - -// SetFamily sets the Family field's value. -func (s *TaskDefinition) SetFamily(v string) *TaskDefinition { - s.Family = &v - return s -} - -// SetMemory sets the Memory field's value. -func (s *TaskDefinition) SetMemory(v string) *TaskDefinition { - s.Memory = &v - return s -} - -// SetNetworkMode sets the NetworkMode field's value. -func (s *TaskDefinition) SetNetworkMode(v NetworkMode) *TaskDefinition { - s.NetworkMode = v - return s -} - -// SetPlacementConstraints sets the PlacementConstraints field's value. -func (s *TaskDefinition) SetPlacementConstraints(v []TaskDefinitionPlacementConstraint) *TaskDefinition { - s.PlacementConstraints = v - return s -} - -// SetRequiresAttributes sets the RequiresAttributes field's value. -func (s *TaskDefinition) SetRequiresAttributes(v []Attribute) *TaskDefinition { - s.RequiresAttributes = v - return s -} - -// SetRequiresCompatibilities sets the RequiresCompatibilities field's value. -func (s *TaskDefinition) SetRequiresCompatibilities(v []Compatibility) *TaskDefinition { - s.RequiresCompatibilities = v - return s -} - -// SetRevision sets the Revision field's value. -func (s *TaskDefinition) SetRevision(v int64) *TaskDefinition { - s.Revision = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *TaskDefinition) SetStatus(v TaskDefinitionStatus) *TaskDefinition { - s.Status = v - return s -} - -// SetTaskDefinitionArn sets the TaskDefinitionArn field's value. -func (s *TaskDefinition) SetTaskDefinitionArn(v string) *TaskDefinition { - s.TaskDefinitionArn = &v - return s -} - -// SetTaskRoleArn sets the TaskRoleArn field's value. -func (s *TaskDefinition) SetTaskRoleArn(v string) *TaskDefinition { - s.TaskRoleArn = &v - return s -} - -// SetVolumes sets the Volumes field's value. -func (s *TaskDefinition) SetVolumes(v []Volume) *TaskDefinition { - s.Volumes = v - return s -} - // An object representing a constraint on task placement in the task definition. // // If you are using the Fargate launch type, task placement contraints are not @@ -8825,18 +6599,6 @@ func (s TaskDefinitionPlacementConstraint) GoString() string { return s.String() } -// SetExpression sets the Expression field's value. -func (s *TaskDefinitionPlacementConstraint) SetExpression(v string) *TaskDefinitionPlacementConstraint { - s.Expression = &v - return s -} - -// SetType sets the Type field's value. -func (s *TaskDefinitionPlacementConstraint) SetType(v TaskDefinitionPlacementConstraintType) *TaskDefinitionPlacementConstraint { - s.Type = v - return s -} - // The overrides associated with a task. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TaskOverride type TaskOverride struct { @@ -8865,24 +6627,6 @@ func (s TaskOverride) GoString() string { return s.String() } -// SetContainerOverrides sets the ContainerOverrides field's value. -func (s *TaskOverride) SetContainerOverrides(v []ContainerOverride) *TaskOverride { - s.ContainerOverrides = v - return s -} - -// SetExecutionRoleArn sets the ExecutionRoleArn field's value. -func (s *TaskOverride) SetExecutionRoleArn(v string) *TaskOverride { - s.ExecutionRoleArn = &v - return s -} - -// SetTaskRoleArn sets the TaskRoleArn field's value. -func (s *TaskOverride) SetTaskRoleArn(v string) *TaskOverride { - s.TaskRoleArn = &v - return s -} - // The ulimit settings to pass to the container. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Ulimit type Ulimit struct { @@ -8935,24 +6679,6 @@ func (s *Ulimit) Validate() error { return nil } -// SetHardLimit sets the HardLimit field's value. -func (s *Ulimit) SetHardLimit(v int64) *Ulimit { - s.HardLimit = &v - return s -} - -// SetName sets the Name field's value. -func (s *Ulimit) SetName(v UlimitName) *Ulimit { - s.Name = v - return s -} - -// SetSoftLimit sets the SoftLimit field's value. -func (s *Ulimit) SetSoftLimit(v int64) *Ulimit { - s.SoftLimit = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerAgentRequest type UpdateContainerAgentInput struct { _ struct{} `type:"structure"` @@ -8993,18 +6719,6 @@ func (s *UpdateContainerAgentInput) Validate() error { return nil } -// SetCluster sets the Cluster field's value. -func (s *UpdateContainerAgentInput) SetCluster(v string) *UpdateContainerAgentInput { - s.Cluster = &v - return s -} - -// SetContainerInstance sets the ContainerInstance field's value. -func (s *UpdateContainerAgentInput) SetContainerInstance(v string) *UpdateContainerAgentInput { - s.ContainerInstance = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerAgentResponse type UpdateContainerAgentOutput struct { _ struct{} `type:"structure"` @@ -9030,12 +6744,6 @@ func (s UpdateContainerAgentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetContainerInstance sets the ContainerInstance field's value. -func (s *UpdateContainerAgentOutput) SetContainerInstance(v *ContainerInstance) *UpdateContainerAgentOutput { - s.ContainerInstance = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerInstancesStateRequest type UpdateContainerInstancesStateInput struct { _ struct{} `type:"structure"` @@ -9083,24 +6791,6 @@ func (s *UpdateContainerInstancesStateInput) Validate() error { return nil } -// SetCluster sets the Cluster field's value. -func (s *UpdateContainerInstancesStateInput) SetCluster(v string) *UpdateContainerInstancesStateInput { - s.Cluster = &v - return s -} - -// SetContainerInstances sets the ContainerInstances field's value. -func (s *UpdateContainerInstancesStateInput) SetContainerInstances(v []string) *UpdateContainerInstancesStateInput { - s.ContainerInstances = v - return s -} - -// SetStatus sets the Status field's value. -func (s *UpdateContainerInstancesStateInput) SetStatus(v ContainerInstanceStatus) *UpdateContainerInstancesStateInput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerInstancesStateResponse type UpdateContainerInstancesStateOutput struct { _ struct{} `type:"structure"` @@ -9129,18 +6819,6 @@ func (s UpdateContainerInstancesStateOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetContainerInstances sets the ContainerInstances field's value. -func (s *UpdateContainerInstancesStateOutput) SetContainerInstances(v []ContainerInstance) *UpdateContainerInstancesStateOutput { - s.ContainerInstances = v - return s -} - -// SetFailures sets the Failures field's value. -func (s *UpdateContainerInstancesStateOutput) SetFailures(v []Failure) *UpdateContainerInstancesStateOutput { - s.Failures = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServiceRequest type UpdateServiceInput struct { _ struct{} `type:"structure"` @@ -9229,60 +6907,6 @@ func (s *UpdateServiceInput) Validate() error { return nil } -// SetCluster sets the Cluster field's value. -func (s *UpdateServiceInput) SetCluster(v string) *UpdateServiceInput { - s.Cluster = &v - return s -} - -// SetDeploymentConfiguration sets the DeploymentConfiguration field's value. -func (s *UpdateServiceInput) SetDeploymentConfiguration(v *DeploymentConfiguration) *UpdateServiceInput { - s.DeploymentConfiguration = v - return s -} - -// SetDesiredCount sets the DesiredCount field's value. -func (s *UpdateServiceInput) SetDesiredCount(v int64) *UpdateServiceInput { - s.DesiredCount = &v - return s -} - -// SetForceNewDeployment sets the ForceNewDeployment field's value. -func (s *UpdateServiceInput) SetForceNewDeployment(v bool) *UpdateServiceInput { - s.ForceNewDeployment = &v - return s -} - -// SetHealthCheckGracePeriodSeconds sets the HealthCheckGracePeriodSeconds field's value. -func (s *UpdateServiceInput) SetHealthCheckGracePeriodSeconds(v int64) *UpdateServiceInput { - s.HealthCheckGracePeriodSeconds = &v - return s -} - -// SetNetworkConfiguration sets the NetworkConfiguration field's value. -func (s *UpdateServiceInput) SetNetworkConfiguration(v *NetworkConfiguration) *UpdateServiceInput { - s.NetworkConfiguration = v - return s -} - -// SetPlatformVersion sets the PlatformVersion field's value. -func (s *UpdateServiceInput) SetPlatformVersion(v string) *UpdateServiceInput { - s.PlatformVersion = &v - return s -} - -// SetService sets the Service field's value. -func (s *UpdateServiceInput) SetService(v string) *UpdateServiceInput { - s.Service = &v - return s -} - -// SetTaskDefinition sets the TaskDefinition field's value. -func (s *UpdateServiceInput) SetTaskDefinition(v string) *UpdateServiceInput { - s.TaskDefinition = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServiceResponse type UpdateServiceOutput struct { _ struct{} `type:"structure"` @@ -9308,12 +6932,6 @@ func (s UpdateServiceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetService sets the Service field's value. -func (s *UpdateServiceOutput) SetService(v *Service) *UpdateServiceOutput { - s.Service = v - return s -} - // The Docker and Amazon ECS container agent version information about a container // instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/VersionInfo @@ -9341,24 +6959,6 @@ func (s VersionInfo) GoString() string { return s.String() } -// SetAgentHash sets the AgentHash field's value. -func (s *VersionInfo) SetAgentHash(v string) *VersionInfo { - s.AgentHash = &v - return s -} - -// SetAgentVersion sets the AgentVersion field's value. -func (s *VersionInfo) SetAgentVersion(v string) *VersionInfo { - s.AgentVersion = &v - return s -} - -// SetDockerVersion sets the DockerVersion field's value. -func (s *VersionInfo) SetDockerVersion(v string) *VersionInfo { - s.DockerVersion = &v - return s -} - // A data volume used in a task definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Volume type Volume struct { @@ -9392,18 +6992,6 @@ func (s Volume) GoString() string { return s.String() } -// SetHost sets the Host field's value. -func (s *Volume) SetHost(v *HostVolumeProperties) *Volume { - s.Host = v - return s -} - -// SetName sets the Name field's value. -func (s *Volume) SetName(v string) *Volume { - s.Name = &v - return s -} - // Details on a data volume from another container in the same task definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/VolumeFrom type VolumeFrom struct { @@ -9429,18 +7017,6 @@ func (s VolumeFrom) GoString() string { return s.String() } -// SetReadOnly sets the ReadOnly field's value. -func (s *VolumeFrom) SetReadOnly(v bool) *VolumeFrom { - s.ReadOnly = &v - return s -} - -// SetSourceContainer sets the SourceContainer field's value. -func (s *VolumeFrom) SetSourceContainer(v string) *VolumeFrom { - s.SourceContainer = &v - return s -} - type AgentUpdateStatus string // Enum values for AgentUpdateStatus diff --git a/service/efs/api.go b/service/efs/api.go index f09e67c7bb7..16204617f31 100644 --- a/service/efs/api.go +++ b/service/efs/api.go @@ -887,30 +887,6 @@ func (s *CreateFileSystemInput) Validate() error { return nil } -// SetCreationToken sets the CreationToken field's value. -func (s *CreateFileSystemInput) SetCreationToken(v string) *CreateFileSystemInput { - s.CreationToken = &v - return s -} - -// SetEncrypted sets the Encrypted field's value. -func (s *CreateFileSystemInput) SetEncrypted(v bool) *CreateFileSystemInput { - s.Encrypted = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CreateFileSystemInput) SetKmsKeyId(v string) *CreateFileSystemInput { - s.KmsKeyId = &v - return s -} - -// SetPerformanceMode sets the PerformanceMode field's value. -func (s *CreateFileSystemInput) SetPerformanceMode(v PerformanceMode) *CreateFileSystemInput { - s.PerformanceMode = v - return s -} - // Description of the file system. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/FileSystemDescription type CreateFileSystemOutput struct { @@ -996,72 +972,6 @@ func (s CreateFileSystemOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreationTime sets the CreationTime field's value. -func (s *CreateFileSystemOutput) SetCreationTime(v time.Time) *CreateFileSystemOutput { - s.CreationTime = &v - return s -} - -// SetCreationToken sets the CreationToken field's value. -func (s *CreateFileSystemOutput) SetCreationToken(v string) *CreateFileSystemOutput { - s.CreationToken = &v - return s -} - -// SetEncrypted sets the Encrypted field's value. -func (s *CreateFileSystemOutput) SetEncrypted(v bool) *CreateFileSystemOutput { - s.Encrypted = &v - return s -} - -// SetFileSystemId sets the FileSystemId field's value. -func (s *CreateFileSystemOutput) SetFileSystemId(v string) *CreateFileSystemOutput { - s.FileSystemId = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CreateFileSystemOutput) SetKmsKeyId(v string) *CreateFileSystemOutput { - s.KmsKeyId = &v - return s -} - -// SetLifeCycleState sets the LifeCycleState field's value. -func (s *CreateFileSystemOutput) SetLifeCycleState(v LifeCycleState) *CreateFileSystemOutput { - s.LifeCycleState = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateFileSystemOutput) SetName(v string) *CreateFileSystemOutput { - s.Name = &v - return s -} - -// SetNumberOfMountTargets sets the NumberOfMountTargets field's value. -func (s *CreateFileSystemOutput) SetNumberOfMountTargets(v int64) *CreateFileSystemOutput { - s.NumberOfMountTargets = &v - return s -} - -// SetOwnerId sets the OwnerId field's value. -func (s *CreateFileSystemOutput) SetOwnerId(v string) *CreateFileSystemOutput { - s.OwnerId = &v - return s -} - -// SetPerformanceMode sets the PerformanceMode field's value. -func (s *CreateFileSystemOutput) SetPerformanceMode(v PerformanceMode) *CreateFileSystemOutput { - s.PerformanceMode = v - return s -} - -// SetSizeInBytes sets the SizeInBytes field's value. -func (s *CreateFileSystemOutput) SetSizeInBytes(v *FileSystemSize) *CreateFileSystemOutput { - s.SizeInBytes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateMountTargetRequest type CreateMountTargetInput struct { _ struct{} `type:"structure"` @@ -1112,30 +1022,6 @@ func (s *CreateMountTargetInput) Validate() error { return nil } -// SetFileSystemId sets the FileSystemId field's value. -func (s *CreateMountTargetInput) SetFileSystemId(v string) *CreateMountTargetInput { - s.FileSystemId = &v - return s -} - -// SetIpAddress sets the IpAddress field's value. -func (s *CreateMountTargetInput) SetIpAddress(v string) *CreateMountTargetInput { - s.IpAddress = &v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *CreateMountTargetInput) SetSecurityGroups(v []string) *CreateMountTargetInput { - s.SecurityGroups = v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *CreateMountTargetInput) SetSubnetId(v string) *CreateMountTargetInput { - s.SubnetId = &v - return s -} - // Provides a description of a mount target. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/MountTargetDescription type CreateMountTargetOutput struct { @@ -1189,48 +1075,6 @@ func (s CreateMountTargetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFileSystemId sets the FileSystemId field's value. -func (s *CreateMountTargetOutput) SetFileSystemId(v string) *CreateMountTargetOutput { - s.FileSystemId = &v - return s -} - -// SetIpAddress sets the IpAddress field's value. -func (s *CreateMountTargetOutput) SetIpAddress(v string) *CreateMountTargetOutput { - s.IpAddress = &v - return s -} - -// SetLifeCycleState sets the LifeCycleState field's value. -func (s *CreateMountTargetOutput) SetLifeCycleState(v LifeCycleState) *CreateMountTargetOutput { - s.LifeCycleState = v - return s -} - -// SetMountTargetId sets the MountTargetId field's value. -func (s *CreateMountTargetOutput) SetMountTargetId(v string) *CreateMountTargetOutput { - s.MountTargetId = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *CreateMountTargetOutput) SetNetworkInterfaceId(v string) *CreateMountTargetOutput { - s.NetworkInterfaceId = &v - return s -} - -// SetOwnerId sets the OwnerId field's value. -func (s *CreateMountTargetOutput) SetOwnerId(v string) *CreateMountTargetOutput { - s.OwnerId = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *CreateMountTargetOutput) SetSubnetId(v string) *CreateMountTargetOutput { - s.SubnetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateTagsRequest type CreateTagsInput struct { _ struct{} `type:"structure"` @@ -1282,18 +1126,6 @@ func (s *CreateTagsInput) Validate() error { return nil } -// SetFileSystemId sets the FileSystemId field's value. -func (s *CreateTagsInput) SetFileSystemId(v string) *CreateTagsInput { - s.FileSystemId = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateTagsInput) SetTags(v []Tag) *CreateTagsInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateTagsOutput type CreateTagsOutput struct { _ struct{} `type:"structure"` @@ -1350,12 +1182,6 @@ func (s *DeleteFileSystemInput) Validate() error { return nil } -// SetFileSystemId sets the FileSystemId field's value. -func (s *DeleteFileSystemInput) SetFileSystemId(v string) *DeleteFileSystemInput { - s.FileSystemId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteFileSystemOutput type DeleteFileSystemOutput struct { _ struct{} `type:"structure"` @@ -1412,12 +1238,6 @@ func (s *DeleteMountTargetInput) Validate() error { return nil } -// SetMountTargetId sets the MountTargetId field's value. -func (s *DeleteMountTargetInput) SetMountTargetId(v string) *DeleteMountTargetInput { - s.MountTargetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteMountTargetOutput type DeleteMountTargetOutput struct { _ struct{} `type:"structure"` @@ -1483,18 +1303,6 @@ func (s *DeleteTagsInput) Validate() error { return nil } -// SetFileSystemId sets the FileSystemId field's value. -func (s *DeleteTagsInput) SetFileSystemId(v string) *DeleteTagsInput { - s.FileSystemId = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *DeleteTagsInput) SetTagKeys(v []string) *DeleteTagsInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteTagsOutput type DeleteTagsOutput struct { _ struct{} `type:"structure"` @@ -1568,30 +1376,6 @@ func (s *DescribeFileSystemsInput) Validate() error { return nil } -// SetCreationToken sets the CreationToken field's value. -func (s *DescribeFileSystemsInput) SetCreationToken(v string) *DescribeFileSystemsInput { - s.CreationToken = &v - return s -} - -// SetFileSystemId sets the FileSystemId field's value. -func (s *DescribeFileSystemsInput) SetFileSystemId(v string) *DescribeFileSystemsInput { - s.FileSystemId = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeFileSystemsInput) SetMarker(v string) *DescribeFileSystemsInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *DescribeFileSystemsInput) SetMaxItems(v int64) *DescribeFileSystemsInput { - s.MaxItems = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeFileSystemsResponse type DescribeFileSystemsOutput struct { _ struct{} `type:"structure"` @@ -1624,24 +1408,6 @@ func (s DescribeFileSystemsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFileSystems sets the FileSystems field's value. -func (s *DescribeFileSystemsOutput) SetFileSystems(v []CreateFileSystemOutput) *DescribeFileSystemsOutput { - s.FileSystems = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeFileSystemsOutput) SetMarker(v string) *DescribeFileSystemsOutput { - s.Marker = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *DescribeFileSystemsOutput) SetNextMarker(v string) *DescribeFileSystemsOutput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetSecurityGroupsRequest type DescribeMountTargetSecurityGroupsInput struct { _ struct{} `type:"structure"` @@ -1676,12 +1442,6 @@ func (s *DescribeMountTargetSecurityGroupsInput) Validate() error { return nil } -// SetMountTargetId sets the MountTargetId field's value. -func (s *DescribeMountTargetSecurityGroupsInput) SetMountTargetId(v string) *DescribeMountTargetSecurityGroupsInput { - s.MountTargetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetSecurityGroupsResponse type DescribeMountTargetSecurityGroupsOutput struct { _ struct{} `type:"structure"` @@ -1709,12 +1469,6 @@ func (s DescribeMountTargetSecurityGroupsOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *DescribeMountTargetSecurityGroupsOutput) SetSecurityGroups(v []string) *DescribeMountTargetSecurityGroupsOutput { - s.SecurityGroups = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetsRequest type DescribeMountTargetsInput struct { _ struct{} `type:"structure"` @@ -1760,30 +1514,6 @@ func (s *DescribeMountTargetsInput) Validate() error { return nil } -// SetFileSystemId sets the FileSystemId field's value. -func (s *DescribeMountTargetsInput) SetFileSystemId(v string) *DescribeMountTargetsInput { - s.FileSystemId = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeMountTargetsInput) SetMarker(v string) *DescribeMountTargetsInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *DescribeMountTargetsInput) SetMaxItems(v int64) *DescribeMountTargetsInput { - s.MaxItems = &v - return s -} - -// SetMountTargetId sets the MountTargetId field's value. -func (s *DescribeMountTargetsInput) SetMountTargetId(v string) *DescribeMountTargetsInput { - s.MountTargetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetsResponse type DescribeMountTargetsOutput struct { _ struct{} `type:"structure"` @@ -1819,24 +1549,6 @@ func (s DescribeMountTargetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeMountTargetsOutput) SetMarker(v string) *DescribeMountTargetsOutput { - s.Marker = &v - return s -} - -// SetMountTargets sets the MountTargets field's value. -func (s *DescribeMountTargetsOutput) SetMountTargets(v []CreateMountTargetOutput) *DescribeMountTargetsOutput { - s.MountTargets = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *DescribeMountTargetsOutput) SetNextMarker(v string) *DescribeMountTargetsOutput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeTagsRequest type DescribeTagsInput struct { _ struct{} `type:"structure"` @@ -1883,24 +1595,6 @@ func (s *DescribeTagsInput) Validate() error { return nil } -// SetFileSystemId sets the FileSystemId field's value. -func (s *DescribeTagsInput) SetFileSystemId(v string) *DescribeTagsInput { - s.FileSystemId = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeTagsInput) SetMarker(v string) *DescribeTagsInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *DescribeTagsInput) SetMaxItems(v int64) *DescribeTagsInput { - s.MaxItems = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeTagsResponse type DescribeTagsOutput struct { _ struct{} `type:"structure"` @@ -1937,24 +1631,6 @@ func (s DescribeTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeTagsOutput) SetMarker(v string) *DescribeTagsOutput { - s.Marker = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *DescribeTagsOutput) SetNextMarker(v string) *DescribeTagsOutput { - s.NextMarker = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *DescribeTagsOutput) SetTags(v []Tag) *DescribeTagsOutput { - s.Tags = v - return s -} - // Latest known metered size (in bytes) of data stored in the file system, in // its Value field, and the time at which that size was determined in its Timestamp // field. Note that the value does not represent the size of a consistent snapshot @@ -1987,18 +1663,6 @@ func (s FileSystemSize) GoString() string { return s.String() } -// SetTimestamp sets the Timestamp field's value. -func (s *FileSystemSize) SetTimestamp(v time.Time) *FileSystemSize { - s.Timestamp = &v - return s -} - -// SetValue sets the Value field's value. -func (s *FileSystemSize) SetValue(v int64) *FileSystemSize { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ModifyMountTargetSecurityGroupsRequest type ModifyMountTargetSecurityGroupsInput struct { _ struct{} `type:"structure"` @@ -2036,18 +1700,6 @@ func (s *ModifyMountTargetSecurityGroupsInput) Validate() error { return nil } -// SetMountTargetId sets the MountTargetId field's value. -func (s *ModifyMountTargetSecurityGroupsInput) SetMountTargetId(v string) *ModifyMountTargetSecurityGroupsInput { - s.MountTargetId = &v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *ModifyMountTargetSecurityGroupsInput) SetSecurityGroups(v []string) *ModifyMountTargetSecurityGroupsInput { - s.SecurityGroups = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ModifyMountTargetSecurityGroupsOutput type ModifyMountTargetSecurityGroupsOutput struct { _ struct{} `type:"structure"` @@ -2118,18 +1770,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - type LifeCycleState string // Enum values for LifeCycleState diff --git a/service/elasticache/api.go b/service/elasticache/api.go index 93a132ef2bb..24f8464853a 100644 --- a/service/elasticache/api.go +++ b/service/elasticache/api.go @@ -2994,18 +2994,6 @@ func (s *AddTagsToResourceInput) Validate() error { return nil } -// SetResourceName sets the ResourceName field's value. -func (s *AddTagsToResourceInput) SetResourceName(v string) *AddTagsToResourceInput { - s.ResourceName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *AddTagsToResourceInput) SetTags(v []Tag) *AddTagsToResourceInput { - s.Tags = v - return s -} - // Represents the input of an AuthorizeCacheSecurityGroupIngress operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AuthorizeCacheSecurityGroupIngressMessage type AuthorizeCacheSecurityGroupIngressInput struct { @@ -3062,24 +3050,6 @@ func (s *AuthorizeCacheSecurityGroupIngressInput) Validate() error { return nil } -// SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value. -func (s *AuthorizeCacheSecurityGroupIngressInput) SetCacheSecurityGroupName(v string) *AuthorizeCacheSecurityGroupIngressInput { - s.CacheSecurityGroupName = &v - return s -} - -// SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value. -func (s *AuthorizeCacheSecurityGroupIngressInput) SetEC2SecurityGroupName(v string) *AuthorizeCacheSecurityGroupIngressInput { - s.EC2SecurityGroupName = &v - return s -} - -// SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value. -func (s *AuthorizeCacheSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v string) *AuthorizeCacheSecurityGroupIngressInput { - s.EC2SecurityGroupOwnerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AuthorizeCacheSecurityGroupIngressResult type AuthorizeCacheSecurityGroupIngressOutput struct { _ struct{} `type:"structure"` @@ -3111,12 +3081,6 @@ func (s AuthorizeCacheSecurityGroupIngressOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetCacheSecurityGroup sets the CacheSecurityGroup field's value. -func (s *AuthorizeCacheSecurityGroupIngressOutput) SetCacheSecurityGroup(v *CacheSecurityGroup) *AuthorizeCacheSecurityGroupIngressOutput { - s.CacheSecurityGroup = v - return s -} - // Describes an Availability Zone in which the cluster is launched. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AvailabilityZone type AvailabilityZone struct { @@ -3136,12 +3100,6 @@ func (s AvailabilityZone) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *AvailabilityZone) SetName(v string) *AvailabilityZone { - s.Name = &v - return s -} - // Contains all of the attributes of a specific cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheCluster type CacheCluster struct { @@ -3348,156 +3306,6 @@ func (s CacheCluster) GoString() string { return s.String() } -// SetAtRestEncryptionEnabled sets the AtRestEncryptionEnabled field's value. -func (s *CacheCluster) SetAtRestEncryptionEnabled(v bool) *CacheCluster { - s.AtRestEncryptionEnabled = &v - return s -} - -// SetAuthTokenEnabled sets the AuthTokenEnabled field's value. -func (s *CacheCluster) SetAuthTokenEnabled(v bool) *CacheCluster { - s.AuthTokenEnabled = &v - return s -} - -// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. -func (s *CacheCluster) SetAutoMinorVersionUpgrade(v bool) *CacheCluster { - s.AutoMinorVersionUpgrade = &v - return s -} - -// SetCacheClusterCreateTime sets the CacheClusterCreateTime field's value. -func (s *CacheCluster) SetCacheClusterCreateTime(v time.Time) *CacheCluster { - s.CacheClusterCreateTime = &v - return s -} - -// SetCacheClusterId sets the CacheClusterId field's value. -func (s *CacheCluster) SetCacheClusterId(v string) *CacheCluster { - s.CacheClusterId = &v - return s -} - -// SetCacheClusterStatus sets the CacheClusterStatus field's value. -func (s *CacheCluster) SetCacheClusterStatus(v string) *CacheCluster { - s.CacheClusterStatus = &v - return s -} - -// SetCacheNodeType sets the CacheNodeType field's value. -func (s *CacheCluster) SetCacheNodeType(v string) *CacheCluster { - s.CacheNodeType = &v - return s -} - -// SetCacheNodes sets the CacheNodes field's value. -func (s *CacheCluster) SetCacheNodes(v []CacheNode) *CacheCluster { - s.CacheNodes = v - return s -} - -// SetCacheParameterGroup sets the CacheParameterGroup field's value. -func (s *CacheCluster) SetCacheParameterGroup(v *CacheParameterGroupStatus) *CacheCluster { - s.CacheParameterGroup = v - return s -} - -// SetCacheSecurityGroups sets the CacheSecurityGroups field's value. -func (s *CacheCluster) SetCacheSecurityGroups(v []CacheSecurityGroupMembership) *CacheCluster { - s.CacheSecurityGroups = v - return s -} - -// SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value. -func (s *CacheCluster) SetCacheSubnetGroupName(v string) *CacheCluster { - s.CacheSubnetGroupName = &v - return s -} - -// SetClientDownloadLandingPage sets the ClientDownloadLandingPage field's value. -func (s *CacheCluster) SetClientDownloadLandingPage(v string) *CacheCluster { - s.ClientDownloadLandingPage = &v - return s -} - -// SetConfigurationEndpoint sets the ConfigurationEndpoint field's value. -func (s *CacheCluster) SetConfigurationEndpoint(v *Endpoint) *CacheCluster { - s.ConfigurationEndpoint = v - return s -} - -// SetEngine sets the Engine field's value. -func (s *CacheCluster) SetEngine(v string) *CacheCluster { - s.Engine = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *CacheCluster) SetEngineVersion(v string) *CacheCluster { - s.EngineVersion = &v - return s -} - -// SetNotificationConfiguration sets the NotificationConfiguration field's value. -func (s *CacheCluster) SetNotificationConfiguration(v *NotificationConfiguration) *CacheCluster { - s.NotificationConfiguration = v - return s -} - -// SetNumCacheNodes sets the NumCacheNodes field's value. -func (s *CacheCluster) SetNumCacheNodes(v int64) *CacheCluster { - s.NumCacheNodes = &v - return s -} - -// SetPendingModifiedValues sets the PendingModifiedValues field's value. -func (s *CacheCluster) SetPendingModifiedValues(v *PendingModifiedValues) *CacheCluster { - s.PendingModifiedValues = v - return s -} - -// SetPreferredAvailabilityZone sets the PreferredAvailabilityZone field's value. -func (s *CacheCluster) SetPreferredAvailabilityZone(v string) *CacheCluster { - s.PreferredAvailabilityZone = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *CacheCluster) SetPreferredMaintenanceWindow(v string) *CacheCluster { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetReplicationGroupId sets the ReplicationGroupId field's value. -func (s *CacheCluster) SetReplicationGroupId(v string) *CacheCluster { - s.ReplicationGroupId = &v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *CacheCluster) SetSecurityGroups(v []SecurityGroupMembership) *CacheCluster { - s.SecurityGroups = v - return s -} - -// SetSnapshotRetentionLimit sets the SnapshotRetentionLimit field's value. -func (s *CacheCluster) SetSnapshotRetentionLimit(v int64) *CacheCluster { - s.SnapshotRetentionLimit = &v - return s -} - -// SetSnapshotWindow sets the SnapshotWindow field's value. -func (s *CacheCluster) SetSnapshotWindow(v string) *CacheCluster { - s.SnapshotWindow = &v - return s -} - -// SetTransitEncryptionEnabled sets the TransitEncryptionEnabled field's value. -func (s *CacheCluster) SetTransitEncryptionEnabled(v bool) *CacheCluster { - s.TransitEncryptionEnabled = &v - return s -} - // Provides all of the details about a particular cache engine version. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheEngineVersion type CacheEngineVersion struct { @@ -3531,36 +3339,6 @@ func (s CacheEngineVersion) GoString() string { return s.String() } -// SetCacheEngineDescription sets the CacheEngineDescription field's value. -func (s *CacheEngineVersion) SetCacheEngineDescription(v string) *CacheEngineVersion { - s.CacheEngineDescription = &v - return s -} - -// SetCacheEngineVersionDescription sets the CacheEngineVersionDescription field's value. -func (s *CacheEngineVersion) SetCacheEngineVersionDescription(v string) *CacheEngineVersion { - s.CacheEngineVersionDescription = &v - return s -} - -// SetCacheParameterGroupFamily sets the CacheParameterGroupFamily field's value. -func (s *CacheEngineVersion) SetCacheParameterGroupFamily(v string) *CacheEngineVersion { - s.CacheParameterGroupFamily = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *CacheEngineVersion) SetEngine(v string) *CacheEngineVersion { - s.Engine = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *CacheEngineVersion) SetEngineVersion(v string) *CacheEngineVersion { - s.EngineVersion = &v - return s -} - // Represents an individual cache node within a cluster. Each cache node runs // its own instance of the cluster's protocol-compliant caching software - either // Memcached or Redis. @@ -3660,48 +3438,6 @@ func (s CacheNode) GoString() string { return s.String() } -// SetCacheNodeCreateTime sets the CacheNodeCreateTime field's value. -func (s *CacheNode) SetCacheNodeCreateTime(v time.Time) *CacheNode { - s.CacheNodeCreateTime = &v - return s -} - -// SetCacheNodeId sets the CacheNodeId field's value. -func (s *CacheNode) SetCacheNodeId(v string) *CacheNode { - s.CacheNodeId = &v - return s -} - -// SetCacheNodeStatus sets the CacheNodeStatus field's value. -func (s *CacheNode) SetCacheNodeStatus(v string) *CacheNode { - s.CacheNodeStatus = &v - return s -} - -// SetCustomerAvailabilityZone sets the CustomerAvailabilityZone field's value. -func (s *CacheNode) SetCustomerAvailabilityZone(v string) *CacheNode { - s.CustomerAvailabilityZone = &v - return s -} - -// SetEndpoint sets the Endpoint field's value. -func (s *CacheNode) SetEndpoint(v *Endpoint) *CacheNode { - s.Endpoint = v - return s -} - -// SetParameterGroupStatus sets the ParameterGroupStatus field's value. -func (s *CacheNode) SetParameterGroupStatus(v string) *CacheNode { - s.ParameterGroupStatus = &v - return s -} - -// SetSourceCacheNodeId sets the SourceCacheNodeId field's value. -func (s *CacheNode) SetSourceCacheNodeId(v string) *CacheNode { - s.SourceCacheNodeId = &v - return s -} - // A parameter that has a different value for each cache node type it is applied // to. For example, in a Redis cluster, a cache.m1.large cache node type would // have a larger maxmemory value than a cache.m1.small type. @@ -3752,60 +3488,6 @@ func (s CacheNodeTypeSpecificParameter) GoString() string { return s.String() } -// SetAllowedValues sets the AllowedValues field's value. -func (s *CacheNodeTypeSpecificParameter) SetAllowedValues(v string) *CacheNodeTypeSpecificParameter { - s.AllowedValues = &v - return s -} - -// SetCacheNodeTypeSpecificValues sets the CacheNodeTypeSpecificValues field's value. -func (s *CacheNodeTypeSpecificParameter) SetCacheNodeTypeSpecificValues(v []CacheNodeTypeSpecificValue) *CacheNodeTypeSpecificParameter { - s.CacheNodeTypeSpecificValues = v - return s -} - -// SetChangeType sets the ChangeType field's value. -func (s *CacheNodeTypeSpecificParameter) SetChangeType(v ChangeType) *CacheNodeTypeSpecificParameter { - s.ChangeType = v - return s -} - -// SetDataType sets the DataType field's value. -func (s *CacheNodeTypeSpecificParameter) SetDataType(v string) *CacheNodeTypeSpecificParameter { - s.DataType = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CacheNodeTypeSpecificParameter) SetDescription(v string) *CacheNodeTypeSpecificParameter { - s.Description = &v - return s -} - -// SetIsModifiable sets the IsModifiable field's value. -func (s *CacheNodeTypeSpecificParameter) SetIsModifiable(v bool) *CacheNodeTypeSpecificParameter { - s.IsModifiable = &v - return s -} - -// SetMinimumEngineVersion sets the MinimumEngineVersion field's value. -func (s *CacheNodeTypeSpecificParameter) SetMinimumEngineVersion(v string) *CacheNodeTypeSpecificParameter { - s.MinimumEngineVersion = &v - return s -} - -// SetParameterName sets the ParameterName field's value. -func (s *CacheNodeTypeSpecificParameter) SetParameterName(v string) *CacheNodeTypeSpecificParameter { - s.ParameterName = &v - return s -} - -// SetSource sets the Source field's value. -func (s *CacheNodeTypeSpecificParameter) SetSource(v string) *CacheNodeTypeSpecificParameter { - s.Source = &v - return s -} - // A value that applies only to a certain cache node type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheNodeTypeSpecificValue type CacheNodeTypeSpecificValue struct { @@ -3828,18 +3510,6 @@ func (s CacheNodeTypeSpecificValue) GoString() string { return s.String() } -// SetCacheNodeType sets the CacheNodeType field's value. -func (s *CacheNodeTypeSpecificValue) SetCacheNodeType(v string) *CacheNodeTypeSpecificValue { - s.CacheNodeType = &v - return s -} - -// SetValue sets the Value field's value. -func (s *CacheNodeTypeSpecificValue) SetValue(v string) *CacheNodeTypeSpecificValue { - s.Value = &v - return s -} - // Represents the output of a CreateCacheParameterGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheParameterGroup type CacheParameterGroup struct { @@ -3868,24 +3538,6 @@ func (s CacheParameterGroup) GoString() string { return s.String() } -// SetCacheParameterGroupFamily sets the CacheParameterGroupFamily field's value. -func (s *CacheParameterGroup) SetCacheParameterGroupFamily(v string) *CacheParameterGroup { - s.CacheParameterGroupFamily = &v - return s -} - -// SetCacheParameterGroupName sets the CacheParameterGroupName field's value. -func (s *CacheParameterGroup) SetCacheParameterGroupName(v string) *CacheParameterGroup { - s.CacheParameterGroupName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CacheParameterGroup) SetDescription(v string) *CacheParameterGroup { - s.Description = &v - return s -} - // Status of the cache parameter group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheParameterGroupStatus type CacheParameterGroupStatus struct { @@ -3912,24 +3564,6 @@ func (s CacheParameterGroupStatus) GoString() string { return s.String() } -// SetCacheNodeIdsToReboot sets the CacheNodeIdsToReboot field's value. -func (s *CacheParameterGroupStatus) SetCacheNodeIdsToReboot(v []string) *CacheParameterGroupStatus { - s.CacheNodeIdsToReboot = v - return s -} - -// SetCacheParameterGroupName sets the CacheParameterGroupName field's value. -func (s *CacheParameterGroupStatus) SetCacheParameterGroupName(v string) *CacheParameterGroupStatus { - s.CacheParameterGroupName = &v - return s -} - -// SetParameterApplyStatus sets the ParameterApplyStatus field's value. -func (s *CacheParameterGroupStatus) SetParameterApplyStatus(v string) *CacheParameterGroupStatus { - s.ParameterApplyStatus = &v - return s -} - // Represents the output of one of the following operations: // // * AuthorizeCacheSecurityGroupIngress @@ -3965,30 +3599,6 @@ func (s CacheSecurityGroup) GoString() string { return s.String() } -// SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value. -func (s *CacheSecurityGroup) SetCacheSecurityGroupName(v string) *CacheSecurityGroup { - s.CacheSecurityGroupName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CacheSecurityGroup) SetDescription(v string) *CacheSecurityGroup { - s.Description = &v - return s -} - -// SetEC2SecurityGroups sets the EC2SecurityGroups field's value. -func (s *CacheSecurityGroup) SetEC2SecurityGroups(v []EC2SecurityGroup) *CacheSecurityGroup { - s.EC2SecurityGroups = v - return s -} - -// SetOwnerId sets the OwnerId field's value. -func (s *CacheSecurityGroup) SetOwnerId(v string) *CacheSecurityGroup { - s.OwnerId = &v - return s -} - // Represents a cluster's status within a particular cache security group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSecurityGroupMembership type CacheSecurityGroupMembership struct { @@ -4013,18 +3623,6 @@ func (s CacheSecurityGroupMembership) GoString() string { return s.String() } -// SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value. -func (s *CacheSecurityGroupMembership) SetCacheSecurityGroupName(v string) *CacheSecurityGroupMembership { - s.CacheSecurityGroupName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *CacheSecurityGroupMembership) SetStatus(v string) *CacheSecurityGroupMembership { - s.Status = &v - return s -} - // Represents the output of one of the following operations: // // * CreateCacheSubnetGroup @@ -4058,30 +3656,6 @@ func (s CacheSubnetGroup) GoString() string { return s.String() } -// SetCacheSubnetGroupDescription sets the CacheSubnetGroupDescription field's value. -func (s *CacheSubnetGroup) SetCacheSubnetGroupDescription(v string) *CacheSubnetGroup { - s.CacheSubnetGroupDescription = &v - return s -} - -// SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value. -func (s *CacheSubnetGroup) SetCacheSubnetGroupName(v string) *CacheSubnetGroup { - s.CacheSubnetGroupName = &v - return s -} - -// SetSubnets sets the Subnets field's value. -func (s *CacheSubnetGroup) SetSubnets(v []Subnet) *CacheSubnetGroup { - s.Subnets = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *CacheSubnetGroup) SetVpcId(v string) *CacheSubnetGroup { - s.VpcId = &v - return s -} - // Represents the input of a CopySnapshotMessage operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CopySnapshotMessage type CopySnapshotInput struct { @@ -4140,24 +3714,6 @@ func (s *CopySnapshotInput) Validate() error { return nil } -// SetSourceSnapshotName sets the SourceSnapshotName field's value. -func (s *CopySnapshotInput) SetSourceSnapshotName(v string) *CopySnapshotInput { - s.SourceSnapshotName = &v - return s -} - -// SetTargetBucket sets the TargetBucket field's value. -func (s *CopySnapshotInput) SetTargetBucket(v string) *CopySnapshotInput { - s.TargetBucket = &v - return s -} - -// SetTargetSnapshotName sets the TargetSnapshotName field's value. -func (s *CopySnapshotInput) SetTargetSnapshotName(v string) *CopySnapshotInput { - s.TargetSnapshotName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CopySnapshotResult type CopySnapshotOutput struct { _ struct{} `type:"structure"` @@ -4184,12 +3740,6 @@ func (s CopySnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSnapshot sets the Snapshot field's value. -func (s *CopySnapshotOutput) SetSnapshot(v *Snapshot) *CopySnapshotOutput { - s.Snapshot = v - return s -} - // Represents the input of a CreateCacheCluster operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheClusterMessage type CreateCacheClusterInput struct { @@ -4501,144 +4051,6 @@ func (s *CreateCacheClusterInput) Validate() error { return nil } -// SetAZMode sets the AZMode field's value. -func (s *CreateCacheClusterInput) SetAZMode(v AZMode) *CreateCacheClusterInput { - s.AZMode = v - return s -} - -// SetAuthToken sets the AuthToken field's value. -func (s *CreateCacheClusterInput) SetAuthToken(v string) *CreateCacheClusterInput { - s.AuthToken = &v - return s -} - -// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. -func (s *CreateCacheClusterInput) SetAutoMinorVersionUpgrade(v bool) *CreateCacheClusterInput { - s.AutoMinorVersionUpgrade = &v - return s -} - -// SetCacheClusterId sets the CacheClusterId field's value. -func (s *CreateCacheClusterInput) SetCacheClusterId(v string) *CreateCacheClusterInput { - s.CacheClusterId = &v - return s -} - -// SetCacheNodeType sets the CacheNodeType field's value. -func (s *CreateCacheClusterInput) SetCacheNodeType(v string) *CreateCacheClusterInput { - s.CacheNodeType = &v - return s -} - -// SetCacheParameterGroupName sets the CacheParameterGroupName field's value. -func (s *CreateCacheClusterInput) SetCacheParameterGroupName(v string) *CreateCacheClusterInput { - s.CacheParameterGroupName = &v - return s -} - -// SetCacheSecurityGroupNames sets the CacheSecurityGroupNames field's value. -func (s *CreateCacheClusterInput) SetCacheSecurityGroupNames(v []string) *CreateCacheClusterInput { - s.CacheSecurityGroupNames = v - return s -} - -// SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value. -func (s *CreateCacheClusterInput) SetCacheSubnetGroupName(v string) *CreateCacheClusterInput { - s.CacheSubnetGroupName = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *CreateCacheClusterInput) SetEngine(v string) *CreateCacheClusterInput { - s.Engine = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *CreateCacheClusterInput) SetEngineVersion(v string) *CreateCacheClusterInput { - s.EngineVersion = &v - return s -} - -// SetNotificationTopicArn sets the NotificationTopicArn field's value. -func (s *CreateCacheClusterInput) SetNotificationTopicArn(v string) *CreateCacheClusterInput { - s.NotificationTopicArn = &v - return s -} - -// SetNumCacheNodes sets the NumCacheNodes field's value. -func (s *CreateCacheClusterInput) SetNumCacheNodes(v int64) *CreateCacheClusterInput { - s.NumCacheNodes = &v - return s -} - -// SetPort sets the Port field's value. -func (s *CreateCacheClusterInput) SetPort(v int64) *CreateCacheClusterInput { - s.Port = &v - return s -} - -// SetPreferredAvailabilityZone sets the PreferredAvailabilityZone field's value. -func (s *CreateCacheClusterInput) SetPreferredAvailabilityZone(v string) *CreateCacheClusterInput { - s.PreferredAvailabilityZone = &v - return s -} - -// SetPreferredAvailabilityZones sets the PreferredAvailabilityZones field's value. -func (s *CreateCacheClusterInput) SetPreferredAvailabilityZones(v []string) *CreateCacheClusterInput { - s.PreferredAvailabilityZones = v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *CreateCacheClusterInput) SetPreferredMaintenanceWindow(v string) *CreateCacheClusterInput { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetReplicationGroupId sets the ReplicationGroupId field's value. -func (s *CreateCacheClusterInput) SetReplicationGroupId(v string) *CreateCacheClusterInput { - s.ReplicationGroupId = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *CreateCacheClusterInput) SetSecurityGroupIds(v []string) *CreateCacheClusterInput { - s.SecurityGroupIds = v - return s -} - -// SetSnapshotArns sets the SnapshotArns field's value. -func (s *CreateCacheClusterInput) SetSnapshotArns(v []string) *CreateCacheClusterInput { - s.SnapshotArns = v - return s -} - -// SetSnapshotName sets the SnapshotName field's value. -func (s *CreateCacheClusterInput) SetSnapshotName(v string) *CreateCacheClusterInput { - s.SnapshotName = &v - return s -} - -// SetSnapshotRetentionLimit sets the SnapshotRetentionLimit field's value. -func (s *CreateCacheClusterInput) SetSnapshotRetentionLimit(v int64) *CreateCacheClusterInput { - s.SnapshotRetentionLimit = &v - return s -} - -// SetSnapshotWindow sets the SnapshotWindow field's value. -func (s *CreateCacheClusterInput) SetSnapshotWindow(v string) *CreateCacheClusterInput { - s.SnapshotWindow = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateCacheClusterInput) SetTags(v []Tag) *CreateCacheClusterInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheClusterResult type CreateCacheClusterOutput struct { _ struct{} `type:"structure"` @@ -4664,12 +4076,6 @@ func (s CreateCacheClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCacheCluster sets the CacheCluster field's value. -func (s *CreateCacheClusterOutput) SetCacheCluster(v *CacheCluster) *CreateCacheClusterOutput { - s.CacheCluster = v - return s -} - // Represents the input of a CreateCacheParameterGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheParameterGroupMessage type CreateCacheParameterGroupInput struct { @@ -4726,24 +4132,6 @@ func (s *CreateCacheParameterGroupInput) Validate() error { return nil } -// SetCacheParameterGroupFamily sets the CacheParameterGroupFamily field's value. -func (s *CreateCacheParameterGroupInput) SetCacheParameterGroupFamily(v string) *CreateCacheParameterGroupInput { - s.CacheParameterGroupFamily = &v - return s -} - -// SetCacheParameterGroupName sets the CacheParameterGroupName field's value. -func (s *CreateCacheParameterGroupInput) SetCacheParameterGroupName(v string) *CreateCacheParameterGroupInput { - s.CacheParameterGroupName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateCacheParameterGroupInput) SetDescription(v string) *CreateCacheParameterGroupInput { - s.Description = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheParameterGroupResult type CreateCacheParameterGroupOutput struct { _ struct{} `type:"structure"` @@ -4769,12 +4157,6 @@ func (s CreateCacheParameterGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCacheParameterGroup sets the CacheParameterGroup field's value. -func (s *CreateCacheParameterGroupOutput) SetCacheParameterGroup(v *CacheParameterGroup) *CreateCacheParameterGroupOutput { - s.CacheParameterGroup = v - return s -} - // Represents the input of a CreateCacheSecurityGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSecurityGroupMessage type CreateCacheSecurityGroupInput struct { @@ -4825,18 +4207,6 @@ func (s *CreateCacheSecurityGroupInput) Validate() error { return nil } -// SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value. -func (s *CreateCacheSecurityGroupInput) SetCacheSecurityGroupName(v string) *CreateCacheSecurityGroupInput { - s.CacheSecurityGroupName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateCacheSecurityGroupInput) SetDescription(v string) *CreateCacheSecurityGroupInput { - s.Description = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSecurityGroupResult type CreateCacheSecurityGroupOutput struct { _ struct{} `type:"structure"` @@ -4868,12 +4238,6 @@ func (s CreateCacheSecurityGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCacheSecurityGroup sets the CacheSecurityGroup field's value. -func (s *CreateCacheSecurityGroupOutput) SetCacheSecurityGroup(v *CacheSecurityGroup) *CreateCacheSecurityGroupOutput { - s.CacheSecurityGroup = v - return s -} - // Represents the input of a CreateCacheSubnetGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSubnetGroupMessage type CreateCacheSubnetGroupInput struct { @@ -4931,24 +4295,6 @@ func (s *CreateCacheSubnetGroupInput) Validate() error { return nil } -// SetCacheSubnetGroupDescription sets the CacheSubnetGroupDescription field's value. -func (s *CreateCacheSubnetGroupInput) SetCacheSubnetGroupDescription(v string) *CreateCacheSubnetGroupInput { - s.CacheSubnetGroupDescription = &v - return s -} - -// SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value. -func (s *CreateCacheSubnetGroupInput) SetCacheSubnetGroupName(v string) *CreateCacheSubnetGroupInput { - s.CacheSubnetGroupName = &v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *CreateCacheSubnetGroupInput) SetSubnetIds(v []string) *CreateCacheSubnetGroupInput { - s.SubnetIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSubnetGroupResult type CreateCacheSubnetGroupOutput struct { _ struct{} `type:"structure"` @@ -4978,12 +4324,6 @@ func (s CreateCacheSubnetGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCacheSubnetGroup sets the CacheSubnetGroup field's value. -func (s *CreateCacheSubnetGroupOutput) SetCacheSubnetGroup(v *CacheSubnetGroup) *CreateCacheSubnetGroupOutput { - s.CacheSubnetGroup = v - return s -} - // Represents the input of a CreateReplicationGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroupMessage type CreateReplicationGroupInput struct { @@ -5345,222 +4685,48 @@ func (s *CreateReplicationGroupInput) Validate() error { return nil } -// SetAtRestEncryptionEnabled sets the AtRestEncryptionEnabled field's value. -func (s *CreateReplicationGroupInput) SetAtRestEncryptionEnabled(v bool) *CreateReplicationGroupInput { - s.AtRestEncryptionEnabled = &v - return s -} - -// SetAuthToken sets the AuthToken field's value. -func (s *CreateReplicationGroupInput) SetAuthToken(v string) *CreateReplicationGroupInput { - s.AuthToken = &v - return s -} +// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroupResult +type CreateReplicationGroupOutput struct { + _ struct{} `type:"structure"` -// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. -func (s *CreateReplicationGroupInput) SetAutoMinorVersionUpgrade(v bool) *CreateReplicationGroupInput { - s.AutoMinorVersionUpgrade = &v - return s -} + responseMetadata aws.Response -// SetAutomaticFailoverEnabled sets the AutomaticFailoverEnabled field's value. -func (s *CreateReplicationGroupInput) SetAutomaticFailoverEnabled(v bool) *CreateReplicationGroupInput { - s.AutomaticFailoverEnabled = &v - return s + // Contains all of the attributes of a specific Redis replication group. + ReplicationGroup *ReplicationGroup `type:"structure"` } -// SetCacheNodeType sets the CacheNodeType field's value. -func (s *CreateReplicationGroupInput) SetCacheNodeType(v string) *CreateReplicationGroupInput { - s.CacheNodeType = &v - return s +// String returns the string representation +func (s CreateReplicationGroupOutput) String() string { + return awsutil.Prettify(s) } -// SetCacheParameterGroupName sets the CacheParameterGroupName field's value. -func (s *CreateReplicationGroupInput) SetCacheParameterGroupName(v string) *CreateReplicationGroupInput { - s.CacheParameterGroupName = &v - return s +// GoString returns the string representation +func (s CreateReplicationGroupOutput) GoString() string { + return s.String() } -// SetCacheSecurityGroupNames sets the CacheSecurityGroupNames field's value. -func (s *CreateReplicationGroupInput) SetCacheSecurityGroupNames(v []string) *CreateReplicationGroupInput { - s.CacheSecurityGroupNames = v - return s +// SDKResponseMetdata return sthe response metadata for the API. +func (s CreateReplicationGroupOutput) SDKResponseMetadata() aws.Response { + return s.responseMetadata } -// SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value. -func (s *CreateReplicationGroupInput) SetCacheSubnetGroupName(v string) *CreateReplicationGroupInput { - s.CacheSubnetGroupName = &v - return s -} +// Represents the input of a CreateSnapshot operation. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateSnapshotMessage +type CreateSnapshotInput struct { + _ struct{} `type:"structure"` -// SetEngine sets the Engine field's value. -func (s *CreateReplicationGroupInput) SetEngine(v string) *CreateReplicationGroupInput { - s.Engine = &v - return s -} + // The identifier of an existing cluster. The snapshot is created from this + // cluster. + CacheClusterId *string `type:"string"` -// SetEngineVersion sets the EngineVersion field's value. -func (s *CreateReplicationGroupInput) SetEngineVersion(v string) *CreateReplicationGroupInput { - s.EngineVersion = &v - return s -} + // The identifier of an existing replication group. The snapshot is created + // from this replication group. + ReplicationGroupId *string `type:"string"` -// SetNodeGroupConfiguration sets the NodeGroupConfiguration field's value. -func (s *CreateReplicationGroupInput) SetNodeGroupConfiguration(v []NodeGroupConfiguration) *CreateReplicationGroupInput { - s.NodeGroupConfiguration = v - return s -} - -// SetNotificationTopicArn sets the NotificationTopicArn field's value. -func (s *CreateReplicationGroupInput) SetNotificationTopicArn(v string) *CreateReplicationGroupInput { - s.NotificationTopicArn = &v - return s -} - -// SetNumCacheClusters sets the NumCacheClusters field's value. -func (s *CreateReplicationGroupInput) SetNumCacheClusters(v int64) *CreateReplicationGroupInput { - s.NumCacheClusters = &v - return s -} - -// SetNumNodeGroups sets the NumNodeGroups field's value. -func (s *CreateReplicationGroupInput) SetNumNodeGroups(v int64) *CreateReplicationGroupInput { - s.NumNodeGroups = &v - return s -} - -// SetPort sets the Port field's value. -func (s *CreateReplicationGroupInput) SetPort(v int64) *CreateReplicationGroupInput { - s.Port = &v - return s -} - -// SetPreferredCacheClusterAZs sets the PreferredCacheClusterAZs field's value. -func (s *CreateReplicationGroupInput) SetPreferredCacheClusterAZs(v []string) *CreateReplicationGroupInput { - s.PreferredCacheClusterAZs = v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *CreateReplicationGroupInput) SetPreferredMaintenanceWindow(v string) *CreateReplicationGroupInput { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetPrimaryClusterId sets the PrimaryClusterId field's value. -func (s *CreateReplicationGroupInput) SetPrimaryClusterId(v string) *CreateReplicationGroupInput { - s.PrimaryClusterId = &v - return s -} - -// SetReplicasPerNodeGroup sets the ReplicasPerNodeGroup field's value. -func (s *CreateReplicationGroupInput) SetReplicasPerNodeGroup(v int64) *CreateReplicationGroupInput { - s.ReplicasPerNodeGroup = &v - return s -} - -// SetReplicationGroupDescription sets the ReplicationGroupDescription field's value. -func (s *CreateReplicationGroupInput) SetReplicationGroupDescription(v string) *CreateReplicationGroupInput { - s.ReplicationGroupDescription = &v - return s -} - -// SetReplicationGroupId sets the ReplicationGroupId field's value. -func (s *CreateReplicationGroupInput) SetReplicationGroupId(v string) *CreateReplicationGroupInput { - s.ReplicationGroupId = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *CreateReplicationGroupInput) SetSecurityGroupIds(v []string) *CreateReplicationGroupInput { - s.SecurityGroupIds = v - return s -} - -// SetSnapshotArns sets the SnapshotArns field's value. -func (s *CreateReplicationGroupInput) SetSnapshotArns(v []string) *CreateReplicationGroupInput { - s.SnapshotArns = v - return s -} - -// SetSnapshotName sets the SnapshotName field's value. -func (s *CreateReplicationGroupInput) SetSnapshotName(v string) *CreateReplicationGroupInput { - s.SnapshotName = &v - return s -} - -// SetSnapshotRetentionLimit sets the SnapshotRetentionLimit field's value. -func (s *CreateReplicationGroupInput) SetSnapshotRetentionLimit(v int64) *CreateReplicationGroupInput { - s.SnapshotRetentionLimit = &v - return s -} - -// SetSnapshotWindow sets the SnapshotWindow field's value. -func (s *CreateReplicationGroupInput) SetSnapshotWindow(v string) *CreateReplicationGroupInput { - s.SnapshotWindow = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateReplicationGroupInput) SetTags(v []Tag) *CreateReplicationGroupInput { - s.Tags = v - return s -} - -// SetTransitEncryptionEnabled sets the TransitEncryptionEnabled field's value. -func (s *CreateReplicationGroupInput) SetTransitEncryptionEnabled(v bool) *CreateReplicationGroupInput { - s.TransitEncryptionEnabled = &v - return s -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroupResult -type CreateReplicationGroupOutput struct { - _ struct{} `type:"structure"` - - responseMetadata aws.Response - - // Contains all of the attributes of a specific Redis replication group. - ReplicationGroup *ReplicationGroup `type:"structure"` -} - -// String returns the string representation -func (s CreateReplicationGroupOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s CreateReplicationGroupOutput) GoString() string { - return s.String() -} - -// SDKResponseMetdata return sthe response metadata for the API. -func (s CreateReplicationGroupOutput) SDKResponseMetadata() aws.Response { - return s.responseMetadata -} - -// SetReplicationGroup sets the ReplicationGroup field's value. -func (s *CreateReplicationGroupOutput) SetReplicationGroup(v *ReplicationGroup) *CreateReplicationGroupOutput { - s.ReplicationGroup = v - return s -} - -// Represents the input of a CreateSnapshot operation. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateSnapshotMessage -type CreateSnapshotInput struct { - _ struct{} `type:"structure"` - - // The identifier of an existing cluster. The snapshot is created from this - // cluster. - CacheClusterId *string `type:"string"` - - // The identifier of an existing replication group. The snapshot is created - // from this replication group. - ReplicationGroupId *string `type:"string"` - - // A name for the snapshot being created. - // - // SnapshotName is a required field - SnapshotName *string `type:"string" required:"true"` + // A name for the snapshot being created. + // + // SnapshotName is a required field + SnapshotName *string `type:"string" required:"true"` } // String returns the string representation @@ -5587,24 +4753,6 @@ func (s *CreateSnapshotInput) Validate() error { return nil } -// SetCacheClusterId sets the CacheClusterId field's value. -func (s *CreateSnapshotInput) SetCacheClusterId(v string) *CreateSnapshotInput { - s.CacheClusterId = &v - return s -} - -// SetReplicationGroupId sets the ReplicationGroupId field's value. -func (s *CreateSnapshotInput) SetReplicationGroupId(v string) *CreateSnapshotInput { - s.ReplicationGroupId = &v - return s -} - -// SetSnapshotName sets the SnapshotName field's value. -func (s *CreateSnapshotInput) SetSnapshotName(v string) *CreateSnapshotInput { - s.SnapshotName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateSnapshotResult type CreateSnapshotOutput struct { _ struct{} `type:"structure"` @@ -5631,12 +4779,6 @@ func (s CreateSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSnapshot sets the Snapshot field's value. -func (s *CreateSnapshotOutput) SetSnapshot(v *Snapshot) *CreateSnapshotOutput { - s.Snapshot = v - return s -} - // Represents the input of a DeleteCacheCluster operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheClusterMessage type DeleteCacheClusterInput struct { @@ -5678,18 +4820,6 @@ func (s *DeleteCacheClusterInput) Validate() error { return nil } -// SetCacheClusterId sets the CacheClusterId field's value. -func (s *DeleteCacheClusterInput) SetCacheClusterId(v string) *DeleteCacheClusterInput { - s.CacheClusterId = &v - return s -} - -// SetFinalSnapshotIdentifier sets the FinalSnapshotIdentifier field's value. -func (s *DeleteCacheClusterInput) SetFinalSnapshotIdentifier(v string) *DeleteCacheClusterInput { - s.FinalSnapshotIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheClusterResult type DeleteCacheClusterOutput struct { _ struct{} `type:"structure"` @@ -5715,12 +4845,6 @@ func (s DeleteCacheClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCacheCluster sets the CacheCluster field's value. -func (s *DeleteCacheClusterOutput) SetCacheCluster(v *CacheCluster) *DeleteCacheClusterOutput { - s.CacheCluster = v - return s -} - // Represents the input of a DeleteCacheParameterGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheParameterGroupMessage type DeleteCacheParameterGroupInput struct { @@ -5758,12 +4882,6 @@ func (s *DeleteCacheParameterGroupInput) Validate() error { return nil } -// SetCacheParameterGroupName sets the CacheParameterGroupName field's value. -func (s *DeleteCacheParameterGroupInput) SetCacheParameterGroupName(v string) *DeleteCacheParameterGroupInput { - s.CacheParameterGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheParameterGroupOutput type DeleteCacheParameterGroupOutput struct { _ struct{} `type:"structure"` @@ -5823,12 +4941,6 @@ func (s *DeleteCacheSecurityGroupInput) Validate() error { return nil } -// SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value. -func (s *DeleteCacheSecurityGroupInput) SetCacheSecurityGroupName(v string) *DeleteCacheSecurityGroupInput { - s.CacheSecurityGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSecurityGroupOutput type DeleteCacheSecurityGroupOutput struct { _ struct{} `type:"structure"` @@ -5888,12 +5000,6 @@ func (s *DeleteCacheSubnetGroupInput) Validate() error { return nil } -// SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value. -func (s *DeleteCacheSubnetGroupInput) SetCacheSubnetGroupName(v string) *DeleteCacheSubnetGroupInput { - s.CacheSubnetGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSubnetGroupOutput type DeleteCacheSubnetGroupOutput struct { _ struct{} `type:"structure"` @@ -5962,24 +5068,6 @@ func (s *DeleteReplicationGroupInput) Validate() error { return nil } -// SetFinalSnapshotIdentifier sets the FinalSnapshotIdentifier field's value. -func (s *DeleteReplicationGroupInput) SetFinalSnapshotIdentifier(v string) *DeleteReplicationGroupInput { - s.FinalSnapshotIdentifier = &v - return s -} - -// SetReplicationGroupId sets the ReplicationGroupId field's value. -func (s *DeleteReplicationGroupInput) SetReplicationGroupId(v string) *DeleteReplicationGroupInput { - s.ReplicationGroupId = &v - return s -} - -// SetRetainPrimaryCluster sets the RetainPrimaryCluster field's value. -func (s *DeleteReplicationGroupInput) SetRetainPrimaryCluster(v bool) *DeleteReplicationGroupInput { - s.RetainPrimaryCluster = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteReplicationGroupResult type DeleteReplicationGroupOutput struct { _ struct{} `type:"structure"` @@ -6005,12 +5093,6 @@ func (s DeleteReplicationGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReplicationGroup sets the ReplicationGroup field's value. -func (s *DeleteReplicationGroupOutput) SetReplicationGroup(v *ReplicationGroup) *DeleteReplicationGroupOutput { - s.ReplicationGroup = v - return s -} - // Represents the input of a DeleteSnapshot operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteSnapshotMessage type DeleteSnapshotInput struct { @@ -6046,12 +5128,6 @@ func (s *DeleteSnapshotInput) Validate() error { return nil } -// SetSnapshotName sets the SnapshotName field's value. -func (s *DeleteSnapshotInput) SetSnapshotName(v string) *DeleteSnapshotInput { - s.SnapshotName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteSnapshotResult type DeleteSnapshotOutput struct { _ struct{} `type:"structure"` @@ -6078,12 +5154,6 @@ func (s DeleteSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSnapshot sets the Snapshot field's value. -func (s *DeleteSnapshotOutput) SetSnapshot(v *Snapshot) *DeleteSnapshotOutput { - s.Snapshot = v - return s -} - // Represents the input of a DescribeCacheClusters operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheClustersMessage type DescribeCacheClustersInput struct { @@ -6128,36 +5198,6 @@ func (s DescribeCacheClustersInput) GoString() string { return s.String() } -// SetCacheClusterId sets the CacheClusterId field's value. -func (s *DescribeCacheClustersInput) SetCacheClusterId(v string) *DescribeCacheClustersInput { - s.CacheClusterId = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeCacheClustersInput) SetMarker(v string) *DescribeCacheClustersInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeCacheClustersInput) SetMaxRecords(v int64) *DescribeCacheClustersInput { - s.MaxRecords = &v - return s -} - -// SetShowCacheClustersNotInReplicationGroups sets the ShowCacheClustersNotInReplicationGroups field's value. -func (s *DescribeCacheClustersInput) SetShowCacheClustersNotInReplicationGroups(v bool) *DescribeCacheClustersInput { - s.ShowCacheClustersNotInReplicationGroups = &v - return s -} - -// SetShowCacheNodeInfo sets the ShowCacheNodeInfo field's value. -func (s *DescribeCacheClustersInput) SetShowCacheNodeInfo(v bool) *DescribeCacheClustersInput { - s.ShowCacheNodeInfo = &v - return s -} - // Represents the output of a DescribeCacheClusters operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheClusterMessage type DescribeCacheClustersOutput struct { @@ -6188,18 +5228,6 @@ func (s DescribeCacheClustersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCacheClusters sets the CacheClusters field's value. -func (s *DescribeCacheClustersOutput) SetCacheClusters(v []CacheCluster) *DescribeCacheClustersOutput { - s.CacheClusters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeCacheClustersOutput) SetMarker(v string) *DescribeCacheClustersOutput { - s.Marker = &v - return s -} - // Represents the input of a DescribeCacheEngineVersions operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheEngineVersionsMessage type DescribeCacheEngineVersionsInput struct { @@ -6255,42 +5283,6 @@ func (s DescribeCacheEngineVersionsInput) GoString() string { return s.String() } -// SetCacheParameterGroupFamily sets the CacheParameterGroupFamily field's value. -func (s *DescribeCacheEngineVersionsInput) SetCacheParameterGroupFamily(v string) *DescribeCacheEngineVersionsInput { - s.CacheParameterGroupFamily = &v - return s -} - -// SetDefaultOnly sets the DefaultOnly field's value. -func (s *DescribeCacheEngineVersionsInput) SetDefaultOnly(v bool) *DescribeCacheEngineVersionsInput { - s.DefaultOnly = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *DescribeCacheEngineVersionsInput) SetEngine(v string) *DescribeCacheEngineVersionsInput { - s.Engine = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *DescribeCacheEngineVersionsInput) SetEngineVersion(v string) *DescribeCacheEngineVersionsInput { - s.EngineVersion = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeCacheEngineVersionsInput) SetMarker(v string) *DescribeCacheEngineVersionsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeCacheEngineVersionsInput) SetMaxRecords(v int64) *DescribeCacheEngineVersionsInput { - s.MaxRecords = &v - return s -} - // Represents the output of a DescribeCacheEngineVersions operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheEngineVersionMessage type DescribeCacheEngineVersionsOutput struct { @@ -6321,18 +5313,6 @@ func (s DescribeCacheEngineVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCacheEngineVersions sets the CacheEngineVersions field's value. -func (s *DescribeCacheEngineVersionsOutput) SetCacheEngineVersions(v []CacheEngineVersion) *DescribeCacheEngineVersionsOutput { - s.CacheEngineVersions = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeCacheEngineVersionsOutput) SetMarker(v string) *DescribeCacheEngineVersionsOutput { - s.Marker = &v - return s -} - // Represents the input of a DescribeCacheParameterGroups operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheParameterGroupsMessage type DescribeCacheParameterGroupsInput struct { @@ -6366,24 +5346,6 @@ func (s DescribeCacheParameterGroupsInput) GoString() string { return s.String() } -// SetCacheParameterGroupName sets the CacheParameterGroupName field's value. -func (s *DescribeCacheParameterGroupsInput) SetCacheParameterGroupName(v string) *DescribeCacheParameterGroupsInput { - s.CacheParameterGroupName = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeCacheParameterGroupsInput) SetMarker(v string) *DescribeCacheParameterGroupsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeCacheParameterGroupsInput) SetMaxRecords(v int64) *DescribeCacheParameterGroupsInput { - s.MaxRecords = &v - return s -} - // Represents the output of a DescribeCacheParameterGroups operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheParameterGroupsMessage type DescribeCacheParameterGroupsOutput struct { @@ -6414,18 +5376,6 @@ func (s DescribeCacheParameterGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCacheParameterGroups sets the CacheParameterGroups field's value. -func (s *DescribeCacheParameterGroupsOutput) SetCacheParameterGroups(v []CacheParameterGroup) *DescribeCacheParameterGroupsOutput { - s.CacheParameterGroups = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeCacheParameterGroupsOutput) SetMarker(v string) *DescribeCacheParameterGroupsOutput { - s.Marker = &v - return s -} - // Represents the input of a DescribeCacheParameters operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheParametersMessage type DescribeCacheParametersInput struct { @@ -6480,30 +5430,6 @@ func (s *DescribeCacheParametersInput) Validate() error { return nil } -// SetCacheParameterGroupName sets the CacheParameterGroupName field's value. -func (s *DescribeCacheParametersInput) SetCacheParameterGroupName(v string) *DescribeCacheParametersInput { - s.CacheParameterGroupName = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeCacheParametersInput) SetMarker(v string) *DescribeCacheParametersInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeCacheParametersInput) SetMaxRecords(v int64) *DescribeCacheParametersInput { - s.MaxRecords = &v - return s -} - -// SetSource sets the Source field's value. -func (s *DescribeCacheParametersInput) SetSource(v string) *DescribeCacheParametersInput { - s.Source = &v - return s -} - // Represents the output of a DescribeCacheParameters operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheParameterGroupDetails type DescribeCacheParametersOutput struct { @@ -6537,24 +5463,6 @@ func (s DescribeCacheParametersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCacheNodeTypeSpecificParameters sets the CacheNodeTypeSpecificParameters field's value. -func (s *DescribeCacheParametersOutput) SetCacheNodeTypeSpecificParameters(v []CacheNodeTypeSpecificParameter) *DescribeCacheParametersOutput { - s.CacheNodeTypeSpecificParameters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeCacheParametersOutput) SetMarker(v string) *DescribeCacheParametersOutput { - s.Marker = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *DescribeCacheParametersOutput) SetParameters(v []Parameter) *DescribeCacheParametersOutput { - s.Parameters = v - return s -} - // Represents the input of a DescribeCacheSecurityGroups operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheSecurityGroupsMessage type DescribeCacheSecurityGroupsInput struct { @@ -6588,24 +5496,6 @@ func (s DescribeCacheSecurityGroupsInput) GoString() string { return s.String() } -// SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value. -func (s *DescribeCacheSecurityGroupsInput) SetCacheSecurityGroupName(v string) *DescribeCacheSecurityGroupsInput { - s.CacheSecurityGroupName = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeCacheSecurityGroupsInput) SetMarker(v string) *DescribeCacheSecurityGroupsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeCacheSecurityGroupsInput) SetMaxRecords(v int64) *DescribeCacheSecurityGroupsInput { - s.MaxRecords = &v - return s -} - // Represents the output of a DescribeCacheSecurityGroups operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSecurityGroupMessage type DescribeCacheSecurityGroupsOutput struct { @@ -6636,18 +5526,6 @@ func (s DescribeCacheSecurityGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCacheSecurityGroups sets the CacheSecurityGroups field's value. -func (s *DescribeCacheSecurityGroupsOutput) SetCacheSecurityGroups(v []CacheSecurityGroup) *DescribeCacheSecurityGroupsOutput { - s.CacheSecurityGroups = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeCacheSecurityGroupsOutput) SetMarker(v string) *DescribeCacheSecurityGroupsOutput { - s.Marker = &v - return s -} - // Represents the input of a DescribeCacheSubnetGroups operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheSubnetGroupsMessage type DescribeCacheSubnetGroupsInput struct { @@ -6681,24 +5559,6 @@ func (s DescribeCacheSubnetGroupsInput) GoString() string { return s.String() } -// SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value. -func (s *DescribeCacheSubnetGroupsInput) SetCacheSubnetGroupName(v string) *DescribeCacheSubnetGroupsInput { - s.CacheSubnetGroupName = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeCacheSubnetGroupsInput) SetMarker(v string) *DescribeCacheSubnetGroupsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeCacheSubnetGroupsInput) SetMaxRecords(v int64) *DescribeCacheSubnetGroupsInput { - s.MaxRecords = &v - return s -} - // Represents the output of a DescribeCacheSubnetGroups operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSubnetGroupMessage type DescribeCacheSubnetGroupsOutput struct { @@ -6729,18 +5589,6 @@ func (s DescribeCacheSubnetGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCacheSubnetGroups sets the CacheSubnetGroups field's value. -func (s *DescribeCacheSubnetGroupsOutput) SetCacheSubnetGroups(v []CacheSubnetGroup) *DescribeCacheSubnetGroupsOutput { - s.CacheSubnetGroups = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeCacheSubnetGroupsOutput) SetMarker(v string) *DescribeCacheSubnetGroupsOutput { - s.Marker = &v - return s -} - // Represents the input of a DescribeEngineDefaultParameters operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEngineDefaultParametersMessage type DescribeEngineDefaultParametersInput struct { @@ -6792,24 +5640,6 @@ func (s *DescribeEngineDefaultParametersInput) Validate() error { return nil } -// SetCacheParameterGroupFamily sets the CacheParameterGroupFamily field's value. -func (s *DescribeEngineDefaultParametersInput) SetCacheParameterGroupFamily(v string) *DescribeEngineDefaultParametersInput { - s.CacheParameterGroupFamily = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeEngineDefaultParametersInput) SetMarker(v string) *DescribeEngineDefaultParametersInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeEngineDefaultParametersInput) SetMaxRecords(v int64) *DescribeEngineDefaultParametersInput { - s.MaxRecords = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEngineDefaultParametersResult type DescribeEngineDefaultParametersOutput struct { _ struct{} `type:"structure"` @@ -6835,12 +5665,6 @@ func (s DescribeEngineDefaultParametersOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetEngineDefaults sets the EngineDefaults field's value. -func (s *DescribeEngineDefaultParametersOutput) SetEngineDefaults(v *EngineDefaults) *DescribeEngineDefaultParametersOutput { - s.EngineDefaults = v - return s -} - // Represents the input of a DescribeEvents operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEventsMessage type DescribeEventsInput struct { @@ -6894,48 +5718,6 @@ func (s DescribeEventsInput) GoString() string { return s.String() } -// SetDuration sets the Duration field's value. -func (s *DescribeEventsInput) SetDuration(v int64) *DescribeEventsInput { - s.Duration = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *DescribeEventsInput) SetEndTime(v time.Time) *DescribeEventsInput { - s.EndTime = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeEventsInput) SetMarker(v string) *DescribeEventsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeEventsInput) SetMaxRecords(v int64) *DescribeEventsInput { - s.MaxRecords = &v - return s -} - -// SetSourceIdentifier sets the SourceIdentifier field's value. -func (s *DescribeEventsInput) SetSourceIdentifier(v string) *DescribeEventsInput { - s.SourceIdentifier = &v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *DescribeEventsInput) SetSourceType(v SourceType) *DescribeEventsInput { - s.SourceType = v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput { - s.StartTime = &v - return s -} - // Represents the output of a DescribeEvents operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/EventsMessage type DescribeEventsOutput struct { @@ -6966,18 +5748,6 @@ func (s DescribeEventsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEvents sets the Events field's value. -func (s *DescribeEventsOutput) SetEvents(v []Event) *DescribeEventsOutput { - s.Events = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeEventsOutput) SetMarker(v string) *DescribeEventsOutput { - s.Marker = &v - return s -} - // Represents the input of a DescribeReplicationGroups operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReplicationGroupsMessage type DescribeReplicationGroupsInput struct { @@ -7015,24 +5785,6 @@ func (s DescribeReplicationGroupsInput) GoString() string { return s.String() } -// SetMarker sets the Marker field's value. -func (s *DescribeReplicationGroupsInput) SetMarker(v string) *DescribeReplicationGroupsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeReplicationGroupsInput) SetMaxRecords(v int64) *DescribeReplicationGroupsInput { - s.MaxRecords = &v - return s -} - -// SetReplicationGroupId sets the ReplicationGroupId field's value. -func (s *DescribeReplicationGroupsInput) SetReplicationGroupId(v string) *DescribeReplicationGroupsInput { - s.ReplicationGroupId = &v - return s -} - // Represents the output of a DescribeReplicationGroups operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReplicationGroupMessage type DescribeReplicationGroupsOutput struct { @@ -7063,18 +5815,6 @@ func (s DescribeReplicationGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeReplicationGroupsOutput) SetMarker(v string) *DescribeReplicationGroupsOutput { - s.Marker = &v - return s -} - -// SetReplicationGroups sets the ReplicationGroups field's value. -func (s *DescribeReplicationGroupsOutput) SetReplicationGroups(v []ReplicationGroup) *DescribeReplicationGroupsOutput { - s.ReplicationGroups = v - return s -} - // Represents the input of a DescribeReservedCacheNodes operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReservedCacheNodesMessage type DescribeReservedCacheNodesInput struct { @@ -7190,54 +5930,6 @@ func (s DescribeReservedCacheNodesInput) GoString() string { return s.String() } -// SetCacheNodeType sets the CacheNodeType field's value. -func (s *DescribeReservedCacheNodesInput) SetCacheNodeType(v string) *DescribeReservedCacheNodesInput { - s.CacheNodeType = &v - return s -} - -// SetDuration sets the Duration field's value. -func (s *DescribeReservedCacheNodesInput) SetDuration(v string) *DescribeReservedCacheNodesInput { - s.Duration = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeReservedCacheNodesInput) SetMarker(v string) *DescribeReservedCacheNodesInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeReservedCacheNodesInput) SetMaxRecords(v int64) *DescribeReservedCacheNodesInput { - s.MaxRecords = &v - return s -} - -// SetOfferingType sets the OfferingType field's value. -func (s *DescribeReservedCacheNodesInput) SetOfferingType(v string) *DescribeReservedCacheNodesInput { - s.OfferingType = &v - return s -} - -// SetProductDescription sets the ProductDescription field's value. -func (s *DescribeReservedCacheNodesInput) SetProductDescription(v string) *DescribeReservedCacheNodesInput { - s.ProductDescription = &v - return s -} - -// SetReservedCacheNodeId sets the ReservedCacheNodeId field's value. -func (s *DescribeReservedCacheNodesInput) SetReservedCacheNodeId(v string) *DescribeReservedCacheNodesInput { - s.ReservedCacheNodeId = &v - return s -} - -// SetReservedCacheNodesOfferingId sets the ReservedCacheNodesOfferingId field's value. -func (s *DescribeReservedCacheNodesInput) SetReservedCacheNodesOfferingId(v string) *DescribeReservedCacheNodesInput { - s.ReservedCacheNodesOfferingId = &v - return s -} - // Represents the input of a DescribeReservedCacheNodesOfferings operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReservedCacheNodesOfferingsMessage type DescribeReservedCacheNodesOfferingsInput struct { @@ -7351,48 +6043,6 @@ func (s DescribeReservedCacheNodesOfferingsInput) GoString() string { return s.String() } -// SetCacheNodeType sets the CacheNodeType field's value. -func (s *DescribeReservedCacheNodesOfferingsInput) SetCacheNodeType(v string) *DescribeReservedCacheNodesOfferingsInput { - s.CacheNodeType = &v - return s -} - -// SetDuration sets the Duration field's value. -func (s *DescribeReservedCacheNodesOfferingsInput) SetDuration(v string) *DescribeReservedCacheNodesOfferingsInput { - s.Duration = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeReservedCacheNodesOfferingsInput) SetMarker(v string) *DescribeReservedCacheNodesOfferingsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeReservedCacheNodesOfferingsInput) SetMaxRecords(v int64) *DescribeReservedCacheNodesOfferingsInput { - s.MaxRecords = &v - return s -} - -// SetOfferingType sets the OfferingType field's value. -func (s *DescribeReservedCacheNodesOfferingsInput) SetOfferingType(v string) *DescribeReservedCacheNodesOfferingsInput { - s.OfferingType = &v - return s -} - -// SetProductDescription sets the ProductDescription field's value. -func (s *DescribeReservedCacheNodesOfferingsInput) SetProductDescription(v string) *DescribeReservedCacheNodesOfferingsInput { - s.ProductDescription = &v - return s -} - -// SetReservedCacheNodesOfferingId sets the ReservedCacheNodesOfferingId field's value. -func (s *DescribeReservedCacheNodesOfferingsInput) SetReservedCacheNodesOfferingId(v string) *DescribeReservedCacheNodesOfferingsInput { - s.ReservedCacheNodesOfferingId = &v - return s -} - // Represents the output of a DescribeReservedCacheNodesOfferings operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReservedCacheNodesOfferingMessage type DescribeReservedCacheNodesOfferingsOutput struct { @@ -7423,18 +6073,6 @@ func (s DescribeReservedCacheNodesOfferingsOutput) SDKResponseMetadata() aws.Res return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeReservedCacheNodesOfferingsOutput) SetMarker(v string) *DescribeReservedCacheNodesOfferingsOutput { - s.Marker = &v - return s -} - -// SetReservedCacheNodesOfferings sets the ReservedCacheNodesOfferings field's value. -func (s *DescribeReservedCacheNodesOfferingsOutput) SetReservedCacheNodesOfferings(v []ReservedCacheNodesOffering) *DescribeReservedCacheNodesOfferingsOutput { - s.ReservedCacheNodesOfferings = v - return s -} - // Represents the output of a DescribeReservedCacheNodes operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReservedCacheNodeMessage type DescribeReservedCacheNodesOutput struct { @@ -7465,18 +6103,6 @@ func (s DescribeReservedCacheNodesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeReservedCacheNodesOutput) SetMarker(v string) *DescribeReservedCacheNodesOutput { - s.Marker = &v - return s -} - -// SetReservedCacheNodes sets the ReservedCacheNodes field's value. -func (s *DescribeReservedCacheNodesOutput) SetReservedCacheNodes(v []ReservedCacheNode) *DescribeReservedCacheNodesOutput { - s.ReservedCacheNodes = v - return s -} - // Represents the input of a DescribeSnapshotsMessage operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeSnapshotsMessage type DescribeSnapshotsInput struct { @@ -7529,48 +6155,6 @@ func (s DescribeSnapshotsInput) GoString() string { return s.String() } -// SetCacheClusterId sets the CacheClusterId field's value. -func (s *DescribeSnapshotsInput) SetCacheClusterId(v string) *DescribeSnapshotsInput { - s.CacheClusterId = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeSnapshotsInput) SetMarker(v string) *DescribeSnapshotsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeSnapshotsInput) SetMaxRecords(v int64) *DescribeSnapshotsInput { - s.MaxRecords = &v - return s -} - -// SetReplicationGroupId sets the ReplicationGroupId field's value. -func (s *DescribeSnapshotsInput) SetReplicationGroupId(v string) *DescribeSnapshotsInput { - s.ReplicationGroupId = &v - return s -} - -// SetShowNodeGroupConfig sets the ShowNodeGroupConfig field's value. -func (s *DescribeSnapshotsInput) SetShowNodeGroupConfig(v bool) *DescribeSnapshotsInput { - s.ShowNodeGroupConfig = &v - return s -} - -// SetSnapshotName sets the SnapshotName field's value. -func (s *DescribeSnapshotsInput) SetSnapshotName(v string) *DescribeSnapshotsInput { - s.SnapshotName = &v - return s -} - -// SetSnapshotSource sets the SnapshotSource field's value. -func (s *DescribeSnapshotsInput) SetSnapshotSource(v string) *DescribeSnapshotsInput { - s.SnapshotSource = &v - return s -} - // Represents the output of a DescribeSnapshots operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeSnapshotsListMessage type DescribeSnapshotsOutput struct { @@ -7603,18 +6187,6 @@ func (s DescribeSnapshotsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeSnapshotsOutput) SetMarker(v string) *DescribeSnapshotsOutput { - s.Marker = &v - return s -} - -// SetSnapshots sets the Snapshots field's value. -func (s *DescribeSnapshotsOutput) SetSnapshots(v []Snapshot) *DescribeSnapshotsOutput { - s.Snapshots = v - return s -} - // Provides ownership and status information for an Amazon EC2 security group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/EC2SecurityGroup type EC2SecurityGroup struct { @@ -7640,24 +6212,6 @@ func (s EC2SecurityGroup) GoString() string { return s.String() } -// SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value. -func (s *EC2SecurityGroup) SetEC2SecurityGroupName(v string) *EC2SecurityGroup { - s.EC2SecurityGroupName = &v - return s -} - -// SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value. -func (s *EC2SecurityGroup) SetEC2SecurityGroupOwnerId(v string) *EC2SecurityGroup { - s.EC2SecurityGroupOwnerId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *EC2SecurityGroup) SetStatus(v string) *EC2SecurityGroup { - s.Status = &v - return s -} - // Represents the information required for client programs to connect to a cache // node. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/Endpoint @@ -7681,18 +6235,6 @@ func (s Endpoint) GoString() string { return s.String() } -// SetAddress sets the Address field's value. -func (s *Endpoint) SetAddress(v string) *Endpoint { - s.Address = &v - return s -} - -// SetPort sets the Port field's value. -func (s *Endpoint) SetPort(v int64) *Endpoint { - s.Port = &v - return s -} - // Represents the output of a DescribeEngineDefaultParameters operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/EngineDefaults type EngineDefaults struct { @@ -7725,30 +6267,6 @@ func (s EngineDefaults) GoString() string { return s.String() } -// SetCacheNodeTypeSpecificParameters sets the CacheNodeTypeSpecificParameters field's value. -func (s *EngineDefaults) SetCacheNodeTypeSpecificParameters(v []CacheNodeTypeSpecificParameter) *EngineDefaults { - s.CacheNodeTypeSpecificParameters = v - return s -} - -// SetCacheParameterGroupFamily sets the CacheParameterGroupFamily field's value. -func (s *EngineDefaults) SetCacheParameterGroupFamily(v string) *EngineDefaults { - s.CacheParameterGroupFamily = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *EngineDefaults) SetMarker(v string) *EngineDefaults { - s.Marker = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *EngineDefaults) SetParameters(v []Parameter) *EngineDefaults { - s.Parameters = v - return s -} - // Represents a single occurrence of something interesting within the system. // Some examples of events are creating a cluster, adding or removing a cache // node, or rebooting a node. @@ -7781,30 +6299,6 @@ func (s Event) GoString() string { return s.String() } -// SetDate sets the Date field's value. -func (s *Event) SetDate(v time.Time) *Event { - s.Date = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *Event) SetMessage(v string) *Event { - s.Message = &v - return s -} - -// SetSourceIdentifier sets the SourceIdentifier field's value. -func (s *Event) SetSourceIdentifier(v string) *Event { - s.SourceIdentifier = &v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *Event) SetSourceType(v SourceType) *Event { - s.SourceType = v - return s -} - // The input parameters for the ListAllowedNodeTypeModifications operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListAllowedNodeTypeModificationsMessage type ListAllowedNodeTypeModificationsInput struct { @@ -7836,18 +6330,6 @@ func (s ListAllowedNodeTypeModificationsInput) GoString() string { return s.String() } -// SetCacheClusterId sets the CacheClusterId field's value. -func (s *ListAllowedNodeTypeModificationsInput) SetCacheClusterId(v string) *ListAllowedNodeTypeModificationsInput { - s.CacheClusterId = &v - return s -} - -// SetReplicationGroupId sets the ReplicationGroupId field's value. -func (s *ListAllowedNodeTypeModificationsInput) SetReplicationGroupId(v string) *ListAllowedNodeTypeModificationsInput { - s.ReplicationGroupId = &v - return s -} - // Represents the allowed node types you can use to modify your cluster or replication // group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AllowedNodeTypeModificationsMessage @@ -7880,12 +6362,6 @@ func (s ListAllowedNodeTypeModificationsOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetScaleUpModifications sets the ScaleUpModifications field's value. -func (s *ListAllowedNodeTypeModificationsOutput) SetScaleUpModifications(v []string) *ListAllowedNodeTypeModificationsOutput { - s.ScaleUpModifications = v - return s -} - // The input parameters for the ListTagsForResource operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListTagsForResourceMessage type ListTagsForResourceInput struct { @@ -7926,12 +6402,6 @@ func (s *ListTagsForResourceInput) Validate() error { return nil } -// SetResourceName sets the ResourceName field's value. -func (s *ListTagsForResourceInput) SetResourceName(v string) *ListTagsForResourceInput { - s.ResourceName = &v - return s -} - // Represents the input of a ModifyCacheCluster operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheClusterMessage type ModifyCacheClusterInput struct { @@ -8199,108 +6669,6 @@ func (s *ModifyCacheClusterInput) Validate() error { return nil } -// SetAZMode sets the AZMode field's value. -func (s *ModifyCacheClusterInput) SetAZMode(v AZMode) *ModifyCacheClusterInput { - s.AZMode = v - return s -} - -// SetApplyImmediately sets the ApplyImmediately field's value. -func (s *ModifyCacheClusterInput) SetApplyImmediately(v bool) *ModifyCacheClusterInput { - s.ApplyImmediately = &v - return s -} - -// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. -func (s *ModifyCacheClusterInput) SetAutoMinorVersionUpgrade(v bool) *ModifyCacheClusterInput { - s.AutoMinorVersionUpgrade = &v - return s -} - -// SetCacheClusterId sets the CacheClusterId field's value. -func (s *ModifyCacheClusterInput) SetCacheClusterId(v string) *ModifyCacheClusterInput { - s.CacheClusterId = &v - return s -} - -// SetCacheNodeIdsToRemove sets the CacheNodeIdsToRemove field's value. -func (s *ModifyCacheClusterInput) SetCacheNodeIdsToRemove(v []string) *ModifyCacheClusterInput { - s.CacheNodeIdsToRemove = v - return s -} - -// SetCacheNodeType sets the CacheNodeType field's value. -func (s *ModifyCacheClusterInput) SetCacheNodeType(v string) *ModifyCacheClusterInput { - s.CacheNodeType = &v - return s -} - -// SetCacheParameterGroupName sets the CacheParameterGroupName field's value. -func (s *ModifyCacheClusterInput) SetCacheParameterGroupName(v string) *ModifyCacheClusterInput { - s.CacheParameterGroupName = &v - return s -} - -// SetCacheSecurityGroupNames sets the CacheSecurityGroupNames field's value. -func (s *ModifyCacheClusterInput) SetCacheSecurityGroupNames(v []string) *ModifyCacheClusterInput { - s.CacheSecurityGroupNames = v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *ModifyCacheClusterInput) SetEngineVersion(v string) *ModifyCacheClusterInput { - s.EngineVersion = &v - return s -} - -// SetNewAvailabilityZones sets the NewAvailabilityZones field's value. -func (s *ModifyCacheClusterInput) SetNewAvailabilityZones(v []string) *ModifyCacheClusterInput { - s.NewAvailabilityZones = v - return s -} - -// SetNotificationTopicArn sets the NotificationTopicArn field's value. -func (s *ModifyCacheClusterInput) SetNotificationTopicArn(v string) *ModifyCacheClusterInput { - s.NotificationTopicArn = &v - return s -} - -// SetNotificationTopicStatus sets the NotificationTopicStatus field's value. -func (s *ModifyCacheClusterInput) SetNotificationTopicStatus(v string) *ModifyCacheClusterInput { - s.NotificationTopicStatus = &v - return s -} - -// SetNumCacheNodes sets the NumCacheNodes field's value. -func (s *ModifyCacheClusterInput) SetNumCacheNodes(v int64) *ModifyCacheClusterInput { - s.NumCacheNodes = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *ModifyCacheClusterInput) SetPreferredMaintenanceWindow(v string) *ModifyCacheClusterInput { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *ModifyCacheClusterInput) SetSecurityGroupIds(v []string) *ModifyCacheClusterInput { - s.SecurityGroupIds = v - return s -} - -// SetSnapshotRetentionLimit sets the SnapshotRetentionLimit field's value. -func (s *ModifyCacheClusterInput) SetSnapshotRetentionLimit(v int64) *ModifyCacheClusterInput { - s.SnapshotRetentionLimit = &v - return s -} - -// SetSnapshotWindow sets the SnapshotWindow field's value. -func (s *ModifyCacheClusterInput) SetSnapshotWindow(v string) *ModifyCacheClusterInput { - s.SnapshotWindow = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheClusterResult type ModifyCacheClusterOutput struct { _ struct{} `type:"structure"` @@ -8326,12 +6694,6 @@ func (s ModifyCacheClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCacheCluster sets the CacheCluster field's value. -func (s *ModifyCacheClusterOutput) SetCacheCluster(v *CacheCluster) *ModifyCacheClusterOutput { - s.CacheCluster = v - return s -} - // Represents the input of a ModifyCacheParameterGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheParameterGroupMessage type ModifyCacheParameterGroupInput struct { @@ -8378,18 +6740,6 @@ func (s *ModifyCacheParameterGroupInput) Validate() error { return nil } -// SetCacheParameterGroupName sets the CacheParameterGroupName field's value. -func (s *ModifyCacheParameterGroupInput) SetCacheParameterGroupName(v string) *ModifyCacheParameterGroupInput { - s.CacheParameterGroupName = &v - return s -} - -// SetParameterNameValues sets the ParameterNameValues field's value. -func (s *ModifyCacheParameterGroupInput) SetParameterNameValues(v []ParameterNameValue) *ModifyCacheParameterGroupInput { - s.ParameterNameValues = v - return s -} - // Represents the input of a ModifyCacheSubnetGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheSubnetGroupMessage type ModifyCacheSubnetGroupInput struct { @@ -8436,24 +6786,6 @@ func (s *ModifyCacheSubnetGroupInput) Validate() error { return nil } -// SetCacheSubnetGroupDescription sets the CacheSubnetGroupDescription field's value. -func (s *ModifyCacheSubnetGroupInput) SetCacheSubnetGroupDescription(v string) *ModifyCacheSubnetGroupInput { - s.CacheSubnetGroupDescription = &v - return s -} - -// SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value. -func (s *ModifyCacheSubnetGroupInput) SetCacheSubnetGroupName(v string) *ModifyCacheSubnetGroupInput { - s.CacheSubnetGroupName = &v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *ModifyCacheSubnetGroupInput) SetSubnetIds(v []string) *ModifyCacheSubnetGroupInput { - s.SubnetIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheSubnetGroupResult type ModifyCacheSubnetGroupOutput struct { _ struct{} `type:"structure"` @@ -8483,12 +6815,6 @@ func (s ModifyCacheSubnetGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCacheSubnetGroup sets the CacheSubnetGroup field's value. -func (s *ModifyCacheSubnetGroupOutput) SetCacheSubnetGroup(v *CacheSubnetGroup) *ModifyCacheSubnetGroupOutput { - s.CacheSubnetGroup = v - return s -} - // Represents the input of a ModifyReplicationGroups operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupMessage type ModifyReplicationGroupInput struct { @@ -8661,114 +6987,6 @@ func (s *ModifyReplicationGroupInput) Validate() error { return nil } -// SetApplyImmediately sets the ApplyImmediately field's value. -func (s *ModifyReplicationGroupInput) SetApplyImmediately(v bool) *ModifyReplicationGroupInput { - s.ApplyImmediately = &v - return s -} - -// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. -func (s *ModifyReplicationGroupInput) SetAutoMinorVersionUpgrade(v bool) *ModifyReplicationGroupInput { - s.AutoMinorVersionUpgrade = &v - return s -} - -// SetAutomaticFailoverEnabled sets the AutomaticFailoverEnabled field's value. -func (s *ModifyReplicationGroupInput) SetAutomaticFailoverEnabled(v bool) *ModifyReplicationGroupInput { - s.AutomaticFailoverEnabled = &v - return s -} - -// SetCacheNodeType sets the CacheNodeType field's value. -func (s *ModifyReplicationGroupInput) SetCacheNodeType(v string) *ModifyReplicationGroupInput { - s.CacheNodeType = &v - return s -} - -// SetCacheParameterGroupName sets the CacheParameterGroupName field's value. -func (s *ModifyReplicationGroupInput) SetCacheParameterGroupName(v string) *ModifyReplicationGroupInput { - s.CacheParameterGroupName = &v - return s -} - -// SetCacheSecurityGroupNames sets the CacheSecurityGroupNames field's value. -func (s *ModifyReplicationGroupInput) SetCacheSecurityGroupNames(v []string) *ModifyReplicationGroupInput { - s.CacheSecurityGroupNames = v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *ModifyReplicationGroupInput) SetEngineVersion(v string) *ModifyReplicationGroupInput { - s.EngineVersion = &v - return s -} - -// SetNodeGroupId sets the NodeGroupId field's value. -func (s *ModifyReplicationGroupInput) SetNodeGroupId(v string) *ModifyReplicationGroupInput { - s.NodeGroupId = &v - return s -} - -// SetNotificationTopicArn sets the NotificationTopicArn field's value. -func (s *ModifyReplicationGroupInput) SetNotificationTopicArn(v string) *ModifyReplicationGroupInput { - s.NotificationTopicArn = &v - return s -} - -// SetNotificationTopicStatus sets the NotificationTopicStatus field's value. -func (s *ModifyReplicationGroupInput) SetNotificationTopicStatus(v string) *ModifyReplicationGroupInput { - s.NotificationTopicStatus = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *ModifyReplicationGroupInput) SetPreferredMaintenanceWindow(v string) *ModifyReplicationGroupInput { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetPrimaryClusterId sets the PrimaryClusterId field's value. -func (s *ModifyReplicationGroupInput) SetPrimaryClusterId(v string) *ModifyReplicationGroupInput { - s.PrimaryClusterId = &v - return s -} - -// SetReplicationGroupDescription sets the ReplicationGroupDescription field's value. -func (s *ModifyReplicationGroupInput) SetReplicationGroupDescription(v string) *ModifyReplicationGroupInput { - s.ReplicationGroupDescription = &v - return s -} - -// SetReplicationGroupId sets the ReplicationGroupId field's value. -func (s *ModifyReplicationGroupInput) SetReplicationGroupId(v string) *ModifyReplicationGroupInput { - s.ReplicationGroupId = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *ModifyReplicationGroupInput) SetSecurityGroupIds(v []string) *ModifyReplicationGroupInput { - s.SecurityGroupIds = v - return s -} - -// SetSnapshotRetentionLimit sets the SnapshotRetentionLimit field's value. -func (s *ModifyReplicationGroupInput) SetSnapshotRetentionLimit(v int64) *ModifyReplicationGroupInput { - s.SnapshotRetentionLimit = &v - return s -} - -// SetSnapshotWindow sets the SnapshotWindow field's value. -func (s *ModifyReplicationGroupInput) SetSnapshotWindow(v string) *ModifyReplicationGroupInput { - s.SnapshotWindow = &v - return s -} - -// SetSnapshottingClusterId sets the SnapshottingClusterId field's value. -func (s *ModifyReplicationGroupInput) SetSnapshottingClusterId(v string) *ModifyReplicationGroupInput { - s.SnapshottingClusterId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupResult type ModifyReplicationGroupOutput struct { _ struct{} `type:"structure"` @@ -8794,12 +7012,6 @@ func (s ModifyReplicationGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReplicationGroup sets the ReplicationGroup field's value. -func (s *ModifyReplicationGroupOutput) SetReplicationGroup(v *ReplicationGroup) *ModifyReplicationGroupOutput { - s.ReplicationGroup = v - return s -} - // Represents the input for a ModifyReplicationGroupShardConfiguration operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupShardConfigurationMessage type ModifyReplicationGroupShardConfigurationInput struct { @@ -8873,36 +7085,6 @@ func (s *ModifyReplicationGroupShardConfigurationInput) Validate() error { return nil } -// SetApplyImmediately sets the ApplyImmediately field's value. -func (s *ModifyReplicationGroupShardConfigurationInput) SetApplyImmediately(v bool) *ModifyReplicationGroupShardConfigurationInput { - s.ApplyImmediately = &v - return s -} - -// SetNodeGroupCount sets the NodeGroupCount field's value. -func (s *ModifyReplicationGroupShardConfigurationInput) SetNodeGroupCount(v int64) *ModifyReplicationGroupShardConfigurationInput { - s.NodeGroupCount = &v - return s -} - -// SetNodeGroupsToRemove sets the NodeGroupsToRemove field's value. -func (s *ModifyReplicationGroupShardConfigurationInput) SetNodeGroupsToRemove(v []string) *ModifyReplicationGroupShardConfigurationInput { - s.NodeGroupsToRemove = v - return s -} - -// SetReplicationGroupId sets the ReplicationGroupId field's value. -func (s *ModifyReplicationGroupShardConfigurationInput) SetReplicationGroupId(v string) *ModifyReplicationGroupShardConfigurationInput { - s.ReplicationGroupId = &v - return s -} - -// SetReshardingConfiguration sets the ReshardingConfiguration field's value. -func (s *ModifyReplicationGroupShardConfigurationInput) SetReshardingConfiguration(v []ReshardingConfiguration) *ModifyReplicationGroupShardConfigurationInput { - s.ReshardingConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupShardConfigurationResult type ModifyReplicationGroupShardConfigurationOutput struct { _ struct{} `type:"structure"` @@ -8928,12 +7110,6 @@ func (s ModifyReplicationGroupShardConfigurationOutput) SDKResponseMetadata() aw return s.responseMetadata } -// SetReplicationGroup sets the ReplicationGroup field's value. -func (s *ModifyReplicationGroupShardConfigurationOutput) SetReplicationGroup(v *ReplicationGroup) *ModifyReplicationGroupShardConfigurationOutput { - s.ReplicationGroup = v - return s -} - // Represents a collection of cache nodes in a replication group. One node in // the node group is the read/write primary node. All the other nodes are read-only // Replica nodes. @@ -8971,36 +7147,6 @@ func (s NodeGroup) GoString() string { return s.String() } -// SetNodeGroupId sets the NodeGroupId field's value. -func (s *NodeGroup) SetNodeGroupId(v string) *NodeGroup { - s.NodeGroupId = &v - return s -} - -// SetNodeGroupMembers sets the NodeGroupMembers field's value. -func (s *NodeGroup) SetNodeGroupMembers(v []NodeGroupMember) *NodeGroup { - s.NodeGroupMembers = v - return s -} - -// SetPrimaryEndpoint sets the PrimaryEndpoint field's value. -func (s *NodeGroup) SetPrimaryEndpoint(v *Endpoint) *NodeGroup { - s.PrimaryEndpoint = v - return s -} - -// SetSlots sets the Slots field's value. -func (s *NodeGroup) SetSlots(v string) *NodeGroup { - s.Slots = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *NodeGroup) SetStatus(v string) *NodeGroup { - s.Status = &v - return s -} - // Node group (shard) configuration options. Each node group (shard) configuration // has the following: Slots, PrimaryAvailabilityZone, ReplicaAvailabilityZones, // ReplicaCount. @@ -9037,30 +7183,6 @@ func (s NodeGroupConfiguration) GoString() string { return s.String() } -// SetPrimaryAvailabilityZone sets the PrimaryAvailabilityZone field's value. -func (s *NodeGroupConfiguration) SetPrimaryAvailabilityZone(v string) *NodeGroupConfiguration { - s.PrimaryAvailabilityZone = &v - return s -} - -// SetReplicaAvailabilityZones sets the ReplicaAvailabilityZones field's value. -func (s *NodeGroupConfiguration) SetReplicaAvailabilityZones(v []string) *NodeGroupConfiguration { - s.ReplicaAvailabilityZones = v - return s -} - -// SetReplicaCount sets the ReplicaCount field's value. -func (s *NodeGroupConfiguration) SetReplicaCount(v int64) *NodeGroupConfiguration { - s.ReplicaCount = &v - return s -} - -// SetSlots sets the Slots field's value. -func (s *NodeGroupConfiguration) SetSlots(v string) *NodeGroupConfiguration { - s.Slots = &v - return s -} - // Represents a single node within a node group (shard). // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/NodeGroupMember type NodeGroupMember struct { @@ -9094,36 +7216,6 @@ func (s NodeGroupMember) GoString() string { return s.String() } -// SetCacheClusterId sets the CacheClusterId field's value. -func (s *NodeGroupMember) SetCacheClusterId(v string) *NodeGroupMember { - s.CacheClusterId = &v - return s -} - -// SetCacheNodeId sets the CacheNodeId field's value. -func (s *NodeGroupMember) SetCacheNodeId(v string) *NodeGroupMember { - s.CacheNodeId = &v - return s -} - -// SetCurrentRole sets the CurrentRole field's value. -func (s *NodeGroupMember) SetCurrentRole(v string) *NodeGroupMember { - s.CurrentRole = &v - return s -} - -// SetPreferredAvailabilityZone sets the PreferredAvailabilityZone field's value. -func (s *NodeGroupMember) SetPreferredAvailabilityZone(v string) *NodeGroupMember { - s.PreferredAvailabilityZone = &v - return s -} - -// SetReadEndpoint sets the ReadEndpoint field's value. -func (s *NodeGroupMember) SetReadEndpoint(v *Endpoint) *NodeGroupMember { - s.ReadEndpoint = v - return s -} - // Represents an individual cache node in a snapshot of a cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/NodeSnapshot type NodeSnapshot struct { @@ -9162,48 +7254,6 @@ func (s NodeSnapshot) GoString() string { return s.String() } -// SetCacheClusterId sets the CacheClusterId field's value. -func (s *NodeSnapshot) SetCacheClusterId(v string) *NodeSnapshot { - s.CacheClusterId = &v - return s -} - -// SetCacheNodeCreateTime sets the CacheNodeCreateTime field's value. -func (s *NodeSnapshot) SetCacheNodeCreateTime(v time.Time) *NodeSnapshot { - s.CacheNodeCreateTime = &v - return s -} - -// SetCacheNodeId sets the CacheNodeId field's value. -func (s *NodeSnapshot) SetCacheNodeId(v string) *NodeSnapshot { - s.CacheNodeId = &v - return s -} - -// SetCacheSize sets the CacheSize field's value. -func (s *NodeSnapshot) SetCacheSize(v string) *NodeSnapshot { - s.CacheSize = &v - return s -} - -// SetNodeGroupConfiguration sets the NodeGroupConfiguration field's value. -func (s *NodeSnapshot) SetNodeGroupConfiguration(v *NodeGroupConfiguration) *NodeSnapshot { - s.NodeGroupConfiguration = v - return s -} - -// SetNodeGroupId sets the NodeGroupId field's value. -func (s *NodeSnapshot) SetNodeGroupId(v string) *NodeSnapshot { - s.NodeGroupId = &v - return s -} - -// SetSnapshotCreateTime sets the SnapshotCreateTime field's value. -func (s *NodeSnapshot) SetSnapshotCreateTime(v time.Time) *NodeSnapshot { - s.SnapshotCreateTime = &v - return s -} - // Describes a notification topic and its status. Notification topics are used // for publishing ElastiCache events to subscribers using Amazon Simple Notification // Service (SNS). @@ -9228,18 +7278,6 @@ func (s NotificationConfiguration) GoString() string { return s.String() } -// SetTopicArn sets the TopicArn field's value. -func (s *NotificationConfiguration) SetTopicArn(v string) *NotificationConfiguration { - s.TopicArn = &v - return s -} - -// SetTopicStatus sets the TopicStatus field's value. -func (s *NotificationConfiguration) SetTopicStatus(v string) *NotificationConfiguration { - s.TopicStatus = &v - return s -} - // Describes an individual setting that controls some aspect of ElastiCache // behavior. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/Parameter @@ -9289,60 +7327,6 @@ func (s Parameter) GoString() string { return s.String() } -// SetAllowedValues sets the AllowedValues field's value. -func (s *Parameter) SetAllowedValues(v string) *Parameter { - s.AllowedValues = &v - return s -} - -// SetChangeType sets the ChangeType field's value. -func (s *Parameter) SetChangeType(v ChangeType) *Parameter { - s.ChangeType = v - return s -} - -// SetDataType sets the DataType field's value. -func (s *Parameter) SetDataType(v string) *Parameter { - s.DataType = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Parameter) SetDescription(v string) *Parameter { - s.Description = &v - return s -} - -// SetIsModifiable sets the IsModifiable field's value. -func (s *Parameter) SetIsModifiable(v bool) *Parameter { - s.IsModifiable = &v - return s -} - -// SetMinimumEngineVersion sets the MinimumEngineVersion field's value. -func (s *Parameter) SetMinimumEngineVersion(v string) *Parameter { - s.MinimumEngineVersion = &v - return s -} - -// SetParameterName sets the ParameterName field's value. -func (s *Parameter) SetParameterName(v string) *Parameter { - s.ParameterName = &v - return s -} - -// SetParameterValue sets the ParameterValue field's value. -func (s *Parameter) SetParameterValue(v string) *Parameter { - s.ParameterValue = &v - return s -} - -// SetSource sets the Source field's value. -func (s *Parameter) SetSource(v string) *Parameter { - s.Source = &v - return s -} - // Describes a name-value pair that is used to update the value of a parameter. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ParameterNameValue type ParameterNameValue struct { @@ -9365,18 +7349,6 @@ func (s ParameterNameValue) GoString() string { return s.String() } -// SetParameterName sets the ParameterName field's value. -func (s *ParameterNameValue) SetParameterName(v string) *ParameterNameValue { - s.ParameterName = &v - return s -} - -// SetParameterValue sets the ParameterValue field's value. -func (s *ParameterNameValue) SetParameterValue(v string) *ParameterNameValue { - s.ParameterValue = &v - return s -} - // A group of settings that are applied to the cluster in the future, or that // are currently being applied. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/PendingModifiedValues @@ -9410,30 +7382,6 @@ func (s PendingModifiedValues) GoString() string { return s.String() } -// SetCacheNodeIdsToRemove sets the CacheNodeIdsToRemove field's value. -func (s *PendingModifiedValues) SetCacheNodeIdsToRemove(v []string) *PendingModifiedValues { - s.CacheNodeIdsToRemove = v - return s -} - -// SetCacheNodeType sets the CacheNodeType field's value. -func (s *PendingModifiedValues) SetCacheNodeType(v string) *PendingModifiedValues { - s.CacheNodeType = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *PendingModifiedValues) SetEngineVersion(v string) *PendingModifiedValues { - s.EngineVersion = &v - return s -} - -// SetNumCacheNodes sets the NumCacheNodes field's value. -func (s *PendingModifiedValues) SetNumCacheNodes(v int64) *PendingModifiedValues { - s.NumCacheNodes = &v - return s -} - // Represents the input of a PurchaseReservedCacheNodesOffering operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/PurchaseReservedCacheNodesOfferingMessage type PurchaseReservedCacheNodesOfferingInput struct { @@ -9485,24 +7433,6 @@ func (s *PurchaseReservedCacheNodesOfferingInput) Validate() error { return nil } -// SetCacheNodeCount sets the CacheNodeCount field's value. -func (s *PurchaseReservedCacheNodesOfferingInput) SetCacheNodeCount(v int64) *PurchaseReservedCacheNodesOfferingInput { - s.CacheNodeCount = &v - return s -} - -// SetReservedCacheNodeId sets the ReservedCacheNodeId field's value. -func (s *PurchaseReservedCacheNodesOfferingInput) SetReservedCacheNodeId(v string) *PurchaseReservedCacheNodesOfferingInput { - s.ReservedCacheNodeId = &v - return s -} - -// SetReservedCacheNodesOfferingId sets the ReservedCacheNodesOfferingId field's value. -func (s *PurchaseReservedCacheNodesOfferingInput) SetReservedCacheNodesOfferingId(v string) *PurchaseReservedCacheNodesOfferingInput { - s.ReservedCacheNodesOfferingId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/PurchaseReservedCacheNodesOfferingResult type PurchaseReservedCacheNodesOfferingOutput struct { _ struct{} `type:"structure"` @@ -9528,12 +7458,6 @@ func (s PurchaseReservedCacheNodesOfferingOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetReservedCacheNode sets the ReservedCacheNode field's value. -func (s *PurchaseReservedCacheNodesOfferingOutput) SetReservedCacheNode(v *ReservedCacheNode) *PurchaseReservedCacheNodesOfferingOutput { - s.ReservedCacheNode = v - return s -} - // Represents the input of a RebootCacheCluster operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebootCacheClusterMessage type RebootCacheClusterInput struct { @@ -9579,18 +7503,6 @@ func (s *RebootCacheClusterInput) Validate() error { return nil } -// SetCacheClusterId sets the CacheClusterId field's value. -func (s *RebootCacheClusterInput) SetCacheClusterId(v string) *RebootCacheClusterInput { - s.CacheClusterId = &v - return s -} - -// SetCacheNodeIdsToReboot sets the CacheNodeIdsToReboot field's value. -func (s *RebootCacheClusterInput) SetCacheNodeIdsToReboot(v []string) *RebootCacheClusterInput { - s.CacheNodeIdsToReboot = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebootCacheClusterResult type RebootCacheClusterOutput struct { _ struct{} `type:"structure"` @@ -9616,12 +7528,6 @@ func (s RebootCacheClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCacheCluster sets the CacheCluster field's value. -func (s *RebootCacheClusterOutput) SetCacheCluster(v *CacheCluster) *RebootCacheClusterOutput { - s.CacheCluster = v - return s -} - // Contains the specific price and frequency of a recurring charges for a reserved // cache node, or for a reserved cache node offering. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RecurringCharge @@ -9645,18 +7551,6 @@ func (s RecurringCharge) GoString() string { return s.String() } -// SetRecurringChargeAmount sets the RecurringChargeAmount field's value. -func (s *RecurringCharge) SetRecurringChargeAmount(v float64) *RecurringCharge { - s.RecurringChargeAmount = &v - return s -} - -// SetRecurringChargeFrequency sets the RecurringChargeFrequency field's value. -func (s *RecurringCharge) SetRecurringChargeFrequency(v string) *RecurringCharge { - s.RecurringChargeFrequency = &v - return s -} - // Represents the input of a RemoveTagsFromResource operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RemoveTagsFromResourceMessage type RemoveTagsFromResourceInput struct { @@ -9706,18 +7600,6 @@ func (s *RemoveTagsFromResourceInput) Validate() error { return nil } -// SetResourceName sets the ResourceName field's value. -func (s *RemoveTagsFromResourceInput) SetResourceName(v string) *RemoveTagsFromResourceInput { - s.ResourceName = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *RemoveTagsFromResourceInput) SetTagKeys(v []string) *RemoveTagsFromResourceInput { - s.TagKeys = v - return s -} - // Represents the output from the AddTagsToResource, ListTagsForResource, and // RemoveTagsFromResource operations. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListTagsForResourceOutput @@ -9745,12 +7627,6 @@ func (s RemoveTagsFromResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTagList sets the TagList field's value. -func (s *RemoveTagsFromResourceOutput) SetTagList(v []Tag) *RemoveTagsFromResourceOutput { - s.TagList = v - return s -} - // Contains all of the attributes of a specific Redis replication group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReplicationGroup type ReplicationGroup struct { @@ -9864,102 +7740,6 @@ func (s ReplicationGroup) GoString() string { return s.String() } -// SetAtRestEncryptionEnabled sets the AtRestEncryptionEnabled field's value. -func (s *ReplicationGroup) SetAtRestEncryptionEnabled(v bool) *ReplicationGroup { - s.AtRestEncryptionEnabled = &v - return s -} - -// SetAuthTokenEnabled sets the AuthTokenEnabled field's value. -func (s *ReplicationGroup) SetAuthTokenEnabled(v bool) *ReplicationGroup { - s.AuthTokenEnabled = &v - return s -} - -// SetAutomaticFailover sets the AutomaticFailover field's value. -func (s *ReplicationGroup) SetAutomaticFailover(v AutomaticFailoverStatus) *ReplicationGroup { - s.AutomaticFailover = v - return s -} - -// SetCacheNodeType sets the CacheNodeType field's value. -func (s *ReplicationGroup) SetCacheNodeType(v string) *ReplicationGroup { - s.CacheNodeType = &v - return s -} - -// SetClusterEnabled sets the ClusterEnabled field's value. -func (s *ReplicationGroup) SetClusterEnabled(v bool) *ReplicationGroup { - s.ClusterEnabled = &v - return s -} - -// SetConfigurationEndpoint sets the ConfigurationEndpoint field's value. -func (s *ReplicationGroup) SetConfigurationEndpoint(v *Endpoint) *ReplicationGroup { - s.ConfigurationEndpoint = v - return s -} - -// SetDescription sets the Description field's value. -func (s *ReplicationGroup) SetDescription(v string) *ReplicationGroup { - s.Description = &v - return s -} - -// SetMemberClusters sets the MemberClusters field's value. -func (s *ReplicationGroup) SetMemberClusters(v []string) *ReplicationGroup { - s.MemberClusters = v - return s -} - -// SetNodeGroups sets the NodeGroups field's value. -func (s *ReplicationGroup) SetNodeGroups(v []NodeGroup) *ReplicationGroup { - s.NodeGroups = v - return s -} - -// SetPendingModifiedValues sets the PendingModifiedValues field's value. -func (s *ReplicationGroup) SetPendingModifiedValues(v *ReplicationGroupPendingModifiedValues) *ReplicationGroup { - s.PendingModifiedValues = v - return s -} - -// SetReplicationGroupId sets the ReplicationGroupId field's value. -func (s *ReplicationGroup) SetReplicationGroupId(v string) *ReplicationGroup { - s.ReplicationGroupId = &v - return s -} - -// SetSnapshotRetentionLimit sets the SnapshotRetentionLimit field's value. -func (s *ReplicationGroup) SetSnapshotRetentionLimit(v int64) *ReplicationGroup { - s.SnapshotRetentionLimit = &v - return s -} - -// SetSnapshotWindow sets the SnapshotWindow field's value. -func (s *ReplicationGroup) SetSnapshotWindow(v string) *ReplicationGroup { - s.SnapshotWindow = &v - return s -} - -// SetSnapshottingClusterId sets the SnapshottingClusterId field's value. -func (s *ReplicationGroup) SetSnapshottingClusterId(v string) *ReplicationGroup { - s.SnapshottingClusterId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ReplicationGroup) SetStatus(v string) *ReplicationGroup { - s.Status = &v - return s -} - -// SetTransitEncryptionEnabled sets the TransitEncryptionEnabled field's value. -func (s *ReplicationGroup) SetTransitEncryptionEnabled(v bool) *ReplicationGroup { - s.TransitEncryptionEnabled = &v - return s -} - // The settings to be applied to the Redis replication group, either immediately // or during the next maintenance window. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReplicationGroupPendingModifiedValues @@ -9997,24 +7777,6 @@ func (s ReplicationGroupPendingModifiedValues) GoString() string { return s.String() } -// SetAutomaticFailoverStatus sets the AutomaticFailoverStatus field's value. -func (s *ReplicationGroupPendingModifiedValues) SetAutomaticFailoverStatus(v PendingAutomaticFailoverStatus) *ReplicationGroupPendingModifiedValues { - s.AutomaticFailoverStatus = v - return s -} - -// SetPrimaryClusterId sets the PrimaryClusterId field's value. -func (s *ReplicationGroupPendingModifiedValues) SetPrimaryClusterId(v string) *ReplicationGroupPendingModifiedValues { - s.PrimaryClusterId = &v - return s -} - -// SetResharding sets the Resharding field's value. -func (s *ReplicationGroupPendingModifiedValues) SetResharding(v *ReshardingStatus) *ReplicationGroupPendingModifiedValues { - s.Resharding = v - return s -} - // Represents the output of a PurchaseReservedCacheNodesOffering operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReservedCacheNode type ReservedCacheNode struct { @@ -10124,78 +7886,6 @@ func (s ReservedCacheNode) GoString() string { return s.String() } -// SetCacheNodeCount sets the CacheNodeCount field's value. -func (s *ReservedCacheNode) SetCacheNodeCount(v int64) *ReservedCacheNode { - s.CacheNodeCount = &v - return s -} - -// SetCacheNodeType sets the CacheNodeType field's value. -func (s *ReservedCacheNode) SetCacheNodeType(v string) *ReservedCacheNode { - s.CacheNodeType = &v - return s -} - -// SetDuration sets the Duration field's value. -func (s *ReservedCacheNode) SetDuration(v int64) *ReservedCacheNode { - s.Duration = &v - return s -} - -// SetFixedPrice sets the FixedPrice field's value. -func (s *ReservedCacheNode) SetFixedPrice(v float64) *ReservedCacheNode { - s.FixedPrice = &v - return s -} - -// SetOfferingType sets the OfferingType field's value. -func (s *ReservedCacheNode) SetOfferingType(v string) *ReservedCacheNode { - s.OfferingType = &v - return s -} - -// SetProductDescription sets the ProductDescription field's value. -func (s *ReservedCacheNode) SetProductDescription(v string) *ReservedCacheNode { - s.ProductDescription = &v - return s -} - -// SetRecurringCharges sets the RecurringCharges field's value. -func (s *ReservedCacheNode) SetRecurringCharges(v []RecurringCharge) *ReservedCacheNode { - s.RecurringCharges = v - return s -} - -// SetReservedCacheNodeId sets the ReservedCacheNodeId field's value. -func (s *ReservedCacheNode) SetReservedCacheNodeId(v string) *ReservedCacheNode { - s.ReservedCacheNodeId = &v - return s -} - -// SetReservedCacheNodesOfferingId sets the ReservedCacheNodesOfferingId field's value. -func (s *ReservedCacheNode) SetReservedCacheNodesOfferingId(v string) *ReservedCacheNode { - s.ReservedCacheNodesOfferingId = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *ReservedCacheNode) SetStartTime(v time.Time) *ReservedCacheNode { - s.StartTime = &v - return s -} - -// SetState sets the State field's value. -func (s *ReservedCacheNode) SetState(v string) *ReservedCacheNode { - s.State = &v - return s -} - -// SetUsagePrice sets the UsagePrice field's value. -func (s *ReservedCacheNode) SetUsagePrice(v float64) *ReservedCacheNode { - s.UsagePrice = &v - return s -} - // Describes all of the attributes of a reserved cache node offering. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReservedCacheNodesOffering type ReservedCacheNodesOffering struct { @@ -10293,54 +7983,6 @@ func (s ReservedCacheNodesOffering) GoString() string { return s.String() } -// SetCacheNodeType sets the CacheNodeType field's value. -func (s *ReservedCacheNodesOffering) SetCacheNodeType(v string) *ReservedCacheNodesOffering { - s.CacheNodeType = &v - return s -} - -// SetDuration sets the Duration field's value. -func (s *ReservedCacheNodesOffering) SetDuration(v int64) *ReservedCacheNodesOffering { - s.Duration = &v - return s -} - -// SetFixedPrice sets the FixedPrice field's value. -func (s *ReservedCacheNodesOffering) SetFixedPrice(v float64) *ReservedCacheNodesOffering { - s.FixedPrice = &v - return s -} - -// SetOfferingType sets the OfferingType field's value. -func (s *ReservedCacheNodesOffering) SetOfferingType(v string) *ReservedCacheNodesOffering { - s.OfferingType = &v - return s -} - -// SetProductDescription sets the ProductDescription field's value. -func (s *ReservedCacheNodesOffering) SetProductDescription(v string) *ReservedCacheNodesOffering { - s.ProductDescription = &v - return s -} - -// SetRecurringCharges sets the RecurringCharges field's value. -func (s *ReservedCacheNodesOffering) SetRecurringCharges(v []RecurringCharge) *ReservedCacheNodesOffering { - s.RecurringCharges = v - return s -} - -// SetReservedCacheNodesOfferingId sets the ReservedCacheNodesOfferingId field's value. -func (s *ReservedCacheNodesOffering) SetReservedCacheNodesOfferingId(v string) *ReservedCacheNodesOffering { - s.ReservedCacheNodesOfferingId = &v - return s -} - -// SetUsagePrice sets the UsagePrice field's value. -func (s *ReservedCacheNodesOffering) SetUsagePrice(v float64) *ReservedCacheNodesOffering { - s.UsagePrice = &v - return s -} - // Represents the input of a ResetCacheParameterGroup operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ResetCacheParameterGroupMessage type ResetCacheParameterGroupInput struct { @@ -10388,24 +8030,6 @@ func (s *ResetCacheParameterGroupInput) Validate() error { return nil } -// SetCacheParameterGroupName sets the CacheParameterGroupName field's value. -func (s *ResetCacheParameterGroupInput) SetCacheParameterGroupName(v string) *ResetCacheParameterGroupInput { - s.CacheParameterGroupName = &v - return s -} - -// SetParameterNameValues sets the ParameterNameValues field's value. -func (s *ResetCacheParameterGroupInput) SetParameterNameValues(v []ParameterNameValue) *ResetCacheParameterGroupInput { - s.ParameterNameValues = v - return s -} - -// SetResetAllParameters sets the ResetAllParameters field's value. -func (s *ResetCacheParameterGroupInput) SetResetAllParameters(v bool) *ResetCacheParameterGroupInput { - s.ResetAllParameters = &v - return s -} - // Represents the output of one of the following operations: // // * ModifyCacheParameterGroup @@ -10436,12 +8060,6 @@ func (s ResetCacheParameterGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCacheParameterGroupName sets the CacheParameterGroupName field's value. -func (s *ResetCacheParameterGroupOutput) SetCacheParameterGroupName(v string) *ResetCacheParameterGroupOutput { - s.CacheParameterGroupName = &v - return s -} - // A list of PreferredAvailabilityZones objects that specifies the configuration // of a node group in the resharded cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReshardingConfiguration @@ -10462,12 +8080,6 @@ func (s ReshardingConfiguration) GoString() string { return s.String() } -// SetPreferredAvailabilityZones sets the PreferredAvailabilityZones field's value. -func (s *ReshardingConfiguration) SetPreferredAvailabilityZones(v []string) *ReshardingConfiguration { - s.PreferredAvailabilityZones = v - return s -} - // The status of an online resharding operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReshardingStatus type ReshardingStatus struct { @@ -10487,12 +8099,6 @@ func (s ReshardingStatus) GoString() string { return s.String() } -// SetSlotMigration sets the SlotMigration field's value. -func (s *ReshardingStatus) SetSlotMigration(v *SlotMigration) *ReshardingStatus { - s.SlotMigration = v - return s -} - // Represents the input of a RevokeCacheSecurityGroupIngress operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RevokeCacheSecurityGroupIngressMessage type RevokeCacheSecurityGroupIngressInput struct { @@ -10548,24 +8154,6 @@ func (s *RevokeCacheSecurityGroupIngressInput) Validate() error { return nil } -// SetCacheSecurityGroupName sets the CacheSecurityGroupName field's value. -func (s *RevokeCacheSecurityGroupIngressInput) SetCacheSecurityGroupName(v string) *RevokeCacheSecurityGroupIngressInput { - s.CacheSecurityGroupName = &v - return s -} - -// SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value. -func (s *RevokeCacheSecurityGroupIngressInput) SetEC2SecurityGroupName(v string) *RevokeCacheSecurityGroupIngressInput { - s.EC2SecurityGroupName = &v - return s -} - -// SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value. -func (s *RevokeCacheSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v string) *RevokeCacheSecurityGroupIngressInput { - s.EC2SecurityGroupOwnerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RevokeCacheSecurityGroupIngressResult type RevokeCacheSecurityGroupIngressOutput struct { _ struct{} `type:"structure"` @@ -10597,12 +8185,6 @@ func (s RevokeCacheSecurityGroupIngressOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetCacheSecurityGroup sets the CacheSecurityGroup field's value. -func (s *RevokeCacheSecurityGroupIngressOutput) SetCacheSecurityGroup(v *CacheSecurityGroup) *RevokeCacheSecurityGroupIngressOutput { - s.CacheSecurityGroup = v - return s -} - // Represents a single cache security group and its status. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/SecurityGroupMembership type SecurityGroupMembership struct { @@ -10627,18 +8209,6 @@ func (s SecurityGroupMembership) GoString() string { return s.String() } -// SetSecurityGroupId sets the SecurityGroupId field's value. -func (s *SecurityGroupMembership) SetSecurityGroupId(v string) *SecurityGroupMembership { - s.SecurityGroupId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *SecurityGroupMembership) SetStatus(v string) *SecurityGroupMembership { - s.Status = &v - return s -} - // Represents the progress of an online resharding operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/SlotMigration type SlotMigration struct { @@ -10658,12 +8228,6 @@ func (s SlotMigration) GoString() string { return s.String() } -// SetProgressPercentage sets the ProgressPercentage field's value. -func (s *SlotMigration) SetProgressPercentage(v float64) *SlotMigration { - s.ProgressPercentage = &v - return s -} - // Represents a copy of an entire Redis cluster as of the time when the snapshot // was taken. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/Snapshot @@ -10860,150 +8424,6 @@ func (s Snapshot) GoString() string { return s.String() } -// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. -func (s *Snapshot) SetAutoMinorVersionUpgrade(v bool) *Snapshot { - s.AutoMinorVersionUpgrade = &v - return s -} - -// SetAutomaticFailover sets the AutomaticFailover field's value. -func (s *Snapshot) SetAutomaticFailover(v AutomaticFailoverStatus) *Snapshot { - s.AutomaticFailover = v - return s -} - -// SetCacheClusterCreateTime sets the CacheClusterCreateTime field's value. -func (s *Snapshot) SetCacheClusterCreateTime(v time.Time) *Snapshot { - s.CacheClusterCreateTime = &v - return s -} - -// SetCacheClusterId sets the CacheClusterId field's value. -func (s *Snapshot) SetCacheClusterId(v string) *Snapshot { - s.CacheClusterId = &v - return s -} - -// SetCacheNodeType sets the CacheNodeType field's value. -func (s *Snapshot) SetCacheNodeType(v string) *Snapshot { - s.CacheNodeType = &v - return s -} - -// SetCacheParameterGroupName sets the CacheParameterGroupName field's value. -func (s *Snapshot) SetCacheParameterGroupName(v string) *Snapshot { - s.CacheParameterGroupName = &v - return s -} - -// SetCacheSubnetGroupName sets the CacheSubnetGroupName field's value. -func (s *Snapshot) SetCacheSubnetGroupName(v string) *Snapshot { - s.CacheSubnetGroupName = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *Snapshot) SetEngine(v string) *Snapshot { - s.Engine = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *Snapshot) SetEngineVersion(v string) *Snapshot { - s.EngineVersion = &v - return s -} - -// SetNodeSnapshots sets the NodeSnapshots field's value. -func (s *Snapshot) SetNodeSnapshots(v []NodeSnapshot) *Snapshot { - s.NodeSnapshots = v - return s -} - -// SetNumCacheNodes sets the NumCacheNodes field's value. -func (s *Snapshot) SetNumCacheNodes(v int64) *Snapshot { - s.NumCacheNodes = &v - return s -} - -// SetNumNodeGroups sets the NumNodeGroups field's value. -func (s *Snapshot) SetNumNodeGroups(v int64) *Snapshot { - s.NumNodeGroups = &v - return s -} - -// SetPort sets the Port field's value. -func (s *Snapshot) SetPort(v int64) *Snapshot { - s.Port = &v - return s -} - -// SetPreferredAvailabilityZone sets the PreferredAvailabilityZone field's value. -func (s *Snapshot) SetPreferredAvailabilityZone(v string) *Snapshot { - s.PreferredAvailabilityZone = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *Snapshot) SetPreferredMaintenanceWindow(v string) *Snapshot { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetReplicationGroupDescription sets the ReplicationGroupDescription field's value. -func (s *Snapshot) SetReplicationGroupDescription(v string) *Snapshot { - s.ReplicationGroupDescription = &v - return s -} - -// SetReplicationGroupId sets the ReplicationGroupId field's value. -func (s *Snapshot) SetReplicationGroupId(v string) *Snapshot { - s.ReplicationGroupId = &v - return s -} - -// SetSnapshotName sets the SnapshotName field's value. -func (s *Snapshot) SetSnapshotName(v string) *Snapshot { - s.SnapshotName = &v - return s -} - -// SetSnapshotRetentionLimit sets the SnapshotRetentionLimit field's value. -func (s *Snapshot) SetSnapshotRetentionLimit(v int64) *Snapshot { - s.SnapshotRetentionLimit = &v - return s -} - -// SetSnapshotSource sets the SnapshotSource field's value. -func (s *Snapshot) SetSnapshotSource(v string) *Snapshot { - s.SnapshotSource = &v - return s -} - -// SetSnapshotStatus sets the SnapshotStatus field's value. -func (s *Snapshot) SetSnapshotStatus(v string) *Snapshot { - s.SnapshotStatus = &v - return s -} - -// SetSnapshotWindow sets the SnapshotWindow field's value. -func (s *Snapshot) SetSnapshotWindow(v string) *Snapshot { - s.SnapshotWindow = &v - return s -} - -// SetTopicArn sets the TopicArn field's value. -func (s *Snapshot) SetTopicArn(v string) *Snapshot { - s.TopicArn = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *Snapshot) SetVpcId(v string) *Snapshot { - s.VpcId = &v - return s -} - // Represents the subnet associated with a cluster. This parameter refers to // subnets defined in Amazon Virtual Private Cloud (Amazon VPC) and used with // ElastiCache. @@ -11028,18 +8448,6 @@ func (s Subnet) GoString() string { return s.String() } -// SetSubnetAvailabilityZone sets the SubnetAvailabilityZone field's value. -func (s *Subnet) SetSubnetAvailabilityZone(v *AvailabilityZone) *Subnet { - s.SubnetAvailabilityZone = v - return s -} - -// SetSubnetIdentifier sets the SubnetIdentifier field's value. -func (s *Subnet) SetSubnetIdentifier(v string) *Subnet { - s.SubnetIdentifier = &v - return s -} - // A cost allocation Tag that can be added to an ElastiCache cluster or replication // group. Tags are composed of a Key/Value pair. A tag with a null Value is // permitted. @@ -11064,18 +8472,6 @@ func (s Tag) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestFailoverMessage type TestFailoverInput struct { _ struct{} `type:"structure"` @@ -11122,18 +8518,6 @@ func (s *TestFailoverInput) Validate() error { return nil } -// SetNodeGroupId sets the NodeGroupId field's value. -func (s *TestFailoverInput) SetNodeGroupId(v string) *TestFailoverInput { - s.NodeGroupId = &v - return s -} - -// SetReplicationGroupId sets the ReplicationGroupId field's value. -func (s *TestFailoverInput) SetReplicationGroupId(v string) *TestFailoverInput { - s.ReplicationGroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestFailoverResult type TestFailoverOutput struct { _ struct{} `type:"structure"` @@ -11159,12 +8543,6 @@ func (s TestFailoverOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReplicationGroup sets the ReplicationGroup field's value. -func (s *TestFailoverOutput) SetReplicationGroup(v *ReplicationGroup) *TestFailoverOutput { - s.ReplicationGroup = v - return s -} - type AZMode string // Enum values for AZMode diff --git a/service/elasticbeanstalk/api.go b/service/elasticbeanstalk/api.go index abfac41f2a6..80f2d487500 100644 --- a/service/elasticbeanstalk/api.go +++ b/service/elasticbeanstalk/api.go @@ -2383,18 +2383,6 @@ func (s *AbortEnvironmentUpdateInput) Validate() error { return nil } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *AbortEnvironmentUpdateInput) SetEnvironmentId(v string) *AbortEnvironmentUpdateInput { - s.EnvironmentId = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *AbortEnvironmentUpdateInput) SetEnvironmentName(v string) *AbortEnvironmentUpdateInput { - s.EnvironmentName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdateOutput type AbortEnvironmentUpdateOutput struct { _ struct{} `type:"structure"` @@ -2454,48 +2442,6 @@ func (s ApplicationDescription) GoString() string { return s.String() } -// SetApplicationName sets the ApplicationName field's value. -func (s *ApplicationDescription) SetApplicationName(v string) *ApplicationDescription { - s.ApplicationName = &v - return s -} - -// SetConfigurationTemplates sets the ConfigurationTemplates field's value. -func (s *ApplicationDescription) SetConfigurationTemplates(v []string) *ApplicationDescription { - s.ConfigurationTemplates = v - return s -} - -// SetDateCreated sets the DateCreated field's value. -func (s *ApplicationDescription) SetDateCreated(v time.Time) *ApplicationDescription { - s.DateCreated = &v - return s -} - -// SetDateUpdated sets the DateUpdated field's value. -func (s *ApplicationDescription) SetDateUpdated(v time.Time) *ApplicationDescription { - s.DateUpdated = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ApplicationDescription) SetDescription(v string) *ApplicationDescription { - s.Description = &v - return s -} - -// SetResourceLifecycleConfig sets the ResourceLifecycleConfig field's value. -func (s *ApplicationDescription) SetResourceLifecycleConfig(v *ApplicationResourceLifecycleConfig) *ApplicationDescription { - s.ResourceLifecycleConfig = v - return s -} - -// SetVersions sets the Versions field's value. -func (s *ApplicationDescription) SetVersions(v []string) *ApplicationDescription { - s.Versions = v - return s -} - // Application request metrics for an AWS Elastic Beanstalk environment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationMetrics type ApplicationMetrics struct { @@ -2529,30 +2475,6 @@ func (s ApplicationMetrics) GoString() string { return s.String() } -// SetDuration sets the Duration field's value. -func (s *ApplicationMetrics) SetDuration(v int64) *ApplicationMetrics { - s.Duration = &v - return s -} - -// SetLatency sets the Latency field's value. -func (s *ApplicationMetrics) SetLatency(v *Latency) *ApplicationMetrics { - s.Latency = v - return s -} - -// SetRequestCount sets the RequestCount field's value. -func (s *ApplicationMetrics) SetRequestCount(v int64) *ApplicationMetrics { - s.RequestCount = &v - return s -} - -// SetStatusCodes sets the StatusCodes field's value. -func (s *ApplicationMetrics) SetStatusCodes(v *StatusCodes) *ApplicationMetrics { - s.StatusCodes = v - return s -} - // The resource lifecycle configuration for an application. Defines lifecycle // settings for resources that belong to the application, and the service role // that Elastic Beanstalk assumes in order to apply lifecycle settings. The @@ -2594,18 +2516,6 @@ func (s *ApplicationResourceLifecycleConfig) Validate() error { return nil } -// SetServiceRole sets the ServiceRole field's value. -func (s *ApplicationResourceLifecycleConfig) SetServiceRole(v string) *ApplicationResourceLifecycleConfig { - s.ServiceRole = &v - return s -} - -// SetVersionLifecycleConfig sets the VersionLifecycleConfig field's value. -func (s *ApplicationResourceLifecycleConfig) SetVersionLifecycleConfig(v *ApplicationVersionLifecycleConfig) *ApplicationResourceLifecycleConfig { - s.VersionLifecycleConfig = v - return s -} - // Describes the properties of an application version. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationVersionDescription type ApplicationVersionDescription struct { @@ -2651,60 +2561,6 @@ func (s ApplicationVersionDescription) GoString() string { return s.String() } -// SetApplicationName sets the ApplicationName field's value. -func (s *ApplicationVersionDescription) SetApplicationName(v string) *ApplicationVersionDescription { - s.ApplicationName = &v - return s -} - -// SetBuildArn sets the BuildArn field's value. -func (s *ApplicationVersionDescription) SetBuildArn(v string) *ApplicationVersionDescription { - s.BuildArn = &v - return s -} - -// SetDateCreated sets the DateCreated field's value. -func (s *ApplicationVersionDescription) SetDateCreated(v time.Time) *ApplicationVersionDescription { - s.DateCreated = &v - return s -} - -// SetDateUpdated sets the DateUpdated field's value. -func (s *ApplicationVersionDescription) SetDateUpdated(v time.Time) *ApplicationVersionDescription { - s.DateUpdated = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ApplicationVersionDescription) SetDescription(v string) *ApplicationVersionDescription { - s.Description = &v - return s -} - -// SetSourceBuildInformation sets the SourceBuildInformation field's value. -func (s *ApplicationVersionDescription) SetSourceBuildInformation(v *SourceBuildInformation) *ApplicationVersionDescription { - s.SourceBuildInformation = v - return s -} - -// SetSourceBundle sets the SourceBundle field's value. -func (s *ApplicationVersionDescription) SetSourceBundle(v *S3Location) *ApplicationVersionDescription { - s.SourceBundle = v - return s -} - -// SetStatus sets the Status field's value. -func (s *ApplicationVersionDescription) SetStatus(v ApplicationVersionStatus) *ApplicationVersionDescription { - s.Status = v - return s -} - -// SetVersionLabel sets the VersionLabel field's value. -func (s *ApplicationVersionDescription) SetVersionLabel(v string) *ApplicationVersionDescription { - s.VersionLabel = &v - return s -} - // The application version lifecycle settings for an application. Defines the // rules that Elastic Beanstalk applies to an application's versions in order // to avoid hitting the per-region limit for application versions. @@ -2755,18 +2611,6 @@ func (s *ApplicationVersionLifecycleConfig) Validate() error { return nil } -// SetMaxAgeRule sets the MaxAgeRule field's value. -func (s *ApplicationVersionLifecycleConfig) SetMaxAgeRule(v *MaxAgeRule) *ApplicationVersionLifecycleConfig { - s.MaxAgeRule = v - return s -} - -// SetMaxCountRule sets the MaxCountRule field's value. -func (s *ApplicationVersionLifecycleConfig) SetMaxCountRule(v *MaxCountRule) *ApplicationVersionLifecycleConfig { - s.MaxCountRule = v - return s -} - // Request to execute a scheduled managed action immediately. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplyEnvironmentManagedActionRequest type ApplyEnvironmentManagedActionInput struct { @@ -2808,24 +2652,6 @@ func (s *ApplyEnvironmentManagedActionInput) Validate() error { return nil } -// SetActionId sets the ActionId field's value. -func (s *ApplyEnvironmentManagedActionInput) SetActionId(v string) *ApplyEnvironmentManagedActionInput { - s.ActionId = &v - return s -} - -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *ApplyEnvironmentManagedActionInput) SetEnvironmentId(v string) *ApplyEnvironmentManagedActionInput { - s.EnvironmentId = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *ApplyEnvironmentManagedActionInput) SetEnvironmentName(v string) *ApplyEnvironmentManagedActionInput { - s.EnvironmentName = &v - return s -} - // The result message containing information about the managed action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplyEnvironmentManagedActionResult type ApplyEnvironmentManagedActionOutput struct { @@ -2861,30 +2687,6 @@ func (s ApplyEnvironmentManagedActionOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetActionDescription sets the ActionDescription field's value. -func (s *ApplyEnvironmentManagedActionOutput) SetActionDescription(v string) *ApplyEnvironmentManagedActionOutput { - s.ActionDescription = &v - return s -} - -// SetActionId sets the ActionId field's value. -func (s *ApplyEnvironmentManagedActionOutput) SetActionId(v string) *ApplyEnvironmentManagedActionOutput { - s.ActionId = &v - return s -} - -// SetActionType sets the ActionType field's value. -func (s *ApplyEnvironmentManagedActionOutput) SetActionType(v ActionType) *ApplyEnvironmentManagedActionOutput { - s.ActionType = v - return s -} - -// SetStatus sets the Status field's value. -func (s *ApplyEnvironmentManagedActionOutput) SetStatus(v string) *ApplyEnvironmentManagedActionOutput { - s.Status = &v - return s -} - // Describes an Auto Scaling launch configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AutoScalingGroup type AutoScalingGroup struct { @@ -2904,12 +2706,6 @@ func (s AutoScalingGroup) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *AutoScalingGroup) SetName(v string) *AutoScalingGroup { - s.Name = &v - return s -} - // Settings for an AWS CodeBuild build. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/BuildConfiguration type BuildConfiguration struct { @@ -2976,36 +2772,6 @@ func (s *BuildConfiguration) Validate() error { return nil } -// SetArtifactName sets the ArtifactName field's value. -func (s *BuildConfiguration) SetArtifactName(v string) *BuildConfiguration { - s.ArtifactName = &v - return s -} - -// SetCodeBuildServiceRole sets the CodeBuildServiceRole field's value. -func (s *BuildConfiguration) SetCodeBuildServiceRole(v string) *BuildConfiguration { - s.CodeBuildServiceRole = &v - return s -} - -// SetComputeType sets the ComputeType field's value. -func (s *BuildConfiguration) SetComputeType(v ComputeType) *BuildConfiguration { - s.ComputeType = v - return s -} - -// SetImage sets the Image field's value. -func (s *BuildConfiguration) SetImage(v string) *BuildConfiguration { - s.Image = &v - return s -} - -// SetTimeoutInMinutes sets the TimeoutInMinutes field's value. -func (s *BuildConfiguration) SetTimeoutInMinutes(v int64) *BuildConfiguration { - s.TimeoutInMinutes = &v - return s -} - // The builder used to build the custom platform. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Builder type Builder struct { @@ -3025,12 +2791,6 @@ func (s Builder) GoString() string { return s.String() } -// SetARN sets the ARN field's value. -func (s *Builder) SetARN(v string) *Builder { - s.ARN = &v - return s -} - // CPU utilization metrics for an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CPUUtilization type CPUUtilization struct { @@ -3075,48 +2835,6 @@ func (s CPUUtilization) GoString() string { return s.String() } -// SetIOWait sets the IOWait field's value. -func (s *CPUUtilization) SetIOWait(v float64) *CPUUtilization { - s.IOWait = &v - return s -} - -// SetIRQ sets the IRQ field's value. -func (s *CPUUtilization) SetIRQ(v float64) *CPUUtilization { - s.IRQ = &v - return s -} - -// SetIdle sets the Idle field's value. -func (s *CPUUtilization) SetIdle(v float64) *CPUUtilization { - s.Idle = &v - return s -} - -// SetNice sets the Nice field's value. -func (s *CPUUtilization) SetNice(v float64) *CPUUtilization { - s.Nice = &v - return s -} - -// SetSoftIRQ sets the SoftIRQ field's value. -func (s *CPUUtilization) SetSoftIRQ(v float64) *CPUUtilization { - s.SoftIRQ = &v - return s -} - -// SetSystem sets the System field's value. -func (s *CPUUtilization) SetSystem(v float64) *CPUUtilization { - s.System = &v - return s -} - -// SetUser sets the User field's value. -func (s *CPUUtilization) SetUser(v float64) *CPUUtilization { - s.User = &v - return s -} - // Results message indicating whether a CNAME is available. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CheckDNSAvailabilityMessage type CheckDNSAvailabilityInput struct { @@ -3155,12 +2873,6 @@ func (s *CheckDNSAvailabilityInput) Validate() error { return nil } -// SetCNAMEPrefix sets the CNAMEPrefix field's value. -func (s *CheckDNSAvailabilityInput) SetCNAMEPrefix(v string) *CheckDNSAvailabilityInput { - s.CNAMEPrefix = &v - return s -} - // Indicates if the specified CNAME is available. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CheckDNSAvailabilityResultMessage type CheckDNSAvailabilityOutput struct { @@ -3195,18 +2907,6 @@ func (s CheckDNSAvailabilityOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAvailable sets the Available field's value. -func (s *CheckDNSAvailabilityOutput) SetAvailable(v bool) *CheckDNSAvailabilityOutput { - s.Available = &v - return s -} - -// SetFullyQualifiedCNAME sets the FullyQualifiedCNAME field's value. -func (s *CheckDNSAvailabilityOutput) SetFullyQualifiedCNAME(v string) *CheckDNSAvailabilityOutput { - s.FullyQualifiedCNAME = &v - return s -} - // Request to create or update a group of environments. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ComposeEnvironmentsMessage type ComposeEnvironmentsInput struct { @@ -3256,24 +2956,6 @@ func (s *ComposeEnvironmentsInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *ComposeEnvironmentsInput) SetApplicationName(v string) *ComposeEnvironmentsInput { - s.ApplicationName = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *ComposeEnvironmentsInput) SetGroupName(v string) *ComposeEnvironmentsInput { - s.GroupName = &v - return s -} - -// SetVersionLabels sets the VersionLabels field's value. -func (s *ComposeEnvironmentsInput) SetVersionLabels(v []string) *ComposeEnvironmentsInput { - s.VersionLabels = v - return s -} - // Describes the possible values for a configuration option. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationOptionDescription type ConfigurationOptionDescription struct { @@ -3362,72 +3044,6 @@ func (s ConfigurationOptionDescription) GoString() string { return s.String() } -// SetChangeSeverity sets the ChangeSeverity field's value. -func (s *ConfigurationOptionDescription) SetChangeSeverity(v string) *ConfigurationOptionDescription { - s.ChangeSeverity = &v - return s -} - -// SetDefaultValue sets the DefaultValue field's value. -func (s *ConfigurationOptionDescription) SetDefaultValue(v string) *ConfigurationOptionDescription { - s.DefaultValue = &v - return s -} - -// SetMaxLength sets the MaxLength field's value. -func (s *ConfigurationOptionDescription) SetMaxLength(v int64) *ConfigurationOptionDescription { - s.MaxLength = &v - return s -} - -// SetMaxValue sets the MaxValue field's value. -func (s *ConfigurationOptionDescription) SetMaxValue(v int64) *ConfigurationOptionDescription { - s.MaxValue = &v - return s -} - -// SetMinValue sets the MinValue field's value. -func (s *ConfigurationOptionDescription) SetMinValue(v int64) *ConfigurationOptionDescription { - s.MinValue = &v - return s -} - -// SetName sets the Name field's value. -func (s *ConfigurationOptionDescription) SetName(v string) *ConfigurationOptionDescription { - s.Name = &v - return s -} - -// SetNamespace sets the Namespace field's value. -func (s *ConfigurationOptionDescription) SetNamespace(v string) *ConfigurationOptionDescription { - s.Namespace = &v - return s -} - -// SetRegex sets the Regex field's value. -func (s *ConfigurationOptionDescription) SetRegex(v *OptionRestrictionRegex) *ConfigurationOptionDescription { - s.Regex = v - return s -} - -// SetUserDefined sets the UserDefined field's value. -func (s *ConfigurationOptionDescription) SetUserDefined(v bool) *ConfigurationOptionDescription { - s.UserDefined = &v - return s -} - -// SetValueOptions sets the ValueOptions field's value. -func (s *ConfigurationOptionDescription) SetValueOptions(v []string) *ConfigurationOptionDescription { - s.ValueOptions = v - return s -} - -// SetValueType sets the ValueType field's value. -func (s *ConfigurationOptionDescription) SetValueType(v ConfigurationOptionValueType) *ConfigurationOptionDescription { - s.ValueType = v - return s -} - // A specification identifying an individual configuration option along with // its current value. For a list of possible option values, go to Option Values // (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html) @@ -3472,30 +3088,6 @@ func (s *ConfigurationOptionSetting) Validate() error { return nil } -// SetNamespace sets the Namespace field's value. -func (s *ConfigurationOptionSetting) SetNamespace(v string) *ConfigurationOptionSetting { - s.Namespace = &v - return s -} - -// SetOptionName sets the OptionName field's value. -func (s *ConfigurationOptionSetting) SetOptionName(v string) *ConfigurationOptionSetting { - s.OptionName = &v - return s -} - -// SetResourceName sets the ResourceName field's value. -func (s *ConfigurationOptionSetting) SetResourceName(v string) *ConfigurationOptionSetting { - s.ResourceName = &v - return s -} - -// SetValue sets the Value field's value. -func (s *ConfigurationOptionSetting) SetValue(v string) *ConfigurationOptionSetting { - s.Value = &v - return s -} - // Request to create an application. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplicationMessage type CreateApplicationInput struct { @@ -3549,24 +3141,6 @@ func (s *CreateApplicationInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *CreateApplicationInput) SetApplicationName(v string) *CreateApplicationInput { - s.ApplicationName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateApplicationInput) SetDescription(v string) *CreateApplicationInput { - s.Description = &v - return s -} - -// SetResourceLifecycleConfig sets the ResourceLifecycleConfig field's value. -func (s *CreateApplicationInput) SetResourceLifecycleConfig(v *ApplicationResourceLifecycleConfig) *CreateApplicationInput { - s.ResourceLifecycleConfig = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplicationVersionMessage type CreateApplicationVersionInput struct { _ struct{} `type:"structure"` @@ -3665,54 +3239,6 @@ func (s *CreateApplicationVersionInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *CreateApplicationVersionInput) SetApplicationName(v string) *CreateApplicationVersionInput { - s.ApplicationName = &v - return s -} - -// SetAutoCreateApplication sets the AutoCreateApplication field's value. -func (s *CreateApplicationVersionInput) SetAutoCreateApplication(v bool) *CreateApplicationVersionInput { - s.AutoCreateApplication = &v - return s -} - -// SetBuildConfiguration sets the BuildConfiguration field's value. -func (s *CreateApplicationVersionInput) SetBuildConfiguration(v *BuildConfiguration) *CreateApplicationVersionInput { - s.BuildConfiguration = v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateApplicationVersionInput) SetDescription(v string) *CreateApplicationVersionInput { - s.Description = &v - return s -} - -// SetProcess sets the Process field's value. -func (s *CreateApplicationVersionInput) SetProcess(v bool) *CreateApplicationVersionInput { - s.Process = &v - return s -} - -// SetSourceBuildInformation sets the SourceBuildInformation field's value. -func (s *CreateApplicationVersionInput) SetSourceBuildInformation(v *SourceBuildInformation) *CreateApplicationVersionInput { - s.SourceBuildInformation = v - return s -} - -// SetSourceBundle sets the SourceBundle field's value. -func (s *CreateApplicationVersionInput) SetSourceBundle(v *S3Location) *CreateApplicationVersionInput { - s.SourceBundle = v - return s -} - -// SetVersionLabel sets the VersionLabel field's value. -func (s *CreateApplicationVersionInput) SetVersionLabel(v string) *CreateApplicationVersionInput { - s.VersionLabel = &v - return s -} - // Request to create a configuration template. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateConfigurationTemplateMessage type CreateConfigurationTemplateInput struct { @@ -3825,54 +3351,6 @@ func (s *CreateConfigurationTemplateInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *CreateConfigurationTemplateInput) SetApplicationName(v string) *CreateConfigurationTemplateInput { - s.ApplicationName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateConfigurationTemplateInput) SetDescription(v string) *CreateConfigurationTemplateInput { - s.Description = &v - return s -} - -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *CreateConfigurationTemplateInput) SetEnvironmentId(v string) *CreateConfigurationTemplateInput { - s.EnvironmentId = &v - return s -} - -// SetOptionSettings sets the OptionSettings field's value. -func (s *CreateConfigurationTemplateInput) SetOptionSettings(v []ConfigurationOptionSetting) *CreateConfigurationTemplateInput { - s.OptionSettings = v - return s -} - -// SetPlatformArn sets the PlatformArn field's value. -func (s *CreateConfigurationTemplateInput) SetPlatformArn(v string) *CreateConfigurationTemplateInput { - s.PlatformArn = &v - return s -} - -// SetSolutionStackName sets the SolutionStackName field's value. -func (s *CreateConfigurationTemplateInput) SetSolutionStackName(v string) *CreateConfigurationTemplateInput { - s.SolutionStackName = &v - return s -} - -// SetSourceConfiguration sets the SourceConfiguration field's value. -func (s *CreateConfigurationTemplateInput) SetSourceConfiguration(v *SourceConfiguration) *CreateConfigurationTemplateInput { - s.SourceConfiguration = v - return s -} - -// SetTemplateName sets the TemplateName field's value. -func (s *CreateConfigurationTemplateInput) SetTemplateName(v string) *CreateConfigurationTemplateInput { - s.TemplateName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateEnvironmentMessage type CreateEnvironmentInput struct { _ struct{} `type:"structure"` @@ -4014,84 +3492,6 @@ func (s *CreateEnvironmentInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *CreateEnvironmentInput) SetApplicationName(v string) *CreateEnvironmentInput { - s.ApplicationName = &v - return s -} - -// SetCNAMEPrefix sets the CNAMEPrefix field's value. -func (s *CreateEnvironmentInput) SetCNAMEPrefix(v string) *CreateEnvironmentInput { - s.CNAMEPrefix = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateEnvironmentInput) SetDescription(v string) *CreateEnvironmentInput { - s.Description = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *CreateEnvironmentInput) SetEnvironmentName(v string) *CreateEnvironmentInput { - s.EnvironmentName = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *CreateEnvironmentInput) SetGroupName(v string) *CreateEnvironmentInput { - s.GroupName = &v - return s -} - -// SetOptionSettings sets the OptionSettings field's value. -func (s *CreateEnvironmentInput) SetOptionSettings(v []ConfigurationOptionSetting) *CreateEnvironmentInput { - s.OptionSettings = v - return s -} - -// SetOptionsToRemove sets the OptionsToRemove field's value. -func (s *CreateEnvironmentInput) SetOptionsToRemove(v []OptionSpecification) *CreateEnvironmentInput { - s.OptionsToRemove = v - return s -} - -// SetPlatformArn sets the PlatformArn field's value. -func (s *CreateEnvironmentInput) SetPlatformArn(v string) *CreateEnvironmentInput { - s.PlatformArn = &v - return s -} - -// SetSolutionStackName sets the SolutionStackName field's value. -func (s *CreateEnvironmentInput) SetSolutionStackName(v string) *CreateEnvironmentInput { - s.SolutionStackName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateEnvironmentInput) SetTags(v []Tag) *CreateEnvironmentInput { - s.Tags = v - return s -} - -// SetTemplateName sets the TemplateName field's value. -func (s *CreateEnvironmentInput) SetTemplateName(v string) *CreateEnvironmentInput { - s.TemplateName = &v - return s -} - -// SetTier sets the Tier field's value. -func (s *CreateEnvironmentInput) SetTier(v *EnvironmentTier) *CreateEnvironmentInput { - s.Tier = v - return s -} - -// SetVersionLabel sets the VersionLabel field's value. -func (s *CreateEnvironmentInput) SetVersionLabel(v string) *CreateEnvironmentInput { - s.VersionLabel = &v - return s -} - // Request to create a new platform version. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreatePlatformVersionRequest type CreatePlatformVersionInput struct { @@ -4161,36 +3561,6 @@ func (s *CreatePlatformVersionInput) Validate() error { return nil } -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *CreatePlatformVersionInput) SetEnvironmentName(v string) *CreatePlatformVersionInput { - s.EnvironmentName = &v - return s -} - -// SetOptionSettings sets the OptionSettings field's value. -func (s *CreatePlatformVersionInput) SetOptionSettings(v []ConfigurationOptionSetting) *CreatePlatformVersionInput { - s.OptionSettings = v - return s -} - -// SetPlatformDefinitionBundle sets the PlatformDefinitionBundle field's value. -func (s *CreatePlatformVersionInput) SetPlatformDefinitionBundle(v *S3Location) *CreatePlatformVersionInput { - s.PlatformDefinitionBundle = v - return s -} - -// SetPlatformName sets the PlatformName field's value. -func (s *CreatePlatformVersionInput) SetPlatformName(v string) *CreatePlatformVersionInput { - s.PlatformName = &v - return s -} - -// SetPlatformVersion sets the PlatformVersion field's value. -func (s *CreatePlatformVersionInput) SetPlatformVersion(v string) *CreatePlatformVersionInput { - s.PlatformVersion = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreatePlatformVersionResult type CreatePlatformVersionOutput struct { _ struct{} `type:"structure"` @@ -4219,18 +3589,6 @@ func (s CreatePlatformVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBuilder sets the Builder field's value. -func (s *CreatePlatformVersionOutput) SetBuilder(v *Builder) *CreatePlatformVersionOutput { - s.Builder = v - return s -} - -// SetPlatformSummary sets the PlatformSummary field's value. -func (s *CreatePlatformVersionOutput) SetPlatformSummary(v *PlatformSummary) *CreatePlatformVersionOutput { - s.PlatformSummary = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateStorageLocationInput type CreateStorageLocationInput struct { _ struct{} `type:"structure"` @@ -4272,12 +3630,6 @@ func (s CreateStorageLocationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetS3Bucket sets the S3Bucket field's value. -func (s *CreateStorageLocationOutput) SetS3Bucket(v string) *CreateStorageLocationOutput { - s.S3Bucket = &v - return s -} - // A custom AMI available to platforms. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CustomAmi type CustomAmi struct { @@ -4300,18 +3652,6 @@ func (s CustomAmi) GoString() string { return s.String() } -// SetImageId sets the ImageId field's value. -func (s *CustomAmi) SetImageId(v string) *CustomAmi { - s.ImageId = &v - return s -} - -// SetVirtualizationType sets the VirtualizationType field's value. -func (s *CustomAmi) SetVirtualizationType(v string) *CustomAmi { - s.VirtualizationType = &v - return s -} - // Request to delete an application. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationMessage type DeleteApplicationInput struct { @@ -4354,18 +3694,6 @@ func (s *DeleteApplicationInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *DeleteApplicationInput) SetApplicationName(v string) *DeleteApplicationInput { - s.ApplicationName = &v - return s -} - -// SetTerminateEnvByForce sets the TerminateEnvByForce field's value. -func (s *DeleteApplicationInput) SetTerminateEnvByForce(v bool) *DeleteApplicationInput { - s.TerminateEnvByForce = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationOutput type DeleteApplicationOutput struct { _ struct{} `type:"structure"` @@ -4443,24 +3771,6 @@ func (s *DeleteApplicationVersionInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *DeleteApplicationVersionInput) SetApplicationName(v string) *DeleteApplicationVersionInput { - s.ApplicationName = &v - return s -} - -// SetDeleteSourceBundle sets the DeleteSourceBundle field's value. -func (s *DeleteApplicationVersionInput) SetDeleteSourceBundle(v bool) *DeleteApplicationVersionInput { - s.DeleteSourceBundle = &v - return s -} - -// SetVersionLabel sets the VersionLabel field's value. -func (s *DeleteApplicationVersionInput) SetVersionLabel(v string) *DeleteApplicationVersionInput { - s.VersionLabel = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationVersionOutput type DeleteApplicationVersionOutput struct { _ struct{} `type:"structure"` @@ -4533,18 +3843,6 @@ func (s *DeleteConfigurationTemplateInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *DeleteConfigurationTemplateInput) SetApplicationName(v string) *DeleteConfigurationTemplateInput { - s.ApplicationName = &v - return s -} - -// SetTemplateName sets the TemplateName field's value. -func (s *DeleteConfigurationTemplateInput) SetTemplateName(v string) *DeleteConfigurationTemplateInput { - s.TemplateName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteConfigurationTemplateOutput type DeleteConfigurationTemplateOutput struct { _ struct{} `type:"structure"` @@ -4617,18 +3915,6 @@ func (s *DeleteEnvironmentConfigurationInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *DeleteEnvironmentConfigurationInput) SetApplicationName(v string) *DeleteEnvironmentConfigurationInput { - s.ApplicationName = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *DeleteEnvironmentConfigurationInput) SetEnvironmentName(v string) *DeleteEnvironmentConfigurationInput { - s.EnvironmentName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteEnvironmentConfigurationOutput type DeleteEnvironmentConfigurationOutput struct { _ struct{} `type:"structure"` @@ -4669,12 +3955,6 @@ func (s DeletePlatformVersionInput) GoString() string { return s.String() } -// SetPlatformArn sets the PlatformArn field's value. -func (s *DeletePlatformVersionInput) SetPlatformArn(v string) *DeletePlatformVersionInput { - s.PlatformArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeletePlatformVersionResult type DeletePlatformVersionOutput struct { _ struct{} `type:"structure"` @@ -4700,12 +3980,6 @@ func (s DeletePlatformVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPlatformSummary sets the PlatformSummary field's value. -func (s *DeletePlatformVersionOutput) SetPlatformSummary(v *PlatformSummary) *DeletePlatformVersionOutput { - s.PlatformSummary = v - return s -} - // Information about an application version deployment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Deployment type Deployment struct { @@ -4743,30 +4017,6 @@ func (s Deployment) GoString() string { return s.String() } -// SetDeploymentId sets the DeploymentId field's value. -func (s *Deployment) SetDeploymentId(v int64) *Deployment { - s.DeploymentId = &v - return s -} - -// SetDeploymentTime sets the DeploymentTime field's value. -func (s *Deployment) SetDeploymentTime(v time.Time) *Deployment { - s.DeploymentTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Deployment) SetStatus(v string) *Deployment { - s.Status = &v - return s -} - -// SetVersionLabel sets the VersionLabel field's value. -func (s *Deployment) SetVersionLabel(v string) *Deployment { - s.VersionLabel = &v - return s -} - // Request to describe application versions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplicationVersionsMessage type DescribeApplicationVersionsInput struct { @@ -4819,34 +4069,10 @@ func (s *DescribeApplicationVersionsInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *DescribeApplicationVersionsInput) SetApplicationName(v string) *DescribeApplicationVersionsInput { - s.ApplicationName = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeApplicationVersionsInput) SetMaxRecords(v int64) *DescribeApplicationVersionsInput { - s.MaxRecords = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeApplicationVersionsInput) SetNextToken(v string) *DescribeApplicationVersionsInput { - s.NextToken = &v - return s -} - -// SetVersionLabels sets the VersionLabels field's value. -func (s *DescribeApplicationVersionsInput) SetVersionLabels(v []string) *DescribeApplicationVersionsInput { - s.VersionLabels = v - return s -} - -// Result message wrapping a list of application version descriptions. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationVersionDescriptionsMessage -type DescribeApplicationVersionsOutput struct { - _ struct{} `type:"structure"` +// Result message wrapping a list of application version descriptions. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationVersionDescriptionsMessage +type DescribeApplicationVersionsOutput struct { + _ struct{} `type:"structure"` responseMetadata aws.Response @@ -4873,18 +4099,6 @@ func (s DescribeApplicationVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationVersions sets the ApplicationVersions field's value. -func (s *DescribeApplicationVersionsOutput) SetApplicationVersions(v []ApplicationVersionDescription) *DescribeApplicationVersionsOutput { - s.ApplicationVersions = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeApplicationVersionsOutput) SetNextToken(v string) *DescribeApplicationVersionsOutput { - s.NextToken = &v - return s -} - // Request to describe one or more applications. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplicationsMessage type DescribeApplicationsInput struct { @@ -4905,12 +4119,6 @@ func (s DescribeApplicationsInput) GoString() string { return s.String() } -// SetApplicationNames sets the ApplicationNames field's value. -func (s *DescribeApplicationsInput) SetApplicationNames(v []string) *DescribeApplicationsInput { - s.ApplicationNames = v - return s -} - // Result message containing a list of application descriptions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationDescriptionsMessage type DescribeApplicationsOutput struct { @@ -4937,12 +4145,6 @@ func (s DescribeApplicationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplications sets the Applications field's value. -func (s *DescribeApplicationsOutput) SetApplications(v []ApplicationDescription) *DescribeApplicationsOutput { - s.Applications = v - return s -} - // Result message containing a list of application version descriptions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationOptionsMessage type DescribeConfigurationOptionsInput struct { @@ -5006,42 +4208,6 @@ func (s *DescribeConfigurationOptionsInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *DescribeConfigurationOptionsInput) SetApplicationName(v string) *DescribeConfigurationOptionsInput { - s.ApplicationName = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *DescribeConfigurationOptionsInput) SetEnvironmentName(v string) *DescribeConfigurationOptionsInput { - s.EnvironmentName = &v - return s -} - -// SetOptions sets the Options field's value. -func (s *DescribeConfigurationOptionsInput) SetOptions(v []OptionSpecification) *DescribeConfigurationOptionsInput { - s.Options = v - return s -} - -// SetPlatformArn sets the PlatformArn field's value. -func (s *DescribeConfigurationOptionsInput) SetPlatformArn(v string) *DescribeConfigurationOptionsInput { - s.PlatformArn = &v - return s -} - -// SetSolutionStackName sets the SolutionStackName field's value. -func (s *DescribeConfigurationOptionsInput) SetSolutionStackName(v string) *DescribeConfigurationOptionsInput { - s.SolutionStackName = &v - return s -} - -// SetTemplateName sets the TemplateName field's value. -func (s *DescribeConfigurationOptionsInput) SetTemplateName(v string) *DescribeConfigurationOptionsInput { - s.TemplateName = &v - return s -} - // Describes the settings for a specified configuration set. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationOptionsDescription type DescribeConfigurationOptionsOutput struct { @@ -5074,24 +4240,6 @@ func (s DescribeConfigurationOptionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOptions sets the Options field's value. -func (s *DescribeConfigurationOptionsOutput) SetOptions(v []ConfigurationOptionDescription) *DescribeConfigurationOptionsOutput { - s.Options = v - return s -} - -// SetPlatformArn sets the PlatformArn field's value. -func (s *DescribeConfigurationOptionsOutput) SetPlatformArn(v string) *DescribeConfigurationOptionsOutput { - s.PlatformArn = &v - return s -} - -// SetSolutionStackName sets the SolutionStackName field's value. -func (s *DescribeConfigurationOptionsOutput) SetSolutionStackName(v string) *DescribeConfigurationOptionsOutput { - s.SolutionStackName = &v - return s -} - // Result message containing all of the configuration settings for a specified // solution stack or configuration template. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationSettingsMessage @@ -5153,24 +4301,6 @@ func (s *DescribeConfigurationSettingsInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *DescribeConfigurationSettingsInput) SetApplicationName(v string) *DescribeConfigurationSettingsInput { - s.ApplicationName = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *DescribeConfigurationSettingsInput) SetEnvironmentName(v string) *DescribeConfigurationSettingsInput { - s.EnvironmentName = &v - return s -} - -// SetTemplateName sets the TemplateName field's value. -func (s *DescribeConfigurationSettingsInput) SetTemplateName(v string) *DescribeConfigurationSettingsInput { - s.TemplateName = &v - return s -} - // The results from a request to change the configuration settings of an environment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationSettingsDescriptions type DescribeConfigurationSettingsOutput struct { @@ -5197,12 +4327,6 @@ func (s DescribeConfigurationSettingsOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetConfigurationSettings sets the ConfigurationSettings field's value. -func (s *DescribeConfigurationSettingsOutput) SetConfigurationSettings(v []UpdateConfigurationTemplateOutput) *DescribeConfigurationSettingsOutput { - s.ConfigurationSettings = v - return s -} - // See the example below to learn how to create a request body. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentHealthRequest type DescribeEnvironmentHealthInput struct { @@ -5246,24 +4370,6 @@ func (s *DescribeEnvironmentHealthInput) Validate() error { return nil } -// SetAttributeNames sets the AttributeNames field's value. -func (s *DescribeEnvironmentHealthInput) SetAttributeNames(v []EnvironmentHealthAttribute) *DescribeEnvironmentHealthInput { - s.AttributeNames = v - return s -} - -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *DescribeEnvironmentHealthInput) SetEnvironmentId(v string) *DescribeEnvironmentHealthInput { - s.EnvironmentId = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *DescribeEnvironmentHealthInput) SetEnvironmentName(v string) *DescribeEnvironmentHealthInput { - s.EnvironmentName = &v - return s -} - // Health details for an AWS Elastic Beanstalk environment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentHealthResult type DescribeEnvironmentHealthOutput struct { @@ -5315,54 +4421,6 @@ func (s DescribeEnvironmentHealthOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationMetrics sets the ApplicationMetrics field's value. -func (s *DescribeEnvironmentHealthOutput) SetApplicationMetrics(v *ApplicationMetrics) *DescribeEnvironmentHealthOutput { - s.ApplicationMetrics = v - return s -} - -// SetCauses sets the Causes field's value. -func (s *DescribeEnvironmentHealthOutput) SetCauses(v []string) *DescribeEnvironmentHealthOutput { - s.Causes = v - return s -} - -// SetColor sets the Color field's value. -func (s *DescribeEnvironmentHealthOutput) SetColor(v string) *DescribeEnvironmentHealthOutput { - s.Color = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *DescribeEnvironmentHealthOutput) SetEnvironmentName(v string) *DescribeEnvironmentHealthOutput { - s.EnvironmentName = &v - return s -} - -// SetHealthStatus sets the HealthStatus field's value. -func (s *DescribeEnvironmentHealthOutput) SetHealthStatus(v string) *DescribeEnvironmentHealthOutput { - s.HealthStatus = &v - return s -} - -// SetInstancesHealth sets the InstancesHealth field's value. -func (s *DescribeEnvironmentHealthOutput) SetInstancesHealth(v *InstanceHealthSummary) *DescribeEnvironmentHealthOutput { - s.InstancesHealth = v - return s -} - -// SetRefreshedAt sets the RefreshedAt field's value. -func (s *DescribeEnvironmentHealthOutput) SetRefreshedAt(v time.Time) *DescribeEnvironmentHealthOutput { - s.RefreshedAt = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DescribeEnvironmentHealthOutput) SetStatus(v EnvironmentHealth) *DescribeEnvironmentHealthOutput { - s.Status = v - return s -} - // Request to list completed and failed managed actions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionHistoryRequest type DescribeEnvironmentManagedActionHistoryInput struct { @@ -5404,30 +4462,6 @@ func (s *DescribeEnvironmentManagedActionHistoryInput) Validate() error { return nil } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *DescribeEnvironmentManagedActionHistoryInput) SetEnvironmentId(v string) *DescribeEnvironmentManagedActionHistoryInput { - s.EnvironmentId = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *DescribeEnvironmentManagedActionHistoryInput) SetEnvironmentName(v string) *DescribeEnvironmentManagedActionHistoryInput { - s.EnvironmentName = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *DescribeEnvironmentManagedActionHistoryInput) SetMaxItems(v int64) *DescribeEnvironmentManagedActionHistoryInput { - s.MaxItems = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEnvironmentManagedActionHistoryInput) SetNextToken(v string) *DescribeEnvironmentManagedActionHistoryInput { - s.NextToken = &v - return s -} - // A result message containing a list of completed and failed managed actions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionHistoryResult type DescribeEnvironmentManagedActionHistoryOutput struct { @@ -5458,18 +4492,6 @@ func (s DescribeEnvironmentManagedActionHistoryOutput) SDKResponseMetadata() aws return s.responseMetadata } -// SetManagedActionHistoryItems sets the ManagedActionHistoryItems field's value. -func (s *DescribeEnvironmentManagedActionHistoryOutput) SetManagedActionHistoryItems(v []ManagedActionHistoryItem) *DescribeEnvironmentManagedActionHistoryOutput { - s.ManagedActionHistoryItems = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEnvironmentManagedActionHistoryOutput) SetNextToken(v string) *DescribeEnvironmentManagedActionHistoryOutput { - s.NextToken = &v - return s -} - // Request to list an environment's upcoming and in-progress managed actions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionsRequest type DescribeEnvironmentManagedActionsInput struct { @@ -5495,24 +4517,6 @@ func (s DescribeEnvironmentManagedActionsInput) GoString() string { return s.String() } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *DescribeEnvironmentManagedActionsInput) SetEnvironmentId(v string) *DescribeEnvironmentManagedActionsInput { - s.EnvironmentId = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *DescribeEnvironmentManagedActionsInput) SetEnvironmentName(v string) *DescribeEnvironmentManagedActionsInput { - s.EnvironmentName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DescribeEnvironmentManagedActionsInput) SetStatus(v ActionStatus) *DescribeEnvironmentManagedActionsInput { - s.Status = v - return s -} - // The result message containing a list of managed actions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionsResult type DescribeEnvironmentManagedActionsOutput struct { @@ -5539,12 +4543,6 @@ func (s DescribeEnvironmentManagedActionsOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetManagedActions sets the ManagedActions field's value. -func (s *DescribeEnvironmentManagedActionsOutput) SetManagedActions(v []ManagedAction) *DescribeEnvironmentManagedActionsOutput { - s.ManagedActions = v - return s -} - // Request to describe the resources in an environment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentResourcesMessage type DescribeEnvironmentResourcesInput struct { @@ -5588,18 +4586,6 @@ func (s *DescribeEnvironmentResourcesInput) Validate() error { return nil } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *DescribeEnvironmentResourcesInput) SetEnvironmentId(v string) *DescribeEnvironmentResourcesInput { - s.EnvironmentId = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *DescribeEnvironmentResourcesInput) SetEnvironmentName(v string) *DescribeEnvironmentResourcesInput { - s.EnvironmentName = &v - return s -} - // Result message containing a list of environment resource descriptions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentResourceDescriptionsMessage type DescribeEnvironmentResourcesOutput struct { @@ -5626,12 +4612,6 @@ func (s DescribeEnvironmentResourcesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEnvironmentResources sets the EnvironmentResources field's value. -func (s *DescribeEnvironmentResourcesOutput) SetEnvironmentResources(v *EnvironmentResourceDescription) *DescribeEnvironmentResourcesOutput { - s.EnvironmentResources = v - return s -} - // Request to describe one or more environments. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentsMessage type DescribeEnvironmentsInput struct { @@ -5709,54 +4689,6 @@ func (s *DescribeEnvironmentsInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *DescribeEnvironmentsInput) SetApplicationName(v string) *DescribeEnvironmentsInput { - s.ApplicationName = &v - return s -} - -// SetEnvironmentIds sets the EnvironmentIds field's value. -func (s *DescribeEnvironmentsInput) SetEnvironmentIds(v []string) *DescribeEnvironmentsInput { - s.EnvironmentIds = v - return s -} - -// SetEnvironmentNames sets the EnvironmentNames field's value. -func (s *DescribeEnvironmentsInput) SetEnvironmentNames(v []string) *DescribeEnvironmentsInput { - s.EnvironmentNames = v - return s -} - -// SetIncludeDeleted sets the IncludeDeleted field's value. -func (s *DescribeEnvironmentsInput) SetIncludeDeleted(v bool) *DescribeEnvironmentsInput { - s.IncludeDeleted = &v - return s -} - -// SetIncludedDeletedBackTo sets the IncludedDeletedBackTo field's value. -func (s *DescribeEnvironmentsInput) SetIncludedDeletedBackTo(v time.Time) *DescribeEnvironmentsInput { - s.IncludedDeletedBackTo = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeEnvironmentsInput) SetMaxRecords(v int64) *DescribeEnvironmentsInput { - s.MaxRecords = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEnvironmentsInput) SetNextToken(v string) *DescribeEnvironmentsInput { - s.NextToken = &v - return s -} - -// SetVersionLabel sets the VersionLabel field's value. -func (s *DescribeEnvironmentsInput) SetVersionLabel(v string) *DescribeEnvironmentsInput { - s.VersionLabel = &v - return s -} - // Result message containing a list of environment descriptions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ComposeEnvironmentsOutput type DescribeEnvironmentsOutput struct { @@ -5787,18 +4719,6 @@ func (s DescribeEnvironmentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEnvironments sets the Environments field's value. -func (s *DescribeEnvironmentsOutput) SetEnvironments(v []UpdateEnvironmentOutput) *DescribeEnvironmentsOutput { - s.Environments = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEnvironmentsOutput) SetNextToken(v string) *DescribeEnvironmentsOutput { - s.NextToken = &v - return s -} - // Request to retrieve a list of events for an environment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEventsMessage type DescribeEventsInput struct { @@ -5886,78 +4806,6 @@ func (s *DescribeEventsInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *DescribeEventsInput) SetApplicationName(v string) *DescribeEventsInput { - s.ApplicationName = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *DescribeEventsInput) SetEndTime(v time.Time) *DescribeEventsInput { - s.EndTime = &v - return s -} - -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *DescribeEventsInput) SetEnvironmentId(v string) *DescribeEventsInput { - s.EnvironmentId = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *DescribeEventsInput) SetEnvironmentName(v string) *DescribeEventsInput { - s.EnvironmentName = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeEventsInput) SetMaxRecords(v int64) *DescribeEventsInput { - s.MaxRecords = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEventsInput) SetNextToken(v string) *DescribeEventsInput { - s.NextToken = &v - return s -} - -// SetPlatformArn sets the PlatformArn field's value. -func (s *DescribeEventsInput) SetPlatformArn(v string) *DescribeEventsInput { - s.PlatformArn = &v - return s -} - -// SetRequestId sets the RequestId field's value. -func (s *DescribeEventsInput) SetRequestId(v string) *DescribeEventsInput { - s.RequestId = &v - return s -} - -// SetSeverity sets the Severity field's value. -func (s *DescribeEventsInput) SetSeverity(v EventSeverity) *DescribeEventsInput { - s.Severity = v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput { - s.StartTime = &v - return s -} - -// SetTemplateName sets the TemplateName field's value. -func (s *DescribeEventsInput) SetTemplateName(v string) *DescribeEventsInput { - s.TemplateName = &v - return s -} - -// SetVersionLabel sets the VersionLabel field's value. -func (s *DescribeEventsInput) SetVersionLabel(v string) *DescribeEventsInput { - s.VersionLabel = &v - return s -} - // Result message wrapping a list of event descriptions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EventDescriptionsMessage type DescribeEventsOutput struct { @@ -5988,18 +4836,6 @@ func (s DescribeEventsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEvents sets the Events field's value. -func (s *DescribeEventsOutput) SetEvents(v []EventDescription) *DescribeEventsOutput { - s.Events = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEventsOutput) SetNextToken(v string) *DescribeEventsOutput { - s.NextToken = &v - return s -} - // Parameters for a call to DescribeInstancesHealth. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeInstancesHealthRequest type DescribeInstancesHealthInput struct { @@ -6045,30 +4881,6 @@ func (s *DescribeInstancesHealthInput) Validate() error { return nil } -// SetAttributeNames sets the AttributeNames field's value. -func (s *DescribeInstancesHealthInput) SetAttributeNames(v []InstancesHealthAttribute) *DescribeInstancesHealthInput { - s.AttributeNames = v - return s -} - -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *DescribeInstancesHealthInput) SetEnvironmentId(v string) *DescribeInstancesHealthInput { - s.EnvironmentId = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *DescribeInstancesHealthInput) SetEnvironmentName(v string) *DescribeInstancesHealthInput { - s.EnvironmentName = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeInstancesHealthInput) SetNextToken(v string) *DescribeInstancesHealthInput { - s.NextToken = &v - return s -} - // Detailed health information about the Amazon EC2 instances in an AWS Elastic // Beanstalk environment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeInstancesHealthResult @@ -6102,24 +4914,6 @@ func (s DescribeInstancesHealthOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceHealthList sets the InstanceHealthList field's value. -func (s *DescribeInstancesHealthOutput) SetInstanceHealthList(v []SingleInstanceHealth) *DescribeInstancesHealthOutput { - s.InstanceHealthList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeInstancesHealthOutput) SetNextToken(v string) *DescribeInstancesHealthOutput { - s.NextToken = &v - return s -} - -// SetRefreshedAt sets the RefreshedAt field's value. -func (s *DescribeInstancesHealthOutput) SetRefreshedAt(v time.Time) *DescribeInstancesHealthOutput { - s.RefreshedAt = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribePlatformVersionRequest type DescribePlatformVersionInput struct { _ struct{} `type:"structure"` @@ -6138,12 +4932,6 @@ func (s DescribePlatformVersionInput) GoString() string { return s.String() } -// SetPlatformArn sets the PlatformArn field's value. -func (s *DescribePlatformVersionInput) SetPlatformArn(v string) *DescribePlatformVersionInput { - s.PlatformArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribePlatformVersionResult type DescribePlatformVersionOutput struct { _ struct{} `type:"structure"` @@ -6169,12 +4957,6 @@ func (s DescribePlatformVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPlatformDescription sets the PlatformDescription field's value. -func (s *DescribePlatformVersionOutput) SetPlatformDescription(v *PlatformDescription) *DescribePlatformVersionOutput { - s.PlatformDescription = v - return s -} - // The information retrieved from the Amazon EC2 instances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentInfoDescription type EnvironmentInfoDescription struct { @@ -6203,30 +4985,6 @@ func (s EnvironmentInfoDescription) GoString() string { return s.String() } -// SetEc2InstanceId sets the Ec2InstanceId field's value. -func (s *EnvironmentInfoDescription) SetEc2InstanceId(v string) *EnvironmentInfoDescription { - s.Ec2InstanceId = &v - return s -} - -// SetInfoType sets the InfoType field's value. -func (s *EnvironmentInfoDescription) SetInfoType(v EnvironmentInfoType) *EnvironmentInfoDescription { - s.InfoType = v - return s -} - -// SetMessage sets the Message field's value. -func (s *EnvironmentInfoDescription) SetMessage(v string) *EnvironmentInfoDescription { - s.Message = &v - return s -} - -// SetSampleTimestamp sets the SampleTimestamp field's value. -func (s *EnvironmentInfoDescription) SetSampleTimestamp(v time.Time) *EnvironmentInfoDescription { - s.SampleTimestamp = &v - return s -} - // A link to another environment, defined in the environment's manifest. Links // provide connection information in system properties that can be used to connect // to another environment in the same group. See Environment Manifest (env.yaml) @@ -6253,18 +5011,6 @@ func (s EnvironmentLink) GoString() string { return s.String() } -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *EnvironmentLink) SetEnvironmentName(v string) *EnvironmentLink { - s.EnvironmentName = &v - return s -} - -// SetLinkName sets the LinkName field's value. -func (s *EnvironmentLink) SetLinkName(v string) *EnvironmentLink { - s.LinkName = &v - return s -} - // Describes the AWS resources in use by this environment. This data is live. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentResourceDescription type EnvironmentResourceDescription struct { @@ -6302,48 +5048,6 @@ func (s EnvironmentResourceDescription) GoString() string { return s.String() } -// SetAutoScalingGroups sets the AutoScalingGroups field's value. -func (s *EnvironmentResourceDescription) SetAutoScalingGroups(v []AutoScalingGroup) *EnvironmentResourceDescription { - s.AutoScalingGroups = v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *EnvironmentResourceDescription) SetEnvironmentName(v string) *EnvironmentResourceDescription { - s.EnvironmentName = &v - return s -} - -// SetInstances sets the Instances field's value. -func (s *EnvironmentResourceDescription) SetInstances(v []Instance) *EnvironmentResourceDescription { - s.Instances = v - return s -} - -// SetLaunchConfigurations sets the LaunchConfigurations field's value. -func (s *EnvironmentResourceDescription) SetLaunchConfigurations(v []LaunchConfiguration) *EnvironmentResourceDescription { - s.LaunchConfigurations = v - return s -} - -// SetLoadBalancers sets the LoadBalancers field's value. -func (s *EnvironmentResourceDescription) SetLoadBalancers(v []LoadBalancer) *EnvironmentResourceDescription { - s.LoadBalancers = v - return s -} - -// SetQueues sets the Queues field's value. -func (s *EnvironmentResourceDescription) SetQueues(v []Queue) *EnvironmentResourceDescription { - s.Queues = v - return s -} - -// SetTriggers sets the Triggers field's value. -func (s *EnvironmentResourceDescription) SetTriggers(v []Trigger) *EnvironmentResourceDescription { - s.Triggers = v - return s -} - // Describes the AWS resources in use by this environment. This data is not // live data. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentResourcesDescription @@ -6364,12 +5068,6 @@ func (s EnvironmentResourcesDescription) GoString() string { return s.String() } -// SetLoadBalancer sets the LoadBalancer field's value. -func (s *EnvironmentResourcesDescription) SetLoadBalancer(v *LoadBalancerDescription) *EnvironmentResourcesDescription { - s.LoadBalancer = v - return s -} - // Describes the properties of an environment tier // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EnvironmentTier type EnvironmentTier struct { @@ -6395,24 +5093,6 @@ func (s EnvironmentTier) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *EnvironmentTier) SetName(v string) *EnvironmentTier { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *EnvironmentTier) SetType(v string) *EnvironmentTier { - s.Type = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *EnvironmentTier) SetVersion(v string) *EnvironmentTier { - s.Version = &v - return s -} - // Describes an event. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/EventDescription type EventDescription struct { @@ -6456,60 +5136,6 @@ func (s EventDescription) GoString() string { return s.String() } -// SetApplicationName sets the ApplicationName field's value. -func (s *EventDescription) SetApplicationName(v string) *EventDescription { - s.ApplicationName = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *EventDescription) SetEnvironmentName(v string) *EventDescription { - s.EnvironmentName = &v - return s -} - -// SetEventDate sets the EventDate field's value. -func (s *EventDescription) SetEventDate(v time.Time) *EventDescription { - s.EventDate = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *EventDescription) SetMessage(v string) *EventDescription { - s.Message = &v - return s -} - -// SetPlatformArn sets the PlatformArn field's value. -func (s *EventDescription) SetPlatformArn(v string) *EventDescription { - s.PlatformArn = &v - return s -} - -// SetRequestId sets the RequestId field's value. -func (s *EventDescription) SetRequestId(v string) *EventDescription { - s.RequestId = &v - return s -} - -// SetSeverity sets the Severity field's value. -func (s *EventDescription) SetSeverity(v EventSeverity) *EventDescription { - s.Severity = v - return s -} - -// SetTemplateName sets the TemplateName field's value. -func (s *EventDescription) SetTemplateName(v string) *EventDescription { - s.TemplateName = &v - return s -} - -// SetVersionLabel sets the VersionLabel field's value. -func (s *EventDescription) SetVersionLabel(v string) *EventDescription { - s.VersionLabel = &v - return s -} - // The description of an Amazon EC2 instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Instance type Instance struct { @@ -6529,12 +5155,6 @@ func (s Instance) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *Instance) SetId(v string) *Instance { - s.Id = &v - return s -} - // Represents summary information about the health of an instance. For more // information, see Health Colors and Statuses (http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html). // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/InstanceHealthSummary @@ -6582,54 +5202,6 @@ func (s InstanceHealthSummary) GoString() string { return s.String() } -// SetDegraded sets the Degraded field's value. -func (s *InstanceHealthSummary) SetDegraded(v int64) *InstanceHealthSummary { - s.Degraded = &v - return s -} - -// SetInfo sets the Info field's value. -func (s *InstanceHealthSummary) SetInfo(v int64) *InstanceHealthSummary { - s.Info = &v - return s -} - -// SetNoData sets the NoData field's value. -func (s *InstanceHealthSummary) SetNoData(v int64) *InstanceHealthSummary { - s.NoData = &v - return s -} - -// SetOk sets the Ok field's value. -func (s *InstanceHealthSummary) SetOk(v int64) *InstanceHealthSummary { - s.Ok = &v - return s -} - -// SetPending sets the Pending field's value. -func (s *InstanceHealthSummary) SetPending(v int64) *InstanceHealthSummary { - s.Pending = &v - return s -} - -// SetSevere sets the Severe field's value. -func (s *InstanceHealthSummary) SetSevere(v int64) *InstanceHealthSummary { - s.Severe = &v - return s -} - -// SetUnknown sets the Unknown field's value. -func (s *InstanceHealthSummary) SetUnknown(v int64) *InstanceHealthSummary { - s.Unknown = &v - return s -} - -// SetWarning sets the Warning field's value. -func (s *InstanceHealthSummary) SetWarning(v int64) *InstanceHealthSummary { - s.Warning = &v - return s -} - // Represents the average latency for the slowest X percent of requests over // the last 10 seconds. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Latency @@ -6679,54 +5251,6 @@ func (s Latency) GoString() string { return s.String() } -// SetP10 sets the P10 field's value. -func (s *Latency) SetP10(v float64) *Latency { - s.P10 = &v - return s -} - -// SetP50 sets the P50 field's value. -func (s *Latency) SetP50(v float64) *Latency { - s.P50 = &v - return s -} - -// SetP75 sets the P75 field's value. -func (s *Latency) SetP75(v float64) *Latency { - s.P75 = &v - return s -} - -// SetP85 sets the P85 field's value. -func (s *Latency) SetP85(v float64) *Latency { - s.P85 = &v - return s -} - -// SetP90 sets the P90 field's value. -func (s *Latency) SetP90(v float64) *Latency { - s.P90 = &v - return s -} - -// SetP95 sets the P95 field's value. -func (s *Latency) SetP95(v float64) *Latency { - s.P95 = &v - return s -} - -// SetP99 sets the P99 field's value. -func (s *Latency) SetP99(v float64) *Latency { - s.P99 = &v - return s -} - -// SetP999 sets the P999 field's value. -func (s *Latency) SetP999(v float64) *Latency { - s.P999 = &v - return s -} - // Describes an Auto Scaling launch configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/LaunchConfiguration type LaunchConfiguration struct { @@ -6746,12 +5270,6 @@ func (s LaunchConfiguration) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *LaunchConfiguration) SetName(v string) *LaunchConfiguration { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListAvailableSolutionStacksInput type ListAvailableSolutionStacksInput struct { _ struct{} `type:"structure"` @@ -6796,18 +5314,6 @@ func (s ListAvailableSolutionStacksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSolutionStackDetails sets the SolutionStackDetails field's value. -func (s *ListAvailableSolutionStacksOutput) SetSolutionStackDetails(v []SolutionStackDescription) *ListAvailableSolutionStacksOutput { - s.SolutionStackDetails = v - return s -} - -// SetSolutionStacks sets the SolutionStacks field's value. -func (s *ListAvailableSolutionStacksOutput) SetSolutionStacks(v []string) *ListAvailableSolutionStacksOutput { - s.SolutionStacks = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListPlatformVersionsRequest type ListPlatformVersionsInput struct { _ struct{} `type:"structure"` @@ -6847,24 +5353,6 @@ func (s *ListPlatformVersionsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *ListPlatformVersionsInput) SetFilters(v []PlatformFilter) *ListPlatformVersionsInput { - s.Filters = v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *ListPlatformVersionsInput) SetMaxRecords(v int64) *ListPlatformVersionsInput { - s.MaxRecords = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListPlatformVersionsInput) SetNextToken(v string) *ListPlatformVersionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListPlatformVersionsResult type ListPlatformVersionsOutput struct { _ struct{} `type:"structure"` @@ -6894,18 +5382,6 @@ func (s ListPlatformVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListPlatformVersionsOutput) SetNextToken(v string) *ListPlatformVersionsOutput { - s.NextToken = &v - return s -} - -// SetPlatformSummaryList sets the PlatformSummaryList field's value. -func (s *ListPlatformVersionsOutput) SetPlatformSummaryList(v []PlatformSummary) *ListPlatformVersionsOutput { - s.PlatformSummaryList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListTagsForResourceMessage type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -6942,12 +5418,6 @@ func (s *ListTagsForResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { - s.ResourceArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ResourceTagsDescriptionMessage type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` @@ -6976,18 +5446,6 @@ func (s ListTagsForResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResourceArn sets the ResourceArn field's value. -func (s *ListTagsForResourceOutput) SetResourceArn(v string) *ListTagsForResourceOutput { - s.ResourceArn = &v - return s -} - -// SetResourceTags sets the ResourceTags field's value. -func (s *ListTagsForResourceOutput) SetResourceTags(v []Tag) *ListTagsForResourceOutput { - s.ResourceTags = v - return s -} - // Describes the properties of a Listener for the LoadBalancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Listener type Listener struct { @@ -7010,18 +5468,6 @@ func (s Listener) GoString() string { return s.String() } -// SetPort sets the Port field's value. -func (s *Listener) SetPort(v int64) *Listener { - s.Port = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *Listener) SetProtocol(v string) *Listener { - s.Protocol = &v - return s -} - // Describes a LoadBalancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/LoadBalancer type LoadBalancer struct { @@ -7041,12 +5487,6 @@ func (s LoadBalancer) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *LoadBalancer) SetName(v string) *LoadBalancer { - s.Name = &v - return s -} - // Describes the details of a LoadBalancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/LoadBalancerDescription type LoadBalancerDescription struct { @@ -7072,24 +5512,6 @@ func (s LoadBalancerDescription) GoString() string { return s.String() } -// SetDomain sets the Domain field's value. -func (s *LoadBalancerDescription) SetDomain(v string) *LoadBalancerDescription { - s.Domain = &v - return s -} - -// SetListeners sets the Listeners field's value. -func (s *LoadBalancerDescription) SetListeners(v []Listener) *LoadBalancerDescription { - s.Listeners = v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *LoadBalancerDescription) SetLoadBalancerName(v string) *LoadBalancerDescription { - s.LoadBalancerName = &v - return s -} - // The record of an upcoming or in-progress managed action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ManagedAction type ManagedAction struct { @@ -7123,36 +5545,6 @@ func (s ManagedAction) GoString() string { return s.String() } -// SetActionDescription sets the ActionDescription field's value. -func (s *ManagedAction) SetActionDescription(v string) *ManagedAction { - s.ActionDescription = &v - return s -} - -// SetActionId sets the ActionId field's value. -func (s *ManagedAction) SetActionId(v string) *ManagedAction { - s.ActionId = &v - return s -} - -// SetActionType sets the ActionType field's value. -func (s *ManagedAction) SetActionType(v ActionType) *ManagedAction { - s.ActionType = v - return s -} - -// SetStatus sets the Status field's value. -func (s *ManagedAction) SetStatus(v ActionStatus) *ManagedAction { - s.Status = v - return s -} - -// SetWindowStartTime sets the WindowStartTime field's value. -func (s *ManagedAction) SetWindowStartTime(v time.Time) *ManagedAction { - s.WindowStartTime = &v - return s -} - // The record of a completed or failed managed action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ManagedActionHistoryItem type ManagedActionHistoryItem struct { @@ -7193,54 +5585,6 @@ func (s ManagedActionHistoryItem) GoString() string { return s.String() } -// SetActionDescription sets the ActionDescription field's value. -func (s *ManagedActionHistoryItem) SetActionDescription(v string) *ManagedActionHistoryItem { - s.ActionDescription = &v - return s -} - -// SetActionId sets the ActionId field's value. -func (s *ManagedActionHistoryItem) SetActionId(v string) *ManagedActionHistoryItem { - s.ActionId = &v - return s -} - -// SetActionType sets the ActionType field's value. -func (s *ManagedActionHistoryItem) SetActionType(v ActionType) *ManagedActionHistoryItem { - s.ActionType = v - return s -} - -// SetExecutedTime sets the ExecutedTime field's value. -func (s *ManagedActionHistoryItem) SetExecutedTime(v time.Time) *ManagedActionHistoryItem { - s.ExecutedTime = &v - return s -} - -// SetFailureDescription sets the FailureDescription field's value. -func (s *ManagedActionHistoryItem) SetFailureDescription(v string) *ManagedActionHistoryItem { - s.FailureDescription = &v - return s -} - -// SetFailureType sets the FailureType field's value. -func (s *ManagedActionHistoryItem) SetFailureType(v FailureType) *ManagedActionHistoryItem { - s.FailureType = v - return s -} - -// SetFinishedTime sets the FinishedTime field's value. -func (s *ManagedActionHistoryItem) SetFinishedTime(v time.Time) *ManagedActionHistoryItem { - s.FinishedTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ManagedActionHistoryItem) SetStatus(v ActionHistoryStatus) *ManagedActionHistoryItem { - s.Status = v - return s -} - // A lifecycle rule that deletes application versions after the specified number // of days. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/MaxAgeRule @@ -7284,24 +5628,6 @@ func (s *MaxAgeRule) Validate() error { return nil } -// SetDeleteSourceFromS3 sets the DeleteSourceFromS3 field's value. -func (s *MaxAgeRule) SetDeleteSourceFromS3(v bool) *MaxAgeRule { - s.DeleteSourceFromS3 = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *MaxAgeRule) SetEnabled(v bool) *MaxAgeRule { - s.Enabled = &v - return s -} - -// SetMaxAgeInDays sets the MaxAgeInDays field's value. -func (s *MaxAgeRule) SetMaxAgeInDays(v int64) *MaxAgeRule { - s.MaxAgeInDays = &v - return s -} - // A lifecycle rule that deletes the oldest application version when the maximum // count is exceeded. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/MaxCountRule @@ -7345,24 +5671,6 @@ func (s *MaxCountRule) Validate() error { return nil } -// SetDeleteSourceFromS3 sets the DeleteSourceFromS3 field's value. -func (s *MaxCountRule) SetDeleteSourceFromS3(v bool) *MaxCountRule { - s.DeleteSourceFromS3 = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *MaxCountRule) SetEnabled(v bool) *MaxCountRule { - s.Enabled = &v - return s -} - -// SetMaxCount sets the MaxCount field's value. -func (s *MaxCountRule) SetMaxCount(v int64) *MaxCountRule { - s.MaxCount = &v - return s -} - // A regular expression representing a restriction on a string configuration // option value. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/OptionRestrictionRegex @@ -7387,18 +5695,6 @@ func (s OptionRestrictionRegex) GoString() string { return s.String() } -// SetLabel sets the Label field's value. -func (s *OptionRestrictionRegex) SetLabel(v string) *OptionRestrictionRegex { - s.Label = &v - return s -} - -// SetPattern sets the Pattern field's value. -func (s *OptionRestrictionRegex) SetPattern(v string) *OptionRestrictionRegex { - s.Pattern = &v - return s -} - // A specification identifying an individual configuration option. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/OptionSpecification type OptionSpecification struct { @@ -7437,24 +5733,6 @@ func (s *OptionSpecification) Validate() error { return nil } -// SetNamespace sets the Namespace field's value. -func (s *OptionSpecification) SetNamespace(v string) *OptionSpecification { - s.Namespace = &v - return s -} - -// SetOptionName sets the OptionName field's value. -func (s *OptionSpecification) SetOptionName(v string) *OptionSpecification { - s.OptionName = &v - return s -} - -// SetResourceName sets the ResourceName field's value. -func (s *OptionSpecification) SetResourceName(v string) *OptionSpecification { - s.ResourceName = &v - return s -} - // Detailed information about a platform. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/PlatformDescription type PlatformDescription struct { @@ -7525,114 +5803,6 @@ func (s PlatformDescription) GoString() string { return s.String() } -// SetCustomAmiList sets the CustomAmiList field's value. -func (s *PlatformDescription) SetCustomAmiList(v []CustomAmi) *PlatformDescription { - s.CustomAmiList = v - return s -} - -// SetDateCreated sets the DateCreated field's value. -func (s *PlatformDescription) SetDateCreated(v time.Time) *PlatformDescription { - s.DateCreated = &v - return s -} - -// SetDateUpdated sets the DateUpdated field's value. -func (s *PlatformDescription) SetDateUpdated(v time.Time) *PlatformDescription { - s.DateUpdated = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *PlatformDescription) SetDescription(v string) *PlatformDescription { - s.Description = &v - return s -} - -// SetFrameworks sets the Frameworks field's value. -func (s *PlatformDescription) SetFrameworks(v []PlatformFramework) *PlatformDescription { - s.Frameworks = v - return s -} - -// SetMaintainer sets the Maintainer field's value. -func (s *PlatformDescription) SetMaintainer(v string) *PlatformDescription { - s.Maintainer = &v - return s -} - -// SetOperatingSystemName sets the OperatingSystemName field's value. -func (s *PlatformDescription) SetOperatingSystemName(v string) *PlatformDescription { - s.OperatingSystemName = &v - return s -} - -// SetOperatingSystemVersion sets the OperatingSystemVersion field's value. -func (s *PlatformDescription) SetOperatingSystemVersion(v string) *PlatformDescription { - s.OperatingSystemVersion = &v - return s -} - -// SetPlatformArn sets the PlatformArn field's value. -func (s *PlatformDescription) SetPlatformArn(v string) *PlatformDescription { - s.PlatformArn = &v - return s -} - -// SetPlatformCategory sets the PlatformCategory field's value. -func (s *PlatformDescription) SetPlatformCategory(v string) *PlatformDescription { - s.PlatformCategory = &v - return s -} - -// SetPlatformName sets the PlatformName field's value. -func (s *PlatformDescription) SetPlatformName(v string) *PlatformDescription { - s.PlatformName = &v - return s -} - -// SetPlatformOwner sets the PlatformOwner field's value. -func (s *PlatformDescription) SetPlatformOwner(v string) *PlatformDescription { - s.PlatformOwner = &v - return s -} - -// SetPlatformStatus sets the PlatformStatus field's value. -func (s *PlatformDescription) SetPlatformStatus(v PlatformStatus) *PlatformDescription { - s.PlatformStatus = v - return s -} - -// SetPlatformVersion sets the PlatformVersion field's value. -func (s *PlatformDescription) SetPlatformVersion(v string) *PlatformDescription { - s.PlatformVersion = &v - return s -} - -// SetProgrammingLanguages sets the ProgrammingLanguages field's value. -func (s *PlatformDescription) SetProgrammingLanguages(v []PlatformProgrammingLanguage) *PlatformDescription { - s.ProgrammingLanguages = v - return s -} - -// SetSolutionStackName sets the SolutionStackName field's value. -func (s *PlatformDescription) SetSolutionStackName(v string) *PlatformDescription { - s.SolutionStackName = &v - return s -} - -// SetSupportedAddonList sets the SupportedAddonList field's value. -func (s *PlatformDescription) SetSupportedAddonList(v []string) *PlatformDescription { - s.SupportedAddonList = v - return s -} - -// SetSupportedTierList sets the SupportedTierList field's value. -func (s *PlatformDescription) SetSupportedTierList(v []string) *PlatformDescription { - s.SupportedTierList = v - return s -} - // Specify criteria to restrict the results when listing custom platforms. // // The filter is evaluated as the expression: @@ -7668,24 +5838,6 @@ func (s PlatformFilter) GoString() string { return s.String() } -// SetOperator sets the Operator field's value. -func (s *PlatformFilter) SetOperator(v string) *PlatformFilter { - s.Operator = &v - return s -} - -// SetType sets the Type field's value. -func (s *PlatformFilter) SetType(v string) *PlatformFilter { - s.Type = &v - return s -} - -// SetValues sets the Values field's value. -func (s *PlatformFilter) SetValues(v []string) *PlatformFilter { - s.Values = v - return s -} - // A framework supported by the custom platform. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/PlatformFramework type PlatformFramework struct { @@ -7708,18 +5860,6 @@ func (s PlatformFramework) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *PlatformFramework) SetName(v string) *PlatformFramework { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *PlatformFramework) SetVersion(v string) *PlatformFramework { - s.Version = &v - return s -} - // A programming language supported by the platform. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/PlatformProgrammingLanguage type PlatformProgrammingLanguage struct { @@ -7738,20 +5878,8 @@ func (s PlatformProgrammingLanguage) String() string { } // GoString returns the string representation -func (s PlatformProgrammingLanguage) GoString() string { - return s.String() -} - -// SetName sets the Name field's value. -func (s *PlatformProgrammingLanguage) SetName(v string) *PlatformProgrammingLanguage { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *PlatformProgrammingLanguage) SetVersion(v string) *PlatformProgrammingLanguage { - s.Version = &v - return s +func (s PlatformProgrammingLanguage) GoString() string { + return s.String() } // Detailed information about a platform. @@ -7795,54 +5923,6 @@ func (s PlatformSummary) GoString() string { return s.String() } -// SetOperatingSystemName sets the OperatingSystemName field's value. -func (s *PlatformSummary) SetOperatingSystemName(v string) *PlatformSummary { - s.OperatingSystemName = &v - return s -} - -// SetOperatingSystemVersion sets the OperatingSystemVersion field's value. -func (s *PlatformSummary) SetOperatingSystemVersion(v string) *PlatformSummary { - s.OperatingSystemVersion = &v - return s -} - -// SetPlatformArn sets the PlatformArn field's value. -func (s *PlatformSummary) SetPlatformArn(v string) *PlatformSummary { - s.PlatformArn = &v - return s -} - -// SetPlatformCategory sets the PlatformCategory field's value. -func (s *PlatformSummary) SetPlatformCategory(v string) *PlatformSummary { - s.PlatformCategory = &v - return s -} - -// SetPlatformOwner sets the PlatformOwner field's value. -func (s *PlatformSummary) SetPlatformOwner(v string) *PlatformSummary { - s.PlatformOwner = &v - return s -} - -// SetPlatformStatus sets the PlatformStatus field's value. -func (s *PlatformSummary) SetPlatformStatus(v PlatformStatus) *PlatformSummary { - s.PlatformStatus = v - return s -} - -// SetSupportedAddonList sets the SupportedAddonList field's value. -func (s *PlatformSummary) SetSupportedAddonList(v []string) *PlatformSummary { - s.SupportedAddonList = v - return s -} - -// SetSupportedTierList sets the SupportedTierList field's value. -func (s *PlatformSummary) SetSupportedTierList(v []string) *PlatformSummary { - s.SupportedTierList = v - return s -} - // Describes a queue. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Queue type Queue struct { @@ -7865,18 +5945,6 @@ func (s Queue) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *Queue) SetName(v string) *Queue { - s.Name = &v - return s -} - -// SetURL sets the URL field's value. -func (s *Queue) SetURL(v string) *Queue { - s.URL = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RebuildEnvironmentMessage type RebuildEnvironmentInput struct { _ struct{} `type:"structure"` @@ -7919,18 +5987,6 @@ func (s *RebuildEnvironmentInput) Validate() error { return nil } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *RebuildEnvironmentInput) SetEnvironmentId(v string) *RebuildEnvironmentInput { - s.EnvironmentId = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *RebuildEnvironmentInput) SetEnvironmentName(v string) *RebuildEnvironmentInput { - s.EnvironmentName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RebuildEnvironmentOutput type RebuildEnvironmentOutput struct { _ struct{} `type:"structure"` @@ -8011,24 +6067,6 @@ func (s *RequestEnvironmentInfoInput) Validate() error { return nil } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *RequestEnvironmentInfoInput) SetEnvironmentId(v string) *RequestEnvironmentInfoInput { - s.EnvironmentId = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *RequestEnvironmentInfoInput) SetEnvironmentName(v string) *RequestEnvironmentInfoInput { - s.EnvironmentName = &v - return s -} - -// SetInfoType sets the InfoType field's value. -func (s *RequestEnvironmentInfoInput) SetInfoType(v EnvironmentInfoType) *RequestEnvironmentInfoInput { - s.InfoType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RequestEnvironmentInfoOutput type RequestEnvironmentInfoOutput struct { _ struct{} `type:"structure"` @@ -8093,18 +6131,6 @@ func (s *RestartAppServerInput) Validate() error { return nil } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *RestartAppServerInput) SetEnvironmentId(v string) *RestartAppServerInput { - s.EnvironmentId = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *RestartAppServerInput) SetEnvironmentName(v string) *RestartAppServerInput { - s.EnvironmentName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RestartAppServerOutput type RestartAppServerOutput struct { _ struct{} `type:"structure"` @@ -8182,24 +6208,6 @@ func (s *RetrieveEnvironmentInfoInput) Validate() error { return nil } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *RetrieveEnvironmentInfoInput) SetEnvironmentId(v string) *RetrieveEnvironmentInfoInput { - s.EnvironmentId = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *RetrieveEnvironmentInfoInput) SetEnvironmentName(v string) *RetrieveEnvironmentInfoInput { - s.EnvironmentName = &v - return s -} - -// SetInfoType sets the InfoType field's value. -func (s *RetrieveEnvironmentInfoInput) SetInfoType(v EnvironmentInfoType) *RetrieveEnvironmentInfoInput { - s.InfoType = v - return s -} - // Result message containing a description of the requested environment info. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RetrieveEnvironmentInfoResultMessage type RetrieveEnvironmentInfoOutput struct { @@ -8226,12 +6234,6 @@ func (s RetrieveEnvironmentInfoOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEnvironmentInfo sets the EnvironmentInfo field's value. -func (s *RetrieveEnvironmentInfoOutput) SetEnvironmentInfo(v []EnvironmentInfoDescription) *RetrieveEnvironmentInfoOutput { - s.EnvironmentInfo = v - return s -} - // The bucket and key of an item stored in Amazon S3. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/S3Location type S3Location struct { @@ -8254,18 +6256,6 @@ func (s S3Location) GoString() string { return s.String() } -// SetS3Bucket sets the S3Bucket field's value. -func (s *S3Location) SetS3Bucket(v string) *S3Location { - s.S3Bucket = &v - return s -} - -// SetS3Key sets the S3Key field's value. -func (s *S3Location) SetS3Key(v string) *S3Location { - s.S3Key = &v - return s -} - // Detailed health information about an Amazon EC2 instance in your Elastic // Beanstalk environment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SingleInstanceHealth @@ -8317,66 +6307,6 @@ func (s SingleInstanceHealth) GoString() string { return s.String() } -// SetApplicationMetrics sets the ApplicationMetrics field's value. -func (s *SingleInstanceHealth) SetApplicationMetrics(v *ApplicationMetrics) *SingleInstanceHealth { - s.ApplicationMetrics = v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *SingleInstanceHealth) SetAvailabilityZone(v string) *SingleInstanceHealth { - s.AvailabilityZone = &v - return s -} - -// SetCauses sets the Causes field's value. -func (s *SingleInstanceHealth) SetCauses(v []string) *SingleInstanceHealth { - s.Causes = v - return s -} - -// SetColor sets the Color field's value. -func (s *SingleInstanceHealth) SetColor(v string) *SingleInstanceHealth { - s.Color = &v - return s -} - -// SetDeployment sets the Deployment field's value. -func (s *SingleInstanceHealth) SetDeployment(v *Deployment) *SingleInstanceHealth { - s.Deployment = v - return s -} - -// SetHealthStatus sets the HealthStatus field's value. -func (s *SingleInstanceHealth) SetHealthStatus(v string) *SingleInstanceHealth { - s.HealthStatus = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *SingleInstanceHealth) SetInstanceId(v string) *SingleInstanceHealth { - s.InstanceId = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *SingleInstanceHealth) SetInstanceType(v string) *SingleInstanceHealth { - s.InstanceType = &v - return s -} - -// SetLaunchedAt sets the LaunchedAt field's value. -func (s *SingleInstanceHealth) SetLaunchedAt(v time.Time) *SingleInstanceHealth { - s.LaunchedAt = &v - return s -} - -// SetSystem sets the System field's value. -func (s *SingleInstanceHealth) SetSystem(v *SystemStatus) *SingleInstanceHealth { - s.System = v - return s -} - // Describes the solution stack. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SolutionStackDescription type SolutionStackDescription struct { @@ -8399,18 +6329,6 @@ func (s SolutionStackDescription) GoString() string { return s.String() } -// SetPermittedFileTypes sets the PermittedFileTypes field's value. -func (s *SolutionStackDescription) SetPermittedFileTypes(v []string) *SolutionStackDescription { - s.PermittedFileTypes = v - return s -} - -// SetSolutionStackName sets the SolutionStackName field's value. -func (s *SolutionStackDescription) SetSolutionStackName(v string) *SolutionStackDescription { - s.SolutionStackName = &v - return s -} - // Location of the source code for an application version. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SourceBuildInformation type SourceBuildInformation struct { @@ -8480,24 +6398,6 @@ func (s *SourceBuildInformation) Validate() error { return nil } -// SetSourceLocation sets the SourceLocation field's value. -func (s *SourceBuildInformation) SetSourceLocation(v string) *SourceBuildInformation { - s.SourceLocation = &v - return s -} - -// SetSourceRepository sets the SourceRepository field's value. -func (s *SourceBuildInformation) SetSourceRepository(v SourceRepository) *SourceBuildInformation { - s.SourceRepository = v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *SourceBuildInformation) SetSourceType(v SourceType) *SourceBuildInformation { - s.SourceType = v - return s -} - // A specification for an environment configuration // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SourceConfiguration type SourceConfiguration struct { @@ -8536,18 +6436,6 @@ func (s *SourceConfiguration) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *SourceConfiguration) SetApplicationName(v string) *SourceConfiguration { - s.ApplicationName = &v - return s -} - -// SetTemplateName sets the TemplateName field's value. -func (s *SourceConfiguration) SetTemplateName(v string) *SourceConfiguration { - s.TemplateName = &v - return s -} - // Represents the percentage of requests over the last 10 seconds that resulted // in each type of status code response. For more information, see Status Code // Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html). @@ -8582,30 +6470,6 @@ func (s StatusCodes) GoString() string { return s.String() } -// SetStatus2xx sets the Status2xx field's value. -func (s *StatusCodes) SetStatus2xx(v int64) *StatusCodes { - s.Status2xx = &v - return s -} - -// SetStatus3xx sets the Status3xx field's value. -func (s *StatusCodes) SetStatus3xx(v int64) *StatusCodes { - s.Status3xx = &v - return s -} - -// SetStatus4xx sets the Status4xx field's value. -func (s *StatusCodes) SetStatus4xx(v int64) *StatusCodes { - s.Status4xx = &v - return s -} - -// SetStatus5xx sets the Status5xx field's value. -func (s *StatusCodes) SetStatus5xx(v int64) *StatusCodes { - s.Status5xx = &v - return s -} - // Swaps the CNAMEs of two environments. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SwapEnvironmentCNAMEsMessage type SwapEnvironmentCNAMEsInput struct { @@ -8666,30 +6530,6 @@ func (s *SwapEnvironmentCNAMEsInput) Validate() error { return nil } -// SetDestinationEnvironmentId sets the DestinationEnvironmentId field's value. -func (s *SwapEnvironmentCNAMEsInput) SetDestinationEnvironmentId(v string) *SwapEnvironmentCNAMEsInput { - s.DestinationEnvironmentId = &v - return s -} - -// SetDestinationEnvironmentName sets the DestinationEnvironmentName field's value. -func (s *SwapEnvironmentCNAMEsInput) SetDestinationEnvironmentName(v string) *SwapEnvironmentCNAMEsInput { - s.DestinationEnvironmentName = &v - return s -} - -// SetSourceEnvironmentId sets the SourceEnvironmentId field's value. -func (s *SwapEnvironmentCNAMEsInput) SetSourceEnvironmentId(v string) *SwapEnvironmentCNAMEsInput { - s.SourceEnvironmentId = &v - return s -} - -// SetSourceEnvironmentName sets the SourceEnvironmentName field's value. -func (s *SwapEnvironmentCNAMEsInput) SetSourceEnvironmentName(v string) *SwapEnvironmentCNAMEsInput { - s.SourceEnvironmentName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SwapEnvironmentCNAMEsOutput type SwapEnvironmentCNAMEsOutput struct { _ struct{} `type:"structure"` @@ -8735,18 +6575,6 @@ func (s SystemStatus) GoString() string { return s.String() } -// SetCPUUtilization sets the CPUUtilization field's value. -func (s *SystemStatus) SetCPUUtilization(v *CPUUtilization) *SystemStatus { - s.CPUUtilization = v - return s -} - -// SetLoadAverage sets the LoadAverage field's value. -func (s *SystemStatus) SetLoadAverage(v []float64) *SystemStatus { - s.LoadAverage = v - return s -} - // Describes a tag applied to a resource in an environment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Tag type Tag struct { @@ -8785,18 +6613,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Request to terminate an environment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TerminateEnvironmentMessage type TerminateEnvironmentInput struct { @@ -8860,30 +6676,6 @@ func (s *TerminateEnvironmentInput) Validate() error { return nil } -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *TerminateEnvironmentInput) SetEnvironmentId(v string) *TerminateEnvironmentInput { - s.EnvironmentId = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *TerminateEnvironmentInput) SetEnvironmentName(v string) *TerminateEnvironmentInput { - s.EnvironmentName = &v - return s -} - -// SetForceTerminate sets the ForceTerminate field's value. -func (s *TerminateEnvironmentInput) SetForceTerminate(v bool) *TerminateEnvironmentInput { - s.ForceTerminate = &v - return s -} - -// SetTerminateResources sets the TerminateResources field's value. -func (s *TerminateEnvironmentInput) SetTerminateResources(v bool) *TerminateEnvironmentInput { - s.TerminateResources = &v - return s -} - // Describes a trigger. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/Trigger type Trigger struct { @@ -8903,12 +6695,6 @@ func (s Trigger) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *Trigger) SetName(v string) *Trigger { - s.Name = &v - return s -} - // Request to update an application. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationMessage type UpdateApplicationInput struct { @@ -8953,18 +6739,6 @@ func (s *UpdateApplicationInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *UpdateApplicationInput) SetApplicationName(v string) *UpdateApplicationInput { - s.ApplicationName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateApplicationInput) SetDescription(v string) *UpdateApplicationInput { - s.Description = &v - return s -} - // Result message containing a single description of an application. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplicationOutput type UpdateApplicationOutput struct { @@ -8991,12 +6765,6 @@ func (s UpdateApplicationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplication sets the Application field's value. -func (s *UpdateApplicationOutput) SetApplication(v *ApplicationDescription) *UpdateApplicationOutput { - s.Application = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationResourceLifecycleMessage type UpdateApplicationResourceLifecycleInput struct { _ struct{} `type:"structure"` @@ -9048,18 +6816,6 @@ func (s *UpdateApplicationResourceLifecycleInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *UpdateApplicationResourceLifecycleInput) SetApplicationName(v string) *UpdateApplicationResourceLifecycleInput { - s.ApplicationName = &v - return s -} - -// SetResourceLifecycleConfig sets the ResourceLifecycleConfig field's value. -func (s *UpdateApplicationResourceLifecycleInput) SetResourceLifecycleConfig(v *ApplicationResourceLifecycleConfig) *UpdateApplicationResourceLifecycleInput { - s.ResourceLifecycleConfig = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplicationResourceLifecycleDescriptionMessage type UpdateApplicationResourceLifecycleOutput struct { _ struct{} `type:"structure"` @@ -9088,18 +6844,6 @@ func (s UpdateApplicationResourceLifecycleOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetApplicationName sets the ApplicationName field's value. -func (s *UpdateApplicationResourceLifecycleOutput) SetApplicationName(v string) *UpdateApplicationResourceLifecycleOutput { - s.ApplicationName = &v - return s -} - -// SetResourceLifecycleConfig sets the ResourceLifecycleConfig field's value. -func (s *UpdateApplicationResourceLifecycleOutput) SetResourceLifecycleConfig(v *ApplicationResourceLifecycleConfig) *UpdateApplicationResourceLifecycleOutput { - s.ResourceLifecycleConfig = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationVersionMessage type UpdateApplicationVersionInput struct { _ struct{} `type:"structure"` @@ -9158,24 +6902,6 @@ func (s *UpdateApplicationVersionInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *UpdateApplicationVersionInput) SetApplicationName(v string) *UpdateApplicationVersionInput { - s.ApplicationName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateApplicationVersionInput) SetDescription(v string) *UpdateApplicationVersionInput { - s.Description = &v - return s -} - -// SetVersionLabel sets the VersionLabel field's value. -func (s *UpdateApplicationVersionInput) SetVersionLabel(v string) *UpdateApplicationVersionInput { - s.VersionLabel = &v - return s -} - // Result message wrapping a single description of an application version. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplicationVersionOutput type UpdateApplicationVersionOutput struct { @@ -9202,12 +6928,6 @@ func (s UpdateApplicationVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationVersion sets the ApplicationVersion field's value. -func (s *UpdateApplicationVersionOutput) SetApplicationVersion(v *ApplicationVersionDescription) *UpdateApplicationVersionOutput { - s.ApplicationVersion = v - return s -} - // The result message containing the options for the specified solution stack. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateConfigurationTemplateMessage type UpdateConfigurationTemplateInput struct { @@ -9291,36 +7011,6 @@ func (s *UpdateConfigurationTemplateInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *UpdateConfigurationTemplateInput) SetApplicationName(v string) *UpdateConfigurationTemplateInput { - s.ApplicationName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateConfigurationTemplateInput) SetDescription(v string) *UpdateConfigurationTemplateInput { - s.Description = &v - return s -} - -// SetOptionSettings sets the OptionSettings field's value. -func (s *UpdateConfigurationTemplateInput) SetOptionSettings(v []ConfigurationOptionSetting) *UpdateConfigurationTemplateInput { - s.OptionSettings = v - return s -} - -// SetOptionsToRemove sets the OptionsToRemove field's value. -func (s *UpdateConfigurationTemplateInput) SetOptionsToRemove(v []OptionSpecification) *UpdateConfigurationTemplateInput { - s.OptionsToRemove = v - return s -} - -// SetTemplateName sets the TemplateName field's value. -func (s *UpdateConfigurationTemplateInput) SetTemplateName(v string) *UpdateConfigurationTemplateInput { - s.TemplateName = &v - return s -} - // Describes the settings for a configuration set. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateConfigurationTemplateOutput type UpdateConfigurationTemplateOutput struct { @@ -9387,66 +7077,6 @@ func (s UpdateConfigurationTemplateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationName sets the ApplicationName field's value. -func (s *UpdateConfigurationTemplateOutput) SetApplicationName(v string) *UpdateConfigurationTemplateOutput { - s.ApplicationName = &v - return s -} - -// SetDateCreated sets the DateCreated field's value. -func (s *UpdateConfigurationTemplateOutput) SetDateCreated(v time.Time) *UpdateConfigurationTemplateOutput { - s.DateCreated = &v - return s -} - -// SetDateUpdated sets the DateUpdated field's value. -func (s *UpdateConfigurationTemplateOutput) SetDateUpdated(v time.Time) *UpdateConfigurationTemplateOutput { - s.DateUpdated = &v - return s -} - -// SetDeploymentStatus sets the DeploymentStatus field's value. -func (s *UpdateConfigurationTemplateOutput) SetDeploymentStatus(v ConfigurationDeploymentStatus) *UpdateConfigurationTemplateOutput { - s.DeploymentStatus = v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateConfigurationTemplateOutput) SetDescription(v string) *UpdateConfigurationTemplateOutput { - s.Description = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *UpdateConfigurationTemplateOutput) SetEnvironmentName(v string) *UpdateConfigurationTemplateOutput { - s.EnvironmentName = &v - return s -} - -// SetOptionSettings sets the OptionSettings field's value. -func (s *UpdateConfigurationTemplateOutput) SetOptionSettings(v []ConfigurationOptionSetting) *UpdateConfigurationTemplateOutput { - s.OptionSettings = v - return s -} - -// SetPlatformArn sets the PlatformArn field's value. -func (s *UpdateConfigurationTemplateOutput) SetPlatformArn(v string) *UpdateConfigurationTemplateOutput { - s.PlatformArn = &v - return s -} - -// SetSolutionStackName sets the SolutionStackName field's value. -func (s *UpdateConfigurationTemplateOutput) SetSolutionStackName(v string) *UpdateConfigurationTemplateOutput { - s.SolutionStackName = &v - return s -} - -// SetTemplateName sets the TemplateName field's value. -func (s *UpdateConfigurationTemplateOutput) SetTemplateName(v string) *UpdateConfigurationTemplateOutput { - s.TemplateName = &v - return s -} - // Request to update an environment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateEnvironmentMessage type UpdateEnvironmentInput struct { @@ -9566,78 +7196,6 @@ func (s *UpdateEnvironmentInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *UpdateEnvironmentInput) SetApplicationName(v string) *UpdateEnvironmentInput { - s.ApplicationName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateEnvironmentInput) SetDescription(v string) *UpdateEnvironmentInput { - s.Description = &v - return s -} - -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *UpdateEnvironmentInput) SetEnvironmentId(v string) *UpdateEnvironmentInput { - s.EnvironmentId = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *UpdateEnvironmentInput) SetEnvironmentName(v string) *UpdateEnvironmentInput { - s.EnvironmentName = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *UpdateEnvironmentInput) SetGroupName(v string) *UpdateEnvironmentInput { - s.GroupName = &v - return s -} - -// SetOptionSettings sets the OptionSettings field's value. -func (s *UpdateEnvironmentInput) SetOptionSettings(v []ConfigurationOptionSetting) *UpdateEnvironmentInput { - s.OptionSettings = v - return s -} - -// SetOptionsToRemove sets the OptionsToRemove field's value. -func (s *UpdateEnvironmentInput) SetOptionsToRemove(v []OptionSpecification) *UpdateEnvironmentInput { - s.OptionsToRemove = v - return s -} - -// SetPlatformArn sets the PlatformArn field's value. -func (s *UpdateEnvironmentInput) SetPlatformArn(v string) *UpdateEnvironmentInput { - s.PlatformArn = &v - return s -} - -// SetSolutionStackName sets the SolutionStackName field's value. -func (s *UpdateEnvironmentInput) SetSolutionStackName(v string) *UpdateEnvironmentInput { - s.SolutionStackName = &v - return s -} - -// SetTemplateName sets the TemplateName field's value. -func (s *UpdateEnvironmentInput) SetTemplateName(v string) *UpdateEnvironmentInput { - s.TemplateName = &v - return s -} - -// SetTier sets the Tier field's value. -func (s *UpdateEnvironmentInput) SetTier(v *EnvironmentTier) *UpdateEnvironmentInput { - s.Tier = v - return s -} - -// SetVersionLabel sets the VersionLabel field's value. -func (s *UpdateEnvironmentInput) SetVersionLabel(v string) *UpdateEnvironmentInput { - s.VersionLabel = &v - return s -} - // Describes the properties of an environment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TerminateEnvironmentOutput type UpdateEnvironmentOutput struct { @@ -9756,126 +7314,6 @@ func (s UpdateEnvironmentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAbortableOperationInProgress sets the AbortableOperationInProgress field's value. -func (s *UpdateEnvironmentOutput) SetAbortableOperationInProgress(v bool) *UpdateEnvironmentOutput { - s.AbortableOperationInProgress = &v - return s -} - -// SetApplicationName sets the ApplicationName field's value. -func (s *UpdateEnvironmentOutput) SetApplicationName(v string) *UpdateEnvironmentOutput { - s.ApplicationName = &v - return s -} - -// SetCNAME sets the CNAME field's value. -func (s *UpdateEnvironmentOutput) SetCNAME(v string) *UpdateEnvironmentOutput { - s.CNAME = &v - return s -} - -// SetDateCreated sets the DateCreated field's value. -func (s *UpdateEnvironmentOutput) SetDateCreated(v time.Time) *UpdateEnvironmentOutput { - s.DateCreated = &v - return s -} - -// SetDateUpdated sets the DateUpdated field's value. -func (s *UpdateEnvironmentOutput) SetDateUpdated(v time.Time) *UpdateEnvironmentOutput { - s.DateUpdated = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateEnvironmentOutput) SetDescription(v string) *UpdateEnvironmentOutput { - s.Description = &v - return s -} - -// SetEndpointURL sets the EndpointURL field's value. -func (s *UpdateEnvironmentOutput) SetEndpointURL(v string) *UpdateEnvironmentOutput { - s.EndpointURL = &v - return s -} - -// SetEnvironmentArn sets the EnvironmentArn field's value. -func (s *UpdateEnvironmentOutput) SetEnvironmentArn(v string) *UpdateEnvironmentOutput { - s.EnvironmentArn = &v - return s -} - -// SetEnvironmentId sets the EnvironmentId field's value. -func (s *UpdateEnvironmentOutput) SetEnvironmentId(v string) *UpdateEnvironmentOutput { - s.EnvironmentId = &v - return s -} - -// SetEnvironmentLinks sets the EnvironmentLinks field's value. -func (s *UpdateEnvironmentOutput) SetEnvironmentLinks(v []EnvironmentLink) *UpdateEnvironmentOutput { - s.EnvironmentLinks = v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *UpdateEnvironmentOutput) SetEnvironmentName(v string) *UpdateEnvironmentOutput { - s.EnvironmentName = &v - return s -} - -// SetHealth sets the Health field's value. -func (s *UpdateEnvironmentOutput) SetHealth(v EnvironmentHealth) *UpdateEnvironmentOutput { - s.Health = v - return s -} - -// SetHealthStatus sets the HealthStatus field's value. -func (s *UpdateEnvironmentOutput) SetHealthStatus(v EnvironmentHealthStatus) *UpdateEnvironmentOutput { - s.HealthStatus = v - return s -} - -// SetPlatformArn sets the PlatformArn field's value. -func (s *UpdateEnvironmentOutput) SetPlatformArn(v string) *UpdateEnvironmentOutput { - s.PlatformArn = &v - return s -} - -// SetResources sets the Resources field's value. -func (s *UpdateEnvironmentOutput) SetResources(v *EnvironmentResourcesDescription) *UpdateEnvironmentOutput { - s.Resources = v - return s -} - -// SetSolutionStackName sets the SolutionStackName field's value. -func (s *UpdateEnvironmentOutput) SetSolutionStackName(v string) *UpdateEnvironmentOutput { - s.SolutionStackName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *UpdateEnvironmentOutput) SetStatus(v EnvironmentStatus) *UpdateEnvironmentOutput { - s.Status = v - return s -} - -// SetTemplateName sets the TemplateName field's value. -func (s *UpdateEnvironmentOutput) SetTemplateName(v string) *UpdateEnvironmentOutput { - s.TemplateName = &v - return s -} - -// SetTier sets the Tier field's value. -func (s *UpdateEnvironmentOutput) SetTier(v *EnvironmentTier) *UpdateEnvironmentOutput { - s.Tier = v - return s -} - -// SetVersionLabel sets the VersionLabel field's value. -func (s *UpdateEnvironmentOutput) SetVersionLabel(v string) *UpdateEnvironmentOutput { - s.VersionLabel = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateTagsForResourceMessage type UpdateTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -9929,24 +7367,6 @@ func (s *UpdateTagsForResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *UpdateTagsForResourceInput) SetResourceArn(v string) *UpdateTagsForResourceInput { - s.ResourceArn = &v - return s -} - -// SetTagsToAdd sets the TagsToAdd field's value. -func (s *UpdateTagsForResourceInput) SetTagsToAdd(v []Tag) *UpdateTagsForResourceInput { - s.TagsToAdd = v - return s -} - -// SetTagsToRemove sets the TagsToRemove field's value. -func (s *UpdateTagsForResourceInput) SetTagsToRemove(v []string) *UpdateTagsForResourceInput { - s.TagsToRemove = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateTagsForResourceOutput type UpdateTagsForResourceOutput struct { _ struct{} `type:"structure"` @@ -10040,30 +7460,6 @@ func (s *ValidateConfigurationSettingsInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *ValidateConfigurationSettingsInput) SetApplicationName(v string) *ValidateConfigurationSettingsInput { - s.ApplicationName = &v - return s -} - -// SetEnvironmentName sets the EnvironmentName field's value. -func (s *ValidateConfigurationSettingsInput) SetEnvironmentName(v string) *ValidateConfigurationSettingsInput { - s.EnvironmentName = &v - return s -} - -// SetOptionSettings sets the OptionSettings field's value. -func (s *ValidateConfigurationSettingsInput) SetOptionSettings(v []ConfigurationOptionSetting) *ValidateConfigurationSettingsInput { - s.OptionSettings = v - return s -} - -// SetTemplateName sets the TemplateName field's value. -func (s *ValidateConfigurationSettingsInput) SetTemplateName(v string) *ValidateConfigurationSettingsInput { - s.TemplateName = &v - return s -} - // Provides a list of validation messages. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ConfigurationSettingsValidationMessages type ValidateConfigurationSettingsOutput struct { @@ -10090,12 +7486,6 @@ func (s ValidateConfigurationSettingsOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetMessages sets the Messages field's value. -func (s *ValidateConfigurationSettingsOutput) SetMessages(v []ValidationMessage) *ValidateConfigurationSettingsOutput { - s.Messages = v - return s -} - // An error or warning for a desired configuration option value. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ValidationMessage type ValidationMessage struct { @@ -10130,30 +7520,6 @@ func (s ValidationMessage) GoString() string { return s.String() } -// SetMessage sets the Message field's value. -func (s *ValidationMessage) SetMessage(v string) *ValidationMessage { - s.Message = &v - return s -} - -// SetNamespace sets the Namespace field's value. -func (s *ValidationMessage) SetNamespace(v string) *ValidationMessage { - s.Namespace = &v - return s -} - -// SetOptionName sets the OptionName field's value. -func (s *ValidationMessage) SetOptionName(v string) *ValidationMessage { - s.OptionName = &v - return s -} - -// SetSeverity sets the Severity field's value. -func (s *ValidationMessage) SetSeverity(v ValidationSeverity) *ValidationMessage { - s.Severity = v - return s -} - type ActionHistoryStatus string // Enum values for ActionHistoryStatus diff --git a/service/elasticsearchservice/api.go b/service/elasticsearchservice/api.go index 4eeb9fa4c2c..c3c56ab2a40 100644 --- a/service/elasticsearchservice/api.go +++ b/service/elasticsearchservice/api.go @@ -835,18 +835,6 @@ func (s AccessPoliciesStatus) GoString() string { return s.String() } -// SetOptions sets the Options field's value. -func (s *AccessPoliciesStatus) SetOptions(v string) *AccessPoliciesStatus { - s.Options = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *AccessPoliciesStatus) SetStatus(v *OptionStatus) *AccessPoliciesStatus { - s.Status = v - return s -} - // Container for the parameters to the AddTags operation. Specify the tags that // you want to attach to the Elasticsearch domain. type AddTagsInput struct { @@ -898,18 +886,6 @@ func (s *AddTagsInput) Validate() error { return nil } -// SetARN sets the ARN field's value. -func (s *AddTagsInput) SetARN(v string) *AddTagsInput { - s.ARN = &v - return s -} - -// SetTagList sets the TagList field's value. -func (s *AddTagsInput) SetTagList(v []Tag) *AddTagsInput { - s.TagList = v - return s -} - type AddTagsOutput struct { _ struct{} `type:"structure"` @@ -958,18 +934,6 @@ func (s AdditionalLimit) GoString() string { return s.String() } -// SetLimitName sets the LimitName field's value. -func (s *AdditionalLimit) SetLimitName(v string) *AdditionalLimit { - s.LimitName = &v - return s -} - -// SetLimitValues sets the LimitValues field's value. -func (s *AdditionalLimit) SetLimitValues(v []string) *AdditionalLimit { - s.LimitValues = v - return s -} - // Status of the advanced options for the specified Elasticsearch domain. Currently, // the following advanced options are available: // @@ -1006,18 +970,6 @@ func (s AdvancedOptionsStatus) GoString() string { return s.String() } -// SetOptions sets the Options field's value. -func (s *AdvancedOptionsStatus) SetOptions(v map[string]string) *AdvancedOptionsStatus { - s.Options = v - return s -} - -// SetStatus sets the Status field's value. -func (s *AdvancedOptionsStatus) SetStatus(v *OptionStatus) *AdvancedOptionsStatus { - s.Status = v - return s -} - type CreateElasticsearchDomainInput struct { _ struct{} `type:"structure"` @@ -1100,66 +1052,6 @@ func (s *CreateElasticsearchDomainInput) Validate() error { return nil } -// SetAccessPolicies sets the AccessPolicies field's value. -func (s *CreateElasticsearchDomainInput) SetAccessPolicies(v string) *CreateElasticsearchDomainInput { - s.AccessPolicies = &v - return s -} - -// SetAdvancedOptions sets the AdvancedOptions field's value. -func (s *CreateElasticsearchDomainInput) SetAdvancedOptions(v map[string]string) *CreateElasticsearchDomainInput { - s.AdvancedOptions = v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *CreateElasticsearchDomainInput) SetDomainName(v string) *CreateElasticsearchDomainInput { - s.DomainName = &v - return s -} - -// SetEBSOptions sets the EBSOptions field's value. -func (s *CreateElasticsearchDomainInput) SetEBSOptions(v *EBSOptions) *CreateElasticsearchDomainInput { - s.EBSOptions = v - return s -} - -// SetElasticsearchClusterConfig sets the ElasticsearchClusterConfig field's value. -func (s *CreateElasticsearchDomainInput) SetElasticsearchClusterConfig(v *ElasticsearchClusterConfig) *CreateElasticsearchDomainInput { - s.ElasticsearchClusterConfig = v - return s -} - -// SetElasticsearchVersion sets the ElasticsearchVersion field's value. -func (s *CreateElasticsearchDomainInput) SetElasticsearchVersion(v string) *CreateElasticsearchDomainInput { - s.ElasticsearchVersion = &v - return s -} - -// SetEncryptionAtRestOptions sets the EncryptionAtRestOptions field's value. -func (s *CreateElasticsearchDomainInput) SetEncryptionAtRestOptions(v *EncryptionAtRestOptions) *CreateElasticsearchDomainInput { - s.EncryptionAtRestOptions = v - return s -} - -// SetLogPublishingOptions sets the LogPublishingOptions field's value. -func (s *CreateElasticsearchDomainInput) SetLogPublishingOptions(v map[string]LogPublishingOption) *CreateElasticsearchDomainInput { - s.LogPublishingOptions = v - return s -} - -// SetSnapshotOptions sets the SnapshotOptions field's value. -func (s *CreateElasticsearchDomainInput) SetSnapshotOptions(v *SnapshotOptions) *CreateElasticsearchDomainInput { - s.SnapshotOptions = v - return s -} - -// SetVPCOptions sets the VPCOptions field's value. -func (s *CreateElasticsearchDomainInput) SetVPCOptions(v *VPCOptions) *CreateElasticsearchDomainInput { - s.VPCOptions = v - return s -} - // The result of a CreateElasticsearchDomain operation. Contains the status // of the newly created Elasticsearch domain. type CreateElasticsearchDomainOutput struct { @@ -1186,12 +1078,6 @@ func (s CreateElasticsearchDomainOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDomainStatus sets the DomainStatus field's value. -func (s *CreateElasticsearchDomainOutput) SetDomainStatus(v *ElasticsearchDomainStatus) *CreateElasticsearchDomainOutput { - s.DomainStatus = v - return s -} - // Container for the parameters to the DeleteElasticsearchDomain operation. // Specifies the name of the Elasticsearch domain that you want to delete. type DeleteElasticsearchDomainInput struct { @@ -1230,12 +1116,6 @@ func (s *DeleteElasticsearchDomainInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DeleteElasticsearchDomainInput) SetDomainName(v string) *DeleteElasticsearchDomainInput { - s.DomainName = &v - return s -} - // The result of a DeleteElasticsearchDomain request. Contains the status of // the pending deletion, or no status if the domain and all of its resources // have been deleted. @@ -1263,12 +1143,6 @@ func (s DeleteElasticsearchDomainOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDomainStatus sets the DomainStatus field's value. -func (s *DeleteElasticsearchDomainOutput) SetDomainStatus(v *ElasticsearchDomainStatus) *DeleteElasticsearchDomainOutput { - s.DomainStatus = v - return s -} - type DeleteElasticsearchServiceRoleInput struct { _ struct{} `type:"structure"` } @@ -1342,12 +1216,6 @@ func (s *DescribeElasticsearchDomainConfigInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DescribeElasticsearchDomainConfigInput) SetDomainName(v string) *DescribeElasticsearchDomainConfigInput { - s.DomainName = &v - return s -} - // The result of a DescribeElasticsearchDomainConfig request. Contains the configuration // information of the requested domain. type DescribeElasticsearchDomainConfigOutput struct { @@ -1377,12 +1245,6 @@ func (s DescribeElasticsearchDomainConfigOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetDomainConfig sets the DomainConfig field's value. -func (s *DescribeElasticsearchDomainConfigOutput) SetDomainConfig(v *ElasticsearchDomainConfig) *DescribeElasticsearchDomainConfigOutput { - s.DomainConfig = v - return s -} - // Container for the parameters to the DescribeElasticsearchDomain operation. type DescribeElasticsearchDomainInput struct { _ struct{} `type:"structure"` @@ -1420,12 +1282,6 @@ func (s *DescribeElasticsearchDomainInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DescribeElasticsearchDomainInput) SetDomainName(v string) *DescribeElasticsearchDomainInput { - s.DomainName = &v - return s -} - // The result of a DescribeElasticsearchDomain request. Contains the status // of the domain specified in the request. type DescribeElasticsearchDomainOutput struct { @@ -1454,12 +1310,6 @@ func (s DescribeElasticsearchDomainOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDomainStatus sets the DomainStatus field's value. -func (s *DescribeElasticsearchDomainOutput) SetDomainStatus(v *ElasticsearchDomainStatus) *DescribeElasticsearchDomainOutput { - s.DomainStatus = v - return s -} - // Container for the parameters to the DescribeElasticsearchDomains operation. // By default, the API returns the status of all Elasticsearch domains. type DescribeElasticsearchDomainsInput struct { @@ -1495,12 +1345,6 @@ func (s *DescribeElasticsearchDomainsInput) Validate() error { return nil } -// SetDomainNames sets the DomainNames field's value. -func (s *DescribeElasticsearchDomainsInput) SetDomainNames(v []string) *DescribeElasticsearchDomainsInput { - s.DomainNames = v - return s -} - // The result of a DescribeElasticsearchDomains request. Contains the status // of the specified domains or all domains owned by the account. type DescribeElasticsearchDomainsOutput struct { @@ -1529,12 +1373,6 @@ func (s DescribeElasticsearchDomainsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDomainStatusList sets the DomainStatusList field's value. -func (s *DescribeElasticsearchDomainsOutput) SetDomainStatusList(v []ElasticsearchDomainStatus) *DescribeElasticsearchDomainsOutput { - s.DomainStatusList = v - return s -} - // Container for the parameters to DescribeElasticsearchInstanceTypeLimits operation. type DescribeElasticsearchInstanceTypeLimitsInput struct { _ struct{} `type:"structure"` @@ -1586,24 +1424,6 @@ func (s *DescribeElasticsearchInstanceTypeLimitsInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DescribeElasticsearchInstanceTypeLimitsInput) SetDomainName(v string) *DescribeElasticsearchInstanceTypeLimitsInput { - s.DomainName = &v - return s -} - -// SetElasticsearchVersion sets the ElasticsearchVersion field's value. -func (s *DescribeElasticsearchInstanceTypeLimitsInput) SetElasticsearchVersion(v string) *DescribeElasticsearchInstanceTypeLimitsInput { - s.ElasticsearchVersion = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *DescribeElasticsearchInstanceTypeLimitsInput) SetInstanceType(v ESPartitionInstanceType) *DescribeElasticsearchInstanceTypeLimitsInput { - s.InstanceType = v - return s -} - // Container for the parameters received from DescribeElasticsearchInstanceTypeLimits // operation. type DescribeElasticsearchInstanceTypeLimitsOutput struct { @@ -1633,12 +1453,6 @@ func (s DescribeElasticsearchInstanceTypeLimitsOutput) SDKResponseMetadata() aws return s.responseMetadata } -// SetLimitsByRole sets the LimitsByRole field's value. -func (s *DescribeElasticsearchInstanceTypeLimitsOutput) SetLimitsByRole(v map[string]Limits) *DescribeElasticsearchInstanceTypeLimitsOutput { - s.LimitsByRole = v - return s -} - type DomainInfo struct { _ struct{} `type:"structure"` @@ -1656,12 +1470,6 @@ func (s DomainInfo) GoString() string { return s.String() } -// SetDomainName sets the DomainName field's value. -func (s *DomainInfo) SetDomainName(v string) *DomainInfo { - s.DomainName = &v - return s -} - // Options to enable, disable, and specify the properties of EBS storage volumes. // For more information, see Configuring EBS-based Storage (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs). type EBSOptions struct { @@ -1690,30 +1498,6 @@ func (s EBSOptions) GoString() string { return s.String() } -// SetEBSEnabled sets the EBSEnabled field's value. -func (s *EBSOptions) SetEBSEnabled(v bool) *EBSOptions { - s.EBSEnabled = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *EBSOptions) SetIops(v int64) *EBSOptions { - s.Iops = &v - return s -} - -// SetVolumeSize sets the VolumeSize field's value. -func (s *EBSOptions) SetVolumeSize(v int64) *EBSOptions { - s.VolumeSize = &v - return s -} - -// SetVolumeType sets the VolumeType field's value. -func (s *EBSOptions) SetVolumeType(v VolumeType) *EBSOptions { - s.VolumeType = v - return s -} - // Status of the EBS options for the specified Elasticsearch domain. type EBSOptionsStatus struct { _ struct{} `type:"structure"` @@ -1739,18 +1523,6 @@ func (s EBSOptionsStatus) GoString() string { return s.String() } -// SetOptions sets the Options field's value. -func (s *EBSOptionsStatus) SetOptions(v *EBSOptions) *EBSOptionsStatus { - s.Options = v - return s -} - -// SetStatus sets the Status field's value. -func (s *EBSOptionsStatus) SetStatus(v *OptionStatus) *EBSOptionsStatus { - s.Status = v - return s -} - // Specifies the configuration for the domain cluster, such as the type and // number of instances. type ElasticsearchClusterConfig struct { @@ -1789,42 +1561,6 @@ func (s ElasticsearchClusterConfig) GoString() string { return s.String() } -// SetDedicatedMasterCount sets the DedicatedMasterCount field's value. -func (s *ElasticsearchClusterConfig) SetDedicatedMasterCount(v int64) *ElasticsearchClusterConfig { - s.DedicatedMasterCount = &v - return s -} - -// SetDedicatedMasterEnabled sets the DedicatedMasterEnabled field's value. -func (s *ElasticsearchClusterConfig) SetDedicatedMasterEnabled(v bool) *ElasticsearchClusterConfig { - s.DedicatedMasterEnabled = &v - return s -} - -// SetDedicatedMasterType sets the DedicatedMasterType field's value. -func (s *ElasticsearchClusterConfig) SetDedicatedMasterType(v ESPartitionInstanceType) *ElasticsearchClusterConfig { - s.DedicatedMasterType = v - return s -} - -// SetInstanceCount sets the InstanceCount field's value. -func (s *ElasticsearchClusterConfig) SetInstanceCount(v int64) *ElasticsearchClusterConfig { - s.InstanceCount = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *ElasticsearchClusterConfig) SetInstanceType(v ESPartitionInstanceType) *ElasticsearchClusterConfig { - s.InstanceType = v - return s -} - -// SetZoneAwarenessEnabled sets the ZoneAwarenessEnabled field's value. -func (s *ElasticsearchClusterConfig) SetZoneAwarenessEnabled(v bool) *ElasticsearchClusterConfig { - s.ZoneAwarenessEnabled = &v - return s -} - // Specifies the configuration status for the specified Elasticsearch domain. type ElasticsearchClusterConfigStatus struct { _ struct{} `type:"structure"` @@ -1851,18 +1587,6 @@ func (s ElasticsearchClusterConfigStatus) GoString() string { return s.String() } -// SetOptions sets the Options field's value. -func (s *ElasticsearchClusterConfigStatus) SetOptions(v *ElasticsearchClusterConfig) *ElasticsearchClusterConfigStatus { - s.Options = v - return s -} - -// SetStatus sets the Status field's value. -func (s *ElasticsearchClusterConfigStatus) SetStatus(v *OptionStatus) *ElasticsearchClusterConfigStatus { - s.Status = v - return s -} - // The configuration of an Elasticsearch domain. type ElasticsearchDomainConfig struct { _ struct{} `type:"structure"` @@ -1908,60 +1632,6 @@ func (s ElasticsearchDomainConfig) GoString() string { return s.String() } -// SetAccessPolicies sets the AccessPolicies field's value. -func (s *ElasticsearchDomainConfig) SetAccessPolicies(v *AccessPoliciesStatus) *ElasticsearchDomainConfig { - s.AccessPolicies = v - return s -} - -// SetAdvancedOptions sets the AdvancedOptions field's value. -func (s *ElasticsearchDomainConfig) SetAdvancedOptions(v *AdvancedOptionsStatus) *ElasticsearchDomainConfig { - s.AdvancedOptions = v - return s -} - -// SetEBSOptions sets the EBSOptions field's value. -func (s *ElasticsearchDomainConfig) SetEBSOptions(v *EBSOptionsStatus) *ElasticsearchDomainConfig { - s.EBSOptions = v - return s -} - -// SetElasticsearchClusterConfig sets the ElasticsearchClusterConfig field's value. -func (s *ElasticsearchDomainConfig) SetElasticsearchClusterConfig(v *ElasticsearchClusterConfigStatus) *ElasticsearchDomainConfig { - s.ElasticsearchClusterConfig = v - return s -} - -// SetElasticsearchVersion sets the ElasticsearchVersion field's value. -func (s *ElasticsearchDomainConfig) SetElasticsearchVersion(v *ElasticsearchVersionStatus) *ElasticsearchDomainConfig { - s.ElasticsearchVersion = v - return s -} - -// SetEncryptionAtRestOptions sets the EncryptionAtRestOptions field's value. -func (s *ElasticsearchDomainConfig) SetEncryptionAtRestOptions(v *EncryptionAtRestOptionsStatus) *ElasticsearchDomainConfig { - s.EncryptionAtRestOptions = v - return s -} - -// SetLogPublishingOptions sets the LogPublishingOptions field's value. -func (s *ElasticsearchDomainConfig) SetLogPublishingOptions(v *LogPublishingOptionsStatus) *ElasticsearchDomainConfig { - s.LogPublishingOptions = v - return s -} - -// SetSnapshotOptions sets the SnapshotOptions field's value. -func (s *ElasticsearchDomainConfig) SetSnapshotOptions(v *SnapshotOptionsStatus) *ElasticsearchDomainConfig { - s.SnapshotOptions = v - return s -} - -// SetVPCOptions sets the VPCOptions field's value. -func (s *ElasticsearchDomainConfig) SetVPCOptions(v *VPCDerivedInfoStatus) *ElasticsearchDomainConfig { - s.VPCOptions = v - return s -} - // The current status of an Elasticsearch domain. type ElasticsearchDomainStatus struct { _ struct{} `type:"structure"` @@ -2051,108 +1721,6 @@ func (s ElasticsearchDomainStatus) GoString() string { return s.String() } -// SetARN sets the ARN field's value. -func (s *ElasticsearchDomainStatus) SetARN(v string) *ElasticsearchDomainStatus { - s.ARN = &v - return s -} - -// SetAccessPolicies sets the AccessPolicies field's value. -func (s *ElasticsearchDomainStatus) SetAccessPolicies(v string) *ElasticsearchDomainStatus { - s.AccessPolicies = &v - return s -} - -// SetAdvancedOptions sets the AdvancedOptions field's value. -func (s *ElasticsearchDomainStatus) SetAdvancedOptions(v map[string]string) *ElasticsearchDomainStatus { - s.AdvancedOptions = v - return s -} - -// SetCreated sets the Created field's value. -func (s *ElasticsearchDomainStatus) SetCreated(v bool) *ElasticsearchDomainStatus { - s.Created = &v - return s -} - -// SetDeleted sets the Deleted field's value. -func (s *ElasticsearchDomainStatus) SetDeleted(v bool) *ElasticsearchDomainStatus { - s.Deleted = &v - return s -} - -// SetDomainId sets the DomainId field's value. -func (s *ElasticsearchDomainStatus) SetDomainId(v string) *ElasticsearchDomainStatus { - s.DomainId = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *ElasticsearchDomainStatus) SetDomainName(v string) *ElasticsearchDomainStatus { - s.DomainName = &v - return s -} - -// SetEBSOptions sets the EBSOptions field's value. -func (s *ElasticsearchDomainStatus) SetEBSOptions(v *EBSOptions) *ElasticsearchDomainStatus { - s.EBSOptions = v - return s -} - -// SetElasticsearchClusterConfig sets the ElasticsearchClusterConfig field's value. -func (s *ElasticsearchDomainStatus) SetElasticsearchClusterConfig(v *ElasticsearchClusterConfig) *ElasticsearchDomainStatus { - s.ElasticsearchClusterConfig = v - return s -} - -// SetElasticsearchVersion sets the ElasticsearchVersion field's value. -func (s *ElasticsearchDomainStatus) SetElasticsearchVersion(v string) *ElasticsearchDomainStatus { - s.ElasticsearchVersion = &v - return s -} - -// SetEncryptionAtRestOptions sets the EncryptionAtRestOptions field's value. -func (s *ElasticsearchDomainStatus) SetEncryptionAtRestOptions(v *EncryptionAtRestOptions) *ElasticsearchDomainStatus { - s.EncryptionAtRestOptions = v - return s -} - -// SetEndpoint sets the Endpoint field's value. -func (s *ElasticsearchDomainStatus) SetEndpoint(v string) *ElasticsearchDomainStatus { - s.Endpoint = &v - return s -} - -// SetEndpoints sets the Endpoints field's value. -func (s *ElasticsearchDomainStatus) SetEndpoints(v map[string]string) *ElasticsearchDomainStatus { - s.Endpoints = v - return s -} - -// SetLogPublishingOptions sets the LogPublishingOptions field's value. -func (s *ElasticsearchDomainStatus) SetLogPublishingOptions(v map[string]LogPublishingOption) *ElasticsearchDomainStatus { - s.LogPublishingOptions = v - return s -} - -// SetProcessing sets the Processing field's value. -func (s *ElasticsearchDomainStatus) SetProcessing(v bool) *ElasticsearchDomainStatus { - s.Processing = &v - return s -} - -// SetSnapshotOptions sets the SnapshotOptions field's value. -func (s *ElasticsearchDomainStatus) SetSnapshotOptions(v *SnapshotOptions) *ElasticsearchDomainStatus { - s.SnapshotOptions = v - return s -} - -// SetVPCOptions sets the VPCOptions field's value. -func (s *ElasticsearchDomainStatus) SetVPCOptions(v *VPCDerivedInfo) *ElasticsearchDomainStatus { - s.VPCOptions = v - return s -} - // Status of the Elasticsearch version options for the specified Elasticsearch // domain. type ElasticsearchVersionStatus struct { @@ -2180,18 +1748,6 @@ func (s ElasticsearchVersionStatus) GoString() string { return s.String() } -// SetOptions sets the Options field's value. -func (s *ElasticsearchVersionStatus) SetOptions(v string) *ElasticsearchVersionStatus { - s.Options = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ElasticsearchVersionStatus) SetStatus(v *OptionStatus) *ElasticsearchVersionStatus { - s.Status = v - return s -} - // Specifies the Encryption At Rest Options. type EncryptionAtRestOptions struct { _ struct{} `type:"structure"` @@ -2226,18 +1782,6 @@ func (s *EncryptionAtRestOptions) Validate() error { return nil } -// SetEnabled sets the Enabled field's value. -func (s *EncryptionAtRestOptions) SetEnabled(v bool) *EncryptionAtRestOptions { - s.Enabled = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *EncryptionAtRestOptions) SetKmsKeyId(v string) *EncryptionAtRestOptions { - s.KmsKeyId = &v - return s -} - // Status of the Encryption At Rest options for the specified Elasticsearch // domain. type EncryptionAtRestOptionsStatus struct { @@ -2266,18 +1810,6 @@ func (s EncryptionAtRestOptionsStatus) GoString() string { return s.String() } -// SetOptions sets the Options field's value. -func (s *EncryptionAtRestOptionsStatus) SetOptions(v *EncryptionAtRestOptions) *EncryptionAtRestOptionsStatus { - s.Options = v - return s -} - -// SetStatus sets the Status field's value. -func (s *EncryptionAtRestOptionsStatus) SetStatus(v *OptionStatus) *EncryptionAtRestOptionsStatus { - s.Status = v - return s -} - // InstanceCountLimits represents the limits on number of instances that be // created in Amazon Elasticsearch for given InstanceType. type InstanceCountLimits struct { @@ -2300,18 +1832,6 @@ func (s InstanceCountLimits) GoString() string { return s.String() } -// SetMaximumInstanceCount sets the MaximumInstanceCount field's value. -func (s *InstanceCountLimits) SetMaximumInstanceCount(v int64) *InstanceCountLimits { - s.MaximumInstanceCount = &v - return s -} - -// SetMinimumInstanceCount sets the MinimumInstanceCount field's value. -func (s *InstanceCountLimits) SetMinimumInstanceCount(v int64) *InstanceCountLimits { - s.MinimumInstanceCount = &v - return s -} - // InstanceLimits represents the list of instance related attributes that are // available for given InstanceType. type InstanceLimits struct { @@ -2332,12 +1852,6 @@ func (s InstanceLimits) GoString() string { return s.String() } -// SetInstanceCountLimits sets the InstanceCountLimits field's value. -func (s *InstanceLimits) SetInstanceCountLimits(v *InstanceCountLimits) *InstanceLimits { - s.InstanceCountLimits = v - return s -} - // Limits for given InstanceType and for each of it's role. Limits contains following StorageTypes, InstanceLimitsand AdditionalLimits type Limits struct { _ struct{} `type:"structure"` @@ -2365,24 +1879,6 @@ func (s Limits) GoString() string { return s.String() } -// SetAdditionalLimits sets the AdditionalLimits field's value. -func (s *Limits) SetAdditionalLimits(v []AdditionalLimit) *Limits { - s.AdditionalLimits = v - return s -} - -// SetInstanceLimits sets the InstanceLimits field's value. -func (s *Limits) SetInstanceLimits(v *InstanceLimits) *Limits { - s.InstanceLimits = v - return s -} - -// SetStorageTypes sets the StorageTypes field's value. -func (s *Limits) SetStorageTypes(v []StorageType) *Limits { - s.StorageTypes = v - return s -} - type ListDomainNamesInput struct { _ struct{} `type:"structure"` } @@ -2423,12 +1919,6 @@ func (s ListDomainNamesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDomainNames sets the DomainNames field's value. -func (s *ListDomainNamesOutput) SetDomainNames(v []DomainInfo) *ListDomainNamesOutput { - s.DomainNames = v - return s -} - // Container for the parameters to the ListElasticsearchInstanceTypes operation. type ListElasticsearchInstanceTypesInput struct { _ struct{} `type:"structure"` @@ -2480,30 +1970,6 @@ func (s *ListElasticsearchInstanceTypesInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *ListElasticsearchInstanceTypesInput) SetDomainName(v string) *ListElasticsearchInstanceTypesInput { - s.DomainName = &v - return s -} - -// SetElasticsearchVersion sets the ElasticsearchVersion field's value. -func (s *ListElasticsearchInstanceTypesInput) SetElasticsearchVersion(v string) *ListElasticsearchInstanceTypesInput { - s.ElasticsearchVersion = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListElasticsearchInstanceTypesInput) SetMaxResults(v int64) *ListElasticsearchInstanceTypesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListElasticsearchInstanceTypesInput) SetNextToken(v string) *ListElasticsearchInstanceTypesInput { - s.NextToken = &v - return s -} - // Container for the parameters returned by ListElasticsearchInstanceTypes operation. type ListElasticsearchInstanceTypesOutput struct { _ struct{} `type:"structure"` @@ -2535,18 +2001,6 @@ func (s ListElasticsearchInstanceTypesOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetElasticsearchInstanceTypes sets the ElasticsearchInstanceTypes field's value. -func (s *ListElasticsearchInstanceTypesOutput) SetElasticsearchInstanceTypes(v []ESPartitionInstanceType) *ListElasticsearchInstanceTypesOutput { - s.ElasticsearchInstanceTypes = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListElasticsearchInstanceTypesOutput) SetNextToken(v string) *ListElasticsearchInstanceTypesOutput { - s.NextToken = &v - return s -} - // Container for the parameters to the ListElasticsearchVersions operation. // Use MaxResults to control the maximum number of results to retrieve in a // single call. @@ -2576,18 +2030,6 @@ func (s ListElasticsearchVersionsInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *ListElasticsearchVersionsInput) SetMaxResults(v int64) *ListElasticsearchVersionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListElasticsearchVersionsInput) SetNextToken(v string) *ListElasticsearchVersionsInput { - s.NextToken = &v - return s -} - // Container for the parameters for response received from ListElasticsearchVersions // operation. type ListElasticsearchVersionsOutput struct { @@ -2619,18 +2061,6 @@ func (s ListElasticsearchVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetElasticsearchVersions sets the ElasticsearchVersions field's value. -func (s *ListElasticsearchVersionsOutput) SetElasticsearchVersions(v []string) *ListElasticsearchVersionsOutput { - s.ElasticsearchVersions = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListElasticsearchVersionsOutput) SetNextToken(v string) *ListElasticsearchVersionsOutput { - s.NextToken = &v - return s -} - // Container for the parameters to the ListTags operation. Specify the ARN for // the Elasticsearch domain to which the tags are attached that you want to // view are attached. @@ -2668,12 +2098,6 @@ func (s *ListTagsInput) Validate() error { return nil } -// SetARN sets the ARN field's value. -func (s *ListTagsInput) SetARN(v string) *ListTagsInput { - s.ARN = &v - return s -} - // The result of a ListTags operation. Contains tags for all requested Elasticsearch // domains. type ListTagsOutput struct { @@ -2700,12 +2124,6 @@ func (s ListTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTagList sets the TagList field's value. -func (s *ListTagsOutput) SetTagList(v []Tag) *ListTagsOutput { - s.TagList = v - return s -} - // Log Publishing option that is set for given domain. Attributes and their details: CloudWatchLogsLogGroupArn: ARN of the Cloudwatch // log group to which log needs to be published. // Enabled: Whether the log publishing for given log type is enabled or not @@ -2729,18 +2147,6 @@ func (s LogPublishingOption) GoString() string { return s.String() } -// SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value. -func (s *LogPublishingOption) SetCloudWatchLogsLogGroupArn(v string) *LogPublishingOption { - s.CloudWatchLogsLogGroupArn = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *LogPublishingOption) SetEnabled(v bool) *LogPublishingOption { - s.Enabled = &v - return s -} - // The configured log publishing options for the domain and their current status. type LogPublishingOptionsStatus struct { _ struct{} `type:"structure"` @@ -2763,18 +2169,6 @@ func (s LogPublishingOptionsStatus) GoString() string { return s.String() } -// SetOptions sets the Options field's value. -func (s *LogPublishingOptionsStatus) SetOptions(v map[string]LogPublishingOption) *LogPublishingOptionsStatus { - s.Options = v - return s -} - -// SetStatus sets the Status field's value. -func (s *LogPublishingOptionsStatus) SetStatus(v *OptionStatus) *LogPublishingOptionsStatus { - s.Status = v - return s -} - // Provides the current status of the entity. type OptionStatus struct { _ struct{} `type:"structure"` @@ -2811,36 +2205,6 @@ func (s OptionStatus) GoString() string { return s.String() } -// SetCreationDate sets the CreationDate field's value. -func (s *OptionStatus) SetCreationDate(v time.Time) *OptionStatus { - s.CreationDate = &v - return s -} - -// SetPendingDeletion sets the PendingDeletion field's value. -func (s *OptionStatus) SetPendingDeletion(v bool) *OptionStatus { - s.PendingDeletion = &v - return s -} - -// SetState sets the State field's value. -func (s *OptionStatus) SetState(v OptionState) *OptionStatus { - s.State = v - return s -} - -// SetUpdateDate sets the UpdateDate field's value. -func (s *OptionStatus) SetUpdateDate(v time.Time) *OptionStatus { - s.UpdateDate = &v - return s -} - -// SetUpdateVersion sets the UpdateVersion field's value. -func (s *OptionStatus) SetUpdateVersion(v int64) *OptionStatus { - s.UpdateVersion = &v - return s -} - // Container for the parameters to the RemoveTags operation. Specify the ARN // for the Elasticsearch domain from which you want to remove the specified // TagKey. @@ -2888,18 +2252,6 @@ func (s *RemoveTagsInput) Validate() error { return nil } -// SetARN sets the ARN field's value. -func (s *RemoveTagsInput) SetARN(v string) *RemoveTagsInput { - s.ARN = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *RemoveTagsInput) SetTagKeys(v []string) *RemoveTagsInput { - s.TagKeys = v - return s -} - type RemoveTagsOutput struct { _ struct{} `type:"structure"` @@ -2941,12 +2293,6 @@ func (s SnapshotOptions) GoString() string { return s.String() } -// SetAutomatedSnapshotStartHour sets the AutomatedSnapshotStartHour field's value. -func (s *SnapshotOptions) SetAutomatedSnapshotStartHour(v int64) *SnapshotOptions { - s.AutomatedSnapshotStartHour = &v - return s -} - // Status of a daily automated snapshot. type SnapshotOptionsStatus struct { _ struct{} `type:"structure"` @@ -2972,18 +2318,6 @@ func (s SnapshotOptionsStatus) GoString() string { return s.String() } -// SetOptions sets the Options field's value. -func (s *SnapshotOptionsStatus) SetOptions(v *SnapshotOptions) *SnapshotOptionsStatus { - s.Options = v - return s -} - -// SetStatus sets the Status field's value. -func (s *SnapshotOptionsStatus) SetStatus(v *OptionStatus) *SnapshotOptionsStatus { - s.Status = v - return s -} - // StorageTypes represents the list of storage related types and their attributes // that are available for given InstanceType. type StorageType struct { @@ -3016,24 +2350,6 @@ func (s StorageType) GoString() string { return s.String() } -// SetStorageSubTypeName sets the StorageSubTypeName field's value. -func (s *StorageType) SetStorageSubTypeName(v string) *StorageType { - s.StorageSubTypeName = &v - return s -} - -// SetStorageTypeLimits sets the StorageTypeLimits field's value. -func (s *StorageType) SetStorageTypeLimits(v []StorageTypeLimit) *StorageType { - s.StorageTypeLimits = v - return s -} - -// SetStorageTypeName sets the StorageTypeName field's value. -func (s *StorageType) SetStorageTypeName(v string) *StorageType { - s.StorageTypeName = &v - return s -} - // Limits that are applicable for given storage type. type StorageTypeLimit struct { _ struct{} `type:"structure"` @@ -3064,18 +2380,6 @@ func (s StorageTypeLimit) GoString() string { return s.String() } -// SetLimitName sets the LimitName field's value. -func (s *StorageTypeLimit) SetLimitName(v string) *StorageTypeLimit { - s.LimitName = &v - return s -} - -// SetLimitValues sets the LimitValues field's value. -func (s *StorageTypeLimit) SetLimitValues(v []string) *StorageTypeLimit { - s.LimitValues = v - return s -} - // Specifies a key value pair for a resource tag. type Tag struct { _ struct{} `type:"structure"` @@ -3126,18 +2430,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Container for the parameters to the UpdateElasticsearchDomain operation. // Specifies the type and number of instances in the domain cluster. type UpdateElasticsearchDomainConfigInput struct { @@ -3204,54 +2496,6 @@ func (s *UpdateElasticsearchDomainConfigInput) Validate() error { return nil } -// SetAccessPolicies sets the AccessPolicies field's value. -func (s *UpdateElasticsearchDomainConfigInput) SetAccessPolicies(v string) *UpdateElasticsearchDomainConfigInput { - s.AccessPolicies = &v - return s -} - -// SetAdvancedOptions sets the AdvancedOptions field's value. -func (s *UpdateElasticsearchDomainConfigInput) SetAdvancedOptions(v map[string]string) *UpdateElasticsearchDomainConfigInput { - s.AdvancedOptions = v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *UpdateElasticsearchDomainConfigInput) SetDomainName(v string) *UpdateElasticsearchDomainConfigInput { - s.DomainName = &v - return s -} - -// SetEBSOptions sets the EBSOptions field's value. -func (s *UpdateElasticsearchDomainConfigInput) SetEBSOptions(v *EBSOptions) *UpdateElasticsearchDomainConfigInput { - s.EBSOptions = v - return s -} - -// SetElasticsearchClusterConfig sets the ElasticsearchClusterConfig field's value. -func (s *UpdateElasticsearchDomainConfigInput) SetElasticsearchClusterConfig(v *ElasticsearchClusterConfig) *UpdateElasticsearchDomainConfigInput { - s.ElasticsearchClusterConfig = v - return s -} - -// SetLogPublishingOptions sets the LogPublishingOptions field's value. -func (s *UpdateElasticsearchDomainConfigInput) SetLogPublishingOptions(v map[string]LogPublishingOption) *UpdateElasticsearchDomainConfigInput { - s.LogPublishingOptions = v - return s -} - -// SetSnapshotOptions sets the SnapshotOptions field's value. -func (s *UpdateElasticsearchDomainConfigInput) SetSnapshotOptions(v *SnapshotOptions) *UpdateElasticsearchDomainConfigInput { - s.SnapshotOptions = v - return s -} - -// SetVPCOptions sets the VPCOptions field's value. -func (s *UpdateElasticsearchDomainConfigInput) SetVPCOptions(v *VPCOptions) *UpdateElasticsearchDomainConfigInput { - s.VPCOptions = v - return s -} - // The result of an UpdateElasticsearchDomain request. Contains the status of // the Elasticsearch domain being updated. type UpdateElasticsearchDomainConfigOutput struct { @@ -3280,12 +2524,6 @@ func (s UpdateElasticsearchDomainConfigOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetDomainConfig sets the DomainConfig field's value. -func (s *UpdateElasticsearchDomainConfigOutput) SetDomainConfig(v *ElasticsearchDomainConfig) *UpdateElasticsearchDomainConfigOutput { - s.DomainConfig = v - return s -} - // Options to specify the subnets and security groups for VPC endpoint. For // more information, see VPC Endpoints for Amazon Elasticsearch Service Domains // (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html). @@ -3317,30 +2555,6 @@ func (s VPCDerivedInfo) GoString() string { return s.String() } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *VPCDerivedInfo) SetAvailabilityZones(v []string) *VPCDerivedInfo { - s.AvailabilityZones = v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *VPCDerivedInfo) SetSecurityGroupIds(v []string) *VPCDerivedInfo { - s.SecurityGroupIds = v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *VPCDerivedInfo) SetSubnetIds(v []string) *VPCDerivedInfo { - s.SubnetIds = v - return s -} - -// SetVPCId sets the VPCId field's value. -func (s *VPCDerivedInfo) SetVPCId(v string) *VPCDerivedInfo { - s.VPCId = &v - return s -} - // Status of the VPC options for the specified Elasticsearch domain. type VPCDerivedInfoStatus struct { _ struct{} `type:"structure"` @@ -3366,18 +2580,6 @@ func (s VPCDerivedInfoStatus) GoString() string { return s.String() } -// SetOptions sets the Options field's value. -func (s *VPCDerivedInfoStatus) SetOptions(v *VPCDerivedInfo) *VPCDerivedInfoStatus { - s.Options = v - return s -} - -// SetStatus sets the Status field's value. -func (s *VPCDerivedInfoStatus) SetStatus(v *OptionStatus) *VPCDerivedInfoStatus { - s.Status = v - return s -} - // Options to specify the subnets and security groups for VPC endpoint. For // more information, see VPC Endpoints for Amazon Elasticsearch Service Domains // (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html). @@ -3401,18 +2603,6 @@ func (s VPCOptions) GoString() string { return s.String() } -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *VPCOptions) SetSecurityGroupIds(v []string) *VPCOptions { - s.SecurityGroupIds = v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *VPCOptions) SetSubnetIds(v []string) *VPCOptions { - s.SubnetIds = v - return s -} - type ESPartitionInstanceType string // Enum values for ESPartitionInstanceType diff --git a/service/elastictranscoder/api.go b/service/elastictranscoder/api.go index 21ece34b415..e752b9d15d8 100644 --- a/service/elastictranscoder/api.go +++ b/service/elastictranscoder/api.go @@ -1195,48 +1195,6 @@ func (s *Artwork) Validate() error { return nil } -// SetAlbumArtFormat sets the AlbumArtFormat field's value. -func (s *Artwork) SetAlbumArtFormat(v string) *Artwork { - s.AlbumArtFormat = &v - return s -} - -// SetEncryption sets the Encryption field's value. -func (s *Artwork) SetEncryption(v *Encryption) *Artwork { - s.Encryption = v - return s -} - -// SetInputKey sets the InputKey field's value. -func (s *Artwork) SetInputKey(v string) *Artwork { - s.InputKey = &v - return s -} - -// SetMaxHeight sets the MaxHeight field's value. -func (s *Artwork) SetMaxHeight(v string) *Artwork { - s.MaxHeight = &v - return s -} - -// SetMaxWidth sets the MaxWidth field's value. -func (s *Artwork) SetMaxWidth(v string) *Artwork { - s.MaxWidth = &v - return s -} - -// SetPaddingPolicy sets the PaddingPolicy field's value. -func (s *Artwork) SetPaddingPolicy(v string) *Artwork { - s.PaddingPolicy = &v - return s -} - -// SetSizingPolicy sets the SizingPolicy field's value. -func (s *Artwork) SetSizingPolicy(v string) *Artwork { - s.SizingPolicy = &v - return s -} - // Options associated with your audio codec. type AudioCodecOptions struct { _ struct{} `type:"structure"` @@ -1306,30 +1264,6 @@ func (s AudioCodecOptions) GoString() string { return s.String() } -// SetBitDepth sets the BitDepth field's value. -func (s *AudioCodecOptions) SetBitDepth(v string) *AudioCodecOptions { - s.BitDepth = &v - return s -} - -// SetBitOrder sets the BitOrder field's value. -func (s *AudioCodecOptions) SetBitOrder(v string) *AudioCodecOptions { - s.BitOrder = &v - return s -} - -// SetProfile sets the Profile field's value. -func (s *AudioCodecOptions) SetProfile(v string) *AudioCodecOptions { - s.Profile = &v - return s -} - -// SetSigned sets the Signed field's value. -func (s *AudioCodecOptions) SetSigned(v string) *AudioCodecOptions { - s.Signed = &v - return s -} - // Parameters required for transcoding audio. type AudioParameters struct { _ struct{} `type:"structure"` @@ -1504,42 +1438,6 @@ func (s AudioParameters) GoString() string { return s.String() } -// SetAudioPackingMode sets the AudioPackingMode field's value. -func (s *AudioParameters) SetAudioPackingMode(v string) *AudioParameters { - s.AudioPackingMode = &v - return s -} - -// SetBitRate sets the BitRate field's value. -func (s *AudioParameters) SetBitRate(v string) *AudioParameters { - s.BitRate = &v - return s -} - -// SetChannels sets the Channels field's value. -func (s *AudioParameters) SetChannels(v string) *AudioParameters { - s.Channels = &v - return s -} - -// SetCodec sets the Codec field's value. -func (s *AudioParameters) SetCodec(v string) *AudioParameters { - s.Codec = &v - return s -} - -// SetCodecOptions sets the CodecOptions field's value. -func (s *AudioParameters) SetCodecOptions(v *AudioCodecOptions) *AudioParameters { - s.CodecOptions = v - return s -} - -// SetSampleRate sets the SampleRate field's value. -func (s *AudioParameters) SetSampleRate(v string) *AudioParameters { - s.SampleRate = &v - return s -} - // The CancelJobRequest structure. type CancelJobInput struct { _ struct{} `type:"structure"` @@ -1577,12 +1475,6 @@ func (s *CancelJobInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *CancelJobInput) SetId(v string) *CancelJobInput { - s.Id = &v - return s -} - // The response body contains a JSON object. If the job is successfully canceled, // the value of Success is true. type CancelJobOutput struct { @@ -1672,24 +1564,6 @@ func (s CaptionFormat) GoString() string { return s.String() } -// SetEncryption sets the Encryption field's value. -func (s *CaptionFormat) SetEncryption(v *Encryption) *CaptionFormat { - s.Encryption = v - return s -} - -// SetFormat sets the Format field's value. -func (s *CaptionFormat) SetFormat(v string) *CaptionFormat { - s.Format = &v - return s -} - -// SetPattern sets the Pattern field's value. -func (s *CaptionFormat) SetPattern(v string) *CaptionFormat { - s.Pattern = &v - return s -} - // A source file for the input sidecar captions used during the transcoding // process. type CaptionSource struct { @@ -1758,36 +1632,6 @@ func (s *CaptionSource) Validate() error { return nil } -// SetEncryption sets the Encryption field's value. -func (s *CaptionSource) SetEncryption(v *Encryption) *CaptionSource { - s.Encryption = v - return s -} - -// SetKey sets the Key field's value. -func (s *CaptionSource) SetKey(v string) *CaptionSource { - s.Key = &v - return s -} - -// SetLabel sets the Label field's value. -func (s *CaptionSource) SetLabel(v string) *CaptionSource { - s.Label = &v - return s -} - -// SetLanguage sets the Language field's value. -func (s *CaptionSource) SetLanguage(v string) *CaptionSource { - s.Language = &v - return s -} - -// SetTimeOffset sets the TimeOffset field's value. -func (s *CaptionSource) SetTimeOffset(v string) *CaptionSource { - s.TimeOffset = &v - return s -} - // The captions to be created, if any. type Captions struct { _ struct{} `type:"structure"` @@ -1849,24 +1693,6 @@ func (s *Captions) Validate() error { return nil } -// SetCaptionFormats sets the CaptionFormats field's value. -func (s *Captions) SetCaptionFormats(v []CaptionFormat) *Captions { - s.CaptionFormats = v - return s -} - -// SetCaptionSources sets the CaptionSources field's value. -func (s *Captions) SetCaptionSources(v []CaptionSource) *Captions { - s.CaptionSources = v - return s -} - -// SetMergePolicy sets the MergePolicy field's value. -func (s *Captions) SetMergePolicy(v string) *Captions { - s.MergePolicy = &v - return s -} - // Settings for one clip in a composition. All jobs in a playlist must have // the same clip settings. type Clip struct { @@ -1886,12 +1712,6 @@ func (s Clip) GoString() string { return s.String() } -// SetTimeSpan sets the TimeSpan field's value. -func (s *Clip) SetTimeSpan(v *TimeSpan) *Clip { - s.TimeSpan = v - return s -} - // The CreateJobRequest structure. type CreateJobInput struct { _ struct{} `type:"structure"` @@ -1999,54 +1819,6 @@ func (s *CreateJobInput) Validate() error { return nil } -// SetInput sets the Input field's value. -func (s *CreateJobInput) SetInput(v *JobInput) *CreateJobInput { - s.Input = v - return s -} - -// SetInputs sets the Inputs field's value. -func (s *CreateJobInput) SetInputs(v []JobInput) *CreateJobInput { - s.Inputs = v - return s -} - -// SetOutput sets the Output field's value. -func (s *CreateJobInput) SetOutput(v *CreateJobOutput) *CreateJobInput { - s.Output = v - return s -} - -// SetOutputKeyPrefix sets the OutputKeyPrefix field's value. -func (s *CreateJobInput) SetOutputKeyPrefix(v string) *CreateJobInput { - s.OutputKeyPrefix = &v - return s -} - -// SetOutputs sets the Outputs field's value. -func (s *CreateJobInput) SetOutputs(v []CreateJobOutput) *CreateJobInput { - s.Outputs = v - return s -} - -// SetPipelineId sets the PipelineId field's value. -func (s *CreateJobInput) SetPipelineId(v string) *CreateJobInput { - s.PipelineId = &v - return s -} - -// SetPlaylists sets the Playlists field's value. -func (s *CreateJobInput) SetPlaylists(v []CreateJobPlaylist) *CreateJobInput { - s.Playlists = v - return s -} - -// SetUserMetadata sets the UserMetadata field's value. -func (s *CreateJobInput) SetUserMetadata(v map[string]string) *CreateJobInput { - s.UserMetadata = v - return s -} - // The CreateJobOutput structure. type CreateJobOutput struct { _ struct{} `type:"structure"` @@ -2233,72 +2005,6 @@ func (s *CreateJobOutput) Validate() error { return nil } -// SetAlbumArt sets the AlbumArt field's value. -func (s *CreateJobOutput) SetAlbumArt(v *JobAlbumArt) *CreateJobOutput { - s.AlbumArt = v - return s -} - -// SetCaptions sets the Captions field's value. -func (s *CreateJobOutput) SetCaptions(v *Captions) *CreateJobOutput { - s.Captions = v - return s -} - -// SetComposition sets the Composition field's value. -func (s *CreateJobOutput) SetComposition(v []Clip) *CreateJobOutput { - s.Composition = v - return s -} - -// SetEncryption sets the Encryption field's value. -func (s *CreateJobOutput) SetEncryption(v *Encryption) *CreateJobOutput { - s.Encryption = v - return s -} - -// SetKey sets the Key field's value. -func (s *CreateJobOutput) SetKey(v string) *CreateJobOutput { - s.Key = &v - return s -} - -// SetPresetId sets the PresetId field's value. -func (s *CreateJobOutput) SetPresetId(v string) *CreateJobOutput { - s.PresetId = &v - return s -} - -// SetRotate sets the Rotate field's value. -func (s *CreateJobOutput) SetRotate(v string) *CreateJobOutput { - s.Rotate = &v - return s -} - -// SetSegmentDuration sets the SegmentDuration field's value. -func (s *CreateJobOutput) SetSegmentDuration(v string) *CreateJobOutput { - s.SegmentDuration = &v - return s -} - -// SetThumbnailEncryption sets the ThumbnailEncryption field's value. -func (s *CreateJobOutput) SetThumbnailEncryption(v *Encryption) *CreateJobOutput { - s.ThumbnailEncryption = v - return s -} - -// SetThumbnailPattern sets the ThumbnailPattern field's value. -func (s *CreateJobOutput) SetThumbnailPattern(v string) *CreateJobOutput { - s.ThumbnailPattern = &v - return s -} - -// SetWatermarks sets the Watermarks field's value. -func (s *CreateJobOutput) SetWatermarks(v []JobWatermark) *CreateJobOutput { - s.Watermarks = v - return s -} - // Information about the master playlist. type CreateJobPlaylist struct { _ struct{} `type:"structure"` @@ -2394,36 +2100,6 @@ func (s *CreateJobPlaylist) Validate() error { return nil } -// SetFormat sets the Format field's value. -func (s *CreateJobPlaylist) SetFormat(v string) *CreateJobPlaylist { - s.Format = &v - return s -} - -// SetHlsContentProtection sets the HlsContentProtection field's value. -func (s *CreateJobPlaylist) SetHlsContentProtection(v *HlsContentProtection) *CreateJobPlaylist { - s.HlsContentProtection = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateJobPlaylist) SetName(v string) *CreateJobPlaylist { - s.Name = &v - return s -} - -// SetOutputKeys sets the OutputKeys field's value. -func (s *CreateJobPlaylist) SetOutputKeys(v []string) *CreateJobPlaylist { - s.OutputKeys = v - return s -} - -// SetPlayReadyDrm sets the PlayReadyDrm field's value. -func (s *CreateJobPlaylist) SetPlayReadyDrm(v *PlayReadyDrm) *CreateJobPlaylist { - s.PlayReadyDrm = v - return s -} - // The CreateJobResponse structure. type CreateJobResponse struct { _ struct{} `type:"structure"` @@ -2450,12 +2126,6 @@ func (s CreateJobResponse) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJob sets the Job field's value. -func (s *CreateJobResponse) SetJob(v *Job) *CreateJobResponse { - s.Job = v - return s -} - // The CreatePipelineRequest structure. type CreatePipelineInput struct { _ struct{} `type:"structure"` @@ -2718,54 +2388,6 @@ func (s *CreatePipelineInput) Validate() error { return nil } -// SetAwsKmsKeyArn sets the AwsKmsKeyArn field's value. -func (s *CreatePipelineInput) SetAwsKmsKeyArn(v string) *CreatePipelineInput { - s.AwsKmsKeyArn = &v - return s -} - -// SetContentConfig sets the ContentConfig field's value. -func (s *CreatePipelineInput) SetContentConfig(v *PipelineOutputConfig) *CreatePipelineInput { - s.ContentConfig = v - return s -} - -// SetInputBucket sets the InputBucket field's value. -func (s *CreatePipelineInput) SetInputBucket(v string) *CreatePipelineInput { - s.InputBucket = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreatePipelineInput) SetName(v string) *CreatePipelineInput { - s.Name = &v - return s -} - -// SetNotifications sets the Notifications field's value. -func (s *CreatePipelineInput) SetNotifications(v *Notifications) *CreatePipelineInput { - s.Notifications = v - return s -} - -// SetOutputBucket sets the OutputBucket field's value. -func (s *CreatePipelineInput) SetOutputBucket(v string) *CreatePipelineInput { - s.OutputBucket = &v - return s -} - -// SetRole sets the Role field's value. -func (s *CreatePipelineInput) SetRole(v string) *CreatePipelineInput { - s.Role = &v - return s -} - -// SetThumbnailConfig sets the ThumbnailConfig field's value. -func (s *CreatePipelineInput) SetThumbnailConfig(v *PipelineOutputConfig) *CreatePipelineInput { - s.ThumbnailConfig = v - return s -} - // When you create a pipeline, Elastic Transcoder returns the values that you // specified in the request. type CreatePipelineOutput struct { @@ -2801,18 +2423,6 @@ func (s CreatePipelineOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPipeline sets the Pipeline field's value. -func (s *CreatePipelineOutput) SetPipeline(v *Pipeline) *CreatePipelineOutput { - s.Pipeline = v - return s -} - -// SetWarnings sets the Warnings field's value. -func (s *CreatePipelineOutput) SetWarnings(v []Warning) *CreatePipelineOutput { - s.Warnings = v - return s -} - // The CreatePresetRequest structure. type CreatePresetInput struct { _ struct{} `type:"structure"` @@ -2879,42 +2489,6 @@ func (s *CreatePresetInput) Validate() error { return nil } -// SetAudio sets the Audio field's value. -func (s *CreatePresetInput) SetAudio(v *AudioParameters) *CreatePresetInput { - s.Audio = v - return s -} - -// SetContainer sets the Container field's value. -func (s *CreatePresetInput) SetContainer(v string) *CreatePresetInput { - s.Container = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreatePresetInput) SetDescription(v string) *CreatePresetInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreatePresetInput) SetName(v string) *CreatePresetInput { - s.Name = &v - return s -} - -// SetThumbnails sets the Thumbnails field's value. -func (s *CreatePresetInput) SetThumbnails(v *Thumbnails) *CreatePresetInput { - s.Thumbnails = v - return s -} - -// SetVideo sets the Video field's value. -func (s *CreatePresetInput) SetVideo(v *VideoParameters) *CreatePresetInput { - s.Video = v - return s -} - // The CreatePresetResponse structure. type CreatePresetOutput struct { _ struct{} `type:"structure"` @@ -2947,18 +2521,6 @@ func (s CreatePresetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPreset sets the Preset field's value. -func (s *CreatePresetOutput) SetPreset(v *Preset) *CreatePresetOutput { - s.Preset = v - return s -} - -// SetWarning sets the Warning field's value. -func (s *CreatePresetOutput) SetWarning(v string) *CreatePresetOutput { - s.Warning = &v - return s -} - // The DeletePipelineRequest structure. type DeletePipelineInput struct { _ struct{} `type:"structure"` @@ -2993,12 +2555,6 @@ func (s *DeletePipelineInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DeletePipelineInput) SetId(v string) *DeletePipelineInput { - s.Id = &v - return s -} - // The DeletePipelineResponse structure. type DeletePipelineOutput struct { _ struct{} `type:"structure"` @@ -3055,12 +2611,6 @@ func (s *DeletePresetInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DeletePresetInput) SetId(v string) *DeletePresetInput { - s.Id = &v - return s -} - // The DeletePresetResponse structure. type DeletePresetOutput struct { _ struct{} `type:"structure"` @@ -3114,36 +2664,6 @@ func (s DetectedProperties) GoString() string { return s.String() } -// SetDurationMillis sets the DurationMillis field's value. -func (s *DetectedProperties) SetDurationMillis(v int64) *DetectedProperties { - s.DurationMillis = &v - return s -} - -// SetFileSize sets the FileSize field's value. -func (s *DetectedProperties) SetFileSize(v int64) *DetectedProperties { - s.FileSize = &v - return s -} - -// SetFrameRate sets the FrameRate field's value. -func (s *DetectedProperties) SetFrameRate(v string) *DetectedProperties { - s.FrameRate = &v - return s -} - -// SetHeight sets the Height field's value. -func (s *DetectedProperties) SetHeight(v int64) *DetectedProperties { - s.Height = &v - return s -} - -// SetWidth sets the Width field's value. -func (s *DetectedProperties) SetWidth(v int64) *DetectedProperties { - s.Width = &v - return s -} - // The encryption settings, if any, that are used for decrypting your input // files or encrypting your output files. If your input file is encrypted, you // must specify the mode that Elastic Transcoder uses to decrypt your file, @@ -3223,30 +2743,6 @@ func (s Encryption) GoString() string { return s.String() } -// SetInitializationVector sets the InitializationVector field's value. -func (s *Encryption) SetInitializationVector(v string) *Encryption { - s.InitializationVector = &v - return s -} - -// SetKey sets the Key field's value. -func (s *Encryption) SetKey(v string) *Encryption { - s.Key = &v - return s -} - -// SetKeyMd5 sets the KeyMd5 field's value. -func (s *Encryption) SetKeyMd5(v string) *Encryption { - s.KeyMd5 = &v - return s -} - -// SetMode sets the Mode field's value. -func (s *Encryption) SetMode(v string) *Encryption { - s.Mode = &v - return s -} - // The HLS content protection settings, if any, that you want Elastic Transcoder // to apply to your output files. type HlsContentProtection struct { @@ -3308,42 +2804,6 @@ func (s HlsContentProtection) GoString() string { return s.String() } -// SetInitializationVector sets the InitializationVector field's value. -func (s *HlsContentProtection) SetInitializationVector(v string) *HlsContentProtection { - s.InitializationVector = &v - return s -} - -// SetKey sets the Key field's value. -func (s *HlsContentProtection) SetKey(v string) *HlsContentProtection { - s.Key = &v - return s -} - -// SetKeyMd5 sets the KeyMd5 field's value. -func (s *HlsContentProtection) SetKeyMd5(v string) *HlsContentProtection { - s.KeyMd5 = &v - return s -} - -// SetKeyStoragePolicy sets the KeyStoragePolicy field's value. -func (s *HlsContentProtection) SetKeyStoragePolicy(v string) *HlsContentProtection { - s.KeyStoragePolicy = &v - return s -} - -// SetLicenseAcquisitionUrl sets the LicenseAcquisitionUrl field's value. -func (s *HlsContentProtection) SetLicenseAcquisitionUrl(v string) *HlsContentProtection { - s.LicenseAcquisitionUrl = &v - return s -} - -// SetMethod sets the Method field's value. -func (s *HlsContentProtection) SetMethod(v string) *HlsContentProtection { - s.Method = &v - return s -} - // The captions to be created, if any. type InputCaptions struct { _ struct{} `type:"structure"` @@ -3401,18 +2861,6 @@ func (s *InputCaptions) Validate() error { return nil } -// SetCaptionSources sets the CaptionSources field's value. -func (s *InputCaptions) SetCaptionSources(v []CaptionSource) *InputCaptions { - s.CaptionSources = v - return s -} - -// SetMergePolicy sets the MergePolicy field's value. -func (s *InputCaptions) SetMergePolicy(v string) *InputCaptions { - s.MergePolicy = &v - return s -} - // A section of the response body that provides information about the job that // is created. type Job struct { @@ -3508,78 +2956,6 @@ func (s Job) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Job) SetArn(v string) *Job { - s.Arn = &v - return s -} - -// SetId sets the Id field's value. -func (s *Job) SetId(v string) *Job { - s.Id = &v - return s -} - -// SetInput sets the Input field's value. -func (s *Job) SetInput(v *JobInput) *Job { - s.Input = v - return s -} - -// SetInputs sets the Inputs field's value. -func (s *Job) SetInputs(v []JobInput) *Job { - s.Inputs = v - return s -} - -// SetOutput sets the Output field's value. -func (s *Job) SetOutput(v *JobOutput) *Job { - s.Output = v - return s -} - -// SetOutputKeyPrefix sets the OutputKeyPrefix field's value. -func (s *Job) SetOutputKeyPrefix(v string) *Job { - s.OutputKeyPrefix = &v - return s -} - -// SetOutputs sets the Outputs field's value. -func (s *Job) SetOutputs(v []JobOutput) *Job { - s.Outputs = v - return s -} - -// SetPipelineId sets the PipelineId field's value. -func (s *Job) SetPipelineId(v string) *Job { - s.PipelineId = &v - return s -} - -// SetPlaylists sets the Playlists field's value. -func (s *Job) SetPlaylists(v []Playlist) *Job { - s.Playlists = v - return s -} - -// SetStatus sets the Status field's value. -func (s *Job) SetStatus(v string) *Job { - s.Status = &v - return s -} - -// SetTiming sets the Timing field's value. -func (s *Job) SetTiming(v *Timing) *Job { - s.Timing = v - return s -} - -// SetUserMetadata sets the UserMetadata field's value. -func (s *Job) SetUserMetadata(v map[string]string) *Job { - s.UserMetadata = v - return s -} - // The .jpg or .png file associated with an audio file. type JobAlbumArt struct { _ struct{} `type:"structure"` @@ -3631,18 +3007,6 @@ func (s *JobAlbumArt) Validate() error { return nil } -// SetArtwork sets the Artwork field's value. -func (s *JobAlbumArt) SetArtwork(v []Artwork) *JobAlbumArt { - s.Artwork = v - return s -} - -// SetMergePolicy sets the MergePolicy field's value. -func (s *JobAlbumArt) SetMergePolicy(v string) *JobAlbumArt { - s.MergePolicy = &v - return s -} - // Information about the file that you're transcoding. type JobInput struct { _ struct{} `type:"structure"` @@ -3785,66 +3149,6 @@ func (s *JobInput) Validate() error { return nil } -// SetAspectRatio sets the AspectRatio field's value. -func (s *JobInput) SetAspectRatio(v string) *JobInput { - s.AspectRatio = &v - return s -} - -// SetContainer sets the Container field's value. -func (s *JobInput) SetContainer(v string) *JobInput { - s.Container = &v - return s -} - -// SetDetectedProperties sets the DetectedProperties field's value. -func (s *JobInput) SetDetectedProperties(v *DetectedProperties) *JobInput { - s.DetectedProperties = v - return s -} - -// SetEncryption sets the Encryption field's value. -func (s *JobInput) SetEncryption(v *Encryption) *JobInput { - s.Encryption = v - return s -} - -// SetFrameRate sets the FrameRate field's value. -func (s *JobInput) SetFrameRate(v string) *JobInput { - s.FrameRate = &v - return s -} - -// SetInputCaptions sets the InputCaptions field's value. -func (s *JobInput) SetInputCaptions(v *InputCaptions) *JobInput { - s.InputCaptions = v - return s -} - -// SetInterlaced sets the Interlaced field's value. -func (s *JobInput) SetInterlaced(v string) *JobInput { - s.Interlaced = &v - return s -} - -// SetKey sets the Key field's value. -func (s *JobInput) SetKey(v string) *JobInput { - s.Key = &v - return s -} - -// SetResolution sets the Resolution field's value. -func (s *JobInput) SetResolution(v string) *JobInput { - s.Resolution = &v - return s -} - -// SetTimeSpan sets the TimeSpan field's value. -func (s *JobInput) SetTimeSpan(v *TimeSpan) *JobInput { - s.TimeSpan = v - return s -} - // Outputs recommended instead. // // If you specified one output for a job, information about that output. If @@ -4073,132 +3377,6 @@ func (s JobOutput) GoString() string { return s.String() } -// SetAlbumArt sets the AlbumArt field's value. -func (s *JobOutput) SetAlbumArt(v *JobAlbumArt) *JobOutput { - s.AlbumArt = v - return s -} - -// SetAppliedColorSpaceConversion sets the AppliedColorSpaceConversion field's value. -func (s *JobOutput) SetAppliedColorSpaceConversion(v string) *JobOutput { - s.AppliedColorSpaceConversion = &v - return s -} - -// SetCaptions sets the Captions field's value. -func (s *JobOutput) SetCaptions(v *Captions) *JobOutput { - s.Captions = v - return s -} - -// SetComposition sets the Composition field's value. -func (s *JobOutput) SetComposition(v []Clip) *JobOutput { - s.Composition = v - return s -} - -// SetDuration sets the Duration field's value. -func (s *JobOutput) SetDuration(v int64) *JobOutput { - s.Duration = &v - return s -} - -// SetDurationMillis sets the DurationMillis field's value. -func (s *JobOutput) SetDurationMillis(v int64) *JobOutput { - s.DurationMillis = &v - return s -} - -// SetEncryption sets the Encryption field's value. -func (s *JobOutput) SetEncryption(v *Encryption) *JobOutput { - s.Encryption = v - return s -} - -// SetFileSize sets the FileSize field's value. -func (s *JobOutput) SetFileSize(v int64) *JobOutput { - s.FileSize = &v - return s -} - -// SetFrameRate sets the FrameRate field's value. -func (s *JobOutput) SetFrameRate(v string) *JobOutput { - s.FrameRate = &v - return s -} - -// SetHeight sets the Height field's value. -func (s *JobOutput) SetHeight(v int64) *JobOutput { - s.Height = &v - return s -} - -// SetId sets the Id field's value. -func (s *JobOutput) SetId(v string) *JobOutput { - s.Id = &v - return s -} - -// SetKey sets the Key field's value. -func (s *JobOutput) SetKey(v string) *JobOutput { - s.Key = &v - return s -} - -// SetPresetId sets the PresetId field's value. -func (s *JobOutput) SetPresetId(v string) *JobOutput { - s.PresetId = &v - return s -} - -// SetRotate sets the Rotate field's value. -func (s *JobOutput) SetRotate(v string) *JobOutput { - s.Rotate = &v - return s -} - -// SetSegmentDuration sets the SegmentDuration field's value. -func (s *JobOutput) SetSegmentDuration(v string) *JobOutput { - s.SegmentDuration = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *JobOutput) SetStatus(v string) *JobOutput { - s.Status = &v - return s -} - -// SetStatusDetail sets the StatusDetail field's value. -func (s *JobOutput) SetStatusDetail(v string) *JobOutput { - s.StatusDetail = &v - return s -} - -// SetThumbnailEncryption sets the ThumbnailEncryption field's value. -func (s *JobOutput) SetThumbnailEncryption(v *Encryption) *JobOutput { - s.ThumbnailEncryption = v - return s -} - -// SetThumbnailPattern sets the ThumbnailPattern field's value. -func (s *JobOutput) SetThumbnailPattern(v string) *JobOutput { - s.ThumbnailPattern = &v - return s -} - -// SetWatermarks sets the Watermarks field's value. -func (s *JobOutput) SetWatermarks(v []JobWatermark) *JobOutput { - s.Watermarks = v - return s -} - -// SetWidth sets the Width field's value. -func (s *JobOutput) SetWidth(v int64) *JobOutput { - s.Width = &v - return s -} - // Watermarks can be in .png or .jpg format. If you want to display a watermark // that is not rectangular, use the .png format, which supports transparency. type JobWatermark struct { @@ -4251,24 +3429,6 @@ func (s *JobWatermark) Validate() error { return nil } -// SetEncryption sets the Encryption field's value. -func (s *JobWatermark) SetEncryption(v *Encryption) *JobWatermark { - s.Encryption = v - return s -} - -// SetInputKey sets the InputKey field's value. -func (s *JobWatermark) SetInputKey(v string) *JobWatermark { - s.InputKey = &v - return s -} - -// SetPresetWatermarkId sets the PresetWatermarkId field's value. -func (s *JobWatermark) SetPresetWatermarkId(v string) *JobWatermark { - s.PresetWatermarkId = &v - return s -} - // The ListJobsByPipelineRequest structure. type ListJobsByPipelineInput struct { _ struct{} `type:"structure"` @@ -4307,26 +3467,8 @@ func (s *ListJobsByPipelineInput) Validate() error { if invalidParams.Len() > 0 { return invalidParams - } - return nil -} - -// SetAscending sets the Ascending field's value. -func (s *ListJobsByPipelineInput) SetAscending(v string) *ListJobsByPipelineInput { - s.Ascending = &v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *ListJobsByPipelineInput) SetPageToken(v string) *ListJobsByPipelineInput { - s.PageToken = &v - return s -} - -// SetPipelineId sets the PipelineId field's value. -func (s *ListJobsByPipelineInput) SetPipelineId(v string) *ListJobsByPipelineInput { - s.PipelineId = &v - return s + } + return nil } // The ListJobsByPipelineResponse structure. @@ -4359,18 +3501,6 @@ func (s ListJobsByPipelineOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobs sets the Jobs field's value. -func (s *ListJobsByPipelineOutput) SetJobs(v []Job) *ListJobsByPipelineOutput { - s.Jobs = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListJobsByPipelineOutput) SetNextPageToken(v string) *ListJobsByPipelineOutput { - s.NextPageToken = &v - return s -} - // The ListJobsByStatusRequest structure. type ListJobsByStatusInput struct { _ struct{} `type:"structure"` @@ -4415,24 +3545,6 @@ func (s *ListJobsByStatusInput) Validate() error { return nil } -// SetAscending sets the Ascending field's value. -func (s *ListJobsByStatusInput) SetAscending(v string) *ListJobsByStatusInput { - s.Ascending = &v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *ListJobsByStatusInput) SetPageToken(v string) *ListJobsByStatusInput { - s.PageToken = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ListJobsByStatusInput) SetStatus(v string) *ListJobsByStatusInput { - s.Status = &v - return s -} - // The ListJobsByStatusResponse structure. type ListJobsByStatusOutput struct { _ struct{} `type:"structure"` @@ -4463,18 +3575,6 @@ func (s ListJobsByStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobs sets the Jobs field's value. -func (s *ListJobsByStatusOutput) SetJobs(v []Job) *ListJobsByStatusOutput { - s.Jobs = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListJobsByStatusOutput) SetNextPageToken(v string) *ListJobsByStatusOutput { - s.NextPageToken = &v - return s -} - // The ListPipelineRequest structure. type ListPipelinesInput struct { _ struct{} `type:"structure"` @@ -4499,18 +3599,6 @@ func (s ListPipelinesInput) GoString() string { return s.String() } -// SetAscending sets the Ascending field's value. -func (s *ListPipelinesInput) SetAscending(v string) *ListPipelinesInput { - s.Ascending = &v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *ListPipelinesInput) SetPageToken(v string) *ListPipelinesInput { - s.PageToken = &v - return s -} - // A list of the pipelines associated with the current AWS account. type ListPipelinesOutput struct { _ struct{} `type:"structure"` @@ -4541,18 +3629,6 @@ func (s ListPipelinesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListPipelinesOutput) SetNextPageToken(v string) *ListPipelinesOutput { - s.NextPageToken = &v - return s -} - -// SetPipelines sets the Pipelines field's value. -func (s *ListPipelinesOutput) SetPipelines(v []Pipeline) *ListPipelinesOutput { - s.Pipelines = v - return s -} - // The ListPresetsRequest structure. type ListPresetsInput struct { _ struct{} `type:"structure"` @@ -4577,18 +3653,6 @@ func (s ListPresetsInput) GoString() string { return s.String() } -// SetAscending sets the Ascending field's value. -func (s *ListPresetsInput) SetAscending(v string) *ListPresetsInput { - s.Ascending = &v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *ListPresetsInput) SetPageToken(v string) *ListPresetsInput { - s.PageToken = &v - return s -} - // The ListPresetsResponse structure. type ListPresetsOutput struct { _ struct{} `type:"structure"` @@ -4619,18 +3683,6 @@ func (s ListPresetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListPresetsOutput) SetNextPageToken(v string) *ListPresetsOutput { - s.NextPageToken = &v - return s -} - -// SetPresets sets the Presets field's value. -func (s *ListPresetsOutput) SetPresets(v []Preset) *ListPresetsOutput { - s.Presets = v - return s -} - // The Amazon Simple Notification Service (Amazon SNS) topic or topics to notify // in order to report job status. // @@ -4666,30 +3718,6 @@ func (s Notifications) GoString() string { return s.String() } -// SetCompleted sets the Completed field's value. -func (s *Notifications) SetCompleted(v string) *Notifications { - s.Completed = &v - return s -} - -// SetError sets the Error field's value. -func (s *Notifications) SetError(v string) *Notifications { - s.Error = &v - return s -} - -// SetProgressing sets the Progressing field's value. -func (s *Notifications) SetProgressing(v string) *Notifications { - s.Progressing = &v - return s -} - -// SetWarning sets the Warning field's value. -func (s *Notifications) SetWarning(v string) *Notifications { - s.Warning = &v - return s -} - // The Permission structure. type Permission struct { _ struct{} `type:"structure"` @@ -4754,24 +3782,6 @@ func (s *Permission) Validate() error { return nil } -// SetAccess sets the Access field's value. -func (s *Permission) SetAccess(v []string) *Permission { - s.Access = v - return s -} - -// SetGrantee sets the Grantee field's value. -func (s *Permission) SetGrantee(v string) *Permission { - s.Grantee = &v - return s -} - -// SetGranteeType sets the GranteeType field's value. -func (s *Permission) SetGranteeType(v string) *Permission { - s.GranteeType = &v - return s -} - // The pipeline (queue) that is used to manage jobs. type Pipeline struct { _ struct{} `type:"structure"` @@ -4941,72 +3951,6 @@ func (s Pipeline) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Pipeline) SetArn(v string) *Pipeline { - s.Arn = &v - return s -} - -// SetAwsKmsKeyArn sets the AwsKmsKeyArn field's value. -func (s *Pipeline) SetAwsKmsKeyArn(v string) *Pipeline { - s.AwsKmsKeyArn = &v - return s -} - -// SetContentConfig sets the ContentConfig field's value. -func (s *Pipeline) SetContentConfig(v *PipelineOutputConfig) *Pipeline { - s.ContentConfig = v - return s -} - -// SetId sets the Id field's value. -func (s *Pipeline) SetId(v string) *Pipeline { - s.Id = &v - return s -} - -// SetInputBucket sets the InputBucket field's value. -func (s *Pipeline) SetInputBucket(v string) *Pipeline { - s.InputBucket = &v - return s -} - -// SetName sets the Name field's value. -func (s *Pipeline) SetName(v string) *Pipeline { - s.Name = &v - return s -} - -// SetNotifications sets the Notifications field's value. -func (s *Pipeline) SetNotifications(v *Notifications) *Pipeline { - s.Notifications = v - return s -} - -// SetOutputBucket sets the OutputBucket field's value. -func (s *Pipeline) SetOutputBucket(v string) *Pipeline { - s.OutputBucket = &v - return s -} - -// SetRole sets the Role field's value. -func (s *Pipeline) SetRole(v string) *Pipeline { - s.Role = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Pipeline) SetStatus(v string) *Pipeline { - s.Status = &v - return s -} - -// SetThumbnailConfig sets the ThumbnailConfig field's value. -func (s *Pipeline) SetThumbnailConfig(v *PipelineOutputConfig) *Pipeline { - s.ThumbnailConfig = v - return s -} - // The PipelineOutputConfig structure. type PipelineOutputConfig struct { _ struct{} `type:"structure"` @@ -5080,24 +4024,6 @@ func (s *PipelineOutputConfig) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *PipelineOutputConfig) SetBucket(v string) *PipelineOutputConfig { - s.Bucket = &v - return s -} - -// SetPermissions sets the Permissions field's value. -func (s *PipelineOutputConfig) SetPermissions(v []Permission) *PipelineOutputConfig { - s.Permissions = v - return s -} - -// SetStorageClass sets the StorageClass field's value. -func (s *PipelineOutputConfig) SetStorageClass(v string) *PipelineOutputConfig { - s.StorageClass = &v - return s -} - // The PlayReady DRM settings, if any, that you want Elastic Transcoder to apply // to the output files associated with this playlist. // @@ -5173,42 +4099,6 @@ func (s *PlayReadyDrm) Validate() error { return nil } -// SetFormat sets the Format field's value. -func (s *PlayReadyDrm) SetFormat(v string) *PlayReadyDrm { - s.Format = &v - return s -} - -// SetInitializationVector sets the InitializationVector field's value. -func (s *PlayReadyDrm) SetInitializationVector(v string) *PlayReadyDrm { - s.InitializationVector = &v - return s -} - -// SetKey sets the Key field's value. -func (s *PlayReadyDrm) SetKey(v string) *PlayReadyDrm { - s.Key = &v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *PlayReadyDrm) SetKeyId(v string) *PlayReadyDrm { - s.KeyId = &v - return s -} - -// SetKeyMd5 sets the KeyMd5 field's value. -func (s *PlayReadyDrm) SetKeyMd5(v string) *PlayReadyDrm { - s.KeyMd5 = &v - return s -} - -// SetLicenseAcquisitionUrl sets the LicenseAcquisitionUrl field's value. -func (s *PlayReadyDrm) SetLicenseAcquisitionUrl(v string) *PlayReadyDrm { - s.LicenseAcquisitionUrl = &v - return s -} - // Use Only for Fragmented MP4 or MPEG-TS Outputs. If you specify a preset for // which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists // contains information about the master playlists that you want Elastic Transcoder @@ -5296,48 +4186,6 @@ func (s Playlist) GoString() string { return s.String() } -// SetFormat sets the Format field's value. -func (s *Playlist) SetFormat(v string) *Playlist { - s.Format = &v - return s -} - -// SetHlsContentProtection sets the HlsContentProtection field's value. -func (s *Playlist) SetHlsContentProtection(v *HlsContentProtection) *Playlist { - s.HlsContentProtection = v - return s -} - -// SetName sets the Name field's value. -func (s *Playlist) SetName(v string) *Playlist { - s.Name = &v - return s -} - -// SetOutputKeys sets the OutputKeys field's value. -func (s *Playlist) SetOutputKeys(v []string) *Playlist { - s.OutputKeys = v - return s -} - -// SetPlayReadyDrm sets the PlayReadyDrm field's value. -func (s *Playlist) SetPlayReadyDrm(v *PlayReadyDrm) *Playlist { - s.PlayReadyDrm = v - return s -} - -// SetStatus sets the Status field's value. -func (s *Playlist) SetStatus(v string) *Playlist { - s.Status = &v - return s -} - -// SetStatusDetail sets the StatusDetail field's value. -func (s *Playlist) SetStatusDetail(v string) *Playlist { - s.StatusDetail = &v - return s -} - // Presets are templates that contain most of the settings for transcoding media // files from one format to another. Elastic Transcoder includes some default // presets for common formats, for example, several iPod and iPhone versions. @@ -5391,60 +4239,6 @@ func (s Preset) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Preset) SetArn(v string) *Preset { - s.Arn = &v - return s -} - -// SetAudio sets the Audio field's value. -func (s *Preset) SetAudio(v *AudioParameters) *Preset { - s.Audio = v - return s -} - -// SetContainer sets the Container field's value. -func (s *Preset) SetContainer(v string) *Preset { - s.Container = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Preset) SetDescription(v string) *Preset { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *Preset) SetId(v string) *Preset { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *Preset) SetName(v string) *Preset { - s.Name = &v - return s -} - -// SetThumbnails sets the Thumbnails field's value. -func (s *Preset) SetThumbnails(v *Thumbnails) *Preset { - s.Thumbnails = v - return s -} - -// SetType sets the Type field's value. -func (s *Preset) SetType(v string) *Preset { - s.Type = &v - return s -} - -// SetVideo sets the Video field's value. -func (s *Preset) SetVideo(v *VideoParameters) *Preset { - s.Video = v - return s -} - // Settings for the size, location, and opacity of graphics that you want Elastic // Transcoder to overlay over videos that are transcoded using this preset. // You can specify settings for up to four watermarks. Watermarks appear in @@ -5633,66 +4427,6 @@ func (s *PresetWatermark) Validate() error { return nil } -// SetHorizontalAlign sets the HorizontalAlign field's value. -func (s *PresetWatermark) SetHorizontalAlign(v string) *PresetWatermark { - s.HorizontalAlign = &v - return s -} - -// SetHorizontalOffset sets the HorizontalOffset field's value. -func (s *PresetWatermark) SetHorizontalOffset(v string) *PresetWatermark { - s.HorizontalOffset = &v - return s -} - -// SetId sets the Id field's value. -func (s *PresetWatermark) SetId(v string) *PresetWatermark { - s.Id = &v - return s -} - -// SetMaxHeight sets the MaxHeight field's value. -func (s *PresetWatermark) SetMaxHeight(v string) *PresetWatermark { - s.MaxHeight = &v - return s -} - -// SetMaxWidth sets the MaxWidth field's value. -func (s *PresetWatermark) SetMaxWidth(v string) *PresetWatermark { - s.MaxWidth = &v - return s -} - -// SetOpacity sets the Opacity field's value. -func (s *PresetWatermark) SetOpacity(v string) *PresetWatermark { - s.Opacity = &v - return s -} - -// SetSizingPolicy sets the SizingPolicy field's value. -func (s *PresetWatermark) SetSizingPolicy(v string) *PresetWatermark { - s.SizingPolicy = &v - return s -} - -// SetTarget sets the Target field's value. -func (s *PresetWatermark) SetTarget(v string) *PresetWatermark { - s.Target = &v - return s -} - -// SetVerticalAlign sets the VerticalAlign field's value. -func (s *PresetWatermark) SetVerticalAlign(v string) *PresetWatermark { - s.VerticalAlign = &v - return s -} - -// SetVerticalOffset sets the VerticalOffset field's value. -func (s *PresetWatermark) SetVerticalOffset(v string) *PresetWatermark { - s.VerticalOffset = &v - return s -} - // The ReadJobRequest structure. type ReadJobInput struct { _ struct{} `type:"structure"` @@ -5727,12 +4461,6 @@ func (s *ReadJobInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *ReadJobInput) SetId(v string) *ReadJobInput { - s.Id = &v - return s -} - // The ReadJobResponse structure. type ReadJobOutput struct { _ struct{} `type:"structure"` @@ -5758,12 +4486,6 @@ func (s ReadJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJob sets the Job field's value. -func (s *ReadJobOutput) SetJob(v *Job) *ReadJobOutput { - s.Job = v - return s -} - // The ReadPipelineRequest structure. type ReadPipelineInput struct { _ struct{} `type:"structure"` @@ -5798,12 +4520,6 @@ func (s *ReadPipelineInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *ReadPipelineInput) SetId(v string) *ReadPipelineInput { - s.Id = &v - return s -} - // The ReadPipelineResponse structure. type ReadPipelineOutput struct { _ struct{} `type:"structure"` @@ -5837,18 +4553,6 @@ func (s ReadPipelineOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPipeline sets the Pipeline field's value. -func (s *ReadPipelineOutput) SetPipeline(v *Pipeline) *ReadPipelineOutput { - s.Pipeline = v - return s -} - -// SetWarnings sets the Warnings field's value. -func (s *ReadPipelineOutput) SetWarnings(v []Warning) *ReadPipelineOutput { - s.Warnings = v - return s -} - // The ReadPresetRequest structure. type ReadPresetInput struct { _ struct{} `type:"structure"` @@ -5883,12 +4587,6 @@ func (s *ReadPresetInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *ReadPresetInput) SetId(v string) *ReadPresetInput { - s.Id = &v - return s -} - // The ReadPresetResponse structure. type ReadPresetOutput struct { _ struct{} `type:"structure"` @@ -5914,12 +4612,6 @@ func (s ReadPresetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPreset sets the Preset field's value. -func (s *ReadPresetOutput) SetPreset(v *Preset) *ReadPresetOutput { - s.Preset = v - return s -} - // The TestRoleRequest structure. type TestRoleInput struct { _ struct{} `deprecated:"true" type:"structure"` @@ -5985,30 +4677,6 @@ func (s *TestRoleInput) Validate() error { return nil } -// SetInputBucket sets the InputBucket field's value. -func (s *TestRoleInput) SetInputBucket(v string) *TestRoleInput { - s.InputBucket = &v - return s -} - -// SetOutputBucket sets the OutputBucket field's value. -func (s *TestRoleInput) SetOutputBucket(v string) *TestRoleInput { - s.OutputBucket = &v - return s -} - -// SetRole sets the Role field's value. -func (s *TestRoleInput) SetRole(v string) *TestRoleInput { - s.Role = &v - return s -} - -// SetTopics sets the Topics field's value. -func (s *TestRoleInput) SetTopics(v []string) *TestRoleInput { - s.Topics = v - return s -} - // The TestRoleResponse structure. type TestRoleOutput struct { _ struct{} `deprecated:"true" type:"structure"` @@ -6039,18 +4707,6 @@ func (s TestRoleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMessages sets the Messages field's value. -func (s *TestRoleOutput) SetMessages(v []string) *TestRoleOutput { - s.Messages = v - return s -} - -// SetSuccess sets the Success field's value. -func (s *TestRoleOutput) SetSuccess(v string) *TestRoleOutput { - s.Success = &v - return s -} - // Thumbnails for videos. type Thumbnails struct { _ struct{} `type:"structure"` @@ -6146,54 +4802,6 @@ func (s Thumbnails) GoString() string { return s.String() } -// SetAspectRatio sets the AspectRatio field's value. -func (s *Thumbnails) SetAspectRatio(v string) *Thumbnails { - s.AspectRatio = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *Thumbnails) SetFormat(v string) *Thumbnails { - s.Format = &v - return s -} - -// SetInterval sets the Interval field's value. -func (s *Thumbnails) SetInterval(v string) *Thumbnails { - s.Interval = &v - return s -} - -// SetMaxHeight sets the MaxHeight field's value. -func (s *Thumbnails) SetMaxHeight(v string) *Thumbnails { - s.MaxHeight = &v - return s -} - -// SetMaxWidth sets the MaxWidth field's value. -func (s *Thumbnails) SetMaxWidth(v string) *Thumbnails { - s.MaxWidth = &v - return s -} - -// SetPaddingPolicy sets the PaddingPolicy field's value. -func (s *Thumbnails) SetPaddingPolicy(v string) *Thumbnails { - s.PaddingPolicy = &v - return s -} - -// SetResolution sets the Resolution field's value. -func (s *Thumbnails) SetResolution(v string) *Thumbnails { - s.Resolution = &v - return s -} - -// SetSizingPolicy sets the SizingPolicy field's value. -func (s *Thumbnails) SetSizingPolicy(v string) *Thumbnails { - s.SizingPolicy = &v - return s -} - // Settings that determine when a clip begins and how long it lasts. type TimeSpan struct { _ struct{} `type:"structure"` @@ -6224,18 +4832,6 @@ func (s TimeSpan) GoString() string { return s.String() } -// SetDuration sets the Duration field's value. -func (s *TimeSpan) SetDuration(v string) *TimeSpan { - s.Duration = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *TimeSpan) SetStartTime(v string) *TimeSpan { - s.StartTime = &v - return s -} - // Details about the timing of a job. type Timing struct { _ struct{} `type:"structure"` @@ -6260,24 +4856,6 @@ func (s Timing) GoString() string { return s.String() } -// SetFinishTimeMillis sets the FinishTimeMillis field's value. -func (s *Timing) SetFinishTimeMillis(v int64) *Timing { - s.FinishTimeMillis = &v - return s -} - -// SetStartTimeMillis sets the StartTimeMillis field's value. -func (s *Timing) SetStartTimeMillis(v int64) *Timing { - s.StartTimeMillis = &v - return s -} - -// SetSubmitTimeMillis sets the SubmitTimeMillis field's value. -func (s *Timing) SetSubmitTimeMillis(v int64) *Timing { - s.SubmitTimeMillis = &v - return s -} - // The UpdatePipelineRequest structure. type UpdatePipelineInput struct { _ struct{} `type:"structure"` @@ -6500,54 +5078,6 @@ func (s *UpdatePipelineInput) Validate() error { return nil } -// SetAwsKmsKeyArn sets the AwsKmsKeyArn field's value. -func (s *UpdatePipelineInput) SetAwsKmsKeyArn(v string) *UpdatePipelineInput { - s.AwsKmsKeyArn = &v - return s -} - -// SetContentConfig sets the ContentConfig field's value. -func (s *UpdatePipelineInput) SetContentConfig(v *PipelineOutputConfig) *UpdatePipelineInput { - s.ContentConfig = v - return s -} - -// SetId sets the Id field's value. -func (s *UpdatePipelineInput) SetId(v string) *UpdatePipelineInput { - s.Id = &v - return s -} - -// SetInputBucket sets the InputBucket field's value. -func (s *UpdatePipelineInput) SetInputBucket(v string) *UpdatePipelineInput { - s.InputBucket = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdatePipelineInput) SetName(v string) *UpdatePipelineInput { - s.Name = &v - return s -} - -// SetNotifications sets the Notifications field's value. -func (s *UpdatePipelineInput) SetNotifications(v *Notifications) *UpdatePipelineInput { - s.Notifications = v - return s -} - -// SetRole sets the Role field's value. -func (s *UpdatePipelineInput) SetRole(v string) *UpdatePipelineInput { - s.Role = &v - return s -} - -// SetThumbnailConfig sets the ThumbnailConfig field's value. -func (s *UpdatePipelineInput) SetThumbnailConfig(v *PipelineOutputConfig) *UpdatePipelineInput { - s.ThumbnailConfig = v - return s -} - // The UpdatePipelineNotificationsRequest structure. type UpdatePipelineNotificationsInput struct { _ struct{} `type:"structure"` @@ -6613,18 +5143,6 @@ func (s *UpdatePipelineNotificationsInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *UpdatePipelineNotificationsInput) SetId(v string) *UpdatePipelineNotificationsInput { - s.Id = &v - return s -} - -// SetNotifications sets the Notifications field's value. -func (s *UpdatePipelineNotificationsInput) SetNotifications(v *Notifications) *UpdatePipelineNotificationsInput { - s.Notifications = v - return s -} - // The UpdatePipelineNotificationsResponse structure. type UpdatePipelineNotificationsOutput struct { _ struct{} `type:"structure"` @@ -6651,12 +5169,6 @@ func (s UpdatePipelineNotificationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPipeline sets the Pipeline field's value. -func (s *UpdatePipelineNotificationsOutput) SetPipeline(v *Pipeline) *UpdatePipelineNotificationsOutput { - s.Pipeline = v - return s -} - // When you update a pipeline, Elastic Transcoder returns the values that you // specified in the request. type UpdatePipelineOutput struct { @@ -6691,18 +5203,6 @@ func (s UpdatePipelineOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPipeline sets the Pipeline field's value. -func (s *UpdatePipelineOutput) SetPipeline(v *Pipeline) *UpdatePipelineOutput { - s.Pipeline = v - return s -} - -// SetWarnings sets the Warnings field's value. -func (s *UpdatePipelineOutput) SetWarnings(v []Warning) *UpdatePipelineOutput { - s.Warnings = v - return s -} - // The UpdatePipelineStatusRequest structure. type UpdatePipelineStatusInput struct { _ struct{} `type:"structure"` @@ -6750,18 +5250,6 @@ func (s *UpdatePipelineStatusInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *UpdatePipelineStatusInput) SetId(v string) *UpdatePipelineStatusInput { - s.Id = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *UpdatePipelineStatusInput) SetStatus(v string) *UpdatePipelineStatusInput { - s.Status = &v - return s -} - // When you update status for a pipeline, Elastic Transcoder returns the values // that you specified in the request. type UpdatePipelineStatusOutput struct { @@ -6788,12 +5276,6 @@ func (s UpdatePipelineStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPipeline sets the Pipeline field's value. -func (s *UpdatePipelineStatusOutput) SetPipeline(v *Pipeline) *UpdatePipelineStatusOutput { - s.Pipeline = v - return s -} - // The VideoParameters structure. type VideoParameters struct { _ struct{} `type:"structure"` @@ -7238,96 +5720,6 @@ func (s *VideoParameters) Validate() error { return nil } -// SetAspectRatio sets the AspectRatio field's value. -func (s *VideoParameters) SetAspectRatio(v string) *VideoParameters { - s.AspectRatio = &v - return s -} - -// SetBitRate sets the BitRate field's value. -func (s *VideoParameters) SetBitRate(v string) *VideoParameters { - s.BitRate = &v - return s -} - -// SetCodec sets the Codec field's value. -func (s *VideoParameters) SetCodec(v string) *VideoParameters { - s.Codec = &v - return s -} - -// SetCodecOptions sets the CodecOptions field's value. -func (s *VideoParameters) SetCodecOptions(v map[string]string) *VideoParameters { - s.CodecOptions = v - return s -} - -// SetDisplayAspectRatio sets the DisplayAspectRatio field's value. -func (s *VideoParameters) SetDisplayAspectRatio(v string) *VideoParameters { - s.DisplayAspectRatio = &v - return s -} - -// SetFixedGOP sets the FixedGOP field's value. -func (s *VideoParameters) SetFixedGOP(v string) *VideoParameters { - s.FixedGOP = &v - return s -} - -// SetFrameRate sets the FrameRate field's value. -func (s *VideoParameters) SetFrameRate(v string) *VideoParameters { - s.FrameRate = &v - return s -} - -// SetKeyframesMaxDist sets the KeyframesMaxDist field's value. -func (s *VideoParameters) SetKeyframesMaxDist(v string) *VideoParameters { - s.KeyframesMaxDist = &v - return s -} - -// SetMaxFrameRate sets the MaxFrameRate field's value. -func (s *VideoParameters) SetMaxFrameRate(v string) *VideoParameters { - s.MaxFrameRate = &v - return s -} - -// SetMaxHeight sets the MaxHeight field's value. -func (s *VideoParameters) SetMaxHeight(v string) *VideoParameters { - s.MaxHeight = &v - return s -} - -// SetMaxWidth sets the MaxWidth field's value. -func (s *VideoParameters) SetMaxWidth(v string) *VideoParameters { - s.MaxWidth = &v - return s -} - -// SetPaddingPolicy sets the PaddingPolicy field's value. -func (s *VideoParameters) SetPaddingPolicy(v string) *VideoParameters { - s.PaddingPolicy = &v - return s -} - -// SetResolution sets the Resolution field's value. -func (s *VideoParameters) SetResolution(v string) *VideoParameters { - s.Resolution = &v - return s -} - -// SetSizingPolicy sets the SizingPolicy field's value. -func (s *VideoParameters) SetSizingPolicy(v string) *VideoParameters { - s.SizingPolicy = &v - return s -} - -// SetWatermarks sets the Watermarks field's value. -func (s *VideoParameters) SetWatermarks(v []PresetWatermark) *VideoParameters { - s.Watermarks = v - return s -} - // Elastic Transcoder returns a warning if the resources used by your pipeline // are not in the same region as the pipeline. // @@ -7356,15 +5748,3 @@ func (s Warning) String() string { func (s Warning) GoString() string { return s.String() } - -// SetCode sets the Code field's value. -func (s *Warning) SetCode(v string) *Warning { - s.Code = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *Warning) SetMessage(v string) *Warning { - s.Message = &v - return s -} diff --git a/service/elb/api.go b/service/elb/api.go index 04d68d30b22..f05f8eb260c 100644 --- a/service/elb/api.go +++ b/service/elb/api.go @@ -1746,30 +1746,6 @@ func (s *AccessLog) Validate() error { return nil } -// SetEmitInterval sets the EmitInterval field's value. -func (s *AccessLog) SetEmitInterval(v int64) *AccessLog { - s.EmitInterval = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *AccessLog) SetEnabled(v bool) *AccessLog { - s.Enabled = &v - return s -} - -// SetS3BucketName sets the S3BucketName field's value. -func (s *AccessLog) SetS3BucketName(v string) *AccessLog { - s.S3BucketName = &v - return s -} - -// SetS3BucketPrefix sets the S3BucketPrefix field's value. -func (s *AccessLog) SetS3BucketPrefix(v string) *AccessLog { - s.S3BucketPrefix = &v - return s -} - // Contains the parameters for AddTags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTagsInput type AddTagsInput struct { @@ -1824,18 +1800,6 @@ func (s *AddTagsInput) Validate() error { return nil } -// SetLoadBalancerNames sets the LoadBalancerNames field's value. -func (s *AddTagsInput) SetLoadBalancerNames(v []string) *AddTagsInput { - s.LoadBalancerNames = v - return s -} - -// SetTags sets the Tags field's value. -func (s *AddTagsInput) SetTags(v []Tag) *AddTagsInput { - s.Tags = v - return s -} - // Contains the output of AddTags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTagsOutput type AddTagsOutput struct { @@ -1881,18 +1845,6 @@ func (s AdditionalAttribute) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *AdditionalAttribute) SetKey(v string) *AdditionalAttribute { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *AdditionalAttribute) SetValue(v string) *AdditionalAttribute { - s.Value = &v - return s -} - // Information about a policy for application-controlled session stickiness. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AppCookieStickinessPolicy type AppCookieStickinessPolicy struct { @@ -1916,18 +1868,6 @@ func (s AppCookieStickinessPolicy) GoString() string { return s.String() } -// SetCookieName sets the CookieName field's value. -func (s *AppCookieStickinessPolicy) SetCookieName(v string) *AppCookieStickinessPolicy { - s.CookieName = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *AppCookieStickinessPolicy) SetPolicyName(v string) *AppCookieStickinessPolicy { - s.PolicyName = &v - return s -} - // Contains the parameters for ApplySecurityGroupsToLoadBalancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancerInput type ApplySecurityGroupsToLoadBalancerInput struct { @@ -1973,18 +1913,6 @@ func (s *ApplySecurityGroupsToLoadBalancerInput) Validate() error { return nil } -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *ApplySecurityGroupsToLoadBalancerInput) SetLoadBalancerName(v string) *ApplySecurityGroupsToLoadBalancerInput { - s.LoadBalancerName = &v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *ApplySecurityGroupsToLoadBalancerInput) SetSecurityGroups(v []string) *ApplySecurityGroupsToLoadBalancerInput { - s.SecurityGroups = v - return s -} - // Contains the output of ApplySecurityGroupsToLoadBalancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancerOutput type ApplySecurityGroupsToLoadBalancerOutput struct { @@ -2011,12 +1939,6 @@ func (s ApplySecurityGroupsToLoadBalancerOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *ApplySecurityGroupsToLoadBalancerOutput) SetSecurityGroups(v []string) *ApplySecurityGroupsToLoadBalancerOutput { - s.SecurityGroups = v - return s -} - // Contains the parameters for AttachLoaBalancerToSubnets. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnetsInput type AttachLoadBalancerToSubnetsInput struct { @@ -2062,18 +1984,6 @@ func (s *AttachLoadBalancerToSubnetsInput) Validate() error { return nil } -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *AttachLoadBalancerToSubnetsInput) SetLoadBalancerName(v string) *AttachLoadBalancerToSubnetsInput { - s.LoadBalancerName = &v - return s -} - -// SetSubnets sets the Subnets field's value. -func (s *AttachLoadBalancerToSubnetsInput) SetSubnets(v []string) *AttachLoadBalancerToSubnetsInput { - s.Subnets = v - return s -} - // Contains the output of AttachLoadBalancerToSubnets. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnetsOutput type AttachLoadBalancerToSubnetsOutput struct { @@ -2100,12 +2010,6 @@ func (s AttachLoadBalancerToSubnetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSubnets sets the Subnets field's value. -func (s *AttachLoadBalancerToSubnetsOutput) SetSubnets(v []string) *AttachLoadBalancerToSubnetsOutput { - s.Subnets = v - return s -} - // Information about the configuration of an EC2 instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/BackendServerDescription type BackendServerDescription struct { @@ -2128,18 +2032,6 @@ func (s BackendServerDescription) GoString() string { return s.String() } -// SetInstancePort sets the InstancePort field's value. -func (s *BackendServerDescription) SetInstancePort(v int64) *BackendServerDescription { - s.InstancePort = &v - return s -} - -// SetPolicyNames sets the PolicyNames field's value. -func (s *BackendServerDescription) SetPolicyNames(v []string) *BackendServerDescription { - s.PolicyNames = v - return s -} - // Contains the parameters for ConfigureHealthCheck. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheckInput type ConfigureHealthCheckInput struct { @@ -2189,18 +2081,6 @@ func (s *ConfigureHealthCheckInput) Validate() error { return nil } -// SetHealthCheck sets the HealthCheck field's value. -func (s *ConfigureHealthCheckInput) SetHealthCheck(v *HealthCheck) *ConfigureHealthCheckInput { - s.HealthCheck = v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *ConfigureHealthCheckInput) SetLoadBalancerName(v string) *ConfigureHealthCheckInput { - s.LoadBalancerName = &v - return s -} - // Contains the output of ConfigureHealthCheck. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheckOutput type ConfigureHealthCheckOutput struct { @@ -2227,12 +2107,6 @@ func (s ConfigureHealthCheckOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHealthCheck sets the HealthCheck field's value. -func (s *ConfigureHealthCheckOutput) SetHealthCheck(v *HealthCheck) *ConfigureHealthCheckOutput { - s.HealthCheck = v - return s -} - // Information about the ConnectionDraining attribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConnectionDraining type ConnectionDraining struct { @@ -2272,18 +2146,6 @@ func (s *ConnectionDraining) Validate() error { return nil } -// SetEnabled sets the Enabled field's value. -func (s *ConnectionDraining) SetEnabled(v bool) *ConnectionDraining { - s.Enabled = &v - return s -} - -// SetTimeout sets the Timeout field's value. -func (s *ConnectionDraining) SetTimeout(v int64) *ConnectionDraining { - s.Timeout = &v - return s -} - // Information about the ConnectionSettings attribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConnectionSettings type ConnectionSettings struct { @@ -2323,12 +2185,6 @@ func (s *ConnectionSettings) Validate() error { return nil } -// SetIdleTimeout sets the IdleTimeout field's value. -func (s *ConnectionSettings) SetIdleTimeout(v int64) *ConnectionSettings { - s.IdleTimeout = &v - return s -} - // Contains the parameters for CreateAppCookieStickinessPolicy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicyInput type CreateAppCookieStickinessPolicyInput struct { @@ -2384,24 +2240,6 @@ func (s *CreateAppCookieStickinessPolicyInput) Validate() error { return nil } -// SetCookieName sets the CookieName field's value. -func (s *CreateAppCookieStickinessPolicyInput) SetCookieName(v string) *CreateAppCookieStickinessPolicyInput { - s.CookieName = &v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *CreateAppCookieStickinessPolicyInput) SetLoadBalancerName(v string) *CreateAppCookieStickinessPolicyInput { - s.LoadBalancerName = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *CreateAppCookieStickinessPolicyInput) SetPolicyName(v string) *CreateAppCookieStickinessPolicyInput { - s.PolicyName = &v - return s -} - // Contains the output for CreateAppCookieStickinessPolicy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicyOutput type CreateAppCookieStickinessPolicyOutput struct { @@ -2477,24 +2315,6 @@ func (s *CreateLBCookieStickinessPolicyInput) Validate() error { return nil } -// SetCookieExpirationPeriod sets the CookieExpirationPeriod field's value. -func (s *CreateLBCookieStickinessPolicyInput) SetCookieExpirationPeriod(v int64) *CreateLBCookieStickinessPolicyInput { - s.CookieExpirationPeriod = &v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *CreateLBCookieStickinessPolicyInput) SetLoadBalancerName(v string) *CreateLBCookieStickinessPolicyInput { - s.LoadBalancerName = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *CreateLBCookieStickinessPolicyInput) SetPolicyName(v string) *CreateLBCookieStickinessPolicyInput { - s.PolicyName = &v - return s -} - // Contains the output for CreateLBCookieStickinessPolicy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicyOutput type CreateLBCookieStickinessPolicyOutput struct { @@ -2620,48 +2440,6 @@ func (s *CreateLoadBalancerInput) Validate() error { return nil } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *CreateLoadBalancerInput) SetAvailabilityZones(v []string) *CreateLoadBalancerInput { - s.AvailabilityZones = v - return s -} - -// SetListeners sets the Listeners field's value. -func (s *CreateLoadBalancerInput) SetListeners(v []Listener) *CreateLoadBalancerInput { - s.Listeners = v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *CreateLoadBalancerInput) SetLoadBalancerName(v string) *CreateLoadBalancerInput { - s.LoadBalancerName = &v - return s -} - -// SetScheme sets the Scheme field's value. -func (s *CreateLoadBalancerInput) SetScheme(v string) *CreateLoadBalancerInput { - s.Scheme = &v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *CreateLoadBalancerInput) SetSecurityGroups(v []string) *CreateLoadBalancerInput { - s.SecurityGroups = v - return s -} - -// SetSubnets sets the Subnets field's value. -func (s *CreateLoadBalancerInput) SetSubnets(v []string) *CreateLoadBalancerInput { - s.Subnets = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateLoadBalancerInput) SetTags(v []Tag) *CreateLoadBalancerInput { - s.Tags = v - return s -} - // Contains the parameters for CreateLoadBalancerListeners. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListenerInput type CreateLoadBalancerListenersInput struct { @@ -2713,18 +2491,6 @@ func (s *CreateLoadBalancerListenersInput) Validate() error { return nil } -// SetListeners sets the Listeners field's value. -func (s *CreateLoadBalancerListenersInput) SetListeners(v []Listener) *CreateLoadBalancerListenersInput { - s.Listeners = v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *CreateLoadBalancerListenersInput) SetLoadBalancerName(v string) *CreateLoadBalancerListenersInput { - s.LoadBalancerName = &v - return s -} - // Contains the parameters for CreateLoadBalancerListener. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListenerOutput type CreateLoadBalancerListenersOutput struct { @@ -2774,12 +2540,6 @@ func (s CreateLoadBalancerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDNSName sets the DNSName field's value. -func (s *CreateLoadBalancerOutput) SetDNSName(v string) *CreateLoadBalancerOutput { - s.DNSName = &v - return s -} - // Contains the parameters for CreateLoadBalancerPolicy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicyInput type CreateLoadBalancerPolicyInput struct { @@ -2837,30 +2597,6 @@ func (s *CreateLoadBalancerPolicyInput) Validate() error { return nil } -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *CreateLoadBalancerPolicyInput) SetLoadBalancerName(v string) *CreateLoadBalancerPolicyInput { - s.LoadBalancerName = &v - return s -} - -// SetPolicyAttributes sets the PolicyAttributes field's value. -func (s *CreateLoadBalancerPolicyInput) SetPolicyAttributes(v []PolicyAttribute) *CreateLoadBalancerPolicyInput { - s.PolicyAttributes = v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *CreateLoadBalancerPolicyInput) SetPolicyName(v string) *CreateLoadBalancerPolicyInput { - s.PolicyName = &v - return s -} - -// SetPolicyTypeName sets the PolicyTypeName field's value. -func (s *CreateLoadBalancerPolicyInput) SetPolicyTypeName(v string) *CreateLoadBalancerPolicyInput { - s.PolicyTypeName = &v - return s -} - // Contains the output of CreateLoadBalancerPolicy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicyOutput type CreateLoadBalancerPolicyOutput struct { @@ -2919,12 +2655,6 @@ func (s *CrossZoneLoadBalancing) Validate() error { return nil } -// SetEnabled sets the Enabled field's value. -func (s *CrossZoneLoadBalancing) SetEnabled(v bool) *CrossZoneLoadBalancing { - s.Enabled = &v - return s -} - // Contains the parameters for DeleteLoadBalancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteAccessPointInput type DeleteLoadBalancerInput struct { @@ -2960,12 +2690,6 @@ func (s *DeleteLoadBalancerInput) Validate() error { return nil } -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *DeleteLoadBalancerInput) SetLoadBalancerName(v string) *DeleteLoadBalancerInput { - s.LoadBalancerName = &v - return s -} - // Contains the parameters for DeleteLoadBalancerListeners. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListenerInput type DeleteLoadBalancerListenersInput struct { @@ -3010,18 +2734,6 @@ func (s *DeleteLoadBalancerListenersInput) Validate() error { return nil } -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *DeleteLoadBalancerListenersInput) SetLoadBalancerName(v string) *DeleteLoadBalancerListenersInput { - s.LoadBalancerName = &v - return s -} - -// SetLoadBalancerPorts sets the LoadBalancerPorts field's value. -func (s *DeleteLoadBalancerListenersInput) SetLoadBalancerPorts(v []int64) *DeleteLoadBalancerListenersInput { - s.LoadBalancerPorts = v - return s -} - // Contains the output of DeleteLoadBalancerListeners. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListenerOutput type DeleteLoadBalancerListenersOutput struct { @@ -3112,18 +2824,6 @@ func (s *DeleteLoadBalancerPolicyInput) Validate() error { return nil } -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *DeleteLoadBalancerPolicyInput) SetLoadBalancerName(v string) *DeleteLoadBalancerPolicyInput { - s.LoadBalancerName = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *DeleteLoadBalancerPolicyInput) SetPolicyName(v string) *DeleteLoadBalancerPolicyInput { - s.PolicyName = &v - return s -} - // Contains the output of DeleteLoadBalancerPolicy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicyOutput type DeleteLoadBalancerPolicyOutput struct { @@ -3191,18 +2891,6 @@ func (s *DeregisterInstancesFromLoadBalancerInput) Validate() error { return nil } -// SetInstances sets the Instances field's value. -func (s *DeregisterInstancesFromLoadBalancerInput) SetInstances(v []Instance) *DeregisterInstancesFromLoadBalancerInput { - s.Instances = v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *DeregisterInstancesFromLoadBalancerInput) SetLoadBalancerName(v string) *DeregisterInstancesFromLoadBalancerInput { - s.LoadBalancerName = &v - return s -} - // Contains the output of DeregisterInstancesFromLoadBalancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterEndPointsOutput type DeregisterInstancesFromLoadBalancerOutput struct { @@ -3229,12 +2917,6 @@ func (s DeregisterInstancesFromLoadBalancerOutput) SDKResponseMetadata() aws.Res return s.responseMetadata } -// SetInstances sets the Instances field's value. -func (s *DeregisterInstancesFromLoadBalancerOutput) SetInstances(v []Instance) *DeregisterInstancesFromLoadBalancerOutput { - s.Instances = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccountLimitsInput type DescribeAccountLimitsInput struct { _ struct{} `type:"structure"` @@ -3270,18 +2952,6 @@ func (s *DescribeAccountLimitsInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *DescribeAccountLimitsInput) SetMarker(v string) *DescribeAccountLimitsInput { - s.Marker = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *DescribeAccountLimitsInput) SetPageSize(v int64) *DescribeAccountLimitsInput { - s.PageSize = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccountLimitsOutput type DescribeAccountLimitsOutput struct { _ struct{} `type:"structure"` @@ -3311,18 +2981,6 @@ func (s DescribeAccountLimitsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLimits sets the Limits field's value. -func (s *DescribeAccountLimitsOutput) SetLimits(v []Limit) *DescribeAccountLimitsOutput { - s.Limits = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *DescribeAccountLimitsOutput) SetNextMarker(v string) *DescribeAccountLimitsOutput { - s.NextMarker = &v - return s -} - // Contains the parameters for DescribeInstanceHealth. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeEndPointStateInput type DescribeInstanceHealthInput struct { @@ -3361,18 +3019,6 @@ func (s *DescribeInstanceHealthInput) Validate() error { return nil } -// SetInstances sets the Instances field's value. -func (s *DescribeInstanceHealthInput) SetInstances(v []Instance) *DescribeInstanceHealthInput { - s.Instances = v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *DescribeInstanceHealthInput) SetLoadBalancerName(v string) *DescribeInstanceHealthInput { - s.LoadBalancerName = &v - return s -} - // Contains the output for DescribeInstanceHealth. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeEndPointStateOutput type DescribeInstanceHealthOutput struct { @@ -3399,12 +3045,6 @@ func (s DescribeInstanceHealthOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceStates sets the InstanceStates field's value. -func (s *DescribeInstanceHealthOutput) SetInstanceStates(v []InstanceState) *DescribeInstanceHealthOutput { - s.InstanceStates = v - return s -} - // Contains the parameters for DescribeLoadBalancerAttributes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributesInput type DescribeLoadBalancerAttributesInput struct { @@ -3440,12 +3080,6 @@ func (s *DescribeLoadBalancerAttributesInput) Validate() error { return nil } -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *DescribeLoadBalancerAttributesInput) SetLoadBalancerName(v string) *DescribeLoadBalancerAttributesInput { - s.LoadBalancerName = &v - return s -} - // Contains the output of DescribeLoadBalancerAttributes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributesOutput type DescribeLoadBalancerAttributesOutput struct { @@ -3472,12 +3106,6 @@ func (s DescribeLoadBalancerAttributesOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetLoadBalancerAttributes sets the LoadBalancerAttributes field's value. -func (s *DescribeLoadBalancerAttributesOutput) SetLoadBalancerAttributes(v *LoadBalancerAttributes) *DescribeLoadBalancerAttributesOutput { - s.LoadBalancerAttributes = v - return s -} - // Contains the parameters for DescribeLoadBalancerPolicies. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPoliciesInput type DescribeLoadBalancerPoliciesInput struct { @@ -3500,18 +3128,6 @@ func (s DescribeLoadBalancerPoliciesInput) GoString() string { return s.String() } -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *DescribeLoadBalancerPoliciesInput) SetLoadBalancerName(v string) *DescribeLoadBalancerPoliciesInput { - s.LoadBalancerName = &v - return s -} - -// SetPolicyNames sets the PolicyNames field's value. -func (s *DescribeLoadBalancerPoliciesInput) SetPolicyNames(v []string) *DescribeLoadBalancerPoliciesInput { - s.PolicyNames = v - return s -} - // Contains the output of DescribeLoadBalancerPolicies. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPoliciesOutput type DescribeLoadBalancerPoliciesOutput struct { @@ -3538,12 +3154,6 @@ func (s DescribeLoadBalancerPoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicyDescriptions sets the PolicyDescriptions field's value. -func (s *DescribeLoadBalancerPoliciesOutput) SetPolicyDescriptions(v []PolicyDescription) *DescribeLoadBalancerPoliciesOutput { - s.PolicyDescriptions = v - return s -} - // Contains the parameters for DescribeLoadBalancerPolicyTypes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypesInput type DescribeLoadBalancerPolicyTypesInput struct { @@ -3564,12 +3174,6 @@ func (s DescribeLoadBalancerPolicyTypesInput) GoString() string { return s.String() } -// SetPolicyTypeNames sets the PolicyTypeNames field's value. -func (s *DescribeLoadBalancerPolicyTypesInput) SetPolicyTypeNames(v []string) *DescribeLoadBalancerPolicyTypesInput { - s.PolicyTypeNames = v - return s -} - // Contains the output of DescribeLoadBalancerPolicyTypes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypesOutput type DescribeLoadBalancerPolicyTypesOutput struct { @@ -3596,12 +3200,6 @@ func (s DescribeLoadBalancerPolicyTypesOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetPolicyTypeDescriptions sets the PolicyTypeDescriptions field's value. -func (s *DescribeLoadBalancerPolicyTypesOutput) SetPolicyTypeDescriptions(v []PolicyTypeDescription) *DescribeLoadBalancerPolicyTypesOutput { - s.PolicyTypeDescriptions = v - return s -} - // Contains the parameters for DescribeLoadBalancers. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccessPointsInput type DescribeLoadBalancersInput struct { @@ -3642,24 +3240,6 @@ func (s *DescribeLoadBalancersInput) Validate() error { return nil } -// SetLoadBalancerNames sets the LoadBalancerNames field's value. -func (s *DescribeLoadBalancersInput) SetLoadBalancerNames(v []string) *DescribeLoadBalancersInput { - s.LoadBalancerNames = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeLoadBalancersInput) SetMarker(v string) *DescribeLoadBalancersInput { - s.Marker = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *DescribeLoadBalancersInput) SetPageSize(v int64) *DescribeLoadBalancersInput { - s.PageSize = &v - return s -} - // Contains the parameters for DescribeLoadBalancers. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccessPointsOutput type DescribeLoadBalancersOutput struct { @@ -3690,18 +3270,6 @@ func (s DescribeLoadBalancersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLoadBalancerDescriptions sets the LoadBalancerDescriptions field's value. -func (s *DescribeLoadBalancersOutput) SetLoadBalancerDescriptions(v []LoadBalancerDescription) *DescribeLoadBalancersOutput { - s.LoadBalancerDescriptions = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *DescribeLoadBalancersOutput) SetNextMarker(v string) *DescribeLoadBalancersOutput { - s.NextMarker = &v - return s -} - // Contains the parameters for DescribeTags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTagsInput type DescribeTagsInput struct { @@ -3740,12 +3308,6 @@ func (s *DescribeTagsInput) Validate() error { return nil } -// SetLoadBalancerNames sets the LoadBalancerNames field's value. -func (s *DescribeTagsInput) SetLoadBalancerNames(v []string) *DescribeTagsInput { - s.LoadBalancerNames = v - return s -} - // Contains the output for DescribeTags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTagsOutput type DescribeTagsOutput struct { @@ -3772,12 +3334,6 @@ func (s DescribeTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTagDescriptions sets the TagDescriptions field's value. -func (s *DescribeTagsOutput) SetTagDescriptions(v []TagDescription) *DescribeTagsOutput { - s.TagDescriptions = v - return s -} - // Contains the parameters for DetachLoadBalancerFromSubnets. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnetsInput type DetachLoadBalancerFromSubnetsInput struct { @@ -3822,18 +3378,6 @@ func (s *DetachLoadBalancerFromSubnetsInput) Validate() error { return nil } -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *DetachLoadBalancerFromSubnetsInput) SetLoadBalancerName(v string) *DetachLoadBalancerFromSubnetsInput { - s.LoadBalancerName = &v - return s -} - -// SetSubnets sets the Subnets field's value. -func (s *DetachLoadBalancerFromSubnetsInput) SetSubnets(v []string) *DetachLoadBalancerFromSubnetsInput { - s.Subnets = v - return s -} - // Contains the output of DetachLoadBalancerFromSubnets. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnetsOutput type DetachLoadBalancerFromSubnetsOutput struct { @@ -3860,12 +3404,6 @@ func (s DetachLoadBalancerFromSubnetsOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetSubnets sets the Subnets field's value. -func (s *DetachLoadBalancerFromSubnetsOutput) SetSubnets(v []string) *DetachLoadBalancerFromSubnetsOutput { - s.Subnets = v - return s -} - // Contains the parameters for DisableAvailabilityZonesForLoadBalancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveAvailabilityZonesInput type DisableAvailabilityZonesForLoadBalancerInput struct { @@ -3910,18 +3448,6 @@ func (s *DisableAvailabilityZonesForLoadBalancerInput) Validate() error { return nil } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *DisableAvailabilityZonesForLoadBalancerInput) SetAvailabilityZones(v []string) *DisableAvailabilityZonesForLoadBalancerInput { - s.AvailabilityZones = v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *DisableAvailabilityZonesForLoadBalancerInput) SetLoadBalancerName(v string) *DisableAvailabilityZonesForLoadBalancerInput { - s.LoadBalancerName = &v - return s -} - // Contains the output for DisableAvailabilityZonesForLoadBalancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveAvailabilityZonesOutput type DisableAvailabilityZonesForLoadBalancerOutput struct { @@ -3948,12 +3474,6 @@ func (s DisableAvailabilityZonesForLoadBalancerOutput) SDKResponseMetadata() aws return s.responseMetadata } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *DisableAvailabilityZonesForLoadBalancerOutput) SetAvailabilityZones(v []string) *DisableAvailabilityZonesForLoadBalancerOutput { - s.AvailabilityZones = v - return s -} - // Contains the parameters for EnableAvailabilityZonesForLoadBalancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddAvailabilityZonesInput type EnableAvailabilityZonesForLoadBalancerInput struct { @@ -3998,18 +3518,6 @@ func (s *EnableAvailabilityZonesForLoadBalancerInput) Validate() error { return nil } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *EnableAvailabilityZonesForLoadBalancerInput) SetAvailabilityZones(v []string) *EnableAvailabilityZonesForLoadBalancerInput { - s.AvailabilityZones = v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *EnableAvailabilityZonesForLoadBalancerInput) SetLoadBalancerName(v string) *EnableAvailabilityZonesForLoadBalancerInput { - s.LoadBalancerName = &v - return s -} - // Contains the output of EnableAvailabilityZonesForLoadBalancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddAvailabilityZonesOutput type EnableAvailabilityZonesForLoadBalancerOutput struct { @@ -4036,12 +3544,6 @@ func (s EnableAvailabilityZonesForLoadBalancerOutput) SDKResponseMetadata() aws. return s.responseMetadata } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *EnableAvailabilityZonesForLoadBalancerOutput) SetAvailabilityZones(v []string) *EnableAvailabilityZonesForLoadBalancerOutput { - s.AvailabilityZones = v - return s -} - // Information about a health check. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/HealthCheck type HealthCheck struct { @@ -4148,36 +3650,6 @@ func (s *HealthCheck) Validate() error { return nil } -// SetHealthyThreshold sets the HealthyThreshold field's value. -func (s *HealthCheck) SetHealthyThreshold(v int64) *HealthCheck { - s.HealthyThreshold = &v - return s -} - -// SetInterval sets the Interval field's value. -func (s *HealthCheck) SetInterval(v int64) *HealthCheck { - s.Interval = &v - return s -} - -// SetTarget sets the Target field's value. -func (s *HealthCheck) SetTarget(v string) *HealthCheck { - s.Target = &v - return s -} - -// SetTimeout sets the Timeout field's value. -func (s *HealthCheck) SetTimeout(v int64) *HealthCheck { - s.Timeout = &v - return s -} - -// SetUnhealthyThreshold sets the UnhealthyThreshold field's value. -func (s *HealthCheck) SetUnhealthyThreshold(v int64) *HealthCheck { - s.UnhealthyThreshold = &v - return s -} - // The ID of an EC2 instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Instance type Instance struct { @@ -4197,12 +3669,6 @@ func (s Instance) GoString() string { return s.String() } -// SetInstanceId sets the InstanceId field's value. -func (s *Instance) SetInstanceId(v string) *Instance { - s.InstanceId = &v - return s -} - // Information about the state of an EC2 instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/InstanceState type InstanceState struct { @@ -4264,30 +3730,6 @@ func (s InstanceState) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *InstanceState) SetDescription(v string) *InstanceState { - s.Description = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *InstanceState) SetInstanceId(v string) *InstanceState { - s.InstanceId = &v - return s -} - -// SetReasonCode sets the ReasonCode field's value. -func (s *InstanceState) SetReasonCode(v string) *InstanceState { - s.ReasonCode = &v - return s -} - -// SetState sets the State field's value. -func (s *InstanceState) SetState(v string) *InstanceState { - s.State = &v - return s -} - // Information about a policy for duration-based session stickiness. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/LBCookieStickinessPolicy type LBCookieStickinessPolicy struct { @@ -4313,18 +3755,6 @@ func (s LBCookieStickinessPolicy) GoString() string { return s.String() } -// SetCookieExpirationPeriod sets the CookieExpirationPeriod field's value. -func (s *LBCookieStickinessPolicy) SetCookieExpirationPeriod(v int64) *LBCookieStickinessPolicy { - s.CookieExpirationPeriod = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *LBCookieStickinessPolicy) SetPolicyName(v string) *LBCookieStickinessPolicy { - s.PolicyName = &v - return s -} - // Information about an Elastic Load Balancing resource limit for your AWS account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Limit type Limit struct { @@ -4351,18 +3781,6 @@ func (s Limit) GoString() string { return s.String() } -// SetMax sets the Max field's value. -func (s *Limit) SetMax(v string) *Limit { - s.Max = &v - return s -} - -// SetName sets the Name field's value. -func (s *Limit) SetName(v string) *Limit { - s.Name = &v - return s -} - // Information about a listener. // // For information about the protocols and the ports supported by Elastic Load @@ -4442,36 +3860,6 @@ func (s *Listener) Validate() error { return nil } -// SetInstancePort sets the InstancePort field's value. -func (s *Listener) SetInstancePort(v int64) *Listener { - s.InstancePort = &v - return s -} - -// SetInstanceProtocol sets the InstanceProtocol field's value. -func (s *Listener) SetInstanceProtocol(v string) *Listener { - s.InstanceProtocol = &v - return s -} - -// SetLoadBalancerPort sets the LoadBalancerPort field's value. -func (s *Listener) SetLoadBalancerPort(v int64) *Listener { - s.LoadBalancerPort = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *Listener) SetProtocol(v string) *Listener { - s.Protocol = &v - return s -} - -// SetSSLCertificateId sets the SSLCertificateId field's value. -func (s *Listener) SetSSLCertificateId(v string) *Listener { - s.SSLCertificateId = &v - return s -} - // The policies enabled for a listener. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ListenerDescription type ListenerDescription struct { @@ -4494,18 +3882,6 @@ func (s ListenerDescription) GoString() string { return s.String() } -// SetListener sets the Listener field's value. -func (s *ListenerDescription) SetListener(v *Listener) *ListenerDescription { - s.Listener = v - return s -} - -// SetPolicyNames sets the PolicyNames field's value. -func (s *ListenerDescription) SetPolicyNames(v []string) *ListenerDescription { - s.PolicyNames = v - return s -} - // The attributes for a load balancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/LoadBalancerAttributes type LoadBalancerAttributes struct { @@ -4585,36 +3961,6 @@ func (s *LoadBalancerAttributes) Validate() error { return nil } -// SetAccessLog sets the AccessLog field's value. -func (s *LoadBalancerAttributes) SetAccessLog(v *AccessLog) *LoadBalancerAttributes { - s.AccessLog = v - return s -} - -// SetAdditionalAttributes sets the AdditionalAttributes field's value. -func (s *LoadBalancerAttributes) SetAdditionalAttributes(v []AdditionalAttribute) *LoadBalancerAttributes { - s.AdditionalAttributes = v - return s -} - -// SetConnectionDraining sets the ConnectionDraining field's value. -func (s *LoadBalancerAttributes) SetConnectionDraining(v *ConnectionDraining) *LoadBalancerAttributes { - s.ConnectionDraining = v - return s -} - -// SetConnectionSettings sets the ConnectionSettings field's value. -func (s *LoadBalancerAttributes) SetConnectionSettings(v *ConnectionSettings) *LoadBalancerAttributes { - s.ConnectionSettings = v - return s -} - -// SetCrossZoneLoadBalancing sets the CrossZoneLoadBalancing field's value. -func (s *LoadBalancerAttributes) SetCrossZoneLoadBalancing(v *CrossZoneLoadBalancing) *LoadBalancerAttributes { - s.CrossZoneLoadBalancing = v - return s -} - // Information about a load balancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/LoadBalancerDescription type LoadBalancerDescription struct { @@ -4692,102 +4038,6 @@ func (s LoadBalancerDescription) GoString() string { return s.String() } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *LoadBalancerDescription) SetAvailabilityZones(v []string) *LoadBalancerDescription { - s.AvailabilityZones = v - return s -} - -// SetBackendServerDescriptions sets the BackendServerDescriptions field's value. -func (s *LoadBalancerDescription) SetBackendServerDescriptions(v []BackendServerDescription) *LoadBalancerDescription { - s.BackendServerDescriptions = v - return s -} - -// SetCanonicalHostedZoneName sets the CanonicalHostedZoneName field's value. -func (s *LoadBalancerDescription) SetCanonicalHostedZoneName(v string) *LoadBalancerDescription { - s.CanonicalHostedZoneName = &v - return s -} - -// SetCanonicalHostedZoneNameID sets the CanonicalHostedZoneNameID field's value. -func (s *LoadBalancerDescription) SetCanonicalHostedZoneNameID(v string) *LoadBalancerDescription { - s.CanonicalHostedZoneNameID = &v - return s -} - -// SetCreatedTime sets the CreatedTime field's value. -func (s *LoadBalancerDescription) SetCreatedTime(v time.Time) *LoadBalancerDescription { - s.CreatedTime = &v - return s -} - -// SetDNSName sets the DNSName field's value. -func (s *LoadBalancerDescription) SetDNSName(v string) *LoadBalancerDescription { - s.DNSName = &v - return s -} - -// SetHealthCheck sets the HealthCheck field's value. -func (s *LoadBalancerDescription) SetHealthCheck(v *HealthCheck) *LoadBalancerDescription { - s.HealthCheck = v - return s -} - -// SetInstances sets the Instances field's value. -func (s *LoadBalancerDescription) SetInstances(v []Instance) *LoadBalancerDescription { - s.Instances = v - return s -} - -// SetListenerDescriptions sets the ListenerDescriptions field's value. -func (s *LoadBalancerDescription) SetListenerDescriptions(v []ListenerDescription) *LoadBalancerDescription { - s.ListenerDescriptions = v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *LoadBalancerDescription) SetLoadBalancerName(v string) *LoadBalancerDescription { - s.LoadBalancerName = &v - return s -} - -// SetPolicies sets the Policies field's value. -func (s *LoadBalancerDescription) SetPolicies(v *Policies) *LoadBalancerDescription { - s.Policies = v - return s -} - -// SetScheme sets the Scheme field's value. -func (s *LoadBalancerDescription) SetScheme(v string) *LoadBalancerDescription { - s.Scheme = &v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *LoadBalancerDescription) SetSecurityGroups(v []string) *LoadBalancerDescription { - s.SecurityGroups = v - return s -} - -// SetSourceSecurityGroup sets the SourceSecurityGroup field's value. -func (s *LoadBalancerDescription) SetSourceSecurityGroup(v *SourceSecurityGroup) *LoadBalancerDescription { - s.SourceSecurityGroup = v - return s -} - -// SetSubnets sets the Subnets field's value. -func (s *LoadBalancerDescription) SetSubnets(v []string) *LoadBalancerDescription { - s.Subnets = v - return s -} - -// SetVPCId sets the VPCId field's value. -func (s *LoadBalancerDescription) SetVPCId(v string) *LoadBalancerDescription { - s.VPCId = &v - return s -} - // Contains the parameters for ModifyLoadBalancerAttributes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributesInput type ModifyLoadBalancerAttributesInput struct { @@ -4837,18 +4087,6 @@ func (s *ModifyLoadBalancerAttributesInput) Validate() error { return nil } -// SetLoadBalancerAttributes sets the LoadBalancerAttributes field's value. -func (s *ModifyLoadBalancerAttributesInput) SetLoadBalancerAttributes(v *LoadBalancerAttributes) *ModifyLoadBalancerAttributesInput { - s.LoadBalancerAttributes = v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *ModifyLoadBalancerAttributesInput) SetLoadBalancerName(v string) *ModifyLoadBalancerAttributesInput { - s.LoadBalancerName = &v - return s -} - // Contains the output of ModifyLoadBalancerAttributes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributesOutput type ModifyLoadBalancerAttributesOutput struct { @@ -4878,18 +4116,6 @@ func (s ModifyLoadBalancerAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLoadBalancerAttributes sets the LoadBalancerAttributes field's value. -func (s *ModifyLoadBalancerAttributesOutput) SetLoadBalancerAttributes(v *LoadBalancerAttributes) *ModifyLoadBalancerAttributesOutput { - s.LoadBalancerAttributes = v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *ModifyLoadBalancerAttributesOutput) SetLoadBalancerName(v string) *ModifyLoadBalancerAttributesOutput { - s.LoadBalancerName = &v - return s -} - // The policies for a load balancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Policies type Policies struct { @@ -4915,24 +4141,6 @@ func (s Policies) GoString() string { return s.String() } -// SetAppCookieStickinessPolicies sets the AppCookieStickinessPolicies field's value. -func (s *Policies) SetAppCookieStickinessPolicies(v []AppCookieStickinessPolicy) *Policies { - s.AppCookieStickinessPolicies = v - return s -} - -// SetLBCookieStickinessPolicies sets the LBCookieStickinessPolicies field's value. -func (s *Policies) SetLBCookieStickinessPolicies(v []LBCookieStickinessPolicy) *Policies { - s.LBCookieStickinessPolicies = v - return s -} - -// SetOtherPolicies sets the OtherPolicies field's value. -func (s *Policies) SetOtherPolicies(v []string) *Policies { - s.OtherPolicies = v - return s -} - // Information about a policy attribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyAttribute type PolicyAttribute struct { @@ -4955,18 +4163,6 @@ func (s PolicyAttribute) GoString() string { return s.String() } -// SetAttributeName sets the AttributeName field's value. -func (s *PolicyAttribute) SetAttributeName(v string) *PolicyAttribute { - s.AttributeName = &v - return s -} - -// SetAttributeValue sets the AttributeValue field's value. -func (s *PolicyAttribute) SetAttributeValue(v string) *PolicyAttribute { - s.AttributeValue = &v - return s -} - // Information about a policy attribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyAttributeDescription type PolicyAttributeDescription struct { @@ -4989,18 +4185,6 @@ func (s PolicyAttributeDescription) GoString() string { return s.String() } -// SetAttributeName sets the AttributeName field's value. -func (s *PolicyAttributeDescription) SetAttributeName(v string) *PolicyAttributeDescription { - s.AttributeName = &v - return s -} - -// SetAttributeValue sets the AttributeValue field's value. -func (s *PolicyAttributeDescription) SetAttributeValue(v string) *PolicyAttributeDescription { - s.AttributeValue = &v - return s -} - // Information about a policy attribute type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyAttributeTypeDescription type PolicyAttributeTypeDescription struct { @@ -5042,36 +4226,6 @@ func (s PolicyAttributeTypeDescription) GoString() string { return s.String() } -// SetAttributeName sets the AttributeName field's value. -func (s *PolicyAttributeTypeDescription) SetAttributeName(v string) *PolicyAttributeTypeDescription { - s.AttributeName = &v - return s -} - -// SetAttributeType sets the AttributeType field's value. -func (s *PolicyAttributeTypeDescription) SetAttributeType(v string) *PolicyAttributeTypeDescription { - s.AttributeType = &v - return s -} - -// SetCardinality sets the Cardinality field's value. -func (s *PolicyAttributeTypeDescription) SetCardinality(v string) *PolicyAttributeTypeDescription { - s.Cardinality = &v - return s -} - -// SetDefaultValue sets the DefaultValue field's value. -func (s *PolicyAttributeTypeDescription) SetDefaultValue(v string) *PolicyAttributeTypeDescription { - s.DefaultValue = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *PolicyAttributeTypeDescription) SetDescription(v string) *PolicyAttributeTypeDescription { - s.Description = &v - return s -} - // Information about a policy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyDescription type PolicyDescription struct { @@ -5097,24 +4251,6 @@ func (s PolicyDescription) GoString() string { return s.String() } -// SetPolicyAttributeDescriptions sets the PolicyAttributeDescriptions field's value. -func (s *PolicyDescription) SetPolicyAttributeDescriptions(v []PolicyAttributeDescription) *PolicyDescription { - s.PolicyAttributeDescriptions = v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *PolicyDescription) SetPolicyName(v string) *PolicyDescription { - s.PolicyName = &v - return s -} - -// SetPolicyTypeName sets the PolicyTypeName field's value. -func (s *PolicyDescription) SetPolicyTypeName(v string) *PolicyDescription { - s.PolicyTypeName = &v - return s -} - // Information about a policy type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyTypeDescription type PolicyTypeDescription struct { @@ -5141,24 +4277,6 @@ func (s PolicyTypeDescription) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *PolicyTypeDescription) SetDescription(v string) *PolicyTypeDescription { - s.Description = &v - return s -} - -// SetPolicyAttributeTypeDescriptions sets the PolicyAttributeTypeDescriptions field's value. -func (s *PolicyTypeDescription) SetPolicyAttributeTypeDescriptions(v []PolicyAttributeTypeDescription) *PolicyTypeDescription { - s.PolicyAttributeTypeDescriptions = v - return s -} - -// SetPolicyTypeName sets the PolicyTypeName field's value. -func (s *PolicyTypeDescription) SetPolicyTypeName(v string) *PolicyTypeDescription { - s.PolicyTypeName = &v - return s -} - // Contains the parameters for RegisterInstancesWithLoadBalancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterEndPointsInput type RegisterInstancesWithLoadBalancerInput struct { @@ -5203,18 +4321,6 @@ func (s *RegisterInstancesWithLoadBalancerInput) Validate() error { return nil } -// SetInstances sets the Instances field's value. -func (s *RegisterInstancesWithLoadBalancerInput) SetInstances(v []Instance) *RegisterInstancesWithLoadBalancerInput { - s.Instances = v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *RegisterInstancesWithLoadBalancerInput) SetLoadBalancerName(v string) *RegisterInstancesWithLoadBalancerInput { - s.LoadBalancerName = &v - return s -} - // Contains the output of RegisterInstancesWithLoadBalancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterEndPointsOutput type RegisterInstancesWithLoadBalancerOutput struct { @@ -5241,12 +4347,6 @@ func (s RegisterInstancesWithLoadBalancerOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetInstances sets the Instances field's value. -func (s *RegisterInstancesWithLoadBalancerOutput) SetInstances(v []Instance) *RegisterInstancesWithLoadBalancerOutput { - s.Instances = v - return s -} - // Contains the parameters for RemoveTags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTagsInput type RemoveTagsInput struct { @@ -5302,18 +4402,6 @@ func (s *RemoveTagsInput) Validate() error { return nil } -// SetLoadBalancerNames sets the LoadBalancerNames field's value. -func (s *RemoveTagsInput) SetLoadBalancerNames(v []string) *RemoveTagsInput { - s.LoadBalancerNames = v - return s -} - -// SetTags sets the Tags field's value. -func (s *RemoveTagsInput) SetTags(v []TagKeyOnly) *RemoveTagsInput { - s.Tags = v - return s -} - // Contains the output of RemoveTags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTagsOutput type RemoveTagsOutput struct { @@ -5390,24 +4478,6 @@ func (s *SetLoadBalancerListenerSSLCertificateInput) Validate() error { return nil } -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *SetLoadBalancerListenerSSLCertificateInput) SetLoadBalancerName(v string) *SetLoadBalancerListenerSSLCertificateInput { - s.LoadBalancerName = &v - return s -} - -// SetLoadBalancerPort sets the LoadBalancerPort field's value. -func (s *SetLoadBalancerListenerSSLCertificateInput) SetLoadBalancerPort(v int64) *SetLoadBalancerListenerSSLCertificateInput { - s.LoadBalancerPort = &v - return s -} - -// SetSSLCertificateId sets the SSLCertificateId field's value. -func (s *SetLoadBalancerListenerSSLCertificateInput) SetSSLCertificateId(v string) *SetLoadBalancerListenerSSLCertificateInput { - s.SSLCertificateId = &v - return s -} - // Contains the output of SetLoadBalancerListenerSSLCertificate. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificateOutput type SetLoadBalancerListenerSSLCertificateOutput struct { @@ -5485,24 +4555,6 @@ func (s *SetLoadBalancerPoliciesForBackendServerInput) Validate() error { return nil } -// SetInstancePort sets the InstancePort field's value. -func (s *SetLoadBalancerPoliciesForBackendServerInput) SetInstancePort(v int64) *SetLoadBalancerPoliciesForBackendServerInput { - s.InstancePort = &v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *SetLoadBalancerPoliciesForBackendServerInput) SetLoadBalancerName(v string) *SetLoadBalancerPoliciesForBackendServerInput { - s.LoadBalancerName = &v - return s -} - -// SetPolicyNames sets the PolicyNames field's value. -func (s *SetLoadBalancerPoliciesForBackendServerInput) SetPolicyNames(v []string) *SetLoadBalancerPoliciesForBackendServerInput { - s.PolicyNames = v - return s -} - // Contains the output of SetLoadBalancerPoliciesForBackendServer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServerOutput type SetLoadBalancerPoliciesForBackendServerOutput struct { @@ -5581,24 +4633,6 @@ func (s *SetLoadBalancerPoliciesOfListenerInput) Validate() error { return nil } -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *SetLoadBalancerPoliciesOfListenerInput) SetLoadBalancerName(v string) *SetLoadBalancerPoliciesOfListenerInput { - s.LoadBalancerName = &v - return s -} - -// SetLoadBalancerPort sets the LoadBalancerPort field's value. -func (s *SetLoadBalancerPoliciesOfListenerInput) SetLoadBalancerPort(v int64) *SetLoadBalancerPoliciesOfListenerInput { - s.LoadBalancerPort = &v - return s -} - -// SetPolicyNames sets the PolicyNames field's value. -func (s *SetLoadBalancerPoliciesOfListenerInput) SetPolicyNames(v []string) *SetLoadBalancerPoliciesOfListenerInput { - s.PolicyNames = v - return s -} - // Contains the output of SetLoadBalancePoliciesOfListener. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListenerOutput type SetLoadBalancerPoliciesOfListenerOutput struct { @@ -5644,18 +4678,6 @@ func (s SourceSecurityGroup) GoString() string { return s.String() } -// SetGroupName sets the GroupName field's value. -func (s *SourceSecurityGroup) SetGroupName(v string) *SourceSecurityGroup { - s.GroupName = &v - return s -} - -// SetOwnerAlias sets the OwnerAlias field's value. -func (s *SourceSecurityGroup) SetOwnerAlias(v string) *SourceSecurityGroup { - s.OwnerAlias = &v - return s -} - // Information about a tag. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Tag type Tag struct { @@ -5697,18 +4719,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // The tags associated with a load balancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/TagDescription type TagDescription struct { @@ -5731,18 +4741,6 @@ func (s TagDescription) GoString() string { return s.String() } -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *TagDescription) SetLoadBalancerName(v string) *TagDescription { - s.LoadBalancerName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagDescription) SetTags(v []Tag) *TagDescription { - s.Tags = v - return s -} - // The key of a tag. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/TagKeyOnly type TagKeyOnly struct { @@ -5774,9 +4772,3 @@ func (s *TagKeyOnly) Validate() error { } return nil } - -// SetKey sets the Key field's value. -func (s *TagKeyOnly) SetKey(v string) *TagKeyOnly { - s.Key = &v - return s -} diff --git a/service/elbv2/api.go b/service/elbv2/api.go index cdf8c761dd4..aa1f33c451a 100644 --- a/service/elbv2/api.go +++ b/service/elbv2/api.go @@ -2053,18 +2053,6 @@ func (s *Action) Validate() error { return nil } -// SetTargetGroupArn sets the TargetGroupArn field's value. -func (s *Action) SetTargetGroupArn(v string) *Action { - s.TargetGroupArn = &v - return s -} - -// SetType sets the Type field's value. -func (s *Action) SetType(v ActionTypeEnum) *Action { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddListenerCertificatesInput type AddListenerCertificatesInput struct { _ struct{} `type:"structure"` @@ -2108,18 +2096,6 @@ func (s *AddListenerCertificatesInput) Validate() error { return nil } -// SetCertificates sets the Certificates field's value. -func (s *AddListenerCertificatesInput) SetCertificates(v []Certificate) *AddListenerCertificatesInput { - s.Certificates = v - return s -} - -// SetListenerArn sets the ListenerArn field's value. -func (s *AddListenerCertificatesInput) SetListenerArn(v string) *AddListenerCertificatesInput { - s.ListenerArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddListenerCertificatesOutput type AddListenerCertificatesOutput struct { _ struct{} `type:"structure"` @@ -2145,12 +2121,6 @@ func (s AddListenerCertificatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificates sets the Certificates field's value. -func (s *AddListenerCertificatesOutput) SetCertificates(v []Certificate) *AddListenerCertificatesOutput { - s.Certificates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTagsInput type AddTagsInput struct { _ struct{} `type:"structure"` @@ -2204,18 +2174,6 @@ func (s *AddTagsInput) Validate() error { return nil } -// SetResourceArns sets the ResourceArns field's value. -func (s *AddTagsInput) SetResourceArns(v []string) *AddTagsInput { - s.ResourceArns = v - return s -} - -// SetTags sets the Tags field's value. -func (s *AddTagsInput) SetTags(v []Tag) *AddTagsInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTagsOutput type AddTagsOutput struct { _ struct{} `type:"structure"` @@ -2263,24 +2221,6 @@ func (s AvailabilityZone) GoString() string { return s.String() } -// SetLoadBalancerAddresses sets the LoadBalancerAddresses field's value. -func (s *AvailabilityZone) SetLoadBalancerAddresses(v []LoadBalancerAddress) *AvailabilityZone { - s.LoadBalancerAddresses = v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *AvailabilityZone) SetSubnetId(v string) *AvailabilityZone { - s.SubnetId = &v - return s -} - -// SetZoneName sets the ZoneName field's value. -func (s *AvailabilityZone) SetZoneName(v string) *AvailabilityZone { - s.ZoneName = &v - return s -} - // Information about an SSL server certificate. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Certificate type Certificate struct { @@ -2303,18 +2243,6 @@ func (s Certificate) GoString() string { return s.String() } -// SetCertificateArn sets the CertificateArn field's value. -func (s *Certificate) SetCertificateArn(v string) *Certificate { - s.CertificateArn = &v - return s -} - -// SetIsDefault sets the IsDefault field's value. -func (s *Certificate) SetIsDefault(v bool) *Certificate { - s.IsDefault = &v - return s -} - // Information about a cipher used in a policy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Cipher type Cipher struct { @@ -2337,18 +2265,6 @@ func (s Cipher) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *Cipher) SetName(v string) *Cipher { - s.Name = &v - return s -} - -// SetPriority sets the Priority field's value. -func (s *Cipher) SetPriority(v int64) *Cipher { - s.Priority = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListenerInput type CreateListenerInput struct { _ struct{} `type:"structure"` @@ -2431,42 +2347,6 @@ func (s *CreateListenerInput) Validate() error { return nil } -// SetCertificates sets the Certificates field's value. -func (s *CreateListenerInput) SetCertificates(v []Certificate) *CreateListenerInput { - s.Certificates = v - return s -} - -// SetDefaultActions sets the DefaultActions field's value. -func (s *CreateListenerInput) SetDefaultActions(v []Action) *CreateListenerInput { - s.DefaultActions = v - return s -} - -// SetLoadBalancerArn sets the LoadBalancerArn field's value. -func (s *CreateListenerInput) SetLoadBalancerArn(v string) *CreateListenerInput { - s.LoadBalancerArn = &v - return s -} - -// SetPort sets the Port field's value. -func (s *CreateListenerInput) SetPort(v int64) *CreateListenerInput { - s.Port = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *CreateListenerInput) SetProtocol(v ProtocolEnum) *CreateListenerInput { - s.Protocol = v - return s -} - -// SetSslPolicy sets the SslPolicy field's value. -func (s *CreateListenerInput) SetSslPolicy(v string) *CreateListenerInput { - s.SslPolicy = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListenerOutput type CreateListenerOutput struct { _ struct{} `type:"structure"` @@ -2492,12 +2372,6 @@ func (s CreateListenerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetListeners sets the Listeners field's value. -func (s *CreateListenerOutput) SetListeners(v []Listener) *CreateListenerOutput { - s.Listeners = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancerInput type CreateLoadBalancerInput struct { _ struct{} `type:"structure"` @@ -2593,54 +2467,6 @@ func (s *CreateLoadBalancerInput) Validate() error { return nil } -// SetIpAddressType sets the IpAddressType field's value. -func (s *CreateLoadBalancerInput) SetIpAddressType(v IpAddressType) *CreateLoadBalancerInput { - s.IpAddressType = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateLoadBalancerInput) SetName(v string) *CreateLoadBalancerInput { - s.Name = &v - return s -} - -// SetScheme sets the Scheme field's value. -func (s *CreateLoadBalancerInput) SetScheme(v LoadBalancerSchemeEnum) *CreateLoadBalancerInput { - s.Scheme = v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *CreateLoadBalancerInput) SetSecurityGroups(v []string) *CreateLoadBalancerInput { - s.SecurityGroups = v - return s -} - -// SetSubnetMappings sets the SubnetMappings field's value. -func (s *CreateLoadBalancerInput) SetSubnetMappings(v []SubnetMapping) *CreateLoadBalancerInput { - s.SubnetMappings = v - return s -} - -// SetSubnets sets the Subnets field's value. -func (s *CreateLoadBalancerInput) SetSubnets(v []string) *CreateLoadBalancerInput { - s.Subnets = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateLoadBalancerInput) SetTags(v []Tag) *CreateLoadBalancerInput { - s.Tags = v - return s -} - -// SetType sets the Type field's value. -func (s *CreateLoadBalancerInput) SetType(v LoadBalancerTypeEnum) *CreateLoadBalancerInput { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancerOutput type CreateLoadBalancerOutput struct { _ struct{} `type:"structure"` @@ -2666,12 +2492,6 @@ func (s CreateLoadBalancerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLoadBalancers sets the LoadBalancers field's value. -func (s *CreateLoadBalancerOutput) SetLoadBalancers(v []LoadBalancer) *CreateLoadBalancerOutput { - s.LoadBalancers = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRuleInput type CreateRuleInput struct { _ struct{} `type:"structure"` @@ -2772,30 +2592,6 @@ func (s *CreateRuleInput) Validate() error { return nil } -// SetActions sets the Actions field's value. -func (s *CreateRuleInput) SetActions(v []Action) *CreateRuleInput { - s.Actions = v - return s -} - -// SetConditions sets the Conditions field's value. -func (s *CreateRuleInput) SetConditions(v []RuleCondition) *CreateRuleInput { - s.Conditions = v - return s -} - -// SetListenerArn sets the ListenerArn field's value. -func (s *CreateRuleInput) SetListenerArn(v string) *CreateRuleInput { - s.ListenerArn = &v - return s -} - -// SetPriority sets the Priority field's value. -func (s *CreateRuleInput) SetPriority(v int64) *CreateRuleInput { - s.Priority = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRuleOutput type CreateRuleOutput struct { _ struct{} `type:"structure"` @@ -2821,12 +2617,6 @@ func (s CreateRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRules sets the Rules field's value. -func (s *CreateRuleOutput) SetRules(v []Rule) *CreateRuleOutput { - s.Rules = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroupInput type CreateTargetGroupInput struct { _ struct{} `type:"structure"` @@ -2972,84 +2762,6 @@ func (s *CreateTargetGroupInput) Validate() error { return nil } -// SetHealthCheckIntervalSeconds sets the HealthCheckIntervalSeconds field's value. -func (s *CreateTargetGroupInput) SetHealthCheckIntervalSeconds(v int64) *CreateTargetGroupInput { - s.HealthCheckIntervalSeconds = &v - return s -} - -// SetHealthCheckPath sets the HealthCheckPath field's value. -func (s *CreateTargetGroupInput) SetHealthCheckPath(v string) *CreateTargetGroupInput { - s.HealthCheckPath = &v - return s -} - -// SetHealthCheckPort sets the HealthCheckPort field's value. -func (s *CreateTargetGroupInput) SetHealthCheckPort(v string) *CreateTargetGroupInput { - s.HealthCheckPort = &v - return s -} - -// SetHealthCheckProtocol sets the HealthCheckProtocol field's value. -func (s *CreateTargetGroupInput) SetHealthCheckProtocol(v ProtocolEnum) *CreateTargetGroupInput { - s.HealthCheckProtocol = v - return s -} - -// SetHealthCheckTimeoutSeconds sets the HealthCheckTimeoutSeconds field's value. -func (s *CreateTargetGroupInput) SetHealthCheckTimeoutSeconds(v int64) *CreateTargetGroupInput { - s.HealthCheckTimeoutSeconds = &v - return s -} - -// SetHealthyThresholdCount sets the HealthyThresholdCount field's value. -func (s *CreateTargetGroupInput) SetHealthyThresholdCount(v int64) *CreateTargetGroupInput { - s.HealthyThresholdCount = &v - return s -} - -// SetMatcher sets the Matcher field's value. -func (s *CreateTargetGroupInput) SetMatcher(v *Matcher) *CreateTargetGroupInput { - s.Matcher = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateTargetGroupInput) SetName(v string) *CreateTargetGroupInput { - s.Name = &v - return s -} - -// SetPort sets the Port field's value. -func (s *CreateTargetGroupInput) SetPort(v int64) *CreateTargetGroupInput { - s.Port = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *CreateTargetGroupInput) SetProtocol(v ProtocolEnum) *CreateTargetGroupInput { - s.Protocol = v - return s -} - -// SetTargetType sets the TargetType field's value. -func (s *CreateTargetGroupInput) SetTargetType(v TargetTypeEnum) *CreateTargetGroupInput { - s.TargetType = v - return s -} - -// SetUnhealthyThresholdCount sets the UnhealthyThresholdCount field's value. -func (s *CreateTargetGroupInput) SetUnhealthyThresholdCount(v int64) *CreateTargetGroupInput { - s.UnhealthyThresholdCount = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *CreateTargetGroupInput) SetVpcId(v string) *CreateTargetGroupInput { - s.VpcId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroupOutput type CreateTargetGroupOutput struct { _ struct{} `type:"structure"` @@ -3075,12 +2787,6 @@ func (s CreateTargetGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTargetGroups sets the TargetGroups field's value. -func (s *CreateTargetGroupOutput) SetTargetGroups(v []TargetGroup) *CreateTargetGroupOutput { - s.TargetGroups = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteListenerInput type DeleteListenerInput struct { _ struct{} `type:"structure"` @@ -3115,12 +2821,6 @@ func (s *DeleteListenerInput) Validate() error { return nil } -// SetListenerArn sets the ListenerArn field's value. -func (s *DeleteListenerInput) SetListenerArn(v string) *DeleteListenerInput { - s.ListenerArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteListenerOutput type DeleteListenerOutput struct { _ struct{} `type:"structure"` @@ -3177,12 +2877,6 @@ func (s *DeleteLoadBalancerInput) Validate() error { return nil } -// SetLoadBalancerArn sets the LoadBalancerArn field's value. -func (s *DeleteLoadBalancerInput) SetLoadBalancerArn(v string) *DeleteLoadBalancerInput { - s.LoadBalancerArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteLoadBalancerOutput type DeleteLoadBalancerOutput struct { _ struct{} `type:"structure"` @@ -3239,12 +2933,6 @@ func (s *DeleteRuleInput) Validate() error { return nil } -// SetRuleArn sets the RuleArn field's value. -func (s *DeleteRuleInput) SetRuleArn(v string) *DeleteRuleInput { - s.RuleArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteRuleOutput type DeleteRuleOutput struct { _ struct{} `type:"structure"` @@ -3301,12 +2989,6 @@ func (s *DeleteTargetGroupInput) Validate() error { return nil } -// SetTargetGroupArn sets the TargetGroupArn field's value. -func (s *DeleteTargetGroupInput) SetTargetGroupArn(v string) *DeleteTargetGroupInput { - s.TargetGroupArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteTargetGroupOutput type DeleteTargetGroupOutput struct { _ struct{} `type:"structure"` @@ -3380,18 +3062,6 @@ func (s *DeregisterTargetsInput) Validate() error { return nil } -// SetTargetGroupArn sets the TargetGroupArn field's value. -func (s *DeregisterTargetsInput) SetTargetGroupArn(v string) *DeregisterTargetsInput { - s.TargetGroupArn = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *DeregisterTargetsInput) SetTargets(v []TargetDescription) *DeregisterTargetsInput { - s.Targets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeregisterTargetsOutput type DeregisterTargetsOutput struct { _ struct{} `type:"structure"` @@ -3449,18 +3119,6 @@ func (s *DescribeAccountLimitsInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *DescribeAccountLimitsInput) SetMarker(v string) *DescribeAccountLimitsInput { - s.Marker = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *DescribeAccountLimitsInput) SetPageSize(v int64) *DescribeAccountLimitsInput { - s.PageSize = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeAccountLimitsOutput type DescribeAccountLimitsOutput struct { _ struct{} `type:"structure"` @@ -3490,18 +3148,6 @@ func (s DescribeAccountLimitsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLimits sets the Limits field's value. -func (s *DescribeAccountLimitsOutput) SetLimits(v []Limit) *DescribeAccountLimitsOutput { - s.Limits = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *DescribeAccountLimitsOutput) SetNextMarker(v string) *DescribeAccountLimitsOutput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenerCertificatesInput type DescribeListenerCertificatesInput struct { _ struct{} `type:"structure"` @@ -3546,24 +3192,6 @@ func (s *DescribeListenerCertificatesInput) Validate() error { return nil } -// SetListenerArn sets the ListenerArn field's value. -func (s *DescribeListenerCertificatesInput) SetListenerArn(v string) *DescribeListenerCertificatesInput { - s.ListenerArn = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeListenerCertificatesInput) SetMarker(v string) *DescribeListenerCertificatesInput { - s.Marker = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *DescribeListenerCertificatesInput) SetPageSize(v int64) *DescribeListenerCertificatesInput { - s.PageSize = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenerCertificatesOutput type DescribeListenerCertificatesOutput struct { _ struct{} `type:"structure"` @@ -3593,18 +3221,6 @@ func (s DescribeListenerCertificatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificates sets the Certificates field's value. -func (s *DescribeListenerCertificatesOutput) SetCertificates(v []Certificate) *DescribeListenerCertificatesOutput { - s.Certificates = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *DescribeListenerCertificatesOutput) SetNextMarker(v string) *DescribeListenerCertificatesOutput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenersInput type DescribeListenersInput struct { _ struct{} `type:"structure"` @@ -3646,30 +3262,6 @@ func (s *DescribeListenersInput) Validate() error { return nil } -// SetListenerArns sets the ListenerArns field's value. -func (s *DescribeListenersInput) SetListenerArns(v []string) *DescribeListenersInput { - s.ListenerArns = v - return s -} - -// SetLoadBalancerArn sets the LoadBalancerArn field's value. -func (s *DescribeListenersInput) SetLoadBalancerArn(v string) *DescribeListenersInput { - s.LoadBalancerArn = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeListenersInput) SetMarker(v string) *DescribeListenersInput { - s.Marker = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *DescribeListenersInput) SetPageSize(v int64) *DescribeListenersInput { - s.PageSize = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenersOutput type DescribeListenersOutput struct { _ struct{} `type:"structure"` @@ -3699,18 +3291,6 @@ func (s DescribeListenersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetListeners sets the Listeners field's value. -func (s *DescribeListenersOutput) SetListeners(v []Listener) *DescribeListenersOutput { - s.Listeners = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *DescribeListenersOutput) SetNextMarker(v string) *DescribeListenersOutput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancerAttributesInput type DescribeLoadBalancerAttributesInput struct { _ struct{} `type:"structure"` @@ -3745,12 +3325,6 @@ func (s *DescribeLoadBalancerAttributesInput) Validate() error { return nil } -// SetLoadBalancerArn sets the LoadBalancerArn field's value. -func (s *DescribeLoadBalancerAttributesInput) SetLoadBalancerArn(v string) *DescribeLoadBalancerAttributesInput { - s.LoadBalancerArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancerAttributesOutput type DescribeLoadBalancerAttributesOutput struct { _ struct{} `type:"structure"` @@ -3776,12 +3350,6 @@ func (s DescribeLoadBalancerAttributesOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *DescribeLoadBalancerAttributesOutput) SetAttributes(v []LoadBalancerAttribute) *DescribeLoadBalancerAttributesOutput { - s.Attributes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancersInput type DescribeLoadBalancersInput struct { _ struct{} `type:"structure"` @@ -3824,30 +3392,6 @@ func (s *DescribeLoadBalancersInput) Validate() error { return nil } -// SetLoadBalancerArns sets the LoadBalancerArns field's value. -func (s *DescribeLoadBalancersInput) SetLoadBalancerArns(v []string) *DescribeLoadBalancersInput { - s.LoadBalancerArns = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeLoadBalancersInput) SetMarker(v string) *DescribeLoadBalancersInput { - s.Marker = &v - return s -} - -// SetNames sets the Names field's value. -func (s *DescribeLoadBalancersInput) SetNames(v []string) *DescribeLoadBalancersInput { - s.Names = v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *DescribeLoadBalancersInput) SetPageSize(v int64) *DescribeLoadBalancersInput { - s.PageSize = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancersOutput type DescribeLoadBalancersOutput struct { _ struct{} `type:"structure"` @@ -3877,18 +3421,6 @@ func (s DescribeLoadBalancersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLoadBalancers sets the LoadBalancers field's value. -func (s *DescribeLoadBalancersOutput) SetLoadBalancers(v []LoadBalancer) *DescribeLoadBalancersOutput { - s.LoadBalancers = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *DescribeLoadBalancersOutput) SetNextMarker(v string) *DescribeLoadBalancersOutput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRulesInput type DescribeRulesInput struct { _ struct{} `type:"structure"` @@ -3930,30 +3462,6 @@ func (s *DescribeRulesInput) Validate() error { return nil } -// SetListenerArn sets the ListenerArn field's value. -func (s *DescribeRulesInput) SetListenerArn(v string) *DescribeRulesInput { - s.ListenerArn = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeRulesInput) SetMarker(v string) *DescribeRulesInput { - s.Marker = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *DescribeRulesInput) SetPageSize(v int64) *DescribeRulesInput { - s.PageSize = &v - return s -} - -// SetRuleArns sets the RuleArns field's value. -func (s *DescribeRulesInput) SetRuleArns(v []string) *DescribeRulesInput { - s.RuleArns = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRulesOutput type DescribeRulesOutput struct { _ struct{} `type:"structure"` @@ -3983,18 +3491,6 @@ func (s DescribeRulesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *DescribeRulesOutput) SetNextMarker(v string) *DescribeRulesOutput { - s.NextMarker = &v - return s -} - -// SetRules sets the Rules field's value. -func (s *DescribeRulesOutput) SetRules(v []Rule) *DescribeRulesOutput { - s.Rules = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeSSLPoliciesInput type DescribeSSLPoliciesInput struct { _ struct{} `type:"structure"` @@ -4033,24 +3529,6 @@ func (s *DescribeSSLPoliciesInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *DescribeSSLPoliciesInput) SetMarker(v string) *DescribeSSLPoliciesInput { - s.Marker = &v - return s -} - -// SetNames sets the Names field's value. -func (s *DescribeSSLPoliciesInput) SetNames(v []string) *DescribeSSLPoliciesInput { - s.Names = v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *DescribeSSLPoliciesInput) SetPageSize(v int64) *DescribeSSLPoliciesInput { - s.PageSize = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeSSLPoliciesOutput type DescribeSSLPoliciesOutput struct { _ struct{} `type:"structure"` @@ -4080,18 +3558,6 @@ func (s DescribeSSLPoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *DescribeSSLPoliciesOutput) SetNextMarker(v string) *DescribeSSLPoliciesOutput { - s.NextMarker = &v - return s -} - -// SetSslPolicies sets the SslPolicies field's value. -func (s *DescribeSSLPoliciesOutput) SetSslPolicies(v []SslPolicy) *DescribeSSLPoliciesOutput { - s.SslPolicies = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTagsInput type DescribeTagsInput struct { _ struct{} `type:"structure"` @@ -4126,12 +3592,6 @@ func (s *DescribeTagsInput) Validate() error { return nil } -// SetResourceArns sets the ResourceArns field's value. -func (s *DescribeTagsInput) SetResourceArns(v []string) *DescribeTagsInput { - s.ResourceArns = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTagsOutput type DescribeTagsOutput struct { _ struct{} `type:"structure"` @@ -4157,12 +3617,6 @@ func (s DescribeTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTagDescriptions sets the TagDescriptions field's value. -func (s *DescribeTagsOutput) SetTagDescriptions(v []TagDescription) *DescribeTagsOutput { - s.TagDescriptions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupAttributesInput type DescribeTargetGroupAttributesInput struct { _ struct{} `type:"structure"` @@ -4197,12 +3651,6 @@ func (s *DescribeTargetGroupAttributesInput) Validate() error { return nil } -// SetTargetGroupArn sets the TargetGroupArn field's value. -func (s *DescribeTargetGroupAttributesInput) SetTargetGroupArn(v string) *DescribeTargetGroupAttributesInput { - s.TargetGroupArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupAttributesOutput type DescribeTargetGroupAttributesOutput struct { _ struct{} `type:"structure"` @@ -4228,12 +3676,6 @@ func (s DescribeTargetGroupAttributesOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *DescribeTargetGroupAttributesOutput) SetAttributes(v []TargetGroupAttribute) *DescribeTargetGroupAttributesOutput { - s.Attributes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupsInput type DescribeTargetGroupsInput struct { _ struct{} `type:"structure"` @@ -4278,36 +3720,6 @@ func (s *DescribeTargetGroupsInput) Validate() error { return nil } -// SetLoadBalancerArn sets the LoadBalancerArn field's value. -func (s *DescribeTargetGroupsInput) SetLoadBalancerArn(v string) *DescribeTargetGroupsInput { - s.LoadBalancerArn = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeTargetGroupsInput) SetMarker(v string) *DescribeTargetGroupsInput { - s.Marker = &v - return s -} - -// SetNames sets the Names field's value. -func (s *DescribeTargetGroupsInput) SetNames(v []string) *DescribeTargetGroupsInput { - s.Names = v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *DescribeTargetGroupsInput) SetPageSize(v int64) *DescribeTargetGroupsInput { - s.PageSize = &v - return s -} - -// SetTargetGroupArns sets the TargetGroupArns field's value. -func (s *DescribeTargetGroupsInput) SetTargetGroupArns(v []string) *DescribeTargetGroupsInput { - s.TargetGroupArns = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupsOutput type DescribeTargetGroupsOutput struct { _ struct{} `type:"structure"` @@ -4337,18 +3749,6 @@ func (s DescribeTargetGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *DescribeTargetGroupsOutput) SetNextMarker(v string) *DescribeTargetGroupsOutput { - s.NextMarker = &v - return s -} - -// SetTargetGroups sets the TargetGroups field's value. -func (s *DescribeTargetGroupsOutput) SetTargetGroups(v []TargetGroup) *DescribeTargetGroupsOutput { - s.TargetGroups = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealthInput type DescribeTargetHealthInput struct { _ struct{} `type:"structure"` @@ -4393,18 +3793,6 @@ func (s *DescribeTargetHealthInput) Validate() error { return nil } -// SetTargetGroupArn sets the TargetGroupArn field's value. -func (s *DescribeTargetHealthInput) SetTargetGroupArn(v string) *DescribeTargetHealthInput { - s.TargetGroupArn = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *DescribeTargetHealthInput) SetTargets(v []TargetDescription) *DescribeTargetHealthInput { - s.Targets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealthOutput type DescribeTargetHealthOutput struct { _ struct{} `type:"structure"` @@ -4430,12 +3818,6 @@ func (s DescribeTargetHealthOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTargetHealthDescriptions sets the TargetHealthDescriptions field's value. -func (s *DescribeTargetHealthOutput) SetTargetHealthDescriptions(v []TargetHealthDescription) *DescribeTargetHealthOutput { - s.TargetHealthDescriptions = v - return s -} - // Information about an Elastic Load Balancing resource limit for your AWS account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Limit type Limit struct { @@ -4472,18 +3854,6 @@ func (s Limit) GoString() string { return s.String() } -// SetMax sets the Max field's value. -func (s *Limit) SetMax(v string) *Limit { - s.Max = &v - return s -} - -// SetName sets the Name field's value. -func (s *Limit) SetName(v string) *Limit { - s.Name = &v - return s -} - // Information about a listener. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Listener type Listener struct { @@ -4523,48 +3893,6 @@ func (s Listener) GoString() string { return s.String() } -// SetCertificates sets the Certificates field's value. -func (s *Listener) SetCertificates(v []Certificate) *Listener { - s.Certificates = v - return s -} - -// SetDefaultActions sets the DefaultActions field's value. -func (s *Listener) SetDefaultActions(v []Action) *Listener { - s.DefaultActions = v - return s -} - -// SetListenerArn sets the ListenerArn field's value. -func (s *Listener) SetListenerArn(v string) *Listener { - s.ListenerArn = &v - return s -} - -// SetLoadBalancerArn sets the LoadBalancerArn field's value. -func (s *Listener) SetLoadBalancerArn(v string) *Listener { - s.LoadBalancerArn = &v - return s -} - -// SetPort sets the Port field's value. -func (s *Listener) SetPort(v int64) *Listener { - s.Port = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *Listener) SetProtocol(v ProtocolEnum) *Listener { - s.Protocol = v - return s -} - -// SetSslPolicy sets the SslPolicy field's value. -func (s *Listener) SetSslPolicy(v string) *Listener { - s.SslPolicy = &v - return s -} - // Information about a load balancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancer type LoadBalancer struct { @@ -4627,78 +3955,6 @@ func (s LoadBalancer) GoString() string { return s.String() } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *LoadBalancer) SetAvailabilityZones(v []AvailabilityZone) *LoadBalancer { - s.AvailabilityZones = v - return s -} - -// SetCanonicalHostedZoneId sets the CanonicalHostedZoneId field's value. -func (s *LoadBalancer) SetCanonicalHostedZoneId(v string) *LoadBalancer { - s.CanonicalHostedZoneId = &v - return s -} - -// SetCreatedTime sets the CreatedTime field's value. -func (s *LoadBalancer) SetCreatedTime(v time.Time) *LoadBalancer { - s.CreatedTime = &v - return s -} - -// SetDNSName sets the DNSName field's value. -func (s *LoadBalancer) SetDNSName(v string) *LoadBalancer { - s.DNSName = &v - return s -} - -// SetIpAddressType sets the IpAddressType field's value. -func (s *LoadBalancer) SetIpAddressType(v IpAddressType) *LoadBalancer { - s.IpAddressType = v - return s -} - -// SetLoadBalancerArn sets the LoadBalancerArn field's value. -func (s *LoadBalancer) SetLoadBalancerArn(v string) *LoadBalancer { - s.LoadBalancerArn = &v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *LoadBalancer) SetLoadBalancerName(v string) *LoadBalancer { - s.LoadBalancerName = &v - return s -} - -// SetScheme sets the Scheme field's value. -func (s *LoadBalancer) SetScheme(v LoadBalancerSchemeEnum) *LoadBalancer { - s.Scheme = v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *LoadBalancer) SetSecurityGroups(v []string) *LoadBalancer { - s.SecurityGroups = v - return s -} - -// SetState sets the State field's value. -func (s *LoadBalancer) SetState(v *LoadBalancerState) *LoadBalancer { - s.State = v - return s -} - -// SetType sets the Type field's value. -func (s *LoadBalancer) SetType(v LoadBalancerTypeEnum) *LoadBalancer { - s.Type = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *LoadBalancer) SetVpcId(v string) *LoadBalancer { - s.VpcId = &v - return s -} - // Information about a static IP address for a load balancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancerAddress type LoadBalancerAddress struct { @@ -4721,18 +3977,6 @@ func (s LoadBalancerAddress) GoString() string { return s.String() } -// SetAllocationId sets the AllocationId field's value. -func (s *LoadBalancerAddress) SetAllocationId(v string) *LoadBalancerAddress { - s.AllocationId = &v - return s -} - -// SetIpAddress sets the IpAddress field's value. -func (s *LoadBalancerAddress) SetIpAddress(v string) *LoadBalancerAddress { - s.IpAddress = &v - return s -} - // Information about a load balancer attribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancerAttribute type LoadBalancerAttribute struct { @@ -4775,18 +4019,6 @@ func (s LoadBalancerAttribute) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *LoadBalancerAttribute) SetKey(v string) *LoadBalancerAttribute { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *LoadBalancerAttribute) SetValue(v string) *LoadBalancerAttribute { - s.Value = &v - return s -} - // Information about the state of the load balancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancerState type LoadBalancerState struct { @@ -4811,18 +4043,6 @@ func (s LoadBalancerState) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *LoadBalancerState) SetCode(v LoadBalancerStateEnum) *LoadBalancerState { - s.Code = v - return s -} - -// SetReason sets the Reason field's value. -func (s *LoadBalancerState) SetReason(v string) *LoadBalancerState { - s.Reason = &v - return s -} - // Information to use when checking for a successful response from a target. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Matcher type Matcher struct { @@ -4864,12 +4084,6 @@ func (s *Matcher) Validate() error { return nil } -// SetHttpCode sets the HttpCode field's value. -func (s *Matcher) SetHttpCode(v string) *Matcher { - s.HttpCode = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListenerInput type ModifyListenerInput struct { _ struct{} `type:"structure"` @@ -4935,42 +4149,6 @@ func (s *ModifyListenerInput) Validate() error { return nil } -// SetCertificates sets the Certificates field's value. -func (s *ModifyListenerInput) SetCertificates(v []Certificate) *ModifyListenerInput { - s.Certificates = v - return s -} - -// SetDefaultActions sets the DefaultActions field's value. -func (s *ModifyListenerInput) SetDefaultActions(v []Action) *ModifyListenerInput { - s.DefaultActions = v - return s -} - -// SetListenerArn sets the ListenerArn field's value. -func (s *ModifyListenerInput) SetListenerArn(v string) *ModifyListenerInput { - s.ListenerArn = &v - return s -} - -// SetPort sets the Port field's value. -func (s *ModifyListenerInput) SetPort(v int64) *ModifyListenerInput { - s.Port = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *ModifyListenerInput) SetProtocol(v ProtocolEnum) *ModifyListenerInput { - s.Protocol = v - return s -} - -// SetSslPolicy sets the SslPolicy field's value. -func (s *ModifyListenerInput) SetSslPolicy(v string) *ModifyListenerInput { - s.SslPolicy = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListenerOutput type ModifyListenerOutput struct { _ struct{} `type:"structure"` @@ -4996,12 +4174,6 @@ func (s ModifyListenerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetListeners sets the Listeners field's value. -func (s *ModifyListenerOutput) SetListeners(v []Listener) *ModifyListenerOutput { - s.Listeners = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyLoadBalancerAttributesInput type ModifyLoadBalancerAttributesInput struct { _ struct{} `type:"structure"` @@ -5045,18 +4217,6 @@ func (s *ModifyLoadBalancerAttributesInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *ModifyLoadBalancerAttributesInput) SetAttributes(v []LoadBalancerAttribute) *ModifyLoadBalancerAttributesInput { - s.Attributes = v - return s -} - -// SetLoadBalancerArn sets the LoadBalancerArn field's value. -func (s *ModifyLoadBalancerAttributesInput) SetLoadBalancerArn(v string) *ModifyLoadBalancerAttributesInput { - s.LoadBalancerArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyLoadBalancerAttributesOutput type ModifyLoadBalancerAttributesOutput struct { _ struct{} `type:"structure"` @@ -5082,12 +4242,6 @@ func (s ModifyLoadBalancerAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *ModifyLoadBalancerAttributesOutput) SetAttributes(v []LoadBalancerAttribute) *ModifyLoadBalancerAttributesOutput { - s.Attributes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRuleInput type ModifyRuleInput struct { _ struct{} `type:"structure"` @@ -5135,24 +4289,6 @@ func (s *ModifyRuleInput) Validate() error { return nil } -// SetActions sets the Actions field's value. -func (s *ModifyRuleInput) SetActions(v []Action) *ModifyRuleInput { - s.Actions = v - return s -} - -// SetConditions sets the Conditions field's value. -func (s *ModifyRuleInput) SetConditions(v []RuleCondition) *ModifyRuleInput { - s.Conditions = v - return s -} - -// SetRuleArn sets the RuleArn field's value. -func (s *ModifyRuleInput) SetRuleArn(v string) *ModifyRuleInput { - s.RuleArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRuleOutput type ModifyRuleOutput struct { _ struct{} `type:"structure"` @@ -5178,12 +4314,6 @@ func (s ModifyRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRules sets the Rules field's value. -func (s *ModifyRuleOutput) SetRules(v []Rule) *ModifyRuleOutput { - s.Rules = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributesInput type ModifyTargetGroupAttributesInput struct { _ struct{} `type:"structure"` @@ -5227,18 +4357,6 @@ func (s *ModifyTargetGroupAttributesInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *ModifyTargetGroupAttributesInput) SetAttributes(v []TargetGroupAttribute) *ModifyTargetGroupAttributesInput { - s.Attributes = v - return s -} - -// SetTargetGroupArn sets the TargetGroupArn field's value. -func (s *ModifyTargetGroupAttributesInput) SetTargetGroupArn(v string) *ModifyTargetGroupAttributesInput { - s.TargetGroupArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributesOutput type ModifyTargetGroupAttributesOutput struct { _ struct{} `type:"structure"` @@ -5264,12 +4382,6 @@ func (s ModifyTargetGroupAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *ModifyTargetGroupAttributesOutput) SetAttributes(v []TargetGroupAttribute) *ModifyTargetGroupAttributesOutput { - s.Attributes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupInput type ModifyTargetGroupInput struct { _ struct{} `type:"structure"` @@ -5358,60 +4470,6 @@ func (s *ModifyTargetGroupInput) Validate() error { return nil } -// SetHealthCheckIntervalSeconds sets the HealthCheckIntervalSeconds field's value. -func (s *ModifyTargetGroupInput) SetHealthCheckIntervalSeconds(v int64) *ModifyTargetGroupInput { - s.HealthCheckIntervalSeconds = &v - return s -} - -// SetHealthCheckPath sets the HealthCheckPath field's value. -func (s *ModifyTargetGroupInput) SetHealthCheckPath(v string) *ModifyTargetGroupInput { - s.HealthCheckPath = &v - return s -} - -// SetHealthCheckPort sets the HealthCheckPort field's value. -func (s *ModifyTargetGroupInput) SetHealthCheckPort(v string) *ModifyTargetGroupInput { - s.HealthCheckPort = &v - return s -} - -// SetHealthCheckProtocol sets the HealthCheckProtocol field's value. -func (s *ModifyTargetGroupInput) SetHealthCheckProtocol(v ProtocolEnum) *ModifyTargetGroupInput { - s.HealthCheckProtocol = v - return s -} - -// SetHealthCheckTimeoutSeconds sets the HealthCheckTimeoutSeconds field's value. -func (s *ModifyTargetGroupInput) SetHealthCheckTimeoutSeconds(v int64) *ModifyTargetGroupInput { - s.HealthCheckTimeoutSeconds = &v - return s -} - -// SetHealthyThresholdCount sets the HealthyThresholdCount field's value. -func (s *ModifyTargetGroupInput) SetHealthyThresholdCount(v int64) *ModifyTargetGroupInput { - s.HealthyThresholdCount = &v - return s -} - -// SetMatcher sets the Matcher field's value. -func (s *ModifyTargetGroupInput) SetMatcher(v *Matcher) *ModifyTargetGroupInput { - s.Matcher = v - return s -} - -// SetTargetGroupArn sets the TargetGroupArn field's value. -func (s *ModifyTargetGroupInput) SetTargetGroupArn(v string) *ModifyTargetGroupInput { - s.TargetGroupArn = &v - return s -} - -// SetUnhealthyThresholdCount sets the UnhealthyThresholdCount field's value. -func (s *ModifyTargetGroupInput) SetUnhealthyThresholdCount(v int64) *ModifyTargetGroupInput { - s.UnhealthyThresholdCount = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupOutput type ModifyTargetGroupOutput struct { _ struct{} `type:"structure"` @@ -5437,12 +4495,6 @@ func (s ModifyTargetGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTargetGroups sets the TargetGroups field's value. -func (s *ModifyTargetGroupOutput) SetTargetGroups(v []TargetGroup) *ModifyTargetGroupOutput { - s.TargetGroups = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RegisterTargetsInput type RegisterTargetsInput struct { _ struct{} `type:"structure"` @@ -5493,18 +4545,6 @@ func (s *RegisterTargetsInput) Validate() error { return nil } -// SetTargetGroupArn sets the TargetGroupArn field's value. -func (s *RegisterTargetsInput) SetTargetGroupArn(v string) *RegisterTargetsInput { - s.TargetGroupArn = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *RegisterTargetsInput) SetTargets(v []TargetDescription) *RegisterTargetsInput { - s.Targets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RegisterTargetsOutput type RegisterTargetsOutput struct { _ struct{} `type:"structure"` @@ -5570,18 +4610,6 @@ func (s *RemoveListenerCertificatesInput) Validate() error { return nil } -// SetCertificates sets the Certificates field's value. -func (s *RemoveListenerCertificatesInput) SetCertificates(v []Certificate) *RemoveListenerCertificatesInput { - s.Certificates = v - return s -} - -// SetListenerArn sets the ListenerArn field's value. -func (s *RemoveListenerCertificatesInput) SetListenerArn(v string) *RemoveListenerCertificatesInput { - s.ListenerArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveListenerCertificatesOutput type RemoveListenerCertificatesOutput struct { _ struct{} `type:"structure"` @@ -5647,18 +4675,6 @@ func (s *RemoveTagsInput) Validate() error { return nil } -// SetResourceArns sets the ResourceArns field's value. -func (s *RemoveTagsInput) SetResourceArns(v []string) *RemoveTagsInput { - s.ResourceArns = v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *RemoveTagsInput) SetTagKeys(v []string) *RemoveTagsInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveTagsOutput type RemoveTagsOutput struct { _ struct{} `type:"structure"` @@ -5712,36 +4728,6 @@ func (s Rule) GoString() string { return s.String() } -// SetActions sets the Actions field's value. -func (s *Rule) SetActions(v []Action) *Rule { - s.Actions = v - return s -} - -// SetConditions sets the Conditions field's value. -func (s *Rule) SetConditions(v []RuleCondition) *Rule { - s.Conditions = v - return s -} - -// SetIsDefault sets the IsDefault field's value. -func (s *Rule) SetIsDefault(v bool) *Rule { - s.IsDefault = &v - return s -} - -// SetPriority sets the Priority field's value. -func (s *Rule) SetPriority(v string) *Rule { - s.Priority = &v - return s -} - -// SetRuleArn sets the RuleArn field's value. -func (s *Rule) SetRuleArn(v string) *Rule { - s.RuleArn = &v - return s -} - // Information about a condition for a rule. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RuleCondition type RuleCondition struct { @@ -5792,18 +4778,6 @@ func (s RuleCondition) GoString() string { return s.String() } -// SetField sets the Field field's value. -func (s *RuleCondition) SetField(v string) *RuleCondition { - s.Field = &v - return s -} - -// SetValues sets the Values field's value. -func (s *RuleCondition) SetValues(v []string) *RuleCondition { - s.Values = v - return s -} - // Information about the priorities for the rules for a listener. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RulePriorityPair type RulePriorityPair struct { @@ -5839,18 +4813,6 @@ func (s *RulePriorityPair) Validate() error { return nil } -// SetPriority sets the Priority field's value. -func (s *RulePriorityPair) SetPriority(v int64) *RulePriorityPair { - s.Priority = &v - return s -} - -// SetRuleArn sets the RuleArn field's value. -func (s *RulePriorityPair) SetRuleArn(v string) *RulePriorityPair { - s.RuleArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetIpAddressTypeInput type SetIpAddressTypeInput struct { _ struct{} `type:"structure"` @@ -5895,18 +4857,6 @@ func (s *SetIpAddressTypeInput) Validate() error { return nil } -// SetIpAddressType sets the IpAddressType field's value. -func (s *SetIpAddressTypeInput) SetIpAddressType(v IpAddressType) *SetIpAddressTypeInput { - s.IpAddressType = v - return s -} - -// SetLoadBalancerArn sets the LoadBalancerArn field's value. -func (s *SetIpAddressTypeInput) SetLoadBalancerArn(v string) *SetIpAddressTypeInput { - s.LoadBalancerArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetIpAddressTypeOutput type SetIpAddressTypeOutput struct { _ struct{} `type:"structure"` @@ -5932,12 +4882,6 @@ func (s SetIpAddressTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIpAddressType sets the IpAddressType field's value. -func (s *SetIpAddressTypeOutput) SetIpAddressType(v IpAddressType) *SetIpAddressTypeOutput { - s.IpAddressType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePrioritiesInput type SetRulePrioritiesInput struct { _ struct{} `type:"structure"` @@ -5979,12 +4923,6 @@ func (s *SetRulePrioritiesInput) Validate() error { return nil } -// SetRulePriorities sets the RulePriorities field's value. -func (s *SetRulePrioritiesInput) SetRulePriorities(v []RulePriorityPair) *SetRulePrioritiesInput { - s.RulePriorities = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePrioritiesOutput type SetRulePrioritiesOutput struct { _ struct{} `type:"structure"` @@ -6010,12 +4948,6 @@ func (s SetRulePrioritiesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRules sets the Rules field's value. -func (s *SetRulePrioritiesOutput) SetRules(v []Rule) *SetRulePrioritiesOutput { - s.Rules = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroupsInput type SetSecurityGroupsInput struct { _ struct{} `type:"structure"` @@ -6059,18 +4991,6 @@ func (s *SetSecurityGroupsInput) Validate() error { return nil } -// SetLoadBalancerArn sets the LoadBalancerArn field's value. -func (s *SetSecurityGroupsInput) SetLoadBalancerArn(v string) *SetSecurityGroupsInput { - s.LoadBalancerArn = &v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *SetSecurityGroupsInput) SetSecurityGroups(v []string) *SetSecurityGroupsInput { - s.SecurityGroups = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroupsOutput type SetSecurityGroupsOutput struct { _ struct{} `type:"structure"` @@ -6096,12 +5016,6 @@ func (s SetSecurityGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *SetSecurityGroupsOutput) SetSecurityGroupIds(v []string) *SetSecurityGroupsOutput { - s.SecurityGroupIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnetsInput type SetSubnetsInput struct { _ struct{} `type:"structure"` @@ -6155,24 +5069,6 @@ func (s *SetSubnetsInput) Validate() error { return nil } -// SetLoadBalancerArn sets the LoadBalancerArn field's value. -func (s *SetSubnetsInput) SetLoadBalancerArn(v string) *SetSubnetsInput { - s.LoadBalancerArn = &v - return s -} - -// SetSubnetMappings sets the SubnetMappings field's value. -func (s *SetSubnetsInput) SetSubnetMappings(v []SubnetMapping) *SetSubnetsInput { - s.SubnetMappings = v - return s -} - -// SetSubnets sets the Subnets field's value. -func (s *SetSubnetsInput) SetSubnets(v []string) *SetSubnetsInput { - s.Subnets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnetsOutput type SetSubnetsOutput struct { _ struct{} `type:"structure"` @@ -6198,12 +5094,6 @@ func (s SetSubnetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *SetSubnetsOutput) SetAvailabilityZones(v []AvailabilityZone) *SetSubnetsOutput { - s.AvailabilityZones = v - return s -} - // Information about a policy used for SSL negotiation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SslPolicy type SslPolicy struct { @@ -6229,24 +5119,6 @@ func (s SslPolicy) GoString() string { return s.String() } -// SetCiphers sets the Ciphers field's value. -func (s *SslPolicy) SetCiphers(v []Cipher) *SslPolicy { - s.Ciphers = v - return s -} - -// SetName sets the Name field's value. -func (s *SslPolicy) SetName(v string) *SslPolicy { - s.Name = &v - return s -} - -// SetSslProtocols sets the SslProtocols field's value. -func (s *SslPolicy) SetSslProtocols(v []string) *SslPolicy { - s.SslProtocols = v - return s -} - // Information about a subnet mapping. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SubnetMapping type SubnetMapping struct { @@ -6269,18 +5141,6 @@ func (s SubnetMapping) GoString() string { return s.String() } -// SetAllocationId sets the AllocationId field's value. -func (s *SubnetMapping) SetAllocationId(v string) *SubnetMapping { - s.AllocationId = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *SubnetMapping) SetSubnetId(v string) *SubnetMapping { - s.SubnetId = &v - return s -} - // Information about a tag. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/Tag type Tag struct { @@ -6322,18 +5182,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // The tags associated with a resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TagDescription type TagDescription struct { @@ -6356,18 +5204,6 @@ func (s TagDescription) GoString() string { return s.String() } -// SetResourceArn sets the ResourceArn field's value. -func (s *TagDescription) SetResourceArn(v string) *TagDescription { - s.ResourceArn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagDescription) SetTags(v []Tag) *TagDescription { - s.Tags = v - return s -} - // Information about a target. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetDescription type TargetDescription struct { @@ -6423,24 +5259,6 @@ func (s *TargetDescription) Validate() error { return nil } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *TargetDescription) SetAvailabilityZone(v string) *TargetDescription { - s.AvailabilityZone = &v - return s -} - -// SetId sets the Id field's value. -func (s *TargetDescription) SetId(v string) *TargetDescription { - s.Id = &v - return s -} - -// SetPort sets the Port field's value. -func (s *TargetDescription) SetPort(v int64) *TargetDescription { - s.Port = &v - return s -} - // Information about a target group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetGroup type TargetGroup struct { @@ -6509,96 +5327,6 @@ func (s TargetGroup) GoString() string { return s.String() } -// SetHealthCheckIntervalSeconds sets the HealthCheckIntervalSeconds field's value. -func (s *TargetGroup) SetHealthCheckIntervalSeconds(v int64) *TargetGroup { - s.HealthCheckIntervalSeconds = &v - return s -} - -// SetHealthCheckPath sets the HealthCheckPath field's value. -func (s *TargetGroup) SetHealthCheckPath(v string) *TargetGroup { - s.HealthCheckPath = &v - return s -} - -// SetHealthCheckPort sets the HealthCheckPort field's value. -func (s *TargetGroup) SetHealthCheckPort(v string) *TargetGroup { - s.HealthCheckPort = &v - return s -} - -// SetHealthCheckProtocol sets the HealthCheckProtocol field's value. -func (s *TargetGroup) SetHealthCheckProtocol(v ProtocolEnum) *TargetGroup { - s.HealthCheckProtocol = v - return s -} - -// SetHealthCheckTimeoutSeconds sets the HealthCheckTimeoutSeconds field's value. -func (s *TargetGroup) SetHealthCheckTimeoutSeconds(v int64) *TargetGroup { - s.HealthCheckTimeoutSeconds = &v - return s -} - -// SetHealthyThresholdCount sets the HealthyThresholdCount field's value. -func (s *TargetGroup) SetHealthyThresholdCount(v int64) *TargetGroup { - s.HealthyThresholdCount = &v - return s -} - -// SetLoadBalancerArns sets the LoadBalancerArns field's value. -func (s *TargetGroup) SetLoadBalancerArns(v []string) *TargetGroup { - s.LoadBalancerArns = v - return s -} - -// SetMatcher sets the Matcher field's value. -func (s *TargetGroup) SetMatcher(v *Matcher) *TargetGroup { - s.Matcher = v - return s -} - -// SetPort sets the Port field's value. -func (s *TargetGroup) SetPort(v int64) *TargetGroup { - s.Port = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *TargetGroup) SetProtocol(v ProtocolEnum) *TargetGroup { - s.Protocol = v - return s -} - -// SetTargetGroupArn sets the TargetGroupArn field's value. -func (s *TargetGroup) SetTargetGroupArn(v string) *TargetGroup { - s.TargetGroupArn = &v - return s -} - -// SetTargetGroupName sets the TargetGroupName field's value. -func (s *TargetGroup) SetTargetGroupName(v string) *TargetGroup { - s.TargetGroupName = &v - return s -} - -// SetTargetType sets the TargetType field's value. -func (s *TargetGroup) SetTargetType(v TargetTypeEnum) *TargetGroup { - s.TargetType = v - return s -} - -// SetUnhealthyThresholdCount sets the UnhealthyThresholdCount field's value. -func (s *TargetGroup) SetUnhealthyThresholdCount(v int64) *TargetGroup { - s.UnhealthyThresholdCount = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *TargetGroup) SetVpcId(v string) *TargetGroup { - s.VpcId = &v - return s -} - // Information about a target group attribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetGroupAttribute type TargetGroupAttribute struct { @@ -6638,18 +5366,6 @@ func (s TargetGroupAttribute) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *TargetGroupAttribute) SetKey(v string) *TargetGroupAttribute { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *TargetGroupAttribute) SetValue(v string) *TargetGroupAttribute { - s.Value = &v - return s -} - // Information about the current health of a target. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetHealth type TargetHealth struct { @@ -6719,24 +5435,6 @@ func (s TargetHealth) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *TargetHealth) SetDescription(v string) *TargetHealth { - s.Description = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *TargetHealth) SetReason(v TargetHealthReasonEnum) *TargetHealth { - s.Reason = v - return s -} - -// SetState sets the State field's value. -func (s *TargetHealth) SetState(v TargetHealthStateEnum) *TargetHealth { - s.State = v - return s -} - // Information about the health of a target. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetHealthDescription type TargetHealthDescription struct { @@ -6762,24 +5460,6 @@ func (s TargetHealthDescription) GoString() string { return s.String() } -// SetHealthCheckPort sets the HealthCheckPort field's value. -func (s *TargetHealthDescription) SetHealthCheckPort(v string) *TargetHealthDescription { - s.HealthCheckPort = &v - return s -} - -// SetTarget sets the Target field's value. -func (s *TargetHealthDescription) SetTarget(v *TargetDescription) *TargetHealthDescription { - s.Target = v - return s -} - -// SetTargetHealth sets the TargetHealth field's value. -func (s *TargetHealthDescription) SetTargetHealth(v *TargetHealth) *TargetHealthDescription { - s.TargetHealth = v - return s -} - type ActionTypeEnum string // Enum values for ActionTypeEnum diff --git a/service/emr/api.go b/service/emr/api.go index eb717d3f8c4..1457664ffba 100644 --- a/service/emr/api.go +++ b/service/emr/api.go @@ -1871,18 +1871,6 @@ func (s *AddInstanceFleetInput) Validate() error { return nil } -// SetClusterId sets the ClusterId field's value. -func (s *AddInstanceFleetInput) SetClusterId(v string) *AddInstanceFleetInput { - s.ClusterId = &v - return s -} - -// SetInstanceFleet sets the InstanceFleet field's value. -func (s *AddInstanceFleetInput) SetInstanceFleet(v *InstanceFleetConfig) *AddInstanceFleetInput { - s.InstanceFleet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceFleetOutput type AddInstanceFleetOutput struct { _ struct{} `type:"structure"` @@ -1911,18 +1899,6 @@ func (s AddInstanceFleetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClusterId sets the ClusterId field's value. -func (s *AddInstanceFleetOutput) SetClusterId(v string) *AddInstanceFleetOutput { - s.ClusterId = &v - return s -} - -// SetInstanceFleetId sets the InstanceFleetId field's value. -func (s *AddInstanceFleetOutput) SetInstanceFleetId(v string) *AddInstanceFleetOutput { - s.InstanceFleetId = &v - return s -} - // Input to an AddInstanceGroups call. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceGroupsInput type AddInstanceGroupsInput struct { @@ -1974,18 +1950,6 @@ func (s *AddInstanceGroupsInput) Validate() error { return nil } -// SetInstanceGroups sets the InstanceGroups field's value. -func (s *AddInstanceGroupsInput) SetInstanceGroups(v []InstanceGroupConfig) *AddInstanceGroupsInput { - s.InstanceGroups = v - return s -} - -// SetJobFlowId sets the JobFlowId field's value. -func (s *AddInstanceGroupsInput) SetJobFlowId(v string) *AddInstanceGroupsInput { - s.JobFlowId = &v - return s -} - // Output from an AddInstanceGroups call. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceGroupsOutput type AddInstanceGroupsOutput struct { @@ -2015,18 +1979,6 @@ func (s AddInstanceGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceGroupIds sets the InstanceGroupIds field's value. -func (s *AddInstanceGroupsOutput) SetInstanceGroupIds(v []string) *AddInstanceGroupsOutput { - s.InstanceGroupIds = v - return s -} - -// SetJobFlowId sets the JobFlowId field's value. -func (s *AddInstanceGroupsOutput) SetJobFlowId(v string) *AddInstanceGroupsOutput { - s.JobFlowId = &v - return s -} - // The input argument to the AddJobFlowSteps operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddJobFlowStepsInput type AddJobFlowStepsInput struct { @@ -2079,18 +2031,6 @@ func (s *AddJobFlowStepsInput) Validate() error { return nil } -// SetJobFlowId sets the JobFlowId field's value. -func (s *AddJobFlowStepsInput) SetJobFlowId(v string) *AddJobFlowStepsInput { - s.JobFlowId = &v - return s -} - -// SetSteps sets the Steps field's value. -func (s *AddJobFlowStepsInput) SetSteps(v []StepConfig) *AddJobFlowStepsInput { - s.Steps = v - return s -} - // The output for the AddJobFlowSteps operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddJobFlowStepsOutput type AddJobFlowStepsOutput struct { @@ -2117,12 +2057,6 @@ func (s AddJobFlowStepsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStepIds sets the StepIds field's value. -func (s *AddJobFlowStepsOutput) SetStepIds(v []string) *AddJobFlowStepsOutput { - s.StepIds = v - return s -} - // This input identifies a cluster and a list of tags to attach. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddTagsInput type AddTagsInput struct { @@ -2171,18 +2105,6 @@ func (s *AddTagsInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *AddTagsInput) SetResourceId(v string) *AddTagsInput { - s.ResourceId = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *AddTagsInput) SetTags(v []Tag) *AddTagsInput { - s.Tags = v - return s -} - // This output indicates the result of adding tags to a resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddTagsOutput type AddTagsOutput struct { @@ -2252,30 +2174,6 @@ func (s Application) GoString() string { return s.String() } -// SetAdditionalInfo sets the AdditionalInfo field's value. -func (s *Application) SetAdditionalInfo(v map[string]string) *Application { - s.AdditionalInfo = v - return s -} - -// SetArgs sets the Args field's value. -func (s *Application) SetArgs(v []string) *Application { - s.Args = v - return s -} - -// SetName sets the Name field's value. -func (s *Application) SetName(v string) *Application { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *Application) SetVersion(v string) *Application { - s.Version = &v - return s -} - // An automatic scaling policy for a core instance group or task instance group // in an Amazon EMR cluster. An automatic scaling policy defines how an instance // group dynamically adds and terminates EC2 instances in response to the value @@ -2337,18 +2235,6 @@ func (s *AutoScalingPolicy) Validate() error { return nil } -// SetConstraints sets the Constraints field's value. -func (s *AutoScalingPolicy) SetConstraints(v *ScalingConstraints) *AutoScalingPolicy { - s.Constraints = v - return s -} - -// SetRules sets the Rules field's value. -func (s *AutoScalingPolicy) SetRules(v []ScalingRule) *AutoScalingPolicy { - s.Rules = v - return s -} - // An automatic scaling policy for a core instance group or task instance group // in an Amazon EMR cluster. The automatic scaling policy defines how an instance // group dynamically adds and terminates EC2 instances in response to the value @@ -2379,24 +2265,6 @@ func (s AutoScalingPolicyDescription) GoString() string { return s.String() } -// SetConstraints sets the Constraints field's value. -func (s *AutoScalingPolicyDescription) SetConstraints(v *ScalingConstraints) *AutoScalingPolicyDescription { - s.Constraints = v - return s -} - -// SetRules sets the Rules field's value. -func (s *AutoScalingPolicyDescription) SetRules(v []ScalingRule) *AutoScalingPolicyDescription { - s.Rules = v - return s -} - -// SetStatus sets the Status field's value. -func (s *AutoScalingPolicyDescription) SetStatus(v *AutoScalingPolicyStatus) *AutoScalingPolicyDescription { - s.Status = v - return s -} - // The reason for an AutoScalingPolicyStatus change. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AutoScalingPolicyStateChangeReason type AutoScalingPolicyStateChangeReason struct { @@ -2423,18 +2291,6 @@ func (s AutoScalingPolicyStateChangeReason) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *AutoScalingPolicyStateChangeReason) SetCode(v AutoScalingPolicyStateChangeReasonCode) *AutoScalingPolicyStateChangeReason { - s.Code = v - return s -} - -// SetMessage sets the Message field's value. -func (s *AutoScalingPolicyStateChangeReason) SetMessage(v string) *AutoScalingPolicyStateChangeReason { - s.Message = &v - return s -} - // The status of an automatic scaling policy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AutoScalingPolicyStatus type AutoScalingPolicyStatus struct { @@ -2457,18 +2313,6 @@ func (s AutoScalingPolicyStatus) GoString() string { return s.String() } -// SetState sets the State field's value. -func (s *AutoScalingPolicyStatus) SetState(v AutoScalingPolicyState) *AutoScalingPolicyStatus { - s.State = v - return s -} - -// SetStateChangeReason sets the StateChangeReason field's value. -func (s *AutoScalingPolicyStatus) SetStateChangeReason(v *AutoScalingPolicyStateChangeReason) *AutoScalingPolicyStatus { - s.StateChangeReason = v - return s -} - // Configuration of a bootstrap action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/BootstrapActionConfig type BootstrapActionConfig struct { @@ -2518,18 +2362,6 @@ func (s *BootstrapActionConfig) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *BootstrapActionConfig) SetName(v string) *BootstrapActionConfig { - s.Name = &v - return s -} - -// SetScriptBootstrapAction sets the ScriptBootstrapAction field's value. -func (s *BootstrapActionConfig) SetScriptBootstrapAction(v *ScriptBootstrapActionConfig) *BootstrapActionConfig { - s.ScriptBootstrapAction = v - return s -} - // Reports the configuration of a bootstrap action in a cluster (job flow). // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/BootstrapActionDetail type BootstrapActionDetail struct { @@ -2549,12 +2381,6 @@ func (s BootstrapActionDetail) GoString() string { return s.String() } -// SetBootstrapActionConfig sets the BootstrapActionConfig field's value. -func (s *BootstrapActionDetail) SetBootstrapActionConfig(v *BootstrapActionConfig) *BootstrapActionDetail { - s.BootstrapActionConfig = v - return s -} - // Specification of the status of a CancelSteps request. Available only in Amazon // EMR version 4.8.0 and later, excluding version 5.0.0. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CancelStepsInfo @@ -2581,24 +2407,6 @@ func (s CancelStepsInfo) GoString() string { return s.String() } -// SetReason sets the Reason field's value. -func (s *CancelStepsInfo) SetReason(v string) *CancelStepsInfo { - s.Reason = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *CancelStepsInfo) SetStatus(v CancelStepsRequestStatus) *CancelStepsInfo { - s.Status = v - return s -} - -// SetStepId sets the StepId field's value. -func (s *CancelStepsInfo) SetStepId(v string) *CancelStepsInfo { - s.StepId = &v - return s -} - // The input argument to the CancelSteps operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CancelStepsInput type CancelStepsInput struct { @@ -2623,18 +2431,6 @@ func (s CancelStepsInput) GoString() string { return s.String() } -// SetClusterId sets the ClusterId field's value. -func (s *CancelStepsInput) SetClusterId(v string) *CancelStepsInput { - s.ClusterId = &v - return s -} - -// SetStepIds sets the StepIds field's value. -func (s *CancelStepsInput) SetStepIds(v []string) *CancelStepsInput { - s.StepIds = v - return s -} - // The output for the CancelSteps operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CancelStepsOutput type CancelStepsOutput struct { @@ -2662,12 +2458,6 @@ func (s CancelStepsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCancelStepsInfoList sets the CancelStepsInfoList field's value. -func (s *CancelStepsOutput) SetCancelStepsInfoList(v []CancelStepsInfo) *CancelStepsOutput { - s.CancelStepsInfoList = v - return s -} - // The definition of a CloudWatch metric alarm, which determines when an automatic // scaling activity is triggered. When the defined alarm conditions are satisfied, // scaling activity begins. @@ -2754,60 +2544,6 @@ func (s *CloudWatchAlarmDefinition) Validate() error { return nil } -// SetComparisonOperator sets the ComparisonOperator field's value. -func (s *CloudWatchAlarmDefinition) SetComparisonOperator(v ComparisonOperator) *CloudWatchAlarmDefinition { - s.ComparisonOperator = v - return s -} - -// SetDimensions sets the Dimensions field's value. -func (s *CloudWatchAlarmDefinition) SetDimensions(v []MetricDimension) *CloudWatchAlarmDefinition { - s.Dimensions = v - return s -} - -// SetEvaluationPeriods sets the EvaluationPeriods field's value. -func (s *CloudWatchAlarmDefinition) SetEvaluationPeriods(v int64) *CloudWatchAlarmDefinition { - s.EvaluationPeriods = &v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *CloudWatchAlarmDefinition) SetMetricName(v string) *CloudWatchAlarmDefinition { - s.MetricName = &v - return s -} - -// SetNamespace sets the Namespace field's value. -func (s *CloudWatchAlarmDefinition) SetNamespace(v string) *CloudWatchAlarmDefinition { - s.Namespace = &v - return s -} - -// SetPeriod sets the Period field's value. -func (s *CloudWatchAlarmDefinition) SetPeriod(v int64) *CloudWatchAlarmDefinition { - s.Period = &v - return s -} - -// SetStatistic sets the Statistic field's value. -func (s *CloudWatchAlarmDefinition) SetStatistic(v Statistic) *CloudWatchAlarmDefinition { - s.Statistic = v - return s -} - -// SetThreshold sets the Threshold field's value. -func (s *CloudWatchAlarmDefinition) SetThreshold(v float64) *CloudWatchAlarmDefinition { - s.Threshold = &v - return s -} - -// SetUnit sets the Unit field's value. -func (s *CloudWatchAlarmDefinition) SetUnit(v Unit) *CloudWatchAlarmDefinition { - s.Unit = v - return s -} - // The detailed description of the cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Cluster type Cluster struct { @@ -2940,156 +2676,6 @@ func (s Cluster) GoString() string { return s.String() } -// SetApplications sets the Applications field's value. -func (s *Cluster) SetApplications(v []Application) *Cluster { - s.Applications = v - return s -} - -// SetAutoScalingRole sets the AutoScalingRole field's value. -func (s *Cluster) SetAutoScalingRole(v string) *Cluster { - s.AutoScalingRole = &v - return s -} - -// SetAutoTerminate sets the AutoTerminate field's value. -func (s *Cluster) SetAutoTerminate(v bool) *Cluster { - s.AutoTerminate = &v - return s -} - -// SetConfigurations sets the Configurations field's value. -func (s *Cluster) SetConfigurations(v []Configuration) *Cluster { - s.Configurations = v - return s -} - -// SetCustomAmiId sets the CustomAmiId field's value. -func (s *Cluster) SetCustomAmiId(v string) *Cluster { - s.CustomAmiId = &v - return s -} - -// SetEbsRootVolumeSize sets the EbsRootVolumeSize field's value. -func (s *Cluster) SetEbsRootVolumeSize(v int64) *Cluster { - s.EbsRootVolumeSize = &v - return s -} - -// SetEc2InstanceAttributes sets the Ec2InstanceAttributes field's value. -func (s *Cluster) SetEc2InstanceAttributes(v *Ec2InstanceAttributes) *Cluster { - s.Ec2InstanceAttributes = v - return s -} - -// SetId sets the Id field's value. -func (s *Cluster) SetId(v string) *Cluster { - s.Id = &v - return s -} - -// SetInstanceCollectionType sets the InstanceCollectionType field's value. -func (s *Cluster) SetInstanceCollectionType(v InstanceCollectionType) *Cluster { - s.InstanceCollectionType = v - return s -} - -// SetKerberosAttributes sets the KerberosAttributes field's value. -func (s *Cluster) SetKerberosAttributes(v *KerberosAttributes) *Cluster { - s.KerberosAttributes = v - return s -} - -// SetLogUri sets the LogUri field's value. -func (s *Cluster) SetLogUri(v string) *Cluster { - s.LogUri = &v - return s -} - -// SetMasterPublicDnsName sets the MasterPublicDnsName field's value. -func (s *Cluster) SetMasterPublicDnsName(v string) *Cluster { - s.MasterPublicDnsName = &v - return s -} - -// SetName sets the Name field's value. -func (s *Cluster) SetName(v string) *Cluster { - s.Name = &v - return s -} - -// SetNormalizedInstanceHours sets the NormalizedInstanceHours field's value. -func (s *Cluster) SetNormalizedInstanceHours(v int64) *Cluster { - s.NormalizedInstanceHours = &v - return s -} - -// SetReleaseLabel sets the ReleaseLabel field's value. -func (s *Cluster) SetReleaseLabel(v string) *Cluster { - s.ReleaseLabel = &v - return s -} - -// SetRepoUpgradeOnBoot sets the RepoUpgradeOnBoot field's value. -func (s *Cluster) SetRepoUpgradeOnBoot(v RepoUpgradeOnBoot) *Cluster { - s.RepoUpgradeOnBoot = v - return s -} - -// SetRequestedAmiVersion sets the RequestedAmiVersion field's value. -func (s *Cluster) SetRequestedAmiVersion(v string) *Cluster { - s.RequestedAmiVersion = &v - return s -} - -// SetRunningAmiVersion sets the RunningAmiVersion field's value. -func (s *Cluster) SetRunningAmiVersion(v string) *Cluster { - s.RunningAmiVersion = &v - return s -} - -// SetScaleDownBehavior sets the ScaleDownBehavior field's value. -func (s *Cluster) SetScaleDownBehavior(v ScaleDownBehavior) *Cluster { - s.ScaleDownBehavior = v - return s -} - -// SetSecurityConfiguration sets the SecurityConfiguration field's value. -func (s *Cluster) SetSecurityConfiguration(v string) *Cluster { - s.SecurityConfiguration = &v - return s -} - -// SetServiceRole sets the ServiceRole field's value. -func (s *Cluster) SetServiceRole(v string) *Cluster { - s.ServiceRole = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Cluster) SetStatus(v *ClusterStatus) *Cluster { - s.Status = v - return s -} - -// SetTags sets the Tags field's value. -func (s *Cluster) SetTags(v []Tag) *Cluster { - s.Tags = v - return s -} - -// SetTerminationProtected sets the TerminationProtected field's value. -func (s *Cluster) SetTerminationProtected(v bool) *Cluster { - s.TerminationProtected = &v - return s -} - -// SetVisibleToAllUsers sets the VisibleToAllUsers field's value. -func (s *Cluster) SetVisibleToAllUsers(v bool) *Cluster { - s.VisibleToAllUsers = &v - return s -} - // The reason that the cluster changed to its current state. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ClusterStateChangeReason type ClusterStateChangeReason struct { @@ -3112,18 +2698,6 @@ func (s ClusterStateChangeReason) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *ClusterStateChangeReason) SetCode(v ClusterStateChangeReasonCode) *ClusterStateChangeReason { - s.Code = v - return s -} - -// SetMessage sets the Message field's value. -func (s *ClusterStateChangeReason) SetMessage(v string) *ClusterStateChangeReason { - s.Message = &v - return s -} - // The detailed status of the cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ClusterStatus type ClusterStatus struct { @@ -3150,24 +2724,6 @@ func (s ClusterStatus) GoString() string { return s.String() } -// SetState sets the State field's value. -func (s *ClusterStatus) SetState(v ClusterState) *ClusterStatus { - s.State = v - return s -} - -// SetStateChangeReason sets the StateChangeReason field's value. -func (s *ClusterStatus) SetStateChangeReason(v *ClusterStateChangeReason) *ClusterStatus { - s.StateChangeReason = v - return s -} - -// SetTimeline sets the Timeline field's value. -func (s *ClusterStatus) SetTimeline(v *ClusterTimeline) *ClusterStatus { - s.Timeline = v - return s -} - // The summary description of the cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ClusterSummary type ClusterSummary struct { @@ -3201,30 +2757,6 @@ func (s ClusterSummary) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *ClusterSummary) SetId(v string) *ClusterSummary { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *ClusterSummary) SetName(v string) *ClusterSummary { - s.Name = &v - return s -} - -// SetNormalizedInstanceHours sets the NormalizedInstanceHours field's value. -func (s *ClusterSummary) SetNormalizedInstanceHours(v int64) *ClusterSummary { - s.NormalizedInstanceHours = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ClusterSummary) SetStatus(v *ClusterStatus) *ClusterSummary { - s.Status = v - return s -} - // Represents the timeline of the cluster's lifecycle. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ClusterTimeline type ClusterTimeline struct { @@ -3250,24 +2782,6 @@ func (s ClusterTimeline) GoString() string { return s.String() } -// SetCreationDateTime sets the CreationDateTime field's value. -func (s *ClusterTimeline) SetCreationDateTime(v time.Time) *ClusterTimeline { - s.CreationDateTime = &v - return s -} - -// SetEndDateTime sets the EndDateTime field's value. -func (s *ClusterTimeline) SetEndDateTime(v time.Time) *ClusterTimeline { - s.EndDateTime = &v - return s -} - -// SetReadyDateTime sets the ReadyDateTime field's value. -func (s *ClusterTimeline) SetReadyDateTime(v time.Time) *ClusterTimeline { - s.ReadyDateTime = &v - return s -} - // An entity describing an executable that runs on a cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Command type Command struct { @@ -3293,24 +2807,6 @@ func (s Command) GoString() string { return s.String() } -// SetArgs sets the Args field's value. -func (s *Command) SetArgs(v []string) *Command { - s.Args = v - return s -} - -// SetName sets the Name field's value. -func (s *Command) SetName(v string) *Command { - s.Name = &v - return s -} - -// SetScriptPath sets the ScriptPath field's value. -func (s *Command) SetScriptPath(v string) *Command { - s.ScriptPath = &v - return s -} - // Amazon EMR releases 4.x or later. // // An optional configuration specification to be used when provisioning cluster @@ -3343,24 +2839,6 @@ func (s Configuration) GoString() string { return s.String() } -// SetClassification sets the Classification field's value. -func (s *Configuration) SetClassification(v string) *Configuration { - s.Classification = &v - return s -} - -// SetConfigurations sets the Configurations field's value. -func (s *Configuration) SetConfigurations(v []Configuration) *Configuration { - s.Configurations = v - return s -} - -// SetProperties sets the Properties field's value. -func (s *Configuration) SetProperties(v map[string]string) *Configuration { - s.Properties = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateSecurityConfigurationInput type CreateSecurityConfigurationInput struct { _ struct{} `type:"structure"` @@ -3406,18 +2884,6 @@ func (s *CreateSecurityConfigurationInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *CreateSecurityConfigurationInput) SetName(v string) *CreateSecurityConfigurationInput { - s.Name = &v - return s -} - -// SetSecurityConfiguration sets the SecurityConfiguration field's value. -func (s *CreateSecurityConfigurationInput) SetSecurityConfiguration(v string) *CreateSecurityConfigurationInput { - s.SecurityConfiguration = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateSecurityConfigurationOutput type CreateSecurityConfigurationOutput struct { _ struct{} `type:"structure"` @@ -3450,18 +2916,6 @@ func (s CreateSecurityConfigurationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreationDateTime sets the CreationDateTime field's value. -func (s *CreateSecurityConfigurationOutput) SetCreationDateTime(v time.Time) *CreateSecurityConfigurationOutput { - s.CreationDateTime = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateSecurityConfigurationOutput) SetName(v string) *CreateSecurityConfigurationOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteSecurityConfigurationInput type DeleteSecurityConfigurationInput struct { _ struct{} `type:"structure"` @@ -3496,12 +2950,6 @@ func (s *DeleteSecurityConfigurationInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteSecurityConfigurationInput) SetName(v string) *DeleteSecurityConfigurationInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteSecurityConfigurationOutput type DeleteSecurityConfigurationOutput struct { _ struct{} `type:"structure"` @@ -3559,12 +3007,6 @@ func (s *DescribeClusterInput) Validate() error { return nil } -// SetClusterId sets the ClusterId field's value. -func (s *DescribeClusterInput) SetClusterId(v string) *DescribeClusterInput { - s.ClusterId = &v - return s -} - // This output contains the description of the cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeClusterOutput type DescribeClusterOutput struct { @@ -3591,12 +3033,6 @@ func (s DescribeClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *DescribeClusterOutput) SetCluster(v *Cluster) *DescribeClusterOutput { - s.Cluster = v - return s -} - // The input for the DescribeJobFlows operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeJobFlowsInput type DescribeJobFlowsInput struct { @@ -3625,30 +3061,6 @@ func (s DescribeJobFlowsInput) GoString() string { return s.String() } -// SetCreatedAfter sets the CreatedAfter field's value. -func (s *DescribeJobFlowsInput) SetCreatedAfter(v time.Time) *DescribeJobFlowsInput { - s.CreatedAfter = &v - return s -} - -// SetCreatedBefore sets the CreatedBefore field's value. -func (s *DescribeJobFlowsInput) SetCreatedBefore(v time.Time) *DescribeJobFlowsInput { - s.CreatedBefore = &v - return s -} - -// SetJobFlowIds sets the JobFlowIds field's value. -func (s *DescribeJobFlowsInput) SetJobFlowIds(v []string) *DescribeJobFlowsInput { - s.JobFlowIds = v - return s -} - -// SetJobFlowStates sets the JobFlowStates field's value. -func (s *DescribeJobFlowsInput) SetJobFlowStates(v []JobFlowExecutionState) *DescribeJobFlowsInput { - s.JobFlowStates = v - return s -} - // The output for the DescribeJobFlows operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeJobFlowsOutput type DescribeJobFlowsOutput struct { @@ -3675,12 +3087,6 @@ func (s DescribeJobFlowsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobFlows sets the JobFlows field's value. -func (s *DescribeJobFlowsOutput) SetJobFlows(v []JobFlowDetail) *DescribeJobFlowsOutput { - s.JobFlows = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeSecurityConfigurationInput type DescribeSecurityConfigurationInput struct { _ struct{} `type:"structure"` @@ -3715,12 +3121,6 @@ func (s *DescribeSecurityConfigurationInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DescribeSecurityConfigurationInput) SetName(v string) *DescribeSecurityConfigurationInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeSecurityConfigurationOutput type DescribeSecurityConfigurationOutput struct { _ struct{} `type:"structure"` @@ -3752,24 +3152,6 @@ func (s DescribeSecurityConfigurationOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetCreationDateTime sets the CreationDateTime field's value. -func (s *DescribeSecurityConfigurationOutput) SetCreationDateTime(v time.Time) *DescribeSecurityConfigurationOutput { - s.CreationDateTime = &v - return s -} - -// SetName sets the Name field's value. -func (s *DescribeSecurityConfigurationOutput) SetName(v string) *DescribeSecurityConfigurationOutput { - s.Name = &v - return s -} - -// SetSecurityConfiguration sets the SecurityConfiguration field's value. -func (s *DescribeSecurityConfigurationOutput) SetSecurityConfiguration(v string) *DescribeSecurityConfigurationOutput { - s.SecurityConfiguration = &v - return s -} - // This input determines which step to describe. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeStepInput type DescribeStepInput struct { @@ -3814,18 +3196,6 @@ func (s *DescribeStepInput) Validate() error { return nil } -// SetClusterId sets the ClusterId field's value. -func (s *DescribeStepInput) SetClusterId(v string) *DescribeStepInput { - s.ClusterId = &v - return s -} - -// SetStepId sets the StepId field's value. -func (s *DescribeStepInput) SetStepId(v string) *DescribeStepInput { - s.StepId = &v - return s -} - // This output contains the description of the cluster step. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeStepOutput type DescribeStepOutput struct { @@ -3852,12 +3222,6 @@ func (s DescribeStepOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStep sets the Step field's value. -func (s *DescribeStepOutput) SetStep(v *Step) *DescribeStepOutput { - s.Step = v - return s -} - // Configuration of requested EBS block device associated with the instance // group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/EbsBlockDevice @@ -3882,18 +3246,6 @@ func (s EbsBlockDevice) GoString() string { return s.String() } -// SetDevice sets the Device field's value. -func (s *EbsBlockDevice) SetDevice(v string) *EbsBlockDevice { - s.Device = &v - return s -} - -// SetVolumeSpecification sets the VolumeSpecification field's value. -func (s *EbsBlockDevice) SetVolumeSpecification(v *VolumeSpecification) *EbsBlockDevice { - s.VolumeSpecification = v - return s -} - // Configuration of requested EBS block device associated with the instance // group with count of volumes that will be associated to every instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/EbsBlockDeviceConfig @@ -3940,18 +3292,6 @@ func (s *EbsBlockDeviceConfig) Validate() error { return nil } -// SetVolumeSpecification sets the VolumeSpecification field's value. -func (s *EbsBlockDeviceConfig) SetVolumeSpecification(v *VolumeSpecification) *EbsBlockDeviceConfig { - s.VolumeSpecification = v - return s -} - -// SetVolumesPerInstance sets the VolumesPerInstance field's value. -func (s *EbsBlockDeviceConfig) SetVolumesPerInstance(v int64) *EbsBlockDeviceConfig { - s.VolumesPerInstance = &v - return s -} - // The Amazon EBS configuration of a cluster instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/EbsConfiguration type EbsConfiguration struct { @@ -3991,18 +3331,6 @@ func (s *EbsConfiguration) Validate() error { return nil } -// SetEbsBlockDeviceConfigs sets the EbsBlockDeviceConfigs field's value. -func (s *EbsConfiguration) SetEbsBlockDeviceConfigs(v []EbsBlockDeviceConfig) *EbsConfiguration { - s.EbsBlockDeviceConfigs = v - return s -} - -// SetEbsOptimized sets the EbsOptimized field's value. -func (s *EbsConfiguration) SetEbsOptimized(v bool) *EbsConfiguration { - s.EbsOptimized = &v - return s -} - // EBS block device that's attached to an EC2 instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/EbsVolume type EbsVolume struct { @@ -4025,18 +3353,6 @@ func (s EbsVolume) GoString() string { return s.String() } -// SetDevice sets the Device field's value. -func (s *EbsVolume) SetDevice(v string) *EbsVolume { - s.Device = &v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *EbsVolume) SetVolumeId(v string) *EbsVolume { - s.VolumeId = &v - return s -} - // Provides information about the EC2 instances in a cluster grouped by category. // For example, key name, subnet ID, IAM instance profile, and so on. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Ec2InstanceAttributes @@ -4113,72 +3429,6 @@ func (s Ec2InstanceAttributes) GoString() string { return s.String() } -// SetAdditionalMasterSecurityGroups sets the AdditionalMasterSecurityGroups field's value. -func (s *Ec2InstanceAttributes) SetAdditionalMasterSecurityGroups(v []string) *Ec2InstanceAttributes { - s.AdditionalMasterSecurityGroups = v - return s -} - -// SetAdditionalSlaveSecurityGroups sets the AdditionalSlaveSecurityGroups field's value. -func (s *Ec2InstanceAttributes) SetAdditionalSlaveSecurityGroups(v []string) *Ec2InstanceAttributes { - s.AdditionalSlaveSecurityGroups = v - return s -} - -// SetEc2AvailabilityZone sets the Ec2AvailabilityZone field's value. -func (s *Ec2InstanceAttributes) SetEc2AvailabilityZone(v string) *Ec2InstanceAttributes { - s.Ec2AvailabilityZone = &v - return s -} - -// SetEc2KeyName sets the Ec2KeyName field's value. -func (s *Ec2InstanceAttributes) SetEc2KeyName(v string) *Ec2InstanceAttributes { - s.Ec2KeyName = &v - return s -} - -// SetEc2SubnetId sets the Ec2SubnetId field's value. -func (s *Ec2InstanceAttributes) SetEc2SubnetId(v string) *Ec2InstanceAttributes { - s.Ec2SubnetId = &v - return s -} - -// SetEmrManagedMasterSecurityGroup sets the EmrManagedMasterSecurityGroup field's value. -func (s *Ec2InstanceAttributes) SetEmrManagedMasterSecurityGroup(v string) *Ec2InstanceAttributes { - s.EmrManagedMasterSecurityGroup = &v - return s -} - -// SetEmrManagedSlaveSecurityGroup sets the EmrManagedSlaveSecurityGroup field's value. -func (s *Ec2InstanceAttributes) SetEmrManagedSlaveSecurityGroup(v string) *Ec2InstanceAttributes { - s.EmrManagedSlaveSecurityGroup = &v - return s -} - -// SetIamInstanceProfile sets the IamInstanceProfile field's value. -func (s *Ec2InstanceAttributes) SetIamInstanceProfile(v string) *Ec2InstanceAttributes { - s.IamInstanceProfile = &v - return s -} - -// SetRequestedEc2AvailabilityZones sets the RequestedEc2AvailabilityZones field's value. -func (s *Ec2InstanceAttributes) SetRequestedEc2AvailabilityZones(v []string) *Ec2InstanceAttributes { - s.RequestedEc2AvailabilityZones = v - return s -} - -// SetRequestedEc2SubnetIds sets the RequestedEc2SubnetIds field's value. -func (s *Ec2InstanceAttributes) SetRequestedEc2SubnetIds(v []string) *Ec2InstanceAttributes { - s.RequestedEc2SubnetIds = v - return s -} - -// SetServiceAccessSecurityGroup sets the ServiceAccessSecurityGroup field's value. -func (s *Ec2InstanceAttributes) SetServiceAccessSecurityGroup(v string) *Ec2InstanceAttributes { - s.ServiceAccessSecurityGroup = &v - return s -} - // The details of the step failure. The service attempts to detect the root // cause for many common failures. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/FailureDetails @@ -4210,24 +3460,6 @@ func (s FailureDetails) GoString() string { return s.String() } -// SetLogFile sets the LogFile field's value. -func (s *FailureDetails) SetLogFile(v string) *FailureDetails { - s.LogFile = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *FailureDetails) SetMessage(v string) *FailureDetails { - s.Message = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *FailureDetails) SetReason(v string) *FailureDetails { - s.Reason = &v - return s -} - // A job flow step consisting of a JAR file whose main function will be executed. // The main function submits a job for Hadoop to execute and waits for the job // to finish or fail. @@ -4277,30 +3509,6 @@ func (s *HadoopJarStepConfig) Validate() error { return nil } -// SetArgs sets the Args field's value. -func (s *HadoopJarStepConfig) SetArgs(v []string) *HadoopJarStepConfig { - s.Args = v - return s -} - -// SetJar sets the Jar field's value. -func (s *HadoopJarStepConfig) SetJar(v string) *HadoopJarStepConfig { - s.Jar = &v - return s -} - -// SetMainClass sets the MainClass field's value. -func (s *HadoopJarStepConfig) SetMainClass(v string) *HadoopJarStepConfig { - s.MainClass = &v - return s -} - -// SetProperties sets the Properties field's value. -func (s *HadoopJarStepConfig) SetProperties(v []KeyValue) *HadoopJarStepConfig { - s.Properties = v - return s -} - // A cluster step consisting of a JAR file whose main function will be executed. // The main function submits a job for Hadoop to execute and waits for the job // to finish or fail. @@ -4334,30 +3542,6 @@ func (s HadoopStepConfig) GoString() string { return s.String() } -// SetArgs sets the Args field's value. -func (s *HadoopStepConfig) SetArgs(v []string) *HadoopStepConfig { - s.Args = v - return s -} - -// SetJar sets the Jar field's value. -func (s *HadoopStepConfig) SetJar(v string) *HadoopStepConfig { - s.Jar = &v - return s -} - -// SetMainClass sets the MainClass field's value. -func (s *HadoopStepConfig) SetMainClass(v string) *HadoopStepConfig { - s.MainClass = &v - return s -} - -// SetProperties sets the Properties field's value. -func (s *HadoopStepConfig) SetProperties(v map[string]string) *HadoopStepConfig { - s.Properties = v - return s -} - // Represents an EC2 instance provisioned as part of cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Instance type Instance struct { @@ -4410,78 +3594,6 @@ func (s Instance) GoString() string { return s.String() } -// SetEbsVolumes sets the EbsVolumes field's value. -func (s *Instance) SetEbsVolumes(v []EbsVolume) *Instance { - s.EbsVolumes = v - return s -} - -// SetEc2InstanceId sets the Ec2InstanceId field's value. -func (s *Instance) SetEc2InstanceId(v string) *Instance { - s.Ec2InstanceId = &v - return s -} - -// SetId sets the Id field's value. -func (s *Instance) SetId(v string) *Instance { - s.Id = &v - return s -} - -// SetInstanceFleetId sets the InstanceFleetId field's value. -func (s *Instance) SetInstanceFleetId(v string) *Instance { - s.InstanceFleetId = &v - return s -} - -// SetInstanceGroupId sets the InstanceGroupId field's value. -func (s *Instance) SetInstanceGroupId(v string) *Instance { - s.InstanceGroupId = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *Instance) SetInstanceType(v string) *Instance { - s.InstanceType = &v - return s -} - -// SetMarket sets the Market field's value. -func (s *Instance) SetMarket(v MarketType) *Instance { - s.Market = v - return s -} - -// SetPrivateDnsName sets the PrivateDnsName field's value. -func (s *Instance) SetPrivateDnsName(v string) *Instance { - s.PrivateDnsName = &v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *Instance) SetPrivateIpAddress(v string) *Instance { - s.PrivateIpAddress = &v - return s -} - -// SetPublicDnsName sets the PublicDnsName field's value. -func (s *Instance) SetPublicDnsName(v string) *Instance { - s.PublicDnsName = &v - return s -} - -// SetPublicIpAddress sets the PublicIpAddress field's value. -func (s *Instance) SetPublicIpAddress(v string) *Instance { - s.PublicIpAddress = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Instance) SetStatus(v *InstanceStatus) *Instance { - s.Status = v - return s -} - // Describes an instance fleet, which is a group of EC2 instances that host // a particular node type (master, core, or task) in an Amazon EMR cluster. // Instance fleets can consist of a mix of instance types and On-Demand and @@ -4574,66 +3686,6 @@ func (s InstanceFleet) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *InstanceFleet) SetId(v string) *InstanceFleet { - s.Id = &v - return s -} - -// SetInstanceFleetType sets the InstanceFleetType field's value. -func (s *InstanceFleet) SetInstanceFleetType(v InstanceFleetType) *InstanceFleet { - s.InstanceFleetType = v - return s -} - -// SetInstanceTypeSpecifications sets the InstanceTypeSpecifications field's value. -func (s *InstanceFleet) SetInstanceTypeSpecifications(v []InstanceTypeSpecification) *InstanceFleet { - s.InstanceTypeSpecifications = v - return s -} - -// SetLaunchSpecifications sets the LaunchSpecifications field's value. -func (s *InstanceFleet) SetLaunchSpecifications(v *InstanceFleetProvisioningSpecifications) *InstanceFleet { - s.LaunchSpecifications = v - return s -} - -// SetName sets the Name field's value. -func (s *InstanceFleet) SetName(v string) *InstanceFleet { - s.Name = &v - return s -} - -// SetProvisionedOnDemandCapacity sets the ProvisionedOnDemandCapacity field's value. -func (s *InstanceFleet) SetProvisionedOnDemandCapacity(v int64) *InstanceFleet { - s.ProvisionedOnDemandCapacity = &v - return s -} - -// SetProvisionedSpotCapacity sets the ProvisionedSpotCapacity field's value. -func (s *InstanceFleet) SetProvisionedSpotCapacity(v int64) *InstanceFleet { - s.ProvisionedSpotCapacity = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *InstanceFleet) SetStatus(v *InstanceFleetStatus) *InstanceFleet { - s.Status = v - return s -} - -// SetTargetOnDemandCapacity sets the TargetOnDemandCapacity field's value. -func (s *InstanceFleet) SetTargetOnDemandCapacity(v int64) *InstanceFleet { - s.TargetOnDemandCapacity = &v - return s -} - -// SetTargetSpotCapacity sets the TargetSpotCapacity field's value. -func (s *InstanceFleet) SetTargetSpotCapacity(v int64) *InstanceFleet { - s.TargetSpotCapacity = &v - return s -} - // The configuration that defines an instance fleet. // // The instance fleet configuration is available only in Amazon EMR versions @@ -4729,42 +3781,6 @@ func (s *InstanceFleetConfig) Validate() error { return nil } -// SetInstanceFleetType sets the InstanceFleetType field's value. -func (s *InstanceFleetConfig) SetInstanceFleetType(v InstanceFleetType) *InstanceFleetConfig { - s.InstanceFleetType = v - return s -} - -// SetInstanceTypeConfigs sets the InstanceTypeConfigs field's value. -func (s *InstanceFleetConfig) SetInstanceTypeConfigs(v []InstanceTypeConfig) *InstanceFleetConfig { - s.InstanceTypeConfigs = v - return s -} - -// SetLaunchSpecifications sets the LaunchSpecifications field's value. -func (s *InstanceFleetConfig) SetLaunchSpecifications(v *InstanceFleetProvisioningSpecifications) *InstanceFleetConfig { - s.LaunchSpecifications = v - return s -} - -// SetName sets the Name field's value. -func (s *InstanceFleetConfig) SetName(v string) *InstanceFleetConfig { - s.Name = &v - return s -} - -// SetTargetOnDemandCapacity sets the TargetOnDemandCapacity field's value. -func (s *InstanceFleetConfig) SetTargetOnDemandCapacity(v int64) *InstanceFleetConfig { - s.TargetOnDemandCapacity = &v - return s -} - -// SetTargetSpotCapacity sets the TargetSpotCapacity field's value. -func (s *InstanceFleetConfig) SetTargetSpotCapacity(v int64) *InstanceFleetConfig { - s.TargetSpotCapacity = &v - return s -} - // Configuration parameters for an instance fleet modification request. // // The instance fleet configuration is available only in Amazon EMR versions @@ -4811,24 +3827,6 @@ func (s *InstanceFleetModifyConfig) Validate() error { return nil } -// SetInstanceFleetId sets the InstanceFleetId field's value. -func (s *InstanceFleetModifyConfig) SetInstanceFleetId(v string) *InstanceFleetModifyConfig { - s.InstanceFleetId = &v - return s -} - -// SetTargetOnDemandCapacity sets the TargetOnDemandCapacity field's value. -func (s *InstanceFleetModifyConfig) SetTargetOnDemandCapacity(v int64) *InstanceFleetModifyConfig { - s.TargetOnDemandCapacity = &v - return s -} - -// SetTargetSpotCapacity sets the TargetSpotCapacity field's value. -func (s *InstanceFleetModifyConfig) SetTargetSpotCapacity(v int64) *InstanceFleetModifyConfig { - s.TargetSpotCapacity = &v - return s -} - // The launch specification for Spot instances in the fleet, which determines // the defined duration and provisioning timeout behavior. // @@ -4874,12 +3872,6 @@ func (s *InstanceFleetProvisioningSpecifications) Validate() error { return nil } -// SetSpotSpecification sets the SpotSpecification field's value. -func (s *InstanceFleetProvisioningSpecifications) SetSpotSpecification(v *SpotProvisioningSpecification) *InstanceFleetProvisioningSpecifications { - s.SpotSpecification = v - return s -} - // Provides status change reason details for the instance fleet. // // The instance fleet configuration is available only in Amazon EMR versions @@ -4905,18 +3897,6 @@ func (s InstanceFleetStateChangeReason) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *InstanceFleetStateChangeReason) SetCode(v InstanceFleetStateChangeReasonCode) *InstanceFleetStateChangeReason { - s.Code = v - return s -} - -// SetMessage sets the Message field's value. -func (s *InstanceFleetStateChangeReason) SetMessage(v string) *InstanceFleetStateChangeReason { - s.Message = &v - return s -} - // The status of the instance fleet. // // The instance fleet configuration is available only in Amazon EMR versions @@ -4966,24 +3946,6 @@ func (s InstanceFleetStatus) GoString() string { return s.String() } -// SetState sets the State field's value. -func (s *InstanceFleetStatus) SetState(v InstanceFleetState) *InstanceFleetStatus { - s.State = v - return s -} - -// SetStateChangeReason sets the StateChangeReason field's value. -func (s *InstanceFleetStatus) SetStateChangeReason(v *InstanceFleetStateChangeReason) *InstanceFleetStatus { - s.StateChangeReason = v - return s -} - -// SetTimeline sets the Timeline field's value. -func (s *InstanceFleetStatus) SetTimeline(v *InstanceFleetTimeline) *InstanceFleetStatus { - s.Timeline = v - return s -} - // Provides historical timestamps for the instance fleet, including the time // of creation, the time it became ready to run jobs, and the time of termination. // @@ -5013,24 +3975,6 @@ func (s InstanceFleetTimeline) GoString() string { return s.String() } -// SetCreationDateTime sets the CreationDateTime field's value. -func (s *InstanceFleetTimeline) SetCreationDateTime(v time.Time) *InstanceFleetTimeline { - s.CreationDateTime = &v - return s -} - -// SetEndDateTime sets the EndDateTime field's value. -func (s *InstanceFleetTimeline) SetEndDateTime(v time.Time) *InstanceFleetTimeline { - s.EndDateTime = &v - return s -} - -// SetReadyDateTime sets the ReadyDateTime field's value. -func (s *InstanceFleetTimeline) SetReadyDateTime(v time.Time) *InstanceFleetTimeline { - s.ReadyDateTime = &v - return s -} - // This entity represents an instance group, which is a group of instances that // have common purpose. For example, CORE instance group is used for HDFS. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroup @@ -5101,90 +4045,6 @@ func (s InstanceGroup) GoString() string { return s.String() } -// SetAutoScalingPolicy sets the AutoScalingPolicy field's value. -func (s *InstanceGroup) SetAutoScalingPolicy(v *AutoScalingPolicyDescription) *InstanceGroup { - s.AutoScalingPolicy = v - return s -} - -// SetBidPrice sets the BidPrice field's value. -func (s *InstanceGroup) SetBidPrice(v string) *InstanceGroup { - s.BidPrice = &v - return s -} - -// SetConfigurations sets the Configurations field's value. -func (s *InstanceGroup) SetConfigurations(v []Configuration) *InstanceGroup { - s.Configurations = v - return s -} - -// SetEbsBlockDevices sets the EbsBlockDevices field's value. -func (s *InstanceGroup) SetEbsBlockDevices(v []EbsBlockDevice) *InstanceGroup { - s.EbsBlockDevices = v - return s -} - -// SetEbsOptimized sets the EbsOptimized field's value. -func (s *InstanceGroup) SetEbsOptimized(v bool) *InstanceGroup { - s.EbsOptimized = &v - return s -} - -// SetId sets the Id field's value. -func (s *InstanceGroup) SetId(v string) *InstanceGroup { - s.Id = &v - return s -} - -// SetInstanceGroupType sets the InstanceGroupType field's value. -func (s *InstanceGroup) SetInstanceGroupType(v InstanceGroupType) *InstanceGroup { - s.InstanceGroupType = v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *InstanceGroup) SetInstanceType(v string) *InstanceGroup { - s.InstanceType = &v - return s -} - -// SetMarket sets the Market field's value. -func (s *InstanceGroup) SetMarket(v MarketType) *InstanceGroup { - s.Market = v - return s -} - -// SetName sets the Name field's value. -func (s *InstanceGroup) SetName(v string) *InstanceGroup { - s.Name = &v - return s -} - -// SetRequestedInstanceCount sets the RequestedInstanceCount field's value. -func (s *InstanceGroup) SetRequestedInstanceCount(v int64) *InstanceGroup { - s.RequestedInstanceCount = &v - return s -} - -// SetRunningInstanceCount sets the RunningInstanceCount field's value. -func (s *InstanceGroup) SetRunningInstanceCount(v int64) *InstanceGroup { - s.RunningInstanceCount = &v - return s -} - -// SetShrinkPolicy sets the ShrinkPolicy field's value. -func (s *InstanceGroup) SetShrinkPolicy(v *ShrinkPolicy) *InstanceGroup { - s.ShrinkPolicy = v - return s -} - -// SetStatus sets the Status field's value. -func (s *InstanceGroup) SetStatus(v *InstanceGroupStatus) *InstanceGroup { - s.Status = v - return s -} - // Configuration defining a new instance group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroupConfig type InstanceGroupConfig struct { @@ -5277,60 +4137,6 @@ func (s *InstanceGroupConfig) Validate() error { return nil } -// SetAutoScalingPolicy sets the AutoScalingPolicy field's value. -func (s *InstanceGroupConfig) SetAutoScalingPolicy(v *AutoScalingPolicy) *InstanceGroupConfig { - s.AutoScalingPolicy = v - return s -} - -// SetBidPrice sets the BidPrice field's value. -func (s *InstanceGroupConfig) SetBidPrice(v string) *InstanceGroupConfig { - s.BidPrice = &v - return s -} - -// SetConfigurations sets the Configurations field's value. -func (s *InstanceGroupConfig) SetConfigurations(v []Configuration) *InstanceGroupConfig { - s.Configurations = v - return s -} - -// SetEbsConfiguration sets the EbsConfiguration field's value. -func (s *InstanceGroupConfig) SetEbsConfiguration(v *EbsConfiguration) *InstanceGroupConfig { - s.EbsConfiguration = v - return s -} - -// SetInstanceCount sets the InstanceCount field's value. -func (s *InstanceGroupConfig) SetInstanceCount(v int64) *InstanceGroupConfig { - s.InstanceCount = &v - return s -} - -// SetInstanceRole sets the InstanceRole field's value. -func (s *InstanceGroupConfig) SetInstanceRole(v InstanceRoleType) *InstanceGroupConfig { - s.InstanceRole = v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *InstanceGroupConfig) SetInstanceType(v string) *InstanceGroupConfig { - s.InstanceType = &v - return s -} - -// SetMarket sets the Market field's value. -func (s *InstanceGroupConfig) SetMarket(v MarketType) *InstanceGroupConfig { - s.Market = v - return s -} - -// SetName sets the Name field's value. -func (s *InstanceGroupConfig) SetName(v string) *InstanceGroupConfig { - s.Name = &v - return s -} - // Detailed information about an instance group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroupDetail type InstanceGroupDetail struct { @@ -5405,90 +4211,6 @@ func (s InstanceGroupDetail) GoString() string { return s.String() } -// SetBidPrice sets the BidPrice field's value. -func (s *InstanceGroupDetail) SetBidPrice(v string) *InstanceGroupDetail { - s.BidPrice = &v - return s -} - -// SetCreationDateTime sets the CreationDateTime field's value. -func (s *InstanceGroupDetail) SetCreationDateTime(v time.Time) *InstanceGroupDetail { - s.CreationDateTime = &v - return s -} - -// SetEndDateTime sets the EndDateTime field's value. -func (s *InstanceGroupDetail) SetEndDateTime(v time.Time) *InstanceGroupDetail { - s.EndDateTime = &v - return s -} - -// SetInstanceGroupId sets the InstanceGroupId field's value. -func (s *InstanceGroupDetail) SetInstanceGroupId(v string) *InstanceGroupDetail { - s.InstanceGroupId = &v - return s -} - -// SetInstanceRequestCount sets the InstanceRequestCount field's value. -func (s *InstanceGroupDetail) SetInstanceRequestCount(v int64) *InstanceGroupDetail { - s.InstanceRequestCount = &v - return s -} - -// SetInstanceRole sets the InstanceRole field's value. -func (s *InstanceGroupDetail) SetInstanceRole(v InstanceRoleType) *InstanceGroupDetail { - s.InstanceRole = v - return s -} - -// SetInstanceRunningCount sets the InstanceRunningCount field's value. -func (s *InstanceGroupDetail) SetInstanceRunningCount(v int64) *InstanceGroupDetail { - s.InstanceRunningCount = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *InstanceGroupDetail) SetInstanceType(v string) *InstanceGroupDetail { - s.InstanceType = &v - return s -} - -// SetLastStateChangeReason sets the LastStateChangeReason field's value. -func (s *InstanceGroupDetail) SetLastStateChangeReason(v string) *InstanceGroupDetail { - s.LastStateChangeReason = &v - return s -} - -// SetMarket sets the Market field's value. -func (s *InstanceGroupDetail) SetMarket(v MarketType) *InstanceGroupDetail { - s.Market = v - return s -} - -// SetName sets the Name field's value. -func (s *InstanceGroupDetail) SetName(v string) *InstanceGroupDetail { - s.Name = &v - return s -} - -// SetReadyDateTime sets the ReadyDateTime field's value. -func (s *InstanceGroupDetail) SetReadyDateTime(v time.Time) *InstanceGroupDetail { - s.ReadyDateTime = &v - return s -} - -// SetStartDateTime sets the StartDateTime field's value. -func (s *InstanceGroupDetail) SetStartDateTime(v time.Time) *InstanceGroupDetail { - s.StartDateTime = &v - return s -} - -// SetState sets the State field's value. -func (s *InstanceGroupDetail) SetState(v InstanceGroupState) *InstanceGroupDetail { - s.State = v - return s -} - // Modify an instance group size. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroupModifyConfig type InstanceGroupModifyConfig struct { @@ -5534,30 +4256,6 @@ func (s *InstanceGroupModifyConfig) Validate() error { return nil } -// SetEC2InstanceIdsToTerminate sets the EC2InstanceIdsToTerminate field's value. -func (s *InstanceGroupModifyConfig) SetEC2InstanceIdsToTerminate(v []string) *InstanceGroupModifyConfig { - s.EC2InstanceIdsToTerminate = v - return s -} - -// SetInstanceCount sets the InstanceCount field's value. -func (s *InstanceGroupModifyConfig) SetInstanceCount(v int64) *InstanceGroupModifyConfig { - s.InstanceCount = &v - return s -} - -// SetInstanceGroupId sets the InstanceGroupId field's value. -func (s *InstanceGroupModifyConfig) SetInstanceGroupId(v string) *InstanceGroupModifyConfig { - s.InstanceGroupId = &v - return s -} - -// SetShrinkPolicy sets the ShrinkPolicy field's value. -func (s *InstanceGroupModifyConfig) SetShrinkPolicy(v *ShrinkPolicy) *InstanceGroupModifyConfig { - s.ShrinkPolicy = v - return s -} - // The status change reason details for the instance group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroupStateChangeReason type InstanceGroupStateChangeReason struct { @@ -5580,18 +4278,6 @@ func (s InstanceGroupStateChangeReason) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *InstanceGroupStateChangeReason) SetCode(v InstanceGroupStateChangeReasonCode) *InstanceGroupStateChangeReason { - s.Code = v - return s -} - -// SetMessage sets the Message field's value. -func (s *InstanceGroupStateChangeReason) SetMessage(v string) *InstanceGroupStateChangeReason { - s.Message = &v - return s -} - // The details of the instance group status. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroupStatus type InstanceGroupStatus struct { @@ -5617,24 +4303,6 @@ func (s InstanceGroupStatus) GoString() string { return s.String() } -// SetState sets the State field's value. -func (s *InstanceGroupStatus) SetState(v InstanceGroupState) *InstanceGroupStatus { - s.State = v - return s -} - -// SetStateChangeReason sets the StateChangeReason field's value. -func (s *InstanceGroupStatus) SetStateChangeReason(v *InstanceGroupStateChangeReason) *InstanceGroupStatus { - s.StateChangeReason = v - return s -} - -// SetTimeline sets the Timeline field's value. -func (s *InstanceGroupStatus) SetTimeline(v *InstanceGroupTimeline) *InstanceGroupStatus { - s.Timeline = v - return s -} - // The timeline of the instance group lifecycle. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceGroupTimeline type InstanceGroupTimeline struct { @@ -5660,24 +4328,6 @@ func (s InstanceGroupTimeline) GoString() string { return s.String() } -// SetCreationDateTime sets the CreationDateTime field's value. -func (s *InstanceGroupTimeline) SetCreationDateTime(v time.Time) *InstanceGroupTimeline { - s.CreationDateTime = &v - return s -} - -// SetEndDateTime sets the EndDateTime field's value. -func (s *InstanceGroupTimeline) SetEndDateTime(v time.Time) *InstanceGroupTimeline { - s.EndDateTime = &v - return s -} - -// SetReadyDateTime sets the ReadyDateTime field's value. -func (s *InstanceGroupTimeline) SetReadyDateTime(v time.Time) *InstanceGroupTimeline { - s.ReadyDateTime = &v - return s -} - // Custom policy for requesting termination protection or termination of specific // instances when shrinking an instance group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceResizePolicy @@ -5705,24 +4355,6 @@ func (s InstanceResizePolicy) GoString() string { return s.String() } -// SetInstanceTerminationTimeout sets the InstanceTerminationTimeout field's value. -func (s *InstanceResizePolicy) SetInstanceTerminationTimeout(v int64) *InstanceResizePolicy { - s.InstanceTerminationTimeout = &v - return s -} - -// SetInstancesToProtect sets the InstancesToProtect field's value. -func (s *InstanceResizePolicy) SetInstancesToProtect(v []string) *InstanceResizePolicy { - s.InstancesToProtect = v - return s -} - -// SetInstancesToTerminate sets the InstancesToTerminate field's value. -func (s *InstanceResizePolicy) SetInstancesToTerminate(v []string) *InstanceResizePolicy { - s.InstancesToTerminate = v - return s -} - // The details of the status change reason for the instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceStateChangeReason type InstanceStateChangeReason struct { @@ -5745,18 +4377,6 @@ func (s InstanceStateChangeReason) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *InstanceStateChangeReason) SetCode(v InstanceStateChangeReasonCode) *InstanceStateChangeReason { - s.Code = v - return s -} - -// SetMessage sets the Message field's value. -func (s *InstanceStateChangeReason) SetMessage(v string) *InstanceStateChangeReason { - s.Message = &v - return s -} - // The instance status details. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceStatus type InstanceStatus struct { @@ -5782,24 +4402,6 @@ func (s InstanceStatus) GoString() string { return s.String() } -// SetState sets the State field's value. -func (s *InstanceStatus) SetState(v InstanceState) *InstanceStatus { - s.State = v - return s -} - -// SetStateChangeReason sets the StateChangeReason field's value. -func (s *InstanceStatus) SetStateChangeReason(v *InstanceStateChangeReason) *InstanceStatus { - s.StateChangeReason = v - return s -} - -// SetTimeline sets the Timeline field's value. -func (s *InstanceStatus) SetTimeline(v *InstanceTimeline) *InstanceStatus { - s.Timeline = v - return s -} - // The timeline of the instance lifecycle. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceTimeline type InstanceTimeline struct { @@ -5825,24 +4427,6 @@ func (s InstanceTimeline) GoString() string { return s.String() } -// SetCreationDateTime sets the CreationDateTime field's value. -func (s *InstanceTimeline) SetCreationDateTime(v time.Time) *InstanceTimeline { - s.CreationDateTime = &v - return s -} - -// SetEndDateTime sets the EndDateTime field's value. -func (s *InstanceTimeline) SetEndDateTime(v time.Time) *InstanceTimeline { - s.EndDateTime = &v - return s -} - -// SetReadyDateTime sets the ReadyDateTime field's value. -func (s *InstanceTimeline) SetReadyDateTime(v time.Time) *InstanceTimeline { - s.ReadyDateTime = &v - return s -} - // An instance type configuration for each instance type in an instance fleet, // which determines the EC2 instances Amazon EMR attempts to provision to fulfill // On-Demand and Spot target capacities. There can be a maximum of 5 instance @@ -5918,42 +4502,6 @@ func (s *InstanceTypeConfig) Validate() error { return nil } -// SetBidPrice sets the BidPrice field's value. -func (s *InstanceTypeConfig) SetBidPrice(v string) *InstanceTypeConfig { - s.BidPrice = &v - return s -} - -// SetBidPriceAsPercentageOfOnDemandPrice sets the BidPriceAsPercentageOfOnDemandPrice field's value. -func (s *InstanceTypeConfig) SetBidPriceAsPercentageOfOnDemandPrice(v float64) *InstanceTypeConfig { - s.BidPriceAsPercentageOfOnDemandPrice = &v - return s -} - -// SetConfigurations sets the Configurations field's value. -func (s *InstanceTypeConfig) SetConfigurations(v []Configuration) *InstanceTypeConfig { - s.Configurations = v - return s -} - -// SetEbsConfiguration sets the EbsConfiguration field's value. -func (s *InstanceTypeConfig) SetEbsConfiguration(v *EbsConfiguration) *InstanceTypeConfig { - s.EbsConfiguration = v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *InstanceTypeConfig) SetInstanceType(v string) *InstanceTypeConfig { - s.InstanceType = &v - return s -} - -// SetWeightedCapacity sets the WeightedCapacity field's value. -func (s *InstanceTypeConfig) SetWeightedCapacity(v int64) *InstanceTypeConfig { - s.WeightedCapacity = &v - return s -} - // The configuration specification for each instance type in an instance fleet. // // The instance fleet configuration is available only in Amazon EMR versions @@ -6003,48 +4551,6 @@ func (s InstanceTypeSpecification) GoString() string { return s.String() } -// SetBidPrice sets the BidPrice field's value. -func (s *InstanceTypeSpecification) SetBidPrice(v string) *InstanceTypeSpecification { - s.BidPrice = &v - return s -} - -// SetBidPriceAsPercentageOfOnDemandPrice sets the BidPriceAsPercentageOfOnDemandPrice field's value. -func (s *InstanceTypeSpecification) SetBidPriceAsPercentageOfOnDemandPrice(v float64) *InstanceTypeSpecification { - s.BidPriceAsPercentageOfOnDemandPrice = &v - return s -} - -// SetConfigurations sets the Configurations field's value. -func (s *InstanceTypeSpecification) SetConfigurations(v []Configuration) *InstanceTypeSpecification { - s.Configurations = v - return s -} - -// SetEbsBlockDevices sets the EbsBlockDevices field's value. -func (s *InstanceTypeSpecification) SetEbsBlockDevices(v []EbsBlockDevice) *InstanceTypeSpecification { - s.EbsBlockDevices = v - return s -} - -// SetEbsOptimized sets the EbsOptimized field's value. -func (s *InstanceTypeSpecification) SetEbsOptimized(v bool) *InstanceTypeSpecification { - s.EbsOptimized = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *InstanceTypeSpecification) SetInstanceType(v string) *InstanceTypeSpecification { - s.InstanceType = &v - return s -} - -// SetWeightedCapacity sets the WeightedCapacity field's value. -func (s *InstanceTypeSpecification) SetWeightedCapacity(v int64) *InstanceTypeSpecification { - s.WeightedCapacity = &v - return s -} - // A description of a cluster (job flow). // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/JobFlowDetail type JobFlowDetail struct { @@ -6137,90 +4643,6 @@ func (s JobFlowDetail) GoString() string { return s.String() } -// SetAmiVersion sets the AmiVersion field's value. -func (s *JobFlowDetail) SetAmiVersion(v string) *JobFlowDetail { - s.AmiVersion = &v - return s -} - -// SetAutoScalingRole sets the AutoScalingRole field's value. -func (s *JobFlowDetail) SetAutoScalingRole(v string) *JobFlowDetail { - s.AutoScalingRole = &v - return s -} - -// SetBootstrapActions sets the BootstrapActions field's value. -func (s *JobFlowDetail) SetBootstrapActions(v []BootstrapActionDetail) *JobFlowDetail { - s.BootstrapActions = v - return s -} - -// SetExecutionStatusDetail sets the ExecutionStatusDetail field's value. -func (s *JobFlowDetail) SetExecutionStatusDetail(v *JobFlowExecutionStatusDetail) *JobFlowDetail { - s.ExecutionStatusDetail = v - return s -} - -// SetInstances sets the Instances field's value. -func (s *JobFlowDetail) SetInstances(v *JobFlowInstancesDetail) *JobFlowDetail { - s.Instances = v - return s -} - -// SetJobFlowId sets the JobFlowId field's value. -func (s *JobFlowDetail) SetJobFlowId(v string) *JobFlowDetail { - s.JobFlowId = &v - return s -} - -// SetJobFlowRole sets the JobFlowRole field's value. -func (s *JobFlowDetail) SetJobFlowRole(v string) *JobFlowDetail { - s.JobFlowRole = &v - return s -} - -// SetLogUri sets the LogUri field's value. -func (s *JobFlowDetail) SetLogUri(v string) *JobFlowDetail { - s.LogUri = &v - return s -} - -// SetName sets the Name field's value. -func (s *JobFlowDetail) SetName(v string) *JobFlowDetail { - s.Name = &v - return s -} - -// SetScaleDownBehavior sets the ScaleDownBehavior field's value. -func (s *JobFlowDetail) SetScaleDownBehavior(v ScaleDownBehavior) *JobFlowDetail { - s.ScaleDownBehavior = v - return s -} - -// SetServiceRole sets the ServiceRole field's value. -func (s *JobFlowDetail) SetServiceRole(v string) *JobFlowDetail { - s.ServiceRole = &v - return s -} - -// SetSteps sets the Steps field's value. -func (s *JobFlowDetail) SetSteps(v []StepDetail) *JobFlowDetail { - s.Steps = v - return s -} - -// SetSupportedProducts sets the SupportedProducts field's value. -func (s *JobFlowDetail) SetSupportedProducts(v []string) *JobFlowDetail { - s.SupportedProducts = v - return s -} - -// SetVisibleToAllUsers sets the VisibleToAllUsers field's value. -func (s *JobFlowDetail) SetVisibleToAllUsers(v bool) *JobFlowDetail { - s.VisibleToAllUsers = &v - return s -} - // Describes the status of the cluster (job flow). // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/JobFlowExecutionStatusDetail type JobFlowExecutionStatusDetail struct { @@ -6260,42 +4682,6 @@ func (s JobFlowExecutionStatusDetail) GoString() string { return s.String() } -// SetCreationDateTime sets the CreationDateTime field's value. -func (s *JobFlowExecutionStatusDetail) SetCreationDateTime(v time.Time) *JobFlowExecutionStatusDetail { - s.CreationDateTime = &v - return s -} - -// SetEndDateTime sets the EndDateTime field's value. -func (s *JobFlowExecutionStatusDetail) SetEndDateTime(v time.Time) *JobFlowExecutionStatusDetail { - s.EndDateTime = &v - return s -} - -// SetLastStateChangeReason sets the LastStateChangeReason field's value. -func (s *JobFlowExecutionStatusDetail) SetLastStateChangeReason(v string) *JobFlowExecutionStatusDetail { - s.LastStateChangeReason = &v - return s -} - -// SetReadyDateTime sets the ReadyDateTime field's value. -func (s *JobFlowExecutionStatusDetail) SetReadyDateTime(v time.Time) *JobFlowExecutionStatusDetail { - s.ReadyDateTime = &v - return s -} - -// SetStartDateTime sets the StartDateTime field's value. -func (s *JobFlowExecutionStatusDetail) SetStartDateTime(v time.Time) *JobFlowExecutionStatusDetail { - s.StartDateTime = &v - return s -} - -// SetState sets the State field's value. -func (s *JobFlowExecutionStatusDetail) SetState(v JobFlowExecutionState) *JobFlowExecutionStatusDetail { - s.State = v - return s -} - // A description of the Amazon EC2 instance on which the cluster (job flow) // runs. A valid JobFlowInstancesConfig must contain either InstanceGroups or // InstanceFleets, which is the recommended configuration. They cannot be used @@ -6425,108 +4811,6 @@ func (s *JobFlowInstancesConfig) Validate() error { return nil } -// SetAdditionalMasterSecurityGroups sets the AdditionalMasterSecurityGroups field's value. -func (s *JobFlowInstancesConfig) SetAdditionalMasterSecurityGroups(v []string) *JobFlowInstancesConfig { - s.AdditionalMasterSecurityGroups = v - return s -} - -// SetAdditionalSlaveSecurityGroups sets the AdditionalSlaveSecurityGroups field's value. -func (s *JobFlowInstancesConfig) SetAdditionalSlaveSecurityGroups(v []string) *JobFlowInstancesConfig { - s.AdditionalSlaveSecurityGroups = v - return s -} - -// SetEc2KeyName sets the Ec2KeyName field's value. -func (s *JobFlowInstancesConfig) SetEc2KeyName(v string) *JobFlowInstancesConfig { - s.Ec2KeyName = &v - return s -} - -// SetEc2SubnetId sets the Ec2SubnetId field's value. -func (s *JobFlowInstancesConfig) SetEc2SubnetId(v string) *JobFlowInstancesConfig { - s.Ec2SubnetId = &v - return s -} - -// SetEc2SubnetIds sets the Ec2SubnetIds field's value. -func (s *JobFlowInstancesConfig) SetEc2SubnetIds(v []string) *JobFlowInstancesConfig { - s.Ec2SubnetIds = v - return s -} - -// SetEmrManagedMasterSecurityGroup sets the EmrManagedMasterSecurityGroup field's value. -func (s *JobFlowInstancesConfig) SetEmrManagedMasterSecurityGroup(v string) *JobFlowInstancesConfig { - s.EmrManagedMasterSecurityGroup = &v - return s -} - -// SetEmrManagedSlaveSecurityGroup sets the EmrManagedSlaveSecurityGroup field's value. -func (s *JobFlowInstancesConfig) SetEmrManagedSlaveSecurityGroup(v string) *JobFlowInstancesConfig { - s.EmrManagedSlaveSecurityGroup = &v - return s -} - -// SetHadoopVersion sets the HadoopVersion field's value. -func (s *JobFlowInstancesConfig) SetHadoopVersion(v string) *JobFlowInstancesConfig { - s.HadoopVersion = &v - return s -} - -// SetInstanceCount sets the InstanceCount field's value. -func (s *JobFlowInstancesConfig) SetInstanceCount(v int64) *JobFlowInstancesConfig { - s.InstanceCount = &v - return s -} - -// SetInstanceFleets sets the InstanceFleets field's value. -func (s *JobFlowInstancesConfig) SetInstanceFleets(v []InstanceFleetConfig) *JobFlowInstancesConfig { - s.InstanceFleets = v - return s -} - -// SetInstanceGroups sets the InstanceGroups field's value. -func (s *JobFlowInstancesConfig) SetInstanceGroups(v []InstanceGroupConfig) *JobFlowInstancesConfig { - s.InstanceGroups = v - return s -} - -// SetKeepJobFlowAliveWhenNoSteps sets the KeepJobFlowAliveWhenNoSteps field's value. -func (s *JobFlowInstancesConfig) SetKeepJobFlowAliveWhenNoSteps(v bool) *JobFlowInstancesConfig { - s.KeepJobFlowAliveWhenNoSteps = &v - return s -} - -// SetMasterInstanceType sets the MasterInstanceType field's value. -func (s *JobFlowInstancesConfig) SetMasterInstanceType(v string) *JobFlowInstancesConfig { - s.MasterInstanceType = &v - return s -} - -// SetPlacement sets the Placement field's value. -func (s *JobFlowInstancesConfig) SetPlacement(v *PlacementType) *JobFlowInstancesConfig { - s.Placement = v - return s -} - -// SetServiceAccessSecurityGroup sets the ServiceAccessSecurityGroup field's value. -func (s *JobFlowInstancesConfig) SetServiceAccessSecurityGroup(v string) *JobFlowInstancesConfig { - s.ServiceAccessSecurityGroup = &v - return s -} - -// SetSlaveInstanceType sets the SlaveInstanceType field's value. -func (s *JobFlowInstancesConfig) SetSlaveInstanceType(v string) *JobFlowInstancesConfig { - s.SlaveInstanceType = &v - return s -} - -// SetTerminationProtected sets the TerminationProtected field's value. -func (s *JobFlowInstancesConfig) SetTerminationProtected(v bool) *JobFlowInstancesConfig { - s.TerminationProtected = &v - return s -} - // Specify the type of Amazon EC2 instances that the cluster (job flow) runs // on. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/JobFlowInstancesDetail @@ -6602,84 +4886,6 @@ func (s JobFlowInstancesDetail) GoString() string { return s.String() } -// SetEc2KeyName sets the Ec2KeyName field's value. -func (s *JobFlowInstancesDetail) SetEc2KeyName(v string) *JobFlowInstancesDetail { - s.Ec2KeyName = &v - return s -} - -// SetEc2SubnetId sets the Ec2SubnetId field's value. -func (s *JobFlowInstancesDetail) SetEc2SubnetId(v string) *JobFlowInstancesDetail { - s.Ec2SubnetId = &v - return s -} - -// SetHadoopVersion sets the HadoopVersion field's value. -func (s *JobFlowInstancesDetail) SetHadoopVersion(v string) *JobFlowInstancesDetail { - s.HadoopVersion = &v - return s -} - -// SetInstanceCount sets the InstanceCount field's value. -func (s *JobFlowInstancesDetail) SetInstanceCount(v int64) *JobFlowInstancesDetail { - s.InstanceCount = &v - return s -} - -// SetInstanceGroups sets the InstanceGroups field's value. -func (s *JobFlowInstancesDetail) SetInstanceGroups(v []InstanceGroupDetail) *JobFlowInstancesDetail { - s.InstanceGroups = v - return s -} - -// SetKeepJobFlowAliveWhenNoSteps sets the KeepJobFlowAliveWhenNoSteps field's value. -func (s *JobFlowInstancesDetail) SetKeepJobFlowAliveWhenNoSteps(v bool) *JobFlowInstancesDetail { - s.KeepJobFlowAliveWhenNoSteps = &v - return s -} - -// SetMasterInstanceId sets the MasterInstanceId field's value. -func (s *JobFlowInstancesDetail) SetMasterInstanceId(v string) *JobFlowInstancesDetail { - s.MasterInstanceId = &v - return s -} - -// SetMasterInstanceType sets the MasterInstanceType field's value. -func (s *JobFlowInstancesDetail) SetMasterInstanceType(v string) *JobFlowInstancesDetail { - s.MasterInstanceType = &v - return s -} - -// SetMasterPublicDnsName sets the MasterPublicDnsName field's value. -func (s *JobFlowInstancesDetail) SetMasterPublicDnsName(v string) *JobFlowInstancesDetail { - s.MasterPublicDnsName = &v - return s -} - -// SetNormalizedInstanceHours sets the NormalizedInstanceHours field's value. -func (s *JobFlowInstancesDetail) SetNormalizedInstanceHours(v int64) *JobFlowInstancesDetail { - s.NormalizedInstanceHours = &v - return s -} - -// SetPlacement sets the Placement field's value. -func (s *JobFlowInstancesDetail) SetPlacement(v *PlacementType) *JobFlowInstancesDetail { - s.Placement = v - return s -} - -// SetSlaveInstanceType sets the SlaveInstanceType field's value. -func (s *JobFlowInstancesDetail) SetSlaveInstanceType(v string) *JobFlowInstancesDetail { - s.SlaveInstanceType = &v - return s -} - -// SetTerminationProtected sets the TerminationProtected field's value. -func (s *JobFlowInstancesDetail) SetTerminationProtected(v bool) *JobFlowInstancesDetail { - s.TerminationProtected = &v - return s -} - // Attributes for Kerberos configuration when Kerberos authentication is enabled // using a security configuration. For more information see Use Kerberos Authentication // (http://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-kerberos.html) @@ -6742,36 +4948,6 @@ func (s *KerberosAttributes) Validate() error { return nil } -// SetADDomainJoinPassword sets the ADDomainJoinPassword field's value. -func (s *KerberosAttributes) SetADDomainJoinPassword(v string) *KerberosAttributes { - s.ADDomainJoinPassword = &v - return s -} - -// SetADDomainJoinUser sets the ADDomainJoinUser field's value. -func (s *KerberosAttributes) SetADDomainJoinUser(v string) *KerberosAttributes { - s.ADDomainJoinUser = &v - return s -} - -// SetCrossRealmTrustPrincipalPassword sets the CrossRealmTrustPrincipalPassword field's value. -func (s *KerberosAttributes) SetCrossRealmTrustPrincipalPassword(v string) *KerberosAttributes { - s.CrossRealmTrustPrincipalPassword = &v - return s -} - -// SetKdcAdminPassword sets the KdcAdminPassword field's value. -func (s *KerberosAttributes) SetKdcAdminPassword(v string) *KerberosAttributes { - s.KdcAdminPassword = &v - return s -} - -// SetRealm sets the Realm field's value. -func (s *KerberosAttributes) SetRealm(v string) *KerberosAttributes { - s.Realm = &v - return s -} - // A key value pair. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/KeyValue type KeyValue struct { @@ -6794,18 +4970,6 @@ func (s KeyValue) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *KeyValue) SetKey(v string) *KeyValue { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *KeyValue) SetValue(v string) *KeyValue { - s.Value = &v - return s -} - // This input determines which bootstrap actions to retrieve. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListBootstrapActionsInput type ListBootstrapActionsInput struct { @@ -6844,18 +5008,6 @@ func (s *ListBootstrapActionsInput) Validate() error { return nil } -// SetClusterId sets the ClusterId field's value. -func (s *ListBootstrapActionsInput) SetClusterId(v string) *ListBootstrapActionsInput { - s.ClusterId = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListBootstrapActionsInput) SetMarker(v string) *ListBootstrapActionsInput { - s.Marker = &v - return s -} - // This output contains the bootstrap actions detail. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListBootstrapActionsOutput type ListBootstrapActionsOutput struct { @@ -6885,18 +5037,6 @@ func (s ListBootstrapActionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBootstrapActions sets the BootstrapActions field's value. -func (s *ListBootstrapActionsOutput) SetBootstrapActions(v []Command) *ListBootstrapActionsOutput { - s.BootstrapActions = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListBootstrapActionsOutput) SetMarker(v string) *ListBootstrapActionsOutput { - s.Marker = &v - return s -} - // This input determines how the ListClusters action filters the list of clusters // that it returns. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListClustersInput @@ -6926,30 +5066,6 @@ func (s ListClustersInput) GoString() string { return s.String() } -// SetClusterStates sets the ClusterStates field's value. -func (s *ListClustersInput) SetClusterStates(v []ClusterState) *ListClustersInput { - s.ClusterStates = v - return s -} - -// SetCreatedAfter sets the CreatedAfter field's value. -func (s *ListClustersInput) SetCreatedAfter(v time.Time) *ListClustersInput { - s.CreatedAfter = &v - return s -} - -// SetCreatedBefore sets the CreatedBefore field's value. -func (s *ListClustersInput) SetCreatedBefore(v time.Time) *ListClustersInput { - s.CreatedBefore = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListClustersInput) SetMarker(v string) *ListClustersInput { - s.Marker = &v - return s -} - // This contains a ClusterSummaryList with the cluster details; for example, // the cluster IDs, names, and status. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListClustersOutput @@ -6980,18 +5096,6 @@ func (s ListClustersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClusters sets the Clusters field's value. -func (s *ListClustersOutput) SetClusters(v []ClusterSummary) *ListClustersOutput { - s.Clusters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListClustersOutput) SetMarker(v string) *ListClustersOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleetsInput type ListInstanceFleetsInput struct { _ struct{} `type:"structure"` @@ -7029,18 +5133,6 @@ func (s *ListInstanceFleetsInput) Validate() error { return nil } -// SetClusterId sets the ClusterId field's value. -func (s *ListInstanceFleetsInput) SetClusterId(v string) *ListInstanceFleetsInput { - s.ClusterId = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListInstanceFleetsInput) SetMarker(v string) *ListInstanceFleetsInput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleetsOutput type ListInstanceFleetsOutput struct { _ struct{} `type:"structure"` @@ -7069,18 +5161,6 @@ func (s ListInstanceFleetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceFleets sets the InstanceFleets field's value. -func (s *ListInstanceFleetsOutput) SetInstanceFleets(v []InstanceFleet) *ListInstanceFleetsOutput { - s.InstanceFleets = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListInstanceFleetsOutput) SetMarker(v string) *ListInstanceFleetsOutput { - s.Marker = &v - return s -} - // This input determines which instance groups to retrieve. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceGroupsInput type ListInstanceGroupsInput struct { @@ -7119,18 +5199,6 @@ func (s *ListInstanceGroupsInput) Validate() error { return nil } -// SetClusterId sets the ClusterId field's value. -func (s *ListInstanceGroupsInput) SetClusterId(v string) *ListInstanceGroupsInput { - s.ClusterId = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListInstanceGroupsInput) SetMarker(v string) *ListInstanceGroupsInput { - s.Marker = &v - return s -} - // This input determines which instance groups to retrieve. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceGroupsOutput type ListInstanceGroupsOutput struct { @@ -7160,18 +5228,6 @@ func (s ListInstanceGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceGroups sets the InstanceGroups field's value. -func (s *ListInstanceGroupsOutput) SetInstanceGroups(v []InstanceGroup) *ListInstanceGroupsOutput { - s.InstanceGroups = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListInstanceGroupsOutput) SetMarker(v string) *ListInstanceGroupsOutput { - s.Marker = &v - return s -} - // This input determines which instances to list. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstancesInput type ListInstancesInput struct { @@ -7226,48 +5282,6 @@ func (s *ListInstancesInput) Validate() error { return nil } -// SetClusterId sets the ClusterId field's value. -func (s *ListInstancesInput) SetClusterId(v string) *ListInstancesInput { - s.ClusterId = &v - return s -} - -// SetInstanceFleetId sets the InstanceFleetId field's value. -func (s *ListInstancesInput) SetInstanceFleetId(v string) *ListInstancesInput { - s.InstanceFleetId = &v - return s -} - -// SetInstanceFleetType sets the InstanceFleetType field's value. -func (s *ListInstancesInput) SetInstanceFleetType(v InstanceFleetType) *ListInstancesInput { - s.InstanceFleetType = v - return s -} - -// SetInstanceGroupId sets the InstanceGroupId field's value. -func (s *ListInstancesInput) SetInstanceGroupId(v string) *ListInstancesInput { - s.InstanceGroupId = &v - return s -} - -// SetInstanceGroupTypes sets the InstanceGroupTypes field's value. -func (s *ListInstancesInput) SetInstanceGroupTypes(v []InstanceGroupType) *ListInstancesInput { - s.InstanceGroupTypes = v - return s -} - -// SetInstanceStates sets the InstanceStates field's value. -func (s *ListInstancesInput) SetInstanceStates(v []InstanceState) *ListInstancesInput { - s.InstanceStates = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListInstancesInput) SetMarker(v string) *ListInstancesInput { - s.Marker = &v - return s -} - // This output contains the list of instances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstancesOutput type ListInstancesOutput struct { @@ -7297,18 +5311,6 @@ func (s ListInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstances sets the Instances field's value. -func (s *ListInstancesOutput) SetInstances(v []Instance) *ListInstancesOutput { - s.Instances = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListInstancesOutput) SetMarker(v string) *ListInstancesOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSecurityConfigurationsInput type ListSecurityConfigurationsInput struct { _ struct{} `type:"structure"` @@ -7327,12 +5329,6 @@ func (s ListSecurityConfigurationsInput) GoString() string { return s.String() } -// SetMarker sets the Marker field's value. -func (s *ListSecurityConfigurationsInput) SetMarker(v string) *ListSecurityConfigurationsInput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSecurityConfigurationsOutput type ListSecurityConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -7363,18 +5359,6 @@ func (s ListSecurityConfigurationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *ListSecurityConfigurationsOutput) SetMarker(v string) *ListSecurityConfigurationsOutput { - s.Marker = &v - return s -} - -// SetSecurityConfigurations sets the SecurityConfigurations field's value. -func (s *ListSecurityConfigurationsOutput) SetSecurityConfigurations(v []SecurityConfigurationSummary) *ListSecurityConfigurationsOutput { - s.SecurityConfigurations = v - return s -} - // This input determines which steps to list. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListStepsInput type ListStepsInput struct { @@ -7419,30 +5403,6 @@ func (s *ListStepsInput) Validate() error { return nil } -// SetClusterId sets the ClusterId field's value. -func (s *ListStepsInput) SetClusterId(v string) *ListStepsInput { - s.ClusterId = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListStepsInput) SetMarker(v string) *ListStepsInput { - s.Marker = &v - return s -} - -// SetStepIds sets the StepIds field's value. -func (s *ListStepsInput) SetStepIds(v []string) *ListStepsInput { - s.StepIds = v - return s -} - -// SetStepStates sets the StepStates field's value. -func (s *ListStepsInput) SetStepStates(v []StepState) *ListStepsInput { - s.StepStates = v - return s -} - // This output contains the list of steps returned in reverse order. This means // that the last step is the first element in the list. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListStepsOutput @@ -7473,18 +5433,6 @@ func (s ListStepsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *ListStepsOutput) SetMarker(v string) *ListStepsOutput { - s.Marker = &v - return s -} - -// SetSteps sets the Steps field's value. -func (s *ListStepsOutput) SetSteps(v []StepSummary) *ListStepsOutput { - s.Steps = v - return s -} - // A CloudWatch dimension, which is specified using a Key (known as a Name in // CloudWatch), Value pair. By default, Amazon EMR uses one dimension whose // Key is JobFlowID and Value is a variable representing the cluster ID, which @@ -7511,18 +5459,6 @@ func (s MetricDimension) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *MetricDimension) SetKey(v string) *MetricDimension { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *MetricDimension) SetValue(v string) *MetricDimension { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceFleetInput type ModifyInstanceFleetInput struct { _ struct{} `type:"structure"` @@ -7571,18 +5507,6 @@ func (s *ModifyInstanceFleetInput) Validate() error { return nil } -// SetClusterId sets the ClusterId field's value. -func (s *ModifyInstanceFleetInput) SetClusterId(v string) *ModifyInstanceFleetInput { - s.ClusterId = &v - return s -} - -// SetInstanceFleet sets the InstanceFleet field's value. -func (s *ModifyInstanceFleetInput) SetInstanceFleet(v *InstanceFleetModifyConfig) *ModifyInstanceFleetInput { - s.InstanceFleet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceFleetOutput type ModifyInstanceFleetOutput struct { _ struct{} `type:"structure"` @@ -7644,18 +5568,6 @@ func (s *ModifyInstanceGroupsInput) Validate() error { return nil } -// SetClusterId sets the ClusterId field's value. -func (s *ModifyInstanceGroupsInput) SetClusterId(v string) *ModifyInstanceGroupsInput { - s.ClusterId = &v - return s -} - -// SetInstanceGroups sets the InstanceGroups field's value. -func (s *ModifyInstanceGroupsInput) SetInstanceGroups(v []InstanceGroupModifyConfig) *ModifyInstanceGroupsInput { - s.InstanceGroups = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceGroupsOutput type ModifyInstanceGroupsOutput struct { _ struct{} `type:"structure"` @@ -7708,18 +5620,6 @@ func (s PlacementType) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *PlacementType) SetAvailabilityZone(v string) *PlacementType { - s.AvailabilityZone = &v - return s -} - -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *PlacementType) SetAvailabilityZones(v []string) *PlacementType { - s.AvailabilityZones = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoScalingPolicyInput type PutAutoScalingPolicyInput struct { _ struct{} `type:"structure"` @@ -7779,24 +5679,6 @@ func (s *PutAutoScalingPolicyInput) Validate() error { return nil } -// SetAutoScalingPolicy sets the AutoScalingPolicy field's value. -func (s *PutAutoScalingPolicyInput) SetAutoScalingPolicy(v *AutoScalingPolicy) *PutAutoScalingPolicyInput { - s.AutoScalingPolicy = v - return s -} - -// SetClusterId sets the ClusterId field's value. -func (s *PutAutoScalingPolicyInput) SetClusterId(v string) *PutAutoScalingPolicyInput { - s.ClusterId = &v - return s -} - -// SetInstanceGroupId sets the InstanceGroupId field's value. -func (s *PutAutoScalingPolicyInput) SetInstanceGroupId(v string) *PutAutoScalingPolicyInput { - s.InstanceGroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoScalingPolicyOutput type PutAutoScalingPolicyOutput struct { _ struct{} `type:"structure"` @@ -7829,24 +5711,6 @@ func (s PutAutoScalingPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAutoScalingPolicy sets the AutoScalingPolicy field's value. -func (s *PutAutoScalingPolicyOutput) SetAutoScalingPolicy(v *AutoScalingPolicyDescription) *PutAutoScalingPolicyOutput { - s.AutoScalingPolicy = v - return s -} - -// SetClusterId sets the ClusterId field's value. -func (s *PutAutoScalingPolicyOutput) SetClusterId(v string) *PutAutoScalingPolicyOutput { - s.ClusterId = &v - return s -} - -// SetInstanceGroupId sets the InstanceGroupId field's value. -func (s *PutAutoScalingPolicyOutput) SetInstanceGroupId(v string) *PutAutoScalingPolicyOutput { - s.InstanceGroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveAutoScalingPolicyInput type RemoveAutoScalingPolicyInput struct { _ struct{} `type:"structure"` @@ -7891,18 +5755,6 @@ func (s *RemoveAutoScalingPolicyInput) Validate() error { return nil } -// SetClusterId sets the ClusterId field's value. -func (s *RemoveAutoScalingPolicyInput) SetClusterId(v string) *RemoveAutoScalingPolicyInput { - s.ClusterId = &v - return s -} - -// SetInstanceGroupId sets the InstanceGroupId field's value. -func (s *RemoveAutoScalingPolicyInput) SetInstanceGroupId(v string) *RemoveAutoScalingPolicyInput { - s.InstanceGroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveAutoScalingPolicyOutput type RemoveAutoScalingPolicyOutput struct { _ struct{} `type:"structure"` @@ -7970,18 +5822,6 @@ func (s *RemoveTagsInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *RemoveTagsInput) SetResourceId(v string) *RemoveTagsInput { - s.ResourceId = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *RemoveTagsInput) SetTagKeys(v []string) *RemoveTagsInput { - s.TagKeys = v - return s -} - // This output indicates the result of removing tags from a resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveTagsOutput type RemoveTagsOutput struct { @@ -8230,144 +6070,6 @@ func (s *RunJobFlowInput) Validate() error { return nil } -// SetAdditionalInfo sets the AdditionalInfo field's value. -func (s *RunJobFlowInput) SetAdditionalInfo(v string) *RunJobFlowInput { - s.AdditionalInfo = &v - return s -} - -// SetAmiVersion sets the AmiVersion field's value. -func (s *RunJobFlowInput) SetAmiVersion(v string) *RunJobFlowInput { - s.AmiVersion = &v - return s -} - -// SetApplications sets the Applications field's value. -func (s *RunJobFlowInput) SetApplications(v []Application) *RunJobFlowInput { - s.Applications = v - return s -} - -// SetAutoScalingRole sets the AutoScalingRole field's value. -func (s *RunJobFlowInput) SetAutoScalingRole(v string) *RunJobFlowInput { - s.AutoScalingRole = &v - return s -} - -// SetBootstrapActions sets the BootstrapActions field's value. -func (s *RunJobFlowInput) SetBootstrapActions(v []BootstrapActionConfig) *RunJobFlowInput { - s.BootstrapActions = v - return s -} - -// SetConfigurations sets the Configurations field's value. -func (s *RunJobFlowInput) SetConfigurations(v []Configuration) *RunJobFlowInput { - s.Configurations = v - return s -} - -// SetCustomAmiId sets the CustomAmiId field's value. -func (s *RunJobFlowInput) SetCustomAmiId(v string) *RunJobFlowInput { - s.CustomAmiId = &v - return s -} - -// SetEbsRootVolumeSize sets the EbsRootVolumeSize field's value. -func (s *RunJobFlowInput) SetEbsRootVolumeSize(v int64) *RunJobFlowInput { - s.EbsRootVolumeSize = &v - return s -} - -// SetInstances sets the Instances field's value. -func (s *RunJobFlowInput) SetInstances(v *JobFlowInstancesConfig) *RunJobFlowInput { - s.Instances = v - return s -} - -// SetJobFlowRole sets the JobFlowRole field's value. -func (s *RunJobFlowInput) SetJobFlowRole(v string) *RunJobFlowInput { - s.JobFlowRole = &v - return s -} - -// SetKerberosAttributes sets the KerberosAttributes field's value. -func (s *RunJobFlowInput) SetKerberosAttributes(v *KerberosAttributes) *RunJobFlowInput { - s.KerberosAttributes = v - return s -} - -// SetLogUri sets the LogUri field's value. -func (s *RunJobFlowInput) SetLogUri(v string) *RunJobFlowInput { - s.LogUri = &v - return s -} - -// SetName sets the Name field's value. -func (s *RunJobFlowInput) SetName(v string) *RunJobFlowInput { - s.Name = &v - return s -} - -// SetNewSupportedProducts sets the NewSupportedProducts field's value. -func (s *RunJobFlowInput) SetNewSupportedProducts(v []SupportedProductConfig) *RunJobFlowInput { - s.NewSupportedProducts = v - return s -} - -// SetReleaseLabel sets the ReleaseLabel field's value. -func (s *RunJobFlowInput) SetReleaseLabel(v string) *RunJobFlowInput { - s.ReleaseLabel = &v - return s -} - -// SetRepoUpgradeOnBoot sets the RepoUpgradeOnBoot field's value. -func (s *RunJobFlowInput) SetRepoUpgradeOnBoot(v RepoUpgradeOnBoot) *RunJobFlowInput { - s.RepoUpgradeOnBoot = v - return s -} - -// SetScaleDownBehavior sets the ScaleDownBehavior field's value. -func (s *RunJobFlowInput) SetScaleDownBehavior(v ScaleDownBehavior) *RunJobFlowInput { - s.ScaleDownBehavior = v - return s -} - -// SetSecurityConfiguration sets the SecurityConfiguration field's value. -func (s *RunJobFlowInput) SetSecurityConfiguration(v string) *RunJobFlowInput { - s.SecurityConfiguration = &v - return s -} - -// SetServiceRole sets the ServiceRole field's value. -func (s *RunJobFlowInput) SetServiceRole(v string) *RunJobFlowInput { - s.ServiceRole = &v - return s -} - -// SetSteps sets the Steps field's value. -func (s *RunJobFlowInput) SetSteps(v []StepConfig) *RunJobFlowInput { - s.Steps = v - return s -} - -// SetSupportedProducts sets the SupportedProducts field's value. -func (s *RunJobFlowInput) SetSupportedProducts(v []string) *RunJobFlowInput { - s.SupportedProducts = v - return s -} - -// SetTags sets the Tags field's value. -func (s *RunJobFlowInput) SetTags(v []Tag) *RunJobFlowInput { - s.Tags = v - return s -} - -// SetVisibleToAllUsers sets the VisibleToAllUsers field's value. -func (s *RunJobFlowInput) SetVisibleToAllUsers(v bool) *RunJobFlowInput { - s.VisibleToAllUsers = &v - return s -} - // The result of the RunJobFlow operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RunJobFlowOutput type RunJobFlowOutput struct { @@ -8394,12 +6096,6 @@ func (s RunJobFlowOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobFlowId sets the JobFlowId field's value. -func (s *RunJobFlowOutput) SetJobFlowId(v string) *RunJobFlowOutput { - s.JobFlowId = &v - return s -} - // The type of adjustment the automatic scaling activity makes when triggered, // and the periodicity of the adjustment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ScalingAction @@ -8446,18 +6142,6 @@ func (s *ScalingAction) Validate() error { return nil } -// SetMarket sets the Market field's value. -func (s *ScalingAction) SetMarket(v MarketType) *ScalingAction { - s.Market = v - return s -} - -// SetSimpleScalingPolicyConfiguration sets the SimpleScalingPolicyConfiguration field's value. -func (s *ScalingAction) SetSimpleScalingPolicyConfiguration(v *SimpleScalingPolicyConfiguration) *ScalingAction { - s.SimpleScalingPolicyConfiguration = v - return s -} - // The upper and lower EC2 instance limits for an automatic scaling policy. // Automatic scaling activities triggered by automatic scaling rules will not // cause an instance group to grow above or below these limits. @@ -8508,18 +6192,6 @@ func (s *ScalingConstraints) Validate() error { return nil } -// SetMaxCapacity sets the MaxCapacity field's value. -func (s *ScalingConstraints) SetMaxCapacity(v int64) *ScalingConstraints { - s.MaxCapacity = &v - return s -} - -// SetMinCapacity sets the MinCapacity field's value. -func (s *ScalingConstraints) SetMinCapacity(v int64) *ScalingConstraints { - s.MinCapacity = &v - return s -} - // A scale-in or scale-out rule that defines scaling activity, including the // CloudWatch metric alarm that triggers activity, how EC2 instances are added // or removed, and the periodicity of adjustments. The automatic scaling policy @@ -8591,30 +6263,6 @@ func (s *ScalingRule) Validate() error { return nil } -// SetAction sets the Action field's value. -func (s *ScalingRule) SetAction(v *ScalingAction) *ScalingRule { - s.Action = v - return s -} - -// SetDescription sets the Description field's value. -func (s *ScalingRule) SetDescription(v string) *ScalingRule { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *ScalingRule) SetName(v string) *ScalingRule { - s.Name = &v - return s -} - -// SetTrigger sets the Trigger field's value. -func (s *ScalingRule) SetTrigger(v *ScalingTrigger) *ScalingRule { - s.Trigger = v - return s -} - // The conditions that trigger an automatic scaling activity. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ScalingTrigger type ScalingTrigger struct { @@ -8656,12 +6304,6 @@ func (s *ScalingTrigger) Validate() error { return nil } -// SetCloudWatchAlarmDefinition sets the CloudWatchAlarmDefinition field's value. -func (s *ScalingTrigger) SetCloudWatchAlarmDefinition(v *CloudWatchAlarmDefinition) *ScalingTrigger { - s.CloudWatchAlarmDefinition = v - return s -} - // Configuration of the script to run during a bootstrap action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ScriptBootstrapActionConfig type ScriptBootstrapActionConfig struct { @@ -8701,18 +6343,6 @@ func (s *ScriptBootstrapActionConfig) Validate() error { return nil } -// SetArgs sets the Args field's value. -func (s *ScriptBootstrapActionConfig) SetArgs(v []string) *ScriptBootstrapActionConfig { - s.Args = v - return s -} - -// SetPath sets the Path field's value. -func (s *ScriptBootstrapActionConfig) SetPath(v string) *ScriptBootstrapActionConfig { - s.Path = &v - return s -} - // The creation date and time, and name, of a security configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SecurityConfigurationSummary type SecurityConfigurationSummary struct { @@ -8735,18 +6365,6 @@ func (s SecurityConfigurationSummary) GoString() string { return s.String() } -// SetCreationDateTime sets the CreationDateTime field's value. -func (s *SecurityConfigurationSummary) SetCreationDateTime(v time.Time) *SecurityConfigurationSummary { - s.CreationDateTime = &v - return s -} - -// SetName sets the Name field's value. -func (s *SecurityConfigurationSummary) SetName(v string) *SecurityConfigurationSummary { - s.Name = &v - return s -} - // The input argument to the TerminationProtection operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetTerminationProtectionInput type SetTerminationProtectionInput struct { @@ -8795,18 +6413,6 @@ func (s *SetTerminationProtectionInput) Validate() error { return nil } -// SetJobFlowIds sets the JobFlowIds field's value. -func (s *SetTerminationProtectionInput) SetJobFlowIds(v []string) *SetTerminationProtectionInput { - s.JobFlowIds = v - return s -} - -// SetTerminationProtected sets the TerminationProtected field's value. -func (s *SetTerminationProtectionInput) SetTerminationProtected(v bool) *SetTerminationProtectionInput { - s.TerminationProtected = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetTerminationProtectionOutput type SetTerminationProtectionOutput struct { _ struct{} `type:"structure"` @@ -8877,18 +6483,6 @@ func (s *SetVisibleToAllUsersInput) Validate() error { return nil } -// SetJobFlowIds sets the JobFlowIds field's value. -func (s *SetVisibleToAllUsersInput) SetJobFlowIds(v []string) *SetVisibleToAllUsersInput { - s.JobFlowIds = v - return s -} - -// SetVisibleToAllUsers sets the VisibleToAllUsers field's value. -func (s *SetVisibleToAllUsersInput) SetVisibleToAllUsers(v bool) *SetVisibleToAllUsersInput { - s.VisibleToAllUsers = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetVisibleToAllUsersOutput type SetVisibleToAllUsersOutput struct { _ struct{} `type:"structure"` @@ -8936,18 +6530,6 @@ func (s ShrinkPolicy) GoString() string { return s.String() } -// SetDecommissionTimeout sets the DecommissionTimeout field's value. -func (s *ShrinkPolicy) SetDecommissionTimeout(v int64) *ShrinkPolicy { - s.DecommissionTimeout = &v - return s -} - -// SetInstanceResizePolicy sets the InstanceResizePolicy field's value. -func (s *ShrinkPolicy) SetInstanceResizePolicy(v *InstanceResizePolicy) *ShrinkPolicy { - s.InstanceResizePolicy = v - return s -} - // An automatic scaling configuration, which describes how the policy adds or // removes instances, the cooldown period, and the number of EC2 instances that // will be added each time the CloudWatch metric alarm condition is satisfied. @@ -9009,24 +6591,6 @@ func (s *SimpleScalingPolicyConfiguration) Validate() error { return nil } -// SetAdjustmentType sets the AdjustmentType field's value. -func (s *SimpleScalingPolicyConfiguration) SetAdjustmentType(v AdjustmentType) *SimpleScalingPolicyConfiguration { - s.AdjustmentType = v - return s -} - -// SetCoolDown sets the CoolDown field's value. -func (s *SimpleScalingPolicyConfiguration) SetCoolDown(v int64) *SimpleScalingPolicyConfiguration { - s.CoolDown = &v - return s -} - -// SetScalingAdjustment sets the ScalingAdjustment field's value. -func (s *SimpleScalingPolicyConfiguration) SetScalingAdjustment(v int64) *SimpleScalingPolicyConfiguration { - s.ScalingAdjustment = &v - return s -} - // The launch specification for Spot instances in the instance fleet, which // determines the defined duration and provisioning timeout behavior. // @@ -9091,24 +6655,6 @@ func (s *SpotProvisioningSpecification) Validate() error { return nil } -// SetBlockDurationMinutes sets the BlockDurationMinutes field's value. -func (s *SpotProvisioningSpecification) SetBlockDurationMinutes(v int64) *SpotProvisioningSpecification { - s.BlockDurationMinutes = &v - return s -} - -// SetTimeoutAction sets the TimeoutAction field's value. -func (s *SpotProvisioningSpecification) SetTimeoutAction(v SpotProvisioningTimeoutAction) *SpotProvisioningSpecification { - s.TimeoutAction = v - return s -} - -// SetTimeoutDurationMinutes sets the TimeoutDurationMinutes field's value. -func (s *SpotProvisioningSpecification) SetTimeoutDurationMinutes(v int64) *SpotProvisioningSpecification { - s.TimeoutDurationMinutes = &v - return s -} - // This represents a step in a cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Step type Step struct { @@ -9141,36 +6687,6 @@ func (s Step) GoString() string { return s.String() } -// SetActionOnFailure sets the ActionOnFailure field's value. -func (s *Step) SetActionOnFailure(v ActionOnFailure) *Step { - s.ActionOnFailure = v - return s -} - -// SetConfig sets the Config field's value. -func (s *Step) SetConfig(v *HadoopStepConfig) *Step { - s.Config = v - return s -} - -// SetId sets the Id field's value. -func (s *Step) SetId(v string) *Step { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *Step) SetName(v string) *Step { - s.Name = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Step) SetStatus(v *StepStatus) *Step { - s.Status = v - return s -} - // Specification of a cluster (job flow) step. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepConfig type StepConfig struct { @@ -9223,24 +6739,6 @@ func (s *StepConfig) Validate() error { return nil } -// SetActionOnFailure sets the ActionOnFailure field's value. -func (s *StepConfig) SetActionOnFailure(v ActionOnFailure) *StepConfig { - s.ActionOnFailure = v - return s -} - -// SetHadoopJarStep sets the HadoopJarStep field's value. -func (s *StepConfig) SetHadoopJarStep(v *HadoopJarStepConfig) *StepConfig { - s.HadoopJarStep = v - return s -} - -// SetName sets the Name field's value. -func (s *StepConfig) SetName(v string) *StepConfig { - s.Name = &v - return s -} - // Combines the execution state and configuration of a step. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepDetail type StepDetail struct { @@ -9267,18 +6765,6 @@ func (s StepDetail) GoString() string { return s.String() } -// SetExecutionStatusDetail sets the ExecutionStatusDetail field's value. -func (s *StepDetail) SetExecutionStatusDetail(v *StepExecutionStatusDetail) *StepDetail { - s.ExecutionStatusDetail = v - return s -} - -// SetStepConfig sets the StepConfig field's value. -func (s *StepDetail) SetStepConfig(v *StepConfig) *StepDetail { - s.StepConfig = v - return s -} - // The execution state of a step. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepExecutionStatusDetail type StepExecutionStatusDetail struct { @@ -9314,36 +6800,6 @@ func (s StepExecutionStatusDetail) GoString() string { return s.String() } -// SetCreationDateTime sets the CreationDateTime field's value. -func (s *StepExecutionStatusDetail) SetCreationDateTime(v time.Time) *StepExecutionStatusDetail { - s.CreationDateTime = &v - return s -} - -// SetEndDateTime sets the EndDateTime field's value. -func (s *StepExecutionStatusDetail) SetEndDateTime(v time.Time) *StepExecutionStatusDetail { - s.EndDateTime = &v - return s -} - -// SetLastStateChangeReason sets the LastStateChangeReason field's value. -func (s *StepExecutionStatusDetail) SetLastStateChangeReason(v string) *StepExecutionStatusDetail { - s.LastStateChangeReason = &v - return s -} - -// SetStartDateTime sets the StartDateTime field's value. -func (s *StepExecutionStatusDetail) SetStartDateTime(v time.Time) *StepExecutionStatusDetail { - s.StartDateTime = &v - return s -} - -// SetState sets the State field's value. -func (s *StepExecutionStatusDetail) SetState(v StepExecutionState) *StepExecutionStatusDetail { - s.State = v - return s -} - // The details of the step state change reason. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepStateChangeReason type StepStateChangeReason struct { @@ -9367,18 +6823,6 @@ func (s StepStateChangeReason) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *StepStateChangeReason) SetCode(v StepStateChangeReasonCode) *StepStateChangeReason { - s.Code = v - return s -} - -// SetMessage sets the Message field's value. -func (s *StepStateChangeReason) SetMessage(v string) *StepStateChangeReason { - s.Message = &v - return s -} - // The execution status details of the cluster step. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepStatus type StepStatus struct { @@ -9408,30 +6852,6 @@ func (s StepStatus) GoString() string { return s.String() } -// SetFailureDetails sets the FailureDetails field's value. -func (s *StepStatus) SetFailureDetails(v *FailureDetails) *StepStatus { - s.FailureDetails = v - return s -} - -// SetState sets the State field's value. -func (s *StepStatus) SetState(v StepState) *StepStatus { - s.State = v - return s -} - -// SetStateChangeReason sets the StateChangeReason field's value. -func (s *StepStatus) SetStateChangeReason(v *StepStateChangeReason) *StepStatus { - s.StateChangeReason = v - return s -} - -// SetTimeline sets the Timeline field's value. -func (s *StepStatus) SetTimeline(v *StepTimeline) *StepStatus { - s.Timeline = v - return s -} - // The summary of the cluster step. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepSummary type StepSummary struct { @@ -9464,36 +6884,6 @@ func (s StepSummary) GoString() string { return s.String() } -// SetActionOnFailure sets the ActionOnFailure field's value. -func (s *StepSummary) SetActionOnFailure(v ActionOnFailure) *StepSummary { - s.ActionOnFailure = v - return s -} - -// SetConfig sets the Config field's value. -func (s *StepSummary) SetConfig(v *HadoopStepConfig) *StepSummary { - s.Config = v - return s -} - -// SetId sets the Id field's value. -func (s *StepSummary) SetId(v string) *StepSummary { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *StepSummary) SetName(v string) *StepSummary { - s.Name = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *StepSummary) SetStatus(v *StepStatus) *StepSummary { - s.Status = v - return s -} - // The timeline of the cluster step lifecycle. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepTimeline type StepTimeline struct { @@ -9519,24 +6909,6 @@ func (s StepTimeline) GoString() string { return s.String() } -// SetCreationDateTime sets the CreationDateTime field's value. -func (s *StepTimeline) SetCreationDateTime(v time.Time) *StepTimeline { - s.CreationDateTime = &v - return s -} - -// SetEndDateTime sets the EndDateTime field's value. -func (s *StepTimeline) SetEndDateTime(v time.Time) *StepTimeline { - s.EndDateTime = &v - return s -} - -// SetStartDateTime sets the StartDateTime field's value. -func (s *StepTimeline) SetStartDateTime(v time.Time) *StepTimeline { - s.StartDateTime = &v - return s -} - // The list of supported product configurations which allow user-supplied arguments. // EMR accepts these arguments and forwards them to the corresponding installation // script as bootstrap action arguments. @@ -9561,18 +6933,6 @@ func (s SupportedProductConfig) GoString() string { return s.String() } -// SetArgs sets the Args field's value. -func (s *SupportedProductConfig) SetArgs(v []string) *SupportedProductConfig { - s.Args = v - return s -} - -// SetName sets the Name field's value. -func (s *SupportedProductConfig) SetName(v string) *SupportedProductConfig { - s.Name = &v - return s -} - // A key/value pair containing user-defined metadata that you can associate // with an Amazon EMR resource. Tags make it easier to associate clusters in // various ways, such as grouping clusters to track your Amazon EMR resource @@ -9600,18 +6960,6 @@ func (s Tag) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Input to the TerminateJobFlows operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/TerminateJobFlowsInput type TerminateJobFlowsInput struct { @@ -9647,12 +6995,6 @@ func (s *TerminateJobFlowsInput) Validate() error { return nil } -// SetJobFlowIds sets the JobFlowIds field's value. -func (s *TerminateJobFlowsInput) SetJobFlowIds(v []string) *TerminateJobFlowsInput { - s.JobFlowIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/TerminateJobFlowsOutput type TerminateJobFlowsOutput struct { _ struct{} `type:"structure"` @@ -9724,24 +7066,6 @@ func (s *VolumeSpecification) Validate() error { return nil } -// SetIops sets the Iops field's value. -func (s *VolumeSpecification) SetIops(v int64) *VolumeSpecification { - s.Iops = &v - return s -} - -// SetSizeInGB sets the SizeInGB field's value. -func (s *VolumeSpecification) SetSizeInGB(v int64) *VolumeSpecification { - s.SizeInGB = &v - return s -} - -// SetVolumeType sets the VolumeType field's value. -func (s *VolumeSpecification) SetVolumeType(v string) *VolumeSpecification { - s.VolumeType = &v - return s -} - type ActionOnFailure string // Enum values for ActionOnFailure diff --git a/service/firehose/api.go b/service/firehose/api.go index 1f26b7bac51..2d0b0fc616e 100644 --- a/service/firehose/api.go +++ b/service/firehose/api.go @@ -590,18 +590,6 @@ func (s *BufferingHints) Validate() error { return nil } -// SetIntervalInSeconds sets the IntervalInSeconds field's value. -func (s *BufferingHints) SetIntervalInSeconds(v int64) *BufferingHints { - s.IntervalInSeconds = &v - return s -} - -// SetSizeInMBs sets the SizeInMBs field's value. -func (s *BufferingHints) SetSizeInMBs(v int64) *BufferingHints { - s.SizeInMBs = &v - return s -} - // Describes the Amazon CloudWatch logging options for your delivery stream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CloudWatchLoggingOptions type CloudWatchLoggingOptions struct { @@ -629,24 +617,6 @@ func (s CloudWatchLoggingOptions) GoString() string { return s.String() } -// SetEnabled sets the Enabled field's value. -func (s *CloudWatchLoggingOptions) SetEnabled(v bool) *CloudWatchLoggingOptions { - s.Enabled = &v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *CloudWatchLoggingOptions) SetLogGroupName(v string) *CloudWatchLoggingOptions { - s.LogGroupName = &v - return s -} - -// SetLogStreamName sets the LogStreamName field's value. -func (s *CloudWatchLoggingOptions) SetLogStreamName(v string) *CloudWatchLoggingOptions { - s.LogStreamName = &v - return s -} - // Describes a COPY command for Amazon Redshift. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CopyCommand type CopyCommand struct { @@ -710,24 +680,6 @@ func (s *CopyCommand) Validate() error { return nil } -// SetCopyOptions sets the CopyOptions field's value. -func (s *CopyCommand) SetCopyOptions(v string) *CopyCommand { - s.CopyOptions = &v - return s -} - -// SetDataTableColumns sets the DataTableColumns field's value. -func (s *CopyCommand) SetDataTableColumns(v string) *CopyCommand { - s.DataTableColumns = &v - return s -} - -// SetDataTableName sets the DataTableName field's value. -func (s *CopyCommand) SetDataTableName(v string) *CopyCommand { - s.DataTableName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CreateDeliveryStreamInput type CreateDeliveryStreamInput struct { _ struct{} `type:"structure"` @@ -824,54 +776,6 @@ func (s *CreateDeliveryStreamInput) Validate() error { return nil } -// SetDeliveryStreamName sets the DeliveryStreamName field's value. -func (s *CreateDeliveryStreamInput) SetDeliveryStreamName(v string) *CreateDeliveryStreamInput { - s.DeliveryStreamName = &v - return s -} - -// SetDeliveryStreamType sets the DeliveryStreamType field's value. -func (s *CreateDeliveryStreamInput) SetDeliveryStreamType(v DeliveryStreamType) *CreateDeliveryStreamInput { - s.DeliveryStreamType = v - return s -} - -// SetElasticsearchDestinationConfiguration sets the ElasticsearchDestinationConfiguration field's value. -func (s *CreateDeliveryStreamInput) SetElasticsearchDestinationConfiguration(v *ElasticsearchDestinationConfiguration) *CreateDeliveryStreamInput { - s.ElasticsearchDestinationConfiguration = v - return s -} - -// SetExtendedS3DestinationConfiguration sets the ExtendedS3DestinationConfiguration field's value. -func (s *CreateDeliveryStreamInput) SetExtendedS3DestinationConfiguration(v *ExtendedS3DestinationConfiguration) *CreateDeliveryStreamInput { - s.ExtendedS3DestinationConfiguration = v - return s -} - -// SetKinesisStreamSourceConfiguration sets the KinesisStreamSourceConfiguration field's value. -func (s *CreateDeliveryStreamInput) SetKinesisStreamSourceConfiguration(v *KinesisStreamSourceConfiguration) *CreateDeliveryStreamInput { - s.KinesisStreamSourceConfiguration = v - return s -} - -// SetRedshiftDestinationConfiguration sets the RedshiftDestinationConfiguration field's value. -func (s *CreateDeliveryStreamInput) SetRedshiftDestinationConfiguration(v *RedshiftDestinationConfiguration) *CreateDeliveryStreamInput { - s.RedshiftDestinationConfiguration = v - return s -} - -// SetS3DestinationConfiguration sets the S3DestinationConfiguration field's value. -func (s *CreateDeliveryStreamInput) SetS3DestinationConfiguration(v *S3DestinationConfiguration) *CreateDeliveryStreamInput { - s.S3DestinationConfiguration = v - return s -} - -// SetSplunkDestinationConfiguration sets the SplunkDestinationConfiguration field's value. -func (s *CreateDeliveryStreamInput) SetSplunkDestinationConfiguration(v *SplunkDestinationConfiguration) *CreateDeliveryStreamInput { - s.SplunkDestinationConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CreateDeliveryStreamOutput type CreateDeliveryStreamOutput struct { _ struct{} `type:"structure"` @@ -897,12 +801,6 @@ func (s CreateDeliveryStreamOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeliveryStreamARN sets the DeliveryStreamARN field's value. -func (s *CreateDeliveryStreamOutput) SetDeliveryStreamARN(v string) *CreateDeliveryStreamOutput { - s.DeliveryStreamARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DeleteDeliveryStreamInput type DeleteDeliveryStreamInput struct { _ struct{} `type:"structure"` @@ -940,12 +838,6 @@ func (s *DeleteDeliveryStreamInput) Validate() error { return nil } -// SetDeliveryStreamName sets the DeliveryStreamName field's value. -func (s *DeleteDeliveryStreamInput) SetDeliveryStreamName(v string) *DeleteDeliveryStreamInput { - s.DeliveryStreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DeleteDeliveryStreamOutput type DeleteDeliveryStreamOutput struct { _ struct{} `type:"structure"` @@ -1037,66 +929,6 @@ func (s DeliveryStreamDescription) GoString() string { return s.String() } -// SetCreateTimestamp sets the CreateTimestamp field's value. -func (s *DeliveryStreamDescription) SetCreateTimestamp(v time.Time) *DeliveryStreamDescription { - s.CreateTimestamp = &v - return s -} - -// SetDeliveryStreamARN sets the DeliveryStreamARN field's value. -func (s *DeliveryStreamDescription) SetDeliveryStreamARN(v string) *DeliveryStreamDescription { - s.DeliveryStreamARN = &v - return s -} - -// SetDeliveryStreamName sets the DeliveryStreamName field's value. -func (s *DeliveryStreamDescription) SetDeliveryStreamName(v string) *DeliveryStreamDescription { - s.DeliveryStreamName = &v - return s -} - -// SetDeliveryStreamStatus sets the DeliveryStreamStatus field's value. -func (s *DeliveryStreamDescription) SetDeliveryStreamStatus(v DeliveryStreamStatus) *DeliveryStreamDescription { - s.DeliveryStreamStatus = v - return s -} - -// SetDeliveryStreamType sets the DeliveryStreamType field's value. -func (s *DeliveryStreamDescription) SetDeliveryStreamType(v DeliveryStreamType) *DeliveryStreamDescription { - s.DeliveryStreamType = v - return s -} - -// SetDestinations sets the Destinations field's value. -func (s *DeliveryStreamDescription) SetDestinations(v []DestinationDescription) *DeliveryStreamDescription { - s.Destinations = v - return s -} - -// SetHasMoreDestinations sets the HasMoreDestinations field's value. -func (s *DeliveryStreamDescription) SetHasMoreDestinations(v bool) *DeliveryStreamDescription { - s.HasMoreDestinations = &v - return s -} - -// SetLastUpdateTimestamp sets the LastUpdateTimestamp field's value. -func (s *DeliveryStreamDescription) SetLastUpdateTimestamp(v time.Time) *DeliveryStreamDescription { - s.LastUpdateTimestamp = &v - return s -} - -// SetSource sets the Source field's value. -func (s *DeliveryStreamDescription) SetSource(v *SourceDescription) *DeliveryStreamDescription { - s.Source = v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *DeliveryStreamDescription) SetVersionId(v string) *DeliveryStreamDescription { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DescribeDeliveryStreamInput type DescribeDeliveryStreamInput struct { _ struct{} `type:"structure"` @@ -1148,24 +980,6 @@ func (s *DescribeDeliveryStreamInput) Validate() error { return nil } -// SetDeliveryStreamName sets the DeliveryStreamName field's value. -func (s *DescribeDeliveryStreamInput) SetDeliveryStreamName(v string) *DescribeDeliveryStreamInput { - s.DeliveryStreamName = &v - return s -} - -// SetExclusiveStartDestinationId sets the ExclusiveStartDestinationId field's value. -func (s *DescribeDeliveryStreamInput) SetExclusiveStartDestinationId(v string) *DescribeDeliveryStreamInput { - s.ExclusiveStartDestinationId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeDeliveryStreamInput) SetLimit(v int64) *DescribeDeliveryStreamInput { - s.Limit = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DescribeDeliveryStreamOutput type DescribeDeliveryStreamOutput struct { _ struct{} `type:"structure"` @@ -1193,12 +1007,6 @@ func (s DescribeDeliveryStreamOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeliveryStreamDescription sets the DeliveryStreamDescription field's value. -func (s *DescribeDeliveryStreamOutput) SetDeliveryStreamDescription(v *DeliveryStreamDescription) *DescribeDeliveryStreamOutput { - s.DeliveryStreamDescription = v - return s -} - // Describes the destination for a delivery stream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DestinationDescription type DestinationDescription struct { @@ -1235,42 +1043,6 @@ func (s DestinationDescription) GoString() string { return s.String() } -// SetDestinationId sets the DestinationId field's value. -func (s *DestinationDescription) SetDestinationId(v string) *DestinationDescription { - s.DestinationId = &v - return s -} - -// SetElasticsearchDestinationDescription sets the ElasticsearchDestinationDescription field's value. -func (s *DestinationDescription) SetElasticsearchDestinationDescription(v *ElasticsearchDestinationDescription) *DestinationDescription { - s.ElasticsearchDestinationDescription = v - return s -} - -// SetExtendedS3DestinationDescription sets the ExtendedS3DestinationDescription field's value. -func (s *DestinationDescription) SetExtendedS3DestinationDescription(v *ExtendedS3DestinationDescription) *DestinationDescription { - s.ExtendedS3DestinationDescription = v - return s -} - -// SetRedshiftDestinationDescription sets the RedshiftDestinationDescription field's value. -func (s *DestinationDescription) SetRedshiftDestinationDescription(v *RedshiftDestinationDescription) *DestinationDescription { - s.RedshiftDestinationDescription = v - return s -} - -// SetS3DestinationDescription sets the S3DestinationDescription field's value. -func (s *DestinationDescription) SetS3DestinationDescription(v *S3DestinationDescription) *DestinationDescription { - s.S3DestinationDescription = v - return s -} - -// SetSplunkDestinationDescription sets the SplunkDestinationDescription field's value. -func (s *DestinationDescription) SetSplunkDestinationDescription(v *SplunkDestinationDescription) *DestinationDescription { - s.SplunkDestinationDescription = v - return s -} - // Describes the buffering to perform before delivering data to the Amazon ES // destination. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchBufferingHints @@ -1316,18 +1088,6 @@ func (s *ElasticsearchBufferingHints) Validate() error { return nil } -// SetIntervalInSeconds sets the IntervalInSeconds field's value. -func (s *ElasticsearchBufferingHints) SetIntervalInSeconds(v int64) *ElasticsearchBufferingHints { - s.IntervalInSeconds = &v - return s -} - -// SetSizeInMBs sets the SizeInMBs field's value. -func (s *ElasticsearchBufferingHints) SetSizeInMBs(v int64) *ElasticsearchBufferingHints { - s.SizeInMBs = &v - return s -} - // Describes the configuration of a destination in Amazon ES. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchDestinationConfiguration type ElasticsearchDestinationConfiguration struct { @@ -1460,72 +1220,6 @@ func (s *ElasticsearchDestinationConfiguration) Validate() error { return nil } -// SetBufferingHints sets the BufferingHints field's value. -func (s *ElasticsearchDestinationConfiguration) SetBufferingHints(v *ElasticsearchBufferingHints) *ElasticsearchDestinationConfiguration { - s.BufferingHints = v - return s -} - -// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value. -func (s *ElasticsearchDestinationConfiguration) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *ElasticsearchDestinationConfiguration { - s.CloudWatchLoggingOptions = v - return s -} - -// SetDomainARN sets the DomainARN field's value. -func (s *ElasticsearchDestinationConfiguration) SetDomainARN(v string) *ElasticsearchDestinationConfiguration { - s.DomainARN = &v - return s -} - -// SetIndexName sets the IndexName field's value. -func (s *ElasticsearchDestinationConfiguration) SetIndexName(v string) *ElasticsearchDestinationConfiguration { - s.IndexName = &v - return s -} - -// SetIndexRotationPeriod sets the IndexRotationPeriod field's value. -func (s *ElasticsearchDestinationConfiguration) SetIndexRotationPeriod(v ElasticsearchIndexRotationPeriod) *ElasticsearchDestinationConfiguration { - s.IndexRotationPeriod = v - return s -} - -// SetProcessingConfiguration sets the ProcessingConfiguration field's value. -func (s *ElasticsearchDestinationConfiguration) SetProcessingConfiguration(v *ProcessingConfiguration) *ElasticsearchDestinationConfiguration { - s.ProcessingConfiguration = v - return s -} - -// SetRetryOptions sets the RetryOptions field's value. -func (s *ElasticsearchDestinationConfiguration) SetRetryOptions(v *ElasticsearchRetryOptions) *ElasticsearchDestinationConfiguration { - s.RetryOptions = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *ElasticsearchDestinationConfiguration) SetRoleARN(v string) *ElasticsearchDestinationConfiguration { - s.RoleARN = &v - return s -} - -// SetS3BackupMode sets the S3BackupMode field's value. -func (s *ElasticsearchDestinationConfiguration) SetS3BackupMode(v ElasticsearchS3BackupMode) *ElasticsearchDestinationConfiguration { - s.S3BackupMode = v - return s -} - -// SetS3Configuration sets the S3Configuration field's value. -func (s *ElasticsearchDestinationConfiguration) SetS3Configuration(v *S3DestinationConfiguration) *ElasticsearchDestinationConfiguration { - s.S3Configuration = v - return s -} - -// SetTypeName sets the TypeName field's value. -func (s *ElasticsearchDestinationConfiguration) SetTypeName(v string) *ElasticsearchDestinationConfiguration { - s.TypeName = &v - return s -} - // The destination description in Amazon ES. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchDestinationDescription type ElasticsearchDestinationDescription struct { @@ -1575,72 +1269,6 @@ func (s ElasticsearchDestinationDescription) GoString() string { return s.String() } -// SetBufferingHints sets the BufferingHints field's value. -func (s *ElasticsearchDestinationDescription) SetBufferingHints(v *ElasticsearchBufferingHints) *ElasticsearchDestinationDescription { - s.BufferingHints = v - return s -} - -// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value. -func (s *ElasticsearchDestinationDescription) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *ElasticsearchDestinationDescription { - s.CloudWatchLoggingOptions = v - return s -} - -// SetDomainARN sets the DomainARN field's value. -func (s *ElasticsearchDestinationDescription) SetDomainARN(v string) *ElasticsearchDestinationDescription { - s.DomainARN = &v - return s -} - -// SetIndexName sets the IndexName field's value. -func (s *ElasticsearchDestinationDescription) SetIndexName(v string) *ElasticsearchDestinationDescription { - s.IndexName = &v - return s -} - -// SetIndexRotationPeriod sets the IndexRotationPeriod field's value. -func (s *ElasticsearchDestinationDescription) SetIndexRotationPeriod(v ElasticsearchIndexRotationPeriod) *ElasticsearchDestinationDescription { - s.IndexRotationPeriod = v - return s -} - -// SetProcessingConfiguration sets the ProcessingConfiguration field's value. -func (s *ElasticsearchDestinationDescription) SetProcessingConfiguration(v *ProcessingConfiguration) *ElasticsearchDestinationDescription { - s.ProcessingConfiguration = v - return s -} - -// SetRetryOptions sets the RetryOptions field's value. -func (s *ElasticsearchDestinationDescription) SetRetryOptions(v *ElasticsearchRetryOptions) *ElasticsearchDestinationDescription { - s.RetryOptions = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *ElasticsearchDestinationDescription) SetRoleARN(v string) *ElasticsearchDestinationDescription { - s.RoleARN = &v - return s -} - -// SetS3BackupMode sets the S3BackupMode field's value. -func (s *ElasticsearchDestinationDescription) SetS3BackupMode(v ElasticsearchS3BackupMode) *ElasticsearchDestinationDescription { - s.S3BackupMode = v - return s -} - -// SetS3DestinationDescription sets the S3DestinationDescription field's value. -func (s *ElasticsearchDestinationDescription) SetS3DestinationDescription(v *S3DestinationDescription) *ElasticsearchDestinationDescription { - s.S3DestinationDescription = v - return s -} - -// SetTypeName sets the TypeName field's value. -func (s *ElasticsearchDestinationDescription) SetTypeName(v string) *ElasticsearchDestinationDescription { - s.TypeName = &v - return s -} - // Describes an update for a destination in Amazon ES. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchDestinationUpdate type ElasticsearchDestinationUpdate struct { @@ -1733,66 +1361,6 @@ func (s *ElasticsearchDestinationUpdate) Validate() error { return nil } -// SetBufferingHints sets the BufferingHints field's value. -func (s *ElasticsearchDestinationUpdate) SetBufferingHints(v *ElasticsearchBufferingHints) *ElasticsearchDestinationUpdate { - s.BufferingHints = v - return s -} - -// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value. -func (s *ElasticsearchDestinationUpdate) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *ElasticsearchDestinationUpdate { - s.CloudWatchLoggingOptions = v - return s -} - -// SetDomainARN sets the DomainARN field's value. -func (s *ElasticsearchDestinationUpdate) SetDomainARN(v string) *ElasticsearchDestinationUpdate { - s.DomainARN = &v - return s -} - -// SetIndexName sets the IndexName field's value. -func (s *ElasticsearchDestinationUpdate) SetIndexName(v string) *ElasticsearchDestinationUpdate { - s.IndexName = &v - return s -} - -// SetIndexRotationPeriod sets the IndexRotationPeriod field's value. -func (s *ElasticsearchDestinationUpdate) SetIndexRotationPeriod(v ElasticsearchIndexRotationPeriod) *ElasticsearchDestinationUpdate { - s.IndexRotationPeriod = v - return s -} - -// SetProcessingConfiguration sets the ProcessingConfiguration field's value. -func (s *ElasticsearchDestinationUpdate) SetProcessingConfiguration(v *ProcessingConfiguration) *ElasticsearchDestinationUpdate { - s.ProcessingConfiguration = v - return s -} - -// SetRetryOptions sets the RetryOptions field's value. -func (s *ElasticsearchDestinationUpdate) SetRetryOptions(v *ElasticsearchRetryOptions) *ElasticsearchDestinationUpdate { - s.RetryOptions = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *ElasticsearchDestinationUpdate) SetRoleARN(v string) *ElasticsearchDestinationUpdate { - s.RoleARN = &v - return s -} - -// SetS3Update sets the S3Update field's value. -func (s *ElasticsearchDestinationUpdate) SetS3Update(v *S3DestinationUpdate) *ElasticsearchDestinationUpdate { - s.S3Update = v - return s -} - -// SetTypeName sets the TypeName field's value. -func (s *ElasticsearchDestinationUpdate) SetTypeName(v string) *ElasticsearchDestinationUpdate { - s.TypeName = &v - return s -} - // Configures retry behavior in case Kinesis Firehose is unable to deliver documents // to Amazon ES. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ElasticsearchRetryOptions @@ -1817,12 +1385,6 @@ func (s ElasticsearchRetryOptions) GoString() string { return s.String() } -// SetDurationInSeconds sets the DurationInSeconds field's value. -func (s *ElasticsearchRetryOptions) SetDurationInSeconds(v int64) *ElasticsearchRetryOptions { - s.DurationInSeconds = &v - return s -} - // Describes the encryption for a destination in Amazon S3. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/EncryptionConfiguration type EncryptionConfiguration struct { @@ -1861,18 +1423,6 @@ func (s *EncryptionConfiguration) Validate() error { return nil } -// SetKMSEncryptionConfig sets the KMSEncryptionConfig field's value. -func (s *EncryptionConfiguration) SetKMSEncryptionConfig(v *KMSEncryptionConfig) *EncryptionConfiguration { - s.KMSEncryptionConfig = v - return s -} - -// SetNoEncryptionConfig sets the NoEncryptionConfig field's value. -func (s *EncryptionConfiguration) SetNoEncryptionConfig(v NoEncryptionConfig) *EncryptionConfiguration { - s.NoEncryptionConfig = v - return s -} - // Describes the configuration of a destination in Amazon S3. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ExtendedS3DestinationConfiguration type ExtendedS3DestinationConfiguration struct { @@ -1972,66 +1522,6 @@ func (s *ExtendedS3DestinationConfiguration) Validate() error { return nil } -// SetBucketARN sets the BucketARN field's value. -func (s *ExtendedS3DestinationConfiguration) SetBucketARN(v string) *ExtendedS3DestinationConfiguration { - s.BucketARN = &v - return s -} - -// SetBufferingHints sets the BufferingHints field's value. -func (s *ExtendedS3DestinationConfiguration) SetBufferingHints(v *BufferingHints) *ExtendedS3DestinationConfiguration { - s.BufferingHints = v - return s -} - -// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value. -func (s *ExtendedS3DestinationConfiguration) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *ExtendedS3DestinationConfiguration { - s.CloudWatchLoggingOptions = v - return s -} - -// SetCompressionFormat sets the CompressionFormat field's value. -func (s *ExtendedS3DestinationConfiguration) SetCompressionFormat(v CompressionFormat) *ExtendedS3DestinationConfiguration { - s.CompressionFormat = v - return s -} - -// SetEncryptionConfiguration sets the EncryptionConfiguration field's value. -func (s *ExtendedS3DestinationConfiguration) SetEncryptionConfiguration(v *EncryptionConfiguration) *ExtendedS3DestinationConfiguration { - s.EncryptionConfiguration = v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *ExtendedS3DestinationConfiguration) SetPrefix(v string) *ExtendedS3DestinationConfiguration { - s.Prefix = &v - return s -} - -// SetProcessingConfiguration sets the ProcessingConfiguration field's value. -func (s *ExtendedS3DestinationConfiguration) SetProcessingConfiguration(v *ProcessingConfiguration) *ExtendedS3DestinationConfiguration { - s.ProcessingConfiguration = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *ExtendedS3DestinationConfiguration) SetRoleARN(v string) *ExtendedS3DestinationConfiguration { - s.RoleARN = &v - return s -} - -// SetS3BackupConfiguration sets the S3BackupConfiguration field's value. -func (s *ExtendedS3DestinationConfiguration) SetS3BackupConfiguration(v *S3DestinationConfiguration) *ExtendedS3DestinationConfiguration { - s.S3BackupConfiguration = v - return s -} - -// SetS3BackupMode sets the S3BackupMode field's value. -func (s *ExtendedS3DestinationConfiguration) SetS3BackupMode(v S3BackupMode) *ExtendedS3DestinationConfiguration { - s.S3BackupMode = v - return s -} - // Describes a destination in Amazon S3. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ExtendedS3DestinationDescription type ExtendedS3DestinationDescription struct { @@ -2093,66 +1583,6 @@ func (s ExtendedS3DestinationDescription) GoString() string { return s.String() } -// SetBucketARN sets the BucketARN field's value. -func (s *ExtendedS3DestinationDescription) SetBucketARN(v string) *ExtendedS3DestinationDescription { - s.BucketARN = &v - return s -} - -// SetBufferingHints sets the BufferingHints field's value. -func (s *ExtendedS3DestinationDescription) SetBufferingHints(v *BufferingHints) *ExtendedS3DestinationDescription { - s.BufferingHints = v - return s -} - -// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value. -func (s *ExtendedS3DestinationDescription) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *ExtendedS3DestinationDescription { - s.CloudWatchLoggingOptions = v - return s -} - -// SetCompressionFormat sets the CompressionFormat field's value. -func (s *ExtendedS3DestinationDescription) SetCompressionFormat(v CompressionFormat) *ExtendedS3DestinationDescription { - s.CompressionFormat = v - return s -} - -// SetEncryptionConfiguration sets the EncryptionConfiguration field's value. -func (s *ExtendedS3DestinationDescription) SetEncryptionConfiguration(v *EncryptionConfiguration) *ExtendedS3DestinationDescription { - s.EncryptionConfiguration = v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *ExtendedS3DestinationDescription) SetPrefix(v string) *ExtendedS3DestinationDescription { - s.Prefix = &v - return s -} - -// SetProcessingConfiguration sets the ProcessingConfiguration field's value. -func (s *ExtendedS3DestinationDescription) SetProcessingConfiguration(v *ProcessingConfiguration) *ExtendedS3DestinationDescription { - s.ProcessingConfiguration = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *ExtendedS3DestinationDescription) SetRoleARN(v string) *ExtendedS3DestinationDescription { - s.RoleARN = &v - return s -} - -// SetS3BackupDescription sets the S3BackupDescription field's value. -func (s *ExtendedS3DestinationDescription) SetS3BackupDescription(v *S3DestinationDescription) *ExtendedS3DestinationDescription { - s.S3BackupDescription = v - return s -} - -// SetS3BackupMode sets the S3BackupMode field's value. -func (s *ExtendedS3DestinationDescription) SetS3BackupMode(v S3BackupMode) *ExtendedS3DestinationDescription { - s.S3BackupMode = v - return s -} - // Describes an update for a destination in Amazon S3. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ExtendedS3DestinationUpdate type ExtendedS3DestinationUpdate struct { @@ -2240,66 +1670,6 @@ func (s *ExtendedS3DestinationUpdate) Validate() error { return nil } -// SetBucketARN sets the BucketARN field's value. -func (s *ExtendedS3DestinationUpdate) SetBucketARN(v string) *ExtendedS3DestinationUpdate { - s.BucketARN = &v - return s -} - -// SetBufferingHints sets the BufferingHints field's value. -func (s *ExtendedS3DestinationUpdate) SetBufferingHints(v *BufferingHints) *ExtendedS3DestinationUpdate { - s.BufferingHints = v - return s -} - -// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value. -func (s *ExtendedS3DestinationUpdate) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *ExtendedS3DestinationUpdate { - s.CloudWatchLoggingOptions = v - return s -} - -// SetCompressionFormat sets the CompressionFormat field's value. -func (s *ExtendedS3DestinationUpdate) SetCompressionFormat(v CompressionFormat) *ExtendedS3DestinationUpdate { - s.CompressionFormat = v - return s -} - -// SetEncryptionConfiguration sets the EncryptionConfiguration field's value. -func (s *ExtendedS3DestinationUpdate) SetEncryptionConfiguration(v *EncryptionConfiguration) *ExtendedS3DestinationUpdate { - s.EncryptionConfiguration = v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *ExtendedS3DestinationUpdate) SetPrefix(v string) *ExtendedS3DestinationUpdate { - s.Prefix = &v - return s -} - -// SetProcessingConfiguration sets the ProcessingConfiguration field's value. -func (s *ExtendedS3DestinationUpdate) SetProcessingConfiguration(v *ProcessingConfiguration) *ExtendedS3DestinationUpdate { - s.ProcessingConfiguration = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *ExtendedS3DestinationUpdate) SetRoleARN(v string) *ExtendedS3DestinationUpdate { - s.RoleARN = &v - return s -} - -// SetS3BackupMode sets the S3BackupMode field's value. -func (s *ExtendedS3DestinationUpdate) SetS3BackupMode(v S3BackupMode) *ExtendedS3DestinationUpdate { - s.S3BackupMode = v - return s -} - -// SetS3BackupUpdate sets the S3BackupUpdate field's value. -func (s *ExtendedS3DestinationUpdate) SetS3BackupUpdate(v *S3DestinationUpdate) *ExtendedS3DestinationUpdate { - s.S3BackupUpdate = v - return s -} - // Describes an encryption key for a destination in Amazon S3. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/KMSEncryptionConfig type KMSEncryptionConfig struct { @@ -2339,12 +1709,6 @@ func (s *KMSEncryptionConfig) Validate() error { return nil } -// SetAWSKMSKeyARN sets the AWSKMSKeyARN field's value. -func (s *KMSEncryptionConfig) SetAWSKMSKeyARN(v string) *KMSEncryptionConfig { - s.AWSKMSKeyARN = &v - return s -} - // The stream and role ARNs for a Kinesis stream used as the source for a delivery // stream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/KinesisStreamSourceConfiguration @@ -2396,18 +1760,6 @@ func (s *KinesisStreamSourceConfiguration) Validate() error { return nil } -// SetKinesisStreamARN sets the KinesisStreamARN field's value. -func (s *KinesisStreamSourceConfiguration) SetKinesisStreamARN(v string) *KinesisStreamSourceConfiguration { - s.KinesisStreamARN = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *KinesisStreamSourceConfiguration) SetRoleARN(v string) *KinesisStreamSourceConfiguration { - s.RoleARN = &v - return s -} - // Details about a Kinesis stream used as the source for a Kinesis Firehose // delivery stream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/KinesisStreamSourceDescription @@ -2435,24 +1787,6 @@ func (s KinesisStreamSourceDescription) GoString() string { return s.String() } -// SetDeliveryStartTimestamp sets the DeliveryStartTimestamp field's value. -func (s *KinesisStreamSourceDescription) SetDeliveryStartTimestamp(v time.Time) *KinesisStreamSourceDescription { - s.DeliveryStartTimestamp = &v - return s -} - -// SetKinesisStreamARN sets the KinesisStreamARN field's value. -func (s *KinesisStreamSourceDescription) SetKinesisStreamARN(v string) *KinesisStreamSourceDescription { - s.KinesisStreamARN = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *KinesisStreamSourceDescription) SetRoleARN(v string) *KinesisStreamSourceDescription { - s.RoleARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ListDeliveryStreamsInput type ListDeliveryStreamsInput struct { _ struct{} `type:"structure"` @@ -2501,24 +1835,6 @@ func (s *ListDeliveryStreamsInput) Validate() error { return nil } -// SetDeliveryStreamType sets the DeliveryStreamType field's value. -func (s *ListDeliveryStreamsInput) SetDeliveryStreamType(v DeliveryStreamType) *ListDeliveryStreamsInput { - s.DeliveryStreamType = v - return s -} - -// SetExclusiveStartDeliveryStreamName sets the ExclusiveStartDeliveryStreamName field's value. -func (s *ListDeliveryStreamsInput) SetExclusiveStartDeliveryStreamName(v string) *ListDeliveryStreamsInput { - s.ExclusiveStartDeliveryStreamName = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListDeliveryStreamsInput) SetLimit(v int64) *ListDeliveryStreamsInput { - s.Limit = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ListDeliveryStreamsOutput type ListDeliveryStreamsOutput struct { _ struct{} `type:"structure"` @@ -2551,18 +1867,6 @@ func (s ListDeliveryStreamsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeliveryStreamNames sets the DeliveryStreamNames field's value. -func (s *ListDeliveryStreamsOutput) SetDeliveryStreamNames(v []string) *ListDeliveryStreamsOutput { - s.DeliveryStreamNames = v - return s -} - -// SetHasMoreDeliveryStreams sets the HasMoreDeliveryStreams field's value. -func (s *ListDeliveryStreamsOutput) SetHasMoreDeliveryStreams(v bool) *ListDeliveryStreamsOutput { - s.HasMoreDeliveryStreams = &v - return s -} - // Describes a data processing configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ProcessingConfiguration type ProcessingConfiguration struct { @@ -2602,18 +1906,6 @@ func (s *ProcessingConfiguration) Validate() error { return nil } -// SetEnabled sets the Enabled field's value. -func (s *ProcessingConfiguration) SetEnabled(v bool) *ProcessingConfiguration { - s.Enabled = &v - return s -} - -// SetProcessors sets the Processors field's value. -func (s *ProcessingConfiguration) SetProcessors(v []Processor) *ProcessingConfiguration { - s.Processors = v - return s -} - // Describes a data processor. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/Processor type Processor struct { @@ -2658,18 +1950,6 @@ func (s *Processor) Validate() error { return nil } -// SetParameters sets the Parameters field's value. -func (s *Processor) SetParameters(v []ProcessorParameter) *Processor { - s.Parameters = v - return s -} - -// SetType sets the Type field's value. -func (s *Processor) SetType(v ProcessorType) *Processor { - s.Type = v - return s -} - // Describes the processor parameter. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ProcessorParameter type ProcessorParameter struct { @@ -2716,18 +1996,6 @@ func (s *ProcessorParameter) Validate() error { return nil } -// SetParameterName sets the ParameterName field's value. -func (s *ProcessorParameter) SetParameterName(v ProcessorParameterName) *ProcessorParameter { - s.ParameterName = v - return s -} - -// SetParameterValue sets the ParameterValue field's value. -func (s *ProcessorParameter) SetParameterValue(v string) *ProcessorParameter { - s.ParameterValue = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordBatchInput type PutRecordBatchInput struct { _ struct{} `type:"structure"` @@ -2784,18 +2052,6 @@ func (s *PutRecordBatchInput) Validate() error { return nil } -// SetDeliveryStreamName sets the DeliveryStreamName field's value. -func (s *PutRecordBatchInput) SetDeliveryStreamName(v string) *PutRecordBatchInput { - s.DeliveryStreamName = &v - return s -} - -// SetRecords sets the Records field's value. -func (s *PutRecordBatchInput) SetRecords(v []Record) *PutRecordBatchInput { - s.Records = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordBatchOutput type PutRecordBatchOutput struct { _ struct{} `type:"structure"` @@ -2829,18 +2085,6 @@ func (s PutRecordBatchOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailedPutCount sets the FailedPutCount field's value. -func (s *PutRecordBatchOutput) SetFailedPutCount(v int64) *PutRecordBatchOutput { - s.FailedPutCount = &v - return s -} - -// SetRequestResponses sets the RequestResponses field's value. -func (s *PutRecordBatchOutput) SetRequestResponses(v []PutRecordBatchResponseEntry) *PutRecordBatchOutput { - s.RequestResponses = v - return s -} - // Contains the result for an individual record from a PutRecordBatch request. // If the record is successfully added to your delivery stream, it receives // a record ID. If the record fails to be added to your delivery stream, the @@ -2869,24 +2113,6 @@ func (s PutRecordBatchResponseEntry) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *PutRecordBatchResponseEntry) SetErrorCode(v string) *PutRecordBatchResponseEntry { - s.ErrorCode = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *PutRecordBatchResponseEntry) SetErrorMessage(v string) *PutRecordBatchResponseEntry { - s.ErrorMessage = &v - return s -} - -// SetRecordId sets the RecordId field's value. -func (s *PutRecordBatchResponseEntry) SetRecordId(v string) *PutRecordBatchResponseEntry { - s.RecordId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordInput type PutRecordInput struct { _ struct{} `type:"structure"` @@ -2938,18 +2164,6 @@ func (s *PutRecordInput) Validate() error { return nil } -// SetDeliveryStreamName sets the DeliveryStreamName field's value. -func (s *PutRecordInput) SetDeliveryStreamName(v string) *PutRecordInput { - s.DeliveryStreamName = &v - return s -} - -// SetRecord sets the Record field's value. -func (s *PutRecordInput) SetRecord(v *Record) *PutRecordInput { - s.Record = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordOutput type PutRecordOutput struct { _ struct{} `type:"structure"` @@ -2977,12 +2191,6 @@ func (s PutRecordOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRecordId sets the RecordId field's value. -func (s *PutRecordOutput) SetRecordId(v string) *PutRecordOutput { - s.RecordId = &v - return s -} - // The unit of data in a delivery stream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/Record type Record struct { @@ -3021,12 +2229,6 @@ func (s *Record) Validate() error { return nil } -// SetData sets the Data field's value. -func (s *Record) SetData(v []byte) *Record { - s.Data = v - return s -} - // Describes the configuration of a destination in Amazon Redshift. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/RedshiftDestinationConfiguration type RedshiftDestinationConfiguration struct { @@ -3160,72 +2362,6 @@ func (s *RedshiftDestinationConfiguration) Validate() error { return nil } -// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value. -func (s *RedshiftDestinationConfiguration) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *RedshiftDestinationConfiguration { - s.CloudWatchLoggingOptions = v - return s -} - -// SetClusterJDBCURL sets the ClusterJDBCURL field's value. -func (s *RedshiftDestinationConfiguration) SetClusterJDBCURL(v string) *RedshiftDestinationConfiguration { - s.ClusterJDBCURL = &v - return s -} - -// SetCopyCommand sets the CopyCommand field's value. -func (s *RedshiftDestinationConfiguration) SetCopyCommand(v *CopyCommand) *RedshiftDestinationConfiguration { - s.CopyCommand = v - return s -} - -// SetPassword sets the Password field's value. -func (s *RedshiftDestinationConfiguration) SetPassword(v string) *RedshiftDestinationConfiguration { - s.Password = &v - return s -} - -// SetProcessingConfiguration sets the ProcessingConfiguration field's value. -func (s *RedshiftDestinationConfiguration) SetProcessingConfiguration(v *ProcessingConfiguration) *RedshiftDestinationConfiguration { - s.ProcessingConfiguration = v - return s -} - -// SetRetryOptions sets the RetryOptions field's value. -func (s *RedshiftDestinationConfiguration) SetRetryOptions(v *RedshiftRetryOptions) *RedshiftDestinationConfiguration { - s.RetryOptions = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *RedshiftDestinationConfiguration) SetRoleARN(v string) *RedshiftDestinationConfiguration { - s.RoleARN = &v - return s -} - -// SetS3BackupConfiguration sets the S3BackupConfiguration field's value. -func (s *RedshiftDestinationConfiguration) SetS3BackupConfiguration(v *S3DestinationConfiguration) *RedshiftDestinationConfiguration { - s.S3BackupConfiguration = v - return s -} - -// SetS3BackupMode sets the S3BackupMode field's value. -func (s *RedshiftDestinationConfiguration) SetS3BackupMode(v RedshiftS3BackupMode) *RedshiftDestinationConfiguration { - s.S3BackupMode = v - return s -} - -// SetS3Configuration sets the S3Configuration field's value. -func (s *RedshiftDestinationConfiguration) SetS3Configuration(v *S3DestinationConfiguration) *RedshiftDestinationConfiguration { - s.S3Configuration = v - return s -} - -// SetUsername sets the Username field's value. -func (s *RedshiftDestinationConfiguration) SetUsername(v string) *RedshiftDestinationConfiguration { - s.Username = &v - return s -} - // Describes a destination in Amazon Redshift. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/RedshiftDestinationDescription type RedshiftDestinationDescription struct { @@ -3283,66 +2419,6 @@ func (s RedshiftDestinationDescription) GoString() string { return s.String() } -// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value. -func (s *RedshiftDestinationDescription) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *RedshiftDestinationDescription { - s.CloudWatchLoggingOptions = v - return s -} - -// SetClusterJDBCURL sets the ClusterJDBCURL field's value. -func (s *RedshiftDestinationDescription) SetClusterJDBCURL(v string) *RedshiftDestinationDescription { - s.ClusterJDBCURL = &v - return s -} - -// SetCopyCommand sets the CopyCommand field's value. -func (s *RedshiftDestinationDescription) SetCopyCommand(v *CopyCommand) *RedshiftDestinationDescription { - s.CopyCommand = v - return s -} - -// SetProcessingConfiguration sets the ProcessingConfiguration field's value. -func (s *RedshiftDestinationDescription) SetProcessingConfiguration(v *ProcessingConfiguration) *RedshiftDestinationDescription { - s.ProcessingConfiguration = v - return s -} - -// SetRetryOptions sets the RetryOptions field's value. -func (s *RedshiftDestinationDescription) SetRetryOptions(v *RedshiftRetryOptions) *RedshiftDestinationDescription { - s.RetryOptions = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *RedshiftDestinationDescription) SetRoleARN(v string) *RedshiftDestinationDescription { - s.RoleARN = &v - return s -} - -// SetS3BackupDescription sets the S3BackupDescription field's value. -func (s *RedshiftDestinationDescription) SetS3BackupDescription(v *S3DestinationDescription) *RedshiftDestinationDescription { - s.S3BackupDescription = v - return s -} - -// SetS3BackupMode sets the S3BackupMode field's value. -func (s *RedshiftDestinationDescription) SetS3BackupMode(v RedshiftS3BackupMode) *RedshiftDestinationDescription { - s.S3BackupMode = v - return s -} - -// SetS3DestinationDescription sets the S3DestinationDescription field's value. -func (s *RedshiftDestinationDescription) SetS3DestinationDescription(v *S3DestinationDescription) *RedshiftDestinationDescription { - s.S3DestinationDescription = v - return s -} - -// SetUsername sets the Username field's value. -func (s *RedshiftDestinationDescription) SetUsername(v string) *RedshiftDestinationDescription { - s.Username = &v - return s -} - // Describes an update for a destination in Amazon Redshift. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/RedshiftDestinationUpdate type RedshiftDestinationUpdate struct { @@ -3439,72 +2515,6 @@ func (s *RedshiftDestinationUpdate) Validate() error { return nil } -// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value. -func (s *RedshiftDestinationUpdate) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *RedshiftDestinationUpdate { - s.CloudWatchLoggingOptions = v - return s -} - -// SetClusterJDBCURL sets the ClusterJDBCURL field's value. -func (s *RedshiftDestinationUpdate) SetClusterJDBCURL(v string) *RedshiftDestinationUpdate { - s.ClusterJDBCURL = &v - return s -} - -// SetCopyCommand sets the CopyCommand field's value. -func (s *RedshiftDestinationUpdate) SetCopyCommand(v *CopyCommand) *RedshiftDestinationUpdate { - s.CopyCommand = v - return s -} - -// SetPassword sets the Password field's value. -func (s *RedshiftDestinationUpdate) SetPassword(v string) *RedshiftDestinationUpdate { - s.Password = &v - return s -} - -// SetProcessingConfiguration sets the ProcessingConfiguration field's value. -func (s *RedshiftDestinationUpdate) SetProcessingConfiguration(v *ProcessingConfiguration) *RedshiftDestinationUpdate { - s.ProcessingConfiguration = v - return s -} - -// SetRetryOptions sets the RetryOptions field's value. -func (s *RedshiftDestinationUpdate) SetRetryOptions(v *RedshiftRetryOptions) *RedshiftDestinationUpdate { - s.RetryOptions = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *RedshiftDestinationUpdate) SetRoleARN(v string) *RedshiftDestinationUpdate { - s.RoleARN = &v - return s -} - -// SetS3BackupMode sets the S3BackupMode field's value. -func (s *RedshiftDestinationUpdate) SetS3BackupMode(v RedshiftS3BackupMode) *RedshiftDestinationUpdate { - s.S3BackupMode = v - return s -} - -// SetS3BackupUpdate sets the S3BackupUpdate field's value. -func (s *RedshiftDestinationUpdate) SetS3BackupUpdate(v *S3DestinationUpdate) *RedshiftDestinationUpdate { - s.S3BackupUpdate = v - return s -} - -// SetS3Update sets the S3Update field's value. -func (s *RedshiftDestinationUpdate) SetS3Update(v *S3DestinationUpdate) *RedshiftDestinationUpdate { - s.S3Update = v - return s -} - -// SetUsername sets the Username field's value. -func (s *RedshiftDestinationUpdate) SetUsername(v string) *RedshiftDestinationUpdate { - s.Username = &v - return s -} - // Configures retry behavior in case Kinesis Firehose is unable to deliver documents // to Amazon Redshift. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/RedshiftRetryOptions @@ -3529,12 +2539,6 @@ func (s RedshiftRetryOptions) GoString() string { return s.String() } -// SetDurationInSeconds sets the DurationInSeconds field's value. -func (s *RedshiftRetryOptions) SetDurationInSeconds(v int64) *RedshiftRetryOptions { - s.DurationInSeconds = &v - return s -} - // Describes the configuration of a destination in Amazon S3. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/S3DestinationConfiguration type S3DestinationConfiguration struct { @@ -3620,48 +2624,6 @@ func (s *S3DestinationConfiguration) Validate() error { return nil } -// SetBucketARN sets the BucketARN field's value. -func (s *S3DestinationConfiguration) SetBucketARN(v string) *S3DestinationConfiguration { - s.BucketARN = &v - return s -} - -// SetBufferingHints sets the BufferingHints field's value. -func (s *S3DestinationConfiguration) SetBufferingHints(v *BufferingHints) *S3DestinationConfiguration { - s.BufferingHints = v - return s -} - -// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value. -func (s *S3DestinationConfiguration) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *S3DestinationConfiguration { - s.CloudWatchLoggingOptions = v - return s -} - -// SetCompressionFormat sets the CompressionFormat field's value. -func (s *S3DestinationConfiguration) SetCompressionFormat(v CompressionFormat) *S3DestinationConfiguration { - s.CompressionFormat = v - return s -} - -// SetEncryptionConfiguration sets the EncryptionConfiguration field's value. -func (s *S3DestinationConfiguration) SetEncryptionConfiguration(v *EncryptionConfiguration) *S3DestinationConfiguration { - s.EncryptionConfiguration = v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *S3DestinationConfiguration) SetPrefix(v string) *S3DestinationConfiguration { - s.Prefix = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *S3DestinationConfiguration) SetRoleARN(v string) *S3DestinationConfiguration { - s.RoleARN = &v - return s -} - // Describes a destination in Amazon S3. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/S3DestinationDescription type S3DestinationDescription struct { @@ -3715,48 +2677,6 @@ func (s S3DestinationDescription) GoString() string { return s.String() } -// SetBucketARN sets the BucketARN field's value. -func (s *S3DestinationDescription) SetBucketARN(v string) *S3DestinationDescription { - s.BucketARN = &v - return s -} - -// SetBufferingHints sets the BufferingHints field's value. -func (s *S3DestinationDescription) SetBufferingHints(v *BufferingHints) *S3DestinationDescription { - s.BufferingHints = v - return s -} - -// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value. -func (s *S3DestinationDescription) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *S3DestinationDescription { - s.CloudWatchLoggingOptions = v - return s -} - -// SetCompressionFormat sets the CompressionFormat field's value. -func (s *S3DestinationDescription) SetCompressionFormat(v CompressionFormat) *S3DestinationDescription { - s.CompressionFormat = v - return s -} - -// SetEncryptionConfiguration sets the EncryptionConfiguration field's value. -func (s *S3DestinationDescription) SetEncryptionConfiguration(v *EncryptionConfiguration) *S3DestinationDescription { - s.EncryptionConfiguration = v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *S3DestinationDescription) SetPrefix(v string) *S3DestinationDescription { - s.Prefix = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *S3DestinationDescription) SetRoleARN(v string) *S3DestinationDescription { - s.RoleARN = &v - return s -} - // Describes an update for a destination in Amazon S3. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/S3DestinationUpdate type S3DestinationUpdate struct { @@ -3830,48 +2750,6 @@ func (s *S3DestinationUpdate) Validate() error { return nil } -// SetBucketARN sets the BucketARN field's value. -func (s *S3DestinationUpdate) SetBucketARN(v string) *S3DestinationUpdate { - s.BucketARN = &v - return s -} - -// SetBufferingHints sets the BufferingHints field's value. -func (s *S3DestinationUpdate) SetBufferingHints(v *BufferingHints) *S3DestinationUpdate { - s.BufferingHints = v - return s -} - -// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value. -func (s *S3DestinationUpdate) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *S3DestinationUpdate { - s.CloudWatchLoggingOptions = v - return s -} - -// SetCompressionFormat sets the CompressionFormat field's value. -func (s *S3DestinationUpdate) SetCompressionFormat(v CompressionFormat) *S3DestinationUpdate { - s.CompressionFormat = v - return s -} - -// SetEncryptionConfiguration sets the EncryptionConfiguration field's value. -func (s *S3DestinationUpdate) SetEncryptionConfiguration(v *EncryptionConfiguration) *S3DestinationUpdate { - s.EncryptionConfiguration = v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *S3DestinationUpdate) SetPrefix(v string) *S3DestinationUpdate { - s.Prefix = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *S3DestinationUpdate) SetRoleARN(v string) *S3DestinationUpdate { - s.RoleARN = &v - return s -} - // Details about a Kinesis stream used as the source for a Kinesis Firehose // delivery stream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SourceDescription @@ -3892,12 +2770,6 @@ func (s SourceDescription) GoString() string { return s.String() } -// SetKinesisStreamSourceDescription sets the KinesisStreamSourceDescription field's value. -func (s *SourceDescription) SetKinesisStreamSourceDescription(v *KinesisStreamSourceDescription) *SourceDescription { - s.KinesisStreamSourceDescription = v - return s -} - // Describes the configuration of a destination in Splunk. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SplunkDestinationConfiguration type SplunkDestinationConfiguration struct { @@ -3997,60 +2869,6 @@ func (s *SplunkDestinationConfiguration) Validate() error { return nil } -// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value. -func (s *SplunkDestinationConfiguration) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *SplunkDestinationConfiguration { - s.CloudWatchLoggingOptions = v - return s -} - -// SetHECAcknowledgmentTimeoutInSeconds sets the HECAcknowledgmentTimeoutInSeconds field's value. -func (s *SplunkDestinationConfiguration) SetHECAcknowledgmentTimeoutInSeconds(v int64) *SplunkDestinationConfiguration { - s.HECAcknowledgmentTimeoutInSeconds = &v - return s -} - -// SetHECEndpoint sets the HECEndpoint field's value. -func (s *SplunkDestinationConfiguration) SetHECEndpoint(v string) *SplunkDestinationConfiguration { - s.HECEndpoint = &v - return s -} - -// SetHECEndpointType sets the HECEndpointType field's value. -func (s *SplunkDestinationConfiguration) SetHECEndpointType(v HECEndpointType) *SplunkDestinationConfiguration { - s.HECEndpointType = v - return s -} - -// SetHECToken sets the HECToken field's value. -func (s *SplunkDestinationConfiguration) SetHECToken(v string) *SplunkDestinationConfiguration { - s.HECToken = &v - return s -} - -// SetProcessingConfiguration sets the ProcessingConfiguration field's value. -func (s *SplunkDestinationConfiguration) SetProcessingConfiguration(v *ProcessingConfiguration) *SplunkDestinationConfiguration { - s.ProcessingConfiguration = v - return s -} - -// SetRetryOptions sets the RetryOptions field's value. -func (s *SplunkDestinationConfiguration) SetRetryOptions(v *SplunkRetryOptions) *SplunkDestinationConfiguration { - s.RetryOptions = v - return s -} - -// SetS3BackupMode sets the S3BackupMode field's value. -func (s *SplunkDestinationConfiguration) SetS3BackupMode(v SplunkS3BackupMode) *SplunkDestinationConfiguration { - s.S3BackupMode = v - return s -} - -// SetS3Configuration sets the S3Configuration field's value. -func (s *SplunkDestinationConfiguration) SetS3Configuration(v *S3DestinationConfiguration) *SplunkDestinationConfiguration { - s.S3Configuration = v - return s -} - // Describes a destination in Splunk. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SplunkDestinationDescription type SplunkDestinationDescription struct { @@ -4104,60 +2922,6 @@ func (s SplunkDestinationDescription) GoString() string { return s.String() } -// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value. -func (s *SplunkDestinationDescription) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *SplunkDestinationDescription { - s.CloudWatchLoggingOptions = v - return s -} - -// SetHECAcknowledgmentTimeoutInSeconds sets the HECAcknowledgmentTimeoutInSeconds field's value. -func (s *SplunkDestinationDescription) SetHECAcknowledgmentTimeoutInSeconds(v int64) *SplunkDestinationDescription { - s.HECAcknowledgmentTimeoutInSeconds = &v - return s -} - -// SetHECEndpoint sets the HECEndpoint field's value. -func (s *SplunkDestinationDescription) SetHECEndpoint(v string) *SplunkDestinationDescription { - s.HECEndpoint = &v - return s -} - -// SetHECEndpointType sets the HECEndpointType field's value. -func (s *SplunkDestinationDescription) SetHECEndpointType(v HECEndpointType) *SplunkDestinationDescription { - s.HECEndpointType = v - return s -} - -// SetHECToken sets the HECToken field's value. -func (s *SplunkDestinationDescription) SetHECToken(v string) *SplunkDestinationDescription { - s.HECToken = &v - return s -} - -// SetProcessingConfiguration sets the ProcessingConfiguration field's value. -func (s *SplunkDestinationDescription) SetProcessingConfiguration(v *ProcessingConfiguration) *SplunkDestinationDescription { - s.ProcessingConfiguration = v - return s -} - -// SetRetryOptions sets the RetryOptions field's value. -func (s *SplunkDestinationDescription) SetRetryOptions(v *SplunkRetryOptions) *SplunkDestinationDescription { - s.RetryOptions = v - return s -} - -// SetS3BackupMode sets the S3BackupMode field's value. -func (s *SplunkDestinationDescription) SetS3BackupMode(v SplunkS3BackupMode) *SplunkDestinationDescription { - s.S3BackupMode = v - return s -} - -// SetS3DestinationDescription sets the S3DestinationDescription field's value. -func (s *SplunkDestinationDescription) SetS3DestinationDescription(v *S3DestinationDescription) *SplunkDestinationDescription { - s.S3DestinationDescription = v - return s -} - // Describes an update for a destination in Splunk. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SplunkDestinationUpdate type SplunkDestinationUpdate struct { @@ -4234,60 +2998,6 @@ func (s *SplunkDestinationUpdate) Validate() error { return nil } -// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value. -func (s *SplunkDestinationUpdate) SetCloudWatchLoggingOptions(v *CloudWatchLoggingOptions) *SplunkDestinationUpdate { - s.CloudWatchLoggingOptions = v - return s -} - -// SetHECAcknowledgmentTimeoutInSeconds sets the HECAcknowledgmentTimeoutInSeconds field's value. -func (s *SplunkDestinationUpdate) SetHECAcknowledgmentTimeoutInSeconds(v int64) *SplunkDestinationUpdate { - s.HECAcknowledgmentTimeoutInSeconds = &v - return s -} - -// SetHECEndpoint sets the HECEndpoint field's value. -func (s *SplunkDestinationUpdate) SetHECEndpoint(v string) *SplunkDestinationUpdate { - s.HECEndpoint = &v - return s -} - -// SetHECEndpointType sets the HECEndpointType field's value. -func (s *SplunkDestinationUpdate) SetHECEndpointType(v HECEndpointType) *SplunkDestinationUpdate { - s.HECEndpointType = v - return s -} - -// SetHECToken sets the HECToken field's value. -func (s *SplunkDestinationUpdate) SetHECToken(v string) *SplunkDestinationUpdate { - s.HECToken = &v - return s -} - -// SetProcessingConfiguration sets the ProcessingConfiguration field's value. -func (s *SplunkDestinationUpdate) SetProcessingConfiguration(v *ProcessingConfiguration) *SplunkDestinationUpdate { - s.ProcessingConfiguration = v - return s -} - -// SetRetryOptions sets the RetryOptions field's value. -func (s *SplunkDestinationUpdate) SetRetryOptions(v *SplunkRetryOptions) *SplunkDestinationUpdate { - s.RetryOptions = v - return s -} - -// SetS3BackupMode sets the S3BackupMode field's value. -func (s *SplunkDestinationUpdate) SetS3BackupMode(v SplunkS3BackupMode) *SplunkDestinationUpdate { - s.S3BackupMode = v - return s -} - -// SetS3Update sets the S3Update field's value. -func (s *SplunkDestinationUpdate) SetS3Update(v *S3DestinationUpdate) *SplunkDestinationUpdate { - s.S3Update = v - return s -} - // Configures retry behavior in case Kinesis Firehose is unable to deliver documents // to Splunk or if it doesn't receive an acknowledgment from Splunk. // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/SplunkRetryOptions @@ -4311,12 +3021,6 @@ func (s SplunkRetryOptions) GoString() string { return s.String() } -// SetDurationInSeconds sets the DurationInSeconds field's value. -func (s *SplunkRetryOptions) SetDurationInSeconds(v int64) *SplunkRetryOptions { - s.DurationInSeconds = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/UpdateDestinationInput type UpdateDestinationInput struct { _ struct{} `type:"structure"` @@ -4423,54 +3127,6 @@ func (s *UpdateDestinationInput) Validate() error { return nil } -// SetCurrentDeliveryStreamVersionId sets the CurrentDeliveryStreamVersionId field's value. -func (s *UpdateDestinationInput) SetCurrentDeliveryStreamVersionId(v string) *UpdateDestinationInput { - s.CurrentDeliveryStreamVersionId = &v - return s -} - -// SetDeliveryStreamName sets the DeliveryStreamName field's value. -func (s *UpdateDestinationInput) SetDeliveryStreamName(v string) *UpdateDestinationInput { - s.DeliveryStreamName = &v - return s -} - -// SetDestinationId sets the DestinationId field's value. -func (s *UpdateDestinationInput) SetDestinationId(v string) *UpdateDestinationInput { - s.DestinationId = &v - return s -} - -// SetElasticsearchDestinationUpdate sets the ElasticsearchDestinationUpdate field's value. -func (s *UpdateDestinationInput) SetElasticsearchDestinationUpdate(v *ElasticsearchDestinationUpdate) *UpdateDestinationInput { - s.ElasticsearchDestinationUpdate = v - return s -} - -// SetExtendedS3DestinationUpdate sets the ExtendedS3DestinationUpdate field's value. -func (s *UpdateDestinationInput) SetExtendedS3DestinationUpdate(v *ExtendedS3DestinationUpdate) *UpdateDestinationInput { - s.ExtendedS3DestinationUpdate = v - return s -} - -// SetRedshiftDestinationUpdate sets the RedshiftDestinationUpdate field's value. -func (s *UpdateDestinationInput) SetRedshiftDestinationUpdate(v *RedshiftDestinationUpdate) *UpdateDestinationInput { - s.RedshiftDestinationUpdate = v - return s -} - -// SetS3DestinationUpdate sets the S3DestinationUpdate field's value. -func (s *UpdateDestinationInput) SetS3DestinationUpdate(v *S3DestinationUpdate) *UpdateDestinationInput { - s.S3DestinationUpdate = v - return s -} - -// SetSplunkDestinationUpdate sets the SplunkDestinationUpdate field's value. -func (s *UpdateDestinationInput) SetSplunkDestinationUpdate(v *SplunkDestinationUpdate) *UpdateDestinationInput { - s.SplunkDestinationUpdate = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/UpdateDestinationOutput type UpdateDestinationOutput struct { _ struct{} `type:"structure"` diff --git a/service/gamelift/api.go b/service/gamelift/api.go index a9e1a0d795e..256666b947f 100644 --- a/service/gamelift/api.go +++ b/service/gamelift/api.go @@ -5326,24 +5326,6 @@ func (s *AcceptMatchInput) Validate() error { return nil } -// SetAcceptanceType sets the AcceptanceType field's value. -func (s *AcceptMatchInput) SetAcceptanceType(v AcceptanceType) *AcceptMatchInput { - s.AcceptanceType = v - return s -} - -// SetPlayerIds sets the PlayerIds field's value. -func (s *AcceptMatchInput) SetPlayerIds(v []string) *AcceptMatchInput { - s.PlayerIds = v - return s -} - -// SetTicketId sets the TicketId field's value. -func (s *AcceptMatchInput) SetTicketId(v string) *AcceptMatchInput { - s.TicketId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/AcceptMatchOutput type AcceptMatchOutput struct { _ struct{} `type:"structure"` @@ -5420,48 +5402,6 @@ func (s Alias) GoString() string { return s.String() } -// SetAliasArn sets the AliasArn field's value. -func (s *Alias) SetAliasArn(v string) *Alias { - s.AliasArn = &v - return s -} - -// SetAliasId sets the AliasId field's value. -func (s *Alias) SetAliasId(v string) *Alias { - s.AliasId = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *Alias) SetCreationTime(v time.Time) *Alias { - s.CreationTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Alias) SetDescription(v string) *Alias { - s.Description = &v - return s -} - -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *Alias) SetLastUpdatedTime(v time.Time) *Alias { - s.LastUpdatedTime = &v - return s -} - -// SetName sets the Name field's value. -func (s *Alias) SetName(v string) *Alias { - s.Name = &v - return s -} - -// SetRoutingStrategy sets the RoutingStrategy field's value. -func (s *Alias) SetRoutingStrategy(v *RoutingStrategy) *Alias { - s.RoutingStrategy = v - return s -} - // Values for use in Player attribute type:value pairs. This object lets you // specify an attribute value using any of the valid data types: string, number, // string array or data map. Each AttributeValue object can use only one of @@ -5509,30 +5449,6 @@ func (s *AttributeValue) Validate() error { return nil } -// SetN sets the N field's value. -func (s *AttributeValue) SetN(v float64) *AttributeValue { - s.N = &v - return s -} - -// SetS sets the S field's value. -func (s *AttributeValue) SetS(v string) *AttributeValue { - s.S = &v - return s -} - -// SetSDM sets the SDM field's value. -func (s *AttributeValue) SetSDM(v map[string]float64) *AttributeValue { - s.SDM = v - return s -} - -// SetSL sets the SL field's value. -func (s *AttributeValue) SetSL(v []string) *AttributeValue { - s.SL = v - return s -} - // Temporary access credentials used for uploading game build files to Amazon // GameLift. They are valid for a limited time. If they expire before you upload // your game build, get a new set by calling RequestUploadCredentials. @@ -5561,24 +5477,6 @@ func (s AwsCredentials) GoString() string { return s.String() } -// SetAccessKeyId sets the AccessKeyId field's value. -func (s *AwsCredentials) SetAccessKeyId(v string) *AwsCredentials { - s.AccessKeyId = &v - return s -} - -// SetSecretAccessKey sets the SecretAccessKey field's value. -func (s *AwsCredentials) SetSecretAccessKey(v string) *AwsCredentials { - s.SecretAccessKey = &v - return s -} - -// SetSessionToken sets the SessionToken field's value. -func (s *AwsCredentials) SetSessionToken(v string) *AwsCredentials { - s.SessionToken = &v - return s -} - // Properties describing a game build. // // Build-related operations include: @@ -5646,48 +5544,6 @@ func (s Build) GoString() string { return s.String() } -// SetBuildId sets the BuildId field's value. -func (s *Build) SetBuildId(v string) *Build { - s.BuildId = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *Build) SetCreationTime(v time.Time) *Build { - s.CreationTime = &v - return s -} - -// SetName sets the Name field's value. -func (s *Build) SetName(v string) *Build { - s.Name = &v - return s -} - -// SetOperatingSystem sets the OperatingSystem field's value. -func (s *Build) SetOperatingSystem(v OperatingSystem) *Build { - s.OperatingSystem = v - return s -} - -// SetSizeOnDisk sets the SizeOnDisk field's value. -func (s *Build) SetSizeOnDisk(v int64) *Build { - s.SizeOnDisk = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Build) SetStatus(v BuildStatus) *Build { - s.Status = v - return s -} - -// SetVersion sets the Version field's value. -func (s *Build) SetVersion(v string) *Build { - s.Version = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateAliasInput type CreateAliasInput struct { @@ -5742,24 +5598,6 @@ func (s *CreateAliasInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateAliasInput) SetDescription(v string) *CreateAliasInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateAliasInput) SetName(v string) *CreateAliasInput { - s.Name = &v - return s -} - -// SetRoutingStrategy sets the RoutingStrategy field's value. -func (s *CreateAliasInput) SetRoutingStrategy(v *RoutingStrategy) *CreateAliasInput { - s.RoutingStrategy = v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateAliasOutput type CreateAliasOutput struct { @@ -5786,12 +5624,6 @@ func (s CreateAliasOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAlias sets the Alias field's value. -func (s *CreateAliasOutput) SetAlias(v *Alias) *CreateAliasOutput { - s.Alias = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateBuildInput type CreateBuildInput struct { @@ -5851,30 +5683,6 @@ func (s *CreateBuildInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *CreateBuildInput) SetName(v string) *CreateBuildInput { - s.Name = &v - return s -} - -// SetOperatingSystem sets the OperatingSystem field's value. -func (s *CreateBuildInput) SetOperatingSystem(v OperatingSystem) *CreateBuildInput { - s.OperatingSystem = v - return s -} - -// SetStorageLocation sets the StorageLocation field's value. -func (s *CreateBuildInput) SetStorageLocation(v *S3Location) *CreateBuildInput { - s.StorageLocation = v - return s -} - -// SetVersion sets the Version field's value. -func (s *CreateBuildInput) SetVersion(v string) *CreateBuildInput { - s.Version = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateBuildOutput type CreateBuildOutput struct { @@ -5907,24 +5715,6 @@ func (s CreateBuildOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBuild sets the Build field's value. -func (s *CreateBuildOutput) SetBuild(v *Build) *CreateBuildOutput { - s.Build = v - return s -} - -// SetStorageLocation sets the StorageLocation field's value. -func (s *CreateBuildOutput) SetStorageLocation(v *S3Location) *CreateBuildOutput { - s.StorageLocation = v - return s -} - -// SetUploadCredentials sets the UploadCredentials field's value. -func (s *CreateBuildOutput) SetUploadCredentials(v *AwsCredentials) *CreateBuildOutput { - s.UploadCredentials = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateFleetInput type CreateFleetInput struct { @@ -6088,90 +5878,6 @@ func (s *CreateFleetInput) Validate() error { return nil } -// SetBuildId sets the BuildId field's value. -func (s *CreateFleetInput) SetBuildId(v string) *CreateFleetInput { - s.BuildId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateFleetInput) SetDescription(v string) *CreateFleetInput { - s.Description = &v - return s -} - -// SetEC2InboundPermissions sets the EC2InboundPermissions field's value. -func (s *CreateFleetInput) SetEC2InboundPermissions(v []IpPermission) *CreateFleetInput { - s.EC2InboundPermissions = v - return s -} - -// SetEC2InstanceType sets the EC2InstanceType field's value. -func (s *CreateFleetInput) SetEC2InstanceType(v EC2InstanceType) *CreateFleetInput { - s.EC2InstanceType = v - return s -} - -// SetLogPaths sets the LogPaths field's value. -func (s *CreateFleetInput) SetLogPaths(v []string) *CreateFleetInput { - s.LogPaths = v - return s -} - -// SetMetricGroups sets the MetricGroups field's value. -func (s *CreateFleetInput) SetMetricGroups(v []string) *CreateFleetInput { - s.MetricGroups = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateFleetInput) SetName(v string) *CreateFleetInput { - s.Name = &v - return s -} - -// SetNewGameSessionProtectionPolicy sets the NewGameSessionProtectionPolicy field's value. -func (s *CreateFleetInput) SetNewGameSessionProtectionPolicy(v ProtectionPolicy) *CreateFleetInput { - s.NewGameSessionProtectionPolicy = v - return s -} - -// SetPeerVpcAwsAccountId sets the PeerVpcAwsAccountId field's value. -func (s *CreateFleetInput) SetPeerVpcAwsAccountId(v string) *CreateFleetInput { - s.PeerVpcAwsAccountId = &v - return s -} - -// SetPeerVpcId sets the PeerVpcId field's value. -func (s *CreateFleetInput) SetPeerVpcId(v string) *CreateFleetInput { - s.PeerVpcId = &v - return s -} - -// SetResourceCreationLimitPolicy sets the ResourceCreationLimitPolicy field's value. -func (s *CreateFleetInput) SetResourceCreationLimitPolicy(v *ResourceCreationLimitPolicy) *CreateFleetInput { - s.ResourceCreationLimitPolicy = v - return s -} - -// SetRuntimeConfiguration sets the RuntimeConfiguration field's value. -func (s *CreateFleetInput) SetRuntimeConfiguration(v *RuntimeConfiguration) *CreateFleetInput { - s.RuntimeConfiguration = v - return s -} - -// SetServerLaunchParameters sets the ServerLaunchParameters field's value. -func (s *CreateFleetInput) SetServerLaunchParameters(v string) *CreateFleetInput { - s.ServerLaunchParameters = &v - return s -} - -// SetServerLaunchPath sets the ServerLaunchPath field's value. -func (s *CreateFleetInput) SetServerLaunchPath(v string) *CreateFleetInput { - s.ServerLaunchPath = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateFleetOutput type CreateFleetOutput struct { @@ -6198,12 +5904,6 @@ func (s CreateFleetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFleetAttributes sets the FleetAttributes field's value. -func (s *CreateFleetOutput) SetFleetAttributes(v *FleetAttributes) *CreateFleetOutput { - s.FleetAttributes = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateGameSessionInput type CreateGameSessionInput struct { @@ -6309,60 +6009,6 @@ func (s *CreateGameSessionInput) Validate() error { return nil } -// SetAliasId sets the AliasId field's value. -func (s *CreateGameSessionInput) SetAliasId(v string) *CreateGameSessionInput { - s.AliasId = &v - return s -} - -// SetCreatorId sets the CreatorId field's value. -func (s *CreateGameSessionInput) SetCreatorId(v string) *CreateGameSessionInput { - s.CreatorId = &v - return s -} - -// SetFleetId sets the FleetId field's value. -func (s *CreateGameSessionInput) SetFleetId(v string) *CreateGameSessionInput { - s.FleetId = &v - return s -} - -// SetGameProperties sets the GameProperties field's value. -func (s *CreateGameSessionInput) SetGameProperties(v []GameProperty) *CreateGameSessionInput { - s.GameProperties = v - return s -} - -// SetGameSessionData sets the GameSessionData field's value. -func (s *CreateGameSessionInput) SetGameSessionData(v string) *CreateGameSessionInput { - s.GameSessionData = &v - return s -} - -// SetGameSessionId sets the GameSessionId field's value. -func (s *CreateGameSessionInput) SetGameSessionId(v string) *CreateGameSessionInput { - s.GameSessionId = &v - return s -} - -// SetIdempotencyToken sets the IdempotencyToken field's value. -func (s *CreateGameSessionInput) SetIdempotencyToken(v string) *CreateGameSessionInput { - s.IdempotencyToken = &v - return s -} - -// SetMaximumPlayerSessionCount sets the MaximumPlayerSessionCount field's value. -func (s *CreateGameSessionInput) SetMaximumPlayerSessionCount(v int64) *CreateGameSessionInput { - s.MaximumPlayerSessionCount = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateGameSessionInput) SetName(v string) *CreateGameSessionInput { - s.Name = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateGameSessionOutput type CreateGameSessionOutput struct { @@ -6389,12 +6035,6 @@ func (s CreateGameSessionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGameSession sets the GameSession field's value. -func (s *CreateGameSessionOutput) SetGameSession(v *GameSession) *CreateGameSessionOutput { - s.GameSession = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateGameSessionQueueInput type CreateGameSessionQueueInput struct { @@ -6463,30 +6103,6 @@ func (s *CreateGameSessionQueueInput) Validate() error { return nil } -// SetDestinations sets the Destinations field's value. -func (s *CreateGameSessionQueueInput) SetDestinations(v []GameSessionQueueDestination) *CreateGameSessionQueueInput { - s.Destinations = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateGameSessionQueueInput) SetName(v string) *CreateGameSessionQueueInput { - s.Name = &v - return s -} - -// SetPlayerLatencyPolicies sets the PlayerLatencyPolicies field's value. -func (s *CreateGameSessionQueueInput) SetPlayerLatencyPolicies(v []PlayerLatencyPolicy) *CreateGameSessionQueueInput { - s.PlayerLatencyPolicies = v - return s -} - -// SetTimeoutInSeconds sets the TimeoutInSeconds field's value. -func (s *CreateGameSessionQueueInput) SetTimeoutInSeconds(v int64) *CreateGameSessionQueueInput { - s.TimeoutInSeconds = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateGameSessionQueueOutput type CreateGameSessionQueueOutput struct { @@ -6513,12 +6129,6 @@ func (s CreateGameSessionQueueOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGameSessionQueue sets the GameSessionQueue field's value. -func (s *CreateGameSessionQueueOutput) SetGameSessionQueue(v *GameSessionQueue) *CreateGameSessionQueueOutput { - s.GameSessionQueue = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateMatchmakingConfigurationInput type CreateMatchmakingConfigurationInput struct { @@ -6660,78 +6270,6 @@ func (s *CreateMatchmakingConfigurationInput) Validate() error { return nil } -// SetAcceptanceRequired sets the AcceptanceRequired field's value. -func (s *CreateMatchmakingConfigurationInput) SetAcceptanceRequired(v bool) *CreateMatchmakingConfigurationInput { - s.AcceptanceRequired = &v - return s -} - -// SetAcceptanceTimeoutSeconds sets the AcceptanceTimeoutSeconds field's value. -func (s *CreateMatchmakingConfigurationInput) SetAcceptanceTimeoutSeconds(v int64) *CreateMatchmakingConfigurationInput { - s.AcceptanceTimeoutSeconds = &v - return s -} - -// SetAdditionalPlayerCount sets the AdditionalPlayerCount field's value. -func (s *CreateMatchmakingConfigurationInput) SetAdditionalPlayerCount(v int64) *CreateMatchmakingConfigurationInput { - s.AdditionalPlayerCount = &v - return s -} - -// SetCustomEventData sets the CustomEventData field's value. -func (s *CreateMatchmakingConfigurationInput) SetCustomEventData(v string) *CreateMatchmakingConfigurationInput { - s.CustomEventData = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateMatchmakingConfigurationInput) SetDescription(v string) *CreateMatchmakingConfigurationInput { - s.Description = &v - return s -} - -// SetGameProperties sets the GameProperties field's value. -func (s *CreateMatchmakingConfigurationInput) SetGameProperties(v []GameProperty) *CreateMatchmakingConfigurationInput { - s.GameProperties = v - return s -} - -// SetGameSessionData sets the GameSessionData field's value. -func (s *CreateMatchmakingConfigurationInput) SetGameSessionData(v string) *CreateMatchmakingConfigurationInput { - s.GameSessionData = &v - return s -} - -// SetGameSessionQueueArns sets the GameSessionQueueArns field's value. -func (s *CreateMatchmakingConfigurationInput) SetGameSessionQueueArns(v []string) *CreateMatchmakingConfigurationInput { - s.GameSessionQueueArns = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateMatchmakingConfigurationInput) SetName(v string) *CreateMatchmakingConfigurationInput { - s.Name = &v - return s -} - -// SetNotificationTarget sets the NotificationTarget field's value. -func (s *CreateMatchmakingConfigurationInput) SetNotificationTarget(v string) *CreateMatchmakingConfigurationInput { - s.NotificationTarget = &v - return s -} - -// SetRequestTimeoutSeconds sets the RequestTimeoutSeconds field's value. -func (s *CreateMatchmakingConfigurationInput) SetRequestTimeoutSeconds(v int64) *CreateMatchmakingConfigurationInput { - s.RequestTimeoutSeconds = &v - return s -} - -// SetRuleSetName sets the RuleSetName field's value. -func (s *CreateMatchmakingConfigurationInput) SetRuleSetName(v string) *CreateMatchmakingConfigurationInput { - s.RuleSetName = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateMatchmakingConfigurationOutput type CreateMatchmakingConfigurationOutput struct { @@ -6758,12 +6296,6 @@ func (s CreateMatchmakingConfigurationOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetConfiguration sets the Configuration field's value. -func (s *CreateMatchmakingConfigurationOutput) SetConfiguration(v *MatchmakingConfiguration) *CreateMatchmakingConfigurationOutput { - s.Configuration = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateMatchmakingRuleSetInput type CreateMatchmakingRuleSetInput struct { @@ -6816,18 +6348,6 @@ func (s *CreateMatchmakingRuleSetInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *CreateMatchmakingRuleSetInput) SetName(v string) *CreateMatchmakingRuleSetInput { - s.Name = &v - return s -} - -// SetRuleSetBody sets the RuleSetBody field's value. -func (s *CreateMatchmakingRuleSetInput) SetRuleSetBody(v string) *CreateMatchmakingRuleSetInput { - s.RuleSetBody = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateMatchmakingRuleSetOutput type CreateMatchmakingRuleSetOutput struct { @@ -6856,12 +6376,6 @@ func (s CreateMatchmakingRuleSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRuleSet sets the RuleSet field's value. -func (s *CreateMatchmakingRuleSetOutput) SetRuleSet(v *MatchmakingRuleSet) *CreateMatchmakingRuleSetOutput { - s.RuleSet = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreatePlayerSessionInput type CreatePlayerSessionInput struct { @@ -6919,24 +6433,6 @@ func (s *CreatePlayerSessionInput) Validate() error { return nil } -// SetGameSessionId sets the GameSessionId field's value. -func (s *CreatePlayerSessionInput) SetGameSessionId(v string) *CreatePlayerSessionInput { - s.GameSessionId = &v - return s -} - -// SetPlayerData sets the PlayerData field's value. -func (s *CreatePlayerSessionInput) SetPlayerData(v string) *CreatePlayerSessionInput { - s.PlayerData = &v - return s -} - -// SetPlayerId sets the PlayerId field's value. -func (s *CreatePlayerSessionInput) SetPlayerId(v string) *CreatePlayerSessionInput { - s.PlayerId = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreatePlayerSessionOutput type CreatePlayerSessionOutput struct { @@ -6963,12 +6459,6 @@ func (s CreatePlayerSessionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPlayerSession sets the PlayerSession field's value. -func (s *CreatePlayerSessionOutput) SetPlayerSession(v *PlayerSession) *CreatePlayerSessionOutput { - s.PlayerSession = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreatePlayerSessionsInput type CreatePlayerSessionsInput struct { @@ -7025,24 +6515,6 @@ func (s *CreatePlayerSessionsInput) Validate() error { return nil } -// SetGameSessionId sets the GameSessionId field's value. -func (s *CreatePlayerSessionsInput) SetGameSessionId(v string) *CreatePlayerSessionsInput { - s.GameSessionId = &v - return s -} - -// SetPlayerDataMap sets the PlayerDataMap field's value. -func (s *CreatePlayerSessionsInput) SetPlayerDataMap(v map[string]string) *CreatePlayerSessionsInput { - s.PlayerDataMap = v - return s -} - -// SetPlayerIds sets the PlayerIds field's value. -func (s *CreatePlayerSessionsInput) SetPlayerIds(v []string) *CreatePlayerSessionsInput { - s.PlayerIds = v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreatePlayerSessionsOutput type CreatePlayerSessionsOutput struct { @@ -7069,12 +6541,6 @@ func (s CreatePlayerSessionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPlayerSessions sets the PlayerSessions field's value. -func (s *CreatePlayerSessionsOutput) SetPlayerSessions(v []PlayerSession) *CreatePlayerSessionsOutput { - s.PlayerSessions = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateVpcPeeringAuthorizationInput type CreateVpcPeeringAuthorizationInput struct { @@ -7130,18 +6596,6 @@ func (s *CreateVpcPeeringAuthorizationInput) Validate() error { return nil } -// SetGameLiftAwsAccountId sets the GameLiftAwsAccountId field's value. -func (s *CreateVpcPeeringAuthorizationInput) SetGameLiftAwsAccountId(v string) *CreateVpcPeeringAuthorizationInput { - s.GameLiftAwsAccountId = &v - return s -} - -// SetPeerVpcId sets the PeerVpcId field's value. -func (s *CreateVpcPeeringAuthorizationInput) SetPeerVpcId(v string) *CreateVpcPeeringAuthorizationInput { - s.PeerVpcId = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateVpcPeeringAuthorizationOutput type CreateVpcPeeringAuthorizationOutput struct { @@ -7168,12 +6622,6 @@ func (s CreateVpcPeeringAuthorizationOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetVpcPeeringAuthorization sets the VpcPeeringAuthorization field's value. -func (s *CreateVpcPeeringAuthorizationOutput) SetVpcPeeringAuthorization(v *VpcPeeringAuthorization) *CreateVpcPeeringAuthorizationOutput { - s.VpcPeeringAuthorization = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateVpcPeeringConnectionInput type CreateVpcPeeringConnectionInput struct { @@ -7239,24 +6687,6 @@ func (s *CreateVpcPeeringConnectionInput) Validate() error { return nil } -// SetFleetId sets the FleetId field's value. -func (s *CreateVpcPeeringConnectionInput) SetFleetId(v string) *CreateVpcPeeringConnectionInput { - s.FleetId = &v - return s -} - -// SetPeerVpcAwsAccountId sets the PeerVpcAwsAccountId field's value. -func (s *CreateVpcPeeringConnectionInput) SetPeerVpcAwsAccountId(v string) *CreateVpcPeeringConnectionInput { - s.PeerVpcAwsAccountId = &v - return s -} - -// SetPeerVpcId sets the PeerVpcId field's value. -func (s *CreateVpcPeeringConnectionInput) SetPeerVpcId(v string) *CreateVpcPeeringConnectionInput { - s.PeerVpcId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateVpcPeeringConnectionOutput type CreateVpcPeeringConnectionOutput struct { _ struct{} `type:"structure"` @@ -7314,12 +6744,6 @@ func (s *DeleteAliasInput) Validate() error { return nil } -// SetAliasId sets the AliasId field's value. -func (s *DeleteAliasInput) SetAliasId(v string) *DeleteAliasInput { - s.AliasId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteAliasOutput type DeleteAliasOutput struct { _ struct{} `type:"structure"` @@ -7377,12 +6801,6 @@ func (s *DeleteBuildInput) Validate() error { return nil } -// SetBuildId sets the BuildId field's value. -func (s *DeleteBuildInput) SetBuildId(v string) *DeleteBuildInput { - s.BuildId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteBuildOutput type DeleteBuildOutput struct { _ struct{} `type:"structure"` @@ -7440,12 +6858,6 @@ func (s *DeleteFleetInput) Validate() error { return nil } -// SetFleetId sets the FleetId field's value. -func (s *DeleteFleetInput) SetFleetId(v string) *DeleteFleetInput { - s.FleetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteFleetOutput type DeleteFleetOutput struct { _ struct{} `type:"structure"` @@ -7507,12 +6919,6 @@ func (s *DeleteGameSessionQueueInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteGameSessionQueueInput) SetName(v string) *DeleteGameSessionQueueInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteGameSessionQueueOutput type DeleteGameSessionQueueOutput struct { _ struct{} `type:"structure"` @@ -7573,12 +6979,6 @@ func (s *DeleteMatchmakingConfigurationInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteMatchmakingConfigurationInput) SetName(v string) *DeleteMatchmakingConfigurationInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteMatchmakingConfigurationOutput type DeleteMatchmakingConfigurationOutput struct { _ struct{} `type:"structure"` @@ -7649,18 +7049,6 @@ func (s *DeleteScalingPolicyInput) Validate() error { return nil } -// SetFleetId sets the FleetId field's value. -func (s *DeleteScalingPolicyInput) SetFleetId(v string) *DeleteScalingPolicyInput { - s.FleetId = &v - return s -} - -// SetName sets the Name field's value. -func (s *DeleteScalingPolicyInput) SetName(v string) *DeleteScalingPolicyInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteScalingPolicyOutput type DeleteScalingPolicyOutput struct { _ struct{} `type:"structure"` @@ -7738,18 +7126,6 @@ func (s *DeleteVpcPeeringAuthorizationInput) Validate() error { return nil } -// SetGameLiftAwsAccountId sets the GameLiftAwsAccountId field's value. -func (s *DeleteVpcPeeringAuthorizationInput) SetGameLiftAwsAccountId(v string) *DeleteVpcPeeringAuthorizationInput { - s.GameLiftAwsAccountId = &v - return s -} - -// SetPeerVpcId sets the PeerVpcId field's value. -func (s *DeleteVpcPeeringAuthorizationInput) SetPeerVpcId(v string) *DeleteVpcPeeringAuthorizationInput { - s.PeerVpcId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteVpcPeeringAuthorizationOutput type DeleteVpcPeeringAuthorizationOutput struct { _ struct{} `type:"structure"` @@ -7821,18 +7197,6 @@ func (s *DeleteVpcPeeringConnectionInput) Validate() error { return nil } -// SetFleetId sets the FleetId field's value. -func (s *DeleteVpcPeeringConnectionInput) SetFleetId(v string) *DeleteVpcPeeringConnectionInput { - s.FleetId = &v - return s -} - -// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value. -func (s *DeleteVpcPeeringConnectionInput) SetVpcPeeringConnectionId(v string) *DeleteVpcPeeringConnectionInput { - s.VpcPeeringConnectionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteVpcPeeringConnectionOutput type DeleteVpcPeeringConnectionOutput struct { _ struct{} `type:"structure"` @@ -7890,12 +7254,6 @@ func (s *DescribeAliasInput) Validate() error { return nil } -// SetAliasId sets the AliasId field's value. -func (s *DescribeAliasInput) SetAliasId(v string) *DescribeAliasInput { - s.AliasId = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeAliasOutput type DescribeAliasOutput struct { @@ -7922,12 +7280,6 @@ func (s DescribeAliasOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAlias sets the Alias field's value. -func (s *DescribeAliasOutput) SetAlias(v *Alias) *DescribeAliasOutput { - s.Alias = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeBuildInput type DescribeBuildInput struct { @@ -7963,12 +7315,6 @@ func (s *DescribeBuildInput) Validate() error { return nil } -// SetBuildId sets the BuildId field's value. -func (s *DescribeBuildInput) SetBuildId(v string) *DescribeBuildInput { - s.BuildId = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeBuildOutput type DescribeBuildOutput struct { @@ -7995,12 +7341,6 @@ func (s DescribeBuildOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBuild sets the Build field's value. -func (s *DescribeBuildOutput) SetBuild(v *Build) *DescribeBuildOutput { - s.Build = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeEC2InstanceLimitsInput type DescribeEC2InstanceLimitsInput struct { @@ -8025,12 +7365,6 @@ func (s DescribeEC2InstanceLimitsInput) GoString() string { return s.String() } -// SetEC2InstanceType sets the EC2InstanceType field's value. -func (s *DescribeEC2InstanceLimitsInput) SetEC2InstanceType(v EC2InstanceType) *DescribeEC2InstanceLimitsInput { - s.EC2InstanceType = v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeEC2InstanceLimitsOutput type DescribeEC2InstanceLimitsOutput struct { @@ -8058,12 +7392,6 @@ func (s DescribeEC2InstanceLimitsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEC2InstanceLimits sets the EC2InstanceLimits field's value. -func (s *DescribeEC2InstanceLimitsOutput) SetEC2InstanceLimits(v []EC2InstanceLimit) *DescribeEC2InstanceLimitsOutput { - s.EC2InstanceLimits = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetAttributesInput type DescribeFleetAttributesInput struct { @@ -8114,24 +7442,6 @@ func (s *DescribeFleetAttributesInput) Validate() error { return nil } -// SetFleetIds sets the FleetIds field's value. -func (s *DescribeFleetAttributesInput) SetFleetIds(v []string) *DescribeFleetAttributesInput { - s.FleetIds = v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeFleetAttributesInput) SetLimit(v int64) *DescribeFleetAttributesInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeFleetAttributesInput) SetNextToken(v string) *DescribeFleetAttributesInput { - s.NextToken = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetAttributesOutput type DescribeFleetAttributesOutput struct { @@ -8164,18 +7474,6 @@ func (s DescribeFleetAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFleetAttributes sets the FleetAttributes field's value. -func (s *DescribeFleetAttributesOutput) SetFleetAttributes(v []FleetAttributes) *DescribeFleetAttributesOutput { - s.FleetAttributes = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeFleetAttributesOutput) SetNextToken(v string) *DescribeFleetAttributesOutput { - s.NextToken = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetCapacityInput type DescribeFleetCapacityInput struct { @@ -8226,24 +7524,6 @@ func (s *DescribeFleetCapacityInput) Validate() error { return nil } -// SetFleetIds sets the FleetIds field's value. -func (s *DescribeFleetCapacityInput) SetFleetIds(v []string) *DescribeFleetCapacityInput { - s.FleetIds = v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeFleetCapacityInput) SetLimit(v int64) *DescribeFleetCapacityInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeFleetCapacityInput) SetNextToken(v string) *DescribeFleetCapacityInput { - s.NextToken = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetCapacityOutput type DescribeFleetCapacityOutput struct { @@ -8277,18 +7557,6 @@ func (s DescribeFleetCapacityOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFleetCapacity sets the FleetCapacity field's value. -func (s *DescribeFleetCapacityOutput) SetFleetCapacity(v []FleetCapacity) *DescribeFleetCapacityOutput { - s.FleetCapacity = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeFleetCapacityOutput) SetNextToken(v string) *DescribeFleetCapacityOutput { - s.NextToken = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetEventsInput type DescribeFleetEventsInput struct { @@ -8350,36 +7618,6 @@ func (s *DescribeFleetEventsInput) Validate() error { return nil } -// SetEndTime sets the EndTime field's value. -func (s *DescribeFleetEventsInput) SetEndTime(v time.Time) *DescribeFleetEventsInput { - s.EndTime = &v - return s -} - -// SetFleetId sets the FleetId field's value. -func (s *DescribeFleetEventsInput) SetFleetId(v string) *DescribeFleetEventsInput { - s.FleetId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeFleetEventsInput) SetLimit(v int64) *DescribeFleetEventsInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeFleetEventsInput) SetNextToken(v string) *DescribeFleetEventsInput { - s.NextToken = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *DescribeFleetEventsInput) SetStartTime(v time.Time) *DescribeFleetEventsInput { - s.StartTime = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetEventsOutput type DescribeFleetEventsOutput struct { @@ -8411,18 +7649,6 @@ func (s DescribeFleetEventsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEvents sets the Events field's value. -func (s *DescribeFleetEventsOutput) SetEvents(v []Event) *DescribeFleetEventsOutput { - s.Events = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeFleetEventsOutput) SetNextToken(v string) *DescribeFleetEventsOutput { - s.NextToken = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetPortSettingsInput type DescribeFleetPortSettingsInput struct { @@ -8458,12 +7684,6 @@ func (s *DescribeFleetPortSettingsInput) Validate() error { return nil } -// SetFleetId sets the FleetId field's value. -func (s *DescribeFleetPortSettingsInput) SetFleetId(v string) *DescribeFleetPortSettingsInput { - s.FleetId = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetPortSettingsOutput type DescribeFleetPortSettingsOutput struct { @@ -8490,12 +7710,6 @@ func (s DescribeFleetPortSettingsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInboundPermissions sets the InboundPermissions field's value. -func (s *DescribeFleetPortSettingsOutput) SetInboundPermissions(v []IpPermission) *DescribeFleetPortSettingsOutput { - s.InboundPermissions = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetUtilizationInput type DescribeFleetUtilizationInput struct { @@ -8546,24 +7760,6 @@ func (s *DescribeFleetUtilizationInput) Validate() error { return nil } -// SetFleetIds sets the FleetIds field's value. -func (s *DescribeFleetUtilizationInput) SetFleetIds(v []string) *DescribeFleetUtilizationInput { - s.FleetIds = v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeFleetUtilizationInput) SetLimit(v int64) *DescribeFleetUtilizationInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeFleetUtilizationInput) SetNextToken(v string) *DescribeFleetUtilizationInput { - s.NextToken = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetUtilizationOutput type DescribeFleetUtilizationOutput struct { @@ -8596,18 +7792,6 @@ func (s DescribeFleetUtilizationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFleetUtilization sets the FleetUtilization field's value. -func (s *DescribeFleetUtilizationOutput) SetFleetUtilization(v []FleetUtilization) *DescribeFleetUtilizationOutput { - s.FleetUtilization = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeFleetUtilizationOutput) SetNextToken(v string) *DescribeFleetUtilizationOutput { - s.NextToken = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameSessionDetailsInput type DescribeGameSessionDetailsInput struct { @@ -8671,42 +7855,6 @@ func (s *DescribeGameSessionDetailsInput) Validate() error { return nil } -// SetAliasId sets the AliasId field's value. -func (s *DescribeGameSessionDetailsInput) SetAliasId(v string) *DescribeGameSessionDetailsInput { - s.AliasId = &v - return s -} - -// SetFleetId sets the FleetId field's value. -func (s *DescribeGameSessionDetailsInput) SetFleetId(v string) *DescribeGameSessionDetailsInput { - s.FleetId = &v - return s -} - -// SetGameSessionId sets the GameSessionId field's value. -func (s *DescribeGameSessionDetailsInput) SetGameSessionId(v string) *DescribeGameSessionDetailsInput { - s.GameSessionId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeGameSessionDetailsInput) SetLimit(v int64) *DescribeGameSessionDetailsInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeGameSessionDetailsInput) SetNextToken(v string) *DescribeGameSessionDetailsInput { - s.NextToken = &v - return s -} - -// SetStatusFilter sets the StatusFilter field's value. -func (s *DescribeGameSessionDetailsInput) SetStatusFilter(v string) *DescribeGameSessionDetailsInput { - s.StatusFilter = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameSessionDetailsOutput type DescribeGameSessionDetailsOutput struct { @@ -8739,18 +7887,6 @@ func (s DescribeGameSessionDetailsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGameSessionDetails sets the GameSessionDetails field's value. -func (s *DescribeGameSessionDetailsOutput) SetGameSessionDetails(v []GameSessionDetail) *DescribeGameSessionDetailsOutput { - s.GameSessionDetails = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeGameSessionDetailsOutput) SetNextToken(v string) *DescribeGameSessionDetailsOutput { - s.NextToken = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameSessionPlacementInput type DescribeGameSessionPlacementInput struct { @@ -8789,12 +7925,6 @@ func (s *DescribeGameSessionPlacementInput) Validate() error { return nil } -// SetPlacementId sets the PlacementId field's value. -func (s *DescribeGameSessionPlacementInput) SetPlacementId(v string) *DescribeGameSessionPlacementInput { - s.PlacementId = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameSessionPlacementOutput type DescribeGameSessionPlacementOutput struct { @@ -8821,12 +7951,6 @@ func (s DescribeGameSessionPlacementOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGameSessionPlacement sets the GameSessionPlacement field's value. -func (s *DescribeGameSessionPlacementOutput) SetGameSessionPlacement(v *GameSessionPlacement) *DescribeGameSessionPlacementOutput { - s.GameSessionPlacement = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameSessionQueuesInput type DescribeGameSessionQueuesInput struct { @@ -8872,24 +7996,6 @@ func (s *DescribeGameSessionQueuesInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *DescribeGameSessionQueuesInput) SetLimit(v int64) *DescribeGameSessionQueuesInput { - s.Limit = &v - return s -} - -// SetNames sets the Names field's value. -func (s *DescribeGameSessionQueuesInput) SetNames(v []string) *DescribeGameSessionQueuesInput { - s.Names = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeGameSessionQueuesInput) SetNextToken(v string) *DescribeGameSessionQueuesInput { - s.NextToken = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameSessionQueuesOutput type DescribeGameSessionQueuesOutput struct { @@ -8921,18 +8027,6 @@ func (s DescribeGameSessionQueuesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGameSessionQueues sets the GameSessionQueues field's value. -func (s *DescribeGameSessionQueuesOutput) SetGameSessionQueues(v []GameSessionQueue) *DescribeGameSessionQueuesOutput { - s.GameSessionQueues = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeGameSessionQueuesOutput) SetNextToken(v string) *DescribeGameSessionQueuesOutput { - s.NextToken = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameSessionsInput type DescribeGameSessionsInput struct { @@ -8996,42 +8090,6 @@ func (s *DescribeGameSessionsInput) Validate() error { return nil } -// SetAliasId sets the AliasId field's value. -func (s *DescribeGameSessionsInput) SetAliasId(v string) *DescribeGameSessionsInput { - s.AliasId = &v - return s -} - -// SetFleetId sets the FleetId field's value. -func (s *DescribeGameSessionsInput) SetFleetId(v string) *DescribeGameSessionsInput { - s.FleetId = &v - return s -} - -// SetGameSessionId sets the GameSessionId field's value. -func (s *DescribeGameSessionsInput) SetGameSessionId(v string) *DescribeGameSessionsInput { - s.GameSessionId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeGameSessionsInput) SetLimit(v int64) *DescribeGameSessionsInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeGameSessionsInput) SetNextToken(v string) *DescribeGameSessionsInput { - s.NextToken = &v - return s -} - -// SetStatusFilter sets the StatusFilter field's value. -func (s *DescribeGameSessionsInput) SetStatusFilter(v string) *DescribeGameSessionsInput { - s.StatusFilter = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameSessionsOutput type DescribeGameSessionsOutput struct { @@ -9064,18 +8122,6 @@ func (s DescribeGameSessionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGameSessions sets the GameSessions field's value. -func (s *DescribeGameSessionsOutput) SetGameSessions(v []GameSession) *DescribeGameSessionsOutput { - s.GameSessions = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeGameSessionsOutput) SetNextToken(v string) *DescribeGameSessionsOutput { - s.NextToken = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeInstancesInput type DescribeInstancesInput struct { @@ -9130,30 +8176,6 @@ func (s *DescribeInstancesInput) Validate() error { return nil } -// SetFleetId sets the FleetId field's value. -func (s *DescribeInstancesInput) SetFleetId(v string) *DescribeInstancesInput { - s.FleetId = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *DescribeInstancesInput) SetInstanceId(v string) *DescribeInstancesInput { - s.InstanceId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeInstancesInput) SetLimit(v int64) *DescribeInstancesInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeInstancesInput) SetNextToken(v string) *DescribeInstancesInput { - s.NextToken = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeInstancesOutput type DescribeInstancesOutput struct { @@ -9185,18 +8207,6 @@ func (s DescribeInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstances sets the Instances field's value. -func (s *DescribeInstancesOutput) SetInstances(v []Instance) *DescribeInstancesOutput { - s.Instances = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeInstancesOutput) SetNextToken(v string) *DescribeInstancesOutput { - s.NextToken = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeMatchmakingConfigurationsInput type DescribeMatchmakingConfigurationsInput struct { @@ -9249,30 +8259,6 @@ func (s *DescribeMatchmakingConfigurationsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *DescribeMatchmakingConfigurationsInput) SetLimit(v int64) *DescribeMatchmakingConfigurationsInput { - s.Limit = &v - return s -} - -// SetNames sets the Names field's value. -func (s *DescribeMatchmakingConfigurationsInput) SetNames(v []string) *DescribeMatchmakingConfigurationsInput { - s.Names = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeMatchmakingConfigurationsInput) SetNextToken(v string) *DescribeMatchmakingConfigurationsInput { - s.NextToken = &v - return s -} - -// SetRuleSetName sets the RuleSetName field's value. -func (s *DescribeMatchmakingConfigurationsInput) SetRuleSetName(v string) *DescribeMatchmakingConfigurationsInput { - s.RuleSetName = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeMatchmakingConfigurationsOutput type DescribeMatchmakingConfigurationsOutput struct { @@ -9304,18 +8290,6 @@ func (s DescribeMatchmakingConfigurationsOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetConfigurations sets the Configurations field's value. -func (s *DescribeMatchmakingConfigurationsOutput) SetConfigurations(v []MatchmakingConfiguration) *DescribeMatchmakingConfigurationsOutput { - s.Configurations = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeMatchmakingConfigurationsOutput) SetNextToken(v string) *DescribeMatchmakingConfigurationsOutput { - s.NextToken = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeMatchmakingInput type DescribeMatchmakingInput struct { @@ -9352,12 +8326,6 @@ func (s *DescribeMatchmakingInput) Validate() error { return nil } -// SetTicketIds sets the TicketIds field's value. -func (s *DescribeMatchmakingInput) SetTicketIds(v []string) *DescribeMatchmakingInput { - s.TicketIds = v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeMatchmakingOutput type DescribeMatchmakingOutput struct { @@ -9384,12 +8352,6 @@ func (s DescribeMatchmakingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTicketList sets the TicketList field's value. -func (s *DescribeMatchmakingOutput) SetTicketList(v []MatchmakingTicket) *DescribeMatchmakingOutput { - s.TicketList = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeMatchmakingRuleSetsInput type DescribeMatchmakingRuleSetsInput struct { @@ -9438,24 +8400,6 @@ func (s *DescribeMatchmakingRuleSetsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *DescribeMatchmakingRuleSetsInput) SetLimit(v int64) *DescribeMatchmakingRuleSetsInput { - s.Limit = &v - return s -} - -// SetNames sets the Names field's value. -func (s *DescribeMatchmakingRuleSetsInput) SetNames(v []string) *DescribeMatchmakingRuleSetsInput { - s.Names = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeMatchmakingRuleSetsInput) SetNextToken(v string) *DescribeMatchmakingRuleSetsInput { - s.NextToken = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeMatchmakingRuleSetsOutput type DescribeMatchmakingRuleSetsOutput struct { @@ -9489,18 +8433,6 @@ func (s DescribeMatchmakingRuleSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeMatchmakingRuleSetsOutput) SetNextToken(v string) *DescribeMatchmakingRuleSetsOutput { - s.NextToken = &v - return s -} - -// SetRuleSets sets the RuleSets field's value. -func (s *DescribeMatchmakingRuleSetsOutput) SetRuleSets(v []MatchmakingRuleSet) *DescribeMatchmakingRuleSetsOutput { - s.RuleSets = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribePlayerSessionsInput type DescribePlayerSessionsInput struct { @@ -9578,42 +8510,6 @@ func (s *DescribePlayerSessionsInput) Validate() error { return nil } -// SetGameSessionId sets the GameSessionId field's value. -func (s *DescribePlayerSessionsInput) SetGameSessionId(v string) *DescribePlayerSessionsInput { - s.GameSessionId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribePlayerSessionsInput) SetLimit(v int64) *DescribePlayerSessionsInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribePlayerSessionsInput) SetNextToken(v string) *DescribePlayerSessionsInput { - s.NextToken = &v - return s -} - -// SetPlayerId sets the PlayerId field's value. -func (s *DescribePlayerSessionsInput) SetPlayerId(v string) *DescribePlayerSessionsInput { - s.PlayerId = &v - return s -} - -// SetPlayerSessionId sets the PlayerSessionId field's value. -func (s *DescribePlayerSessionsInput) SetPlayerSessionId(v string) *DescribePlayerSessionsInput { - s.PlayerSessionId = &v - return s -} - -// SetPlayerSessionStatusFilter sets the PlayerSessionStatusFilter field's value. -func (s *DescribePlayerSessionsInput) SetPlayerSessionStatusFilter(v string) *DescribePlayerSessionsInput { - s.PlayerSessionStatusFilter = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribePlayerSessionsOutput type DescribePlayerSessionsOutput struct { @@ -9646,18 +8542,6 @@ func (s DescribePlayerSessionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribePlayerSessionsOutput) SetNextToken(v string) *DescribePlayerSessionsOutput { - s.NextToken = &v - return s -} - -// SetPlayerSessions sets the PlayerSessions field's value. -func (s *DescribePlayerSessionsOutput) SetPlayerSessions(v []PlayerSession) *DescribePlayerSessionsOutput { - s.PlayerSessions = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeRuntimeConfigurationInput type DescribeRuntimeConfigurationInput struct { @@ -9693,12 +8577,6 @@ func (s *DescribeRuntimeConfigurationInput) Validate() error { return nil } -// SetFleetId sets the FleetId field's value. -func (s *DescribeRuntimeConfigurationInput) SetFleetId(v string) *DescribeRuntimeConfigurationInput { - s.FleetId = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeRuntimeConfigurationOutput type DescribeRuntimeConfigurationOutput struct { @@ -9726,12 +8604,6 @@ func (s DescribeRuntimeConfigurationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRuntimeConfiguration sets the RuntimeConfiguration field's value. -func (s *DescribeRuntimeConfigurationOutput) SetRuntimeConfiguration(v *RuntimeConfiguration) *DescribeRuntimeConfigurationOutput { - s.RuntimeConfiguration = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeScalingPoliciesInput type DescribeScalingPoliciesInput struct { @@ -9801,30 +8673,6 @@ func (s *DescribeScalingPoliciesInput) Validate() error { return nil } -// SetFleetId sets the FleetId field's value. -func (s *DescribeScalingPoliciesInput) SetFleetId(v string) *DescribeScalingPoliciesInput { - s.FleetId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeScalingPoliciesInput) SetLimit(v int64) *DescribeScalingPoliciesInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeScalingPoliciesInput) SetNextToken(v string) *DescribeScalingPoliciesInput { - s.NextToken = &v - return s -} - -// SetStatusFilter sets the StatusFilter field's value. -func (s *DescribeScalingPoliciesInput) SetStatusFilter(v ScalingStatusType) *DescribeScalingPoliciesInput { - s.StatusFilter = v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeScalingPoliciesOutput type DescribeScalingPoliciesOutput struct { @@ -9856,18 +8704,6 @@ func (s DescribeScalingPoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeScalingPoliciesOutput) SetNextToken(v string) *DescribeScalingPoliciesOutput { - s.NextToken = &v - return s -} - -// SetScalingPolicies sets the ScalingPolicies field's value. -func (s *DescribeScalingPoliciesOutput) SetScalingPolicies(v []ScalingPolicy) *DescribeScalingPoliciesOutput { - s.ScalingPolicies = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeVpcPeeringAuthorizationsInput type DescribeVpcPeeringAuthorizationsInput struct { _ struct{} `type:"structure"` @@ -9909,12 +8745,6 @@ func (s DescribeVpcPeeringAuthorizationsOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetVpcPeeringAuthorizations sets the VpcPeeringAuthorizations field's value. -func (s *DescribeVpcPeeringAuthorizationsOutput) SetVpcPeeringAuthorizations(v []VpcPeeringAuthorization) *DescribeVpcPeeringAuthorizationsOutput { - s.VpcPeeringAuthorizations = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeVpcPeeringConnectionsInput type DescribeVpcPeeringConnectionsInput struct { @@ -9934,12 +8764,6 @@ func (s DescribeVpcPeeringConnectionsInput) GoString() string { return s.String() } -// SetFleetId sets the FleetId field's value. -func (s *DescribeVpcPeeringConnectionsInput) SetFleetId(v string) *DescribeVpcPeeringConnectionsInput { - s.FleetId = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeVpcPeeringConnectionsOutput type DescribeVpcPeeringConnectionsOutput struct { @@ -9966,12 +8790,6 @@ func (s DescribeVpcPeeringConnectionsOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetVpcPeeringConnections sets the VpcPeeringConnections field's value. -func (s *DescribeVpcPeeringConnectionsOutput) SetVpcPeeringConnections(v []VpcPeeringConnection) *DescribeVpcPeeringConnectionsOutput { - s.VpcPeeringConnections = v - return s -} - // Player information for use when creating player sessions using a game session // placement request with StartGameSessionPlacement. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DesiredPlayerSession @@ -10012,18 +8830,6 @@ func (s *DesiredPlayerSession) Validate() error { return nil } -// SetPlayerData sets the PlayerData field's value. -func (s *DesiredPlayerSession) SetPlayerData(v string) *DesiredPlayerSession { - s.PlayerData = &v - return s -} - -// SetPlayerId sets the PlayerId field's value. -func (s *DesiredPlayerSession) SetPlayerId(v string) *DesiredPlayerSession { - s.PlayerId = &v - return s -} - // Current status of fleet capacity. The number of active instances should match // or be in the process of matching the number of desired instances. Pending // and terminating counts are non-zero only if fleet capacity is adjusting to @@ -10111,48 +8917,6 @@ func (s EC2InstanceCounts) GoString() string { return s.String() } -// SetACTIVE sets the ACTIVE field's value. -func (s *EC2InstanceCounts) SetACTIVE(v int64) *EC2InstanceCounts { - s.ACTIVE = &v - return s -} - -// SetDESIRED sets the DESIRED field's value. -func (s *EC2InstanceCounts) SetDESIRED(v int64) *EC2InstanceCounts { - s.DESIRED = &v - return s -} - -// SetIDLE sets the IDLE field's value. -func (s *EC2InstanceCounts) SetIDLE(v int64) *EC2InstanceCounts { - s.IDLE = &v - return s -} - -// SetMAXIMUM sets the MAXIMUM field's value. -func (s *EC2InstanceCounts) SetMAXIMUM(v int64) *EC2InstanceCounts { - s.MAXIMUM = &v - return s -} - -// SetMINIMUM sets the MINIMUM field's value. -func (s *EC2InstanceCounts) SetMINIMUM(v int64) *EC2InstanceCounts { - s.MINIMUM = &v - return s -} - -// SetPENDING sets the PENDING field's value. -func (s *EC2InstanceCounts) SetPENDING(v int64) *EC2InstanceCounts { - s.PENDING = &v - return s -} - -// SetTERMINATING sets the TERMINATING field's value. -func (s *EC2InstanceCounts) SetTERMINATING(v int64) *EC2InstanceCounts { - s.TERMINATING = &v - return s -} - // Maximum number of instances allowed based on the Amazon Elastic Compute Cloud // (Amazon EC2) instance type. Instance limits can be retrieved by calling DescribeEC2InstanceLimits. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/EC2InstanceLimit @@ -10184,24 +8948,6 @@ func (s EC2InstanceLimit) GoString() string { return s.String() } -// SetCurrentInstances sets the CurrentInstances field's value. -func (s *EC2InstanceLimit) SetCurrentInstances(v int64) *EC2InstanceLimit { - s.CurrentInstances = &v - return s -} - -// SetEC2InstanceType sets the EC2InstanceType field's value. -func (s *EC2InstanceLimit) SetEC2InstanceType(v EC2InstanceType) *EC2InstanceLimit { - s.EC2InstanceType = v - return s -} - -// SetInstanceLimit sets the InstanceLimit field's value. -func (s *EC2InstanceLimit) SetInstanceLimit(v int64) *EC2InstanceLimit { - s.InstanceLimit = &v - return s -} - // Log entry describing an event that involves Amazon GameLift resources (such // as a fleet). In addition to tracking activity, event codes and messages can // provide additional information for troubleshooting and debugging problems. @@ -10332,42 +9078,6 @@ func (s Event) GoString() string { return s.String() } -// SetEventCode sets the EventCode field's value. -func (s *Event) SetEventCode(v EventCode) *Event { - s.EventCode = v - return s -} - -// SetEventId sets the EventId field's value. -func (s *Event) SetEventId(v string) *Event { - s.EventId = &v - return s -} - -// SetEventTime sets the EventTime field's value. -func (s *Event) SetEventTime(v time.Time) *Event { - s.EventTime = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *Event) SetMessage(v string) *Event { - s.Message = &v - return s -} - -// SetPreSignedLogUrl sets the PreSignedLogUrl field's value. -func (s *Event) SetPreSignedLogUrl(v string) *Event { - s.PreSignedLogUrl = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *Event) SetResourceId(v string) *Event { - s.ResourceId = &v - return s -} - // General properties describing a fleet. // // Fleet-related operations include: @@ -10518,96 +9228,6 @@ func (s FleetAttributes) GoString() string { return s.String() } -// SetBuildId sets the BuildId field's value. -func (s *FleetAttributes) SetBuildId(v string) *FleetAttributes { - s.BuildId = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *FleetAttributes) SetCreationTime(v time.Time) *FleetAttributes { - s.CreationTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *FleetAttributes) SetDescription(v string) *FleetAttributes { - s.Description = &v - return s -} - -// SetFleetArn sets the FleetArn field's value. -func (s *FleetAttributes) SetFleetArn(v string) *FleetAttributes { - s.FleetArn = &v - return s -} - -// SetFleetId sets the FleetId field's value. -func (s *FleetAttributes) SetFleetId(v string) *FleetAttributes { - s.FleetId = &v - return s -} - -// SetLogPaths sets the LogPaths field's value. -func (s *FleetAttributes) SetLogPaths(v []string) *FleetAttributes { - s.LogPaths = v - return s -} - -// SetMetricGroups sets the MetricGroups field's value. -func (s *FleetAttributes) SetMetricGroups(v []string) *FleetAttributes { - s.MetricGroups = v - return s -} - -// SetName sets the Name field's value. -func (s *FleetAttributes) SetName(v string) *FleetAttributes { - s.Name = &v - return s -} - -// SetNewGameSessionProtectionPolicy sets the NewGameSessionProtectionPolicy field's value. -func (s *FleetAttributes) SetNewGameSessionProtectionPolicy(v ProtectionPolicy) *FleetAttributes { - s.NewGameSessionProtectionPolicy = v - return s -} - -// SetOperatingSystem sets the OperatingSystem field's value. -func (s *FleetAttributes) SetOperatingSystem(v OperatingSystem) *FleetAttributes { - s.OperatingSystem = v - return s -} - -// SetResourceCreationLimitPolicy sets the ResourceCreationLimitPolicy field's value. -func (s *FleetAttributes) SetResourceCreationLimitPolicy(v *ResourceCreationLimitPolicy) *FleetAttributes { - s.ResourceCreationLimitPolicy = v - return s -} - -// SetServerLaunchParameters sets the ServerLaunchParameters field's value. -func (s *FleetAttributes) SetServerLaunchParameters(v string) *FleetAttributes { - s.ServerLaunchParameters = &v - return s -} - -// SetServerLaunchPath sets the ServerLaunchPath field's value. -func (s *FleetAttributes) SetServerLaunchPath(v string) *FleetAttributes { - s.ServerLaunchPath = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *FleetAttributes) SetStatus(v FleetStatus) *FleetAttributes { - s.Status = v - return s -} - -// SetTerminationTime sets the TerminationTime field's value. -func (s *FleetAttributes) SetTerminationTime(v time.Time) *FleetAttributes { - s.TerminationTime = &v - return s -} - // Information about the fleet's capacity. Fleet capacity is measured in EC2 // instances. By default, new fleets have a capacity of one instance, but can // be updated as needed. The maximum number of instances for a fleet is determined @@ -10684,24 +9304,6 @@ func (s FleetCapacity) GoString() string { return s.String() } -// SetFleetId sets the FleetId field's value. -func (s *FleetCapacity) SetFleetId(v string) *FleetCapacity { - s.FleetId = &v - return s -} - -// SetInstanceCounts sets the InstanceCounts field's value. -func (s *FleetCapacity) SetInstanceCounts(v *EC2InstanceCounts) *FleetCapacity { - s.InstanceCounts = v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *FleetCapacity) SetInstanceType(v EC2InstanceType) *FleetCapacity { - s.InstanceType = v - return s -} - // Current status of fleet utilization, including the number of game and player // sessions being hosted. // @@ -10782,36 +9384,6 @@ func (s FleetUtilization) GoString() string { return s.String() } -// SetActiveGameSessionCount sets the ActiveGameSessionCount field's value. -func (s *FleetUtilization) SetActiveGameSessionCount(v int64) *FleetUtilization { - s.ActiveGameSessionCount = &v - return s -} - -// SetActiveServerProcessCount sets the ActiveServerProcessCount field's value. -func (s *FleetUtilization) SetActiveServerProcessCount(v int64) *FleetUtilization { - s.ActiveServerProcessCount = &v - return s -} - -// SetCurrentPlayerSessionCount sets the CurrentPlayerSessionCount field's value. -func (s *FleetUtilization) SetCurrentPlayerSessionCount(v int64) *FleetUtilization { - s.CurrentPlayerSessionCount = &v - return s -} - -// SetFleetId sets the FleetId field's value. -func (s *FleetUtilization) SetFleetId(v string) *FleetUtilization { - s.FleetId = &v - return s -} - -// SetMaximumPlayerSessionCount sets the MaximumPlayerSessionCount field's value. -func (s *FleetUtilization) SetMaximumPlayerSessionCount(v int64) *FleetUtilization { - s.MaximumPlayerSessionCount = &v - return s -} - // Set of key-value pairs that contain information about a game session. When // included in a game session request, these properties communicate details // to be used when setting up the new game session, such as to specify a game @@ -10862,18 +9434,6 @@ func (s *GameProperty) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *GameProperty) SetKey(v string) *GameProperty { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *GameProperty) SetValue(v string) *GameProperty { - s.Value = &v - return s -} - // Properties describing a game session. // // A game session in ACTIVE status can host players. When a game session ends, @@ -10978,90 +9538,6 @@ func (s GameSession) GoString() string { return s.String() } -// SetCreationTime sets the CreationTime field's value. -func (s *GameSession) SetCreationTime(v time.Time) *GameSession { - s.CreationTime = &v - return s -} - -// SetCreatorId sets the CreatorId field's value. -func (s *GameSession) SetCreatorId(v string) *GameSession { - s.CreatorId = &v - return s -} - -// SetCurrentPlayerSessionCount sets the CurrentPlayerSessionCount field's value. -func (s *GameSession) SetCurrentPlayerSessionCount(v int64) *GameSession { - s.CurrentPlayerSessionCount = &v - return s -} - -// SetFleetId sets the FleetId field's value. -func (s *GameSession) SetFleetId(v string) *GameSession { - s.FleetId = &v - return s -} - -// SetGameProperties sets the GameProperties field's value. -func (s *GameSession) SetGameProperties(v []GameProperty) *GameSession { - s.GameProperties = v - return s -} - -// SetGameSessionData sets the GameSessionData field's value. -func (s *GameSession) SetGameSessionData(v string) *GameSession { - s.GameSessionData = &v - return s -} - -// SetGameSessionId sets the GameSessionId field's value. -func (s *GameSession) SetGameSessionId(v string) *GameSession { - s.GameSessionId = &v - return s -} - -// SetIpAddress sets the IpAddress field's value. -func (s *GameSession) SetIpAddress(v string) *GameSession { - s.IpAddress = &v - return s -} - -// SetMaximumPlayerSessionCount sets the MaximumPlayerSessionCount field's value. -func (s *GameSession) SetMaximumPlayerSessionCount(v int64) *GameSession { - s.MaximumPlayerSessionCount = &v - return s -} - -// SetName sets the Name field's value. -func (s *GameSession) SetName(v string) *GameSession { - s.Name = &v - return s -} - -// SetPlayerSessionCreationPolicy sets the PlayerSessionCreationPolicy field's value. -func (s *GameSession) SetPlayerSessionCreationPolicy(v PlayerSessionCreationPolicy) *GameSession { - s.PlayerSessionCreationPolicy = v - return s -} - -// SetPort sets the Port field's value. -func (s *GameSession) SetPort(v int64) *GameSession { - s.Port = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GameSession) SetStatus(v GameSessionStatus) *GameSession { - s.Status = v - return s -} - -// SetTerminationTime sets the TerminationTime field's value. -func (s *GameSession) SetTerminationTime(v time.Time) *GameSession { - s.TerminationTime = &v - return s -} - // Connection information for the new game session that is created with matchmaking. // (with StartMatchmaking). Once a match is set, the FlexMatch engine places // the match and creates a new game session for it. This information, including @@ -11099,30 +9575,6 @@ func (s GameSessionConnectionInfo) GoString() string { return s.String() } -// SetGameSessionArn sets the GameSessionArn field's value. -func (s *GameSessionConnectionInfo) SetGameSessionArn(v string) *GameSessionConnectionInfo { - s.GameSessionArn = &v - return s -} - -// SetIpAddress sets the IpAddress field's value. -func (s *GameSessionConnectionInfo) SetIpAddress(v string) *GameSessionConnectionInfo { - s.IpAddress = &v - return s -} - -// SetMatchedPlayerSessions sets the MatchedPlayerSessions field's value. -func (s *GameSessionConnectionInfo) SetMatchedPlayerSessions(v []MatchedPlayerSession) *GameSessionConnectionInfo { - s.MatchedPlayerSessions = v - return s -} - -// SetPort sets the Port field's value. -func (s *GameSessionConnectionInfo) SetPort(v int64) *GameSessionConnectionInfo { - s.Port = &v - return s -} - // A game session's properties plus the protection policy currently in force. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/GameSessionDetail type GameSessionDetail struct { @@ -11151,18 +9603,6 @@ func (s GameSessionDetail) GoString() string { return s.String() } -// SetGameSession sets the GameSession field's value. -func (s *GameSessionDetail) SetGameSession(v *GameSession) *GameSessionDetail { - s.GameSession = v - return s -} - -// SetProtectionPolicy sets the ProtectionPolicy field's value. -func (s *GameSessionDetail) SetProtectionPolicy(v ProtectionPolicy) *GameSessionDetail { - s.ProtectionPolicy = v - return s -} - // Object that describes a StartGameSessionPlacement request. This object includes // the full details of the original request plus the current status and start/end // time stamps. @@ -11276,102 +9716,6 @@ func (s GameSessionPlacement) GoString() string { return s.String() } -// SetEndTime sets the EndTime field's value. -func (s *GameSessionPlacement) SetEndTime(v time.Time) *GameSessionPlacement { - s.EndTime = &v - return s -} - -// SetGameProperties sets the GameProperties field's value. -func (s *GameSessionPlacement) SetGameProperties(v []GameProperty) *GameSessionPlacement { - s.GameProperties = v - return s -} - -// SetGameSessionArn sets the GameSessionArn field's value. -func (s *GameSessionPlacement) SetGameSessionArn(v string) *GameSessionPlacement { - s.GameSessionArn = &v - return s -} - -// SetGameSessionData sets the GameSessionData field's value. -func (s *GameSessionPlacement) SetGameSessionData(v string) *GameSessionPlacement { - s.GameSessionData = &v - return s -} - -// SetGameSessionId sets the GameSessionId field's value. -func (s *GameSessionPlacement) SetGameSessionId(v string) *GameSessionPlacement { - s.GameSessionId = &v - return s -} - -// SetGameSessionName sets the GameSessionName field's value. -func (s *GameSessionPlacement) SetGameSessionName(v string) *GameSessionPlacement { - s.GameSessionName = &v - return s -} - -// SetGameSessionQueueName sets the GameSessionQueueName field's value. -func (s *GameSessionPlacement) SetGameSessionQueueName(v string) *GameSessionPlacement { - s.GameSessionQueueName = &v - return s -} - -// SetGameSessionRegion sets the GameSessionRegion field's value. -func (s *GameSessionPlacement) SetGameSessionRegion(v string) *GameSessionPlacement { - s.GameSessionRegion = &v - return s -} - -// SetIpAddress sets the IpAddress field's value. -func (s *GameSessionPlacement) SetIpAddress(v string) *GameSessionPlacement { - s.IpAddress = &v - return s -} - -// SetMaximumPlayerSessionCount sets the MaximumPlayerSessionCount field's value. -func (s *GameSessionPlacement) SetMaximumPlayerSessionCount(v int64) *GameSessionPlacement { - s.MaximumPlayerSessionCount = &v - return s -} - -// SetPlacedPlayerSessions sets the PlacedPlayerSessions field's value. -func (s *GameSessionPlacement) SetPlacedPlayerSessions(v []PlacedPlayerSession) *GameSessionPlacement { - s.PlacedPlayerSessions = v - return s -} - -// SetPlacementId sets the PlacementId field's value. -func (s *GameSessionPlacement) SetPlacementId(v string) *GameSessionPlacement { - s.PlacementId = &v - return s -} - -// SetPlayerLatencies sets the PlayerLatencies field's value. -func (s *GameSessionPlacement) SetPlayerLatencies(v []PlayerLatency) *GameSessionPlacement { - s.PlayerLatencies = v - return s -} - -// SetPort sets the Port field's value. -func (s *GameSessionPlacement) SetPort(v int64) *GameSessionPlacement { - s.Port = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *GameSessionPlacement) SetStartTime(v time.Time) *GameSessionPlacement { - s.StartTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GameSessionPlacement) SetStatus(v GameSessionPlacementState) *GameSessionPlacement { - s.Status = v - return s -} - // Configuration of a queue that is used to process game session placement requests. // The queue configuration identifies several game features: // @@ -11442,36 +9786,6 @@ func (s GameSessionQueue) GoString() string { return s.String() } -// SetDestinations sets the Destinations field's value. -func (s *GameSessionQueue) SetDestinations(v []GameSessionQueueDestination) *GameSessionQueue { - s.Destinations = v - return s -} - -// SetGameSessionQueueArn sets the GameSessionQueueArn field's value. -func (s *GameSessionQueue) SetGameSessionQueueArn(v string) *GameSessionQueue { - s.GameSessionQueueArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *GameSessionQueue) SetName(v string) *GameSessionQueue { - s.Name = &v - return s -} - -// SetPlayerLatencyPolicies sets the PlayerLatencyPolicies field's value. -func (s *GameSessionQueue) SetPlayerLatencyPolicies(v []PlayerLatencyPolicy) *GameSessionQueue { - s.PlayerLatencyPolicies = v - return s -} - -// SetTimeoutInSeconds sets the TimeoutInSeconds field's value. -func (s *GameSessionQueue) SetTimeoutInSeconds(v int64) *GameSessionQueue { - s.TimeoutInSeconds = &v - return s -} - // Fleet designated in a game session queue. Requests for new game sessions // in the queue are fulfilled by starting a new game session on any destination // configured for a queue. @@ -11518,12 +9832,6 @@ func (s *GameSessionQueueDestination) Validate() error { return nil } -// SetDestinationArn sets the DestinationArn field's value. -func (s *GameSessionQueueDestination) SetDestinationArn(v string) *GameSessionQueueDestination { - s.DestinationArn = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/GetGameSessionLogUrlInput type GetGameSessionLogUrlInput struct { @@ -11562,12 +9870,6 @@ func (s *GetGameSessionLogUrlInput) Validate() error { return nil } -// SetGameSessionId sets the GameSessionId field's value. -func (s *GetGameSessionLogUrlInput) SetGameSessionId(v string) *GetGameSessionLogUrlInput { - s.GameSessionId = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/GetGameSessionLogUrlOutput type GetGameSessionLogUrlOutput struct { @@ -11594,12 +9896,6 @@ func (s GetGameSessionLogUrlOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPreSignedUrl sets the PreSignedUrl field's value. -func (s *GetGameSessionLogUrlOutput) SetPreSignedUrl(v string) *GetGameSessionLogUrlOutput { - s.PreSignedUrl = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/GetInstanceAccessInput type GetInstanceAccessInput struct { @@ -11648,18 +9944,6 @@ func (s *GetInstanceAccessInput) Validate() error { return nil } -// SetFleetId sets the FleetId field's value. -func (s *GetInstanceAccessInput) SetFleetId(v string) *GetInstanceAccessInput { - s.FleetId = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *GetInstanceAccessInput) SetInstanceId(v string) *GetInstanceAccessInput { - s.InstanceId = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/GetInstanceAccessOutput type GetInstanceAccessOutput struct { @@ -11687,12 +9971,6 @@ func (s GetInstanceAccessOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceAccess sets the InstanceAccess field's value. -func (s *GetInstanceAccessOutput) SetInstanceAccess(v *InstanceAccess) *GetInstanceAccessOutput { - s.InstanceAccess = v - return s -} - // Properties that describe an instance of a virtual computing resource that // hosts one or more game servers. A fleet may contain zero or more instances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/Instance @@ -11744,48 +10022,6 @@ func (s Instance) GoString() string { return s.String() } -// SetCreationTime sets the CreationTime field's value. -func (s *Instance) SetCreationTime(v time.Time) *Instance { - s.CreationTime = &v - return s -} - -// SetFleetId sets the FleetId field's value. -func (s *Instance) SetFleetId(v string) *Instance { - s.FleetId = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *Instance) SetInstanceId(v string) *Instance { - s.InstanceId = &v - return s -} - -// SetIpAddress sets the IpAddress field's value. -func (s *Instance) SetIpAddress(v string) *Instance { - s.IpAddress = &v - return s -} - -// SetOperatingSystem sets the OperatingSystem field's value. -func (s *Instance) SetOperatingSystem(v OperatingSystem) *Instance { - s.OperatingSystem = v - return s -} - -// SetStatus sets the Status field's value. -func (s *Instance) SetStatus(v InstanceStatus) *Instance { - s.Status = v - return s -} - -// SetType sets the Type field's value. -func (s *Instance) SetType(v EC2InstanceType) *Instance { - s.Type = v - return s -} - // Information required to remotely connect to a fleet instance. Access is requested // by calling GetInstanceAccess. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/InstanceAccess @@ -11818,36 +10054,6 @@ func (s InstanceAccess) GoString() string { return s.String() } -// SetCredentials sets the Credentials field's value. -func (s *InstanceAccess) SetCredentials(v *InstanceCredentials) *InstanceAccess { - s.Credentials = v - return s -} - -// SetFleetId sets the FleetId field's value. -func (s *InstanceAccess) SetFleetId(v string) *InstanceAccess { - s.FleetId = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *InstanceAccess) SetInstanceId(v string) *InstanceAccess { - s.InstanceId = &v - return s -} - -// SetIpAddress sets the IpAddress field's value. -func (s *InstanceAccess) SetIpAddress(v string) *InstanceAccess { - s.IpAddress = &v - return s -} - -// SetOperatingSystem sets the OperatingSystem field's value. -func (s *InstanceAccess) SetOperatingSystem(v OperatingSystem) *InstanceAccess { - s.OperatingSystem = v - return s -} - // Set of credentials required to remotely access a fleet instance. Access credentials // are requested by calling GetInstanceAccess and returned in an InstanceAccess // object. @@ -11874,18 +10080,6 @@ func (s InstanceCredentials) GoString() string { return s.String() } -// SetSecret sets the Secret field's value. -func (s *InstanceCredentials) SetSecret(v string) *InstanceCredentials { - s.Secret = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *InstanceCredentials) SetUserName(v string) *InstanceCredentials { - s.UserName = &v - return s -} - // A range of IP addresses and port settings that allow inbound traffic to connect // to server processes on Amazon GameLift. Each game session hosted on a fleet // is assigned a unique combination of IP address and port number, which must @@ -11960,30 +10154,6 @@ func (s *IpPermission) Validate() error { return nil } -// SetFromPort sets the FromPort field's value. -func (s *IpPermission) SetFromPort(v int64) *IpPermission { - s.FromPort = &v - return s -} - -// SetIpRange sets the IpRange field's value. -func (s *IpPermission) SetIpRange(v string) *IpPermission { - s.IpRange = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *IpPermission) SetProtocol(v IpProtocol) *IpPermission { - s.Protocol = v - return s -} - -// SetToPort sets the ToPort field's value. -func (s *IpPermission) SetToPort(v int64) *IpPermission { - s.ToPort = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListAliasesInput type ListAliasesInput struct { @@ -12046,30 +10216,6 @@ func (s *ListAliasesInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListAliasesInput) SetLimit(v int64) *ListAliasesInput { - s.Limit = &v - return s -} - -// SetName sets the Name field's value. -func (s *ListAliasesInput) SetName(v string) *ListAliasesInput { - s.Name = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAliasesInput) SetNextToken(v string) *ListAliasesInput { - s.NextToken = &v - return s -} - -// SetRoutingStrategyType sets the RoutingStrategyType field's value. -func (s *ListAliasesInput) SetRoutingStrategyType(v RoutingStrategyType) *ListAliasesInput { - s.RoutingStrategyType = v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListAliasesOutput type ListAliasesOutput struct { @@ -12101,18 +10247,6 @@ func (s ListAliasesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAliases sets the Aliases field's value. -func (s *ListAliasesOutput) SetAliases(v []Alias) *ListAliasesOutput { - s.Aliases = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAliasesOutput) SetNextToken(v string) *ListAliasesOutput { - s.NextToken = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListBuildsInput type ListBuildsInput struct { @@ -12171,24 +10305,6 @@ func (s *ListBuildsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListBuildsInput) SetLimit(v int64) *ListBuildsInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListBuildsInput) SetNextToken(v string) *ListBuildsInput { - s.NextToken = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ListBuildsInput) SetStatus(v BuildStatus) *ListBuildsInput { - s.Status = v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListBuildsOutput type ListBuildsOutput struct { @@ -12220,18 +10336,6 @@ func (s ListBuildsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBuilds sets the Builds field's value. -func (s *ListBuildsOutput) SetBuilds(v []Build) *ListBuildsOutput { - s.Builds = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListBuildsOutput) SetNextToken(v string) *ListBuildsOutput { - s.NextToken = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListFleetsInput type ListFleetsInput struct { @@ -12278,24 +10382,6 @@ func (s *ListFleetsInput) Validate() error { return nil } -// SetBuildId sets the BuildId field's value. -func (s *ListFleetsInput) SetBuildId(v string) *ListFleetsInput { - s.BuildId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListFleetsInput) SetLimit(v int64) *ListFleetsInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFleetsInput) SetNextToken(v string) *ListFleetsInput { - s.NextToken = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListFleetsOutput type ListFleetsOutput struct { @@ -12329,18 +10415,6 @@ func (s ListFleetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFleetIds sets the FleetIds field's value. -func (s *ListFleetsOutput) SetFleetIds(v []string) *ListFleetsOutput { - s.FleetIds = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFleetsOutput) SetNextToken(v string) *ListFleetsOutput { - s.NextToken = &v - return s -} - // Represents a new player session that is created as a result of a successful // FlexMatch match. A successful match automatically creates new player sessions // for every player ID in the original matchmaking request. @@ -12368,18 +10442,6 @@ func (s MatchedPlayerSession) GoString() string { return s.String() } -// SetPlayerId sets the PlayerId field's value. -func (s *MatchedPlayerSession) SetPlayerId(v string) *MatchedPlayerSession { - s.PlayerId = &v - return s -} - -// SetPlayerSessionId sets the PlayerSessionId field's value. -func (s *MatchedPlayerSession) SetPlayerSessionId(v string) *MatchedPlayerSession { - s.PlayerSessionId = &v - return s -} - // Guidelines for use with FlexMatch to match players into games. All matchmaking // requests must specify a matchmaking configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/MatchmakingConfiguration @@ -12461,84 +10523,6 @@ func (s MatchmakingConfiguration) GoString() string { return s.String() } -// SetAcceptanceRequired sets the AcceptanceRequired field's value. -func (s *MatchmakingConfiguration) SetAcceptanceRequired(v bool) *MatchmakingConfiguration { - s.AcceptanceRequired = &v - return s -} - -// SetAcceptanceTimeoutSeconds sets the AcceptanceTimeoutSeconds field's value. -func (s *MatchmakingConfiguration) SetAcceptanceTimeoutSeconds(v int64) *MatchmakingConfiguration { - s.AcceptanceTimeoutSeconds = &v - return s -} - -// SetAdditionalPlayerCount sets the AdditionalPlayerCount field's value. -func (s *MatchmakingConfiguration) SetAdditionalPlayerCount(v int64) *MatchmakingConfiguration { - s.AdditionalPlayerCount = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *MatchmakingConfiguration) SetCreationTime(v time.Time) *MatchmakingConfiguration { - s.CreationTime = &v - return s -} - -// SetCustomEventData sets the CustomEventData field's value. -func (s *MatchmakingConfiguration) SetCustomEventData(v string) *MatchmakingConfiguration { - s.CustomEventData = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *MatchmakingConfiguration) SetDescription(v string) *MatchmakingConfiguration { - s.Description = &v - return s -} - -// SetGameProperties sets the GameProperties field's value. -func (s *MatchmakingConfiguration) SetGameProperties(v []GameProperty) *MatchmakingConfiguration { - s.GameProperties = v - return s -} - -// SetGameSessionData sets the GameSessionData field's value. -func (s *MatchmakingConfiguration) SetGameSessionData(v string) *MatchmakingConfiguration { - s.GameSessionData = &v - return s -} - -// SetGameSessionQueueArns sets the GameSessionQueueArns field's value. -func (s *MatchmakingConfiguration) SetGameSessionQueueArns(v []string) *MatchmakingConfiguration { - s.GameSessionQueueArns = v - return s -} - -// SetName sets the Name field's value. -func (s *MatchmakingConfiguration) SetName(v string) *MatchmakingConfiguration { - s.Name = &v - return s -} - -// SetNotificationTarget sets the NotificationTarget field's value. -func (s *MatchmakingConfiguration) SetNotificationTarget(v string) *MatchmakingConfiguration { - s.NotificationTarget = &v - return s -} - -// SetRequestTimeoutSeconds sets the RequestTimeoutSeconds field's value. -func (s *MatchmakingConfiguration) SetRequestTimeoutSeconds(v int64) *MatchmakingConfiguration { - s.RequestTimeoutSeconds = &v - return s -} - -// SetRuleSetName sets the RuleSetName field's value. -func (s *MatchmakingConfiguration) SetRuleSetName(v string) *MatchmakingConfiguration { - s.RuleSetName = &v - return s -} - // Set of rule statements, used with FlexMatch, that determine how to build // a certain kind of player match. Each rule set describes a type of group to // be created and defines the parameters for acceptable player matches. Rule @@ -12599,24 +10583,6 @@ func (s MatchmakingRuleSet) GoString() string { return s.String() } -// SetCreationTime sets the CreationTime field's value. -func (s *MatchmakingRuleSet) SetCreationTime(v time.Time) *MatchmakingRuleSet { - s.CreationTime = &v - return s -} - -// SetRuleSetBody sets the RuleSetBody field's value. -func (s *MatchmakingRuleSet) SetRuleSetBody(v string) *MatchmakingRuleSet { - s.RuleSetBody = &v - return s -} - -// SetRuleSetName sets the RuleSetName field's value. -func (s *MatchmakingRuleSet) SetRuleSetName(v string) *MatchmakingRuleSet { - s.RuleSetName = &v - return s -} - // Ticket generated to track the progress of a matchmaking request. Each ticket // is uniquely identified by a ticket ID, supplied by the requester, when creating // a matchmaking request with StartMatchmaking. Tickets can be retrieved by @@ -12705,66 +10671,6 @@ func (s MatchmakingTicket) GoString() string { return s.String() } -// SetConfigurationName sets the ConfigurationName field's value. -func (s *MatchmakingTicket) SetConfigurationName(v string) *MatchmakingTicket { - s.ConfigurationName = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *MatchmakingTicket) SetEndTime(v time.Time) *MatchmakingTicket { - s.EndTime = &v - return s -} - -// SetEstimatedWaitTime sets the EstimatedWaitTime field's value. -func (s *MatchmakingTicket) SetEstimatedWaitTime(v int64) *MatchmakingTicket { - s.EstimatedWaitTime = &v - return s -} - -// SetGameSessionConnectionInfo sets the GameSessionConnectionInfo field's value. -func (s *MatchmakingTicket) SetGameSessionConnectionInfo(v *GameSessionConnectionInfo) *MatchmakingTicket { - s.GameSessionConnectionInfo = v - return s -} - -// SetPlayers sets the Players field's value. -func (s *MatchmakingTicket) SetPlayers(v []Player) *MatchmakingTicket { - s.Players = v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *MatchmakingTicket) SetStartTime(v time.Time) *MatchmakingTicket { - s.StartTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *MatchmakingTicket) SetStatus(v MatchmakingConfigurationStatus) *MatchmakingTicket { - s.Status = v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *MatchmakingTicket) SetStatusMessage(v string) *MatchmakingTicket { - s.StatusMessage = &v - return s -} - -// SetStatusReason sets the StatusReason field's value. -func (s *MatchmakingTicket) SetStatusReason(v string) *MatchmakingTicket { - s.StatusReason = &v - return s -} - -// SetTicketId sets the TicketId field's value. -func (s *MatchmakingTicket) SetTicketId(v string) *MatchmakingTicket { - s.TicketId = &v - return s -} - // Information about a player session that was created as part of a StartGameSessionPlacement // request. This object contains only the player ID and player session ID. To // retrieve full details on a player session, call DescribePlayerSessions with @@ -12806,18 +10712,6 @@ func (s PlacedPlayerSession) GoString() string { return s.String() } -// SetPlayerId sets the PlayerId field's value. -func (s *PlacedPlayerSession) SetPlayerId(v string) *PlacedPlayerSession { - s.PlayerId = &v - return s -} - -// SetPlayerSessionId sets the PlayerSessionId field's value. -func (s *PlacedPlayerSession) SetPlayerSessionId(v string) *PlacedPlayerSession { - s.PlayerSessionId = &v - return s -} - // Represents a player in matchmaking. When starting a matchmaking request, // a player has a player ID, attributes, and may have latency data. Team information // is added after a match has been successfully completed. @@ -12883,30 +10777,6 @@ func (s *Player) Validate() error { return nil } -// SetLatencyInMs sets the LatencyInMs field's value. -func (s *Player) SetLatencyInMs(v map[string]int64) *Player { - s.LatencyInMs = v - return s -} - -// SetPlayerAttributes sets the PlayerAttributes field's value. -func (s *Player) SetPlayerAttributes(v map[string]AttributeValue) *Player { - s.PlayerAttributes = v - return s -} - -// SetPlayerId sets the PlayerId field's value. -func (s *Player) SetPlayerId(v string) *Player { - s.PlayerId = &v - return s -} - -// SetTeam sets the Team field's value. -func (s *Player) SetTeam(v string) *Player { - s.Team = &v - return s -} - // Regional latency information for a player, used when requesting a new game // session with StartGameSessionPlacement. This value indicates the amount of // time lag that exists when the player is connected to a fleet in the specified @@ -12954,24 +10824,6 @@ func (s *PlayerLatency) Validate() error { return nil } -// SetLatencyInMilliseconds sets the LatencyInMilliseconds field's value. -func (s *PlayerLatency) SetLatencyInMilliseconds(v float64) *PlayerLatency { - s.LatencyInMilliseconds = &v - return s -} - -// SetPlayerId sets the PlayerId field's value. -func (s *PlayerLatency) SetPlayerId(v string) *PlayerLatency { - s.PlayerId = &v - return s -} - -// SetRegionIdentifier sets the RegionIdentifier field's value. -func (s *PlayerLatency) SetRegionIdentifier(v string) *PlayerLatency { - s.RegionIdentifier = &v - return s -} - // Queue setting that determines the highest latency allowed for individual // players when placing a game session. When a latency policy is in force, a // game session cannot be placed at any destination in a region where a player @@ -13011,18 +10863,6 @@ func (s PlayerLatencyPolicy) GoString() string { return s.String() } -// SetMaximumIndividualPlayerLatencyMilliseconds sets the MaximumIndividualPlayerLatencyMilliseconds field's value. -func (s *PlayerLatencyPolicy) SetMaximumIndividualPlayerLatencyMilliseconds(v int64) *PlayerLatencyPolicy { - s.MaximumIndividualPlayerLatencyMilliseconds = &v - return s -} - -// SetPolicyDurationSeconds sets the PolicyDurationSeconds field's value. -func (s *PlayerLatencyPolicy) SetPolicyDurationSeconds(v int64) *PlayerLatencyPolicy { - s.PolicyDurationSeconds = &v - return s -} - // Properties describing a player session. Player session objects are created // either by creating a player session for a specific game session, or as part // of a game session placement. A player session represents either a player @@ -13114,66 +10954,6 @@ func (s PlayerSession) GoString() string { return s.String() } -// SetCreationTime sets the CreationTime field's value. -func (s *PlayerSession) SetCreationTime(v time.Time) *PlayerSession { - s.CreationTime = &v - return s -} - -// SetFleetId sets the FleetId field's value. -func (s *PlayerSession) SetFleetId(v string) *PlayerSession { - s.FleetId = &v - return s -} - -// SetGameSessionId sets the GameSessionId field's value. -func (s *PlayerSession) SetGameSessionId(v string) *PlayerSession { - s.GameSessionId = &v - return s -} - -// SetIpAddress sets the IpAddress field's value. -func (s *PlayerSession) SetIpAddress(v string) *PlayerSession { - s.IpAddress = &v - return s -} - -// SetPlayerData sets the PlayerData field's value. -func (s *PlayerSession) SetPlayerData(v string) *PlayerSession { - s.PlayerData = &v - return s -} - -// SetPlayerId sets the PlayerId field's value. -func (s *PlayerSession) SetPlayerId(v string) *PlayerSession { - s.PlayerId = &v - return s -} - -// SetPlayerSessionId sets the PlayerSessionId field's value. -func (s *PlayerSession) SetPlayerSessionId(v string) *PlayerSession { - s.PlayerSessionId = &v - return s -} - -// SetPort sets the Port field's value. -func (s *PlayerSession) SetPort(v int64) *PlayerSession { - s.Port = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *PlayerSession) SetStatus(v PlayerSessionStatus) *PlayerSession { - s.Status = v - return s -} - -// SetTerminationTime sets the TerminationTime field's value. -func (s *PlayerSession) SetTerminationTime(v time.Time) *PlayerSession { - s.TerminationTime = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/PutScalingPolicyInput type PutScalingPolicyInput struct { @@ -13309,54 +11089,6 @@ func (s *PutScalingPolicyInput) Validate() error { return nil } -// SetComparisonOperator sets the ComparisonOperator field's value. -func (s *PutScalingPolicyInput) SetComparisonOperator(v ComparisonOperatorType) *PutScalingPolicyInput { - s.ComparisonOperator = v - return s -} - -// SetEvaluationPeriods sets the EvaluationPeriods field's value. -func (s *PutScalingPolicyInput) SetEvaluationPeriods(v int64) *PutScalingPolicyInput { - s.EvaluationPeriods = &v - return s -} - -// SetFleetId sets the FleetId field's value. -func (s *PutScalingPolicyInput) SetFleetId(v string) *PutScalingPolicyInput { - s.FleetId = &v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *PutScalingPolicyInput) SetMetricName(v MetricName) *PutScalingPolicyInput { - s.MetricName = v - return s -} - -// SetName sets the Name field's value. -func (s *PutScalingPolicyInput) SetName(v string) *PutScalingPolicyInput { - s.Name = &v - return s -} - -// SetScalingAdjustment sets the ScalingAdjustment field's value. -func (s *PutScalingPolicyInput) SetScalingAdjustment(v int64) *PutScalingPolicyInput { - s.ScalingAdjustment = &v - return s -} - -// SetScalingAdjustmentType sets the ScalingAdjustmentType field's value. -func (s *PutScalingPolicyInput) SetScalingAdjustmentType(v ScalingAdjustmentType) *PutScalingPolicyInput { - s.ScalingAdjustmentType = v - return s -} - -// SetThreshold sets the Threshold field's value. -func (s *PutScalingPolicyInput) SetThreshold(v float64) *PutScalingPolicyInput { - s.Threshold = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/PutScalingPolicyOutput type PutScalingPolicyOutput struct { @@ -13384,12 +11116,6 @@ func (s PutScalingPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetName sets the Name field's value. -func (s *PutScalingPolicyOutput) SetName(v string) *PutScalingPolicyOutput { - s.Name = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/RequestUploadCredentialsInput type RequestUploadCredentialsInput struct { @@ -13425,12 +11151,6 @@ func (s *RequestUploadCredentialsInput) Validate() error { return nil } -// SetBuildId sets the BuildId field's value. -func (s *RequestUploadCredentialsInput) SetBuildId(v string) *RequestUploadCredentialsInput { - s.BuildId = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/RequestUploadCredentialsOutput type RequestUploadCredentialsOutput struct { @@ -13462,18 +11182,6 @@ func (s RequestUploadCredentialsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStorageLocation sets the StorageLocation field's value. -func (s *RequestUploadCredentialsOutput) SetStorageLocation(v *S3Location) *RequestUploadCredentialsOutput { - s.StorageLocation = v - return s -} - -// SetUploadCredentials sets the UploadCredentials field's value. -func (s *RequestUploadCredentialsOutput) SetUploadCredentials(v *AwsCredentials) *RequestUploadCredentialsOutput { - s.UploadCredentials = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ResolveAliasInput type ResolveAliasInput struct { @@ -13509,12 +11217,6 @@ func (s *ResolveAliasInput) Validate() error { return nil } -// SetAliasId sets the AliasId field's value. -func (s *ResolveAliasInput) SetAliasId(v string) *ResolveAliasInput { - s.AliasId = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ResolveAliasOutput type ResolveAliasOutput struct { @@ -13541,12 +11243,6 @@ func (s ResolveAliasOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFleetId sets the FleetId field's value. -func (s *ResolveAliasOutput) SetFleetId(v string) *ResolveAliasOutput { - s.FleetId = &v - return s -} - // Policy that limits the number of game sessions a player can create on the // same fleet. This optional policy gives game owners control over how players // can consume available game server resources. A resource creation policy makes @@ -13580,18 +11276,6 @@ func (s ResourceCreationLimitPolicy) GoString() string { return s.String() } -// SetNewGameSessionsPerCreator sets the NewGameSessionsPerCreator field's value. -func (s *ResourceCreationLimitPolicy) SetNewGameSessionsPerCreator(v int64) *ResourceCreationLimitPolicy { - s.NewGameSessionsPerCreator = &v - return s -} - -// SetPolicyPeriodInMinutes sets the PolicyPeriodInMinutes field's value. -func (s *ResourceCreationLimitPolicy) SetPolicyPeriodInMinutes(v int64) *ResourceCreationLimitPolicy { - s.PolicyPeriodInMinutes = &v - return s -} - // Routing configuration for a fleet alias. // // Fleet-related operations include: @@ -13670,24 +11354,6 @@ func (s RoutingStrategy) GoString() string { return s.String() } -// SetFleetId sets the FleetId field's value. -func (s *RoutingStrategy) SetFleetId(v string) *RoutingStrategy { - s.FleetId = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *RoutingStrategy) SetMessage(v string) *RoutingStrategy { - s.Message = &v - return s -} - -// SetType sets the Type field's value. -func (s *RoutingStrategy) SetType(v RoutingStrategyType) *RoutingStrategy { - s.Type = v - return s -} - // A collection of server process configurations that describe what processes // to run on each instance in a fleet. All fleets must have a run-time configuration. // Each instance in the fleet launches the server processes specified in the @@ -13808,24 +11474,6 @@ func (s *RuntimeConfiguration) Validate() error { return nil } -// SetGameSessionActivationTimeoutSeconds sets the GameSessionActivationTimeoutSeconds field's value. -func (s *RuntimeConfiguration) SetGameSessionActivationTimeoutSeconds(v int64) *RuntimeConfiguration { - s.GameSessionActivationTimeoutSeconds = &v - return s -} - -// SetMaxConcurrentGameSessionActivations sets the MaxConcurrentGameSessionActivations field's value. -func (s *RuntimeConfiguration) SetMaxConcurrentGameSessionActivations(v int64) *RuntimeConfiguration { - s.MaxConcurrentGameSessionActivations = &v - return s -} - -// SetServerProcesses sets the ServerProcesses field's value. -func (s *RuntimeConfiguration) SetServerProcesses(v []ServerProcess) *RuntimeConfiguration { - s.ServerProcesses = v - return s -} - // Location in Amazon Simple Storage Service (Amazon S3) where build files can // be stored for access by Amazon GameLift. This location is specified in a // CreateBuild request. For more details, see the Create a Build with Files @@ -13874,24 +11522,6 @@ func (s *S3Location) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *S3Location) SetBucket(v string) *S3Location { - s.Bucket = &v - return s -} - -// SetKey sets the Key field's value. -func (s *S3Location) SetKey(v string) *S3Location { - s.Key = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *S3Location) SetRoleArn(v string) *S3Location { - s.RoleArn = &v - return s -} - // Rule that controls how a fleet is scaled. Scaling policies are uniquely identified // by the combination of name and fleet ID. // @@ -14030,60 +11660,6 @@ func (s ScalingPolicy) GoString() string { return s.String() } -// SetComparisonOperator sets the ComparisonOperator field's value. -func (s *ScalingPolicy) SetComparisonOperator(v ComparisonOperatorType) *ScalingPolicy { - s.ComparisonOperator = v - return s -} - -// SetEvaluationPeriods sets the EvaluationPeriods field's value. -func (s *ScalingPolicy) SetEvaluationPeriods(v int64) *ScalingPolicy { - s.EvaluationPeriods = &v - return s -} - -// SetFleetId sets the FleetId field's value. -func (s *ScalingPolicy) SetFleetId(v string) *ScalingPolicy { - s.FleetId = &v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *ScalingPolicy) SetMetricName(v MetricName) *ScalingPolicy { - s.MetricName = v - return s -} - -// SetName sets the Name field's value. -func (s *ScalingPolicy) SetName(v string) *ScalingPolicy { - s.Name = &v - return s -} - -// SetScalingAdjustment sets the ScalingAdjustment field's value. -func (s *ScalingPolicy) SetScalingAdjustment(v int64) *ScalingPolicy { - s.ScalingAdjustment = &v - return s -} - -// SetScalingAdjustmentType sets the ScalingAdjustmentType field's value. -func (s *ScalingPolicy) SetScalingAdjustmentType(v ScalingAdjustmentType) *ScalingPolicy { - s.ScalingAdjustmentType = v - return s -} - -// SetStatus sets the Status field's value. -func (s *ScalingPolicy) SetStatus(v ScalingStatusType) *ScalingPolicy { - s.Status = v - return s -} - -// SetThreshold sets the Threshold field's value. -func (s *ScalingPolicy) SetThreshold(v float64) *ScalingPolicy { - s.Threshold = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/SearchGameSessionsInput type SearchGameSessionsInput struct { @@ -14197,42 +11773,6 @@ func (s *SearchGameSessionsInput) Validate() error { return nil } -// SetAliasId sets the AliasId field's value. -func (s *SearchGameSessionsInput) SetAliasId(v string) *SearchGameSessionsInput { - s.AliasId = &v - return s -} - -// SetFilterExpression sets the FilterExpression field's value. -func (s *SearchGameSessionsInput) SetFilterExpression(v string) *SearchGameSessionsInput { - s.FilterExpression = &v - return s -} - -// SetFleetId sets the FleetId field's value. -func (s *SearchGameSessionsInput) SetFleetId(v string) *SearchGameSessionsInput { - s.FleetId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *SearchGameSessionsInput) SetLimit(v int64) *SearchGameSessionsInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *SearchGameSessionsInput) SetNextToken(v string) *SearchGameSessionsInput { - s.NextToken = &v - return s -} - -// SetSortExpression sets the SortExpression field's value. -func (s *SearchGameSessionsInput) SetSortExpression(v string) *SearchGameSessionsInput { - s.SortExpression = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/SearchGameSessionsOutput type SearchGameSessionsOutput struct { @@ -14265,18 +11805,6 @@ func (s SearchGameSessionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGameSessions sets the GameSessions field's value. -func (s *SearchGameSessionsOutput) SetGameSessions(v []GameSession) *SearchGameSessionsOutput { - s.GameSessions = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *SearchGameSessionsOutput) SetNextToken(v string) *SearchGameSessionsOutput { - s.NextToken = &v - return s -} - // A set of instructions for launching server processes on each instance in // a fleet. Each instruction set identifies the location of the server executable, // optional launch parameters, and the number of server processes with this @@ -14343,24 +11871,6 @@ func (s *ServerProcess) Validate() error { return nil } -// SetConcurrentExecutions sets the ConcurrentExecutions field's value. -func (s *ServerProcess) SetConcurrentExecutions(v int64) *ServerProcess { - s.ConcurrentExecutions = &v - return s -} - -// SetLaunchPath sets the LaunchPath field's value. -func (s *ServerProcess) SetLaunchPath(v string) *ServerProcess { - s.LaunchPath = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *ServerProcess) SetParameters(v string) *ServerProcess { - s.Parameters = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StartGameSessionPlacementInput type StartGameSessionPlacementInput struct { @@ -14475,54 +11985,6 @@ func (s *StartGameSessionPlacementInput) Validate() error { return nil } -// SetDesiredPlayerSessions sets the DesiredPlayerSessions field's value. -func (s *StartGameSessionPlacementInput) SetDesiredPlayerSessions(v []DesiredPlayerSession) *StartGameSessionPlacementInput { - s.DesiredPlayerSessions = v - return s -} - -// SetGameProperties sets the GameProperties field's value. -func (s *StartGameSessionPlacementInput) SetGameProperties(v []GameProperty) *StartGameSessionPlacementInput { - s.GameProperties = v - return s -} - -// SetGameSessionData sets the GameSessionData field's value. -func (s *StartGameSessionPlacementInput) SetGameSessionData(v string) *StartGameSessionPlacementInput { - s.GameSessionData = &v - return s -} - -// SetGameSessionName sets the GameSessionName field's value. -func (s *StartGameSessionPlacementInput) SetGameSessionName(v string) *StartGameSessionPlacementInput { - s.GameSessionName = &v - return s -} - -// SetGameSessionQueueName sets the GameSessionQueueName field's value. -func (s *StartGameSessionPlacementInput) SetGameSessionQueueName(v string) *StartGameSessionPlacementInput { - s.GameSessionQueueName = &v - return s -} - -// SetMaximumPlayerSessionCount sets the MaximumPlayerSessionCount field's value. -func (s *StartGameSessionPlacementInput) SetMaximumPlayerSessionCount(v int64) *StartGameSessionPlacementInput { - s.MaximumPlayerSessionCount = &v - return s -} - -// SetPlacementId sets the PlacementId field's value. -func (s *StartGameSessionPlacementInput) SetPlacementId(v string) *StartGameSessionPlacementInput { - s.PlacementId = &v - return s -} - -// SetPlayerLatencies sets the PlayerLatencies field's value. -func (s *StartGameSessionPlacementInput) SetPlayerLatencies(v []PlayerLatency) *StartGameSessionPlacementInput { - s.PlayerLatencies = v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StartGameSessionPlacementOutput type StartGameSessionPlacementOutput struct { @@ -14551,12 +12013,6 @@ func (s StartGameSessionPlacementOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGameSessionPlacement sets the GameSessionPlacement field's value. -func (s *StartGameSessionPlacementOutput) SetGameSessionPlacement(v *GameSessionPlacement) *StartGameSessionPlacementOutput { - s.GameSessionPlacement = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StartMatchmakingInput type StartMatchmakingInput struct { @@ -14622,24 +12078,6 @@ func (s *StartMatchmakingInput) Validate() error { return nil } -// SetConfigurationName sets the ConfigurationName field's value. -func (s *StartMatchmakingInput) SetConfigurationName(v string) *StartMatchmakingInput { - s.ConfigurationName = &v - return s -} - -// SetPlayers sets the Players field's value. -func (s *StartMatchmakingInput) SetPlayers(v []Player) *StartMatchmakingInput { - s.Players = v - return s -} - -// SetTicketId sets the TicketId field's value. -func (s *StartMatchmakingInput) SetTicketId(v string) *StartMatchmakingInput { - s.TicketId = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StartMatchmakingOutput type StartMatchmakingOutput struct { @@ -14668,12 +12106,6 @@ func (s StartMatchmakingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMatchmakingTicket sets the MatchmakingTicket field's value. -func (s *StartMatchmakingOutput) SetMatchmakingTicket(v *MatchmakingTicket) *StartMatchmakingOutput { - s.MatchmakingTicket = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StopGameSessionPlacementInput type StopGameSessionPlacementInput struct { @@ -14712,12 +12144,6 @@ func (s *StopGameSessionPlacementInput) Validate() error { return nil } -// SetPlacementId sets the PlacementId field's value. -func (s *StopGameSessionPlacementInput) SetPlacementId(v string) *StopGameSessionPlacementInput { - s.PlacementId = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StopGameSessionPlacementOutput type StopGameSessionPlacementOutput struct { @@ -14745,12 +12171,6 @@ func (s StopGameSessionPlacementOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGameSessionPlacement sets the GameSessionPlacement field's value. -func (s *StopGameSessionPlacementOutput) SetGameSessionPlacement(v *GameSessionPlacement) *StopGameSessionPlacementOutput { - s.GameSessionPlacement = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StopMatchmakingInput type StopMatchmakingInput struct { @@ -14789,12 +12209,6 @@ func (s *StopMatchmakingInput) Validate() error { return nil } -// SetTicketId sets the TicketId field's value. -func (s *StopMatchmakingInput) SetTicketId(v string) *StopMatchmakingInput { - s.TicketId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StopMatchmakingOutput type StopMatchmakingOutput struct { _ struct{} `type:"structure"` @@ -14868,30 +12282,6 @@ func (s *UpdateAliasInput) Validate() error { return nil } -// SetAliasId sets the AliasId field's value. -func (s *UpdateAliasInput) SetAliasId(v string) *UpdateAliasInput { - s.AliasId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateAliasInput) SetDescription(v string) *UpdateAliasInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateAliasInput) SetName(v string) *UpdateAliasInput { - s.Name = &v - return s -} - -// SetRoutingStrategy sets the RoutingStrategy field's value. -func (s *UpdateAliasInput) SetRoutingStrategy(v *RoutingStrategy) *UpdateAliasInput { - s.RoutingStrategy = v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateAliasOutput type UpdateAliasOutput struct { @@ -14918,12 +12308,6 @@ func (s UpdateAliasOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAlias sets the Alias field's value. -func (s *UpdateAliasOutput) SetAlias(v *Alias) *UpdateAliasOutput { - s.Alias = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateBuildInput type UpdateBuildInput struct { @@ -14973,24 +12357,6 @@ func (s *UpdateBuildInput) Validate() error { return nil } -// SetBuildId sets the BuildId field's value. -func (s *UpdateBuildInput) SetBuildId(v string) *UpdateBuildInput { - s.BuildId = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateBuildInput) SetName(v string) *UpdateBuildInput { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *UpdateBuildInput) SetVersion(v string) *UpdateBuildInput { - s.Version = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateBuildOutput type UpdateBuildOutput struct { @@ -15017,12 +12383,6 @@ func (s UpdateBuildOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBuild sets the Build field's value. -func (s *UpdateBuildOutput) SetBuild(v *Build) *UpdateBuildOutput { - s.Build = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateFleetAttributesInput type UpdateFleetAttributesInput struct { @@ -15093,42 +12453,6 @@ func (s *UpdateFleetAttributesInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *UpdateFleetAttributesInput) SetDescription(v string) *UpdateFleetAttributesInput { - s.Description = &v - return s -} - -// SetFleetId sets the FleetId field's value. -func (s *UpdateFleetAttributesInput) SetFleetId(v string) *UpdateFleetAttributesInput { - s.FleetId = &v - return s -} - -// SetMetricGroups sets the MetricGroups field's value. -func (s *UpdateFleetAttributesInput) SetMetricGroups(v []string) *UpdateFleetAttributesInput { - s.MetricGroups = v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateFleetAttributesInput) SetName(v string) *UpdateFleetAttributesInput { - s.Name = &v - return s -} - -// SetNewGameSessionProtectionPolicy sets the NewGameSessionProtectionPolicy field's value. -func (s *UpdateFleetAttributesInput) SetNewGameSessionProtectionPolicy(v ProtectionPolicy) *UpdateFleetAttributesInput { - s.NewGameSessionProtectionPolicy = v - return s -} - -// SetResourceCreationLimitPolicy sets the ResourceCreationLimitPolicy field's value. -func (s *UpdateFleetAttributesInput) SetResourceCreationLimitPolicy(v *ResourceCreationLimitPolicy) *UpdateFleetAttributesInput { - s.ResourceCreationLimitPolicy = v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateFleetAttributesOutput type UpdateFleetAttributesOutput struct { @@ -15155,12 +12479,6 @@ func (s UpdateFleetAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFleetId sets the FleetId field's value. -func (s *UpdateFleetAttributesOutput) SetFleetId(v string) *UpdateFleetAttributesOutput { - s.FleetId = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateFleetCapacityInput type UpdateFleetCapacityInput struct { @@ -15207,30 +12525,6 @@ func (s *UpdateFleetCapacityInput) Validate() error { return nil } -// SetDesiredInstances sets the DesiredInstances field's value. -func (s *UpdateFleetCapacityInput) SetDesiredInstances(v int64) *UpdateFleetCapacityInput { - s.DesiredInstances = &v - return s -} - -// SetFleetId sets the FleetId field's value. -func (s *UpdateFleetCapacityInput) SetFleetId(v string) *UpdateFleetCapacityInput { - s.FleetId = &v - return s -} - -// SetMaxSize sets the MaxSize field's value. -func (s *UpdateFleetCapacityInput) SetMaxSize(v int64) *UpdateFleetCapacityInput { - s.MaxSize = &v - return s -} - -// SetMinSize sets the MinSize field's value. -func (s *UpdateFleetCapacityInput) SetMinSize(v int64) *UpdateFleetCapacityInput { - s.MinSize = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateFleetCapacityOutput type UpdateFleetCapacityOutput struct { @@ -15257,12 +12551,6 @@ func (s UpdateFleetCapacityOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFleetId sets the FleetId field's value. -func (s *UpdateFleetCapacityOutput) SetFleetId(v string) *UpdateFleetCapacityOutput { - s.FleetId = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateFleetPortSettingsInput type UpdateFleetPortSettingsInput struct { @@ -15318,24 +12606,6 @@ func (s *UpdateFleetPortSettingsInput) Validate() error { return nil } -// SetFleetId sets the FleetId field's value. -func (s *UpdateFleetPortSettingsInput) SetFleetId(v string) *UpdateFleetPortSettingsInput { - s.FleetId = &v - return s -} - -// SetInboundPermissionAuthorizations sets the InboundPermissionAuthorizations field's value. -func (s *UpdateFleetPortSettingsInput) SetInboundPermissionAuthorizations(v []IpPermission) *UpdateFleetPortSettingsInput { - s.InboundPermissionAuthorizations = v - return s -} - -// SetInboundPermissionRevocations sets the InboundPermissionRevocations field's value. -func (s *UpdateFleetPortSettingsInput) SetInboundPermissionRevocations(v []IpPermission) *UpdateFleetPortSettingsInput { - s.InboundPermissionRevocations = v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateFleetPortSettingsOutput type UpdateFleetPortSettingsOutput struct { @@ -15362,12 +12632,6 @@ func (s UpdateFleetPortSettingsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFleetId sets the FleetId field's value. -func (s *UpdateFleetPortSettingsOutput) SetFleetId(v string) *UpdateFleetPortSettingsOutput { - s.FleetId = &v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateGameSessionInput type UpdateGameSessionInput struct { @@ -15429,36 +12693,6 @@ func (s *UpdateGameSessionInput) Validate() error { return nil } -// SetGameSessionId sets the GameSessionId field's value. -func (s *UpdateGameSessionInput) SetGameSessionId(v string) *UpdateGameSessionInput { - s.GameSessionId = &v - return s -} - -// SetMaximumPlayerSessionCount sets the MaximumPlayerSessionCount field's value. -func (s *UpdateGameSessionInput) SetMaximumPlayerSessionCount(v int64) *UpdateGameSessionInput { - s.MaximumPlayerSessionCount = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateGameSessionInput) SetName(v string) *UpdateGameSessionInput { - s.Name = &v - return s -} - -// SetPlayerSessionCreationPolicy sets the PlayerSessionCreationPolicy field's value. -func (s *UpdateGameSessionInput) SetPlayerSessionCreationPolicy(v PlayerSessionCreationPolicy) *UpdateGameSessionInput { - s.PlayerSessionCreationPolicy = v - return s -} - -// SetProtectionPolicy sets the ProtectionPolicy field's value. -func (s *UpdateGameSessionInput) SetProtectionPolicy(v ProtectionPolicy) *UpdateGameSessionInput { - s.ProtectionPolicy = v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateGameSessionOutput type UpdateGameSessionOutput struct { @@ -15485,12 +12719,6 @@ func (s UpdateGameSessionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGameSession sets the GameSession field's value. -func (s *UpdateGameSessionOutput) SetGameSession(v *GameSession) *UpdateGameSessionOutput { - s.GameSession = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateGameSessionQueueInput type UpdateGameSessionQueueInput struct { @@ -15559,30 +12787,6 @@ func (s *UpdateGameSessionQueueInput) Validate() error { return nil } -// SetDestinations sets the Destinations field's value. -func (s *UpdateGameSessionQueueInput) SetDestinations(v []GameSessionQueueDestination) *UpdateGameSessionQueueInput { - s.Destinations = v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateGameSessionQueueInput) SetName(v string) *UpdateGameSessionQueueInput { - s.Name = &v - return s -} - -// SetPlayerLatencyPolicies sets the PlayerLatencyPolicies field's value. -func (s *UpdateGameSessionQueueInput) SetPlayerLatencyPolicies(v []PlayerLatencyPolicy) *UpdateGameSessionQueueInput { - s.PlayerLatencyPolicies = v - return s -} - -// SetTimeoutInSeconds sets the TimeoutInSeconds field's value. -func (s *UpdateGameSessionQueueInput) SetTimeoutInSeconds(v int64) *UpdateGameSessionQueueInput { - s.TimeoutInSeconds = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateGameSessionQueueOutput type UpdateGameSessionQueueOutput struct { @@ -15609,12 +12813,6 @@ func (s UpdateGameSessionQueueOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGameSessionQueue sets the GameSessionQueue field's value. -func (s *UpdateGameSessionQueueOutput) SetGameSessionQueue(v *GameSessionQueue) *UpdateGameSessionQueueOutput { - s.GameSessionQueue = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateMatchmakingConfigurationInput type UpdateMatchmakingConfigurationInput struct { @@ -15733,78 +12931,6 @@ func (s *UpdateMatchmakingConfigurationInput) Validate() error { return nil } -// SetAcceptanceRequired sets the AcceptanceRequired field's value. -func (s *UpdateMatchmakingConfigurationInput) SetAcceptanceRequired(v bool) *UpdateMatchmakingConfigurationInput { - s.AcceptanceRequired = &v - return s -} - -// SetAcceptanceTimeoutSeconds sets the AcceptanceTimeoutSeconds field's value. -func (s *UpdateMatchmakingConfigurationInput) SetAcceptanceTimeoutSeconds(v int64) *UpdateMatchmakingConfigurationInput { - s.AcceptanceTimeoutSeconds = &v - return s -} - -// SetAdditionalPlayerCount sets the AdditionalPlayerCount field's value. -func (s *UpdateMatchmakingConfigurationInput) SetAdditionalPlayerCount(v int64) *UpdateMatchmakingConfigurationInput { - s.AdditionalPlayerCount = &v - return s -} - -// SetCustomEventData sets the CustomEventData field's value. -func (s *UpdateMatchmakingConfigurationInput) SetCustomEventData(v string) *UpdateMatchmakingConfigurationInput { - s.CustomEventData = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateMatchmakingConfigurationInput) SetDescription(v string) *UpdateMatchmakingConfigurationInput { - s.Description = &v - return s -} - -// SetGameProperties sets the GameProperties field's value. -func (s *UpdateMatchmakingConfigurationInput) SetGameProperties(v []GameProperty) *UpdateMatchmakingConfigurationInput { - s.GameProperties = v - return s -} - -// SetGameSessionData sets the GameSessionData field's value. -func (s *UpdateMatchmakingConfigurationInput) SetGameSessionData(v string) *UpdateMatchmakingConfigurationInput { - s.GameSessionData = &v - return s -} - -// SetGameSessionQueueArns sets the GameSessionQueueArns field's value. -func (s *UpdateMatchmakingConfigurationInput) SetGameSessionQueueArns(v []string) *UpdateMatchmakingConfigurationInput { - s.GameSessionQueueArns = v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateMatchmakingConfigurationInput) SetName(v string) *UpdateMatchmakingConfigurationInput { - s.Name = &v - return s -} - -// SetNotificationTarget sets the NotificationTarget field's value. -func (s *UpdateMatchmakingConfigurationInput) SetNotificationTarget(v string) *UpdateMatchmakingConfigurationInput { - s.NotificationTarget = &v - return s -} - -// SetRequestTimeoutSeconds sets the RequestTimeoutSeconds field's value. -func (s *UpdateMatchmakingConfigurationInput) SetRequestTimeoutSeconds(v int64) *UpdateMatchmakingConfigurationInput { - s.RequestTimeoutSeconds = &v - return s -} - -// SetRuleSetName sets the RuleSetName field's value. -func (s *UpdateMatchmakingConfigurationInput) SetRuleSetName(v string) *UpdateMatchmakingConfigurationInput { - s.RuleSetName = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateMatchmakingConfigurationOutput type UpdateMatchmakingConfigurationOutput struct { @@ -15831,12 +12957,6 @@ func (s UpdateMatchmakingConfigurationOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetConfiguration sets the Configuration field's value. -func (s *UpdateMatchmakingConfigurationOutput) SetConfiguration(v *MatchmakingConfiguration) *UpdateMatchmakingConfigurationOutput { - s.Configuration = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateRuntimeConfigurationInput type UpdateRuntimeConfigurationInput struct { @@ -15891,18 +13011,6 @@ func (s *UpdateRuntimeConfigurationInput) Validate() error { return nil } -// SetFleetId sets the FleetId field's value. -func (s *UpdateRuntimeConfigurationInput) SetFleetId(v string) *UpdateRuntimeConfigurationInput { - s.FleetId = &v - return s -} - -// SetRuntimeConfiguration sets the RuntimeConfiguration field's value. -func (s *UpdateRuntimeConfigurationInput) SetRuntimeConfiguration(v *RuntimeConfiguration) *UpdateRuntimeConfigurationInput { - s.RuntimeConfiguration = v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateRuntimeConfigurationOutput type UpdateRuntimeConfigurationOutput struct { @@ -15930,12 +13038,6 @@ func (s UpdateRuntimeConfigurationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRuntimeConfiguration sets the RuntimeConfiguration field's value. -func (s *UpdateRuntimeConfigurationOutput) SetRuntimeConfiguration(v *RuntimeConfiguration) *UpdateRuntimeConfigurationOutput { - s.RuntimeConfiguration = v - return s -} - // Represents the input for a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ValidateMatchmakingRuleSetInput type ValidateMatchmakingRuleSetInput struct { @@ -15974,12 +13076,6 @@ func (s *ValidateMatchmakingRuleSetInput) Validate() error { return nil } -// SetRuleSetBody sets the RuleSetBody field's value. -func (s *ValidateMatchmakingRuleSetInput) SetRuleSetBody(v string) *ValidateMatchmakingRuleSetInput { - s.RuleSetBody = &v - return s -} - // Represents the returned data in response to a request action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ValidateMatchmakingRuleSetOutput type ValidateMatchmakingRuleSetOutput struct { @@ -16006,12 +13102,6 @@ func (s ValidateMatchmakingRuleSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetValid sets the Valid field's value. -func (s *ValidateMatchmakingRuleSetOutput) SetValid(v bool) *ValidateMatchmakingRuleSetOutput { - s.Valid = &v - return s -} - // Represents an authorization for a VPC peering connection between the VPC // for an Amazon GameLift fleet and another VPC on an account you have access // to. This authorization must exist and be valid for the peering connection @@ -16066,36 +13156,6 @@ func (s VpcPeeringAuthorization) GoString() string { return s.String() } -// SetCreationTime sets the CreationTime field's value. -func (s *VpcPeeringAuthorization) SetCreationTime(v time.Time) *VpcPeeringAuthorization { - s.CreationTime = &v - return s -} - -// SetExpirationTime sets the ExpirationTime field's value. -func (s *VpcPeeringAuthorization) SetExpirationTime(v time.Time) *VpcPeeringAuthorization { - s.ExpirationTime = &v - return s -} - -// SetGameLiftAwsAccountId sets the GameLiftAwsAccountId field's value. -func (s *VpcPeeringAuthorization) SetGameLiftAwsAccountId(v string) *VpcPeeringAuthorization { - s.GameLiftAwsAccountId = &v - return s -} - -// SetPeerVpcAwsAccountId sets the PeerVpcAwsAccountId field's value. -func (s *VpcPeeringAuthorization) SetPeerVpcAwsAccountId(v string) *VpcPeeringAuthorization { - s.PeerVpcAwsAccountId = &v - return s -} - -// SetPeerVpcId sets the PeerVpcId field's value. -func (s *VpcPeeringAuthorization) SetPeerVpcId(v string) *VpcPeeringAuthorization { - s.PeerVpcId = &v - return s -} - // Represents a peering connection between a VPC on one of your AWS accounts // and the VPC for your Amazon GameLift fleets. This record may be for an active // peering connection or a pending connection that has not yet been established. @@ -16157,42 +13217,6 @@ func (s VpcPeeringConnection) GoString() string { return s.String() } -// SetFleetId sets the FleetId field's value. -func (s *VpcPeeringConnection) SetFleetId(v string) *VpcPeeringConnection { - s.FleetId = &v - return s -} - -// SetGameLiftVpcId sets the GameLiftVpcId field's value. -func (s *VpcPeeringConnection) SetGameLiftVpcId(v string) *VpcPeeringConnection { - s.GameLiftVpcId = &v - return s -} - -// SetIpV4CidrBlock sets the IpV4CidrBlock field's value. -func (s *VpcPeeringConnection) SetIpV4CidrBlock(v string) *VpcPeeringConnection { - s.IpV4CidrBlock = &v - return s -} - -// SetPeerVpcId sets the PeerVpcId field's value. -func (s *VpcPeeringConnection) SetPeerVpcId(v string) *VpcPeeringConnection { - s.PeerVpcId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *VpcPeeringConnection) SetStatus(v *VpcPeeringConnectionStatus) *VpcPeeringConnection { - s.Status = v - return s -} - -// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value. -func (s *VpcPeeringConnection) SetVpcPeeringConnectionId(v string) *VpcPeeringConnection { - s.VpcPeeringConnectionId = &v - return s -} - // Represents status information for a VPC peering connection. Status is associated // with a VpcPeeringConnection object. Status codes and messages are provided // from EC2 (). (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_VpcPeeringConnectionStateReason.html) @@ -16218,18 +13242,6 @@ func (s VpcPeeringConnectionStatus) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *VpcPeeringConnectionStatus) SetCode(v string) *VpcPeeringConnectionStatus { - s.Code = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *VpcPeeringConnectionStatus) SetMessage(v string) *VpcPeeringConnectionStatus { - s.Message = &v - return s -} - type AcceptanceType string // Enum values for AcceptanceType diff --git a/service/glacier/api.go b/service/glacier/api.go index bb59f0d5818..78f004f9fdb 100644 --- a/service/glacier/api.go +++ b/service/glacier/api.go @@ -2488,24 +2488,6 @@ func (s *AbortMultipartUploadInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *AbortMultipartUploadInput) SetAccountId(v string) *AbortMultipartUploadInput { - s.AccountId = &v - return s -} - -// SetUploadId sets the UploadId field's value. -func (s *AbortMultipartUploadInput) SetUploadId(v string) *AbortMultipartUploadInput { - s.UploadId = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *AbortMultipartUploadInput) SetVaultName(v string) *AbortMultipartUploadInput { - s.VaultName = &v - return s -} - type AbortMultipartUploadOutput struct { _ struct{} `type:"structure"` @@ -2575,18 +2557,6 @@ func (s *AbortVaultLockInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *AbortVaultLockInput) SetAccountId(v string) *AbortVaultLockInput { - s.AccountId = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *AbortVaultLockInput) SetVaultName(v string) *AbortVaultLockInput { - s.VaultName = &v - return s -} - type AbortVaultLockOutput struct { _ struct{} `type:"structure"` @@ -2659,24 +2629,6 @@ func (s *AddTagsToVaultInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *AddTagsToVaultInput) SetAccountId(v string) *AddTagsToVaultInput { - s.AccountId = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *AddTagsToVaultInput) SetTags(v map[string]string) *AddTagsToVaultInput { - s.Tags = v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *AddTagsToVaultInput) SetVaultName(v string) *AddTagsToVaultInput { - s.VaultName = &v - return s -} - type AddTagsToVaultOutput struct { _ struct{} `type:"structure"` @@ -2735,42 +2687,6 @@ func (s CSVInput) GoString() string { return s.String() } -// SetComments sets the Comments field's value. -func (s *CSVInput) SetComments(v string) *CSVInput { - s.Comments = &v - return s -} - -// SetFieldDelimiter sets the FieldDelimiter field's value. -func (s *CSVInput) SetFieldDelimiter(v string) *CSVInput { - s.FieldDelimiter = &v - return s -} - -// SetFileHeaderInfo sets the FileHeaderInfo field's value. -func (s *CSVInput) SetFileHeaderInfo(v FileHeaderInfo) *CSVInput { - s.FileHeaderInfo = v - return s -} - -// SetQuoteCharacter sets the QuoteCharacter field's value. -func (s *CSVInput) SetQuoteCharacter(v string) *CSVInput { - s.QuoteCharacter = &v - return s -} - -// SetQuoteEscapeCharacter sets the QuoteEscapeCharacter field's value. -func (s *CSVInput) SetQuoteEscapeCharacter(v string) *CSVInput { - s.QuoteEscapeCharacter = &v - return s -} - -// SetRecordDelimiter sets the RecordDelimiter field's value. -func (s *CSVInput) SetRecordDelimiter(v string) *CSVInput { - s.RecordDelimiter = &v - return s -} - // Contains information about the comma-separated value (CSV) file that the // job results are stored in. type CSVOutput struct { @@ -2805,36 +2721,6 @@ func (s CSVOutput) GoString() string { return s.String() } -// SetFieldDelimiter sets the FieldDelimiter field's value. -func (s *CSVOutput) SetFieldDelimiter(v string) *CSVOutput { - s.FieldDelimiter = &v - return s -} - -// SetQuoteCharacter sets the QuoteCharacter field's value. -func (s *CSVOutput) SetQuoteCharacter(v string) *CSVOutput { - s.QuoteCharacter = &v - return s -} - -// SetQuoteEscapeCharacter sets the QuoteEscapeCharacter field's value. -func (s *CSVOutput) SetQuoteEscapeCharacter(v string) *CSVOutput { - s.QuoteEscapeCharacter = &v - return s -} - -// SetQuoteFields sets the QuoteFields field's value. -func (s *CSVOutput) SetQuoteFields(v QuoteFields) *CSVOutput { - s.QuoteFields = v - return s -} - -// SetRecordDelimiter sets the RecordDelimiter field's value. -func (s *CSVOutput) SetRecordDelimiter(v string) *CSVOutput { - s.RecordDelimiter = &v - return s -} - // Provides options to complete a multipart upload operation. This informs Amazon // Glacier that all the archive parts have been uploaded and Amazon Glacier // can now assemble the archive from the uploaded parts. After assembling and @@ -2905,36 +2791,6 @@ func (s *CompleteMultipartUploadInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *CompleteMultipartUploadInput) SetAccountId(v string) *CompleteMultipartUploadInput { - s.AccountId = &v - return s -} - -// SetArchiveSize sets the ArchiveSize field's value. -func (s *CompleteMultipartUploadInput) SetArchiveSize(v string) *CompleteMultipartUploadInput { - s.ArchiveSize = &v - return s -} - -// SetChecksum sets the Checksum field's value. -func (s *CompleteMultipartUploadInput) SetChecksum(v string) *CompleteMultipartUploadInput { - s.Checksum = &v - return s -} - -// SetUploadId sets the UploadId field's value. -func (s *CompleteMultipartUploadInput) SetUploadId(v string) *CompleteMultipartUploadInput { - s.UploadId = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *CompleteMultipartUploadInput) SetVaultName(v string) *CompleteMultipartUploadInput { - s.VaultName = &v - return s -} - // The input values for CompleteVaultLock. type CompleteVaultLockInput struct { _ struct{} `type:"structure"` @@ -2992,24 +2848,6 @@ func (s *CompleteVaultLockInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *CompleteVaultLockInput) SetAccountId(v string) *CompleteVaultLockInput { - s.AccountId = &v - return s -} - -// SetLockId sets the LockId field's value. -func (s *CompleteVaultLockInput) SetLockId(v string) *CompleteVaultLockInput { - s.LockId = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *CompleteVaultLockInput) SetVaultName(v string) *CompleteVaultLockInput { - s.VaultName = &v - return s -} - type CompleteVaultLockOutput struct { _ struct{} `type:"structure"` @@ -3079,18 +2917,6 @@ func (s *CreateVaultInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *CreateVaultInput) SetAccountId(v string) *CreateVaultInput { - s.AccountId = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *CreateVaultInput) SetVaultName(v string) *CreateVaultInput { - s.VaultName = &v - return s -} - // Contains the Amazon Glacier response to your request. type CreateVaultOutput struct { _ struct{} `type:"structure"` @@ -3116,12 +2942,6 @@ func (s CreateVaultOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLocation sets the Location field's value. -func (s *CreateVaultOutput) SetLocation(v string) *CreateVaultOutput { - s.Location = &v - return s -} - // Data retrieval policy. type DataRetrievalPolicy struct { _ struct{} `type:"structure"` @@ -3141,12 +2961,6 @@ func (s DataRetrievalPolicy) GoString() string { return s.String() } -// SetRules sets the Rules field's value. -func (s *DataRetrievalPolicy) SetRules(v []DataRetrievalRule) *DataRetrievalPolicy { - s.Rules = v - return s -} - // Data retrieval policy rule. type DataRetrievalRule struct { _ struct{} `type:"structure"` @@ -3174,18 +2988,6 @@ func (s DataRetrievalRule) GoString() string { return s.String() } -// SetBytesPerHour sets the BytesPerHour field's value. -func (s *DataRetrievalRule) SetBytesPerHour(v int64) *DataRetrievalRule { - s.BytesPerHour = &v - return s -} - -// SetStrategy sets the Strategy field's value. -func (s *DataRetrievalRule) SetStrategy(v string) *DataRetrievalRule { - s.Strategy = &v - return s -} - // Provides options for deleting an archive from an Amazon Glacier vault. type DeleteArchiveInput struct { _ struct{} `type:"structure"` @@ -3242,24 +3044,6 @@ func (s *DeleteArchiveInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *DeleteArchiveInput) SetAccountId(v string) *DeleteArchiveInput { - s.AccountId = &v - return s -} - -// SetArchiveId sets the ArchiveId field's value. -func (s *DeleteArchiveInput) SetArchiveId(v string) *DeleteArchiveInput { - s.ArchiveId = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *DeleteArchiveInput) SetVaultName(v string) *DeleteArchiveInput { - s.VaultName = &v - return s -} - type DeleteArchiveOutput struct { _ struct{} `type:"structure"` @@ -3328,18 +3112,6 @@ func (s *DeleteVaultAccessPolicyInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *DeleteVaultAccessPolicyInput) SetAccountId(v string) *DeleteVaultAccessPolicyInput { - s.AccountId = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *DeleteVaultAccessPolicyInput) SetVaultName(v string) *DeleteVaultAccessPolicyInput { - s.VaultName = &v - return s -} - type DeleteVaultAccessPolicyOutput struct { _ struct{} `type:"structure"` @@ -3408,18 +3180,6 @@ func (s *DeleteVaultInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *DeleteVaultInput) SetAccountId(v string) *DeleteVaultInput { - s.AccountId = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *DeleteVaultInput) SetVaultName(v string) *DeleteVaultInput { - s.VaultName = &v - return s -} - // Provides options for deleting a vault notification configuration from an // Amazon Glacier vault. type DeleteVaultNotificationsInput struct { @@ -3468,18 +3228,6 @@ func (s *DeleteVaultNotificationsInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *DeleteVaultNotificationsInput) SetAccountId(v string) *DeleteVaultNotificationsInput { - s.AccountId = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *DeleteVaultNotificationsInput) SetVaultName(v string) *DeleteVaultNotificationsInput { - s.VaultName = &v - return s -} - type DeleteVaultNotificationsOutput struct { _ struct{} `type:"structure"` @@ -3578,24 +3326,6 @@ func (s *DescribeJobInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *DescribeJobInput) SetAccountId(v string) *DescribeJobInput { - s.AccountId = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *DescribeJobInput) SetJobId(v string) *DescribeJobInput { - s.JobId = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *DescribeJobInput) SetVaultName(v string) *DescribeJobInput { - s.VaultName = &v - return s -} - // Contains the description of an Amazon Glacier job. type DescribeJobOutput struct { _ struct{} `type:"structure"` @@ -3717,132 +3447,6 @@ func (s DescribeJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAction sets the Action field's value. -func (s *DescribeJobOutput) SetAction(v ActionCode) *DescribeJobOutput { - s.Action = v - return s -} - -// SetArchiveId sets the ArchiveId field's value. -func (s *DescribeJobOutput) SetArchiveId(v string) *DescribeJobOutput { - s.ArchiveId = &v - return s -} - -// SetArchiveSHA256TreeHash sets the ArchiveSHA256TreeHash field's value. -func (s *DescribeJobOutput) SetArchiveSHA256TreeHash(v string) *DescribeJobOutput { - s.ArchiveSHA256TreeHash = &v - return s -} - -// SetArchiveSizeInBytes sets the ArchiveSizeInBytes field's value. -func (s *DescribeJobOutput) SetArchiveSizeInBytes(v int64) *DescribeJobOutput { - s.ArchiveSizeInBytes = &v - return s -} - -// SetCompleted sets the Completed field's value. -func (s *DescribeJobOutput) SetCompleted(v bool) *DescribeJobOutput { - s.Completed = &v - return s -} - -// SetCompletionDate sets the CompletionDate field's value. -func (s *DescribeJobOutput) SetCompletionDate(v string) *DescribeJobOutput { - s.CompletionDate = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *DescribeJobOutput) SetCreationDate(v string) *DescribeJobOutput { - s.CreationDate = &v - return s -} - -// SetInventoryRetrievalParameters sets the InventoryRetrievalParameters field's value. -func (s *DescribeJobOutput) SetInventoryRetrievalParameters(v *InventoryRetrievalJobDescription) *DescribeJobOutput { - s.InventoryRetrievalParameters = v - return s -} - -// SetInventorySizeInBytes sets the InventorySizeInBytes field's value. -func (s *DescribeJobOutput) SetInventorySizeInBytes(v int64) *DescribeJobOutput { - s.InventorySizeInBytes = &v - return s -} - -// SetJobDescription sets the JobDescription field's value. -func (s *DescribeJobOutput) SetJobDescription(v string) *DescribeJobOutput { - s.JobDescription = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *DescribeJobOutput) SetJobId(v string) *DescribeJobOutput { - s.JobId = &v - return s -} - -// SetJobOutputPath sets the JobOutputPath field's value. -func (s *DescribeJobOutput) SetJobOutputPath(v string) *DescribeJobOutput { - s.JobOutputPath = &v - return s -} - -// SetOutputLocation sets the OutputLocation field's value. -func (s *DescribeJobOutput) SetOutputLocation(v *OutputLocation) *DescribeJobOutput { - s.OutputLocation = v - return s -} - -// SetRetrievalByteRange sets the RetrievalByteRange field's value. -func (s *DescribeJobOutput) SetRetrievalByteRange(v string) *DescribeJobOutput { - s.RetrievalByteRange = &v - return s -} - -// SetSHA256TreeHash sets the SHA256TreeHash field's value. -func (s *DescribeJobOutput) SetSHA256TreeHash(v string) *DescribeJobOutput { - s.SHA256TreeHash = &v - return s -} - -// SetSNSTopic sets the SNSTopic field's value. -func (s *DescribeJobOutput) SetSNSTopic(v string) *DescribeJobOutput { - s.SNSTopic = &v - return s -} - -// SetSelectParameters sets the SelectParameters field's value. -func (s *DescribeJobOutput) SetSelectParameters(v *SelectParameters) *DescribeJobOutput { - s.SelectParameters = v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *DescribeJobOutput) SetStatusCode(v StatusCode) *DescribeJobOutput { - s.StatusCode = v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *DescribeJobOutput) SetStatusMessage(v string) *DescribeJobOutput { - s.StatusMessage = &v - return s -} - -// SetTier sets the Tier field's value. -func (s *DescribeJobOutput) SetTier(v string) *DescribeJobOutput { - s.Tier = &v - return s -} - -// SetVaultARN sets the VaultARN field's value. -func (s *DescribeJobOutput) SetVaultARN(v string) *DescribeJobOutput { - s.VaultARN = &v - return s -} - // Provides options for retrieving metadata for a specific vault in Amazon Glacier. type DescribeVaultInput struct { _ struct{} `type:"structure"` @@ -3890,18 +3494,6 @@ func (s *DescribeVaultInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *DescribeVaultInput) SetAccountId(v string) *DescribeVaultInput { - s.AccountId = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *DescribeVaultInput) SetVaultName(v string) *DescribeVaultInput { - s.VaultName = &v - return s -} - // Contains the Amazon Glacier response to your request. type DescribeVaultOutput struct { _ struct{} `type:"structure"` @@ -3949,42 +3541,6 @@ func (s DescribeVaultOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreationDate sets the CreationDate field's value. -func (s *DescribeVaultOutput) SetCreationDate(v string) *DescribeVaultOutput { - s.CreationDate = &v - return s -} - -// SetLastInventoryDate sets the LastInventoryDate field's value. -func (s *DescribeVaultOutput) SetLastInventoryDate(v string) *DescribeVaultOutput { - s.LastInventoryDate = &v - return s -} - -// SetNumberOfArchives sets the NumberOfArchives field's value. -func (s *DescribeVaultOutput) SetNumberOfArchives(v int64) *DescribeVaultOutput { - s.NumberOfArchives = &v - return s -} - -// SetSizeInBytes sets the SizeInBytes field's value. -func (s *DescribeVaultOutput) SetSizeInBytes(v int64) *DescribeVaultOutput { - s.SizeInBytes = &v - return s -} - -// SetVaultARN sets the VaultARN field's value. -func (s *DescribeVaultOutput) SetVaultARN(v string) *DescribeVaultOutput { - s.VaultARN = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *DescribeVaultOutput) SetVaultName(v string) *DescribeVaultOutput { - s.VaultName = &v - return s -} - // Contains information about the encryption used to store the job results in // Amazon S3. type Encryption struct { @@ -4014,24 +3570,6 @@ func (s Encryption) GoString() string { return s.String() } -// SetEncryptionType sets the EncryptionType field's value. -func (s *Encryption) SetEncryptionType(v EncryptionType) *Encryption { - s.EncryptionType = v - return s -} - -// SetKMSContext sets the KMSContext field's value. -func (s *Encryption) SetKMSContext(v string) *Encryption { - s.KMSContext = &v - return s -} - -// SetKMSKeyId sets the KMSKeyId field's value. -func (s *Encryption) SetKMSKeyId(v string) *Encryption { - s.KMSKeyId = &v - return s -} - // Input for GetDataRetrievalPolicy. type GetDataRetrievalPolicyInput struct { _ struct{} `type:"structure"` @@ -4071,12 +3609,6 @@ func (s *GetDataRetrievalPolicyInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *GetDataRetrievalPolicyInput) SetAccountId(v string) *GetDataRetrievalPolicyInput { - s.AccountId = &v - return s -} - // Contains the Amazon Glacier response to the GetDataRetrievalPolicy request. type GetDataRetrievalPolicyOutput struct { _ struct{} `type:"structure"` @@ -4102,12 +3634,6 @@ func (s GetDataRetrievalPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicy sets the Policy field's value. -func (s *GetDataRetrievalPolicyOutput) SetPolicy(v *DataRetrievalPolicy) *GetDataRetrievalPolicyOutput { - s.Policy = v - return s -} - // Provides options for downloading output of an Amazon Glacier job. type GetJobOutputInput struct { _ struct{} `type:"structure"` @@ -4195,30 +3721,6 @@ func (s *GetJobOutputInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *GetJobOutputInput) SetAccountId(v string) *GetJobOutputInput { - s.AccountId = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *GetJobOutputInput) SetJobId(v string) *GetJobOutputInput { - s.JobId = &v - return s -} - -// SetRange sets the Range field's value. -func (s *GetJobOutputInput) SetRange(v string) *GetJobOutputInput { - s.Range = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *GetJobOutputInput) SetVaultName(v string) *GetJobOutputInput { - s.VaultName = &v - return s -} - // Contains the Amazon Glacier response to your request. type GetJobOutputOutput struct { _ struct{} `type:"structure" payload:"Body"` @@ -4284,48 +3786,6 @@ func (s GetJobOutputOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAcceptRanges sets the AcceptRanges field's value. -func (s *GetJobOutputOutput) SetAcceptRanges(v string) *GetJobOutputOutput { - s.AcceptRanges = &v - return s -} - -// SetArchiveDescription sets the ArchiveDescription field's value. -func (s *GetJobOutputOutput) SetArchiveDescription(v string) *GetJobOutputOutput { - s.ArchiveDescription = &v - return s -} - -// SetBody sets the Body field's value. -func (s *GetJobOutputOutput) SetBody(v io.ReadCloser) *GetJobOutputOutput { - s.Body = v - return s -} - -// SetChecksum sets the Checksum field's value. -func (s *GetJobOutputOutput) SetChecksum(v string) *GetJobOutputOutput { - s.Checksum = &v - return s -} - -// SetContentRange sets the ContentRange field's value. -func (s *GetJobOutputOutput) SetContentRange(v string) *GetJobOutputOutput { - s.ContentRange = &v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *GetJobOutputOutput) SetContentType(v string) *GetJobOutputOutput { - s.ContentType = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetJobOutputOutput) SetStatus(v int64) *GetJobOutputOutput { - s.Status = &v - return s -} - // Input for GetVaultAccessPolicy. type GetVaultAccessPolicyInput struct { _ struct{} `type:"structure"` @@ -4373,18 +3833,6 @@ func (s *GetVaultAccessPolicyInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *GetVaultAccessPolicyInput) SetAccountId(v string) *GetVaultAccessPolicyInput { - s.AccountId = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *GetVaultAccessPolicyInput) SetVaultName(v string) *GetVaultAccessPolicyInput { - s.VaultName = &v - return s -} - // Output for GetVaultAccessPolicy. type GetVaultAccessPolicyOutput struct { _ struct{} `type:"structure" payload:"Policy"` @@ -4410,12 +3858,6 @@ func (s GetVaultAccessPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicy sets the Policy field's value. -func (s *GetVaultAccessPolicyOutput) SetPolicy(v *VaultAccessPolicy) *GetVaultAccessPolicyOutput { - s.Policy = v - return s -} - // The input values for GetVaultLock. type GetVaultLockInput struct { _ struct{} `type:"structure"` @@ -4463,18 +3905,6 @@ func (s *GetVaultLockInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *GetVaultLockInput) SetAccountId(v string) *GetVaultLockInput { - s.AccountId = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *GetVaultLockInput) SetVaultName(v string) *GetVaultLockInput { - s.VaultName = &v - return s -} - // Contains the Amazon Glacier response to your request. type GetVaultLockOutput struct { _ struct{} `type:"structure"` @@ -4511,30 +3941,6 @@ func (s GetVaultLockOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreationDate sets the CreationDate field's value. -func (s *GetVaultLockOutput) SetCreationDate(v string) *GetVaultLockOutput { - s.CreationDate = &v - return s -} - -// SetExpirationDate sets the ExpirationDate field's value. -func (s *GetVaultLockOutput) SetExpirationDate(v string) *GetVaultLockOutput { - s.ExpirationDate = &v - return s -} - -// SetPolicy sets the Policy field's value. -func (s *GetVaultLockOutput) SetPolicy(v string) *GetVaultLockOutput { - s.Policy = &v - return s -} - -// SetState sets the State field's value. -func (s *GetVaultLockOutput) SetState(v string) *GetVaultLockOutput { - s.State = &v - return s -} - // Provides options for retrieving the notification configuration set on an // Amazon Glacier vault. type GetVaultNotificationsInput struct { @@ -4583,18 +3989,6 @@ func (s *GetVaultNotificationsInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *GetVaultNotificationsInput) SetAccountId(v string) *GetVaultNotificationsInput { - s.AccountId = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *GetVaultNotificationsInput) SetVaultName(v string) *GetVaultNotificationsInput { - s.VaultName = &v - return s -} - // Contains the Amazon Glacier response to your request. type GetVaultNotificationsOutput struct { _ struct{} `type:"structure" payload:"VaultNotificationConfig"` @@ -4620,12 +4014,6 @@ func (s GetVaultNotificationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVaultNotificationConfig sets the VaultNotificationConfig field's value. -func (s *GetVaultNotificationsOutput) SetVaultNotificationConfig(v *VaultNotificationConfig) *GetVaultNotificationsOutput { - s.VaultNotificationConfig = v - return s -} - // Contains information about a grant. type Grant struct { _ struct{} `type:"structure"` @@ -4662,18 +4050,6 @@ func (s *Grant) Validate() error { return nil } -// SetGrantee sets the Grantee field's value. -func (s *Grant) SetGrantee(v *Grantee) *Grant { - s.Grantee = v - return s -} - -// SetPermission sets the Permission field's value. -func (s *Grant) SetPermission(v Permission) *Grant { - s.Permission = v - return s -} - // Contains information about the grantee. type Grantee struct { _ struct{} `type:"structure"` @@ -4719,36 +4095,6 @@ func (s *Grantee) Validate() error { return nil } -// SetDisplayName sets the DisplayName field's value. -func (s *Grantee) SetDisplayName(v string) *Grantee { - s.DisplayName = &v - return s -} - -// SetEmailAddress sets the EmailAddress field's value. -func (s *Grantee) SetEmailAddress(v string) *Grantee { - s.EmailAddress = &v - return s -} - -// SetID sets the ID field's value. -func (s *Grantee) SetID(v string) *Grantee { - s.ID = &v - return s -} - -// SetType sets the Type field's value. -func (s *Grantee) SetType(v Type) *Grantee { - s.Type = v - return s -} - -// SetURI sets the URI field's value. -func (s *Grantee) SetURI(v string) *Grantee { - s.URI = &v - return s -} - // Provides options for initiating an Amazon Glacier job. type InitiateJobInput struct { _ struct{} `type:"structure" payload:"JobParameters"` @@ -4804,24 +4150,6 @@ func (s *InitiateJobInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *InitiateJobInput) SetAccountId(v string) *InitiateJobInput { - s.AccountId = &v - return s -} - -// SetJobParameters sets the JobParameters field's value. -func (s *InitiateJobInput) SetJobParameters(v *JobParameters) *InitiateJobInput { - s.JobParameters = v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *InitiateJobInput) SetVaultName(v string) *InitiateJobInput { - s.VaultName = &v - return s -} - // Contains the Amazon Glacier response to your request. type InitiateJobOutput struct { _ struct{} `type:"structure"` @@ -4853,24 +4181,6 @@ func (s InitiateJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobId sets the JobId field's value. -func (s *InitiateJobOutput) SetJobId(v string) *InitiateJobOutput { - s.JobId = &v - return s -} - -// SetJobOutputPath sets the JobOutputPath field's value. -func (s *InitiateJobOutput) SetJobOutputPath(v string) *InitiateJobOutput { - s.JobOutputPath = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *InitiateJobOutput) SetLocation(v string) *InitiateJobOutput { - s.Location = &v - return s -} - // Provides options for initiating a multipart upload to an Amazon Glacier vault. type InitiateMultipartUploadInput struct { _ struct{} `type:"structure"` @@ -4930,30 +4240,6 @@ func (s *InitiateMultipartUploadInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *InitiateMultipartUploadInput) SetAccountId(v string) *InitiateMultipartUploadInput { - s.AccountId = &v - return s -} - -// SetArchiveDescription sets the ArchiveDescription field's value. -func (s *InitiateMultipartUploadInput) SetArchiveDescription(v string) *InitiateMultipartUploadInput { - s.ArchiveDescription = &v - return s -} - -// SetPartSize sets the PartSize field's value. -func (s *InitiateMultipartUploadInput) SetPartSize(v string) *InitiateMultipartUploadInput { - s.PartSize = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *InitiateMultipartUploadInput) SetVaultName(v string) *InitiateMultipartUploadInput { - s.VaultName = &v - return s -} - // The Amazon Glacier response to your request. type InitiateMultipartUploadOutput struct { _ struct{} `type:"structure"` @@ -4983,18 +4269,6 @@ func (s InitiateMultipartUploadOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLocation sets the Location field's value. -func (s *InitiateMultipartUploadOutput) SetLocation(v string) *InitiateMultipartUploadOutput { - s.Location = &v - return s -} - -// SetUploadId sets the UploadId field's value. -func (s *InitiateMultipartUploadOutput) SetUploadId(v string) *InitiateMultipartUploadOutput { - s.UploadId = &v - return s -} - // The input values for InitiateVaultLock. type InitiateVaultLockInput struct { _ struct{} `type:"structure" payload:"Policy"` @@ -5046,24 +4320,6 @@ func (s *InitiateVaultLockInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *InitiateVaultLockInput) SetAccountId(v string) *InitiateVaultLockInput { - s.AccountId = &v - return s -} - -// SetPolicy sets the Policy field's value. -func (s *InitiateVaultLockInput) SetPolicy(v *VaultLockPolicy) *InitiateVaultLockInput { - s.Policy = v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *InitiateVaultLockInput) SetVaultName(v string) *InitiateVaultLockInput { - s.VaultName = &v - return s -} - // Contains the Amazon Glacier response to your request. type InitiateVaultLockOutput struct { _ struct{} `type:"structure"` @@ -5089,12 +4345,6 @@ func (s InitiateVaultLockOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLockId sets the LockId field's value. -func (s *InitiateVaultLockOutput) SetLockId(v string) *InitiateVaultLockOutput { - s.LockId = &v - return s -} - // Describes how the archive is serialized. type InputSerialization struct { _ struct{} `type:"structure"` @@ -5113,12 +4363,6 @@ func (s InputSerialization) GoString() string { return s.String() } -// SetCsv sets the Csv field's value. -func (s *InputSerialization) SetCsv(v *CSVInput) *InputSerialization { - s.Csv = v - return s -} - // Describes the options for a range inventory retrieval job. type InventoryRetrievalJobDescription struct { _ struct{} `type:"structure"` @@ -5161,36 +4405,6 @@ func (s InventoryRetrievalJobDescription) GoString() string { return s.String() } -// SetEndDate sets the EndDate field's value. -func (s *InventoryRetrievalJobDescription) SetEndDate(v string) *InventoryRetrievalJobDescription { - s.EndDate = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *InventoryRetrievalJobDescription) SetFormat(v string) *InventoryRetrievalJobDescription { - s.Format = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *InventoryRetrievalJobDescription) SetLimit(v string) *InventoryRetrievalJobDescription { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *InventoryRetrievalJobDescription) SetMarker(v string) *InventoryRetrievalJobDescription { - s.Marker = &v - return s -} - -// SetStartDate sets the StartDate field's value. -func (s *InventoryRetrievalJobDescription) SetStartDate(v string) *InventoryRetrievalJobDescription { - s.StartDate = &v - return s -} - // Provides options for specifying a range inventory retrieval job. type InventoryRetrievalJobInput struct { _ struct{} `type:"structure"` @@ -5226,30 +4440,6 @@ func (s InventoryRetrievalJobInput) GoString() string { return s.String() } -// SetEndDate sets the EndDate field's value. -func (s *InventoryRetrievalJobInput) SetEndDate(v string) *InventoryRetrievalJobInput { - s.EndDate = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *InventoryRetrievalJobInput) SetLimit(v string) *InventoryRetrievalJobInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *InventoryRetrievalJobInput) SetMarker(v string) *InventoryRetrievalJobInput { - s.Marker = &v - return s -} - -// SetStartDate sets the StartDate field's value. -func (s *InventoryRetrievalJobInput) SetStartDate(v string) *InventoryRetrievalJobInput { - s.StartDate = &v - return s -} - // Provides options for defining a job. type JobParameters struct { _ struct{} `type:"structure"` @@ -5332,66 +4522,6 @@ func (s *JobParameters) Validate() error { return nil } -// SetArchiveId sets the ArchiveId field's value. -func (s *JobParameters) SetArchiveId(v string) *JobParameters { - s.ArchiveId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *JobParameters) SetDescription(v string) *JobParameters { - s.Description = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *JobParameters) SetFormat(v string) *JobParameters { - s.Format = &v - return s -} - -// SetInventoryRetrievalParameters sets the InventoryRetrievalParameters field's value. -func (s *JobParameters) SetInventoryRetrievalParameters(v *InventoryRetrievalJobInput) *JobParameters { - s.InventoryRetrievalParameters = v - return s -} - -// SetOutputLocation sets the OutputLocation field's value. -func (s *JobParameters) SetOutputLocation(v *OutputLocation) *JobParameters { - s.OutputLocation = v - return s -} - -// SetRetrievalByteRange sets the RetrievalByteRange field's value. -func (s *JobParameters) SetRetrievalByteRange(v string) *JobParameters { - s.RetrievalByteRange = &v - return s -} - -// SetSNSTopic sets the SNSTopic field's value. -func (s *JobParameters) SetSNSTopic(v string) *JobParameters { - s.SNSTopic = &v - return s -} - -// SetSelectParameters sets the SelectParameters field's value. -func (s *JobParameters) SetSelectParameters(v *SelectParameters) *JobParameters { - s.SelectParameters = v - return s -} - -// SetTier sets the Tier field's value. -func (s *JobParameters) SetTier(v string) *JobParameters { - s.Tier = &v - return s -} - -// SetType sets the Type field's value. -func (s *JobParameters) SetType(v string) *JobParameters { - s.Type = &v - return s -} - // Provides options for retrieving a job list for an Amazon Glacier vault. type ListJobsInput struct { _ struct{} `type:"structure"` @@ -5457,42 +4587,6 @@ func (s *ListJobsInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *ListJobsInput) SetAccountId(v string) *ListJobsInput { - s.AccountId = &v - return s -} - -// SetCompleted sets the Completed field's value. -func (s *ListJobsInput) SetCompleted(v string) *ListJobsInput { - s.Completed = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListJobsInput) SetLimit(v string) *ListJobsInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListJobsInput) SetMarker(v string) *ListJobsInput { - s.Marker = &v - return s -} - -// SetStatuscode sets the Statuscode field's value. -func (s *ListJobsInput) SetStatuscode(v string) *ListJobsInput { - s.Statuscode = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *ListJobsInput) SetVaultName(v string) *ListJobsInput { - s.VaultName = &v - return s -} - // Contains the Amazon Glacier response to your request. type ListJobsOutput struct { _ struct{} `type:"structure"` @@ -5524,18 +4618,6 @@ func (s ListJobsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobList sets the JobList field's value. -func (s *ListJobsOutput) SetJobList(v []DescribeJobOutput) *ListJobsOutput { - s.JobList = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListJobsOutput) SetMarker(v string) *ListJobsOutput { - s.Marker = &v - return s -} - // Provides options for retrieving list of in-progress multipart uploads for // an Amazon Glacier vault. type ListMultipartUploadsInput struct { @@ -5595,30 +4677,6 @@ func (s *ListMultipartUploadsInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *ListMultipartUploadsInput) SetAccountId(v string) *ListMultipartUploadsInput { - s.AccountId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListMultipartUploadsInput) SetLimit(v string) *ListMultipartUploadsInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListMultipartUploadsInput) SetMarker(v string) *ListMultipartUploadsInput { - s.Marker = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *ListMultipartUploadsInput) SetVaultName(v string) *ListMultipartUploadsInput { - s.VaultName = &v - return s -} - // Contains the Amazon Glacier response to your request. type ListMultipartUploadsOutput struct { _ struct{} `type:"structure"` @@ -5649,18 +4707,6 @@ func (s ListMultipartUploadsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *ListMultipartUploadsOutput) SetMarker(v string) *ListMultipartUploadsOutput { - s.Marker = &v - return s -} - -// SetUploadsList sets the UploadsList field's value. -func (s *ListMultipartUploadsOutput) SetUploadsList(v []UploadListElement) *ListMultipartUploadsOutput { - s.UploadsList = v - return s -} - // Provides options for retrieving a list of parts of an archive that have been // uploaded in a specific multipart upload. type ListPartsInput struct { @@ -5730,36 +4776,6 @@ func (s *ListPartsInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *ListPartsInput) SetAccountId(v string) *ListPartsInput { - s.AccountId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListPartsInput) SetLimit(v string) *ListPartsInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListPartsInput) SetMarker(v string) *ListPartsInput { - s.Marker = &v - return s -} - -// SetUploadId sets the UploadId field's value. -func (s *ListPartsInput) SetUploadId(v string) *ListPartsInput { - s.UploadId = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *ListPartsInput) SetVaultName(v string) *ListPartsInput { - s.VaultName = &v - return s -} - // Contains the Amazon Glacier response to your request. type ListPartsOutput struct { _ struct{} `type:"structure"` @@ -5809,48 +4825,6 @@ func (s ListPartsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArchiveDescription sets the ArchiveDescription field's value. -func (s *ListPartsOutput) SetArchiveDescription(v string) *ListPartsOutput { - s.ArchiveDescription = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *ListPartsOutput) SetCreationDate(v string) *ListPartsOutput { - s.CreationDate = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListPartsOutput) SetMarker(v string) *ListPartsOutput { - s.Marker = &v - return s -} - -// SetMultipartUploadId sets the MultipartUploadId field's value. -func (s *ListPartsOutput) SetMultipartUploadId(v string) *ListPartsOutput { - s.MultipartUploadId = &v - return s -} - -// SetPartSizeInBytes sets the PartSizeInBytes field's value. -func (s *ListPartsOutput) SetPartSizeInBytes(v int64) *ListPartsOutput { - s.PartSizeInBytes = &v - return s -} - -// SetParts sets the Parts field's value. -func (s *ListPartsOutput) SetParts(v []PartListElement) *ListPartsOutput { - s.Parts = v - return s -} - -// SetVaultARN sets the VaultARN field's value. -func (s *ListPartsOutput) SetVaultARN(v string) *ListPartsOutput { - s.VaultARN = &v - return s -} - type ListProvisionedCapacityInput struct { _ struct{} `type:"structure"` @@ -5888,12 +4862,6 @@ func (s *ListProvisionedCapacityInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *ListProvisionedCapacityInput) SetAccountId(v string) *ListProvisionedCapacityInput { - s.AccountId = &v - return s -} - type ListProvisionedCapacityOutput struct { _ struct{} `type:"structure"` @@ -5918,12 +4886,6 @@ func (s ListProvisionedCapacityOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetProvisionedCapacityList sets the ProvisionedCapacityList field's value. -func (s *ListProvisionedCapacityOutput) SetProvisionedCapacityList(v []ProvisionedCapacityDescription) *ListProvisionedCapacityOutput { - s.ProvisionedCapacityList = v - return s -} - // The input value for ListTagsForVaultInput. type ListTagsForVaultInput struct { _ struct{} `type:"structure"` @@ -5971,18 +4933,6 @@ func (s *ListTagsForVaultInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *ListTagsForVaultInput) SetAccountId(v string) *ListTagsForVaultInput { - s.AccountId = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *ListTagsForVaultInput) SetVaultName(v string) *ListTagsForVaultInput { - s.VaultName = &v - return s -} - // Contains the Amazon Glacier response to your request. type ListTagsForVaultOutput struct { _ struct{} `type:"structure"` @@ -6008,12 +4958,6 @@ func (s ListTagsForVaultOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTags sets the Tags field's value. -func (s *ListTagsForVaultOutput) SetTags(v map[string]string) *ListTagsForVaultOutput { - s.Tags = v - return s -} - // Provides options to retrieve the vault list owned by the calling user's account. // The list provides metadata information for each vault. type ListVaultsInput struct { @@ -6063,24 +5007,6 @@ func (s *ListVaultsInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *ListVaultsInput) SetAccountId(v string) *ListVaultsInput { - s.AccountId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListVaultsInput) SetLimit(v string) *ListVaultsInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListVaultsInput) SetMarker(v string) *ListVaultsInput { - s.Marker = &v - return s -} - // Contains the Amazon Glacier response to your request. type ListVaultsOutput struct { _ struct{} `type:"structure"` @@ -6110,18 +5036,6 @@ func (s ListVaultsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *ListVaultsOutput) SetMarker(v string) *ListVaultsOutput { - s.Marker = &v - return s -} - -// SetVaultList sets the VaultList field's value. -func (s *ListVaultsOutput) SetVaultList(v []DescribeVaultOutput) *ListVaultsOutput { - s.VaultList = v - return s -} - // Contains information about the location where the select job results are // stored. type OutputLocation struct { @@ -6156,12 +5070,6 @@ func (s *OutputLocation) Validate() error { return nil } -// SetS3 sets the S3 field's value. -func (s *OutputLocation) SetS3(v *S3Location) *OutputLocation { - s.S3 = v - return s -} - // Describes how the select output is serialized. type OutputSerialization struct { _ struct{} `type:"structure"` @@ -6180,12 +5088,6 @@ func (s OutputSerialization) GoString() string { return s.String() } -// SetCsv sets the Csv field's value. -func (s *OutputSerialization) SetCsv(v *CSVOutput) *OutputSerialization { - s.Csv = v - return s -} - // A list of the part sizes of the multipart upload. type PartListElement struct { _ struct{} `type:"structure"` @@ -6208,18 +5110,6 @@ func (s PartListElement) GoString() string { return s.String() } -// SetRangeInBytes sets the RangeInBytes field's value. -func (s *PartListElement) SetRangeInBytes(v string) *PartListElement { - s.RangeInBytes = &v - return s -} - -// SetSHA256TreeHash sets the SHA256TreeHash field's value. -func (s *PartListElement) SetSHA256TreeHash(v string) *PartListElement { - s.SHA256TreeHash = &v - return s -} - // The definition for a provisioned capacity unit. type ProvisionedCapacityDescription struct { _ struct{} `type:"structure"` @@ -6246,24 +5136,6 @@ func (s ProvisionedCapacityDescription) GoString() string { return s.String() } -// SetCapacityId sets the CapacityId field's value. -func (s *ProvisionedCapacityDescription) SetCapacityId(v string) *ProvisionedCapacityDescription { - s.CapacityId = &v - return s -} - -// SetExpirationDate sets the ExpirationDate field's value. -func (s *ProvisionedCapacityDescription) SetExpirationDate(v string) *ProvisionedCapacityDescription { - s.ExpirationDate = &v - return s -} - -// SetStartDate sets the StartDate field's value. -func (s *ProvisionedCapacityDescription) SetStartDate(v string) *ProvisionedCapacityDescription { - s.StartDate = &v - return s -} - type PurchaseProvisionedCapacityInput struct { _ struct{} `type:"structure"` @@ -6301,12 +5173,6 @@ func (s *PurchaseProvisionedCapacityInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *PurchaseProvisionedCapacityInput) SetAccountId(v string) *PurchaseProvisionedCapacityInput { - s.AccountId = &v - return s -} - type PurchaseProvisionedCapacityOutput struct { _ struct{} `type:"structure"` @@ -6331,12 +5197,6 @@ func (s PurchaseProvisionedCapacityOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCapacityId sets the CapacityId field's value. -func (s *PurchaseProvisionedCapacityOutput) SetCapacityId(v string) *PurchaseProvisionedCapacityOutput { - s.CapacityId = &v - return s -} - // The input value for RemoveTagsFromVaultInput. type RemoveTagsFromVaultInput struct { _ struct{} `type:"structure"` @@ -6387,24 +5247,6 @@ func (s *RemoveTagsFromVaultInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *RemoveTagsFromVaultInput) SetAccountId(v string) *RemoveTagsFromVaultInput { - s.AccountId = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *RemoveTagsFromVaultInput) SetTagKeys(v []string) *RemoveTagsFromVaultInput { - s.TagKeys = v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *RemoveTagsFromVaultInput) SetVaultName(v string) *RemoveTagsFromVaultInput { - s.VaultName = &v - return s -} - type RemoveTagsFromVaultOutput struct { _ struct{} `type:"structure"` @@ -6484,54 +5326,6 @@ func (s *S3Location) Validate() error { return nil } -// SetAccessControlList sets the AccessControlList field's value. -func (s *S3Location) SetAccessControlList(v []Grant) *S3Location { - s.AccessControlList = v - return s -} - -// SetBucketName sets the BucketName field's value. -func (s *S3Location) SetBucketName(v string) *S3Location { - s.BucketName = &v - return s -} - -// SetCannedACL sets the CannedACL field's value. -func (s *S3Location) SetCannedACL(v CannedACL) *S3Location { - s.CannedACL = v - return s -} - -// SetEncryption sets the Encryption field's value. -func (s *S3Location) SetEncryption(v *Encryption) *S3Location { - s.Encryption = v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *S3Location) SetPrefix(v string) *S3Location { - s.Prefix = &v - return s -} - -// SetStorageClass sets the StorageClass field's value. -func (s *S3Location) SetStorageClass(v StorageClass) *S3Location { - s.StorageClass = v - return s -} - -// SetTagging sets the Tagging field's value. -func (s *S3Location) SetTagging(v map[string]string) *S3Location { - s.Tagging = v - return s -} - -// SetUserMetadata sets the UserMetadata field's value. -func (s *S3Location) SetUserMetadata(v map[string]string) *S3Location { - s.UserMetadata = v - return s -} - // Contains information about the parameters used for a select. type SelectParameters struct { _ struct{} `type:"structure"` @@ -6559,30 +5353,6 @@ func (s SelectParameters) GoString() string { return s.String() } -// SetExpression sets the Expression field's value. -func (s *SelectParameters) SetExpression(v string) *SelectParameters { - s.Expression = &v - return s -} - -// SetExpressionType sets the ExpressionType field's value. -func (s *SelectParameters) SetExpressionType(v ExpressionType) *SelectParameters { - s.ExpressionType = v - return s -} - -// SetInputSerialization sets the InputSerialization field's value. -func (s *SelectParameters) SetInputSerialization(v *InputSerialization) *SelectParameters { - s.InputSerialization = v - return s -} - -// SetOutputSerialization sets the OutputSerialization field's value. -func (s *SelectParameters) SetOutputSerialization(v *OutputSerialization) *SelectParameters { - s.OutputSerialization = v - return s -} - // SetDataRetrievalPolicy input. type SetDataRetrievalPolicyInput struct { _ struct{} `type:"structure"` @@ -6625,18 +5395,6 @@ func (s *SetDataRetrievalPolicyInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *SetDataRetrievalPolicyInput) SetAccountId(v string) *SetDataRetrievalPolicyInput { - s.AccountId = &v - return s -} - -// SetPolicy sets the Policy field's value. -func (s *SetDataRetrievalPolicyInput) SetPolicy(v *DataRetrievalPolicy) *SetDataRetrievalPolicyInput { - s.Policy = v - return s -} - type SetDataRetrievalPolicyOutput struct { _ struct{} `type:"structure"` @@ -6708,24 +5466,6 @@ func (s *SetVaultAccessPolicyInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *SetVaultAccessPolicyInput) SetAccountId(v string) *SetVaultAccessPolicyInput { - s.AccountId = &v - return s -} - -// SetPolicy sets the Policy field's value. -func (s *SetVaultAccessPolicyInput) SetPolicy(v *VaultAccessPolicy) *SetVaultAccessPolicyInput { - s.Policy = v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *SetVaultAccessPolicyInput) SetVaultName(v string) *SetVaultAccessPolicyInput { - s.VaultName = &v - return s -} - type SetVaultAccessPolicyOutput struct { _ struct{} `type:"structure"` @@ -6798,24 +5538,6 @@ func (s *SetVaultNotificationsInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *SetVaultNotificationsInput) SetAccountId(v string) *SetVaultNotificationsInput { - s.AccountId = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *SetVaultNotificationsInput) SetVaultName(v string) *SetVaultNotificationsInput { - s.VaultName = &v - return s -} - -// SetVaultNotificationConfig sets the VaultNotificationConfig field's value. -func (s *SetVaultNotificationsInput) SetVaultNotificationConfig(v *VaultNotificationConfig) *SetVaultNotificationsInput { - s.VaultNotificationConfig = v - return s -} - type SetVaultNotificationsOutput struct { _ struct{} `type:"structure"` @@ -6893,36 +5615,6 @@ func (s *UploadArchiveInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *UploadArchiveInput) SetAccountId(v string) *UploadArchiveInput { - s.AccountId = &v - return s -} - -// SetArchiveDescription sets the ArchiveDescription field's value. -func (s *UploadArchiveInput) SetArchiveDescription(v string) *UploadArchiveInput { - s.ArchiveDescription = &v - return s -} - -// SetBody sets the Body field's value. -func (s *UploadArchiveInput) SetBody(v io.ReadSeeker) *UploadArchiveInput { - s.Body = v - return s -} - -// SetChecksum sets the Checksum field's value. -func (s *UploadArchiveInput) SetChecksum(v string) *UploadArchiveInput { - s.Checksum = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *UploadArchiveInput) SetVaultName(v string) *UploadArchiveInput { - s.VaultName = &v - return s -} - // Contains the Amazon Glacier response to your request. // // For information about the underlying REST API, see Upload Archive (http://docs.aws.amazon.com/amazonglacier/latest/dev/api-archive-post.html). @@ -6957,24 +5649,6 @@ func (s UploadArchiveOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArchiveId sets the ArchiveId field's value. -func (s *UploadArchiveOutput) SetArchiveId(v string) *UploadArchiveOutput { - s.ArchiveId = &v - return s -} - -// SetChecksum sets the Checksum field's value. -func (s *UploadArchiveOutput) SetChecksum(v string) *UploadArchiveOutput { - s.Checksum = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *UploadArchiveOutput) SetLocation(v string) *UploadArchiveOutput { - s.Location = &v - return s -} - // A list of in-progress multipart uploads for a vault. type UploadListElement struct { _ struct{} `type:"structure"` @@ -7008,36 +5682,6 @@ func (s UploadListElement) GoString() string { return s.String() } -// SetArchiveDescription sets the ArchiveDescription field's value. -func (s *UploadListElement) SetArchiveDescription(v string) *UploadListElement { - s.ArchiveDescription = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *UploadListElement) SetCreationDate(v string) *UploadListElement { - s.CreationDate = &v - return s -} - -// SetMultipartUploadId sets the MultipartUploadId field's value. -func (s *UploadListElement) SetMultipartUploadId(v string) *UploadListElement { - s.MultipartUploadId = &v - return s -} - -// SetPartSizeInBytes sets the PartSizeInBytes field's value. -func (s *UploadListElement) SetPartSizeInBytes(v int64) *UploadListElement { - s.PartSizeInBytes = &v - return s -} - -// SetVaultARN sets the VaultARN field's value. -func (s *UploadListElement) SetVaultARN(v string) *UploadListElement { - s.VaultARN = &v - return s -} - // Provides options to upload a part of an archive in a multipart upload operation. type UploadMultipartPartInput struct { _ struct{} `type:"structure" payload:"Body"` @@ -7106,42 +5750,6 @@ func (s *UploadMultipartPartInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *UploadMultipartPartInput) SetAccountId(v string) *UploadMultipartPartInput { - s.AccountId = &v - return s -} - -// SetBody sets the Body field's value. -func (s *UploadMultipartPartInput) SetBody(v io.ReadSeeker) *UploadMultipartPartInput { - s.Body = v - return s -} - -// SetChecksum sets the Checksum field's value. -func (s *UploadMultipartPartInput) SetChecksum(v string) *UploadMultipartPartInput { - s.Checksum = &v - return s -} - -// SetRange sets the Range field's value. -func (s *UploadMultipartPartInput) SetRange(v string) *UploadMultipartPartInput { - s.Range = &v - return s -} - -// SetUploadId sets the UploadId field's value. -func (s *UploadMultipartPartInput) SetUploadId(v string) *UploadMultipartPartInput { - s.UploadId = &v - return s -} - -// SetVaultName sets the VaultName field's value. -func (s *UploadMultipartPartInput) SetVaultName(v string) *UploadMultipartPartInput { - s.VaultName = &v - return s -} - // Contains the Amazon Glacier response to your request. type UploadMultipartPartOutput struct { _ struct{} `type:"structure"` @@ -7167,12 +5775,6 @@ func (s UploadMultipartPartOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChecksum sets the Checksum field's value. -func (s *UploadMultipartPartOutput) SetChecksum(v string) *UploadMultipartPartOutput { - s.Checksum = &v - return s -} - // Contains the vault access policy. type VaultAccessPolicy struct { _ struct{} `type:"structure"` @@ -7191,12 +5793,6 @@ func (s VaultAccessPolicy) GoString() string { return s.String() } -// SetPolicy sets the Policy field's value. -func (s *VaultAccessPolicy) SetPolicy(v string) *VaultAccessPolicy { - s.Policy = &v - return s -} - // Contains the vault lock policy. type VaultLockPolicy struct { _ struct{} `type:"structure"` @@ -7215,12 +5811,6 @@ func (s VaultLockPolicy) GoString() string { return s.String() } -// SetPolicy sets the Policy field's value. -func (s *VaultLockPolicy) SetPolicy(v string) *VaultLockPolicy { - s.Policy = &v - return s -} - // Represents a vault's notification configuration. type VaultNotificationConfig struct { _ struct{} `type:"structure"` @@ -7244,18 +5834,6 @@ func (s VaultNotificationConfig) GoString() string { return s.String() } -// SetEvents sets the Events field's value. -func (s *VaultNotificationConfig) SetEvents(v []string) *VaultNotificationConfig { - s.Events = v - return s -} - -// SetSNSTopic sets the SNSTopic field's value. -func (s *VaultNotificationConfig) SetSNSTopic(v string) *VaultNotificationConfig { - s.SNSTopic = &v - return s -} - type ActionCode string // Enum values for ActionCode diff --git a/service/glue/api.go b/service/glue/api.go index 6b39078b389..f1e262bdf74 100644 --- a/service/glue/api.go +++ b/service/glue/api.go @@ -4470,18 +4470,6 @@ func (s *Action) Validate() error { return nil } -// SetArguments sets the Arguments field's value. -func (s *Action) SetArguments(v map[string]string) *Action { - s.Arguments = v - return s -} - -// SetJobName sets the JobName field's value. -func (s *Action) SetJobName(v string) *Action { - s.JobName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchCreatePartitionRequest type BatchCreatePartitionInput struct { _ struct{} `type:"structure"` @@ -4554,30 +4542,6 @@ func (s *BatchCreatePartitionInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *BatchCreatePartitionInput) SetCatalogId(v string) *BatchCreatePartitionInput { - s.CatalogId = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *BatchCreatePartitionInput) SetDatabaseName(v string) *BatchCreatePartitionInput { - s.DatabaseName = &v - return s -} - -// SetPartitionInputList sets the PartitionInputList field's value. -func (s *BatchCreatePartitionInput) SetPartitionInputList(v []PartitionInput) *BatchCreatePartitionInput { - s.PartitionInputList = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *BatchCreatePartitionInput) SetTableName(v string) *BatchCreatePartitionInput { - s.TableName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchCreatePartitionResponse type BatchCreatePartitionOutput struct { _ struct{} `type:"structure"` @@ -4603,12 +4567,6 @@ func (s BatchCreatePartitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetErrors sets the Errors field's value. -func (s *BatchCreatePartitionOutput) SetErrors(v []PartitionError) *BatchCreatePartitionOutput { - s.Errors = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteConnectionRequest type BatchDeleteConnectionInput struct { _ struct{} `type:"structure"` @@ -4650,18 +4608,6 @@ func (s *BatchDeleteConnectionInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *BatchDeleteConnectionInput) SetCatalogId(v string) *BatchDeleteConnectionInput { - s.CatalogId = &v - return s -} - -// SetConnectionNameList sets the ConnectionNameList field's value. -func (s *BatchDeleteConnectionInput) SetConnectionNameList(v []string) *BatchDeleteConnectionInput { - s.ConnectionNameList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteConnectionResponse type BatchDeleteConnectionOutput struct { _ struct{} `type:"structure"` @@ -4691,18 +4637,6 @@ func (s BatchDeleteConnectionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetErrors sets the Errors field's value. -func (s *BatchDeleteConnectionOutput) SetErrors(v map[string]ErrorDetail) *BatchDeleteConnectionOutput { - s.Errors = v - return s -} - -// SetSucceeded sets the Succeeded field's value. -func (s *BatchDeleteConnectionOutput) SetSucceeded(v []string) *BatchDeleteConnectionOutput { - s.Succeeded = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeletePartitionRequest type BatchDeletePartitionInput struct { _ struct{} `type:"structure"` @@ -4775,30 +4709,6 @@ func (s *BatchDeletePartitionInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *BatchDeletePartitionInput) SetCatalogId(v string) *BatchDeletePartitionInput { - s.CatalogId = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *BatchDeletePartitionInput) SetDatabaseName(v string) *BatchDeletePartitionInput { - s.DatabaseName = &v - return s -} - -// SetPartitionsToDelete sets the PartitionsToDelete field's value. -func (s *BatchDeletePartitionInput) SetPartitionsToDelete(v []PartitionValueList) *BatchDeletePartitionInput { - s.PartitionsToDelete = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *BatchDeletePartitionInput) SetTableName(v string) *BatchDeletePartitionInput { - s.TableName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeletePartitionResponse type BatchDeletePartitionOutput struct { _ struct{} `type:"structure"` @@ -4824,12 +4734,6 @@ func (s BatchDeletePartitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetErrors sets the Errors field's value. -func (s *BatchDeletePartitionOutput) SetErrors(v []PartitionError) *BatchDeletePartitionOutput { - s.Errors = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTableRequest type BatchDeleteTableInput struct { _ struct{} `type:"structure"` @@ -4883,24 +4787,6 @@ func (s *BatchDeleteTableInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *BatchDeleteTableInput) SetCatalogId(v string) *BatchDeleteTableInput { - s.CatalogId = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *BatchDeleteTableInput) SetDatabaseName(v string) *BatchDeleteTableInput { - s.DatabaseName = &v - return s -} - -// SetTablesToDelete sets the TablesToDelete field's value. -func (s *BatchDeleteTableInput) SetTablesToDelete(v []string) *BatchDeleteTableInput { - s.TablesToDelete = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTableResponse type BatchDeleteTableOutput struct { _ struct{} `type:"structure"` @@ -4926,12 +4812,6 @@ func (s BatchDeleteTableOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetErrors sets the Errors field's value. -func (s *BatchDeleteTableOutput) SetErrors(v []TableError) *BatchDeleteTableOutput { - s.Errors = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetPartitionRequest type BatchGetPartitionInput struct { _ struct{} `type:"structure"` @@ -5004,30 +4884,6 @@ func (s *BatchGetPartitionInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *BatchGetPartitionInput) SetCatalogId(v string) *BatchGetPartitionInput { - s.CatalogId = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *BatchGetPartitionInput) SetDatabaseName(v string) *BatchGetPartitionInput { - s.DatabaseName = &v - return s -} - -// SetPartitionsToGet sets the PartitionsToGet field's value. -func (s *BatchGetPartitionInput) SetPartitionsToGet(v []PartitionValueList) *BatchGetPartitionInput { - s.PartitionsToGet = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *BatchGetPartitionInput) SetTableName(v string) *BatchGetPartitionInput { - s.TableName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetPartitionResponse type BatchGetPartitionOutput struct { _ struct{} `type:"structure"` @@ -5057,18 +4913,6 @@ func (s BatchGetPartitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPartitions sets the Partitions field's value. -func (s *BatchGetPartitionOutput) SetPartitions(v []Partition) *BatchGetPartitionOutput { - s.Partitions = v - return s -} - -// SetUnprocessedKeys sets the UnprocessedKeys field's value. -func (s *BatchGetPartitionOutput) SetUnprocessedKeys(v []PartitionValueList) *BatchGetPartitionOutput { - s.UnprocessedKeys = v - return s -} - // Records an error that occurred when attempting to stop a specified JobRun. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRunError type BatchStopJobRunError struct { @@ -5094,24 +4938,6 @@ func (s BatchStopJobRunError) GoString() string { return s.String() } -// SetErrorDetail sets the ErrorDetail field's value. -func (s *BatchStopJobRunError) SetErrorDetail(v *ErrorDetail) *BatchStopJobRunError { - s.ErrorDetail = v - return s -} - -// SetJobName sets the JobName field's value. -func (s *BatchStopJobRunError) SetJobName(v string) *BatchStopJobRunError { - s.JobName = &v - return s -} - -// SetJobRunId sets the JobRunId field's value. -func (s *BatchStopJobRunError) SetJobRunId(v string) *BatchStopJobRunError { - s.JobRunId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRunRequest type BatchStopJobRunInput struct { _ struct{} `type:"structure"` @@ -5161,18 +4987,6 @@ func (s *BatchStopJobRunInput) Validate() error { return nil } -// SetJobName sets the JobName field's value. -func (s *BatchStopJobRunInput) SetJobName(v string) *BatchStopJobRunInput { - s.JobName = &v - return s -} - -// SetJobRunIds sets the JobRunIds field's value. -func (s *BatchStopJobRunInput) SetJobRunIds(v []string) *BatchStopJobRunInput { - s.JobRunIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRunResponse type BatchStopJobRunOutput struct { _ struct{} `type:"structure"` @@ -5202,18 +5016,6 @@ func (s BatchStopJobRunOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetErrors sets the Errors field's value. -func (s *BatchStopJobRunOutput) SetErrors(v []BatchStopJobRunError) *BatchStopJobRunOutput { - s.Errors = v - return s -} - -// SetSuccessfulSubmissions sets the SuccessfulSubmissions field's value. -func (s *BatchStopJobRunOutput) SetSuccessfulSubmissions(v []BatchStopJobRunSuccessfulSubmission) *BatchStopJobRunOutput { - s.SuccessfulSubmissions = v - return s -} - // Records a successful request to stop a specified JobRun. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRunSuccessfulSubmission type BatchStopJobRunSuccessfulSubmission struct { @@ -5236,18 +5038,6 @@ func (s BatchStopJobRunSuccessfulSubmission) GoString() string { return s.String() } -// SetJobName sets the JobName field's value. -func (s *BatchStopJobRunSuccessfulSubmission) SetJobName(v string) *BatchStopJobRunSuccessfulSubmission { - s.JobName = &v - return s -} - -// SetJobRunId sets the JobRunId field's value. -func (s *BatchStopJobRunSuccessfulSubmission) SetJobRunId(v string) *BatchStopJobRunSuccessfulSubmission { - s.JobRunId = &v - return s -} - // Specifies a table definition in the Data Catalog. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CatalogEntry type CatalogEntry struct { @@ -5298,18 +5088,6 @@ func (s *CatalogEntry) Validate() error { return nil } -// SetDatabaseName sets the DatabaseName field's value. -func (s *CatalogEntry) SetDatabaseName(v string) *CatalogEntry { - s.DatabaseName = &v - return s -} - -// SetTableName sets the TableName field's value. -func (s *CatalogEntry) SetTableName(v string) *CatalogEntry { - s.TableName = &v - return s -} - // A structure containing migration status information. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CatalogImportStatus type CatalogImportStatus struct { @@ -5335,24 +5113,6 @@ func (s CatalogImportStatus) GoString() string { return s.String() } -// SetImportCompleted sets the ImportCompleted field's value. -func (s *CatalogImportStatus) SetImportCompleted(v bool) *CatalogImportStatus { - s.ImportCompleted = &v - return s -} - -// SetImportTime sets the ImportTime field's value. -func (s *CatalogImportStatus) SetImportTime(v time.Time) *CatalogImportStatus { - s.ImportTime = &v - return s -} - -// SetImportedBy sets the ImportedBy field's value. -func (s *CatalogImportStatus) SetImportedBy(v string) *CatalogImportStatus { - s.ImportedBy = &v - return s -} - // Classifiers are written in Python and triggered during a crawl task. You // can write your own classifiers to best categorize your data sources and specify // the appropriate schemas to use for them. A classifier checks whether a given @@ -5382,18 +5142,6 @@ func (s Classifier) GoString() string { return s.String() } -// SetGrokClassifier sets the GrokClassifier field's value. -func (s *Classifier) SetGrokClassifier(v *GrokClassifier) *Classifier { - s.GrokClassifier = v - return s -} - -// SetXMLClassifier sets the XMLClassifier field's value. -func (s *Classifier) SetXMLClassifier(v *XMLClassifier) *Classifier { - s.XMLClassifier = v - return s -} - // Represents a directional edge in a directed acyclic graph (DAG). // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CodeGenEdge type CodeGenEdge struct { @@ -5447,24 +5195,6 @@ func (s *CodeGenEdge) Validate() error { return nil } -// SetSource sets the Source field's value. -func (s *CodeGenEdge) SetSource(v string) *CodeGenEdge { - s.Source = &v - return s -} - -// SetTarget sets the Target field's value. -func (s *CodeGenEdge) SetTarget(v string) *CodeGenEdge { - s.Target = &v - return s -} - -// SetTargetParameter sets the TargetParameter field's value. -func (s *CodeGenEdge) SetTargetParameter(v string) *CodeGenEdge { - s.TargetParameter = &v - return s -} - // Represents a node in a directed acyclic graph (DAG) // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CodeGenNode type CodeGenNode struct { @@ -5531,30 +5261,6 @@ func (s *CodeGenNode) Validate() error { return nil } -// SetArgs sets the Args field's value. -func (s *CodeGenNode) SetArgs(v []CodeGenNodeArg) *CodeGenNode { - s.Args = v - return s -} - -// SetId sets the Id field's value. -func (s *CodeGenNode) SetId(v string) *CodeGenNode { - s.Id = &v - return s -} - -// SetLineNumber sets the LineNumber field's value. -func (s *CodeGenNode) SetLineNumber(v int64) *CodeGenNode { - s.LineNumber = &v - return s -} - -// SetNodeType sets the NodeType field's value. -func (s *CodeGenNode) SetNodeType(v string) *CodeGenNode { - s.NodeType = &v - return s -} - // An argument or property of a node. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CodeGenNodeArg type CodeGenNodeArg struct { @@ -5602,24 +5308,6 @@ func (s *CodeGenNodeArg) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *CodeGenNodeArg) SetName(v string) *CodeGenNodeArg { - s.Name = &v - return s -} - -// SetParam sets the Param field's value. -func (s *CodeGenNodeArg) SetParam(v bool) *CodeGenNodeArg { - s.Param = &v - return s -} - -// SetValue sets the Value field's value. -func (s *CodeGenNodeArg) SetValue(v string) *CodeGenNodeArg { - s.Value = &v - return s -} - // A column in a Table. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Column type Column struct { @@ -5664,24 +5352,6 @@ func (s *Column) Validate() error { return nil } -// SetComment sets the Comment field's value. -func (s *Column) SetComment(v string) *Column { - s.Comment = &v - return s -} - -// SetName sets the Name field's value. -func (s *Column) SetName(v string) *Column { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *Column) SetType(v string) *Column { - s.Type = &v - return s -} - // Defines a condition under which a trigger fires. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Condition type Condition struct { @@ -5722,24 +5392,6 @@ func (s *Condition) Validate() error { return nil } -// SetJobName sets the JobName field's value. -func (s *Condition) SetJobName(v string) *Condition { - s.JobName = &v - return s -} - -// SetLogicalOperator sets the LogicalOperator field's value. -func (s *Condition) SetLogicalOperator(v LogicalOperator) *Condition { - s.LogicalOperator = v - return s -} - -// SetState sets the State field's value. -func (s *Condition) SetState(v JobRunState) *Condition { - s.State = v - return s -} - // Defines a connection to a data source. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Connection type Connection struct { @@ -5785,60 +5437,6 @@ func (s Connection) GoString() string { return s.String() } -// SetConnectionProperties sets the ConnectionProperties field's value. -func (s *Connection) SetConnectionProperties(v map[string]string) *Connection { - s.ConnectionProperties = v - return s -} - -// SetConnectionType sets the ConnectionType field's value. -func (s *Connection) SetConnectionType(v ConnectionType) *Connection { - s.ConnectionType = v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *Connection) SetCreationTime(v time.Time) *Connection { - s.CreationTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Connection) SetDescription(v string) *Connection { - s.Description = &v - return s -} - -// SetLastUpdatedBy sets the LastUpdatedBy field's value. -func (s *Connection) SetLastUpdatedBy(v string) *Connection { - s.LastUpdatedBy = &v - return s -} - -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *Connection) SetLastUpdatedTime(v time.Time) *Connection { - s.LastUpdatedTime = &v - return s -} - -// SetMatchCriteria sets the MatchCriteria field's value. -func (s *Connection) SetMatchCriteria(v []string) *Connection { - s.MatchCriteria = v - return s -} - -// SetName sets the Name field's value. -func (s *Connection) SetName(v string) *Connection { - s.Name = &v - return s -} - -// SetPhysicalConnectionRequirements sets the PhysicalConnectionRequirements field's value. -func (s *Connection) SetPhysicalConnectionRequirements(v *PhysicalConnectionRequirements) *Connection { - s.PhysicalConnectionRequirements = v - return s -} - // A structure used to specify a connection to create or update. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ConnectionInput type ConnectionInput struct { @@ -5893,42 +5491,6 @@ func (s *ConnectionInput) Validate() error { return nil } -// SetConnectionProperties sets the ConnectionProperties field's value. -func (s *ConnectionInput) SetConnectionProperties(v map[string]string) *ConnectionInput { - s.ConnectionProperties = v - return s -} - -// SetConnectionType sets the ConnectionType field's value. -func (s *ConnectionInput) SetConnectionType(v ConnectionType) *ConnectionInput { - s.ConnectionType = v - return s -} - -// SetDescription sets the Description field's value. -func (s *ConnectionInput) SetDescription(v string) *ConnectionInput { - s.Description = &v - return s -} - -// SetMatchCriteria sets the MatchCriteria field's value. -func (s *ConnectionInput) SetMatchCriteria(v []string) *ConnectionInput { - s.MatchCriteria = v - return s -} - -// SetName sets the Name field's value. -func (s *ConnectionInput) SetName(v string) *ConnectionInput { - s.Name = &v - return s -} - -// SetPhysicalConnectionRequirements sets the PhysicalConnectionRequirements field's value. -func (s *ConnectionInput) SetPhysicalConnectionRequirements(v *PhysicalConnectionRequirements) *ConnectionInput { - s.PhysicalConnectionRequirements = v - return s -} - // Specifies the connections used by a job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ConnectionsList type ConnectionsList struct { @@ -5948,12 +5510,6 @@ func (s ConnectionsList) GoString() string { return s.String() } -// SetConnections sets the Connections field's value. -func (s *ConnectionsList) SetConnections(v []string) *ConnectionsList { - s.Connections = v - return s -} - // Specifies a crawler program that examines a data source and uses classifiers // to try to determine its schema. If successful, the crawler records metadata // concerning the data source in the AWS Glue Data Catalog. @@ -6032,102 +5588,6 @@ func (s Crawler) GoString() string { return s.String() } -// SetClassifiers sets the Classifiers field's value. -func (s *Crawler) SetClassifiers(v []string) *Crawler { - s.Classifiers = v - return s -} - -// SetConfiguration sets the Configuration field's value. -func (s *Crawler) SetConfiguration(v string) *Crawler { - s.Configuration = &v - return s -} - -// SetCrawlElapsedTime sets the CrawlElapsedTime field's value. -func (s *Crawler) SetCrawlElapsedTime(v int64) *Crawler { - s.CrawlElapsedTime = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *Crawler) SetCreationTime(v time.Time) *Crawler { - s.CreationTime = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *Crawler) SetDatabaseName(v string) *Crawler { - s.DatabaseName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Crawler) SetDescription(v string) *Crawler { - s.Description = &v - return s -} - -// SetLastCrawl sets the LastCrawl field's value. -func (s *Crawler) SetLastCrawl(v *LastCrawlInfo) *Crawler { - s.LastCrawl = v - return s -} - -// SetLastUpdated sets the LastUpdated field's value. -func (s *Crawler) SetLastUpdated(v time.Time) *Crawler { - s.LastUpdated = &v - return s -} - -// SetName sets the Name field's value. -func (s *Crawler) SetName(v string) *Crawler { - s.Name = &v - return s -} - -// SetRole sets the Role field's value. -func (s *Crawler) SetRole(v string) *Crawler { - s.Role = &v - return s -} - -// SetSchedule sets the Schedule field's value. -func (s *Crawler) SetSchedule(v *Schedule) *Crawler { - s.Schedule = v - return s -} - -// SetSchemaChangePolicy sets the SchemaChangePolicy field's value. -func (s *Crawler) SetSchemaChangePolicy(v *SchemaChangePolicy) *Crawler { - s.SchemaChangePolicy = v - return s -} - -// SetState sets the State field's value. -func (s *Crawler) SetState(v CrawlerState) *Crawler { - s.State = v - return s -} - -// SetTablePrefix sets the TablePrefix field's value. -func (s *Crawler) SetTablePrefix(v string) *Crawler { - s.TablePrefix = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *Crawler) SetTargets(v *CrawlerTargets) *Crawler { - s.Targets = v - return s -} - -// SetVersion sets the Version field's value. -func (s *Crawler) SetVersion(v int64) *Crawler { - s.Version = &v - return s -} - // Metrics for a specified crawler. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CrawlerMetrics type CrawlerMetrics struct { @@ -6169,54 +5629,6 @@ func (s CrawlerMetrics) GoString() string { return s.String() } -// SetCrawlerName sets the CrawlerName field's value. -func (s *CrawlerMetrics) SetCrawlerName(v string) *CrawlerMetrics { - s.CrawlerName = &v - return s -} - -// SetLastRuntimeSeconds sets the LastRuntimeSeconds field's value. -func (s *CrawlerMetrics) SetLastRuntimeSeconds(v float64) *CrawlerMetrics { - s.LastRuntimeSeconds = &v - return s -} - -// SetMedianRuntimeSeconds sets the MedianRuntimeSeconds field's value. -func (s *CrawlerMetrics) SetMedianRuntimeSeconds(v float64) *CrawlerMetrics { - s.MedianRuntimeSeconds = &v - return s -} - -// SetStillEstimating sets the StillEstimating field's value. -func (s *CrawlerMetrics) SetStillEstimating(v bool) *CrawlerMetrics { - s.StillEstimating = &v - return s -} - -// SetTablesCreated sets the TablesCreated field's value. -func (s *CrawlerMetrics) SetTablesCreated(v int64) *CrawlerMetrics { - s.TablesCreated = &v - return s -} - -// SetTablesDeleted sets the TablesDeleted field's value. -func (s *CrawlerMetrics) SetTablesDeleted(v int64) *CrawlerMetrics { - s.TablesDeleted = &v - return s -} - -// SetTablesUpdated sets the TablesUpdated field's value. -func (s *CrawlerMetrics) SetTablesUpdated(v int64) *CrawlerMetrics { - s.TablesUpdated = &v - return s -} - -// SetTimeLeftSeconds sets the TimeLeftSeconds field's value. -func (s *CrawlerMetrics) SetTimeLeftSeconds(v float64) *CrawlerMetrics { - s.TimeLeftSeconds = &v - return s -} - // Specifies data stores to crawl. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CrawlerTargets type CrawlerTargets struct { @@ -6239,18 +5651,6 @@ func (s CrawlerTargets) GoString() string { return s.String() } -// SetJdbcTargets sets the JdbcTargets field's value. -func (s *CrawlerTargets) SetJdbcTargets(v []JdbcTarget) *CrawlerTargets { - s.JdbcTargets = v - return s -} - -// SetS3Targets sets the S3Targets field's value. -func (s *CrawlerTargets) SetS3Targets(v []S3Target) *CrawlerTargets { - s.S3Targets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifierRequest type CreateClassifierInput struct { _ struct{} `type:"structure"` @@ -6292,18 +5692,6 @@ func (s *CreateClassifierInput) Validate() error { return nil } -// SetGrokClassifier sets the GrokClassifier field's value. -func (s *CreateClassifierInput) SetGrokClassifier(v *CreateGrokClassifierRequest) *CreateClassifierInput { - s.GrokClassifier = v - return s -} - -// SetXMLClassifier sets the XMLClassifier field's value. -func (s *CreateClassifierInput) SetXMLClassifier(v *CreateXMLClassifierRequest) *CreateClassifierInput { - s.XMLClassifier = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifierResponse type CreateClassifierOutput struct { _ struct{} `type:"structure"` @@ -6372,18 +5760,6 @@ func (s *CreateConnectionInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *CreateConnectionInput) SetCatalogId(v string) *CreateConnectionInput { - s.CatalogId = &v - return s -} - -// SetConnectionInput sets the ConnectionInput field's value. -func (s *CreateConnectionInput) SetConnectionInput(v *ConnectionInput) *CreateConnectionInput { - s.ConnectionInput = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateConnectionResponse type CreateConnectionOutput struct { _ struct{} `type:"structure"` @@ -6503,66 +5879,6 @@ func (s *CreateCrawlerInput) Validate() error { return nil } -// SetClassifiers sets the Classifiers field's value. -func (s *CreateCrawlerInput) SetClassifiers(v []string) *CreateCrawlerInput { - s.Classifiers = v - return s -} - -// SetConfiguration sets the Configuration field's value. -func (s *CreateCrawlerInput) SetConfiguration(v string) *CreateCrawlerInput { - s.Configuration = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *CreateCrawlerInput) SetDatabaseName(v string) *CreateCrawlerInput { - s.DatabaseName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateCrawlerInput) SetDescription(v string) *CreateCrawlerInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateCrawlerInput) SetName(v string) *CreateCrawlerInput { - s.Name = &v - return s -} - -// SetRole sets the Role field's value. -func (s *CreateCrawlerInput) SetRole(v string) *CreateCrawlerInput { - s.Role = &v - return s -} - -// SetSchedule sets the Schedule field's value. -func (s *CreateCrawlerInput) SetSchedule(v string) *CreateCrawlerInput { - s.Schedule = &v - return s -} - -// SetSchemaChangePolicy sets the SchemaChangePolicy field's value. -func (s *CreateCrawlerInput) SetSchemaChangePolicy(v *SchemaChangePolicy) *CreateCrawlerInput { - s.SchemaChangePolicy = v - return s -} - -// SetTablePrefix sets the TablePrefix field's value. -func (s *CreateCrawlerInput) SetTablePrefix(v string) *CreateCrawlerInput { - s.TablePrefix = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *CreateCrawlerInput) SetTargets(v *CrawlerTargets) *CreateCrawlerInput { - s.Targets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCrawlerResponse type CreateCrawlerOutput struct { _ struct{} `type:"structure"` @@ -6631,18 +5947,6 @@ func (s *CreateDatabaseInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *CreateDatabaseInput) SetCatalogId(v string) *CreateDatabaseInput { - s.CatalogId = &v - return s -} - -// SetDatabaseInput sets the DatabaseInput field's value. -func (s *CreateDatabaseInput) SetDatabaseInput(v *DatabaseInput) *CreateDatabaseInput { - s.DatabaseInput = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDatabaseResponse type CreateDatabaseOutput struct { _ struct{} `type:"structure"` @@ -6739,54 +6043,6 @@ func (s *CreateDevEndpointInput) Validate() error { return nil } -// SetEndpointName sets the EndpointName field's value. -func (s *CreateDevEndpointInput) SetEndpointName(v string) *CreateDevEndpointInput { - s.EndpointName = &v - return s -} - -// SetExtraJarsS3Path sets the ExtraJarsS3Path field's value. -func (s *CreateDevEndpointInput) SetExtraJarsS3Path(v string) *CreateDevEndpointInput { - s.ExtraJarsS3Path = &v - return s -} - -// SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value. -func (s *CreateDevEndpointInput) SetExtraPythonLibsS3Path(v string) *CreateDevEndpointInput { - s.ExtraPythonLibsS3Path = &v - return s -} - -// SetNumberOfNodes sets the NumberOfNodes field's value. -func (s *CreateDevEndpointInput) SetNumberOfNodes(v int64) *CreateDevEndpointInput { - s.NumberOfNodes = &v - return s -} - -// SetPublicKey sets the PublicKey field's value. -func (s *CreateDevEndpointInput) SetPublicKey(v string) *CreateDevEndpointInput { - s.PublicKey = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *CreateDevEndpointInput) SetRoleArn(v string) *CreateDevEndpointInput { - s.RoleArn = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *CreateDevEndpointInput) SetSecurityGroupIds(v []string) *CreateDevEndpointInput { - s.SecurityGroupIds = v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *CreateDevEndpointInput) SetSubnetId(v string) *CreateDevEndpointInput { - s.SubnetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDevEndpointResponse type CreateDevEndpointOutput struct { _ struct{} `type:"structure"` @@ -6853,94 +6109,10 @@ func (s CreateDevEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *CreateDevEndpointOutput) SetAvailabilityZone(v string) *CreateDevEndpointOutput { - s.AvailabilityZone = &v - return s -} - -// SetCreatedTimestamp sets the CreatedTimestamp field's value. -func (s *CreateDevEndpointOutput) SetCreatedTimestamp(v time.Time) *CreateDevEndpointOutput { - s.CreatedTimestamp = &v - return s -} - -// SetEndpointName sets the EndpointName field's value. -func (s *CreateDevEndpointOutput) SetEndpointName(v string) *CreateDevEndpointOutput { - s.EndpointName = &v - return s -} - -// SetExtraJarsS3Path sets the ExtraJarsS3Path field's value. -func (s *CreateDevEndpointOutput) SetExtraJarsS3Path(v string) *CreateDevEndpointOutput { - s.ExtraJarsS3Path = &v - return s -} - -// SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value. -func (s *CreateDevEndpointOutput) SetExtraPythonLibsS3Path(v string) *CreateDevEndpointOutput { - s.ExtraPythonLibsS3Path = &v - return s -} - -// SetFailureReason sets the FailureReason field's value. -func (s *CreateDevEndpointOutput) SetFailureReason(v string) *CreateDevEndpointOutput { - s.FailureReason = &v - return s -} - -// SetNumberOfNodes sets the NumberOfNodes field's value. -func (s *CreateDevEndpointOutput) SetNumberOfNodes(v int64) *CreateDevEndpointOutput { - s.NumberOfNodes = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *CreateDevEndpointOutput) SetRoleArn(v string) *CreateDevEndpointOutput { - s.RoleArn = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *CreateDevEndpointOutput) SetSecurityGroupIds(v []string) *CreateDevEndpointOutput { - s.SecurityGroupIds = v - return s -} - -// SetStatus sets the Status field's value. -func (s *CreateDevEndpointOutput) SetStatus(v string) *CreateDevEndpointOutput { - s.Status = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *CreateDevEndpointOutput) SetSubnetId(v string) *CreateDevEndpointOutput { - s.SubnetId = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *CreateDevEndpointOutput) SetVpcId(v string) *CreateDevEndpointOutput { - s.VpcId = &v - return s -} - -// SetYarnEndpointAddress sets the YarnEndpointAddress field's value. -func (s *CreateDevEndpointOutput) SetYarnEndpointAddress(v string) *CreateDevEndpointOutput { - s.YarnEndpointAddress = &v - return s -} - -// SetZeppelinRemoteSparkInterpreterPort sets the ZeppelinRemoteSparkInterpreterPort field's value. -func (s *CreateDevEndpointOutput) SetZeppelinRemoteSparkInterpreterPort(v int64) *CreateDevEndpointOutput { - s.ZeppelinRemoteSparkInterpreterPort = &v - return s -} - -// Specifies a grok classifier for CreateClassifier to create. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateGrokClassifierRequest -type CreateGrokClassifierRequest struct { - _ struct{} `type:"structure"` +// Specifies a grok classifier for CreateClassifier to create. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateGrokClassifierRequest +type CreateGrokClassifierRequest struct { + _ struct{} `type:"structure"` // An identifier of the data format that the classifier matches, such as Twitter, // JSON, Omniture logs, Amazon CloudWatch Logs, and so on. @@ -7000,30 +6172,6 @@ func (s *CreateGrokClassifierRequest) Validate() error { return nil } -// SetClassification sets the Classification field's value. -func (s *CreateGrokClassifierRequest) SetClassification(v string) *CreateGrokClassifierRequest { - s.Classification = &v - return s -} - -// SetCustomPatterns sets the CustomPatterns field's value. -func (s *CreateGrokClassifierRequest) SetCustomPatterns(v string) *CreateGrokClassifierRequest { - s.CustomPatterns = &v - return s -} - -// SetGrokPattern sets the GrokPattern field's value. -func (s *CreateGrokClassifierRequest) SetGrokPattern(v string) *CreateGrokClassifierRequest { - s.GrokPattern = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateGrokClassifierRequest) SetName(v string) *CreateGrokClassifierRequest { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateJobRequest type CreateJobInput struct { _ struct{} `type:"structure"` @@ -7116,66 +6264,6 @@ func (s *CreateJobInput) Validate() error { return nil } -// SetAllocatedCapacity sets the AllocatedCapacity field's value. -func (s *CreateJobInput) SetAllocatedCapacity(v int64) *CreateJobInput { - s.AllocatedCapacity = &v - return s -} - -// SetCommand sets the Command field's value. -func (s *CreateJobInput) SetCommand(v *JobCommand) *CreateJobInput { - s.Command = v - return s -} - -// SetConnections sets the Connections field's value. -func (s *CreateJobInput) SetConnections(v *ConnectionsList) *CreateJobInput { - s.Connections = v - return s -} - -// SetDefaultArguments sets the DefaultArguments field's value. -func (s *CreateJobInput) SetDefaultArguments(v map[string]string) *CreateJobInput { - s.DefaultArguments = v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateJobInput) SetDescription(v string) *CreateJobInput { - s.Description = &v - return s -} - -// SetExecutionProperty sets the ExecutionProperty field's value. -func (s *CreateJobInput) SetExecutionProperty(v *ExecutionProperty) *CreateJobInput { - s.ExecutionProperty = v - return s -} - -// SetLogUri sets the LogUri field's value. -func (s *CreateJobInput) SetLogUri(v string) *CreateJobInput { - s.LogUri = &v - return s -} - -// SetMaxRetries sets the MaxRetries field's value. -func (s *CreateJobInput) SetMaxRetries(v int64) *CreateJobInput { - s.MaxRetries = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateJobInput) SetName(v string) *CreateJobInput { - s.Name = &v - return s -} - -// SetRole sets the Role field's value. -func (s *CreateJobInput) SetRole(v string) *CreateJobInput { - s.Role = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateJobResponse type CreateJobOutput struct { _ struct{} `type:"structure"` @@ -7201,12 +6289,6 @@ func (s CreateJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetName sets the Name field's value. -func (s *CreateJobOutput) SetName(v string) *CreateJobOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartitionRequest type CreatePartitionInput struct { _ struct{} `type:"structure"` @@ -7277,30 +6359,6 @@ func (s *CreatePartitionInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *CreatePartitionInput) SetCatalogId(v string) *CreatePartitionInput { - s.CatalogId = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *CreatePartitionInput) SetDatabaseName(v string) *CreatePartitionInput { - s.DatabaseName = &v - return s -} - -// SetPartitionInput sets the PartitionInput field's value. -func (s *CreatePartitionInput) SetPartitionInput(v *PartitionInput) *CreatePartitionInput { - s.PartitionInput = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *CreatePartitionInput) SetTableName(v string) *CreatePartitionInput { - s.TableName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartitionResponse type CreatePartitionOutput struct { _ struct{} `type:"structure"` @@ -7371,24 +6429,6 @@ func (s *CreateScriptInput) Validate() error { return nil } -// SetDagEdges sets the DagEdges field's value. -func (s *CreateScriptInput) SetDagEdges(v []CodeGenEdge) *CreateScriptInput { - s.DagEdges = v - return s -} - -// SetDagNodes sets the DagNodes field's value. -func (s *CreateScriptInput) SetDagNodes(v []CodeGenNode) *CreateScriptInput { - s.DagNodes = v - return s -} - -// SetLanguage sets the Language field's value. -func (s *CreateScriptInput) SetLanguage(v Language) *CreateScriptInput { - s.Language = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateScriptResponse type CreateScriptOutput struct { _ struct{} `type:"structure"` @@ -7417,18 +6457,6 @@ func (s CreateScriptOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPythonScript sets the PythonScript field's value. -func (s *CreateScriptOutput) SetPythonScript(v string) *CreateScriptOutput { - s.PythonScript = &v - return s -} - -// SetScalaCode sets the ScalaCode field's value. -func (s *CreateScriptOutput) SetScalaCode(v string) *CreateScriptOutput { - s.ScalaCode = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTableRequest type CreateTableInput struct { _ struct{} `type:"structure"` @@ -7487,24 +6515,6 @@ func (s *CreateTableInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *CreateTableInput) SetCatalogId(v string) *CreateTableInput { - s.CatalogId = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *CreateTableInput) SetDatabaseName(v string) *CreateTableInput { - s.DatabaseName = &v - return s -} - -// SetTableInput sets the TableInput field's value. -func (s *CreateTableInput) SetTableInput(v *TableInput) *CreateTableInput { - s.TableInput = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTableResponse type CreateTableOutput struct { _ struct{} `type:"structure"` @@ -7609,42 +6619,6 @@ func (s *CreateTriggerInput) Validate() error { return nil } -// SetActions sets the Actions field's value. -func (s *CreateTriggerInput) SetActions(v []Action) *CreateTriggerInput { - s.Actions = v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateTriggerInput) SetDescription(v string) *CreateTriggerInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateTriggerInput) SetName(v string) *CreateTriggerInput { - s.Name = &v - return s -} - -// SetPredicate sets the Predicate field's value. -func (s *CreateTriggerInput) SetPredicate(v *Predicate) *CreateTriggerInput { - s.Predicate = v - return s -} - -// SetSchedule sets the Schedule field's value. -func (s *CreateTriggerInput) SetSchedule(v string) *CreateTriggerInput { - s.Schedule = &v - return s -} - -// SetType sets the Type field's value. -func (s *CreateTriggerInput) SetType(v TriggerType) *CreateTriggerInput { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTriggerResponse type CreateTriggerOutput struct { _ struct{} `type:"structure"` @@ -7670,12 +6644,6 @@ func (s CreateTriggerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetName sets the Name field's value. -func (s *CreateTriggerOutput) SetName(v string) *CreateTriggerOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateUserDefinedFunctionRequest type CreateUserDefinedFunctionInput struct { _ struct{} `type:"structure"` @@ -7734,24 +6702,6 @@ func (s *CreateUserDefinedFunctionInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *CreateUserDefinedFunctionInput) SetCatalogId(v string) *CreateUserDefinedFunctionInput { - s.CatalogId = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *CreateUserDefinedFunctionInput) SetDatabaseName(v string) *CreateUserDefinedFunctionInput { - s.DatabaseName = &v - return s -} - -// SetFunctionInput sets the FunctionInput field's value. -func (s *CreateUserDefinedFunctionInput) SetFunctionInput(v *UserDefinedFunctionInput) *CreateUserDefinedFunctionInput { - s.FunctionInput = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateUserDefinedFunctionResponse type CreateUserDefinedFunctionOutput struct { _ struct{} `type:"structure"` @@ -7828,24 +6778,6 @@ func (s *CreateXMLClassifierRequest) Validate() error { return nil } -// SetClassification sets the Classification field's value. -func (s *CreateXMLClassifierRequest) SetClassification(v string) *CreateXMLClassifierRequest { - s.Classification = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateXMLClassifierRequest) SetName(v string) *CreateXMLClassifierRequest { - s.Name = &v - return s -} - -// SetRowTag sets the RowTag field's value. -func (s *CreateXMLClassifierRequest) SetRowTag(v string) *CreateXMLClassifierRequest { - s.RowTag = &v - return s -} - // The Database object represents a logical grouping of tables that may reside // in a Hive metastore or an RDBMS. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Database @@ -7880,36 +6812,6 @@ func (s Database) GoString() string { return s.String() } -// SetCreateTime sets the CreateTime field's value. -func (s *Database) SetCreateTime(v time.Time) *Database { - s.CreateTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Database) SetDescription(v string) *Database { - s.Description = &v - return s -} - -// SetLocationUri sets the LocationUri field's value. -func (s *Database) SetLocationUri(v string) *Database { - s.LocationUri = &v - return s -} - -// SetName sets the Name field's value. -func (s *Database) SetName(v string) *Database { - s.Name = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *Database) SetParameters(v map[string]string) *Database { - s.Parameters = v - return s -} - // The structure used to create or updata a database. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DatabaseInput type DatabaseInput struct { @@ -7960,30 +6862,6 @@ func (s *DatabaseInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *DatabaseInput) SetDescription(v string) *DatabaseInput { - s.Description = &v - return s -} - -// SetLocationUri sets the LocationUri field's value. -func (s *DatabaseInput) SetLocationUri(v string) *DatabaseInput { - s.LocationUri = &v - return s -} - -// SetName sets the Name field's value. -func (s *DatabaseInput) SetName(v string) *DatabaseInput { - s.Name = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *DatabaseInput) SetParameters(v map[string]string) *DatabaseInput { - s.Parameters = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteClassifierRequest type DeleteClassifierInput struct { _ struct{} `type:"structure"` @@ -8021,12 +6899,6 @@ func (s *DeleteClassifierInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteClassifierInput) SetName(v string) *DeleteClassifierInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteClassifierResponse type DeleteClassifierOutput struct { _ struct{} `type:"structure"` @@ -8093,18 +6965,6 @@ func (s *DeleteConnectionInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *DeleteConnectionInput) SetCatalogId(v string) *DeleteConnectionInput { - s.CatalogId = &v - return s -} - -// SetConnectionName sets the ConnectionName field's value. -func (s *DeleteConnectionInput) SetConnectionName(v string) *DeleteConnectionInput { - s.ConnectionName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteConnectionResponse type DeleteConnectionOutput struct { _ struct{} `type:"structure"` @@ -8164,12 +7024,6 @@ func (s *DeleteCrawlerInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteCrawlerInput) SetName(v string) *DeleteCrawlerInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteCrawlerResponse type DeleteCrawlerOutput struct { _ struct{} `type:"structure"` @@ -8236,18 +7090,6 @@ func (s *DeleteDatabaseInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *DeleteDatabaseInput) SetCatalogId(v string) *DeleteDatabaseInput { - s.CatalogId = &v - return s -} - -// SetName sets the Name field's value. -func (s *DeleteDatabaseInput) SetName(v string) *DeleteDatabaseInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDatabaseResponse type DeleteDatabaseOutput struct { _ struct{} `type:"structure"` @@ -8304,12 +7146,6 @@ func (s *DeleteDevEndpointInput) Validate() error { return nil } -// SetEndpointName sets the EndpointName field's value. -func (s *DeleteDevEndpointInput) SetEndpointName(v string) *DeleteDevEndpointInput { - s.EndpointName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDevEndpointResponse type DeleteDevEndpointOutput struct { _ struct{} `type:"structure"` @@ -8369,12 +7205,6 @@ func (s *DeleteJobInput) Validate() error { return nil } -// SetJobName sets the JobName field's value. -func (s *DeleteJobInput) SetJobName(v string) *DeleteJobInput { - s.JobName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteJobResponse type DeleteJobOutput struct { _ struct{} `type:"structure"` @@ -8400,12 +7230,6 @@ func (s DeleteJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobName sets the JobName field's value. -func (s *DeleteJobOutput) SetJobName(v string) *DeleteJobOutput { - s.JobName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartitionRequest type DeletePartitionInput struct { _ struct{} `type:"structure"` @@ -8471,30 +7295,6 @@ func (s *DeletePartitionInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *DeletePartitionInput) SetCatalogId(v string) *DeletePartitionInput { - s.CatalogId = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *DeletePartitionInput) SetDatabaseName(v string) *DeletePartitionInput { - s.DatabaseName = &v - return s -} - -// SetPartitionValues sets the PartitionValues field's value. -func (s *DeletePartitionInput) SetPartitionValues(v []string) *DeletePartitionInput { - s.PartitionValues = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *DeletePartitionInput) SetTableName(v string) *DeletePartitionInput { - s.TableName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartitionResponse type DeletePartitionOutput struct { _ struct{} `type:"structure"` @@ -8573,24 +7373,6 @@ func (s *DeleteTableInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *DeleteTableInput) SetCatalogId(v string) *DeleteTableInput { - s.CatalogId = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *DeleteTableInput) SetDatabaseName(v string) *DeleteTableInput { - s.DatabaseName = &v - return s -} - -// SetName sets the Name field's value. -func (s *DeleteTableInput) SetName(v string) *DeleteTableInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableResponse type DeleteTableOutput struct { _ struct{} `type:"structure"` @@ -8650,12 +7432,6 @@ func (s *DeleteTriggerInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteTriggerInput) SetName(v string) *DeleteTriggerInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTriggerResponse type DeleteTriggerOutput struct { _ struct{} `type:"structure"` @@ -8681,12 +7457,6 @@ func (s DeleteTriggerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetName sets the Name field's value. -func (s *DeleteTriggerOutput) SetName(v string) *DeleteTriggerOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteUserDefinedFunctionRequest type DeleteUserDefinedFunctionInput struct { _ struct{} `type:"structure"` @@ -8743,24 +7513,6 @@ func (s *DeleteUserDefinedFunctionInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *DeleteUserDefinedFunctionInput) SetCatalogId(v string) *DeleteUserDefinedFunctionInput { - s.CatalogId = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *DeleteUserDefinedFunctionInput) SetDatabaseName(v string) *DeleteUserDefinedFunctionInput { - s.DatabaseName = &v - return s -} - -// SetFunctionName sets the FunctionName field's value. -func (s *DeleteUserDefinedFunctionInput) SetFunctionName(v string) *DeleteUserDefinedFunctionInput { - s.FunctionName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteUserDefinedFunctionResponse type DeleteUserDefinedFunctionOutput struct { _ struct{} `type:"structure"` @@ -8863,114 +7615,6 @@ func (s DevEndpoint) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *DevEndpoint) SetAvailabilityZone(v string) *DevEndpoint { - s.AvailabilityZone = &v - return s -} - -// SetCreatedTimestamp sets the CreatedTimestamp field's value. -func (s *DevEndpoint) SetCreatedTimestamp(v time.Time) *DevEndpoint { - s.CreatedTimestamp = &v - return s -} - -// SetEndpointName sets the EndpointName field's value. -func (s *DevEndpoint) SetEndpointName(v string) *DevEndpoint { - s.EndpointName = &v - return s -} - -// SetExtraJarsS3Path sets the ExtraJarsS3Path field's value. -func (s *DevEndpoint) SetExtraJarsS3Path(v string) *DevEndpoint { - s.ExtraJarsS3Path = &v - return s -} - -// SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value. -func (s *DevEndpoint) SetExtraPythonLibsS3Path(v string) *DevEndpoint { - s.ExtraPythonLibsS3Path = &v - return s -} - -// SetFailureReason sets the FailureReason field's value. -func (s *DevEndpoint) SetFailureReason(v string) *DevEndpoint { - s.FailureReason = &v - return s -} - -// SetLastModifiedTimestamp sets the LastModifiedTimestamp field's value. -func (s *DevEndpoint) SetLastModifiedTimestamp(v time.Time) *DevEndpoint { - s.LastModifiedTimestamp = &v - return s -} - -// SetLastUpdateStatus sets the LastUpdateStatus field's value. -func (s *DevEndpoint) SetLastUpdateStatus(v string) *DevEndpoint { - s.LastUpdateStatus = &v - return s -} - -// SetNumberOfNodes sets the NumberOfNodes field's value. -func (s *DevEndpoint) SetNumberOfNodes(v int64) *DevEndpoint { - s.NumberOfNodes = &v - return s -} - -// SetPublicAddress sets the PublicAddress field's value. -func (s *DevEndpoint) SetPublicAddress(v string) *DevEndpoint { - s.PublicAddress = &v - return s -} - -// SetPublicKey sets the PublicKey field's value. -func (s *DevEndpoint) SetPublicKey(v string) *DevEndpoint { - s.PublicKey = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *DevEndpoint) SetRoleArn(v string) *DevEndpoint { - s.RoleArn = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *DevEndpoint) SetSecurityGroupIds(v []string) *DevEndpoint { - s.SecurityGroupIds = v - return s -} - -// SetStatus sets the Status field's value. -func (s *DevEndpoint) SetStatus(v string) *DevEndpoint { - s.Status = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *DevEndpoint) SetSubnetId(v string) *DevEndpoint { - s.SubnetId = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *DevEndpoint) SetVpcId(v string) *DevEndpoint { - s.VpcId = &v - return s -} - -// SetYarnEndpointAddress sets the YarnEndpointAddress field's value. -func (s *DevEndpoint) SetYarnEndpointAddress(v string) *DevEndpoint { - s.YarnEndpointAddress = &v - return s -} - -// SetZeppelinRemoteSparkInterpreterPort sets the ZeppelinRemoteSparkInterpreterPort field's value. -func (s *DevEndpoint) SetZeppelinRemoteSparkInterpreterPort(v int64) *DevEndpoint { - s.ZeppelinRemoteSparkInterpreterPort = &v - return s -} - // Custom libraries to be loaded into a DevEndpoint. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DevEndpointCustomLibraries type DevEndpointCustomLibraries struct { @@ -9003,18 +7647,6 @@ func (s DevEndpointCustomLibraries) GoString() string { return s.String() } -// SetExtraJarsS3Path sets the ExtraJarsS3Path field's value. -func (s *DevEndpointCustomLibraries) SetExtraJarsS3Path(v string) *DevEndpointCustomLibraries { - s.ExtraJarsS3Path = &v - return s -} - -// SetExtraPythonLibsS3Path sets the ExtraPythonLibsS3Path field's value. -func (s *DevEndpointCustomLibraries) SetExtraPythonLibsS3Path(v string) *DevEndpointCustomLibraries { - s.ExtraPythonLibsS3Path = &v - return s -} - // Contains details about an error. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ErrorDetail type ErrorDetail struct { @@ -9037,18 +7669,6 @@ func (s ErrorDetail) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *ErrorDetail) SetErrorCode(v string) *ErrorDetail { - s.ErrorCode = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *ErrorDetail) SetErrorMessage(v string) *ErrorDetail { - s.ErrorMessage = &v - return s -} - // An execution property of a job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ExecutionProperty type ExecutionProperty struct { @@ -9070,12 +7690,6 @@ func (s ExecutionProperty) GoString() string { return s.String() } -// SetMaxConcurrentRuns sets the MaxConcurrentRuns field's value. -func (s *ExecutionProperty) SetMaxConcurrentRuns(v int64) *ExecutionProperty { - s.MaxConcurrentRuns = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCatalogImportStatusRequest type GetCatalogImportStatusInput struct { _ struct{} `type:"structure"` @@ -9108,12 +7722,6 @@ func (s *GetCatalogImportStatusInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *GetCatalogImportStatusInput) SetCatalogId(v string) *GetCatalogImportStatusInput { - s.CatalogId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCatalogImportStatusResponse type GetCatalogImportStatusOutput struct { _ struct{} `type:"structure"` @@ -9139,12 +7747,6 @@ func (s GetCatalogImportStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImportStatus sets the ImportStatus field's value. -func (s *GetCatalogImportStatusOutput) SetImportStatus(v *CatalogImportStatus) *GetCatalogImportStatusOutput { - s.ImportStatus = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifierRequest type GetClassifierInput struct { _ struct{} `type:"structure"` @@ -9182,12 +7784,6 @@ func (s *GetClassifierInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *GetClassifierInput) SetName(v string) *GetClassifierInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifierResponse type GetClassifierOutput struct { _ struct{} `type:"structure"` @@ -9213,12 +7809,6 @@ func (s GetClassifierOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClassifier sets the Classifier field's value. -func (s *GetClassifierOutput) SetClassifier(v *Classifier) *GetClassifierOutput { - s.Classifier = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiersRequest type GetClassifiersInput struct { _ struct{} `type:"structure"` @@ -9253,18 +7843,6 @@ func (s *GetClassifiersInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *GetClassifiersInput) SetMaxResults(v int64) *GetClassifiersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetClassifiersInput) SetNextToken(v string) *GetClassifiersInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiersResponse type GetClassifiersOutput struct { _ struct{} `type:"structure"` @@ -9293,18 +7871,6 @@ func (s GetClassifiersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClassifiers sets the Classifiers field's value. -func (s *GetClassifiersOutput) SetClassifiers(v []Classifier) *GetClassifiersOutput { - s.Classifiers = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetClassifiersOutput) SetNextToken(v string) *GetClassifiersOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnectionRequest type GetConnectionInput struct { _ struct{} `type:"structure"` @@ -9349,18 +7915,6 @@ func (s *GetConnectionInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *GetConnectionInput) SetCatalogId(v string) *GetConnectionInput { - s.CatalogId = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetConnectionInput) SetName(v string) *GetConnectionInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnectionResponse type GetConnectionOutput struct { _ struct{} `type:"structure"` @@ -9386,12 +7940,6 @@ func (s GetConnectionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConnection sets the Connection field's value. -func (s *GetConnectionOutput) SetConnection(v *Connection) *GetConnectionOutput { - s.Connection = v - return s -} - // Filters the connection definitions returned by the GetConnections API. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnectionsFilter type GetConnectionsFilter struct { @@ -9416,18 +7964,6 @@ func (s GetConnectionsFilter) GoString() string { return s.String() } -// SetConnectionType sets the ConnectionType field's value. -func (s *GetConnectionsFilter) SetConnectionType(v ConnectionType) *GetConnectionsFilter { - s.ConnectionType = v - return s -} - -// SetMatchCriteria sets the MatchCriteria field's value. -func (s *GetConnectionsFilter) SetMatchCriteria(v []string) *GetConnectionsFilter { - s.MatchCriteria = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnectionsRequest type GetConnectionsInput struct { _ struct{} `type:"structure"` @@ -9472,30 +8008,6 @@ func (s *GetConnectionsInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *GetConnectionsInput) SetCatalogId(v string) *GetConnectionsInput { - s.CatalogId = &v - return s -} - -// SetFilter sets the Filter field's value. -func (s *GetConnectionsInput) SetFilter(v *GetConnectionsFilter) *GetConnectionsInput { - s.Filter = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetConnectionsInput) SetMaxResults(v int64) *GetConnectionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetConnectionsInput) SetNextToken(v string) *GetConnectionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnectionsResponse type GetConnectionsOutput struct { _ struct{} `type:"structure"` @@ -9525,18 +8037,6 @@ func (s GetConnectionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConnectionList sets the ConnectionList field's value. -func (s *GetConnectionsOutput) SetConnectionList(v []Connection) *GetConnectionsOutput { - s.ConnectionList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetConnectionsOutput) SetNextToken(v string) *GetConnectionsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerRequest type GetCrawlerInput struct { _ struct{} `type:"structure"` @@ -9574,12 +8074,6 @@ func (s *GetCrawlerInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *GetCrawlerInput) SetName(v string) *GetCrawlerInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetricsRequest type GetCrawlerMetricsInput struct { _ struct{} `type:"structure"` @@ -9617,24 +8111,6 @@ func (s *GetCrawlerMetricsInput) Validate() error { return nil } -// SetCrawlerNameList sets the CrawlerNameList field's value. -func (s *GetCrawlerMetricsInput) SetCrawlerNameList(v []string) *GetCrawlerMetricsInput { - s.CrawlerNameList = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetCrawlerMetricsInput) SetMaxResults(v int64) *GetCrawlerMetricsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetCrawlerMetricsInput) SetNextToken(v string) *GetCrawlerMetricsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetricsResponse type GetCrawlerMetricsOutput struct { _ struct{} `type:"structure"` @@ -9664,18 +8140,6 @@ func (s GetCrawlerMetricsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCrawlerMetricsList sets the CrawlerMetricsList field's value. -func (s *GetCrawlerMetricsOutput) SetCrawlerMetricsList(v []CrawlerMetrics) *GetCrawlerMetricsOutput { - s.CrawlerMetricsList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetCrawlerMetricsOutput) SetNextToken(v string) *GetCrawlerMetricsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerResponse type GetCrawlerOutput struct { _ struct{} `type:"structure"` @@ -9701,12 +8165,6 @@ func (s GetCrawlerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCrawler sets the Crawler field's value. -func (s *GetCrawlerOutput) SetCrawler(v *Crawler) *GetCrawlerOutput { - s.Crawler = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlersRequest type GetCrawlersInput struct { _ struct{} `type:"structure"` @@ -9741,18 +8199,6 @@ func (s *GetCrawlersInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *GetCrawlersInput) SetMaxResults(v int64) *GetCrawlersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetCrawlersInput) SetNextToken(v string) *GetCrawlersInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlersResponse type GetCrawlersOutput struct { _ struct{} `type:"structure"` @@ -9782,18 +8228,6 @@ func (s GetCrawlersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCrawlers sets the Crawlers field's value. -func (s *GetCrawlersOutput) SetCrawlers(v []Crawler) *GetCrawlersOutput { - s.Crawlers = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetCrawlersOutput) SetNextToken(v string) *GetCrawlersOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabaseRequest type GetDatabaseInput struct { _ struct{} `type:"structure"` @@ -9838,18 +8272,6 @@ func (s *GetDatabaseInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *GetDatabaseInput) SetCatalogId(v string) *GetDatabaseInput { - s.CatalogId = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetDatabaseInput) SetName(v string) *GetDatabaseInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabaseResponse type GetDatabaseOutput struct { _ struct{} `type:"structure"` @@ -9875,12 +8297,6 @@ func (s GetDatabaseOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDatabase sets the Database field's value. -func (s *GetDatabaseOutput) SetDatabase(v *Database) *GetDatabaseOutput { - s.Database = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabasesRequest type GetDatabasesInput struct { _ struct{} `type:"structure"` @@ -9922,24 +8338,6 @@ func (s *GetDatabasesInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *GetDatabasesInput) SetCatalogId(v string) *GetDatabasesInput { - s.CatalogId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetDatabasesInput) SetMaxResults(v int64) *GetDatabasesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetDatabasesInput) SetNextToken(v string) *GetDatabasesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabasesResponse type GetDatabasesOutput struct { _ struct{} `type:"structure"` @@ -9971,18 +8369,6 @@ func (s GetDatabasesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDatabaseList sets the DatabaseList field's value. -func (s *GetDatabasesOutput) SetDatabaseList(v []Database) *GetDatabasesOutput { - s.DatabaseList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetDatabasesOutput) SetNextToken(v string) *GetDatabasesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataflowGraphRequest type GetDataflowGraphInput struct { _ struct{} `type:"structure"` @@ -10001,12 +8387,6 @@ func (s GetDataflowGraphInput) GoString() string { return s.String() } -// SetPythonScript sets the PythonScript field's value. -func (s *GetDataflowGraphInput) SetPythonScript(v string) *GetDataflowGraphInput { - s.PythonScript = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataflowGraphResponse type GetDataflowGraphOutput struct { _ struct{} `type:"structure"` @@ -10035,18 +8415,6 @@ func (s GetDataflowGraphOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDagEdges sets the DagEdges field's value. -func (s *GetDataflowGraphOutput) SetDagEdges(v []CodeGenEdge) *GetDataflowGraphOutput { - s.DagEdges = v - return s -} - -// SetDagNodes sets the DagNodes field's value. -func (s *GetDataflowGraphOutput) SetDagNodes(v []CodeGenNode) *GetDataflowGraphOutput { - s.DagNodes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpointRequest type GetDevEndpointInput struct { _ struct{} `type:"structure"` @@ -10081,12 +8449,6 @@ func (s *GetDevEndpointInput) Validate() error { return nil } -// SetEndpointName sets the EndpointName field's value. -func (s *GetDevEndpointInput) SetEndpointName(v string) *GetDevEndpointInput { - s.EndpointName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpointResponse type GetDevEndpointOutput struct { _ struct{} `type:"structure"` @@ -10112,12 +8474,6 @@ func (s GetDevEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDevEndpoint sets the DevEndpoint field's value. -func (s *GetDevEndpointOutput) SetDevEndpoint(v *DevEndpoint) *GetDevEndpointOutput { - s.DevEndpoint = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpointsRequest type GetDevEndpointsInput struct { _ struct{} `type:"structure"` @@ -10152,18 +8508,6 @@ func (s *GetDevEndpointsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *GetDevEndpointsInput) SetMaxResults(v int64) *GetDevEndpointsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetDevEndpointsInput) SetNextToken(v string) *GetDevEndpointsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpointsResponse type GetDevEndpointsOutput struct { _ struct{} `type:"structure"` @@ -10192,18 +8536,6 @@ func (s GetDevEndpointsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDevEndpoints sets the DevEndpoints field's value. -func (s *GetDevEndpointsOutput) SetDevEndpoints(v []DevEndpoint) *GetDevEndpointsOutput { - s.DevEndpoints = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetDevEndpointsOutput) SetNextToken(v string) *GetDevEndpointsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRequest type GetJobInput struct { _ struct{} `type:"structure"` @@ -10241,12 +8573,6 @@ func (s *GetJobInput) Validate() error { return nil } -// SetJobName sets the JobName field's value. -func (s *GetJobInput) SetJobName(v string) *GetJobInput { - s.JobName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobResponse type GetJobOutput struct { _ struct{} `type:"structure"` @@ -10272,12 +8598,6 @@ func (s GetJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJob sets the Job field's value. -func (s *GetJobOutput) SetJob(v *Job) *GetJobOutput { - s.Job = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRunRequest type GetJobRunInput struct { _ struct{} `type:"structure"` @@ -10330,24 +8650,6 @@ func (s *GetJobRunInput) Validate() error { return nil } -// SetJobName sets the JobName field's value. -func (s *GetJobRunInput) SetJobName(v string) *GetJobRunInput { - s.JobName = &v - return s -} - -// SetPredecessorsIncluded sets the PredecessorsIncluded field's value. -func (s *GetJobRunInput) SetPredecessorsIncluded(v bool) *GetJobRunInput { - s.PredecessorsIncluded = &v - return s -} - -// SetRunId sets the RunId field's value. -func (s *GetJobRunInput) SetRunId(v string) *GetJobRunInput { - s.RunId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRunResponse type GetJobRunOutput struct { _ struct{} `type:"structure"` @@ -10373,12 +8675,6 @@ func (s GetJobRunOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobRun sets the JobRun field's value. -func (s *GetJobRunOutput) SetJobRun(v *JobRun) *GetJobRunOutput { - s.JobRun = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRunsRequest type GetJobRunsInput struct { _ struct{} `type:"structure"` @@ -10425,24 +8721,6 @@ func (s *GetJobRunsInput) Validate() error { return nil } -// SetJobName sets the JobName field's value. -func (s *GetJobRunsInput) SetJobName(v string) *GetJobRunsInput { - s.JobName = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetJobRunsInput) SetMaxResults(v int64) *GetJobRunsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetJobRunsInput) SetNextToken(v string) *GetJobRunsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRunsResponse type GetJobRunsOutput struct { _ struct{} `type:"structure"` @@ -10471,18 +8749,6 @@ func (s GetJobRunsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobRuns sets the JobRuns field's value. -func (s *GetJobRunsOutput) SetJobRuns(v []JobRun) *GetJobRunsOutput { - s.JobRuns = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetJobRunsOutput) SetNextToken(v string) *GetJobRunsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobsRequest type GetJobsInput struct { _ struct{} `type:"structure"` @@ -10517,18 +8783,6 @@ func (s *GetJobsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *GetJobsInput) SetMaxResults(v int64) *GetJobsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetJobsInput) SetNextToken(v string) *GetJobsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobsResponse type GetJobsOutput struct { _ struct{} `type:"structure"` @@ -10557,18 +8811,6 @@ func (s GetJobsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobs sets the Jobs field's value. -func (s *GetJobsOutput) SetJobs(v []Job) *GetJobsOutput { - s.Jobs = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetJobsOutput) SetNextToken(v string) *GetJobsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMappingRequest type GetMappingInput struct { _ struct{} `type:"structure"` @@ -10626,24 +8868,6 @@ func (s *GetMappingInput) Validate() error { return nil } -// SetLocation sets the Location field's value. -func (s *GetMappingInput) SetLocation(v *Location) *GetMappingInput { - s.Location = v - return s -} - -// SetSinks sets the Sinks field's value. -func (s *GetMappingInput) SetSinks(v []CatalogEntry) *GetMappingInput { - s.Sinks = v - return s -} - -// SetSource sets the Source field's value. -func (s *GetMappingInput) SetSource(v *CatalogEntry) *GetMappingInput { - s.Source = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMappingResponse type GetMappingOutput struct { _ struct{} `type:"structure"` @@ -10671,12 +8895,6 @@ func (s GetMappingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMapping sets the Mapping field's value. -func (s *GetMappingOutput) SetMapping(v []MappingEntry) *GetMappingOutput { - s.Mapping = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionRequest type GetPartitionInput struct { _ struct{} `type:"structure"` @@ -10742,30 +8960,6 @@ func (s *GetPartitionInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *GetPartitionInput) SetCatalogId(v string) *GetPartitionInput { - s.CatalogId = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *GetPartitionInput) SetDatabaseName(v string) *GetPartitionInput { - s.DatabaseName = &v - return s -} - -// SetPartitionValues sets the PartitionValues field's value. -func (s *GetPartitionInput) SetPartitionValues(v []string) *GetPartitionInput { - s.PartitionValues = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *GetPartitionInput) SetTableName(v string) *GetPartitionInput { - s.TableName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionResponse type GetPartitionOutput struct { _ struct{} `type:"structure"` @@ -10791,12 +8985,6 @@ func (s GetPartitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPartition sets the Partition field's value. -func (s *GetPartitionOutput) SetPartition(v *Partition) *GetPartitionOutput { - s.Partition = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionsRequest type GetPartitionsInput struct { _ struct{} `type:"structure"` @@ -10873,48 +9061,6 @@ func (s *GetPartitionsInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *GetPartitionsInput) SetCatalogId(v string) *GetPartitionsInput { - s.CatalogId = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *GetPartitionsInput) SetDatabaseName(v string) *GetPartitionsInput { - s.DatabaseName = &v - return s -} - -// SetExpression sets the Expression field's value. -func (s *GetPartitionsInput) SetExpression(v string) *GetPartitionsInput { - s.Expression = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetPartitionsInput) SetMaxResults(v int64) *GetPartitionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetPartitionsInput) SetNextToken(v string) *GetPartitionsInput { - s.NextToken = &v - return s -} - -// SetSegment sets the Segment field's value. -func (s *GetPartitionsInput) SetSegment(v *Segment) *GetPartitionsInput { - s.Segment = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *GetPartitionsInput) SetTableName(v string) *GetPartitionsInput { - s.TableName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionsResponse type GetPartitionsOutput struct { _ struct{} `type:"structure"` @@ -10944,18 +9090,6 @@ func (s GetPartitionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *GetPartitionsOutput) SetNextToken(v string) *GetPartitionsOutput { - s.NextToken = &v - return s -} - -// SetPartitions sets the Partitions field's value. -func (s *GetPartitionsOutput) SetPartitions(v []Partition) *GetPartitionsOutput { - s.Partitions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlanRequest type GetPlanInput struct { _ struct{} `type:"structure"` @@ -11025,36 +9159,6 @@ func (s *GetPlanInput) Validate() error { return nil } -// SetLanguage sets the Language field's value. -func (s *GetPlanInput) SetLanguage(v Language) *GetPlanInput { - s.Language = v - return s -} - -// SetLocation sets the Location field's value. -func (s *GetPlanInput) SetLocation(v *Location) *GetPlanInput { - s.Location = v - return s -} - -// SetMapping sets the Mapping field's value. -func (s *GetPlanInput) SetMapping(v []MappingEntry) *GetPlanInput { - s.Mapping = v - return s -} - -// SetSinks sets the Sinks field's value. -func (s *GetPlanInput) SetSinks(v []CatalogEntry) *GetPlanInput { - s.Sinks = v - return s -} - -// SetSource sets the Source field's value. -func (s *GetPlanInput) SetSource(v *CatalogEntry) *GetPlanInput { - s.Source = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlanResponse type GetPlanOutput struct { _ struct{} `type:"structure"` @@ -11083,18 +9187,6 @@ func (s GetPlanOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPythonScript sets the PythonScript field's value. -func (s *GetPlanOutput) SetPythonScript(v string) *GetPlanOutput { - s.PythonScript = &v - return s -} - -// SetScalaCode sets the ScalaCode field's value. -func (s *GetPlanOutput) SetScalaCode(v string) *GetPlanOutput { - s.ScalaCode = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableRequest type GetTableInput struct { _ struct{} `type:"structure"` @@ -11151,24 +9243,6 @@ func (s *GetTableInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *GetTableInput) SetCatalogId(v string) *GetTableInput { - s.CatalogId = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *GetTableInput) SetDatabaseName(v string) *GetTableInput { - s.DatabaseName = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetTableInput) SetName(v string) *GetTableInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableResponse type GetTableOutput struct { _ struct{} `type:"structure"` @@ -11194,12 +9268,6 @@ func (s GetTableOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTable sets the Table field's value. -func (s *GetTableOutput) SetTable(v *Table) *GetTableOutput { - s.Table = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersionsRequest type GetTableVersionsInput struct { _ struct{} `type:"structure"` @@ -11265,36 +9333,6 @@ func (s *GetTableVersionsInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *GetTableVersionsInput) SetCatalogId(v string) *GetTableVersionsInput { - s.CatalogId = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *GetTableVersionsInput) SetDatabaseName(v string) *GetTableVersionsInput { - s.DatabaseName = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetTableVersionsInput) SetMaxResults(v int64) *GetTableVersionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetTableVersionsInput) SetNextToken(v string) *GetTableVersionsInput { - s.NextToken = &v - return s -} - -// SetTableName sets the TableName field's value. -func (s *GetTableVersionsInput) SetTableName(v string) *GetTableVersionsInput { - s.TableName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersionsResponse type GetTableVersionsOutput struct { _ struct{} `type:"structure"` @@ -11324,18 +9362,6 @@ func (s GetTableVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *GetTableVersionsOutput) SetNextToken(v string) *GetTableVersionsOutput { - s.NextToken = &v - return s -} - -// SetTableVersions sets the TableVersions field's value. -func (s *GetTableVersionsOutput) SetTableVersions(v []TableVersion) *GetTableVersionsOutput { - s.TableVersions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTablesRequest type GetTablesInput struct { _ struct{} `type:"structure"` @@ -11393,36 +9419,6 @@ func (s *GetTablesInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *GetTablesInput) SetCatalogId(v string) *GetTablesInput { - s.CatalogId = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *GetTablesInput) SetDatabaseName(v string) *GetTablesInput { - s.DatabaseName = &v - return s -} - -// SetExpression sets the Expression field's value. -func (s *GetTablesInput) SetExpression(v string) *GetTablesInput { - s.Expression = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetTablesInput) SetMaxResults(v int64) *GetTablesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetTablesInput) SetNextToken(v string) *GetTablesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTablesResponse type GetTablesOutput struct { _ struct{} `type:"structure"` @@ -11451,18 +9447,6 @@ func (s GetTablesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *GetTablesOutput) SetNextToken(v string) *GetTablesOutput { - s.NextToken = &v - return s -} - -// SetTableList sets the TableList field's value. -func (s *GetTablesOutput) SetTableList(v []Table) *GetTablesOutput { - s.TableList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggerRequest type GetTriggerInput struct { _ struct{} `type:"structure"` @@ -11500,12 +9484,6 @@ func (s *GetTriggerInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *GetTriggerInput) SetName(v string) *GetTriggerInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggerResponse type GetTriggerOutput struct { _ struct{} `type:"structure"` @@ -11531,12 +9509,6 @@ func (s GetTriggerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTrigger sets the Trigger field's value. -func (s *GetTriggerOutput) SetTrigger(v *Trigger) *GetTriggerOutput { - s.Trigger = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggersRequest type GetTriggersInput struct { _ struct{} `type:"structure"` @@ -11579,24 +9551,6 @@ func (s *GetTriggersInput) Validate() error { return nil } -// SetDependentJobName sets the DependentJobName field's value. -func (s *GetTriggersInput) SetDependentJobName(v string) *GetTriggersInput { - s.DependentJobName = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetTriggersInput) SetMaxResults(v int64) *GetTriggersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetTriggersInput) SetNextToken(v string) *GetTriggersInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggersResponse type GetTriggersOutput struct { _ struct{} `type:"structure"` @@ -11625,18 +9579,6 @@ func (s GetTriggersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *GetTriggersOutput) SetNextToken(v string) *GetTriggersOutput { - s.NextToken = &v - return s -} - -// SetTriggers sets the Triggers field's value. -func (s *GetTriggersOutput) SetTriggers(v []Trigger) *GetTriggersOutput { - s.Triggers = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctionRequest type GetUserDefinedFunctionInput struct { _ struct{} `type:"structure"` @@ -11693,24 +9635,6 @@ func (s *GetUserDefinedFunctionInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *GetUserDefinedFunctionInput) SetCatalogId(v string) *GetUserDefinedFunctionInput { - s.CatalogId = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *GetUserDefinedFunctionInput) SetDatabaseName(v string) *GetUserDefinedFunctionInput { - s.DatabaseName = &v - return s -} - -// SetFunctionName sets the FunctionName field's value. -func (s *GetUserDefinedFunctionInput) SetFunctionName(v string) *GetUserDefinedFunctionInput { - s.FunctionName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctionResponse type GetUserDefinedFunctionOutput struct { _ struct{} `type:"structure"` @@ -11736,12 +9660,6 @@ func (s GetUserDefinedFunctionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUserDefinedFunction sets the UserDefinedFunction field's value. -func (s *GetUserDefinedFunctionOutput) SetUserDefinedFunction(v *UserDefinedFunction) *GetUserDefinedFunctionOutput { - s.UserDefinedFunction = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctionsRequest type GetUserDefinedFunctionsInput struct { _ struct{} `type:"structure"` @@ -11808,36 +9726,6 @@ func (s *GetUserDefinedFunctionsInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *GetUserDefinedFunctionsInput) SetCatalogId(v string) *GetUserDefinedFunctionsInput { - s.CatalogId = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *GetUserDefinedFunctionsInput) SetDatabaseName(v string) *GetUserDefinedFunctionsInput { - s.DatabaseName = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetUserDefinedFunctionsInput) SetMaxResults(v int64) *GetUserDefinedFunctionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetUserDefinedFunctionsInput) SetNextToken(v string) *GetUserDefinedFunctionsInput { - s.NextToken = &v - return s -} - -// SetPattern sets the Pattern field's value. -func (s *GetUserDefinedFunctionsInput) SetPattern(v string) *GetUserDefinedFunctionsInput { - s.Pattern = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctionsResponse type GetUserDefinedFunctionsOutput struct { _ struct{} `type:"structure"` @@ -11867,18 +9755,6 @@ func (s GetUserDefinedFunctionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *GetUserDefinedFunctionsOutput) SetNextToken(v string) *GetUserDefinedFunctionsOutput { - s.NextToken = &v - return s -} - -// SetUserDefinedFunctions sets the UserDefinedFunctions field's value. -func (s *GetUserDefinedFunctionsOutput) SetUserDefinedFunctions(v []UserDefinedFunction) *GetUserDefinedFunctionsOutput { - s.UserDefinedFunctions = v - return s -} - // A classifier that uses grok patterns. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GrokClassifier type GrokClassifier struct { @@ -11925,48 +9801,6 @@ func (s GrokClassifier) GoString() string { return s.String() } -// SetClassification sets the Classification field's value. -func (s *GrokClassifier) SetClassification(v string) *GrokClassifier { - s.Classification = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *GrokClassifier) SetCreationTime(v time.Time) *GrokClassifier { - s.CreationTime = &v - return s -} - -// SetCustomPatterns sets the CustomPatterns field's value. -func (s *GrokClassifier) SetCustomPatterns(v string) *GrokClassifier { - s.CustomPatterns = &v - return s -} - -// SetGrokPattern sets the GrokPattern field's value. -func (s *GrokClassifier) SetGrokPattern(v string) *GrokClassifier { - s.GrokPattern = &v - return s -} - -// SetLastUpdated sets the LastUpdated field's value. -func (s *GrokClassifier) SetLastUpdated(v time.Time) *GrokClassifier { - s.LastUpdated = &v - return s -} - -// SetName sets the Name field's value. -func (s *GrokClassifier) SetName(v string) *GrokClassifier { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *GrokClassifier) SetVersion(v int64) *GrokClassifier { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ImportCatalogToGlueRequest type ImportCatalogToGlueInput struct { _ struct{} `type:"structure"` @@ -11999,12 +9833,6 @@ func (s *ImportCatalogToGlueInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *ImportCatalogToGlueInput) SetCatalogId(v string) *ImportCatalogToGlueInput { - s.CatalogId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ImportCatalogToGlueResponse type ImportCatalogToGlueOutput struct { _ struct{} `type:"structure"` @@ -12053,24 +9881,6 @@ func (s JdbcTarget) GoString() string { return s.String() } -// SetConnectionName sets the ConnectionName field's value. -func (s *JdbcTarget) SetConnectionName(v string) *JdbcTarget { - s.ConnectionName = &v - return s -} - -// SetExclusions sets the Exclusions field's value. -func (s *JdbcTarget) SetExclusions(v []string) *JdbcTarget { - s.Exclusions = v - return s -} - -// SetPath sets the Path field's value. -func (s *JdbcTarget) SetPath(v string) *JdbcTarget { - s.Path = &v - return s -} - // Specifies a job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Job type Job struct { @@ -12139,78 +9949,6 @@ func (s Job) GoString() string { return s.String() } -// SetAllocatedCapacity sets the AllocatedCapacity field's value. -func (s *Job) SetAllocatedCapacity(v int64) *Job { - s.AllocatedCapacity = &v - return s -} - -// SetCommand sets the Command field's value. -func (s *Job) SetCommand(v *JobCommand) *Job { - s.Command = v - return s -} - -// SetConnections sets the Connections field's value. -func (s *Job) SetConnections(v *ConnectionsList) *Job { - s.Connections = v - return s -} - -// SetCreatedOn sets the CreatedOn field's value. -func (s *Job) SetCreatedOn(v time.Time) *Job { - s.CreatedOn = &v - return s -} - -// SetDefaultArguments sets the DefaultArguments field's value. -func (s *Job) SetDefaultArguments(v map[string]string) *Job { - s.DefaultArguments = v - return s -} - -// SetDescription sets the Description field's value. -func (s *Job) SetDescription(v string) *Job { - s.Description = &v - return s -} - -// SetExecutionProperty sets the ExecutionProperty field's value. -func (s *Job) SetExecutionProperty(v *ExecutionProperty) *Job { - s.ExecutionProperty = v - return s -} - -// SetLastModifiedOn sets the LastModifiedOn field's value. -func (s *Job) SetLastModifiedOn(v time.Time) *Job { - s.LastModifiedOn = &v - return s -} - -// SetLogUri sets the LogUri field's value. -func (s *Job) SetLogUri(v string) *Job { - s.LogUri = &v - return s -} - -// SetMaxRetries sets the MaxRetries field's value. -func (s *Job) SetMaxRetries(v int64) *Job { - s.MaxRetries = &v - return s -} - -// SetName sets the Name field's value. -func (s *Job) SetName(v string) *Job { - s.Name = &v - return s -} - -// SetRole sets the Role field's value. -func (s *Job) SetRole(v string) *Job { - s.Role = &v - return s -} - // Defines a point which a job can resume processing. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JobBookmarkEntry type JobBookmarkEntry struct { @@ -12242,36 +9980,6 @@ func (s JobBookmarkEntry) GoString() string { return s.String() } -// SetAttempt sets the Attempt field's value. -func (s *JobBookmarkEntry) SetAttempt(v int64) *JobBookmarkEntry { - s.Attempt = &v - return s -} - -// SetJobBookmark sets the JobBookmark field's value. -func (s *JobBookmarkEntry) SetJobBookmark(v string) *JobBookmarkEntry { - s.JobBookmark = &v - return s -} - -// SetJobName sets the JobName field's value. -func (s *JobBookmarkEntry) SetJobName(v string) *JobBookmarkEntry { - s.JobName = &v - return s -} - -// SetRun sets the Run field's value. -func (s *JobBookmarkEntry) SetRun(v int64) *JobBookmarkEntry { - s.Run = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *JobBookmarkEntry) SetVersion(v int64) *JobBookmarkEntry { - s.Version = &v - return s -} - // Specifies code that executes a job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JobCommand type JobCommand struct { @@ -12294,18 +10002,6 @@ func (s JobCommand) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *JobCommand) SetName(v string) *JobCommand { - s.Name = &v - return s -} - -// SetScriptLocation sets the ScriptLocation field's value. -func (s *JobCommand) SetScriptLocation(v string) *JobCommand { - s.ScriptLocation = &v - return s -} - // Contains information about a job run. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JobRun type JobRun struct { @@ -12378,84 +10074,6 @@ func (s JobRun) GoString() string { return s.String() } -// SetAllocatedCapacity sets the AllocatedCapacity field's value. -func (s *JobRun) SetAllocatedCapacity(v int64) *JobRun { - s.AllocatedCapacity = &v - return s -} - -// SetArguments sets the Arguments field's value. -func (s *JobRun) SetArguments(v map[string]string) *JobRun { - s.Arguments = v - return s -} - -// SetAttempt sets the Attempt field's value. -func (s *JobRun) SetAttempt(v int64) *JobRun { - s.Attempt = &v - return s -} - -// SetCompletedOn sets the CompletedOn field's value. -func (s *JobRun) SetCompletedOn(v time.Time) *JobRun { - s.CompletedOn = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *JobRun) SetErrorMessage(v string) *JobRun { - s.ErrorMessage = &v - return s -} - -// SetId sets the Id field's value. -func (s *JobRun) SetId(v string) *JobRun { - s.Id = &v - return s -} - -// SetJobName sets the JobName field's value. -func (s *JobRun) SetJobName(v string) *JobRun { - s.JobName = &v - return s -} - -// SetJobRunState sets the JobRunState field's value. -func (s *JobRun) SetJobRunState(v JobRunState) *JobRun { - s.JobRunState = v - return s -} - -// SetLastModifiedOn sets the LastModifiedOn field's value. -func (s *JobRun) SetLastModifiedOn(v time.Time) *JobRun { - s.LastModifiedOn = &v - return s -} - -// SetPredecessorRuns sets the PredecessorRuns field's value. -func (s *JobRun) SetPredecessorRuns(v []Predecessor) *JobRun { - s.PredecessorRuns = v - return s -} - -// SetPreviousRunId sets the PreviousRunId field's value. -func (s *JobRun) SetPreviousRunId(v string) *JobRun { - s.PreviousRunId = &v - return s -} - -// SetStartedOn sets the StartedOn field's value. -func (s *JobRun) SetStartedOn(v time.Time) *JobRun { - s.StartedOn = &v - return s -} - -// SetTriggerName sets the TriggerName field's value. -func (s *JobRun) SetTriggerName(v string) *JobRun { - s.TriggerName = &v - return s -} - // Specifies information used to update an existing job. Note that the previous // job definition will be completely overwritten by this information. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/JobUpdate @@ -12516,60 +10134,6 @@ func (s JobUpdate) GoString() string { return s.String() } -// SetAllocatedCapacity sets the AllocatedCapacity field's value. -func (s *JobUpdate) SetAllocatedCapacity(v int64) *JobUpdate { - s.AllocatedCapacity = &v - return s -} - -// SetCommand sets the Command field's value. -func (s *JobUpdate) SetCommand(v *JobCommand) *JobUpdate { - s.Command = v - return s -} - -// SetConnections sets the Connections field's value. -func (s *JobUpdate) SetConnections(v *ConnectionsList) *JobUpdate { - s.Connections = v - return s -} - -// SetDefaultArguments sets the DefaultArguments field's value. -func (s *JobUpdate) SetDefaultArguments(v map[string]string) *JobUpdate { - s.DefaultArguments = v - return s -} - -// SetDescription sets the Description field's value. -func (s *JobUpdate) SetDescription(v string) *JobUpdate { - s.Description = &v - return s -} - -// SetExecutionProperty sets the ExecutionProperty field's value. -func (s *JobUpdate) SetExecutionProperty(v *ExecutionProperty) *JobUpdate { - s.ExecutionProperty = v - return s -} - -// SetLogUri sets the LogUri field's value. -func (s *JobUpdate) SetLogUri(v string) *JobUpdate { - s.LogUri = &v - return s -} - -// SetMaxRetries sets the MaxRetries field's value. -func (s *JobUpdate) SetMaxRetries(v int64) *JobUpdate { - s.MaxRetries = &v - return s -} - -// SetRole sets the Role field's value. -func (s *JobUpdate) SetRole(v string) *JobUpdate { - s.Role = &v - return s -} - // Status and error information about the most recent crawl. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/LastCrawlInfo type LastCrawlInfo struct { @@ -12604,42 +10168,6 @@ func (s LastCrawlInfo) GoString() string { return s.String() } -// SetErrorMessage sets the ErrorMessage field's value. -func (s *LastCrawlInfo) SetErrorMessage(v string) *LastCrawlInfo { - s.ErrorMessage = &v - return s -} - -// SetLogGroup sets the LogGroup field's value. -func (s *LastCrawlInfo) SetLogGroup(v string) *LastCrawlInfo { - s.LogGroup = &v - return s -} - -// SetLogStream sets the LogStream field's value. -func (s *LastCrawlInfo) SetLogStream(v string) *LastCrawlInfo { - s.LogStream = &v - return s -} - -// SetMessagePrefix sets the MessagePrefix field's value. -func (s *LastCrawlInfo) SetMessagePrefix(v string) *LastCrawlInfo { - s.MessagePrefix = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *LastCrawlInfo) SetStartTime(v time.Time) *LastCrawlInfo { - s.StartTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *LastCrawlInfo) SetStatus(v LastCrawlStatus) *LastCrawlInfo { - s.Status = v - return s -} - // The location of resources. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Location type Location struct { @@ -12686,18 +10214,6 @@ func (s *Location) Validate() error { return nil } -// SetJdbc sets the Jdbc field's value. -func (s *Location) SetJdbc(v []CodeGenNodeArg) *Location { - s.Jdbc = v - return s -} - -// SetS3 sets the S3 field's value. -func (s *Location) SetS3(v []CodeGenNodeArg) *Location { - s.S3 = v - return s -} - // Defines a mapping. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/MappingEntry type MappingEntry struct { @@ -12732,42 +10248,6 @@ func (s MappingEntry) GoString() string { return s.String() } -// SetSourcePath sets the SourcePath field's value. -func (s *MappingEntry) SetSourcePath(v string) *MappingEntry { - s.SourcePath = &v - return s -} - -// SetSourceTable sets the SourceTable field's value. -func (s *MappingEntry) SetSourceTable(v string) *MappingEntry { - s.SourceTable = &v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *MappingEntry) SetSourceType(v string) *MappingEntry { - s.SourceType = &v - return s -} - -// SetTargetPath sets the TargetPath field's value. -func (s *MappingEntry) SetTargetPath(v string) *MappingEntry { - s.TargetPath = &v - return s -} - -// SetTargetTable sets the TargetTable field's value. -func (s *MappingEntry) SetTargetTable(v string) *MappingEntry { - s.TargetTable = &v - return s -} - -// SetTargetType sets the TargetType field's value. -func (s *MappingEntry) SetTargetType(v string) *MappingEntry { - s.TargetType = &v - return s -} - // Specifies the sort order of a sorted column. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Order type Order struct { @@ -12816,18 +10296,6 @@ func (s *Order) Validate() error { return nil } -// SetColumn sets the Column field's value. -func (s *Order) SetColumn(v string) *Order { - s.Column = &v - return s -} - -// SetSortOrder sets the SortOrder field's value. -func (s *Order) SetSortOrder(v int64) *Order { - s.SortOrder = &v - return s -} - // Represents a slice of table data. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Partition type Partition struct { @@ -12868,54 +10336,6 @@ func (s Partition) GoString() string { return s.String() } -// SetCreationTime sets the CreationTime field's value. -func (s *Partition) SetCreationTime(v time.Time) *Partition { - s.CreationTime = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *Partition) SetDatabaseName(v string) *Partition { - s.DatabaseName = &v - return s -} - -// SetLastAccessTime sets the LastAccessTime field's value. -func (s *Partition) SetLastAccessTime(v time.Time) *Partition { - s.LastAccessTime = &v - return s -} - -// SetLastAnalyzedTime sets the LastAnalyzedTime field's value. -func (s *Partition) SetLastAnalyzedTime(v time.Time) *Partition { - s.LastAnalyzedTime = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *Partition) SetParameters(v map[string]string) *Partition { - s.Parameters = v - return s -} - -// SetStorageDescriptor sets the StorageDescriptor field's value. -func (s *Partition) SetStorageDescriptor(v *StorageDescriptor) *Partition { - s.StorageDescriptor = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *Partition) SetTableName(v string) *Partition { - s.TableName = &v - return s -} - -// SetValues sets the Values field's value. -func (s *Partition) SetValues(v []string) *Partition { - s.Values = v - return s -} - // Contains information about a partition error. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PartitionError type PartitionError struct { @@ -12938,18 +10358,6 @@ func (s PartitionError) GoString() string { return s.String() } -// SetErrorDetail sets the ErrorDetail field's value. -func (s *PartitionError) SetErrorDetail(v *ErrorDetail) *PartitionError { - s.ErrorDetail = v - return s -} - -// SetPartitionValues sets the PartitionValues field's value. -func (s *PartitionError) SetPartitionValues(v []string) *PartitionError { - s.PartitionValues = v - return s -} - // The structure used to create and update a partion. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PartitionInput type PartitionInput struct { @@ -12996,36 +10404,6 @@ func (s *PartitionInput) Validate() error { return nil } -// SetLastAccessTime sets the LastAccessTime field's value. -func (s *PartitionInput) SetLastAccessTime(v time.Time) *PartitionInput { - s.LastAccessTime = &v - return s -} - -// SetLastAnalyzedTime sets the LastAnalyzedTime field's value. -func (s *PartitionInput) SetLastAnalyzedTime(v time.Time) *PartitionInput { - s.LastAnalyzedTime = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *PartitionInput) SetParameters(v map[string]string) *PartitionInput { - s.Parameters = v - return s -} - -// SetStorageDescriptor sets the StorageDescriptor field's value. -func (s *PartitionInput) SetStorageDescriptor(v *StorageDescriptor) *PartitionInput { - s.StorageDescriptor = v - return s -} - -// SetValues sets the Values field's value. -func (s *PartitionInput) SetValues(v []string) *PartitionInput { - s.Values = v - return s -} - // Contains a list of values defining partitions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PartitionValueList type PartitionValueList struct { @@ -13061,12 +10439,6 @@ func (s *PartitionValueList) Validate() error { return nil } -// SetValues sets the Values field's value. -func (s *PartitionValueList) SetValues(v []string) *PartitionValueList { - s.Values = v - return s -} - // Specifies the physical requirements for a connection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PhysicalConnectionRequirements type PhysicalConnectionRequirements struct { @@ -13108,24 +10480,6 @@ func (s *PhysicalConnectionRequirements) Validate() error { return nil } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *PhysicalConnectionRequirements) SetAvailabilityZone(v string) *PhysicalConnectionRequirements { - s.AvailabilityZone = &v - return s -} - -// SetSecurityGroupIdList sets the SecurityGroupIdList field's value. -func (s *PhysicalConnectionRequirements) SetSecurityGroupIdList(v []string) *PhysicalConnectionRequirements { - s.SecurityGroupIdList = v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *PhysicalConnectionRequirements) SetSubnetId(v string) *PhysicalConnectionRequirements { - s.SubnetId = &v - return s -} - // A job run that was used in the predicate of a conditional trigger that triggered // this job run. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Predecessor @@ -13149,18 +10503,6 @@ func (s Predecessor) GoString() string { return s.String() } -// SetJobName sets the JobName field's value. -func (s *Predecessor) SetJobName(v string) *Predecessor { - s.JobName = &v - return s -} - -// SetRunId sets the RunId field's value. -func (s *Predecessor) SetRunId(v string) *Predecessor { - s.RunId = &v - return s -} - // Defines the predicate of the trigger, which determines when it fires. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Predicate type Predicate struct { @@ -13200,18 +10542,6 @@ func (s *Predicate) Validate() error { return nil } -// SetConditions sets the Conditions field's value. -func (s *Predicate) SetConditions(v []Condition) *Predicate { - s.Conditions = v - return s -} - -// SetLogical sets the Logical field's value. -func (s *Predicate) SetLogical(v Logical) *Predicate { - s.Logical = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmarkRequest type ResetJobBookmarkInput struct { _ struct{} `type:"structure"` @@ -13246,12 +10576,6 @@ func (s *ResetJobBookmarkInput) Validate() error { return nil } -// SetJobName sets the JobName field's value. -func (s *ResetJobBookmarkInput) SetJobName(v string) *ResetJobBookmarkInput { - s.JobName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmarkResponse type ResetJobBookmarkOutput struct { _ struct{} `type:"structure"` @@ -13277,12 +10601,6 @@ func (s ResetJobBookmarkOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobBookmarkEntry sets the JobBookmarkEntry field's value. -func (s *ResetJobBookmarkOutput) SetJobBookmarkEntry(v *JobBookmarkEntry) *ResetJobBookmarkOutput { - s.JobBookmarkEntry = v - return s -} - // URIs for function resources. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResourceUri type ResourceUri struct { @@ -13318,18 +10636,6 @@ func (s *ResourceUri) Validate() error { return nil } -// SetResourceType sets the ResourceType field's value. -func (s *ResourceUri) SetResourceType(v ResourceType) *ResourceUri { - s.ResourceType = v - return s -} - -// SetUri sets the Uri field's value. -func (s *ResourceUri) SetUri(v string) *ResourceUri { - s.Uri = &v - return s -} - // Specifies a data store in Amazon S3. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/S3Target type S3Target struct { @@ -13353,18 +10659,6 @@ func (s S3Target) GoString() string { return s.String() } -// SetExclusions sets the Exclusions field's value. -func (s *S3Target) SetExclusions(v []string) *S3Target { - s.Exclusions = v - return s -} - -// SetPath sets the Path field's value. -func (s *S3Target) SetPath(v string) *S3Target { - s.Path = &v - return s -} - // A scheduling object using a cron statement to schedule an event. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Schedule type Schedule struct { @@ -13390,18 +10684,6 @@ func (s Schedule) GoString() string { return s.String() } -// SetScheduleExpression sets the ScheduleExpression field's value. -func (s *Schedule) SetScheduleExpression(v string) *Schedule { - s.ScheduleExpression = &v - return s -} - -// SetState sets the State field's value. -func (s *Schedule) SetState(v ScheduleState) *Schedule { - s.State = v - return s -} - // Crawler policy for update and deletion behavior. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SchemaChangePolicy type SchemaChangePolicy struct { @@ -13424,18 +10706,6 @@ func (s SchemaChangePolicy) GoString() string { return s.String() } -// SetDeleteBehavior sets the DeleteBehavior field's value. -func (s *SchemaChangePolicy) SetDeleteBehavior(v DeleteBehavior) *SchemaChangePolicy { - s.DeleteBehavior = v - return s -} - -// SetUpdateBehavior sets the UpdateBehavior field's value. -func (s *SchemaChangePolicy) SetUpdateBehavior(v UpdateBehavior) *SchemaChangePolicy { - s.UpdateBehavior = v - return s -} - // Defines a non-overlapping region of a table's partitions, allowing multiple // requests to be executed in parallel. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Segment @@ -13486,18 +10756,6 @@ func (s *Segment) Validate() error { return nil } -// SetSegmentNumber sets the SegmentNumber field's value. -func (s *Segment) SetSegmentNumber(v int64) *Segment { - s.SegmentNumber = &v - return s -} - -// SetTotalSegments sets the TotalSegments field's value. -func (s *Segment) SetTotalSegments(v int64) *Segment { - s.TotalSegments = &v - return s -} - // Information about a serialization/deserialization program (SerDe) which serves // as an extractor and loader. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SerDeInfo @@ -13540,24 +10798,6 @@ func (s *SerDeInfo) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *SerDeInfo) SetName(v string) *SerDeInfo { - s.Name = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *SerDeInfo) SetParameters(v map[string]string) *SerDeInfo { - s.Parameters = v - return s -} - -// SetSerializationLibrary sets the SerializationLibrary field's value. -func (s *SerDeInfo) SetSerializationLibrary(v string) *SerDeInfo { - s.SerializationLibrary = &v - return s -} - // Specifies skewed values in a table. Skewed are ones that occur with very // high frequency. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SkewedInfo @@ -13584,24 +10824,6 @@ func (s SkewedInfo) GoString() string { return s.String() } -// SetSkewedColumnNames sets the SkewedColumnNames field's value. -func (s *SkewedInfo) SetSkewedColumnNames(v []string) *SkewedInfo { - s.SkewedColumnNames = v - return s -} - -// SetSkewedColumnValueLocationMaps sets the SkewedColumnValueLocationMaps field's value. -func (s *SkewedInfo) SetSkewedColumnValueLocationMaps(v map[string]string) *SkewedInfo { - s.SkewedColumnValueLocationMaps = v - return s -} - -// SetSkewedColumnValues sets the SkewedColumnValues field's value. -func (s *SkewedInfo) SetSkewedColumnValues(v []string) *SkewedInfo { - s.SkewedColumnValues = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerRequest type StartCrawlerInput struct { _ struct{} `type:"structure"` @@ -13639,12 +10861,6 @@ func (s *StartCrawlerInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *StartCrawlerInput) SetName(v string) *StartCrawlerInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerResponse type StartCrawlerOutput struct { _ struct{} `type:"structure"` @@ -13704,12 +10920,6 @@ func (s *StartCrawlerScheduleInput) Validate() error { return nil } -// SetCrawlerName sets the CrawlerName field's value. -func (s *StartCrawlerScheduleInput) SetCrawlerName(v string) *StartCrawlerScheduleInput { - s.CrawlerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerScheduleResponse type StartCrawlerScheduleOutput struct { _ struct{} `type:"structure"` @@ -13797,30 +11007,6 @@ func (s *StartJobRunInput) Validate() error { return nil } -// SetAllocatedCapacity sets the AllocatedCapacity field's value. -func (s *StartJobRunInput) SetAllocatedCapacity(v int64) *StartJobRunInput { - s.AllocatedCapacity = &v - return s -} - -// SetArguments sets the Arguments field's value. -func (s *StartJobRunInput) SetArguments(v map[string]string) *StartJobRunInput { - s.Arguments = v - return s -} - -// SetJobName sets the JobName field's value. -func (s *StartJobRunInput) SetJobName(v string) *StartJobRunInput { - s.JobName = &v - return s -} - -// SetJobRunId sets the JobRunId field's value. -func (s *StartJobRunInput) SetJobRunId(v string) *StartJobRunInput { - s.JobRunId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRunResponse type StartJobRunOutput struct { _ struct{} `type:"structure"` @@ -13846,12 +11032,6 @@ func (s StartJobRunOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobRunId sets the JobRunId field's value. -func (s *StartJobRunOutput) SetJobRunId(v string) *StartJobRunOutput { - s.JobRunId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTriggerRequest type StartTriggerInput struct { _ struct{} `type:"structure"` @@ -13889,12 +11069,6 @@ func (s *StartTriggerInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *StartTriggerInput) SetName(v string) *StartTriggerInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTriggerResponse type StartTriggerOutput struct { _ struct{} `type:"structure"` @@ -13920,12 +11094,6 @@ func (s StartTriggerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetName sets the Name field's value. -func (s *StartTriggerOutput) SetName(v string) *StartTriggerOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerRequest type StopCrawlerInput struct { _ struct{} `type:"structure"` @@ -13963,12 +11131,6 @@ func (s *StopCrawlerInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *StopCrawlerInput) SetName(v string) *StopCrawlerInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerResponse type StopCrawlerOutput struct { _ struct{} `type:"structure"` @@ -14028,12 +11190,6 @@ func (s *StopCrawlerScheduleInput) Validate() error { return nil } -// SetCrawlerName sets the CrawlerName field's value. -func (s *StopCrawlerScheduleInput) SetCrawlerName(v string) *StopCrawlerScheduleInput { - s.CrawlerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerScheduleResponse type StopCrawlerScheduleOutput struct { _ struct{} `type:"structure"` @@ -14093,12 +11249,6 @@ func (s *StopTriggerInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *StopTriggerInput) SetName(v string) *StopTriggerInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTriggerResponse type StopTriggerOutput struct { _ struct{} `type:"structure"` @@ -14124,12 +11274,6 @@ func (s StopTriggerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetName sets the Name field's value. -func (s *StopTriggerOutput) SetName(v string) *StopTriggerOutput { - s.Name = &v - return s -} - // Describes the physical storage of table data. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StorageDescriptor type StorageDescriptor struct { @@ -14217,78 +11361,6 @@ func (s *StorageDescriptor) Validate() error { return nil } -// SetBucketColumns sets the BucketColumns field's value. -func (s *StorageDescriptor) SetBucketColumns(v []string) *StorageDescriptor { - s.BucketColumns = v - return s -} - -// SetColumns sets the Columns field's value. -func (s *StorageDescriptor) SetColumns(v []Column) *StorageDescriptor { - s.Columns = v - return s -} - -// SetCompressed sets the Compressed field's value. -func (s *StorageDescriptor) SetCompressed(v bool) *StorageDescriptor { - s.Compressed = &v - return s -} - -// SetInputFormat sets the InputFormat field's value. -func (s *StorageDescriptor) SetInputFormat(v string) *StorageDescriptor { - s.InputFormat = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *StorageDescriptor) SetLocation(v string) *StorageDescriptor { - s.Location = &v - return s -} - -// SetNumberOfBuckets sets the NumberOfBuckets field's value. -func (s *StorageDescriptor) SetNumberOfBuckets(v int64) *StorageDescriptor { - s.NumberOfBuckets = &v - return s -} - -// SetOutputFormat sets the OutputFormat field's value. -func (s *StorageDescriptor) SetOutputFormat(v string) *StorageDescriptor { - s.OutputFormat = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *StorageDescriptor) SetParameters(v map[string]string) *StorageDescriptor { - s.Parameters = v - return s -} - -// SetSerdeInfo sets the SerdeInfo field's value. -func (s *StorageDescriptor) SetSerdeInfo(v *SerDeInfo) *StorageDescriptor { - s.SerdeInfo = v - return s -} - -// SetSkewedInfo sets the SkewedInfo field's value. -func (s *StorageDescriptor) SetSkewedInfo(v *SkewedInfo) *StorageDescriptor { - s.SkewedInfo = v - return s -} - -// SetSortColumns sets the SortColumns field's value. -func (s *StorageDescriptor) SetSortColumns(v []Order) *StorageDescriptor { - s.SortColumns = v - return s -} - -// SetStoredAsSubDirectories sets the StoredAsSubDirectories field's value. -func (s *StorageDescriptor) SetStoredAsSubDirectories(v bool) *StorageDescriptor { - s.StoredAsSubDirectories = &v - return s -} - // Represents a collection of related data organized in columns and rows. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Table type Table struct { @@ -14358,102 +11430,6 @@ func (s Table) GoString() string { return s.String() } -// SetCreateTime sets the CreateTime field's value. -func (s *Table) SetCreateTime(v time.Time) *Table { - s.CreateTime = &v - return s -} - -// SetCreatedBy sets the CreatedBy field's value. -func (s *Table) SetCreatedBy(v string) *Table { - s.CreatedBy = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *Table) SetDatabaseName(v string) *Table { - s.DatabaseName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Table) SetDescription(v string) *Table { - s.Description = &v - return s -} - -// SetLastAccessTime sets the LastAccessTime field's value. -func (s *Table) SetLastAccessTime(v time.Time) *Table { - s.LastAccessTime = &v - return s -} - -// SetLastAnalyzedTime sets the LastAnalyzedTime field's value. -func (s *Table) SetLastAnalyzedTime(v time.Time) *Table { - s.LastAnalyzedTime = &v - return s -} - -// SetName sets the Name field's value. -func (s *Table) SetName(v string) *Table { - s.Name = &v - return s -} - -// SetOwner sets the Owner field's value. -func (s *Table) SetOwner(v string) *Table { - s.Owner = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *Table) SetParameters(v map[string]string) *Table { - s.Parameters = v - return s -} - -// SetPartitionKeys sets the PartitionKeys field's value. -func (s *Table) SetPartitionKeys(v []Column) *Table { - s.PartitionKeys = v - return s -} - -// SetRetention sets the Retention field's value. -func (s *Table) SetRetention(v int64) *Table { - s.Retention = &v - return s -} - -// SetStorageDescriptor sets the StorageDescriptor field's value. -func (s *Table) SetStorageDescriptor(v *StorageDescriptor) *Table { - s.StorageDescriptor = v - return s -} - -// SetTableType sets the TableType field's value. -func (s *Table) SetTableType(v string) *Table { - s.TableType = &v - return s -} - -// SetUpdateTime sets the UpdateTime field's value. -func (s *Table) SetUpdateTime(v time.Time) *Table { - s.UpdateTime = &v - return s -} - -// SetViewExpandedText sets the ViewExpandedText field's value. -func (s *Table) SetViewExpandedText(v string) *Table { - s.ViewExpandedText = &v - return s -} - -// SetViewOriginalText sets the ViewOriginalText field's value. -func (s *Table) SetViewOriginalText(v string) *Table { - s.ViewOriginalText = &v - return s -} - // An error record for table operations. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableError type TableError struct { @@ -14476,18 +11452,6 @@ func (s TableError) GoString() string { return s.String() } -// SetErrorDetail sets the ErrorDetail field's value. -func (s *TableError) SetErrorDetail(v *ErrorDetail) *TableError { - s.ErrorDetail = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *TableError) SetTableName(v string) *TableError { - s.TableName = &v - return s -} - // Structure used to create or update the table. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableInput type TableInput struct { @@ -14576,78 +11540,6 @@ func (s *TableInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *TableInput) SetDescription(v string) *TableInput { - s.Description = &v - return s -} - -// SetLastAccessTime sets the LastAccessTime field's value. -func (s *TableInput) SetLastAccessTime(v time.Time) *TableInput { - s.LastAccessTime = &v - return s -} - -// SetLastAnalyzedTime sets the LastAnalyzedTime field's value. -func (s *TableInput) SetLastAnalyzedTime(v time.Time) *TableInput { - s.LastAnalyzedTime = &v - return s -} - -// SetName sets the Name field's value. -func (s *TableInput) SetName(v string) *TableInput { - s.Name = &v - return s -} - -// SetOwner sets the Owner field's value. -func (s *TableInput) SetOwner(v string) *TableInput { - s.Owner = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *TableInput) SetParameters(v map[string]string) *TableInput { - s.Parameters = v - return s -} - -// SetPartitionKeys sets the PartitionKeys field's value. -func (s *TableInput) SetPartitionKeys(v []Column) *TableInput { - s.PartitionKeys = v - return s -} - -// SetRetention sets the Retention field's value. -func (s *TableInput) SetRetention(v int64) *TableInput { - s.Retention = &v - return s -} - -// SetStorageDescriptor sets the StorageDescriptor field's value. -func (s *TableInput) SetStorageDescriptor(v *StorageDescriptor) *TableInput { - s.StorageDescriptor = v - return s -} - -// SetTableType sets the TableType field's value. -func (s *TableInput) SetTableType(v string) *TableInput { - s.TableType = &v - return s -} - -// SetViewExpandedText sets the ViewExpandedText field's value. -func (s *TableInput) SetViewExpandedText(v string) *TableInput { - s.ViewExpandedText = &v - return s -} - -// SetViewOriginalText sets the ViewOriginalText field's value. -func (s *TableInput) SetViewOriginalText(v string) *TableInput { - s.ViewOriginalText = &v - return s -} - // Specifies a version of a table. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableVersion type TableVersion struct { @@ -14670,18 +11562,6 @@ func (s TableVersion) GoString() string { return s.String() } -// SetTable sets the Table field's value. -func (s *TableVersion) SetTable(v *Table) *TableVersion { - s.Table = v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *TableVersion) SetVersionId(v string) *TableVersion { - s.VersionId = &v - return s -} - // Information about a specific trigger. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Trigger type Trigger struct { @@ -14725,54 +11605,6 @@ func (s Trigger) GoString() string { return s.String() } -// SetActions sets the Actions field's value. -func (s *Trigger) SetActions(v []Action) *Trigger { - s.Actions = v - return s -} - -// SetDescription sets the Description field's value. -func (s *Trigger) SetDescription(v string) *Trigger { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *Trigger) SetId(v string) *Trigger { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *Trigger) SetName(v string) *Trigger { - s.Name = &v - return s -} - -// SetPredicate sets the Predicate field's value. -func (s *Trigger) SetPredicate(v *Predicate) *Trigger { - s.Predicate = v - return s -} - -// SetSchedule sets the Schedule field's value. -func (s *Trigger) SetSchedule(v string) *Trigger { - s.Schedule = &v - return s -} - -// SetState sets the State field's value. -func (s *Trigger) SetState(v TriggerState) *Trigger { - s.State = v - return s -} - -// SetType sets the Type field's value. -func (s *Trigger) SetType(v TriggerType) *Trigger { - s.Type = v - return s -} - // A structure used to provide information used to update a trigger. This object // will update the the previous trigger definition by overwriting it completely. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TriggerUpdate @@ -14833,36 +11665,6 @@ func (s *TriggerUpdate) Validate() error { return nil } -// SetActions sets the Actions field's value. -func (s *TriggerUpdate) SetActions(v []Action) *TriggerUpdate { - s.Actions = v - return s -} - -// SetDescription sets the Description field's value. -func (s *TriggerUpdate) SetDescription(v string) *TriggerUpdate { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *TriggerUpdate) SetName(v string) *TriggerUpdate { - s.Name = &v - return s -} - -// SetPredicate sets the Predicate field's value. -func (s *TriggerUpdate) SetPredicate(v *Predicate) *TriggerUpdate { - s.Predicate = v - return s -} - -// SetSchedule sets the Schedule field's value. -func (s *TriggerUpdate) SetSchedule(v string) *TriggerUpdate { - s.Schedule = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifierRequest type UpdateClassifierInput struct { _ struct{} `type:"structure"` @@ -14904,18 +11706,6 @@ func (s *UpdateClassifierInput) Validate() error { return nil } -// SetGrokClassifier sets the GrokClassifier field's value. -func (s *UpdateClassifierInput) SetGrokClassifier(v *UpdateGrokClassifierRequest) *UpdateClassifierInput { - s.GrokClassifier = v - return s -} - -// SetXMLClassifier sets the XMLClassifier field's value. -func (s *UpdateClassifierInput) SetXMLClassifier(v *UpdateXMLClassifierRequest) *UpdateClassifierInput { - s.XMLClassifier = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifierResponse type UpdateClassifierOutput struct { _ struct{} `type:"structure"` @@ -14996,24 +11786,6 @@ func (s *UpdateConnectionInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *UpdateConnectionInput) SetCatalogId(v string) *UpdateConnectionInput { - s.CatalogId = &v - return s -} - -// SetConnectionInput sets the ConnectionInput field's value. -func (s *UpdateConnectionInput) SetConnectionInput(v *ConnectionInput) *UpdateConnectionInput { - s.ConnectionInput = v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateConnectionInput) SetName(v string) *UpdateConnectionInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnectionResponse type UpdateConnectionOutput struct { _ struct{} `type:"structure"` @@ -15115,66 +11887,6 @@ func (s *UpdateCrawlerInput) Validate() error { return nil } -// SetClassifiers sets the Classifiers field's value. -func (s *UpdateCrawlerInput) SetClassifiers(v []string) *UpdateCrawlerInput { - s.Classifiers = v - return s -} - -// SetConfiguration sets the Configuration field's value. -func (s *UpdateCrawlerInput) SetConfiguration(v string) *UpdateCrawlerInput { - s.Configuration = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *UpdateCrawlerInput) SetDatabaseName(v string) *UpdateCrawlerInput { - s.DatabaseName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateCrawlerInput) SetDescription(v string) *UpdateCrawlerInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateCrawlerInput) SetName(v string) *UpdateCrawlerInput { - s.Name = &v - return s -} - -// SetRole sets the Role field's value. -func (s *UpdateCrawlerInput) SetRole(v string) *UpdateCrawlerInput { - s.Role = &v - return s -} - -// SetSchedule sets the Schedule field's value. -func (s *UpdateCrawlerInput) SetSchedule(v string) *UpdateCrawlerInput { - s.Schedule = &v - return s -} - -// SetSchemaChangePolicy sets the SchemaChangePolicy field's value. -func (s *UpdateCrawlerInput) SetSchemaChangePolicy(v *SchemaChangePolicy) *UpdateCrawlerInput { - s.SchemaChangePolicy = v - return s -} - -// SetTablePrefix sets the TablePrefix field's value. -func (s *UpdateCrawlerInput) SetTablePrefix(v string) *UpdateCrawlerInput { - s.TablePrefix = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *UpdateCrawlerInput) SetTargets(v *CrawlerTargets) *UpdateCrawlerInput { - s.Targets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerResponse type UpdateCrawlerOutput struct { _ struct{} `type:"structure"` @@ -15240,18 +11952,6 @@ func (s *UpdateCrawlerScheduleInput) Validate() error { return nil } -// SetCrawlerName sets the CrawlerName field's value. -func (s *UpdateCrawlerScheduleInput) SetCrawlerName(v string) *UpdateCrawlerScheduleInput { - s.CrawlerName = &v - return s -} - -// SetSchedule sets the Schedule field's value. -func (s *UpdateCrawlerScheduleInput) SetSchedule(v string) *UpdateCrawlerScheduleInput { - s.Schedule = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerScheduleResponse type UpdateCrawlerScheduleOutput struct { _ struct{} `type:"structure"` @@ -15333,24 +12033,6 @@ func (s *UpdateDatabaseInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *UpdateDatabaseInput) SetCatalogId(v string) *UpdateDatabaseInput { - s.CatalogId = &v - return s -} - -// SetDatabaseInput sets the DatabaseInput field's value. -func (s *UpdateDatabaseInput) SetDatabaseInput(v *DatabaseInput) *UpdateDatabaseInput { - s.DatabaseInput = v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateDatabaseInput) SetName(v string) *UpdateDatabaseInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabaseResponse type UpdateDatabaseOutput struct { _ struct{} `type:"structure"` @@ -15417,30 +12099,6 @@ func (s *UpdateDevEndpointInput) Validate() error { return nil } -// SetCustomLibraries sets the CustomLibraries field's value. -func (s *UpdateDevEndpointInput) SetCustomLibraries(v *DevEndpointCustomLibraries) *UpdateDevEndpointInput { - s.CustomLibraries = v - return s -} - -// SetEndpointName sets the EndpointName field's value. -func (s *UpdateDevEndpointInput) SetEndpointName(v string) *UpdateDevEndpointInput { - s.EndpointName = &v - return s -} - -// SetPublicKey sets the PublicKey field's value. -func (s *UpdateDevEndpointInput) SetPublicKey(v string) *UpdateDevEndpointInput { - s.PublicKey = &v - return s -} - -// SetUpdateEtlLibraries sets the UpdateEtlLibraries field's value. -func (s *UpdateDevEndpointInput) SetUpdateEtlLibraries(v bool) *UpdateDevEndpointInput { - s.UpdateEtlLibraries = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpointResponse type UpdateDevEndpointOutput struct { _ struct{} `type:"structure"` @@ -15514,30 +12172,6 @@ func (s *UpdateGrokClassifierRequest) Validate() error { return nil } -// SetClassification sets the Classification field's value. -func (s *UpdateGrokClassifierRequest) SetClassification(v string) *UpdateGrokClassifierRequest { - s.Classification = &v - return s -} - -// SetCustomPatterns sets the CustomPatterns field's value. -func (s *UpdateGrokClassifierRequest) SetCustomPatterns(v string) *UpdateGrokClassifierRequest { - s.CustomPatterns = &v - return s -} - -// SetGrokPattern sets the GrokPattern field's value. -func (s *UpdateGrokClassifierRequest) SetGrokPattern(v string) *UpdateGrokClassifierRequest { - s.GrokPattern = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateGrokClassifierRequest) SetName(v string) *UpdateGrokClassifierRequest { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJobRequest type UpdateJobInput struct { _ struct{} `type:"structure"` @@ -15584,18 +12218,6 @@ func (s *UpdateJobInput) Validate() error { return nil } -// SetJobName sets the JobName field's value. -func (s *UpdateJobInput) SetJobName(v string) *UpdateJobInput { - s.JobName = &v - return s -} - -// SetJobUpdate sets the JobUpdate field's value. -func (s *UpdateJobInput) SetJobUpdate(v *JobUpdate) *UpdateJobInput { - s.JobUpdate = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJobResponse type UpdateJobOutput struct { _ struct{} `type:"structure"` @@ -15621,12 +12243,6 @@ func (s UpdateJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobName sets the JobName field's value. -func (s *UpdateJobOutput) SetJobName(v string) *UpdateJobOutput { - s.JobName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartitionRequest type UpdatePartitionInput struct { _ struct{} `type:"structure"` @@ -15706,36 +12322,6 @@ func (s *UpdatePartitionInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *UpdatePartitionInput) SetCatalogId(v string) *UpdatePartitionInput { - s.CatalogId = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *UpdatePartitionInput) SetDatabaseName(v string) *UpdatePartitionInput { - s.DatabaseName = &v - return s -} - -// SetPartitionInput sets the PartitionInput field's value. -func (s *UpdatePartitionInput) SetPartitionInput(v *PartitionInput) *UpdatePartitionInput { - s.PartitionInput = v - return s -} - -// SetPartitionValueList sets the PartitionValueList field's value. -func (s *UpdatePartitionInput) SetPartitionValueList(v []string) *UpdatePartitionInput { - s.PartitionValueList = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *UpdatePartitionInput) SetTableName(v string) *UpdatePartitionInput { - s.TableName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartitionResponse type UpdatePartitionOutput struct { _ struct{} `type:"structure"` @@ -15816,24 +12402,6 @@ func (s *UpdateTableInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *UpdateTableInput) SetCatalogId(v string) *UpdateTableInput { - s.CatalogId = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *UpdateTableInput) SetDatabaseName(v string) *UpdateTableInput { - s.DatabaseName = &v - return s -} - -// SetTableInput sets the TableInput field's value. -func (s *UpdateTableInput) SetTableInput(v *TableInput) *UpdateTableInput { - s.TableInput = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTableResponse type UpdateTableOutput struct { _ struct{} `type:"structure"` @@ -15907,18 +12475,6 @@ func (s *UpdateTriggerInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *UpdateTriggerInput) SetName(v string) *UpdateTriggerInput { - s.Name = &v - return s -} - -// SetTriggerUpdate sets the TriggerUpdate field's value. -func (s *UpdateTriggerInput) SetTriggerUpdate(v *TriggerUpdate) *UpdateTriggerInput { - s.TriggerUpdate = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTriggerResponse type UpdateTriggerOutput struct { _ struct{} `type:"structure"` @@ -15944,12 +12500,6 @@ func (s UpdateTriggerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTrigger sets the Trigger field's value. -func (s *UpdateTriggerOutput) SetTrigger(v *Trigger) *UpdateTriggerOutput { - s.Trigger = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunctionRequest type UpdateUserDefinedFunctionInput struct { _ struct{} `type:"structure"` @@ -16020,30 +12570,6 @@ func (s *UpdateUserDefinedFunctionInput) Validate() error { return nil } -// SetCatalogId sets the CatalogId field's value. -func (s *UpdateUserDefinedFunctionInput) SetCatalogId(v string) *UpdateUserDefinedFunctionInput { - s.CatalogId = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *UpdateUserDefinedFunctionInput) SetDatabaseName(v string) *UpdateUserDefinedFunctionInput { - s.DatabaseName = &v - return s -} - -// SetFunctionInput sets the FunctionInput field's value. -func (s *UpdateUserDefinedFunctionInput) SetFunctionInput(v *UserDefinedFunctionInput) *UpdateUserDefinedFunctionInput { - s.FunctionInput = v - return s -} - -// SetFunctionName sets the FunctionName field's value. -func (s *UpdateUserDefinedFunctionInput) SetFunctionName(v string) *UpdateUserDefinedFunctionInput { - s.FunctionName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunctionResponse type UpdateUserDefinedFunctionOutput struct { _ struct{} `type:"structure"` @@ -16114,24 +12640,6 @@ func (s *UpdateXMLClassifierRequest) Validate() error { return nil } -// SetClassification sets the Classification field's value. -func (s *UpdateXMLClassifierRequest) SetClassification(v string) *UpdateXMLClassifierRequest { - s.Classification = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateXMLClassifierRequest) SetName(v string) *UpdateXMLClassifierRequest { - s.Name = &v - return s -} - -// SetRowTag sets the RowTag field's value. -func (s *UpdateXMLClassifierRequest) SetRowTag(v string) *UpdateXMLClassifierRequest { - s.RowTag = &v - return s -} - // Represents the equivalent of a Hive user-defined function (UDF) definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UserDefinedFunction type UserDefinedFunction struct { @@ -16166,42 +12674,6 @@ func (s UserDefinedFunction) GoString() string { return s.String() } -// SetClassName sets the ClassName field's value. -func (s *UserDefinedFunction) SetClassName(v string) *UserDefinedFunction { - s.ClassName = &v - return s -} - -// SetCreateTime sets the CreateTime field's value. -func (s *UserDefinedFunction) SetCreateTime(v time.Time) *UserDefinedFunction { - s.CreateTime = &v - return s -} - -// SetFunctionName sets the FunctionName field's value. -func (s *UserDefinedFunction) SetFunctionName(v string) *UserDefinedFunction { - s.FunctionName = &v - return s -} - -// SetOwnerName sets the OwnerName field's value. -func (s *UserDefinedFunction) SetOwnerName(v string) *UserDefinedFunction { - s.OwnerName = &v - return s -} - -// SetOwnerType sets the OwnerType field's value. -func (s *UserDefinedFunction) SetOwnerType(v PrincipalType) *UserDefinedFunction { - s.OwnerType = v - return s -} - -// SetResourceUris sets the ResourceUris field's value. -func (s *UserDefinedFunction) SetResourceUris(v []ResourceUri) *UserDefinedFunction { - s.ResourceUris = v - return s -} - // A structure used to create or updata a user-defined function. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UserDefinedFunctionInput type UserDefinedFunctionInput struct { @@ -16259,36 +12731,6 @@ func (s *UserDefinedFunctionInput) Validate() error { return nil } -// SetClassName sets the ClassName field's value. -func (s *UserDefinedFunctionInput) SetClassName(v string) *UserDefinedFunctionInput { - s.ClassName = &v - return s -} - -// SetFunctionName sets the FunctionName field's value. -func (s *UserDefinedFunctionInput) SetFunctionName(v string) *UserDefinedFunctionInput { - s.FunctionName = &v - return s -} - -// SetOwnerName sets the OwnerName field's value. -func (s *UserDefinedFunctionInput) SetOwnerName(v string) *UserDefinedFunctionInput { - s.OwnerName = &v - return s -} - -// SetOwnerType sets the OwnerType field's value. -func (s *UserDefinedFunctionInput) SetOwnerType(v PrincipalType) *UserDefinedFunctionInput { - s.OwnerType = v - return s -} - -// SetResourceUris sets the ResourceUris field's value. -func (s *UserDefinedFunctionInput) SetResourceUris(v []ResourceUri) *UserDefinedFunctionInput { - s.ResourceUris = v - return s -} - // A classifier for XML content. // Please also see https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/XMLClassifier type XMLClassifier struct { @@ -16331,42 +12773,6 @@ func (s XMLClassifier) GoString() string { return s.String() } -// SetClassification sets the Classification field's value. -func (s *XMLClassifier) SetClassification(v string) *XMLClassifier { - s.Classification = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *XMLClassifier) SetCreationTime(v time.Time) *XMLClassifier { - s.CreationTime = &v - return s -} - -// SetLastUpdated sets the LastUpdated field's value. -func (s *XMLClassifier) SetLastUpdated(v time.Time) *XMLClassifier { - s.LastUpdated = &v - return s -} - -// SetName sets the Name field's value. -func (s *XMLClassifier) SetName(v string) *XMLClassifier { - s.Name = &v - return s -} - -// SetRowTag sets the RowTag field's value. -func (s *XMLClassifier) SetRowTag(v string) *XMLClassifier { - s.RowTag = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *XMLClassifier) SetVersion(v int64) *XMLClassifier { - s.Version = &v - return s -} - type ConnectionPropertyKey string // Enum values for ConnectionPropertyKey diff --git a/service/greengrass/api.go b/service/greengrass/api.go index 61a92df0f03..ef6e5f003e2 100644 --- a/service/greengrass/api.go +++ b/service/greengrass/api.go @@ -3702,18 +3702,6 @@ func (s *AssociateRoleToGroupInput) Validate() error { return nil } -// SetGroupId sets the GroupId field's value. -func (s *AssociateRoleToGroupInput) SetGroupId(v string) *AssociateRoleToGroupInput { - s.GroupId = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *AssociateRoleToGroupInput) SetRoleArn(v string) *AssociateRoleToGroupInput { - s.RoleArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/AssociateRoleToGroupResponse type AssociateRoleToGroupOutput struct { _ struct{} `type:"structure"` @@ -3739,12 +3727,6 @@ func (s AssociateRoleToGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssociatedAt sets the AssociatedAt field's value. -func (s *AssociateRoleToGroupOutput) SetAssociatedAt(v string) *AssociateRoleToGroupOutput { - s.AssociatedAt = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/AssociateServiceRoleToAccountRequest type AssociateServiceRoleToAccountInput struct { _ struct{} `type:"structure"` @@ -3763,12 +3745,6 @@ func (s AssociateServiceRoleToAccountInput) GoString() string { return s.String() } -// SetRoleArn sets the RoleArn field's value. -func (s *AssociateServiceRoleToAccountInput) SetRoleArn(v string) *AssociateServiceRoleToAccountInput { - s.RoleArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/AssociateServiceRoleToAccountResponse type AssociateServiceRoleToAccountOutput struct { _ struct{} `type:"structure"` @@ -3794,12 +3770,6 @@ func (s AssociateServiceRoleToAccountOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetAssociatedAt sets the AssociatedAt field's value. -func (s *AssociateServiceRoleToAccountOutput) SetAssociatedAt(v string) *AssociateServiceRoleToAccountOutput { - s.AssociatedAt = &v - return s -} - // Connectivity Info // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ConnectivityInfo type ConnectivityInfo struct { @@ -3828,30 +3798,6 @@ func (s ConnectivityInfo) GoString() string { return s.String() } -// SetHostAddress sets the HostAddress field's value. -func (s *ConnectivityInfo) SetHostAddress(v string) *ConnectivityInfo { - s.HostAddress = &v - return s -} - -// SetId sets the Id field's value. -func (s *ConnectivityInfo) SetId(v string) *ConnectivityInfo { - s.Id = &v - return s -} - -// SetMetadata sets the Metadata field's value. -func (s *ConnectivityInfo) SetMetadata(v string) *ConnectivityInfo { - s.Metadata = &v - return s -} - -// SetPortNumber sets the PortNumber field's value. -func (s *ConnectivityInfo) SetPortNumber(v int64) *ConnectivityInfo { - s.PortNumber = &v - return s -} - // Information on the core // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/Core type Core struct { @@ -3881,30 +3827,6 @@ func (s Core) GoString() string { return s.String() } -// SetCertificateArn sets the CertificateArn field's value. -func (s *Core) SetCertificateArn(v string) *Core { - s.CertificateArn = &v - return s -} - -// SetId sets the Id field's value. -func (s *Core) SetId(v string) *Core { - s.Id = &v - return s -} - -// SetSyncShadow sets the SyncShadow field's value. -func (s *Core) SetSyncShadow(v bool) *Core { - s.SyncShadow = &v - return s -} - -// SetThingArn sets the ThingArn field's value. -func (s *Core) SetThingArn(v string) *Core { - s.ThingArn = &v - return s -} - // Information on core definition version // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CoreDefinitionVersion type CoreDefinitionVersion struct { @@ -3924,12 +3846,6 @@ func (s CoreDefinitionVersion) GoString() string { return s.String() } -// SetCores sets the Cores field's value. -func (s *CoreDefinitionVersion) SetCores(v []Core) *CoreDefinitionVersion { - s.Cores = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateCoreDefinitionRequest type CreateCoreDefinitionInput struct { _ struct{} `type:"structure"` @@ -3952,24 +3868,6 @@ func (s CreateCoreDefinitionInput) GoString() string { return s.String() } -// SetAmznClientToken sets the AmznClientToken field's value. -func (s *CreateCoreDefinitionInput) SetAmznClientToken(v string) *CreateCoreDefinitionInput { - s.AmznClientToken = &v - return s -} - -// SetInitialVersion sets the InitialVersion field's value. -func (s *CreateCoreDefinitionInput) SetInitialVersion(v *CoreDefinitionVersion) *CreateCoreDefinitionInput { - s.InitialVersion = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateCoreDefinitionInput) SetName(v string) *CreateCoreDefinitionInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateCoreDefinitionResponse type CreateCoreDefinitionOutput struct { _ struct{} `type:"structure"` @@ -4006,48 +3904,6 @@ func (s CreateCoreDefinitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *CreateCoreDefinitionOutput) SetArn(v string) *CreateCoreDefinitionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *CreateCoreDefinitionOutput) SetCreationTimestamp(v string) *CreateCoreDefinitionOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *CreateCoreDefinitionOutput) SetId(v string) *CreateCoreDefinitionOutput { - s.Id = &v - return s -} - -// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value. -func (s *CreateCoreDefinitionOutput) SetLastUpdatedTimestamp(v string) *CreateCoreDefinitionOutput { - s.LastUpdatedTimestamp = &v - return s -} - -// SetLatestVersion sets the LatestVersion field's value. -func (s *CreateCoreDefinitionOutput) SetLatestVersion(v string) *CreateCoreDefinitionOutput { - s.LatestVersion = &v - return s -} - -// SetLatestVersionArn sets the LatestVersionArn field's value. -func (s *CreateCoreDefinitionOutput) SetLatestVersionArn(v string) *CreateCoreDefinitionOutput { - s.LatestVersionArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateCoreDefinitionOutput) SetName(v string) *CreateCoreDefinitionOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateCoreDefinitionVersionRequest type CreateCoreDefinitionVersionInput struct { _ struct{} `type:"structure"` @@ -4084,24 +3940,6 @@ func (s *CreateCoreDefinitionVersionInput) Validate() error { return nil } -// SetAmznClientToken sets the AmznClientToken field's value. -func (s *CreateCoreDefinitionVersionInput) SetAmznClientToken(v string) *CreateCoreDefinitionVersionInput { - s.AmznClientToken = &v - return s -} - -// SetCoreDefinitionId sets the CoreDefinitionId field's value. -func (s *CreateCoreDefinitionVersionInput) SetCoreDefinitionId(v string) *CreateCoreDefinitionVersionInput { - s.CoreDefinitionId = &v - return s -} - -// SetCores sets the Cores field's value. -func (s *CreateCoreDefinitionVersionInput) SetCores(v []Core) *CreateCoreDefinitionVersionInput { - s.Cores = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateCoreDefinitionVersionResponse type CreateCoreDefinitionVersionOutput struct { _ struct{} `type:"structure"` @@ -4132,30 +3970,6 @@ func (s CreateCoreDefinitionVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *CreateCoreDefinitionVersionOutput) SetArn(v string) *CreateCoreDefinitionVersionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *CreateCoreDefinitionVersionOutput) SetCreationTimestamp(v string) *CreateCoreDefinitionVersionOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *CreateCoreDefinitionVersionOutput) SetId(v string) *CreateCoreDefinitionVersionOutput { - s.Id = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *CreateCoreDefinitionVersionOutput) SetVersion(v string) *CreateCoreDefinitionVersionOutput { - s.Version = &v - return s -} - // Information on Deployment // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateDeploymentRequest type CreateDeploymentInput struct { @@ -4201,36 +4015,6 @@ func (s *CreateDeploymentInput) Validate() error { return nil } -// SetAmznClientToken sets the AmznClientToken field's value. -func (s *CreateDeploymentInput) SetAmznClientToken(v string) *CreateDeploymentInput { - s.AmznClientToken = &v - return s -} - -// SetDeploymentId sets the DeploymentId field's value. -func (s *CreateDeploymentInput) SetDeploymentId(v string) *CreateDeploymentInput { - s.DeploymentId = &v - return s -} - -// SetDeploymentType sets the DeploymentType field's value. -func (s *CreateDeploymentInput) SetDeploymentType(v DeploymentType) *CreateDeploymentInput { - s.DeploymentType = v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *CreateDeploymentInput) SetGroupId(v string) *CreateDeploymentInput { - s.GroupId = &v - return s -} - -// SetGroupVersionId sets the GroupVersionId field's value. -func (s *CreateDeploymentInput) SetGroupVersionId(v string) *CreateDeploymentInput { - s.GroupVersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateDeploymentResponse type CreateDeploymentOutput struct { _ struct{} `type:"structure"` @@ -4259,18 +4043,6 @@ func (s CreateDeploymentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeploymentArn sets the DeploymentArn field's value. -func (s *CreateDeploymentOutput) SetDeploymentArn(v string) *CreateDeploymentOutput { - s.DeploymentArn = &v - return s -} - -// SetDeploymentId sets the DeploymentId field's value. -func (s *CreateDeploymentOutput) SetDeploymentId(v string) *CreateDeploymentOutput { - s.DeploymentId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateDeviceDefinitionRequest type CreateDeviceDefinitionInput struct { _ struct{} `type:"structure"` @@ -4293,24 +4065,6 @@ func (s CreateDeviceDefinitionInput) GoString() string { return s.String() } -// SetAmznClientToken sets the AmznClientToken field's value. -func (s *CreateDeviceDefinitionInput) SetAmznClientToken(v string) *CreateDeviceDefinitionInput { - s.AmznClientToken = &v - return s -} - -// SetInitialVersion sets the InitialVersion field's value. -func (s *CreateDeviceDefinitionInput) SetInitialVersion(v *DeviceDefinitionVersion) *CreateDeviceDefinitionInput { - s.InitialVersion = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateDeviceDefinitionInput) SetName(v string) *CreateDeviceDefinitionInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateDeviceDefinitionResponse type CreateDeviceDefinitionOutput struct { _ struct{} `type:"structure"` @@ -4347,48 +4101,6 @@ func (s CreateDeviceDefinitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *CreateDeviceDefinitionOutput) SetArn(v string) *CreateDeviceDefinitionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *CreateDeviceDefinitionOutput) SetCreationTimestamp(v string) *CreateDeviceDefinitionOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *CreateDeviceDefinitionOutput) SetId(v string) *CreateDeviceDefinitionOutput { - s.Id = &v - return s -} - -// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value. -func (s *CreateDeviceDefinitionOutput) SetLastUpdatedTimestamp(v string) *CreateDeviceDefinitionOutput { - s.LastUpdatedTimestamp = &v - return s -} - -// SetLatestVersion sets the LatestVersion field's value. -func (s *CreateDeviceDefinitionOutput) SetLatestVersion(v string) *CreateDeviceDefinitionOutput { - s.LatestVersion = &v - return s -} - -// SetLatestVersionArn sets the LatestVersionArn field's value. -func (s *CreateDeviceDefinitionOutput) SetLatestVersionArn(v string) *CreateDeviceDefinitionOutput { - s.LatestVersionArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateDeviceDefinitionOutput) SetName(v string) *CreateDeviceDefinitionOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateDeviceDefinitionVersionRequest type CreateDeviceDefinitionVersionInput struct { _ struct{} `type:"structure"` @@ -4425,24 +4137,6 @@ func (s *CreateDeviceDefinitionVersionInput) Validate() error { return nil } -// SetAmznClientToken sets the AmznClientToken field's value. -func (s *CreateDeviceDefinitionVersionInput) SetAmznClientToken(v string) *CreateDeviceDefinitionVersionInput { - s.AmznClientToken = &v - return s -} - -// SetDeviceDefinitionId sets the DeviceDefinitionId field's value. -func (s *CreateDeviceDefinitionVersionInput) SetDeviceDefinitionId(v string) *CreateDeviceDefinitionVersionInput { - s.DeviceDefinitionId = &v - return s -} - -// SetDevices sets the Devices field's value. -func (s *CreateDeviceDefinitionVersionInput) SetDevices(v []Device) *CreateDeviceDefinitionVersionInput { - s.Devices = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateDeviceDefinitionVersionResponse type CreateDeviceDefinitionVersionOutput struct { _ struct{} `type:"structure"` @@ -4473,30 +4167,6 @@ func (s CreateDeviceDefinitionVersionOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *CreateDeviceDefinitionVersionOutput) SetArn(v string) *CreateDeviceDefinitionVersionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *CreateDeviceDefinitionVersionOutput) SetCreationTimestamp(v string) *CreateDeviceDefinitionVersionOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *CreateDeviceDefinitionVersionOutput) SetId(v string) *CreateDeviceDefinitionVersionOutput { - s.Id = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *CreateDeviceDefinitionVersionOutput) SetVersion(v string) *CreateDeviceDefinitionVersionOutput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateFunctionDefinitionRequest type CreateFunctionDefinitionInput struct { _ struct{} `type:"structure"` @@ -4519,24 +4189,6 @@ func (s CreateFunctionDefinitionInput) GoString() string { return s.String() } -// SetAmznClientToken sets the AmznClientToken field's value. -func (s *CreateFunctionDefinitionInput) SetAmznClientToken(v string) *CreateFunctionDefinitionInput { - s.AmznClientToken = &v - return s -} - -// SetInitialVersion sets the InitialVersion field's value. -func (s *CreateFunctionDefinitionInput) SetInitialVersion(v *FunctionDefinitionVersion) *CreateFunctionDefinitionInput { - s.InitialVersion = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateFunctionDefinitionInput) SetName(v string) *CreateFunctionDefinitionInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateFunctionDefinitionResponse type CreateFunctionDefinitionOutput struct { _ struct{} `type:"structure"` @@ -4573,48 +4225,6 @@ func (s CreateFunctionDefinitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *CreateFunctionDefinitionOutput) SetArn(v string) *CreateFunctionDefinitionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *CreateFunctionDefinitionOutput) SetCreationTimestamp(v string) *CreateFunctionDefinitionOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *CreateFunctionDefinitionOutput) SetId(v string) *CreateFunctionDefinitionOutput { - s.Id = &v - return s -} - -// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value. -func (s *CreateFunctionDefinitionOutput) SetLastUpdatedTimestamp(v string) *CreateFunctionDefinitionOutput { - s.LastUpdatedTimestamp = &v - return s -} - -// SetLatestVersion sets the LatestVersion field's value. -func (s *CreateFunctionDefinitionOutput) SetLatestVersion(v string) *CreateFunctionDefinitionOutput { - s.LatestVersion = &v - return s -} - -// SetLatestVersionArn sets the LatestVersionArn field's value. -func (s *CreateFunctionDefinitionOutput) SetLatestVersionArn(v string) *CreateFunctionDefinitionOutput { - s.LatestVersionArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateFunctionDefinitionOutput) SetName(v string) *CreateFunctionDefinitionOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateFunctionDefinitionVersionRequest type CreateFunctionDefinitionVersionInput struct { _ struct{} `type:"structure"` @@ -4651,24 +4261,6 @@ func (s *CreateFunctionDefinitionVersionInput) Validate() error { return nil } -// SetAmznClientToken sets the AmznClientToken field's value. -func (s *CreateFunctionDefinitionVersionInput) SetAmznClientToken(v string) *CreateFunctionDefinitionVersionInput { - s.AmznClientToken = &v - return s -} - -// SetFunctionDefinitionId sets the FunctionDefinitionId field's value. -func (s *CreateFunctionDefinitionVersionInput) SetFunctionDefinitionId(v string) *CreateFunctionDefinitionVersionInput { - s.FunctionDefinitionId = &v - return s -} - -// SetFunctions sets the Functions field's value. -func (s *CreateFunctionDefinitionVersionInput) SetFunctions(v []Function) *CreateFunctionDefinitionVersionInput { - s.Functions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateFunctionDefinitionVersionResponse type CreateFunctionDefinitionVersionOutput struct { _ struct{} `type:"structure"` @@ -4699,30 +4291,6 @@ func (s CreateFunctionDefinitionVersionOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *CreateFunctionDefinitionVersionOutput) SetArn(v string) *CreateFunctionDefinitionVersionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *CreateFunctionDefinitionVersionOutput) SetCreationTimestamp(v string) *CreateFunctionDefinitionVersionOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *CreateFunctionDefinitionVersionOutput) SetId(v string) *CreateFunctionDefinitionVersionOutput { - s.Id = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *CreateFunctionDefinitionVersionOutput) SetVersion(v string) *CreateFunctionDefinitionVersionOutput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateGroupCertificateAuthorityRequest type CreateGroupCertificateAuthorityInput struct { _ struct{} `type:"structure"` @@ -4757,18 +4325,6 @@ func (s *CreateGroupCertificateAuthorityInput) Validate() error { return nil } -// SetAmznClientToken sets the AmznClientToken field's value. -func (s *CreateGroupCertificateAuthorityInput) SetAmznClientToken(v string) *CreateGroupCertificateAuthorityInput { - s.AmznClientToken = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *CreateGroupCertificateAuthorityInput) SetGroupId(v string) *CreateGroupCertificateAuthorityInput { - s.GroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateGroupCertificateAuthorityResponse type CreateGroupCertificateAuthorityOutput struct { _ struct{} `type:"structure"` @@ -4794,12 +4350,6 @@ func (s CreateGroupCertificateAuthorityOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetGroupCertificateAuthorityArn sets the GroupCertificateAuthorityArn field's value. -func (s *CreateGroupCertificateAuthorityOutput) SetGroupCertificateAuthorityArn(v string) *CreateGroupCertificateAuthorityOutput { - s.GroupCertificateAuthorityArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateGroupRequest type CreateGroupInput struct { _ struct{} `type:"structure"` @@ -4822,24 +4372,6 @@ func (s CreateGroupInput) GoString() string { return s.String() } -// SetAmznClientToken sets the AmznClientToken field's value. -func (s *CreateGroupInput) SetAmznClientToken(v string) *CreateGroupInput { - s.AmznClientToken = &v - return s -} - -// SetInitialVersion sets the InitialVersion field's value. -func (s *CreateGroupInput) SetInitialVersion(v *GroupVersion) *CreateGroupInput { - s.InitialVersion = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateGroupInput) SetName(v string) *CreateGroupInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateGroupResponse type CreateGroupOutput struct { _ struct{} `type:"structure"` @@ -4876,48 +4408,6 @@ func (s CreateGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *CreateGroupOutput) SetArn(v string) *CreateGroupOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *CreateGroupOutput) SetCreationTimestamp(v string) *CreateGroupOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *CreateGroupOutput) SetId(v string) *CreateGroupOutput { - s.Id = &v - return s -} - -// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value. -func (s *CreateGroupOutput) SetLastUpdatedTimestamp(v string) *CreateGroupOutput { - s.LastUpdatedTimestamp = &v - return s -} - -// SetLatestVersion sets the LatestVersion field's value. -func (s *CreateGroupOutput) SetLatestVersion(v string) *CreateGroupOutput { - s.LatestVersion = &v - return s -} - -// SetLatestVersionArn sets the LatestVersionArn field's value. -func (s *CreateGroupOutput) SetLatestVersionArn(v string) *CreateGroupOutput { - s.LatestVersionArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateGroupOutput) SetName(v string) *CreateGroupOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateGroupVersionRequest type CreateGroupVersionInput struct { _ struct{} `type:"structure"` @@ -4964,54 +4454,6 @@ func (s *CreateGroupVersionInput) Validate() error { return nil } -// SetAmznClientToken sets the AmznClientToken field's value. -func (s *CreateGroupVersionInput) SetAmznClientToken(v string) *CreateGroupVersionInput { - s.AmznClientToken = &v - return s -} - -// SetCoreDefinitionVersionArn sets the CoreDefinitionVersionArn field's value. -func (s *CreateGroupVersionInput) SetCoreDefinitionVersionArn(v string) *CreateGroupVersionInput { - s.CoreDefinitionVersionArn = &v - return s -} - -// SetDeviceDefinitionVersionArn sets the DeviceDefinitionVersionArn field's value. -func (s *CreateGroupVersionInput) SetDeviceDefinitionVersionArn(v string) *CreateGroupVersionInput { - s.DeviceDefinitionVersionArn = &v - return s -} - -// SetFunctionDefinitionVersionArn sets the FunctionDefinitionVersionArn field's value. -func (s *CreateGroupVersionInput) SetFunctionDefinitionVersionArn(v string) *CreateGroupVersionInput { - s.FunctionDefinitionVersionArn = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *CreateGroupVersionInput) SetGroupId(v string) *CreateGroupVersionInput { - s.GroupId = &v - return s -} - -// SetLoggerDefinitionVersionArn sets the LoggerDefinitionVersionArn field's value. -func (s *CreateGroupVersionInput) SetLoggerDefinitionVersionArn(v string) *CreateGroupVersionInput { - s.LoggerDefinitionVersionArn = &v - return s -} - -// SetResourceDefinitionVersionArn sets the ResourceDefinitionVersionArn field's value. -func (s *CreateGroupVersionInput) SetResourceDefinitionVersionArn(v string) *CreateGroupVersionInput { - s.ResourceDefinitionVersionArn = &v - return s -} - -// SetSubscriptionDefinitionVersionArn sets the SubscriptionDefinitionVersionArn field's value. -func (s *CreateGroupVersionInput) SetSubscriptionDefinitionVersionArn(v string) *CreateGroupVersionInput { - s.SubscriptionDefinitionVersionArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateGroupVersionResponse type CreateGroupVersionOutput struct { _ struct{} `type:"structure"` @@ -5042,30 +4484,6 @@ func (s CreateGroupVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *CreateGroupVersionOutput) SetArn(v string) *CreateGroupVersionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *CreateGroupVersionOutput) SetCreationTimestamp(v string) *CreateGroupVersionOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *CreateGroupVersionOutput) SetId(v string) *CreateGroupVersionOutput { - s.Id = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *CreateGroupVersionOutput) SetVersion(v string) *CreateGroupVersionOutput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateLoggerDefinitionRequest type CreateLoggerDefinitionInput struct { _ struct{} `type:"structure"` @@ -5088,24 +4506,6 @@ func (s CreateLoggerDefinitionInput) GoString() string { return s.String() } -// SetAmznClientToken sets the AmznClientToken field's value. -func (s *CreateLoggerDefinitionInput) SetAmznClientToken(v string) *CreateLoggerDefinitionInput { - s.AmznClientToken = &v - return s -} - -// SetInitialVersion sets the InitialVersion field's value. -func (s *CreateLoggerDefinitionInput) SetInitialVersion(v *LoggerDefinitionVersion) *CreateLoggerDefinitionInput { - s.InitialVersion = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateLoggerDefinitionInput) SetName(v string) *CreateLoggerDefinitionInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateLoggerDefinitionResponse type CreateLoggerDefinitionOutput struct { _ struct{} `type:"structure"` @@ -5142,48 +4542,6 @@ func (s CreateLoggerDefinitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *CreateLoggerDefinitionOutput) SetArn(v string) *CreateLoggerDefinitionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *CreateLoggerDefinitionOutput) SetCreationTimestamp(v string) *CreateLoggerDefinitionOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *CreateLoggerDefinitionOutput) SetId(v string) *CreateLoggerDefinitionOutput { - s.Id = &v - return s -} - -// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value. -func (s *CreateLoggerDefinitionOutput) SetLastUpdatedTimestamp(v string) *CreateLoggerDefinitionOutput { - s.LastUpdatedTimestamp = &v - return s -} - -// SetLatestVersion sets the LatestVersion field's value. -func (s *CreateLoggerDefinitionOutput) SetLatestVersion(v string) *CreateLoggerDefinitionOutput { - s.LatestVersion = &v - return s -} - -// SetLatestVersionArn sets the LatestVersionArn field's value. -func (s *CreateLoggerDefinitionOutput) SetLatestVersionArn(v string) *CreateLoggerDefinitionOutput { - s.LatestVersionArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateLoggerDefinitionOutput) SetName(v string) *CreateLoggerDefinitionOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateLoggerDefinitionVersionRequest type CreateLoggerDefinitionVersionInput struct { _ struct{} `type:"structure"` @@ -5220,24 +4578,6 @@ func (s *CreateLoggerDefinitionVersionInput) Validate() error { return nil } -// SetAmznClientToken sets the AmznClientToken field's value. -func (s *CreateLoggerDefinitionVersionInput) SetAmznClientToken(v string) *CreateLoggerDefinitionVersionInput { - s.AmznClientToken = &v - return s -} - -// SetLoggerDefinitionId sets the LoggerDefinitionId field's value. -func (s *CreateLoggerDefinitionVersionInput) SetLoggerDefinitionId(v string) *CreateLoggerDefinitionVersionInput { - s.LoggerDefinitionId = &v - return s -} - -// SetLoggers sets the Loggers field's value. -func (s *CreateLoggerDefinitionVersionInput) SetLoggers(v []Logger) *CreateLoggerDefinitionVersionInput { - s.Loggers = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateLoggerDefinitionVersionResponse type CreateLoggerDefinitionVersionOutput struct { _ struct{} `type:"structure"` @@ -5268,30 +4608,6 @@ func (s CreateLoggerDefinitionVersionOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *CreateLoggerDefinitionVersionOutput) SetArn(v string) *CreateLoggerDefinitionVersionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *CreateLoggerDefinitionVersionOutput) SetCreationTimestamp(v string) *CreateLoggerDefinitionVersionOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *CreateLoggerDefinitionVersionOutput) SetId(v string) *CreateLoggerDefinitionVersionOutput { - s.Id = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *CreateLoggerDefinitionVersionOutput) SetVersion(v string) *CreateLoggerDefinitionVersionOutput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateResourceDefinitionRequest type CreateResourceDefinitionInput struct { _ struct{} `type:"structure"` @@ -5314,24 +4630,6 @@ func (s CreateResourceDefinitionInput) GoString() string { return s.String() } -// SetAmznClientToken sets the AmznClientToken field's value. -func (s *CreateResourceDefinitionInput) SetAmznClientToken(v string) *CreateResourceDefinitionInput { - s.AmznClientToken = &v - return s -} - -// SetInitialVersion sets the InitialVersion field's value. -func (s *CreateResourceDefinitionInput) SetInitialVersion(v *ResourceDefinitionVersion) *CreateResourceDefinitionInput { - s.InitialVersion = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateResourceDefinitionInput) SetName(v string) *CreateResourceDefinitionInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateResourceDefinitionResponse type CreateResourceDefinitionOutput struct { _ struct{} `type:"structure"` @@ -5368,48 +4666,6 @@ func (s CreateResourceDefinitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *CreateResourceDefinitionOutput) SetArn(v string) *CreateResourceDefinitionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *CreateResourceDefinitionOutput) SetCreationTimestamp(v string) *CreateResourceDefinitionOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *CreateResourceDefinitionOutput) SetId(v string) *CreateResourceDefinitionOutput { - s.Id = &v - return s -} - -// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value. -func (s *CreateResourceDefinitionOutput) SetLastUpdatedTimestamp(v string) *CreateResourceDefinitionOutput { - s.LastUpdatedTimestamp = &v - return s -} - -// SetLatestVersion sets the LatestVersion field's value. -func (s *CreateResourceDefinitionOutput) SetLatestVersion(v string) *CreateResourceDefinitionOutput { - s.LatestVersion = &v - return s -} - -// SetLatestVersionArn sets the LatestVersionArn field's value. -func (s *CreateResourceDefinitionOutput) SetLatestVersionArn(v string) *CreateResourceDefinitionOutput { - s.LatestVersionArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateResourceDefinitionOutput) SetName(v string) *CreateResourceDefinitionOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateResourceDefinitionVersionRequest type CreateResourceDefinitionVersionInput struct { _ struct{} `type:"structure"` @@ -5446,24 +4702,6 @@ func (s *CreateResourceDefinitionVersionInput) Validate() error { return nil } -// SetAmznClientToken sets the AmznClientToken field's value. -func (s *CreateResourceDefinitionVersionInput) SetAmznClientToken(v string) *CreateResourceDefinitionVersionInput { - s.AmznClientToken = &v - return s -} - -// SetResourceDefinitionId sets the ResourceDefinitionId field's value. -func (s *CreateResourceDefinitionVersionInput) SetResourceDefinitionId(v string) *CreateResourceDefinitionVersionInput { - s.ResourceDefinitionId = &v - return s -} - -// SetResources sets the Resources field's value. -func (s *CreateResourceDefinitionVersionInput) SetResources(v []Resource) *CreateResourceDefinitionVersionInput { - s.Resources = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateResourceDefinitionVersionResponse type CreateResourceDefinitionVersionOutput struct { _ struct{} `type:"structure"` @@ -5494,30 +4732,6 @@ func (s CreateResourceDefinitionVersionOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *CreateResourceDefinitionVersionOutput) SetArn(v string) *CreateResourceDefinitionVersionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *CreateResourceDefinitionVersionOutput) SetCreationTimestamp(v string) *CreateResourceDefinitionVersionOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *CreateResourceDefinitionVersionOutput) SetId(v string) *CreateResourceDefinitionVersionOutput { - s.Id = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *CreateResourceDefinitionVersionOutput) SetVersion(v string) *CreateResourceDefinitionVersionOutput { - s.Version = &v - return s -} - // Request for the CreateSoftwareUpdateJob API // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateSoftwareUpdateJobRequest type CreateSoftwareUpdateJobInput struct { @@ -5556,48 +4770,6 @@ func (s CreateSoftwareUpdateJobInput) GoString() string { return s.String() } -// SetAmznClientToken sets the AmznClientToken field's value. -func (s *CreateSoftwareUpdateJobInput) SetAmznClientToken(v string) *CreateSoftwareUpdateJobInput { - s.AmznClientToken = &v - return s -} - -// SetS3UrlSignerRole sets the S3UrlSignerRole field's value. -func (s *CreateSoftwareUpdateJobInput) SetS3UrlSignerRole(v string) *CreateSoftwareUpdateJobInput { - s.S3UrlSignerRole = &v - return s -} - -// SetSoftwareToUpdate sets the SoftwareToUpdate field's value. -func (s *CreateSoftwareUpdateJobInput) SetSoftwareToUpdate(v SoftwareToUpdate) *CreateSoftwareUpdateJobInput { - s.SoftwareToUpdate = v - return s -} - -// SetUpdateAgentLogLevel sets the UpdateAgentLogLevel field's value. -func (s *CreateSoftwareUpdateJobInput) SetUpdateAgentLogLevel(v UpdateAgentLogLevel) *CreateSoftwareUpdateJobInput { - s.UpdateAgentLogLevel = v - return s -} - -// SetUpdateTargets sets the UpdateTargets field's value. -func (s *CreateSoftwareUpdateJobInput) SetUpdateTargets(v []string) *CreateSoftwareUpdateJobInput { - s.UpdateTargets = v - return s -} - -// SetUpdateTargetsArchitecture sets the UpdateTargetsArchitecture field's value. -func (s *CreateSoftwareUpdateJobInput) SetUpdateTargetsArchitecture(v UpdateTargetsArchitecture) *CreateSoftwareUpdateJobInput { - s.UpdateTargetsArchitecture = v - return s -} - -// SetUpdateTargetsOperatingSystem sets the UpdateTargetsOperatingSystem field's value. -func (s *CreateSoftwareUpdateJobInput) SetUpdateTargetsOperatingSystem(v UpdateTargetsOperatingSystem) *CreateSoftwareUpdateJobInput { - s.UpdateTargetsOperatingSystem = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateSoftwareUpdateJobResponse type CreateSoftwareUpdateJobOutput struct { _ struct{} `type:"structure"` @@ -5626,18 +4798,6 @@ func (s CreateSoftwareUpdateJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIotJobArn sets the IotJobArn field's value. -func (s *CreateSoftwareUpdateJobOutput) SetIotJobArn(v string) *CreateSoftwareUpdateJobOutput { - s.IotJobArn = &v - return s -} - -// SetIotJobId sets the IotJobId field's value. -func (s *CreateSoftwareUpdateJobOutput) SetIotJobId(v string) *CreateSoftwareUpdateJobOutput { - s.IotJobId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateSubscriptionDefinitionRequest type CreateSubscriptionDefinitionInput struct { _ struct{} `type:"structure"` @@ -5660,24 +4820,6 @@ func (s CreateSubscriptionDefinitionInput) GoString() string { return s.String() } -// SetAmznClientToken sets the AmznClientToken field's value. -func (s *CreateSubscriptionDefinitionInput) SetAmznClientToken(v string) *CreateSubscriptionDefinitionInput { - s.AmznClientToken = &v - return s -} - -// SetInitialVersion sets the InitialVersion field's value. -func (s *CreateSubscriptionDefinitionInput) SetInitialVersion(v *SubscriptionDefinitionVersion) *CreateSubscriptionDefinitionInput { - s.InitialVersion = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateSubscriptionDefinitionInput) SetName(v string) *CreateSubscriptionDefinitionInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateSubscriptionDefinitionResponse type CreateSubscriptionDefinitionOutput struct { _ struct{} `type:"structure"` @@ -5714,48 +4856,6 @@ func (s CreateSubscriptionDefinitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *CreateSubscriptionDefinitionOutput) SetArn(v string) *CreateSubscriptionDefinitionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *CreateSubscriptionDefinitionOutput) SetCreationTimestamp(v string) *CreateSubscriptionDefinitionOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *CreateSubscriptionDefinitionOutput) SetId(v string) *CreateSubscriptionDefinitionOutput { - s.Id = &v - return s -} - -// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value. -func (s *CreateSubscriptionDefinitionOutput) SetLastUpdatedTimestamp(v string) *CreateSubscriptionDefinitionOutput { - s.LastUpdatedTimestamp = &v - return s -} - -// SetLatestVersion sets the LatestVersion field's value. -func (s *CreateSubscriptionDefinitionOutput) SetLatestVersion(v string) *CreateSubscriptionDefinitionOutput { - s.LatestVersion = &v - return s -} - -// SetLatestVersionArn sets the LatestVersionArn field's value. -func (s *CreateSubscriptionDefinitionOutput) SetLatestVersionArn(v string) *CreateSubscriptionDefinitionOutput { - s.LatestVersionArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateSubscriptionDefinitionOutput) SetName(v string) *CreateSubscriptionDefinitionOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateSubscriptionDefinitionVersionRequest type CreateSubscriptionDefinitionVersionInput struct { _ struct{} `type:"structure"` @@ -5792,24 +4892,6 @@ func (s *CreateSubscriptionDefinitionVersionInput) Validate() error { return nil } -// SetAmznClientToken sets the AmznClientToken field's value. -func (s *CreateSubscriptionDefinitionVersionInput) SetAmznClientToken(v string) *CreateSubscriptionDefinitionVersionInput { - s.AmznClientToken = &v - return s -} - -// SetSubscriptionDefinitionId sets the SubscriptionDefinitionId field's value. -func (s *CreateSubscriptionDefinitionVersionInput) SetSubscriptionDefinitionId(v string) *CreateSubscriptionDefinitionVersionInput { - s.SubscriptionDefinitionId = &v - return s -} - -// SetSubscriptions sets the Subscriptions field's value. -func (s *CreateSubscriptionDefinitionVersionInput) SetSubscriptions(v []Subscription) *CreateSubscriptionDefinitionVersionInput { - s.Subscriptions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateSubscriptionDefinitionVersionResponse type CreateSubscriptionDefinitionVersionOutput struct { _ struct{} `type:"structure"` @@ -5840,30 +4922,6 @@ func (s CreateSubscriptionDefinitionVersionOutput) SDKResponseMetadata() aws.Res return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *CreateSubscriptionDefinitionVersionOutput) SetArn(v string) *CreateSubscriptionDefinitionVersionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *CreateSubscriptionDefinitionVersionOutput) SetCreationTimestamp(v string) *CreateSubscriptionDefinitionVersionOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *CreateSubscriptionDefinitionVersionOutput) SetId(v string) *CreateSubscriptionDefinitionVersionOutput { - s.Id = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *CreateSubscriptionDefinitionVersionOutput) SetVersion(v string) *CreateSubscriptionDefinitionVersionOutput { - s.Version = &v - return s -} - // Information on the Definition // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DefinitionInformation type DefinitionInformation struct { @@ -5901,48 +4959,6 @@ func (s DefinitionInformation) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DefinitionInformation) SetArn(v string) *DefinitionInformation { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *DefinitionInformation) SetCreationTimestamp(v string) *DefinitionInformation { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *DefinitionInformation) SetId(v string) *DefinitionInformation { - s.Id = &v - return s -} - -// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value. -func (s *DefinitionInformation) SetLastUpdatedTimestamp(v string) *DefinitionInformation { - s.LastUpdatedTimestamp = &v - return s -} - -// SetLatestVersion sets the LatestVersion field's value. -func (s *DefinitionInformation) SetLatestVersion(v string) *DefinitionInformation { - s.LatestVersion = &v - return s -} - -// SetLatestVersionArn sets the LatestVersionArn field's value. -func (s *DefinitionInformation) SetLatestVersionArn(v string) *DefinitionInformation { - s.LatestVersionArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *DefinitionInformation) SetName(v string) *DefinitionInformation { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteCoreDefinitionRequest type DeleteCoreDefinitionInput struct { _ struct{} `type:"structure"` @@ -5975,12 +4991,6 @@ func (s *DeleteCoreDefinitionInput) Validate() error { return nil } -// SetCoreDefinitionId sets the CoreDefinitionId field's value. -func (s *DeleteCoreDefinitionInput) SetCoreDefinitionId(v string) *DeleteCoreDefinitionInput { - s.CoreDefinitionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteCoreDefinitionResponse type DeleteCoreDefinitionOutput struct { _ struct{} `type:"structure"` @@ -6035,12 +5045,6 @@ func (s *DeleteDeviceDefinitionInput) Validate() error { return nil } -// SetDeviceDefinitionId sets the DeviceDefinitionId field's value. -func (s *DeleteDeviceDefinitionInput) SetDeviceDefinitionId(v string) *DeleteDeviceDefinitionInput { - s.DeviceDefinitionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteDeviceDefinitionResponse type DeleteDeviceDefinitionOutput struct { _ struct{} `type:"structure"` @@ -6095,12 +5099,6 @@ func (s *DeleteFunctionDefinitionInput) Validate() error { return nil } -// SetFunctionDefinitionId sets the FunctionDefinitionId field's value. -func (s *DeleteFunctionDefinitionInput) SetFunctionDefinitionId(v string) *DeleteFunctionDefinitionInput { - s.FunctionDefinitionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteFunctionDefinitionResponse type DeleteFunctionDefinitionOutput struct { _ struct{} `type:"structure"` @@ -6155,12 +5153,6 @@ func (s *DeleteGroupInput) Validate() error { return nil } -// SetGroupId sets the GroupId field's value. -func (s *DeleteGroupInput) SetGroupId(v string) *DeleteGroupInput { - s.GroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteGroupResponse type DeleteGroupOutput struct { _ struct{} `type:"structure"` @@ -6215,12 +5207,6 @@ func (s *DeleteLoggerDefinitionInput) Validate() error { return nil } -// SetLoggerDefinitionId sets the LoggerDefinitionId field's value. -func (s *DeleteLoggerDefinitionInput) SetLoggerDefinitionId(v string) *DeleteLoggerDefinitionInput { - s.LoggerDefinitionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteLoggerDefinitionResponse type DeleteLoggerDefinitionOutput struct { _ struct{} `type:"structure"` @@ -6275,12 +5261,6 @@ func (s *DeleteResourceDefinitionInput) Validate() error { return nil } -// SetResourceDefinitionId sets the ResourceDefinitionId field's value. -func (s *DeleteResourceDefinitionInput) SetResourceDefinitionId(v string) *DeleteResourceDefinitionInput { - s.ResourceDefinitionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteResourceDefinitionResponse type DeleteResourceDefinitionOutput struct { _ struct{} `type:"structure"` @@ -6335,12 +5315,6 @@ func (s *DeleteSubscriptionDefinitionInput) Validate() error { return nil } -// SetSubscriptionDefinitionId sets the SubscriptionDefinitionId field's value. -func (s *DeleteSubscriptionDefinitionInput) SetSubscriptionDefinitionId(v string) *DeleteSubscriptionDefinitionInput { - s.SubscriptionDefinitionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteSubscriptionDefinitionResponse type DeleteSubscriptionDefinitionOutput struct { _ struct{} `type:"structure"` @@ -6394,36 +5368,6 @@ func (s Deployment) GoString() string { return s.String() } -// SetCreatedAt sets the CreatedAt field's value. -func (s *Deployment) SetCreatedAt(v string) *Deployment { - s.CreatedAt = &v - return s -} - -// SetDeploymentArn sets the DeploymentArn field's value. -func (s *Deployment) SetDeploymentArn(v string) *Deployment { - s.DeploymentArn = &v - return s -} - -// SetDeploymentId sets the DeploymentId field's value. -func (s *Deployment) SetDeploymentId(v string) *Deployment { - s.DeploymentId = &v - return s -} - -// SetDeploymentType sets the DeploymentType field's value. -func (s *Deployment) SetDeploymentType(v DeploymentType) *Deployment { - s.DeploymentType = v - return s -} - -// SetGroupArn sets the GroupArn field's value. -func (s *Deployment) SetGroupArn(v string) *Deployment { - s.GroupArn = &v - return s -} - // Information on a Device // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/Device type Device struct { @@ -6453,30 +5397,6 @@ func (s Device) GoString() string { return s.String() } -// SetCertificateArn sets the CertificateArn field's value. -func (s *Device) SetCertificateArn(v string) *Device { - s.CertificateArn = &v - return s -} - -// SetId sets the Id field's value. -func (s *Device) SetId(v string) *Device { - s.Id = &v - return s -} - -// SetSyncShadow sets the SyncShadow field's value. -func (s *Device) SetSyncShadow(v bool) *Device { - s.SyncShadow = &v - return s -} - -// SetThingArn sets the ThingArn field's value. -func (s *Device) SetThingArn(v string) *Device { - s.ThingArn = &v - return s -} - // Information on device definition version // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeviceDefinitionVersion type DeviceDefinitionVersion struct { @@ -6496,12 +5416,6 @@ func (s DeviceDefinitionVersion) GoString() string { return s.String() } -// SetDevices sets the Devices field's value. -func (s *DeviceDefinitionVersion) SetDevices(v []Device) *DeviceDefinitionVersion { - s.Devices = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DisassociateRoleFromGroupRequest type DisassociateRoleFromGroupInput struct { _ struct{} `type:"structure"` @@ -6534,12 +5448,6 @@ func (s *DisassociateRoleFromGroupInput) Validate() error { return nil } -// SetGroupId sets the GroupId field's value. -func (s *DisassociateRoleFromGroupInput) SetGroupId(v string) *DisassociateRoleFromGroupInput { - s.GroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DisassociateRoleFromGroupResponse type DisassociateRoleFromGroupOutput struct { _ struct{} `type:"structure"` @@ -6565,12 +5473,6 @@ func (s DisassociateRoleFromGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDisassociatedAt sets the DisassociatedAt field's value. -func (s *DisassociateRoleFromGroupOutput) SetDisassociatedAt(v string) *DisassociateRoleFromGroupOutput { - s.DisassociatedAt = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DisassociateServiceRoleFromAccountRequest type DisassociateServiceRoleFromAccountInput struct { _ struct{} `type:"structure"` @@ -6611,12 +5513,6 @@ func (s DisassociateServiceRoleFromAccountOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetDisassociatedAt sets the DisassociatedAt field's value. -func (s *DisassociateServiceRoleFromAccountOutput) SetDisassociatedAt(v string) *DisassociateServiceRoleFromAccountOutput { - s.DisassociatedAt = &v - return s -} - // ErrorDetail // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ErrorDetail type ErrorDetail struct { @@ -6639,18 +5535,6 @@ func (s ErrorDetail) GoString() string { return s.String() } -// SetDetailedErrorCode sets the DetailedErrorCode field's value. -func (s *ErrorDetail) SetDetailedErrorCode(v string) *ErrorDetail { - s.DetailedErrorCode = &v - return s -} - -// SetDetailedErrorMessage sets the DetailedErrorMessage field's value. -func (s *ErrorDetail) SetDetailedErrorMessage(v string) *ErrorDetail { - s.DetailedErrorMessage = &v - return s -} - // Information on function // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/Function type Function struct { @@ -6676,24 +5560,6 @@ func (s Function) GoString() string { return s.String() } -// SetFunctionArn sets the FunctionArn field's value. -func (s *Function) SetFunctionArn(v string) *Function { - s.FunctionArn = &v - return s -} - -// SetFunctionConfiguration sets the FunctionConfiguration field's value. -func (s *Function) SetFunctionConfiguration(v *FunctionConfiguration) *Function { - s.FunctionConfiguration = v - return s -} - -// SetId sets the Id field's value. -func (s *Function) SetId(v string) *Function { - s.Id = &v - return s -} - // Configuration of the function // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/FunctionConfiguration type FunctionConfiguration struct { @@ -6730,42 +5596,6 @@ func (s FunctionConfiguration) GoString() string { return s.String() } -// SetEnvironment sets the Environment field's value. -func (s *FunctionConfiguration) SetEnvironment(v *FunctionConfigurationEnvironment) *FunctionConfiguration { - s.Environment = v - return s -} - -// SetExecArgs sets the ExecArgs field's value. -func (s *FunctionConfiguration) SetExecArgs(v string) *FunctionConfiguration { - s.ExecArgs = &v - return s -} - -// SetExecutable sets the Executable field's value. -func (s *FunctionConfiguration) SetExecutable(v string) *FunctionConfiguration { - s.Executable = &v - return s -} - -// SetMemorySize sets the MemorySize field's value. -func (s *FunctionConfiguration) SetMemorySize(v int64) *FunctionConfiguration { - s.MemorySize = &v - return s -} - -// SetPinned sets the Pinned field's value. -func (s *FunctionConfiguration) SetPinned(v bool) *FunctionConfiguration { - s.Pinned = &v - return s -} - -// SetTimeout sets the Timeout field's value. -func (s *FunctionConfiguration) SetTimeout(v int64) *FunctionConfiguration { - s.Timeout = &v - return s -} - // Environment of the function configuration // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/FunctionConfigurationEnvironment type FunctionConfigurationEnvironment struct { @@ -6790,24 +5620,6 @@ func (s FunctionConfigurationEnvironment) GoString() string { return s.String() } -// SetAccessSysfs sets the AccessSysfs field's value. -func (s *FunctionConfigurationEnvironment) SetAccessSysfs(v bool) *FunctionConfigurationEnvironment { - s.AccessSysfs = &v - return s -} - -// SetResourceAccessPolicies sets the ResourceAccessPolicies field's value. -func (s *FunctionConfigurationEnvironment) SetResourceAccessPolicies(v []ResourceAccessPolicy) *FunctionConfigurationEnvironment { - s.ResourceAccessPolicies = v - return s -} - -// SetVariables sets the Variables field's value. -func (s *FunctionConfigurationEnvironment) SetVariables(v map[string]string) *FunctionConfigurationEnvironment { - s.Variables = v - return s -} - // Information on the function definition version // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/FunctionDefinitionVersion type FunctionDefinitionVersion struct { @@ -6827,12 +5639,6 @@ func (s FunctionDefinitionVersion) GoString() string { return s.String() } -// SetFunctions sets the Functions field's value. -func (s *FunctionDefinitionVersion) SetFunctions(v []Function) *FunctionDefinitionVersion { - s.Functions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetAssociatedRoleRequest type GetAssociatedRoleInput struct { _ struct{} `type:"structure"` @@ -6865,12 +5671,6 @@ func (s *GetAssociatedRoleInput) Validate() error { return nil } -// SetGroupId sets the GroupId field's value. -func (s *GetAssociatedRoleInput) SetGroupId(v string) *GetAssociatedRoleInput { - s.GroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetAssociatedRoleResponse type GetAssociatedRoleOutput struct { _ struct{} `type:"structure"` @@ -6899,18 +5699,6 @@ func (s GetAssociatedRoleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssociatedAt sets the AssociatedAt field's value. -func (s *GetAssociatedRoleOutput) SetAssociatedAt(v string) *GetAssociatedRoleOutput { - s.AssociatedAt = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *GetAssociatedRoleOutput) SetRoleArn(v string) *GetAssociatedRoleOutput { - s.RoleArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetConnectivityInfoRequest type GetConnectivityInfoInput struct { _ struct{} `type:"structure"` @@ -6943,12 +5731,6 @@ func (s *GetConnectivityInfoInput) Validate() error { return nil } -// SetThingName sets the ThingName field's value. -func (s *GetConnectivityInfoInput) SetThingName(v string) *GetConnectivityInfoInput { - s.ThingName = &v - return s -} - // connectivity info response // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetConnectivityInfoResponse type GetConnectivityInfoOutput struct { @@ -6978,18 +5760,6 @@ func (s GetConnectivityInfoOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConnectivityInfo sets the ConnectivityInfo field's value. -func (s *GetConnectivityInfoOutput) SetConnectivityInfo(v []ConnectivityInfo) *GetConnectivityInfoOutput { - s.ConnectivityInfo = v - return s -} - -// SetMessage sets the Message field's value. -func (s *GetConnectivityInfoOutput) SetMessage(v string) *GetConnectivityInfoOutput { - s.Message = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetCoreDefinitionRequest type GetCoreDefinitionInput struct { _ struct{} `type:"structure"` @@ -7022,12 +5792,6 @@ func (s *GetCoreDefinitionInput) Validate() error { return nil } -// SetCoreDefinitionId sets the CoreDefinitionId field's value. -func (s *GetCoreDefinitionInput) SetCoreDefinitionId(v string) *GetCoreDefinitionInput { - s.CoreDefinitionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetCoreDefinitionResponse type GetCoreDefinitionOutput struct { _ struct{} `type:"structure"` @@ -7064,48 +5828,6 @@ func (s GetCoreDefinitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *GetCoreDefinitionOutput) SetArn(v string) *GetCoreDefinitionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *GetCoreDefinitionOutput) SetCreationTimestamp(v string) *GetCoreDefinitionOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *GetCoreDefinitionOutput) SetId(v string) *GetCoreDefinitionOutput { - s.Id = &v - return s -} - -// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value. -func (s *GetCoreDefinitionOutput) SetLastUpdatedTimestamp(v string) *GetCoreDefinitionOutput { - s.LastUpdatedTimestamp = &v - return s -} - -// SetLatestVersion sets the LatestVersion field's value. -func (s *GetCoreDefinitionOutput) SetLatestVersion(v string) *GetCoreDefinitionOutput { - s.LatestVersion = &v - return s -} - -// SetLatestVersionArn sets the LatestVersionArn field's value. -func (s *GetCoreDefinitionOutput) SetLatestVersionArn(v string) *GetCoreDefinitionOutput { - s.LatestVersionArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetCoreDefinitionOutput) SetName(v string) *GetCoreDefinitionOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetCoreDefinitionVersionRequest type GetCoreDefinitionVersionInput struct { _ struct{} `type:"structure"` @@ -7145,18 +5867,6 @@ func (s *GetCoreDefinitionVersionInput) Validate() error { return nil } -// SetCoreDefinitionId sets the CoreDefinitionId field's value. -func (s *GetCoreDefinitionVersionInput) SetCoreDefinitionId(v string) *GetCoreDefinitionVersionInput { - s.CoreDefinitionId = &v - return s -} - -// SetCoreDefinitionVersionId sets the CoreDefinitionVersionId field's value. -func (s *GetCoreDefinitionVersionInput) SetCoreDefinitionVersionId(v string) *GetCoreDefinitionVersionInput { - s.CoreDefinitionVersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetCoreDefinitionVersionResponse type GetCoreDefinitionVersionOutput struct { _ struct{} `type:"structure"` @@ -7190,38 +5900,8 @@ func (s GetCoreDefinitionVersionOutput) GoString() string { } // SDKResponseMetdata return sthe response metadata for the API. -func (s GetCoreDefinitionVersionOutput) SDKResponseMetadata() aws.Response { - return s.responseMetadata -} - -// SetArn sets the Arn field's value. -func (s *GetCoreDefinitionVersionOutput) SetArn(v string) *GetCoreDefinitionVersionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *GetCoreDefinitionVersionOutput) SetCreationTimestamp(v string) *GetCoreDefinitionVersionOutput { - s.CreationTimestamp = &v - return s -} - -// SetDefinition sets the Definition field's value. -func (s *GetCoreDefinitionVersionOutput) SetDefinition(v *CoreDefinitionVersion) *GetCoreDefinitionVersionOutput { - s.Definition = v - return s -} - -// SetId sets the Id field's value. -func (s *GetCoreDefinitionVersionOutput) SetId(v string) *GetCoreDefinitionVersionOutput { - s.Id = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetCoreDefinitionVersionOutput) SetVersion(v string) *GetCoreDefinitionVersionOutput { - s.Version = &v - return s +func (s GetCoreDefinitionVersionOutput) SDKResponseMetadata() aws.Response { + return s.responseMetadata } // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeploymentStatusRequest @@ -7263,18 +5943,6 @@ func (s *GetDeploymentStatusInput) Validate() error { return nil } -// SetDeploymentId sets the DeploymentId field's value. -func (s *GetDeploymentStatusInput) SetDeploymentId(v string) *GetDeploymentStatusInput { - s.DeploymentId = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *GetDeploymentStatusInput) SetGroupId(v string) *GetDeploymentStatusInput { - s.GroupId = &v - return s -} - // The response body contains the status of a deployment for a group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeploymentStatusResponse type GetDeploymentStatusOutput struct { @@ -7313,36 +5981,6 @@ func (s GetDeploymentStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeploymentStatus sets the DeploymentStatus field's value. -func (s *GetDeploymentStatusOutput) SetDeploymentStatus(v string) *GetDeploymentStatusOutput { - s.DeploymentStatus = &v - return s -} - -// SetDeploymentType sets the DeploymentType field's value. -func (s *GetDeploymentStatusOutput) SetDeploymentType(v DeploymentType) *GetDeploymentStatusOutput { - s.DeploymentType = v - return s -} - -// SetErrorDetails sets the ErrorDetails field's value. -func (s *GetDeploymentStatusOutput) SetErrorDetails(v []ErrorDetail) *GetDeploymentStatusOutput { - s.ErrorDetails = v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *GetDeploymentStatusOutput) SetErrorMessage(v string) *GetDeploymentStatusOutput { - s.ErrorMessage = &v - return s -} - -// SetUpdatedAt sets the UpdatedAt field's value. -func (s *GetDeploymentStatusOutput) SetUpdatedAt(v string) *GetDeploymentStatusOutput { - s.UpdatedAt = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeviceDefinitionRequest type GetDeviceDefinitionInput struct { _ struct{} `type:"structure"` @@ -7375,12 +6013,6 @@ func (s *GetDeviceDefinitionInput) Validate() error { return nil } -// SetDeviceDefinitionId sets the DeviceDefinitionId field's value. -func (s *GetDeviceDefinitionInput) SetDeviceDefinitionId(v string) *GetDeviceDefinitionInput { - s.DeviceDefinitionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeviceDefinitionResponse type GetDeviceDefinitionOutput struct { _ struct{} `type:"structure"` @@ -7417,48 +6049,6 @@ func (s GetDeviceDefinitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *GetDeviceDefinitionOutput) SetArn(v string) *GetDeviceDefinitionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *GetDeviceDefinitionOutput) SetCreationTimestamp(v string) *GetDeviceDefinitionOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *GetDeviceDefinitionOutput) SetId(v string) *GetDeviceDefinitionOutput { - s.Id = &v - return s -} - -// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value. -func (s *GetDeviceDefinitionOutput) SetLastUpdatedTimestamp(v string) *GetDeviceDefinitionOutput { - s.LastUpdatedTimestamp = &v - return s -} - -// SetLatestVersion sets the LatestVersion field's value. -func (s *GetDeviceDefinitionOutput) SetLatestVersion(v string) *GetDeviceDefinitionOutput { - s.LatestVersion = &v - return s -} - -// SetLatestVersionArn sets the LatestVersionArn field's value. -func (s *GetDeviceDefinitionOutput) SetLatestVersionArn(v string) *GetDeviceDefinitionOutput { - s.LatestVersionArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetDeviceDefinitionOutput) SetName(v string) *GetDeviceDefinitionOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeviceDefinitionVersionRequest type GetDeviceDefinitionVersionInput struct { _ struct{} `type:"structure"` @@ -7498,18 +6088,6 @@ func (s *GetDeviceDefinitionVersionInput) Validate() error { return nil } -// SetDeviceDefinitionId sets the DeviceDefinitionId field's value. -func (s *GetDeviceDefinitionVersionInput) SetDeviceDefinitionId(v string) *GetDeviceDefinitionVersionInput { - s.DeviceDefinitionId = &v - return s -} - -// SetDeviceDefinitionVersionId sets the DeviceDefinitionVersionId field's value. -func (s *GetDeviceDefinitionVersionInput) SetDeviceDefinitionVersionId(v string) *GetDeviceDefinitionVersionInput { - s.DeviceDefinitionVersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeviceDefinitionVersionResponse type GetDeviceDefinitionVersionOutput struct { _ struct{} `type:"structure"` @@ -7547,36 +6125,6 @@ func (s GetDeviceDefinitionVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *GetDeviceDefinitionVersionOutput) SetArn(v string) *GetDeviceDefinitionVersionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *GetDeviceDefinitionVersionOutput) SetCreationTimestamp(v string) *GetDeviceDefinitionVersionOutput { - s.CreationTimestamp = &v - return s -} - -// SetDefinition sets the Definition field's value. -func (s *GetDeviceDefinitionVersionOutput) SetDefinition(v *DeviceDefinitionVersion) *GetDeviceDefinitionVersionOutput { - s.Definition = v - return s -} - -// SetId sets the Id field's value. -func (s *GetDeviceDefinitionVersionOutput) SetId(v string) *GetDeviceDefinitionVersionOutput { - s.Id = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetDeviceDefinitionVersionOutput) SetVersion(v string) *GetDeviceDefinitionVersionOutput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetFunctionDefinitionRequest type GetFunctionDefinitionInput struct { _ struct{} `type:"structure"` @@ -7609,12 +6157,6 @@ func (s *GetFunctionDefinitionInput) Validate() error { return nil } -// SetFunctionDefinitionId sets the FunctionDefinitionId field's value. -func (s *GetFunctionDefinitionInput) SetFunctionDefinitionId(v string) *GetFunctionDefinitionInput { - s.FunctionDefinitionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetFunctionDefinitionResponse type GetFunctionDefinitionOutput struct { _ struct{} `type:"structure"` @@ -7651,48 +6193,6 @@ func (s GetFunctionDefinitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *GetFunctionDefinitionOutput) SetArn(v string) *GetFunctionDefinitionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *GetFunctionDefinitionOutput) SetCreationTimestamp(v string) *GetFunctionDefinitionOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *GetFunctionDefinitionOutput) SetId(v string) *GetFunctionDefinitionOutput { - s.Id = &v - return s -} - -// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value. -func (s *GetFunctionDefinitionOutput) SetLastUpdatedTimestamp(v string) *GetFunctionDefinitionOutput { - s.LastUpdatedTimestamp = &v - return s -} - -// SetLatestVersion sets the LatestVersion field's value. -func (s *GetFunctionDefinitionOutput) SetLatestVersion(v string) *GetFunctionDefinitionOutput { - s.LatestVersion = &v - return s -} - -// SetLatestVersionArn sets the LatestVersionArn field's value. -func (s *GetFunctionDefinitionOutput) SetLatestVersionArn(v string) *GetFunctionDefinitionOutput { - s.LatestVersionArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetFunctionDefinitionOutput) SetName(v string) *GetFunctionDefinitionOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetFunctionDefinitionVersionRequest type GetFunctionDefinitionVersionInput struct { _ struct{} `type:"structure"` @@ -7732,18 +6232,6 @@ func (s *GetFunctionDefinitionVersionInput) Validate() error { return nil } -// SetFunctionDefinitionId sets the FunctionDefinitionId field's value. -func (s *GetFunctionDefinitionVersionInput) SetFunctionDefinitionId(v string) *GetFunctionDefinitionVersionInput { - s.FunctionDefinitionId = &v - return s -} - -// SetFunctionDefinitionVersionId sets the FunctionDefinitionVersionId field's value. -func (s *GetFunctionDefinitionVersionInput) SetFunctionDefinitionVersionId(v string) *GetFunctionDefinitionVersionInput { - s.FunctionDefinitionVersionId = &v - return s -} - // Function definition version // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetFunctionDefinitionVersionResponse type GetFunctionDefinitionVersionOutput struct { @@ -7782,36 +6270,6 @@ func (s GetFunctionDefinitionVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *GetFunctionDefinitionVersionOutput) SetArn(v string) *GetFunctionDefinitionVersionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *GetFunctionDefinitionVersionOutput) SetCreationTimestamp(v string) *GetFunctionDefinitionVersionOutput { - s.CreationTimestamp = &v - return s -} - -// SetDefinition sets the Definition field's value. -func (s *GetFunctionDefinitionVersionOutput) SetDefinition(v *FunctionDefinitionVersion) *GetFunctionDefinitionVersionOutput { - s.Definition = v - return s -} - -// SetId sets the Id field's value. -func (s *GetFunctionDefinitionVersionOutput) SetId(v string) *GetFunctionDefinitionVersionOutput { - s.Id = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetFunctionDefinitionVersionOutput) SetVersion(v string) *GetFunctionDefinitionVersionOutput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupCertificateAuthorityRequest type GetGroupCertificateAuthorityInput struct { _ struct{} `type:"structure"` @@ -7851,18 +6309,6 @@ func (s *GetGroupCertificateAuthorityInput) Validate() error { return nil } -// SetCertificateAuthorityId sets the CertificateAuthorityId field's value. -func (s *GetGroupCertificateAuthorityInput) SetCertificateAuthorityId(v string) *GetGroupCertificateAuthorityInput { - s.CertificateAuthorityId = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *GetGroupCertificateAuthorityInput) SetGroupId(v string) *GetGroupCertificateAuthorityInput { - s.GroupId = &v - return s -} - // Certificate authority for the group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupCertificateAuthorityResponse type GetGroupCertificateAuthorityOutput struct { @@ -7895,24 +6341,6 @@ func (s GetGroupCertificateAuthorityOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroupCertificateAuthorityArn sets the GroupCertificateAuthorityArn field's value. -func (s *GetGroupCertificateAuthorityOutput) SetGroupCertificateAuthorityArn(v string) *GetGroupCertificateAuthorityOutput { - s.GroupCertificateAuthorityArn = &v - return s -} - -// SetGroupCertificateAuthorityId sets the GroupCertificateAuthorityId field's value. -func (s *GetGroupCertificateAuthorityOutput) SetGroupCertificateAuthorityId(v string) *GetGroupCertificateAuthorityOutput { - s.GroupCertificateAuthorityId = &v - return s -} - -// SetPemEncodedCertificate sets the PemEncodedCertificate field's value. -func (s *GetGroupCertificateAuthorityOutput) SetPemEncodedCertificate(v string) *GetGroupCertificateAuthorityOutput { - s.PemEncodedCertificate = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupCertificateConfigurationRequest type GetGroupCertificateConfigurationInput struct { _ struct{} `type:"structure"` @@ -7945,12 +6373,6 @@ func (s *GetGroupCertificateConfigurationInput) Validate() error { return nil } -// SetGroupId sets the GroupId field's value. -func (s *GetGroupCertificateConfigurationInput) SetGroupId(v string) *GetGroupCertificateConfigurationInput { - s.GroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupCertificateConfigurationResponse type GetGroupCertificateConfigurationOutput struct { _ struct{} `type:"structure"` @@ -7979,24 +6401,6 @@ func (s GetGroupCertificateConfigurationOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetCertificateAuthorityExpiryInMilliseconds sets the CertificateAuthorityExpiryInMilliseconds field's value. -func (s *GetGroupCertificateConfigurationOutput) SetCertificateAuthorityExpiryInMilliseconds(v string) *GetGroupCertificateConfigurationOutput { - s.CertificateAuthorityExpiryInMilliseconds = &v - return s -} - -// SetCertificateExpiryInMilliseconds sets the CertificateExpiryInMilliseconds field's value. -func (s *GetGroupCertificateConfigurationOutput) SetCertificateExpiryInMilliseconds(v string) *GetGroupCertificateConfigurationOutput { - s.CertificateExpiryInMilliseconds = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *GetGroupCertificateConfigurationOutput) SetGroupId(v string) *GetGroupCertificateConfigurationOutput { - s.GroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupRequest type GetGroupInput struct { _ struct{} `type:"structure"` @@ -8029,12 +6433,6 @@ func (s *GetGroupInput) Validate() error { return nil } -// SetGroupId sets the GroupId field's value. -func (s *GetGroupInput) SetGroupId(v string) *GetGroupInput { - s.GroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupResponse type GetGroupOutput struct { _ struct{} `type:"structure"` @@ -8071,48 +6469,6 @@ func (s GetGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *GetGroupOutput) SetArn(v string) *GetGroupOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *GetGroupOutput) SetCreationTimestamp(v string) *GetGroupOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *GetGroupOutput) SetId(v string) *GetGroupOutput { - s.Id = &v - return s -} - -// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value. -func (s *GetGroupOutput) SetLastUpdatedTimestamp(v string) *GetGroupOutput { - s.LastUpdatedTimestamp = &v - return s -} - -// SetLatestVersion sets the LatestVersion field's value. -func (s *GetGroupOutput) SetLatestVersion(v string) *GetGroupOutput { - s.LatestVersion = &v - return s -} - -// SetLatestVersionArn sets the LatestVersionArn field's value. -func (s *GetGroupOutput) SetLatestVersionArn(v string) *GetGroupOutput { - s.LatestVersionArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetGroupOutput) SetName(v string) *GetGroupOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupVersionRequest type GetGroupVersionInput struct { _ struct{} `type:"structure"` @@ -8152,18 +6508,6 @@ func (s *GetGroupVersionInput) Validate() error { return nil } -// SetGroupId sets the GroupId field's value. -func (s *GetGroupVersionInput) SetGroupId(v string) *GetGroupVersionInput { - s.GroupId = &v - return s -} - -// SetGroupVersionId sets the GroupVersionId field's value. -func (s *GetGroupVersionInput) SetGroupVersionId(v string) *GetGroupVersionInput { - s.GroupVersionId = &v - return s -} - // Information on the group version // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupVersionResponse type GetGroupVersionOutput struct { @@ -8202,36 +6546,6 @@ func (s GetGroupVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *GetGroupVersionOutput) SetArn(v string) *GetGroupVersionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *GetGroupVersionOutput) SetCreationTimestamp(v string) *GetGroupVersionOutput { - s.CreationTimestamp = &v - return s -} - -// SetDefinition sets the Definition field's value. -func (s *GetGroupVersionOutput) SetDefinition(v *GroupVersion) *GetGroupVersionOutput { - s.Definition = v - return s -} - -// SetId sets the Id field's value. -func (s *GetGroupVersionOutput) SetId(v string) *GetGroupVersionOutput { - s.Id = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetGroupVersionOutput) SetVersion(v string) *GetGroupVersionOutput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetLoggerDefinitionRequest type GetLoggerDefinitionInput struct { _ struct{} `type:"structure"` @@ -8264,12 +6578,6 @@ func (s *GetLoggerDefinitionInput) Validate() error { return nil } -// SetLoggerDefinitionId sets the LoggerDefinitionId field's value. -func (s *GetLoggerDefinitionInput) SetLoggerDefinitionId(v string) *GetLoggerDefinitionInput { - s.LoggerDefinitionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetLoggerDefinitionResponse type GetLoggerDefinitionOutput struct { _ struct{} `type:"structure"` @@ -8306,48 +6614,6 @@ func (s GetLoggerDefinitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *GetLoggerDefinitionOutput) SetArn(v string) *GetLoggerDefinitionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *GetLoggerDefinitionOutput) SetCreationTimestamp(v string) *GetLoggerDefinitionOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *GetLoggerDefinitionOutput) SetId(v string) *GetLoggerDefinitionOutput { - s.Id = &v - return s -} - -// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value. -func (s *GetLoggerDefinitionOutput) SetLastUpdatedTimestamp(v string) *GetLoggerDefinitionOutput { - s.LastUpdatedTimestamp = &v - return s -} - -// SetLatestVersion sets the LatestVersion field's value. -func (s *GetLoggerDefinitionOutput) SetLatestVersion(v string) *GetLoggerDefinitionOutput { - s.LatestVersion = &v - return s -} - -// SetLatestVersionArn sets the LatestVersionArn field's value. -func (s *GetLoggerDefinitionOutput) SetLatestVersionArn(v string) *GetLoggerDefinitionOutput { - s.LatestVersionArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetLoggerDefinitionOutput) SetName(v string) *GetLoggerDefinitionOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetLoggerDefinitionVersionRequest type GetLoggerDefinitionVersionInput struct { _ struct{} `type:"structure"` @@ -8387,18 +6653,6 @@ func (s *GetLoggerDefinitionVersionInput) Validate() error { return nil } -// SetLoggerDefinitionId sets the LoggerDefinitionId field's value. -func (s *GetLoggerDefinitionVersionInput) SetLoggerDefinitionId(v string) *GetLoggerDefinitionVersionInput { - s.LoggerDefinitionId = &v - return s -} - -// SetLoggerDefinitionVersionId sets the LoggerDefinitionVersionId field's value. -func (s *GetLoggerDefinitionVersionInput) SetLoggerDefinitionVersionId(v string) *GetLoggerDefinitionVersionInput { - s.LoggerDefinitionVersionId = &v - return s -} - // Information on logger definition version response // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetLoggerDefinitionVersionResponse type GetLoggerDefinitionVersionOutput struct { @@ -8437,36 +6691,6 @@ func (s GetLoggerDefinitionVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *GetLoggerDefinitionVersionOutput) SetArn(v string) *GetLoggerDefinitionVersionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *GetLoggerDefinitionVersionOutput) SetCreationTimestamp(v string) *GetLoggerDefinitionVersionOutput { - s.CreationTimestamp = &v - return s -} - -// SetDefinition sets the Definition field's value. -func (s *GetLoggerDefinitionVersionOutput) SetDefinition(v *LoggerDefinitionVersion) *GetLoggerDefinitionVersionOutput { - s.Definition = v - return s -} - -// SetId sets the Id field's value. -func (s *GetLoggerDefinitionVersionOutput) SetId(v string) *GetLoggerDefinitionVersionOutput { - s.Id = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetLoggerDefinitionVersionOutput) SetVersion(v string) *GetLoggerDefinitionVersionOutput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetResourceDefinitionRequest type GetResourceDefinitionInput struct { _ struct{} `type:"structure"` @@ -8499,12 +6723,6 @@ func (s *GetResourceDefinitionInput) Validate() error { return nil } -// SetResourceDefinitionId sets the ResourceDefinitionId field's value. -func (s *GetResourceDefinitionInput) SetResourceDefinitionId(v string) *GetResourceDefinitionInput { - s.ResourceDefinitionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetResourceDefinitionResponse type GetResourceDefinitionOutput struct { _ struct{} `type:"structure"` @@ -8541,48 +6759,6 @@ func (s GetResourceDefinitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *GetResourceDefinitionOutput) SetArn(v string) *GetResourceDefinitionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *GetResourceDefinitionOutput) SetCreationTimestamp(v string) *GetResourceDefinitionOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *GetResourceDefinitionOutput) SetId(v string) *GetResourceDefinitionOutput { - s.Id = &v - return s -} - -// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value. -func (s *GetResourceDefinitionOutput) SetLastUpdatedTimestamp(v string) *GetResourceDefinitionOutput { - s.LastUpdatedTimestamp = &v - return s -} - -// SetLatestVersion sets the LatestVersion field's value. -func (s *GetResourceDefinitionOutput) SetLatestVersion(v string) *GetResourceDefinitionOutput { - s.LatestVersion = &v - return s -} - -// SetLatestVersionArn sets the LatestVersionArn field's value. -func (s *GetResourceDefinitionOutput) SetLatestVersionArn(v string) *GetResourceDefinitionOutput { - s.LatestVersionArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetResourceDefinitionOutput) SetName(v string) *GetResourceDefinitionOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetResourceDefinitionVersionRequest type GetResourceDefinitionVersionInput struct { _ struct{} `type:"structure"` @@ -8622,18 +6798,6 @@ func (s *GetResourceDefinitionVersionInput) Validate() error { return nil } -// SetResourceDefinitionId sets the ResourceDefinitionId field's value. -func (s *GetResourceDefinitionVersionInput) SetResourceDefinitionId(v string) *GetResourceDefinitionVersionInput { - s.ResourceDefinitionId = &v - return s -} - -// SetResourceDefinitionVersionId sets the ResourceDefinitionVersionId field's value. -func (s *GetResourceDefinitionVersionInput) SetResourceDefinitionVersionId(v string) *GetResourceDefinitionVersionInput { - s.ResourceDefinitionVersionId = &v - return s -} - // Information on resource definition version response // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetResourceDefinitionVersionResponse type GetResourceDefinitionVersionOutput struct { @@ -8672,36 +6836,6 @@ func (s GetResourceDefinitionVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *GetResourceDefinitionVersionOutput) SetArn(v string) *GetResourceDefinitionVersionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *GetResourceDefinitionVersionOutput) SetCreationTimestamp(v string) *GetResourceDefinitionVersionOutput { - s.CreationTimestamp = &v - return s -} - -// SetDefinition sets the Definition field's value. -func (s *GetResourceDefinitionVersionOutput) SetDefinition(v *ResourceDefinitionVersion) *GetResourceDefinitionVersionOutput { - s.Definition = v - return s -} - -// SetId sets the Id field's value. -func (s *GetResourceDefinitionVersionOutput) SetId(v string) *GetResourceDefinitionVersionOutput { - s.Id = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetResourceDefinitionVersionOutput) SetVersion(v string) *GetResourceDefinitionVersionOutput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetServiceRoleForAccountRequest type GetServiceRoleForAccountInput struct { _ struct{} `type:"structure"` @@ -8745,18 +6879,6 @@ func (s GetServiceRoleForAccountOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssociatedAt sets the AssociatedAt field's value. -func (s *GetServiceRoleForAccountOutput) SetAssociatedAt(v string) *GetServiceRoleForAccountOutput { - s.AssociatedAt = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *GetServiceRoleForAccountOutput) SetRoleArn(v string) *GetServiceRoleForAccountOutput { - s.RoleArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetSubscriptionDefinitionRequest type GetSubscriptionDefinitionInput struct { _ struct{} `type:"structure"` @@ -8789,12 +6911,6 @@ func (s *GetSubscriptionDefinitionInput) Validate() error { return nil } -// SetSubscriptionDefinitionId sets the SubscriptionDefinitionId field's value. -func (s *GetSubscriptionDefinitionInput) SetSubscriptionDefinitionId(v string) *GetSubscriptionDefinitionInput { - s.SubscriptionDefinitionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetSubscriptionDefinitionResponse type GetSubscriptionDefinitionOutput struct { _ struct{} `type:"structure"` @@ -8831,48 +6947,6 @@ func (s GetSubscriptionDefinitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *GetSubscriptionDefinitionOutput) SetArn(v string) *GetSubscriptionDefinitionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *GetSubscriptionDefinitionOutput) SetCreationTimestamp(v string) *GetSubscriptionDefinitionOutput { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *GetSubscriptionDefinitionOutput) SetId(v string) *GetSubscriptionDefinitionOutput { - s.Id = &v - return s -} - -// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value. -func (s *GetSubscriptionDefinitionOutput) SetLastUpdatedTimestamp(v string) *GetSubscriptionDefinitionOutput { - s.LastUpdatedTimestamp = &v - return s -} - -// SetLatestVersion sets the LatestVersion field's value. -func (s *GetSubscriptionDefinitionOutput) SetLatestVersion(v string) *GetSubscriptionDefinitionOutput { - s.LatestVersion = &v - return s -} - -// SetLatestVersionArn sets the LatestVersionArn field's value. -func (s *GetSubscriptionDefinitionOutput) SetLatestVersionArn(v string) *GetSubscriptionDefinitionOutput { - s.LatestVersionArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetSubscriptionDefinitionOutput) SetName(v string) *GetSubscriptionDefinitionOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetSubscriptionDefinitionVersionRequest type GetSubscriptionDefinitionVersionInput struct { _ struct{} `type:"structure"` @@ -8912,18 +6986,6 @@ func (s *GetSubscriptionDefinitionVersionInput) Validate() error { return nil } -// SetSubscriptionDefinitionId sets the SubscriptionDefinitionId field's value. -func (s *GetSubscriptionDefinitionVersionInput) SetSubscriptionDefinitionId(v string) *GetSubscriptionDefinitionVersionInput { - s.SubscriptionDefinitionId = &v - return s -} - -// SetSubscriptionDefinitionVersionId sets the SubscriptionDefinitionVersionId field's value. -func (s *GetSubscriptionDefinitionVersionInput) SetSubscriptionDefinitionVersionId(v string) *GetSubscriptionDefinitionVersionInput { - s.SubscriptionDefinitionVersionId = &v - return s -} - // Information on the Subscription Definition Version // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetSubscriptionDefinitionVersionResponse type GetSubscriptionDefinitionVersionOutput struct { @@ -8962,36 +7024,6 @@ func (s GetSubscriptionDefinitionVersionOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *GetSubscriptionDefinitionVersionOutput) SetArn(v string) *GetSubscriptionDefinitionVersionOutput { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *GetSubscriptionDefinitionVersionOutput) SetCreationTimestamp(v string) *GetSubscriptionDefinitionVersionOutput { - s.CreationTimestamp = &v - return s -} - -// SetDefinition sets the Definition field's value. -func (s *GetSubscriptionDefinitionVersionOutput) SetDefinition(v *SubscriptionDefinitionVersion) *GetSubscriptionDefinitionVersionOutput { - s.Definition = v - return s -} - -// SetId sets the Id field's value. -func (s *GetSubscriptionDefinitionVersionOutput) SetId(v string) *GetSubscriptionDefinitionVersionOutput { - s.Id = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetSubscriptionDefinitionVersionOutput) SetVersion(v string) *GetSubscriptionDefinitionVersionOutput { - s.Version = &v - return s -} - // Information on group certificate authority properties // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GroupCertificateAuthorityProperties type GroupCertificateAuthorityProperties struct { @@ -9014,18 +7046,6 @@ func (s GroupCertificateAuthorityProperties) GoString() string { return s.String() } -// SetGroupCertificateAuthorityArn sets the GroupCertificateAuthorityArn field's value. -func (s *GroupCertificateAuthorityProperties) SetGroupCertificateAuthorityArn(v string) *GroupCertificateAuthorityProperties { - s.GroupCertificateAuthorityArn = &v - return s -} - -// SetGroupCertificateAuthorityId sets the GroupCertificateAuthorityId field's value. -func (s *GroupCertificateAuthorityProperties) SetGroupCertificateAuthorityId(v string) *GroupCertificateAuthorityProperties { - s.GroupCertificateAuthorityId = &v - return s -} - // Information on the group // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GroupInformation type GroupInformation struct { @@ -9063,48 +7083,6 @@ func (s GroupInformation) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *GroupInformation) SetArn(v string) *GroupInformation { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *GroupInformation) SetCreationTimestamp(v string) *GroupInformation { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *GroupInformation) SetId(v string) *GroupInformation { - s.Id = &v - return s -} - -// SetLastUpdatedTimestamp sets the LastUpdatedTimestamp field's value. -func (s *GroupInformation) SetLastUpdatedTimestamp(v string) *GroupInformation { - s.LastUpdatedTimestamp = &v - return s -} - -// SetLatestVersion sets the LatestVersion field's value. -func (s *GroupInformation) SetLatestVersion(v string) *GroupInformation { - s.LatestVersion = &v - return s -} - -// SetLatestVersionArn sets the LatestVersionArn field's value. -func (s *GroupInformation) SetLatestVersionArn(v string) *GroupInformation { - s.LatestVersionArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *GroupInformation) SetName(v string) *GroupInformation { - s.Name = &v - return s -} - // Group owner related settings for local resources. // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GroupOwnerSetting type GroupOwnerSetting struct { @@ -9127,18 +7105,6 @@ func (s GroupOwnerSetting) GoString() string { return s.String() } -// SetAutoAddGroupOwner sets the AutoAddGroupOwner field's value. -func (s *GroupOwnerSetting) SetAutoAddGroupOwner(v bool) *GroupOwnerSetting { - s.AutoAddGroupOwner = &v - return s -} - -// SetGroupOwner sets the GroupOwner field's value. -func (s *GroupOwnerSetting) SetGroupOwner(v string) *GroupOwnerSetting { - s.GroupOwner = &v - return s -} - // Information on group version // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GroupVersion type GroupVersion struct { @@ -9165,48 +7131,12 @@ type GroupVersion struct { // String returns the string representation func (s GroupVersion) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s GroupVersion) GoString() string { - return s.String() -} - -// SetCoreDefinitionVersionArn sets the CoreDefinitionVersionArn field's value. -func (s *GroupVersion) SetCoreDefinitionVersionArn(v string) *GroupVersion { - s.CoreDefinitionVersionArn = &v - return s -} - -// SetDeviceDefinitionVersionArn sets the DeviceDefinitionVersionArn field's value. -func (s *GroupVersion) SetDeviceDefinitionVersionArn(v string) *GroupVersion { - s.DeviceDefinitionVersionArn = &v - return s -} - -// SetFunctionDefinitionVersionArn sets the FunctionDefinitionVersionArn field's value. -func (s *GroupVersion) SetFunctionDefinitionVersionArn(v string) *GroupVersion { - s.FunctionDefinitionVersionArn = &v - return s -} - -// SetLoggerDefinitionVersionArn sets the LoggerDefinitionVersionArn field's value. -func (s *GroupVersion) SetLoggerDefinitionVersionArn(v string) *GroupVersion { - s.LoggerDefinitionVersionArn = &v - return s -} - -// SetResourceDefinitionVersionArn sets the ResourceDefinitionVersionArn field's value. -func (s *GroupVersion) SetResourceDefinitionVersionArn(v string) *GroupVersion { - s.ResourceDefinitionVersionArn = &v - return s + return awsutil.Prettify(s) } -// SetSubscriptionDefinitionVersionArn sets the SubscriptionDefinitionVersionArn field's value. -func (s *GroupVersion) SetSubscriptionDefinitionVersionArn(v string) *GroupVersion { - s.SubscriptionDefinitionVersionArn = &v - return s +// GoString returns the string representation +func (s GroupVersion) GoString() string { + return s.String() } // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListCoreDefinitionVersionsRequest @@ -9245,24 +7175,6 @@ func (s *ListCoreDefinitionVersionsInput) Validate() error { return nil } -// SetCoreDefinitionId sets the CoreDefinitionId field's value. -func (s *ListCoreDefinitionVersionsInput) SetCoreDefinitionId(v string) *ListCoreDefinitionVersionsInput { - s.CoreDefinitionId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListCoreDefinitionVersionsInput) SetMaxResults(v string) *ListCoreDefinitionVersionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListCoreDefinitionVersionsInput) SetNextToken(v string) *ListCoreDefinitionVersionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListCoreDefinitionVersionsResponse type ListCoreDefinitionVersionsOutput struct { _ struct{} `type:"structure"` @@ -9289,18 +7201,6 @@ func (s ListCoreDefinitionVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListCoreDefinitionVersionsOutput) SetNextToken(v string) *ListCoreDefinitionVersionsOutput { - s.NextToken = &v - return s -} - -// SetVersions sets the Versions field's value. -func (s *ListCoreDefinitionVersionsOutput) SetVersions(v []VersionInformation) *ListCoreDefinitionVersionsOutput { - s.Versions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListCoreDefinitionsRequest type ListCoreDefinitionsInput struct { _ struct{} `type:"structure"` @@ -9320,18 +7220,6 @@ func (s ListCoreDefinitionsInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *ListCoreDefinitionsInput) SetMaxResults(v string) *ListCoreDefinitionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListCoreDefinitionsInput) SetNextToken(v string) *ListCoreDefinitionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListCoreDefinitionsResponse type ListCoreDefinitionsOutput struct { _ struct{} `type:"structure"` @@ -9358,18 +7246,6 @@ func (s ListCoreDefinitionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDefinitions sets the Definitions field's value. -func (s *ListCoreDefinitionsOutput) SetDefinitions(v []DefinitionInformation) *ListCoreDefinitionsOutput { - s.Definitions = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListCoreDefinitionsOutput) SetNextToken(v string) *ListCoreDefinitionsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListDeploymentsRequest type ListDeploymentsInput struct { _ struct{} `type:"structure"` @@ -9406,24 +7282,6 @@ func (s *ListDeploymentsInput) Validate() error { return nil } -// SetGroupId sets the GroupId field's value. -func (s *ListDeploymentsInput) SetGroupId(v string) *ListDeploymentsInput { - s.GroupId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListDeploymentsInput) SetMaxResults(v string) *ListDeploymentsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDeploymentsInput) SetNextToken(v string) *ListDeploymentsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListDeploymentsResponse type ListDeploymentsOutput struct { _ struct{} `type:"structure"` @@ -9453,18 +7311,6 @@ func (s ListDeploymentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeployments sets the Deployments field's value. -func (s *ListDeploymentsOutput) SetDeployments(v []Deployment) *ListDeploymentsOutput { - s.Deployments = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDeploymentsOutput) SetNextToken(v string) *ListDeploymentsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListDeviceDefinitionVersionsRequest type ListDeviceDefinitionVersionsInput struct { _ struct{} `type:"structure"` @@ -9501,24 +7347,6 @@ func (s *ListDeviceDefinitionVersionsInput) Validate() error { return nil } -// SetDeviceDefinitionId sets the DeviceDefinitionId field's value. -func (s *ListDeviceDefinitionVersionsInput) SetDeviceDefinitionId(v string) *ListDeviceDefinitionVersionsInput { - s.DeviceDefinitionId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListDeviceDefinitionVersionsInput) SetMaxResults(v string) *ListDeviceDefinitionVersionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDeviceDefinitionVersionsInput) SetNextToken(v string) *ListDeviceDefinitionVersionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListDeviceDefinitionVersionsResponse type ListDeviceDefinitionVersionsOutput struct { _ struct{} `type:"structure"` @@ -9545,18 +7373,6 @@ func (s ListDeviceDefinitionVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListDeviceDefinitionVersionsOutput) SetNextToken(v string) *ListDeviceDefinitionVersionsOutput { - s.NextToken = &v - return s -} - -// SetVersions sets the Versions field's value. -func (s *ListDeviceDefinitionVersionsOutput) SetVersions(v []VersionInformation) *ListDeviceDefinitionVersionsOutput { - s.Versions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListDeviceDefinitionsRequest type ListDeviceDefinitionsInput struct { _ struct{} `type:"structure"` @@ -9576,18 +7392,6 @@ func (s ListDeviceDefinitionsInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *ListDeviceDefinitionsInput) SetMaxResults(v string) *ListDeviceDefinitionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDeviceDefinitionsInput) SetNextToken(v string) *ListDeviceDefinitionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListDeviceDefinitionsResponse type ListDeviceDefinitionsOutput struct { _ struct{} `type:"structure"` @@ -9614,18 +7418,6 @@ func (s ListDeviceDefinitionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDefinitions sets the Definitions field's value. -func (s *ListDeviceDefinitionsOutput) SetDefinitions(v []DefinitionInformation) *ListDeviceDefinitionsOutput { - s.Definitions = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDeviceDefinitionsOutput) SetNextToken(v string) *ListDeviceDefinitionsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListFunctionDefinitionVersionsRequest type ListFunctionDefinitionVersionsInput struct { _ struct{} `type:"structure"` @@ -9662,24 +7454,6 @@ func (s *ListFunctionDefinitionVersionsInput) Validate() error { return nil } -// SetFunctionDefinitionId sets the FunctionDefinitionId field's value. -func (s *ListFunctionDefinitionVersionsInput) SetFunctionDefinitionId(v string) *ListFunctionDefinitionVersionsInput { - s.FunctionDefinitionId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListFunctionDefinitionVersionsInput) SetMaxResults(v string) *ListFunctionDefinitionVersionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFunctionDefinitionVersionsInput) SetNextToken(v string) *ListFunctionDefinitionVersionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListFunctionDefinitionVersionsResponse type ListFunctionDefinitionVersionsOutput struct { _ struct{} `type:"structure"` @@ -9706,18 +7480,6 @@ func (s ListFunctionDefinitionVersionsOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListFunctionDefinitionVersionsOutput) SetNextToken(v string) *ListFunctionDefinitionVersionsOutput { - s.NextToken = &v - return s -} - -// SetVersions sets the Versions field's value. -func (s *ListFunctionDefinitionVersionsOutput) SetVersions(v []VersionInformation) *ListFunctionDefinitionVersionsOutput { - s.Versions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListFunctionDefinitionsRequest type ListFunctionDefinitionsInput struct { _ struct{} `type:"structure"` @@ -9737,18 +7499,6 @@ func (s ListFunctionDefinitionsInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *ListFunctionDefinitionsInput) SetMaxResults(v string) *ListFunctionDefinitionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFunctionDefinitionsInput) SetNextToken(v string) *ListFunctionDefinitionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListFunctionDefinitionsResponse type ListFunctionDefinitionsOutput struct { _ struct{} `type:"structure"` @@ -9775,18 +7525,6 @@ func (s ListFunctionDefinitionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDefinitions sets the Definitions field's value. -func (s *ListFunctionDefinitionsOutput) SetDefinitions(v []DefinitionInformation) *ListFunctionDefinitionsOutput { - s.Definitions = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFunctionDefinitionsOutput) SetNextToken(v string) *ListFunctionDefinitionsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListGroupCertificateAuthoritiesRequest type ListGroupCertificateAuthoritiesInput struct { _ struct{} `type:"structure"` @@ -9819,12 +7557,6 @@ func (s *ListGroupCertificateAuthoritiesInput) Validate() error { return nil } -// SetGroupId sets the GroupId field's value. -func (s *ListGroupCertificateAuthoritiesInput) SetGroupId(v string) *ListGroupCertificateAuthoritiesInput { - s.GroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListGroupCertificateAuthoritiesResponse type ListGroupCertificateAuthoritiesOutput struct { _ struct{} `type:"structure"` @@ -9850,12 +7582,6 @@ func (s ListGroupCertificateAuthoritiesOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetGroupCertificateAuthorities sets the GroupCertificateAuthorities field's value. -func (s *ListGroupCertificateAuthoritiesOutput) SetGroupCertificateAuthorities(v []GroupCertificateAuthorityProperties) *ListGroupCertificateAuthoritiesOutput { - s.GroupCertificateAuthorities = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListGroupVersionsRequest type ListGroupVersionsInput struct { _ struct{} `type:"structure"` @@ -9892,24 +7618,6 @@ func (s *ListGroupVersionsInput) Validate() error { return nil } -// SetGroupId sets the GroupId field's value. -func (s *ListGroupVersionsInput) SetGroupId(v string) *ListGroupVersionsInput { - s.GroupId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListGroupVersionsInput) SetMaxResults(v string) *ListGroupVersionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListGroupVersionsInput) SetNextToken(v string) *ListGroupVersionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListGroupVersionsResponse type ListGroupVersionsOutput struct { _ struct{} `type:"structure"` @@ -9936,18 +7644,6 @@ func (s ListGroupVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListGroupVersionsOutput) SetNextToken(v string) *ListGroupVersionsOutput { - s.NextToken = &v - return s -} - -// SetVersions sets the Versions field's value. -func (s *ListGroupVersionsOutput) SetVersions(v []VersionInformation) *ListGroupVersionsOutput { - s.Versions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListGroupsRequest type ListGroupsInput struct { _ struct{} `type:"structure"` @@ -9967,18 +7663,6 @@ func (s ListGroupsInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *ListGroupsInput) SetMaxResults(v string) *ListGroupsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListGroupsInput) SetNextToken(v string) *ListGroupsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListGroupsResponse type ListGroupsOutput struct { _ struct{} `type:"structure"` @@ -10008,18 +7692,6 @@ func (s ListGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroups sets the Groups field's value. -func (s *ListGroupsOutput) SetGroups(v []GroupInformation) *ListGroupsOutput { - s.Groups = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListGroupsOutput) SetNextToken(v string) *ListGroupsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListLoggerDefinitionVersionsRequest type ListLoggerDefinitionVersionsInput struct { _ struct{} `type:"structure"` @@ -10056,24 +7728,6 @@ func (s *ListLoggerDefinitionVersionsInput) Validate() error { return nil } -// SetLoggerDefinitionId sets the LoggerDefinitionId field's value. -func (s *ListLoggerDefinitionVersionsInput) SetLoggerDefinitionId(v string) *ListLoggerDefinitionVersionsInput { - s.LoggerDefinitionId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListLoggerDefinitionVersionsInput) SetMaxResults(v string) *ListLoggerDefinitionVersionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListLoggerDefinitionVersionsInput) SetNextToken(v string) *ListLoggerDefinitionVersionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListLoggerDefinitionVersionsResponse type ListLoggerDefinitionVersionsOutput struct { _ struct{} `type:"structure"` @@ -10100,18 +7754,6 @@ func (s ListLoggerDefinitionVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListLoggerDefinitionVersionsOutput) SetNextToken(v string) *ListLoggerDefinitionVersionsOutput { - s.NextToken = &v - return s -} - -// SetVersions sets the Versions field's value. -func (s *ListLoggerDefinitionVersionsOutput) SetVersions(v []VersionInformation) *ListLoggerDefinitionVersionsOutput { - s.Versions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListLoggerDefinitionsRequest type ListLoggerDefinitionsInput struct { _ struct{} `type:"structure"` @@ -10131,18 +7773,6 @@ func (s ListLoggerDefinitionsInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *ListLoggerDefinitionsInput) SetMaxResults(v string) *ListLoggerDefinitionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListLoggerDefinitionsInput) SetNextToken(v string) *ListLoggerDefinitionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListLoggerDefinitionsResponse type ListLoggerDefinitionsOutput struct { _ struct{} `type:"structure"` @@ -10169,18 +7799,6 @@ func (s ListLoggerDefinitionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDefinitions sets the Definitions field's value. -func (s *ListLoggerDefinitionsOutput) SetDefinitions(v []DefinitionInformation) *ListLoggerDefinitionsOutput { - s.Definitions = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListLoggerDefinitionsOutput) SetNextToken(v string) *ListLoggerDefinitionsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListResourceDefinitionVersionsRequest type ListResourceDefinitionVersionsInput struct { _ struct{} `type:"structure"` @@ -10217,24 +7835,6 @@ func (s *ListResourceDefinitionVersionsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListResourceDefinitionVersionsInput) SetMaxResults(v string) *ListResourceDefinitionVersionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListResourceDefinitionVersionsInput) SetNextToken(v string) *ListResourceDefinitionVersionsInput { - s.NextToken = &v - return s -} - -// SetResourceDefinitionId sets the ResourceDefinitionId field's value. -func (s *ListResourceDefinitionVersionsInput) SetResourceDefinitionId(v string) *ListResourceDefinitionVersionsInput { - s.ResourceDefinitionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListResourceDefinitionVersionsResponse type ListResourceDefinitionVersionsOutput struct { _ struct{} `type:"structure"` @@ -10261,18 +7861,6 @@ func (s ListResourceDefinitionVersionsOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListResourceDefinitionVersionsOutput) SetNextToken(v string) *ListResourceDefinitionVersionsOutput { - s.NextToken = &v - return s -} - -// SetVersions sets the Versions field's value. -func (s *ListResourceDefinitionVersionsOutput) SetVersions(v []VersionInformation) *ListResourceDefinitionVersionsOutput { - s.Versions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListResourceDefinitionsRequest type ListResourceDefinitionsInput struct { _ struct{} `type:"structure"` @@ -10292,18 +7880,6 @@ func (s ListResourceDefinitionsInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *ListResourceDefinitionsInput) SetMaxResults(v string) *ListResourceDefinitionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListResourceDefinitionsInput) SetNextToken(v string) *ListResourceDefinitionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListResourceDefinitionsResponse type ListResourceDefinitionsOutput struct { _ struct{} `type:"structure"` @@ -10330,18 +7906,6 @@ func (s ListResourceDefinitionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDefinitions sets the Definitions field's value. -func (s *ListResourceDefinitionsOutput) SetDefinitions(v []DefinitionInformation) *ListResourceDefinitionsOutput { - s.Definitions = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListResourceDefinitionsOutput) SetNextToken(v string) *ListResourceDefinitionsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListSubscriptionDefinitionVersionsRequest type ListSubscriptionDefinitionVersionsInput struct { _ struct{} `type:"structure"` @@ -10378,24 +7942,6 @@ func (s *ListSubscriptionDefinitionVersionsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListSubscriptionDefinitionVersionsInput) SetMaxResults(v string) *ListSubscriptionDefinitionVersionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListSubscriptionDefinitionVersionsInput) SetNextToken(v string) *ListSubscriptionDefinitionVersionsInput { - s.NextToken = &v - return s -} - -// SetSubscriptionDefinitionId sets the SubscriptionDefinitionId field's value. -func (s *ListSubscriptionDefinitionVersionsInput) SetSubscriptionDefinitionId(v string) *ListSubscriptionDefinitionVersionsInput { - s.SubscriptionDefinitionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListSubscriptionDefinitionVersionsResponse type ListSubscriptionDefinitionVersionsOutput struct { _ struct{} `type:"structure"` @@ -10422,18 +7968,6 @@ func (s ListSubscriptionDefinitionVersionsOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListSubscriptionDefinitionVersionsOutput) SetNextToken(v string) *ListSubscriptionDefinitionVersionsOutput { - s.NextToken = &v - return s -} - -// SetVersions sets the Versions field's value. -func (s *ListSubscriptionDefinitionVersionsOutput) SetVersions(v []VersionInformation) *ListSubscriptionDefinitionVersionsOutput { - s.Versions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListSubscriptionDefinitionsRequest type ListSubscriptionDefinitionsInput struct { _ struct{} `type:"structure"` @@ -10453,18 +7987,6 @@ func (s ListSubscriptionDefinitionsInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *ListSubscriptionDefinitionsInput) SetMaxResults(v string) *ListSubscriptionDefinitionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListSubscriptionDefinitionsInput) SetNextToken(v string) *ListSubscriptionDefinitionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListSubscriptionDefinitionsResponse type ListSubscriptionDefinitionsOutput struct { _ struct{} `type:"structure"` @@ -10491,18 +8013,6 @@ func (s ListSubscriptionDefinitionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDefinitions sets the Definitions field's value. -func (s *ListSubscriptionDefinitionsOutput) SetDefinitions(v []DefinitionInformation) *ListSubscriptionDefinitionsOutput { - s.Definitions = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListSubscriptionDefinitionsOutput) SetNextToken(v string) *ListSubscriptionDefinitionsOutput { - s.NextToken = &v - return s -} - // Attributes that define the Local Device Resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/LocalDeviceResourceData type LocalDeviceResourceData struct { @@ -10525,18 +8035,6 @@ func (s LocalDeviceResourceData) GoString() string { return s.String() } -// SetGroupOwnerSetting sets the GroupOwnerSetting field's value. -func (s *LocalDeviceResourceData) SetGroupOwnerSetting(v *GroupOwnerSetting) *LocalDeviceResourceData { - s.GroupOwnerSetting = v - return s -} - -// SetSourcePath sets the SourcePath field's value. -func (s *LocalDeviceResourceData) SetSourcePath(v string) *LocalDeviceResourceData { - s.SourcePath = &v - return s -} - // Attributes that define the Local Volume Resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/LocalVolumeResourceData type LocalVolumeResourceData struct { @@ -10562,24 +8060,6 @@ func (s LocalVolumeResourceData) GoString() string { return s.String() } -// SetDestinationPath sets the DestinationPath field's value. -func (s *LocalVolumeResourceData) SetDestinationPath(v string) *LocalVolumeResourceData { - s.DestinationPath = &v - return s -} - -// SetGroupOwnerSetting sets the GroupOwnerSetting field's value. -func (s *LocalVolumeResourceData) SetGroupOwnerSetting(v *GroupOwnerSetting) *LocalVolumeResourceData { - s.GroupOwnerSetting = v - return s -} - -// SetSourcePath sets the SourcePath field's value. -func (s *LocalVolumeResourceData) SetSourcePath(v string) *LocalVolumeResourceData { - s.SourcePath = &v - return s -} - // Information on the Logger // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/Logger type Logger struct { @@ -10612,36 +8092,6 @@ func (s Logger) GoString() string { return s.String() } -// SetComponent sets the Component field's value. -func (s *Logger) SetComponent(v LoggerComponent) *Logger { - s.Component = v - return s -} - -// SetId sets the Id field's value. -func (s *Logger) SetId(v string) *Logger { - s.Id = &v - return s -} - -// SetLevel sets the Level field's value. -func (s *Logger) SetLevel(v LoggerLevel) *Logger { - s.Level = v - return s -} - -// SetSpace sets the Space field's value. -func (s *Logger) SetSpace(v int64) *Logger { - s.Space = &v - return s -} - -// SetType sets the Type field's value. -func (s *Logger) SetType(v LoggerType) *Logger { - s.Type = v - return s -} - // Information on logger definition version // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/LoggerDefinitionVersion type LoggerDefinitionVersion struct { @@ -10661,12 +8111,6 @@ func (s LoggerDefinitionVersion) GoString() string { return s.String() } -// SetLoggers sets the Loggers field's value. -func (s *LoggerDefinitionVersion) SetLoggers(v []Logger) *LoggerDefinitionVersion { - s.Loggers = v - return s -} - // Information needed to perform a reset of a group's deployments. // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ResetDeploymentsRequest type ResetDeploymentsInput struct { @@ -10705,24 +8149,6 @@ func (s *ResetDeploymentsInput) Validate() error { return nil } -// SetAmznClientToken sets the AmznClientToken field's value. -func (s *ResetDeploymentsInput) SetAmznClientToken(v string) *ResetDeploymentsInput { - s.AmznClientToken = &v - return s -} - -// SetForce sets the Force field's value. -func (s *ResetDeploymentsInput) SetForce(v bool) *ResetDeploymentsInput { - s.Force = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *ResetDeploymentsInput) SetGroupId(v string) *ResetDeploymentsInput { - s.GroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ResetDeploymentsResponse type ResetDeploymentsOutput struct { _ struct{} `type:"structure"` @@ -10751,18 +8177,6 @@ func (s ResetDeploymentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeploymentArn sets the DeploymentArn field's value. -func (s *ResetDeploymentsOutput) SetDeploymentArn(v string) *ResetDeploymentsOutput { - s.DeploymentArn = &v - return s -} - -// SetDeploymentId sets the DeploymentId field's value. -func (s *ResetDeploymentsOutput) SetDeploymentId(v string) *ResetDeploymentsOutput { - s.DeploymentId = &v - return s -} - // Information on the resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/Resource type Resource struct { @@ -10788,24 +8202,6 @@ func (s Resource) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *Resource) SetId(v string) *Resource { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *Resource) SetName(v string) *Resource { - s.Name = &v - return s -} - -// SetResourceDataContainer sets the ResourceDataContainer field's value. -func (s *Resource) SetResourceDataContainer(v *ResourceDataContainer) *Resource { - s.ResourceDataContainer = v - return s -} - // Policy for the function to access a resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ResourceAccessPolicy type ResourceAccessPolicy struct { @@ -10828,18 +8224,6 @@ func (s ResourceAccessPolicy) GoString() string { return s.String() } -// SetPermission sets the Permission field's value. -func (s *ResourceAccessPolicy) SetPermission(v Permission) *ResourceAccessPolicy { - s.Permission = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *ResourceAccessPolicy) SetResourceId(v string) *ResourceAccessPolicy { - s.ResourceId = &v - return s -} - // A container of data for all resource types. // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ResourceDataContainer type ResourceDataContainer struct { @@ -10862,18 +8246,6 @@ func (s ResourceDataContainer) GoString() string { return s.String() } -// SetLocalDeviceResourceData sets the LocalDeviceResourceData field's value. -func (s *ResourceDataContainer) SetLocalDeviceResourceData(v *LocalDeviceResourceData) *ResourceDataContainer { - s.LocalDeviceResourceData = v - return s -} - -// SetLocalVolumeResourceData sets the LocalVolumeResourceData field's value. -func (s *ResourceDataContainer) SetLocalVolumeResourceData(v *LocalVolumeResourceData) *ResourceDataContainer { - s.LocalVolumeResourceData = v - return s -} - // Information on resource definition version // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ResourceDefinitionVersion type ResourceDefinitionVersion struct { @@ -10893,12 +8265,6 @@ func (s ResourceDefinitionVersion) GoString() string { return s.String() } -// SetResources sets the Resources field's value. -func (s *ResourceDefinitionVersion) SetResources(v []Resource) *ResourceDefinitionVersion { - s.Resources = v - return s -} - // Information on subscription // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/Subscription type Subscription struct { @@ -10927,30 +8293,6 @@ func (s Subscription) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *Subscription) SetId(v string) *Subscription { - s.Id = &v - return s -} - -// SetSource sets the Source field's value. -func (s *Subscription) SetSource(v string) *Subscription { - s.Source = &v - return s -} - -// SetSubject sets the Subject field's value. -func (s *Subscription) SetSubject(v string) *Subscription { - s.Subject = &v - return s -} - -// SetTarget sets the Target field's value. -func (s *Subscription) SetTarget(v string) *Subscription { - s.Target = &v - return s -} - // Information on subscription definition version // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/SubscriptionDefinitionVersion type SubscriptionDefinitionVersion struct { @@ -10970,12 +8312,6 @@ func (s SubscriptionDefinitionVersion) GoString() string { return s.String() } -// SetSubscriptions sets the Subscriptions field's value. -func (s *SubscriptionDefinitionVersion) SetSubscriptions(v []Subscription) *SubscriptionDefinitionVersion { - s.Subscriptions = v - return s -} - // Information on connectivity info // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateConnectivityInfoRequest type UpdateConnectivityInfoInput struct { @@ -11012,18 +8348,6 @@ func (s *UpdateConnectivityInfoInput) Validate() error { return nil } -// SetConnectivityInfo sets the ConnectivityInfo field's value. -func (s *UpdateConnectivityInfoInput) SetConnectivityInfo(v []ConnectivityInfo) *UpdateConnectivityInfoInput { - s.ConnectivityInfo = v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *UpdateConnectivityInfoInput) SetThingName(v string) *UpdateConnectivityInfoInput { - s.ThingName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateConnectivityInfoResponse type UpdateConnectivityInfoOutput struct { _ struct{} `type:"structure"` @@ -11052,18 +8376,6 @@ func (s UpdateConnectivityInfoOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMessage sets the Message field's value. -func (s *UpdateConnectivityInfoOutput) SetMessage(v string) *UpdateConnectivityInfoOutput { - s.Message = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *UpdateConnectivityInfoOutput) SetVersion(v string) *UpdateConnectivityInfoOutput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateCoreDefinitionRequest type UpdateCoreDefinitionInput struct { _ struct{} `type:"structure"` @@ -11098,18 +8410,6 @@ func (s *UpdateCoreDefinitionInput) Validate() error { return nil } -// SetCoreDefinitionId sets the CoreDefinitionId field's value. -func (s *UpdateCoreDefinitionInput) SetCoreDefinitionId(v string) *UpdateCoreDefinitionInput { - s.CoreDefinitionId = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateCoreDefinitionInput) SetName(v string) *UpdateCoreDefinitionInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateCoreDefinitionResponse type UpdateCoreDefinitionOutput struct { _ struct{} `type:"structure"` @@ -11166,18 +8466,6 @@ func (s *UpdateDeviceDefinitionInput) Validate() error { return nil } -// SetDeviceDefinitionId sets the DeviceDefinitionId field's value. -func (s *UpdateDeviceDefinitionInput) SetDeviceDefinitionId(v string) *UpdateDeviceDefinitionInput { - s.DeviceDefinitionId = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateDeviceDefinitionInput) SetName(v string) *UpdateDeviceDefinitionInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateDeviceDefinitionResponse type UpdateDeviceDefinitionOutput struct { _ struct{} `type:"structure"` @@ -11234,18 +8522,6 @@ func (s *UpdateFunctionDefinitionInput) Validate() error { return nil } -// SetFunctionDefinitionId sets the FunctionDefinitionId field's value. -func (s *UpdateFunctionDefinitionInput) SetFunctionDefinitionId(v string) *UpdateFunctionDefinitionInput { - s.FunctionDefinitionId = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateFunctionDefinitionInput) SetName(v string) *UpdateFunctionDefinitionInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateFunctionDefinitionResponse type UpdateFunctionDefinitionOutput struct { _ struct{} `type:"structure"` @@ -11303,18 +8579,6 @@ func (s *UpdateGroupCertificateConfigurationInput) Validate() error { return nil } -// SetCertificateExpiryInMilliseconds sets the CertificateExpiryInMilliseconds field's value. -func (s *UpdateGroupCertificateConfigurationInput) SetCertificateExpiryInMilliseconds(v string) *UpdateGroupCertificateConfigurationInput { - s.CertificateExpiryInMilliseconds = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *UpdateGroupCertificateConfigurationInput) SetGroupId(v string) *UpdateGroupCertificateConfigurationInput { - s.GroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateGroupCertificateConfigurationResponse type UpdateGroupCertificateConfigurationOutput struct { _ struct{} `type:"structure"` @@ -11343,24 +8607,6 @@ func (s UpdateGroupCertificateConfigurationOutput) SDKResponseMetadata() aws.Res return s.responseMetadata } -// SetCertificateAuthorityExpiryInMilliseconds sets the CertificateAuthorityExpiryInMilliseconds field's value. -func (s *UpdateGroupCertificateConfigurationOutput) SetCertificateAuthorityExpiryInMilliseconds(v string) *UpdateGroupCertificateConfigurationOutput { - s.CertificateAuthorityExpiryInMilliseconds = &v - return s -} - -// SetCertificateExpiryInMilliseconds sets the CertificateExpiryInMilliseconds field's value. -func (s *UpdateGroupCertificateConfigurationOutput) SetCertificateExpiryInMilliseconds(v string) *UpdateGroupCertificateConfigurationOutput { - s.CertificateExpiryInMilliseconds = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *UpdateGroupCertificateConfigurationOutput) SetGroupId(v string) *UpdateGroupCertificateConfigurationOutput { - s.GroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateGroupRequest type UpdateGroupInput struct { _ struct{} `type:"structure"` @@ -11395,18 +8641,6 @@ func (s *UpdateGroupInput) Validate() error { return nil } -// SetGroupId sets the GroupId field's value. -func (s *UpdateGroupInput) SetGroupId(v string) *UpdateGroupInput { - s.GroupId = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateGroupInput) SetName(v string) *UpdateGroupInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateGroupResponse type UpdateGroupOutput struct { _ struct{} `type:"structure"` @@ -11463,18 +8697,6 @@ func (s *UpdateLoggerDefinitionInput) Validate() error { return nil } -// SetLoggerDefinitionId sets the LoggerDefinitionId field's value. -func (s *UpdateLoggerDefinitionInput) SetLoggerDefinitionId(v string) *UpdateLoggerDefinitionInput { - s.LoggerDefinitionId = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateLoggerDefinitionInput) SetName(v string) *UpdateLoggerDefinitionInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateLoggerDefinitionResponse type UpdateLoggerDefinitionOutput struct { _ struct{} `type:"structure"` @@ -11531,18 +8753,6 @@ func (s *UpdateResourceDefinitionInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *UpdateResourceDefinitionInput) SetName(v string) *UpdateResourceDefinitionInput { - s.Name = &v - return s -} - -// SetResourceDefinitionId sets the ResourceDefinitionId field's value. -func (s *UpdateResourceDefinitionInput) SetResourceDefinitionId(v string) *UpdateResourceDefinitionInput { - s.ResourceDefinitionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateResourceDefinitionResponse type UpdateResourceDefinitionOutput struct { _ struct{} `type:"structure"` @@ -11599,18 +8809,6 @@ func (s *UpdateSubscriptionDefinitionInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *UpdateSubscriptionDefinitionInput) SetName(v string) *UpdateSubscriptionDefinitionInput { - s.Name = &v - return s -} - -// SetSubscriptionDefinitionId sets the SubscriptionDefinitionId field's value. -func (s *UpdateSubscriptionDefinitionInput) SetSubscriptionDefinitionId(v string) *UpdateSubscriptionDefinitionInput { - s.SubscriptionDefinitionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateSubscriptionDefinitionResponse type UpdateSubscriptionDefinitionOutput struct { _ struct{} `type:"structure"` @@ -11661,30 +8859,6 @@ func (s VersionInformation) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *VersionInformation) SetArn(v string) *VersionInformation { - s.Arn = &v - return s -} - -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *VersionInformation) SetCreationTimestamp(v string) *VersionInformation { - s.CreationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *VersionInformation) SetId(v string) *VersionInformation { - s.Id = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *VersionInformation) SetVersion(v string) *VersionInformation { - s.Version = &v - return s -} - type DeploymentType string // Enum values for DeploymentType diff --git a/service/guardduty/api.go b/service/guardduty/api.go index f3bab86b0cf..21cc1c5a51b 100644 --- a/service/guardduty/api.go +++ b/service/guardduty/api.go @@ -2221,24 +2221,6 @@ func (s *AcceptInvitationInput) Validate() error { return nil } -// SetDetectorId sets the DetectorId field's value. -func (s *AcceptInvitationInput) SetDetectorId(v string) *AcceptInvitationInput { - s.DetectorId = &v - return s -} - -// SetInvitationId sets the InvitationId field's value. -func (s *AcceptInvitationInput) SetInvitationId(v string) *AcceptInvitationInput { - s.InvitationId = &v - return s -} - -// SetMasterId sets the MasterId field's value. -func (s *AcceptInvitationInput) SetMasterId(v string) *AcceptInvitationInput { - s.MasterId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitationResponse type AcceptInvitationOutput struct { _ struct{} `type:"structure"` @@ -2283,18 +2265,6 @@ func (s AccountDetail) GoString() string { return s.String() } -// SetAccountId sets the AccountId field's value. -func (s *AccountDetail) SetAccountId(v string) *AccountDetail { - s.AccountId = &v - return s -} - -// SetEmail sets the Email field's value. -func (s *AccountDetail) SetEmail(v string) *AccountDetail { - s.Email = &v - return s -} - // Information about the activity described in a finding. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Action type Action struct { @@ -2323,30 +2293,6 @@ func (s Action) GoString() string { return s.String() } -// SetActionType sets the ActionType field's value. -func (s *Action) SetActionType(v string) *Action { - s.ActionType = &v - return s -} - -// SetAwsApiCallAction sets the AwsApiCallAction field's value. -func (s *Action) SetAwsApiCallAction(v *AwsApiCallAction) *Action { - s.AwsApiCallAction = v - return s -} - -// SetDnsRequestAction sets the DnsRequestAction field's value. -func (s *Action) SetDnsRequestAction(v *DnsRequestAction) *Action { - s.DnsRequestAction = v - return s -} - -// SetNetworkConnectionAction sets the NetworkConnectionAction field's value. -func (s *Action) SetNetworkConnectionAction(v *NetworkConnectionAction) *Action { - s.NetworkConnectionAction = v - return s -} - // Archive Findings Request // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindingsRequest type ArchiveFindingsInput struct { @@ -2383,18 +2329,6 @@ func (s *ArchiveFindingsInput) Validate() error { return nil } -// SetDetectorId sets the DetectorId field's value. -func (s *ArchiveFindingsInput) SetDetectorId(v string) *ArchiveFindingsInput { - s.DetectorId = &v - return s -} - -// SetFindingIds sets the FindingIds field's value. -func (s *ArchiveFindingsInput) SetFindingIds(v []string) *ArchiveFindingsInput { - s.FindingIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindingsResponse type ArchiveFindingsOutput struct { _ struct{} `type:"structure"` @@ -2448,36 +2382,6 @@ func (s AwsApiCallAction) GoString() string { return s.String() } -// SetApi sets the Api field's value. -func (s *AwsApiCallAction) SetApi(v string) *AwsApiCallAction { - s.Api = &v - return s -} - -// SetCallerType sets the CallerType field's value. -func (s *AwsApiCallAction) SetCallerType(v string) *AwsApiCallAction { - s.CallerType = &v - return s -} - -// SetDomainDetails sets the DomainDetails field's value. -func (s *AwsApiCallAction) SetDomainDetails(v *DomainDetails) *AwsApiCallAction { - s.DomainDetails = v - return s -} - -// SetRemoteIpDetails sets the RemoteIpDetails field's value. -func (s *AwsApiCallAction) SetRemoteIpDetails(v *RemoteIpDetails) *AwsApiCallAction { - s.RemoteIpDetails = v - return s -} - -// SetServiceName sets the ServiceName field's value. -func (s *AwsApiCallAction) SetServiceName(v string) *AwsApiCallAction { - s.ServiceName = &v - return s -} - // City information of the remote IP address. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/City type City struct { @@ -2497,12 +2401,6 @@ func (s City) GoString() string { return s.String() } -// SetCityName sets the CityName field's value. -func (s *City) SetCityName(v string) *City { - s.CityName = &v - return s -} - // Finding attribute (for example, accountId) for which conditions and values // must be specified when querying findings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Condition @@ -2544,42 +2442,6 @@ func (s Condition) GoString() string { return s.String() } -// SetEq sets the Eq field's value. -func (s *Condition) SetEq(v []string) *Condition { - s.Eq = v - return s -} - -// SetGt sets the Gt field's value. -func (s *Condition) SetGt(v int64) *Condition { - s.Gt = &v - return s -} - -// SetGte sets the Gte field's value. -func (s *Condition) SetGte(v int64) *Condition { - s.Gte = &v - return s -} - -// SetLt sets the Lt field's value. -func (s *Condition) SetLt(v int64) *Condition { - s.Lt = &v - return s -} - -// SetLte sets the Lte field's value. -func (s *Condition) SetLte(v int64) *Condition { - s.Lte = &v - return s -} - -// SetNeq sets the Neq field's value. -func (s *Condition) SetNeq(v []string) *Condition { - s.Neq = v - return s -} - // Country information of the remote IP address. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Country type Country struct { @@ -2602,18 +2464,6 @@ func (s Country) GoString() string { return s.String() } -// SetCountryCode sets the CountryCode field's value. -func (s *Country) SetCountryCode(v string) *Country { - s.CountryCode = &v - return s -} - -// SetCountryName sets the CountryName field's value. -func (s *Country) SetCountryName(v string) *Country { - s.CountryName = &v - return s -} - // Create Detector Request // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetectorRequest type CreateDetectorInput struct { @@ -2633,12 +2483,6 @@ func (s CreateDetectorInput) GoString() string { return s.String() } -// SetEnable sets the Enable field's value. -func (s *CreateDetectorInput) SetEnable(v bool) *CreateDetectorInput { - s.Enable = &v - return s -} - // CreateDetector response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetectorResponse type CreateDetectorOutput struct { @@ -2665,12 +2509,6 @@ func (s CreateDetectorOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDetectorId sets the DetectorId field's value. -func (s *CreateDetectorOutput) SetDetectorId(v string) *CreateDetectorOutput { - s.DetectorId = &v - return s -} - // Create IP Set Request // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSetRequest type CreateIPSetInput struct { @@ -2719,36 +2557,6 @@ func (s *CreateIPSetInput) Validate() error { return nil } -// SetActivate sets the Activate field's value. -func (s *CreateIPSetInput) SetActivate(v bool) *CreateIPSetInput { - s.Activate = &v - return s -} - -// SetDetectorId sets the DetectorId field's value. -func (s *CreateIPSetInput) SetDetectorId(v string) *CreateIPSetInput { - s.DetectorId = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *CreateIPSetInput) SetFormat(v IpSetFormat) *CreateIPSetInput { - s.Format = v - return s -} - -// SetLocation sets the Location field's value. -func (s *CreateIPSetInput) SetLocation(v string) *CreateIPSetInput { - s.Location = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateIPSetInput) SetName(v string) *CreateIPSetInput { - s.Name = &v - return s -} - // CreateIPSet response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSetResponse type CreateIPSetOutput struct { @@ -2775,12 +2583,6 @@ func (s CreateIPSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIpSetId sets the IpSetId field's value. -func (s *CreateIPSetOutput) SetIpSetId(v string) *CreateIPSetOutput { - s.IpSetId = &v - return s -} - // CreateMembers body // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembersRequest type CreateMembersInput struct { @@ -2818,18 +2620,6 @@ func (s *CreateMembersInput) Validate() error { return nil } -// SetAccountDetails sets the AccountDetails field's value. -func (s *CreateMembersInput) SetAccountDetails(v []AccountDetail) *CreateMembersInput { - s.AccountDetails = v - return s -} - -// SetDetectorId sets the DetectorId field's value. -func (s *CreateMembersInput) SetDetectorId(v string) *CreateMembersInput { - s.DetectorId = &v - return s -} - // CreateMembers response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembersResponse type CreateMembersOutput struct { @@ -2857,12 +2647,6 @@ func (s CreateMembersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUnprocessedAccounts sets the UnprocessedAccounts field's value. -func (s *CreateMembersOutput) SetUnprocessedAccounts(v []UnprocessedAccount) *CreateMembersOutput { - s.UnprocessedAccounts = v - return s -} - // Create Sample Findings Request // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindingsRequest type CreateSampleFindingsInput struct { @@ -2899,18 +2683,6 @@ func (s *CreateSampleFindingsInput) Validate() error { return nil } -// SetDetectorId sets the DetectorId field's value. -func (s *CreateSampleFindingsInput) SetDetectorId(v string) *CreateSampleFindingsInput { - s.DetectorId = &v - return s -} - -// SetFindingTypes sets the FindingTypes field's value. -func (s *CreateSampleFindingsInput) SetFindingTypes(v []string) *CreateSampleFindingsInput { - s.FindingTypes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindingsResponse type CreateSampleFindingsOutput struct { _ struct{} `type:"structure"` @@ -2980,36 +2752,6 @@ func (s *CreateThreatIntelSetInput) Validate() error { return nil } -// SetActivate sets the Activate field's value. -func (s *CreateThreatIntelSetInput) SetActivate(v bool) *CreateThreatIntelSetInput { - s.Activate = &v - return s -} - -// SetDetectorId sets the DetectorId field's value. -func (s *CreateThreatIntelSetInput) SetDetectorId(v string) *CreateThreatIntelSetInput { - s.DetectorId = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *CreateThreatIntelSetInput) SetFormat(v ThreatIntelSetFormat) *CreateThreatIntelSetInput { - s.Format = v - return s -} - -// SetLocation sets the Location field's value. -func (s *CreateThreatIntelSetInput) SetLocation(v string) *CreateThreatIntelSetInput { - s.Location = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateThreatIntelSetInput) SetName(v string) *CreateThreatIntelSetInput { - s.Name = &v - return s -} - // CreateThreatIntelSet response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSetResponse type CreateThreatIntelSetOutput struct { @@ -3036,12 +2778,6 @@ func (s CreateThreatIntelSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetThreatIntelSetId sets the ThreatIntelSetId field's value. -func (s *CreateThreatIntelSetOutput) SetThreatIntelSetId(v string) *CreateThreatIntelSetOutput { - s.ThreatIntelSetId = &v - return s -} - // DeclineInvitations request body. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitationsRequest type DeclineInvitationsInput struct { @@ -3062,12 +2798,6 @@ func (s DeclineInvitationsInput) GoString() string { return s.String() } -// SetAccountIds sets the AccountIds field's value. -func (s *DeclineInvitationsInput) SetAccountIds(v []string) *DeclineInvitationsInput { - s.AccountIds = v - return s -} - // DeclineInvitations response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitationsResponse type DeclineInvitationsOutput struct { @@ -3095,12 +2825,6 @@ func (s DeclineInvitationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUnprocessedAccounts sets the UnprocessedAccounts field's value. -func (s *DeclineInvitationsOutput) SetUnprocessedAccounts(v []UnprocessedAccount) *DeclineInvitationsOutput { - s.UnprocessedAccounts = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetectorRequest type DeleteDetectorInput struct { _ struct{} `type:"structure"` @@ -3133,12 +2857,6 @@ func (s *DeleteDetectorInput) Validate() error { return nil } -// SetDetectorId sets the DetectorId field's value. -func (s *DeleteDetectorInput) SetDetectorId(v string) *DeleteDetectorInput { - s.DetectorId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetectorResponse type DeleteDetectorOutput struct { _ struct{} `type:"structure"` @@ -3200,18 +2918,6 @@ func (s *DeleteIPSetInput) Validate() error { return nil } -// SetDetectorId sets the DetectorId field's value. -func (s *DeleteIPSetInput) SetDetectorId(v string) *DeleteIPSetInput { - s.DetectorId = &v - return s -} - -// SetIpSetId sets the IpSetId field's value. -func (s *DeleteIPSetInput) SetIpSetId(v string) *DeleteIPSetInput { - s.IpSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteIPSetResponse type DeleteIPSetOutput struct { _ struct{} `type:"structure"` @@ -3254,12 +2960,6 @@ func (s DeleteInvitationsInput) GoString() string { return s.String() } -// SetAccountIds sets the AccountIds field's value. -func (s *DeleteInvitationsInput) SetAccountIds(v []string) *DeleteInvitationsInput { - s.AccountIds = v - return s -} - // DeleteInvitations response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteInvitationsResponse type DeleteInvitationsOutput struct { @@ -3287,12 +2987,6 @@ func (s DeleteInvitationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUnprocessedAccounts sets the UnprocessedAccounts field's value. -func (s *DeleteInvitationsOutput) SetUnprocessedAccounts(v []UnprocessedAccount) *DeleteInvitationsOutput { - s.UnprocessedAccounts = v - return s -} - // DeleteMembers request body. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembersRequest type DeleteMembersInput struct { @@ -3329,18 +3023,6 @@ func (s *DeleteMembersInput) Validate() error { return nil } -// SetAccountIds sets the AccountIds field's value. -func (s *DeleteMembersInput) SetAccountIds(v []string) *DeleteMembersInput { - s.AccountIds = v - return s -} - -// SetDetectorId sets the DetectorId field's value. -func (s *DeleteMembersInput) SetDetectorId(v string) *DeleteMembersInput { - s.DetectorId = &v - return s -} - // DeleteMembers response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembersResponse type DeleteMembersOutput struct { @@ -3368,12 +3050,6 @@ func (s DeleteMembersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUnprocessedAccounts sets the UnprocessedAccounts field's value. -func (s *DeleteMembersOutput) SetUnprocessedAccounts(v []UnprocessedAccount) *DeleteMembersOutput { - s.UnprocessedAccounts = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSetRequest type DeleteThreatIntelSetInput struct { _ struct{} `type:"structure"` @@ -3413,18 +3089,6 @@ func (s *DeleteThreatIntelSetInput) Validate() error { return nil } -// SetDetectorId sets the DetectorId field's value. -func (s *DeleteThreatIntelSetInput) SetDetectorId(v string) *DeleteThreatIntelSetInput { - s.DetectorId = &v - return s -} - -// SetThreatIntelSetId sets the ThreatIntelSetId field's value. -func (s *DeleteThreatIntelSetInput) SetThreatIntelSetId(v string) *DeleteThreatIntelSetInput { - s.ThreatIntelSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSetResponse type DeleteThreatIntelSetOutput struct { _ struct{} `type:"structure"` @@ -3479,12 +3143,6 @@ func (s *DisassociateFromMasterAccountInput) Validate() error { return nil } -// SetDetectorId sets the DetectorId field's value. -func (s *DisassociateFromMasterAccountInput) SetDetectorId(v string) *DisassociateFromMasterAccountInput { - s.DetectorId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateFromMasterAccountResponse type DisassociateFromMasterAccountOutput struct { _ struct{} `type:"structure"` @@ -3544,18 +3202,6 @@ func (s *DisassociateMembersInput) Validate() error { return nil } -// SetAccountIds sets the AccountIds field's value. -func (s *DisassociateMembersInput) SetAccountIds(v []string) *DisassociateMembersInput { - s.AccountIds = v - return s -} - -// SetDetectorId sets the DetectorId field's value. -func (s *DisassociateMembersInput) SetDetectorId(v string) *DisassociateMembersInput { - s.DetectorId = &v - return s -} - // DisassociateMembers response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateMembersResponse type DisassociateMembersOutput struct { @@ -3583,12 +3229,6 @@ func (s DisassociateMembersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUnprocessedAccounts sets the UnprocessedAccounts field's value. -func (s *DisassociateMembersOutput) SetUnprocessedAccounts(v []UnprocessedAccount) *DisassociateMembersOutput { - s.UnprocessedAccounts = v - return s -} - // Information about the DNS_REQUEST action described in this finding. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DnsRequestAction type DnsRequestAction struct { @@ -3608,12 +3248,6 @@ func (s DnsRequestAction) GoString() string { return s.String() } -// SetDomain sets the Domain field's value. -func (s *DnsRequestAction) SetDomain(v string) *DnsRequestAction { - s.Domain = &v - return s -} - // Domain information for the AWS API call. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DomainDetails type DomainDetails struct { @@ -3694,96 +3328,6 @@ func (s Finding) GoString() string { return s.String() } -// SetAccountId sets the AccountId field's value. -func (s *Finding) SetAccountId(v string) *Finding { - s.AccountId = &v - return s -} - -// SetArn sets the Arn field's value. -func (s *Finding) SetArn(v string) *Finding { - s.Arn = &v - return s -} - -// SetConfidence sets the Confidence field's value. -func (s *Finding) SetConfidence(v float64) *Finding { - s.Confidence = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Finding) SetCreatedAt(v string) *Finding { - s.CreatedAt = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Finding) SetDescription(v string) *Finding { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *Finding) SetId(v string) *Finding { - s.Id = &v - return s -} - -// SetPartition sets the Partition field's value. -func (s *Finding) SetPartition(v string) *Finding { - s.Partition = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *Finding) SetRegion(v string) *Finding { - s.Region = &v - return s -} - -// SetResource sets the Resource field's value. -func (s *Finding) SetResource(v *Resource) *Finding { - s.Resource = v - return s -} - -// SetSchemaVersion sets the SchemaVersion field's value. -func (s *Finding) SetSchemaVersion(v string) *Finding { - s.SchemaVersion = &v - return s -} - -// SetService sets the Service field's value. -func (s *Finding) SetService(v *Service) *Finding { - s.Service = v - return s -} - -// SetSeverity sets the Severity field's value. -func (s *Finding) SetSeverity(v float64) *Finding { - s.Severity = &v - return s -} - -// SetTitle sets the Title field's value. -func (s *Finding) SetTitle(v string) *Finding { - s.Title = &v - return s -} - -// SetType sets the Type field's value. -func (s *Finding) SetType(v string) *Finding { - s.Type = &v - return s -} - -// SetUpdatedAt sets the UpdatedAt field's value. -func (s *Finding) SetUpdatedAt(v string) *Finding { - s.UpdatedAt = &v - return s -} - // Represents the criteria used for querying findings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FindingCriteria type FindingCriteria struct { @@ -3804,12 +3348,6 @@ func (s FindingCriteria) GoString() string { return s.String() } -// SetCriterion sets the Criterion field's value. -func (s *FindingCriteria) SetCriterion(v map[string]Condition) *FindingCriteria { - s.Criterion = v - return s -} - // Finding statistics object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FindingStatistics type FindingStatistics struct { @@ -3829,12 +3367,6 @@ func (s FindingStatistics) GoString() string { return s.String() } -// SetCountBySeverity sets the CountBySeverity field's value. -func (s *FindingStatistics) SetCountBySeverity(v map[string]int64) *FindingStatistics { - s.CountBySeverity = v - return s -} - // Location information of the remote IP address. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GeoLocation type GeoLocation struct { @@ -3857,18 +3389,6 @@ func (s GeoLocation) GoString() string { return s.String() } -// SetLat sets the Lat field's value. -func (s *GeoLocation) SetLat(v float64) *GeoLocation { - s.Lat = &v - return s -} - -// SetLon sets the Lon field's value. -func (s *GeoLocation) SetLon(v float64) *GeoLocation { - s.Lon = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetectorRequest type GetDetectorInput struct { _ struct{} `type:"structure"` @@ -3901,12 +3421,6 @@ func (s *GetDetectorInput) Validate() error { return nil } -// SetDetectorId sets the DetectorId field's value. -func (s *GetDetectorInput) SetDetectorId(v string) *GetDetectorInput { - s.DetectorId = &v - return s -} - // GetDetector response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetectorResponse type GetDetectorOutput struct { @@ -3942,30 +3456,6 @@ func (s GetDetectorOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreatedAt sets the CreatedAt field's value. -func (s *GetDetectorOutput) SetCreatedAt(v string) *GetDetectorOutput { - s.CreatedAt = &v - return s -} - -// SetServiceRole sets the ServiceRole field's value. -func (s *GetDetectorOutput) SetServiceRole(v string) *GetDetectorOutput { - s.ServiceRole = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetDetectorOutput) SetStatus(v DetectorStatus) *GetDetectorOutput { - s.Status = v - return s -} - -// SetUpdatedAt sets the UpdatedAt field's value. -func (s *GetDetectorOutput) SetUpdatedAt(v string) *GetDetectorOutput { - s.UpdatedAt = &v - return s -} - // Get Findings Request // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsRequest type GetFindingsInput struct { @@ -4005,24 +3495,6 @@ func (s *GetFindingsInput) Validate() error { return nil } -// SetDetectorId sets the DetectorId field's value. -func (s *GetFindingsInput) SetDetectorId(v string) *GetFindingsInput { - s.DetectorId = &v - return s -} - -// SetFindingIds sets the FindingIds field's value. -func (s *GetFindingsInput) SetFindingIds(v []string) *GetFindingsInput { - s.FindingIds = v - return s -} - -// SetSortCriteria sets the SortCriteria field's value. -func (s *GetFindingsInput) SetSortCriteria(v *SortCriteria) *GetFindingsInput { - s.SortCriteria = v - return s -} - // GetFindings response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsResponse type GetFindingsOutput struct { @@ -4049,12 +3521,6 @@ func (s GetFindingsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFindings sets the Findings field's value. -func (s *GetFindingsOutput) SetFindings(v []Finding) *GetFindingsOutput { - s.Findings = v - return s -} - // Get Findings Statistics Request // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatisticsRequest type GetFindingsStatisticsInput struct { @@ -4094,24 +3560,6 @@ func (s *GetFindingsStatisticsInput) Validate() error { return nil } -// SetDetectorId sets the DetectorId field's value. -func (s *GetFindingsStatisticsInput) SetDetectorId(v string) *GetFindingsStatisticsInput { - s.DetectorId = &v - return s -} - -// SetFindingCriteria sets the FindingCriteria field's value. -func (s *GetFindingsStatisticsInput) SetFindingCriteria(v *FindingCriteria) *GetFindingsStatisticsInput { - s.FindingCriteria = v - return s -} - -// SetFindingStatisticTypes sets the FindingStatisticTypes field's value. -func (s *GetFindingsStatisticsInput) SetFindingStatisticTypes(v []FindingStatisticType) *GetFindingsStatisticsInput { - s.FindingStatisticTypes = v - return s -} - // GetFindingsStatistics response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatisticsResponse type GetFindingsStatisticsOutput struct { @@ -4138,12 +3586,6 @@ func (s GetFindingsStatisticsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFindingStatistics sets the FindingStatistics field's value. -func (s *GetFindingsStatisticsOutput) SetFindingStatistics(v *FindingStatistics) *GetFindingsStatisticsOutput { - s.FindingStatistics = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSetRequest type GetIPSetInput struct { _ struct{} `type:"structure"` @@ -4183,18 +3625,6 @@ func (s *GetIPSetInput) Validate() error { return nil } -// SetDetectorId sets the DetectorId field's value. -func (s *GetIPSetInput) SetDetectorId(v string) *GetIPSetInput { - s.DetectorId = &v - return s -} - -// SetIpSetId sets the IpSetId field's value. -func (s *GetIPSetInput) SetIpSetId(v string) *GetIPSetInput { - s.IpSetId = &v - return s -} - // GetIPSet response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSetResponse type GetIPSetOutput struct { @@ -4232,30 +3662,6 @@ func (s GetIPSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFormat sets the Format field's value. -func (s *GetIPSetOutput) SetFormat(v IpSetFormat) *GetIPSetOutput { - s.Format = v - return s -} - -// SetLocation sets the Location field's value. -func (s *GetIPSetOutput) SetLocation(v string) *GetIPSetOutput { - s.Location = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetIPSetOutput) SetName(v string) *GetIPSetOutput { - s.Name = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetIPSetOutput) SetStatus(v IpSetStatus) *GetIPSetOutput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetInvitationsCountRequest type GetInvitationsCountInput struct { _ struct{} `type:"structure"` @@ -4297,12 +3703,6 @@ func (s GetInvitationsCountOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInvitationsCount sets the InvitationsCount field's value. -func (s *GetInvitationsCountOutput) SetInvitationsCount(v int64) *GetInvitationsCountOutput { - s.InvitationsCount = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccountRequest type GetMasterAccountInput struct { _ struct{} `type:"structure"` @@ -4335,12 +3735,6 @@ func (s *GetMasterAccountInput) Validate() error { return nil } -// SetDetectorId sets the DetectorId field's value. -func (s *GetMasterAccountInput) SetDetectorId(v string) *GetMasterAccountInput { - s.DetectorId = &v - return s -} - // GetMasterAccount response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccountResponse type GetMasterAccountOutput struct { @@ -4367,12 +3761,6 @@ func (s GetMasterAccountOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMaster sets the Master field's value. -func (s *GetMasterAccountOutput) SetMaster(v *Master) *GetMasterAccountOutput { - s.Master = v - return s -} - // GetMembers request body. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembersRequest type GetMembersInput struct { @@ -4409,18 +3797,6 @@ func (s *GetMembersInput) Validate() error { return nil } -// SetAccountIds sets the AccountIds field's value. -func (s *GetMembersInput) SetAccountIds(v []string) *GetMembersInput { - s.AccountIds = v - return s -} - -// SetDetectorId sets the DetectorId field's value. -func (s *GetMembersInput) SetDetectorId(v string) *GetMembersInput { - s.DetectorId = &v - return s -} - // GetMembers response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembersResponse type GetMembersOutput struct { @@ -4451,18 +3827,6 @@ func (s GetMembersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMembers sets the Members field's value. -func (s *GetMembersOutput) SetMembers(v []Member) *GetMembersOutput { - s.Members = v - return s -} - -// SetUnprocessedAccounts sets the UnprocessedAccounts field's value. -func (s *GetMembersOutput) SetUnprocessedAccounts(v []UnprocessedAccount) *GetMembersOutput { - s.UnprocessedAccounts = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSetRequest type GetThreatIntelSetInput struct { _ struct{} `type:"structure"` @@ -4502,18 +3866,6 @@ func (s *GetThreatIntelSetInput) Validate() error { return nil } -// SetDetectorId sets the DetectorId field's value. -func (s *GetThreatIntelSetInput) SetDetectorId(v string) *GetThreatIntelSetInput { - s.DetectorId = &v - return s -} - -// SetThreatIntelSetId sets the ThreatIntelSetId field's value. -func (s *GetThreatIntelSetInput) SetThreatIntelSetId(v string) *GetThreatIntelSetInput { - s.ThreatIntelSetId = &v - return s -} - // GetThreatIntelSet response object // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSetResponse type GetThreatIntelSetOutput struct { @@ -4550,30 +3902,6 @@ func (s GetThreatIntelSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFormat sets the Format field's value. -func (s *GetThreatIntelSetOutput) SetFormat(v ThreatIntelSetFormat) *GetThreatIntelSetOutput { - s.Format = v - return s -} - -// SetLocation sets the Location field's value. -func (s *GetThreatIntelSetOutput) SetLocation(v string) *GetThreatIntelSetOutput { - s.Location = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetThreatIntelSetOutput) SetName(v string) *GetThreatIntelSetOutput { - s.Name = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetThreatIntelSetOutput) SetStatus(v ThreatIntelSetStatus) *GetThreatIntelSetOutput { - s.Status = v - return s -} - // The profile information of the EC2 instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/IamInstanceProfile type IamInstanceProfile struct { @@ -4596,18 +3924,6 @@ func (s IamInstanceProfile) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *IamInstanceProfile) SetArn(v string) *IamInstanceProfile { - s.Arn = &v - return s -} - -// SetId sets the Id field's value. -func (s *IamInstanceProfile) SetId(v string) *IamInstanceProfile { - s.Id = &v - return s -} - // The information about the EC2 instance associated with the activity that // prompted GuardDuty to generate a finding. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InstanceDetails @@ -4658,72 +3974,6 @@ func (s InstanceDetails) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *InstanceDetails) SetAvailabilityZone(v string) *InstanceDetails { - s.AvailabilityZone = &v - return s -} - -// SetIamInstanceProfile sets the IamInstanceProfile field's value. -func (s *InstanceDetails) SetIamInstanceProfile(v *IamInstanceProfile) *InstanceDetails { - s.IamInstanceProfile = v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *InstanceDetails) SetImageId(v string) *InstanceDetails { - s.ImageId = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *InstanceDetails) SetInstanceId(v string) *InstanceDetails { - s.InstanceId = &v - return s -} - -// SetInstanceState sets the InstanceState field's value. -func (s *InstanceDetails) SetInstanceState(v string) *InstanceDetails { - s.InstanceState = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *InstanceDetails) SetInstanceType(v string) *InstanceDetails { - s.InstanceType = &v - return s -} - -// SetLaunchTime sets the LaunchTime field's value. -func (s *InstanceDetails) SetLaunchTime(v string) *InstanceDetails { - s.LaunchTime = &v - return s -} - -// SetNetworkInterfaces sets the NetworkInterfaces field's value. -func (s *InstanceDetails) SetNetworkInterfaces(v []NetworkInterface) *InstanceDetails { - s.NetworkInterfaces = v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *InstanceDetails) SetPlatform(v string) *InstanceDetails { - s.Platform = &v - return s -} - -// SetProductCodes sets the ProductCodes field's value. -func (s *InstanceDetails) SetProductCodes(v []ProductCode) *InstanceDetails { - s.ProductCodes = v - return s -} - -// SetTags sets the Tags field's value. -func (s *InstanceDetails) SetTags(v []Tag) *InstanceDetails { - s.Tags = v - return s -} - // Invitation from an AWS account to become the current account's master. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Invitation type Invitation struct { @@ -4752,30 +4002,6 @@ func (s Invitation) GoString() string { return s.String() } -// SetAccountId sets the AccountId field's value. -func (s *Invitation) SetAccountId(v string) *Invitation { - s.AccountId = &v - return s -} - -// SetInvitationId sets the InvitationId field's value. -func (s *Invitation) SetInvitationId(v string) *Invitation { - s.InvitationId = &v - return s -} - -// SetInvitedAt sets the InvitedAt field's value. -func (s *Invitation) SetInvitedAt(v string) *Invitation { - s.InvitedAt = &v - return s -} - -// SetRelationshipStatus sets the RelationshipStatus field's value. -func (s *Invitation) SetRelationshipStatus(v string) *Invitation { - s.RelationshipStatus = &v - return s -} - // InviteMembers request body. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembersRequest type InviteMembersInput struct { @@ -4817,24 +4043,6 @@ func (s *InviteMembersInput) Validate() error { return nil } -// SetAccountIds sets the AccountIds field's value. -func (s *InviteMembersInput) SetAccountIds(v []string) *InviteMembersInput { - s.AccountIds = v - return s -} - -// SetDetectorId sets the DetectorId field's value. -func (s *InviteMembersInput) SetDetectorId(v string) *InviteMembersInput { - s.DetectorId = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *InviteMembersInput) SetMessage(v string) *InviteMembersInput { - s.Message = &v - return s -} - // InviteMembers response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembersResponse type InviteMembersOutput struct { @@ -4862,12 +4070,6 @@ func (s InviteMembersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUnprocessedAccounts sets the UnprocessedAccounts field's value. -func (s *InviteMembersOutput) SetUnprocessedAccounts(v []UnprocessedAccount) *InviteMembersOutput { - s.UnprocessedAccounts = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectorsRequest type ListDetectorsInput struct { _ struct{} `type:"structure"` @@ -4902,18 +4104,6 @@ func (s *ListDetectorsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListDetectorsInput) SetMaxResults(v int64) *ListDetectorsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDetectorsInput) SetNextToken(v string) *ListDetectorsInput { - s.NextToken = &v - return s -} - // ListDetectors response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectorsResponse type ListDetectorsOutput struct { @@ -4946,18 +4136,6 @@ func (s ListDetectorsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDetectorIds sets the DetectorIds field's value. -func (s *ListDetectorsOutput) SetDetectorIds(v []string) *ListDetectorsOutput { - s.DetectorIds = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDetectorsOutput) SetNextToken(v string) *ListDetectorsOutput { - s.NextToken = &v - return s -} - // List Findings Request // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindingsRequest type ListFindingsInput struct { @@ -5010,36 +4188,6 @@ func (s *ListFindingsInput) Validate() error { return nil } -// SetDetectorId sets the DetectorId field's value. -func (s *ListFindingsInput) SetDetectorId(v string) *ListFindingsInput { - s.DetectorId = &v - return s -} - -// SetFindingCriteria sets the FindingCriteria field's value. -func (s *ListFindingsInput) SetFindingCriteria(v *FindingCriteria) *ListFindingsInput { - s.FindingCriteria = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListFindingsInput) SetMaxResults(v int64) *ListFindingsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFindingsInput) SetNextToken(v string) *ListFindingsInput { - s.NextToken = &v - return s -} - -// SetSortCriteria sets the SortCriteria field's value. -func (s *ListFindingsInput) SetSortCriteria(v *SortCriteria) *ListFindingsInput { - s.SortCriteria = v - return s -} - // ListFindings response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindingsResponse type ListFindingsOutput struct { @@ -5072,18 +4220,6 @@ func (s ListFindingsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFindingIds sets the FindingIds field's value. -func (s *ListFindingsOutput) SetFindingIds(v []string) *ListFindingsOutput { - s.FindingIds = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFindingsOutput) SetNextToken(v string) *ListFindingsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSetsRequest type ListIPSetsInput struct { _ struct{} `type:"structure"` @@ -5125,24 +4261,6 @@ func (s *ListIPSetsInput) Validate() error { return nil } -// SetDetectorId sets the DetectorId field's value. -func (s *ListIPSetsInput) SetDetectorId(v string) *ListIPSetsInput { - s.DetectorId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListIPSetsInput) SetMaxResults(v int64) *ListIPSetsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIPSetsInput) SetNextToken(v string) *ListIPSetsInput { - s.NextToken = &v - return s -} - // ListIPSets response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSetsResponse type ListIPSetsOutput struct { @@ -5175,18 +4293,6 @@ func (s ListIPSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIpSetIds sets the IpSetIds field's value. -func (s *ListIPSetsOutput) SetIpSetIds(v []string) *ListIPSetsOutput { - s.IpSetIds = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIPSetsOutput) SetNextToken(v string) *ListIPSetsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitationsRequest type ListInvitationsInput struct { _ struct{} `type:"structure"` @@ -5221,18 +4327,6 @@ func (s *ListInvitationsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListInvitationsInput) SetMaxResults(v int64) *ListInvitationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListInvitationsInput) SetNextToken(v string) *ListInvitationsInput { - s.NextToken = &v - return s -} - // ListInvitations response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitationsResponse type ListInvitationsOutput struct { @@ -5265,18 +4359,6 @@ func (s ListInvitationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInvitations sets the Invitations field's value. -func (s *ListInvitationsOutput) SetInvitations(v []Invitation) *ListInvitationsOutput { - s.Invitations = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListInvitationsOutput) SetNextToken(v string) *ListInvitationsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembersRequest type ListMembersInput struct { _ struct{} `type:"structure"` @@ -5320,30 +4402,6 @@ func (s *ListMembersInput) Validate() error { return nil } -// SetDetectorId sets the DetectorId field's value. -func (s *ListMembersInput) SetDetectorId(v string) *ListMembersInput { - s.DetectorId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListMembersInput) SetMaxResults(v int64) *ListMembersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListMembersInput) SetNextToken(v string) *ListMembersInput { - s.NextToken = &v - return s -} - -// SetOnlyAssociated sets the OnlyAssociated field's value. -func (s *ListMembersInput) SetOnlyAssociated(v string) *ListMembersInput { - s.OnlyAssociated = &v - return s -} - // ListMembers response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembersResponse type ListMembersOutput struct { @@ -5376,18 +4434,6 @@ func (s ListMembersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMembers sets the Members field's value. -func (s *ListMembersOutput) SetMembers(v []Member) *ListMembersOutput { - s.Members = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListMembersOutput) SetNextToken(v string) *ListMembersOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSetsRequest type ListThreatIntelSetsInput struct { _ struct{} `type:"structure"` @@ -5429,24 +4475,6 @@ func (s *ListThreatIntelSetsInput) Validate() error { return nil } -// SetDetectorId sets the DetectorId field's value. -func (s *ListThreatIntelSetsInput) SetDetectorId(v string) *ListThreatIntelSetsInput { - s.DetectorId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListThreatIntelSetsInput) SetMaxResults(v int64) *ListThreatIntelSetsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListThreatIntelSetsInput) SetNextToken(v string) *ListThreatIntelSetsInput { - s.NextToken = &v - return s -} - // ListThreatIntelSets response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSetsResponse type ListThreatIntelSetsOutput struct { @@ -5479,18 +4507,6 @@ func (s ListThreatIntelSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListThreatIntelSetsOutput) SetNextToken(v string) *ListThreatIntelSetsOutput { - s.NextToken = &v - return s -} - -// SetThreatIntelSetIds sets the ThreatIntelSetIds field's value. -func (s *ListThreatIntelSetsOutput) SetThreatIntelSetIds(v []string) *ListThreatIntelSetsOutput { - s.ThreatIntelSetIds = v - return s -} - // Local port information of the connection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/LocalPortDetails type LocalPortDetails struct { @@ -5513,18 +4529,6 @@ func (s LocalPortDetails) GoString() string { return s.String() } -// SetPort sets the Port field's value. -func (s *LocalPortDetails) SetPort(v int64) *LocalPortDetails { - s.Port = &v - return s -} - -// SetPortName sets the PortName field's value. -func (s *LocalPortDetails) SetPortName(v string) *LocalPortDetails { - s.PortName = &v - return s -} - // Contains details about the master account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Master type Master struct { @@ -5553,30 +4557,6 @@ func (s Master) GoString() string { return s.String() } -// SetAccountId sets the AccountId field's value. -func (s *Master) SetAccountId(v string) *Master { - s.AccountId = &v - return s -} - -// SetInvitationId sets the InvitationId field's value. -func (s *Master) SetInvitationId(v string) *Master { - s.InvitationId = &v - return s -} - -// SetInvitedAt sets the InvitedAt field's value. -func (s *Master) SetInvitedAt(v string) *Master { - s.InvitedAt = &v - return s -} - -// SetRelationshipStatus sets the RelationshipStatus field's value. -func (s *Master) SetRelationshipStatus(v string) *Master { - s.RelationshipStatus = &v - return s -} - // Contains details about the member account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Member type Member struct { @@ -5614,48 +4594,6 @@ func (s Member) GoString() string { return s.String() } -// SetAccountId sets the AccountId field's value. -func (s *Member) SetAccountId(v string) *Member { - s.AccountId = &v - return s -} - -// SetDetectorId sets the DetectorId field's value. -func (s *Member) SetDetectorId(v string) *Member { - s.DetectorId = &v - return s -} - -// SetEmail sets the Email field's value. -func (s *Member) SetEmail(v string) *Member { - s.Email = &v - return s -} - -// SetInvitedAt sets the InvitedAt field's value. -func (s *Member) SetInvitedAt(v string) *Member { - s.InvitedAt = &v - return s -} - -// SetMasterId sets the MasterId field's value. -func (s *Member) SetMasterId(v string) *Member { - s.MasterId = &v - return s -} - -// SetRelationshipStatus sets the RelationshipStatus field's value. -func (s *Member) SetRelationshipStatus(v string) *Member { - s.RelationshipStatus = &v - return s -} - -// SetUpdatedAt sets the UpdatedAt field's value. -func (s *Member) SetUpdatedAt(v string) *Member { - s.UpdatedAt = &v - return s -} - // Information about the NETWORK_CONNECTION action described in this finding. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/NetworkConnectionAction type NetworkConnectionAction struct { @@ -5690,42 +4628,6 @@ func (s NetworkConnectionAction) GoString() string { return s.String() } -// SetBlocked sets the Blocked field's value. -func (s *NetworkConnectionAction) SetBlocked(v bool) *NetworkConnectionAction { - s.Blocked = &v - return s -} - -// SetConnectionDirection sets the ConnectionDirection field's value. -func (s *NetworkConnectionAction) SetConnectionDirection(v string) *NetworkConnectionAction { - s.ConnectionDirection = &v - return s -} - -// SetLocalPortDetails sets the LocalPortDetails field's value. -func (s *NetworkConnectionAction) SetLocalPortDetails(v *LocalPortDetails) *NetworkConnectionAction { - s.LocalPortDetails = v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *NetworkConnectionAction) SetProtocol(v string) *NetworkConnectionAction { - s.Protocol = &v - return s -} - -// SetRemoteIpDetails sets the RemoteIpDetails field's value. -func (s *NetworkConnectionAction) SetRemoteIpDetails(v *RemoteIpDetails) *NetworkConnectionAction { - s.RemoteIpDetails = v - return s -} - -// SetRemotePortDetails sets the RemotePortDetails field's value. -func (s *NetworkConnectionAction) SetRemotePortDetails(v *RemotePortDetails) *NetworkConnectionAction { - s.RemotePortDetails = v - return s -} - // The network interface information of the EC2 instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/NetworkInterface type NetworkInterface struct { @@ -5769,60 +4671,6 @@ func (s NetworkInterface) GoString() string { return s.String() } -// SetIpv6Addresses sets the Ipv6Addresses field's value. -func (s *NetworkInterface) SetIpv6Addresses(v []string) *NetworkInterface { - s.Ipv6Addresses = v - return s -} - -// SetPrivateDnsName sets the PrivateDnsName field's value. -func (s *NetworkInterface) SetPrivateDnsName(v string) *NetworkInterface { - s.PrivateDnsName = &v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *NetworkInterface) SetPrivateIpAddress(v string) *NetworkInterface { - s.PrivateIpAddress = &v - return s -} - -// SetPrivateIpAddresses sets the PrivateIpAddresses field's value. -func (s *NetworkInterface) SetPrivateIpAddresses(v []PrivateIpAddressDetails) *NetworkInterface { - s.PrivateIpAddresses = v - return s -} - -// SetPublicDnsName sets the PublicDnsName field's value. -func (s *NetworkInterface) SetPublicDnsName(v string) *NetworkInterface { - s.PublicDnsName = &v - return s -} - -// SetPublicIp sets the PublicIp field's value. -func (s *NetworkInterface) SetPublicIp(v string) *NetworkInterface { - s.PublicIp = &v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *NetworkInterface) SetSecurityGroups(v []SecurityGroup) *NetworkInterface { - s.SecurityGroups = v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *NetworkInterface) SetSubnetId(v string) *NetworkInterface { - s.SubnetId = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *NetworkInterface) SetVpcId(v string) *NetworkInterface { - s.VpcId = &v - return s -} - // ISP Organization information of the remote IP address. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Organization type Organization struct { @@ -5851,30 +4699,6 @@ func (s Organization) GoString() string { return s.String() } -// SetAsn sets the Asn field's value. -func (s *Organization) SetAsn(v string) *Organization { - s.Asn = &v - return s -} - -// SetAsnOrg sets the AsnOrg field's value. -func (s *Organization) SetAsnOrg(v string) *Organization { - s.AsnOrg = &v - return s -} - -// SetIsp sets the Isp field's value. -func (s *Organization) SetIsp(v string) *Organization { - s.Isp = &v - return s -} - -// SetOrg sets the Org field's value. -func (s *Organization) SetOrg(v string) *Organization { - s.Org = &v - return s -} - // Other private IP address information of the EC2 instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/PrivateIpAddressDetails type PrivateIpAddressDetails struct { @@ -5897,18 +4721,6 @@ func (s PrivateIpAddressDetails) GoString() string { return s.String() } -// SetPrivateDnsName sets the PrivateDnsName field's value. -func (s *PrivateIpAddressDetails) SetPrivateDnsName(v string) *PrivateIpAddressDetails { - s.PrivateDnsName = &v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *PrivateIpAddressDetails) SetPrivateIpAddress(v string) *PrivateIpAddressDetails { - s.PrivateIpAddress = &v - return s -} - // The product code of the EC2 instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ProductCode type ProductCode struct { @@ -5931,18 +4743,6 @@ func (s ProductCode) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *ProductCode) SetCode(v string) *ProductCode { - s.Code = &v - return s -} - -// SetProductType sets the ProductType field's value. -func (s *ProductCode) SetProductType(v string) *ProductCode { - s.ProductType = &v - return s -} - // Remote IP information of the connection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RemoteIpDetails type RemoteIpDetails struct { @@ -5974,36 +4774,6 @@ func (s RemoteIpDetails) GoString() string { return s.String() } -// SetCity sets the City field's value. -func (s *RemoteIpDetails) SetCity(v *City) *RemoteIpDetails { - s.City = v - return s -} - -// SetCountry sets the Country field's value. -func (s *RemoteIpDetails) SetCountry(v *Country) *RemoteIpDetails { - s.Country = v - return s -} - -// SetGeoLocation sets the GeoLocation field's value. -func (s *RemoteIpDetails) SetGeoLocation(v *GeoLocation) *RemoteIpDetails { - s.GeoLocation = v - return s -} - -// SetIpAddressV4 sets the IpAddressV4 field's value. -func (s *RemoteIpDetails) SetIpAddressV4(v string) *RemoteIpDetails { - s.IpAddressV4 = &v - return s -} - -// SetOrganization sets the Organization field's value. -func (s *RemoteIpDetails) SetOrganization(v *Organization) *RemoteIpDetails { - s.Organization = v - return s -} - // Remote port information of the connection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RemotePortDetails type RemotePortDetails struct { @@ -6026,18 +4796,6 @@ func (s RemotePortDetails) GoString() string { return s.String() } -// SetPort sets the Port field's value. -func (s *RemotePortDetails) SetPort(v int64) *RemotePortDetails { - s.Port = &v - return s -} - -// SetPortName sets the PortName field's value. -func (s *RemotePortDetails) SetPortName(v string) *RemotePortDetails { - s.PortName = &v - return s -} - // The AWS resource associated with the activity that prompted GuardDuty to // generate a finding. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Resource @@ -6062,18 +4820,6 @@ func (s Resource) GoString() string { return s.String() } -// SetInstanceDetails sets the InstanceDetails field's value. -func (s *Resource) SetInstanceDetails(v *InstanceDetails) *Resource { - s.InstanceDetails = v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *Resource) SetResourceType(v string) *Resource { - s.ResourceType = &v - return s -} - // Security groups associated with the EC2 instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/SecurityGroup type SecurityGroup struct { @@ -6096,18 +4842,6 @@ func (s SecurityGroup) GoString() string { return s.String() } -// SetGroupId sets the GroupId field's value. -func (s *SecurityGroup) SetGroupId(v string) *SecurityGroup { - s.GroupId = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *SecurityGroup) SetGroupName(v string) *SecurityGroup { - s.GroupName = &v - return s -} - // Additional information assigned to the generated finding by GuardDuty. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Service type Service struct { @@ -6153,60 +4887,6 @@ func (s Service) GoString() string { return s.String() } -// SetAction sets the Action field's value. -func (s *Service) SetAction(v *Action) *Service { - s.Action = v - return s -} - -// SetArchived sets the Archived field's value. -func (s *Service) SetArchived(v bool) *Service { - s.Archived = &v - return s -} - -// SetCount sets the Count field's value. -func (s *Service) SetCount(v int64) *Service { - s.Count = &v - return s -} - -// SetDetectorId sets the DetectorId field's value. -func (s *Service) SetDetectorId(v string) *Service { - s.DetectorId = &v - return s -} - -// SetEventFirstSeen sets the EventFirstSeen field's value. -func (s *Service) SetEventFirstSeen(v string) *Service { - s.EventFirstSeen = &v - return s -} - -// SetEventLastSeen sets the EventLastSeen field's value. -func (s *Service) SetEventLastSeen(v string) *Service { - s.EventLastSeen = &v - return s -} - -// SetResourceRole sets the ResourceRole field's value. -func (s *Service) SetResourceRole(v string) *Service { - s.ResourceRole = &v - return s -} - -// SetServiceName sets the ServiceName field's value. -func (s *Service) SetServiceName(v string) *Service { - s.ServiceName = &v - return s -} - -// SetUserFeedback sets the UserFeedback field's value. -func (s *Service) SetUserFeedback(v string) *Service { - s.UserFeedback = &v - return s -} - // Represents the criteria used for sorting findings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/SortCriteria type SortCriteria struct { @@ -6230,18 +4910,6 @@ func (s SortCriteria) GoString() string { return s.String() } -// SetAttributeName sets the AttributeName field's value. -func (s *SortCriteria) SetAttributeName(v string) *SortCriteria { - s.AttributeName = &v - return s -} - -// SetOrderBy sets the OrderBy field's value. -func (s *SortCriteria) SetOrderBy(v OrderBy) *SortCriteria { - s.OrderBy = v - return s -} - // StartMonitoringMembers request body. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembersRequest type StartMonitoringMembersInput struct { @@ -6279,18 +4947,6 @@ func (s *StartMonitoringMembersInput) Validate() error { return nil } -// SetAccountIds sets the AccountIds field's value. -func (s *StartMonitoringMembersInput) SetAccountIds(v []string) *StartMonitoringMembersInput { - s.AccountIds = v - return s -} - -// SetDetectorId sets the DetectorId field's value. -func (s *StartMonitoringMembersInput) SetDetectorId(v string) *StartMonitoringMembersInput { - s.DetectorId = &v - return s -} - // StartMonitoringMembers response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembersResponse type StartMonitoringMembersOutput struct { @@ -6318,12 +4974,6 @@ func (s StartMonitoringMembersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUnprocessedAccounts sets the UnprocessedAccounts field's value. -func (s *StartMonitoringMembersOutput) SetUnprocessedAccounts(v []UnprocessedAccount) *StartMonitoringMembersOutput { - s.UnprocessedAccounts = v - return s -} - // StopMonitoringMembers request body. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembersRequest type StopMonitoringMembersInput struct { @@ -6361,18 +5011,6 @@ func (s *StopMonitoringMembersInput) Validate() error { return nil } -// SetAccountIds sets the AccountIds field's value. -func (s *StopMonitoringMembersInput) SetAccountIds(v []string) *StopMonitoringMembersInput { - s.AccountIds = v - return s -} - -// SetDetectorId sets the DetectorId field's value. -func (s *StopMonitoringMembersInput) SetDetectorId(v string) *StopMonitoringMembersInput { - s.DetectorId = &v - return s -} - // StopMonitoringMembers response object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembersResponse type StopMonitoringMembersOutput struct { @@ -6400,12 +5038,6 @@ func (s StopMonitoringMembersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUnprocessedAccounts sets the UnprocessedAccounts field's value. -func (s *StopMonitoringMembersOutput) SetUnprocessedAccounts(v []UnprocessedAccount) *StopMonitoringMembersOutput { - s.UnprocessedAccounts = v - return s -} - // A tag of the EC2 instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Tag type Tag struct { @@ -6428,18 +5060,6 @@ func (s Tag) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Unrchive Findings Request // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindingsRequest type UnarchiveFindingsInput struct { @@ -6476,18 +5096,6 @@ func (s *UnarchiveFindingsInput) Validate() error { return nil } -// SetDetectorId sets the DetectorId field's value. -func (s *UnarchiveFindingsInput) SetDetectorId(v string) *UnarchiveFindingsInput { - s.DetectorId = &v - return s -} - -// SetFindingIds sets the FindingIds field's value. -func (s *UnarchiveFindingsInput) SetFindingIds(v []string) *UnarchiveFindingsInput { - s.FindingIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindingsResponse type UnarchiveFindingsOutput struct { _ struct{} `type:"structure"` @@ -6533,18 +5141,6 @@ func (s UnprocessedAccount) GoString() string { return s.String() } -// SetAccountId sets the AccountId field's value. -func (s *UnprocessedAccount) SetAccountId(v string) *UnprocessedAccount { - s.AccountId = &v - return s -} - -// SetResult sets the Result field's value. -func (s *UnprocessedAccount) SetResult(v string) *UnprocessedAccount { - s.Result = &v - return s -} - // Update Detector Request // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorRequest type UpdateDetectorInput struct { @@ -6582,18 +5178,6 @@ func (s *UpdateDetectorInput) Validate() error { return nil } -// SetDetectorId sets the DetectorId field's value. -func (s *UpdateDetectorInput) SetDetectorId(v string) *UpdateDetectorInput { - s.DetectorId = &v - return s -} - -// SetEnable sets the Enable field's value. -func (s *UpdateDetectorInput) SetEnable(v bool) *UpdateDetectorInput { - s.Enable = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorResponse type UpdateDetectorOutput struct { _ struct{} `type:"structure"` @@ -6658,30 +5242,6 @@ func (s *UpdateFindingsFeedbackInput) Validate() error { return nil } -// SetComments sets the Comments field's value. -func (s *UpdateFindingsFeedbackInput) SetComments(v string) *UpdateFindingsFeedbackInput { - s.Comments = &v - return s -} - -// SetDetectorId sets the DetectorId field's value. -func (s *UpdateFindingsFeedbackInput) SetDetectorId(v string) *UpdateFindingsFeedbackInput { - s.DetectorId = &v - return s -} - -// SetFeedback sets the Feedback field's value. -func (s *UpdateFindingsFeedbackInput) SetFeedback(v Feedback) *UpdateFindingsFeedbackInput { - s.Feedback = v - return s -} - -// SetFindingIds sets the FindingIds field's value. -func (s *UpdateFindingsFeedbackInput) SetFindingIds(v []string) *UpdateFindingsFeedbackInput { - s.FindingIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedbackResponse type UpdateFindingsFeedbackOutput struct { _ struct{} `type:"structure"` @@ -6753,36 +5313,6 @@ func (s *UpdateIPSetInput) Validate() error { return nil } -// SetActivate sets the Activate field's value. -func (s *UpdateIPSetInput) SetActivate(v bool) *UpdateIPSetInput { - s.Activate = &v - return s -} - -// SetDetectorId sets the DetectorId field's value. -func (s *UpdateIPSetInput) SetDetectorId(v string) *UpdateIPSetInput { - s.DetectorId = &v - return s -} - -// SetIpSetId sets the IpSetId field's value. -func (s *UpdateIPSetInput) SetIpSetId(v string) *UpdateIPSetInput { - s.IpSetId = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *UpdateIPSetInput) SetLocation(v string) *UpdateIPSetInput { - s.Location = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateIPSetInput) SetName(v string) *UpdateIPSetInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSetResponse type UpdateIPSetOutput struct { _ struct{} `type:"structure"` @@ -6856,36 +5386,6 @@ func (s *UpdateThreatIntelSetInput) Validate() error { return nil } -// SetActivate sets the Activate field's value. -func (s *UpdateThreatIntelSetInput) SetActivate(v bool) *UpdateThreatIntelSetInput { - s.Activate = &v - return s -} - -// SetDetectorId sets the DetectorId field's value. -func (s *UpdateThreatIntelSetInput) SetDetectorId(v string) *UpdateThreatIntelSetInput { - s.DetectorId = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *UpdateThreatIntelSetInput) SetLocation(v string) *UpdateThreatIntelSetInput { - s.Location = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateThreatIntelSetInput) SetName(v string) *UpdateThreatIntelSetInput { - s.Name = &v - return s -} - -// SetThreatIntelSetId sets the ThreatIntelSetId field's value. -func (s *UpdateThreatIntelSetInput) SetThreatIntelSetId(v string) *UpdateThreatIntelSetInput { - s.ThreatIntelSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSetResponse type UpdateThreatIntelSetOutput struct { _ struct{} `type:"structure"` diff --git a/service/health/api.go b/service/health/api.go index 01269a86847..17c4a910592 100644 --- a/service/health/api.go +++ b/service/health/api.go @@ -594,48 +594,6 @@ func (s AffectedEntity) GoString() string { return s.String() } -// SetAwsAccountId sets the AwsAccountId field's value. -func (s *AffectedEntity) SetAwsAccountId(v string) *AffectedEntity { - s.AwsAccountId = &v - return s -} - -// SetEntityArn sets the EntityArn field's value. -func (s *AffectedEntity) SetEntityArn(v string) *AffectedEntity { - s.EntityArn = &v - return s -} - -// SetEntityValue sets the EntityValue field's value. -func (s *AffectedEntity) SetEntityValue(v string) *AffectedEntity { - s.EntityValue = &v - return s -} - -// SetEventArn sets the EventArn field's value. -func (s *AffectedEntity) SetEventArn(v string) *AffectedEntity { - s.EventArn = &v - return s -} - -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *AffectedEntity) SetLastUpdatedTime(v time.Time) *AffectedEntity { - s.LastUpdatedTime = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *AffectedEntity) SetStatusCode(v EntityStatusCode) *AffectedEntity { - s.StatusCode = v - return s -} - -// SetTags sets the Tags field's value. -func (s *AffectedEntity) SetTags(v map[string]string) *AffectedEntity { - s.Tags = v - return s -} - // A range of dates and times that is used by the EventFilter and EntityFilter // objects. If from is set and to is set: match items where the timestamp (startTime, // endTime, or lastUpdatedTime) is between from and to inclusive. If from is @@ -663,18 +621,6 @@ func (s DateTimeRange) GoString() string { return s.String() } -// SetFrom sets the From field's value. -func (s *DateTimeRange) SetFrom(v time.Time) *DateTimeRange { - s.From = &v - return s -} - -// SetTo sets the To field's value. -func (s *DateTimeRange) SetTo(v time.Time) *DateTimeRange { - s.To = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeAffectedEntitiesRequest type DescribeAffectedEntitiesInput struct { _ struct{} `type:"structure"` @@ -734,30 +680,6 @@ func (s *DescribeAffectedEntitiesInput) Validate() error { return nil } -// SetFilter sets the Filter field's value. -func (s *DescribeAffectedEntitiesInput) SetFilter(v *EntityFilter) *DescribeAffectedEntitiesInput { - s.Filter = v - return s -} - -// SetLocale sets the Locale field's value. -func (s *DescribeAffectedEntitiesInput) SetLocale(v string) *DescribeAffectedEntitiesInput { - s.Locale = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeAffectedEntitiesInput) SetMaxResults(v int64) *DescribeAffectedEntitiesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAffectedEntitiesInput) SetNextToken(v string) *DescribeAffectedEntitiesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeAffectedEntitiesResponse type DescribeAffectedEntitiesOutput struct { _ struct{} `type:"structure"` @@ -790,18 +712,6 @@ func (s DescribeAffectedEntitiesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEntities sets the Entities field's value. -func (s *DescribeAffectedEntitiesOutput) SetEntities(v []AffectedEntity) *DescribeAffectedEntitiesOutput { - s.Entities = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAffectedEntitiesOutput) SetNextToken(v string) *DescribeAffectedEntitiesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEntityAggregatesRequest type DescribeEntityAggregatesInput struct { _ struct{} `type:"structure"` @@ -834,12 +744,6 @@ func (s *DescribeEntityAggregatesInput) Validate() error { return nil } -// SetEventArns sets the EventArns field's value. -func (s *DescribeEntityAggregatesInput) SetEventArns(v []string) *DescribeEntityAggregatesInput { - s.EventArns = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEntityAggregatesResponse type DescribeEntityAggregatesOutput struct { _ struct{} `type:"structure"` @@ -865,12 +769,6 @@ func (s DescribeEntityAggregatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEntityAggregates sets the EntityAggregates field's value. -func (s *DescribeEntityAggregatesOutput) SetEntityAggregates(v []EntityAggregate) *DescribeEntityAggregatesOutput { - s.EntityAggregates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventAggregatesRequest type DescribeEventAggregatesInput struct { _ struct{} `type:"structure"` @@ -925,30 +823,6 @@ func (s *DescribeEventAggregatesInput) Validate() error { return nil } -// SetAggregateField sets the AggregateField field's value. -func (s *DescribeEventAggregatesInput) SetAggregateField(v EventAggregateField) *DescribeEventAggregatesInput { - s.AggregateField = v - return s -} - -// SetFilter sets the Filter field's value. -func (s *DescribeEventAggregatesInput) SetFilter(v *EventFilter) *DescribeEventAggregatesInput { - s.Filter = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeEventAggregatesInput) SetMaxResults(v int64) *DescribeEventAggregatesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEventAggregatesInput) SetNextToken(v string) *DescribeEventAggregatesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventAggregatesResponse type DescribeEventAggregatesOutput struct { _ struct{} `type:"structure"` @@ -981,18 +855,6 @@ func (s DescribeEventAggregatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventAggregates sets the EventAggregates field's value. -func (s *DescribeEventAggregatesOutput) SetEventAggregates(v []EventAggregate) *DescribeEventAggregatesOutput { - s.EventAggregates = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEventAggregatesOutput) SetNextToken(v string) *DescribeEventAggregatesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventDetailsRequest type DescribeEventDetailsInput struct { _ struct{} `type:"structure"` @@ -1038,18 +900,6 @@ func (s *DescribeEventDetailsInput) Validate() error { return nil } -// SetEventArns sets the EventArns field's value. -func (s *DescribeEventDetailsInput) SetEventArns(v []string) *DescribeEventDetailsInput { - s.EventArns = v - return s -} - -// SetLocale sets the Locale field's value. -func (s *DescribeEventDetailsInput) SetLocale(v string) *DescribeEventDetailsInput { - s.Locale = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventDetailsResponse type DescribeEventDetailsOutput struct { _ struct{} `type:"structure"` @@ -1078,18 +928,6 @@ func (s DescribeEventDetailsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailedSet sets the FailedSet field's value. -func (s *DescribeEventDetailsOutput) SetFailedSet(v []EventDetailsErrorItem) *DescribeEventDetailsOutput { - s.FailedSet = v - return s -} - -// SetSuccessfulSet sets the SuccessfulSet field's value. -func (s *DescribeEventDetailsOutput) SetSuccessfulSet(v []EventDetails) *DescribeEventDetailsOutput { - s.SuccessfulSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventTypesRequest type DescribeEventTypesInput struct { _ struct{} `type:"structure"` @@ -1143,30 +981,6 @@ func (s *DescribeEventTypesInput) Validate() error { return nil } -// SetFilter sets the Filter field's value. -func (s *DescribeEventTypesInput) SetFilter(v *EventTypeFilter) *DescribeEventTypesInput { - s.Filter = v - return s -} - -// SetLocale sets the Locale field's value. -func (s *DescribeEventTypesInput) SetLocale(v string) *DescribeEventTypesInput { - s.Locale = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeEventTypesInput) SetMaxResults(v int64) *DescribeEventTypesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEventTypesInput) SetNextToken(v string) *DescribeEventTypesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventTypesResponse type DescribeEventTypesOutput struct { _ struct{} `type:"structure"` @@ -1202,18 +1016,6 @@ func (s DescribeEventTypesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventTypes sets the EventTypes field's value. -func (s *DescribeEventTypesOutput) SetEventTypes(v []EventType) *DescribeEventTypesOutput { - s.EventTypes = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEventTypesOutput) SetNextToken(v string) *DescribeEventTypesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventsRequest type DescribeEventsInput struct { _ struct{} `type:"structure"` @@ -1267,30 +1069,6 @@ func (s *DescribeEventsInput) Validate() error { return nil } -// SetFilter sets the Filter field's value. -func (s *DescribeEventsInput) SetFilter(v *EventFilter) *DescribeEventsInput { - s.Filter = v - return s -} - -// SetLocale sets the Locale field's value. -func (s *DescribeEventsInput) SetLocale(v string) *DescribeEventsInput { - s.Locale = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeEventsInput) SetMaxResults(v int64) *DescribeEventsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEventsInput) SetNextToken(v string) *DescribeEventsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventsResponse type DescribeEventsOutput struct { _ struct{} `type:"structure"` @@ -1323,18 +1101,6 @@ func (s DescribeEventsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEvents sets the Events field's value. -func (s *DescribeEventsOutput) SetEvents(v []Event) *DescribeEventsOutput { - s.Events = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEventsOutput) SetNextToken(v string) *DescribeEventsOutput { - s.NextToken = &v - return s -} - // The number of entities that are affected by one or more events. Returned // by the DescribeEntityAggregates operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EntityAggregate @@ -1359,18 +1125,6 @@ func (s EntityAggregate) GoString() string { return s.String() } -// SetCount sets the Count field's value. -func (s *EntityAggregate) SetCount(v int64) *EntityAggregate { - s.Count = &v - return s -} - -// SetEventArn sets the EventArn field's value. -func (s *EntityAggregate) SetEventArn(v string) *EntityAggregate { - s.EventArn = &v - return s -} - // The values to use to filter results from the DescribeAffectedEntities operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EntityFilter type EntityFilter struct { @@ -1437,42 +1191,6 @@ func (s *EntityFilter) Validate() error { return nil } -// SetEntityArns sets the EntityArns field's value. -func (s *EntityFilter) SetEntityArns(v []string) *EntityFilter { - s.EntityArns = v - return s -} - -// SetEntityValues sets the EntityValues field's value. -func (s *EntityFilter) SetEntityValues(v []string) *EntityFilter { - s.EntityValues = v - return s -} - -// SetEventArns sets the EventArns field's value. -func (s *EntityFilter) SetEventArns(v []string) *EntityFilter { - s.EventArns = v - return s -} - -// SetLastUpdatedTimes sets the LastUpdatedTimes field's value. -func (s *EntityFilter) SetLastUpdatedTimes(v []DateTimeRange) *EntityFilter { - s.LastUpdatedTimes = v - return s -} - -// SetStatusCodes sets the StatusCodes field's value. -func (s *EntityFilter) SetStatusCodes(v []EntityStatusCode) *EntityFilter { - s.StatusCodes = v - return s -} - -// SetTags sets the Tags field's value. -func (s *EntityFilter) SetTags(v []map[string]string) *EntityFilter { - s.Tags = v - return s -} - // Summary information about an event, returned by the DescribeEvents operation. // The DescribeEventDetails operation also returns this information, as well // as the EventDescription and additional event metadata. @@ -1524,66 +1242,6 @@ func (s Event) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Event) SetArn(v string) *Event { - s.Arn = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *Event) SetAvailabilityZone(v string) *Event { - s.AvailabilityZone = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *Event) SetEndTime(v time.Time) *Event { - s.EndTime = &v - return s -} - -// SetEventTypeCategory sets the EventTypeCategory field's value. -func (s *Event) SetEventTypeCategory(v EventTypeCategory) *Event { - s.EventTypeCategory = v - return s -} - -// SetEventTypeCode sets the EventTypeCode field's value. -func (s *Event) SetEventTypeCode(v string) *Event { - s.EventTypeCode = &v - return s -} - -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *Event) SetLastUpdatedTime(v time.Time) *Event { - s.LastUpdatedTime = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *Event) SetRegion(v string) *Event { - s.Region = &v - return s -} - -// SetService sets the Service field's value. -func (s *Event) SetService(v string) *Event { - s.Service = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *Event) SetStartTime(v time.Time) *Event { - s.StartTime = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *Event) SetStatusCode(v EventStatusCode) *Event { - s.StatusCode = v - return s -} - // The number of events of each issue type. Returned by the DescribeEventAggregates // operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EventAggregate @@ -1607,18 +1265,6 @@ func (s EventAggregate) GoString() string { return s.String() } -// SetAggregateValue sets the AggregateValue field's value. -func (s *EventAggregate) SetAggregateValue(v string) *EventAggregate { - s.AggregateValue = &v - return s -} - -// SetCount sets the Count field's value. -func (s *EventAggregate) SetCount(v int64) *EventAggregate { - s.Count = &v - return s -} - // The detailed description of the event. Included in the information returned // by the DescribeEventDetails operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EventDescription @@ -1639,12 +1285,6 @@ func (s EventDescription) GoString() string { return s.String() } -// SetLatestDescription sets the LatestDescription field's value. -func (s *EventDescription) SetLatestDescription(v string) *EventDescription { - s.LatestDescription = &v - return s -} - // Detailed information about an event. A combination of an Event object, an // EventDescription object, and additional metadata about the event. Returned // by the DescribeEventDetails operation. @@ -1672,24 +1312,6 @@ func (s EventDetails) GoString() string { return s.String() } -// SetEvent sets the Event field's value. -func (s *EventDetails) SetEvent(v *Event) *EventDetails { - s.Event = v - return s -} - -// SetEventDescription sets the EventDescription field's value. -func (s *EventDetails) SetEventDescription(v *EventDescription) *EventDetails { - s.EventDescription = v - return s -} - -// SetEventMetadata sets the EventMetadata field's value. -func (s *EventDetails) SetEventMetadata(v map[string]string) *EventDetails { - s.EventMetadata = v - return s -} - // Error information returned when a DescribeEventDetails operation cannot find // a specified event. // Please also see https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EventDetailsErrorItem @@ -1717,24 +1339,6 @@ func (s EventDetailsErrorItem) GoString() string { return s.String() } -// SetErrorMessage sets the ErrorMessage field's value. -func (s *EventDetailsErrorItem) SetErrorMessage(v string) *EventDetailsErrorItem { - s.ErrorMessage = &v - return s -} - -// SetErrorName sets the ErrorName field's value. -func (s *EventDetailsErrorItem) SetErrorName(v string) *EventDetailsErrorItem { - s.ErrorName = &v - return s -} - -// SetEventArn sets the EventArn field's value. -func (s *EventDetailsErrorItem) SetEventArn(v string) *EventDetailsErrorItem { - s.EventArn = &v - return s -} - // The values to use to filter results from the DescribeEvents and DescribeEventAggregates // operations. // Please also see https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EventFilter @@ -1836,84 +1440,6 @@ func (s *EventFilter) Validate() error { return nil } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *EventFilter) SetAvailabilityZones(v []string) *EventFilter { - s.AvailabilityZones = v - return s -} - -// SetEndTimes sets the EndTimes field's value. -func (s *EventFilter) SetEndTimes(v []DateTimeRange) *EventFilter { - s.EndTimes = v - return s -} - -// SetEntityArns sets the EntityArns field's value. -func (s *EventFilter) SetEntityArns(v []string) *EventFilter { - s.EntityArns = v - return s -} - -// SetEntityValues sets the EntityValues field's value. -func (s *EventFilter) SetEntityValues(v []string) *EventFilter { - s.EntityValues = v - return s -} - -// SetEventArns sets the EventArns field's value. -func (s *EventFilter) SetEventArns(v []string) *EventFilter { - s.EventArns = v - return s -} - -// SetEventStatusCodes sets the EventStatusCodes field's value. -func (s *EventFilter) SetEventStatusCodes(v []EventStatusCode) *EventFilter { - s.EventStatusCodes = v - return s -} - -// SetEventTypeCategories sets the EventTypeCategories field's value. -func (s *EventFilter) SetEventTypeCategories(v []EventTypeCategory) *EventFilter { - s.EventTypeCategories = v - return s -} - -// SetEventTypeCodes sets the EventTypeCodes field's value. -func (s *EventFilter) SetEventTypeCodes(v []string) *EventFilter { - s.EventTypeCodes = v - return s -} - -// SetLastUpdatedTimes sets the LastUpdatedTimes field's value. -func (s *EventFilter) SetLastUpdatedTimes(v []DateTimeRange) *EventFilter { - s.LastUpdatedTimes = v - return s -} - -// SetRegions sets the Regions field's value. -func (s *EventFilter) SetRegions(v []string) *EventFilter { - s.Regions = v - return s -} - -// SetServices sets the Services field's value. -func (s *EventFilter) SetServices(v []string) *EventFilter { - s.Services = v - return s -} - -// SetStartTimes sets the StartTimes field's value. -func (s *EventFilter) SetStartTimes(v []DateTimeRange) *EventFilter { - s.StartTimes = v - return s -} - -// SetTags sets the Tags field's value. -func (s *EventFilter) SetTags(v []map[string]string) *EventFilter { - s.Tags = v - return s -} - // Metadata about a type of event that is reported by AWS Health. Data consists // of the category (for example, issue), the service (for example, EC2), and // the event type code (for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT). @@ -1942,24 +1468,6 @@ func (s EventType) GoString() string { return s.String() } -// SetCategory sets the Category field's value. -func (s *EventType) SetCategory(v EventTypeCategory) *EventType { - s.Category = v - return s -} - -// SetCode sets the Code field's value. -func (s *EventType) SetCode(v string) *EventType { - s.Code = &v - return s -} - -// SetService sets the Service field's value. -func (s *EventType) SetService(v string) *EventType { - s.Service = &v - return s -} - // The values to use to filter results from the DescribeEventTypes operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EventTypeFilter type EventTypeFilter struct { @@ -2004,24 +1512,6 @@ func (s *EventTypeFilter) Validate() error { return nil } -// SetEventTypeCategories sets the EventTypeCategories field's value. -func (s *EventTypeFilter) SetEventTypeCategories(v []EventTypeCategory) *EventTypeFilter { - s.EventTypeCategories = v - return s -} - -// SetEventTypeCodes sets the EventTypeCodes field's value. -func (s *EventTypeFilter) SetEventTypeCodes(v []string) *EventTypeFilter { - s.EventTypeCodes = v - return s -} - -// SetServices sets the Services field's value. -func (s *EventTypeFilter) SetServices(v []string) *EventTypeFilter { - s.Services = v - return s -} - type EntityStatusCode string // Enum values for EntityStatusCode diff --git a/service/iam/api.go b/service/iam/api.go index 2f51924ea4d..da457564e6a 100644 --- a/service/iam/api.go +++ b/service/iam/api.go @@ -8544,36 +8544,6 @@ func (s AccessKey) GoString() string { return s.String() } -// SetAccessKeyId sets the AccessKeyId field's value. -func (s *AccessKey) SetAccessKeyId(v string) *AccessKey { - s.AccessKeyId = &v - return s -} - -// SetCreateDate sets the CreateDate field's value. -func (s *AccessKey) SetCreateDate(v time.Time) *AccessKey { - s.CreateDate = &v - return s -} - -// SetSecretAccessKey sets the SecretAccessKey field's value. -func (s *AccessKey) SetSecretAccessKey(v string) *AccessKey { - s.SecretAccessKey = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *AccessKey) SetStatus(v StatusType) *AccessKey { - s.Status = v - return s -} - -// SetUserName sets the UserName field's value. -func (s *AccessKey) SetUserName(v string) *AccessKey { - s.UserName = &v - return s -} - // Contains information about the last time an AWS access key was used. // // This data type is used as a response element in the GetAccessKeyLastUsed @@ -8635,24 +8605,6 @@ func (s AccessKeyLastUsed) GoString() string { return s.String() } -// SetLastUsedDate sets the LastUsedDate field's value. -func (s *AccessKeyLastUsed) SetLastUsedDate(v time.Time) *AccessKeyLastUsed { - s.LastUsedDate = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *AccessKeyLastUsed) SetRegion(v string) *AccessKeyLastUsed { - s.Region = &v - return s -} - -// SetServiceName sets the ServiceName field's value. -func (s *AccessKeyLastUsed) SetServiceName(v string) *AccessKeyLastUsed { - s.ServiceName = &v - return s -} - // Contains information about an AWS access key, without its secret key. // // This data type is used as a response element in the ListAccessKeys action. @@ -8684,30 +8636,6 @@ func (s AccessKeyMetadata) GoString() string { return s.String() } -// SetAccessKeyId sets the AccessKeyId field's value. -func (s *AccessKeyMetadata) SetAccessKeyId(v string) *AccessKeyMetadata { - s.AccessKeyId = &v - return s -} - -// SetCreateDate sets the CreateDate field's value. -func (s *AccessKeyMetadata) SetCreateDate(v time.Time) *AccessKeyMetadata { - s.CreateDate = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *AccessKeyMetadata) SetStatus(v StatusType) *AccessKeyMetadata { - s.Status = v - return s -} - -// SetUserName sets the UserName field's value. -func (s *AccessKeyMetadata) SetUserName(v string) *AccessKeyMetadata { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddClientIDToOpenIDConnectProviderRequest type AddClientIDToOpenIDConnectProviderInput struct { _ struct{} `type:"structure"` @@ -8760,18 +8688,6 @@ func (s *AddClientIDToOpenIDConnectProviderInput) Validate() error { return nil } -// SetClientID sets the ClientID field's value. -func (s *AddClientIDToOpenIDConnectProviderInput) SetClientID(v string) *AddClientIDToOpenIDConnectProviderInput { - s.ClientID = &v - return s -} - -// SetOpenIDConnectProviderArn sets the OpenIDConnectProviderArn field's value. -func (s *AddClientIDToOpenIDConnectProviderInput) SetOpenIDConnectProviderArn(v string) *AddClientIDToOpenIDConnectProviderInput { - s.OpenIDConnectProviderArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddClientIDToOpenIDConnectProviderOutput type AddClientIDToOpenIDConnectProviderOutput struct { _ struct{} `type:"structure"` @@ -8851,18 +8767,6 @@ func (s *AddRoleToInstanceProfileInput) Validate() error { return nil } -// SetInstanceProfileName sets the InstanceProfileName field's value. -func (s *AddRoleToInstanceProfileInput) SetInstanceProfileName(v string) *AddRoleToInstanceProfileInput { - s.InstanceProfileName = &v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *AddRoleToInstanceProfileInput) SetRoleName(v string) *AddRoleToInstanceProfileInput { - s.RoleName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddRoleToInstanceProfileOutput type AddRoleToInstanceProfileOutput struct { _ struct{} `type:"structure"` @@ -8942,18 +8846,6 @@ func (s *AddUserToGroupInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *AddUserToGroupInput) SetGroupName(v string) *AddUserToGroupInput { - s.GroupName = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *AddUserToGroupInput) SetUserName(v string) *AddUserToGroupInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddUserToGroupOutput type AddUserToGroupOutput struct { _ struct{} `type:"structure"` @@ -9033,18 +8925,6 @@ func (s *AttachGroupPolicyInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *AttachGroupPolicyInput) SetGroupName(v string) *AttachGroupPolicyInput { - s.GroupName = &v - return s -} - -// SetPolicyArn sets the PolicyArn field's value. -func (s *AttachGroupPolicyInput) SetPolicyArn(v string) *AttachGroupPolicyInput { - s.PolicyArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachGroupPolicyOutput type AttachGroupPolicyOutput struct { _ struct{} `type:"structure"` @@ -9124,18 +9004,6 @@ func (s *AttachRolePolicyInput) Validate() error { return nil } -// SetPolicyArn sets the PolicyArn field's value. -func (s *AttachRolePolicyInput) SetPolicyArn(v string) *AttachRolePolicyInput { - s.PolicyArn = &v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *AttachRolePolicyInput) SetRoleName(v string) *AttachRolePolicyInput { - s.RoleName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachRolePolicyOutput type AttachRolePolicyOutput struct { _ struct{} `type:"structure"` @@ -9215,18 +9083,6 @@ func (s *AttachUserPolicyInput) Validate() error { return nil } -// SetPolicyArn sets the PolicyArn field's value. -func (s *AttachUserPolicyInput) SetPolicyArn(v string) *AttachUserPolicyInput { - s.PolicyArn = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *AttachUserPolicyInput) SetUserName(v string) *AttachUserPolicyInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachUserPolicyOutput type AttachUserPolicyOutput struct { _ struct{} `type:"structure"` @@ -9284,18 +9140,6 @@ func (s AttachedPolicy) GoString() string { return s.String() } -// SetPolicyArn sets the PolicyArn field's value. -func (s *AttachedPolicy) SetPolicyArn(v string) *AttachedPolicy { - s.PolicyArn = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *AttachedPolicy) SetPolicyName(v string) *AttachedPolicy { - s.PolicyName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ChangePasswordRequest type ChangePasswordInput struct { _ struct{} `type:"structure"` @@ -9355,18 +9199,6 @@ func (s *ChangePasswordInput) Validate() error { return nil } -// SetNewPassword sets the NewPassword field's value. -func (s *ChangePasswordInput) SetNewPassword(v string) *ChangePasswordInput { - s.NewPassword = &v - return s -} - -// SetOldPassword sets the OldPassword field's value. -func (s *ChangePasswordInput) SetOldPassword(v string) *ChangePasswordInput { - s.OldPassword = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ChangePasswordOutput type ChangePasswordOutput struct { _ struct{} `type:"structure"` @@ -9437,24 +9269,6 @@ func (s *ContextEntry) Validate() error { return nil } -// SetContextKeyName sets the ContextKeyName field's value. -func (s *ContextEntry) SetContextKeyName(v string) *ContextEntry { - s.ContextKeyName = &v - return s -} - -// SetContextKeyType sets the ContextKeyType field's value. -func (s *ContextEntry) SetContextKeyType(v ContextKeyTypeEnum) *ContextEntry { - s.ContextKeyType = v - return s -} - -// SetContextKeyValues sets the ContextKeyValues field's value. -func (s *ContextEntry) SetContextKeyValues(v []string) *ContextEntry { - s.ContextKeyValues = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccessKeyRequest type CreateAccessKeyInput struct { _ struct{} `type:"structure"` @@ -9490,12 +9304,6 @@ func (s *CreateAccessKeyInput) Validate() error { return nil } -// SetUserName sets the UserName field's value. -func (s *CreateAccessKeyInput) SetUserName(v string) *CreateAccessKeyInput { - s.UserName = &v - return s -} - // Contains the response to a successful CreateAccessKey request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccessKeyResponse type CreateAccessKeyOutput struct { @@ -9524,12 +9332,6 @@ func (s CreateAccessKeyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAccessKey sets the AccessKey field's value. -func (s *CreateAccessKeyOutput) SetAccessKey(v *AccessKey) *CreateAccessKeyOutput { - s.AccessKey = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccountAliasRequest type CreateAccountAliasInput struct { _ struct{} `type:"structure"` @@ -9572,12 +9374,6 @@ func (s *CreateAccountAliasInput) Validate() error { return nil } -// SetAccountAlias sets the AccountAlias field's value. -func (s *CreateAccountAliasInput) SetAccountAlias(v string) *CreateAccountAliasInput { - s.AccountAlias = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccountAliasOutput type CreateAccountAliasOutput struct { _ struct{} `type:"structure"` @@ -9660,18 +9456,6 @@ func (s *CreateGroupInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *CreateGroupInput) SetGroupName(v string) *CreateGroupInput { - s.GroupName = &v - return s -} - -// SetPath sets the Path field's value. -func (s *CreateGroupInput) SetPath(v string) *CreateGroupInput { - s.Path = &v - return s -} - // Contains the response to a successful CreateGroup request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateGroupResponse type CreateGroupOutput struct { @@ -9700,12 +9484,6 @@ func (s CreateGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroup sets the Group field's value. -func (s *CreateGroupOutput) SetGroup(v *Group) *CreateGroupOutput { - s.Group = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateInstanceProfileRequest type CreateInstanceProfileInput struct { _ struct{} `type:"structure"` @@ -9764,18 +9542,6 @@ func (s *CreateInstanceProfileInput) Validate() error { return nil } -// SetInstanceProfileName sets the InstanceProfileName field's value. -func (s *CreateInstanceProfileInput) SetInstanceProfileName(v string) *CreateInstanceProfileInput { - s.InstanceProfileName = &v - return s -} - -// SetPath sets the Path field's value. -func (s *CreateInstanceProfileInput) SetPath(v string) *CreateInstanceProfileInput { - s.Path = &v - return s -} - // Contains the response to a successful CreateInstanceProfile request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateInstanceProfileResponse type CreateInstanceProfileOutput struct { @@ -9804,12 +9570,6 @@ func (s CreateInstanceProfileOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceProfile sets the InstanceProfile field's value. -func (s *CreateInstanceProfileOutput) SetInstanceProfile(v *InstanceProfile) *CreateInstanceProfileOutput { - s.InstanceProfile = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateLoginProfileRequest type CreateLoginProfileInput struct { _ struct{} `type:"structure"` @@ -9876,24 +9636,6 @@ func (s *CreateLoginProfileInput) Validate() error { return nil } -// SetPassword sets the Password field's value. -func (s *CreateLoginProfileInput) SetPassword(v string) *CreateLoginProfileInput { - s.Password = &v - return s -} - -// SetPasswordResetRequired sets the PasswordResetRequired field's value. -func (s *CreateLoginProfileInput) SetPasswordResetRequired(v bool) *CreateLoginProfileInput { - s.PasswordResetRequired = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *CreateLoginProfileInput) SetUserName(v string) *CreateLoginProfileInput { - s.UserName = &v - return s -} - // Contains the response to a successful CreateLoginProfile request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateLoginProfileResponse type CreateLoginProfileOutput struct { @@ -9922,12 +9664,6 @@ func (s CreateLoginProfileOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLoginProfile sets the LoginProfile field's value. -func (s *CreateLoginProfileOutput) SetLoginProfile(v *LoginProfile) *CreateLoginProfileOutput { - s.LoginProfile = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateOpenIDConnectProviderRequest type CreateOpenIDConnectProviderInput struct { _ struct{} `type:"structure"` @@ -10013,24 +9749,6 @@ func (s *CreateOpenIDConnectProviderInput) Validate() error { return nil } -// SetClientIDList sets the ClientIDList field's value. -func (s *CreateOpenIDConnectProviderInput) SetClientIDList(v []string) *CreateOpenIDConnectProviderInput { - s.ClientIDList = v - return s -} - -// SetThumbprintList sets the ThumbprintList field's value. -func (s *CreateOpenIDConnectProviderInput) SetThumbprintList(v []string) *CreateOpenIDConnectProviderInput { - s.ThumbprintList = v - return s -} - -// SetUrl sets the Url field's value. -func (s *CreateOpenIDConnectProviderInput) SetUrl(v string) *CreateOpenIDConnectProviderInput { - s.Url = &v - return s -} - // Contains the response to a successful CreateOpenIDConnectProvider request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateOpenIDConnectProviderResponse type CreateOpenIDConnectProviderOutput struct { @@ -10058,12 +9776,6 @@ func (s CreateOpenIDConnectProviderOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOpenIDConnectProviderArn sets the OpenIDConnectProviderArn field's value. -func (s *CreateOpenIDConnectProviderOutput) SetOpenIDConnectProviderArn(v string) *CreateOpenIDConnectProviderOutput { - s.OpenIDConnectProviderArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicyRequest type CreatePolicyInput struct { _ struct{} `type:"structure"` @@ -10149,30 +9861,6 @@ func (s *CreatePolicyInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreatePolicyInput) SetDescription(v string) *CreatePolicyInput { - s.Description = &v - return s -} - -// SetPath sets the Path field's value. -func (s *CreatePolicyInput) SetPath(v string) *CreatePolicyInput { - s.Path = &v - return s -} - -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *CreatePolicyInput) SetPolicyDocument(v string) *CreatePolicyInput { - s.PolicyDocument = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *CreatePolicyInput) SetPolicyName(v string) *CreatePolicyInput { - s.PolicyName = &v - return s -} - // Contains the response to a successful CreatePolicy request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicyResponse type CreatePolicyOutput struct { @@ -10199,12 +9887,6 @@ func (s CreatePolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicy sets the Policy field's value. -func (s *CreatePolicyOutput) SetPolicy(v *Policy) *CreatePolicyOutput { - s.Policy = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicyVersionRequest type CreatePolicyVersionInput struct { _ struct{} `type:"structure"` @@ -10278,24 +9960,6 @@ func (s *CreatePolicyVersionInput) Validate() error { return nil } -// SetPolicyArn sets the PolicyArn field's value. -func (s *CreatePolicyVersionInput) SetPolicyArn(v string) *CreatePolicyVersionInput { - s.PolicyArn = &v - return s -} - -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *CreatePolicyVersionInput) SetPolicyDocument(v string) *CreatePolicyVersionInput { - s.PolicyDocument = &v - return s -} - -// SetSetAsDefault sets the SetAsDefault field's value. -func (s *CreatePolicyVersionInput) SetSetAsDefault(v bool) *CreatePolicyVersionInput { - s.SetAsDefault = &v - return s -} - // Contains the response to a successful CreatePolicyVersion request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicyVersionResponse type CreatePolicyVersionOutput struct { @@ -10322,12 +9986,6 @@ func (s CreatePolicyVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicyVersion sets the PolicyVersion field's value. -func (s *CreatePolicyVersionOutput) SetPolicyVersion(v *PolicyVersion) *CreatePolicyVersionOutput { - s.PolicyVersion = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateRoleRequest type CreateRoleInput struct { _ struct{} `type:"structure"` @@ -10412,30 +10070,6 @@ func (s *CreateRoleInput) Validate() error { return nil } -// SetAssumeRolePolicyDocument sets the AssumeRolePolicyDocument field's value. -func (s *CreateRoleInput) SetAssumeRolePolicyDocument(v string) *CreateRoleInput { - s.AssumeRolePolicyDocument = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateRoleInput) SetDescription(v string) *CreateRoleInput { - s.Description = &v - return s -} - -// SetPath sets the Path field's value. -func (s *CreateRoleInput) SetPath(v string) *CreateRoleInput { - s.Path = &v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *CreateRoleInput) SetRoleName(v string) *CreateRoleInput { - s.RoleName = &v - return s -} - // Contains the response to a successful CreateRole request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateRoleResponse type CreateRoleOutput struct { @@ -10464,12 +10098,6 @@ func (s CreateRoleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRole sets the Role field's value. -func (s *CreateRoleOutput) SetRole(v *Role) *CreateRoleOutput { - s.Role = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateSAMLProviderRequest type CreateSAMLProviderInput struct { _ struct{} `type:"structure"` @@ -10530,18 +10158,6 @@ func (s *CreateSAMLProviderInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *CreateSAMLProviderInput) SetName(v string) *CreateSAMLProviderInput { - s.Name = &v - return s -} - -// SetSAMLMetadataDocument sets the SAMLMetadataDocument field's value. -func (s *CreateSAMLProviderInput) SetSAMLMetadataDocument(v string) *CreateSAMLProviderInput { - s.SAMLMetadataDocument = &v - return s -} - // Contains the response to a successful CreateSAMLProvider request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateSAMLProviderResponse type CreateSAMLProviderOutput struct { @@ -10568,12 +10184,6 @@ func (s CreateSAMLProviderOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSAMLProviderArn sets the SAMLProviderArn field's value. -func (s *CreateSAMLProviderOutput) SetSAMLProviderArn(v string) *CreateSAMLProviderOutput { - s.SAMLProviderArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceLinkedRoleRequest type CreateServiceLinkedRoleInput struct { _ struct{} `type:"structure"` @@ -10625,24 +10235,6 @@ func (s *CreateServiceLinkedRoleInput) Validate() error { return nil } -// SetAWSServiceName sets the AWSServiceName field's value. -func (s *CreateServiceLinkedRoleInput) SetAWSServiceName(v string) *CreateServiceLinkedRoleInput { - s.AWSServiceName = &v - return s -} - -// SetCustomSuffix sets the CustomSuffix field's value. -func (s *CreateServiceLinkedRoleInput) SetCustomSuffix(v string) *CreateServiceLinkedRoleInput { - s.CustomSuffix = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateServiceLinkedRoleInput) SetDescription(v string) *CreateServiceLinkedRoleInput { - s.Description = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceLinkedRoleResponse type CreateServiceLinkedRoleOutput struct { _ struct{} `type:"structure"` @@ -10668,12 +10260,6 @@ func (s CreateServiceLinkedRoleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRole sets the Role field's value. -func (s *CreateServiceLinkedRoleOutput) SetRole(v *Role) *CreateServiceLinkedRoleOutput { - s.Role = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceSpecificCredentialRequest type CreateServiceSpecificCredentialInput struct { _ struct{} `type:"structure"` @@ -10728,18 +10314,6 @@ func (s *CreateServiceSpecificCredentialInput) Validate() error { return nil } -// SetServiceName sets the ServiceName field's value. -func (s *CreateServiceSpecificCredentialInput) SetServiceName(v string) *CreateServiceSpecificCredentialInput { - s.ServiceName = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *CreateServiceSpecificCredentialInput) SetUserName(v string) *CreateServiceSpecificCredentialInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceSpecificCredentialResponse type CreateServiceSpecificCredentialOutput struct { _ struct{} `type:"structure"` @@ -10770,12 +10344,6 @@ func (s CreateServiceSpecificCredentialOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetServiceSpecificCredential sets the ServiceSpecificCredential field's value. -func (s *CreateServiceSpecificCredentialOutput) SetServiceSpecificCredential(v *ServiceSpecificCredential) *CreateServiceSpecificCredentialOutput { - s.ServiceSpecificCredential = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateUserRequest type CreateUserInput struct { _ struct{} `type:"structure"` @@ -10836,18 +10404,6 @@ func (s *CreateUserInput) Validate() error { return nil } -// SetPath sets the Path field's value. -func (s *CreateUserInput) SetPath(v string) *CreateUserInput { - s.Path = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *CreateUserInput) SetUserName(v string) *CreateUserInput { - s.UserName = &v - return s -} - // Contains the response to a successful CreateUser request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateUserResponse type CreateUserOutput struct { @@ -10874,12 +10430,6 @@ func (s CreateUserOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUser sets the User field's value. -func (s *CreateUserOutput) SetUser(v *User) *CreateUserOutput { - s.User = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateVirtualMFADeviceRequest type CreateVirtualMFADeviceInput struct { _ struct{} `type:"structure"` @@ -10939,18 +10489,6 @@ func (s *CreateVirtualMFADeviceInput) Validate() error { return nil } -// SetPath sets the Path field's value. -func (s *CreateVirtualMFADeviceInput) SetPath(v string) *CreateVirtualMFADeviceInput { - s.Path = &v - return s -} - -// SetVirtualMFADeviceName sets the VirtualMFADeviceName field's value. -func (s *CreateVirtualMFADeviceInput) SetVirtualMFADeviceName(v string) *CreateVirtualMFADeviceInput { - s.VirtualMFADeviceName = &v - return s -} - // Contains the response to a successful CreateVirtualMFADevice request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateVirtualMFADeviceResponse type CreateVirtualMFADeviceOutput struct { @@ -10979,12 +10517,6 @@ func (s CreateVirtualMFADeviceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVirtualMFADevice sets the VirtualMFADevice field's value. -func (s *CreateVirtualMFADeviceOutput) SetVirtualMFADevice(v *VirtualMFADevice) *CreateVirtualMFADeviceOutput { - s.VirtualMFADevice = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeactivateMFADeviceRequest type DeactivateMFADeviceInput struct { _ struct{} `type:"structure"` @@ -11043,18 +10575,6 @@ func (s *DeactivateMFADeviceInput) Validate() error { return nil } -// SetSerialNumber sets the SerialNumber field's value. -func (s *DeactivateMFADeviceInput) SetSerialNumber(v string) *DeactivateMFADeviceInput { - s.SerialNumber = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *DeactivateMFADeviceInput) SetUserName(v string) *DeactivateMFADeviceInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeactivateMFADeviceOutput type DeactivateMFADeviceOutput struct { _ struct{} `type:"structure"` @@ -11129,18 +10649,6 @@ func (s *DeleteAccessKeyInput) Validate() error { return nil } -// SetAccessKeyId sets the AccessKeyId field's value. -func (s *DeleteAccessKeyInput) SetAccessKeyId(v string) *DeleteAccessKeyInput { - s.AccessKeyId = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *DeleteAccessKeyInput) SetUserName(v string) *DeleteAccessKeyInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccessKeyOutput type DeleteAccessKeyOutput struct { _ struct{} `type:"structure"` @@ -11205,12 +10713,6 @@ func (s *DeleteAccountAliasInput) Validate() error { return nil } -// SetAccountAlias sets the AccountAlias field's value. -func (s *DeleteAccountAliasInput) SetAccountAlias(v string) *DeleteAccountAliasInput { - s.AccountAlias = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountAliasOutput type DeleteAccountAliasOutput struct { _ struct{} `type:"structure"` @@ -11311,12 +10813,6 @@ func (s *DeleteGroupInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *DeleteGroupInput) SetGroupName(v string) *DeleteGroupInput { - s.GroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroupOutput type DeleteGroupOutput struct { _ struct{} `type:"structure"` @@ -11397,18 +10893,6 @@ func (s *DeleteGroupPolicyInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *DeleteGroupPolicyInput) SetGroupName(v string) *DeleteGroupPolicyInput { - s.GroupName = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *DeleteGroupPolicyInput) SetPolicyName(v string) *DeleteGroupPolicyInput { - s.PolicyName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroupPolicyOutput type DeleteGroupPolicyOutput struct { _ struct{} `type:"structure"` @@ -11472,12 +10956,6 @@ func (s *DeleteInstanceProfileInput) Validate() error { return nil } -// SetInstanceProfileName sets the InstanceProfileName field's value. -func (s *DeleteInstanceProfileInput) SetInstanceProfileName(v string) *DeleteInstanceProfileInput { - s.InstanceProfileName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteInstanceProfileOutput type DeleteInstanceProfileOutput struct { _ struct{} `type:"structure"` @@ -11541,12 +11019,6 @@ func (s *DeleteLoginProfileInput) Validate() error { return nil } -// SetUserName sets the UserName field's value. -func (s *DeleteLoginProfileInput) SetUserName(v string) *DeleteLoginProfileInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteLoginProfileOutput type DeleteLoginProfileOutput struct { _ struct{} `type:"structure"` @@ -11608,12 +11080,6 @@ func (s *DeleteOpenIDConnectProviderInput) Validate() error { return nil } -// SetOpenIDConnectProviderArn sets the OpenIDConnectProviderArn field's value. -func (s *DeleteOpenIDConnectProviderInput) SetOpenIDConnectProviderArn(v string) *DeleteOpenIDConnectProviderInput { - s.OpenIDConnectProviderArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteOpenIDConnectProviderOutput type DeleteOpenIDConnectProviderOutput struct { _ struct{} `type:"structure"` @@ -11677,12 +11143,6 @@ func (s *DeletePolicyInput) Validate() error { return nil } -// SetPolicyArn sets the PolicyArn field's value. -func (s *DeletePolicyInput) SetPolicyArn(v string) *DeletePolicyInput { - s.PolicyArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicyOutput type DeletePolicyOutput struct { _ struct{} `type:"structure"` @@ -11765,18 +11225,6 @@ func (s *DeletePolicyVersionInput) Validate() error { return nil } -// SetPolicyArn sets the PolicyArn field's value. -func (s *DeletePolicyVersionInput) SetPolicyArn(v string) *DeletePolicyVersionInput { - s.PolicyArn = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *DeletePolicyVersionInput) SetVersionId(v string) *DeletePolicyVersionInput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicyVersionOutput type DeletePolicyVersionOutput struct { _ struct{} `type:"structure"` @@ -11840,12 +11288,6 @@ func (s *DeleteRoleInput) Validate() error { return nil } -// SetRoleName sets the RoleName field's value. -func (s *DeleteRoleInput) SetRoleName(v string) *DeleteRoleInput { - s.RoleName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRoleOutput type DeleteRoleOutput struct { _ struct{} `type:"structure"` @@ -11926,18 +11368,6 @@ func (s *DeleteRolePolicyInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *DeleteRolePolicyInput) SetPolicyName(v string) *DeleteRolePolicyInput { - s.PolicyName = &v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *DeleteRolePolicyInput) SetRoleName(v string) *DeleteRolePolicyInput { - s.RoleName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRolePolicyOutput type DeleteRolePolicyOutput struct { _ struct{} `type:"structure"` @@ -11997,12 +11427,6 @@ func (s *DeleteSAMLProviderInput) Validate() error { return nil } -// SetSAMLProviderArn sets the SAMLProviderArn field's value. -func (s *DeleteSAMLProviderInput) SetSAMLProviderArn(v string) *DeleteSAMLProviderInput { - s.SAMLProviderArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSAMLProviderOutput type DeleteSAMLProviderOutput struct { _ struct{} `type:"structure"` @@ -12082,18 +11506,6 @@ func (s *DeleteSSHPublicKeyInput) Validate() error { return nil } -// SetSSHPublicKeyId sets the SSHPublicKeyId field's value. -func (s *DeleteSSHPublicKeyInput) SetSSHPublicKeyId(v string) *DeleteSSHPublicKeyInput { - s.SSHPublicKeyId = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *DeleteSSHPublicKeyInput) SetUserName(v string) *DeleteSSHPublicKeyInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSSHPublicKeyOutput type DeleteSSHPublicKeyOutput struct { _ struct{} `type:"structure"` @@ -12157,12 +11569,6 @@ func (s *DeleteServerCertificateInput) Validate() error { return nil } -// SetServerCertificateName sets the ServerCertificateName field's value. -func (s *DeleteServerCertificateInput) SetServerCertificateName(v string) *DeleteServerCertificateInput { - s.ServerCertificateName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServerCertificateOutput type DeleteServerCertificateOutput struct { _ struct{} `type:"structure"` @@ -12222,12 +11628,6 @@ func (s *DeleteServiceLinkedRoleInput) Validate() error { return nil } -// SetRoleName sets the RoleName field's value. -func (s *DeleteServiceLinkedRoleInput) SetRoleName(v string) *DeleteServiceLinkedRoleInput { - s.RoleName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceLinkedRoleResponse type DeleteServiceLinkedRoleOutput struct { _ struct{} `type:"structure"` @@ -12256,12 +11656,6 @@ func (s DeleteServiceLinkedRoleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeletionTaskId sets the DeletionTaskId field's value. -func (s *DeleteServiceLinkedRoleOutput) SetDeletionTaskId(v string) *DeleteServiceLinkedRoleOutput { - s.DeletionTaskId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceSpecificCredentialRequest type DeleteServiceSpecificCredentialInput struct { _ struct{} `type:"structure"` @@ -12316,18 +11710,6 @@ func (s *DeleteServiceSpecificCredentialInput) Validate() error { return nil } -// SetServiceSpecificCredentialId sets the ServiceSpecificCredentialId field's value. -func (s *DeleteServiceSpecificCredentialInput) SetServiceSpecificCredentialId(v string) *DeleteServiceSpecificCredentialInput { - s.ServiceSpecificCredentialId = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *DeleteServiceSpecificCredentialInput) SetUserName(v string) *DeleteServiceSpecificCredentialInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceSpecificCredentialOutput type DeleteServiceSpecificCredentialOutput struct { _ struct{} `type:"structure"` @@ -12401,18 +11783,6 @@ func (s *DeleteSigningCertificateInput) Validate() error { return nil } -// SetCertificateId sets the CertificateId field's value. -func (s *DeleteSigningCertificateInput) SetCertificateId(v string) *DeleteSigningCertificateInput { - s.CertificateId = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *DeleteSigningCertificateInput) SetUserName(v string) *DeleteSigningCertificateInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSigningCertificateOutput type DeleteSigningCertificateOutput struct { _ struct{} `type:"structure"` @@ -12476,12 +11846,6 @@ func (s *DeleteUserInput) Validate() error { return nil } -// SetUserName sets the UserName field's value. -func (s *DeleteUserInput) SetUserName(v string) *DeleteUserInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUserOutput type DeleteUserOutput struct { _ struct{} `type:"structure"` @@ -12562,18 +11926,6 @@ func (s *DeleteUserPolicyInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *DeleteUserPolicyInput) SetPolicyName(v string) *DeleteUserPolicyInput { - s.PolicyName = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *DeleteUserPolicyInput) SetUserName(v string) *DeleteUserPolicyInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUserPolicyOutput type DeleteUserPolicyOutput struct { _ struct{} `type:"structure"` @@ -12638,12 +11990,6 @@ func (s *DeleteVirtualMFADeviceInput) Validate() error { return nil } -// SetSerialNumber sets the SerialNumber field's value. -func (s *DeleteVirtualMFADeviceInput) SetSerialNumber(v string) *DeleteVirtualMFADeviceInput { - s.SerialNumber = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteVirtualMFADeviceOutput type DeleteVirtualMFADeviceOutput struct { _ struct{} `type:"structure"` @@ -12696,18 +12042,6 @@ func (s DeletionTaskFailureReasonType) GoString() string { return s.String() } -// SetReason sets the Reason field's value. -func (s *DeletionTaskFailureReasonType) SetReason(v string) *DeletionTaskFailureReasonType { - s.Reason = &v - return s -} - -// SetRoleUsageList sets the RoleUsageList field's value. -func (s *DeletionTaskFailureReasonType) SetRoleUsageList(v []RoleUsageType) *DeletionTaskFailureReasonType { - s.RoleUsageList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachGroupPolicyRequest type DetachGroupPolicyInput struct { _ struct{} `type:"structure"` @@ -12765,18 +12099,6 @@ func (s *DetachGroupPolicyInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *DetachGroupPolicyInput) SetGroupName(v string) *DetachGroupPolicyInput { - s.GroupName = &v - return s -} - -// SetPolicyArn sets the PolicyArn field's value. -func (s *DetachGroupPolicyInput) SetPolicyArn(v string) *DetachGroupPolicyInput { - s.PolicyArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachGroupPolicyOutput type DetachGroupPolicyOutput struct { _ struct{} `type:"structure"` @@ -12856,18 +12178,6 @@ func (s *DetachRolePolicyInput) Validate() error { return nil } -// SetPolicyArn sets the PolicyArn field's value. -func (s *DetachRolePolicyInput) SetPolicyArn(v string) *DetachRolePolicyInput { - s.PolicyArn = &v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *DetachRolePolicyInput) SetRoleName(v string) *DetachRolePolicyInput { - s.RoleName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachRolePolicyOutput type DetachRolePolicyOutput struct { _ struct{} `type:"structure"` @@ -12947,18 +12257,6 @@ func (s *DetachUserPolicyInput) Validate() error { return nil } -// SetPolicyArn sets the PolicyArn field's value. -func (s *DetachUserPolicyInput) SetPolicyArn(v string) *DetachUserPolicyInput { - s.PolicyArn = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *DetachUserPolicyInput) SetUserName(v string) *DetachUserPolicyInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachUserPolicyOutput type DetachUserPolicyOutput struct { _ struct{} `type:"structure"` @@ -13081,30 +12379,6 @@ func (s *EnableMFADeviceInput) Validate() error { return nil } -// SetAuthenticationCode1 sets the AuthenticationCode1 field's value. -func (s *EnableMFADeviceInput) SetAuthenticationCode1(v string) *EnableMFADeviceInput { - s.AuthenticationCode1 = &v - return s -} - -// SetAuthenticationCode2 sets the AuthenticationCode2 field's value. -func (s *EnableMFADeviceInput) SetAuthenticationCode2(v string) *EnableMFADeviceInput { - s.AuthenticationCode2 = &v - return s -} - -// SetSerialNumber sets the SerialNumber field's value. -func (s *EnableMFADeviceInput) SetSerialNumber(v string) *EnableMFADeviceInput { - s.SerialNumber = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *EnableMFADeviceInput) SetUserName(v string) *EnableMFADeviceInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/EnableMFADeviceOutput type EnableMFADeviceOutput struct { _ struct{} `type:"structure"` @@ -13192,73 +12466,25 @@ func (s EvaluationResult) GoString() string { return s.String() } -// SetEvalActionName sets the EvalActionName field's value. -func (s *EvaluationResult) SetEvalActionName(v string) *EvaluationResult { - s.EvalActionName = &v - return s +// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GenerateCredentialReportInput +type GenerateCredentialReportInput struct { + _ struct{} `type:"structure"` } -// SetEvalDecision sets the EvalDecision field's value. -func (s *EvaluationResult) SetEvalDecision(v PolicyEvaluationDecisionType) *EvaluationResult { - s.EvalDecision = v - return s +// String returns the string representation +func (s GenerateCredentialReportInput) String() string { + return awsutil.Prettify(s) } -// SetEvalDecisionDetails sets the EvalDecisionDetails field's value. -func (s *EvaluationResult) SetEvalDecisionDetails(v map[string]PolicyEvaluationDecisionType) *EvaluationResult { - s.EvalDecisionDetails = v - return s +// GoString returns the string representation +func (s GenerateCredentialReportInput) GoString() string { + return s.String() } -// SetEvalResourceName sets the EvalResourceName field's value. -func (s *EvaluationResult) SetEvalResourceName(v string) *EvaluationResult { - s.EvalResourceName = &v - return s -} - -// SetMatchedStatements sets the MatchedStatements field's value. -func (s *EvaluationResult) SetMatchedStatements(v []Statement) *EvaluationResult { - s.MatchedStatements = v - return s -} - -// SetMissingContextValues sets the MissingContextValues field's value. -func (s *EvaluationResult) SetMissingContextValues(v []string) *EvaluationResult { - s.MissingContextValues = v - return s -} - -// SetOrganizationsDecisionDetail sets the OrganizationsDecisionDetail field's value. -func (s *EvaluationResult) SetOrganizationsDecisionDetail(v *OrganizationsDecisionDetail) *EvaluationResult { - s.OrganizationsDecisionDetail = v - return s -} - -// SetResourceSpecificResults sets the ResourceSpecificResults field's value. -func (s *EvaluationResult) SetResourceSpecificResults(v []ResourceSpecificResult) *EvaluationResult { - s.ResourceSpecificResults = v - return s -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GenerateCredentialReportInput -type GenerateCredentialReportInput struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation -func (s GenerateCredentialReportInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s GenerateCredentialReportInput) GoString() string { - return s.String() -} - -// Contains the response to a successful GenerateCredentialReport request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GenerateCredentialReportResponse -type GenerateCredentialReportOutput struct { - _ struct{} `type:"structure"` +// Contains the response to a successful GenerateCredentialReport request. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GenerateCredentialReportResponse +type GenerateCredentialReportOutput struct { + _ struct{} `type:"structure"` responseMetadata aws.Response @@ -13284,18 +12510,6 @@ func (s GenerateCredentialReportOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDescription sets the Description field's value. -func (s *GenerateCredentialReportOutput) SetDescription(v string) *GenerateCredentialReportOutput { - s.Description = &v - return s -} - -// SetState sets the State field's value. -func (s *GenerateCredentialReportOutput) SetState(v ReportStateType) *GenerateCredentialReportOutput { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccessKeyLastUsedRequest type GetAccessKeyLastUsedInput struct { _ struct{} `type:"structure"` @@ -13337,12 +12551,6 @@ func (s *GetAccessKeyLastUsedInput) Validate() error { return nil } -// SetAccessKeyId sets the AccessKeyId field's value. -func (s *GetAccessKeyLastUsedInput) SetAccessKeyId(v string) *GetAccessKeyLastUsedInput { - s.AccessKeyId = &v - return s -} - // Contains the response to a successful GetAccessKeyLastUsed request. It is // also returned as a member of the AccessKeyMetaData structure returned by // the ListAccessKeys action. @@ -13374,18 +12582,6 @@ func (s GetAccessKeyLastUsedOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAccessKeyLastUsed sets the AccessKeyLastUsed field's value. -func (s *GetAccessKeyLastUsedOutput) SetAccessKeyLastUsed(v *AccessKeyLastUsed) *GetAccessKeyLastUsedOutput { - s.AccessKeyLastUsed = v - return s -} - -// SetUserName sets the UserName field's value. -func (s *GetAccessKeyLastUsedOutput) SetUserName(v string) *GetAccessKeyLastUsedOutput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountAuthorizationDetailsRequest type GetAccountAuthorizationDetailsInput struct { _ struct{} `type:"structure"` @@ -13443,24 +12639,6 @@ func (s *GetAccountAuthorizationDetailsInput) Validate() error { return nil } -// SetFilter sets the Filter field's value. -func (s *GetAccountAuthorizationDetailsInput) SetFilter(v []EntityType) *GetAccountAuthorizationDetailsInput { - s.Filter = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *GetAccountAuthorizationDetailsInput) SetMarker(v string) *GetAccountAuthorizationDetailsInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *GetAccountAuthorizationDetailsInput) SetMaxItems(v int64) *GetAccountAuthorizationDetailsInput { - s.MaxItems = &v - return s -} - // Contains the response to a successful GetAccountAuthorizationDetails request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountAuthorizationDetailsResponse type GetAccountAuthorizationDetailsOutput struct { @@ -13508,42 +12686,6 @@ func (s GetAccountAuthorizationDetailsOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetGroupDetailList sets the GroupDetailList field's value. -func (s *GetAccountAuthorizationDetailsOutput) SetGroupDetailList(v []GroupDetail) *GetAccountAuthorizationDetailsOutput { - s.GroupDetailList = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *GetAccountAuthorizationDetailsOutput) SetIsTruncated(v bool) *GetAccountAuthorizationDetailsOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *GetAccountAuthorizationDetailsOutput) SetMarker(v string) *GetAccountAuthorizationDetailsOutput { - s.Marker = &v - return s -} - -// SetPolicies sets the Policies field's value. -func (s *GetAccountAuthorizationDetailsOutput) SetPolicies(v []ManagedPolicyDetail) *GetAccountAuthorizationDetailsOutput { - s.Policies = v - return s -} - -// SetRoleDetailList sets the RoleDetailList field's value. -func (s *GetAccountAuthorizationDetailsOutput) SetRoleDetailList(v []RoleDetail) *GetAccountAuthorizationDetailsOutput { - s.RoleDetailList = v - return s -} - -// SetUserDetailList sets the UserDetailList field's value. -func (s *GetAccountAuthorizationDetailsOutput) SetUserDetailList(v []UserDetail) *GetAccountAuthorizationDetailsOutput { - s.UserDetailList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountPasswordPolicyInput type GetAccountPasswordPolicyInput struct { _ struct{} `type:"structure"` @@ -13587,12 +12729,6 @@ func (s GetAccountPasswordPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPasswordPolicy sets the PasswordPolicy field's value. -func (s *GetAccountPasswordPolicyOutput) SetPasswordPolicy(v *PasswordPolicy) *GetAccountPasswordPolicyOutput { - s.PasswordPolicy = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountSummaryInput type GetAccountSummaryInput struct { _ struct{} `type:"structure"` @@ -13635,12 +12771,6 @@ func (s GetAccountSummaryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSummaryMap sets the SummaryMap field's value. -func (s *GetAccountSummaryOutput) SetSummaryMap(v map[string]int64) *GetAccountSummaryOutput { - s.SummaryMap = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForCustomPolicyRequest type GetContextKeysForCustomPolicyInput struct { _ struct{} `type:"structure"` @@ -13684,12 +12814,6 @@ func (s *GetContextKeysForCustomPolicyInput) Validate() error { return nil } -// SetPolicyInputList sets the PolicyInputList field's value. -func (s *GetContextKeysForCustomPolicyInput) SetPolicyInputList(v []string) *GetContextKeysForCustomPolicyInput { - s.PolicyInputList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForPrincipalPolicyRequest type GetContextKeysForPrincipalPolicyInput struct { _ struct{} `type:"structure"` @@ -13748,18 +12872,6 @@ func (s *GetContextKeysForPrincipalPolicyInput) Validate() error { return nil } -// SetPolicyInputList sets the PolicyInputList field's value. -func (s *GetContextKeysForPrincipalPolicyInput) SetPolicyInputList(v []string) *GetContextKeysForPrincipalPolicyInput { - s.PolicyInputList = v - return s -} - -// SetPolicySourceArn sets the PolicySourceArn field's value. -func (s *GetContextKeysForPrincipalPolicyInput) SetPolicySourceArn(v string) *GetContextKeysForPrincipalPolicyInput { - s.PolicySourceArn = &v - return s -} - // Contains the response to a successful GetContextKeysForPrincipalPolicy or // GetContextKeysForCustomPolicy request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForCustomPolicyOutput @@ -13787,12 +12899,6 @@ func (s GetContextKeysForPrincipalPolicyOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetContextKeyNames sets the ContextKeyNames field's value. -func (s *GetContextKeysForPrincipalPolicyOutput) SetContextKeyNames(v []string) *GetContextKeysForPrincipalPolicyOutput { - s.ContextKeyNames = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetCredentialReportInput type GetCredentialReportInput struct { _ struct{} `type:"structure"` @@ -13843,24 +12949,6 @@ func (s GetCredentialReportOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetContent sets the Content field's value. -func (s *GetCredentialReportOutput) SetContent(v []byte) *GetCredentialReportOutput { - s.Content = v - return s -} - -// SetGeneratedTime sets the GeneratedTime field's value. -func (s *GetCredentialReportOutput) SetGeneratedTime(v time.Time) *GetCredentialReportOutput { - s.GeneratedTime = &v - return s -} - -// SetReportFormat sets the ReportFormat field's value. -func (s *GetCredentialReportOutput) SetReportFormat(v ReportFormatType) *GetCredentialReportOutput { - s.ReportFormat = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroupRequest type GetGroupInput struct { _ struct{} `type:"structure"` @@ -13925,24 +13013,6 @@ func (s *GetGroupInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *GetGroupInput) SetGroupName(v string) *GetGroupInput { - s.GroupName = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *GetGroupInput) SetMarker(v string) *GetGroupInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *GetGroupInput) SetMaxItems(v int64) *GetGroupInput { - s.MaxItems = &v - return s -} - // Contains the response to a successful GetGroup request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroupResponse type GetGroupOutput struct { @@ -13988,30 +13058,6 @@ func (s GetGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroup sets the Group field's value. -func (s *GetGroupOutput) SetGroup(v *Group) *GetGroupOutput { - s.Group = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *GetGroupOutput) SetIsTruncated(v bool) *GetGroupOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *GetGroupOutput) SetMarker(v string) *GetGroupOutput { - s.Marker = &v - return s -} - -// SetUsers sets the Users field's value. -func (s *GetGroupOutput) SetUsers(v []User) *GetGroupOutput { - s.Users = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroupPolicyRequest type GetGroupPolicyInput struct { _ struct{} `type:"structure"` @@ -14069,18 +13115,6 @@ func (s *GetGroupPolicyInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *GetGroupPolicyInput) SetGroupName(v string) *GetGroupPolicyInput { - s.GroupName = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *GetGroupPolicyInput) SetPolicyName(v string) *GetGroupPolicyInput { - s.PolicyName = &v - return s -} - // Contains the response to a successful GetGroupPolicy request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroupPolicyResponse type GetGroupPolicyOutput struct { @@ -14119,24 +13153,6 @@ func (s GetGroupPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroupName sets the GroupName field's value. -func (s *GetGroupPolicyOutput) SetGroupName(v string) *GetGroupPolicyOutput { - s.GroupName = &v - return s -} - -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *GetGroupPolicyOutput) SetPolicyDocument(v string) *GetGroupPolicyOutput { - s.PolicyDocument = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *GetGroupPolicyOutput) SetPolicyName(v string) *GetGroupPolicyOutput { - s.PolicyName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetInstanceProfileRequest type GetInstanceProfileInput struct { _ struct{} `type:"structure"` @@ -14178,12 +13194,6 @@ func (s *GetInstanceProfileInput) Validate() error { return nil } -// SetInstanceProfileName sets the InstanceProfileName field's value. -func (s *GetInstanceProfileInput) SetInstanceProfileName(v string) *GetInstanceProfileInput { - s.InstanceProfileName = &v - return s -} - // Contains the response to a successful GetInstanceProfile request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetInstanceProfileResponse type GetInstanceProfileOutput struct { @@ -14212,12 +13222,6 @@ func (s GetInstanceProfileOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceProfile sets the InstanceProfile field's value. -func (s *GetInstanceProfileOutput) SetInstanceProfile(v *InstanceProfile) *GetInstanceProfileOutput { - s.InstanceProfile = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetLoginProfileRequest type GetLoginProfileInput struct { _ struct{} `type:"structure"` @@ -14259,12 +13263,6 @@ func (s *GetLoginProfileInput) Validate() error { return nil } -// SetUserName sets the UserName field's value. -func (s *GetLoginProfileInput) SetUserName(v string) *GetLoginProfileInput { - s.UserName = &v - return s -} - // Contains the response to a successful GetLoginProfile request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetLoginProfileResponse type GetLoginProfileOutput struct { @@ -14293,12 +13291,6 @@ func (s GetLoginProfileOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLoginProfile sets the LoginProfile field's value. -func (s *GetLoginProfileOutput) SetLoginProfile(v *LoginProfile) *GetLoginProfileOutput { - s.LoginProfile = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetOpenIDConnectProviderRequest type GetOpenIDConnectProviderInput struct { _ struct{} `type:"structure"` @@ -14342,12 +13334,6 @@ func (s *GetOpenIDConnectProviderInput) Validate() error { return nil } -// SetOpenIDConnectProviderArn sets the OpenIDConnectProviderArn field's value. -func (s *GetOpenIDConnectProviderInput) SetOpenIDConnectProviderArn(v string) *GetOpenIDConnectProviderInput { - s.OpenIDConnectProviderArn = &v - return s -} - // Contains the response to a successful GetOpenIDConnectProvider request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetOpenIDConnectProviderResponse type GetOpenIDConnectProviderOutput struct { @@ -14387,30 +13373,6 @@ func (s GetOpenIDConnectProviderOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClientIDList sets the ClientIDList field's value. -func (s *GetOpenIDConnectProviderOutput) SetClientIDList(v []string) *GetOpenIDConnectProviderOutput { - s.ClientIDList = v - return s -} - -// SetCreateDate sets the CreateDate field's value. -func (s *GetOpenIDConnectProviderOutput) SetCreateDate(v time.Time) *GetOpenIDConnectProviderOutput { - s.CreateDate = &v - return s -} - -// SetThumbprintList sets the ThumbprintList field's value. -func (s *GetOpenIDConnectProviderOutput) SetThumbprintList(v []string) *GetOpenIDConnectProviderOutput { - s.ThumbprintList = v - return s -} - -// SetUrl sets the Url field's value. -func (s *GetOpenIDConnectProviderOutput) SetUrl(v string) *GetOpenIDConnectProviderOutput { - s.Url = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicyRequest type GetPolicyInput struct { _ struct{} `type:"structure"` @@ -14453,12 +13415,6 @@ func (s *GetPolicyInput) Validate() error { return nil } -// SetPolicyArn sets the PolicyArn field's value. -func (s *GetPolicyInput) SetPolicyArn(v string) *GetPolicyInput { - s.PolicyArn = &v - return s -} - // Contains the response to a successful GetPolicy request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicyResponse type GetPolicyOutput struct { @@ -14485,12 +13441,6 @@ func (s GetPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicy sets the Policy field's value. -func (s *GetPolicyOutput) SetPolicy(v *Policy) *GetPolicyOutput { - s.Policy = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicyVersionRequest type GetPolicyVersionInput struct { _ struct{} `type:"structure"` @@ -14547,18 +13497,6 @@ func (s *GetPolicyVersionInput) Validate() error { return nil } -// SetPolicyArn sets the PolicyArn field's value. -func (s *GetPolicyVersionInput) SetPolicyArn(v string) *GetPolicyVersionInput { - s.PolicyArn = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *GetPolicyVersionInput) SetVersionId(v string) *GetPolicyVersionInput { - s.VersionId = &v - return s -} - // Contains the response to a successful GetPolicyVersion request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicyVersionResponse type GetPolicyVersionOutput struct { @@ -14585,12 +13523,6 @@ func (s GetPolicyVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicyVersion sets the PolicyVersion field's value. -func (s *GetPolicyVersionOutput) SetPolicyVersion(v *PolicyVersion) *GetPolicyVersionOutput { - s.PolicyVersion = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRoleRequest type GetRoleInput struct { _ struct{} `type:"structure"` @@ -14632,12 +13564,6 @@ func (s *GetRoleInput) Validate() error { return nil } -// SetRoleName sets the RoleName field's value. -func (s *GetRoleInput) SetRoleName(v string) *GetRoleInput { - s.RoleName = &v - return s -} - // Contains the response to a successful GetRole request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRoleResponse type GetRoleOutput struct { @@ -14666,12 +13592,6 @@ func (s GetRoleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRole sets the Role field's value. -func (s *GetRoleOutput) SetRole(v *Role) *GetRoleOutput { - s.Role = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRolePolicyRequest type GetRolePolicyInput struct { _ struct{} `type:"structure"` @@ -14729,18 +13649,6 @@ func (s *GetRolePolicyInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *GetRolePolicyInput) SetPolicyName(v string) *GetRolePolicyInput { - s.PolicyName = &v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *GetRolePolicyInput) SetRoleName(v string) *GetRolePolicyInput { - s.RoleName = &v - return s -} - // Contains the response to a successful GetRolePolicy request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRolePolicyResponse type GetRolePolicyOutput struct { @@ -14779,24 +13687,6 @@ func (s GetRolePolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *GetRolePolicyOutput) SetPolicyDocument(v string) *GetRolePolicyOutput { - s.PolicyDocument = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *GetRolePolicyOutput) SetPolicyName(v string) *GetRolePolicyOutput { - s.PolicyName = &v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *GetRolePolicyOutput) SetRoleName(v string) *GetRolePolicyOutput { - s.RoleName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSAMLProviderRequest type GetSAMLProviderInput struct { _ struct{} `type:"structure"` @@ -14839,12 +13729,6 @@ func (s *GetSAMLProviderInput) Validate() error { return nil } -// SetSAMLProviderArn sets the SAMLProviderArn field's value. -func (s *GetSAMLProviderInput) SetSAMLProviderArn(v string) *GetSAMLProviderInput { - s.SAMLProviderArn = &v - return s -} - // Contains the response to a successful GetSAMLProvider request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSAMLProviderResponse type GetSAMLProviderOutput struct { @@ -14877,24 +13761,6 @@ func (s GetSAMLProviderOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreateDate sets the CreateDate field's value. -func (s *GetSAMLProviderOutput) SetCreateDate(v time.Time) *GetSAMLProviderOutput { - s.CreateDate = &v - return s -} - -// SetSAMLMetadataDocument sets the SAMLMetadataDocument field's value. -func (s *GetSAMLProviderOutput) SetSAMLMetadataDocument(v string) *GetSAMLProviderOutput { - s.SAMLMetadataDocument = &v - return s -} - -// SetValidUntil sets the ValidUntil field's value. -func (s *GetSAMLProviderOutput) SetValidUntil(v time.Time) *GetSAMLProviderOutput { - s.ValidUntil = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSSHPublicKeyRequest type GetSSHPublicKeyInput struct { _ struct{} `type:"structure"` @@ -14962,24 +13828,6 @@ func (s *GetSSHPublicKeyInput) Validate() error { return nil } -// SetEncoding sets the Encoding field's value. -func (s *GetSSHPublicKeyInput) SetEncoding(v EncodingType) *GetSSHPublicKeyInput { - s.Encoding = v - return s -} - -// SetSSHPublicKeyId sets the SSHPublicKeyId field's value. -func (s *GetSSHPublicKeyInput) SetSSHPublicKeyId(v string) *GetSSHPublicKeyInput { - s.SSHPublicKeyId = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *GetSSHPublicKeyInput) SetUserName(v string) *GetSSHPublicKeyInput { - s.UserName = &v - return s -} - // Contains the response to a successful GetSSHPublicKey request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSSHPublicKeyResponse type GetSSHPublicKeyOutput struct { @@ -15006,12 +13854,6 @@ func (s GetSSHPublicKeyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSSHPublicKey sets the SSHPublicKey field's value. -func (s *GetSSHPublicKeyOutput) SetSSHPublicKey(v *SSHPublicKey) *GetSSHPublicKeyOutput { - s.SSHPublicKey = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServerCertificateRequest type GetServerCertificateInput struct { _ struct{} `type:"structure"` @@ -15053,12 +13895,6 @@ func (s *GetServerCertificateInput) Validate() error { return nil } -// SetServerCertificateName sets the ServerCertificateName field's value. -func (s *GetServerCertificateInput) SetServerCertificateName(v string) *GetServerCertificateInput { - s.ServerCertificateName = &v - return s -} - // Contains the response to a successful GetServerCertificate request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServerCertificateResponse type GetServerCertificateOutput struct { @@ -15087,12 +13923,6 @@ func (s GetServerCertificateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetServerCertificate sets the ServerCertificate field's value. -func (s *GetServerCertificateOutput) SetServerCertificate(v *ServerCertificate) *GetServerCertificateOutput { - s.ServerCertificate = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServiceLinkedRoleDeletionStatusRequest type GetServiceLinkedRoleDeletionStatusInput struct { _ struct{} `type:"structure"` @@ -15131,12 +13961,6 @@ func (s *GetServiceLinkedRoleDeletionStatusInput) Validate() error { return nil } -// SetDeletionTaskId sets the DeletionTaskId field's value. -func (s *GetServiceLinkedRoleDeletionStatusInput) SetDeletionTaskId(v string) *GetServiceLinkedRoleDeletionStatusInput { - s.DeletionTaskId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServiceLinkedRoleDeletionStatusResponse type GetServiceLinkedRoleDeletionStatusOutput struct { _ struct{} `type:"structure"` @@ -15167,18 +13991,6 @@ func (s GetServiceLinkedRoleDeletionStatusOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetReason sets the Reason field's value. -func (s *GetServiceLinkedRoleDeletionStatusOutput) SetReason(v *DeletionTaskFailureReasonType) *GetServiceLinkedRoleDeletionStatusOutput { - s.Reason = v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetServiceLinkedRoleDeletionStatusOutput) SetStatus(v DeletionTaskStatusType) *GetServiceLinkedRoleDeletionStatusOutput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUserRequest type GetUserInput struct { _ struct{} `type:"structure"` @@ -15215,12 +14027,6 @@ func (s *GetUserInput) Validate() error { return nil } -// SetUserName sets the UserName field's value. -func (s *GetUserInput) SetUserName(v string) *GetUserInput { - s.UserName = &v - return s -} - // Contains the response to a successful GetUser request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUserResponse type GetUserOutput struct { @@ -15249,12 +14055,6 @@ func (s GetUserOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUser sets the User field's value. -func (s *GetUserOutput) SetUser(v *User) *GetUserOutput { - s.User = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUserPolicyRequest type GetUserPolicyInput struct { _ struct{} `type:"structure"` @@ -15312,18 +14112,6 @@ func (s *GetUserPolicyInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *GetUserPolicyInput) SetPolicyName(v string) *GetUserPolicyInput { - s.PolicyName = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *GetUserPolicyInput) SetUserName(v string) *GetUserPolicyInput { - s.UserName = &v - return s -} - // Contains the response to a successful GetUserPolicy request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUserPolicyResponse type GetUserPolicyOutput struct { @@ -15362,24 +14150,6 @@ func (s GetUserPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *GetUserPolicyOutput) SetPolicyDocument(v string) *GetUserPolicyOutput { - s.PolicyDocument = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *GetUserPolicyOutput) SetPolicyName(v string) *GetUserPolicyOutput { - s.PolicyName = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *GetUserPolicyOutput) SetUserName(v string) *GetUserPolicyOutput { - s.UserName = &v - return s -} - // Contains information about an IAM group entity. // // This data type is used as a response element in the following actions: @@ -15436,36 +14206,6 @@ func (s Group) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Group) SetArn(v string) *Group { - s.Arn = &v - return s -} - -// SetCreateDate sets the CreateDate field's value. -func (s *Group) SetCreateDate(v time.Time) *Group { - s.CreateDate = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *Group) SetGroupId(v string) *Group { - s.GroupId = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *Group) SetGroupName(v string) *Group { - s.GroupName = &v - return s -} - -// SetPath sets the Path field's value. -func (s *Group) SetPath(v string) *Group { - s.Path = &v - return s -} - // Contains information about an IAM group, including all of the group's policies. // // This data type is used as a response element in the GetAccountAuthorizationDetails @@ -15515,48 +14255,6 @@ func (s GroupDetail) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *GroupDetail) SetArn(v string) *GroupDetail { - s.Arn = &v - return s -} - -// SetAttachedManagedPolicies sets the AttachedManagedPolicies field's value. -func (s *GroupDetail) SetAttachedManagedPolicies(v []AttachedPolicy) *GroupDetail { - s.AttachedManagedPolicies = v - return s -} - -// SetCreateDate sets the CreateDate field's value. -func (s *GroupDetail) SetCreateDate(v time.Time) *GroupDetail { - s.CreateDate = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *GroupDetail) SetGroupId(v string) *GroupDetail { - s.GroupId = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *GroupDetail) SetGroupName(v string) *GroupDetail { - s.GroupName = &v - return s -} - -// SetGroupPolicyList sets the GroupPolicyList field's value. -func (s *GroupDetail) SetGroupPolicyList(v []PolicyDetail) *GroupDetail { - s.GroupPolicyList = v - return s -} - -// SetPath sets the Path field's value. -func (s *GroupDetail) SetPath(v string) *GroupDetail { - s.Path = &v - return s -} - // Contains information about an instance profile. // // This data type is used as a response element in the following actions: @@ -15620,42 +14318,6 @@ func (s InstanceProfile) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *InstanceProfile) SetArn(v string) *InstanceProfile { - s.Arn = &v - return s -} - -// SetCreateDate sets the CreateDate field's value. -func (s *InstanceProfile) SetCreateDate(v time.Time) *InstanceProfile { - s.CreateDate = &v - return s -} - -// SetInstanceProfileId sets the InstanceProfileId field's value. -func (s *InstanceProfile) SetInstanceProfileId(v string) *InstanceProfile { - s.InstanceProfileId = &v - return s -} - -// SetInstanceProfileName sets the InstanceProfileName field's value. -func (s *InstanceProfile) SetInstanceProfileName(v string) *InstanceProfile { - s.InstanceProfileName = &v - return s -} - -// SetPath sets the Path field's value. -func (s *InstanceProfile) SetPath(v string) *InstanceProfile { - s.Path = &v - return s -} - -// SetRoles sets the Roles field's value. -func (s *InstanceProfile) SetRoles(v []Role) *InstanceProfile { - s.Roles = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccessKeysRequest type ListAccessKeysInput struct { _ struct{} `type:"structure"` @@ -15714,24 +14376,6 @@ func (s *ListAccessKeysInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListAccessKeysInput) SetMarker(v string) *ListAccessKeysInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListAccessKeysInput) SetMaxItems(v int64) *ListAccessKeysInput { - s.MaxItems = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *ListAccessKeysInput) SetUserName(v string) *ListAccessKeysInput { - s.UserName = &v - return s -} - // Contains the response to a successful ListAccessKeys request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccessKeysResponse type ListAccessKeysOutput struct { @@ -15772,24 +14416,6 @@ func (s ListAccessKeysOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAccessKeyMetadata sets the AccessKeyMetadata field's value. -func (s *ListAccessKeysOutput) SetAccessKeyMetadata(v []AccessKeyMetadata) *ListAccessKeysOutput { - s.AccessKeyMetadata = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListAccessKeysOutput) SetIsTruncated(v bool) *ListAccessKeysOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListAccessKeysOutput) SetMarker(v string) *ListAccessKeysOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccountAliasesRequest type ListAccountAliasesInput struct { _ struct{} `type:"structure"` @@ -15838,18 +14464,6 @@ func (s *ListAccountAliasesInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListAccountAliasesInput) SetMarker(v string) *ListAccountAliasesInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListAccountAliasesInput) SetMaxItems(v int64) *ListAccountAliasesInput { - s.MaxItems = &v - return s -} - // Contains the response to a successful ListAccountAliases request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccountAliasesResponse type ListAccountAliasesOutput struct { @@ -15891,24 +14505,6 @@ func (s ListAccountAliasesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAccountAliases sets the AccountAliases field's value. -func (s *ListAccountAliasesOutput) SetAccountAliases(v []string) *ListAccountAliasesOutput { - s.AccountAliases = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListAccountAliasesOutput) SetIsTruncated(v bool) *ListAccountAliasesOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListAccountAliasesOutput) SetMarker(v string) *ListAccountAliasesOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedGroupPoliciesRequest type ListAttachedGroupPoliciesInput struct { _ struct{} `type:"structure"` @@ -15984,30 +14580,6 @@ func (s *ListAttachedGroupPoliciesInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *ListAttachedGroupPoliciesInput) SetGroupName(v string) *ListAttachedGroupPoliciesInput { - s.GroupName = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListAttachedGroupPoliciesInput) SetMarker(v string) *ListAttachedGroupPoliciesInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListAttachedGroupPoliciesInput) SetMaxItems(v int64) *ListAttachedGroupPoliciesInput { - s.MaxItems = &v - return s -} - -// SetPathPrefix sets the PathPrefix field's value. -func (s *ListAttachedGroupPoliciesInput) SetPathPrefix(v string) *ListAttachedGroupPoliciesInput { - s.PathPrefix = &v - return s -} - // Contains the response to a successful ListAttachedGroupPolicies request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedGroupPoliciesResponse type ListAttachedGroupPoliciesOutput struct { @@ -16046,24 +14618,6 @@ func (s ListAttachedGroupPoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttachedPolicies sets the AttachedPolicies field's value. -func (s *ListAttachedGroupPoliciesOutput) SetAttachedPolicies(v []AttachedPolicy) *ListAttachedGroupPoliciesOutput { - s.AttachedPolicies = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListAttachedGroupPoliciesOutput) SetIsTruncated(v bool) *ListAttachedGroupPoliciesOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListAttachedGroupPoliciesOutput) SetMarker(v string) *ListAttachedGroupPoliciesOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedRolePoliciesRequest type ListAttachedRolePoliciesInput struct { _ struct{} `type:"structure"` @@ -16138,30 +14692,6 @@ func (s *ListAttachedRolePoliciesInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListAttachedRolePoliciesInput) SetMarker(v string) *ListAttachedRolePoliciesInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListAttachedRolePoliciesInput) SetMaxItems(v int64) *ListAttachedRolePoliciesInput { - s.MaxItems = &v - return s -} - -// SetPathPrefix sets the PathPrefix field's value. -func (s *ListAttachedRolePoliciesInput) SetPathPrefix(v string) *ListAttachedRolePoliciesInput { - s.PathPrefix = &v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *ListAttachedRolePoliciesInput) SetRoleName(v string) *ListAttachedRolePoliciesInput { - s.RoleName = &v - return s -} - // Contains the response to a successful ListAttachedRolePolicies request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedRolePoliciesResponse type ListAttachedRolePoliciesOutput struct { @@ -16200,24 +14730,6 @@ func (s ListAttachedRolePoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttachedPolicies sets the AttachedPolicies field's value. -func (s *ListAttachedRolePoliciesOutput) SetAttachedPolicies(v []AttachedPolicy) *ListAttachedRolePoliciesOutput { - s.AttachedPolicies = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListAttachedRolePoliciesOutput) SetIsTruncated(v bool) *ListAttachedRolePoliciesOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListAttachedRolePoliciesOutput) SetMarker(v string) *ListAttachedRolePoliciesOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedUserPoliciesRequest type ListAttachedUserPoliciesInput struct { _ struct{} `type:"structure"` @@ -16292,30 +14804,6 @@ func (s *ListAttachedUserPoliciesInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListAttachedUserPoliciesInput) SetMarker(v string) *ListAttachedUserPoliciesInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListAttachedUserPoliciesInput) SetMaxItems(v int64) *ListAttachedUserPoliciesInput { - s.MaxItems = &v - return s -} - -// SetPathPrefix sets the PathPrefix field's value. -func (s *ListAttachedUserPoliciesInput) SetPathPrefix(v string) *ListAttachedUserPoliciesInput { - s.PathPrefix = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *ListAttachedUserPoliciesInput) SetUserName(v string) *ListAttachedUserPoliciesInput { - s.UserName = &v - return s -} - // Contains the response to a successful ListAttachedUserPolicies request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedUserPoliciesResponse type ListAttachedUserPoliciesOutput struct { @@ -16354,24 +14842,6 @@ func (s ListAttachedUserPoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttachedPolicies sets the AttachedPolicies field's value. -func (s *ListAttachedUserPoliciesOutput) SetAttachedPolicies(v []AttachedPolicy) *ListAttachedUserPoliciesOutput { - s.AttachedPolicies = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListAttachedUserPoliciesOutput) SetIsTruncated(v bool) *ListAttachedUserPoliciesOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListAttachedUserPoliciesOutput) SetMarker(v string) *ListAttachedUserPoliciesOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListEntitiesForPolicyRequest type ListEntitiesForPolicyInput struct { _ struct{} `type:"structure"` @@ -16457,36 +14927,6 @@ func (s *ListEntitiesForPolicyInput) Validate() error { return nil } -// SetEntityFilter sets the EntityFilter field's value. -func (s *ListEntitiesForPolicyInput) SetEntityFilter(v EntityType) *ListEntitiesForPolicyInput { - s.EntityFilter = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListEntitiesForPolicyInput) SetMarker(v string) *ListEntitiesForPolicyInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListEntitiesForPolicyInput) SetMaxItems(v int64) *ListEntitiesForPolicyInput { - s.MaxItems = &v - return s -} - -// SetPathPrefix sets the PathPrefix field's value. -func (s *ListEntitiesForPolicyInput) SetPathPrefix(v string) *ListEntitiesForPolicyInput { - s.PathPrefix = &v - return s -} - -// SetPolicyArn sets the PolicyArn field's value. -func (s *ListEntitiesForPolicyInput) SetPolicyArn(v string) *ListEntitiesForPolicyInput { - s.PolicyArn = &v - return s -} - // Contains the response to a successful ListEntitiesForPolicy request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListEntitiesForPolicyResponse type ListEntitiesForPolicyOutput struct { @@ -16531,36 +14971,6 @@ func (s ListEntitiesForPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListEntitiesForPolicyOutput) SetIsTruncated(v bool) *ListEntitiesForPolicyOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListEntitiesForPolicyOutput) SetMarker(v string) *ListEntitiesForPolicyOutput { - s.Marker = &v - return s -} - -// SetPolicyGroups sets the PolicyGroups field's value. -func (s *ListEntitiesForPolicyOutput) SetPolicyGroups(v []PolicyGroup) *ListEntitiesForPolicyOutput { - s.PolicyGroups = v - return s -} - -// SetPolicyRoles sets the PolicyRoles field's value. -func (s *ListEntitiesForPolicyOutput) SetPolicyRoles(v []PolicyRole) *ListEntitiesForPolicyOutput { - s.PolicyRoles = v - return s -} - -// SetPolicyUsers sets the PolicyUsers field's value. -func (s *ListEntitiesForPolicyOutput) SetPolicyUsers(v []PolicyUser) *ListEntitiesForPolicyOutput { - s.PolicyUsers = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupPoliciesRequest type ListGroupPoliciesInput struct { _ struct{} `type:"structure"` @@ -16625,24 +15035,6 @@ func (s *ListGroupPoliciesInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *ListGroupPoliciesInput) SetGroupName(v string) *ListGroupPoliciesInput { - s.GroupName = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListGroupPoliciesInput) SetMarker(v string) *ListGroupPoliciesInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListGroupPoliciesInput) SetMaxItems(v int64) *ListGroupPoliciesInput { - s.MaxItems = &v - return s -} - // Contains the response to a successful ListGroupPolicies request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupPoliciesResponse type ListGroupPoliciesOutput struct { @@ -16687,24 +15079,6 @@ func (s ListGroupPoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListGroupPoliciesOutput) SetIsTruncated(v bool) *ListGroupPoliciesOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListGroupPoliciesOutput) SetMarker(v string) *ListGroupPoliciesOutput { - s.Marker = &v - return s -} - -// SetPolicyNames sets the PolicyNames field's value. -func (s *ListGroupPoliciesOutput) SetPolicyNames(v []string) *ListGroupPoliciesOutput { - s.PolicyNames = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupsForUserRequest type ListGroupsForUserInput struct { _ struct{} `type:"structure"` @@ -16769,24 +15143,6 @@ func (s *ListGroupsForUserInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListGroupsForUserInput) SetMarker(v string) *ListGroupsForUserInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListGroupsForUserInput) SetMaxItems(v int64) *ListGroupsForUserInput { - s.MaxItems = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *ListGroupsForUserInput) SetUserName(v string) *ListGroupsForUserInput { - s.UserName = &v - return s -} - // Contains the response to a successful ListGroupsForUser request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupsForUserResponse type ListGroupsForUserOutput struct { @@ -16827,24 +15183,6 @@ func (s ListGroupsForUserOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroups sets the Groups field's value. -func (s *ListGroupsForUserOutput) SetGroups(v []Group) *ListGroupsForUserOutput { - s.Groups = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListGroupsForUserOutput) SetIsTruncated(v bool) *ListGroupsForUserOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListGroupsForUserOutput) SetMarker(v string) *ListGroupsForUserOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupsRequest type ListGroupsInput struct { _ struct{} `type:"structure"` @@ -16907,24 +15245,6 @@ func (s *ListGroupsInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListGroupsInput) SetMarker(v string) *ListGroupsInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListGroupsInput) SetMaxItems(v int64) *ListGroupsInput { - s.MaxItems = &v - return s -} - -// SetPathPrefix sets the PathPrefix field's value. -func (s *ListGroupsInput) SetPathPrefix(v string) *ListGroupsInput { - s.PathPrefix = &v - return s -} - // Contains the response to a successful ListGroups request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupsResponse type ListGroupsOutput struct { @@ -16965,24 +15285,6 @@ func (s ListGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroups sets the Groups field's value. -func (s *ListGroupsOutput) SetGroups(v []Group) *ListGroupsOutput { - s.Groups = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListGroupsOutput) SetIsTruncated(v bool) *ListGroupsOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListGroupsOutput) SetMarker(v string) *ListGroupsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfilesForRoleRequest type ListInstanceProfilesForRoleInput struct { _ struct{} `type:"structure"` @@ -17047,24 +15349,6 @@ func (s *ListInstanceProfilesForRoleInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListInstanceProfilesForRoleInput) SetMarker(v string) *ListInstanceProfilesForRoleInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListInstanceProfilesForRoleInput) SetMaxItems(v int64) *ListInstanceProfilesForRoleInput { - s.MaxItems = &v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *ListInstanceProfilesForRoleInput) SetRoleName(v string) *ListInstanceProfilesForRoleInput { - s.RoleName = &v - return s -} - // Contains the response to a successful ListInstanceProfilesForRole request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfilesForRoleResponse type ListInstanceProfilesForRoleOutput struct { @@ -17105,24 +15389,6 @@ func (s ListInstanceProfilesForRoleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceProfiles sets the InstanceProfiles field's value. -func (s *ListInstanceProfilesForRoleOutput) SetInstanceProfiles(v []InstanceProfile) *ListInstanceProfilesForRoleOutput { - s.InstanceProfiles = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListInstanceProfilesForRoleOutput) SetIsTruncated(v bool) *ListInstanceProfilesForRoleOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListInstanceProfilesForRoleOutput) SetMarker(v string) *ListInstanceProfilesForRoleOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfilesRequest type ListInstanceProfilesInput struct { _ struct{} `type:"structure"` @@ -17186,24 +15452,6 @@ func (s *ListInstanceProfilesInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListInstanceProfilesInput) SetMarker(v string) *ListInstanceProfilesInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListInstanceProfilesInput) SetMaxItems(v int64) *ListInstanceProfilesInput { - s.MaxItems = &v - return s -} - -// SetPathPrefix sets the PathPrefix field's value. -func (s *ListInstanceProfilesInput) SetPathPrefix(v string) *ListInstanceProfilesInput { - s.PathPrefix = &v - return s -} - // Contains the response to a successful ListInstanceProfiles request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfilesResponse type ListInstanceProfilesOutput struct { @@ -17244,24 +15492,6 @@ func (s ListInstanceProfilesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceProfiles sets the InstanceProfiles field's value. -func (s *ListInstanceProfilesOutput) SetInstanceProfiles(v []InstanceProfile) *ListInstanceProfilesOutput { - s.InstanceProfiles = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListInstanceProfilesOutput) SetIsTruncated(v bool) *ListInstanceProfilesOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListInstanceProfilesOutput) SetMarker(v string) *ListInstanceProfilesOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListMFADevicesRequest type ListMFADevicesInput struct { _ struct{} `type:"structure"` @@ -17320,24 +15550,6 @@ func (s *ListMFADevicesInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListMFADevicesInput) SetMarker(v string) *ListMFADevicesInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListMFADevicesInput) SetMaxItems(v int64) *ListMFADevicesInput { - s.MaxItems = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *ListMFADevicesInput) SetUserName(v string) *ListMFADevicesInput { - s.UserName = &v - return s -} - // Contains the response to a successful ListMFADevices request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListMFADevicesResponse type ListMFADevicesOutput struct { @@ -17378,24 +15590,6 @@ func (s ListMFADevicesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListMFADevicesOutput) SetIsTruncated(v bool) *ListMFADevicesOutput { - s.IsTruncated = &v - return s -} - -// SetMFADevices sets the MFADevices field's value. -func (s *ListMFADevicesOutput) SetMFADevices(v []MFADevice) *ListMFADevicesOutput { - s.MFADevices = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListMFADevicesOutput) SetMarker(v string) *ListMFADevicesOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListOpenIDConnectProvidersRequest type ListOpenIDConnectProvidersInput struct { _ struct{} `type:"structure"` @@ -17437,12 +15631,6 @@ func (s ListOpenIDConnectProvidersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOpenIDConnectProviderList sets the OpenIDConnectProviderList field's value. -func (s *ListOpenIDConnectProvidersOutput) SetOpenIDConnectProviderList(v []OpenIDConnectProviderListEntry) *ListOpenIDConnectProvidersOutput { - s.OpenIDConnectProviderList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPoliciesRequest type ListPoliciesInput struct { _ struct{} `type:"structure"` @@ -17516,36 +15704,6 @@ func (s *ListPoliciesInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListPoliciesInput) SetMarker(v string) *ListPoliciesInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListPoliciesInput) SetMaxItems(v int64) *ListPoliciesInput { - s.MaxItems = &v - return s -} - -// SetOnlyAttached sets the OnlyAttached field's value. -func (s *ListPoliciesInput) SetOnlyAttached(v bool) *ListPoliciesInput { - s.OnlyAttached = &v - return s -} - -// SetPathPrefix sets the PathPrefix field's value. -func (s *ListPoliciesInput) SetPathPrefix(v string) *ListPoliciesInput { - s.PathPrefix = &v - return s -} - -// SetScope sets the Scope field's value. -func (s *ListPoliciesInput) SetScope(v PolicyScopeType) *ListPoliciesInput { - s.Scope = v - return s -} - // Contains the response to a successful ListPolicies request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPoliciesResponse type ListPoliciesOutput struct { @@ -17584,24 +15742,6 @@ func (s ListPoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListPoliciesOutput) SetIsTruncated(v bool) *ListPoliciesOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListPoliciesOutput) SetMarker(v string) *ListPoliciesOutput { - s.Marker = &v - return s -} - -// SetPolicies sets the Policies field's value. -func (s *ListPoliciesOutput) SetPolicies(v []Policy) *ListPoliciesOutput { - s.Policies = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPolicyVersionsRequest type ListPolicyVersionsInput struct { _ struct{} `type:"structure"` @@ -17666,24 +15806,6 @@ func (s *ListPolicyVersionsInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListPolicyVersionsInput) SetMarker(v string) *ListPolicyVersionsInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListPolicyVersionsInput) SetMaxItems(v int64) *ListPolicyVersionsInput { - s.MaxItems = &v - return s -} - -// SetPolicyArn sets the PolicyArn field's value. -func (s *ListPolicyVersionsInput) SetPolicyArn(v string) *ListPolicyVersionsInput { - s.PolicyArn = &v - return s -} - // Contains the response to a successful ListPolicyVersions request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPolicyVersionsResponse type ListPolicyVersionsOutput struct { @@ -17726,24 +15848,6 @@ func (s ListPolicyVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListPolicyVersionsOutput) SetIsTruncated(v bool) *ListPolicyVersionsOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListPolicyVersionsOutput) SetMarker(v string) *ListPolicyVersionsOutput { - s.Marker = &v - return s -} - -// SetVersions sets the Versions field's value. -func (s *ListPolicyVersionsOutput) SetVersions(v []PolicyVersion) *ListPolicyVersionsOutput { - s.Versions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRolePoliciesRequest type ListRolePoliciesInput struct { _ struct{} `type:"structure"` @@ -17808,24 +15912,6 @@ func (s *ListRolePoliciesInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListRolePoliciesInput) SetMarker(v string) *ListRolePoliciesInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListRolePoliciesInput) SetMaxItems(v int64) *ListRolePoliciesInput { - s.MaxItems = &v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *ListRolePoliciesInput) SetRoleName(v string) *ListRolePoliciesInput { - s.RoleName = &v - return s -} - // Contains the response to a successful ListRolePolicies request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRolePoliciesResponse type ListRolePoliciesOutput struct { @@ -17866,24 +15952,6 @@ func (s ListRolePoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListRolePoliciesOutput) SetIsTruncated(v bool) *ListRolePoliciesOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListRolePoliciesOutput) SetMarker(v string) *ListRolePoliciesOutput { - s.Marker = &v - return s -} - -// SetPolicyNames sets the PolicyNames field's value. -func (s *ListRolePoliciesOutput) SetPolicyNames(v []string) *ListRolePoliciesOutput { - s.PolicyNames = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRolesRequest type ListRolesInput struct { _ struct{} `type:"structure"` @@ -17946,24 +16014,6 @@ func (s *ListRolesInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListRolesInput) SetMarker(v string) *ListRolesInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListRolesInput) SetMaxItems(v int64) *ListRolesInput { - s.MaxItems = &v - return s -} - -// SetPathPrefix sets the PathPrefix field's value. -func (s *ListRolesInput) SetPathPrefix(v string) *ListRolesInput { - s.PathPrefix = &v - return s -} - // Contains the response to a successful ListRoles request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRolesResponse type ListRolesOutput struct { @@ -18004,24 +16054,6 @@ func (s ListRolesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListRolesOutput) SetIsTruncated(v bool) *ListRolesOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListRolesOutput) SetMarker(v string) *ListRolesOutput { - s.Marker = &v - return s -} - -// SetRoles sets the Roles field's value. -func (s *ListRolesOutput) SetRoles(v []Role) *ListRolesOutput { - s.Roles = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSAMLProvidersRequest type ListSAMLProvidersInput struct { _ struct{} `type:"structure"` @@ -18063,12 +16095,6 @@ func (s ListSAMLProvidersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSAMLProviderList sets the SAMLProviderList field's value. -func (s *ListSAMLProvidersOutput) SetSAMLProviderList(v []SAMLProviderListEntry) *ListSAMLProvidersOutput { - s.SAMLProviderList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSSHPublicKeysRequest type ListSSHPublicKeysInput struct { _ struct{} `type:"structure"` @@ -18129,24 +16155,6 @@ func (s *ListSSHPublicKeysInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListSSHPublicKeysInput) SetMarker(v string) *ListSSHPublicKeysInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListSSHPublicKeysInput) SetMaxItems(v int64) *ListSSHPublicKeysInput { - s.MaxItems = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *ListSSHPublicKeysInput) SetUserName(v string) *ListSSHPublicKeysInput { - s.UserName = &v - return s -} - // Contains the response to a successful ListSSHPublicKeys request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSSHPublicKeysResponse type ListSSHPublicKeysOutput struct { @@ -18185,24 +16193,6 @@ func (s ListSSHPublicKeysOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListSSHPublicKeysOutput) SetIsTruncated(v bool) *ListSSHPublicKeysOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListSSHPublicKeysOutput) SetMarker(v string) *ListSSHPublicKeysOutput { - s.Marker = &v - return s -} - -// SetSSHPublicKeys sets the SSHPublicKeys field's value. -func (s *ListSSHPublicKeysOutput) SetSSHPublicKeys(v []SSHPublicKeyMetadata) *ListSSHPublicKeysOutput { - s.SSHPublicKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServerCertificatesRequest type ListServerCertificatesInput struct { _ struct{} `type:"structure"` @@ -18266,24 +16256,6 @@ func (s *ListServerCertificatesInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListServerCertificatesInput) SetMarker(v string) *ListServerCertificatesInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListServerCertificatesInput) SetMaxItems(v int64) *ListServerCertificatesInput { - s.MaxItems = &v - return s -} - -// SetPathPrefix sets the PathPrefix field's value. -func (s *ListServerCertificatesInput) SetPathPrefix(v string) *ListServerCertificatesInput { - s.PathPrefix = &v - return s -} - // Contains the response to a successful ListServerCertificates request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServerCertificatesResponse type ListServerCertificatesOutput struct { @@ -18324,24 +16296,6 @@ func (s ListServerCertificatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListServerCertificatesOutput) SetIsTruncated(v bool) *ListServerCertificatesOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListServerCertificatesOutput) SetMarker(v string) *ListServerCertificatesOutput { - s.Marker = &v - return s -} - -// SetServerCertificateMetadataList sets the ServerCertificateMetadataList field's value. -func (s *ListServerCertificatesOutput) SetServerCertificateMetadataList(v []ServerCertificateMetadata) *ListServerCertificatesOutput { - s.ServerCertificateMetadataList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServiceSpecificCredentialsRequest type ListServiceSpecificCredentialsInput struct { _ struct{} `type:"structure"` @@ -18383,18 +16337,6 @@ func (s *ListServiceSpecificCredentialsInput) Validate() error { return nil } -// SetServiceName sets the ServiceName field's value. -func (s *ListServiceSpecificCredentialsInput) SetServiceName(v string) *ListServiceSpecificCredentialsInput { - s.ServiceName = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *ListServiceSpecificCredentialsInput) SetUserName(v string) *ListServiceSpecificCredentialsInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServiceSpecificCredentialsResponse type ListServiceSpecificCredentialsOutput struct { _ struct{} `type:"structure"` @@ -18420,12 +16362,6 @@ func (s ListServiceSpecificCredentialsOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetServiceSpecificCredentials sets the ServiceSpecificCredentials field's value. -func (s *ListServiceSpecificCredentialsOutput) SetServiceSpecificCredentials(v []ServiceSpecificCredentialMetadata) *ListServiceSpecificCredentialsOutput { - s.ServiceSpecificCredentials = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSigningCertificatesRequest type ListSigningCertificatesInput struct { _ struct{} `type:"structure"` @@ -18484,24 +16420,6 @@ func (s *ListSigningCertificatesInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListSigningCertificatesInput) SetMarker(v string) *ListSigningCertificatesInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListSigningCertificatesInput) SetMaxItems(v int64) *ListSigningCertificatesInput { - s.MaxItems = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *ListSigningCertificatesInput) SetUserName(v string) *ListSigningCertificatesInput { - s.UserName = &v - return s -} - // Contains the response to a successful ListSigningCertificates request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSigningCertificatesResponse type ListSigningCertificatesOutput struct { @@ -18542,24 +16460,6 @@ func (s ListSigningCertificatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificates sets the Certificates field's value. -func (s *ListSigningCertificatesOutput) SetCertificates(v []SigningCertificate) *ListSigningCertificatesOutput { - s.Certificates = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListSigningCertificatesOutput) SetIsTruncated(v bool) *ListSigningCertificatesOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListSigningCertificatesOutput) SetMarker(v string) *ListSigningCertificatesOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUserPoliciesRequest type ListUserPoliciesInput struct { _ struct{} `type:"structure"` @@ -18624,24 +16524,6 @@ func (s *ListUserPoliciesInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListUserPoliciesInput) SetMarker(v string) *ListUserPoliciesInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListUserPoliciesInput) SetMaxItems(v int64) *ListUserPoliciesInput { - s.MaxItems = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *ListUserPoliciesInput) SetUserName(v string) *ListUserPoliciesInput { - s.UserName = &v - return s -} - // Contains the response to a successful ListUserPolicies request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUserPoliciesResponse type ListUserPoliciesOutput struct { @@ -18682,24 +16564,6 @@ func (s ListUserPoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListUserPoliciesOutput) SetIsTruncated(v bool) *ListUserPoliciesOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListUserPoliciesOutput) SetMarker(v string) *ListUserPoliciesOutput { - s.Marker = &v - return s -} - -// SetPolicyNames sets the PolicyNames field's value. -func (s *ListUserPoliciesOutput) SetPolicyNames(v []string) *ListUserPoliciesOutput { - s.PolicyNames = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUsersRequest type ListUsersInput struct { _ struct{} `type:"structure"` @@ -18763,24 +16627,6 @@ func (s *ListUsersInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListUsersInput) SetMarker(v string) *ListUsersInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListUsersInput) SetMaxItems(v int64) *ListUsersInput { - s.MaxItems = &v - return s -} - -// SetPathPrefix sets the PathPrefix field's value. -func (s *ListUsersInput) SetPathPrefix(v string) *ListUsersInput { - s.PathPrefix = &v - return s -} - // Contains the response to a successful ListUsers request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUsersResponse type ListUsersOutput struct { @@ -18821,24 +16667,6 @@ func (s ListUsersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListUsersOutput) SetIsTruncated(v bool) *ListUsersOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListUsersOutput) SetMarker(v string) *ListUsersOutput { - s.Marker = &v - return s -} - -// SetUsers sets the Users field's value. -func (s *ListUsersOutput) SetUsers(v []User) *ListUsersOutput { - s.Users = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListVirtualMFADevicesRequest type ListVirtualMFADevicesInput struct { _ struct{} `type:"structure"` @@ -18892,24 +16720,6 @@ func (s *ListVirtualMFADevicesInput) Validate() error { return nil } -// SetAssignmentStatus sets the AssignmentStatus field's value. -func (s *ListVirtualMFADevicesInput) SetAssignmentStatus(v AssignmentStatusType) *ListVirtualMFADevicesInput { - s.AssignmentStatus = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListVirtualMFADevicesInput) SetMarker(v string) *ListVirtualMFADevicesInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListVirtualMFADevicesInput) SetMaxItems(v int64) *ListVirtualMFADevicesInput { - s.MaxItems = &v - return s -} - // Contains the response to a successful ListVirtualMFADevices request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListVirtualMFADevicesResponse type ListVirtualMFADevicesOutput struct { @@ -18951,24 +16761,6 @@ func (s ListVirtualMFADevicesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListVirtualMFADevicesOutput) SetIsTruncated(v bool) *ListVirtualMFADevicesOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListVirtualMFADevicesOutput) SetMarker(v string) *ListVirtualMFADevicesOutput { - s.Marker = &v - return s -} - -// SetVirtualMFADevices sets the VirtualMFADevices field's value. -func (s *ListVirtualMFADevicesOutput) SetVirtualMFADevices(v []VirtualMFADevice) *ListVirtualMFADevicesOutput { - s.VirtualMFADevices = v - return s -} - // Contains the user name and password create date for a user. // // This data type is used as a response element in the CreateLoginProfile and @@ -19002,24 +16794,6 @@ func (s LoginProfile) GoString() string { return s.String() } -// SetCreateDate sets the CreateDate field's value. -func (s *LoginProfile) SetCreateDate(v time.Time) *LoginProfile { - s.CreateDate = &v - return s -} - -// SetPasswordResetRequired sets the PasswordResetRequired field's value. -func (s *LoginProfile) SetPasswordResetRequired(v bool) *LoginProfile { - s.PasswordResetRequired = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *LoginProfile) SetUserName(v string) *LoginProfile { - s.UserName = &v - return s -} - // Contains information about an MFA device. // // This data type is used as a response element in the ListMFADevices action. @@ -19054,24 +16828,6 @@ func (s MFADevice) GoString() string { return s.String() } -// SetEnableDate sets the EnableDate field's value. -func (s *MFADevice) SetEnableDate(v time.Time) *MFADevice { - s.EnableDate = &v - return s -} - -// SetSerialNumber sets the SerialNumber field's value. -func (s *MFADevice) SetSerialNumber(v string) *MFADevice { - s.SerialNumber = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *MFADevice) SetUserName(v string) *MFADevice { - s.UserName = &v - return s -} - // Contains information about a managed policy, including the policy's ARN, // versions, and the number of principal entities (users, groups, and roles) // that the policy is attached to. @@ -19153,72 +16909,6 @@ func (s ManagedPolicyDetail) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *ManagedPolicyDetail) SetArn(v string) *ManagedPolicyDetail { - s.Arn = &v - return s -} - -// SetAttachmentCount sets the AttachmentCount field's value. -func (s *ManagedPolicyDetail) SetAttachmentCount(v int64) *ManagedPolicyDetail { - s.AttachmentCount = &v - return s -} - -// SetCreateDate sets the CreateDate field's value. -func (s *ManagedPolicyDetail) SetCreateDate(v time.Time) *ManagedPolicyDetail { - s.CreateDate = &v - return s -} - -// SetDefaultVersionId sets the DefaultVersionId field's value. -func (s *ManagedPolicyDetail) SetDefaultVersionId(v string) *ManagedPolicyDetail { - s.DefaultVersionId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ManagedPolicyDetail) SetDescription(v string) *ManagedPolicyDetail { - s.Description = &v - return s -} - -// SetIsAttachable sets the IsAttachable field's value. -func (s *ManagedPolicyDetail) SetIsAttachable(v bool) *ManagedPolicyDetail { - s.IsAttachable = &v - return s -} - -// SetPath sets the Path field's value. -func (s *ManagedPolicyDetail) SetPath(v string) *ManagedPolicyDetail { - s.Path = &v - return s -} - -// SetPolicyId sets the PolicyId field's value. -func (s *ManagedPolicyDetail) SetPolicyId(v string) *ManagedPolicyDetail { - s.PolicyId = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *ManagedPolicyDetail) SetPolicyName(v string) *ManagedPolicyDetail { - s.PolicyName = &v - return s -} - -// SetPolicyVersionList sets the PolicyVersionList field's value. -func (s *ManagedPolicyDetail) SetPolicyVersionList(v []PolicyVersion) *ManagedPolicyDetail { - s.PolicyVersionList = v - return s -} - -// SetUpdateDate sets the UpdateDate field's value. -func (s *ManagedPolicyDetail) SetUpdateDate(v time.Time) *ManagedPolicyDetail { - s.UpdateDate = &v - return s -} - // Contains the Amazon Resource Name (ARN) for an IAM OpenID Connect provider. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/OpenIDConnectProviderListEntry type OpenIDConnectProviderListEntry struct { @@ -19242,12 +16932,6 @@ func (s OpenIDConnectProviderListEntry) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *OpenIDConnectProviderListEntry) SetArn(v string) *OpenIDConnectProviderListEntry { - s.Arn = &v - return s -} - // Contains information about AWS Organizations's affect on a policy simulation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/OrganizationsDecisionDetail type OrganizationsDecisionDetail struct { @@ -19268,12 +16952,6 @@ func (s OrganizationsDecisionDetail) GoString() string { return s.String() } -// SetAllowedByOrganizations sets the AllowedByOrganizations field's value. -func (s *OrganizationsDecisionDetail) SetAllowedByOrganizations(v bool) *OrganizationsDecisionDetail { - s.AllowedByOrganizations = &v - return s -} - // Contains information about the account password policy. // // This data type is used as a response element in the GetAccountPasswordPolicy @@ -19327,66 +17005,6 @@ func (s PasswordPolicy) GoString() string { return s.String() } -// SetAllowUsersToChangePassword sets the AllowUsersToChangePassword field's value. -func (s *PasswordPolicy) SetAllowUsersToChangePassword(v bool) *PasswordPolicy { - s.AllowUsersToChangePassword = &v - return s -} - -// SetExpirePasswords sets the ExpirePasswords field's value. -func (s *PasswordPolicy) SetExpirePasswords(v bool) *PasswordPolicy { - s.ExpirePasswords = &v - return s -} - -// SetHardExpiry sets the HardExpiry field's value. -func (s *PasswordPolicy) SetHardExpiry(v bool) *PasswordPolicy { - s.HardExpiry = &v - return s -} - -// SetMaxPasswordAge sets the MaxPasswordAge field's value. -func (s *PasswordPolicy) SetMaxPasswordAge(v int64) *PasswordPolicy { - s.MaxPasswordAge = &v - return s -} - -// SetMinimumPasswordLength sets the MinimumPasswordLength field's value. -func (s *PasswordPolicy) SetMinimumPasswordLength(v int64) *PasswordPolicy { - s.MinimumPasswordLength = &v - return s -} - -// SetPasswordReusePrevention sets the PasswordReusePrevention field's value. -func (s *PasswordPolicy) SetPasswordReusePrevention(v int64) *PasswordPolicy { - s.PasswordReusePrevention = &v - return s -} - -// SetRequireLowercaseCharacters sets the RequireLowercaseCharacters field's value. -func (s *PasswordPolicy) SetRequireLowercaseCharacters(v bool) *PasswordPolicy { - s.RequireLowercaseCharacters = &v - return s -} - -// SetRequireNumbers sets the RequireNumbers field's value. -func (s *PasswordPolicy) SetRequireNumbers(v bool) *PasswordPolicy { - s.RequireNumbers = &v - return s -} - -// SetRequireSymbols sets the RequireSymbols field's value. -func (s *PasswordPolicy) SetRequireSymbols(v bool) *PasswordPolicy { - s.RequireSymbols = &v - return s -} - -// SetRequireUppercaseCharacters sets the RequireUppercaseCharacters field's value. -func (s *PasswordPolicy) SetRequireUppercaseCharacters(v bool) *PasswordPolicy { - s.RequireUppercaseCharacters = &v - return s -} - // Contains information about a managed policy. // // This data type is used as a response element in the CreatePolicy, GetPolicy, @@ -19461,66 +17079,6 @@ func (s Policy) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Policy) SetArn(v string) *Policy { - s.Arn = &v - return s -} - -// SetAttachmentCount sets the AttachmentCount field's value. -func (s *Policy) SetAttachmentCount(v int64) *Policy { - s.AttachmentCount = &v - return s -} - -// SetCreateDate sets the CreateDate field's value. -func (s *Policy) SetCreateDate(v time.Time) *Policy { - s.CreateDate = &v - return s -} - -// SetDefaultVersionId sets the DefaultVersionId field's value. -func (s *Policy) SetDefaultVersionId(v string) *Policy { - s.DefaultVersionId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Policy) SetDescription(v string) *Policy { - s.Description = &v - return s -} - -// SetIsAttachable sets the IsAttachable field's value. -func (s *Policy) SetIsAttachable(v bool) *Policy { - s.IsAttachable = &v - return s -} - -// SetPath sets the Path field's value. -func (s *Policy) SetPath(v string) *Policy { - s.Path = &v - return s -} - -// SetPolicyId sets the PolicyId field's value. -func (s *Policy) SetPolicyId(v string) *Policy { - s.PolicyId = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *Policy) SetPolicyName(v string) *Policy { - s.PolicyName = &v - return s -} - -// SetUpdateDate sets the UpdateDate field's value. -func (s *Policy) SetUpdateDate(v time.Time) *Policy { - s.UpdateDate = &v - return s -} - // Contains information about an IAM policy, including the policy document. // // This data type is used as a response element in the GetAccountAuthorizationDetails @@ -19546,18 +17104,6 @@ func (s PolicyDetail) GoString() string { return s.String() } -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *PolicyDetail) SetPolicyDocument(v string) *PolicyDetail { - s.PolicyDocument = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *PolicyDetail) SetPolicyName(v string) *PolicyDetail { - s.PolicyName = &v - return s -} - // Contains information about a group that a managed policy is attached to. // // This data type is used as a response element in the ListEntitiesForPolicy @@ -19589,18 +17135,6 @@ func (s PolicyGroup) GoString() string { return s.String() } -// SetGroupId sets the GroupId field's value. -func (s *PolicyGroup) SetGroupId(v string) *PolicyGroup { - s.GroupId = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *PolicyGroup) SetGroupName(v string) *PolicyGroup { - s.GroupName = &v - return s -} - // Contains information about a role that a managed policy is attached to. // // This data type is used as a response element in the ListEntitiesForPolicy @@ -19632,18 +17166,6 @@ func (s PolicyRole) GoString() string { return s.String() } -// SetRoleId sets the RoleId field's value. -func (s *PolicyRole) SetRoleId(v string) *PolicyRole { - s.RoleId = &v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *PolicyRole) SetRoleName(v string) *PolicyRole { - s.RoleName = &v - return s -} - // Contains information about a user that a managed policy is attached to. // // This data type is used as a response element in the ListEntitiesForPolicy @@ -19675,18 +17197,6 @@ func (s PolicyUser) GoString() string { return s.String() } -// SetUserId sets the UserId field's value. -func (s *PolicyUser) SetUserId(v string) *PolicyUser { - s.UserId = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *PolicyUser) SetUserName(v string) *PolicyUser { - s.UserName = &v - return s -} - // Contains information about a version of a managed policy. // // This data type is used as a response element in the CreatePolicyVersion, @@ -19731,30 +17241,6 @@ func (s PolicyVersion) GoString() string { return s.String() } -// SetCreateDate sets the CreateDate field's value. -func (s *PolicyVersion) SetCreateDate(v time.Time) *PolicyVersion { - s.CreateDate = &v - return s -} - -// SetDocument sets the Document field's value. -func (s *PolicyVersion) SetDocument(v string) *PolicyVersion { - s.Document = &v - return s -} - -// SetIsDefaultVersion sets the IsDefaultVersion field's value. -func (s *PolicyVersion) SetIsDefaultVersion(v bool) *PolicyVersion { - s.IsDefaultVersion = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *PolicyVersion) SetVersionId(v string) *PolicyVersion { - s.VersionId = &v - return s -} - // Contains the row and column of a location of a Statement element in a policy // document. // @@ -19780,18 +17266,6 @@ func (s Position) GoString() string { return s.String() } -// SetColumn sets the Column field's value. -func (s *Position) SetColumn(v int64) *Position { - s.Column = &v - return s -} - -// SetLine sets the Line field's value. -func (s *Position) SetLine(v int64) *Position { - s.Line = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutGroupPolicyRequest type PutGroupPolicyInput struct { _ struct{} `type:"structure"` @@ -19868,24 +17342,6 @@ func (s *PutGroupPolicyInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *PutGroupPolicyInput) SetGroupName(v string) *PutGroupPolicyInput { - s.GroupName = &v - return s -} - -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *PutGroupPolicyInput) SetPolicyDocument(v string) *PutGroupPolicyInput { - s.PolicyDocument = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *PutGroupPolicyInput) SetPolicyName(v string) *PutGroupPolicyInput { - s.PolicyName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutGroupPolicyOutput type PutGroupPolicyOutput struct { _ struct{} `type:"structure"` @@ -19984,24 +17440,6 @@ func (s *PutRolePolicyInput) Validate() error { return nil } -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *PutRolePolicyInput) SetPolicyDocument(v string) *PutRolePolicyInput { - s.PolicyDocument = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *PutRolePolicyInput) SetPolicyName(v string) *PutRolePolicyInput { - s.PolicyName = &v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *PutRolePolicyInput) SetRoleName(v string) *PutRolePolicyInput { - s.RoleName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutRolePolicyOutput type PutRolePolicyOutput struct { _ struct{} `type:"structure"` @@ -20100,24 +17538,6 @@ func (s *PutUserPolicyInput) Validate() error { return nil } -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *PutUserPolicyInput) SetPolicyDocument(v string) *PutUserPolicyInput { - s.PolicyDocument = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *PutUserPolicyInput) SetPolicyName(v string) *PutUserPolicyInput { - s.PolicyName = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *PutUserPolicyInput) SetUserName(v string) *PutUserPolicyInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutUserPolicyOutput type PutUserPolicyOutput struct { _ struct{} `type:"structure"` @@ -20196,18 +17616,6 @@ func (s *RemoveClientIDFromOpenIDConnectProviderInput) Validate() error { return nil } -// SetClientID sets the ClientID field's value. -func (s *RemoveClientIDFromOpenIDConnectProviderInput) SetClientID(v string) *RemoveClientIDFromOpenIDConnectProviderInput { - s.ClientID = &v - return s -} - -// SetOpenIDConnectProviderArn sets the OpenIDConnectProviderArn field's value. -func (s *RemoveClientIDFromOpenIDConnectProviderInput) SetOpenIDConnectProviderArn(v string) *RemoveClientIDFromOpenIDConnectProviderInput { - s.OpenIDConnectProviderArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveClientIDFromOpenIDConnectProviderOutput type RemoveClientIDFromOpenIDConnectProviderOutput struct { _ struct{} `type:"structure"` @@ -20287,18 +17695,6 @@ func (s *RemoveRoleFromInstanceProfileInput) Validate() error { return nil } -// SetInstanceProfileName sets the InstanceProfileName field's value. -func (s *RemoveRoleFromInstanceProfileInput) SetInstanceProfileName(v string) *RemoveRoleFromInstanceProfileInput { - s.InstanceProfileName = &v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *RemoveRoleFromInstanceProfileInput) SetRoleName(v string) *RemoveRoleFromInstanceProfileInput { - s.RoleName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveRoleFromInstanceProfileOutput type RemoveRoleFromInstanceProfileOutput struct { _ struct{} `type:"structure"` @@ -20378,18 +17774,6 @@ func (s *RemoveUserFromGroupInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *RemoveUserFromGroupInput) SetGroupName(v string) *RemoveUserFromGroupInput { - s.GroupName = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *RemoveUserFromGroupInput) SetUserName(v string) *RemoveUserFromGroupInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveUserFromGroupOutput type RemoveUserFromGroupOutput struct { _ struct{} `type:"structure"` @@ -20465,18 +17849,6 @@ func (s *ResetServiceSpecificCredentialInput) Validate() error { return nil } -// SetServiceSpecificCredentialId sets the ServiceSpecificCredentialId field's value. -func (s *ResetServiceSpecificCredentialInput) SetServiceSpecificCredentialId(v string) *ResetServiceSpecificCredentialInput { - s.ServiceSpecificCredentialId = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *ResetServiceSpecificCredentialInput) SetUserName(v string) *ResetServiceSpecificCredentialInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResetServiceSpecificCredentialResponse type ResetServiceSpecificCredentialOutput struct { _ struct{} `type:"structure"` @@ -20506,12 +17878,6 @@ func (s ResetServiceSpecificCredentialOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetServiceSpecificCredential sets the ServiceSpecificCredential field's value. -func (s *ResetServiceSpecificCredentialOutput) SetServiceSpecificCredential(v *ServiceSpecificCredential) *ResetServiceSpecificCredentialOutput { - s.ServiceSpecificCredential = v - return s -} - // Contains the result of the simulation of a single API action call on a single // resource. // @@ -20566,36 +17932,6 @@ func (s ResourceSpecificResult) GoString() string { return s.String() } -// SetEvalDecisionDetails sets the EvalDecisionDetails field's value. -func (s *ResourceSpecificResult) SetEvalDecisionDetails(v map[string]PolicyEvaluationDecisionType) *ResourceSpecificResult { - s.EvalDecisionDetails = v - return s -} - -// SetEvalResourceDecision sets the EvalResourceDecision field's value. -func (s *ResourceSpecificResult) SetEvalResourceDecision(v PolicyEvaluationDecisionType) *ResourceSpecificResult { - s.EvalResourceDecision = v - return s -} - -// SetEvalResourceName sets the EvalResourceName field's value. -func (s *ResourceSpecificResult) SetEvalResourceName(v string) *ResourceSpecificResult { - s.EvalResourceName = &v - return s -} - -// SetMatchedStatements sets the MatchedStatements field's value. -func (s *ResourceSpecificResult) SetMatchedStatements(v []Statement) *ResourceSpecificResult { - s.MatchedStatements = v - return s -} - -// SetMissingContextValues sets the MissingContextValues field's value. -func (s *ResourceSpecificResult) SetMissingContextValues(v []string) *ResourceSpecificResult { - s.MissingContextValues = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResyncMFADeviceRequest type ResyncMFADeviceInput struct { _ struct{} `type:"structure"` @@ -20681,30 +18017,6 @@ func (s *ResyncMFADeviceInput) Validate() error { return nil } -// SetAuthenticationCode1 sets the AuthenticationCode1 field's value. -func (s *ResyncMFADeviceInput) SetAuthenticationCode1(v string) *ResyncMFADeviceInput { - s.AuthenticationCode1 = &v - return s -} - -// SetAuthenticationCode2 sets the AuthenticationCode2 field's value. -func (s *ResyncMFADeviceInput) SetAuthenticationCode2(v string) *ResyncMFADeviceInput { - s.AuthenticationCode2 = &v - return s -} - -// SetSerialNumber sets the SerialNumber field's value. -func (s *ResyncMFADeviceInput) SetSerialNumber(v string) *ResyncMFADeviceInput { - s.SerialNumber = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *ResyncMFADeviceInput) SetUserName(v string) *ResyncMFADeviceInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResyncMFADeviceOutput type ResyncMFADeviceOutput struct { _ struct{} `type:"structure"` @@ -20782,48 +18094,6 @@ func (s Role) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Role) SetArn(v string) *Role { - s.Arn = &v - return s -} - -// SetAssumeRolePolicyDocument sets the AssumeRolePolicyDocument field's value. -func (s *Role) SetAssumeRolePolicyDocument(v string) *Role { - s.AssumeRolePolicyDocument = &v - return s -} - -// SetCreateDate sets the CreateDate field's value. -func (s *Role) SetCreateDate(v time.Time) *Role { - s.CreateDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Role) SetDescription(v string) *Role { - s.Description = &v - return s -} - -// SetPath sets the Path field's value. -func (s *Role) SetPath(v string) *Role { - s.Path = &v - return s -} - -// SetRoleId sets the RoleId field's value. -func (s *Role) SetRoleId(v string) *Role { - s.RoleId = &v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *Role) SetRoleName(v string) *Role { - s.RoleName = &v - return s -} - // Contains information about an IAM role, including all of the role's policies. // // This data type is used as a response element in the GetAccountAuthorizationDetails @@ -20881,60 +18151,6 @@ func (s RoleDetail) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *RoleDetail) SetArn(v string) *RoleDetail { - s.Arn = &v - return s -} - -// SetAssumeRolePolicyDocument sets the AssumeRolePolicyDocument field's value. -func (s *RoleDetail) SetAssumeRolePolicyDocument(v string) *RoleDetail { - s.AssumeRolePolicyDocument = &v - return s -} - -// SetAttachedManagedPolicies sets the AttachedManagedPolicies field's value. -func (s *RoleDetail) SetAttachedManagedPolicies(v []AttachedPolicy) *RoleDetail { - s.AttachedManagedPolicies = v - return s -} - -// SetCreateDate sets the CreateDate field's value. -func (s *RoleDetail) SetCreateDate(v time.Time) *RoleDetail { - s.CreateDate = &v - return s -} - -// SetInstanceProfileList sets the InstanceProfileList field's value. -func (s *RoleDetail) SetInstanceProfileList(v []InstanceProfile) *RoleDetail { - s.InstanceProfileList = v - return s -} - -// SetPath sets the Path field's value. -func (s *RoleDetail) SetPath(v string) *RoleDetail { - s.Path = &v - return s -} - -// SetRoleId sets the RoleId field's value. -func (s *RoleDetail) SetRoleId(v string) *RoleDetail { - s.RoleId = &v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *RoleDetail) SetRoleName(v string) *RoleDetail { - s.RoleName = &v - return s -} - -// SetRolePolicyList sets the RolePolicyList field's value. -func (s *RoleDetail) SetRolePolicyList(v []PolicyDetail) *RoleDetail { - s.RolePolicyList = v - return s -} - // An object that contains details about how a service-linked role is used. // // This data type is used as a response element in the GetServiceLinkedRoleDeletionStatus @@ -20960,18 +18176,6 @@ func (s RoleUsageType) GoString() string { return s.String() } -// SetRegion sets the Region field's value. -func (s *RoleUsageType) SetRegion(v string) *RoleUsageType { - s.Region = &v - return s -} - -// SetResources sets the Resources field's value. -func (s *RoleUsageType) SetResources(v []string) *RoleUsageType { - s.Resources = v - return s -} - // Contains the list of SAML providers for this account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SAMLProviderListEntry type SAMLProviderListEntry struct { @@ -20997,24 +18201,6 @@ func (s SAMLProviderListEntry) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *SAMLProviderListEntry) SetArn(v string) *SAMLProviderListEntry { - s.Arn = &v - return s -} - -// SetCreateDate sets the CreateDate field's value. -func (s *SAMLProviderListEntry) SetCreateDate(v time.Time) *SAMLProviderListEntry { - s.CreateDate = &v - return s -} - -// SetValidUntil sets the ValidUntil field's value. -func (s *SAMLProviderListEntry) SetValidUntil(v time.Time) *SAMLProviderListEntry { - s.ValidUntil = &v - return s -} - // Contains information about an SSH public key. // // This data type is used as a response element in the GetSSHPublicKey and UploadSSHPublicKey @@ -21064,42 +18250,6 @@ func (s SSHPublicKey) GoString() string { return s.String() } -// SetFingerprint sets the Fingerprint field's value. -func (s *SSHPublicKey) SetFingerprint(v string) *SSHPublicKey { - s.Fingerprint = &v - return s -} - -// SetSSHPublicKeyBody sets the SSHPublicKeyBody field's value. -func (s *SSHPublicKey) SetSSHPublicKeyBody(v string) *SSHPublicKey { - s.SSHPublicKeyBody = &v - return s -} - -// SetSSHPublicKeyId sets the SSHPublicKeyId field's value. -func (s *SSHPublicKey) SetSSHPublicKeyId(v string) *SSHPublicKey { - s.SSHPublicKeyId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *SSHPublicKey) SetStatus(v StatusType) *SSHPublicKey { - s.Status = v - return s -} - -// SetUploadDate sets the UploadDate field's value. -func (s *SSHPublicKey) SetUploadDate(v time.Time) *SSHPublicKey { - s.UploadDate = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *SSHPublicKey) SetUserName(v string) *SSHPublicKey { - s.UserName = &v - return s -} - // Contains information about an SSH public key, without the key's body or fingerprint. // // This data type is used as a response element in the ListSSHPublicKeys action. @@ -21140,30 +18290,6 @@ func (s SSHPublicKeyMetadata) GoString() string { return s.String() } -// SetSSHPublicKeyId sets the SSHPublicKeyId field's value. -func (s *SSHPublicKeyMetadata) SetSSHPublicKeyId(v string) *SSHPublicKeyMetadata { - s.SSHPublicKeyId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *SSHPublicKeyMetadata) SetStatus(v StatusType) *SSHPublicKeyMetadata { - s.Status = v - return s -} - -// SetUploadDate sets the UploadDate field's value. -func (s *SSHPublicKeyMetadata) SetUploadDate(v time.Time) *SSHPublicKeyMetadata { - s.UploadDate = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *SSHPublicKeyMetadata) SetUserName(v string) *SSHPublicKeyMetadata { - s.UserName = &v - return s -} - // Contains information about a server certificate. // // This data type is used as a response element in the GetServerCertificate @@ -21197,24 +18323,6 @@ func (s ServerCertificate) GoString() string { return s.String() } -// SetCertificateBody sets the CertificateBody field's value. -func (s *ServerCertificate) SetCertificateBody(v string) *ServerCertificate { - s.CertificateBody = &v - return s -} - -// SetCertificateChain sets the CertificateChain field's value. -func (s *ServerCertificate) SetCertificateChain(v string) *ServerCertificate { - s.CertificateChain = &v - return s -} - -// SetServerCertificateMetadata sets the ServerCertificateMetadata field's value. -func (s *ServerCertificate) SetServerCertificateMetadata(v *ServerCertificateMetadata) *ServerCertificate { - s.ServerCertificateMetadata = v - return s -} - // Contains information about a server certificate without its certificate body, // certificate chain, and private key. // @@ -21268,42 +18376,6 @@ func (s ServerCertificateMetadata) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *ServerCertificateMetadata) SetArn(v string) *ServerCertificateMetadata { - s.Arn = &v - return s -} - -// SetExpiration sets the Expiration field's value. -func (s *ServerCertificateMetadata) SetExpiration(v time.Time) *ServerCertificateMetadata { - s.Expiration = &v - return s -} - -// SetPath sets the Path field's value. -func (s *ServerCertificateMetadata) SetPath(v string) *ServerCertificateMetadata { - s.Path = &v - return s -} - -// SetServerCertificateId sets the ServerCertificateId field's value. -func (s *ServerCertificateMetadata) SetServerCertificateId(v string) *ServerCertificateMetadata { - s.ServerCertificateId = &v - return s -} - -// SetServerCertificateName sets the ServerCertificateName field's value. -func (s *ServerCertificateMetadata) SetServerCertificateName(v string) *ServerCertificateMetadata { - s.ServerCertificateName = &v - return s -} - -// SetUploadDate sets the UploadDate field's value. -func (s *ServerCertificateMetadata) SetUploadDate(v time.Time) *ServerCertificateMetadata { - s.UploadDate = &v - return s -} - // Contains the details of a service specific credential. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ServiceSpecificCredential type ServiceSpecificCredential struct { @@ -21360,48 +18432,6 @@ func (s ServiceSpecificCredential) GoString() string { return s.String() } -// SetCreateDate sets the CreateDate field's value. -func (s *ServiceSpecificCredential) SetCreateDate(v time.Time) *ServiceSpecificCredential { - s.CreateDate = &v - return s -} - -// SetServiceName sets the ServiceName field's value. -func (s *ServiceSpecificCredential) SetServiceName(v string) *ServiceSpecificCredential { - s.ServiceName = &v - return s -} - -// SetServicePassword sets the ServicePassword field's value. -func (s *ServiceSpecificCredential) SetServicePassword(v string) *ServiceSpecificCredential { - s.ServicePassword = &v - return s -} - -// SetServiceSpecificCredentialId sets the ServiceSpecificCredentialId field's value. -func (s *ServiceSpecificCredential) SetServiceSpecificCredentialId(v string) *ServiceSpecificCredential { - s.ServiceSpecificCredentialId = &v - return s -} - -// SetServiceUserName sets the ServiceUserName field's value. -func (s *ServiceSpecificCredential) SetServiceUserName(v string) *ServiceSpecificCredential { - s.ServiceUserName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ServiceSpecificCredential) SetStatus(v StatusType) *ServiceSpecificCredential { - s.Status = v - return s -} - -// SetUserName sets the UserName field's value. -func (s *ServiceSpecificCredential) SetUserName(v string) *ServiceSpecificCredential { - s.UserName = &v - return s -} - // Contains additional details about a service-specific credential. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ServiceSpecificCredentialMetadata type ServiceSpecificCredentialMetadata struct { @@ -21450,42 +18480,6 @@ func (s ServiceSpecificCredentialMetadata) GoString() string { return s.String() } -// SetCreateDate sets the CreateDate field's value. -func (s *ServiceSpecificCredentialMetadata) SetCreateDate(v time.Time) *ServiceSpecificCredentialMetadata { - s.CreateDate = &v - return s -} - -// SetServiceName sets the ServiceName field's value. -func (s *ServiceSpecificCredentialMetadata) SetServiceName(v string) *ServiceSpecificCredentialMetadata { - s.ServiceName = &v - return s -} - -// SetServiceSpecificCredentialId sets the ServiceSpecificCredentialId field's value. -func (s *ServiceSpecificCredentialMetadata) SetServiceSpecificCredentialId(v string) *ServiceSpecificCredentialMetadata { - s.ServiceSpecificCredentialId = &v - return s -} - -// SetServiceUserName sets the ServiceUserName field's value. -func (s *ServiceSpecificCredentialMetadata) SetServiceUserName(v string) *ServiceSpecificCredentialMetadata { - s.ServiceUserName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ServiceSpecificCredentialMetadata) SetStatus(v StatusType) *ServiceSpecificCredentialMetadata { - s.Status = v - return s -} - -// SetUserName sets the UserName field's value. -func (s *ServiceSpecificCredentialMetadata) SetUserName(v string) *ServiceSpecificCredentialMetadata { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SetDefaultPolicyVersionRequest type SetDefaultPolicyVersionInput struct { _ struct{} `type:"structure"` @@ -21541,18 +18535,6 @@ func (s *SetDefaultPolicyVersionInput) Validate() error { return nil } -// SetPolicyArn sets the PolicyArn field's value. -func (s *SetDefaultPolicyVersionInput) SetPolicyArn(v string) *SetDefaultPolicyVersionInput { - s.PolicyArn = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *SetDefaultPolicyVersionInput) SetVersionId(v string) *SetDefaultPolicyVersionInput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SetDefaultPolicyVersionOutput type SetDefaultPolicyVersionOutput struct { _ struct{} `type:"structure"` @@ -21618,36 +18600,6 @@ func (s SigningCertificate) GoString() string { return s.String() } -// SetCertificateBody sets the CertificateBody field's value. -func (s *SigningCertificate) SetCertificateBody(v string) *SigningCertificate { - s.CertificateBody = &v - return s -} - -// SetCertificateId sets the CertificateId field's value. -func (s *SigningCertificate) SetCertificateId(v string) *SigningCertificate { - s.CertificateId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *SigningCertificate) SetStatus(v StatusType) *SigningCertificate { - s.Status = v - return s -} - -// SetUploadDate sets the UploadDate field's value. -func (s *SigningCertificate) SetUploadDate(v time.Time) *SigningCertificate { - s.UploadDate = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *SigningCertificate) SetUserName(v string) *SigningCertificate { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulateCustomPolicyRequest type SimulateCustomPolicyInput struct { _ struct{} `type:"structure"` @@ -21844,66 +18796,6 @@ func (s *SimulateCustomPolicyInput) Validate() error { return nil } -// SetActionNames sets the ActionNames field's value. -func (s *SimulateCustomPolicyInput) SetActionNames(v []string) *SimulateCustomPolicyInput { - s.ActionNames = v - return s -} - -// SetCallerArn sets the CallerArn field's value. -func (s *SimulateCustomPolicyInput) SetCallerArn(v string) *SimulateCustomPolicyInput { - s.CallerArn = &v - return s -} - -// SetContextEntries sets the ContextEntries field's value. -func (s *SimulateCustomPolicyInput) SetContextEntries(v []ContextEntry) *SimulateCustomPolicyInput { - s.ContextEntries = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *SimulateCustomPolicyInput) SetMarker(v string) *SimulateCustomPolicyInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *SimulateCustomPolicyInput) SetMaxItems(v int64) *SimulateCustomPolicyInput { - s.MaxItems = &v - return s -} - -// SetPolicyInputList sets the PolicyInputList field's value. -func (s *SimulateCustomPolicyInput) SetPolicyInputList(v []string) *SimulateCustomPolicyInput { - s.PolicyInputList = v - return s -} - -// SetResourceArns sets the ResourceArns field's value. -func (s *SimulateCustomPolicyInput) SetResourceArns(v []string) *SimulateCustomPolicyInput { - s.ResourceArns = v - return s -} - -// SetResourceHandlingOption sets the ResourceHandlingOption field's value. -func (s *SimulateCustomPolicyInput) SetResourceHandlingOption(v string) *SimulateCustomPolicyInput { - s.ResourceHandlingOption = &v - return s -} - -// SetResourceOwner sets the ResourceOwner field's value. -func (s *SimulateCustomPolicyInput) SetResourceOwner(v string) *SimulateCustomPolicyInput { - s.ResourceOwner = &v - return s -} - -// SetResourcePolicy sets the ResourcePolicy field's value. -func (s *SimulateCustomPolicyInput) SetResourcePolicy(v string) *SimulateCustomPolicyInput { - s.ResourcePolicy = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulatePrincipalPolicyRequest type SimulatePrincipalPolicyInput struct { _ struct{} `type:"structure"` @@ -22117,72 +19009,6 @@ func (s *SimulatePrincipalPolicyInput) Validate() error { return nil } -// SetActionNames sets the ActionNames field's value. -func (s *SimulatePrincipalPolicyInput) SetActionNames(v []string) *SimulatePrincipalPolicyInput { - s.ActionNames = v - return s -} - -// SetCallerArn sets the CallerArn field's value. -func (s *SimulatePrincipalPolicyInput) SetCallerArn(v string) *SimulatePrincipalPolicyInput { - s.CallerArn = &v - return s -} - -// SetContextEntries sets the ContextEntries field's value. -func (s *SimulatePrincipalPolicyInput) SetContextEntries(v []ContextEntry) *SimulatePrincipalPolicyInput { - s.ContextEntries = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *SimulatePrincipalPolicyInput) SetMarker(v string) *SimulatePrincipalPolicyInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *SimulatePrincipalPolicyInput) SetMaxItems(v int64) *SimulatePrincipalPolicyInput { - s.MaxItems = &v - return s -} - -// SetPolicyInputList sets the PolicyInputList field's value. -func (s *SimulatePrincipalPolicyInput) SetPolicyInputList(v []string) *SimulatePrincipalPolicyInput { - s.PolicyInputList = v - return s -} - -// SetPolicySourceArn sets the PolicySourceArn field's value. -func (s *SimulatePrincipalPolicyInput) SetPolicySourceArn(v string) *SimulatePrincipalPolicyInput { - s.PolicySourceArn = &v - return s -} - -// SetResourceArns sets the ResourceArns field's value. -func (s *SimulatePrincipalPolicyInput) SetResourceArns(v []string) *SimulatePrincipalPolicyInput { - s.ResourceArns = v - return s -} - -// SetResourceHandlingOption sets the ResourceHandlingOption field's value. -func (s *SimulatePrincipalPolicyInput) SetResourceHandlingOption(v string) *SimulatePrincipalPolicyInput { - s.ResourceHandlingOption = &v - return s -} - -// SetResourceOwner sets the ResourceOwner field's value. -func (s *SimulatePrincipalPolicyInput) SetResourceOwner(v string) *SimulatePrincipalPolicyInput { - s.ResourceOwner = &v - return s -} - -// SetResourcePolicy sets the ResourcePolicy field's value. -func (s *SimulatePrincipalPolicyInput) SetResourcePolicy(v string) *SimulatePrincipalPolicyInput { - s.ResourcePolicy = &v - return s -} - // Contains the response to a successful SimulatePrincipalPolicy or SimulateCustomPolicy // request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulateCustomPolicyOutput @@ -22222,24 +19048,6 @@ func (s SimulatePrincipalPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEvaluationResults sets the EvaluationResults field's value. -func (s *SimulatePrincipalPolicyOutput) SetEvaluationResults(v []EvaluationResult) *SimulatePrincipalPolicyOutput { - s.EvaluationResults = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *SimulatePrincipalPolicyOutput) SetIsTruncated(v bool) *SimulatePrincipalPolicyOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *SimulatePrincipalPolicyOutput) SetMarker(v string) *SimulatePrincipalPolicyOutput { - s.Marker = &v - return s -} - // Contains a reference to a Statement element in a policy document that determines // the result of the simulation. // @@ -22272,30 +19080,6 @@ func (s Statement) GoString() string { return s.String() } -// SetEndPosition sets the EndPosition field's value. -func (s *Statement) SetEndPosition(v *Position) *Statement { - s.EndPosition = v - return s -} - -// SetSourcePolicyId sets the SourcePolicyId field's value. -func (s *Statement) SetSourcePolicyId(v string) *Statement { - s.SourcePolicyId = &v - return s -} - -// SetSourcePolicyType sets the SourcePolicyType field's value. -func (s *Statement) SetSourcePolicyType(v PolicySourceType) *Statement { - s.SourcePolicyType = v - return s -} - -// SetStartPosition sets the StartPosition field's value. -func (s *Statement) SetStartPosition(v *Position) *Statement { - s.StartPosition = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccessKeyRequest type UpdateAccessKeyInput struct { _ struct{} `type:"structure"` @@ -22357,24 +19141,6 @@ func (s *UpdateAccessKeyInput) Validate() error { return nil } -// SetAccessKeyId sets the AccessKeyId field's value. -func (s *UpdateAccessKeyInput) SetAccessKeyId(v string) *UpdateAccessKeyInput { - s.AccessKeyId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *UpdateAccessKeyInput) SetStatus(v StatusType) *UpdateAccessKeyInput { - s.Status = v - return s -} - -// SetUserName sets the UserName field's value. -func (s *UpdateAccessKeyInput) SetUserName(v string) *UpdateAccessKeyInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccessKeyOutput type UpdateAccessKeyOutput struct { _ struct{} `type:"structure"` @@ -22488,60 +19254,6 @@ func (s *UpdateAccountPasswordPolicyInput) Validate() error { return nil } -// SetAllowUsersToChangePassword sets the AllowUsersToChangePassword field's value. -func (s *UpdateAccountPasswordPolicyInput) SetAllowUsersToChangePassword(v bool) *UpdateAccountPasswordPolicyInput { - s.AllowUsersToChangePassword = &v - return s -} - -// SetHardExpiry sets the HardExpiry field's value. -func (s *UpdateAccountPasswordPolicyInput) SetHardExpiry(v bool) *UpdateAccountPasswordPolicyInput { - s.HardExpiry = &v - return s -} - -// SetMaxPasswordAge sets the MaxPasswordAge field's value. -func (s *UpdateAccountPasswordPolicyInput) SetMaxPasswordAge(v int64) *UpdateAccountPasswordPolicyInput { - s.MaxPasswordAge = &v - return s -} - -// SetMinimumPasswordLength sets the MinimumPasswordLength field's value. -func (s *UpdateAccountPasswordPolicyInput) SetMinimumPasswordLength(v int64) *UpdateAccountPasswordPolicyInput { - s.MinimumPasswordLength = &v - return s -} - -// SetPasswordReusePrevention sets the PasswordReusePrevention field's value. -func (s *UpdateAccountPasswordPolicyInput) SetPasswordReusePrevention(v int64) *UpdateAccountPasswordPolicyInput { - s.PasswordReusePrevention = &v - return s -} - -// SetRequireLowercaseCharacters sets the RequireLowercaseCharacters field's value. -func (s *UpdateAccountPasswordPolicyInput) SetRequireLowercaseCharacters(v bool) *UpdateAccountPasswordPolicyInput { - s.RequireLowercaseCharacters = &v - return s -} - -// SetRequireNumbers sets the RequireNumbers field's value. -func (s *UpdateAccountPasswordPolicyInput) SetRequireNumbers(v bool) *UpdateAccountPasswordPolicyInput { - s.RequireNumbers = &v - return s -} - -// SetRequireSymbols sets the RequireSymbols field's value. -func (s *UpdateAccountPasswordPolicyInput) SetRequireSymbols(v bool) *UpdateAccountPasswordPolicyInput { - s.RequireSymbols = &v - return s -} - -// SetRequireUppercaseCharacters sets the RequireUppercaseCharacters field's value. -func (s *UpdateAccountPasswordPolicyInput) SetRequireUppercaseCharacters(v bool) *UpdateAccountPasswordPolicyInput { - s.RequireUppercaseCharacters = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccountPasswordPolicyOutput type UpdateAccountPasswordPolicyOutput struct { _ struct{} `type:"structure"` @@ -22624,18 +19336,6 @@ func (s *UpdateAssumeRolePolicyInput) Validate() error { return nil } -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *UpdateAssumeRolePolicyInput) SetPolicyDocument(v string) *UpdateAssumeRolePolicyInput { - s.PolicyDocument = &v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *UpdateAssumeRolePolicyInput) SetRoleName(v string) *UpdateAssumeRolePolicyInput { - s.RoleName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAssumeRolePolicyOutput type UpdateAssumeRolePolicyOutput struct { _ struct{} `type:"structure"` @@ -22722,24 +19422,6 @@ func (s *UpdateGroupInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *UpdateGroupInput) SetGroupName(v string) *UpdateGroupInput { - s.GroupName = &v - return s -} - -// SetNewGroupName sets the NewGroupName field's value. -func (s *UpdateGroupInput) SetNewGroupName(v string) *UpdateGroupInput { - s.NewGroupName = &v - return s -} - -// SetNewPath sets the NewPath field's value. -func (s *UpdateGroupInput) SetNewPath(v string) *UpdateGroupInput { - s.NewPath = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateGroupOutput type UpdateGroupOutput struct { _ struct{} `type:"structure"` @@ -22822,24 +19504,6 @@ func (s *UpdateLoginProfileInput) Validate() error { return nil } -// SetPassword sets the Password field's value. -func (s *UpdateLoginProfileInput) SetPassword(v string) *UpdateLoginProfileInput { - s.Password = &v - return s -} - -// SetPasswordResetRequired sets the PasswordResetRequired field's value. -func (s *UpdateLoginProfileInput) SetPasswordResetRequired(v bool) *UpdateLoginProfileInput { - s.PasswordResetRequired = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *UpdateLoginProfileInput) SetUserName(v string) *UpdateLoginProfileInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateLoginProfileOutput type UpdateLoginProfileOutput struct { _ struct{} `type:"structure"` @@ -22915,18 +19579,6 @@ func (s *UpdateOpenIDConnectProviderThumbprintInput) Validate() error { return nil } -// SetOpenIDConnectProviderArn sets the OpenIDConnectProviderArn field's value. -func (s *UpdateOpenIDConnectProviderThumbprintInput) SetOpenIDConnectProviderArn(v string) *UpdateOpenIDConnectProviderThumbprintInput { - s.OpenIDConnectProviderArn = &v - return s -} - -// SetThumbprintList sets the ThumbprintList field's value. -func (s *UpdateOpenIDConnectProviderThumbprintInput) SetThumbprintList(v []string) *UpdateOpenIDConnectProviderThumbprintInput { - s.ThumbprintList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateOpenIDConnectProviderThumbprintOutput type UpdateOpenIDConnectProviderThumbprintOutput struct { _ struct{} `type:"structure"` @@ -22995,18 +19647,6 @@ func (s *UpdateRoleDescriptionInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *UpdateRoleDescriptionInput) SetDescription(v string) *UpdateRoleDescriptionInput { - s.Description = &v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *UpdateRoleDescriptionInput) SetRoleName(v string) *UpdateRoleDescriptionInput { - s.RoleName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateRoleDescriptionResponse type UpdateRoleDescriptionOutput struct { _ struct{} `type:"structure"` @@ -23032,12 +19672,6 @@ func (s UpdateRoleDescriptionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRole sets the Role field's value. -func (s *UpdateRoleDescriptionOutput) SetRole(v *Role) *UpdateRoleDescriptionOutput { - s.Role = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSAMLProviderRequest type UpdateSAMLProviderInput struct { _ struct{} `type:"structure"` @@ -23095,18 +19729,6 @@ func (s *UpdateSAMLProviderInput) Validate() error { return nil } -// SetSAMLMetadataDocument sets the SAMLMetadataDocument field's value. -func (s *UpdateSAMLProviderInput) SetSAMLMetadataDocument(v string) *UpdateSAMLProviderInput { - s.SAMLMetadataDocument = &v - return s -} - -// SetSAMLProviderArn sets the SAMLProviderArn field's value. -func (s *UpdateSAMLProviderInput) SetSAMLProviderArn(v string) *UpdateSAMLProviderInput { - s.SAMLProviderArn = &v - return s -} - // Contains the response to a successful UpdateSAMLProvider request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSAMLProviderResponse type UpdateSAMLProviderOutput struct { @@ -23133,12 +19755,6 @@ func (s UpdateSAMLProviderOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSAMLProviderArn sets the SAMLProviderArn field's value. -func (s *UpdateSAMLProviderOutput) SetSAMLProviderArn(v string) *UpdateSAMLProviderOutput { - s.SAMLProviderArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSSHPublicKeyRequest type UpdateSSHPublicKeyInput struct { _ struct{} `type:"structure"` @@ -23206,24 +19822,6 @@ func (s *UpdateSSHPublicKeyInput) Validate() error { return nil } -// SetSSHPublicKeyId sets the SSHPublicKeyId field's value. -func (s *UpdateSSHPublicKeyInput) SetSSHPublicKeyId(v string) *UpdateSSHPublicKeyInput { - s.SSHPublicKeyId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *UpdateSSHPublicKeyInput) SetStatus(v StatusType) *UpdateSSHPublicKeyInput { - s.Status = v - return s -} - -// SetUserName sets the UserName field's value. -func (s *UpdateSSHPublicKeyInput) SetUserName(v string) *UpdateSSHPublicKeyInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSSHPublicKeyOutput type UpdateSSHPublicKeyOutput struct { _ struct{} `type:"structure"` @@ -23312,24 +19910,6 @@ func (s *UpdateServerCertificateInput) Validate() error { return nil } -// SetNewPath sets the NewPath field's value. -func (s *UpdateServerCertificateInput) SetNewPath(v string) *UpdateServerCertificateInput { - s.NewPath = &v - return s -} - -// SetNewServerCertificateName sets the NewServerCertificateName field's value. -func (s *UpdateServerCertificateInput) SetNewServerCertificateName(v string) *UpdateServerCertificateInput { - s.NewServerCertificateName = &v - return s -} - -// SetServerCertificateName sets the ServerCertificateName field's value. -func (s *UpdateServerCertificateInput) SetServerCertificateName(v string) *UpdateServerCertificateInput { - s.ServerCertificateName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServerCertificateOutput type UpdateServerCertificateOutput struct { _ struct{} `type:"structure"` @@ -23413,24 +19993,6 @@ func (s *UpdateServiceSpecificCredentialInput) Validate() error { return nil } -// SetServiceSpecificCredentialId sets the ServiceSpecificCredentialId field's value. -func (s *UpdateServiceSpecificCredentialInput) SetServiceSpecificCredentialId(v string) *UpdateServiceSpecificCredentialInput { - s.ServiceSpecificCredentialId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *UpdateServiceSpecificCredentialInput) SetStatus(v StatusType) *UpdateServiceSpecificCredentialInput { - s.Status = v - return s -} - -// SetUserName sets the UserName field's value. -func (s *UpdateServiceSpecificCredentialInput) SetUserName(v string) *UpdateServiceSpecificCredentialInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServiceSpecificCredentialOutput type UpdateServiceSpecificCredentialOutput struct { _ struct{} `type:"structure"` @@ -23514,24 +20076,6 @@ func (s *UpdateSigningCertificateInput) Validate() error { return nil } -// SetCertificateId sets the CertificateId field's value. -func (s *UpdateSigningCertificateInput) SetCertificateId(v string) *UpdateSigningCertificateInput { - s.CertificateId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *UpdateSigningCertificateInput) SetStatus(v StatusType) *UpdateSigningCertificateInput { - s.Status = v - return s -} - -// SetUserName sets the UserName field's value. -func (s *UpdateSigningCertificateInput) SetUserName(v string) *UpdateSigningCertificateInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSigningCertificateOutput type UpdateSigningCertificateOutput struct { _ struct{} `type:"structure"` @@ -23620,24 +20164,6 @@ func (s *UpdateUserInput) Validate() error { return nil } -// SetNewPath sets the NewPath field's value. -func (s *UpdateUserInput) SetNewPath(v string) *UpdateUserInput { - s.NewPath = &v - return s -} - -// SetNewUserName sets the NewUserName field's value. -func (s *UpdateUserInput) SetNewUserName(v string) *UpdateUserInput { - s.NewUserName = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *UpdateUserInput) SetUserName(v string) *UpdateUserInput { - s.UserName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateUserOutput type UpdateUserOutput struct { _ struct{} `type:"structure"` @@ -23721,18 +20247,6 @@ func (s *UploadSSHPublicKeyInput) Validate() error { return nil } -// SetSSHPublicKeyBody sets the SSHPublicKeyBody field's value. -func (s *UploadSSHPublicKeyInput) SetSSHPublicKeyBody(v string) *UploadSSHPublicKeyInput { - s.SSHPublicKeyBody = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *UploadSSHPublicKeyInput) SetUserName(v string) *UploadSSHPublicKeyInput { - s.UserName = &v - return s -} - // Contains the response to a successful UploadSSHPublicKey request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSSHPublicKeyResponse type UploadSSHPublicKeyOutput struct { @@ -23759,12 +20273,6 @@ func (s UploadSSHPublicKeyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSSHPublicKey sets the SSHPublicKey field's value. -func (s *UploadSSHPublicKeyOutput) SetSSHPublicKey(v *SSHPublicKey) *UploadSSHPublicKeyOutput { - s.SSHPublicKey = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadServerCertificateRequest type UploadServerCertificateInput struct { _ struct{} `type:"structure"` @@ -23879,36 +20387,6 @@ func (s *UploadServerCertificateInput) Validate() error { return nil } -// SetCertificateBody sets the CertificateBody field's value. -func (s *UploadServerCertificateInput) SetCertificateBody(v string) *UploadServerCertificateInput { - s.CertificateBody = &v - return s -} - -// SetCertificateChain sets the CertificateChain field's value. -func (s *UploadServerCertificateInput) SetCertificateChain(v string) *UploadServerCertificateInput { - s.CertificateChain = &v - return s -} - -// SetPath sets the Path field's value. -func (s *UploadServerCertificateInput) SetPath(v string) *UploadServerCertificateInput { - s.Path = &v - return s -} - -// SetPrivateKey sets the PrivateKey field's value. -func (s *UploadServerCertificateInput) SetPrivateKey(v string) *UploadServerCertificateInput { - s.PrivateKey = &v - return s -} - -// SetServerCertificateName sets the ServerCertificateName field's value. -func (s *UploadServerCertificateInput) SetServerCertificateName(v string) *UploadServerCertificateInput { - s.ServerCertificateName = &v - return s -} - // Contains the response to a successful UploadServerCertificate request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadServerCertificateResponse type UploadServerCertificateOutput struct { @@ -23936,12 +20414,6 @@ func (s UploadServerCertificateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetServerCertificateMetadata sets the ServerCertificateMetadata field's value. -func (s *UploadServerCertificateOutput) SetServerCertificateMetadata(v *ServerCertificateMetadata) *UploadServerCertificateOutput { - s.ServerCertificateMetadata = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSigningCertificateRequest type UploadSigningCertificateInput struct { _ struct{} `type:"structure"` @@ -23996,18 +20468,6 @@ func (s *UploadSigningCertificateInput) Validate() error { return nil } -// SetCertificateBody sets the CertificateBody field's value. -func (s *UploadSigningCertificateInput) SetCertificateBody(v string) *UploadSigningCertificateInput { - s.CertificateBody = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *UploadSigningCertificateInput) SetUserName(v string) *UploadSigningCertificateInput { - s.UserName = &v - return s -} - // Contains the response to a successful UploadSigningCertificate request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSigningCertificateResponse type UploadSigningCertificateOutput struct { @@ -24036,12 +20496,6 @@ func (s UploadSigningCertificateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificate sets the Certificate field's value. -func (s *UploadSigningCertificateOutput) SetCertificate(v *SigningCertificate) *UploadSigningCertificateOutput { - s.Certificate = v - return s -} - // Contains information about an IAM user entity. // // This data type is used as a response element in the following actions: @@ -24119,42 +20573,6 @@ func (s User) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *User) SetArn(v string) *User { - s.Arn = &v - return s -} - -// SetCreateDate sets the CreateDate field's value. -func (s *User) SetCreateDate(v time.Time) *User { - s.CreateDate = &v - return s -} - -// SetPasswordLastUsed sets the PasswordLastUsed field's value. -func (s *User) SetPasswordLastUsed(v time.Time) *User { - s.PasswordLastUsed = &v - return s -} - -// SetPath sets the Path field's value. -func (s *User) SetPath(v string) *User { - s.Path = &v - return s -} - -// SetUserId sets the UserId field's value. -func (s *User) SetUserId(v string) *User { - s.UserId = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *User) SetUserName(v string) *User { - s.UserName = &v - return s -} - // Contains information about an IAM user, including all the user's policies // and all the IAM groups the user is in. // @@ -24208,54 +20626,6 @@ func (s UserDetail) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *UserDetail) SetArn(v string) *UserDetail { - s.Arn = &v - return s -} - -// SetAttachedManagedPolicies sets the AttachedManagedPolicies field's value. -func (s *UserDetail) SetAttachedManagedPolicies(v []AttachedPolicy) *UserDetail { - s.AttachedManagedPolicies = v - return s -} - -// SetCreateDate sets the CreateDate field's value. -func (s *UserDetail) SetCreateDate(v time.Time) *UserDetail { - s.CreateDate = &v - return s -} - -// SetGroupList sets the GroupList field's value. -func (s *UserDetail) SetGroupList(v []string) *UserDetail { - s.GroupList = v - return s -} - -// SetPath sets the Path field's value. -func (s *UserDetail) SetPath(v string) *UserDetail { - s.Path = &v - return s -} - -// SetUserId sets the UserId field's value. -func (s *UserDetail) SetUserId(v string) *UserDetail { - s.UserId = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *UserDetail) SetUserName(v string) *UserDetail { - s.UserName = &v - return s -} - -// SetUserPolicyList sets the UserPolicyList field's value. -func (s *UserDetail) SetUserPolicyList(v []PolicyDetail) *UserDetail { - s.UserPolicyList = v - return s -} - // Contains information about a virtual MFA device. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/VirtualMFADevice type VirtualMFADevice struct { @@ -24297,36 +20667,6 @@ func (s VirtualMFADevice) GoString() string { return s.String() } -// SetBase32StringSeed sets the Base32StringSeed field's value. -func (s *VirtualMFADevice) SetBase32StringSeed(v []byte) *VirtualMFADevice { - s.Base32StringSeed = v - return s -} - -// SetEnableDate sets the EnableDate field's value. -func (s *VirtualMFADevice) SetEnableDate(v time.Time) *VirtualMFADevice { - s.EnableDate = &v - return s -} - -// SetQRCodePNG sets the QRCodePNG field's value. -func (s *VirtualMFADevice) SetQRCodePNG(v []byte) *VirtualMFADevice { - s.QRCodePNG = v - return s -} - -// SetSerialNumber sets the SerialNumber field's value. -func (s *VirtualMFADevice) SetSerialNumber(v string) *VirtualMFADevice { - s.SerialNumber = &v - return s -} - -// SetUser sets the User field's value. -func (s *VirtualMFADevice) SetUser(v *User) *VirtualMFADevice { - s.User = v - return s -} - type ContextKeyTypeEnum string // Enum values for ContextKeyTypeEnum diff --git a/service/inspector/api.go b/service/inspector/api.go index d556485a72b..0dd82626f25 100644 --- a/service/inspector/api.go +++ b/service/inspector/api.go @@ -2190,18 +2190,6 @@ func (s *AddAttributesToFindingsInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *AddAttributesToFindingsInput) SetAttributes(v []Attribute) *AddAttributesToFindingsInput { - s.Attributes = v - return s -} - -// SetFindingArns sets the FindingArns field's value. -func (s *AddAttributesToFindingsInput) SetFindingArns(v []string) *AddAttributesToFindingsInput { - s.FindingArns = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AddAttributesToFindingsResponse type AddAttributesToFindingsOutput struct { _ struct{} `type:"structure"` @@ -2230,12 +2218,6 @@ func (s AddAttributesToFindingsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailedItems sets the FailedItems field's value. -func (s *AddAttributesToFindingsOutput) SetFailedItems(v map[string]FailedItemDetails) *AddAttributesToFindingsOutput { - s.FailedItems = v - return s -} - // Used in the exception error that is thrown if you start an assessment run // for an assessment target that includes an EC2 instance that is already participating // in another started assessment run. @@ -2265,18 +2247,6 @@ func (s AgentAlreadyRunningAssessment) GoString() string { return s.String() } -// SetAgentId sets the AgentId field's value. -func (s *AgentAlreadyRunningAssessment) SetAgentId(v string) *AgentAlreadyRunningAssessment { - s.AgentId = &v - return s -} - -// SetAssessmentRunArn sets the AssessmentRunArn field's value. -func (s *AgentAlreadyRunningAssessment) SetAssessmentRunArn(v string) *AgentAlreadyRunningAssessment { - s.AssessmentRunArn = &v - return s -} - // Contains information about an Amazon Inspector agent. This data type is used // as a request parameter in the ListAssessmentRunAgents action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AgentFilter @@ -2323,18 +2293,6 @@ func (s *AgentFilter) Validate() error { return nil } -// SetAgentHealthCodes sets the AgentHealthCodes field's value. -func (s *AgentFilter) SetAgentHealthCodes(v []AgentHealthCode) *AgentFilter { - s.AgentHealthCodes = v - return s -} - -// SetAgentHealths sets the AgentHealths field's value. -func (s *AgentFilter) SetAgentHealths(v []AgentHealth) *AgentFilter { - s.AgentHealths = v - return s -} - // Used as a response element in the PreviewAgents action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AgentPreview type AgentPreview struct { @@ -2380,54 +2338,6 @@ func (s AgentPreview) GoString() string { return s.String() } -// SetAgentHealth sets the AgentHealth field's value. -func (s *AgentPreview) SetAgentHealth(v AgentHealth) *AgentPreview { - s.AgentHealth = v - return s -} - -// SetAgentId sets the AgentId field's value. -func (s *AgentPreview) SetAgentId(v string) *AgentPreview { - s.AgentId = &v - return s -} - -// SetAgentVersion sets the AgentVersion field's value. -func (s *AgentPreview) SetAgentVersion(v string) *AgentPreview { - s.AgentVersion = &v - return s -} - -// SetAutoScalingGroup sets the AutoScalingGroup field's value. -func (s *AgentPreview) SetAutoScalingGroup(v string) *AgentPreview { - s.AutoScalingGroup = &v - return s -} - -// SetHostname sets the Hostname field's value. -func (s *AgentPreview) SetHostname(v string) *AgentPreview { - s.Hostname = &v - return s -} - -// SetIpv4Address sets the Ipv4Address field's value. -func (s *AgentPreview) SetIpv4Address(v string) *AgentPreview { - s.Ipv4Address = &v - return s -} - -// SetKernelVersion sets the KernelVersion field's value. -func (s *AgentPreview) SetKernelVersion(v string) *AgentPreview { - s.KernelVersion = &v - return s -} - -// SetOperatingSystem sets the OperatingSystem field's value. -func (s *AgentPreview) SetOperatingSystem(v string) *AgentPreview { - s.OperatingSystem = &v - return s -} - // A snapshot of an Amazon Inspector assessment run that contains the findings // of the assessment run . // @@ -2522,96 +2432,6 @@ func (s AssessmentRun) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *AssessmentRun) SetArn(v string) *AssessmentRun { - s.Arn = &v - return s -} - -// SetAssessmentTemplateArn sets the AssessmentTemplateArn field's value. -func (s *AssessmentRun) SetAssessmentTemplateArn(v string) *AssessmentRun { - s.AssessmentTemplateArn = &v - return s -} - -// SetCompletedAt sets the CompletedAt field's value. -func (s *AssessmentRun) SetCompletedAt(v time.Time) *AssessmentRun { - s.CompletedAt = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *AssessmentRun) SetCreatedAt(v time.Time) *AssessmentRun { - s.CreatedAt = &v - return s -} - -// SetDataCollected sets the DataCollected field's value. -func (s *AssessmentRun) SetDataCollected(v bool) *AssessmentRun { - s.DataCollected = &v - return s -} - -// SetDurationInSeconds sets the DurationInSeconds field's value. -func (s *AssessmentRun) SetDurationInSeconds(v int64) *AssessmentRun { - s.DurationInSeconds = &v - return s -} - -// SetFindingCounts sets the FindingCounts field's value. -func (s *AssessmentRun) SetFindingCounts(v map[string]int64) *AssessmentRun { - s.FindingCounts = v - return s -} - -// SetName sets the Name field's value. -func (s *AssessmentRun) SetName(v string) *AssessmentRun { - s.Name = &v - return s -} - -// SetNotifications sets the Notifications field's value. -func (s *AssessmentRun) SetNotifications(v []AssessmentRunNotification) *AssessmentRun { - s.Notifications = v - return s -} - -// SetRulesPackageArns sets the RulesPackageArns field's value. -func (s *AssessmentRun) SetRulesPackageArns(v []string) *AssessmentRun { - s.RulesPackageArns = v - return s -} - -// SetStartedAt sets the StartedAt field's value. -func (s *AssessmentRun) SetStartedAt(v time.Time) *AssessmentRun { - s.StartedAt = &v - return s -} - -// SetState sets the State field's value. -func (s *AssessmentRun) SetState(v AssessmentRunState) *AssessmentRun { - s.State = v - return s -} - -// SetStateChangedAt sets the StateChangedAt field's value. -func (s *AssessmentRun) SetStateChangedAt(v time.Time) *AssessmentRun { - s.StateChangedAt = &v - return s -} - -// SetStateChanges sets the StateChanges field's value. -func (s *AssessmentRun) SetStateChanges(v []AssessmentRunStateChange) *AssessmentRun { - s.StateChanges = v - return s -} - -// SetUserAttributesForFindings sets the UserAttributesForFindings field's value. -func (s *AssessmentRun) SetUserAttributesForFindings(v []Attribute) *AssessmentRun { - s.UserAttributesForFindings = v - return s -} - // Contains information about an Amazon Inspector agent. This data type is used // as a response element in the ListAssessmentRunAgents action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRunAgent @@ -2661,48 +2481,6 @@ func (s AssessmentRunAgent) GoString() string { return s.String() } -// SetAgentHealth sets the AgentHealth field's value. -func (s *AssessmentRunAgent) SetAgentHealth(v AgentHealth) *AssessmentRunAgent { - s.AgentHealth = v - return s -} - -// SetAgentHealthCode sets the AgentHealthCode field's value. -func (s *AssessmentRunAgent) SetAgentHealthCode(v AgentHealthCode) *AssessmentRunAgent { - s.AgentHealthCode = v - return s -} - -// SetAgentHealthDetails sets the AgentHealthDetails field's value. -func (s *AssessmentRunAgent) SetAgentHealthDetails(v string) *AssessmentRunAgent { - s.AgentHealthDetails = &v - return s -} - -// SetAgentId sets the AgentId field's value. -func (s *AssessmentRunAgent) SetAgentId(v string) *AssessmentRunAgent { - s.AgentId = &v - return s -} - -// SetAssessmentRunArn sets the AssessmentRunArn field's value. -func (s *AssessmentRunAgent) SetAssessmentRunArn(v string) *AssessmentRunAgent { - s.AssessmentRunArn = &v - return s -} - -// SetAutoScalingGroup sets the AutoScalingGroup field's value. -func (s *AssessmentRunAgent) SetAutoScalingGroup(v string) *AssessmentRunAgent { - s.AutoScalingGroup = &v - return s -} - -// SetTelemetryMetadata sets the TelemetryMetadata field's value. -func (s *AssessmentRunAgent) SetTelemetryMetadata(v []TelemetryMetadata) *AssessmentRunAgent { - s.TelemetryMetadata = v - return s -} - // Used as the request parameter in the ListAssessmentRuns action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRunFilter type AssessmentRunFilter struct { @@ -2774,48 +2552,6 @@ func (s *AssessmentRunFilter) Validate() error { return nil } -// SetCompletionTimeRange sets the CompletionTimeRange field's value. -func (s *AssessmentRunFilter) SetCompletionTimeRange(v *TimestampRange) *AssessmentRunFilter { - s.CompletionTimeRange = v - return s -} - -// SetDurationRange sets the DurationRange field's value. -func (s *AssessmentRunFilter) SetDurationRange(v *DurationRange) *AssessmentRunFilter { - s.DurationRange = v - return s -} - -// SetNamePattern sets the NamePattern field's value. -func (s *AssessmentRunFilter) SetNamePattern(v string) *AssessmentRunFilter { - s.NamePattern = &v - return s -} - -// SetRulesPackageArns sets the RulesPackageArns field's value. -func (s *AssessmentRunFilter) SetRulesPackageArns(v []string) *AssessmentRunFilter { - s.RulesPackageArns = v - return s -} - -// SetStartTimeRange sets the StartTimeRange field's value. -func (s *AssessmentRunFilter) SetStartTimeRange(v *TimestampRange) *AssessmentRunFilter { - s.StartTimeRange = v - return s -} - -// SetStateChangeTimeRange sets the StateChangeTimeRange field's value. -func (s *AssessmentRunFilter) SetStateChangeTimeRange(v *TimestampRange) *AssessmentRunFilter { - s.StateChangeTimeRange = v - return s -} - -// SetStates sets the States field's value. -func (s *AssessmentRunFilter) SetStates(v []AssessmentRunState) *AssessmentRunFilter { - s.States = v - return s -} - // Used as one of the elements of the AssessmentRun data type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRunNotification type AssessmentRunNotification struct { @@ -2856,42 +2592,6 @@ func (s AssessmentRunNotification) GoString() string { return s.String() } -// SetDate sets the Date field's value. -func (s *AssessmentRunNotification) SetDate(v time.Time) *AssessmentRunNotification { - s.Date = &v - return s -} - -// SetError sets the Error field's value. -func (s *AssessmentRunNotification) SetError(v bool) *AssessmentRunNotification { - s.Error = &v - return s -} - -// SetEvent sets the Event field's value. -func (s *AssessmentRunNotification) SetEvent(v Event) *AssessmentRunNotification { - s.Event = v - return s -} - -// SetMessage sets the Message field's value. -func (s *AssessmentRunNotification) SetMessage(v string) *AssessmentRunNotification { - s.Message = &v - return s -} - -// SetSnsPublishStatusCode sets the SnsPublishStatusCode field's value. -func (s *AssessmentRunNotification) SetSnsPublishStatusCode(v AssessmentRunNotificationSnsStatusCode) *AssessmentRunNotification { - s.SnsPublishStatusCode = v - return s -} - -// SetSnsTopicArn sets the SnsTopicArn field's value. -func (s *AssessmentRunNotification) SetSnsTopicArn(v string) *AssessmentRunNotification { - s.SnsTopicArn = &v - return s -} - // Used as one of the elements of the AssessmentRun data type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRunStateChange type AssessmentRunStateChange struct { @@ -2918,18 +2618,6 @@ func (s AssessmentRunStateChange) GoString() string { return s.String() } -// SetState sets the State field's value. -func (s *AssessmentRunStateChange) SetState(v AssessmentRunState) *AssessmentRunStateChange { - s.State = v - return s -} - -// SetStateChangedAt sets the StateChangedAt field's value. -func (s *AssessmentRunStateChange) SetStateChangedAt(v time.Time) *AssessmentRunStateChange { - s.StateChangedAt = &v - return s -} - // Contains information about an Amazon Inspector application. This data type // is used as the response element in the DescribeAssessmentTargets action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentTarget @@ -2973,36 +2661,6 @@ func (s AssessmentTarget) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *AssessmentTarget) SetArn(v string) *AssessmentTarget { - s.Arn = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *AssessmentTarget) SetCreatedAt(v time.Time) *AssessmentTarget { - s.CreatedAt = &v - return s -} - -// SetName sets the Name field's value. -func (s *AssessmentTarget) SetName(v string) *AssessmentTarget { - s.Name = &v - return s -} - -// SetResourceGroupArn sets the ResourceGroupArn field's value. -func (s *AssessmentTarget) SetResourceGroupArn(v string) *AssessmentTarget { - s.ResourceGroupArn = &v - return s -} - -// SetUpdatedAt sets the UpdatedAt field's value. -func (s *AssessmentTarget) SetUpdatedAt(v time.Time) *AssessmentTarget { - s.UpdatedAt = &v - return s -} - // Used as the request parameter in the ListAssessmentTargets action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentTargetFilter type AssessmentTargetFilter struct { @@ -3037,12 +2695,6 @@ func (s *AssessmentTargetFilter) Validate() error { return nil } -// SetAssessmentTargetNamePattern sets the AssessmentTargetNamePattern field's value. -func (s *AssessmentTargetFilter) SetAssessmentTargetNamePattern(v string) *AssessmentTargetFilter { - s.AssessmentTargetNamePattern = &v - return s -} - // Contains information about an Amazon Inspector assessment template. This // data type is used as the response element in the DescribeAssessmentTemplates // action. @@ -3110,60 +2762,6 @@ func (s AssessmentTemplate) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *AssessmentTemplate) SetArn(v string) *AssessmentTemplate { - s.Arn = &v - return s -} - -// SetAssessmentRunCount sets the AssessmentRunCount field's value. -func (s *AssessmentTemplate) SetAssessmentRunCount(v int64) *AssessmentTemplate { - s.AssessmentRunCount = &v - return s -} - -// SetAssessmentTargetArn sets the AssessmentTargetArn field's value. -func (s *AssessmentTemplate) SetAssessmentTargetArn(v string) *AssessmentTemplate { - s.AssessmentTargetArn = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *AssessmentTemplate) SetCreatedAt(v time.Time) *AssessmentTemplate { - s.CreatedAt = &v - return s -} - -// SetDurationInSeconds sets the DurationInSeconds field's value. -func (s *AssessmentTemplate) SetDurationInSeconds(v int64) *AssessmentTemplate { - s.DurationInSeconds = &v - return s -} - -// SetLastAssessmentRunArn sets the LastAssessmentRunArn field's value. -func (s *AssessmentTemplate) SetLastAssessmentRunArn(v string) *AssessmentTemplate { - s.LastAssessmentRunArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *AssessmentTemplate) SetName(v string) *AssessmentTemplate { - s.Name = &v - return s -} - -// SetRulesPackageArns sets the RulesPackageArns field's value. -func (s *AssessmentTemplate) SetRulesPackageArns(v []string) *AssessmentTemplate { - s.RulesPackageArns = v - return s -} - -// SetUserAttributesForFindings sets the UserAttributesForFindings field's value. -func (s *AssessmentTemplate) SetUserAttributesForFindings(v []Attribute) *AssessmentTemplate { - s.UserAttributesForFindings = v - return s -} - // Used as the request parameter in the ListAssessmentTemplates action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentTemplateFilter type AssessmentTemplateFilter struct { @@ -3213,24 +2811,6 @@ func (s *AssessmentTemplateFilter) Validate() error { return nil } -// SetDurationRange sets the DurationRange field's value. -func (s *AssessmentTemplateFilter) SetDurationRange(v *DurationRange) *AssessmentTemplateFilter { - s.DurationRange = v - return s -} - -// SetNamePattern sets the NamePattern field's value. -func (s *AssessmentTemplateFilter) SetNamePattern(v string) *AssessmentTemplateFilter { - s.NamePattern = &v - return s -} - -// SetRulesPackageArns sets the RulesPackageArns field's value. -func (s *AssessmentTemplateFilter) SetRulesPackageArns(v []string) *AssessmentTemplateFilter { - s.RulesPackageArns = v - return s -} - // A collection of attributes of the host from which the finding is generated. // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssetAttributes type AssetAttributes struct { @@ -3269,42 +2849,6 @@ func (s AssetAttributes) GoString() string { return s.String() } -// SetAgentId sets the AgentId field's value. -func (s *AssetAttributes) SetAgentId(v string) *AssetAttributes { - s.AgentId = &v - return s -} - -// SetAmiId sets the AmiId field's value. -func (s *AssetAttributes) SetAmiId(v string) *AssetAttributes { - s.AmiId = &v - return s -} - -// SetAutoScalingGroup sets the AutoScalingGroup field's value. -func (s *AssetAttributes) SetAutoScalingGroup(v string) *AssetAttributes { - s.AutoScalingGroup = &v - return s -} - -// SetHostname sets the Hostname field's value. -func (s *AssetAttributes) SetHostname(v string) *AssetAttributes { - s.Hostname = &v - return s -} - -// SetIpv4Addresses sets the Ipv4Addresses field's value. -func (s *AssetAttributes) SetIpv4Addresses(v []string) *AssetAttributes { - s.Ipv4Addresses = v - return s -} - -// SetSchemaVersion sets the SchemaVersion field's value. -func (s *AssetAttributes) SetSchemaVersion(v int64) *AssetAttributes { - s.SchemaVersion = &v - return s -} - // This data type is used as a request parameter in the AddAttributesToFindings // and CreateAssessmentTemplate actions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/Attribute @@ -3350,18 +2894,6 @@ func (s *Attribute) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Attribute) SetKey(v string) *Attribute { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Attribute) SetValue(v string) *Attribute { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTargetRequest type CreateAssessmentTargetInput struct { _ struct{} `type:"structure"` @@ -3413,18 +2945,6 @@ func (s *CreateAssessmentTargetInput) Validate() error { return nil } -// SetAssessmentTargetName sets the AssessmentTargetName field's value. -func (s *CreateAssessmentTargetInput) SetAssessmentTargetName(v string) *CreateAssessmentTargetInput { - s.AssessmentTargetName = &v - return s -} - -// SetResourceGroupArn sets the ResourceGroupArn field's value. -func (s *CreateAssessmentTargetInput) SetResourceGroupArn(v string) *CreateAssessmentTargetInput { - s.ResourceGroupArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTargetResponse type CreateAssessmentTargetOutput struct { _ struct{} `type:"structure"` @@ -3452,12 +2972,6 @@ func (s CreateAssessmentTargetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssessmentTargetArn sets the AssessmentTargetArn field's value. -func (s *CreateAssessmentTargetOutput) SetAssessmentTargetArn(v string) *CreateAssessmentTargetOutput { - s.AssessmentTargetArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTemplateRequest type CreateAssessmentTemplateInput struct { _ struct{} `type:"structure"` @@ -3547,36 +3061,6 @@ func (s *CreateAssessmentTemplateInput) Validate() error { return nil } -// SetAssessmentTargetArn sets the AssessmentTargetArn field's value. -func (s *CreateAssessmentTemplateInput) SetAssessmentTargetArn(v string) *CreateAssessmentTemplateInput { - s.AssessmentTargetArn = &v - return s -} - -// SetAssessmentTemplateName sets the AssessmentTemplateName field's value. -func (s *CreateAssessmentTemplateInput) SetAssessmentTemplateName(v string) *CreateAssessmentTemplateInput { - s.AssessmentTemplateName = &v - return s -} - -// SetDurationInSeconds sets the DurationInSeconds field's value. -func (s *CreateAssessmentTemplateInput) SetDurationInSeconds(v int64) *CreateAssessmentTemplateInput { - s.DurationInSeconds = &v - return s -} - -// SetRulesPackageArns sets the RulesPackageArns field's value. -func (s *CreateAssessmentTemplateInput) SetRulesPackageArns(v []string) *CreateAssessmentTemplateInput { - s.RulesPackageArns = v - return s -} - -// SetUserAttributesForFindings sets the UserAttributesForFindings field's value. -func (s *CreateAssessmentTemplateInput) SetUserAttributesForFindings(v []Attribute) *CreateAssessmentTemplateInput { - s.UserAttributesForFindings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTemplateResponse type CreateAssessmentTemplateOutput struct { _ struct{} `type:"structure"` @@ -3604,12 +3088,6 @@ func (s CreateAssessmentTemplateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssessmentTemplateArn sets the AssessmentTemplateArn field's value. -func (s *CreateAssessmentTemplateOutput) SetAssessmentTemplateArn(v string) *CreateAssessmentTemplateOutput { - s.AssessmentTemplateArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateResourceGroupRequest type CreateResourceGroupInput struct { _ struct{} `type:"structure"` @@ -3656,12 +3134,6 @@ func (s *CreateResourceGroupInput) Validate() error { return nil } -// SetResourceGroupTags sets the ResourceGroupTags field's value. -func (s *CreateResourceGroupInput) SetResourceGroupTags(v []ResourceGroupTag) *CreateResourceGroupInput { - s.ResourceGroupTags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateResourceGroupResponse type CreateResourceGroupOutput struct { _ struct{} `type:"structure"` @@ -3689,12 +3161,6 @@ func (s CreateResourceGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResourceGroupArn sets the ResourceGroupArn field's value. -func (s *CreateResourceGroupOutput) SetResourceGroupArn(v string) *CreateResourceGroupOutput { - s.ResourceGroupArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentRunRequest type DeleteAssessmentRunInput struct { _ struct{} `type:"structure"` @@ -3732,12 +3198,6 @@ func (s *DeleteAssessmentRunInput) Validate() error { return nil } -// SetAssessmentRunArn sets the AssessmentRunArn field's value. -func (s *DeleteAssessmentRunInput) SetAssessmentRunArn(v string) *DeleteAssessmentRunInput { - s.AssessmentRunArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentRunOutput type DeleteAssessmentRunOutput struct { _ struct{} `type:"structure"` @@ -3797,12 +3257,6 @@ func (s *DeleteAssessmentTargetInput) Validate() error { return nil } -// SetAssessmentTargetArn sets the AssessmentTargetArn field's value. -func (s *DeleteAssessmentTargetInput) SetAssessmentTargetArn(v string) *DeleteAssessmentTargetInput { - s.AssessmentTargetArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTargetOutput type DeleteAssessmentTargetOutput struct { _ struct{} `type:"structure"` @@ -3862,12 +3316,6 @@ func (s *DeleteAssessmentTemplateInput) Validate() error { return nil } -// SetAssessmentTemplateArn sets the AssessmentTemplateArn field's value. -func (s *DeleteAssessmentTemplateInput) SetAssessmentTemplateArn(v string) *DeleteAssessmentTemplateInput { - s.AssessmentTemplateArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTemplateOutput type DeleteAssessmentTemplateOutput struct { _ struct{} `type:"structure"` @@ -3927,12 +3375,6 @@ func (s *DescribeAssessmentRunsInput) Validate() error { return nil } -// SetAssessmentRunArns sets the AssessmentRunArns field's value. -func (s *DescribeAssessmentRunsInput) SetAssessmentRunArns(v []string) *DescribeAssessmentRunsInput { - s.AssessmentRunArns = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentRunsResponse type DescribeAssessmentRunsOutput struct { _ struct{} `type:"structure"` @@ -3966,18 +3408,6 @@ func (s DescribeAssessmentRunsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssessmentRuns sets the AssessmentRuns field's value. -func (s *DescribeAssessmentRunsOutput) SetAssessmentRuns(v []AssessmentRun) *DescribeAssessmentRunsOutput { - s.AssessmentRuns = v - return s -} - -// SetFailedItems sets the FailedItems field's value. -func (s *DescribeAssessmentRunsOutput) SetFailedItems(v map[string]FailedItemDetails) *DescribeAssessmentRunsOutput { - s.FailedItems = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTargetsRequest type DescribeAssessmentTargetsInput struct { _ struct{} `type:"structure"` @@ -4015,12 +3445,6 @@ func (s *DescribeAssessmentTargetsInput) Validate() error { return nil } -// SetAssessmentTargetArns sets the AssessmentTargetArns field's value. -func (s *DescribeAssessmentTargetsInput) SetAssessmentTargetArns(v []string) *DescribeAssessmentTargetsInput { - s.AssessmentTargetArns = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTargetsResponse type DescribeAssessmentTargetsOutput struct { _ struct{} `type:"structure"` @@ -4054,18 +3478,6 @@ func (s DescribeAssessmentTargetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssessmentTargets sets the AssessmentTargets field's value. -func (s *DescribeAssessmentTargetsOutput) SetAssessmentTargets(v []AssessmentTarget) *DescribeAssessmentTargetsOutput { - s.AssessmentTargets = v - return s -} - -// SetFailedItems sets the FailedItems field's value. -func (s *DescribeAssessmentTargetsOutput) SetFailedItems(v map[string]FailedItemDetails) *DescribeAssessmentTargetsOutput { - s.FailedItems = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTemplatesRequest type DescribeAssessmentTemplatesInput struct { _ struct{} `type:"structure"` @@ -4101,12 +3513,6 @@ func (s *DescribeAssessmentTemplatesInput) Validate() error { return nil } -// SetAssessmentTemplateArns sets the AssessmentTemplateArns field's value. -func (s *DescribeAssessmentTemplatesInput) SetAssessmentTemplateArns(v []string) *DescribeAssessmentTemplatesInput { - s.AssessmentTemplateArns = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTemplatesResponse type DescribeAssessmentTemplatesOutput struct { _ struct{} `type:"structure"` @@ -4140,18 +3546,6 @@ func (s DescribeAssessmentTemplatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssessmentTemplates sets the AssessmentTemplates field's value. -func (s *DescribeAssessmentTemplatesOutput) SetAssessmentTemplates(v []AssessmentTemplate) *DescribeAssessmentTemplatesOutput { - s.AssessmentTemplates = v - return s -} - -// SetFailedItems sets the FailedItems field's value. -func (s *DescribeAssessmentTemplatesOutput) SetFailedItems(v map[string]FailedItemDetails) *DescribeAssessmentTemplatesOutput { - s.FailedItems = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeCrossAccountAccessRoleInput type DescribeCrossAccountAccessRoleInput struct { _ struct{} `type:"structure"` @@ -4206,24 +3600,6 @@ func (s DescribeCrossAccountAccessRoleOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetRegisteredAt sets the RegisteredAt field's value. -func (s *DescribeCrossAccountAccessRoleOutput) SetRegisteredAt(v time.Time) *DescribeCrossAccountAccessRoleOutput { - s.RegisteredAt = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *DescribeCrossAccountAccessRoleOutput) SetRoleArn(v string) *DescribeCrossAccountAccessRoleOutput { - s.RoleArn = &v - return s -} - -// SetValid sets the Valid field's value. -func (s *DescribeCrossAccountAccessRoleOutput) SetValid(v bool) *DescribeCrossAccountAccessRoleOutput { - s.Valid = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeFindingsRequest type DescribeFindingsInput struct { _ struct{} `type:"structure"` @@ -4265,18 +3641,6 @@ func (s *DescribeFindingsInput) Validate() error { return nil } -// SetFindingArns sets the FindingArns field's value. -func (s *DescribeFindingsInput) SetFindingArns(v []string) *DescribeFindingsInput { - s.FindingArns = v - return s -} - -// SetLocale sets the Locale field's value. -func (s *DescribeFindingsInput) SetLocale(v Locale) *DescribeFindingsInput { - s.Locale = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeFindingsResponse type DescribeFindingsOutput struct { _ struct{} `type:"structure"` @@ -4310,18 +3674,6 @@ func (s DescribeFindingsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailedItems sets the FailedItems field's value. -func (s *DescribeFindingsOutput) SetFailedItems(v map[string]FailedItemDetails) *DescribeFindingsOutput { - s.FailedItems = v - return s -} - -// SetFindings sets the Findings field's value. -func (s *DescribeFindingsOutput) SetFindings(v []Finding) *DescribeFindingsOutput { - s.Findings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeResourceGroupsRequest type DescribeResourceGroupsInput struct { _ struct{} `type:"structure"` @@ -4359,12 +3711,6 @@ func (s *DescribeResourceGroupsInput) Validate() error { return nil } -// SetResourceGroupArns sets the ResourceGroupArns field's value. -func (s *DescribeResourceGroupsInput) SetResourceGroupArns(v []string) *DescribeResourceGroupsInput { - s.ResourceGroupArns = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeResourceGroupsResponse type DescribeResourceGroupsOutput struct { _ struct{} `type:"structure"` @@ -4398,18 +3744,6 @@ func (s DescribeResourceGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailedItems sets the FailedItems field's value. -func (s *DescribeResourceGroupsOutput) SetFailedItems(v map[string]FailedItemDetails) *DescribeResourceGroupsOutput { - s.FailedItems = v - return s -} - -// SetResourceGroups sets the ResourceGroups field's value. -func (s *DescribeResourceGroupsOutput) SetResourceGroups(v []ResourceGroup) *DescribeResourceGroupsOutput { - s.ResourceGroups = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeRulesPackagesRequest type DescribeRulesPackagesInput struct { _ struct{} `type:"structure"` @@ -4450,18 +3784,6 @@ func (s *DescribeRulesPackagesInput) Validate() error { return nil } -// SetLocale sets the Locale field's value. -func (s *DescribeRulesPackagesInput) SetLocale(v Locale) *DescribeRulesPackagesInput { - s.Locale = v - return s -} - -// SetRulesPackageArns sets the RulesPackageArns field's value. -func (s *DescribeRulesPackagesInput) SetRulesPackageArns(v []string) *DescribeRulesPackagesInput { - s.RulesPackageArns = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeRulesPackagesResponse type DescribeRulesPackagesOutput struct { _ struct{} `type:"structure"` @@ -4495,18 +3817,6 @@ func (s DescribeRulesPackagesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailedItems sets the FailedItems field's value. -func (s *DescribeRulesPackagesOutput) SetFailedItems(v map[string]FailedItemDetails) *DescribeRulesPackagesOutput { - s.FailedItems = v - return s -} - -// SetRulesPackages sets the RulesPackages field's value. -func (s *DescribeRulesPackagesOutput) SetRulesPackages(v []RulesPackage) *DescribeRulesPackagesOutput { - s.RulesPackages = v - return s -} - // This data type is used in the AssessmentTemplateFilter data type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DurationRange type DurationRange struct { @@ -4546,18 +3856,6 @@ func (s *DurationRange) Validate() error { return nil } -// SetMaxSeconds sets the MaxSeconds field's value. -func (s *DurationRange) SetMaxSeconds(v int64) *DurationRange { - s.MaxSeconds = &v - return s -} - -// SetMinSeconds sets the MinSeconds field's value. -func (s *DurationRange) SetMinSeconds(v int64) *DurationRange { - s.MinSeconds = &v - return s -} - // This data type is used in the Subscription data type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/EventSubscription type EventSubscription struct { @@ -4585,18 +3883,6 @@ func (s EventSubscription) GoString() string { return s.String() } -// SetEvent sets the Event field's value. -func (s *EventSubscription) SetEvent(v Event) *EventSubscription { - s.Event = v - return s -} - -// SetSubscribedAt sets the SubscribedAt field's value. -func (s *EventSubscription) SetSubscribedAt(v time.Time) *EventSubscription { - s.SubscribedAt = &v - return s -} - // Includes details about the failed items. // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/FailedItemDetails type FailedItemDetails struct { @@ -4624,18 +3910,6 @@ func (s FailedItemDetails) GoString() string { return s.String() } -// SetFailureCode sets the FailureCode field's value. -func (s *FailedItemDetails) SetFailureCode(v FailedItemErrorCode) *FailedItemDetails { - s.FailureCode = v - return s -} - -// SetRetryable sets the Retryable field's value. -func (s *FailedItemDetails) SetRetryable(v bool) *FailedItemDetails { - s.Retryable = &v - return s -} - // Contains information about an Amazon Inspector finding. This data type is // used as the response element in the DescribeFindings action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/Finding @@ -4717,114 +3991,6 @@ func (s Finding) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Finding) SetArn(v string) *Finding { - s.Arn = &v - return s -} - -// SetAssetAttributes sets the AssetAttributes field's value. -func (s *Finding) SetAssetAttributes(v *AssetAttributes) *Finding { - s.AssetAttributes = v - return s -} - -// SetAssetType sets the AssetType field's value. -func (s *Finding) SetAssetType(v AssetType) *Finding { - s.AssetType = v - return s -} - -// SetAttributes sets the Attributes field's value. -func (s *Finding) SetAttributes(v []Attribute) *Finding { - s.Attributes = v - return s -} - -// SetConfidence sets the Confidence field's value. -func (s *Finding) SetConfidence(v int64) *Finding { - s.Confidence = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Finding) SetCreatedAt(v time.Time) *Finding { - s.CreatedAt = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Finding) SetDescription(v string) *Finding { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *Finding) SetId(v string) *Finding { - s.Id = &v - return s -} - -// SetIndicatorOfCompromise sets the IndicatorOfCompromise field's value. -func (s *Finding) SetIndicatorOfCompromise(v bool) *Finding { - s.IndicatorOfCompromise = &v - return s -} - -// SetNumericSeverity sets the NumericSeverity field's value. -func (s *Finding) SetNumericSeverity(v float64) *Finding { - s.NumericSeverity = &v - return s -} - -// SetRecommendation sets the Recommendation field's value. -func (s *Finding) SetRecommendation(v string) *Finding { - s.Recommendation = &v - return s -} - -// SetSchemaVersion sets the SchemaVersion field's value. -func (s *Finding) SetSchemaVersion(v int64) *Finding { - s.SchemaVersion = &v - return s -} - -// SetService sets the Service field's value. -func (s *Finding) SetService(v string) *Finding { - s.Service = &v - return s -} - -// SetServiceAttributes sets the ServiceAttributes field's value. -func (s *Finding) SetServiceAttributes(v *ServiceAttributes) *Finding { - s.ServiceAttributes = v - return s -} - -// SetSeverity sets the Severity field's value. -func (s *Finding) SetSeverity(v Severity) *Finding { - s.Severity = v - return s -} - -// SetTitle sets the Title field's value. -func (s *Finding) SetTitle(v string) *Finding { - s.Title = &v - return s -} - -// SetUpdatedAt sets the UpdatedAt field's value. -func (s *Finding) SetUpdatedAt(v time.Time) *Finding { - s.UpdatedAt = &v - return s -} - -// SetUserAttributes sets the UserAttributes field's value. -func (s *Finding) SetUserAttributes(v []Attribute) *Finding { - s.UserAttributes = v - return s -} - // This data type is used as a request parameter in the ListFindings action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/FindingFilter type FindingFilter struct { @@ -4903,54 +4069,6 @@ func (s *FindingFilter) Validate() error { return nil } -// SetAgentIds sets the AgentIds field's value. -func (s *FindingFilter) SetAgentIds(v []string) *FindingFilter { - s.AgentIds = v - return s -} - -// SetAttributes sets the Attributes field's value. -func (s *FindingFilter) SetAttributes(v []Attribute) *FindingFilter { - s.Attributes = v - return s -} - -// SetAutoScalingGroups sets the AutoScalingGroups field's value. -func (s *FindingFilter) SetAutoScalingGroups(v []string) *FindingFilter { - s.AutoScalingGroups = v - return s -} - -// SetCreationTimeRange sets the CreationTimeRange field's value. -func (s *FindingFilter) SetCreationTimeRange(v *TimestampRange) *FindingFilter { - s.CreationTimeRange = v - return s -} - -// SetRuleNames sets the RuleNames field's value. -func (s *FindingFilter) SetRuleNames(v []string) *FindingFilter { - s.RuleNames = v - return s -} - -// SetRulesPackageArns sets the RulesPackageArns field's value. -func (s *FindingFilter) SetRulesPackageArns(v []string) *FindingFilter { - s.RulesPackageArns = v - return s -} - -// SetSeverities sets the Severities field's value. -func (s *FindingFilter) SetSeverities(v []Severity) *FindingFilter { - s.Severities = v - return s -} - -// SetUserAttributes sets the UserAttributes field's value. -func (s *FindingFilter) SetUserAttributes(v []Attribute) *FindingFilter { - s.UserAttributes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetAssessmentReportRequest type GetAssessmentReportInput struct { _ struct{} `type:"structure"` @@ -5008,24 +4126,6 @@ func (s *GetAssessmentReportInput) Validate() error { return nil } -// SetAssessmentRunArn sets the AssessmentRunArn field's value. -func (s *GetAssessmentReportInput) SetAssessmentRunArn(v string) *GetAssessmentReportInput { - s.AssessmentRunArn = &v - return s -} - -// SetReportFileFormat sets the ReportFileFormat field's value. -func (s *GetAssessmentReportInput) SetReportFileFormat(v ReportFileFormat) *GetAssessmentReportInput { - s.ReportFileFormat = v - return s -} - -// SetReportType sets the ReportType field's value. -func (s *GetAssessmentReportInput) SetReportType(v ReportType) *GetAssessmentReportInput { - s.ReportType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetAssessmentReportResponse type GetAssessmentReportOutput struct { _ struct{} `type:"structure"` @@ -5057,18 +4157,6 @@ func (s GetAssessmentReportOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStatus sets the Status field's value. -func (s *GetAssessmentReportOutput) SetStatus(v ReportStatus) *GetAssessmentReportOutput { - s.Status = v - return s -} - -// SetUrl sets the Url field's value. -func (s *GetAssessmentReportOutput) SetUrl(v string) *GetAssessmentReportOutput { - s.Url = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetTelemetryMetadataRequest type GetTelemetryMetadataInput struct { _ struct{} `type:"structure"` @@ -5107,12 +4195,6 @@ func (s *GetTelemetryMetadataInput) Validate() error { return nil } -// SetAssessmentRunArn sets the AssessmentRunArn field's value. -func (s *GetTelemetryMetadataInput) SetAssessmentRunArn(v string) *GetTelemetryMetadataInput { - s.AssessmentRunArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetTelemetryMetadataResponse type GetTelemetryMetadataOutput struct { _ struct{} `type:"structure"` @@ -5140,12 +4222,6 @@ func (s GetTelemetryMetadataOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTelemetryMetadata sets the TelemetryMetadata field's value. -func (s *GetTelemetryMetadataOutput) SetTelemetryMetadata(v []TelemetryMetadata) *GetTelemetryMetadataOutput { - s.TelemetryMetadata = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunAgentsRequest type ListAssessmentRunAgentsInput struct { _ struct{} `type:"structure"` @@ -5209,30 +4285,6 @@ func (s *ListAssessmentRunAgentsInput) Validate() error { return nil } -// SetAssessmentRunArn sets the AssessmentRunArn field's value. -func (s *ListAssessmentRunAgentsInput) SetAssessmentRunArn(v string) *ListAssessmentRunAgentsInput { - s.AssessmentRunArn = &v - return s -} - -// SetFilter sets the Filter field's value. -func (s *ListAssessmentRunAgentsInput) SetFilter(v *AgentFilter) *ListAssessmentRunAgentsInput { - s.Filter = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListAssessmentRunAgentsInput) SetMaxResults(v int64) *ListAssessmentRunAgentsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAssessmentRunAgentsInput) SetNextToken(v string) *ListAssessmentRunAgentsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunAgentsResponse type ListAssessmentRunAgentsOutput struct { _ struct{} `type:"structure"` @@ -5266,18 +4318,6 @@ func (s ListAssessmentRunAgentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssessmentRunAgents sets the AssessmentRunAgents field's value. -func (s *ListAssessmentRunAgentsOutput) SetAssessmentRunAgents(v []AssessmentRunAgent) *ListAssessmentRunAgentsOutput { - s.AssessmentRunAgents = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAssessmentRunAgentsOutput) SetNextToken(v string) *ListAssessmentRunAgentsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunsRequest type ListAssessmentRunsInput struct { _ struct{} `type:"structure"` @@ -5333,30 +4373,6 @@ func (s *ListAssessmentRunsInput) Validate() error { return nil } -// SetAssessmentTemplateArns sets the AssessmentTemplateArns field's value. -func (s *ListAssessmentRunsInput) SetAssessmentTemplateArns(v []string) *ListAssessmentRunsInput { - s.AssessmentTemplateArns = v - return s -} - -// SetFilter sets the Filter field's value. -func (s *ListAssessmentRunsInput) SetFilter(v *AssessmentRunFilter) *ListAssessmentRunsInput { - s.Filter = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListAssessmentRunsInput) SetMaxResults(v int64) *ListAssessmentRunsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAssessmentRunsInput) SetNextToken(v string) *ListAssessmentRunsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunsResponse type ListAssessmentRunsOutput struct { _ struct{} `type:"structure"` @@ -5391,18 +4407,6 @@ func (s ListAssessmentRunsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssessmentRunArns sets the AssessmentRunArns field's value. -func (s *ListAssessmentRunsOutput) SetAssessmentRunArns(v []string) *ListAssessmentRunsOutput { - s.AssessmentRunArns = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAssessmentRunsOutput) SetNextToken(v string) *ListAssessmentRunsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTargetsRequest type ListAssessmentTargetsInput struct { _ struct{} `type:"structure"` @@ -5454,24 +4458,6 @@ func (s *ListAssessmentTargetsInput) Validate() error { return nil } -// SetFilter sets the Filter field's value. -func (s *ListAssessmentTargetsInput) SetFilter(v *AssessmentTargetFilter) *ListAssessmentTargetsInput { - s.Filter = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListAssessmentTargetsInput) SetMaxResults(v int64) *ListAssessmentTargetsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAssessmentTargetsInput) SetNextToken(v string) *ListAssessmentTargetsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTargetsResponse type ListAssessmentTargetsOutput struct { _ struct{} `type:"structure"` @@ -5506,18 +4492,6 @@ func (s ListAssessmentTargetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssessmentTargetArns sets the AssessmentTargetArns field's value. -func (s *ListAssessmentTargetsOutput) SetAssessmentTargetArns(v []string) *ListAssessmentTargetsOutput { - s.AssessmentTargetArns = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAssessmentTargetsOutput) SetNextToken(v string) *ListAssessmentTargetsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTemplatesRequest type ListAssessmentTemplatesInput struct { _ struct{} `type:"structure"` @@ -5573,30 +4547,6 @@ func (s *ListAssessmentTemplatesInput) Validate() error { return nil } -// SetAssessmentTargetArns sets the AssessmentTargetArns field's value. -func (s *ListAssessmentTemplatesInput) SetAssessmentTargetArns(v []string) *ListAssessmentTemplatesInput { - s.AssessmentTargetArns = v - return s -} - -// SetFilter sets the Filter field's value. -func (s *ListAssessmentTemplatesInput) SetFilter(v *AssessmentTemplateFilter) *ListAssessmentTemplatesInput { - s.Filter = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListAssessmentTemplatesInput) SetMaxResults(v int64) *ListAssessmentTemplatesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAssessmentTemplatesInput) SetNextToken(v string) *ListAssessmentTemplatesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTemplatesResponse type ListAssessmentTemplatesOutput struct { _ struct{} `type:"structure"` @@ -5630,18 +4580,6 @@ func (s ListAssessmentTemplatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssessmentTemplateArns sets the AssessmentTemplateArns field's value. -func (s *ListAssessmentTemplatesOutput) SetAssessmentTemplateArns(v []string) *ListAssessmentTemplatesOutput { - s.AssessmentTemplateArns = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAssessmentTemplatesOutput) SetNextToken(v string) *ListAssessmentTemplatesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListEventSubscriptionsRequest type ListEventSubscriptionsInput struct { _ struct{} `type:"structure"` @@ -5687,24 +4625,6 @@ func (s *ListEventSubscriptionsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListEventSubscriptionsInput) SetMaxResults(v int64) *ListEventSubscriptionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListEventSubscriptionsInput) SetNextToken(v string) *ListEventSubscriptionsInput { - s.NextToken = &v - return s -} - -// SetResourceArn sets the ResourceArn field's value. -func (s *ListEventSubscriptionsInput) SetResourceArn(v string) *ListEventSubscriptionsInput { - s.ResourceArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListEventSubscriptionsResponse type ListEventSubscriptionsOutput struct { _ struct{} `type:"structure"` @@ -5738,18 +4658,6 @@ func (s ListEventSubscriptionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListEventSubscriptionsOutput) SetNextToken(v string) *ListEventSubscriptionsOutput { - s.NextToken = &v - return s -} - -// SetSubscriptions sets the Subscriptions field's value. -func (s *ListEventSubscriptionsOutput) SetSubscriptions(v []Subscription) *ListEventSubscriptionsOutput { - s.Subscriptions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListFindingsRequest type ListFindingsInput struct { _ struct{} `type:"structure"` @@ -5805,30 +4713,6 @@ func (s *ListFindingsInput) Validate() error { return nil } -// SetAssessmentRunArns sets the AssessmentRunArns field's value. -func (s *ListFindingsInput) SetAssessmentRunArns(v []string) *ListFindingsInput { - s.AssessmentRunArns = v - return s -} - -// SetFilter sets the Filter field's value. -func (s *ListFindingsInput) SetFilter(v *FindingFilter) *ListFindingsInput { - s.Filter = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListFindingsInput) SetMaxResults(v int64) *ListFindingsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFindingsInput) SetNextToken(v string) *ListFindingsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListFindingsResponse type ListFindingsOutput struct { _ struct{} `type:"structure"` @@ -5862,18 +4746,6 @@ func (s ListFindingsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFindingArns sets the FindingArns field's value. -func (s *ListFindingsOutput) SetFindingArns(v []string) *ListFindingsOutput { - s.FindingArns = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFindingsOutput) SetNextToken(v string) *ListFindingsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListRulesPackagesRequest type ListRulesPackagesInput struct { _ struct{} `type:"structure"` @@ -5912,18 +4784,6 @@ func (s *ListRulesPackagesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListRulesPackagesInput) SetMaxResults(v int64) *ListRulesPackagesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListRulesPackagesInput) SetNextToken(v string) *ListRulesPackagesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListRulesPackagesResponse type ListRulesPackagesOutput struct { _ struct{} `type:"structure"` @@ -5957,18 +4817,6 @@ func (s ListRulesPackagesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListRulesPackagesOutput) SetNextToken(v string) *ListRulesPackagesOutput { - s.NextToken = &v - return s -} - -// SetRulesPackageArns sets the RulesPackageArns field's value. -func (s *ListRulesPackagesOutput) SetRulesPackageArns(v []string) *ListRulesPackagesOutput { - s.RulesPackageArns = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListTagsForResourceRequest type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -6006,12 +4854,6 @@ func (s *ListTagsForResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { - s.ResourceArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListTagsForResourceResponse type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` @@ -6039,12 +4881,6 @@ func (s ListTagsForResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTags sets the Tags field's value. -func (s *ListTagsForResourceOutput) SetTags(v []Tag) *ListTagsForResourceOutput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/PreviewAgentsRequest type PreviewAgentsInput struct { _ struct{} `type:"structure"` @@ -6095,24 +4931,6 @@ func (s *PreviewAgentsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *PreviewAgentsInput) SetMaxResults(v int64) *PreviewAgentsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *PreviewAgentsInput) SetNextToken(v string) *PreviewAgentsInput { - s.NextToken = &v - return s -} - -// SetPreviewAgentsArn sets the PreviewAgentsArn field's value. -func (s *PreviewAgentsInput) SetPreviewAgentsArn(v string) *PreviewAgentsInput { - s.PreviewAgentsArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/PreviewAgentsResponse type PreviewAgentsOutput struct { _ struct{} `type:"structure"` @@ -6146,18 +4964,6 @@ func (s PreviewAgentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAgentPreviews sets the AgentPreviews field's value. -func (s *PreviewAgentsOutput) SetAgentPreviews(v []AgentPreview) *PreviewAgentsOutput { - s.AgentPreviews = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *PreviewAgentsOutput) SetNextToken(v string) *PreviewAgentsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RegisterCrossAccountAccessRoleRequest type RegisterCrossAccountAccessRoleInput struct { _ struct{} `type:"structure"` @@ -6196,12 +5002,6 @@ func (s *RegisterCrossAccountAccessRoleInput) Validate() error { return nil } -// SetRoleArn sets the RoleArn field's value. -func (s *RegisterCrossAccountAccessRoleInput) SetRoleArn(v string) *RegisterCrossAccountAccessRoleInput { - s.RoleArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RegisterCrossAccountAccessRoleOutput type RegisterCrossAccountAccessRoleOutput struct { _ struct{} `type:"structure"` @@ -6270,18 +5070,6 @@ func (s *RemoveAttributesFromFindingsInput) Validate() error { return nil } -// SetAttributeKeys sets the AttributeKeys field's value. -func (s *RemoveAttributesFromFindingsInput) SetAttributeKeys(v []string) *RemoveAttributesFromFindingsInput { - s.AttributeKeys = v - return s -} - -// SetFindingArns sets the FindingArns field's value. -func (s *RemoveAttributesFromFindingsInput) SetFindingArns(v []string) *RemoveAttributesFromFindingsInput { - s.FindingArns = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RemoveAttributesFromFindingsResponse type RemoveAttributesFromFindingsOutput struct { _ struct{} `type:"structure"` @@ -6310,12 +5098,6 @@ func (s RemoveAttributesFromFindingsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailedItems sets the FailedItems field's value. -func (s *RemoveAttributesFromFindingsOutput) SetFailedItems(v map[string]FailedItemDetails) *RemoveAttributesFromFindingsOutput { - s.FailedItems = v - return s -} - // Contains information about a resource group. The resource group defines a // set of tags that, when queried, identify the AWS resources that make up the // assessment target. This data type is used as the response element in the @@ -6351,24 +5133,6 @@ func (s ResourceGroup) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *ResourceGroup) SetArn(v string) *ResourceGroup { - s.Arn = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *ResourceGroup) SetCreatedAt(v time.Time) *ResourceGroup { - s.CreatedAt = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *ResourceGroup) SetTags(v []ResourceGroupTag) *ResourceGroup { - s.Tags = v - return s -} - // This data type is used as one of the elements of the ResourceGroup data type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ResourceGroupTag type ResourceGroupTag struct { @@ -6413,18 +5177,6 @@ func (s *ResourceGroupTag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *ResourceGroupTag) SetKey(v string) *ResourceGroupTag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *ResourceGroupTag) SetValue(v string) *ResourceGroupTag { - s.Value = &v - return s -} - // Contains information about an Amazon Inspector rules package. This data type // is used as the response element in the DescribeRulesPackages action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RulesPackage @@ -6465,36 +5217,6 @@ func (s RulesPackage) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *RulesPackage) SetArn(v string) *RulesPackage { - s.Arn = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *RulesPackage) SetDescription(v string) *RulesPackage { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *RulesPackage) SetName(v string) *RulesPackage { - s.Name = &v - return s -} - -// SetProvider sets the Provider field's value. -func (s *RulesPackage) SetProvider(v string) *RulesPackage { - s.Provider = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *RulesPackage) SetVersion(v string) *RulesPackage { - s.Version = &v - return s -} - // This data type is used in the Finding data type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/InspectorServiceAttributes type ServiceAttributes struct { @@ -6522,24 +5244,6 @@ func (s ServiceAttributes) GoString() string { return s.String() } -// SetAssessmentRunArn sets the AssessmentRunArn field's value. -func (s *ServiceAttributes) SetAssessmentRunArn(v string) *ServiceAttributes { - s.AssessmentRunArn = &v - return s -} - -// SetRulesPackageArn sets the RulesPackageArn field's value. -func (s *ServiceAttributes) SetRulesPackageArn(v string) *ServiceAttributes { - s.RulesPackageArn = &v - return s -} - -// SetSchemaVersion sets the SchemaVersion field's value. -func (s *ServiceAttributes) SetSchemaVersion(v int64) *ServiceAttributes { - s.SchemaVersion = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SetTagsForResourceRequest type SetTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -6588,18 +5292,6 @@ func (s *SetTagsForResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *SetTagsForResourceInput) SetResourceArn(v string) *SetTagsForResourceInput { - s.ResourceArn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *SetTagsForResourceInput) SetTags(v []Tag) *SetTagsForResourceInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SetTagsForResourceOutput type SetTagsForResourceOutput struct { _ struct{} `type:"structure"` @@ -6667,18 +5359,6 @@ func (s *StartAssessmentRunInput) Validate() error { return nil } -// SetAssessmentRunName sets the AssessmentRunName field's value. -func (s *StartAssessmentRunInput) SetAssessmentRunName(v string) *StartAssessmentRunInput { - s.AssessmentRunName = &v - return s -} - -// SetAssessmentTemplateArn sets the AssessmentTemplateArn field's value. -func (s *StartAssessmentRunInput) SetAssessmentTemplateArn(v string) *StartAssessmentRunInput { - s.AssessmentTemplateArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StartAssessmentRunResponse type StartAssessmentRunOutput struct { _ struct{} `type:"structure"` @@ -6706,12 +5386,6 @@ func (s StartAssessmentRunOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssessmentRunArn sets the AssessmentRunArn field's value. -func (s *StartAssessmentRunOutput) SetAssessmentRunArn(v string) *StartAssessmentRunOutput { - s.AssessmentRunArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StopAssessmentRunRequest type StopAssessmentRunInput struct { _ struct{} `type:"structure"` @@ -6756,18 +5430,6 @@ func (s *StopAssessmentRunInput) Validate() error { return nil } -// SetAssessmentRunArn sets the AssessmentRunArn field's value. -func (s *StopAssessmentRunInput) SetAssessmentRunArn(v string) *StopAssessmentRunInput { - s.AssessmentRunArn = &v - return s -} - -// SetStopAction sets the StopAction field's value. -func (s *StopAssessmentRunInput) SetStopAction(v StopAction) *StopAssessmentRunInput { - s.StopAction = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StopAssessmentRunOutput type StopAssessmentRunOutput struct { _ struct{} `type:"structure"` @@ -6848,24 +5510,6 @@ func (s *SubscribeToEventInput) Validate() error { return nil } -// SetEvent sets the Event field's value. -func (s *SubscribeToEventInput) SetEvent(v Event) *SubscribeToEventInput { - s.Event = v - return s -} - -// SetResourceArn sets the ResourceArn field's value. -func (s *SubscribeToEventInput) SetResourceArn(v string) *SubscribeToEventInput { - s.ResourceArn = &v - return s -} - -// SetTopicArn sets the TopicArn field's value. -func (s *SubscribeToEventInput) SetTopicArn(v string) *SubscribeToEventInput { - s.TopicArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SubscribeToEventOutput type SubscribeToEventOutput struct { _ struct{} `type:"structure"` @@ -6922,24 +5566,6 @@ func (s Subscription) GoString() string { return s.String() } -// SetEventSubscriptions sets the EventSubscriptions field's value. -func (s *Subscription) SetEventSubscriptions(v []EventSubscription) *Subscription { - s.EventSubscriptions = v - return s -} - -// SetResourceArn sets the ResourceArn field's value. -func (s *Subscription) SetResourceArn(v string) *Subscription { - s.ResourceArn = &v - return s -} - -// SetTopicArn sets the TopicArn field's value. -func (s *Subscription) SetTopicArn(v string) *Subscription { - s.TopicArn = &v - return s -} - // A key and value pair. This data type is used as a request parameter in the // SetTagsForResource action and a response element in the ListTagsForResource // action. @@ -6986,18 +5612,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // The metadata about the Amazon Inspector application data metrics collected // by the agent. This data type is used as the response element in the GetTelemetryMetadata // action. @@ -7029,24 +5643,6 @@ func (s TelemetryMetadata) GoString() string { return s.String() } -// SetCount sets the Count field's value. -func (s *TelemetryMetadata) SetCount(v int64) *TelemetryMetadata { - s.Count = &v - return s -} - -// SetDataSize sets the DataSize field's value. -func (s *TelemetryMetadata) SetDataSize(v int64) *TelemetryMetadata { - s.DataSize = &v - return s -} - -// SetMessageType sets the MessageType field's value. -func (s *TelemetryMetadata) SetMessageType(v string) *TelemetryMetadata { - s.MessageType = &v - return s -} - // This data type is used in the AssessmentRunFilter data type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/TimestampRange type TimestampRange struct { @@ -7069,18 +5665,6 @@ func (s TimestampRange) GoString() string { return s.String() } -// SetBeginDate sets the BeginDate field's value. -func (s *TimestampRange) SetBeginDate(v time.Time) *TimestampRange { - s.BeginDate = &v - return s -} - -// SetEndDate sets the EndDate field's value. -func (s *TimestampRange) SetEndDate(v time.Time) *TimestampRange { - s.EndDate = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UnsubscribeFromEventRequest type UnsubscribeFromEventInput struct { _ struct{} `type:"structure"` @@ -7139,24 +5723,6 @@ func (s *UnsubscribeFromEventInput) Validate() error { return nil } -// SetEvent sets the Event field's value. -func (s *UnsubscribeFromEventInput) SetEvent(v Event) *UnsubscribeFromEventInput { - s.Event = v - return s -} - -// SetResourceArn sets the ResourceArn field's value. -func (s *UnsubscribeFromEventInput) SetResourceArn(v string) *UnsubscribeFromEventInput { - s.ResourceArn = &v - return s -} - -// SetTopicArn sets the TopicArn field's value. -func (s *UnsubscribeFromEventInput) SetTopicArn(v string) *UnsubscribeFromEventInput { - s.TopicArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UnsubscribeFromEventOutput type UnsubscribeFromEventOutput struct { _ struct{} `type:"structure"` @@ -7241,24 +5807,6 @@ func (s *UpdateAssessmentTargetInput) Validate() error { return nil } -// SetAssessmentTargetArn sets the AssessmentTargetArn field's value. -func (s *UpdateAssessmentTargetInput) SetAssessmentTargetArn(v string) *UpdateAssessmentTargetInput { - s.AssessmentTargetArn = &v - return s -} - -// SetAssessmentTargetName sets the AssessmentTargetName field's value. -func (s *UpdateAssessmentTargetInput) SetAssessmentTargetName(v string) *UpdateAssessmentTargetInput { - s.AssessmentTargetName = &v - return s -} - -// SetResourceGroupArn sets the ResourceGroupArn field's value. -func (s *UpdateAssessmentTargetInput) SetResourceGroupArn(v string) *UpdateAssessmentTargetInput { - s.ResourceGroupArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UpdateAssessmentTargetOutput type UpdateAssessmentTargetOutput struct { _ struct{} `type:"structure"` diff --git a/service/iot/api.go b/service/iot/api.go index 16b8e74b3bf..4396e7cb9b2 100644 --- a/service/iot/api.go +++ b/service/iot/api.go @@ -6056,18 +6056,6 @@ func (s *AcceptCertificateTransferInput) Validate() error { return nil } -// SetCertificateId sets the CertificateId field's value. -func (s *AcceptCertificateTransferInput) SetCertificateId(v string) *AcceptCertificateTransferInput { - s.CertificateId = &v - return s -} - -// SetSetAsActive sets the SetAsActive field's value. -func (s *AcceptCertificateTransferInput) SetSetAsActive(v bool) *AcceptCertificateTransferInput { - s.SetAsActive = &v - return s -} - type AcceptCertificateTransferOutput struct { _ struct{} `type:"structure"` @@ -6220,84 +6208,6 @@ func (s *Action) Validate() error { return nil } -// SetCloudwatchAlarm sets the CloudwatchAlarm field's value. -func (s *Action) SetCloudwatchAlarm(v *CloudwatchAlarmAction) *Action { - s.CloudwatchAlarm = v - return s -} - -// SetCloudwatchMetric sets the CloudwatchMetric field's value. -func (s *Action) SetCloudwatchMetric(v *CloudwatchMetricAction) *Action { - s.CloudwatchMetric = v - return s -} - -// SetDynamoDB sets the DynamoDB field's value. -func (s *Action) SetDynamoDB(v *DynamoDBAction) *Action { - s.DynamoDB = v - return s -} - -// SetDynamoDBv2 sets the DynamoDBv2 field's value. -func (s *Action) SetDynamoDBv2(v *DynamoDBv2Action) *Action { - s.DynamoDBv2 = v - return s -} - -// SetElasticsearch sets the Elasticsearch field's value. -func (s *Action) SetElasticsearch(v *ElasticsearchAction) *Action { - s.Elasticsearch = v - return s -} - -// SetFirehose sets the Firehose field's value. -func (s *Action) SetFirehose(v *FirehoseAction) *Action { - s.Firehose = v - return s -} - -// SetKinesis sets the Kinesis field's value. -func (s *Action) SetKinesis(v *KinesisAction) *Action { - s.Kinesis = v - return s -} - -// SetLambda sets the Lambda field's value. -func (s *Action) SetLambda(v *LambdaAction) *Action { - s.Lambda = v - return s -} - -// SetRepublish sets the Republish field's value. -func (s *Action) SetRepublish(v *RepublishAction) *Action { - s.Republish = v - return s -} - -// SetS3 sets the S3 field's value. -func (s *Action) SetS3(v *S3Action) *Action { - s.S3 = v - return s -} - -// SetSalesforce sets the Salesforce field's value. -func (s *Action) SetSalesforce(v *SalesforceAction) *Action { - s.Salesforce = v - return s -} - -// SetSns sets the Sns field's value. -func (s *Action) SetSns(v *SnsAction) *Action { - s.Sns = v - return s -} - -// SetSqs sets the Sqs field's value. -func (s *Action) SetSqs(v *SqsAction) *Action { - s.Sqs = v - return s -} - type AddThingToThingGroupInput struct { _ struct{} `type:"structure"` @@ -6340,30 +6250,6 @@ func (s *AddThingToThingGroupInput) Validate() error { return nil } -// SetThingArn sets the ThingArn field's value. -func (s *AddThingToThingGroupInput) SetThingArn(v string) *AddThingToThingGroupInput { - s.ThingArn = &v - return s -} - -// SetThingGroupArn sets the ThingGroupArn field's value. -func (s *AddThingToThingGroupInput) SetThingGroupArn(v string) *AddThingToThingGroupInput { - s.ThingGroupArn = &v - return s -} - -// SetThingGroupName sets the ThingGroupName field's value. -func (s *AddThingToThingGroupInput) SetThingGroupName(v string) *AddThingToThingGroupInput { - s.ThingGroupName = &v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *AddThingToThingGroupInput) SetThingName(v string) *AddThingToThingGroupInput { - s.ThingName = &v - return s -} - type AddThingToThingGroupOutput struct { _ struct{} `type:"structure"` @@ -6403,12 +6289,6 @@ func (s Allowed) GoString() string { return s.String() } -// SetPolicies sets the Policies field's value. -func (s *Allowed) SetPolicies(v []Policy) *Allowed { - s.Policies = v - return s -} - type AssociateTargetsWithJobInput struct { _ struct{} `type:"structure"` @@ -6461,24 +6341,6 @@ func (s *AssociateTargetsWithJobInput) Validate() error { return nil } -// SetComment sets the Comment field's value. -func (s *AssociateTargetsWithJobInput) SetComment(v string) *AssociateTargetsWithJobInput { - s.Comment = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *AssociateTargetsWithJobInput) SetJobId(v string) *AssociateTargetsWithJobInput { - s.JobId = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *AssociateTargetsWithJobInput) SetTargets(v []string) *AssociateTargetsWithJobInput { - s.Targets = v - return s -} - type AssociateTargetsWithJobOutput struct { _ struct{} `type:"structure"` @@ -6509,24 +6371,6 @@ func (s AssociateTargetsWithJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDescription sets the Description field's value. -func (s *AssociateTargetsWithJobOutput) SetDescription(v string) *AssociateTargetsWithJobOutput { - s.Description = &v - return s -} - -// SetJobArn sets the JobArn field's value. -func (s *AssociateTargetsWithJobOutput) SetJobArn(v string) *AssociateTargetsWithJobOutput { - s.JobArn = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *AssociateTargetsWithJobOutput) SetJobId(v string) *AssociateTargetsWithJobOutput { - s.JobId = &v - return s -} - type AttachPolicyInput struct { _ struct{} `type:"structure"` @@ -6572,18 +6416,6 @@ func (s *AttachPolicyInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *AttachPolicyInput) SetPolicyName(v string) *AttachPolicyInput { - s.PolicyName = &v - return s -} - -// SetTarget sets the Target field's value. -func (s *AttachPolicyInput) SetTarget(v string) *AttachPolicyInput { - s.Target = &v - return s -} - type AttachPolicyOutput struct { _ struct{} `type:"structure"` @@ -6652,18 +6484,6 @@ func (s *AttachPrincipalPolicyInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *AttachPrincipalPolicyInput) SetPolicyName(v string) *AttachPrincipalPolicyInput { - s.PolicyName = &v - return s -} - -// SetPrincipal sets the Principal field's value. -func (s *AttachPrincipalPolicyInput) SetPrincipal(v string) *AttachPrincipalPolicyInput { - s.Principal = &v - return s -} - type AttachPrincipalPolicyOutput struct { _ struct{} `type:"structure"` @@ -6731,18 +6551,6 @@ func (s *AttachThingPrincipalInput) Validate() error { return nil } -// SetPrincipal sets the Principal field's value. -func (s *AttachThingPrincipalInput) SetPrincipal(v string) *AttachThingPrincipalInput { - s.Principal = &v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *AttachThingPrincipalInput) SetThingName(v string) *AttachThingPrincipalInput { - s.ThingName = &v - return s -} - // The output from the AttachThingPrincipal operation. type AttachThingPrincipalOutput struct { _ struct{} `type:"structure"` @@ -6794,18 +6602,6 @@ func (s AttributePayload) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *AttributePayload) SetAttributes(v map[string]string) *AttributePayload { - s.Attributes = v - return s -} - -// SetMerge sets the Merge field's value. -func (s *AttributePayload) SetMerge(v bool) *AttributePayload { - s.Merge = &v - return s -} - // A collection of authorization information. type AuthInfo struct { _ struct{} `type:"structure"` @@ -6828,18 +6624,6 @@ func (s AuthInfo) GoString() string { return s.String() } -// SetActionType sets the ActionType field's value. -func (s *AuthInfo) SetActionType(v ActionType) *AuthInfo { - s.ActionType = v - return s -} - -// SetResources sets the Resources field's value. -func (s *AuthInfo) SetResources(v []string) *AuthInfo { - s.Resources = v - return s -} - // The authorizer result. type AuthResult struct { _ struct{} `type:"structure"` @@ -6872,36 +6656,6 @@ func (s AuthResult) GoString() string { return s.String() } -// SetAllowed sets the Allowed field's value. -func (s *AuthResult) SetAllowed(v *Allowed) *AuthResult { - s.Allowed = v - return s -} - -// SetAuthDecision sets the AuthDecision field's value. -func (s *AuthResult) SetAuthDecision(v AuthDecision) *AuthResult { - s.AuthDecision = v - return s -} - -// SetAuthInfo sets the AuthInfo field's value. -func (s *AuthResult) SetAuthInfo(v *AuthInfo) *AuthResult { - s.AuthInfo = v - return s -} - -// SetDenied sets the Denied field's value. -func (s *AuthResult) SetDenied(v *Denied) *AuthResult { - s.Denied = v - return s -} - -// SetMissingContextValues sets the MissingContextValues field's value. -func (s *AuthResult) SetMissingContextValues(v []string) *AuthResult { - s.MissingContextValues = v - return s -} - // The authorizer description. type AuthorizerDescription struct { _ struct{} `type:"structure"` @@ -6942,54 +6696,6 @@ func (s AuthorizerDescription) GoString() string { return s.String() } -// SetAuthorizerArn sets the AuthorizerArn field's value. -func (s *AuthorizerDescription) SetAuthorizerArn(v string) *AuthorizerDescription { - s.AuthorizerArn = &v - return s -} - -// SetAuthorizerFunctionArn sets the AuthorizerFunctionArn field's value. -func (s *AuthorizerDescription) SetAuthorizerFunctionArn(v string) *AuthorizerDescription { - s.AuthorizerFunctionArn = &v - return s -} - -// SetAuthorizerName sets the AuthorizerName field's value. -func (s *AuthorizerDescription) SetAuthorizerName(v string) *AuthorizerDescription { - s.AuthorizerName = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *AuthorizerDescription) SetCreationDate(v time.Time) *AuthorizerDescription { - s.CreationDate = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *AuthorizerDescription) SetLastModifiedDate(v time.Time) *AuthorizerDescription { - s.LastModifiedDate = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *AuthorizerDescription) SetStatus(v AuthorizerStatus) *AuthorizerDescription { - s.Status = v - return s -} - -// SetTokenKeyName sets the TokenKeyName field's value. -func (s *AuthorizerDescription) SetTokenKeyName(v string) *AuthorizerDescription { - s.TokenKeyName = &v - return s -} - -// SetTokenSigningPublicKeys sets the TokenSigningPublicKeys field's value. -func (s *AuthorizerDescription) SetTokenSigningPublicKeys(v map[string]string) *AuthorizerDescription { - s.TokenSigningPublicKeys = v - return s -} - // The authorizer summary. type AuthorizerSummary struct { _ struct{} `type:"structure"` @@ -7011,18 +6717,6 @@ func (s AuthorizerSummary) GoString() string { return s.String() } -// SetAuthorizerArn sets the AuthorizerArn field's value. -func (s *AuthorizerSummary) SetAuthorizerArn(v string) *AuthorizerSummary { - s.AuthorizerArn = &v - return s -} - -// SetAuthorizerName sets the AuthorizerName field's value. -func (s *AuthorizerSummary) SetAuthorizerName(v string) *AuthorizerSummary { - s.AuthorizerName = &v - return s -} - // A CA certificate. type CACertificate struct { _ struct{} `type:"structure"` @@ -7052,30 +6746,6 @@ func (s CACertificate) GoString() string { return s.String() } -// SetCertificateArn sets the CertificateArn field's value. -func (s *CACertificate) SetCertificateArn(v string) *CACertificate { - s.CertificateArn = &v - return s -} - -// SetCertificateId sets the CertificateId field's value. -func (s *CACertificate) SetCertificateId(v string) *CACertificate { - s.CertificateId = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *CACertificate) SetCreationDate(v time.Time) *CACertificate { - s.CreationDate = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *CACertificate) SetStatus(v CACertificateStatus) *CACertificate { - s.Status = v - return s -} - // Describes a CA certificate. type CACertificateDescription struct { _ struct{} `type:"structure"` @@ -7113,48 +6783,6 @@ func (s CACertificateDescription) GoString() string { return s.String() } -// SetAutoRegistrationStatus sets the AutoRegistrationStatus field's value. -func (s *CACertificateDescription) SetAutoRegistrationStatus(v AutoRegistrationStatus) *CACertificateDescription { - s.AutoRegistrationStatus = v - return s -} - -// SetCertificateArn sets the CertificateArn field's value. -func (s *CACertificateDescription) SetCertificateArn(v string) *CACertificateDescription { - s.CertificateArn = &v - return s -} - -// SetCertificateId sets the CertificateId field's value. -func (s *CACertificateDescription) SetCertificateId(v string) *CACertificateDescription { - s.CertificateId = &v - return s -} - -// SetCertificatePem sets the CertificatePem field's value. -func (s *CACertificateDescription) SetCertificatePem(v string) *CACertificateDescription { - s.CertificatePem = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *CACertificateDescription) SetCreationDate(v time.Time) *CACertificateDescription { - s.CreationDate = &v - return s -} - -// SetOwnedBy sets the OwnedBy field's value. -func (s *CACertificateDescription) SetOwnedBy(v string) *CACertificateDescription { - s.OwnedBy = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *CACertificateDescription) SetStatus(v CACertificateStatus) *CACertificateDescription { - s.Status = v - return s -} - // The input for the CancelCertificateTransfer operation. type CancelCertificateTransferInput struct { _ struct{} `type:"structure"` @@ -7192,12 +6820,6 @@ func (s *CancelCertificateTransferInput) Validate() error { return nil } -// SetCertificateId sets the CertificateId field's value. -func (s *CancelCertificateTransferInput) SetCertificateId(v string) *CancelCertificateTransferInput { - s.CertificateId = &v - return s -} - type CancelCertificateTransferOutput struct { _ struct{} `type:"structure"` @@ -7258,18 +6880,6 @@ func (s *CancelJobInput) Validate() error { return nil } -// SetComment sets the Comment field's value. -func (s *CancelJobInput) SetComment(v string) *CancelJobInput { - s.Comment = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *CancelJobInput) SetJobId(v string) *CancelJobInput { - s.JobId = &v - return s -} - type CancelJobOutput struct { _ struct{} `type:"structure"` @@ -7300,24 +6910,6 @@ func (s CancelJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDescription sets the Description field's value. -func (s *CancelJobOutput) SetDescription(v string) *CancelJobOutput { - s.Description = &v - return s -} - -// SetJobArn sets the JobArn field's value. -func (s *CancelJobOutput) SetJobArn(v string) *CancelJobOutput { - s.JobArn = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *CancelJobOutput) SetJobId(v string) *CancelJobOutput { - s.JobId = &v - return s -} - // Information about a certificate. type Certificate struct { _ struct{} `type:"structure"` @@ -7347,30 +6939,6 @@ func (s Certificate) GoString() string { return s.String() } -// SetCertificateArn sets the CertificateArn field's value. -func (s *Certificate) SetCertificateArn(v string) *Certificate { - s.CertificateArn = &v - return s -} - -// SetCertificateId sets the CertificateId field's value. -func (s *Certificate) SetCertificateId(v string) *Certificate { - s.CertificateId = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *Certificate) SetCreationDate(v time.Time) *Certificate { - s.CreationDate = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Certificate) SetStatus(v CertificateStatus) *Certificate { - s.Status = v - return s -} - // Describes a certificate. type CertificateDescription struct { _ struct{} `type:"structure"` @@ -7416,66 +6984,6 @@ func (s CertificateDescription) GoString() string { return s.String() } -// SetCaCertificateId sets the CaCertificateId field's value. -func (s *CertificateDescription) SetCaCertificateId(v string) *CertificateDescription { - s.CaCertificateId = &v - return s -} - -// SetCertificateArn sets the CertificateArn field's value. -func (s *CertificateDescription) SetCertificateArn(v string) *CertificateDescription { - s.CertificateArn = &v - return s -} - -// SetCertificateId sets the CertificateId field's value. -func (s *CertificateDescription) SetCertificateId(v string) *CertificateDescription { - s.CertificateId = &v - return s -} - -// SetCertificatePem sets the CertificatePem field's value. -func (s *CertificateDescription) SetCertificatePem(v string) *CertificateDescription { - s.CertificatePem = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *CertificateDescription) SetCreationDate(v time.Time) *CertificateDescription { - s.CreationDate = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *CertificateDescription) SetLastModifiedDate(v time.Time) *CertificateDescription { - s.LastModifiedDate = &v - return s -} - -// SetOwnedBy sets the OwnedBy field's value. -func (s *CertificateDescription) SetOwnedBy(v string) *CertificateDescription { - s.OwnedBy = &v - return s -} - -// SetPreviousOwnedBy sets the PreviousOwnedBy field's value. -func (s *CertificateDescription) SetPreviousOwnedBy(v string) *CertificateDescription { - s.PreviousOwnedBy = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *CertificateDescription) SetStatus(v CertificateStatus) *CertificateDescription { - s.Status = v - return s -} - -// SetTransferData sets the TransferData field's value. -func (s *CertificateDescription) SetTransferData(v *TransferData) *CertificateDescription { - s.TransferData = v - return s -} - type ClearDefaultAuthorizerInput struct { _ struct{} `type:"structure"` } @@ -7572,30 +7080,6 @@ func (s *CloudwatchAlarmAction) Validate() error { return nil } -// SetAlarmName sets the AlarmName field's value. -func (s *CloudwatchAlarmAction) SetAlarmName(v string) *CloudwatchAlarmAction { - s.AlarmName = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *CloudwatchAlarmAction) SetRoleArn(v string) *CloudwatchAlarmAction { - s.RoleArn = &v - return s -} - -// SetStateReason sets the StateReason field's value. -func (s *CloudwatchAlarmAction) SetStateReason(v string) *CloudwatchAlarmAction { - s.StateReason = &v - return s -} - -// SetStateValue sets the StateValue field's value. -func (s *CloudwatchAlarmAction) SetStateValue(v string) *CloudwatchAlarmAction { - s.StateValue = &v - return s -} - // Describes an action that captures a CloudWatch metric. type CloudwatchMetricAction struct { _ struct{} `type:"structure"` @@ -7670,42 +7154,6 @@ func (s *CloudwatchMetricAction) Validate() error { return nil } -// SetMetricName sets the MetricName field's value. -func (s *CloudwatchMetricAction) SetMetricName(v string) *CloudwatchMetricAction { - s.MetricName = &v - return s -} - -// SetMetricNamespace sets the MetricNamespace field's value. -func (s *CloudwatchMetricAction) SetMetricNamespace(v string) *CloudwatchMetricAction { - s.MetricNamespace = &v - return s -} - -// SetMetricTimestamp sets the MetricTimestamp field's value. -func (s *CloudwatchMetricAction) SetMetricTimestamp(v string) *CloudwatchMetricAction { - s.MetricTimestamp = &v - return s -} - -// SetMetricUnit sets the MetricUnit field's value. -func (s *CloudwatchMetricAction) SetMetricUnit(v string) *CloudwatchMetricAction { - s.MetricUnit = &v - return s -} - -// SetMetricValue sets the MetricValue field's value. -func (s *CloudwatchMetricAction) SetMetricValue(v string) *CloudwatchMetricAction { - s.MetricValue = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *CloudwatchMetricAction) SetRoleArn(v string) *CloudwatchMetricAction { - s.RoleArn = &v - return s -} - // Describes the method to use when code signing a file. type CodeSigning struct { _ struct{} `type:"structure"` @@ -7742,18 +7190,6 @@ func (s *CodeSigning) Validate() error { return nil } -// SetAwsSignerJobId sets the AwsSignerJobId field's value. -func (s *CodeSigning) SetAwsSignerJobId(v string) *CodeSigning { - s.AwsSignerJobId = &v - return s -} - -// SetCustomCodeSigning sets the CustomCodeSigning field's value. -func (s *CodeSigning) SetCustomCodeSigning(v *CustomCodeSigning) *CodeSigning { - s.CustomCodeSigning = v - return s -} - // Describes the certificate chain being used when code signing a file. type CodeSigningCertificateChain struct { _ struct{} `type:"structure"` @@ -7793,24 +7229,6 @@ func (s *CodeSigningCertificateChain) Validate() error { return nil } -// SetCertificateName sets the CertificateName field's value. -func (s *CodeSigningCertificateChain) SetCertificateName(v string) *CodeSigningCertificateChain { - s.CertificateName = &v - return s -} - -// SetInlineDocument sets the InlineDocument field's value. -func (s *CodeSigningCertificateChain) SetInlineDocument(v string) *CodeSigningCertificateChain { - s.InlineDocument = &v - return s -} - -// SetStream sets the Stream field's value. -func (s *CodeSigningCertificateChain) SetStream(v *Stream) *CodeSigningCertificateChain { - s.Stream = v - return s -} - // Describes the signature for a file. type CodeSigningSignature struct { _ struct{} `type:"structure"` @@ -7849,18 +7267,6 @@ func (s *CodeSigningSignature) Validate() error { return nil } -// SetInlineDocument sets the InlineDocument field's value. -func (s *CodeSigningSignature) SetInlineDocument(v []byte) *CodeSigningSignature { - s.InlineDocument = v - return s -} - -// SetStream sets the Stream field's value. -func (s *CodeSigningSignature) SetStream(v *Stream) *CodeSigningSignature { - s.Stream = v - return s -} - // Configuration. type Configuration struct { _ struct{} `type:"structure"` @@ -7879,12 +7285,6 @@ func (s Configuration) GoString() string { return s.String() } -// SetEnabled sets the Enabled field's value. -func (s *Configuration) SetEnabled(v bool) *Configuration { - s.Enabled = &v - return s -} - type CreateAuthorizerInput struct { _ struct{} `type:"structure"` @@ -7955,36 +7355,6 @@ func (s *CreateAuthorizerInput) Validate() error { return nil } -// SetAuthorizerFunctionArn sets the AuthorizerFunctionArn field's value. -func (s *CreateAuthorizerInput) SetAuthorizerFunctionArn(v string) *CreateAuthorizerInput { - s.AuthorizerFunctionArn = &v - return s -} - -// SetAuthorizerName sets the AuthorizerName field's value. -func (s *CreateAuthorizerInput) SetAuthorizerName(v string) *CreateAuthorizerInput { - s.AuthorizerName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *CreateAuthorizerInput) SetStatus(v AuthorizerStatus) *CreateAuthorizerInput { - s.Status = v - return s -} - -// SetTokenKeyName sets the TokenKeyName field's value. -func (s *CreateAuthorizerInput) SetTokenKeyName(v string) *CreateAuthorizerInput { - s.TokenKeyName = &v - return s -} - -// SetTokenSigningPublicKeys sets the TokenSigningPublicKeys field's value. -func (s *CreateAuthorizerInput) SetTokenSigningPublicKeys(v map[string]string) *CreateAuthorizerInput { - s.TokenSigningPublicKeys = v - return s -} - type CreateAuthorizerOutput struct { _ struct{} `type:"structure"` @@ -8012,18 +7382,6 @@ func (s CreateAuthorizerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAuthorizerArn sets the AuthorizerArn field's value. -func (s *CreateAuthorizerOutput) SetAuthorizerArn(v string) *CreateAuthorizerOutput { - s.AuthorizerArn = &v - return s -} - -// SetAuthorizerName sets the AuthorizerName field's value. -func (s *CreateAuthorizerOutput) SetAuthorizerName(v string) *CreateAuthorizerOutput { - s.AuthorizerName = &v - return s -} - // The input for the CreateCertificateFromCsr operation. type CreateCertificateFromCsrInput struct { _ struct{} `type:"structure"` @@ -8064,18 +7422,6 @@ func (s *CreateCertificateFromCsrInput) Validate() error { return nil } -// SetCertificateSigningRequest sets the CertificateSigningRequest field's value. -func (s *CreateCertificateFromCsrInput) SetCertificateSigningRequest(v string) *CreateCertificateFromCsrInput { - s.CertificateSigningRequest = &v - return s -} - -// SetSetAsActive sets the SetAsActive field's value. -func (s *CreateCertificateFromCsrInput) SetSetAsActive(v bool) *CreateCertificateFromCsrInput { - s.SetAsActive = &v - return s -} - // The output from the CreateCertificateFromCsr operation. type CreateCertificateFromCsrOutput struct { _ struct{} `type:"structure"` @@ -8109,24 +7455,6 @@ func (s CreateCertificateFromCsrOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificateArn sets the CertificateArn field's value. -func (s *CreateCertificateFromCsrOutput) SetCertificateArn(v string) *CreateCertificateFromCsrOutput { - s.CertificateArn = &v - return s -} - -// SetCertificateId sets the CertificateId field's value. -func (s *CreateCertificateFromCsrOutput) SetCertificateId(v string) *CreateCertificateFromCsrOutput { - s.CertificateId = &v - return s -} - -// SetCertificatePem sets the CertificatePem field's value. -func (s *CreateCertificateFromCsrOutput) SetCertificatePem(v string) *CreateCertificateFromCsrOutput { - s.CertificatePem = &v - return s -} - type CreateJobInput struct { _ struct{} `type:"structure"` @@ -8215,60 +7543,6 @@ func (s *CreateJobInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateJobInput) SetDescription(v string) *CreateJobInput { - s.Description = &v - return s -} - -// SetDocument sets the Document field's value. -func (s *CreateJobInput) SetDocument(v string) *CreateJobInput { - s.Document = &v - return s -} - -// SetDocumentParameters sets the DocumentParameters field's value. -func (s *CreateJobInput) SetDocumentParameters(v map[string]string) *CreateJobInput { - s.DocumentParameters = v - return s -} - -// SetDocumentSource sets the DocumentSource field's value. -func (s *CreateJobInput) SetDocumentSource(v string) *CreateJobInput { - s.DocumentSource = &v - return s -} - -// SetJobExecutionsRolloutConfig sets the JobExecutionsRolloutConfig field's value. -func (s *CreateJobInput) SetJobExecutionsRolloutConfig(v *JobExecutionsRolloutConfig) *CreateJobInput { - s.JobExecutionsRolloutConfig = v - return s -} - -// SetJobId sets the JobId field's value. -func (s *CreateJobInput) SetJobId(v string) *CreateJobInput { - s.JobId = &v - return s -} - -// SetPresignedUrlConfig sets the PresignedUrlConfig field's value. -func (s *CreateJobInput) SetPresignedUrlConfig(v *PresignedUrlConfig) *CreateJobInput { - s.PresignedUrlConfig = v - return s -} - -// SetTargetSelection sets the TargetSelection field's value. -func (s *CreateJobInput) SetTargetSelection(v TargetSelection) *CreateJobInput { - s.TargetSelection = v - return s -} - -// SetTargets sets the Targets field's value. -func (s *CreateJobInput) SetTargets(v []string) *CreateJobInput { - s.Targets = v - return s -} - type CreateJobOutput struct { _ struct{} `type:"structure"` @@ -8299,24 +7573,6 @@ func (s CreateJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDescription sets the Description field's value. -func (s *CreateJobOutput) SetDescription(v string) *CreateJobOutput { - s.Description = &v - return s -} - -// SetJobArn sets the JobArn field's value. -func (s *CreateJobOutput) SetJobArn(v string) *CreateJobOutput { - s.JobArn = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *CreateJobOutput) SetJobId(v string) *CreateJobOutput { - s.JobId = &v - return s -} - // The input for the CreateKeysAndCertificate operation. type CreateKeysAndCertificateInput struct { _ struct{} `type:"structure"` @@ -8335,12 +7591,6 @@ func (s CreateKeysAndCertificateInput) GoString() string { return s.String() } -// SetSetAsActive sets the SetAsActive field's value. -func (s *CreateKeysAndCertificateInput) SetSetAsActive(v bool) *CreateKeysAndCertificateInput { - s.SetAsActive = &v - return s -} - // The output of the CreateKeysAndCertificate operation. type CreateKeysAndCertificateOutput struct { _ struct{} `type:"structure"` @@ -8376,35 +7626,11 @@ func (s CreateKeysAndCertificateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificateArn sets the CertificateArn field's value. -func (s *CreateKeysAndCertificateOutput) SetCertificateArn(v string) *CreateKeysAndCertificateOutput { - s.CertificateArn = &v - return s -} +type CreateOTAUpdateInput struct { + _ struct{} `type:"structure"` -// SetCertificateId sets the CertificateId field's value. -func (s *CreateKeysAndCertificateOutput) SetCertificateId(v string) *CreateKeysAndCertificateOutput { - s.CertificateId = &v - return s -} - -// SetCertificatePem sets the CertificatePem field's value. -func (s *CreateKeysAndCertificateOutput) SetCertificatePem(v string) *CreateKeysAndCertificateOutput { - s.CertificatePem = &v - return s -} - -// SetKeyPair sets the KeyPair field's value. -func (s *CreateKeysAndCertificateOutput) SetKeyPair(v *KeyPair) *CreateKeysAndCertificateOutput { - s.KeyPair = v - return s -} - -type CreateOTAUpdateInput struct { - _ struct{} `type:"structure"` - - // A list of additional OTA update parameters which are name-value pairs. - AdditionalParameters map[string]string `locationName:"additionalParameters" type:"map"` + // A list of additional OTA update parameters which are name-value pairs. + AdditionalParameters map[string]string `locationName:"additionalParameters" type:"map"` // The description of the OTA update. Description *string `locationName:"description" type:"string"` @@ -8493,48 +7719,6 @@ func (s *CreateOTAUpdateInput) Validate() error { return nil } -// SetAdditionalParameters sets the AdditionalParameters field's value. -func (s *CreateOTAUpdateInput) SetAdditionalParameters(v map[string]string) *CreateOTAUpdateInput { - s.AdditionalParameters = v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateOTAUpdateInput) SetDescription(v string) *CreateOTAUpdateInput { - s.Description = &v - return s -} - -// SetFiles sets the Files field's value. -func (s *CreateOTAUpdateInput) SetFiles(v []OTAUpdateFile) *CreateOTAUpdateInput { - s.Files = v - return s -} - -// SetOtaUpdateId sets the OtaUpdateId field's value. -func (s *CreateOTAUpdateInput) SetOtaUpdateId(v string) *CreateOTAUpdateInput { - s.OtaUpdateId = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *CreateOTAUpdateInput) SetRoleArn(v string) *CreateOTAUpdateInput { - s.RoleArn = &v - return s -} - -// SetTargetSelection sets the TargetSelection field's value. -func (s *CreateOTAUpdateInput) SetTargetSelection(v TargetSelection) *CreateOTAUpdateInput { - s.TargetSelection = v - return s -} - -// SetTargets sets the Targets field's value. -func (s *CreateOTAUpdateInput) SetTargets(v []string) *CreateOTAUpdateInput { - s.Targets = v - return s -} - type CreateOTAUpdateOutput struct { _ struct{} `type:"structure"` @@ -8571,36 +7755,6 @@ func (s CreateOTAUpdateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAwsIotJobArn sets the AwsIotJobArn field's value. -func (s *CreateOTAUpdateOutput) SetAwsIotJobArn(v string) *CreateOTAUpdateOutput { - s.AwsIotJobArn = &v - return s -} - -// SetAwsIotJobId sets the AwsIotJobId field's value. -func (s *CreateOTAUpdateOutput) SetAwsIotJobId(v string) *CreateOTAUpdateOutput { - s.AwsIotJobId = &v - return s -} - -// SetOtaUpdateArn sets the OtaUpdateArn field's value. -func (s *CreateOTAUpdateOutput) SetOtaUpdateArn(v string) *CreateOTAUpdateOutput { - s.OtaUpdateArn = &v - return s -} - -// SetOtaUpdateId sets the OtaUpdateId field's value. -func (s *CreateOTAUpdateOutput) SetOtaUpdateId(v string) *CreateOTAUpdateOutput { - s.OtaUpdateId = &v - return s -} - -// SetOtaUpdateStatus sets the OtaUpdateStatus field's value. -func (s *CreateOTAUpdateOutput) SetOtaUpdateStatus(v OTAUpdateStatus) *CreateOTAUpdateOutput { - s.OtaUpdateStatus = v - return s -} - // The input for the CreatePolicy operation. type CreatePolicyInput struct { _ struct{} `type:"structure"` @@ -8648,18 +7802,6 @@ func (s *CreatePolicyInput) Validate() error { return nil } -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *CreatePolicyInput) SetPolicyDocument(v string) *CreatePolicyInput { - s.PolicyDocument = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *CreatePolicyInput) SetPolicyName(v string) *CreatePolicyInput { - s.PolicyName = &v - return s -} - // The output from the CreatePolicy operation. type CreatePolicyOutput struct { _ struct{} `type:"structure"` @@ -8694,30 +7836,6 @@ func (s CreatePolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicyArn sets the PolicyArn field's value. -func (s *CreatePolicyOutput) SetPolicyArn(v string) *CreatePolicyOutput { - s.PolicyArn = &v - return s -} - -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *CreatePolicyOutput) SetPolicyDocument(v string) *CreatePolicyOutput { - s.PolicyDocument = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *CreatePolicyOutput) SetPolicyName(v string) *CreatePolicyOutput { - s.PolicyName = &v - return s -} - -// SetPolicyVersionId sets the PolicyVersionId field's value. -func (s *CreatePolicyOutput) SetPolicyVersionId(v string) *CreatePolicyOutput { - s.PolicyVersionId = &v - return s -} - // The input for the CreatePolicyVersion operation. type CreatePolicyVersionInput struct { _ struct{} `type:"structure"` @@ -8770,24 +7888,6 @@ func (s *CreatePolicyVersionInput) Validate() error { return nil } -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *CreatePolicyVersionInput) SetPolicyDocument(v string) *CreatePolicyVersionInput { - s.PolicyDocument = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *CreatePolicyVersionInput) SetPolicyName(v string) *CreatePolicyVersionInput { - s.PolicyName = &v - return s -} - -// SetSetAsDefault sets the SetAsDefault field's value. -func (s *CreatePolicyVersionInput) SetSetAsDefault(v bool) *CreatePolicyVersionInput { - s.SetAsDefault = &v - return s -} - // The output of the CreatePolicyVersion operation. type CreatePolicyVersionOutput struct { _ struct{} `type:"structure"` @@ -8822,30 +7922,6 @@ func (s CreatePolicyVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIsDefaultVersion sets the IsDefaultVersion field's value. -func (s *CreatePolicyVersionOutput) SetIsDefaultVersion(v bool) *CreatePolicyVersionOutput { - s.IsDefaultVersion = &v - return s -} - -// SetPolicyArn sets the PolicyArn field's value. -func (s *CreatePolicyVersionOutput) SetPolicyArn(v string) *CreatePolicyVersionOutput { - s.PolicyArn = &v - return s -} - -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *CreatePolicyVersionOutput) SetPolicyDocument(v string) *CreatePolicyVersionOutput { - s.PolicyDocument = &v - return s -} - -// SetPolicyVersionId sets the PolicyVersionId field's value. -func (s *CreatePolicyVersionOutput) SetPolicyVersionId(v string) *CreatePolicyVersionOutput { - s.PolicyVersionId = &v - return s -} - type CreateRoleAliasInput struct { _ struct{} `type:"structure"` @@ -8901,24 +7977,6 @@ func (s *CreateRoleAliasInput) Validate() error { return nil } -// SetCredentialDurationSeconds sets the CredentialDurationSeconds field's value. -func (s *CreateRoleAliasInput) SetCredentialDurationSeconds(v int64) *CreateRoleAliasInput { - s.CredentialDurationSeconds = &v - return s -} - -// SetRoleAlias sets the RoleAlias field's value. -func (s *CreateRoleAliasInput) SetRoleAlias(v string) *CreateRoleAliasInput { - s.RoleAlias = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *CreateRoleAliasInput) SetRoleArn(v string) *CreateRoleAliasInput { - s.RoleArn = &v - return s -} - type CreateRoleAliasOutput struct { _ struct{} `type:"structure"` @@ -8946,18 +8004,6 @@ func (s CreateRoleAliasOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRoleAlias sets the RoleAlias field's value. -func (s *CreateRoleAliasOutput) SetRoleAlias(v string) *CreateRoleAliasOutput { - s.RoleAlias = &v - return s -} - -// SetRoleAliasArn sets the RoleAliasArn field's value. -func (s *CreateRoleAliasOutput) SetRoleAliasArn(v string) *CreateRoleAliasOutput { - s.RoleAliasArn = &v - return s -} - type CreateStreamInput struct { _ struct{} `type:"structure"` @@ -9029,30 +8075,6 @@ func (s *CreateStreamInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateStreamInput) SetDescription(v string) *CreateStreamInput { - s.Description = &v - return s -} - -// SetFiles sets the Files field's value. -func (s *CreateStreamInput) SetFiles(v []StreamFile) *CreateStreamInput { - s.Files = v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *CreateStreamInput) SetRoleArn(v string) *CreateStreamInput { - s.RoleArn = &v - return s -} - -// SetStreamId sets the StreamId field's value. -func (s *CreateStreamInput) SetStreamId(v string) *CreateStreamInput { - s.StreamId = &v - return s -} - type CreateStreamOutput struct { _ struct{} `type:"structure"` @@ -9086,30 +8108,6 @@ func (s CreateStreamOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDescription sets the Description field's value. -func (s *CreateStreamOutput) SetDescription(v string) *CreateStreamOutput { - s.Description = &v - return s -} - -// SetStreamArn sets the StreamArn field's value. -func (s *CreateStreamOutput) SetStreamArn(v string) *CreateStreamOutput { - s.StreamArn = &v - return s -} - -// SetStreamId sets the StreamId field's value. -func (s *CreateStreamOutput) SetStreamId(v string) *CreateStreamOutput { - s.StreamId = &v - return s -} - -// SetStreamVersion sets the StreamVersion field's value. -func (s *CreateStreamOutput) SetStreamVersion(v int64) *CreateStreamOutput { - s.StreamVersion = &v - return s -} - type CreateThingGroupInput struct { _ struct{} `type:"structure"` @@ -9155,24 +8153,6 @@ func (s *CreateThingGroupInput) Validate() error { return nil } -// SetParentGroupName sets the ParentGroupName field's value. -func (s *CreateThingGroupInput) SetParentGroupName(v string) *CreateThingGroupInput { - s.ParentGroupName = &v - return s -} - -// SetThingGroupName sets the ThingGroupName field's value. -func (s *CreateThingGroupInput) SetThingGroupName(v string) *CreateThingGroupInput { - s.ThingGroupName = &v - return s -} - -// SetThingGroupProperties sets the ThingGroupProperties field's value. -func (s *CreateThingGroupInput) SetThingGroupProperties(v *ThingGroupProperties) *CreateThingGroupInput { - s.ThingGroupProperties = v - return s -} - type CreateThingGroupOutput struct { _ struct{} `type:"structure"` @@ -9203,24 +8183,6 @@ func (s CreateThingGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetThingGroupArn sets the ThingGroupArn field's value. -func (s *CreateThingGroupOutput) SetThingGroupArn(v string) *CreateThingGroupOutput { - s.ThingGroupArn = &v - return s -} - -// SetThingGroupId sets the ThingGroupId field's value. -func (s *CreateThingGroupOutput) SetThingGroupId(v string) *CreateThingGroupOutput { - s.ThingGroupId = &v - return s -} - -// SetThingGroupName sets the ThingGroupName field's value. -func (s *CreateThingGroupOutput) SetThingGroupName(v string) *CreateThingGroupOutput { - s.ThingGroupName = &v - return s -} - // The input for the CreateThing operation. type CreateThingInput struct { _ struct{} `type:"structure"` @@ -9270,24 +8232,6 @@ func (s *CreateThingInput) Validate() error { return nil } -// SetAttributePayload sets the AttributePayload field's value. -func (s *CreateThingInput) SetAttributePayload(v *AttributePayload) *CreateThingInput { - s.AttributePayload = v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *CreateThingInput) SetThingName(v string) *CreateThingInput { - s.ThingName = &v - return s -} - -// SetThingTypeName sets the ThingTypeName field's value. -func (s *CreateThingInput) SetThingTypeName(v string) *CreateThingInput { - s.ThingTypeName = &v - return s -} - // The output of the CreateThing operation. type CreateThingOutput struct { _ struct{} `type:"structure"` @@ -9319,24 +8263,6 @@ func (s CreateThingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetThingArn sets the ThingArn field's value. -func (s *CreateThingOutput) SetThingArn(v string) *CreateThingOutput { - s.ThingArn = &v - return s -} - -// SetThingId sets the ThingId field's value. -func (s *CreateThingOutput) SetThingId(v string) *CreateThingOutput { - s.ThingId = &v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *CreateThingOutput) SetThingName(v string) *CreateThingOutput { - s.ThingName = &v - return s -} - // The input for the CreateThingType operation. type CreateThingTypeInput struct { _ struct{} `type:"structure"` @@ -9379,18 +8305,6 @@ func (s *CreateThingTypeInput) Validate() error { return nil } -// SetThingTypeName sets the ThingTypeName field's value. -func (s *CreateThingTypeInput) SetThingTypeName(v string) *CreateThingTypeInput { - s.ThingTypeName = &v - return s -} - -// SetThingTypeProperties sets the ThingTypeProperties field's value. -func (s *CreateThingTypeInput) SetThingTypeProperties(v *ThingTypeProperties) *CreateThingTypeInput { - s.ThingTypeProperties = v - return s -} - // The output of the CreateThingType operation. type CreateThingTypeOutput struct { _ struct{} `type:"structure"` @@ -9422,24 +8336,6 @@ func (s CreateThingTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetThingTypeArn sets the ThingTypeArn field's value. -func (s *CreateThingTypeOutput) SetThingTypeArn(v string) *CreateThingTypeOutput { - s.ThingTypeArn = &v - return s -} - -// SetThingTypeId sets the ThingTypeId field's value. -func (s *CreateThingTypeOutput) SetThingTypeId(v string) *CreateThingTypeOutput { - s.ThingTypeId = &v - return s -} - -// SetThingTypeName sets the ThingTypeName field's value. -func (s *CreateThingTypeOutput) SetThingTypeName(v string) *CreateThingTypeOutput { - s.ThingTypeName = &v - return s -} - // The input for the CreateTopicRule operation. type CreateTopicRuleInput struct { _ struct{} `type:"structure" payload:"TopicRulePayload"` @@ -9491,18 +8387,6 @@ func (s *CreateTopicRuleInput) Validate() error { return nil } -// SetRuleName sets the RuleName field's value. -func (s *CreateTopicRuleInput) SetRuleName(v string) *CreateTopicRuleInput { - s.RuleName = &v - return s -} - -// SetTopicRulePayload sets the TopicRulePayload field's value. -func (s *CreateTopicRuleInput) SetTopicRulePayload(v *TopicRulePayload) *CreateTopicRuleInput { - s.TopicRulePayload = v - return s -} - type CreateTopicRuleOutput struct { _ struct{} `type:"structure"` @@ -9571,30 +8455,6 @@ func (s *CustomCodeSigning) Validate() error { return nil } -// SetCertificateChain sets the CertificateChain field's value. -func (s *CustomCodeSigning) SetCertificateChain(v *CodeSigningCertificateChain) *CustomCodeSigning { - s.CertificateChain = v - return s -} - -// SetHashAlgorithm sets the HashAlgorithm field's value. -func (s *CustomCodeSigning) SetHashAlgorithm(v string) *CustomCodeSigning { - s.HashAlgorithm = &v - return s -} - -// SetSignature sets the Signature field's value. -func (s *CustomCodeSigning) SetSignature(v *CodeSigningSignature) *CustomCodeSigning { - s.Signature = v - return s -} - -// SetSignatureAlgorithm sets the SignatureAlgorithm field's value. -func (s *CustomCodeSigning) SetSignatureAlgorithm(v string) *CustomCodeSigning { - s.SignatureAlgorithm = &v - return s -} - type DeleteAuthorizerInput struct { _ struct{} `type:"structure"` @@ -9631,12 +8491,6 @@ func (s *DeleteAuthorizerInput) Validate() error { return nil } -// SetAuthorizerName sets the AuthorizerName field's value. -func (s *DeleteAuthorizerInput) SetAuthorizerName(v string) *DeleteAuthorizerInput { - s.AuthorizerName = &v - return s -} - type DeleteAuthorizerOutput struct { _ struct{} `type:"structure"` @@ -9695,12 +8549,6 @@ func (s *DeleteCACertificateInput) Validate() error { return nil } -// SetCertificateId sets the CertificateId field's value. -func (s *DeleteCACertificateInput) SetCertificateId(v string) *DeleteCACertificateInput { - s.CertificateId = &v - return s -} - // The output for the DeleteCACertificate operation. type DeleteCACertificateOutput struct { _ struct{} `type:"structure"` @@ -9763,18 +8611,6 @@ func (s *DeleteCertificateInput) Validate() error { return nil } -// SetCertificateId sets the CertificateId field's value. -func (s *DeleteCertificateInput) SetCertificateId(v string) *DeleteCertificateInput { - s.CertificateId = &v - return s -} - -// SetForceDelete sets the ForceDelete field's value. -func (s *DeleteCertificateInput) SetForceDelete(v bool) *DeleteCertificateInput { - s.ForceDelete = &v - return s -} - type DeleteCertificateOutput struct { _ struct{} `type:"structure"` @@ -9832,12 +8668,6 @@ func (s *DeleteOTAUpdateInput) Validate() error { return nil } -// SetOtaUpdateId sets the OtaUpdateId field's value. -func (s *DeleteOTAUpdateInput) SetOtaUpdateId(v string) *DeleteOTAUpdateInput { - s.OtaUpdateId = &v - return s -} - type DeleteOTAUpdateOutput struct { _ struct{} `type:"structure"` @@ -9896,12 +8726,6 @@ func (s *DeletePolicyInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *DeletePolicyInput) SetPolicyName(v string) *DeletePolicyInput { - s.PolicyName = &v - return s -} - type DeletePolicyOutput struct { _ struct{} `type:"structure"` @@ -9969,18 +8793,6 @@ func (s *DeletePolicyVersionInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *DeletePolicyVersionInput) SetPolicyName(v string) *DeletePolicyVersionInput { - s.PolicyName = &v - return s -} - -// SetPolicyVersionId sets the PolicyVersionId field's value. -func (s *DeletePolicyVersionInput) SetPolicyVersionId(v string) *DeletePolicyVersionInput { - s.PolicyVersionId = &v - return s -} - type DeletePolicyVersionOutput struct { _ struct{} `type:"structure"` @@ -10075,12 +8887,6 @@ func (s *DeleteRoleAliasInput) Validate() error { return nil } -// SetRoleAlias sets the RoleAlias field's value. -func (s *DeleteRoleAliasInput) SetRoleAlias(v string) *DeleteRoleAliasInput { - s.RoleAlias = &v - return s -} - type DeleteRoleAliasOutput struct { _ struct{} `type:"structure"` @@ -10138,12 +8944,6 @@ func (s *DeleteStreamInput) Validate() error { return nil } -// SetStreamId sets the StreamId field's value. -func (s *DeleteStreamInput) SetStreamId(v string) *DeleteStreamInput { - s.StreamId = &v - return s -} - type DeleteStreamOutput struct { _ struct{} `type:"structure"` @@ -10204,18 +9004,6 @@ func (s *DeleteThingGroupInput) Validate() error { return nil } -// SetExpectedVersion sets the ExpectedVersion field's value. -func (s *DeleteThingGroupInput) SetExpectedVersion(v int64) *DeleteThingGroupInput { - s.ExpectedVersion = &v - return s -} - -// SetThingGroupName sets the ThingGroupName field's value. -func (s *DeleteThingGroupInput) SetThingGroupName(v string) *DeleteThingGroupInput { - s.ThingGroupName = &v - return s -} - type DeleteThingGroupOutput struct { _ struct{} `type:"structure"` @@ -10279,18 +9067,6 @@ func (s *DeleteThingInput) Validate() error { return nil } -// SetExpectedVersion sets the ExpectedVersion field's value. -func (s *DeleteThingInput) SetExpectedVersion(v int64) *DeleteThingInput { - s.ExpectedVersion = &v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *DeleteThingInput) SetThingName(v string) *DeleteThingInput { - s.ThingName = &v - return s -} - // The output of the DeleteThing operation. type DeleteThingOutput struct { _ struct{} `type:"structure"` @@ -10350,12 +9126,6 @@ func (s *DeleteThingTypeInput) Validate() error { return nil } -// SetThingTypeName sets the ThingTypeName field's value. -func (s *DeleteThingTypeInput) SetThingTypeName(v string) *DeleteThingTypeInput { - s.ThingTypeName = &v - return s -} - // The output for the DeleteThingType operation. type DeleteThingTypeOutput struct { _ struct{} `type:"structure"` @@ -10415,12 +9185,6 @@ func (s *DeleteTopicRuleInput) Validate() error { return nil } -// SetRuleName sets the RuleName field's value. -func (s *DeleteTopicRuleInput) SetRuleName(v string) *DeleteTopicRuleInput { - s.RuleName = &v - return s -} - type DeleteTopicRuleOutput struct { _ struct{} `type:"structure"` @@ -10483,18 +9247,6 @@ func (s *DeleteV2LoggingLevelInput) Validate() error { return nil } -// SetTargetName sets the TargetName field's value. -func (s *DeleteV2LoggingLevelInput) SetTargetName(v string) *DeleteV2LoggingLevelInput { - s.TargetName = &v - return s -} - -// SetTargetType sets the TargetType field's value. -func (s *DeleteV2LoggingLevelInput) SetTargetType(v LogTargetType) *DeleteV2LoggingLevelInput { - s.TargetType = v - return s -} - type DeleteV2LoggingLevelOutput struct { _ struct{} `type:"structure"` @@ -10539,18 +9291,6 @@ func (s Denied) GoString() string { return s.String() } -// SetExplicitDeny sets the ExplicitDeny field's value. -func (s *Denied) SetExplicitDeny(v *ExplicitDeny) *Denied { - s.ExplicitDeny = v - return s -} - -// SetImplicitDeny sets the ImplicitDeny field's value. -func (s *Denied) SetImplicitDeny(v *ImplicitDeny) *Denied { - s.ImplicitDeny = v - return s -} - // The input for the DeprecateThingType operation. type DeprecateThingTypeInput struct { _ struct{} `type:"structure"` @@ -10592,18 +9332,6 @@ func (s *DeprecateThingTypeInput) Validate() error { return nil } -// SetThingTypeName sets the ThingTypeName field's value. -func (s *DeprecateThingTypeInput) SetThingTypeName(v string) *DeprecateThingTypeInput { - s.ThingTypeName = &v - return s -} - -// SetUndoDeprecate sets the UndoDeprecate field's value. -func (s *DeprecateThingTypeInput) SetUndoDeprecate(v bool) *DeprecateThingTypeInput { - s.UndoDeprecate = &v - return s -} - // The output for the DeprecateThingType operation. type DeprecateThingTypeOutput struct { _ struct{} `type:"structure"` @@ -10662,12 +9390,6 @@ func (s *DescribeAuthorizerInput) Validate() error { return nil } -// SetAuthorizerName sets the AuthorizerName field's value. -func (s *DescribeAuthorizerInput) SetAuthorizerName(v string) *DescribeAuthorizerInput { - s.AuthorizerName = &v - return s -} - type DescribeAuthorizerOutput struct { _ struct{} `type:"structure"` @@ -10692,12 +9414,6 @@ func (s DescribeAuthorizerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAuthorizerDescription sets the AuthorizerDescription field's value. -func (s *DescribeAuthorizerOutput) SetAuthorizerDescription(v *AuthorizerDescription) *DescribeAuthorizerOutput { - s.AuthorizerDescription = v - return s -} - // The input for the DescribeCACertificate operation. type DescribeCACertificateInput struct { _ struct{} `type:"structure"` @@ -10735,12 +9451,6 @@ func (s *DescribeCACertificateInput) Validate() error { return nil } -// SetCertificateId sets the CertificateId field's value. -func (s *DescribeCACertificateInput) SetCertificateId(v string) *DescribeCACertificateInput { - s.CertificateId = &v - return s -} - // The output from the DescribeCACertificate operation. type DescribeCACertificateOutput struct { _ struct{} `type:"structure"` @@ -10769,18 +9479,6 @@ func (s DescribeCACertificateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificateDescription sets the CertificateDescription field's value. -func (s *DescribeCACertificateOutput) SetCertificateDescription(v *CACertificateDescription) *DescribeCACertificateOutput { - s.CertificateDescription = v - return s -} - -// SetRegistrationConfig sets the RegistrationConfig field's value. -func (s *DescribeCACertificateOutput) SetRegistrationConfig(v *RegistrationConfig) *DescribeCACertificateOutput { - s.RegistrationConfig = v - return s -} - // The input for the DescribeCertificate operation. type DescribeCertificateInput struct { _ struct{} `type:"structure"` @@ -10818,12 +9516,6 @@ func (s *DescribeCertificateInput) Validate() error { return nil } -// SetCertificateId sets the CertificateId field's value. -func (s *DescribeCertificateInput) SetCertificateId(v string) *DescribeCertificateInput { - s.CertificateId = &v - return s -} - // The output of the DescribeCertificate operation. type DescribeCertificateOutput struct { _ struct{} `type:"structure"` @@ -10849,12 +9541,6 @@ func (s DescribeCertificateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificateDescription sets the CertificateDescription field's value. -func (s *DescribeCertificateOutput) SetCertificateDescription(v *CertificateDescription) *DescribeCertificateOutput { - s.CertificateDescription = v - return s -} - type DescribeDefaultAuthorizerInput struct { _ struct{} `type:"structure"` } @@ -10893,12 +9579,6 @@ func (s DescribeDefaultAuthorizerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAuthorizerDescription sets the AuthorizerDescription field's value. -func (s *DescribeDefaultAuthorizerOutput) SetAuthorizerDescription(v *AuthorizerDescription) *DescribeDefaultAuthorizerOutput { - s.AuthorizerDescription = v - return s -} - // The input for the DescribeEndpoint operation. type DescribeEndpointInput struct { _ struct{} `type:"structure"` @@ -10917,12 +9597,6 @@ func (s DescribeEndpointInput) GoString() string { return s.String() } -// SetEndpointType sets the EndpointType field's value. -func (s *DescribeEndpointInput) SetEndpointType(v string) *DescribeEndpointInput { - s.EndpointType = &v - return s -} - // The output from the DescribeEndpoint operation. type DescribeEndpointOutput struct { _ struct{} `type:"structure"` @@ -10948,12 +9622,6 @@ func (s DescribeEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEndpointAddress sets the EndpointAddress field's value. -func (s *DescribeEndpointOutput) SetEndpointAddress(v string) *DescribeEndpointOutput { - s.EndpointAddress = &v - return s -} - type DescribeEventConfigurationsInput struct { _ struct{} `type:"structure"` } @@ -10998,24 +9666,6 @@ func (s DescribeEventConfigurationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreationDate sets the CreationDate field's value. -func (s *DescribeEventConfigurationsOutput) SetCreationDate(v time.Time) *DescribeEventConfigurationsOutput { - s.CreationDate = &v - return s -} - -// SetEventConfigurations sets the EventConfigurations field's value. -func (s *DescribeEventConfigurationsOutput) SetEventConfigurations(v map[string]Configuration) *DescribeEventConfigurationsOutput { - s.EventConfigurations = v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *DescribeEventConfigurationsOutput) SetLastModifiedDate(v time.Time) *DescribeEventConfigurationsOutput { - s.LastModifiedDate = &v - return s -} - type DescribeIndexInput struct { _ struct{} `type:"structure"` @@ -11052,12 +9702,6 @@ func (s *DescribeIndexInput) Validate() error { return nil } -// SetIndexName sets the IndexName field's value. -func (s *DescribeIndexInput) SetIndexName(v string) *DescribeIndexInput { - s.IndexName = &v - return s -} - type DescribeIndexOutput struct { _ struct{} `type:"structure"` @@ -11093,24 +9737,6 @@ func (s DescribeIndexOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIndexName sets the IndexName field's value. -func (s *DescribeIndexOutput) SetIndexName(v string) *DescribeIndexOutput { - s.IndexName = &v - return s -} - -// SetIndexStatus sets the IndexStatus field's value. -func (s *DescribeIndexOutput) SetIndexStatus(v IndexStatus) *DescribeIndexOutput { - s.IndexStatus = v - return s -} - -// SetSchema sets the Schema field's value. -func (s *DescribeIndexOutput) SetSchema(v string) *DescribeIndexOutput { - s.Schema = &v - return s -} - type DescribeJobExecutionInput struct { _ struct{} `type:"structure"` @@ -11163,24 +9789,6 @@ func (s *DescribeJobExecutionInput) Validate() error { return nil } -// SetExecutionNumber sets the ExecutionNumber field's value. -func (s *DescribeJobExecutionInput) SetExecutionNumber(v int64) *DescribeJobExecutionInput { - s.ExecutionNumber = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *DescribeJobExecutionInput) SetJobId(v string) *DescribeJobExecutionInput { - s.JobId = &v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *DescribeJobExecutionInput) SetThingName(v string) *DescribeJobExecutionInput { - s.ThingName = &v - return s -} - type DescribeJobExecutionOutput struct { _ struct{} `type:"structure"` @@ -11205,12 +9813,6 @@ func (s DescribeJobExecutionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExecution sets the Execution field's value. -func (s *DescribeJobExecutionOutput) SetExecution(v *JobExecution) *DescribeJobExecutionOutput { - s.Execution = v - return s -} - type DescribeJobInput struct { _ struct{} `type:"structure"` @@ -11247,12 +9849,6 @@ func (s *DescribeJobInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *DescribeJobInput) SetJobId(v string) *DescribeJobInput { - s.JobId = &v - return s -} - type DescribeJobOutput struct { _ struct{} `type:"structure"` @@ -11280,18 +9876,6 @@ func (s DescribeJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDocumentSource sets the DocumentSource field's value. -func (s *DescribeJobOutput) SetDocumentSource(v string) *DescribeJobOutput { - s.DocumentSource = &v - return s -} - -// SetJob sets the Job field's value. -func (s *DescribeJobOutput) SetJob(v *Job) *DescribeJobOutput { - s.Job = v - return s -} - type DescribeRoleAliasInput struct { _ struct{} `type:"structure"` @@ -11328,12 +9912,6 @@ func (s *DescribeRoleAliasInput) Validate() error { return nil } -// SetRoleAlias sets the RoleAlias field's value. -func (s *DescribeRoleAliasInput) SetRoleAlias(v string) *DescribeRoleAliasInput { - s.RoleAlias = &v - return s -} - type DescribeRoleAliasOutput struct { _ struct{} `type:"structure"` @@ -11358,12 +9936,6 @@ func (s DescribeRoleAliasOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRoleAliasDescription sets the RoleAliasDescription field's value. -func (s *DescribeRoleAliasOutput) SetRoleAliasDescription(v *RoleAliasDescription) *DescribeRoleAliasOutput { - s.RoleAliasDescription = v - return s -} - type DescribeStreamInput struct { _ struct{} `type:"structure"` @@ -11400,12 +9972,6 @@ func (s *DescribeStreamInput) Validate() error { return nil } -// SetStreamId sets the StreamId field's value. -func (s *DescribeStreamInput) SetStreamId(v string) *DescribeStreamInput { - s.StreamId = &v - return s -} - type DescribeStreamOutput struct { _ struct{} `type:"structure"` @@ -11430,12 +9996,6 @@ func (s DescribeStreamOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStreamInfo sets the StreamInfo field's value. -func (s *DescribeStreamOutput) SetStreamInfo(v *StreamInfo) *DescribeStreamOutput { - s.StreamInfo = v - return s -} - type DescribeThingGroupInput struct { _ struct{} `type:"structure"` @@ -11472,12 +10032,6 @@ func (s *DescribeThingGroupInput) Validate() error { return nil } -// SetThingGroupName sets the ThingGroupName field's value. -func (s *DescribeThingGroupInput) SetThingGroupName(v string) *DescribeThingGroupInput { - s.ThingGroupName = &v - return s -} - type DescribeThingGroupOutput struct { _ struct{} `type:"structure"` @@ -11517,42 +10071,6 @@ func (s DescribeThingGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetThingGroupArn sets the ThingGroupArn field's value. -func (s *DescribeThingGroupOutput) SetThingGroupArn(v string) *DescribeThingGroupOutput { - s.ThingGroupArn = &v - return s -} - -// SetThingGroupId sets the ThingGroupId field's value. -func (s *DescribeThingGroupOutput) SetThingGroupId(v string) *DescribeThingGroupOutput { - s.ThingGroupId = &v - return s -} - -// SetThingGroupMetadata sets the ThingGroupMetadata field's value. -func (s *DescribeThingGroupOutput) SetThingGroupMetadata(v *ThingGroupMetadata) *DescribeThingGroupOutput { - s.ThingGroupMetadata = v - return s -} - -// SetThingGroupName sets the ThingGroupName field's value. -func (s *DescribeThingGroupOutput) SetThingGroupName(v string) *DescribeThingGroupOutput { - s.ThingGroupName = &v - return s -} - -// SetThingGroupProperties sets the ThingGroupProperties field's value. -func (s *DescribeThingGroupOutput) SetThingGroupProperties(v *ThingGroupProperties) *DescribeThingGroupOutput { - s.ThingGroupProperties = v - return s -} - -// SetVersion sets the Version field's value. -func (s *DescribeThingGroupOutput) SetVersion(v int64) *DescribeThingGroupOutput { - s.Version = &v - return s -} - // The input for the DescribeThing operation. type DescribeThingInput struct { _ struct{} `type:"structure"` @@ -11590,12 +10108,6 @@ func (s *DescribeThingInput) Validate() error { return nil } -// SetThingName sets the ThingName field's value. -func (s *DescribeThingInput) SetThingName(v string) *DescribeThingInput { - s.ThingName = &v - return s -} - // The output from the DescribeThing operation. type DescribeThingOutput struct { _ struct{} `type:"structure"` @@ -11643,55 +10155,13 @@ func (s DescribeThingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *DescribeThingOutput) SetAttributes(v map[string]string) *DescribeThingOutput { - s.Attributes = v - return s -} +type DescribeThingRegistrationTaskInput struct { + _ struct{} `type:"structure"` -// SetDefaultClientId sets the DefaultClientId field's value. -func (s *DescribeThingOutput) SetDefaultClientId(v string) *DescribeThingOutput { - s.DefaultClientId = &v - return s -} - -// SetThingArn sets the ThingArn field's value. -func (s *DescribeThingOutput) SetThingArn(v string) *DescribeThingOutput { - s.ThingArn = &v - return s -} - -// SetThingId sets the ThingId field's value. -func (s *DescribeThingOutput) SetThingId(v string) *DescribeThingOutput { - s.ThingId = &v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *DescribeThingOutput) SetThingName(v string) *DescribeThingOutput { - s.ThingName = &v - return s -} - -// SetThingTypeName sets the ThingTypeName field's value. -func (s *DescribeThingOutput) SetThingTypeName(v string) *DescribeThingOutput { - s.ThingTypeName = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *DescribeThingOutput) SetVersion(v int64) *DescribeThingOutput { - s.Version = &v - return s -} - -type DescribeThingRegistrationTaskInput struct { - _ struct{} `type:"structure"` - - // The task ID. - // - // TaskId is a required field - TaskId *string `location:"uri" locationName:"taskId" type:"string" required:"true"` + // The task ID. + // + // TaskId is a required field + TaskId *string `location:"uri" locationName:"taskId" type:"string" required:"true"` } // String returns the string representation @@ -11718,12 +10188,6 @@ func (s *DescribeThingRegistrationTaskInput) Validate() error { return nil } -// SetTaskId sets the TaskId field's value. -func (s *DescribeThingRegistrationTaskInput) SetTaskId(v string) *DescribeThingRegistrationTaskInput { - s.TaskId = &v - return s -} - type DescribeThingRegistrationTaskOutput struct { _ struct{} `type:"structure"` @@ -11781,78 +10245,6 @@ func (s DescribeThingRegistrationTaskOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetCreationDate sets the CreationDate field's value. -func (s *DescribeThingRegistrationTaskOutput) SetCreationDate(v time.Time) *DescribeThingRegistrationTaskOutput { - s.CreationDate = &v - return s -} - -// SetFailureCount sets the FailureCount field's value. -func (s *DescribeThingRegistrationTaskOutput) SetFailureCount(v int64) *DescribeThingRegistrationTaskOutput { - s.FailureCount = &v - return s -} - -// SetInputFileBucket sets the InputFileBucket field's value. -func (s *DescribeThingRegistrationTaskOutput) SetInputFileBucket(v string) *DescribeThingRegistrationTaskOutput { - s.InputFileBucket = &v - return s -} - -// SetInputFileKey sets the InputFileKey field's value. -func (s *DescribeThingRegistrationTaskOutput) SetInputFileKey(v string) *DescribeThingRegistrationTaskOutput { - s.InputFileKey = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *DescribeThingRegistrationTaskOutput) SetLastModifiedDate(v time.Time) *DescribeThingRegistrationTaskOutput { - s.LastModifiedDate = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *DescribeThingRegistrationTaskOutput) SetMessage(v string) *DescribeThingRegistrationTaskOutput { - s.Message = &v - return s -} - -// SetPercentageProgress sets the PercentageProgress field's value. -func (s *DescribeThingRegistrationTaskOutput) SetPercentageProgress(v int64) *DescribeThingRegistrationTaskOutput { - s.PercentageProgress = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *DescribeThingRegistrationTaskOutput) SetRoleArn(v string) *DescribeThingRegistrationTaskOutput { - s.RoleArn = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DescribeThingRegistrationTaskOutput) SetStatus(v Status) *DescribeThingRegistrationTaskOutput { - s.Status = v - return s -} - -// SetSuccessCount sets the SuccessCount field's value. -func (s *DescribeThingRegistrationTaskOutput) SetSuccessCount(v int64) *DescribeThingRegistrationTaskOutput { - s.SuccessCount = &v - return s -} - -// SetTaskId sets the TaskId field's value. -func (s *DescribeThingRegistrationTaskOutput) SetTaskId(v string) *DescribeThingRegistrationTaskOutput { - s.TaskId = &v - return s -} - -// SetTemplateBody sets the TemplateBody field's value. -func (s *DescribeThingRegistrationTaskOutput) SetTemplateBody(v string) *DescribeThingRegistrationTaskOutput { - s.TemplateBody = &v - return s -} - // The input for the DescribeThingType operation. type DescribeThingTypeInput struct { _ struct{} `type:"structure"` @@ -11890,12 +10282,6 @@ func (s *DescribeThingTypeInput) Validate() error { return nil } -// SetThingTypeName sets the ThingTypeName field's value. -func (s *DescribeThingTypeInput) SetThingTypeName(v string) *DescribeThingTypeInput { - s.ThingTypeName = &v - return s -} - // The output for the DescribeThingType operation. type DescribeThingTypeOutput struct { _ struct{} `type:"structure"` @@ -11936,36 +10322,6 @@ func (s DescribeThingTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetThingTypeArn sets the ThingTypeArn field's value. -func (s *DescribeThingTypeOutput) SetThingTypeArn(v string) *DescribeThingTypeOutput { - s.ThingTypeArn = &v - return s -} - -// SetThingTypeId sets the ThingTypeId field's value. -func (s *DescribeThingTypeOutput) SetThingTypeId(v string) *DescribeThingTypeOutput { - s.ThingTypeId = &v - return s -} - -// SetThingTypeMetadata sets the ThingTypeMetadata field's value. -func (s *DescribeThingTypeOutput) SetThingTypeMetadata(v *ThingTypeMetadata) *DescribeThingTypeOutput { - s.ThingTypeMetadata = v - return s -} - -// SetThingTypeName sets the ThingTypeName field's value. -func (s *DescribeThingTypeOutput) SetThingTypeName(v string) *DescribeThingTypeOutput { - s.ThingTypeName = &v - return s -} - -// SetThingTypeProperties sets the ThingTypeProperties field's value. -func (s *DescribeThingTypeOutput) SetThingTypeProperties(v *ThingTypeProperties) *DescribeThingTypeOutput { - s.ThingTypeProperties = v - return s -} - type DetachPolicyInput struct { _ struct{} `type:"structure"` @@ -12011,18 +10367,6 @@ func (s *DetachPolicyInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *DetachPolicyInput) SetPolicyName(v string) *DetachPolicyInput { - s.PolicyName = &v - return s -} - -// SetTarget sets the Target field's value. -func (s *DetachPolicyInput) SetTarget(v string) *DetachPolicyInput { - s.Target = &v - return s -} - type DetachPolicyOutput struct { _ struct{} `type:"structure"` @@ -12093,18 +10437,6 @@ func (s *DetachPrincipalPolicyInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *DetachPrincipalPolicyInput) SetPolicyName(v string) *DetachPrincipalPolicyInput { - s.PolicyName = &v - return s -} - -// SetPrincipal sets the Principal field's value. -func (s *DetachPrincipalPolicyInput) SetPrincipal(v string) *DetachPrincipalPolicyInput { - s.Principal = &v - return s -} - type DetachPrincipalPolicyOutput struct { _ struct{} `type:"structure"` @@ -12174,18 +10506,6 @@ func (s *DetachThingPrincipalInput) Validate() error { return nil } -// SetPrincipal sets the Principal field's value. -func (s *DetachThingPrincipalInput) SetPrincipal(v string) *DetachThingPrincipalInput { - s.Principal = &v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *DetachThingPrincipalInput) SetThingName(v string) *DetachThingPrincipalInput { - s.ThingName = &v - return s -} - // The output from the DetachThingPrincipal operation. type DetachThingPrincipalOutput struct { _ struct{} `type:"structure"` @@ -12245,12 +10565,6 @@ func (s *DisableTopicRuleInput) Validate() error { return nil } -// SetRuleName sets the RuleName field's value. -func (s *DisableTopicRuleInput) SetRuleName(v string) *DisableTopicRuleInput { - s.RuleName = &v - return s -} - type DisableTopicRuleOutput struct { _ struct{} `type:"structure"` @@ -12369,66 +10683,6 @@ func (s *DynamoDBAction) Validate() error { return nil } -// SetHashKeyField sets the HashKeyField field's value. -func (s *DynamoDBAction) SetHashKeyField(v string) *DynamoDBAction { - s.HashKeyField = &v - return s -} - -// SetHashKeyType sets the HashKeyType field's value. -func (s *DynamoDBAction) SetHashKeyType(v DynamoKeyType) *DynamoDBAction { - s.HashKeyType = v - return s -} - -// SetHashKeyValue sets the HashKeyValue field's value. -func (s *DynamoDBAction) SetHashKeyValue(v string) *DynamoDBAction { - s.HashKeyValue = &v - return s -} - -// SetOperation sets the Operation field's value. -func (s *DynamoDBAction) SetOperation(v string) *DynamoDBAction { - s.Operation = &v - return s -} - -// SetPayloadField sets the PayloadField field's value. -func (s *DynamoDBAction) SetPayloadField(v string) *DynamoDBAction { - s.PayloadField = &v - return s -} - -// SetRangeKeyField sets the RangeKeyField field's value. -func (s *DynamoDBAction) SetRangeKeyField(v string) *DynamoDBAction { - s.RangeKeyField = &v - return s -} - -// SetRangeKeyType sets the RangeKeyType field's value. -func (s *DynamoDBAction) SetRangeKeyType(v DynamoKeyType) *DynamoDBAction { - s.RangeKeyType = v - return s -} - -// SetRangeKeyValue sets the RangeKeyValue field's value. -func (s *DynamoDBAction) SetRangeKeyValue(v string) *DynamoDBAction { - s.RangeKeyValue = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *DynamoDBAction) SetRoleArn(v string) *DynamoDBAction { - s.RoleArn = &v - return s -} - -// SetTableName sets the TableName field's value. -func (s *DynamoDBAction) SetTableName(v string) *DynamoDBAction { - s.TableName = &v - return s -} - // Describes an action to write to a DynamoDB table. // // This DynamoDB action writes each attribute in the message payload into it's @@ -12475,18 +10729,6 @@ func (s *DynamoDBv2Action) Validate() error { return nil } -// SetPutItem sets the PutItem field's value. -func (s *DynamoDBv2Action) SetPutItem(v *PutItemInput) *DynamoDBv2Action { - s.PutItem = v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *DynamoDBv2Action) SetRoleArn(v string) *DynamoDBv2Action { - s.RoleArn = &v - return s -} - // The policy that has the effect on the authorization results. type EffectivePolicy struct { _ struct{} `type:"structure"` @@ -12511,24 +10753,6 @@ func (s EffectivePolicy) GoString() string { return s.String() } -// SetPolicyArn sets the PolicyArn field's value. -func (s *EffectivePolicy) SetPolicyArn(v string) *EffectivePolicy { - s.PolicyArn = &v - return s -} - -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *EffectivePolicy) SetPolicyDocument(v string) *EffectivePolicy { - s.PolicyDocument = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *EffectivePolicy) SetPolicyName(v string) *EffectivePolicy { - s.PolicyName = &v - return s -} - // Describes an action that writes data to an Amazon Elasticsearch Service domain. type ElasticsearchAction struct { _ struct{} `type:"structure"` @@ -12599,36 +10823,6 @@ func (s *ElasticsearchAction) Validate() error { return nil } -// SetEndpoint sets the Endpoint field's value. -func (s *ElasticsearchAction) SetEndpoint(v string) *ElasticsearchAction { - s.Endpoint = &v - return s -} - -// SetId sets the Id field's value. -func (s *ElasticsearchAction) SetId(v string) *ElasticsearchAction { - s.Id = &v - return s -} - -// SetIndex sets the Index field's value. -func (s *ElasticsearchAction) SetIndex(v string) *ElasticsearchAction { - s.Index = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *ElasticsearchAction) SetRoleArn(v string) *ElasticsearchAction { - s.RoleArn = &v - return s -} - -// SetType sets the Type field's value. -func (s *ElasticsearchAction) SetType(v string) *ElasticsearchAction { - s.Type = &v - return s -} - // The input for the EnableTopicRuleRequest operation. type EnableTopicRuleInput struct { _ struct{} `type:"structure"` @@ -12666,12 +10860,6 @@ func (s *EnableTopicRuleInput) Validate() error { return nil } -// SetRuleName sets the RuleName field's value. -func (s *EnableTopicRuleInput) SetRuleName(v string) *EnableTopicRuleInput { - s.RuleName = &v - return s -} - type EnableTopicRuleOutput struct { _ struct{} `type:"structure"` @@ -12714,18 +10902,6 @@ func (s ErrorInfo) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *ErrorInfo) SetCode(v string) *ErrorInfo { - s.Code = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *ErrorInfo) SetMessage(v string) *ErrorInfo { - s.Message = &v - return s -} - // Information that explicitly denies authorization. type ExplicitDeny struct { _ struct{} `type:"structure"` @@ -12744,12 +10920,6 @@ func (s ExplicitDeny) GoString() string { return s.String() } -// SetPolicies sets the Policies field's value. -func (s *ExplicitDeny) SetPolicies(v []Policy) *ExplicitDeny { - s.Policies = v - return s -} - // Describes an action that writes data to an Amazon Kinesis Firehose stream. type FirehoseAction struct { _ struct{} `type:"structure"` @@ -12798,24 +10968,6 @@ func (s *FirehoseAction) Validate() error { return nil } -// SetDeliveryStreamName sets the DeliveryStreamName field's value. -func (s *FirehoseAction) SetDeliveryStreamName(v string) *FirehoseAction { - s.DeliveryStreamName = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *FirehoseAction) SetRoleArn(v string) *FirehoseAction { - s.RoleArn = &v - return s -} - -// SetSeparator sets the Separator field's value. -func (s *FirehoseAction) SetSeparator(v string) *FirehoseAction { - s.Separator = &v - return s -} - type GetEffectivePoliciesInput struct { _ struct{} `type:"structure"` @@ -12852,24 +11004,6 @@ func (s *GetEffectivePoliciesInput) Validate() error { return nil } -// SetCognitoIdentityPoolId sets the CognitoIdentityPoolId field's value. -func (s *GetEffectivePoliciesInput) SetCognitoIdentityPoolId(v string) *GetEffectivePoliciesInput { - s.CognitoIdentityPoolId = &v - return s -} - -// SetPrincipal sets the Principal field's value. -func (s *GetEffectivePoliciesInput) SetPrincipal(v string) *GetEffectivePoliciesInput { - s.Principal = &v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *GetEffectivePoliciesInput) SetThingName(v string) *GetEffectivePoliciesInput { - s.ThingName = &v - return s -} - type GetEffectivePoliciesOutput struct { _ struct{} `type:"structure"` @@ -12894,12 +11028,6 @@ func (s GetEffectivePoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEffectivePolicies sets the EffectivePolicies field's value. -func (s *GetEffectivePoliciesOutput) SetEffectivePolicies(v []EffectivePolicy) *GetEffectivePoliciesOutput { - s.EffectivePolicies = v - return s -} - type GetIndexingConfigurationInput struct { _ struct{} `type:"structure"` } @@ -12938,12 +11066,6 @@ func (s GetIndexingConfigurationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetThingIndexingConfiguration sets the ThingIndexingConfiguration field's value. -func (s *GetIndexingConfigurationOutput) SetThingIndexingConfiguration(v *ThingIndexingConfiguration) *GetIndexingConfigurationOutput { - s.ThingIndexingConfiguration = v - return s -} - type GetJobDocumentInput struct { _ struct{} `type:"structure"` @@ -12980,12 +11102,6 @@ func (s *GetJobDocumentInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *GetJobDocumentInput) SetJobId(v string) *GetJobDocumentInput { - s.JobId = &v - return s -} - type GetJobDocumentOutput struct { _ struct{} `type:"structure"` @@ -13010,12 +11126,6 @@ func (s GetJobDocumentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDocument sets the Document field's value. -func (s *GetJobDocumentOutput) SetDocument(v string) *GetJobDocumentOutput { - s.Document = &v - return s -} - // The input for the GetLoggingOptions operation. type GetLoggingOptionsInput struct { _ struct{} `type:"structure"` @@ -13059,18 +11169,6 @@ func (s GetLoggingOptionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLogLevel sets the LogLevel field's value. -func (s *GetLoggingOptionsOutput) SetLogLevel(v LogLevel) *GetLoggingOptionsOutput { - s.LogLevel = v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *GetLoggingOptionsOutput) SetRoleArn(v string) *GetLoggingOptionsOutput { - s.RoleArn = &v - return s -} - type GetOTAUpdateInput struct { _ struct{} `type:"structure"` @@ -13107,12 +11205,6 @@ func (s *GetOTAUpdateInput) Validate() error { return nil } -// SetOtaUpdateId sets the OtaUpdateId field's value. -func (s *GetOTAUpdateInput) SetOtaUpdateId(v string) *GetOTAUpdateInput { - s.OtaUpdateId = &v - return s -} - type GetOTAUpdateOutput struct { _ struct{} `type:"structure"` @@ -13137,12 +11229,6 @@ func (s GetOTAUpdateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOtaUpdateInfo sets the OtaUpdateInfo field's value. -func (s *GetOTAUpdateOutput) SetOtaUpdateInfo(v *OTAUpdateInfo) *GetOTAUpdateOutput { - s.OtaUpdateInfo = v - return s -} - // The input for the GetPolicy operation. type GetPolicyInput struct { _ struct{} `type:"structure"` @@ -13180,12 +11266,6 @@ func (s *GetPolicyInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *GetPolicyInput) SetPolicyName(v string) *GetPolicyInput { - s.PolicyName = &v - return s -} - // The output from the GetPolicy operation. type GetPolicyOutput struct { _ struct{} `type:"structure"` @@ -13220,30 +11300,6 @@ func (s GetPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDefaultVersionId sets the DefaultVersionId field's value. -func (s *GetPolicyOutput) SetDefaultVersionId(v string) *GetPolicyOutput { - s.DefaultVersionId = &v - return s -} - -// SetPolicyArn sets the PolicyArn field's value. -func (s *GetPolicyOutput) SetPolicyArn(v string) *GetPolicyOutput { - s.PolicyArn = &v - return s -} - -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *GetPolicyOutput) SetPolicyDocument(v string) *GetPolicyOutput { - s.PolicyDocument = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *GetPolicyOutput) SetPolicyName(v string) *GetPolicyOutput { - s.PolicyName = &v - return s -} - // The input for the GetPolicyVersion operation. type GetPolicyVersionInput struct { _ struct{} `type:"structure"` @@ -13290,18 +11346,6 @@ func (s *GetPolicyVersionInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *GetPolicyVersionInput) SetPolicyName(v string) *GetPolicyVersionInput { - s.PolicyName = &v - return s -} - -// SetPolicyVersionId sets the PolicyVersionId field's value. -func (s *GetPolicyVersionInput) SetPolicyVersionId(v string) *GetPolicyVersionInput { - s.PolicyVersionId = &v - return s -} - // The output from the GetPolicyVersion operation. type GetPolicyVersionOutput struct { _ struct{} `type:"structure"` @@ -13339,36 +11383,6 @@ func (s GetPolicyVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIsDefaultVersion sets the IsDefaultVersion field's value. -func (s *GetPolicyVersionOutput) SetIsDefaultVersion(v bool) *GetPolicyVersionOutput { - s.IsDefaultVersion = &v - return s -} - -// SetPolicyArn sets the PolicyArn field's value. -func (s *GetPolicyVersionOutput) SetPolicyArn(v string) *GetPolicyVersionOutput { - s.PolicyArn = &v - return s -} - -// SetPolicyDocument sets the PolicyDocument field's value. -func (s *GetPolicyVersionOutput) SetPolicyDocument(v string) *GetPolicyVersionOutput { - s.PolicyDocument = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *GetPolicyVersionOutput) SetPolicyName(v string) *GetPolicyVersionOutput { - s.PolicyName = &v - return s -} - -// SetPolicyVersionId sets the PolicyVersionId field's value. -func (s *GetPolicyVersionOutput) SetPolicyVersionId(v string) *GetPolicyVersionOutput { - s.PolicyVersionId = &v - return s -} - // The input to the GetRegistrationCode operation. type GetRegistrationCodeInput struct { _ struct{} `type:"structure"` @@ -13409,12 +11423,6 @@ func (s GetRegistrationCodeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRegistrationCode sets the RegistrationCode field's value. -func (s *GetRegistrationCodeOutput) SetRegistrationCode(v string) *GetRegistrationCodeOutput { - s.RegistrationCode = &v - return s -} - // The input for the GetTopicRule operation. type GetTopicRuleInput struct { _ struct{} `type:"structure"` @@ -13452,12 +11460,6 @@ func (s *GetTopicRuleInput) Validate() error { return nil } -// SetRuleName sets the RuleName field's value. -func (s *GetTopicRuleInput) SetRuleName(v string) *GetTopicRuleInput { - s.RuleName = &v - return s -} - // The output from the GetTopicRule operation. type GetTopicRuleOutput struct { _ struct{} `type:"structure"` @@ -13486,18 +11488,6 @@ func (s GetTopicRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRule sets the Rule field's value. -func (s *GetTopicRuleOutput) SetRule(v *TopicRule) *GetTopicRuleOutput { - s.Rule = v - return s -} - -// SetRuleArn sets the RuleArn field's value. -func (s *GetTopicRuleOutput) SetRuleArn(v string) *GetTopicRuleOutput { - s.RuleArn = &v - return s -} - type GetV2LoggingOptionsInput struct { _ struct{} `type:"structure"` } @@ -13542,24 +11532,6 @@ func (s GetV2LoggingOptionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDefaultLogLevel sets the DefaultLogLevel field's value. -func (s *GetV2LoggingOptionsOutput) SetDefaultLogLevel(v LogLevel) *GetV2LoggingOptionsOutput { - s.DefaultLogLevel = v - return s -} - -// SetDisableAllLogs sets the DisableAllLogs field's value. -func (s *GetV2LoggingOptionsOutput) SetDisableAllLogs(v bool) *GetV2LoggingOptionsOutput { - s.DisableAllLogs = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *GetV2LoggingOptionsOutput) SetRoleArn(v string) *GetV2LoggingOptionsOutput { - s.RoleArn = &v - return s -} - // The name and ARN of a group. type GroupNameAndArn struct { _ struct{} `type:"structure"` @@ -13581,18 +11553,6 @@ func (s GroupNameAndArn) GoString() string { return s.String() } -// SetGroupArn sets the GroupArn field's value. -func (s *GroupNameAndArn) SetGroupArn(v string) *GroupNameAndArn { - s.GroupArn = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *GroupNameAndArn) SetGroupName(v string) *GroupNameAndArn { - s.GroupName = &v - return s -} - // Information that implicitly denies authorization. When policy doesn't explicitly // deny or allow an action on a resource it is considered an implicit deny. type ImplicitDeny struct { @@ -13613,12 +11573,6 @@ func (s ImplicitDeny) GoString() string { return s.String() } -// SetPolicies sets the Policies field's value. -func (s *ImplicitDeny) SetPolicies(v []Policy) *ImplicitDeny { - s.Policies = v - return s -} - // The Job object contains details about a job. type Job struct { _ struct{} `type:"structure"` @@ -13681,90 +11635,6 @@ func (s Job) GoString() string { return s.String() } -// SetComment sets the Comment field's value. -func (s *Job) SetComment(v string) *Job { - s.Comment = &v - return s -} - -// SetCompletedAt sets the CompletedAt field's value. -func (s *Job) SetCompletedAt(v time.Time) *Job { - s.CompletedAt = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Job) SetCreatedAt(v time.Time) *Job { - s.CreatedAt = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Job) SetDescription(v string) *Job { - s.Description = &v - return s -} - -// SetDocumentParameters sets the DocumentParameters field's value. -func (s *Job) SetDocumentParameters(v map[string]string) *Job { - s.DocumentParameters = v - return s -} - -// SetJobArn sets the JobArn field's value. -func (s *Job) SetJobArn(v string) *Job { - s.JobArn = &v - return s -} - -// SetJobExecutionsRolloutConfig sets the JobExecutionsRolloutConfig field's value. -func (s *Job) SetJobExecutionsRolloutConfig(v *JobExecutionsRolloutConfig) *Job { - s.JobExecutionsRolloutConfig = v - return s -} - -// SetJobId sets the JobId field's value. -func (s *Job) SetJobId(v string) *Job { - s.JobId = &v - return s -} - -// SetJobProcessDetails sets the JobProcessDetails field's value. -func (s *Job) SetJobProcessDetails(v *JobProcessDetails) *Job { - s.JobProcessDetails = v - return s -} - -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *Job) SetLastUpdatedAt(v time.Time) *Job { - s.LastUpdatedAt = &v - return s -} - -// SetPresignedUrlConfig sets the PresignedUrlConfig field's value. -func (s *Job) SetPresignedUrlConfig(v *PresignedUrlConfig) *Job { - s.PresignedUrlConfig = v - return s -} - -// SetStatus sets the Status field's value. -func (s *Job) SetStatus(v JobStatus) *Job { - s.Status = v - return s -} - -// SetTargetSelection sets the TargetSelection field's value. -func (s *Job) SetTargetSelection(v TargetSelection) *Job { - s.TargetSelection = v - return s -} - -// SetTargets sets the Targets field's value. -func (s *Job) SetTargets(v []string) *Job { - s.Targets = v - return s -} - // The job execution object represents the execution of a job on a particular // device. type JobExecution struct { @@ -13809,54 +11679,6 @@ func (s JobExecution) GoString() string { return s.String() } -// SetExecutionNumber sets the ExecutionNumber field's value. -func (s *JobExecution) SetExecutionNumber(v int64) *JobExecution { - s.ExecutionNumber = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *JobExecution) SetJobId(v string) *JobExecution { - s.JobId = &v - return s -} - -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *JobExecution) SetLastUpdatedAt(v time.Time) *JobExecution { - s.LastUpdatedAt = &v - return s -} - -// SetQueuedAt sets the QueuedAt field's value. -func (s *JobExecution) SetQueuedAt(v time.Time) *JobExecution { - s.QueuedAt = &v - return s -} - -// SetStartedAt sets the StartedAt field's value. -func (s *JobExecution) SetStartedAt(v time.Time) *JobExecution { - s.StartedAt = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *JobExecution) SetStatus(v JobExecutionStatus) *JobExecution { - s.Status = v - return s -} - -// SetStatusDetails sets the StatusDetails field's value. -func (s *JobExecution) SetStatusDetails(v *JobExecutionStatusDetails) *JobExecution { - s.StatusDetails = v - return s -} - -// SetThingArn sets the ThingArn field's value. -func (s *JobExecution) SetThingArn(v string) *JobExecution { - s.ThingArn = &v - return s -} - // Details of the job execution status. type JobExecutionStatusDetails struct { _ struct{} `type:"structure"` @@ -13875,12 +11697,6 @@ func (s JobExecutionStatusDetails) GoString() string { return s.String() } -// SetDetailsMap sets the DetailsMap field's value. -func (s *JobExecutionStatusDetails) SetDetailsMap(v map[string]string) *JobExecutionStatusDetails { - s.DetailsMap = v - return s -} - // The job execution summary. type JobExecutionSummary struct { _ struct{} `type:"structure"` @@ -13914,36 +11730,6 @@ func (s JobExecutionSummary) GoString() string { return s.String() } -// SetExecutionNumber sets the ExecutionNumber field's value. -func (s *JobExecutionSummary) SetExecutionNumber(v int64) *JobExecutionSummary { - s.ExecutionNumber = &v - return s -} - -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *JobExecutionSummary) SetLastUpdatedAt(v time.Time) *JobExecutionSummary { - s.LastUpdatedAt = &v - return s -} - -// SetQueuedAt sets the QueuedAt field's value. -func (s *JobExecutionSummary) SetQueuedAt(v time.Time) *JobExecutionSummary { - s.QueuedAt = &v - return s -} - -// SetStartedAt sets the StartedAt field's value. -func (s *JobExecutionSummary) SetStartedAt(v time.Time) *JobExecutionSummary { - s.StartedAt = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *JobExecutionSummary) SetStatus(v JobExecutionStatus) *JobExecutionSummary { - s.Status = v - return s -} - // Contains a summary of information about job executions for a specific job. type JobExecutionSummaryForJob struct { _ struct{} `type:"structure"` @@ -13965,18 +11751,6 @@ func (s JobExecutionSummaryForJob) GoString() string { return s.String() } -// SetJobExecutionSummary sets the JobExecutionSummary field's value. -func (s *JobExecutionSummaryForJob) SetJobExecutionSummary(v *JobExecutionSummary) *JobExecutionSummaryForJob { - s.JobExecutionSummary = v - return s -} - -// SetThingArn sets the ThingArn field's value. -func (s *JobExecutionSummaryForJob) SetThingArn(v string) *JobExecutionSummaryForJob { - s.ThingArn = &v - return s -} - // The job execution summary for a thing. type JobExecutionSummaryForThing struct { _ struct{} `type:"structure"` @@ -13998,18 +11772,6 @@ func (s JobExecutionSummaryForThing) GoString() string { return s.String() } -// SetJobExecutionSummary sets the JobExecutionSummary field's value. -func (s *JobExecutionSummaryForThing) SetJobExecutionSummary(v *JobExecutionSummary) *JobExecutionSummaryForThing { - s.JobExecutionSummary = v - return s -} - -// SetJobId sets the JobId field's value. -func (s *JobExecutionSummaryForThing) SetJobId(v string) *JobExecutionSummaryForThing { - s.JobId = &v - return s -} - // Allows you to create a staged rollout of a job. type JobExecutionsRolloutConfig struct { _ struct{} `type:"structure"` @@ -14042,12 +11804,6 @@ func (s *JobExecutionsRolloutConfig) Validate() error { return nil } -// SetMaximumPerMinute sets the MaximumPerMinute field's value. -func (s *JobExecutionsRolloutConfig) SetMaximumPerMinute(v int64) *JobExecutionsRolloutConfig { - s.MaximumPerMinute = &v - return s -} - // The job process details. type JobProcessDetails struct { _ struct{} `type:"structure"` @@ -14089,54 +11845,6 @@ func (s JobProcessDetails) GoString() string { return s.String() } -// SetNumberOfCanceledThings sets the NumberOfCanceledThings field's value. -func (s *JobProcessDetails) SetNumberOfCanceledThings(v int64) *JobProcessDetails { - s.NumberOfCanceledThings = &v - return s -} - -// SetNumberOfFailedThings sets the NumberOfFailedThings field's value. -func (s *JobProcessDetails) SetNumberOfFailedThings(v int64) *JobProcessDetails { - s.NumberOfFailedThings = &v - return s -} - -// SetNumberOfInProgressThings sets the NumberOfInProgressThings field's value. -func (s *JobProcessDetails) SetNumberOfInProgressThings(v int64) *JobProcessDetails { - s.NumberOfInProgressThings = &v - return s -} - -// SetNumberOfQueuedThings sets the NumberOfQueuedThings field's value. -func (s *JobProcessDetails) SetNumberOfQueuedThings(v int64) *JobProcessDetails { - s.NumberOfQueuedThings = &v - return s -} - -// SetNumberOfRejectedThings sets the NumberOfRejectedThings field's value. -func (s *JobProcessDetails) SetNumberOfRejectedThings(v int64) *JobProcessDetails { - s.NumberOfRejectedThings = &v - return s -} - -// SetNumberOfRemovedThings sets the NumberOfRemovedThings field's value. -func (s *JobProcessDetails) SetNumberOfRemovedThings(v int64) *JobProcessDetails { - s.NumberOfRemovedThings = &v - return s -} - -// SetNumberOfSucceededThings sets the NumberOfSucceededThings field's value. -func (s *JobProcessDetails) SetNumberOfSucceededThings(v int64) *JobProcessDetails { - s.NumberOfSucceededThings = &v - return s -} - -// SetProcessingTargets sets the ProcessingTargets field's value. -func (s *JobProcessDetails) SetProcessingTargets(v []string) *JobProcessDetails { - s.ProcessingTargets = v - return s -} - // The job summary. type JobSummary struct { _ struct{} `type:"structure"` @@ -14181,54 +11889,6 @@ func (s JobSummary) GoString() string { return s.String() } -// SetCompletedAt sets the CompletedAt field's value. -func (s *JobSummary) SetCompletedAt(v time.Time) *JobSummary { - s.CompletedAt = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *JobSummary) SetCreatedAt(v time.Time) *JobSummary { - s.CreatedAt = &v - return s -} - -// SetJobArn sets the JobArn field's value. -func (s *JobSummary) SetJobArn(v string) *JobSummary { - s.JobArn = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *JobSummary) SetJobId(v string) *JobSummary { - s.JobId = &v - return s -} - -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *JobSummary) SetLastUpdatedAt(v time.Time) *JobSummary { - s.LastUpdatedAt = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *JobSummary) SetStatus(v JobStatus) *JobSummary { - s.Status = v - return s -} - -// SetTargetSelection sets the TargetSelection field's value. -func (s *JobSummary) SetTargetSelection(v TargetSelection) *JobSummary { - s.TargetSelection = v - return s -} - -// SetThingGroupId sets the ThingGroupId field's value. -func (s *JobSummary) SetThingGroupId(v string) *JobSummary { - s.ThingGroupId = &v - return s -} - // Describes a key pair. type KeyPair struct { _ struct{} `type:"structure"` @@ -14250,18 +11910,6 @@ func (s KeyPair) GoString() string { return s.String() } -// SetPrivateKey sets the PrivateKey field's value. -func (s *KeyPair) SetPrivateKey(v string) *KeyPair { - s.PrivateKey = &v - return s -} - -// SetPublicKey sets the PublicKey field's value. -func (s *KeyPair) SetPublicKey(v string) *KeyPair { - s.PublicKey = &v - return s -} - // Describes an action to write data to an Amazon Kinesis stream. type KinesisAction struct { _ struct{} `type:"structure"` @@ -14308,24 +11956,6 @@ func (s *KinesisAction) Validate() error { return nil } -// SetPartitionKey sets the PartitionKey field's value. -func (s *KinesisAction) SetPartitionKey(v string) *KinesisAction { - s.PartitionKey = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *KinesisAction) SetRoleArn(v string) *KinesisAction { - s.RoleArn = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *KinesisAction) SetStreamName(v string) *KinesisAction { - s.StreamName = &v - return s -} - // Describes an action to invoke a Lambda function. type LambdaAction struct { _ struct{} `type:"structure"` @@ -14360,12 +11990,6 @@ func (s *LambdaAction) Validate() error { return nil } -// SetFunctionArn sets the FunctionArn field's value. -func (s *LambdaAction) SetFunctionArn(v string) *LambdaAction { - s.FunctionArn = &v - return s -} - type ListAttachedPoliciesInput struct { _ struct{} `type:"structure"` @@ -14411,30 +12035,6 @@ func (s *ListAttachedPoliciesInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListAttachedPoliciesInput) SetMarker(v string) *ListAttachedPoliciesInput { - s.Marker = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *ListAttachedPoliciesInput) SetPageSize(v int64) *ListAttachedPoliciesInput { - s.PageSize = &v - return s -} - -// SetRecursive sets the Recursive field's value. -func (s *ListAttachedPoliciesInput) SetRecursive(v bool) *ListAttachedPoliciesInput { - s.Recursive = &v - return s -} - -// SetTarget sets the Target field's value. -func (s *ListAttachedPoliciesInput) SetTarget(v string) *ListAttachedPoliciesInput { - s.Target = &v - return s -} - type ListAttachedPoliciesOutput struct { _ struct{} `type:"structure"` @@ -14463,18 +12063,6 @@ func (s ListAttachedPoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListAttachedPoliciesOutput) SetNextMarker(v string) *ListAttachedPoliciesOutput { - s.NextMarker = &v - return s -} - -// SetPolicies sets the Policies field's value. -func (s *ListAttachedPoliciesOutput) SetPolicies(v []Policy) *ListAttachedPoliciesOutput { - s.Policies = v - return s -} - type ListAuthorizersInput struct { _ struct{} `type:"structure"` @@ -14514,30 +12102,6 @@ func (s *ListAuthorizersInput) Validate() error { return nil } -// SetAscendingOrder sets the AscendingOrder field's value. -func (s *ListAuthorizersInput) SetAscendingOrder(v bool) *ListAuthorizersInput { - s.AscendingOrder = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListAuthorizersInput) SetMarker(v string) *ListAuthorizersInput { - s.Marker = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *ListAuthorizersInput) SetPageSize(v int64) *ListAuthorizersInput { - s.PageSize = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ListAuthorizersInput) SetStatus(v AuthorizerStatus) *ListAuthorizersInput { - s.Status = v - return s -} - type ListAuthorizersOutput struct { _ struct{} `type:"structure"` @@ -14565,18 +12129,6 @@ func (s ListAuthorizersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAuthorizers sets the Authorizers field's value. -func (s *ListAuthorizersOutput) SetAuthorizers(v []AuthorizerSummary) *ListAuthorizersOutput { - s.Authorizers = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListAuthorizersOutput) SetNextMarker(v string) *ListAuthorizersOutput { - s.NextMarker = &v - return s -} - // Input for the ListCACertificates operation. type ListCACertificatesInput struct { _ struct{} `type:"structure"` @@ -14614,24 +12166,6 @@ func (s *ListCACertificatesInput) Validate() error { return nil } -// SetAscendingOrder sets the AscendingOrder field's value. -func (s *ListCACertificatesInput) SetAscendingOrder(v bool) *ListCACertificatesInput { - s.AscendingOrder = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListCACertificatesInput) SetMarker(v string) *ListCACertificatesInput { - s.Marker = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *ListCACertificatesInput) SetPageSize(v int64) *ListCACertificatesInput { - s.PageSize = &v - return s -} - // The output from the ListCACertificates operation. type ListCACertificatesOutput struct { _ struct{} `type:"structure"` @@ -14660,18 +12194,6 @@ func (s ListCACertificatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificates sets the Certificates field's value. -func (s *ListCACertificatesOutput) SetCertificates(v []CACertificate) *ListCACertificatesOutput { - s.Certificates = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListCACertificatesOutput) SetNextMarker(v string) *ListCACertificatesOutput { - s.NextMarker = &v - return s -} - // The input to the ListCertificatesByCA operation. type ListCertificatesByCAInput struct { _ struct{} `type:"structure"` @@ -14723,30 +12245,6 @@ func (s *ListCertificatesByCAInput) Validate() error { return nil } -// SetAscendingOrder sets the AscendingOrder field's value. -func (s *ListCertificatesByCAInput) SetAscendingOrder(v bool) *ListCertificatesByCAInput { - s.AscendingOrder = &v - return s -} - -// SetCaCertificateId sets the CaCertificateId field's value. -func (s *ListCertificatesByCAInput) SetCaCertificateId(v string) *ListCertificatesByCAInput { - s.CaCertificateId = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListCertificatesByCAInput) SetMarker(v string) *ListCertificatesByCAInput { - s.Marker = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *ListCertificatesByCAInput) SetPageSize(v int64) *ListCertificatesByCAInput { - s.PageSize = &v - return s -} - // The output of the ListCertificatesByCA operation. type ListCertificatesByCAOutput struct { _ struct{} `type:"structure"` @@ -14776,18 +12274,6 @@ func (s ListCertificatesByCAOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificates sets the Certificates field's value. -func (s *ListCertificatesByCAOutput) SetCertificates(v []Certificate) *ListCertificatesByCAOutput { - s.Certificates = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListCertificatesByCAOutput) SetNextMarker(v string) *ListCertificatesByCAOutput { - s.NextMarker = &v - return s -} - // The input for the ListCertificates operation. type ListCertificatesInput struct { _ struct{} `type:"structure"` @@ -14826,24 +12312,6 @@ func (s *ListCertificatesInput) Validate() error { return nil } -// SetAscendingOrder sets the AscendingOrder field's value. -func (s *ListCertificatesInput) SetAscendingOrder(v bool) *ListCertificatesInput { - s.AscendingOrder = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListCertificatesInput) SetMarker(v string) *ListCertificatesInput { - s.Marker = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *ListCertificatesInput) SetPageSize(v int64) *ListCertificatesInput { - s.PageSize = &v - return s -} - // The output of the ListCertificates operation. type ListCertificatesOutput struct { _ struct{} `type:"structure"` @@ -14873,18 +12341,6 @@ func (s ListCertificatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificates sets the Certificates field's value. -func (s *ListCertificatesOutput) SetCertificates(v []Certificate) *ListCertificatesOutput { - s.Certificates = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListCertificatesOutput) SetNextMarker(v string) *ListCertificatesOutput { - s.NextMarker = &v - return s -} - type ListIndicesInput struct { _ struct{} `type:"structure"` @@ -14919,18 +12375,6 @@ func (s *ListIndicesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListIndicesInput) SetMaxResults(v int64) *ListIndicesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIndicesInput) SetNextToken(v string) *ListIndicesInput { - s.NextToken = &v - return s -} - type ListIndicesOutput struct { _ struct{} `type:"structure"` @@ -14959,18 +12403,6 @@ func (s ListIndicesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIndexNames sets the IndexNames field's value. -func (s *ListIndicesOutput) SetIndexNames(v []string) *ListIndicesOutput { - s.IndexNames = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIndicesOutput) SetNextToken(v string) *ListIndicesOutput { - s.NextToken = &v - return s -} - type ListJobExecutionsForJobInput struct { _ struct{} `type:"structure"` @@ -15019,30 +12451,6 @@ func (s *ListJobExecutionsForJobInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *ListJobExecutionsForJobInput) SetJobId(v string) *ListJobExecutionsForJobInput { - s.JobId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListJobExecutionsForJobInput) SetMaxResults(v int64) *ListJobExecutionsForJobInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListJobExecutionsForJobInput) SetNextToken(v string) *ListJobExecutionsForJobInput { - s.NextToken = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ListJobExecutionsForJobInput) SetStatus(v JobExecutionStatus) *ListJobExecutionsForJobInput { - s.Status = v - return s -} - type ListJobExecutionsForJobOutput struct { _ struct{} `type:"structure"` @@ -15071,18 +12479,6 @@ func (s ListJobExecutionsForJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExecutionSummaries sets the ExecutionSummaries field's value. -func (s *ListJobExecutionsForJobOutput) SetExecutionSummaries(v []JobExecutionSummaryForJob) *ListJobExecutionsForJobOutput { - s.ExecutionSummaries = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListJobExecutionsForJobOutput) SetNextToken(v string) *ListJobExecutionsForJobOutput { - s.NextToken = &v - return s -} - type ListJobExecutionsForThingInput struct { _ struct{} `type:"structure"` @@ -15132,30 +12528,6 @@ func (s *ListJobExecutionsForThingInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListJobExecutionsForThingInput) SetMaxResults(v int64) *ListJobExecutionsForThingInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListJobExecutionsForThingInput) SetNextToken(v string) *ListJobExecutionsForThingInput { - s.NextToken = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ListJobExecutionsForThingInput) SetStatus(v JobExecutionStatus) *ListJobExecutionsForThingInput { - s.Status = v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *ListJobExecutionsForThingInput) SetThingName(v string) *ListJobExecutionsForThingInput { - s.ThingName = &v - return s -} - type ListJobExecutionsForThingOutput struct { _ struct{} `type:"structure"` @@ -15184,18 +12556,6 @@ func (s ListJobExecutionsForThingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExecutionSummaries sets the ExecutionSummaries field's value. -func (s *ListJobExecutionsForThingOutput) SetExecutionSummaries(v []JobExecutionSummaryForThing) *ListJobExecutionsForThingOutput { - s.ExecutionSummaries = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListJobExecutionsForThingOutput) SetNextToken(v string) *ListJobExecutionsForThingOutput { - s.NextToken = &v - return s -} - type ListJobsInput struct { _ struct{} `type:"structure"` @@ -15253,42 +12613,6 @@ func (s *ListJobsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListJobsInput) SetMaxResults(v int64) *ListJobsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput { - s.NextToken = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ListJobsInput) SetStatus(v JobStatus) *ListJobsInput { - s.Status = v - return s -} - -// SetTargetSelection sets the TargetSelection field's value. -func (s *ListJobsInput) SetTargetSelection(v TargetSelection) *ListJobsInput { - s.TargetSelection = v - return s -} - -// SetThingGroupId sets the ThingGroupId field's value. -func (s *ListJobsInput) SetThingGroupId(v string) *ListJobsInput { - s.ThingGroupId = &v - return s -} - -// SetThingGroupName sets the ThingGroupName field's value. -func (s *ListJobsInput) SetThingGroupName(v string) *ListJobsInput { - s.ThingGroupName = &v - return s -} - type ListJobsOutput struct { _ struct{} `type:"structure"` @@ -15317,18 +12641,6 @@ func (s ListJobsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobs sets the Jobs field's value. -func (s *ListJobsOutput) SetJobs(v []JobSummary) *ListJobsOutput { - s.Jobs = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput { - s.NextToken = &v - return s -} - type ListOTAUpdatesInput struct { _ struct{} `type:"structure"` @@ -15365,24 +12677,6 @@ func (s *ListOTAUpdatesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListOTAUpdatesInput) SetMaxResults(v int64) *ListOTAUpdatesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListOTAUpdatesInput) SetNextToken(v string) *ListOTAUpdatesInput { - s.NextToken = &v - return s -} - -// SetOtaUpdateStatus sets the OtaUpdateStatus field's value. -func (s *ListOTAUpdatesInput) SetOtaUpdateStatus(v OTAUpdateStatus) *ListOTAUpdatesInput { - s.OtaUpdateStatus = v - return s -} - type ListOTAUpdatesOutput struct { _ struct{} `type:"structure"` @@ -15410,18 +12704,6 @@ func (s ListOTAUpdatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListOTAUpdatesOutput) SetNextToken(v string) *ListOTAUpdatesOutput { - s.NextToken = &v - return s -} - -// SetOtaUpdates sets the OtaUpdates field's value. -func (s *ListOTAUpdatesOutput) SetOtaUpdates(v []OTAUpdateSummary) *ListOTAUpdatesOutput { - s.OtaUpdates = v - return s -} - // The input to the ListOutgoingCertificates operation. type ListOutgoingCertificatesInput struct { _ struct{} `type:"structure"` @@ -15460,24 +12742,6 @@ func (s *ListOutgoingCertificatesInput) Validate() error { return nil } -// SetAscendingOrder sets the AscendingOrder field's value. -func (s *ListOutgoingCertificatesInput) SetAscendingOrder(v bool) *ListOutgoingCertificatesInput { - s.AscendingOrder = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListOutgoingCertificatesInput) SetMarker(v string) *ListOutgoingCertificatesInput { - s.Marker = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *ListOutgoingCertificatesInput) SetPageSize(v int64) *ListOutgoingCertificatesInput { - s.PageSize = &v - return s -} - // The output from the ListOutgoingCertificates operation. type ListOutgoingCertificatesOutput struct { _ struct{} `type:"structure"` @@ -15506,18 +12770,6 @@ func (s ListOutgoingCertificatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListOutgoingCertificatesOutput) SetNextMarker(v string) *ListOutgoingCertificatesOutput { - s.NextMarker = &v - return s -} - -// SetOutgoingCertificates sets the OutgoingCertificates field's value. -func (s *ListOutgoingCertificatesOutput) SetOutgoingCertificates(v []OutgoingCertificate) *ListOutgoingCertificatesOutput { - s.OutgoingCertificates = v - return s -} - // The input for the ListPolicies operation. type ListPoliciesInput struct { _ struct{} `type:"structure"` @@ -15556,24 +12808,6 @@ func (s *ListPoliciesInput) Validate() error { return nil } -// SetAscendingOrder sets the AscendingOrder field's value. -func (s *ListPoliciesInput) SetAscendingOrder(v bool) *ListPoliciesInput { - s.AscendingOrder = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListPoliciesInput) SetMarker(v string) *ListPoliciesInput { - s.Marker = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *ListPoliciesInput) SetPageSize(v int64) *ListPoliciesInput { - s.PageSize = &v - return s -} - // The output from the ListPolicies operation. type ListPoliciesOutput struct { _ struct{} `type:"structure"` @@ -15603,18 +12837,6 @@ func (s ListPoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListPoliciesOutput) SetNextMarker(v string) *ListPoliciesOutput { - s.NextMarker = &v - return s -} - -// SetPolicies sets the Policies field's value. -func (s *ListPoliciesOutput) SetPolicies(v []Policy) *ListPoliciesOutput { - s.Policies = v - return s -} - // The input for the ListPolicyPrincipals operation. type ListPolicyPrincipalsInput struct { _ struct{} `type:"structure"` @@ -15665,30 +12887,6 @@ func (s *ListPolicyPrincipalsInput) Validate() error { return nil } -// SetAscendingOrder sets the AscendingOrder field's value. -func (s *ListPolicyPrincipalsInput) SetAscendingOrder(v bool) *ListPolicyPrincipalsInput { - s.AscendingOrder = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListPolicyPrincipalsInput) SetMarker(v string) *ListPolicyPrincipalsInput { - s.Marker = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *ListPolicyPrincipalsInput) SetPageSize(v int64) *ListPolicyPrincipalsInput { - s.PageSize = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *ListPolicyPrincipalsInput) SetPolicyName(v string) *ListPolicyPrincipalsInput { - s.PolicyName = &v - return s -} - // The output from the ListPolicyPrincipals operation. type ListPolicyPrincipalsOutput struct { _ struct{} `type:"structure"` @@ -15718,18 +12916,6 @@ func (s ListPolicyPrincipalsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListPolicyPrincipalsOutput) SetNextMarker(v string) *ListPolicyPrincipalsOutput { - s.NextMarker = &v - return s -} - -// SetPrincipals sets the Principals field's value. -func (s *ListPolicyPrincipalsOutput) SetPrincipals(v []string) *ListPolicyPrincipalsOutput { - s.Principals = v - return s -} - // The input for the ListPolicyVersions operation. type ListPolicyVersionsInput struct { _ struct{} `type:"structure"` @@ -15767,12 +12953,6 @@ func (s *ListPolicyVersionsInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *ListPolicyVersionsInput) SetPolicyName(v string) *ListPolicyVersionsInput { - s.PolicyName = &v - return s -} - // The output from the ListPolicyVersions operation. type ListPolicyVersionsOutput struct { _ struct{} `type:"structure"` @@ -15798,12 +12978,6 @@ func (s ListPolicyVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicyVersions sets the PolicyVersions field's value. -func (s *ListPolicyVersionsOutput) SetPolicyVersions(v []PolicyVersion) *ListPolicyVersionsOutput { - s.PolicyVersions = v - return s -} - // The input for the ListPrincipalPolicies operation. type ListPrincipalPoliciesInput struct { _ struct{} `type:"structure"` @@ -15851,30 +13025,6 @@ func (s *ListPrincipalPoliciesInput) Validate() error { return nil } -// SetAscendingOrder sets the AscendingOrder field's value. -func (s *ListPrincipalPoliciesInput) SetAscendingOrder(v bool) *ListPrincipalPoliciesInput { - s.AscendingOrder = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListPrincipalPoliciesInput) SetMarker(v string) *ListPrincipalPoliciesInput { - s.Marker = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *ListPrincipalPoliciesInput) SetPageSize(v int64) *ListPrincipalPoliciesInput { - s.PageSize = &v - return s -} - -// SetPrincipal sets the Principal field's value. -func (s *ListPrincipalPoliciesInput) SetPrincipal(v string) *ListPrincipalPoliciesInput { - s.Principal = &v - return s -} - // The output from the ListPrincipalPolicies operation. type ListPrincipalPoliciesOutput struct { _ struct{} `type:"structure"` @@ -15904,18 +13054,6 @@ func (s ListPrincipalPoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListPrincipalPoliciesOutput) SetNextMarker(v string) *ListPrincipalPoliciesOutput { - s.NextMarker = &v - return s -} - -// SetPolicies sets the Policies field's value. -func (s *ListPrincipalPoliciesOutput) SetPolicies(v []Policy) *ListPrincipalPoliciesOutput { - s.Policies = v - return s -} - // The input for the ListPrincipalThings operation. type ListPrincipalThingsInput struct { _ struct{} `type:"structure"` @@ -15960,24 +13098,6 @@ func (s *ListPrincipalThingsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListPrincipalThingsInput) SetMaxResults(v int64) *ListPrincipalThingsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListPrincipalThingsInput) SetNextToken(v string) *ListPrincipalThingsInput { - s.NextToken = &v - return s -} - -// SetPrincipal sets the Principal field's value. -func (s *ListPrincipalThingsInput) SetPrincipal(v string) *ListPrincipalThingsInput { - s.Principal = &v - return s -} - // The output from the ListPrincipalThings operation. type ListPrincipalThingsOutput struct { _ struct{} `type:"structure"` @@ -16007,18 +13127,6 @@ func (s ListPrincipalThingsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListPrincipalThingsOutput) SetNextToken(v string) *ListPrincipalThingsOutput { - s.NextToken = &v - return s -} - -// SetThings sets the Things field's value. -func (s *ListPrincipalThingsOutput) SetThings(v []string) *ListPrincipalThingsOutput { - s.Things = v - return s -} - type ListRoleAliasesInput struct { _ struct{} `type:"structure"` @@ -16055,24 +13163,6 @@ func (s *ListRoleAliasesInput) Validate() error { return nil } -// SetAscendingOrder sets the AscendingOrder field's value. -func (s *ListRoleAliasesInput) SetAscendingOrder(v bool) *ListRoleAliasesInput { - s.AscendingOrder = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListRoleAliasesInput) SetMarker(v string) *ListRoleAliasesInput { - s.Marker = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *ListRoleAliasesInput) SetPageSize(v int64) *ListRoleAliasesInput { - s.PageSize = &v - return s -} - type ListRoleAliasesOutput struct { _ struct{} `type:"structure"` @@ -16100,18 +13190,6 @@ func (s ListRoleAliasesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListRoleAliasesOutput) SetNextMarker(v string) *ListRoleAliasesOutput { - s.NextMarker = &v - return s -} - -// SetRoleAliases sets the RoleAliases field's value. -func (s *ListRoleAliasesOutput) SetRoleAliases(v []string) *ListRoleAliasesOutput { - s.RoleAliases = v - return s -} - type ListStreamsInput struct { _ struct{} `type:"structure"` @@ -16148,24 +13226,6 @@ func (s *ListStreamsInput) Validate() error { return nil } -// SetAscendingOrder sets the AscendingOrder field's value. -func (s *ListStreamsInput) SetAscendingOrder(v bool) *ListStreamsInput { - s.AscendingOrder = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListStreamsInput) SetMaxResults(v int64) *ListStreamsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListStreamsInput) SetNextToken(v string) *ListStreamsInput { - s.NextToken = &v - return s -} - type ListStreamsOutput struct { _ struct{} `type:"structure"` @@ -16193,18 +13253,6 @@ func (s ListStreamsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListStreamsOutput) SetNextToken(v string) *ListStreamsOutput { - s.NextToken = &v - return s -} - -// SetStreams sets the Streams field's value. -func (s *ListStreamsOutput) SetStreams(v []StreamSummary) *ListStreamsOutput { - s.Streams = v - return s -} - type ListTargetsForPolicyInput struct { _ struct{} `type:"structure"` @@ -16250,24 +13298,6 @@ func (s *ListTargetsForPolicyInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *ListTargetsForPolicyInput) SetMarker(v string) *ListTargetsForPolicyInput { - s.Marker = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *ListTargetsForPolicyInput) SetPageSize(v int64) *ListTargetsForPolicyInput { - s.PageSize = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *ListTargetsForPolicyInput) SetPolicyName(v string) *ListTargetsForPolicyInput { - s.PolicyName = &v - return s -} - type ListTargetsForPolicyOutput struct { _ struct{} `type:"structure"` @@ -16295,18 +13325,6 @@ func (s ListTargetsForPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListTargetsForPolicyOutput) SetNextMarker(v string) *ListTargetsForPolicyOutput { - s.NextMarker = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *ListTargetsForPolicyOutput) SetTargets(v []string) *ListTargetsForPolicyOutput { - s.Targets = v - return s -} - type ListThingGroupsForThingInput struct { _ struct{} `type:"structure"` @@ -16353,24 +13371,6 @@ func (s *ListThingGroupsForThingInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListThingGroupsForThingInput) SetMaxResults(v int64) *ListThingGroupsForThingInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListThingGroupsForThingInput) SetNextToken(v string) *ListThingGroupsForThingInput { - s.NextToken = &v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *ListThingGroupsForThingInput) SetThingName(v string) *ListThingGroupsForThingInput { - s.ThingName = &v - return s -} - type ListThingGroupsForThingOutput struct { _ struct{} `type:"structure"` @@ -16399,18 +13399,6 @@ func (s ListThingGroupsForThingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListThingGroupsForThingOutput) SetNextToken(v string) *ListThingGroupsForThingOutput { - s.NextToken = &v - return s -} - -// SetThingGroups sets the ThingGroups field's value. -func (s *ListThingGroupsForThingOutput) SetThingGroups(v []GroupNameAndArn) *ListThingGroupsForThingOutput { - s.ThingGroups = v - return s -} - type ListThingGroupsInput struct { _ struct{} `type:"structure"` @@ -16460,36 +13448,6 @@ func (s *ListThingGroupsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListThingGroupsInput) SetMaxResults(v int64) *ListThingGroupsInput { - s.MaxResults = &v - return s -} - -// SetNamePrefixFilter sets the NamePrefixFilter field's value. -func (s *ListThingGroupsInput) SetNamePrefixFilter(v string) *ListThingGroupsInput { - s.NamePrefixFilter = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListThingGroupsInput) SetNextToken(v string) *ListThingGroupsInput { - s.NextToken = &v - return s -} - -// SetParentGroup sets the ParentGroup field's value. -func (s *ListThingGroupsInput) SetParentGroup(v string) *ListThingGroupsInput { - s.ParentGroup = &v - return s -} - -// SetRecursive sets the Recursive field's value. -func (s *ListThingGroupsInput) SetRecursive(v bool) *ListThingGroupsInput { - s.Recursive = &v - return s -} - type ListThingGroupsOutput struct { _ struct{} `type:"structure"` @@ -16518,18 +13476,6 @@ func (s ListThingGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListThingGroupsOutput) SetNextToken(v string) *ListThingGroupsOutput { - s.NextToken = &v - return s -} - -// SetThingGroups sets the ThingGroups field's value. -func (s *ListThingGroupsOutput) SetThingGroups(v []GroupNameAndArn) *ListThingGroupsOutput { - s.ThingGroups = v - return s -} - // The input for the ListThingPrincipal operation. type ListThingPrincipalsInput struct { _ struct{} `type:"structure"` @@ -16567,12 +13513,6 @@ func (s *ListThingPrincipalsInput) Validate() error { return nil } -// SetThingName sets the ThingName field's value. -func (s *ListThingPrincipalsInput) SetThingName(v string) *ListThingPrincipalsInput { - s.ThingName = &v - return s -} - // The output from the ListThingPrincipals operation. type ListThingPrincipalsOutput struct { _ struct{} `type:"structure"` @@ -16598,12 +13538,6 @@ func (s ListThingPrincipalsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPrincipals sets the Principals field's value. -func (s *ListThingPrincipalsOutput) SetPrincipals(v []string) *ListThingPrincipalsOutput { - s.Principals = v - return s -} - type ListThingRegistrationTaskReportsInput struct { _ struct{} `type:"structure"` @@ -16654,30 +13588,6 @@ func (s *ListThingRegistrationTaskReportsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListThingRegistrationTaskReportsInput) SetMaxResults(v int64) *ListThingRegistrationTaskReportsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListThingRegistrationTaskReportsInput) SetNextToken(v string) *ListThingRegistrationTaskReportsInput { - s.NextToken = &v - return s -} - -// SetReportType sets the ReportType field's value. -func (s *ListThingRegistrationTaskReportsInput) SetReportType(v ReportType) *ListThingRegistrationTaskReportsInput { - s.ReportType = v - return s -} - -// SetTaskId sets the TaskId field's value. -func (s *ListThingRegistrationTaskReportsInput) SetTaskId(v string) *ListThingRegistrationTaskReportsInput { - s.TaskId = &v - return s -} - type ListThingRegistrationTaskReportsOutput struct { _ struct{} `type:"structure"` @@ -16708,24 +13618,6 @@ func (s ListThingRegistrationTaskReportsOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListThingRegistrationTaskReportsOutput) SetNextToken(v string) *ListThingRegistrationTaskReportsOutput { - s.NextToken = &v - return s -} - -// SetReportType sets the ReportType field's value. -func (s *ListThingRegistrationTaskReportsOutput) SetReportType(v ReportType) *ListThingRegistrationTaskReportsOutput { - s.ReportType = v - return s -} - -// SetResourceLinks sets the ResourceLinks field's value. -func (s *ListThingRegistrationTaskReportsOutput) SetResourceLinks(v []string) *ListThingRegistrationTaskReportsOutput { - s.ResourceLinks = v - return s -} - type ListThingRegistrationTasksInput struct { _ struct{} `type:"structure"` @@ -16763,24 +13655,6 @@ func (s *ListThingRegistrationTasksInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListThingRegistrationTasksInput) SetMaxResults(v int64) *ListThingRegistrationTasksInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListThingRegistrationTasksInput) SetNextToken(v string) *ListThingRegistrationTasksInput { - s.NextToken = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ListThingRegistrationTasksInput) SetStatus(v Status) *ListThingRegistrationTasksInput { - s.Status = v - return s -} - type ListThingRegistrationTasksOutput struct { _ struct{} `type:"structure"` @@ -16809,18 +13683,6 @@ func (s ListThingRegistrationTasksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListThingRegistrationTasksOutput) SetNextToken(v string) *ListThingRegistrationTasksOutput { - s.NextToken = &v - return s -} - -// SetTaskIds sets the TaskIds field's value. -func (s *ListThingRegistrationTasksOutput) SetTaskIds(v []string) *ListThingRegistrationTasksOutput { - s.TaskIds = v - return s -} - // The input for the ListThingTypes operation. type ListThingTypesInput struct { _ struct{} `type:"structure"` @@ -16862,24 +13724,6 @@ func (s *ListThingTypesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListThingTypesInput) SetMaxResults(v int64) *ListThingTypesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListThingTypesInput) SetNextToken(v string) *ListThingTypesInput { - s.NextToken = &v - return s -} - -// SetThingTypeName sets the ThingTypeName field's value. -func (s *ListThingTypesInput) SetThingTypeName(v string) *ListThingTypesInput { - s.ThingTypeName = &v - return s -} - // The output for the ListThingTypes operation. type ListThingTypesOutput struct { _ struct{} `type:"structure"` @@ -16909,18 +13753,6 @@ func (s ListThingTypesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListThingTypesOutput) SetNextToken(v string) *ListThingTypesOutput { - s.NextToken = &v - return s -} - -// SetThingTypes sets the ThingTypes field's value. -func (s *ListThingTypesOutput) SetThingTypes(v []ThingTypeDefinition) *ListThingTypesOutput { - s.ThingTypes = v - return s -} - type ListThingsInThingGroupInput struct { _ struct{} `type:"structure"` @@ -16970,30 +13802,6 @@ func (s *ListThingsInThingGroupInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListThingsInThingGroupInput) SetMaxResults(v int64) *ListThingsInThingGroupInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListThingsInThingGroupInput) SetNextToken(v string) *ListThingsInThingGroupInput { - s.NextToken = &v - return s -} - -// SetRecursive sets the Recursive field's value. -func (s *ListThingsInThingGroupInput) SetRecursive(v bool) *ListThingsInThingGroupInput { - s.Recursive = &v - return s -} - -// SetThingGroupName sets the ThingGroupName field's value. -func (s *ListThingsInThingGroupInput) SetThingGroupName(v string) *ListThingsInThingGroupInput { - s.ThingGroupName = &v - return s -} - type ListThingsInThingGroupOutput struct { _ struct{} `type:"structure"` @@ -17022,18 +13830,6 @@ func (s ListThingsInThingGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListThingsInThingGroupOutput) SetNextToken(v string) *ListThingsInThingGroupOutput { - s.NextToken = &v - return s -} - -// SetThings sets the Things field's value. -func (s *ListThingsInThingGroupOutput) SetThings(v []string) *ListThingsInThingGroupOutput { - s.Things = v - return s -} - // The input for the ListThings operation. type ListThingsInput struct { _ struct{} `type:"structure"` @@ -17081,36 +13877,6 @@ func (s *ListThingsInput) Validate() error { return nil } -// SetAttributeName sets the AttributeName field's value. -func (s *ListThingsInput) SetAttributeName(v string) *ListThingsInput { - s.AttributeName = &v - return s -} - -// SetAttributeValue sets the AttributeValue field's value. -func (s *ListThingsInput) SetAttributeValue(v string) *ListThingsInput { - s.AttributeValue = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListThingsInput) SetMaxResults(v int64) *ListThingsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListThingsInput) SetNextToken(v string) *ListThingsInput { - s.NextToken = &v - return s -} - -// SetThingTypeName sets the ThingTypeName field's value. -func (s *ListThingsInput) SetThingTypeName(v string) *ListThingsInput { - s.ThingTypeName = &v - return s -} - // The output from the ListThings operation. type ListThingsOutput struct { _ struct{} `type:"structure"` @@ -17140,18 +13906,6 @@ func (s ListThingsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListThingsOutput) SetNextToken(v string) *ListThingsOutput { - s.NextToken = &v - return s -} - -// SetThings sets the Things field's value. -func (s *ListThingsOutput) SetThings(v []ThingAttribute) *ListThingsOutput { - s.Things = v - return s -} - // The input for the ListTopicRules operation. type ListTopicRulesInput struct { _ struct{} `type:"structure"` @@ -17192,30 +13946,6 @@ func (s *ListTopicRulesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListTopicRulesInput) SetMaxResults(v int64) *ListTopicRulesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTopicRulesInput) SetNextToken(v string) *ListTopicRulesInput { - s.NextToken = &v - return s -} - -// SetRuleDisabled sets the RuleDisabled field's value. -func (s *ListTopicRulesInput) SetRuleDisabled(v bool) *ListTopicRulesInput { - s.RuleDisabled = &v - return s -} - -// SetTopic sets the Topic field's value. -func (s *ListTopicRulesInput) SetTopic(v string) *ListTopicRulesInput { - s.Topic = &v - return s -} - // The output from the ListTopicRules operation. type ListTopicRulesOutput struct { _ struct{} `type:"structure"` @@ -17244,18 +13974,6 @@ func (s ListTopicRulesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTopicRulesOutput) SetNextToken(v string) *ListTopicRulesOutput { - s.NextToken = &v - return s -} - -// SetRules sets the Rules field's value. -func (s *ListTopicRulesOutput) SetRules(v []TopicRuleListItem) *ListTopicRulesOutput { - s.Rules = v - return s -} - type ListV2LoggingLevelsInput struct { _ struct{} `type:"structure"` @@ -17293,24 +14011,6 @@ func (s *ListV2LoggingLevelsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListV2LoggingLevelsInput) SetMaxResults(v int64) *ListV2LoggingLevelsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListV2LoggingLevelsInput) SetNextToken(v string) *ListV2LoggingLevelsInput { - s.NextToken = &v - return s -} - -// SetTargetType sets the TargetType field's value. -func (s *ListV2LoggingLevelsInput) SetTargetType(v LogTargetType) *ListV2LoggingLevelsInput { - s.TargetType = v - return s -} - type ListV2LoggingLevelsOutput struct { _ struct{} `type:"structure"` @@ -17339,18 +14039,6 @@ func (s ListV2LoggingLevelsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLogTargetConfigurations sets the LogTargetConfigurations field's value. -func (s *ListV2LoggingLevelsOutput) SetLogTargetConfigurations(v []LogTargetConfiguration) *ListV2LoggingLevelsOutput { - s.LogTargetConfigurations = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListV2LoggingLevelsOutput) SetNextToken(v string) *ListV2LoggingLevelsOutput { - s.NextToken = &v - return s -} - // A log target. type LogTarget struct { _ struct{} `type:"structure"` @@ -17387,18 +14075,6 @@ func (s *LogTarget) Validate() error { return nil } -// SetTargetName sets the TargetName field's value. -func (s *LogTarget) SetTargetName(v string) *LogTarget { - s.TargetName = &v - return s -} - -// SetTargetType sets the TargetType field's value. -func (s *LogTarget) SetTargetType(v LogTargetType) *LogTarget { - s.TargetType = v - return s -} - // The target configuration. type LogTargetConfiguration struct { _ struct{} `type:"structure"` @@ -17420,18 +14096,6 @@ func (s LogTargetConfiguration) GoString() string { return s.String() } -// SetLogLevel sets the LogLevel field's value. -func (s *LogTargetConfiguration) SetLogLevel(v LogLevel) *LogTargetConfiguration { - s.LogLevel = v - return s -} - -// SetLogTarget sets the LogTarget field's value. -func (s *LogTargetConfiguration) SetLogTarget(v *LogTarget) *LogTargetConfiguration { - s.LogTarget = v - return s -} - // Describes the logging options payload. type LoggingOptionsPayload struct { _ struct{} `type:"structure"` @@ -17469,18 +14133,6 @@ func (s *LoggingOptionsPayload) Validate() error { return nil } -// SetLogLevel sets the LogLevel field's value. -func (s *LoggingOptionsPayload) SetLogLevel(v LogLevel) *LoggingOptionsPayload { - s.LogLevel = v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *LoggingOptionsPayload) SetRoleArn(v string) *LoggingOptionsPayload { - s.RoleArn = &v - return s -} - // Describes a file to be associated with an OTA update. type OTAUpdateFile struct { _ struct{} `type:"structure"` @@ -17531,36 +14183,6 @@ func (s *OTAUpdateFile) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *OTAUpdateFile) SetAttributes(v map[string]string) *OTAUpdateFile { - s.Attributes = v - return s -} - -// SetCodeSigning sets the CodeSigning field's value. -func (s *OTAUpdateFile) SetCodeSigning(v *CodeSigning) *OTAUpdateFile { - s.CodeSigning = v - return s -} - -// SetFileName sets the FileName field's value. -func (s *OTAUpdateFile) SetFileName(v string) *OTAUpdateFile { - s.FileName = &v - return s -} - -// SetFileSource sets the FileSource field's value. -func (s *OTAUpdateFile) SetFileSource(v *Stream) *OTAUpdateFile { - s.FileSource = v - return s -} - -// SetFileVersion sets the FileVersion field's value. -func (s *OTAUpdateFile) SetFileVersion(v string) *OTAUpdateFile { - s.FileVersion = &v - return s -} - // Information about an OTA update. type OTAUpdateInfo struct { _ struct{} `type:"structure"` @@ -17620,84 +14242,6 @@ func (s OTAUpdateInfo) GoString() string { return s.String() } -// SetAdditionalParameters sets the AdditionalParameters field's value. -func (s *OTAUpdateInfo) SetAdditionalParameters(v map[string]string) *OTAUpdateInfo { - s.AdditionalParameters = v - return s -} - -// SetAwsIotJobArn sets the AwsIotJobArn field's value. -func (s *OTAUpdateInfo) SetAwsIotJobArn(v string) *OTAUpdateInfo { - s.AwsIotJobArn = &v - return s -} - -// SetAwsIotJobId sets the AwsIotJobId field's value. -func (s *OTAUpdateInfo) SetAwsIotJobId(v string) *OTAUpdateInfo { - s.AwsIotJobId = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *OTAUpdateInfo) SetCreationDate(v time.Time) *OTAUpdateInfo { - s.CreationDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *OTAUpdateInfo) SetDescription(v string) *OTAUpdateInfo { - s.Description = &v - return s -} - -// SetErrorInfo sets the ErrorInfo field's value. -func (s *OTAUpdateInfo) SetErrorInfo(v *ErrorInfo) *OTAUpdateInfo { - s.ErrorInfo = v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *OTAUpdateInfo) SetLastModifiedDate(v time.Time) *OTAUpdateInfo { - s.LastModifiedDate = &v - return s -} - -// SetOtaUpdateArn sets the OtaUpdateArn field's value. -func (s *OTAUpdateInfo) SetOtaUpdateArn(v string) *OTAUpdateInfo { - s.OtaUpdateArn = &v - return s -} - -// SetOtaUpdateFiles sets the OtaUpdateFiles field's value. -func (s *OTAUpdateInfo) SetOtaUpdateFiles(v []OTAUpdateFile) *OTAUpdateInfo { - s.OtaUpdateFiles = v - return s -} - -// SetOtaUpdateId sets the OtaUpdateId field's value. -func (s *OTAUpdateInfo) SetOtaUpdateId(v string) *OTAUpdateInfo { - s.OtaUpdateId = &v - return s -} - -// SetOtaUpdateStatus sets the OtaUpdateStatus field's value. -func (s *OTAUpdateInfo) SetOtaUpdateStatus(v OTAUpdateStatus) *OTAUpdateInfo { - s.OtaUpdateStatus = v - return s -} - -// SetTargetSelection sets the TargetSelection field's value. -func (s *OTAUpdateInfo) SetTargetSelection(v TargetSelection) *OTAUpdateInfo { - s.TargetSelection = v - return s -} - -// SetTargets sets the Targets field's value. -func (s *OTAUpdateInfo) SetTargets(v []string) *OTAUpdateInfo { - s.Targets = v - return s -} - // An OTA update summary. type OTAUpdateSummary struct { _ struct{} `type:"structure"` @@ -17722,24 +14266,6 @@ func (s OTAUpdateSummary) GoString() string { return s.String() } -// SetCreationDate sets the CreationDate field's value. -func (s *OTAUpdateSummary) SetCreationDate(v time.Time) *OTAUpdateSummary { - s.CreationDate = &v - return s -} - -// SetOtaUpdateArn sets the OtaUpdateArn field's value. -func (s *OTAUpdateSummary) SetOtaUpdateArn(v string) *OTAUpdateSummary { - s.OtaUpdateArn = &v - return s -} - -// SetOtaUpdateId sets the OtaUpdateId field's value. -func (s *OTAUpdateSummary) SetOtaUpdateId(v string) *OTAUpdateSummary { - s.OtaUpdateId = &v - return s -} - // A certificate that has been transferred but not yet accepted. type OutgoingCertificate struct { _ struct{} `type:"structure"` @@ -17773,42 +14299,6 @@ func (s OutgoingCertificate) GoString() string { return s.String() } -// SetCertificateArn sets the CertificateArn field's value. -func (s *OutgoingCertificate) SetCertificateArn(v string) *OutgoingCertificate { - s.CertificateArn = &v - return s -} - -// SetCertificateId sets the CertificateId field's value. -func (s *OutgoingCertificate) SetCertificateId(v string) *OutgoingCertificate { - s.CertificateId = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *OutgoingCertificate) SetCreationDate(v time.Time) *OutgoingCertificate { - s.CreationDate = &v - return s -} - -// SetTransferDate sets the TransferDate field's value. -func (s *OutgoingCertificate) SetTransferDate(v time.Time) *OutgoingCertificate { - s.TransferDate = &v - return s -} - -// SetTransferMessage sets the TransferMessage field's value. -func (s *OutgoingCertificate) SetTransferMessage(v string) *OutgoingCertificate { - s.TransferMessage = &v - return s -} - -// SetTransferredTo sets the TransferredTo field's value. -func (s *OutgoingCertificate) SetTransferredTo(v string) *OutgoingCertificate { - s.TransferredTo = &v - return s -} - // Describes an AWS IoT policy. type Policy struct { _ struct{} `type:"structure"` @@ -17830,18 +14320,6 @@ func (s Policy) GoString() string { return s.String() } -// SetPolicyArn sets the PolicyArn field's value. -func (s *Policy) SetPolicyArn(v string) *Policy { - s.PolicyArn = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *Policy) SetPolicyName(v string) *Policy { - s.PolicyName = &v - return s -} - // Describes a policy version. type PolicyVersion struct { _ struct{} `type:"structure"` @@ -17866,24 +14344,6 @@ func (s PolicyVersion) GoString() string { return s.String() } -// SetCreateDate sets the CreateDate field's value. -func (s *PolicyVersion) SetCreateDate(v time.Time) *PolicyVersion { - s.CreateDate = &v - return s -} - -// SetIsDefaultVersion sets the IsDefaultVersion field's value. -func (s *PolicyVersion) SetIsDefaultVersion(v bool) *PolicyVersion { - s.IsDefaultVersion = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *PolicyVersion) SetVersionId(v string) *PolicyVersion { - s.VersionId = &v - return s -} - // Configuration for pre-signed S3 URLs. type PresignedUrlConfig struct { _ struct{} `type:"structure"` @@ -17925,18 +14385,6 @@ func (s *PresignedUrlConfig) Validate() error { return nil } -// SetExpiresInSec sets the ExpiresInSec field's value. -func (s *PresignedUrlConfig) SetExpiresInSec(v int64) *PresignedUrlConfig { - s.ExpiresInSec = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *PresignedUrlConfig) SetRoleArn(v string) *PresignedUrlConfig { - s.RoleArn = &v - return s -} - // The input for the DynamoActionVS action that specifies the DynamoDB table // to which the message data will be written. type PutItemInput struct { @@ -17972,12 +14420,6 @@ func (s *PutItemInput) Validate() error { return nil } -// SetTableName sets the TableName field's value. -func (s *PutItemInput) SetTableName(v string) *PutItemInput { - s.TableName = &v - return s -} - // The input to the RegisterCACertificate operation. type RegisterCACertificateInput struct { _ struct{} `type:"structure"` @@ -18041,36 +14483,6 @@ func (s *RegisterCACertificateInput) Validate() error { return nil } -// SetAllowAutoRegistration sets the AllowAutoRegistration field's value. -func (s *RegisterCACertificateInput) SetAllowAutoRegistration(v bool) *RegisterCACertificateInput { - s.AllowAutoRegistration = &v - return s -} - -// SetCaCertificate sets the CaCertificate field's value. -func (s *RegisterCACertificateInput) SetCaCertificate(v string) *RegisterCACertificateInput { - s.CaCertificate = &v - return s -} - -// SetRegistrationConfig sets the RegistrationConfig field's value. -func (s *RegisterCACertificateInput) SetRegistrationConfig(v *RegistrationConfig) *RegisterCACertificateInput { - s.RegistrationConfig = v - return s -} - -// SetSetAsActive sets the SetAsActive field's value. -func (s *RegisterCACertificateInput) SetSetAsActive(v bool) *RegisterCACertificateInput { - s.SetAsActive = &v - return s -} - -// SetVerificationCertificate sets the VerificationCertificate field's value. -func (s *RegisterCACertificateInput) SetVerificationCertificate(v string) *RegisterCACertificateInput { - s.VerificationCertificate = &v - return s -} - // The output from the RegisterCACertificateResponse operation. type RegisterCACertificateOutput struct { _ struct{} `type:"structure"` @@ -18099,18 +14511,6 @@ func (s RegisterCACertificateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificateArn sets the CertificateArn field's value. -func (s *RegisterCACertificateOutput) SetCertificateArn(v string) *RegisterCACertificateOutput { - s.CertificateArn = &v - return s -} - -// SetCertificateId sets the CertificateId field's value. -func (s *RegisterCACertificateOutput) SetCertificateId(v string) *RegisterCACertificateOutput { - s.CertificateId = &v - return s -} - // The input to the RegisterCertificate operation. type RegisterCertificateInput struct { _ struct{} `type:"structure"` @@ -18160,30 +14560,6 @@ func (s *RegisterCertificateInput) Validate() error { return nil } -// SetCaCertificatePem sets the CaCertificatePem field's value. -func (s *RegisterCertificateInput) SetCaCertificatePem(v string) *RegisterCertificateInput { - s.CaCertificatePem = &v - return s -} - -// SetCertificatePem sets the CertificatePem field's value. -func (s *RegisterCertificateInput) SetCertificatePem(v string) *RegisterCertificateInput { - s.CertificatePem = &v - return s -} - -// SetSetAsActive sets the SetAsActive field's value. -func (s *RegisterCertificateInput) SetSetAsActive(v bool) *RegisterCertificateInput { - s.SetAsActive = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *RegisterCertificateInput) SetStatus(v CertificateStatus) *RegisterCertificateInput { - s.Status = v - return s -} - // The output from the RegisterCertificate operation. type RegisterCertificateOutput struct { _ struct{} `type:"structure"` @@ -18212,18 +14588,6 @@ func (s RegisterCertificateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificateArn sets the CertificateArn field's value. -func (s *RegisterCertificateOutput) SetCertificateArn(v string) *RegisterCertificateOutput { - s.CertificateArn = &v - return s -} - -// SetCertificateId sets the CertificateId field's value. -func (s *RegisterCertificateOutput) SetCertificateId(v string) *RegisterCertificateOutput { - s.CertificateId = &v - return s -} - type RegisterThingInput struct { _ struct{} `type:"structure"` @@ -18260,18 +14624,6 @@ func (s *RegisterThingInput) Validate() error { return nil } -// SetParameters sets the Parameters field's value. -func (s *RegisterThingInput) SetParameters(v map[string]string) *RegisterThingInput { - s.Parameters = v - return s -} - -// SetTemplateBody sets the TemplateBody field's value. -func (s *RegisterThingInput) SetTemplateBody(v string) *RegisterThingInput { - s.TemplateBody = &v - return s -} - type RegisterThingOutput struct { _ struct{} `type:"structure"` @@ -18299,18 +14651,6 @@ func (s RegisterThingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificatePem sets the CertificatePem field's value. -func (s *RegisterThingOutput) SetCertificatePem(v string) *RegisterThingOutput { - s.CertificatePem = &v - return s -} - -// SetResourceArns sets the ResourceArns field's value. -func (s *RegisterThingOutput) SetResourceArns(v map[string]string) *RegisterThingOutput { - s.ResourceArns = v - return s -} - // The registration configuration. type RegistrationConfig struct { _ struct{} `type:"structure"` @@ -18345,18 +14685,6 @@ func (s *RegistrationConfig) Validate() error { return nil } -// SetRoleArn sets the RoleArn field's value. -func (s *RegistrationConfig) SetRoleArn(v string) *RegistrationConfig { - s.RoleArn = &v - return s -} - -// SetTemplateBody sets the TemplateBody field's value. -func (s *RegistrationConfig) SetTemplateBody(v string) *RegistrationConfig { - s.TemplateBody = &v - return s -} - // The input for the RejectCertificateTransfer operation. type RejectCertificateTransferInput struct { _ struct{} `type:"structure"` @@ -18397,18 +14725,6 @@ func (s *RejectCertificateTransferInput) Validate() error { return nil } -// SetCertificateId sets the CertificateId field's value. -func (s *RejectCertificateTransferInput) SetCertificateId(v string) *RejectCertificateTransferInput { - s.CertificateId = &v - return s -} - -// SetRejectReason sets the RejectReason field's value. -func (s *RejectCertificateTransferInput) SetRejectReason(v string) *RejectCertificateTransferInput { - s.RejectReason = &v - return s -} - type RejectCertificateTransferOutput struct { _ struct{} `type:"structure"` @@ -18472,30 +14788,6 @@ func (s *RemoveThingFromThingGroupInput) Validate() error { return nil } -// SetThingArn sets the ThingArn field's value. -func (s *RemoveThingFromThingGroupInput) SetThingArn(v string) *RemoveThingFromThingGroupInput { - s.ThingArn = &v - return s -} - -// SetThingGroupArn sets the ThingGroupArn field's value. -func (s *RemoveThingFromThingGroupInput) SetThingGroupArn(v string) *RemoveThingFromThingGroupInput { - s.ThingGroupArn = &v - return s -} - -// SetThingGroupName sets the ThingGroupName field's value. -func (s *RemoveThingFromThingGroupInput) SetThingGroupName(v string) *RemoveThingFromThingGroupInput { - s.ThingGroupName = &v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *RemoveThingFromThingGroupInput) SetThingName(v string) *RemoveThingFromThingGroupInput { - s.ThingName = &v - return s -} - type RemoveThingFromThingGroupOutput struct { _ struct{} `type:"structure"` @@ -18568,18 +14860,6 @@ func (s *ReplaceTopicRuleInput) Validate() error { return nil } -// SetRuleName sets the RuleName field's value. -func (s *ReplaceTopicRuleInput) SetRuleName(v string) *ReplaceTopicRuleInput { - s.RuleName = &v - return s -} - -// SetTopicRulePayload sets the TopicRulePayload field's value. -func (s *ReplaceTopicRuleInput) SetTopicRulePayload(v *TopicRulePayload) *ReplaceTopicRuleInput { - s.TopicRulePayload = v - return s -} - type ReplaceTopicRuleOutput struct { _ struct{} `type:"structure"` @@ -18644,18 +14924,6 @@ func (s *RepublishAction) Validate() error { return nil } -// SetRoleArn sets the RoleArn field's value. -func (s *RepublishAction) SetRoleArn(v string) *RepublishAction { - s.RoleArn = &v - return s -} - -// SetTopic sets the Topic field's value. -func (s *RepublishAction) SetTopic(v string) *RepublishAction { - s.Topic = &v - return s -} - // Role alias description. type RoleAliasDescription struct { _ struct{} `type:"structure"` @@ -18689,42 +14957,6 @@ func (s RoleAliasDescription) GoString() string { return s.String() } -// SetCreationDate sets the CreationDate field's value. -func (s *RoleAliasDescription) SetCreationDate(v time.Time) *RoleAliasDescription { - s.CreationDate = &v - return s -} - -// SetCredentialDurationSeconds sets the CredentialDurationSeconds field's value. -func (s *RoleAliasDescription) SetCredentialDurationSeconds(v int64) *RoleAliasDescription { - s.CredentialDurationSeconds = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *RoleAliasDescription) SetLastModifiedDate(v time.Time) *RoleAliasDescription { - s.LastModifiedDate = &v - return s -} - -// SetOwner sets the Owner field's value. -func (s *RoleAliasDescription) SetOwner(v string) *RoleAliasDescription { - s.Owner = &v - return s -} - -// SetRoleAlias sets the RoleAlias field's value. -func (s *RoleAliasDescription) SetRoleAlias(v string) *RoleAliasDescription { - s.RoleAlias = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *RoleAliasDescription) SetRoleArn(v string) *RoleAliasDescription { - s.RoleArn = &v - return s -} - // Describes an action to write data to an Amazon S3 bucket. type S3Action struct { _ struct{} `type:"structure"` @@ -18781,33 +15013,9 @@ func (s *S3Action) Validate() error { return nil } -// SetBucketName sets the BucketName field's value. -func (s *S3Action) SetBucketName(v string) *S3Action { - s.BucketName = &v - return s -} - -// SetCannedAcl sets the CannedAcl field's value. -func (s *S3Action) SetCannedAcl(v CannedAccessControlList) *S3Action { - s.CannedAcl = v - return s -} - -// SetKey sets the Key field's value. -func (s *S3Action) SetKey(v string) *S3Action { - s.Key = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *S3Action) SetRoleArn(v string) *S3Action { - s.RoleArn = &v - return s -} - -// The location in S3 the contains the files to stream. -type S3Location struct { - _ struct{} `type:"structure"` +// The location in S3 the contains the files to stream. +type S3Location struct { + _ struct{} `type:"structure"` // The S3 bucket that contains the file to stream. // @@ -18857,24 +15065,6 @@ func (s *S3Location) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *S3Location) SetBucket(v string) *S3Location { - s.Bucket = &v - return s -} - -// SetKey sets the Key field's value. -func (s *S3Location) SetKey(v string) *S3Location { - s.Key = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *S3Location) SetVersion(v string) *S3Location { - s.Version = &v - return s -} - // Describes an action to write a message to a Salesforce IoT Cloud Input Stream. type SalesforceAction struct { _ struct{} `type:"structure"` @@ -18924,18 +15114,6 @@ func (s *SalesforceAction) Validate() error { return nil } -// SetToken sets the Token field's value. -func (s *SalesforceAction) SetToken(v string) *SalesforceAction { - s.Token = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *SalesforceAction) SetUrl(v string) *SalesforceAction { - s.Url = &v - return s -} - type SearchIndexInput struct { _ struct{} `type:"structure"` @@ -18991,36 +15169,6 @@ func (s *SearchIndexInput) Validate() error { return nil } -// SetIndexName sets the IndexName field's value. -func (s *SearchIndexInput) SetIndexName(v string) *SearchIndexInput { - s.IndexName = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *SearchIndexInput) SetMaxResults(v int64) *SearchIndexInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *SearchIndexInput) SetNextToken(v string) *SearchIndexInput { - s.NextToken = &v - return s -} - -// SetQueryString sets the QueryString field's value. -func (s *SearchIndexInput) SetQueryString(v string) *SearchIndexInput { - s.QueryString = &v - return s -} - -// SetQueryVersion sets the QueryVersion field's value. -func (s *SearchIndexInput) SetQueryVersion(v string) *SearchIndexInput { - s.QueryVersion = &v - return s -} - type SearchIndexOutput struct { _ struct{} `type:"structure"` @@ -19049,18 +15197,6 @@ func (s SearchIndexOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *SearchIndexOutput) SetNextToken(v string) *SearchIndexOutput { - s.NextToken = &v - return s -} - -// SetThings sets the Things field's value. -func (s *SearchIndexOutput) SetThings(v []ThingDocument) *SearchIndexOutput { - s.Things = v - return s -} - type SetDefaultAuthorizerInput struct { _ struct{} `type:"structure"` @@ -19097,12 +15233,6 @@ func (s *SetDefaultAuthorizerInput) Validate() error { return nil } -// SetAuthorizerName sets the AuthorizerName field's value. -func (s *SetDefaultAuthorizerInput) SetAuthorizerName(v string) *SetDefaultAuthorizerInput { - s.AuthorizerName = &v - return s -} - type SetDefaultAuthorizerOutput struct { _ struct{} `type:"structure"` @@ -19130,18 +15260,6 @@ func (s SetDefaultAuthorizerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAuthorizerArn sets the AuthorizerArn field's value. -func (s *SetDefaultAuthorizerOutput) SetAuthorizerArn(v string) *SetDefaultAuthorizerOutput { - s.AuthorizerArn = &v - return s -} - -// SetAuthorizerName sets the AuthorizerName field's value. -func (s *SetDefaultAuthorizerOutput) SetAuthorizerName(v string) *SetDefaultAuthorizerOutput { - s.AuthorizerName = &v - return s -} - // The input for the SetDefaultPolicyVersion operation. type SetDefaultPolicyVersionInput struct { _ struct{} `type:"structure"` @@ -19188,18 +15306,6 @@ func (s *SetDefaultPolicyVersionInput) Validate() error { return nil } -// SetPolicyName sets the PolicyName field's value. -func (s *SetDefaultPolicyVersionInput) SetPolicyName(v string) *SetDefaultPolicyVersionInput { - s.PolicyName = &v - return s -} - -// SetPolicyVersionId sets the PolicyVersionId field's value. -func (s *SetDefaultPolicyVersionInput) SetPolicyVersionId(v string) *SetDefaultPolicyVersionInput { - s.PolicyVersionId = &v - return s -} - type SetDefaultPolicyVersionOutput struct { _ struct{} `type:"structure"` @@ -19260,12 +15366,6 @@ func (s *SetLoggingOptionsInput) Validate() error { return nil } -// SetLoggingOptionsPayload sets the LoggingOptionsPayload field's value. -func (s *SetLoggingOptionsInput) SetLoggingOptionsPayload(v *LoggingOptionsPayload) *SetLoggingOptionsInput { - s.LoggingOptionsPayload = v - return s -} - type SetLoggingOptionsOutput struct { _ struct{} `type:"structure"` @@ -19333,18 +15433,6 @@ func (s *SetV2LoggingLevelInput) Validate() error { return nil } -// SetLogLevel sets the LogLevel field's value. -func (s *SetV2LoggingLevelInput) SetLogLevel(v LogLevel) *SetV2LoggingLevelInput { - s.LogLevel = v - return s -} - -// SetLogTarget sets the LogTarget field's value. -func (s *SetV2LoggingLevelInput) SetLogTarget(v *LogTarget) *SetV2LoggingLevelInput { - s.LogTarget = v - return s -} - type SetV2LoggingLevelOutput struct { _ struct{} `type:"structure"` @@ -19389,24 +15477,6 @@ func (s SetV2LoggingOptionsInput) GoString() string { return s.String() } -// SetDefaultLogLevel sets the DefaultLogLevel field's value. -func (s *SetV2LoggingOptionsInput) SetDefaultLogLevel(v LogLevel) *SetV2LoggingOptionsInput { - s.DefaultLogLevel = v - return s -} - -// SetDisableAllLogs sets the DisableAllLogs field's value. -func (s *SetV2LoggingOptionsInput) SetDisableAllLogs(v bool) *SetV2LoggingOptionsInput { - s.DisableAllLogs = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *SetV2LoggingOptionsInput) SetRoleArn(v string) *SetV2LoggingOptionsInput { - s.RoleArn = &v - return s -} - type SetV2LoggingOptionsOutput struct { _ struct{} `type:"structure"` @@ -19479,24 +15549,6 @@ func (s *SnsAction) Validate() error { return nil } -// SetMessageFormat sets the MessageFormat field's value. -func (s *SnsAction) SetMessageFormat(v MessageFormat) *SnsAction { - s.MessageFormat = v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *SnsAction) SetRoleArn(v string) *SnsAction { - s.RoleArn = &v - return s -} - -// SetTargetArn sets the TargetArn field's value. -func (s *SnsAction) SetTargetArn(v string) *SnsAction { - s.TargetArn = &v - return s -} - // Describes an action to publish data to an Amazon SQS queue. type SqsAction struct { _ struct{} `type:"structure"` @@ -19543,24 +15595,6 @@ func (s *SqsAction) Validate() error { return nil } -// SetQueueUrl sets the QueueUrl field's value. -func (s *SqsAction) SetQueueUrl(v string) *SqsAction { - s.QueueUrl = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *SqsAction) SetRoleArn(v string) *SqsAction { - s.RoleArn = &v - return s -} - -// SetUseBase64 sets the UseBase64 field's value. -func (s *SqsAction) SetUseBase64(v bool) *SqsAction { - s.UseBase64 = &v - return s -} - type StartThingRegistrationTaskInput struct { _ struct{} `type:"structure"` @@ -19632,30 +15666,6 @@ func (s *StartThingRegistrationTaskInput) Validate() error { return nil } -// SetInputFileBucket sets the InputFileBucket field's value. -func (s *StartThingRegistrationTaskInput) SetInputFileBucket(v string) *StartThingRegistrationTaskInput { - s.InputFileBucket = &v - return s -} - -// SetInputFileKey sets the InputFileKey field's value. -func (s *StartThingRegistrationTaskInput) SetInputFileKey(v string) *StartThingRegistrationTaskInput { - s.InputFileKey = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *StartThingRegistrationTaskInput) SetRoleArn(v string) *StartThingRegistrationTaskInput { - s.RoleArn = &v - return s -} - -// SetTemplateBody sets the TemplateBody field's value. -func (s *StartThingRegistrationTaskInput) SetTemplateBody(v string) *StartThingRegistrationTaskInput { - s.TemplateBody = &v - return s -} - type StartThingRegistrationTaskOutput struct { _ struct{} `type:"structure"` @@ -19680,12 +15690,6 @@ func (s StartThingRegistrationTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTaskId sets the TaskId field's value. -func (s *StartThingRegistrationTaskOutput) SetTaskId(v string) *StartThingRegistrationTaskOutput { - s.TaskId = &v - return s -} - type StopThingRegistrationTaskInput struct { _ struct{} `type:"structure"` @@ -19719,12 +15723,6 @@ func (s *StopThingRegistrationTaskInput) Validate() error { return nil } -// SetTaskId sets the TaskId field's value. -func (s *StopThingRegistrationTaskInput) SetTaskId(v string) *StopThingRegistrationTaskInput { - s.TaskId = &v - return s -} - type StopThingRegistrationTaskOutput struct { _ struct{} `type:"structure"` @@ -19780,18 +15778,6 @@ func (s *Stream) Validate() error { return nil } -// SetFileId sets the FileId field's value. -func (s *Stream) SetFileId(v int64) *Stream { - s.FileId = &v - return s -} - -// SetStreamId sets the StreamId field's value. -func (s *Stream) SetStreamId(v string) *Stream { - s.StreamId = &v - return s -} - // Represents a file to stream. type StreamFile struct { _ struct{} `type:"structure"` @@ -19828,18 +15814,6 @@ func (s *StreamFile) Validate() error { return nil } -// SetFileId sets the FileId field's value. -func (s *StreamFile) SetFileId(v int64) *StreamFile { - s.FileId = &v - return s -} - -// SetS3Location sets the S3Location field's value. -func (s *StreamFile) SetS3Location(v *S3Location) *StreamFile { - s.S3Location = v - return s -} - // Information about a stream. type StreamInfo struct { _ struct{} `type:"structure"` @@ -19879,54 +15853,6 @@ func (s StreamInfo) GoString() string { return s.String() } -// SetCreatedAt sets the CreatedAt field's value. -func (s *StreamInfo) SetCreatedAt(v time.Time) *StreamInfo { - s.CreatedAt = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *StreamInfo) SetDescription(v string) *StreamInfo { - s.Description = &v - return s -} - -// SetFiles sets the Files field's value. -func (s *StreamInfo) SetFiles(v []StreamFile) *StreamInfo { - s.Files = v - return s -} - -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *StreamInfo) SetLastUpdatedAt(v time.Time) *StreamInfo { - s.LastUpdatedAt = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *StreamInfo) SetRoleArn(v string) *StreamInfo { - s.RoleArn = &v - return s -} - -// SetStreamArn sets the StreamArn field's value. -func (s *StreamInfo) SetStreamArn(v string) *StreamInfo { - s.StreamArn = &v - return s -} - -// SetStreamId sets the StreamId field's value. -func (s *StreamInfo) SetStreamId(v string) *StreamInfo { - s.StreamId = &v - return s -} - -// SetStreamVersion sets the StreamVersion field's value. -func (s *StreamInfo) SetStreamVersion(v int64) *StreamInfo { - s.StreamVersion = &v - return s -} - // A summary of a stream. type StreamSummary struct { _ struct{} `type:"structure"` @@ -19954,30 +15880,6 @@ func (s StreamSummary) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *StreamSummary) SetDescription(v string) *StreamSummary { - s.Description = &v - return s -} - -// SetStreamArn sets the StreamArn field's value. -func (s *StreamSummary) SetStreamArn(v string) *StreamSummary { - s.StreamArn = &v - return s -} - -// SetStreamId sets the StreamId field's value. -func (s *StreamSummary) SetStreamId(v string) *StreamSummary { - s.StreamId = &v - return s -} - -// SetStreamVersion sets the StreamVersion field's value. -func (s *StreamSummary) SetStreamVersion(v int64) *StreamSummary { - s.StreamVersion = &v - return s -} - type TestAuthorizationInput struct { _ struct{} `type:"structure"` @@ -20032,42 +15934,6 @@ func (s *TestAuthorizationInput) Validate() error { return nil } -// SetAuthInfos sets the AuthInfos field's value. -func (s *TestAuthorizationInput) SetAuthInfos(v []AuthInfo) *TestAuthorizationInput { - s.AuthInfos = v - return s -} - -// SetClientId sets the ClientId field's value. -func (s *TestAuthorizationInput) SetClientId(v string) *TestAuthorizationInput { - s.ClientId = &v - return s -} - -// SetCognitoIdentityPoolId sets the CognitoIdentityPoolId field's value. -func (s *TestAuthorizationInput) SetCognitoIdentityPoolId(v string) *TestAuthorizationInput { - s.CognitoIdentityPoolId = &v - return s -} - -// SetPolicyNamesToAdd sets the PolicyNamesToAdd field's value. -func (s *TestAuthorizationInput) SetPolicyNamesToAdd(v []string) *TestAuthorizationInput { - s.PolicyNamesToAdd = v - return s -} - -// SetPolicyNamesToSkip sets the PolicyNamesToSkip field's value. -func (s *TestAuthorizationInput) SetPolicyNamesToSkip(v []string) *TestAuthorizationInput { - s.PolicyNamesToSkip = v - return s -} - -// SetPrincipal sets the Principal field's value. -func (s *TestAuthorizationInput) SetPrincipal(v string) *TestAuthorizationInput { - s.Principal = &v - return s -} - type TestAuthorizationOutput struct { _ struct{} `type:"structure"` @@ -20092,12 +15958,6 @@ func (s TestAuthorizationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAuthResults sets the AuthResults field's value. -func (s *TestAuthorizationOutput) SetAuthResults(v []AuthResult) *TestAuthorizationOutput { - s.AuthResults = v - return s -} - type TestInvokeAuthorizerInput struct { _ struct{} `type:"structure"` @@ -20159,24 +16019,6 @@ func (s *TestInvokeAuthorizerInput) Validate() error { return nil } -// SetAuthorizerName sets the AuthorizerName field's value. -func (s *TestInvokeAuthorizerInput) SetAuthorizerName(v string) *TestInvokeAuthorizerInput { - s.AuthorizerName = &v - return s -} - -// SetToken sets the Token field's value. -func (s *TestInvokeAuthorizerInput) SetToken(v string) *TestInvokeAuthorizerInput { - s.Token = &v - return s -} - -// SetTokenSignature sets the TokenSignature field's value. -func (s *TestInvokeAuthorizerInput) SetTokenSignature(v string) *TestInvokeAuthorizerInput { - s.TokenSignature = &v - return s -} - type TestInvokeAuthorizerOutput struct { _ struct{} `type:"structure"` @@ -20213,36 +16055,6 @@ func (s TestInvokeAuthorizerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDisconnectAfterInSeconds sets the DisconnectAfterInSeconds field's value. -func (s *TestInvokeAuthorizerOutput) SetDisconnectAfterInSeconds(v int64) *TestInvokeAuthorizerOutput { - s.DisconnectAfterInSeconds = &v - return s -} - -// SetIsAuthenticated sets the IsAuthenticated field's value. -func (s *TestInvokeAuthorizerOutput) SetIsAuthenticated(v bool) *TestInvokeAuthorizerOutput { - s.IsAuthenticated = &v - return s -} - -// SetPolicyDocuments sets the PolicyDocuments field's value. -func (s *TestInvokeAuthorizerOutput) SetPolicyDocuments(v []string) *TestInvokeAuthorizerOutput { - s.PolicyDocuments = v - return s -} - -// SetPrincipalId sets the PrincipalId field's value. -func (s *TestInvokeAuthorizerOutput) SetPrincipalId(v string) *TestInvokeAuthorizerOutput { - s.PrincipalId = &v - return s -} - -// SetRefreshAfterInSeconds sets the RefreshAfterInSeconds field's value. -func (s *TestInvokeAuthorizerOutput) SetRefreshAfterInSeconds(v int64) *TestInvokeAuthorizerOutput { - s.RefreshAfterInSeconds = &v - return s -} - // The properties of the thing, including thing name, thing type name, and a // list of thing attributes. type ThingAttribute struct { @@ -20274,36 +16086,6 @@ func (s ThingAttribute) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *ThingAttribute) SetAttributes(v map[string]string) *ThingAttribute { - s.Attributes = v - return s -} - -// SetThingArn sets the ThingArn field's value. -func (s *ThingAttribute) SetThingArn(v string) *ThingAttribute { - s.ThingArn = &v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *ThingAttribute) SetThingName(v string) *ThingAttribute { - s.ThingName = &v - return s -} - -// SetThingTypeName sets the ThingTypeName field's value. -func (s *ThingAttribute) SetThingTypeName(v string) *ThingAttribute { - s.ThingTypeName = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *ThingAttribute) SetVersion(v int64) *ThingAttribute { - s.Version = &v - return s -} - // The thing search index document. type ThingDocument struct { _ struct{} `type:"structure"` @@ -20337,42 +16119,6 @@ func (s ThingDocument) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *ThingDocument) SetAttributes(v map[string]string) *ThingDocument { - s.Attributes = v - return s -} - -// SetShadow sets the Shadow field's value. -func (s *ThingDocument) SetShadow(v string) *ThingDocument { - s.Shadow = &v - return s -} - -// SetThingGroupNames sets the ThingGroupNames field's value. -func (s *ThingDocument) SetThingGroupNames(v []string) *ThingDocument { - s.ThingGroupNames = v - return s -} - -// SetThingId sets the ThingId field's value. -func (s *ThingDocument) SetThingId(v string) *ThingDocument { - s.ThingId = &v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *ThingDocument) SetThingName(v string) *ThingDocument { - s.ThingName = &v - return s -} - -// SetThingTypeName sets the ThingTypeName field's value. -func (s *ThingDocument) SetThingTypeName(v string) *ThingDocument { - s.ThingTypeName = &v - return s -} - // Thing group metadata. type ThingGroupMetadata struct { _ struct{} `type:"structure"` @@ -20397,24 +16143,6 @@ func (s ThingGroupMetadata) GoString() string { return s.String() } -// SetCreationDate sets the CreationDate field's value. -func (s *ThingGroupMetadata) SetCreationDate(v time.Time) *ThingGroupMetadata { - s.CreationDate = &v - return s -} - -// SetParentGroupName sets the ParentGroupName field's value. -func (s *ThingGroupMetadata) SetParentGroupName(v string) *ThingGroupMetadata { - s.ParentGroupName = &v - return s -} - -// SetRootToParentThingGroups sets the RootToParentThingGroups field's value. -func (s *ThingGroupMetadata) SetRootToParentThingGroups(v []GroupNameAndArn) *ThingGroupMetadata { - s.RootToParentThingGroups = v - return s -} - // Thing group properties. type ThingGroupProperties struct { _ struct{} `type:"structure"` @@ -20436,18 +16164,6 @@ func (s ThingGroupProperties) GoString() string { return s.String() } -// SetAttributePayload sets the AttributePayload field's value. -func (s *ThingGroupProperties) SetAttributePayload(v *AttributePayload) *ThingGroupProperties { - s.AttributePayload = v - return s -} - -// SetThingGroupDescription sets the ThingGroupDescription field's value. -func (s *ThingGroupProperties) SetThingGroupDescription(v string) *ThingGroupProperties { - s.ThingGroupDescription = &v - return s -} - // Thing indexing configuration. type ThingIndexingConfiguration struct { _ struct{} `type:"structure"` @@ -20473,12 +16189,6 @@ func (s ThingIndexingConfiguration) GoString() string { return s.String() } -// SetThingIndexingMode sets the ThingIndexingMode field's value. -func (s *ThingIndexingConfiguration) SetThingIndexingMode(v ThingIndexingMode) *ThingIndexingConfiguration { - s.ThingIndexingMode = v - return s -} - // The definition of the thing type, including thing type name and description. type ThingTypeDefinition struct { _ struct{} `type:"structure"` @@ -20508,30 +16218,6 @@ func (s ThingTypeDefinition) GoString() string { return s.String() } -// SetThingTypeArn sets the ThingTypeArn field's value. -func (s *ThingTypeDefinition) SetThingTypeArn(v string) *ThingTypeDefinition { - s.ThingTypeArn = &v - return s -} - -// SetThingTypeMetadata sets the ThingTypeMetadata field's value. -func (s *ThingTypeDefinition) SetThingTypeMetadata(v *ThingTypeMetadata) *ThingTypeDefinition { - s.ThingTypeMetadata = v - return s -} - -// SetThingTypeName sets the ThingTypeName field's value. -func (s *ThingTypeDefinition) SetThingTypeName(v string) *ThingTypeDefinition { - s.ThingTypeName = &v - return s -} - -// SetThingTypeProperties sets the ThingTypeProperties field's value. -func (s *ThingTypeDefinition) SetThingTypeProperties(v *ThingTypeProperties) *ThingTypeDefinition { - s.ThingTypeProperties = v - return s -} - // The ThingTypeMetadata contains additional information about the thing type // including: creation date and time, a value indicating whether the thing type // is deprecated, and a date and time when time was deprecated. @@ -20559,24 +16245,6 @@ func (s ThingTypeMetadata) GoString() string { return s.String() } -// SetCreationDate sets the CreationDate field's value. -func (s *ThingTypeMetadata) SetCreationDate(v time.Time) *ThingTypeMetadata { - s.CreationDate = &v - return s -} - -// SetDeprecated sets the Deprecated field's value. -func (s *ThingTypeMetadata) SetDeprecated(v bool) *ThingTypeMetadata { - s.Deprecated = &v - return s -} - -// SetDeprecationDate sets the DeprecationDate field's value. -func (s *ThingTypeMetadata) SetDeprecationDate(v time.Time) *ThingTypeMetadata { - s.DeprecationDate = &v - return s -} - // The ThingTypeProperties contains information about the thing type including: // a thing type description, and a list of searchable thing attribute names. type ThingTypeProperties struct { @@ -20599,18 +16267,6 @@ func (s ThingTypeProperties) GoString() string { return s.String() } -// SetSearchableAttributes sets the SearchableAttributes field's value. -func (s *ThingTypeProperties) SetSearchableAttributes(v []string) *ThingTypeProperties { - s.SearchableAttributes = v - return s -} - -// SetThingTypeDescription sets the ThingTypeDescription field's value. -func (s *ThingTypeProperties) SetThingTypeDescription(v string) *ThingTypeProperties { - s.ThingTypeDescription = &v - return s -} - // Describes a rule. type TopicRule struct { _ struct{} `type:"structure"` @@ -20651,54 +16307,6 @@ func (s TopicRule) GoString() string { return s.String() } -// SetActions sets the Actions field's value. -func (s *TopicRule) SetActions(v []Action) *TopicRule { - s.Actions = v - return s -} - -// SetAwsIotSqlVersion sets the AwsIotSqlVersion field's value. -func (s *TopicRule) SetAwsIotSqlVersion(v string) *TopicRule { - s.AwsIotSqlVersion = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *TopicRule) SetCreatedAt(v time.Time) *TopicRule { - s.CreatedAt = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *TopicRule) SetDescription(v string) *TopicRule { - s.Description = &v - return s -} - -// SetErrorAction sets the ErrorAction field's value. -func (s *TopicRule) SetErrorAction(v *Action) *TopicRule { - s.ErrorAction = v - return s -} - -// SetRuleDisabled sets the RuleDisabled field's value. -func (s *TopicRule) SetRuleDisabled(v bool) *TopicRule { - s.RuleDisabled = &v - return s -} - -// SetRuleName sets the RuleName field's value. -func (s *TopicRule) SetRuleName(v string) *TopicRule { - s.RuleName = &v - return s -} - -// SetSql sets the Sql field's value. -func (s *TopicRule) SetSql(v string) *TopicRule { - s.Sql = &v - return s -} - // Describes a rule. type TopicRuleListItem struct { _ struct{} `type:"structure"` @@ -20729,36 +16337,6 @@ func (s TopicRuleListItem) GoString() string { return s.String() } -// SetCreatedAt sets the CreatedAt field's value. -func (s *TopicRuleListItem) SetCreatedAt(v time.Time) *TopicRuleListItem { - s.CreatedAt = &v - return s -} - -// SetRuleArn sets the RuleArn field's value. -func (s *TopicRuleListItem) SetRuleArn(v string) *TopicRuleListItem { - s.RuleArn = &v - return s -} - -// SetRuleDisabled sets the RuleDisabled field's value. -func (s *TopicRuleListItem) SetRuleDisabled(v bool) *TopicRuleListItem { - s.RuleDisabled = &v - return s -} - -// SetRuleName sets the RuleName field's value. -func (s *TopicRuleListItem) SetRuleName(v string) *TopicRuleListItem { - s.RuleName = &v - return s -} - -// SetTopicPattern sets the TopicPattern field's value. -func (s *TopicRuleListItem) SetTopicPattern(v string) *TopicRuleListItem { - s.TopicPattern = &v - return s -} - // Describes a rule. type TopicRulePayload struct { _ struct{} `type:"structure"` @@ -20828,42 +16406,6 @@ func (s *TopicRulePayload) Validate() error { return nil } -// SetActions sets the Actions field's value. -func (s *TopicRulePayload) SetActions(v []Action) *TopicRulePayload { - s.Actions = v - return s -} - -// SetAwsIotSqlVersion sets the AwsIotSqlVersion field's value. -func (s *TopicRulePayload) SetAwsIotSqlVersion(v string) *TopicRulePayload { - s.AwsIotSqlVersion = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *TopicRulePayload) SetDescription(v string) *TopicRulePayload { - s.Description = &v - return s -} - -// SetErrorAction sets the ErrorAction field's value. -func (s *TopicRulePayload) SetErrorAction(v *Action) *TopicRulePayload { - s.ErrorAction = v - return s -} - -// SetRuleDisabled sets the RuleDisabled field's value. -func (s *TopicRulePayload) SetRuleDisabled(v bool) *TopicRulePayload { - s.RuleDisabled = &v - return s -} - -// SetSql sets the Sql field's value. -func (s *TopicRulePayload) SetSql(v string) *TopicRulePayload { - s.Sql = &v - return s -} - // The input for the TransferCertificate operation. type TransferCertificateInput struct { _ struct{} `type:"structure"` @@ -20913,24 +16455,6 @@ func (s *TransferCertificateInput) Validate() error { return nil } -// SetCertificateId sets the CertificateId field's value. -func (s *TransferCertificateInput) SetCertificateId(v string) *TransferCertificateInput { - s.CertificateId = &v - return s -} - -// SetTargetAwsAccount sets the TargetAwsAccount field's value. -func (s *TransferCertificateInput) SetTargetAwsAccount(v string) *TransferCertificateInput { - s.TargetAwsAccount = &v - return s -} - -// SetTransferMessage sets the TransferMessage field's value. -func (s *TransferCertificateInput) SetTransferMessage(v string) *TransferCertificateInput { - s.TransferMessage = &v - return s -} - // The output from the TransferCertificate operation. type TransferCertificateOutput struct { _ struct{} `type:"structure"` @@ -20956,12 +16480,6 @@ func (s TransferCertificateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTransferredCertificateArn sets the TransferredCertificateArn field's value. -func (s *TransferCertificateOutput) SetTransferredCertificateArn(v string) *TransferCertificateOutput { - s.TransferredCertificateArn = &v - return s -} - // Data used to transfer a certificate to an AWS account. type TransferData struct { _ struct{} `type:"structure"` @@ -20992,36 +16510,6 @@ func (s TransferData) GoString() string { return s.String() } -// SetAcceptDate sets the AcceptDate field's value. -func (s *TransferData) SetAcceptDate(v time.Time) *TransferData { - s.AcceptDate = &v - return s -} - -// SetRejectDate sets the RejectDate field's value. -func (s *TransferData) SetRejectDate(v time.Time) *TransferData { - s.RejectDate = &v - return s -} - -// SetRejectReason sets the RejectReason field's value. -func (s *TransferData) SetRejectReason(v string) *TransferData { - s.RejectReason = &v - return s -} - -// SetTransferDate sets the TransferDate field's value. -func (s *TransferData) SetTransferDate(v time.Time) *TransferData { - s.TransferDate = &v - return s -} - -// SetTransferMessage sets the TransferMessage field's value. -func (s *TransferData) SetTransferMessage(v string) *TransferData { - s.TransferMessage = &v - return s -} - type UpdateAuthorizerInput struct { _ struct{} `type:"structure"` @@ -21073,36 +16561,6 @@ func (s *UpdateAuthorizerInput) Validate() error { return nil } -// SetAuthorizerFunctionArn sets the AuthorizerFunctionArn field's value. -func (s *UpdateAuthorizerInput) SetAuthorizerFunctionArn(v string) *UpdateAuthorizerInput { - s.AuthorizerFunctionArn = &v - return s -} - -// SetAuthorizerName sets the AuthorizerName field's value. -func (s *UpdateAuthorizerInput) SetAuthorizerName(v string) *UpdateAuthorizerInput { - s.AuthorizerName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *UpdateAuthorizerInput) SetStatus(v AuthorizerStatus) *UpdateAuthorizerInput { - s.Status = v - return s -} - -// SetTokenKeyName sets the TokenKeyName field's value. -func (s *UpdateAuthorizerInput) SetTokenKeyName(v string) *UpdateAuthorizerInput { - s.TokenKeyName = &v - return s -} - -// SetTokenSigningPublicKeys sets the TokenSigningPublicKeys field's value. -func (s *UpdateAuthorizerInput) SetTokenSigningPublicKeys(v map[string]string) *UpdateAuthorizerInput { - s.TokenSigningPublicKeys = v - return s -} - type UpdateAuthorizerOutput struct { _ struct{} `type:"structure"` @@ -21130,18 +16588,6 @@ func (s UpdateAuthorizerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAuthorizerArn sets the AuthorizerArn field's value. -func (s *UpdateAuthorizerOutput) SetAuthorizerArn(v string) *UpdateAuthorizerOutput { - s.AuthorizerArn = &v - return s -} - -// SetAuthorizerName sets the AuthorizerName field's value. -func (s *UpdateAuthorizerOutput) SetAuthorizerName(v string) *UpdateAuthorizerOutput { - s.AuthorizerName = &v - return s -} - // The input to the UpdateCACertificate operation. type UpdateCACertificateInput struct { _ struct{} `type:"structure"` @@ -21200,36 +16646,6 @@ func (s *UpdateCACertificateInput) Validate() error { return nil } -// SetCertificateId sets the CertificateId field's value. -func (s *UpdateCACertificateInput) SetCertificateId(v string) *UpdateCACertificateInput { - s.CertificateId = &v - return s -} - -// SetNewAutoRegistrationStatus sets the NewAutoRegistrationStatus field's value. -func (s *UpdateCACertificateInput) SetNewAutoRegistrationStatus(v AutoRegistrationStatus) *UpdateCACertificateInput { - s.NewAutoRegistrationStatus = v - return s -} - -// SetNewStatus sets the NewStatus field's value. -func (s *UpdateCACertificateInput) SetNewStatus(v CACertificateStatus) *UpdateCACertificateInput { - s.NewStatus = v - return s -} - -// SetRegistrationConfig sets the RegistrationConfig field's value. -func (s *UpdateCACertificateInput) SetRegistrationConfig(v *RegistrationConfig) *UpdateCACertificateInput { - s.RegistrationConfig = v - return s -} - -// SetRemoveAutoRegistration sets the RemoveAutoRegistration field's value. -func (s *UpdateCACertificateInput) SetRemoveAutoRegistration(v bool) *UpdateCACertificateInput { - s.RemoveAutoRegistration = &v - return s -} - type UpdateCACertificateOutput struct { _ struct{} `type:"structure"` @@ -21303,18 +16719,6 @@ func (s *UpdateCertificateInput) Validate() error { return nil } -// SetCertificateId sets the CertificateId field's value. -func (s *UpdateCertificateInput) SetCertificateId(v string) *UpdateCertificateInput { - s.CertificateId = &v - return s -} - -// SetNewStatus sets the NewStatus field's value. -func (s *UpdateCertificateInput) SetNewStatus(v CertificateStatus) *UpdateCertificateInput { - s.NewStatus = v - return s -} - type UpdateCertificateOutput struct { _ struct{} `type:"structure"` @@ -21353,12 +16757,6 @@ func (s UpdateEventConfigurationsInput) GoString() string { return s.String() } -// SetEventConfigurations sets the EventConfigurations field's value. -func (s *UpdateEventConfigurationsInput) SetEventConfigurations(v map[string]Configuration) *UpdateEventConfigurationsInput { - s.EventConfigurations = v - return s -} - type UpdateEventConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -21397,12 +16795,6 @@ func (s UpdateIndexingConfigurationInput) GoString() string { return s.String() } -// SetThingIndexingConfiguration sets the ThingIndexingConfiguration field's value. -func (s *UpdateIndexingConfigurationInput) SetThingIndexingConfiguration(v *ThingIndexingConfiguration) *UpdateIndexingConfigurationInput { - s.ThingIndexingConfiguration = v - return s -} - type UpdateIndexingConfigurationOutput struct { _ struct{} `type:"structure"` @@ -21472,24 +16864,6 @@ func (s *UpdateRoleAliasInput) Validate() error { return nil } -// SetCredentialDurationSeconds sets the CredentialDurationSeconds field's value. -func (s *UpdateRoleAliasInput) SetCredentialDurationSeconds(v int64) *UpdateRoleAliasInput { - s.CredentialDurationSeconds = &v - return s -} - -// SetRoleAlias sets the RoleAlias field's value. -func (s *UpdateRoleAliasInput) SetRoleAlias(v string) *UpdateRoleAliasInput { - s.RoleAlias = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *UpdateRoleAliasInput) SetRoleArn(v string) *UpdateRoleAliasInput { - s.RoleArn = &v - return s -} - type UpdateRoleAliasOutput struct { _ struct{} `type:"structure"` @@ -21517,18 +16891,6 @@ func (s UpdateRoleAliasOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRoleAlias sets the RoleAlias field's value. -func (s *UpdateRoleAliasOutput) SetRoleAlias(v string) *UpdateRoleAliasOutput { - s.RoleAlias = &v - return s -} - -// SetRoleAliasArn sets the RoleAliasArn field's value. -func (s *UpdateRoleAliasOutput) SetRoleAliasArn(v string) *UpdateRoleAliasOutput { - s.RoleAliasArn = &v - return s -} - type UpdateStreamInput struct { _ struct{} `type:"structure"` @@ -21588,30 +16950,6 @@ func (s *UpdateStreamInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *UpdateStreamInput) SetDescription(v string) *UpdateStreamInput { - s.Description = &v - return s -} - -// SetFiles sets the Files field's value. -func (s *UpdateStreamInput) SetFiles(v []StreamFile) *UpdateStreamInput { - s.Files = v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *UpdateStreamInput) SetRoleArn(v string) *UpdateStreamInput { - s.RoleArn = &v - return s -} - -// SetStreamId sets the StreamId field's value. -func (s *UpdateStreamInput) SetStreamId(v string) *UpdateStreamInput { - s.StreamId = &v - return s -} - type UpdateStreamOutput struct { _ struct{} `type:"structure"` @@ -21645,30 +16983,6 @@ func (s UpdateStreamOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDescription sets the Description field's value. -func (s *UpdateStreamOutput) SetDescription(v string) *UpdateStreamOutput { - s.Description = &v - return s -} - -// SetStreamArn sets the StreamArn field's value. -func (s *UpdateStreamOutput) SetStreamArn(v string) *UpdateStreamOutput { - s.StreamArn = &v - return s -} - -// SetStreamId sets the StreamId field's value. -func (s *UpdateStreamOutput) SetStreamId(v string) *UpdateStreamOutput { - s.StreamId = &v - return s -} - -// SetStreamVersion sets the StreamVersion field's value. -func (s *UpdateStreamOutput) SetStreamVersion(v int64) *UpdateStreamOutput { - s.StreamVersion = &v - return s -} - type UpdateThingGroupInput struct { _ struct{} `type:"structure"` @@ -21718,24 +17032,6 @@ func (s *UpdateThingGroupInput) Validate() error { return nil } -// SetExpectedVersion sets the ExpectedVersion field's value. -func (s *UpdateThingGroupInput) SetExpectedVersion(v int64) *UpdateThingGroupInput { - s.ExpectedVersion = &v - return s -} - -// SetThingGroupName sets the ThingGroupName field's value. -func (s *UpdateThingGroupInput) SetThingGroupName(v string) *UpdateThingGroupInput { - s.ThingGroupName = &v - return s -} - -// SetThingGroupProperties sets the ThingGroupProperties field's value. -func (s *UpdateThingGroupInput) SetThingGroupProperties(v *ThingGroupProperties) *UpdateThingGroupInput { - s.ThingGroupProperties = v - return s -} - type UpdateThingGroupOutput struct { _ struct{} `type:"structure"` @@ -21760,12 +17056,6 @@ func (s UpdateThingGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVersion sets the Version field's value. -func (s *UpdateThingGroupOutput) SetVersion(v int64) *UpdateThingGroupOutput { - s.Version = &v - return s -} - type UpdateThingGroupsForThingInput struct { _ struct{} `type:"structure"` @@ -21802,24 +17092,6 @@ func (s *UpdateThingGroupsForThingInput) Validate() error { return nil } -// SetThingGroupsToAdd sets the ThingGroupsToAdd field's value. -func (s *UpdateThingGroupsForThingInput) SetThingGroupsToAdd(v []string) *UpdateThingGroupsForThingInput { - s.ThingGroupsToAdd = v - return s -} - -// SetThingGroupsToRemove sets the ThingGroupsToRemove field's value. -func (s *UpdateThingGroupsForThingInput) SetThingGroupsToRemove(v []string) *UpdateThingGroupsForThingInput { - s.ThingGroupsToRemove = v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *UpdateThingGroupsForThingInput) SetThingName(v string) *UpdateThingGroupsForThingInput { - s.ThingName = &v - return s -} - type UpdateThingGroupsForThingOutput struct { _ struct{} `type:"structure"` @@ -21900,36 +17172,6 @@ func (s *UpdateThingInput) Validate() error { return nil } -// SetAttributePayload sets the AttributePayload field's value. -func (s *UpdateThingInput) SetAttributePayload(v *AttributePayload) *UpdateThingInput { - s.AttributePayload = v - return s -} - -// SetExpectedVersion sets the ExpectedVersion field's value. -func (s *UpdateThingInput) SetExpectedVersion(v int64) *UpdateThingInput { - s.ExpectedVersion = &v - return s -} - -// SetRemoveThingType sets the RemoveThingType field's value. -func (s *UpdateThingInput) SetRemoveThingType(v bool) *UpdateThingInput { - s.RemoveThingType = &v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *UpdateThingInput) SetThingName(v string) *UpdateThingInput { - s.ThingName = &v - return s -} - -// SetThingTypeName sets the ThingTypeName field's value. -func (s *UpdateThingInput) SetThingTypeName(v string) *UpdateThingInput { - s.ThingTypeName = &v - return s -} - // The output from the UpdateThing operation. type UpdateThingOutput struct { _ struct{} `type:"structure"` diff --git a/service/iotdataplane/api.go b/service/iotdataplane/api.go index dc26658c253..26460a16356 100644 --- a/service/iotdataplane/api.go +++ b/service/iotdataplane/api.go @@ -248,12 +248,6 @@ func (s *DeleteThingShadowInput) Validate() error { return nil } -// SetThingName sets the ThingName field's value. -func (s *DeleteThingShadowInput) SetThingName(v string) *DeleteThingShadowInput { - s.ThingName = &v - return s -} - // The output from the DeleteThingShadow operation. type DeleteThingShadowOutput struct { _ struct{} `type:"structure" payload:"Payload"` @@ -281,12 +275,6 @@ func (s DeleteThingShadowOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPayload sets the Payload field's value. -func (s *DeleteThingShadowOutput) SetPayload(v []byte) *DeleteThingShadowOutput { - s.Payload = v - return s -} - // The input for the GetThingShadow operation. type GetThingShadowInput struct { _ struct{} `type:"structure"` @@ -324,12 +312,6 @@ func (s *GetThingShadowInput) Validate() error { return nil } -// SetThingName sets the ThingName field's value. -func (s *GetThingShadowInput) SetThingName(v string) *GetThingShadowInput { - s.ThingName = &v - return s -} - // The output from the GetThingShadow operation. type GetThingShadowOutput struct { _ struct{} `type:"structure" payload:"Payload"` @@ -355,12 +337,6 @@ func (s GetThingShadowOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPayload sets the Payload field's value. -func (s *GetThingShadowOutput) SetPayload(v []byte) *GetThingShadowOutput { - s.Payload = v - return s -} - // The input for the Publish operation. type PublishInput struct { _ struct{} `type:"structure" payload:"Payload"` @@ -401,24 +377,6 @@ func (s *PublishInput) Validate() error { return nil } -// SetPayload sets the Payload field's value. -func (s *PublishInput) SetPayload(v []byte) *PublishInput { - s.Payload = v - return s -} - -// SetQos sets the Qos field's value. -func (s *PublishInput) SetQos(v int64) *PublishInput { - s.Qos = &v - return s -} - -// SetTopic sets the Topic field's value. -func (s *PublishInput) SetTopic(v string) *PublishInput { - s.Topic = &v - return s -} - type PublishOutput struct { _ struct{} `type:"structure"` @@ -486,18 +444,6 @@ func (s *UpdateThingShadowInput) Validate() error { return nil } -// SetPayload sets the Payload field's value. -func (s *UpdateThingShadowInput) SetPayload(v []byte) *UpdateThingShadowInput { - s.Payload = v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *UpdateThingShadowInput) SetThingName(v string) *UpdateThingShadowInput { - s.ThingName = &v - return s -} - // The output from the UpdateThingShadow operation. type UpdateThingShadowOutput struct { _ struct{} `type:"structure" payload:"Payload"` @@ -522,9 +468,3 @@ func (s UpdateThingShadowOutput) GoString() string { func (s UpdateThingShadowOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } - -// SetPayload sets the Payload field's value. -func (s *UpdateThingShadowOutput) SetPayload(v []byte) *UpdateThingShadowOutput { - s.Payload = v - return s -} diff --git a/service/iotjobsdataplane/api.go b/service/iotjobsdataplane/api.go index f3d22623f42..14a217a373c 100644 --- a/service/iotjobsdataplane/api.go +++ b/service/iotjobsdataplane/api.go @@ -258,30 +258,6 @@ func (s *DescribeJobExecutionInput) Validate() error { return nil } -// SetExecutionNumber sets the ExecutionNumber field's value. -func (s *DescribeJobExecutionInput) SetExecutionNumber(v int64) *DescribeJobExecutionInput { - s.ExecutionNumber = &v - return s -} - -// SetIncludeJobDocument sets the IncludeJobDocument field's value. -func (s *DescribeJobExecutionInput) SetIncludeJobDocument(v bool) *DescribeJobExecutionInput { - s.IncludeJobDocument = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *DescribeJobExecutionInput) SetJobId(v string) *DescribeJobExecutionInput { - s.JobId = &v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *DescribeJobExecutionInput) SetThingName(v string) *DescribeJobExecutionInput { - s.ThingName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/DescribeJobExecutionResponse type DescribeJobExecutionOutput struct { _ struct{} `type:"structure"` @@ -307,12 +283,6 @@ func (s DescribeJobExecutionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExecution sets the Execution field's value. -func (s *DescribeJobExecutionOutput) SetExecution(v *JobExecution) *DescribeJobExecutionOutput { - s.Execution = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/GetPendingJobExecutionsRequest type GetPendingJobExecutionsInput struct { _ struct{} `type:"structure"` @@ -350,12 +320,6 @@ func (s *GetPendingJobExecutionsInput) Validate() error { return nil } -// SetThingName sets the ThingName field's value. -func (s *GetPendingJobExecutionsInput) SetThingName(v string) *GetPendingJobExecutionsInput { - s.ThingName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/GetPendingJobExecutionsResponse type GetPendingJobExecutionsOutput struct { _ struct{} `type:"structure"` @@ -384,18 +348,6 @@ func (s GetPendingJobExecutionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInProgressJobs sets the InProgressJobs field's value. -func (s *GetPendingJobExecutionsOutput) SetInProgressJobs(v []JobExecutionSummary) *GetPendingJobExecutionsOutput { - s.InProgressJobs = v - return s -} - -// SetQueuedJobs sets the QueuedJobs field's value. -func (s *GetPendingJobExecutionsOutput) SetQueuedJobs(v []JobExecutionSummary) *GetPendingJobExecutionsOutput { - s.QueuedJobs = v - return s -} - // Contains data about a job execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/JobExecution type JobExecution struct { @@ -446,66 +398,6 @@ func (s JobExecution) GoString() string { return s.String() } -// SetExecutionNumber sets the ExecutionNumber field's value. -func (s *JobExecution) SetExecutionNumber(v int64) *JobExecution { - s.ExecutionNumber = &v - return s -} - -// SetJobDocument sets the JobDocument field's value. -func (s *JobExecution) SetJobDocument(v string) *JobExecution { - s.JobDocument = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *JobExecution) SetJobId(v string) *JobExecution { - s.JobId = &v - return s -} - -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *JobExecution) SetLastUpdatedAt(v int64) *JobExecution { - s.LastUpdatedAt = &v - return s -} - -// SetQueuedAt sets the QueuedAt field's value. -func (s *JobExecution) SetQueuedAt(v int64) *JobExecution { - s.QueuedAt = &v - return s -} - -// SetStartedAt sets the StartedAt field's value. -func (s *JobExecution) SetStartedAt(v int64) *JobExecution { - s.StartedAt = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *JobExecution) SetStatus(v JobExecutionStatus) *JobExecution { - s.Status = v - return s -} - -// SetStatusDetails sets the StatusDetails field's value. -func (s *JobExecution) SetStatusDetails(v map[string]string) *JobExecution { - s.StatusDetails = v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *JobExecution) SetThingName(v string) *JobExecution { - s.ThingName = &v - return s -} - -// SetVersionNumber sets the VersionNumber field's value. -func (s *JobExecution) SetVersionNumber(v int64) *JobExecution { - s.VersionNumber = &v - return s -} - // Contains data about the state of a job execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/JobExecutionState type JobExecutionState struct { @@ -533,24 +425,6 @@ func (s JobExecutionState) GoString() string { return s.String() } -// SetStatus sets the Status field's value. -func (s *JobExecutionState) SetStatus(v JobExecutionStatus) *JobExecutionState { - s.Status = v - return s -} - -// SetStatusDetails sets the StatusDetails field's value. -func (s *JobExecutionState) SetStatusDetails(v map[string]string) *JobExecutionState { - s.StatusDetails = v - return s -} - -// SetVersionNumber sets the VersionNumber field's value. -func (s *JobExecutionState) SetVersionNumber(v int64) *JobExecutionState { - s.VersionNumber = &v - return s -} - // Contains a subset of information about a job execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/JobExecutionSummary type JobExecutionSummary struct { @@ -587,42 +461,6 @@ func (s JobExecutionSummary) GoString() string { return s.String() } -// SetExecutionNumber sets the ExecutionNumber field's value. -func (s *JobExecutionSummary) SetExecutionNumber(v int64) *JobExecutionSummary { - s.ExecutionNumber = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *JobExecutionSummary) SetJobId(v string) *JobExecutionSummary { - s.JobId = &v - return s -} - -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *JobExecutionSummary) SetLastUpdatedAt(v int64) *JobExecutionSummary { - s.LastUpdatedAt = &v - return s -} - -// SetQueuedAt sets the QueuedAt field's value. -func (s *JobExecutionSummary) SetQueuedAt(v int64) *JobExecutionSummary { - s.QueuedAt = &v - return s -} - -// SetStartedAt sets the StartedAt field's value. -func (s *JobExecutionSummary) SetStartedAt(v int64) *JobExecutionSummary { - s.StartedAt = &v - return s -} - -// SetVersionNumber sets the VersionNumber field's value. -func (s *JobExecutionSummary) SetVersionNumber(v int64) *JobExecutionSummary { - s.VersionNumber = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/StartNextPendingJobExecutionRequest type StartNextPendingJobExecutionInput struct { _ struct{} `type:"structure"` @@ -664,18 +502,6 @@ func (s *StartNextPendingJobExecutionInput) Validate() error { return nil } -// SetStatusDetails sets the StatusDetails field's value. -func (s *StartNextPendingJobExecutionInput) SetStatusDetails(v map[string]string) *StartNextPendingJobExecutionInput { - s.StatusDetails = v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *StartNextPendingJobExecutionInput) SetThingName(v string) *StartNextPendingJobExecutionInput { - s.ThingName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/StartNextPendingJobExecutionResponse type StartNextPendingJobExecutionOutput struct { _ struct{} `type:"structure"` @@ -701,12 +527,6 @@ func (s StartNextPendingJobExecutionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExecution sets the Execution field's value. -func (s *StartNextPendingJobExecutionOutput) SetExecution(v *JobExecution) *StartNextPendingJobExecutionOutput { - s.Execution = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/UpdateJobExecutionRequest type UpdateJobExecutionInput struct { _ struct{} `type:"structure"` @@ -790,54 +610,6 @@ func (s *UpdateJobExecutionInput) Validate() error { return nil } -// SetExecutionNumber sets the ExecutionNumber field's value. -func (s *UpdateJobExecutionInput) SetExecutionNumber(v int64) *UpdateJobExecutionInput { - s.ExecutionNumber = &v - return s -} - -// SetExpectedVersion sets the ExpectedVersion field's value. -func (s *UpdateJobExecutionInput) SetExpectedVersion(v int64) *UpdateJobExecutionInput { - s.ExpectedVersion = &v - return s -} - -// SetIncludeJobDocument sets the IncludeJobDocument field's value. -func (s *UpdateJobExecutionInput) SetIncludeJobDocument(v bool) *UpdateJobExecutionInput { - s.IncludeJobDocument = &v - return s -} - -// SetIncludeJobExecutionState sets the IncludeJobExecutionState field's value. -func (s *UpdateJobExecutionInput) SetIncludeJobExecutionState(v bool) *UpdateJobExecutionInput { - s.IncludeJobExecutionState = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *UpdateJobExecutionInput) SetJobId(v string) *UpdateJobExecutionInput { - s.JobId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *UpdateJobExecutionInput) SetStatus(v JobExecutionStatus) *UpdateJobExecutionInput { - s.Status = v - return s -} - -// SetStatusDetails sets the StatusDetails field's value. -func (s *UpdateJobExecutionInput) SetStatusDetails(v map[string]string) *UpdateJobExecutionInput { - s.StatusDetails = v - return s -} - -// SetThingName sets the ThingName field's value. -func (s *UpdateJobExecutionInput) SetThingName(v string) *UpdateJobExecutionInput { - s.ThingName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/UpdateJobExecutionResponse type UpdateJobExecutionOutput struct { _ struct{} `type:"structure"` @@ -866,18 +638,6 @@ func (s UpdateJobExecutionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExecutionState sets the ExecutionState field's value. -func (s *UpdateJobExecutionOutput) SetExecutionState(v *JobExecutionState) *UpdateJobExecutionOutput { - s.ExecutionState = v - return s -} - -// SetJobDocument sets the JobDocument field's value. -func (s *UpdateJobExecutionOutput) SetJobDocument(v string) *UpdateJobExecutionOutput { - s.JobDocument = &v - return s -} - type JobExecutionStatus string // Enum values for JobExecutionStatus diff --git a/service/kinesis/api.go b/service/kinesis/api.go index c765d4e4b1e..67ad0809d0c 100644 --- a/service/kinesis/api.go +++ b/service/kinesis/api.go @@ -1724,18 +1724,6 @@ func (s *AddTagsToStreamInput) Validate() error { return nil } -// SetStreamName sets the StreamName field's value. -func (s *AddTagsToStreamInput) SetStreamName(v string) *AddTagsToStreamInput { - s.StreamName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *AddTagsToStreamInput) SetTags(v map[string]string) *AddTagsToStreamInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/AddTagsToStreamOutput type AddTagsToStreamOutput struct { _ struct{} `type:"structure"` @@ -1816,18 +1804,6 @@ func (s *CreateStreamInput) Validate() error { return nil } -// SetShardCount sets the ShardCount field's value. -func (s *CreateStreamInput) SetShardCount(v int64) *CreateStreamInput { - s.ShardCount = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *CreateStreamInput) SetStreamName(v string) *CreateStreamInput { - s.StreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStreamOutput type CreateStreamOutput struct { _ struct{} `type:"structure"` @@ -1901,18 +1877,6 @@ func (s *DecreaseStreamRetentionPeriodInput) Validate() error { return nil } -// SetRetentionPeriodHours sets the RetentionPeriodHours field's value. -func (s *DecreaseStreamRetentionPeriodInput) SetRetentionPeriodHours(v int64) *DecreaseStreamRetentionPeriodInput { - s.RetentionPeriodHours = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *DecreaseStreamRetentionPeriodInput) SetStreamName(v string) *DecreaseStreamRetentionPeriodInput { - s.StreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DecreaseStreamRetentionPeriodOutput type DecreaseStreamRetentionPeriodOutput struct { _ struct{} `type:"structure"` @@ -1973,12 +1937,6 @@ func (s *DeleteStreamInput) Validate() error { return nil } -// SetStreamName sets the StreamName field's value. -func (s *DeleteStreamInput) SetStreamName(v string) *DeleteStreamInput { - s.StreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DeleteStreamOutput type DeleteStreamOutput struct { _ struct{} `type:"structure"` @@ -2048,18 +2006,6 @@ func (s DescribeLimitsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOpenShardCount sets the OpenShardCount field's value. -func (s *DescribeLimitsOutput) SetOpenShardCount(v int64) *DescribeLimitsOutput { - s.OpenShardCount = &v - return s -} - -// SetShardLimit sets the ShardLimit field's value. -func (s *DescribeLimitsOutput) SetShardLimit(v int64) *DescribeLimitsOutput { - s.ShardLimit = &v - return s -} - // Represents the input for DescribeStream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStreamInput type DescribeStreamInput struct { @@ -2111,24 +2057,6 @@ func (s *DescribeStreamInput) Validate() error { return nil } -// SetExclusiveStartShardId sets the ExclusiveStartShardId field's value. -func (s *DescribeStreamInput) SetExclusiveStartShardId(v string) *DescribeStreamInput { - s.ExclusiveStartShardId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeStreamInput) SetLimit(v int64) *DescribeStreamInput { - s.Limit = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *DescribeStreamInput) SetStreamName(v string) *DescribeStreamInput { - s.StreamName = &v - return s -} - // Represents the output for DescribeStream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStreamOutput type DescribeStreamOutput struct { @@ -2158,12 +2086,6 @@ func (s DescribeStreamOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStreamDescription sets the StreamDescription field's value. -func (s *DescribeStreamOutput) SetStreamDescription(v *StreamDescription) *DescribeStreamOutput { - s.StreamDescription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStreamSummaryInput type DescribeStreamSummaryInput struct { _ struct{} `type:"structure"` @@ -2201,12 +2123,6 @@ func (s *DescribeStreamSummaryInput) Validate() error { return nil } -// SetStreamName sets the StreamName field's value. -func (s *DescribeStreamSummaryInput) SetStreamName(v string) *DescribeStreamSummaryInput { - s.StreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStreamSummaryOutput type DescribeStreamSummaryOutput struct { _ struct{} `type:"structure"` @@ -2234,12 +2150,6 @@ func (s DescribeStreamSummaryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStreamDescriptionSummary sets the StreamDescriptionSummary field's value. -func (s *DescribeStreamSummaryOutput) SetStreamDescriptionSummary(v *StreamDescriptionSummary) *DescribeStreamSummaryOutput { - s.StreamDescriptionSummary = v - return s -} - // Represents the input for DisableEnhancedMonitoring. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DisableEnhancedMonitoringInput type DisableEnhancedMonitoringInput struct { @@ -2313,18 +2223,6 @@ func (s *DisableEnhancedMonitoringInput) Validate() error { return nil } -// SetShardLevelMetrics sets the ShardLevelMetrics field's value. -func (s *DisableEnhancedMonitoringInput) SetShardLevelMetrics(v []MetricsName) *DisableEnhancedMonitoringInput { - s.ShardLevelMetrics = v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *DisableEnhancedMonitoringInput) SetStreamName(v string) *DisableEnhancedMonitoringInput { - s.StreamName = &v - return s -} - // Represents the input for EnableEnhancedMonitoring. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnableEnhancedMonitoringInput type EnableEnhancedMonitoringInput struct { @@ -2398,18 +2296,6 @@ func (s *EnableEnhancedMonitoringInput) Validate() error { return nil } -// SetShardLevelMetrics sets the ShardLevelMetrics field's value. -func (s *EnableEnhancedMonitoringInput) SetShardLevelMetrics(v []MetricsName) *EnableEnhancedMonitoringInput { - s.ShardLevelMetrics = v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *EnableEnhancedMonitoringInput) SetStreamName(v string) *EnableEnhancedMonitoringInput { - s.StreamName = &v - return s -} - // Represents the output for EnableEnhancedMonitoring and DisableEnhancedMonitoring. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DisableEnhancedMonitoringOutput type EnableEnhancedMonitoringOutput struct { @@ -2444,24 +2330,6 @@ func (s EnableEnhancedMonitoringOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCurrentShardLevelMetrics sets the CurrentShardLevelMetrics field's value. -func (s *EnableEnhancedMonitoringOutput) SetCurrentShardLevelMetrics(v []MetricsName) *EnableEnhancedMonitoringOutput { - s.CurrentShardLevelMetrics = v - return s -} - -// SetDesiredShardLevelMetrics sets the DesiredShardLevelMetrics field's value. -func (s *EnableEnhancedMonitoringOutput) SetDesiredShardLevelMetrics(v []MetricsName) *EnableEnhancedMonitoringOutput { - s.DesiredShardLevelMetrics = v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *EnableEnhancedMonitoringOutput) SetStreamName(v string) *EnableEnhancedMonitoringOutput { - s.StreamName = &v - return s -} - // Represents enhanced metrics types. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnhancedMetrics type EnhancedMetrics struct { @@ -2504,12 +2372,6 @@ func (s EnhancedMetrics) GoString() string { return s.String() } -// SetShardLevelMetrics sets the ShardLevelMetrics field's value. -func (s *EnhancedMetrics) SetShardLevelMetrics(v []MetricsName) *EnhancedMetrics { - s.ShardLevelMetrics = v - return s -} - // Represents the input for GetRecords. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetRecordsInput type GetRecordsInput struct { @@ -2557,18 +2419,6 @@ func (s *GetRecordsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *GetRecordsInput) SetLimit(v int64) *GetRecordsInput { - s.Limit = &v - return s -} - -// SetShardIterator sets the ShardIterator field's value. -func (s *GetRecordsInput) SetShardIterator(v string) *GetRecordsInput { - s.ShardIterator = &v - return s -} - // Represents the output for GetRecords. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetRecordsOutput type GetRecordsOutput struct { @@ -2608,24 +2458,6 @@ func (s GetRecordsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMillisBehindLatest sets the MillisBehindLatest field's value. -func (s *GetRecordsOutput) SetMillisBehindLatest(v int64) *GetRecordsOutput { - s.MillisBehindLatest = &v - return s -} - -// SetNextShardIterator sets the NextShardIterator field's value. -func (s *GetRecordsOutput) SetNextShardIterator(v string) *GetRecordsOutput { - s.NextShardIterator = &v - return s -} - -// SetRecords sets the Records field's value. -func (s *GetRecordsOutput) SetRecords(v []Record) *GetRecordsOutput { - s.Records = v - return s -} - // Represents the input for GetShardIterator. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetShardIteratorInput type GetShardIteratorInput struct { @@ -2715,36 +2547,6 @@ func (s *GetShardIteratorInput) Validate() error { return nil } -// SetShardId sets the ShardId field's value. -func (s *GetShardIteratorInput) SetShardId(v string) *GetShardIteratorInput { - s.ShardId = &v - return s -} - -// SetShardIteratorType sets the ShardIteratorType field's value. -func (s *GetShardIteratorInput) SetShardIteratorType(v ShardIteratorType) *GetShardIteratorInput { - s.ShardIteratorType = v - return s -} - -// SetStartingSequenceNumber sets the StartingSequenceNumber field's value. -func (s *GetShardIteratorInput) SetStartingSequenceNumber(v string) *GetShardIteratorInput { - s.StartingSequenceNumber = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *GetShardIteratorInput) SetStreamName(v string) *GetShardIteratorInput { - s.StreamName = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *GetShardIteratorInput) SetTimestamp(v time.Time) *GetShardIteratorInput { - s.Timestamp = &v - return s -} - // Represents the output for GetShardIterator. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetShardIteratorOutput type GetShardIteratorOutput struct { @@ -2773,12 +2575,6 @@ func (s GetShardIteratorOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetShardIterator sets the ShardIterator field's value. -func (s *GetShardIteratorOutput) SetShardIterator(v string) *GetShardIteratorOutput { - s.ShardIterator = &v - return s -} - // The range of possible hash key values for the shard, which is a set of ordered // contiguous positive integers. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/HashKeyRange @@ -2806,18 +2602,6 @@ func (s HashKeyRange) GoString() string { return s.String() } -// SetEndingHashKey sets the EndingHashKey field's value. -func (s *HashKeyRange) SetEndingHashKey(v string) *HashKeyRange { - s.EndingHashKey = &v - return s -} - -// SetStartingHashKey sets the StartingHashKey field's value. -func (s *HashKeyRange) SetStartingHashKey(v string) *HashKeyRange { - s.StartingHashKey = &v - return s -} - // Represents the input for IncreaseStreamRetentionPeriod. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/IncreaseStreamRetentionPeriodInput type IncreaseStreamRetentionPeriodInput struct { @@ -2869,18 +2653,6 @@ func (s *IncreaseStreamRetentionPeriodInput) Validate() error { return nil } -// SetRetentionPeriodHours sets the RetentionPeriodHours field's value. -func (s *IncreaseStreamRetentionPeriodInput) SetRetentionPeriodHours(v int64) *IncreaseStreamRetentionPeriodInput { - s.RetentionPeriodHours = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *IncreaseStreamRetentionPeriodInput) SetStreamName(v string) *IncreaseStreamRetentionPeriodInput { - s.StreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/IncreaseStreamRetentionPeriodOutput type IncreaseStreamRetentionPeriodOutput struct { _ struct{} `type:"structure"` @@ -2941,18 +2713,6 @@ func (s *ListStreamsInput) Validate() error { return nil } -// SetExclusiveStartStreamName sets the ExclusiveStartStreamName field's value. -func (s *ListStreamsInput) SetExclusiveStartStreamName(v string) *ListStreamsInput { - s.ExclusiveStartStreamName = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListStreamsInput) SetLimit(v int64) *ListStreamsInput { - s.Limit = &v - return s -} - // Represents the output for ListStreams. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListStreamsOutput type ListStreamsOutput struct { @@ -2987,18 +2747,6 @@ func (s ListStreamsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHasMoreStreams sets the HasMoreStreams field's value. -func (s *ListStreamsOutput) SetHasMoreStreams(v bool) *ListStreamsOutput { - s.HasMoreStreams = &v - return s -} - -// SetStreamNames sets the StreamNames field's value. -func (s *ListStreamsOutput) SetStreamNames(v []string) *ListStreamsOutput { - s.StreamNames = v - return s -} - // Represents the input for ListTagsForStream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListTagsForStreamInput type ListTagsForStreamInput struct { @@ -3052,24 +2800,6 @@ func (s *ListTagsForStreamInput) Validate() error { return nil } -// SetExclusiveStartTagKey sets the ExclusiveStartTagKey field's value. -func (s *ListTagsForStreamInput) SetExclusiveStartTagKey(v string) *ListTagsForStreamInput { - s.ExclusiveStartTagKey = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListTagsForStreamInput) SetLimit(v int64) *ListTagsForStreamInput { - s.Limit = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *ListTagsForStreamInput) SetStreamName(v string) *ListTagsForStreamInput { - s.StreamName = &v - return s -} - // Represents the output for ListTagsForStream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListTagsForStreamOutput type ListTagsForStreamOutput struct { @@ -3105,18 +2835,6 @@ func (s ListTagsForStreamOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHasMoreTags sets the HasMoreTags field's value. -func (s *ListTagsForStreamOutput) SetHasMoreTags(v bool) *ListTagsForStreamOutput { - s.HasMoreTags = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *ListTagsForStreamOutput) SetTags(v []Tag) *ListTagsForStreamOutput { - s.Tags = v - return s -} - // Represents the input for MergeShards. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/MergeShardsInput type MergeShardsInput struct { @@ -3179,24 +2897,6 @@ func (s *MergeShardsInput) Validate() error { return nil } -// SetAdjacentShardToMerge sets the AdjacentShardToMerge field's value. -func (s *MergeShardsInput) SetAdjacentShardToMerge(v string) *MergeShardsInput { - s.AdjacentShardToMerge = &v - return s -} - -// SetShardToMerge sets the ShardToMerge field's value. -func (s *MergeShardsInput) SetShardToMerge(v string) *MergeShardsInput { - s.ShardToMerge = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *MergeShardsInput) SetStreamName(v string) *MergeShardsInput { - s.StreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/MergeShardsOutput type MergeShardsOutput struct { _ struct{} `type:"structure"` @@ -3301,36 +3001,6 @@ func (s *PutRecordInput) Validate() error { return nil } -// SetData sets the Data field's value. -func (s *PutRecordInput) SetData(v []byte) *PutRecordInput { - s.Data = v - return s -} - -// SetExplicitHashKey sets the ExplicitHashKey field's value. -func (s *PutRecordInput) SetExplicitHashKey(v string) *PutRecordInput { - s.ExplicitHashKey = &v - return s -} - -// SetPartitionKey sets the PartitionKey field's value. -func (s *PutRecordInput) SetPartitionKey(v string) *PutRecordInput { - s.PartitionKey = &v - return s -} - -// SetSequenceNumberForOrdering sets the SequenceNumberForOrdering field's value. -func (s *PutRecordInput) SetSequenceNumberForOrdering(v string) *PutRecordInput { - s.SequenceNumberForOrdering = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *PutRecordInput) SetStreamName(v string) *PutRecordInput { - s.StreamName = &v - return s -} - // Represents the output for PutRecord. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordOutput type PutRecordOutput struct { @@ -3376,24 +3046,6 @@ func (s PutRecordOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEncryptionType sets the EncryptionType field's value. -func (s *PutRecordOutput) SetEncryptionType(v EncryptionType) *PutRecordOutput { - s.EncryptionType = v - return s -} - -// SetSequenceNumber sets the SequenceNumber field's value. -func (s *PutRecordOutput) SetSequenceNumber(v string) *PutRecordOutput { - s.SequenceNumber = &v - return s -} - -// SetShardId sets the ShardId field's value. -func (s *PutRecordOutput) SetShardId(v string) *PutRecordOutput { - s.ShardId = &v - return s -} - // A PutRecords request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordsInput type PutRecordsInput struct { @@ -3451,18 +3103,6 @@ func (s *PutRecordsInput) Validate() error { return nil } -// SetRecords sets the Records field's value. -func (s *PutRecordsInput) SetRecords(v []PutRecordsRequestEntry) *PutRecordsInput { - s.Records = v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *PutRecordsInput) SetStreamName(v string) *PutRecordsInput { - s.StreamName = &v - return s -} - // PutRecords results. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordsOutput type PutRecordsOutput struct { @@ -3507,24 +3147,6 @@ func (s PutRecordsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEncryptionType sets the EncryptionType field's value. -func (s *PutRecordsOutput) SetEncryptionType(v EncryptionType) *PutRecordsOutput { - s.EncryptionType = v - return s -} - -// SetFailedRecordCount sets the FailedRecordCount field's value. -func (s *PutRecordsOutput) SetFailedRecordCount(v int64) *PutRecordsOutput { - s.FailedRecordCount = &v - return s -} - -// SetRecords sets the Records field's value. -func (s *PutRecordsOutput) SetRecords(v []PutRecordsResultEntry) *PutRecordsOutput { - s.Records = v - return s -} - // Represents the output for PutRecords. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecordsRequestEntry type PutRecordsRequestEntry struct { @@ -3588,24 +3210,6 @@ func (s *PutRecordsRequestEntry) Validate() error { return nil } -// SetData sets the Data field's value. -func (s *PutRecordsRequestEntry) SetData(v []byte) *PutRecordsRequestEntry { - s.Data = v - return s -} - -// SetExplicitHashKey sets the ExplicitHashKey field's value. -func (s *PutRecordsRequestEntry) SetExplicitHashKey(v string) *PutRecordsRequestEntry { - s.ExplicitHashKey = &v - return s -} - -// SetPartitionKey sets the PartitionKey field's value. -func (s *PutRecordsRequestEntry) SetPartitionKey(v string) *PutRecordsRequestEntry { - s.PartitionKey = &v - return s -} - // Represents the result of an individual record from a PutRecords request. // A record that is successfully added to a stream includes SequenceNumber and // ShardId in the result. A record that fails to be added to the stream includes @@ -3641,30 +3245,6 @@ func (s PutRecordsResultEntry) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *PutRecordsResultEntry) SetErrorCode(v string) *PutRecordsResultEntry { - s.ErrorCode = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *PutRecordsResultEntry) SetErrorMessage(v string) *PutRecordsResultEntry { - s.ErrorMessage = &v - return s -} - -// SetSequenceNumber sets the SequenceNumber field's value. -func (s *PutRecordsResultEntry) SetSequenceNumber(v string) *PutRecordsResultEntry { - s.SequenceNumber = &v - return s -} - -// SetShardId sets the ShardId field's value. -func (s *PutRecordsResultEntry) SetShardId(v string) *PutRecordsResultEntry { - s.ShardId = &v - return s -} - // The unit of data of the Kinesis stream, which is composed of a sequence number, // a partition key, and a data blob. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/Record @@ -3715,36 +3295,6 @@ func (s Record) GoString() string { return s.String() } -// SetApproximateArrivalTimestamp sets the ApproximateArrivalTimestamp field's value. -func (s *Record) SetApproximateArrivalTimestamp(v time.Time) *Record { - s.ApproximateArrivalTimestamp = &v - return s -} - -// SetData sets the Data field's value. -func (s *Record) SetData(v []byte) *Record { - s.Data = v - return s -} - -// SetEncryptionType sets the EncryptionType field's value. -func (s *Record) SetEncryptionType(v EncryptionType) *Record { - s.EncryptionType = v - return s -} - -// SetPartitionKey sets the PartitionKey field's value. -func (s *Record) SetPartitionKey(v string) *Record { - s.PartitionKey = &v - return s -} - -// SetSequenceNumber sets the SequenceNumber field's value. -func (s *Record) SetSequenceNumber(v string) *Record { - s.SequenceNumber = &v - return s -} - // Represents the input for RemoveTagsFromStream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/RemoveTagsFromStreamInput type RemoveTagsFromStreamInput struct { @@ -3795,18 +3345,6 @@ func (s *RemoveTagsFromStreamInput) Validate() error { return nil } -// SetStreamName sets the StreamName field's value. -func (s *RemoveTagsFromStreamInput) SetStreamName(v string) *RemoveTagsFromStreamInput { - s.StreamName = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *RemoveTagsFromStreamInput) SetTagKeys(v []string) *RemoveTagsFromStreamInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/RemoveTagsFromStreamOutput type RemoveTagsFromStreamOutput struct { _ struct{} `type:"structure"` @@ -3854,18 +3392,6 @@ func (s SequenceNumberRange) GoString() string { return s.String() } -// SetEndingSequenceNumber sets the EndingSequenceNumber field's value. -func (s *SequenceNumberRange) SetEndingSequenceNumber(v string) *SequenceNumberRange { - s.EndingSequenceNumber = &v - return s -} - -// SetStartingSequenceNumber sets the StartingSequenceNumber field's value. -func (s *SequenceNumberRange) SetStartingSequenceNumber(v string) *SequenceNumberRange { - s.StartingSequenceNumber = &v - return s -} - // A uniquely identified group of data records in a Kinesis stream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/Shard type Shard struct { @@ -3904,36 +3430,6 @@ func (s Shard) GoString() string { return s.String() } -// SetAdjacentParentShardId sets the AdjacentParentShardId field's value. -func (s *Shard) SetAdjacentParentShardId(v string) *Shard { - s.AdjacentParentShardId = &v - return s -} - -// SetHashKeyRange sets the HashKeyRange field's value. -func (s *Shard) SetHashKeyRange(v *HashKeyRange) *Shard { - s.HashKeyRange = v - return s -} - -// SetParentShardId sets the ParentShardId field's value. -func (s *Shard) SetParentShardId(v string) *Shard { - s.ParentShardId = &v - return s -} - -// SetSequenceNumberRange sets the SequenceNumberRange field's value. -func (s *Shard) SetSequenceNumberRange(v *SequenceNumberRange) *Shard { - s.SequenceNumberRange = v - return s -} - -// SetShardId sets the ShardId field's value. -func (s *Shard) SetShardId(v string) *Shard { - s.ShardId = &v - return s -} - // Represents the input for SplitShard. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SplitShardInput type SplitShardInput struct { @@ -3999,24 +3495,6 @@ func (s *SplitShardInput) Validate() error { return nil } -// SetNewStartingHashKey sets the NewStartingHashKey field's value. -func (s *SplitShardInput) SetNewStartingHashKey(v string) *SplitShardInput { - s.NewStartingHashKey = &v - return s -} - -// SetShardToSplit sets the ShardToSplit field's value. -func (s *SplitShardInput) SetShardToSplit(v string) *SplitShardInput { - s.ShardToSplit = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *SplitShardInput) SetStreamName(v string) *SplitShardInput { - s.StreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SplitShardOutput type SplitShardOutput struct { _ struct{} `type:"structure"` @@ -4109,24 +3587,6 @@ func (s *StartStreamEncryptionInput) Validate() error { return nil } -// SetEncryptionType sets the EncryptionType field's value. -func (s *StartStreamEncryptionInput) SetEncryptionType(v EncryptionType) *StartStreamEncryptionInput { - s.EncryptionType = v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *StartStreamEncryptionInput) SetKeyId(v string) *StartStreamEncryptionInput { - s.KeyId = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *StartStreamEncryptionInput) SetStreamName(v string) *StartStreamEncryptionInput { - s.StreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StartStreamEncryptionOutput type StartStreamEncryptionOutput struct { _ struct{} `type:"structure"` @@ -4219,24 +3679,6 @@ func (s *StopStreamEncryptionInput) Validate() error { return nil } -// SetEncryptionType sets the EncryptionType field's value. -func (s *StopStreamEncryptionInput) SetEncryptionType(v EncryptionType) *StopStreamEncryptionInput { - s.EncryptionType = v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *StopStreamEncryptionInput) SetKeyId(v string) *StopStreamEncryptionInput { - s.KeyId = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *StopStreamEncryptionInput) SetStreamName(v string) *StopStreamEncryptionInput { - s.StreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StopStreamEncryptionOutput type StopStreamEncryptionOutput struct { _ struct{} `type:"structure"` @@ -4355,66 +3797,6 @@ func (s StreamDescription) GoString() string { return s.String() } -// SetEncryptionType sets the EncryptionType field's value. -func (s *StreamDescription) SetEncryptionType(v EncryptionType) *StreamDescription { - s.EncryptionType = v - return s -} - -// SetEnhancedMonitoring sets the EnhancedMonitoring field's value. -func (s *StreamDescription) SetEnhancedMonitoring(v []EnhancedMetrics) *StreamDescription { - s.EnhancedMonitoring = v - return s -} - -// SetHasMoreShards sets the HasMoreShards field's value. -func (s *StreamDescription) SetHasMoreShards(v bool) *StreamDescription { - s.HasMoreShards = &v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *StreamDescription) SetKeyId(v string) *StreamDescription { - s.KeyId = &v - return s -} - -// SetRetentionPeriodHours sets the RetentionPeriodHours field's value. -func (s *StreamDescription) SetRetentionPeriodHours(v int64) *StreamDescription { - s.RetentionPeriodHours = &v - return s -} - -// SetShards sets the Shards field's value. -func (s *StreamDescription) SetShards(v []Shard) *StreamDescription { - s.Shards = v - return s -} - -// SetStreamARN sets the StreamARN field's value. -func (s *StreamDescription) SetStreamARN(v string) *StreamDescription { - s.StreamARN = &v - return s -} - -// SetStreamCreationTimestamp sets the StreamCreationTimestamp field's value. -func (s *StreamDescription) SetStreamCreationTimestamp(v time.Time) *StreamDescription { - s.StreamCreationTimestamp = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *StreamDescription) SetStreamName(v string) *StreamDescription { - s.StreamName = &v - return s -} - -// SetStreamStatus sets the StreamStatus field's value. -func (s *StreamDescription) SetStreamStatus(v StreamStatus) *StreamDescription { - s.StreamStatus = v - return s -} - // Represents the output for DescribeStreamSummary // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StreamDescriptionSummary type StreamDescriptionSummary struct { @@ -4504,60 +3886,6 @@ func (s StreamDescriptionSummary) GoString() string { return s.String() } -// SetEncryptionType sets the EncryptionType field's value. -func (s *StreamDescriptionSummary) SetEncryptionType(v EncryptionType) *StreamDescriptionSummary { - s.EncryptionType = v - return s -} - -// SetEnhancedMonitoring sets the EnhancedMonitoring field's value. -func (s *StreamDescriptionSummary) SetEnhancedMonitoring(v []EnhancedMetrics) *StreamDescriptionSummary { - s.EnhancedMonitoring = v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *StreamDescriptionSummary) SetKeyId(v string) *StreamDescriptionSummary { - s.KeyId = &v - return s -} - -// SetOpenShardCount sets the OpenShardCount field's value. -func (s *StreamDescriptionSummary) SetOpenShardCount(v int64) *StreamDescriptionSummary { - s.OpenShardCount = &v - return s -} - -// SetRetentionPeriodHours sets the RetentionPeriodHours field's value. -func (s *StreamDescriptionSummary) SetRetentionPeriodHours(v int64) *StreamDescriptionSummary { - s.RetentionPeriodHours = &v - return s -} - -// SetStreamARN sets the StreamARN field's value. -func (s *StreamDescriptionSummary) SetStreamARN(v string) *StreamDescriptionSummary { - s.StreamARN = &v - return s -} - -// SetStreamCreationTimestamp sets the StreamCreationTimestamp field's value. -func (s *StreamDescriptionSummary) SetStreamCreationTimestamp(v time.Time) *StreamDescriptionSummary { - s.StreamCreationTimestamp = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *StreamDescriptionSummary) SetStreamName(v string) *StreamDescriptionSummary { - s.StreamName = &v - return s -} - -// SetStreamStatus sets the StreamStatus field's value. -func (s *StreamDescriptionSummary) SetStreamStatus(v StreamStatus) *StreamDescriptionSummary { - s.StreamStatus = v - return s -} - // Metadata assigned to the stream, consisting of a key-value pair. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/Tag type Tag struct { @@ -4585,18 +3913,6 @@ func (s Tag) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateShardCountInput type UpdateShardCountInput struct { _ struct{} `type:"structure"` @@ -4654,24 +3970,6 @@ func (s *UpdateShardCountInput) Validate() error { return nil } -// SetScalingType sets the ScalingType field's value. -func (s *UpdateShardCountInput) SetScalingType(v ScalingType) *UpdateShardCountInput { - s.ScalingType = v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *UpdateShardCountInput) SetStreamName(v string) *UpdateShardCountInput { - s.StreamName = &v - return s -} - -// SetTargetShardCount sets the TargetShardCount field's value. -func (s *UpdateShardCountInput) SetTargetShardCount(v int64) *UpdateShardCountInput { - s.TargetShardCount = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateShardCountOutput type UpdateShardCountOutput struct { _ struct{} `type:"structure"` @@ -4703,24 +4001,6 @@ func (s UpdateShardCountOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCurrentShardCount sets the CurrentShardCount field's value. -func (s *UpdateShardCountOutput) SetCurrentShardCount(v int64) *UpdateShardCountOutput { - s.CurrentShardCount = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *UpdateShardCountOutput) SetStreamName(v string) *UpdateShardCountOutput { - s.StreamName = &v - return s -} - -// SetTargetShardCount sets the TargetShardCount field's value. -func (s *UpdateShardCountOutput) SetTargetShardCount(v int64) *UpdateShardCountOutput { - s.TargetShardCount = &v - return s -} - type EncryptionType string // Enum values for EncryptionType diff --git a/service/kinesisanalytics/api.go b/service/kinesisanalytics/api.go index 1e67ae0a5d7..613b75ef9dc 100644 --- a/service/kinesisanalytics/api.go +++ b/service/kinesisanalytics/api.go @@ -1062,24 +1062,6 @@ func (s *AddApplicationCloudWatchLoggingOptionInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *AddApplicationCloudWatchLoggingOptionInput) SetApplicationName(v string) *AddApplicationCloudWatchLoggingOptionInput { - s.ApplicationName = &v - return s -} - -// SetCloudWatchLoggingOption sets the CloudWatchLoggingOption field's value. -func (s *AddApplicationCloudWatchLoggingOptionInput) SetCloudWatchLoggingOption(v *CloudWatchLoggingOption) *AddApplicationCloudWatchLoggingOptionInput { - s.CloudWatchLoggingOption = v - return s -} - -// SetCurrentApplicationVersionId sets the CurrentApplicationVersionId field's value. -func (s *AddApplicationCloudWatchLoggingOptionInput) SetCurrentApplicationVersionId(v int64) *AddApplicationCloudWatchLoggingOptionInput { - s.CurrentApplicationVersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationCloudWatchLoggingOptionResponse type AddApplicationCloudWatchLoggingOptionOutput struct { _ struct{} `type:"structure"` @@ -1167,24 +1149,6 @@ func (s *AddApplicationInputInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *AddApplicationInputInput) SetApplicationName(v string) *AddApplicationInputInput { - s.ApplicationName = &v - return s -} - -// SetCurrentApplicationVersionId sets the CurrentApplicationVersionId field's value. -func (s *AddApplicationInputInput) SetCurrentApplicationVersionId(v int64) *AddApplicationInputInput { - s.CurrentApplicationVersionId = &v - return s -} - -// SetInput sets the Input field's value. -func (s *AddApplicationInputInput) SetInput(v *Input) *AddApplicationInputInput { - s.Input = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationInputResponse type AddApplicationInputOutput struct { _ struct{} `type:"structure"` @@ -1287,30 +1251,6 @@ func (s *AddApplicationInputProcessingConfigurationInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *AddApplicationInputProcessingConfigurationInput) SetApplicationName(v string) *AddApplicationInputProcessingConfigurationInput { - s.ApplicationName = &v - return s -} - -// SetCurrentApplicationVersionId sets the CurrentApplicationVersionId field's value. -func (s *AddApplicationInputProcessingConfigurationInput) SetCurrentApplicationVersionId(v int64) *AddApplicationInputProcessingConfigurationInput { - s.CurrentApplicationVersionId = &v - return s -} - -// SetInputId sets the InputId field's value. -func (s *AddApplicationInputProcessingConfigurationInput) SetInputId(v string) *AddApplicationInputProcessingConfigurationInput { - s.InputId = &v - return s -} - -// SetInputProcessingConfiguration sets the InputProcessingConfiguration field's value. -func (s *AddApplicationInputProcessingConfigurationInput) SetInputProcessingConfiguration(v *InputProcessingConfiguration) *AddApplicationInputProcessingConfigurationInput { - s.InputProcessingConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationInputProcessingConfigurationResponse type AddApplicationInputProcessingConfigurationOutput struct { _ struct{} `type:"structure"` @@ -1403,24 +1343,6 @@ func (s *AddApplicationOutputInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *AddApplicationOutputInput) SetApplicationName(v string) *AddApplicationOutputInput { - s.ApplicationName = &v - return s -} - -// SetCurrentApplicationVersionId sets the CurrentApplicationVersionId field's value. -func (s *AddApplicationOutputInput) SetCurrentApplicationVersionId(v int64) *AddApplicationOutputInput { - s.CurrentApplicationVersionId = &v - return s -} - -// SetOutput sets the Output field's value. -func (s *AddApplicationOutputInput) SetOutput(v *Output) *AddApplicationOutputInput { - s.Output = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationOutputResponse type AddApplicationOutputOutput struct { _ struct{} `type:"structure"` @@ -1514,24 +1436,6 @@ func (s *AddApplicationReferenceDataSourceInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *AddApplicationReferenceDataSourceInput) SetApplicationName(v string) *AddApplicationReferenceDataSourceInput { - s.ApplicationName = &v - return s -} - -// SetCurrentApplicationVersionId sets the CurrentApplicationVersionId field's value. -func (s *AddApplicationReferenceDataSourceInput) SetCurrentApplicationVersionId(v int64) *AddApplicationReferenceDataSourceInput { - s.CurrentApplicationVersionId = &v - return s -} - -// SetReferenceDataSource sets the ReferenceDataSource field's value. -func (s *AddApplicationReferenceDataSourceInput) SetReferenceDataSource(v *ReferenceDataSource) *AddApplicationReferenceDataSourceInput { - s.ReferenceDataSource = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationReferenceDataSourceResponse type AddApplicationReferenceDataSourceOutput struct { _ struct{} `type:"structure"` @@ -1621,78 +1525,6 @@ func (s ApplicationDetail) GoString() string { return s.String() } -// SetApplicationARN sets the ApplicationARN field's value. -func (s *ApplicationDetail) SetApplicationARN(v string) *ApplicationDetail { - s.ApplicationARN = &v - return s -} - -// SetApplicationCode sets the ApplicationCode field's value. -func (s *ApplicationDetail) SetApplicationCode(v string) *ApplicationDetail { - s.ApplicationCode = &v - return s -} - -// SetApplicationDescription sets the ApplicationDescription field's value. -func (s *ApplicationDetail) SetApplicationDescription(v string) *ApplicationDetail { - s.ApplicationDescription = &v - return s -} - -// SetApplicationName sets the ApplicationName field's value. -func (s *ApplicationDetail) SetApplicationName(v string) *ApplicationDetail { - s.ApplicationName = &v - return s -} - -// SetApplicationStatus sets the ApplicationStatus field's value. -func (s *ApplicationDetail) SetApplicationStatus(v ApplicationStatus) *ApplicationDetail { - s.ApplicationStatus = v - return s -} - -// SetApplicationVersionId sets the ApplicationVersionId field's value. -func (s *ApplicationDetail) SetApplicationVersionId(v int64) *ApplicationDetail { - s.ApplicationVersionId = &v - return s -} - -// SetCloudWatchLoggingOptionDescriptions sets the CloudWatchLoggingOptionDescriptions field's value. -func (s *ApplicationDetail) SetCloudWatchLoggingOptionDescriptions(v []CloudWatchLoggingOptionDescription) *ApplicationDetail { - s.CloudWatchLoggingOptionDescriptions = v - return s -} - -// SetCreateTimestamp sets the CreateTimestamp field's value. -func (s *ApplicationDetail) SetCreateTimestamp(v time.Time) *ApplicationDetail { - s.CreateTimestamp = &v - return s -} - -// SetInputDescriptions sets the InputDescriptions field's value. -func (s *ApplicationDetail) SetInputDescriptions(v []InputDescription) *ApplicationDetail { - s.InputDescriptions = v - return s -} - -// SetLastUpdateTimestamp sets the LastUpdateTimestamp field's value. -func (s *ApplicationDetail) SetLastUpdateTimestamp(v time.Time) *ApplicationDetail { - s.LastUpdateTimestamp = &v - return s -} - -// SetOutputDescriptions sets the OutputDescriptions field's value. -func (s *ApplicationDetail) SetOutputDescriptions(v []OutputDescription) *ApplicationDetail { - s.OutputDescriptions = v - return s -} - -// SetReferenceDataSourceDescriptions sets the ReferenceDataSourceDescriptions field's value. -func (s *ApplicationDetail) SetReferenceDataSourceDescriptions(v []ReferenceDataSourceDescription) *ApplicationDetail { - s.ReferenceDataSourceDescriptions = v - return s -} - // Provides application summary information, including the application Amazon // Resource Name (ARN), name, and status. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/ApplicationSummary @@ -1725,24 +1557,6 @@ func (s ApplicationSummary) GoString() string { return s.String() } -// SetApplicationARN sets the ApplicationARN field's value. -func (s *ApplicationSummary) SetApplicationARN(v string) *ApplicationSummary { - s.ApplicationARN = &v - return s -} - -// SetApplicationName sets the ApplicationName field's value. -func (s *ApplicationSummary) SetApplicationName(v string) *ApplicationSummary { - s.ApplicationName = &v - return s -} - -// SetApplicationStatus sets the ApplicationStatus field's value. -func (s *ApplicationSummary) SetApplicationStatus(v ApplicationStatus) *ApplicationSummary { - s.ApplicationStatus = v - return s -} - // Describes updates to apply to an existing Amazon Kinesis Analytics application. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/ApplicationUpdate type ApplicationUpdate struct { @@ -1812,36 +1626,6 @@ func (s *ApplicationUpdate) Validate() error { return nil } -// SetApplicationCodeUpdate sets the ApplicationCodeUpdate field's value. -func (s *ApplicationUpdate) SetApplicationCodeUpdate(v string) *ApplicationUpdate { - s.ApplicationCodeUpdate = &v - return s -} - -// SetCloudWatchLoggingOptionUpdates sets the CloudWatchLoggingOptionUpdates field's value. -func (s *ApplicationUpdate) SetCloudWatchLoggingOptionUpdates(v []CloudWatchLoggingOptionUpdate) *ApplicationUpdate { - s.CloudWatchLoggingOptionUpdates = v - return s -} - -// SetInputUpdates sets the InputUpdates field's value. -func (s *ApplicationUpdate) SetInputUpdates(v []InputUpdate) *ApplicationUpdate { - s.InputUpdates = v - return s -} - -// SetOutputUpdates sets the OutputUpdates field's value. -func (s *ApplicationUpdate) SetOutputUpdates(v []OutputUpdate) *ApplicationUpdate { - s.OutputUpdates = v - return s -} - -// SetReferenceDataSourceUpdates sets the ReferenceDataSourceUpdates field's value. -func (s *ApplicationUpdate) SetReferenceDataSourceUpdates(v []ReferenceDataSourceUpdate) *ApplicationUpdate { - s.ReferenceDataSourceUpdates = v - return s -} - // Provides additional mapping information when the record format uses delimiters, // such as CSV. For example, the following sample records use CSV format, where // the records use the '\n' as the row delimiter and a comma (",") as the column @@ -1900,18 +1684,6 @@ func (s *CSVMappingParameters) Validate() error { return nil } -// SetRecordColumnDelimiter sets the RecordColumnDelimiter field's value. -func (s *CSVMappingParameters) SetRecordColumnDelimiter(v string) *CSVMappingParameters { - s.RecordColumnDelimiter = &v - return s -} - -// SetRecordRowDelimiter sets the RecordRowDelimiter field's value. -func (s *CSVMappingParameters) SetRecordRowDelimiter(v string) *CSVMappingParameters { - s.RecordRowDelimiter = &v - return s -} - // Provides a description of CloudWatch logging options, including the log stream // Amazon Resource Name (ARN) and the role ARN. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/CloudWatchLoggingOption @@ -1965,18 +1737,6 @@ func (s *CloudWatchLoggingOption) Validate() error { return nil } -// SetLogStreamARN sets the LogStreamARN field's value. -func (s *CloudWatchLoggingOption) SetLogStreamARN(v string) *CloudWatchLoggingOption { - s.LogStreamARN = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *CloudWatchLoggingOption) SetRoleARN(v string) *CloudWatchLoggingOption { - s.RoleARN = &v - return s -} - // Description of the CloudWatch logging option. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/CloudWatchLoggingOptionDescription type CloudWatchLoggingOptionDescription struct { @@ -2008,24 +1768,6 @@ func (s CloudWatchLoggingOptionDescription) GoString() string { return s.String() } -// SetCloudWatchLoggingOptionId sets the CloudWatchLoggingOptionId field's value. -func (s *CloudWatchLoggingOptionDescription) SetCloudWatchLoggingOptionId(v string) *CloudWatchLoggingOptionDescription { - s.CloudWatchLoggingOptionId = &v - return s -} - -// SetLogStreamARN sets the LogStreamARN field's value. -func (s *CloudWatchLoggingOptionDescription) SetLogStreamARN(v string) *CloudWatchLoggingOptionDescription { - s.LogStreamARN = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *CloudWatchLoggingOptionDescription) SetRoleARN(v string) *CloudWatchLoggingOptionDescription { - s.RoleARN = &v - return s -} - // Describes CloudWatch logging option updates. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/CloudWatchLoggingOptionUpdate type CloudWatchLoggingOptionUpdate struct { @@ -2078,24 +1820,6 @@ func (s *CloudWatchLoggingOptionUpdate) Validate() error { return nil } -// SetCloudWatchLoggingOptionId sets the CloudWatchLoggingOptionId field's value. -func (s *CloudWatchLoggingOptionUpdate) SetCloudWatchLoggingOptionId(v string) *CloudWatchLoggingOptionUpdate { - s.CloudWatchLoggingOptionId = &v - return s -} - -// SetLogStreamARNUpdate sets the LogStreamARNUpdate field's value. -func (s *CloudWatchLoggingOptionUpdate) SetLogStreamARNUpdate(v string) *CloudWatchLoggingOptionUpdate { - s.LogStreamARNUpdate = &v - return s -} - -// SetRoleARNUpdate sets the RoleARNUpdate field's value. -func (s *CloudWatchLoggingOptionUpdate) SetRoleARNUpdate(v string) *CloudWatchLoggingOptionUpdate { - s.RoleARNUpdate = &v - return s -} - // TBD // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/CreateApplicationRequest type CreateApplicationInput struct { @@ -2217,42 +1941,6 @@ func (s *CreateApplicationInput) Validate() error { return nil } -// SetApplicationCode sets the ApplicationCode field's value. -func (s *CreateApplicationInput) SetApplicationCode(v string) *CreateApplicationInput { - s.ApplicationCode = &v - return s -} - -// SetApplicationDescription sets the ApplicationDescription field's value. -func (s *CreateApplicationInput) SetApplicationDescription(v string) *CreateApplicationInput { - s.ApplicationDescription = &v - return s -} - -// SetApplicationName sets the ApplicationName field's value. -func (s *CreateApplicationInput) SetApplicationName(v string) *CreateApplicationInput { - s.ApplicationName = &v - return s -} - -// SetCloudWatchLoggingOptions sets the CloudWatchLoggingOptions field's value. -func (s *CreateApplicationInput) SetCloudWatchLoggingOptions(v []CloudWatchLoggingOption) *CreateApplicationInput { - s.CloudWatchLoggingOptions = v - return s -} - -// SetInputs sets the Inputs field's value. -func (s *CreateApplicationInput) SetInputs(v []Input) *CreateApplicationInput { - s.Inputs = v - return s -} - -// SetOutputs sets the Outputs field's value. -func (s *CreateApplicationInput) SetOutputs(v []Output) *CreateApplicationInput { - s.Outputs = v - return s -} - // TBD // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/CreateApplicationResponse type CreateApplicationOutput struct { @@ -2283,12 +1971,6 @@ func (s CreateApplicationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationSummary sets the ApplicationSummary field's value. -func (s *CreateApplicationOutput) SetApplicationSummary(v *ApplicationSummary) *CreateApplicationOutput { - s.ApplicationSummary = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationCloudWatchLoggingOptionRequest type DeleteApplicationCloudWatchLoggingOptionInput struct { _ struct{} `type:"structure"` @@ -2352,24 +2034,6 @@ func (s *DeleteApplicationCloudWatchLoggingOptionInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *DeleteApplicationCloudWatchLoggingOptionInput) SetApplicationName(v string) *DeleteApplicationCloudWatchLoggingOptionInput { - s.ApplicationName = &v - return s -} - -// SetCloudWatchLoggingOptionId sets the CloudWatchLoggingOptionId field's value. -func (s *DeleteApplicationCloudWatchLoggingOptionInput) SetCloudWatchLoggingOptionId(v string) *DeleteApplicationCloudWatchLoggingOptionInput { - s.CloudWatchLoggingOptionId = &v - return s -} - -// SetCurrentApplicationVersionId sets the CurrentApplicationVersionId field's value. -func (s *DeleteApplicationCloudWatchLoggingOptionInput) SetCurrentApplicationVersionId(v int64) *DeleteApplicationCloudWatchLoggingOptionInput { - s.CurrentApplicationVersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationCloudWatchLoggingOptionResponse type DeleteApplicationCloudWatchLoggingOptionOutput struct { _ struct{} `type:"structure"` @@ -2438,18 +2102,6 @@ func (s *DeleteApplicationInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *DeleteApplicationInput) SetApplicationName(v string) *DeleteApplicationInput { - s.ApplicationName = &v - return s -} - -// SetCreateTimestamp sets the CreateTimestamp field's value. -func (s *DeleteApplicationInput) SetCreateTimestamp(v time.Time) *DeleteApplicationInput { - s.CreateTimestamp = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationInputProcessingConfigurationRequest type DeleteApplicationInputProcessingConfigurationInput struct { _ struct{} `type:"structure"` @@ -2513,24 +2165,6 @@ func (s *DeleteApplicationInputProcessingConfigurationInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *DeleteApplicationInputProcessingConfigurationInput) SetApplicationName(v string) *DeleteApplicationInputProcessingConfigurationInput { - s.ApplicationName = &v - return s -} - -// SetCurrentApplicationVersionId sets the CurrentApplicationVersionId field's value. -func (s *DeleteApplicationInputProcessingConfigurationInput) SetCurrentApplicationVersionId(v int64) *DeleteApplicationInputProcessingConfigurationInput { - s.CurrentApplicationVersionId = &v - return s -} - -// SetInputId sets the InputId field's value. -func (s *DeleteApplicationInputProcessingConfigurationInput) SetInputId(v string) *DeleteApplicationInputProcessingConfigurationInput { - s.InputId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationInputProcessingConfigurationResponse type DeleteApplicationInputProcessingConfigurationOutput struct { _ struct{} `type:"structure"` @@ -2643,24 +2277,6 @@ func (s *DeleteApplicationOutputInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *DeleteApplicationOutputInput) SetApplicationName(v string) *DeleteApplicationOutputInput { - s.ApplicationName = &v - return s -} - -// SetCurrentApplicationVersionId sets the CurrentApplicationVersionId field's value. -func (s *DeleteApplicationOutputInput) SetCurrentApplicationVersionId(v int64) *DeleteApplicationOutputInput { - s.CurrentApplicationVersionId = &v - return s -} - -// SetOutputId sets the OutputId field's value. -func (s *DeleteApplicationOutputInput) SetOutputId(v string) *DeleteApplicationOutputInput { - s.OutputId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationOutputResponse type DeleteApplicationOutputOutput struct { _ struct{} `type:"structure"` @@ -2749,24 +2365,6 @@ func (s *DeleteApplicationReferenceDataSourceInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *DeleteApplicationReferenceDataSourceInput) SetApplicationName(v string) *DeleteApplicationReferenceDataSourceInput { - s.ApplicationName = &v - return s -} - -// SetCurrentApplicationVersionId sets the CurrentApplicationVersionId field's value. -func (s *DeleteApplicationReferenceDataSourceInput) SetCurrentApplicationVersionId(v int64) *DeleteApplicationReferenceDataSourceInput { - s.CurrentApplicationVersionId = &v - return s -} - -// SetReferenceId sets the ReferenceId field's value. -func (s *DeleteApplicationReferenceDataSourceInput) SetReferenceId(v string) *DeleteApplicationReferenceDataSourceInput { - s.ReferenceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationReferenceDataSourceResponse type DeleteApplicationReferenceDataSourceOutput struct { _ struct{} `type:"structure"` @@ -2826,12 +2424,6 @@ func (s *DescribeApplicationInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *DescribeApplicationInput) SetApplicationName(v string) *DescribeApplicationInput { - s.ApplicationName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DescribeApplicationResponse type DescribeApplicationOutput struct { _ struct{} `type:"structure"` @@ -2861,12 +2453,6 @@ func (s DescribeApplicationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationDetail sets the ApplicationDetail field's value. -func (s *DescribeApplicationOutput) SetApplicationDetail(v *ApplicationDetail) *DescribeApplicationOutput { - s.ApplicationDetail = v - return s -} - // Describes the data format when records are written to the destination. For // more information, see Configuring Application Output (http://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html). // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DestinationSchema @@ -2887,12 +2473,6 @@ func (s DestinationSchema) GoString() string { return s.String() } -// SetRecordFormatType sets the RecordFormatType field's value. -func (s *DestinationSchema) SetRecordFormatType(v RecordFormatType) *DestinationSchema { - s.RecordFormatType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DiscoverInputSchemaRequest type DiscoverInputSchemaInput struct { _ struct{} `type:"structure"` @@ -2952,36 +2532,6 @@ func (s *DiscoverInputSchemaInput) Validate() error { return nil } -// SetInputProcessingConfiguration sets the InputProcessingConfiguration field's value. -func (s *DiscoverInputSchemaInput) SetInputProcessingConfiguration(v *InputProcessingConfiguration) *DiscoverInputSchemaInput { - s.InputProcessingConfiguration = v - return s -} - -// SetInputStartingPositionConfiguration sets the InputStartingPositionConfiguration field's value. -func (s *DiscoverInputSchemaInput) SetInputStartingPositionConfiguration(v *InputStartingPositionConfiguration) *DiscoverInputSchemaInput { - s.InputStartingPositionConfiguration = v - return s -} - -// SetResourceARN sets the ResourceARN field's value. -func (s *DiscoverInputSchemaInput) SetResourceARN(v string) *DiscoverInputSchemaInput { - s.ResourceARN = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *DiscoverInputSchemaInput) SetRoleARN(v string) *DiscoverInputSchemaInput { - s.RoleARN = &v - return s -} - -// SetS3Configuration sets the S3Configuration field's value. -func (s *DiscoverInputSchemaInput) SetS3Configuration(v *S3Configuration) *DiscoverInputSchemaInput { - s.S3Configuration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DiscoverInputSchemaResponse type DiscoverInputSchemaOutput struct { _ struct{} `type:"structure"` @@ -3020,30 +2570,6 @@ func (s DiscoverInputSchemaOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInputSchema sets the InputSchema field's value. -func (s *DiscoverInputSchemaOutput) SetInputSchema(v *SourceSchema) *DiscoverInputSchemaOutput { - s.InputSchema = v - return s -} - -// SetParsedInputRecords sets the ParsedInputRecords field's value. -func (s *DiscoverInputSchemaOutput) SetParsedInputRecords(v [][]string) *DiscoverInputSchemaOutput { - s.ParsedInputRecords = v - return s -} - -// SetProcessedInputRecords sets the ProcessedInputRecords field's value. -func (s *DiscoverInputSchemaOutput) SetProcessedInputRecords(v []string) *DiscoverInputSchemaOutput { - s.ProcessedInputRecords = v - return s -} - -// SetRawInputRecords sets the RawInputRecords field's value. -func (s *DiscoverInputSchemaOutput) SetRawInputRecords(v []string) *DiscoverInputSchemaOutput { - s.RawInputRecords = v - return s -} - // When you configure the application input, you specify the streaming source, // the in-application stream name that is created, and the mapping between the // two. For more information, see Configuring Application Input (http://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html). @@ -3153,42 +2679,6 @@ func (s *Input) Validate() error { return nil } -// SetInputParallelism sets the InputParallelism field's value. -func (s *Input) SetInputParallelism(v *InputParallelism) *Input { - s.InputParallelism = v - return s -} - -// SetInputProcessingConfiguration sets the InputProcessingConfiguration field's value. -func (s *Input) SetInputProcessingConfiguration(v *InputProcessingConfiguration) *Input { - s.InputProcessingConfiguration = v - return s -} - -// SetInputSchema sets the InputSchema field's value. -func (s *Input) SetInputSchema(v *SourceSchema) *Input { - s.InputSchema = v - return s -} - -// SetKinesisFirehoseInput sets the KinesisFirehoseInput field's value. -func (s *Input) SetKinesisFirehoseInput(v *KinesisFirehoseInput) *Input { - s.KinesisFirehoseInput = v - return s -} - -// SetKinesisStreamsInput sets the KinesisStreamsInput field's value. -func (s *Input) SetKinesisStreamsInput(v *KinesisStreamsInput) *Input { - s.KinesisStreamsInput = v - return s -} - -// SetNamePrefix sets the NamePrefix field's value. -func (s *Input) SetNamePrefix(v string) *Input { - s.NamePrefix = &v - return s -} - // When you start your application, you provide this configuration, which identifies // the input source and the point in the input source at which you want the // application to start processing records. @@ -3239,18 +2729,6 @@ func (s *InputConfiguration) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *InputConfiguration) SetId(v string) *InputConfiguration { - s.Id = &v - return s -} - -// SetInputStartingPositionConfiguration sets the InputStartingPositionConfiguration field's value. -func (s *InputConfiguration) SetInputStartingPositionConfiguration(v *InputStartingPositionConfiguration) *InputConfiguration { - s.InputStartingPositionConfiguration = v - return s -} - // Describes the application input configuration. For more information, see // Configuring Application Input (http://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html). // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputDescription @@ -3304,60 +2782,6 @@ func (s InputDescription) GoString() string { return s.String() } -// SetInAppStreamNames sets the InAppStreamNames field's value. -func (s *InputDescription) SetInAppStreamNames(v []string) *InputDescription { - s.InAppStreamNames = v - return s -} - -// SetInputId sets the InputId field's value. -func (s *InputDescription) SetInputId(v string) *InputDescription { - s.InputId = &v - return s -} - -// SetInputParallelism sets the InputParallelism field's value. -func (s *InputDescription) SetInputParallelism(v *InputParallelism) *InputDescription { - s.InputParallelism = v - return s -} - -// SetInputProcessingConfigurationDescription sets the InputProcessingConfigurationDescription field's value. -func (s *InputDescription) SetInputProcessingConfigurationDescription(v *InputProcessingConfigurationDescription) *InputDescription { - s.InputProcessingConfigurationDescription = v - return s -} - -// SetInputSchema sets the InputSchema field's value. -func (s *InputDescription) SetInputSchema(v *SourceSchema) *InputDescription { - s.InputSchema = v - return s -} - -// SetInputStartingPositionConfiguration sets the InputStartingPositionConfiguration field's value. -func (s *InputDescription) SetInputStartingPositionConfiguration(v *InputStartingPositionConfiguration) *InputDescription { - s.InputStartingPositionConfiguration = v - return s -} - -// SetKinesisFirehoseInputDescription sets the KinesisFirehoseInputDescription field's value. -func (s *InputDescription) SetKinesisFirehoseInputDescription(v *KinesisFirehoseInputDescription) *InputDescription { - s.KinesisFirehoseInputDescription = v - return s -} - -// SetKinesisStreamsInputDescription sets the KinesisStreamsInputDescription field's value. -func (s *InputDescription) SetKinesisStreamsInputDescription(v *KinesisStreamsInputDescription) *InputDescription { - s.KinesisStreamsInputDescription = v - return s -} - -// SetNamePrefix sets the NamePrefix field's value. -func (s *InputDescription) SetNamePrefix(v string) *InputDescription { - s.NamePrefix = &v - return s -} - // An object that contains the Amazon Resource Name (ARN) of the AWS Lambda // (https://aws.amazon.com/documentation/lambda/) function that is used to preprocess // records in the stream, and the ARN of the IAM role that is used to access @@ -3412,18 +2836,6 @@ func (s *InputLambdaProcessor) Validate() error { return nil } -// SetResourceARN sets the ResourceARN field's value. -func (s *InputLambdaProcessor) SetResourceARN(v string) *InputLambdaProcessor { - s.ResourceARN = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *InputLambdaProcessor) SetRoleARN(v string) *InputLambdaProcessor { - s.RoleARN = &v - return s -} - // An object that contains the Amazon Resource Name (ARN) of the AWS Lambda // (https://aws.amazon.com/documentation/lambda/) function that is used to preprocess // records in the stream, and the ARN of the IAM role that is used to access @@ -3450,18 +2862,6 @@ func (s InputLambdaProcessorDescription) GoString() string { return s.String() } -// SetResourceARN sets the ResourceARN field's value. -func (s *InputLambdaProcessorDescription) SetResourceARN(v string) *InputLambdaProcessorDescription { - s.ResourceARN = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *InputLambdaProcessorDescription) SetRoleARN(v string) *InputLambdaProcessorDescription { - s.RoleARN = &v - return s -} - // Represents an update to the InputLambdaProcessor that is used to preprocess // the records in the stream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputLambdaProcessorUpdate @@ -3502,18 +2902,6 @@ func (s *InputLambdaProcessorUpdate) Validate() error { return nil } -// SetResourceARNUpdate sets the ResourceARNUpdate field's value. -func (s *InputLambdaProcessorUpdate) SetResourceARNUpdate(v string) *InputLambdaProcessorUpdate { - s.ResourceARNUpdate = &v - return s -} - -// SetRoleARNUpdate sets the RoleARNUpdate field's value. -func (s *InputLambdaProcessorUpdate) SetRoleARNUpdate(v string) *InputLambdaProcessorUpdate { - s.RoleARNUpdate = &v - return s -} - // Describes the number of in-application streams to create for a given streaming // source. For information about parallelism, see Configuring Application Input // (http://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html). @@ -3549,12 +2937,6 @@ func (s *InputParallelism) Validate() error { return nil } -// SetCount sets the Count field's value. -func (s *InputParallelism) SetCount(v int64) *InputParallelism { - s.Count = &v - return s -} - // Provides updates to the parallelism count. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputParallelismUpdate type InputParallelismUpdate struct { @@ -3587,12 +2969,6 @@ func (s *InputParallelismUpdate) Validate() error { return nil } -// SetCountUpdate sets the CountUpdate field's value. -func (s *InputParallelismUpdate) SetCountUpdate(v int64) *InputParallelismUpdate { - s.CountUpdate = &v - return s -} - // Provides a description of a processor that is used to preprocess the records // in the stream before being processed by your application code. Currently, // the only input processor available is AWS Lambda (https://aws.amazon.com/documentation/lambda/). @@ -3636,12 +3012,6 @@ func (s *InputProcessingConfiguration) Validate() error { return nil } -// SetInputLambdaProcessor sets the InputLambdaProcessor field's value. -func (s *InputProcessingConfiguration) SetInputLambdaProcessor(v *InputLambdaProcessor) *InputProcessingConfiguration { - s.InputLambdaProcessor = v - return s -} - // Provides configuration information about an input processor. Currently, the // only input processor available is AWS Lambda (https://aws.amazon.com/documentation/lambda/). // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputProcessingConfigurationDescription @@ -3662,12 +3032,6 @@ func (s InputProcessingConfigurationDescription) GoString() string { return s.String() } -// SetInputLambdaProcessorDescription sets the InputLambdaProcessorDescription field's value. -func (s *InputProcessingConfigurationDescription) SetInputLambdaProcessorDescription(v *InputLambdaProcessorDescription) *InputProcessingConfigurationDescription { - s.InputLambdaProcessorDescription = v - return s -} - // Describes updates to an InputProcessingConfiguration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputProcessingConfigurationUpdate type InputProcessingConfigurationUpdate struct { @@ -3708,12 +3072,6 @@ func (s *InputProcessingConfigurationUpdate) Validate() error { return nil } -// SetInputLambdaProcessorUpdate sets the InputLambdaProcessorUpdate field's value. -func (s *InputProcessingConfigurationUpdate) SetInputLambdaProcessorUpdate(v *InputLambdaProcessorUpdate) *InputProcessingConfigurationUpdate { - s.InputLambdaProcessorUpdate = v - return s -} - // Describes updates for the application's input schema. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputSchemaUpdate type InputSchemaUpdate struct { @@ -3767,24 +3125,6 @@ func (s *InputSchemaUpdate) Validate() error { return nil } -// SetRecordColumnUpdates sets the RecordColumnUpdates field's value. -func (s *InputSchemaUpdate) SetRecordColumnUpdates(v []RecordColumn) *InputSchemaUpdate { - s.RecordColumnUpdates = v - return s -} - -// SetRecordEncodingUpdate sets the RecordEncodingUpdate field's value. -func (s *InputSchemaUpdate) SetRecordEncodingUpdate(v string) *InputSchemaUpdate { - s.RecordEncodingUpdate = &v - return s -} - -// SetRecordFormatUpdate sets the RecordFormatUpdate field's value. -func (s *InputSchemaUpdate) SetRecordFormatUpdate(v *RecordFormat) *InputSchemaUpdate { - s.RecordFormatUpdate = v - return s -} - // Describes the point at which the application reads from the streaming source. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputStartingPositionConfiguration type InputStartingPositionConfiguration struct { @@ -3814,12 +3154,6 @@ func (s InputStartingPositionConfiguration) GoString() string { return s.String() } -// SetInputStartingPosition sets the InputStartingPosition field's value. -func (s *InputStartingPositionConfiguration) SetInputStartingPosition(v InputStartingPosition) *InputStartingPositionConfiguration { - s.InputStartingPosition = v - return s -} - // Describes updates to a specific input configuration (identified by the InputId // of an application). // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputUpdate @@ -3911,48 +3245,6 @@ func (s *InputUpdate) Validate() error { return nil } -// SetInputId sets the InputId field's value. -func (s *InputUpdate) SetInputId(v string) *InputUpdate { - s.InputId = &v - return s -} - -// SetInputParallelismUpdate sets the InputParallelismUpdate field's value. -func (s *InputUpdate) SetInputParallelismUpdate(v *InputParallelismUpdate) *InputUpdate { - s.InputParallelismUpdate = v - return s -} - -// SetInputProcessingConfigurationUpdate sets the InputProcessingConfigurationUpdate field's value. -func (s *InputUpdate) SetInputProcessingConfigurationUpdate(v *InputProcessingConfigurationUpdate) *InputUpdate { - s.InputProcessingConfigurationUpdate = v - return s -} - -// SetInputSchemaUpdate sets the InputSchemaUpdate field's value. -func (s *InputUpdate) SetInputSchemaUpdate(v *InputSchemaUpdate) *InputUpdate { - s.InputSchemaUpdate = v - return s -} - -// SetKinesisFirehoseInputUpdate sets the KinesisFirehoseInputUpdate field's value. -func (s *InputUpdate) SetKinesisFirehoseInputUpdate(v *KinesisFirehoseInputUpdate) *InputUpdate { - s.KinesisFirehoseInputUpdate = v - return s -} - -// SetKinesisStreamsInputUpdate sets the KinesisStreamsInputUpdate field's value. -func (s *InputUpdate) SetKinesisStreamsInputUpdate(v *KinesisStreamsInputUpdate) *InputUpdate { - s.KinesisStreamsInputUpdate = v - return s -} - -// SetNamePrefixUpdate sets the NamePrefixUpdate field's value. -func (s *InputUpdate) SetNamePrefixUpdate(v string) *InputUpdate { - s.NamePrefixUpdate = &v - return s -} - // Provides additional mapping information when JSON is the record format on // the streaming source. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/JSONMappingParameters @@ -3992,12 +3284,6 @@ func (s *JSONMappingParameters) Validate() error { return nil } -// SetRecordRowPath sets the RecordRowPath field's value. -func (s *JSONMappingParameters) SetRecordRowPath(v string) *JSONMappingParameters { - s.RecordRowPath = &v - return s -} - // Identifies an Amazon Kinesis Firehose delivery stream as the streaming source. // You provide the delivery stream's Amazon Resource Name (ARN) and an IAM role // ARN that enables Amazon Kinesis Analytics to access the stream on your behalf. @@ -4052,18 +3338,6 @@ func (s *KinesisFirehoseInput) Validate() error { return nil } -// SetResourceARN sets the ResourceARN field's value. -func (s *KinesisFirehoseInput) SetResourceARN(v string) *KinesisFirehoseInput { - s.ResourceARN = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *KinesisFirehoseInput) SetRoleARN(v string) *KinesisFirehoseInput { - s.RoleARN = &v - return s -} - // Describes the Amazon Kinesis Firehose delivery stream that is configured // as the streaming source in the application input configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/KinesisFirehoseInputDescription @@ -4087,18 +3361,6 @@ func (s KinesisFirehoseInputDescription) GoString() string { return s.String() } -// SetResourceARN sets the ResourceARN field's value. -func (s *KinesisFirehoseInputDescription) SetResourceARN(v string) *KinesisFirehoseInputDescription { - s.ResourceARN = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *KinesisFirehoseInputDescription) SetRoleARN(v string) *KinesisFirehoseInputDescription { - s.RoleARN = &v - return s -} - // When updating application input configuration, provides information about // an Amazon Kinesis Firehose delivery stream as the streaming source. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/KinesisFirehoseInputUpdate @@ -4140,18 +3402,6 @@ func (s *KinesisFirehoseInputUpdate) Validate() error { return nil } -// SetResourceARNUpdate sets the ResourceARNUpdate field's value. -func (s *KinesisFirehoseInputUpdate) SetResourceARNUpdate(v string) *KinesisFirehoseInputUpdate { - s.ResourceARNUpdate = &v - return s -} - -// SetRoleARNUpdate sets the RoleARNUpdate field's value. -func (s *KinesisFirehoseInputUpdate) SetRoleARNUpdate(v string) *KinesisFirehoseInputUpdate { - s.RoleARNUpdate = &v - return s -} - // When configuring application output, identifies an Amazon Kinesis Firehose // delivery stream as the destination. You provide the stream Amazon Resource // Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to write @@ -4207,18 +3457,6 @@ func (s *KinesisFirehoseOutput) Validate() error { return nil } -// SetResourceARN sets the ResourceARN field's value. -func (s *KinesisFirehoseOutput) SetResourceARN(v string) *KinesisFirehoseOutput { - s.ResourceARN = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *KinesisFirehoseOutput) SetRoleARN(v string) *KinesisFirehoseOutput { - s.RoleARN = &v - return s -} - // For an application output, describes the Amazon Kinesis Firehose delivery // stream configured as its destination. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/KinesisFirehoseOutputDescription @@ -4243,18 +3481,6 @@ func (s KinesisFirehoseOutputDescription) GoString() string { return s.String() } -// SetResourceARN sets the ResourceARN field's value. -func (s *KinesisFirehoseOutputDescription) SetResourceARN(v string) *KinesisFirehoseOutputDescription { - s.ResourceARN = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *KinesisFirehoseOutputDescription) SetRoleARN(v string) *KinesisFirehoseOutputDescription { - s.RoleARN = &v - return s -} - // When updating an output configuration using the UpdateApplication operation, // provides information about an Amazon Kinesis Firehose delivery stream configured // as the destination. @@ -4297,18 +3523,6 @@ func (s *KinesisFirehoseOutputUpdate) Validate() error { return nil } -// SetResourceARNUpdate sets the ResourceARNUpdate field's value. -func (s *KinesisFirehoseOutputUpdate) SetResourceARNUpdate(v string) *KinesisFirehoseOutputUpdate { - s.ResourceARNUpdate = &v - return s -} - -// SetRoleARNUpdate sets the RoleARNUpdate field's value. -func (s *KinesisFirehoseOutputUpdate) SetRoleARNUpdate(v string) *KinesisFirehoseOutputUpdate { - s.RoleARNUpdate = &v - return s -} - // Identifies an Amazon Kinesis stream as the streaming source. You provide // the stream's Amazon Resource Name (ARN) and an IAM role ARN that enables // Amazon Kinesis Analytics to access the stream on your behalf. @@ -4363,18 +3577,6 @@ func (s *KinesisStreamsInput) Validate() error { return nil } -// SetResourceARN sets the ResourceARN field's value. -func (s *KinesisStreamsInput) SetResourceARN(v string) *KinesisStreamsInput { - s.ResourceARN = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *KinesisStreamsInput) SetRoleARN(v string) *KinesisStreamsInput { - s.RoleARN = &v - return s -} - // Describes the Amazon Kinesis stream that is configured as the streaming source // in the application input configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/KinesisStreamsInputDescription @@ -4399,18 +3601,6 @@ func (s KinesisStreamsInputDescription) GoString() string { return s.String() } -// SetResourceARN sets the ResourceARN field's value. -func (s *KinesisStreamsInputDescription) SetResourceARN(v string) *KinesisStreamsInputDescription { - s.ResourceARN = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *KinesisStreamsInputDescription) SetRoleARN(v string) *KinesisStreamsInputDescription { - s.RoleARN = &v - return s -} - // When updating application input configuration, provides information about // an Amazon Kinesis stream as the streaming source. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/KinesisStreamsInputUpdate @@ -4452,18 +3642,6 @@ func (s *KinesisStreamsInputUpdate) Validate() error { return nil } -// SetResourceARNUpdate sets the ResourceARNUpdate field's value. -func (s *KinesisStreamsInputUpdate) SetResourceARNUpdate(v string) *KinesisStreamsInputUpdate { - s.ResourceARNUpdate = &v - return s -} - -// SetRoleARNUpdate sets the RoleARNUpdate field's value. -func (s *KinesisStreamsInputUpdate) SetRoleARNUpdate(v string) *KinesisStreamsInputUpdate { - s.RoleARNUpdate = &v - return s -} - // When configuring application output, identifies an Amazon Kinesis stream // as the destination. You provide the stream Amazon Resource Name (ARN) and // also an IAM role ARN that Amazon Kinesis Analytics can use to write to the @@ -4519,18 +3697,6 @@ func (s *KinesisStreamsOutput) Validate() error { return nil } -// SetResourceARN sets the ResourceARN field's value. -func (s *KinesisStreamsOutput) SetResourceARN(v string) *KinesisStreamsOutput { - s.ResourceARN = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *KinesisStreamsOutput) SetRoleARN(v string) *KinesisStreamsOutput { - s.RoleARN = &v - return s -} - // For an application output, describes the Amazon Kinesis stream configured // as its destination. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/KinesisStreamsOutputDescription @@ -4555,18 +3721,6 @@ func (s KinesisStreamsOutputDescription) GoString() string { return s.String() } -// SetResourceARN sets the ResourceARN field's value. -func (s *KinesisStreamsOutputDescription) SetResourceARN(v string) *KinesisStreamsOutputDescription { - s.ResourceARN = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *KinesisStreamsOutputDescription) SetRoleARN(v string) *KinesisStreamsOutputDescription { - s.RoleARN = &v - return s -} - // When updating an output configuration using the UpdateApplication operation, // provides information about an Amazon Kinesis stream configured as the destination. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/KinesisStreamsOutputUpdate @@ -4609,18 +3763,6 @@ func (s *KinesisStreamsOutputUpdate) Validate() error { return nil } -// SetResourceARNUpdate sets the ResourceARNUpdate field's value. -func (s *KinesisStreamsOutputUpdate) SetResourceARNUpdate(v string) *KinesisStreamsOutputUpdate { - s.ResourceARNUpdate = &v - return s -} - -// SetRoleARNUpdate sets the RoleARNUpdate field's value. -func (s *KinesisStreamsOutputUpdate) SetRoleARNUpdate(v string) *KinesisStreamsOutputUpdate { - s.RoleARNUpdate = &v - return s -} - // When configuring application output, identifies an AWS Lambda function as // the destination. You provide the function Amazon Resource Name (ARN) and // also an IAM role ARN that Amazon Kinesis Analytics can use to write to the @@ -4676,18 +3818,6 @@ func (s *LambdaOutput) Validate() error { return nil } -// SetResourceARN sets the ResourceARN field's value. -func (s *LambdaOutput) SetResourceARN(v string) *LambdaOutput { - s.ResourceARN = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *LambdaOutput) SetRoleARN(v string) *LambdaOutput { - s.RoleARN = &v - return s -} - // For an application output, describes the AWS Lambda function configured as // its destination. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/LambdaOutputDescription @@ -4712,18 +3842,6 @@ func (s LambdaOutputDescription) GoString() string { return s.String() } -// SetResourceARN sets the ResourceARN field's value. -func (s *LambdaOutputDescription) SetResourceARN(v string) *LambdaOutputDescription { - s.ResourceARN = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *LambdaOutputDescription) SetRoleARN(v string) *LambdaOutputDescription { - s.RoleARN = &v - return s -} - // When updating an output configuration using the UpdateApplication operation, // provides information about an AWS Lambda function configured as the destination. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/LambdaOutputUpdate @@ -4765,18 +3883,6 @@ func (s *LambdaOutputUpdate) Validate() error { return nil } -// SetResourceARNUpdate sets the ResourceARNUpdate field's value. -func (s *LambdaOutputUpdate) SetResourceARNUpdate(v string) *LambdaOutputUpdate { - s.ResourceARNUpdate = &v - return s -} - -// SetRoleARNUpdate sets the RoleARNUpdate field's value. -func (s *LambdaOutputUpdate) SetRoleARNUpdate(v string) *LambdaOutputUpdate { - s.RoleARNUpdate = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/ListApplicationsRequest type ListApplicationsInput struct { _ struct{} `type:"structure"` @@ -4817,18 +3923,6 @@ func (s *ListApplicationsInput) Validate() error { return nil } -// SetExclusiveStartApplicationName sets the ExclusiveStartApplicationName field's value. -func (s *ListApplicationsInput) SetExclusiveStartApplicationName(v string) *ListApplicationsInput { - s.ExclusiveStartApplicationName = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListApplicationsInput) SetLimit(v int64) *ListApplicationsInput { - s.Limit = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/ListApplicationsResponse type ListApplicationsOutput struct { _ struct{} `type:"structure"` @@ -4861,18 +3955,6 @@ func (s ListApplicationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationSummaries sets the ApplicationSummaries field's value. -func (s *ListApplicationsOutput) SetApplicationSummaries(v []ApplicationSummary) *ListApplicationsOutput { - s.ApplicationSummaries = v - return s -} - -// SetHasMoreApplications sets the HasMoreApplications field's value. -func (s *ListApplicationsOutput) SetHasMoreApplications(v bool) *ListApplicationsOutput { - s.HasMoreApplications = &v - return s -} - // When configuring application input at the time of creating or updating an // application, provides additional mapping information specific to the record // format (such as JSON, CSV, or record fields delimited by some delimiter) @@ -4920,18 +4002,6 @@ func (s *MappingParameters) Validate() error { return nil } -// SetCSVMappingParameters sets the CSVMappingParameters field's value. -func (s *MappingParameters) SetCSVMappingParameters(v *CSVMappingParameters) *MappingParameters { - s.CSVMappingParameters = v - return s -} - -// SetJSONMappingParameters sets the JSONMappingParameters field's value. -func (s *MappingParameters) SetJSONMappingParameters(v *JSONMappingParameters) *MappingParameters { - s.JSONMappingParameters = v - return s -} - // Describes application output configuration in which you identify an in-application // stream and a destination where you want the in-application stream data to // be written. The destination can be an Amazon Kinesis stream or an Amazon @@ -5010,36 +4080,6 @@ func (s *Output) Validate() error { return nil } -// SetDestinationSchema sets the DestinationSchema field's value. -func (s *Output) SetDestinationSchema(v *DestinationSchema) *Output { - s.DestinationSchema = v - return s -} - -// SetKinesisFirehoseOutput sets the KinesisFirehoseOutput field's value. -func (s *Output) SetKinesisFirehoseOutput(v *KinesisFirehoseOutput) *Output { - s.KinesisFirehoseOutput = v - return s -} - -// SetKinesisStreamsOutput sets the KinesisStreamsOutput field's value. -func (s *Output) SetKinesisStreamsOutput(v *KinesisStreamsOutput) *Output { - s.KinesisStreamsOutput = v - return s -} - -// SetLambdaOutput sets the LambdaOutput field's value. -func (s *Output) SetLambdaOutput(v *LambdaOutput) *Output { - s.LambdaOutput = v - return s -} - -// SetName sets the Name field's value. -func (s *Output) SetName(v string) *Output { - s.Name = &v - return s -} - // Describes the application output configuration, which includes the in-application // stream name and the destination where the stream data is written. The destination // can be an Amazon Kinesis stream or an Amazon Kinesis Firehose delivery stream. @@ -5079,42 +4119,6 @@ func (s OutputDescription) GoString() string { return s.String() } -// SetDestinationSchema sets the DestinationSchema field's value. -func (s *OutputDescription) SetDestinationSchema(v *DestinationSchema) *OutputDescription { - s.DestinationSchema = v - return s -} - -// SetKinesisFirehoseOutputDescription sets the KinesisFirehoseOutputDescription field's value. -func (s *OutputDescription) SetKinesisFirehoseOutputDescription(v *KinesisFirehoseOutputDescription) *OutputDescription { - s.KinesisFirehoseOutputDescription = v - return s -} - -// SetKinesisStreamsOutputDescription sets the KinesisStreamsOutputDescription field's value. -func (s *OutputDescription) SetKinesisStreamsOutputDescription(v *KinesisStreamsOutputDescription) *OutputDescription { - s.KinesisStreamsOutputDescription = v - return s -} - -// SetLambdaOutputDescription sets the LambdaOutputDescription field's value. -func (s *OutputDescription) SetLambdaOutputDescription(v *LambdaOutputDescription) *OutputDescription { - s.LambdaOutputDescription = v - return s -} - -// SetName sets the Name field's value. -func (s *OutputDescription) SetName(v string) *OutputDescription { - s.Name = &v - return s -} - -// SetOutputId sets the OutputId field's value. -func (s *OutputDescription) SetOutputId(v string) *OutputDescription { - s.OutputId = &v - return s -} - // Describes updates to the output configuration identified by the OutputId. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/OutputUpdate type OutputUpdate struct { @@ -5189,42 +4193,6 @@ func (s *OutputUpdate) Validate() error { return nil } -// SetDestinationSchemaUpdate sets the DestinationSchemaUpdate field's value. -func (s *OutputUpdate) SetDestinationSchemaUpdate(v *DestinationSchema) *OutputUpdate { - s.DestinationSchemaUpdate = v - return s -} - -// SetKinesisFirehoseOutputUpdate sets the KinesisFirehoseOutputUpdate field's value. -func (s *OutputUpdate) SetKinesisFirehoseOutputUpdate(v *KinesisFirehoseOutputUpdate) *OutputUpdate { - s.KinesisFirehoseOutputUpdate = v - return s -} - -// SetKinesisStreamsOutputUpdate sets the KinesisStreamsOutputUpdate field's value. -func (s *OutputUpdate) SetKinesisStreamsOutputUpdate(v *KinesisStreamsOutputUpdate) *OutputUpdate { - s.KinesisStreamsOutputUpdate = v - return s -} - -// SetLambdaOutputUpdate sets the LambdaOutputUpdate field's value. -func (s *OutputUpdate) SetLambdaOutputUpdate(v *LambdaOutputUpdate) *OutputUpdate { - s.LambdaOutputUpdate = v - return s -} - -// SetNameUpdate sets the NameUpdate field's value. -func (s *OutputUpdate) SetNameUpdate(v string) *OutputUpdate { - s.NameUpdate = &v - return s -} - -// SetOutputId sets the OutputId field's value. -func (s *OutputUpdate) SetOutputId(v string) *OutputUpdate { - s.OutputId = &v - return s -} - // Describes the mapping of each data element in the streaming source to the // corresponding column in the in-application stream. // @@ -5280,24 +4248,6 @@ func (s *RecordColumn) Validate() error { return nil } -// SetMapping sets the Mapping field's value. -func (s *RecordColumn) SetMapping(v string) *RecordColumn { - s.Mapping = &v - return s -} - -// SetName sets the Name field's value. -func (s *RecordColumn) SetName(v string) *RecordColumn { - s.Name = &v - return s -} - -// SetSqlType sets the SqlType field's value. -func (s *RecordColumn) SetSqlType(v string) *RecordColumn { - s.SqlType = &v - return s -} - // Describes the record format and relevant mapping information that should // be applied to schematize the records on the stream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/RecordFormat @@ -5344,18 +4294,6 @@ func (s *RecordFormat) Validate() error { return nil } -// SetMappingParameters sets the MappingParameters field's value. -func (s *RecordFormat) SetMappingParameters(v *MappingParameters) *RecordFormat { - s.MappingParameters = v - return s -} - -// SetRecordFormatType sets the RecordFormatType field's value. -func (s *RecordFormat) SetRecordFormatType(v RecordFormatType) *RecordFormat { - s.RecordFormatType = v - return s -} - // Describes the reference data source by providing the source information (S3 // bucket name and object key name), the resulting in-application table name // that is created, and the necessary schema to map the data elements in the @@ -5424,24 +4362,6 @@ func (s *ReferenceDataSource) Validate() error { return nil } -// SetReferenceSchema sets the ReferenceSchema field's value. -func (s *ReferenceDataSource) SetReferenceSchema(v *SourceSchema) *ReferenceDataSource { - s.ReferenceSchema = v - return s -} - -// SetS3ReferenceDataSource sets the S3ReferenceDataSource field's value. -func (s *ReferenceDataSource) SetS3ReferenceDataSource(v *S3ReferenceDataSource) *ReferenceDataSource { - s.S3ReferenceDataSource = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *ReferenceDataSource) SetTableName(v string) *ReferenceDataSource { - s.TableName = &v - return s -} - // Describes the reference data source configured for an application. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/ReferenceDataSourceDescription type ReferenceDataSourceDescription struct { @@ -5483,30 +4403,6 @@ func (s ReferenceDataSourceDescription) GoString() string { return s.String() } -// SetReferenceId sets the ReferenceId field's value. -func (s *ReferenceDataSourceDescription) SetReferenceId(v string) *ReferenceDataSourceDescription { - s.ReferenceId = &v - return s -} - -// SetReferenceSchema sets the ReferenceSchema field's value. -func (s *ReferenceDataSourceDescription) SetReferenceSchema(v *SourceSchema) *ReferenceDataSourceDescription { - s.ReferenceSchema = v - return s -} - -// SetS3ReferenceDataSourceDescription sets the S3ReferenceDataSourceDescription field's value. -func (s *ReferenceDataSourceDescription) SetS3ReferenceDataSourceDescription(v *S3ReferenceDataSourceDescription) *ReferenceDataSourceDescription { - s.S3ReferenceDataSourceDescription = v - return s -} - -// SetTableName sets the TableName field's value. -func (s *ReferenceDataSourceDescription) SetTableName(v string) *ReferenceDataSourceDescription { - s.TableName = &v - return s -} - // When you update a reference data source configuration for an application, // this object provides all the updated values (such as the source bucket name // and object key name), the in-application table name that is created, and @@ -5575,30 +4471,6 @@ func (s *ReferenceDataSourceUpdate) Validate() error { return nil } -// SetReferenceId sets the ReferenceId field's value. -func (s *ReferenceDataSourceUpdate) SetReferenceId(v string) *ReferenceDataSourceUpdate { - s.ReferenceId = &v - return s -} - -// SetReferenceSchemaUpdate sets the ReferenceSchemaUpdate field's value. -func (s *ReferenceDataSourceUpdate) SetReferenceSchemaUpdate(v *SourceSchema) *ReferenceDataSourceUpdate { - s.ReferenceSchemaUpdate = v - return s -} - -// SetS3ReferenceDataSourceUpdate sets the S3ReferenceDataSourceUpdate field's value. -func (s *ReferenceDataSourceUpdate) SetS3ReferenceDataSourceUpdate(v *S3ReferenceDataSourceUpdate) *ReferenceDataSourceUpdate { - s.S3ReferenceDataSourceUpdate = v - return s -} - -// SetTableNameUpdate sets the TableNameUpdate field's value. -func (s *ReferenceDataSourceUpdate) SetTableNameUpdate(v string) *ReferenceDataSourceUpdate { - s.TableNameUpdate = &v - return s -} - // Provides a description of an Amazon S3 data source, including the Amazon // Resource Name (ARN) of the S3 bucket, the ARN of the IAM role that is used // to access the bucket, and the name of the S3 object that contains the data. @@ -5663,24 +4535,6 @@ func (s *S3Configuration) Validate() error { return nil } -// SetBucketARN sets the BucketARN field's value. -func (s *S3Configuration) SetBucketARN(v string) *S3Configuration { - s.BucketARN = &v - return s -} - -// SetFileKey sets the FileKey field's value. -func (s *S3Configuration) SetFileKey(v string) *S3Configuration { - s.FileKey = &v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *S3Configuration) SetRoleARN(v string) *S3Configuration { - s.RoleARN = &v - return s -} - // Identifies the S3 bucket and object that contains the reference data. Also // identifies the IAM role Amazon Kinesis Analytics can assume to read this // object on your behalf. @@ -5752,24 +4606,6 @@ func (s *S3ReferenceDataSource) Validate() error { return nil } -// SetBucketARN sets the BucketARN field's value. -func (s *S3ReferenceDataSource) SetBucketARN(v string) *S3ReferenceDataSource { - s.BucketARN = &v - return s -} - -// SetFileKey sets the FileKey field's value. -func (s *S3ReferenceDataSource) SetFileKey(v string) *S3ReferenceDataSource { - s.FileKey = &v - return s -} - -// SetReferenceRoleARN sets the ReferenceRoleARN field's value. -func (s *S3ReferenceDataSource) SetReferenceRoleARN(v string) *S3ReferenceDataSource { - s.ReferenceRoleARN = &v - return s -} - // Provides the bucket name and object key name that stores the reference data. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/S3ReferenceDataSourceDescription type S3ReferenceDataSourceDescription struct { @@ -5803,24 +4639,6 @@ func (s S3ReferenceDataSourceDescription) GoString() string { return s.String() } -// SetBucketARN sets the BucketARN field's value. -func (s *S3ReferenceDataSourceDescription) SetBucketARN(v string) *S3ReferenceDataSourceDescription { - s.BucketARN = &v - return s -} - -// SetFileKey sets the FileKey field's value. -func (s *S3ReferenceDataSourceDescription) SetFileKey(v string) *S3ReferenceDataSourceDescription { - s.FileKey = &v - return s -} - -// SetReferenceRoleARN sets the ReferenceRoleARN field's value. -func (s *S3ReferenceDataSourceDescription) SetReferenceRoleARN(v string) *S3ReferenceDataSourceDescription { - s.ReferenceRoleARN = &v - return s -} - // Describes the S3 bucket name, object key name, and IAM role that Amazon Kinesis // Analytics can assume to read the Amazon S3 object on your behalf and populate // the in-application reference table. @@ -5868,24 +4686,6 @@ func (s *S3ReferenceDataSourceUpdate) Validate() error { return nil } -// SetBucketARNUpdate sets the BucketARNUpdate field's value. -func (s *S3ReferenceDataSourceUpdate) SetBucketARNUpdate(v string) *S3ReferenceDataSourceUpdate { - s.BucketARNUpdate = &v - return s -} - -// SetFileKeyUpdate sets the FileKeyUpdate field's value. -func (s *S3ReferenceDataSourceUpdate) SetFileKeyUpdate(v string) *S3ReferenceDataSourceUpdate { - s.FileKeyUpdate = &v - return s -} - -// SetReferenceRoleARNUpdate sets the ReferenceRoleARNUpdate field's value. -func (s *S3ReferenceDataSourceUpdate) SetReferenceRoleARNUpdate(v string) *S3ReferenceDataSourceUpdate { - s.ReferenceRoleARNUpdate = &v - return s -} - // Describes the format of the data in the streaming source, and how each data // element maps to corresponding columns created in the in-application stream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/SourceSchema @@ -5950,24 +4750,6 @@ func (s *SourceSchema) Validate() error { return nil } -// SetRecordColumns sets the RecordColumns field's value. -func (s *SourceSchema) SetRecordColumns(v []RecordColumn) *SourceSchema { - s.RecordColumns = v - return s -} - -// SetRecordEncoding sets the RecordEncoding field's value. -func (s *SourceSchema) SetRecordEncoding(v string) *SourceSchema { - s.RecordEncoding = &v - return s -} - -// SetRecordFormat sets the RecordFormat field's value. -func (s *SourceSchema) SetRecordFormat(v *RecordFormat) *SourceSchema { - s.RecordFormat = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/StartApplicationRequest type StartApplicationInput struct { _ struct{} `type:"structure"` @@ -6024,18 +4806,6 @@ func (s *StartApplicationInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *StartApplicationInput) SetApplicationName(v string) *StartApplicationInput { - s.ApplicationName = &v - return s -} - -// SetInputConfigurations sets the InputConfigurations field's value. -func (s *StartApplicationInput) SetInputConfigurations(v []InputConfiguration) *StartApplicationInput { - s.InputConfigurations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/StartApplicationResponse type StartApplicationOutput struct { _ struct{} `type:"structure"` @@ -6095,12 +4865,6 @@ func (s *StopApplicationInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *StopApplicationInput) SetApplicationName(v string) *StopApplicationInput { - s.ApplicationName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/StopApplicationResponse type StopApplicationOutput struct { _ struct{} `type:"structure"` @@ -6187,24 +4951,6 @@ func (s *UpdateApplicationInput) Validate() error { return nil } -// SetApplicationName sets the ApplicationName field's value. -func (s *UpdateApplicationInput) SetApplicationName(v string) *UpdateApplicationInput { - s.ApplicationName = &v - return s -} - -// SetApplicationUpdate sets the ApplicationUpdate field's value. -func (s *UpdateApplicationInput) SetApplicationUpdate(v *ApplicationUpdate) *UpdateApplicationInput { - s.ApplicationUpdate = v - return s -} - -// SetCurrentApplicationVersionId sets the CurrentApplicationVersionId field's value. -func (s *UpdateApplicationInput) SetCurrentApplicationVersionId(v int64) *UpdateApplicationInput { - s.CurrentApplicationVersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/UpdateApplicationResponse type UpdateApplicationOutput struct { _ struct{} `type:"structure"` diff --git a/service/kinesisvideo/api.go b/service/kinesisvideo/api.go index b8c072d1e67..9406e6d81e0 100644 --- a/service/kinesisvideo/api.go +++ b/service/kinesisvideo/api.go @@ -661,36 +661,6 @@ func (s *CreateStreamInput) Validate() error { return nil } -// SetDataRetentionInHours sets the DataRetentionInHours field's value. -func (s *CreateStreamInput) SetDataRetentionInHours(v int64) *CreateStreamInput { - s.DataRetentionInHours = &v - return s -} - -// SetDeviceName sets the DeviceName field's value. -func (s *CreateStreamInput) SetDeviceName(v string) *CreateStreamInput { - s.DeviceName = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CreateStreamInput) SetKmsKeyId(v string) *CreateStreamInput { - s.KmsKeyId = &v - return s -} - -// SetMediaType sets the MediaType field's value. -func (s *CreateStreamInput) SetMediaType(v string) *CreateStreamInput { - s.MediaType = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *CreateStreamInput) SetStreamName(v string) *CreateStreamInput { - s.StreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/CreateStreamOutput type CreateStreamOutput struct { _ struct{} `type:"structure"` @@ -716,12 +686,6 @@ func (s CreateStreamOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStreamARN sets the StreamARN field's value. -func (s *CreateStreamOutput) SetStreamARN(v string) *CreateStreamOutput { - s.StreamARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DeleteStreamInput type DeleteStreamInput struct { _ struct{} `type:"structure"` @@ -770,18 +734,6 @@ func (s *DeleteStreamInput) Validate() error { return nil } -// SetCurrentVersion sets the CurrentVersion field's value. -func (s *DeleteStreamInput) SetCurrentVersion(v string) *DeleteStreamInput { - s.CurrentVersion = &v - return s -} - -// SetStreamARN sets the StreamARN field's value. -func (s *DeleteStreamInput) SetStreamARN(v string) *DeleteStreamInput { - s.StreamARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DeleteStreamOutput type DeleteStreamOutput struct { _ struct{} `type:"structure"` @@ -841,18 +793,6 @@ func (s *DescribeStreamInput) Validate() error { return nil } -// SetStreamARN sets the StreamARN field's value. -func (s *DescribeStreamInput) SetStreamARN(v string) *DescribeStreamInput { - s.StreamARN = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *DescribeStreamInput) SetStreamName(v string) *DescribeStreamInput { - s.StreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeStreamOutput type DescribeStreamOutput struct { _ struct{} `type:"structure"` @@ -878,12 +818,6 @@ func (s DescribeStreamOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStreamInfo sets the StreamInfo field's value. -func (s *DescribeStreamOutput) SetStreamInfo(v *StreamInfo) *DescribeStreamOutput { - s.StreamInfo = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/GetDataEndpointInput type GetDataEndpointInput struct { _ struct{} `type:"structure"` @@ -931,24 +865,6 @@ func (s *GetDataEndpointInput) Validate() error { return nil } -// SetAPIName sets the APIName field's value. -func (s *GetDataEndpointInput) SetAPIName(v APIName) *GetDataEndpointInput { - s.APIName = v - return s -} - -// SetStreamARN sets the StreamARN field's value. -func (s *GetDataEndpointInput) SetStreamARN(v string) *GetDataEndpointInput { - s.StreamARN = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *GetDataEndpointInput) SetStreamName(v string) *GetDataEndpointInput { - s.StreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/GetDataEndpointOutput type GetDataEndpointOutput struct { _ struct{} `type:"structure"` @@ -975,12 +891,6 @@ func (s GetDataEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDataEndpoint sets the DataEndpoint field's value. -func (s *GetDataEndpointOutput) SetDataEndpoint(v string) *GetDataEndpointOutput { - s.DataEndpoint = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListStreamsInput type ListStreamsInput struct { _ struct{} `type:"structure"` @@ -1026,24 +936,6 @@ func (s *ListStreamsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListStreamsInput) SetMaxResults(v int64) *ListStreamsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListStreamsInput) SetNextToken(v string) *ListStreamsInput { - s.NextToken = &v - return s -} - -// SetStreamNameCondition sets the StreamNameCondition field's value. -func (s *ListStreamsInput) SetStreamNameCondition(v *StreamNameCondition) *ListStreamsInput { - s.StreamNameCondition = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListStreamsOutput type ListStreamsOutput struct { _ struct{} `type:"structure"` @@ -1073,18 +965,6 @@ func (s ListStreamsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListStreamsOutput) SetNextToken(v string) *ListStreamsOutput { - s.NextToken = &v - return s -} - -// SetStreamInfoList sets the StreamInfoList field's value. -func (s *ListStreamsOutput) SetStreamInfoList(v []StreamInfo) *ListStreamsOutput { - s.StreamInfoList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListTagsForStreamInput type ListTagsForStreamInput struct { _ struct{} `type:"structure"` @@ -1127,24 +1007,6 @@ func (s *ListTagsForStreamInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *ListTagsForStreamInput) SetNextToken(v string) *ListTagsForStreamInput { - s.NextToken = &v - return s -} - -// SetStreamARN sets the StreamARN field's value. -func (s *ListTagsForStreamInput) SetStreamARN(v string) *ListTagsForStreamInput { - s.StreamARN = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *ListTagsForStreamInput) SetStreamName(v string) *ListTagsForStreamInput { - s.StreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListTagsForStreamOutput type ListTagsForStreamOutput struct { _ struct{} `type:"structure"` @@ -1175,18 +1037,6 @@ func (s ListTagsForStreamOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTagsForStreamOutput) SetNextToken(v string) *ListTagsForStreamOutput { - s.NextToken = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *ListTagsForStreamOutput) SetTags(v map[string]string) *ListTagsForStreamOutput { - s.Tags = v - return s -} - // An object describing a Kinesis video stream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/StreamInfo type StreamInfo struct { @@ -1231,60 +1081,6 @@ func (s StreamInfo) GoString() string { return s.String() } -// SetCreationTime sets the CreationTime field's value. -func (s *StreamInfo) SetCreationTime(v time.Time) *StreamInfo { - s.CreationTime = &v - return s -} - -// SetDataRetentionInHours sets the DataRetentionInHours field's value. -func (s *StreamInfo) SetDataRetentionInHours(v int64) *StreamInfo { - s.DataRetentionInHours = &v - return s -} - -// SetDeviceName sets the DeviceName field's value. -func (s *StreamInfo) SetDeviceName(v string) *StreamInfo { - s.DeviceName = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *StreamInfo) SetKmsKeyId(v string) *StreamInfo { - s.KmsKeyId = &v - return s -} - -// SetMediaType sets the MediaType field's value. -func (s *StreamInfo) SetMediaType(v string) *StreamInfo { - s.MediaType = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *StreamInfo) SetStatus(v Status) *StreamInfo { - s.Status = v - return s -} - -// SetStreamARN sets the StreamARN field's value. -func (s *StreamInfo) SetStreamARN(v string) *StreamInfo { - s.StreamARN = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *StreamInfo) SetStreamName(v string) *StreamInfo { - s.StreamName = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *StreamInfo) SetVersion(v string) *StreamInfo { - s.Version = &v - return s -} - // Specifies the condition that streams must satisfy to be returned when you // list streams (see the ListStreams API). A condition has a comparison operation // and a value. Currently, you can specify only the BEGINS_WITH operator, which @@ -1324,18 +1120,6 @@ func (s *StreamNameCondition) Validate() error { return nil } -// SetComparisonOperator sets the ComparisonOperator field's value. -func (s *StreamNameCondition) SetComparisonOperator(v ComparisonOperator) *StreamNameCondition { - s.ComparisonOperator = v - return s -} - -// SetComparisonValue sets the ComparisonValue field's value. -func (s *StreamNameCondition) SetComparisonValue(v string) *StreamNameCondition { - s.ComparisonValue = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/TagStreamInput type TagStreamInput struct { _ struct{} `type:"structure"` @@ -1387,24 +1171,6 @@ func (s *TagStreamInput) Validate() error { return nil } -// SetStreamARN sets the StreamARN field's value. -func (s *TagStreamInput) SetStreamARN(v string) *TagStreamInput { - s.StreamARN = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *TagStreamInput) SetStreamName(v string) *TagStreamInput { - s.StreamName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagStreamInput) SetTags(v map[string]string) *TagStreamInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/TagStreamOutput type TagStreamOutput struct { _ struct{} `type:"structure"` @@ -1477,24 +1243,6 @@ func (s *UntagStreamInput) Validate() error { return nil } -// SetStreamARN sets the StreamARN field's value. -func (s *UntagStreamInput) SetStreamARN(v string) *UntagStreamInput { - s.StreamARN = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *UntagStreamInput) SetStreamName(v string) *UntagStreamInput { - s.StreamName = &v - return s -} - -// SetTagKeyList sets the TagKeyList field's value. -func (s *UntagStreamInput) SetTagKeyList(v []string) *UntagStreamInput { - s.TagKeyList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UntagStreamOutput type UntagStreamOutput struct { _ struct{} `type:"structure"` @@ -1589,36 +1337,6 @@ func (s *UpdateDataRetentionInput) Validate() error { return nil } -// SetCurrentVersion sets the CurrentVersion field's value. -func (s *UpdateDataRetentionInput) SetCurrentVersion(v string) *UpdateDataRetentionInput { - s.CurrentVersion = &v - return s -} - -// SetDataRetentionChangeInHours sets the DataRetentionChangeInHours field's value. -func (s *UpdateDataRetentionInput) SetDataRetentionChangeInHours(v int64) *UpdateDataRetentionInput { - s.DataRetentionChangeInHours = &v - return s -} - -// SetOperation sets the Operation field's value. -func (s *UpdateDataRetentionInput) SetOperation(v UpdateDataRetentionOperation) *UpdateDataRetentionInput { - s.Operation = v - return s -} - -// SetStreamARN sets the StreamARN field's value. -func (s *UpdateDataRetentionInput) SetStreamARN(v string) *UpdateDataRetentionInput { - s.StreamARN = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *UpdateDataRetentionInput) SetStreamName(v string) *UpdateDataRetentionInput { - s.StreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateDataRetentionOutput type UpdateDataRetentionOutput struct { _ struct{} `type:"structure"` @@ -1713,36 +1431,6 @@ func (s *UpdateStreamInput) Validate() error { return nil } -// SetCurrentVersion sets the CurrentVersion field's value. -func (s *UpdateStreamInput) SetCurrentVersion(v string) *UpdateStreamInput { - s.CurrentVersion = &v - return s -} - -// SetDeviceName sets the DeviceName field's value. -func (s *UpdateStreamInput) SetDeviceName(v string) *UpdateStreamInput { - s.DeviceName = &v - return s -} - -// SetMediaType sets the MediaType field's value. -func (s *UpdateStreamInput) SetMediaType(v string) *UpdateStreamInput { - s.MediaType = &v - return s -} - -// SetStreamARN sets the StreamARN field's value. -func (s *UpdateStreamInput) SetStreamARN(v string) *UpdateStreamInput { - s.StreamARN = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *UpdateStreamInput) SetStreamName(v string) *UpdateStreamInput { - s.StreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateStreamOutput type UpdateStreamOutput struct { _ struct{} `type:"structure"` diff --git a/service/kinesisvideoarchivedmedia/api.go b/service/kinesisvideoarchivedmedia/api.go index e35077f4db6..87c4b78ed95 100644 --- a/service/kinesisvideoarchivedmedia/api.go +++ b/service/kinesisvideoarchivedmedia/api.go @@ -154,36 +154,6 @@ func (s Fragment) GoString() string { return s.String() } -// SetFragmentLengthInMilliseconds sets the FragmentLengthInMilliseconds field's value. -func (s *Fragment) SetFragmentLengthInMilliseconds(v int64) *Fragment { - s.FragmentLengthInMilliseconds = &v - return s -} - -// SetFragmentNumber sets the FragmentNumber field's value. -func (s *Fragment) SetFragmentNumber(v string) *Fragment { - s.FragmentNumber = &v - return s -} - -// SetFragmentSizeInBytes sets the FragmentSizeInBytes field's value. -func (s *Fragment) SetFragmentSizeInBytes(v int64) *Fragment { - s.FragmentSizeInBytes = &v - return s -} - -// SetProducerTimestamp sets the ProducerTimestamp field's value. -func (s *Fragment) SetProducerTimestamp(v time.Time) *Fragment { - s.ProducerTimestamp = &v - return s -} - -// SetServerTimestamp sets the ServerTimestamp field's value. -func (s *Fragment) SetServerTimestamp(v time.Time) *Fragment { - s.ServerTimestamp = &v - return s -} - // Describes the time stamp range and time stamp origin of a range of fragments. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/FragmentSelector type FragmentSelector struct { @@ -232,18 +202,6 @@ func (s *FragmentSelector) Validate() error { return nil } -// SetFragmentSelectorType sets the FragmentSelectorType field's value. -func (s *FragmentSelector) SetFragmentSelectorType(v FragmentSelectorType) *FragmentSelector { - s.FragmentSelectorType = v - return s -} - -// SetTimestampRange sets the TimestampRange field's value. -func (s *FragmentSelector) SetTimestampRange(v *TimestampRange) *FragmentSelector { - s.TimestampRange = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/GetMediaForFragmentListInput type GetMediaForFragmentListInput struct { _ struct{} `type:"structure"` @@ -291,18 +249,6 @@ func (s *GetMediaForFragmentListInput) Validate() error { return nil } -// SetFragments sets the Fragments field's value. -func (s *GetMediaForFragmentListInput) SetFragments(v []string) *GetMediaForFragmentListInput { - s.Fragments = v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *GetMediaForFragmentListInput) SetStreamName(v string) *GetMediaForFragmentListInput { - s.StreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/GetMediaForFragmentListOutput type GetMediaForFragmentListOutput struct { _ struct{} `type:"structure" payload:"Payload"` @@ -351,18 +297,6 @@ func (s GetMediaForFragmentListOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetContentType sets the ContentType field's value. -func (s *GetMediaForFragmentListOutput) SetContentType(v string) *GetMediaForFragmentListOutput { - s.ContentType = &v - return s -} - -// SetPayload sets the Payload field's value. -func (s *GetMediaForFragmentListOutput) SetPayload(v io.ReadCloser) *GetMediaForFragmentListOutput { - s.Payload = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/ListFragmentsInput type ListFragmentsInput struct { _ struct{} `type:"structure"` @@ -424,30 +358,6 @@ func (s *ListFragmentsInput) Validate() error { return nil } -// SetFragmentSelector sets the FragmentSelector field's value. -func (s *ListFragmentsInput) SetFragmentSelector(v *FragmentSelector) *ListFragmentsInput { - s.FragmentSelector = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListFragmentsInput) SetMaxResults(v int64) *ListFragmentsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFragmentsInput) SetNextToken(v string) *ListFragmentsInput { - s.NextToken = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *ListFragmentsInput) SetStreamName(v string) *ListFragmentsInput { - s.StreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/ListFragmentsOutput type ListFragmentsOutput struct { _ struct{} `type:"structure"` @@ -478,18 +388,6 @@ func (s ListFragmentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFragments sets the Fragments field's value. -func (s *ListFragmentsOutput) SetFragments(v []Fragment) *ListFragmentsOutput { - s.Fragments = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFragmentsOutput) SetNextToken(v string) *ListFragmentsOutput { - s.NextToken = &v - return s -} - // The range of time stamps for which to return fragments. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/TimestampRange type TimestampRange struct { @@ -534,18 +432,6 @@ func (s *TimestampRange) Validate() error { return nil } -// SetEndTimestamp sets the EndTimestamp field's value. -func (s *TimestampRange) SetEndTimestamp(v time.Time) *TimestampRange { - s.EndTimestamp = &v - return s -} - -// SetStartTimestamp sets the StartTimestamp field's value. -func (s *TimestampRange) SetStartTimestamp(v time.Time) *TimestampRange { - s.StartTimestamp = &v - return s -} - type FragmentSelectorType string // Enum values for FragmentSelectorType diff --git a/service/kinesisvideomedia/api.go b/service/kinesisvideomedia/api.go index 8c1ceb2d20d..d979827d99a 100644 --- a/service/kinesisvideomedia/api.go +++ b/service/kinesisvideomedia/api.go @@ -130,24 +130,6 @@ func (s *GetMediaInput) Validate() error { return nil } -// SetStartSelector sets the StartSelector field's value. -func (s *GetMediaInput) SetStartSelector(v *StartSelector) *GetMediaInput { - s.StartSelector = v - return s -} - -// SetStreamARN sets the StreamARN field's value. -func (s *GetMediaInput) SetStreamARN(v string) *GetMediaInput { - s.StreamARN = &v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *GetMediaInput) SetStreamName(v string) *GetMediaInput { - s.StreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-media-2017-09-30/GetMediaOutput type GetMediaOutput struct { _ struct{} `type:"structure" payload:"Payload"` @@ -222,18 +204,6 @@ func (s GetMediaOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetContentType sets the ContentType field's value. -func (s *GetMediaOutput) SetContentType(v string) *GetMediaOutput { - s.ContentType = &v - return s -} - -// SetPayload sets the Payload field's value. -func (s *GetMediaOutput) SetPayload(v io.ReadCloser) *GetMediaOutput { - s.Payload = v - return s -} - // Identifies the chunk on the Kinesis video stream where you want the GetMedia // API to start returning media data. You have the following options to identify // the starting chunk: @@ -317,30 +287,6 @@ func (s *StartSelector) Validate() error { return nil } -// SetAfterFragmentNumber sets the AfterFragmentNumber field's value. -func (s *StartSelector) SetAfterFragmentNumber(v string) *StartSelector { - s.AfterFragmentNumber = &v - return s -} - -// SetContinuationToken sets the ContinuationToken field's value. -func (s *StartSelector) SetContinuationToken(v string) *StartSelector { - s.ContinuationToken = &v - return s -} - -// SetStartSelectorType sets the StartSelectorType field's value. -func (s *StartSelector) SetStartSelectorType(v StartSelectorType) *StartSelector { - s.StartSelectorType = v - return s -} - -// SetStartTimestamp sets the StartTimestamp field's value. -func (s *StartSelector) SetStartTimestamp(v time.Time) *StartSelector { - s.StartTimestamp = &v - return s -} - type StartSelectorType string // Enum values for StartSelectorType diff --git a/service/kms/api.go b/service/kms/api.go index ec4ca1e72f3..8e1bc4a54eb 100644 --- a/service/kms/api.go +++ b/service/kms/api.go @@ -2361,24 +2361,6 @@ func (s AliasListEntry) GoString() string { return s.String() } -// SetAliasArn sets the AliasArn field's value. -func (s *AliasListEntry) SetAliasArn(v string) *AliasListEntry { - s.AliasArn = &v - return s -} - -// SetAliasName sets the AliasName field's value. -func (s *AliasListEntry) SetAliasName(v string) *AliasListEntry { - s.AliasName = &v - return s -} - -// SetTargetKeyId sets the TargetKeyId field's value. -func (s *AliasListEntry) SetTargetKeyId(v string) *AliasListEntry { - s.TargetKeyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CancelKeyDeletionRequest type CancelKeyDeletionInput struct { _ struct{} `type:"structure"` @@ -2427,12 +2409,6 @@ func (s *CancelKeyDeletionInput) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *CancelKeyDeletionInput) SetKeyId(v string) *CancelKeyDeletionInput { - s.KeyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CancelKeyDeletionResponse type CancelKeyDeletionOutput struct { _ struct{} `type:"structure"` @@ -2458,12 +2434,6 @@ func (s CancelKeyDeletionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetKeyId sets the KeyId field's value. -func (s *CancelKeyDeletionOutput) SetKeyId(v string) *CancelKeyDeletionOutput { - s.KeyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateAliasRequest type CreateAliasInput struct { _ struct{} `type:"structure"` @@ -2526,18 +2496,6 @@ func (s *CreateAliasInput) Validate() error { return nil } -// SetAliasName sets the AliasName field's value. -func (s *CreateAliasInput) SetAliasName(v string) *CreateAliasInput { - s.AliasName = &v - return s -} - -// SetTargetKeyId sets the TargetKeyId field's value. -func (s *CreateAliasInput) SetTargetKeyId(v string) *CreateAliasInput { - s.TargetKeyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateAliasOutput type CreateAliasOutput struct { _ struct{} `type:"structure"` @@ -2681,48 +2639,6 @@ func (s *CreateGrantInput) Validate() error { return nil } -// SetConstraints sets the Constraints field's value. -func (s *CreateGrantInput) SetConstraints(v *GrantConstraints) *CreateGrantInput { - s.Constraints = v - return s -} - -// SetGrantTokens sets the GrantTokens field's value. -func (s *CreateGrantInput) SetGrantTokens(v []string) *CreateGrantInput { - s.GrantTokens = v - return s -} - -// SetGranteePrincipal sets the GranteePrincipal field's value. -func (s *CreateGrantInput) SetGranteePrincipal(v string) *CreateGrantInput { - s.GranteePrincipal = &v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *CreateGrantInput) SetKeyId(v string) *CreateGrantInput { - s.KeyId = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateGrantInput) SetName(v string) *CreateGrantInput { - s.Name = &v - return s -} - -// SetOperations sets the Operations field's value. -func (s *CreateGrantInput) SetOperations(v []GrantOperation) *CreateGrantInput { - s.Operations = v - return s -} - -// SetRetiringPrincipal sets the RetiringPrincipal field's value. -func (s *CreateGrantInput) SetRetiringPrincipal(v string) *CreateGrantInput { - s.RetiringPrincipal = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateGrantResponse type CreateGrantOutput struct { _ struct{} `type:"structure"` @@ -2756,18 +2672,6 @@ func (s CreateGrantOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGrantId sets the GrantId field's value. -func (s *CreateGrantOutput) SetGrantId(v string) *CreateGrantOutput { - s.GrantId = &v - return s -} - -// SetGrantToken sets the GrantToken field's value. -func (s *CreateGrantOutput) SetGrantToken(v string) *CreateGrantOutput { - s.GrantToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateKeyRequest type CreateKeyInput struct { _ struct{} `type:"structure"` @@ -2875,42 +2779,6 @@ func (s *CreateKeyInput) Validate() error { return nil } -// SetBypassPolicyLockoutSafetyCheck sets the BypassPolicyLockoutSafetyCheck field's value. -func (s *CreateKeyInput) SetBypassPolicyLockoutSafetyCheck(v bool) *CreateKeyInput { - s.BypassPolicyLockoutSafetyCheck = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateKeyInput) SetDescription(v string) *CreateKeyInput { - s.Description = &v - return s -} - -// SetKeyUsage sets the KeyUsage field's value. -func (s *CreateKeyInput) SetKeyUsage(v KeyUsageType) *CreateKeyInput { - s.KeyUsage = v - return s -} - -// SetOrigin sets the Origin field's value. -func (s *CreateKeyInput) SetOrigin(v OriginType) *CreateKeyInput { - s.Origin = v - return s -} - -// SetPolicy sets the Policy field's value. -func (s *CreateKeyInput) SetPolicy(v string) *CreateKeyInput { - s.Policy = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateKeyInput) SetTags(v []Tag) *CreateKeyInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateKeyResponse type CreateKeyOutput struct { _ struct{} `type:"structure"` @@ -2936,12 +2804,6 @@ func (s CreateKeyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetKeyMetadata sets the KeyMetadata field's value. -func (s *CreateKeyOutput) SetKeyMetadata(v *KeyMetadata) *CreateKeyOutput { - s.KeyMetadata = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DecryptRequest type DecryptInput struct { _ struct{} `type:"structure"` @@ -2992,24 +2854,6 @@ func (s *DecryptInput) Validate() error { return nil } -// SetCiphertextBlob sets the CiphertextBlob field's value. -func (s *DecryptInput) SetCiphertextBlob(v []byte) *DecryptInput { - s.CiphertextBlob = v - return s -} - -// SetEncryptionContext sets the EncryptionContext field's value. -func (s *DecryptInput) SetEncryptionContext(v map[string]string) *DecryptInput { - s.EncryptionContext = v - return s -} - -// SetGrantTokens sets the GrantTokens field's value. -func (s *DecryptInput) SetGrantTokens(v []string) *DecryptInput { - s.GrantTokens = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DecryptResponse type DecryptOutput struct { _ struct{} `type:"structure"` @@ -3042,18 +2886,6 @@ func (s DecryptOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetKeyId sets the KeyId field's value. -func (s *DecryptOutput) SetKeyId(v string) *DecryptOutput { - s.KeyId = &v - return s -} - -// SetPlaintext sets the Plaintext field's value. -func (s *DecryptOutput) SetPlaintext(v []byte) *DecryptOutput { - s.Plaintext = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteAliasRequest type DeleteAliasInput struct { _ struct{} `type:"structure"` @@ -3092,12 +2924,6 @@ func (s *DeleteAliasInput) Validate() error { return nil } -// SetAliasName sets the AliasName field's value. -func (s *DeleteAliasInput) SetAliasName(v string) *DeleteAliasInput { - s.AliasName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteAliasOutput type DeleteAliasOutput struct { _ struct{} `type:"structure"` @@ -3168,12 +2994,6 @@ func (s *DeleteImportedKeyMaterialInput) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *DeleteImportedKeyMaterialInput) SetKeyId(v string) *DeleteImportedKeyMaterialInput { - s.KeyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteImportedKeyMaterialOutput type DeleteImportedKeyMaterialOutput struct { _ struct{} `type:"structure"` @@ -3256,18 +3076,6 @@ func (s *DescribeKeyInput) Validate() error { return nil } -// SetGrantTokens sets the GrantTokens field's value. -func (s *DescribeKeyInput) SetGrantTokens(v []string) *DescribeKeyInput { - s.GrantTokens = v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *DescribeKeyInput) SetKeyId(v string) *DescribeKeyInput { - s.KeyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DescribeKeyResponse type DescribeKeyOutput struct { _ struct{} `type:"structure"` @@ -3293,12 +3101,6 @@ func (s DescribeKeyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetKeyMetadata sets the KeyMetadata field's value. -func (s *DescribeKeyOutput) SetKeyMetadata(v *KeyMetadata) *DescribeKeyOutput { - s.KeyMetadata = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRequest type DisableKeyInput struct { _ struct{} `type:"structure"` @@ -3346,12 +3148,6 @@ func (s *DisableKeyInput) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *DisableKeyInput) SetKeyId(v string) *DisableKeyInput { - s.KeyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyOutput type DisableKeyOutput struct { _ struct{} `type:"structure"` @@ -3421,12 +3217,6 @@ func (s *DisableKeyRotationInput) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *DisableKeyRotationInput) SetKeyId(v string) *DisableKeyRotationInput { - s.KeyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRotationOutput type DisableKeyRotationOutput struct { _ struct{} `type:"structure"` @@ -3496,12 +3286,6 @@ func (s *EnableKeyInput) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *EnableKeyInput) SetKeyId(v string) *EnableKeyInput { - s.KeyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyOutput type EnableKeyOutput struct { _ struct{} `type:"structure"` @@ -3571,12 +3355,6 @@ func (s *EnableKeyRotationInput) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *EnableKeyRotationInput) SetKeyId(v string) *EnableKeyRotationInput { - s.KeyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRotationOutput type EnableKeyRotationOutput struct { _ struct{} `type:"structure"` @@ -3679,30 +3457,6 @@ func (s *EncryptInput) Validate() error { return nil } -// SetEncryptionContext sets the EncryptionContext field's value. -func (s *EncryptInput) SetEncryptionContext(v map[string]string) *EncryptInput { - s.EncryptionContext = v - return s -} - -// SetGrantTokens sets the GrantTokens field's value. -func (s *EncryptInput) SetGrantTokens(v []string) *EncryptInput { - s.GrantTokens = v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *EncryptInput) SetKeyId(v string) *EncryptInput { - s.KeyId = &v - return s -} - -// SetPlaintext sets the Plaintext field's value. -func (s *EncryptInput) SetPlaintext(v []byte) *EncryptInput { - s.Plaintext = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EncryptResponse type EncryptOutput struct { _ struct{} `type:"structure"` @@ -3734,18 +3488,6 @@ func (s EncryptOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCiphertextBlob sets the CiphertextBlob field's value. -func (s *EncryptOutput) SetCiphertextBlob(v []byte) *EncryptOutput { - s.CiphertextBlob = v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *EncryptOutput) SetKeyId(v string) *EncryptOutput { - s.KeyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyRequest type GenerateDataKeyInput struct { _ struct{} `type:"structure"` @@ -3826,36 +3568,6 @@ func (s *GenerateDataKeyInput) Validate() error { return nil } -// SetEncryptionContext sets the EncryptionContext field's value. -func (s *GenerateDataKeyInput) SetEncryptionContext(v map[string]string) *GenerateDataKeyInput { - s.EncryptionContext = v - return s -} - -// SetGrantTokens sets the GrantTokens field's value. -func (s *GenerateDataKeyInput) SetGrantTokens(v []string) *GenerateDataKeyInput { - s.GrantTokens = v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *GenerateDataKeyInput) SetKeyId(v string) *GenerateDataKeyInput { - s.KeyId = &v - return s -} - -// SetKeySpec sets the KeySpec field's value. -func (s *GenerateDataKeyInput) SetKeySpec(v DataKeySpec) *GenerateDataKeyInput { - s.KeySpec = v - return s -} - -// SetNumberOfBytes sets the NumberOfBytes field's value. -func (s *GenerateDataKeyInput) SetNumberOfBytes(v int64) *GenerateDataKeyInput { - s.NumberOfBytes = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyResponse type GenerateDataKeyOutput struct { _ struct{} `type:"structure"` @@ -3895,24 +3607,6 @@ func (s GenerateDataKeyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCiphertextBlob sets the CiphertextBlob field's value. -func (s *GenerateDataKeyOutput) SetCiphertextBlob(v []byte) *GenerateDataKeyOutput { - s.CiphertextBlob = v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *GenerateDataKeyOutput) SetKeyId(v string) *GenerateDataKeyOutput { - s.KeyId = &v - return s -} - -// SetPlaintext sets the Plaintext field's value. -func (s *GenerateDataKeyOutput) SetPlaintext(v []byte) *GenerateDataKeyOutput { - s.Plaintext = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyWithoutPlaintextRequest type GenerateDataKeyWithoutPlaintextInput struct { _ struct{} `type:"structure"` @@ -3993,36 +3687,6 @@ func (s *GenerateDataKeyWithoutPlaintextInput) Validate() error { return nil } -// SetEncryptionContext sets the EncryptionContext field's value. -func (s *GenerateDataKeyWithoutPlaintextInput) SetEncryptionContext(v map[string]string) *GenerateDataKeyWithoutPlaintextInput { - s.EncryptionContext = v - return s -} - -// SetGrantTokens sets the GrantTokens field's value. -func (s *GenerateDataKeyWithoutPlaintextInput) SetGrantTokens(v []string) *GenerateDataKeyWithoutPlaintextInput { - s.GrantTokens = v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *GenerateDataKeyWithoutPlaintextInput) SetKeyId(v string) *GenerateDataKeyWithoutPlaintextInput { - s.KeyId = &v - return s -} - -// SetKeySpec sets the KeySpec field's value. -func (s *GenerateDataKeyWithoutPlaintextInput) SetKeySpec(v DataKeySpec) *GenerateDataKeyWithoutPlaintextInput { - s.KeySpec = v - return s -} - -// SetNumberOfBytes sets the NumberOfBytes field's value. -func (s *GenerateDataKeyWithoutPlaintextInput) SetNumberOfBytes(v int64) *GenerateDataKeyWithoutPlaintextInput { - s.NumberOfBytes = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyWithoutPlaintextResponse type GenerateDataKeyWithoutPlaintextOutput struct { _ struct{} `type:"structure"` @@ -4055,18 +3719,6 @@ func (s GenerateDataKeyWithoutPlaintextOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetCiphertextBlob sets the CiphertextBlob field's value. -func (s *GenerateDataKeyWithoutPlaintextOutput) SetCiphertextBlob(v []byte) *GenerateDataKeyWithoutPlaintextOutput { - s.CiphertextBlob = v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *GenerateDataKeyWithoutPlaintextOutput) SetKeyId(v string) *GenerateDataKeyWithoutPlaintextOutput { - s.KeyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateRandomRequest type GenerateRandomInput struct { _ struct{} `type:"structure"` @@ -4098,12 +3750,6 @@ func (s *GenerateRandomInput) Validate() error { return nil } -// SetNumberOfBytes sets the NumberOfBytes field's value. -func (s *GenerateRandomInput) SetNumberOfBytes(v int64) *GenerateRandomInput { - s.NumberOfBytes = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateRandomResponse type GenerateRandomOutput struct { _ struct{} `type:"structure"` @@ -4132,12 +3778,6 @@ func (s GenerateRandomOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPlaintext sets the Plaintext field's value. -func (s *GenerateRandomOutput) SetPlaintext(v []byte) *GenerateRandomOutput { - s.Plaintext = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyPolicyRequest type GetKeyPolicyInput struct { _ struct{} `type:"structure"` @@ -4198,18 +3838,6 @@ func (s *GetKeyPolicyInput) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *GetKeyPolicyInput) SetKeyId(v string) *GetKeyPolicyInput { - s.KeyId = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *GetKeyPolicyInput) SetPolicyName(v string) *GetKeyPolicyInput { - s.PolicyName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyPolicyResponse type GetKeyPolicyOutput struct { _ struct{} `type:"structure"` @@ -4235,12 +3863,6 @@ func (s GetKeyPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicy sets the Policy field's value. -func (s *GetKeyPolicyOutput) SetPolicy(v string) *GetKeyPolicyOutput { - s.Policy = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyRotationStatusRequest type GetKeyRotationStatusInput struct { _ struct{} `type:"structure"` @@ -4289,12 +3911,6 @@ func (s *GetKeyRotationStatusInput) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *GetKeyRotationStatusInput) SetKeyId(v string) *GetKeyRotationStatusInput { - s.KeyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyRotationStatusResponse type GetKeyRotationStatusOutput struct { _ struct{} `type:"structure"` @@ -4320,12 +3936,6 @@ func (s GetKeyRotationStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetKeyRotationEnabled sets the KeyRotationEnabled field's value. -func (s *GetKeyRotationStatusOutput) SetKeyRotationEnabled(v bool) *GetKeyRotationStatusOutput { - s.KeyRotationEnabled = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetParametersForImportRequest type GetParametersForImportInput struct { _ struct{} `type:"structure"` @@ -4394,24 +4004,6 @@ func (s *GetParametersForImportInput) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *GetParametersForImportInput) SetKeyId(v string) *GetParametersForImportInput { - s.KeyId = &v - return s -} - -// SetWrappingAlgorithm sets the WrappingAlgorithm field's value. -func (s *GetParametersForImportInput) SetWrappingAlgorithm(v AlgorithmSpec) *GetParametersForImportInput { - s.WrappingAlgorithm = v - return s -} - -// SetWrappingKeySpec sets the WrappingKeySpec field's value. -func (s *GetParametersForImportInput) SetWrappingKeySpec(v WrappingKeySpec) *GetParametersForImportInput { - s.WrappingKeySpec = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetParametersForImportResponse type GetParametersForImportOutput struct { _ struct{} `type:"structure"` @@ -4454,30 +4046,6 @@ func (s GetParametersForImportOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImportToken sets the ImportToken field's value. -func (s *GetParametersForImportOutput) SetImportToken(v []byte) *GetParametersForImportOutput { - s.ImportToken = v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *GetParametersForImportOutput) SetKeyId(v string) *GetParametersForImportOutput { - s.KeyId = &v - return s -} - -// SetParametersValidTo sets the ParametersValidTo field's value. -func (s *GetParametersForImportOutput) SetParametersValidTo(v time.Time) *GetParametersForImportOutput { - s.ParametersValidTo = &v - return s -} - -// SetPublicKey sets the PublicKey field's value. -func (s *GetParametersForImportOutput) SetPublicKey(v []byte) *GetParametersForImportOutput { - s.PublicKey = v - return s -} - // A structure that you can use to allow certain operations in the grant only // when the desired encryption context is present. For more information about // encryption context, see Encryption Context (http://docs.aws.amazon.com/kms/latest/developerguide/encryption-context.html) @@ -4519,18 +4087,6 @@ func (s GrantConstraints) GoString() string { return s.String() } -// SetEncryptionContextEquals sets the EncryptionContextEquals field's value. -func (s *GrantConstraints) SetEncryptionContextEquals(v map[string]string) *GrantConstraints { - s.EncryptionContextEquals = v - return s -} - -// SetEncryptionContextSubset sets the EncryptionContextSubset field's value. -func (s *GrantConstraints) SetEncryptionContextSubset(v map[string]string) *GrantConstraints { - s.EncryptionContextSubset = v - return s -} - // Contains information about an entry in a list of grants. // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GrantListEntry type GrantListEntry struct { @@ -4577,60 +4133,6 @@ func (s GrantListEntry) GoString() string { return s.String() } -// SetConstraints sets the Constraints field's value. -func (s *GrantListEntry) SetConstraints(v *GrantConstraints) *GrantListEntry { - s.Constraints = v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *GrantListEntry) SetCreationDate(v time.Time) *GrantListEntry { - s.CreationDate = &v - return s -} - -// SetGrantId sets the GrantId field's value. -func (s *GrantListEntry) SetGrantId(v string) *GrantListEntry { - s.GrantId = &v - return s -} - -// SetGranteePrincipal sets the GranteePrincipal field's value. -func (s *GrantListEntry) SetGranteePrincipal(v string) *GrantListEntry { - s.GranteePrincipal = &v - return s -} - -// SetIssuingAccount sets the IssuingAccount field's value. -func (s *GrantListEntry) SetIssuingAccount(v string) *GrantListEntry { - s.IssuingAccount = &v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *GrantListEntry) SetKeyId(v string) *GrantListEntry { - s.KeyId = &v - return s -} - -// SetName sets the Name field's value. -func (s *GrantListEntry) SetName(v string) *GrantListEntry { - s.Name = &v - return s -} - -// SetOperations sets the Operations field's value. -func (s *GrantListEntry) SetOperations(v []GrantOperation) *GrantListEntry { - s.Operations = v - return s -} - -// SetRetiringPrincipal sets the RetiringPrincipal field's value. -func (s *GrantListEntry) SetRetiringPrincipal(v string) *GrantListEntry { - s.RetiringPrincipal = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ImportKeyMaterialRequest type ImportKeyMaterialInput struct { _ struct{} `type:"structure"` @@ -4722,36 +4224,6 @@ func (s *ImportKeyMaterialInput) Validate() error { return nil } -// SetEncryptedKeyMaterial sets the EncryptedKeyMaterial field's value. -func (s *ImportKeyMaterialInput) SetEncryptedKeyMaterial(v []byte) *ImportKeyMaterialInput { - s.EncryptedKeyMaterial = v - return s -} - -// SetExpirationModel sets the ExpirationModel field's value. -func (s *ImportKeyMaterialInput) SetExpirationModel(v ExpirationModelType) *ImportKeyMaterialInput { - s.ExpirationModel = v - return s -} - -// SetImportToken sets the ImportToken field's value. -func (s *ImportKeyMaterialInput) SetImportToken(v []byte) *ImportKeyMaterialInput { - s.ImportToken = v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *ImportKeyMaterialInput) SetKeyId(v string) *ImportKeyMaterialInput { - s.KeyId = &v - return s -} - -// SetValidTo sets the ValidTo field's value. -func (s *ImportKeyMaterialInput) SetValidTo(v time.Time) *ImportKeyMaterialInput { - s.ValidTo = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ImportKeyMaterialResponse type ImportKeyMaterialOutput struct { _ struct{} `type:"structure"` @@ -4796,18 +4268,6 @@ func (s KeyListEntry) GoString() string { return s.String() } -// SetKeyArn sets the KeyArn field's value. -func (s *KeyListEntry) SetKeyArn(v string) *KeyListEntry { - s.KeyArn = &v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *KeyListEntry) SetKeyId(v string) *KeyListEntry { - s.KeyId = &v - return s -} - // Contains metadata about a customer master key (CMK). // // This data type is used as a response element for the CreateKey and DescribeKey @@ -4887,84 +4347,6 @@ func (s KeyMetadata) GoString() string { return s.String() } -// SetAWSAccountId sets the AWSAccountId field's value. -func (s *KeyMetadata) SetAWSAccountId(v string) *KeyMetadata { - s.AWSAccountId = &v - return s -} - -// SetArn sets the Arn field's value. -func (s *KeyMetadata) SetArn(v string) *KeyMetadata { - s.Arn = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *KeyMetadata) SetCreationDate(v time.Time) *KeyMetadata { - s.CreationDate = &v - return s -} - -// SetDeletionDate sets the DeletionDate field's value. -func (s *KeyMetadata) SetDeletionDate(v time.Time) *KeyMetadata { - s.DeletionDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *KeyMetadata) SetDescription(v string) *KeyMetadata { - s.Description = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *KeyMetadata) SetEnabled(v bool) *KeyMetadata { - s.Enabled = &v - return s -} - -// SetExpirationModel sets the ExpirationModel field's value. -func (s *KeyMetadata) SetExpirationModel(v ExpirationModelType) *KeyMetadata { - s.ExpirationModel = v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *KeyMetadata) SetKeyId(v string) *KeyMetadata { - s.KeyId = &v - return s -} - -// SetKeyManager sets the KeyManager field's value. -func (s *KeyMetadata) SetKeyManager(v KeyManagerType) *KeyMetadata { - s.KeyManager = v - return s -} - -// SetKeyState sets the KeyState field's value. -func (s *KeyMetadata) SetKeyState(v KeyState) *KeyMetadata { - s.KeyState = v - return s -} - -// SetKeyUsage sets the KeyUsage field's value. -func (s *KeyMetadata) SetKeyUsage(v KeyUsageType) *KeyMetadata { - s.KeyUsage = v - return s -} - -// SetOrigin sets the Origin field's value. -func (s *KeyMetadata) SetOrigin(v OriginType) *KeyMetadata { - s.Origin = v - return s -} - -// SetValidTo sets the ValidTo field's value. -func (s *KeyMetadata) SetValidTo(v time.Time) *KeyMetadata { - s.ValidTo = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListAliasesRequest type ListAliasesInput struct { _ struct{} `type:"structure"` @@ -5009,18 +4391,6 @@ func (s *ListAliasesInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListAliasesInput) SetLimit(v int64) *ListAliasesInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListAliasesInput) SetMarker(v string) *ListAliasesInput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListAliasesResponse type ListAliasesOutput struct { _ struct{} `type:"structure"` @@ -5056,24 +4426,6 @@ func (s ListAliasesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAliases sets the Aliases field's value. -func (s *ListAliasesOutput) SetAliases(v []AliasListEntry) *ListAliasesOutput { - s.Aliases = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListAliasesOutput) SetNextMarker(v string) *ListAliasesOutput { - s.NextMarker = &v - return s -} - -// SetTruncated sets the Truncated field's value. -func (s *ListAliasesOutput) SetTruncated(v bool) *ListAliasesOutput { - s.Truncated = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListGrantsRequest type ListGrantsInput struct { _ struct{} `type:"structure"` @@ -5141,24 +4493,6 @@ func (s *ListGrantsInput) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *ListGrantsInput) SetKeyId(v string) *ListGrantsInput { - s.KeyId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListGrantsInput) SetLimit(v int64) *ListGrantsInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListGrantsInput) SetMarker(v string) *ListGrantsInput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeyPoliciesRequest type ListKeyPoliciesInput struct { _ struct{} `type:"structure"` @@ -5227,24 +4561,6 @@ func (s *ListKeyPoliciesInput) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *ListKeyPoliciesInput) SetKeyId(v string) *ListKeyPoliciesInput { - s.KeyId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListKeyPoliciesInput) SetLimit(v int64) *ListKeyPoliciesInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListKeyPoliciesInput) SetMarker(v string) *ListKeyPoliciesInput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeyPoliciesResponse type ListKeyPoliciesOutput struct { _ struct{} `type:"structure"` @@ -5281,24 +4597,6 @@ func (s ListKeyPoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListKeyPoliciesOutput) SetNextMarker(v string) *ListKeyPoliciesOutput { - s.NextMarker = &v - return s -} - -// SetPolicyNames sets the PolicyNames field's value. -func (s *ListKeyPoliciesOutput) SetPolicyNames(v []string) *ListKeyPoliciesOutput { - s.PolicyNames = v - return s -} - -// SetTruncated sets the Truncated field's value. -func (s *ListKeyPoliciesOutput) SetTruncated(v bool) *ListKeyPoliciesOutput { - s.Truncated = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeysRequest type ListKeysInput struct { _ struct{} `type:"structure"` @@ -5343,18 +4641,6 @@ func (s *ListKeysInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListKeysInput) SetLimit(v int64) *ListKeysInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListKeysInput) SetMarker(v string) *ListKeysInput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeysResponse type ListKeysOutput struct { _ struct{} `type:"structure"` @@ -5390,24 +4676,6 @@ func (s ListKeysOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetKeys sets the Keys field's value. -func (s *ListKeysOutput) SetKeys(v []KeyListEntry) *ListKeysOutput { - s.Keys = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListKeysOutput) SetNextMarker(v string) *ListKeysOutput { - s.NextMarker = &v - return s -} - -// SetTruncated sets the Truncated field's value. -func (s *ListKeysOutput) SetTruncated(v bool) *ListKeysOutput { - s.Truncated = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListResourceTagsRequest type ListResourceTagsInput struct { _ struct{} `type:"structure"` @@ -5477,24 +4745,6 @@ func (s *ListResourceTagsInput) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *ListResourceTagsInput) SetKeyId(v string) *ListResourceTagsInput { - s.KeyId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListResourceTagsInput) SetLimit(v int64) *ListResourceTagsInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListResourceTagsInput) SetMarker(v string) *ListResourceTagsInput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListResourceTagsResponse type ListResourceTagsOutput struct { _ struct{} `type:"structure"` @@ -5532,24 +4782,6 @@ func (s ListResourceTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListResourceTagsOutput) SetNextMarker(v string) *ListResourceTagsOutput { - s.NextMarker = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *ListResourceTagsOutput) SetTags(v []Tag) *ListResourceTagsOutput { - s.Tags = v - return s -} - -// SetTruncated sets the Truncated field's value. -func (s *ListResourceTagsOutput) SetTruncated(v bool) *ListResourceTagsOutput { - s.Truncated = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListRetirableGrantsRequest type ListRetirableGrantsInput struct { _ struct{} `type:"structure"` @@ -5613,24 +4845,6 @@ func (s *ListRetirableGrantsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListRetirableGrantsInput) SetLimit(v int64) *ListRetirableGrantsInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListRetirableGrantsInput) SetMarker(v string) *ListRetirableGrantsInput { - s.Marker = &v - return s -} - -// SetRetiringPrincipal sets the RetiringPrincipal field's value. -func (s *ListRetirableGrantsInput) SetRetiringPrincipal(v string) *ListRetirableGrantsInput { - s.RetiringPrincipal = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListGrantsOutput type ListRetirableGrantsOutput struct { _ struct{} `type:"structure"` @@ -5666,24 +4880,6 @@ func (s ListRetirableGrantsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGrants sets the Grants field's value. -func (s *ListRetirableGrantsOutput) SetGrants(v []GrantListEntry) *ListRetirableGrantsOutput { - s.Grants = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListRetirableGrantsOutput) SetNextMarker(v string) *ListRetirableGrantsOutput { - s.NextMarker = &v - return s -} - -// SetTruncated sets the Truncated field's value. -func (s *ListRetirableGrantsOutput) SetTruncated(v bool) *ListRetirableGrantsOutput { - s.Truncated = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/PutKeyPolicyRequest type PutKeyPolicyInput struct { _ struct{} `type:"structure"` @@ -5789,30 +4985,6 @@ func (s *PutKeyPolicyInput) Validate() error { return nil } -// SetBypassPolicyLockoutSafetyCheck sets the BypassPolicyLockoutSafetyCheck field's value. -func (s *PutKeyPolicyInput) SetBypassPolicyLockoutSafetyCheck(v bool) *PutKeyPolicyInput { - s.BypassPolicyLockoutSafetyCheck = &v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *PutKeyPolicyInput) SetKeyId(v string) *PutKeyPolicyInput { - s.KeyId = &v - return s -} - -// SetPolicy sets the Policy field's value. -func (s *PutKeyPolicyInput) SetPolicy(v string) *PutKeyPolicyInput { - s.Policy = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *PutKeyPolicyInput) SetPolicyName(v string) *PutKeyPolicyInput { - s.PolicyName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/PutKeyPolicyOutput type PutKeyPolicyOutput struct { _ struct{} `type:"structure"` @@ -5916,36 +5088,6 @@ func (s *ReEncryptInput) Validate() error { return nil } -// SetCiphertextBlob sets the CiphertextBlob field's value. -func (s *ReEncryptInput) SetCiphertextBlob(v []byte) *ReEncryptInput { - s.CiphertextBlob = v - return s -} - -// SetDestinationEncryptionContext sets the DestinationEncryptionContext field's value. -func (s *ReEncryptInput) SetDestinationEncryptionContext(v map[string]string) *ReEncryptInput { - s.DestinationEncryptionContext = v - return s -} - -// SetDestinationKeyId sets the DestinationKeyId field's value. -func (s *ReEncryptInput) SetDestinationKeyId(v string) *ReEncryptInput { - s.DestinationKeyId = &v - return s -} - -// SetGrantTokens sets the GrantTokens field's value. -func (s *ReEncryptInput) SetGrantTokens(v []string) *ReEncryptInput { - s.GrantTokens = v - return s -} - -// SetSourceEncryptionContext sets the SourceEncryptionContext field's value. -func (s *ReEncryptInput) SetSourceEncryptionContext(v map[string]string) *ReEncryptInput { - s.SourceEncryptionContext = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ReEncryptResponse type ReEncryptOutput struct { _ struct{} `type:"structure"` @@ -5980,24 +5122,6 @@ func (s ReEncryptOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCiphertextBlob sets the CiphertextBlob field's value. -func (s *ReEncryptOutput) SetCiphertextBlob(v []byte) *ReEncryptOutput { - s.CiphertextBlob = v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *ReEncryptOutput) SetKeyId(v string) *ReEncryptOutput { - s.KeyId = &v - return s -} - -// SetSourceKeyId sets the SourceKeyId field's value. -func (s *ReEncryptOutput) SetSourceKeyId(v string) *ReEncryptOutput { - s.SourceKeyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RetireGrantRequest type RetireGrantInput struct { _ struct{} `type:"structure"` @@ -6046,24 +5170,6 @@ func (s *RetireGrantInput) Validate() error { return nil } -// SetGrantId sets the GrantId field's value. -func (s *RetireGrantInput) SetGrantId(v string) *RetireGrantInput { - s.GrantId = &v - return s -} - -// SetGrantToken sets the GrantToken field's value. -func (s *RetireGrantInput) SetGrantToken(v string) *RetireGrantInput { - s.GrantToken = &v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *RetireGrantInput) SetKeyId(v string) *RetireGrantInput { - s.KeyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RetireGrantOutput type RetireGrantOutput struct { _ struct{} `type:"structure"` @@ -6146,18 +5252,6 @@ func (s *RevokeGrantInput) Validate() error { return nil } -// SetGrantId sets the GrantId field's value. -func (s *RevokeGrantInput) SetGrantId(v string) *RevokeGrantInput { - s.GrantId = &v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *RevokeGrantInput) SetKeyId(v string) *RevokeGrantInput { - s.KeyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RevokeGrantOutput type RevokeGrantOutput struct { _ struct{} `type:"structure"` @@ -6237,18 +5331,6 @@ func (s *ScheduleKeyDeletionInput) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *ScheduleKeyDeletionInput) SetKeyId(v string) *ScheduleKeyDeletionInput { - s.KeyId = &v - return s -} - -// SetPendingWindowInDays sets the PendingWindowInDays field's value. -func (s *ScheduleKeyDeletionInput) SetPendingWindowInDays(v int64) *ScheduleKeyDeletionInput { - s.PendingWindowInDays = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ScheduleKeyDeletionResponse type ScheduleKeyDeletionOutput struct { _ struct{} `type:"structure"` @@ -6278,18 +5360,6 @@ func (s ScheduleKeyDeletionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeletionDate sets the DeletionDate field's value. -func (s *ScheduleKeyDeletionOutput) SetDeletionDate(v time.Time) *ScheduleKeyDeletionOutput { - s.DeletionDate = &v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *ScheduleKeyDeletionOutput) SetKeyId(v string) *ScheduleKeyDeletionOutput { - s.KeyId = &v - return s -} - // A key-value pair. A tag consists of a tag key and a tag value. Tag keys and // tag values are both required, but tag values can be empty (null) strings. // @@ -6342,18 +5412,6 @@ func (s *Tag) Validate() error { return nil } -// SetTagKey sets the TagKey field's value. -func (s *Tag) SetTagKey(v string) *Tag { - s.TagKey = &v - return s -} - -// SetTagValue sets the TagValue field's value. -func (s *Tag) SetTagValue(v string) *Tag { - s.TagValue = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/TagResourceRequest type TagResourceInput struct { _ struct{} `type:"structure"` @@ -6417,18 +5475,6 @@ func (s *TagResourceInput) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *TagResourceInput) SetKeyId(v string) *TagResourceInput { - s.KeyId = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagResourceInput) SetTags(v []Tag) *TagResourceInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/TagResourceOutput type TagResourceOutput struct { _ struct{} `type:"structure"` @@ -6507,18 +5553,6 @@ func (s *UntagResourceInput) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *UntagResourceInput) SetKeyId(v string) *UntagResourceInput { - s.KeyId = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *UntagResourceInput) SetTagKeys(v []string) *UntagResourceInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UntagResourceOutput type UntagResourceOutput struct { _ struct{} `type:"structure"` @@ -6604,18 +5638,6 @@ func (s *UpdateAliasInput) Validate() error { return nil } -// SetAliasName sets the AliasName field's value. -func (s *UpdateAliasInput) SetAliasName(v string) *UpdateAliasInput { - s.AliasName = &v - return s -} - -// SetTargetKeyId sets the TargetKeyId field's value. -func (s *UpdateAliasInput) SetTargetKeyId(v string) *UpdateAliasInput { - s.TargetKeyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateAliasOutput type UpdateAliasOutput struct { _ struct{} `type:"structure"` @@ -6694,18 +5716,6 @@ func (s *UpdateKeyDescriptionInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *UpdateKeyDescriptionInput) SetDescription(v string) *UpdateKeyDescriptionInput { - s.Description = &v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *UpdateKeyDescriptionInput) SetKeyId(v string) *UpdateKeyDescriptionInput { - s.KeyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateKeyDescriptionOutput type UpdateKeyDescriptionOutput struct { _ struct{} `type:"structure"` diff --git a/service/lambda/api.go b/service/lambda/api.go index cd16abbf885..f21ef4be374 100644 --- a/service/lambda/api.go +++ b/service/lambda/api.go @@ -1869,36 +1869,6 @@ func (s AccountLimit) GoString() string { return s.String() } -// SetCodeSizeUnzipped sets the CodeSizeUnzipped field's value. -func (s *AccountLimit) SetCodeSizeUnzipped(v int64) *AccountLimit { - s.CodeSizeUnzipped = &v - return s -} - -// SetCodeSizeZipped sets the CodeSizeZipped field's value. -func (s *AccountLimit) SetCodeSizeZipped(v int64) *AccountLimit { - s.CodeSizeZipped = &v - return s -} - -// SetConcurrentExecutions sets the ConcurrentExecutions field's value. -func (s *AccountLimit) SetConcurrentExecutions(v int64) *AccountLimit { - s.ConcurrentExecutions = &v - return s -} - -// SetTotalCodeSize sets the TotalCodeSize field's value. -func (s *AccountLimit) SetTotalCodeSize(v int64) *AccountLimit { - s.TotalCodeSize = &v - return s -} - -// SetUnreservedConcurrentExecutions sets the UnreservedConcurrentExecutions field's value. -func (s *AccountLimit) SetUnreservedConcurrentExecutions(v int64) *AccountLimit { - s.UnreservedConcurrentExecutions = &v - return s -} - // Provides code size usage and function count associated with the current account // and region. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AccountUsage @@ -1922,18 +1892,6 @@ func (s AccountUsage) GoString() string { return s.String() } -// SetFunctionCount sets the FunctionCount field's value. -func (s *AccountUsage) SetFunctionCount(v int64) *AccountUsage { - s.FunctionCount = &v - return s -} - -// SetTotalCodeSize sets the TotalCodeSize field's value. -func (s *AccountUsage) SetTotalCodeSize(v int64) *AccountUsage { - s.TotalCodeSize = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermissionRequest type AddPermissionInput struct { _ struct{} `type:"structure"` @@ -2061,54 +2019,6 @@ func (s *AddPermissionInput) Validate() error { return nil } -// SetAction sets the Action field's value. -func (s *AddPermissionInput) SetAction(v string) *AddPermissionInput { - s.Action = &v - return s -} - -// SetEventSourceToken sets the EventSourceToken field's value. -func (s *AddPermissionInput) SetEventSourceToken(v string) *AddPermissionInput { - s.EventSourceToken = &v - return s -} - -// SetFunctionName sets the FunctionName field's value. -func (s *AddPermissionInput) SetFunctionName(v string) *AddPermissionInput { - s.FunctionName = &v - return s -} - -// SetPrincipal sets the Principal field's value. -func (s *AddPermissionInput) SetPrincipal(v string) *AddPermissionInput { - s.Principal = &v - return s -} - -// SetQualifier sets the Qualifier field's value. -func (s *AddPermissionInput) SetQualifier(v string) *AddPermissionInput { - s.Qualifier = &v - return s -} - -// SetSourceAccount sets the SourceAccount field's value. -func (s *AddPermissionInput) SetSourceAccount(v string) *AddPermissionInput { - s.SourceAccount = &v - return s -} - -// SetSourceArn sets the SourceArn field's value. -func (s *AddPermissionInput) SetSourceArn(v string) *AddPermissionInput { - s.SourceArn = &v - return s -} - -// SetStatementId sets the StatementId field's value. -func (s *AddPermissionInput) SetStatementId(v string) *AddPermissionInput { - s.StatementId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermissionResponse type AddPermissionOutput struct { _ struct{} `type:"structure"` @@ -2136,12 +2046,6 @@ func (s AddPermissionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStatement sets the Statement field's value. -func (s *AddPermissionOutput) SetStatement(v string) *AddPermissionOutput { - s.Statement = &v - return s -} - // The parent object that implements what percentage of traffic will invoke // each function version. For more information, see lambda-traffic-shifting-using-aliases. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AliasRoutingConfiguration @@ -2164,12 +2068,6 @@ func (s AliasRoutingConfiguration) GoString() string { return s.String() } -// SetAdditionalVersionWeights sets the AdditionalVersionWeights field's value. -func (s *AliasRoutingConfiguration) SetAdditionalVersionWeights(v map[string]float64) *AliasRoutingConfiguration { - s.AdditionalVersionWeights = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateAliasRequest type CreateAliasInput struct { _ struct{} `type:"structure"` @@ -2241,36 +2139,6 @@ func (s *CreateAliasInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateAliasInput) SetDescription(v string) *CreateAliasInput { - s.Description = &v - return s -} - -// SetFunctionName sets the FunctionName field's value. -func (s *CreateAliasInput) SetFunctionName(v string) *CreateAliasInput { - s.FunctionName = &v - return s -} - -// SetFunctionVersion sets the FunctionVersion field's value. -func (s *CreateAliasInput) SetFunctionVersion(v string) *CreateAliasInput { - s.FunctionVersion = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateAliasInput) SetName(v string) *CreateAliasInput { - s.Name = &v - return s -} - -// SetRoutingConfig sets the RoutingConfig field's value. -func (s *CreateAliasInput) SetRoutingConfig(v *AliasRoutingConfiguration) *CreateAliasInput { - s.RoutingConfig = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMappingRequest type CreateEventSourceMappingInput struct { _ struct{} `type:"structure"` @@ -2365,42 +2233,6 @@ func (s *CreateEventSourceMappingInput) Validate() error { return nil } -// SetBatchSize sets the BatchSize field's value. -func (s *CreateEventSourceMappingInput) SetBatchSize(v int64) *CreateEventSourceMappingInput { - s.BatchSize = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *CreateEventSourceMappingInput) SetEnabled(v bool) *CreateEventSourceMappingInput { - s.Enabled = &v - return s -} - -// SetEventSourceArn sets the EventSourceArn field's value. -func (s *CreateEventSourceMappingInput) SetEventSourceArn(v string) *CreateEventSourceMappingInput { - s.EventSourceArn = &v - return s -} - -// SetFunctionName sets the FunctionName field's value. -func (s *CreateEventSourceMappingInput) SetFunctionName(v string) *CreateEventSourceMappingInput { - s.FunctionName = &v - return s -} - -// SetStartingPosition sets the StartingPosition field's value. -func (s *CreateEventSourceMappingInput) SetStartingPosition(v EventSourcePosition) *CreateEventSourceMappingInput { - s.StartingPosition = v - return s -} - -// SetStartingPositionTimestamp sets the StartingPositionTimestamp field's value. -func (s *CreateEventSourceMappingInput) SetStartingPositionTimestamp(v time.Time) *CreateEventSourceMappingInput { - s.StartingPositionTimestamp = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionRequest type CreateFunctionInput struct { _ struct{} `type:"structure"` @@ -2549,96 +2381,6 @@ func (s *CreateFunctionInput) Validate() error { return nil } -// SetCode sets the Code field's value. -func (s *CreateFunctionInput) SetCode(v *FunctionCode) *CreateFunctionInput { - s.Code = v - return s -} - -// SetDeadLetterConfig sets the DeadLetterConfig field's value. -func (s *CreateFunctionInput) SetDeadLetterConfig(v *DeadLetterConfig) *CreateFunctionInput { - s.DeadLetterConfig = v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateFunctionInput) SetDescription(v string) *CreateFunctionInput { - s.Description = &v - return s -} - -// SetEnvironment sets the Environment field's value. -func (s *CreateFunctionInput) SetEnvironment(v *Environment) *CreateFunctionInput { - s.Environment = v - return s -} - -// SetFunctionName sets the FunctionName field's value. -func (s *CreateFunctionInput) SetFunctionName(v string) *CreateFunctionInput { - s.FunctionName = &v - return s -} - -// SetHandler sets the Handler field's value. -func (s *CreateFunctionInput) SetHandler(v string) *CreateFunctionInput { - s.Handler = &v - return s -} - -// SetKMSKeyArn sets the KMSKeyArn field's value. -func (s *CreateFunctionInput) SetKMSKeyArn(v string) *CreateFunctionInput { - s.KMSKeyArn = &v - return s -} - -// SetMemorySize sets the MemorySize field's value. -func (s *CreateFunctionInput) SetMemorySize(v int64) *CreateFunctionInput { - s.MemorySize = &v - return s -} - -// SetPublish sets the Publish field's value. -func (s *CreateFunctionInput) SetPublish(v bool) *CreateFunctionInput { - s.Publish = &v - return s -} - -// SetRole sets the Role field's value. -func (s *CreateFunctionInput) SetRole(v string) *CreateFunctionInput { - s.Role = &v - return s -} - -// SetRuntime sets the Runtime field's value. -func (s *CreateFunctionInput) SetRuntime(v Runtime) *CreateFunctionInput { - s.Runtime = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateFunctionInput) SetTags(v map[string]string) *CreateFunctionInput { - s.Tags = v - return s -} - -// SetTimeout sets the Timeout field's value. -func (s *CreateFunctionInput) SetTimeout(v int64) *CreateFunctionInput { - s.Timeout = &v - return s -} - -// SetTracingConfig sets the TracingConfig field's value. -func (s *CreateFunctionInput) SetTracingConfig(v *TracingConfig) *CreateFunctionInput { - s.TracingConfig = v - return s -} - -// SetVpcConfig sets the VpcConfig field's value. -func (s *CreateFunctionInput) SetVpcConfig(v *VpcConfig) *CreateFunctionInput { - s.VpcConfig = v - return s -} - // The parent object that contains the target ARN (Amazon Resource Name) of // an Amazon SQS queue or Amazon SNS topic. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeadLetterConfig @@ -2660,12 +2402,6 @@ func (s DeadLetterConfig) GoString() string { return s.String() } -// SetTargetArn sets the TargetArn field's value. -func (s *DeadLetterConfig) SetTargetArn(v string) *DeadLetterConfig { - s.TargetArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteAliasRequest type DeleteAliasInput struct { _ struct{} `type:"structure"` @@ -2718,18 +2454,6 @@ func (s *DeleteAliasInput) Validate() error { return nil } -// SetFunctionName sets the FunctionName field's value. -func (s *DeleteAliasInput) SetFunctionName(v string) *DeleteAliasInput { - s.FunctionName = &v - return s -} - -// SetName sets the Name field's value. -func (s *DeleteAliasInput) SetName(v string) *DeleteAliasInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteAliasOutput type DeleteAliasOutput struct { _ struct{} `type:"structure"` @@ -2786,12 +2510,6 @@ func (s *DeleteEventSourceMappingInput) Validate() error { return nil } -// SetUUID sets the UUID field's value. -func (s *DeleteEventSourceMappingInput) SetUUID(v string) *DeleteEventSourceMappingInput { - s.UUID = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionConcurrencyRequest type DeleteFunctionConcurrencyInput struct { _ struct{} `type:"structure"` @@ -2829,12 +2547,6 @@ func (s *DeleteFunctionConcurrencyInput) Validate() error { return nil } -// SetFunctionName sets the FunctionName field's value. -func (s *DeleteFunctionConcurrencyInput) SetFunctionName(v string) *DeleteFunctionConcurrencyInput { - s.FunctionName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionConcurrencyOutput type DeleteFunctionConcurrencyOutput struct { _ struct{} `type:"structure"` @@ -2921,18 +2633,6 @@ func (s *DeleteFunctionInput) Validate() error { return nil } -// SetFunctionName sets the FunctionName field's value. -func (s *DeleteFunctionInput) SetFunctionName(v string) *DeleteFunctionInput { - s.FunctionName = &v - return s -} - -// SetQualifier sets the Qualifier field's value. -func (s *DeleteFunctionInput) SetQualifier(v string) *DeleteFunctionInput { - s.Qualifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionOutput type DeleteFunctionOutput struct { _ struct{} `type:"structure"` @@ -2974,12 +2674,6 @@ func (s Environment) GoString() string { return s.String() } -// SetVariables sets the Variables field's value. -func (s *Environment) SetVariables(v map[string]string) *Environment { - s.Variables = v - return s -} - // The parent object that contains error information associated with your configuration // settings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EnvironmentError @@ -3003,18 +2697,6 @@ func (s EnvironmentError) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *EnvironmentError) SetErrorCode(v string) *EnvironmentError { - s.ErrorCode = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *EnvironmentError) SetMessage(v string) *EnvironmentError { - s.Message = &v - return s -} - // The parent object returned that contains your environment's configuration // settings or any error information associated with your configuration settings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EnvironmentResponse @@ -3040,18 +2722,6 @@ func (s EnvironmentResponse) GoString() string { return s.String() } -// SetError sets the Error field's value. -func (s *EnvironmentResponse) SetError(v *EnvironmentError) *EnvironmentResponse { - s.Error = v - return s -} - -// SetVariables sets the Variables field's value. -func (s *EnvironmentResponse) SetVariables(v map[string]string) *EnvironmentResponse { - s.Variables = v - return s -} - // The code for the Lambda function. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCode type FunctionCode struct { @@ -3108,30 +2778,6 @@ func (s *FunctionCode) Validate() error { return nil } -// SetS3Bucket sets the S3Bucket field's value. -func (s *FunctionCode) SetS3Bucket(v string) *FunctionCode { - s.S3Bucket = &v - return s -} - -// SetS3Key sets the S3Key field's value. -func (s *FunctionCode) SetS3Key(v string) *FunctionCode { - s.S3Key = &v - return s -} - -// SetS3ObjectVersion sets the S3ObjectVersion field's value. -func (s *FunctionCode) SetS3ObjectVersion(v string) *FunctionCode { - s.S3ObjectVersion = &v - return s -} - -// SetZipFile sets the ZipFile field's value. -func (s *FunctionCode) SetZipFile(v []byte) *FunctionCode { - s.ZipFile = v - return s -} - // The object for the Lambda function location. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/FunctionCodeLocation type FunctionCodeLocation struct { @@ -3155,18 +2801,6 @@ func (s FunctionCodeLocation) GoString() string { return s.String() } -// SetLocation sets the Location field's value. -func (s *FunctionCodeLocation) SetLocation(v string) *FunctionCodeLocation { - s.Location = &v - return s -} - -// SetRepositoryType sets the RepositoryType field's value. -func (s *FunctionCodeLocation) SetRepositoryType(v string) *FunctionCodeLocation { - s.RepositoryType = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettingsRequest type GetAccountSettingsInput struct { _ struct{} `type:"structure"` @@ -3212,18 +2846,6 @@ func (s GetAccountSettingsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAccountLimit sets the AccountLimit field's value. -func (s *GetAccountSettingsOutput) SetAccountLimit(v *AccountLimit) *GetAccountSettingsOutput { - s.AccountLimit = v - return s -} - -// SetAccountUsage sets the AccountUsage field's value. -func (s *GetAccountSettingsOutput) SetAccountUsage(v *AccountUsage) *GetAccountSettingsOutput { - s.AccountUsage = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAliasRequest type GetAliasInput struct { _ struct{} `type:"structure"` @@ -3277,18 +2899,6 @@ func (s *GetAliasInput) Validate() error { return nil } -// SetFunctionName sets the FunctionName field's value. -func (s *GetAliasInput) SetFunctionName(v string) *GetAliasInput { - s.FunctionName = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetAliasInput) SetName(v string) *GetAliasInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMappingRequest type GetEventSourceMappingInput struct { _ struct{} `type:"structure"` @@ -3323,12 +2933,6 @@ func (s *GetEventSourceMappingInput) Validate() error { return nil } -// SetUUID sets the UUID field's value. -func (s *GetEventSourceMappingInput) SetUUID(v string) *GetEventSourceMappingInput { - s.UUID = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConfigurationRequest type GetFunctionConfigurationInput struct { _ struct{} `type:"structure"` @@ -3386,18 +2990,6 @@ func (s *GetFunctionConfigurationInput) Validate() error { return nil } -// SetFunctionName sets the FunctionName field's value. -func (s *GetFunctionConfigurationInput) SetFunctionName(v string) *GetFunctionConfigurationInput { - s.FunctionName = &v - return s -} - -// SetQualifier sets the Qualifier field's value. -func (s *GetFunctionConfigurationInput) SetQualifier(v string) *GetFunctionConfigurationInput { - s.Qualifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionRequest type GetFunctionInput struct { _ struct{} `type:"structure"` @@ -3453,18 +3045,6 @@ func (s *GetFunctionInput) Validate() error { return nil } -// SetFunctionName sets the FunctionName field's value. -func (s *GetFunctionInput) SetFunctionName(v string) *GetFunctionInput { - s.FunctionName = &v - return s -} - -// SetQualifier sets the Qualifier field's value. -func (s *GetFunctionInput) SetQualifier(v string) *GetFunctionInput { - s.Qualifier = &v - return s -} - // This response contains the object for the Lambda function location (see FunctionCodeLocation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionResponse type GetFunctionOutput struct { @@ -3500,30 +3080,6 @@ func (s GetFunctionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCode sets the Code field's value. -func (s *GetFunctionOutput) SetCode(v *FunctionCodeLocation) *GetFunctionOutput { - s.Code = v - return s -} - -// SetConcurrency sets the Concurrency field's value. -func (s *GetFunctionOutput) SetConcurrency(v *PutFunctionConcurrencyOutput) *GetFunctionOutput { - s.Concurrency = v - return s -} - -// SetConfiguration sets the Configuration field's value. -func (s *GetFunctionOutput) SetConfiguration(v *UpdateFunctionConfigurationOutput) *GetFunctionOutput { - s.Configuration = v - return s -} - -// SetTags sets the Tags field's value. -func (s *GetFunctionOutput) SetTags(v map[string]string) *GetFunctionOutput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPolicyRequest type GetPolicyInput struct { _ struct{} `type:"structure"` @@ -3579,18 +3135,6 @@ func (s *GetPolicyInput) Validate() error { return nil } -// SetFunctionName sets the FunctionName field's value. -func (s *GetPolicyInput) SetFunctionName(v string) *GetPolicyInput { - s.FunctionName = &v - return s -} - -// SetQualifier sets the Qualifier field's value. -func (s *GetPolicyInput) SetQualifier(v string) *GetPolicyInput { - s.Qualifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPolicyResponse type GetPolicyOutput struct { _ struct{} `type:"structure"` @@ -3618,12 +3162,6 @@ func (s GetPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicy sets the Policy field's value. -func (s *GetPolicyOutput) SetPolicy(v string) *GetPolicyOutput { - s.Policy = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeAsyncRequest type InvokeAsyncInput struct { _ struct{} `deprecated:"true" type:"structure" payload:"InvokeArgs"` @@ -3672,18 +3210,6 @@ func (s *InvokeAsyncInput) Validate() error { return nil } -// SetFunctionName sets the FunctionName field's value. -func (s *InvokeAsyncInput) SetFunctionName(v string) *InvokeAsyncInput { - s.FunctionName = &v - return s -} - -// SetInvokeArgs sets the InvokeArgs field's value. -func (s *InvokeAsyncInput) SetInvokeArgs(v io.ReadSeeker) *InvokeAsyncInput { - s.InvokeArgs = v - return s -} - // Upon success, it returns empty response. Otherwise, throws an exception. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeAsyncResponse type InvokeAsyncOutput struct { @@ -3710,12 +3236,6 @@ func (s InvokeAsyncOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStatus sets the Status field's value. -func (s *InvokeAsyncOutput) SetStatus(v int64) *InvokeAsyncOutput { - s.Status = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvocationRequest type InvokeInput struct { _ struct{} `type:"structure" payload:"Payload"` @@ -3800,42 +3320,6 @@ func (s *InvokeInput) Validate() error { return nil } -// SetClientContext sets the ClientContext field's value. -func (s *InvokeInput) SetClientContext(v string) *InvokeInput { - s.ClientContext = &v - return s -} - -// SetFunctionName sets the FunctionName field's value. -func (s *InvokeInput) SetFunctionName(v string) *InvokeInput { - s.FunctionName = &v - return s -} - -// SetInvocationType sets the InvocationType field's value. -func (s *InvokeInput) SetInvocationType(v InvocationType) *InvokeInput { - s.InvocationType = v - return s -} - -// SetLogType sets the LogType field's value. -func (s *InvokeInput) SetLogType(v LogType) *InvokeInput { - s.LogType = v - return s -} - -// SetPayload sets the Payload field's value. -func (s *InvokeInput) SetPayload(v []byte) *InvokeInput { - s.Payload = v - return s -} - -// SetQualifier sets the Qualifier field's value. -func (s *InvokeInput) SetQualifier(v string) *InvokeInput { - s.Qualifier = &v - return s -} - // Upon success, returns an empty response. Otherwise, throws an exception. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvocationResponse type InvokeOutput struct { @@ -3890,36 +3374,6 @@ func (s InvokeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExecutedVersion sets the ExecutedVersion field's value. -func (s *InvokeOutput) SetExecutedVersion(v string) *InvokeOutput { - s.ExecutedVersion = &v - return s -} - -// SetFunctionError sets the FunctionError field's value. -func (s *InvokeOutput) SetFunctionError(v string) *InvokeOutput { - s.FunctionError = &v - return s -} - -// SetLogResult sets the LogResult field's value. -func (s *InvokeOutput) SetLogResult(v string) *InvokeOutput { - s.LogResult = &v - return s -} - -// SetPayload sets the Payload field's value. -func (s *InvokeOutput) SetPayload(v []byte) *InvokeOutput { - s.Payload = v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *InvokeOutput) SetStatusCode(v int64) *InvokeOutput { - s.StatusCode = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListAliasesRequest type ListAliasesInput struct { _ struct{} `type:"structure"` @@ -3978,30 +3432,6 @@ func (s *ListAliasesInput) Validate() error { return nil } -// SetFunctionName sets the FunctionName field's value. -func (s *ListAliasesInput) SetFunctionName(v string) *ListAliasesInput { - s.FunctionName = &v - return s -} - -// SetFunctionVersion sets the FunctionVersion field's value. -func (s *ListAliasesInput) SetFunctionVersion(v string) *ListAliasesInput { - s.FunctionVersion = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListAliasesInput) SetMarker(v string) *ListAliasesInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListAliasesInput) SetMaxItems(v int64) *ListAliasesInput { - s.MaxItems = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListAliasesResponse type ListAliasesOutput struct { _ struct{} `type:"structure"` @@ -4030,18 +3460,6 @@ func (s ListAliasesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAliases sets the Aliases field's value. -func (s *ListAliasesOutput) SetAliases(v []UpdateAliasOutput) *ListAliasesOutput { - s.Aliases = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListAliasesOutput) SetNextMarker(v string) *ListAliasesOutput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappingsRequest type ListEventSourceMappingsInput struct { _ struct{} `type:"structure"` @@ -4098,30 +3516,6 @@ func (s *ListEventSourceMappingsInput) Validate() error { return nil } -// SetEventSourceArn sets the EventSourceArn field's value. -func (s *ListEventSourceMappingsInput) SetEventSourceArn(v string) *ListEventSourceMappingsInput { - s.EventSourceArn = &v - return s -} - -// SetFunctionName sets the FunctionName field's value. -func (s *ListEventSourceMappingsInput) SetFunctionName(v string) *ListEventSourceMappingsInput { - s.FunctionName = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListEventSourceMappingsInput) SetMarker(v string) *ListEventSourceMappingsInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListEventSourceMappingsInput) SetMaxItems(v int64) *ListEventSourceMappingsInput { - s.MaxItems = &v - return s -} - // Contains a list of event sources (see EventSourceMappingConfiguration) // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappingsResponse type ListEventSourceMappingsOutput struct { @@ -4151,18 +3545,6 @@ func (s ListEventSourceMappingsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventSourceMappings sets the EventSourceMappings field's value. -func (s *ListEventSourceMappingsOutput) SetEventSourceMappings(v []UpdateEventSourceMappingOutput) *ListEventSourceMappingsOutput { - s.EventSourceMappings = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListEventSourceMappingsOutput) SetNextMarker(v string) *ListEventSourceMappingsOutput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionsRequest type ListFunctionsInput struct { _ struct{} `type:"structure"` @@ -4220,30 +3602,6 @@ func (s *ListFunctionsInput) Validate() error { return nil } -// SetFunctionVersion sets the FunctionVersion field's value. -func (s *ListFunctionsInput) SetFunctionVersion(v FunctionVersion) *ListFunctionsInput { - s.FunctionVersion = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListFunctionsInput) SetMarker(v string) *ListFunctionsInput { - s.Marker = &v - return s -} - -// SetMasterRegion sets the MasterRegion field's value. -func (s *ListFunctionsInput) SetMasterRegion(v string) *ListFunctionsInput { - s.MasterRegion = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListFunctionsInput) SetMaxItems(v int64) *ListFunctionsInput { - s.MaxItems = &v - return s -} - // Contains a list of AWS Lambda function configurations (see FunctionConfiguration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionsResponse type ListFunctionsOutput struct { @@ -4273,18 +3631,6 @@ func (s ListFunctionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFunctions sets the Functions field's value. -func (s *ListFunctionsOutput) SetFunctions(v []UpdateFunctionConfigurationOutput) *ListFunctionsOutput { - s.Functions = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListFunctionsOutput) SetNextMarker(v string) *ListFunctionsOutput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTagsRequest type ListTagsInput struct { _ struct{} `type:"structure"` @@ -4319,12 +3665,6 @@ func (s *ListTagsInput) Validate() error { return nil } -// SetResource sets the Resource field's value. -func (s *ListTagsInput) SetResource(v string) *ListTagsInput { - s.Resource = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTagsResponse type ListTagsOutput struct { _ struct{} `type:"structure"` @@ -4350,12 +3690,6 @@ func (s ListTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTags sets the Tags field's value. -func (s *ListTagsOutput) SetTags(v map[string]string) *ListTagsOutput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunctionRequest type ListVersionsByFunctionInput struct { _ struct{} `type:"structure"` @@ -4409,24 +3743,6 @@ func (s *ListVersionsByFunctionInput) Validate() error { return nil } -// SetFunctionName sets the FunctionName field's value. -func (s *ListVersionsByFunctionInput) SetFunctionName(v string) *ListVersionsByFunctionInput { - s.FunctionName = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListVersionsByFunctionInput) SetMarker(v string) *ListVersionsByFunctionInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListVersionsByFunctionInput) SetMaxItems(v int64) *ListVersionsByFunctionInput { - s.MaxItems = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunctionResponse type ListVersionsByFunctionOutput struct { _ struct{} `type:"structure"` @@ -4455,18 +3771,6 @@ func (s ListVersionsByFunctionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListVersionsByFunctionOutput) SetNextMarker(v string) *ListVersionsByFunctionOutput { - s.NextMarker = &v - return s -} - -// SetVersions sets the Versions field's value. -func (s *ListVersionsByFunctionOutput) SetVersions(v []UpdateFunctionConfigurationOutput) *ListVersionsByFunctionOutput { - s.Versions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersionRequest type PublishVersionInput struct { _ struct{} `type:"structure"` @@ -4520,24 +3824,6 @@ func (s *PublishVersionInput) Validate() error { return nil } -// SetCodeSha256 sets the CodeSha256 field's value. -func (s *PublishVersionInput) SetCodeSha256(v string) *PublishVersionInput { - s.CodeSha256 = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *PublishVersionInput) SetDescription(v string) *PublishVersionInput { - s.Description = &v - return s -} - -// SetFunctionName sets the FunctionName field's value. -func (s *PublishVersionInput) SetFunctionName(v string) *PublishVersionInput { - s.FunctionName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionConcurrencyRequest type PutFunctionConcurrencyInput struct { _ struct{} `type:"structure"` @@ -4584,18 +3870,6 @@ func (s *PutFunctionConcurrencyInput) Validate() error { return nil } -// SetFunctionName sets the FunctionName field's value. -func (s *PutFunctionConcurrencyInput) SetFunctionName(v string) *PutFunctionConcurrencyInput { - s.FunctionName = &v - return s -} - -// SetReservedConcurrentExecutions sets the ReservedConcurrentExecutions field's value. -func (s *PutFunctionConcurrencyInput) SetReservedConcurrentExecutions(v int64) *PutFunctionConcurrencyInput { - s.ReservedConcurrentExecutions = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Concurrency type PutFunctionConcurrencyOutput struct { _ struct{} `type:"structure"` @@ -4621,12 +3895,6 @@ func (s PutFunctionConcurrencyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReservedConcurrentExecutions sets the ReservedConcurrentExecutions field's value. -func (s *PutFunctionConcurrencyOutput) SetReservedConcurrentExecutions(v int64) *PutFunctionConcurrencyOutput { - s.ReservedConcurrentExecutions = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemovePermissionRequest type RemovePermissionInput struct { _ struct{} `type:"structure"` @@ -4691,24 +3959,6 @@ func (s *RemovePermissionInput) Validate() error { return nil } -// SetFunctionName sets the FunctionName field's value. -func (s *RemovePermissionInput) SetFunctionName(v string) *RemovePermissionInput { - s.FunctionName = &v - return s -} - -// SetQualifier sets the Qualifier field's value. -func (s *RemovePermissionInput) SetQualifier(v string) *RemovePermissionInput { - s.Qualifier = &v - return s -} - -// SetStatementId sets the StatementId field's value. -func (s *RemovePermissionInput) SetStatementId(v string) *RemovePermissionInput { - s.StatementId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemovePermissionOutput type RemovePermissionOutput struct { _ struct{} `type:"structure"` @@ -4774,18 +4024,6 @@ func (s *TagResourceInput) Validate() error { return nil } -// SetResource sets the Resource field's value. -func (s *TagResourceInput) SetResource(v string) *TagResourceInput { - s.Resource = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagResourceInput) SetTags(v map[string]string) *TagResourceInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResourceOutput type TagResourceOutput struct { _ struct{} `type:"structure"` @@ -4831,12 +4069,6 @@ func (s TracingConfig) GoString() string { return s.String() } -// SetMode sets the Mode field's value. -func (s *TracingConfig) SetMode(v TracingMode) *TracingConfig { - s.Mode = v - return s -} - // Parent object of the tracing information associated with your Lambda function. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TracingConfigResponse type TracingConfigResponse struct { @@ -4856,12 +4088,6 @@ func (s TracingConfigResponse) GoString() string { return s.String() } -// SetMode sets the Mode field's value. -func (s *TracingConfigResponse) SetMode(v TracingMode) *TracingConfigResponse { - s.Mode = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResourceRequest type UntagResourceInput struct { _ struct{} `type:"structure"` @@ -4905,18 +4131,6 @@ func (s *UntagResourceInput) Validate() error { return nil } -// SetResource sets the Resource field's value. -func (s *UntagResourceInput) SetResource(v string) *UntagResourceInput { - s.Resource = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *UntagResourceInput) SetTagKeys(v []string) *UntagResourceInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResourceOutput type UntagResourceOutput struct { _ struct{} `type:"structure"` @@ -5005,36 +4219,6 @@ func (s *UpdateAliasInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *UpdateAliasInput) SetDescription(v string) *UpdateAliasInput { - s.Description = &v - return s -} - -// SetFunctionName sets the FunctionName field's value. -func (s *UpdateAliasInput) SetFunctionName(v string) *UpdateAliasInput { - s.FunctionName = &v - return s -} - -// SetFunctionVersion sets the FunctionVersion field's value. -func (s *UpdateAliasInput) SetFunctionVersion(v string) *UpdateAliasInput { - s.FunctionVersion = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateAliasInput) SetName(v string) *UpdateAliasInput { - s.Name = &v - return s -} - -// SetRoutingConfig sets the RoutingConfig field's value. -func (s *UpdateAliasInput) SetRoutingConfig(v *AliasRoutingConfiguration) *UpdateAliasInput { - s.RoutingConfig = v - return s -} - // Provides configuration information about a Lambda function version alias. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAliasOutput type UpdateAliasOutput struct { @@ -5077,36 +4261,6 @@ func (s UpdateAliasOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAliasArn sets the AliasArn field's value. -func (s *UpdateAliasOutput) SetAliasArn(v string) *UpdateAliasOutput { - s.AliasArn = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateAliasOutput) SetDescription(v string) *UpdateAliasOutput { - s.Description = &v - return s -} - -// SetFunctionVersion sets the FunctionVersion field's value. -func (s *UpdateAliasOutput) SetFunctionVersion(v string) *UpdateAliasOutput { - s.FunctionVersion = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateAliasOutput) SetName(v string) *UpdateAliasOutput { - s.Name = &v - return s -} - -// SetRoutingConfig sets the RoutingConfig field's value. -func (s *UpdateAliasOutput) SetRoutingConfig(v *AliasRoutingConfiguration) *UpdateAliasOutput { - s.RoutingConfig = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMappingRequest type UpdateEventSourceMappingInput struct { _ struct{} `type:"structure"` @@ -5172,30 +4326,6 @@ func (s *UpdateEventSourceMappingInput) Validate() error { return nil } -// SetBatchSize sets the BatchSize field's value. -func (s *UpdateEventSourceMappingInput) SetBatchSize(v int64) *UpdateEventSourceMappingInput { - s.BatchSize = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *UpdateEventSourceMappingInput) SetEnabled(v bool) *UpdateEventSourceMappingInput { - s.Enabled = &v - return s -} - -// SetFunctionName sets the FunctionName field's value. -func (s *UpdateEventSourceMappingInput) SetFunctionName(v string) *UpdateEventSourceMappingInput { - s.FunctionName = &v - return s -} - -// SetUUID sets the UUID field's value. -func (s *UpdateEventSourceMappingInput) SetUUID(v string) *UpdateEventSourceMappingInput { - s.UUID = &v - return s -} - // Describes mapping between an Amazon Kinesis stream and a Lambda function. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMappingOutput type UpdateEventSourceMappingOutput struct { @@ -5248,54 +4378,6 @@ func (s UpdateEventSourceMappingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBatchSize sets the BatchSize field's value. -func (s *UpdateEventSourceMappingOutput) SetBatchSize(v int64) *UpdateEventSourceMappingOutput { - s.BatchSize = &v - return s -} - -// SetEventSourceArn sets the EventSourceArn field's value. -func (s *UpdateEventSourceMappingOutput) SetEventSourceArn(v string) *UpdateEventSourceMappingOutput { - s.EventSourceArn = &v - return s -} - -// SetFunctionArn sets the FunctionArn field's value. -func (s *UpdateEventSourceMappingOutput) SetFunctionArn(v string) *UpdateEventSourceMappingOutput { - s.FunctionArn = &v - return s -} - -// SetLastModified sets the LastModified field's value. -func (s *UpdateEventSourceMappingOutput) SetLastModified(v time.Time) *UpdateEventSourceMappingOutput { - s.LastModified = &v - return s -} - -// SetLastProcessingResult sets the LastProcessingResult field's value. -func (s *UpdateEventSourceMappingOutput) SetLastProcessingResult(v string) *UpdateEventSourceMappingOutput { - s.LastProcessingResult = &v - return s -} - -// SetState sets the State field's value. -func (s *UpdateEventSourceMappingOutput) SetState(v string) *UpdateEventSourceMappingOutput { - s.State = &v - return s -} - -// SetStateTransitionReason sets the StateTransitionReason field's value. -func (s *UpdateEventSourceMappingOutput) SetStateTransitionReason(v string) *UpdateEventSourceMappingOutput { - s.StateTransitionReason = &v - return s -} - -// SetUUID sets the UUID field's value. -func (s *UpdateEventSourceMappingOutput) SetUUID(v string) *UpdateEventSourceMappingOutput { - s.UUID = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCodeRequest type UpdateFunctionCodeInput struct { _ struct{} `type:"structure"` @@ -5381,48 +4463,6 @@ func (s *UpdateFunctionCodeInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *UpdateFunctionCodeInput) SetDryRun(v bool) *UpdateFunctionCodeInput { - s.DryRun = &v - return s -} - -// SetFunctionName sets the FunctionName field's value. -func (s *UpdateFunctionCodeInput) SetFunctionName(v string) *UpdateFunctionCodeInput { - s.FunctionName = &v - return s -} - -// SetPublish sets the Publish field's value. -func (s *UpdateFunctionCodeInput) SetPublish(v bool) *UpdateFunctionCodeInput { - s.Publish = &v - return s -} - -// SetS3Bucket sets the S3Bucket field's value. -func (s *UpdateFunctionCodeInput) SetS3Bucket(v string) *UpdateFunctionCodeInput { - s.S3Bucket = &v - return s -} - -// SetS3Key sets the S3Key field's value. -func (s *UpdateFunctionCodeInput) SetS3Key(v string) *UpdateFunctionCodeInput { - s.S3Key = &v - return s -} - -// SetS3ObjectVersion sets the S3ObjectVersion field's value. -func (s *UpdateFunctionCodeInput) SetS3ObjectVersion(v string) *UpdateFunctionCodeInput { - s.S3ObjectVersion = &v - return s -} - -// SetZipFile sets the ZipFile field's value. -func (s *UpdateFunctionCodeInput) SetZipFile(v []byte) *UpdateFunctionCodeInput { - s.ZipFile = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfigurationRequest type UpdateFunctionConfigurationInput struct { _ struct{} `type:"structure"` @@ -5533,78 +4573,6 @@ func (s *UpdateFunctionConfigurationInput) Validate() error { return nil } -// SetDeadLetterConfig sets the DeadLetterConfig field's value. -func (s *UpdateFunctionConfigurationInput) SetDeadLetterConfig(v *DeadLetterConfig) *UpdateFunctionConfigurationInput { - s.DeadLetterConfig = v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateFunctionConfigurationInput) SetDescription(v string) *UpdateFunctionConfigurationInput { - s.Description = &v - return s -} - -// SetEnvironment sets the Environment field's value. -func (s *UpdateFunctionConfigurationInput) SetEnvironment(v *Environment) *UpdateFunctionConfigurationInput { - s.Environment = v - return s -} - -// SetFunctionName sets the FunctionName field's value. -func (s *UpdateFunctionConfigurationInput) SetFunctionName(v string) *UpdateFunctionConfigurationInput { - s.FunctionName = &v - return s -} - -// SetHandler sets the Handler field's value. -func (s *UpdateFunctionConfigurationInput) SetHandler(v string) *UpdateFunctionConfigurationInput { - s.Handler = &v - return s -} - -// SetKMSKeyArn sets the KMSKeyArn field's value. -func (s *UpdateFunctionConfigurationInput) SetKMSKeyArn(v string) *UpdateFunctionConfigurationInput { - s.KMSKeyArn = &v - return s -} - -// SetMemorySize sets the MemorySize field's value. -func (s *UpdateFunctionConfigurationInput) SetMemorySize(v int64) *UpdateFunctionConfigurationInput { - s.MemorySize = &v - return s -} - -// SetRole sets the Role field's value. -func (s *UpdateFunctionConfigurationInput) SetRole(v string) *UpdateFunctionConfigurationInput { - s.Role = &v - return s -} - -// SetRuntime sets the Runtime field's value. -func (s *UpdateFunctionConfigurationInput) SetRuntime(v Runtime) *UpdateFunctionConfigurationInput { - s.Runtime = v - return s -} - -// SetTimeout sets the Timeout field's value. -func (s *UpdateFunctionConfigurationInput) SetTimeout(v int64) *UpdateFunctionConfigurationInput { - s.Timeout = &v - return s -} - -// SetTracingConfig sets the TracingConfig field's value. -func (s *UpdateFunctionConfigurationInput) SetTracingConfig(v *TracingConfig) *UpdateFunctionConfigurationInput { - s.TracingConfig = v - return s -} - -// SetVpcConfig sets the VpcConfig field's value. -func (s *UpdateFunctionConfigurationInput) SetVpcConfig(v *VpcConfig) *UpdateFunctionConfigurationInput { - s.VpcConfig = v - return s -} - // A complex type that describes function metadata. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCodeOutput type UpdateFunctionConfigurationOutput struct { @@ -5694,114 +4662,6 @@ func (s UpdateFunctionConfigurationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCodeSha256 sets the CodeSha256 field's value. -func (s *UpdateFunctionConfigurationOutput) SetCodeSha256(v string) *UpdateFunctionConfigurationOutput { - s.CodeSha256 = &v - return s -} - -// SetCodeSize sets the CodeSize field's value. -func (s *UpdateFunctionConfigurationOutput) SetCodeSize(v int64) *UpdateFunctionConfigurationOutput { - s.CodeSize = &v - return s -} - -// SetDeadLetterConfig sets the DeadLetterConfig field's value. -func (s *UpdateFunctionConfigurationOutput) SetDeadLetterConfig(v *DeadLetterConfig) *UpdateFunctionConfigurationOutput { - s.DeadLetterConfig = v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateFunctionConfigurationOutput) SetDescription(v string) *UpdateFunctionConfigurationOutput { - s.Description = &v - return s -} - -// SetEnvironment sets the Environment field's value. -func (s *UpdateFunctionConfigurationOutput) SetEnvironment(v *EnvironmentResponse) *UpdateFunctionConfigurationOutput { - s.Environment = v - return s -} - -// SetFunctionArn sets the FunctionArn field's value. -func (s *UpdateFunctionConfigurationOutput) SetFunctionArn(v string) *UpdateFunctionConfigurationOutput { - s.FunctionArn = &v - return s -} - -// SetFunctionName sets the FunctionName field's value. -func (s *UpdateFunctionConfigurationOutput) SetFunctionName(v string) *UpdateFunctionConfigurationOutput { - s.FunctionName = &v - return s -} - -// SetHandler sets the Handler field's value. -func (s *UpdateFunctionConfigurationOutput) SetHandler(v string) *UpdateFunctionConfigurationOutput { - s.Handler = &v - return s -} - -// SetKMSKeyArn sets the KMSKeyArn field's value. -func (s *UpdateFunctionConfigurationOutput) SetKMSKeyArn(v string) *UpdateFunctionConfigurationOutput { - s.KMSKeyArn = &v - return s -} - -// SetLastModified sets the LastModified field's value. -func (s *UpdateFunctionConfigurationOutput) SetLastModified(v string) *UpdateFunctionConfigurationOutput { - s.LastModified = &v - return s -} - -// SetMasterArn sets the MasterArn field's value. -func (s *UpdateFunctionConfigurationOutput) SetMasterArn(v string) *UpdateFunctionConfigurationOutput { - s.MasterArn = &v - return s -} - -// SetMemorySize sets the MemorySize field's value. -func (s *UpdateFunctionConfigurationOutput) SetMemorySize(v int64) *UpdateFunctionConfigurationOutput { - s.MemorySize = &v - return s -} - -// SetRole sets the Role field's value. -func (s *UpdateFunctionConfigurationOutput) SetRole(v string) *UpdateFunctionConfigurationOutput { - s.Role = &v - return s -} - -// SetRuntime sets the Runtime field's value. -func (s *UpdateFunctionConfigurationOutput) SetRuntime(v Runtime) *UpdateFunctionConfigurationOutput { - s.Runtime = v - return s -} - -// SetTimeout sets the Timeout field's value. -func (s *UpdateFunctionConfigurationOutput) SetTimeout(v int64) *UpdateFunctionConfigurationOutput { - s.Timeout = &v - return s -} - -// SetTracingConfig sets the TracingConfig field's value. -func (s *UpdateFunctionConfigurationOutput) SetTracingConfig(v *TracingConfigResponse) *UpdateFunctionConfigurationOutput { - s.TracingConfig = v - return s -} - -// SetVersion sets the Version field's value. -func (s *UpdateFunctionConfigurationOutput) SetVersion(v string) *UpdateFunctionConfigurationOutput { - s.Version = &v - return s -} - -// SetVpcConfig sets the VpcConfig field's value. -func (s *UpdateFunctionConfigurationOutput) SetVpcConfig(v *VpcConfigResponse) *UpdateFunctionConfigurationOutput { - s.VpcConfig = v - return s -} - // If your Lambda function accesses resources in a VPC, you provide this parameter // identifying the list of security group IDs and subnet IDs. These must belong // to the same VPC. You must provide at least one security group and one subnet @@ -5827,18 +4687,6 @@ func (s VpcConfig) GoString() string { return s.String() } -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *VpcConfig) SetSecurityGroupIds(v []string) *VpcConfig { - s.SecurityGroupIds = v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *VpcConfig) SetSubnetIds(v []string) *VpcConfig { - s.SubnetIds = v - return s -} - // VPC configuration associated with your Lambda function. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/VpcConfigResponse type VpcConfigResponse struct { @@ -5864,24 +4712,6 @@ func (s VpcConfigResponse) GoString() string { return s.String() } -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *VpcConfigResponse) SetSecurityGroupIds(v []string) *VpcConfigResponse { - s.SecurityGroupIds = v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *VpcConfigResponse) SetSubnetIds(v []string) *VpcConfigResponse { - s.SubnetIds = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *VpcConfigResponse) SetVpcId(v string) *VpcConfigResponse { - s.VpcId = &v - return s -} - type EventSourcePosition string // Enum values for EventSourcePosition diff --git a/service/lexmodelbuildingservice/api.go b/service/lexmodelbuildingservice/api.go index c6a4a96e0f3..e2844173683 100644 --- a/service/lexmodelbuildingservice/api.go +++ b/service/lexmodelbuildingservice/api.go @@ -2576,48 +2576,6 @@ func (s BotAliasMetadata) GoString() string { return s.String() } -// SetBotName sets the BotName field's value. -func (s *BotAliasMetadata) SetBotName(v string) *BotAliasMetadata { - s.BotName = &v - return s -} - -// SetBotVersion sets the BotVersion field's value. -func (s *BotAliasMetadata) SetBotVersion(v string) *BotAliasMetadata { - s.BotVersion = &v - return s -} - -// SetChecksum sets the Checksum field's value. -func (s *BotAliasMetadata) SetChecksum(v string) *BotAliasMetadata { - s.Checksum = &v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *BotAliasMetadata) SetCreatedDate(v time.Time) *BotAliasMetadata { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *BotAliasMetadata) SetDescription(v string) *BotAliasMetadata { - s.Description = &v - return s -} - -// SetLastUpdatedDate sets the LastUpdatedDate field's value. -func (s *BotAliasMetadata) SetLastUpdatedDate(v time.Time) *BotAliasMetadata { - s.LastUpdatedDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *BotAliasMetadata) SetName(v string) *BotAliasMetadata { - s.Name = &v - return s -} - // Represents an association between an Amazon Lex bot and an external messaging // platform. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/BotChannelAssociation @@ -2676,60 +2634,6 @@ func (s BotChannelAssociation) GoString() string { return s.String() } -// SetBotAlias sets the BotAlias field's value. -func (s *BotChannelAssociation) SetBotAlias(v string) *BotChannelAssociation { - s.BotAlias = &v - return s -} - -// SetBotConfiguration sets the BotConfiguration field's value. -func (s *BotChannelAssociation) SetBotConfiguration(v map[string]string) *BotChannelAssociation { - s.BotConfiguration = v - return s -} - -// SetBotName sets the BotName field's value. -func (s *BotChannelAssociation) SetBotName(v string) *BotChannelAssociation { - s.BotName = &v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *BotChannelAssociation) SetCreatedDate(v time.Time) *BotChannelAssociation { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *BotChannelAssociation) SetDescription(v string) *BotChannelAssociation { - s.Description = &v - return s -} - -// SetFailureReason sets the FailureReason field's value. -func (s *BotChannelAssociation) SetFailureReason(v string) *BotChannelAssociation { - s.FailureReason = &v - return s -} - -// SetName sets the Name field's value. -func (s *BotChannelAssociation) SetName(v string) *BotChannelAssociation { - s.Name = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *BotChannelAssociation) SetStatus(v ChannelStatus) *BotChannelAssociation { - s.Status = v - return s -} - -// SetType sets the Type field's value. -func (s *BotChannelAssociation) SetType(v ChannelType) *BotChannelAssociation { - s.Type = v - return s -} - // Provides information about a bot. . // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/BotMetadata type BotMetadata struct { @@ -2765,42 +2669,6 @@ func (s BotMetadata) GoString() string { return s.String() } -// SetCreatedDate sets the CreatedDate field's value. -func (s *BotMetadata) SetCreatedDate(v time.Time) *BotMetadata { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *BotMetadata) SetDescription(v string) *BotMetadata { - s.Description = &v - return s -} - -// SetLastUpdatedDate sets the LastUpdatedDate field's value. -func (s *BotMetadata) SetLastUpdatedDate(v time.Time) *BotMetadata { - s.LastUpdatedDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *BotMetadata) SetName(v string) *BotMetadata { - s.Name = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *BotMetadata) SetStatus(v Status) *BotMetadata { - s.Status = v - return s -} - -// SetVersion sets the Version field's value. -func (s *BotMetadata) SetVersion(v string) *BotMetadata { - s.Version = &v - return s -} - // Provides metadata for a built-in intent. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/BuiltinIntentMetadata type BuiltinIntentMetadata struct { @@ -2825,18 +2693,6 @@ func (s BuiltinIntentMetadata) GoString() string { return s.String() } -// SetSignature sets the Signature field's value. -func (s *BuiltinIntentMetadata) SetSignature(v string) *BuiltinIntentMetadata { - s.Signature = &v - return s -} - -// SetSupportedLocales sets the SupportedLocales field's value. -func (s *BuiltinIntentMetadata) SetSupportedLocales(v []Locale) *BuiltinIntentMetadata { - s.SupportedLocales = v - return s -} - // Provides information about a slot used in a built-in intent. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/BuiltinIntentSlot type BuiltinIntentSlot struct { @@ -2856,12 +2712,6 @@ func (s BuiltinIntentSlot) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *BuiltinIntentSlot) SetName(v string) *BuiltinIntentSlot { - s.Name = &v - return s -} - // Provides information about a built in slot type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/BuiltinSlotTypeMetadata type BuiltinSlotTypeMetadata struct { @@ -2886,18 +2736,6 @@ func (s BuiltinSlotTypeMetadata) GoString() string { return s.String() } -// SetSignature sets the Signature field's value. -func (s *BuiltinSlotTypeMetadata) SetSignature(v string) *BuiltinSlotTypeMetadata { - s.Signature = &v - return s -} - -// SetSupportedLocales sets the SupportedLocales field's value. -func (s *BuiltinSlotTypeMetadata) SetSupportedLocales(v []Locale) *BuiltinSlotTypeMetadata { - s.SupportedLocales = v - return s -} - // Specifies a Lambda function that verifies requests to a bot or fulfills the // user's request to a bot.. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CodeHook @@ -2950,18 +2788,6 @@ func (s *CodeHook) Validate() error { return nil } -// SetMessageVersion sets the MessageVersion field's value. -func (s *CodeHook) SetMessageVersion(v string) *CodeHook { - s.MessageVersion = &v - return s -} - -// SetUri sets the Uri field's value. -func (s *CodeHook) SetUri(v string) *CodeHook { - s.Uri = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateBotVersionRequest type CreateBotVersionInput struct { _ struct{} `type:"structure"` @@ -3007,18 +2833,6 @@ func (s *CreateBotVersionInput) Validate() error { return nil } -// SetChecksum sets the Checksum field's value. -func (s *CreateBotVersionInput) SetChecksum(v string) *CreateBotVersionInput { - s.Checksum = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateBotVersionInput) SetName(v string) *CreateBotVersionInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateBotVersionResponse type CreateBotVersionOutput struct { _ struct{} `type:"structure"` @@ -3116,96 +2930,6 @@ func (s CreateBotVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAbortStatement sets the AbortStatement field's value. -func (s *CreateBotVersionOutput) SetAbortStatement(v *Statement) *CreateBotVersionOutput { - s.AbortStatement = v - return s -} - -// SetChecksum sets the Checksum field's value. -func (s *CreateBotVersionOutput) SetChecksum(v string) *CreateBotVersionOutput { - s.Checksum = &v - return s -} - -// SetChildDirected sets the ChildDirected field's value. -func (s *CreateBotVersionOutput) SetChildDirected(v bool) *CreateBotVersionOutput { - s.ChildDirected = &v - return s -} - -// SetClarificationPrompt sets the ClarificationPrompt field's value. -func (s *CreateBotVersionOutput) SetClarificationPrompt(v *Prompt) *CreateBotVersionOutput { - s.ClarificationPrompt = v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *CreateBotVersionOutput) SetCreatedDate(v time.Time) *CreateBotVersionOutput { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateBotVersionOutput) SetDescription(v string) *CreateBotVersionOutput { - s.Description = &v - return s -} - -// SetFailureReason sets the FailureReason field's value. -func (s *CreateBotVersionOutput) SetFailureReason(v string) *CreateBotVersionOutput { - s.FailureReason = &v - return s -} - -// SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value. -func (s *CreateBotVersionOutput) SetIdleSessionTTLInSeconds(v int64) *CreateBotVersionOutput { - s.IdleSessionTTLInSeconds = &v - return s -} - -// SetIntents sets the Intents field's value. -func (s *CreateBotVersionOutput) SetIntents(v []Intent) *CreateBotVersionOutput { - s.Intents = v - return s -} - -// SetLastUpdatedDate sets the LastUpdatedDate field's value. -func (s *CreateBotVersionOutput) SetLastUpdatedDate(v time.Time) *CreateBotVersionOutput { - s.LastUpdatedDate = &v - return s -} - -// SetLocale sets the Locale field's value. -func (s *CreateBotVersionOutput) SetLocale(v Locale) *CreateBotVersionOutput { - s.Locale = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateBotVersionOutput) SetName(v string) *CreateBotVersionOutput { - s.Name = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *CreateBotVersionOutput) SetStatus(v Status) *CreateBotVersionOutput { - s.Status = v - return s -} - -// SetVersion sets the Version field's value. -func (s *CreateBotVersionOutput) SetVersion(v string) *CreateBotVersionOutput { - s.Version = &v - return s -} - -// SetVoiceId sets the VoiceId field's value. -func (s *CreateBotVersionOutput) SetVoiceId(v string) *CreateBotVersionOutput { - s.VoiceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateIntentVersionRequest type CreateIntentVersionInput struct { _ struct{} `type:"structure"` @@ -3251,18 +2975,6 @@ func (s *CreateIntentVersionInput) Validate() error { return nil } -// SetChecksum sets the Checksum field's value. -func (s *CreateIntentVersionInput) SetChecksum(v string) *CreateIntentVersionInput { - s.Checksum = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateIntentVersionInput) SetName(v string) *CreateIntentVersionInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateIntentVersionResponse type CreateIntentVersionOutput struct { _ struct{} `type:"structure"` @@ -3335,96 +3047,6 @@ func (s CreateIntentVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChecksum sets the Checksum field's value. -func (s *CreateIntentVersionOutput) SetChecksum(v string) *CreateIntentVersionOutput { - s.Checksum = &v - return s -} - -// SetConclusionStatement sets the ConclusionStatement field's value. -func (s *CreateIntentVersionOutput) SetConclusionStatement(v *Statement) *CreateIntentVersionOutput { - s.ConclusionStatement = v - return s -} - -// SetConfirmationPrompt sets the ConfirmationPrompt field's value. -func (s *CreateIntentVersionOutput) SetConfirmationPrompt(v *Prompt) *CreateIntentVersionOutput { - s.ConfirmationPrompt = v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *CreateIntentVersionOutput) SetCreatedDate(v time.Time) *CreateIntentVersionOutput { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateIntentVersionOutput) SetDescription(v string) *CreateIntentVersionOutput { - s.Description = &v - return s -} - -// SetDialogCodeHook sets the DialogCodeHook field's value. -func (s *CreateIntentVersionOutput) SetDialogCodeHook(v *CodeHook) *CreateIntentVersionOutput { - s.DialogCodeHook = v - return s -} - -// SetFollowUpPrompt sets the FollowUpPrompt field's value. -func (s *CreateIntentVersionOutput) SetFollowUpPrompt(v *FollowUpPrompt) *CreateIntentVersionOutput { - s.FollowUpPrompt = v - return s -} - -// SetFulfillmentActivity sets the FulfillmentActivity field's value. -func (s *CreateIntentVersionOutput) SetFulfillmentActivity(v *FulfillmentActivity) *CreateIntentVersionOutput { - s.FulfillmentActivity = v - return s -} - -// SetLastUpdatedDate sets the LastUpdatedDate field's value. -func (s *CreateIntentVersionOutput) SetLastUpdatedDate(v time.Time) *CreateIntentVersionOutput { - s.LastUpdatedDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateIntentVersionOutput) SetName(v string) *CreateIntentVersionOutput { - s.Name = &v - return s -} - -// SetParentIntentSignature sets the ParentIntentSignature field's value. -func (s *CreateIntentVersionOutput) SetParentIntentSignature(v string) *CreateIntentVersionOutput { - s.ParentIntentSignature = &v - return s -} - -// SetRejectionStatement sets the RejectionStatement field's value. -func (s *CreateIntentVersionOutput) SetRejectionStatement(v *Statement) *CreateIntentVersionOutput { - s.RejectionStatement = v - return s -} - -// SetSampleUtterances sets the SampleUtterances field's value. -func (s *CreateIntentVersionOutput) SetSampleUtterances(v []string) *CreateIntentVersionOutput { - s.SampleUtterances = v - return s -} - -// SetSlots sets the Slots field's value. -func (s *CreateIntentVersionOutput) SetSlots(v []Slot) *CreateIntentVersionOutput { - s.Slots = v - return s -} - -// SetVersion sets the Version field's value. -func (s *CreateIntentVersionOutput) SetVersion(v string) *CreateIntentVersionOutput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateSlotTypeVersionRequest type CreateSlotTypeVersionInput struct { _ struct{} `type:"structure"` @@ -3470,18 +3092,6 @@ func (s *CreateSlotTypeVersionInput) Validate() error { return nil } -// SetChecksum sets the Checksum field's value. -func (s *CreateSlotTypeVersionInput) SetChecksum(v string) *CreateSlotTypeVersionInput { - s.Checksum = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateSlotTypeVersionInput) SetName(v string) *CreateSlotTypeVersionInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateSlotTypeVersionResponse type CreateSlotTypeVersionOutput struct { _ struct{} `type:"structure"` @@ -3531,54 +3141,6 @@ func (s CreateSlotTypeVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChecksum sets the Checksum field's value. -func (s *CreateSlotTypeVersionOutput) SetChecksum(v string) *CreateSlotTypeVersionOutput { - s.Checksum = &v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *CreateSlotTypeVersionOutput) SetCreatedDate(v time.Time) *CreateSlotTypeVersionOutput { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateSlotTypeVersionOutput) SetDescription(v string) *CreateSlotTypeVersionOutput { - s.Description = &v - return s -} - -// SetEnumerationValues sets the EnumerationValues field's value. -func (s *CreateSlotTypeVersionOutput) SetEnumerationValues(v []EnumerationValue) *CreateSlotTypeVersionOutput { - s.EnumerationValues = v - return s -} - -// SetLastUpdatedDate sets the LastUpdatedDate field's value. -func (s *CreateSlotTypeVersionOutput) SetLastUpdatedDate(v time.Time) *CreateSlotTypeVersionOutput { - s.LastUpdatedDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateSlotTypeVersionOutput) SetName(v string) *CreateSlotTypeVersionOutput { - s.Name = &v - return s -} - -// SetValueSelectionStrategy sets the ValueSelectionStrategy field's value. -func (s *CreateSlotTypeVersionOutput) SetValueSelectionStrategy(v SlotValueSelectionStrategy) *CreateSlotTypeVersionOutput { - s.ValueSelectionStrategy = v - return s -} - -// SetVersion sets the Version field's value. -func (s *CreateSlotTypeVersionOutput) SetVersion(v string) *CreateSlotTypeVersionOutput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotAliasRequest type DeleteBotAliasInput struct { _ struct{} `type:"structure"` @@ -3628,18 +3190,6 @@ func (s *DeleteBotAliasInput) Validate() error { return nil } -// SetBotName sets the BotName field's value. -func (s *DeleteBotAliasInput) SetBotName(v string) *DeleteBotAliasInput { - s.BotName = &v - return s -} - -// SetName sets the Name field's value. -func (s *DeleteBotAliasInput) SetName(v string) *DeleteBotAliasInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotAliasOutput type DeleteBotAliasOutput struct { _ struct{} `type:"structure"` @@ -3724,24 +3274,6 @@ func (s *DeleteBotChannelAssociationInput) Validate() error { return nil } -// SetBotAlias sets the BotAlias field's value. -func (s *DeleteBotChannelAssociationInput) SetBotAlias(v string) *DeleteBotChannelAssociationInput { - s.BotAlias = &v - return s -} - -// SetBotName sets the BotName field's value. -func (s *DeleteBotChannelAssociationInput) SetBotName(v string) *DeleteBotChannelAssociationInput { - s.BotName = &v - return s -} - -// SetName sets the Name field's value. -func (s *DeleteBotChannelAssociationInput) SetName(v string) *DeleteBotChannelAssociationInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotChannelAssociationOutput type DeleteBotChannelAssociationOutput struct { _ struct{} `type:"structure"` @@ -3801,12 +3333,6 @@ func (s *DeleteBotInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteBotInput) SetName(v string) *DeleteBotInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotOutput type DeleteBotOutput struct { _ struct{} `type:"structure"` @@ -3879,18 +3405,6 @@ func (s *DeleteBotVersionInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteBotVersionInput) SetName(v string) *DeleteBotVersionInput { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *DeleteBotVersionInput) SetVersion(v string) *DeleteBotVersionInput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotVersionOutput type DeleteBotVersionOutput struct { _ struct{} `type:"structure"` @@ -3950,12 +3464,6 @@ func (s *DeleteIntentInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteIntentInput) SetName(v string) *DeleteIntentInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntentOutput type DeleteIntentOutput struct { _ struct{} `type:"structure"` @@ -4028,18 +3536,6 @@ func (s *DeleteIntentVersionInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteIntentVersionInput) SetName(v string) *DeleteIntentVersionInput { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *DeleteIntentVersionInput) SetVersion(v string) *DeleteIntentVersionInput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntentVersionOutput type DeleteIntentVersionOutput struct { _ struct{} `type:"structure"` @@ -4099,12 +3595,6 @@ func (s *DeleteSlotTypeInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteSlotTypeInput) SetName(v string) *DeleteSlotTypeInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotTypeOutput type DeleteSlotTypeOutput struct { _ struct{} `type:"structure"` @@ -4177,18 +3667,6 @@ func (s *DeleteSlotTypeVersionInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteSlotTypeVersionInput) SetName(v string) *DeleteSlotTypeVersionInput { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *DeleteSlotTypeVersionInput) SetVersion(v string) *DeleteSlotTypeVersionInput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotTypeVersionOutput type DeleteSlotTypeVersionOutput struct { _ struct{} `type:"structure"` @@ -4263,18 +3741,6 @@ func (s *DeleteUtterancesInput) Validate() error { return nil } -// SetBotName sets the BotName field's value. -func (s *DeleteUtterancesInput) SetBotName(v string) *DeleteUtterancesInput { - s.BotName = &v - return s -} - -// SetUserId sets the UserId field's value. -func (s *DeleteUtterancesInput) SetUserId(v string) *DeleteUtterancesInput { - s.UserId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteUtterancesOutput type DeleteUtterancesOutput struct { _ struct{} `type:"structure"` @@ -4349,18 +3815,6 @@ func (s *EnumerationValue) Validate() error { return nil } -// SetSynonyms sets the Synonyms field's value. -func (s *EnumerationValue) SetSynonyms(v []string) *EnumerationValue { - s.Synonyms = v - return s -} - -// SetValue sets the Value field's value. -func (s *EnumerationValue) SetValue(v string) *EnumerationValue { - s.Value = &v - return s -} - // A prompt for additional activity after an intent is fulfilled. For example, // after the OrderPizza intent is fulfilled, you might prompt the user to find // out whether the user wants to order drinks. @@ -4418,18 +3872,6 @@ func (s *FollowUpPrompt) Validate() error { return nil } -// SetPrompt sets the Prompt field's value. -func (s *FollowUpPrompt) SetPrompt(v *Prompt) *FollowUpPrompt { - s.Prompt = v - return s -} - -// SetRejectionStatement sets the RejectionStatement field's value. -func (s *FollowUpPrompt) SetRejectionStatement(v *Statement) *FollowUpPrompt { - s.RejectionStatement = v - return s -} - // Describes how the intent is fulfilled after the user provides all of the // information required for the intent. You can provide a Lambda function to // process the intent, or you can return the intent information to the client @@ -4490,18 +3932,6 @@ func (s *FulfillmentActivity) Validate() error { return nil } -// SetCodeHook sets the CodeHook field's value. -func (s *FulfillmentActivity) SetCodeHook(v *CodeHook) *FulfillmentActivity { - s.CodeHook = v - return s -} - -// SetType sets the Type field's value. -func (s *FulfillmentActivity) SetType(v FulfillmentActivityType) *FulfillmentActivity { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAliasRequest type GetBotAliasInput struct { _ struct{} `type:"structure"` @@ -4551,18 +3981,6 @@ func (s *GetBotAliasInput) Validate() error { return nil } -// SetBotName sets the BotName field's value. -func (s *GetBotAliasInput) SetBotName(v string) *GetBotAliasInput { - s.BotName = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetBotAliasInput) SetName(v string) *GetBotAliasInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAliasResponse type GetBotAliasOutput struct { _ struct{} `type:"structure"` @@ -4607,48 +4025,6 @@ func (s GetBotAliasOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBotName sets the BotName field's value. -func (s *GetBotAliasOutput) SetBotName(v string) *GetBotAliasOutput { - s.BotName = &v - return s -} - -// SetBotVersion sets the BotVersion field's value. -func (s *GetBotAliasOutput) SetBotVersion(v string) *GetBotAliasOutput { - s.BotVersion = &v - return s -} - -// SetChecksum sets the Checksum field's value. -func (s *GetBotAliasOutput) SetChecksum(v string) *GetBotAliasOutput { - s.Checksum = &v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *GetBotAliasOutput) SetCreatedDate(v time.Time) *GetBotAliasOutput { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *GetBotAliasOutput) SetDescription(v string) *GetBotAliasOutput { - s.Description = &v - return s -} - -// SetLastUpdatedDate sets the LastUpdatedDate field's value. -func (s *GetBotAliasOutput) SetLastUpdatedDate(v time.Time) *GetBotAliasOutput { - s.LastUpdatedDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetBotAliasOutput) SetName(v string) *GetBotAliasOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAliasesRequest type GetBotAliasesInput struct { _ struct{} `type:"structure"` @@ -4707,30 +4083,6 @@ func (s *GetBotAliasesInput) Validate() error { return nil } -// SetBotName sets the BotName field's value. -func (s *GetBotAliasesInput) SetBotName(v string) *GetBotAliasesInput { - s.BotName = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetBotAliasesInput) SetMaxResults(v int64) *GetBotAliasesInput { - s.MaxResults = &v - return s -} - -// SetNameContains sets the NameContains field's value. -func (s *GetBotAliasesInput) SetNameContains(v string) *GetBotAliasesInput { - s.NameContains = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetBotAliasesInput) SetNextToken(v string) *GetBotAliasesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAliasesResponse type GetBotAliasesOutput struct { _ struct{} `type:"structure"` @@ -4762,18 +4114,6 @@ func (s GetBotAliasesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBotAliases sets the BotAliases field's value. -func (s *GetBotAliasesOutput) SetBotAliases(v []BotAliasMetadata) *GetBotAliasesOutput { - s.BotAliases = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetBotAliasesOutput) SetNextToken(v string) *GetBotAliasesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociationRequest type GetBotChannelAssociationInput struct { _ struct{} `type:"structure"` @@ -4837,24 +4177,6 @@ func (s *GetBotChannelAssociationInput) Validate() error { return nil } -// SetBotAlias sets the BotAlias field's value. -func (s *GetBotChannelAssociationInput) SetBotAlias(v string) *GetBotChannelAssociationInput { - s.BotAlias = &v - return s -} - -// SetBotName sets the BotName field's value. -func (s *GetBotChannelAssociationInput) SetBotName(v string) *GetBotChannelAssociationInput { - s.BotName = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetBotChannelAssociationInput) SetName(v string) *GetBotChannelAssociationInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociationResponse type GetBotChannelAssociationOutput struct { _ struct{} `type:"structure"` @@ -4914,60 +4236,6 @@ func (s GetBotChannelAssociationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBotAlias sets the BotAlias field's value. -func (s *GetBotChannelAssociationOutput) SetBotAlias(v string) *GetBotChannelAssociationOutput { - s.BotAlias = &v - return s -} - -// SetBotConfiguration sets the BotConfiguration field's value. -func (s *GetBotChannelAssociationOutput) SetBotConfiguration(v map[string]string) *GetBotChannelAssociationOutput { - s.BotConfiguration = v - return s -} - -// SetBotName sets the BotName field's value. -func (s *GetBotChannelAssociationOutput) SetBotName(v string) *GetBotChannelAssociationOutput { - s.BotName = &v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *GetBotChannelAssociationOutput) SetCreatedDate(v time.Time) *GetBotChannelAssociationOutput { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *GetBotChannelAssociationOutput) SetDescription(v string) *GetBotChannelAssociationOutput { - s.Description = &v - return s -} - -// SetFailureReason sets the FailureReason field's value. -func (s *GetBotChannelAssociationOutput) SetFailureReason(v string) *GetBotChannelAssociationOutput { - s.FailureReason = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetBotChannelAssociationOutput) SetName(v string) *GetBotChannelAssociationOutput { - s.Name = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetBotChannelAssociationOutput) SetStatus(v ChannelStatus) *GetBotChannelAssociationOutput { - s.Status = v - return s -} - -// SetType sets the Type field's value. -func (s *GetBotChannelAssociationOutput) SetType(v ChannelType) *GetBotChannelAssociationOutput { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociationsRequest type GetBotChannelAssociationsInput struct { _ struct{} `type:"structure"` @@ -5040,36 +4308,6 @@ func (s *GetBotChannelAssociationsInput) Validate() error { return nil } -// SetBotAlias sets the BotAlias field's value. -func (s *GetBotChannelAssociationsInput) SetBotAlias(v string) *GetBotChannelAssociationsInput { - s.BotAlias = &v - return s -} - -// SetBotName sets the BotName field's value. -func (s *GetBotChannelAssociationsInput) SetBotName(v string) *GetBotChannelAssociationsInput { - s.BotName = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetBotChannelAssociationsInput) SetMaxResults(v int64) *GetBotChannelAssociationsInput { - s.MaxResults = &v - return s -} - -// SetNameContains sets the NameContains field's value. -func (s *GetBotChannelAssociationsInput) SetNameContains(v string) *GetBotChannelAssociationsInput { - s.NameContains = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetBotChannelAssociationsInput) SetNextToken(v string) *GetBotChannelAssociationsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociationsResponse type GetBotChannelAssociationsOutput struct { _ struct{} `type:"structure"` @@ -5102,18 +4340,6 @@ func (s GetBotChannelAssociationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBotChannelAssociations sets the BotChannelAssociations field's value. -func (s *GetBotChannelAssociationsOutput) SetBotChannelAssociations(v []BotChannelAssociation) *GetBotChannelAssociationsOutput { - s.BotChannelAssociations = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetBotChannelAssociationsOutput) SetNextToken(v string) *GetBotChannelAssociationsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotRequest type GetBotInput struct { _ struct{} `type:"structure"` @@ -5160,18 +4386,6 @@ func (s *GetBotInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *GetBotInput) SetName(v string) *GetBotInput { - s.Name = &v - return s -} - -// SetVersionOrAlias sets the VersionOrAlias field's value. -func (s *GetBotInput) SetVersionOrAlias(v string) *GetBotInput { - s.VersionOrAlias = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotResponse type GetBotOutput struct { _ struct{} `type:"structure"` @@ -5270,96 +4484,6 @@ func (s GetBotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAbortStatement sets the AbortStatement field's value. -func (s *GetBotOutput) SetAbortStatement(v *Statement) *GetBotOutput { - s.AbortStatement = v - return s -} - -// SetChecksum sets the Checksum field's value. -func (s *GetBotOutput) SetChecksum(v string) *GetBotOutput { - s.Checksum = &v - return s -} - -// SetChildDirected sets the ChildDirected field's value. -func (s *GetBotOutput) SetChildDirected(v bool) *GetBotOutput { - s.ChildDirected = &v - return s -} - -// SetClarificationPrompt sets the ClarificationPrompt field's value. -func (s *GetBotOutput) SetClarificationPrompt(v *Prompt) *GetBotOutput { - s.ClarificationPrompt = v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *GetBotOutput) SetCreatedDate(v time.Time) *GetBotOutput { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *GetBotOutput) SetDescription(v string) *GetBotOutput { - s.Description = &v - return s -} - -// SetFailureReason sets the FailureReason field's value. -func (s *GetBotOutput) SetFailureReason(v string) *GetBotOutput { - s.FailureReason = &v - return s -} - -// SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value. -func (s *GetBotOutput) SetIdleSessionTTLInSeconds(v int64) *GetBotOutput { - s.IdleSessionTTLInSeconds = &v - return s -} - -// SetIntents sets the Intents field's value. -func (s *GetBotOutput) SetIntents(v []Intent) *GetBotOutput { - s.Intents = v - return s -} - -// SetLastUpdatedDate sets the LastUpdatedDate field's value. -func (s *GetBotOutput) SetLastUpdatedDate(v time.Time) *GetBotOutput { - s.LastUpdatedDate = &v - return s -} - -// SetLocale sets the Locale field's value. -func (s *GetBotOutput) SetLocale(v Locale) *GetBotOutput { - s.Locale = v - return s -} - -// SetName sets the Name field's value. -func (s *GetBotOutput) SetName(v string) *GetBotOutput { - s.Name = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetBotOutput) SetStatus(v Status) *GetBotOutput { - s.Status = v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetBotOutput) SetVersion(v string) *GetBotOutput { - s.Version = &v - return s -} - -// SetVoiceId sets the VoiceId field's value. -func (s *GetBotOutput) SetVoiceId(v string) *GetBotOutput { - s.VoiceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotVersionsRequest type GetBotVersionsInput struct { _ struct{} `type:"structure"` @@ -5410,24 +4534,6 @@ func (s *GetBotVersionsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *GetBotVersionsInput) SetMaxResults(v int64) *GetBotVersionsInput { - s.MaxResults = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetBotVersionsInput) SetName(v string) *GetBotVersionsInput { - s.Name = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetBotVersionsInput) SetNextToken(v string) *GetBotVersionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotVersionsResponse type GetBotVersionsOutput struct { _ struct{} `type:"structure"` @@ -5460,18 +4566,6 @@ func (s GetBotVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBots sets the Bots field's value. -func (s *GetBotVersionsOutput) SetBots(v []BotMetadata) *GetBotVersionsOutput { - s.Bots = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetBotVersionsOutput) SetNextToken(v string) *GetBotVersionsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotsRequest type GetBotsInput struct { _ struct{} `type:"structure"` @@ -5518,24 +4612,6 @@ func (s *GetBotsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *GetBotsInput) SetMaxResults(v int64) *GetBotsInput { - s.MaxResults = &v - return s -} - -// SetNameContains sets the NameContains field's value. -func (s *GetBotsInput) SetNameContains(v string) *GetBotsInput { - s.NameContains = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetBotsInput) SetNextToken(v string) *GetBotsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotsResponse type GetBotsOutput struct { _ struct{} `type:"structure"` @@ -5565,18 +4641,6 @@ func (s GetBotsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBots sets the Bots field's value. -func (s *GetBotsOutput) SetBots(v []BotMetadata) *GetBotsOutput { - s.Bots = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetBotsOutput) SetNextToken(v string) *GetBotsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntentRequest type GetBuiltinIntentInput struct { _ struct{} `type:"structure"` @@ -5613,12 +4677,6 @@ func (s *GetBuiltinIntentInput) Validate() error { return nil } -// SetSignature sets the Signature field's value. -func (s *GetBuiltinIntentInput) SetSignature(v string) *GetBuiltinIntentInput { - s.Signature = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntentResponse type GetBuiltinIntentOutput struct { _ struct{} `type:"structure"` @@ -5651,24 +4709,6 @@ func (s GetBuiltinIntentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSignature sets the Signature field's value. -func (s *GetBuiltinIntentOutput) SetSignature(v string) *GetBuiltinIntentOutput { - s.Signature = &v - return s -} - -// SetSlots sets the Slots field's value. -func (s *GetBuiltinIntentOutput) SetSlots(v []BuiltinIntentSlot) *GetBuiltinIntentOutput { - s.Slots = v - return s -} - -// SetSupportedLocales sets the SupportedLocales field's value. -func (s *GetBuiltinIntentOutput) SetSupportedLocales(v []Locale) *GetBuiltinIntentOutput { - s.SupportedLocales = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntentsRequest type GetBuiltinIntentsInput struct { _ struct{} `type:"structure"` @@ -5715,30 +4755,6 @@ func (s *GetBuiltinIntentsInput) Validate() error { return nil } -// SetLocale sets the Locale field's value. -func (s *GetBuiltinIntentsInput) SetLocale(v Locale) *GetBuiltinIntentsInput { - s.Locale = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetBuiltinIntentsInput) SetMaxResults(v int64) *GetBuiltinIntentsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetBuiltinIntentsInput) SetNextToken(v string) *GetBuiltinIntentsInput { - s.NextToken = &v - return s -} - -// SetSignatureContains sets the SignatureContains field's value. -func (s *GetBuiltinIntentsInput) SetSignatureContains(v string) *GetBuiltinIntentsInput { - s.SignatureContains = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntentsResponse type GetBuiltinIntentsOutput struct { _ struct{} `type:"structure"` @@ -5770,18 +4786,6 @@ func (s GetBuiltinIntentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIntents sets the Intents field's value. -func (s *GetBuiltinIntentsOutput) SetIntents(v []BuiltinIntentMetadata) *GetBuiltinIntentsOutput { - s.Intents = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetBuiltinIntentsOutput) SetNextToken(v string) *GetBuiltinIntentsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinSlotTypesRequest type GetBuiltinSlotTypesInput struct { _ struct{} `type:"structure"` @@ -5828,30 +4832,6 @@ func (s *GetBuiltinSlotTypesInput) Validate() error { return nil } -// SetLocale sets the Locale field's value. -func (s *GetBuiltinSlotTypesInput) SetLocale(v Locale) *GetBuiltinSlotTypesInput { - s.Locale = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetBuiltinSlotTypesInput) SetMaxResults(v int64) *GetBuiltinSlotTypesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetBuiltinSlotTypesInput) SetNextToken(v string) *GetBuiltinSlotTypesInput { - s.NextToken = &v - return s -} - -// SetSignatureContains sets the SignatureContains field's value. -func (s *GetBuiltinSlotTypesInput) SetSignatureContains(v string) *GetBuiltinSlotTypesInput { - s.SignatureContains = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinSlotTypesResponse type GetBuiltinSlotTypesOutput struct { _ struct{} `type:"structure"` @@ -5882,18 +4862,6 @@ func (s GetBuiltinSlotTypesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *GetBuiltinSlotTypesOutput) SetNextToken(v string) *GetBuiltinSlotTypesOutput { - s.NextToken = &v - return s -} - -// SetSlotTypes sets the SlotTypes field's value. -func (s *GetBuiltinSlotTypesOutput) SetSlotTypes(v []BuiltinSlotTypeMetadata) *GetBuiltinSlotTypesOutput { - s.SlotTypes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetExportRequest type GetExportInput struct { _ struct{} `type:"structure"` @@ -5959,30 +4927,6 @@ func (s *GetExportInput) Validate() error { return nil } -// SetExportType sets the ExportType field's value. -func (s *GetExportInput) SetExportType(v ExportType) *GetExportInput { - s.ExportType = v - return s -} - -// SetName sets the Name field's value. -func (s *GetExportInput) SetName(v string) *GetExportInput { - s.Name = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *GetExportInput) SetResourceType(v ResourceType) *GetExportInput { - s.ResourceType = v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetExportInput) SetVersion(v string) *GetExportInput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetExportResponse type GetExportOutput struct { _ struct{} `type:"structure"` @@ -6036,48 +4980,6 @@ func (s GetExportOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExportStatus sets the ExportStatus field's value. -func (s *GetExportOutput) SetExportStatus(v ExportStatus) *GetExportOutput { - s.ExportStatus = v - return s -} - -// SetExportType sets the ExportType field's value. -func (s *GetExportOutput) SetExportType(v ExportType) *GetExportOutput { - s.ExportType = v - return s -} - -// SetFailureReason sets the FailureReason field's value. -func (s *GetExportOutput) SetFailureReason(v string) *GetExportOutput { - s.FailureReason = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetExportOutput) SetName(v string) *GetExportOutput { - s.Name = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *GetExportOutput) SetResourceType(v ResourceType) *GetExportOutput { - s.ResourceType = v - return s -} - -// SetUrl sets the Url field's value. -func (s *GetExportOutput) SetUrl(v string) *GetExportOutput { - s.Url = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetExportOutput) SetVersion(v string) *GetExportOutput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentRequest type GetIntentInput struct { _ struct{} `type:"structure"` @@ -6127,18 +5029,6 @@ func (s *GetIntentInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *GetIntentInput) SetName(v string) *GetIntentInput { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetIntentInput) SetVersion(v string) *GetIntentInput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentResponse type GetIntentOutput struct { _ struct{} `type:"structure"` @@ -6212,96 +5102,6 @@ func (s GetIntentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChecksum sets the Checksum field's value. -func (s *GetIntentOutput) SetChecksum(v string) *GetIntentOutput { - s.Checksum = &v - return s -} - -// SetConclusionStatement sets the ConclusionStatement field's value. -func (s *GetIntentOutput) SetConclusionStatement(v *Statement) *GetIntentOutput { - s.ConclusionStatement = v - return s -} - -// SetConfirmationPrompt sets the ConfirmationPrompt field's value. -func (s *GetIntentOutput) SetConfirmationPrompt(v *Prompt) *GetIntentOutput { - s.ConfirmationPrompt = v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *GetIntentOutput) SetCreatedDate(v time.Time) *GetIntentOutput { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *GetIntentOutput) SetDescription(v string) *GetIntentOutput { - s.Description = &v - return s -} - -// SetDialogCodeHook sets the DialogCodeHook field's value. -func (s *GetIntentOutput) SetDialogCodeHook(v *CodeHook) *GetIntentOutput { - s.DialogCodeHook = v - return s -} - -// SetFollowUpPrompt sets the FollowUpPrompt field's value. -func (s *GetIntentOutput) SetFollowUpPrompt(v *FollowUpPrompt) *GetIntentOutput { - s.FollowUpPrompt = v - return s -} - -// SetFulfillmentActivity sets the FulfillmentActivity field's value. -func (s *GetIntentOutput) SetFulfillmentActivity(v *FulfillmentActivity) *GetIntentOutput { - s.FulfillmentActivity = v - return s -} - -// SetLastUpdatedDate sets the LastUpdatedDate field's value. -func (s *GetIntentOutput) SetLastUpdatedDate(v time.Time) *GetIntentOutput { - s.LastUpdatedDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetIntentOutput) SetName(v string) *GetIntentOutput { - s.Name = &v - return s -} - -// SetParentIntentSignature sets the ParentIntentSignature field's value. -func (s *GetIntentOutput) SetParentIntentSignature(v string) *GetIntentOutput { - s.ParentIntentSignature = &v - return s -} - -// SetRejectionStatement sets the RejectionStatement field's value. -func (s *GetIntentOutput) SetRejectionStatement(v *Statement) *GetIntentOutput { - s.RejectionStatement = v - return s -} - -// SetSampleUtterances sets the SampleUtterances field's value. -func (s *GetIntentOutput) SetSampleUtterances(v []string) *GetIntentOutput { - s.SampleUtterances = v - return s -} - -// SetSlots sets the Slots field's value. -func (s *GetIntentOutput) SetSlots(v []Slot) *GetIntentOutput { - s.Slots = v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetIntentOutput) SetVersion(v string) *GetIntentOutput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentVersionsRequest type GetIntentVersionsInput struct { _ struct{} `type:"structure"` @@ -6352,24 +5152,6 @@ func (s *GetIntentVersionsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *GetIntentVersionsInput) SetMaxResults(v int64) *GetIntentVersionsInput { - s.MaxResults = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetIntentVersionsInput) SetName(v string) *GetIntentVersionsInput { - s.Name = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetIntentVersionsInput) SetNextToken(v string) *GetIntentVersionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentVersionsResponse type GetIntentVersionsOutput struct { _ struct{} `type:"structure"` @@ -6402,18 +5184,6 @@ func (s GetIntentVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIntents sets the Intents field's value. -func (s *GetIntentVersionsOutput) SetIntents(v []IntentMetadata) *GetIntentVersionsOutput { - s.Intents = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetIntentVersionsOutput) SetNextToken(v string) *GetIntentVersionsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentsRequest type GetIntentsInput struct { _ struct{} `type:"structure"` @@ -6459,24 +5229,6 @@ func (s *GetIntentsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *GetIntentsInput) SetMaxResults(v int64) *GetIntentsInput { - s.MaxResults = &v - return s -} - -// SetNameContains sets the NameContains field's value. -func (s *GetIntentsInput) SetNameContains(v string) *GetIntentsInput { - s.NameContains = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetIntentsInput) SetNextToken(v string) *GetIntentsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentsResponse type GetIntentsOutput struct { _ struct{} `type:"structure"` @@ -6506,18 +5258,6 @@ func (s GetIntentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIntents sets the Intents field's value. -func (s *GetIntentsOutput) SetIntents(v []IntentMetadata) *GetIntentsOutput { - s.Intents = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetIntentsOutput) SetNextToken(v string) *GetIntentsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypeRequest type GetSlotTypeInput struct { _ struct{} `type:"structure"` @@ -6567,18 +5307,6 @@ func (s *GetSlotTypeInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *GetSlotTypeInput) SetName(v string) *GetSlotTypeInput { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetSlotTypeInput) SetVersion(v string) *GetSlotTypeInput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypeResponse type GetSlotTypeOutput struct { _ struct{} `type:"structure"` @@ -6628,54 +5356,6 @@ func (s GetSlotTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChecksum sets the Checksum field's value. -func (s *GetSlotTypeOutput) SetChecksum(v string) *GetSlotTypeOutput { - s.Checksum = &v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *GetSlotTypeOutput) SetCreatedDate(v time.Time) *GetSlotTypeOutput { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *GetSlotTypeOutput) SetDescription(v string) *GetSlotTypeOutput { - s.Description = &v - return s -} - -// SetEnumerationValues sets the EnumerationValues field's value. -func (s *GetSlotTypeOutput) SetEnumerationValues(v []EnumerationValue) *GetSlotTypeOutput { - s.EnumerationValues = v - return s -} - -// SetLastUpdatedDate sets the LastUpdatedDate field's value. -func (s *GetSlotTypeOutput) SetLastUpdatedDate(v time.Time) *GetSlotTypeOutput { - s.LastUpdatedDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetSlotTypeOutput) SetName(v string) *GetSlotTypeOutput { - s.Name = &v - return s -} - -// SetValueSelectionStrategy sets the ValueSelectionStrategy field's value. -func (s *GetSlotTypeOutput) SetValueSelectionStrategy(v SlotValueSelectionStrategy) *GetSlotTypeOutput { - s.ValueSelectionStrategy = v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetSlotTypeOutput) SetVersion(v string) *GetSlotTypeOutput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypeVersionsRequest type GetSlotTypeVersionsInput struct { _ struct{} `type:"structure"` @@ -6726,24 +5406,6 @@ func (s *GetSlotTypeVersionsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *GetSlotTypeVersionsInput) SetMaxResults(v int64) *GetSlotTypeVersionsInput { - s.MaxResults = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetSlotTypeVersionsInput) SetName(v string) *GetSlotTypeVersionsInput { - s.Name = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetSlotTypeVersionsInput) SetNextToken(v string) *GetSlotTypeVersionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypeVersionsResponse type GetSlotTypeVersionsOutput struct { _ struct{} `type:"structure"` @@ -6776,18 +5438,6 @@ func (s GetSlotTypeVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *GetSlotTypeVersionsOutput) SetNextToken(v string) *GetSlotTypeVersionsOutput { - s.NextToken = &v - return s -} - -// SetSlotTypes sets the SlotTypes field's value. -func (s *GetSlotTypeVersionsOutput) SetSlotTypes(v []SlotTypeMetadata) *GetSlotTypeVersionsOutput { - s.SlotTypes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypesRequest type GetSlotTypesInput struct { _ struct{} `type:"structure"` @@ -6834,24 +5484,6 @@ func (s *GetSlotTypesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *GetSlotTypesInput) SetMaxResults(v int64) *GetSlotTypesInput { - s.MaxResults = &v - return s -} - -// SetNameContains sets the NameContains field's value. -func (s *GetSlotTypesInput) SetNameContains(v string) *GetSlotTypesInput { - s.NameContains = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetSlotTypesInput) SetNextToken(v string) *GetSlotTypesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypesResponse type GetSlotTypesOutput struct { _ struct{} `type:"structure"` @@ -6882,18 +5514,6 @@ func (s GetSlotTypesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *GetSlotTypesOutput) SetNextToken(v string) *GetSlotTypesOutput { - s.NextToken = &v - return s -} - -// SetSlotTypes sets the SlotTypes field's value. -func (s *GetSlotTypesOutput) SetSlotTypes(v []SlotTypeMetadata) *GetSlotTypesOutput { - s.SlotTypes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetUtterancesViewRequest type GetUtterancesViewInput struct { _ struct{} `type:"structure"` @@ -6953,24 +5573,6 @@ func (s *GetUtterancesViewInput) Validate() error { return nil } -// SetBotName sets the BotName field's value. -func (s *GetUtterancesViewInput) SetBotName(v string) *GetUtterancesViewInput { - s.BotName = &v - return s -} - -// SetBotVersions sets the BotVersions field's value. -func (s *GetUtterancesViewInput) SetBotVersions(v []string) *GetUtterancesViewInput { - s.BotVersions = v - return s -} - -// SetStatusType sets the StatusType field's value. -func (s *GetUtterancesViewInput) SetStatusType(v StatusType) *GetUtterancesViewInput { - s.StatusType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetUtterancesViewResponse type GetUtterancesViewOutput struct { _ struct{} `type:"structure"` @@ -7001,18 +5603,6 @@ func (s GetUtterancesViewOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBotName sets the BotName field's value. -func (s *GetUtterancesViewOutput) SetBotName(v string) *GetUtterancesViewOutput { - s.BotName = &v - return s -} - -// SetUtterances sets the Utterances field's value. -func (s *GetUtterancesViewOutput) SetUtterances(v []UtteranceList) *GetUtterancesViewOutput { - s.Utterances = v - return s -} - // Identifies the specific version of an intent. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/Intent type Intent struct { @@ -7063,18 +5653,6 @@ func (s *Intent) Validate() error { return nil } -// SetIntentName sets the IntentName field's value. -func (s *Intent) SetIntentName(v string) *Intent { - s.IntentName = &v - return s -} - -// SetIntentVersion sets the IntentVersion field's value. -func (s *Intent) SetIntentVersion(v string) *Intent { - s.IntentVersion = &v - return s -} - // Provides information about an intent. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/IntentMetadata type IntentMetadata struct { @@ -7107,36 +5685,6 @@ func (s IntentMetadata) GoString() string { return s.String() } -// SetCreatedDate sets the CreatedDate field's value. -func (s *IntentMetadata) SetCreatedDate(v time.Time) *IntentMetadata { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *IntentMetadata) SetDescription(v string) *IntentMetadata { - s.Description = &v - return s -} - -// SetLastUpdatedDate sets the LastUpdatedDate field's value. -func (s *IntentMetadata) SetLastUpdatedDate(v time.Time) *IntentMetadata { - s.LastUpdatedDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *IntentMetadata) SetName(v string) *IntentMetadata { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *IntentMetadata) SetVersion(v string) *IntentMetadata { - s.Version = &v - return s -} - // The message object that provides the message text and its type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/Message type Message struct { @@ -7183,18 +5731,6 @@ func (s *Message) Validate() error { return nil } -// SetContent sets the Content field's value. -func (s *Message) SetContent(v string) *Message { - s.Content = &v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *Message) SetContentType(v ContentType) *Message { - s.ContentType = v - return s -} - // Obtains information from the user. To define a prompt, provide one or more // messages and specify the number of attempts to get information from the user. // If you provide more than one message, Amazon Lex chooses one of the messages @@ -7265,24 +5801,6 @@ func (s *Prompt) Validate() error { return nil } -// SetMaxAttempts sets the MaxAttempts field's value. -func (s *Prompt) SetMaxAttempts(v int64) *Prompt { - s.MaxAttempts = &v - return s -} - -// SetMessages sets the Messages field's value. -func (s *Prompt) SetMessages(v []Message) *Prompt { - s.Messages = v - return s -} - -// SetResponseCard sets the ResponseCard field's value. -func (s *Prompt) SetResponseCard(v string) *Prompt { - s.ResponseCard = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBotAliasRequest type PutBotAliasInput struct { _ struct{} `type:"structure"` @@ -7358,36 +5876,6 @@ func (s *PutBotAliasInput) Validate() error { return nil } -// SetBotName sets the BotName field's value. -func (s *PutBotAliasInput) SetBotName(v string) *PutBotAliasInput { - s.BotName = &v - return s -} - -// SetBotVersion sets the BotVersion field's value. -func (s *PutBotAliasInput) SetBotVersion(v string) *PutBotAliasInput { - s.BotVersion = &v - return s -} - -// SetChecksum sets the Checksum field's value. -func (s *PutBotAliasInput) SetChecksum(v string) *PutBotAliasInput { - s.Checksum = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *PutBotAliasInput) SetDescription(v string) *PutBotAliasInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *PutBotAliasInput) SetName(v string) *PutBotAliasInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBotAliasResponse type PutBotAliasOutput struct { _ struct{} `type:"structure"` @@ -7432,48 +5920,6 @@ func (s PutBotAliasOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBotName sets the BotName field's value. -func (s *PutBotAliasOutput) SetBotName(v string) *PutBotAliasOutput { - s.BotName = &v - return s -} - -// SetBotVersion sets the BotVersion field's value. -func (s *PutBotAliasOutput) SetBotVersion(v string) *PutBotAliasOutput { - s.BotVersion = &v - return s -} - -// SetChecksum sets the Checksum field's value. -func (s *PutBotAliasOutput) SetChecksum(v string) *PutBotAliasOutput { - s.Checksum = &v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *PutBotAliasOutput) SetCreatedDate(v time.Time) *PutBotAliasOutput { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *PutBotAliasOutput) SetDescription(v string) *PutBotAliasOutput { - s.Description = &v - return s -} - -// SetLastUpdatedDate sets the LastUpdatedDate field's value. -func (s *PutBotAliasOutput) SetLastUpdatedDate(v time.Time) *PutBotAliasOutput { - s.LastUpdatedDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *PutBotAliasOutput) SetName(v string) *PutBotAliasOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBotRequest type PutBotInput struct { _ struct{} `type:"structure"` @@ -7651,72 +6097,6 @@ func (s *PutBotInput) Validate() error { return nil } -// SetAbortStatement sets the AbortStatement field's value. -func (s *PutBotInput) SetAbortStatement(v *Statement) *PutBotInput { - s.AbortStatement = v - return s -} - -// SetChecksum sets the Checksum field's value. -func (s *PutBotInput) SetChecksum(v string) *PutBotInput { - s.Checksum = &v - return s -} - -// SetChildDirected sets the ChildDirected field's value. -func (s *PutBotInput) SetChildDirected(v bool) *PutBotInput { - s.ChildDirected = &v - return s -} - -// SetClarificationPrompt sets the ClarificationPrompt field's value. -func (s *PutBotInput) SetClarificationPrompt(v *Prompt) *PutBotInput { - s.ClarificationPrompt = v - return s -} - -// SetDescription sets the Description field's value. -func (s *PutBotInput) SetDescription(v string) *PutBotInput { - s.Description = &v - return s -} - -// SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value. -func (s *PutBotInput) SetIdleSessionTTLInSeconds(v int64) *PutBotInput { - s.IdleSessionTTLInSeconds = &v - return s -} - -// SetIntents sets the Intents field's value. -func (s *PutBotInput) SetIntents(v []Intent) *PutBotInput { - s.Intents = v - return s -} - -// SetLocale sets the Locale field's value. -func (s *PutBotInput) SetLocale(v Locale) *PutBotInput { - s.Locale = v - return s -} - -// SetName sets the Name field's value. -func (s *PutBotInput) SetName(v string) *PutBotInput { - s.Name = &v - return s -} - -// SetProcessBehavior sets the ProcessBehavior field's value. -func (s *PutBotInput) SetProcessBehavior(v ProcessBehavior) *PutBotInput { - s.ProcessBehavior = v - return s -} - -// SetVoiceId sets the VoiceId field's value. -func (s *PutBotInput) SetVoiceId(v string) *PutBotInput { - s.VoiceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBotResponse type PutBotOutput struct { _ struct{} `type:"structure"` @@ -7819,96 +6199,6 @@ func (s PutBotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAbortStatement sets the AbortStatement field's value. -func (s *PutBotOutput) SetAbortStatement(v *Statement) *PutBotOutput { - s.AbortStatement = v - return s -} - -// SetChecksum sets the Checksum field's value. -func (s *PutBotOutput) SetChecksum(v string) *PutBotOutput { - s.Checksum = &v - return s -} - -// SetChildDirected sets the ChildDirected field's value. -func (s *PutBotOutput) SetChildDirected(v bool) *PutBotOutput { - s.ChildDirected = &v - return s -} - -// SetClarificationPrompt sets the ClarificationPrompt field's value. -func (s *PutBotOutput) SetClarificationPrompt(v *Prompt) *PutBotOutput { - s.ClarificationPrompt = v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *PutBotOutput) SetCreatedDate(v time.Time) *PutBotOutput { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *PutBotOutput) SetDescription(v string) *PutBotOutput { - s.Description = &v - return s -} - -// SetFailureReason sets the FailureReason field's value. -func (s *PutBotOutput) SetFailureReason(v string) *PutBotOutput { - s.FailureReason = &v - return s -} - -// SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value. -func (s *PutBotOutput) SetIdleSessionTTLInSeconds(v int64) *PutBotOutput { - s.IdleSessionTTLInSeconds = &v - return s -} - -// SetIntents sets the Intents field's value. -func (s *PutBotOutput) SetIntents(v []Intent) *PutBotOutput { - s.Intents = v - return s -} - -// SetLastUpdatedDate sets the LastUpdatedDate field's value. -func (s *PutBotOutput) SetLastUpdatedDate(v time.Time) *PutBotOutput { - s.LastUpdatedDate = &v - return s -} - -// SetLocale sets the Locale field's value. -func (s *PutBotOutput) SetLocale(v Locale) *PutBotOutput { - s.Locale = v - return s -} - -// SetName sets the Name field's value. -func (s *PutBotOutput) SetName(v string) *PutBotOutput { - s.Name = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *PutBotOutput) SetStatus(v Status) *PutBotOutput { - s.Status = v - return s -} - -// SetVersion sets the Version field's value. -func (s *PutBotOutput) SetVersion(v string) *PutBotOutput { - s.Version = &v - return s -} - -// SetVoiceId sets the VoiceId field's value. -func (s *PutBotOutput) SetVoiceId(v string) *PutBotOutput { - s.VoiceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntentRequest type PutIntentInput struct { _ struct{} `type:"structure"` @@ -8093,78 +6383,6 @@ func (s *PutIntentInput) Validate() error { return nil } -// SetChecksum sets the Checksum field's value. -func (s *PutIntentInput) SetChecksum(v string) *PutIntentInput { - s.Checksum = &v - return s -} - -// SetConclusionStatement sets the ConclusionStatement field's value. -func (s *PutIntentInput) SetConclusionStatement(v *Statement) *PutIntentInput { - s.ConclusionStatement = v - return s -} - -// SetConfirmationPrompt sets the ConfirmationPrompt field's value. -func (s *PutIntentInput) SetConfirmationPrompt(v *Prompt) *PutIntentInput { - s.ConfirmationPrompt = v - return s -} - -// SetDescription sets the Description field's value. -func (s *PutIntentInput) SetDescription(v string) *PutIntentInput { - s.Description = &v - return s -} - -// SetDialogCodeHook sets the DialogCodeHook field's value. -func (s *PutIntentInput) SetDialogCodeHook(v *CodeHook) *PutIntentInput { - s.DialogCodeHook = v - return s -} - -// SetFollowUpPrompt sets the FollowUpPrompt field's value. -func (s *PutIntentInput) SetFollowUpPrompt(v *FollowUpPrompt) *PutIntentInput { - s.FollowUpPrompt = v - return s -} - -// SetFulfillmentActivity sets the FulfillmentActivity field's value. -func (s *PutIntentInput) SetFulfillmentActivity(v *FulfillmentActivity) *PutIntentInput { - s.FulfillmentActivity = v - return s -} - -// SetName sets the Name field's value. -func (s *PutIntentInput) SetName(v string) *PutIntentInput { - s.Name = &v - return s -} - -// SetParentIntentSignature sets the ParentIntentSignature field's value. -func (s *PutIntentInput) SetParentIntentSignature(v string) *PutIntentInput { - s.ParentIntentSignature = &v - return s -} - -// SetRejectionStatement sets the RejectionStatement field's value. -func (s *PutIntentInput) SetRejectionStatement(v *Statement) *PutIntentInput { - s.RejectionStatement = v - return s -} - -// SetSampleUtterances sets the SampleUtterances field's value. -func (s *PutIntentInput) SetSampleUtterances(v []string) *PutIntentInput { - s.SampleUtterances = v - return s -} - -// SetSlots sets the Slots field's value. -func (s *PutIntentInput) SetSlots(v []Slot) *PutIntentInput { - s.Slots = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntentResponse type PutIntentOutput struct { _ struct{} `type:"structure"` @@ -8240,96 +6458,6 @@ func (s PutIntentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChecksum sets the Checksum field's value. -func (s *PutIntentOutput) SetChecksum(v string) *PutIntentOutput { - s.Checksum = &v - return s -} - -// SetConclusionStatement sets the ConclusionStatement field's value. -func (s *PutIntentOutput) SetConclusionStatement(v *Statement) *PutIntentOutput { - s.ConclusionStatement = v - return s -} - -// SetConfirmationPrompt sets the ConfirmationPrompt field's value. -func (s *PutIntentOutput) SetConfirmationPrompt(v *Prompt) *PutIntentOutput { - s.ConfirmationPrompt = v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *PutIntentOutput) SetCreatedDate(v time.Time) *PutIntentOutput { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *PutIntentOutput) SetDescription(v string) *PutIntentOutput { - s.Description = &v - return s -} - -// SetDialogCodeHook sets the DialogCodeHook field's value. -func (s *PutIntentOutput) SetDialogCodeHook(v *CodeHook) *PutIntentOutput { - s.DialogCodeHook = v - return s -} - -// SetFollowUpPrompt sets the FollowUpPrompt field's value. -func (s *PutIntentOutput) SetFollowUpPrompt(v *FollowUpPrompt) *PutIntentOutput { - s.FollowUpPrompt = v - return s -} - -// SetFulfillmentActivity sets the FulfillmentActivity field's value. -func (s *PutIntentOutput) SetFulfillmentActivity(v *FulfillmentActivity) *PutIntentOutput { - s.FulfillmentActivity = v - return s -} - -// SetLastUpdatedDate sets the LastUpdatedDate field's value. -func (s *PutIntentOutput) SetLastUpdatedDate(v time.Time) *PutIntentOutput { - s.LastUpdatedDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *PutIntentOutput) SetName(v string) *PutIntentOutput { - s.Name = &v - return s -} - -// SetParentIntentSignature sets the ParentIntentSignature field's value. -func (s *PutIntentOutput) SetParentIntentSignature(v string) *PutIntentOutput { - s.ParentIntentSignature = &v - return s -} - -// SetRejectionStatement sets the RejectionStatement field's value. -func (s *PutIntentOutput) SetRejectionStatement(v *Statement) *PutIntentOutput { - s.RejectionStatement = v - return s -} - -// SetSampleUtterances sets the SampleUtterances field's value. -func (s *PutIntentOutput) SetSampleUtterances(v []string) *PutIntentOutput { - s.SampleUtterances = v - return s -} - -// SetSlots sets the Slots field's value. -func (s *PutIntentOutput) SetSlots(v []Slot) *PutIntentOutput { - s.Slots = v - return s -} - -// SetVersion sets the Version field's value. -func (s *PutIntentOutput) SetVersion(v string) *PutIntentOutput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutSlotTypeRequest type PutSlotTypeInput struct { _ struct{} `type:"structure"` @@ -8424,36 +6552,6 @@ func (s *PutSlotTypeInput) Validate() error { return nil } -// SetChecksum sets the Checksum field's value. -func (s *PutSlotTypeInput) SetChecksum(v string) *PutSlotTypeInput { - s.Checksum = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *PutSlotTypeInput) SetDescription(v string) *PutSlotTypeInput { - s.Description = &v - return s -} - -// SetEnumerationValues sets the EnumerationValues field's value. -func (s *PutSlotTypeInput) SetEnumerationValues(v []EnumerationValue) *PutSlotTypeInput { - s.EnumerationValues = v - return s -} - -// SetName sets the Name field's value. -func (s *PutSlotTypeInput) SetName(v string) *PutSlotTypeInput { - s.Name = &v - return s -} - -// SetValueSelectionStrategy sets the ValueSelectionStrategy field's value. -func (s *PutSlotTypeInput) SetValueSelectionStrategy(v SlotValueSelectionStrategy) *PutSlotTypeInput { - s.ValueSelectionStrategy = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutSlotTypeResponse type PutSlotTypeOutput struct { _ struct{} `type:"structure"` @@ -8504,54 +6602,6 @@ func (s PutSlotTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChecksum sets the Checksum field's value. -func (s *PutSlotTypeOutput) SetChecksum(v string) *PutSlotTypeOutput { - s.Checksum = &v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *PutSlotTypeOutput) SetCreatedDate(v time.Time) *PutSlotTypeOutput { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *PutSlotTypeOutput) SetDescription(v string) *PutSlotTypeOutput { - s.Description = &v - return s -} - -// SetEnumerationValues sets the EnumerationValues field's value. -func (s *PutSlotTypeOutput) SetEnumerationValues(v []EnumerationValue) *PutSlotTypeOutput { - s.EnumerationValues = v - return s -} - -// SetLastUpdatedDate sets the LastUpdatedDate field's value. -func (s *PutSlotTypeOutput) SetLastUpdatedDate(v time.Time) *PutSlotTypeOutput { - s.LastUpdatedDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *PutSlotTypeOutput) SetName(v string) *PutSlotTypeOutput { - s.Name = &v - return s -} - -// SetValueSelectionStrategy sets the ValueSelectionStrategy field's value. -func (s *PutSlotTypeOutput) SetValueSelectionStrategy(v SlotValueSelectionStrategy) *PutSlotTypeOutput { - s.ValueSelectionStrategy = v - return s -} - -// SetVersion sets the Version field's value. -func (s *PutSlotTypeOutput) SetVersion(v string) *PutSlotTypeOutput { - s.Version = &v - return s -} - // Describes the resource that refers to the resource that you are attempting // to delete. This object is returned as part of the ResourceInUseException // exception. @@ -8578,18 +6628,6 @@ func (s ResourceReference) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *ResourceReference) SetName(v string) *ResourceReference { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *ResourceReference) SetVersion(v string) *ResourceReference { - s.Version = &v - return s -} - // Identifies the version of a specific slot. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/Slot type Slot struct { @@ -8682,60 +6720,6 @@ func (s *Slot) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *Slot) SetDescription(v string) *Slot { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *Slot) SetName(v string) *Slot { - s.Name = &v - return s -} - -// SetPriority sets the Priority field's value. -func (s *Slot) SetPriority(v int64) *Slot { - s.Priority = &v - return s -} - -// SetResponseCard sets the ResponseCard field's value. -func (s *Slot) SetResponseCard(v string) *Slot { - s.ResponseCard = &v - return s -} - -// SetSampleUtterances sets the SampleUtterances field's value. -func (s *Slot) SetSampleUtterances(v []string) *Slot { - s.SampleUtterances = v - return s -} - -// SetSlotConstraint sets the SlotConstraint field's value. -func (s *Slot) SetSlotConstraint(v SlotConstraint) *Slot { - s.SlotConstraint = v - return s -} - -// SetSlotType sets the SlotType field's value. -func (s *Slot) SetSlotType(v string) *Slot { - s.SlotType = &v - return s -} - -// SetSlotTypeVersion sets the SlotTypeVersion field's value. -func (s *Slot) SetSlotTypeVersion(v string) *Slot { - s.SlotTypeVersion = &v - return s -} - -// SetValueElicitationPrompt sets the ValueElicitationPrompt field's value. -func (s *Slot) SetValueElicitationPrompt(v *Prompt) *Slot { - s.ValueElicitationPrompt = v - return s -} - // Provides information about a slot type.. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/SlotTypeMetadata type SlotTypeMetadata struct { @@ -8768,36 +6752,6 @@ func (s SlotTypeMetadata) GoString() string { return s.String() } -// SetCreatedDate sets the CreatedDate field's value. -func (s *SlotTypeMetadata) SetCreatedDate(v time.Time) *SlotTypeMetadata { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *SlotTypeMetadata) SetDescription(v string) *SlotTypeMetadata { - s.Description = &v - return s -} - -// SetLastUpdatedDate sets the LastUpdatedDate field's value. -func (s *SlotTypeMetadata) SetLastUpdatedDate(v time.Time) *SlotTypeMetadata { - s.LastUpdatedDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *SlotTypeMetadata) SetName(v string) *SlotTypeMetadata { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *SlotTypeMetadata) SetVersion(v string) *SlotTypeMetadata { - s.Version = &v - return s -} - // A collection of messages that convey information to the user. At runtime, // Amazon Lex selects the message to convey. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/Statement @@ -8853,18 +6807,6 @@ func (s *Statement) Validate() error { return nil } -// SetMessages sets the Messages field's value. -func (s *Statement) SetMessages(v []Message) *Statement { - s.Messages = v - return s -} - -// SetResponseCard sets the ResponseCard field's value. -func (s *Statement) SetResponseCard(v string) *Statement { - s.ResponseCard = &v - return s -} - // Provides information about a single utterance that was made to your bot. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/UtteranceData type UtteranceData struct { @@ -8897,36 +6839,6 @@ func (s UtteranceData) GoString() string { return s.String() } -// SetCount sets the Count field's value. -func (s *UtteranceData) SetCount(v int64) *UtteranceData { - s.Count = &v - return s -} - -// SetDistinctUsers sets the DistinctUsers field's value. -func (s *UtteranceData) SetDistinctUsers(v int64) *UtteranceData { - s.DistinctUsers = &v - return s -} - -// SetFirstUtteredDate sets the FirstUtteredDate field's value. -func (s *UtteranceData) SetFirstUtteredDate(v time.Time) *UtteranceData { - s.FirstUtteredDate = &v - return s -} - -// SetLastUtteredDate sets the LastUtteredDate field's value. -func (s *UtteranceData) SetLastUtteredDate(v time.Time) *UtteranceData { - s.LastUtteredDate = &v - return s -} - -// SetUtteranceString sets the UtteranceString field's value. -func (s *UtteranceData) SetUtteranceString(v string) *UtteranceData { - s.UtteranceString = &v - return s -} - // Provides a list of utterances that have been made to a specific version of // your bot. The list contains a maximum of 100 utterances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/UtteranceList @@ -8951,18 +6863,6 @@ func (s UtteranceList) GoString() string { return s.String() } -// SetBotVersion sets the BotVersion field's value. -func (s *UtteranceList) SetBotVersion(v string) *UtteranceList { - s.BotVersion = &v - return s -} - -// SetUtterances sets the Utterances field's value. -func (s *UtteranceList) SetUtterances(v []UtteranceData) *UtteranceList { - s.Utterances = v - return s -} - type ChannelStatus string // Enum values for ChannelStatus diff --git a/service/lexruntimeservice/api.go b/service/lexruntimeservice/api.go index 04ce6d29fa2..03360deeaa3 100644 --- a/service/lexruntimeservice/api.go +++ b/service/lexruntimeservice/api.go @@ -242,18 +242,6 @@ func (s Button) GoString() string { return s.String() } -// SetText sets the Text field's value. -func (s *Button) SetText(v string) *Button { - s.Text = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Button) SetValue(v string) *Button { - s.Value = &v - return s -} - // Represents an option rendered to the user when a prompt is shown. It could // be an image, a button, a link, or text. // Please also see https://docs.aws.amazon.com/goto/WebAPI/runtime.lex-2016-11-28/GenericAttachment @@ -286,36 +274,6 @@ func (s GenericAttachment) GoString() string { return s.String() } -// SetAttachmentLinkUrl sets the AttachmentLinkUrl field's value. -func (s *GenericAttachment) SetAttachmentLinkUrl(v string) *GenericAttachment { - s.AttachmentLinkUrl = &v - return s -} - -// SetButtons sets the Buttons field's value. -func (s *GenericAttachment) SetButtons(v []Button) *GenericAttachment { - s.Buttons = v - return s -} - -// SetImageUrl sets the ImageUrl field's value. -func (s *GenericAttachment) SetImageUrl(v string) *GenericAttachment { - s.ImageUrl = &v - return s -} - -// SetSubTitle sets the SubTitle field's value. -func (s *GenericAttachment) SetSubTitle(v string) *GenericAttachment { - s.SubTitle = &v - return s -} - -// SetTitle sets the Title field's value. -func (s *GenericAttachment) SetTitle(v string) *GenericAttachment { - s.Title = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/runtime.lex-2016-11-28/PostContentRequest type PostContentInput struct { _ struct{} `type:"structure" payload:"InputStream"` @@ -485,54 +443,6 @@ func (s *PostContentInput) Validate() error { return nil } -// SetAccept sets the Accept field's value. -func (s *PostContentInput) SetAccept(v string) *PostContentInput { - s.Accept = &v - return s -} - -// SetBotAlias sets the BotAlias field's value. -func (s *PostContentInput) SetBotAlias(v string) *PostContentInput { - s.BotAlias = &v - return s -} - -// SetBotName sets the BotName field's value. -func (s *PostContentInput) SetBotName(v string) *PostContentInput { - s.BotName = &v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *PostContentInput) SetContentType(v string) *PostContentInput { - s.ContentType = &v - return s -} - -// SetInputStream sets the InputStream field's value. -func (s *PostContentInput) SetInputStream(v io.ReadSeeker) *PostContentInput { - s.InputStream = v - return s -} - -// SetRequestAttributes sets the RequestAttributes field's value. -func (s *PostContentInput) SetRequestAttributes(v aws.JSONValue) *PostContentInput { - s.RequestAttributes = v - return s -} - -// SetSessionAttributes sets the SessionAttributes field's value. -func (s *PostContentInput) SetSessionAttributes(v aws.JSONValue) *PostContentInput { - s.SessionAttributes = v - return s -} - -// SetUserId sets the UserId field's value. -func (s *PostContentInput) SetUserId(v string) *PostContentInput { - s.UserId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/runtime.lex-2016-11-28/PostContentResponse type PostContentOutput struct { _ struct{} `type:"structure" payload:"AudioStream"` @@ -655,60 +565,6 @@ func (s PostContentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAudioStream sets the AudioStream field's value. -func (s *PostContentOutput) SetAudioStream(v io.ReadCloser) *PostContentOutput { - s.AudioStream = v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *PostContentOutput) SetContentType(v string) *PostContentOutput { - s.ContentType = &v - return s -} - -// SetDialogState sets the DialogState field's value. -func (s *PostContentOutput) SetDialogState(v DialogState) *PostContentOutput { - s.DialogState = v - return s -} - -// SetInputTranscript sets the InputTranscript field's value. -func (s *PostContentOutput) SetInputTranscript(v string) *PostContentOutput { - s.InputTranscript = &v - return s -} - -// SetIntentName sets the IntentName field's value. -func (s *PostContentOutput) SetIntentName(v string) *PostContentOutput { - s.IntentName = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *PostContentOutput) SetMessage(v string) *PostContentOutput { - s.Message = &v - return s -} - -// SetSessionAttributes sets the SessionAttributes field's value. -func (s *PostContentOutput) SetSessionAttributes(v aws.JSONValue) *PostContentOutput { - s.SessionAttributes = v - return s -} - -// SetSlotToElicit sets the SlotToElicit field's value. -func (s *PostContentOutput) SetSlotToElicit(v string) *PostContentOutput { - s.SlotToElicit = &v - return s -} - -// SetSlots sets the Slots field's value. -func (s *PostContentOutput) SetSlots(v aws.JSONValue) *PostContentOutput { - s.Slots = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/runtime.lex-2016-11-28/PostTextRequest type PostTextInput struct { _ struct{} `type:"structure"` @@ -811,42 +667,6 @@ func (s *PostTextInput) Validate() error { return nil } -// SetBotAlias sets the BotAlias field's value. -func (s *PostTextInput) SetBotAlias(v string) *PostTextInput { - s.BotAlias = &v - return s -} - -// SetBotName sets the BotName field's value. -func (s *PostTextInput) SetBotName(v string) *PostTextInput { - s.BotName = &v - return s -} - -// SetInputText sets the InputText field's value. -func (s *PostTextInput) SetInputText(v string) *PostTextInput { - s.InputText = &v - return s -} - -// SetRequestAttributes sets the RequestAttributes field's value. -func (s *PostTextInput) SetRequestAttributes(v map[string]string) *PostTextInput { - s.RequestAttributes = v - return s -} - -// SetSessionAttributes sets the SessionAttributes field's value. -func (s *PostTextInput) SetSessionAttributes(v map[string]string) *PostTextInput { - s.SessionAttributes = v - return s -} - -// SetUserId sets the UserId field's value. -func (s *PostTextInput) SetUserId(v string) *PostTextInput { - s.UserId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/runtime.lex-2016-11-28/PostTextResponse type PostTextOutput struct { _ struct{} `type:"structure"` @@ -954,48 +774,6 @@ func (s PostTextOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDialogState sets the DialogState field's value. -func (s *PostTextOutput) SetDialogState(v DialogState) *PostTextOutput { - s.DialogState = v - return s -} - -// SetIntentName sets the IntentName field's value. -func (s *PostTextOutput) SetIntentName(v string) *PostTextOutput { - s.IntentName = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *PostTextOutput) SetMessage(v string) *PostTextOutput { - s.Message = &v - return s -} - -// SetResponseCard sets the ResponseCard field's value. -func (s *PostTextOutput) SetResponseCard(v *ResponseCard) *PostTextOutput { - s.ResponseCard = v - return s -} - -// SetSessionAttributes sets the SessionAttributes field's value. -func (s *PostTextOutput) SetSessionAttributes(v map[string]string) *PostTextOutput { - s.SessionAttributes = v - return s -} - -// SetSlotToElicit sets the SlotToElicit field's value. -func (s *PostTextOutput) SetSlotToElicit(v string) *PostTextOutput { - s.SlotToElicit = &v - return s -} - -// SetSlots sets the Slots field's value. -func (s *PostTextOutput) SetSlots(v map[string]string) *PostTextOutput { - s.Slots = v - return s -} - // If you configure a response card when creating your bots, Amazon Lex substitutes // the session attributes and slot values that are available, and then returns // it. The response card can also come from a Lambda function ( dialogCodeHook @@ -1024,24 +802,6 @@ func (s ResponseCard) GoString() string { return s.String() } -// SetContentType sets the ContentType field's value. -func (s *ResponseCard) SetContentType(v ContentType) *ResponseCard { - s.ContentType = v - return s -} - -// SetGenericAttachments sets the GenericAttachments field's value. -func (s *ResponseCard) SetGenericAttachments(v []GenericAttachment) *ResponseCard { - s.GenericAttachments = v - return s -} - -// SetVersion sets the Version field's value. -func (s *ResponseCard) SetVersion(v string) *ResponseCard { - s.Version = &v - return s -} - type ContentType string // Enum values for ContentType diff --git a/service/lightsail/api.go b/service/lightsail/api.go index 73a1a4af511..ab8cbe81719 100644 --- a/service/lightsail/api.go +++ b/service/lightsail/api.go @@ -3601,12 +3601,6 @@ func (s *AllocateStaticIpInput) Validate() error { return nil } -// SetStaticIpName sets the StaticIpName field's value. -func (s *AllocateStaticIpInput) SetStaticIpName(v string) *AllocateStaticIpInput { - s.StaticIpName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AllocateStaticIpResult type AllocateStaticIpOutput struct { _ struct{} `type:"structure"` @@ -3633,12 +3627,6 @@ func (s AllocateStaticIpOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *AllocateStaticIpOutput) SetOperations(v []Operation) *AllocateStaticIpOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachDiskRequest type AttachDiskInput struct { _ struct{} `type:"structure"` @@ -3692,24 +3680,6 @@ func (s *AttachDiskInput) Validate() error { return nil } -// SetDiskName sets the DiskName field's value. -func (s *AttachDiskInput) SetDiskName(v string) *AttachDiskInput { - s.DiskName = &v - return s -} - -// SetDiskPath sets the DiskPath field's value. -func (s *AttachDiskInput) SetDiskPath(v string) *AttachDiskInput { - s.DiskPath = &v - return s -} - -// SetInstanceName sets the InstanceName field's value. -func (s *AttachDiskInput) SetInstanceName(v string) *AttachDiskInput { - s.InstanceName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachDiskResult type AttachDiskOutput struct { _ struct{} `type:"structure"` @@ -3735,12 +3705,6 @@ func (s AttachDiskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *AttachDiskOutput) SetOperations(v []Operation) *AttachDiskOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachInstancesToLoadBalancerRequest type AttachInstancesToLoadBalancerInput struct { _ struct{} `type:"structure"` @@ -3785,18 +3749,6 @@ func (s *AttachInstancesToLoadBalancerInput) Validate() error { return nil } -// SetInstanceNames sets the InstanceNames field's value. -func (s *AttachInstancesToLoadBalancerInput) SetInstanceNames(v []string) *AttachInstancesToLoadBalancerInput { - s.InstanceNames = v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *AttachInstancesToLoadBalancerInput) SetLoadBalancerName(v string) *AttachInstancesToLoadBalancerInput { - s.LoadBalancerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachInstancesToLoadBalancerResult type AttachInstancesToLoadBalancerOutput struct { _ struct{} `type:"structure"` @@ -3822,12 +3774,6 @@ func (s AttachInstancesToLoadBalancerOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *AttachInstancesToLoadBalancerOutput) SetOperations(v []Operation) *AttachInstancesToLoadBalancerOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachLoadBalancerTlsCertificateRequest type AttachLoadBalancerTlsCertificateInput struct { _ struct{} `type:"structure"` @@ -3872,18 +3818,6 @@ func (s *AttachLoadBalancerTlsCertificateInput) Validate() error { return nil } -// SetCertificateName sets the CertificateName field's value. -func (s *AttachLoadBalancerTlsCertificateInput) SetCertificateName(v string) *AttachLoadBalancerTlsCertificateInput { - s.CertificateName = &v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *AttachLoadBalancerTlsCertificateInput) SetLoadBalancerName(v string) *AttachLoadBalancerTlsCertificateInput { - s.LoadBalancerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachLoadBalancerTlsCertificateResult type AttachLoadBalancerTlsCertificateOutput struct { _ struct{} `type:"structure"` @@ -3909,12 +3843,6 @@ func (s AttachLoadBalancerTlsCertificateOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *AttachLoadBalancerTlsCertificateOutput) SetOperations(v []Operation) *AttachLoadBalancerTlsCertificateOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachStaticIpRequest type AttachStaticIpInput struct { _ struct{} `type:"structure"` @@ -3958,18 +3886,6 @@ func (s *AttachStaticIpInput) Validate() error { return nil } -// SetInstanceName sets the InstanceName field's value. -func (s *AttachStaticIpInput) SetInstanceName(v string) *AttachStaticIpInput { - s.InstanceName = &v - return s -} - -// SetStaticIpName sets the StaticIpName field's value. -func (s *AttachStaticIpInput) SetStaticIpName(v string) *AttachStaticIpInput { - s.StaticIpName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachStaticIpResult type AttachStaticIpOutput struct { _ struct{} `type:"structure"` @@ -3995,12 +3911,6 @@ func (s AttachStaticIpOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *AttachStaticIpOutput) SetOperations(v []Operation) *AttachStaticIpOutput { - s.Operations = v - return s -} - // Describes an Availability Zone. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AvailabilityZone type AvailabilityZone struct { @@ -4023,18 +3933,6 @@ func (s AvailabilityZone) GoString() string { return s.String() } -// SetState sets the State field's value. -func (s *AvailabilityZone) SetState(v string) *AvailabilityZone { - s.State = &v - return s -} - -// SetZoneName sets the ZoneName field's value. -func (s *AvailabilityZone) SetZoneName(v string) *AvailabilityZone { - s.ZoneName = &v - return s -} - // Describes a blueprint (a virtual private server image). // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Blueprint type Blueprint struct { @@ -4094,78 +3992,6 @@ func (s Blueprint) GoString() string { return s.String() } -// SetBlueprintId sets the BlueprintId field's value. -func (s *Blueprint) SetBlueprintId(v string) *Blueprint { - s.BlueprintId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Blueprint) SetDescription(v string) *Blueprint { - s.Description = &v - return s -} - -// SetGroup sets the Group field's value. -func (s *Blueprint) SetGroup(v string) *Blueprint { - s.Group = &v - return s -} - -// SetIsActive sets the IsActive field's value. -func (s *Blueprint) SetIsActive(v bool) *Blueprint { - s.IsActive = &v - return s -} - -// SetLicenseUrl sets the LicenseUrl field's value. -func (s *Blueprint) SetLicenseUrl(v string) *Blueprint { - s.LicenseUrl = &v - return s -} - -// SetMinPower sets the MinPower field's value. -func (s *Blueprint) SetMinPower(v int64) *Blueprint { - s.MinPower = &v - return s -} - -// SetName sets the Name field's value. -func (s *Blueprint) SetName(v string) *Blueprint { - s.Name = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *Blueprint) SetPlatform(v InstancePlatform) *Blueprint { - s.Platform = v - return s -} - -// SetProductUrl sets the ProductUrl field's value. -func (s *Blueprint) SetProductUrl(v string) *Blueprint { - s.ProductUrl = &v - return s -} - -// SetType sets the Type field's value. -func (s *Blueprint) SetType(v BlueprintType) *Blueprint { - s.Type = v - return s -} - -// SetVersion sets the Version field's value. -func (s *Blueprint) SetVersion(v string) *Blueprint { - s.Version = &v - return s -} - -// SetVersionCode sets the VersionCode field's value. -func (s *Blueprint) SetVersionCode(v string) *Blueprint { - s.VersionCode = &v - return s -} - // Describes a bundle, which is a set of specs describing your virtual private // server (or instance). // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Bundle @@ -4223,72 +4049,6 @@ func (s Bundle) GoString() string { return s.String() } -// SetBundleId sets the BundleId field's value. -func (s *Bundle) SetBundleId(v string) *Bundle { - s.BundleId = &v - return s -} - -// SetCpuCount sets the CpuCount field's value. -func (s *Bundle) SetCpuCount(v int64) *Bundle { - s.CpuCount = &v - return s -} - -// SetDiskSizeInGb sets the DiskSizeInGb field's value. -func (s *Bundle) SetDiskSizeInGb(v int64) *Bundle { - s.DiskSizeInGb = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *Bundle) SetInstanceType(v string) *Bundle { - s.InstanceType = &v - return s -} - -// SetIsActive sets the IsActive field's value. -func (s *Bundle) SetIsActive(v bool) *Bundle { - s.IsActive = &v - return s -} - -// SetName sets the Name field's value. -func (s *Bundle) SetName(v string) *Bundle { - s.Name = &v - return s -} - -// SetPower sets the Power field's value. -func (s *Bundle) SetPower(v int64) *Bundle { - s.Power = &v - return s -} - -// SetPrice sets the Price field's value. -func (s *Bundle) SetPrice(v float64) *Bundle { - s.Price = &v - return s -} - -// SetRamSizeInGb sets the RamSizeInGb field's value. -func (s *Bundle) SetRamSizeInGb(v float64) *Bundle { - s.RamSizeInGb = &v - return s -} - -// SetSupportedPlatforms sets the SupportedPlatforms field's value. -func (s *Bundle) SetSupportedPlatforms(v []InstancePlatform) *Bundle { - s.SupportedPlatforms = v - return s -} - -// SetTransferPerMonthInGb sets the TransferPerMonthInGb field's value. -func (s *Bundle) SetTransferPerMonthInGb(v int64) *Bundle { - s.TransferPerMonthInGb = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloseInstancePublicPortsRequest type CloseInstancePublicPortsInput struct { _ struct{} `type:"structure"` @@ -4332,18 +4092,6 @@ func (s *CloseInstancePublicPortsInput) Validate() error { return nil } -// SetInstanceName sets the InstanceName field's value. -func (s *CloseInstancePublicPortsInput) SetInstanceName(v string) *CloseInstancePublicPortsInput { - s.InstanceName = &v - return s -} - -// SetPortInfo sets the PortInfo field's value. -func (s *CloseInstancePublicPortsInput) SetPortInfo(v *PortInfo) *CloseInstancePublicPortsInput { - s.PortInfo = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloseInstancePublicPortsResult type CloseInstancePublicPortsOutput struct { _ struct{} `type:"structure"` @@ -4369,12 +4117,6 @@ func (s CloseInstancePublicPortsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperation sets the Operation field's value. -func (s *CloseInstancePublicPortsOutput) SetOperation(v *Operation) *CloseInstancePublicPortsOutput { - s.Operation = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskFromSnapshotRequest type CreateDiskFromSnapshotInput struct { _ struct{} `type:"structure"` @@ -4442,30 +4184,6 @@ func (s *CreateDiskFromSnapshotInput) Validate() error { return nil } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *CreateDiskFromSnapshotInput) SetAvailabilityZone(v string) *CreateDiskFromSnapshotInput { - s.AvailabilityZone = &v - return s -} - -// SetDiskName sets the DiskName field's value. -func (s *CreateDiskFromSnapshotInput) SetDiskName(v string) *CreateDiskFromSnapshotInput { - s.DiskName = &v - return s -} - -// SetDiskSnapshotName sets the DiskSnapshotName field's value. -func (s *CreateDiskFromSnapshotInput) SetDiskSnapshotName(v string) *CreateDiskFromSnapshotInput { - s.DiskSnapshotName = &v - return s -} - -// SetSizeInGb sets the SizeInGb field's value. -func (s *CreateDiskFromSnapshotInput) SetSizeInGb(v int64) *CreateDiskFromSnapshotInput { - s.SizeInGb = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskFromSnapshotResult type CreateDiskFromSnapshotOutput struct { _ struct{} `type:"structure"` @@ -4491,12 +4209,6 @@ func (s CreateDiskFromSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *CreateDiskFromSnapshotOutput) SetOperations(v []Operation) *CreateDiskFromSnapshotOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskRequest type CreateDiskInput struct { _ struct{} `type:"structure"` @@ -4554,24 +4266,6 @@ func (s *CreateDiskInput) Validate() error { return nil } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *CreateDiskInput) SetAvailabilityZone(v string) *CreateDiskInput { - s.AvailabilityZone = &v - return s -} - -// SetDiskName sets the DiskName field's value. -func (s *CreateDiskInput) SetDiskName(v string) *CreateDiskInput { - s.DiskName = &v - return s -} - -// SetSizeInGb sets the SizeInGb field's value. -func (s *CreateDiskInput) SetSizeInGb(v int64) *CreateDiskInput { - s.SizeInGb = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskResult type CreateDiskOutput struct { _ struct{} `type:"structure"` @@ -4597,12 +4291,6 @@ func (s CreateDiskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *CreateDiskOutput) SetOperations(v []Operation) *CreateDiskOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskSnapshotRequest type CreateDiskSnapshotInput struct { _ struct{} `type:"structure"` @@ -4647,18 +4335,6 @@ func (s *CreateDiskSnapshotInput) Validate() error { return nil } -// SetDiskName sets the DiskName field's value. -func (s *CreateDiskSnapshotInput) SetDiskName(v string) *CreateDiskSnapshotInput { - s.DiskName = &v - return s -} - -// SetDiskSnapshotName sets the DiskSnapshotName field's value. -func (s *CreateDiskSnapshotInput) SetDiskSnapshotName(v string) *CreateDiskSnapshotInput { - s.DiskSnapshotName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskSnapshotResult type CreateDiskSnapshotOutput struct { _ struct{} `type:"structure"` @@ -4684,12 +4360,6 @@ func (s CreateDiskSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *CreateDiskSnapshotOutput) SetOperations(v []Operation) *CreateDiskSnapshotOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainEntryRequest type CreateDomainEntryInput struct { _ struct{} `type:"structure"` @@ -4735,18 +4405,6 @@ func (s *CreateDomainEntryInput) Validate() error { return nil } -// SetDomainEntry sets the DomainEntry field's value. -func (s *CreateDomainEntryInput) SetDomainEntry(v *DomainEntry) *CreateDomainEntryInput { - s.DomainEntry = v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *CreateDomainEntryInput) SetDomainName(v string) *CreateDomainEntryInput { - s.DomainName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainEntryResult type CreateDomainEntryOutput struct { _ struct{} `type:"structure"` @@ -4772,12 +4430,6 @@ func (s CreateDomainEntryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperation sets the Operation field's value. -func (s *CreateDomainEntryOutput) SetOperation(v *Operation) *CreateDomainEntryOutput { - s.Operation = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainRequest type CreateDomainInput struct { _ struct{} `type:"structure"` @@ -4817,12 +4469,6 @@ func (s *CreateDomainInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *CreateDomainInput) SetDomainName(v string) *CreateDomainInput { - s.DomainName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainResult type CreateDomainOutput struct { _ struct{} `type:"structure"` @@ -4849,12 +4495,6 @@ func (s CreateDomainOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperation sets the Operation field's value. -func (s *CreateDomainOutput) SetOperation(v *Operation) *CreateDomainOutput { - s.Operation = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstanceSnapshotRequest type CreateInstanceSnapshotInput struct { _ struct{} `type:"structure"` @@ -4898,18 +4538,6 @@ func (s *CreateInstanceSnapshotInput) Validate() error { return nil } -// SetInstanceName sets the InstanceName field's value. -func (s *CreateInstanceSnapshotInput) SetInstanceName(v string) *CreateInstanceSnapshotInput { - s.InstanceName = &v - return s -} - -// SetInstanceSnapshotName sets the InstanceSnapshotName field's value. -func (s *CreateInstanceSnapshotInput) SetInstanceSnapshotName(v string) *CreateInstanceSnapshotInput { - s.InstanceSnapshotName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstanceSnapshotResult type CreateInstanceSnapshotOutput struct { _ struct{} `type:"structure"` @@ -4936,12 +4564,6 @@ func (s CreateInstanceSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *CreateInstanceSnapshotOutput) SetOperations(v []Operation) *CreateInstanceSnapshotOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesFromSnapshotRequest type CreateInstancesFromSnapshotInput struct { _ struct{} `type:"structure"` @@ -5025,48 +4647,6 @@ func (s *CreateInstancesFromSnapshotInput) Validate() error { return nil } -// SetAttachedDiskMapping sets the AttachedDiskMapping field's value. -func (s *CreateInstancesFromSnapshotInput) SetAttachedDiskMapping(v map[string][]DiskMap) *CreateInstancesFromSnapshotInput { - s.AttachedDiskMapping = v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *CreateInstancesFromSnapshotInput) SetAvailabilityZone(v string) *CreateInstancesFromSnapshotInput { - s.AvailabilityZone = &v - return s -} - -// SetBundleId sets the BundleId field's value. -func (s *CreateInstancesFromSnapshotInput) SetBundleId(v string) *CreateInstancesFromSnapshotInput { - s.BundleId = &v - return s -} - -// SetInstanceNames sets the InstanceNames field's value. -func (s *CreateInstancesFromSnapshotInput) SetInstanceNames(v []string) *CreateInstancesFromSnapshotInput { - s.InstanceNames = v - return s -} - -// SetInstanceSnapshotName sets the InstanceSnapshotName field's value. -func (s *CreateInstancesFromSnapshotInput) SetInstanceSnapshotName(v string) *CreateInstancesFromSnapshotInput { - s.InstanceSnapshotName = &v - return s -} - -// SetKeyPairName sets the KeyPairName field's value. -func (s *CreateInstancesFromSnapshotInput) SetKeyPairName(v string) *CreateInstancesFromSnapshotInput { - s.KeyPairName = &v - return s -} - -// SetUserData sets the UserData field's value. -func (s *CreateInstancesFromSnapshotInput) SetUserData(v string) *CreateInstancesFromSnapshotInput { - s.UserData = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesFromSnapshotResult type CreateInstancesFromSnapshotOutput struct { _ struct{} `type:"structure"` @@ -5093,12 +4673,6 @@ func (s CreateInstancesFromSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *CreateInstancesFromSnapshotOutput) SetOperations(v []Operation) *CreateInstancesFromSnapshotOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesRequest type CreateInstancesInput struct { _ struct{} `type:"structure"` @@ -5186,48 +4760,6 @@ func (s *CreateInstancesInput) Validate() error { return nil } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *CreateInstancesInput) SetAvailabilityZone(v string) *CreateInstancesInput { - s.AvailabilityZone = &v - return s -} - -// SetBlueprintId sets the BlueprintId field's value. -func (s *CreateInstancesInput) SetBlueprintId(v string) *CreateInstancesInput { - s.BlueprintId = &v - return s -} - -// SetBundleId sets the BundleId field's value. -func (s *CreateInstancesInput) SetBundleId(v string) *CreateInstancesInput { - s.BundleId = &v - return s -} - -// SetCustomImageName sets the CustomImageName field's value. -func (s *CreateInstancesInput) SetCustomImageName(v string) *CreateInstancesInput { - s.CustomImageName = &v - return s -} - -// SetInstanceNames sets the InstanceNames field's value. -func (s *CreateInstancesInput) SetInstanceNames(v []string) *CreateInstancesInput { - s.InstanceNames = v - return s -} - -// SetKeyPairName sets the KeyPairName field's value. -func (s *CreateInstancesInput) SetKeyPairName(v string) *CreateInstancesInput { - s.KeyPairName = &v - return s -} - -// SetUserData sets the UserData field's value. -func (s *CreateInstancesInput) SetUserData(v string) *CreateInstancesInput { - s.UserData = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesResult type CreateInstancesOutput struct { _ struct{} `type:"structure"` @@ -5254,12 +4786,6 @@ func (s CreateInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *CreateInstancesOutput) SetOperations(v []Operation) *CreateInstancesOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPairRequest type CreateKeyPairInput struct { _ struct{} `type:"structure"` @@ -5294,12 +4820,6 @@ func (s *CreateKeyPairInput) Validate() error { return nil } -// SetKeyPairName sets the KeyPairName field's value. -func (s *CreateKeyPairInput) SetKeyPairName(v string) *CreateKeyPairInput { - s.KeyPairName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPairResult type CreateKeyPairOutput struct { _ struct{} `type:"structure"` @@ -5336,30 +4856,6 @@ func (s CreateKeyPairOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetKeyPair sets the KeyPair field's value. -func (s *CreateKeyPairOutput) SetKeyPair(v *KeyPair) *CreateKeyPairOutput { - s.KeyPair = v - return s -} - -// SetOperation sets the Operation field's value. -func (s *CreateKeyPairOutput) SetOperation(v *Operation) *CreateKeyPairOutput { - s.Operation = v - return s -} - -// SetPrivateKeyBase64 sets the PrivateKeyBase64 field's value. -func (s *CreateKeyPairOutput) SetPrivateKeyBase64(v string) *CreateKeyPairOutput { - s.PrivateKeyBase64 = &v - return s -} - -// SetPublicKeyBase64 sets the PublicKeyBase64 field's value. -func (s *CreateKeyPairOutput) SetPublicKeyBase64(v string) *CreateKeyPairOutput { - s.PublicKeyBase64 = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerRequest type CreateLoadBalancerInput struct { _ struct{} `type:"structure"` @@ -5424,42 +4920,6 @@ func (s *CreateLoadBalancerInput) Validate() error { return nil } -// SetCertificateAlternativeNames sets the CertificateAlternativeNames field's value. -func (s *CreateLoadBalancerInput) SetCertificateAlternativeNames(v []string) *CreateLoadBalancerInput { - s.CertificateAlternativeNames = v - return s -} - -// SetCertificateDomainName sets the CertificateDomainName field's value. -func (s *CreateLoadBalancerInput) SetCertificateDomainName(v string) *CreateLoadBalancerInput { - s.CertificateDomainName = &v - return s -} - -// SetCertificateName sets the CertificateName field's value. -func (s *CreateLoadBalancerInput) SetCertificateName(v string) *CreateLoadBalancerInput { - s.CertificateName = &v - return s -} - -// SetHealthCheckPath sets the HealthCheckPath field's value. -func (s *CreateLoadBalancerInput) SetHealthCheckPath(v string) *CreateLoadBalancerInput { - s.HealthCheckPath = &v - return s -} - -// SetInstancePort sets the InstancePort field's value. -func (s *CreateLoadBalancerInput) SetInstancePort(v int64) *CreateLoadBalancerInput { - s.InstancePort = &v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *CreateLoadBalancerInput) SetLoadBalancerName(v string) *CreateLoadBalancerInput { - s.LoadBalancerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerResult type CreateLoadBalancerOutput struct { _ struct{} `type:"structure"` @@ -5485,12 +4945,6 @@ func (s CreateLoadBalancerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *CreateLoadBalancerOutput) SetOperations(v []Operation) *CreateLoadBalancerOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerTlsCertificateRequest type CreateLoadBalancerTlsCertificateInput struct { _ struct{} `type:"structure"` @@ -5546,30 +5000,6 @@ func (s *CreateLoadBalancerTlsCertificateInput) Validate() error { return nil } -// SetCertificateAlternativeNames sets the CertificateAlternativeNames field's value. -func (s *CreateLoadBalancerTlsCertificateInput) SetCertificateAlternativeNames(v []string) *CreateLoadBalancerTlsCertificateInput { - s.CertificateAlternativeNames = v - return s -} - -// SetCertificateDomainName sets the CertificateDomainName field's value. -func (s *CreateLoadBalancerTlsCertificateInput) SetCertificateDomainName(v string) *CreateLoadBalancerTlsCertificateInput { - s.CertificateDomainName = &v - return s -} - -// SetCertificateName sets the CertificateName field's value. -func (s *CreateLoadBalancerTlsCertificateInput) SetCertificateName(v string) *CreateLoadBalancerTlsCertificateInput { - s.CertificateName = &v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *CreateLoadBalancerTlsCertificateInput) SetLoadBalancerName(v string) *CreateLoadBalancerTlsCertificateInput { - s.LoadBalancerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerTlsCertificateResult type CreateLoadBalancerTlsCertificateOutput struct { _ struct{} `type:"structure"` @@ -5595,12 +5025,6 @@ func (s CreateLoadBalancerTlsCertificateOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *CreateLoadBalancerTlsCertificateOutput) SetOperations(v []Operation) *CreateLoadBalancerTlsCertificateOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskRequest type DeleteDiskInput struct { _ struct{} `type:"structure"` @@ -5635,12 +5059,6 @@ func (s *DeleteDiskInput) Validate() error { return nil } -// SetDiskName sets the DiskName field's value. -func (s *DeleteDiskInput) SetDiskName(v string) *DeleteDiskInput { - s.DiskName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskResult type DeleteDiskOutput struct { _ struct{} `type:"structure"` @@ -5666,12 +5084,6 @@ func (s DeleteDiskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *DeleteDiskOutput) SetOperations(v []Operation) *DeleteDiskOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskSnapshotRequest type DeleteDiskSnapshotInput struct { _ struct{} `type:"structure"` @@ -5706,12 +5118,6 @@ func (s *DeleteDiskSnapshotInput) Validate() error { return nil } -// SetDiskSnapshotName sets the DiskSnapshotName field's value. -func (s *DeleteDiskSnapshotInput) SetDiskSnapshotName(v string) *DeleteDiskSnapshotInput { - s.DiskSnapshotName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskSnapshotResult type DeleteDiskSnapshotOutput struct { _ struct{} `type:"structure"` @@ -5737,12 +5143,6 @@ func (s DeleteDiskSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *DeleteDiskSnapshotOutput) SetOperations(v []Operation) *DeleteDiskSnapshotOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainEntryRequest type DeleteDomainEntryInput struct { _ struct{} `type:"structure"` @@ -5786,18 +5186,6 @@ func (s *DeleteDomainEntryInput) Validate() error { return nil } -// SetDomainEntry sets the DomainEntry field's value. -func (s *DeleteDomainEntryInput) SetDomainEntry(v *DomainEntry) *DeleteDomainEntryInput { - s.DomainEntry = v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *DeleteDomainEntryInput) SetDomainName(v string) *DeleteDomainEntryInput { - s.DomainName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainEntryResult type DeleteDomainEntryOutput struct { _ struct{} `type:"structure"` @@ -5824,12 +5212,6 @@ func (s DeleteDomainEntryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperation sets the Operation field's value. -func (s *DeleteDomainEntryOutput) SetOperation(v *Operation) *DeleteDomainEntryOutput { - s.Operation = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainRequest type DeleteDomainInput struct { _ struct{} `type:"structure"` @@ -5864,12 +5246,6 @@ func (s *DeleteDomainInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DeleteDomainInput) SetDomainName(v string) *DeleteDomainInput { - s.DomainName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainResult type DeleteDomainOutput struct { _ struct{} `type:"structure"` @@ -5896,12 +5272,6 @@ func (s DeleteDomainOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperation sets the Operation field's value. -func (s *DeleteDomainOutput) SetOperation(v *Operation) *DeleteDomainOutput { - s.Operation = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceRequest type DeleteInstanceInput struct { _ struct{} `type:"structure"` @@ -5936,12 +5306,6 @@ func (s *DeleteInstanceInput) Validate() error { return nil } -// SetInstanceName sets the InstanceName field's value. -func (s *DeleteInstanceInput) SetInstanceName(v string) *DeleteInstanceInput { - s.InstanceName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceResult type DeleteInstanceOutput struct { _ struct{} `type:"structure"` @@ -5968,12 +5332,6 @@ func (s DeleteInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *DeleteInstanceOutput) SetOperations(v []Operation) *DeleteInstanceOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceSnapshotRequest type DeleteInstanceSnapshotInput struct { _ struct{} `type:"structure"` @@ -6008,12 +5366,6 @@ func (s *DeleteInstanceSnapshotInput) Validate() error { return nil } -// SetInstanceSnapshotName sets the InstanceSnapshotName field's value. -func (s *DeleteInstanceSnapshotInput) SetInstanceSnapshotName(v string) *DeleteInstanceSnapshotInput { - s.InstanceSnapshotName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceSnapshotResult type DeleteInstanceSnapshotOutput struct { _ struct{} `type:"structure"` @@ -6040,12 +5392,6 @@ func (s DeleteInstanceSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *DeleteInstanceSnapshotOutput) SetOperations(v []Operation) *DeleteInstanceSnapshotOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKeyPairRequest type DeleteKeyPairInput struct { _ struct{} `type:"structure"` @@ -6080,12 +5426,6 @@ func (s *DeleteKeyPairInput) Validate() error { return nil } -// SetKeyPairName sets the KeyPairName field's value. -func (s *DeleteKeyPairInput) SetKeyPairName(v string) *DeleteKeyPairInput { - s.KeyPairName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKeyPairResult type DeleteKeyPairOutput struct { _ struct{} `type:"structure"` @@ -6112,12 +5452,6 @@ func (s DeleteKeyPairOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperation sets the Operation field's value. -func (s *DeleteKeyPairOutput) SetOperation(v *Operation) *DeleteKeyPairOutput { - s.Operation = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerRequest type DeleteLoadBalancerInput struct { _ struct{} `type:"structure"` @@ -6152,12 +5486,6 @@ func (s *DeleteLoadBalancerInput) Validate() error { return nil } -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *DeleteLoadBalancerInput) SetLoadBalancerName(v string) *DeleteLoadBalancerInput { - s.LoadBalancerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerResult type DeleteLoadBalancerOutput struct { _ struct{} `type:"structure"` @@ -6183,12 +5511,6 @@ func (s DeleteLoadBalancerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *DeleteLoadBalancerOutput) SetOperations(v []Operation) *DeleteLoadBalancerOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerTlsCertificateRequest type DeleteLoadBalancerTlsCertificateInput struct { _ struct{} `type:"structure"` @@ -6235,24 +5557,6 @@ func (s *DeleteLoadBalancerTlsCertificateInput) Validate() error { return nil } -// SetCertificateName sets the CertificateName field's value. -func (s *DeleteLoadBalancerTlsCertificateInput) SetCertificateName(v string) *DeleteLoadBalancerTlsCertificateInput { - s.CertificateName = &v - return s -} - -// SetForce sets the Force field's value. -func (s *DeleteLoadBalancerTlsCertificateInput) SetForce(v bool) *DeleteLoadBalancerTlsCertificateInput { - s.Force = &v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *DeleteLoadBalancerTlsCertificateInput) SetLoadBalancerName(v string) *DeleteLoadBalancerTlsCertificateInput { - s.LoadBalancerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerTlsCertificateResult type DeleteLoadBalancerTlsCertificateOutput struct { _ struct{} `type:"structure"` @@ -6278,12 +5582,6 @@ func (s DeleteLoadBalancerTlsCertificateOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *DeleteLoadBalancerTlsCertificateOutput) SetOperations(v []Operation) *DeleteLoadBalancerTlsCertificateOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachDiskRequest type DetachDiskInput struct { _ struct{} `type:"structure"` @@ -6319,12 +5617,6 @@ func (s *DetachDiskInput) Validate() error { return nil } -// SetDiskName sets the DiskName field's value. -func (s *DetachDiskInput) SetDiskName(v string) *DetachDiskInput { - s.DiskName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachDiskResult type DetachDiskOutput struct { _ struct{} `type:"structure"` @@ -6350,12 +5642,6 @@ func (s DetachDiskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *DetachDiskOutput) SetOperations(v []Operation) *DetachDiskOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachInstancesFromLoadBalancerRequest type DetachInstancesFromLoadBalancerInput struct { _ struct{} `type:"structure"` @@ -6400,18 +5686,6 @@ func (s *DetachInstancesFromLoadBalancerInput) Validate() error { return nil } -// SetInstanceNames sets the InstanceNames field's value. -func (s *DetachInstancesFromLoadBalancerInput) SetInstanceNames(v []string) *DetachInstancesFromLoadBalancerInput { - s.InstanceNames = v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *DetachInstancesFromLoadBalancerInput) SetLoadBalancerName(v string) *DetachInstancesFromLoadBalancerInput { - s.LoadBalancerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachInstancesFromLoadBalancerResult type DetachInstancesFromLoadBalancerOutput struct { _ struct{} `type:"structure"` @@ -6437,12 +5711,6 @@ func (s DetachInstancesFromLoadBalancerOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *DetachInstancesFromLoadBalancerOutput) SetOperations(v []Operation) *DetachInstancesFromLoadBalancerOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachStaticIpRequest type DetachStaticIpInput struct { _ struct{} `type:"structure"` @@ -6477,12 +5745,6 @@ func (s *DetachStaticIpInput) Validate() error { return nil } -// SetStaticIpName sets the StaticIpName field's value. -func (s *DetachStaticIpInput) SetStaticIpName(v string) *DetachStaticIpInput { - s.StaticIpName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachStaticIpResult type DetachStaticIpOutput struct { _ struct{} `type:"structure"` @@ -6509,12 +5771,6 @@ func (s DetachStaticIpOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *DetachStaticIpOutput) SetOperations(v []Operation) *DetachStaticIpOutput { - s.Operations = v - return s -} - // Describes a system disk or an block storage disk. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Disk type Disk struct { @@ -6586,103 +5842,13 @@ func (s Disk) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Disk) SetArn(v string) *Disk { - s.Arn = &v - return s -} +// Describes a block storage disk mapping. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DiskMap +type DiskMap struct { + _ struct{} `type:"structure"` -// SetAttachedTo sets the AttachedTo field's value. -func (s *Disk) SetAttachedTo(v string) *Disk { - s.AttachedTo = &v - return s -} - -// SetAttachmentState sets the AttachmentState field's value. -func (s *Disk) SetAttachmentState(v string) *Disk { - s.AttachmentState = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Disk) SetCreatedAt(v time.Time) *Disk { - s.CreatedAt = &v - return s -} - -// SetGbInUse sets the GbInUse field's value. -func (s *Disk) SetGbInUse(v int64) *Disk { - s.GbInUse = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *Disk) SetIops(v int64) *Disk { - s.Iops = &v - return s -} - -// SetIsAttached sets the IsAttached field's value. -func (s *Disk) SetIsAttached(v bool) *Disk { - s.IsAttached = &v - return s -} - -// SetIsSystemDisk sets the IsSystemDisk field's value. -func (s *Disk) SetIsSystemDisk(v bool) *Disk { - s.IsSystemDisk = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *Disk) SetLocation(v *ResourceLocation) *Disk { - s.Location = v - return s -} - -// SetName sets the Name field's value. -func (s *Disk) SetName(v string) *Disk { - s.Name = &v - return s -} - -// SetPath sets the Path field's value. -func (s *Disk) SetPath(v string) *Disk { - s.Path = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *Disk) SetResourceType(v ResourceType) *Disk { - s.ResourceType = v - return s -} - -// SetSizeInGb sets the SizeInGb field's value. -func (s *Disk) SetSizeInGb(v int64) *Disk { - s.SizeInGb = &v - return s -} - -// SetState sets the State field's value. -func (s *Disk) SetState(v DiskState) *Disk { - s.State = v - return s -} - -// SetSupportCode sets the SupportCode field's value. -func (s *Disk) SetSupportCode(v string) *Disk { - s.SupportCode = &v - return s -} - -// Describes a block storage disk mapping. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DiskMap -type DiskMap struct { - _ struct{} `type:"structure"` - - // The new disk name (e.g., my-new-disk). - NewDiskName *string `locationName:"newDiskName" type:"string"` + // The new disk name (e.g., my-new-disk). + NewDiskName *string `locationName:"newDiskName" type:"string"` // The original disk path exposed to the instance (for example, /dev/sdh). OriginalDiskPath *string `locationName:"originalDiskPath" type:"string"` @@ -6698,18 +5864,6 @@ func (s DiskMap) GoString() string { return s.String() } -// SetNewDiskName sets the NewDiskName field's value. -func (s *DiskMap) SetNewDiskName(v string) *DiskMap { - s.NewDiskName = &v - return s -} - -// SetOriginalDiskPath sets the OriginalDiskPath field's value. -func (s *DiskMap) SetOriginalDiskPath(v string) *DiskMap { - s.OriginalDiskPath = &v - return s -} - // Describes a block storage disk snapshot. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DiskSnapshot type DiskSnapshot struct { @@ -6762,72 +5916,6 @@ func (s DiskSnapshot) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DiskSnapshot) SetArn(v string) *DiskSnapshot { - s.Arn = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *DiskSnapshot) SetCreatedAt(v time.Time) *DiskSnapshot { - s.CreatedAt = &v - return s -} - -// SetFromDiskArn sets the FromDiskArn field's value. -func (s *DiskSnapshot) SetFromDiskArn(v string) *DiskSnapshot { - s.FromDiskArn = &v - return s -} - -// SetFromDiskName sets the FromDiskName field's value. -func (s *DiskSnapshot) SetFromDiskName(v string) *DiskSnapshot { - s.FromDiskName = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *DiskSnapshot) SetLocation(v *ResourceLocation) *DiskSnapshot { - s.Location = v - return s -} - -// SetName sets the Name field's value. -func (s *DiskSnapshot) SetName(v string) *DiskSnapshot { - s.Name = &v - return s -} - -// SetProgress sets the Progress field's value. -func (s *DiskSnapshot) SetProgress(v string) *DiskSnapshot { - s.Progress = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *DiskSnapshot) SetResourceType(v ResourceType) *DiskSnapshot { - s.ResourceType = v - return s -} - -// SetSizeInGb sets the SizeInGb field's value. -func (s *DiskSnapshot) SetSizeInGb(v int64) *DiskSnapshot { - s.SizeInGb = &v - return s -} - -// SetState sets the State field's value. -func (s *DiskSnapshot) SetState(v DiskSnapshotState) *DiskSnapshot { - s.State = v - return s -} - -// SetSupportCode sets the SupportCode field's value. -func (s *DiskSnapshot) SetSupportCode(v string) *DiskSnapshot { - s.SupportCode = &v - return s -} - // Describes a domain where you are storing recordsets in Lightsail. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Domain type Domain struct { @@ -6867,48 +5955,6 @@ func (s Domain) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Domain) SetArn(v string) *Domain { - s.Arn = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Domain) SetCreatedAt(v time.Time) *Domain { - s.CreatedAt = &v - return s -} - -// SetDomainEntries sets the DomainEntries field's value. -func (s *Domain) SetDomainEntries(v []DomainEntry) *Domain { - s.DomainEntries = v - return s -} - -// SetLocation sets the Location field's value. -func (s *Domain) SetLocation(v *ResourceLocation) *Domain { - s.Location = v - return s -} - -// SetName sets the Name field's value. -func (s *Domain) SetName(v string) *Domain { - s.Name = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *Domain) SetResourceType(v ResourceType) *Domain { - s.ResourceType = v - return s -} - -// SetSupportCode sets the SupportCode field's value. -func (s *Domain) SetSupportCode(v string) *Domain { - s.SupportCode = &v - return s -} - // Describes a domain recordset entry. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DomainEntry type DomainEntry struct { @@ -6947,42 +5993,6 @@ func (s DomainEntry) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *DomainEntry) SetId(v string) *DomainEntry { - s.Id = &v - return s -} - -// SetIsAlias sets the IsAlias field's value. -func (s *DomainEntry) SetIsAlias(v bool) *DomainEntry { - s.IsAlias = &v - return s -} - -// SetName sets the Name field's value. -func (s *DomainEntry) SetName(v string) *DomainEntry { - s.Name = &v - return s -} - -// SetOptions sets the Options field's value. -func (s *DomainEntry) SetOptions(v map[string]string) *DomainEntry { - s.Options = v - return s -} - -// SetTarget sets the Target field's value. -func (s *DomainEntry) SetTarget(v string) *DomainEntry { - s.Target = &v - return s -} - -// SetType sets the Type field's value. -func (s *DomainEntry) SetType(v string) *DomainEntry { - s.Type = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPairRequest type DownloadDefaultKeyPairInput struct { _ struct{} `type:"structure"` @@ -7026,18 +6036,6 @@ func (s DownloadDefaultKeyPairOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPrivateKeyBase64 sets the PrivateKeyBase64 field's value. -func (s *DownloadDefaultKeyPairOutput) SetPrivateKeyBase64(v string) *DownloadDefaultKeyPairOutput { - s.PrivateKeyBase64 = &v - return s -} - -// SetPublicKeyBase64 sets the PublicKeyBase64 field's value. -func (s *DownloadDefaultKeyPairOutput) SetPublicKeyBase64(v string) *DownloadDefaultKeyPairOutput { - s.PublicKeyBase64 = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetActiveNamesRequest type GetActiveNamesInput struct { _ struct{} `type:"structure"` @@ -7056,12 +6054,6 @@ func (s GetActiveNamesInput) GoString() string { return s.String() } -// SetPageToken sets the PageToken field's value. -func (s *GetActiveNamesInput) SetPageToken(v string) *GetActiveNamesInput { - s.PageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetActiveNamesResult type GetActiveNamesOutput struct { _ struct{} `type:"structure"` @@ -7091,18 +6083,6 @@ func (s GetActiveNamesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetActiveNames sets the ActiveNames field's value. -func (s *GetActiveNamesOutput) SetActiveNames(v []string) *GetActiveNamesOutput { - s.ActiveNames = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetActiveNamesOutput) SetNextPageToken(v string) *GetActiveNamesOutput { - s.NextPageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprintsRequest type GetBlueprintsInput struct { _ struct{} `type:"structure"` @@ -7125,18 +6105,6 @@ func (s GetBlueprintsInput) GoString() string { return s.String() } -// SetIncludeInactive sets the IncludeInactive field's value. -func (s *GetBlueprintsInput) SetIncludeInactive(v bool) *GetBlueprintsInput { - s.IncludeInactive = &v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *GetBlueprintsInput) SetPageToken(v string) *GetBlueprintsInput { - s.PageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprintsResult type GetBlueprintsOutput struct { _ struct{} `type:"structure"` @@ -7167,18 +6135,6 @@ func (s GetBlueprintsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBlueprints sets the Blueprints field's value. -func (s *GetBlueprintsOutput) SetBlueprints(v []Blueprint) *GetBlueprintsOutput { - s.Blueprints = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetBlueprintsOutput) SetNextPageToken(v string) *GetBlueprintsOutput { - s.NextPageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBundlesRequest type GetBundlesInput struct { _ struct{} `type:"structure"` @@ -7202,18 +6158,6 @@ func (s GetBundlesInput) GoString() string { return s.String() } -// SetIncludeInactive sets the IncludeInactive field's value. -func (s *GetBundlesInput) SetIncludeInactive(v bool) *GetBundlesInput { - s.IncludeInactive = &v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *GetBundlesInput) SetPageToken(v string) *GetBundlesInput { - s.PageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBundlesResult type GetBundlesOutput struct { _ struct{} `type:"structure"` @@ -7244,18 +6188,6 @@ func (s GetBundlesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBundles sets the Bundles field's value. -func (s *GetBundlesOutput) SetBundles(v []Bundle) *GetBundlesOutput { - s.Bundles = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetBundlesOutput) SetNextPageToken(v string) *GetBundlesOutput { - s.NextPageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskRequest type GetDiskInput struct { _ struct{} `type:"structure"` @@ -7290,12 +6222,6 @@ func (s *GetDiskInput) Validate() error { return nil } -// SetDiskName sets the DiskName field's value. -func (s *GetDiskInput) SetDiskName(v string) *GetDiskInput { - s.DiskName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskResult type GetDiskOutput struct { _ struct{} `type:"structure"` @@ -7321,12 +6247,6 @@ func (s GetDiskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDisk sets the Disk field's value. -func (s *GetDiskOutput) SetDisk(v *Disk) *GetDiskOutput { - s.Disk = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshotRequest type GetDiskSnapshotInput struct { _ struct{} `type:"structure"` @@ -7361,12 +6281,6 @@ func (s *GetDiskSnapshotInput) Validate() error { return nil } -// SetDiskSnapshotName sets the DiskSnapshotName field's value. -func (s *GetDiskSnapshotInput) SetDiskSnapshotName(v string) *GetDiskSnapshotInput { - s.DiskSnapshotName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshotResult type GetDiskSnapshotOutput struct { _ struct{} `type:"structure"` @@ -7392,12 +6306,6 @@ func (s GetDiskSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDiskSnapshot sets the DiskSnapshot field's value. -func (s *GetDiskSnapshotOutput) SetDiskSnapshot(v *DiskSnapshot) *GetDiskSnapshotOutput { - s.DiskSnapshot = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshotsRequest type GetDiskSnapshotsInput struct { _ struct{} `type:"structure"` @@ -7417,12 +6325,6 @@ func (s GetDiskSnapshotsInput) GoString() string { return s.String() } -// SetPageToken sets the PageToken field's value. -func (s *GetDiskSnapshotsInput) SetPageToken(v string) *GetDiskSnapshotsInput { - s.PageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshotsResult type GetDiskSnapshotsOutput struct { _ struct{} `type:"structure"` @@ -7452,18 +6354,6 @@ func (s GetDiskSnapshotsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDiskSnapshots sets the DiskSnapshots field's value. -func (s *GetDiskSnapshotsOutput) SetDiskSnapshots(v []DiskSnapshot) *GetDiskSnapshotsOutput { - s.DiskSnapshots = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetDiskSnapshotsOutput) SetNextPageToken(v string) *GetDiskSnapshotsOutput { - s.NextPageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisksRequest type GetDisksInput struct { _ struct{} `type:"structure"` @@ -7483,12 +6373,6 @@ func (s GetDisksInput) GoString() string { return s.String() } -// SetPageToken sets the PageToken field's value. -func (s *GetDisksInput) SetPageToken(v string) *GetDisksInput { - s.PageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisksResult type GetDisksOutput struct { _ struct{} `type:"structure"` @@ -7518,18 +6402,6 @@ func (s GetDisksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDisks sets the Disks field's value. -func (s *GetDisksOutput) SetDisks(v []Disk) *GetDisksOutput { - s.Disks = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetDisksOutput) SetNextPageToken(v string) *GetDisksOutput { - s.NextPageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomainRequest type GetDomainInput struct { _ struct{} `type:"structure"` @@ -7564,12 +6436,6 @@ func (s *GetDomainInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *GetDomainInput) SetDomainName(v string) *GetDomainInput { - s.DomainName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomainResult type GetDomainOutput struct { _ struct{} `type:"structure"` @@ -7596,12 +6462,6 @@ func (s GetDomainOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDomain sets the Domain field's value. -func (s *GetDomainOutput) SetDomain(v *Domain) *GetDomainOutput { - s.Domain = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomainsRequest type GetDomainsInput struct { _ struct{} `type:"structure"` @@ -7621,12 +6481,6 @@ func (s GetDomainsInput) GoString() string { return s.String() } -// SetPageToken sets the PageToken field's value. -func (s *GetDomainsInput) SetPageToken(v string) *GetDomainsInput { - s.PageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomainsResult type GetDomainsOutput struct { _ struct{} `type:"structure"` @@ -7657,18 +6511,6 @@ func (s GetDomainsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDomains sets the Domains field's value. -func (s *GetDomainsOutput) SetDomains(v []Domain) *GetDomainsOutput { - s.Domains = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetDomainsOutput) SetNextPageToken(v string) *GetDomainsOutput { - s.NextPageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceAccessDetailsRequest type GetInstanceAccessDetailsInput struct { _ struct{} `type:"structure"` @@ -7706,18 +6548,6 @@ func (s *GetInstanceAccessDetailsInput) Validate() error { return nil } -// SetInstanceName sets the InstanceName field's value. -func (s *GetInstanceAccessDetailsInput) SetInstanceName(v string) *GetInstanceAccessDetailsInput { - s.InstanceName = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *GetInstanceAccessDetailsInput) SetProtocol(v InstanceAccessProtocol) *GetInstanceAccessDetailsInput { - s.Protocol = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceAccessDetailsResult type GetInstanceAccessDetailsOutput struct { _ struct{} `type:"structure"` @@ -7744,12 +6574,6 @@ func (s GetInstanceAccessDetailsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAccessDetails sets the AccessDetails field's value. -func (s *GetInstanceAccessDetailsOutput) SetAccessDetails(v *InstanceAccessDetails) *GetInstanceAccessDetailsOutput { - s.AccessDetails = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceRequest type GetInstanceInput struct { _ struct{} `type:"structure"` @@ -7784,12 +6608,6 @@ func (s *GetInstanceInput) Validate() error { return nil } -// SetInstanceName sets the InstanceName field's value. -func (s *GetInstanceInput) SetInstanceName(v string) *GetInstanceInput { - s.InstanceName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceMetricDataRequest type GetInstanceMetricDataInput struct { _ struct{} `type:"structure"` @@ -7879,48 +6697,6 @@ func (s *GetInstanceMetricDataInput) Validate() error { return nil } -// SetEndTime sets the EndTime field's value. -func (s *GetInstanceMetricDataInput) SetEndTime(v time.Time) *GetInstanceMetricDataInput { - s.EndTime = &v - return s -} - -// SetInstanceName sets the InstanceName field's value. -func (s *GetInstanceMetricDataInput) SetInstanceName(v string) *GetInstanceMetricDataInput { - s.InstanceName = &v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *GetInstanceMetricDataInput) SetMetricName(v InstanceMetricName) *GetInstanceMetricDataInput { - s.MetricName = v - return s -} - -// SetPeriod sets the Period field's value. -func (s *GetInstanceMetricDataInput) SetPeriod(v int64) *GetInstanceMetricDataInput { - s.Period = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *GetInstanceMetricDataInput) SetStartTime(v time.Time) *GetInstanceMetricDataInput { - s.StartTime = &v - return s -} - -// SetStatistics sets the Statistics field's value. -func (s *GetInstanceMetricDataInput) SetStatistics(v []MetricStatistic) *GetInstanceMetricDataInput { - s.Statistics = v - return s -} - -// SetUnit sets the Unit field's value. -func (s *GetInstanceMetricDataInput) SetUnit(v MetricUnit) *GetInstanceMetricDataInput { - s.Unit = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceMetricDataResult type GetInstanceMetricDataOutput struct { _ struct{} `type:"structure"` @@ -7950,18 +6726,6 @@ func (s GetInstanceMetricDataOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMetricData sets the MetricData field's value. -func (s *GetInstanceMetricDataOutput) SetMetricData(v []MetricDatapoint) *GetInstanceMetricDataOutput { - s.MetricData = v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *GetInstanceMetricDataOutput) SetMetricName(v InstanceMetricName) *GetInstanceMetricDataOutput { - s.MetricName = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceResult type GetInstanceOutput struct { _ struct{} `type:"structure"` @@ -7987,12 +6751,6 @@ func (s GetInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstance sets the Instance field's value. -func (s *GetInstanceOutput) SetInstance(v *Instance) *GetInstanceOutput { - s.Instance = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStatesRequest type GetInstancePortStatesInput struct { _ struct{} `type:"structure"` @@ -8027,12 +6785,6 @@ func (s *GetInstancePortStatesInput) Validate() error { return nil } -// SetInstanceName sets the InstanceName field's value. -func (s *GetInstancePortStatesInput) SetInstanceName(v string) *GetInstancePortStatesInput { - s.InstanceName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStatesResult type GetInstancePortStatesOutput struct { _ struct{} `type:"structure"` @@ -8058,12 +6810,6 @@ func (s GetInstancePortStatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPortStates sets the PortStates field's value. -func (s *GetInstancePortStatesOutput) SetPortStates(v []InstancePortState) *GetInstancePortStatesOutput { - s.PortStates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshotRequest type GetInstanceSnapshotInput struct { _ struct{} `type:"structure"` @@ -8098,12 +6844,6 @@ func (s *GetInstanceSnapshotInput) Validate() error { return nil } -// SetInstanceSnapshotName sets the InstanceSnapshotName field's value. -func (s *GetInstanceSnapshotInput) SetInstanceSnapshotName(v string) *GetInstanceSnapshotInput { - s.InstanceSnapshotName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshotResult type GetInstanceSnapshotOutput struct { _ struct{} `type:"structure"` @@ -8130,12 +6870,6 @@ func (s GetInstanceSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceSnapshot sets the InstanceSnapshot field's value. -func (s *GetInstanceSnapshotOutput) SetInstanceSnapshot(v *InstanceSnapshot) *GetInstanceSnapshotOutput { - s.InstanceSnapshot = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshotsRequest type GetInstanceSnapshotsInput struct { _ struct{} `type:"structure"` @@ -8155,12 +6889,6 @@ func (s GetInstanceSnapshotsInput) GoString() string { return s.String() } -// SetPageToken sets the PageToken field's value. -func (s *GetInstanceSnapshotsInput) SetPageToken(v string) *GetInstanceSnapshotsInput { - s.PageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshotsResult type GetInstanceSnapshotsOutput struct { _ struct{} `type:"structure"` @@ -8191,18 +6919,6 @@ func (s GetInstanceSnapshotsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceSnapshots sets the InstanceSnapshots field's value. -func (s *GetInstanceSnapshotsOutput) SetInstanceSnapshots(v []InstanceSnapshot) *GetInstanceSnapshotsOutput { - s.InstanceSnapshots = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetInstanceSnapshotsOutput) SetNextPageToken(v string) *GetInstanceSnapshotsOutput { - s.NextPageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceStateRequest type GetInstanceStateInput struct { _ struct{} `type:"structure"` @@ -8237,12 +6953,6 @@ func (s *GetInstanceStateInput) Validate() error { return nil } -// SetInstanceName sets the InstanceName field's value. -func (s *GetInstanceStateInput) SetInstanceName(v string) *GetInstanceStateInput { - s.InstanceName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceStateResult type GetInstanceStateOutput struct { _ struct{} `type:"structure"` @@ -8268,12 +6978,6 @@ func (s GetInstanceStateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetState sets the State field's value. -func (s *GetInstanceStateOutput) SetState(v *InstanceState) *GetInstanceStateOutput { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancesRequest type GetInstancesInput struct { _ struct{} `type:"structure"` @@ -8293,12 +6997,6 @@ func (s GetInstancesInput) GoString() string { return s.String() } -// SetPageToken sets the PageToken field's value. -func (s *GetInstancesInput) SetPageToken(v string) *GetInstancesInput { - s.PageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancesResult type GetInstancesOutput struct { _ struct{} `type:"structure"` @@ -8328,18 +7026,6 @@ func (s GetInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstances sets the Instances field's value. -func (s *GetInstancesOutput) SetInstances(v []Instance) *GetInstancesOutput { - s.Instances = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetInstancesOutput) SetNextPageToken(v string) *GetInstancesOutput { - s.NextPageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairRequest type GetKeyPairInput struct { _ struct{} `type:"structure"` @@ -8374,12 +7060,6 @@ func (s *GetKeyPairInput) Validate() error { return nil } -// SetKeyPairName sets the KeyPairName field's value. -func (s *GetKeyPairInput) SetKeyPairName(v string) *GetKeyPairInput { - s.KeyPairName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairResult type GetKeyPairOutput struct { _ struct{} `type:"structure"` @@ -8405,12 +7085,6 @@ func (s GetKeyPairOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetKeyPair sets the KeyPair field's value. -func (s *GetKeyPairOutput) SetKeyPair(v *KeyPair) *GetKeyPairOutput { - s.KeyPair = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairsRequest type GetKeyPairsInput struct { _ struct{} `type:"structure"` @@ -8430,12 +7104,6 @@ func (s GetKeyPairsInput) GoString() string { return s.String() } -// SetPageToken sets the PageToken field's value. -func (s *GetKeyPairsInput) SetPageToken(v string) *GetKeyPairsInput { - s.PageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairsResult type GetKeyPairsOutput struct { _ struct{} `type:"structure"` @@ -8465,18 +7133,6 @@ func (s GetKeyPairsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetKeyPairs sets the KeyPairs field's value. -func (s *GetKeyPairsOutput) SetKeyPairs(v []KeyPair) *GetKeyPairsOutput { - s.KeyPairs = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetKeyPairsOutput) SetNextPageToken(v string) *GetKeyPairsOutput { - s.NextPageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerRequest type GetLoadBalancerInput struct { _ struct{} `type:"structure"` @@ -8511,12 +7167,6 @@ func (s *GetLoadBalancerInput) Validate() error { return nil } -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *GetLoadBalancerInput) SetLoadBalancerName(v string) *GetLoadBalancerInput { - s.LoadBalancerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerMetricDataRequest type GetLoadBalancerMetricDataInput struct { _ struct{} `type:"structure"` @@ -8687,48 +7337,6 @@ func (s *GetLoadBalancerMetricDataInput) Validate() error { return nil } -// SetEndTime sets the EndTime field's value. -func (s *GetLoadBalancerMetricDataInput) SetEndTime(v time.Time) *GetLoadBalancerMetricDataInput { - s.EndTime = &v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *GetLoadBalancerMetricDataInput) SetLoadBalancerName(v string) *GetLoadBalancerMetricDataInput { - s.LoadBalancerName = &v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *GetLoadBalancerMetricDataInput) SetMetricName(v LoadBalancerMetricName) *GetLoadBalancerMetricDataInput { - s.MetricName = v - return s -} - -// SetPeriod sets the Period field's value. -func (s *GetLoadBalancerMetricDataInput) SetPeriod(v int64) *GetLoadBalancerMetricDataInput { - s.Period = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *GetLoadBalancerMetricDataInput) SetStartTime(v time.Time) *GetLoadBalancerMetricDataInput { - s.StartTime = &v - return s -} - -// SetStatistics sets the Statistics field's value. -func (s *GetLoadBalancerMetricDataInput) SetStatistics(v []MetricStatistic) *GetLoadBalancerMetricDataInput { - s.Statistics = v - return s -} - -// SetUnit sets the Unit field's value. -func (s *GetLoadBalancerMetricDataInput) SetUnit(v MetricUnit) *GetLoadBalancerMetricDataInput { - s.Unit = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerMetricDataResult type GetLoadBalancerMetricDataOutput struct { _ struct{} `type:"structure"` @@ -8758,18 +7366,6 @@ func (s GetLoadBalancerMetricDataOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMetricData sets the MetricData field's value. -func (s *GetLoadBalancerMetricDataOutput) SetMetricData(v []MetricDatapoint) *GetLoadBalancerMetricDataOutput { - s.MetricData = v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *GetLoadBalancerMetricDataOutput) SetMetricName(v LoadBalancerMetricName) *GetLoadBalancerMetricDataOutput { - s.MetricName = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerResult type GetLoadBalancerOutput struct { _ struct{} `type:"structure"` @@ -8795,12 +7391,6 @@ func (s GetLoadBalancerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLoadBalancer sets the LoadBalancer field's value. -func (s *GetLoadBalancerOutput) SetLoadBalancer(v *LoadBalancer) *GetLoadBalancerOutput { - s.LoadBalancer = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsCertificatesRequest type GetLoadBalancerTlsCertificatesInput struct { _ struct{} `type:"structure"` @@ -8835,12 +7425,6 @@ func (s *GetLoadBalancerTlsCertificatesInput) Validate() error { return nil } -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *GetLoadBalancerTlsCertificatesInput) SetLoadBalancerName(v string) *GetLoadBalancerTlsCertificatesInput { - s.LoadBalancerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsCertificatesResult type GetLoadBalancerTlsCertificatesOutput struct { _ struct{} `type:"structure"` @@ -8866,12 +7450,6 @@ func (s GetLoadBalancerTlsCertificatesOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetTlsCertificates sets the TlsCertificates field's value. -func (s *GetLoadBalancerTlsCertificatesOutput) SetTlsCertificates(v []LoadBalancerTlsCertificate) *GetLoadBalancerTlsCertificatesOutput { - s.TlsCertificates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancersRequest type GetLoadBalancersInput struct { _ struct{} `type:"structure"` @@ -8890,12 +7468,6 @@ func (s GetLoadBalancersInput) GoString() string { return s.String() } -// SetPageToken sets the PageToken field's value. -func (s *GetLoadBalancersInput) SetPageToken(v string) *GetLoadBalancersInput { - s.PageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancersResult type GetLoadBalancersOutput struct { _ struct{} `type:"structure"` @@ -8925,18 +7497,6 @@ func (s GetLoadBalancersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLoadBalancers sets the LoadBalancers field's value. -func (s *GetLoadBalancersOutput) SetLoadBalancers(v []LoadBalancer) *GetLoadBalancersOutput { - s.LoadBalancers = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetLoadBalancersOutput) SetNextPageToken(v string) *GetLoadBalancersOutput { - s.NextPageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationRequest type GetOperationInput struct { _ struct{} `type:"structure"` @@ -8971,12 +7531,6 @@ func (s *GetOperationInput) Validate() error { return nil } -// SetOperationId sets the OperationId field's value. -func (s *GetOperationInput) SetOperationId(v string) *GetOperationInput { - s.OperationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationResult type GetOperationOutput struct { _ struct{} `type:"structure"` @@ -9003,12 +7557,6 @@ func (s GetOperationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperation sets the Operation field's value. -func (s *GetOperationOutput) SetOperation(v *Operation) *GetOperationOutput { - s.Operation = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsForResourceRequest type GetOperationsForResourceInput struct { _ struct{} `type:"structure"` @@ -9047,18 +7595,6 @@ func (s *GetOperationsForResourceInput) Validate() error { return nil } -// SetPageToken sets the PageToken field's value. -func (s *GetOperationsForResourceInput) SetPageToken(v string) *GetOperationsForResourceInput { - s.PageToken = &v - return s -} - -// SetResourceName sets the ResourceName field's value. -func (s *GetOperationsForResourceInput) SetResourceName(v string) *GetOperationsForResourceInput { - s.ResourceName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsForResourceResult type GetOperationsForResourceOutput struct { _ struct{} `type:"structure"` @@ -9095,24 +7631,6 @@ func (s GetOperationsForResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextPageCount sets the NextPageCount field's value. -func (s *GetOperationsForResourceOutput) SetNextPageCount(v string) *GetOperationsForResourceOutput { - s.NextPageCount = &v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetOperationsForResourceOutput) SetNextPageToken(v string) *GetOperationsForResourceOutput { - s.NextPageToken = &v - return s -} - -// SetOperations sets the Operations field's value. -func (s *GetOperationsForResourceOutput) SetOperations(v []Operation) *GetOperationsForResourceOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsRequest type GetOperationsInput struct { _ struct{} `type:"structure"` @@ -9132,12 +7650,6 @@ func (s GetOperationsInput) GoString() string { return s.String() } -// SetPageToken sets the PageToken field's value. -func (s *GetOperationsInput) SetPageToken(v string) *GetOperationsInput { - s.PageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsResult type GetOperationsOutput struct { _ struct{} `type:"structure"` @@ -9168,18 +7680,6 @@ func (s GetOperationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetOperationsOutput) SetNextPageToken(v string) *GetOperationsOutput { - s.NextPageToken = &v - return s -} - -// SetOperations sets the Operations field's value. -func (s *GetOperationsOutput) SetOperations(v []Operation) *GetOperationsOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRegionsRequest type GetRegionsInput struct { _ struct{} `type:"structure"` @@ -9200,12 +7700,6 @@ func (s GetRegionsInput) GoString() string { return s.String() } -// SetIncludeAvailabilityZones sets the IncludeAvailabilityZones field's value. -func (s *GetRegionsInput) SetIncludeAvailabilityZones(v bool) *GetRegionsInput { - s.IncludeAvailabilityZones = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRegionsResult type GetRegionsOutput struct { _ struct{} `type:"structure"` @@ -9232,12 +7726,6 @@ func (s GetRegionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRegions sets the Regions field's value. -func (s *GetRegionsOutput) SetRegions(v []Region) *GetRegionsOutput { - s.Regions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIpRequest type GetStaticIpInput struct { _ struct{} `type:"structure"` @@ -9272,12 +7760,6 @@ func (s *GetStaticIpInput) Validate() error { return nil } -// SetStaticIpName sets the StaticIpName field's value. -func (s *GetStaticIpInput) SetStaticIpName(v string) *GetStaticIpInput { - s.StaticIpName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIpResult type GetStaticIpOutput struct { _ struct{} `type:"structure"` @@ -9304,12 +7786,6 @@ func (s GetStaticIpOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStaticIp sets the StaticIp field's value. -func (s *GetStaticIpOutput) SetStaticIp(v *StaticIp) *GetStaticIpOutput { - s.StaticIp = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIpsRequest type GetStaticIpsInput struct { _ struct{} `type:"structure"` @@ -9329,12 +7805,6 @@ func (s GetStaticIpsInput) GoString() string { return s.String() } -// SetPageToken sets the PageToken field's value. -func (s *GetStaticIpsInput) SetPageToken(v string) *GetStaticIpsInput { - s.PageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIpsResult type GetStaticIpsOutput struct { _ struct{} `type:"structure"` @@ -9365,18 +7835,6 @@ func (s GetStaticIpsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetStaticIpsOutput) SetNextPageToken(v string) *GetStaticIpsOutput { - s.NextPageToken = &v - return s -} - -// SetStaticIps sets the StaticIps field's value. -func (s *GetStaticIpsOutput) SetStaticIps(v []StaticIp) *GetStaticIpsOutput { - s.StaticIps = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ImportKeyPairRequest type ImportKeyPairInput struct { _ struct{} `type:"structure"` @@ -9420,18 +7878,6 @@ func (s *ImportKeyPairInput) Validate() error { return nil } -// SetKeyPairName sets the KeyPairName field's value. -func (s *ImportKeyPairInput) SetKeyPairName(v string) *ImportKeyPairInput { - s.KeyPairName = &v - return s -} - -// SetPublicKeyBase64 sets the PublicKeyBase64 field's value. -func (s *ImportKeyPairInput) SetPublicKeyBase64(v string) *ImportKeyPairInput { - s.PublicKeyBase64 = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ImportKeyPairResult type ImportKeyPairOutput struct { _ struct{} `type:"structure"` @@ -9457,12 +7903,6 @@ func (s ImportKeyPairOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperation sets the Operation field's value. -func (s *ImportKeyPairOutput) SetOperation(v *Operation) *ImportKeyPairOutput { - s.Operation = v - return s -} - // Describes an instance (a virtual private server). // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Instance type Instance struct { @@ -9537,114 +7977,6 @@ func (s Instance) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Instance) SetArn(v string) *Instance { - s.Arn = &v - return s -} - -// SetBlueprintId sets the BlueprintId field's value. -func (s *Instance) SetBlueprintId(v string) *Instance { - s.BlueprintId = &v - return s -} - -// SetBlueprintName sets the BlueprintName field's value. -func (s *Instance) SetBlueprintName(v string) *Instance { - s.BlueprintName = &v - return s -} - -// SetBundleId sets the BundleId field's value. -func (s *Instance) SetBundleId(v string) *Instance { - s.BundleId = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Instance) SetCreatedAt(v time.Time) *Instance { - s.CreatedAt = &v - return s -} - -// SetHardware sets the Hardware field's value. -func (s *Instance) SetHardware(v *InstanceHardware) *Instance { - s.Hardware = v - return s -} - -// SetIpv6Address sets the Ipv6Address field's value. -func (s *Instance) SetIpv6Address(v string) *Instance { - s.Ipv6Address = &v - return s -} - -// SetIsStaticIp sets the IsStaticIp field's value. -func (s *Instance) SetIsStaticIp(v bool) *Instance { - s.IsStaticIp = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *Instance) SetLocation(v *ResourceLocation) *Instance { - s.Location = v - return s -} - -// SetName sets the Name field's value. -func (s *Instance) SetName(v string) *Instance { - s.Name = &v - return s -} - -// SetNetworking sets the Networking field's value. -func (s *Instance) SetNetworking(v *InstanceNetworking) *Instance { - s.Networking = v - return s -} - -// SetPrivateIpAddress sets the PrivateIpAddress field's value. -func (s *Instance) SetPrivateIpAddress(v string) *Instance { - s.PrivateIpAddress = &v - return s -} - -// SetPublicIpAddress sets the PublicIpAddress field's value. -func (s *Instance) SetPublicIpAddress(v string) *Instance { - s.PublicIpAddress = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *Instance) SetResourceType(v ResourceType) *Instance { - s.ResourceType = v - return s -} - -// SetSshKeyName sets the SshKeyName field's value. -func (s *Instance) SetSshKeyName(v string) *Instance { - s.SshKeyName = &v - return s -} - -// SetState sets the State field's value. -func (s *Instance) SetState(v *InstanceState) *Instance { - s.State = v - return s -} - -// SetSupportCode sets the SupportCode field's value. -func (s *Instance) SetSupportCode(v string) *Instance { - s.SupportCode = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *Instance) SetUsername(v string) *Instance { - s.Username = &v - return s -} - // The parameters for gaining temporary access to one of your Amazon Lightsail // instances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceAccessDetails @@ -9705,60 +8037,6 @@ func (s InstanceAccessDetails) GoString() string { return s.String() } -// SetCertKey sets the CertKey field's value. -func (s *InstanceAccessDetails) SetCertKey(v string) *InstanceAccessDetails { - s.CertKey = &v - return s -} - -// SetExpiresAt sets the ExpiresAt field's value. -func (s *InstanceAccessDetails) SetExpiresAt(v time.Time) *InstanceAccessDetails { - s.ExpiresAt = &v - return s -} - -// SetInstanceName sets the InstanceName field's value. -func (s *InstanceAccessDetails) SetInstanceName(v string) *InstanceAccessDetails { - s.InstanceName = &v - return s -} - -// SetIpAddress sets the IpAddress field's value. -func (s *InstanceAccessDetails) SetIpAddress(v string) *InstanceAccessDetails { - s.IpAddress = &v - return s -} - -// SetPassword sets the Password field's value. -func (s *InstanceAccessDetails) SetPassword(v string) *InstanceAccessDetails { - s.Password = &v - return s -} - -// SetPasswordData sets the PasswordData field's value. -func (s *InstanceAccessDetails) SetPasswordData(v *PasswordData) *InstanceAccessDetails { - s.PasswordData = v - return s -} - -// SetPrivateKey sets the PrivateKey field's value. -func (s *InstanceAccessDetails) SetPrivateKey(v string) *InstanceAccessDetails { - s.PrivateKey = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *InstanceAccessDetails) SetProtocol(v InstanceAccessProtocol) *InstanceAccessDetails { - s.Protocol = v - return s -} - -// SetUsername sets the Username field's value. -func (s *InstanceAccessDetails) SetUsername(v string) *InstanceAccessDetails { - s.Username = &v - return s -} - // Describes the hardware for the instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceHardware type InstanceHardware struct { @@ -9784,24 +8062,6 @@ func (s InstanceHardware) GoString() string { return s.String() } -// SetCpuCount sets the CpuCount field's value. -func (s *InstanceHardware) SetCpuCount(v int64) *InstanceHardware { - s.CpuCount = &v - return s -} - -// SetDisks sets the Disks field's value. -func (s *InstanceHardware) SetDisks(v []Disk) *InstanceHardware { - s.Disks = v - return s -} - -// SetRamSizeInGb sets the RamSizeInGb field's value. -func (s *InstanceHardware) SetRamSizeInGb(v float64) *InstanceHardware { - s.RamSizeInGb = &v - return s -} - // Describes information about the health of the instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceHealthSummary type InstanceHealthSummary struct { @@ -9828,24 +8088,6 @@ func (s InstanceHealthSummary) GoString() string { return s.String() } -// SetInstanceHealth sets the InstanceHealth field's value. -func (s *InstanceHealthSummary) SetInstanceHealth(v InstanceHealthState) *InstanceHealthSummary { - s.InstanceHealth = v - return s -} - -// SetInstanceHealthReason sets the InstanceHealthReason field's value. -func (s *InstanceHealthSummary) SetInstanceHealthReason(v InstanceHealthReason) *InstanceHealthSummary { - s.InstanceHealthReason = v - return s -} - -// SetInstanceName sets the InstanceName field's value. -func (s *InstanceHealthSummary) SetInstanceName(v string) *InstanceHealthSummary { - s.InstanceName = &v - return s -} - // Describes monthly data transfer rates and port information for an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceNetworking type InstanceNetworking struct { @@ -9869,18 +8111,6 @@ func (s InstanceNetworking) GoString() string { return s.String() } -// SetMonthlyTransfer sets the MonthlyTransfer field's value. -func (s *InstanceNetworking) SetMonthlyTransfer(v *MonthlyTransfer) *InstanceNetworking { - s.MonthlyTransfer = v - return s -} - -// SetPorts sets the Ports field's value. -func (s *InstanceNetworking) SetPorts(v []InstancePortInfo) *InstanceNetworking { - s.Ports = v - return s -} - // Describes information about the instance ports. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstancePortInfo type InstancePortInfo struct { @@ -9935,48 +8165,6 @@ func (s InstancePortInfo) GoString() string { return s.String() } -// SetAccessDirection sets the AccessDirection field's value. -func (s *InstancePortInfo) SetAccessDirection(v AccessDirection) *InstancePortInfo { - s.AccessDirection = v - return s -} - -// SetAccessFrom sets the AccessFrom field's value. -func (s *InstancePortInfo) SetAccessFrom(v string) *InstancePortInfo { - s.AccessFrom = &v - return s -} - -// SetAccessType sets the AccessType field's value. -func (s *InstancePortInfo) SetAccessType(v PortAccessType) *InstancePortInfo { - s.AccessType = v - return s -} - -// SetCommonName sets the CommonName field's value. -func (s *InstancePortInfo) SetCommonName(v string) *InstancePortInfo { - s.CommonName = &v - return s -} - -// SetFromPort sets the FromPort field's value. -func (s *InstancePortInfo) SetFromPort(v int64) *InstancePortInfo { - s.FromPort = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *InstancePortInfo) SetProtocol(v NetworkProtocol) *InstancePortInfo { - s.Protocol = v - return s -} - -// SetToPort sets the ToPort field's value. -func (s *InstancePortInfo) SetToPort(v int64) *InstancePortInfo { - s.ToPort = &v - return s -} - // Describes the port state. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstancePortState type InstancePortState struct { @@ -10022,30 +8210,6 @@ func (s InstancePortState) GoString() string { return s.String() } -// SetFromPort sets the FromPort field's value. -func (s *InstancePortState) SetFromPort(v int64) *InstancePortState { - s.FromPort = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *InstancePortState) SetProtocol(v NetworkProtocol) *InstancePortState { - s.Protocol = v - return s -} - -// SetState sets the State field's value. -func (s *InstancePortState) SetState(v PortState) *InstancePortState { - s.State = v - return s -} - -// SetToPort sets the ToPort field's value. -func (s *InstancePortState) SetToPort(v int64) *InstancePortState { - s.ToPort = &v - return s -} - // Describes the snapshot of the virtual private server, or instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceSnapshot type InstanceSnapshot struct { @@ -10109,90 +8273,6 @@ func (s InstanceSnapshot) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *InstanceSnapshot) SetArn(v string) *InstanceSnapshot { - s.Arn = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *InstanceSnapshot) SetCreatedAt(v time.Time) *InstanceSnapshot { - s.CreatedAt = &v - return s -} - -// SetFromAttachedDisks sets the FromAttachedDisks field's value. -func (s *InstanceSnapshot) SetFromAttachedDisks(v []Disk) *InstanceSnapshot { - s.FromAttachedDisks = v - return s -} - -// SetFromBlueprintId sets the FromBlueprintId field's value. -func (s *InstanceSnapshot) SetFromBlueprintId(v string) *InstanceSnapshot { - s.FromBlueprintId = &v - return s -} - -// SetFromBundleId sets the FromBundleId field's value. -func (s *InstanceSnapshot) SetFromBundleId(v string) *InstanceSnapshot { - s.FromBundleId = &v - return s -} - -// SetFromInstanceArn sets the FromInstanceArn field's value. -func (s *InstanceSnapshot) SetFromInstanceArn(v string) *InstanceSnapshot { - s.FromInstanceArn = &v - return s -} - -// SetFromInstanceName sets the FromInstanceName field's value. -func (s *InstanceSnapshot) SetFromInstanceName(v string) *InstanceSnapshot { - s.FromInstanceName = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *InstanceSnapshot) SetLocation(v *ResourceLocation) *InstanceSnapshot { - s.Location = v - return s -} - -// SetName sets the Name field's value. -func (s *InstanceSnapshot) SetName(v string) *InstanceSnapshot { - s.Name = &v - return s -} - -// SetProgress sets the Progress field's value. -func (s *InstanceSnapshot) SetProgress(v string) *InstanceSnapshot { - s.Progress = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *InstanceSnapshot) SetResourceType(v ResourceType) *InstanceSnapshot { - s.ResourceType = v - return s -} - -// SetSizeInGb sets the SizeInGb field's value. -func (s *InstanceSnapshot) SetSizeInGb(v int64) *InstanceSnapshot { - s.SizeInGb = &v - return s -} - -// SetState sets the State field's value. -func (s *InstanceSnapshot) SetState(v InstanceSnapshotState) *InstanceSnapshot { - s.State = v - return s -} - -// SetSupportCode sets the SupportCode field's value. -func (s *InstanceSnapshot) SetSupportCode(v string) *InstanceSnapshot { - s.SupportCode = &v - return s -} - // Describes the virtual private server (or instance) status. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceState type InstanceState struct { @@ -10215,18 +8295,6 @@ func (s InstanceState) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *InstanceState) SetCode(v int64) *InstanceState { - s.Code = &v - return s -} - -// SetName sets the Name field's value. -func (s *InstanceState) SetName(v string) *InstanceState { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/IsVpcPeeredRequest type IsVpcPeeredInput struct { _ struct{} `type:"structure"` @@ -10267,12 +8335,6 @@ func (s IsVpcPeeredOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIsPeered sets the IsPeered field's value. -func (s *IsVpcPeeredOutput) SetIsPeered(v bool) *IsVpcPeeredOutput { - s.IsPeered = &v - return s -} - // Describes the SSH key pair. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/KeyPair type KeyPair struct { @@ -10312,48 +8374,6 @@ func (s KeyPair) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *KeyPair) SetArn(v string) *KeyPair { - s.Arn = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *KeyPair) SetCreatedAt(v time.Time) *KeyPair { - s.CreatedAt = &v - return s -} - -// SetFingerprint sets the Fingerprint field's value. -func (s *KeyPair) SetFingerprint(v string) *KeyPair { - s.Fingerprint = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *KeyPair) SetLocation(v *ResourceLocation) *KeyPair { - s.Location = v - return s -} - -// SetName sets the Name field's value. -func (s *KeyPair) SetName(v string) *KeyPair { - s.Name = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *KeyPair) SetResourceType(v ResourceType) *KeyPair { - s.ResourceType = v - return s -} - -// SetSupportCode sets the SupportCode field's value. -func (s *KeyPair) SetSupportCode(v string) *KeyPair { - s.SupportCode = &v - return s -} - // Describes the Lightsail load balancer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancer type LoadBalancer struct { @@ -10422,96 +8442,6 @@ func (s LoadBalancer) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *LoadBalancer) SetArn(v string) *LoadBalancer { - s.Arn = &v - return s -} - -// SetConfigurationOptions sets the ConfigurationOptions field's value. -func (s *LoadBalancer) SetConfigurationOptions(v map[string]string) *LoadBalancer { - s.ConfigurationOptions = v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *LoadBalancer) SetCreatedAt(v time.Time) *LoadBalancer { - s.CreatedAt = &v - return s -} - -// SetDnsName sets the DnsName field's value. -func (s *LoadBalancer) SetDnsName(v string) *LoadBalancer { - s.DnsName = &v - return s -} - -// SetHealthCheckPath sets the HealthCheckPath field's value. -func (s *LoadBalancer) SetHealthCheckPath(v string) *LoadBalancer { - s.HealthCheckPath = &v - return s -} - -// SetInstanceHealthSummary sets the InstanceHealthSummary field's value. -func (s *LoadBalancer) SetInstanceHealthSummary(v []InstanceHealthSummary) *LoadBalancer { - s.InstanceHealthSummary = v - return s -} - -// SetInstancePort sets the InstancePort field's value. -func (s *LoadBalancer) SetInstancePort(v int64) *LoadBalancer { - s.InstancePort = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *LoadBalancer) SetLocation(v *ResourceLocation) *LoadBalancer { - s.Location = v - return s -} - -// SetName sets the Name field's value. -func (s *LoadBalancer) SetName(v string) *LoadBalancer { - s.Name = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *LoadBalancer) SetProtocol(v LoadBalancerProtocol) *LoadBalancer { - s.Protocol = v - return s -} - -// SetPublicPorts sets the PublicPorts field's value. -func (s *LoadBalancer) SetPublicPorts(v []int64) *LoadBalancer { - s.PublicPorts = v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *LoadBalancer) SetResourceType(v ResourceType) *LoadBalancer { - s.ResourceType = v - return s -} - -// SetState sets the State field's value. -func (s *LoadBalancer) SetState(v LoadBalancerState) *LoadBalancer { - s.State = v - return s -} - -// SetSupportCode sets the SupportCode field's value. -func (s *LoadBalancer) SetSupportCode(v string) *LoadBalancer { - s.SupportCode = &v - return s -} - -// SetTlsCertificateSummaries sets the TlsCertificateSummaries field's value. -func (s *LoadBalancer) SetTlsCertificateSummaries(v []LoadBalancerTlsCertificateSummary) *LoadBalancer { - s.TlsCertificateSummaries = v - return s -} - // Describes a load balancer TLS/SSL certificate. // // TLS is just an updated, more secure version of Secure Socket Layer (SSL). @@ -10613,150 +8543,6 @@ func (s LoadBalancerTlsCertificate) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *LoadBalancerTlsCertificate) SetArn(v string) *LoadBalancerTlsCertificate { - s.Arn = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *LoadBalancerTlsCertificate) SetCreatedAt(v time.Time) *LoadBalancerTlsCertificate { - s.CreatedAt = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *LoadBalancerTlsCertificate) SetDomainName(v string) *LoadBalancerTlsCertificate { - s.DomainName = &v - return s -} - -// SetDomainValidationRecords sets the DomainValidationRecords field's value. -func (s *LoadBalancerTlsCertificate) SetDomainValidationRecords(v []LoadBalancerTlsCertificateDomainValidationRecord) *LoadBalancerTlsCertificate { - s.DomainValidationRecords = v - return s -} - -// SetFailureReason sets the FailureReason field's value. -func (s *LoadBalancerTlsCertificate) SetFailureReason(v LoadBalancerTlsCertificateFailureReason) *LoadBalancerTlsCertificate { - s.FailureReason = v - return s -} - -// SetIsAttached sets the IsAttached field's value. -func (s *LoadBalancerTlsCertificate) SetIsAttached(v bool) *LoadBalancerTlsCertificate { - s.IsAttached = &v - return s -} - -// SetIssuedAt sets the IssuedAt field's value. -func (s *LoadBalancerTlsCertificate) SetIssuedAt(v time.Time) *LoadBalancerTlsCertificate { - s.IssuedAt = &v - return s -} - -// SetIssuer sets the Issuer field's value. -func (s *LoadBalancerTlsCertificate) SetIssuer(v string) *LoadBalancerTlsCertificate { - s.Issuer = &v - return s -} - -// SetKeyAlgorithm sets the KeyAlgorithm field's value. -func (s *LoadBalancerTlsCertificate) SetKeyAlgorithm(v string) *LoadBalancerTlsCertificate { - s.KeyAlgorithm = &v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *LoadBalancerTlsCertificate) SetLoadBalancerName(v string) *LoadBalancerTlsCertificate { - s.LoadBalancerName = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *LoadBalancerTlsCertificate) SetLocation(v *ResourceLocation) *LoadBalancerTlsCertificate { - s.Location = v - return s -} - -// SetName sets the Name field's value. -func (s *LoadBalancerTlsCertificate) SetName(v string) *LoadBalancerTlsCertificate { - s.Name = &v - return s -} - -// SetNotAfter sets the NotAfter field's value. -func (s *LoadBalancerTlsCertificate) SetNotAfter(v time.Time) *LoadBalancerTlsCertificate { - s.NotAfter = &v - return s -} - -// SetNotBefore sets the NotBefore field's value. -func (s *LoadBalancerTlsCertificate) SetNotBefore(v time.Time) *LoadBalancerTlsCertificate { - s.NotBefore = &v - return s -} - -// SetRenewalSummary sets the RenewalSummary field's value. -func (s *LoadBalancerTlsCertificate) SetRenewalSummary(v *LoadBalancerTlsCertificateRenewalSummary) *LoadBalancerTlsCertificate { - s.RenewalSummary = v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *LoadBalancerTlsCertificate) SetResourceType(v ResourceType) *LoadBalancerTlsCertificate { - s.ResourceType = v - return s -} - -// SetRevocationReason sets the RevocationReason field's value. -func (s *LoadBalancerTlsCertificate) SetRevocationReason(v LoadBalancerTlsCertificateRevocationReason) *LoadBalancerTlsCertificate { - s.RevocationReason = v - return s -} - -// SetRevokedAt sets the RevokedAt field's value. -func (s *LoadBalancerTlsCertificate) SetRevokedAt(v time.Time) *LoadBalancerTlsCertificate { - s.RevokedAt = &v - return s -} - -// SetSerial sets the Serial field's value. -func (s *LoadBalancerTlsCertificate) SetSerial(v string) *LoadBalancerTlsCertificate { - s.Serial = &v - return s -} - -// SetSignatureAlgorithm sets the SignatureAlgorithm field's value. -func (s *LoadBalancerTlsCertificate) SetSignatureAlgorithm(v string) *LoadBalancerTlsCertificate { - s.SignatureAlgorithm = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *LoadBalancerTlsCertificate) SetStatus(v LoadBalancerTlsCertificateStatus) *LoadBalancerTlsCertificate { - s.Status = v - return s -} - -// SetSubject sets the Subject field's value. -func (s *LoadBalancerTlsCertificate) SetSubject(v string) *LoadBalancerTlsCertificate { - s.Subject = &v - return s -} - -// SetSubjectAlternativeNames sets the SubjectAlternativeNames field's value. -func (s *LoadBalancerTlsCertificate) SetSubjectAlternativeNames(v []string) *LoadBalancerTlsCertificate { - s.SubjectAlternativeNames = v - return s -} - -// SetSupportCode sets the SupportCode field's value. -func (s *LoadBalancerTlsCertificate) SetSupportCode(v string) *LoadBalancerTlsCertificate { - s.SupportCode = &v - return s -} - // Contains information about the domain names on a TLS/SSL certificate that // you will use to validate domain ownership. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificateDomainValidationOption @@ -10780,18 +8566,6 @@ func (s LoadBalancerTlsCertificateDomainValidationOption) GoString() string { return s.String() } -// SetDomainName sets the DomainName field's value. -func (s *LoadBalancerTlsCertificateDomainValidationOption) SetDomainName(v string) *LoadBalancerTlsCertificateDomainValidationOption { - s.DomainName = &v - return s -} - -// SetValidationStatus sets the ValidationStatus field's value. -func (s *LoadBalancerTlsCertificateDomainValidationOption) SetValidationStatus(v LoadBalancerTlsCertificateDomainStatus) *LoadBalancerTlsCertificateDomainValidationOption { - s.ValidationStatus = v - return s -} - // Describes the validation record of each domain name in the TLS/SSL certificate. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificateDomainValidationRecord type LoadBalancerTlsCertificateDomainValidationRecord struct { @@ -10823,36 +8597,6 @@ func (s LoadBalancerTlsCertificateDomainValidationRecord) GoString() string { return s.String() } -// SetDomainName sets the DomainName field's value. -func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetDomainName(v string) *LoadBalancerTlsCertificateDomainValidationRecord { - s.DomainName = &v - return s -} - -// SetName sets the Name field's value. -func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetName(v string) *LoadBalancerTlsCertificateDomainValidationRecord { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetType(v string) *LoadBalancerTlsCertificateDomainValidationRecord { - s.Type = &v - return s -} - -// SetValidationStatus sets the ValidationStatus field's value. -func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetValidationStatus(v LoadBalancerTlsCertificateDomainStatus) *LoadBalancerTlsCertificateDomainValidationRecord { - s.ValidationStatus = v - return s -} - -// SetValue sets the Value field's value. -func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetValue(v string) *LoadBalancerTlsCertificateDomainValidationRecord { - s.Value = &v - return s -} - // Contains information about the status of Lightsail's managed renewal for // the certificate. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificateRenewalSummary @@ -10879,18 +8623,6 @@ func (s LoadBalancerTlsCertificateRenewalSummary) GoString() string { return s.String() } -// SetDomainValidationOptions sets the DomainValidationOptions field's value. -func (s *LoadBalancerTlsCertificateRenewalSummary) SetDomainValidationOptions(v []LoadBalancerTlsCertificateDomainValidationOption) *LoadBalancerTlsCertificateRenewalSummary { - s.DomainValidationOptions = v - return s -} - -// SetRenewalStatus sets the RenewalStatus field's value. -func (s *LoadBalancerTlsCertificateRenewalSummary) SetRenewalStatus(v LoadBalancerTlsCertificateRenewalStatus) *LoadBalancerTlsCertificateRenewalSummary { - s.RenewalStatus = v - return s -} - // Provides a summary of TLS/SSL certificate metadata. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificateSummary type LoadBalancerTlsCertificateSummary struct { @@ -10913,18 +8645,6 @@ func (s LoadBalancerTlsCertificateSummary) GoString() string { return s.String() } -// SetIsAttached sets the IsAttached field's value. -func (s *LoadBalancerTlsCertificateSummary) SetIsAttached(v bool) *LoadBalancerTlsCertificateSummary { - s.IsAttached = &v - return s -} - -// SetName sets the Name field's value. -func (s *LoadBalancerTlsCertificateSummary) SetName(v string) *LoadBalancerTlsCertificateSummary { - s.Name = &v - return s -} - // Describes the metric data point. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/MetricDatapoint type MetricDatapoint struct { @@ -10962,48 +8682,6 @@ func (s MetricDatapoint) GoString() string { return s.String() } -// SetAverage sets the Average field's value. -func (s *MetricDatapoint) SetAverage(v float64) *MetricDatapoint { - s.Average = &v - return s -} - -// SetMaximum sets the Maximum field's value. -func (s *MetricDatapoint) SetMaximum(v float64) *MetricDatapoint { - s.Maximum = &v - return s -} - -// SetMinimum sets the Minimum field's value. -func (s *MetricDatapoint) SetMinimum(v float64) *MetricDatapoint { - s.Minimum = &v - return s -} - -// SetSampleCount sets the SampleCount field's value. -func (s *MetricDatapoint) SetSampleCount(v float64) *MetricDatapoint { - s.SampleCount = &v - return s -} - -// SetSum sets the Sum field's value. -func (s *MetricDatapoint) SetSum(v float64) *MetricDatapoint { - s.Sum = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *MetricDatapoint) SetTimestamp(v time.Time) *MetricDatapoint { - s.Timestamp = &v - return s -} - -// SetUnit sets the Unit field's value. -func (s *MetricDatapoint) SetUnit(v MetricUnit) *MetricDatapoint { - s.Unit = v - return s -} - // Describes the monthly data transfer in and out of your virtual private server // (or instance). // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/MonthlyTransfer @@ -11024,12 +8702,6 @@ func (s MonthlyTransfer) GoString() string { return s.String() } -// SetGbPerMonthAllocated sets the GbPerMonthAllocated field's value. -func (s *MonthlyTransfer) SetGbPerMonthAllocated(v int64) *MonthlyTransfer { - s.GbPerMonthAllocated = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPortsRequest type OpenInstancePublicPortsInput struct { _ struct{} `type:"structure"` @@ -11073,18 +8745,6 @@ func (s *OpenInstancePublicPortsInput) Validate() error { return nil } -// SetInstanceName sets the InstanceName field's value. -func (s *OpenInstancePublicPortsInput) SetInstanceName(v string) *OpenInstancePublicPortsInput { - s.InstanceName = &v - return s -} - -// SetPortInfo sets the PortInfo field's value. -func (s *OpenInstancePublicPortsInput) SetPortInfo(v *PortInfo) *OpenInstancePublicPortsInput { - s.PortInfo = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPortsResult type OpenInstancePublicPortsOutput struct { _ struct{} `type:"structure"` @@ -11110,12 +8770,6 @@ func (s OpenInstancePublicPortsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperation sets the Operation field's value. -func (s *OpenInstancePublicPortsOutput) SetOperation(v *Operation) *OpenInstancePublicPortsOutput { - s.Operation = v - return s -} - // Describes the API operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Operation type Operation struct { @@ -11168,78 +8822,6 @@ func (s Operation) GoString() string { return s.String() } -// SetCreatedAt sets the CreatedAt field's value. -func (s *Operation) SetCreatedAt(v time.Time) *Operation { - s.CreatedAt = &v - return s -} - -// SetErrorCode sets the ErrorCode field's value. -func (s *Operation) SetErrorCode(v string) *Operation { - s.ErrorCode = &v - return s -} - -// SetErrorDetails sets the ErrorDetails field's value. -func (s *Operation) SetErrorDetails(v string) *Operation { - s.ErrorDetails = &v - return s -} - -// SetId sets the Id field's value. -func (s *Operation) SetId(v string) *Operation { - s.Id = &v - return s -} - -// SetIsTerminal sets the IsTerminal field's value. -func (s *Operation) SetIsTerminal(v bool) *Operation { - s.IsTerminal = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *Operation) SetLocation(v *ResourceLocation) *Operation { - s.Location = v - return s -} - -// SetOperationDetails sets the OperationDetails field's value. -func (s *Operation) SetOperationDetails(v string) *Operation { - s.OperationDetails = &v - return s -} - -// SetOperationType sets the OperationType field's value. -func (s *Operation) SetOperationType(v OperationType) *Operation { - s.OperationType = v - return s -} - -// SetResourceName sets the ResourceName field's value. -func (s *Operation) SetResourceName(v string) *Operation { - s.ResourceName = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *Operation) SetResourceType(v ResourceType) *Operation { - s.ResourceType = v - return s -} - -// SetStatus sets the Status field's value. -func (s *Operation) SetStatus(v OperationStatus) *Operation { - s.Status = v - return s -} - -// SetStatusChangedAt sets the StatusChangedAt field's value. -func (s *Operation) SetStatusChangedAt(v time.Time) *Operation { - s.StatusChangedAt = &v - return s -} - // The password data for the Windows Server-based instance, including the ciphertext // and the key pair name. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PasswordData @@ -11281,18 +8863,6 @@ func (s PasswordData) GoString() string { return s.String() } -// SetCiphertext sets the Ciphertext field's value. -func (s *PasswordData) SetCiphertext(v string) *PasswordData { - s.Ciphertext = &v - return s -} - -// SetKeyPairName sets the KeyPairName field's value. -func (s *PasswordData) SetKeyPairName(v string) *PasswordData { - s.KeyPairName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PeerVpcRequest type PeerVpcInput struct { _ struct{} `type:"structure"` @@ -11333,12 +8903,6 @@ func (s PeerVpcOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperation sets the Operation field's value. -func (s *PeerVpcOutput) SetOperation(v *Operation) *PeerVpcOutput { - s.Operation = v - return s -} - // Describes information about the ports on your virtual private server (or // instance). // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PortInfo @@ -11365,24 +8929,6 @@ func (s PortInfo) GoString() string { return s.String() } -// SetFromPort sets the FromPort field's value. -func (s *PortInfo) SetFromPort(v int64) *PortInfo { - s.FromPort = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *PortInfo) SetProtocol(v NetworkProtocol) *PortInfo { - s.Protocol = v - return s -} - -// SetToPort sets the ToPort field's value. -func (s *PortInfo) SetToPort(v int64) *PortInfo { - s.ToPort = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPortsRequest type PutInstancePublicPortsInput struct { _ struct{} `type:"structure"` @@ -11426,18 +8972,6 @@ func (s *PutInstancePublicPortsInput) Validate() error { return nil } -// SetInstanceName sets the InstanceName field's value. -func (s *PutInstancePublicPortsInput) SetInstanceName(v string) *PutInstancePublicPortsInput { - s.InstanceName = &v - return s -} - -// SetPortInfos sets the PortInfos field's value. -func (s *PutInstancePublicPortsInput) SetPortInfos(v []PortInfo) *PutInstancePublicPortsInput { - s.PortInfos = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPortsResult type PutInstancePublicPortsOutput struct { _ struct{} `type:"structure"` @@ -11463,12 +8997,6 @@ func (s PutInstancePublicPortsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperation sets the Operation field's value. -func (s *PutInstancePublicPortsOutput) SetOperation(v *Operation) *PutInstancePublicPortsOutput { - s.Operation = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstanceRequest type RebootInstanceInput struct { _ struct{} `type:"structure"` @@ -11503,12 +9031,6 @@ func (s *RebootInstanceInput) Validate() error { return nil } -// SetInstanceName sets the InstanceName field's value. -func (s *RebootInstanceInput) SetInstanceName(v string) *RebootInstanceInput { - s.InstanceName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstanceResult type RebootInstanceOutput struct { _ struct{} `type:"structure"` @@ -11534,12 +9056,6 @@ func (s RebootInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *RebootInstanceOutput) SetOperations(v []Operation) *RebootInstanceOutput { - s.Operations = v - return s -} - // Describes the AWS Region. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Region type Region struct { @@ -11572,36 +9088,6 @@ func (s Region) GoString() string { return s.String() } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *Region) SetAvailabilityZones(v []AvailabilityZone) *Region { - s.AvailabilityZones = v - return s -} - -// SetContinentCode sets the ContinentCode field's value. -func (s *Region) SetContinentCode(v string) *Region { - s.ContinentCode = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Region) SetDescription(v string) *Region { - s.Description = &v - return s -} - -// SetDisplayName sets the DisplayName field's value. -func (s *Region) SetDisplayName(v string) *Region { - s.DisplayName = &v - return s -} - -// SetName sets the Name field's value. -func (s *Region) SetName(v RegionName) *Region { - s.Name = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ReleaseStaticIpRequest type ReleaseStaticIpInput struct { _ struct{} `type:"structure"` @@ -11636,12 +9122,6 @@ func (s *ReleaseStaticIpInput) Validate() error { return nil } -// SetStaticIpName sets the StaticIpName field's value. -func (s *ReleaseStaticIpInput) SetStaticIpName(v string) *ReleaseStaticIpInput { - s.StaticIpName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ReleaseStaticIpResult type ReleaseStaticIpOutput struct { _ struct{} `type:"structure"` @@ -11667,12 +9147,6 @@ func (s ReleaseStaticIpOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *ReleaseStaticIpOutput) SetOperations(v []Operation) *ReleaseStaticIpOutput { - s.Operations = v - return s -} - // Describes the resource location. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ResourceLocation type ResourceLocation struct { @@ -11695,18 +9169,6 @@ func (s ResourceLocation) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *ResourceLocation) SetAvailabilityZone(v string) *ResourceLocation { - s.AvailabilityZone = &v - return s -} - -// SetRegionName sets the RegionName field's value. -func (s *ResourceLocation) SetRegionName(v RegionName) *ResourceLocation { - s.RegionName = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstanceRequest type StartInstanceInput struct { _ struct{} `type:"structure"` @@ -11741,12 +9203,6 @@ func (s *StartInstanceInput) Validate() error { return nil } -// SetInstanceName sets the InstanceName field's value. -func (s *StartInstanceInput) SetInstanceName(v string) *StartInstanceInput { - s.InstanceName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstanceResult type StartInstanceOutput struct { _ struct{} `type:"structure"` @@ -11772,12 +9228,6 @@ func (s StartInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *StartInstanceOutput) SetOperations(v []Operation) *StartInstanceOutput { - s.Operations = v - return s -} - // Describes the static IP. // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StaticIp type StaticIp struct { @@ -11823,60 +9273,6 @@ func (s StaticIp) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *StaticIp) SetArn(v string) *StaticIp { - s.Arn = &v - return s -} - -// SetAttachedTo sets the AttachedTo field's value. -func (s *StaticIp) SetAttachedTo(v string) *StaticIp { - s.AttachedTo = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *StaticIp) SetCreatedAt(v time.Time) *StaticIp { - s.CreatedAt = &v - return s -} - -// SetIpAddress sets the IpAddress field's value. -func (s *StaticIp) SetIpAddress(v string) *StaticIp { - s.IpAddress = &v - return s -} - -// SetIsAttached sets the IsAttached field's value. -func (s *StaticIp) SetIsAttached(v bool) *StaticIp { - s.IsAttached = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *StaticIp) SetLocation(v *ResourceLocation) *StaticIp { - s.Location = v - return s -} - -// SetName sets the Name field's value. -func (s *StaticIp) SetName(v string) *StaticIp { - s.Name = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *StaticIp) SetResourceType(v ResourceType) *StaticIp { - s.ResourceType = v - return s -} - -// SetSupportCode sets the SupportCode field's value. -func (s *StaticIp) SetSupportCode(v string) *StaticIp { - s.SupportCode = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstanceRequest type StopInstanceInput struct { _ struct{} `type:"structure"` @@ -11919,18 +9315,6 @@ func (s *StopInstanceInput) Validate() error { return nil } -// SetForce sets the Force field's value. -func (s *StopInstanceInput) SetForce(v bool) *StopInstanceInput { - s.Force = &v - return s -} - -// SetInstanceName sets the InstanceName field's value. -func (s *StopInstanceInput) SetInstanceName(v string) *StopInstanceInput { - s.InstanceName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstanceResult type StopInstanceOutput struct { _ struct{} `type:"structure"` @@ -11956,12 +9340,6 @@ func (s StopInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *StopInstanceOutput) SetOperations(v []Operation) *StopInstanceOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpcRequest type UnpeerVpcInput struct { _ struct{} `type:"structure"` @@ -12002,12 +9380,6 @@ func (s UnpeerVpcOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperation sets the Operation field's value. -func (s *UnpeerVpcOutput) SetOperation(v *Operation) *UnpeerVpcOutput { - s.Operation = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDomainEntryRequest type UpdateDomainEntryInput struct { _ struct{} `type:"structure"` @@ -12051,18 +9423,6 @@ func (s *UpdateDomainEntryInput) Validate() error { return nil } -// SetDomainEntry sets the DomainEntry field's value. -func (s *UpdateDomainEntryInput) SetDomainEntry(v *DomainEntry) *UpdateDomainEntryInput { - s.DomainEntry = v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *UpdateDomainEntryInput) SetDomainName(v string) *UpdateDomainEntryInput { - s.DomainName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDomainEntryResult type UpdateDomainEntryOutput struct { _ struct{} `type:"structure"` @@ -12088,12 +9448,6 @@ func (s UpdateDomainEntryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *UpdateDomainEntryOutput) SetOperations(v []Operation) *UpdateDomainEntryOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttributeRequest type UpdateLoadBalancerAttributeInput struct { _ struct{} `type:"structure"` @@ -12148,24 +9502,6 @@ func (s *UpdateLoadBalancerAttributeInput) Validate() error { return nil } -// SetAttributeName sets the AttributeName field's value. -func (s *UpdateLoadBalancerAttributeInput) SetAttributeName(v LoadBalancerAttributeName) *UpdateLoadBalancerAttributeInput { - s.AttributeName = v - return s -} - -// SetAttributeValue sets the AttributeValue field's value. -func (s *UpdateLoadBalancerAttributeInput) SetAttributeValue(v string) *UpdateLoadBalancerAttributeInput { - s.AttributeValue = &v - return s -} - -// SetLoadBalancerName sets the LoadBalancerName field's value. -func (s *UpdateLoadBalancerAttributeInput) SetLoadBalancerName(v string) *UpdateLoadBalancerAttributeInput { - s.LoadBalancerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttributeResult type UpdateLoadBalancerAttributeOutput struct { _ struct{} `type:"structure"` @@ -12191,12 +9527,6 @@ func (s UpdateLoadBalancerAttributeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperations sets the Operations field's value. -func (s *UpdateLoadBalancerAttributeOutput) SetOperations(v []Operation) *UpdateLoadBalancerAttributeOutput { - s.Operations = v - return s -} - type AccessDirection string // Enum values for AccessDirection diff --git a/service/machinelearning/api.go b/service/machinelearning/api.go index 9404c3dd223..dc0b9f0762d 100644 --- a/service/machinelearning/api.go +++ b/service/machinelearning/api.go @@ -1781,24 +1781,6 @@ func (s *AddTagsInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *AddTagsInput) SetResourceId(v string) *AddTagsInput { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *AddTagsInput) SetResourceType(v TaggableResourceType) *AddTagsInput { - s.ResourceType = v - return s -} - -// SetTags sets the Tags field's value. -func (s *AddTagsInput) SetTags(v []Tag) *AddTagsInput { - s.Tags = v - return s -} - // Amazon ML returns the following elements. type AddTagsOutput struct { _ struct{} `type:"structure"` @@ -1827,18 +1809,6 @@ func (s AddTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResourceId sets the ResourceId field's value. -func (s *AddTagsOutput) SetResourceId(v string) *AddTagsOutput { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *AddTagsOutput) SetResourceType(v TaggableResourceType) *AddTagsOutput { - s.ResourceType = v - return s -} - // Represents the output of a GetBatchPrediction operation. // // The content consists of the detailed metadata, the status, and the data file @@ -1924,102 +1894,6 @@ func (s BatchPrediction) GoString() string { return s.String() } -// SetBatchPredictionDataSourceId sets the BatchPredictionDataSourceId field's value. -func (s *BatchPrediction) SetBatchPredictionDataSourceId(v string) *BatchPrediction { - s.BatchPredictionDataSourceId = &v - return s -} - -// SetBatchPredictionId sets the BatchPredictionId field's value. -func (s *BatchPrediction) SetBatchPredictionId(v string) *BatchPrediction { - s.BatchPredictionId = &v - return s -} - -// SetComputeTime sets the ComputeTime field's value. -func (s *BatchPrediction) SetComputeTime(v int64) *BatchPrediction { - s.ComputeTime = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *BatchPrediction) SetCreatedAt(v time.Time) *BatchPrediction { - s.CreatedAt = &v - return s -} - -// SetCreatedByIamUser sets the CreatedByIamUser field's value. -func (s *BatchPrediction) SetCreatedByIamUser(v string) *BatchPrediction { - s.CreatedByIamUser = &v - return s -} - -// SetFinishedAt sets the FinishedAt field's value. -func (s *BatchPrediction) SetFinishedAt(v time.Time) *BatchPrediction { - s.FinishedAt = &v - return s -} - -// SetInputDataLocationS3 sets the InputDataLocationS3 field's value. -func (s *BatchPrediction) SetInputDataLocationS3(v string) *BatchPrediction { - s.InputDataLocationS3 = &v - return s -} - -// SetInvalidRecordCount sets the InvalidRecordCount field's value. -func (s *BatchPrediction) SetInvalidRecordCount(v int64) *BatchPrediction { - s.InvalidRecordCount = &v - return s -} - -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *BatchPrediction) SetLastUpdatedAt(v time.Time) *BatchPrediction { - s.LastUpdatedAt = &v - return s -} - -// SetMLModelId sets the MLModelId field's value. -func (s *BatchPrediction) SetMLModelId(v string) *BatchPrediction { - s.MLModelId = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *BatchPrediction) SetMessage(v string) *BatchPrediction { - s.Message = &v - return s -} - -// SetName sets the Name field's value. -func (s *BatchPrediction) SetName(v string) *BatchPrediction { - s.Name = &v - return s -} - -// SetOutputUri sets the OutputUri field's value. -func (s *BatchPrediction) SetOutputUri(v string) *BatchPrediction { - s.OutputUri = &v - return s -} - -// SetStartedAt sets the StartedAt field's value. -func (s *BatchPrediction) SetStartedAt(v time.Time) *BatchPrediction { - s.StartedAt = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *BatchPrediction) SetStatus(v EntityStatus) *BatchPrediction { - s.Status = v - return s -} - -// SetTotalRecordCount sets the TotalRecordCount field's value. -func (s *BatchPrediction) SetTotalRecordCount(v int64) *BatchPrediction { - s.TotalRecordCount = &v - return s -} - type CreateBatchPredictionInput struct { _ struct{} `type:"structure"` @@ -2099,36 +1973,6 @@ func (s *CreateBatchPredictionInput) Validate() error { return nil } -// SetBatchPredictionDataSourceId sets the BatchPredictionDataSourceId field's value. -func (s *CreateBatchPredictionInput) SetBatchPredictionDataSourceId(v string) *CreateBatchPredictionInput { - s.BatchPredictionDataSourceId = &v - return s -} - -// SetBatchPredictionId sets the BatchPredictionId field's value. -func (s *CreateBatchPredictionInput) SetBatchPredictionId(v string) *CreateBatchPredictionInput { - s.BatchPredictionId = &v - return s -} - -// SetBatchPredictionName sets the BatchPredictionName field's value. -func (s *CreateBatchPredictionInput) SetBatchPredictionName(v string) *CreateBatchPredictionInput { - s.BatchPredictionName = &v - return s -} - -// SetMLModelId sets the MLModelId field's value. -func (s *CreateBatchPredictionInput) SetMLModelId(v string) *CreateBatchPredictionInput { - s.MLModelId = &v - return s -} - -// SetOutputUri sets the OutputUri field's value. -func (s *CreateBatchPredictionInput) SetOutputUri(v string) *CreateBatchPredictionInput { - s.OutputUri = &v - return s -} - // Represents the output of a CreateBatchPrediction operation, and is an acknowledgement // that Amazon ML received the request. // @@ -2160,12 +2004,6 @@ func (s CreateBatchPredictionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBatchPredictionId sets the BatchPredictionId field's value. -func (s *CreateBatchPredictionOutput) SetBatchPredictionId(v string) *CreateBatchPredictionOutput { - s.BatchPredictionId = &v - return s -} - type CreateDataSourceFromRDSInput struct { _ struct{} `type:"structure"` @@ -2240,36 +2078,6 @@ func (s *CreateDataSourceFromRDSInput) Validate() error { return nil } -// SetComputeStatistics sets the ComputeStatistics field's value. -func (s *CreateDataSourceFromRDSInput) SetComputeStatistics(v bool) *CreateDataSourceFromRDSInput { - s.ComputeStatistics = &v - return s -} - -// SetDataSourceId sets the DataSourceId field's value. -func (s *CreateDataSourceFromRDSInput) SetDataSourceId(v string) *CreateDataSourceFromRDSInput { - s.DataSourceId = &v - return s -} - -// SetDataSourceName sets the DataSourceName field's value. -func (s *CreateDataSourceFromRDSInput) SetDataSourceName(v string) *CreateDataSourceFromRDSInput { - s.DataSourceName = &v - return s -} - -// SetRDSData sets the RDSData field's value. -func (s *CreateDataSourceFromRDSInput) SetRDSData(v *RDSDataSpec) *CreateDataSourceFromRDSInput { - s.RDSData = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *CreateDataSourceFromRDSInput) SetRoleARN(v string) *CreateDataSourceFromRDSInput { - s.RoleARN = &v - return s -} - // Represents the output of a CreateDataSourceFromRDS operation, and is an acknowledgement // that Amazon ML received the request. // @@ -2304,12 +2112,6 @@ func (s CreateDataSourceFromRDSOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDataSourceId sets the DataSourceId field's value. -func (s *CreateDataSourceFromRDSOutput) SetDataSourceId(v string) *CreateDataSourceFromRDSOutput { - s.DataSourceId = &v - return s -} - type CreateDataSourceFromRedshiftInput struct { _ struct{} `type:"structure"` @@ -2412,36 +2214,6 @@ func (s *CreateDataSourceFromRedshiftInput) Validate() error { return nil } -// SetComputeStatistics sets the ComputeStatistics field's value. -func (s *CreateDataSourceFromRedshiftInput) SetComputeStatistics(v bool) *CreateDataSourceFromRedshiftInput { - s.ComputeStatistics = &v - return s -} - -// SetDataSourceId sets the DataSourceId field's value. -func (s *CreateDataSourceFromRedshiftInput) SetDataSourceId(v string) *CreateDataSourceFromRedshiftInput { - s.DataSourceId = &v - return s -} - -// SetDataSourceName sets the DataSourceName field's value. -func (s *CreateDataSourceFromRedshiftInput) SetDataSourceName(v string) *CreateDataSourceFromRedshiftInput { - s.DataSourceName = &v - return s -} - -// SetDataSpec sets the DataSpec field's value. -func (s *CreateDataSourceFromRedshiftInput) SetDataSpec(v *RedshiftDataSpec) *CreateDataSourceFromRedshiftInput { - s.DataSpec = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *CreateDataSourceFromRedshiftInput) SetRoleARN(v string) *CreateDataSourceFromRedshiftInput { - s.RoleARN = &v - return s -} - // Represents the output of a CreateDataSourceFromRedshift operation, and is // an acknowledgement that Amazon ML received the request. // @@ -2473,12 +2245,6 @@ func (s CreateDataSourceFromRedshiftOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDataSourceId sets the DataSourceId field's value. -func (s *CreateDataSourceFromRedshiftOutput) SetDataSourceId(v string) *CreateDataSourceFromRedshiftOutput { - s.DataSourceId = &v - return s -} - type CreateDataSourceFromS3Input struct { _ struct{} `type:"structure"` @@ -2550,30 +2316,6 @@ func (s *CreateDataSourceFromS3Input) Validate() error { return nil } -// SetComputeStatistics sets the ComputeStatistics field's value. -func (s *CreateDataSourceFromS3Input) SetComputeStatistics(v bool) *CreateDataSourceFromS3Input { - s.ComputeStatistics = &v - return s -} - -// SetDataSourceId sets the DataSourceId field's value. -func (s *CreateDataSourceFromS3Input) SetDataSourceId(v string) *CreateDataSourceFromS3Input { - s.DataSourceId = &v - return s -} - -// SetDataSourceName sets the DataSourceName field's value. -func (s *CreateDataSourceFromS3Input) SetDataSourceName(v string) *CreateDataSourceFromS3Input { - s.DataSourceName = &v - return s -} - -// SetDataSpec sets the DataSpec field's value. -func (s *CreateDataSourceFromS3Input) SetDataSpec(v *S3DataSpec) *CreateDataSourceFromS3Input { - s.DataSpec = v - return s -} - // Represents the output of a CreateDataSourceFromS3 operation, and is an acknowledgement // that Amazon ML received the request. // @@ -2604,12 +2346,6 @@ func (s CreateDataSourceFromS3Output) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDataSourceId sets the DataSourceId field's value. -func (s *CreateDataSourceFromS3Output) SetDataSourceId(v string) *CreateDataSourceFromS3Output { - s.DataSourceId = &v - return s -} - type CreateEvaluationInput struct { _ struct{} `type:"structure"` @@ -2677,30 +2413,6 @@ func (s *CreateEvaluationInput) Validate() error { return nil } -// SetEvaluationDataSourceId sets the EvaluationDataSourceId field's value. -func (s *CreateEvaluationInput) SetEvaluationDataSourceId(v string) *CreateEvaluationInput { - s.EvaluationDataSourceId = &v - return s -} - -// SetEvaluationId sets the EvaluationId field's value. -func (s *CreateEvaluationInput) SetEvaluationId(v string) *CreateEvaluationInput { - s.EvaluationId = &v - return s -} - -// SetEvaluationName sets the EvaluationName field's value. -func (s *CreateEvaluationInput) SetEvaluationName(v string) *CreateEvaluationInput { - s.EvaluationName = &v - return s -} - -// SetMLModelId sets the MLModelId field's value. -func (s *CreateEvaluationInput) SetMLModelId(v string) *CreateEvaluationInput { - s.MLModelId = &v - return s -} - // Represents the output of a CreateEvaluation operation, and is an acknowledgement // that Amazon ML received the request. // @@ -2731,12 +2443,6 @@ func (s CreateEvaluationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEvaluationId sets the EvaluationId field's value. -func (s *CreateEvaluationOutput) SetEvaluationId(v string) *CreateEvaluationOutput { - s.EvaluationId = &v - return s -} - type CreateMLModelInput struct { _ struct{} `type:"structure"` @@ -2854,48 +2560,6 @@ func (s *CreateMLModelInput) Validate() error { return nil } -// SetMLModelId sets the MLModelId field's value. -func (s *CreateMLModelInput) SetMLModelId(v string) *CreateMLModelInput { - s.MLModelId = &v - return s -} - -// SetMLModelName sets the MLModelName field's value. -func (s *CreateMLModelInput) SetMLModelName(v string) *CreateMLModelInput { - s.MLModelName = &v - return s -} - -// SetMLModelType sets the MLModelType field's value. -func (s *CreateMLModelInput) SetMLModelType(v MLModelType) *CreateMLModelInput { - s.MLModelType = v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *CreateMLModelInput) SetParameters(v map[string]string) *CreateMLModelInput { - s.Parameters = v - return s -} - -// SetRecipe sets the Recipe field's value. -func (s *CreateMLModelInput) SetRecipe(v string) *CreateMLModelInput { - s.Recipe = &v - return s -} - -// SetRecipeUri sets the RecipeUri field's value. -func (s *CreateMLModelInput) SetRecipeUri(v string) *CreateMLModelInput { - s.RecipeUri = &v - return s -} - -// SetTrainingDataSourceId sets the TrainingDataSourceId field's value. -func (s *CreateMLModelInput) SetTrainingDataSourceId(v string) *CreateMLModelInput { - s.TrainingDataSourceId = &v - return s -} - // Represents the output of a CreateMLModel operation, and is an acknowledgement // that Amazon ML received the request. // @@ -2926,12 +2590,6 @@ func (s CreateMLModelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMLModelId sets the MLModelId field's value. -func (s *CreateMLModelOutput) SetMLModelId(v string) *CreateMLModelOutput { - s.MLModelId = &v - return s -} - type CreateRealtimeEndpointInput struct { _ struct{} `type:"structure"` @@ -2968,12 +2626,6 @@ func (s *CreateRealtimeEndpointInput) Validate() error { return nil } -// SetMLModelId sets the MLModelId field's value. -func (s *CreateRealtimeEndpointInput) SetMLModelId(v string) *CreateRealtimeEndpointInput { - s.MLModelId = &v - return s -} - // Represents the output of an CreateRealtimeEndpoint operation. // // The result contains the MLModelId and the endpoint information for the MLModel. @@ -3008,18 +2660,6 @@ func (s CreateRealtimeEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMLModelId sets the MLModelId field's value. -func (s *CreateRealtimeEndpointOutput) SetMLModelId(v string) *CreateRealtimeEndpointOutput { - s.MLModelId = &v - return s -} - -// SetRealtimeEndpointInfo sets the RealtimeEndpointInfo field's value. -func (s *CreateRealtimeEndpointOutput) SetRealtimeEndpointInfo(v *RealtimeEndpointInfo) *CreateRealtimeEndpointOutput { - s.RealtimeEndpointInfo = v - return s -} - // Represents the output of the GetDataSource operation. // // The content consists of the detailed metadata and data file information and @@ -3110,114 +2750,6 @@ func (s DataSource) GoString() string { return s.String() } -// SetComputeStatistics sets the ComputeStatistics field's value. -func (s *DataSource) SetComputeStatistics(v bool) *DataSource { - s.ComputeStatistics = &v - return s -} - -// SetComputeTime sets the ComputeTime field's value. -func (s *DataSource) SetComputeTime(v int64) *DataSource { - s.ComputeTime = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *DataSource) SetCreatedAt(v time.Time) *DataSource { - s.CreatedAt = &v - return s -} - -// SetCreatedByIamUser sets the CreatedByIamUser field's value. -func (s *DataSource) SetCreatedByIamUser(v string) *DataSource { - s.CreatedByIamUser = &v - return s -} - -// SetDataLocationS3 sets the DataLocationS3 field's value. -func (s *DataSource) SetDataLocationS3(v string) *DataSource { - s.DataLocationS3 = &v - return s -} - -// SetDataRearrangement sets the DataRearrangement field's value. -func (s *DataSource) SetDataRearrangement(v string) *DataSource { - s.DataRearrangement = &v - return s -} - -// SetDataSizeInBytes sets the DataSizeInBytes field's value. -func (s *DataSource) SetDataSizeInBytes(v int64) *DataSource { - s.DataSizeInBytes = &v - return s -} - -// SetDataSourceId sets the DataSourceId field's value. -func (s *DataSource) SetDataSourceId(v string) *DataSource { - s.DataSourceId = &v - return s -} - -// SetFinishedAt sets the FinishedAt field's value. -func (s *DataSource) SetFinishedAt(v time.Time) *DataSource { - s.FinishedAt = &v - return s -} - -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *DataSource) SetLastUpdatedAt(v time.Time) *DataSource { - s.LastUpdatedAt = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *DataSource) SetMessage(v string) *DataSource { - s.Message = &v - return s -} - -// SetName sets the Name field's value. -func (s *DataSource) SetName(v string) *DataSource { - s.Name = &v - return s -} - -// SetNumberOfFiles sets the NumberOfFiles field's value. -func (s *DataSource) SetNumberOfFiles(v int64) *DataSource { - s.NumberOfFiles = &v - return s -} - -// SetRDSMetadata sets the RDSMetadata field's value. -func (s *DataSource) SetRDSMetadata(v *RDSMetadata) *DataSource { - s.RDSMetadata = v - return s -} - -// SetRedshiftMetadata sets the RedshiftMetadata field's value. -func (s *DataSource) SetRedshiftMetadata(v *RedshiftMetadata) *DataSource { - s.RedshiftMetadata = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *DataSource) SetRoleARN(v string) *DataSource { - s.RoleARN = &v - return s -} - -// SetStartedAt sets the StartedAt field's value. -func (s *DataSource) SetStartedAt(v time.Time) *DataSource { - s.StartedAt = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DataSource) SetStatus(v EntityStatus) *DataSource { - s.Status = v - return s -} - type DeleteBatchPredictionInput struct { _ struct{} `type:"structure"` @@ -3254,12 +2786,6 @@ func (s *DeleteBatchPredictionInput) Validate() error { return nil } -// SetBatchPredictionId sets the BatchPredictionId field's value. -func (s *DeleteBatchPredictionInput) SetBatchPredictionId(v string) *DeleteBatchPredictionInput { - s.BatchPredictionId = &v - return s -} - // Represents the output of a DeleteBatchPrediction operation. // // You can use the GetBatchPrediction operation and check the value of the Status @@ -3289,12 +2815,6 @@ func (s DeleteBatchPredictionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBatchPredictionId sets the BatchPredictionId field's value. -func (s *DeleteBatchPredictionOutput) SetBatchPredictionId(v string) *DeleteBatchPredictionOutput { - s.BatchPredictionId = &v - return s -} - type DeleteDataSourceInput struct { _ struct{} `type:"structure"` @@ -3331,12 +2851,6 @@ func (s *DeleteDataSourceInput) Validate() error { return nil } -// SetDataSourceId sets the DataSourceId field's value. -func (s *DeleteDataSourceInput) SetDataSourceId(v string) *DeleteDataSourceInput { - s.DataSourceId = &v - return s -} - // Represents the output of a DeleteDataSource operation. type DeleteDataSourceOutput struct { _ struct{} `type:"structure"` @@ -3363,12 +2877,6 @@ func (s DeleteDataSourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDataSourceId sets the DataSourceId field's value. -func (s *DeleteDataSourceOutput) SetDataSourceId(v string) *DeleteDataSourceOutput { - s.DataSourceId = &v - return s -} - type DeleteEvaluationInput struct { _ struct{} `type:"structure"` @@ -3405,12 +2913,6 @@ func (s *DeleteEvaluationInput) Validate() error { return nil } -// SetEvaluationId sets the EvaluationId field's value. -func (s *DeleteEvaluationInput) SetEvaluationId(v string) *DeleteEvaluationInput { - s.EvaluationId = &v - return s -} - // Represents the output of a DeleteEvaluation operation. The output indicates // that Amazon Machine Learning (Amazon ML) received the request. // @@ -3441,12 +2943,6 @@ func (s DeleteEvaluationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEvaluationId sets the EvaluationId field's value. -func (s *DeleteEvaluationOutput) SetEvaluationId(v string) *DeleteEvaluationOutput { - s.EvaluationId = &v - return s -} - type DeleteMLModelInput struct { _ struct{} `type:"structure"` @@ -3483,12 +2979,6 @@ func (s *DeleteMLModelInput) Validate() error { return nil } -// SetMLModelId sets the MLModelId field's value. -func (s *DeleteMLModelInput) SetMLModelId(v string) *DeleteMLModelInput { - s.MLModelId = &v - return s -} - // Represents the output of a DeleteMLModel operation. // // You can use the GetMLModel operation and check the value of the Status parameter @@ -3518,12 +3008,6 @@ func (s DeleteMLModelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMLModelId sets the MLModelId field's value. -func (s *DeleteMLModelOutput) SetMLModelId(v string) *DeleteMLModelOutput { - s.MLModelId = &v - return s -} - type DeleteRealtimeEndpointInput struct { _ struct{} `type:"structure"` @@ -3560,12 +3044,6 @@ func (s *DeleteRealtimeEndpointInput) Validate() error { return nil } -// SetMLModelId sets the MLModelId field's value. -func (s *DeleteRealtimeEndpointInput) SetMLModelId(v string) *DeleteRealtimeEndpointInput { - s.MLModelId = &v - return s -} - // Represents the output of an DeleteRealtimeEndpoint operation. // // The result contains the MLModelId and the endpoint information for the MLModel. @@ -3597,18 +3075,6 @@ func (s DeleteRealtimeEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMLModelId sets the MLModelId field's value. -func (s *DeleteRealtimeEndpointOutput) SetMLModelId(v string) *DeleteRealtimeEndpointOutput { - s.MLModelId = &v - return s -} - -// SetRealtimeEndpointInfo sets the RealtimeEndpointInfo field's value. -func (s *DeleteRealtimeEndpointOutput) SetRealtimeEndpointInfo(v *RealtimeEndpointInfo) *DeleteRealtimeEndpointOutput { - s.RealtimeEndpointInfo = v - return s -} - type DeleteTagsInput struct { _ struct{} `type:"structure"` @@ -3662,24 +3128,6 @@ func (s *DeleteTagsInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *DeleteTagsInput) SetResourceId(v string) *DeleteTagsInput { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *DeleteTagsInput) SetResourceType(v TaggableResourceType) *DeleteTagsInput { - s.ResourceType = v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *DeleteTagsInput) SetTagKeys(v []string) *DeleteTagsInput { - s.TagKeys = v - return s -} - // Amazon ML returns the following elements. type DeleteTagsOutput struct { _ struct{} `type:"structure"` @@ -3708,18 +3156,6 @@ func (s DeleteTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResourceId sets the ResourceId field's value. -func (s *DeleteTagsOutput) SetResourceId(v string) *DeleteTagsOutput { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *DeleteTagsOutput) SetResourceType(v TaggableResourceType) *DeleteTagsOutput { - s.ResourceType = v - return s -} - type DescribeBatchPredictionsInput struct { _ struct{} `type:"structure"` @@ -3819,72 +3255,6 @@ func (s *DescribeBatchPredictionsInput) Validate() error { return nil } -// SetEQ sets the EQ field's value. -func (s *DescribeBatchPredictionsInput) SetEQ(v string) *DescribeBatchPredictionsInput { - s.EQ = &v - return s -} - -// SetFilterVariable sets the FilterVariable field's value. -func (s *DescribeBatchPredictionsInput) SetFilterVariable(v BatchPredictionFilterVariable) *DescribeBatchPredictionsInput { - s.FilterVariable = v - return s -} - -// SetGE sets the GE field's value. -func (s *DescribeBatchPredictionsInput) SetGE(v string) *DescribeBatchPredictionsInput { - s.GE = &v - return s -} - -// SetGT sets the GT field's value. -func (s *DescribeBatchPredictionsInput) SetGT(v string) *DescribeBatchPredictionsInput { - s.GT = &v - return s -} - -// SetLE sets the LE field's value. -func (s *DescribeBatchPredictionsInput) SetLE(v string) *DescribeBatchPredictionsInput { - s.LE = &v - return s -} - -// SetLT sets the LT field's value. -func (s *DescribeBatchPredictionsInput) SetLT(v string) *DescribeBatchPredictionsInput { - s.LT = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeBatchPredictionsInput) SetLimit(v int64) *DescribeBatchPredictionsInput { - s.Limit = &v - return s -} - -// SetNE sets the NE field's value. -func (s *DescribeBatchPredictionsInput) SetNE(v string) *DescribeBatchPredictionsInput { - s.NE = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeBatchPredictionsInput) SetNextToken(v string) *DescribeBatchPredictionsInput { - s.NextToken = &v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *DescribeBatchPredictionsInput) SetPrefix(v string) *DescribeBatchPredictionsInput { - s.Prefix = &v - return s -} - -// SetSortOrder sets the SortOrder field's value. -func (s *DescribeBatchPredictionsInput) SetSortOrder(v SortOrder) *DescribeBatchPredictionsInput { - s.SortOrder = v - return s -} - // Represents the output of a DescribeBatchPredictions operation. The content // is essentially a list of BatchPredictions. type DescribeBatchPredictionsOutput struct { @@ -3915,18 +3285,6 @@ func (s DescribeBatchPredictionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeBatchPredictionsOutput) SetNextToken(v string) *DescribeBatchPredictionsOutput { - s.NextToken = &v - return s -} - -// SetResults sets the Results field's value. -func (s *DescribeBatchPredictionsOutput) SetResults(v []BatchPrediction) *DescribeBatchPredictionsOutput { - s.Results = v - return s -} - type DescribeDataSourcesInput struct { _ struct{} `type:"structure"` @@ -4017,72 +3375,6 @@ func (s *DescribeDataSourcesInput) Validate() error { return nil } -// SetEQ sets the EQ field's value. -func (s *DescribeDataSourcesInput) SetEQ(v string) *DescribeDataSourcesInput { - s.EQ = &v - return s -} - -// SetFilterVariable sets the FilterVariable field's value. -func (s *DescribeDataSourcesInput) SetFilterVariable(v DataSourceFilterVariable) *DescribeDataSourcesInput { - s.FilterVariable = v - return s -} - -// SetGE sets the GE field's value. -func (s *DescribeDataSourcesInput) SetGE(v string) *DescribeDataSourcesInput { - s.GE = &v - return s -} - -// SetGT sets the GT field's value. -func (s *DescribeDataSourcesInput) SetGT(v string) *DescribeDataSourcesInput { - s.GT = &v - return s -} - -// SetLE sets the LE field's value. -func (s *DescribeDataSourcesInput) SetLE(v string) *DescribeDataSourcesInput { - s.LE = &v - return s -} - -// SetLT sets the LT field's value. -func (s *DescribeDataSourcesInput) SetLT(v string) *DescribeDataSourcesInput { - s.LT = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeDataSourcesInput) SetLimit(v int64) *DescribeDataSourcesInput { - s.Limit = &v - return s -} - -// SetNE sets the NE field's value. -func (s *DescribeDataSourcesInput) SetNE(v string) *DescribeDataSourcesInput { - s.NE = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeDataSourcesInput) SetNextToken(v string) *DescribeDataSourcesInput { - s.NextToken = &v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *DescribeDataSourcesInput) SetPrefix(v string) *DescribeDataSourcesInput { - s.Prefix = &v - return s -} - -// SetSortOrder sets the SortOrder field's value. -func (s *DescribeDataSourcesInput) SetSortOrder(v SortOrder) *DescribeDataSourcesInput { - s.SortOrder = v - return s -} - // Represents the query results from a DescribeDataSources operation. The content // is essentially a list of DataSource. type DescribeDataSourcesOutput struct { @@ -4113,18 +3405,6 @@ func (s DescribeDataSourcesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeDataSourcesOutput) SetNextToken(v string) *DescribeDataSourcesOutput { - s.NextToken = &v - return s -} - -// SetResults sets the Results field's value. -func (s *DescribeDataSourcesOutput) SetResults(v []DataSource) *DescribeDataSourcesOutput { - s.Results = v - return s -} - type DescribeEvaluationsInput struct { _ struct{} `type:"structure"` @@ -4220,72 +3500,6 @@ func (s *DescribeEvaluationsInput) Validate() error { return nil } -// SetEQ sets the EQ field's value. -func (s *DescribeEvaluationsInput) SetEQ(v string) *DescribeEvaluationsInput { - s.EQ = &v - return s -} - -// SetFilterVariable sets the FilterVariable field's value. -func (s *DescribeEvaluationsInput) SetFilterVariable(v EvaluationFilterVariable) *DescribeEvaluationsInput { - s.FilterVariable = v - return s -} - -// SetGE sets the GE field's value. -func (s *DescribeEvaluationsInput) SetGE(v string) *DescribeEvaluationsInput { - s.GE = &v - return s -} - -// SetGT sets the GT field's value. -func (s *DescribeEvaluationsInput) SetGT(v string) *DescribeEvaluationsInput { - s.GT = &v - return s -} - -// SetLE sets the LE field's value. -func (s *DescribeEvaluationsInput) SetLE(v string) *DescribeEvaluationsInput { - s.LE = &v - return s -} - -// SetLT sets the LT field's value. -func (s *DescribeEvaluationsInput) SetLT(v string) *DescribeEvaluationsInput { - s.LT = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeEvaluationsInput) SetLimit(v int64) *DescribeEvaluationsInput { - s.Limit = &v - return s -} - -// SetNE sets the NE field's value. -func (s *DescribeEvaluationsInput) SetNE(v string) *DescribeEvaluationsInput { - s.NE = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEvaluationsInput) SetNextToken(v string) *DescribeEvaluationsInput { - s.NextToken = &v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *DescribeEvaluationsInput) SetPrefix(v string) *DescribeEvaluationsInput { - s.Prefix = &v - return s -} - -// SetSortOrder sets the SortOrder field's value. -func (s *DescribeEvaluationsInput) SetSortOrder(v SortOrder) *DescribeEvaluationsInput { - s.SortOrder = v - return s -} - // Represents the query results from a DescribeEvaluations operation. The content // is essentially a list of Evaluation. type DescribeEvaluationsOutput struct { @@ -4316,18 +3530,6 @@ func (s DescribeEvaluationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeEvaluationsOutput) SetNextToken(v string) *DescribeEvaluationsOutput { - s.NextToken = &v - return s -} - -// SetResults sets the Results field's value. -func (s *DescribeEvaluationsOutput) SetResults(v []Evaluation) *DescribeEvaluationsOutput { - s.Results = v - return s -} - type DescribeMLModelsInput struct { _ struct{} `type:"structure"` @@ -4427,72 +3629,6 @@ func (s *DescribeMLModelsInput) Validate() error { return nil } -// SetEQ sets the EQ field's value. -func (s *DescribeMLModelsInput) SetEQ(v string) *DescribeMLModelsInput { - s.EQ = &v - return s -} - -// SetFilterVariable sets the FilterVariable field's value. -func (s *DescribeMLModelsInput) SetFilterVariable(v MLModelFilterVariable) *DescribeMLModelsInput { - s.FilterVariable = v - return s -} - -// SetGE sets the GE field's value. -func (s *DescribeMLModelsInput) SetGE(v string) *DescribeMLModelsInput { - s.GE = &v - return s -} - -// SetGT sets the GT field's value. -func (s *DescribeMLModelsInput) SetGT(v string) *DescribeMLModelsInput { - s.GT = &v - return s -} - -// SetLE sets the LE field's value. -func (s *DescribeMLModelsInput) SetLE(v string) *DescribeMLModelsInput { - s.LE = &v - return s -} - -// SetLT sets the LT field's value. -func (s *DescribeMLModelsInput) SetLT(v string) *DescribeMLModelsInput { - s.LT = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeMLModelsInput) SetLimit(v int64) *DescribeMLModelsInput { - s.Limit = &v - return s -} - -// SetNE sets the NE field's value. -func (s *DescribeMLModelsInput) SetNE(v string) *DescribeMLModelsInput { - s.NE = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeMLModelsInput) SetNextToken(v string) *DescribeMLModelsInput { - s.NextToken = &v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *DescribeMLModelsInput) SetPrefix(v string) *DescribeMLModelsInput { - s.Prefix = &v - return s -} - -// SetSortOrder sets the SortOrder field's value. -func (s *DescribeMLModelsInput) SetSortOrder(v SortOrder) *DescribeMLModelsInput { - s.SortOrder = v - return s -} - // Represents the output of a DescribeMLModels operation. The content is essentially // a list of MLModel. type DescribeMLModelsOutput struct { @@ -4523,18 +3659,6 @@ func (s DescribeMLModelsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeMLModelsOutput) SetNextToken(v string) *DescribeMLModelsOutput { - s.NextToken = &v - return s -} - -// SetResults sets the Results field's value. -func (s *DescribeMLModelsOutput) SetResults(v []MLModel) *DescribeMLModelsOutput { - s.Results = v - return s -} - type DescribeTagsInput struct { _ struct{} `type:"structure"` @@ -4579,18 +3703,6 @@ func (s *DescribeTagsInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *DescribeTagsInput) SetResourceId(v string) *DescribeTagsInput { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *DescribeTagsInput) SetResourceType(v TaggableResourceType) *DescribeTagsInput { - s.ResourceType = v - return s -} - // Amazon ML returns the following elements. type DescribeTagsOutput struct { _ struct{} `type:"structure"` @@ -4622,24 +3734,6 @@ func (s DescribeTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResourceId sets the ResourceId field's value. -func (s *DescribeTagsOutput) SetResourceId(v string) *DescribeTagsOutput { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *DescribeTagsOutput) SetResourceType(v TaggableResourceType) *DescribeTagsOutput { - s.ResourceType = v - return s -} - -// SetTags sets the Tags field's value. -func (s *DescribeTagsOutput) SetTags(v []Tag) *DescribeTagsOutput { - s.Tags = v - return s -} - // Represents the output of GetEvaluation operation. // // The content consists of the detailed metadata and data file information and @@ -4729,90 +3823,6 @@ func (s Evaluation) GoString() string { return s.String() } -// SetComputeTime sets the ComputeTime field's value. -func (s *Evaluation) SetComputeTime(v int64) *Evaluation { - s.ComputeTime = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Evaluation) SetCreatedAt(v time.Time) *Evaluation { - s.CreatedAt = &v - return s -} - -// SetCreatedByIamUser sets the CreatedByIamUser field's value. -func (s *Evaluation) SetCreatedByIamUser(v string) *Evaluation { - s.CreatedByIamUser = &v - return s -} - -// SetEvaluationDataSourceId sets the EvaluationDataSourceId field's value. -func (s *Evaluation) SetEvaluationDataSourceId(v string) *Evaluation { - s.EvaluationDataSourceId = &v - return s -} - -// SetEvaluationId sets the EvaluationId field's value. -func (s *Evaluation) SetEvaluationId(v string) *Evaluation { - s.EvaluationId = &v - return s -} - -// SetFinishedAt sets the FinishedAt field's value. -func (s *Evaluation) SetFinishedAt(v time.Time) *Evaluation { - s.FinishedAt = &v - return s -} - -// SetInputDataLocationS3 sets the InputDataLocationS3 field's value. -func (s *Evaluation) SetInputDataLocationS3(v string) *Evaluation { - s.InputDataLocationS3 = &v - return s -} - -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *Evaluation) SetLastUpdatedAt(v time.Time) *Evaluation { - s.LastUpdatedAt = &v - return s -} - -// SetMLModelId sets the MLModelId field's value. -func (s *Evaluation) SetMLModelId(v string) *Evaluation { - s.MLModelId = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *Evaluation) SetMessage(v string) *Evaluation { - s.Message = &v - return s -} - -// SetName sets the Name field's value. -func (s *Evaluation) SetName(v string) *Evaluation { - s.Name = &v - return s -} - -// SetPerformanceMetrics sets the PerformanceMetrics field's value. -func (s *Evaluation) SetPerformanceMetrics(v *PerformanceMetrics) *Evaluation { - s.PerformanceMetrics = v - return s -} - -// SetStartedAt sets the StartedAt field's value. -func (s *Evaluation) SetStartedAt(v time.Time) *Evaluation { - s.StartedAt = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Evaluation) SetStatus(v EntityStatus) *Evaluation { - s.Status = v - return s -} - type GetBatchPredictionInput struct { _ struct{} `type:"structure"` @@ -4849,12 +3859,6 @@ func (s *GetBatchPredictionInput) Validate() error { return nil } -// SetBatchPredictionId sets the BatchPredictionId field's value. -func (s *GetBatchPredictionInput) SetBatchPredictionId(v string) *GetBatchPredictionInput { - s.BatchPredictionId = &v - return s -} - // Represents the output of a GetBatchPrediction operation and describes a BatchPrediction. type GetBatchPredictionOutput struct { _ struct{} `type:"structure"` @@ -4954,108 +3958,6 @@ func (s GetBatchPredictionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBatchPredictionDataSourceId sets the BatchPredictionDataSourceId field's value. -func (s *GetBatchPredictionOutput) SetBatchPredictionDataSourceId(v string) *GetBatchPredictionOutput { - s.BatchPredictionDataSourceId = &v - return s -} - -// SetBatchPredictionId sets the BatchPredictionId field's value. -func (s *GetBatchPredictionOutput) SetBatchPredictionId(v string) *GetBatchPredictionOutput { - s.BatchPredictionId = &v - return s -} - -// SetComputeTime sets the ComputeTime field's value. -func (s *GetBatchPredictionOutput) SetComputeTime(v int64) *GetBatchPredictionOutput { - s.ComputeTime = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *GetBatchPredictionOutput) SetCreatedAt(v time.Time) *GetBatchPredictionOutput { - s.CreatedAt = &v - return s -} - -// SetCreatedByIamUser sets the CreatedByIamUser field's value. -func (s *GetBatchPredictionOutput) SetCreatedByIamUser(v string) *GetBatchPredictionOutput { - s.CreatedByIamUser = &v - return s -} - -// SetFinishedAt sets the FinishedAt field's value. -func (s *GetBatchPredictionOutput) SetFinishedAt(v time.Time) *GetBatchPredictionOutput { - s.FinishedAt = &v - return s -} - -// SetInputDataLocationS3 sets the InputDataLocationS3 field's value. -func (s *GetBatchPredictionOutput) SetInputDataLocationS3(v string) *GetBatchPredictionOutput { - s.InputDataLocationS3 = &v - return s -} - -// SetInvalidRecordCount sets the InvalidRecordCount field's value. -func (s *GetBatchPredictionOutput) SetInvalidRecordCount(v int64) *GetBatchPredictionOutput { - s.InvalidRecordCount = &v - return s -} - -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *GetBatchPredictionOutput) SetLastUpdatedAt(v time.Time) *GetBatchPredictionOutput { - s.LastUpdatedAt = &v - return s -} - -// SetLogUri sets the LogUri field's value. -func (s *GetBatchPredictionOutput) SetLogUri(v string) *GetBatchPredictionOutput { - s.LogUri = &v - return s -} - -// SetMLModelId sets the MLModelId field's value. -func (s *GetBatchPredictionOutput) SetMLModelId(v string) *GetBatchPredictionOutput { - s.MLModelId = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *GetBatchPredictionOutput) SetMessage(v string) *GetBatchPredictionOutput { - s.Message = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetBatchPredictionOutput) SetName(v string) *GetBatchPredictionOutput { - s.Name = &v - return s -} - -// SetOutputUri sets the OutputUri field's value. -func (s *GetBatchPredictionOutput) SetOutputUri(v string) *GetBatchPredictionOutput { - s.OutputUri = &v - return s -} - -// SetStartedAt sets the StartedAt field's value. -func (s *GetBatchPredictionOutput) SetStartedAt(v time.Time) *GetBatchPredictionOutput { - s.StartedAt = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetBatchPredictionOutput) SetStatus(v EntityStatus) *GetBatchPredictionOutput { - s.Status = v - return s -} - -// SetTotalRecordCount sets the TotalRecordCount field's value. -func (s *GetBatchPredictionOutput) SetTotalRecordCount(v int64) *GetBatchPredictionOutput { - s.TotalRecordCount = &v - return s -} - type GetDataSourceInput struct { _ struct{} `type:"structure"` @@ -5099,18 +4001,6 @@ func (s *GetDataSourceInput) Validate() error { return nil } -// SetDataSourceId sets the DataSourceId field's value. -func (s *GetDataSourceInput) SetDataSourceId(v string) *GetDataSourceInput { - s.DataSourceId = &v - return s -} - -// SetVerbose sets the Verbose field's value. -func (s *GetDataSourceInput) SetVerbose(v bool) *GetDataSourceInput { - s.Verbose = &v - return s -} - // Represents the output of a GetDataSource operation and describes a DataSource. type GetDataSourceOutput struct { _ struct{} `type:"structure"` @@ -5209,134 +4099,14 @@ func (s GetDataSourceOutput) String() string { return awsutil.Prettify(s) } -// GoString returns the string representation -func (s GetDataSourceOutput) GoString() string { - return s.String() -} - -// SDKResponseMetdata return sthe response metadata for the API. -func (s GetDataSourceOutput) SDKResponseMetadata() aws.Response { - return s.responseMetadata -} - -// SetComputeStatistics sets the ComputeStatistics field's value. -func (s *GetDataSourceOutput) SetComputeStatistics(v bool) *GetDataSourceOutput { - s.ComputeStatistics = &v - return s -} - -// SetComputeTime sets the ComputeTime field's value. -func (s *GetDataSourceOutput) SetComputeTime(v int64) *GetDataSourceOutput { - s.ComputeTime = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *GetDataSourceOutput) SetCreatedAt(v time.Time) *GetDataSourceOutput { - s.CreatedAt = &v - return s -} - -// SetCreatedByIamUser sets the CreatedByIamUser field's value. -func (s *GetDataSourceOutput) SetCreatedByIamUser(v string) *GetDataSourceOutput { - s.CreatedByIamUser = &v - return s -} - -// SetDataLocationS3 sets the DataLocationS3 field's value. -func (s *GetDataSourceOutput) SetDataLocationS3(v string) *GetDataSourceOutput { - s.DataLocationS3 = &v - return s -} - -// SetDataRearrangement sets the DataRearrangement field's value. -func (s *GetDataSourceOutput) SetDataRearrangement(v string) *GetDataSourceOutput { - s.DataRearrangement = &v - return s -} - -// SetDataSizeInBytes sets the DataSizeInBytes field's value. -func (s *GetDataSourceOutput) SetDataSizeInBytes(v int64) *GetDataSourceOutput { - s.DataSizeInBytes = &v - return s -} - -// SetDataSourceId sets the DataSourceId field's value. -func (s *GetDataSourceOutput) SetDataSourceId(v string) *GetDataSourceOutput { - s.DataSourceId = &v - return s -} - -// SetDataSourceSchema sets the DataSourceSchema field's value. -func (s *GetDataSourceOutput) SetDataSourceSchema(v string) *GetDataSourceOutput { - s.DataSourceSchema = &v - return s -} - -// SetFinishedAt sets the FinishedAt field's value. -func (s *GetDataSourceOutput) SetFinishedAt(v time.Time) *GetDataSourceOutput { - s.FinishedAt = &v - return s -} - -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *GetDataSourceOutput) SetLastUpdatedAt(v time.Time) *GetDataSourceOutput { - s.LastUpdatedAt = &v - return s -} - -// SetLogUri sets the LogUri field's value. -func (s *GetDataSourceOutput) SetLogUri(v string) *GetDataSourceOutput { - s.LogUri = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *GetDataSourceOutput) SetMessage(v string) *GetDataSourceOutput { - s.Message = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetDataSourceOutput) SetName(v string) *GetDataSourceOutput { - s.Name = &v - return s -} - -// SetNumberOfFiles sets the NumberOfFiles field's value. -func (s *GetDataSourceOutput) SetNumberOfFiles(v int64) *GetDataSourceOutput { - s.NumberOfFiles = &v - return s -} - -// SetRDSMetadata sets the RDSMetadata field's value. -func (s *GetDataSourceOutput) SetRDSMetadata(v *RDSMetadata) *GetDataSourceOutput { - s.RDSMetadata = v - return s -} - -// SetRedshiftMetadata sets the RedshiftMetadata field's value. -func (s *GetDataSourceOutput) SetRedshiftMetadata(v *RedshiftMetadata) *GetDataSourceOutput { - s.RedshiftMetadata = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *GetDataSourceOutput) SetRoleARN(v string) *GetDataSourceOutput { - s.RoleARN = &v - return s -} - -// SetStartedAt sets the StartedAt field's value. -func (s *GetDataSourceOutput) SetStartedAt(v time.Time) *GetDataSourceOutput { - s.StartedAt = &v - return s +// GoString returns the string representation +func (s GetDataSourceOutput) GoString() string { + return s.String() } -// SetStatus sets the Status field's value. -func (s *GetDataSourceOutput) SetStatus(v EntityStatus) *GetDataSourceOutput { - s.Status = v - return s +// SDKResponseMetdata return sthe response metadata for the API. +func (s GetDataSourceOutput) SDKResponseMetadata() aws.Response { + return s.responseMetadata } type GetEvaluationInput struct { @@ -5376,12 +4146,6 @@ func (s *GetEvaluationInput) Validate() error { return nil } -// SetEvaluationId sets the EvaluationId field's value. -func (s *GetEvaluationInput) SetEvaluationId(v string) *GetEvaluationInput { - s.EvaluationId = &v - return s -} - // Represents the output of a GetEvaluation operation and describes an Evaluation. type GetEvaluationOutput struct { _ struct{} `type:"structure"` @@ -5483,96 +4247,6 @@ func (s GetEvaluationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetComputeTime sets the ComputeTime field's value. -func (s *GetEvaluationOutput) SetComputeTime(v int64) *GetEvaluationOutput { - s.ComputeTime = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *GetEvaluationOutput) SetCreatedAt(v time.Time) *GetEvaluationOutput { - s.CreatedAt = &v - return s -} - -// SetCreatedByIamUser sets the CreatedByIamUser field's value. -func (s *GetEvaluationOutput) SetCreatedByIamUser(v string) *GetEvaluationOutput { - s.CreatedByIamUser = &v - return s -} - -// SetEvaluationDataSourceId sets the EvaluationDataSourceId field's value. -func (s *GetEvaluationOutput) SetEvaluationDataSourceId(v string) *GetEvaluationOutput { - s.EvaluationDataSourceId = &v - return s -} - -// SetEvaluationId sets the EvaluationId field's value. -func (s *GetEvaluationOutput) SetEvaluationId(v string) *GetEvaluationOutput { - s.EvaluationId = &v - return s -} - -// SetFinishedAt sets the FinishedAt field's value. -func (s *GetEvaluationOutput) SetFinishedAt(v time.Time) *GetEvaluationOutput { - s.FinishedAt = &v - return s -} - -// SetInputDataLocationS3 sets the InputDataLocationS3 field's value. -func (s *GetEvaluationOutput) SetInputDataLocationS3(v string) *GetEvaluationOutput { - s.InputDataLocationS3 = &v - return s -} - -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *GetEvaluationOutput) SetLastUpdatedAt(v time.Time) *GetEvaluationOutput { - s.LastUpdatedAt = &v - return s -} - -// SetLogUri sets the LogUri field's value. -func (s *GetEvaluationOutput) SetLogUri(v string) *GetEvaluationOutput { - s.LogUri = &v - return s -} - -// SetMLModelId sets the MLModelId field's value. -func (s *GetEvaluationOutput) SetMLModelId(v string) *GetEvaluationOutput { - s.MLModelId = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *GetEvaluationOutput) SetMessage(v string) *GetEvaluationOutput { - s.Message = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetEvaluationOutput) SetName(v string) *GetEvaluationOutput { - s.Name = &v - return s -} - -// SetPerformanceMetrics sets the PerformanceMetrics field's value. -func (s *GetEvaluationOutput) SetPerformanceMetrics(v *PerformanceMetrics) *GetEvaluationOutput { - s.PerformanceMetrics = v - return s -} - -// SetStartedAt sets the StartedAt field's value. -func (s *GetEvaluationOutput) SetStartedAt(v time.Time) *GetEvaluationOutput { - s.StartedAt = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetEvaluationOutput) SetStatus(v EntityStatus) *GetEvaluationOutput { - s.Status = v - return s -} - type GetMLModelInput struct { _ struct{} `type:"structure"` @@ -5616,18 +4290,6 @@ func (s *GetMLModelInput) Validate() error { return nil } -// SetMLModelId sets the MLModelId field's value. -func (s *GetMLModelInput) SetMLModelId(v string) *GetMLModelInput { - s.MLModelId = &v - return s -} - -// SetVerbose sets the Verbose field's value. -func (s *GetMLModelInput) SetVerbose(v bool) *GetMLModelInput { - s.Verbose = &v - return s -} - // Represents the output of a GetMLModel operation, and provides detailed information // about a MLModel. type GetMLModelOutput struct { @@ -5788,132 +4450,6 @@ func (s GetMLModelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetComputeTime sets the ComputeTime field's value. -func (s *GetMLModelOutput) SetComputeTime(v int64) *GetMLModelOutput { - s.ComputeTime = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *GetMLModelOutput) SetCreatedAt(v time.Time) *GetMLModelOutput { - s.CreatedAt = &v - return s -} - -// SetCreatedByIamUser sets the CreatedByIamUser field's value. -func (s *GetMLModelOutput) SetCreatedByIamUser(v string) *GetMLModelOutput { - s.CreatedByIamUser = &v - return s -} - -// SetEndpointInfo sets the EndpointInfo field's value. -func (s *GetMLModelOutput) SetEndpointInfo(v *RealtimeEndpointInfo) *GetMLModelOutput { - s.EndpointInfo = v - return s -} - -// SetFinishedAt sets the FinishedAt field's value. -func (s *GetMLModelOutput) SetFinishedAt(v time.Time) *GetMLModelOutput { - s.FinishedAt = &v - return s -} - -// SetInputDataLocationS3 sets the InputDataLocationS3 field's value. -func (s *GetMLModelOutput) SetInputDataLocationS3(v string) *GetMLModelOutput { - s.InputDataLocationS3 = &v - return s -} - -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *GetMLModelOutput) SetLastUpdatedAt(v time.Time) *GetMLModelOutput { - s.LastUpdatedAt = &v - return s -} - -// SetLogUri sets the LogUri field's value. -func (s *GetMLModelOutput) SetLogUri(v string) *GetMLModelOutput { - s.LogUri = &v - return s -} - -// SetMLModelId sets the MLModelId field's value. -func (s *GetMLModelOutput) SetMLModelId(v string) *GetMLModelOutput { - s.MLModelId = &v - return s -} - -// SetMLModelType sets the MLModelType field's value. -func (s *GetMLModelOutput) SetMLModelType(v MLModelType) *GetMLModelOutput { - s.MLModelType = v - return s -} - -// SetMessage sets the Message field's value. -func (s *GetMLModelOutput) SetMessage(v string) *GetMLModelOutput { - s.Message = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetMLModelOutput) SetName(v string) *GetMLModelOutput { - s.Name = &v - return s -} - -// SetRecipe sets the Recipe field's value. -func (s *GetMLModelOutput) SetRecipe(v string) *GetMLModelOutput { - s.Recipe = &v - return s -} - -// SetSchema sets the Schema field's value. -func (s *GetMLModelOutput) SetSchema(v string) *GetMLModelOutput { - s.Schema = &v - return s -} - -// SetScoreThreshold sets the ScoreThreshold field's value. -func (s *GetMLModelOutput) SetScoreThreshold(v float64) *GetMLModelOutput { - s.ScoreThreshold = &v - return s -} - -// SetScoreThresholdLastUpdatedAt sets the ScoreThresholdLastUpdatedAt field's value. -func (s *GetMLModelOutput) SetScoreThresholdLastUpdatedAt(v time.Time) *GetMLModelOutput { - s.ScoreThresholdLastUpdatedAt = &v - return s -} - -// SetSizeInBytes sets the SizeInBytes field's value. -func (s *GetMLModelOutput) SetSizeInBytes(v int64) *GetMLModelOutput { - s.SizeInBytes = &v - return s -} - -// SetStartedAt sets the StartedAt field's value. -func (s *GetMLModelOutput) SetStartedAt(v time.Time) *GetMLModelOutput { - s.StartedAt = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetMLModelOutput) SetStatus(v EntityStatus) *GetMLModelOutput { - s.Status = v - return s -} - -// SetTrainingDataSourceId sets the TrainingDataSourceId field's value. -func (s *GetMLModelOutput) SetTrainingDataSourceId(v string) *GetMLModelOutput { - s.TrainingDataSourceId = &v - return s -} - -// SetTrainingParameters sets the TrainingParameters field's value. -func (s *GetMLModelOutput) SetTrainingParameters(v map[string]string) *GetMLModelOutput { - s.TrainingParameters = v - return s -} - // Represents the output of a GetMLModel operation. // // The content consists of the detailed metadata and the current status of the @@ -6049,120 +4585,6 @@ func (s MLModel) GoString() string { return s.String() } -// SetAlgorithm sets the Algorithm field's value. -func (s *MLModel) SetAlgorithm(v Algorithm) *MLModel { - s.Algorithm = v - return s -} - -// SetComputeTime sets the ComputeTime field's value. -func (s *MLModel) SetComputeTime(v int64) *MLModel { - s.ComputeTime = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *MLModel) SetCreatedAt(v time.Time) *MLModel { - s.CreatedAt = &v - return s -} - -// SetCreatedByIamUser sets the CreatedByIamUser field's value. -func (s *MLModel) SetCreatedByIamUser(v string) *MLModel { - s.CreatedByIamUser = &v - return s -} - -// SetEndpointInfo sets the EndpointInfo field's value. -func (s *MLModel) SetEndpointInfo(v *RealtimeEndpointInfo) *MLModel { - s.EndpointInfo = v - return s -} - -// SetFinishedAt sets the FinishedAt field's value. -func (s *MLModel) SetFinishedAt(v time.Time) *MLModel { - s.FinishedAt = &v - return s -} - -// SetInputDataLocationS3 sets the InputDataLocationS3 field's value. -func (s *MLModel) SetInputDataLocationS3(v string) *MLModel { - s.InputDataLocationS3 = &v - return s -} - -// SetLastUpdatedAt sets the LastUpdatedAt field's value. -func (s *MLModel) SetLastUpdatedAt(v time.Time) *MLModel { - s.LastUpdatedAt = &v - return s -} - -// SetMLModelId sets the MLModelId field's value. -func (s *MLModel) SetMLModelId(v string) *MLModel { - s.MLModelId = &v - return s -} - -// SetMLModelType sets the MLModelType field's value. -func (s *MLModel) SetMLModelType(v MLModelType) *MLModel { - s.MLModelType = v - return s -} - -// SetMessage sets the Message field's value. -func (s *MLModel) SetMessage(v string) *MLModel { - s.Message = &v - return s -} - -// SetName sets the Name field's value. -func (s *MLModel) SetName(v string) *MLModel { - s.Name = &v - return s -} - -// SetScoreThreshold sets the ScoreThreshold field's value. -func (s *MLModel) SetScoreThreshold(v float64) *MLModel { - s.ScoreThreshold = &v - return s -} - -// SetScoreThresholdLastUpdatedAt sets the ScoreThresholdLastUpdatedAt field's value. -func (s *MLModel) SetScoreThresholdLastUpdatedAt(v time.Time) *MLModel { - s.ScoreThresholdLastUpdatedAt = &v - return s -} - -// SetSizeInBytes sets the SizeInBytes field's value. -func (s *MLModel) SetSizeInBytes(v int64) *MLModel { - s.SizeInBytes = &v - return s -} - -// SetStartedAt sets the StartedAt field's value. -func (s *MLModel) SetStartedAt(v time.Time) *MLModel { - s.StartedAt = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *MLModel) SetStatus(v EntityStatus) *MLModel { - s.Status = v - return s -} - -// SetTrainingDataSourceId sets the TrainingDataSourceId field's value. -func (s *MLModel) SetTrainingDataSourceId(v string) *MLModel { - s.TrainingDataSourceId = &v - return s -} - -// SetTrainingParameters sets the TrainingParameters field's value. -func (s *MLModel) SetTrainingParameters(v map[string]string) *MLModel { - s.TrainingParameters = v - return s -} - // Measurements of how well the MLModel performed on known observations. One // of the following metrics is returned, based on the type of the MLModel: // @@ -6194,12 +4616,6 @@ func (s PerformanceMetrics) GoString() string { return s.String() } -// SetProperties sets the Properties field's value. -func (s *PerformanceMetrics) SetProperties(v map[string]string) *PerformanceMetrics { - s.Properties = v - return s -} - type PredictInput struct { _ struct{} `type:"structure"` @@ -6252,24 +4668,6 @@ func (s *PredictInput) Validate() error { return nil } -// SetMLModelId sets the MLModelId field's value. -func (s *PredictInput) SetMLModelId(v string) *PredictInput { - s.MLModelId = &v - return s -} - -// SetPredictEndpoint sets the PredictEndpoint field's value. -func (s *PredictInput) SetPredictEndpoint(v string) *PredictInput { - s.PredictEndpoint = &v - return s -} - -// SetRecord sets the Record field's value. -func (s *PredictInput) SetRecord(v map[string]string) *PredictInput { - s.Record = v - return s -} - type PredictOutput struct { _ struct{} `type:"structure"` @@ -6305,12 +4703,6 @@ func (s PredictOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPrediction sets the Prediction field's value. -func (s *PredictOutput) SetPrediction(v *Prediction) *PredictOutput { - s.Prediction = v - return s -} - // The output from a Predict operation: // // * Details - Contains the following attributes: DetailsAttributes.PREDICTIVE_MODEL_TYPE @@ -6349,30 +4741,6 @@ func (s Prediction) GoString() string { return s.String() } -// SetDetails sets the Details field's value. -func (s *Prediction) SetDetails(v map[string]string) *Prediction { - s.Details = v - return s -} - -// SetPredictedLabel sets the PredictedLabel field's value. -func (s *Prediction) SetPredictedLabel(v string) *Prediction { - s.PredictedLabel = &v - return s -} - -// SetPredictedScores sets the PredictedScores field's value. -func (s *Prediction) SetPredictedScores(v map[string]float64) *Prediction { - s.PredictedScores = v - return s -} - -// SetPredictedValue sets the PredictedValue field's value. -func (s *Prediction) SetPredictedValue(v float64) *Prediction { - s.PredictedValue = &v - return s -} - // The data specification of an Amazon Relational Database Service (Amazon RDS) // DataSource. type RDSDataSpec struct { @@ -6624,72 +4992,6 @@ func (s *RDSDataSpec) Validate() error { return nil } -// SetDataRearrangement sets the DataRearrangement field's value. -func (s *RDSDataSpec) SetDataRearrangement(v string) *RDSDataSpec { - s.DataRearrangement = &v - return s -} - -// SetDataSchema sets the DataSchema field's value. -func (s *RDSDataSpec) SetDataSchema(v string) *RDSDataSpec { - s.DataSchema = &v - return s -} - -// SetDataSchemaUri sets the DataSchemaUri field's value. -func (s *RDSDataSpec) SetDataSchemaUri(v string) *RDSDataSpec { - s.DataSchemaUri = &v - return s -} - -// SetDatabaseCredentials sets the DatabaseCredentials field's value. -func (s *RDSDataSpec) SetDatabaseCredentials(v *RDSDatabaseCredentials) *RDSDataSpec { - s.DatabaseCredentials = v - return s -} - -// SetDatabaseInformation sets the DatabaseInformation field's value. -func (s *RDSDataSpec) SetDatabaseInformation(v *RDSDatabase) *RDSDataSpec { - s.DatabaseInformation = v - return s -} - -// SetResourceRole sets the ResourceRole field's value. -func (s *RDSDataSpec) SetResourceRole(v string) *RDSDataSpec { - s.ResourceRole = &v - return s -} - -// SetS3StagingLocation sets the S3StagingLocation field's value. -func (s *RDSDataSpec) SetS3StagingLocation(v string) *RDSDataSpec { - s.S3StagingLocation = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *RDSDataSpec) SetSecurityGroupIds(v []string) *RDSDataSpec { - s.SecurityGroupIds = v - return s -} - -// SetSelectSqlQuery sets the SelectSqlQuery field's value. -func (s *RDSDataSpec) SetSelectSqlQuery(v string) *RDSDataSpec { - s.SelectSqlQuery = &v - return s -} - -// SetServiceRole sets the ServiceRole field's value. -func (s *RDSDataSpec) SetServiceRole(v string) *RDSDataSpec { - s.ServiceRole = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *RDSDataSpec) SetSubnetId(v string) *RDSDataSpec { - s.SubnetId = &v - return s -} - // The database details of an Amazon RDS database. type RDSDatabase struct { _ struct{} `type:"structure"` @@ -6739,18 +5041,6 @@ func (s *RDSDatabase) Validate() error { return nil } -// SetDatabaseName sets the DatabaseName field's value. -func (s *RDSDatabase) SetDatabaseName(v string) *RDSDatabase { - s.DatabaseName = &v - return s -} - -// SetInstanceIdentifier sets the InstanceIdentifier field's value. -func (s *RDSDatabase) SetInstanceIdentifier(v string) *RDSDatabase { - s.InstanceIdentifier = &v - return s -} - // The database credentials to connect to a database on an RDS DB instance. type RDSDatabaseCredentials struct { _ struct{} `type:"structure"` @@ -6804,18 +5094,6 @@ func (s *RDSDatabaseCredentials) Validate() error { return nil } -// SetPassword sets the Password field's value. -func (s *RDSDatabaseCredentials) SetPassword(v string) *RDSDatabaseCredentials { - s.Password = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *RDSDatabaseCredentials) SetUsername(v string) *RDSDatabaseCredentials { - s.Username = &v - return s -} - // The datasource details that are specific to Amazon RDS. type RDSMetadata struct { _ struct{} `type:"structure"` @@ -6860,42 +5138,6 @@ func (s RDSMetadata) GoString() string { return s.String() } -// SetDataPipelineId sets the DataPipelineId field's value. -func (s *RDSMetadata) SetDataPipelineId(v string) *RDSMetadata { - s.DataPipelineId = &v - return s -} - -// SetDatabase sets the Database field's value. -func (s *RDSMetadata) SetDatabase(v *RDSDatabase) *RDSMetadata { - s.Database = v - return s -} - -// SetDatabaseUserName sets the DatabaseUserName field's value. -func (s *RDSMetadata) SetDatabaseUserName(v string) *RDSMetadata { - s.DatabaseUserName = &v - return s -} - -// SetResourceRole sets the ResourceRole field's value. -func (s *RDSMetadata) SetResourceRole(v string) *RDSMetadata { - s.ResourceRole = &v - return s -} - -// SetSelectSqlQuery sets the SelectSqlQuery field's value. -func (s *RDSMetadata) SetSelectSqlQuery(v string) *RDSMetadata { - s.SelectSqlQuery = &v - return s -} - -// SetServiceRole sets the ServiceRole field's value. -func (s *RDSMetadata) SetServiceRole(v string) *RDSMetadata { - s.ServiceRole = &v - return s -} - // Describes the real-time endpoint information for an MLModel. type RealtimeEndpointInfo struct { _ struct{} `type:"structure"` @@ -6934,30 +5176,6 @@ func (s RealtimeEndpointInfo) GoString() string { return s.String() } -// SetCreatedAt sets the CreatedAt field's value. -func (s *RealtimeEndpointInfo) SetCreatedAt(v time.Time) *RealtimeEndpointInfo { - s.CreatedAt = &v - return s -} - -// SetEndpointStatus sets the EndpointStatus field's value. -func (s *RealtimeEndpointInfo) SetEndpointStatus(v RealtimeEndpointStatus) *RealtimeEndpointInfo { - s.EndpointStatus = v - return s -} - -// SetEndpointUrl sets the EndpointUrl field's value. -func (s *RealtimeEndpointInfo) SetEndpointUrl(v string) *RealtimeEndpointInfo { - s.EndpointUrl = &v - return s -} - -// SetPeakRequestsPerSecond sets the PeakRequestsPerSecond field's value. -func (s *RealtimeEndpointInfo) SetPeakRequestsPerSecond(v int64) *RealtimeEndpointInfo { - s.PeakRequestsPerSecond = &v - return s -} - // Describes the data specification of an Amazon Redshift DataSource. type RedshiftDataSpec struct { _ struct{} `type:"structure"` @@ -7153,48 +5371,6 @@ func (s *RedshiftDataSpec) Validate() error { return nil } -// SetDataRearrangement sets the DataRearrangement field's value. -func (s *RedshiftDataSpec) SetDataRearrangement(v string) *RedshiftDataSpec { - s.DataRearrangement = &v - return s -} - -// SetDataSchema sets the DataSchema field's value. -func (s *RedshiftDataSpec) SetDataSchema(v string) *RedshiftDataSpec { - s.DataSchema = &v - return s -} - -// SetDataSchemaUri sets the DataSchemaUri field's value. -func (s *RedshiftDataSpec) SetDataSchemaUri(v string) *RedshiftDataSpec { - s.DataSchemaUri = &v - return s -} - -// SetDatabaseCredentials sets the DatabaseCredentials field's value. -func (s *RedshiftDataSpec) SetDatabaseCredentials(v *RedshiftDatabaseCredentials) *RedshiftDataSpec { - s.DatabaseCredentials = v - return s -} - -// SetDatabaseInformation sets the DatabaseInformation field's value. -func (s *RedshiftDataSpec) SetDatabaseInformation(v *RedshiftDatabase) *RedshiftDataSpec { - s.DatabaseInformation = v - return s -} - -// SetS3StagingLocation sets the S3StagingLocation field's value. -func (s *RedshiftDataSpec) SetS3StagingLocation(v string) *RedshiftDataSpec { - s.S3StagingLocation = &v - return s -} - -// SetSelectSqlQuery sets the SelectSqlQuery field's value. -func (s *RedshiftDataSpec) SetSelectSqlQuery(v string) *RedshiftDataSpec { - s.SelectSqlQuery = &v - return s -} - // Describes the database details required to connect to an Amazon Redshift // database. type RedshiftDatabase struct { @@ -7245,18 +5421,6 @@ func (s *RedshiftDatabase) Validate() error { return nil } -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *RedshiftDatabase) SetClusterIdentifier(v string) *RedshiftDatabase { - s.ClusterIdentifier = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *RedshiftDatabase) SetDatabaseName(v string) *RedshiftDatabase { - s.DatabaseName = &v - return s -} - // Describes the database credentials for connecting to a database on an Amazon // Redshift cluster. type RedshiftDatabaseCredentials struct { @@ -7313,18 +5477,6 @@ func (s *RedshiftDatabaseCredentials) Validate() error { return nil } -// SetPassword sets the Password field's value. -func (s *RedshiftDatabaseCredentials) SetPassword(v string) *RedshiftDatabaseCredentials { - s.Password = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *RedshiftDatabaseCredentials) SetUsername(v string) *RedshiftDatabaseCredentials { - s.Username = &v - return s -} - // Describes the DataSource details specific to Amazon Redshift. type RedshiftMetadata struct { _ struct{} `type:"structure"` @@ -7354,24 +5506,6 @@ func (s RedshiftMetadata) GoString() string { return s.String() } -// SetDatabaseUserName sets the DatabaseUserName field's value. -func (s *RedshiftMetadata) SetDatabaseUserName(v string) *RedshiftMetadata { - s.DatabaseUserName = &v - return s -} - -// SetRedshiftDatabase sets the RedshiftDatabase field's value. -func (s *RedshiftMetadata) SetRedshiftDatabase(v *RedshiftDatabase) *RedshiftMetadata { - s.RedshiftDatabase = v - return s -} - -// SetSelectSqlQuery sets the SelectSqlQuery field's value. -func (s *RedshiftMetadata) SetSelectSqlQuery(v string) *RedshiftMetadata { - s.SelectSqlQuery = &v - return s -} - // Describes the data specification of a DataSource. type S3DataSpec struct { _ struct{} `type:"structure"` @@ -7527,30 +5661,6 @@ func (s *S3DataSpec) Validate() error { return nil } -// SetDataLocationS3 sets the DataLocationS3 field's value. -func (s *S3DataSpec) SetDataLocationS3(v string) *S3DataSpec { - s.DataLocationS3 = &v - return s -} - -// SetDataRearrangement sets the DataRearrangement field's value. -func (s *S3DataSpec) SetDataRearrangement(v string) *S3DataSpec { - s.DataRearrangement = &v - return s -} - -// SetDataSchema sets the DataSchema field's value. -func (s *S3DataSpec) SetDataSchema(v string) *S3DataSpec { - s.DataSchema = &v - return s -} - -// SetDataSchemaLocationS3 sets the DataSchemaLocationS3 field's value. -func (s *S3DataSpec) SetDataSchemaLocationS3(v string) *S3DataSpec { - s.DataSchemaLocationS3 = &v - return s -} - // A custom key-value pair associated with an ML object, such as an ML model. type Tag struct { _ struct{} `type:"structure"` @@ -7587,18 +5697,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - type UpdateBatchPredictionInput struct { _ struct{} `type:"structure"` @@ -7644,18 +5742,6 @@ func (s *UpdateBatchPredictionInput) Validate() error { return nil } -// SetBatchPredictionId sets the BatchPredictionId field's value. -func (s *UpdateBatchPredictionInput) SetBatchPredictionId(v string) *UpdateBatchPredictionInput { - s.BatchPredictionId = &v - return s -} - -// SetBatchPredictionName sets the BatchPredictionName field's value. -func (s *UpdateBatchPredictionInput) SetBatchPredictionName(v string) *UpdateBatchPredictionInput { - s.BatchPredictionName = &v - return s -} - // Represents the output of an UpdateBatchPrediction operation. // // You can see the updated content by using the GetBatchPrediction operation. @@ -7684,12 +5770,6 @@ func (s UpdateBatchPredictionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBatchPredictionId sets the BatchPredictionId field's value. -func (s *UpdateBatchPredictionOutput) SetBatchPredictionId(v string) *UpdateBatchPredictionOutput { - s.BatchPredictionId = &v - return s -} - type UpdateDataSourceInput struct { _ struct{} `type:"structure"` @@ -7736,18 +5816,6 @@ func (s *UpdateDataSourceInput) Validate() error { return nil } -// SetDataSourceId sets the DataSourceId field's value. -func (s *UpdateDataSourceInput) SetDataSourceId(v string) *UpdateDataSourceInput { - s.DataSourceId = &v - return s -} - -// SetDataSourceName sets the DataSourceName field's value. -func (s *UpdateDataSourceInput) SetDataSourceName(v string) *UpdateDataSourceInput { - s.DataSourceName = &v - return s -} - // Represents the output of an UpdateDataSource operation. // // You can see the updated content by using the GetBatchPrediction operation. @@ -7776,12 +5844,6 @@ func (s UpdateDataSourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDataSourceId sets the DataSourceId field's value. -func (s *UpdateDataSourceOutput) SetDataSourceId(v string) *UpdateDataSourceOutput { - s.DataSourceId = &v - return s -} - type UpdateEvaluationInput struct { _ struct{} `type:"structure"` @@ -7828,18 +5890,6 @@ func (s *UpdateEvaluationInput) Validate() error { return nil } -// SetEvaluationId sets the EvaluationId field's value. -func (s *UpdateEvaluationInput) SetEvaluationId(v string) *UpdateEvaluationInput { - s.EvaluationId = &v - return s -} - -// SetEvaluationName sets the EvaluationName field's value. -func (s *UpdateEvaluationInput) SetEvaluationName(v string) *UpdateEvaluationInput { - s.EvaluationName = &v - return s -} - // Represents the output of an UpdateEvaluation operation. // // You can see the updated content by using the GetEvaluation operation. @@ -7868,12 +5918,6 @@ func (s UpdateEvaluationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEvaluationId sets the EvaluationId field's value. -func (s *UpdateEvaluationOutput) SetEvaluationId(v string) *UpdateEvaluationOutput { - s.EvaluationId = &v - return s -} - type UpdateMLModelInput struct { _ struct{} `type:"structure"` @@ -7921,24 +5965,6 @@ func (s *UpdateMLModelInput) Validate() error { return nil } -// SetMLModelId sets the MLModelId field's value. -func (s *UpdateMLModelInput) SetMLModelId(v string) *UpdateMLModelInput { - s.MLModelId = &v - return s -} - -// SetMLModelName sets the MLModelName field's value. -func (s *UpdateMLModelInput) SetMLModelName(v string) *UpdateMLModelInput { - s.MLModelName = &v - return s -} - -// SetScoreThreshold sets the ScoreThreshold field's value. -func (s *UpdateMLModelInput) SetScoreThreshold(v float64) *UpdateMLModelInput { - s.ScoreThreshold = &v - return s -} - // Represents the output of an UpdateMLModel operation. // // You can see the updated content by using the GetMLModel operation. @@ -7967,12 +5993,6 @@ func (s UpdateMLModelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMLModelId sets the MLModelId field's value. -func (s *UpdateMLModelOutput) SetMLModelId(v string) *UpdateMLModelOutput { - s.MLModelId = &v - return s -} - // The function used to train an MLModel. Training choices supported by Amazon // ML include the following: // diff --git a/service/marketplacecommerceanalytics/api.go b/service/marketplacecommerceanalytics/api.go index 9125432c7d9..df0e662822b 100644 --- a/service/marketplacecommerceanalytics/api.go +++ b/service/marketplacecommerceanalytics/api.go @@ -318,48 +318,6 @@ func (s *GenerateDataSetInput) Validate() error { return nil } -// SetCustomerDefinedValues sets the CustomerDefinedValues field's value. -func (s *GenerateDataSetInput) SetCustomerDefinedValues(v map[string]string) *GenerateDataSetInput { - s.CustomerDefinedValues = v - return s -} - -// SetDataSetPublicationDate sets the DataSetPublicationDate field's value. -func (s *GenerateDataSetInput) SetDataSetPublicationDate(v time.Time) *GenerateDataSetInput { - s.DataSetPublicationDate = &v - return s -} - -// SetDataSetType sets the DataSetType field's value. -func (s *GenerateDataSetInput) SetDataSetType(v DataSetType) *GenerateDataSetInput { - s.DataSetType = v - return s -} - -// SetDestinationS3BucketName sets the DestinationS3BucketName field's value. -func (s *GenerateDataSetInput) SetDestinationS3BucketName(v string) *GenerateDataSetInput { - s.DestinationS3BucketName = &v - return s -} - -// SetDestinationS3Prefix sets the DestinationS3Prefix field's value. -func (s *GenerateDataSetInput) SetDestinationS3Prefix(v string) *GenerateDataSetInput { - s.DestinationS3Prefix = &v - return s -} - -// SetRoleNameArn sets the RoleNameArn field's value. -func (s *GenerateDataSetInput) SetRoleNameArn(v string) *GenerateDataSetInput { - s.RoleNameArn = &v - return s -} - -// SetSnsTopicArn sets the SnsTopicArn field's value. -func (s *GenerateDataSetInput) SetSnsTopicArn(v string) *GenerateDataSetInput { - s.SnsTopicArn = &v - return s -} - // Container for the result of the GenerateDataSet operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/marketplacecommerceanalytics-2015-07-01/GenerateDataSetResult type GenerateDataSetOutput struct { @@ -388,12 +346,6 @@ func (s GenerateDataSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDataSetRequestId sets the DataSetRequestId field's value. -func (s *GenerateDataSetOutput) SetDataSetRequestId(v string) *GenerateDataSetOutput { - s.DataSetRequestId = &v - return s -} - // Container for the parameters to the StartSupportDataExport operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/marketplacecommerceanalytics-2015-07-01/StartSupportDataExportRequest type StartSupportDataExportInput struct { @@ -502,48 +454,6 @@ func (s *StartSupportDataExportInput) Validate() error { return nil } -// SetCustomerDefinedValues sets the CustomerDefinedValues field's value. -func (s *StartSupportDataExportInput) SetCustomerDefinedValues(v map[string]string) *StartSupportDataExportInput { - s.CustomerDefinedValues = v - return s -} - -// SetDataSetType sets the DataSetType field's value. -func (s *StartSupportDataExportInput) SetDataSetType(v SupportDataSetType) *StartSupportDataExportInput { - s.DataSetType = v - return s -} - -// SetDestinationS3BucketName sets the DestinationS3BucketName field's value. -func (s *StartSupportDataExportInput) SetDestinationS3BucketName(v string) *StartSupportDataExportInput { - s.DestinationS3BucketName = &v - return s -} - -// SetDestinationS3Prefix sets the DestinationS3Prefix field's value. -func (s *StartSupportDataExportInput) SetDestinationS3Prefix(v string) *StartSupportDataExportInput { - s.DestinationS3Prefix = &v - return s -} - -// SetFromDate sets the FromDate field's value. -func (s *StartSupportDataExportInput) SetFromDate(v time.Time) *StartSupportDataExportInput { - s.FromDate = &v - return s -} - -// SetRoleNameArn sets the RoleNameArn field's value. -func (s *StartSupportDataExportInput) SetRoleNameArn(v string) *StartSupportDataExportInput { - s.RoleNameArn = &v - return s -} - -// SetSnsTopicArn sets the SnsTopicArn field's value. -func (s *StartSupportDataExportInput) SetSnsTopicArn(v string) *StartSupportDataExportInput { - s.SnsTopicArn = &v - return s -} - // Container for the result of the StartSupportDataExport operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/marketplacecommerceanalytics-2015-07-01/StartSupportDataExportResult type StartSupportDataExportOutput struct { @@ -572,12 +482,6 @@ func (s StartSupportDataExportOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDataSetRequestId sets the DataSetRequestId field's value. -func (s *StartSupportDataExportOutput) SetDataSetRequestId(v string) *StartSupportDataExportOutput { - s.DataSetRequestId = &v - return s -} - type DataSetType string // Enum values for DataSetType diff --git a/service/marketplaceentitlementservice/api.go b/service/marketplaceentitlementservice/api.go index 7fac623f65c..84da3565c77 100644 --- a/service/marketplaceentitlementservice/api.go +++ b/service/marketplaceentitlementservice/api.go @@ -102,36 +102,6 @@ func (s Entitlement) GoString() string { return s.String() } -// SetCustomerIdentifier sets the CustomerIdentifier field's value. -func (s *Entitlement) SetCustomerIdentifier(v string) *Entitlement { - s.CustomerIdentifier = &v - return s -} - -// SetDimension sets the Dimension field's value. -func (s *Entitlement) SetDimension(v string) *Entitlement { - s.Dimension = &v - return s -} - -// SetExpirationDate sets the ExpirationDate field's value. -func (s *Entitlement) SetExpirationDate(v time.Time) *Entitlement { - s.ExpirationDate = &v - return s -} - -// SetProductCode sets the ProductCode field's value. -func (s *Entitlement) SetProductCode(v string) *Entitlement { - s.ProductCode = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Entitlement) SetValue(v *EntitlementValue) *Entitlement { - s.Value = v - return s -} - // The EntitlementValue represents the amount of capacity that the customer // is entitled to for the product. // Please also see https://docs.aws.amazon.com/goto/WebAPI/entitlement.marketplace-2017-01-11/EntitlementValue @@ -165,30 +135,6 @@ func (s EntitlementValue) GoString() string { return s.String() } -// SetBooleanValue sets the BooleanValue field's value. -func (s *EntitlementValue) SetBooleanValue(v bool) *EntitlementValue { - s.BooleanValue = &v - return s -} - -// SetDoubleValue sets the DoubleValue field's value. -func (s *EntitlementValue) SetDoubleValue(v float64) *EntitlementValue { - s.DoubleValue = &v - return s -} - -// SetIntegerValue sets the IntegerValue field's value. -func (s *EntitlementValue) SetIntegerValue(v int64) *EntitlementValue { - s.IntegerValue = &v - return s -} - -// SetStringValue sets the StringValue field's value. -func (s *EntitlementValue) SetStringValue(v string) *EntitlementValue { - s.StringValue = &v - return s -} - // The GetEntitlementsRequest contains parameters for the GetEntitlements operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/entitlement.marketplace-2017-01-11/GetEntitlementsRequest type GetEntitlementsInput struct { @@ -243,30 +189,6 @@ func (s *GetEntitlementsInput) Validate() error { return nil } -// SetFilter sets the Filter field's value. -func (s *GetEntitlementsInput) SetFilter(v map[string][]string) *GetEntitlementsInput { - s.Filter = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetEntitlementsInput) SetMaxResults(v int64) *GetEntitlementsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetEntitlementsInput) SetNextToken(v string) *GetEntitlementsInput { - s.NextToken = &v - return s -} - -// SetProductCode sets the ProductCode field's value. -func (s *GetEntitlementsInput) SetProductCode(v string) *GetEntitlementsInput { - s.ProductCode = &v - return s -} - // The GetEntitlementsRequest contains results from the GetEntitlements operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/entitlement.marketplace-2017-01-11/GetEntitlementsResult type GetEntitlementsOutput struct { @@ -300,18 +222,6 @@ func (s GetEntitlementsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEntitlements sets the Entitlements field's value. -func (s *GetEntitlementsOutput) SetEntitlements(v []Entitlement) *GetEntitlementsOutput { - s.Entitlements = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetEntitlementsOutput) SetNextToken(v string) *GetEntitlementsOutput { - s.NextToken = &v - return s -} - type GetEntitlementFilterName string // Enum values for GetEntitlementFilterName diff --git a/service/marketplacemetering/api.go b/service/marketplacemetering/api.go index 85e3b2bc834..be00fe6d5a6 100644 --- a/service/marketplacemetering/api.go +++ b/service/marketplacemetering/api.go @@ -231,18 +231,6 @@ func (s *BatchMeterUsageInput) Validate() error { return nil } -// SetProductCode sets the ProductCode field's value. -func (s *BatchMeterUsageInput) SetProductCode(v string) *BatchMeterUsageInput { - s.ProductCode = &v - return s -} - -// SetUsageRecords sets the UsageRecords field's value. -func (s *BatchMeterUsageInput) SetUsageRecords(v []UsageRecord) *BatchMeterUsageInput { - s.UsageRecords = v - return s -} - // Contains the UsageRecords processed by BatchMeterUsage and any records that // have failed due to transient error. // Please also see https://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/BatchMeterUsageResult @@ -276,18 +264,6 @@ func (s BatchMeterUsageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResults sets the Results field's value. -func (s *BatchMeterUsageOutput) SetResults(v []UsageRecordResult) *BatchMeterUsageOutput { - s.Results = v - return s -} - -// SetUnprocessedRecords sets the UnprocessedRecords field's value. -func (s *BatchMeterUsageOutput) SetUnprocessedRecords(v []UsageRecord) *BatchMeterUsageOutput { - s.UnprocessedRecords = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/MeterUsageRequest type MeterUsageInput struct { _ struct{} `type:"structure"` @@ -370,36 +346,6 @@ func (s *MeterUsageInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *MeterUsageInput) SetDryRun(v bool) *MeterUsageInput { - s.DryRun = &v - return s -} - -// SetProductCode sets the ProductCode field's value. -func (s *MeterUsageInput) SetProductCode(v string) *MeterUsageInput { - s.ProductCode = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *MeterUsageInput) SetTimestamp(v time.Time) *MeterUsageInput { - s.Timestamp = &v - return s -} - -// SetUsageDimension sets the UsageDimension field's value. -func (s *MeterUsageInput) SetUsageDimension(v string) *MeterUsageInput { - s.UsageDimension = &v - return s -} - -// SetUsageQuantity sets the UsageQuantity field's value. -func (s *MeterUsageInput) SetUsageQuantity(v int64) *MeterUsageInput { - s.UsageQuantity = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/MeterUsageResult type MeterUsageOutput struct { _ struct{} `type:"structure"` @@ -424,12 +370,6 @@ func (s MeterUsageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMeteringRecordId sets the MeteringRecordId field's value. -func (s *MeterUsageOutput) SetMeteringRecordId(v string) *MeterUsageOutput { - s.MeteringRecordId = &v - return s -} - // Contains input to the ResolveCustomer operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/ResolveCustomerRequest type ResolveCustomerInput struct { @@ -467,12 +407,6 @@ func (s *ResolveCustomerInput) Validate() error { return nil } -// SetRegistrationToken sets the RegistrationToken field's value. -func (s *ResolveCustomerInput) SetRegistrationToken(v string) *ResolveCustomerInput { - s.RegistrationToken = &v - return s -} - // The result of the ResolveCustomer operation. Contains the CustomerIdentifier // and product code. // Please also see https://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/ResolveCustomerResult @@ -507,18 +441,6 @@ func (s ResolveCustomerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCustomerIdentifier sets the CustomerIdentifier field's value. -func (s *ResolveCustomerOutput) SetCustomerIdentifier(v string) *ResolveCustomerOutput { - s.CustomerIdentifier = &v - return s -} - -// SetProductCode sets the ProductCode field's value. -func (s *ResolveCustomerOutput) SetProductCode(v string) *ResolveCustomerOutput { - s.ProductCode = &v - return s -} - // A UsageRecord indicates a quantity of usage for a given product, customer, // dimension and time. // @@ -598,30 +520,6 @@ func (s *UsageRecord) Validate() error { return nil } -// SetCustomerIdentifier sets the CustomerIdentifier field's value. -func (s *UsageRecord) SetCustomerIdentifier(v string) *UsageRecord { - s.CustomerIdentifier = &v - return s -} - -// SetDimension sets the Dimension field's value. -func (s *UsageRecord) SetDimension(v string) *UsageRecord { - s.Dimension = &v - return s -} - -// SetQuantity sets the Quantity field's value. -func (s *UsageRecord) SetQuantity(v int64) *UsageRecord { - s.Quantity = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *UsageRecord) SetTimestamp(v time.Time) *UsageRecord { - s.Timestamp = &v - return s -} - // A UsageRecordResult indicates the status of a given UsageRecord processed // by BatchMeterUsage. // Please also see https://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/UsageRecordResult @@ -659,24 +557,6 @@ func (s UsageRecordResult) GoString() string { return s.String() } -// SetMeteringRecordId sets the MeteringRecordId field's value. -func (s *UsageRecordResult) SetMeteringRecordId(v string) *UsageRecordResult { - s.MeteringRecordId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *UsageRecordResult) SetStatus(v UsageRecordResultStatus) *UsageRecordResult { - s.Status = v - return s -} - -// SetUsageRecord sets the UsageRecord field's value. -func (s *UsageRecordResult) SetUsageRecord(v *UsageRecord) *UsageRecordResult { - s.UsageRecord = v - return s -} - type UsageRecordResultStatus string // Enum values for UsageRecordResultStatus diff --git a/service/mediaconvert/api.go b/service/mediaconvert/api.go index b07a63f06f0..db37d633fb0 100644 --- a/service/mediaconvert/api.go +++ b/service/mediaconvert/api.go @@ -1063,60 +1063,6 @@ func (s AacSettings) GoString() string { return s.String() } -// SetAudioDescriptionBroadcasterMix sets the AudioDescriptionBroadcasterMix field's value. -func (s *AacSettings) SetAudioDescriptionBroadcasterMix(v AacAudioDescriptionBroadcasterMix) *AacSettings { - s.AudioDescriptionBroadcasterMix = v - return s -} - -// SetBitrate sets the Bitrate field's value. -func (s *AacSettings) SetBitrate(v int64) *AacSettings { - s.Bitrate = &v - return s -} - -// SetCodecProfile sets the CodecProfile field's value. -func (s *AacSettings) SetCodecProfile(v AacCodecProfile) *AacSettings { - s.CodecProfile = v - return s -} - -// SetCodingMode sets the CodingMode field's value. -func (s *AacSettings) SetCodingMode(v AacCodingMode) *AacSettings { - s.CodingMode = v - return s -} - -// SetRateControlMode sets the RateControlMode field's value. -func (s *AacSettings) SetRateControlMode(v AacRateControlMode) *AacSettings { - s.RateControlMode = v - return s -} - -// SetRawFormat sets the RawFormat field's value. -func (s *AacSettings) SetRawFormat(v AacRawFormat) *AacSettings { - s.RawFormat = v - return s -} - -// SetSampleRate sets the SampleRate field's value. -func (s *AacSettings) SetSampleRate(v int64) *AacSettings { - s.SampleRate = &v - return s -} - -// SetSpecification sets the Specification field's value. -func (s *AacSettings) SetSpecification(v AacSpecification) *AacSettings { - s.Specification = v - return s -} - -// SetVbrQuality sets the VbrQuality field's value. -func (s *AacSettings) SetVbrQuality(v AacVbrQuality) *AacSettings { - s.VbrQuality = v - return s -} - // Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to // the value AC3. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Ac3Settings @@ -1164,54 +1110,6 @@ func (s Ac3Settings) GoString() string { return s.String() } -// SetBitrate sets the Bitrate field's value. -func (s *Ac3Settings) SetBitrate(v int64) *Ac3Settings { - s.Bitrate = &v - return s -} - -// SetBitstreamMode sets the BitstreamMode field's value. -func (s *Ac3Settings) SetBitstreamMode(v Ac3BitstreamMode) *Ac3Settings { - s.BitstreamMode = v - return s -} - -// SetCodingMode sets the CodingMode field's value. -func (s *Ac3Settings) SetCodingMode(v Ac3CodingMode) *Ac3Settings { - s.CodingMode = v - return s -} - -// SetDialnorm sets the Dialnorm field's value. -func (s *Ac3Settings) SetDialnorm(v int64) *Ac3Settings { - s.Dialnorm = &v - return s -} - -// SetDynamicRangeCompressionProfile sets the DynamicRangeCompressionProfile field's value. -func (s *Ac3Settings) SetDynamicRangeCompressionProfile(v Ac3DynamicRangeCompressionProfile) *Ac3Settings { - s.DynamicRangeCompressionProfile = v - return s -} - -// SetLfeFilter sets the LfeFilter field's value. -func (s *Ac3Settings) SetLfeFilter(v Ac3LfeFilter) *Ac3Settings { - s.LfeFilter = v - return s -} - -// SetMetadataControl sets the MetadataControl field's value. -func (s *Ac3Settings) SetMetadataControl(v Ac3MetadataControl) *Ac3Settings { - s.MetadataControl = v - return s -} - -// SetSampleRate sets the SampleRate field's value. -func (s *Ac3Settings) SetSampleRate(v int64) *Ac3Settings { - s.SampleRate = &v - return s -} - // Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to // the value AIFF. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AiffSettings @@ -1241,24 +1139,6 @@ func (s AiffSettings) GoString() string { return s.String() } -// SetBitDepth sets the BitDepth field's value. -func (s *AiffSettings) SetBitDepth(v int64) *AiffSettings { - s.BitDepth = &v - return s -} - -// SetChannels sets the Channels field's value. -func (s *AiffSettings) SetChannels(v int64) *AiffSettings { - s.Channels = &v - return s -} - -// SetSampleRate sets the SampleRate field's value. -func (s *AiffSettings) SetSampleRate(v int64) *AiffSettings { - s.SampleRate = &v - return s -} - // Settings for ancillary captions source. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AncillarySourceSettings type AncillarySourceSettings struct { @@ -1279,12 +1159,6 @@ func (s AncillarySourceSettings) GoString() string { return s.String() } -// SetSourceAncillaryChannelNumber sets the SourceAncillaryChannelNumber field's value. -func (s *AncillarySourceSettings) SetSourceAncillaryChannelNumber(v int64) *AncillarySourceSettings { - s.SourceAncillaryChannelNumber = &v - return s -} - // Audio codec settings (CodecSettings) under (AudioDescriptions) contains the // group of settings related to audio encoding. The settings in this group vary // depending on the value you choose for Audio codec (Codec). For each codec @@ -1333,48 +1207,6 @@ func (s AudioCodecSettings) GoString() string { return s.String() } -// SetAacSettings sets the AacSettings field's value. -func (s *AudioCodecSettings) SetAacSettings(v *AacSettings) *AudioCodecSettings { - s.AacSettings = v - return s -} - -// SetAc3Settings sets the Ac3Settings field's value. -func (s *AudioCodecSettings) SetAc3Settings(v *Ac3Settings) *AudioCodecSettings { - s.Ac3Settings = v - return s -} - -// SetAiffSettings sets the AiffSettings field's value. -func (s *AudioCodecSettings) SetAiffSettings(v *AiffSettings) *AudioCodecSettings { - s.AiffSettings = v - return s -} - -// SetCodec sets the Codec field's value. -func (s *AudioCodecSettings) SetCodec(v AudioCodec) *AudioCodecSettings { - s.Codec = v - return s -} - -// SetEac3Settings sets the Eac3Settings field's value. -func (s *AudioCodecSettings) SetEac3Settings(v *Eac3Settings) *AudioCodecSettings { - s.Eac3Settings = v - return s -} - -// SetMp2Settings sets the Mp2Settings field's value. -func (s *AudioCodecSettings) SetMp2Settings(v *Mp2Settings) *AudioCodecSettings { - s.Mp2Settings = v - return s -} - -// SetWavSettings sets the WavSettings field's value. -func (s *AudioCodecSettings) SetWavSettings(v *WavSettings) *AudioCodecSettings { - s.WavSettings = v - return s -} - // Description of audio output // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AudioDescription type AudioDescription struct { @@ -1447,60 +1279,6 @@ func (s AudioDescription) GoString() string { return s.String() } -// SetAudioNormalizationSettings sets the AudioNormalizationSettings field's value. -func (s *AudioDescription) SetAudioNormalizationSettings(v *AudioNormalizationSettings) *AudioDescription { - s.AudioNormalizationSettings = v - return s -} - -// SetAudioSourceName sets the AudioSourceName field's value. -func (s *AudioDescription) SetAudioSourceName(v string) *AudioDescription { - s.AudioSourceName = &v - return s -} - -// SetAudioType sets the AudioType field's value. -func (s *AudioDescription) SetAudioType(v int64) *AudioDescription { - s.AudioType = &v - return s -} - -// SetAudioTypeControl sets the AudioTypeControl field's value. -func (s *AudioDescription) SetAudioTypeControl(v AudioTypeControl) *AudioDescription { - s.AudioTypeControl = v - return s -} - -// SetCodecSettings sets the CodecSettings field's value. -func (s *AudioDescription) SetCodecSettings(v *AudioCodecSettings) *AudioDescription { - s.CodecSettings = v - return s -} - -// SetLanguageCode sets the LanguageCode field's value. -func (s *AudioDescription) SetLanguageCode(v LanguageCode) *AudioDescription { - s.LanguageCode = v - return s -} - -// SetLanguageCodeControl sets the LanguageCodeControl field's value. -func (s *AudioDescription) SetLanguageCodeControl(v AudioLanguageCodeControl) *AudioDescription { - s.LanguageCodeControl = v - return s -} - -// SetRemixSettings sets the RemixSettings field's value. -func (s *AudioDescription) SetRemixSettings(v *RemixSettings) *AudioDescription { - s.RemixSettings = v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *AudioDescription) SetStreamName(v string) *AudioDescription { - s.StreamName = &v - return s -} - // Advanced audio normalization settings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AudioNormalizationSettings type AudioNormalizationSettings struct { @@ -1543,42 +1321,6 @@ func (s AudioNormalizationSettings) GoString() string { return s.String() } -// SetAlgorithm sets the Algorithm field's value. -func (s *AudioNormalizationSettings) SetAlgorithm(v AudioNormalizationAlgorithm) *AudioNormalizationSettings { - s.Algorithm = v - return s -} - -// SetAlgorithmControl sets the AlgorithmControl field's value. -func (s *AudioNormalizationSettings) SetAlgorithmControl(v AudioNormalizationAlgorithmControl) *AudioNormalizationSettings { - s.AlgorithmControl = v - return s -} - -// SetCorrectionGateLevel sets the CorrectionGateLevel field's value. -func (s *AudioNormalizationSettings) SetCorrectionGateLevel(v int64) *AudioNormalizationSettings { - s.CorrectionGateLevel = &v - return s -} - -// SetLoudnessLogging sets the LoudnessLogging field's value. -func (s *AudioNormalizationSettings) SetLoudnessLogging(v AudioNormalizationLoudnessLogging) *AudioNormalizationSettings { - s.LoudnessLogging = v - return s -} - -// SetPeakCalculation sets the PeakCalculation field's value. -func (s *AudioNormalizationSettings) SetPeakCalculation(v AudioNormalizationPeakCalculation) *AudioNormalizationSettings { - s.PeakCalculation = v - return s -} - -// SetTargetLkfs sets the TargetLkfs field's value. -func (s *AudioNormalizationSettings) SetTargetLkfs(v float64) *AudioNormalizationSettings { - s.TargetLkfs = &v - return s -} - // Selector for Audio // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AudioSelector type AudioSelector struct { @@ -1635,60 +1377,6 @@ func (s AudioSelector) GoString() string { return s.String() } -// SetDefaultSelection sets the DefaultSelection field's value. -func (s *AudioSelector) SetDefaultSelection(v AudioDefaultSelection) *AudioSelector { - s.DefaultSelection = v - return s -} - -// SetExternalAudioFileInput sets the ExternalAudioFileInput field's value. -func (s *AudioSelector) SetExternalAudioFileInput(v string) *AudioSelector { - s.ExternalAudioFileInput = &v - return s -} - -// SetLanguageCode sets the LanguageCode field's value. -func (s *AudioSelector) SetLanguageCode(v LanguageCode) *AudioSelector { - s.LanguageCode = v - return s -} - -// SetOffset sets the Offset field's value. -func (s *AudioSelector) SetOffset(v int64) *AudioSelector { - s.Offset = &v - return s -} - -// SetPids sets the Pids field's value. -func (s *AudioSelector) SetPids(v []int64) *AudioSelector { - s.Pids = v - return s -} - -// SetProgramSelection sets the ProgramSelection field's value. -func (s *AudioSelector) SetProgramSelection(v int64) *AudioSelector { - s.ProgramSelection = &v - return s -} - -// SetRemixSettings sets the RemixSettings field's value. -func (s *AudioSelector) SetRemixSettings(v *RemixSettings) *AudioSelector { - s.RemixSettings = v - return s -} - -// SetSelectorType sets the SelectorType field's value. -func (s *AudioSelector) SetSelectorType(v AudioSelectorType) *AudioSelector { - s.SelectorType = v - return s -} - -// SetTracks sets the Tracks field's value. -func (s *AudioSelector) SetTracks(v []int64) *AudioSelector { - s.Tracks = v - return s -} - // Group of Audio Selectors // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AudioSelectorGroup type AudioSelectorGroup struct { @@ -1711,12 +1399,6 @@ func (s AudioSelectorGroup) GoString() string { return s.String() } -// SetAudioSelectorNames sets the AudioSelectorNames field's value. -func (s *AudioSelectorGroup) SetAudioSelectorNames(v []string) *AudioSelectorGroup { - s.AudioSelectorNames = v - return s -} - // Settings for Avail Blanking // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AvailBlanking type AvailBlanking struct { @@ -1737,12 +1419,6 @@ func (s AvailBlanking) GoString() string { return s.String() } -// SetAvailBlankingImage sets the AvailBlankingImage field's value. -func (s *AvailBlanking) SetAvailBlankingImage(v string) *AvailBlanking { - s.AvailBlankingImage = &v - return s -} - // Burn-In Destination Settings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/BurninDestinationSettings type BurninDestinationSettings struct { @@ -1851,102 +1527,6 @@ func (s BurninDestinationSettings) GoString() string { return s.String() } -// SetAlignment sets the Alignment field's value. -func (s *BurninDestinationSettings) SetAlignment(v BurninSubtitleAlignment) *BurninDestinationSettings { - s.Alignment = v - return s -} - -// SetBackgroundColor sets the BackgroundColor field's value. -func (s *BurninDestinationSettings) SetBackgroundColor(v BurninSubtitleBackgroundColor) *BurninDestinationSettings { - s.BackgroundColor = v - return s -} - -// SetBackgroundOpacity sets the BackgroundOpacity field's value. -func (s *BurninDestinationSettings) SetBackgroundOpacity(v int64) *BurninDestinationSettings { - s.BackgroundOpacity = &v - return s -} - -// SetFontColor sets the FontColor field's value. -func (s *BurninDestinationSettings) SetFontColor(v BurninSubtitleFontColor) *BurninDestinationSettings { - s.FontColor = v - return s -} - -// SetFontOpacity sets the FontOpacity field's value. -func (s *BurninDestinationSettings) SetFontOpacity(v int64) *BurninDestinationSettings { - s.FontOpacity = &v - return s -} - -// SetFontResolution sets the FontResolution field's value. -func (s *BurninDestinationSettings) SetFontResolution(v int64) *BurninDestinationSettings { - s.FontResolution = &v - return s -} - -// SetFontSize sets the FontSize field's value. -func (s *BurninDestinationSettings) SetFontSize(v int64) *BurninDestinationSettings { - s.FontSize = &v - return s -} - -// SetOutlineColor sets the OutlineColor field's value. -func (s *BurninDestinationSettings) SetOutlineColor(v BurninSubtitleOutlineColor) *BurninDestinationSettings { - s.OutlineColor = v - return s -} - -// SetOutlineSize sets the OutlineSize field's value. -func (s *BurninDestinationSettings) SetOutlineSize(v int64) *BurninDestinationSettings { - s.OutlineSize = &v - return s -} - -// SetShadowColor sets the ShadowColor field's value. -func (s *BurninDestinationSettings) SetShadowColor(v BurninSubtitleShadowColor) *BurninDestinationSettings { - s.ShadowColor = v - return s -} - -// SetShadowOpacity sets the ShadowOpacity field's value. -func (s *BurninDestinationSettings) SetShadowOpacity(v int64) *BurninDestinationSettings { - s.ShadowOpacity = &v - return s -} - -// SetShadowXOffset sets the ShadowXOffset field's value. -func (s *BurninDestinationSettings) SetShadowXOffset(v int64) *BurninDestinationSettings { - s.ShadowXOffset = &v - return s -} - -// SetShadowYOffset sets the ShadowYOffset field's value. -func (s *BurninDestinationSettings) SetShadowYOffset(v int64) *BurninDestinationSettings { - s.ShadowYOffset = &v - return s -} - -// SetTeletextSpacing sets the TeletextSpacing field's value. -func (s *BurninDestinationSettings) SetTeletextSpacing(v BurninSubtitleTeletextSpacing) *BurninDestinationSettings { - s.TeletextSpacing = v - return s -} - -// SetXPosition sets the XPosition field's value. -func (s *BurninDestinationSettings) SetXPosition(v int64) *BurninDestinationSettings { - s.XPosition = &v - return s -} - -// SetYPosition sets the YPosition field's value. -func (s *BurninDestinationSettings) SetYPosition(v int64) *BurninDestinationSettings { - s.YPosition = &v - return s -} - // Cancel a job by sending a request with the job ID // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CancelJobRequest type CancelJobInput struct { @@ -1982,12 +1562,6 @@ func (s *CancelJobInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *CancelJobInput) SetId(v string) *CancelJobInput { - s.Id = &v - return s -} - // A cancel job request will receive a response with an empty body. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CancelJobResponse type CancelJobOutput struct { @@ -2045,30 +1619,6 @@ func (s CaptionDescription) GoString() string { return s.String() } -// SetCaptionSelectorName sets the CaptionSelectorName field's value. -func (s *CaptionDescription) SetCaptionSelectorName(v string) *CaptionDescription { - s.CaptionSelectorName = &v - return s -} - -// SetDestinationSettings sets the DestinationSettings field's value. -func (s *CaptionDescription) SetDestinationSettings(v *CaptionDestinationSettings) *CaptionDescription { - s.DestinationSettings = v - return s -} - -// SetLanguageCode sets the LanguageCode field's value. -func (s *CaptionDescription) SetLanguageCode(v LanguageCode) *CaptionDescription { - s.LanguageCode = v - return s -} - -// SetLanguageDescription sets the LanguageDescription field's value. -func (s *CaptionDescription) SetLanguageDescription(v string) *CaptionDescription { - s.LanguageDescription = &v - return s -} - // Caption Description for preset // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CaptionDescriptionPreset type CaptionDescriptionPreset struct { @@ -2097,24 +1647,6 @@ func (s CaptionDescriptionPreset) GoString() string { return s.String() } -// SetDestinationSettings sets the DestinationSettings field's value. -func (s *CaptionDescriptionPreset) SetDestinationSettings(v *CaptionDestinationSettings) *CaptionDescriptionPreset { - s.DestinationSettings = v - return s -} - -// SetLanguageCode sets the LanguageCode field's value. -func (s *CaptionDescriptionPreset) SetLanguageCode(v LanguageCode) *CaptionDescriptionPreset { - s.LanguageCode = v - return s -} - -// SetLanguageDescription sets the LanguageDescription field's value. -func (s *CaptionDescriptionPreset) SetLanguageDescription(v string) *CaptionDescriptionPreset { - s.LanguageDescription = &v - return s -} - // Specific settings required by destination type. Note that burnin_destination_settings // are not available if the source of the caption data is Embedded or Teletext. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CaptionDestinationSettings @@ -2152,42 +1684,6 @@ func (s CaptionDestinationSettings) GoString() string { return s.String() } -// SetBurninDestinationSettings sets the BurninDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetBurninDestinationSettings(v *BurninDestinationSettings) *CaptionDestinationSettings { - s.BurninDestinationSettings = v - return s -} - -// SetDestinationType sets the DestinationType field's value. -func (s *CaptionDestinationSettings) SetDestinationType(v CaptionDestinationType) *CaptionDestinationSettings { - s.DestinationType = v - return s -} - -// SetDvbSubDestinationSettings sets the DvbSubDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetDvbSubDestinationSettings(v *DvbSubDestinationSettings) *CaptionDestinationSettings { - s.DvbSubDestinationSettings = v - return s -} - -// SetSccDestinationSettings sets the SccDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetSccDestinationSettings(v *SccDestinationSettings) *CaptionDestinationSettings { - s.SccDestinationSettings = v - return s -} - -// SetTeletextDestinationSettings sets the TeletextDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetTeletextDestinationSettings(v *TeletextDestinationSettings) *CaptionDestinationSettings { - s.TeletextDestinationSettings = v - return s -} - -// SetTtmlDestinationSettings sets the TtmlDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetTtmlDestinationSettings(v *TtmlDestinationSettings) *CaptionDestinationSettings { - s.TtmlDestinationSettings = v - return s -} - // Caption inputs to be mapped to caption outputs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CaptionSelector type CaptionSelector struct { @@ -2216,18 +1712,6 @@ func (s CaptionSelector) GoString() string { return s.String() } -// SetLanguageCode sets the LanguageCode field's value. -func (s *CaptionSelector) SetLanguageCode(v LanguageCode) *CaptionSelector { - s.LanguageCode = v - return s -} - -// SetSourceSettings sets the SourceSettings field's value. -func (s *CaptionSelector) SetSourceSettings(v *CaptionSourceSettings) *CaptionSelector { - s.SourceSettings = v - return s -} - // Source settings (SourceSettings) contains the group of settings for captions // in the input. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CaptionSourceSettings @@ -2264,42 +1748,6 @@ func (s CaptionSourceSettings) GoString() string { return s.String() } -// SetAncillarySourceSettings sets the AncillarySourceSettings field's value. -func (s *CaptionSourceSettings) SetAncillarySourceSettings(v *AncillarySourceSettings) *CaptionSourceSettings { - s.AncillarySourceSettings = v - return s -} - -// SetDvbSubSourceSettings sets the DvbSubSourceSettings field's value. -func (s *CaptionSourceSettings) SetDvbSubSourceSettings(v *DvbSubSourceSettings) *CaptionSourceSettings { - s.DvbSubSourceSettings = v - return s -} - -// SetEmbeddedSourceSettings sets the EmbeddedSourceSettings field's value. -func (s *CaptionSourceSettings) SetEmbeddedSourceSettings(v *EmbeddedSourceSettings) *CaptionSourceSettings { - s.EmbeddedSourceSettings = v - return s -} - -// SetFileSourceSettings sets the FileSourceSettings field's value. -func (s *CaptionSourceSettings) SetFileSourceSettings(v *FileSourceSettings) *CaptionSourceSettings { - s.FileSourceSettings = v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *CaptionSourceSettings) SetSourceType(v CaptionSourceType) *CaptionSourceSettings { - s.SourceType = v - return s -} - -// SetTeletextSourceSettings sets the TeletextSourceSettings field's value. -func (s *CaptionSourceSettings) SetTeletextSourceSettings(v *TeletextSourceSettings) *CaptionSourceSettings { - s.TeletextSourceSettings = v - return s -} - // Channel mapping (ChannelMapping) contains the group of fields that hold the // remixing value for each channel. Units are in dB. Acceptable values are within // the range from -60 (mute) through 6. A setting of 0 passes the input channel @@ -2322,12 +1770,6 @@ func (s ChannelMapping) GoString() string { return s.String() } -// SetOutputChannels sets the OutputChannels field's value. -func (s *ChannelMapping) SetOutputChannels(v []OutputChannelMapping) *ChannelMapping { - s.OutputChannels = v - return s -} - // Settings for color correction. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ColorCorrector type ColorCorrector struct { @@ -2369,42 +1811,6 @@ func (s ColorCorrector) GoString() string { return s.String() } -// SetBrightness sets the Brightness field's value. -func (s *ColorCorrector) SetBrightness(v int64) *ColorCorrector { - s.Brightness = &v - return s -} - -// SetColorSpaceConversion sets the ColorSpaceConversion field's value. -func (s *ColorCorrector) SetColorSpaceConversion(v ColorSpaceConversion) *ColorCorrector { - s.ColorSpaceConversion = v - return s -} - -// SetContrast sets the Contrast field's value. -func (s *ColorCorrector) SetContrast(v int64) *ColorCorrector { - s.Contrast = &v - return s -} - -// SetHdr10Metadata sets the Hdr10Metadata field's value. -func (s *ColorCorrector) SetHdr10Metadata(v *Hdr10Metadata) *ColorCorrector { - s.Hdr10Metadata = v - return s -} - -// SetHue sets the Hue field's value. -func (s *ColorCorrector) SetHue(v int64) *ColorCorrector { - s.Hue = &v - return s -} - -// SetSaturation sets the Saturation field's value. -func (s *ColorCorrector) SetSaturation(v int64) *ColorCorrector { - s.Saturation = &v - return s -} - // Container specific settings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ContainerSettings type ContainerSettings struct { @@ -2440,42 +1846,6 @@ func (s ContainerSettings) GoString() string { return s.String() } -// SetContainer sets the Container field's value. -func (s *ContainerSettings) SetContainer(v ContainerType) *ContainerSettings { - s.Container = v - return s -} - -// SetF4vSettings sets the F4vSettings field's value. -func (s *ContainerSettings) SetF4vSettings(v *F4vSettings) *ContainerSettings { - s.F4vSettings = v - return s -} - -// SetM2tsSettings sets the M2tsSettings field's value. -func (s *ContainerSettings) SetM2tsSettings(v *M2tsSettings) *ContainerSettings { - s.M2tsSettings = v - return s -} - -// SetM3u8Settings sets the M3u8Settings field's value. -func (s *ContainerSettings) SetM3u8Settings(v *M3u8Settings) *ContainerSettings { - s.M3u8Settings = v - return s -} - -// SetMovSettings sets the MovSettings field's value. -func (s *ContainerSettings) SetMovSettings(v *MovSettings) *ContainerSettings { - s.MovSettings = v - return s -} - -// SetMp4Settings sets the Mp4Settings field's value. -func (s *ContainerSettings) SetMp4Settings(v *Mp4Settings) *ContainerSettings { - s.Mp4Settings = v - return s -} - // Send your create job request with your job settings and IAM role. Optionally, // include user metadata and the ARN for the queue. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateJobRequest @@ -2516,42 +1886,6 @@ func (s CreateJobInput) GoString() string { return s.String() } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *CreateJobInput) SetClientRequestToken(v string) *CreateJobInput { - s.ClientRequestToken = &v - return s -} - -// SetJobTemplate sets the JobTemplate field's value. -func (s *CreateJobInput) SetJobTemplate(v string) *CreateJobInput { - s.JobTemplate = &v - return s -} - -// SetQueue sets the Queue field's value. -func (s *CreateJobInput) SetQueue(v string) *CreateJobInput { - s.Queue = &v - return s -} - -// SetRole sets the Role field's value. -func (s *CreateJobInput) SetRole(v string) *CreateJobInput { - s.Role = &v - return s -} - -// SetSettings sets the Settings field's value. -func (s *CreateJobInput) SetSettings(v *JobSettings) *CreateJobInput { - s.Settings = v - return s -} - -// SetUserMetadata sets the UserMetadata field's value. -func (s *CreateJobInput) SetUserMetadata(v map[string]string) *CreateJobInput { - s.UserMetadata = v - return s -} - // Successful create job requests will return the job JSON. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateJobResponse type CreateJobOutput struct { @@ -2579,12 +1913,6 @@ func (s CreateJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJob sets the Job field's value. -func (s *CreateJobOutput) SetJob(v *Job) *CreateJobOutput { - s.Job = v - return s -} - // Send your create job template request with the name of the template and the // JSON for the template. The template JSON should include everything in a valid // job, except for input location and filename, IAM role, and user metadata. @@ -2620,36 +1948,6 @@ func (s CreateJobTemplateInput) GoString() string { return s.String() } -// SetCategory sets the Category field's value. -func (s *CreateJobTemplateInput) SetCategory(v string) *CreateJobTemplateInput { - s.Category = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateJobTemplateInput) SetDescription(v string) *CreateJobTemplateInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateJobTemplateInput) SetName(v string) *CreateJobTemplateInput { - s.Name = &v - return s -} - -// SetQueue sets the Queue field's value. -func (s *CreateJobTemplateInput) SetQueue(v string) *CreateJobTemplateInput { - s.Queue = &v - return s -} - -// SetSettings sets the Settings field's value. -func (s *CreateJobTemplateInput) SetSettings(v *JobTemplateSettings) *CreateJobTemplateInput { - s.Settings = v - return s -} - // Successful create job template requests will return the template JSON. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateJobTemplateResponse type CreateJobTemplateOutput struct { @@ -2677,12 +1975,6 @@ func (s CreateJobTemplateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobTemplate sets the JobTemplate field's value. -func (s *CreateJobTemplateOutput) SetJobTemplate(v *JobTemplate) *CreateJobTemplateOutput { - s.JobTemplate = v - return s -} - // Send your create preset request with the name of the preset and the JSON // for the output settings specified by the preset. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreatePresetRequest @@ -2712,30 +2004,6 @@ func (s CreatePresetInput) GoString() string { return s.String() } -// SetCategory sets the Category field's value. -func (s *CreatePresetInput) SetCategory(v string) *CreatePresetInput { - s.Category = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreatePresetInput) SetDescription(v string) *CreatePresetInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreatePresetInput) SetName(v string) *CreatePresetInput { - s.Name = &v - return s -} - -// SetSettings sets the Settings field's value. -func (s *CreatePresetInput) SetSettings(v *PresetSettings) *CreatePresetInput { - s.Settings = v - return s -} - // Successful create preset requests will return the preset JSON. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreatePresetResponse type CreatePresetOutput struct { @@ -2763,12 +2031,6 @@ func (s CreatePresetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPreset sets the Preset field's value. -func (s *CreatePresetOutput) SetPreset(v *Preset) *CreatePresetOutput { - s.Preset = v - return s -} - // Send your create queue request with the name of the queue. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateQueueRequest type CreateQueueInput struct { @@ -2791,18 +2053,6 @@ func (s CreateQueueInput) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *CreateQueueInput) SetDescription(v string) *CreateQueueInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateQueueInput) SetName(v string) *CreateQueueInput { - s.Name = &v - return s -} - // Successful create queue requests will return the name of the queue you just // created and information about it. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateQueueResponse @@ -2832,12 +2082,6 @@ func (s CreateQueueOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetQueue sets the Queue field's value. -func (s *CreateQueueOutput) SetQueue(v *Queue) *CreateQueueOutput { - s.Queue = v - return s -} - // Specifies DRM settings for DASH outputs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DashIsoEncryptionSettings type DashIsoEncryptionSettings struct { @@ -2857,12 +2101,6 @@ func (s DashIsoEncryptionSettings) GoString() string { return s.String() } -// SetSpekeKeyProvider sets the SpekeKeyProvider field's value. -func (s *DashIsoEncryptionSettings) SetSpekeKeyProvider(v *SpekeKeyProvider) *DashIsoEncryptionSettings { - s.SpekeKeyProvider = v - return s -} - // Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to // DASH_ISO_GROUP_SETTINGS. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DashIsoGroupSettings @@ -2922,54 +2160,6 @@ func (s DashIsoGroupSettings) GoString() string { return s.String() } -// SetBaseUrl sets the BaseUrl field's value. -func (s *DashIsoGroupSettings) SetBaseUrl(v string) *DashIsoGroupSettings { - s.BaseUrl = &v - return s -} - -// SetDestination sets the Destination field's value. -func (s *DashIsoGroupSettings) SetDestination(v string) *DashIsoGroupSettings { - s.Destination = &v - return s -} - -// SetEncryption sets the Encryption field's value. -func (s *DashIsoGroupSettings) SetEncryption(v *DashIsoEncryptionSettings) *DashIsoGroupSettings { - s.Encryption = v - return s -} - -// SetFragmentLength sets the FragmentLength field's value. -func (s *DashIsoGroupSettings) SetFragmentLength(v int64) *DashIsoGroupSettings { - s.FragmentLength = &v - return s -} - -// SetHbbtvCompliance sets the HbbtvCompliance field's value. -func (s *DashIsoGroupSettings) SetHbbtvCompliance(v DashIsoHbbtvCompliance) *DashIsoGroupSettings { - s.HbbtvCompliance = v - return s -} - -// SetMinBufferTime sets the MinBufferTime field's value. -func (s *DashIsoGroupSettings) SetMinBufferTime(v int64) *DashIsoGroupSettings { - s.MinBufferTime = &v - return s -} - -// SetSegmentControl sets the SegmentControl field's value. -func (s *DashIsoGroupSettings) SetSegmentControl(v DashIsoSegmentControl) *DashIsoGroupSettings { - s.SegmentControl = v - return s -} - -// SetSegmentLength sets the SegmentLength field's value. -func (s *DashIsoGroupSettings) SetSegmentLength(v int64) *DashIsoGroupSettings { - s.SegmentLength = &v - return s -} - // Settings for deinterlacer // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Deinterlacer type Deinterlacer struct { @@ -3009,24 +2199,6 @@ func (s Deinterlacer) GoString() string { return s.String() } -// SetAlgorithm sets the Algorithm field's value. -func (s *Deinterlacer) SetAlgorithm(v DeinterlaceAlgorithm) *Deinterlacer { - s.Algorithm = v - return s -} - -// SetControl sets the Control field's value. -func (s *Deinterlacer) SetControl(v DeinterlacerControl) *Deinterlacer { - s.Control = v - return s -} - -// SetMode sets the Mode field's value. -func (s *Deinterlacer) SetMode(v DeinterlacerMode) *Deinterlacer { - s.Mode = v - return s -} - // Delete a job template by sending a request with the job template name // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeleteJobTemplateRequest type DeleteJobTemplateInput struct { @@ -3062,12 +2234,6 @@ func (s *DeleteJobTemplateInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteJobTemplateInput) SetName(v string) *DeleteJobTemplateInput { - s.Name = &v - return s -} - // Delete job template requests will return an OK message or error message with // an empty body. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeleteJobTemplateResponse @@ -3127,12 +2293,6 @@ func (s *DeletePresetInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeletePresetInput) SetName(v string) *DeletePresetInput { - s.Name = &v - return s -} - // Delete preset requests will return an OK message or error message with an // empty body. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeletePresetResponse @@ -3192,12 +2352,6 @@ func (s *DeleteQueueInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteQueueInput) SetName(v string) *DeleteQueueInput { - s.Name = &v - return s -} - // Delete queue requests will return an OK message or error message with an // empty body. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeleteQueueResponse @@ -3247,18 +2401,6 @@ func (s DescribeEndpointsInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeEndpointsInput) SetMaxResults(v int64) *DescribeEndpointsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEndpointsInput) SetNextToken(v string) *DescribeEndpointsInput { - s.NextToken = &v - return s -} - // Successful describe endpoints requests will return your account API endpoint. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DescribeEndpointsResponse type DescribeEndpointsOutput struct { @@ -3288,18 +2430,6 @@ func (s DescribeEndpointsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEndpoints sets the Endpoints field's value. -func (s *DescribeEndpointsOutput) SetEndpoints(v []Endpoint) *DescribeEndpointsOutput { - s.Endpoints = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEndpointsOutput) SetNextToken(v string) *DescribeEndpointsOutput { - s.NextToken = &v - return s -} - // Inserts DVB Network Information Table (NIT) at the specified table repetition // interval. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DvbNitSettings @@ -3328,24 +2458,6 @@ func (s DvbNitSettings) GoString() string { return s.String() } -// SetNetworkId sets the NetworkId field's value. -func (s *DvbNitSettings) SetNetworkId(v int64) *DvbNitSettings { - s.NetworkId = &v - return s -} - -// SetNetworkName sets the NetworkName field's value. -func (s *DvbNitSettings) SetNetworkName(v string) *DvbNitSettings { - s.NetworkName = &v - return s -} - -// SetNitInterval sets the NitInterval field's value. -func (s *DvbNitSettings) SetNitInterval(v int64) *DvbNitSettings { - s.NitInterval = &v - return s -} - // Inserts DVB Service Description Table (NIT) at the specified table repetition // interval. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DvbSdtSettings @@ -3383,30 +2495,6 @@ func (s DvbSdtSettings) GoString() string { return s.String() } -// SetOutputSdt sets the OutputSdt field's value. -func (s *DvbSdtSettings) SetOutputSdt(v OutputSdt) *DvbSdtSettings { - s.OutputSdt = v - return s -} - -// SetSdtInterval sets the SdtInterval field's value. -func (s *DvbSdtSettings) SetSdtInterval(v int64) *DvbSdtSettings { - s.SdtInterval = &v - return s -} - -// SetServiceName sets the ServiceName field's value. -func (s *DvbSdtSettings) SetServiceName(v string) *DvbSdtSettings { - s.ServiceName = &v - return s -} - -// SetServiceProviderName sets the ServiceProviderName field's value. -func (s *DvbSdtSettings) SetServiceProviderName(v string) *DvbSdtSettings { - s.ServiceProviderName = &v - return s -} - // DVB-Sub Destination Settings // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DvbSubDestinationSettings type DvbSubDestinationSettings struct { @@ -3515,102 +2603,6 @@ func (s DvbSubDestinationSettings) GoString() string { return s.String() } -// SetAlignment sets the Alignment field's value. -func (s *DvbSubDestinationSettings) SetAlignment(v DvbSubtitleAlignment) *DvbSubDestinationSettings { - s.Alignment = v - return s -} - -// SetBackgroundColor sets the BackgroundColor field's value. -func (s *DvbSubDestinationSettings) SetBackgroundColor(v DvbSubtitleBackgroundColor) *DvbSubDestinationSettings { - s.BackgroundColor = v - return s -} - -// SetBackgroundOpacity sets the BackgroundOpacity field's value. -func (s *DvbSubDestinationSettings) SetBackgroundOpacity(v int64) *DvbSubDestinationSettings { - s.BackgroundOpacity = &v - return s -} - -// SetFontColor sets the FontColor field's value. -func (s *DvbSubDestinationSettings) SetFontColor(v DvbSubtitleFontColor) *DvbSubDestinationSettings { - s.FontColor = v - return s -} - -// SetFontOpacity sets the FontOpacity field's value. -func (s *DvbSubDestinationSettings) SetFontOpacity(v int64) *DvbSubDestinationSettings { - s.FontOpacity = &v - return s -} - -// SetFontResolution sets the FontResolution field's value. -func (s *DvbSubDestinationSettings) SetFontResolution(v int64) *DvbSubDestinationSettings { - s.FontResolution = &v - return s -} - -// SetFontSize sets the FontSize field's value. -func (s *DvbSubDestinationSettings) SetFontSize(v int64) *DvbSubDestinationSettings { - s.FontSize = &v - return s -} - -// SetOutlineColor sets the OutlineColor field's value. -func (s *DvbSubDestinationSettings) SetOutlineColor(v DvbSubtitleOutlineColor) *DvbSubDestinationSettings { - s.OutlineColor = v - return s -} - -// SetOutlineSize sets the OutlineSize field's value. -func (s *DvbSubDestinationSettings) SetOutlineSize(v int64) *DvbSubDestinationSettings { - s.OutlineSize = &v - return s -} - -// SetShadowColor sets the ShadowColor field's value. -func (s *DvbSubDestinationSettings) SetShadowColor(v DvbSubtitleShadowColor) *DvbSubDestinationSettings { - s.ShadowColor = v - return s -} - -// SetShadowOpacity sets the ShadowOpacity field's value. -func (s *DvbSubDestinationSettings) SetShadowOpacity(v int64) *DvbSubDestinationSettings { - s.ShadowOpacity = &v - return s -} - -// SetShadowXOffset sets the ShadowXOffset field's value. -func (s *DvbSubDestinationSettings) SetShadowXOffset(v int64) *DvbSubDestinationSettings { - s.ShadowXOffset = &v - return s -} - -// SetShadowYOffset sets the ShadowYOffset field's value. -func (s *DvbSubDestinationSettings) SetShadowYOffset(v int64) *DvbSubDestinationSettings { - s.ShadowYOffset = &v - return s -} - -// SetTeletextSpacing sets the TeletextSpacing field's value. -func (s *DvbSubDestinationSettings) SetTeletextSpacing(v DvbSubtitleTeletextSpacing) *DvbSubDestinationSettings { - s.TeletextSpacing = v - return s -} - -// SetXPosition sets the XPosition field's value. -func (s *DvbSubDestinationSettings) SetXPosition(v int64) *DvbSubDestinationSettings { - s.XPosition = &v - return s -} - -// SetYPosition sets the YPosition field's value. -func (s *DvbSubDestinationSettings) SetYPosition(v int64) *DvbSubDestinationSettings { - s.YPosition = &v - return s -} - // DVB Sub Source Settings // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DvbSubSourceSettings type DvbSubSourceSettings struct { @@ -3632,12 +2624,6 @@ func (s DvbSubSourceSettings) GoString() string { return s.String() } -// SetPid sets the Pid field's value. -func (s *DvbSubSourceSettings) SetPid(v int64) *DvbSubSourceSettings { - s.Pid = &v - return s -} - // Inserts DVB Time and Date Table (TDT) at the specified table repetition interval. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DvbTdtSettings type DvbTdtSettings struct { @@ -3658,12 +2644,6 @@ func (s DvbTdtSettings) GoString() string { return s.String() } -// SetTdtInterval sets the TdtInterval field's value. -func (s *DvbTdtSettings) SetTdtInterval(v int64) *DvbTdtSettings { - s.TdtInterval = &v - return s -} - // Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to // the value EAC3. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Eac3Settings @@ -3762,132 +2742,6 @@ func (s Eac3Settings) GoString() string { return s.String() } -// SetAttenuationControl sets the AttenuationControl field's value. -func (s *Eac3Settings) SetAttenuationControl(v Eac3AttenuationControl) *Eac3Settings { - s.AttenuationControl = v - return s -} - -// SetBitrate sets the Bitrate field's value. -func (s *Eac3Settings) SetBitrate(v int64) *Eac3Settings { - s.Bitrate = &v - return s -} - -// SetBitstreamMode sets the BitstreamMode field's value. -func (s *Eac3Settings) SetBitstreamMode(v Eac3BitstreamMode) *Eac3Settings { - s.BitstreamMode = v - return s -} - -// SetCodingMode sets the CodingMode field's value. -func (s *Eac3Settings) SetCodingMode(v Eac3CodingMode) *Eac3Settings { - s.CodingMode = v - return s -} - -// SetDcFilter sets the DcFilter field's value. -func (s *Eac3Settings) SetDcFilter(v Eac3DcFilter) *Eac3Settings { - s.DcFilter = v - return s -} - -// SetDialnorm sets the Dialnorm field's value. -func (s *Eac3Settings) SetDialnorm(v int64) *Eac3Settings { - s.Dialnorm = &v - return s -} - -// SetDynamicRangeCompressionLine sets the DynamicRangeCompressionLine field's value. -func (s *Eac3Settings) SetDynamicRangeCompressionLine(v Eac3DynamicRangeCompressionLine) *Eac3Settings { - s.DynamicRangeCompressionLine = v - return s -} - -// SetDynamicRangeCompressionRf sets the DynamicRangeCompressionRf field's value. -func (s *Eac3Settings) SetDynamicRangeCompressionRf(v Eac3DynamicRangeCompressionRf) *Eac3Settings { - s.DynamicRangeCompressionRf = v - return s -} - -// SetLfeControl sets the LfeControl field's value. -func (s *Eac3Settings) SetLfeControl(v Eac3LfeControl) *Eac3Settings { - s.LfeControl = v - return s -} - -// SetLfeFilter sets the LfeFilter field's value. -func (s *Eac3Settings) SetLfeFilter(v Eac3LfeFilter) *Eac3Settings { - s.LfeFilter = v - return s -} - -// SetLoRoCenterMixLevel sets the LoRoCenterMixLevel field's value. -func (s *Eac3Settings) SetLoRoCenterMixLevel(v float64) *Eac3Settings { - s.LoRoCenterMixLevel = &v - return s -} - -// SetLoRoSurroundMixLevel sets the LoRoSurroundMixLevel field's value. -func (s *Eac3Settings) SetLoRoSurroundMixLevel(v float64) *Eac3Settings { - s.LoRoSurroundMixLevel = &v - return s -} - -// SetLtRtCenterMixLevel sets the LtRtCenterMixLevel field's value. -func (s *Eac3Settings) SetLtRtCenterMixLevel(v float64) *Eac3Settings { - s.LtRtCenterMixLevel = &v - return s -} - -// SetLtRtSurroundMixLevel sets the LtRtSurroundMixLevel field's value. -func (s *Eac3Settings) SetLtRtSurroundMixLevel(v float64) *Eac3Settings { - s.LtRtSurroundMixLevel = &v - return s -} - -// SetMetadataControl sets the MetadataControl field's value. -func (s *Eac3Settings) SetMetadataControl(v Eac3MetadataControl) *Eac3Settings { - s.MetadataControl = v - return s -} - -// SetPassthroughControl sets the PassthroughControl field's value. -func (s *Eac3Settings) SetPassthroughControl(v Eac3PassthroughControl) *Eac3Settings { - s.PassthroughControl = v - return s -} - -// SetPhaseControl sets the PhaseControl field's value. -func (s *Eac3Settings) SetPhaseControl(v Eac3PhaseControl) *Eac3Settings { - s.PhaseControl = v - return s -} - -// SetSampleRate sets the SampleRate field's value. -func (s *Eac3Settings) SetSampleRate(v int64) *Eac3Settings { - s.SampleRate = &v - return s -} - -// SetStereoDownmix sets the StereoDownmix field's value. -func (s *Eac3Settings) SetStereoDownmix(v Eac3StereoDownmix) *Eac3Settings { - s.StereoDownmix = v - return s -} - -// SetSurroundExMode sets the SurroundExMode field's value. -func (s *Eac3Settings) SetSurroundExMode(v Eac3SurroundExMode) *Eac3Settings { - s.SurroundExMode = v - return s -} - -// SetSurroundMode sets the SurroundMode field's value. -func (s *Eac3Settings) SetSurroundMode(v Eac3SurroundMode) *Eac3Settings { - s.SurroundMode = v - return s -} - // Settings for embedded captions Source // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/EmbeddedSourceSettings type EmbeddedSourceSettings struct { @@ -3917,24 +2771,6 @@ func (s EmbeddedSourceSettings) GoString() string { return s.String() } -// SetConvert608To708 sets the Convert608To708 field's value. -func (s *EmbeddedSourceSettings) SetConvert608To708(v EmbeddedConvert608To708) *EmbeddedSourceSettings { - s.Convert608To708 = v - return s -} - -// SetSource608ChannelNumber sets the Source608ChannelNumber field's value. -func (s *EmbeddedSourceSettings) SetSource608ChannelNumber(v int64) *EmbeddedSourceSettings { - s.Source608ChannelNumber = &v - return s -} - -// SetSource608TrackNumber sets the Source608TrackNumber field's value. -func (s *EmbeddedSourceSettings) SetSource608TrackNumber(v int64) *EmbeddedSourceSettings { - s.Source608TrackNumber = &v - return s -} - // Describes account specific API endpoint // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Endpoint type Endpoint struct { @@ -3954,12 +2790,6 @@ func (s Endpoint) GoString() string { return s.String() } -// SetUrl sets the Url field's value. -func (s *Endpoint) SetUrl(v string) *Endpoint { - s.Url = &v - return s -} - // Settings for F4v container // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/F4vSettings type F4vSettings struct { @@ -3981,12 +2811,6 @@ func (s F4vSettings) GoString() string { return s.String() } -// SetMoovPlacement sets the MoovPlacement field's value. -func (s *F4vSettings) SetMoovPlacement(v F4vMoovPlacement) *F4vSettings { - s.MoovPlacement = v - return s -} - // Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to // FILE_GROUP_SETTINGS. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/FileGroupSettings @@ -4011,12 +2835,6 @@ func (s FileGroupSettings) GoString() string { return s.String() } -// SetDestination sets the Destination field's value. -func (s *FileGroupSettings) SetDestination(v string) *FileGroupSettings { - s.Destination = &v - return s -} - // Settings for File-based Captions in Source // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/FileSourceSettings type FileSourceSettings struct { @@ -4047,24 +2865,6 @@ func (s FileSourceSettings) GoString() string { return s.String() } -// SetConvert608To708 sets the Convert608To708 field's value. -func (s *FileSourceSettings) SetConvert608To708(v FileSourceConvert608To708) *FileSourceSettings { - s.Convert608To708 = v - return s -} - -// SetSourceFile sets the SourceFile field's value. -func (s *FileSourceSettings) SetSourceFile(v string) *FileSourceSettings { - s.SourceFile = &v - return s -} - -// SetTimeDelta sets the TimeDelta field's value. -func (s *FileSourceSettings) SetTimeDelta(v int64) *FileSourceSettings { - s.TimeDelta = &v - return s -} - // Required when you set (Codec) under (VideoDescription)>(CodecSettings) to // the value FRAME_CAPTURE. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/FrameCaptureSettings @@ -4104,30 +2904,6 @@ func (s FrameCaptureSettings) GoString() string { return s.String() } -// SetFramerateDenominator sets the FramerateDenominator field's value. -func (s *FrameCaptureSettings) SetFramerateDenominator(v int64) *FrameCaptureSettings { - s.FramerateDenominator = &v - return s -} - -// SetFramerateNumerator sets the FramerateNumerator field's value. -func (s *FrameCaptureSettings) SetFramerateNumerator(v int64) *FrameCaptureSettings { - s.FramerateNumerator = &v - return s -} - -// SetMaxCaptures sets the MaxCaptures field's value. -func (s *FrameCaptureSettings) SetMaxCaptures(v int64) *FrameCaptureSettings { - s.MaxCaptures = &v - return s -} - -// SetQuality sets the Quality field's value. -func (s *FrameCaptureSettings) SetQuality(v int64) *FrameCaptureSettings { - s.Quality = &v - return s -} - // Query a job by sending a request with the job ID. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetJobRequest type GetJobInput struct { @@ -4163,12 +2939,6 @@ func (s *GetJobInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *GetJobInput) SetId(v string) *GetJobInput { - s.Id = &v - return s -} - // Successful get job requests will return an OK message and the job JSON. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetJobResponse type GetJobOutput struct { @@ -4196,12 +2966,6 @@ func (s GetJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJob sets the Job field's value. -func (s *GetJobOutput) SetJob(v *Job) *GetJobOutput { - s.Job = v - return s -} - // Query a job template by sending a request with the job template name. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetJobTemplateRequest type GetJobTemplateInput struct { @@ -4237,12 +3001,6 @@ func (s *GetJobTemplateInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *GetJobTemplateInput) SetName(v string) *GetJobTemplateInput { - s.Name = &v - return s -} - // Successful get job template requests will return an OK message and the job // template JSON. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetJobTemplateResponse @@ -4271,12 +3029,6 @@ func (s GetJobTemplateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobTemplate sets the JobTemplate field's value. -func (s *GetJobTemplateOutput) SetJobTemplate(v *JobTemplate) *GetJobTemplateOutput { - s.JobTemplate = v - return s -} - // Query a preset by sending a request with the preset name. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetPresetRequest type GetPresetInput struct { @@ -4312,12 +3064,6 @@ func (s *GetPresetInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *GetPresetInput) SetName(v string) *GetPresetInput { - s.Name = &v - return s -} - // Successful get preset requests will return an OK message and the preset JSON. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetPresetResponse type GetPresetOutput struct { @@ -4345,12 +3091,6 @@ func (s GetPresetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPreset sets the Preset field's value. -func (s *GetPresetOutput) SetPreset(v *Preset) *GetPresetOutput { - s.Preset = v - return s -} - // Query a queue by sending a request with the queue name. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetQueueRequest type GetQueueInput struct { @@ -4386,12 +3126,6 @@ func (s *GetQueueInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *GetQueueInput) SetName(v string) *GetQueueInput { - s.Name = &v - return s -} - // Successful get queue requests will return an OK message and the queue JSON. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetQueueResponse type GetQueueOutput struct { @@ -4420,12 +3154,6 @@ func (s GetQueueOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetQueue sets the Queue field's value. -func (s *GetQueueOutput) SetQueue(v *Queue) *GetQueueOutput { - s.Queue = v - return s -} - // Required when you set (Codec) under (VideoDescription)>(CodecSettings) to // the value H_264. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/H264Settings @@ -4609,228 +3337,6 @@ func (s H264Settings) GoString() string { return s.String() } -// SetAdaptiveQuantization sets the AdaptiveQuantization field's value. -func (s *H264Settings) SetAdaptiveQuantization(v H264AdaptiveQuantization) *H264Settings { - s.AdaptiveQuantization = v - return s -} - -// SetBitrate sets the Bitrate field's value. -func (s *H264Settings) SetBitrate(v int64) *H264Settings { - s.Bitrate = &v - return s -} - -// SetCodecLevel sets the CodecLevel field's value. -func (s *H264Settings) SetCodecLevel(v H264CodecLevel) *H264Settings { - s.CodecLevel = v - return s -} - -// SetCodecProfile sets the CodecProfile field's value. -func (s *H264Settings) SetCodecProfile(v H264CodecProfile) *H264Settings { - s.CodecProfile = v - return s -} - -// SetEntropyEncoding sets the EntropyEncoding field's value. -func (s *H264Settings) SetEntropyEncoding(v H264EntropyEncoding) *H264Settings { - s.EntropyEncoding = v - return s -} - -// SetFieldEncoding sets the FieldEncoding field's value. -func (s *H264Settings) SetFieldEncoding(v H264FieldEncoding) *H264Settings { - s.FieldEncoding = v - return s -} - -// SetFlickerAdaptiveQuantization sets the FlickerAdaptiveQuantization field's value. -func (s *H264Settings) SetFlickerAdaptiveQuantization(v H264FlickerAdaptiveQuantization) *H264Settings { - s.FlickerAdaptiveQuantization = v - return s -} - -// SetFramerateControl sets the FramerateControl field's value. -func (s *H264Settings) SetFramerateControl(v H264FramerateControl) *H264Settings { - s.FramerateControl = v - return s -} - -// SetFramerateConversionAlgorithm sets the FramerateConversionAlgorithm field's value. -func (s *H264Settings) SetFramerateConversionAlgorithm(v H264FramerateConversionAlgorithm) *H264Settings { - s.FramerateConversionAlgorithm = v - return s -} - -// SetFramerateDenominator sets the FramerateDenominator field's value. -func (s *H264Settings) SetFramerateDenominator(v int64) *H264Settings { - s.FramerateDenominator = &v - return s -} - -// SetFramerateNumerator sets the FramerateNumerator field's value. -func (s *H264Settings) SetFramerateNumerator(v int64) *H264Settings { - s.FramerateNumerator = &v - return s -} - -// SetGopBReference sets the GopBReference field's value. -func (s *H264Settings) SetGopBReference(v H264GopBReference) *H264Settings { - s.GopBReference = v - return s -} - -// SetGopClosedCadence sets the GopClosedCadence field's value. -func (s *H264Settings) SetGopClosedCadence(v int64) *H264Settings { - s.GopClosedCadence = &v - return s -} - -// SetGopSize sets the GopSize field's value. -func (s *H264Settings) SetGopSize(v float64) *H264Settings { - s.GopSize = &v - return s -} - -// SetGopSizeUnits sets the GopSizeUnits field's value. -func (s *H264Settings) SetGopSizeUnits(v H264GopSizeUnits) *H264Settings { - s.GopSizeUnits = v - return s -} - -// SetHrdBufferInitialFillPercentage sets the HrdBufferInitialFillPercentage field's value. -func (s *H264Settings) SetHrdBufferInitialFillPercentage(v int64) *H264Settings { - s.HrdBufferInitialFillPercentage = &v - return s -} - -// SetHrdBufferSize sets the HrdBufferSize field's value. -func (s *H264Settings) SetHrdBufferSize(v int64) *H264Settings { - s.HrdBufferSize = &v - return s -} - -// SetInterlaceMode sets the InterlaceMode field's value. -func (s *H264Settings) SetInterlaceMode(v H264InterlaceMode) *H264Settings { - s.InterlaceMode = v - return s -} - -// SetMaxBitrate sets the MaxBitrate field's value. -func (s *H264Settings) SetMaxBitrate(v int64) *H264Settings { - s.MaxBitrate = &v - return s -} - -// SetMinIInterval sets the MinIInterval field's value. -func (s *H264Settings) SetMinIInterval(v int64) *H264Settings { - s.MinIInterval = &v - return s -} - -// SetNumberBFramesBetweenReferenceFrames sets the NumberBFramesBetweenReferenceFrames field's value. -func (s *H264Settings) SetNumberBFramesBetweenReferenceFrames(v int64) *H264Settings { - s.NumberBFramesBetweenReferenceFrames = &v - return s -} - -// SetNumberReferenceFrames sets the NumberReferenceFrames field's value. -func (s *H264Settings) SetNumberReferenceFrames(v int64) *H264Settings { - s.NumberReferenceFrames = &v - return s -} - -// SetParControl sets the ParControl field's value. -func (s *H264Settings) SetParControl(v H264ParControl) *H264Settings { - s.ParControl = v - return s -} - -// SetParDenominator sets the ParDenominator field's value. -func (s *H264Settings) SetParDenominator(v int64) *H264Settings { - s.ParDenominator = &v - return s -} - -// SetParNumerator sets the ParNumerator field's value. -func (s *H264Settings) SetParNumerator(v int64) *H264Settings { - s.ParNumerator = &v - return s -} - -// SetQualityTuningLevel sets the QualityTuningLevel field's value. -func (s *H264Settings) SetQualityTuningLevel(v H264QualityTuningLevel) *H264Settings { - s.QualityTuningLevel = v - return s -} - -// SetRateControlMode sets the RateControlMode field's value. -func (s *H264Settings) SetRateControlMode(v H264RateControlMode) *H264Settings { - s.RateControlMode = v - return s -} - -// SetRepeatPps sets the RepeatPps field's value. -func (s *H264Settings) SetRepeatPps(v H264RepeatPps) *H264Settings { - s.RepeatPps = v - return s -} - -// SetSceneChangeDetect sets the SceneChangeDetect field's value. -func (s *H264Settings) SetSceneChangeDetect(v H264SceneChangeDetect) *H264Settings { - s.SceneChangeDetect = v - return s -} - -// SetSlices sets the Slices field's value. -func (s *H264Settings) SetSlices(v int64) *H264Settings { - s.Slices = &v - return s -} - -// SetSlowPal sets the SlowPal field's value. -func (s *H264Settings) SetSlowPal(v H264SlowPal) *H264Settings { - s.SlowPal = v - return s -} - -// SetSoftness sets the Softness field's value. -func (s *H264Settings) SetSoftness(v int64) *H264Settings { - s.Softness = &v - return s -} - -// SetSpatialAdaptiveQuantization sets the SpatialAdaptiveQuantization field's value. -func (s *H264Settings) SetSpatialAdaptiveQuantization(v H264SpatialAdaptiveQuantization) *H264Settings { - s.SpatialAdaptiveQuantization = v - return s -} - -// SetSyntax sets the Syntax field's value. -func (s *H264Settings) SetSyntax(v H264Syntax) *H264Settings { - s.Syntax = v - return s -} - -// SetTelecine sets the Telecine field's value. -func (s *H264Settings) SetTelecine(v H264Telecine) *H264Settings { - s.Telecine = v - return s -} - -// SetTemporalAdaptiveQuantization sets the TemporalAdaptiveQuantization field's value. -func (s *H264Settings) SetTemporalAdaptiveQuantization(v H264TemporalAdaptiveQuantization) *H264Settings { - s.TemporalAdaptiveQuantization = v - return s -} - -// SetUnregisteredSeiTimecode sets the UnregisteredSeiTimecode field's value. -func (s *H264Settings) SetUnregisteredSeiTimecode(v H264UnregisteredSeiTimecode) *H264Settings { - s.UnregisteredSeiTimecode = v - return s -} - // Settings for H265 codec // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/H265Settings type H265Settings struct { @@ -5015,234 +3521,18 @@ func (s H265Settings) GoString() string { return s.String() } -// SetAdaptiveQuantization sets the AdaptiveQuantization field's value. -func (s *H265Settings) SetAdaptiveQuantization(v H265AdaptiveQuantization) *H265Settings { - s.AdaptiveQuantization = v - return s -} +// Use the HDR master display (Hdr10Metadata) settings to provide values for +// HDR color. These values vary depending on the input video and must be provided +// by a color grader. Range is 0 to 50,000, each increment represents 0.00002 +// in CIE1931 color coordinate. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Hdr10Metadata +type Hdr10Metadata struct { + _ struct{} `type:"structure"` -// SetAlternateTransferFunctionSei sets the AlternateTransferFunctionSei field's value. -func (s *H265Settings) SetAlternateTransferFunctionSei(v H265AlternateTransferFunctionSei) *H265Settings { - s.AlternateTransferFunctionSei = v - return s -} - -// SetBitrate sets the Bitrate field's value. -func (s *H265Settings) SetBitrate(v int64) *H265Settings { - s.Bitrate = &v - return s -} - -// SetCodecLevel sets the CodecLevel field's value. -func (s *H265Settings) SetCodecLevel(v H265CodecLevel) *H265Settings { - s.CodecLevel = v - return s -} - -// SetCodecProfile sets the CodecProfile field's value. -func (s *H265Settings) SetCodecProfile(v H265CodecProfile) *H265Settings { - s.CodecProfile = v - return s -} - -// SetFlickerAdaptiveQuantization sets the FlickerAdaptiveQuantization field's value. -func (s *H265Settings) SetFlickerAdaptiveQuantization(v H265FlickerAdaptiveQuantization) *H265Settings { - s.FlickerAdaptiveQuantization = v - return s -} - -// SetFramerateControl sets the FramerateControl field's value. -func (s *H265Settings) SetFramerateControl(v H265FramerateControl) *H265Settings { - s.FramerateControl = v - return s -} - -// SetFramerateConversionAlgorithm sets the FramerateConversionAlgorithm field's value. -func (s *H265Settings) SetFramerateConversionAlgorithm(v H265FramerateConversionAlgorithm) *H265Settings { - s.FramerateConversionAlgorithm = v - return s -} - -// SetFramerateDenominator sets the FramerateDenominator field's value. -func (s *H265Settings) SetFramerateDenominator(v int64) *H265Settings { - s.FramerateDenominator = &v - return s -} - -// SetFramerateNumerator sets the FramerateNumerator field's value. -func (s *H265Settings) SetFramerateNumerator(v int64) *H265Settings { - s.FramerateNumerator = &v - return s -} - -// SetGopBReference sets the GopBReference field's value. -func (s *H265Settings) SetGopBReference(v H265GopBReference) *H265Settings { - s.GopBReference = v - return s -} - -// SetGopClosedCadence sets the GopClosedCadence field's value. -func (s *H265Settings) SetGopClosedCadence(v int64) *H265Settings { - s.GopClosedCadence = &v - return s -} - -// SetGopSize sets the GopSize field's value. -func (s *H265Settings) SetGopSize(v float64) *H265Settings { - s.GopSize = &v - return s -} - -// SetGopSizeUnits sets the GopSizeUnits field's value. -func (s *H265Settings) SetGopSizeUnits(v H265GopSizeUnits) *H265Settings { - s.GopSizeUnits = v - return s -} - -// SetHrdBufferInitialFillPercentage sets the HrdBufferInitialFillPercentage field's value. -func (s *H265Settings) SetHrdBufferInitialFillPercentage(v int64) *H265Settings { - s.HrdBufferInitialFillPercentage = &v - return s -} - -// SetHrdBufferSize sets the HrdBufferSize field's value. -func (s *H265Settings) SetHrdBufferSize(v int64) *H265Settings { - s.HrdBufferSize = &v - return s -} - -// SetInterlaceMode sets the InterlaceMode field's value. -func (s *H265Settings) SetInterlaceMode(v H265InterlaceMode) *H265Settings { - s.InterlaceMode = v - return s -} - -// SetMaxBitrate sets the MaxBitrate field's value. -func (s *H265Settings) SetMaxBitrate(v int64) *H265Settings { - s.MaxBitrate = &v - return s -} - -// SetMinIInterval sets the MinIInterval field's value. -func (s *H265Settings) SetMinIInterval(v int64) *H265Settings { - s.MinIInterval = &v - return s -} - -// SetNumberBFramesBetweenReferenceFrames sets the NumberBFramesBetweenReferenceFrames field's value. -func (s *H265Settings) SetNumberBFramesBetweenReferenceFrames(v int64) *H265Settings { - s.NumberBFramesBetweenReferenceFrames = &v - return s -} - -// SetNumberReferenceFrames sets the NumberReferenceFrames field's value. -func (s *H265Settings) SetNumberReferenceFrames(v int64) *H265Settings { - s.NumberReferenceFrames = &v - return s -} - -// SetParControl sets the ParControl field's value. -func (s *H265Settings) SetParControl(v H265ParControl) *H265Settings { - s.ParControl = v - return s -} - -// SetParDenominator sets the ParDenominator field's value. -func (s *H265Settings) SetParDenominator(v int64) *H265Settings { - s.ParDenominator = &v - return s -} - -// SetParNumerator sets the ParNumerator field's value. -func (s *H265Settings) SetParNumerator(v int64) *H265Settings { - s.ParNumerator = &v - return s -} - -// SetQualityTuningLevel sets the QualityTuningLevel field's value. -func (s *H265Settings) SetQualityTuningLevel(v H265QualityTuningLevel) *H265Settings { - s.QualityTuningLevel = v - return s -} - -// SetRateControlMode sets the RateControlMode field's value. -func (s *H265Settings) SetRateControlMode(v H265RateControlMode) *H265Settings { - s.RateControlMode = v - return s -} - -// SetSampleAdaptiveOffsetFilterMode sets the SampleAdaptiveOffsetFilterMode field's value. -func (s *H265Settings) SetSampleAdaptiveOffsetFilterMode(v H265SampleAdaptiveOffsetFilterMode) *H265Settings { - s.SampleAdaptiveOffsetFilterMode = v - return s -} - -// SetSceneChangeDetect sets the SceneChangeDetect field's value. -func (s *H265Settings) SetSceneChangeDetect(v H265SceneChangeDetect) *H265Settings { - s.SceneChangeDetect = v - return s -} - -// SetSlices sets the Slices field's value. -func (s *H265Settings) SetSlices(v int64) *H265Settings { - s.Slices = &v - return s -} - -// SetSlowPal sets the SlowPal field's value. -func (s *H265Settings) SetSlowPal(v H265SlowPal) *H265Settings { - s.SlowPal = v - return s -} - -// SetSpatialAdaptiveQuantization sets the SpatialAdaptiveQuantization field's value. -func (s *H265Settings) SetSpatialAdaptiveQuantization(v H265SpatialAdaptiveQuantization) *H265Settings { - s.SpatialAdaptiveQuantization = v - return s -} - -// SetTelecine sets the Telecine field's value. -func (s *H265Settings) SetTelecine(v H265Telecine) *H265Settings { - s.Telecine = v - return s -} - -// SetTemporalAdaptiveQuantization sets the TemporalAdaptiveQuantization field's value. -func (s *H265Settings) SetTemporalAdaptiveQuantization(v H265TemporalAdaptiveQuantization) *H265Settings { - s.TemporalAdaptiveQuantization = v - return s -} - -// SetTemporalIds sets the TemporalIds field's value. -func (s *H265Settings) SetTemporalIds(v H265TemporalIds) *H265Settings { - s.TemporalIds = v - return s -} - -// SetTiles sets the Tiles field's value. -func (s *H265Settings) SetTiles(v H265Tiles) *H265Settings { - s.Tiles = v - return s -} - -// SetUnregisteredSeiTimecode sets the UnregisteredSeiTimecode field's value. -func (s *H265Settings) SetUnregisteredSeiTimecode(v H265UnregisteredSeiTimecode) *H265Settings { - s.UnregisteredSeiTimecode = v - return s -} - -// Use the HDR master display (Hdr10Metadata) settings to provide values for -// HDR color. These values vary depending on the input video and must be provided -// by a color grader. Range is 0 to 50,000, each increment represents 0.00002 -// in CIE1931 color coordinate. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Hdr10Metadata -type Hdr10Metadata struct { - _ struct{} `type:"structure"` - - // HDR Master Display Information comes from the color grader and the color - // grading tools. Range is 0 to 50,000, each increment represents 0.00002 in - // CIE1931 color coordinate. - BluePrimaryX *int64 `locationName:"bluePrimaryX" type:"integer"` + // HDR Master Display Information comes from the color grader and the color + // grading tools. Range is 0 to 50,000, each increment represents 0.00002 in + // CIE1931 color coordinate. + BluePrimaryX *int64 `locationName:"bluePrimaryX" type:"integer"` // HDR Master Display Information comes from the color grader and the color // grading tools. Range is 0 to 50,000, each increment represents 0.00002 in @@ -5306,78 +3596,6 @@ func (s Hdr10Metadata) GoString() string { return s.String() } -// SetBluePrimaryX sets the BluePrimaryX field's value. -func (s *Hdr10Metadata) SetBluePrimaryX(v int64) *Hdr10Metadata { - s.BluePrimaryX = &v - return s -} - -// SetBluePrimaryY sets the BluePrimaryY field's value. -func (s *Hdr10Metadata) SetBluePrimaryY(v int64) *Hdr10Metadata { - s.BluePrimaryY = &v - return s -} - -// SetGreenPrimaryX sets the GreenPrimaryX field's value. -func (s *Hdr10Metadata) SetGreenPrimaryX(v int64) *Hdr10Metadata { - s.GreenPrimaryX = &v - return s -} - -// SetGreenPrimaryY sets the GreenPrimaryY field's value. -func (s *Hdr10Metadata) SetGreenPrimaryY(v int64) *Hdr10Metadata { - s.GreenPrimaryY = &v - return s -} - -// SetMaxContentLightLevel sets the MaxContentLightLevel field's value. -func (s *Hdr10Metadata) SetMaxContentLightLevel(v int64) *Hdr10Metadata { - s.MaxContentLightLevel = &v - return s -} - -// SetMaxFrameAverageLightLevel sets the MaxFrameAverageLightLevel field's value. -func (s *Hdr10Metadata) SetMaxFrameAverageLightLevel(v int64) *Hdr10Metadata { - s.MaxFrameAverageLightLevel = &v - return s -} - -// SetMaxLuminance sets the MaxLuminance field's value. -func (s *Hdr10Metadata) SetMaxLuminance(v int64) *Hdr10Metadata { - s.MaxLuminance = &v - return s -} - -// SetMinLuminance sets the MinLuminance field's value. -func (s *Hdr10Metadata) SetMinLuminance(v int64) *Hdr10Metadata { - s.MinLuminance = &v - return s -} - -// SetRedPrimaryX sets the RedPrimaryX field's value. -func (s *Hdr10Metadata) SetRedPrimaryX(v int64) *Hdr10Metadata { - s.RedPrimaryX = &v - return s -} - -// SetRedPrimaryY sets the RedPrimaryY field's value. -func (s *Hdr10Metadata) SetRedPrimaryY(v int64) *Hdr10Metadata { - s.RedPrimaryY = &v - return s -} - -// SetWhitePointX sets the WhitePointX field's value. -func (s *Hdr10Metadata) SetWhitePointX(v int64) *Hdr10Metadata { - s.WhitePointX = &v - return s -} - -// SetWhitePointY sets the WhitePointY field's value. -func (s *Hdr10Metadata) SetWhitePointY(v int64) *Hdr10Metadata { - s.WhitePointY = &v - return s -} - // Caption Language Mapping // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/HlsCaptionLanguageMapping type HlsCaptionLanguageMapping struct { @@ -5404,24 +3622,6 @@ func (s HlsCaptionLanguageMapping) GoString() string { return s.String() } -// SetCaptionChannel sets the CaptionChannel field's value. -func (s *HlsCaptionLanguageMapping) SetCaptionChannel(v int64) *HlsCaptionLanguageMapping { - s.CaptionChannel = &v - return s -} - -// SetLanguageCode sets the LanguageCode field's value. -func (s *HlsCaptionLanguageMapping) SetLanguageCode(v LanguageCode) *HlsCaptionLanguageMapping { - s.LanguageCode = v - return s -} - -// SetLanguageDescription sets the LanguageDescription field's value. -func (s *HlsCaptionLanguageMapping) SetLanguageDescription(v string) *HlsCaptionLanguageMapping { - s.LanguageDescription = &v - return s -} - // Settings for HLS encryption // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/HlsEncryptionSettings type HlsEncryptionSettings struct { @@ -5461,42 +3661,6 @@ func (s HlsEncryptionSettings) GoString() string { return s.String() } -// SetConstantInitializationVector sets the ConstantInitializationVector field's value. -func (s *HlsEncryptionSettings) SetConstantInitializationVector(v string) *HlsEncryptionSettings { - s.ConstantInitializationVector = &v - return s -} - -// SetEncryptionMethod sets the EncryptionMethod field's value. -func (s *HlsEncryptionSettings) SetEncryptionMethod(v HlsEncryptionType) *HlsEncryptionSettings { - s.EncryptionMethod = v - return s -} - -// SetInitializationVectorInManifest sets the InitializationVectorInManifest field's value. -func (s *HlsEncryptionSettings) SetInitializationVectorInManifest(v HlsInitializationVectorInManifest) *HlsEncryptionSettings { - s.InitializationVectorInManifest = v - return s -} - -// SetSpekeKeyProvider sets the SpekeKeyProvider field's value. -func (s *HlsEncryptionSettings) SetSpekeKeyProvider(v *SpekeKeyProvider) *HlsEncryptionSettings { - s.SpekeKeyProvider = v - return s -} - -// SetStaticKeyProvider sets the StaticKeyProvider field's value. -func (s *HlsEncryptionSettings) SetStaticKeyProvider(v *StaticKeyProvider) *HlsEncryptionSettings { - s.StaticKeyProvider = v - return s -} - -// SetType sets the Type field's value. -func (s *HlsEncryptionSettings) SetType(v HlsKeyProviderType) *HlsEncryptionSettings { - s.Type = v - return s -} - // Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to // HLS_GROUP_SETTINGS. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/HlsGroupSettings @@ -5609,138 +3773,6 @@ func (s HlsGroupSettings) GoString() string { return s.String() } -// SetAdMarkers sets the AdMarkers field's value. -func (s *HlsGroupSettings) SetAdMarkers(v []HlsAdMarkers) *HlsGroupSettings { - s.AdMarkers = v - return s -} - -// SetBaseUrl sets the BaseUrl field's value. -func (s *HlsGroupSettings) SetBaseUrl(v string) *HlsGroupSettings { - s.BaseUrl = &v - return s -} - -// SetCaptionLanguageMappings sets the CaptionLanguageMappings field's value. -func (s *HlsGroupSettings) SetCaptionLanguageMappings(v []HlsCaptionLanguageMapping) *HlsGroupSettings { - s.CaptionLanguageMappings = v - return s -} - -// SetCaptionLanguageSetting sets the CaptionLanguageSetting field's value. -func (s *HlsGroupSettings) SetCaptionLanguageSetting(v HlsCaptionLanguageSetting) *HlsGroupSettings { - s.CaptionLanguageSetting = v - return s -} - -// SetClientCache sets the ClientCache field's value. -func (s *HlsGroupSettings) SetClientCache(v HlsClientCache) *HlsGroupSettings { - s.ClientCache = v - return s -} - -// SetCodecSpecification sets the CodecSpecification field's value. -func (s *HlsGroupSettings) SetCodecSpecification(v HlsCodecSpecification) *HlsGroupSettings { - s.CodecSpecification = v - return s -} - -// SetDestination sets the Destination field's value. -func (s *HlsGroupSettings) SetDestination(v string) *HlsGroupSettings { - s.Destination = &v - return s -} - -// SetDirectoryStructure sets the DirectoryStructure field's value. -func (s *HlsGroupSettings) SetDirectoryStructure(v HlsDirectoryStructure) *HlsGroupSettings { - s.DirectoryStructure = v - return s -} - -// SetEncryption sets the Encryption field's value. -func (s *HlsGroupSettings) SetEncryption(v *HlsEncryptionSettings) *HlsGroupSettings { - s.Encryption = v - return s -} - -// SetManifestCompression sets the ManifestCompression field's value. -func (s *HlsGroupSettings) SetManifestCompression(v HlsManifestCompression) *HlsGroupSettings { - s.ManifestCompression = v - return s -} - -// SetManifestDurationFormat sets the ManifestDurationFormat field's value. -func (s *HlsGroupSettings) SetManifestDurationFormat(v HlsManifestDurationFormat) *HlsGroupSettings { - s.ManifestDurationFormat = v - return s -} - -// SetMinSegmentLength sets the MinSegmentLength field's value. -func (s *HlsGroupSettings) SetMinSegmentLength(v int64) *HlsGroupSettings { - s.MinSegmentLength = &v - return s -} - -// SetOutputSelection sets the OutputSelection field's value. -func (s *HlsGroupSettings) SetOutputSelection(v HlsOutputSelection) *HlsGroupSettings { - s.OutputSelection = v - return s -} - -// SetProgramDateTime sets the ProgramDateTime field's value. -func (s *HlsGroupSettings) SetProgramDateTime(v HlsProgramDateTime) *HlsGroupSettings { - s.ProgramDateTime = v - return s -} - -// SetProgramDateTimePeriod sets the ProgramDateTimePeriod field's value. -func (s *HlsGroupSettings) SetProgramDateTimePeriod(v int64) *HlsGroupSettings { - s.ProgramDateTimePeriod = &v - return s -} - -// SetSegmentControl sets the SegmentControl field's value. -func (s *HlsGroupSettings) SetSegmentControl(v HlsSegmentControl) *HlsGroupSettings { - s.SegmentControl = v - return s -} - -// SetSegmentLength sets the SegmentLength field's value. -func (s *HlsGroupSettings) SetSegmentLength(v int64) *HlsGroupSettings { - s.SegmentLength = &v - return s -} - -// SetSegmentsPerSubdirectory sets the SegmentsPerSubdirectory field's value. -func (s *HlsGroupSettings) SetSegmentsPerSubdirectory(v int64) *HlsGroupSettings { - s.SegmentsPerSubdirectory = &v - return s -} - -// SetStreamInfResolution sets the StreamInfResolution field's value. -func (s *HlsGroupSettings) SetStreamInfResolution(v HlsStreamInfResolution) *HlsGroupSettings { - s.StreamInfResolution = v - return s -} - -// SetTimedMetadataId3Frame sets the TimedMetadataId3Frame field's value. -func (s *HlsGroupSettings) SetTimedMetadataId3Frame(v HlsTimedMetadataId3Frame) *HlsGroupSettings { - s.TimedMetadataId3Frame = v - return s -} - -// SetTimedMetadataId3Period sets the TimedMetadataId3Period field's value. -func (s *HlsGroupSettings) SetTimedMetadataId3Period(v int64) *HlsGroupSettings { - s.TimedMetadataId3Period = &v - return s -} - -// SetTimestampDeltaMilliseconds sets the TimestampDeltaMilliseconds field's value. -func (s *HlsGroupSettings) SetTimestampDeltaMilliseconds(v int64) *HlsGroupSettings { - s.TimestampDeltaMilliseconds = &v - return s -} - // Settings for HLS output groups // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/HlsSettings type HlsSettings struct { @@ -5784,36 +3816,6 @@ func (s HlsSettings) GoString() string { return s.String() } -// SetAudioGroupId sets the AudioGroupId field's value. -func (s *HlsSettings) SetAudioGroupId(v string) *HlsSettings { - s.AudioGroupId = &v - return s -} - -// SetAudioRenditionSets sets the AudioRenditionSets field's value. -func (s *HlsSettings) SetAudioRenditionSets(v string) *HlsSettings { - s.AudioRenditionSets = &v - return s -} - -// SetAudioTrackType sets the AudioTrackType field's value. -func (s *HlsSettings) SetAudioTrackType(v HlsAudioTrackType) *HlsSettings { - s.AudioTrackType = v - return s -} - -// SetIFrameOnlyManifest sets the IFrameOnlyManifest field's value. -func (s *HlsSettings) SetIFrameOnlyManifest(v HlsIFrameOnlyManifest) *HlsSettings { - s.IFrameOnlyManifest = v - return s -} - -// SetSegmentModifier sets the SegmentModifier field's value. -func (s *HlsSettings) SetSegmentModifier(v string) *HlsSettings { - s.SegmentModifier = &v - return s -} - // To insert ID3 tags in your output, specify two values. Use ID3 tag (Id3) // to specify the base 64 encoded string and use Timecode (TimeCode) to specify // the time when the tag should be inserted. To insert multiple ID3 tags in @@ -5839,18 +3841,6 @@ func (s Id3Insertion) GoString() string { return s.String() } -// SetId3 sets the Id3 field's value. -func (s *Id3Insertion) SetId3(v string) *Id3Insertion { - s.Id3 = &v - return s -} - -// SetTimecode sets the Timecode field's value. -func (s *Id3Insertion) SetTimecode(v string) *Id3Insertion { - s.Timecode = &v - return s -} - // Enable the Image inserter (ImageInserter) feature to include a graphic overlay // on your video. Enable or disable this feature for each output individually. // This setting is disabled by default. @@ -5873,12 +3863,6 @@ func (s ImageInserter) GoString() string { return s.String() } -// SetInsertableImages sets the InsertableImages field's value. -func (s *ImageInserter) SetInsertableImages(v []InsertableImage) *ImageInserter { - s.InsertableImages = v - return s -} - // Specifies media input // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Input type Input struct { @@ -5969,84 +3953,6 @@ func (s Input) GoString() string { return s.String() } -// SetAudioSelectorGroups sets the AudioSelectorGroups field's value. -func (s *Input) SetAudioSelectorGroups(v map[string]AudioSelectorGroup) *Input { - s.AudioSelectorGroups = v - return s -} - -// SetAudioSelectors sets the AudioSelectors field's value. -func (s *Input) SetAudioSelectors(v map[string]AudioSelector) *Input { - s.AudioSelectors = v - return s -} - -// SetCaptionSelectors sets the CaptionSelectors field's value. -func (s *Input) SetCaptionSelectors(v map[string]CaptionSelector) *Input { - s.CaptionSelectors = v - return s -} - -// SetDeblockFilter sets the DeblockFilter field's value. -func (s *Input) SetDeblockFilter(v InputDeblockFilter) *Input { - s.DeblockFilter = v - return s -} - -// SetDenoiseFilter sets the DenoiseFilter field's value. -func (s *Input) SetDenoiseFilter(v InputDenoiseFilter) *Input { - s.DenoiseFilter = v - return s -} - -// SetFileInput sets the FileInput field's value. -func (s *Input) SetFileInput(v string) *Input { - s.FileInput = &v - return s -} - -// SetFilterEnable sets the FilterEnable field's value. -func (s *Input) SetFilterEnable(v InputFilterEnable) *Input { - s.FilterEnable = v - return s -} - -// SetFilterStrength sets the FilterStrength field's value. -func (s *Input) SetFilterStrength(v int64) *Input { - s.FilterStrength = &v - return s -} - -// SetInputClippings sets the InputClippings field's value. -func (s *Input) SetInputClippings(v []InputClipping) *Input { - s.InputClippings = v - return s -} - -// SetProgramNumber sets the ProgramNumber field's value. -func (s *Input) SetProgramNumber(v int64) *Input { - s.ProgramNumber = &v - return s -} - -// SetPsiControl sets the PsiControl field's value. -func (s *Input) SetPsiControl(v InputPsiControl) *Input { - s.PsiControl = v - return s -} - -// SetTimecodeSource sets the TimecodeSource field's value. -func (s *Input) SetTimecodeSource(v InputTimecodeSource) *Input { - s.TimecodeSource = v - return s -} - -// SetVideoSelector sets the VideoSelector field's value. -func (s *Input) SetVideoSelector(v *VideoSelector) *Input { - s.VideoSelector = v - return s -} - // Include one instance of (InputClipping) for each input clip. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/InputClipping type InputClipping struct { @@ -6080,18 +3986,6 @@ func (s InputClipping) GoString() string { return s.String() } -// SetEndTimecode sets the EndTimecode field's value. -func (s *InputClipping) SetEndTimecode(v string) *InputClipping { - s.EndTimecode = &v - return s -} - -// SetStartTimecode sets the StartTimecode field's value. -func (s *InputClipping) SetStartTimecode(v string) *InputClipping { - s.StartTimecode = &v - return s -} - // Specified video input in a template. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/InputTemplate type InputTemplate struct { @@ -6177,78 +4071,6 @@ func (s InputTemplate) GoString() string { return s.String() } -// SetAudioSelectorGroups sets the AudioSelectorGroups field's value. -func (s *InputTemplate) SetAudioSelectorGroups(v map[string]AudioSelectorGroup) *InputTemplate { - s.AudioSelectorGroups = v - return s -} - -// SetAudioSelectors sets the AudioSelectors field's value. -func (s *InputTemplate) SetAudioSelectors(v map[string]AudioSelector) *InputTemplate { - s.AudioSelectors = v - return s -} - -// SetCaptionSelectors sets the CaptionSelectors field's value. -func (s *InputTemplate) SetCaptionSelectors(v map[string]CaptionSelector) *InputTemplate { - s.CaptionSelectors = v - return s -} - -// SetDeblockFilter sets the DeblockFilter field's value. -func (s *InputTemplate) SetDeblockFilter(v InputDeblockFilter) *InputTemplate { - s.DeblockFilter = v - return s -} - -// SetDenoiseFilter sets the DenoiseFilter field's value. -func (s *InputTemplate) SetDenoiseFilter(v InputDenoiseFilter) *InputTemplate { - s.DenoiseFilter = v - return s -} - -// SetFilterEnable sets the FilterEnable field's value. -func (s *InputTemplate) SetFilterEnable(v InputFilterEnable) *InputTemplate { - s.FilterEnable = v - return s -} - -// SetFilterStrength sets the FilterStrength field's value. -func (s *InputTemplate) SetFilterStrength(v int64) *InputTemplate { - s.FilterStrength = &v - return s -} - -// SetInputClippings sets the InputClippings field's value. -func (s *InputTemplate) SetInputClippings(v []InputClipping) *InputTemplate { - s.InputClippings = v - return s -} - -// SetProgramNumber sets the ProgramNumber field's value. -func (s *InputTemplate) SetProgramNumber(v int64) *InputTemplate { - s.ProgramNumber = &v - return s -} - -// SetPsiControl sets the PsiControl field's value. -func (s *InputTemplate) SetPsiControl(v InputPsiControl) *InputTemplate { - s.PsiControl = v - return s -} - -// SetTimecodeSource sets the TimecodeSource field's value. -func (s *InputTemplate) SetTimecodeSource(v InputTimecodeSource) *InputTemplate { - s.TimecodeSource = v - return s -} - -// SetVideoSelector sets the VideoSelector field's value. -func (s *InputTemplate) SetVideoSelector(v *VideoSelector) *InputTemplate { - s.VideoSelector = v - return s -} - // Settings for Insertable Image // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/InsertableImage type InsertableImage struct { @@ -6316,72 +4138,6 @@ func (s InsertableImage) GoString() string { return s.String() } -// SetDuration sets the Duration field's value. -func (s *InsertableImage) SetDuration(v int64) *InsertableImage { - s.Duration = &v - return s -} - -// SetFadeIn sets the FadeIn field's value. -func (s *InsertableImage) SetFadeIn(v int64) *InsertableImage { - s.FadeIn = &v - return s -} - -// SetFadeOut sets the FadeOut field's value. -func (s *InsertableImage) SetFadeOut(v int64) *InsertableImage { - s.FadeOut = &v - return s -} - -// SetHeight sets the Height field's value. -func (s *InsertableImage) SetHeight(v int64) *InsertableImage { - s.Height = &v - return s -} - -// SetImageInserterInput sets the ImageInserterInput field's value. -func (s *InsertableImage) SetImageInserterInput(v string) *InsertableImage { - s.ImageInserterInput = &v - return s -} - -// SetImageX sets the ImageX field's value. -func (s *InsertableImage) SetImageX(v int64) *InsertableImage { - s.ImageX = &v - return s -} - -// SetImageY sets the ImageY field's value. -func (s *InsertableImage) SetImageY(v int64) *InsertableImage { - s.ImageY = &v - return s -} - -// SetLayer sets the Layer field's value. -func (s *InsertableImage) SetLayer(v int64) *InsertableImage { - s.Layer = &v - return s -} - -// SetOpacity sets the Opacity field's value. -func (s *InsertableImage) SetOpacity(v int64) *InsertableImage { - s.Opacity = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *InsertableImage) SetStartTime(v string) *InsertableImage { - s.StartTime = &v - return s -} - -// SetWidth sets the Width field's value. -func (s *InsertableImage) SetWidth(v int64) *InsertableImage { - s.Width = &v - return s -} - // Each job converts an input file into an output file or files. For more information, // see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Job @@ -6445,84 +4201,6 @@ func (s Job) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Job) SetArn(v string) *Job { - s.Arn = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Job) SetCreatedAt(v time.Time) *Job { - s.CreatedAt = &v - return s -} - -// SetErrorCode sets the ErrorCode field's value. -func (s *Job) SetErrorCode(v int64) *Job { - s.ErrorCode = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *Job) SetErrorMessage(v string) *Job { - s.ErrorMessage = &v - return s -} - -// SetId sets the Id field's value. -func (s *Job) SetId(v string) *Job { - s.Id = &v - return s -} - -// SetJobTemplate sets the JobTemplate field's value. -func (s *Job) SetJobTemplate(v string) *Job { - s.JobTemplate = &v - return s -} - -// SetOutputGroupDetails sets the OutputGroupDetails field's value. -func (s *Job) SetOutputGroupDetails(v []OutputGroupDetail) *Job { - s.OutputGroupDetails = v - return s -} - -// SetQueue sets the Queue field's value. -func (s *Job) SetQueue(v string) *Job { - s.Queue = &v - return s -} - -// SetRole sets the Role field's value. -func (s *Job) SetRole(v string) *Job { - s.Role = &v - return s -} - -// SetSettings sets the Settings field's value. -func (s *Job) SetSettings(v *JobSettings) *Job { - s.Settings = v - return s -} - -// SetStatus sets the Status field's value. -func (s *Job) SetStatus(v JobStatus) *Job { - s.Status = v - return s -} - -// SetTiming sets the Timing field's value. -func (s *Job) SetTiming(v *Timing) *Job { - s.Timing = v - return s -} - -// SetUserMetadata sets the UserMetadata field's value. -func (s *Job) SetUserMetadata(v map[string]string) *Job { - s.UserMetadata = v - return s -} - // JobSettings contains all the transcode settings for a job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/JobSettings type JobSettings struct { @@ -6575,48 +4253,6 @@ func (s JobSettings) GoString() string { return s.String() } -// SetAdAvailOffset sets the AdAvailOffset field's value. -func (s *JobSettings) SetAdAvailOffset(v int64) *JobSettings { - s.AdAvailOffset = &v - return s -} - -// SetAvailBlanking sets the AvailBlanking field's value. -func (s *JobSettings) SetAvailBlanking(v *AvailBlanking) *JobSettings { - s.AvailBlanking = v - return s -} - -// SetInputs sets the Inputs field's value. -func (s *JobSettings) SetInputs(v []Input) *JobSettings { - s.Inputs = v - return s -} - -// SetNielsenConfiguration sets the NielsenConfiguration field's value. -func (s *JobSettings) SetNielsenConfiguration(v *NielsenConfiguration) *JobSettings { - s.NielsenConfiguration = v - return s -} - -// SetOutputGroups sets the OutputGroups field's value. -func (s *JobSettings) SetOutputGroups(v []OutputGroup) *JobSettings { - s.OutputGroups = v - return s -} - -// SetTimecodeConfig sets the TimecodeConfig field's value. -func (s *JobSettings) SetTimecodeConfig(v *TimecodeConfig) *JobSettings { - s.TimecodeConfig = v - return s -} - -// SetTimedMetadataInsertion sets the TimedMetadataInsertion field's value. -func (s *JobSettings) SetTimedMetadataInsertion(v *TimedMetadataInsertion) *JobSettings { - s.TimedMetadataInsertion = v - return s -} - // A job template is a pre-made set of encoding instructions that you can use // to quickly create a job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/JobTemplate @@ -6665,60 +4301,6 @@ func (s JobTemplate) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *JobTemplate) SetArn(v string) *JobTemplate { - s.Arn = &v - return s -} - -// SetCategory sets the Category field's value. -func (s *JobTemplate) SetCategory(v string) *JobTemplate { - s.Category = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *JobTemplate) SetCreatedAt(v time.Time) *JobTemplate { - s.CreatedAt = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *JobTemplate) SetDescription(v string) *JobTemplate { - s.Description = &v - return s -} - -// SetLastUpdated sets the LastUpdated field's value. -func (s *JobTemplate) SetLastUpdated(v time.Time) *JobTemplate { - s.LastUpdated = &v - return s -} - -// SetName sets the Name field's value. -func (s *JobTemplate) SetName(v string) *JobTemplate { - s.Name = &v - return s -} - -// SetQueue sets the Queue field's value. -func (s *JobTemplate) SetQueue(v string) *JobTemplate { - s.Queue = &v - return s -} - -// SetSettings sets the Settings field's value. -func (s *JobTemplate) SetSettings(v *JobTemplateSettings) *JobTemplate { - s.Settings = v - return s -} - -// SetType sets the Type field's value. -func (s *JobTemplate) SetType(v Type) *JobTemplate { - s.Type = v - return s -} - // JobTemplateSettings contains all the transcode settings saved in the template // that will be applied to jobs created from it. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/JobTemplateSettings @@ -6772,48 +4354,6 @@ func (s JobTemplateSettings) GoString() string { return s.String() } -// SetAdAvailOffset sets the AdAvailOffset field's value. -func (s *JobTemplateSettings) SetAdAvailOffset(v int64) *JobTemplateSettings { - s.AdAvailOffset = &v - return s -} - -// SetAvailBlanking sets the AvailBlanking field's value. -func (s *JobTemplateSettings) SetAvailBlanking(v *AvailBlanking) *JobTemplateSettings { - s.AvailBlanking = v - return s -} - -// SetInputs sets the Inputs field's value. -func (s *JobTemplateSettings) SetInputs(v []InputTemplate) *JobTemplateSettings { - s.Inputs = v - return s -} - -// SetNielsenConfiguration sets the NielsenConfiguration field's value. -func (s *JobTemplateSettings) SetNielsenConfiguration(v *NielsenConfiguration) *JobTemplateSettings { - s.NielsenConfiguration = v - return s -} - -// SetOutputGroups sets the OutputGroups field's value. -func (s *JobTemplateSettings) SetOutputGroups(v []OutputGroup) *JobTemplateSettings { - s.OutputGroups = v - return s -} - -// SetTimecodeConfig sets the TimecodeConfig field's value. -func (s *JobTemplateSettings) SetTimecodeConfig(v *TimecodeConfig) *JobTemplateSettings { - s.TimecodeConfig = v - return s -} - -// SetTimedMetadataInsertion sets the TimedMetadataInsertion field's value. -func (s *JobTemplateSettings) SetTimedMetadataInsertion(v *TimedMetadataInsertion) *JobTemplateSettings { - s.TimedMetadataInsertion = v - return s -} - // You can send list job templates requests with an empty body. Optionally, // you can filter the response by category by specifying it in your request // body. You can also optionally specify the maximum number, up to twenty, of @@ -6854,36 +4394,6 @@ func (s ListJobTemplatesInput) GoString() string { return s.String() } -// SetCategory sets the Category field's value. -func (s *ListJobTemplatesInput) SetCategory(v string) *ListJobTemplatesInput { - s.Category = &v - return s -} - -// SetListBy sets the ListBy field's value. -func (s *ListJobTemplatesInput) SetListBy(v JobTemplateListBy) *ListJobTemplatesInput { - s.ListBy = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListJobTemplatesInput) SetMaxResults(v int64) *ListJobTemplatesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListJobTemplatesInput) SetNextToken(v string) *ListJobTemplatesInput { - s.NextToken = &v - return s -} - -// SetOrder sets the Order field's value. -func (s *ListJobTemplatesInput) SetOrder(v Order) *ListJobTemplatesInput { - s.Order = v - return s -} - // Successful list job templates requests return a JSON array of job templates. // If you do not specify how they are ordered, you will receive them in alphabetical // order by name. @@ -6915,18 +4425,6 @@ func (s ListJobTemplatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobTemplates sets the JobTemplates field's value. -func (s *ListJobTemplatesOutput) SetJobTemplates(v []JobTemplate) *ListJobTemplatesOutput { - s.JobTemplates = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListJobTemplatesOutput) SetNextToken(v string) *ListJobTemplatesOutput { - s.NextToken = &v - return s -} - // You can send list jobs requests with an empty body. Optionally, you can filter // the response by queue and/or job status by specifying them in your request // body. You can also optionally specify the maximum number, up to twenty, of @@ -6963,36 +4461,6 @@ func (s ListJobsInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *ListJobsInput) SetMaxResults(v int64) *ListJobsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput { - s.NextToken = &v - return s -} - -// SetOrder sets the Order field's value. -func (s *ListJobsInput) SetOrder(v Order) *ListJobsInput { - s.Order = v - return s -} - -// SetQueue sets the Queue field's value. -func (s *ListJobsInput) SetQueue(v string) *ListJobsInput { - s.Queue = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ListJobsInput) SetStatus(v JobStatus) *ListJobsInput { - s.Status = v - return s -} - // Successful list jobs requests return a JSON array of jobs. If you do not // specify how they are ordered, you will receive the most recently created // first. @@ -7024,18 +4492,6 @@ func (s ListJobsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobs sets the Jobs field's value. -func (s *ListJobsOutput) SetJobs(v []Job) *ListJobsOutput { - s.Jobs = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput { - s.NextToken = &v - return s -} - // You can send list presets requests with an empty body. Optionally, you can // filter the response by category by specifying it in your request body. You // can also optionally specify the maximum number, up to twenty, of queues to @@ -7061,48 +4517,18 @@ type ListPresetsInput struct { NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` // When you request lists of resources, you can optionally specify whether they - // are sorted in ASCENDING or DESCENDING order. Default varies by resource. - Order Order `location:"querystring" locationName:"order" type:"string" enum:"true"` -} - -// String returns the string representation -func (s ListPresetsInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ListPresetsInput) GoString() string { - return s.String() -} - -// SetCategory sets the Category field's value. -func (s *ListPresetsInput) SetCategory(v string) *ListPresetsInput { - s.Category = &v - return s -} - -// SetListBy sets the ListBy field's value. -func (s *ListPresetsInput) SetListBy(v PresetListBy) *ListPresetsInput { - s.ListBy = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListPresetsInput) SetMaxResults(v int64) *ListPresetsInput { - s.MaxResults = &v - return s + // are sorted in ASCENDING or DESCENDING order. Default varies by resource. + Order Order `location:"querystring" locationName:"order" type:"string" enum:"true"` } -// SetNextToken sets the NextToken field's value. -func (s *ListPresetsInput) SetNextToken(v string) *ListPresetsInput { - s.NextToken = &v - return s +// String returns the string representation +func (s ListPresetsInput) String() string { + return awsutil.Prettify(s) } -// SetOrder sets the Order field's value. -func (s *ListPresetsInput) SetOrder(v Order) *ListPresetsInput { - s.Order = v - return s +// GoString returns the string representation +func (s ListPresetsInput) GoString() string { + return s.String() } // Successful list presets requests return a JSON array of presets. If you do @@ -7136,18 +4562,6 @@ func (s ListPresetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListPresetsOutput) SetNextToken(v string) *ListPresetsOutput { - s.NextToken = &v - return s -} - -// SetPresets sets the Presets field's value. -func (s *ListPresetsOutput) SetPresets(v []Preset) *ListPresetsOutput { - s.Presets = v - return s -} - // You can send list queues requests with an empty body. You can optionally // specify the maximum number, up to twenty, of queues to be returned. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListQueuesRequest @@ -7181,30 +4595,6 @@ func (s ListQueuesInput) GoString() string { return s.String() } -// SetListBy sets the ListBy field's value. -func (s *ListQueuesInput) SetListBy(v QueueListBy) *ListQueuesInput { - s.ListBy = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListQueuesInput) SetMaxResults(v int64) *ListQueuesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListQueuesInput) SetNextToken(v string) *ListQueuesInput { - s.NextToken = &v - return s -} - -// SetOrder sets the Order field's value. -func (s *ListQueuesInput) SetOrder(v Order) *ListQueuesInput { - s.Order = v - return s -} - // Successful list queues return a JSON array of queues. If you do not specify // how they are ordered, you will receive them alphabetically by name. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListQueuesResponse @@ -7235,18 +4625,6 @@ func (s ListQueuesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListQueuesOutput) SetNextToken(v string) *ListQueuesOutput { - s.NextToken = &v - return s -} - -// SetQueues sets the Queues field's value. -func (s *ListQueuesOutput) SetQueues(v []Queue) *ListQueuesOutput { - s.Queues = v - return s -} - // Settings for M2TS Container. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/M2tsSettings type M2tsSettings struct { @@ -7416,198 +4794,6 @@ func (s M2tsSettings) GoString() string { return s.String() } -// SetAudioBufferModel sets the AudioBufferModel field's value. -func (s *M2tsSettings) SetAudioBufferModel(v M2tsAudioBufferModel) *M2tsSettings { - s.AudioBufferModel = v - return s -} - -// SetAudioFramesPerPes sets the AudioFramesPerPes field's value. -func (s *M2tsSettings) SetAudioFramesPerPes(v int64) *M2tsSettings { - s.AudioFramesPerPes = &v - return s -} - -// SetAudioPids sets the AudioPids field's value. -func (s *M2tsSettings) SetAudioPids(v []int64) *M2tsSettings { - s.AudioPids = v - return s -} - -// SetBitrate sets the Bitrate field's value. -func (s *M2tsSettings) SetBitrate(v int64) *M2tsSettings { - s.Bitrate = &v - return s -} - -// SetBufferModel sets the BufferModel field's value. -func (s *M2tsSettings) SetBufferModel(v M2tsBufferModel) *M2tsSettings { - s.BufferModel = v - return s -} - -// SetDvbNitSettings sets the DvbNitSettings field's value. -func (s *M2tsSettings) SetDvbNitSettings(v *DvbNitSettings) *M2tsSettings { - s.DvbNitSettings = v - return s -} - -// SetDvbSdtSettings sets the DvbSdtSettings field's value. -func (s *M2tsSettings) SetDvbSdtSettings(v *DvbSdtSettings) *M2tsSettings { - s.DvbSdtSettings = v - return s -} - -// SetDvbSubPids sets the DvbSubPids field's value. -func (s *M2tsSettings) SetDvbSubPids(v []int64) *M2tsSettings { - s.DvbSubPids = v - return s -} - -// SetDvbTdtSettings sets the DvbTdtSettings field's value. -func (s *M2tsSettings) SetDvbTdtSettings(v *DvbTdtSettings) *M2tsSettings { - s.DvbTdtSettings = v - return s -} - -// SetDvbTeletextPid sets the DvbTeletextPid field's value. -func (s *M2tsSettings) SetDvbTeletextPid(v int64) *M2tsSettings { - s.DvbTeletextPid = &v - return s -} - -// SetEbpAudioInterval sets the EbpAudioInterval field's value. -func (s *M2tsSettings) SetEbpAudioInterval(v M2tsEbpAudioInterval) *M2tsSettings { - s.EbpAudioInterval = v - return s -} - -// SetEbpPlacement sets the EbpPlacement field's value. -func (s *M2tsSettings) SetEbpPlacement(v M2tsEbpPlacement) *M2tsSettings { - s.EbpPlacement = v - return s -} - -// SetEsRateInPes sets the EsRateInPes field's value. -func (s *M2tsSettings) SetEsRateInPes(v M2tsEsRateInPes) *M2tsSettings { - s.EsRateInPes = v - return s -} - -// SetFragmentTime sets the FragmentTime field's value. -func (s *M2tsSettings) SetFragmentTime(v float64) *M2tsSettings { - s.FragmentTime = &v - return s -} - -// SetMaxPcrInterval sets the MaxPcrInterval field's value. -func (s *M2tsSettings) SetMaxPcrInterval(v int64) *M2tsSettings { - s.MaxPcrInterval = &v - return s -} - -// SetMinEbpInterval sets the MinEbpInterval field's value. -func (s *M2tsSettings) SetMinEbpInterval(v int64) *M2tsSettings { - s.MinEbpInterval = &v - return s -} - -// SetNullPacketBitrate sets the NullPacketBitrate field's value. -func (s *M2tsSettings) SetNullPacketBitrate(v float64) *M2tsSettings { - s.NullPacketBitrate = &v - return s -} - -// SetPatInterval sets the PatInterval field's value. -func (s *M2tsSettings) SetPatInterval(v int64) *M2tsSettings { - s.PatInterval = &v - return s -} - -// SetPcrControl sets the PcrControl field's value. -func (s *M2tsSettings) SetPcrControl(v M2tsPcrControl) *M2tsSettings { - s.PcrControl = v - return s -} - -// SetPcrPid sets the PcrPid field's value. -func (s *M2tsSettings) SetPcrPid(v int64) *M2tsSettings { - s.PcrPid = &v - return s -} - -// SetPmtInterval sets the PmtInterval field's value. -func (s *M2tsSettings) SetPmtInterval(v int64) *M2tsSettings { - s.PmtInterval = &v - return s -} - -// SetPmtPid sets the PmtPid field's value. -func (s *M2tsSettings) SetPmtPid(v int64) *M2tsSettings { - s.PmtPid = &v - return s -} - -// SetPrivateMetadataPid sets the PrivateMetadataPid field's value. -func (s *M2tsSettings) SetPrivateMetadataPid(v int64) *M2tsSettings { - s.PrivateMetadataPid = &v - return s -} - -// SetProgramNumber sets the ProgramNumber field's value. -func (s *M2tsSettings) SetProgramNumber(v int64) *M2tsSettings { - s.ProgramNumber = &v - return s -} - -// SetRateMode sets the RateMode field's value. -func (s *M2tsSettings) SetRateMode(v M2tsRateMode) *M2tsSettings { - s.RateMode = v - return s -} - -// SetScte35Pid sets the Scte35Pid field's value. -func (s *M2tsSettings) SetScte35Pid(v int64) *M2tsSettings { - s.Scte35Pid = &v - return s -} - -// SetScte35Source sets the Scte35Source field's value. -func (s *M2tsSettings) SetScte35Source(v M2tsScte35Source) *M2tsSettings { - s.Scte35Source = v - return s -} - -// SetSegmentationMarkers sets the SegmentationMarkers field's value. -func (s *M2tsSettings) SetSegmentationMarkers(v M2tsSegmentationMarkers) *M2tsSettings { - s.SegmentationMarkers = v - return s -} - -// SetSegmentationStyle sets the SegmentationStyle field's value. -func (s *M2tsSettings) SetSegmentationStyle(v M2tsSegmentationStyle) *M2tsSettings { - s.SegmentationStyle = v - return s -} - -// SetSegmentationTime sets the SegmentationTime field's value. -func (s *M2tsSettings) SetSegmentationTime(v float64) *M2tsSettings { - s.SegmentationTime = &v - return s -} - -// SetTransportStreamId sets the TransportStreamId field's value. -func (s *M2tsSettings) SetTransportStreamId(v int64) *M2tsSettings { - s.TransportStreamId = &v - return s -} - -// SetVideoPid sets the VideoPid field's value. -func (s *M2tsSettings) SetVideoPid(v int64) *M2tsSettings { - s.VideoPid = &v - return s -} - // Settings for TS segments in HLS // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/M3u8Settings type M3u8Settings struct { @@ -7684,96 +4870,6 @@ func (s M3u8Settings) GoString() string { return s.String() } -// SetAudioFramesPerPes sets the AudioFramesPerPes field's value. -func (s *M3u8Settings) SetAudioFramesPerPes(v int64) *M3u8Settings { - s.AudioFramesPerPes = &v - return s -} - -// SetAudioPids sets the AudioPids field's value. -func (s *M3u8Settings) SetAudioPids(v []int64) *M3u8Settings { - s.AudioPids = v - return s -} - -// SetPatInterval sets the PatInterval field's value. -func (s *M3u8Settings) SetPatInterval(v int64) *M3u8Settings { - s.PatInterval = &v - return s -} - -// SetPcrControl sets the PcrControl field's value. -func (s *M3u8Settings) SetPcrControl(v M3u8PcrControl) *M3u8Settings { - s.PcrControl = v - return s -} - -// SetPcrPid sets the PcrPid field's value. -func (s *M3u8Settings) SetPcrPid(v int64) *M3u8Settings { - s.PcrPid = &v - return s -} - -// SetPmtInterval sets the PmtInterval field's value. -func (s *M3u8Settings) SetPmtInterval(v int64) *M3u8Settings { - s.PmtInterval = &v - return s -} - -// SetPmtPid sets the PmtPid field's value. -func (s *M3u8Settings) SetPmtPid(v int64) *M3u8Settings { - s.PmtPid = &v - return s -} - -// SetPrivateMetadataPid sets the PrivateMetadataPid field's value. -func (s *M3u8Settings) SetPrivateMetadataPid(v int64) *M3u8Settings { - s.PrivateMetadataPid = &v - return s -} - -// SetProgramNumber sets the ProgramNumber field's value. -func (s *M3u8Settings) SetProgramNumber(v int64) *M3u8Settings { - s.ProgramNumber = &v - return s -} - -// SetScte35Pid sets the Scte35Pid field's value. -func (s *M3u8Settings) SetScte35Pid(v int64) *M3u8Settings { - s.Scte35Pid = &v - return s -} - -// SetScte35Source sets the Scte35Source field's value. -func (s *M3u8Settings) SetScte35Source(v M3u8Scte35Source) *M3u8Settings { - s.Scte35Source = v - return s -} - -// SetTimedMetadata sets the TimedMetadata field's value. -func (s *M3u8Settings) SetTimedMetadata(v TimedMetadata) *M3u8Settings { - s.TimedMetadata = v - return s -} - -// SetTimedMetadataPid sets the TimedMetadataPid field's value. -func (s *M3u8Settings) SetTimedMetadataPid(v int64) *M3u8Settings { - s.TimedMetadataPid = &v - return s -} - -// SetTransportStreamId sets the TransportStreamId field's value. -func (s *M3u8Settings) SetTransportStreamId(v int64) *M3u8Settings { - s.TransportStreamId = &v - return s -} - -// SetVideoPid sets the VideoPid field's value. -func (s *M3u8Settings) SetVideoPid(v int64) *M3u8Settings { - s.VideoPid = &v - return s -} - // Settings for MOV Container. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/MovSettings type MovSettings struct { @@ -7813,36 +4909,6 @@ func (s MovSettings) GoString() string { return s.String() } -// SetClapAtom sets the ClapAtom field's value. -func (s *MovSettings) SetClapAtom(v MovClapAtom) *MovSettings { - s.ClapAtom = v - return s -} - -// SetCslgAtom sets the CslgAtom field's value. -func (s *MovSettings) SetCslgAtom(v MovCslgAtom) *MovSettings { - s.CslgAtom = v - return s -} - -// SetMpeg2FourCCControl sets the Mpeg2FourCCControl field's value. -func (s *MovSettings) SetMpeg2FourCCControl(v MovMpeg2FourCCControl) *MovSettings { - s.Mpeg2FourCCControl = v - return s -} - -// SetPaddingControl sets the PaddingControl field's value. -func (s *MovSettings) SetPaddingControl(v MovPaddingControl) *MovSettings { - s.PaddingControl = v - return s -} - -// SetReference sets the Reference field's value. -func (s *MovSettings) SetReference(v MovReference) *MovSettings { - s.Reference = v - return s -} - // Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to // the value MP2. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Mp2Settings @@ -7871,24 +4937,6 @@ func (s Mp2Settings) GoString() string { return s.String() } -// SetBitrate sets the Bitrate field's value. -func (s *Mp2Settings) SetBitrate(v int64) *Mp2Settings { - s.Bitrate = &v - return s -} - -// SetChannels sets the Channels field's value. -func (s *Mp2Settings) SetChannels(v int64) *Mp2Settings { - s.Channels = &v - return s -} - -// SetSampleRate sets the SampleRate field's value. -func (s *Mp2Settings) SetSampleRate(v int64) *Mp2Settings { - s.SampleRate = &v - return s -} - // Settings for MP4 Container // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Mp4Settings type Mp4Settings struct { @@ -7923,30 +4971,6 @@ func (s Mp4Settings) GoString() string { return s.String() } -// SetCslgAtom sets the CslgAtom field's value. -func (s *Mp4Settings) SetCslgAtom(v Mp4CslgAtom) *Mp4Settings { - s.CslgAtom = v - return s -} - -// SetFreeSpaceBox sets the FreeSpaceBox field's value. -func (s *Mp4Settings) SetFreeSpaceBox(v Mp4FreeSpaceBox) *Mp4Settings { - s.FreeSpaceBox = v - return s -} - -// SetMoovPlacement sets the MoovPlacement field's value. -func (s *Mp4Settings) SetMoovPlacement(v Mp4MoovPlacement) *Mp4Settings { - s.MoovPlacement = v - return s -} - -// SetMp4MajorBrand sets the Mp4MajorBrand field's value. -func (s *Mp4Settings) SetMp4MajorBrand(v string) *Mp4Settings { - s.Mp4MajorBrand = &v - return s -} - // Required when you set (Codec) under (VideoDescription)>(CodecSettings) to // the value MPEG2. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Mpeg2Settings @@ -8098,186 +5122,6 @@ func (s Mpeg2Settings) GoString() string { return s.String() } -// SetAdaptiveQuantization sets the AdaptiveQuantization field's value. -func (s *Mpeg2Settings) SetAdaptiveQuantization(v Mpeg2AdaptiveQuantization) *Mpeg2Settings { - s.AdaptiveQuantization = v - return s -} - -// SetBitrate sets the Bitrate field's value. -func (s *Mpeg2Settings) SetBitrate(v int64) *Mpeg2Settings { - s.Bitrate = &v - return s -} - -// SetCodecLevel sets the CodecLevel field's value. -func (s *Mpeg2Settings) SetCodecLevel(v Mpeg2CodecLevel) *Mpeg2Settings { - s.CodecLevel = v - return s -} - -// SetCodecProfile sets the CodecProfile field's value. -func (s *Mpeg2Settings) SetCodecProfile(v Mpeg2CodecProfile) *Mpeg2Settings { - s.CodecProfile = v - return s -} - -// SetFramerateControl sets the FramerateControl field's value. -func (s *Mpeg2Settings) SetFramerateControl(v Mpeg2FramerateControl) *Mpeg2Settings { - s.FramerateControl = v - return s -} - -// SetFramerateConversionAlgorithm sets the FramerateConversionAlgorithm field's value. -func (s *Mpeg2Settings) SetFramerateConversionAlgorithm(v Mpeg2FramerateConversionAlgorithm) *Mpeg2Settings { - s.FramerateConversionAlgorithm = v - return s -} - -// SetFramerateDenominator sets the FramerateDenominator field's value. -func (s *Mpeg2Settings) SetFramerateDenominator(v int64) *Mpeg2Settings { - s.FramerateDenominator = &v - return s -} - -// SetFramerateNumerator sets the FramerateNumerator field's value. -func (s *Mpeg2Settings) SetFramerateNumerator(v int64) *Mpeg2Settings { - s.FramerateNumerator = &v - return s -} - -// SetGopClosedCadence sets the GopClosedCadence field's value. -func (s *Mpeg2Settings) SetGopClosedCadence(v int64) *Mpeg2Settings { - s.GopClosedCadence = &v - return s -} - -// SetGopSize sets the GopSize field's value. -func (s *Mpeg2Settings) SetGopSize(v float64) *Mpeg2Settings { - s.GopSize = &v - return s -} - -// SetGopSizeUnits sets the GopSizeUnits field's value. -func (s *Mpeg2Settings) SetGopSizeUnits(v Mpeg2GopSizeUnits) *Mpeg2Settings { - s.GopSizeUnits = v - return s -} - -// SetHrdBufferInitialFillPercentage sets the HrdBufferInitialFillPercentage field's value. -func (s *Mpeg2Settings) SetHrdBufferInitialFillPercentage(v int64) *Mpeg2Settings { - s.HrdBufferInitialFillPercentage = &v - return s -} - -// SetHrdBufferSize sets the HrdBufferSize field's value. -func (s *Mpeg2Settings) SetHrdBufferSize(v int64) *Mpeg2Settings { - s.HrdBufferSize = &v - return s -} - -// SetInterlaceMode sets the InterlaceMode field's value. -func (s *Mpeg2Settings) SetInterlaceMode(v Mpeg2InterlaceMode) *Mpeg2Settings { - s.InterlaceMode = v - return s -} - -// SetIntraDcPrecision sets the IntraDcPrecision field's value. -func (s *Mpeg2Settings) SetIntraDcPrecision(v Mpeg2IntraDcPrecision) *Mpeg2Settings { - s.IntraDcPrecision = v - return s -} - -// SetMaxBitrate sets the MaxBitrate field's value. -func (s *Mpeg2Settings) SetMaxBitrate(v int64) *Mpeg2Settings { - s.MaxBitrate = &v - return s -} - -// SetMinIInterval sets the MinIInterval field's value. -func (s *Mpeg2Settings) SetMinIInterval(v int64) *Mpeg2Settings { - s.MinIInterval = &v - return s -} - -// SetNumberBFramesBetweenReferenceFrames sets the NumberBFramesBetweenReferenceFrames field's value. -func (s *Mpeg2Settings) SetNumberBFramesBetweenReferenceFrames(v int64) *Mpeg2Settings { - s.NumberBFramesBetweenReferenceFrames = &v - return s -} - -// SetParControl sets the ParControl field's value. -func (s *Mpeg2Settings) SetParControl(v Mpeg2ParControl) *Mpeg2Settings { - s.ParControl = v - return s -} - -// SetParDenominator sets the ParDenominator field's value. -func (s *Mpeg2Settings) SetParDenominator(v int64) *Mpeg2Settings { - s.ParDenominator = &v - return s -} - -// SetParNumerator sets the ParNumerator field's value. -func (s *Mpeg2Settings) SetParNumerator(v int64) *Mpeg2Settings { - s.ParNumerator = &v - return s -} - -// SetQualityTuningLevel sets the QualityTuningLevel field's value. -func (s *Mpeg2Settings) SetQualityTuningLevel(v Mpeg2QualityTuningLevel) *Mpeg2Settings { - s.QualityTuningLevel = v - return s -} - -// SetRateControlMode sets the RateControlMode field's value. -func (s *Mpeg2Settings) SetRateControlMode(v Mpeg2RateControlMode) *Mpeg2Settings { - s.RateControlMode = v - return s -} - -// SetSceneChangeDetect sets the SceneChangeDetect field's value. -func (s *Mpeg2Settings) SetSceneChangeDetect(v Mpeg2SceneChangeDetect) *Mpeg2Settings { - s.SceneChangeDetect = v - return s -} - -// SetSlowPal sets the SlowPal field's value. -func (s *Mpeg2Settings) SetSlowPal(v Mpeg2SlowPal) *Mpeg2Settings { - s.SlowPal = v - return s -} - -// SetSoftness sets the Softness field's value. -func (s *Mpeg2Settings) SetSoftness(v int64) *Mpeg2Settings { - s.Softness = &v - return s -} - -// SetSpatialAdaptiveQuantization sets the SpatialAdaptiveQuantization field's value. -func (s *Mpeg2Settings) SetSpatialAdaptiveQuantization(v Mpeg2SpatialAdaptiveQuantization) *Mpeg2Settings { - s.SpatialAdaptiveQuantization = v - return s -} - -// SetSyntax sets the Syntax field's value. -func (s *Mpeg2Settings) SetSyntax(v Mpeg2Syntax) *Mpeg2Settings { - s.Syntax = v - return s -} - -// SetTelecine sets the Telecine field's value. -func (s *Mpeg2Settings) SetTelecine(v Mpeg2Telecine) *Mpeg2Settings { - s.Telecine = v - return s -} - -// SetTemporalAdaptiveQuantization sets the TemporalAdaptiveQuantization field's value. -func (s *Mpeg2Settings) SetTemporalAdaptiveQuantization(v Mpeg2TemporalAdaptiveQuantization) *Mpeg2Settings { - s.TemporalAdaptiveQuantization = v - return s -} - // If you are using DRM, set DRM System (MsSmoothEncryptionSettings) to specify // the value SpekeKeyProvider. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/MsSmoothEncryptionSettings @@ -8298,12 +5142,6 @@ func (s MsSmoothEncryptionSettings) GoString() string { return s.String() } -// SetSpekeKeyProvider sets the SpekeKeyProvider field's value. -func (s *MsSmoothEncryptionSettings) SetSpekeKeyProvider(v *SpekeKeyProvider) *MsSmoothEncryptionSettings { - s.SpekeKeyProvider = v - return s -} - // Required when you set (Type) under (OutputGroups)>(OutputGroupSettings) to // MS_SMOOTH_GROUP_SETTINGS. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/MsSmoothGroupSettings @@ -8344,36 +5182,6 @@ func (s MsSmoothGroupSettings) GoString() string { return s.String() } -// SetAudioDeduplication sets the AudioDeduplication field's value. -func (s *MsSmoothGroupSettings) SetAudioDeduplication(v MsSmoothAudioDeduplication) *MsSmoothGroupSettings { - s.AudioDeduplication = v - return s -} - -// SetDestination sets the Destination field's value. -func (s *MsSmoothGroupSettings) SetDestination(v string) *MsSmoothGroupSettings { - s.Destination = &v - return s -} - -// SetEncryption sets the Encryption field's value. -func (s *MsSmoothGroupSettings) SetEncryption(v *MsSmoothEncryptionSettings) *MsSmoothGroupSettings { - s.Encryption = v - return s -} - -// SetFragmentLength sets the FragmentLength field's value. -func (s *MsSmoothGroupSettings) SetFragmentLength(v int64) *MsSmoothGroupSettings { - s.FragmentLength = &v - return s -} - -// SetManifestEncoding sets the ManifestEncoding field's value. -func (s *MsSmoothGroupSettings) SetManifestEncoding(v MsSmoothManifestEncoding) *MsSmoothGroupSettings { - s.ManifestEncoding = v - return s -} - // Settings for Nielsen Configuration // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/NielsenConfiguration type NielsenConfiguration struct { @@ -8398,18 +5206,6 @@ func (s NielsenConfiguration) GoString() string { return s.String() } -// SetBreakoutCode sets the BreakoutCode field's value. -func (s *NielsenConfiguration) SetBreakoutCode(v int64) *NielsenConfiguration { - s.BreakoutCode = &v - return s -} - -// SetDistributorId sets the DistributorId field's value. -func (s *NielsenConfiguration) SetDistributorId(v string) *NielsenConfiguration { - s.DistributorId = &v - return s -} - // Enable the Noise reducer (NoiseReducer) feature to remove noise from your // video output if necessary. Enable or disable this feature for each output // individually. This setting is disabled by default. When you enable Noise @@ -8444,24 +5240,6 @@ func (s NoiseReducer) GoString() string { return s.String() } -// SetFilter sets the Filter field's value. -func (s *NoiseReducer) SetFilter(v NoiseReducerFilter) *NoiseReducer { - s.Filter = v - return s -} - -// SetFilterSettings sets the FilterSettings field's value. -func (s *NoiseReducer) SetFilterSettings(v *NoiseReducerFilterSettings) *NoiseReducer { - s.FilterSettings = v - return s -} - -// SetSpatialFilterSettings sets the SpatialFilterSettings field's value. -func (s *NoiseReducer) SetSpatialFilterSettings(v *NoiseReducerSpatialFilterSettings) *NoiseReducer { - s.SpatialFilterSettings = v - return s -} - // Settings for a noise reducer filter // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/NoiseReducerFilterSettings type NoiseReducerFilterSettings struct { @@ -8482,12 +5260,6 @@ func (s NoiseReducerFilterSettings) GoString() string { return s.String() } -// SetStrength sets the Strength field's value. -func (s *NoiseReducerFilterSettings) SetStrength(v int64) *NoiseReducerFilterSettings { - s.Strength = &v - return s -} - // Noise reducer filter settings for spatial filter. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/NoiseReducerSpatialFilterSettings type NoiseReducerSpatialFilterSettings struct { @@ -8516,24 +5288,6 @@ func (s NoiseReducerSpatialFilterSettings) GoString() string { return s.String() } -// SetPostFilterSharpenStrength sets the PostFilterSharpenStrength field's value. -func (s *NoiseReducerSpatialFilterSettings) SetPostFilterSharpenStrength(v int64) *NoiseReducerSpatialFilterSettings { - s.PostFilterSharpenStrength = &v - return s -} - -// SetSpeed sets the Speed field's value. -func (s *NoiseReducerSpatialFilterSettings) SetSpeed(v int64) *NoiseReducerSpatialFilterSettings { - s.Speed = &v - return s -} - -// SetStrength sets the Strength field's value. -func (s *NoiseReducerSpatialFilterSettings) SetStrength(v int64) *NoiseReducerSpatialFilterSettings { - s.Strength = &v - return s -} - // An output object describes the settings for a single output file or stream // in an output group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Output @@ -8579,66 +5333,18 @@ type Output struct { // (VideoDescription) contains a group of video encoding settings. The specific // video settings depend on the video codec you choose when you specify a value - // for Video codec (codec). Include one instance of (VideoDescription) per output. - VideoDescription *VideoDescription `locationName:"videoDescription" type:"structure"` -} - -// String returns the string representation -func (s Output) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s Output) GoString() string { - return s.String() -} - -// SetAudioDescriptions sets the AudioDescriptions field's value. -func (s *Output) SetAudioDescriptions(v []AudioDescription) *Output { - s.AudioDescriptions = v - return s -} - -// SetCaptionDescriptions sets the CaptionDescriptions field's value. -func (s *Output) SetCaptionDescriptions(v []CaptionDescription) *Output { - s.CaptionDescriptions = v - return s -} - -// SetContainerSettings sets the ContainerSettings field's value. -func (s *Output) SetContainerSettings(v *ContainerSettings) *Output { - s.ContainerSettings = v - return s -} - -// SetExtension sets the Extension field's value. -func (s *Output) SetExtension(v string) *Output { - s.Extension = &v - return s -} - -// SetNameModifier sets the NameModifier field's value. -func (s *Output) SetNameModifier(v string) *Output { - s.NameModifier = &v - return s -} - -// SetOutputSettings sets the OutputSettings field's value. -func (s *Output) SetOutputSettings(v *OutputSettings) *Output { - s.OutputSettings = v - return s + // for Video codec (codec). Include one instance of (VideoDescription) per output. + VideoDescription *VideoDescription `locationName:"videoDescription" type:"structure"` } -// SetPreset sets the Preset field's value. -func (s *Output) SetPreset(v string) *Output { - s.Preset = &v - return s +// String returns the string representation +func (s Output) String() string { + return awsutil.Prettify(s) } -// SetVideoDescription sets the VideoDescription field's value. -func (s *Output) SetVideoDescription(v *VideoDescription) *Output { - s.VideoDescription = v - return s +// GoString returns the string representation +func (s Output) GoString() string { + return s.String() } // OutputChannel mapping settings. @@ -8660,12 +5366,6 @@ func (s OutputChannelMapping) GoString() string { return s.String() } -// SetInputChannels sets the InputChannels field's value. -func (s *OutputChannelMapping) SetInputChannels(v []int64) *OutputChannelMapping { - s.InputChannels = v - return s -} - // Details regarding output // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/OutputDetail type OutputDetail struct { @@ -8688,18 +5388,6 @@ func (s OutputDetail) GoString() string { return s.String() } -// SetDurationInMs sets the DurationInMs field's value. -func (s *OutputDetail) SetDurationInMs(v int64) *OutputDetail { - s.DurationInMs = &v - return s -} - -// SetVideoDetails sets the VideoDetails field's value. -func (s *OutputDetail) SetVideoDetails(v *VideoDetail) *OutputDetail { - s.VideoDetails = v - return s -} - // Group of outputs // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/OutputGroup type OutputGroup struct { @@ -8732,30 +5420,6 @@ func (s OutputGroup) GoString() string { return s.String() } -// SetCustomName sets the CustomName field's value. -func (s *OutputGroup) SetCustomName(v string) *OutputGroup { - s.CustomName = &v - return s -} - -// SetName sets the Name field's value. -func (s *OutputGroup) SetName(v string) *OutputGroup { - s.Name = &v - return s -} - -// SetOutputGroupSettings sets the OutputGroupSettings field's value. -func (s *OutputGroup) SetOutputGroupSettings(v *OutputGroupSettings) *OutputGroup { - s.OutputGroupSettings = v - return s -} - -// SetOutputs sets the Outputs field's value. -func (s *OutputGroup) SetOutputs(v []Output) *OutputGroup { - s.Outputs = v - return s -} - // Contains details about the output groups specified in the job settings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/OutputGroupDetail type OutputGroupDetail struct { @@ -8775,12 +5439,6 @@ func (s OutputGroupDetail) GoString() string { return s.String() } -// SetOutputDetails sets the OutputDetails field's value. -func (s *OutputGroupDetail) SetOutputDetails(v []OutputDetail) *OutputGroupDetail { - s.OutputDetails = v - return s -} - // Output Group settings, including type // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/OutputGroupSettings type OutputGroupSettings struct { @@ -8816,36 +5474,6 @@ func (s OutputGroupSettings) GoString() string { return s.String() } -// SetDashIsoGroupSettings sets the DashIsoGroupSettings field's value. -func (s *OutputGroupSettings) SetDashIsoGroupSettings(v *DashIsoGroupSettings) *OutputGroupSettings { - s.DashIsoGroupSettings = v - return s -} - -// SetFileGroupSettings sets the FileGroupSettings field's value. -func (s *OutputGroupSettings) SetFileGroupSettings(v *FileGroupSettings) *OutputGroupSettings { - s.FileGroupSettings = v - return s -} - -// SetHlsGroupSettings sets the HlsGroupSettings field's value. -func (s *OutputGroupSettings) SetHlsGroupSettings(v *HlsGroupSettings) *OutputGroupSettings { - s.HlsGroupSettings = v - return s -} - -// SetMsSmoothGroupSettings sets the MsSmoothGroupSettings field's value. -func (s *OutputGroupSettings) SetMsSmoothGroupSettings(v *MsSmoothGroupSettings) *OutputGroupSettings { - s.MsSmoothGroupSettings = v - return s -} - -// SetType sets the Type field's value. -func (s *OutputGroupSettings) SetType(v OutputGroupType) *OutputGroupSettings { - s.Type = v - return s -} - // Specific settings for this type of output. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/OutputSettings type OutputSettings struct { @@ -8865,12 +5493,6 @@ func (s OutputSettings) GoString() string { return s.String() } -// SetHlsSettings sets the HlsSettings field's value. -func (s *OutputSettings) SetHlsSettings(v *HlsSettings) *OutputSettings { - s.HlsSettings = v - return s -} - // A preset is a collection of preconfigured media conversion settings that // you want MediaConvert to apply to the output during the conversion process. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Preset @@ -8913,54 +5535,6 @@ func (s Preset) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Preset) SetArn(v string) *Preset { - s.Arn = &v - return s -} - -// SetCategory sets the Category field's value. -func (s *Preset) SetCategory(v string) *Preset { - s.Category = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Preset) SetCreatedAt(v time.Time) *Preset { - s.CreatedAt = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Preset) SetDescription(v string) *Preset { - s.Description = &v - return s -} - -// SetLastUpdated sets the LastUpdated field's value. -func (s *Preset) SetLastUpdated(v time.Time) *Preset { - s.LastUpdated = &v - return s -} - -// SetName sets the Name field's value. -func (s *Preset) SetName(v string) *Preset { - s.Name = &v - return s -} - -// SetSettings sets the Settings field's value. -func (s *Preset) SetSettings(v *PresetSettings) *Preset { - s.Settings = v - return s -} - -// SetType sets the Type field's value. -func (s *Preset) SetType(v Type) *Preset { - s.Type = v - return s -} - // Settings for preset // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/PresetSettings type PresetSettings struct { @@ -8994,30 +5568,6 @@ func (s PresetSettings) GoString() string { return s.String() } -// SetAudioDescriptions sets the AudioDescriptions field's value. -func (s *PresetSettings) SetAudioDescriptions(v []AudioDescription) *PresetSettings { - s.AudioDescriptions = v - return s -} - -// SetCaptionDescriptions sets the CaptionDescriptions field's value. -func (s *PresetSettings) SetCaptionDescriptions(v []CaptionDescriptionPreset) *PresetSettings { - s.CaptionDescriptions = v - return s -} - -// SetContainerSettings sets the ContainerSettings field's value. -func (s *PresetSettings) SetContainerSettings(v *ContainerSettings) *PresetSettings { - s.ContainerSettings = v - return s -} - -// SetVideoDescription sets the VideoDescription field's value. -func (s *PresetSettings) SetVideoDescription(v *VideoDescription) *PresetSettings { - s.VideoDescription = v - return s -} - // Required when you set (Codec) under (VideoDescription)>(CodecSettings) to // the value PRORES. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ProresSettings @@ -9092,72 +5642,6 @@ func (s ProresSettings) GoString() string { return s.String() } -// SetCodecProfile sets the CodecProfile field's value. -func (s *ProresSettings) SetCodecProfile(v ProresCodecProfile) *ProresSettings { - s.CodecProfile = v - return s -} - -// SetFramerateControl sets the FramerateControl field's value. -func (s *ProresSettings) SetFramerateControl(v ProresFramerateControl) *ProresSettings { - s.FramerateControl = v - return s -} - -// SetFramerateConversionAlgorithm sets the FramerateConversionAlgorithm field's value. -func (s *ProresSettings) SetFramerateConversionAlgorithm(v ProresFramerateConversionAlgorithm) *ProresSettings { - s.FramerateConversionAlgorithm = v - return s -} - -// SetFramerateDenominator sets the FramerateDenominator field's value. -func (s *ProresSettings) SetFramerateDenominator(v int64) *ProresSettings { - s.FramerateDenominator = &v - return s -} - -// SetFramerateNumerator sets the FramerateNumerator field's value. -func (s *ProresSettings) SetFramerateNumerator(v int64) *ProresSettings { - s.FramerateNumerator = &v - return s -} - -// SetInterlaceMode sets the InterlaceMode field's value. -func (s *ProresSettings) SetInterlaceMode(v ProresInterlaceMode) *ProresSettings { - s.InterlaceMode = v - return s -} - -// SetParControl sets the ParControl field's value. -func (s *ProresSettings) SetParControl(v ProresParControl) *ProresSettings { - s.ParControl = v - return s -} - -// SetParDenominator sets the ParDenominator field's value. -func (s *ProresSettings) SetParDenominator(v int64) *ProresSettings { - s.ParDenominator = &v - return s -} - -// SetParNumerator sets the ParNumerator field's value. -func (s *ProresSettings) SetParNumerator(v int64) *ProresSettings { - s.ParNumerator = &v - return s -} - -// SetSlowPal sets the SlowPal field's value. -func (s *ProresSettings) SetSlowPal(v ProresSlowPal) *ProresSettings { - s.SlowPal = v - return s -} - -// SetTelecine sets the Telecine field's value. -func (s *ProresSettings) SetTelecine(v ProresTelecine) *ProresSettings { - s.Telecine = v - return s -} - // MediaConvert jobs are submitted to a queue. Unless specified otherwise jobs // are submitted to a built-in default queue. User can create additional queues // to separate the jobs of different categories or priority. @@ -9200,48 +5684,6 @@ func (s Queue) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Queue) SetArn(v string) *Queue { - s.Arn = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Queue) SetCreatedAt(v time.Time) *Queue { - s.CreatedAt = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Queue) SetDescription(v string) *Queue { - s.Description = &v - return s -} - -// SetLastUpdated sets the LastUpdated field's value. -func (s *Queue) SetLastUpdated(v time.Time) *Queue { - s.LastUpdated = &v - return s -} - -// SetName sets the Name field's value. -func (s *Queue) SetName(v string) *Queue { - s.Name = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Queue) SetStatus(v QueueStatus) *Queue { - s.Status = v - return s -} - -// SetType sets the Type field's value. -func (s *Queue) SetType(v Type) *Queue { - s.Type = v - return s -} - // Use Rectangle to identify a specific area of the video frame. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Rectangle type Rectangle struct { @@ -9272,30 +5714,6 @@ func (s Rectangle) GoString() string { return s.String() } -// SetHeight sets the Height field's value. -func (s *Rectangle) SetHeight(v int64) *Rectangle { - s.Height = &v - return s -} - -// SetWidth sets the Width field's value. -func (s *Rectangle) SetWidth(v int64) *Rectangle { - s.Width = &v - return s -} - -// SetX sets the X field's value. -func (s *Rectangle) SetX(v int64) *Rectangle { - s.X = &v - return s -} - -// SetY sets the Y field's value. -func (s *Rectangle) SetY(v int64) *Rectangle { - s.Y = &v - return s -} - // Use Manual audio remixing (RemixSettings) to adjust audio levels for each // output channel. With audio remixing, you can output more or fewer audio channels // than your input audio source provides. @@ -9329,24 +5747,6 @@ func (s RemixSettings) GoString() string { return s.String() } -// SetChannelMapping sets the ChannelMapping field's value. -func (s *RemixSettings) SetChannelMapping(v *ChannelMapping) *RemixSettings { - s.ChannelMapping = v - return s -} - -// SetChannelsIn sets the ChannelsIn field's value. -func (s *RemixSettings) SetChannelsIn(v int64) *RemixSettings { - s.ChannelsIn = &v - return s -} - -// SetChannelsOut sets the ChannelsOut field's value. -func (s *RemixSettings) SetChannelsOut(v int64) *RemixSettings { - s.ChannelsOut = &v - return s -} - // Settings for SCC caption output. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/SccDestinationSettings type SccDestinationSettings struct { @@ -9370,12 +5770,6 @@ func (s SccDestinationSettings) GoString() string { return s.String() } -// SetFramerate sets the Framerate field's value. -func (s *SccDestinationSettings) SetFramerate(v SccDestinationFramerate) *SccDestinationSettings { - s.Framerate = v - return s -} - // Settings for use with a SPEKE key provider // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/SpekeKeyProvider type SpekeKeyProvider struct { @@ -9403,24 +5797,6 @@ func (s SpekeKeyProvider) GoString() string { return s.String() } -// SetResourceId sets the ResourceId field's value. -func (s *SpekeKeyProvider) SetResourceId(v string) *SpekeKeyProvider { - s.ResourceId = &v - return s -} - -// SetSystemIds sets the SystemIds field's value. -func (s *SpekeKeyProvider) SetSystemIds(v []string) *SpekeKeyProvider { - s.SystemIds = v - return s -} - -// SetUrl sets the Url field's value. -func (s *SpekeKeyProvider) SetUrl(v string) *SpekeKeyProvider { - s.Url = &v - return s -} - // Settings for use with a SPEKE key provider. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/StaticKeyProvider type StaticKeyProvider struct { @@ -9454,30 +5830,6 @@ func (s StaticKeyProvider) GoString() string { return s.String() } -// SetKeyFormat sets the KeyFormat field's value. -func (s *StaticKeyProvider) SetKeyFormat(v string) *StaticKeyProvider { - s.KeyFormat = &v - return s -} - -// SetKeyFormatVersions sets the KeyFormatVersions field's value. -func (s *StaticKeyProvider) SetKeyFormatVersions(v string) *StaticKeyProvider { - s.KeyFormatVersions = &v - return s -} - -// SetStaticKeyValue sets the StaticKeyValue field's value. -func (s *StaticKeyProvider) SetStaticKeyValue(v string) *StaticKeyProvider { - s.StaticKeyValue = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *StaticKeyProvider) SetUrl(v string) *StaticKeyProvider { - s.Url = &v - return s -} - // Settings for Teletext caption output // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/TeletextDestinationSettings type TeletextDestinationSettings struct { @@ -9500,12 +5852,6 @@ func (s TeletextDestinationSettings) GoString() string { return s.String() } -// SetPageNumber sets the PageNumber field's value. -func (s *TeletextDestinationSettings) SetPageNumber(v string) *TeletextDestinationSettings { - s.PageNumber = &v - return s -} - // Settings specific to Teletext caption sources, including Page number. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/TeletextSourceSettings type TeletextSourceSettings struct { @@ -9527,12 +5873,6 @@ func (s TeletextSourceSettings) GoString() string { return s.String() } -// SetPageNumber sets the PageNumber field's value. -func (s *TeletextSourceSettings) SetPageNumber(v string) *TeletextSourceSettings { - s.PageNumber = &v - return s -} - // Timecode burn-in (TimecodeBurnIn)--Burns the output timecode and specified // prefix into the output. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/TimecodeBurnin @@ -9565,24 +5905,6 @@ func (s TimecodeBurnin) GoString() string { return s.String() } -// SetFontSize sets the FontSize field's value. -func (s *TimecodeBurnin) SetFontSize(v int64) *TimecodeBurnin { - s.FontSize = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *TimecodeBurnin) SetPosition(v TimecodeBurninPosition) *TimecodeBurnin { - s.Position = v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *TimecodeBurnin) SetPrefix(v string) *TimecodeBurnin { - s.Prefix = &v - return s -} - // Contains settings used to acquire and adjust timecode information from inputs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/TimecodeConfig type TimecodeConfig struct { @@ -9639,30 +5961,6 @@ func (s TimecodeConfig) GoString() string { return s.String() } -// SetAnchor sets the Anchor field's value. -func (s *TimecodeConfig) SetAnchor(v string) *TimecodeConfig { - s.Anchor = &v - return s -} - -// SetSource sets the Source field's value. -func (s *TimecodeConfig) SetSource(v TimecodeSource) *TimecodeConfig { - s.Source = v - return s -} - -// SetStart sets the Start field's value. -func (s *TimecodeConfig) SetStart(v string) *TimecodeConfig { - s.Start = &v - return s -} - -// SetTimestampOffset sets the TimestampOffset field's value. -func (s *TimecodeConfig) SetTimestampOffset(v string) *TimecodeConfig { - s.TimestampOffset = &v - return s -} - // Enable Timed metadata insertion (TimedMetadataInsertion) to include ID3 tags // in your job. To include timed metadata, you must enable it here, enable it // in each output container, and specify tags and timecodes in ID3 insertion @@ -9685,12 +5983,6 @@ func (s TimedMetadataInsertion) GoString() string { return s.String() } -// SetId3Insertions sets the Id3Insertions field's value. -func (s *TimedMetadataInsertion) SetId3Insertions(v []Id3Insertion) *TimedMetadataInsertion { - s.Id3Insertions = v - return s -} - // Information about when jobs are submitted, started, and finished is specified // in Unix epoch format in seconds. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Timing @@ -9717,24 +6009,6 @@ func (s Timing) GoString() string { return s.String() } -// SetFinishTime sets the FinishTime field's value. -func (s *Timing) SetFinishTime(v time.Time) *Timing { - s.FinishTime = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *Timing) SetStartTime(v time.Time) *Timing { - s.StartTime = &v - return s -} - -// SetSubmitTime sets the SubmitTime field's value. -func (s *Timing) SetSubmitTime(v time.Time) *Timing { - s.SubmitTime = &v - return s -} - // Settings for TTML caption output // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/TtmlDestinationSettings type TtmlDestinationSettings struct { @@ -9755,12 +6029,6 @@ func (s TtmlDestinationSettings) GoString() string { return s.String() } -// SetStylePassthrough sets the StylePassthrough field's value. -func (s *TtmlDestinationSettings) SetStylePassthrough(v TtmlStylePassthrough) *TtmlDestinationSettings { - s.StylePassthrough = v - return s -} - // Modify a job template by sending a request with the job template name and // any of the following that you wish to change: description, category, and // queue. @@ -9811,36 +6079,6 @@ func (s *UpdateJobTemplateInput) Validate() error { return nil } -// SetCategory sets the Category field's value. -func (s *UpdateJobTemplateInput) SetCategory(v string) *UpdateJobTemplateInput { - s.Category = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateJobTemplateInput) SetDescription(v string) *UpdateJobTemplateInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateJobTemplateInput) SetName(v string) *UpdateJobTemplateInput { - s.Name = &v - return s -} - -// SetQueue sets the Queue field's value. -func (s *UpdateJobTemplateInput) SetQueue(v string) *UpdateJobTemplateInput { - s.Queue = &v - return s -} - -// SetSettings sets the Settings field's value. -func (s *UpdateJobTemplateInput) SetSettings(v *JobTemplateSettings) *UpdateJobTemplateInput { - s.Settings = v - return s -} - // Successful update job template requests will return the new job template // JSON. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdateJobTemplateResponse @@ -9869,12 +6107,6 @@ func (s UpdateJobTemplateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobTemplate sets the JobTemplate field's value. -func (s *UpdateJobTemplateOutput) SetJobTemplate(v *JobTemplate) *UpdateJobTemplateOutput { - s.JobTemplate = v - return s -} - // Modify a preset by sending a request with the preset name and any of the // following that you wish to change: description, category, and transcoding // settings. @@ -9921,30 +6153,6 @@ func (s *UpdatePresetInput) Validate() error { return nil } -// SetCategory sets the Category field's value. -func (s *UpdatePresetInput) SetCategory(v string) *UpdatePresetInput { - s.Category = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdatePresetInput) SetDescription(v string) *UpdatePresetInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdatePresetInput) SetName(v string) *UpdatePresetInput { - s.Name = &v - return s -} - -// SetSettings sets the Settings field's value. -func (s *UpdatePresetInput) SetSettings(v *PresetSettings) *UpdatePresetInput { - s.Settings = v - return s -} - // Successful update preset requests will return the new preset JSON. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdatePresetResponse type UpdatePresetOutput struct { @@ -9972,12 +6180,6 @@ func (s UpdatePresetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPreset sets the Preset field's value. -func (s *UpdatePresetOutput) SetPreset(v *Preset) *UpdatePresetOutput { - s.Preset = v - return s -} - // Modify a queue by sending a request with the queue name and any of the following // that you wish to change - description, status. You pause or activate a queue // by changing its status between ACTIVE and PAUSED. @@ -10023,24 +6225,6 @@ func (s *UpdateQueueInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *UpdateQueueInput) SetDescription(v string) *UpdateQueueInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateQueueInput) SetName(v string) *UpdateQueueInput { - s.Name = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *UpdateQueueInput) SetStatus(v QueueStatus) *UpdateQueueInput { - s.Status = v - return s -} - // Successful update queue requests will return the new queue JSON. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdateQueueResponse type UpdateQueueOutput struct { @@ -10069,12 +6253,6 @@ func (s UpdateQueueOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetQueue sets the Queue field's value. -func (s *UpdateQueueOutput) SetQueue(v *Queue) *UpdateQueueOutput { - s.Queue = v - return s -} - // Video codec settings, (CodecSettings) under (VideoDescription), contains // the group of settings related to video encoding. The settings in this group // vary depending on the value you choose for Video codec (Codec). For each @@ -10119,42 +6297,6 @@ func (s VideoCodecSettings) GoString() string { return s.String() } -// SetCodec sets the Codec field's value. -func (s *VideoCodecSettings) SetCodec(v VideoCodec) *VideoCodecSettings { - s.Codec = v - return s -} - -// SetFrameCaptureSettings sets the FrameCaptureSettings field's value. -func (s *VideoCodecSettings) SetFrameCaptureSettings(v *FrameCaptureSettings) *VideoCodecSettings { - s.FrameCaptureSettings = v - return s -} - -// SetH264Settings sets the H264Settings field's value. -func (s *VideoCodecSettings) SetH264Settings(v *H264Settings) *VideoCodecSettings { - s.H264Settings = v - return s -} - -// SetH265Settings sets the H265Settings field's value. -func (s *VideoCodecSettings) SetH265Settings(v *H265Settings) *VideoCodecSettings { - s.H265Settings = v - return s -} - -// SetMpeg2Settings sets the Mpeg2Settings field's value. -func (s *VideoCodecSettings) SetMpeg2Settings(v *Mpeg2Settings) *VideoCodecSettings { - s.Mpeg2Settings = v - return s -} - -// SetProresSettings sets the ProresSettings field's value. -func (s *VideoCodecSettings) SetProresSettings(v *ProresSettings) *VideoCodecSettings { - s.ProresSettings = v - return s -} - // Settings for video outputs // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/VideoDescription type VideoDescription struct { @@ -10266,96 +6408,6 @@ func (s VideoDescription) GoString() string { return s.String() } -// SetAfdSignaling sets the AfdSignaling field's value. -func (s *VideoDescription) SetAfdSignaling(v AfdSignaling) *VideoDescription { - s.AfdSignaling = v - return s -} - -// SetAntiAlias sets the AntiAlias field's value. -func (s *VideoDescription) SetAntiAlias(v AntiAlias) *VideoDescription { - s.AntiAlias = v - return s -} - -// SetCodecSettings sets the CodecSettings field's value. -func (s *VideoDescription) SetCodecSettings(v *VideoCodecSettings) *VideoDescription { - s.CodecSettings = v - return s -} - -// SetColorMetadata sets the ColorMetadata field's value. -func (s *VideoDescription) SetColorMetadata(v ColorMetadata) *VideoDescription { - s.ColorMetadata = v - return s -} - -// SetCrop sets the Crop field's value. -func (s *VideoDescription) SetCrop(v *Rectangle) *VideoDescription { - s.Crop = v - return s -} - -// SetDropFrameTimecode sets the DropFrameTimecode field's value. -func (s *VideoDescription) SetDropFrameTimecode(v DropFrameTimecode) *VideoDescription { - s.DropFrameTimecode = v - return s -} - -// SetFixedAfd sets the FixedAfd field's value. -func (s *VideoDescription) SetFixedAfd(v int64) *VideoDescription { - s.FixedAfd = &v - return s -} - -// SetHeight sets the Height field's value. -func (s *VideoDescription) SetHeight(v int64) *VideoDescription { - s.Height = &v - return s -} - -// SetPosition sets the Position field's value. -func (s *VideoDescription) SetPosition(v *Rectangle) *VideoDescription { - s.Position = v - return s -} - -// SetRespondToAfd sets the RespondToAfd field's value. -func (s *VideoDescription) SetRespondToAfd(v RespondToAfd) *VideoDescription { - s.RespondToAfd = v - return s -} - -// SetScalingBehavior sets the ScalingBehavior field's value. -func (s *VideoDescription) SetScalingBehavior(v ScalingBehavior) *VideoDescription { - s.ScalingBehavior = v - return s -} - -// SetSharpness sets the Sharpness field's value. -func (s *VideoDescription) SetSharpness(v int64) *VideoDescription { - s.Sharpness = &v - return s -} - -// SetTimecodeInsertion sets the TimecodeInsertion field's value. -func (s *VideoDescription) SetTimecodeInsertion(v VideoTimecodeInsertion) *VideoDescription { - s.TimecodeInsertion = v - return s -} - -// SetVideoPreprocessors sets the VideoPreprocessors field's value. -func (s *VideoDescription) SetVideoPreprocessors(v *VideoPreprocessor) *VideoDescription { - s.VideoPreprocessors = v - return s -} - -// SetWidth sets the Width field's value. -func (s *VideoDescription) SetWidth(v int64) *VideoDescription { - s.Width = &v - return s -} - // Contains details about the output's video stream // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/VideoDetail type VideoDetail struct { @@ -10378,18 +6430,6 @@ func (s VideoDetail) GoString() string { return s.String() } -// SetHeightInPx sets the HeightInPx field's value. -func (s *VideoDetail) SetHeightInPx(v int64) *VideoDetail { - s.HeightInPx = &v - return s -} - -// SetWidthInPx sets the WidthInPx field's value. -func (s *VideoDetail) SetWidthInPx(v int64) *VideoDetail { - s.WidthInPx = &v - return s -} - // Find additional transcoding features under Preprocessors (VideoPreprocessors). // Enable the features at each output individually. These features are disabled // by default. @@ -10431,36 +6471,6 @@ func (s VideoPreprocessor) GoString() string { return s.String() } -// SetColorCorrector sets the ColorCorrector field's value. -func (s *VideoPreprocessor) SetColorCorrector(v *ColorCorrector) *VideoPreprocessor { - s.ColorCorrector = v - return s -} - -// SetDeinterlacer sets the Deinterlacer field's value. -func (s *VideoPreprocessor) SetDeinterlacer(v *Deinterlacer) *VideoPreprocessor { - s.Deinterlacer = v - return s -} - -// SetImageInserter sets the ImageInserter field's value. -func (s *VideoPreprocessor) SetImageInserter(v *ImageInserter) *VideoPreprocessor { - s.ImageInserter = v - return s -} - -// SetNoiseReducer sets the NoiseReducer field's value. -func (s *VideoPreprocessor) SetNoiseReducer(v *NoiseReducer) *VideoPreprocessor { - s.NoiseReducer = v - return s -} - -// SetTimecodeBurnin sets the TimecodeBurnin field's value. -func (s *VideoPreprocessor) SetTimecodeBurnin(v *TimecodeBurnin) *VideoPreprocessor { - s.TimecodeBurnin = v - return s -} - // Selector for video. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/VideoSelector type VideoSelector struct { @@ -10506,36 +6516,6 @@ func (s VideoSelector) GoString() string { return s.String() } -// SetColorSpace sets the ColorSpace field's value. -func (s *VideoSelector) SetColorSpace(v ColorSpace) *VideoSelector { - s.ColorSpace = v - return s -} - -// SetColorSpaceUsage sets the ColorSpaceUsage field's value. -func (s *VideoSelector) SetColorSpaceUsage(v ColorSpaceUsage) *VideoSelector { - s.ColorSpaceUsage = v - return s -} - -// SetHdr10Metadata sets the Hdr10Metadata field's value. -func (s *VideoSelector) SetHdr10Metadata(v *Hdr10Metadata) *VideoSelector { - s.Hdr10Metadata = v - return s -} - -// SetPid sets the Pid field's value. -func (s *VideoSelector) SetPid(v int64) *VideoSelector { - s.Pid = &v - return s -} - -// SetProgramNumber sets the ProgramNumber field's value. -func (s *VideoSelector) SetProgramNumber(v int64) *VideoSelector { - s.ProgramNumber = &v - return s -} - // Required when you set (Codec) under (AudioDescriptions)>(CodecSettings) to // the value WAV. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/WavSettings @@ -10565,24 +6545,6 @@ func (s WavSettings) GoString() string { return s.String() } -// SetBitDepth sets the BitDepth field's value. -func (s *WavSettings) SetBitDepth(v int64) *WavSettings { - s.BitDepth = &v - return s -} - -// SetChannels sets the Channels field's value. -func (s *WavSettings) SetChannels(v int64) *WavSettings { - s.Channels = &v - return s -} - -// SetSampleRate sets the SampleRate field's value. -func (s *WavSettings) SetSampleRate(v int64) *WavSettings { - s.SampleRate = &v - return s -} - // Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio // + audio description (AD) as a stereo pair. The value for AudioType will be // set to 3, which signals to downstream systems that this stream contains "broadcaster diff --git a/service/medialive/api.go b/service/medialive/api.go index f6b8327e065..6316d7172ff 100644 --- a/service/medialive/api.go +++ b/service/medialive/api.go @@ -915,60 +915,6 @@ func (s AacSettings) GoString() string { return s.String() } -// SetBitrate sets the Bitrate field's value. -func (s *AacSettings) SetBitrate(v float64) *AacSettings { - s.Bitrate = &v - return s -} - -// SetCodingMode sets the CodingMode field's value. -func (s *AacSettings) SetCodingMode(v AacCodingMode) *AacSettings { - s.CodingMode = v - return s -} - -// SetInputType sets the InputType field's value. -func (s *AacSettings) SetInputType(v AacInputType) *AacSettings { - s.InputType = v - return s -} - -// SetProfile sets the Profile field's value. -func (s *AacSettings) SetProfile(v AacProfile) *AacSettings { - s.Profile = v - return s -} - -// SetRateControlMode sets the RateControlMode field's value. -func (s *AacSettings) SetRateControlMode(v AacRateControlMode) *AacSettings { - s.RateControlMode = v - return s -} - -// SetRawFormat sets the RawFormat field's value. -func (s *AacSettings) SetRawFormat(v AacRawFormat) *AacSettings { - s.RawFormat = v - return s -} - -// SetSampleRate sets the SampleRate field's value. -func (s *AacSettings) SetSampleRate(v float64) *AacSettings { - s.SampleRate = &v - return s -} - -// SetSpec sets the Spec field's value. -func (s *AacSettings) SetSpec(v AacSpec) *AacSettings { - s.Spec = v - return s -} - -// SetVbrQuality sets the VbrQuality field's value. -func (s *AacSettings) SetVbrQuality(v AacVbrQuality) *AacSettings { - s.VbrQuality = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Ac3Settings type Ac3Settings struct { _ struct{} `type:"structure"` @@ -1011,48 +957,6 @@ func (s Ac3Settings) GoString() string { return s.String() } -// SetBitrate sets the Bitrate field's value. -func (s *Ac3Settings) SetBitrate(v float64) *Ac3Settings { - s.Bitrate = &v - return s -} - -// SetBitstreamMode sets the BitstreamMode field's value. -func (s *Ac3Settings) SetBitstreamMode(v Ac3BitstreamMode) *Ac3Settings { - s.BitstreamMode = v - return s -} - -// SetCodingMode sets the CodingMode field's value. -func (s *Ac3Settings) SetCodingMode(v Ac3CodingMode) *Ac3Settings { - s.CodingMode = v - return s -} - -// SetDialnorm sets the Dialnorm field's value. -func (s *Ac3Settings) SetDialnorm(v int64) *Ac3Settings { - s.Dialnorm = &v - return s -} - -// SetDrcProfile sets the DrcProfile field's value. -func (s *Ac3Settings) SetDrcProfile(v Ac3DrcProfile) *Ac3Settings { - s.DrcProfile = v - return s -} - -// SetLfeFilter sets the LfeFilter field's value. -func (s *Ac3Settings) SetLfeFilter(v Ac3LfeFilter) *Ac3Settings { - s.LfeFilter = v - return s -} - -// SetMetadataControl sets the MetadataControl field's value. -func (s *Ac3Settings) SetMetadataControl(v Ac3MetadataControl) *Ac3Settings { - s.MetadataControl = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ArchiveContainerSettings type ArchiveContainerSettings struct { _ struct{} `type:"structure"` @@ -1070,12 +974,6 @@ func (s ArchiveContainerSettings) GoString() string { return s.String() } -// SetM2tsSettings sets the M2tsSettings field's value. -func (s *ArchiveContainerSettings) SetM2tsSettings(v *M2tsSettings) *ArchiveContainerSettings { - s.M2tsSettings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ArchiveGroupSettings type ArchiveGroupSettings struct { _ struct{} `type:"structure"` @@ -1100,18 +998,6 @@ func (s ArchiveGroupSettings) GoString() string { return s.String() } -// SetDestination sets the Destination field's value. -func (s *ArchiveGroupSettings) SetDestination(v *OutputLocationRef) *ArchiveGroupSettings { - s.Destination = v - return s -} - -// SetRolloverInterval sets the RolloverInterval field's value. -func (s *ArchiveGroupSettings) SetRolloverInterval(v int64) *ArchiveGroupSettings { - s.RolloverInterval = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ArchiveOutputSettings type ArchiveOutputSettings struct { _ struct{} `type:"structure"` @@ -1138,24 +1024,6 @@ func (s ArchiveOutputSettings) GoString() string { return s.String() } -// SetContainerSettings sets the ContainerSettings field's value. -func (s *ArchiveOutputSettings) SetContainerSettings(v *ArchiveContainerSettings) *ArchiveOutputSettings { - s.ContainerSettings = v - return s -} - -// SetExtension sets the Extension field's value. -func (s *ArchiveOutputSettings) SetExtension(v string) *ArchiveOutputSettings { - s.Extension = &v - return s -} - -// SetNameModifier sets the NameModifier field's value. -func (s *ArchiveOutputSettings) SetNameModifier(v string) *ArchiveOutputSettings { - s.NameModifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AribDestinationSettings type AribDestinationSettings struct { _ struct{} `type:"structure"` @@ -1208,18 +1076,6 @@ func (s AudioChannelMapping) GoString() string { return s.String() } -// SetInputChannelLevels sets the InputChannelLevels field's value. -func (s *AudioChannelMapping) SetInputChannelLevels(v []InputChannelLevel) *AudioChannelMapping { - s.InputChannelLevels = v - return s -} - -// SetOutputChannel sets the OutputChannel field's value. -func (s *AudioChannelMapping) SetOutputChannel(v int64) *AudioChannelMapping { - s.OutputChannel = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AudioCodecSettings type AudioCodecSettings struct { _ struct{} `type:"structure"` @@ -1245,36 +1101,6 @@ func (s AudioCodecSettings) GoString() string { return s.String() } -// SetAacSettings sets the AacSettings field's value. -func (s *AudioCodecSettings) SetAacSettings(v *AacSettings) *AudioCodecSettings { - s.AacSettings = v - return s -} - -// SetAc3Settings sets the Ac3Settings field's value. -func (s *AudioCodecSettings) SetAc3Settings(v *Ac3Settings) *AudioCodecSettings { - s.Ac3Settings = v - return s -} - -// SetEac3Settings sets the Eac3Settings field's value. -func (s *AudioCodecSettings) SetEac3Settings(v *Eac3Settings) *AudioCodecSettings { - s.Eac3Settings = v - return s -} - -// SetMp2Settings sets the Mp2Settings field's value. -func (s *AudioCodecSettings) SetMp2Settings(v *Mp2Settings) *AudioCodecSettings { - s.Mp2Settings = v - return s -} - -// SetPassThroughSettings sets the PassThroughSettings field's value. -func (s *AudioCodecSettings) SetPassThroughSettings(v *PassThroughSettings) *AudioCodecSettings { - s.PassThroughSettings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AudioDescription type AudioDescription struct { _ struct{} `type:"structure"` @@ -1334,66 +1160,6 @@ func (s AudioDescription) GoString() string { return s.String() } -// SetAudioNormalizationSettings sets the AudioNormalizationSettings field's value. -func (s *AudioDescription) SetAudioNormalizationSettings(v *AudioNormalizationSettings) *AudioDescription { - s.AudioNormalizationSettings = v - return s -} - -// SetAudioSelectorName sets the AudioSelectorName field's value. -func (s *AudioDescription) SetAudioSelectorName(v string) *AudioDescription { - s.AudioSelectorName = &v - return s -} - -// SetAudioType sets the AudioType field's value. -func (s *AudioDescription) SetAudioType(v AudioType) *AudioDescription { - s.AudioType = v - return s -} - -// SetAudioTypeControl sets the AudioTypeControl field's value. -func (s *AudioDescription) SetAudioTypeControl(v AudioDescriptionAudioTypeControl) *AudioDescription { - s.AudioTypeControl = v - return s -} - -// SetCodecSettings sets the CodecSettings field's value. -func (s *AudioDescription) SetCodecSettings(v *AudioCodecSettings) *AudioDescription { - s.CodecSettings = v - return s -} - -// SetLanguageCode sets the LanguageCode field's value. -func (s *AudioDescription) SetLanguageCode(v string) *AudioDescription { - s.LanguageCode = &v - return s -} - -// SetLanguageCodeControl sets the LanguageCodeControl field's value. -func (s *AudioDescription) SetLanguageCodeControl(v AudioDescriptionLanguageCodeControl) *AudioDescription { - s.LanguageCodeControl = v - return s -} - -// SetName sets the Name field's value. -func (s *AudioDescription) SetName(v string) *AudioDescription { - s.Name = &v - return s -} - -// SetRemixSettings sets the RemixSettings field's value. -func (s *AudioDescription) SetRemixSettings(v *RemixSettings) *AudioDescription { - s.RemixSettings = v - return s -} - -// SetStreamName sets the StreamName field's value. -func (s *AudioDescription) SetStreamName(v string) *AudioDescription { - s.StreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AudioLanguageSelection type AudioLanguageSelection struct { _ struct{} `type:"structure"` @@ -1420,18 +1186,6 @@ func (s AudioLanguageSelection) GoString() string { return s.String() } -// SetLanguageCode sets the LanguageCode field's value. -func (s *AudioLanguageSelection) SetLanguageCode(v string) *AudioLanguageSelection { - s.LanguageCode = &v - return s -} - -// SetLanguageSelectionPolicy sets the LanguageSelectionPolicy field's value. -func (s *AudioLanguageSelection) SetLanguageSelectionPolicy(v AudioLanguageSelectionPolicy) *AudioLanguageSelection { - s.LanguageSelectionPolicy = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AudioNormalizationSettings type AudioNormalizationSettings struct { _ struct{} `type:"structure"` @@ -1461,24 +1215,6 @@ func (s AudioNormalizationSettings) GoString() string { return s.String() } -// SetAlgorithm sets the Algorithm field's value. -func (s *AudioNormalizationSettings) SetAlgorithm(v AudioNormalizationAlgorithm) *AudioNormalizationSettings { - s.Algorithm = v - return s -} - -// SetAlgorithmControl sets the AlgorithmControl field's value. -func (s *AudioNormalizationSettings) SetAlgorithmControl(v AudioNormalizationAlgorithmControl) *AudioNormalizationSettings { - s.AlgorithmControl = v - return s -} - -// SetTargetLkfs sets the TargetLkfs field's value. -func (s *AudioNormalizationSettings) SetTargetLkfs(v float64) *AudioNormalizationSettings { - s.TargetLkfs = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AudioOnlyHlsSettings type AudioOnlyHlsSettings struct { _ struct{} `type:"structure"` @@ -1519,24 +1255,6 @@ func (s AudioOnlyHlsSettings) GoString() string { return s.String() } -// SetAudioGroupId sets the AudioGroupId field's value. -func (s *AudioOnlyHlsSettings) SetAudioGroupId(v string) *AudioOnlyHlsSettings { - s.AudioGroupId = &v - return s -} - -// SetAudioOnlyImage sets the AudioOnlyImage field's value. -func (s *AudioOnlyHlsSettings) SetAudioOnlyImage(v *InputLocation) *AudioOnlyHlsSettings { - s.AudioOnlyImage = v - return s -} - -// SetAudioTrackType sets the AudioTrackType field's value. -func (s *AudioOnlyHlsSettings) SetAudioTrackType(v AudioOnlyHlsTrackType) *AudioOnlyHlsSettings { - s.AudioTrackType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AudioPidSelection type AudioPidSelection struct { _ struct{} `type:"structure"` @@ -1555,12 +1273,6 @@ func (s AudioPidSelection) GoString() string { return s.String() } -// SetPid sets the Pid field's value. -func (s *AudioPidSelection) SetPid(v int64) *AudioPidSelection { - s.Pid = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AudioSelector type AudioSelector struct { _ struct{} `type:"structure"` @@ -1583,18 +1295,6 @@ func (s AudioSelector) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *AudioSelector) SetName(v string) *AudioSelector { - s.Name = &v - return s -} - -// SetSelectorSettings sets the SelectorSettings field's value. -func (s *AudioSelector) SetSelectorSettings(v *AudioSelectorSettings) *AudioSelector { - s.SelectorSettings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AudioSelectorSettings type AudioSelectorSettings struct { _ struct{} `type:"structure"` @@ -1614,18 +1314,6 @@ func (s AudioSelectorSettings) GoString() string { return s.String() } -// SetAudioLanguageSelection sets the AudioLanguageSelection field's value. -func (s *AudioSelectorSettings) SetAudioLanguageSelection(v *AudioLanguageSelection) *AudioSelectorSettings { - s.AudioLanguageSelection = v - return s -} - -// SetAudioPidSelection sets the AudioPidSelection field's value. -func (s *AudioSelectorSettings) SetAudioPidSelection(v *AudioPidSelection) *AudioSelectorSettings { - s.AudioPidSelection = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AvailBlanking type AvailBlanking struct { _ struct{} `type:"structure"` @@ -1649,18 +1337,6 @@ func (s AvailBlanking) GoString() string { return s.String() } -// SetAvailBlankingImage sets the AvailBlankingImage field's value. -func (s *AvailBlanking) SetAvailBlankingImage(v *InputLocation) *AvailBlanking { - s.AvailBlankingImage = v - return s -} - -// SetState sets the State field's value. -func (s *AvailBlanking) SetState(v AvailBlankingState) *AvailBlanking { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AvailConfiguration type AvailConfiguration struct { _ struct{} `type:"structure"` @@ -1679,12 +1355,6 @@ func (s AvailConfiguration) GoString() string { return s.String() } -// SetAvailSettings sets the AvailSettings field's value. -func (s *AvailConfiguration) SetAvailSettings(v *AvailSettings) *AvailConfiguration { - s.AvailSettings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AvailSettings type AvailSettings struct { _ struct{} `type:"structure"` @@ -1704,18 +1374,6 @@ func (s AvailSettings) GoString() string { return s.String() } -// SetScte35SpliceInsert sets the Scte35SpliceInsert field's value. -func (s *AvailSettings) SetScte35SpliceInsert(v *Scte35SpliceInsert) *AvailSettings { - s.Scte35SpliceInsert = v - return s -} - -// SetScte35TimeSignalApos sets the Scte35TimeSignalApos field's value. -func (s *AvailSettings) SetScte35TimeSignalApos(v *Scte35TimeSignalApos) *AvailSettings { - s.Scte35TimeSignalApos = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BlackoutSlate type BlackoutSlate struct { _ struct{} `type:"structure"` @@ -1754,36 +1412,6 @@ func (s BlackoutSlate) GoString() string { return s.String() } -// SetBlackoutSlateImage sets the BlackoutSlateImage field's value. -func (s *BlackoutSlate) SetBlackoutSlateImage(v *InputLocation) *BlackoutSlate { - s.BlackoutSlateImage = v - return s -} - -// SetNetworkEndBlackout sets the NetworkEndBlackout field's value. -func (s *BlackoutSlate) SetNetworkEndBlackout(v BlackoutSlateNetworkEndBlackout) *BlackoutSlate { - s.NetworkEndBlackout = v - return s -} - -// SetNetworkEndBlackoutImage sets the NetworkEndBlackoutImage field's value. -func (s *BlackoutSlate) SetNetworkEndBlackoutImage(v *InputLocation) *BlackoutSlate { - s.NetworkEndBlackoutImage = v - return s -} - -// SetNetworkId sets the NetworkId field's value. -func (s *BlackoutSlate) SetNetworkId(v string) *BlackoutSlate { - s.NetworkId = &v - return s -} - -// SetState sets the State field's value. -func (s *BlackoutSlate) SetState(v BlackoutSlateState) *BlackoutSlate { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BurnInDestinationSettings type BurnInDestinationSettings struct { _ struct{} `type:"structure"` @@ -1892,108 +1520,6 @@ func (s BurnInDestinationSettings) GoString() string { return s.String() } -// SetAlignment sets the Alignment field's value. -func (s *BurnInDestinationSettings) SetAlignment(v BurnInAlignment) *BurnInDestinationSettings { - s.Alignment = v - return s -} - -// SetBackgroundColor sets the BackgroundColor field's value. -func (s *BurnInDestinationSettings) SetBackgroundColor(v BurnInBackgroundColor) *BurnInDestinationSettings { - s.BackgroundColor = v - return s -} - -// SetBackgroundOpacity sets the BackgroundOpacity field's value. -func (s *BurnInDestinationSettings) SetBackgroundOpacity(v int64) *BurnInDestinationSettings { - s.BackgroundOpacity = &v - return s -} - -// SetFont sets the Font field's value. -func (s *BurnInDestinationSettings) SetFont(v *InputLocation) *BurnInDestinationSettings { - s.Font = v - return s -} - -// SetFontColor sets the FontColor field's value. -func (s *BurnInDestinationSettings) SetFontColor(v BurnInFontColor) *BurnInDestinationSettings { - s.FontColor = v - return s -} - -// SetFontOpacity sets the FontOpacity field's value. -func (s *BurnInDestinationSettings) SetFontOpacity(v int64) *BurnInDestinationSettings { - s.FontOpacity = &v - return s -} - -// SetFontResolution sets the FontResolution field's value. -func (s *BurnInDestinationSettings) SetFontResolution(v int64) *BurnInDestinationSettings { - s.FontResolution = &v - return s -} - -// SetFontSize sets the FontSize field's value. -func (s *BurnInDestinationSettings) SetFontSize(v string) *BurnInDestinationSettings { - s.FontSize = &v - return s -} - -// SetOutlineColor sets the OutlineColor field's value. -func (s *BurnInDestinationSettings) SetOutlineColor(v BurnInOutlineColor) *BurnInDestinationSettings { - s.OutlineColor = v - return s -} - -// SetOutlineSize sets the OutlineSize field's value. -func (s *BurnInDestinationSettings) SetOutlineSize(v int64) *BurnInDestinationSettings { - s.OutlineSize = &v - return s -} - -// SetShadowColor sets the ShadowColor field's value. -func (s *BurnInDestinationSettings) SetShadowColor(v BurnInShadowColor) *BurnInDestinationSettings { - s.ShadowColor = v - return s -} - -// SetShadowOpacity sets the ShadowOpacity field's value. -func (s *BurnInDestinationSettings) SetShadowOpacity(v int64) *BurnInDestinationSettings { - s.ShadowOpacity = &v - return s -} - -// SetShadowXOffset sets the ShadowXOffset field's value. -func (s *BurnInDestinationSettings) SetShadowXOffset(v int64) *BurnInDestinationSettings { - s.ShadowXOffset = &v - return s -} - -// SetShadowYOffset sets the ShadowYOffset field's value. -func (s *BurnInDestinationSettings) SetShadowYOffset(v int64) *BurnInDestinationSettings { - s.ShadowYOffset = &v - return s -} - -// SetTeletextGridControl sets the TeletextGridControl field's value. -func (s *BurnInDestinationSettings) SetTeletextGridControl(v BurnInTeletextGridControl) *BurnInDestinationSettings { - s.TeletextGridControl = v - return s -} - -// SetXPosition sets the XPosition field's value. -func (s *BurnInDestinationSettings) SetXPosition(v int64) *BurnInDestinationSettings { - s.XPosition = &v - return s -} - -// SetYPosition sets the YPosition field's value. -func (s *BurnInDestinationSettings) SetYPosition(v int64) *BurnInDestinationSettings { - s.YPosition = &v - return s -} - // Output groups for this Live Event. Output groups contain information about // where streams should be distributed. // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CaptionDescription @@ -2030,36 +1556,6 @@ func (s CaptionDescription) GoString() string { return s.String() } -// SetCaptionSelectorName sets the CaptionSelectorName field's value. -func (s *CaptionDescription) SetCaptionSelectorName(v string) *CaptionDescription { - s.CaptionSelectorName = &v - return s -} - -// SetDestinationSettings sets the DestinationSettings field's value. -func (s *CaptionDescription) SetDestinationSettings(v *CaptionDestinationSettings) *CaptionDescription { - s.DestinationSettings = v - return s -} - -// SetLanguageCode sets the LanguageCode field's value. -func (s *CaptionDescription) SetLanguageCode(v string) *CaptionDescription { - s.LanguageCode = &v - return s -} - -// SetLanguageDescription sets the LanguageDescription field's value. -func (s *CaptionDescription) SetLanguageDescription(v string) *CaptionDescription { - s.LanguageDescription = &v - return s -} - -// SetName sets the Name field's value. -func (s *CaptionDescription) SetName(v string) *CaptionDescription { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CaptionDestinationSettings type CaptionDestinationSettings struct { _ struct{} `type:"structure"` @@ -2097,72 +1593,6 @@ func (s CaptionDestinationSettings) GoString() string { return s.String() } -// SetAribDestinationSettings sets the AribDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetAribDestinationSettings(v *AribDestinationSettings) *CaptionDestinationSettings { - s.AribDestinationSettings = v - return s -} - -// SetBurnInDestinationSettings sets the BurnInDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetBurnInDestinationSettings(v *BurnInDestinationSettings) *CaptionDestinationSettings { - s.BurnInDestinationSettings = v - return s -} - -// SetDvbSubDestinationSettings sets the DvbSubDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetDvbSubDestinationSettings(v *DvbSubDestinationSettings) *CaptionDestinationSettings { - s.DvbSubDestinationSettings = v - return s -} - -// SetEmbeddedDestinationSettings sets the EmbeddedDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetEmbeddedDestinationSettings(v *EmbeddedDestinationSettings) *CaptionDestinationSettings { - s.EmbeddedDestinationSettings = v - return s -} - -// SetEmbeddedPlusScte20DestinationSettings sets the EmbeddedPlusScte20DestinationSettings field's value. -func (s *CaptionDestinationSettings) SetEmbeddedPlusScte20DestinationSettings(v *EmbeddedPlusScte20DestinationSettings) *CaptionDestinationSettings { - s.EmbeddedPlusScte20DestinationSettings = v - return s -} - -// SetScte20PlusEmbeddedDestinationSettings sets the Scte20PlusEmbeddedDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetScte20PlusEmbeddedDestinationSettings(v *Scte20PlusEmbeddedDestinationSettings) *CaptionDestinationSettings { - s.Scte20PlusEmbeddedDestinationSettings = v - return s -} - -// SetScte27DestinationSettings sets the Scte27DestinationSettings field's value. -func (s *CaptionDestinationSettings) SetScte27DestinationSettings(v *Scte27DestinationSettings) *CaptionDestinationSettings { - s.Scte27DestinationSettings = v - return s -} - -// SetSmpteTtDestinationSettings sets the SmpteTtDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetSmpteTtDestinationSettings(v *SmpteTtDestinationSettings) *CaptionDestinationSettings { - s.SmpteTtDestinationSettings = v - return s -} - -// SetTeletextDestinationSettings sets the TeletextDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetTeletextDestinationSettings(v *TeletextDestinationSettings) *CaptionDestinationSettings { - s.TeletextDestinationSettings = v - return s -} - -// SetTtmlDestinationSettings sets the TtmlDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetTtmlDestinationSettings(v *TtmlDestinationSettings) *CaptionDestinationSettings { - s.TtmlDestinationSettings = v - return s -} - -// SetWebvttDestinationSettings sets the WebvttDestinationSettings field's value. -func (s *CaptionDestinationSettings) SetWebvttDestinationSettings(v *WebvttDestinationSettings) *CaptionDestinationSettings { - s.WebvttDestinationSettings = v - return s -} - // Maps a caption channel to an ISO 693-2 language code (http://www.loc.gov/standards/iso639-2), // with an optional description. // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CaptionLanguageMapping @@ -2190,24 +1620,6 @@ func (s CaptionLanguageMapping) GoString() string { return s.String() } -// SetCaptionChannel sets the CaptionChannel field's value. -func (s *CaptionLanguageMapping) SetCaptionChannel(v int64) *CaptionLanguageMapping { - s.CaptionChannel = &v - return s -} - -// SetLanguageCode sets the LanguageCode field's value. -func (s *CaptionLanguageMapping) SetLanguageCode(v string) *CaptionLanguageMapping { - s.LanguageCode = &v - return s -} - -// SetLanguageDescription sets the LanguageDescription field's value. -func (s *CaptionLanguageMapping) SetLanguageDescription(v string) *CaptionLanguageMapping { - s.LanguageDescription = &v - return s -} - // Output groups for this Live Event. Output groups contain information about // where streams should be distributed. // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CaptionSelector @@ -2237,24 +1649,6 @@ func (s CaptionSelector) GoString() string { return s.String() } -// SetLanguageCode sets the LanguageCode field's value. -func (s *CaptionSelector) SetLanguageCode(v string) *CaptionSelector { - s.LanguageCode = &v - return s -} - -// SetName sets the Name field's value. -func (s *CaptionSelector) SetName(v string) *CaptionSelector { - s.Name = &v - return s -} - -// SetSelectorSettings sets the SelectorSettings field's value. -func (s *CaptionSelector) SetSelectorSettings(v *CaptionSelectorSettings) *CaptionSelector { - s.SelectorSettings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CaptionSelectorSettings type CaptionSelectorSettings struct { _ struct{} `type:"structure"` @@ -2282,42 +1676,6 @@ func (s CaptionSelectorSettings) GoString() string { return s.String() } -// SetAribSourceSettings sets the AribSourceSettings field's value. -func (s *CaptionSelectorSettings) SetAribSourceSettings(v *AribSourceSettings) *CaptionSelectorSettings { - s.AribSourceSettings = v - return s -} - -// SetDvbSubSourceSettings sets the DvbSubSourceSettings field's value. -func (s *CaptionSelectorSettings) SetDvbSubSourceSettings(v *DvbSubSourceSettings) *CaptionSelectorSettings { - s.DvbSubSourceSettings = v - return s -} - -// SetEmbeddedSourceSettings sets the EmbeddedSourceSettings field's value. -func (s *CaptionSelectorSettings) SetEmbeddedSourceSettings(v *EmbeddedSourceSettings) *CaptionSelectorSettings { - s.EmbeddedSourceSettings = v - return s -} - -// SetScte20SourceSettings sets the Scte20SourceSettings field's value. -func (s *CaptionSelectorSettings) SetScte20SourceSettings(v *Scte20SourceSettings) *CaptionSelectorSettings { - s.Scte20SourceSettings = v - return s -} - -// SetScte27SourceSettings sets the Scte27SourceSettings field's value. -func (s *CaptionSelectorSettings) SetScte27SourceSettings(v *Scte27SourceSettings) *CaptionSelectorSettings { - s.Scte27SourceSettings = v - return s -} - -// SetTeletextSourceSettings sets the TeletextSourceSettings field's value. -func (s *CaptionSelectorSettings) SetTeletextSourceSettings(v *TeletextSourceSettings) *CaptionSelectorSettings { - s.TeletextSourceSettings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Channel type Channel struct { _ struct{} `type:"structure"` @@ -2363,66 +1721,6 @@ func (s Channel) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Channel) SetArn(v string) *Channel { - s.Arn = &v - return s -} - -// SetDestinations sets the Destinations field's value. -func (s *Channel) SetDestinations(v []OutputDestination) *Channel { - s.Destinations = v - return s -} - -// SetEgressEndpoints sets the EgressEndpoints field's value. -func (s *Channel) SetEgressEndpoints(v []ChannelEgressEndpoint) *Channel { - s.EgressEndpoints = v - return s -} - -// SetEncoderSettings sets the EncoderSettings field's value. -func (s *Channel) SetEncoderSettings(v *EncoderSettings) *Channel { - s.EncoderSettings = v - return s -} - -// SetId sets the Id field's value. -func (s *Channel) SetId(v string) *Channel { - s.Id = &v - return s -} - -// SetInputAttachments sets the InputAttachments field's value. -func (s *Channel) SetInputAttachments(v []InputAttachment) *Channel { - s.InputAttachments = v - return s -} - -// SetName sets the Name field's value. -func (s *Channel) SetName(v string) *Channel { - s.Name = &v - return s -} - -// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. -func (s *Channel) SetPipelinesRunningCount(v int64) *Channel { - s.PipelinesRunningCount = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *Channel) SetRoleArn(v string) *Channel { - s.RoleArn = &v - return s -} - -// SetState sets the State field's value. -func (s *Channel) SetState(v ChannelState) *Channel { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ChannelEgressEndpoint type ChannelEgressEndpoint struct { _ struct{} `type:"structure"` @@ -2441,12 +1739,6 @@ func (s ChannelEgressEndpoint) GoString() string { return s.String() } -// SetSourceIp sets the SourceIp field's value. -func (s *ChannelEgressEndpoint) SetSourceIp(v string) *ChannelEgressEndpoint { - s.SourceIp = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ChannelSummary type ChannelSummary struct { _ struct{} `type:"structure"` @@ -2490,60 +1782,6 @@ func (s ChannelSummary) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *ChannelSummary) SetArn(v string) *ChannelSummary { - s.Arn = &v - return s -} - -// SetDestinations sets the Destinations field's value. -func (s *ChannelSummary) SetDestinations(v []OutputDestination) *ChannelSummary { - s.Destinations = v - return s -} - -// SetEgressEndpoints sets the EgressEndpoints field's value. -func (s *ChannelSummary) SetEgressEndpoints(v []ChannelEgressEndpoint) *ChannelSummary { - s.EgressEndpoints = v - return s -} - -// SetId sets the Id field's value. -func (s *ChannelSummary) SetId(v string) *ChannelSummary { - s.Id = &v - return s -} - -// SetInputAttachments sets the InputAttachments field's value. -func (s *ChannelSummary) SetInputAttachments(v []InputAttachment) *ChannelSummary { - s.InputAttachments = v - return s -} - -// SetName sets the Name field's value. -func (s *ChannelSummary) SetName(v string) *ChannelSummary { - s.Name = &v - return s -} - -// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. -func (s *ChannelSummary) SetPipelinesRunningCount(v int64) *ChannelSummary { - s.PipelinesRunningCount = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *ChannelSummary) SetRoleArn(v string) *ChannelSummary { - s.RoleArn = &v - return s -} - -// SetState sets the State field's value. -func (s *ChannelSummary) SetState(v ChannelState) *ChannelSummary { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannelRequest type CreateChannelInput struct { _ struct{} `type:"structure"` @@ -2573,48 +1811,6 @@ func (s CreateChannelInput) GoString() string { return s.String() } -// SetDestinations sets the Destinations field's value. -func (s *CreateChannelInput) SetDestinations(v []OutputDestination) *CreateChannelInput { - s.Destinations = v - return s -} - -// SetEncoderSettings sets the EncoderSettings field's value. -func (s *CreateChannelInput) SetEncoderSettings(v *EncoderSettings) *CreateChannelInput { - s.EncoderSettings = v - return s -} - -// SetInputAttachments sets the InputAttachments field's value. -func (s *CreateChannelInput) SetInputAttachments(v []InputAttachment) *CreateChannelInput { - s.InputAttachments = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateChannelInput) SetName(v string) *CreateChannelInput { - s.Name = &v - return s -} - -// SetRequestId sets the RequestId field's value. -func (s *CreateChannelInput) SetRequestId(v string) *CreateChannelInput { - s.RequestId = &v - return s -} - -// SetReserved sets the Reserved field's value. -func (s *CreateChannelInput) SetReserved(v string) *CreateChannelInput { - s.Reserved = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *CreateChannelInput) SetRoleArn(v string) *CreateChannelInput { - s.RoleArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannelResponse type CreateChannelOutput struct { _ struct{} `type:"structure"` @@ -2639,12 +1835,6 @@ func (s CreateChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChannel sets the Channel field's value. -func (s *CreateChannelOutput) SetChannel(v *Channel) *CreateChannelOutput { - s.Channel = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInputRequest type CreateInputInput struct { _ struct{} `type:"structure"` @@ -2672,42 +1862,6 @@ func (s CreateInputInput) GoString() string { return s.String() } -// SetDestinations sets the Destinations field's value. -func (s *CreateInputInput) SetDestinations(v []InputDestinationRequest) *CreateInputInput { - s.Destinations = v - return s -} - -// SetInputSecurityGroups sets the InputSecurityGroups field's value. -func (s *CreateInputInput) SetInputSecurityGroups(v []string) *CreateInputInput { - s.InputSecurityGroups = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateInputInput) SetName(v string) *CreateInputInput { - s.Name = &v - return s -} - -// SetRequestId sets the RequestId field's value. -func (s *CreateInputInput) SetRequestId(v string) *CreateInputInput { - s.RequestId = &v - return s -} - -// SetSources sets the Sources field's value. -func (s *CreateInputInput) SetSources(v []InputSourceRequest) *CreateInputInput { - s.Sources = v - return s -} - -// SetType sets the Type field's value. -func (s *CreateInputInput) SetType(v InputType) *CreateInputInput { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInputResponse type CreateInputOutput struct { _ struct{} `type:"structure"` @@ -2732,12 +1886,6 @@ func (s CreateInputOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInput sets the Input field's value. -func (s *CreateInputOutput) SetInput(v *Input) *CreateInputOutput { - s.Input = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInputSecurityGroupRequest type CreateInputSecurityGroupInput struct { _ struct{} `type:"structure"` @@ -2755,12 +1903,6 @@ func (s CreateInputSecurityGroupInput) GoString() string { return s.String() } -// SetWhitelistRules sets the WhitelistRules field's value. -func (s *CreateInputSecurityGroupInput) SetWhitelistRules(v []InputWhitelistRuleCidr) *CreateInputSecurityGroupInput { - s.WhitelistRules = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInputSecurityGroupResponse type CreateInputSecurityGroupOutput struct { _ struct{} `type:"structure"` @@ -2786,12 +1928,6 @@ func (s CreateInputSecurityGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSecurityGroup sets the SecurityGroup field's value. -func (s *CreateInputSecurityGroupOutput) SetSecurityGroup(v *InputSecurityGroup) *CreateInputSecurityGroupOutput { - s.SecurityGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteChannelRequest type DeleteChannelInput struct { _ struct{} `type:"structure"` @@ -2824,12 +1960,6 @@ func (s *DeleteChannelInput) Validate() error { return nil } -// SetChannelId sets the ChannelId field's value. -func (s *DeleteChannelInput) SetChannelId(v string) *DeleteChannelInput { - s.ChannelId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteChannelResponse type DeleteChannelOutput struct { _ struct{} `type:"structure"` @@ -2872,66 +2002,6 @@ func (s DeleteChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *DeleteChannelOutput) SetArn(v string) *DeleteChannelOutput { - s.Arn = &v - return s -} - -// SetDestinations sets the Destinations field's value. -func (s *DeleteChannelOutput) SetDestinations(v []OutputDestination) *DeleteChannelOutput { - s.Destinations = v - return s -} - -// SetEgressEndpoints sets the EgressEndpoints field's value. -func (s *DeleteChannelOutput) SetEgressEndpoints(v []ChannelEgressEndpoint) *DeleteChannelOutput { - s.EgressEndpoints = v - return s -} - -// SetEncoderSettings sets the EncoderSettings field's value. -func (s *DeleteChannelOutput) SetEncoderSettings(v *EncoderSettings) *DeleteChannelOutput { - s.EncoderSettings = v - return s -} - -// SetId sets the Id field's value. -func (s *DeleteChannelOutput) SetId(v string) *DeleteChannelOutput { - s.Id = &v - return s -} - -// SetInputAttachments sets the InputAttachments field's value. -func (s *DeleteChannelOutput) SetInputAttachments(v []InputAttachment) *DeleteChannelOutput { - s.InputAttachments = v - return s -} - -// SetName sets the Name field's value. -func (s *DeleteChannelOutput) SetName(v string) *DeleteChannelOutput { - s.Name = &v - return s -} - -// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. -func (s *DeleteChannelOutput) SetPipelinesRunningCount(v int64) *DeleteChannelOutput { - s.PipelinesRunningCount = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *DeleteChannelOutput) SetRoleArn(v string) *DeleteChannelOutput { - s.RoleArn = &v - return s -} - -// SetState sets the State field's value. -func (s *DeleteChannelOutput) SetState(v ChannelState) *DeleteChannelOutput { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInputRequest type DeleteInputInput struct { _ struct{} `type:"structure"` @@ -2964,12 +2034,6 @@ func (s *DeleteInputInput) Validate() error { return nil } -// SetInputId sets the InputId field's value. -func (s *DeleteInputInput) SetInputId(v string) *DeleteInputInput { - s.InputId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInputResponse type DeleteInputOutput struct { _ struct{} `type:"structure"` @@ -3024,12 +2088,6 @@ func (s *DeleteInputSecurityGroupInput) Validate() error { return nil } -// SetInputSecurityGroupId sets the InputSecurityGroupId field's value. -func (s *DeleteInputSecurityGroupInput) SetInputSecurityGroupId(v string) *DeleteInputSecurityGroupInput { - s.InputSecurityGroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInputSecurityGroupResponse type DeleteInputSecurityGroupOutput struct { _ struct{} `type:"structure"` @@ -3084,12 +2142,6 @@ func (s *DescribeChannelInput) Validate() error { return nil } -// SetChannelId sets the ChannelId field's value. -func (s *DescribeChannelInput) SetChannelId(v string) *DescribeChannelInput { - s.ChannelId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeChannelResponse type DescribeChannelOutput struct { _ struct{} `type:"structure"` @@ -3132,66 +2184,6 @@ func (s DescribeChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *DescribeChannelOutput) SetArn(v string) *DescribeChannelOutput { - s.Arn = &v - return s -} - -// SetDestinations sets the Destinations field's value. -func (s *DescribeChannelOutput) SetDestinations(v []OutputDestination) *DescribeChannelOutput { - s.Destinations = v - return s -} - -// SetEgressEndpoints sets the EgressEndpoints field's value. -func (s *DescribeChannelOutput) SetEgressEndpoints(v []ChannelEgressEndpoint) *DescribeChannelOutput { - s.EgressEndpoints = v - return s -} - -// SetEncoderSettings sets the EncoderSettings field's value. -func (s *DescribeChannelOutput) SetEncoderSettings(v *EncoderSettings) *DescribeChannelOutput { - s.EncoderSettings = v - return s -} - -// SetId sets the Id field's value. -func (s *DescribeChannelOutput) SetId(v string) *DescribeChannelOutput { - s.Id = &v - return s -} - -// SetInputAttachments sets the InputAttachments field's value. -func (s *DescribeChannelOutput) SetInputAttachments(v []InputAttachment) *DescribeChannelOutput { - s.InputAttachments = v - return s -} - -// SetName sets the Name field's value. -func (s *DescribeChannelOutput) SetName(v string) *DescribeChannelOutput { - s.Name = &v - return s -} - -// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. -func (s *DescribeChannelOutput) SetPipelinesRunningCount(v int64) *DescribeChannelOutput { - s.PipelinesRunningCount = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *DescribeChannelOutput) SetRoleArn(v string) *DescribeChannelOutput { - s.RoleArn = &v - return s -} - -// SetState sets the State field's value. -func (s *DescribeChannelOutput) SetState(v ChannelState) *DescribeChannelOutput { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputRequest type DescribeInputInput struct { _ struct{} `type:"structure"` @@ -3224,12 +2216,6 @@ func (s *DescribeInputInput) Validate() error { return nil } -// SetInputId sets the InputId field's value. -func (s *DescribeInputInput) SetInputId(v string) *DescribeInputInput { - s.InputId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputResponse type DescribeInputOutput struct { _ struct{} `type:"structure"` @@ -3270,60 +2256,6 @@ func (s DescribeInputOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *DescribeInputOutput) SetArn(v string) *DescribeInputOutput { - s.Arn = &v - return s -} - -// SetAttachedChannels sets the AttachedChannels field's value. -func (s *DescribeInputOutput) SetAttachedChannels(v []string) *DescribeInputOutput { - s.AttachedChannels = v - return s -} - -// SetDestinations sets the Destinations field's value. -func (s *DescribeInputOutput) SetDestinations(v []InputDestination) *DescribeInputOutput { - s.Destinations = v - return s -} - -// SetId sets the Id field's value. -func (s *DescribeInputOutput) SetId(v string) *DescribeInputOutput { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *DescribeInputOutput) SetName(v string) *DescribeInputOutput { - s.Name = &v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *DescribeInputOutput) SetSecurityGroups(v []string) *DescribeInputOutput { - s.SecurityGroups = v - return s -} - -// SetSources sets the Sources field's value. -func (s *DescribeInputOutput) SetSources(v []InputSource) *DescribeInputOutput { - s.Sources = v - return s -} - -// SetState sets the State field's value. -func (s *DescribeInputOutput) SetState(v InputState) *DescribeInputOutput { - s.State = v - return s -} - -// SetType sets the Type field's value. -func (s *DescribeInputOutput) SetType(v InputType) *DescribeInputOutput { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputSecurityGroupRequest type DescribeInputSecurityGroupInput struct { _ struct{} `type:"structure"` @@ -3356,12 +2288,6 @@ func (s *DescribeInputSecurityGroupInput) Validate() error { return nil } -// SetInputSecurityGroupId sets the InputSecurityGroupId field's value. -func (s *DescribeInputSecurityGroupInput) SetInputSecurityGroupId(v string) *DescribeInputSecurityGroupInput { - s.InputSecurityGroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputSecurityGroupResponse type DescribeInputSecurityGroupOutput struct { _ struct{} `type:"structure"` @@ -3390,24 +2316,6 @@ func (s DescribeInputSecurityGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *DescribeInputSecurityGroupOutput) SetArn(v string) *DescribeInputSecurityGroupOutput { - s.Arn = &v - return s -} - -// SetId sets the Id field's value. -func (s *DescribeInputSecurityGroupOutput) SetId(v string) *DescribeInputSecurityGroupOutput { - s.Id = &v - return s -} - -// SetWhitelistRules sets the WhitelistRules field's value. -func (s *DescribeInputSecurityGroupOutput) SetWhitelistRules(v []InputWhitelistRule) *DescribeInputSecurityGroupOutput { - s.WhitelistRules = v - return s -} - // DVB Network Information Table (NIT) // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DvbNitSettings type DvbNitSettings struct { @@ -3435,24 +2343,6 @@ func (s DvbNitSettings) GoString() string { return s.String() } -// SetNetworkId sets the NetworkId field's value. -func (s *DvbNitSettings) SetNetworkId(v int64) *DvbNitSettings { - s.NetworkId = &v - return s -} - -// SetNetworkName sets the NetworkName field's value. -func (s *DvbNitSettings) SetNetworkName(v string) *DvbNitSettings { - s.NetworkName = &v - return s -} - -// SetRepInterval sets the RepInterval field's value. -func (s *DvbNitSettings) SetRepInterval(v int64) *DvbNitSettings { - s.RepInterval = &v - return s -} - // DVB Service Description Table (SDT) // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DvbSdtSettings type DvbSdtSettings struct { @@ -3489,30 +2379,6 @@ func (s DvbSdtSettings) GoString() string { return s.String() } -// SetOutputSdt sets the OutputSdt field's value. -func (s *DvbSdtSettings) SetOutputSdt(v DvbSdtOutputSdt) *DvbSdtSettings { - s.OutputSdt = v - return s -} - -// SetRepInterval sets the RepInterval field's value. -func (s *DvbSdtSettings) SetRepInterval(v int64) *DvbSdtSettings { - s.RepInterval = &v - return s -} - -// SetServiceName sets the ServiceName field's value. -func (s *DvbSdtSettings) SetServiceName(v string) *DvbSdtSettings { - s.ServiceName = &v - return s -} - -// SetServiceProviderName sets the ServiceProviderName field's value. -func (s *DvbSdtSettings) SetServiceProviderName(v string) *DvbSdtSettings { - s.ServiceProviderName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DvbSubDestinationSettings type DvbSubDestinationSettings struct { _ struct{} `type:"structure"` @@ -3627,108 +2493,6 @@ func (s DvbSubDestinationSettings) GoString() string { return s.String() } -// SetAlignment sets the Alignment field's value. -func (s *DvbSubDestinationSettings) SetAlignment(v DvbSubDestinationAlignment) *DvbSubDestinationSettings { - s.Alignment = v - return s -} - -// SetBackgroundColor sets the BackgroundColor field's value. -func (s *DvbSubDestinationSettings) SetBackgroundColor(v DvbSubDestinationBackgroundColor) *DvbSubDestinationSettings { - s.BackgroundColor = v - return s -} - -// SetBackgroundOpacity sets the BackgroundOpacity field's value. -func (s *DvbSubDestinationSettings) SetBackgroundOpacity(v int64) *DvbSubDestinationSettings { - s.BackgroundOpacity = &v - return s -} - -// SetFont sets the Font field's value. -func (s *DvbSubDestinationSettings) SetFont(v *InputLocation) *DvbSubDestinationSettings { - s.Font = v - return s -} - -// SetFontColor sets the FontColor field's value. -func (s *DvbSubDestinationSettings) SetFontColor(v DvbSubDestinationFontColor) *DvbSubDestinationSettings { - s.FontColor = v - return s -} - -// SetFontOpacity sets the FontOpacity field's value. -func (s *DvbSubDestinationSettings) SetFontOpacity(v int64) *DvbSubDestinationSettings { - s.FontOpacity = &v - return s -} - -// SetFontResolution sets the FontResolution field's value. -func (s *DvbSubDestinationSettings) SetFontResolution(v int64) *DvbSubDestinationSettings { - s.FontResolution = &v - return s -} - -// SetFontSize sets the FontSize field's value. -func (s *DvbSubDestinationSettings) SetFontSize(v string) *DvbSubDestinationSettings { - s.FontSize = &v - return s -} - -// SetOutlineColor sets the OutlineColor field's value. -func (s *DvbSubDestinationSettings) SetOutlineColor(v DvbSubDestinationOutlineColor) *DvbSubDestinationSettings { - s.OutlineColor = v - return s -} - -// SetOutlineSize sets the OutlineSize field's value. -func (s *DvbSubDestinationSettings) SetOutlineSize(v int64) *DvbSubDestinationSettings { - s.OutlineSize = &v - return s -} - -// SetShadowColor sets the ShadowColor field's value. -func (s *DvbSubDestinationSettings) SetShadowColor(v DvbSubDestinationShadowColor) *DvbSubDestinationSettings { - s.ShadowColor = v - return s -} - -// SetShadowOpacity sets the ShadowOpacity field's value. -func (s *DvbSubDestinationSettings) SetShadowOpacity(v int64) *DvbSubDestinationSettings { - s.ShadowOpacity = &v - return s -} - -// SetShadowXOffset sets the ShadowXOffset field's value. -func (s *DvbSubDestinationSettings) SetShadowXOffset(v int64) *DvbSubDestinationSettings { - s.ShadowXOffset = &v - return s -} - -// SetShadowYOffset sets the ShadowYOffset field's value. -func (s *DvbSubDestinationSettings) SetShadowYOffset(v int64) *DvbSubDestinationSettings { - s.ShadowYOffset = &v - return s -} - -// SetTeletextGridControl sets the TeletextGridControl field's value. -func (s *DvbSubDestinationSettings) SetTeletextGridControl(v DvbSubDestinationTeletextGridControl) *DvbSubDestinationSettings { - s.TeletextGridControl = v - return s -} - -// SetXPosition sets the XPosition field's value. -func (s *DvbSubDestinationSettings) SetXPosition(v int64) *DvbSubDestinationSettings { - s.XPosition = &v - return s -} - -// SetYPosition sets the YPosition field's value. -func (s *DvbSubDestinationSettings) SetYPosition(v int64) *DvbSubDestinationSettings { - s.YPosition = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DvbSubSourceSettings type DvbSubSourceSettings struct { _ struct{} `type:"structure"` @@ -3749,12 +2513,6 @@ func (s DvbSubSourceSettings) GoString() string { return s.String() } -// SetPid sets the Pid field's value. -func (s *DvbSubSourceSettings) SetPid(v int64) *DvbSubSourceSettings { - s.Pid = &v - return s -} - // DVB Time and Date Table (SDT) // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DvbTdtSettings type DvbTdtSettings struct { @@ -3775,12 +2533,6 @@ func (s DvbTdtSettings) GoString() string { return s.String() } -// SetRepInterval sets the RepInterval field's value. -func (s *DvbTdtSettings) SetRepInterval(v int64) *DvbTdtSettings { - s.RepInterval = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Eac3Settings type Eac3Settings struct { _ struct{} `type:"structure"` @@ -3869,126 +2621,6 @@ func (s Eac3Settings) GoString() string { return s.String() } -// SetAttenuationControl sets the AttenuationControl field's value. -func (s *Eac3Settings) SetAttenuationControl(v Eac3AttenuationControl) *Eac3Settings { - s.AttenuationControl = v - return s -} - -// SetBitrate sets the Bitrate field's value. -func (s *Eac3Settings) SetBitrate(v float64) *Eac3Settings { - s.Bitrate = &v - return s -} - -// SetBitstreamMode sets the BitstreamMode field's value. -func (s *Eac3Settings) SetBitstreamMode(v Eac3BitstreamMode) *Eac3Settings { - s.BitstreamMode = v - return s -} - -// SetCodingMode sets the CodingMode field's value. -func (s *Eac3Settings) SetCodingMode(v Eac3CodingMode) *Eac3Settings { - s.CodingMode = v - return s -} - -// SetDcFilter sets the DcFilter field's value. -func (s *Eac3Settings) SetDcFilter(v Eac3DcFilter) *Eac3Settings { - s.DcFilter = v - return s -} - -// SetDialnorm sets the Dialnorm field's value. -func (s *Eac3Settings) SetDialnorm(v int64) *Eac3Settings { - s.Dialnorm = &v - return s -} - -// SetDrcLine sets the DrcLine field's value. -func (s *Eac3Settings) SetDrcLine(v Eac3DrcLine) *Eac3Settings { - s.DrcLine = v - return s -} - -// SetDrcRf sets the DrcRf field's value. -func (s *Eac3Settings) SetDrcRf(v Eac3DrcRf) *Eac3Settings { - s.DrcRf = v - return s -} - -// SetLfeControl sets the LfeControl field's value. -func (s *Eac3Settings) SetLfeControl(v Eac3LfeControl) *Eac3Settings { - s.LfeControl = v - return s -} - -// SetLfeFilter sets the LfeFilter field's value. -func (s *Eac3Settings) SetLfeFilter(v Eac3LfeFilter) *Eac3Settings { - s.LfeFilter = v - return s -} - -// SetLoRoCenterMixLevel sets the LoRoCenterMixLevel field's value. -func (s *Eac3Settings) SetLoRoCenterMixLevel(v float64) *Eac3Settings { - s.LoRoCenterMixLevel = &v - return s -} - -// SetLoRoSurroundMixLevel sets the LoRoSurroundMixLevel field's value. -func (s *Eac3Settings) SetLoRoSurroundMixLevel(v float64) *Eac3Settings { - s.LoRoSurroundMixLevel = &v - return s -} - -// SetLtRtCenterMixLevel sets the LtRtCenterMixLevel field's value. -func (s *Eac3Settings) SetLtRtCenterMixLevel(v float64) *Eac3Settings { - s.LtRtCenterMixLevel = &v - return s -} - -// SetLtRtSurroundMixLevel sets the LtRtSurroundMixLevel field's value. -func (s *Eac3Settings) SetLtRtSurroundMixLevel(v float64) *Eac3Settings { - s.LtRtSurroundMixLevel = &v - return s -} - -// SetMetadataControl sets the MetadataControl field's value. -func (s *Eac3Settings) SetMetadataControl(v Eac3MetadataControl) *Eac3Settings { - s.MetadataControl = v - return s -} - -// SetPassthroughControl sets the PassthroughControl field's value. -func (s *Eac3Settings) SetPassthroughControl(v Eac3PassthroughControl) *Eac3Settings { - s.PassthroughControl = v - return s -} - -// SetPhaseControl sets the PhaseControl field's value. -func (s *Eac3Settings) SetPhaseControl(v Eac3PhaseControl) *Eac3Settings { - s.PhaseControl = v - return s -} - -// SetStereoDownmix sets the StereoDownmix field's value. -func (s *Eac3Settings) SetStereoDownmix(v Eac3StereoDownmix) *Eac3Settings { - s.StereoDownmix = v - return s -} - -// SetSurroundExMode sets the SurroundExMode field's value. -func (s *Eac3Settings) SetSurroundExMode(v Eac3SurroundExMode) *Eac3Settings { - s.SurroundExMode = v - return s -} - -// SetSurroundMode sets the SurroundMode field's value. -func (s *Eac3Settings) SetSurroundMode(v Eac3SurroundMode) *Eac3Settings { - s.SurroundMode = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/EmbeddedDestinationSettings type EmbeddedDestinationSettings struct { _ struct{} `type:"structure"` @@ -4050,30 +2682,6 @@ func (s EmbeddedSourceSettings) GoString() string { return s.String() } -// SetConvert608To708 sets the Convert608To708 field's value. -func (s *EmbeddedSourceSettings) SetConvert608To708(v EmbeddedConvert608To708) *EmbeddedSourceSettings { - s.Convert608To708 = v - return s -} - -// SetScte20Detection sets the Scte20Detection field's value. -func (s *EmbeddedSourceSettings) SetScte20Detection(v EmbeddedScte20Detection) *EmbeddedSourceSettings { - s.Scte20Detection = v - return s -} - -// SetSource608ChannelNumber sets the Source608ChannelNumber field's value. -func (s *EmbeddedSourceSettings) SetSource608ChannelNumber(v int64) *EmbeddedSourceSettings { - s.Source608ChannelNumber = &v - return s -} - -// SetSource608TrackNumber sets the Source608TrackNumber field's value. -func (s *EmbeddedSourceSettings) SetSource608TrackNumber(v int64) *EmbeddedSourceSettings { - s.Source608TrackNumber = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/EncoderSettings type EncoderSettings struct { _ struct{} `type:"structure"` @@ -4113,60 +2721,6 @@ func (s EncoderSettings) GoString() string { return s.String() } -// SetAudioDescriptions sets the AudioDescriptions field's value. -func (s *EncoderSettings) SetAudioDescriptions(v []AudioDescription) *EncoderSettings { - s.AudioDescriptions = v - return s -} - -// SetAvailBlanking sets the AvailBlanking field's value. -func (s *EncoderSettings) SetAvailBlanking(v *AvailBlanking) *EncoderSettings { - s.AvailBlanking = v - return s -} - -// SetAvailConfiguration sets the AvailConfiguration field's value. -func (s *EncoderSettings) SetAvailConfiguration(v *AvailConfiguration) *EncoderSettings { - s.AvailConfiguration = v - return s -} - -// SetBlackoutSlate sets the BlackoutSlate field's value. -func (s *EncoderSettings) SetBlackoutSlate(v *BlackoutSlate) *EncoderSettings { - s.BlackoutSlate = v - return s -} - -// SetCaptionDescriptions sets the CaptionDescriptions field's value. -func (s *EncoderSettings) SetCaptionDescriptions(v []CaptionDescription) *EncoderSettings { - s.CaptionDescriptions = v - return s -} - -// SetGlobalConfiguration sets the GlobalConfiguration field's value. -func (s *EncoderSettings) SetGlobalConfiguration(v *GlobalConfiguration) *EncoderSettings { - s.GlobalConfiguration = v - return s -} - -// SetOutputGroups sets the OutputGroups field's value. -func (s *EncoderSettings) SetOutputGroups(v []OutputGroup) *EncoderSettings { - s.OutputGroups = v - return s -} - -// SetTimecodeConfig sets the TimecodeConfig field's value. -func (s *EncoderSettings) SetTimecodeConfig(v *TimecodeConfig) *EncoderSettings { - s.TimecodeConfig = v - return s -} - -// SetVideoDescriptions sets the VideoDescriptions field's value. -func (s *EncoderSettings) SetVideoDescriptions(v []VideoDescription) *EncoderSettings { - s.VideoDescriptions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/FecOutputSettings type FecOutputSettings struct { _ struct{} `type:"structure"` @@ -4198,24 +2752,6 @@ func (s FecOutputSettings) GoString() string { return s.String() } -// SetColumnDepth sets the ColumnDepth field's value. -func (s *FecOutputSettings) SetColumnDepth(v int64) *FecOutputSettings { - s.ColumnDepth = &v - return s -} - -// SetIncludeFec sets the IncludeFec field's value. -func (s *FecOutputSettings) SetIncludeFec(v FecOutputIncludeFec) *FecOutputSettings { - s.IncludeFec = v - return s -} - -// SetRowLength sets the RowLength field's value. -func (s *FecOutputSettings) SetRowLength(v int64) *FecOutputSettings { - s.RowLength = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/GlobalConfiguration type GlobalConfiguration struct { _ struct{} `type:"structure"` @@ -4256,36 +2792,6 @@ func (s GlobalConfiguration) GoString() string { return s.String() } -// SetInitialAudioGain sets the InitialAudioGain field's value. -func (s *GlobalConfiguration) SetInitialAudioGain(v int64) *GlobalConfiguration { - s.InitialAudioGain = &v - return s -} - -// SetInputEndAction sets the InputEndAction field's value. -func (s *GlobalConfiguration) SetInputEndAction(v GlobalConfigurationInputEndAction) *GlobalConfiguration { - s.InputEndAction = v - return s -} - -// SetInputLossBehavior sets the InputLossBehavior field's value. -func (s *GlobalConfiguration) SetInputLossBehavior(v *InputLossBehavior) *GlobalConfiguration { - s.InputLossBehavior = v - return s -} - -// SetOutputTimingSource sets the OutputTimingSource field's value. -func (s *GlobalConfiguration) SetOutputTimingSource(v GlobalConfigurationOutputTimingSource) *GlobalConfiguration { - s.OutputTimingSource = v - return s -} - -// SetSupportLowFramerateInputs sets the SupportLowFramerateInputs field's value. -func (s *GlobalConfiguration) SetSupportLowFramerateInputs(v GlobalConfigurationLowFramerateInputs) *GlobalConfiguration { - s.SupportLowFramerateInputs = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/H264Settings type H264Settings struct { _ struct{} `type:"structure"` @@ -4445,226 +2951,16 @@ func (s H264Settings) GoString() string { return s.String() } -// SetAdaptiveQuantization sets the AdaptiveQuantization field's value. -func (s *H264Settings) SetAdaptiveQuantization(v H264AdaptiveQuantization) *H264Settings { - s.AdaptiveQuantization = v - return s -} - -// SetAfdSignaling sets the AfdSignaling field's value. -func (s *H264Settings) SetAfdSignaling(v AfdSignaling) *H264Settings { - s.AfdSignaling = v - return s -} +// Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/HlsAkamaiSettings +type HlsAkamaiSettings struct { + _ struct{} `type:"structure"` -// SetBitrate sets the Bitrate field's value. -func (s *H264Settings) SetBitrate(v int64) *H264Settings { - s.Bitrate = &v - return s -} + // Number of seconds to wait before retrying connection to the CDN if the connection + // is lost. + ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` -// SetBufFillPct sets the BufFillPct field's value. -func (s *H264Settings) SetBufFillPct(v int64) *H264Settings { - s.BufFillPct = &v - return s -} - -// SetBufSize sets the BufSize field's value. -func (s *H264Settings) SetBufSize(v int64) *H264Settings { - s.BufSize = &v - return s -} - -// SetColorMetadata sets the ColorMetadata field's value. -func (s *H264Settings) SetColorMetadata(v H264ColorMetadata) *H264Settings { - s.ColorMetadata = v - return s -} - -// SetEntropyEncoding sets the EntropyEncoding field's value. -func (s *H264Settings) SetEntropyEncoding(v H264EntropyEncoding) *H264Settings { - s.EntropyEncoding = v - return s -} - -// SetFixedAfd sets the FixedAfd field's value. -func (s *H264Settings) SetFixedAfd(v FixedAfd) *H264Settings { - s.FixedAfd = v - return s -} - -// SetFlickerAq sets the FlickerAq field's value. -func (s *H264Settings) SetFlickerAq(v H264FlickerAq) *H264Settings { - s.FlickerAq = v - return s -} - -// SetFramerateControl sets the FramerateControl field's value. -func (s *H264Settings) SetFramerateControl(v H264FramerateControl) *H264Settings { - s.FramerateControl = v - return s -} - -// SetFramerateDenominator sets the FramerateDenominator field's value. -func (s *H264Settings) SetFramerateDenominator(v int64) *H264Settings { - s.FramerateDenominator = &v - return s -} - -// SetFramerateNumerator sets the FramerateNumerator field's value. -func (s *H264Settings) SetFramerateNumerator(v int64) *H264Settings { - s.FramerateNumerator = &v - return s -} - -// SetGopBReference sets the GopBReference field's value. -func (s *H264Settings) SetGopBReference(v H264GopBReference) *H264Settings { - s.GopBReference = v - return s -} - -// SetGopClosedCadence sets the GopClosedCadence field's value. -func (s *H264Settings) SetGopClosedCadence(v int64) *H264Settings { - s.GopClosedCadence = &v - return s -} - -// SetGopNumBFrames sets the GopNumBFrames field's value. -func (s *H264Settings) SetGopNumBFrames(v int64) *H264Settings { - s.GopNumBFrames = &v - return s -} - -// SetGopSize sets the GopSize field's value. -func (s *H264Settings) SetGopSize(v float64) *H264Settings { - s.GopSize = &v - return s -} - -// SetGopSizeUnits sets the GopSizeUnits field's value. -func (s *H264Settings) SetGopSizeUnits(v H264GopSizeUnits) *H264Settings { - s.GopSizeUnits = v - return s -} - -// SetLevel sets the Level field's value. -func (s *H264Settings) SetLevel(v H264Level) *H264Settings { - s.Level = v - return s -} - -// SetLookAheadRateControl sets the LookAheadRateControl field's value. -func (s *H264Settings) SetLookAheadRateControl(v H264LookAheadRateControl) *H264Settings { - s.LookAheadRateControl = v - return s -} - -// SetMaxBitrate sets the MaxBitrate field's value. -func (s *H264Settings) SetMaxBitrate(v int64) *H264Settings { - s.MaxBitrate = &v - return s -} - -// SetMinIInterval sets the MinIInterval field's value. -func (s *H264Settings) SetMinIInterval(v int64) *H264Settings { - s.MinIInterval = &v - return s -} - -// SetNumRefFrames sets the NumRefFrames field's value. -func (s *H264Settings) SetNumRefFrames(v int64) *H264Settings { - s.NumRefFrames = &v - return s -} - -// SetParControl sets the ParControl field's value. -func (s *H264Settings) SetParControl(v H264ParControl) *H264Settings { - s.ParControl = v - return s -} - -// SetParDenominator sets the ParDenominator field's value. -func (s *H264Settings) SetParDenominator(v int64) *H264Settings { - s.ParDenominator = &v - return s -} - -// SetParNumerator sets the ParNumerator field's value. -func (s *H264Settings) SetParNumerator(v int64) *H264Settings { - s.ParNumerator = &v - return s -} - -// SetProfile sets the Profile field's value. -func (s *H264Settings) SetProfile(v H264Profile) *H264Settings { - s.Profile = v - return s -} - -// SetRateControlMode sets the RateControlMode field's value. -func (s *H264Settings) SetRateControlMode(v H264RateControlMode) *H264Settings { - s.RateControlMode = v - return s -} - -// SetScanType sets the ScanType field's value. -func (s *H264Settings) SetScanType(v H264ScanType) *H264Settings { - s.ScanType = v - return s -} - -// SetSceneChangeDetect sets the SceneChangeDetect field's value. -func (s *H264Settings) SetSceneChangeDetect(v H264SceneChangeDetect) *H264Settings { - s.SceneChangeDetect = v - return s -} - -// SetSlices sets the Slices field's value. -func (s *H264Settings) SetSlices(v int64) *H264Settings { - s.Slices = &v - return s -} - -// SetSoftness sets the Softness field's value. -func (s *H264Settings) SetSoftness(v int64) *H264Settings { - s.Softness = &v - return s -} - -// SetSpatialAq sets the SpatialAq field's value. -func (s *H264Settings) SetSpatialAq(v H264SpatialAq) *H264Settings { - s.SpatialAq = v - return s -} - -// SetSyntax sets the Syntax field's value. -func (s *H264Settings) SetSyntax(v H264Syntax) *H264Settings { - s.Syntax = v - return s -} - -// SetTemporalAq sets the TemporalAq field's value. -func (s *H264Settings) SetTemporalAq(v H264TemporalAq) *H264Settings { - s.TemporalAq = v - return s -} - -// SetTimecodeInsertion sets the TimecodeInsertion field's value. -func (s *H264Settings) SetTimecodeInsertion(v H264TimecodeInsertionBehavior) *H264Settings { - s.TimecodeInsertion = v - return s -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/HlsAkamaiSettings -type HlsAkamaiSettings struct { - _ struct{} `type:"structure"` - - // Number of seconds to wait before retrying connection to the CDN if the connection - // is lost. - ConnectionRetryInterval *int64 `locationName:"connectionRetryInterval" type:"integer"` - - // Size in seconds of file cache for streaming outputs. - FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` + // Size in seconds of file cache for streaming outputs. + FilecacheDuration *int64 `locationName:"filecacheDuration" type:"integer"` // Specify whether or not to use chunked transfer encoding to Akamai. User should // contact Akamai to enable this feature. @@ -4695,48 +2991,6 @@ func (s HlsAkamaiSettings) GoString() string { return s.String() } -// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. -func (s *HlsAkamaiSettings) SetConnectionRetryInterval(v int64) *HlsAkamaiSettings { - s.ConnectionRetryInterval = &v - return s -} - -// SetFilecacheDuration sets the FilecacheDuration field's value. -func (s *HlsAkamaiSettings) SetFilecacheDuration(v int64) *HlsAkamaiSettings { - s.FilecacheDuration = &v - return s -} - -// SetHttpTransferMode sets the HttpTransferMode field's value. -func (s *HlsAkamaiSettings) SetHttpTransferMode(v HlsAkamaiHttpTransferMode) *HlsAkamaiSettings { - s.HttpTransferMode = v - return s -} - -// SetNumRetries sets the NumRetries field's value. -func (s *HlsAkamaiSettings) SetNumRetries(v int64) *HlsAkamaiSettings { - s.NumRetries = &v - return s -} - -// SetRestartDelay sets the RestartDelay field's value. -func (s *HlsAkamaiSettings) SetRestartDelay(v int64) *HlsAkamaiSettings { - s.RestartDelay = &v - return s -} - -// SetSalt sets the Salt field's value. -func (s *HlsAkamaiSettings) SetSalt(v string) *HlsAkamaiSettings { - s.Salt = &v - return s -} - -// SetToken sets the Token field's value. -func (s *HlsAkamaiSettings) SetToken(v string) *HlsAkamaiSettings { - s.Token = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/HlsBasicPutSettings type HlsBasicPutSettings struct { _ struct{} `type:"structure"` @@ -4767,30 +3021,6 @@ func (s HlsBasicPutSettings) GoString() string { return s.String() } -// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. -func (s *HlsBasicPutSettings) SetConnectionRetryInterval(v int64) *HlsBasicPutSettings { - s.ConnectionRetryInterval = &v - return s -} - -// SetFilecacheDuration sets the FilecacheDuration field's value. -func (s *HlsBasicPutSettings) SetFilecacheDuration(v int64) *HlsBasicPutSettings { - s.FilecacheDuration = &v - return s -} - -// SetNumRetries sets the NumRetries field's value. -func (s *HlsBasicPutSettings) SetNumRetries(v int64) *HlsBasicPutSettings { - s.NumRetries = &v - return s -} - -// SetRestartDelay sets the RestartDelay field's value. -func (s *HlsBasicPutSettings) SetRestartDelay(v int64) *HlsBasicPutSettings { - s.RestartDelay = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/HlsCdnSettings type HlsCdnSettings struct { _ struct{} `type:"structure"` @@ -4814,30 +3044,6 @@ func (s HlsCdnSettings) GoString() string { return s.String() } -// SetHlsAkamaiSettings sets the HlsAkamaiSettings field's value. -func (s *HlsCdnSettings) SetHlsAkamaiSettings(v *HlsAkamaiSettings) *HlsCdnSettings { - s.HlsAkamaiSettings = v - return s -} - -// SetHlsBasicPutSettings sets the HlsBasicPutSettings field's value. -func (s *HlsCdnSettings) SetHlsBasicPutSettings(v *HlsBasicPutSettings) *HlsCdnSettings { - s.HlsBasicPutSettings = v - return s -} - -// SetHlsMediaStoreSettings sets the HlsMediaStoreSettings field's value. -func (s *HlsCdnSettings) SetHlsMediaStoreSettings(v *HlsMediaStoreSettings) *HlsCdnSettings { - s.HlsMediaStoreSettings = v - return s -} - -// SetHlsWebdavSettings sets the HlsWebdavSettings field's value. -func (s *HlsCdnSettings) SetHlsWebdavSettings(v *HlsWebdavSettings) *HlsCdnSettings { - s.HlsWebdavSettings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/HlsGroupSettings type HlsGroupSettings struct { _ struct{} `type:"structure"` @@ -5007,216 +3213,6 @@ func (s HlsGroupSettings) GoString() string { return s.String() } -// SetAdMarkers sets the AdMarkers field's value. -func (s *HlsGroupSettings) SetAdMarkers(v []HlsAdMarkers) *HlsGroupSettings { - s.AdMarkers = v - return s -} - -// SetBaseUrlContent sets the BaseUrlContent field's value. -func (s *HlsGroupSettings) SetBaseUrlContent(v string) *HlsGroupSettings { - s.BaseUrlContent = &v - return s -} - -// SetBaseUrlManifest sets the BaseUrlManifest field's value. -func (s *HlsGroupSettings) SetBaseUrlManifest(v string) *HlsGroupSettings { - s.BaseUrlManifest = &v - return s -} - -// SetCaptionLanguageMappings sets the CaptionLanguageMappings field's value. -func (s *HlsGroupSettings) SetCaptionLanguageMappings(v []CaptionLanguageMapping) *HlsGroupSettings { - s.CaptionLanguageMappings = v - return s -} - -// SetCaptionLanguageSetting sets the CaptionLanguageSetting field's value. -func (s *HlsGroupSettings) SetCaptionLanguageSetting(v HlsCaptionLanguageSetting) *HlsGroupSettings { - s.CaptionLanguageSetting = v - return s -} - -// SetClientCache sets the ClientCache field's value. -func (s *HlsGroupSettings) SetClientCache(v HlsClientCache) *HlsGroupSettings { - s.ClientCache = v - return s -} - -// SetCodecSpecification sets the CodecSpecification field's value. -func (s *HlsGroupSettings) SetCodecSpecification(v HlsCodecSpecification) *HlsGroupSettings { - s.CodecSpecification = v - return s -} - -// SetConstantIv sets the ConstantIv field's value. -func (s *HlsGroupSettings) SetConstantIv(v string) *HlsGroupSettings { - s.ConstantIv = &v - return s -} - -// SetDestination sets the Destination field's value. -func (s *HlsGroupSettings) SetDestination(v *OutputLocationRef) *HlsGroupSettings { - s.Destination = v - return s -} - -// SetDirectoryStructure sets the DirectoryStructure field's value. -func (s *HlsGroupSettings) SetDirectoryStructure(v HlsDirectoryStructure) *HlsGroupSettings { - s.DirectoryStructure = v - return s -} - -// SetEncryptionType sets the EncryptionType field's value. -func (s *HlsGroupSettings) SetEncryptionType(v HlsEncryptionType) *HlsGroupSettings { - s.EncryptionType = v - return s -} - -// SetHlsCdnSettings sets the HlsCdnSettings field's value. -func (s *HlsGroupSettings) SetHlsCdnSettings(v *HlsCdnSettings) *HlsGroupSettings { - s.HlsCdnSettings = v - return s -} - -// SetIndexNSegments sets the IndexNSegments field's value. -func (s *HlsGroupSettings) SetIndexNSegments(v int64) *HlsGroupSettings { - s.IndexNSegments = &v - return s -} - -// SetInputLossAction sets the InputLossAction field's value. -func (s *HlsGroupSettings) SetInputLossAction(v InputLossActionForHlsOut) *HlsGroupSettings { - s.InputLossAction = v - return s -} - -// SetIvInManifest sets the IvInManifest field's value. -func (s *HlsGroupSettings) SetIvInManifest(v HlsIvInManifest) *HlsGroupSettings { - s.IvInManifest = v - return s -} - -// SetIvSource sets the IvSource field's value. -func (s *HlsGroupSettings) SetIvSource(v HlsIvSource) *HlsGroupSettings { - s.IvSource = v - return s -} - -// SetKeepSegments sets the KeepSegments field's value. -func (s *HlsGroupSettings) SetKeepSegments(v int64) *HlsGroupSettings { - s.KeepSegments = &v - return s -} - -// SetKeyFormat sets the KeyFormat field's value. -func (s *HlsGroupSettings) SetKeyFormat(v string) *HlsGroupSettings { - s.KeyFormat = &v - return s -} - -// SetKeyFormatVersions sets the KeyFormatVersions field's value. -func (s *HlsGroupSettings) SetKeyFormatVersions(v string) *HlsGroupSettings { - s.KeyFormatVersions = &v - return s -} - -// SetKeyProviderSettings sets the KeyProviderSettings field's value. -func (s *HlsGroupSettings) SetKeyProviderSettings(v *KeyProviderSettings) *HlsGroupSettings { - s.KeyProviderSettings = v - return s -} - -// SetManifestCompression sets the ManifestCompression field's value. -func (s *HlsGroupSettings) SetManifestCompression(v HlsManifestCompression) *HlsGroupSettings { - s.ManifestCompression = v - return s -} - -// SetManifestDurationFormat sets the ManifestDurationFormat field's value. -func (s *HlsGroupSettings) SetManifestDurationFormat(v HlsManifestDurationFormat) *HlsGroupSettings { - s.ManifestDurationFormat = v - return s -} - -// SetMinSegmentLength sets the MinSegmentLength field's value. -func (s *HlsGroupSettings) SetMinSegmentLength(v int64) *HlsGroupSettings { - s.MinSegmentLength = &v - return s -} - -// SetMode sets the Mode field's value. -func (s *HlsGroupSettings) SetMode(v HlsMode) *HlsGroupSettings { - s.Mode = v - return s -} - -// SetOutputSelection sets the OutputSelection field's value. -func (s *HlsGroupSettings) SetOutputSelection(v HlsOutputSelection) *HlsGroupSettings { - s.OutputSelection = v - return s -} - -// SetProgramDateTime sets the ProgramDateTime field's value. -func (s *HlsGroupSettings) SetProgramDateTime(v HlsProgramDateTime) *HlsGroupSettings { - s.ProgramDateTime = v - return s -} - -// SetProgramDateTimePeriod sets the ProgramDateTimePeriod field's value. -func (s *HlsGroupSettings) SetProgramDateTimePeriod(v int64) *HlsGroupSettings { - s.ProgramDateTimePeriod = &v - return s -} - -// SetSegmentLength sets the SegmentLength field's value. -func (s *HlsGroupSettings) SetSegmentLength(v int64) *HlsGroupSettings { - s.SegmentLength = &v - return s -} - -// SetSegmentationMode sets the SegmentationMode field's value. -func (s *HlsGroupSettings) SetSegmentationMode(v HlsSegmentationMode) *HlsGroupSettings { - s.SegmentationMode = v - return s -} - -// SetSegmentsPerSubdirectory sets the SegmentsPerSubdirectory field's value. -func (s *HlsGroupSettings) SetSegmentsPerSubdirectory(v int64) *HlsGroupSettings { - s.SegmentsPerSubdirectory = &v - return s -} - -// SetStreamInfResolution sets the StreamInfResolution field's value. -func (s *HlsGroupSettings) SetStreamInfResolution(v HlsStreamInfResolution) *HlsGroupSettings { - s.StreamInfResolution = v - return s -} - -// SetTimedMetadataId3Frame sets the TimedMetadataId3Frame field's value. -func (s *HlsGroupSettings) SetTimedMetadataId3Frame(v HlsTimedMetadataId3Frame) *HlsGroupSettings { - s.TimedMetadataId3Frame = v - return s -} - -// SetTimedMetadataId3Period sets the TimedMetadataId3Period field's value. -func (s *HlsGroupSettings) SetTimedMetadataId3Period(v int64) *HlsGroupSettings { - s.TimedMetadataId3Period = &v - return s -} - -// SetTimestampDeltaMilliseconds sets the TimestampDeltaMilliseconds field's value. -func (s *HlsGroupSettings) SetTimestampDeltaMilliseconds(v int64) *HlsGroupSettings { - s.TimestampDeltaMilliseconds = &v - return s -} - -// SetTsFileMode sets the TsFileMode field's value. -func (s *HlsGroupSettings) SetTsFileMode(v HlsTsFileMode) *HlsGroupSettings { - s.TsFileMode = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/HlsInputSettings type HlsInputSettings struct { _ struct{} `type:"structure"` @@ -5251,30 +3247,6 @@ func (s HlsInputSettings) GoString() string { return s.String() } -// SetBandwidth sets the Bandwidth field's value. -func (s *HlsInputSettings) SetBandwidth(v int64) *HlsInputSettings { - s.Bandwidth = &v - return s -} - -// SetBufferSegments sets the BufferSegments field's value. -func (s *HlsInputSettings) SetBufferSegments(v int64) *HlsInputSettings { - s.BufferSegments = &v - return s -} - -// SetRetries sets the Retries field's value. -func (s *HlsInputSettings) SetRetries(v int64) *HlsInputSettings { - s.Retries = &v - return s -} - -// SetRetryInterval sets the RetryInterval field's value. -func (s *HlsInputSettings) SetRetryInterval(v int64) *HlsInputSettings { - s.RetryInterval = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/HlsMediaStoreSettings type HlsMediaStoreSettings struct { _ struct{} `type:"structure"` @@ -5309,36 +3281,6 @@ func (s HlsMediaStoreSettings) GoString() string { return s.String() } -// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. -func (s *HlsMediaStoreSettings) SetConnectionRetryInterval(v int64) *HlsMediaStoreSettings { - s.ConnectionRetryInterval = &v - return s -} - -// SetFilecacheDuration sets the FilecacheDuration field's value. -func (s *HlsMediaStoreSettings) SetFilecacheDuration(v int64) *HlsMediaStoreSettings { - s.FilecacheDuration = &v - return s -} - -// SetMediaStoreStorageClass sets the MediaStoreStorageClass field's value. -func (s *HlsMediaStoreSettings) SetMediaStoreStorageClass(v HlsMediaStoreStorageClass) *HlsMediaStoreSettings { - s.MediaStoreStorageClass = v - return s -} - -// SetNumRetries sets the NumRetries field's value. -func (s *HlsMediaStoreSettings) SetNumRetries(v int64) *HlsMediaStoreSettings { - s.NumRetries = &v - return s -} - -// SetRestartDelay sets the RestartDelay field's value. -func (s *HlsMediaStoreSettings) SetRestartDelay(v int64) *HlsMediaStoreSettings { - s.RestartDelay = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/HlsOutputSettings type HlsOutputSettings struct { _ struct{} `type:"structure"` @@ -5365,24 +3307,6 @@ func (s HlsOutputSettings) GoString() string { return s.String() } -// SetHlsSettings sets the HlsSettings field's value. -func (s *HlsOutputSettings) SetHlsSettings(v *HlsSettings) *HlsOutputSettings { - s.HlsSettings = v - return s -} - -// SetNameModifier sets the NameModifier field's value. -func (s *HlsOutputSettings) SetNameModifier(v string) *HlsOutputSettings { - s.NameModifier = &v - return s -} - -// SetSegmentModifier sets the SegmentModifier field's value. -func (s *HlsOutputSettings) SetSegmentModifier(v string) *HlsOutputSettings { - s.SegmentModifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/HlsSettings type HlsSettings struct { _ struct{} `type:"structure"` @@ -5402,18 +3326,6 @@ func (s HlsSettings) GoString() string { return s.String() } -// SetAudioOnlyHlsSettings sets the AudioOnlyHlsSettings field's value. -func (s *HlsSettings) SetAudioOnlyHlsSettings(v *AudioOnlyHlsSettings) *HlsSettings { - s.AudioOnlyHlsSettings = v - return s -} - -// SetStandardHlsSettings sets the StandardHlsSettings field's value. -func (s *HlsSettings) SetStandardHlsSettings(v *StandardHlsSettings) *HlsSettings { - s.StandardHlsSettings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/HlsWebdavSettings type HlsWebdavSettings struct { _ struct{} `type:"structure"` @@ -5447,36 +3359,6 @@ func (s HlsWebdavSettings) GoString() string { return s.String() } -// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. -func (s *HlsWebdavSettings) SetConnectionRetryInterval(v int64) *HlsWebdavSettings { - s.ConnectionRetryInterval = &v - return s -} - -// SetFilecacheDuration sets the FilecacheDuration field's value. -func (s *HlsWebdavSettings) SetFilecacheDuration(v int64) *HlsWebdavSettings { - s.FilecacheDuration = &v - return s -} - -// SetHttpTransferMode sets the HttpTransferMode field's value. -func (s *HlsWebdavSettings) SetHttpTransferMode(v HlsWebdavHttpTransferMode) *HlsWebdavSettings { - s.HttpTransferMode = v - return s -} - -// SetNumRetries sets the NumRetries field's value. -func (s *HlsWebdavSettings) SetNumRetries(v int64) *HlsWebdavSettings { - s.NumRetries = &v - return s -} - -// SetRestartDelay sets the RestartDelay field's value. -func (s *HlsWebdavSettings) SetRestartDelay(v int64) *HlsWebdavSettings { - s.RestartDelay = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Input type Input struct { _ struct{} `type:"structure"` @@ -5518,60 +3400,6 @@ func (s Input) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Input) SetArn(v string) *Input { - s.Arn = &v - return s -} - -// SetAttachedChannels sets the AttachedChannels field's value. -func (s *Input) SetAttachedChannels(v []string) *Input { - s.AttachedChannels = v - return s -} - -// SetDestinations sets the Destinations field's value. -func (s *Input) SetDestinations(v []InputDestination) *Input { - s.Destinations = v - return s -} - -// SetId sets the Id field's value. -func (s *Input) SetId(v string) *Input { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *Input) SetName(v string) *Input { - s.Name = &v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *Input) SetSecurityGroups(v []string) *Input { - s.SecurityGroups = v - return s -} - -// SetSources sets the Sources field's value. -func (s *Input) SetSources(v []InputSource) *Input { - s.Sources = v - return s -} - -// SetState sets the State field's value. -func (s *Input) SetState(v InputState) *Input { - s.State = v - return s -} - -// SetType sets the Type field's value. -func (s *Input) SetType(v InputType) *Input { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputAttachment type InputAttachment struct { _ struct{} `type:"structure"` @@ -5593,18 +3421,6 @@ func (s InputAttachment) GoString() string { return s.String() } -// SetInputId sets the InputId field's value. -func (s *InputAttachment) SetInputId(v string) *InputAttachment { - s.InputId = &v - return s -} - -// SetInputSettings sets the InputSettings field's value. -func (s *InputAttachment) SetInputSettings(v *InputSettings) *InputAttachment { - s.InputSettings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputChannelLevel type InputChannelLevel struct { _ struct{} `type:"structure"` @@ -5627,18 +3443,6 @@ func (s InputChannelLevel) GoString() string { return s.String() } -// SetGain sets the Gain field's value. -func (s *InputChannelLevel) SetGain(v int64) *InputChannelLevel { - s.Gain = &v - return s -} - -// SetInputChannel sets the InputChannel field's value. -func (s *InputChannelLevel) SetInputChannel(v int64) *InputChannelLevel { - s.InputChannel = &v - return s -} - // Settings for a PUSH type input // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputDestination type InputDestination struct { @@ -5665,24 +3469,6 @@ func (s InputDestination) GoString() string { return s.String() } -// SetIp sets the Ip field's value. -func (s *InputDestination) SetIp(v string) *InputDestination { - s.Ip = &v - return s -} - -// SetPort sets the Port field's value. -func (s *InputDestination) SetPort(v string) *InputDestination { - s.Port = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *InputDestination) SetUrl(v string) *InputDestination { - s.Url = &v - return s -} - // Endpoint settings for a PUSH type input // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputDestinationRequest type InputDestinationRequest struct { @@ -5702,12 +3488,6 @@ func (s InputDestinationRequest) GoString() string { return s.String() } -// SetStreamName sets the StreamName field's value. -func (s *InputDestinationRequest) SetStreamName(v string) *InputDestinationRequest { - s.StreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputLocation type InputLocation struct { _ struct{} `type:"structure"` @@ -5737,24 +3517,6 @@ func (s InputLocation) GoString() string { return s.String() } -// SetPasswordParam sets the PasswordParam field's value. -func (s *InputLocation) SetPasswordParam(v string) *InputLocation { - s.PasswordParam = &v - return s -} - -// SetUri sets the Uri field's value. -func (s *InputLocation) SetUri(v string) *InputLocation { - s.Uri = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *InputLocation) SetUsername(v string) *InputLocation { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputLossBehavior type InputLossBehavior struct { _ struct{} `type:"structure"` @@ -5793,36 +3555,6 @@ func (s InputLossBehavior) GoString() string { return s.String() } -// SetBlackFrameMsec sets the BlackFrameMsec field's value. -func (s *InputLossBehavior) SetBlackFrameMsec(v int64) *InputLossBehavior { - s.BlackFrameMsec = &v - return s -} - -// SetInputLossImageColor sets the InputLossImageColor field's value. -func (s *InputLossBehavior) SetInputLossImageColor(v string) *InputLossBehavior { - s.InputLossImageColor = &v - return s -} - -// SetInputLossImageSlate sets the InputLossImageSlate field's value. -func (s *InputLossBehavior) SetInputLossImageSlate(v *InputLocation) *InputLossBehavior { - s.InputLossImageSlate = v - return s -} - -// SetInputLossImageType sets the InputLossImageType field's value. -func (s *InputLossBehavior) SetInputLossImageType(v InputLossImageType) *InputLossBehavior { - s.InputLossImageType = v - return s -} - -// SetRepeatFrameMsec sets the RepeatFrameMsec field's value. -func (s *InputLossBehavior) SetRepeatFrameMsec(v int64) *InputLossBehavior { - s.RepeatFrameMsec = &v - return s -} - // An Input Security Group // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputSecurityGroup type InputSecurityGroup struct { @@ -5848,24 +3580,6 @@ func (s InputSecurityGroup) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *InputSecurityGroup) SetArn(v string) *InputSecurityGroup { - s.Arn = &v - return s -} - -// SetId sets the Id field's value. -func (s *InputSecurityGroup) SetId(v string) *InputSecurityGroup { - s.Id = &v - return s -} - -// SetWhitelistRules sets the WhitelistRules field's value. -func (s *InputSecurityGroup) SetWhitelistRules(v []InputWhitelistRule) *InputSecurityGroup { - s.WhitelistRules = v - return s -} - // Live Event input parameters. There can be multiple inputs in a single Live // Event. // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputSettings @@ -5914,60 +3628,6 @@ func (s InputSettings) GoString() string { return s.String() } -// SetAudioSelectors sets the AudioSelectors field's value. -func (s *InputSettings) SetAudioSelectors(v []AudioSelector) *InputSettings { - s.AudioSelectors = v - return s -} - -// SetCaptionSelectors sets the CaptionSelectors field's value. -func (s *InputSettings) SetCaptionSelectors(v []CaptionSelector) *InputSettings { - s.CaptionSelectors = v - return s -} - -// SetDeblockFilter sets the DeblockFilter field's value. -func (s *InputSettings) SetDeblockFilter(v InputDeblockFilter) *InputSettings { - s.DeblockFilter = v - return s -} - -// SetDenoiseFilter sets the DenoiseFilter field's value. -func (s *InputSettings) SetDenoiseFilter(v InputDenoiseFilter) *InputSettings { - s.DenoiseFilter = v - return s -} - -// SetFilterStrength sets the FilterStrength field's value. -func (s *InputSettings) SetFilterStrength(v int64) *InputSettings { - s.FilterStrength = &v - return s -} - -// SetInputFilter sets the InputFilter field's value. -func (s *InputSettings) SetInputFilter(v InputFilter) *InputSettings { - s.InputFilter = v - return s -} - -// SetNetworkInputSettings sets the NetworkInputSettings field's value. -func (s *InputSettings) SetNetworkInputSettings(v *NetworkInputSettings) *InputSettings { - s.NetworkInputSettings = v - return s -} - -// SetSourceEndBehavior sets the SourceEndBehavior field's value. -func (s *InputSettings) SetSourceEndBehavior(v InputSourceEndBehavior) *InputSettings { - s.SourceEndBehavior = v - return s -} - -// SetVideoSelector sets the VideoSelector field's value. -func (s *InputSettings) SetVideoSelector(v *VideoSelector) *InputSettings { - s.VideoSelector = v - return s -} - // Settings for a PULL type input // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputSource type InputSource struct { @@ -5993,24 +3653,6 @@ func (s InputSource) GoString() string { return s.String() } -// SetPasswordParam sets the PasswordParam field's value. -func (s *InputSource) SetPasswordParam(v string) *InputSource { - s.PasswordParam = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *InputSource) SetUrl(v string) *InputSource { - s.Url = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *InputSource) SetUsername(v string) *InputSource { - s.Username = &v - return s -} - // Settings for for a PULL type input // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputSourceRequest type InputSourceRequest struct { @@ -6036,24 +3678,6 @@ func (s InputSourceRequest) GoString() string { return s.String() } -// SetPasswordParam sets the PasswordParam field's value. -func (s *InputSourceRequest) SetPasswordParam(v string) *InputSourceRequest { - s.PasswordParam = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *InputSourceRequest) SetUrl(v string) *InputSourceRequest { - s.Url = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *InputSourceRequest) SetUsername(v string) *InputSourceRequest { - s.Username = &v - return s -} - // Whitelist rule // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputWhitelistRule type InputWhitelistRule struct { @@ -6073,12 +3697,6 @@ func (s InputWhitelistRule) GoString() string { return s.String() } -// SetCidr sets the Cidr field's value. -func (s *InputWhitelistRule) SetCidr(v string) *InputWhitelistRule { - s.Cidr = &v - return s -} - // An IPv4 CIDR to whitelist. // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputWhitelistRuleCidr type InputWhitelistRuleCidr struct { @@ -6098,12 +3716,6 @@ func (s InputWhitelistRuleCidr) GoString() string { return s.String() } -// SetCidr sets the Cidr field's value. -func (s *InputWhitelistRuleCidr) SetCidr(v string) *InputWhitelistRuleCidr { - s.Cidr = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/KeyProviderSettings type KeyProviderSettings struct { _ struct{} `type:"structure"` @@ -6121,12 +3733,6 @@ func (s KeyProviderSettings) GoString() string { return s.String() } -// SetStaticKeySettings sets the StaticKeySettings field's value. -func (s *KeyProviderSettings) SetStaticKeySettings(v *StaticKeySettings) *KeyProviderSettings { - s.StaticKeySettings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListChannelsRequest type ListChannelsInput struct { _ struct{} `type:"structure"` @@ -6159,18 +3765,6 @@ func (s *ListChannelsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListChannelsInput) SetMaxResults(v int64) *ListChannelsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListChannelsInput) SetNextToken(v string) *ListChannelsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListChannelsResponse type ListChannelsOutput struct { _ struct{} `type:"structure"` @@ -6197,18 +3791,6 @@ func (s ListChannelsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChannels sets the Channels field's value. -func (s *ListChannelsOutput) SetChannels(v []ChannelSummary) *ListChannelsOutput { - s.Channels = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListChannelsOutput) SetNextToken(v string) *ListChannelsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputSecurityGroupsRequest type ListInputSecurityGroupsInput struct { _ struct{} `type:"structure"` @@ -6241,18 +3823,6 @@ func (s *ListInputSecurityGroupsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListInputSecurityGroupsInput) SetMaxResults(v int64) *ListInputSecurityGroupsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListInputSecurityGroupsInput) SetNextToken(v string) *ListInputSecurityGroupsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputSecurityGroupsResponse type ListInputSecurityGroupsOutput struct { _ struct{} `type:"structure"` @@ -6279,18 +3849,6 @@ func (s ListInputSecurityGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInputSecurityGroups sets the InputSecurityGroups field's value. -func (s *ListInputSecurityGroupsOutput) SetInputSecurityGroups(v []InputSecurityGroup) *ListInputSecurityGroupsOutput { - s.InputSecurityGroups = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListInputSecurityGroupsOutput) SetNextToken(v string) *ListInputSecurityGroupsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputsRequest type ListInputsInput struct { _ struct{} `type:"structure"` @@ -6323,18 +3881,6 @@ func (s *ListInputsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListInputsInput) SetMaxResults(v int64) *ListInputsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListInputsInput) SetNextToken(v string) *ListInputsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputsResponse type ListInputsOutput struct { _ struct{} `type:"structure"` @@ -6361,18 +3907,6 @@ func (s ListInputsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInputs sets the Inputs field's value. -func (s *ListInputsOutput) SetInputs(v []Input) *ListInputsOutput { - s.Inputs = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListInputsOutput) SetNextToken(v string) *ListInputsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/M2tsSettings type M2tsSettings struct { _ struct{} `type:"structure"` @@ -6611,282 +4145,6 @@ func (s M2tsSettings) GoString() string { return s.String() } -// SetAbsentInputAudioBehavior sets the AbsentInputAudioBehavior field's value. -func (s *M2tsSettings) SetAbsentInputAudioBehavior(v M2tsAbsentInputAudioBehavior) *M2tsSettings { - s.AbsentInputAudioBehavior = v - return s -} - -// SetArib sets the Arib field's value. -func (s *M2tsSettings) SetArib(v M2tsArib) *M2tsSettings { - s.Arib = v - return s -} - -// SetAribCaptionsPid sets the AribCaptionsPid field's value. -func (s *M2tsSettings) SetAribCaptionsPid(v string) *M2tsSettings { - s.AribCaptionsPid = &v - return s -} - -// SetAribCaptionsPidControl sets the AribCaptionsPidControl field's value. -func (s *M2tsSettings) SetAribCaptionsPidControl(v M2tsAribCaptionsPidControl) *M2tsSettings { - s.AribCaptionsPidControl = v - return s -} - -// SetAudioBufferModel sets the AudioBufferModel field's value. -func (s *M2tsSettings) SetAudioBufferModel(v M2tsAudioBufferModel) *M2tsSettings { - s.AudioBufferModel = v - return s -} - -// SetAudioFramesPerPes sets the AudioFramesPerPes field's value. -func (s *M2tsSettings) SetAudioFramesPerPes(v int64) *M2tsSettings { - s.AudioFramesPerPes = &v - return s -} - -// SetAudioPids sets the AudioPids field's value. -func (s *M2tsSettings) SetAudioPids(v string) *M2tsSettings { - s.AudioPids = &v - return s -} - -// SetAudioStreamType sets the AudioStreamType field's value. -func (s *M2tsSettings) SetAudioStreamType(v M2tsAudioStreamType) *M2tsSettings { - s.AudioStreamType = v - return s -} - -// SetBitrate sets the Bitrate field's value. -func (s *M2tsSettings) SetBitrate(v int64) *M2tsSettings { - s.Bitrate = &v - return s -} - -// SetBufferModel sets the BufferModel field's value. -func (s *M2tsSettings) SetBufferModel(v M2tsBufferModel) *M2tsSettings { - s.BufferModel = v - return s -} - -// SetCcDescriptor sets the CcDescriptor field's value. -func (s *M2tsSettings) SetCcDescriptor(v M2tsCcDescriptor) *M2tsSettings { - s.CcDescriptor = v - return s -} - -// SetDvbNitSettings sets the DvbNitSettings field's value. -func (s *M2tsSettings) SetDvbNitSettings(v *DvbNitSettings) *M2tsSettings { - s.DvbNitSettings = v - return s -} - -// SetDvbSdtSettings sets the DvbSdtSettings field's value. -func (s *M2tsSettings) SetDvbSdtSettings(v *DvbSdtSettings) *M2tsSettings { - s.DvbSdtSettings = v - return s -} - -// SetDvbSubPids sets the DvbSubPids field's value. -func (s *M2tsSettings) SetDvbSubPids(v string) *M2tsSettings { - s.DvbSubPids = &v - return s -} - -// SetDvbTdtSettings sets the DvbTdtSettings field's value. -func (s *M2tsSettings) SetDvbTdtSettings(v *DvbTdtSettings) *M2tsSettings { - s.DvbTdtSettings = v - return s -} - -// SetDvbTeletextPid sets the DvbTeletextPid field's value. -func (s *M2tsSettings) SetDvbTeletextPid(v string) *M2tsSettings { - s.DvbTeletextPid = &v - return s -} - -// SetEbif sets the Ebif field's value. -func (s *M2tsSettings) SetEbif(v M2tsEbifControl) *M2tsSettings { - s.Ebif = v - return s -} - -// SetEbpAudioInterval sets the EbpAudioInterval field's value. -func (s *M2tsSettings) SetEbpAudioInterval(v M2tsAudioInterval) *M2tsSettings { - s.EbpAudioInterval = v - return s -} - -// SetEbpLookaheadMs sets the EbpLookaheadMs field's value. -func (s *M2tsSettings) SetEbpLookaheadMs(v int64) *M2tsSettings { - s.EbpLookaheadMs = &v - return s -} - -// SetEbpPlacement sets the EbpPlacement field's value. -func (s *M2tsSettings) SetEbpPlacement(v M2tsEbpPlacement) *M2tsSettings { - s.EbpPlacement = v - return s -} - -// SetEcmPid sets the EcmPid field's value. -func (s *M2tsSettings) SetEcmPid(v string) *M2tsSettings { - s.EcmPid = &v - return s -} - -// SetEsRateInPes sets the EsRateInPes field's value. -func (s *M2tsSettings) SetEsRateInPes(v M2tsEsRateInPes) *M2tsSettings { - s.EsRateInPes = v - return s -} - -// SetEtvPlatformPid sets the EtvPlatformPid field's value. -func (s *M2tsSettings) SetEtvPlatformPid(v string) *M2tsSettings { - s.EtvPlatformPid = &v - return s -} - -// SetEtvSignalPid sets the EtvSignalPid field's value. -func (s *M2tsSettings) SetEtvSignalPid(v string) *M2tsSettings { - s.EtvSignalPid = &v - return s -} - -// SetFragmentTime sets the FragmentTime field's value. -func (s *M2tsSettings) SetFragmentTime(v float64) *M2tsSettings { - s.FragmentTime = &v - return s -} - -// SetKlv sets the Klv field's value. -func (s *M2tsSettings) SetKlv(v M2tsKlv) *M2tsSettings { - s.Klv = v - return s -} - -// SetKlvDataPids sets the KlvDataPids field's value. -func (s *M2tsSettings) SetKlvDataPids(v string) *M2tsSettings { - s.KlvDataPids = &v - return s -} - -// SetNullPacketBitrate sets the NullPacketBitrate field's value. -func (s *M2tsSettings) SetNullPacketBitrate(v float64) *M2tsSettings { - s.NullPacketBitrate = &v - return s -} - -// SetPatInterval sets the PatInterval field's value. -func (s *M2tsSettings) SetPatInterval(v int64) *M2tsSettings { - s.PatInterval = &v - return s -} - -// SetPcrControl sets the PcrControl field's value. -func (s *M2tsSettings) SetPcrControl(v M2tsPcrControl) *M2tsSettings { - s.PcrControl = v - return s -} - -// SetPcrPeriod sets the PcrPeriod field's value. -func (s *M2tsSettings) SetPcrPeriod(v int64) *M2tsSettings { - s.PcrPeriod = &v - return s -} - -// SetPcrPid sets the PcrPid field's value. -func (s *M2tsSettings) SetPcrPid(v string) *M2tsSettings { - s.PcrPid = &v - return s -} - -// SetPmtInterval sets the PmtInterval field's value. -func (s *M2tsSettings) SetPmtInterval(v int64) *M2tsSettings { - s.PmtInterval = &v - return s -} - -// SetPmtPid sets the PmtPid field's value. -func (s *M2tsSettings) SetPmtPid(v string) *M2tsSettings { - s.PmtPid = &v - return s -} - -// SetProgramNum sets the ProgramNum field's value. -func (s *M2tsSettings) SetProgramNum(v int64) *M2tsSettings { - s.ProgramNum = &v - return s -} - -// SetRateMode sets the RateMode field's value. -func (s *M2tsSettings) SetRateMode(v M2tsRateMode) *M2tsSettings { - s.RateMode = v - return s -} - -// SetScte27Pids sets the Scte27Pids field's value. -func (s *M2tsSettings) SetScte27Pids(v string) *M2tsSettings { - s.Scte27Pids = &v - return s -} - -// SetScte35Control sets the Scte35Control field's value. -func (s *M2tsSettings) SetScte35Control(v M2tsScte35Control) *M2tsSettings { - s.Scte35Control = v - return s -} - -// SetScte35Pid sets the Scte35Pid field's value. -func (s *M2tsSettings) SetScte35Pid(v string) *M2tsSettings { - s.Scte35Pid = &v - return s -} - -// SetSegmentationMarkers sets the SegmentationMarkers field's value. -func (s *M2tsSettings) SetSegmentationMarkers(v M2tsSegmentationMarkers) *M2tsSettings { - s.SegmentationMarkers = v - return s -} - -// SetSegmentationStyle sets the SegmentationStyle field's value. -func (s *M2tsSettings) SetSegmentationStyle(v M2tsSegmentationStyle) *M2tsSettings { - s.SegmentationStyle = v - return s -} - -// SetSegmentationTime sets the SegmentationTime field's value. -func (s *M2tsSettings) SetSegmentationTime(v float64) *M2tsSettings { - s.SegmentationTime = &v - return s -} - -// SetTimedMetadataBehavior sets the TimedMetadataBehavior field's value. -func (s *M2tsSettings) SetTimedMetadataBehavior(v M2tsTimedMetadataBehavior) *M2tsSettings { - s.TimedMetadataBehavior = v - return s -} - -// SetTimedMetadataPid sets the TimedMetadataPid field's value. -func (s *M2tsSettings) SetTimedMetadataPid(v string) *M2tsSettings { - s.TimedMetadataPid = &v - return s -} - -// SetTransportStreamId sets the TransportStreamId field's value. -func (s *M2tsSettings) SetTransportStreamId(v int64) *M2tsSettings { - s.TransportStreamId = &v - return s -} - -// SetVideoPid sets the VideoPid field's value. -func (s *M2tsSettings) SetVideoPid(v string) *M2tsSettings { - s.VideoPid = &v - return s -} - // Settings information for the .m3u8 container // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/M3u8Settings type M3u8Settings struct { @@ -6929,129 +4187,39 @@ type M3u8Settings struct { PmtInterval *int64 `locationName:"pmtInterval" type:"integer"` // Packet Identifier (PID) for the Program Map Table (PMT) in the transport - // stream. Can be entered as a decimal or hexadecimal value. - PmtPid *string `locationName:"pmtPid" type:"string"` - - // The value of the program number field in the Program Map Table. - ProgramNum *int64 `locationName:"programNum" type:"integer"` - - // If set to passthrough, passes any SCTE-35 signals from the input source to - // this output. - Scte35Behavior M3u8Scte35Behavior `locationName:"scte35Behavior" type:"string" enum:"true"` - - // Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can - // be entered as a decimal or hexadecimal value. - Scte35Pid *string `locationName:"scte35Pid" type:"string"` - - // When set to passthrough, timed metadata is passed through from input to output. - TimedMetadataBehavior M3u8TimedMetadataBehavior `locationName:"timedMetadataBehavior" type:"string" enum:"true"` - - // The value of the transport stream ID field in the Program Map Table. - TransportStreamId *int64 `locationName:"transportStreamId" type:"integer"` - - // Packet Identifier (PID) of the elementary video stream in the transport stream. - // Can be entered as a decimal or hexadecimal value. - VideoPid *string `locationName:"videoPid" type:"string"` -} - -// String returns the string representation -func (s M3u8Settings) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s M3u8Settings) GoString() string { - return s.String() -} - -// SetAudioFramesPerPes sets the AudioFramesPerPes field's value. -func (s *M3u8Settings) SetAudioFramesPerPes(v int64) *M3u8Settings { - s.AudioFramesPerPes = &v - return s -} - -// SetAudioPids sets the AudioPids field's value. -func (s *M3u8Settings) SetAudioPids(v string) *M3u8Settings { - s.AudioPids = &v - return s -} - -// SetEcmPid sets the EcmPid field's value. -func (s *M3u8Settings) SetEcmPid(v string) *M3u8Settings { - s.EcmPid = &v - return s -} - -// SetPatInterval sets the PatInterval field's value. -func (s *M3u8Settings) SetPatInterval(v int64) *M3u8Settings { - s.PatInterval = &v - return s -} - -// SetPcrControl sets the PcrControl field's value. -func (s *M3u8Settings) SetPcrControl(v M3u8PcrControl) *M3u8Settings { - s.PcrControl = v - return s -} - -// SetPcrPeriod sets the PcrPeriod field's value. -func (s *M3u8Settings) SetPcrPeriod(v int64) *M3u8Settings { - s.PcrPeriod = &v - return s -} - -// SetPcrPid sets the PcrPid field's value. -func (s *M3u8Settings) SetPcrPid(v string) *M3u8Settings { - s.PcrPid = &v - return s -} + // stream. Can be entered as a decimal or hexadecimal value. + PmtPid *string `locationName:"pmtPid" type:"string"` -// SetPmtInterval sets the PmtInterval field's value. -func (s *M3u8Settings) SetPmtInterval(v int64) *M3u8Settings { - s.PmtInterval = &v - return s -} + // The value of the program number field in the Program Map Table. + ProgramNum *int64 `locationName:"programNum" type:"integer"` -// SetPmtPid sets the PmtPid field's value. -func (s *M3u8Settings) SetPmtPid(v string) *M3u8Settings { - s.PmtPid = &v - return s -} + // If set to passthrough, passes any SCTE-35 signals from the input source to + // this output. + Scte35Behavior M3u8Scte35Behavior `locationName:"scte35Behavior" type:"string" enum:"true"` -// SetProgramNum sets the ProgramNum field's value. -func (s *M3u8Settings) SetProgramNum(v int64) *M3u8Settings { - s.ProgramNum = &v - return s -} + // Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can + // be entered as a decimal or hexadecimal value. + Scte35Pid *string `locationName:"scte35Pid" type:"string"` -// SetScte35Behavior sets the Scte35Behavior field's value. -func (s *M3u8Settings) SetScte35Behavior(v M3u8Scte35Behavior) *M3u8Settings { - s.Scte35Behavior = v - return s -} + // When set to passthrough, timed metadata is passed through from input to output. + TimedMetadataBehavior M3u8TimedMetadataBehavior `locationName:"timedMetadataBehavior" type:"string" enum:"true"` -// SetScte35Pid sets the Scte35Pid field's value. -func (s *M3u8Settings) SetScte35Pid(v string) *M3u8Settings { - s.Scte35Pid = &v - return s -} + // The value of the transport stream ID field in the Program Map Table. + TransportStreamId *int64 `locationName:"transportStreamId" type:"integer"` -// SetTimedMetadataBehavior sets the TimedMetadataBehavior field's value. -func (s *M3u8Settings) SetTimedMetadataBehavior(v M3u8TimedMetadataBehavior) *M3u8Settings { - s.TimedMetadataBehavior = v - return s + // Packet Identifier (PID) of the elementary video stream in the transport stream. + // Can be entered as a decimal or hexadecimal value. + VideoPid *string `locationName:"videoPid" type:"string"` } -// SetTransportStreamId sets the TransportStreamId field's value. -func (s *M3u8Settings) SetTransportStreamId(v int64) *M3u8Settings { - s.TransportStreamId = &v - return s +// String returns the string representation +func (s M3u8Settings) String() string { + return awsutil.Prettify(s) } -// SetVideoPid sets the VideoPid field's value. -func (s *M3u8Settings) SetVideoPid(v string) *M3u8Settings { - s.VideoPid = &v - return s +// GoString returns the string representation +func (s M3u8Settings) GoString() string { + return s.String() } // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Mp2Settings @@ -7079,24 +4247,6 @@ func (s Mp2Settings) GoString() string { return s.String() } -// SetBitrate sets the Bitrate field's value. -func (s *Mp2Settings) SetBitrate(v float64) *Mp2Settings { - s.Bitrate = &v - return s -} - -// SetCodingMode sets the CodingMode field's value. -func (s *Mp2Settings) SetCodingMode(v Mp2CodingMode) *Mp2Settings { - s.CodingMode = v - return s -} - -// SetSampleRate sets the SampleRate field's value. -func (s *Mp2Settings) SetSampleRate(v float64) *Mp2Settings { - s.SampleRate = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/MsSmoothGroupSettings type MsSmoothGroupSettings struct { _ struct{} `type:"structure"` @@ -7200,120 +4350,6 @@ func (s MsSmoothGroupSettings) GoString() string { return s.String() } -// SetAcquisitionPointId sets the AcquisitionPointId field's value. -func (s *MsSmoothGroupSettings) SetAcquisitionPointId(v string) *MsSmoothGroupSettings { - s.AcquisitionPointId = &v - return s -} - -// SetAudioOnlyTimecodeControl sets the AudioOnlyTimecodeControl field's value. -func (s *MsSmoothGroupSettings) SetAudioOnlyTimecodeControl(v SmoothGroupAudioOnlyTimecodeControl) *MsSmoothGroupSettings { - s.AudioOnlyTimecodeControl = v - return s -} - -// SetCertificateMode sets the CertificateMode field's value. -func (s *MsSmoothGroupSettings) SetCertificateMode(v SmoothGroupCertificateMode) *MsSmoothGroupSettings { - s.CertificateMode = v - return s -} - -// SetConnectionRetryInterval sets the ConnectionRetryInterval field's value. -func (s *MsSmoothGroupSettings) SetConnectionRetryInterval(v int64) *MsSmoothGroupSettings { - s.ConnectionRetryInterval = &v - return s -} - -// SetDestination sets the Destination field's value. -func (s *MsSmoothGroupSettings) SetDestination(v *OutputLocationRef) *MsSmoothGroupSettings { - s.Destination = v - return s -} - -// SetEventId sets the EventId field's value. -func (s *MsSmoothGroupSettings) SetEventId(v string) *MsSmoothGroupSettings { - s.EventId = &v - return s -} - -// SetEventIdMode sets the EventIdMode field's value. -func (s *MsSmoothGroupSettings) SetEventIdMode(v SmoothGroupEventIdMode) *MsSmoothGroupSettings { - s.EventIdMode = v - return s -} - -// SetEventStopBehavior sets the EventStopBehavior field's value. -func (s *MsSmoothGroupSettings) SetEventStopBehavior(v SmoothGroupEventStopBehavior) *MsSmoothGroupSettings { - s.EventStopBehavior = v - return s -} - -// SetFilecacheDuration sets the FilecacheDuration field's value. -func (s *MsSmoothGroupSettings) SetFilecacheDuration(v int64) *MsSmoothGroupSettings { - s.FilecacheDuration = &v - return s -} - -// SetFragmentLength sets the FragmentLength field's value. -func (s *MsSmoothGroupSettings) SetFragmentLength(v int64) *MsSmoothGroupSettings { - s.FragmentLength = &v - return s -} - -// SetInputLossAction sets the InputLossAction field's value. -func (s *MsSmoothGroupSettings) SetInputLossAction(v InputLossActionForMsSmoothOut) *MsSmoothGroupSettings { - s.InputLossAction = v - return s -} - -// SetNumRetries sets the NumRetries field's value. -func (s *MsSmoothGroupSettings) SetNumRetries(v int64) *MsSmoothGroupSettings { - s.NumRetries = &v - return s -} - -// SetRestartDelay sets the RestartDelay field's value. -func (s *MsSmoothGroupSettings) SetRestartDelay(v int64) *MsSmoothGroupSettings { - s.RestartDelay = &v - return s -} - -// SetSegmentationMode sets the SegmentationMode field's value. -func (s *MsSmoothGroupSettings) SetSegmentationMode(v SmoothGroupSegmentationMode) *MsSmoothGroupSettings { - s.SegmentationMode = v - return s -} - -// SetSendDelayMs sets the SendDelayMs field's value. -func (s *MsSmoothGroupSettings) SetSendDelayMs(v int64) *MsSmoothGroupSettings { - s.SendDelayMs = &v - return s -} - -// SetSparseTrackType sets the SparseTrackType field's value. -func (s *MsSmoothGroupSettings) SetSparseTrackType(v SmoothGroupSparseTrackType) *MsSmoothGroupSettings { - s.SparseTrackType = v - return s -} - -// SetStreamManifestBehavior sets the StreamManifestBehavior field's value. -func (s *MsSmoothGroupSettings) SetStreamManifestBehavior(v SmoothGroupStreamManifestBehavior) *MsSmoothGroupSettings { - s.StreamManifestBehavior = v - return s -} - -// SetTimestampOffset sets the TimestampOffset field's value. -func (s *MsSmoothGroupSettings) SetTimestampOffset(v string) *MsSmoothGroupSettings { - s.TimestampOffset = &v - return s -} - -// SetTimestampOffsetMode sets the TimestampOffsetMode field's value. -func (s *MsSmoothGroupSettings) SetTimestampOffsetMode(v SmoothGroupTimestampOffsetMode) *MsSmoothGroupSettings { - s.TimestampOffsetMode = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/MsSmoothOutputSettings type MsSmoothOutputSettings struct { _ struct{} `type:"structure"` @@ -7333,12 +4369,6 @@ func (s MsSmoothOutputSettings) GoString() string { return s.String() } -// SetNameModifier sets the NameModifier field's value. -func (s *MsSmoothOutputSettings) SetNameModifier(v string) *MsSmoothOutputSettings { - s.NameModifier = &v - return s -} - // Network source to transcode. Must be accessible to the Elemental Live node // that is running the live event through a network connection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/NetworkInputSettings @@ -7367,18 +4397,6 @@ func (s NetworkInputSettings) GoString() string { return s.String() } -// SetHlsInputSettings sets the HlsInputSettings field's value. -func (s *NetworkInputSettings) SetHlsInputSettings(v *HlsInputSettings) *NetworkInputSettings { - s.HlsInputSettings = v - return s -} - -// SetServerValidation sets the ServerValidation field's value. -func (s *NetworkInputSettings) SetServerValidation(v NetworkInputServerValidation) *NetworkInputSettings { - s.ServerValidation = v - return s -} - // Output settings. There can be multiple outputs within a group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Output type Output struct { @@ -7410,36 +4428,6 @@ func (s Output) GoString() string { return s.String() } -// SetAudioDescriptionNames sets the AudioDescriptionNames field's value. -func (s *Output) SetAudioDescriptionNames(v []string) *Output { - s.AudioDescriptionNames = v - return s -} - -// SetCaptionDescriptionNames sets the CaptionDescriptionNames field's value. -func (s *Output) SetCaptionDescriptionNames(v []string) *Output { - s.CaptionDescriptionNames = v - return s -} - -// SetOutputName sets the OutputName field's value. -func (s *Output) SetOutputName(v string) *Output { - s.OutputName = &v - return s -} - -// SetOutputSettings sets the OutputSettings field's value. -func (s *Output) SetOutputSettings(v *OutputSettings) *Output { - s.OutputSettings = v - return s -} - -// SetVideoDescriptionName sets the VideoDescriptionName field's value. -func (s *Output) SetVideoDescriptionName(v string) *Output { - s.VideoDescriptionName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/OutputDestination type OutputDestination struct { _ struct{} `type:"structure"` @@ -7461,18 +4449,6 @@ func (s OutputDestination) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *OutputDestination) SetId(v string) *OutputDestination { - s.Id = &v - return s -} - -// SetSettings sets the Settings field's value. -func (s *OutputDestination) SetSettings(v []OutputDestinationSettings) *OutputDestination { - s.Settings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/OutputDestinationSettings type OutputDestinationSettings struct { _ struct{} `type:"structure"` @@ -7497,24 +4473,6 @@ func (s OutputDestinationSettings) GoString() string { return s.String() } -// SetPasswordParam sets the PasswordParam field's value. -func (s *OutputDestinationSettings) SetPasswordParam(v string) *OutputDestinationSettings { - s.PasswordParam = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *OutputDestinationSettings) SetUrl(v string) *OutputDestinationSettings { - s.Url = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *OutputDestinationSettings) SetUsername(v string) *OutputDestinationSettings { - s.Username = &v - return s -} - // Output groups for this Live Event. Output groups contain information about // where streams should be distributed. // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/OutputGroup @@ -7541,24 +4499,6 @@ func (s OutputGroup) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *OutputGroup) SetName(v string) *OutputGroup { - s.Name = &v - return s -} - -// SetOutputGroupSettings sets the OutputGroupSettings field's value. -func (s *OutputGroup) SetOutputGroupSettings(v *OutputGroupSettings) *OutputGroup { - s.OutputGroupSettings = v - return s -} - -// SetOutputs sets the Outputs field's value. -func (s *OutputGroup) SetOutputs(v []Output) *OutputGroup { - s.Outputs = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/OutputGroupSettings type OutputGroupSettings struct { _ struct{} `type:"structure"` @@ -7582,30 +4522,6 @@ func (s OutputGroupSettings) GoString() string { return s.String() } -// SetArchiveGroupSettings sets the ArchiveGroupSettings field's value. -func (s *OutputGroupSettings) SetArchiveGroupSettings(v *ArchiveGroupSettings) *OutputGroupSettings { - s.ArchiveGroupSettings = v - return s -} - -// SetHlsGroupSettings sets the HlsGroupSettings field's value. -func (s *OutputGroupSettings) SetHlsGroupSettings(v *HlsGroupSettings) *OutputGroupSettings { - s.HlsGroupSettings = v - return s -} - -// SetMsSmoothGroupSettings sets the MsSmoothGroupSettings field's value. -func (s *OutputGroupSettings) SetMsSmoothGroupSettings(v *MsSmoothGroupSettings) *OutputGroupSettings { - s.MsSmoothGroupSettings = v - return s -} - -// SetUdpGroupSettings sets the UdpGroupSettings field's value. -func (s *OutputGroupSettings) SetUdpGroupSettings(v *UdpGroupSettings) *OutputGroupSettings { - s.UdpGroupSettings = v - return s -} - // Reference to an OutputDestination ID defined in the channel // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/OutputLocationRef type OutputLocationRef struct { @@ -7624,12 +4540,6 @@ func (s OutputLocationRef) GoString() string { return s.String() } -// SetDestinationRefId sets the DestinationRefId field's value. -func (s *OutputLocationRef) SetDestinationRefId(v string) *OutputLocationRef { - s.DestinationRefId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/OutputSettings type OutputSettings struct { _ struct{} `type:"structure"` @@ -7653,30 +4563,6 @@ func (s OutputSettings) GoString() string { return s.String() } -// SetArchiveOutputSettings sets the ArchiveOutputSettings field's value. -func (s *OutputSettings) SetArchiveOutputSettings(v *ArchiveOutputSettings) *OutputSettings { - s.ArchiveOutputSettings = v - return s -} - -// SetHlsOutputSettings sets the HlsOutputSettings field's value. -func (s *OutputSettings) SetHlsOutputSettings(v *HlsOutputSettings) *OutputSettings { - s.HlsOutputSettings = v - return s -} - -// SetMsSmoothOutputSettings sets the MsSmoothOutputSettings field's value. -func (s *OutputSettings) SetMsSmoothOutputSettings(v *MsSmoothOutputSettings) *OutputSettings { - s.MsSmoothOutputSettings = v - return s -} - -// SetUdpOutputSettings sets the UdpOutputSettings field's value. -func (s *OutputSettings) SetUdpOutputSettings(v *UdpOutputSettings) *OutputSettings { - s.UdpOutputSettings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/PassThroughSettings type PassThroughSettings struct { _ struct{} `type:"structure"` @@ -7716,24 +4602,6 @@ func (s RemixSettings) GoString() string { return s.String() } -// SetChannelMappings sets the ChannelMappings field's value. -func (s *RemixSettings) SetChannelMappings(v []AudioChannelMapping) *RemixSettings { - s.ChannelMappings = v - return s -} - -// SetChannelsIn sets the ChannelsIn field's value. -func (s *RemixSettings) SetChannelsIn(v int64) *RemixSettings { - s.ChannelsIn = &v - return s -} - -// SetChannelsOut sets the ChannelsOut field's value. -func (s *RemixSettings) SetChannelsOut(v int64) *RemixSettings { - s.ChannelsOut = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Scte20PlusEmbeddedDestinationSettings type Scte20PlusEmbeddedDestinationSettings struct { _ struct{} `type:"structure"` @@ -7773,18 +4641,6 @@ func (s Scte20SourceSettings) GoString() string { return s.String() } -// SetConvert608To708 sets the Convert608To708 field's value. -func (s *Scte20SourceSettings) SetConvert608To708(v Scte20Convert608To708) *Scte20SourceSettings { - s.Convert608To708 = v - return s -} - -// SetSource608ChannelNumber sets the Source608ChannelNumber field's value. -func (s *Scte20SourceSettings) SetSource608ChannelNumber(v int64) *Scte20SourceSettings { - s.Source608ChannelNumber = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Scte27DestinationSettings type Scte27DestinationSettings struct { _ struct{} `type:"structure"` @@ -7824,12 +4680,6 @@ func (s Scte27SourceSettings) GoString() string { return s.String() } -// SetPid sets the Pid field's value. -func (s *Scte27SourceSettings) SetPid(v int64) *Scte27SourceSettings { - s.Pid = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Scte35SpliceInsert type Scte35SpliceInsert struct { _ struct{} `type:"structure"` @@ -7858,24 +4708,6 @@ func (s Scte35SpliceInsert) GoString() string { return s.String() } -// SetAdAvailOffset sets the AdAvailOffset field's value. -func (s *Scte35SpliceInsert) SetAdAvailOffset(v int64) *Scte35SpliceInsert { - s.AdAvailOffset = &v - return s -} - -// SetNoRegionalBlackoutFlag sets the NoRegionalBlackoutFlag field's value. -func (s *Scte35SpliceInsert) SetNoRegionalBlackoutFlag(v Scte35SpliceInsertNoRegionalBlackoutBehavior) *Scte35SpliceInsert { - s.NoRegionalBlackoutFlag = v - return s -} - -// SetWebDeliveryAllowedFlag sets the WebDeliveryAllowedFlag field's value. -func (s *Scte35SpliceInsert) SetWebDeliveryAllowedFlag(v Scte35SpliceInsertWebDeliveryAllowedBehavior) *Scte35SpliceInsert { - s.WebDeliveryAllowedFlag = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Scte35TimeSignalApos type Scte35TimeSignalApos struct { _ struct{} `type:"structure"` @@ -7904,24 +4736,6 @@ func (s Scte35TimeSignalApos) GoString() string { return s.String() } -// SetAdAvailOffset sets the AdAvailOffset field's value. -func (s *Scte35TimeSignalApos) SetAdAvailOffset(v int64) *Scte35TimeSignalApos { - s.AdAvailOffset = &v - return s -} - -// SetNoRegionalBlackoutFlag sets the NoRegionalBlackoutFlag field's value. -func (s *Scte35TimeSignalApos) SetNoRegionalBlackoutFlag(v Scte35AposNoRegionalBlackoutBehavior) *Scte35TimeSignalApos { - s.NoRegionalBlackoutFlag = v - return s -} - -// SetWebDeliveryAllowedFlag sets the WebDeliveryAllowedFlag field's value. -func (s *Scte35TimeSignalApos) SetWebDeliveryAllowedFlag(v Scte35AposWebDeliveryAllowedBehavior) *Scte35TimeSignalApos { - s.WebDeliveryAllowedFlag = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/SmpteTtDestinationSettings type SmpteTtDestinationSettings struct { _ struct{} `type:"structure"` @@ -7959,18 +4773,6 @@ func (s StandardHlsSettings) GoString() string { return s.String() } -// SetAudioRenditionSets sets the AudioRenditionSets field's value. -func (s *StandardHlsSettings) SetAudioRenditionSets(v string) *StandardHlsSettings { - s.AudioRenditionSets = &v - return s -} - -// SetM3u8Settings sets the M3u8Settings field's value. -func (s *StandardHlsSettings) SetM3u8Settings(v *M3u8Settings) *StandardHlsSettings { - s.M3u8Settings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartChannelRequest type StartChannelInput struct { _ struct{} `type:"structure"` @@ -8003,12 +4805,6 @@ func (s *StartChannelInput) Validate() error { return nil } -// SetChannelId sets the ChannelId field's value. -func (s *StartChannelInput) SetChannelId(v string) *StartChannelInput { - s.ChannelId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartChannelResponse type StartChannelOutput struct { _ struct{} `type:"structure"` @@ -8051,66 +4847,6 @@ func (s StartChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *StartChannelOutput) SetArn(v string) *StartChannelOutput { - s.Arn = &v - return s -} - -// SetDestinations sets the Destinations field's value. -func (s *StartChannelOutput) SetDestinations(v []OutputDestination) *StartChannelOutput { - s.Destinations = v - return s -} - -// SetEgressEndpoints sets the EgressEndpoints field's value. -func (s *StartChannelOutput) SetEgressEndpoints(v []ChannelEgressEndpoint) *StartChannelOutput { - s.EgressEndpoints = v - return s -} - -// SetEncoderSettings sets the EncoderSettings field's value. -func (s *StartChannelOutput) SetEncoderSettings(v *EncoderSettings) *StartChannelOutput { - s.EncoderSettings = v - return s -} - -// SetId sets the Id field's value. -func (s *StartChannelOutput) SetId(v string) *StartChannelOutput { - s.Id = &v - return s -} - -// SetInputAttachments sets the InputAttachments field's value. -func (s *StartChannelOutput) SetInputAttachments(v []InputAttachment) *StartChannelOutput { - s.InputAttachments = v - return s -} - -// SetName sets the Name field's value. -func (s *StartChannelOutput) SetName(v string) *StartChannelOutput { - s.Name = &v - return s -} - -// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. -func (s *StartChannelOutput) SetPipelinesRunningCount(v int64) *StartChannelOutput { - s.PipelinesRunningCount = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *StartChannelOutput) SetRoleArn(v string) *StartChannelOutput { - s.RoleArn = &v - return s -} - -// SetState sets the State field's value. -func (s *StartChannelOutput) SetState(v ChannelState) *StartChannelOutput { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StaticKeySettings type StaticKeySettings struct { _ struct{} `type:"structure"` @@ -8132,18 +4868,6 @@ func (s StaticKeySettings) GoString() string { return s.String() } -// SetKeyProviderServer sets the KeyProviderServer field's value. -func (s *StaticKeySettings) SetKeyProviderServer(v *InputLocation) *StaticKeySettings { - s.KeyProviderServer = v - return s -} - -// SetStaticKeyValue sets the StaticKeyValue field's value. -func (s *StaticKeySettings) SetStaticKeyValue(v string) *StaticKeySettings { - s.StaticKeyValue = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopChannelRequest type StopChannelInput struct { _ struct{} `type:"structure"` @@ -8176,12 +4900,6 @@ func (s *StopChannelInput) Validate() error { return nil } -// SetChannelId sets the ChannelId field's value. -func (s *StopChannelInput) SetChannelId(v string) *StopChannelInput { - s.ChannelId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopChannelResponse type StopChannelOutput struct { _ struct{} `type:"structure"` @@ -8224,66 +4942,6 @@ func (s StopChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *StopChannelOutput) SetArn(v string) *StopChannelOutput { - s.Arn = &v - return s -} - -// SetDestinations sets the Destinations field's value. -func (s *StopChannelOutput) SetDestinations(v []OutputDestination) *StopChannelOutput { - s.Destinations = v - return s -} - -// SetEgressEndpoints sets the EgressEndpoints field's value. -func (s *StopChannelOutput) SetEgressEndpoints(v []ChannelEgressEndpoint) *StopChannelOutput { - s.EgressEndpoints = v - return s -} - -// SetEncoderSettings sets the EncoderSettings field's value. -func (s *StopChannelOutput) SetEncoderSettings(v *EncoderSettings) *StopChannelOutput { - s.EncoderSettings = v - return s -} - -// SetId sets the Id field's value. -func (s *StopChannelOutput) SetId(v string) *StopChannelOutput { - s.Id = &v - return s -} - -// SetInputAttachments sets the InputAttachments field's value. -func (s *StopChannelOutput) SetInputAttachments(v []InputAttachment) *StopChannelOutput { - s.InputAttachments = v - return s -} - -// SetName sets the Name field's value. -func (s *StopChannelOutput) SetName(v string) *StopChannelOutput { - s.Name = &v - return s -} - -// SetPipelinesRunningCount sets the PipelinesRunningCount field's value. -func (s *StopChannelOutput) SetPipelinesRunningCount(v int64) *StopChannelOutput { - s.PipelinesRunningCount = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *StopChannelOutput) SetRoleArn(v string) *StopChannelOutput { - s.RoleArn = &v - return s -} - -// SetState sets the State field's value. -func (s *StopChannelOutput) SetState(v ChannelState) *StopChannelOutput { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/TeletextDestinationSettings type TeletextDestinationSettings struct { _ struct{} `type:"structure"` @@ -8319,12 +4977,6 @@ func (s TeletextSourceSettings) GoString() string { return s.String() } -// SetPageNumber sets the PageNumber field's value. -func (s *TeletextSourceSettings) SetPageNumber(v string) *TeletextSourceSettings { - s.PageNumber = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/TimecodeConfig type TimecodeConfig struct { _ struct{} `type:"structure"` @@ -8354,18 +5006,6 @@ func (s TimecodeConfig) GoString() string { return s.String() } -// SetSource sets the Source field's value. -func (s *TimecodeConfig) SetSource(v TimecodeConfigSource) *TimecodeConfig { - s.Source = v - return s -} - -// SetSyncThreshold sets the SyncThreshold field's value. -func (s *TimecodeConfig) SetSyncThreshold(v int64) *TimecodeConfig { - s.SyncThreshold = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/TtmlDestinationSettings type TtmlDestinationSettings struct { _ struct{} `type:"structure"` @@ -8386,12 +5026,6 @@ func (s TtmlDestinationSettings) GoString() string { return s.String() } -// SetStyleControl sets the StyleControl field's value. -func (s *TtmlDestinationSettings) SetStyleControl(v TtmlDestinationStyleControl) *TtmlDestinationSettings { - s.StyleControl = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UdpContainerSettings type UdpContainerSettings struct { _ struct{} `type:"structure"` @@ -8409,12 +5043,6 @@ func (s UdpContainerSettings) GoString() string { return s.String() } -// SetM2tsSettings sets the M2tsSettings field's value. -func (s *UdpContainerSettings) SetM2tsSettings(v *M2tsSettings) *UdpContainerSettings { - s.M2tsSettings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UdpGroupSettings type UdpGroupSettings struct { _ struct{} `type:"structure"` @@ -8445,24 +5073,6 @@ func (s UdpGroupSettings) GoString() string { return s.String() } -// SetInputLossAction sets the InputLossAction field's value. -func (s *UdpGroupSettings) SetInputLossAction(v InputLossActionForUdpOut) *UdpGroupSettings { - s.InputLossAction = v - return s -} - -// SetTimedMetadataId3Frame sets the TimedMetadataId3Frame field's value. -func (s *UdpGroupSettings) SetTimedMetadataId3Frame(v UdpTimedMetadataId3Frame) *UdpGroupSettings { - s.TimedMetadataId3Frame = v - return s -} - -// SetTimedMetadataId3Period sets the TimedMetadataId3Period field's value. -func (s *UdpGroupSettings) SetTimedMetadataId3Period(v int64) *UdpGroupSettings { - s.TimedMetadataId3Period = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UdpOutputSettings type UdpOutputSettings struct { _ struct{} `type:"structure"` @@ -8493,30 +5103,6 @@ func (s UdpOutputSettings) GoString() string { return s.String() } -// SetBufferMsec sets the BufferMsec field's value. -func (s *UdpOutputSettings) SetBufferMsec(v int64) *UdpOutputSettings { - s.BufferMsec = &v - return s -} - -// SetContainerSettings sets the ContainerSettings field's value. -func (s *UdpOutputSettings) SetContainerSettings(v *UdpContainerSettings) *UdpOutputSettings { - s.ContainerSettings = v - return s -} - -// SetDestination sets the Destination field's value. -func (s *UdpOutputSettings) SetDestination(v *OutputLocationRef) *UdpOutputSettings { - s.Destination = v - return s -} - -// SetFecOutputSettings sets the FecOutputSettings field's value. -func (s *UdpOutputSettings) SetFecOutputSettings(v *FecOutputSettings) *UdpOutputSettings { - s.FecOutputSettings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ValidationError type ValidationError struct { _ struct{} `type:"structure"` @@ -8536,18 +5122,6 @@ func (s ValidationError) GoString() string { return s.String() } -// SetElementPath sets the ElementPath field's value. -func (s *ValidationError) SetElementPath(v string) *ValidationError { - s.ElementPath = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *ValidationError) SetErrorMessage(v string) *ValidationError { - s.ErrorMessage = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/VideoCodecSettings type VideoCodecSettings struct { _ struct{} `type:"structure"` @@ -8565,12 +5139,6 @@ func (s VideoCodecSettings) GoString() string { return s.String() } -// SetH264Settings sets the H264Settings field's value. -func (s *VideoCodecSettings) SetH264Settings(v *H264Settings) *VideoCodecSettings { - s.H264Settings = v - return s -} - // Video settings for this stream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/VideoDescription type VideoDescription struct { @@ -8619,48 +5187,6 @@ func (s VideoDescription) GoString() string { return s.String() } -// SetCodecSettings sets the CodecSettings field's value. -func (s *VideoDescription) SetCodecSettings(v *VideoCodecSettings) *VideoDescription { - s.CodecSettings = v - return s -} - -// SetHeight sets the Height field's value. -func (s *VideoDescription) SetHeight(v int64) *VideoDescription { - s.Height = &v - return s -} - -// SetName sets the Name field's value. -func (s *VideoDescription) SetName(v string) *VideoDescription { - s.Name = &v - return s -} - -// SetRespondToAfd sets the RespondToAfd field's value. -func (s *VideoDescription) SetRespondToAfd(v VideoDescriptionRespondToAfd) *VideoDescription { - s.RespondToAfd = v - return s -} - -// SetScalingBehavior sets the ScalingBehavior field's value. -func (s *VideoDescription) SetScalingBehavior(v VideoDescriptionScalingBehavior) *VideoDescription { - s.ScalingBehavior = v - return s -} - -// SetSharpness sets the Sharpness field's value. -func (s *VideoDescription) SetSharpness(v int64) *VideoDescription { - s.Sharpness = &v - return s -} - -// SetWidth sets the Width field's value. -func (s *VideoDescription) SetWidth(v int64) *VideoDescription { - s.Width = &v - return s -} - // Specifies a particular video stream within an input source. An input may // have only a single video selector. // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/VideoSelector @@ -8695,24 +5221,6 @@ func (s VideoSelector) GoString() string { return s.String() } -// SetColorSpace sets the ColorSpace field's value. -func (s *VideoSelector) SetColorSpace(v VideoSelectorColorSpace) *VideoSelector { - s.ColorSpace = v - return s -} - -// SetColorSpaceUsage sets the ColorSpaceUsage field's value. -func (s *VideoSelector) SetColorSpaceUsage(v VideoSelectorColorSpaceUsage) *VideoSelector { - s.ColorSpaceUsage = v - return s -} - -// SetSelectorSettings sets the SelectorSettings field's value. -func (s *VideoSelector) SetSelectorSettings(v *VideoSelectorSettings) *VideoSelector { - s.SelectorSettings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/VideoSelectorPid type VideoSelectorPid struct { _ struct{} `type:"structure"` @@ -8731,12 +5239,6 @@ func (s VideoSelectorPid) GoString() string { return s.String() } -// SetPid sets the Pid field's value. -func (s *VideoSelectorPid) SetPid(v int64) *VideoSelectorPid { - s.Pid = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/VideoSelectorProgramId type VideoSelectorProgramId struct { _ struct{} `type:"structure"` @@ -8757,12 +5259,6 @@ func (s VideoSelectorProgramId) GoString() string { return s.String() } -// SetProgramId sets the ProgramId field's value. -func (s *VideoSelectorProgramId) SetProgramId(v int64) *VideoSelectorProgramId { - s.ProgramId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/VideoSelectorSettings type VideoSelectorSettings struct { _ struct{} `type:"structure"` @@ -8782,18 +5278,6 @@ func (s VideoSelectorSettings) GoString() string { return s.String() } -// SetVideoSelectorPid sets the VideoSelectorPid field's value. -func (s *VideoSelectorSettings) SetVideoSelectorPid(v *VideoSelectorPid) *VideoSelectorSettings { - s.VideoSelectorPid = v - return s -} - -// SetVideoSelectorProgramId sets the VideoSelectorProgramId field's value. -func (s *VideoSelectorSettings) SetVideoSelectorProgramId(v *VideoSelectorProgramId) *VideoSelectorSettings { - s.VideoSelectorProgramId = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/WebvttDestinationSettings type WebvttDestinationSettings struct { _ struct{} `type:"structure"` diff --git a/service/mediapackage/api.go b/service/mediapackage/api.go index 5e6dec9c234..0a86c751aab 100644 --- a/service/mediapackage/api.go +++ b/service/mediapackage/api.go @@ -686,30 +686,6 @@ func (s Channel) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Channel) SetArn(v string) *Channel { - s.Arn = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Channel) SetDescription(v string) *Channel { - s.Description = &v - return s -} - -// SetHlsIngest sets the HlsIngest field's value. -func (s *Channel) SetHlsIngest(v *HlsIngest) *Channel { - s.HlsIngest = v - return s -} - -// SetId sets the Id field's value. -func (s *Channel) SetId(v string) *Channel { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannelRequest type CreateChannelInput struct { _ struct{} `type:"structure"` @@ -744,18 +720,6 @@ func (s *CreateChannelInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateChannelInput) SetDescription(v string) *CreateChannelInput { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *CreateChannelInput) SetId(v string) *CreateChannelInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannelResponse type CreateChannelOutput struct { _ struct{} `type:"structure"` @@ -787,30 +751,6 @@ func (s CreateChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *CreateChannelOutput) SetArn(v string) *CreateChannelOutput { - s.Arn = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateChannelOutput) SetDescription(v string) *CreateChannelOutput { - s.Description = &v - return s -} - -// SetHlsIngest sets the HlsIngest field's value. -func (s *CreateChannelOutput) SetHlsIngest(v *HlsIngest) *CreateChannelOutput { - s.HlsIngest = v - return s -} - -// SetId sets the Id field's value. -func (s *CreateChannelOutput) SetId(v string) *CreateChannelOutput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateOriginEndpointRequest type CreateOriginEndpointInput struct { _ struct{} `type:"structure"` @@ -884,66 +824,6 @@ func (s *CreateOriginEndpointInput) Validate() error { return nil } -// SetChannelId sets the ChannelId field's value. -func (s *CreateOriginEndpointInput) SetChannelId(v string) *CreateOriginEndpointInput { - s.ChannelId = &v - return s -} - -// SetDashPackage sets the DashPackage field's value. -func (s *CreateOriginEndpointInput) SetDashPackage(v *DashPackage) *CreateOriginEndpointInput { - s.DashPackage = v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateOriginEndpointInput) SetDescription(v string) *CreateOriginEndpointInput { - s.Description = &v - return s -} - -// SetHlsPackage sets the HlsPackage field's value. -func (s *CreateOriginEndpointInput) SetHlsPackage(v *HlsPackage) *CreateOriginEndpointInput { - s.HlsPackage = v - return s -} - -// SetId sets the Id field's value. -func (s *CreateOriginEndpointInput) SetId(v string) *CreateOriginEndpointInput { - s.Id = &v - return s -} - -// SetManifestName sets the ManifestName field's value. -func (s *CreateOriginEndpointInput) SetManifestName(v string) *CreateOriginEndpointInput { - s.ManifestName = &v - return s -} - -// SetMssPackage sets the MssPackage field's value. -func (s *CreateOriginEndpointInput) SetMssPackage(v *MssPackage) *CreateOriginEndpointInput { - s.MssPackage = v - return s -} - -// SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value. -func (s *CreateOriginEndpointInput) SetStartoverWindowSeconds(v int64) *CreateOriginEndpointInput { - s.StartoverWindowSeconds = &v - return s -} - -// SetTimeDelaySeconds sets the TimeDelaySeconds field's value. -func (s *CreateOriginEndpointInput) SetTimeDelaySeconds(v int64) *CreateOriginEndpointInput { - s.TimeDelaySeconds = &v - return s -} - -// SetWhitelist sets the Whitelist field's value. -func (s *CreateOriginEndpointInput) SetWhitelist(v []string) *CreateOriginEndpointInput { - s.Whitelist = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateOriginEndpointResponse type CreateOriginEndpointOutput struct { _ struct{} `type:"structure"` @@ -993,78 +873,6 @@ func (s CreateOriginEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *CreateOriginEndpointOutput) SetArn(v string) *CreateOriginEndpointOutput { - s.Arn = &v - return s -} - -// SetChannelId sets the ChannelId field's value. -func (s *CreateOriginEndpointOutput) SetChannelId(v string) *CreateOriginEndpointOutput { - s.ChannelId = &v - return s -} - -// SetDashPackage sets the DashPackage field's value. -func (s *CreateOriginEndpointOutput) SetDashPackage(v *DashPackage) *CreateOriginEndpointOutput { - s.DashPackage = v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateOriginEndpointOutput) SetDescription(v string) *CreateOriginEndpointOutput { - s.Description = &v - return s -} - -// SetHlsPackage sets the HlsPackage field's value. -func (s *CreateOriginEndpointOutput) SetHlsPackage(v *HlsPackage) *CreateOriginEndpointOutput { - s.HlsPackage = v - return s -} - -// SetId sets the Id field's value. -func (s *CreateOriginEndpointOutput) SetId(v string) *CreateOriginEndpointOutput { - s.Id = &v - return s -} - -// SetManifestName sets the ManifestName field's value. -func (s *CreateOriginEndpointOutput) SetManifestName(v string) *CreateOriginEndpointOutput { - s.ManifestName = &v - return s -} - -// SetMssPackage sets the MssPackage field's value. -func (s *CreateOriginEndpointOutput) SetMssPackage(v *MssPackage) *CreateOriginEndpointOutput { - s.MssPackage = v - return s -} - -// SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value. -func (s *CreateOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *CreateOriginEndpointOutput { - s.StartoverWindowSeconds = &v - return s -} - -// SetTimeDelaySeconds sets the TimeDelaySeconds field's value. -func (s *CreateOriginEndpointOutput) SetTimeDelaySeconds(v int64) *CreateOriginEndpointOutput { - s.TimeDelaySeconds = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *CreateOriginEndpointOutput) SetUrl(v string) *CreateOriginEndpointOutput { - s.Url = &v - return s -} - -// SetWhitelist sets the Whitelist field's value. -func (s *CreateOriginEndpointOutput) SetWhitelist(v []string) *CreateOriginEndpointOutput { - s.Whitelist = v - return s -} - // A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DashEncryption type DashEncryption struct { @@ -1109,18 +917,6 @@ func (s *DashEncryption) Validate() error { return nil } -// SetKeyRotationIntervalSeconds sets the KeyRotationIntervalSeconds field's value. -func (s *DashEncryption) SetKeyRotationIntervalSeconds(v int64) *DashEncryption { - s.KeyRotationIntervalSeconds = &v - return s -} - -// SetSpekeKeyProvider sets the SpekeKeyProvider field's value. -func (s *DashEncryption) SetSpekeKeyProvider(v *SpekeKeyProvider) *DashEncryption { - s.SpekeKeyProvider = v - return s -} - // A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DashPackage type DashPackage struct { @@ -1180,54 +976,6 @@ func (s *DashPackage) Validate() error { return nil } -// SetEncryption sets the Encryption field's value. -func (s *DashPackage) SetEncryption(v *DashEncryption) *DashPackage { - s.Encryption = v - return s -} - -// SetManifestWindowSeconds sets the ManifestWindowSeconds field's value. -func (s *DashPackage) SetManifestWindowSeconds(v int64) *DashPackage { - s.ManifestWindowSeconds = &v - return s -} - -// SetMinBufferTimeSeconds sets the MinBufferTimeSeconds field's value. -func (s *DashPackage) SetMinBufferTimeSeconds(v int64) *DashPackage { - s.MinBufferTimeSeconds = &v - return s -} - -// SetMinUpdatePeriodSeconds sets the MinUpdatePeriodSeconds field's value. -func (s *DashPackage) SetMinUpdatePeriodSeconds(v int64) *DashPackage { - s.MinUpdatePeriodSeconds = &v - return s -} - -// SetProfile sets the Profile field's value. -func (s *DashPackage) SetProfile(v Profile) *DashPackage { - s.Profile = v - return s -} - -// SetSegmentDurationSeconds sets the SegmentDurationSeconds field's value. -func (s *DashPackage) SetSegmentDurationSeconds(v int64) *DashPackage { - s.SegmentDurationSeconds = &v - return s -} - -// SetStreamSelection sets the StreamSelection field's value. -func (s *DashPackage) SetStreamSelection(v *StreamSelection) *DashPackage { - s.StreamSelection = v - return s -} - -// SetSuggestedPresentationDelaySeconds sets the SuggestedPresentationDelaySeconds field's value. -func (s *DashPackage) SetSuggestedPresentationDelaySeconds(v int64) *DashPackage { - s.SuggestedPresentationDelaySeconds = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteChannelRequest type DeleteChannelInput struct { _ struct{} `type:"structure"` @@ -1260,12 +1008,6 @@ func (s *DeleteChannelInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DeleteChannelInput) SetId(v string) *DeleteChannelInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteChannelResponse type DeleteChannelOutput struct { _ struct{} `type:"structure"` @@ -1320,12 +1062,6 @@ func (s *DeleteOriginEndpointInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DeleteOriginEndpointInput) SetId(v string) *DeleteOriginEndpointInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteOriginEndpointResponse type DeleteOriginEndpointOutput struct { _ struct{} `type:"structure"` @@ -1380,12 +1116,6 @@ func (s *DescribeChannelInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DescribeChannelInput) SetId(v string) *DescribeChannelInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannelResponse type DescribeChannelOutput struct { _ struct{} `type:"structure"` @@ -1417,30 +1147,6 @@ func (s DescribeChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *DescribeChannelOutput) SetArn(v string) *DescribeChannelOutput { - s.Arn = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *DescribeChannelOutput) SetDescription(v string) *DescribeChannelOutput { - s.Description = &v - return s -} - -// SetHlsIngest sets the HlsIngest field's value. -func (s *DescribeChannelOutput) SetHlsIngest(v *HlsIngest) *DescribeChannelOutput { - s.HlsIngest = v - return s -} - -// SetId sets the Id field's value. -func (s *DescribeChannelOutput) SetId(v string) *DescribeChannelOutput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeOriginEndpointRequest type DescribeOriginEndpointInput struct { _ struct{} `type:"structure"` @@ -1473,12 +1179,6 @@ func (s *DescribeOriginEndpointInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DescribeOriginEndpointInput) SetId(v string) *DescribeOriginEndpointInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeOriginEndpointResponse type DescribeOriginEndpointOutput struct { _ struct{} `type:"structure"` @@ -1528,78 +1228,6 @@ func (s DescribeOriginEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *DescribeOriginEndpointOutput) SetArn(v string) *DescribeOriginEndpointOutput { - s.Arn = &v - return s -} - -// SetChannelId sets the ChannelId field's value. -func (s *DescribeOriginEndpointOutput) SetChannelId(v string) *DescribeOriginEndpointOutput { - s.ChannelId = &v - return s -} - -// SetDashPackage sets the DashPackage field's value. -func (s *DescribeOriginEndpointOutput) SetDashPackage(v *DashPackage) *DescribeOriginEndpointOutput { - s.DashPackage = v - return s -} - -// SetDescription sets the Description field's value. -func (s *DescribeOriginEndpointOutput) SetDescription(v string) *DescribeOriginEndpointOutput { - s.Description = &v - return s -} - -// SetHlsPackage sets the HlsPackage field's value. -func (s *DescribeOriginEndpointOutput) SetHlsPackage(v *HlsPackage) *DescribeOriginEndpointOutput { - s.HlsPackage = v - return s -} - -// SetId sets the Id field's value. -func (s *DescribeOriginEndpointOutput) SetId(v string) *DescribeOriginEndpointOutput { - s.Id = &v - return s -} - -// SetManifestName sets the ManifestName field's value. -func (s *DescribeOriginEndpointOutput) SetManifestName(v string) *DescribeOriginEndpointOutput { - s.ManifestName = &v - return s -} - -// SetMssPackage sets the MssPackage field's value. -func (s *DescribeOriginEndpointOutput) SetMssPackage(v *MssPackage) *DescribeOriginEndpointOutput { - s.MssPackage = v - return s -} - -// SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value. -func (s *DescribeOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *DescribeOriginEndpointOutput { - s.StartoverWindowSeconds = &v - return s -} - -// SetTimeDelaySeconds sets the TimeDelaySeconds field's value. -func (s *DescribeOriginEndpointOutput) SetTimeDelaySeconds(v int64) *DescribeOriginEndpointOutput { - s.TimeDelaySeconds = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *DescribeOriginEndpointOutput) SetUrl(v string) *DescribeOriginEndpointOutput { - s.Url = &v - return s -} - -// SetWhitelist sets the Whitelist field's value. -func (s *DescribeOriginEndpointOutput) SetWhitelist(v []string) *DescribeOriginEndpointOutput { - s.Whitelist = v - return s -} - // An HTTP Live Streaming (HLS) encryption configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HlsEncryption type HlsEncryption struct { @@ -1654,36 +1282,6 @@ func (s *HlsEncryption) Validate() error { return nil } -// SetConstantInitializationVector sets the ConstantInitializationVector field's value. -func (s *HlsEncryption) SetConstantInitializationVector(v string) *HlsEncryption { - s.ConstantInitializationVector = &v - return s -} - -// SetEncryptionMethod sets the EncryptionMethod field's value. -func (s *HlsEncryption) SetEncryptionMethod(v EncryptionMethod) *HlsEncryption { - s.EncryptionMethod = v - return s -} - -// SetKeyRotationIntervalSeconds sets the KeyRotationIntervalSeconds field's value. -func (s *HlsEncryption) SetKeyRotationIntervalSeconds(v int64) *HlsEncryption { - s.KeyRotationIntervalSeconds = &v - return s -} - -// SetRepeatExtXKey sets the RepeatExtXKey field's value. -func (s *HlsEncryption) SetRepeatExtXKey(v bool) *HlsEncryption { - s.RepeatExtXKey = &v - return s -} - -// SetSpekeKeyProvider sets the SpekeKeyProvider field's value. -func (s *HlsEncryption) SetSpekeKeyProvider(v *SpekeKeyProvider) *HlsEncryption { - s.SpekeKeyProvider = v - return s -} - // An HTTP Live Streaming (HLS) ingest resource configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HlsIngest type HlsIngest struct { @@ -1703,12 +1301,6 @@ func (s HlsIngest) GoString() string { return s.String() } -// SetIngestEndpoints sets the IngestEndpoints field's value. -func (s *HlsIngest) SetIngestEndpoints(v []IngestEndpoint) *HlsIngest { - s.IngestEndpoints = v - return s -} - // An HTTP Live Streaming (HLS) packaging configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/HlsPackage type HlsPackage struct { @@ -1781,60 +1373,6 @@ func (s *HlsPackage) Validate() error { return nil } -// SetAdMarkers sets the AdMarkers field's value. -func (s *HlsPackage) SetAdMarkers(v AdMarkers) *HlsPackage { - s.AdMarkers = v - return s -} - -// SetEncryption sets the Encryption field's value. -func (s *HlsPackage) SetEncryption(v *HlsEncryption) *HlsPackage { - s.Encryption = v - return s -} - -// SetIncludeIframeOnlyStream sets the IncludeIframeOnlyStream field's value. -func (s *HlsPackage) SetIncludeIframeOnlyStream(v bool) *HlsPackage { - s.IncludeIframeOnlyStream = &v - return s -} - -// SetPlaylistType sets the PlaylistType field's value. -func (s *HlsPackage) SetPlaylistType(v PlaylistType) *HlsPackage { - s.PlaylistType = v - return s -} - -// SetPlaylistWindowSeconds sets the PlaylistWindowSeconds field's value. -func (s *HlsPackage) SetPlaylistWindowSeconds(v int64) *HlsPackage { - s.PlaylistWindowSeconds = &v - return s -} - -// SetProgramDateTimeIntervalSeconds sets the ProgramDateTimeIntervalSeconds field's value. -func (s *HlsPackage) SetProgramDateTimeIntervalSeconds(v int64) *HlsPackage { - s.ProgramDateTimeIntervalSeconds = &v - return s -} - -// SetSegmentDurationSeconds sets the SegmentDurationSeconds field's value. -func (s *HlsPackage) SetSegmentDurationSeconds(v int64) *HlsPackage { - s.SegmentDurationSeconds = &v - return s -} - -// SetStreamSelection sets the StreamSelection field's value. -func (s *HlsPackage) SetStreamSelection(v *StreamSelection) *HlsPackage { - s.StreamSelection = v - return s -} - -// SetUseAudioRenditionGroup sets the UseAudioRenditionGroup field's value. -func (s *HlsPackage) SetUseAudioRenditionGroup(v bool) *HlsPackage { - s.UseAudioRenditionGroup = &v - return s -} - // An endpoint for ingesting source content for a Channel. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/IngestEndpoint type IngestEndpoint struct { @@ -1860,24 +1398,6 @@ func (s IngestEndpoint) GoString() string { return s.String() } -// SetPassword sets the Password field's value. -func (s *IngestEndpoint) SetPassword(v string) *IngestEndpoint { - s.Password = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *IngestEndpoint) SetUrl(v string) *IngestEndpoint { - s.Url = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *IngestEndpoint) SetUsername(v string) *IngestEndpoint { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannelsRequest type ListChannelsInput struct { _ struct{} `type:"structure"` @@ -1910,18 +1430,6 @@ func (s *ListChannelsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListChannelsInput) SetMaxResults(v int64) *ListChannelsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListChannelsInput) SetNextToken(v string) *ListChannelsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannelsResponse type ListChannelsOutput struct { _ struct{} `type:"structure"` @@ -1948,18 +1456,6 @@ func (s ListChannelsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChannels sets the Channels field's value. -func (s *ListChannelsOutput) SetChannels(v []Channel) *ListChannelsOutput { - s.Channels = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListChannelsOutput) SetNextToken(v string) *ListChannelsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListOriginEndpointsRequest type ListOriginEndpointsInput struct { _ struct{} `type:"structure"` @@ -1994,24 +1490,6 @@ func (s *ListOriginEndpointsInput) Validate() error { return nil } -// SetChannelId sets the ChannelId field's value. -func (s *ListOriginEndpointsInput) SetChannelId(v string) *ListOriginEndpointsInput { - s.ChannelId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListOriginEndpointsInput) SetMaxResults(v int64) *ListOriginEndpointsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListOriginEndpointsInput) SetNextToken(v string) *ListOriginEndpointsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListOriginEndpointsResponse type ListOriginEndpointsOutput struct { _ struct{} `type:"structure"` @@ -2038,18 +1516,6 @@ func (s ListOriginEndpointsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListOriginEndpointsOutput) SetNextToken(v string) *ListOriginEndpointsOutput { - s.NextToken = &v - return s -} - -// SetOriginEndpoints sets the OriginEndpoints field's value. -func (s *ListOriginEndpointsOutput) SetOriginEndpoints(v []OriginEndpoint) *ListOriginEndpointsOutput { - s.OriginEndpoints = v - return s -} - // A Microsoft Smooth Streaming (MSS) encryption configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/MssEncryption type MssEncryption struct { @@ -2091,12 +1557,6 @@ func (s *MssEncryption) Validate() error { return nil } -// SetSpekeKeyProvider sets the SpekeKeyProvider field's value. -func (s *MssEncryption) SetSpekeKeyProvider(v *SpekeKeyProvider) *MssEncryption { - s.SpekeKeyProvider = v - return s -} - // A Microsoft Smooth Streaming (MSS) packaging configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/MssPackage type MssPackage struct { @@ -2140,30 +1600,6 @@ func (s *MssPackage) Validate() error { return nil } -// SetEncryption sets the Encryption field's value. -func (s *MssPackage) SetEncryption(v *MssEncryption) *MssPackage { - s.Encryption = v - return s -} - -// SetManifestWindowSeconds sets the ManifestWindowSeconds field's value. -func (s *MssPackage) SetManifestWindowSeconds(v int64) *MssPackage { - s.ManifestWindowSeconds = &v - return s -} - -// SetSegmentDurationSeconds sets the SegmentDurationSeconds field's value. -func (s *MssPackage) SetSegmentDurationSeconds(v int64) *MssPackage { - s.SegmentDurationSeconds = &v - return s -} - -// SetStreamSelection sets the StreamSelection field's value. -func (s *MssPackage) SetStreamSelection(v *StreamSelection) *MssPackage { - s.StreamSelection = v - return s -} - // An OriginEndpoint resource configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/OriginEndpoint type OriginEndpoint struct { @@ -2218,78 +1654,6 @@ func (s OriginEndpoint) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *OriginEndpoint) SetArn(v string) *OriginEndpoint { - s.Arn = &v - return s -} - -// SetChannelId sets the ChannelId field's value. -func (s *OriginEndpoint) SetChannelId(v string) *OriginEndpoint { - s.ChannelId = &v - return s -} - -// SetDashPackage sets the DashPackage field's value. -func (s *OriginEndpoint) SetDashPackage(v *DashPackage) *OriginEndpoint { - s.DashPackage = v - return s -} - -// SetDescription sets the Description field's value. -func (s *OriginEndpoint) SetDescription(v string) *OriginEndpoint { - s.Description = &v - return s -} - -// SetHlsPackage sets the HlsPackage field's value. -func (s *OriginEndpoint) SetHlsPackage(v *HlsPackage) *OriginEndpoint { - s.HlsPackage = v - return s -} - -// SetId sets the Id field's value. -func (s *OriginEndpoint) SetId(v string) *OriginEndpoint { - s.Id = &v - return s -} - -// SetManifestName sets the ManifestName field's value. -func (s *OriginEndpoint) SetManifestName(v string) *OriginEndpoint { - s.ManifestName = &v - return s -} - -// SetMssPackage sets the MssPackage field's value. -func (s *OriginEndpoint) SetMssPackage(v *MssPackage) *OriginEndpoint { - s.MssPackage = v - return s -} - -// SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value. -func (s *OriginEndpoint) SetStartoverWindowSeconds(v int64) *OriginEndpoint { - s.StartoverWindowSeconds = &v - return s -} - -// SetTimeDelaySeconds sets the TimeDelaySeconds field's value. -func (s *OriginEndpoint) SetTimeDelaySeconds(v int64) *OriginEndpoint { - s.TimeDelaySeconds = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *OriginEndpoint) SetUrl(v string) *OriginEndpoint { - s.Url = &v - return s -} - -// SetWhitelist sets the Whitelist field's value. -func (s *OriginEndpoint) SetWhitelist(v []string) *OriginEndpoint { - s.Whitelist = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentialsRequest type RotateChannelCredentialsInput struct { _ struct{} `type:"structure"` @@ -2322,12 +1686,6 @@ func (s *RotateChannelCredentialsInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *RotateChannelCredentialsInput) SetId(v string) *RotateChannelCredentialsInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentialsResponse type RotateChannelCredentialsOutput struct { _ struct{} `type:"structure"` @@ -2359,30 +1717,6 @@ func (s RotateChannelCredentialsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *RotateChannelCredentialsOutput) SetArn(v string) *RotateChannelCredentialsOutput { - s.Arn = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *RotateChannelCredentialsOutput) SetDescription(v string) *RotateChannelCredentialsOutput { - s.Description = &v - return s -} - -// SetHlsIngest sets the HlsIngest field's value. -func (s *RotateChannelCredentialsOutput) SetHlsIngest(v *HlsIngest) *RotateChannelCredentialsOutput { - s.HlsIngest = v - return s -} - -// SetId sets the Id field's value. -func (s *RotateChannelCredentialsOutput) SetId(v string) *RotateChannelCredentialsOutput { - s.Id = &v - return s -} - // A configuration for accessing an external Secure Packager and Encoder Key // Exchange (SPEKE) service that will provide encryption keys. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/SpekeKeyProvider @@ -2447,30 +1781,6 @@ func (s *SpekeKeyProvider) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *SpekeKeyProvider) SetResourceId(v string) *SpekeKeyProvider { - s.ResourceId = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *SpekeKeyProvider) SetRoleArn(v string) *SpekeKeyProvider { - s.RoleArn = &v - return s -} - -// SetSystemIds sets the SystemIds field's value. -func (s *SpekeKeyProvider) SetSystemIds(v []string) *SpekeKeyProvider { - s.SystemIds = v - return s -} - -// SetUrl sets the Url field's value. -func (s *SpekeKeyProvider) SetUrl(v string) *SpekeKeyProvider { - s.Url = &v - return s -} - // A StreamSelection configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/StreamSelection type StreamSelection struct { @@ -2496,24 +1806,6 @@ func (s StreamSelection) GoString() string { return s.String() } -// SetMaxVideoBitsPerSecond sets the MaxVideoBitsPerSecond field's value. -func (s *StreamSelection) SetMaxVideoBitsPerSecond(v int64) *StreamSelection { - s.MaxVideoBitsPerSecond = &v - return s -} - -// SetMinVideoBitsPerSecond sets the MinVideoBitsPerSecond field's value. -func (s *StreamSelection) SetMinVideoBitsPerSecond(v int64) *StreamSelection { - s.MinVideoBitsPerSecond = &v - return s -} - -// SetStreamOrder sets the StreamOrder field's value. -func (s *StreamSelection) SetStreamOrder(v StreamOrder) *StreamSelection { - s.StreamOrder = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannelRequest type UpdateChannelInput struct { _ struct{} `type:"structure"` @@ -2548,18 +1840,6 @@ func (s *UpdateChannelInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *UpdateChannelInput) SetDescription(v string) *UpdateChannelInput { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *UpdateChannelInput) SetId(v string) *UpdateChannelInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannelResponse type UpdateChannelOutput struct { _ struct{} `type:"structure"` @@ -2591,30 +1871,6 @@ func (s UpdateChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *UpdateChannelOutput) SetArn(v string) *UpdateChannelOutput { - s.Arn = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateChannelOutput) SetDescription(v string) *UpdateChannelOutput { - s.Description = &v - return s -} - -// SetHlsIngest sets the HlsIngest field's value. -func (s *UpdateChannelOutput) SetHlsIngest(v *HlsIngest) *UpdateChannelOutput { - s.HlsIngest = v - return s -} - -// SetId sets the Id field's value. -func (s *UpdateChannelOutput) SetId(v string) *UpdateChannelOutput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateOriginEndpointRequest type UpdateOriginEndpointInput struct { _ struct{} `type:"structure"` @@ -2681,60 +1937,6 @@ func (s *UpdateOriginEndpointInput) Validate() error { return nil } -// SetDashPackage sets the DashPackage field's value. -func (s *UpdateOriginEndpointInput) SetDashPackage(v *DashPackage) *UpdateOriginEndpointInput { - s.DashPackage = v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateOriginEndpointInput) SetDescription(v string) *UpdateOriginEndpointInput { - s.Description = &v - return s -} - -// SetHlsPackage sets the HlsPackage field's value. -func (s *UpdateOriginEndpointInput) SetHlsPackage(v *HlsPackage) *UpdateOriginEndpointInput { - s.HlsPackage = v - return s -} - -// SetId sets the Id field's value. -func (s *UpdateOriginEndpointInput) SetId(v string) *UpdateOriginEndpointInput { - s.Id = &v - return s -} - -// SetManifestName sets the ManifestName field's value. -func (s *UpdateOriginEndpointInput) SetManifestName(v string) *UpdateOriginEndpointInput { - s.ManifestName = &v - return s -} - -// SetMssPackage sets the MssPackage field's value. -func (s *UpdateOriginEndpointInput) SetMssPackage(v *MssPackage) *UpdateOriginEndpointInput { - s.MssPackage = v - return s -} - -// SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value. -func (s *UpdateOriginEndpointInput) SetStartoverWindowSeconds(v int64) *UpdateOriginEndpointInput { - s.StartoverWindowSeconds = &v - return s -} - -// SetTimeDelaySeconds sets the TimeDelaySeconds field's value. -func (s *UpdateOriginEndpointInput) SetTimeDelaySeconds(v int64) *UpdateOriginEndpointInput { - s.TimeDelaySeconds = &v - return s -} - -// SetWhitelist sets the Whitelist field's value. -func (s *UpdateOriginEndpointInput) SetWhitelist(v []string) *UpdateOriginEndpointInput { - s.Whitelist = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateOriginEndpointResponse type UpdateOriginEndpointOutput struct { _ struct{} `type:"structure"` @@ -2784,78 +1986,6 @@ func (s UpdateOriginEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *UpdateOriginEndpointOutput) SetArn(v string) *UpdateOriginEndpointOutput { - s.Arn = &v - return s -} - -// SetChannelId sets the ChannelId field's value. -func (s *UpdateOriginEndpointOutput) SetChannelId(v string) *UpdateOriginEndpointOutput { - s.ChannelId = &v - return s -} - -// SetDashPackage sets the DashPackage field's value. -func (s *UpdateOriginEndpointOutput) SetDashPackage(v *DashPackage) *UpdateOriginEndpointOutput { - s.DashPackage = v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateOriginEndpointOutput) SetDescription(v string) *UpdateOriginEndpointOutput { - s.Description = &v - return s -} - -// SetHlsPackage sets the HlsPackage field's value. -func (s *UpdateOriginEndpointOutput) SetHlsPackage(v *HlsPackage) *UpdateOriginEndpointOutput { - s.HlsPackage = v - return s -} - -// SetId sets the Id field's value. -func (s *UpdateOriginEndpointOutput) SetId(v string) *UpdateOriginEndpointOutput { - s.Id = &v - return s -} - -// SetManifestName sets the ManifestName field's value. -func (s *UpdateOriginEndpointOutput) SetManifestName(v string) *UpdateOriginEndpointOutput { - s.ManifestName = &v - return s -} - -// SetMssPackage sets the MssPackage field's value. -func (s *UpdateOriginEndpointOutput) SetMssPackage(v *MssPackage) *UpdateOriginEndpointOutput { - s.MssPackage = v - return s -} - -// SetStartoverWindowSeconds sets the StartoverWindowSeconds field's value. -func (s *UpdateOriginEndpointOutput) SetStartoverWindowSeconds(v int64) *UpdateOriginEndpointOutput { - s.StartoverWindowSeconds = &v - return s -} - -// SetTimeDelaySeconds sets the TimeDelaySeconds field's value. -func (s *UpdateOriginEndpointOutput) SetTimeDelaySeconds(v int64) *UpdateOriginEndpointOutput { - s.TimeDelaySeconds = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *UpdateOriginEndpointOutput) SetUrl(v string) *UpdateOriginEndpointOutput { - s.Url = &v - return s -} - -// SetWhitelist sets the Whitelist field's value. -func (s *UpdateOriginEndpointOutput) SetWhitelist(v []string) *UpdateOriginEndpointOutput { - s.Whitelist = v - return s -} - type AdMarkers string // Enum values for AdMarkers diff --git a/service/mediastore/api.go b/service/mediastore/api.go index 05d36dbe9c6..35239c956f6 100644 --- a/service/mediastore/api.go +++ b/service/mediastore/api.go @@ -416,36 +416,6 @@ func (s Container) GoString() string { return s.String() } -// SetARN sets the ARN field's value. -func (s *Container) SetARN(v string) *Container { - s.ARN = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *Container) SetCreationTime(v time.Time) *Container { - s.CreationTime = &v - return s -} - -// SetEndpoint sets the Endpoint field's value. -func (s *Container) SetEndpoint(v string) *Container { - s.Endpoint = &v - return s -} - -// SetName sets the Name field's value. -func (s *Container) SetName(v string) *Container { - s.Name = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Container) SetStatus(v ContainerStatus) *Container { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/CreateContainerInput type CreateContainerInput struct { _ struct{} `type:"structure"` @@ -486,12 +456,6 @@ func (s *CreateContainerInput) Validate() error { return nil } -// SetContainerName sets the ContainerName field's value. -func (s *CreateContainerInput) SetContainerName(v string) *CreateContainerInput { - s.ContainerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/CreateContainerOutput type CreateContainerOutput struct { _ struct{} `type:"structure"` @@ -533,12 +497,6 @@ func (s CreateContainerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetContainer sets the Container field's value. -func (s *CreateContainerOutput) SetContainer(v *Container) *CreateContainerOutput { - s.Container = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteContainerInput type DeleteContainerInput struct { _ struct{} `type:"structure"` @@ -576,12 +534,6 @@ func (s *DeleteContainerInput) Validate() error { return nil } -// SetContainerName sets the ContainerName field's value. -func (s *DeleteContainerInput) SetContainerName(v string) *DeleteContainerInput { - s.ContainerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteContainerOutput type DeleteContainerOutput struct { _ struct{} `type:"structure"` @@ -641,12 +593,6 @@ func (s *DeleteContainerPolicyInput) Validate() error { return nil } -// SetContainerName sets the ContainerName field's value. -func (s *DeleteContainerPolicyInput) SetContainerName(v string) *DeleteContainerPolicyInput { - s.ContainerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteContainerPolicyOutput type DeleteContainerPolicyOutput struct { _ struct{} `type:"structure"` @@ -700,12 +646,6 @@ func (s *DescribeContainerInput) Validate() error { return nil } -// SetContainerName sets the ContainerName field's value. -func (s *DescribeContainerInput) SetContainerName(v string) *DescribeContainerInput { - s.ContainerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DescribeContainerOutput type DescribeContainerOutput struct { _ struct{} `type:"structure"` @@ -731,12 +671,6 @@ func (s DescribeContainerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetContainer sets the Container field's value. -func (s *DescribeContainerOutput) SetContainer(v *Container) *DescribeContainerOutput { - s.Container = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/GetContainerPolicyInput type GetContainerPolicyInput struct { _ struct{} `type:"structure"` @@ -774,12 +708,6 @@ func (s *GetContainerPolicyInput) Validate() error { return nil } -// SetContainerName sets the ContainerName field's value. -func (s *GetContainerPolicyInput) SetContainerName(v string) *GetContainerPolicyInput { - s.ContainerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/GetContainerPolicyOutput type GetContainerPolicyOutput struct { _ struct{} `type:"structure"` @@ -807,12 +735,6 @@ func (s GetContainerPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicy sets the Policy field's value. -func (s *GetContainerPolicyOutput) SetPolicy(v string) *GetContainerPolicyOutput { - s.Policy = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/ListContainersInput type ListContainersInput struct { _ struct{} `type:"structure"` @@ -854,18 +776,6 @@ func (s *ListContainersInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListContainersInput) SetMaxResults(v int64) *ListContainersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListContainersInput) SetNextToken(v string) *ListContainersInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/ListContainersOutput type ListContainersOutput struct { _ struct{} `type:"structure"` @@ -898,18 +808,6 @@ func (s ListContainersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetContainers sets the Containers field's value. -func (s *ListContainersOutput) SetContainers(v []Container) *ListContainersOutput { - s.Containers = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListContainersOutput) SetNextToken(v string) *ListContainersOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/PutContainerPolicyInput type PutContainerPolicyInput struct { _ struct{} `type:"structure"` @@ -963,18 +861,6 @@ func (s *PutContainerPolicyInput) Validate() error { return nil } -// SetContainerName sets the ContainerName field's value. -func (s *PutContainerPolicyInput) SetContainerName(v string) *PutContainerPolicyInput { - s.ContainerName = &v - return s -} - -// SetPolicy sets the Policy field's value. -func (s *PutContainerPolicyInput) SetPolicy(v string) *PutContainerPolicyInput { - s.Policy = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/PutContainerPolicyOutput type PutContainerPolicyOutput struct { _ struct{} `type:"structure"` diff --git a/service/mediastoredata/api.go b/service/mediastoredata/api.go index 33f9e4b6324..b546436f416 100644 --- a/service/mediastoredata/api.go +++ b/service/mediastoredata/api.go @@ -298,12 +298,6 @@ func (s *DeleteObjectInput) Validate() error { return nil } -// SetPath sets the Path field's value. -func (s *DeleteObjectInput) SetPath(v string) *DeleteObjectInput { - s.Path = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/DeleteObjectResponse type DeleteObjectOutput struct { _ struct{} `type:"structure"` @@ -364,12 +358,6 @@ func (s *DescribeObjectInput) Validate() error { return nil } -// SetPath sets the Path field's value. -func (s *DescribeObjectInput) SetPath(v string) *DescribeObjectInput { - s.Path = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/DescribeObjectResponse type DescribeObjectOutput struct { _ struct{} `type:"structure"` @@ -411,36 +399,6 @@ func (s DescribeObjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCacheControl sets the CacheControl field's value. -func (s *DescribeObjectOutput) SetCacheControl(v string) *DescribeObjectOutput { - s.CacheControl = &v - return s -} - -// SetContentLength sets the ContentLength field's value. -func (s *DescribeObjectOutput) SetContentLength(v int64) *DescribeObjectOutput { - s.ContentLength = &v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *DescribeObjectOutput) SetContentType(v string) *DescribeObjectOutput { - s.ContentType = &v - return s -} - -// SetETag sets the ETag field's value. -func (s *DescribeObjectOutput) SetETag(v string) *DescribeObjectOutput { - s.ETag = &v - return s -} - -// SetLastModified sets the LastModified field's value. -func (s *DescribeObjectOutput) SetLastModified(v time.Time) *DescribeObjectOutput { - s.LastModified = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/GetObjectRequest type GetObjectInput struct { _ struct{} `type:"structure"` @@ -505,18 +463,6 @@ func (s *GetObjectInput) Validate() error { return nil } -// SetPath sets the Path field's value. -func (s *GetObjectInput) SetPath(v string) *GetObjectInput { - s.Path = &v - return s -} - -// SetRange sets the Range field's value. -func (s *GetObjectInput) SetRange(v string) *GetObjectInput { - s.Range = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/GetObjectResponse type GetObjectOutput struct { _ struct{} `type:"structure" payload:"Body"` @@ -571,54 +517,6 @@ func (s GetObjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBody sets the Body field's value. -func (s *GetObjectOutput) SetBody(v io.ReadCloser) *GetObjectOutput { - s.Body = v - return s -} - -// SetCacheControl sets the CacheControl field's value. -func (s *GetObjectOutput) SetCacheControl(v string) *GetObjectOutput { - s.CacheControl = &v - return s -} - -// SetContentLength sets the ContentLength field's value. -func (s *GetObjectOutput) SetContentLength(v int64) *GetObjectOutput { - s.ContentLength = &v - return s -} - -// SetContentRange sets the ContentRange field's value. -func (s *GetObjectOutput) SetContentRange(v string) *GetObjectOutput { - s.ContentRange = &v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *GetObjectOutput) SetContentType(v string) *GetObjectOutput { - s.ContentType = &v - return s -} - -// SetETag sets the ETag field's value. -func (s *GetObjectOutput) SetETag(v string) *GetObjectOutput { - s.ETag = &v - return s -} - -// SetLastModified sets the LastModified field's value. -func (s *GetObjectOutput) SetLastModified(v time.Time) *GetObjectOutput { - s.LastModified = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *GetObjectOutput) SetStatusCode(v int64) *GetObjectOutput { - s.StatusCode = &v - return s -} - // A metadata entry for a folder or object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/Item type Item struct { @@ -653,42 +551,6 @@ func (s Item) GoString() string { return s.String() } -// SetContentLength sets the ContentLength field's value. -func (s *Item) SetContentLength(v int64) *Item { - s.ContentLength = &v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *Item) SetContentType(v string) *Item { - s.ContentType = &v - return s -} - -// SetETag sets the ETag field's value. -func (s *Item) SetETag(v string) *Item { - s.ETag = &v - return s -} - -// SetLastModified sets the LastModified field's value. -func (s *Item) SetLastModified(v time.Time) *Item { - s.LastModified = &v - return s -} - -// SetName sets the Name field's value. -func (s *Item) SetName(v string) *Item { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *Item) SetType(v ItemType) *Item { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/ListItemsRequest type ListItemsInput struct { _ struct{} `type:"structure"` @@ -728,24 +590,6 @@ func (s *ListItemsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListItemsInput) SetMaxResults(v int64) *ListItemsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListItemsInput) SetNextToken(v string) *ListItemsInput { - s.NextToken = &v - return s -} - -// SetPath sets the Path field's value. -func (s *ListItemsInput) SetPath(v string) *ListItemsInput { - s.Path = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/ListItemsResponse type ListItemsOutput struct { _ struct{} `type:"structure"` @@ -774,18 +618,6 @@ func (s ListItemsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetItems sets the Items field's value. -func (s *ListItemsOutput) SetItems(v []Item) *ListItemsOutput { - s.Items = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListItemsOutput) SetNextToken(v string) *ListItemsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/PutObjectRequest type PutObjectInput struct { _ struct{} `type:"structure" payload:"Body"` @@ -869,36 +701,6 @@ func (s *PutObjectInput) Validate() error { return nil } -// SetBody sets the Body field's value. -func (s *PutObjectInput) SetBody(v io.ReadSeeker) *PutObjectInput { - s.Body = v - return s -} - -// SetCacheControl sets the CacheControl field's value. -func (s *PutObjectInput) SetCacheControl(v string) *PutObjectInput { - s.CacheControl = &v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *PutObjectInput) SetContentType(v string) *PutObjectInput { - s.ContentType = &v - return s -} - -// SetPath sets the Path field's value. -func (s *PutObjectInput) SetPath(v string) *PutObjectInput { - s.Path = &v - return s -} - -// SetStorageClass sets the StorageClass field's value. -func (s *PutObjectInput) SetStorageClass(v StorageClass) *PutObjectInput { - s.StorageClass = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/PutObjectResponse type PutObjectOutput struct { _ struct{} `type:"structure"` @@ -930,24 +732,6 @@ func (s PutObjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetContentSHA256 sets the ContentSHA256 field's value. -func (s *PutObjectOutput) SetContentSHA256(v string) *PutObjectOutput { - s.ContentSHA256 = &v - return s -} - -// SetETag sets the ETag field's value. -func (s *PutObjectOutput) SetETag(v string) *PutObjectOutput { - s.ETag = &v - return s -} - -// SetStorageClass sets the StorageClass field's value. -func (s *PutObjectOutput) SetStorageClass(v StorageClass) *PutObjectOutput { - s.StorageClass = v - return s -} - type ItemType string // Enum values for ItemType diff --git a/service/migrationhub/api.go b/service/migrationhub/api.go index 2a9b089841c..fa7d6f7296c 100644 --- a/service/migrationhub/api.go +++ b/service/migrationhub/api.go @@ -959,30 +959,6 @@ func (s *AssociateCreatedArtifactInput) Validate() error { return nil } -// SetCreatedArtifact sets the CreatedArtifact field's value. -func (s *AssociateCreatedArtifactInput) SetCreatedArtifact(v *CreatedArtifact) *AssociateCreatedArtifactInput { - s.CreatedArtifact = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *AssociateCreatedArtifactInput) SetDryRun(v bool) *AssociateCreatedArtifactInput { - s.DryRun = &v - return s -} - -// SetMigrationTaskName sets the MigrationTaskName field's value. -func (s *AssociateCreatedArtifactInput) SetMigrationTaskName(v string) *AssociateCreatedArtifactInput { - s.MigrationTaskName = &v - return s -} - -// SetProgressUpdateStream sets the ProgressUpdateStream field's value. -func (s *AssociateCreatedArtifactInput) SetProgressUpdateStream(v string) *AssociateCreatedArtifactInput { - s.ProgressUpdateStream = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateCreatedArtifactResult type AssociateCreatedArtifactOutput struct { _ struct{} `type:"structure"` @@ -1072,30 +1048,6 @@ func (s *AssociateDiscoveredResourceInput) Validate() error { return nil } -// SetDiscoveredResource sets the DiscoveredResource field's value. -func (s *AssociateDiscoveredResourceInput) SetDiscoveredResource(v *DiscoveredResource) *AssociateDiscoveredResourceInput { - s.DiscoveredResource = v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *AssociateDiscoveredResourceInput) SetDryRun(v bool) *AssociateDiscoveredResourceInput { - s.DryRun = &v - return s -} - -// SetMigrationTaskName sets the MigrationTaskName field's value. -func (s *AssociateDiscoveredResourceInput) SetMigrationTaskName(v string) *AssociateDiscoveredResourceInput { - s.MigrationTaskName = &v - return s -} - -// SetProgressUpdateStream sets the ProgressUpdateStream field's value. -func (s *AssociateDiscoveredResourceInput) SetProgressUpdateStream(v string) *AssociateDiscoveredResourceInput { - s.ProgressUpdateStream = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateDiscoveredResourceResult type AssociateDiscoveredResourceOutput struct { _ struct{} `type:"structure"` @@ -1159,18 +1111,6 @@ func (s *CreateProgressUpdateStreamInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *CreateProgressUpdateStreamInput) SetDryRun(v bool) *CreateProgressUpdateStreamInput { - s.DryRun = &v - return s -} - -// SetProgressUpdateStreamName sets the ProgressUpdateStreamName field's value. -func (s *CreateProgressUpdateStreamInput) SetProgressUpdateStreamName(v string) *CreateProgressUpdateStreamInput { - s.ProgressUpdateStreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/CreateProgressUpdateStreamResult type CreateProgressUpdateStreamOutput struct { _ struct{} `type:"structure"` @@ -1236,18 +1176,6 @@ func (s *CreatedArtifact) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreatedArtifact) SetDescription(v string) *CreatedArtifact { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreatedArtifact) SetName(v string) *CreatedArtifact { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DeleteProgressUpdateStreamRequest type DeleteProgressUpdateStreamInput struct { _ struct{} `type:"structure"` @@ -1289,18 +1217,6 @@ func (s *DeleteProgressUpdateStreamInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *DeleteProgressUpdateStreamInput) SetDryRun(v bool) *DeleteProgressUpdateStreamInput { - s.DryRun = &v - return s -} - -// SetProgressUpdateStreamName sets the ProgressUpdateStreamName field's value. -func (s *DeleteProgressUpdateStreamInput) SetProgressUpdateStreamName(v string) *DeleteProgressUpdateStreamInput { - s.ProgressUpdateStreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DeleteProgressUpdateStreamResult type DeleteProgressUpdateStreamOutput struct { _ struct{} `type:"structure"` @@ -1360,12 +1276,6 @@ func (s *DescribeApplicationStateInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *DescribeApplicationStateInput) SetApplicationId(v string) *DescribeApplicationStateInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeApplicationStateResult type DescribeApplicationStateOutput struct { _ struct{} `type:"structure"` @@ -1394,18 +1304,6 @@ func (s DescribeApplicationStateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationStatus sets the ApplicationStatus field's value. -func (s *DescribeApplicationStateOutput) SetApplicationStatus(v ApplicationStatus) *DescribeApplicationStateOutput { - s.ApplicationStatus = v - return s -} - -// SetLastUpdatedTime sets the LastUpdatedTime field's value. -func (s *DescribeApplicationStateOutput) SetLastUpdatedTime(v time.Time) *DescribeApplicationStateOutput { - s.LastUpdatedTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeMigrationTaskRequest type DescribeMigrationTaskInput struct { _ struct{} `type:"structure"` @@ -1455,18 +1353,6 @@ func (s *DescribeMigrationTaskInput) Validate() error { return nil } -// SetMigrationTaskName sets the MigrationTaskName field's value. -func (s *DescribeMigrationTaskInput) SetMigrationTaskName(v string) *DescribeMigrationTaskInput { - s.MigrationTaskName = &v - return s -} - -// SetProgressUpdateStream sets the ProgressUpdateStream field's value. -func (s *DescribeMigrationTaskInput) SetProgressUpdateStream(v string) *DescribeMigrationTaskInput { - s.ProgressUpdateStream = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeMigrationTaskResult type DescribeMigrationTaskOutput struct { _ struct{} `type:"structure"` @@ -1492,12 +1378,6 @@ func (s DescribeMigrationTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMigrationTask sets the MigrationTask field's value. -func (s *DescribeMigrationTaskOutput) SetMigrationTask(v *MigrationTask) *DescribeMigrationTaskOutput { - s.MigrationTask = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateCreatedArtifactRequest type DisassociateCreatedArtifactInput struct { _ struct{} `type:"structure"` @@ -1565,30 +1445,6 @@ func (s *DisassociateCreatedArtifactInput) Validate() error { return nil } -// SetCreatedArtifactName sets the CreatedArtifactName field's value. -func (s *DisassociateCreatedArtifactInput) SetCreatedArtifactName(v string) *DisassociateCreatedArtifactInput { - s.CreatedArtifactName = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DisassociateCreatedArtifactInput) SetDryRun(v bool) *DisassociateCreatedArtifactInput { - s.DryRun = &v - return s -} - -// SetMigrationTaskName sets the MigrationTaskName field's value. -func (s *DisassociateCreatedArtifactInput) SetMigrationTaskName(v string) *DisassociateCreatedArtifactInput { - s.MigrationTaskName = &v - return s -} - -// SetProgressUpdateStream sets the ProgressUpdateStream field's value. -func (s *DisassociateCreatedArtifactInput) SetProgressUpdateStream(v string) *DisassociateCreatedArtifactInput { - s.ProgressUpdateStream = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateCreatedArtifactResult type DisassociateCreatedArtifactOutput struct { _ struct{} `type:"structure"` @@ -1676,30 +1532,6 @@ func (s *DisassociateDiscoveredResourceInput) Validate() error { return nil } -// SetConfigurationId sets the ConfigurationId field's value. -func (s *DisassociateDiscoveredResourceInput) SetConfigurationId(v string) *DisassociateDiscoveredResourceInput { - s.ConfigurationId = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *DisassociateDiscoveredResourceInput) SetDryRun(v bool) *DisassociateDiscoveredResourceInput { - s.DryRun = &v - return s -} - -// SetMigrationTaskName sets the MigrationTaskName field's value. -func (s *DisassociateDiscoveredResourceInput) SetMigrationTaskName(v string) *DisassociateDiscoveredResourceInput { - s.MigrationTaskName = &v - return s -} - -// SetProgressUpdateStream sets the ProgressUpdateStream field's value. -func (s *DisassociateDiscoveredResourceInput) SetProgressUpdateStream(v string) *DisassociateDiscoveredResourceInput { - s.ProgressUpdateStream = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateDiscoveredResourceResult type DisassociateDiscoveredResourceOutput struct { _ struct{} `type:"structure"` @@ -1764,18 +1596,6 @@ func (s *DiscoveredResource) Validate() error { return nil } -// SetConfigurationId sets the ConfigurationId field's value. -func (s *DiscoveredResource) SetConfigurationId(v string) *DiscoveredResource { - s.ConfigurationId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *DiscoveredResource) SetDescription(v string) *DiscoveredResource { - s.Description = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ImportMigrationTaskRequest type ImportMigrationTaskInput struct { _ struct{} `type:"structure"` @@ -1829,24 +1649,6 @@ func (s *ImportMigrationTaskInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *ImportMigrationTaskInput) SetDryRun(v bool) *ImportMigrationTaskInput { - s.DryRun = &v - return s -} - -// SetMigrationTaskName sets the MigrationTaskName field's value. -func (s *ImportMigrationTaskInput) SetMigrationTaskName(v string) *ImportMigrationTaskInput { - s.MigrationTaskName = &v - return s -} - -// SetProgressUpdateStream sets the ProgressUpdateStream field's value. -func (s *ImportMigrationTaskInput) SetProgressUpdateStream(v string) *ImportMigrationTaskInput { - s.ProgressUpdateStream = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ImportMigrationTaskResult type ImportMigrationTaskOutput struct { _ struct{} `type:"structure"` @@ -1929,30 +1731,6 @@ func (s *ListCreatedArtifactsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListCreatedArtifactsInput) SetMaxResults(v int64) *ListCreatedArtifactsInput { - s.MaxResults = &v - return s -} - -// SetMigrationTaskName sets the MigrationTaskName field's value. -func (s *ListCreatedArtifactsInput) SetMigrationTaskName(v string) *ListCreatedArtifactsInput { - s.MigrationTaskName = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListCreatedArtifactsInput) SetNextToken(v string) *ListCreatedArtifactsInput { - s.NextToken = &v - return s -} - -// SetProgressUpdateStream sets the ProgressUpdateStream field's value. -func (s *ListCreatedArtifactsInput) SetProgressUpdateStream(v string) *ListCreatedArtifactsInput { - s.ProgressUpdateStream = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListCreatedArtifactsResult type ListCreatedArtifactsOutput struct { _ struct{} `type:"structure"` @@ -1983,18 +1761,6 @@ func (s ListCreatedArtifactsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreatedArtifactList sets the CreatedArtifactList field's value. -func (s *ListCreatedArtifactsOutput) SetCreatedArtifactList(v []CreatedArtifact) *ListCreatedArtifactsOutput { - s.CreatedArtifactList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListCreatedArtifactsOutput) SetNextToken(v string) *ListCreatedArtifactsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListDiscoveredResourcesRequest type ListDiscoveredResourcesInput struct { _ struct{} `type:"structure"` @@ -2055,30 +1821,6 @@ func (s *ListDiscoveredResourcesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListDiscoveredResourcesInput) SetMaxResults(v int64) *ListDiscoveredResourcesInput { - s.MaxResults = &v - return s -} - -// SetMigrationTaskName sets the MigrationTaskName field's value. -func (s *ListDiscoveredResourcesInput) SetMigrationTaskName(v string) *ListDiscoveredResourcesInput { - s.MigrationTaskName = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDiscoveredResourcesInput) SetNextToken(v string) *ListDiscoveredResourcesInput { - s.NextToken = &v - return s -} - -// SetProgressUpdateStream sets the ProgressUpdateStream field's value. -func (s *ListDiscoveredResourcesInput) SetProgressUpdateStream(v string) *ListDiscoveredResourcesInput { - s.ProgressUpdateStream = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListDiscoveredResourcesResult type ListDiscoveredResourcesOutput struct { _ struct{} `type:"structure"` @@ -2108,18 +1850,6 @@ func (s ListDiscoveredResourcesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDiscoveredResourceList sets the DiscoveredResourceList field's value. -func (s *ListDiscoveredResourcesOutput) SetDiscoveredResourceList(v []DiscoveredResource) *ListDiscoveredResourcesOutput { - s.DiscoveredResourceList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDiscoveredResourcesOutput) SetNextToken(v string) *ListDiscoveredResourcesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListMigrationTasksRequest type ListMigrationTasksInput struct { _ struct{} `type:"structure"` @@ -2162,24 +1892,6 @@ func (s *ListMigrationTasksInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListMigrationTasksInput) SetMaxResults(v int64) *ListMigrationTasksInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListMigrationTasksInput) SetNextToken(v string) *ListMigrationTasksInput { - s.NextToken = &v - return s -} - -// SetResourceName sets the ResourceName field's value. -func (s *ListMigrationTasksInput) SetResourceName(v string) *ListMigrationTasksInput { - s.ResourceName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListMigrationTasksResult type ListMigrationTasksOutput struct { _ struct{} `type:"structure"` @@ -2210,18 +1922,6 @@ func (s ListMigrationTasksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMigrationTaskSummaryList sets the MigrationTaskSummaryList field's value. -func (s *ListMigrationTasksOutput) SetMigrationTaskSummaryList(v []MigrationTaskSummary) *ListMigrationTasksOutput { - s.MigrationTaskSummaryList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListMigrationTasksOutput) SetNextToken(v string) *ListMigrationTasksOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListProgressUpdateStreamsRequest type ListProgressUpdateStreamsInput struct { _ struct{} `type:"structure"` @@ -2258,18 +1958,6 @@ func (s *ListProgressUpdateStreamsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListProgressUpdateStreamsInput) SetMaxResults(v int64) *ListProgressUpdateStreamsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListProgressUpdateStreamsInput) SetNextToken(v string) *ListProgressUpdateStreamsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListProgressUpdateStreamsResult type ListProgressUpdateStreamsOutput struct { _ struct{} `type:"structure"` @@ -2300,18 +1988,6 @@ func (s ListProgressUpdateStreamsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListProgressUpdateStreamsOutput) SetNextToken(v string) *ListProgressUpdateStreamsOutput { - s.NextToken = &v - return s -} - -// SetProgressUpdateStreamSummaryList sets the ProgressUpdateStreamSummaryList field's value. -func (s *ListProgressUpdateStreamsOutput) SetProgressUpdateStreamSummaryList(v []ProgressUpdateStreamSummary) *ListProgressUpdateStreamsOutput { - s.ProgressUpdateStreamSummaryList = v - return s -} - // Represents a migration task in a migration tool. // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/MigrationTask type MigrationTask struct { @@ -2342,36 +2018,6 @@ func (s MigrationTask) GoString() string { return s.String() } -// SetMigrationTaskName sets the MigrationTaskName field's value. -func (s *MigrationTask) SetMigrationTaskName(v string) *MigrationTask { - s.MigrationTaskName = &v - return s -} - -// SetProgressUpdateStream sets the ProgressUpdateStream field's value. -func (s *MigrationTask) SetProgressUpdateStream(v string) *MigrationTask { - s.ProgressUpdateStream = &v - return s -} - -// SetResourceAttributeList sets the ResourceAttributeList field's value. -func (s *MigrationTask) SetResourceAttributeList(v []ResourceAttribute) *MigrationTask { - s.ResourceAttributeList = v - return s -} - -// SetTask sets the Task field's value. -func (s *MigrationTask) SetTask(v *Task) *MigrationTask { - s.Task = v - return s -} - -// SetUpdateDateTime sets the UpdateDateTime field's value. -func (s *MigrationTask) SetUpdateDateTime(v time.Time) *MigrationTask { - s.UpdateDateTime = &v - return s -} - // MigrationTaskSummary includes MigrationTaskName, ProgressPercent, ProgressUpdateStream, // Status, and UpdateDateTime for each task. // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/MigrationTaskSummary @@ -2407,42 +2053,6 @@ func (s MigrationTaskSummary) GoString() string { return s.String() } -// SetMigrationTaskName sets the MigrationTaskName field's value. -func (s *MigrationTaskSummary) SetMigrationTaskName(v string) *MigrationTaskSummary { - s.MigrationTaskName = &v - return s -} - -// SetProgressPercent sets the ProgressPercent field's value. -func (s *MigrationTaskSummary) SetProgressPercent(v int64) *MigrationTaskSummary { - s.ProgressPercent = &v - return s -} - -// SetProgressUpdateStream sets the ProgressUpdateStream field's value. -func (s *MigrationTaskSummary) SetProgressUpdateStream(v string) *MigrationTaskSummary { - s.ProgressUpdateStream = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *MigrationTaskSummary) SetStatus(v Status) *MigrationTaskSummary { - s.Status = v - return s -} - -// SetStatusDetail sets the StatusDetail field's value. -func (s *MigrationTaskSummary) SetStatusDetail(v string) *MigrationTaskSummary { - s.StatusDetail = &v - return s -} - -// SetUpdateDateTime sets the UpdateDateTime field's value. -func (s *MigrationTaskSummary) SetUpdateDateTime(v time.Time) *MigrationTaskSummary { - s.UpdateDateTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyApplicationStateRequest type NotifyApplicationStateInput struct { _ struct{} `type:"structure"` @@ -2492,24 +2102,6 @@ func (s *NotifyApplicationStateInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *NotifyApplicationStateInput) SetApplicationId(v string) *NotifyApplicationStateInput { - s.ApplicationId = &v - return s -} - -// SetDryRun sets the DryRun field's value. -func (s *NotifyApplicationStateInput) SetDryRun(v bool) *NotifyApplicationStateInput { - s.DryRun = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *NotifyApplicationStateInput) SetStatus(v ApplicationStatus) *NotifyApplicationStateInput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyApplicationStateResult type NotifyApplicationStateOutput struct { _ struct{} `type:"structure"` @@ -2619,42 +2211,6 @@ func (s *NotifyMigrationTaskStateInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *NotifyMigrationTaskStateInput) SetDryRun(v bool) *NotifyMigrationTaskStateInput { - s.DryRun = &v - return s -} - -// SetMigrationTaskName sets the MigrationTaskName field's value. -func (s *NotifyMigrationTaskStateInput) SetMigrationTaskName(v string) *NotifyMigrationTaskStateInput { - s.MigrationTaskName = &v - return s -} - -// SetNextUpdateSeconds sets the NextUpdateSeconds field's value. -func (s *NotifyMigrationTaskStateInput) SetNextUpdateSeconds(v int64) *NotifyMigrationTaskStateInput { - s.NextUpdateSeconds = &v - return s -} - -// SetProgressUpdateStream sets the ProgressUpdateStream field's value. -func (s *NotifyMigrationTaskStateInput) SetProgressUpdateStream(v string) *NotifyMigrationTaskStateInput { - s.ProgressUpdateStream = &v - return s -} - -// SetTask sets the Task field's value. -func (s *NotifyMigrationTaskStateInput) SetTask(v *Task) *NotifyMigrationTaskStateInput { - s.Task = v - return s -} - -// SetUpdateDateTime sets the UpdateDateTime field's value. -func (s *NotifyMigrationTaskStateInput) SetUpdateDateTime(v time.Time) *NotifyMigrationTaskStateInput { - s.UpdateDateTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyMigrationTaskStateResult type NotifyMigrationTaskStateOutput struct { _ struct{} `type:"structure"` @@ -2697,12 +2253,6 @@ func (s ProgressUpdateStreamSummary) GoString() string { return s.String() } -// SetProgressUpdateStreamName sets the ProgressUpdateStreamName field's value. -func (s *ProgressUpdateStreamSummary) SetProgressUpdateStreamName(v string) *ProgressUpdateStreamSummary { - s.ProgressUpdateStreamName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/PutResourceAttributesRequest type PutResourceAttributesInput struct { _ struct{} `type:"structure"` @@ -2777,30 +2327,6 @@ func (s *PutResourceAttributesInput) Validate() error { return nil } -// SetDryRun sets the DryRun field's value. -func (s *PutResourceAttributesInput) SetDryRun(v bool) *PutResourceAttributesInput { - s.DryRun = &v - return s -} - -// SetMigrationTaskName sets the MigrationTaskName field's value. -func (s *PutResourceAttributesInput) SetMigrationTaskName(v string) *PutResourceAttributesInput { - s.MigrationTaskName = &v - return s -} - -// SetProgressUpdateStream sets the ProgressUpdateStream field's value. -func (s *PutResourceAttributesInput) SetProgressUpdateStream(v string) *PutResourceAttributesInput { - s.ProgressUpdateStream = &v - return s -} - -// SetResourceAttributeList sets the ResourceAttributeList field's value. -func (s *PutResourceAttributesInput) SetResourceAttributeList(v []ResourceAttribute) *PutResourceAttributesInput { - s.ResourceAttributeList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/PutResourceAttributesResult type PutResourceAttributesOutput struct { _ struct{} `type:"structure"` @@ -2869,18 +2395,6 @@ func (s *ResourceAttribute) Validate() error { return nil } -// SetType sets the Type field's value. -func (s *ResourceAttribute) SetType(v ResourceAttributeType) *ResourceAttribute { - s.Type = v - return s -} - -// SetValue sets the Value field's value. -func (s *ResourceAttribute) SetValue(v string) *ResourceAttribute { - s.Value = &v - return s -} - // Task object encapsulating task information. // Please also see https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/Task type Task struct { @@ -2923,24 +2437,6 @@ func (s *Task) Validate() error { return nil } -// SetProgressPercent sets the ProgressPercent field's value. -func (s *Task) SetProgressPercent(v int64) *Task { - s.ProgressPercent = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Task) SetStatus(v Status) *Task { - s.Status = v - return s -} - -// SetStatusDetail sets the StatusDetail field's value. -func (s *Task) SetStatusDetail(v string) *Task { - s.StatusDetail = &v - return s -} - type ApplicationStatus string // Enum values for ApplicationStatus diff --git a/service/mobile/api.go b/service/mobile/api.go index 009654e9975..c01e6341a8f 100644 --- a/service/mobile/api.go +++ b/service/mobile/api.go @@ -599,42 +599,6 @@ func (s BundleDetails) GoString() string { return s.String() } -// SetAvailablePlatforms sets the AvailablePlatforms field's value. -func (s *BundleDetails) SetAvailablePlatforms(v []Platform) *BundleDetails { - s.AvailablePlatforms = v - return s -} - -// SetBundleId sets the BundleId field's value. -func (s *BundleDetails) SetBundleId(v string) *BundleDetails { - s.BundleId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *BundleDetails) SetDescription(v string) *BundleDetails { - s.Description = &v - return s -} - -// SetIconUrl sets the IconUrl field's value. -func (s *BundleDetails) SetIconUrl(v string) *BundleDetails { - s.IconUrl = &v - return s -} - -// SetTitle sets the Title field's value. -func (s *BundleDetails) SetTitle(v string) *BundleDetails { - s.Title = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *BundleDetails) SetVersion(v string) *BundleDetails { - s.Version = &v - return s -} - // Request structure used to request a project be created. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/CreateProjectRequest type CreateProjectInput struct { @@ -666,30 +630,6 @@ func (s CreateProjectInput) GoString() string { return s.String() } -// SetContents sets the Contents field's value. -func (s *CreateProjectInput) SetContents(v []byte) *CreateProjectInput { - s.Contents = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateProjectInput) SetName(v string) *CreateProjectInput { - s.Name = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *CreateProjectInput) SetRegion(v string) *CreateProjectInput { - s.Region = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *CreateProjectInput) SetSnapshotId(v string) *CreateProjectInput { - s.SnapshotId = &v - return s -} - // Result structure used in response to a request to create a project. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/CreateProjectResult type CreateProjectOutput struct { @@ -716,12 +656,6 @@ func (s CreateProjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDetails sets the Details field's value. -func (s *CreateProjectOutput) SetDetails(v *ProjectDetails) *CreateProjectOutput { - s.Details = v - return s -} - // Request structure used to request a project be deleted. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/DeleteProjectRequest type DeleteProjectInput struct { @@ -757,12 +691,6 @@ func (s *DeleteProjectInput) Validate() error { return nil } -// SetProjectId sets the ProjectId field's value. -func (s *DeleteProjectInput) SetProjectId(v string) *DeleteProjectInput { - s.ProjectId = &v - return s -} - // Result structure used in response to request to delete a project. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/DeleteProjectResult type DeleteProjectOutput struct { @@ -793,18 +721,6 @@ func (s DeleteProjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeletedResources sets the DeletedResources field's value. -func (s *DeleteProjectOutput) SetDeletedResources(v []Resource) *DeleteProjectOutput { - s.DeletedResources = v - return s -} - -// SetOrphanedResources sets the OrphanedResources field's value. -func (s *DeleteProjectOutput) SetOrphanedResources(v []Resource) *DeleteProjectOutput { - s.OrphanedResources = v - return s -} - // Request structure to request the details of a specific bundle. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/DescribeBundleRequest type DescribeBundleInput struct { @@ -840,12 +756,6 @@ func (s *DescribeBundleInput) Validate() error { return nil } -// SetBundleId sets the BundleId field's value. -func (s *DescribeBundleInput) SetBundleId(v string) *DescribeBundleInput { - s.BundleId = &v - return s -} - // Result structure contains the details of the bundle. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/DescribeBundleResult type DescribeBundleOutput struct { @@ -872,12 +782,6 @@ func (s DescribeBundleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDetails sets the Details field's value. -func (s *DescribeBundleOutput) SetDetails(v *BundleDetails) *DescribeBundleOutput { - s.Details = v - return s -} - // Request structure used to request details about a project. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/DescribeProjectRequest type DescribeProjectInput struct { @@ -918,18 +822,6 @@ func (s *DescribeProjectInput) Validate() error { return nil } -// SetProjectId sets the ProjectId field's value. -func (s *DescribeProjectInput) SetProjectId(v string) *DescribeProjectInput { - s.ProjectId = &v - return s -} - -// SetSyncFromResources sets the SyncFromResources field's value. -func (s *DescribeProjectInput) SetSyncFromResources(v bool) *DescribeProjectInput { - s.SyncFromResources = &v - return s -} - // Result structure used for requests of project details. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/DescribeProjectResult type DescribeProjectOutput struct { @@ -956,12 +848,6 @@ func (s DescribeProjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDetails sets the Details field's value. -func (s *DescribeProjectOutput) SetDetails(v *ProjectDetails) *DescribeProjectOutput { - s.Details = v - return s -} - // Request structure used to request generation of custom SDK and tool packages // required to integrate mobile web or app clients with backed AWS resources. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ExportBundleRequest @@ -1004,24 +890,6 @@ func (s *ExportBundleInput) Validate() error { return nil } -// SetBundleId sets the BundleId field's value. -func (s *ExportBundleInput) SetBundleId(v string) *ExportBundleInput { - s.BundleId = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *ExportBundleInput) SetPlatform(v Platform) *ExportBundleInput { - s.Platform = v - return s -} - -// SetProjectId sets the ProjectId field's value. -func (s *ExportBundleInput) SetProjectId(v string) *ExportBundleInput { - s.ProjectId = &v - return s -} - // Result structure which contains link to download custom-generated SDK and // tool packages used to integrate mobile web or app clients with backed AWS // resources. @@ -1052,12 +920,6 @@ func (s ExportBundleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDownloadUrl sets the DownloadUrl field's value. -func (s *ExportBundleOutput) SetDownloadUrl(v string) *ExportBundleOutput { - s.DownloadUrl = &v - return s -} - // Request structure used in requests to export project configuration details. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ExportProjectRequest type ExportProjectInput struct { @@ -1093,12 +955,6 @@ func (s *ExportProjectInput) Validate() error { return nil } -// SetProjectId sets the ProjectId field's value. -func (s *ExportProjectInput) SetProjectId(v string) *ExportProjectInput { - s.ProjectId = &v - return s -} - // Result structure used for requests to export project configuration details. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ExportProjectResult type ExportProjectOutput struct { @@ -1137,24 +993,6 @@ func (s ExportProjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDownloadUrl sets the DownloadUrl field's value. -func (s *ExportProjectOutput) SetDownloadUrl(v string) *ExportProjectOutput { - s.DownloadUrl = &v - return s -} - -// SetShareUrl sets the ShareUrl field's value. -func (s *ExportProjectOutput) SetShareUrl(v string) *ExportProjectOutput { - s.ShareUrl = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *ExportProjectOutput) SetSnapshotId(v string) *ExportProjectOutput { - s.SnapshotId = &v - return s -} - // Request structure to request all available bundles. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ListBundlesRequest type ListBundlesInput struct { @@ -1179,18 +1017,6 @@ func (s ListBundlesInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *ListBundlesInput) SetMaxResults(v int64) *ListBundlesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListBundlesInput) SetNextToken(v string) *ListBundlesInput { - s.NextToken = &v - return s -} - // Result structure contains a list of all available bundles with details. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ListBundlesResult type ListBundlesOutput struct { @@ -1221,18 +1047,6 @@ func (s ListBundlesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBundleList sets the BundleList field's value. -func (s *ListBundlesOutput) SetBundleList(v []BundleDetails) *ListBundlesOutput { - s.BundleList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListBundlesOutput) SetNextToken(v string) *ListBundlesOutput { - s.NextToken = &v - return s -} - // Request structure used to request projects list in AWS Mobile Hub. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ListProjectsRequest type ListProjectsInput struct { @@ -1257,18 +1071,6 @@ func (s ListProjectsInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *ListProjectsInput) SetMaxResults(v int64) *ListProjectsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListProjectsInput) SetNextToken(v string) *ListProjectsInput { - s.NextToken = &v - return s -} - // Result structure used for requests to list projects in AWS Mobile Hub. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ListProjectsResult type ListProjectsOutput struct { @@ -1300,18 +1102,6 @@ func (s ListProjectsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListProjectsOutput) SetNextToken(v string) *ListProjectsOutput { - s.NextToken = &v - return s -} - -// SetProjects sets the Projects field's value. -func (s *ListProjectsOutput) SetProjects(v []ProjectSummary) *ListProjectsOutput { - s.Projects = v - return s -} - // Detailed information about an AWS Mobile Hub project. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ProjectDetails type ProjectDetails struct { @@ -1352,54 +1142,6 @@ func (s ProjectDetails) GoString() string { return s.String() } -// SetConsoleUrl sets the ConsoleUrl field's value. -func (s *ProjectDetails) SetConsoleUrl(v string) *ProjectDetails { - s.ConsoleUrl = &v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *ProjectDetails) SetCreatedDate(v time.Time) *ProjectDetails { - s.CreatedDate = &v - return s -} - -// SetLastUpdatedDate sets the LastUpdatedDate field's value. -func (s *ProjectDetails) SetLastUpdatedDate(v time.Time) *ProjectDetails { - s.LastUpdatedDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *ProjectDetails) SetName(v string) *ProjectDetails { - s.Name = &v - return s -} - -// SetProjectId sets the ProjectId field's value. -func (s *ProjectDetails) SetProjectId(v string) *ProjectDetails { - s.ProjectId = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *ProjectDetails) SetRegion(v string) *ProjectDetails { - s.Region = &v - return s -} - -// SetResources sets the Resources field's value. -func (s *ProjectDetails) SetResources(v []Resource) *ProjectDetails { - s.Resources = v - return s -} - -// SetState sets the State field's value. -func (s *ProjectDetails) SetState(v ProjectState) *ProjectDetails { - s.State = v - return s -} - // Summary information about an AWS Mobile Hub project. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ProjectSummary type ProjectSummary struct { @@ -1422,18 +1164,6 @@ func (s ProjectSummary) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *ProjectSummary) SetName(v string) *ProjectSummary { - s.Name = &v - return s -} - -// SetProjectId sets the ProjectId field's value. -func (s *ProjectSummary) SetProjectId(v string) *ProjectSummary { - s.ProjectId = &v - return s -} - // Information about an instance of an AWS resource associated with a project. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/Resource type Resource struct { @@ -1466,36 +1196,6 @@ func (s Resource) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Resource) SetArn(v string) *Resource { - s.Arn = &v - return s -} - -// SetAttributes sets the Attributes field's value. -func (s *Resource) SetAttributes(v map[string]string) *Resource { - s.Attributes = v - return s -} - -// SetFeature sets the Feature field's value. -func (s *Resource) SetFeature(v string) *Resource { - s.Feature = &v - return s -} - -// SetName sets the Name field's value. -func (s *Resource) SetName(v string) *Resource { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *Resource) SetType(v string) *Resource { - s.Type = &v - return s -} - // Request structure used for requests to update project configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/UpdateProjectRequest type UpdateProjectInput struct { @@ -1536,18 +1236,6 @@ func (s *UpdateProjectInput) Validate() error { return nil } -// SetContents sets the Contents field's value. -func (s *UpdateProjectInput) SetContents(v []byte) *UpdateProjectInput { - s.Contents = v - return s -} - -// SetProjectId sets the ProjectId field's value. -func (s *UpdateProjectInput) SetProjectId(v string) *UpdateProjectInput { - s.ProjectId = &v - return s -} - // Result structure used for requests to updated project configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/UpdateProjectResult type UpdateProjectOutput struct { @@ -1574,12 +1262,6 @@ func (s UpdateProjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDetails sets the Details field's value. -func (s *UpdateProjectOutput) SetDetails(v *ProjectDetails) *UpdateProjectOutput { - s.Details = v - return s -} - // Developer desktop or target mobile app or website platform. type Platform string diff --git a/service/mobileanalytics/api.go b/service/mobileanalytics/api.go index b83e2345980..e615810dcfb 100644 --- a/service/mobileanalytics/api.go +++ b/service/mobileanalytics/api.go @@ -136,42 +136,6 @@ func (s *Event) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *Event) SetAttributes(v map[string]string) *Event { - s.Attributes = v - return s -} - -// SetEventType sets the EventType field's value. -func (s *Event) SetEventType(v string) *Event { - s.EventType = &v - return s -} - -// SetMetrics sets the Metrics field's value. -func (s *Event) SetMetrics(v map[string]float64) *Event { - s.Metrics = v - return s -} - -// SetSession sets the Session field's value. -func (s *Event) SetSession(v *Session) *Event { - s.Session = v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *Event) SetTimestamp(v string) *Event { - s.Timestamp = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *Event) SetVersion(v string) *Event { - s.Version = &v - return s -} - // A container for the data needed for a PutEvent operation type PutEventsInput struct { _ struct{} `type:"structure"` @@ -226,24 +190,6 @@ func (s *PutEventsInput) Validate() error { return nil } -// SetClientContext sets the ClientContext field's value. -func (s *PutEventsInput) SetClientContext(v string) *PutEventsInput { - s.ClientContext = &v - return s -} - -// SetClientContextEncoding sets the ClientContextEncoding field's value. -func (s *PutEventsInput) SetClientContextEncoding(v string) *PutEventsInput { - s.ClientContextEncoding = &v - return s -} - -// SetEvents sets the Events field's value. -func (s *PutEventsInput) SetEvents(v []Event) *PutEventsInput { - s.Events = v - return s -} - type PutEventsOutput struct { _ struct{} `type:"structure"` @@ -306,27 +252,3 @@ func (s *Session) Validate() error { } return nil } - -// SetDuration sets the Duration field's value. -func (s *Session) SetDuration(v int64) *Session { - s.Duration = &v - return s -} - -// SetId sets the Id field's value. -func (s *Session) SetId(v string) *Session { - s.Id = &v - return s -} - -// SetStartTimestamp sets the StartTimestamp field's value. -func (s *Session) SetStartTimestamp(v string) *Session { - s.StartTimestamp = &v - return s -} - -// SetStopTimestamp sets the StopTimestamp field's value. -func (s *Session) SetStopTimestamp(v string) *Session { - s.StopTimestamp = &v - return s -} diff --git a/service/mq/api.go b/service/mq/api.go index 06994bb0090..6da6afc546d 100644 --- a/service/mq/api.go +++ b/service/mq/api.go @@ -864,18 +864,6 @@ func (s BrokerInstance) GoString() string { return s.String() } -// SetConsoleURL sets the ConsoleURL field's value. -func (s *BrokerInstance) SetConsoleURL(v string) *BrokerInstance { - s.ConsoleURL = &v - return s -} - -// SetEndpoints sets the Endpoints field's value. -func (s *BrokerInstance) SetEndpoints(v []string) *BrokerInstance { - s.Endpoints = v - return s -} - // The Amazon Resource Name (ARN) of the broker. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/BrokerSummary type BrokerSummary struct { @@ -917,42 +905,6 @@ func (s BrokerSummary) GoString() string { return s.String() } -// SetBrokerArn sets the BrokerArn field's value. -func (s *BrokerSummary) SetBrokerArn(v string) *BrokerSummary { - s.BrokerArn = &v - return s -} - -// SetBrokerId sets the BrokerId field's value. -func (s *BrokerSummary) SetBrokerId(v string) *BrokerSummary { - s.BrokerId = &v - return s -} - -// SetBrokerName sets the BrokerName field's value. -func (s *BrokerSummary) SetBrokerName(v string) *BrokerSummary { - s.BrokerName = &v - return s -} - -// SetBrokerState sets the BrokerState field's value. -func (s *BrokerSummary) SetBrokerState(v BrokerState) *BrokerSummary { - s.BrokerState = v - return s -} - -// SetDeploymentMode sets the DeploymentMode field's value. -func (s *BrokerSummary) SetDeploymentMode(v DeploymentMode) *BrokerSummary { - s.DeploymentMode = v - return s -} - -// SetHostInstanceType sets the HostInstanceType field's value. -func (s *BrokerSummary) SetHostInstanceType(v string) *BrokerSummary { - s.HostInstanceType = &v - return s -} - // Returns information about all configurations. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/Configuration type Configuration struct { @@ -993,48 +945,6 @@ func (s Configuration) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Configuration) SetArn(v string) *Configuration { - s.Arn = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Configuration) SetDescription(v string) *Configuration { - s.Description = &v - return s -} - -// SetEngineType sets the EngineType field's value. -func (s *Configuration) SetEngineType(v EngineType) *Configuration { - s.EngineType = v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *Configuration) SetEngineVersion(v string) *Configuration { - s.EngineVersion = &v - return s -} - -// SetId sets the Id field's value. -func (s *Configuration) SetId(v string) *Configuration { - s.Id = &v - return s -} - -// SetLatestRevision sets the LatestRevision field's value. -func (s *Configuration) SetLatestRevision(v *ConfigurationRevision) *Configuration { - s.LatestRevision = v - return s -} - -// SetName sets the Name field's value. -func (s *Configuration) SetName(v string) *Configuration { - s.Name = &v - return s -} - // A list of information about the configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ConfigurationId type ConfigurationId struct { @@ -1057,18 +967,6 @@ func (s ConfigurationId) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *ConfigurationId) SetId(v string) *ConfigurationId { - s.Id = &v - return s -} - -// SetRevision sets the Revision field's value. -func (s *ConfigurationId) SetRevision(v int64) *ConfigurationId { - s.Revision = &v - return s -} - // Returns information about the specified configuration revision. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ConfigurationRevision type ConfigurationRevision struct { @@ -1091,18 +989,6 @@ func (s ConfigurationRevision) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *ConfigurationRevision) SetDescription(v string) *ConfigurationRevision { - s.Description = &v - return s -} - -// SetRevision sets the Revision field's value. -func (s *ConfigurationRevision) SetRevision(v int64) *ConfigurationRevision { - s.Revision = &v - return s -} - // Broker configuration information // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/Configurations type Configurations struct { @@ -1128,24 +1014,6 @@ func (s Configurations) GoString() string { return s.String() } -// SetCurrent sets the Current field's value. -func (s *Configurations) SetCurrent(v *ConfigurationId) *Configurations { - s.Current = v - return s -} - -// SetHistory sets the History field's value. -func (s *Configurations) SetHistory(v []ConfigurationId) *Configurations { - s.History = v - return s -} - -// SetPending sets the Pending field's value. -func (s *Configurations) SetPending(v *ConfigurationId) *Configurations { - s.Pending = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateBrokerRequest type CreateBrokerInput struct { _ struct{} `type:"structure"` @@ -1194,84 +1062,6 @@ func (s CreateBrokerInput) GoString() string { return s.String() } -// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. -func (s *CreateBrokerInput) SetAutoMinorVersionUpgrade(v bool) *CreateBrokerInput { - s.AutoMinorVersionUpgrade = &v - return s -} - -// SetBrokerName sets the BrokerName field's value. -func (s *CreateBrokerInput) SetBrokerName(v string) *CreateBrokerInput { - s.BrokerName = &v - return s -} - -// SetConfiguration sets the Configuration field's value. -func (s *CreateBrokerInput) SetConfiguration(v *ConfigurationId) *CreateBrokerInput { - s.Configuration = v - return s -} - -// SetCreatorRequestId sets the CreatorRequestId field's value. -func (s *CreateBrokerInput) SetCreatorRequestId(v string) *CreateBrokerInput { - s.CreatorRequestId = &v - return s -} - -// SetDeploymentMode sets the DeploymentMode field's value. -func (s *CreateBrokerInput) SetDeploymentMode(v DeploymentMode) *CreateBrokerInput { - s.DeploymentMode = v - return s -} - -// SetEngineType sets the EngineType field's value. -func (s *CreateBrokerInput) SetEngineType(v EngineType) *CreateBrokerInput { - s.EngineType = v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *CreateBrokerInput) SetEngineVersion(v string) *CreateBrokerInput { - s.EngineVersion = &v - return s -} - -// SetHostInstanceType sets the HostInstanceType field's value. -func (s *CreateBrokerInput) SetHostInstanceType(v string) *CreateBrokerInput { - s.HostInstanceType = &v - return s -} - -// SetMaintenanceWindowStartTime sets the MaintenanceWindowStartTime field's value. -func (s *CreateBrokerInput) SetMaintenanceWindowStartTime(v *WeeklyStartTime) *CreateBrokerInput { - s.MaintenanceWindowStartTime = v - return s -} - -// SetPubliclyAccessible sets the PubliclyAccessible field's value. -func (s *CreateBrokerInput) SetPubliclyAccessible(v bool) *CreateBrokerInput { - s.PubliclyAccessible = &v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *CreateBrokerInput) SetSecurityGroups(v []string) *CreateBrokerInput { - s.SecurityGroups = v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *CreateBrokerInput) SetSubnetIds(v []string) *CreateBrokerInput { - s.SubnetIds = v - return s -} - -// SetUsers sets the Users field's value. -func (s *CreateBrokerInput) SetUsers(v []User) *CreateBrokerInput { - s.Users = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateBrokerResponse type CreateBrokerOutput struct { _ struct{} `type:"structure"` @@ -1298,18 +1088,6 @@ func (s CreateBrokerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBrokerArn sets the BrokerArn field's value. -func (s *CreateBrokerOutput) SetBrokerArn(v string) *CreateBrokerOutput { - s.BrokerArn = &v - return s -} - -// SetBrokerId sets the BrokerId field's value. -func (s *CreateBrokerOutput) SetBrokerId(v string) *CreateBrokerOutput { - s.BrokerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateConfigurationRequest type CreateConfigurationInput struct { _ struct{} `type:"structure"` @@ -1332,24 +1110,6 @@ func (s CreateConfigurationInput) GoString() string { return s.String() } -// SetEngineType sets the EngineType field's value. -func (s *CreateConfigurationInput) SetEngineType(v EngineType) *CreateConfigurationInput { - s.EngineType = v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *CreateConfigurationInput) SetEngineVersion(v string) *CreateConfigurationInput { - s.EngineVersion = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateConfigurationInput) SetName(v string) *CreateConfigurationInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateConfigurationResponse type CreateConfigurationOutput struct { _ struct{} `type:"structure"` @@ -1381,30 +1141,6 @@ func (s CreateConfigurationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *CreateConfigurationOutput) SetArn(v string) *CreateConfigurationOutput { - s.Arn = &v - return s -} - -// SetId sets the Id field's value. -func (s *CreateConfigurationOutput) SetId(v string) *CreateConfigurationOutput { - s.Id = &v - return s -} - -// SetLatestRevision sets the LatestRevision field's value. -func (s *CreateConfigurationOutput) SetLatestRevision(v *ConfigurationRevision) *CreateConfigurationOutput { - s.LatestRevision = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateConfigurationOutput) SetName(v string) *CreateConfigurationOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateUserRequest type CreateUserInput struct { _ struct{} `type:"structure"` @@ -1450,36 +1186,6 @@ func (s *CreateUserInput) Validate() error { return nil } -// SetBrokerId sets the BrokerId field's value. -func (s *CreateUserInput) SetBrokerId(v string) *CreateUserInput { - s.BrokerId = &v - return s -} - -// SetConsoleAccess sets the ConsoleAccess field's value. -func (s *CreateUserInput) SetConsoleAccess(v bool) *CreateUserInput { - s.ConsoleAccess = &v - return s -} - -// SetGroups sets the Groups field's value. -func (s *CreateUserInput) SetGroups(v []string) *CreateUserInput { - s.Groups = v - return s -} - -// SetPassword sets the Password field's value. -func (s *CreateUserInput) SetPassword(v string) *CreateUserInput { - s.Password = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *CreateUserInput) SetUsername(v string) *CreateUserInput { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateUserResponse type CreateUserOutput struct { _ struct{} `type:"structure"` @@ -1534,12 +1240,6 @@ func (s *DeleteBrokerInput) Validate() error { return nil } -// SetBrokerId sets the BrokerId field's value. -func (s *DeleteBrokerInput) SetBrokerId(v string) *DeleteBrokerInput { - s.BrokerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteBrokerResponse type DeleteBrokerOutput struct { _ struct{} `type:"structure"` @@ -1564,12 +1264,6 @@ func (s DeleteBrokerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBrokerId sets the BrokerId field's value. -func (s *DeleteBrokerOutput) SetBrokerId(v string) *DeleteBrokerOutput { - s.BrokerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteUserRequest type DeleteUserInput struct { _ struct{} `type:"structure"` @@ -1609,18 +1303,6 @@ func (s *DeleteUserInput) Validate() error { return nil } -// SetBrokerId sets the BrokerId field's value. -func (s *DeleteUserInput) SetBrokerId(v string) *DeleteUserInput { - s.BrokerId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *DeleteUserInput) SetUsername(v string) *DeleteUserInput { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteUserResponse type DeleteUserOutput struct { _ struct{} `type:"structure"` @@ -1675,12 +1357,6 @@ func (s *DescribeBrokerInput) Validate() error { return nil } -// SetBrokerId sets the BrokerId field's value. -func (s *DescribeBrokerInput) SetBrokerId(v string) *DescribeBrokerInput { - s.BrokerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBrokerResponse type DescribeBrokerOutput struct { _ struct{} `type:"structure"` @@ -1744,102 +1420,6 @@ func (s DescribeBrokerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. -func (s *DescribeBrokerOutput) SetAutoMinorVersionUpgrade(v bool) *DescribeBrokerOutput { - s.AutoMinorVersionUpgrade = &v - return s -} - -// SetBrokerArn sets the BrokerArn field's value. -func (s *DescribeBrokerOutput) SetBrokerArn(v string) *DescribeBrokerOutput { - s.BrokerArn = &v - return s -} - -// SetBrokerId sets the BrokerId field's value. -func (s *DescribeBrokerOutput) SetBrokerId(v string) *DescribeBrokerOutput { - s.BrokerId = &v - return s -} - -// SetBrokerInstances sets the BrokerInstances field's value. -func (s *DescribeBrokerOutput) SetBrokerInstances(v []BrokerInstance) *DescribeBrokerOutput { - s.BrokerInstances = v - return s -} - -// SetBrokerName sets the BrokerName field's value. -func (s *DescribeBrokerOutput) SetBrokerName(v string) *DescribeBrokerOutput { - s.BrokerName = &v - return s -} - -// SetBrokerState sets the BrokerState field's value. -func (s *DescribeBrokerOutput) SetBrokerState(v BrokerState) *DescribeBrokerOutput { - s.BrokerState = v - return s -} - -// SetConfigurations sets the Configurations field's value. -func (s *DescribeBrokerOutput) SetConfigurations(v *Configurations) *DescribeBrokerOutput { - s.Configurations = v - return s -} - -// SetDeploymentMode sets the DeploymentMode field's value. -func (s *DescribeBrokerOutput) SetDeploymentMode(v DeploymentMode) *DescribeBrokerOutput { - s.DeploymentMode = v - return s -} - -// SetEngineType sets the EngineType field's value. -func (s *DescribeBrokerOutput) SetEngineType(v EngineType) *DescribeBrokerOutput { - s.EngineType = v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *DescribeBrokerOutput) SetEngineVersion(v string) *DescribeBrokerOutput { - s.EngineVersion = &v - return s -} - -// SetHostInstanceType sets the HostInstanceType field's value. -func (s *DescribeBrokerOutput) SetHostInstanceType(v string) *DescribeBrokerOutput { - s.HostInstanceType = &v - return s -} - -// SetMaintenanceWindowStartTime sets the MaintenanceWindowStartTime field's value. -func (s *DescribeBrokerOutput) SetMaintenanceWindowStartTime(v *WeeklyStartTime) *DescribeBrokerOutput { - s.MaintenanceWindowStartTime = v - return s -} - -// SetPubliclyAccessible sets the PubliclyAccessible field's value. -func (s *DescribeBrokerOutput) SetPubliclyAccessible(v bool) *DescribeBrokerOutput { - s.PubliclyAccessible = &v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *DescribeBrokerOutput) SetSecurityGroups(v []string) *DescribeBrokerOutput { - s.SecurityGroups = v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *DescribeBrokerOutput) SetSubnetIds(v []string) *DescribeBrokerOutput { - s.SubnetIds = v - return s -} - -// SetUsers sets the Users field's value. -func (s *DescribeBrokerOutput) SetUsers(v []UserSummary) *DescribeBrokerOutput { - s.Users = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeConfigurationRequest type DescribeConfigurationInput struct { _ struct{} `type:"structure"` @@ -1872,12 +1452,6 @@ func (s *DescribeConfigurationInput) Validate() error { return nil } -// SetConfigurationId sets the ConfigurationId field's value. -func (s *DescribeConfigurationInput) SetConfigurationId(v string) *DescribeConfigurationInput { - s.ConfigurationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeConfigurationResponse type DescribeConfigurationOutput struct { _ struct{} `type:"structure"` @@ -1916,48 +1490,6 @@ func (s DescribeConfigurationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *DescribeConfigurationOutput) SetArn(v string) *DescribeConfigurationOutput { - s.Arn = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *DescribeConfigurationOutput) SetDescription(v string) *DescribeConfigurationOutput { - s.Description = &v - return s -} - -// SetEngineType sets the EngineType field's value. -func (s *DescribeConfigurationOutput) SetEngineType(v EngineType) *DescribeConfigurationOutput { - s.EngineType = v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *DescribeConfigurationOutput) SetEngineVersion(v string) *DescribeConfigurationOutput { - s.EngineVersion = &v - return s -} - -// SetId sets the Id field's value. -func (s *DescribeConfigurationOutput) SetId(v string) *DescribeConfigurationOutput { - s.Id = &v - return s -} - -// SetLatestRevision sets the LatestRevision field's value. -func (s *DescribeConfigurationOutput) SetLatestRevision(v *ConfigurationRevision) *DescribeConfigurationOutput { - s.LatestRevision = v - return s -} - -// SetName sets the Name field's value. -func (s *DescribeConfigurationOutput) SetName(v string) *DescribeConfigurationOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeConfigurationRevisionRequest type DescribeConfigurationRevisionInput struct { _ struct{} `type:"structure"` @@ -1997,18 +1529,6 @@ func (s *DescribeConfigurationRevisionInput) Validate() error { return nil } -// SetConfigurationId sets the ConfigurationId field's value. -func (s *DescribeConfigurationRevisionInput) SetConfigurationId(v string) *DescribeConfigurationRevisionInput { - s.ConfigurationId = &v - return s -} - -// SetConfigurationRevision sets the ConfigurationRevision field's value. -func (s *DescribeConfigurationRevisionInput) SetConfigurationRevision(v string) *DescribeConfigurationRevisionInput { - s.ConfigurationRevision = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeConfigurationRevisionResponse type DescribeConfigurationRevisionOutput struct { _ struct{} `type:"structure"` @@ -2037,24 +1557,6 @@ func (s DescribeConfigurationRevisionOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetConfigurationId sets the ConfigurationId field's value. -func (s *DescribeConfigurationRevisionOutput) SetConfigurationId(v string) *DescribeConfigurationRevisionOutput { - s.ConfigurationId = &v - return s -} - -// SetData sets the Data field's value. -func (s *DescribeConfigurationRevisionOutput) SetData(v string) *DescribeConfigurationRevisionOutput { - s.Data = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *DescribeConfigurationRevisionOutput) SetDescription(v string) *DescribeConfigurationRevisionOutput { - s.Description = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeUserRequest type DescribeUserInput struct { _ struct{} `type:"structure"` @@ -2094,18 +1596,6 @@ func (s *DescribeUserInput) Validate() error { return nil } -// SetBrokerId sets the BrokerId field's value. -func (s *DescribeUserInput) SetBrokerId(v string) *DescribeUserInput { - s.BrokerId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *DescribeUserInput) SetUsername(v string) *DescribeUserInput { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeUserResponse type DescribeUserOutput struct { _ struct{} `type:"structure"` @@ -2140,36 +1630,6 @@ func (s DescribeUserOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBrokerId sets the BrokerId field's value. -func (s *DescribeUserOutput) SetBrokerId(v string) *DescribeUserOutput { - s.BrokerId = &v - return s -} - -// SetConsoleAccess sets the ConsoleAccess field's value. -func (s *DescribeUserOutput) SetConsoleAccess(v bool) *DescribeUserOutput { - s.ConsoleAccess = &v - return s -} - -// SetGroups sets the Groups field's value. -func (s *DescribeUserOutput) SetGroups(v []string) *DescribeUserOutput { - s.Groups = v - return s -} - -// SetPending sets the Pending field's value. -func (s *DescribeUserOutput) SetPending(v *UserPendingChanges) *DescribeUserOutput { - s.Pending = v - return s -} - -// SetUsername sets the Username field's value. -func (s *DescribeUserOutput) SetUsername(v string) *DescribeUserOutput { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListBrokersRequest type ListBrokersInput struct { _ struct{} `type:"structure"` @@ -2202,18 +1662,6 @@ func (s *ListBrokersInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListBrokersInput) SetMaxResults(v int64) *ListBrokersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListBrokersInput) SetNextToken(v string) *ListBrokersInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListBrokersResponse type ListBrokersOutput struct { _ struct{} `type:"structure"` @@ -2240,18 +1688,6 @@ func (s ListBrokersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBrokerSummaries sets the BrokerSummaries field's value. -func (s *ListBrokersOutput) SetBrokerSummaries(v []BrokerSummary) *ListBrokersOutput { - s.BrokerSummaries = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListBrokersOutput) SetNextToken(v string) *ListBrokersOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListConfigurationRevisionsRequest type ListConfigurationRevisionsInput struct { _ struct{} `type:"structure"` @@ -2291,24 +1727,6 @@ func (s *ListConfigurationRevisionsInput) Validate() error { return nil } -// SetConfigurationId sets the ConfigurationId field's value. -func (s *ListConfigurationRevisionsInput) SetConfigurationId(v string) *ListConfigurationRevisionsInput { - s.ConfigurationId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListConfigurationRevisionsInput) SetMaxResults(v int64) *ListConfigurationRevisionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListConfigurationRevisionsInput) SetNextToken(v string) *ListConfigurationRevisionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListConfigurationRevisionsResponse type ListConfigurationRevisionsOutput struct { _ struct{} `type:"structure"` @@ -2339,30 +1757,6 @@ func (s ListConfigurationRevisionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConfigurationId sets the ConfigurationId field's value. -func (s *ListConfigurationRevisionsOutput) SetConfigurationId(v string) *ListConfigurationRevisionsOutput { - s.ConfigurationId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListConfigurationRevisionsOutput) SetMaxResults(v int64) *ListConfigurationRevisionsOutput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListConfigurationRevisionsOutput) SetNextToken(v string) *ListConfigurationRevisionsOutput { - s.NextToken = &v - return s -} - -// SetRevisions sets the Revisions field's value. -func (s *ListConfigurationRevisionsOutput) SetRevisions(v []ConfigurationRevision) *ListConfigurationRevisionsOutput { - s.Revisions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListConfigurationsRequest type ListConfigurationsInput struct { _ struct{} `type:"structure"` @@ -2395,18 +1789,6 @@ func (s *ListConfigurationsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListConfigurationsInput) SetMaxResults(v int64) *ListConfigurationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListConfigurationsInput) SetNextToken(v string) *ListConfigurationsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListConfigurationsResponse type ListConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -2435,24 +1817,6 @@ func (s ListConfigurationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConfigurations sets the Configurations field's value. -func (s *ListConfigurationsOutput) SetConfigurations(v []Configuration) *ListConfigurationsOutput { - s.Configurations = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListConfigurationsOutput) SetMaxResults(v int64) *ListConfigurationsOutput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListConfigurationsOutput) SetNextToken(v string) *ListConfigurationsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListUsersRequest type ListUsersInput struct { _ struct{} `type:"structure"` @@ -2492,24 +1856,6 @@ func (s *ListUsersInput) Validate() error { return nil } -// SetBrokerId sets the BrokerId field's value. -func (s *ListUsersInput) SetBrokerId(v string) *ListUsersInput { - s.BrokerId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListUsersInput) SetMaxResults(v int64) *ListUsersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListUsersInput) SetNextToken(v string) *ListUsersInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListUsersResponse type ListUsersOutput struct { _ struct{} `type:"structure"` @@ -2540,30 +1886,6 @@ func (s ListUsersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBrokerId sets the BrokerId field's value. -func (s *ListUsersOutput) SetBrokerId(v string) *ListUsersOutput { - s.BrokerId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListUsersOutput) SetMaxResults(v int64) *ListUsersOutput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListUsersOutput) SetNextToken(v string) *ListUsersOutput { - s.NextToken = &v - return s -} - -// SetUsers sets the Users field's value. -func (s *ListUsersOutput) SetUsers(v []UserSummary) *ListUsersOutput { - s.Users = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/RebootBrokerRequest type RebootBrokerInput struct { _ struct{} `type:"structure"` @@ -2596,12 +1918,6 @@ func (s *RebootBrokerInput) Validate() error { return nil } -// SetBrokerId sets the BrokerId field's value. -func (s *RebootBrokerInput) SetBrokerId(v string) *RebootBrokerInput { - s.BrokerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/RebootBrokerResponse type RebootBrokerOutput struct { _ struct{} `type:"structure"` @@ -2656,24 +1972,6 @@ func (s SanitizationWarning) GoString() string { return s.String() } -// SetAttributeName sets the AttributeName field's value. -func (s *SanitizationWarning) SetAttributeName(v string) *SanitizationWarning { - s.AttributeName = &v - return s -} - -// SetElementName sets the ElementName field's value. -func (s *SanitizationWarning) SetElementName(v string) *SanitizationWarning { - s.ElementName = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *SanitizationWarning) SetReason(v SanitizationWarningReason) *SanitizationWarning { - s.Reason = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateBrokerRequest type UpdateBrokerInput struct { _ struct{} `type:"structure"` @@ -2709,18 +2007,6 @@ func (s *UpdateBrokerInput) Validate() error { return nil } -// SetBrokerId sets the BrokerId field's value. -func (s *UpdateBrokerInput) SetBrokerId(v string) *UpdateBrokerInput { - s.BrokerId = &v - return s -} - -// SetConfiguration sets the Configuration field's value. -func (s *UpdateBrokerInput) SetConfiguration(v *ConfigurationId) *UpdateBrokerInput { - s.Configuration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateBrokerResponse type UpdateBrokerOutput struct { _ struct{} `type:"structure"` @@ -2748,18 +2034,6 @@ func (s UpdateBrokerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBrokerId sets the BrokerId field's value. -func (s *UpdateBrokerOutput) SetBrokerId(v string) *UpdateBrokerOutput { - s.BrokerId = &v - return s -} - -// SetConfiguration sets the Configuration field's value. -func (s *UpdateBrokerOutput) SetConfiguration(v *ConfigurationId) *UpdateBrokerOutput { - s.Configuration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateConfigurationRequest type UpdateConfigurationInput struct { _ struct{} `type:"structure"` @@ -2796,24 +2070,6 @@ func (s *UpdateConfigurationInput) Validate() error { return nil } -// SetConfigurationId sets the ConfigurationId field's value. -func (s *UpdateConfigurationInput) SetConfigurationId(v string) *UpdateConfigurationInput { - s.ConfigurationId = &v - return s -} - -// SetData sets the Data field's value. -func (s *UpdateConfigurationInput) SetData(v string) *UpdateConfigurationInput { - s.Data = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateConfigurationInput) SetDescription(v string) *UpdateConfigurationInput { - s.Description = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateConfigurationResponse type UpdateConfigurationOutput struct { _ struct{} `type:"structure"` @@ -2847,36 +2103,6 @@ func (s UpdateConfigurationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *UpdateConfigurationOutput) SetArn(v string) *UpdateConfigurationOutput { - s.Arn = &v - return s -} - -// SetId sets the Id field's value. -func (s *UpdateConfigurationOutput) SetId(v string) *UpdateConfigurationOutput { - s.Id = &v - return s -} - -// SetLatestRevision sets the LatestRevision field's value. -func (s *UpdateConfigurationOutput) SetLatestRevision(v *ConfigurationRevision) *UpdateConfigurationOutput { - s.LatestRevision = v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateConfigurationOutput) SetName(v string) *UpdateConfigurationOutput { - s.Name = &v - return s -} - -// SetWarnings sets the Warnings field's value. -func (s *UpdateConfigurationOutput) SetWarnings(v []SanitizationWarning) *UpdateConfigurationOutput { - s.Warnings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateUserRequest type UpdateUserInput struct { _ struct{} `type:"structure"` @@ -2922,36 +2148,6 @@ func (s *UpdateUserInput) Validate() error { return nil } -// SetBrokerId sets the BrokerId field's value. -func (s *UpdateUserInput) SetBrokerId(v string) *UpdateUserInput { - s.BrokerId = &v - return s -} - -// SetConsoleAccess sets the ConsoleAccess field's value. -func (s *UpdateUserInput) SetConsoleAccess(v bool) *UpdateUserInput { - s.ConsoleAccess = &v - return s -} - -// SetGroups sets the Groups field's value. -func (s *UpdateUserInput) SetGroups(v []string) *UpdateUserInput { - s.Groups = v - return s -} - -// SetPassword sets the Password field's value. -func (s *UpdateUserInput) SetPassword(v string) *UpdateUserInput { - s.Password = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *UpdateUserInput) SetUsername(v string) *UpdateUserInput { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateUserResponse type UpdateUserOutput struct { _ struct{} `type:"structure"` @@ -3008,30 +2204,6 @@ func (s User) GoString() string { return s.String() } -// SetConsoleAccess sets the ConsoleAccess field's value. -func (s *User) SetConsoleAccess(v bool) *User { - s.ConsoleAccess = &v - return s -} - -// SetGroups sets the Groups field's value. -func (s *User) SetGroups(v []string) *User { - s.Groups = v - return s -} - -// SetPassword sets the Password field's value. -func (s *User) SetPassword(v string) *User { - s.Password = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *User) SetUsername(v string) *User { - s.Username = &v - return s -} - // Returns information about the status of the changes pending for the ActiveMQ // user. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UserPendingChanges @@ -3061,24 +2233,6 @@ func (s UserPendingChanges) GoString() string { return s.String() } -// SetConsoleAccess sets the ConsoleAccess field's value. -func (s *UserPendingChanges) SetConsoleAccess(v bool) *UserPendingChanges { - s.ConsoleAccess = &v - return s -} - -// SetGroups sets the Groups field's value. -func (s *UserPendingChanges) SetGroups(v []string) *UserPendingChanges { - s.Groups = v - return s -} - -// SetPendingChange sets the PendingChange field's value. -func (s *UserPendingChanges) SetPendingChange(v ChangeType) *UserPendingChanges { - s.PendingChange = v - return s -} - // Returns a list of all ActiveMQ users. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UserSummary type UserSummary struct { @@ -3104,18 +2258,6 @@ func (s UserSummary) GoString() string { return s.String() } -// SetPendingChange sets the PendingChange field's value. -func (s *UserSummary) SetPendingChange(v ChangeType) *UserSummary { - s.PendingChange = v - return s -} - -// SetUsername sets the Username field's value. -func (s *UserSummary) SetUsername(v string) *UserSummary { - s.Username = &v - return s -} - // The scheduled time period relative to UTC during which Amazon MQ begins to // apply pending updates or patches to the broker. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/WeeklyStartTime @@ -3144,24 +2286,6 @@ func (s WeeklyStartTime) GoString() string { return s.String() } -// SetDayOfWeek sets the DayOfWeek field's value. -func (s *WeeklyStartTime) SetDayOfWeek(v DayOfWeek) *WeeklyStartTime { - s.DayOfWeek = v - return s -} - -// SetTimeOfDay sets the TimeOfDay field's value. -func (s *WeeklyStartTime) SetTimeOfDay(v string) *WeeklyStartTime { - s.TimeOfDay = &v - return s -} - -// SetTimeZone sets the TimeZone field's value. -func (s *WeeklyStartTime) SetTimeZone(v string) *WeeklyStartTime { - s.TimeZone = &v - return s -} - // The status of the broker. Possible values: CREATION_IN_PROGRESS, CREATION_FAILED, // DELETION_IN_PROGRESS, RUNNING, REBOOT_IN_PROGRESS type BrokerState string diff --git a/service/mturk/api.go b/service/mturk/api.go index 80b41f793e2..cce4ec88f10 100644 --- a/service/mturk/api.go +++ b/service/mturk/api.go @@ -2779,18 +2779,6 @@ func (s *AcceptQualificationRequestInput) Validate() error { return nil } -// SetIntegerValue sets the IntegerValue field's value. -func (s *AcceptQualificationRequestInput) SetIntegerValue(v int64) *AcceptQualificationRequestInput { - s.IntegerValue = &v - return s -} - -// SetQualificationRequestId sets the QualificationRequestId field's value. -func (s *AcceptQualificationRequestInput) SetQualificationRequestId(v string) *AcceptQualificationRequestInput { - s.QualificationRequestId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/AcceptQualificationRequestResponse type AcceptQualificationRequestOutput struct { _ struct{} `type:"structure"` @@ -2859,24 +2847,6 @@ func (s *ApproveAssignmentInput) Validate() error { return nil } -// SetAssignmentId sets the AssignmentId field's value. -func (s *ApproveAssignmentInput) SetAssignmentId(v string) *ApproveAssignmentInput { - s.AssignmentId = &v - return s -} - -// SetOverrideRejection sets the OverrideRejection field's value. -func (s *ApproveAssignmentInput) SetOverrideRejection(v bool) *ApproveAssignmentInput { - s.OverrideRejection = &v - return s -} - -// SetRequesterFeedback sets the RequesterFeedback field's value. -func (s *ApproveAssignmentInput) SetRequesterFeedback(v string) *ApproveAssignmentInput { - s.RequesterFeedback = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ApproveAssignmentResponse type ApproveAssignmentOutput struct { _ struct{} `type:"structure"` @@ -2971,78 +2941,6 @@ func (s Assignment) GoString() string { return s.String() } -// SetAcceptTime sets the AcceptTime field's value. -func (s *Assignment) SetAcceptTime(v time.Time) *Assignment { - s.AcceptTime = &v - return s -} - -// SetAnswer sets the Answer field's value. -func (s *Assignment) SetAnswer(v string) *Assignment { - s.Answer = &v - return s -} - -// SetApprovalTime sets the ApprovalTime field's value. -func (s *Assignment) SetApprovalTime(v time.Time) *Assignment { - s.ApprovalTime = &v - return s -} - -// SetAssignmentId sets the AssignmentId field's value. -func (s *Assignment) SetAssignmentId(v string) *Assignment { - s.AssignmentId = &v - return s -} - -// SetAssignmentStatus sets the AssignmentStatus field's value. -func (s *Assignment) SetAssignmentStatus(v AssignmentStatus) *Assignment { - s.AssignmentStatus = v - return s -} - -// SetAutoApprovalTime sets the AutoApprovalTime field's value. -func (s *Assignment) SetAutoApprovalTime(v time.Time) *Assignment { - s.AutoApprovalTime = &v - return s -} - -// SetDeadline sets the Deadline field's value. -func (s *Assignment) SetDeadline(v time.Time) *Assignment { - s.Deadline = &v - return s -} - -// SetHITId sets the HITId field's value. -func (s *Assignment) SetHITId(v string) *Assignment { - s.HITId = &v - return s -} - -// SetRejectionTime sets the RejectionTime field's value. -func (s *Assignment) SetRejectionTime(v time.Time) *Assignment { - s.RejectionTime = &v - return s -} - -// SetRequesterFeedback sets the RequesterFeedback field's value. -func (s *Assignment) SetRequesterFeedback(v string) *Assignment { - s.RequesterFeedback = &v - return s -} - -// SetSubmitTime sets the SubmitTime field's value. -func (s *Assignment) SetSubmitTime(v time.Time) *Assignment { - s.SubmitTime = &v - return s -} - -// SetWorkerId sets the WorkerId field's value. -func (s *Assignment) SetWorkerId(v string) *Assignment { - s.WorkerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/AssociateQualificationWithWorkerRequest type AssociateQualificationWithWorkerInput struct { _ struct{} `type:"structure"` @@ -3101,30 +2999,6 @@ func (s *AssociateQualificationWithWorkerInput) Validate() error { return nil } -// SetIntegerValue sets the IntegerValue field's value. -func (s *AssociateQualificationWithWorkerInput) SetIntegerValue(v int64) *AssociateQualificationWithWorkerInput { - s.IntegerValue = &v - return s -} - -// SetQualificationTypeId sets the QualificationTypeId field's value. -func (s *AssociateQualificationWithWorkerInput) SetQualificationTypeId(v string) *AssociateQualificationWithWorkerInput { - s.QualificationTypeId = &v - return s -} - -// SetSendNotification sets the SendNotification field's value. -func (s *AssociateQualificationWithWorkerInput) SetSendNotification(v bool) *AssociateQualificationWithWorkerInput { - s.SendNotification = &v - return s -} - -// SetWorkerId sets the WorkerId field's value. -func (s *AssociateQualificationWithWorkerInput) SetWorkerId(v string) *AssociateQualificationWithWorkerInput { - s.WorkerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/AssociateQualificationWithWorkerResponse type AssociateQualificationWithWorkerOutput struct { _ struct{} `type:"structure"` @@ -3178,36 +3052,6 @@ func (s BonusPayment) GoString() string { return s.String() } -// SetAssignmentId sets the AssignmentId field's value. -func (s *BonusPayment) SetAssignmentId(v string) *BonusPayment { - s.AssignmentId = &v - return s -} - -// SetBonusAmount sets the BonusAmount field's value. -func (s *BonusPayment) SetBonusAmount(v string) *BonusPayment { - s.BonusAmount = &v - return s -} - -// SetGrantTime sets the GrantTime field's value. -func (s *BonusPayment) SetGrantTime(v time.Time) *BonusPayment { - s.GrantTime = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *BonusPayment) SetReason(v string) *BonusPayment { - s.Reason = &v - return s -} - -// SetWorkerId sets the WorkerId field's value. -func (s *BonusPayment) SetWorkerId(v string) *BonusPayment { - s.WorkerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateAdditionalAssignmentsForHITRequest type CreateAdditionalAssignmentsForHITInput struct { _ struct{} `type:"structure"` @@ -3265,24 +3109,6 @@ func (s *CreateAdditionalAssignmentsForHITInput) Validate() error { return nil } -// SetHITId sets the HITId field's value. -func (s *CreateAdditionalAssignmentsForHITInput) SetHITId(v string) *CreateAdditionalAssignmentsForHITInput { - s.HITId = &v - return s -} - -// SetNumberOfAdditionalAssignments sets the NumberOfAdditionalAssignments field's value. -func (s *CreateAdditionalAssignmentsForHITInput) SetNumberOfAdditionalAssignments(v int64) *CreateAdditionalAssignmentsForHITInput { - s.NumberOfAdditionalAssignments = &v - return s -} - -// SetUniqueRequestToken sets the UniqueRequestToken field's value. -func (s *CreateAdditionalAssignmentsForHITInput) SetUniqueRequestToken(v string) *CreateAdditionalAssignmentsForHITInput { - s.UniqueRequestToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateAdditionalAssignmentsForHITResponse type CreateAdditionalAssignmentsForHITOutput struct { _ struct{} `type:"structure"` @@ -3490,102 +3316,6 @@ func (s *CreateHITInput) Validate() error { return nil } -// SetAssignmentDurationInSeconds sets the AssignmentDurationInSeconds field's value. -func (s *CreateHITInput) SetAssignmentDurationInSeconds(v int64) *CreateHITInput { - s.AssignmentDurationInSeconds = &v - return s -} - -// SetAssignmentReviewPolicy sets the AssignmentReviewPolicy field's value. -func (s *CreateHITInput) SetAssignmentReviewPolicy(v *ReviewPolicy) *CreateHITInput { - s.AssignmentReviewPolicy = v - return s -} - -// SetAutoApprovalDelayInSeconds sets the AutoApprovalDelayInSeconds field's value. -func (s *CreateHITInput) SetAutoApprovalDelayInSeconds(v int64) *CreateHITInput { - s.AutoApprovalDelayInSeconds = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateHITInput) SetDescription(v string) *CreateHITInput { - s.Description = &v - return s -} - -// SetHITLayoutId sets the HITLayoutId field's value. -func (s *CreateHITInput) SetHITLayoutId(v string) *CreateHITInput { - s.HITLayoutId = &v - return s -} - -// SetHITLayoutParameters sets the HITLayoutParameters field's value. -func (s *CreateHITInput) SetHITLayoutParameters(v []HITLayoutParameter) *CreateHITInput { - s.HITLayoutParameters = v - return s -} - -// SetHITReviewPolicy sets the HITReviewPolicy field's value. -func (s *CreateHITInput) SetHITReviewPolicy(v *ReviewPolicy) *CreateHITInput { - s.HITReviewPolicy = v - return s -} - -// SetKeywords sets the Keywords field's value. -func (s *CreateHITInput) SetKeywords(v string) *CreateHITInput { - s.Keywords = &v - return s -} - -// SetLifetimeInSeconds sets the LifetimeInSeconds field's value. -func (s *CreateHITInput) SetLifetimeInSeconds(v int64) *CreateHITInput { - s.LifetimeInSeconds = &v - return s -} - -// SetMaxAssignments sets the MaxAssignments field's value. -func (s *CreateHITInput) SetMaxAssignments(v int64) *CreateHITInput { - s.MaxAssignments = &v - return s -} - -// SetQualificationRequirements sets the QualificationRequirements field's value. -func (s *CreateHITInput) SetQualificationRequirements(v []QualificationRequirement) *CreateHITInput { - s.QualificationRequirements = v - return s -} - -// SetQuestion sets the Question field's value. -func (s *CreateHITInput) SetQuestion(v string) *CreateHITInput { - s.Question = &v - return s -} - -// SetRequesterAnnotation sets the RequesterAnnotation field's value. -func (s *CreateHITInput) SetRequesterAnnotation(v string) *CreateHITInput { - s.RequesterAnnotation = &v - return s -} - -// SetReward sets the Reward field's value. -func (s *CreateHITInput) SetReward(v string) *CreateHITInput { - s.Reward = &v - return s -} - -// SetTitle sets the Title field's value. -func (s *CreateHITInput) SetTitle(v string) *CreateHITInput { - s.Title = &v - return s -} - -// SetUniqueRequestToken sets the UniqueRequestToken field's value. -func (s *CreateHITInput) SetUniqueRequestToken(v string) *CreateHITInput { - s.UniqueRequestToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateHITResponse type CreateHITOutput struct { _ struct{} `type:"structure"` @@ -3612,12 +3342,6 @@ func (s CreateHITOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHIT sets the HIT field's value. -func (s *CreateHITOutput) SetHIT(v *HIT) *CreateHITOutput { - s.HIT = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateHITTypeRequest type CreateHITTypeInput struct { _ struct{} `type:"structure"` @@ -3710,48 +3434,6 @@ func (s *CreateHITTypeInput) Validate() error { return nil } -// SetAssignmentDurationInSeconds sets the AssignmentDurationInSeconds field's value. -func (s *CreateHITTypeInput) SetAssignmentDurationInSeconds(v int64) *CreateHITTypeInput { - s.AssignmentDurationInSeconds = &v - return s -} - -// SetAutoApprovalDelayInSeconds sets the AutoApprovalDelayInSeconds field's value. -func (s *CreateHITTypeInput) SetAutoApprovalDelayInSeconds(v int64) *CreateHITTypeInput { - s.AutoApprovalDelayInSeconds = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateHITTypeInput) SetDescription(v string) *CreateHITTypeInput { - s.Description = &v - return s -} - -// SetKeywords sets the Keywords field's value. -func (s *CreateHITTypeInput) SetKeywords(v string) *CreateHITTypeInput { - s.Keywords = &v - return s -} - -// SetQualificationRequirements sets the QualificationRequirements field's value. -func (s *CreateHITTypeInput) SetQualificationRequirements(v []QualificationRequirement) *CreateHITTypeInput { - s.QualificationRequirements = v - return s -} - -// SetReward sets the Reward field's value. -func (s *CreateHITTypeInput) SetReward(v string) *CreateHITTypeInput { - s.Reward = &v - return s -} - -// SetTitle sets the Title field's value. -func (s *CreateHITTypeInput) SetTitle(v string) *CreateHITTypeInput { - s.Title = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateHITTypeResponse type CreateHITTypeOutput struct { _ struct{} `type:"structure"` @@ -3777,12 +3459,6 @@ func (s CreateHITTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHITTypeId sets the HITTypeId field's value. -func (s *CreateHITTypeOutput) SetHITTypeId(v string) *CreateHITTypeOutput { - s.HITTypeId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateHITWithHITTypeRequest type CreateHITWithHITTypeInput struct { _ struct{} `type:"structure"` @@ -3913,66 +3589,6 @@ func (s *CreateHITWithHITTypeInput) Validate() error { return nil } -// SetAssignmentReviewPolicy sets the AssignmentReviewPolicy field's value. -func (s *CreateHITWithHITTypeInput) SetAssignmentReviewPolicy(v *ReviewPolicy) *CreateHITWithHITTypeInput { - s.AssignmentReviewPolicy = v - return s -} - -// SetHITLayoutId sets the HITLayoutId field's value. -func (s *CreateHITWithHITTypeInput) SetHITLayoutId(v string) *CreateHITWithHITTypeInput { - s.HITLayoutId = &v - return s -} - -// SetHITLayoutParameters sets the HITLayoutParameters field's value. -func (s *CreateHITWithHITTypeInput) SetHITLayoutParameters(v []HITLayoutParameter) *CreateHITWithHITTypeInput { - s.HITLayoutParameters = v - return s -} - -// SetHITReviewPolicy sets the HITReviewPolicy field's value. -func (s *CreateHITWithHITTypeInput) SetHITReviewPolicy(v *ReviewPolicy) *CreateHITWithHITTypeInput { - s.HITReviewPolicy = v - return s -} - -// SetHITTypeId sets the HITTypeId field's value. -func (s *CreateHITWithHITTypeInput) SetHITTypeId(v string) *CreateHITWithHITTypeInput { - s.HITTypeId = &v - return s -} - -// SetLifetimeInSeconds sets the LifetimeInSeconds field's value. -func (s *CreateHITWithHITTypeInput) SetLifetimeInSeconds(v int64) *CreateHITWithHITTypeInput { - s.LifetimeInSeconds = &v - return s -} - -// SetMaxAssignments sets the MaxAssignments field's value. -func (s *CreateHITWithHITTypeInput) SetMaxAssignments(v int64) *CreateHITWithHITTypeInput { - s.MaxAssignments = &v - return s -} - -// SetQuestion sets the Question field's value. -func (s *CreateHITWithHITTypeInput) SetQuestion(v string) *CreateHITWithHITTypeInput { - s.Question = &v - return s -} - -// SetRequesterAnnotation sets the RequesterAnnotation field's value. -func (s *CreateHITWithHITTypeInput) SetRequesterAnnotation(v string) *CreateHITWithHITTypeInput { - s.RequesterAnnotation = &v - return s -} - -// SetUniqueRequestToken sets the UniqueRequestToken field's value. -func (s *CreateHITWithHITTypeInput) SetUniqueRequestToken(v string) *CreateHITWithHITTypeInput { - s.UniqueRequestToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateHITWithHITTypeResponse type CreateHITWithHITTypeOutput struct { _ struct{} `type:"structure"` @@ -3999,12 +3615,6 @@ func (s CreateHITWithHITTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHIT sets the HIT field's value. -func (s *CreateHITWithHITTypeOutput) SetHIT(v *HIT) *CreateHITWithHITTypeOutput { - s.HIT = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateQualificationTypeRequest type CreateQualificationTypeInput struct { _ struct{} `type:"structure"` @@ -4112,66 +3722,6 @@ func (s *CreateQualificationTypeInput) Validate() error { return nil } -// SetAnswerKey sets the AnswerKey field's value. -func (s *CreateQualificationTypeInput) SetAnswerKey(v string) *CreateQualificationTypeInput { - s.AnswerKey = &v - return s -} - -// SetAutoGranted sets the AutoGranted field's value. -func (s *CreateQualificationTypeInput) SetAutoGranted(v bool) *CreateQualificationTypeInput { - s.AutoGranted = &v - return s -} - -// SetAutoGrantedValue sets the AutoGrantedValue field's value. -func (s *CreateQualificationTypeInput) SetAutoGrantedValue(v int64) *CreateQualificationTypeInput { - s.AutoGrantedValue = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateQualificationTypeInput) SetDescription(v string) *CreateQualificationTypeInput { - s.Description = &v - return s -} - -// SetKeywords sets the Keywords field's value. -func (s *CreateQualificationTypeInput) SetKeywords(v string) *CreateQualificationTypeInput { - s.Keywords = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateQualificationTypeInput) SetName(v string) *CreateQualificationTypeInput { - s.Name = &v - return s -} - -// SetQualificationTypeStatus sets the QualificationTypeStatus field's value. -func (s *CreateQualificationTypeInput) SetQualificationTypeStatus(v QualificationTypeStatus) *CreateQualificationTypeInput { - s.QualificationTypeStatus = v - return s -} - -// SetRetryDelayInSeconds sets the RetryDelayInSeconds field's value. -func (s *CreateQualificationTypeInput) SetRetryDelayInSeconds(v int64) *CreateQualificationTypeInput { - s.RetryDelayInSeconds = &v - return s -} - -// SetTest sets the Test field's value. -func (s *CreateQualificationTypeInput) SetTest(v string) *CreateQualificationTypeInput { - s.Test = &v - return s -} - -// SetTestDurationInSeconds sets the TestDurationInSeconds field's value. -func (s *CreateQualificationTypeInput) SetTestDurationInSeconds(v int64) *CreateQualificationTypeInput { - s.TestDurationInSeconds = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateQualificationTypeResponse type CreateQualificationTypeOutput struct { _ struct{} `type:"structure"` @@ -4197,12 +3747,6 @@ func (s CreateQualificationTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetQualificationType sets the QualificationType field's value. -func (s *CreateQualificationTypeOutput) SetQualificationType(v *QualificationType) *CreateQualificationTypeOutput { - s.QualificationType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateWorkerBlockRequest type CreateWorkerBlockInput struct { _ struct{} `type:"structure"` @@ -4250,18 +3794,6 @@ func (s *CreateWorkerBlockInput) Validate() error { return nil } -// SetReason sets the Reason field's value. -func (s *CreateWorkerBlockInput) SetReason(v string) *CreateWorkerBlockInput { - s.Reason = &v - return s -} - -// SetWorkerId sets the WorkerId field's value. -func (s *CreateWorkerBlockInput) SetWorkerId(v string) *CreateWorkerBlockInput { - s.WorkerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateWorkerBlockResponse type CreateWorkerBlockOutput struct { _ struct{} `type:"structure"` @@ -4321,12 +3853,6 @@ func (s *DeleteHITInput) Validate() error { return nil } -// SetHITId sets the HITId field's value. -func (s *DeleteHITInput) SetHITId(v string) *DeleteHITInput { - s.HITId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/DeleteHITResponse type DeleteHITOutput struct { _ struct{} `type:"structure"` @@ -4386,12 +3912,6 @@ func (s *DeleteQualificationTypeInput) Validate() error { return nil } -// SetQualificationTypeId sets the QualificationTypeId field's value. -func (s *DeleteQualificationTypeInput) SetQualificationTypeId(v string) *DeleteQualificationTypeInput { - s.QualificationTypeId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/DeleteQualificationTypeResponse type DeleteQualificationTypeOutput struct { _ struct{} `type:"structure"` @@ -4455,18 +3975,6 @@ func (s *DeleteWorkerBlockInput) Validate() error { return nil } -// SetReason sets the Reason field's value. -func (s *DeleteWorkerBlockInput) SetReason(v string) *DeleteWorkerBlockInput { - s.Reason = &v - return s -} - -// SetWorkerId sets the WorkerId field's value. -func (s *DeleteWorkerBlockInput) SetWorkerId(v string) *DeleteWorkerBlockInput { - s.WorkerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/DeleteWorkerBlockResponse type DeleteWorkerBlockOutput struct { _ struct{} `type:"structure"` @@ -4542,24 +4050,6 @@ func (s *DisassociateQualificationFromWorkerInput) Validate() error { return nil } -// SetQualificationTypeId sets the QualificationTypeId field's value. -func (s *DisassociateQualificationFromWorkerInput) SetQualificationTypeId(v string) *DisassociateQualificationFromWorkerInput { - s.QualificationTypeId = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *DisassociateQualificationFromWorkerInput) SetReason(v string) *DisassociateQualificationFromWorkerInput { - s.Reason = &v - return s -} - -// SetWorkerId sets the WorkerId field's value. -func (s *DisassociateQualificationFromWorkerInput) SetWorkerId(v string) *DisassociateQualificationFromWorkerInput { - s.WorkerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/DisassociateQualificationFromWorkerResponse type DisassociateQualificationFromWorkerOutput struct { _ struct{} `type:"structure"` @@ -4625,18 +4115,6 @@ func (s GetAccountBalanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAvailableBalance sets the AvailableBalance field's value. -func (s *GetAccountBalanceOutput) SetAvailableBalance(v string) *GetAccountBalanceOutput { - s.AvailableBalance = &v - return s -} - -// SetOnHoldBalance sets the OnHoldBalance field's value. -func (s *GetAccountBalanceOutput) SetOnHoldBalance(v string) *GetAccountBalanceOutput { - s.OnHoldBalance = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetAssignmentRequest type GetAssignmentInput struct { _ struct{} `type:"structure"` @@ -4674,12 +4152,6 @@ func (s *GetAssignmentInput) Validate() error { return nil } -// SetAssignmentId sets the AssignmentId field's value. -func (s *GetAssignmentInput) SetAssignmentId(v string) *GetAssignmentInput { - s.AssignmentId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetAssignmentResponse type GetAssignmentOutput struct { _ struct{} `type:"structure"` @@ -4708,18 +4180,6 @@ func (s GetAssignmentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssignment sets the Assignment field's value. -func (s *GetAssignmentOutput) SetAssignment(v *Assignment) *GetAssignmentOutput { - s.Assignment = v - return s -} - -// SetHIT sets the HIT field's value. -func (s *GetAssignmentOutput) SetHIT(v *HIT) *GetAssignmentOutput { - s.HIT = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetFileUploadURLRequest type GetFileUploadURLInput struct { _ struct{} `type:"structure"` @@ -4767,18 +4227,6 @@ func (s *GetFileUploadURLInput) Validate() error { return nil } -// SetAssignmentId sets the AssignmentId field's value. -func (s *GetFileUploadURLInput) SetAssignmentId(v string) *GetFileUploadURLInput { - s.AssignmentId = &v - return s -} - -// SetQuestionIdentifier sets the QuestionIdentifier field's value. -func (s *GetFileUploadURLInput) SetQuestionIdentifier(v string) *GetFileUploadURLInput { - s.QuestionIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetFileUploadURLResponse type GetFileUploadURLOutput struct { _ struct{} `type:"structure"` @@ -4804,12 +4252,6 @@ func (s GetFileUploadURLOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFileUploadURL sets the FileUploadURL field's value. -func (s *GetFileUploadURLOutput) SetFileUploadURL(v string) *GetFileUploadURLOutput { - s.FileUploadURL = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetHITRequest type GetHITInput struct { _ struct{} `type:"structure"` @@ -4847,12 +4289,6 @@ func (s *GetHITInput) Validate() error { return nil } -// SetHITId sets the HITId field's value. -func (s *GetHITInput) SetHITId(v string) *GetHITInput { - s.HITId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetHITResponse type GetHITOutput struct { _ struct{} `type:"structure"` @@ -4878,12 +4314,6 @@ func (s GetHITOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHIT sets the HIT field's value. -func (s *GetHITOutput) SetHIT(v *HIT) *GetHITOutput { - s.HIT = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetQualificationScoreRequest type GetQualificationScoreInput struct { _ struct{} `type:"structure"` @@ -4933,18 +4363,6 @@ func (s *GetQualificationScoreInput) Validate() error { return nil } -// SetQualificationTypeId sets the QualificationTypeId field's value. -func (s *GetQualificationScoreInput) SetQualificationTypeId(v string) *GetQualificationScoreInput { - s.QualificationTypeId = &v - return s -} - -// SetWorkerId sets the WorkerId field's value. -func (s *GetQualificationScoreInput) SetWorkerId(v string) *GetQualificationScoreInput { - s.WorkerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetQualificationScoreResponse type GetQualificationScoreOutput struct { _ struct{} `type:"structure"` @@ -4971,12 +4389,6 @@ func (s GetQualificationScoreOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetQualification sets the Qualification field's value. -func (s *GetQualificationScoreOutput) SetQualification(v *Qualification) *GetQualificationScoreOutput { - s.Qualification = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetQualificationTypeRequest type GetQualificationTypeInput struct { _ struct{} `type:"structure"` @@ -5014,12 +4426,6 @@ func (s *GetQualificationTypeInput) Validate() error { return nil } -// SetQualificationTypeId sets the QualificationTypeId field's value. -func (s *GetQualificationTypeInput) SetQualificationTypeId(v string) *GetQualificationTypeInput { - s.QualificationTypeId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetQualificationTypeResponse type GetQualificationTypeOutput struct { _ struct{} `type:"structure"` @@ -5045,12 +4451,6 @@ func (s GetQualificationTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetQualificationType sets the QualificationType field's value. -func (s *GetQualificationTypeOutput) SetQualificationType(v *QualificationType) *GetQualificationTypeOutput { - s.QualificationType = v - return s -} - // The HIT data structure represents a single HIT, including all the information // necessary for a Worker to accept and complete the HIT. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/HIT @@ -5148,132 +4548,6 @@ func (s HIT) GoString() string { return s.String() } -// SetAssignmentDurationInSeconds sets the AssignmentDurationInSeconds field's value. -func (s *HIT) SetAssignmentDurationInSeconds(v int64) *HIT { - s.AssignmentDurationInSeconds = &v - return s -} - -// SetAutoApprovalDelayInSeconds sets the AutoApprovalDelayInSeconds field's value. -func (s *HIT) SetAutoApprovalDelayInSeconds(v int64) *HIT { - s.AutoApprovalDelayInSeconds = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *HIT) SetCreationTime(v time.Time) *HIT { - s.CreationTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *HIT) SetDescription(v string) *HIT { - s.Description = &v - return s -} - -// SetExpiration sets the Expiration field's value. -func (s *HIT) SetExpiration(v time.Time) *HIT { - s.Expiration = &v - return s -} - -// SetHITGroupId sets the HITGroupId field's value. -func (s *HIT) SetHITGroupId(v string) *HIT { - s.HITGroupId = &v - return s -} - -// SetHITId sets the HITId field's value. -func (s *HIT) SetHITId(v string) *HIT { - s.HITId = &v - return s -} - -// SetHITLayoutId sets the HITLayoutId field's value. -func (s *HIT) SetHITLayoutId(v string) *HIT { - s.HITLayoutId = &v - return s -} - -// SetHITReviewStatus sets the HITReviewStatus field's value. -func (s *HIT) SetHITReviewStatus(v HITReviewStatus) *HIT { - s.HITReviewStatus = v - return s -} - -// SetHITStatus sets the HITStatus field's value. -func (s *HIT) SetHITStatus(v HITStatus) *HIT { - s.HITStatus = v - return s -} - -// SetHITTypeId sets the HITTypeId field's value. -func (s *HIT) SetHITTypeId(v string) *HIT { - s.HITTypeId = &v - return s -} - -// SetKeywords sets the Keywords field's value. -func (s *HIT) SetKeywords(v string) *HIT { - s.Keywords = &v - return s -} - -// SetMaxAssignments sets the MaxAssignments field's value. -func (s *HIT) SetMaxAssignments(v int64) *HIT { - s.MaxAssignments = &v - return s -} - -// SetNumberOfAssignmentsAvailable sets the NumberOfAssignmentsAvailable field's value. -func (s *HIT) SetNumberOfAssignmentsAvailable(v int64) *HIT { - s.NumberOfAssignmentsAvailable = &v - return s -} - -// SetNumberOfAssignmentsCompleted sets the NumberOfAssignmentsCompleted field's value. -func (s *HIT) SetNumberOfAssignmentsCompleted(v int64) *HIT { - s.NumberOfAssignmentsCompleted = &v - return s -} - -// SetNumberOfAssignmentsPending sets the NumberOfAssignmentsPending field's value. -func (s *HIT) SetNumberOfAssignmentsPending(v int64) *HIT { - s.NumberOfAssignmentsPending = &v - return s -} - -// SetQualificationRequirements sets the QualificationRequirements field's value. -func (s *HIT) SetQualificationRequirements(v []QualificationRequirement) *HIT { - s.QualificationRequirements = v - return s -} - -// SetQuestion sets the Question field's value. -func (s *HIT) SetQuestion(v string) *HIT { - s.Question = &v - return s -} - -// SetRequesterAnnotation sets the RequesterAnnotation field's value. -func (s *HIT) SetRequesterAnnotation(v string) *HIT { - s.RequesterAnnotation = &v - return s -} - -// SetReward sets the Reward field's value. -func (s *HIT) SetReward(v string) *HIT { - s.Reward = &v - return s -} - -// SetTitle sets the Title field's value. -func (s *HIT) SetTitle(v string) *HIT { - s.Title = &v - return s -} - // The HITLayoutParameter data structure defines parameter values used with // a HITLayout. A HITLayout is a reusable Amazon Mechanical Turk project template // used to provide Human Intelligence Task (HIT) question data for CreateHIT. @@ -5320,18 +4594,6 @@ func (s *HITLayoutParameter) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *HITLayoutParameter) SetName(v string) *HITLayoutParameter { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *HITLayoutParameter) SetValue(v string) *HITLayoutParameter { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListAssignmentsForHITRequest type ListAssignmentsForHITInput struct { _ struct{} `type:"structure"` @@ -5383,30 +4645,6 @@ func (s *ListAssignmentsForHITInput) Validate() error { return nil } -// SetAssignmentStatuses sets the AssignmentStatuses field's value. -func (s *ListAssignmentsForHITInput) SetAssignmentStatuses(v []AssignmentStatus) *ListAssignmentsForHITInput { - s.AssignmentStatuses = v - return s -} - -// SetHITId sets the HITId field's value. -func (s *ListAssignmentsForHITInput) SetHITId(v string) *ListAssignmentsForHITInput { - s.HITId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListAssignmentsForHITInput) SetMaxResults(v int64) *ListAssignmentsForHITInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAssignmentsForHITInput) SetNextToken(v string) *ListAssignmentsForHITInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListAssignmentsForHITResponse type ListAssignmentsForHITOutput struct { _ struct{} `type:"structure"` @@ -5441,24 +4679,6 @@ func (s ListAssignmentsForHITOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssignments sets the Assignments field's value. -func (s *ListAssignmentsForHITOutput) SetAssignments(v []Assignment) *ListAssignmentsForHITOutput { - s.Assignments = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAssignmentsForHITOutput) SetNextToken(v string) *ListAssignmentsForHITOutput { - s.NextToken = &v - return s -} - -// SetNumResults sets the NumResults field's value. -func (s *ListAssignmentsForHITOutput) SetNumResults(v int64) *ListAssignmentsForHITOutput { - s.NumResults = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListBonusPaymentsRequest type ListBonusPaymentsInput struct { _ struct{} `type:"structure"` @@ -5511,30 +4731,6 @@ func (s *ListBonusPaymentsInput) Validate() error { return nil } -// SetAssignmentId sets the AssignmentId field's value. -func (s *ListBonusPaymentsInput) SetAssignmentId(v string) *ListBonusPaymentsInput { - s.AssignmentId = &v - return s -} - -// SetHITId sets the HITId field's value. -func (s *ListBonusPaymentsInput) SetHITId(v string) *ListBonusPaymentsInput { - s.HITId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListBonusPaymentsInput) SetMaxResults(v int64) *ListBonusPaymentsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListBonusPaymentsInput) SetNextToken(v string) *ListBonusPaymentsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListBonusPaymentsResponse type ListBonusPaymentsOutput struct { _ struct{} `type:"structure"` @@ -5570,24 +4766,6 @@ func (s ListBonusPaymentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBonusPayments sets the BonusPayments field's value. -func (s *ListBonusPaymentsOutput) SetBonusPayments(v []BonusPayment) *ListBonusPaymentsOutput { - s.BonusPayments = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListBonusPaymentsOutput) SetNextToken(v string) *ListBonusPaymentsOutput { - s.NextToken = &v - return s -} - -// SetNumResults sets the NumResults field's value. -func (s *ListBonusPaymentsOutput) SetNumResults(v int64) *ListBonusPaymentsOutput { - s.NumResults = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListHITsForQualificationTypeRequest type ListHITsForQualificationTypeInput struct { _ struct{} `type:"structure"` @@ -5637,24 +4815,6 @@ func (s *ListHITsForQualificationTypeInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListHITsForQualificationTypeInput) SetMaxResults(v int64) *ListHITsForQualificationTypeInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListHITsForQualificationTypeInput) SetNextToken(v string) *ListHITsForQualificationTypeInput { - s.NextToken = &v - return s -} - -// SetQualificationTypeId sets the QualificationTypeId field's value. -func (s *ListHITsForQualificationTypeInput) SetQualificationTypeId(v string) *ListHITsForQualificationTypeInput { - s.QualificationTypeId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListHITsForQualificationTypeResponse type ListHITsForQualificationTypeOutput struct { _ struct{} `type:"structure"` @@ -5689,24 +4849,6 @@ func (s ListHITsForQualificationTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHITs sets the HITs field's value. -func (s *ListHITsForQualificationTypeOutput) SetHITs(v []HIT) *ListHITsForQualificationTypeOutput { - s.HITs = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListHITsForQualificationTypeOutput) SetNextToken(v string) *ListHITsForQualificationTypeOutput { - s.NextToken = &v - return s -} - -// SetNumResults sets the NumResults field's value. -func (s *ListHITsForQualificationTypeOutput) SetNumResults(v int64) *ListHITsForQualificationTypeOutput { - s.NumResults = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListHITsRequest type ListHITsInput struct { _ struct{} `type:"structure"` @@ -5743,18 +4885,6 @@ func (s *ListHITsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListHITsInput) SetMaxResults(v int64) *ListHITsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListHITsInput) SetNextToken(v string) *ListHITsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListHITsResponse type ListHITsOutput struct { _ struct{} `type:"structure"` @@ -5789,24 +4919,6 @@ func (s ListHITsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHITs sets the HITs field's value. -func (s *ListHITsOutput) SetHITs(v []HIT) *ListHITsOutput { - s.HITs = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListHITsOutput) SetNextToken(v string) *ListHITsOutput { - s.NextToken = &v - return s -} - -// SetNumResults sets the NumResults field's value. -func (s *ListHITsOutput) SetNumResults(v int64) *ListHITsOutput { - s.NumResults = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListQualificationRequestsRequest type ListQualificationRequestsInput struct { _ struct{} `type:"structure"` @@ -5852,24 +4964,6 @@ func (s *ListQualificationRequestsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListQualificationRequestsInput) SetMaxResults(v int64) *ListQualificationRequestsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListQualificationRequestsInput) SetNextToken(v string) *ListQualificationRequestsInput { - s.NextToken = &v - return s -} - -// SetQualificationTypeId sets the QualificationTypeId field's value. -func (s *ListQualificationRequestsInput) SetQualificationTypeId(v string) *ListQualificationRequestsInput { - s.QualificationTypeId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListQualificationRequestsResponse type ListQualificationRequestsOutput struct { _ struct{} `type:"structure"` @@ -5906,24 +5000,6 @@ func (s ListQualificationRequestsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListQualificationRequestsOutput) SetNextToken(v string) *ListQualificationRequestsOutput { - s.NextToken = &v - return s -} - -// SetNumResults sets the NumResults field's value. -func (s *ListQualificationRequestsOutput) SetNumResults(v int64) *ListQualificationRequestsOutput { - s.NumResults = &v - return s -} - -// SetQualificationRequests sets the QualificationRequests field's value. -func (s *ListQualificationRequestsOutput) SetQualificationRequests(v []QualificationRequest) *ListQualificationRequestsOutput { - s.QualificationRequests = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListQualificationTypesRequest type ListQualificationTypesInput struct { _ struct{} `type:"structure"` @@ -5984,36 +5060,6 @@ func (s *ListQualificationTypesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListQualificationTypesInput) SetMaxResults(v int64) *ListQualificationTypesInput { - s.MaxResults = &v - return s -} - -// SetMustBeOwnedByCaller sets the MustBeOwnedByCaller field's value. -func (s *ListQualificationTypesInput) SetMustBeOwnedByCaller(v bool) *ListQualificationTypesInput { - s.MustBeOwnedByCaller = &v - return s -} - -// SetMustBeRequestable sets the MustBeRequestable field's value. -func (s *ListQualificationTypesInput) SetMustBeRequestable(v bool) *ListQualificationTypesInput { - s.MustBeRequestable = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListQualificationTypesInput) SetNextToken(v string) *ListQualificationTypesInput { - s.NextToken = &v - return s -} - -// SetQuery sets the Query field's value. -func (s *ListQualificationTypesInput) SetQuery(v string) *ListQualificationTypesInput { - s.Query = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListQualificationTypesResponse type ListQualificationTypesOutput struct { _ struct{} `type:"structure"` @@ -6048,24 +5094,6 @@ func (s ListQualificationTypesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListQualificationTypesOutput) SetNextToken(v string) *ListQualificationTypesOutput { - s.NextToken = &v - return s -} - -// SetNumResults sets the NumResults field's value. -func (s *ListQualificationTypesOutput) SetNumResults(v int64) *ListQualificationTypesOutput { - s.NumResults = &v - return s -} - -// SetQualificationTypes sets the QualificationTypes field's value. -func (s *ListQualificationTypesOutput) SetQualificationTypes(v []QualificationType) *ListQualificationTypesOutput { - s.QualificationTypes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListReviewPolicyResultsForHITRequest type ListReviewPolicyResultsForHITInput struct { _ struct{} `type:"structure"` @@ -6128,42 +5156,6 @@ func (s *ListReviewPolicyResultsForHITInput) Validate() error { return nil } -// SetHITId sets the HITId field's value. -func (s *ListReviewPolicyResultsForHITInput) SetHITId(v string) *ListReviewPolicyResultsForHITInput { - s.HITId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListReviewPolicyResultsForHITInput) SetMaxResults(v int64) *ListReviewPolicyResultsForHITInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListReviewPolicyResultsForHITInput) SetNextToken(v string) *ListReviewPolicyResultsForHITInput { - s.NextToken = &v - return s -} - -// SetPolicyLevels sets the PolicyLevels field's value. -func (s *ListReviewPolicyResultsForHITInput) SetPolicyLevels(v []ReviewPolicyLevel) *ListReviewPolicyResultsForHITInput { - s.PolicyLevels = v - return s -} - -// SetRetrieveActions sets the RetrieveActions field's value. -func (s *ListReviewPolicyResultsForHITInput) SetRetrieveActions(v bool) *ListReviewPolicyResultsForHITInput { - s.RetrieveActions = &v - return s -} - -// SetRetrieveResults sets the RetrieveResults field's value. -func (s *ListReviewPolicyResultsForHITInput) SetRetrieveResults(v bool) *ListReviewPolicyResultsForHITInput { - s.RetrieveResults = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListReviewPolicyResultsForHITResponse type ListReviewPolicyResultsForHITOutput struct { _ struct{} `type:"structure"` @@ -6208,42 +5200,6 @@ func (s ListReviewPolicyResultsForHITOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetAssignmentReviewPolicy sets the AssignmentReviewPolicy field's value. -func (s *ListReviewPolicyResultsForHITOutput) SetAssignmentReviewPolicy(v *ReviewPolicy) *ListReviewPolicyResultsForHITOutput { - s.AssignmentReviewPolicy = v - return s -} - -// SetAssignmentReviewReport sets the AssignmentReviewReport field's value. -func (s *ListReviewPolicyResultsForHITOutput) SetAssignmentReviewReport(v *ReviewReport) *ListReviewPolicyResultsForHITOutput { - s.AssignmentReviewReport = v - return s -} - -// SetHITId sets the HITId field's value. -func (s *ListReviewPolicyResultsForHITOutput) SetHITId(v string) *ListReviewPolicyResultsForHITOutput { - s.HITId = &v - return s -} - -// SetHITReviewPolicy sets the HITReviewPolicy field's value. -func (s *ListReviewPolicyResultsForHITOutput) SetHITReviewPolicy(v *ReviewPolicy) *ListReviewPolicyResultsForHITOutput { - s.HITReviewPolicy = v - return s -} - -// SetHITReviewReport sets the HITReviewReport field's value. -func (s *ListReviewPolicyResultsForHITOutput) SetHITReviewReport(v *ReviewReport) *ListReviewPolicyResultsForHITOutput { - s.HITReviewReport = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListReviewPolicyResultsForHITOutput) SetNextToken(v string) *ListReviewPolicyResultsForHITOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListReviewableHITsRequest type ListReviewableHITsInput struct { _ struct{} `type:"structure"` @@ -6291,30 +5247,6 @@ func (s *ListReviewableHITsInput) Validate() error { return nil } -// SetHITTypeId sets the HITTypeId field's value. -func (s *ListReviewableHITsInput) SetHITTypeId(v string) *ListReviewableHITsInput { - s.HITTypeId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListReviewableHITsInput) SetMaxResults(v int64) *ListReviewableHITsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListReviewableHITsInput) SetNextToken(v string) *ListReviewableHITsInput { - s.NextToken = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ListReviewableHITsInput) SetStatus(v ReviewableHITStatus) *ListReviewableHITsInput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListReviewableHITsResponse type ListReviewableHITsOutput struct { _ struct{} `type:"structure"` @@ -6349,24 +5281,6 @@ func (s ListReviewableHITsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHITs sets the HITs field's value. -func (s *ListReviewableHITsOutput) SetHITs(v []HIT) *ListReviewableHITsOutput { - s.HITs = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListReviewableHITsOutput) SetNextToken(v string) *ListReviewableHITsOutput { - s.NextToken = &v - return s -} - -// SetNumResults sets the NumResults field's value. -func (s *ListReviewableHITsOutput) SetNumResults(v int64) *ListReviewableHITsOutput { - s.NumResults = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListWorkerBlocksRequest type ListWorkerBlocksInput struct { _ struct{} `type:"structure"` @@ -6403,18 +5317,6 @@ func (s *ListWorkerBlocksInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListWorkerBlocksInput) SetMaxResults(v int64) *ListWorkerBlocksInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListWorkerBlocksInput) SetNextToken(v string) *ListWorkerBlocksInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListWorkerBlocksResponse type ListWorkerBlocksOutput struct { _ struct{} `type:"structure"` @@ -6450,24 +5352,6 @@ func (s ListWorkerBlocksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListWorkerBlocksOutput) SetNextToken(v string) *ListWorkerBlocksOutput { - s.NextToken = &v - return s -} - -// SetNumResults sets the NumResults field's value. -func (s *ListWorkerBlocksOutput) SetNumResults(v int64) *ListWorkerBlocksOutput { - s.NumResults = &v - return s -} - -// SetWorkerBlocks sets the WorkerBlocks field's value. -func (s *ListWorkerBlocksOutput) SetWorkerBlocks(v []WorkerBlock) *ListWorkerBlocksOutput { - s.WorkerBlocks = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListWorkersWithQualificationTypeRequest type ListWorkersWithQualificationTypeInput struct { _ struct{} `type:"structure"` @@ -6520,30 +5404,6 @@ func (s *ListWorkersWithQualificationTypeInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListWorkersWithQualificationTypeInput) SetMaxResults(v int64) *ListWorkersWithQualificationTypeInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListWorkersWithQualificationTypeInput) SetNextToken(v string) *ListWorkersWithQualificationTypeInput { - s.NextToken = &v - return s -} - -// SetQualificationTypeId sets the QualificationTypeId field's value. -func (s *ListWorkersWithQualificationTypeInput) SetQualificationTypeId(v string) *ListWorkersWithQualificationTypeInput { - s.QualificationTypeId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ListWorkersWithQualificationTypeInput) SetStatus(v QualificationStatus) *ListWorkersWithQualificationTypeInput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListWorkersWithQualificationTypeResponse type ListWorkersWithQualificationTypeOutput struct { _ struct{} `type:"structure"` @@ -6578,24 +5438,6 @@ func (s ListWorkersWithQualificationTypeOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListWorkersWithQualificationTypeOutput) SetNextToken(v string) *ListWorkersWithQualificationTypeOutput { - s.NextToken = &v - return s -} - -// SetNumResults sets the NumResults field's value. -func (s *ListWorkersWithQualificationTypeOutput) SetNumResults(v int64) *ListWorkersWithQualificationTypeOutput { - s.NumResults = &v - return s -} - -// SetQualifications sets the Qualifications field's value. -func (s *ListWorkersWithQualificationTypeOutput) SetQualifications(v []Qualification) *ListWorkersWithQualificationTypeOutput { - s.Qualifications = v - return s -} - // The Locale data structure represents a geographical region or location. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/Locale type Locale struct { @@ -6642,18 +5484,6 @@ func (s *Locale) Validate() error { return nil } -// SetCountry sets the Country field's value. -func (s *Locale) SetCountry(v string) *Locale { - s.Country = &v - return s -} - -// SetSubdivision sets the Subdivision field's value. -func (s *Locale) SetSubdivision(v string) *Locale { - s.Subdivision = &v - return s -} - // The NotificationSpecification data structure describes a HIT event notification // for a HIT type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/NotificationSpecification @@ -6728,30 +5558,6 @@ func (s *NotificationSpecification) Validate() error { return nil } -// SetDestination sets the Destination field's value. -func (s *NotificationSpecification) SetDestination(v string) *NotificationSpecification { - s.Destination = &v - return s -} - -// SetEventTypes sets the EventTypes field's value. -func (s *NotificationSpecification) SetEventTypes(v []EventType) *NotificationSpecification { - s.EventTypes = v - return s -} - -// SetTransport sets the Transport field's value. -func (s *NotificationSpecification) SetTransport(v NotificationTransport) *NotificationSpecification { - s.Transport = v - return s -} - -// SetVersion sets the Version field's value. -func (s *NotificationSpecification) SetVersion(v string) *NotificationSpecification { - s.Version = &v - return s -} - // When MTurk encounters an issue with notifying the Workers you specified, // it returns back this object with failure details. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/NotifyWorkersFailureStatus @@ -6778,24 +5584,6 @@ func (s NotifyWorkersFailureStatus) GoString() string { return s.String() } -// SetNotifyWorkersFailureCode sets the NotifyWorkersFailureCode field's value. -func (s *NotifyWorkersFailureStatus) SetNotifyWorkersFailureCode(v NotifyWorkersFailureCode) *NotifyWorkersFailureStatus { - s.NotifyWorkersFailureCode = v - return s -} - -// SetNotifyWorkersFailureMessage sets the NotifyWorkersFailureMessage field's value. -func (s *NotifyWorkersFailureStatus) SetNotifyWorkersFailureMessage(v string) *NotifyWorkersFailureStatus { - s.NotifyWorkersFailureMessage = &v - return s -} - -// SetWorkerId sets the WorkerId field's value. -func (s *NotifyWorkersFailureStatus) SetWorkerId(v string) *NotifyWorkersFailureStatus { - s.WorkerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/NotifyWorkersRequest type NotifyWorkersInput struct { _ struct{} `type:"structure"` @@ -6849,24 +5637,6 @@ func (s *NotifyWorkersInput) Validate() error { return nil } -// SetMessageText sets the MessageText field's value. -func (s *NotifyWorkersInput) SetMessageText(v string) *NotifyWorkersInput { - s.MessageText = &v - return s -} - -// SetSubject sets the Subject field's value. -func (s *NotifyWorkersInput) SetSubject(v string) *NotifyWorkersInput { - s.Subject = &v - return s -} - -// SetWorkerIds sets the WorkerIds field's value. -func (s *NotifyWorkersInput) SetWorkerIds(v []string) *NotifyWorkersInput { - s.WorkerIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/NotifyWorkersResponse type NotifyWorkersOutput struct { _ struct{} `type:"structure"` @@ -6893,12 +5663,6 @@ func (s NotifyWorkersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNotifyWorkersFailureStatuses sets the NotifyWorkersFailureStatuses field's value. -func (s *NotifyWorkersOutput) SetNotifyWorkersFailureStatuses(v []NotifyWorkersFailureStatus) *NotifyWorkersOutput { - s.NotifyWorkersFailureStatuses = v - return s -} - // This data structure is the data type for the AnswerKey parameter of the ScoreMyKnownAnswers/2011-09-01 // Review Policy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ParameterMapEntry @@ -6925,18 +5689,6 @@ func (s ParameterMapEntry) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *ParameterMapEntry) SetKey(v string) *ParameterMapEntry { - s.Key = &v - return s -} - -// SetValues sets the Values field's value. -func (s *ParameterMapEntry) SetValues(v []string) *ParameterMapEntry { - s.Values = v - return s -} - // Name of the parameter from the Review policy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/PolicyParameter type PolicyParameter struct { @@ -6962,24 +5714,6 @@ func (s PolicyParameter) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *PolicyParameter) SetKey(v string) *PolicyParameter { - s.Key = &v - return s -} - -// SetMapEntries sets the MapEntries field's value. -func (s *PolicyParameter) SetMapEntries(v []ParameterMapEntry) *PolicyParameter { - s.MapEntries = v - return s -} - -// SetValues sets the Values field's value. -func (s *PolicyParameter) SetValues(v []string) *PolicyParameter { - s.Values = v - return s -} - // The Qualification data structure represents a Qualification assigned to a // user, including the Qualification type and the value (score). // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/Qualification @@ -7019,42 +5753,6 @@ func (s Qualification) GoString() string { return s.String() } -// SetGrantTime sets the GrantTime field's value. -func (s *Qualification) SetGrantTime(v time.Time) *Qualification { - s.GrantTime = &v - return s -} - -// SetIntegerValue sets the IntegerValue field's value. -func (s *Qualification) SetIntegerValue(v int64) *Qualification { - s.IntegerValue = &v - return s -} - -// SetLocaleValue sets the LocaleValue field's value. -func (s *Qualification) SetLocaleValue(v *Locale) *Qualification { - s.LocaleValue = v - return s -} - -// SetQualificationTypeId sets the QualificationTypeId field's value. -func (s *Qualification) SetQualificationTypeId(v string) *Qualification { - s.QualificationTypeId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Qualification) SetStatus(v QualificationStatus) *Qualification { - s.Status = v - return s -} - -// SetWorkerId sets the WorkerId field's value. -func (s *Qualification) SetWorkerId(v string) *Qualification { - s.WorkerId = &v - return s -} - // The QualificationRequest data structure represents a request a Worker has // made for a Qualification. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/QualificationRequest @@ -7100,42 +5798,6 @@ func (s QualificationRequest) GoString() string { return s.String() } -// SetAnswer sets the Answer field's value. -func (s *QualificationRequest) SetAnswer(v string) *QualificationRequest { - s.Answer = &v - return s -} - -// SetQualificationRequestId sets the QualificationRequestId field's value. -func (s *QualificationRequest) SetQualificationRequestId(v string) *QualificationRequest { - s.QualificationRequestId = &v - return s -} - -// SetQualificationTypeId sets the QualificationTypeId field's value. -func (s *QualificationRequest) SetQualificationTypeId(v string) *QualificationRequest { - s.QualificationTypeId = &v - return s -} - -// SetSubmitTime sets the SubmitTime field's value. -func (s *QualificationRequest) SetSubmitTime(v time.Time) *QualificationRequest { - s.SubmitTime = &v - return s -} - -// SetTest sets the Test field's value. -func (s *QualificationRequest) SetTest(v string) *QualificationRequest { - s.Test = &v - return s -} - -// SetWorkerId sets the WorkerId field's value. -func (s *QualificationRequest) SetWorkerId(v string) *QualificationRequest { - s.WorkerId = &v - return s -} - // The QualificationRequirement data structure describes a Qualification that // a Worker must have before the Worker is allowed to accept a HIT. A requirement // may optionally state that a Worker must have the Qualification in order to @@ -7224,36 +5886,6 @@ func (s *QualificationRequirement) Validate() error { return nil } -// SetComparator sets the Comparator field's value. -func (s *QualificationRequirement) SetComparator(v Comparator) *QualificationRequirement { - s.Comparator = v - return s -} - -// SetIntegerValues sets the IntegerValues field's value. -func (s *QualificationRequirement) SetIntegerValues(v []int64) *QualificationRequirement { - s.IntegerValues = v - return s -} - -// SetLocaleValues sets the LocaleValues field's value. -func (s *QualificationRequirement) SetLocaleValues(v []Locale) *QualificationRequirement { - s.LocaleValues = v - return s -} - -// SetQualificationTypeId sets the QualificationTypeId field's value. -func (s *QualificationRequirement) SetQualificationTypeId(v string) *QualificationRequirement { - s.QualificationTypeId = &v - return s -} - -// SetRequiredToPreview sets the RequiredToPreview field's value. -func (s *QualificationRequirement) SetRequiredToPreview(v bool) *QualificationRequirement { - s.RequiredToPreview = &v - return s -} - // The QualificationType data structure represents a Qualification type, a description // of a property of a Worker that must match the requirements of a HIT for the // Worker to be able to accept the HIT. The type also describes how a Worker @@ -7334,84 +5966,6 @@ func (s QualificationType) GoString() string { return s.String() } -// SetAnswerKey sets the AnswerKey field's value. -func (s *QualificationType) SetAnswerKey(v string) *QualificationType { - s.AnswerKey = &v - return s -} - -// SetAutoGranted sets the AutoGranted field's value. -func (s *QualificationType) SetAutoGranted(v bool) *QualificationType { - s.AutoGranted = &v - return s -} - -// SetAutoGrantedValue sets the AutoGrantedValue field's value. -func (s *QualificationType) SetAutoGrantedValue(v int64) *QualificationType { - s.AutoGrantedValue = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *QualificationType) SetCreationTime(v time.Time) *QualificationType { - s.CreationTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *QualificationType) SetDescription(v string) *QualificationType { - s.Description = &v - return s -} - -// SetIsRequestable sets the IsRequestable field's value. -func (s *QualificationType) SetIsRequestable(v bool) *QualificationType { - s.IsRequestable = &v - return s -} - -// SetKeywords sets the Keywords field's value. -func (s *QualificationType) SetKeywords(v string) *QualificationType { - s.Keywords = &v - return s -} - -// SetName sets the Name field's value. -func (s *QualificationType) SetName(v string) *QualificationType { - s.Name = &v - return s -} - -// SetQualificationTypeId sets the QualificationTypeId field's value. -func (s *QualificationType) SetQualificationTypeId(v string) *QualificationType { - s.QualificationTypeId = &v - return s -} - -// SetQualificationTypeStatus sets the QualificationTypeStatus field's value. -func (s *QualificationType) SetQualificationTypeStatus(v QualificationTypeStatus) *QualificationType { - s.QualificationTypeStatus = v - return s -} - -// SetRetryDelayInSeconds sets the RetryDelayInSeconds field's value. -func (s *QualificationType) SetRetryDelayInSeconds(v int64) *QualificationType { - s.RetryDelayInSeconds = &v - return s -} - -// SetTest sets the Test field's value. -func (s *QualificationType) SetTest(v string) *QualificationType { - s.Test = &v - return s -} - -// SetTestDurationInSeconds sets the TestDurationInSeconds field's value. -func (s *QualificationType) SetTestDurationInSeconds(v int64) *QualificationType { - s.TestDurationInSeconds = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/RejectAssignmentRequest type RejectAssignmentInput struct { _ struct{} `type:"structure"` @@ -7460,18 +6014,6 @@ func (s *RejectAssignmentInput) Validate() error { return nil } -// SetAssignmentId sets the AssignmentId field's value. -func (s *RejectAssignmentInput) SetAssignmentId(v string) *RejectAssignmentInput { - s.AssignmentId = &v - return s -} - -// SetRequesterFeedback sets the RequesterFeedback field's value. -func (s *RejectAssignmentInput) SetRequesterFeedback(v string) *RejectAssignmentInput { - s.RequesterFeedback = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/RejectAssignmentResponse type RejectAssignmentOutput struct { _ struct{} `type:"structure"` @@ -7533,18 +6075,6 @@ func (s *RejectQualificationRequestInput) Validate() error { return nil } -// SetQualificationRequestId sets the QualificationRequestId field's value. -func (s *RejectQualificationRequestInput) SetQualificationRequestId(v string) *RejectQualificationRequestInput { - s.QualificationRequestId = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *RejectQualificationRequestInput) SetReason(v string) *RejectQualificationRequestInput { - s.Reason = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/RejectQualificationRequestResponse type RejectQualificationRequestOutput struct { _ struct{} `type:"structure"` @@ -7611,54 +6141,6 @@ func (s ReviewActionDetail) GoString() string { return s.String() } -// SetActionId sets the ActionId field's value. -func (s *ReviewActionDetail) SetActionId(v string) *ReviewActionDetail { - s.ActionId = &v - return s -} - -// SetActionName sets the ActionName field's value. -func (s *ReviewActionDetail) SetActionName(v string) *ReviewActionDetail { - s.ActionName = &v - return s -} - -// SetCompleteTime sets the CompleteTime field's value. -func (s *ReviewActionDetail) SetCompleteTime(v time.Time) *ReviewActionDetail { - s.CompleteTime = &v - return s -} - -// SetErrorCode sets the ErrorCode field's value. -func (s *ReviewActionDetail) SetErrorCode(v string) *ReviewActionDetail { - s.ErrorCode = &v - return s -} - -// SetResult sets the Result field's value. -func (s *ReviewActionDetail) SetResult(v string) *ReviewActionDetail { - s.Result = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ReviewActionDetail) SetStatus(v ReviewActionStatus) *ReviewActionDetail { - s.Status = v - return s -} - -// SetTargetId sets the TargetId field's value. -func (s *ReviewActionDetail) SetTargetId(v string) *ReviewActionDetail { - s.TargetId = &v - return s -} - -// SetTargetType sets the TargetType field's value. -func (s *ReviewActionDetail) SetTargetType(v string) *ReviewActionDetail { - s.TargetType = &v - return s -} - // HIT Review Policy data structures represent HIT review policies, which you // specify when you create a HIT. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ReviewPolicy @@ -7698,18 +6180,6 @@ func (s *ReviewPolicy) Validate() error { return nil } -// SetParameters sets the Parameters field's value. -func (s *ReviewPolicy) SetParameters(v []PolicyParameter) *ReviewPolicy { - s.Parameters = v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *ReviewPolicy) SetPolicyName(v string) *ReviewPolicy { - s.PolicyName = &v - return s -} - // Contains both ReviewResult and ReviewAction elements for a particular HIT. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ReviewReport type ReviewReport struct { @@ -7732,18 +6202,6 @@ func (s ReviewReport) GoString() string { return s.String() } -// SetReviewActions sets the ReviewActions field's value. -func (s *ReviewReport) SetReviewActions(v []ReviewActionDetail) *ReviewReport { - s.ReviewActions = v - return s -} - -// SetReviewResults sets the ReviewResults field's value. -func (s *ReviewReport) SetReviewResults(v []ReviewResultDetail) *ReviewReport { - s.ReviewResults = v - return s -} - // This data structure is returned multiple times for each result specified // in the Review Policy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ReviewResultDetail @@ -7787,42 +6245,6 @@ func (s ReviewResultDetail) GoString() string { return s.String() } -// SetActionId sets the ActionId field's value. -func (s *ReviewResultDetail) SetActionId(v string) *ReviewResultDetail { - s.ActionId = &v - return s -} - -// SetKey sets the Key field's value. -func (s *ReviewResultDetail) SetKey(v string) *ReviewResultDetail { - s.Key = &v - return s -} - -// SetQuestionId sets the QuestionId field's value. -func (s *ReviewResultDetail) SetQuestionId(v string) *ReviewResultDetail { - s.QuestionId = &v - return s -} - -// SetSubjectId sets the SubjectId field's value. -func (s *ReviewResultDetail) SetSubjectId(v string) *ReviewResultDetail { - s.SubjectId = &v - return s -} - -// SetSubjectType sets the SubjectType field's value. -func (s *ReviewResultDetail) SetSubjectType(v string) *ReviewResultDetail { - s.SubjectType = &v - return s -} - -// SetValue sets the Value field's value. -func (s *ReviewResultDetail) SetValue(v string) *ReviewResultDetail { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/SendBonusRequest type SendBonusInput struct { _ struct{} `type:"structure"` @@ -7904,36 +6326,6 @@ func (s *SendBonusInput) Validate() error { return nil } -// SetAssignmentId sets the AssignmentId field's value. -func (s *SendBonusInput) SetAssignmentId(v string) *SendBonusInput { - s.AssignmentId = &v - return s -} - -// SetBonusAmount sets the BonusAmount field's value. -func (s *SendBonusInput) SetBonusAmount(v string) *SendBonusInput { - s.BonusAmount = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *SendBonusInput) SetReason(v string) *SendBonusInput { - s.Reason = &v - return s -} - -// SetUniqueRequestToken sets the UniqueRequestToken field's value. -func (s *SendBonusInput) SetUniqueRequestToken(v string) *SendBonusInput { - s.UniqueRequestToken = &v - return s -} - -// SetWorkerId sets the WorkerId field's value. -func (s *SendBonusInput) SetWorkerId(v string) *SendBonusInput { - s.WorkerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/SendBonusResponse type SendBonusOutput struct { _ struct{} `type:"structure"` @@ -8008,18 +6400,6 @@ func (s *SendTestEventNotificationInput) Validate() error { return nil } -// SetNotification sets the Notification field's value. -func (s *SendTestEventNotificationInput) SetNotification(v *NotificationSpecification) *SendTestEventNotificationInput { - s.Notification = v - return s -} - -// SetTestEventType sets the TestEventType field's value. -func (s *SendTestEventNotificationInput) SetTestEventType(v EventType) *SendTestEventNotificationInput { - s.TestEventType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/SendTestEventNotificationResponse type SendTestEventNotificationOutput struct { _ struct{} `type:"structure"` @@ -8088,18 +6468,6 @@ func (s *UpdateExpirationForHITInput) Validate() error { return nil } -// SetExpireAt sets the ExpireAt field's value. -func (s *UpdateExpirationForHITInput) SetExpireAt(v time.Time) *UpdateExpirationForHITInput { - s.ExpireAt = &v - return s -} - -// SetHITId sets the HITId field's value. -func (s *UpdateExpirationForHITInput) SetHITId(v string) *UpdateExpirationForHITInput { - s.HITId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/UpdateExpirationForHITResponse type UpdateExpirationForHITOutput struct { _ struct{} `type:"structure"` @@ -8167,18 +6535,6 @@ func (s *UpdateHITReviewStatusInput) Validate() error { return nil } -// SetHITId sets the HITId field's value. -func (s *UpdateHITReviewStatusInput) SetHITId(v string) *UpdateHITReviewStatusInput { - s.HITId = &v - return s -} - -// SetRevert sets the Revert field's value. -func (s *UpdateHITReviewStatusInput) SetRevert(v bool) *UpdateHITReviewStatusInput { - s.Revert = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/UpdateHITReviewStatusResponse type UpdateHITReviewStatusOutput struct { _ struct{} `type:"structure"` @@ -8250,18 +6606,6 @@ func (s *UpdateHITTypeOfHITInput) Validate() error { return nil } -// SetHITId sets the HITId field's value. -func (s *UpdateHITTypeOfHITInput) SetHITId(v string) *UpdateHITTypeOfHITInput { - s.HITId = &v - return s -} - -// SetHITTypeId sets the HITTypeId field's value. -func (s *UpdateHITTypeOfHITInput) SetHITTypeId(v string) *UpdateHITTypeOfHITInput { - s.HITTypeId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/UpdateHITTypeOfHITResponse type UpdateHITTypeOfHITOutput struct { _ struct{} `type:"structure"` @@ -8335,24 +6679,6 @@ func (s *UpdateNotificationSettingsInput) Validate() error { return nil } -// SetActive sets the Active field's value. -func (s *UpdateNotificationSettingsInput) SetActive(v bool) *UpdateNotificationSettingsInput { - s.Active = &v - return s -} - -// SetHITTypeId sets the HITTypeId field's value. -func (s *UpdateNotificationSettingsInput) SetHITTypeId(v string) *UpdateNotificationSettingsInput { - s.HITTypeId = &v - return s -} - -// SetNotification sets the Notification field's value. -func (s *UpdateNotificationSettingsInput) SetNotification(v *NotificationSpecification) *UpdateNotificationSettingsInput { - s.Notification = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/UpdateNotificationSettingsResponse type UpdateNotificationSettingsOutput struct { _ struct{} `type:"structure"` @@ -8457,60 +6783,6 @@ func (s *UpdateQualificationTypeInput) Validate() error { return nil } -// SetAnswerKey sets the AnswerKey field's value. -func (s *UpdateQualificationTypeInput) SetAnswerKey(v string) *UpdateQualificationTypeInput { - s.AnswerKey = &v - return s -} - -// SetAutoGranted sets the AutoGranted field's value. -func (s *UpdateQualificationTypeInput) SetAutoGranted(v bool) *UpdateQualificationTypeInput { - s.AutoGranted = &v - return s -} - -// SetAutoGrantedValue sets the AutoGrantedValue field's value. -func (s *UpdateQualificationTypeInput) SetAutoGrantedValue(v int64) *UpdateQualificationTypeInput { - s.AutoGrantedValue = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateQualificationTypeInput) SetDescription(v string) *UpdateQualificationTypeInput { - s.Description = &v - return s -} - -// SetQualificationTypeId sets the QualificationTypeId field's value. -func (s *UpdateQualificationTypeInput) SetQualificationTypeId(v string) *UpdateQualificationTypeInput { - s.QualificationTypeId = &v - return s -} - -// SetQualificationTypeStatus sets the QualificationTypeStatus field's value. -func (s *UpdateQualificationTypeInput) SetQualificationTypeStatus(v QualificationTypeStatus) *UpdateQualificationTypeInput { - s.QualificationTypeStatus = v - return s -} - -// SetRetryDelayInSeconds sets the RetryDelayInSeconds field's value. -func (s *UpdateQualificationTypeInput) SetRetryDelayInSeconds(v int64) *UpdateQualificationTypeInput { - s.RetryDelayInSeconds = &v - return s -} - -// SetTest sets the Test field's value. -func (s *UpdateQualificationTypeInput) SetTest(v string) *UpdateQualificationTypeInput { - s.Test = &v - return s -} - -// SetTestDurationInSeconds sets the TestDurationInSeconds field's value. -func (s *UpdateQualificationTypeInput) SetTestDurationInSeconds(v int64) *UpdateQualificationTypeInput { - s.TestDurationInSeconds = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/UpdateQualificationTypeResponse type UpdateQualificationTypeOutput struct { _ struct{} `type:"structure"` @@ -8536,12 +6808,6 @@ func (s UpdateQualificationTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetQualificationType sets the QualificationType field's value. -func (s *UpdateQualificationTypeOutput) SetQualificationType(v *QualificationType) *UpdateQualificationTypeOutput { - s.QualificationType = v - return s -} - // The WorkerBlock data structure represents a Worker who has been blocked. // It has two elements: the WorkerId and the Reason for the block. // Please also see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/WorkerBlock @@ -8565,18 +6831,6 @@ func (s WorkerBlock) GoString() string { return s.String() } -// SetReason sets the Reason field's value. -func (s *WorkerBlock) SetReason(v string) *WorkerBlock { - s.Reason = &v - return s -} - -// SetWorkerId sets the WorkerId field's value. -func (s *WorkerBlock) SetWorkerId(v string) *WorkerBlock { - s.WorkerId = &v - return s -} - type AssignmentStatus string // Enum values for AssignmentStatus diff --git a/service/opsworks/api.go b/service/opsworks/api.go index 270b20e9bb1..7a510487c14 100644 --- a/service/opsworks/api.go +++ b/service/opsworks/api.go @@ -4203,18 +4203,6 @@ func (s AgentVersion) GoString() string { return s.String() } -// SetConfigurationManager sets the ConfigurationManager field's value. -func (s *AgentVersion) SetConfigurationManager(v *StackConfigurationManager) *AgentVersion { - s.ConfigurationManager = v - return s -} - -// SetVersion sets the Version field's value. -func (s *AgentVersion) SetVersion(v string) *AgentVersion { - s.Version = &v - return s -} - // A description of the app. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/App type App struct { @@ -4284,90 +4272,6 @@ func (s App) GoString() string { return s.String() } -// SetAppId sets the AppId field's value. -func (s *App) SetAppId(v string) *App { - s.AppId = &v - return s -} - -// SetAppSource sets the AppSource field's value. -func (s *App) SetAppSource(v *Source) *App { - s.AppSource = v - return s -} - -// SetAttributes sets the Attributes field's value. -func (s *App) SetAttributes(v map[string]string) *App { - s.Attributes = v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *App) SetCreatedAt(v string) *App { - s.CreatedAt = &v - return s -} - -// SetDataSources sets the DataSources field's value. -func (s *App) SetDataSources(v []DataSource) *App { - s.DataSources = v - return s -} - -// SetDescription sets the Description field's value. -func (s *App) SetDescription(v string) *App { - s.Description = &v - return s -} - -// SetDomains sets the Domains field's value. -func (s *App) SetDomains(v []string) *App { - s.Domains = v - return s -} - -// SetEnableSsl sets the EnableSsl field's value. -func (s *App) SetEnableSsl(v bool) *App { - s.EnableSsl = &v - return s -} - -// SetEnvironment sets the Environment field's value. -func (s *App) SetEnvironment(v []EnvironmentVariable) *App { - s.Environment = v - return s -} - -// SetName sets the Name field's value. -func (s *App) SetName(v string) *App { - s.Name = &v - return s -} - -// SetShortname sets the Shortname field's value. -func (s *App) SetShortname(v string) *App { - s.Shortname = &v - return s -} - -// SetSslConfiguration sets the SslConfiguration field's value. -func (s *App) SetSslConfiguration(v *SslConfiguration) *App { - s.SslConfiguration = v - return s -} - -// SetStackId sets the StackId field's value. -func (s *App) SetStackId(v string) *App { - s.StackId = &v - return s -} - -// SetType sets the Type field's value. -func (s *App) SetType(v AppType) *App { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignInstanceRequest type AssignInstanceInput struct { _ struct{} `type:"structure"` @@ -4412,18 +4316,6 @@ func (s *AssignInstanceInput) Validate() error { return nil } -// SetInstanceId sets the InstanceId field's value. -func (s *AssignInstanceInput) SetInstanceId(v string) *AssignInstanceInput { - s.InstanceId = &v - return s -} - -// SetLayerIds sets the LayerIds field's value. -func (s *AssignInstanceInput) SetLayerIds(v []string) *AssignInstanceInput { - s.LayerIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignInstanceOutput type AssignInstanceOutput struct { _ struct{} `type:"structure"` @@ -4483,18 +4375,6 @@ func (s *AssignVolumeInput) Validate() error { return nil } -// SetInstanceId sets the InstanceId field's value. -func (s *AssignVolumeInput) SetInstanceId(v string) *AssignVolumeInput { - s.InstanceId = &v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *AssignVolumeInput) SetVolumeId(v string) *AssignVolumeInput { - s.VolumeId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignVolumeOutput type AssignVolumeOutput struct { _ struct{} `type:"structure"` @@ -4554,18 +4434,6 @@ func (s *AssociateElasticIpInput) Validate() error { return nil } -// SetElasticIp sets the ElasticIp field's value. -func (s *AssociateElasticIpInput) SetElasticIp(v string) *AssociateElasticIpInput { - s.ElasticIp = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *AssociateElasticIpInput) SetInstanceId(v string) *AssociateElasticIpInput { - s.InstanceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssociateElasticIpOutput type AssociateElasticIpOutput struct { _ struct{} `type:"structure"` @@ -4632,18 +4500,6 @@ func (s *AttachElasticLoadBalancerInput) Validate() error { return nil } -// SetElasticLoadBalancerName sets the ElasticLoadBalancerName field's value. -func (s *AttachElasticLoadBalancerInput) SetElasticLoadBalancerName(v string) *AttachElasticLoadBalancerInput { - s.ElasticLoadBalancerName = &v - return s -} - -// SetLayerId sets the LayerId field's value. -func (s *AttachElasticLoadBalancerInput) SetLayerId(v string) *AttachElasticLoadBalancerInput { - s.LayerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AttachElasticLoadBalancerOutput type AttachElasticLoadBalancerOutput struct { _ struct{} `type:"structure"` @@ -4738,48 +4594,6 @@ func (s *AutoScalingThresholds) Validate() error { return nil } -// SetAlarms sets the Alarms field's value. -func (s *AutoScalingThresholds) SetAlarms(v []string) *AutoScalingThresholds { - s.Alarms = v - return s -} - -// SetCpuThreshold sets the CpuThreshold field's value. -func (s *AutoScalingThresholds) SetCpuThreshold(v float64) *AutoScalingThresholds { - s.CpuThreshold = &v - return s -} - -// SetIgnoreMetricsTime sets the IgnoreMetricsTime field's value. -func (s *AutoScalingThresholds) SetIgnoreMetricsTime(v int64) *AutoScalingThresholds { - s.IgnoreMetricsTime = &v - return s -} - -// SetInstanceCount sets the InstanceCount field's value. -func (s *AutoScalingThresholds) SetInstanceCount(v int64) *AutoScalingThresholds { - s.InstanceCount = &v - return s -} - -// SetLoadThreshold sets the LoadThreshold field's value. -func (s *AutoScalingThresholds) SetLoadThreshold(v float64) *AutoScalingThresholds { - s.LoadThreshold = &v - return s -} - -// SetMemoryThreshold sets the MemoryThreshold field's value. -func (s *AutoScalingThresholds) SetMemoryThreshold(v float64) *AutoScalingThresholds { - s.MemoryThreshold = &v - return s -} - -// SetThresholdsWaitTime sets the ThresholdsWaitTime field's value. -func (s *AutoScalingThresholds) SetThresholdsWaitTime(v int64) *AutoScalingThresholds { - s.ThresholdsWaitTime = &v - return s -} - // Describes a block device mapping. This data type maps directly to the Amazon // EC2 BlockDeviceMapping (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_BlockDeviceMapping.html) // data type. @@ -4813,30 +4627,6 @@ func (s BlockDeviceMapping) GoString() string { return s.String() } -// SetDeviceName sets the DeviceName field's value. -func (s *BlockDeviceMapping) SetDeviceName(v string) *BlockDeviceMapping { - s.DeviceName = &v - return s -} - -// SetEbs sets the Ebs field's value. -func (s *BlockDeviceMapping) SetEbs(v *EbsBlockDevice) *BlockDeviceMapping { - s.Ebs = v - return s -} - -// SetNoDevice sets the NoDevice field's value. -func (s *BlockDeviceMapping) SetNoDevice(v string) *BlockDeviceMapping { - s.NoDevice = &v - return s -} - -// SetVirtualName sets the VirtualName field's value. -func (s *BlockDeviceMapping) SetVirtualName(v string) *BlockDeviceMapping { - s.VirtualName = &v - return s -} - // Describes the Chef configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ChefConfiguration type ChefConfiguration struct { @@ -4859,18 +4649,6 @@ func (s ChefConfiguration) GoString() string { return s.String() } -// SetBerkshelfVersion sets the BerkshelfVersion field's value. -func (s *ChefConfiguration) SetBerkshelfVersion(v string) *ChefConfiguration { - s.BerkshelfVersion = &v - return s -} - -// SetManageBerkshelf sets the ManageBerkshelf field's value. -func (s *ChefConfiguration) SetManageBerkshelf(v bool) *ChefConfiguration { - s.ManageBerkshelf = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloneStackRequest type CloneStackInput struct { _ struct{} `type:"structure"` @@ -5134,138 +4912,6 @@ func (s *CloneStackInput) Validate() error { return nil } -// SetAgentVersion sets the AgentVersion field's value. -func (s *CloneStackInput) SetAgentVersion(v string) *CloneStackInput { - s.AgentVersion = &v - return s -} - -// SetAttributes sets the Attributes field's value. -func (s *CloneStackInput) SetAttributes(v map[string]string) *CloneStackInput { - s.Attributes = v - return s -} - -// SetChefConfiguration sets the ChefConfiguration field's value. -func (s *CloneStackInput) SetChefConfiguration(v *ChefConfiguration) *CloneStackInput { - s.ChefConfiguration = v - return s -} - -// SetCloneAppIds sets the CloneAppIds field's value. -func (s *CloneStackInput) SetCloneAppIds(v []string) *CloneStackInput { - s.CloneAppIds = v - return s -} - -// SetClonePermissions sets the ClonePermissions field's value. -func (s *CloneStackInput) SetClonePermissions(v bool) *CloneStackInput { - s.ClonePermissions = &v - return s -} - -// SetConfigurationManager sets the ConfigurationManager field's value. -func (s *CloneStackInput) SetConfigurationManager(v *StackConfigurationManager) *CloneStackInput { - s.ConfigurationManager = v - return s -} - -// SetCustomCookbooksSource sets the CustomCookbooksSource field's value. -func (s *CloneStackInput) SetCustomCookbooksSource(v *Source) *CloneStackInput { - s.CustomCookbooksSource = v - return s -} - -// SetCustomJson sets the CustomJson field's value. -func (s *CloneStackInput) SetCustomJson(v string) *CloneStackInput { - s.CustomJson = &v - return s -} - -// SetDefaultAvailabilityZone sets the DefaultAvailabilityZone field's value. -func (s *CloneStackInput) SetDefaultAvailabilityZone(v string) *CloneStackInput { - s.DefaultAvailabilityZone = &v - return s -} - -// SetDefaultInstanceProfileArn sets the DefaultInstanceProfileArn field's value. -func (s *CloneStackInput) SetDefaultInstanceProfileArn(v string) *CloneStackInput { - s.DefaultInstanceProfileArn = &v - return s -} - -// SetDefaultOs sets the DefaultOs field's value. -func (s *CloneStackInput) SetDefaultOs(v string) *CloneStackInput { - s.DefaultOs = &v - return s -} - -// SetDefaultRootDeviceType sets the DefaultRootDeviceType field's value. -func (s *CloneStackInput) SetDefaultRootDeviceType(v RootDeviceType) *CloneStackInput { - s.DefaultRootDeviceType = v - return s -} - -// SetDefaultSshKeyName sets the DefaultSshKeyName field's value. -func (s *CloneStackInput) SetDefaultSshKeyName(v string) *CloneStackInput { - s.DefaultSshKeyName = &v - return s -} - -// SetDefaultSubnetId sets the DefaultSubnetId field's value. -func (s *CloneStackInput) SetDefaultSubnetId(v string) *CloneStackInput { - s.DefaultSubnetId = &v - return s -} - -// SetHostnameTheme sets the HostnameTheme field's value. -func (s *CloneStackInput) SetHostnameTheme(v string) *CloneStackInput { - s.HostnameTheme = &v - return s -} - -// SetName sets the Name field's value. -func (s *CloneStackInput) SetName(v string) *CloneStackInput { - s.Name = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *CloneStackInput) SetRegion(v string) *CloneStackInput { - s.Region = &v - return s -} - -// SetServiceRoleArn sets the ServiceRoleArn field's value. -func (s *CloneStackInput) SetServiceRoleArn(v string) *CloneStackInput { - s.ServiceRoleArn = &v - return s -} - -// SetSourceStackId sets the SourceStackId field's value. -func (s *CloneStackInput) SetSourceStackId(v string) *CloneStackInput { - s.SourceStackId = &v - return s -} - -// SetUseCustomCookbooks sets the UseCustomCookbooks field's value. -func (s *CloneStackInput) SetUseCustomCookbooks(v bool) *CloneStackInput { - s.UseCustomCookbooks = &v - return s -} - -// SetUseOpsworksSecurityGroups sets the UseOpsworksSecurityGroups field's value. -func (s *CloneStackInput) SetUseOpsworksSecurityGroups(v bool) *CloneStackInput { - s.UseOpsworksSecurityGroups = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *CloneStackInput) SetVpcId(v string) *CloneStackInput { - s.VpcId = &v - return s -} - // Contains the response to a CloneStack request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloneStackResult type CloneStackOutput struct { @@ -5292,12 +4938,6 @@ func (s CloneStackOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStackId sets the StackId field's value. -func (s *CloneStackOutput) SetStackId(v string) *CloneStackOutput { - s.StackId = &v - return s -} - // Describes the Amazon CloudWatch logs configuration for a layer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloudWatchLogsConfiguration type CloudWatchLogsConfiguration struct { @@ -5320,18 +4960,6 @@ func (s CloudWatchLogsConfiguration) GoString() string { return s.String() } -// SetEnabled sets the Enabled field's value. -func (s *CloudWatchLogsConfiguration) SetEnabled(v bool) *CloudWatchLogsConfiguration { - s.Enabled = &v - return s -} - -// SetLogStreams sets the LogStreams field's value. -func (s *CloudWatchLogsConfiguration) SetLogStreams(v []CloudWatchLogsLogStream) *CloudWatchLogsConfiguration { - s.LogStreams = v - return s -} - // Describes the Amazon CloudWatch logs configuration for a layer. For detailed // information about members of this data type, see the CloudWatch Logs Agent // Reference (http://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AgentReference.html). @@ -5411,72 +5039,6 @@ func (s CloudWatchLogsLogStream) GoString() string { return s.String() } -// SetBatchCount sets the BatchCount field's value. -func (s *CloudWatchLogsLogStream) SetBatchCount(v int64) *CloudWatchLogsLogStream { - s.BatchCount = &v - return s -} - -// SetBatchSize sets the BatchSize field's value. -func (s *CloudWatchLogsLogStream) SetBatchSize(v int64) *CloudWatchLogsLogStream { - s.BatchSize = &v - return s -} - -// SetBufferDuration sets the BufferDuration field's value. -func (s *CloudWatchLogsLogStream) SetBufferDuration(v int64) *CloudWatchLogsLogStream { - s.BufferDuration = &v - return s -} - -// SetDatetimeFormat sets the DatetimeFormat field's value. -func (s *CloudWatchLogsLogStream) SetDatetimeFormat(v string) *CloudWatchLogsLogStream { - s.DatetimeFormat = &v - return s -} - -// SetEncoding sets the Encoding field's value. -func (s *CloudWatchLogsLogStream) SetEncoding(v CloudWatchLogsEncoding) *CloudWatchLogsLogStream { - s.Encoding = v - return s -} - -// SetFile sets the File field's value. -func (s *CloudWatchLogsLogStream) SetFile(v string) *CloudWatchLogsLogStream { - s.File = &v - return s -} - -// SetFileFingerprintLines sets the FileFingerprintLines field's value. -func (s *CloudWatchLogsLogStream) SetFileFingerprintLines(v string) *CloudWatchLogsLogStream { - s.FileFingerprintLines = &v - return s -} - -// SetInitialPosition sets the InitialPosition field's value. -func (s *CloudWatchLogsLogStream) SetInitialPosition(v CloudWatchLogsInitialPosition) *CloudWatchLogsLogStream { - s.InitialPosition = v - return s -} - -// SetLogGroupName sets the LogGroupName field's value. -func (s *CloudWatchLogsLogStream) SetLogGroupName(v string) *CloudWatchLogsLogStream { - s.LogGroupName = &v - return s -} - -// SetMultiLineStartPattern sets the MultiLineStartPattern field's value. -func (s *CloudWatchLogsLogStream) SetMultiLineStartPattern(v string) *CloudWatchLogsLogStream { - s.MultiLineStartPattern = &v - return s -} - -// SetTimeZone sets the TimeZone field's value. -func (s *CloudWatchLogsLogStream) SetTimeZone(v CloudWatchLogsTimeZone) *CloudWatchLogsLogStream { - s.TimeZone = v - return s -} - // Describes a command. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Command type Command struct { @@ -5555,66 +5117,6 @@ func (s Command) GoString() string { return s.String() } -// SetAcknowledgedAt sets the AcknowledgedAt field's value. -func (s *Command) SetAcknowledgedAt(v string) *Command { - s.AcknowledgedAt = &v - return s -} - -// SetCommandId sets the CommandId field's value. -func (s *Command) SetCommandId(v string) *Command { - s.CommandId = &v - return s -} - -// SetCompletedAt sets the CompletedAt field's value. -func (s *Command) SetCompletedAt(v string) *Command { - s.CompletedAt = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Command) SetCreatedAt(v string) *Command { - s.CreatedAt = &v - return s -} - -// SetDeploymentId sets the DeploymentId field's value. -func (s *Command) SetDeploymentId(v string) *Command { - s.DeploymentId = &v - return s -} - -// SetExitCode sets the ExitCode field's value. -func (s *Command) SetExitCode(v int64) *Command { - s.ExitCode = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *Command) SetInstanceId(v string) *Command { - s.InstanceId = &v - return s -} - -// SetLogUrl sets the LogUrl field's value. -func (s *Command) SetLogUrl(v string) *Command { - s.LogUrl = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Command) SetStatus(v string) *Command { - s.Status = &v - return s -} - -// SetType sets the Type field's value. -func (s *Command) SetType(v string) *Command { - s.Type = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateAppRequest type CreateAppInput struct { _ struct{} `type:"structure"` @@ -5723,78 +5225,6 @@ func (s *CreateAppInput) Validate() error { return nil } -// SetAppSource sets the AppSource field's value. -func (s *CreateAppInput) SetAppSource(v *Source) *CreateAppInput { - s.AppSource = v - return s -} - -// SetAttributes sets the Attributes field's value. -func (s *CreateAppInput) SetAttributes(v map[string]string) *CreateAppInput { - s.Attributes = v - return s -} - -// SetDataSources sets the DataSources field's value. -func (s *CreateAppInput) SetDataSources(v []DataSource) *CreateAppInput { - s.DataSources = v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateAppInput) SetDescription(v string) *CreateAppInput { - s.Description = &v - return s -} - -// SetDomains sets the Domains field's value. -func (s *CreateAppInput) SetDomains(v []string) *CreateAppInput { - s.Domains = v - return s -} - -// SetEnableSsl sets the EnableSsl field's value. -func (s *CreateAppInput) SetEnableSsl(v bool) *CreateAppInput { - s.EnableSsl = &v - return s -} - -// SetEnvironment sets the Environment field's value. -func (s *CreateAppInput) SetEnvironment(v []EnvironmentVariable) *CreateAppInput { - s.Environment = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateAppInput) SetName(v string) *CreateAppInput { - s.Name = &v - return s -} - -// SetShortname sets the Shortname field's value. -func (s *CreateAppInput) SetShortname(v string) *CreateAppInput { - s.Shortname = &v - return s -} - -// SetSslConfiguration sets the SslConfiguration field's value. -func (s *CreateAppInput) SetSslConfiguration(v *SslConfiguration) *CreateAppInput { - s.SslConfiguration = v - return s -} - -// SetStackId sets the StackId field's value. -func (s *CreateAppInput) SetStackId(v string) *CreateAppInput { - s.StackId = &v - return s -} - -// SetType sets the Type field's value. -func (s *CreateAppInput) SetType(v AppType) *CreateAppInput { - s.Type = v - return s -} - // Contains the response to a CreateApp request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateAppResult type CreateAppOutput struct { @@ -5821,12 +5251,6 @@ func (s CreateAppOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAppId sets the AppId field's value. -func (s *CreateAppOutput) SetAppId(v string) *CreateAppOutput { - s.AppId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeploymentRequest type CreateDeploymentInput struct { _ struct{} `type:"structure"` @@ -5899,48 +5323,6 @@ func (s *CreateDeploymentInput) Validate() error { return nil } -// SetAppId sets the AppId field's value. -func (s *CreateDeploymentInput) SetAppId(v string) *CreateDeploymentInput { - s.AppId = &v - return s -} - -// SetCommand sets the Command field's value. -func (s *CreateDeploymentInput) SetCommand(v *DeploymentCommand) *CreateDeploymentInput { - s.Command = v - return s -} - -// SetComment sets the Comment field's value. -func (s *CreateDeploymentInput) SetComment(v string) *CreateDeploymentInput { - s.Comment = &v - return s -} - -// SetCustomJson sets the CustomJson field's value. -func (s *CreateDeploymentInput) SetCustomJson(v string) *CreateDeploymentInput { - s.CustomJson = &v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *CreateDeploymentInput) SetInstanceIds(v []string) *CreateDeploymentInput { - s.InstanceIds = v - return s -} - -// SetLayerIds sets the LayerIds field's value. -func (s *CreateDeploymentInput) SetLayerIds(v []string) *CreateDeploymentInput { - s.LayerIds = v - return s -} - -// SetStackId sets the StackId field's value. -func (s *CreateDeploymentInput) SetStackId(v string) *CreateDeploymentInput { - s.StackId = &v - return s -} - // Contains the response to a CreateDeployment request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeploymentResult type CreateDeploymentOutput struct { @@ -5968,12 +5350,6 @@ func (s CreateDeploymentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeploymentId sets the DeploymentId field's value. -func (s *CreateDeploymentOutput) SetDeploymentId(v string) *CreateDeploymentOutput { - s.DeploymentId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateInstanceRequest type CreateInstanceInput struct { _ struct{} `type:"structure"` @@ -6147,114 +5523,6 @@ func (s *CreateInstanceInput) Validate() error { return nil } -// SetAgentVersion sets the AgentVersion field's value. -func (s *CreateInstanceInput) SetAgentVersion(v string) *CreateInstanceInput { - s.AgentVersion = &v - return s -} - -// SetAmiId sets the AmiId field's value. -func (s *CreateInstanceInput) SetAmiId(v string) *CreateInstanceInput { - s.AmiId = &v - return s -} - -// SetArchitecture sets the Architecture field's value. -func (s *CreateInstanceInput) SetArchitecture(v Architecture) *CreateInstanceInput { - s.Architecture = v - return s -} - -// SetAutoScalingType sets the AutoScalingType field's value. -func (s *CreateInstanceInput) SetAutoScalingType(v AutoScalingType) *CreateInstanceInput { - s.AutoScalingType = v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *CreateInstanceInput) SetAvailabilityZone(v string) *CreateInstanceInput { - s.AvailabilityZone = &v - return s -} - -// SetBlockDeviceMappings sets the BlockDeviceMappings field's value. -func (s *CreateInstanceInput) SetBlockDeviceMappings(v []BlockDeviceMapping) *CreateInstanceInput { - s.BlockDeviceMappings = v - return s -} - -// SetEbsOptimized sets the EbsOptimized field's value. -func (s *CreateInstanceInput) SetEbsOptimized(v bool) *CreateInstanceInput { - s.EbsOptimized = &v - return s -} - -// SetHostname sets the Hostname field's value. -func (s *CreateInstanceInput) SetHostname(v string) *CreateInstanceInput { - s.Hostname = &v - return s -} - -// SetInstallUpdatesOnBoot sets the InstallUpdatesOnBoot field's value. -func (s *CreateInstanceInput) SetInstallUpdatesOnBoot(v bool) *CreateInstanceInput { - s.InstallUpdatesOnBoot = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *CreateInstanceInput) SetInstanceType(v string) *CreateInstanceInput { - s.InstanceType = &v - return s -} - -// SetLayerIds sets the LayerIds field's value. -func (s *CreateInstanceInput) SetLayerIds(v []string) *CreateInstanceInput { - s.LayerIds = v - return s -} - -// SetOs sets the Os field's value. -func (s *CreateInstanceInput) SetOs(v string) *CreateInstanceInput { - s.Os = &v - return s -} - -// SetRootDeviceType sets the RootDeviceType field's value. -func (s *CreateInstanceInput) SetRootDeviceType(v RootDeviceType) *CreateInstanceInput { - s.RootDeviceType = v - return s -} - -// SetSshKeyName sets the SshKeyName field's value. -func (s *CreateInstanceInput) SetSshKeyName(v string) *CreateInstanceInput { - s.SshKeyName = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *CreateInstanceInput) SetStackId(v string) *CreateInstanceInput { - s.StackId = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *CreateInstanceInput) SetSubnetId(v string) *CreateInstanceInput { - s.SubnetId = &v - return s -} - -// SetTenancy sets the Tenancy field's value. -func (s *CreateInstanceInput) SetTenancy(v string) *CreateInstanceInput { - s.Tenancy = &v - return s -} - -// SetVirtualizationType sets the VirtualizationType field's value. -func (s *CreateInstanceInput) SetVirtualizationType(v string) *CreateInstanceInput { - s.VirtualizationType = &v - return s -} - // Contains the response to a CreateInstance request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateInstanceResult type CreateInstanceOutput struct { @@ -6281,12 +5549,6 @@ func (s CreateInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceId sets the InstanceId field's value. -func (s *CreateInstanceOutput) SetInstanceId(v string) *CreateInstanceOutput { - s.InstanceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateLayerRequest type CreateLayerInput struct { _ struct{} `type:"structure"` @@ -6425,123 +5687,15 @@ func (s *CreateLayerInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *CreateLayerInput) SetAttributes(v map[string]string) *CreateLayerInput { - s.Attributes = v - return s -} +// Contains the response to a CreateLayer request. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateLayerResult +type CreateLayerOutput struct { + _ struct{} `type:"structure"` -// SetAutoAssignElasticIps sets the AutoAssignElasticIps field's value. -func (s *CreateLayerInput) SetAutoAssignElasticIps(v bool) *CreateLayerInput { - s.AutoAssignElasticIps = &v - return s -} + responseMetadata aws.Response -// SetAutoAssignPublicIps sets the AutoAssignPublicIps field's value. -func (s *CreateLayerInput) SetAutoAssignPublicIps(v bool) *CreateLayerInput { - s.AutoAssignPublicIps = &v - return s -} - -// SetCloudWatchLogsConfiguration sets the CloudWatchLogsConfiguration field's value. -func (s *CreateLayerInput) SetCloudWatchLogsConfiguration(v *CloudWatchLogsConfiguration) *CreateLayerInput { - s.CloudWatchLogsConfiguration = v - return s -} - -// SetCustomInstanceProfileArn sets the CustomInstanceProfileArn field's value. -func (s *CreateLayerInput) SetCustomInstanceProfileArn(v string) *CreateLayerInput { - s.CustomInstanceProfileArn = &v - return s -} - -// SetCustomJson sets the CustomJson field's value. -func (s *CreateLayerInput) SetCustomJson(v string) *CreateLayerInput { - s.CustomJson = &v - return s -} - -// SetCustomRecipes sets the CustomRecipes field's value. -func (s *CreateLayerInput) SetCustomRecipes(v *Recipes) *CreateLayerInput { - s.CustomRecipes = v - return s -} - -// SetCustomSecurityGroupIds sets the CustomSecurityGroupIds field's value. -func (s *CreateLayerInput) SetCustomSecurityGroupIds(v []string) *CreateLayerInput { - s.CustomSecurityGroupIds = v - return s -} - -// SetEnableAutoHealing sets the EnableAutoHealing field's value. -func (s *CreateLayerInput) SetEnableAutoHealing(v bool) *CreateLayerInput { - s.EnableAutoHealing = &v - return s -} - -// SetInstallUpdatesOnBoot sets the InstallUpdatesOnBoot field's value. -func (s *CreateLayerInput) SetInstallUpdatesOnBoot(v bool) *CreateLayerInput { - s.InstallUpdatesOnBoot = &v - return s -} - -// SetLifecycleEventConfiguration sets the LifecycleEventConfiguration field's value. -func (s *CreateLayerInput) SetLifecycleEventConfiguration(v *LifecycleEventConfiguration) *CreateLayerInput { - s.LifecycleEventConfiguration = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateLayerInput) SetName(v string) *CreateLayerInput { - s.Name = &v - return s -} - -// SetPackages sets the Packages field's value. -func (s *CreateLayerInput) SetPackages(v []string) *CreateLayerInput { - s.Packages = v - return s -} - -// SetShortname sets the Shortname field's value. -func (s *CreateLayerInput) SetShortname(v string) *CreateLayerInput { - s.Shortname = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *CreateLayerInput) SetStackId(v string) *CreateLayerInput { - s.StackId = &v - return s -} - -// SetType sets the Type field's value. -func (s *CreateLayerInput) SetType(v LayerType) *CreateLayerInput { - s.Type = v - return s -} - -// SetUseEbsOptimizedInstances sets the UseEbsOptimizedInstances field's value. -func (s *CreateLayerInput) SetUseEbsOptimizedInstances(v bool) *CreateLayerInput { - s.UseEbsOptimizedInstances = &v - return s -} - -// SetVolumeConfigurations sets the VolumeConfigurations field's value. -func (s *CreateLayerInput) SetVolumeConfigurations(v []VolumeConfiguration) *CreateLayerInput { - s.VolumeConfigurations = v - return s -} - -// Contains the response to a CreateLayer request. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateLayerResult -type CreateLayerOutput struct { - _ struct{} `type:"structure"` - - responseMetadata aws.Response - - // The layer ID. - LayerId *string `type:"string"` + // The layer ID. + LayerId *string `type:"string"` } // String returns the string representation @@ -6559,12 +5713,6 @@ func (s CreateLayerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLayerId sets the LayerId field's value. -func (s *CreateLayerOutput) SetLayerId(v string) *CreateLayerOutput { - s.LayerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateStackRequest type CreateStackInput struct { _ struct{} `type:"structure"` @@ -6823,120 +5971,6 @@ func (s *CreateStackInput) Validate() error { return nil } -// SetAgentVersion sets the AgentVersion field's value. -func (s *CreateStackInput) SetAgentVersion(v string) *CreateStackInput { - s.AgentVersion = &v - return s -} - -// SetAttributes sets the Attributes field's value. -func (s *CreateStackInput) SetAttributes(v map[string]string) *CreateStackInput { - s.Attributes = v - return s -} - -// SetChefConfiguration sets the ChefConfiguration field's value. -func (s *CreateStackInput) SetChefConfiguration(v *ChefConfiguration) *CreateStackInput { - s.ChefConfiguration = v - return s -} - -// SetConfigurationManager sets the ConfigurationManager field's value. -func (s *CreateStackInput) SetConfigurationManager(v *StackConfigurationManager) *CreateStackInput { - s.ConfigurationManager = v - return s -} - -// SetCustomCookbooksSource sets the CustomCookbooksSource field's value. -func (s *CreateStackInput) SetCustomCookbooksSource(v *Source) *CreateStackInput { - s.CustomCookbooksSource = v - return s -} - -// SetCustomJson sets the CustomJson field's value. -func (s *CreateStackInput) SetCustomJson(v string) *CreateStackInput { - s.CustomJson = &v - return s -} - -// SetDefaultAvailabilityZone sets the DefaultAvailabilityZone field's value. -func (s *CreateStackInput) SetDefaultAvailabilityZone(v string) *CreateStackInput { - s.DefaultAvailabilityZone = &v - return s -} - -// SetDefaultInstanceProfileArn sets the DefaultInstanceProfileArn field's value. -func (s *CreateStackInput) SetDefaultInstanceProfileArn(v string) *CreateStackInput { - s.DefaultInstanceProfileArn = &v - return s -} - -// SetDefaultOs sets the DefaultOs field's value. -func (s *CreateStackInput) SetDefaultOs(v string) *CreateStackInput { - s.DefaultOs = &v - return s -} - -// SetDefaultRootDeviceType sets the DefaultRootDeviceType field's value. -func (s *CreateStackInput) SetDefaultRootDeviceType(v RootDeviceType) *CreateStackInput { - s.DefaultRootDeviceType = v - return s -} - -// SetDefaultSshKeyName sets the DefaultSshKeyName field's value. -func (s *CreateStackInput) SetDefaultSshKeyName(v string) *CreateStackInput { - s.DefaultSshKeyName = &v - return s -} - -// SetDefaultSubnetId sets the DefaultSubnetId field's value. -func (s *CreateStackInput) SetDefaultSubnetId(v string) *CreateStackInput { - s.DefaultSubnetId = &v - return s -} - -// SetHostnameTheme sets the HostnameTheme field's value. -func (s *CreateStackInput) SetHostnameTheme(v string) *CreateStackInput { - s.HostnameTheme = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateStackInput) SetName(v string) *CreateStackInput { - s.Name = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *CreateStackInput) SetRegion(v string) *CreateStackInput { - s.Region = &v - return s -} - -// SetServiceRoleArn sets the ServiceRoleArn field's value. -func (s *CreateStackInput) SetServiceRoleArn(v string) *CreateStackInput { - s.ServiceRoleArn = &v - return s -} - -// SetUseCustomCookbooks sets the UseCustomCookbooks field's value. -func (s *CreateStackInput) SetUseCustomCookbooks(v bool) *CreateStackInput { - s.UseCustomCookbooks = &v - return s -} - -// SetUseOpsworksSecurityGroups sets the UseOpsworksSecurityGroups field's value. -func (s *CreateStackInput) SetUseOpsworksSecurityGroups(v bool) *CreateStackInput { - s.UseOpsworksSecurityGroups = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *CreateStackInput) SetVpcId(v string) *CreateStackInput { - s.VpcId = &v - return s -} - // Contains the response to a CreateStack request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateStackResult type CreateStackOutput struct { @@ -6964,12 +5998,6 @@ func (s CreateStackOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStackId sets the StackId field's value. -func (s *CreateStackOutput) SetStackId(v string) *CreateStackOutput { - s.StackId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateUserProfileRequest type CreateUserProfileInput struct { _ struct{} `type:"structure"` @@ -7018,30 +6046,6 @@ func (s *CreateUserProfileInput) Validate() error { return nil } -// SetAllowSelfManagement sets the AllowSelfManagement field's value. -func (s *CreateUserProfileInput) SetAllowSelfManagement(v bool) *CreateUserProfileInput { - s.AllowSelfManagement = &v - return s -} - -// SetIamUserArn sets the IamUserArn field's value. -func (s *CreateUserProfileInput) SetIamUserArn(v string) *CreateUserProfileInput { - s.IamUserArn = &v - return s -} - -// SetSshPublicKey sets the SshPublicKey field's value. -func (s *CreateUserProfileInput) SetSshPublicKey(v string) *CreateUserProfileInput { - s.SshPublicKey = &v - return s -} - -// SetSshUsername sets the SshUsername field's value. -func (s *CreateUserProfileInput) SetSshUsername(v string) *CreateUserProfileInput { - s.SshUsername = &v - return s -} - // Contains the response to a CreateUserProfile request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateUserProfileResult type CreateUserProfileOutput struct { @@ -7068,12 +6072,6 @@ func (s CreateUserProfileOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIamUserArn sets the IamUserArn field's value. -func (s *CreateUserProfileOutput) SetIamUserArn(v string) *CreateUserProfileOutput { - s.IamUserArn = &v - return s -} - // Describes an app's data source. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DataSource type DataSource struct { @@ -7100,24 +6098,6 @@ func (s DataSource) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *DataSource) SetArn(v string) *DataSource { - s.Arn = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *DataSource) SetDatabaseName(v string) *DataSource { - s.DatabaseName = &v - return s -} - -// SetType sets the Type field's value. -func (s *DataSource) SetType(v string) *DataSource { - s.Type = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteAppRequest type DeleteAppInput struct { _ struct{} `type:"structure"` @@ -7152,12 +6132,6 @@ func (s *DeleteAppInput) Validate() error { return nil } -// SetAppId sets the AppId field's value. -func (s *DeleteAppInput) SetAppId(v string) *DeleteAppInput { - s.AppId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteAppOutput type DeleteAppOutput struct { _ struct{} `type:"structure"` @@ -7220,24 +6194,6 @@ func (s *DeleteInstanceInput) Validate() error { return nil } -// SetDeleteElasticIp sets the DeleteElasticIp field's value. -func (s *DeleteInstanceInput) SetDeleteElasticIp(v bool) *DeleteInstanceInput { - s.DeleteElasticIp = &v - return s -} - -// SetDeleteVolumes sets the DeleteVolumes field's value. -func (s *DeleteInstanceInput) SetDeleteVolumes(v bool) *DeleteInstanceInput { - s.DeleteVolumes = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *DeleteInstanceInput) SetInstanceId(v string) *DeleteInstanceInput { - s.InstanceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteInstanceOutput type DeleteInstanceOutput struct { _ struct{} `type:"structure"` @@ -7294,12 +6250,6 @@ func (s *DeleteLayerInput) Validate() error { return nil } -// SetLayerId sets the LayerId field's value. -func (s *DeleteLayerInput) SetLayerId(v string) *DeleteLayerInput { - s.LayerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteLayerOutput type DeleteLayerOutput struct { _ struct{} `type:"structure"` @@ -7356,12 +6306,6 @@ func (s *DeleteStackInput) Validate() error { return nil } -// SetStackId sets the StackId field's value. -func (s *DeleteStackInput) SetStackId(v string) *DeleteStackInput { - s.StackId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteStackOutput type DeleteStackOutput struct { _ struct{} `type:"structure"` @@ -7418,12 +6362,6 @@ func (s *DeleteUserProfileInput) Validate() error { return nil } -// SetIamUserArn sets the IamUserArn field's value. -func (s *DeleteUserProfileInput) SetIamUserArn(v string) *DeleteUserProfileInput { - s.IamUserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteUserProfileOutput type DeleteUserProfileOutput struct { _ struct{} `type:"structure"` @@ -7511,78 +6449,6 @@ func (s Deployment) GoString() string { return s.String() } -// SetAppId sets the AppId field's value. -func (s *Deployment) SetAppId(v string) *Deployment { - s.AppId = &v - return s -} - -// SetCommand sets the Command field's value. -func (s *Deployment) SetCommand(v *DeploymentCommand) *Deployment { - s.Command = v - return s -} - -// SetComment sets the Comment field's value. -func (s *Deployment) SetComment(v string) *Deployment { - s.Comment = &v - return s -} - -// SetCompletedAt sets the CompletedAt field's value. -func (s *Deployment) SetCompletedAt(v string) *Deployment { - s.CompletedAt = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Deployment) SetCreatedAt(v string) *Deployment { - s.CreatedAt = &v - return s -} - -// SetCustomJson sets the CustomJson field's value. -func (s *Deployment) SetCustomJson(v string) *Deployment { - s.CustomJson = &v - return s -} - -// SetDeploymentId sets the DeploymentId field's value. -func (s *Deployment) SetDeploymentId(v string) *Deployment { - s.DeploymentId = &v - return s -} - -// SetDuration sets the Duration field's value. -func (s *Deployment) SetDuration(v int64) *Deployment { - s.Duration = &v - return s -} - -// SetIamUserArn sets the IamUserArn field's value. -func (s *Deployment) SetIamUserArn(v string) *Deployment { - s.IamUserArn = &v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *Deployment) SetInstanceIds(v []string) *Deployment { - s.InstanceIds = v - return s -} - -// SetStackId sets the StackId field's value. -func (s *Deployment) SetStackId(v string) *Deployment { - s.StackId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Deployment) SetStatus(v string) *Deployment { - s.Status = &v - return s -} - // Used to specify a stack or deployment command. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeploymentCommand type DeploymentCommand struct { @@ -7674,18 +6540,6 @@ func (s *DeploymentCommand) Validate() error { return nil } -// SetArgs sets the Args field's value. -func (s *DeploymentCommand) SetArgs(v map[string][]string) *DeploymentCommand { - s.Args = v - return s -} - -// SetName sets the Name field's value. -func (s *DeploymentCommand) SetName(v DeploymentCommandName) *DeploymentCommand { - s.Name = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterEcsClusterRequest type DeregisterEcsClusterInput struct { _ struct{} `type:"structure"` @@ -7720,12 +6574,6 @@ func (s *DeregisterEcsClusterInput) Validate() error { return nil } -// SetEcsClusterArn sets the EcsClusterArn field's value. -func (s *DeregisterEcsClusterInput) SetEcsClusterArn(v string) *DeregisterEcsClusterInput { - s.EcsClusterArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterEcsClusterOutput type DeregisterEcsClusterOutput struct { _ struct{} `type:"structure"` @@ -7782,12 +6630,6 @@ func (s *DeregisterElasticIpInput) Validate() error { return nil } -// SetElasticIp sets the ElasticIp field's value. -func (s *DeregisterElasticIpInput) SetElasticIp(v string) *DeregisterElasticIpInput { - s.ElasticIp = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterElasticIpOutput type DeregisterElasticIpOutput struct { _ struct{} `type:"structure"` @@ -7844,12 +6686,6 @@ func (s *DeregisterInstanceInput) Validate() error { return nil } -// SetInstanceId sets the InstanceId field's value. -func (s *DeregisterInstanceInput) SetInstanceId(v string) *DeregisterInstanceInput { - s.InstanceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterInstanceOutput type DeregisterInstanceOutput struct { _ struct{} `type:"structure"` @@ -7906,12 +6742,6 @@ func (s *DeregisterRdsDbInstanceInput) Validate() error { return nil } -// SetRdsDbInstanceArn sets the RdsDbInstanceArn field's value. -func (s *DeregisterRdsDbInstanceInput) SetRdsDbInstanceArn(v string) *DeregisterRdsDbInstanceInput { - s.RdsDbInstanceArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterRdsDbInstanceOutput type DeregisterRdsDbInstanceOutput struct { _ struct{} `type:"structure"` @@ -7970,12 +6800,6 @@ func (s *DeregisterVolumeInput) Validate() error { return nil } -// SetVolumeId sets the VolumeId field's value. -func (s *DeregisterVolumeInput) SetVolumeId(v string) *DeregisterVolumeInput { - s.VolumeId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterVolumeOutput type DeregisterVolumeOutput struct { _ struct{} `type:"structure"` @@ -8019,18 +6843,6 @@ func (s DescribeAgentVersionsInput) GoString() string { return s.String() } -// SetConfigurationManager sets the ConfigurationManager field's value. -func (s *DescribeAgentVersionsInput) SetConfigurationManager(v *StackConfigurationManager) *DescribeAgentVersionsInput { - s.ConfigurationManager = v - return s -} - -// SetStackId sets the StackId field's value. -func (s *DescribeAgentVersionsInput) SetStackId(v string) *DescribeAgentVersionsInput { - s.StackId = &v - return s -} - // Contains the response to a DescribeAgentVersions request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAgentVersionsResult type DescribeAgentVersionsOutput struct { @@ -8059,12 +6871,6 @@ func (s DescribeAgentVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAgentVersions sets the AgentVersions field's value. -func (s *DescribeAgentVersionsOutput) SetAgentVersions(v []AgentVersion) *DescribeAgentVersionsOutput { - s.AgentVersions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAppsRequest type DescribeAppsInput struct { _ struct{} `type:"structure"` @@ -8089,18 +6895,6 @@ func (s DescribeAppsInput) GoString() string { return s.String() } -// SetAppIds sets the AppIds field's value. -func (s *DescribeAppsInput) SetAppIds(v []string) *DescribeAppsInput { - s.AppIds = v - return s -} - -// SetStackId sets the StackId field's value. -func (s *DescribeAppsInput) SetStackId(v string) *DescribeAppsInput { - s.StackId = &v - return s -} - // Contains the response to a DescribeApps request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAppsResult type DescribeAppsOutput struct { @@ -8127,12 +6921,6 @@ func (s DescribeAppsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApps sets the Apps field's value. -func (s *DescribeAppsOutput) SetApps(v []App) *DescribeAppsOutput { - s.Apps = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeCommandsRequest type DescribeCommandsInput struct { _ struct{} `type:"structure"` @@ -8161,24 +6949,6 @@ func (s DescribeCommandsInput) GoString() string { return s.String() } -// SetCommandIds sets the CommandIds field's value. -func (s *DescribeCommandsInput) SetCommandIds(v []string) *DescribeCommandsInput { - s.CommandIds = v - return s -} - -// SetDeploymentId sets the DeploymentId field's value. -func (s *DescribeCommandsInput) SetDeploymentId(v string) *DescribeCommandsInput { - s.DeploymentId = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *DescribeCommandsInput) SetInstanceId(v string) *DescribeCommandsInput { - s.InstanceId = &v - return s -} - // Contains the response to a DescribeCommands request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeCommandsResult type DescribeCommandsOutput struct { @@ -8205,12 +6975,6 @@ func (s DescribeCommandsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCommands sets the Commands field's value. -func (s *DescribeCommandsOutput) SetCommands(v []Command) *DescribeCommandsOutput { - s.Commands = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeDeploymentsRequest type DescribeDeploymentsInput struct { _ struct{} `type:"structure"` @@ -8239,24 +7003,6 @@ func (s DescribeDeploymentsInput) GoString() string { return s.String() } -// SetAppId sets the AppId field's value. -func (s *DescribeDeploymentsInput) SetAppId(v string) *DescribeDeploymentsInput { - s.AppId = &v - return s -} - -// SetDeploymentIds sets the DeploymentIds field's value. -func (s *DescribeDeploymentsInput) SetDeploymentIds(v []string) *DescribeDeploymentsInput { - s.DeploymentIds = v - return s -} - -// SetStackId sets the StackId field's value. -func (s *DescribeDeploymentsInput) SetStackId(v string) *DescribeDeploymentsInput { - s.StackId = &v - return s -} - // Contains the response to a DescribeDeployments request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeDeploymentsResult type DescribeDeploymentsOutput struct { @@ -8283,12 +7029,6 @@ func (s DescribeDeploymentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeployments sets the Deployments field's value. -func (s *DescribeDeploymentsOutput) SetDeployments(v []Deployment) *DescribeDeploymentsOutput { - s.Deployments = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeEcsClustersRequest type DescribeEcsClustersInput struct { _ struct{} `type:"structure"` @@ -8325,30 +7065,6 @@ func (s DescribeEcsClustersInput) GoString() string { return s.String() } -// SetEcsClusterArns sets the EcsClusterArns field's value. -func (s *DescribeEcsClustersInput) SetEcsClusterArns(v []string) *DescribeEcsClustersInput { - s.EcsClusterArns = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeEcsClustersInput) SetMaxResults(v int64) *DescribeEcsClustersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEcsClustersInput) SetNextToken(v string) *DescribeEcsClustersInput { - s.NextToken = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *DescribeEcsClustersInput) SetStackId(v string) *DescribeEcsClustersInput { - s.StackId = &v - return s -} - // Contains the response to a DescribeEcsClusters request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeEcsClustersResult type DescribeEcsClustersOutput struct { @@ -8381,18 +7097,6 @@ func (s DescribeEcsClustersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEcsClusters sets the EcsClusters field's value. -func (s *DescribeEcsClustersOutput) SetEcsClusters(v []EcsCluster) *DescribeEcsClustersOutput { - s.EcsClusters = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEcsClustersOutput) SetNextToken(v string) *DescribeEcsClustersOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticIpsRequest type DescribeElasticIpsInput struct { _ struct{} `type:"structure"` @@ -8421,24 +7125,6 @@ func (s DescribeElasticIpsInput) GoString() string { return s.String() } -// SetInstanceId sets the InstanceId field's value. -func (s *DescribeElasticIpsInput) SetInstanceId(v string) *DescribeElasticIpsInput { - s.InstanceId = &v - return s -} - -// SetIps sets the Ips field's value. -func (s *DescribeElasticIpsInput) SetIps(v []string) *DescribeElasticIpsInput { - s.Ips = v - return s -} - -// SetStackId sets the StackId field's value. -func (s *DescribeElasticIpsInput) SetStackId(v string) *DescribeElasticIpsInput { - s.StackId = &v - return s -} - // Contains the response to a DescribeElasticIps request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticIpsResult type DescribeElasticIpsOutput struct { @@ -8465,12 +7151,6 @@ func (s DescribeElasticIpsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetElasticIps sets the ElasticIps field's value. -func (s *DescribeElasticIpsOutput) SetElasticIps(v []ElasticIp) *DescribeElasticIpsOutput { - s.ElasticIps = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticLoadBalancersRequest type DescribeElasticLoadBalancersInput struct { _ struct{} `type:"structure"` @@ -8493,18 +7173,6 @@ func (s DescribeElasticLoadBalancersInput) GoString() string { return s.String() } -// SetLayerIds sets the LayerIds field's value. -func (s *DescribeElasticLoadBalancersInput) SetLayerIds(v []string) *DescribeElasticLoadBalancersInput { - s.LayerIds = v - return s -} - -// SetStackId sets the StackId field's value. -func (s *DescribeElasticLoadBalancersInput) SetStackId(v string) *DescribeElasticLoadBalancersInput { - s.StackId = &v - return s -} - // Contains the response to a DescribeElasticLoadBalancers request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticLoadBalancersResult type DescribeElasticLoadBalancersOutput struct { @@ -8532,12 +7200,6 @@ func (s DescribeElasticLoadBalancersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetElasticLoadBalancers sets the ElasticLoadBalancers field's value. -func (s *DescribeElasticLoadBalancersOutput) SetElasticLoadBalancers(v []ElasticLoadBalancer) *DescribeElasticLoadBalancersOutput { - s.ElasticLoadBalancers = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeInstancesRequest type DescribeInstancesInput struct { _ struct{} `type:"structure"` @@ -8566,24 +7228,6 @@ func (s DescribeInstancesInput) GoString() string { return s.String() } -// SetInstanceIds sets the InstanceIds field's value. -func (s *DescribeInstancesInput) SetInstanceIds(v []string) *DescribeInstancesInput { - s.InstanceIds = v - return s -} - -// SetLayerId sets the LayerId field's value. -func (s *DescribeInstancesInput) SetLayerId(v string) *DescribeInstancesInput { - s.LayerId = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *DescribeInstancesInput) SetStackId(v string) *DescribeInstancesInput { - s.StackId = &v - return s -} - // Contains the response to a DescribeInstances request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeInstancesResult type DescribeInstancesOutput struct { @@ -8610,12 +7254,6 @@ func (s DescribeInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstances sets the Instances field's value. -func (s *DescribeInstancesOutput) SetInstances(v []Instance) *DescribeInstancesOutput { - s.Instances = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLayersRequest type DescribeLayersInput struct { _ struct{} `type:"structure"` @@ -8639,18 +7277,6 @@ func (s DescribeLayersInput) GoString() string { return s.String() } -// SetLayerIds sets the LayerIds field's value. -func (s *DescribeLayersInput) SetLayerIds(v []string) *DescribeLayersInput { - s.LayerIds = v - return s -} - -// SetStackId sets the StackId field's value. -func (s *DescribeLayersInput) SetStackId(v string) *DescribeLayersInput { - s.StackId = &v - return s -} - // Contains the response to a DescribeLayers request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLayersResult type DescribeLayersOutput struct { @@ -8677,12 +7303,6 @@ func (s DescribeLayersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLayers sets the Layers field's value. -func (s *DescribeLayersOutput) SetLayers(v []Layer) *DescribeLayersOutput { - s.Layers = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLoadBasedAutoScalingRequest type DescribeLoadBasedAutoScalingInput struct { _ struct{} `type:"structure"` @@ -8717,12 +7337,6 @@ func (s *DescribeLoadBasedAutoScalingInput) Validate() error { return nil } -// SetLayerIds sets the LayerIds field's value. -func (s *DescribeLoadBasedAutoScalingInput) SetLayerIds(v []string) *DescribeLoadBasedAutoScalingInput { - s.LayerIds = v - return s -} - // Contains the response to a DescribeLoadBasedAutoScaling request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLoadBasedAutoScalingResult type DescribeLoadBasedAutoScalingOutput struct { @@ -8750,12 +7364,6 @@ func (s DescribeLoadBasedAutoScalingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLoadBasedAutoScalingConfigurations sets the LoadBasedAutoScalingConfigurations field's value. -func (s *DescribeLoadBasedAutoScalingOutput) SetLoadBasedAutoScalingConfigurations(v []LoadBasedAutoScalingConfiguration) *DescribeLoadBasedAutoScalingOutput { - s.LoadBasedAutoScalingConfigurations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeMyUserProfileInput type DescribeMyUserProfileInput struct { _ struct{} `type:"structure"` @@ -8797,12 +7405,6 @@ func (s DescribeMyUserProfileOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUserProfile sets the UserProfile field's value. -func (s *DescribeMyUserProfileOutput) SetUserProfile(v *SelfUserProfile) *DescribeMyUserProfileOutput { - s.UserProfile = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribePermissionsRequest type DescribePermissionsInput struct { _ struct{} `type:"structure"` @@ -8825,18 +7427,6 @@ func (s DescribePermissionsInput) GoString() string { return s.String() } -// SetIamUserArn sets the IamUserArn field's value. -func (s *DescribePermissionsInput) SetIamUserArn(v string) *DescribePermissionsInput { - s.IamUserArn = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *DescribePermissionsInput) SetStackId(v string) *DescribePermissionsInput { - s.StackId = &v - return s -} - // Contains the response to a DescribePermissions request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribePermissionsResult type DescribePermissionsOutput struct { @@ -8873,12 +7463,6 @@ func (s DescribePermissionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPermissions sets the Permissions field's value. -func (s *DescribePermissionsOutput) SetPermissions(v []Permission) *DescribePermissionsOutput { - s.Permissions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRaidArraysRequest type DescribeRaidArraysInput struct { _ struct{} `type:"structure"` @@ -8906,24 +7490,6 @@ func (s DescribeRaidArraysInput) GoString() string { return s.String() } -// SetInstanceId sets the InstanceId field's value. -func (s *DescribeRaidArraysInput) SetInstanceId(v string) *DescribeRaidArraysInput { - s.InstanceId = &v - return s -} - -// SetRaidArrayIds sets the RaidArrayIds field's value. -func (s *DescribeRaidArraysInput) SetRaidArrayIds(v []string) *DescribeRaidArraysInput { - s.RaidArrayIds = v - return s -} - -// SetStackId sets the StackId field's value. -func (s *DescribeRaidArraysInput) SetStackId(v string) *DescribeRaidArraysInput { - s.StackId = &v - return s -} - // Contains the response to a DescribeRaidArrays request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRaidArraysResult type DescribeRaidArraysOutput struct { @@ -8950,12 +7516,6 @@ func (s DescribeRaidArraysOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRaidArrays sets the RaidArrays field's value. -func (s *DescribeRaidArraysOutput) SetRaidArrays(v []RaidArray) *DescribeRaidArraysOutput { - s.RaidArrays = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRdsDbInstancesRequest type DescribeRdsDbInstancesInput struct { _ struct{} `type:"structure"` @@ -8994,18 +7554,6 @@ func (s *DescribeRdsDbInstancesInput) Validate() error { return nil } -// SetRdsDbInstanceArns sets the RdsDbInstanceArns field's value. -func (s *DescribeRdsDbInstancesInput) SetRdsDbInstanceArns(v []string) *DescribeRdsDbInstancesInput { - s.RdsDbInstanceArns = v - return s -} - -// SetStackId sets the StackId field's value. -func (s *DescribeRdsDbInstancesInput) SetStackId(v string) *DescribeRdsDbInstancesInput { - s.StackId = &v - return s -} - // Contains the response to a DescribeRdsDbInstances request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRdsDbInstancesResult type DescribeRdsDbInstancesOutput struct { @@ -9032,12 +7580,6 @@ func (s DescribeRdsDbInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRdsDbInstances sets the RdsDbInstances field's value. -func (s *DescribeRdsDbInstancesOutput) SetRdsDbInstances(v []RdsDbInstance) *DescribeRdsDbInstancesOutput { - s.RdsDbInstances = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeServiceErrorsRequest type DescribeServiceErrorsInput struct { _ struct{} `type:"structure"` @@ -9066,24 +7608,6 @@ func (s DescribeServiceErrorsInput) GoString() string { return s.String() } -// SetInstanceId sets the InstanceId field's value. -func (s *DescribeServiceErrorsInput) SetInstanceId(v string) *DescribeServiceErrorsInput { - s.InstanceId = &v - return s -} - -// SetServiceErrorIds sets the ServiceErrorIds field's value. -func (s *DescribeServiceErrorsInput) SetServiceErrorIds(v []string) *DescribeServiceErrorsInput { - s.ServiceErrorIds = v - return s -} - -// SetStackId sets the StackId field's value. -func (s *DescribeServiceErrorsInput) SetStackId(v string) *DescribeServiceErrorsInput { - s.StackId = &v - return s -} - // Contains the response to a DescribeServiceErrors request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeServiceErrorsResult type DescribeServiceErrorsOutput struct { @@ -9110,12 +7634,6 @@ func (s DescribeServiceErrorsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetServiceErrors sets the ServiceErrors field's value. -func (s *DescribeServiceErrorsOutput) SetServiceErrors(v []ServiceError) *DescribeServiceErrorsOutput { - s.ServiceErrors = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackProvisioningParametersRequest type DescribeStackProvisioningParametersInput struct { _ struct{} `type:"structure"` @@ -9150,12 +7668,6 @@ func (s *DescribeStackProvisioningParametersInput) Validate() error { return nil } -// SetStackId sets the StackId field's value. -func (s *DescribeStackProvisioningParametersInput) SetStackId(v string) *DescribeStackProvisioningParametersInput { - s.StackId = &v - return s -} - // Contains the response to a DescribeStackProvisioningParameters request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackProvisioningParametersResult type DescribeStackProvisioningParametersOutput struct { @@ -9185,18 +7697,6 @@ func (s DescribeStackProvisioningParametersOutput) SDKResponseMetadata() aws.Res return s.responseMetadata } -// SetAgentInstallerUrl sets the AgentInstallerUrl field's value. -func (s *DescribeStackProvisioningParametersOutput) SetAgentInstallerUrl(v string) *DescribeStackProvisioningParametersOutput { - s.AgentInstallerUrl = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *DescribeStackProvisioningParametersOutput) SetParameters(v map[string]string) *DescribeStackProvisioningParametersOutput { - s.Parameters = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackSummaryRequest type DescribeStackSummaryInput struct { _ struct{} `type:"structure"` @@ -9231,12 +7731,6 @@ func (s *DescribeStackSummaryInput) Validate() error { return nil } -// SetStackId sets the StackId field's value. -func (s *DescribeStackSummaryInput) SetStackId(v string) *DescribeStackSummaryInput { - s.StackId = &v - return s -} - // Contains the response to a DescribeStackSummary request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackSummaryResult type DescribeStackSummaryOutput struct { @@ -9263,12 +7757,6 @@ func (s DescribeStackSummaryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStackSummary sets the StackSummary field's value. -func (s *DescribeStackSummaryOutput) SetStackSummary(v *StackSummary) *DescribeStackSummaryOutput { - s.StackSummary = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStacksRequest type DescribeStacksInput struct { _ struct{} `type:"structure"` @@ -9288,12 +7776,6 @@ func (s DescribeStacksInput) GoString() string { return s.String() } -// SetStackIds sets the StackIds field's value. -func (s *DescribeStacksInput) SetStackIds(v []string) *DescribeStacksInput { - s.StackIds = v - return s -} - // Contains the response to a DescribeStacks request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStacksResult type DescribeStacksOutput struct { @@ -9320,12 +7802,6 @@ func (s DescribeStacksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStacks sets the Stacks field's value. -func (s *DescribeStacksOutput) SetStacks(v []Stack) *DescribeStacksOutput { - s.Stacks = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeTimeBasedAutoScalingRequest type DescribeTimeBasedAutoScalingInput struct { _ struct{} `type:"structure"` @@ -9360,12 +7836,6 @@ func (s *DescribeTimeBasedAutoScalingInput) Validate() error { return nil } -// SetInstanceIds sets the InstanceIds field's value. -func (s *DescribeTimeBasedAutoScalingInput) SetInstanceIds(v []string) *DescribeTimeBasedAutoScalingInput { - s.InstanceIds = v - return s -} - // Contains the response to a DescribeTimeBasedAutoScaling request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeTimeBasedAutoScalingResult type DescribeTimeBasedAutoScalingOutput struct { @@ -9393,12 +7863,6 @@ func (s DescribeTimeBasedAutoScalingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTimeBasedAutoScalingConfigurations sets the TimeBasedAutoScalingConfigurations field's value. -func (s *DescribeTimeBasedAutoScalingOutput) SetTimeBasedAutoScalingConfigurations(v []TimeBasedAutoScalingConfiguration) *DescribeTimeBasedAutoScalingOutput { - s.TimeBasedAutoScalingConfigurations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeUserProfilesRequest type DescribeUserProfilesInput struct { _ struct{} `type:"structure"` @@ -9417,12 +7881,6 @@ func (s DescribeUserProfilesInput) GoString() string { return s.String() } -// SetIamUserArns sets the IamUserArns field's value. -func (s *DescribeUserProfilesInput) SetIamUserArns(v []string) *DescribeUserProfilesInput { - s.IamUserArns = v - return s -} - // Contains the response to a DescribeUserProfiles request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeUserProfilesResult type DescribeUserProfilesOutput struct { @@ -9449,12 +7907,6 @@ func (s DescribeUserProfilesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUserProfiles sets the UserProfiles field's value. -func (s *DescribeUserProfilesOutput) SetUserProfiles(v []UserProfile) *DescribeUserProfilesOutput { - s.UserProfiles = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeVolumesRequest type DescribeVolumesInput struct { _ struct{} `type:"structure"` @@ -9486,30 +7938,6 @@ func (s DescribeVolumesInput) GoString() string { return s.String() } -// SetInstanceId sets the InstanceId field's value. -func (s *DescribeVolumesInput) SetInstanceId(v string) *DescribeVolumesInput { - s.InstanceId = &v - return s -} - -// SetRaidArrayId sets the RaidArrayId field's value. -func (s *DescribeVolumesInput) SetRaidArrayId(v string) *DescribeVolumesInput { - s.RaidArrayId = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *DescribeVolumesInput) SetStackId(v string) *DescribeVolumesInput { - s.StackId = &v - return s -} - -// SetVolumeIds sets the VolumeIds field's value. -func (s *DescribeVolumesInput) SetVolumeIds(v []string) *DescribeVolumesInput { - s.VolumeIds = v - return s -} - // Contains the response to a DescribeVolumes request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeVolumesResult type DescribeVolumesOutput struct { @@ -9536,12 +7964,6 @@ func (s DescribeVolumesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVolumes sets the Volumes field's value. -func (s *DescribeVolumesOutput) SetVolumes(v []Volume) *DescribeVolumesOutput { - s.Volumes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DetachElasticLoadBalancerRequest type DetachElasticLoadBalancerInput struct { _ struct{} `type:"structure"` @@ -9586,18 +8008,6 @@ func (s *DetachElasticLoadBalancerInput) Validate() error { return nil } -// SetElasticLoadBalancerName sets the ElasticLoadBalancerName field's value. -func (s *DetachElasticLoadBalancerInput) SetElasticLoadBalancerName(v string) *DetachElasticLoadBalancerInput { - s.ElasticLoadBalancerName = &v - return s -} - -// SetLayerId sets the LayerId field's value. -func (s *DetachElasticLoadBalancerInput) SetLayerId(v string) *DetachElasticLoadBalancerInput { - s.LayerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DetachElasticLoadBalancerOutput type DetachElasticLoadBalancerOutput struct { _ struct{} `type:"structure"` @@ -9654,12 +8064,6 @@ func (s *DisassociateElasticIpInput) Validate() error { return nil } -// SetElasticIp sets the ElasticIp field's value. -func (s *DisassociateElasticIpInput) SetElasticIp(v string) *DisassociateElasticIpInput { - s.ElasticIp = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DisassociateElasticIpOutput type DisassociateElasticIpOutput struct { _ struct{} `type:"structure"` @@ -9717,36 +8121,6 @@ func (s EbsBlockDevice) GoString() string { return s.String() } -// SetDeleteOnTermination sets the DeleteOnTermination field's value. -func (s *EbsBlockDevice) SetDeleteOnTermination(v bool) *EbsBlockDevice { - s.DeleteOnTermination = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *EbsBlockDevice) SetIops(v int64) *EbsBlockDevice { - s.Iops = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *EbsBlockDevice) SetSnapshotId(v string) *EbsBlockDevice { - s.SnapshotId = &v - return s -} - -// SetVolumeSize sets the VolumeSize field's value. -func (s *EbsBlockDevice) SetVolumeSize(v int64) *EbsBlockDevice { - s.VolumeSize = &v - return s -} - -// SetVolumeType sets the VolumeType field's value. -func (s *EbsBlockDevice) SetVolumeType(v VolumeType) *EbsBlockDevice { - s.VolumeType = v - return s -} - // Describes a registered Amazon ECS cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/EcsCluster type EcsCluster struct { @@ -9775,30 +8149,6 @@ func (s EcsCluster) GoString() string { return s.String() } -// SetEcsClusterArn sets the EcsClusterArn field's value. -func (s *EcsCluster) SetEcsClusterArn(v string) *EcsCluster { - s.EcsClusterArn = &v - return s -} - -// SetEcsClusterName sets the EcsClusterName field's value. -func (s *EcsCluster) SetEcsClusterName(v string) *EcsCluster { - s.EcsClusterName = &v - return s -} - -// SetRegisteredAt sets the RegisteredAt field's value. -func (s *EcsCluster) SetRegisteredAt(v string) *EcsCluster { - s.RegisteredAt = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *EcsCluster) SetStackId(v string) *EcsCluster { - s.StackId = &v - return s -} - // Describes an Elastic IP address. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ElasticIp type ElasticIp struct { @@ -9830,36 +8180,6 @@ func (s ElasticIp) GoString() string { return s.String() } -// SetDomain sets the Domain field's value. -func (s *ElasticIp) SetDomain(v string) *ElasticIp { - s.Domain = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *ElasticIp) SetInstanceId(v string) *ElasticIp { - s.InstanceId = &v - return s -} - -// SetIp sets the Ip field's value. -func (s *ElasticIp) SetIp(v string) *ElasticIp { - s.Ip = &v - return s -} - -// SetName sets the Name field's value. -func (s *ElasticIp) SetName(v string) *ElasticIp { - s.Name = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *ElasticIp) SetRegion(v string) *ElasticIp { - s.Region = &v - return s -} - // Describes an Elastic Load Balancing instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ElasticLoadBalancer type ElasticLoadBalancer struct { @@ -9904,60 +8224,6 @@ func (s ElasticLoadBalancer) GoString() string { return s.String() } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *ElasticLoadBalancer) SetAvailabilityZones(v []string) *ElasticLoadBalancer { - s.AvailabilityZones = v - return s -} - -// SetDnsName sets the DnsName field's value. -func (s *ElasticLoadBalancer) SetDnsName(v string) *ElasticLoadBalancer { - s.DnsName = &v - return s -} - -// SetEc2InstanceIds sets the Ec2InstanceIds field's value. -func (s *ElasticLoadBalancer) SetEc2InstanceIds(v []string) *ElasticLoadBalancer { - s.Ec2InstanceIds = v - return s -} - -// SetElasticLoadBalancerName sets the ElasticLoadBalancerName field's value. -func (s *ElasticLoadBalancer) SetElasticLoadBalancerName(v string) *ElasticLoadBalancer { - s.ElasticLoadBalancerName = &v - return s -} - -// SetLayerId sets the LayerId field's value. -func (s *ElasticLoadBalancer) SetLayerId(v string) *ElasticLoadBalancer { - s.LayerId = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *ElasticLoadBalancer) SetRegion(v string) *ElasticLoadBalancer { - s.Region = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *ElasticLoadBalancer) SetStackId(v string) *ElasticLoadBalancer { - s.StackId = &v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *ElasticLoadBalancer) SetSubnetIds(v []string) *ElasticLoadBalancer { - s.SubnetIds = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *ElasticLoadBalancer) SetVpcId(v string) *ElasticLoadBalancer { - s.VpcId = &v - return s -} - // Represents an app's environment variable. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/EnvironmentVariable type EnvironmentVariable struct { @@ -10013,24 +8279,6 @@ func (s *EnvironmentVariable) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *EnvironmentVariable) SetKey(v string) *EnvironmentVariable { - s.Key = &v - return s -} - -// SetSecure sets the Secure field's value. -func (s *EnvironmentVariable) SetSecure(v bool) *EnvironmentVariable { - s.Secure = &v - return s -} - -// SetValue sets the Value field's value. -func (s *EnvironmentVariable) SetValue(v string) *EnvironmentVariable { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GetHostnameSuggestionRequest type GetHostnameSuggestionInput struct { _ struct{} `type:"structure"` @@ -10065,12 +8313,6 @@ func (s *GetHostnameSuggestionInput) Validate() error { return nil } -// SetLayerId sets the LayerId field's value. -func (s *GetHostnameSuggestionInput) SetLayerId(v string) *GetHostnameSuggestionInput { - s.LayerId = &v - return s -} - // Contains the response to a GetHostnameSuggestion request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GetHostnameSuggestionResult type GetHostnameSuggestionOutput struct { @@ -10100,18 +8342,6 @@ func (s GetHostnameSuggestionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHostname sets the Hostname field's value. -func (s *GetHostnameSuggestionOutput) SetHostname(v string) *GetHostnameSuggestionOutput { - s.Hostname = &v - return s -} - -// SetLayerId sets the LayerId field's value. -func (s *GetHostnameSuggestionOutput) SetLayerId(v string) *GetHostnameSuggestionOutput { - s.LayerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GrantAccessRequest type GrantAccessInput struct { _ struct{} `type:"structure"` @@ -10155,18 +8385,6 @@ func (s *GrantAccessInput) Validate() error { return nil } -// SetInstanceId sets the InstanceId field's value. -func (s *GrantAccessInput) SetInstanceId(v string) *GrantAccessInput { - s.InstanceId = &v - return s -} - -// SetValidForInMinutes sets the ValidForInMinutes field's value. -func (s *GrantAccessInput) SetValidForInMinutes(v int64) *GrantAccessInput { - s.ValidForInMinutes = &v - return s -} - // Contains the response to a GrantAccess request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GrantAccessResult type GrantAccessOutput struct { @@ -10194,12 +8412,6 @@ func (s GrantAccessOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTemporaryCredential sets the TemporaryCredential field's value. -func (s *GrantAccessOutput) SetTemporaryCredential(v *TemporaryCredential) *GrantAccessOutput { - s.TemporaryCredential = v - return s -} - // Describes an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Instance type Instance struct { @@ -10381,252 +8593,6 @@ func (s Instance) GoString() string { return s.String() } -// SetAgentVersion sets the AgentVersion field's value. -func (s *Instance) SetAgentVersion(v string) *Instance { - s.AgentVersion = &v - return s -} - -// SetAmiId sets the AmiId field's value. -func (s *Instance) SetAmiId(v string) *Instance { - s.AmiId = &v - return s -} - -// SetArchitecture sets the Architecture field's value. -func (s *Instance) SetArchitecture(v Architecture) *Instance { - s.Architecture = v - return s -} - -// SetArn sets the Arn field's value. -func (s *Instance) SetArn(v string) *Instance { - s.Arn = &v - return s -} - -// SetAutoScalingType sets the AutoScalingType field's value. -func (s *Instance) SetAutoScalingType(v AutoScalingType) *Instance { - s.AutoScalingType = v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *Instance) SetAvailabilityZone(v string) *Instance { - s.AvailabilityZone = &v - return s -} - -// SetBlockDeviceMappings sets the BlockDeviceMappings field's value. -func (s *Instance) SetBlockDeviceMappings(v []BlockDeviceMapping) *Instance { - s.BlockDeviceMappings = v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Instance) SetCreatedAt(v string) *Instance { - s.CreatedAt = &v - return s -} - -// SetEbsOptimized sets the EbsOptimized field's value. -func (s *Instance) SetEbsOptimized(v bool) *Instance { - s.EbsOptimized = &v - return s -} - -// SetEc2InstanceId sets the Ec2InstanceId field's value. -func (s *Instance) SetEc2InstanceId(v string) *Instance { - s.Ec2InstanceId = &v - return s -} - -// SetEcsClusterArn sets the EcsClusterArn field's value. -func (s *Instance) SetEcsClusterArn(v string) *Instance { - s.EcsClusterArn = &v - return s -} - -// SetEcsContainerInstanceArn sets the EcsContainerInstanceArn field's value. -func (s *Instance) SetEcsContainerInstanceArn(v string) *Instance { - s.EcsContainerInstanceArn = &v - return s -} - -// SetElasticIp sets the ElasticIp field's value. -func (s *Instance) SetElasticIp(v string) *Instance { - s.ElasticIp = &v - return s -} - -// SetHostname sets the Hostname field's value. -func (s *Instance) SetHostname(v string) *Instance { - s.Hostname = &v - return s -} - -// SetInfrastructureClass sets the InfrastructureClass field's value. -func (s *Instance) SetInfrastructureClass(v string) *Instance { - s.InfrastructureClass = &v - return s -} - -// SetInstallUpdatesOnBoot sets the InstallUpdatesOnBoot field's value. -func (s *Instance) SetInstallUpdatesOnBoot(v bool) *Instance { - s.InstallUpdatesOnBoot = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *Instance) SetInstanceId(v string) *Instance { - s.InstanceId = &v - return s -} - -// SetInstanceProfileArn sets the InstanceProfileArn field's value. -func (s *Instance) SetInstanceProfileArn(v string) *Instance { - s.InstanceProfileArn = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *Instance) SetInstanceType(v string) *Instance { - s.InstanceType = &v - return s -} - -// SetLastServiceErrorId sets the LastServiceErrorId field's value. -func (s *Instance) SetLastServiceErrorId(v string) *Instance { - s.LastServiceErrorId = &v - return s -} - -// SetLayerIds sets the LayerIds field's value. -func (s *Instance) SetLayerIds(v []string) *Instance { - s.LayerIds = v - return s -} - -// SetOs sets the Os field's value. -func (s *Instance) SetOs(v string) *Instance { - s.Os = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *Instance) SetPlatform(v string) *Instance { - s.Platform = &v - return s -} - -// SetPrivateDns sets the PrivateDns field's value. -func (s *Instance) SetPrivateDns(v string) *Instance { - s.PrivateDns = &v - return s -} - -// SetPrivateIp sets the PrivateIp field's value. -func (s *Instance) SetPrivateIp(v string) *Instance { - s.PrivateIp = &v - return s -} - -// SetPublicDns sets the PublicDns field's value. -func (s *Instance) SetPublicDns(v string) *Instance { - s.PublicDns = &v - return s -} - -// SetPublicIp sets the PublicIp field's value. -func (s *Instance) SetPublicIp(v string) *Instance { - s.PublicIp = &v - return s -} - -// SetRegisteredBy sets the RegisteredBy field's value. -func (s *Instance) SetRegisteredBy(v string) *Instance { - s.RegisteredBy = &v - return s -} - -// SetReportedAgentVersion sets the ReportedAgentVersion field's value. -func (s *Instance) SetReportedAgentVersion(v string) *Instance { - s.ReportedAgentVersion = &v - return s -} - -// SetReportedOs sets the ReportedOs field's value. -func (s *Instance) SetReportedOs(v *ReportedOs) *Instance { - s.ReportedOs = v - return s -} - -// SetRootDeviceType sets the RootDeviceType field's value. -func (s *Instance) SetRootDeviceType(v RootDeviceType) *Instance { - s.RootDeviceType = v - return s -} - -// SetRootDeviceVolumeId sets the RootDeviceVolumeId field's value. -func (s *Instance) SetRootDeviceVolumeId(v string) *Instance { - s.RootDeviceVolumeId = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *Instance) SetSecurityGroupIds(v []string) *Instance { - s.SecurityGroupIds = v - return s -} - -// SetSshHostDsaKeyFingerprint sets the SshHostDsaKeyFingerprint field's value. -func (s *Instance) SetSshHostDsaKeyFingerprint(v string) *Instance { - s.SshHostDsaKeyFingerprint = &v - return s -} - -// SetSshHostRsaKeyFingerprint sets the SshHostRsaKeyFingerprint field's value. -func (s *Instance) SetSshHostRsaKeyFingerprint(v string) *Instance { - s.SshHostRsaKeyFingerprint = &v - return s -} - -// SetSshKeyName sets the SshKeyName field's value. -func (s *Instance) SetSshKeyName(v string) *Instance { - s.SshKeyName = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *Instance) SetStackId(v string) *Instance { - s.StackId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Instance) SetStatus(v string) *Instance { - s.Status = &v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *Instance) SetSubnetId(v string) *Instance { - s.SubnetId = &v - return s -} - -// SetTenancy sets the Tenancy field's value. -func (s *Instance) SetTenancy(v string) *Instance { - s.Tenancy = &v - return s -} - -// SetVirtualizationType sets the VirtualizationType field's value. -func (s *Instance) SetVirtualizationType(v VirtualizationType) *Instance { - s.VirtualizationType = v - return s -} - // Contains a description of an Amazon EC2 instance from the Amazon EC2 metadata // service. For more information, see Instance Metadata and User Data (http://docs.aws.amazon.com/sdkfornet/latest/apidocs/Index.html). // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/InstanceIdentity @@ -10650,18 +8616,6 @@ func (s InstanceIdentity) GoString() string { return s.String() } -// SetDocument sets the Document field's value. -func (s *InstanceIdentity) SetDocument(v string) *InstanceIdentity { - s.Document = &v - return s -} - -// SetSignature sets the Signature field's value. -func (s *InstanceIdentity) SetSignature(v string) *InstanceIdentity { - s.Signature = &v - return s -} - // Describes how many instances a stack has for each status. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/InstancesCount type InstancesCount struct { @@ -10735,120 +8689,6 @@ func (s InstancesCount) GoString() string { return s.String() } -// SetAssigning sets the Assigning field's value. -func (s *InstancesCount) SetAssigning(v int64) *InstancesCount { - s.Assigning = &v - return s -} - -// SetBooting sets the Booting field's value. -func (s *InstancesCount) SetBooting(v int64) *InstancesCount { - s.Booting = &v - return s -} - -// SetConnectionLost sets the ConnectionLost field's value. -func (s *InstancesCount) SetConnectionLost(v int64) *InstancesCount { - s.ConnectionLost = &v - return s -} - -// SetDeregistering sets the Deregistering field's value. -func (s *InstancesCount) SetDeregistering(v int64) *InstancesCount { - s.Deregistering = &v - return s -} - -// SetOnline sets the Online field's value. -func (s *InstancesCount) SetOnline(v int64) *InstancesCount { - s.Online = &v - return s -} - -// SetPending sets the Pending field's value. -func (s *InstancesCount) SetPending(v int64) *InstancesCount { - s.Pending = &v - return s -} - -// SetRebooting sets the Rebooting field's value. -func (s *InstancesCount) SetRebooting(v int64) *InstancesCount { - s.Rebooting = &v - return s -} - -// SetRegistered sets the Registered field's value. -func (s *InstancesCount) SetRegistered(v int64) *InstancesCount { - s.Registered = &v - return s -} - -// SetRegistering sets the Registering field's value. -func (s *InstancesCount) SetRegistering(v int64) *InstancesCount { - s.Registering = &v - return s -} - -// SetRequested sets the Requested field's value. -func (s *InstancesCount) SetRequested(v int64) *InstancesCount { - s.Requested = &v - return s -} - -// SetRunningSetup sets the RunningSetup field's value. -func (s *InstancesCount) SetRunningSetup(v int64) *InstancesCount { - s.RunningSetup = &v - return s -} - -// SetSetupFailed sets the SetupFailed field's value. -func (s *InstancesCount) SetSetupFailed(v int64) *InstancesCount { - s.SetupFailed = &v - return s -} - -// SetShuttingDown sets the ShuttingDown field's value. -func (s *InstancesCount) SetShuttingDown(v int64) *InstancesCount { - s.ShuttingDown = &v - return s -} - -// SetStartFailed sets the StartFailed field's value. -func (s *InstancesCount) SetStartFailed(v int64) *InstancesCount { - s.StartFailed = &v - return s -} - -// SetStopped sets the Stopped field's value. -func (s *InstancesCount) SetStopped(v int64) *InstancesCount { - s.Stopped = &v - return s -} - -// SetStopping sets the Stopping field's value. -func (s *InstancesCount) SetStopping(v int64) *InstancesCount { - s.Stopping = &v - return s -} - -// SetTerminated sets the Terminated field's value. -func (s *InstancesCount) SetTerminated(v int64) *InstancesCount { - s.Terminated = &v - return s -} - -// SetTerminating sets the Terminating field's value. -func (s *InstancesCount) SetTerminating(v int64) *InstancesCount { - s.Terminating = &v - return s -} - -// SetUnassigning sets the Unassigning field's value. -func (s *InstancesCount) SetUnassigning(v int64) *InstancesCount { - s.Unassigning = &v - return s -} - // Describes a layer. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Layer type Layer struct { @@ -10945,159 +8785,21 @@ type Layer struct { // The layer type. Type LayerType `type:"string" enum:"true"` - // Whether the layer uses Amazon EBS-optimized instances. - UseEbsOptimizedInstances *bool `type:"boolean"` - - // A VolumeConfigurations object that describes the layer's Amazon EBS volumes. - VolumeConfigurations []VolumeConfiguration `type:"list"` -} - -// String returns the string representation -func (s Layer) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s Layer) GoString() string { - return s.String() -} - -// SetArn sets the Arn field's value. -func (s *Layer) SetArn(v string) *Layer { - s.Arn = &v - return s -} - -// SetAttributes sets the Attributes field's value. -func (s *Layer) SetAttributes(v map[string]string) *Layer { - s.Attributes = v - return s -} - -// SetAutoAssignElasticIps sets the AutoAssignElasticIps field's value. -func (s *Layer) SetAutoAssignElasticIps(v bool) *Layer { - s.AutoAssignElasticIps = &v - return s -} - -// SetAutoAssignPublicIps sets the AutoAssignPublicIps field's value. -func (s *Layer) SetAutoAssignPublicIps(v bool) *Layer { - s.AutoAssignPublicIps = &v - return s -} - -// SetCloudWatchLogsConfiguration sets the CloudWatchLogsConfiguration field's value. -func (s *Layer) SetCloudWatchLogsConfiguration(v *CloudWatchLogsConfiguration) *Layer { - s.CloudWatchLogsConfiguration = v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Layer) SetCreatedAt(v string) *Layer { - s.CreatedAt = &v - return s -} - -// SetCustomInstanceProfileArn sets the CustomInstanceProfileArn field's value. -func (s *Layer) SetCustomInstanceProfileArn(v string) *Layer { - s.CustomInstanceProfileArn = &v - return s -} - -// SetCustomJson sets the CustomJson field's value. -func (s *Layer) SetCustomJson(v string) *Layer { - s.CustomJson = &v - return s -} - -// SetCustomRecipes sets the CustomRecipes field's value. -func (s *Layer) SetCustomRecipes(v *Recipes) *Layer { - s.CustomRecipes = v - return s -} - -// SetCustomSecurityGroupIds sets the CustomSecurityGroupIds field's value. -func (s *Layer) SetCustomSecurityGroupIds(v []string) *Layer { - s.CustomSecurityGroupIds = v - return s -} - -// SetDefaultRecipes sets the DefaultRecipes field's value. -func (s *Layer) SetDefaultRecipes(v *Recipes) *Layer { - s.DefaultRecipes = v - return s -} - -// SetDefaultSecurityGroupNames sets the DefaultSecurityGroupNames field's value. -func (s *Layer) SetDefaultSecurityGroupNames(v []string) *Layer { - s.DefaultSecurityGroupNames = v - return s -} - -// SetEnableAutoHealing sets the EnableAutoHealing field's value. -func (s *Layer) SetEnableAutoHealing(v bool) *Layer { - s.EnableAutoHealing = &v - return s -} - -// SetInstallUpdatesOnBoot sets the InstallUpdatesOnBoot field's value. -func (s *Layer) SetInstallUpdatesOnBoot(v bool) *Layer { - s.InstallUpdatesOnBoot = &v - return s -} - -// SetLayerId sets the LayerId field's value. -func (s *Layer) SetLayerId(v string) *Layer { - s.LayerId = &v - return s -} - -// SetLifecycleEventConfiguration sets the LifecycleEventConfiguration field's value. -func (s *Layer) SetLifecycleEventConfiguration(v *LifecycleEventConfiguration) *Layer { - s.LifecycleEventConfiguration = v - return s -} - -// SetName sets the Name field's value. -func (s *Layer) SetName(v string) *Layer { - s.Name = &v - return s -} - -// SetPackages sets the Packages field's value. -func (s *Layer) SetPackages(v []string) *Layer { - s.Packages = v - return s -} - -// SetShortname sets the Shortname field's value. -func (s *Layer) SetShortname(v string) *Layer { - s.Shortname = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *Layer) SetStackId(v string) *Layer { - s.StackId = &v - return s -} + // Whether the layer uses Amazon EBS-optimized instances. + UseEbsOptimizedInstances *bool `type:"boolean"` -// SetType sets the Type field's value. -func (s *Layer) SetType(v LayerType) *Layer { - s.Type = v - return s + // A VolumeConfigurations object that describes the layer's Amazon EBS volumes. + VolumeConfigurations []VolumeConfiguration `type:"list"` } -// SetUseEbsOptimizedInstances sets the UseEbsOptimizedInstances field's value. -func (s *Layer) SetUseEbsOptimizedInstances(v bool) *Layer { - s.UseEbsOptimizedInstances = &v - return s +// String returns the string representation +func (s Layer) String() string { + return awsutil.Prettify(s) } -// SetVolumeConfigurations sets the VolumeConfigurations field's value. -func (s *Layer) SetVolumeConfigurations(v []VolumeConfiguration) *Layer { - s.VolumeConfigurations = v - return s +// GoString returns the string representation +func (s Layer) GoString() string { + return s.String() } // Specifies the lifecycle event configuration @@ -11119,12 +8821,6 @@ func (s LifecycleEventConfiguration) GoString() string { return s.String() } -// SetShutdown sets the Shutdown field's value. -func (s *LifecycleEventConfiguration) SetShutdown(v *ShutdownEventConfiguration) *LifecycleEventConfiguration { - s.Shutdown = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ListTagsRequest type ListTagsInput struct { _ struct{} `type:"structure"` @@ -11167,24 +8863,6 @@ func (s *ListTagsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListTagsInput) SetMaxResults(v int64) *ListTagsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTagsInput) SetNextToken(v string) *ListTagsInput { - s.NextToken = &v - return s -} - -// SetResourceArn sets the ResourceArn field's value. -func (s *ListTagsInput) SetResourceArn(v string) *ListTagsInput { - s.ResourceArn = &v - return s -} - // Contains the response to a ListTags request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ListTagsResult type ListTagsOutput struct { @@ -11218,18 +8896,6 @@ func (s ListTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTagsOutput) SetNextToken(v string) *ListTagsOutput { - s.NextToken = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *ListTagsOutput) SetTags(v map[string]string) *ListTagsOutput { - s.Tags = v - return s -} - // Describes a layer's load-based auto scaling configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/LoadBasedAutoScalingConfiguration type LoadBasedAutoScalingConfiguration struct { @@ -11260,30 +8926,6 @@ func (s LoadBasedAutoScalingConfiguration) GoString() string { return s.String() } -// SetDownScaling sets the DownScaling field's value. -func (s *LoadBasedAutoScalingConfiguration) SetDownScaling(v *AutoScalingThresholds) *LoadBasedAutoScalingConfiguration { - s.DownScaling = v - return s -} - -// SetEnable sets the Enable field's value. -func (s *LoadBasedAutoScalingConfiguration) SetEnable(v bool) *LoadBasedAutoScalingConfiguration { - s.Enable = &v - return s -} - -// SetLayerId sets the LayerId field's value. -func (s *LoadBasedAutoScalingConfiguration) SetLayerId(v string) *LoadBasedAutoScalingConfiguration { - s.LayerId = &v - return s -} - -// SetUpScaling sets the UpScaling field's value. -func (s *LoadBasedAutoScalingConfiguration) SetUpScaling(v *AutoScalingThresholds) *LoadBasedAutoScalingConfiguration { - s.UpScaling = v - return s -} - // Describes stack or user permissions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Permission type Permission struct { @@ -11329,36 +8971,6 @@ func (s Permission) GoString() string { return s.String() } -// SetAllowSsh sets the AllowSsh field's value. -func (s *Permission) SetAllowSsh(v bool) *Permission { - s.AllowSsh = &v - return s -} - -// SetAllowSudo sets the AllowSudo field's value. -func (s *Permission) SetAllowSudo(v bool) *Permission { - s.AllowSudo = &v - return s -} - -// SetIamUserArn sets the IamUserArn field's value. -func (s *Permission) SetIamUserArn(v string) *Permission { - s.IamUserArn = &v - return s -} - -// SetLevel sets the Level field's value. -func (s *Permission) SetLevel(v string) *Permission { - s.Level = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *Permission) SetStackId(v string) *Permission { - s.StackId = &v - return s -} - // Describes an instance's RAID array. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RaidArray type RaidArray struct { @@ -11415,84 +9027,6 @@ func (s RaidArray) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *RaidArray) SetAvailabilityZone(v string) *RaidArray { - s.AvailabilityZone = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *RaidArray) SetCreatedAt(v string) *RaidArray { - s.CreatedAt = &v - return s -} - -// SetDevice sets the Device field's value. -func (s *RaidArray) SetDevice(v string) *RaidArray { - s.Device = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *RaidArray) SetInstanceId(v string) *RaidArray { - s.InstanceId = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *RaidArray) SetIops(v int64) *RaidArray { - s.Iops = &v - return s -} - -// SetMountPoint sets the MountPoint field's value. -func (s *RaidArray) SetMountPoint(v string) *RaidArray { - s.MountPoint = &v - return s -} - -// SetName sets the Name field's value. -func (s *RaidArray) SetName(v string) *RaidArray { - s.Name = &v - return s -} - -// SetNumberOfDisks sets the NumberOfDisks field's value. -func (s *RaidArray) SetNumberOfDisks(v int64) *RaidArray { - s.NumberOfDisks = &v - return s -} - -// SetRaidArrayId sets the RaidArrayId field's value. -func (s *RaidArray) SetRaidArrayId(v string) *RaidArray { - s.RaidArrayId = &v - return s -} - -// SetRaidLevel sets the RaidLevel field's value. -func (s *RaidArray) SetRaidLevel(v int64) *RaidArray { - s.RaidLevel = &v - return s -} - -// SetSize sets the Size field's value. -func (s *RaidArray) SetSize(v int64) *RaidArray { - s.Size = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *RaidArray) SetStackId(v string) *RaidArray { - s.StackId = &v - return s -} - -// SetVolumeType sets the VolumeType field's value. -func (s *RaidArray) SetVolumeType(v string) *RaidArray { - s.VolumeType = &v - return s -} - // Describes an Amazon RDS instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RdsDbInstance type RdsDbInstance struct { @@ -11539,60 +9073,6 @@ func (s RdsDbInstance) GoString() string { return s.String() } -// SetAddress sets the Address field's value. -func (s *RdsDbInstance) SetAddress(v string) *RdsDbInstance { - s.Address = &v - return s -} - -// SetDbInstanceIdentifier sets the DbInstanceIdentifier field's value. -func (s *RdsDbInstance) SetDbInstanceIdentifier(v string) *RdsDbInstance { - s.DbInstanceIdentifier = &v - return s -} - -// SetDbPassword sets the DbPassword field's value. -func (s *RdsDbInstance) SetDbPassword(v string) *RdsDbInstance { - s.DbPassword = &v - return s -} - -// SetDbUser sets the DbUser field's value. -func (s *RdsDbInstance) SetDbUser(v string) *RdsDbInstance { - s.DbUser = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *RdsDbInstance) SetEngine(v string) *RdsDbInstance { - s.Engine = &v - return s -} - -// SetMissingOnRds sets the MissingOnRds field's value. -func (s *RdsDbInstance) SetMissingOnRds(v bool) *RdsDbInstance { - s.MissingOnRds = &v - return s -} - -// SetRdsDbInstanceArn sets the RdsDbInstanceArn field's value. -func (s *RdsDbInstance) SetRdsDbInstanceArn(v string) *RdsDbInstance { - s.RdsDbInstanceArn = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *RdsDbInstance) SetRegion(v string) *RdsDbInstance { - s.Region = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *RdsDbInstance) SetStackId(v string) *RdsDbInstance { - s.StackId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RebootInstanceRequest type RebootInstanceInput struct { _ struct{} `type:"structure"` @@ -11627,12 +9107,6 @@ func (s *RebootInstanceInput) Validate() error { return nil } -// SetInstanceId sets the InstanceId field's value. -func (s *RebootInstanceInput) SetInstanceId(v string) *RebootInstanceInput { - s.InstanceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RebootInstanceOutput type RebootInstanceOutput struct { _ struct{} `type:"structure"` @@ -11697,36 +9171,6 @@ func (s Recipes) GoString() string { return s.String() } -// SetConfigure sets the Configure field's value. -func (s *Recipes) SetConfigure(v []string) *Recipes { - s.Configure = v - return s -} - -// SetDeploy sets the Deploy field's value. -func (s *Recipes) SetDeploy(v []string) *Recipes { - s.Deploy = v - return s -} - -// SetSetup sets the Setup field's value. -func (s *Recipes) SetSetup(v []string) *Recipes { - s.Setup = v - return s -} - -// SetShutdown sets the Shutdown field's value. -func (s *Recipes) SetShutdown(v []string) *Recipes { - s.Shutdown = v - return s -} - -// SetUndeploy sets the Undeploy field's value. -func (s *Recipes) SetUndeploy(v []string) *Recipes { - s.Undeploy = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterEcsClusterRequest type RegisterEcsClusterInput struct { _ struct{} `type:"structure"` @@ -11770,18 +9214,6 @@ func (s *RegisterEcsClusterInput) Validate() error { return nil } -// SetEcsClusterArn sets the EcsClusterArn field's value. -func (s *RegisterEcsClusterInput) SetEcsClusterArn(v string) *RegisterEcsClusterInput { - s.EcsClusterArn = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *RegisterEcsClusterInput) SetStackId(v string) *RegisterEcsClusterInput { - s.StackId = &v - return s -} - // Contains the response to a RegisterEcsCluster request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterEcsClusterResult type RegisterEcsClusterOutput struct { @@ -11808,12 +9240,6 @@ func (s RegisterEcsClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEcsClusterArn sets the EcsClusterArn field's value. -func (s *RegisterEcsClusterOutput) SetEcsClusterArn(v string) *RegisterEcsClusterOutput { - s.EcsClusterArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterElasticIpRequest type RegisterElasticIpInput struct { _ struct{} `type:"structure"` @@ -11857,18 +9283,6 @@ func (s *RegisterElasticIpInput) Validate() error { return nil } -// SetElasticIp sets the ElasticIp field's value. -func (s *RegisterElasticIpInput) SetElasticIp(v string) *RegisterElasticIpInput { - s.ElasticIp = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *RegisterElasticIpInput) SetStackId(v string) *RegisterElasticIpInput { - s.StackId = &v - return s -} - // Contains the response to a RegisterElasticIp request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterElasticIpResult type RegisterElasticIpOutput struct { @@ -11895,12 +9309,6 @@ func (s RegisterElasticIpOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetElasticIp sets the ElasticIp field's value. -func (s *RegisterElasticIpOutput) SetElasticIp(v string) *RegisterElasticIpOutput { - s.ElasticIp = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterInstanceRequest type RegisterInstanceInput struct { _ struct{} `type:"structure"` @@ -11954,48 +9362,6 @@ func (s *RegisterInstanceInput) Validate() error { return nil } -// SetHostname sets the Hostname field's value. -func (s *RegisterInstanceInput) SetHostname(v string) *RegisterInstanceInput { - s.Hostname = &v - return s -} - -// SetInstanceIdentity sets the InstanceIdentity field's value. -func (s *RegisterInstanceInput) SetInstanceIdentity(v *InstanceIdentity) *RegisterInstanceInput { - s.InstanceIdentity = v - return s -} - -// SetPrivateIp sets the PrivateIp field's value. -func (s *RegisterInstanceInput) SetPrivateIp(v string) *RegisterInstanceInput { - s.PrivateIp = &v - return s -} - -// SetPublicIp sets the PublicIp field's value. -func (s *RegisterInstanceInput) SetPublicIp(v string) *RegisterInstanceInput { - s.PublicIp = &v - return s -} - -// SetRsaPublicKey sets the RsaPublicKey field's value. -func (s *RegisterInstanceInput) SetRsaPublicKey(v string) *RegisterInstanceInput { - s.RsaPublicKey = &v - return s -} - -// SetRsaPublicKeyFingerprint sets the RsaPublicKeyFingerprint field's value. -func (s *RegisterInstanceInput) SetRsaPublicKeyFingerprint(v string) *RegisterInstanceInput { - s.RsaPublicKeyFingerprint = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *RegisterInstanceInput) SetStackId(v string) *RegisterInstanceInput { - s.StackId = &v - return s -} - // Contains the response to a RegisterInstanceResult request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterInstanceResult type RegisterInstanceOutput struct { @@ -12022,12 +9388,6 @@ func (s RegisterInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceId sets the InstanceId field's value. -func (s *RegisterInstanceOutput) SetInstanceId(v string) *RegisterInstanceOutput { - s.InstanceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterRdsDbInstanceRequest type RegisterRdsDbInstanceInput struct { _ struct{} `type:"structure"` @@ -12089,30 +9449,6 @@ func (s *RegisterRdsDbInstanceInput) Validate() error { return nil } -// SetDbPassword sets the DbPassword field's value. -func (s *RegisterRdsDbInstanceInput) SetDbPassword(v string) *RegisterRdsDbInstanceInput { - s.DbPassword = &v - return s -} - -// SetDbUser sets the DbUser field's value. -func (s *RegisterRdsDbInstanceInput) SetDbUser(v string) *RegisterRdsDbInstanceInput { - s.DbUser = &v - return s -} - -// SetRdsDbInstanceArn sets the RdsDbInstanceArn field's value. -func (s *RegisterRdsDbInstanceInput) SetRdsDbInstanceArn(v string) *RegisterRdsDbInstanceInput { - s.RdsDbInstanceArn = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *RegisterRdsDbInstanceInput) SetStackId(v string) *RegisterRdsDbInstanceInput { - s.StackId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterRdsDbInstanceOutput type RegisterRdsDbInstanceOutput struct { _ struct{} `type:"structure"` @@ -12172,18 +9508,6 @@ func (s *RegisterVolumeInput) Validate() error { return nil } -// SetEc2VolumeId sets the Ec2VolumeId field's value. -func (s *RegisterVolumeInput) SetEc2VolumeId(v string) *RegisterVolumeInput { - s.Ec2VolumeId = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *RegisterVolumeInput) SetStackId(v string) *RegisterVolumeInput { - s.StackId = &v - return s -} - // Contains the response to a RegisterVolume request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterVolumeResult type RegisterVolumeOutput struct { @@ -12210,12 +9534,6 @@ func (s RegisterVolumeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVolumeId sets the VolumeId field's value. -func (s *RegisterVolumeOutput) SetVolumeId(v string) *RegisterVolumeOutput { - s.VolumeId = &v - return s -} - // A registered instance's reported operating system. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ReportedOs type ReportedOs struct { @@ -12241,24 +9559,6 @@ func (s ReportedOs) GoString() string { return s.String() } -// SetFamily sets the Family field's value. -func (s *ReportedOs) SetFamily(v string) *ReportedOs { - s.Family = &v - return s -} - -// SetName sets the Name field's value. -func (s *ReportedOs) SetName(v string) *ReportedOs { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *ReportedOs) SetVersion(v string) *ReportedOs { - s.Version = &v - return s -} - // Describes a user's SSH information. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SelfUserProfile type SelfUserProfile struct { @@ -12287,30 +9587,6 @@ func (s SelfUserProfile) GoString() string { return s.String() } -// SetIamUserArn sets the IamUserArn field's value. -func (s *SelfUserProfile) SetIamUserArn(v string) *SelfUserProfile { - s.IamUserArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *SelfUserProfile) SetName(v string) *SelfUserProfile { - s.Name = &v - return s -} - -// SetSshPublicKey sets the SshPublicKey field's value. -func (s *SelfUserProfile) SetSshPublicKey(v string) *SelfUserProfile { - s.SshPublicKey = &v - return s -} - -// SetSshUsername sets the SshUsername field's value. -func (s *SelfUserProfile) SetSshUsername(v string) *SelfUserProfile { - s.SshUsername = &v - return s -} - // Describes an AWS OpsWorks Stacks service error. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ServiceError type ServiceError struct { @@ -12345,42 +9621,6 @@ func (s ServiceError) GoString() string { return s.String() } -// SetCreatedAt sets the CreatedAt field's value. -func (s *ServiceError) SetCreatedAt(v string) *ServiceError { - s.CreatedAt = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *ServiceError) SetInstanceId(v string) *ServiceError { - s.InstanceId = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *ServiceError) SetMessage(v string) *ServiceError { - s.Message = &v - return s -} - -// SetServiceErrorId sets the ServiceErrorId field's value. -func (s *ServiceError) SetServiceErrorId(v string) *ServiceError { - s.ServiceErrorId = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *ServiceError) SetStackId(v string) *ServiceError { - s.StackId = &v - return s -} - -// SetType sets the Type field's value. -func (s *ServiceError) SetType(v string) *ServiceError { - s.Type = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetLoadBasedAutoScalingRequest type SetLoadBasedAutoScalingInput struct { _ struct{} `type:"structure"` @@ -12438,30 +9678,6 @@ func (s *SetLoadBasedAutoScalingInput) Validate() error { return nil } -// SetDownScaling sets the DownScaling field's value. -func (s *SetLoadBasedAutoScalingInput) SetDownScaling(v *AutoScalingThresholds) *SetLoadBasedAutoScalingInput { - s.DownScaling = v - return s -} - -// SetEnable sets the Enable field's value. -func (s *SetLoadBasedAutoScalingInput) SetEnable(v bool) *SetLoadBasedAutoScalingInput { - s.Enable = &v - return s -} - -// SetLayerId sets the LayerId field's value. -func (s *SetLoadBasedAutoScalingInput) SetLayerId(v string) *SetLoadBasedAutoScalingInput { - s.LayerId = &v - return s -} - -// SetUpScaling sets the UpScaling field's value. -func (s *SetLoadBasedAutoScalingInput) SetUpScaling(v *AutoScalingThresholds) *SetLoadBasedAutoScalingInput { - s.UpScaling = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetLoadBasedAutoScalingOutput type SetLoadBasedAutoScalingOutput struct { _ struct{} `type:"structure"` @@ -12550,36 +9766,6 @@ func (s *SetPermissionInput) Validate() error { return nil } -// SetAllowSsh sets the AllowSsh field's value. -func (s *SetPermissionInput) SetAllowSsh(v bool) *SetPermissionInput { - s.AllowSsh = &v - return s -} - -// SetAllowSudo sets the AllowSudo field's value. -func (s *SetPermissionInput) SetAllowSudo(v bool) *SetPermissionInput { - s.AllowSudo = &v - return s -} - -// SetIamUserArn sets the IamUserArn field's value. -func (s *SetPermissionInput) SetIamUserArn(v string) *SetPermissionInput { - s.IamUserArn = &v - return s -} - -// SetLevel sets the Level field's value. -func (s *SetPermissionInput) SetLevel(v string) *SetPermissionInput { - s.Level = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *SetPermissionInput) SetStackId(v string) *SetPermissionInput { - s.StackId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetPermissionOutput type SetPermissionOutput struct { _ struct{} `type:"structure"` @@ -12639,18 +9825,6 @@ func (s *SetTimeBasedAutoScalingInput) Validate() error { return nil } -// SetAutoScalingSchedule sets the AutoScalingSchedule field's value. -func (s *SetTimeBasedAutoScalingInput) SetAutoScalingSchedule(v *WeeklyAutoScalingSchedule) *SetTimeBasedAutoScalingInput { - s.AutoScalingSchedule = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *SetTimeBasedAutoScalingInput) SetInstanceId(v string) *SetTimeBasedAutoScalingInput { - s.InstanceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetTimeBasedAutoScalingOutput type SetTimeBasedAutoScalingOutput struct { _ struct{} `type:"structure"` @@ -12697,18 +9871,6 @@ func (s ShutdownEventConfiguration) GoString() string { return s.String() } -// SetDelayUntilElbConnectionsDrained sets the DelayUntilElbConnectionsDrained field's value. -func (s *ShutdownEventConfiguration) SetDelayUntilElbConnectionsDrained(v bool) *ShutdownEventConfiguration { - s.DelayUntilElbConnectionsDrained = &v - return s -} - -// SetExecutionTimeout sets the ExecutionTimeout field's value. -func (s *ShutdownEventConfiguration) SetExecutionTimeout(v int64) *ShutdownEventConfiguration { - s.ExecutionTimeout = &v - return s -} - // Contains the information required to retrieve an app or cookbook from a repository. // For more information, see Creating Apps (http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html) // or Custom Recipes and Cookbooks (http://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html). @@ -12768,42 +9930,6 @@ func (s Source) GoString() string { return s.String() } -// SetPassword sets the Password field's value. -func (s *Source) SetPassword(v string) *Source { - s.Password = &v - return s -} - -// SetRevision sets the Revision field's value. -func (s *Source) SetRevision(v string) *Source { - s.Revision = &v - return s -} - -// SetSshKey sets the SshKey field's value. -func (s *Source) SetSshKey(v string) *Source { - s.SshKey = &v - return s -} - -// SetType sets the Type field's value. -func (s *Source) SetType(v SourceType) *Source { - s.Type = v - return s -} - -// SetUrl sets the Url field's value. -func (s *Source) SetUrl(v string) *Source { - s.Url = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *Source) SetUsername(v string) *Source { - s.Username = &v - return s -} - // Describes an app's SSL configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SslConfiguration type SslConfiguration struct { @@ -12852,24 +9978,6 @@ func (s *SslConfiguration) Validate() error { return nil } -// SetCertificate sets the Certificate field's value. -func (s *SslConfiguration) SetCertificate(v string) *SslConfiguration { - s.Certificate = &v - return s -} - -// SetChain sets the Chain field's value. -func (s *SslConfiguration) SetChain(v string) *SslConfiguration { - s.Chain = &v - return s -} - -// SetPrivateKey sets the PrivateKey field's value. -func (s *SslConfiguration) SetPrivateKey(v string) *SslConfiguration { - s.PrivateKey = &v - return s -} - // Describes a stack. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Stack type Stack struct { @@ -12964,144 +10072,12 @@ type Stack struct { // String returns the string representation func (s Stack) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s Stack) GoString() string { - return s.String() -} - -// SetAgentVersion sets the AgentVersion field's value. -func (s *Stack) SetAgentVersion(v string) *Stack { - s.AgentVersion = &v - return s -} - -// SetArn sets the Arn field's value. -func (s *Stack) SetArn(v string) *Stack { - s.Arn = &v - return s -} - -// SetAttributes sets the Attributes field's value. -func (s *Stack) SetAttributes(v map[string]string) *Stack { - s.Attributes = v - return s -} - -// SetChefConfiguration sets the ChefConfiguration field's value. -func (s *Stack) SetChefConfiguration(v *ChefConfiguration) *Stack { - s.ChefConfiguration = v - return s -} - -// SetConfigurationManager sets the ConfigurationManager field's value. -func (s *Stack) SetConfigurationManager(v *StackConfigurationManager) *Stack { - s.ConfigurationManager = v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Stack) SetCreatedAt(v string) *Stack { - s.CreatedAt = &v - return s -} - -// SetCustomCookbooksSource sets the CustomCookbooksSource field's value. -func (s *Stack) SetCustomCookbooksSource(v *Source) *Stack { - s.CustomCookbooksSource = v - return s -} - -// SetCustomJson sets the CustomJson field's value. -func (s *Stack) SetCustomJson(v string) *Stack { - s.CustomJson = &v - return s -} - -// SetDefaultAvailabilityZone sets the DefaultAvailabilityZone field's value. -func (s *Stack) SetDefaultAvailabilityZone(v string) *Stack { - s.DefaultAvailabilityZone = &v - return s -} - -// SetDefaultInstanceProfileArn sets the DefaultInstanceProfileArn field's value. -func (s *Stack) SetDefaultInstanceProfileArn(v string) *Stack { - s.DefaultInstanceProfileArn = &v - return s -} - -// SetDefaultOs sets the DefaultOs field's value. -func (s *Stack) SetDefaultOs(v string) *Stack { - s.DefaultOs = &v - return s -} - -// SetDefaultRootDeviceType sets the DefaultRootDeviceType field's value. -func (s *Stack) SetDefaultRootDeviceType(v RootDeviceType) *Stack { - s.DefaultRootDeviceType = v - return s -} - -// SetDefaultSshKeyName sets the DefaultSshKeyName field's value. -func (s *Stack) SetDefaultSshKeyName(v string) *Stack { - s.DefaultSshKeyName = &v - return s -} - -// SetDefaultSubnetId sets the DefaultSubnetId field's value. -func (s *Stack) SetDefaultSubnetId(v string) *Stack { - s.DefaultSubnetId = &v - return s -} - -// SetHostnameTheme sets the HostnameTheme field's value. -func (s *Stack) SetHostnameTheme(v string) *Stack { - s.HostnameTheme = &v - return s -} - -// SetName sets the Name field's value. -func (s *Stack) SetName(v string) *Stack { - s.Name = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *Stack) SetRegion(v string) *Stack { - s.Region = &v - return s -} - -// SetServiceRoleArn sets the ServiceRoleArn field's value. -func (s *Stack) SetServiceRoleArn(v string) *Stack { - s.ServiceRoleArn = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *Stack) SetStackId(v string) *Stack { - s.StackId = &v - return s -} - -// SetUseCustomCookbooks sets the UseCustomCookbooks field's value. -func (s *Stack) SetUseCustomCookbooks(v bool) *Stack { - s.UseCustomCookbooks = &v - return s -} - -// SetUseOpsworksSecurityGroups sets the UseOpsworksSecurityGroups field's value. -func (s *Stack) SetUseOpsworksSecurityGroups(v bool) *Stack { - s.UseOpsworksSecurityGroups = &v - return s + return awsutil.Prettify(s) } -// SetVpcId sets the VpcId field's value. -func (s *Stack) SetVpcId(v string) *Stack { - s.VpcId = &v - return s +// GoString returns the string representation +func (s Stack) GoString() string { + return s.String() } // Describes the configuration manager. @@ -13128,18 +10104,6 @@ func (s StackConfigurationManager) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *StackConfigurationManager) SetName(v string) *StackConfigurationManager { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *StackConfigurationManager) SetVersion(v string) *StackConfigurationManager { - s.Version = &v - return s -} - // Summarizes the number of layers, instances, and apps in a stack. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StackSummary type StackSummary struct { @@ -13174,42 +10138,6 @@ func (s StackSummary) GoString() string { return s.String() } -// SetAppsCount sets the AppsCount field's value. -func (s *StackSummary) SetAppsCount(v int64) *StackSummary { - s.AppsCount = &v - return s -} - -// SetArn sets the Arn field's value. -func (s *StackSummary) SetArn(v string) *StackSummary { - s.Arn = &v - return s -} - -// SetInstancesCount sets the InstancesCount field's value. -func (s *StackSummary) SetInstancesCount(v *InstancesCount) *StackSummary { - s.InstancesCount = v - return s -} - -// SetLayersCount sets the LayersCount field's value. -func (s *StackSummary) SetLayersCount(v int64) *StackSummary { - s.LayersCount = &v - return s -} - -// SetName sets the Name field's value. -func (s *StackSummary) SetName(v string) *StackSummary { - s.Name = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *StackSummary) SetStackId(v string) *StackSummary { - s.StackId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartInstanceRequest type StartInstanceInput struct { _ struct{} `type:"structure"` @@ -13244,12 +10172,6 @@ func (s *StartInstanceInput) Validate() error { return nil } -// SetInstanceId sets the InstanceId field's value. -func (s *StartInstanceInput) SetInstanceId(v string) *StartInstanceInput { - s.InstanceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartInstanceOutput type StartInstanceOutput struct { _ struct{} `type:"structure"` @@ -13306,12 +10228,6 @@ func (s *StartStackInput) Validate() error { return nil } -// SetStackId sets the StackId field's value. -func (s *StartStackInput) SetStackId(v string) *StartStackInput { - s.StackId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartStackOutput type StartStackOutput struct { _ struct{} `type:"structure"` @@ -13368,12 +10284,6 @@ func (s *StopInstanceInput) Validate() error { return nil } -// SetInstanceId sets the InstanceId field's value. -func (s *StopInstanceInput) SetInstanceId(v string) *StopInstanceInput { - s.InstanceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopInstanceOutput type StopInstanceOutput struct { _ struct{} `type:"structure"` @@ -13430,12 +10340,6 @@ func (s *StopStackInput) Validate() error { return nil } -// SetStackId sets the StackId field's value. -func (s *StopStackInput) SetStackId(v string) *StopStackInput { - s.StackId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopStackOutput type StopStackOutput struct { _ struct{} `type:"structure"` @@ -13517,18 +10421,6 @@ func (s *TagResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput { - s.ResourceArn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagResourceInput) SetTags(v map[string]string) *TagResourceInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TagResourceOutput type TagResourceOutput struct { _ struct{} `type:"structure"` @@ -13583,30 +10475,6 @@ func (s TemporaryCredential) GoString() string { return s.String() } -// SetInstanceId sets the InstanceId field's value. -func (s *TemporaryCredential) SetInstanceId(v string) *TemporaryCredential { - s.InstanceId = &v - return s -} - -// SetPassword sets the Password field's value. -func (s *TemporaryCredential) SetPassword(v string) *TemporaryCredential { - s.Password = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *TemporaryCredential) SetUsername(v string) *TemporaryCredential { - s.Username = &v - return s -} - -// SetValidForInMinutes sets the ValidForInMinutes field's value. -func (s *TemporaryCredential) SetValidForInMinutes(v int64) *TemporaryCredential { - s.ValidForInMinutes = &v - return s -} - // Describes an instance's time-based auto scaling configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TimeBasedAutoScalingConfiguration type TimeBasedAutoScalingConfiguration struct { @@ -13629,18 +10497,6 @@ func (s TimeBasedAutoScalingConfiguration) GoString() string { return s.String() } -// SetAutoScalingSchedule sets the AutoScalingSchedule field's value. -func (s *TimeBasedAutoScalingConfiguration) SetAutoScalingSchedule(v *WeeklyAutoScalingSchedule) *TimeBasedAutoScalingConfiguration { - s.AutoScalingSchedule = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *TimeBasedAutoScalingConfiguration) SetInstanceId(v string) *TimeBasedAutoScalingConfiguration { - s.InstanceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignInstanceRequest type UnassignInstanceInput struct { _ struct{} `type:"structure"` @@ -13675,12 +10531,6 @@ func (s *UnassignInstanceInput) Validate() error { return nil } -// SetInstanceId sets the InstanceId field's value. -func (s *UnassignInstanceInput) SetInstanceId(v string) *UnassignInstanceInput { - s.InstanceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignInstanceOutput type UnassignInstanceOutput struct { _ struct{} `type:"structure"` @@ -13737,12 +10587,6 @@ func (s *UnassignVolumeInput) Validate() error { return nil } -// SetVolumeId sets the VolumeId field's value. -func (s *UnassignVolumeInput) SetVolumeId(v string) *UnassignVolumeInput { - s.VolumeId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignVolumeOutput type UnassignVolumeOutput struct { _ struct{} `type:"structure"` @@ -13808,18 +10652,6 @@ func (s *UntagResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { - s.ResourceArn = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *UntagResourceInput) SetTagKeys(v []string) *UntagResourceInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UntagResourceOutput type UntagResourceOutput struct { _ struct{} `type:"structure"` @@ -13932,72 +10764,6 @@ func (s *UpdateAppInput) Validate() error { return nil } -// SetAppId sets the AppId field's value. -func (s *UpdateAppInput) SetAppId(v string) *UpdateAppInput { - s.AppId = &v - return s -} - -// SetAppSource sets the AppSource field's value. -func (s *UpdateAppInput) SetAppSource(v *Source) *UpdateAppInput { - s.AppSource = v - return s -} - -// SetAttributes sets the Attributes field's value. -func (s *UpdateAppInput) SetAttributes(v map[string]string) *UpdateAppInput { - s.Attributes = v - return s -} - -// SetDataSources sets the DataSources field's value. -func (s *UpdateAppInput) SetDataSources(v []DataSource) *UpdateAppInput { - s.DataSources = v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateAppInput) SetDescription(v string) *UpdateAppInput { - s.Description = &v - return s -} - -// SetDomains sets the Domains field's value. -func (s *UpdateAppInput) SetDomains(v []string) *UpdateAppInput { - s.Domains = v - return s -} - -// SetEnableSsl sets the EnableSsl field's value. -func (s *UpdateAppInput) SetEnableSsl(v bool) *UpdateAppInput { - s.EnableSsl = &v - return s -} - -// SetEnvironment sets the Environment field's value. -func (s *UpdateAppInput) SetEnvironment(v []EnvironmentVariable) *UpdateAppInput { - s.Environment = v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateAppInput) SetName(v string) *UpdateAppInput { - s.Name = &v - return s -} - -// SetSslConfiguration sets the SslConfiguration field's value. -func (s *UpdateAppInput) SetSslConfiguration(v *SslConfiguration) *UpdateAppInput { - s.SslConfiguration = v - return s -} - -// SetType sets the Type field's value. -func (s *UpdateAppInput) SetType(v AppType) *UpdateAppInput { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateAppOutput type UpdateAppOutput struct { _ struct{} `type:"structure"` @@ -14057,18 +10823,6 @@ func (s *UpdateElasticIpInput) Validate() error { return nil } -// SetElasticIp sets the ElasticIp field's value. -func (s *UpdateElasticIpInput) SetElasticIp(v string) *UpdateElasticIpInput { - s.ElasticIp = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateElasticIpInput) SetName(v string) *UpdateElasticIpInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateElasticIpOutput type UpdateElasticIpOutput struct { _ struct{} `type:"structure"` @@ -14219,78 +10973,6 @@ func (s *UpdateInstanceInput) Validate() error { return nil } -// SetAgentVersion sets the AgentVersion field's value. -func (s *UpdateInstanceInput) SetAgentVersion(v string) *UpdateInstanceInput { - s.AgentVersion = &v - return s -} - -// SetAmiId sets the AmiId field's value. -func (s *UpdateInstanceInput) SetAmiId(v string) *UpdateInstanceInput { - s.AmiId = &v - return s -} - -// SetArchitecture sets the Architecture field's value. -func (s *UpdateInstanceInput) SetArchitecture(v Architecture) *UpdateInstanceInput { - s.Architecture = v - return s -} - -// SetAutoScalingType sets the AutoScalingType field's value. -func (s *UpdateInstanceInput) SetAutoScalingType(v AutoScalingType) *UpdateInstanceInput { - s.AutoScalingType = v - return s -} - -// SetEbsOptimized sets the EbsOptimized field's value. -func (s *UpdateInstanceInput) SetEbsOptimized(v bool) *UpdateInstanceInput { - s.EbsOptimized = &v - return s -} - -// SetHostname sets the Hostname field's value. -func (s *UpdateInstanceInput) SetHostname(v string) *UpdateInstanceInput { - s.Hostname = &v - return s -} - -// SetInstallUpdatesOnBoot sets the InstallUpdatesOnBoot field's value. -func (s *UpdateInstanceInput) SetInstallUpdatesOnBoot(v bool) *UpdateInstanceInput { - s.InstallUpdatesOnBoot = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *UpdateInstanceInput) SetInstanceId(v string) *UpdateInstanceInput { - s.InstanceId = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *UpdateInstanceInput) SetInstanceType(v string) *UpdateInstanceInput { - s.InstanceType = &v - return s -} - -// SetLayerIds sets the LayerIds field's value. -func (s *UpdateInstanceInput) SetLayerIds(v []string) *UpdateInstanceInput { - s.LayerIds = v - return s -} - -// SetOs sets the Os field's value. -func (s *UpdateInstanceInput) SetOs(v string) *UpdateInstanceInput { - s.Os = &v - return s -} - -// SetSshKeyName sets the SshKeyName field's value. -func (s *UpdateInstanceInput) SetSshKeyName(v string) *UpdateInstanceInput { - s.SshKeyName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateInstanceOutput type UpdateInstanceOutput struct { _ struct{} `type:"structure"` @@ -14423,108 +11105,6 @@ func (s *UpdateLayerInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *UpdateLayerInput) SetAttributes(v map[string]string) *UpdateLayerInput { - s.Attributes = v - return s -} - -// SetAutoAssignElasticIps sets the AutoAssignElasticIps field's value. -func (s *UpdateLayerInput) SetAutoAssignElasticIps(v bool) *UpdateLayerInput { - s.AutoAssignElasticIps = &v - return s -} - -// SetAutoAssignPublicIps sets the AutoAssignPublicIps field's value. -func (s *UpdateLayerInput) SetAutoAssignPublicIps(v bool) *UpdateLayerInput { - s.AutoAssignPublicIps = &v - return s -} - -// SetCloudWatchLogsConfiguration sets the CloudWatchLogsConfiguration field's value. -func (s *UpdateLayerInput) SetCloudWatchLogsConfiguration(v *CloudWatchLogsConfiguration) *UpdateLayerInput { - s.CloudWatchLogsConfiguration = v - return s -} - -// SetCustomInstanceProfileArn sets the CustomInstanceProfileArn field's value. -func (s *UpdateLayerInput) SetCustomInstanceProfileArn(v string) *UpdateLayerInput { - s.CustomInstanceProfileArn = &v - return s -} - -// SetCustomJson sets the CustomJson field's value. -func (s *UpdateLayerInput) SetCustomJson(v string) *UpdateLayerInput { - s.CustomJson = &v - return s -} - -// SetCustomRecipes sets the CustomRecipes field's value. -func (s *UpdateLayerInput) SetCustomRecipes(v *Recipes) *UpdateLayerInput { - s.CustomRecipes = v - return s -} - -// SetCustomSecurityGroupIds sets the CustomSecurityGroupIds field's value. -func (s *UpdateLayerInput) SetCustomSecurityGroupIds(v []string) *UpdateLayerInput { - s.CustomSecurityGroupIds = v - return s -} - -// SetEnableAutoHealing sets the EnableAutoHealing field's value. -func (s *UpdateLayerInput) SetEnableAutoHealing(v bool) *UpdateLayerInput { - s.EnableAutoHealing = &v - return s -} - -// SetInstallUpdatesOnBoot sets the InstallUpdatesOnBoot field's value. -func (s *UpdateLayerInput) SetInstallUpdatesOnBoot(v bool) *UpdateLayerInput { - s.InstallUpdatesOnBoot = &v - return s -} - -// SetLayerId sets the LayerId field's value. -func (s *UpdateLayerInput) SetLayerId(v string) *UpdateLayerInput { - s.LayerId = &v - return s -} - -// SetLifecycleEventConfiguration sets the LifecycleEventConfiguration field's value. -func (s *UpdateLayerInput) SetLifecycleEventConfiguration(v *LifecycleEventConfiguration) *UpdateLayerInput { - s.LifecycleEventConfiguration = v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateLayerInput) SetName(v string) *UpdateLayerInput { - s.Name = &v - return s -} - -// SetPackages sets the Packages field's value. -func (s *UpdateLayerInput) SetPackages(v []string) *UpdateLayerInput { - s.Packages = v - return s -} - -// SetShortname sets the Shortname field's value. -func (s *UpdateLayerInput) SetShortname(v string) *UpdateLayerInput { - s.Shortname = &v - return s -} - -// SetUseEbsOptimizedInstances sets the UseEbsOptimizedInstances field's value. -func (s *UpdateLayerInput) SetUseEbsOptimizedInstances(v bool) *UpdateLayerInput { - s.UseEbsOptimizedInstances = &v - return s -} - -// SetVolumeConfigurations sets the VolumeConfigurations field's value. -func (s *UpdateLayerInput) SetVolumeConfigurations(v []VolumeConfiguration) *UpdateLayerInput { - s.VolumeConfigurations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateLayerOutput type UpdateLayerOutput struct { _ struct{} `type:"structure"` @@ -14565,12 +11145,6 @@ func (s UpdateMyUserProfileInput) GoString() string { return s.String() } -// SetSshPublicKey sets the SshPublicKey field's value. -func (s *UpdateMyUserProfileInput) SetSshPublicKey(v string) *UpdateMyUserProfileInput { - s.SshPublicKey = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateMyUserProfileOutput type UpdateMyUserProfileOutput struct { _ struct{} `type:"structure"` @@ -14633,24 +11207,6 @@ func (s *UpdateRdsDbInstanceInput) Validate() error { return nil } -// SetDbPassword sets the DbPassword field's value. -func (s *UpdateRdsDbInstanceInput) SetDbPassword(v string) *UpdateRdsDbInstanceInput { - s.DbPassword = &v - return s -} - -// SetDbUser sets the DbUser field's value. -func (s *UpdateRdsDbInstanceInput) SetDbUser(v string) *UpdateRdsDbInstanceInput { - s.DbUser = &v - return s -} - -// SetRdsDbInstanceArn sets the RdsDbInstanceArn field's value. -func (s *UpdateRdsDbInstanceInput) SetRdsDbInstanceArn(v string) *UpdateRdsDbInstanceInput { - s.RdsDbInstanceArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateRdsDbInstanceOutput type UpdateRdsDbInstanceOutput struct { _ struct{} `type:"structure"` @@ -14878,114 +11434,6 @@ func (s *UpdateStackInput) Validate() error { return nil } -// SetAgentVersion sets the AgentVersion field's value. -func (s *UpdateStackInput) SetAgentVersion(v string) *UpdateStackInput { - s.AgentVersion = &v - return s -} - -// SetAttributes sets the Attributes field's value. -func (s *UpdateStackInput) SetAttributes(v map[string]string) *UpdateStackInput { - s.Attributes = v - return s -} - -// SetChefConfiguration sets the ChefConfiguration field's value. -func (s *UpdateStackInput) SetChefConfiguration(v *ChefConfiguration) *UpdateStackInput { - s.ChefConfiguration = v - return s -} - -// SetConfigurationManager sets the ConfigurationManager field's value. -func (s *UpdateStackInput) SetConfigurationManager(v *StackConfigurationManager) *UpdateStackInput { - s.ConfigurationManager = v - return s -} - -// SetCustomCookbooksSource sets the CustomCookbooksSource field's value. -func (s *UpdateStackInput) SetCustomCookbooksSource(v *Source) *UpdateStackInput { - s.CustomCookbooksSource = v - return s -} - -// SetCustomJson sets the CustomJson field's value. -func (s *UpdateStackInput) SetCustomJson(v string) *UpdateStackInput { - s.CustomJson = &v - return s -} - -// SetDefaultAvailabilityZone sets the DefaultAvailabilityZone field's value. -func (s *UpdateStackInput) SetDefaultAvailabilityZone(v string) *UpdateStackInput { - s.DefaultAvailabilityZone = &v - return s -} - -// SetDefaultInstanceProfileArn sets the DefaultInstanceProfileArn field's value. -func (s *UpdateStackInput) SetDefaultInstanceProfileArn(v string) *UpdateStackInput { - s.DefaultInstanceProfileArn = &v - return s -} - -// SetDefaultOs sets the DefaultOs field's value. -func (s *UpdateStackInput) SetDefaultOs(v string) *UpdateStackInput { - s.DefaultOs = &v - return s -} - -// SetDefaultRootDeviceType sets the DefaultRootDeviceType field's value. -func (s *UpdateStackInput) SetDefaultRootDeviceType(v RootDeviceType) *UpdateStackInput { - s.DefaultRootDeviceType = v - return s -} - -// SetDefaultSshKeyName sets the DefaultSshKeyName field's value. -func (s *UpdateStackInput) SetDefaultSshKeyName(v string) *UpdateStackInput { - s.DefaultSshKeyName = &v - return s -} - -// SetDefaultSubnetId sets the DefaultSubnetId field's value. -func (s *UpdateStackInput) SetDefaultSubnetId(v string) *UpdateStackInput { - s.DefaultSubnetId = &v - return s -} - -// SetHostnameTheme sets the HostnameTheme field's value. -func (s *UpdateStackInput) SetHostnameTheme(v string) *UpdateStackInput { - s.HostnameTheme = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateStackInput) SetName(v string) *UpdateStackInput { - s.Name = &v - return s -} - -// SetServiceRoleArn sets the ServiceRoleArn field's value. -func (s *UpdateStackInput) SetServiceRoleArn(v string) *UpdateStackInput { - s.ServiceRoleArn = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *UpdateStackInput) SetStackId(v string) *UpdateStackInput { - s.StackId = &v - return s -} - -// SetUseCustomCookbooks sets the UseCustomCookbooks field's value. -func (s *UpdateStackInput) SetUseCustomCookbooks(v bool) *UpdateStackInput { - s.UseCustomCookbooks = &v - return s -} - -// SetUseOpsworksSecurityGroups sets the UseOpsworksSecurityGroups field's value. -func (s *UpdateStackInput) SetUseOpsworksSecurityGroups(v bool) *UpdateStackInput { - s.UseOpsworksSecurityGroups = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateStackOutput type UpdateStackOutput struct { _ struct{} `type:"structure"` @@ -15056,30 +11504,6 @@ func (s *UpdateUserProfileInput) Validate() error { return nil } -// SetAllowSelfManagement sets the AllowSelfManagement field's value. -func (s *UpdateUserProfileInput) SetAllowSelfManagement(v bool) *UpdateUserProfileInput { - s.AllowSelfManagement = &v - return s -} - -// SetIamUserArn sets the IamUserArn field's value. -func (s *UpdateUserProfileInput) SetIamUserArn(v string) *UpdateUserProfileInput { - s.IamUserArn = &v - return s -} - -// SetSshPublicKey sets the SshPublicKey field's value. -func (s *UpdateUserProfileInput) SetSshPublicKey(v string) *UpdateUserProfileInput { - s.SshPublicKey = &v - return s -} - -// SetSshUsername sets the SshUsername field's value. -func (s *UpdateUserProfileInput) SetSshUsername(v string) *UpdateUserProfileInput { - s.SshUsername = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateUserProfileOutput type UpdateUserProfileOutput struct { _ struct{} `type:"structure"` @@ -15142,24 +11566,6 @@ func (s *UpdateVolumeInput) Validate() error { return nil } -// SetMountPoint sets the MountPoint field's value. -func (s *UpdateVolumeInput) SetMountPoint(v string) *UpdateVolumeInput { - s.MountPoint = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateVolumeInput) SetName(v string) *UpdateVolumeInput { - s.Name = &v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *UpdateVolumeInput) SetVolumeId(v string) *UpdateVolumeInput { - s.VolumeId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateVolumeOutput type UpdateVolumeOutput struct { _ struct{} `type:"structure"` @@ -15214,36 +11620,6 @@ func (s UserProfile) GoString() string { return s.String() } -// SetAllowSelfManagement sets the AllowSelfManagement field's value. -func (s *UserProfile) SetAllowSelfManagement(v bool) *UserProfile { - s.AllowSelfManagement = &v - return s -} - -// SetIamUserArn sets the IamUserArn field's value. -func (s *UserProfile) SetIamUserArn(v string) *UserProfile { - s.IamUserArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *UserProfile) SetName(v string) *UserProfile { - s.Name = &v - return s -} - -// SetSshPublicKey sets the SshPublicKey field's value. -func (s *UserProfile) SetSshPublicKey(v string) *UserProfile { - s.SshPublicKey = &v - return s -} - -// SetSshUsername sets the SshUsername field's value. -func (s *UserProfile) SetSshUsername(v string) *UserProfile { - s.SshUsername = &v - return s -} - // Describes an instance's Amazon EBS volume. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Volume type Volume struct { @@ -15301,84 +11677,6 @@ func (s Volume) GoString() string { return s.String() } -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *Volume) SetAvailabilityZone(v string) *Volume { - s.AvailabilityZone = &v - return s -} - -// SetDevice sets the Device field's value. -func (s *Volume) SetDevice(v string) *Volume { - s.Device = &v - return s -} - -// SetEc2VolumeId sets the Ec2VolumeId field's value. -func (s *Volume) SetEc2VolumeId(v string) *Volume { - s.Ec2VolumeId = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *Volume) SetInstanceId(v string) *Volume { - s.InstanceId = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *Volume) SetIops(v int64) *Volume { - s.Iops = &v - return s -} - -// SetMountPoint sets the MountPoint field's value. -func (s *Volume) SetMountPoint(v string) *Volume { - s.MountPoint = &v - return s -} - -// SetName sets the Name field's value. -func (s *Volume) SetName(v string) *Volume { - s.Name = &v - return s -} - -// SetRaidArrayId sets the RaidArrayId field's value. -func (s *Volume) SetRaidArrayId(v string) *Volume { - s.RaidArrayId = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *Volume) SetRegion(v string) *Volume { - s.Region = &v - return s -} - -// SetSize sets the Size field's value. -func (s *Volume) SetSize(v int64) *Volume { - s.Size = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Volume) SetStatus(v string) *Volume { - s.Status = &v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *Volume) SetVolumeId(v string) *Volume { - s.VolumeId = &v - return s -} - -// SetVolumeType sets the VolumeType field's value. -func (s *Volume) SetVolumeType(v string) *Volume { - s.VolumeType = &v - return s -} - // Describes an Amazon EBS volume configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/VolumeConfiguration type VolumeConfiguration struct { @@ -15447,42 +11745,6 @@ func (s *VolumeConfiguration) Validate() error { return nil } -// SetIops sets the Iops field's value. -func (s *VolumeConfiguration) SetIops(v int64) *VolumeConfiguration { - s.Iops = &v - return s -} - -// SetMountPoint sets the MountPoint field's value. -func (s *VolumeConfiguration) SetMountPoint(v string) *VolumeConfiguration { - s.MountPoint = &v - return s -} - -// SetNumberOfDisks sets the NumberOfDisks field's value. -func (s *VolumeConfiguration) SetNumberOfDisks(v int64) *VolumeConfiguration { - s.NumberOfDisks = &v - return s -} - -// SetRaidLevel sets the RaidLevel field's value. -func (s *VolumeConfiguration) SetRaidLevel(v int64) *VolumeConfiguration { - s.RaidLevel = &v - return s -} - -// SetSize sets the Size field's value. -func (s *VolumeConfiguration) SetSize(v int64) *VolumeConfiguration { - s.Size = &v - return s -} - -// SetVolumeType sets the VolumeType field's value. -func (s *VolumeConfiguration) SetVolumeType(v string) *VolumeConfiguration { - s.VolumeType = &v - return s -} - // Describes a time-based instance's auto scaling schedule. The schedule consists // of a set of key-value pairs. // @@ -15537,48 +11799,6 @@ func (s WeeklyAutoScalingSchedule) GoString() string { return s.String() } -// SetFriday sets the Friday field's value. -func (s *WeeklyAutoScalingSchedule) SetFriday(v map[string]string) *WeeklyAutoScalingSchedule { - s.Friday = v - return s -} - -// SetMonday sets the Monday field's value. -func (s *WeeklyAutoScalingSchedule) SetMonday(v map[string]string) *WeeklyAutoScalingSchedule { - s.Monday = v - return s -} - -// SetSaturday sets the Saturday field's value. -func (s *WeeklyAutoScalingSchedule) SetSaturday(v map[string]string) *WeeklyAutoScalingSchedule { - s.Saturday = v - return s -} - -// SetSunday sets the Sunday field's value. -func (s *WeeklyAutoScalingSchedule) SetSunday(v map[string]string) *WeeklyAutoScalingSchedule { - s.Sunday = v - return s -} - -// SetThursday sets the Thursday field's value. -func (s *WeeklyAutoScalingSchedule) SetThursday(v map[string]string) *WeeklyAutoScalingSchedule { - s.Thursday = v - return s -} - -// SetTuesday sets the Tuesday field's value. -func (s *WeeklyAutoScalingSchedule) SetTuesday(v map[string]string) *WeeklyAutoScalingSchedule { - s.Tuesday = v - return s -} - -// SetWednesday sets the Wednesday field's value. -func (s *WeeklyAutoScalingSchedule) SetWednesday(v map[string]string) *WeeklyAutoScalingSchedule { - s.Wednesday = v - return s -} - type AppAttributesKeys string // Enum values for AppAttributesKeys diff --git a/service/opsworkscm/api.go b/service/opsworkscm/api.go index f0cb4f4e0fc..5b47867e40d 100644 --- a/service/opsworkscm/api.go +++ b/service/opsworkscm/api.go @@ -916,24 +916,6 @@ func (s AccountAttribute) GoString() string { return s.String() } -// SetMaximum sets the Maximum field's value. -func (s *AccountAttribute) SetMaximum(v int64) *AccountAttribute { - s.Maximum = &v - return s -} - -// SetName sets the Name field's value. -func (s *AccountAttribute) SetName(v string) *AccountAttribute { - s.Name = &v - return s -} - -// SetUsed sets the Used field's value. -func (s *AccountAttribute) SetUsed(v int64) *AccountAttribute { - s.Used = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/AssociateNodeRequest type AssociateNodeInput struct { _ struct{} `type:"structure"` @@ -1002,24 +984,6 @@ func (s *AssociateNodeInput) Validate() error { return nil } -// SetEngineAttributes sets the EngineAttributes field's value. -func (s *AssociateNodeInput) SetEngineAttributes(v []EngineAttribute) *AssociateNodeInput { - s.EngineAttributes = v - return s -} - -// SetNodeName sets the NodeName field's value. -func (s *AssociateNodeInput) SetNodeName(v string) *AssociateNodeInput { - s.NodeName = &v - return s -} - -// SetServerName sets the ServerName field's value. -func (s *AssociateNodeInput) SetServerName(v string) *AssociateNodeInput { - s.ServerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/AssociateNodeResponse type AssociateNodeOutput struct { _ struct{} `type:"structure"` @@ -1046,12 +1010,6 @@ func (s AssociateNodeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNodeAssociationStatusToken sets the NodeAssociationStatusToken field's value. -func (s *AssociateNodeOutput) SetNodeAssociationStatusToken(v string) *AssociateNodeOutput { - s.NodeAssociationStatusToken = &v - return s -} - // Describes a single backup. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/Backup type Backup struct { @@ -1149,150 +1107,6 @@ func (s Backup) GoString() string { return s.String() } -// SetBackupArn sets the BackupArn field's value. -func (s *Backup) SetBackupArn(v string) *Backup { - s.BackupArn = &v - return s -} - -// SetBackupId sets the BackupId field's value. -func (s *Backup) SetBackupId(v string) *Backup { - s.BackupId = &v - return s -} - -// SetBackupType sets the BackupType field's value. -func (s *Backup) SetBackupType(v BackupType) *Backup { - s.BackupType = v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Backup) SetCreatedAt(v time.Time) *Backup { - s.CreatedAt = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Backup) SetDescription(v string) *Backup { - s.Description = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *Backup) SetEngine(v string) *Backup { - s.Engine = &v - return s -} - -// SetEngineModel sets the EngineModel field's value. -func (s *Backup) SetEngineModel(v string) *Backup { - s.EngineModel = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *Backup) SetEngineVersion(v string) *Backup { - s.EngineVersion = &v - return s -} - -// SetInstanceProfileArn sets the InstanceProfileArn field's value. -func (s *Backup) SetInstanceProfileArn(v string) *Backup { - s.InstanceProfileArn = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *Backup) SetInstanceType(v string) *Backup { - s.InstanceType = &v - return s -} - -// SetKeyPair sets the KeyPair field's value. -func (s *Backup) SetKeyPair(v string) *Backup { - s.KeyPair = &v - return s -} - -// SetPreferredBackupWindow sets the PreferredBackupWindow field's value. -func (s *Backup) SetPreferredBackupWindow(v string) *Backup { - s.PreferredBackupWindow = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *Backup) SetPreferredMaintenanceWindow(v string) *Backup { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetS3DataSize sets the S3DataSize field's value. -func (s *Backup) SetS3DataSize(v int64) *Backup { - s.S3DataSize = &v - return s -} - -// SetS3DataUrl sets the S3DataUrl field's value. -func (s *Backup) SetS3DataUrl(v string) *Backup { - s.S3DataUrl = &v - return s -} - -// SetS3LogUrl sets the S3LogUrl field's value. -func (s *Backup) SetS3LogUrl(v string) *Backup { - s.S3LogUrl = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *Backup) SetSecurityGroupIds(v []string) *Backup { - s.SecurityGroupIds = v - return s -} - -// SetServerName sets the ServerName field's value. -func (s *Backup) SetServerName(v string) *Backup { - s.ServerName = &v - return s -} - -// SetServiceRoleArn sets the ServiceRoleArn field's value. -func (s *Backup) SetServiceRoleArn(v string) *Backup { - s.ServiceRoleArn = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Backup) SetStatus(v BackupStatus) *Backup { - s.Status = v - return s -} - -// SetStatusDescription sets the StatusDescription field's value. -func (s *Backup) SetStatusDescription(v string) *Backup { - s.StatusDescription = &v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *Backup) SetSubnetIds(v []string) *Backup { - s.SubnetIds = v - return s -} - -// SetToolsVersion sets the ToolsVersion field's value. -func (s *Backup) SetToolsVersion(v string) *Backup { - s.ToolsVersion = &v - return s -} - -// SetUserArn sets the UserArn field's value. -func (s *Backup) SetUserArn(v string) *Backup { - s.UserArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/CreateBackupRequest type CreateBackupInput struct { _ struct{} `type:"structure"` @@ -1333,18 +1147,6 @@ func (s *CreateBackupInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateBackupInput) SetDescription(v string) *CreateBackupInput { - s.Description = &v - return s -} - -// SetServerName sets the ServerName field's value. -func (s *CreateBackupInput) SetServerName(v string) *CreateBackupInput { - s.ServerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/CreateBackupResponse type CreateBackupOutput struct { _ struct{} `type:"structure"` @@ -1370,12 +1172,6 @@ func (s CreateBackupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBackup sets the Backup field's value. -func (s *CreateBackupOutput) SetBackup(v *Backup) *CreateBackupOutput { - s.Backup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/CreateServerRequest type CreateServerInput struct { _ struct{} `type:"structure"` @@ -1563,108 +1359,6 @@ func (s *CreateServerInput) Validate() error { return nil } -// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value. -func (s *CreateServerInput) SetAssociatePublicIpAddress(v bool) *CreateServerInput { - s.AssociatePublicIpAddress = &v - return s -} - -// SetBackupId sets the BackupId field's value. -func (s *CreateServerInput) SetBackupId(v string) *CreateServerInput { - s.BackupId = &v - return s -} - -// SetBackupRetentionCount sets the BackupRetentionCount field's value. -func (s *CreateServerInput) SetBackupRetentionCount(v int64) *CreateServerInput { - s.BackupRetentionCount = &v - return s -} - -// SetDisableAutomatedBackup sets the DisableAutomatedBackup field's value. -func (s *CreateServerInput) SetDisableAutomatedBackup(v bool) *CreateServerInput { - s.DisableAutomatedBackup = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *CreateServerInput) SetEngine(v string) *CreateServerInput { - s.Engine = &v - return s -} - -// SetEngineAttributes sets the EngineAttributes field's value. -func (s *CreateServerInput) SetEngineAttributes(v []EngineAttribute) *CreateServerInput { - s.EngineAttributes = v - return s -} - -// SetEngineModel sets the EngineModel field's value. -func (s *CreateServerInput) SetEngineModel(v string) *CreateServerInput { - s.EngineModel = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *CreateServerInput) SetEngineVersion(v string) *CreateServerInput { - s.EngineVersion = &v - return s -} - -// SetInstanceProfileArn sets the InstanceProfileArn field's value. -func (s *CreateServerInput) SetInstanceProfileArn(v string) *CreateServerInput { - s.InstanceProfileArn = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *CreateServerInput) SetInstanceType(v string) *CreateServerInput { - s.InstanceType = &v - return s -} - -// SetKeyPair sets the KeyPair field's value. -func (s *CreateServerInput) SetKeyPair(v string) *CreateServerInput { - s.KeyPair = &v - return s -} - -// SetPreferredBackupWindow sets the PreferredBackupWindow field's value. -func (s *CreateServerInput) SetPreferredBackupWindow(v string) *CreateServerInput { - s.PreferredBackupWindow = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *CreateServerInput) SetPreferredMaintenanceWindow(v string) *CreateServerInput { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *CreateServerInput) SetSecurityGroupIds(v []string) *CreateServerInput { - s.SecurityGroupIds = v - return s -} - -// SetServerName sets the ServerName field's value. -func (s *CreateServerInput) SetServerName(v string) *CreateServerInput { - s.ServerName = &v - return s -} - -// SetServiceRoleArn sets the ServiceRoleArn field's value. -func (s *CreateServerInput) SetServiceRoleArn(v string) *CreateServerInput { - s.ServiceRoleArn = &v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *CreateServerInput) SetSubnetIds(v []string) *CreateServerInput { - s.SubnetIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/CreateServerResponse type CreateServerOutput struct { _ struct{} `type:"structure"` @@ -1690,12 +1384,6 @@ func (s CreateServerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetServer sets the Server field's value. -func (s *CreateServerOutput) SetServer(v *Server) *CreateServerOutput { - s.Server = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DeleteBackupRequest type DeleteBackupInput struct { _ struct{} `type:"structure"` @@ -1731,12 +1419,6 @@ func (s *DeleteBackupInput) Validate() error { return nil } -// SetBackupId sets the BackupId field's value. -func (s *DeleteBackupInput) SetBackupId(v string) *DeleteBackupInput { - s.BackupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DeleteBackupResponse type DeleteBackupOutput struct { _ struct{} `type:"structure"` @@ -1796,12 +1478,6 @@ func (s *DeleteServerInput) Validate() error { return nil } -// SetServerName sets the ServerName field's value. -func (s *DeleteServerInput) SetServerName(v string) *DeleteServerInput { - s.ServerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DeleteServerResponse type DeleteServerOutput struct { _ struct{} `type:"structure"` @@ -1864,12 +1540,6 @@ func (s DescribeAccountAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *DescribeAccountAttributesOutput) SetAttributes(v []AccountAttribute) *DescribeAccountAttributesOutput { - s.Attributes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeBackupsRequest type DescribeBackupsInput struct { _ struct{} `type:"structure"` @@ -1924,30 +1594,6 @@ func (s *DescribeBackupsInput) Validate() error { return nil } -// SetBackupId sets the BackupId field's value. -func (s *DescribeBackupsInput) SetBackupId(v string) *DescribeBackupsInput { - s.BackupId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeBackupsInput) SetMaxResults(v int64) *DescribeBackupsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeBackupsInput) SetNextToken(v string) *DescribeBackupsInput { - s.NextToken = &v - return s -} - -// SetServerName sets the ServerName field's value. -func (s *DescribeBackupsInput) SetServerName(v string) *DescribeBackupsInput { - s.ServerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeBackupsResponse type DescribeBackupsOutput struct { _ struct{} `type:"structure"` @@ -1983,18 +1629,6 @@ func (s DescribeBackupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBackups sets the Backups field's value. -func (s *DescribeBackupsOutput) SetBackups(v []Backup) *DescribeBackupsOutput { - s.Backups = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeBackupsOutput) SetNextToken(v string) *DescribeBackupsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeEventsRequest type DescribeEventsInput struct { _ struct{} `type:"structure"` @@ -2052,24 +1686,6 @@ func (s *DescribeEventsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeEventsInput) SetMaxResults(v int64) *DescribeEventsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEventsInput) SetNextToken(v string) *DescribeEventsInput { - s.NextToken = &v - return s -} - -// SetServerName sets the ServerName field's value. -func (s *DescribeEventsInput) SetServerName(v string) *DescribeEventsInput { - s.ServerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeEventsResponse type DescribeEventsOutput struct { _ struct{} `type:"structure"` @@ -2105,18 +1721,6 @@ func (s DescribeEventsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeEventsOutput) SetNextToken(v string) *DescribeEventsOutput { - s.NextToken = &v - return s -} - -// SetServerEvents sets the ServerEvents field's value. -func (s *DescribeEventsOutput) SetServerEvents(v []ServerEvent) *DescribeEventsOutput { - s.ServerEvents = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeNodeAssociationStatusRequest type DescribeNodeAssociationStatusInput struct { _ struct{} `type:"structure"` @@ -2163,18 +1767,6 @@ func (s *DescribeNodeAssociationStatusInput) Validate() error { return nil } -// SetNodeAssociationStatusToken sets the NodeAssociationStatusToken field's value. -func (s *DescribeNodeAssociationStatusInput) SetNodeAssociationStatusToken(v string) *DescribeNodeAssociationStatusInput { - s.NodeAssociationStatusToken = &v - return s -} - -// SetServerName sets the ServerName field's value. -func (s *DescribeNodeAssociationStatusInput) SetServerName(v string) *DescribeNodeAssociationStatusInput { - s.ServerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeNodeAssociationStatusResponse type DescribeNodeAssociationStatusOutput struct { _ struct{} `type:"structure"` @@ -2212,18 +1804,6 @@ func (s DescribeNodeAssociationStatusOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetEngineAttributes sets the EngineAttributes field's value. -func (s *DescribeNodeAssociationStatusOutput) SetEngineAttributes(v []EngineAttribute) *DescribeNodeAssociationStatusOutput { - s.EngineAttributes = v - return s -} - -// SetNodeAssociationStatus sets the NodeAssociationStatus field's value. -func (s *DescribeNodeAssociationStatusOutput) SetNodeAssociationStatus(v NodeAssociationStatus) *DescribeNodeAssociationStatusOutput { - s.NodeAssociationStatus = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeServersRequest type DescribeServersInput struct { _ struct{} `type:"structure"` @@ -2275,24 +1855,6 @@ func (s *DescribeServersInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeServersInput) SetMaxResults(v int64) *DescribeServersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeServersInput) SetNextToken(v string) *DescribeServersInput { - s.NextToken = &v - return s -} - -// SetServerName sets the ServerName field's value. -func (s *DescribeServersInput) SetServerName(v string) *DescribeServersInput { - s.ServerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeServersResponse type DescribeServersOutput struct { _ struct{} `type:"structure"` @@ -2333,18 +1895,6 @@ func (s DescribeServersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeServersOutput) SetNextToken(v string) *DescribeServersOutput { - s.NextToken = &v - return s -} - -// SetServers sets the Servers field's value. -func (s *DescribeServersOutput) SetServers(v []Server) *DescribeServersOutput { - s.Servers = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DisassociateNodeRequest type DisassociateNodeInput struct { _ struct{} `type:"structure"` @@ -2400,24 +1950,6 @@ func (s *DisassociateNodeInput) Validate() error { return nil } -// SetEngineAttributes sets the EngineAttributes field's value. -func (s *DisassociateNodeInput) SetEngineAttributes(v []EngineAttribute) *DisassociateNodeInput { - s.EngineAttributes = v - return s -} - -// SetNodeName sets the NodeName field's value. -func (s *DisassociateNodeInput) SetNodeName(v string) *DisassociateNodeInput { - s.NodeName = &v - return s -} - -// SetServerName sets the ServerName field's value. -func (s *DisassociateNodeInput) SetServerName(v string) *DisassociateNodeInput { - s.ServerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DisassociateNodeResponse type DisassociateNodeOutput struct { _ struct{} `type:"structure"` @@ -2444,12 +1976,6 @@ func (s DisassociateNodeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNodeAssociationStatusToken sets the NodeAssociationStatusToken field's value. -func (s *DisassociateNodeOutput) SetNodeAssociationStatusToken(v string) *DisassociateNodeOutput { - s.NodeAssociationStatusToken = &v - return s -} - // A name and value pair that is specific to the engine of the server. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/EngineAttribute type EngineAttribute struct { @@ -2472,18 +1998,6 @@ func (s EngineAttribute) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *EngineAttribute) SetName(v string) *EngineAttribute { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *EngineAttribute) SetValue(v string) *EngineAttribute { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/RestoreServerRequest type RestoreServerInput struct { _ struct{} `type:"structure"` @@ -2540,30 +2054,6 @@ func (s *RestoreServerInput) Validate() error { return nil } -// SetBackupId sets the BackupId field's value. -func (s *RestoreServerInput) SetBackupId(v string) *RestoreServerInput { - s.BackupId = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *RestoreServerInput) SetInstanceType(v string) *RestoreServerInput { - s.InstanceType = &v - return s -} - -// SetKeyPair sets the KeyPair field's value. -func (s *RestoreServerInput) SetKeyPair(v string) *RestoreServerInput { - s.KeyPair = &v - return s -} - -// SetServerName sets the ServerName field's value. -func (s *RestoreServerInput) SetServerName(v string) *RestoreServerInput { - s.ServerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/RestoreServerResponse type RestoreServerOutput struct { _ struct{} `type:"structure"` @@ -2706,144 +2196,6 @@ func (s Server) GoString() string { return s.String() } -// SetAssociatePublicIpAddress sets the AssociatePublicIpAddress field's value. -func (s *Server) SetAssociatePublicIpAddress(v bool) *Server { - s.AssociatePublicIpAddress = &v - return s -} - -// SetBackupRetentionCount sets the BackupRetentionCount field's value. -func (s *Server) SetBackupRetentionCount(v int64) *Server { - s.BackupRetentionCount = &v - return s -} - -// SetCloudFormationStackArn sets the CloudFormationStackArn field's value. -func (s *Server) SetCloudFormationStackArn(v string) *Server { - s.CloudFormationStackArn = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Server) SetCreatedAt(v time.Time) *Server { - s.CreatedAt = &v - return s -} - -// SetDisableAutomatedBackup sets the DisableAutomatedBackup field's value. -func (s *Server) SetDisableAutomatedBackup(v bool) *Server { - s.DisableAutomatedBackup = &v - return s -} - -// SetEndpoint sets the Endpoint field's value. -func (s *Server) SetEndpoint(v string) *Server { - s.Endpoint = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *Server) SetEngine(v string) *Server { - s.Engine = &v - return s -} - -// SetEngineAttributes sets the EngineAttributes field's value. -func (s *Server) SetEngineAttributes(v []EngineAttribute) *Server { - s.EngineAttributes = v - return s -} - -// SetEngineModel sets the EngineModel field's value. -func (s *Server) SetEngineModel(v string) *Server { - s.EngineModel = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *Server) SetEngineVersion(v string) *Server { - s.EngineVersion = &v - return s -} - -// SetInstanceProfileArn sets the InstanceProfileArn field's value. -func (s *Server) SetInstanceProfileArn(v string) *Server { - s.InstanceProfileArn = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *Server) SetInstanceType(v string) *Server { - s.InstanceType = &v - return s -} - -// SetKeyPair sets the KeyPair field's value. -func (s *Server) SetKeyPair(v string) *Server { - s.KeyPair = &v - return s -} - -// SetMaintenanceStatus sets the MaintenanceStatus field's value. -func (s *Server) SetMaintenanceStatus(v MaintenanceStatus) *Server { - s.MaintenanceStatus = v - return s -} - -// SetPreferredBackupWindow sets the PreferredBackupWindow field's value. -func (s *Server) SetPreferredBackupWindow(v string) *Server { - s.PreferredBackupWindow = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *Server) SetPreferredMaintenanceWindow(v string) *Server { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *Server) SetSecurityGroupIds(v []string) *Server { - s.SecurityGroupIds = v - return s -} - -// SetServerArn sets the ServerArn field's value. -func (s *Server) SetServerArn(v string) *Server { - s.ServerArn = &v - return s -} - -// SetServerName sets the ServerName field's value. -func (s *Server) SetServerName(v string) *Server { - s.ServerName = &v - return s -} - -// SetServiceRoleArn sets the ServiceRoleArn field's value. -func (s *Server) SetServiceRoleArn(v string) *Server { - s.ServiceRoleArn = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Server) SetStatus(v ServerStatus) *Server { - s.Status = v - return s -} - -// SetStatusReason sets the StatusReason field's value. -func (s *Server) SetStatusReason(v string) *Server { - s.StatusReason = &v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *Server) SetSubnetIds(v []string) *Server { - s.SubnetIds = v - return s -} - // An event that is related to the server, such as the start of maintenance // or backup. // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/ServerEvent @@ -2873,30 +2225,6 @@ func (s ServerEvent) GoString() string { return s.String() } -// SetCreatedAt sets the CreatedAt field's value. -func (s *ServerEvent) SetCreatedAt(v time.Time) *ServerEvent { - s.CreatedAt = &v - return s -} - -// SetLogUrl sets the LogUrl field's value. -func (s *ServerEvent) SetLogUrl(v string) *ServerEvent { - s.LogUrl = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *ServerEvent) SetMessage(v string) *ServerEvent { - s.Message = &v - return s -} - -// SetServerName sets the ServerName field's value. -func (s *ServerEvent) SetServerName(v string) *ServerEvent { - s.ServerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/StartMaintenanceRequest type StartMaintenanceInput struct { _ struct{} `type:"structure"` @@ -2938,18 +2266,6 @@ func (s *StartMaintenanceInput) Validate() error { return nil } -// SetEngineAttributes sets the EngineAttributes field's value. -func (s *StartMaintenanceInput) SetEngineAttributes(v []EngineAttribute) *StartMaintenanceInput { - s.EngineAttributes = v - return s -} - -// SetServerName sets the ServerName field's value. -func (s *StartMaintenanceInput) SetServerName(v string) *StartMaintenanceInput { - s.ServerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/StartMaintenanceResponse type StartMaintenanceOutput struct { _ struct{} `type:"structure"` @@ -2975,12 +2291,6 @@ func (s StartMaintenanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetServer sets the Server field's value. -func (s *StartMaintenanceOutput) SetServer(v *Server) *StartMaintenanceOutput { - s.Server = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UpdateServerEngineAttributesRequest type UpdateServerEngineAttributesInput struct { _ struct{} `type:"structure"` @@ -3033,24 +2343,6 @@ func (s *UpdateServerEngineAttributesInput) Validate() error { return nil } -// SetAttributeName sets the AttributeName field's value. -func (s *UpdateServerEngineAttributesInput) SetAttributeName(v string) *UpdateServerEngineAttributesInput { - s.AttributeName = &v - return s -} - -// SetAttributeValue sets the AttributeValue field's value. -func (s *UpdateServerEngineAttributesInput) SetAttributeValue(v string) *UpdateServerEngineAttributesInput { - s.AttributeValue = &v - return s -} - -// SetServerName sets the ServerName field's value. -func (s *UpdateServerEngineAttributesInput) SetServerName(v string) *UpdateServerEngineAttributesInput { - s.ServerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UpdateServerEngineAttributesResponse type UpdateServerEngineAttributesOutput struct { _ struct{} `type:"structure"` @@ -3076,12 +2368,6 @@ func (s UpdateServerEngineAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetServer sets the Server field's value. -func (s *UpdateServerEngineAttributesOutput) SetServer(v *Server) *UpdateServerEngineAttributesOutput { - s.Server = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UpdateServerRequest type UpdateServerInput struct { _ struct{} `type:"structure"` @@ -3138,36 +2424,6 @@ func (s *UpdateServerInput) Validate() error { return nil } -// SetBackupRetentionCount sets the BackupRetentionCount field's value. -func (s *UpdateServerInput) SetBackupRetentionCount(v int64) *UpdateServerInput { - s.BackupRetentionCount = &v - return s -} - -// SetDisableAutomatedBackup sets the DisableAutomatedBackup field's value. -func (s *UpdateServerInput) SetDisableAutomatedBackup(v bool) *UpdateServerInput { - s.DisableAutomatedBackup = &v - return s -} - -// SetPreferredBackupWindow sets the PreferredBackupWindow field's value. -func (s *UpdateServerInput) SetPreferredBackupWindow(v string) *UpdateServerInput { - s.PreferredBackupWindow = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *UpdateServerInput) SetPreferredMaintenanceWindow(v string) *UpdateServerInput { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetServerName sets the ServerName field's value. -func (s *UpdateServerInput) SetServerName(v string) *UpdateServerInput { - s.ServerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UpdateServerResponse type UpdateServerOutput struct { _ struct{} `type:"structure"` @@ -3193,12 +2449,6 @@ func (s UpdateServerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetServer sets the Server field's value. -func (s *UpdateServerOutput) SetServer(v *Server) *UpdateServerOutput { - s.Server = v - return s -} - type BackupStatus string // Enum values for BackupStatus diff --git a/service/organizations/api.go b/service/organizations/api.go index 175ef85588a..f78b2779752 100644 --- a/service/organizations/api.go +++ b/service/organizations/api.go @@ -3275,12 +3275,6 @@ func (s *AcceptHandshakeInput) Validate() error { return nil } -// SetHandshakeId sets the HandshakeId field's value. -func (s *AcceptHandshakeInput) SetHandshakeId(v string) *AcceptHandshakeInput { - s.HandshakeId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/AcceptHandshakeResponse type AcceptHandshakeOutput struct { _ struct{} `type:"structure"` @@ -3306,12 +3300,6 @@ func (s AcceptHandshakeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHandshake sets the Handshake field's value. -func (s *AcceptHandshakeOutput) SetHandshake(v *Handshake) *AcceptHandshakeOutput { - s.Handshake = v - return s -} - // Contains information about an AWS account that is a member of an organization. // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/Account type Account struct { @@ -3363,48 +3351,6 @@ func (s Account) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Account) SetArn(v string) *Account { - s.Arn = &v - return s -} - -// SetEmail sets the Email field's value. -func (s *Account) SetEmail(v string) *Account { - s.Email = &v - return s -} - -// SetId sets the Id field's value. -func (s *Account) SetId(v string) *Account { - s.Id = &v - return s -} - -// SetJoinedMethod sets the JoinedMethod field's value. -func (s *Account) SetJoinedMethod(v AccountJoinedMethod) *Account { - s.JoinedMethod = v - return s -} - -// SetJoinedTimestamp sets the JoinedTimestamp field's value. -func (s *Account) SetJoinedTimestamp(v time.Time) *Account { - s.JoinedTimestamp = &v - return s -} - -// SetName sets the Name field's value. -func (s *Account) SetName(v string) *Account { - s.Name = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Account) SetStatus(v AccountStatus) *Account { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/AttachPolicyRequest type AttachPolicyInput struct { _ struct{} `type:"structure"` @@ -3467,18 +3413,6 @@ func (s *AttachPolicyInput) Validate() error { return nil } -// SetPolicyId sets the PolicyId field's value. -func (s *AttachPolicyInput) SetPolicyId(v string) *AttachPolicyInput { - s.PolicyId = &v - return s -} - -// SetTargetId sets the TargetId field's value. -func (s *AttachPolicyInput) SetTargetId(v string) *AttachPolicyInput { - s.TargetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/AttachPolicyOutput type AttachPolicyOutput struct { _ struct{} `type:"structure"` @@ -3539,12 +3473,6 @@ func (s *CancelHandshakeInput) Validate() error { return nil } -// SetHandshakeId sets the HandshakeId field's value. -func (s *CancelHandshakeInput) SetHandshakeId(v string) *CancelHandshakeInput { - s.HandshakeId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CancelHandshakeResponse type CancelHandshakeOutput struct { _ struct{} `type:"structure"` @@ -3570,12 +3498,6 @@ func (s CancelHandshakeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHandshake sets the Handshake field's value. -func (s *CancelHandshakeOutput) SetHandshake(v *Handshake) *CancelHandshakeOutput { - s.Handshake = v - return s -} - // Contains a list of child entities, either OUs or accounts. // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/Child type Child struct { @@ -3608,18 +3530,6 @@ func (s Child) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *Child) SetId(v string) *Child { - s.Id = &v - return s -} - -// SetType sets the Type field's value. -func (s *Child) SetType(v ChildType) *Child { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateAccountRequest type CreateAccountInput struct { _ struct{} `type:"structure"` @@ -3707,30 +3617,6 @@ func (s *CreateAccountInput) Validate() error { return nil } -// SetAccountName sets the AccountName field's value. -func (s *CreateAccountInput) SetAccountName(v string) *CreateAccountInput { - s.AccountName = &v - return s -} - -// SetEmail sets the Email field's value. -func (s *CreateAccountInput) SetEmail(v string) *CreateAccountInput { - s.Email = &v - return s -} - -// SetIamUserAccessToBilling sets the IamUserAccessToBilling field's value. -func (s *CreateAccountInput) SetIamUserAccessToBilling(v IAMUserAccessToBilling) *CreateAccountInput { - s.IamUserAccessToBilling = v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *CreateAccountInput) SetRoleName(v string) *CreateAccountInput { - s.RoleName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateAccountResponse type CreateAccountOutput struct { _ struct{} `type:"structure"` @@ -3760,12 +3646,6 @@ func (s CreateAccountOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreateAccountStatus sets the CreateAccountStatus field's value. -func (s *CreateAccountOutput) SetCreateAccountStatus(v *CreateAccountStatus) *CreateAccountOutput { - s.CreateAccountStatus = v - return s -} - // Contains the status about a CreateAccount request to create an AWS account // in an organization. // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateAccountStatus @@ -3828,48 +3708,6 @@ func (s CreateAccountStatus) GoString() string { return s.String() } -// SetAccountId sets the AccountId field's value. -func (s *CreateAccountStatus) SetAccountId(v string) *CreateAccountStatus { - s.AccountId = &v - return s -} - -// SetAccountName sets the AccountName field's value. -func (s *CreateAccountStatus) SetAccountName(v string) *CreateAccountStatus { - s.AccountName = &v - return s -} - -// SetCompletedTimestamp sets the CompletedTimestamp field's value. -func (s *CreateAccountStatus) SetCompletedTimestamp(v time.Time) *CreateAccountStatus { - s.CompletedTimestamp = &v - return s -} - -// SetFailureReason sets the FailureReason field's value. -func (s *CreateAccountStatus) SetFailureReason(v CreateAccountFailureReason) *CreateAccountStatus { - s.FailureReason = v - return s -} - -// SetId sets the Id field's value. -func (s *CreateAccountStatus) SetId(v string) *CreateAccountStatus { - s.Id = &v - return s -} - -// SetRequestedTimestamp sets the RequestedTimestamp field's value. -func (s *CreateAccountStatus) SetRequestedTimestamp(v time.Time) *CreateAccountStatus { - s.RequestedTimestamp = &v - return s -} - -// SetState sets the State field's value. -func (s *CreateAccountStatus) SetState(v CreateAccountState) *CreateAccountStatus { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganizationRequest type CreateOrganizationInput struct { _ struct{} `type:"structure"` @@ -3900,12 +3738,6 @@ func (s CreateOrganizationInput) GoString() string { return s.String() } -// SetFeatureSet sets the FeatureSet field's value. -func (s *CreateOrganizationInput) SetFeatureSet(v OrganizationFeatureSet) *CreateOrganizationInput { - s.FeatureSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganizationResponse type CreateOrganizationOutput struct { _ struct{} `type:"structure"` @@ -3931,12 +3763,6 @@ func (s CreateOrganizationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOrganization sets the Organization field's value. -func (s *CreateOrganizationOutput) SetOrganization(v *Organization) *CreateOrganizationOutput { - s.Organization = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganizationalUnitRequest type CreateOrganizationalUnitInput struct { _ struct{} `type:"structure"` @@ -3995,18 +3821,6 @@ func (s *CreateOrganizationalUnitInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *CreateOrganizationalUnitInput) SetName(v string) *CreateOrganizationalUnitInput { - s.Name = &v - return s -} - -// SetParentId sets the ParentId field's value. -func (s *CreateOrganizationalUnitInput) SetParentId(v string) *CreateOrganizationalUnitInput { - s.ParentId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganizationalUnitResponse type CreateOrganizationalUnitOutput struct { _ struct{} `type:"structure"` @@ -4032,12 +3846,6 @@ func (s CreateOrganizationalUnitOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOrganizationalUnit sets the OrganizationalUnit field's value. -func (s *CreateOrganizationalUnitOutput) SetOrganizationalUnit(v *OrganizationalUnit) *CreateOrganizationalUnitOutput { - s.OrganizationalUnit = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreatePolicyRequest type CreatePolicyInput struct { _ struct{} `type:"structure"` @@ -4117,30 +3925,6 @@ func (s *CreatePolicyInput) Validate() error { return nil } -// SetContent sets the Content field's value. -func (s *CreatePolicyInput) SetContent(v string) *CreatePolicyInput { - s.Content = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreatePolicyInput) SetDescription(v string) *CreatePolicyInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreatePolicyInput) SetName(v string) *CreatePolicyInput { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *CreatePolicyInput) SetType(v PolicyType) *CreatePolicyInput { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreatePolicyResponse type CreatePolicyOutput struct { _ struct{} `type:"structure"` @@ -4166,12 +3950,6 @@ func (s CreatePolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicy sets the Policy field's value. -func (s *CreatePolicyOutput) SetPolicy(v *Policy) *CreatePolicyOutput { - s.Policy = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeclineHandshakeRequest type DeclineHandshakeInput struct { _ struct{} `type:"structure"` @@ -4210,12 +3988,6 @@ func (s *DeclineHandshakeInput) Validate() error { return nil } -// SetHandshakeId sets the HandshakeId field's value. -func (s *DeclineHandshakeInput) SetHandshakeId(v string) *DeclineHandshakeInput { - s.HandshakeId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeclineHandshakeResponse type DeclineHandshakeOutput struct { _ struct{} `type:"structure"` @@ -4242,12 +4014,6 @@ func (s DeclineHandshakeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHandshake sets the Handshake field's value. -func (s *DeclineHandshakeOutput) SetHandshake(v *Handshake) *DeclineHandshakeOutput { - s.Handshake = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeleteOrganizationInput type DeleteOrganizationInput struct { _ struct{} `type:"structure"` @@ -4325,12 +4091,6 @@ func (s *DeleteOrganizationalUnitInput) Validate() error { return nil } -// SetOrganizationalUnitId sets the OrganizationalUnitId field's value. -func (s *DeleteOrganizationalUnitInput) SetOrganizationalUnitId(v string) *DeleteOrganizationalUnitInput { - s.OrganizationalUnitId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeleteOrganizationalUnitOutput type DeleteOrganizationalUnitOutput struct { _ struct{} `type:"structure"` @@ -4391,12 +4151,6 @@ func (s *DeletePolicyInput) Validate() error { return nil } -// SetPolicyId sets the PolicyId field's value. -func (s *DeletePolicyInput) SetPolicyId(v string) *DeletePolicyInput { - s.PolicyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeletePolicyOutput type DeletePolicyOutput struct { _ struct{} `type:"structure"` @@ -4457,12 +4211,6 @@ func (s *DescribeAccountInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *DescribeAccountInput) SetAccountId(v string) *DescribeAccountInput { - s.AccountId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeAccountResponse type DescribeAccountOutput struct { _ struct{} `type:"structure"` @@ -4488,12 +4236,6 @@ func (s DescribeAccountOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAccount sets the Account field's value. -func (s *DescribeAccountOutput) SetAccount(v *Account) *DescribeAccountOutput { - s.Account = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeCreateAccountStatusRequest type DescribeCreateAccountStatusInput struct { _ struct{} `type:"structure"` @@ -4534,12 +4276,6 @@ func (s *DescribeCreateAccountStatusInput) Validate() error { return nil } -// SetCreateAccountRequestId sets the CreateAccountRequestId field's value. -func (s *DescribeCreateAccountStatusInput) SetCreateAccountRequestId(v string) *DescribeCreateAccountStatusInput { - s.CreateAccountRequestId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeCreateAccountStatusResponse type DescribeCreateAccountStatusOutput struct { _ struct{} `type:"structure"` @@ -4565,12 +4301,6 @@ func (s DescribeCreateAccountStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreateAccountStatus sets the CreateAccountStatus field's value. -func (s *DescribeCreateAccountStatusOutput) SetCreateAccountStatus(v *CreateAccountStatus) *DescribeCreateAccountStatusOutput { - s.CreateAccountStatus = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeHandshakeRequest type DescribeHandshakeInput struct { _ struct{} `type:"structure"` @@ -4610,12 +4340,6 @@ func (s *DescribeHandshakeInput) Validate() error { return nil } -// SetHandshakeId sets the HandshakeId field's value. -func (s *DescribeHandshakeInput) SetHandshakeId(v string) *DescribeHandshakeInput { - s.HandshakeId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeHandshakeResponse type DescribeHandshakeOutput struct { _ struct{} `type:"structure"` @@ -4641,12 +4365,6 @@ func (s DescribeHandshakeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHandshake sets the Handshake field's value. -func (s *DescribeHandshakeOutput) SetHandshake(v *Handshake) *DescribeHandshakeOutput { - s.Handshake = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganizationInput type DescribeOrganizationInput struct { _ struct{} `type:"structure"` @@ -4687,12 +4405,6 @@ func (s DescribeOrganizationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOrganization sets the Organization field's value. -func (s *DescribeOrganizationOutput) SetOrganization(v *Organization) *DescribeOrganizationOutput { - s.Organization = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganizationalUnitRequest type DescribeOrganizationalUnitInput struct { _ struct{} `type:"structure"` @@ -4733,12 +4445,6 @@ func (s *DescribeOrganizationalUnitInput) Validate() error { return nil } -// SetOrganizationalUnitId sets the OrganizationalUnitId field's value. -func (s *DescribeOrganizationalUnitInput) SetOrganizationalUnitId(v string) *DescribeOrganizationalUnitInput { - s.OrganizationalUnitId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganizationalUnitResponse type DescribeOrganizationalUnitOutput struct { _ struct{} `type:"structure"` @@ -4764,12 +4470,6 @@ func (s DescribeOrganizationalUnitOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOrganizationalUnit sets the OrganizationalUnit field's value. -func (s *DescribeOrganizationalUnitOutput) SetOrganizationalUnit(v *OrganizationalUnit) *DescribeOrganizationalUnitOutput { - s.OrganizationalUnit = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribePolicyRequest type DescribePolicyInput struct { _ struct{} `type:"structure"` @@ -4808,12 +4508,6 @@ func (s *DescribePolicyInput) Validate() error { return nil } -// SetPolicyId sets the PolicyId field's value. -func (s *DescribePolicyInput) SetPolicyId(v string) *DescribePolicyInput { - s.PolicyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribePolicyResponse type DescribePolicyOutput struct { _ struct{} `type:"structure"` @@ -4839,12 +4533,6 @@ func (s DescribePolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicy sets the Policy field's value. -func (s *DescribePolicyOutput) SetPolicy(v *Policy) *DescribePolicyOutput { - s.Policy = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DetachPolicyRequest type DetachPolicyInput struct { _ struct{} `type:"structure"` @@ -4907,18 +4595,6 @@ func (s *DetachPolicyInput) Validate() error { return nil } -// SetPolicyId sets the PolicyId field's value. -func (s *DetachPolicyInput) SetPolicyId(v string) *DetachPolicyInput { - s.PolicyId = &v - return s -} - -// SetTargetId sets the TargetId field's value. -func (s *DetachPolicyInput) SetTargetId(v string) *DetachPolicyInput { - s.TargetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DetachPolicyOutput type DetachPolicyOutput struct { _ struct{} `type:"structure"` @@ -4980,12 +4656,6 @@ func (s *DisableAWSServiceAccessInput) Validate() error { return nil } -// SetServicePrincipal sets the ServicePrincipal field's value. -func (s *DisableAWSServiceAccessInput) SetServicePrincipal(v string) *DisableAWSServiceAccessInput { - s.ServicePrincipal = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisableAWSServiceAccessOutput type DisableAWSServiceAccessOutput struct { _ struct{} `type:"structure"` @@ -5054,18 +4724,6 @@ func (s *DisablePolicyTypeInput) Validate() error { return nil } -// SetPolicyType sets the PolicyType field's value. -func (s *DisablePolicyTypeInput) SetPolicyType(v PolicyType) *DisablePolicyTypeInput { - s.PolicyType = v - return s -} - -// SetRootId sets the RootId field's value. -func (s *DisablePolicyTypeInput) SetRootId(v string) *DisablePolicyTypeInput { - s.RootId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyTypeResponse type DisablePolicyTypeOutput struct { _ struct{} `type:"structure"` @@ -5091,12 +4749,6 @@ func (s DisablePolicyTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRoot sets the Root field's value. -func (s *DisablePolicyTypeOutput) SetRoot(v *Root) *DisablePolicyTypeOutput { - s.Root = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnableAWSServiceAccessRequest type EnableAWSServiceAccessInput struct { _ struct{} `type:"structure"` @@ -5136,12 +4788,6 @@ func (s *EnableAWSServiceAccessInput) Validate() error { return nil } -// SetServicePrincipal sets the ServicePrincipal field's value. -func (s *EnableAWSServiceAccessInput) SetServicePrincipal(v string) *EnableAWSServiceAccessInput { - s.ServicePrincipal = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnableAWSServiceAccessOutput type EnableAWSServiceAccessOutput struct { _ struct{} `type:"structure"` @@ -5205,12 +4851,6 @@ func (s EnableAllFeaturesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHandshake sets the Handshake field's value. -func (s *EnableAllFeaturesOutput) SetHandshake(v *Handshake) *EnableAllFeaturesOutput { - s.Handshake = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyTypeRequest type EnablePolicyTypeInput struct { _ struct{} `type:"structure"` @@ -5257,18 +4897,6 @@ func (s *EnablePolicyTypeInput) Validate() error { return nil } -// SetPolicyType sets the PolicyType field's value. -func (s *EnablePolicyTypeInput) SetPolicyType(v PolicyType) *EnablePolicyTypeInput { - s.PolicyType = v - return s -} - -// SetRootId sets the RootId field's value. -func (s *EnablePolicyTypeInput) SetRootId(v string) *EnablePolicyTypeInput { - s.RootId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyTypeResponse type EnablePolicyTypeOutput struct { _ struct{} `type:"structure"` @@ -5294,12 +4922,6 @@ func (s EnablePolicyTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRoot sets the Root field's value. -func (s *EnablePolicyTypeOutput) SetRoot(v *Root) *EnablePolicyTypeOutput { - s.Root = v - return s -} - // A structure that contains details of a service principal that is enabled // to integrate with AWS Organizations. // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnabledServicePrincipal @@ -5325,18 +4947,6 @@ func (s EnabledServicePrincipal) GoString() string { return s.String() } -// SetDateEnabled sets the DateEnabled field's value. -func (s *EnabledServicePrincipal) SetDateEnabled(v time.Time) *EnabledServicePrincipal { - s.DateEnabled = &v - return s -} - -// SetServicePrincipal sets the ServicePrincipal field's value. -func (s *EnabledServicePrincipal) SetServicePrincipal(v string) *EnabledServicePrincipal { - s.ServicePrincipal = &v - return s -} - // Contains information that must be exchanged to securely establish a relationship // between two accounts (an originator and a recipient). For example, when a // master account (the originator) invites another account (the recipient) to @@ -5432,54 +5042,6 @@ func (s Handshake) GoString() string { return s.String() } -// SetAction sets the Action field's value. -func (s *Handshake) SetAction(v ActionType) *Handshake { - s.Action = v - return s -} - -// SetArn sets the Arn field's value. -func (s *Handshake) SetArn(v string) *Handshake { - s.Arn = &v - return s -} - -// SetExpirationTimestamp sets the ExpirationTimestamp field's value. -func (s *Handshake) SetExpirationTimestamp(v time.Time) *Handshake { - s.ExpirationTimestamp = &v - return s -} - -// SetId sets the Id field's value. -func (s *Handshake) SetId(v string) *Handshake { - s.Id = &v - return s -} - -// SetParties sets the Parties field's value. -func (s *Handshake) SetParties(v []HandshakeParty) *Handshake { - s.Parties = v - return s -} - -// SetRequestedTimestamp sets the RequestedTimestamp field's value. -func (s *Handshake) SetRequestedTimestamp(v time.Time) *Handshake { - s.RequestedTimestamp = &v - return s -} - -// SetResources sets the Resources field's value. -func (s *Handshake) SetResources(v []HandshakeResource) *Handshake { - s.Resources = v - return s -} - -// SetState sets the State field's value. -func (s *Handshake) SetState(v HandshakeState) *Handshake { - s.State = v - return s -} - // Specifies the criteria that are used to select the handshakes for the operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/HandshakeFilter type HandshakeFilter struct { @@ -5510,18 +5072,6 @@ func (s HandshakeFilter) GoString() string { return s.String() } -// SetActionType sets the ActionType field's value. -func (s *HandshakeFilter) SetActionType(v ActionType) *HandshakeFilter { - s.ActionType = v - return s -} - -// SetParentHandshakeId sets the ParentHandshakeId field's value. -func (s *HandshakeFilter) SetParentHandshakeId(v string) *HandshakeFilter { - s.ParentHandshakeId = &v - return s -} - // Identifies a participant in a handshake. // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/HandshakeParty type HandshakeParty struct { @@ -5571,18 +5121,6 @@ func (s *HandshakeParty) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *HandshakeParty) SetId(v string) *HandshakeParty { - s.Id = &v - return s -} - -// SetType sets the Type field's value. -func (s *HandshakeParty) SetType(v HandshakePartyType) *HandshakeParty { - s.Type = v - return s -} - // Contains additional data that is needed to process a handshake. // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/HandshakeResource type HandshakeResource struct { @@ -5626,24 +5164,6 @@ func (s HandshakeResource) GoString() string { return s.String() } -// SetResources sets the Resources field's value. -func (s *HandshakeResource) SetResources(v []HandshakeResource) *HandshakeResource { - s.Resources = v - return s -} - -// SetType sets the Type field's value. -func (s *HandshakeResource) SetType(v HandshakeResourceType) *HandshakeResource { - s.Type = v - return s -} - -// SetValue sets the Value field's value. -func (s *HandshakeResource) SetValue(v string) *HandshakeResource { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/InviteAccountToOrganizationRequest type InviteAccountToOrganizationInput struct { _ struct{} `type:"structure"` @@ -5701,18 +5221,6 @@ func (s *InviteAccountToOrganizationInput) Validate() error { return nil } -// SetNotes sets the Notes field's value. -func (s *InviteAccountToOrganizationInput) SetNotes(v string) *InviteAccountToOrganizationInput { - s.Notes = &v - return s -} - -// SetTarget sets the Target field's value. -func (s *InviteAccountToOrganizationInput) SetTarget(v *HandshakeParty) *InviteAccountToOrganizationInput { - s.Target = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/InviteAccountToOrganizationResponse type InviteAccountToOrganizationOutput struct { _ struct{} `type:"structure"` @@ -5739,12 +5247,6 @@ func (s InviteAccountToOrganizationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHandshake sets the Handshake field's value. -func (s *InviteAccountToOrganizationOutput) SetHandshake(v *Handshake) *InviteAccountToOrganizationOutput { - s.Handshake = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/LeaveOrganizationInput type LeaveOrganizationInput struct { _ struct{} `type:"structure"` @@ -5827,18 +5329,6 @@ func (s *ListAWSServiceAccessForOrganizationInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListAWSServiceAccessForOrganizationInput) SetMaxResults(v int64) *ListAWSServiceAccessForOrganizationInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAWSServiceAccessForOrganizationInput) SetNextToken(v string) *ListAWSServiceAccessForOrganizationInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAWSServiceAccessForOrganizationResponse type ListAWSServiceAccessForOrganizationOutput struct { _ struct{} `type:"structure"` @@ -5873,18 +5363,6 @@ func (s ListAWSServiceAccessForOrganizationOutput) SDKResponseMetadata() aws.Res return s.responseMetadata } -// SetEnabledServicePrincipals sets the EnabledServicePrincipals field's value. -func (s *ListAWSServiceAccessForOrganizationOutput) SetEnabledServicePrincipals(v []EnabledServicePrincipal) *ListAWSServiceAccessForOrganizationOutput { - s.EnabledServicePrincipals = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAWSServiceAccessForOrganizationOutput) SetNextToken(v string) *ListAWSServiceAccessForOrganizationOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAccountsForParentRequest type ListAccountsForParentInput struct { _ struct{} `type:"structure"` @@ -5940,24 +5418,6 @@ func (s *ListAccountsForParentInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListAccountsForParentInput) SetMaxResults(v int64) *ListAccountsForParentInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAccountsForParentInput) SetNextToken(v string) *ListAccountsForParentInput { - s.NextToken = &v - return s -} - -// SetParentId sets the ParentId field's value. -func (s *ListAccountsForParentInput) SetParentId(v string) *ListAccountsForParentInput { - s.ParentId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAccountsForParentResponse type ListAccountsForParentOutput struct { _ struct{} `type:"structure"` @@ -5990,18 +5450,6 @@ func (s ListAccountsForParentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAccounts sets the Accounts field's value. -func (s *ListAccountsForParentOutput) SetAccounts(v []Account) *ListAccountsForParentOutput { - s.Accounts = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAccountsForParentOutput) SetNextToken(v string) *ListAccountsForParentOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAccountsRequest type ListAccountsInput struct { _ struct{} `type:"structure"` @@ -6047,18 +5495,6 @@ func (s *ListAccountsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListAccountsInput) SetMaxResults(v int64) *ListAccountsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAccountsInput) SetNextToken(v string) *ListAccountsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAccountsResponse type ListAccountsOutput struct { _ struct{} `type:"structure"` @@ -6091,18 +5527,6 @@ func (s ListAccountsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAccounts sets the Accounts field's value. -func (s *ListAccountsOutput) SetAccounts(v []Account) *ListAccountsOutput { - s.Accounts = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAccountsOutput) SetNextToken(v string) *ListAccountsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListChildrenRequest type ListChildrenInput struct { _ struct{} `type:"structure"` @@ -6177,30 +5601,6 @@ func (s *ListChildrenInput) Validate() error { return nil } -// SetChildType sets the ChildType field's value. -func (s *ListChildrenInput) SetChildType(v ChildType) *ListChildrenInput { - s.ChildType = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListChildrenInput) SetMaxResults(v int64) *ListChildrenInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListChildrenInput) SetNextToken(v string) *ListChildrenInput { - s.NextToken = &v - return s -} - -// SetParentId sets the ParentId field's value. -func (s *ListChildrenInput) SetParentId(v string) *ListChildrenInput { - s.ParentId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListChildrenResponse type ListChildrenOutput struct { _ struct{} `type:"structure"` @@ -6233,18 +5633,6 @@ func (s ListChildrenOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChildren sets the Children field's value. -func (s *ListChildrenOutput) SetChildren(v []Child) *ListChildrenOutput { - s.Children = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListChildrenOutput) SetNextToken(v string) *ListChildrenOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListCreateAccountStatusRequest type ListCreateAccountStatusInput struct { _ struct{} `type:"structure"` @@ -6294,24 +5682,6 @@ func (s *ListCreateAccountStatusInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListCreateAccountStatusInput) SetMaxResults(v int64) *ListCreateAccountStatusInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListCreateAccountStatusInput) SetNextToken(v string) *ListCreateAccountStatusInput { - s.NextToken = &v - return s -} - -// SetStates sets the States field's value. -func (s *ListCreateAccountStatusInput) SetStates(v []CreateAccountState) *ListCreateAccountStatusInput { - s.States = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListCreateAccountStatusResponse type ListCreateAccountStatusOutput struct { _ struct{} `type:"structure"` @@ -6346,18 +5716,6 @@ func (s ListCreateAccountStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreateAccountStatuses sets the CreateAccountStatuses field's value. -func (s *ListCreateAccountStatusOutput) SetCreateAccountStatuses(v []CreateAccountStatus) *ListCreateAccountStatusOutput { - s.CreateAccountStatuses = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListCreateAccountStatusOutput) SetNextToken(v string) *ListCreateAccountStatusOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListHandshakesForAccountRequest type ListHandshakesForAccountInput struct { _ struct{} `type:"structure"` @@ -6411,24 +5769,6 @@ func (s *ListHandshakesForAccountInput) Validate() error { return nil } -// SetFilter sets the Filter field's value. -func (s *ListHandshakesForAccountInput) SetFilter(v *HandshakeFilter) *ListHandshakesForAccountInput { - s.Filter = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListHandshakesForAccountInput) SetMaxResults(v int64) *ListHandshakesForAccountInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListHandshakesForAccountInput) SetNextToken(v string) *ListHandshakesForAccountInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListHandshakesForAccountResponse type ListHandshakesForAccountOutput struct { _ struct{} `type:"structure"` @@ -6462,18 +5802,6 @@ func (s ListHandshakesForAccountOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHandshakes sets the Handshakes field's value. -func (s *ListHandshakesForAccountOutput) SetHandshakes(v []Handshake) *ListHandshakesForAccountOutput { - s.Handshakes = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListHandshakesForAccountOutput) SetNextToken(v string) *ListHandshakesForAccountOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListHandshakesForOrganizationRequest type ListHandshakesForOrganizationInput struct { _ struct{} `type:"structure"` @@ -6527,24 +5855,6 @@ func (s *ListHandshakesForOrganizationInput) Validate() error { return nil } -// SetFilter sets the Filter field's value. -func (s *ListHandshakesForOrganizationInput) SetFilter(v *HandshakeFilter) *ListHandshakesForOrganizationInput { - s.Filter = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListHandshakesForOrganizationInput) SetMaxResults(v int64) *ListHandshakesForOrganizationInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListHandshakesForOrganizationInput) SetNextToken(v string) *ListHandshakesForOrganizationInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListHandshakesForOrganizationResponse type ListHandshakesForOrganizationOutput struct { _ struct{} `type:"structure"` @@ -6578,18 +5888,6 @@ func (s ListHandshakesForOrganizationOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetHandshakes sets the Handshakes field's value. -func (s *ListHandshakesForOrganizationOutput) SetHandshakes(v []Handshake) *ListHandshakesForOrganizationOutput { - s.Handshakes = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListHandshakesForOrganizationOutput) SetNextToken(v string) *ListHandshakesForOrganizationOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListOrganizationalUnitsForParentRequest type ListOrganizationalUnitsForParentInput struct { _ struct{} `type:"structure"` @@ -6656,24 +5954,6 @@ func (s *ListOrganizationalUnitsForParentInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListOrganizationalUnitsForParentInput) SetMaxResults(v int64) *ListOrganizationalUnitsForParentInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListOrganizationalUnitsForParentInput) SetNextToken(v string) *ListOrganizationalUnitsForParentInput { - s.NextToken = &v - return s -} - -// SetParentId sets the ParentId field's value. -func (s *ListOrganizationalUnitsForParentInput) SetParentId(v string) *ListOrganizationalUnitsForParentInput { - s.ParentId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListOrganizationalUnitsForParentResponse type ListOrganizationalUnitsForParentOutput struct { _ struct{} `type:"structure"` @@ -6706,18 +5986,6 @@ func (s ListOrganizationalUnitsForParentOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListOrganizationalUnitsForParentOutput) SetNextToken(v string) *ListOrganizationalUnitsForParentOutput { - s.NextToken = &v - return s -} - -// SetOrganizationalUnits sets the OrganizationalUnits field's value. -func (s *ListOrganizationalUnitsForParentOutput) SetOrganizationalUnits(v []OrganizationalUnit) *ListOrganizationalUnitsForParentOutput { - s.OrganizationalUnits = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListParentsRequest type ListParentsInput struct { _ struct{} `type:"structure"` @@ -6783,24 +6051,6 @@ func (s *ListParentsInput) Validate() error { return nil } -// SetChildId sets the ChildId field's value. -func (s *ListParentsInput) SetChildId(v string) *ListParentsInput { - s.ChildId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListParentsInput) SetMaxResults(v int64) *ListParentsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListParentsInput) SetNextToken(v string) *ListParentsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListParentsResponse type ListParentsOutput struct { _ struct{} `type:"structure"` @@ -6833,18 +6083,6 @@ func (s ListParentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListParentsOutput) SetNextToken(v string) *ListParentsOutput { - s.NextToken = &v - return s -} - -// SetParents sets the Parents field's value. -func (s *ListParentsOutput) SetParents(v []Parent) *ListParentsOutput { - s.Parents = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListPoliciesForTargetRequest type ListPoliciesForTargetInput struct { _ struct{} `type:"structure"` @@ -6921,30 +6159,6 @@ func (s *ListPoliciesForTargetInput) Validate() error { return nil } -// SetFilter sets the Filter field's value. -func (s *ListPoliciesForTargetInput) SetFilter(v PolicyType) *ListPoliciesForTargetInput { - s.Filter = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListPoliciesForTargetInput) SetMaxResults(v int64) *ListPoliciesForTargetInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListPoliciesForTargetInput) SetNextToken(v string) *ListPoliciesForTargetInput { - s.NextToken = &v - return s -} - -// SetTargetId sets the TargetId field's value. -func (s *ListPoliciesForTargetInput) SetTargetId(v string) *ListPoliciesForTargetInput { - s.TargetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListPoliciesForTargetResponse type ListPoliciesForTargetOutput struct { _ struct{} `type:"structure"` @@ -6977,18 +6191,6 @@ func (s ListPoliciesForTargetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListPoliciesForTargetOutput) SetNextToken(v string) *ListPoliciesForTargetOutput { - s.NextToken = &v - return s -} - -// SetPolicies sets the Policies field's value. -func (s *ListPoliciesForTargetOutput) SetPolicies(v []PolicySummary) *ListPoliciesForTargetOutput { - s.Policies = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListPoliciesRequest type ListPoliciesInput struct { _ struct{} `type:"structure"` @@ -7042,24 +6244,6 @@ func (s *ListPoliciesInput) Validate() error { return nil } -// SetFilter sets the Filter field's value. -func (s *ListPoliciesInput) SetFilter(v PolicyType) *ListPoliciesInput { - s.Filter = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListPoliciesInput) SetMaxResults(v int64) *ListPoliciesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListPoliciesInput) SetNextToken(v string) *ListPoliciesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListPoliciesResponse type ListPoliciesOutput struct { _ struct{} `type:"structure"` @@ -7094,18 +6278,6 @@ func (s ListPoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListPoliciesOutput) SetNextToken(v string) *ListPoliciesOutput { - s.NextToken = &v - return s -} - -// SetPolicies sets the Policies field's value. -func (s *ListPoliciesOutput) SetPolicies(v []PolicySummary) *ListPoliciesOutput { - s.Policies = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListRootsRequest type ListRootsInput struct { _ struct{} `type:"structure"` @@ -7151,18 +6323,6 @@ func (s *ListRootsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListRootsInput) SetMaxResults(v int64) *ListRootsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListRootsInput) SetNextToken(v string) *ListRootsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListRootsResponse type ListRootsOutput struct { _ struct{} `type:"structure"` @@ -7195,18 +6355,6 @@ func (s ListRootsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListRootsOutput) SetNextToken(v string) *ListRootsOutput { - s.NextToken = &v - return s -} - -// SetRoots sets the Roots field's value. -func (s *ListRootsOutput) SetRoots(v []Root) *ListRootsOutput { - s.Roots = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListTargetsForPolicyRequest type ListTargetsForPolicyInput struct { _ struct{} `type:"structure"` @@ -7264,24 +6412,6 @@ func (s *ListTargetsForPolicyInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListTargetsForPolicyInput) SetMaxResults(v int64) *ListTargetsForPolicyInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTargetsForPolicyInput) SetNextToken(v string) *ListTargetsForPolicyInput { - s.NextToken = &v - return s -} - -// SetPolicyId sets the PolicyId field's value. -func (s *ListTargetsForPolicyInput) SetPolicyId(v string) *ListTargetsForPolicyInput { - s.PolicyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListTargetsForPolicyResponse type ListTargetsForPolicyOutput struct { _ struct{} `type:"structure"` @@ -7315,18 +6445,6 @@ func (s ListTargetsForPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTargetsForPolicyOutput) SetNextToken(v string) *ListTargetsForPolicyOutput { - s.NextToken = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *ListTargetsForPolicyOutput) SetTargets(v []PolicyTargetSummary) *ListTargetsForPolicyOutput { - s.Targets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/MoveAccountRequest type MoveAccountInput struct { _ struct{} `type:"structure"` @@ -7406,24 +6524,6 @@ func (s *MoveAccountInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *MoveAccountInput) SetAccountId(v string) *MoveAccountInput { - s.AccountId = &v - return s -} - -// SetDestinationParentId sets the DestinationParentId field's value. -func (s *MoveAccountInput) SetDestinationParentId(v string) *MoveAccountInput { - s.DestinationParentId = &v - return s -} - -// SetSourceParentId sets the SourceParentId field's value. -func (s *MoveAccountInput) SetSourceParentId(v string) *MoveAccountInput { - s.SourceParentId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/MoveAccountOutput type MoveAccountOutput struct { _ struct{} `type:"structure"` @@ -7509,48 +6609,6 @@ func (s Organization) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Organization) SetArn(v string) *Organization { - s.Arn = &v - return s -} - -// SetAvailablePolicyTypes sets the AvailablePolicyTypes field's value. -func (s *Organization) SetAvailablePolicyTypes(v []PolicyTypeSummary) *Organization { - s.AvailablePolicyTypes = v - return s -} - -// SetFeatureSet sets the FeatureSet field's value. -func (s *Organization) SetFeatureSet(v OrganizationFeatureSet) *Organization { - s.FeatureSet = v - return s -} - -// SetId sets the Id field's value. -func (s *Organization) SetId(v string) *Organization { - s.Id = &v - return s -} - -// SetMasterAccountArn sets the MasterAccountArn field's value. -func (s *Organization) SetMasterAccountArn(v string) *Organization { - s.MasterAccountArn = &v - return s -} - -// SetMasterAccountEmail sets the MasterAccountEmail field's value. -func (s *Organization) SetMasterAccountEmail(v string) *Organization { - s.MasterAccountEmail = &v - return s -} - -// SetMasterAccountId sets the MasterAccountId field's value. -func (s *Organization) SetMasterAccountId(v string) *Organization { - s.MasterAccountId = &v - return s -} - // Contains details about an organizational unit (OU). An OU is a container // of AWS accounts within a root of an organization. Policies that are attached // to an OU apply to all accounts contained in that OU and in any child OUs. @@ -7591,24 +6649,6 @@ func (s OrganizationalUnit) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *OrganizationalUnit) SetArn(v string) *OrganizationalUnit { - s.Arn = &v - return s -} - -// SetId sets the Id field's value. -func (s *OrganizationalUnit) SetId(v string) *OrganizationalUnit { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *OrganizationalUnit) SetName(v string) *OrganizationalUnit { - s.Name = &v - return s -} - // Contains information about either a root or an organizational unit (OU) that // can contain OUs or accounts in an organization. // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/Parent @@ -7643,18 +6683,6 @@ func (s Parent) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *Parent) SetId(v string) *Parent { - s.Id = &v - return s -} - -// SetType sets the Type field's value. -func (s *Parent) SetType(v ParentType) *Parent { - s.Type = v - return s -} - // Contains rules to be applied to the affected accounts. Policies can be attached // directly to accounts, or to roots and OUs to affect all accounts in those // hierarchies. @@ -7679,18 +6707,6 @@ func (s Policy) GoString() string { return s.String() } -// SetContent sets the Content field's value. -func (s *Policy) SetContent(v string) *Policy { - s.Content = &v - return s -} - -// SetPolicySummary sets the PolicySummary field's value. -func (s *Policy) SetPolicySummary(v *PolicySummary) *Policy { - s.PolicySummary = v - return s -} - // Contains information about a policy, but does not include the content. To // see the content of a policy, see DescribePolicy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/PolicySummary @@ -7739,42 +6755,6 @@ func (s PolicySummary) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *PolicySummary) SetArn(v string) *PolicySummary { - s.Arn = &v - return s -} - -// SetAwsManaged sets the AwsManaged field's value. -func (s *PolicySummary) SetAwsManaged(v bool) *PolicySummary { - s.AwsManaged = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *PolicySummary) SetDescription(v string) *PolicySummary { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *PolicySummary) SetId(v string) *PolicySummary { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *PolicySummary) SetName(v string) *PolicySummary { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *PolicySummary) SetType(v PolicyType) *PolicySummary { - s.Type = v - return s -} - // Contains information about a root, OU, or account that a policy is attached // to. // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/PolicyTargetSummary @@ -7825,30 +6805,6 @@ func (s PolicyTargetSummary) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *PolicyTargetSummary) SetArn(v string) *PolicyTargetSummary { - s.Arn = &v - return s -} - -// SetName sets the Name field's value. -func (s *PolicyTargetSummary) SetName(v string) *PolicyTargetSummary { - s.Name = &v - return s -} - -// SetTargetId sets the TargetId field's value. -func (s *PolicyTargetSummary) SetTargetId(v string) *PolicyTargetSummary { - s.TargetId = &v - return s -} - -// SetType sets the Type field's value. -func (s *PolicyTargetSummary) SetType(v TargetType) *PolicyTargetSummary { - s.Type = v - return s -} - // Contains information about a policy type and its status in the associated // root. // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/PolicyTypeSummary @@ -7874,18 +6830,6 @@ func (s PolicyTypeSummary) GoString() string { return s.String() } -// SetStatus sets the Status field's value. -func (s *PolicyTypeSummary) SetStatus(v PolicyTypeStatus) *PolicyTypeSummary { - s.Status = v - return s -} - -// SetType sets the Type field's value. -func (s *PolicyTypeSummary) SetType(v PolicyType) *PolicyTypeSummary { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/RemoveAccountFromOrganizationRequest type RemoveAccountFromOrganizationInput struct { _ struct{} `type:"structure"` @@ -7924,12 +6868,6 @@ func (s *RemoveAccountFromOrganizationInput) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *RemoveAccountFromOrganizationInput) SetAccountId(v string) *RemoveAccountFromOrganizationInput { - s.AccountId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/RemoveAccountFromOrganizationOutput type RemoveAccountFromOrganizationOutput struct { _ struct{} `type:"structure"` @@ -7996,30 +6934,6 @@ func (s Root) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Root) SetArn(v string) *Root { - s.Arn = &v - return s -} - -// SetId sets the Id field's value. -func (s *Root) SetId(v string) *Root { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *Root) SetName(v string) *Root { - s.Name = &v - return s -} - -// SetPolicyTypes sets the PolicyTypes field's value. -func (s *Root) SetPolicyTypes(v []PolicyTypeSummary) *Root { - s.PolicyTypes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/UpdateOrganizationalUnitRequest type UpdateOrganizationalUnitInput struct { _ struct{} `type:"structure"` @@ -8070,18 +6984,6 @@ func (s *UpdateOrganizationalUnitInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *UpdateOrganizationalUnitInput) SetName(v string) *UpdateOrganizationalUnitInput { - s.Name = &v - return s -} - -// SetOrganizationalUnitId sets the OrganizationalUnitId field's value. -func (s *UpdateOrganizationalUnitInput) SetOrganizationalUnitId(v string) *UpdateOrganizationalUnitInput { - s.OrganizationalUnitId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/UpdateOrganizationalUnitResponse type UpdateOrganizationalUnitOutput struct { _ struct{} `type:"structure"` @@ -8108,12 +7010,6 @@ func (s UpdateOrganizationalUnitOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOrganizationalUnit sets the OrganizationalUnit field's value. -func (s *UpdateOrganizationalUnitOutput) SetOrganizationalUnit(v *OrganizationalUnit) *UpdateOrganizationalUnitOutput { - s.OrganizationalUnit = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/UpdatePolicyRequest type UpdatePolicyInput struct { _ struct{} `type:"structure"` @@ -8173,30 +7069,6 @@ func (s *UpdatePolicyInput) Validate() error { return nil } -// SetContent sets the Content field's value. -func (s *UpdatePolicyInput) SetContent(v string) *UpdatePolicyInput { - s.Content = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdatePolicyInput) SetDescription(v string) *UpdatePolicyInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdatePolicyInput) SetName(v string) *UpdatePolicyInput { - s.Name = &v - return s -} - -// SetPolicyId sets the PolicyId field's value. -func (s *UpdatePolicyInput) SetPolicyId(v string) *UpdatePolicyInput { - s.PolicyId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/UpdatePolicyResponse type UpdatePolicyOutput struct { _ struct{} `type:"structure"` @@ -8223,12 +7095,6 @@ func (s UpdatePolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicy sets the Policy field's value. -func (s *UpdatePolicyOutput) SetPolicy(v *Policy) *UpdatePolicyOutput { - s.Policy = v - return s -} - type AccessDeniedForDependencyExceptionReason string // Enum values for AccessDeniedForDependencyExceptionReason diff --git a/service/pinpoint/api.go b/service/pinpoint/api.go index 5b7f4a15bbb..58bcdd56dd0 100644 --- a/service/pinpoint/api.go +++ b/service/pinpoint/api.go @@ -2972,24 +2972,6 @@ func (s ADMChannelRequest) GoString() string { return s.String() } -// SetClientId sets the ClientId field's value. -func (s *ADMChannelRequest) SetClientId(v string) *ADMChannelRequest { - s.ClientId = &v - return s -} - -// SetClientSecret sets the ClientSecret field's value. -func (s *ADMChannelRequest) SetClientSecret(v string) *ADMChannelRequest { - s.ClientSecret = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *ADMChannelRequest) SetEnabled(v bool) *ADMChannelRequest { - s.Enabled = &v - return s -} - // Amazon Device Messaging channel definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ADMChannelResponse type ADMChannelResponse struct { @@ -3036,66 +3018,6 @@ func (s ADMChannelResponse) GoString() string { return s.String() } -// SetApplicationId sets the ApplicationId field's value. -func (s *ADMChannelResponse) SetApplicationId(v string) *ADMChannelResponse { - s.ApplicationId = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *ADMChannelResponse) SetCreationDate(v string) *ADMChannelResponse { - s.CreationDate = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *ADMChannelResponse) SetEnabled(v bool) *ADMChannelResponse { - s.Enabled = &v - return s -} - -// SetHasCredential sets the HasCredential field's value. -func (s *ADMChannelResponse) SetHasCredential(v bool) *ADMChannelResponse { - s.HasCredential = &v - return s -} - -// SetId sets the Id field's value. -func (s *ADMChannelResponse) SetId(v string) *ADMChannelResponse { - s.Id = &v - return s -} - -// SetIsArchived sets the IsArchived field's value. -func (s *ADMChannelResponse) SetIsArchived(v bool) *ADMChannelResponse { - s.IsArchived = &v - return s -} - -// SetLastModifiedBy sets the LastModifiedBy field's value. -func (s *ADMChannelResponse) SetLastModifiedBy(v string) *ADMChannelResponse { - s.LastModifiedBy = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *ADMChannelResponse) SetLastModifiedDate(v string) *ADMChannelResponse { - s.LastModifiedDate = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *ADMChannelResponse) SetPlatform(v string) *ADMChannelResponse { - s.Platform = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *ADMChannelResponse) SetVersion(v int64) *ADMChannelResponse { - s.Version = &v - return s -} - // ADM Message. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ADMMessage type ADMMessage struct { @@ -3176,102 +3098,6 @@ func (s ADMMessage) GoString() string { return s.String() } -// SetAction sets the Action field's value. -func (s *ADMMessage) SetAction(v Action) *ADMMessage { - s.Action = v - return s -} - -// SetBody sets the Body field's value. -func (s *ADMMessage) SetBody(v string) *ADMMessage { - s.Body = &v - return s -} - -// SetConsolidationKey sets the ConsolidationKey field's value. -func (s *ADMMessage) SetConsolidationKey(v string) *ADMMessage { - s.ConsolidationKey = &v - return s -} - -// SetData sets the Data field's value. -func (s *ADMMessage) SetData(v map[string]string) *ADMMessage { - s.Data = v - return s -} - -// SetExpiresAfter sets the ExpiresAfter field's value. -func (s *ADMMessage) SetExpiresAfter(v string) *ADMMessage { - s.ExpiresAfter = &v - return s -} - -// SetIconReference sets the IconReference field's value. -func (s *ADMMessage) SetIconReference(v string) *ADMMessage { - s.IconReference = &v - return s -} - -// SetImageIconUrl sets the ImageIconUrl field's value. -func (s *ADMMessage) SetImageIconUrl(v string) *ADMMessage { - s.ImageIconUrl = &v - return s -} - -// SetImageUrl sets the ImageUrl field's value. -func (s *ADMMessage) SetImageUrl(v string) *ADMMessage { - s.ImageUrl = &v - return s -} - -// SetMD5 sets the MD5 field's value. -func (s *ADMMessage) SetMD5(v string) *ADMMessage { - s.MD5 = &v - return s -} - -// SetRawContent sets the RawContent field's value. -func (s *ADMMessage) SetRawContent(v string) *ADMMessage { - s.RawContent = &v - return s -} - -// SetSilentPush sets the SilentPush field's value. -func (s *ADMMessage) SetSilentPush(v bool) *ADMMessage { - s.SilentPush = &v - return s -} - -// SetSmallImageIconUrl sets the SmallImageIconUrl field's value. -func (s *ADMMessage) SetSmallImageIconUrl(v string) *ADMMessage { - s.SmallImageIconUrl = &v - return s -} - -// SetSound sets the Sound field's value. -func (s *ADMMessage) SetSound(v string) *ADMMessage { - s.Sound = &v - return s -} - -// SetSubstitutions sets the Substitutions field's value. -func (s *ADMMessage) SetSubstitutions(v map[string][]string) *ADMMessage { - s.Substitutions = v - return s -} - -// SetTitle sets the Title field's value. -func (s *ADMMessage) SetTitle(v string) *ADMMessage { - s.Title = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *ADMMessage) SetUrl(v string) *ADMMessage { - s.Url = &v - return s -} - // Apple Push Notification Service channel definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSChannelRequest type APNSChannelRequest struct { @@ -3312,54 +3138,6 @@ func (s APNSChannelRequest) GoString() string { return s.String() } -// SetBundleId sets the BundleId field's value. -func (s *APNSChannelRequest) SetBundleId(v string) *APNSChannelRequest { - s.BundleId = &v - return s -} - -// SetCertificate sets the Certificate field's value. -func (s *APNSChannelRequest) SetCertificate(v string) *APNSChannelRequest { - s.Certificate = &v - return s -} - -// SetDefaultAuthenticationMethod sets the DefaultAuthenticationMethod field's value. -func (s *APNSChannelRequest) SetDefaultAuthenticationMethod(v string) *APNSChannelRequest { - s.DefaultAuthenticationMethod = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *APNSChannelRequest) SetEnabled(v bool) *APNSChannelRequest { - s.Enabled = &v - return s -} - -// SetPrivateKey sets the PrivateKey field's value. -func (s *APNSChannelRequest) SetPrivateKey(v string) *APNSChannelRequest { - s.PrivateKey = &v - return s -} - -// SetTeamId sets the TeamId field's value. -func (s *APNSChannelRequest) SetTeamId(v string) *APNSChannelRequest { - s.TeamId = &v - return s -} - -// SetTokenKey sets the TokenKey field's value. -func (s *APNSChannelRequest) SetTokenKey(v string) *APNSChannelRequest { - s.TokenKey = &v - return s -} - -// SetTokenKeyId sets the TokenKeyId field's value. -func (s *APNSChannelRequest) SetTokenKeyId(v string) *APNSChannelRequest { - s.TokenKeyId = &v - return s -} - // Apple Distribution Push Notification Service channel definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSChannelResponse type APNSChannelResponse struct { @@ -3412,78 +3190,6 @@ func (s APNSChannelResponse) GoString() string { return s.String() } -// SetApplicationId sets the ApplicationId field's value. -func (s *APNSChannelResponse) SetApplicationId(v string) *APNSChannelResponse { - s.ApplicationId = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *APNSChannelResponse) SetCreationDate(v string) *APNSChannelResponse { - s.CreationDate = &v - return s -} - -// SetDefaultAuthenticationMethod sets the DefaultAuthenticationMethod field's value. -func (s *APNSChannelResponse) SetDefaultAuthenticationMethod(v string) *APNSChannelResponse { - s.DefaultAuthenticationMethod = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *APNSChannelResponse) SetEnabled(v bool) *APNSChannelResponse { - s.Enabled = &v - return s -} - -// SetHasCredential sets the HasCredential field's value. -func (s *APNSChannelResponse) SetHasCredential(v bool) *APNSChannelResponse { - s.HasCredential = &v - return s -} - -// SetHasTokenKey sets the HasTokenKey field's value. -func (s *APNSChannelResponse) SetHasTokenKey(v bool) *APNSChannelResponse { - s.HasTokenKey = &v - return s -} - -// SetId sets the Id field's value. -func (s *APNSChannelResponse) SetId(v string) *APNSChannelResponse { - s.Id = &v - return s -} - -// SetIsArchived sets the IsArchived field's value. -func (s *APNSChannelResponse) SetIsArchived(v bool) *APNSChannelResponse { - s.IsArchived = &v - return s -} - -// SetLastModifiedBy sets the LastModifiedBy field's value. -func (s *APNSChannelResponse) SetLastModifiedBy(v string) *APNSChannelResponse { - s.LastModifiedBy = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *APNSChannelResponse) SetLastModifiedDate(v string) *APNSChannelResponse { - s.LastModifiedDate = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *APNSChannelResponse) SetPlatform(v string) *APNSChannelResponse { - s.Platform = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *APNSChannelResponse) SetVersion(v int64) *APNSChannelResponse { - s.Version = &v - return s -} - // APNS Message. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSMessage type APNSMessage struct { @@ -3573,108 +3279,6 @@ func (s APNSMessage) GoString() string { return s.String() } -// SetAction sets the Action field's value. -func (s *APNSMessage) SetAction(v Action) *APNSMessage { - s.Action = v - return s -} - -// SetBadge sets the Badge field's value. -func (s *APNSMessage) SetBadge(v int64) *APNSMessage { - s.Badge = &v - return s -} - -// SetBody sets the Body field's value. -func (s *APNSMessage) SetBody(v string) *APNSMessage { - s.Body = &v - return s -} - -// SetCategory sets the Category field's value. -func (s *APNSMessage) SetCategory(v string) *APNSMessage { - s.Category = &v - return s -} - -// SetCollapseId sets the CollapseId field's value. -func (s *APNSMessage) SetCollapseId(v string) *APNSMessage { - s.CollapseId = &v - return s -} - -// SetData sets the Data field's value. -func (s *APNSMessage) SetData(v map[string]string) *APNSMessage { - s.Data = v - return s -} - -// SetMediaUrl sets the MediaUrl field's value. -func (s *APNSMessage) SetMediaUrl(v string) *APNSMessage { - s.MediaUrl = &v - return s -} - -// SetPreferredAuthenticationMethod sets the PreferredAuthenticationMethod field's value. -func (s *APNSMessage) SetPreferredAuthenticationMethod(v string) *APNSMessage { - s.PreferredAuthenticationMethod = &v - return s -} - -// SetPriority sets the Priority field's value. -func (s *APNSMessage) SetPriority(v string) *APNSMessage { - s.Priority = &v - return s -} - -// SetRawContent sets the RawContent field's value. -func (s *APNSMessage) SetRawContent(v string) *APNSMessage { - s.RawContent = &v - return s -} - -// SetSilentPush sets the SilentPush field's value. -func (s *APNSMessage) SetSilentPush(v bool) *APNSMessage { - s.SilentPush = &v - return s -} - -// SetSound sets the Sound field's value. -func (s *APNSMessage) SetSound(v string) *APNSMessage { - s.Sound = &v - return s -} - -// SetSubstitutions sets the Substitutions field's value. -func (s *APNSMessage) SetSubstitutions(v map[string][]string) *APNSMessage { - s.Substitutions = v - return s -} - -// SetThreadId sets the ThreadId field's value. -func (s *APNSMessage) SetThreadId(v string) *APNSMessage { - s.ThreadId = &v - return s -} - -// SetTimeToLive sets the TimeToLive field's value. -func (s *APNSMessage) SetTimeToLive(v int64) *APNSMessage { - s.TimeToLive = &v - return s -} - -// SetTitle sets the Title field's value. -func (s *APNSMessage) SetTitle(v string) *APNSMessage { - s.Title = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *APNSMessage) SetUrl(v string) *APNSMessage { - s.Url = &v - return s -} - // Apple Development Push Notification Service channel definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSSandboxChannelRequest type APNSSandboxChannelRequest struct { @@ -3715,54 +3319,6 @@ func (s APNSSandboxChannelRequest) GoString() string { return s.String() } -// SetBundleId sets the BundleId field's value. -func (s *APNSSandboxChannelRequest) SetBundleId(v string) *APNSSandboxChannelRequest { - s.BundleId = &v - return s -} - -// SetCertificate sets the Certificate field's value. -func (s *APNSSandboxChannelRequest) SetCertificate(v string) *APNSSandboxChannelRequest { - s.Certificate = &v - return s -} - -// SetDefaultAuthenticationMethod sets the DefaultAuthenticationMethod field's value. -func (s *APNSSandboxChannelRequest) SetDefaultAuthenticationMethod(v string) *APNSSandboxChannelRequest { - s.DefaultAuthenticationMethod = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *APNSSandboxChannelRequest) SetEnabled(v bool) *APNSSandboxChannelRequest { - s.Enabled = &v - return s -} - -// SetPrivateKey sets the PrivateKey field's value. -func (s *APNSSandboxChannelRequest) SetPrivateKey(v string) *APNSSandboxChannelRequest { - s.PrivateKey = &v - return s -} - -// SetTeamId sets the TeamId field's value. -func (s *APNSSandboxChannelRequest) SetTeamId(v string) *APNSSandboxChannelRequest { - s.TeamId = &v - return s -} - -// SetTokenKey sets the TokenKey field's value. -func (s *APNSSandboxChannelRequest) SetTokenKey(v string) *APNSSandboxChannelRequest { - s.TokenKey = &v - return s -} - -// SetTokenKeyId sets the TokenKeyId field's value. -func (s *APNSSandboxChannelRequest) SetTokenKeyId(v string) *APNSSandboxChannelRequest { - s.TokenKeyId = &v - return s -} - // Apple Development Push Notification Service channel definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSSandboxChannelResponse type APNSSandboxChannelResponse struct { @@ -3815,78 +3371,6 @@ func (s APNSSandboxChannelResponse) GoString() string { return s.String() } -// SetApplicationId sets the ApplicationId field's value. -func (s *APNSSandboxChannelResponse) SetApplicationId(v string) *APNSSandboxChannelResponse { - s.ApplicationId = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *APNSSandboxChannelResponse) SetCreationDate(v string) *APNSSandboxChannelResponse { - s.CreationDate = &v - return s -} - -// SetDefaultAuthenticationMethod sets the DefaultAuthenticationMethod field's value. -func (s *APNSSandboxChannelResponse) SetDefaultAuthenticationMethod(v string) *APNSSandboxChannelResponse { - s.DefaultAuthenticationMethod = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *APNSSandboxChannelResponse) SetEnabled(v bool) *APNSSandboxChannelResponse { - s.Enabled = &v - return s -} - -// SetHasCredential sets the HasCredential field's value. -func (s *APNSSandboxChannelResponse) SetHasCredential(v bool) *APNSSandboxChannelResponse { - s.HasCredential = &v - return s -} - -// SetHasTokenKey sets the HasTokenKey field's value. -func (s *APNSSandboxChannelResponse) SetHasTokenKey(v bool) *APNSSandboxChannelResponse { - s.HasTokenKey = &v - return s -} - -// SetId sets the Id field's value. -func (s *APNSSandboxChannelResponse) SetId(v string) *APNSSandboxChannelResponse { - s.Id = &v - return s -} - -// SetIsArchived sets the IsArchived field's value. -func (s *APNSSandboxChannelResponse) SetIsArchived(v bool) *APNSSandboxChannelResponse { - s.IsArchived = &v - return s -} - -// SetLastModifiedBy sets the LastModifiedBy field's value. -func (s *APNSSandboxChannelResponse) SetLastModifiedBy(v string) *APNSSandboxChannelResponse { - s.LastModifiedBy = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *APNSSandboxChannelResponse) SetLastModifiedDate(v string) *APNSSandboxChannelResponse { - s.LastModifiedDate = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *APNSSandboxChannelResponse) SetPlatform(v string) *APNSSandboxChannelResponse { - s.Platform = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *APNSSandboxChannelResponse) SetVersion(v int64) *APNSSandboxChannelResponse { - s.Version = &v - return s -} - // Apple VOIP Push Notification Service channel definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSVoipChannelRequest type APNSVoipChannelRequest struct { @@ -3927,54 +3411,6 @@ func (s APNSVoipChannelRequest) GoString() string { return s.String() } -// SetBundleId sets the BundleId field's value. -func (s *APNSVoipChannelRequest) SetBundleId(v string) *APNSVoipChannelRequest { - s.BundleId = &v - return s -} - -// SetCertificate sets the Certificate field's value. -func (s *APNSVoipChannelRequest) SetCertificate(v string) *APNSVoipChannelRequest { - s.Certificate = &v - return s -} - -// SetDefaultAuthenticationMethod sets the DefaultAuthenticationMethod field's value. -func (s *APNSVoipChannelRequest) SetDefaultAuthenticationMethod(v string) *APNSVoipChannelRequest { - s.DefaultAuthenticationMethod = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *APNSVoipChannelRequest) SetEnabled(v bool) *APNSVoipChannelRequest { - s.Enabled = &v - return s -} - -// SetPrivateKey sets the PrivateKey field's value. -func (s *APNSVoipChannelRequest) SetPrivateKey(v string) *APNSVoipChannelRequest { - s.PrivateKey = &v - return s -} - -// SetTeamId sets the TeamId field's value. -func (s *APNSVoipChannelRequest) SetTeamId(v string) *APNSVoipChannelRequest { - s.TeamId = &v - return s -} - -// SetTokenKey sets the TokenKey field's value. -func (s *APNSVoipChannelRequest) SetTokenKey(v string) *APNSVoipChannelRequest { - s.TokenKey = &v - return s -} - -// SetTokenKeyId sets the TokenKeyId field's value. -func (s *APNSVoipChannelRequest) SetTokenKeyId(v string) *APNSVoipChannelRequest { - s.TokenKeyId = &v - return s -} - // Apple VOIP Push Notification Service channel definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSVoipChannelResponse type APNSVoipChannelResponse struct { @@ -4027,78 +3463,6 @@ func (s APNSVoipChannelResponse) GoString() string { return s.String() } -// SetApplicationId sets the ApplicationId field's value. -func (s *APNSVoipChannelResponse) SetApplicationId(v string) *APNSVoipChannelResponse { - s.ApplicationId = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *APNSVoipChannelResponse) SetCreationDate(v string) *APNSVoipChannelResponse { - s.CreationDate = &v - return s -} - -// SetDefaultAuthenticationMethod sets the DefaultAuthenticationMethod field's value. -func (s *APNSVoipChannelResponse) SetDefaultAuthenticationMethod(v string) *APNSVoipChannelResponse { - s.DefaultAuthenticationMethod = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *APNSVoipChannelResponse) SetEnabled(v bool) *APNSVoipChannelResponse { - s.Enabled = &v - return s -} - -// SetHasCredential sets the HasCredential field's value. -func (s *APNSVoipChannelResponse) SetHasCredential(v bool) *APNSVoipChannelResponse { - s.HasCredential = &v - return s -} - -// SetHasTokenKey sets the HasTokenKey field's value. -func (s *APNSVoipChannelResponse) SetHasTokenKey(v bool) *APNSVoipChannelResponse { - s.HasTokenKey = &v - return s -} - -// SetId sets the Id field's value. -func (s *APNSVoipChannelResponse) SetId(v string) *APNSVoipChannelResponse { - s.Id = &v - return s -} - -// SetIsArchived sets the IsArchived field's value. -func (s *APNSVoipChannelResponse) SetIsArchived(v bool) *APNSVoipChannelResponse { - s.IsArchived = &v - return s -} - -// SetLastModifiedBy sets the LastModifiedBy field's value. -func (s *APNSVoipChannelResponse) SetLastModifiedBy(v string) *APNSVoipChannelResponse { - s.LastModifiedBy = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *APNSVoipChannelResponse) SetLastModifiedDate(v string) *APNSVoipChannelResponse { - s.LastModifiedDate = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *APNSVoipChannelResponse) SetPlatform(v string) *APNSVoipChannelResponse { - s.Platform = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *APNSVoipChannelResponse) SetVersion(v int64) *APNSVoipChannelResponse { - s.Version = &v - return s -} - // Apple VOIP Developer Push Notification Service channel definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSVoipSandboxChannelRequest type APNSVoipSandboxChannelRequest struct { @@ -4139,54 +3503,6 @@ func (s APNSVoipSandboxChannelRequest) GoString() string { return s.String() } -// SetBundleId sets the BundleId field's value. -func (s *APNSVoipSandboxChannelRequest) SetBundleId(v string) *APNSVoipSandboxChannelRequest { - s.BundleId = &v - return s -} - -// SetCertificate sets the Certificate field's value. -func (s *APNSVoipSandboxChannelRequest) SetCertificate(v string) *APNSVoipSandboxChannelRequest { - s.Certificate = &v - return s -} - -// SetDefaultAuthenticationMethod sets the DefaultAuthenticationMethod field's value. -func (s *APNSVoipSandboxChannelRequest) SetDefaultAuthenticationMethod(v string) *APNSVoipSandboxChannelRequest { - s.DefaultAuthenticationMethod = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *APNSVoipSandboxChannelRequest) SetEnabled(v bool) *APNSVoipSandboxChannelRequest { - s.Enabled = &v - return s -} - -// SetPrivateKey sets the PrivateKey field's value. -func (s *APNSVoipSandboxChannelRequest) SetPrivateKey(v string) *APNSVoipSandboxChannelRequest { - s.PrivateKey = &v - return s -} - -// SetTeamId sets the TeamId field's value. -func (s *APNSVoipSandboxChannelRequest) SetTeamId(v string) *APNSVoipSandboxChannelRequest { - s.TeamId = &v - return s -} - -// SetTokenKey sets the TokenKey field's value. -func (s *APNSVoipSandboxChannelRequest) SetTokenKey(v string) *APNSVoipSandboxChannelRequest { - s.TokenKey = &v - return s -} - -// SetTokenKeyId sets the TokenKeyId field's value. -func (s *APNSVoipSandboxChannelRequest) SetTokenKeyId(v string) *APNSVoipSandboxChannelRequest { - s.TokenKeyId = &v - return s -} - // Apple VOIP Developer Push Notification Service channel definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSVoipSandboxChannelResponse type APNSVoipSandboxChannelResponse struct { @@ -4239,78 +3555,6 @@ func (s APNSVoipSandboxChannelResponse) GoString() string { return s.String() } -// SetApplicationId sets the ApplicationId field's value. -func (s *APNSVoipSandboxChannelResponse) SetApplicationId(v string) *APNSVoipSandboxChannelResponse { - s.ApplicationId = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *APNSVoipSandboxChannelResponse) SetCreationDate(v string) *APNSVoipSandboxChannelResponse { - s.CreationDate = &v - return s -} - -// SetDefaultAuthenticationMethod sets the DefaultAuthenticationMethod field's value. -func (s *APNSVoipSandboxChannelResponse) SetDefaultAuthenticationMethod(v string) *APNSVoipSandboxChannelResponse { - s.DefaultAuthenticationMethod = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *APNSVoipSandboxChannelResponse) SetEnabled(v bool) *APNSVoipSandboxChannelResponse { - s.Enabled = &v - return s -} - -// SetHasCredential sets the HasCredential field's value. -func (s *APNSVoipSandboxChannelResponse) SetHasCredential(v bool) *APNSVoipSandboxChannelResponse { - s.HasCredential = &v - return s -} - -// SetHasTokenKey sets the HasTokenKey field's value. -func (s *APNSVoipSandboxChannelResponse) SetHasTokenKey(v bool) *APNSVoipSandboxChannelResponse { - s.HasTokenKey = &v - return s -} - -// SetId sets the Id field's value. -func (s *APNSVoipSandboxChannelResponse) SetId(v string) *APNSVoipSandboxChannelResponse { - s.Id = &v - return s -} - -// SetIsArchived sets the IsArchived field's value. -func (s *APNSVoipSandboxChannelResponse) SetIsArchived(v bool) *APNSVoipSandboxChannelResponse { - s.IsArchived = &v - return s -} - -// SetLastModifiedBy sets the LastModifiedBy field's value. -func (s *APNSVoipSandboxChannelResponse) SetLastModifiedBy(v string) *APNSVoipSandboxChannelResponse { - s.LastModifiedBy = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *APNSVoipSandboxChannelResponse) SetLastModifiedDate(v string) *APNSVoipSandboxChannelResponse { - s.LastModifiedDate = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *APNSVoipSandboxChannelResponse) SetPlatform(v string) *APNSVoipSandboxChannelResponse { - s.Platform = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *APNSVoipSandboxChannelResponse) SetVersion(v int64) *APNSVoipSandboxChannelResponse { - s.Version = &v - return s -} - // Activities for campaign. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ActivitiesResponse type ActivitiesResponse struct { @@ -4330,12 +3574,6 @@ func (s ActivitiesResponse) GoString() string { return s.String() } -// SetItem sets the Item field's value. -func (s *ActivitiesResponse) SetItem(v []ActivityResponse) *ActivitiesResponse { - s.Item = v - return s -} - // Activity definition // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ActivityResponse type ActivityResponse struct { @@ -4394,84 +3632,6 @@ func (s ActivityResponse) GoString() string { return s.String() } -// SetApplicationId sets the ApplicationId field's value. -func (s *ActivityResponse) SetApplicationId(v string) *ActivityResponse { - s.ApplicationId = &v - return s -} - -// SetCampaignId sets the CampaignId field's value. -func (s *ActivityResponse) SetCampaignId(v string) *ActivityResponse { - s.CampaignId = &v - return s -} - -// SetEnd sets the End field's value. -func (s *ActivityResponse) SetEnd(v string) *ActivityResponse { - s.End = &v - return s -} - -// SetId sets the Id field's value. -func (s *ActivityResponse) SetId(v string) *ActivityResponse { - s.Id = &v - return s -} - -// SetResult sets the Result field's value. -func (s *ActivityResponse) SetResult(v string) *ActivityResponse { - s.Result = &v - return s -} - -// SetScheduledStart sets the ScheduledStart field's value. -func (s *ActivityResponse) SetScheduledStart(v string) *ActivityResponse { - s.ScheduledStart = &v - return s -} - -// SetStart sets the Start field's value. -func (s *ActivityResponse) SetStart(v string) *ActivityResponse { - s.Start = &v - return s -} - -// SetState sets the State field's value. -func (s *ActivityResponse) SetState(v string) *ActivityResponse { - s.State = &v - return s -} - -// SetSuccessfulEndpointCount sets the SuccessfulEndpointCount field's value. -func (s *ActivityResponse) SetSuccessfulEndpointCount(v int64) *ActivityResponse { - s.SuccessfulEndpointCount = &v - return s -} - -// SetTimezonesCompletedCount sets the TimezonesCompletedCount field's value. -func (s *ActivityResponse) SetTimezonesCompletedCount(v int64) *ActivityResponse { - s.TimezonesCompletedCount = &v - return s -} - -// SetTimezonesTotalCount sets the TimezonesTotalCount field's value. -func (s *ActivityResponse) SetTimezonesTotalCount(v int64) *ActivityResponse { - s.TimezonesTotalCount = &v - return s -} - -// SetTotalEndpointCount sets the TotalEndpointCount field's value. -func (s *ActivityResponse) SetTotalEndpointCount(v int64) *ActivityResponse { - s.TotalEndpointCount = &v - return s -} - -// SetTreatmentId sets the TreatmentId field's value. -func (s *ActivityResponse) SetTreatmentId(v string) *ActivityResponse { - s.TreatmentId = &v - return s -} - // Address configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/AddressConfiguration type AddressConfiguration struct { @@ -4505,42 +3665,6 @@ func (s AddressConfiguration) GoString() string { return s.String() } -// SetBodyOverride sets the BodyOverride field's value. -func (s *AddressConfiguration) SetBodyOverride(v string) *AddressConfiguration { - s.BodyOverride = &v - return s -} - -// SetChannelType sets the ChannelType field's value. -func (s *AddressConfiguration) SetChannelType(v ChannelType) *AddressConfiguration { - s.ChannelType = v - return s -} - -// SetContext sets the Context field's value. -func (s *AddressConfiguration) SetContext(v map[string]string) *AddressConfiguration { - s.Context = v - return s -} - -// SetRawContent sets the RawContent field's value. -func (s *AddressConfiguration) SetRawContent(v string) *AddressConfiguration { - s.RawContent = &v - return s -} - -// SetSubstitutions sets the Substitutions field's value. -func (s *AddressConfiguration) SetSubstitutions(v map[string][]string) *AddressConfiguration { - s.Substitutions = v - return s -} - -// SetTitleOverride sets the TitleOverride field's value. -func (s *AddressConfiguration) SetTitleOverride(v string) *AddressConfiguration { - s.TitleOverride = &v - return s -} - // Application Response. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ApplicationResponse type ApplicationResponse struct { @@ -4563,18 +3687,6 @@ func (s ApplicationResponse) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *ApplicationResponse) SetId(v string) *ApplicationResponse { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *ApplicationResponse) SetName(v string) *ApplicationResponse { - s.Name = &v - return s -} - // Application settings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ApplicationSettingsResource type ApplicationSettingsResource struct { @@ -4607,30 +3719,6 @@ func (s ApplicationSettingsResource) GoString() string { return s.String() } -// SetApplicationId sets the ApplicationId field's value. -func (s *ApplicationSettingsResource) SetApplicationId(v string) *ApplicationSettingsResource { - s.ApplicationId = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *ApplicationSettingsResource) SetLastModifiedDate(v string) *ApplicationSettingsResource { - s.LastModifiedDate = &v - return s -} - -// SetLimits sets the Limits field's value. -func (s *ApplicationSettingsResource) SetLimits(v *CampaignLimits) *ApplicationSettingsResource { - s.Limits = v - return s -} - -// SetQuietTime sets the QuietTime field's value. -func (s *ApplicationSettingsResource) SetQuietTime(v *QuietTime) *ApplicationSettingsResource { - s.QuietTime = v - return s -} - // Get Applications Result. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ApplicationsResponse type ApplicationsResponse struct { @@ -4654,18 +3742,6 @@ func (s ApplicationsResponse) GoString() string { return s.String() } -// SetItem sets the Item field's value. -func (s *ApplicationsResponse) SetItem(v []ApplicationResponse) *ApplicationsResponse { - s.Item = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ApplicationsResponse) SetNextToken(v string) *ApplicationsResponse { - s.NextToken = &v - return s -} - // Custom attibute dimension // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/AttributeDimension type AttributeDimension struct { @@ -4689,18 +3765,6 @@ func (s AttributeDimension) GoString() string { return s.String() } -// SetAttributeType sets the AttributeType field's value. -func (s *AttributeDimension) SetAttributeType(v AttributeType) *AttributeDimension { - s.AttributeType = v - return s -} - -// SetValues sets the Values field's value. -func (s *AttributeDimension) SetValues(v []string) *AttributeDimension { - s.Values = v - return s -} - // Baidu Cloud Push credentials // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/BaiduChannelRequest type BaiduChannelRequest struct { @@ -4726,24 +3790,6 @@ func (s BaiduChannelRequest) GoString() string { return s.String() } -// SetApiKey sets the ApiKey field's value. -func (s *BaiduChannelRequest) SetApiKey(v string) *BaiduChannelRequest { - s.ApiKey = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *BaiduChannelRequest) SetEnabled(v bool) *BaiduChannelRequest { - s.Enabled = &v - return s -} - -// SetSecretKey sets the SecretKey field's value. -func (s *BaiduChannelRequest) SetSecretKey(v string) *BaiduChannelRequest { - s.SecretKey = &v - return s -} - // Baidu Cloud Messaging channel definition // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/BaiduChannelResponse type BaiduChannelResponse struct { @@ -4793,72 +3839,6 @@ func (s BaiduChannelResponse) GoString() string { return s.String() } -// SetApplicationId sets the ApplicationId field's value. -func (s *BaiduChannelResponse) SetApplicationId(v string) *BaiduChannelResponse { - s.ApplicationId = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *BaiduChannelResponse) SetCreationDate(v string) *BaiduChannelResponse { - s.CreationDate = &v - return s -} - -// SetCredential sets the Credential field's value. -func (s *BaiduChannelResponse) SetCredential(v string) *BaiduChannelResponse { - s.Credential = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *BaiduChannelResponse) SetEnabled(v bool) *BaiduChannelResponse { - s.Enabled = &v - return s -} - -// SetHasCredential sets the HasCredential field's value. -func (s *BaiduChannelResponse) SetHasCredential(v bool) *BaiduChannelResponse { - s.HasCredential = &v - return s -} - -// SetId sets the Id field's value. -func (s *BaiduChannelResponse) SetId(v string) *BaiduChannelResponse { - s.Id = &v - return s -} - -// SetIsArchived sets the IsArchived field's value. -func (s *BaiduChannelResponse) SetIsArchived(v bool) *BaiduChannelResponse { - s.IsArchived = &v - return s -} - -// SetLastModifiedBy sets the LastModifiedBy field's value. -func (s *BaiduChannelResponse) SetLastModifiedBy(v string) *BaiduChannelResponse { - s.LastModifiedBy = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *BaiduChannelResponse) SetLastModifiedDate(v string) *BaiduChannelResponse { - s.LastModifiedDate = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *BaiduChannelResponse) SetPlatform(v string) *BaiduChannelResponse { - s.Platform = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *BaiduChannelResponse) SetVersion(v int64) *BaiduChannelResponse { - s.Version = &v - return s -} - // Baidu Message. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/BaiduMessage type BaiduMessage struct { @@ -4926,84 +3906,6 @@ func (s BaiduMessage) GoString() string { return s.String() } -// SetAction sets the Action field's value. -func (s *BaiduMessage) SetAction(v Action) *BaiduMessage { - s.Action = v - return s -} - -// SetBody sets the Body field's value. -func (s *BaiduMessage) SetBody(v string) *BaiduMessage { - s.Body = &v - return s -} - -// SetData sets the Data field's value. -func (s *BaiduMessage) SetData(v map[string]string) *BaiduMessage { - s.Data = v - return s -} - -// SetIconReference sets the IconReference field's value. -func (s *BaiduMessage) SetIconReference(v string) *BaiduMessage { - s.IconReference = &v - return s -} - -// SetImageIconUrl sets the ImageIconUrl field's value. -func (s *BaiduMessage) SetImageIconUrl(v string) *BaiduMessage { - s.ImageIconUrl = &v - return s -} - -// SetImageUrl sets the ImageUrl field's value. -func (s *BaiduMessage) SetImageUrl(v string) *BaiduMessage { - s.ImageUrl = &v - return s -} - -// SetRawContent sets the RawContent field's value. -func (s *BaiduMessage) SetRawContent(v string) *BaiduMessage { - s.RawContent = &v - return s -} - -// SetSilentPush sets the SilentPush field's value. -func (s *BaiduMessage) SetSilentPush(v bool) *BaiduMessage { - s.SilentPush = &v - return s -} - -// SetSmallImageIconUrl sets the SmallImageIconUrl field's value. -func (s *BaiduMessage) SetSmallImageIconUrl(v string) *BaiduMessage { - s.SmallImageIconUrl = &v - return s -} - -// SetSound sets the Sound field's value. -func (s *BaiduMessage) SetSound(v string) *BaiduMessage { - s.Sound = &v - return s -} - -// SetSubstitutions sets the Substitutions field's value. -func (s *BaiduMessage) SetSubstitutions(v map[string][]string) *BaiduMessage { - s.Substitutions = v - return s -} - -// SetTitle sets the Title field's value. -func (s *BaiduMessage) SetTitle(v string) *BaiduMessage { - s.Title = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *BaiduMessage) SetUrl(v string) *BaiduMessage { - s.Url = &v - return s -} - // The email message configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignEmailMessage type CampaignEmailMessage struct { @@ -5025,36 +3927,12 @@ type CampaignEmailMessage struct { // String returns the string representation func (s CampaignEmailMessage) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s CampaignEmailMessage) GoString() string { - return s.String() -} - -// SetBody sets the Body field's value. -func (s *CampaignEmailMessage) SetBody(v string) *CampaignEmailMessage { - s.Body = &v - return s -} - -// SetFromAddress sets the FromAddress field's value. -func (s *CampaignEmailMessage) SetFromAddress(v string) *CampaignEmailMessage { - s.FromAddress = &v - return s -} - -// SetHtmlBody sets the HtmlBody field's value. -func (s *CampaignEmailMessage) SetHtmlBody(v string) *CampaignEmailMessage { - s.HtmlBody = &v - return s + return awsutil.Prettify(s) } -// SetTitle sets the Title field's value. -func (s *CampaignEmailMessage) SetTitle(v string) *CampaignEmailMessage { - s.Title = &v - return s +// GoString returns the string representation +func (s CampaignEmailMessage) GoString() string { + return s.String() } // Campaign Limits are used to limit the number of messages that can be sent @@ -5088,30 +3966,6 @@ func (s CampaignLimits) GoString() string { return s.String() } -// SetDaily sets the Daily field's value. -func (s *CampaignLimits) SetDaily(v int64) *CampaignLimits { - s.Daily = &v - return s -} - -// SetMaximumDuration sets the MaximumDuration field's value. -func (s *CampaignLimits) SetMaximumDuration(v int64) *CampaignLimits { - s.MaximumDuration = &v - return s -} - -// SetMessagesPerSecond sets the MessagesPerSecond field's value. -func (s *CampaignLimits) SetMessagesPerSecond(v int64) *CampaignLimits { - s.MessagesPerSecond = &v - return s -} - -// SetTotal sets the Total field's value. -func (s *CampaignLimits) SetTotal(v int64) *CampaignLimits { - s.Total = &v - return s -} - // Campaign definition // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignResponse type CampaignResponse struct { @@ -5189,120 +4043,6 @@ func (s CampaignResponse) GoString() string { return s.String() } -// SetAdditionalTreatments sets the AdditionalTreatments field's value. -func (s *CampaignResponse) SetAdditionalTreatments(v []TreatmentResource) *CampaignResponse { - s.AdditionalTreatments = v - return s -} - -// SetApplicationId sets the ApplicationId field's value. -func (s *CampaignResponse) SetApplicationId(v string) *CampaignResponse { - s.ApplicationId = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *CampaignResponse) SetCreationDate(v string) *CampaignResponse { - s.CreationDate = &v - return s -} - -// SetDefaultState sets the DefaultState field's value. -func (s *CampaignResponse) SetDefaultState(v *CampaignState) *CampaignResponse { - s.DefaultState = v - return s -} - -// SetDescription sets the Description field's value. -func (s *CampaignResponse) SetDescription(v string) *CampaignResponse { - s.Description = &v - return s -} - -// SetHoldoutPercent sets the HoldoutPercent field's value. -func (s *CampaignResponse) SetHoldoutPercent(v int64) *CampaignResponse { - s.HoldoutPercent = &v - return s -} - -// SetId sets the Id field's value. -func (s *CampaignResponse) SetId(v string) *CampaignResponse { - s.Id = &v - return s -} - -// SetIsPaused sets the IsPaused field's value. -func (s *CampaignResponse) SetIsPaused(v bool) *CampaignResponse { - s.IsPaused = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *CampaignResponse) SetLastModifiedDate(v string) *CampaignResponse { - s.LastModifiedDate = &v - return s -} - -// SetLimits sets the Limits field's value. -func (s *CampaignResponse) SetLimits(v *CampaignLimits) *CampaignResponse { - s.Limits = v - return s -} - -// SetMessageConfiguration sets the MessageConfiguration field's value. -func (s *CampaignResponse) SetMessageConfiguration(v *MessageConfiguration) *CampaignResponse { - s.MessageConfiguration = v - return s -} - -// SetName sets the Name field's value. -func (s *CampaignResponse) SetName(v string) *CampaignResponse { - s.Name = &v - return s -} - -// SetSchedule sets the Schedule field's value. -func (s *CampaignResponse) SetSchedule(v *Schedule) *CampaignResponse { - s.Schedule = v - return s -} - -// SetSegmentId sets the SegmentId field's value. -func (s *CampaignResponse) SetSegmentId(v string) *CampaignResponse { - s.SegmentId = &v - return s -} - -// SetSegmentVersion sets the SegmentVersion field's value. -func (s *CampaignResponse) SetSegmentVersion(v int64) *CampaignResponse { - s.SegmentVersion = &v - return s -} - -// SetState sets the State field's value. -func (s *CampaignResponse) SetState(v *CampaignState) *CampaignResponse { - s.State = v - return s -} - -// SetTreatmentDescription sets the TreatmentDescription field's value. -func (s *CampaignResponse) SetTreatmentDescription(v string) *CampaignResponse { - s.TreatmentDescription = &v - return s -} - -// SetTreatmentName sets the TreatmentName field's value. -func (s *CampaignResponse) SetTreatmentName(v string) *CampaignResponse { - s.TreatmentName = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *CampaignResponse) SetVersion(v int64) *CampaignResponse { - s.Version = &v - return s -} - // SMS message configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignSmsMessage type CampaignSmsMessage struct { @@ -5328,24 +4068,6 @@ func (s CampaignSmsMessage) GoString() string { return s.String() } -// SetBody sets the Body field's value. -func (s *CampaignSmsMessage) SetBody(v string) *CampaignSmsMessage { - s.Body = &v - return s -} - -// SetMessageType sets the MessageType field's value. -func (s *CampaignSmsMessage) SetMessageType(v MessageType) *CampaignSmsMessage { - s.MessageType = v - return s -} - -// SetSenderId sets the SenderId field's value. -func (s *CampaignSmsMessage) SetSenderId(v string) *CampaignSmsMessage { - s.SenderId = &v - return s -} - // State of the Campaign // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignState type CampaignState struct { @@ -5367,12 +4089,6 @@ func (s CampaignState) GoString() string { return s.String() } -// SetCampaignStatus sets the CampaignStatus field's value. -func (s *CampaignState) SetCampaignStatus(v CampaignStatus) *CampaignState { - s.CampaignStatus = v - return s -} - // List of available campaigns. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignsResponse type CampaignsResponse struct { @@ -5396,18 +4112,6 @@ func (s CampaignsResponse) GoString() string { return s.String() } -// SetItem sets the Item field's value. -func (s *CampaignsResponse) SetItem(v []CampaignResponse) *CampaignsResponse { - s.Item = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *CampaignsResponse) SetNextToken(v string) *CampaignsResponse { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateAppRequest type CreateAppInput struct { _ struct{} `type:"structure" payload:"CreateApplicationRequest"` @@ -5442,12 +4146,6 @@ func (s *CreateAppInput) Validate() error { return nil } -// SetCreateApplicationRequest sets the CreateApplicationRequest field's value. -func (s *CreateAppInput) SetCreateApplicationRequest(v *CreateApplicationRequest) *CreateAppInput { - s.CreateApplicationRequest = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateAppResponse type CreateAppOutput struct { _ struct{} `type:"structure" payload:"ApplicationResponse"` @@ -5475,12 +4173,6 @@ func (s CreateAppOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationResponse sets the ApplicationResponse field's value. -func (s *CreateAppOutput) SetApplicationResponse(v *ApplicationResponse) *CreateAppOutput { - s.ApplicationResponse = v - return s -} - // Application Request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateApplicationRequest type CreateApplicationRequest struct { @@ -5500,12 +4192,6 @@ func (s CreateApplicationRequest) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *CreateApplicationRequest) SetName(v string) *CreateApplicationRequest { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateCampaignRequest type CreateCampaignInput struct { _ struct{} `type:"structure" payload:"WriteCampaignRequest"` @@ -5547,18 +4233,6 @@ func (s *CreateCampaignInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *CreateCampaignInput) SetApplicationId(v string) *CreateCampaignInput { - s.ApplicationId = &v - return s -} - -// SetWriteCampaignRequest sets the WriteCampaignRequest field's value. -func (s *CreateCampaignInput) SetWriteCampaignRequest(v *WriteCampaignRequest) *CreateCampaignInput { - s.WriteCampaignRequest = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateCampaignResponse type CreateCampaignOutput struct { _ struct{} `type:"structure" payload:"CampaignResponse"` @@ -5586,12 +4260,6 @@ func (s CreateCampaignOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCampaignResponse sets the CampaignResponse field's value. -func (s *CreateCampaignOutput) SetCampaignResponse(v *CampaignResponse) *CreateCampaignOutput { - s.CampaignResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateImportJobRequest type CreateImportJobInput struct { _ struct{} `type:"structure" payload:"ImportJobRequest"` @@ -5631,18 +4299,6 @@ func (s *CreateImportJobInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *CreateImportJobInput) SetApplicationId(v string) *CreateImportJobInput { - s.ApplicationId = &v - return s -} - -// SetImportJobRequest sets the ImportJobRequest field's value. -func (s *CreateImportJobInput) SetImportJobRequest(v *ImportJobRequest) *CreateImportJobInput { - s.ImportJobRequest = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateImportJobResponse type CreateImportJobOutput struct { _ struct{} `type:"structure" payload:"ImportJobResponse"` @@ -5668,12 +4324,6 @@ func (s CreateImportJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImportJobResponse sets the ImportJobResponse field's value. -func (s *CreateImportJobOutput) SetImportJobResponse(v *ImportJobResponse) *CreateImportJobOutput { - s.ImportJobResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateSegmentRequest type CreateSegmentInput struct { _ struct{} `type:"structure" payload:"WriteSegmentRequest"` @@ -5715,18 +4365,6 @@ func (s *CreateSegmentInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *CreateSegmentInput) SetApplicationId(v string) *CreateSegmentInput { - s.ApplicationId = &v - return s -} - -// SetWriteSegmentRequest sets the WriteSegmentRequest field's value. -func (s *CreateSegmentInput) SetWriteSegmentRequest(v *WriteSegmentRequest) *CreateSegmentInput { - s.WriteSegmentRequest = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateSegmentResponse type CreateSegmentOutput struct { _ struct{} `type:"structure" payload:"SegmentResponse"` @@ -5754,12 +4392,6 @@ func (s CreateSegmentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSegmentResponse sets the SegmentResponse field's value. -func (s *CreateSegmentOutput) SetSegmentResponse(v *SegmentResponse) *CreateSegmentOutput { - s.SegmentResponse = v - return s -} - // Default Message across push notification, email, and sms. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DefaultMessage type DefaultMessage struct { @@ -5781,18 +4413,6 @@ func (s DefaultMessage) GoString() string { return s.String() } -// SetBody sets the Body field's value. -func (s *DefaultMessage) SetBody(v string) *DefaultMessage { - s.Body = &v - return s -} - -// SetSubstitutions sets the Substitutions field's value. -func (s *DefaultMessage) SetSubstitutions(v map[string][]string) *DefaultMessage { - s.Substitutions = v - return s -} - // Default Push Notification Message. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DefaultPushNotificationMessage type DefaultPushNotificationMessage struct { @@ -5836,48 +4456,6 @@ func (s DefaultPushNotificationMessage) GoString() string { return s.String() } -// SetAction sets the Action field's value. -func (s *DefaultPushNotificationMessage) SetAction(v Action) *DefaultPushNotificationMessage { - s.Action = v - return s -} - -// SetBody sets the Body field's value. -func (s *DefaultPushNotificationMessage) SetBody(v string) *DefaultPushNotificationMessage { - s.Body = &v - return s -} - -// SetData sets the Data field's value. -func (s *DefaultPushNotificationMessage) SetData(v map[string]string) *DefaultPushNotificationMessage { - s.Data = v - return s -} - -// SetSilentPush sets the SilentPush field's value. -func (s *DefaultPushNotificationMessage) SetSilentPush(v bool) *DefaultPushNotificationMessage { - s.SilentPush = &v - return s -} - -// SetSubstitutions sets the Substitutions field's value. -func (s *DefaultPushNotificationMessage) SetSubstitutions(v map[string][]string) *DefaultPushNotificationMessage { - s.Substitutions = v - return s -} - -// SetTitle sets the Title field's value. -func (s *DefaultPushNotificationMessage) SetTitle(v string) *DefaultPushNotificationMessage { - s.Title = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *DefaultPushNotificationMessage) SetUrl(v string) *DefaultPushNotificationMessage { - s.Url = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteAdmChannelRequest type DeleteAdmChannelInput struct { _ struct{} `type:"structure"` @@ -5910,12 +4488,6 @@ func (s *DeleteAdmChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *DeleteAdmChannelInput) SetApplicationId(v string) *DeleteAdmChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteAdmChannelResponse type DeleteAdmChannelOutput struct { _ struct{} `type:"structure" payload:"ADMChannelResponse"` @@ -5943,12 +4515,6 @@ func (s DeleteAdmChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetADMChannelResponse sets the ADMChannelResponse field's value. -func (s *DeleteAdmChannelOutput) SetADMChannelResponse(v *ADMChannelResponse) *DeleteAdmChannelOutput { - s.ADMChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsChannelRequest type DeleteApnsChannelInput struct { _ struct{} `type:"structure"` @@ -5981,12 +4547,6 @@ func (s *DeleteApnsChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *DeleteApnsChannelInput) SetApplicationId(v string) *DeleteApnsChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsChannelResponse type DeleteApnsChannelOutput struct { _ struct{} `type:"structure" payload:"APNSChannelResponse"` @@ -6014,12 +4574,6 @@ func (s DeleteApnsChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAPNSChannelResponse sets the APNSChannelResponse field's value. -func (s *DeleteApnsChannelOutput) SetAPNSChannelResponse(v *APNSChannelResponse) *DeleteApnsChannelOutput { - s.APNSChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsSandboxChannelRequest type DeleteApnsSandboxChannelInput struct { _ struct{} `type:"structure"` @@ -6052,12 +4606,6 @@ func (s *DeleteApnsSandboxChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *DeleteApnsSandboxChannelInput) SetApplicationId(v string) *DeleteApnsSandboxChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsSandboxChannelResponse type DeleteApnsSandboxChannelOutput struct { _ struct{} `type:"structure" payload:"APNSSandboxChannelResponse"` @@ -6085,12 +4633,6 @@ func (s DeleteApnsSandboxChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAPNSSandboxChannelResponse sets the APNSSandboxChannelResponse field's value. -func (s *DeleteApnsSandboxChannelOutput) SetAPNSSandboxChannelResponse(v *APNSSandboxChannelResponse) *DeleteApnsSandboxChannelOutput { - s.APNSSandboxChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipChannelRequest type DeleteApnsVoipChannelInput struct { _ struct{} `type:"structure"` @@ -6123,12 +4665,6 @@ func (s *DeleteApnsVoipChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *DeleteApnsVoipChannelInput) SetApplicationId(v string) *DeleteApnsVoipChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipChannelResponse type DeleteApnsVoipChannelOutput struct { _ struct{} `type:"structure" payload:"APNSVoipChannelResponse"` @@ -6156,12 +4692,6 @@ func (s DeleteApnsVoipChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAPNSVoipChannelResponse sets the APNSVoipChannelResponse field's value. -func (s *DeleteApnsVoipChannelOutput) SetAPNSVoipChannelResponse(v *APNSVoipChannelResponse) *DeleteApnsVoipChannelOutput { - s.APNSVoipChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipSandboxChannelRequest type DeleteApnsVoipSandboxChannelInput struct { _ struct{} `type:"structure"` @@ -6194,12 +4724,6 @@ func (s *DeleteApnsVoipSandboxChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *DeleteApnsVoipSandboxChannelInput) SetApplicationId(v string) *DeleteApnsVoipSandboxChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipSandboxChannelResponse type DeleteApnsVoipSandboxChannelOutput struct { _ struct{} `type:"structure" payload:"APNSVoipSandboxChannelResponse"` @@ -6227,12 +4751,6 @@ func (s DeleteApnsVoipSandboxChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAPNSVoipSandboxChannelResponse sets the APNSVoipSandboxChannelResponse field's value. -func (s *DeleteApnsVoipSandboxChannelOutput) SetAPNSVoipSandboxChannelResponse(v *APNSVoipSandboxChannelResponse) *DeleteApnsVoipSandboxChannelOutput { - s.APNSVoipSandboxChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteAppRequest type DeleteAppInput struct { _ struct{} `type:"structure"` @@ -6265,12 +4783,6 @@ func (s *DeleteAppInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *DeleteAppInput) SetApplicationId(v string) *DeleteAppInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteAppResponse type DeleteAppOutput struct { _ struct{} `type:"structure" payload:"ApplicationResponse"` @@ -6298,12 +4810,6 @@ func (s DeleteAppOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationResponse sets the ApplicationResponse field's value. -func (s *DeleteAppOutput) SetApplicationResponse(v *ApplicationResponse) *DeleteAppOutput { - s.ApplicationResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteBaiduChannelRequest type DeleteBaiduChannelInput struct { _ struct{} `type:"structure"` @@ -6336,12 +4842,6 @@ func (s *DeleteBaiduChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *DeleteBaiduChannelInput) SetApplicationId(v string) *DeleteBaiduChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteBaiduChannelResponse type DeleteBaiduChannelOutput struct { _ struct{} `type:"structure" payload:"BaiduChannelResponse"` @@ -6369,12 +4869,6 @@ func (s DeleteBaiduChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBaiduChannelResponse sets the BaiduChannelResponse field's value. -func (s *DeleteBaiduChannelOutput) SetBaiduChannelResponse(v *BaiduChannelResponse) *DeleteBaiduChannelOutput { - s.BaiduChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteCampaignRequest type DeleteCampaignInput struct { _ struct{} `type:"structure"` @@ -6414,18 +4908,6 @@ func (s *DeleteCampaignInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *DeleteCampaignInput) SetApplicationId(v string) *DeleteCampaignInput { - s.ApplicationId = &v - return s -} - -// SetCampaignId sets the CampaignId field's value. -func (s *DeleteCampaignInput) SetCampaignId(v string) *DeleteCampaignInput { - s.CampaignId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteCampaignResponse type DeleteCampaignOutput struct { _ struct{} `type:"structure" payload:"CampaignResponse"` @@ -6453,12 +4935,6 @@ func (s DeleteCampaignOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCampaignResponse sets the CampaignResponse field's value. -func (s *DeleteCampaignOutput) SetCampaignResponse(v *CampaignResponse) *DeleteCampaignOutput { - s.CampaignResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEmailChannelRequest type DeleteEmailChannelInput struct { _ struct{} `type:"structure"` @@ -6491,12 +4967,6 @@ func (s *DeleteEmailChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *DeleteEmailChannelInput) SetApplicationId(v string) *DeleteEmailChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEmailChannelResponse type DeleteEmailChannelOutput struct { _ struct{} `type:"structure" payload:"EmailChannelResponse"` @@ -6524,12 +4994,6 @@ func (s DeleteEmailChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEmailChannelResponse sets the EmailChannelResponse field's value. -func (s *DeleteEmailChannelOutput) SetEmailChannelResponse(v *EmailChannelResponse) *DeleteEmailChannelOutput { - s.EmailChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEventStreamRequest type DeleteEventStreamInput struct { _ struct{} `type:"structure"` @@ -6564,12 +5028,6 @@ func (s *DeleteEventStreamInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *DeleteEventStreamInput) SetApplicationId(v string) *DeleteEventStreamInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEventStreamResponse type DeleteEventStreamOutput struct { _ struct{} `type:"structure" payload:"EventStream"` @@ -6597,12 +5055,6 @@ func (s DeleteEventStreamOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventStream sets the EventStream field's value. -func (s *DeleteEventStreamOutput) SetEventStream(v *EventStream) *DeleteEventStreamOutput { - s.EventStream = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteGcmChannelRequest type DeleteGcmChannelInput struct { _ struct{} `type:"structure"` @@ -6635,12 +5087,6 @@ func (s *DeleteGcmChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *DeleteGcmChannelInput) SetApplicationId(v string) *DeleteGcmChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteGcmChannelResponse type DeleteGcmChannelOutput struct { _ struct{} `type:"structure" payload:"GCMChannelResponse"` @@ -6668,12 +5114,6 @@ func (s DeleteGcmChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGCMChannelResponse sets the GCMChannelResponse field's value. -func (s *DeleteGcmChannelOutput) SetGCMChannelResponse(v *GCMChannelResponse) *DeleteGcmChannelOutput { - s.GCMChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSegmentRequest type DeleteSegmentInput struct { _ struct{} `type:"structure"` @@ -6713,18 +5153,6 @@ func (s *DeleteSegmentInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *DeleteSegmentInput) SetApplicationId(v string) *DeleteSegmentInput { - s.ApplicationId = &v - return s -} - -// SetSegmentId sets the SegmentId field's value. -func (s *DeleteSegmentInput) SetSegmentId(v string) *DeleteSegmentInput { - s.SegmentId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSegmentResponse type DeleteSegmentOutput struct { _ struct{} `type:"structure" payload:"SegmentResponse"` @@ -6752,12 +5180,6 @@ func (s DeleteSegmentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSegmentResponse sets the SegmentResponse field's value. -func (s *DeleteSegmentOutput) SetSegmentResponse(v *SegmentResponse) *DeleteSegmentOutput { - s.SegmentResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSmsChannelRequest type DeleteSmsChannelInput struct { _ struct{} `type:"structure"` @@ -6790,12 +5212,6 @@ func (s *DeleteSmsChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *DeleteSmsChannelInput) SetApplicationId(v string) *DeleteSmsChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSmsChannelResponse type DeleteSmsChannelOutput struct { _ struct{} `type:"structure" payload:"SMSChannelResponse"` @@ -6823,12 +5239,6 @@ func (s DeleteSmsChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSMSChannelResponse sets the SMSChannelResponse field's value. -func (s *DeleteSmsChannelOutput) SetSMSChannelResponse(v *SMSChannelResponse) *DeleteSmsChannelOutput { - s.SMSChannelResponse = v - return s -} - // The message configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DirectMessageConfiguration type DirectMessageConfiguration struct { @@ -6867,48 +5277,6 @@ func (s DirectMessageConfiguration) GoString() string { return s.String() } -// SetADMMessage sets the ADMMessage field's value. -func (s *DirectMessageConfiguration) SetADMMessage(v *ADMMessage) *DirectMessageConfiguration { - s.ADMMessage = v - return s -} - -// SetAPNSMessage sets the APNSMessage field's value. -func (s *DirectMessageConfiguration) SetAPNSMessage(v *APNSMessage) *DirectMessageConfiguration { - s.APNSMessage = v - return s -} - -// SetBaiduMessage sets the BaiduMessage field's value. -func (s *DirectMessageConfiguration) SetBaiduMessage(v *BaiduMessage) *DirectMessageConfiguration { - s.BaiduMessage = v - return s -} - -// SetDefaultMessage sets the DefaultMessage field's value. -func (s *DirectMessageConfiguration) SetDefaultMessage(v *DefaultMessage) *DirectMessageConfiguration { - s.DefaultMessage = v - return s -} - -// SetDefaultPushNotificationMessage sets the DefaultPushNotificationMessage field's value. -func (s *DirectMessageConfiguration) SetDefaultPushNotificationMessage(v *DefaultPushNotificationMessage) *DirectMessageConfiguration { - s.DefaultPushNotificationMessage = v - return s -} - -// SetGCMMessage sets the GCMMessage field's value. -func (s *DirectMessageConfiguration) SetGCMMessage(v *GCMMessage) *DirectMessageConfiguration { - s.GCMMessage = v - return s -} - -// SetSMSMessage sets the SMSMessage field's value. -func (s *DirectMessageConfiguration) SetSMSMessage(v *SMSMessage) *DirectMessageConfiguration { - s.SMSMessage = v - return s -} - // Email Channel Request // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EmailChannelRequest type EmailChannelRequest struct { @@ -6938,30 +5306,6 @@ func (s EmailChannelRequest) GoString() string { return s.String() } -// SetEnabled sets the Enabled field's value. -func (s *EmailChannelRequest) SetEnabled(v bool) *EmailChannelRequest { - s.Enabled = &v - return s -} - -// SetFromAddress sets the FromAddress field's value. -func (s *EmailChannelRequest) SetFromAddress(v string) *EmailChannelRequest { - s.FromAddress = &v - return s -} - -// SetIdentity sets the Identity field's value. -func (s *EmailChannelRequest) SetIdentity(v string) *EmailChannelRequest { - s.Identity = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *EmailChannelRequest) SetRoleArn(v string) *EmailChannelRequest { - s.RoleArn = &v - return s -} - // Email Channel Response. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EmailChannelResponse type EmailChannelResponse struct { @@ -7018,84 +5362,6 @@ func (s EmailChannelResponse) GoString() string { return s.String() } -// SetApplicationId sets the ApplicationId field's value. -func (s *EmailChannelResponse) SetApplicationId(v string) *EmailChannelResponse { - s.ApplicationId = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *EmailChannelResponse) SetCreationDate(v string) *EmailChannelResponse { - s.CreationDate = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *EmailChannelResponse) SetEnabled(v bool) *EmailChannelResponse { - s.Enabled = &v - return s -} - -// SetFromAddress sets the FromAddress field's value. -func (s *EmailChannelResponse) SetFromAddress(v string) *EmailChannelResponse { - s.FromAddress = &v - return s -} - -// SetHasCredential sets the HasCredential field's value. -func (s *EmailChannelResponse) SetHasCredential(v bool) *EmailChannelResponse { - s.HasCredential = &v - return s -} - -// SetId sets the Id field's value. -func (s *EmailChannelResponse) SetId(v string) *EmailChannelResponse { - s.Id = &v - return s -} - -// SetIdentity sets the Identity field's value. -func (s *EmailChannelResponse) SetIdentity(v string) *EmailChannelResponse { - s.Identity = &v - return s -} - -// SetIsArchived sets the IsArchived field's value. -func (s *EmailChannelResponse) SetIsArchived(v bool) *EmailChannelResponse { - s.IsArchived = &v - return s -} - -// SetLastModifiedBy sets the LastModifiedBy field's value. -func (s *EmailChannelResponse) SetLastModifiedBy(v string) *EmailChannelResponse { - s.LastModifiedBy = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *EmailChannelResponse) SetLastModifiedDate(v string) *EmailChannelResponse { - s.LastModifiedDate = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *EmailChannelResponse) SetPlatform(v string) *EmailChannelResponse { - s.Platform = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *EmailChannelResponse) SetRoleArn(v string) *EmailChannelResponse { - s.RoleArn = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *EmailChannelResponse) SetVersion(v int64) *EmailChannelResponse { - s.Version = &v - return s -} - // Endpoint update request // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointBatchItem type EndpointBatchItem struct { @@ -7150,78 +5416,6 @@ func (s EndpointBatchItem) GoString() string { return s.String() } -// SetAddress sets the Address field's value. -func (s *EndpointBatchItem) SetAddress(v string) *EndpointBatchItem { - s.Address = &v - return s -} - -// SetAttributes sets the Attributes field's value. -func (s *EndpointBatchItem) SetAttributes(v map[string][]string) *EndpointBatchItem { - s.Attributes = v - return s -} - -// SetChannelType sets the ChannelType field's value. -func (s *EndpointBatchItem) SetChannelType(v ChannelType) *EndpointBatchItem { - s.ChannelType = v - return s -} - -// SetDemographic sets the Demographic field's value. -func (s *EndpointBatchItem) SetDemographic(v *EndpointDemographic) *EndpointBatchItem { - s.Demographic = v - return s -} - -// SetEffectiveDate sets the EffectiveDate field's value. -func (s *EndpointBatchItem) SetEffectiveDate(v string) *EndpointBatchItem { - s.EffectiveDate = &v - return s -} - -// SetEndpointStatus sets the EndpointStatus field's value. -func (s *EndpointBatchItem) SetEndpointStatus(v string) *EndpointBatchItem { - s.EndpointStatus = &v - return s -} - -// SetId sets the Id field's value. -func (s *EndpointBatchItem) SetId(v string) *EndpointBatchItem { - s.Id = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *EndpointBatchItem) SetLocation(v *EndpointLocation) *EndpointBatchItem { - s.Location = v - return s -} - -// SetMetrics sets the Metrics field's value. -func (s *EndpointBatchItem) SetMetrics(v map[string]float64) *EndpointBatchItem { - s.Metrics = v - return s -} - -// SetOptOut sets the OptOut field's value. -func (s *EndpointBatchItem) SetOptOut(v string) *EndpointBatchItem { - s.OptOut = &v - return s -} - -// SetRequestId sets the RequestId field's value. -func (s *EndpointBatchItem) SetRequestId(v string) *EndpointBatchItem { - s.RequestId = &v - return s -} - -// SetUser sets the User field's value. -func (s *EndpointBatchItem) SetUser(v *EndpointUser) *EndpointBatchItem { - s.User = v - return s -} - // Endpoint batch update request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointBatchRequest type EndpointBatchRequest struct { @@ -7241,12 +5435,6 @@ func (s EndpointBatchRequest) GoString() string { return s.String() } -// SetItem sets the Item field's value. -func (s *EndpointBatchRequest) SetItem(v []EndpointBatchItem) *EndpointBatchRequest { - s.Item = v - return s -} - // Endpoint demographic data // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointDemographic type EndpointDemographic struct { @@ -7278,62 +5466,14 @@ type EndpointDemographic struct { Timezone *string `type:"string"` } -// String returns the string representation -func (s EndpointDemographic) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s EndpointDemographic) GoString() string { - return s.String() -} - -// SetAppVersion sets the AppVersion field's value. -func (s *EndpointDemographic) SetAppVersion(v string) *EndpointDemographic { - s.AppVersion = &v - return s -} - -// SetLocale sets the Locale field's value. -func (s *EndpointDemographic) SetLocale(v string) *EndpointDemographic { - s.Locale = &v - return s -} - -// SetMake sets the Make field's value. -func (s *EndpointDemographic) SetMake(v string) *EndpointDemographic { - s.Make = &v - return s -} - -// SetModel sets the Model field's value. -func (s *EndpointDemographic) SetModel(v string) *EndpointDemographic { - s.Model = &v - return s -} - -// SetModelVersion sets the ModelVersion field's value. -func (s *EndpointDemographic) SetModelVersion(v string) *EndpointDemographic { - s.ModelVersion = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *EndpointDemographic) SetPlatform(v string) *EndpointDemographic { - s.Platform = &v - return s -} - -// SetPlatformVersion sets the PlatformVersion field's value. -func (s *EndpointDemographic) SetPlatformVersion(v string) *EndpointDemographic { - s.PlatformVersion = &v - return s +// String returns the string representation +func (s EndpointDemographic) String() string { + return awsutil.Prettify(s) } -// SetTimezone sets the Timezone field's value. -func (s *EndpointDemographic) SetTimezone(v string) *EndpointDemographic { - s.Timezone = &v - return s +// GoString returns the string representation +func (s EndpointDemographic) GoString() string { + return s.String() } // Endpoint location data @@ -7373,42 +5513,6 @@ func (s EndpointLocation) GoString() string { return s.String() } -// SetCity sets the City field's value. -func (s *EndpointLocation) SetCity(v string) *EndpointLocation { - s.City = &v - return s -} - -// SetCountry sets the Country field's value. -func (s *EndpointLocation) SetCountry(v string) *EndpointLocation { - s.Country = &v - return s -} - -// SetLatitude sets the Latitude field's value. -func (s *EndpointLocation) SetLatitude(v float64) *EndpointLocation { - s.Latitude = &v - return s -} - -// SetLongitude sets the Longitude field's value. -func (s *EndpointLocation) SetLongitude(v float64) *EndpointLocation { - s.Longitude = &v - return s -} - -// SetPostalCode sets the PostalCode field's value. -func (s *EndpointLocation) SetPostalCode(v string) *EndpointLocation { - s.PostalCode = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *EndpointLocation) SetRegion(v string) *EndpointLocation { - s.Region = &v - return s -} - // The result from sending a message to an endpoint. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointMessageResult type EndpointMessageResult struct { @@ -7440,36 +5544,6 @@ func (s EndpointMessageResult) GoString() string { return s.String() } -// SetAddress sets the Address field's value. -func (s *EndpointMessageResult) SetAddress(v string) *EndpointMessageResult { - s.Address = &v - return s -} - -// SetDeliveryStatus sets the DeliveryStatus field's value. -func (s *EndpointMessageResult) SetDeliveryStatus(v DeliveryStatus) *EndpointMessageResult { - s.DeliveryStatus = v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *EndpointMessageResult) SetStatusCode(v int64) *EndpointMessageResult { - s.StatusCode = &v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *EndpointMessageResult) SetStatusMessage(v string) *EndpointMessageResult { - s.StatusMessage = &v - return s -} - -// SetUpdatedToken sets the UpdatedToken field's value. -func (s *EndpointMessageResult) SetUpdatedToken(v string) *EndpointMessageResult { - s.UpdatedToken = &v - return s -} - // Endpoint update request // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointRequest type EndpointRequest struct { @@ -7521,72 +5595,6 @@ func (s EndpointRequest) GoString() string { return s.String() } -// SetAddress sets the Address field's value. -func (s *EndpointRequest) SetAddress(v string) *EndpointRequest { - s.Address = &v - return s -} - -// SetAttributes sets the Attributes field's value. -func (s *EndpointRequest) SetAttributes(v map[string][]string) *EndpointRequest { - s.Attributes = v - return s -} - -// SetChannelType sets the ChannelType field's value. -func (s *EndpointRequest) SetChannelType(v ChannelType) *EndpointRequest { - s.ChannelType = v - return s -} - -// SetDemographic sets the Demographic field's value. -func (s *EndpointRequest) SetDemographic(v *EndpointDemographic) *EndpointRequest { - s.Demographic = v - return s -} - -// SetEffectiveDate sets the EffectiveDate field's value. -func (s *EndpointRequest) SetEffectiveDate(v string) *EndpointRequest { - s.EffectiveDate = &v - return s -} - -// SetEndpointStatus sets the EndpointStatus field's value. -func (s *EndpointRequest) SetEndpointStatus(v string) *EndpointRequest { - s.EndpointStatus = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *EndpointRequest) SetLocation(v *EndpointLocation) *EndpointRequest { - s.Location = v - return s -} - -// SetMetrics sets the Metrics field's value. -func (s *EndpointRequest) SetMetrics(v map[string]float64) *EndpointRequest { - s.Metrics = v - return s -} - -// SetOptOut sets the OptOut field's value. -func (s *EndpointRequest) SetOptOut(v string) *EndpointRequest { - s.OptOut = &v - return s -} - -// SetRequestId sets the RequestId field's value. -func (s *EndpointRequest) SetRequestId(v string) *EndpointRequest { - s.RequestId = &v - return s -} - -// SetUser sets the User field's value. -func (s *EndpointRequest) SetUser(v *EndpointUser) *EndpointRequest { - s.User = v - return s -} - // Endpoint response // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointResponse type EndpointResponse struct { @@ -7655,96 +5663,6 @@ func (s EndpointResponse) GoString() string { return s.String() } -// SetAddress sets the Address field's value. -func (s *EndpointResponse) SetAddress(v string) *EndpointResponse { - s.Address = &v - return s -} - -// SetApplicationId sets the ApplicationId field's value. -func (s *EndpointResponse) SetApplicationId(v string) *EndpointResponse { - s.ApplicationId = &v - return s -} - -// SetAttributes sets the Attributes field's value. -func (s *EndpointResponse) SetAttributes(v map[string][]string) *EndpointResponse { - s.Attributes = v - return s -} - -// SetChannelType sets the ChannelType field's value. -func (s *EndpointResponse) SetChannelType(v ChannelType) *EndpointResponse { - s.ChannelType = v - return s -} - -// SetCohortId sets the CohortId field's value. -func (s *EndpointResponse) SetCohortId(v string) *EndpointResponse { - s.CohortId = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *EndpointResponse) SetCreationDate(v string) *EndpointResponse { - s.CreationDate = &v - return s -} - -// SetDemographic sets the Demographic field's value. -func (s *EndpointResponse) SetDemographic(v *EndpointDemographic) *EndpointResponse { - s.Demographic = v - return s -} - -// SetEffectiveDate sets the EffectiveDate field's value. -func (s *EndpointResponse) SetEffectiveDate(v string) *EndpointResponse { - s.EffectiveDate = &v - return s -} - -// SetEndpointStatus sets the EndpointStatus field's value. -func (s *EndpointResponse) SetEndpointStatus(v string) *EndpointResponse { - s.EndpointStatus = &v - return s -} - -// SetId sets the Id field's value. -func (s *EndpointResponse) SetId(v string) *EndpointResponse { - s.Id = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *EndpointResponse) SetLocation(v *EndpointLocation) *EndpointResponse { - s.Location = v - return s -} - -// SetMetrics sets the Metrics field's value. -func (s *EndpointResponse) SetMetrics(v map[string]float64) *EndpointResponse { - s.Metrics = v - return s -} - -// SetOptOut sets the OptOut field's value. -func (s *EndpointResponse) SetOptOut(v string) *EndpointResponse { - s.OptOut = &v - return s -} - -// SetRequestId sets the RequestId field's value. -func (s *EndpointResponse) SetRequestId(v string) *EndpointResponse { - s.RequestId = &v - return s -} - -// SetUser sets the User field's value. -func (s *EndpointResponse) SetUser(v *EndpointUser) *EndpointResponse { - s.User = v - return s -} - // Endpoint send configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointSendConfiguration type EndpointSendConfiguration struct { @@ -7775,36 +5693,6 @@ func (s EndpointSendConfiguration) GoString() string { return s.String() } -// SetBodyOverride sets the BodyOverride field's value. -func (s *EndpointSendConfiguration) SetBodyOverride(v string) *EndpointSendConfiguration { - s.BodyOverride = &v - return s -} - -// SetContext sets the Context field's value. -func (s *EndpointSendConfiguration) SetContext(v map[string]string) *EndpointSendConfiguration { - s.Context = v - return s -} - -// SetRawContent sets the RawContent field's value. -func (s *EndpointSendConfiguration) SetRawContent(v string) *EndpointSendConfiguration { - s.RawContent = &v - return s -} - -// SetSubstitutions sets the Substitutions field's value. -func (s *EndpointSendConfiguration) SetSubstitutions(v map[string][]string) *EndpointSendConfiguration { - s.Substitutions = v - return s -} - -// SetTitleOverride sets the TitleOverride field's value. -func (s *EndpointSendConfiguration) SetTitleOverride(v string) *EndpointSendConfiguration { - s.TitleOverride = &v - return s -} - // Endpoint user specific custom userAttributes // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EndpointUser type EndpointUser struct { @@ -7826,18 +5714,6 @@ func (s EndpointUser) GoString() string { return s.String() } -// SetUserAttributes sets the UserAttributes field's value. -func (s *EndpointUser) SetUserAttributes(v map[string][]string) *EndpointUser { - s.UserAttributes = v - return s -} - -// SetUserId sets the UserId field's value. -func (s *EndpointUser) SetUserId(v string) *EndpointUser { - s.UserId = &v - return s -} - // Model for an event publishing subscription export. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EventStream type EventStream struct { @@ -7876,42 +5752,6 @@ func (s EventStream) GoString() string { return s.String() } -// SetApplicationId sets the ApplicationId field's value. -func (s *EventStream) SetApplicationId(v string) *EventStream { - s.ApplicationId = &v - return s -} - -// SetDestinationStreamArn sets the DestinationStreamArn field's value. -func (s *EventStream) SetDestinationStreamArn(v string) *EventStream { - s.DestinationStreamArn = &v - return s -} - -// SetExternalId sets the ExternalId field's value. -func (s *EventStream) SetExternalId(v string) *EventStream { - s.ExternalId = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *EventStream) SetLastModifiedDate(v string) *EventStream { - s.LastModifiedDate = &v - return s -} - -// SetLastUpdatedBy sets the LastUpdatedBy field's value. -func (s *EventStream) SetLastUpdatedBy(v string) *EventStream { - s.LastUpdatedBy = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *EventStream) SetRoleArn(v string) *EventStream { - s.RoleArn = &v - return s -} - // Google Cloud Messaging credentials // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GCMChannelRequest type GCMChannelRequest struct { @@ -7934,18 +5774,6 @@ func (s GCMChannelRequest) GoString() string { return s.String() } -// SetApiKey sets the ApiKey field's value. -func (s *GCMChannelRequest) SetApiKey(v string) *GCMChannelRequest { - s.ApiKey = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *GCMChannelRequest) SetEnabled(v bool) *GCMChannelRequest { - s.Enabled = &v - return s -} - // Google Cloud Messaging channel definition // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GCMChannelResponse type GCMChannelResponse struct { @@ -7995,72 +5823,6 @@ func (s GCMChannelResponse) GoString() string { return s.String() } -// SetApplicationId sets the ApplicationId field's value. -func (s *GCMChannelResponse) SetApplicationId(v string) *GCMChannelResponse { - s.ApplicationId = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *GCMChannelResponse) SetCreationDate(v string) *GCMChannelResponse { - s.CreationDate = &v - return s -} - -// SetCredential sets the Credential field's value. -func (s *GCMChannelResponse) SetCredential(v string) *GCMChannelResponse { - s.Credential = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *GCMChannelResponse) SetEnabled(v bool) *GCMChannelResponse { - s.Enabled = &v - return s -} - -// SetHasCredential sets the HasCredential field's value. -func (s *GCMChannelResponse) SetHasCredential(v bool) *GCMChannelResponse { - s.HasCredential = &v - return s -} - -// SetId sets the Id field's value. -func (s *GCMChannelResponse) SetId(v string) *GCMChannelResponse { - s.Id = &v - return s -} - -// SetIsArchived sets the IsArchived field's value. -func (s *GCMChannelResponse) SetIsArchived(v bool) *GCMChannelResponse { - s.IsArchived = &v - return s -} - -// SetLastModifiedBy sets the LastModifiedBy field's value. -func (s *GCMChannelResponse) SetLastModifiedBy(v string) *GCMChannelResponse { - s.LastModifiedBy = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *GCMChannelResponse) SetLastModifiedDate(v string) *GCMChannelResponse { - s.LastModifiedDate = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *GCMChannelResponse) SetPlatform(v string) *GCMChannelResponse { - s.Platform = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *GCMChannelResponse) SetVersion(v int64) *GCMChannelResponse { - s.Version = &v - return s -} - // GCM Message. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GCMMessage type GCMMessage struct { @@ -8146,108 +5908,6 @@ func (s GCMMessage) GoString() string { return s.String() } -// SetAction sets the Action field's value. -func (s *GCMMessage) SetAction(v Action) *GCMMessage { - s.Action = v - return s -} - -// SetBody sets the Body field's value. -func (s *GCMMessage) SetBody(v string) *GCMMessage { - s.Body = &v - return s -} - -// SetCollapseKey sets the CollapseKey field's value. -func (s *GCMMessage) SetCollapseKey(v string) *GCMMessage { - s.CollapseKey = &v - return s -} - -// SetData sets the Data field's value. -func (s *GCMMessage) SetData(v map[string]string) *GCMMessage { - s.Data = v - return s -} - -// SetIconReference sets the IconReference field's value. -func (s *GCMMessage) SetIconReference(v string) *GCMMessage { - s.IconReference = &v - return s -} - -// SetImageIconUrl sets the ImageIconUrl field's value. -func (s *GCMMessage) SetImageIconUrl(v string) *GCMMessage { - s.ImageIconUrl = &v - return s -} - -// SetImageUrl sets the ImageUrl field's value. -func (s *GCMMessage) SetImageUrl(v string) *GCMMessage { - s.ImageUrl = &v - return s -} - -// SetPriority sets the Priority field's value. -func (s *GCMMessage) SetPriority(v string) *GCMMessage { - s.Priority = &v - return s -} - -// SetRawContent sets the RawContent field's value. -func (s *GCMMessage) SetRawContent(v string) *GCMMessage { - s.RawContent = &v - return s -} - -// SetRestrictedPackageName sets the RestrictedPackageName field's value. -func (s *GCMMessage) SetRestrictedPackageName(v string) *GCMMessage { - s.RestrictedPackageName = &v - return s -} - -// SetSilentPush sets the SilentPush field's value. -func (s *GCMMessage) SetSilentPush(v bool) *GCMMessage { - s.SilentPush = &v - return s -} - -// SetSmallImageIconUrl sets the SmallImageIconUrl field's value. -func (s *GCMMessage) SetSmallImageIconUrl(v string) *GCMMessage { - s.SmallImageIconUrl = &v - return s -} - -// SetSound sets the Sound field's value. -func (s *GCMMessage) SetSound(v string) *GCMMessage { - s.Sound = &v - return s -} - -// SetSubstitutions sets the Substitutions field's value. -func (s *GCMMessage) SetSubstitutions(v map[string][]string) *GCMMessage { - s.Substitutions = v - return s -} - -// SetTimeToLive sets the TimeToLive field's value. -func (s *GCMMessage) SetTimeToLive(v int64) *GCMMessage { - s.TimeToLive = &v - return s -} - -// SetTitle sets the Title field's value. -func (s *GCMMessage) SetTitle(v string) *GCMMessage { - s.Title = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *GCMMessage) SetUrl(v string) *GCMMessage { - s.Url = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAdmChannelRequest type GetAdmChannelInput struct { _ struct{} `type:"structure"` @@ -8280,12 +5940,6 @@ func (s *GetAdmChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetAdmChannelInput) SetApplicationId(v string) *GetAdmChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAdmChannelResponse type GetAdmChannelOutput struct { _ struct{} `type:"structure" payload:"ADMChannelResponse"` @@ -8313,12 +5967,6 @@ func (s GetAdmChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetADMChannelResponse sets the ADMChannelResponse field's value. -func (s *GetAdmChannelOutput) SetADMChannelResponse(v *ADMChannelResponse) *GetAdmChannelOutput { - s.ADMChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsChannelRequest type GetApnsChannelInput struct { _ struct{} `type:"structure"` @@ -8351,12 +5999,6 @@ func (s *GetApnsChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetApnsChannelInput) SetApplicationId(v string) *GetApnsChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsChannelResponse type GetApnsChannelOutput struct { _ struct{} `type:"structure" payload:"APNSChannelResponse"` @@ -8384,12 +6026,6 @@ func (s GetApnsChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAPNSChannelResponse sets the APNSChannelResponse field's value. -func (s *GetApnsChannelOutput) SetAPNSChannelResponse(v *APNSChannelResponse) *GetApnsChannelOutput { - s.APNSChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsSandboxChannelRequest type GetApnsSandboxChannelInput struct { _ struct{} `type:"structure"` @@ -8422,12 +6058,6 @@ func (s *GetApnsSandboxChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetApnsSandboxChannelInput) SetApplicationId(v string) *GetApnsSandboxChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsSandboxChannelResponse type GetApnsSandboxChannelOutput struct { _ struct{} `type:"structure" payload:"APNSSandboxChannelResponse"` @@ -8455,12 +6085,6 @@ func (s GetApnsSandboxChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAPNSSandboxChannelResponse sets the APNSSandboxChannelResponse field's value. -func (s *GetApnsSandboxChannelOutput) SetAPNSSandboxChannelResponse(v *APNSSandboxChannelResponse) *GetApnsSandboxChannelOutput { - s.APNSSandboxChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipChannelRequest type GetApnsVoipChannelInput struct { _ struct{} `type:"structure"` @@ -8493,12 +6117,6 @@ func (s *GetApnsVoipChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetApnsVoipChannelInput) SetApplicationId(v string) *GetApnsVoipChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipChannelResponse type GetApnsVoipChannelOutput struct { _ struct{} `type:"structure" payload:"APNSVoipChannelResponse"` @@ -8526,12 +6144,6 @@ func (s GetApnsVoipChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAPNSVoipChannelResponse sets the APNSVoipChannelResponse field's value. -func (s *GetApnsVoipChannelOutput) SetAPNSVoipChannelResponse(v *APNSVoipChannelResponse) *GetApnsVoipChannelOutput { - s.APNSVoipChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipSandboxChannelRequest type GetApnsVoipSandboxChannelInput struct { _ struct{} `type:"structure"` @@ -8564,12 +6176,6 @@ func (s *GetApnsVoipSandboxChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetApnsVoipSandboxChannelInput) SetApplicationId(v string) *GetApnsVoipSandboxChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipSandboxChannelResponse type GetApnsVoipSandboxChannelOutput struct { _ struct{} `type:"structure" payload:"APNSVoipSandboxChannelResponse"` @@ -8597,12 +6203,6 @@ func (s GetApnsVoipSandboxChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAPNSVoipSandboxChannelResponse sets the APNSVoipSandboxChannelResponse field's value. -func (s *GetApnsVoipSandboxChannelOutput) SetAPNSVoipSandboxChannelResponse(v *APNSVoipSandboxChannelResponse) *GetApnsVoipSandboxChannelOutput { - s.APNSVoipSandboxChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAppRequest type GetAppInput struct { _ struct{} `type:"structure"` @@ -8635,12 +6235,6 @@ func (s *GetAppInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetAppInput) SetApplicationId(v string) *GetAppInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAppResponse type GetAppOutput struct { _ struct{} `type:"structure" payload:"ApplicationResponse"` @@ -8668,12 +6262,6 @@ func (s GetAppOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationResponse sets the ApplicationResponse field's value. -func (s *GetAppOutput) SetApplicationResponse(v *ApplicationResponse) *GetAppOutput { - s.ApplicationResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApplicationSettingsRequest type GetApplicationSettingsInput struct { _ struct{} `type:"structure"` @@ -8706,12 +6294,6 @@ func (s *GetApplicationSettingsInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetApplicationSettingsInput) SetApplicationId(v string) *GetApplicationSettingsInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApplicationSettingsResponse type GetApplicationSettingsOutput struct { _ struct{} `type:"structure" payload:"ApplicationSettingsResource"` @@ -8739,12 +6321,6 @@ func (s GetApplicationSettingsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationSettingsResource sets the ApplicationSettingsResource field's value. -func (s *GetApplicationSettingsOutput) SetApplicationSettingsResource(v *ApplicationSettingsResource) *GetApplicationSettingsOutput { - s.ApplicationSettingsResource = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAppsRequest type GetAppsInput struct { _ struct{} `type:"structure"` @@ -8764,18 +6340,6 @@ func (s GetAppsInput) GoString() string { return s.String() } -// SetPageSize sets the PageSize field's value. -func (s *GetAppsInput) SetPageSize(v string) *GetAppsInput { - s.PageSize = &v - return s -} - -// SetToken sets the Token field's value. -func (s *GetAppsInput) SetToken(v string) *GetAppsInput { - s.Token = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAppsResponse type GetAppsOutput struct { _ struct{} `type:"structure" payload:"ApplicationsResponse"` @@ -8803,12 +6367,6 @@ func (s GetAppsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationsResponse sets the ApplicationsResponse field's value. -func (s *GetAppsOutput) SetApplicationsResponse(v *ApplicationsResponse) *GetAppsOutput { - s.ApplicationsResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetBaiduChannelRequest type GetBaiduChannelInput struct { _ struct{} `type:"structure"` @@ -8841,12 +6399,6 @@ func (s *GetBaiduChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetBaiduChannelInput) SetApplicationId(v string) *GetBaiduChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetBaiduChannelResponse type GetBaiduChannelOutput struct { _ struct{} `type:"structure" payload:"BaiduChannelResponse"` @@ -8874,12 +6426,6 @@ func (s GetBaiduChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBaiduChannelResponse sets the BaiduChannelResponse field's value. -func (s *GetBaiduChannelOutput) SetBaiduChannelResponse(v *BaiduChannelResponse) *GetBaiduChannelOutput { - s.BaiduChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignActivitiesRequest type GetCampaignActivitiesInput struct { _ struct{} `type:"structure"` @@ -8923,30 +6469,6 @@ func (s *GetCampaignActivitiesInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetCampaignActivitiesInput) SetApplicationId(v string) *GetCampaignActivitiesInput { - s.ApplicationId = &v - return s -} - -// SetCampaignId sets the CampaignId field's value. -func (s *GetCampaignActivitiesInput) SetCampaignId(v string) *GetCampaignActivitiesInput { - s.CampaignId = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *GetCampaignActivitiesInput) SetPageSize(v string) *GetCampaignActivitiesInput { - s.PageSize = &v - return s -} - -// SetToken sets the Token field's value. -func (s *GetCampaignActivitiesInput) SetToken(v string) *GetCampaignActivitiesInput { - s.Token = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignActivitiesResponse type GetCampaignActivitiesOutput struct { _ struct{} `type:"structure" payload:"ActivitiesResponse"` @@ -8974,12 +6496,6 @@ func (s GetCampaignActivitiesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetActivitiesResponse sets the ActivitiesResponse field's value. -func (s *GetCampaignActivitiesOutput) SetActivitiesResponse(v *ActivitiesResponse) *GetCampaignActivitiesOutput { - s.ActivitiesResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignRequest type GetCampaignInput struct { _ struct{} `type:"structure"` @@ -9019,18 +6535,6 @@ func (s *GetCampaignInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetCampaignInput) SetApplicationId(v string) *GetCampaignInput { - s.ApplicationId = &v - return s -} - -// SetCampaignId sets the CampaignId field's value. -func (s *GetCampaignInput) SetCampaignId(v string) *GetCampaignInput { - s.CampaignId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignResponse type GetCampaignOutput struct { _ struct{} `type:"structure" payload:"CampaignResponse"` @@ -9058,12 +6562,6 @@ func (s GetCampaignOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCampaignResponse sets the CampaignResponse field's value. -func (s *GetCampaignOutput) SetCampaignResponse(v *CampaignResponse) *GetCampaignOutput { - s.CampaignResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersionRequest type GetCampaignVersionInput struct { _ struct{} `type:"structure"` @@ -9110,24 +6608,6 @@ func (s *GetCampaignVersionInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetCampaignVersionInput) SetApplicationId(v string) *GetCampaignVersionInput { - s.ApplicationId = &v - return s -} - -// SetCampaignId sets the CampaignId field's value. -func (s *GetCampaignVersionInput) SetCampaignId(v string) *GetCampaignVersionInput { - s.CampaignId = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetCampaignVersionInput) SetVersion(v string) *GetCampaignVersionInput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersionResponse type GetCampaignVersionOutput struct { _ struct{} `type:"structure" payload:"CampaignResponse"` @@ -9155,12 +6635,6 @@ func (s GetCampaignVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCampaignResponse sets the CampaignResponse field's value. -func (s *GetCampaignVersionOutput) SetCampaignResponse(v *CampaignResponse) *GetCampaignVersionOutput { - s.CampaignResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersionsRequest type GetCampaignVersionsInput struct { _ struct{} `type:"structure"` @@ -9204,30 +6678,6 @@ func (s *GetCampaignVersionsInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetCampaignVersionsInput) SetApplicationId(v string) *GetCampaignVersionsInput { - s.ApplicationId = &v - return s -} - -// SetCampaignId sets the CampaignId field's value. -func (s *GetCampaignVersionsInput) SetCampaignId(v string) *GetCampaignVersionsInput { - s.CampaignId = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *GetCampaignVersionsInput) SetPageSize(v string) *GetCampaignVersionsInput { - s.PageSize = &v - return s -} - -// SetToken sets the Token field's value. -func (s *GetCampaignVersionsInput) SetToken(v string) *GetCampaignVersionsInput { - s.Token = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersionsResponse type GetCampaignVersionsOutput struct { _ struct{} `type:"structure" payload:"CampaignsResponse"` @@ -9255,12 +6705,6 @@ func (s GetCampaignVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCampaignsResponse sets the CampaignsResponse field's value. -func (s *GetCampaignVersionsOutput) SetCampaignsResponse(v *CampaignsResponse) *GetCampaignVersionsOutput { - s.CampaignsResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignsRequest type GetCampaignsInput struct { _ struct{} `type:"structure"` @@ -9297,24 +6741,6 @@ func (s *GetCampaignsInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetCampaignsInput) SetApplicationId(v string) *GetCampaignsInput { - s.ApplicationId = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *GetCampaignsInput) SetPageSize(v string) *GetCampaignsInput { - s.PageSize = &v - return s -} - -// SetToken sets the Token field's value. -func (s *GetCampaignsInput) SetToken(v string) *GetCampaignsInput { - s.Token = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignsResponse type GetCampaignsOutput struct { _ struct{} `type:"structure" payload:"CampaignsResponse"` @@ -9342,12 +6768,6 @@ func (s GetCampaignsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCampaignsResponse sets the CampaignsResponse field's value. -func (s *GetCampaignsOutput) SetCampaignsResponse(v *CampaignsResponse) *GetCampaignsOutput { - s.CampaignsResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEmailChannelRequest type GetEmailChannelInput struct { _ struct{} `type:"structure"` @@ -9380,12 +6800,6 @@ func (s *GetEmailChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetEmailChannelInput) SetApplicationId(v string) *GetEmailChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEmailChannelResponse type GetEmailChannelOutput struct { _ struct{} `type:"structure" payload:"EmailChannelResponse"` @@ -9413,12 +6827,6 @@ func (s GetEmailChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEmailChannelResponse sets the EmailChannelResponse field's value. -func (s *GetEmailChannelOutput) SetEmailChannelResponse(v *EmailChannelResponse) *GetEmailChannelOutput { - s.EmailChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEndpointRequest type GetEndpointInput struct { _ struct{} `type:"structure"` @@ -9454,20 +6862,8 @@ func (s *GetEndpointInput) Validate() error { if invalidParams.Len() > 0 { return invalidParams - } - return nil -} - -// SetApplicationId sets the ApplicationId field's value. -func (s *GetEndpointInput) SetApplicationId(v string) *GetEndpointInput { - s.ApplicationId = &v - return s -} - -// SetEndpointId sets the EndpointId field's value. -func (s *GetEndpointInput) SetEndpointId(v string) *GetEndpointInput { - s.EndpointId = &v - return s + } + return nil } // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEndpointResponse @@ -9497,12 +6893,6 @@ func (s GetEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEndpointResponse sets the EndpointResponse field's value. -func (s *GetEndpointOutput) SetEndpointResponse(v *EndpointResponse) *GetEndpointOutput { - s.EndpointResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEventStreamRequest type GetEventStreamInput struct { _ struct{} `type:"structure"` @@ -9537,12 +6927,6 @@ func (s *GetEventStreamInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetEventStreamInput) SetApplicationId(v string) *GetEventStreamInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEventStreamResponse type GetEventStreamOutput struct { _ struct{} `type:"structure" payload:"EventStream"` @@ -9570,12 +6954,6 @@ func (s GetEventStreamOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventStream sets the EventStream field's value. -func (s *GetEventStreamOutput) SetEventStream(v *EventStream) *GetEventStreamOutput { - s.EventStream = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetGcmChannelRequest type GetGcmChannelInput struct { _ struct{} `type:"structure"` @@ -9608,12 +6986,6 @@ func (s *GetGcmChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetGcmChannelInput) SetApplicationId(v string) *GetGcmChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetGcmChannelResponse type GetGcmChannelOutput struct { _ struct{} `type:"structure" payload:"GCMChannelResponse"` @@ -9641,12 +7013,6 @@ func (s GetGcmChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGCMChannelResponse sets the GCMChannelResponse field's value. -func (s *GetGcmChannelOutput) SetGCMChannelResponse(v *GCMChannelResponse) *GetGcmChannelOutput { - s.GCMChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJobRequest type GetImportJobInput struct { _ struct{} `type:"structure"` @@ -9686,18 +7052,6 @@ func (s *GetImportJobInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetImportJobInput) SetApplicationId(v string) *GetImportJobInput { - s.ApplicationId = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *GetImportJobInput) SetJobId(v string) *GetImportJobInput { - s.JobId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJobResponse type GetImportJobOutput struct { _ struct{} `type:"structure" payload:"ImportJobResponse"` @@ -9723,12 +7077,6 @@ func (s GetImportJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImportJobResponse sets the ImportJobResponse field's value. -func (s *GetImportJobOutput) SetImportJobResponse(v *ImportJobResponse) *GetImportJobOutput { - s.ImportJobResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJobsRequest type GetImportJobsInput struct { _ struct{} `type:"structure"` @@ -9765,24 +7113,6 @@ func (s *GetImportJobsInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetImportJobsInput) SetApplicationId(v string) *GetImportJobsInput { - s.ApplicationId = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *GetImportJobsInput) SetPageSize(v string) *GetImportJobsInput { - s.PageSize = &v - return s -} - -// SetToken sets the Token field's value. -func (s *GetImportJobsInput) SetToken(v string) *GetImportJobsInput { - s.Token = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJobsResponse type GetImportJobsOutput struct { _ struct{} `type:"structure" payload:"ImportJobsResponse"` @@ -9810,12 +7140,6 @@ func (s GetImportJobsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImportJobsResponse sets the ImportJobsResponse field's value. -func (s *GetImportJobsOutput) SetImportJobsResponse(v *ImportJobsResponse) *GetImportJobsOutput { - s.ImportJobsResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentImportJobsRequest type GetSegmentImportJobsInput struct { _ struct{} `type:"structure"` @@ -9859,30 +7183,6 @@ func (s *GetSegmentImportJobsInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetSegmentImportJobsInput) SetApplicationId(v string) *GetSegmentImportJobsInput { - s.ApplicationId = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *GetSegmentImportJobsInput) SetPageSize(v string) *GetSegmentImportJobsInput { - s.PageSize = &v - return s -} - -// SetSegmentId sets the SegmentId field's value. -func (s *GetSegmentImportJobsInput) SetSegmentId(v string) *GetSegmentImportJobsInput { - s.SegmentId = &v - return s -} - -// SetToken sets the Token field's value. -func (s *GetSegmentImportJobsInput) SetToken(v string) *GetSegmentImportJobsInput { - s.Token = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentImportJobsResponse type GetSegmentImportJobsOutput struct { _ struct{} `type:"structure" payload:"ImportJobsResponse"` @@ -9910,12 +7210,6 @@ func (s GetSegmentImportJobsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetImportJobsResponse sets the ImportJobsResponse field's value. -func (s *GetSegmentImportJobsOutput) SetImportJobsResponse(v *ImportJobsResponse) *GetSegmentImportJobsOutput { - s.ImportJobsResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentRequest type GetSegmentInput struct { _ struct{} `type:"structure"` @@ -9955,18 +7249,6 @@ func (s *GetSegmentInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetSegmentInput) SetApplicationId(v string) *GetSegmentInput { - s.ApplicationId = &v - return s -} - -// SetSegmentId sets the SegmentId field's value. -func (s *GetSegmentInput) SetSegmentId(v string) *GetSegmentInput { - s.SegmentId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentResponse type GetSegmentOutput struct { _ struct{} `type:"structure" payload:"SegmentResponse"` @@ -9994,12 +7276,6 @@ func (s GetSegmentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSegmentResponse sets the SegmentResponse field's value. -func (s *GetSegmentOutput) SetSegmentResponse(v *SegmentResponse) *GetSegmentOutput { - s.SegmentResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersionRequest type GetSegmentVersionInput struct { _ struct{} `type:"structure"` @@ -10046,24 +7322,6 @@ func (s *GetSegmentVersionInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetSegmentVersionInput) SetApplicationId(v string) *GetSegmentVersionInput { - s.ApplicationId = &v - return s -} - -// SetSegmentId sets the SegmentId field's value. -func (s *GetSegmentVersionInput) SetSegmentId(v string) *GetSegmentVersionInput { - s.SegmentId = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetSegmentVersionInput) SetVersion(v string) *GetSegmentVersionInput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersionResponse type GetSegmentVersionOutput struct { _ struct{} `type:"structure" payload:"SegmentResponse"` @@ -10091,12 +7349,6 @@ func (s GetSegmentVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSegmentResponse sets the SegmentResponse field's value. -func (s *GetSegmentVersionOutput) SetSegmentResponse(v *SegmentResponse) *GetSegmentVersionOutput { - s.SegmentResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersionsRequest type GetSegmentVersionsInput struct { _ struct{} `type:"structure"` @@ -10140,30 +7392,6 @@ func (s *GetSegmentVersionsInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetSegmentVersionsInput) SetApplicationId(v string) *GetSegmentVersionsInput { - s.ApplicationId = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *GetSegmentVersionsInput) SetPageSize(v string) *GetSegmentVersionsInput { - s.PageSize = &v - return s -} - -// SetSegmentId sets the SegmentId field's value. -func (s *GetSegmentVersionsInput) SetSegmentId(v string) *GetSegmentVersionsInput { - s.SegmentId = &v - return s -} - -// SetToken sets the Token field's value. -func (s *GetSegmentVersionsInput) SetToken(v string) *GetSegmentVersionsInput { - s.Token = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersionsResponse type GetSegmentVersionsOutput struct { _ struct{} `type:"structure" payload:"SegmentsResponse"` @@ -10191,12 +7419,6 @@ func (s GetSegmentVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSegmentsResponse sets the SegmentsResponse field's value. -func (s *GetSegmentVersionsOutput) SetSegmentsResponse(v *SegmentsResponse) *GetSegmentVersionsOutput { - s.SegmentsResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentsRequest type GetSegmentsInput struct { _ struct{} `type:"structure"` @@ -10233,24 +7455,6 @@ func (s *GetSegmentsInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetSegmentsInput) SetApplicationId(v string) *GetSegmentsInput { - s.ApplicationId = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *GetSegmentsInput) SetPageSize(v string) *GetSegmentsInput { - s.PageSize = &v - return s -} - -// SetToken sets the Token field's value. -func (s *GetSegmentsInput) SetToken(v string) *GetSegmentsInput { - s.Token = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentsResponse type GetSegmentsOutput struct { _ struct{} `type:"structure" payload:"SegmentsResponse"` @@ -10278,12 +7482,6 @@ func (s GetSegmentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSegmentsResponse sets the SegmentsResponse field's value. -func (s *GetSegmentsOutput) SetSegmentsResponse(v *SegmentsResponse) *GetSegmentsOutput { - s.SegmentsResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSmsChannelRequest type GetSmsChannelInput struct { _ struct{} `type:"structure"` @@ -10316,12 +7514,6 @@ func (s *GetSmsChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetSmsChannelInput) SetApplicationId(v string) *GetSmsChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSmsChannelResponse type GetSmsChannelOutput struct { _ struct{} `type:"structure" payload:"SMSChannelResponse"` @@ -10349,12 +7541,6 @@ func (s GetSmsChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSMSChannelResponse sets the SMSChannelResponse field's value. -func (s *GetSmsChannelOutput) SetSMSChannelResponse(v *SMSChannelResponse) *GetSmsChannelOutput { - s.SMSChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ImportJobRequest type ImportJobRequest struct { _ struct{} `type:"structure"` @@ -10403,54 +7589,6 @@ func (s ImportJobRequest) GoString() string { return s.String() } -// SetDefineSegment sets the DefineSegment field's value. -func (s *ImportJobRequest) SetDefineSegment(v bool) *ImportJobRequest { - s.DefineSegment = &v - return s -} - -// SetExternalId sets the ExternalId field's value. -func (s *ImportJobRequest) SetExternalId(v string) *ImportJobRequest { - s.ExternalId = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *ImportJobRequest) SetFormat(v Format) *ImportJobRequest { - s.Format = v - return s -} - -// SetRegisterEndpoints sets the RegisterEndpoints field's value. -func (s *ImportJobRequest) SetRegisterEndpoints(v bool) *ImportJobRequest { - s.RegisterEndpoints = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *ImportJobRequest) SetRoleArn(v string) *ImportJobRequest { - s.RoleArn = &v - return s -} - -// SetS3Url sets the S3Url field's value. -func (s *ImportJobRequest) SetS3Url(v string) *ImportJobRequest { - s.S3Url = &v - return s -} - -// SetSegmentId sets the SegmentId field's value. -func (s *ImportJobRequest) SetSegmentId(v string) *ImportJobRequest { - s.SegmentId = &v - return s -} - -// SetSegmentName sets the SegmentName field's value. -func (s *ImportJobRequest) SetSegmentName(v string) *ImportJobRequest { - s.SegmentName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ImportJobResource type ImportJobResource struct { _ struct{} `type:"structure"` @@ -10499,54 +7637,6 @@ func (s ImportJobResource) GoString() string { return s.String() } -// SetDefineSegment sets the DefineSegment field's value. -func (s *ImportJobResource) SetDefineSegment(v bool) *ImportJobResource { - s.DefineSegment = &v - return s -} - -// SetExternalId sets the ExternalId field's value. -func (s *ImportJobResource) SetExternalId(v string) *ImportJobResource { - s.ExternalId = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *ImportJobResource) SetFormat(v Format) *ImportJobResource { - s.Format = v - return s -} - -// SetRegisterEndpoints sets the RegisterEndpoints field's value. -func (s *ImportJobResource) SetRegisterEndpoints(v bool) *ImportJobResource { - s.RegisterEndpoints = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *ImportJobResource) SetRoleArn(v string) *ImportJobResource { - s.RoleArn = &v - return s -} - -// SetS3Url sets the S3Url field's value. -func (s *ImportJobResource) SetS3Url(v string) *ImportJobResource { - s.S3Url = &v - return s -} - -// SetSegmentId sets the SegmentId field's value. -func (s *ImportJobResource) SetSegmentId(v string) *ImportJobResource { - s.SegmentId = &v - return s -} - -// SetSegmentName sets the SegmentName field's value. -func (s *ImportJobResource) SetSegmentName(v string) *ImportJobResource { - s.SegmentName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ImportJobResponse type ImportJobResponse struct { _ struct{} `type:"structure"` @@ -10605,84 +7695,6 @@ func (s ImportJobResponse) GoString() string { return s.String() } -// SetApplicationId sets the ApplicationId field's value. -func (s *ImportJobResponse) SetApplicationId(v string) *ImportJobResponse { - s.ApplicationId = &v - return s -} - -// SetCompletedPieces sets the CompletedPieces field's value. -func (s *ImportJobResponse) SetCompletedPieces(v int64) *ImportJobResponse { - s.CompletedPieces = &v - return s -} - -// SetCompletionDate sets the CompletionDate field's value. -func (s *ImportJobResponse) SetCompletionDate(v string) *ImportJobResponse { - s.CompletionDate = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *ImportJobResponse) SetCreationDate(v string) *ImportJobResponse { - s.CreationDate = &v - return s -} - -// SetDefinition sets the Definition field's value. -func (s *ImportJobResponse) SetDefinition(v *ImportJobResource) *ImportJobResponse { - s.Definition = v - return s -} - -// SetFailedPieces sets the FailedPieces field's value. -func (s *ImportJobResponse) SetFailedPieces(v int64) *ImportJobResponse { - s.FailedPieces = &v - return s -} - -// SetFailures sets the Failures field's value. -func (s *ImportJobResponse) SetFailures(v []string) *ImportJobResponse { - s.Failures = v - return s -} - -// SetId sets the Id field's value. -func (s *ImportJobResponse) SetId(v string) *ImportJobResponse { - s.Id = &v - return s -} - -// SetJobStatus sets the JobStatus field's value. -func (s *ImportJobResponse) SetJobStatus(v JobStatus) *ImportJobResponse { - s.JobStatus = v - return s -} - -// SetTotalFailures sets the TotalFailures field's value. -func (s *ImportJobResponse) SetTotalFailures(v int64) *ImportJobResponse { - s.TotalFailures = &v - return s -} - -// SetTotalPieces sets the TotalPieces field's value. -func (s *ImportJobResponse) SetTotalPieces(v int64) *ImportJobResponse { - s.TotalPieces = &v - return s -} - -// SetTotalProcessed sets the TotalProcessed field's value. -func (s *ImportJobResponse) SetTotalProcessed(v int64) *ImportJobResponse { - s.TotalProcessed = &v - return s -} - -// SetType sets the Type field's value. -func (s *ImportJobResponse) SetType(v string) *ImportJobResponse { - s.Type = &v - return s -} - // Import job list. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ImportJobsResponse type ImportJobsResponse struct { @@ -10706,18 +7718,6 @@ func (s ImportJobsResponse) GoString() string { return s.String() } -// SetItem sets the Item field's value. -func (s *ImportJobsResponse) SetItem(v []ImportJobResponse) *ImportJobsResponse { - s.Item = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ImportJobsResponse) SetNextToken(v string) *ImportJobsResponse { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/Message type Message struct { _ struct{} `type:"structure"` @@ -10776,72 +7776,6 @@ func (s Message) GoString() string { return s.String() } -// SetAction sets the Action field's value. -func (s *Message) SetAction(v Action) *Message { - s.Action = v - return s -} - -// SetBody sets the Body field's value. -func (s *Message) SetBody(v string) *Message { - s.Body = &v - return s -} - -// SetImageIconUrl sets the ImageIconUrl field's value. -func (s *Message) SetImageIconUrl(v string) *Message { - s.ImageIconUrl = &v - return s -} - -// SetImageSmallIconUrl sets the ImageSmallIconUrl field's value. -func (s *Message) SetImageSmallIconUrl(v string) *Message { - s.ImageSmallIconUrl = &v - return s -} - -// SetImageUrl sets the ImageUrl field's value. -func (s *Message) SetImageUrl(v string) *Message { - s.ImageUrl = &v - return s -} - -// SetJsonBody sets the JsonBody field's value. -func (s *Message) SetJsonBody(v string) *Message { - s.JsonBody = &v - return s -} - -// SetMediaUrl sets the MediaUrl field's value. -func (s *Message) SetMediaUrl(v string) *Message { - s.MediaUrl = &v - return s -} - -// SetRawContent sets the RawContent field's value. -func (s *Message) SetRawContent(v string) *Message { - s.RawContent = &v - return s -} - -// SetSilentPush sets the SilentPush field's value. -func (s *Message) SetSilentPush(v bool) *Message { - s.SilentPush = &v - return s -} - -// SetTitle sets the Title field's value. -func (s *Message) SetTitle(v string) *Message { - s.Title = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *Message) SetUrl(v string) *Message { - s.Url = &v - return s -} - // Simple message object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MessageBody type MessageBody struct { @@ -10864,18 +7798,6 @@ func (s MessageBody) GoString() string { return s.String() } -// SetMessage sets the Message field's value. -func (s *MessageBody) SetMessage(v string) *MessageBody { - s.Message = &v - return s -} - -// SetRequestID sets the RequestID field's value. -func (s *MessageBody) SetRequestID(v string) *MessageBody { - s.RequestID = &v - return s -} - // Message configuration for a campaign. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MessageConfiguration type MessageConfiguration struct { @@ -10917,48 +7839,6 @@ func (s MessageConfiguration) GoString() string { return s.String() } -// SetADMMessage sets the ADMMessage field's value. -func (s *MessageConfiguration) SetADMMessage(v *Message) *MessageConfiguration { - s.ADMMessage = v - return s -} - -// SetAPNSMessage sets the APNSMessage field's value. -func (s *MessageConfiguration) SetAPNSMessage(v *Message) *MessageConfiguration { - s.APNSMessage = v - return s -} - -// SetBaiduMessage sets the BaiduMessage field's value. -func (s *MessageConfiguration) SetBaiduMessage(v *Message) *MessageConfiguration { - s.BaiduMessage = v - return s -} - -// SetDefaultMessage sets the DefaultMessage field's value. -func (s *MessageConfiguration) SetDefaultMessage(v *Message) *MessageConfiguration { - s.DefaultMessage = v - return s -} - -// SetEmailMessage sets the EmailMessage field's value. -func (s *MessageConfiguration) SetEmailMessage(v *CampaignEmailMessage) *MessageConfiguration { - s.EmailMessage = v - return s -} - -// SetGCMMessage sets the GCMMessage field's value. -func (s *MessageConfiguration) SetGCMMessage(v *Message) *MessageConfiguration { - s.GCMMessage = v - return s -} - -// SetSMSMessage sets the SMSMessage field's value. -func (s *MessageConfiguration) SetSMSMessage(v *CampaignSmsMessage) *MessageConfiguration { - s.SMSMessage = v - return s -} - // Send message request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MessageRequest type MessageRequest struct { @@ -10988,30 +7868,6 @@ func (s MessageRequest) GoString() string { return s.String() } -// SetAddresses sets the Addresses field's value. -func (s *MessageRequest) SetAddresses(v map[string]AddressConfiguration) *MessageRequest { - s.Addresses = v - return s -} - -// SetContext sets the Context field's value. -func (s *MessageRequest) SetContext(v map[string]string) *MessageRequest { - s.Context = v - return s -} - -// SetEndpoints sets the Endpoints field's value. -func (s *MessageRequest) SetEndpoints(v map[string]EndpointSendConfiguration) *MessageRequest { - s.Endpoints = v - return s -} - -// SetMessageConfiguration sets the MessageConfiguration field's value. -func (s *MessageRequest) SetMessageConfiguration(v *DirectMessageConfiguration) *MessageRequest { - s.MessageConfiguration = v - return s -} - // Send message response. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MessageResponse type MessageResponse struct { @@ -11043,30 +7899,6 @@ func (s MessageResponse) GoString() string { return s.String() } -// SetApplicationId sets the ApplicationId field's value. -func (s *MessageResponse) SetApplicationId(v string) *MessageResponse { - s.ApplicationId = &v - return s -} - -// SetEndpointResult sets the EndpointResult field's value. -func (s *MessageResponse) SetEndpointResult(v map[string]EndpointMessageResult) *MessageResponse { - s.EndpointResult = v - return s -} - -// SetRequestId sets the RequestId field's value. -func (s *MessageResponse) SetRequestId(v string) *MessageResponse { - s.RequestId = &v - return s -} - -// SetResult sets the Result field's value. -func (s *MessageResponse) SetResult(v map[string]MessageResult) *MessageResponse { - s.Result = v - return s -} - // The result from sending a message to an address. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MessageResult type MessageResult struct { @@ -11095,30 +7927,6 @@ func (s MessageResult) GoString() string { return s.String() } -// SetDeliveryStatus sets the DeliveryStatus field's value. -func (s *MessageResult) SetDeliveryStatus(v DeliveryStatus) *MessageResult { - s.DeliveryStatus = v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *MessageResult) SetStatusCode(v int64) *MessageResult { - s.StatusCode = &v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *MessageResult) SetStatusMessage(v string) *MessageResult { - s.StatusMessage = &v - return s -} - -// SetUpdatedToken sets the UpdatedToken field's value. -func (s *MessageResult) SetUpdatedToken(v string) *MessageResult { - s.UpdatedToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEventStreamRequest type PutEventStreamInput struct { _ struct{} `type:"structure" payload:"WriteEventStream"` @@ -11162,18 +7970,6 @@ func (s *PutEventStreamInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *PutEventStreamInput) SetApplicationId(v string) *PutEventStreamInput { - s.ApplicationId = &v - return s -} - -// SetWriteEventStream sets the WriteEventStream field's value. -func (s *PutEventStreamInput) SetWriteEventStream(v *WriteEventStream) *PutEventStreamInput { - s.WriteEventStream = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEventStreamResponse type PutEventStreamOutput struct { _ struct{} `type:"structure" payload:"EventStream"` @@ -11201,12 +7997,6 @@ func (s PutEventStreamOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventStream sets the EventStream field's value. -func (s *PutEventStreamOutput) SetEventStream(v *EventStream) *PutEventStreamOutput { - s.EventStream = v - return s -} - // Quiet Time // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/QuietTime type QuietTime struct { @@ -11229,18 +8019,6 @@ func (s QuietTime) GoString() string { return s.String() } -// SetEnd sets the End field's value. -func (s *QuietTime) SetEnd(v string) *QuietTime { - s.End = &v - return s -} - -// SetStart sets the Start field's value. -func (s *QuietTime) SetStart(v string) *QuietTime { - s.Start = &v - return s -} - // Define how a segment based on recency of use. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/RecencyDimension type RecencyDimension struct { @@ -11266,18 +8044,6 @@ func (s RecencyDimension) GoString() string { return s.String() } -// SetDuration sets the Duration field's value. -func (s *RecencyDimension) SetDuration(v Duration) *RecencyDimension { - s.Duration = v - return s -} - -// SetRecencyType sets the RecencyType field's value. -func (s *RecencyDimension) SetRecencyType(v RecencyType) *RecencyDimension { - s.RecencyType = v - return s -} - // SMS Channel Request // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SMSChannelRequest type SMSChannelRequest struct { @@ -11303,24 +8069,6 @@ func (s SMSChannelRequest) GoString() string { return s.String() } -// SetEnabled sets the Enabled field's value. -func (s *SMSChannelRequest) SetEnabled(v bool) *SMSChannelRequest { - s.Enabled = &v - return s -} - -// SetSenderId sets the SenderId field's value. -func (s *SMSChannelRequest) SetSenderId(v string) *SMSChannelRequest { - s.SenderId = &v - return s -} - -// SetShortCode sets the ShortCode field's value. -func (s *SMSChannelRequest) SetShortCode(v string) *SMSChannelRequest { - s.ShortCode = &v - return s -} - // SMS Channel Response. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SMSChannelResponse type SMSChannelResponse struct { @@ -11373,78 +8121,6 @@ func (s SMSChannelResponse) GoString() string { return s.String() } -// SetApplicationId sets the ApplicationId field's value. -func (s *SMSChannelResponse) SetApplicationId(v string) *SMSChannelResponse { - s.ApplicationId = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *SMSChannelResponse) SetCreationDate(v string) *SMSChannelResponse { - s.CreationDate = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *SMSChannelResponse) SetEnabled(v bool) *SMSChannelResponse { - s.Enabled = &v - return s -} - -// SetHasCredential sets the HasCredential field's value. -func (s *SMSChannelResponse) SetHasCredential(v bool) *SMSChannelResponse { - s.HasCredential = &v - return s -} - -// SetId sets the Id field's value. -func (s *SMSChannelResponse) SetId(v string) *SMSChannelResponse { - s.Id = &v - return s -} - -// SetIsArchived sets the IsArchived field's value. -func (s *SMSChannelResponse) SetIsArchived(v bool) *SMSChannelResponse { - s.IsArchived = &v - return s -} - -// SetLastModifiedBy sets the LastModifiedBy field's value. -func (s *SMSChannelResponse) SetLastModifiedBy(v string) *SMSChannelResponse { - s.LastModifiedBy = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *SMSChannelResponse) SetLastModifiedDate(v string) *SMSChannelResponse { - s.LastModifiedDate = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *SMSChannelResponse) SetPlatform(v string) *SMSChannelResponse { - s.Platform = &v - return s -} - -// SetSenderId sets the SenderId field's value. -func (s *SMSChannelResponse) SetSenderId(v string) *SMSChannelResponse { - s.SenderId = &v - return s -} - -// SetShortCode sets the ShortCode field's value. -func (s *SMSChannelResponse) SetShortCode(v string) *SMSChannelResponse { - s.ShortCode = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *SMSChannelResponse) SetVersion(v int64) *SMSChannelResponse { - s.Version = &v - return s -} - // SMS Message. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SMSMessage type SMSMessage struct { @@ -11462,38 +8138,14 @@ type SMSMessage struct { Substitutions map[string][]string `type:"map"` } -// String returns the string representation -func (s SMSMessage) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s SMSMessage) GoString() string { - return s.String() -} - -// SetBody sets the Body field's value. -func (s *SMSMessage) SetBody(v string) *SMSMessage { - s.Body = &v - return s -} - -// SetMessageType sets the MessageType field's value. -func (s *SMSMessage) SetMessageType(v MessageType) *SMSMessage { - s.MessageType = v - return s -} - -// SetSenderId sets the SenderId field's value. -func (s *SMSMessage) SetSenderId(v string) *SMSMessage { - s.SenderId = &v - return s +// String returns the string representation +func (s SMSMessage) String() string { + return awsutil.Prettify(s) } -// SetSubstitutions sets the Substitutions field's value. -func (s *SMSMessage) SetSubstitutions(v map[string][]string) *SMSMessage { - s.Substitutions = v - return s +// GoString returns the string representation +func (s SMSMessage) GoString() string { + return s.String() } // Shcedule that defines when a campaign is run. @@ -11533,42 +8185,6 @@ func (s Schedule) GoString() string { return s.String() } -// SetEndTime sets the EndTime field's value. -func (s *Schedule) SetEndTime(v string) *Schedule { - s.EndTime = &v - return s -} - -// SetFrequency sets the Frequency field's value. -func (s *Schedule) SetFrequency(v Frequency) *Schedule { - s.Frequency = v - return s -} - -// SetIsLocalTime sets the IsLocalTime field's value. -func (s *Schedule) SetIsLocalTime(v bool) *Schedule { - s.IsLocalTime = &v - return s -} - -// SetQuietTime sets the QuietTime field's value. -func (s *Schedule) SetQuietTime(v *QuietTime) *Schedule { - s.QuietTime = v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *Schedule) SetStartTime(v string) *Schedule { - s.StartTime = &v - return s -} - -// SetTimezone sets the Timezone field's value. -func (s *Schedule) SetTimezone(v string) *Schedule { - s.Timezone = &v - return s -} - // Segment behavior dimensions // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentBehaviors type SegmentBehaviors struct { @@ -11588,12 +8204,6 @@ func (s SegmentBehaviors) GoString() string { return s.String() } -// SetRecency sets the Recency field's value. -func (s *SegmentBehaviors) SetRecency(v *RecencyDimension) *SegmentBehaviors { - s.Recency = v - return s -} - // Segment demographic dimensions // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentDemographics type SegmentDemographics struct { @@ -11628,42 +8238,6 @@ func (s SegmentDemographics) GoString() string { return s.String() } -// SetAppVersion sets the AppVersion field's value. -func (s *SegmentDemographics) SetAppVersion(v *SetDimension) *SegmentDemographics { - s.AppVersion = v - return s -} - -// SetChannel sets the Channel field's value. -func (s *SegmentDemographics) SetChannel(v *SetDimension) *SegmentDemographics { - s.Channel = v - return s -} - -// SetDeviceType sets the DeviceType field's value. -func (s *SegmentDemographics) SetDeviceType(v *SetDimension) *SegmentDemographics { - s.DeviceType = v - return s -} - -// SetMake sets the Make field's value. -func (s *SegmentDemographics) SetMake(v *SetDimension) *SegmentDemographics { - s.Make = v - return s -} - -// SetModel sets the Model field's value. -func (s *SegmentDemographics) SetModel(v *SetDimension) *SegmentDemographics { - s.Model = v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *SegmentDemographics) SetPlatform(v *SetDimension) *SegmentDemographics { - s.Platform = v - return s -} - // Segment dimensions // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentDimensions type SegmentDimensions struct { @@ -11695,36 +8269,6 @@ func (s SegmentDimensions) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *SegmentDimensions) SetAttributes(v map[string]AttributeDimension) *SegmentDimensions { - s.Attributes = v - return s -} - -// SetBehavior sets the Behavior field's value. -func (s *SegmentDimensions) SetBehavior(v *SegmentBehaviors) *SegmentDimensions { - s.Behavior = v - return s -} - -// SetDemographic sets the Demographic field's value. -func (s *SegmentDimensions) SetDemographic(v *SegmentDemographics) *SegmentDimensions { - s.Demographic = v - return s -} - -// SetLocation sets the Location field's value. -func (s *SegmentDimensions) SetLocation(v *SegmentLocation) *SegmentDimensions { - s.Location = v - return s -} - -// SetUserAttributes sets the UserAttributes field's value. -func (s *SegmentDimensions) SetUserAttributes(v map[string]AttributeDimension) *SegmentDimensions { - s.UserAttributes = v - return s -} - // Segment import definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentImportResource type SegmentImportResource struct { @@ -11762,42 +8306,6 @@ func (s SegmentImportResource) GoString() string { return s.String() } -// SetChannelCounts sets the ChannelCounts field's value. -func (s *SegmentImportResource) SetChannelCounts(v map[string]int64) *SegmentImportResource { - s.ChannelCounts = v - return s -} - -// SetExternalId sets the ExternalId field's value. -func (s *SegmentImportResource) SetExternalId(v string) *SegmentImportResource { - s.ExternalId = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *SegmentImportResource) SetFormat(v Format) *SegmentImportResource { - s.Format = v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *SegmentImportResource) SetRoleArn(v string) *SegmentImportResource { - s.RoleArn = &v - return s -} - -// SetS3Url sets the S3Url field's value. -func (s *SegmentImportResource) SetS3Url(v string) *SegmentImportResource { - s.S3Url = &v - return s -} - -// SetSize sets the Size field's value. -func (s *SegmentImportResource) SetSize(v int64) *SegmentImportResource { - s.Size = &v - return s -} - // Segment location dimensions // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentLocation type SegmentLocation struct { @@ -11817,12 +8325,6 @@ func (s SegmentLocation) GoString() string { return s.String() } -// SetCountry sets the Country field's value. -func (s *SegmentLocation) SetCountry(v *SetDimension) *SegmentLocation { - s.Country = v - return s -} - // Segment definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentResponse type SegmentResponse struct { @@ -11872,60 +8374,6 @@ func (s SegmentResponse) GoString() string { return s.String() } -// SetApplicationId sets the ApplicationId field's value. -func (s *SegmentResponse) SetApplicationId(v string) *SegmentResponse { - s.ApplicationId = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *SegmentResponse) SetCreationDate(v string) *SegmentResponse { - s.CreationDate = &v - return s -} - -// SetDimensions sets the Dimensions field's value. -func (s *SegmentResponse) SetDimensions(v *SegmentDimensions) *SegmentResponse { - s.Dimensions = v - return s -} - -// SetId sets the Id field's value. -func (s *SegmentResponse) SetId(v string) *SegmentResponse { - s.Id = &v - return s -} - -// SetImportDefinition sets the ImportDefinition field's value. -func (s *SegmentResponse) SetImportDefinition(v *SegmentImportResource) *SegmentResponse { - s.ImportDefinition = v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *SegmentResponse) SetLastModifiedDate(v string) *SegmentResponse { - s.LastModifiedDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *SegmentResponse) SetName(v string) *SegmentResponse { - s.Name = &v - return s -} - -// SetSegmentType sets the SegmentType field's value. -func (s *SegmentResponse) SetSegmentType(v SegmentType) *SegmentResponse { - s.SegmentType = v - return s -} - -// SetVersion sets the Version field's value. -func (s *SegmentResponse) SetVersion(v int64) *SegmentResponse { - s.Version = &v - return s -} - // Segments in your account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SegmentsResponse type SegmentsResponse struct { @@ -11949,18 +8397,6 @@ func (s SegmentsResponse) GoString() string { return s.String() } -// SetItem sets the Item field's value. -func (s *SegmentsResponse) SetItem(v []SegmentResponse) *SegmentsResponse { - s.Item = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *SegmentsResponse) SetNextToken(v string) *SegmentsResponse { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendMessagesRequest type SendMessagesInput struct { _ struct{} `type:"structure" payload:"MessageRequest"` @@ -12002,18 +8438,6 @@ func (s *SendMessagesInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *SendMessagesInput) SetApplicationId(v string) *SendMessagesInput { - s.ApplicationId = &v - return s -} - -// SetMessageRequest sets the MessageRequest field's value. -func (s *SendMessagesInput) SetMessageRequest(v *MessageRequest) *SendMessagesInput { - s.MessageRequest = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendMessagesResponse type SendMessagesOutput struct { _ struct{} `type:"structure" payload:"MessageResponse"` @@ -12041,12 +8465,6 @@ func (s SendMessagesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMessageResponse sets the MessageResponse field's value. -func (s *SendMessagesOutput) SetMessageResponse(v *MessageResponse) *SendMessagesOutput { - s.MessageResponse = v - return s -} - // Send message request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessageRequest type SendUsersMessageRequest struct { @@ -12072,24 +8490,6 @@ func (s SendUsersMessageRequest) GoString() string { return s.String() } -// SetContext sets the Context field's value. -func (s *SendUsersMessageRequest) SetContext(v map[string]string) *SendUsersMessageRequest { - s.Context = v - return s -} - -// SetMessageConfiguration sets the MessageConfiguration field's value. -func (s *SendUsersMessageRequest) SetMessageConfiguration(v *DirectMessageConfiguration) *SendUsersMessageRequest { - s.MessageConfiguration = v - return s -} - -// SetUsers sets the Users field's value. -func (s *SendUsersMessageRequest) SetUsers(v map[string]EndpointSendConfiguration) *SendUsersMessageRequest { - s.Users = v - return s -} - // User send message response. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessageResponse type SendUsersMessageResponse struct { @@ -12115,24 +8515,6 @@ func (s SendUsersMessageResponse) GoString() string { return s.String() } -// SetApplicationId sets the ApplicationId field's value. -func (s *SendUsersMessageResponse) SetApplicationId(v string) *SendUsersMessageResponse { - s.ApplicationId = &v - return s -} - -// SetRequestId sets the RequestId field's value. -func (s *SendUsersMessageResponse) SetRequestId(v string) *SendUsersMessageResponse { - s.RequestId = &v - return s -} - -// SetResult sets the Result field's value. -func (s *SendUsersMessageResponse) SetResult(v map[string]map[string]EndpointMessageResult) *SendUsersMessageResponse { - s.Result = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessagesRequest type SendUsersMessagesInput struct { _ struct{} `type:"structure" payload:"SendUsersMessageRequest"` @@ -12174,18 +8556,6 @@ func (s *SendUsersMessagesInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *SendUsersMessagesInput) SetApplicationId(v string) *SendUsersMessagesInput { - s.ApplicationId = &v - return s -} - -// SetSendUsersMessageRequest sets the SendUsersMessageRequest field's value. -func (s *SendUsersMessagesInput) SetSendUsersMessageRequest(v *SendUsersMessageRequest) *SendUsersMessagesInput { - s.SendUsersMessageRequest = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessagesResponse type SendUsersMessagesOutput struct { _ struct{} `type:"structure" payload:"SendUsersMessageResponse"` @@ -12213,12 +8583,6 @@ func (s SendUsersMessagesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSendUsersMessageResponse sets the SendUsersMessageResponse field's value. -func (s *SendUsersMessagesOutput) SetSendUsersMessageResponse(v *SendUsersMessageResponse) *SendUsersMessagesOutput { - s.SendUsersMessageResponse = v - return s -} - // Dimension specification of a segment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SetDimension type SetDimension struct { @@ -12242,18 +8606,6 @@ func (s SetDimension) GoString() string { return s.String() } -// SetDimensionType sets the DimensionType field's value. -func (s *SetDimension) SetDimensionType(v DimensionType) *SetDimension { - s.DimensionType = v - return s -} - -// SetValues sets the Values field's value. -func (s *SetDimension) SetValues(v []string) *SetDimension { - s.Values = v - return s -} - // Treatment resource // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/TreatmentResource type TreatmentResource struct { @@ -12291,48 +8643,6 @@ func (s TreatmentResource) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *TreatmentResource) SetId(v string) *TreatmentResource { - s.Id = &v - return s -} - -// SetMessageConfiguration sets the MessageConfiguration field's value. -func (s *TreatmentResource) SetMessageConfiguration(v *MessageConfiguration) *TreatmentResource { - s.MessageConfiguration = v - return s -} - -// SetSchedule sets the Schedule field's value. -func (s *TreatmentResource) SetSchedule(v *Schedule) *TreatmentResource { - s.Schedule = v - return s -} - -// SetSizePercent sets the SizePercent field's value. -func (s *TreatmentResource) SetSizePercent(v int64) *TreatmentResource { - s.SizePercent = &v - return s -} - -// SetState sets the State field's value. -func (s *TreatmentResource) SetState(v *CampaignState) *TreatmentResource { - s.State = v - return s -} - -// SetTreatmentDescription sets the TreatmentDescription field's value. -func (s *TreatmentResource) SetTreatmentDescription(v string) *TreatmentResource { - s.TreatmentDescription = &v - return s -} - -// SetTreatmentName sets the TreatmentName field's value. -func (s *TreatmentResource) SetTreatmentName(v string) *TreatmentResource { - s.TreatmentName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateAdmChannelRequest type UpdateAdmChannelInput struct { _ struct{} `type:"structure" payload:"ADMChannelRequest"` @@ -12374,18 +8684,6 @@ func (s *UpdateAdmChannelInput) Validate() error { return nil } -// SetADMChannelRequest sets the ADMChannelRequest field's value. -func (s *UpdateAdmChannelInput) SetADMChannelRequest(v *ADMChannelRequest) *UpdateAdmChannelInput { - s.ADMChannelRequest = v - return s -} - -// SetApplicationId sets the ApplicationId field's value. -func (s *UpdateAdmChannelInput) SetApplicationId(v string) *UpdateAdmChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateAdmChannelResponse type UpdateAdmChannelOutput struct { _ struct{} `type:"structure" payload:"ADMChannelResponse"` @@ -12413,12 +8711,6 @@ func (s UpdateAdmChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetADMChannelResponse sets the ADMChannelResponse field's value. -func (s *UpdateAdmChannelOutput) SetADMChannelResponse(v *ADMChannelResponse) *UpdateAdmChannelOutput { - s.ADMChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsChannelRequest type UpdateApnsChannelInput struct { _ struct{} `type:"structure" payload:"APNSChannelRequest"` @@ -12460,18 +8752,6 @@ func (s *UpdateApnsChannelInput) Validate() error { return nil } -// SetAPNSChannelRequest sets the APNSChannelRequest field's value. -func (s *UpdateApnsChannelInput) SetAPNSChannelRequest(v *APNSChannelRequest) *UpdateApnsChannelInput { - s.APNSChannelRequest = v - return s -} - -// SetApplicationId sets the ApplicationId field's value. -func (s *UpdateApnsChannelInput) SetApplicationId(v string) *UpdateApnsChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsChannelResponse type UpdateApnsChannelOutput struct { _ struct{} `type:"structure" payload:"APNSChannelResponse"` @@ -12499,12 +8779,6 @@ func (s UpdateApnsChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAPNSChannelResponse sets the APNSChannelResponse field's value. -func (s *UpdateApnsChannelOutput) SetAPNSChannelResponse(v *APNSChannelResponse) *UpdateApnsChannelOutput { - s.APNSChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsSandboxChannelRequest type UpdateApnsSandboxChannelInput struct { _ struct{} `type:"structure" payload:"APNSSandboxChannelRequest"` @@ -12546,18 +8820,6 @@ func (s *UpdateApnsSandboxChannelInput) Validate() error { return nil } -// SetAPNSSandboxChannelRequest sets the APNSSandboxChannelRequest field's value. -func (s *UpdateApnsSandboxChannelInput) SetAPNSSandboxChannelRequest(v *APNSSandboxChannelRequest) *UpdateApnsSandboxChannelInput { - s.APNSSandboxChannelRequest = v - return s -} - -// SetApplicationId sets the ApplicationId field's value. -func (s *UpdateApnsSandboxChannelInput) SetApplicationId(v string) *UpdateApnsSandboxChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsSandboxChannelResponse type UpdateApnsSandboxChannelOutput struct { _ struct{} `type:"structure" payload:"APNSSandboxChannelResponse"` @@ -12585,12 +8847,6 @@ func (s UpdateApnsSandboxChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAPNSSandboxChannelResponse sets the APNSSandboxChannelResponse field's value. -func (s *UpdateApnsSandboxChannelOutput) SetAPNSSandboxChannelResponse(v *APNSSandboxChannelResponse) *UpdateApnsSandboxChannelOutput { - s.APNSSandboxChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipChannelRequest type UpdateApnsVoipChannelInput struct { _ struct{} `type:"structure" payload:"APNSVoipChannelRequest"` @@ -12632,18 +8888,6 @@ func (s *UpdateApnsVoipChannelInput) Validate() error { return nil } -// SetAPNSVoipChannelRequest sets the APNSVoipChannelRequest field's value. -func (s *UpdateApnsVoipChannelInput) SetAPNSVoipChannelRequest(v *APNSVoipChannelRequest) *UpdateApnsVoipChannelInput { - s.APNSVoipChannelRequest = v - return s -} - -// SetApplicationId sets the ApplicationId field's value. -func (s *UpdateApnsVoipChannelInput) SetApplicationId(v string) *UpdateApnsVoipChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipChannelResponse type UpdateApnsVoipChannelOutput struct { _ struct{} `type:"structure" payload:"APNSVoipChannelResponse"` @@ -12671,12 +8915,6 @@ func (s UpdateApnsVoipChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAPNSVoipChannelResponse sets the APNSVoipChannelResponse field's value. -func (s *UpdateApnsVoipChannelOutput) SetAPNSVoipChannelResponse(v *APNSVoipChannelResponse) *UpdateApnsVoipChannelOutput { - s.APNSVoipChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipSandboxChannelRequest type UpdateApnsVoipSandboxChannelInput struct { _ struct{} `type:"structure" payload:"APNSVoipSandboxChannelRequest"` @@ -12718,18 +8956,6 @@ func (s *UpdateApnsVoipSandboxChannelInput) Validate() error { return nil } -// SetAPNSVoipSandboxChannelRequest sets the APNSVoipSandboxChannelRequest field's value. -func (s *UpdateApnsVoipSandboxChannelInput) SetAPNSVoipSandboxChannelRequest(v *APNSVoipSandboxChannelRequest) *UpdateApnsVoipSandboxChannelInput { - s.APNSVoipSandboxChannelRequest = v - return s -} - -// SetApplicationId sets the ApplicationId field's value. -func (s *UpdateApnsVoipSandboxChannelInput) SetApplicationId(v string) *UpdateApnsVoipSandboxChannelInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipSandboxChannelResponse type UpdateApnsVoipSandboxChannelOutput struct { _ struct{} `type:"structure" payload:"APNSVoipSandboxChannelResponse"` @@ -12757,12 +8983,6 @@ func (s UpdateApnsVoipSandboxChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAPNSVoipSandboxChannelResponse sets the APNSVoipSandboxChannelResponse field's value. -func (s *UpdateApnsVoipSandboxChannelOutput) SetAPNSVoipSandboxChannelResponse(v *APNSVoipSandboxChannelResponse) *UpdateApnsVoipSandboxChannelOutput { - s.APNSVoipSandboxChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApplicationSettingsRequest type UpdateApplicationSettingsInput struct { _ struct{} `type:"structure" payload:"WriteApplicationSettingsRequest"` @@ -12804,18 +9024,6 @@ func (s *UpdateApplicationSettingsInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *UpdateApplicationSettingsInput) SetApplicationId(v string) *UpdateApplicationSettingsInput { - s.ApplicationId = &v - return s -} - -// SetWriteApplicationSettingsRequest sets the WriteApplicationSettingsRequest field's value. -func (s *UpdateApplicationSettingsInput) SetWriteApplicationSettingsRequest(v *WriteApplicationSettingsRequest) *UpdateApplicationSettingsInput { - s.WriteApplicationSettingsRequest = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApplicationSettingsResponse type UpdateApplicationSettingsOutput struct { _ struct{} `type:"structure" payload:"ApplicationSettingsResource"` @@ -12843,12 +9051,6 @@ func (s UpdateApplicationSettingsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationSettingsResource sets the ApplicationSettingsResource field's value. -func (s *UpdateApplicationSettingsOutput) SetApplicationSettingsResource(v *ApplicationSettingsResource) *UpdateApplicationSettingsOutput { - s.ApplicationSettingsResource = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateBaiduChannelRequest type UpdateBaiduChannelInput struct { _ struct{} `type:"structure" payload:"BaiduChannelRequest"` @@ -12890,18 +9092,6 @@ func (s *UpdateBaiduChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *UpdateBaiduChannelInput) SetApplicationId(v string) *UpdateBaiduChannelInput { - s.ApplicationId = &v - return s -} - -// SetBaiduChannelRequest sets the BaiduChannelRequest field's value. -func (s *UpdateBaiduChannelInput) SetBaiduChannelRequest(v *BaiduChannelRequest) *UpdateBaiduChannelInput { - s.BaiduChannelRequest = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateBaiduChannelResponse type UpdateBaiduChannelOutput struct { _ struct{} `type:"structure" payload:"BaiduChannelResponse"` @@ -12929,12 +9119,6 @@ func (s UpdateBaiduChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBaiduChannelResponse sets the BaiduChannelResponse field's value. -func (s *UpdateBaiduChannelOutput) SetBaiduChannelResponse(v *BaiduChannelResponse) *UpdateBaiduChannelOutput { - s.BaiduChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateCampaignRequest type UpdateCampaignInput struct { _ struct{} `type:"structure" payload:"WriteCampaignRequest"` @@ -12983,24 +9167,6 @@ func (s *UpdateCampaignInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *UpdateCampaignInput) SetApplicationId(v string) *UpdateCampaignInput { - s.ApplicationId = &v - return s -} - -// SetCampaignId sets the CampaignId field's value. -func (s *UpdateCampaignInput) SetCampaignId(v string) *UpdateCampaignInput { - s.CampaignId = &v - return s -} - -// SetWriteCampaignRequest sets the WriteCampaignRequest field's value. -func (s *UpdateCampaignInput) SetWriteCampaignRequest(v *WriteCampaignRequest) *UpdateCampaignInput { - s.WriteCampaignRequest = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateCampaignResponse type UpdateCampaignOutput struct { _ struct{} `type:"structure" payload:"CampaignResponse"` @@ -13028,12 +9194,6 @@ func (s UpdateCampaignOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCampaignResponse sets the CampaignResponse field's value. -func (s *UpdateCampaignOutput) SetCampaignResponse(v *CampaignResponse) *UpdateCampaignOutput { - s.CampaignResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEmailChannelRequest type UpdateEmailChannelInput struct { _ struct{} `type:"structure" payload:"EmailChannelRequest"` @@ -13075,18 +9235,6 @@ func (s *UpdateEmailChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *UpdateEmailChannelInput) SetApplicationId(v string) *UpdateEmailChannelInput { - s.ApplicationId = &v - return s -} - -// SetEmailChannelRequest sets the EmailChannelRequest field's value. -func (s *UpdateEmailChannelInput) SetEmailChannelRequest(v *EmailChannelRequest) *UpdateEmailChannelInput { - s.EmailChannelRequest = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEmailChannelResponse type UpdateEmailChannelOutput struct { _ struct{} `type:"structure" payload:"EmailChannelResponse"` @@ -13114,12 +9262,6 @@ func (s UpdateEmailChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEmailChannelResponse sets the EmailChannelResponse field's value. -func (s *UpdateEmailChannelOutput) SetEmailChannelResponse(v *EmailChannelResponse) *UpdateEmailChannelOutput { - s.EmailChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpointRequest type UpdateEndpointInput struct { _ struct{} `type:"structure" payload:"EndpointRequest"` @@ -13168,24 +9310,6 @@ func (s *UpdateEndpointInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *UpdateEndpointInput) SetApplicationId(v string) *UpdateEndpointInput { - s.ApplicationId = &v - return s -} - -// SetEndpointId sets the EndpointId field's value. -func (s *UpdateEndpointInput) SetEndpointId(v string) *UpdateEndpointInput { - s.EndpointId = &v - return s -} - -// SetEndpointRequest sets the EndpointRequest field's value. -func (s *UpdateEndpointInput) SetEndpointRequest(v *EndpointRequest) *UpdateEndpointInput { - s.EndpointRequest = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpointResponse type UpdateEndpointOutput struct { _ struct{} `type:"structure" payload:"MessageBody"` @@ -13213,12 +9337,6 @@ func (s UpdateEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMessageBody sets the MessageBody field's value. -func (s *UpdateEndpointOutput) SetMessageBody(v *MessageBody) *UpdateEndpointOutput { - s.MessageBody = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpointsBatchRequest type UpdateEndpointsBatchInput struct { _ struct{} `type:"structure" payload:"EndpointBatchRequest"` @@ -13260,18 +9378,6 @@ func (s *UpdateEndpointsBatchInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *UpdateEndpointsBatchInput) SetApplicationId(v string) *UpdateEndpointsBatchInput { - s.ApplicationId = &v - return s -} - -// SetEndpointBatchRequest sets the EndpointBatchRequest field's value. -func (s *UpdateEndpointsBatchInput) SetEndpointBatchRequest(v *EndpointBatchRequest) *UpdateEndpointsBatchInput { - s.EndpointBatchRequest = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpointsBatchResponse type UpdateEndpointsBatchOutput struct { _ struct{} `type:"structure" payload:"MessageBody"` @@ -13299,12 +9405,6 @@ func (s UpdateEndpointsBatchOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMessageBody sets the MessageBody field's value. -func (s *UpdateEndpointsBatchOutput) SetMessageBody(v *MessageBody) *UpdateEndpointsBatchOutput { - s.MessageBody = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateGcmChannelRequest type UpdateGcmChannelInput struct { _ struct{} `type:"structure" payload:"GCMChannelRequest"` @@ -13346,18 +9446,6 @@ func (s *UpdateGcmChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *UpdateGcmChannelInput) SetApplicationId(v string) *UpdateGcmChannelInput { - s.ApplicationId = &v - return s -} - -// SetGCMChannelRequest sets the GCMChannelRequest field's value. -func (s *UpdateGcmChannelInput) SetGCMChannelRequest(v *GCMChannelRequest) *UpdateGcmChannelInput { - s.GCMChannelRequest = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateGcmChannelResponse type UpdateGcmChannelOutput struct { _ struct{} `type:"structure" payload:"GCMChannelResponse"` @@ -13385,12 +9473,6 @@ func (s UpdateGcmChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGCMChannelResponse sets the GCMChannelResponse field's value. -func (s *UpdateGcmChannelOutput) SetGCMChannelResponse(v *GCMChannelResponse) *UpdateGcmChannelOutput { - s.GCMChannelResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSegmentRequest type UpdateSegmentInput struct { _ struct{} `type:"structure" payload:"WriteSegmentRequest"` @@ -13439,24 +9521,6 @@ func (s *UpdateSegmentInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *UpdateSegmentInput) SetApplicationId(v string) *UpdateSegmentInput { - s.ApplicationId = &v - return s -} - -// SetSegmentId sets the SegmentId field's value. -func (s *UpdateSegmentInput) SetSegmentId(v string) *UpdateSegmentInput { - s.SegmentId = &v - return s -} - -// SetWriteSegmentRequest sets the WriteSegmentRequest field's value. -func (s *UpdateSegmentInput) SetWriteSegmentRequest(v *WriteSegmentRequest) *UpdateSegmentInput { - s.WriteSegmentRequest = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSegmentResponse type UpdateSegmentOutput struct { _ struct{} `type:"structure" payload:"SegmentResponse"` @@ -13484,12 +9548,6 @@ func (s UpdateSegmentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSegmentResponse sets the SegmentResponse field's value. -func (s *UpdateSegmentOutput) SetSegmentResponse(v *SegmentResponse) *UpdateSegmentOutput { - s.SegmentResponse = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSmsChannelRequest type UpdateSmsChannelInput struct { _ struct{} `type:"structure" payload:"SMSChannelRequest"` @@ -13531,18 +9589,6 @@ func (s *UpdateSmsChannelInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *UpdateSmsChannelInput) SetApplicationId(v string) *UpdateSmsChannelInput { - s.ApplicationId = &v - return s -} - -// SetSMSChannelRequest sets the SMSChannelRequest field's value. -func (s *UpdateSmsChannelInput) SetSMSChannelRequest(v *SMSChannelRequest) *UpdateSmsChannelInput { - s.SMSChannelRequest = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSmsChannelResponse type UpdateSmsChannelOutput struct { _ struct{} `type:"structure" payload:"SMSChannelResponse"` @@ -13570,12 +9616,6 @@ func (s UpdateSmsChannelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSMSChannelResponse sets the SMSChannelResponse field's value. -func (s *UpdateSmsChannelOutput) SetSMSChannelResponse(v *SMSChannelResponse) *UpdateSmsChannelOutput { - s.SMSChannelResponse = v - return s -} - // Creating application setting request // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteApplicationSettingsRequest type WriteApplicationSettingsRequest struct { @@ -13602,18 +9642,6 @@ func (s WriteApplicationSettingsRequest) GoString() string { return s.String() } -// SetLimits sets the Limits field's value. -func (s *WriteApplicationSettingsRequest) SetLimits(v *CampaignLimits) *WriteApplicationSettingsRequest { - s.Limits = v - return s -} - -// SetQuietTime sets the QuietTime field's value. -func (s *WriteApplicationSettingsRequest) SetQuietTime(v *QuietTime) *WriteApplicationSettingsRequest { - s.QuietTime = v - return s -} - // Used to create a campaign. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteCampaignRequest type WriteCampaignRequest struct { @@ -13668,78 +9696,6 @@ func (s WriteCampaignRequest) GoString() string { return s.String() } -// SetAdditionalTreatments sets the AdditionalTreatments field's value. -func (s *WriteCampaignRequest) SetAdditionalTreatments(v []WriteTreatmentResource) *WriteCampaignRequest { - s.AdditionalTreatments = v - return s -} - -// SetDescription sets the Description field's value. -func (s *WriteCampaignRequest) SetDescription(v string) *WriteCampaignRequest { - s.Description = &v - return s -} - -// SetHoldoutPercent sets the HoldoutPercent field's value. -func (s *WriteCampaignRequest) SetHoldoutPercent(v int64) *WriteCampaignRequest { - s.HoldoutPercent = &v - return s -} - -// SetIsPaused sets the IsPaused field's value. -func (s *WriteCampaignRequest) SetIsPaused(v bool) *WriteCampaignRequest { - s.IsPaused = &v - return s -} - -// SetLimits sets the Limits field's value. -func (s *WriteCampaignRequest) SetLimits(v *CampaignLimits) *WriteCampaignRequest { - s.Limits = v - return s -} - -// SetMessageConfiguration sets the MessageConfiguration field's value. -func (s *WriteCampaignRequest) SetMessageConfiguration(v *MessageConfiguration) *WriteCampaignRequest { - s.MessageConfiguration = v - return s -} - -// SetName sets the Name field's value. -func (s *WriteCampaignRequest) SetName(v string) *WriteCampaignRequest { - s.Name = &v - return s -} - -// SetSchedule sets the Schedule field's value. -func (s *WriteCampaignRequest) SetSchedule(v *Schedule) *WriteCampaignRequest { - s.Schedule = v - return s -} - -// SetSegmentId sets the SegmentId field's value. -func (s *WriteCampaignRequest) SetSegmentId(v string) *WriteCampaignRequest { - s.SegmentId = &v - return s -} - -// SetSegmentVersion sets the SegmentVersion field's value. -func (s *WriteCampaignRequest) SetSegmentVersion(v int64) *WriteCampaignRequest { - s.SegmentVersion = &v - return s -} - -// SetTreatmentDescription sets the TreatmentDescription field's value. -func (s *WriteCampaignRequest) SetTreatmentDescription(v string) *WriteCampaignRequest { - s.TreatmentDescription = &v - return s -} - -// SetTreatmentName sets the TreatmentName field's value. -func (s *WriteCampaignRequest) SetTreatmentName(v string) *WriteCampaignRequest { - s.TreatmentName = &v - return s -} - // Request to save an EventStream. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteEventStream type WriteEventStream struct { @@ -13765,18 +9721,6 @@ func (s WriteEventStream) GoString() string { return s.String() } -// SetDestinationStreamArn sets the DestinationStreamArn field's value. -func (s *WriteEventStream) SetDestinationStreamArn(v string) *WriteEventStream { - s.DestinationStreamArn = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *WriteEventStream) SetRoleArn(v string) *WriteEventStream { - s.RoleArn = &v - return s -} - // Segment definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteSegmentRequest type WriteSegmentRequest struct { @@ -13799,18 +9743,6 @@ func (s WriteSegmentRequest) GoString() string { return s.String() } -// SetDimensions sets the Dimensions field's value. -func (s *WriteSegmentRequest) SetDimensions(v *SegmentDimensions) *WriteSegmentRequest { - s.Dimensions = v - return s -} - -// SetName sets the Name field's value. -func (s *WriteSegmentRequest) SetName(v string) *WriteSegmentRequest { - s.Name = &v - return s -} - // Used to create a campaign treatment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteTreatmentResource type WriteTreatmentResource struct { @@ -13842,36 +9774,6 @@ func (s WriteTreatmentResource) GoString() string { return s.String() } -// SetMessageConfiguration sets the MessageConfiguration field's value. -func (s *WriteTreatmentResource) SetMessageConfiguration(v *MessageConfiguration) *WriteTreatmentResource { - s.MessageConfiguration = v - return s -} - -// SetSchedule sets the Schedule field's value. -func (s *WriteTreatmentResource) SetSchedule(v *Schedule) *WriteTreatmentResource { - s.Schedule = v - return s -} - -// SetSizePercent sets the SizePercent field's value. -func (s *WriteTreatmentResource) SetSizePercent(v int64) *WriteTreatmentResource { - s.SizePercent = &v - return s -} - -// SetTreatmentDescription sets the TreatmentDescription field's value. -func (s *WriteTreatmentResource) SetTreatmentDescription(v string) *WriteTreatmentResource { - s.TreatmentDescription = &v - return s -} - -// SetTreatmentName sets the TreatmentName field's value. -func (s *WriteTreatmentResource) SetTreatmentName(v string) *WriteTreatmentResource { - s.TreatmentName = &v - return s -} - type Action string // Enum values for Action diff --git a/service/polly/api.go b/service/polly/api.go index 0494254e47e..5db164e8ed4 100644 --- a/service/polly/api.go +++ b/service/polly/api.go @@ -369,12 +369,6 @@ func (s *DeleteLexiconInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteLexiconInput) SetName(v string) *DeleteLexiconInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/DeleteLexiconOutput type DeleteLexiconOutput struct { _ struct{} `type:"structure"` @@ -421,18 +415,6 @@ func (s DescribeVoicesInput) GoString() string { return s.String() } -// SetLanguageCode sets the LanguageCode field's value. -func (s *DescribeVoicesInput) SetLanguageCode(v LanguageCode) *DescribeVoicesInput { - s.LanguageCode = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeVoicesInput) SetNextToken(v string) *DescribeVoicesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/DescribeVoicesOutput type DescribeVoicesOutput struct { _ struct{} `type:"structure"` @@ -462,18 +444,6 @@ func (s DescribeVoicesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeVoicesOutput) SetNextToken(v string) *DescribeVoicesOutput { - s.NextToken = &v - return s -} - -// SetVoices sets the Voices field's value. -func (s *DescribeVoicesOutput) SetVoices(v []Voice) *DescribeVoicesOutput { - s.Voices = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/GetLexiconInput type GetLexiconInput struct { _ struct{} `type:"structure"` @@ -508,12 +478,6 @@ func (s *GetLexiconInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *GetLexiconInput) SetName(v string) *GetLexiconInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/GetLexiconOutput type GetLexiconOutput struct { _ struct{} `type:"structure"` @@ -544,18 +508,6 @@ func (s GetLexiconOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLexicon sets the Lexicon field's value. -func (s *GetLexiconOutput) SetLexicon(v *Lexicon) *GetLexiconOutput { - s.Lexicon = v - return s -} - -// SetLexiconAttributes sets the LexiconAttributes field's value. -func (s *GetLexiconOutput) SetLexiconAttributes(v *LexiconAttributes) *GetLexiconOutput { - s.LexiconAttributes = v - return s -} - // Provides lexicon name and lexicon content in string format. For more information, // see Pronunciation Lexicon Specification (PLS) Version 1.0 (https://www.w3.org/TR/pronunciation-lexicon/). // Please also see https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/Lexicon @@ -580,18 +532,6 @@ func (s Lexicon) GoString() string { return s.String() } -// SetContent sets the Content field's value. -func (s *Lexicon) SetContent(v string) *Lexicon { - s.Content = &v - return s -} - -// SetName sets the Name field's value. -func (s *Lexicon) SetName(v string) *Lexicon { - s.Name = &v - return s -} - // Contains metadata describing the lexicon such as the number of lexemes, language // code, and so on. For more information, see Managing Lexicons (http://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html). // Please also see https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/LexiconAttributes @@ -629,42 +569,6 @@ func (s LexiconAttributes) GoString() string { return s.String() } -// SetAlphabet sets the Alphabet field's value. -func (s *LexiconAttributes) SetAlphabet(v string) *LexiconAttributes { - s.Alphabet = &v - return s -} - -// SetLanguageCode sets the LanguageCode field's value. -func (s *LexiconAttributes) SetLanguageCode(v LanguageCode) *LexiconAttributes { - s.LanguageCode = v - return s -} - -// SetLastModified sets the LastModified field's value. -func (s *LexiconAttributes) SetLastModified(v time.Time) *LexiconAttributes { - s.LastModified = &v - return s -} - -// SetLexemesCount sets the LexemesCount field's value. -func (s *LexiconAttributes) SetLexemesCount(v int64) *LexiconAttributes { - s.LexemesCount = &v - return s -} - -// SetLexiconArn sets the LexiconArn field's value. -func (s *LexiconAttributes) SetLexiconArn(v string) *LexiconAttributes { - s.LexiconArn = &v - return s -} - -// SetSize sets the Size field's value. -func (s *LexiconAttributes) SetSize(v int64) *LexiconAttributes { - s.Size = &v - return s -} - // Describes the content of the lexicon. // Please also see https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/LexiconDescription type LexiconDescription struct { @@ -687,18 +591,6 @@ func (s LexiconDescription) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *LexiconDescription) SetAttributes(v *LexiconAttributes) *LexiconDescription { - s.Attributes = v - return s -} - -// SetName sets the Name field's value. -func (s *LexiconDescription) SetName(v string) *LexiconDescription { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/ListLexiconsInput type ListLexiconsInput struct { _ struct{} `type:"structure"` @@ -718,12 +610,6 @@ func (s ListLexiconsInput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListLexiconsInput) SetNextToken(v string) *ListLexiconsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/ListLexiconsOutput type ListLexiconsOutput struct { _ struct{} `type:"structure"` @@ -753,18 +639,6 @@ func (s ListLexiconsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLexicons sets the Lexicons field's value. -func (s *ListLexiconsOutput) SetLexicons(v []LexiconDescription) *ListLexiconsOutput { - s.Lexicons = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListLexiconsOutput) SetNextToken(v string) *ListLexiconsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/PutLexiconInput type PutLexiconInput struct { _ struct{} `type:"structure"` @@ -810,18 +684,6 @@ func (s *PutLexiconInput) Validate() error { return nil } -// SetContent sets the Content field's value. -func (s *PutLexiconInput) SetContent(v string) *PutLexiconInput { - s.Content = &v - return s -} - -// SetName sets the Name field's value. -func (s *PutLexiconInput) SetName(v string) *PutLexiconInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/PutLexiconOutput type PutLexiconOutput struct { _ struct{} `type:"structure"` @@ -919,48 +781,6 @@ func (s *SynthesizeSpeechInput) Validate() error { return nil } -// SetLexiconNames sets the LexiconNames field's value. -func (s *SynthesizeSpeechInput) SetLexiconNames(v []string) *SynthesizeSpeechInput { - s.LexiconNames = v - return s -} - -// SetOutputFormat sets the OutputFormat field's value. -func (s *SynthesizeSpeechInput) SetOutputFormat(v OutputFormat) *SynthesizeSpeechInput { - s.OutputFormat = v - return s -} - -// SetSampleRate sets the SampleRate field's value. -func (s *SynthesizeSpeechInput) SetSampleRate(v string) *SynthesizeSpeechInput { - s.SampleRate = &v - return s -} - -// SetSpeechMarkTypes sets the SpeechMarkTypes field's value. -func (s *SynthesizeSpeechInput) SetSpeechMarkTypes(v []SpeechMarkType) *SynthesizeSpeechInput { - s.SpeechMarkTypes = v - return s -} - -// SetText sets the Text field's value. -func (s *SynthesizeSpeechInput) SetText(v string) *SynthesizeSpeechInput { - s.Text = &v - return s -} - -// SetTextType sets the TextType field's value. -func (s *SynthesizeSpeechInput) SetTextType(v TextType) *SynthesizeSpeechInput { - s.TextType = v - return s -} - -// SetVoiceId sets the VoiceId field's value. -func (s *SynthesizeSpeechInput) SetVoiceId(v VoiceId) *SynthesizeSpeechInput { - s.VoiceId = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/SynthesizeSpeechOutput type SynthesizeSpeechOutput struct { _ struct{} `type:"structure" payload:"AudioStream"` @@ -1006,24 +826,6 @@ func (s SynthesizeSpeechOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAudioStream sets the AudioStream field's value. -func (s *SynthesizeSpeechOutput) SetAudioStream(v io.ReadCloser) *SynthesizeSpeechOutput { - s.AudioStream = v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *SynthesizeSpeechOutput) SetContentType(v string) *SynthesizeSpeechOutput { - s.ContentType = &v - return s -} - -// SetRequestCharacters sets the RequestCharacters field's value. -func (s *SynthesizeSpeechOutput) SetRequestCharacters(v int64) *SynthesizeSpeechOutput { - s.RequestCharacters = &v - return s -} - // Description of the voice. // Please also see https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/Voice type Voice struct { @@ -1057,36 +859,6 @@ func (s Voice) GoString() string { return s.String() } -// SetGender sets the Gender field's value. -func (s *Voice) SetGender(v Gender) *Voice { - s.Gender = v - return s -} - -// SetId sets the Id field's value. -func (s *Voice) SetId(v VoiceId) *Voice { - s.Id = v - return s -} - -// SetLanguageCode sets the LanguageCode field's value. -func (s *Voice) SetLanguageCode(v LanguageCode) *Voice { - s.LanguageCode = v - return s -} - -// SetLanguageName sets the LanguageName field's value. -func (s *Voice) SetLanguageName(v string) *Voice { - s.LanguageName = &v - return s -} - -// SetName sets the Name field's value. -func (s *Voice) SetName(v string) *Voice { - s.Name = &v - return s -} - type Gender string // Enum values for Gender diff --git a/service/pricing/api.go b/service/pricing/api.go index c85c24b2db7..18018b8b215 100644 --- a/service/pricing/api.go +++ b/service/pricing/api.go @@ -352,12 +352,6 @@ func (s AttributeValue) GoString() string { return s.String() } -// SetValue sets the Value field's value. -func (s *AttributeValue) SetValue(v string) *AttributeValue { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/DescribeServicesRequest type DescribeServicesInput struct { _ struct{} `type:"structure"` @@ -403,30 +397,6 @@ func (s *DescribeServicesInput) Validate() error { return nil } -// SetFormatVersion sets the FormatVersion field's value. -func (s *DescribeServicesInput) SetFormatVersion(v string) *DescribeServicesInput { - s.FormatVersion = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeServicesInput) SetMaxResults(v int64) *DescribeServicesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeServicesInput) SetNextToken(v string) *DescribeServicesInput { - s.NextToken = &v - return s -} - -// SetServiceCode sets the ServiceCode field's value. -func (s *DescribeServicesInput) SetServiceCode(v string) *DescribeServicesInput { - s.ServiceCode = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/DescribeServicesResponse type DescribeServicesOutput struct { _ struct{} `type:"structure"` @@ -458,24 +428,6 @@ func (s DescribeServicesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFormatVersion sets the FormatVersion field's value. -func (s *DescribeServicesOutput) SetFormatVersion(v string) *DescribeServicesOutput { - s.FormatVersion = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeServicesOutput) SetNextToken(v string) *DescribeServicesOutput { - s.NextToken = &v - return s -} - -// SetServices sets the Services field's value. -func (s *DescribeServicesOutput) SetServices(v []Service) *DescribeServicesOutput { - s.Services = v - return s -} - // The constraints that you want all returned products to match. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/Filter type Filter struct { @@ -543,24 +495,6 @@ func (s *Filter) Validate() error { return nil } -// SetField sets the Field field's value. -func (s *Filter) SetField(v string) *Filter { - s.Field = &v - return s -} - -// SetType sets the Type field's value. -func (s *Filter) SetType(v FilterType) *Filter { - s.Type = v - return s -} - -// SetValue sets the Value field's value. -func (s *Filter) SetValue(v string) *Filter { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/GetAttributeValuesRequest type GetAttributeValuesInput struct { _ struct{} `type:"structure"` @@ -616,30 +550,6 @@ func (s *GetAttributeValuesInput) Validate() error { return nil } -// SetAttributeName sets the AttributeName field's value. -func (s *GetAttributeValuesInput) SetAttributeName(v string) *GetAttributeValuesInput { - s.AttributeName = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetAttributeValuesInput) SetMaxResults(v int64) *GetAttributeValuesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetAttributeValuesInput) SetNextToken(v string) *GetAttributeValuesInput { - s.NextToken = &v - return s -} - -// SetServiceCode sets the ServiceCode field's value. -func (s *GetAttributeValuesInput) SetServiceCode(v string) *GetAttributeValuesInput { - s.ServiceCode = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/GetAttributeValuesResponse type GetAttributeValuesOutput struct { _ struct{} `type:"structure"` @@ -669,18 +579,6 @@ func (s GetAttributeValuesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributeValues sets the AttributeValues field's value. -func (s *GetAttributeValuesOutput) SetAttributeValues(v []AttributeValue) *GetAttributeValuesOutput { - s.AttributeValues = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetAttributeValuesOutput) SetNextToken(v string) *GetAttributeValuesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/GetProductsRequest type GetProductsInput struct { _ struct{} `type:"structure"` @@ -735,36 +633,6 @@ func (s *GetProductsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *GetProductsInput) SetFilters(v []Filter) *GetProductsInput { - s.Filters = v - return s -} - -// SetFormatVersion sets the FormatVersion field's value. -func (s *GetProductsInput) SetFormatVersion(v string) *GetProductsInput { - s.FormatVersion = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetProductsInput) SetMaxResults(v int64) *GetProductsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetProductsInput) SetNextToken(v string) *GetProductsInput { - s.NextToken = &v - return s -} - -// SetServiceCode sets the ServiceCode field's value. -func (s *GetProductsInput) SetServiceCode(v string) *GetProductsInput { - s.ServiceCode = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/GetProductsResponse type GetProductsOutput struct { _ struct{} `type:"structure"` @@ -797,24 +665,6 @@ func (s GetProductsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFormatVersion sets the FormatVersion field's value. -func (s *GetProductsOutput) SetFormatVersion(v string) *GetProductsOutput { - s.FormatVersion = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetProductsOutput) SetNextToken(v string) *GetProductsOutput { - s.NextToken = &v - return s -} - -// SetPriceList sets the PriceList field's value. -func (s *GetProductsOutput) SetPriceList(v []aws.JSONValue) *GetProductsOutput { - s.PriceList = v - return s -} - // The metadata for a service, such as the service code and available attribute // names. // Please also see https://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/Service @@ -838,18 +688,6 @@ func (s Service) GoString() string { return s.String() } -// SetAttributeNames sets the AttributeNames field's value. -func (s *Service) SetAttributeNames(v []string) *Service { - s.AttributeNames = v - return s -} - -// SetServiceCode sets the ServiceCode field's value. -func (s *Service) SetServiceCode(v string) *Service { - s.ServiceCode = &v - return s -} - type FilterType string // Enum values for FilterType diff --git a/service/rds/api.go b/service/rds/api.go index c0f2719a6da..be3286eafd4 100644 --- a/service/rds/api.go +++ b/service/rds/api.go @@ -5983,24 +5983,6 @@ func (s AccountQuota) GoString() string { return s.String() } -// SetAccountQuotaName sets the AccountQuotaName field's value. -func (s *AccountQuota) SetAccountQuotaName(v string) *AccountQuota { - s.AccountQuotaName = &v - return s -} - -// SetMax sets the Max field's value. -func (s *AccountQuota) SetMax(v int64) *AccountQuota { - s.Max = &v - return s -} - -// SetUsed sets the Used field's value. -func (s *AccountQuota) SetUsed(v int64) *AccountQuota { - s.Used = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBClusterMessage type AddRoleToDBClusterInput struct { _ struct{} `type:"structure"` @@ -6045,18 +6027,6 @@ func (s *AddRoleToDBClusterInput) Validate() error { return nil } -// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. -func (s *AddRoleToDBClusterInput) SetDBClusterIdentifier(v string) *AddRoleToDBClusterInput { - s.DBClusterIdentifier = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *AddRoleToDBClusterInput) SetRoleArn(v string) *AddRoleToDBClusterInput { - s.RoleArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBClusterOutput type AddRoleToDBClusterOutput struct { _ struct{} `type:"structure"` @@ -6137,18 +6107,6 @@ func (s *AddSourceIdentifierToSubscriptionInput) Validate() error { return nil } -// SetSourceIdentifier sets the SourceIdentifier field's value. -func (s *AddSourceIdentifierToSubscriptionInput) SetSourceIdentifier(v string) *AddSourceIdentifierToSubscriptionInput { - s.SourceIdentifier = &v - return s -} - -// SetSubscriptionName sets the SubscriptionName field's value. -func (s *AddSourceIdentifierToSubscriptionInput) SetSubscriptionName(v string) *AddSourceIdentifierToSubscriptionInput { - s.SubscriptionName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddSourceIdentifierToSubscriptionResult type AddSourceIdentifierToSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -6175,12 +6133,6 @@ func (s AddSourceIdentifierToSubscriptionOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetEventSubscription sets the EventSubscription field's value. -func (s *AddSourceIdentifierToSubscriptionOutput) SetEventSubscription(v *EventSubscription) *AddSourceIdentifierToSubscriptionOutput { - s.EventSubscription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddTagsToResourceMessage type AddTagsToResourceInput struct { _ struct{} `type:"structure"` @@ -6226,18 +6178,6 @@ func (s *AddTagsToResourceInput) Validate() error { return nil } -// SetResourceName sets the ResourceName field's value. -func (s *AddTagsToResourceInput) SetResourceName(v string) *AddTagsToResourceInput { - s.ResourceName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *AddTagsToResourceInput) SetTags(v []Tag) *AddTagsToResourceInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddTagsToResourceOutput type AddTagsToResourceOutput struct { _ struct{} `type:"structure"` @@ -6326,24 +6266,6 @@ func (s *ApplyPendingMaintenanceActionInput) Validate() error { return nil } -// SetApplyAction sets the ApplyAction field's value. -func (s *ApplyPendingMaintenanceActionInput) SetApplyAction(v string) *ApplyPendingMaintenanceActionInput { - s.ApplyAction = &v - return s -} - -// SetOptInType sets the OptInType field's value. -func (s *ApplyPendingMaintenanceActionInput) SetOptInType(v string) *ApplyPendingMaintenanceActionInput { - s.OptInType = &v - return s -} - -// SetResourceIdentifier sets the ResourceIdentifier field's value. -func (s *ApplyPendingMaintenanceActionInput) SetResourceIdentifier(v string) *ApplyPendingMaintenanceActionInput { - s.ResourceIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ApplyPendingMaintenanceActionResult type ApplyPendingMaintenanceActionOutput struct { _ struct{} `type:"structure"` @@ -6369,12 +6291,6 @@ func (s ApplyPendingMaintenanceActionOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetResourcePendingMaintenanceActions sets the ResourcePendingMaintenanceActions field's value. -func (s *ApplyPendingMaintenanceActionOutput) SetResourcePendingMaintenanceActions(v *ResourcePendingMaintenanceActions) *ApplyPendingMaintenanceActionOutput { - s.ResourcePendingMaintenanceActions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AuthorizeDBSecurityGroupIngressMessage type AuthorizeDBSecurityGroupIngressInput struct { _ struct{} `type:"structure"` @@ -6429,36 +6345,6 @@ func (s *AuthorizeDBSecurityGroupIngressInput) Validate() error { return nil } -// SetCIDRIP sets the CIDRIP field's value. -func (s *AuthorizeDBSecurityGroupIngressInput) SetCIDRIP(v string) *AuthorizeDBSecurityGroupIngressInput { - s.CIDRIP = &v - return s -} - -// SetDBSecurityGroupName sets the DBSecurityGroupName field's value. -func (s *AuthorizeDBSecurityGroupIngressInput) SetDBSecurityGroupName(v string) *AuthorizeDBSecurityGroupIngressInput { - s.DBSecurityGroupName = &v - return s -} - -// SetEC2SecurityGroupId sets the EC2SecurityGroupId field's value. -func (s *AuthorizeDBSecurityGroupIngressInput) SetEC2SecurityGroupId(v string) *AuthorizeDBSecurityGroupIngressInput { - s.EC2SecurityGroupId = &v - return s -} - -// SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value. -func (s *AuthorizeDBSecurityGroupIngressInput) SetEC2SecurityGroupName(v string) *AuthorizeDBSecurityGroupIngressInput { - s.EC2SecurityGroupName = &v - return s -} - -// SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value. -func (s *AuthorizeDBSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v string) *AuthorizeDBSecurityGroupIngressInput { - s.EC2SecurityGroupOwnerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AuthorizeDBSecurityGroupIngressResult type AuthorizeDBSecurityGroupIngressOutput struct { _ struct{} `type:"structure"` @@ -6487,12 +6373,6 @@ func (s AuthorizeDBSecurityGroupIngressOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetDBSecurityGroup sets the DBSecurityGroup field's value. -func (s *AuthorizeDBSecurityGroupIngressOutput) SetDBSecurityGroup(v *DBSecurityGroup) *AuthorizeDBSecurityGroupIngressOutput { - s.DBSecurityGroup = v - return s -} - // Contains Availability Zone information. // // This data type is used as an element in the following data type: @@ -6516,12 +6396,6 @@ func (s AvailabilityZone) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *AvailabilityZone) SetName(v string) *AvailabilityZone { - s.Name = &v - return s -} - // A CA certificate for an AWS account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Certificate type Certificate struct { @@ -6556,42 +6430,6 @@ func (s Certificate) GoString() string { return s.String() } -// SetCertificateArn sets the CertificateArn field's value. -func (s *Certificate) SetCertificateArn(v string) *Certificate { - s.CertificateArn = &v - return s -} - -// SetCertificateIdentifier sets the CertificateIdentifier field's value. -func (s *Certificate) SetCertificateIdentifier(v string) *Certificate { - s.CertificateIdentifier = &v - return s -} - -// SetCertificateType sets the CertificateType field's value. -func (s *Certificate) SetCertificateType(v string) *Certificate { - s.CertificateType = &v - return s -} - -// SetThumbprint sets the Thumbprint field's value. -func (s *Certificate) SetThumbprint(v string) *Certificate { - s.Thumbprint = &v - return s -} - -// SetValidFrom sets the ValidFrom field's value. -func (s *Certificate) SetValidFrom(v time.Time) *Certificate { - s.ValidFrom = &v - return s -} - -// SetValidTill sets the ValidTill field's value. -func (s *Certificate) SetValidTill(v time.Time) *Certificate { - s.ValidTill = &v - return s -} - // This data type is used as a response element in the action DescribeDBEngineVersions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CharacterSet type CharacterSet struct { @@ -6614,18 +6452,6 @@ func (s CharacterSet) GoString() string { return s.String() } -// SetCharacterSetDescription sets the CharacterSetDescription field's value. -func (s *CharacterSet) SetCharacterSetDescription(v string) *CharacterSet { - s.CharacterSetDescription = &v - return s -} - -// SetCharacterSetName sets the CharacterSetName field's value. -func (s *CharacterSet) SetCharacterSetName(v string) *CharacterSet { - s.CharacterSetName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterParameterGroupMessage type CopyDBClusterParameterGroupInput struct { _ struct{} `type:"structure"` @@ -6706,30 +6532,6 @@ func (s *CopyDBClusterParameterGroupInput) Validate() error { return nil } -// SetSourceDBClusterParameterGroupIdentifier sets the SourceDBClusterParameterGroupIdentifier field's value. -func (s *CopyDBClusterParameterGroupInput) SetSourceDBClusterParameterGroupIdentifier(v string) *CopyDBClusterParameterGroupInput { - s.SourceDBClusterParameterGroupIdentifier = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CopyDBClusterParameterGroupInput) SetTags(v []Tag) *CopyDBClusterParameterGroupInput { - s.Tags = v - return s -} - -// SetTargetDBClusterParameterGroupDescription sets the TargetDBClusterParameterGroupDescription field's value. -func (s *CopyDBClusterParameterGroupInput) SetTargetDBClusterParameterGroupDescription(v string) *CopyDBClusterParameterGroupInput { - s.TargetDBClusterParameterGroupDescription = &v - return s -} - -// SetTargetDBClusterParameterGroupIdentifier sets the TargetDBClusterParameterGroupIdentifier field's value. -func (s *CopyDBClusterParameterGroupInput) SetTargetDBClusterParameterGroupIdentifier(v string) *CopyDBClusterParameterGroupInput { - s.TargetDBClusterParameterGroupIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterParameterGroupResult type CopyDBClusterParameterGroupOutput struct { _ struct{} `type:"structure"` @@ -6758,12 +6560,6 @@ func (s CopyDBClusterParameterGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBClusterParameterGroup sets the DBClusterParameterGroup field's value. -func (s *CopyDBClusterParameterGroupOutput) SetDBClusterParameterGroup(v *DBClusterParameterGroup) *CopyDBClusterParameterGroupOutput { - s.DBClusterParameterGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterSnapshotMessage type CopyDBClusterSnapshotInput struct { _ struct{} `type:"structure"` @@ -6904,54 +6700,6 @@ func (s *CopyDBClusterSnapshotInput) Validate() error { return nil } -// SetCopyTags sets the CopyTags field's value. -func (s *CopyDBClusterSnapshotInput) SetCopyTags(v bool) *CopyDBClusterSnapshotInput { - s.CopyTags = &v - return s -} - -// SetDestinationRegion sets the DestinationRegion field's value. -func (s *CopyDBClusterSnapshotInput) SetDestinationRegion(v string) *CopyDBClusterSnapshotInput { - s.DestinationRegion = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CopyDBClusterSnapshotInput) SetKmsKeyId(v string) *CopyDBClusterSnapshotInput { - s.KmsKeyId = &v - return s -} - -// SetPreSignedUrl sets the PreSignedUrl field's value. -func (s *CopyDBClusterSnapshotInput) SetPreSignedUrl(v string) *CopyDBClusterSnapshotInput { - s.PreSignedUrl = &v - return s -} - -// SetSourceDBClusterSnapshotIdentifier sets the SourceDBClusterSnapshotIdentifier field's value. -func (s *CopyDBClusterSnapshotInput) SetSourceDBClusterSnapshotIdentifier(v string) *CopyDBClusterSnapshotInput { - s.SourceDBClusterSnapshotIdentifier = &v - return s -} - -// SetSourceRegion sets the SourceRegion field's value. -func (s *CopyDBClusterSnapshotInput) SetSourceRegion(v string) *CopyDBClusterSnapshotInput { - s.SourceRegion = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CopyDBClusterSnapshotInput) SetTags(v []Tag) *CopyDBClusterSnapshotInput { - s.Tags = v - return s -} - -// SetTargetDBClusterSnapshotIdentifier sets the TargetDBClusterSnapshotIdentifier field's value. -func (s *CopyDBClusterSnapshotInput) SetTargetDBClusterSnapshotIdentifier(v string) *CopyDBClusterSnapshotInput { - s.TargetDBClusterSnapshotIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterSnapshotResult type CopyDBClusterSnapshotOutput struct { _ struct{} `type:"structure"` @@ -6980,12 +6728,6 @@ func (s CopyDBClusterSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBClusterSnapshot sets the DBClusterSnapshot field's value. -func (s *CopyDBClusterSnapshotOutput) SetDBClusterSnapshot(v *DBClusterSnapshot) *CopyDBClusterSnapshotOutput { - s.DBClusterSnapshot = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBParameterGroupMessage type CopyDBParameterGroupInput struct { _ struct{} `type:"structure"` @@ -7062,30 +6804,6 @@ func (s *CopyDBParameterGroupInput) Validate() error { return nil } -// SetSourceDBParameterGroupIdentifier sets the SourceDBParameterGroupIdentifier field's value. -func (s *CopyDBParameterGroupInput) SetSourceDBParameterGroupIdentifier(v string) *CopyDBParameterGroupInput { - s.SourceDBParameterGroupIdentifier = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CopyDBParameterGroupInput) SetTags(v []Tag) *CopyDBParameterGroupInput { - s.Tags = v - return s -} - -// SetTargetDBParameterGroupDescription sets the TargetDBParameterGroupDescription field's value. -func (s *CopyDBParameterGroupInput) SetTargetDBParameterGroupDescription(v string) *CopyDBParameterGroupInput { - s.TargetDBParameterGroupDescription = &v - return s -} - -// SetTargetDBParameterGroupIdentifier sets the TargetDBParameterGroupIdentifier field's value. -func (s *CopyDBParameterGroupInput) SetTargetDBParameterGroupIdentifier(v string) *CopyDBParameterGroupInput { - s.TargetDBParameterGroupIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBParameterGroupResult type CopyDBParameterGroupOutput struct { _ struct{} `type:"structure"` @@ -7114,12 +6832,6 @@ func (s CopyDBParameterGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBParameterGroup sets the DBParameterGroup field's value. -func (s *CopyDBParameterGroupOutput) SetDBParameterGroup(v *DBParameterGroup) *CopyDBParameterGroupOutput { - s.DBParameterGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshotMessage type CopyDBSnapshotInput struct { _ struct{} `type:"structure"` @@ -7284,60 +6996,6 @@ func (s *CopyDBSnapshotInput) Validate() error { return nil } -// SetCopyTags sets the CopyTags field's value. -func (s *CopyDBSnapshotInput) SetCopyTags(v bool) *CopyDBSnapshotInput { - s.CopyTags = &v - return s -} - -// SetDestinationRegion sets the DestinationRegion field's value. -func (s *CopyDBSnapshotInput) SetDestinationRegion(v string) *CopyDBSnapshotInput { - s.DestinationRegion = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CopyDBSnapshotInput) SetKmsKeyId(v string) *CopyDBSnapshotInput { - s.KmsKeyId = &v - return s -} - -// SetOptionGroupName sets the OptionGroupName field's value. -func (s *CopyDBSnapshotInput) SetOptionGroupName(v string) *CopyDBSnapshotInput { - s.OptionGroupName = &v - return s -} - -// SetPreSignedUrl sets the PreSignedUrl field's value. -func (s *CopyDBSnapshotInput) SetPreSignedUrl(v string) *CopyDBSnapshotInput { - s.PreSignedUrl = &v - return s -} - -// SetSourceDBSnapshotIdentifier sets the SourceDBSnapshotIdentifier field's value. -func (s *CopyDBSnapshotInput) SetSourceDBSnapshotIdentifier(v string) *CopyDBSnapshotInput { - s.SourceDBSnapshotIdentifier = &v - return s -} - -// SetSourceRegion sets the SourceRegion field's value. -func (s *CopyDBSnapshotInput) SetSourceRegion(v string) *CopyDBSnapshotInput { - s.SourceRegion = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CopyDBSnapshotInput) SetTags(v []Tag) *CopyDBSnapshotInput { - s.Tags = v - return s -} - -// SetTargetDBSnapshotIdentifier sets the TargetDBSnapshotIdentifier field's value. -func (s *CopyDBSnapshotInput) SetTargetDBSnapshotIdentifier(v string) *CopyDBSnapshotInput { - s.TargetDBSnapshotIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshotResult type CopyDBSnapshotOutput struct { _ struct{} `type:"structure"` @@ -7365,12 +7023,6 @@ func (s CopyDBSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBSnapshot sets the DBSnapshot field's value. -func (s *CopyDBSnapshotOutput) SetDBSnapshot(v *DBSnapshot) *CopyDBSnapshotOutput { - s.DBSnapshot = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyOptionGroupMessage type CopyOptionGroupInput struct { _ struct{} `type:"structure"` @@ -7450,30 +7102,6 @@ func (s *CopyOptionGroupInput) Validate() error { return nil } -// SetSourceOptionGroupIdentifier sets the SourceOptionGroupIdentifier field's value. -func (s *CopyOptionGroupInput) SetSourceOptionGroupIdentifier(v string) *CopyOptionGroupInput { - s.SourceOptionGroupIdentifier = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CopyOptionGroupInput) SetTags(v []Tag) *CopyOptionGroupInput { - s.Tags = v - return s -} - -// SetTargetOptionGroupDescription sets the TargetOptionGroupDescription field's value. -func (s *CopyOptionGroupInput) SetTargetOptionGroupDescription(v string) *CopyOptionGroupInput { - s.TargetOptionGroupDescription = &v - return s -} - -// SetTargetOptionGroupIdentifier sets the TargetOptionGroupIdentifier field's value. -func (s *CopyOptionGroupInput) SetTargetOptionGroupIdentifier(v string) *CopyOptionGroupInput { - s.TargetOptionGroupIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyOptionGroupResult type CopyOptionGroupOutput struct { _ struct{} `type:"structure"` @@ -7498,12 +7126,6 @@ func (s CopyOptionGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOptionGroup sets the OptionGroup field's value. -func (s *CopyOptionGroupOutput) SetOptionGroup(v *OptionGroup) *CopyOptionGroupOutput { - s.OptionGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterMessage type CreateDBClusterInput struct { _ struct{} `type:"structure"` @@ -7752,150 +7374,6 @@ func (s *CreateDBClusterInput) Validate() error { return nil } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *CreateDBClusterInput) SetAvailabilityZones(v []string) *CreateDBClusterInput { - s.AvailabilityZones = v - return s -} - -// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value. -func (s *CreateDBClusterInput) SetBackupRetentionPeriod(v int64) *CreateDBClusterInput { - s.BackupRetentionPeriod = &v - return s -} - -// SetCharacterSetName sets the CharacterSetName field's value. -func (s *CreateDBClusterInput) SetCharacterSetName(v string) *CreateDBClusterInput { - s.CharacterSetName = &v - return s -} - -// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. -func (s *CreateDBClusterInput) SetDBClusterIdentifier(v string) *CreateDBClusterInput { - s.DBClusterIdentifier = &v - return s -} - -// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value. -func (s *CreateDBClusterInput) SetDBClusterParameterGroupName(v string) *CreateDBClusterInput { - s.DBClusterParameterGroupName = &v - return s -} - -// SetDBSubnetGroupName sets the DBSubnetGroupName field's value. -func (s *CreateDBClusterInput) SetDBSubnetGroupName(v string) *CreateDBClusterInput { - s.DBSubnetGroupName = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *CreateDBClusterInput) SetDatabaseName(v string) *CreateDBClusterInput { - s.DatabaseName = &v - return s -} - -// SetDestinationRegion sets the DestinationRegion field's value. -func (s *CreateDBClusterInput) SetDestinationRegion(v string) *CreateDBClusterInput { - s.DestinationRegion = &v - return s -} - -// SetEnableIAMDatabaseAuthentication sets the EnableIAMDatabaseAuthentication field's value. -func (s *CreateDBClusterInput) SetEnableIAMDatabaseAuthentication(v bool) *CreateDBClusterInput { - s.EnableIAMDatabaseAuthentication = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *CreateDBClusterInput) SetEngine(v string) *CreateDBClusterInput { - s.Engine = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *CreateDBClusterInput) SetEngineVersion(v string) *CreateDBClusterInput { - s.EngineVersion = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CreateDBClusterInput) SetKmsKeyId(v string) *CreateDBClusterInput { - s.KmsKeyId = &v - return s -} - -// SetMasterUserPassword sets the MasterUserPassword field's value. -func (s *CreateDBClusterInput) SetMasterUserPassword(v string) *CreateDBClusterInput { - s.MasterUserPassword = &v - return s -} - -// SetMasterUsername sets the MasterUsername field's value. -func (s *CreateDBClusterInput) SetMasterUsername(v string) *CreateDBClusterInput { - s.MasterUsername = &v - return s -} - -// SetOptionGroupName sets the OptionGroupName field's value. -func (s *CreateDBClusterInput) SetOptionGroupName(v string) *CreateDBClusterInput { - s.OptionGroupName = &v - return s -} - -// SetPort sets the Port field's value. -func (s *CreateDBClusterInput) SetPort(v int64) *CreateDBClusterInput { - s.Port = &v - return s -} - -// SetPreSignedUrl sets the PreSignedUrl field's value. -func (s *CreateDBClusterInput) SetPreSignedUrl(v string) *CreateDBClusterInput { - s.PreSignedUrl = &v - return s -} - -// SetPreferredBackupWindow sets the PreferredBackupWindow field's value. -func (s *CreateDBClusterInput) SetPreferredBackupWindow(v string) *CreateDBClusterInput { - s.PreferredBackupWindow = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *CreateDBClusterInput) SetPreferredMaintenanceWindow(v string) *CreateDBClusterInput { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetReplicationSourceIdentifier sets the ReplicationSourceIdentifier field's value. -func (s *CreateDBClusterInput) SetReplicationSourceIdentifier(v string) *CreateDBClusterInput { - s.ReplicationSourceIdentifier = &v - return s -} - -// SetSourceRegion sets the SourceRegion field's value. -func (s *CreateDBClusterInput) SetSourceRegion(v string) *CreateDBClusterInput { - s.SourceRegion = &v - return s -} - -// SetStorageEncrypted sets the StorageEncrypted field's value. -func (s *CreateDBClusterInput) SetStorageEncrypted(v bool) *CreateDBClusterInput { - s.StorageEncrypted = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateDBClusterInput) SetTags(v []Tag) *CreateDBClusterInput { - s.Tags = v - return s -} - -// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value. -func (s *CreateDBClusterInput) SetVpcSecurityGroupIds(v []string) *CreateDBClusterInput { - s.VpcSecurityGroupIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterResult type CreateDBClusterOutput struct { _ struct{} `type:"structure"` @@ -7923,12 +7401,6 @@ func (s CreateDBClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBCluster sets the DBCluster field's value. -func (s *CreateDBClusterOutput) SetDBCluster(v *DBCluster) *CreateDBClusterOutput { - s.DBCluster = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterParameterGroupMessage type CreateDBClusterParameterGroupInput struct { _ struct{} `type:"structure"` @@ -7993,30 +7465,6 @@ func (s *CreateDBClusterParameterGroupInput) Validate() error { return nil } -// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value. -func (s *CreateDBClusterParameterGroupInput) SetDBClusterParameterGroupName(v string) *CreateDBClusterParameterGroupInput { - s.DBClusterParameterGroupName = &v - return s -} - -// SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value. -func (s *CreateDBClusterParameterGroupInput) SetDBParameterGroupFamily(v string) *CreateDBClusterParameterGroupInput { - s.DBParameterGroupFamily = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateDBClusterParameterGroupInput) SetDescription(v string) *CreateDBClusterParameterGroupInput { - s.Description = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateDBClusterParameterGroupInput) SetTags(v []Tag) *CreateDBClusterParameterGroupInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterParameterGroupResult type CreateDBClusterParameterGroupOutput struct { _ struct{} `type:"structure"` @@ -8045,12 +7493,6 @@ func (s CreateDBClusterParameterGroupOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetDBClusterParameterGroup sets the DBClusterParameterGroup field's value. -func (s *CreateDBClusterParameterGroupOutput) SetDBClusterParameterGroup(v *DBClusterParameterGroup) *CreateDBClusterParameterGroupOutput { - s.DBClusterParameterGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterSnapshotMessage type CreateDBClusterSnapshotInput struct { _ struct{} `type:"structure"` @@ -8115,24 +7557,6 @@ func (s *CreateDBClusterSnapshotInput) Validate() error { return nil } -// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. -func (s *CreateDBClusterSnapshotInput) SetDBClusterIdentifier(v string) *CreateDBClusterSnapshotInput { - s.DBClusterIdentifier = &v - return s -} - -// SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value. -func (s *CreateDBClusterSnapshotInput) SetDBClusterSnapshotIdentifier(v string) *CreateDBClusterSnapshotInput { - s.DBClusterSnapshotIdentifier = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateDBClusterSnapshotInput) SetTags(v []Tag) *CreateDBClusterSnapshotInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterSnapshotResult type CreateDBClusterSnapshotOutput struct { _ struct{} `type:"structure"` @@ -8161,12 +7585,6 @@ func (s CreateDBClusterSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBClusterSnapshot sets the DBClusterSnapshot field's value. -func (s *CreateDBClusterSnapshotOutput) SetDBClusterSnapshot(v *DBClusterSnapshot) *CreateDBClusterSnapshotOutput { - s.DBClusterSnapshot = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceMessage type CreateDBInstanceInput struct { _ struct{} `type:"structure"` @@ -8935,322 +8353,70 @@ func (s *CreateDBInstanceInput) Validate() error { return nil } -// SetAllocatedStorage sets the AllocatedStorage field's value. -func (s *CreateDBInstanceInput) SetAllocatedStorage(v int64) *CreateDBInstanceInput { - s.AllocatedStorage = &v - return s -} - -// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. -func (s *CreateDBInstanceInput) SetAutoMinorVersionUpgrade(v bool) *CreateDBInstanceInput { - s.AutoMinorVersionUpgrade = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *CreateDBInstanceInput) SetAvailabilityZone(v string) *CreateDBInstanceInput { - s.AvailabilityZone = &v - return s -} +// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceResult +type CreateDBInstanceOutput struct { + _ struct{} `type:"structure"` -// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value. -func (s *CreateDBInstanceInput) SetBackupRetentionPeriod(v int64) *CreateDBInstanceInput { - s.BackupRetentionPeriod = &v - return s -} + responseMetadata aws.Response -// SetCharacterSetName sets the CharacterSetName field's value. -func (s *CreateDBInstanceInput) SetCharacterSetName(v string) *CreateDBInstanceInput { - s.CharacterSetName = &v - return s + // Contains the details of an Amazon RDS DB instance. + // + // This data type is used as a response element in the DescribeDBInstances action. + DBInstance *DBInstance `type:"structure"` } -// SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value. -func (s *CreateDBInstanceInput) SetCopyTagsToSnapshot(v bool) *CreateDBInstanceInput { - s.CopyTagsToSnapshot = &v - return s +// String returns the string representation +func (s CreateDBInstanceOutput) String() string { + return awsutil.Prettify(s) } -// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. -func (s *CreateDBInstanceInput) SetDBClusterIdentifier(v string) *CreateDBInstanceInput { - s.DBClusterIdentifier = &v - return s +// GoString returns the string representation +func (s CreateDBInstanceOutput) GoString() string { + return s.String() } -// SetDBInstanceClass sets the DBInstanceClass field's value. -func (s *CreateDBInstanceInput) SetDBInstanceClass(v string) *CreateDBInstanceInput { - s.DBInstanceClass = &v - return s +// SDKResponseMetdata return sthe response metadata for the API. +func (s CreateDBInstanceOutput) SDKResponseMetadata() aws.Response { + return s.responseMetadata } -// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. -func (s *CreateDBInstanceInput) SetDBInstanceIdentifier(v string) *CreateDBInstanceInput { - s.DBInstanceIdentifier = &v - return s -} +// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplicaMessage +type CreateDBInstanceReadReplicaInput struct { + _ struct{} `type:"structure"` -// SetDBName sets the DBName field's value. -func (s *CreateDBInstanceInput) SetDBName(v string) *CreateDBInstanceInput { - s.DBName = &v - return s -} + // Indicates that minor engine upgrades are applied automatically to the Read + // Replica during the maintenance window. + // + // Default: Inherits from the source DB instance + AutoMinorVersionUpgrade *bool `type:"boolean"` -// SetDBParameterGroupName sets the DBParameterGroupName field's value. -func (s *CreateDBInstanceInput) SetDBParameterGroupName(v string) *CreateDBInstanceInput { - s.DBParameterGroupName = &v - return s -} + // The Amazon EC2 Availability Zone that the Read Replica is created in. + // + // Default: A random, system-chosen Availability Zone in the endpoint's AWS + // Region. + // + // Example: us-east-1d + AvailabilityZone *string `type:"string"` -// SetDBSecurityGroups sets the DBSecurityGroups field's value. -func (s *CreateDBInstanceInput) SetDBSecurityGroups(v []string) *CreateDBInstanceInput { - s.DBSecurityGroups = v - return s -} + // True to copy all tags from the Read Replica to snapshots of the Read Replica, + // and otherwise false. The default is false. + CopyTagsToSnapshot *bool `type:"boolean"` -// SetDBSubnetGroupName sets the DBSubnetGroupName field's value. -func (s *CreateDBInstanceInput) SetDBSubnetGroupName(v string) *CreateDBInstanceInput { - s.DBSubnetGroupName = &v - return s -} + // The compute and memory capacity of the Read Replica, for example, db.m4.large. + // Not all DB instance classes are available in all AWS Regions, or for all + // database engines. For the full list of DB instance classes, and availability + // for your engine, see DB Instance Class (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + // in the Amazon RDS User Guide. + // + // Default: Inherits from the source DB instance. + DBInstanceClass *string `type:"string"` -// SetDomain sets the Domain field's value. -func (s *CreateDBInstanceInput) SetDomain(v string) *CreateDBInstanceInput { - s.Domain = &v - return s -} - -// SetDomainIAMRoleName sets the DomainIAMRoleName field's value. -func (s *CreateDBInstanceInput) SetDomainIAMRoleName(v string) *CreateDBInstanceInput { - s.DomainIAMRoleName = &v - return s -} - -// SetEnableIAMDatabaseAuthentication sets the EnableIAMDatabaseAuthentication field's value. -func (s *CreateDBInstanceInput) SetEnableIAMDatabaseAuthentication(v bool) *CreateDBInstanceInput { - s.EnableIAMDatabaseAuthentication = &v - return s -} - -// SetEnablePerformanceInsights sets the EnablePerformanceInsights field's value. -func (s *CreateDBInstanceInput) SetEnablePerformanceInsights(v bool) *CreateDBInstanceInput { - s.EnablePerformanceInsights = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *CreateDBInstanceInput) SetEngine(v string) *CreateDBInstanceInput { - s.Engine = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *CreateDBInstanceInput) SetEngineVersion(v string) *CreateDBInstanceInput { - s.EngineVersion = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *CreateDBInstanceInput) SetIops(v int64) *CreateDBInstanceInput { - s.Iops = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CreateDBInstanceInput) SetKmsKeyId(v string) *CreateDBInstanceInput { - s.KmsKeyId = &v - return s -} - -// SetLicenseModel sets the LicenseModel field's value. -func (s *CreateDBInstanceInput) SetLicenseModel(v string) *CreateDBInstanceInput { - s.LicenseModel = &v - return s -} - -// SetMasterUserPassword sets the MasterUserPassword field's value. -func (s *CreateDBInstanceInput) SetMasterUserPassword(v string) *CreateDBInstanceInput { - s.MasterUserPassword = &v - return s -} - -// SetMasterUsername sets the MasterUsername field's value. -func (s *CreateDBInstanceInput) SetMasterUsername(v string) *CreateDBInstanceInput { - s.MasterUsername = &v - return s -} - -// SetMonitoringInterval sets the MonitoringInterval field's value. -func (s *CreateDBInstanceInput) SetMonitoringInterval(v int64) *CreateDBInstanceInput { - s.MonitoringInterval = &v - return s -} - -// SetMonitoringRoleArn sets the MonitoringRoleArn field's value. -func (s *CreateDBInstanceInput) SetMonitoringRoleArn(v string) *CreateDBInstanceInput { - s.MonitoringRoleArn = &v - return s -} - -// SetMultiAZ sets the MultiAZ field's value. -func (s *CreateDBInstanceInput) SetMultiAZ(v bool) *CreateDBInstanceInput { - s.MultiAZ = &v - return s -} - -// SetOptionGroupName sets the OptionGroupName field's value. -func (s *CreateDBInstanceInput) SetOptionGroupName(v string) *CreateDBInstanceInput { - s.OptionGroupName = &v - return s -} - -// SetPerformanceInsightsKMSKeyId sets the PerformanceInsightsKMSKeyId field's value. -func (s *CreateDBInstanceInput) SetPerformanceInsightsKMSKeyId(v string) *CreateDBInstanceInput { - s.PerformanceInsightsKMSKeyId = &v - return s -} - -// SetPort sets the Port field's value. -func (s *CreateDBInstanceInput) SetPort(v int64) *CreateDBInstanceInput { - s.Port = &v - return s -} - -// SetPreferredBackupWindow sets the PreferredBackupWindow field's value. -func (s *CreateDBInstanceInput) SetPreferredBackupWindow(v string) *CreateDBInstanceInput { - s.PreferredBackupWindow = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *CreateDBInstanceInput) SetPreferredMaintenanceWindow(v string) *CreateDBInstanceInput { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetPromotionTier sets the PromotionTier field's value. -func (s *CreateDBInstanceInput) SetPromotionTier(v int64) *CreateDBInstanceInput { - s.PromotionTier = &v - return s -} - -// SetPubliclyAccessible sets the PubliclyAccessible field's value. -func (s *CreateDBInstanceInput) SetPubliclyAccessible(v bool) *CreateDBInstanceInput { - s.PubliclyAccessible = &v - return s -} - -// SetStorageEncrypted sets the StorageEncrypted field's value. -func (s *CreateDBInstanceInput) SetStorageEncrypted(v bool) *CreateDBInstanceInput { - s.StorageEncrypted = &v - return s -} - -// SetStorageType sets the StorageType field's value. -func (s *CreateDBInstanceInput) SetStorageType(v string) *CreateDBInstanceInput { - s.StorageType = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateDBInstanceInput) SetTags(v []Tag) *CreateDBInstanceInput { - s.Tags = v - return s -} - -// SetTdeCredentialArn sets the TdeCredentialArn field's value. -func (s *CreateDBInstanceInput) SetTdeCredentialArn(v string) *CreateDBInstanceInput { - s.TdeCredentialArn = &v - return s -} - -// SetTdeCredentialPassword sets the TdeCredentialPassword field's value. -func (s *CreateDBInstanceInput) SetTdeCredentialPassword(v string) *CreateDBInstanceInput { - s.TdeCredentialPassword = &v - return s -} - -// SetTimezone sets the Timezone field's value. -func (s *CreateDBInstanceInput) SetTimezone(v string) *CreateDBInstanceInput { - s.Timezone = &v - return s -} - -// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value. -func (s *CreateDBInstanceInput) SetVpcSecurityGroupIds(v []string) *CreateDBInstanceInput { - s.VpcSecurityGroupIds = v - return s -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceResult -type CreateDBInstanceOutput struct { - _ struct{} `type:"structure"` - - responseMetadata aws.Response - - // Contains the details of an Amazon RDS DB instance. - // - // This data type is used as a response element in the DescribeDBInstances action. - DBInstance *DBInstance `type:"structure"` -} - -// String returns the string representation -func (s CreateDBInstanceOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s CreateDBInstanceOutput) GoString() string { - return s.String() -} - -// SDKResponseMetdata return sthe response metadata for the API. -func (s CreateDBInstanceOutput) SDKResponseMetadata() aws.Response { - return s.responseMetadata -} - -// SetDBInstance sets the DBInstance field's value. -func (s *CreateDBInstanceOutput) SetDBInstance(v *DBInstance) *CreateDBInstanceOutput { - s.DBInstance = v - return s -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplicaMessage -type CreateDBInstanceReadReplicaInput struct { - _ struct{} `type:"structure"` - - // Indicates that minor engine upgrades are applied automatically to the Read - // Replica during the maintenance window. - // - // Default: Inherits from the source DB instance - AutoMinorVersionUpgrade *bool `type:"boolean"` - - // The Amazon EC2 Availability Zone that the Read Replica is created in. - // - // Default: A random, system-chosen Availability Zone in the endpoint's AWS - // Region. - // - // Example: us-east-1d - AvailabilityZone *string `type:"string"` - - // True to copy all tags from the Read Replica to snapshots of the Read Replica, - // and otherwise false. The default is false. - CopyTagsToSnapshot *bool `type:"boolean"` - - // The compute and memory capacity of the Read Replica, for example, db.m4.large. - // Not all DB instance classes are available in all AWS Regions, or for all - // database engines. For the full list of DB instance classes, and availability - // for your engine, see DB Instance Class (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) - // in the Amazon RDS User Guide. - // - // Default: Inherits from the source DB instance. - DBInstanceClass *string `type:"string"` - - // The DB instance identifier of the Read Replica. This identifier is the unique - // key that identifies a DB instance. This parameter is stored as a lowercase - // string. - // - // DBInstanceIdentifier is a required field - DBInstanceIdentifier *string `type:"string" required:"true"` + // The DB instance identifier of the Read Replica. This identifier is the unique + // key that identifies a DB instance. This parameter is stored as a lowercase + // string. + // + // DBInstanceIdentifier is a required field + DBInstanceIdentifier *string `type:"string" required:"true"` // Specifies a DB subnet group for the DB instance. The new DB instance is created // in the VPC associated with the DB subnet group. If no DB subnet group is @@ -9492,144 +8658,6 @@ func (s *CreateDBInstanceReadReplicaInput) Validate() error { return nil } -// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. -func (s *CreateDBInstanceReadReplicaInput) SetAutoMinorVersionUpgrade(v bool) *CreateDBInstanceReadReplicaInput { - s.AutoMinorVersionUpgrade = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *CreateDBInstanceReadReplicaInput) SetAvailabilityZone(v string) *CreateDBInstanceReadReplicaInput { - s.AvailabilityZone = &v - return s -} - -// SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value. -func (s *CreateDBInstanceReadReplicaInput) SetCopyTagsToSnapshot(v bool) *CreateDBInstanceReadReplicaInput { - s.CopyTagsToSnapshot = &v - return s -} - -// SetDBInstanceClass sets the DBInstanceClass field's value. -func (s *CreateDBInstanceReadReplicaInput) SetDBInstanceClass(v string) *CreateDBInstanceReadReplicaInput { - s.DBInstanceClass = &v - return s -} - -// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. -func (s *CreateDBInstanceReadReplicaInput) SetDBInstanceIdentifier(v string) *CreateDBInstanceReadReplicaInput { - s.DBInstanceIdentifier = &v - return s -} - -// SetDBSubnetGroupName sets the DBSubnetGroupName field's value. -func (s *CreateDBInstanceReadReplicaInput) SetDBSubnetGroupName(v string) *CreateDBInstanceReadReplicaInput { - s.DBSubnetGroupName = &v - return s -} - -// SetDestinationRegion sets the DestinationRegion field's value. -func (s *CreateDBInstanceReadReplicaInput) SetDestinationRegion(v string) *CreateDBInstanceReadReplicaInput { - s.DestinationRegion = &v - return s -} - -// SetEnableIAMDatabaseAuthentication sets the EnableIAMDatabaseAuthentication field's value. -func (s *CreateDBInstanceReadReplicaInput) SetEnableIAMDatabaseAuthentication(v bool) *CreateDBInstanceReadReplicaInput { - s.EnableIAMDatabaseAuthentication = &v - return s -} - -// SetEnablePerformanceInsights sets the EnablePerformanceInsights field's value. -func (s *CreateDBInstanceReadReplicaInput) SetEnablePerformanceInsights(v bool) *CreateDBInstanceReadReplicaInput { - s.EnablePerformanceInsights = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *CreateDBInstanceReadReplicaInput) SetIops(v int64) *CreateDBInstanceReadReplicaInput { - s.Iops = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CreateDBInstanceReadReplicaInput) SetKmsKeyId(v string) *CreateDBInstanceReadReplicaInput { - s.KmsKeyId = &v - return s -} - -// SetMonitoringInterval sets the MonitoringInterval field's value. -func (s *CreateDBInstanceReadReplicaInput) SetMonitoringInterval(v int64) *CreateDBInstanceReadReplicaInput { - s.MonitoringInterval = &v - return s -} - -// SetMonitoringRoleArn sets the MonitoringRoleArn field's value. -func (s *CreateDBInstanceReadReplicaInput) SetMonitoringRoleArn(v string) *CreateDBInstanceReadReplicaInput { - s.MonitoringRoleArn = &v - return s -} - -// SetMultiAZ sets the MultiAZ field's value. -func (s *CreateDBInstanceReadReplicaInput) SetMultiAZ(v bool) *CreateDBInstanceReadReplicaInput { - s.MultiAZ = &v - return s -} - -// SetOptionGroupName sets the OptionGroupName field's value. -func (s *CreateDBInstanceReadReplicaInput) SetOptionGroupName(v string) *CreateDBInstanceReadReplicaInput { - s.OptionGroupName = &v - return s -} - -// SetPerformanceInsightsKMSKeyId sets the PerformanceInsightsKMSKeyId field's value. -func (s *CreateDBInstanceReadReplicaInput) SetPerformanceInsightsKMSKeyId(v string) *CreateDBInstanceReadReplicaInput { - s.PerformanceInsightsKMSKeyId = &v - return s -} - -// SetPort sets the Port field's value. -func (s *CreateDBInstanceReadReplicaInput) SetPort(v int64) *CreateDBInstanceReadReplicaInput { - s.Port = &v - return s -} - -// SetPreSignedUrl sets the PreSignedUrl field's value. -func (s *CreateDBInstanceReadReplicaInput) SetPreSignedUrl(v string) *CreateDBInstanceReadReplicaInput { - s.PreSignedUrl = &v - return s -} - -// SetPubliclyAccessible sets the PubliclyAccessible field's value. -func (s *CreateDBInstanceReadReplicaInput) SetPubliclyAccessible(v bool) *CreateDBInstanceReadReplicaInput { - s.PubliclyAccessible = &v - return s -} - -// SetSourceDBInstanceIdentifier sets the SourceDBInstanceIdentifier field's value. -func (s *CreateDBInstanceReadReplicaInput) SetSourceDBInstanceIdentifier(v string) *CreateDBInstanceReadReplicaInput { - s.SourceDBInstanceIdentifier = &v - return s -} - -// SetSourceRegion sets the SourceRegion field's value. -func (s *CreateDBInstanceReadReplicaInput) SetSourceRegion(v string) *CreateDBInstanceReadReplicaInput { - s.SourceRegion = &v - return s -} - -// SetStorageType sets the StorageType field's value. -func (s *CreateDBInstanceReadReplicaInput) SetStorageType(v string) *CreateDBInstanceReadReplicaInput { - s.StorageType = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateDBInstanceReadReplicaInput) SetTags(v []Tag) *CreateDBInstanceReadReplicaInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplicaResult type CreateDBInstanceReadReplicaOutput struct { _ struct{} `type:"structure"` @@ -9657,12 +8685,6 @@ func (s CreateDBInstanceReadReplicaOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBInstance sets the DBInstance field's value. -func (s *CreateDBInstanceReadReplicaOutput) SetDBInstance(v *DBInstance) *CreateDBInstanceReadReplicaOutput { - s.DBInstance = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBParameterGroupMessage type CreateDBParameterGroupInput struct { _ struct{} `type:"structure"` @@ -9731,30 +8753,6 @@ func (s *CreateDBParameterGroupInput) Validate() error { return nil } -// SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value. -func (s *CreateDBParameterGroupInput) SetDBParameterGroupFamily(v string) *CreateDBParameterGroupInput { - s.DBParameterGroupFamily = &v - return s -} - -// SetDBParameterGroupName sets the DBParameterGroupName field's value. -func (s *CreateDBParameterGroupInput) SetDBParameterGroupName(v string) *CreateDBParameterGroupInput { - s.DBParameterGroupName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateDBParameterGroupInput) SetDescription(v string) *CreateDBParameterGroupInput { - s.Description = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateDBParameterGroupInput) SetTags(v []Tag) *CreateDBParameterGroupInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBParameterGroupResult type CreateDBParameterGroupOutput struct { _ struct{} `type:"structure"` @@ -9783,12 +8781,6 @@ func (s CreateDBParameterGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBParameterGroup sets the DBParameterGroup field's value. -func (s *CreateDBParameterGroupOutput) SetDBParameterGroup(v *DBParameterGroup) *CreateDBParameterGroupOutput { - s.DBParameterGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSecurityGroupMessage type CreateDBSecurityGroupInput struct { _ struct{} `type:"structure"` @@ -9847,24 +8839,6 @@ func (s *CreateDBSecurityGroupInput) Validate() error { return nil } -// SetDBSecurityGroupDescription sets the DBSecurityGroupDescription field's value. -func (s *CreateDBSecurityGroupInput) SetDBSecurityGroupDescription(v string) *CreateDBSecurityGroupInput { - s.DBSecurityGroupDescription = &v - return s -} - -// SetDBSecurityGroupName sets the DBSecurityGroupName field's value. -func (s *CreateDBSecurityGroupInput) SetDBSecurityGroupName(v string) *CreateDBSecurityGroupInput { - s.DBSecurityGroupName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateDBSecurityGroupInput) SetTags(v []Tag) *CreateDBSecurityGroupInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSecurityGroupResult type CreateDBSecurityGroupOutput struct { _ struct{} `type:"structure"` @@ -9893,12 +8867,6 @@ func (s CreateDBSecurityGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBSecurityGroup sets the DBSecurityGroup field's value. -func (s *CreateDBSecurityGroupOutput) SetDBSecurityGroup(v *DBSecurityGroup) *CreateDBSecurityGroupOutput { - s.DBSecurityGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSnapshotMessage type CreateDBSnapshotInput struct { _ struct{} `type:"structure"` @@ -9961,24 +8929,6 @@ func (s *CreateDBSnapshotInput) Validate() error { return nil } -// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. -func (s *CreateDBSnapshotInput) SetDBInstanceIdentifier(v string) *CreateDBSnapshotInput { - s.DBInstanceIdentifier = &v - return s -} - -// SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value. -func (s *CreateDBSnapshotInput) SetDBSnapshotIdentifier(v string) *CreateDBSnapshotInput { - s.DBSnapshotIdentifier = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateDBSnapshotInput) SetTags(v []Tag) *CreateDBSnapshotInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSnapshotResult type CreateDBSnapshotOutput struct { _ struct{} `type:"structure"` @@ -10006,12 +8956,6 @@ func (s CreateDBSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBSnapshot sets the DBSnapshot field's value. -func (s *CreateDBSnapshotOutput) SetDBSnapshot(v *DBSnapshot) *CreateDBSnapshotOutput { - s.DBSnapshot = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSubnetGroupMessage type CreateDBSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -10072,30 +9016,6 @@ func (s *CreateDBSubnetGroupInput) Validate() error { return nil } -// SetDBSubnetGroupDescription sets the DBSubnetGroupDescription field's value. -func (s *CreateDBSubnetGroupInput) SetDBSubnetGroupDescription(v string) *CreateDBSubnetGroupInput { - s.DBSubnetGroupDescription = &v - return s -} - -// SetDBSubnetGroupName sets the DBSubnetGroupName field's value. -func (s *CreateDBSubnetGroupInput) SetDBSubnetGroupName(v string) *CreateDBSubnetGroupInput { - s.DBSubnetGroupName = &v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *CreateDBSubnetGroupInput) SetSubnetIds(v []string) *CreateDBSubnetGroupInput { - s.SubnetIds = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateDBSubnetGroupInput) SetTags(v []Tag) *CreateDBSubnetGroupInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSubnetGroupResult type CreateDBSubnetGroupOutput struct { _ struct{} `type:"structure"` @@ -10124,12 +9044,6 @@ func (s CreateDBSubnetGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBSubnetGroup sets the DBSubnetGroup field's value. -func (s *CreateDBSubnetGroupOutput) SetDBSubnetGroup(v *DBSubnetGroup) *CreateDBSubnetGroupOutput { - s.DBSubnetGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateEventSubscriptionMessage type CreateEventSubscriptionInput struct { _ struct{} `type:"structure"` @@ -10221,48 +9135,6 @@ func (s *CreateEventSubscriptionInput) Validate() error { return nil } -// SetEnabled sets the Enabled field's value. -func (s *CreateEventSubscriptionInput) SetEnabled(v bool) *CreateEventSubscriptionInput { - s.Enabled = &v - return s -} - -// SetEventCategories sets the EventCategories field's value. -func (s *CreateEventSubscriptionInput) SetEventCategories(v []string) *CreateEventSubscriptionInput { - s.EventCategories = v - return s -} - -// SetSnsTopicArn sets the SnsTopicArn field's value. -func (s *CreateEventSubscriptionInput) SetSnsTopicArn(v string) *CreateEventSubscriptionInput { - s.SnsTopicArn = &v - return s -} - -// SetSourceIds sets the SourceIds field's value. -func (s *CreateEventSubscriptionInput) SetSourceIds(v []string) *CreateEventSubscriptionInput { - s.SourceIds = v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *CreateEventSubscriptionInput) SetSourceType(v string) *CreateEventSubscriptionInput { - s.SourceType = &v - return s -} - -// SetSubscriptionName sets the SubscriptionName field's value. -func (s *CreateEventSubscriptionInput) SetSubscriptionName(v string) *CreateEventSubscriptionInput { - s.SubscriptionName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateEventSubscriptionInput) SetTags(v []Tag) *CreateEventSubscriptionInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateEventSubscriptionResult type CreateEventSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -10289,12 +9161,6 @@ func (s CreateEventSubscriptionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventSubscription sets the EventSubscription field's value. -func (s *CreateEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *CreateEventSubscriptionOutput { - s.EventSubscription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateOptionGroupMessage type CreateOptionGroupInput struct { _ struct{} `type:"structure"` @@ -10371,36 +9237,6 @@ func (s *CreateOptionGroupInput) Validate() error { return nil } -// SetEngineName sets the EngineName field's value. -func (s *CreateOptionGroupInput) SetEngineName(v string) *CreateOptionGroupInput { - s.EngineName = &v - return s -} - -// SetMajorEngineVersion sets the MajorEngineVersion field's value. -func (s *CreateOptionGroupInput) SetMajorEngineVersion(v string) *CreateOptionGroupInput { - s.MajorEngineVersion = &v - return s -} - -// SetOptionGroupDescription sets the OptionGroupDescription field's value. -func (s *CreateOptionGroupInput) SetOptionGroupDescription(v string) *CreateOptionGroupInput { - s.OptionGroupDescription = &v - return s -} - -// SetOptionGroupName sets the OptionGroupName field's value. -func (s *CreateOptionGroupInput) SetOptionGroupName(v string) *CreateOptionGroupInput { - s.OptionGroupName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateOptionGroupInput) SetTags(v []Tag) *CreateOptionGroupInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateOptionGroupResult type CreateOptionGroupOutput struct { _ struct{} `type:"structure"` @@ -10425,12 +9261,6 @@ func (s CreateOptionGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOptionGroup sets the OptionGroup field's value. -func (s *CreateOptionGroupOutput) SetOptionGroup(v *OptionGroup) *CreateOptionGroupOutput { - s.OptionGroup = v - return s -} - // Contains the details of an Amazon RDS DB cluster. // // This data type is used as a response element in the DescribeDBClusters action. @@ -10587,241 +9417,31 @@ func (s DBCluster) GoString() string { return s.String() } -// SetAllocatedStorage sets the AllocatedStorage field's value. -func (s *DBCluster) SetAllocatedStorage(v int64) *DBCluster { - s.AllocatedStorage = &v - return s -} +// Contains information about an instance that is part of a DB cluster. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterMember +type DBClusterMember struct { + _ struct{} `type:"structure"` -// SetAssociatedRoles sets the AssociatedRoles field's value. -func (s *DBCluster) SetAssociatedRoles(v []DBClusterRole) *DBCluster { - s.AssociatedRoles = v - return s -} + // Specifies the status of the DB cluster parameter group for this member of + // the DB cluster. + DBClusterParameterGroupStatus *string `type:"string"` -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *DBCluster) SetAvailabilityZones(v []string) *DBCluster { - s.AvailabilityZones = v - return s -} + // Specifies the instance identifier for this member of the DB cluster. + DBInstanceIdentifier *string `type:"string"` -// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value. -func (s *DBCluster) SetBackupRetentionPeriod(v int64) *DBCluster { - s.BackupRetentionPeriod = &v - return s -} + // Value that is true if the cluster member is the primary instance for the + // DB cluster and false otherwise. + IsClusterWriter *bool `type:"boolean"` -// SetCharacterSetName sets the CharacterSetName field's value. -func (s *DBCluster) SetCharacterSetName(v string) *DBCluster { - s.CharacterSetName = &v - return s + // A value that specifies the order in which an Aurora Replica is promoted to + // the primary instance after a failure of the existing primary instance. For + // more information, see Fault Tolerance for an Aurora DB Cluster (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Managing.html#Aurora.Managing.FaultTolerance). + PromotionTier *int64 `type:"integer"` } -// SetCloneGroupId sets the CloneGroupId field's value. -func (s *DBCluster) SetCloneGroupId(v string) *DBCluster { - s.CloneGroupId = &v - return s -} - -// SetClusterCreateTime sets the ClusterCreateTime field's value. -func (s *DBCluster) SetClusterCreateTime(v time.Time) *DBCluster { - s.ClusterCreateTime = &v - return s -} - -// SetDBClusterArn sets the DBClusterArn field's value. -func (s *DBCluster) SetDBClusterArn(v string) *DBCluster { - s.DBClusterArn = &v - return s -} - -// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. -func (s *DBCluster) SetDBClusterIdentifier(v string) *DBCluster { - s.DBClusterIdentifier = &v - return s -} - -// SetDBClusterMembers sets the DBClusterMembers field's value. -func (s *DBCluster) SetDBClusterMembers(v []DBClusterMember) *DBCluster { - s.DBClusterMembers = v - return s -} - -// SetDBClusterOptionGroupMemberships sets the DBClusterOptionGroupMemberships field's value. -func (s *DBCluster) SetDBClusterOptionGroupMemberships(v []DBClusterOptionGroupStatus) *DBCluster { - s.DBClusterOptionGroupMemberships = v - return s -} - -// SetDBClusterParameterGroup sets the DBClusterParameterGroup field's value. -func (s *DBCluster) SetDBClusterParameterGroup(v string) *DBCluster { - s.DBClusterParameterGroup = &v - return s -} - -// SetDBSubnetGroup sets the DBSubnetGroup field's value. -func (s *DBCluster) SetDBSubnetGroup(v string) *DBCluster { - s.DBSubnetGroup = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *DBCluster) SetDatabaseName(v string) *DBCluster { - s.DatabaseName = &v - return s -} - -// SetDbClusterResourceId sets the DbClusterResourceId field's value. -func (s *DBCluster) SetDbClusterResourceId(v string) *DBCluster { - s.DbClusterResourceId = &v - return s -} - -// SetEarliestRestorableTime sets the EarliestRestorableTime field's value. -func (s *DBCluster) SetEarliestRestorableTime(v time.Time) *DBCluster { - s.EarliestRestorableTime = &v - return s -} - -// SetEndpoint sets the Endpoint field's value. -func (s *DBCluster) SetEndpoint(v string) *DBCluster { - s.Endpoint = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *DBCluster) SetEngine(v string) *DBCluster { - s.Engine = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *DBCluster) SetEngineVersion(v string) *DBCluster { - s.EngineVersion = &v - return s -} - -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *DBCluster) SetHostedZoneId(v string) *DBCluster { - s.HostedZoneId = &v - return s -} - -// SetIAMDatabaseAuthenticationEnabled sets the IAMDatabaseAuthenticationEnabled field's value. -func (s *DBCluster) SetIAMDatabaseAuthenticationEnabled(v bool) *DBCluster { - s.IAMDatabaseAuthenticationEnabled = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *DBCluster) SetKmsKeyId(v string) *DBCluster { - s.KmsKeyId = &v - return s -} - -// SetLatestRestorableTime sets the LatestRestorableTime field's value. -func (s *DBCluster) SetLatestRestorableTime(v time.Time) *DBCluster { - s.LatestRestorableTime = &v - return s -} - -// SetMasterUsername sets the MasterUsername field's value. -func (s *DBCluster) SetMasterUsername(v string) *DBCluster { - s.MasterUsername = &v - return s -} - -// SetMultiAZ sets the MultiAZ field's value. -func (s *DBCluster) SetMultiAZ(v bool) *DBCluster { - s.MultiAZ = &v - return s -} - -// SetPercentProgress sets the PercentProgress field's value. -func (s *DBCluster) SetPercentProgress(v string) *DBCluster { - s.PercentProgress = &v - return s -} - -// SetPort sets the Port field's value. -func (s *DBCluster) SetPort(v int64) *DBCluster { - s.Port = &v - return s -} - -// SetPreferredBackupWindow sets the PreferredBackupWindow field's value. -func (s *DBCluster) SetPreferredBackupWindow(v string) *DBCluster { - s.PreferredBackupWindow = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *DBCluster) SetPreferredMaintenanceWindow(v string) *DBCluster { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetReadReplicaIdentifiers sets the ReadReplicaIdentifiers field's value. -func (s *DBCluster) SetReadReplicaIdentifiers(v []string) *DBCluster { - s.ReadReplicaIdentifiers = v - return s -} - -// SetReaderEndpoint sets the ReaderEndpoint field's value. -func (s *DBCluster) SetReaderEndpoint(v string) *DBCluster { - s.ReaderEndpoint = &v - return s -} - -// SetReplicationSourceIdentifier sets the ReplicationSourceIdentifier field's value. -func (s *DBCluster) SetReplicationSourceIdentifier(v string) *DBCluster { - s.ReplicationSourceIdentifier = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DBCluster) SetStatus(v string) *DBCluster { - s.Status = &v - return s -} - -// SetStorageEncrypted sets the StorageEncrypted field's value. -func (s *DBCluster) SetStorageEncrypted(v bool) *DBCluster { - s.StorageEncrypted = &v - return s -} - -// SetVpcSecurityGroups sets the VpcSecurityGroups field's value. -func (s *DBCluster) SetVpcSecurityGroups(v []VpcSecurityGroupMembership) *DBCluster { - s.VpcSecurityGroups = v - return s -} - -// Contains information about an instance that is part of a DB cluster. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterMember -type DBClusterMember struct { - _ struct{} `type:"structure"` - - // Specifies the status of the DB cluster parameter group for this member of - // the DB cluster. - DBClusterParameterGroupStatus *string `type:"string"` - - // Specifies the instance identifier for this member of the DB cluster. - DBInstanceIdentifier *string `type:"string"` - - // Value that is true if the cluster member is the primary instance for the - // DB cluster and false otherwise. - IsClusterWriter *bool `type:"boolean"` - - // A value that specifies the order in which an Aurora Replica is promoted to - // the primary instance after a failure of the existing primary instance. For - // more information, see Fault Tolerance for an Aurora DB Cluster (http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Managing.html#Aurora.Managing.FaultTolerance). - PromotionTier *int64 `type:"integer"` -} - -// String returns the string representation -func (s DBClusterMember) String() string { - return awsutil.Prettify(s) +// String returns the string representation +func (s DBClusterMember) String() string { + return awsutil.Prettify(s) } // GoString returns the string representation @@ -10829,30 +9449,6 @@ func (s DBClusterMember) GoString() string { return s.String() } -// SetDBClusterParameterGroupStatus sets the DBClusterParameterGroupStatus field's value. -func (s *DBClusterMember) SetDBClusterParameterGroupStatus(v string) *DBClusterMember { - s.DBClusterParameterGroupStatus = &v - return s -} - -// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. -func (s *DBClusterMember) SetDBInstanceIdentifier(v string) *DBClusterMember { - s.DBInstanceIdentifier = &v - return s -} - -// SetIsClusterWriter sets the IsClusterWriter field's value. -func (s *DBClusterMember) SetIsClusterWriter(v bool) *DBClusterMember { - s.IsClusterWriter = &v - return s -} - -// SetPromotionTier sets the PromotionTier field's value. -func (s *DBClusterMember) SetPromotionTier(v int64) *DBClusterMember { - s.PromotionTier = &v - return s -} - // Contains status information for a DB cluster option group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterOptionGroupStatus type DBClusterOptionGroupStatus struct { @@ -10875,18 +9471,6 @@ func (s DBClusterOptionGroupStatus) GoString() string { return s.String() } -// SetDBClusterOptionGroupName sets the DBClusterOptionGroupName field's value. -func (s *DBClusterOptionGroupStatus) SetDBClusterOptionGroupName(v string) *DBClusterOptionGroupStatus { - s.DBClusterOptionGroupName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DBClusterOptionGroupStatus) SetStatus(v string) *DBClusterOptionGroupStatus { - s.Status = &v - return s -} - // Contains the details of an Amazon RDS DB cluster parameter group. // // This data type is used as a response element in the DescribeDBClusterParameterGroups @@ -10920,30 +9504,6 @@ func (s DBClusterParameterGroup) GoString() string { return s.String() } -// SetDBClusterParameterGroupArn sets the DBClusterParameterGroupArn field's value. -func (s *DBClusterParameterGroup) SetDBClusterParameterGroupArn(v string) *DBClusterParameterGroup { - s.DBClusterParameterGroupArn = &v - return s -} - -// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value. -func (s *DBClusterParameterGroup) SetDBClusterParameterGroupName(v string) *DBClusterParameterGroup { - s.DBClusterParameterGroupName = &v - return s -} - -// SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value. -func (s *DBClusterParameterGroup) SetDBParameterGroupFamily(v string) *DBClusterParameterGroup { - s.DBParameterGroupFamily = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *DBClusterParameterGroup) SetDescription(v string) *DBClusterParameterGroup { - s.Description = &v - return s -} - // Describes an AWS Identity and Access Management (IAM) role that is associated // with a DB cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterRole @@ -10978,18 +9538,6 @@ func (s DBClusterRole) GoString() string { return s.String() } -// SetRoleArn sets the RoleArn field's value. -func (s *DBClusterRole) SetRoleArn(v string) *DBClusterRole { - s.RoleArn = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DBClusterRole) SetStatus(v string) *DBClusterRole { - s.Status = &v - return s -} - // Contains the details for an Amazon RDS DB cluster snapshot // // This data type is used as a response element in the DescribeDBClusterSnapshots @@ -11078,126 +9626,6 @@ func (s DBClusterSnapshot) GoString() string { return s.String() } -// SetAllocatedStorage sets the AllocatedStorage field's value. -func (s *DBClusterSnapshot) SetAllocatedStorage(v int64) *DBClusterSnapshot { - s.AllocatedStorage = &v - return s -} - -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *DBClusterSnapshot) SetAvailabilityZones(v []string) *DBClusterSnapshot { - s.AvailabilityZones = v - return s -} - -// SetClusterCreateTime sets the ClusterCreateTime field's value. -func (s *DBClusterSnapshot) SetClusterCreateTime(v time.Time) *DBClusterSnapshot { - s.ClusterCreateTime = &v - return s -} - -// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. -func (s *DBClusterSnapshot) SetDBClusterIdentifier(v string) *DBClusterSnapshot { - s.DBClusterIdentifier = &v - return s -} - -// SetDBClusterSnapshotArn sets the DBClusterSnapshotArn field's value. -func (s *DBClusterSnapshot) SetDBClusterSnapshotArn(v string) *DBClusterSnapshot { - s.DBClusterSnapshotArn = &v - return s -} - -// SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value. -func (s *DBClusterSnapshot) SetDBClusterSnapshotIdentifier(v string) *DBClusterSnapshot { - s.DBClusterSnapshotIdentifier = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *DBClusterSnapshot) SetEngine(v string) *DBClusterSnapshot { - s.Engine = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *DBClusterSnapshot) SetEngineVersion(v string) *DBClusterSnapshot { - s.EngineVersion = &v - return s -} - -// SetIAMDatabaseAuthenticationEnabled sets the IAMDatabaseAuthenticationEnabled field's value. -func (s *DBClusterSnapshot) SetIAMDatabaseAuthenticationEnabled(v bool) *DBClusterSnapshot { - s.IAMDatabaseAuthenticationEnabled = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *DBClusterSnapshot) SetKmsKeyId(v string) *DBClusterSnapshot { - s.KmsKeyId = &v - return s -} - -// SetLicenseModel sets the LicenseModel field's value. -func (s *DBClusterSnapshot) SetLicenseModel(v string) *DBClusterSnapshot { - s.LicenseModel = &v - return s -} - -// SetMasterUsername sets the MasterUsername field's value. -func (s *DBClusterSnapshot) SetMasterUsername(v string) *DBClusterSnapshot { - s.MasterUsername = &v - return s -} - -// SetPercentProgress sets the PercentProgress field's value. -func (s *DBClusterSnapshot) SetPercentProgress(v int64) *DBClusterSnapshot { - s.PercentProgress = &v - return s -} - -// SetPort sets the Port field's value. -func (s *DBClusterSnapshot) SetPort(v int64) *DBClusterSnapshot { - s.Port = &v - return s -} - -// SetSnapshotCreateTime sets the SnapshotCreateTime field's value. -func (s *DBClusterSnapshot) SetSnapshotCreateTime(v time.Time) *DBClusterSnapshot { - s.SnapshotCreateTime = &v - return s -} - -// SetSnapshotType sets the SnapshotType field's value. -func (s *DBClusterSnapshot) SetSnapshotType(v string) *DBClusterSnapshot { - s.SnapshotType = &v - return s -} - -// SetSourceDBClusterSnapshotArn sets the SourceDBClusterSnapshotArn field's value. -func (s *DBClusterSnapshot) SetSourceDBClusterSnapshotArn(v string) *DBClusterSnapshot { - s.SourceDBClusterSnapshotArn = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DBClusterSnapshot) SetStatus(v string) *DBClusterSnapshot { - s.Status = &v - return s -} - -// SetStorageEncrypted sets the StorageEncrypted field's value. -func (s *DBClusterSnapshot) SetStorageEncrypted(v bool) *DBClusterSnapshot { - s.StorageEncrypted = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *DBClusterSnapshot) SetVpcId(v string) *DBClusterSnapshot { - s.VpcId = &v - return s -} - // Contains the name and values of a manual DB cluster snapshot attribute. // // Manual DB cluster snapshot attributes are used to authorize other AWS accounts @@ -11234,18 +9662,6 @@ func (s DBClusterSnapshotAttribute) GoString() string { return s.String() } -// SetAttributeName sets the AttributeName field's value. -func (s *DBClusterSnapshotAttribute) SetAttributeName(v string) *DBClusterSnapshotAttribute { - s.AttributeName = &v - return s -} - -// SetAttributeValues sets the AttributeValues field's value. -func (s *DBClusterSnapshotAttribute) SetAttributeValues(v []string) *DBClusterSnapshotAttribute { - s.AttributeValues = v - return s -} - // Contains the results of a successful call to the DescribeDBClusterSnapshotAttributes // API action. // @@ -11274,18 +9690,6 @@ func (s DBClusterSnapshotAttributesResult) GoString() string { return s.String() } -// SetDBClusterSnapshotAttributes sets the DBClusterSnapshotAttributes field's value. -func (s *DBClusterSnapshotAttributesResult) SetDBClusterSnapshotAttributes(v []DBClusterSnapshotAttribute) *DBClusterSnapshotAttributesResult { - s.DBClusterSnapshotAttributes = v - return s -} - -// SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value. -func (s *DBClusterSnapshotAttributesResult) SetDBClusterSnapshotIdentifier(v string) *DBClusterSnapshotAttributesResult { - s.DBClusterSnapshotIdentifier = &v - return s -} - // This data type is used as a response element in the action DescribeDBEngineVersions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBEngineVersion type DBEngineVersion struct { @@ -11333,60 +9737,6 @@ func (s DBEngineVersion) GoString() string { return s.String() } -// SetDBEngineDescription sets the DBEngineDescription field's value. -func (s *DBEngineVersion) SetDBEngineDescription(v string) *DBEngineVersion { - s.DBEngineDescription = &v - return s -} - -// SetDBEngineVersionDescription sets the DBEngineVersionDescription field's value. -func (s *DBEngineVersion) SetDBEngineVersionDescription(v string) *DBEngineVersion { - s.DBEngineVersionDescription = &v - return s -} - -// SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value. -func (s *DBEngineVersion) SetDBParameterGroupFamily(v string) *DBEngineVersion { - s.DBParameterGroupFamily = &v - return s -} - -// SetDefaultCharacterSet sets the DefaultCharacterSet field's value. -func (s *DBEngineVersion) SetDefaultCharacterSet(v *CharacterSet) *DBEngineVersion { - s.DefaultCharacterSet = v - return s -} - -// SetEngine sets the Engine field's value. -func (s *DBEngineVersion) SetEngine(v string) *DBEngineVersion { - s.Engine = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *DBEngineVersion) SetEngineVersion(v string) *DBEngineVersion { - s.EngineVersion = &v - return s -} - -// SetSupportedCharacterSets sets the SupportedCharacterSets field's value. -func (s *DBEngineVersion) SetSupportedCharacterSets(v []CharacterSet) *DBEngineVersion { - s.SupportedCharacterSets = v - return s -} - -// SetSupportedTimezones sets the SupportedTimezones field's value. -func (s *DBEngineVersion) SetSupportedTimezones(v []Timezone) *DBEngineVersion { - s.SupportedTimezones = v - return s -} - -// SetValidUpgradeTarget sets the ValidUpgradeTarget field's value. -func (s *DBEngineVersion) SetValidUpgradeTarget(v []UpgradeTarget) *DBEngineVersion { - s.ValidUpgradeTarget = v - return s -} - // Contains the details of an Amazon RDS DB instance. // // This data type is used as a response element in the DescribeDBInstances action. @@ -11630,312 +9980,6 @@ func (s DBInstance) GoString() string { return s.String() } -// SetAllocatedStorage sets the AllocatedStorage field's value. -func (s *DBInstance) SetAllocatedStorage(v int64) *DBInstance { - s.AllocatedStorage = &v - return s -} - -// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. -func (s *DBInstance) SetAutoMinorVersionUpgrade(v bool) *DBInstance { - s.AutoMinorVersionUpgrade = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *DBInstance) SetAvailabilityZone(v string) *DBInstance { - s.AvailabilityZone = &v - return s -} - -// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value. -func (s *DBInstance) SetBackupRetentionPeriod(v int64) *DBInstance { - s.BackupRetentionPeriod = &v - return s -} - -// SetCACertificateIdentifier sets the CACertificateIdentifier field's value. -func (s *DBInstance) SetCACertificateIdentifier(v string) *DBInstance { - s.CACertificateIdentifier = &v - return s -} - -// SetCharacterSetName sets the CharacterSetName field's value. -func (s *DBInstance) SetCharacterSetName(v string) *DBInstance { - s.CharacterSetName = &v - return s -} - -// SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value. -func (s *DBInstance) SetCopyTagsToSnapshot(v bool) *DBInstance { - s.CopyTagsToSnapshot = &v - return s -} - -// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. -func (s *DBInstance) SetDBClusterIdentifier(v string) *DBInstance { - s.DBClusterIdentifier = &v - return s -} - -// SetDBInstanceArn sets the DBInstanceArn field's value. -func (s *DBInstance) SetDBInstanceArn(v string) *DBInstance { - s.DBInstanceArn = &v - return s -} - -// SetDBInstanceClass sets the DBInstanceClass field's value. -func (s *DBInstance) SetDBInstanceClass(v string) *DBInstance { - s.DBInstanceClass = &v - return s -} - -// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. -func (s *DBInstance) SetDBInstanceIdentifier(v string) *DBInstance { - s.DBInstanceIdentifier = &v - return s -} - -// SetDBInstanceStatus sets the DBInstanceStatus field's value. -func (s *DBInstance) SetDBInstanceStatus(v string) *DBInstance { - s.DBInstanceStatus = &v - return s -} - -// SetDBName sets the DBName field's value. -func (s *DBInstance) SetDBName(v string) *DBInstance { - s.DBName = &v - return s -} - -// SetDBParameterGroups sets the DBParameterGroups field's value. -func (s *DBInstance) SetDBParameterGroups(v []DBParameterGroupStatus) *DBInstance { - s.DBParameterGroups = v - return s -} - -// SetDBSecurityGroups sets the DBSecurityGroups field's value. -func (s *DBInstance) SetDBSecurityGroups(v []DBSecurityGroupMembership) *DBInstance { - s.DBSecurityGroups = v - return s -} - -// SetDBSubnetGroup sets the DBSubnetGroup field's value. -func (s *DBInstance) SetDBSubnetGroup(v *DBSubnetGroup) *DBInstance { - s.DBSubnetGroup = v - return s -} - -// SetDbInstancePort sets the DbInstancePort field's value. -func (s *DBInstance) SetDbInstancePort(v int64) *DBInstance { - s.DbInstancePort = &v - return s -} - -// SetDbiResourceId sets the DbiResourceId field's value. -func (s *DBInstance) SetDbiResourceId(v string) *DBInstance { - s.DbiResourceId = &v - return s -} - -// SetDomainMemberships sets the DomainMemberships field's value. -func (s *DBInstance) SetDomainMemberships(v []DomainMembership) *DBInstance { - s.DomainMemberships = v - return s -} - -// SetEndpoint sets the Endpoint field's value. -func (s *DBInstance) SetEndpoint(v *Endpoint) *DBInstance { - s.Endpoint = v - return s -} - -// SetEngine sets the Engine field's value. -func (s *DBInstance) SetEngine(v string) *DBInstance { - s.Engine = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *DBInstance) SetEngineVersion(v string) *DBInstance { - s.EngineVersion = &v - return s -} - -// SetEnhancedMonitoringResourceArn sets the EnhancedMonitoringResourceArn field's value. -func (s *DBInstance) SetEnhancedMonitoringResourceArn(v string) *DBInstance { - s.EnhancedMonitoringResourceArn = &v - return s -} - -// SetIAMDatabaseAuthenticationEnabled sets the IAMDatabaseAuthenticationEnabled field's value. -func (s *DBInstance) SetIAMDatabaseAuthenticationEnabled(v bool) *DBInstance { - s.IAMDatabaseAuthenticationEnabled = &v - return s -} - -// SetInstanceCreateTime sets the InstanceCreateTime field's value. -func (s *DBInstance) SetInstanceCreateTime(v time.Time) *DBInstance { - s.InstanceCreateTime = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *DBInstance) SetIops(v int64) *DBInstance { - s.Iops = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *DBInstance) SetKmsKeyId(v string) *DBInstance { - s.KmsKeyId = &v - return s -} - -// SetLatestRestorableTime sets the LatestRestorableTime field's value. -func (s *DBInstance) SetLatestRestorableTime(v time.Time) *DBInstance { - s.LatestRestorableTime = &v - return s -} - -// SetLicenseModel sets the LicenseModel field's value. -func (s *DBInstance) SetLicenseModel(v string) *DBInstance { - s.LicenseModel = &v - return s -} - -// SetMasterUsername sets the MasterUsername field's value. -func (s *DBInstance) SetMasterUsername(v string) *DBInstance { - s.MasterUsername = &v - return s -} - -// SetMonitoringInterval sets the MonitoringInterval field's value. -func (s *DBInstance) SetMonitoringInterval(v int64) *DBInstance { - s.MonitoringInterval = &v - return s -} - -// SetMonitoringRoleArn sets the MonitoringRoleArn field's value. -func (s *DBInstance) SetMonitoringRoleArn(v string) *DBInstance { - s.MonitoringRoleArn = &v - return s -} - -// SetMultiAZ sets the MultiAZ field's value. -func (s *DBInstance) SetMultiAZ(v bool) *DBInstance { - s.MultiAZ = &v - return s -} - -// SetOptionGroupMemberships sets the OptionGroupMemberships field's value. -func (s *DBInstance) SetOptionGroupMemberships(v []OptionGroupMembership) *DBInstance { - s.OptionGroupMemberships = v - return s -} - -// SetPendingModifiedValues sets the PendingModifiedValues field's value. -func (s *DBInstance) SetPendingModifiedValues(v *PendingModifiedValues) *DBInstance { - s.PendingModifiedValues = v - return s -} - -// SetPerformanceInsightsEnabled sets the PerformanceInsightsEnabled field's value. -func (s *DBInstance) SetPerformanceInsightsEnabled(v bool) *DBInstance { - s.PerformanceInsightsEnabled = &v - return s -} - -// SetPerformanceInsightsKMSKeyId sets the PerformanceInsightsKMSKeyId field's value. -func (s *DBInstance) SetPerformanceInsightsKMSKeyId(v string) *DBInstance { - s.PerformanceInsightsKMSKeyId = &v - return s -} - -// SetPreferredBackupWindow sets the PreferredBackupWindow field's value. -func (s *DBInstance) SetPreferredBackupWindow(v string) *DBInstance { - s.PreferredBackupWindow = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *DBInstance) SetPreferredMaintenanceWindow(v string) *DBInstance { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetPromotionTier sets the PromotionTier field's value. -func (s *DBInstance) SetPromotionTier(v int64) *DBInstance { - s.PromotionTier = &v - return s -} - -// SetPubliclyAccessible sets the PubliclyAccessible field's value. -func (s *DBInstance) SetPubliclyAccessible(v bool) *DBInstance { - s.PubliclyAccessible = &v - return s -} - -// SetReadReplicaDBClusterIdentifiers sets the ReadReplicaDBClusterIdentifiers field's value. -func (s *DBInstance) SetReadReplicaDBClusterIdentifiers(v []string) *DBInstance { - s.ReadReplicaDBClusterIdentifiers = v - return s -} - -// SetReadReplicaDBInstanceIdentifiers sets the ReadReplicaDBInstanceIdentifiers field's value. -func (s *DBInstance) SetReadReplicaDBInstanceIdentifiers(v []string) *DBInstance { - s.ReadReplicaDBInstanceIdentifiers = v - return s -} - -// SetReadReplicaSourceDBInstanceIdentifier sets the ReadReplicaSourceDBInstanceIdentifier field's value. -func (s *DBInstance) SetReadReplicaSourceDBInstanceIdentifier(v string) *DBInstance { - s.ReadReplicaSourceDBInstanceIdentifier = &v - return s -} - -// SetSecondaryAvailabilityZone sets the SecondaryAvailabilityZone field's value. -func (s *DBInstance) SetSecondaryAvailabilityZone(v string) *DBInstance { - s.SecondaryAvailabilityZone = &v - return s -} - -// SetStatusInfos sets the StatusInfos field's value. -func (s *DBInstance) SetStatusInfos(v []DBInstanceStatusInfo) *DBInstance { - s.StatusInfos = v - return s -} - -// SetStorageEncrypted sets the StorageEncrypted field's value. -func (s *DBInstance) SetStorageEncrypted(v bool) *DBInstance { - s.StorageEncrypted = &v - return s -} - -// SetStorageType sets the StorageType field's value. -func (s *DBInstance) SetStorageType(v string) *DBInstance { - s.StorageType = &v - return s -} - -// SetTdeCredentialArn sets the TdeCredentialArn field's value. -func (s *DBInstance) SetTdeCredentialArn(v string) *DBInstance { - s.TdeCredentialArn = &v - return s -} - -// SetTimezone sets the Timezone field's value. -func (s *DBInstance) SetTimezone(v string) *DBInstance { - s.Timezone = &v - return s -} - -// SetVpcSecurityGroups sets the VpcSecurityGroups field's value. -func (s *DBInstance) SetVpcSecurityGroups(v []VpcSecurityGroupMembership) *DBInstance { - s.VpcSecurityGroups = v - return s -} - // Provides a list of status information for a DB instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstanceStatusInfo type DBInstanceStatusInfo struct { @@ -11967,30 +10011,6 @@ func (s DBInstanceStatusInfo) GoString() string { return s.String() } -// SetMessage sets the Message field's value. -func (s *DBInstanceStatusInfo) SetMessage(v string) *DBInstanceStatusInfo { - s.Message = &v - return s -} - -// SetNormal sets the Normal field's value. -func (s *DBInstanceStatusInfo) SetNormal(v bool) *DBInstanceStatusInfo { - s.Normal = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DBInstanceStatusInfo) SetStatus(v string) *DBInstanceStatusInfo { - s.Status = &v - return s -} - -// SetStatusType sets the StatusType field's value. -func (s *DBInstanceStatusInfo) SetStatusType(v string) *DBInstanceStatusInfo { - s.StatusType = &v - return s -} - // Contains the details of an Amazon RDS DB parameter group. // // This data type is used as a response element in the DescribeDBParameterGroups @@ -12023,30 +10043,6 @@ func (s DBParameterGroup) GoString() string { return s.String() } -// SetDBParameterGroupArn sets the DBParameterGroupArn field's value. -func (s *DBParameterGroup) SetDBParameterGroupArn(v string) *DBParameterGroup { - s.DBParameterGroupArn = &v - return s -} - -// SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value. -func (s *DBParameterGroup) SetDBParameterGroupFamily(v string) *DBParameterGroup { - s.DBParameterGroupFamily = &v - return s -} - -// SetDBParameterGroupName sets the DBParameterGroupName field's value. -func (s *DBParameterGroup) SetDBParameterGroupName(v string) *DBParameterGroup { - s.DBParameterGroupName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *DBParameterGroup) SetDescription(v string) *DBParameterGroup { - s.Description = &v - return s -} - // The status of the DB parameter group. // // This data type is used as a response element in the following actions: @@ -12083,18 +10079,6 @@ func (s DBParameterGroupStatus) GoString() string { return s.String() } -// SetDBParameterGroupName sets the DBParameterGroupName field's value. -func (s *DBParameterGroupStatus) SetDBParameterGroupName(v string) *DBParameterGroupStatus { - s.DBParameterGroupName = &v - return s -} - -// SetParameterApplyStatus sets the ParameterApplyStatus field's value. -func (s *DBParameterGroupStatus) SetParameterApplyStatus(v string) *DBParameterGroupStatus { - s.ParameterApplyStatus = &v - return s -} - // Contains the details for an Amazon RDS DB security group. // // This data type is used as a response element in the DescribeDBSecurityGroups @@ -12116,65 +10100,23 @@ type DBSecurityGroup struct { EC2SecurityGroups []EC2SecurityGroup `locationNameList:"EC2SecurityGroup" type:"list"` // Contains a list of IPRange elements. - IPRanges []IPRange `locationNameList:"IPRange" type:"list"` - - // Provides the AWS ID of the owner of a specific DB security group. - OwnerId *string `type:"string"` - - // Provides the VpcId of the DB security group. - VpcId *string `type:"string"` -} - -// String returns the string representation -func (s DBSecurityGroup) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DBSecurityGroup) GoString() string { - return s.String() -} - -// SetDBSecurityGroupArn sets the DBSecurityGroupArn field's value. -func (s *DBSecurityGroup) SetDBSecurityGroupArn(v string) *DBSecurityGroup { - s.DBSecurityGroupArn = &v - return s -} - -// SetDBSecurityGroupDescription sets the DBSecurityGroupDescription field's value. -func (s *DBSecurityGroup) SetDBSecurityGroupDescription(v string) *DBSecurityGroup { - s.DBSecurityGroupDescription = &v - return s -} - -// SetDBSecurityGroupName sets the DBSecurityGroupName field's value. -func (s *DBSecurityGroup) SetDBSecurityGroupName(v string) *DBSecurityGroup { - s.DBSecurityGroupName = &v - return s -} + IPRanges []IPRange `locationNameList:"IPRange" type:"list"` -// SetEC2SecurityGroups sets the EC2SecurityGroups field's value. -func (s *DBSecurityGroup) SetEC2SecurityGroups(v []EC2SecurityGroup) *DBSecurityGroup { - s.EC2SecurityGroups = v - return s -} + // Provides the AWS ID of the owner of a specific DB security group. + OwnerId *string `type:"string"` -// SetIPRanges sets the IPRanges field's value. -func (s *DBSecurityGroup) SetIPRanges(v []IPRange) *DBSecurityGroup { - s.IPRanges = v - return s + // Provides the VpcId of the DB security group. + VpcId *string `type:"string"` } -// SetOwnerId sets the OwnerId field's value. -func (s *DBSecurityGroup) SetOwnerId(v string) *DBSecurityGroup { - s.OwnerId = &v - return s +// String returns the string representation +func (s DBSecurityGroup) String() string { + return awsutil.Prettify(s) } -// SetVpcId sets the VpcId field's value. -func (s *DBSecurityGroup) SetVpcId(v string) *DBSecurityGroup { - s.VpcId = &v - return s +// GoString returns the string representation +func (s DBSecurityGroup) GoString() string { + return s.String() } // This data type is used as a response element in the following actions: @@ -12207,18 +10149,6 @@ func (s DBSecurityGroupMembership) GoString() string { return s.String() } -// SetDBSecurityGroupName sets the DBSecurityGroupName field's value. -func (s *DBSecurityGroupMembership) SetDBSecurityGroupName(v string) *DBSecurityGroupMembership { - s.DBSecurityGroupName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DBSecurityGroupMembership) SetStatus(v string) *DBSecurityGroupMembership { - s.Status = &v - return s -} - // Contains the details of an Amazon RDS DB snapshot. // // This data type is used as a response element in the DescribeDBSnapshots action. @@ -12325,162 +10255,6 @@ func (s DBSnapshot) GoString() string { return s.String() } -// SetAllocatedStorage sets the AllocatedStorage field's value. -func (s *DBSnapshot) SetAllocatedStorage(v int64) *DBSnapshot { - s.AllocatedStorage = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *DBSnapshot) SetAvailabilityZone(v string) *DBSnapshot { - s.AvailabilityZone = &v - return s -} - -// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. -func (s *DBSnapshot) SetDBInstanceIdentifier(v string) *DBSnapshot { - s.DBInstanceIdentifier = &v - return s -} - -// SetDBSnapshotArn sets the DBSnapshotArn field's value. -func (s *DBSnapshot) SetDBSnapshotArn(v string) *DBSnapshot { - s.DBSnapshotArn = &v - return s -} - -// SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value. -func (s *DBSnapshot) SetDBSnapshotIdentifier(v string) *DBSnapshot { - s.DBSnapshotIdentifier = &v - return s -} - -// SetEncrypted sets the Encrypted field's value. -func (s *DBSnapshot) SetEncrypted(v bool) *DBSnapshot { - s.Encrypted = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *DBSnapshot) SetEngine(v string) *DBSnapshot { - s.Engine = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *DBSnapshot) SetEngineVersion(v string) *DBSnapshot { - s.EngineVersion = &v - return s -} - -// SetIAMDatabaseAuthenticationEnabled sets the IAMDatabaseAuthenticationEnabled field's value. -func (s *DBSnapshot) SetIAMDatabaseAuthenticationEnabled(v bool) *DBSnapshot { - s.IAMDatabaseAuthenticationEnabled = &v - return s -} - -// SetInstanceCreateTime sets the InstanceCreateTime field's value. -func (s *DBSnapshot) SetInstanceCreateTime(v time.Time) *DBSnapshot { - s.InstanceCreateTime = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *DBSnapshot) SetIops(v int64) *DBSnapshot { - s.Iops = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *DBSnapshot) SetKmsKeyId(v string) *DBSnapshot { - s.KmsKeyId = &v - return s -} - -// SetLicenseModel sets the LicenseModel field's value. -func (s *DBSnapshot) SetLicenseModel(v string) *DBSnapshot { - s.LicenseModel = &v - return s -} - -// SetMasterUsername sets the MasterUsername field's value. -func (s *DBSnapshot) SetMasterUsername(v string) *DBSnapshot { - s.MasterUsername = &v - return s -} - -// SetOptionGroupName sets the OptionGroupName field's value. -func (s *DBSnapshot) SetOptionGroupName(v string) *DBSnapshot { - s.OptionGroupName = &v - return s -} - -// SetPercentProgress sets the PercentProgress field's value. -func (s *DBSnapshot) SetPercentProgress(v int64) *DBSnapshot { - s.PercentProgress = &v - return s -} - -// SetPort sets the Port field's value. -func (s *DBSnapshot) SetPort(v int64) *DBSnapshot { - s.Port = &v - return s -} - -// SetSnapshotCreateTime sets the SnapshotCreateTime field's value. -func (s *DBSnapshot) SetSnapshotCreateTime(v time.Time) *DBSnapshot { - s.SnapshotCreateTime = &v - return s -} - -// SetSnapshotType sets the SnapshotType field's value. -func (s *DBSnapshot) SetSnapshotType(v string) *DBSnapshot { - s.SnapshotType = &v - return s -} - -// SetSourceDBSnapshotIdentifier sets the SourceDBSnapshotIdentifier field's value. -func (s *DBSnapshot) SetSourceDBSnapshotIdentifier(v string) *DBSnapshot { - s.SourceDBSnapshotIdentifier = &v - return s -} - -// SetSourceRegion sets the SourceRegion field's value. -func (s *DBSnapshot) SetSourceRegion(v string) *DBSnapshot { - s.SourceRegion = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DBSnapshot) SetStatus(v string) *DBSnapshot { - s.Status = &v - return s -} - -// SetStorageType sets the StorageType field's value. -func (s *DBSnapshot) SetStorageType(v string) *DBSnapshot { - s.StorageType = &v - return s -} - -// SetTdeCredentialArn sets the TdeCredentialArn field's value. -func (s *DBSnapshot) SetTdeCredentialArn(v string) *DBSnapshot { - s.TdeCredentialArn = &v - return s -} - -// SetTimezone sets the Timezone field's value. -func (s *DBSnapshot) SetTimezone(v string) *DBSnapshot { - s.Timezone = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *DBSnapshot) SetVpcId(v string) *DBSnapshot { - s.VpcId = &v - return s -} - // Contains the name and values of a manual DB snapshot attribute // // Manual DB snapshot attributes are used to authorize other AWS accounts to @@ -12516,18 +10290,6 @@ func (s DBSnapshotAttribute) GoString() string { return s.String() } -// SetAttributeName sets the AttributeName field's value. -func (s *DBSnapshotAttribute) SetAttributeName(v string) *DBSnapshotAttribute { - s.AttributeName = &v - return s -} - -// SetAttributeValues sets the AttributeValues field's value. -func (s *DBSnapshotAttribute) SetAttributeValues(v []string) *DBSnapshotAttribute { - s.AttributeValues = v - return s -} - // Contains the results of a successful call to the DescribeDBSnapshotAttributes // API action. // @@ -12555,18 +10317,6 @@ func (s DBSnapshotAttributesResult) GoString() string { return s.String() } -// SetDBSnapshotAttributes sets the DBSnapshotAttributes field's value. -func (s *DBSnapshotAttributesResult) SetDBSnapshotAttributes(v []DBSnapshotAttribute) *DBSnapshotAttributesResult { - s.DBSnapshotAttributes = v - return s -} - -// SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value. -func (s *DBSnapshotAttributesResult) SetDBSnapshotIdentifier(v string) *DBSnapshotAttributesResult { - s.DBSnapshotIdentifier = &v - return s -} - // Contains the details of an Amazon RDS DB subnet group. // // This data type is used as a response element in the DescribeDBSubnetGroups @@ -12604,42 +10354,6 @@ func (s DBSubnetGroup) GoString() string { return s.String() } -// SetDBSubnetGroupArn sets the DBSubnetGroupArn field's value. -func (s *DBSubnetGroup) SetDBSubnetGroupArn(v string) *DBSubnetGroup { - s.DBSubnetGroupArn = &v - return s -} - -// SetDBSubnetGroupDescription sets the DBSubnetGroupDescription field's value. -func (s *DBSubnetGroup) SetDBSubnetGroupDescription(v string) *DBSubnetGroup { - s.DBSubnetGroupDescription = &v - return s -} - -// SetDBSubnetGroupName sets the DBSubnetGroupName field's value. -func (s *DBSubnetGroup) SetDBSubnetGroupName(v string) *DBSubnetGroup { - s.DBSubnetGroupName = &v - return s -} - -// SetSubnetGroupStatus sets the SubnetGroupStatus field's value. -func (s *DBSubnetGroup) SetSubnetGroupStatus(v string) *DBSubnetGroup { - s.SubnetGroupStatus = &v - return s -} - -// SetSubnets sets the Subnets field's value. -func (s *DBSubnetGroup) SetSubnets(v []Subnet) *DBSubnetGroup { - s.Subnets = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *DBSubnetGroup) SetVpcId(v string) *DBSubnetGroup { - s.VpcId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterMessage type DeleteDBClusterInput struct { _ struct{} `type:"structure"` @@ -12704,24 +10418,6 @@ func (s *DeleteDBClusterInput) Validate() error { return nil } -// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. -func (s *DeleteDBClusterInput) SetDBClusterIdentifier(v string) *DeleteDBClusterInput { - s.DBClusterIdentifier = &v - return s -} - -// SetFinalDBSnapshotIdentifier sets the FinalDBSnapshotIdentifier field's value. -func (s *DeleteDBClusterInput) SetFinalDBSnapshotIdentifier(v string) *DeleteDBClusterInput { - s.FinalDBSnapshotIdentifier = &v - return s -} - -// SetSkipFinalSnapshot sets the SkipFinalSnapshot field's value. -func (s *DeleteDBClusterInput) SetSkipFinalSnapshot(v bool) *DeleteDBClusterInput { - s.SkipFinalSnapshot = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterResult type DeleteDBClusterOutput struct { _ struct{} `type:"structure"` @@ -12749,12 +10445,6 @@ func (s DeleteDBClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBCluster sets the DBCluster field's value. -func (s *DeleteDBClusterOutput) SetDBCluster(v *DBCluster) *DeleteDBClusterOutput { - s.DBCluster = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterParameterGroupMessage type DeleteDBClusterParameterGroupInput struct { _ struct{} `type:"structure"` @@ -12797,12 +10487,6 @@ func (s *DeleteDBClusterParameterGroupInput) Validate() error { return nil } -// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value. -func (s *DeleteDBClusterParameterGroupInput) SetDBClusterParameterGroupName(v string) *DeleteDBClusterParameterGroupInput { - s.DBClusterParameterGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterParameterGroupOutput type DeleteDBClusterParameterGroupOutput struct { _ struct{} `type:"structure"` @@ -12862,12 +10546,6 @@ func (s *DeleteDBClusterSnapshotInput) Validate() error { return nil } -// SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value. -func (s *DeleteDBClusterSnapshotInput) SetDBClusterSnapshotIdentifier(v string) *DeleteDBClusterSnapshotInput { - s.DBClusterSnapshotIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterSnapshotResult type DeleteDBClusterSnapshotOutput struct { _ struct{} `type:"structure"` @@ -12896,12 +10574,6 @@ func (s DeleteDBClusterSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBClusterSnapshot sets the DBClusterSnapshot field's value. -func (s *DeleteDBClusterSnapshotOutput) SetDBClusterSnapshot(v *DBClusterSnapshot) *DeleteDBClusterSnapshotOutput { - s.DBClusterSnapshot = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstanceMessage type DeleteDBInstanceInput struct { _ struct{} `type:"structure"` @@ -12974,24 +10646,6 @@ func (s *DeleteDBInstanceInput) Validate() error { return nil } -// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. -func (s *DeleteDBInstanceInput) SetDBInstanceIdentifier(v string) *DeleteDBInstanceInput { - s.DBInstanceIdentifier = &v - return s -} - -// SetFinalDBSnapshotIdentifier sets the FinalDBSnapshotIdentifier field's value. -func (s *DeleteDBInstanceInput) SetFinalDBSnapshotIdentifier(v string) *DeleteDBInstanceInput { - s.FinalDBSnapshotIdentifier = &v - return s -} - -// SetSkipFinalSnapshot sets the SkipFinalSnapshot field's value. -func (s *DeleteDBInstanceInput) SetSkipFinalSnapshot(v bool) *DeleteDBInstanceInput { - s.SkipFinalSnapshot = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstanceResult type DeleteDBInstanceOutput struct { _ struct{} `type:"structure"` @@ -13019,12 +10673,6 @@ func (s DeleteDBInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBInstance sets the DBInstance field's value. -func (s *DeleteDBInstanceOutput) SetDBInstance(v *DBInstance) *DeleteDBInstanceOutput { - s.DBInstance = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBParameterGroupMessage type DeleteDBParameterGroupInput struct { _ struct{} `type:"structure"` @@ -13067,12 +10715,6 @@ func (s *DeleteDBParameterGroupInput) Validate() error { return nil } -// SetDBParameterGroupName sets the DBParameterGroupName field's value. -func (s *DeleteDBParameterGroupInput) SetDBParameterGroupName(v string) *DeleteDBParameterGroupInput { - s.DBParameterGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBParameterGroupOutput type DeleteDBParameterGroupOutput struct { _ struct{} `type:"structure"` @@ -13141,12 +10783,6 @@ func (s *DeleteDBSecurityGroupInput) Validate() error { return nil } -// SetDBSecurityGroupName sets the DBSecurityGroupName field's value. -func (s *DeleteDBSecurityGroupInput) SetDBSecurityGroupName(v string) *DeleteDBSecurityGroupInput { - s.DBSecurityGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSecurityGroupOutput type DeleteDBSecurityGroupOutput struct { _ struct{} `type:"structure"` @@ -13206,12 +10842,6 @@ func (s *DeleteDBSnapshotInput) Validate() error { return nil } -// SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value. -func (s *DeleteDBSnapshotInput) SetDBSnapshotIdentifier(v string) *DeleteDBSnapshotInput { - s.DBSnapshotIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSnapshotResult type DeleteDBSnapshotOutput struct { _ struct{} `type:"structure"` @@ -13239,12 +10869,6 @@ func (s DeleteDBSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBSnapshot sets the DBSnapshot field's value. -func (s *DeleteDBSnapshotOutput) SetDBSnapshot(v *DBSnapshot) *DeleteDBSnapshotOutput { - s.DBSnapshot = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSubnetGroupMessage type DeleteDBSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -13288,12 +10912,6 @@ func (s *DeleteDBSubnetGroupInput) Validate() error { return nil } -// SetDBSubnetGroupName sets the DBSubnetGroupName field's value. -func (s *DeleteDBSubnetGroupInput) SetDBSubnetGroupName(v string) *DeleteDBSubnetGroupInput { - s.DBSubnetGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSubnetGroupOutput type DeleteDBSubnetGroupOutput struct { _ struct{} `type:"structure"` @@ -13350,12 +10968,6 @@ func (s *DeleteEventSubscriptionInput) Validate() error { return nil } -// SetSubscriptionName sets the SubscriptionName field's value. -func (s *DeleteEventSubscriptionInput) SetSubscriptionName(v string) *DeleteEventSubscriptionInput { - s.SubscriptionName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteEventSubscriptionResult type DeleteEventSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -13382,12 +10994,6 @@ func (s DeleteEventSubscriptionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventSubscription sets the EventSubscription field's value. -func (s *DeleteEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *DeleteEventSubscriptionOutput { - s.EventSubscription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteOptionGroupMessage type DeleteOptionGroupInput struct { _ struct{} `type:"structure"` @@ -13424,12 +11030,6 @@ func (s *DeleteOptionGroupInput) Validate() error { return nil } -// SetOptionGroupName sets the OptionGroupName field's value. -func (s *DeleteOptionGroupInput) SetOptionGroupName(v string) *DeleteOptionGroupInput { - s.OptionGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteOptionGroupOutput type DeleteOptionGroupOutput struct { _ struct{} `type:"structure"` @@ -13494,12 +11094,6 @@ func (s DescribeAccountAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAccountQuotas sets the AccountQuotas field's value. -func (s *DescribeAccountAttributesOutput) SetAccountQuotas(v []AccountQuota) *DescribeAccountAttributesOutput { - s.AccountQuotas = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeCertificatesMessage type DescribeCertificatesInput struct { _ struct{} `type:"structure"` @@ -13558,30 +11152,6 @@ func (s *DescribeCertificatesInput) Validate() error { return nil } -// SetCertificateIdentifier sets the CertificateIdentifier field's value. -func (s *DescribeCertificatesInput) SetCertificateIdentifier(v string) *DescribeCertificatesInput { - s.CertificateIdentifier = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeCertificatesInput) SetFilters(v []Filter) *DescribeCertificatesInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeCertificatesInput) SetMarker(v string) *DescribeCertificatesInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeCertificatesInput) SetMaxRecords(v int64) *DescribeCertificatesInput { - s.MaxRecords = &v - return s -} - // Data returned by the DescribeCertificates action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CertificateMessage type DescribeCertificatesOutput struct { @@ -13613,18 +11183,6 @@ func (s DescribeCertificatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCertificates sets the Certificates field's value. -func (s *DescribeCertificatesOutput) SetCertificates(v []Certificate) *DescribeCertificatesOutput { - s.Certificates = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeCertificatesOutput) SetMarker(v string) *DescribeCertificatesOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParameterGroupsMessage type DescribeDBClusterParameterGroupsInput struct { _ struct{} `type:"structure"` @@ -13681,30 +11239,6 @@ func (s *DescribeDBClusterParameterGroupsInput) Validate() error { return nil } -// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value. -func (s *DescribeDBClusterParameterGroupsInput) SetDBClusterParameterGroupName(v string) *DescribeDBClusterParameterGroupsInput { - s.DBClusterParameterGroupName = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeDBClusterParameterGroupsInput) SetFilters(v []Filter) *DescribeDBClusterParameterGroupsInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBClusterParameterGroupsInput) SetMarker(v string) *DescribeDBClusterParameterGroupsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeDBClusterParameterGroupsInput) SetMaxRecords(v int64) *DescribeDBClusterParameterGroupsInput { - s.MaxRecords = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterParameterGroupsMessage type DescribeDBClusterParameterGroupsOutput struct { _ struct{} `type:"structure"` @@ -13735,18 +11269,6 @@ func (s DescribeDBClusterParameterGroupsOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetDBClusterParameterGroups sets the DBClusterParameterGroups field's value. -func (s *DescribeDBClusterParameterGroupsOutput) SetDBClusterParameterGroups(v []DBClusterParameterGroup) *DescribeDBClusterParameterGroupsOutput { - s.DBClusterParameterGroups = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBClusterParameterGroupsOutput) SetMarker(v string) *DescribeDBClusterParameterGroupsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParametersMessage type DescribeDBClusterParametersInput struct { _ struct{} `type:"structure"` @@ -13814,36 +11336,6 @@ func (s *DescribeDBClusterParametersInput) Validate() error { return nil } -// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value. -func (s *DescribeDBClusterParametersInput) SetDBClusterParameterGroupName(v string) *DescribeDBClusterParametersInput { - s.DBClusterParameterGroupName = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeDBClusterParametersInput) SetFilters(v []Filter) *DescribeDBClusterParametersInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBClusterParametersInput) SetMarker(v string) *DescribeDBClusterParametersInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeDBClusterParametersInput) SetMaxRecords(v int64) *DescribeDBClusterParametersInput { - s.MaxRecords = &v - return s -} - -// SetSource sets the Source field's value. -func (s *DescribeDBClusterParametersInput) SetSource(v string) *DescribeDBClusterParametersInput { - s.Source = &v - return s -} - // Provides details about a DB cluster parameter group including the parameters // in the DB cluster parameter group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterParameterGroupDetails @@ -13876,18 +11368,6 @@ func (s DescribeDBClusterParametersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeDBClusterParametersOutput) SetMarker(v string) *DescribeDBClusterParametersOutput { - s.Marker = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *DescribeDBClusterParametersOutput) SetParameters(v []Parameter) *DescribeDBClusterParametersOutput { - s.Parameters = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotAttributesMessage type DescribeDBClusterSnapshotAttributesInput struct { _ struct{} `type:"structure"` @@ -13922,12 +11402,6 @@ func (s *DescribeDBClusterSnapshotAttributesInput) Validate() error { return nil } -// SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value. -func (s *DescribeDBClusterSnapshotAttributesInput) SetDBClusterSnapshotIdentifier(v string) *DescribeDBClusterSnapshotAttributesInput { - s.DBClusterSnapshotIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotAttributesResult type DescribeDBClusterSnapshotAttributesOutput struct { _ struct{} `type:"structure"` @@ -13958,12 +11432,6 @@ func (s DescribeDBClusterSnapshotAttributesOutput) SDKResponseMetadata() aws.Res return s.responseMetadata } -// SetDBClusterSnapshotAttributesResult sets the DBClusterSnapshotAttributesResult field's value. -func (s *DescribeDBClusterSnapshotAttributesOutput) SetDBClusterSnapshotAttributesResult(v *DBClusterSnapshotAttributesResult) *DescribeDBClusterSnapshotAttributesOutput { - s.DBClusterSnapshotAttributesResult = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotsMessage type DescribeDBClusterSnapshotsInput struct { _ struct{} `type:"structure"` @@ -14076,54 +11544,6 @@ func (s *DescribeDBClusterSnapshotsInput) Validate() error { return nil } -// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. -func (s *DescribeDBClusterSnapshotsInput) SetDBClusterIdentifier(v string) *DescribeDBClusterSnapshotsInput { - s.DBClusterIdentifier = &v - return s -} - -// SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value. -func (s *DescribeDBClusterSnapshotsInput) SetDBClusterSnapshotIdentifier(v string) *DescribeDBClusterSnapshotsInput { - s.DBClusterSnapshotIdentifier = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeDBClusterSnapshotsInput) SetFilters(v []Filter) *DescribeDBClusterSnapshotsInput { - s.Filters = v - return s -} - -// SetIncludePublic sets the IncludePublic field's value. -func (s *DescribeDBClusterSnapshotsInput) SetIncludePublic(v bool) *DescribeDBClusterSnapshotsInput { - s.IncludePublic = &v - return s -} - -// SetIncludeShared sets the IncludeShared field's value. -func (s *DescribeDBClusterSnapshotsInput) SetIncludeShared(v bool) *DescribeDBClusterSnapshotsInput { - s.IncludeShared = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBClusterSnapshotsInput) SetMarker(v string) *DescribeDBClusterSnapshotsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeDBClusterSnapshotsInput) SetMaxRecords(v int64) *DescribeDBClusterSnapshotsInput { - s.MaxRecords = &v - return s -} - -// SetSnapshotType sets the SnapshotType field's value. -func (s *DescribeDBClusterSnapshotsInput) SetSnapshotType(v string) *DescribeDBClusterSnapshotsInput { - s.SnapshotType = &v - return s -} - // Provides a list of DB cluster snapshots for the user as the result of a call // to the DescribeDBClusterSnapshots action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterSnapshotMessage @@ -14156,18 +11576,6 @@ func (s DescribeDBClusterSnapshotsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBClusterSnapshots sets the DBClusterSnapshots field's value. -func (s *DescribeDBClusterSnapshotsOutput) SetDBClusterSnapshots(v []DBClusterSnapshot) *DescribeDBClusterSnapshotsOutput { - s.DBClusterSnapshots = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBClusterSnapshotsOutput) SetMarker(v string) *DescribeDBClusterSnapshotsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClustersMessage type DescribeDBClustersInput struct { _ struct{} `type:"structure"` @@ -14232,30 +11640,6 @@ func (s *DescribeDBClustersInput) Validate() error { return nil } -// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. -func (s *DescribeDBClustersInput) SetDBClusterIdentifier(v string) *DescribeDBClustersInput { - s.DBClusterIdentifier = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeDBClustersInput) SetFilters(v []Filter) *DescribeDBClustersInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBClustersInput) SetMarker(v string) *DescribeDBClustersInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeDBClustersInput) SetMaxRecords(v int64) *DescribeDBClustersInput { - s.MaxRecords = &v - return s -} - // Contains the result of a successful invocation of the DescribeDBClusters // action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBClusterMessage @@ -14286,18 +11670,6 @@ func (s DescribeDBClustersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBClusters sets the DBClusters field's value. -func (s *DescribeDBClustersOutput) SetDBClusters(v []DBCluster) *DescribeDBClustersOutput { - s.DBClusters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBClustersOutput) SetMarker(v string) *DescribeDBClustersOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBEngineVersionsMessage type DescribeDBEngineVersionsInput struct { _ struct{} `type:"structure"` @@ -14376,60 +11748,6 @@ func (s *DescribeDBEngineVersionsInput) Validate() error { return nil } -// SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value. -func (s *DescribeDBEngineVersionsInput) SetDBParameterGroupFamily(v string) *DescribeDBEngineVersionsInput { - s.DBParameterGroupFamily = &v - return s -} - -// SetDefaultOnly sets the DefaultOnly field's value. -func (s *DescribeDBEngineVersionsInput) SetDefaultOnly(v bool) *DescribeDBEngineVersionsInput { - s.DefaultOnly = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *DescribeDBEngineVersionsInput) SetEngine(v string) *DescribeDBEngineVersionsInput { - s.Engine = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *DescribeDBEngineVersionsInput) SetEngineVersion(v string) *DescribeDBEngineVersionsInput { - s.EngineVersion = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeDBEngineVersionsInput) SetFilters(v []Filter) *DescribeDBEngineVersionsInput { - s.Filters = v - return s -} - -// SetListSupportedCharacterSets sets the ListSupportedCharacterSets field's value. -func (s *DescribeDBEngineVersionsInput) SetListSupportedCharacterSets(v bool) *DescribeDBEngineVersionsInput { - s.ListSupportedCharacterSets = &v - return s -} - -// SetListSupportedTimezones sets the ListSupportedTimezones field's value. -func (s *DescribeDBEngineVersionsInput) SetListSupportedTimezones(v bool) *DescribeDBEngineVersionsInput { - s.ListSupportedTimezones = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBEngineVersionsInput) SetMarker(v string) *DescribeDBEngineVersionsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeDBEngineVersionsInput) SetMaxRecords(v int64) *DescribeDBEngineVersionsInput { - s.MaxRecords = &v - return s -} - // Contains the result of a successful invocation of the DescribeDBEngineVersions // action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBEngineVersionMessage @@ -14462,18 +11780,6 @@ func (s DescribeDBEngineVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBEngineVersions sets the DBEngineVersions field's value. -func (s *DescribeDBEngineVersionsOutput) SetDBEngineVersions(v []DBEngineVersion) *DescribeDBEngineVersionsOutput { - s.DBEngineVersions = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBEngineVersionsOutput) SetMarker(v string) *DescribeDBEngineVersionsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBInstancesMessage type DescribeDBInstancesInput struct { _ struct{} `type:"structure"` @@ -14542,30 +11848,6 @@ func (s *DescribeDBInstancesInput) Validate() error { return nil } -// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. -func (s *DescribeDBInstancesInput) SetDBInstanceIdentifier(v string) *DescribeDBInstancesInput { - s.DBInstanceIdentifier = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeDBInstancesInput) SetFilters(v []Filter) *DescribeDBInstancesInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBInstancesInput) SetMarker(v string) *DescribeDBInstancesInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeDBInstancesInput) SetMaxRecords(v int64) *DescribeDBInstancesInput { - s.MaxRecords = &v - return s -} - // Contains the result of a successful invocation of the DescribeDBInstances // action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstanceMessage @@ -14598,18 +11880,6 @@ func (s DescribeDBInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBInstances sets the DBInstances field's value. -func (s *DescribeDBInstancesOutput) SetDBInstances(v []DBInstance) *DescribeDBInstancesOutput { - s.DBInstances = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBInstancesOutput) SetMarker(v string) *DescribeDBInstancesOutput { - s.Marker = &v - return s -} - // This data type is used as a response element to DescribeDBLogFiles. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBLogFilesDetails type DescribeDBLogFilesDetails struct { @@ -14635,24 +11905,6 @@ func (s DescribeDBLogFilesDetails) GoString() string { return s.String() } -// SetLastWritten sets the LastWritten field's value. -func (s *DescribeDBLogFilesDetails) SetLastWritten(v int64) *DescribeDBLogFilesDetails { - s.LastWritten = &v - return s -} - -// SetLogFileName sets the LogFileName field's value. -func (s *DescribeDBLogFilesDetails) SetLogFileName(v string) *DescribeDBLogFilesDetails { - s.LogFileName = &v - return s -} - -// SetSize sets the Size field's value. -func (s *DescribeDBLogFilesDetails) SetSize(v int64) *DescribeDBLogFilesDetails { - s.Size = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBLogFilesMessage type DescribeDBLogFilesInput struct { _ struct{} `type:"structure"` @@ -14723,48 +11975,6 @@ func (s *DescribeDBLogFilesInput) Validate() error { return nil } -// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. -func (s *DescribeDBLogFilesInput) SetDBInstanceIdentifier(v string) *DescribeDBLogFilesInput { - s.DBInstanceIdentifier = &v - return s -} - -// SetFileLastWritten sets the FileLastWritten field's value. -func (s *DescribeDBLogFilesInput) SetFileLastWritten(v int64) *DescribeDBLogFilesInput { - s.FileLastWritten = &v - return s -} - -// SetFileSize sets the FileSize field's value. -func (s *DescribeDBLogFilesInput) SetFileSize(v int64) *DescribeDBLogFilesInput { - s.FileSize = &v - return s -} - -// SetFilenameContains sets the FilenameContains field's value. -func (s *DescribeDBLogFilesInput) SetFilenameContains(v string) *DescribeDBLogFilesInput { - s.FilenameContains = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeDBLogFilesInput) SetFilters(v []Filter) *DescribeDBLogFilesInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBLogFilesInput) SetMarker(v string) *DescribeDBLogFilesInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeDBLogFilesInput) SetMaxRecords(v int64) *DescribeDBLogFilesInput { - s.MaxRecords = &v - return s -} - // The response from a call to DescribeDBLogFiles. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBLogFilesResponse type DescribeDBLogFilesOutput struct { @@ -14794,18 +12004,6 @@ func (s DescribeDBLogFilesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDescribeDBLogFiles sets the DescribeDBLogFiles field's value. -func (s *DescribeDBLogFilesOutput) SetDescribeDBLogFiles(v []DescribeDBLogFilesDetails) *DescribeDBLogFilesOutput { - s.DescribeDBLogFiles = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBLogFilesOutput) SetMarker(v string) *DescribeDBLogFilesOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParameterGroupsMessage type DescribeDBParameterGroupsInput struct { _ struct{} `type:"structure"` @@ -14862,30 +12060,6 @@ func (s *DescribeDBParameterGroupsInput) Validate() error { return nil } -// SetDBParameterGroupName sets the DBParameterGroupName field's value. -func (s *DescribeDBParameterGroupsInput) SetDBParameterGroupName(v string) *DescribeDBParameterGroupsInput { - s.DBParameterGroupName = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeDBParameterGroupsInput) SetFilters(v []Filter) *DescribeDBParameterGroupsInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBParameterGroupsInput) SetMarker(v string) *DescribeDBParameterGroupsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeDBParameterGroupsInput) SetMaxRecords(v int64) *DescribeDBParameterGroupsInput { - s.MaxRecords = &v - return s -} - // Contains the result of a successful invocation of the DescribeDBParameterGroups // action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBParameterGroupsMessage @@ -14918,18 +12092,6 @@ func (s DescribeDBParameterGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBParameterGroups sets the DBParameterGroups field's value. -func (s *DescribeDBParameterGroupsOutput) SetDBParameterGroups(v []DBParameterGroup) *DescribeDBParameterGroupsOutput { - s.DBParameterGroups = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBParameterGroupsOutput) SetMarker(v string) *DescribeDBParameterGroupsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParametersMessage type DescribeDBParametersInput struct { _ struct{} `type:"structure"` @@ -14999,36 +12161,6 @@ func (s *DescribeDBParametersInput) Validate() error { return nil } -// SetDBParameterGroupName sets the DBParameterGroupName field's value. -func (s *DescribeDBParametersInput) SetDBParameterGroupName(v string) *DescribeDBParametersInput { - s.DBParameterGroupName = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeDBParametersInput) SetFilters(v []Filter) *DescribeDBParametersInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBParametersInput) SetMarker(v string) *DescribeDBParametersInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeDBParametersInput) SetMaxRecords(v int64) *DescribeDBParametersInput { - s.MaxRecords = &v - return s -} - -// SetSource sets the Source field's value. -func (s *DescribeDBParametersInput) SetSource(v string) *DescribeDBParametersInput { - s.Source = &v - return s -} - // Contains the result of a successful invocation of the DescribeDBParameters // action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBParameterGroupDetails @@ -15061,18 +12193,6 @@ func (s DescribeDBParametersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeDBParametersOutput) SetMarker(v string) *DescribeDBParametersOutput { - s.Marker = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *DescribeDBParametersOutput) SetParameters(v []Parameter) *DescribeDBParametersOutput { - s.Parameters = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSecurityGroupsMessage type DescribeDBSecurityGroupsInput struct { _ struct{} `type:"structure"` @@ -15125,30 +12245,6 @@ func (s *DescribeDBSecurityGroupsInput) Validate() error { return nil } -// SetDBSecurityGroupName sets the DBSecurityGroupName field's value. -func (s *DescribeDBSecurityGroupsInput) SetDBSecurityGroupName(v string) *DescribeDBSecurityGroupsInput { - s.DBSecurityGroupName = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeDBSecurityGroupsInput) SetFilters(v []Filter) *DescribeDBSecurityGroupsInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBSecurityGroupsInput) SetMarker(v string) *DescribeDBSecurityGroupsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeDBSecurityGroupsInput) SetMaxRecords(v int64) *DescribeDBSecurityGroupsInput { - s.MaxRecords = &v - return s -} - // Contains the result of a successful invocation of the DescribeDBSecurityGroups // action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSecurityGroupMessage @@ -15181,18 +12277,6 @@ func (s DescribeDBSecurityGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBSecurityGroups sets the DBSecurityGroups field's value. -func (s *DescribeDBSecurityGroupsOutput) SetDBSecurityGroups(v []DBSecurityGroup) *DescribeDBSecurityGroupsOutput { - s.DBSecurityGroups = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBSecurityGroupsOutput) SetMarker(v string) *DescribeDBSecurityGroupsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotAttributesMessage type DescribeDBSnapshotAttributesInput struct { _ struct{} `type:"structure"` @@ -15227,12 +12311,6 @@ func (s *DescribeDBSnapshotAttributesInput) Validate() error { return nil } -// SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value. -func (s *DescribeDBSnapshotAttributesInput) SetDBSnapshotIdentifier(v string) *DescribeDBSnapshotAttributesInput { - s.DBSnapshotIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotAttributesResult type DescribeDBSnapshotAttributesOutput struct { _ struct{} `type:"structure"` @@ -15263,12 +12341,6 @@ func (s DescribeDBSnapshotAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBSnapshotAttributesResult sets the DBSnapshotAttributesResult field's value. -func (s *DescribeDBSnapshotAttributesOutput) SetDBSnapshotAttributesResult(v *DBSnapshotAttributesResult) *DescribeDBSnapshotAttributesOutput { - s.DBSnapshotAttributesResult = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotsMessage type DescribeDBSnapshotsInput struct { _ struct{} `type:"structure"` @@ -15379,54 +12451,6 @@ func (s *DescribeDBSnapshotsInput) Validate() error { return nil } -// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. -func (s *DescribeDBSnapshotsInput) SetDBInstanceIdentifier(v string) *DescribeDBSnapshotsInput { - s.DBInstanceIdentifier = &v - return s -} - -// SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value. -func (s *DescribeDBSnapshotsInput) SetDBSnapshotIdentifier(v string) *DescribeDBSnapshotsInput { - s.DBSnapshotIdentifier = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeDBSnapshotsInput) SetFilters(v []Filter) *DescribeDBSnapshotsInput { - s.Filters = v - return s -} - -// SetIncludePublic sets the IncludePublic field's value. -func (s *DescribeDBSnapshotsInput) SetIncludePublic(v bool) *DescribeDBSnapshotsInput { - s.IncludePublic = &v - return s -} - -// SetIncludeShared sets the IncludeShared field's value. -func (s *DescribeDBSnapshotsInput) SetIncludeShared(v bool) *DescribeDBSnapshotsInput { - s.IncludeShared = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBSnapshotsInput) SetMarker(v string) *DescribeDBSnapshotsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeDBSnapshotsInput) SetMaxRecords(v int64) *DescribeDBSnapshotsInput { - s.MaxRecords = &v - return s -} - -// SetSnapshotType sets the SnapshotType field's value. -func (s *DescribeDBSnapshotsInput) SetSnapshotType(v string) *DescribeDBSnapshotsInput { - s.SnapshotType = &v - return s -} - // Contains the result of a successful invocation of the DescribeDBSnapshots // action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSnapshotMessage @@ -15459,18 +12483,6 @@ func (s DescribeDBSnapshotsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBSnapshots sets the DBSnapshots field's value. -func (s *DescribeDBSnapshotsOutput) SetDBSnapshots(v []DBSnapshot) *DescribeDBSnapshotsOutput { - s.DBSnapshots = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBSnapshotsOutput) SetMarker(v string) *DescribeDBSnapshotsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSubnetGroupsMessage type DescribeDBSubnetGroupsInput struct { _ struct{} `type:"structure"` @@ -15523,30 +12535,6 @@ func (s *DescribeDBSubnetGroupsInput) Validate() error { return nil } -// SetDBSubnetGroupName sets the DBSubnetGroupName field's value. -func (s *DescribeDBSubnetGroupsInput) SetDBSubnetGroupName(v string) *DescribeDBSubnetGroupsInput { - s.DBSubnetGroupName = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeDBSubnetGroupsInput) SetFilters(v []Filter) *DescribeDBSubnetGroupsInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBSubnetGroupsInput) SetMarker(v string) *DescribeDBSubnetGroupsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeDBSubnetGroupsInput) SetMaxRecords(v int64) *DescribeDBSubnetGroupsInput { - s.MaxRecords = &v - return s -} - // Contains the result of a successful invocation of the DescribeDBSubnetGroups // action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSubnetGroupMessage @@ -15579,18 +12567,6 @@ func (s DescribeDBSubnetGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBSubnetGroups sets the DBSubnetGroups field's value. -func (s *DescribeDBSubnetGroupsOutput) SetDBSubnetGroups(v []DBSubnetGroup) *DescribeDBSubnetGroupsOutput { - s.DBSubnetGroups = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDBSubnetGroupsOutput) SetMarker(v string) *DescribeDBSubnetGroupsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultClusterParametersMessage type DescribeEngineDefaultClusterParametersInput struct { _ struct{} `type:"structure"` @@ -15650,30 +12626,6 @@ func (s *DescribeEngineDefaultClusterParametersInput) Validate() error { return nil } -// SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value. -func (s *DescribeEngineDefaultClusterParametersInput) SetDBParameterGroupFamily(v string) *DescribeEngineDefaultClusterParametersInput { - s.DBParameterGroupFamily = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeEngineDefaultClusterParametersInput) SetFilters(v []Filter) *DescribeEngineDefaultClusterParametersInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeEngineDefaultClusterParametersInput) SetMarker(v string) *DescribeEngineDefaultClusterParametersInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeEngineDefaultClusterParametersInput) SetMaxRecords(v int64) *DescribeEngineDefaultClusterParametersInput { - s.MaxRecords = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultClusterParametersResult type DescribeEngineDefaultClusterParametersOutput struct { _ struct{} `type:"structure"` @@ -15700,12 +12652,6 @@ func (s DescribeEngineDefaultClusterParametersOutput) SDKResponseMetadata() aws. return s.responseMetadata } -// SetEngineDefaults sets the EngineDefaults field's value. -func (s *DescribeEngineDefaultClusterParametersOutput) SetEngineDefaults(v *EngineDefaults) *DescribeEngineDefaultClusterParametersOutput { - s.EngineDefaults = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultParametersMessage type DescribeEngineDefaultParametersInput struct { _ struct{} `type:"structure"` @@ -15764,30 +12710,6 @@ func (s *DescribeEngineDefaultParametersInput) Validate() error { return nil } -// SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value. -func (s *DescribeEngineDefaultParametersInput) SetDBParameterGroupFamily(v string) *DescribeEngineDefaultParametersInput { - s.DBParameterGroupFamily = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeEngineDefaultParametersInput) SetFilters(v []Filter) *DescribeEngineDefaultParametersInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeEngineDefaultParametersInput) SetMarker(v string) *DescribeEngineDefaultParametersInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeEngineDefaultParametersInput) SetMaxRecords(v int64) *DescribeEngineDefaultParametersInput { - s.MaxRecords = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultParametersResult type DescribeEngineDefaultParametersOutput struct { _ struct{} `type:"structure"` @@ -15814,12 +12736,6 @@ func (s DescribeEngineDefaultParametersOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetEngineDefaults sets the EngineDefaults field's value. -func (s *DescribeEngineDefaultParametersOutput) SetEngineDefaults(v *EngineDefaults) *DescribeEngineDefaultParametersOutput { - s.EngineDefaults = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventCategoriesMessage type DescribeEventCategoriesInput struct { _ struct{} `type:"structure"` @@ -15860,18 +12776,6 @@ func (s *DescribeEventCategoriesInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeEventCategoriesInput) SetFilters(v []Filter) *DescribeEventCategoriesInput { - s.Filters = v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *DescribeEventCategoriesInput) SetSourceType(v string) *DescribeEventCategoriesInput { - s.SourceType = &v - return s -} - // Data returned from the DescribeEventCategories action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EventCategoriesMessage type DescribeEventCategoriesOutput struct { @@ -15898,12 +12802,6 @@ func (s DescribeEventCategoriesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventCategoriesMapList sets the EventCategoriesMapList field's value. -func (s *DescribeEventCategoriesOutput) SetEventCategoriesMapList(v []EventCategoriesMap) *DescribeEventCategoriesOutput { - s.EventCategoriesMapList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventSubscriptionsMessage type DescribeEventSubscriptionsInput struct { _ struct{} `type:"structure"` @@ -15956,30 +12854,6 @@ func (s *DescribeEventSubscriptionsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeEventSubscriptionsInput) SetFilters(v []Filter) *DescribeEventSubscriptionsInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeEventSubscriptionsInput) SetMarker(v string) *DescribeEventSubscriptionsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeEventSubscriptionsInput) SetMaxRecords(v int64) *DescribeEventSubscriptionsInput { - s.MaxRecords = &v - return s -} - -// SetSubscriptionName sets the SubscriptionName field's value. -func (s *DescribeEventSubscriptionsInput) SetSubscriptionName(v string) *DescribeEventSubscriptionsInput { - s.SubscriptionName = &v - return s -} - // Data returned by the DescribeEventSubscriptions action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EventSubscriptionsMessage type DescribeEventSubscriptionsOutput struct { @@ -16011,18 +12885,6 @@ func (s DescribeEventSubscriptionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventSubscriptionsList sets the EventSubscriptionsList field's value. -func (s *DescribeEventSubscriptionsOutput) SetEventSubscriptionsList(v []EventSubscription) *DescribeEventSubscriptionsOutput { - s.EventSubscriptionsList = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeEventSubscriptionsOutput) SetMarker(v string) *DescribeEventSubscriptionsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventsMessage type DescribeEventsInput struct { _ struct{} `type:"structure"` @@ -16120,60 +12982,6 @@ func (s *DescribeEventsInput) Validate() error { return nil } -// SetDuration sets the Duration field's value. -func (s *DescribeEventsInput) SetDuration(v int64) *DescribeEventsInput { - s.Duration = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *DescribeEventsInput) SetEndTime(v time.Time) *DescribeEventsInput { - s.EndTime = &v - return s -} - -// SetEventCategories sets the EventCategories field's value. -func (s *DescribeEventsInput) SetEventCategories(v []string) *DescribeEventsInput { - s.EventCategories = v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeEventsInput) SetFilters(v []Filter) *DescribeEventsInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeEventsInput) SetMarker(v string) *DescribeEventsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeEventsInput) SetMaxRecords(v int64) *DescribeEventsInput { - s.MaxRecords = &v - return s -} - -// SetSourceIdentifier sets the SourceIdentifier field's value. -func (s *DescribeEventsInput) SetSourceIdentifier(v string) *DescribeEventsInput { - s.SourceIdentifier = &v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *DescribeEventsInput) SetSourceType(v SourceType) *DescribeEventsInput { - s.SourceType = v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput { - s.StartTime = &v - return s -} - // Contains the result of a successful invocation of the DescribeEvents action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EventsMessage type DescribeEventsOutput struct { @@ -16205,18 +13013,6 @@ func (s DescribeEventsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEvents sets the Events field's value. -func (s *DescribeEventsOutput) SetEvents(v []Event) *DescribeEventsOutput { - s.Events = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeEventsOutput) SetMarker(v string) *DescribeEventsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroupOptionsMessage type DescribeOptionGroupOptionsInput struct { _ struct{} `type:"structure"` @@ -16279,36 +13075,6 @@ func (s *DescribeOptionGroupOptionsInput) Validate() error { return nil } -// SetEngineName sets the EngineName field's value. -func (s *DescribeOptionGroupOptionsInput) SetEngineName(v string) *DescribeOptionGroupOptionsInput { - s.EngineName = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeOptionGroupOptionsInput) SetFilters(v []Filter) *DescribeOptionGroupOptionsInput { - s.Filters = v - return s -} - -// SetMajorEngineVersion sets the MajorEngineVersion field's value. -func (s *DescribeOptionGroupOptionsInput) SetMajorEngineVersion(v string) *DescribeOptionGroupOptionsInput { - s.MajorEngineVersion = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeOptionGroupOptionsInput) SetMarker(v string) *DescribeOptionGroupOptionsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeOptionGroupOptionsInput) SetMaxRecords(v int64) *DescribeOptionGroupOptionsInput { - s.MaxRecords = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroupOptionsMessage type DescribeOptionGroupOptionsOutput struct { _ struct{} `type:"structure"` @@ -16339,18 +13105,6 @@ func (s DescribeOptionGroupOptionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeOptionGroupOptionsOutput) SetMarker(v string) *DescribeOptionGroupOptionsOutput { - s.Marker = &v - return s -} - -// SetOptionGroupOptions sets the OptionGroupOptions field's value. -func (s *DescribeOptionGroupOptionsOutput) SetOptionGroupOptions(v []OptionGroupOption) *DescribeOptionGroupOptionsOutput { - s.OptionGroupOptions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroupsMessage type DescribeOptionGroupsInput struct { _ struct{} `type:"structure"` @@ -16413,42 +13167,6 @@ func (s *DescribeOptionGroupsInput) Validate() error { return nil } -// SetEngineName sets the EngineName field's value. -func (s *DescribeOptionGroupsInput) SetEngineName(v string) *DescribeOptionGroupsInput { - s.EngineName = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeOptionGroupsInput) SetFilters(v []Filter) *DescribeOptionGroupsInput { - s.Filters = v - return s -} - -// SetMajorEngineVersion sets the MajorEngineVersion field's value. -func (s *DescribeOptionGroupsInput) SetMajorEngineVersion(v string) *DescribeOptionGroupsInput { - s.MajorEngineVersion = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeOptionGroupsInput) SetMarker(v string) *DescribeOptionGroupsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeOptionGroupsInput) SetMaxRecords(v int64) *DescribeOptionGroupsInput { - s.MaxRecords = &v - return s -} - -// SetOptionGroupName sets the OptionGroupName field's value. -func (s *DescribeOptionGroupsInput) SetOptionGroupName(v string) *DescribeOptionGroupsInput { - s.OptionGroupName = &v - return s -} - // List of option groups. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroups type DescribeOptionGroupsOutput struct { @@ -16480,18 +13198,6 @@ func (s DescribeOptionGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeOptionGroupsOutput) SetMarker(v string) *DescribeOptionGroupsOutput { - s.Marker = &v - return s -} - -// SetOptionGroupsList sets the OptionGroupsList field's value. -func (s *DescribeOptionGroupsOutput) SetOptionGroupsList(v []OptionGroup) *DescribeOptionGroupsOutput { - s.OptionGroupsList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOrderableDBInstanceOptionsMessage type DescribeOrderableDBInstanceOptionsInput struct { _ struct{} `type:"structure"` @@ -16566,54 +13272,6 @@ func (s *DescribeOrderableDBInstanceOptionsInput) Validate() error { return nil } -// SetDBInstanceClass sets the DBInstanceClass field's value. -func (s *DescribeOrderableDBInstanceOptionsInput) SetDBInstanceClass(v string) *DescribeOrderableDBInstanceOptionsInput { - s.DBInstanceClass = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *DescribeOrderableDBInstanceOptionsInput) SetEngine(v string) *DescribeOrderableDBInstanceOptionsInput { - s.Engine = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *DescribeOrderableDBInstanceOptionsInput) SetEngineVersion(v string) *DescribeOrderableDBInstanceOptionsInput { - s.EngineVersion = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeOrderableDBInstanceOptionsInput) SetFilters(v []Filter) *DescribeOrderableDBInstanceOptionsInput { - s.Filters = v - return s -} - -// SetLicenseModel sets the LicenseModel field's value. -func (s *DescribeOrderableDBInstanceOptionsInput) SetLicenseModel(v string) *DescribeOrderableDBInstanceOptionsInput { - s.LicenseModel = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeOrderableDBInstanceOptionsInput) SetMarker(v string) *DescribeOrderableDBInstanceOptionsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeOrderableDBInstanceOptionsInput) SetMaxRecords(v int64) *DescribeOrderableDBInstanceOptionsInput { - s.MaxRecords = &v - return s -} - -// SetVpc sets the Vpc field's value. -func (s *DescribeOrderableDBInstanceOptionsInput) SetVpc(v bool) *DescribeOrderableDBInstanceOptionsInput { - s.Vpc = &v - return s -} - // Contains the result of a successful invocation of the DescribeOrderableDBInstanceOptions // action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OrderableDBInstanceOptionsMessage @@ -16647,18 +13305,6 @@ func (s DescribeOrderableDBInstanceOptionsOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeOrderableDBInstanceOptionsOutput) SetMarker(v string) *DescribeOrderableDBInstanceOptionsOutput { - s.Marker = &v - return s -} - -// SetOrderableDBInstanceOptions sets the OrderableDBInstanceOptions field's value. -func (s *DescribeOrderableDBInstanceOptionsOutput) SetOrderableDBInstanceOptions(v []OrderableDBInstanceOption) *DescribeOrderableDBInstanceOptionsOutput { - s.OrderableDBInstanceOptions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribePendingMaintenanceActionsMessage type DescribePendingMaintenanceActionsInput struct { _ struct{} `type:"structure"` @@ -16722,30 +13368,6 @@ func (s *DescribePendingMaintenanceActionsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribePendingMaintenanceActionsInput) SetFilters(v []Filter) *DescribePendingMaintenanceActionsInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribePendingMaintenanceActionsInput) SetMarker(v string) *DescribePendingMaintenanceActionsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribePendingMaintenanceActionsInput) SetMaxRecords(v int64) *DescribePendingMaintenanceActionsInput { - s.MaxRecords = &v - return s -} - -// SetResourceIdentifier sets the ResourceIdentifier field's value. -func (s *DescribePendingMaintenanceActionsInput) SetResourceIdentifier(v string) *DescribePendingMaintenanceActionsInput { - s.ResourceIdentifier = &v - return s -} - // Data returned from the DescribePendingMaintenanceActions action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PendingMaintenanceActionsMessage type DescribePendingMaintenanceActionsOutput struct { @@ -16777,18 +13399,6 @@ func (s DescribePendingMaintenanceActionsOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribePendingMaintenanceActionsOutput) SetMarker(v string) *DescribePendingMaintenanceActionsOutput { - s.Marker = &v - return s -} - -// SetPendingMaintenanceActions sets the PendingMaintenanceActions field's value. -func (s *DescribePendingMaintenanceActionsOutput) SetPendingMaintenanceActions(v []ResourcePendingMaintenanceActions) *DescribePendingMaintenanceActionsOutput { - s.PendingMaintenanceActions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstancesMessage type DescribeReservedDBInstancesInput struct { _ struct{} `type:"structure"` @@ -16870,66 +13480,6 @@ func (s *DescribeReservedDBInstancesInput) Validate() error { return nil } -// SetDBInstanceClass sets the DBInstanceClass field's value. -func (s *DescribeReservedDBInstancesInput) SetDBInstanceClass(v string) *DescribeReservedDBInstancesInput { - s.DBInstanceClass = &v - return s -} - -// SetDuration sets the Duration field's value. -func (s *DescribeReservedDBInstancesInput) SetDuration(v string) *DescribeReservedDBInstancesInput { - s.Duration = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeReservedDBInstancesInput) SetFilters(v []Filter) *DescribeReservedDBInstancesInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeReservedDBInstancesInput) SetMarker(v string) *DescribeReservedDBInstancesInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeReservedDBInstancesInput) SetMaxRecords(v int64) *DescribeReservedDBInstancesInput { - s.MaxRecords = &v - return s -} - -// SetMultiAZ sets the MultiAZ field's value. -func (s *DescribeReservedDBInstancesInput) SetMultiAZ(v bool) *DescribeReservedDBInstancesInput { - s.MultiAZ = &v - return s -} - -// SetOfferingType sets the OfferingType field's value. -func (s *DescribeReservedDBInstancesInput) SetOfferingType(v string) *DescribeReservedDBInstancesInput { - s.OfferingType = &v - return s -} - -// SetProductDescription sets the ProductDescription field's value. -func (s *DescribeReservedDBInstancesInput) SetProductDescription(v string) *DescribeReservedDBInstancesInput { - s.ProductDescription = &v - return s -} - -// SetReservedDBInstanceId sets the ReservedDBInstanceId field's value. -func (s *DescribeReservedDBInstancesInput) SetReservedDBInstanceId(v string) *DescribeReservedDBInstancesInput { - s.ReservedDBInstanceId = &v - return s -} - -// SetReservedDBInstancesOfferingId sets the ReservedDBInstancesOfferingId field's value. -func (s *DescribeReservedDBInstancesInput) SetReservedDBInstancesOfferingId(v string) *DescribeReservedDBInstancesInput { - s.ReservedDBInstancesOfferingId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstancesOfferingsMessage type DescribeReservedDBInstancesOfferingsInput struct { _ struct{} `type:"structure"` @@ -17009,60 +13559,6 @@ func (s *DescribeReservedDBInstancesOfferingsInput) Validate() error { return nil } -// SetDBInstanceClass sets the DBInstanceClass field's value. -func (s *DescribeReservedDBInstancesOfferingsInput) SetDBInstanceClass(v string) *DescribeReservedDBInstancesOfferingsInput { - s.DBInstanceClass = &v - return s -} - -// SetDuration sets the Duration field's value. -func (s *DescribeReservedDBInstancesOfferingsInput) SetDuration(v string) *DescribeReservedDBInstancesOfferingsInput { - s.Duration = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeReservedDBInstancesOfferingsInput) SetFilters(v []Filter) *DescribeReservedDBInstancesOfferingsInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeReservedDBInstancesOfferingsInput) SetMarker(v string) *DescribeReservedDBInstancesOfferingsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeReservedDBInstancesOfferingsInput) SetMaxRecords(v int64) *DescribeReservedDBInstancesOfferingsInput { - s.MaxRecords = &v - return s -} - -// SetMultiAZ sets the MultiAZ field's value. -func (s *DescribeReservedDBInstancesOfferingsInput) SetMultiAZ(v bool) *DescribeReservedDBInstancesOfferingsInput { - s.MultiAZ = &v - return s -} - -// SetOfferingType sets the OfferingType field's value. -func (s *DescribeReservedDBInstancesOfferingsInput) SetOfferingType(v string) *DescribeReservedDBInstancesOfferingsInput { - s.OfferingType = &v - return s -} - -// SetProductDescription sets the ProductDescription field's value. -func (s *DescribeReservedDBInstancesOfferingsInput) SetProductDescription(v string) *DescribeReservedDBInstancesOfferingsInput { - s.ProductDescription = &v - return s -} - -// SetReservedDBInstancesOfferingId sets the ReservedDBInstancesOfferingId field's value. -func (s *DescribeReservedDBInstancesOfferingsInput) SetReservedDBInstancesOfferingId(v string) *DescribeReservedDBInstancesOfferingsInput { - s.ReservedDBInstancesOfferingId = &v - return s -} - // Contains the result of a successful invocation of the DescribeReservedDBInstancesOfferings // action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ReservedDBInstancesOfferingMessage @@ -17095,18 +13591,6 @@ func (s DescribeReservedDBInstancesOfferingsOutput) SDKResponseMetadata() aws.Re return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeReservedDBInstancesOfferingsOutput) SetMarker(v string) *DescribeReservedDBInstancesOfferingsOutput { - s.Marker = &v - return s -} - -// SetReservedDBInstancesOfferings sets the ReservedDBInstancesOfferings field's value. -func (s *DescribeReservedDBInstancesOfferingsOutput) SetReservedDBInstancesOfferings(v []ReservedDBInstancesOffering) *DescribeReservedDBInstancesOfferingsOutput { - s.ReservedDBInstancesOfferings = v - return s -} - // Contains the result of a successful invocation of the DescribeReservedDBInstances // action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ReservedDBInstanceMessage @@ -17139,18 +13623,6 @@ func (s DescribeReservedDBInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeReservedDBInstancesOutput) SetMarker(v string) *DescribeReservedDBInstancesOutput { - s.Marker = &v - return s -} - -// SetReservedDBInstances sets the ReservedDBInstances field's value. -func (s *DescribeReservedDBInstancesOutput) SetReservedDBInstances(v []ReservedDBInstance) *DescribeReservedDBInstancesOutput { - s.ReservedDBInstances = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeSourceRegionsMessage type DescribeSourceRegionsInput struct { _ struct{} `type:"structure"` @@ -17203,32 +13675,8 @@ func (s *DescribeSourceRegionsInput) Validate() error { if invalidParams.Len() > 0 { return invalidParams - } - return nil -} - -// SetFilters sets the Filters field's value. -func (s *DescribeSourceRegionsInput) SetFilters(v []Filter) *DescribeSourceRegionsInput { - s.Filters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeSourceRegionsInput) SetMarker(v string) *DescribeSourceRegionsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeSourceRegionsInput) SetMaxRecords(v int64) *DescribeSourceRegionsInput { - s.MaxRecords = &v - return s -} - -// SetRegionName sets the RegionName field's value. -func (s *DescribeSourceRegionsInput) SetRegionName(v string) *DescribeSourceRegionsInput { - s.RegionName = &v - return s + } + return nil } // Contains the result of a successful invocation of the DescribeSourceRegions @@ -17264,18 +13712,6 @@ func (s DescribeSourceRegionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeSourceRegionsOutput) SetMarker(v string) *DescribeSourceRegionsOutput { - s.Marker = &v - return s -} - -// SetSourceRegions sets the SourceRegions field's value. -func (s *DescribeSourceRegionsOutput) SetSourceRegions(v []SourceRegion) *DescribeSourceRegionsOutput { - s.SourceRegions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeValidDBInstanceModificationsMessage type DescribeValidDBInstanceModificationsInput struct { _ struct{} `type:"structure"` @@ -17310,12 +13746,6 @@ func (s *DescribeValidDBInstanceModificationsInput) Validate() error { return nil } -// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. -func (s *DescribeValidDBInstanceModificationsInput) SetDBInstanceIdentifier(v string) *DescribeValidDBInstanceModificationsInput { - s.DBInstanceIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeValidDBInstanceModificationsResult type DescribeValidDBInstanceModificationsOutput struct { _ struct{} `type:"structure"` @@ -17343,12 +13773,6 @@ func (s DescribeValidDBInstanceModificationsOutput) SDKResponseMetadata() aws.Re return s.responseMetadata } -// SetValidDBInstanceModificationsMessage sets the ValidDBInstanceModificationsMessage field's value. -func (s *DescribeValidDBInstanceModificationsOutput) SetValidDBInstanceModificationsMessage(v *ValidDBInstanceModificationsMessage) *DescribeValidDBInstanceModificationsOutput { - s.ValidDBInstanceModificationsMessage = v - return s -} - // An Active Directory Domain membership record associated with the DB instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DomainMembership type DomainMembership struct { @@ -17379,30 +13803,6 @@ func (s DomainMembership) GoString() string { return s.String() } -// SetDomain sets the Domain field's value. -func (s *DomainMembership) SetDomain(v string) *DomainMembership { - s.Domain = &v - return s -} - -// SetFQDN sets the FQDN field's value. -func (s *DomainMembership) SetFQDN(v string) *DomainMembership { - s.FQDN = &v - return s -} - -// SetIAMRoleName sets the IAMRoleName field's value. -func (s *DomainMembership) SetIAMRoleName(v string) *DomainMembership { - s.IAMRoleName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DomainMembership) SetStatus(v string) *DomainMembership { - s.Status = &v - return s -} - // A range of double values. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DoubleRange type DoubleRange struct { @@ -17425,18 +13825,6 @@ func (s DoubleRange) GoString() string { return s.String() } -// SetFrom sets the From field's value. -func (s *DoubleRange) SetFrom(v float64) *DoubleRange { - s.From = &v - return s -} - -// SetTo sets the To field's value. -func (s *DoubleRange) SetTo(v float64) *DoubleRange { - s.To = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DownloadDBLogFilePortionMessage type DownloadDBLogFilePortionInput struct { _ struct{} `type:"structure"` @@ -17514,30 +13902,6 @@ func (s *DownloadDBLogFilePortionInput) Validate() error { return nil } -// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. -func (s *DownloadDBLogFilePortionInput) SetDBInstanceIdentifier(v string) *DownloadDBLogFilePortionInput { - s.DBInstanceIdentifier = &v - return s -} - -// SetLogFileName sets the LogFileName field's value. -func (s *DownloadDBLogFilePortionInput) SetLogFileName(v string) *DownloadDBLogFilePortionInput { - s.LogFileName = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DownloadDBLogFilePortionInput) SetMarker(v string) *DownloadDBLogFilePortionInput { - s.Marker = &v - return s -} - -// SetNumberOfLines sets the NumberOfLines field's value. -func (s *DownloadDBLogFilePortionInput) SetNumberOfLines(v int64) *DownloadDBLogFilePortionInput { - s.NumberOfLines = &v - return s -} - // This data type is used as a response element to DownloadDBLogFilePortion. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DownloadDBLogFilePortionDetails type DownloadDBLogFilePortionOutput struct { @@ -17571,24 +13935,6 @@ func (s DownloadDBLogFilePortionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAdditionalDataPending sets the AdditionalDataPending field's value. -func (s *DownloadDBLogFilePortionOutput) SetAdditionalDataPending(v bool) *DownloadDBLogFilePortionOutput { - s.AdditionalDataPending = &v - return s -} - -// SetLogFileData sets the LogFileData field's value. -func (s *DownloadDBLogFilePortionOutput) SetLogFileData(v string) *DownloadDBLogFilePortionOutput { - s.LogFileData = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DownloadDBLogFilePortionOutput) SetMarker(v string) *DownloadDBLogFilePortionOutput { - s.Marker = &v - return s -} - // This data type is used as a response element in the following actions: // // * AuthorizeDBSecurityGroupIngress @@ -17625,30 +13971,6 @@ func (s EC2SecurityGroup) GoString() string { return s.String() } -// SetEC2SecurityGroupId sets the EC2SecurityGroupId field's value. -func (s *EC2SecurityGroup) SetEC2SecurityGroupId(v string) *EC2SecurityGroup { - s.EC2SecurityGroupId = &v - return s -} - -// SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value. -func (s *EC2SecurityGroup) SetEC2SecurityGroupName(v string) *EC2SecurityGroup { - s.EC2SecurityGroupName = &v - return s -} - -// SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value. -func (s *EC2SecurityGroup) SetEC2SecurityGroupOwnerId(v string) *EC2SecurityGroup { - s.EC2SecurityGroupOwnerId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *EC2SecurityGroup) SetStatus(v string) *EC2SecurityGroup { - s.Status = &v - return s -} - // This data type is used as a response element in the following actions: // // * CreateDBInstance @@ -17680,24 +14002,6 @@ func (s Endpoint) GoString() string { return s.String() } -// SetAddress sets the Address field's value. -func (s *Endpoint) SetAddress(v string) *Endpoint { - s.Address = &v - return s -} - -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *Endpoint) SetHostedZoneId(v string) *Endpoint { - s.HostedZoneId = &v - return s -} - -// SetPort sets the Port field's value. -func (s *Endpoint) SetPort(v int64) *Endpoint { - s.Port = &v - return s -} - // Contains the result of a successful invocation of the DescribeEngineDefaultParameters // action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EngineDefaults @@ -17727,24 +14031,6 @@ func (s EngineDefaults) GoString() string { return s.String() } -// SetDBParameterGroupFamily sets the DBParameterGroupFamily field's value. -func (s *EngineDefaults) SetDBParameterGroupFamily(v string) *EngineDefaults { - s.DBParameterGroupFamily = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *EngineDefaults) SetMarker(v string) *EngineDefaults { - s.Marker = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *EngineDefaults) SetParameters(v []Parameter) *EngineDefaults { - s.Parameters = v - return s -} - // This data type is used as a response element in the DescribeEvents action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Event type Event struct { @@ -17779,42 +14065,6 @@ func (s Event) GoString() string { return s.String() } -// SetDate sets the Date field's value. -func (s *Event) SetDate(v time.Time) *Event { - s.Date = &v - return s -} - -// SetEventCategories sets the EventCategories field's value. -func (s *Event) SetEventCategories(v []string) *Event { - s.EventCategories = v - return s -} - -// SetMessage sets the Message field's value. -func (s *Event) SetMessage(v string) *Event { - s.Message = &v - return s -} - -// SetSourceArn sets the SourceArn field's value. -func (s *Event) SetSourceArn(v string) *Event { - s.SourceArn = &v - return s -} - -// SetSourceIdentifier sets the SourceIdentifier field's value. -func (s *Event) SetSourceIdentifier(v string) *Event { - s.SourceIdentifier = &v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *Event) SetSourceType(v SourceType) *Event { - s.SourceType = v - return s -} - // Contains the results of a successful invocation of the DescribeEventCategories // action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EventCategoriesMap @@ -17838,18 +14088,6 @@ func (s EventCategoriesMap) GoString() string { return s.String() } -// SetEventCategories sets the EventCategories field's value. -func (s *EventCategoriesMap) SetEventCategories(v []string) *EventCategoriesMap { - s.EventCategories = v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *EventCategoriesMap) SetSourceType(v string) *EventCategoriesMap { - s.SourceType = &v - return s -} - // Contains the results of a successful invocation of the DescribeEventSubscriptions // action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EventSubscription @@ -17907,66 +14145,6 @@ func (s EventSubscription) GoString() string { return s.String() } -// SetCustSubscriptionId sets the CustSubscriptionId field's value. -func (s *EventSubscription) SetCustSubscriptionId(v string) *EventSubscription { - s.CustSubscriptionId = &v - return s -} - -// SetCustomerAwsId sets the CustomerAwsId field's value. -func (s *EventSubscription) SetCustomerAwsId(v string) *EventSubscription { - s.CustomerAwsId = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *EventSubscription) SetEnabled(v bool) *EventSubscription { - s.Enabled = &v - return s -} - -// SetEventCategoriesList sets the EventCategoriesList field's value. -func (s *EventSubscription) SetEventCategoriesList(v []string) *EventSubscription { - s.EventCategoriesList = v - return s -} - -// SetEventSubscriptionArn sets the EventSubscriptionArn field's value. -func (s *EventSubscription) SetEventSubscriptionArn(v string) *EventSubscription { - s.EventSubscriptionArn = &v - return s -} - -// SetSnsTopicArn sets the SnsTopicArn field's value. -func (s *EventSubscription) SetSnsTopicArn(v string) *EventSubscription { - s.SnsTopicArn = &v - return s -} - -// SetSourceIdsList sets the SourceIdsList field's value. -func (s *EventSubscription) SetSourceIdsList(v []string) *EventSubscription { - s.SourceIdsList = v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *EventSubscription) SetSourceType(v string) *EventSubscription { - s.SourceType = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *EventSubscription) SetStatus(v string) *EventSubscription { - s.Status = &v - return s -} - -// SetSubscriptionCreationTime sets the SubscriptionCreationTime field's value. -func (s *EventSubscription) SetSubscriptionCreationTime(v string) *EventSubscription { - s.SubscriptionCreationTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBClusterMessage type FailoverDBClusterInput struct { _ struct{} `type:"structure"` @@ -17995,18 +14173,6 @@ func (s FailoverDBClusterInput) GoString() string { return s.String() } -// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. -func (s *FailoverDBClusterInput) SetDBClusterIdentifier(v string) *FailoverDBClusterInput { - s.DBClusterIdentifier = &v - return s -} - -// SetTargetDBInstanceIdentifier sets the TargetDBInstanceIdentifier field's value. -func (s *FailoverDBClusterInput) SetTargetDBInstanceIdentifier(v string) *FailoverDBClusterInput { - s.TargetDBInstanceIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBClusterResult type FailoverDBClusterOutput struct { _ struct{} `type:"structure"` @@ -18034,12 +14200,6 @@ func (s FailoverDBClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBCluster sets the DBCluster field's value. -func (s *FailoverDBClusterOutput) SetDBCluster(v *DBCluster) *FailoverDBClusterOutput { - s.DBCluster = v - return s -} - // This type is not currently supported. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Filter type Filter struct { @@ -18084,18 +14244,6 @@ func (s *Filter) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *Filter) SetName(v string) *Filter { - s.Name = &v - return s -} - -// SetValues sets the Values field's value. -func (s *Filter) SetValues(v []string) *Filter { - s.Values = v - return s -} - // This data type is used as a response element in the DescribeDBSecurityGroups // action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/IPRange @@ -18120,18 +14268,6 @@ func (s IPRange) GoString() string { return s.String() } -// SetCIDRIP sets the CIDRIP field's value. -func (s *IPRange) SetCIDRIP(v string) *IPRange { - s.CIDRIP = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *IPRange) SetStatus(v string) *IPRange { - s.Status = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ListTagsForResourceMessage type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -18178,18 +14314,6 @@ func (s *ListTagsForResourceInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *ListTagsForResourceInput) SetFilters(v []Filter) *ListTagsForResourceInput { - s.Filters = v - return s -} - -// SetResourceName sets the ResourceName field's value. -func (s *ListTagsForResourceInput) SetResourceName(v string) *ListTagsForResourceInput { - s.ResourceName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/TagListMessage type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` @@ -18215,12 +14339,6 @@ func (s ListTagsForResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTagList sets the TagList field's value. -func (s *ListTagsForResourceOutput) SetTagList(v []Tag) *ListTagsForResourceOutput { - s.TagList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterMessage type ModifyDBClusterInput struct { _ struct{} `type:"structure"` @@ -18372,78 +14490,6 @@ func (s *ModifyDBClusterInput) Validate() error { return nil } -// SetApplyImmediately sets the ApplyImmediately field's value. -func (s *ModifyDBClusterInput) SetApplyImmediately(v bool) *ModifyDBClusterInput { - s.ApplyImmediately = &v - return s -} - -// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value. -func (s *ModifyDBClusterInput) SetBackupRetentionPeriod(v int64) *ModifyDBClusterInput { - s.BackupRetentionPeriod = &v - return s -} - -// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. -func (s *ModifyDBClusterInput) SetDBClusterIdentifier(v string) *ModifyDBClusterInput { - s.DBClusterIdentifier = &v - return s -} - -// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value. -func (s *ModifyDBClusterInput) SetDBClusterParameterGroupName(v string) *ModifyDBClusterInput { - s.DBClusterParameterGroupName = &v - return s -} - -// SetEnableIAMDatabaseAuthentication sets the EnableIAMDatabaseAuthentication field's value. -func (s *ModifyDBClusterInput) SetEnableIAMDatabaseAuthentication(v bool) *ModifyDBClusterInput { - s.EnableIAMDatabaseAuthentication = &v - return s -} - -// SetMasterUserPassword sets the MasterUserPassword field's value. -func (s *ModifyDBClusterInput) SetMasterUserPassword(v string) *ModifyDBClusterInput { - s.MasterUserPassword = &v - return s -} - -// SetNewDBClusterIdentifier sets the NewDBClusterIdentifier field's value. -func (s *ModifyDBClusterInput) SetNewDBClusterIdentifier(v string) *ModifyDBClusterInput { - s.NewDBClusterIdentifier = &v - return s -} - -// SetOptionGroupName sets the OptionGroupName field's value. -func (s *ModifyDBClusterInput) SetOptionGroupName(v string) *ModifyDBClusterInput { - s.OptionGroupName = &v - return s -} - -// SetPort sets the Port field's value. -func (s *ModifyDBClusterInput) SetPort(v int64) *ModifyDBClusterInput { - s.Port = &v - return s -} - -// SetPreferredBackupWindow sets the PreferredBackupWindow field's value. -func (s *ModifyDBClusterInput) SetPreferredBackupWindow(v string) *ModifyDBClusterInput { - s.PreferredBackupWindow = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *ModifyDBClusterInput) SetPreferredMaintenanceWindow(v string) *ModifyDBClusterInput { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value. -func (s *ModifyDBClusterInput) SetVpcSecurityGroupIds(v []string) *ModifyDBClusterInput { - s.VpcSecurityGroupIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterResult type ModifyDBClusterOutput struct { _ struct{} `type:"structure"` @@ -18471,12 +14517,6 @@ func (s ModifyDBClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBCluster sets the DBCluster field's value. -func (s *ModifyDBClusterOutput) SetDBCluster(v *DBCluster) *ModifyDBClusterOutput { - s.DBCluster = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterParameterGroupMessage type ModifyDBClusterParameterGroupInput struct { _ struct{} `type:"structure"` @@ -18520,18 +14560,6 @@ func (s *ModifyDBClusterParameterGroupInput) Validate() error { return nil } -// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value. -func (s *ModifyDBClusterParameterGroupInput) SetDBClusterParameterGroupName(v string) *ModifyDBClusterParameterGroupInput { - s.DBClusterParameterGroupName = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *ModifyDBClusterParameterGroupInput) SetParameters(v []Parameter) *ModifyDBClusterParameterGroupInput { - s.Parameters = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterSnapshotAttributeMessage type ModifyDBClusterSnapshotAttributeInput struct { _ struct{} `type:"structure"` @@ -18599,30 +14627,6 @@ func (s *ModifyDBClusterSnapshotAttributeInput) Validate() error { return nil } -// SetAttributeName sets the AttributeName field's value. -func (s *ModifyDBClusterSnapshotAttributeInput) SetAttributeName(v string) *ModifyDBClusterSnapshotAttributeInput { - s.AttributeName = &v - return s -} - -// SetDBClusterSnapshotIdentifier sets the DBClusterSnapshotIdentifier field's value. -func (s *ModifyDBClusterSnapshotAttributeInput) SetDBClusterSnapshotIdentifier(v string) *ModifyDBClusterSnapshotAttributeInput { - s.DBClusterSnapshotIdentifier = &v - return s -} - -// SetValuesToAdd sets the ValuesToAdd field's value. -func (s *ModifyDBClusterSnapshotAttributeInput) SetValuesToAdd(v []string) *ModifyDBClusterSnapshotAttributeInput { - s.ValuesToAdd = v - return s -} - -// SetValuesToRemove sets the ValuesToRemove field's value. -func (s *ModifyDBClusterSnapshotAttributeInput) SetValuesToRemove(v []string) *ModifyDBClusterSnapshotAttributeInput { - s.ValuesToRemove = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterSnapshotAttributeResult type ModifyDBClusterSnapshotAttributeOutput struct { _ struct{} `type:"structure"` @@ -18653,12 +14657,6 @@ func (s ModifyDBClusterSnapshotAttributeOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetDBClusterSnapshotAttributesResult sets the DBClusterSnapshotAttributesResult field's value. -func (s *ModifyDBClusterSnapshotAttributeOutput) SetDBClusterSnapshotAttributesResult(v *DBClusterSnapshotAttributesResult) *ModifyDBClusterSnapshotAttributeOutput { - s.DBClusterSnapshotAttributesResult = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstanceMessage type ModifyDBInstanceInput struct { _ struct{} `type:"structure"` @@ -19157,216 +15155,6 @@ func (s *ModifyDBInstanceInput) Validate() error { return nil } -// SetAllocatedStorage sets the AllocatedStorage field's value. -func (s *ModifyDBInstanceInput) SetAllocatedStorage(v int64) *ModifyDBInstanceInput { - s.AllocatedStorage = &v - return s -} - -// SetAllowMajorVersionUpgrade sets the AllowMajorVersionUpgrade field's value. -func (s *ModifyDBInstanceInput) SetAllowMajorVersionUpgrade(v bool) *ModifyDBInstanceInput { - s.AllowMajorVersionUpgrade = &v - return s -} - -// SetApplyImmediately sets the ApplyImmediately field's value. -func (s *ModifyDBInstanceInput) SetApplyImmediately(v bool) *ModifyDBInstanceInput { - s.ApplyImmediately = &v - return s -} - -// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. -func (s *ModifyDBInstanceInput) SetAutoMinorVersionUpgrade(v bool) *ModifyDBInstanceInput { - s.AutoMinorVersionUpgrade = &v - return s -} - -// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value. -func (s *ModifyDBInstanceInput) SetBackupRetentionPeriod(v int64) *ModifyDBInstanceInput { - s.BackupRetentionPeriod = &v - return s -} - -// SetCACertificateIdentifier sets the CACertificateIdentifier field's value. -func (s *ModifyDBInstanceInput) SetCACertificateIdentifier(v string) *ModifyDBInstanceInput { - s.CACertificateIdentifier = &v - return s -} - -// SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value. -func (s *ModifyDBInstanceInput) SetCopyTagsToSnapshot(v bool) *ModifyDBInstanceInput { - s.CopyTagsToSnapshot = &v - return s -} - -// SetDBInstanceClass sets the DBInstanceClass field's value. -func (s *ModifyDBInstanceInput) SetDBInstanceClass(v string) *ModifyDBInstanceInput { - s.DBInstanceClass = &v - return s -} - -// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. -func (s *ModifyDBInstanceInput) SetDBInstanceIdentifier(v string) *ModifyDBInstanceInput { - s.DBInstanceIdentifier = &v - return s -} - -// SetDBParameterGroupName sets the DBParameterGroupName field's value. -func (s *ModifyDBInstanceInput) SetDBParameterGroupName(v string) *ModifyDBInstanceInput { - s.DBParameterGroupName = &v - return s -} - -// SetDBPortNumber sets the DBPortNumber field's value. -func (s *ModifyDBInstanceInput) SetDBPortNumber(v int64) *ModifyDBInstanceInput { - s.DBPortNumber = &v - return s -} - -// SetDBSecurityGroups sets the DBSecurityGroups field's value. -func (s *ModifyDBInstanceInput) SetDBSecurityGroups(v []string) *ModifyDBInstanceInput { - s.DBSecurityGroups = v - return s -} - -// SetDBSubnetGroupName sets the DBSubnetGroupName field's value. -func (s *ModifyDBInstanceInput) SetDBSubnetGroupName(v string) *ModifyDBInstanceInput { - s.DBSubnetGroupName = &v - return s -} - -// SetDomain sets the Domain field's value. -func (s *ModifyDBInstanceInput) SetDomain(v string) *ModifyDBInstanceInput { - s.Domain = &v - return s -} - -// SetDomainIAMRoleName sets the DomainIAMRoleName field's value. -func (s *ModifyDBInstanceInput) SetDomainIAMRoleName(v string) *ModifyDBInstanceInput { - s.DomainIAMRoleName = &v - return s -} - -// SetEnableIAMDatabaseAuthentication sets the EnableIAMDatabaseAuthentication field's value. -func (s *ModifyDBInstanceInput) SetEnableIAMDatabaseAuthentication(v bool) *ModifyDBInstanceInput { - s.EnableIAMDatabaseAuthentication = &v - return s -} - -// SetEnablePerformanceInsights sets the EnablePerformanceInsights field's value. -func (s *ModifyDBInstanceInput) SetEnablePerformanceInsights(v bool) *ModifyDBInstanceInput { - s.EnablePerformanceInsights = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *ModifyDBInstanceInput) SetEngineVersion(v string) *ModifyDBInstanceInput { - s.EngineVersion = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *ModifyDBInstanceInput) SetIops(v int64) *ModifyDBInstanceInput { - s.Iops = &v - return s -} - -// SetLicenseModel sets the LicenseModel field's value. -func (s *ModifyDBInstanceInput) SetLicenseModel(v string) *ModifyDBInstanceInput { - s.LicenseModel = &v - return s -} - -// SetMasterUserPassword sets the MasterUserPassword field's value. -func (s *ModifyDBInstanceInput) SetMasterUserPassword(v string) *ModifyDBInstanceInput { - s.MasterUserPassword = &v - return s -} - -// SetMonitoringInterval sets the MonitoringInterval field's value. -func (s *ModifyDBInstanceInput) SetMonitoringInterval(v int64) *ModifyDBInstanceInput { - s.MonitoringInterval = &v - return s -} - -// SetMonitoringRoleArn sets the MonitoringRoleArn field's value. -func (s *ModifyDBInstanceInput) SetMonitoringRoleArn(v string) *ModifyDBInstanceInput { - s.MonitoringRoleArn = &v - return s -} - -// SetMultiAZ sets the MultiAZ field's value. -func (s *ModifyDBInstanceInput) SetMultiAZ(v bool) *ModifyDBInstanceInput { - s.MultiAZ = &v - return s -} - -// SetNewDBInstanceIdentifier sets the NewDBInstanceIdentifier field's value. -func (s *ModifyDBInstanceInput) SetNewDBInstanceIdentifier(v string) *ModifyDBInstanceInput { - s.NewDBInstanceIdentifier = &v - return s -} - -// SetOptionGroupName sets the OptionGroupName field's value. -func (s *ModifyDBInstanceInput) SetOptionGroupName(v string) *ModifyDBInstanceInput { - s.OptionGroupName = &v - return s -} - -// SetPerformanceInsightsKMSKeyId sets the PerformanceInsightsKMSKeyId field's value. -func (s *ModifyDBInstanceInput) SetPerformanceInsightsKMSKeyId(v string) *ModifyDBInstanceInput { - s.PerformanceInsightsKMSKeyId = &v - return s -} - -// SetPreferredBackupWindow sets the PreferredBackupWindow field's value. -func (s *ModifyDBInstanceInput) SetPreferredBackupWindow(v string) *ModifyDBInstanceInput { - s.PreferredBackupWindow = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *ModifyDBInstanceInput) SetPreferredMaintenanceWindow(v string) *ModifyDBInstanceInput { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetPromotionTier sets the PromotionTier field's value. -func (s *ModifyDBInstanceInput) SetPromotionTier(v int64) *ModifyDBInstanceInput { - s.PromotionTier = &v - return s -} - -// SetPubliclyAccessible sets the PubliclyAccessible field's value. -func (s *ModifyDBInstanceInput) SetPubliclyAccessible(v bool) *ModifyDBInstanceInput { - s.PubliclyAccessible = &v - return s -} - -// SetStorageType sets the StorageType field's value. -func (s *ModifyDBInstanceInput) SetStorageType(v string) *ModifyDBInstanceInput { - s.StorageType = &v - return s -} - -// SetTdeCredentialArn sets the TdeCredentialArn field's value. -func (s *ModifyDBInstanceInput) SetTdeCredentialArn(v string) *ModifyDBInstanceInput { - s.TdeCredentialArn = &v - return s -} - -// SetTdeCredentialPassword sets the TdeCredentialPassword field's value. -func (s *ModifyDBInstanceInput) SetTdeCredentialPassword(v string) *ModifyDBInstanceInput { - s.TdeCredentialPassword = &v - return s -} - -// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value. -func (s *ModifyDBInstanceInput) SetVpcSecurityGroupIds(v []string) *ModifyDBInstanceInput { - s.VpcSecurityGroupIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstanceResult type ModifyDBInstanceOutput struct { _ struct{} `type:"structure"` @@ -19394,12 +15182,6 @@ func (s ModifyDBInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBInstance sets the DBInstance field's value. -func (s *ModifyDBInstanceOutput) SetDBInstance(v *DBInstance) *ModifyDBInstanceOutput { - s.DBInstance = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBParameterGroupMessage type ModifyDBParameterGroupInput struct { _ struct{} `type:"structure"` @@ -19456,18 +15238,6 @@ func (s *ModifyDBParameterGroupInput) Validate() error { return nil } -// SetDBParameterGroupName sets the DBParameterGroupName field's value. -func (s *ModifyDBParameterGroupInput) SetDBParameterGroupName(v string) *ModifyDBParameterGroupInput { - s.DBParameterGroupName = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *ModifyDBParameterGroupInput) SetParameters(v []Parameter) *ModifyDBParameterGroupInput { - s.Parameters = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotAttributeMessage type ModifyDBSnapshotAttributeInput struct { _ struct{} `type:"structure"` @@ -19533,30 +15303,6 @@ func (s *ModifyDBSnapshotAttributeInput) Validate() error { return nil } -// SetAttributeName sets the AttributeName field's value. -func (s *ModifyDBSnapshotAttributeInput) SetAttributeName(v string) *ModifyDBSnapshotAttributeInput { - s.AttributeName = &v - return s -} - -// SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value. -func (s *ModifyDBSnapshotAttributeInput) SetDBSnapshotIdentifier(v string) *ModifyDBSnapshotAttributeInput { - s.DBSnapshotIdentifier = &v - return s -} - -// SetValuesToAdd sets the ValuesToAdd field's value. -func (s *ModifyDBSnapshotAttributeInput) SetValuesToAdd(v []string) *ModifyDBSnapshotAttributeInput { - s.ValuesToAdd = v - return s -} - -// SetValuesToRemove sets the ValuesToRemove field's value. -func (s *ModifyDBSnapshotAttributeInput) SetValuesToRemove(v []string) *ModifyDBSnapshotAttributeInput { - s.ValuesToRemove = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotAttributeResult type ModifyDBSnapshotAttributeOutput struct { _ struct{} `type:"structure"` @@ -19587,12 +15333,6 @@ func (s ModifyDBSnapshotAttributeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBSnapshotAttributesResult sets the DBSnapshotAttributesResult field's value. -func (s *ModifyDBSnapshotAttributeOutput) SetDBSnapshotAttributesResult(v *DBSnapshotAttributesResult) *ModifyDBSnapshotAttributeOutput { - s.DBSnapshotAttributesResult = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotMessage type ModifyDBSnapshotInput struct { _ struct{} `type:"structure"` @@ -19653,24 +15393,6 @@ func (s *ModifyDBSnapshotInput) Validate() error { return nil } -// SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value. -func (s *ModifyDBSnapshotInput) SetDBSnapshotIdentifier(v string) *ModifyDBSnapshotInput { - s.DBSnapshotIdentifier = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *ModifyDBSnapshotInput) SetEngineVersion(v string) *ModifyDBSnapshotInput { - s.EngineVersion = &v - return s -} - -// SetOptionGroupName sets the OptionGroupName field's value. -func (s *ModifyDBSnapshotInput) SetOptionGroupName(v string) *ModifyDBSnapshotInput { - s.OptionGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotResult type ModifyDBSnapshotOutput struct { _ struct{} `type:"structure"` @@ -19698,12 +15420,6 @@ func (s ModifyDBSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBSnapshot sets the DBSnapshot field's value. -func (s *ModifyDBSnapshotOutput) SetDBSnapshot(v *DBSnapshot) *ModifyDBSnapshotOutput { - s.DBSnapshot = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSubnetGroupMessage type ModifyDBSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -19750,28 +15466,10 @@ func (s *ModifyDBSubnetGroupInput) Validate() error { invalidParams.Add(aws.NewErrParamRequired("SubnetIds")) } - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetDBSubnetGroupDescription sets the DBSubnetGroupDescription field's value. -func (s *ModifyDBSubnetGroupInput) SetDBSubnetGroupDescription(v string) *ModifyDBSubnetGroupInput { - s.DBSubnetGroupDescription = &v - return s -} - -// SetDBSubnetGroupName sets the DBSubnetGroupName field's value. -func (s *ModifyDBSubnetGroupInput) SetDBSubnetGroupName(v string) *ModifyDBSubnetGroupInput { - s.DBSubnetGroupName = &v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *ModifyDBSubnetGroupInput) SetSubnetIds(v []string) *ModifyDBSubnetGroupInput { - s.SubnetIds = v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSubnetGroupResult @@ -19802,12 +15500,6 @@ func (s ModifyDBSubnetGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBSubnetGroup sets the DBSubnetGroup field's value. -func (s *ModifyDBSubnetGroupOutput) SetDBSubnetGroup(v *DBSubnetGroup) *ModifyDBSubnetGroupOutput { - s.DBSubnetGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyEventSubscriptionMessage type ModifyEventSubscriptionInput struct { _ struct{} `type:"structure"` @@ -19864,36 +15556,6 @@ func (s *ModifyEventSubscriptionInput) Validate() error { return nil } -// SetEnabled sets the Enabled field's value. -func (s *ModifyEventSubscriptionInput) SetEnabled(v bool) *ModifyEventSubscriptionInput { - s.Enabled = &v - return s -} - -// SetEventCategories sets the EventCategories field's value. -func (s *ModifyEventSubscriptionInput) SetEventCategories(v []string) *ModifyEventSubscriptionInput { - s.EventCategories = v - return s -} - -// SetSnsTopicArn sets the SnsTopicArn field's value. -func (s *ModifyEventSubscriptionInput) SetSnsTopicArn(v string) *ModifyEventSubscriptionInput { - s.SnsTopicArn = &v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *ModifyEventSubscriptionInput) SetSourceType(v string) *ModifyEventSubscriptionInput { - s.SourceType = &v - return s -} - -// SetSubscriptionName sets the SubscriptionName field's value. -func (s *ModifyEventSubscriptionInput) SetSubscriptionName(v string) *ModifyEventSubscriptionInput { - s.SubscriptionName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyEventSubscriptionResult type ModifyEventSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -19920,12 +15582,6 @@ func (s ModifyEventSubscriptionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventSubscription sets the EventSubscription field's value. -func (s *ModifyEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *ModifyEventSubscriptionOutput { - s.EventSubscription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyOptionGroupMessage type ModifyOptionGroupInput struct { _ struct{} `type:"structure"` @@ -19982,30 +15638,6 @@ func (s *ModifyOptionGroupInput) Validate() error { return nil } -// SetApplyImmediately sets the ApplyImmediately field's value. -func (s *ModifyOptionGroupInput) SetApplyImmediately(v bool) *ModifyOptionGroupInput { - s.ApplyImmediately = &v - return s -} - -// SetOptionGroupName sets the OptionGroupName field's value. -func (s *ModifyOptionGroupInput) SetOptionGroupName(v string) *ModifyOptionGroupInput { - s.OptionGroupName = &v - return s -} - -// SetOptionsToInclude sets the OptionsToInclude field's value. -func (s *ModifyOptionGroupInput) SetOptionsToInclude(v []OptionConfiguration) *ModifyOptionGroupInput { - s.OptionsToInclude = v - return s -} - -// SetOptionsToRemove sets the OptionsToRemove field's value. -func (s *ModifyOptionGroupInput) SetOptionsToRemove(v []string) *ModifyOptionGroupInput { - s.OptionsToRemove = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyOptionGroupResult type ModifyOptionGroupOutput struct { _ struct{} `type:"structure"` @@ -20030,12 +15662,6 @@ func (s ModifyOptionGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOptionGroup sets the OptionGroup field's value. -func (s *ModifyOptionGroupOutput) SetOptionGroup(v *OptionGroup) *ModifyOptionGroupOutput { - s.OptionGroup = v - return s -} - // Option details. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Option type Option struct { @@ -20081,60 +15707,6 @@ func (s Option) GoString() string { return s.String() } -// SetDBSecurityGroupMemberships sets the DBSecurityGroupMemberships field's value. -func (s *Option) SetDBSecurityGroupMemberships(v []DBSecurityGroupMembership) *Option { - s.DBSecurityGroupMemberships = v - return s -} - -// SetOptionDescription sets the OptionDescription field's value. -func (s *Option) SetOptionDescription(v string) *Option { - s.OptionDescription = &v - return s -} - -// SetOptionName sets the OptionName field's value. -func (s *Option) SetOptionName(v string) *Option { - s.OptionName = &v - return s -} - -// SetOptionSettings sets the OptionSettings field's value. -func (s *Option) SetOptionSettings(v []OptionSetting) *Option { - s.OptionSettings = v - return s -} - -// SetOptionVersion sets the OptionVersion field's value. -func (s *Option) SetOptionVersion(v string) *Option { - s.OptionVersion = &v - return s -} - -// SetPermanent sets the Permanent field's value. -func (s *Option) SetPermanent(v bool) *Option { - s.Permanent = &v - return s -} - -// SetPersistent sets the Persistent field's value. -func (s *Option) SetPersistent(v bool) *Option { - s.Persistent = &v - return s -} - -// SetPort sets the Port field's value. -func (s *Option) SetPort(v int64) *Option { - s.Port = &v - return s -} - -// SetVpcSecurityGroupMemberships sets the VpcSecurityGroupMemberships field's value. -func (s *Option) SetVpcSecurityGroupMemberships(v []VpcSecurityGroupMembership) *Option { - s.VpcSecurityGroupMemberships = v - return s -} - // A list of all available options // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionConfiguration type OptionConfiguration struct { @@ -20185,42 +15757,6 @@ func (s *OptionConfiguration) Validate() error { return nil } -// SetDBSecurityGroupMemberships sets the DBSecurityGroupMemberships field's value. -func (s *OptionConfiguration) SetDBSecurityGroupMemberships(v []string) *OptionConfiguration { - s.DBSecurityGroupMemberships = v - return s -} - -// SetOptionName sets the OptionName field's value. -func (s *OptionConfiguration) SetOptionName(v string) *OptionConfiguration { - s.OptionName = &v - return s -} - -// SetOptionSettings sets the OptionSettings field's value. -func (s *OptionConfiguration) SetOptionSettings(v []OptionSetting) *OptionConfiguration { - s.OptionSettings = v - return s -} - -// SetOptionVersion sets the OptionVersion field's value. -func (s *OptionConfiguration) SetOptionVersion(v string) *OptionConfiguration { - s.OptionVersion = &v - return s -} - -// SetPort sets the Port field's value. -func (s *OptionConfiguration) SetPort(v int64) *OptionConfiguration { - s.Port = &v - return s -} - -// SetVpcSecurityGroupMemberships sets the VpcSecurityGroupMemberships field's value. -func (s *OptionConfiguration) SetVpcSecurityGroupMemberships(v []string) *OptionConfiguration { - s.VpcSecurityGroupMemberships = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroup type OptionGroup struct { _ struct{} `type:"structure"` @@ -20266,54 +15802,6 @@ func (s OptionGroup) GoString() string { return s.String() } -// SetAllowsVpcAndNonVpcInstanceMemberships sets the AllowsVpcAndNonVpcInstanceMemberships field's value. -func (s *OptionGroup) SetAllowsVpcAndNonVpcInstanceMemberships(v bool) *OptionGroup { - s.AllowsVpcAndNonVpcInstanceMemberships = &v - return s -} - -// SetEngineName sets the EngineName field's value. -func (s *OptionGroup) SetEngineName(v string) *OptionGroup { - s.EngineName = &v - return s -} - -// SetMajorEngineVersion sets the MajorEngineVersion field's value. -func (s *OptionGroup) SetMajorEngineVersion(v string) *OptionGroup { - s.MajorEngineVersion = &v - return s -} - -// SetOptionGroupArn sets the OptionGroupArn field's value. -func (s *OptionGroup) SetOptionGroupArn(v string) *OptionGroup { - s.OptionGroupArn = &v - return s -} - -// SetOptionGroupDescription sets the OptionGroupDescription field's value. -func (s *OptionGroup) SetOptionGroupDescription(v string) *OptionGroup { - s.OptionGroupDescription = &v - return s -} - -// SetOptionGroupName sets the OptionGroupName field's value. -func (s *OptionGroup) SetOptionGroupName(v string) *OptionGroup { - s.OptionGroupName = &v - return s -} - -// SetOptions sets the Options field's value. -func (s *OptionGroup) SetOptions(v []Option) *OptionGroup { - s.Options = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *OptionGroup) SetVpcId(v string) *OptionGroup { - s.VpcId = &v - return s -} - // Provides information on the option groups the DB instance is a member of. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroupMembership type OptionGroupMembership struct { @@ -20338,18 +15826,6 @@ func (s OptionGroupMembership) GoString() string { return s.String() } -// SetOptionGroupName sets the OptionGroupName field's value. -func (s *OptionGroupMembership) SetOptionGroupName(v string) *OptionGroupMembership { - s.OptionGroupName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *OptionGroupMembership) SetStatus(v string) *OptionGroupMembership { - s.Status = &v - return s -} - // Available option. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionGroupOption type OptionGroupOption struct { @@ -20423,102 +15899,6 @@ func (s OptionGroupOption) GoString() string { return s.String() } -// SetDefaultPort sets the DefaultPort field's value. -func (s *OptionGroupOption) SetDefaultPort(v int64) *OptionGroupOption { - s.DefaultPort = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *OptionGroupOption) SetDescription(v string) *OptionGroupOption { - s.Description = &v - return s -} - -// SetEngineName sets the EngineName field's value. -func (s *OptionGroupOption) SetEngineName(v string) *OptionGroupOption { - s.EngineName = &v - return s -} - -// SetMajorEngineVersion sets the MajorEngineVersion field's value. -func (s *OptionGroupOption) SetMajorEngineVersion(v string) *OptionGroupOption { - s.MajorEngineVersion = &v - return s -} - -// SetMinimumRequiredMinorEngineVersion sets the MinimumRequiredMinorEngineVersion field's value. -func (s *OptionGroupOption) SetMinimumRequiredMinorEngineVersion(v string) *OptionGroupOption { - s.MinimumRequiredMinorEngineVersion = &v - return s -} - -// SetName sets the Name field's value. -func (s *OptionGroupOption) SetName(v string) *OptionGroupOption { - s.Name = &v - return s -} - -// SetOptionGroupOptionSettings sets the OptionGroupOptionSettings field's value. -func (s *OptionGroupOption) SetOptionGroupOptionSettings(v []OptionGroupOptionSetting) *OptionGroupOption { - s.OptionGroupOptionSettings = v - return s -} - -// SetOptionGroupOptionVersions sets the OptionGroupOptionVersions field's value. -func (s *OptionGroupOption) SetOptionGroupOptionVersions(v []OptionVersion) *OptionGroupOption { - s.OptionGroupOptionVersions = v - return s -} - -// SetOptionsConflictsWith sets the OptionsConflictsWith field's value. -func (s *OptionGroupOption) SetOptionsConflictsWith(v []string) *OptionGroupOption { - s.OptionsConflictsWith = v - return s -} - -// SetOptionsDependedOn sets the OptionsDependedOn field's value. -func (s *OptionGroupOption) SetOptionsDependedOn(v []string) *OptionGroupOption { - s.OptionsDependedOn = v - return s -} - -// SetPermanent sets the Permanent field's value. -func (s *OptionGroupOption) SetPermanent(v bool) *OptionGroupOption { - s.Permanent = &v - return s -} - -// SetPersistent sets the Persistent field's value. -func (s *OptionGroupOption) SetPersistent(v bool) *OptionGroupOption { - s.Persistent = &v - return s -} - -// SetPortRequired sets the PortRequired field's value. -func (s *OptionGroupOption) SetPortRequired(v bool) *OptionGroupOption { - s.PortRequired = &v - return s -} - -// SetRequiresAutoMinorEngineVersionUpgrade sets the RequiresAutoMinorEngineVersionUpgrade field's value. -func (s *OptionGroupOption) SetRequiresAutoMinorEngineVersionUpgrade(v bool) *OptionGroupOption { - s.RequiresAutoMinorEngineVersionUpgrade = &v - return s -} - -// SetSupportsOptionVersionDowngrade sets the SupportsOptionVersionDowngrade field's value. -func (s *OptionGroupOption) SetSupportsOptionVersionDowngrade(v bool) *OptionGroupOption { - s.SupportsOptionVersionDowngrade = &v - return s -} - -// SetVpcOnly sets the VpcOnly field's value. -func (s *OptionGroupOption) SetVpcOnly(v bool) *OptionGroupOption { - s.VpcOnly = &v - return s -} - // Option group option settings are used to display settings available for each // option with their default values and other information. These values are // used with the DescribeOptionGroupOptions action. @@ -20556,42 +15936,6 @@ func (s OptionGroupOptionSetting) GoString() string { return s.String() } -// SetAllowedValues sets the AllowedValues field's value. -func (s *OptionGroupOptionSetting) SetAllowedValues(v string) *OptionGroupOptionSetting { - s.AllowedValues = &v - return s -} - -// SetApplyType sets the ApplyType field's value. -func (s *OptionGroupOptionSetting) SetApplyType(v string) *OptionGroupOptionSetting { - s.ApplyType = &v - return s -} - -// SetDefaultValue sets the DefaultValue field's value. -func (s *OptionGroupOptionSetting) SetDefaultValue(v string) *OptionGroupOptionSetting { - s.DefaultValue = &v - return s -} - -// SetIsModifiable sets the IsModifiable field's value. -func (s *OptionGroupOptionSetting) SetIsModifiable(v bool) *OptionGroupOptionSetting { - s.IsModifiable = &v - return s -} - -// SetSettingDescription sets the SettingDescription field's value. -func (s *OptionGroupOptionSetting) SetSettingDescription(v string) *OptionGroupOptionSetting { - s.SettingDescription = &v - return s -} - -// SetSettingName sets the SettingName field's value. -func (s *OptionGroupOptionSetting) SetSettingName(v string) *OptionGroupOptionSetting { - s.SettingName = &v - return s -} - // Option settings are the actual settings being applied or configured for that // option. It is used when you modify an option group or describe option groups. // For example, the NATIVE_NETWORK_ENCRYPTION option has a setting called SQLNET.ENCRYPTION_SERVER @@ -20639,60 +15983,6 @@ func (s OptionSetting) GoString() string { return s.String() } -// SetAllowedValues sets the AllowedValues field's value. -func (s *OptionSetting) SetAllowedValues(v string) *OptionSetting { - s.AllowedValues = &v - return s -} - -// SetApplyType sets the ApplyType field's value. -func (s *OptionSetting) SetApplyType(v string) *OptionSetting { - s.ApplyType = &v - return s -} - -// SetDataType sets the DataType field's value. -func (s *OptionSetting) SetDataType(v string) *OptionSetting { - s.DataType = &v - return s -} - -// SetDefaultValue sets the DefaultValue field's value. -func (s *OptionSetting) SetDefaultValue(v string) *OptionSetting { - s.DefaultValue = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *OptionSetting) SetDescription(v string) *OptionSetting { - s.Description = &v - return s -} - -// SetIsCollection sets the IsCollection field's value. -func (s *OptionSetting) SetIsCollection(v bool) *OptionSetting { - s.IsCollection = &v - return s -} - -// SetIsModifiable sets the IsModifiable field's value. -func (s *OptionSetting) SetIsModifiable(v bool) *OptionSetting { - s.IsModifiable = &v - return s -} - -// SetName sets the Name field's value. -func (s *OptionSetting) SetName(v string) *OptionSetting { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *OptionSetting) SetValue(v string) *OptionSetting { - s.Value = &v - return s -} - // The version for an option. Option group option versions are returned by the // DescribeOptionGroupOptions action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/OptionVersion @@ -20716,18 +16006,6 @@ func (s OptionVersion) GoString() string { return s.String() } -// SetIsDefault sets the IsDefault field's value. -func (s *OptionVersion) SetIsDefault(v bool) *OptionVersion { - s.IsDefault = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *OptionVersion) SetVersion(v string) *OptionVersion { - s.Version = &v - return s -} - // Contains a list of available options for a DB instance. // // This data type is used as a response element in the DescribeOrderableDBInstanceOptions @@ -20808,126 +16086,6 @@ func (s OrderableDBInstanceOption) GoString() string { return s.String() } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *OrderableDBInstanceOption) SetAvailabilityZones(v []AvailabilityZone) *OrderableDBInstanceOption { - s.AvailabilityZones = v - return s -} - -// SetDBInstanceClass sets the DBInstanceClass field's value. -func (s *OrderableDBInstanceOption) SetDBInstanceClass(v string) *OrderableDBInstanceOption { - s.DBInstanceClass = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *OrderableDBInstanceOption) SetEngine(v string) *OrderableDBInstanceOption { - s.Engine = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *OrderableDBInstanceOption) SetEngineVersion(v string) *OrderableDBInstanceOption { - s.EngineVersion = &v - return s -} - -// SetLicenseModel sets the LicenseModel field's value. -func (s *OrderableDBInstanceOption) SetLicenseModel(v string) *OrderableDBInstanceOption { - s.LicenseModel = &v - return s -} - -// SetMaxIopsPerDbInstance sets the MaxIopsPerDbInstance field's value. -func (s *OrderableDBInstanceOption) SetMaxIopsPerDbInstance(v int64) *OrderableDBInstanceOption { - s.MaxIopsPerDbInstance = &v - return s -} - -// SetMaxIopsPerGib sets the MaxIopsPerGib field's value. -func (s *OrderableDBInstanceOption) SetMaxIopsPerGib(v float64) *OrderableDBInstanceOption { - s.MaxIopsPerGib = &v - return s -} - -// SetMaxStorageSize sets the MaxStorageSize field's value. -func (s *OrderableDBInstanceOption) SetMaxStorageSize(v int64) *OrderableDBInstanceOption { - s.MaxStorageSize = &v - return s -} - -// SetMinIopsPerDbInstance sets the MinIopsPerDbInstance field's value. -func (s *OrderableDBInstanceOption) SetMinIopsPerDbInstance(v int64) *OrderableDBInstanceOption { - s.MinIopsPerDbInstance = &v - return s -} - -// SetMinIopsPerGib sets the MinIopsPerGib field's value. -func (s *OrderableDBInstanceOption) SetMinIopsPerGib(v float64) *OrderableDBInstanceOption { - s.MinIopsPerGib = &v - return s -} - -// SetMinStorageSize sets the MinStorageSize field's value. -func (s *OrderableDBInstanceOption) SetMinStorageSize(v int64) *OrderableDBInstanceOption { - s.MinStorageSize = &v - return s -} - -// SetMultiAZCapable sets the MultiAZCapable field's value. -func (s *OrderableDBInstanceOption) SetMultiAZCapable(v bool) *OrderableDBInstanceOption { - s.MultiAZCapable = &v - return s -} - -// SetReadReplicaCapable sets the ReadReplicaCapable field's value. -func (s *OrderableDBInstanceOption) SetReadReplicaCapable(v bool) *OrderableDBInstanceOption { - s.ReadReplicaCapable = &v - return s -} - -// SetStorageType sets the StorageType field's value. -func (s *OrderableDBInstanceOption) SetStorageType(v string) *OrderableDBInstanceOption { - s.StorageType = &v - return s -} - -// SetSupportsEnhancedMonitoring sets the SupportsEnhancedMonitoring field's value. -func (s *OrderableDBInstanceOption) SetSupportsEnhancedMonitoring(v bool) *OrderableDBInstanceOption { - s.SupportsEnhancedMonitoring = &v - return s -} - -// SetSupportsIAMDatabaseAuthentication sets the SupportsIAMDatabaseAuthentication field's value. -func (s *OrderableDBInstanceOption) SetSupportsIAMDatabaseAuthentication(v bool) *OrderableDBInstanceOption { - s.SupportsIAMDatabaseAuthentication = &v - return s -} - -// SetSupportsIops sets the SupportsIops field's value. -func (s *OrderableDBInstanceOption) SetSupportsIops(v bool) *OrderableDBInstanceOption { - s.SupportsIops = &v - return s -} - -// SetSupportsPerformanceInsights sets the SupportsPerformanceInsights field's value. -func (s *OrderableDBInstanceOption) SetSupportsPerformanceInsights(v bool) *OrderableDBInstanceOption { - s.SupportsPerformanceInsights = &v - return s -} - -// SetSupportsStorageEncryption sets the SupportsStorageEncryption field's value. -func (s *OrderableDBInstanceOption) SetSupportsStorageEncryption(v bool) *OrderableDBInstanceOption { - s.SupportsStorageEncryption = &v - return s -} - -// SetVpc sets the Vpc field's value. -func (s *OrderableDBInstanceOption) SetVpc(v bool) *OrderableDBInstanceOption { - s.Vpc = &v - return s -} - // This data type is used as a request parameter in the ModifyDBParameterGroup // and ResetDBParameterGroup actions. // @@ -20980,66 +16138,6 @@ func (s Parameter) GoString() string { return s.String() } -// SetAllowedValues sets the AllowedValues field's value. -func (s *Parameter) SetAllowedValues(v string) *Parameter { - s.AllowedValues = &v - return s -} - -// SetApplyMethod sets the ApplyMethod field's value. -func (s *Parameter) SetApplyMethod(v ApplyMethod) *Parameter { - s.ApplyMethod = v - return s -} - -// SetApplyType sets the ApplyType field's value. -func (s *Parameter) SetApplyType(v string) *Parameter { - s.ApplyType = &v - return s -} - -// SetDataType sets the DataType field's value. -func (s *Parameter) SetDataType(v string) *Parameter { - s.DataType = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Parameter) SetDescription(v string) *Parameter { - s.Description = &v - return s -} - -// SetIsModifiable sets the IsModifiable field's value. -func (s *Parameter) SetIsModifiable(v bool) *Parameter { - s.IsModifiable = &v - return s -} - -// SetMinimumEngineVersion sets the MinimumEngineVersion field's value. -func (s *Parameter) SetMinimumEngineVersion(v string) *Parameter { - s.MinimumEngineVersion = &v - return s -} - -// SetParameterName sets the ParameterName field's value. -func (s *Parameter) SetParameterName(v string) *Parameter { - s.ParameterName = &v - return s -} - -// SetParameterValue sets the ParameterValue field's value. -func (s *Parameter) SetParameterValue(v string) *Parameter { - s.ParameterValue = &v - return s -} - -// SetSource sets the Source field's value. -func (s *Parameter) SetSource(v string) *Parameter { - s.Source = &v - return s -} - // Provides information about a pending maintenance action for a resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PendingMaintenanceAction type PendingMaintenanceAction struct { @@ -21084,42 +16182,6 @@ func (s PendingMaintenanceAction) GoString() string { return s.String() } -// SetAction sets the Action field's value. -func (s *PendingMaintenanceAction) SetAction(v string) *PendingMaintenanceAction { - s.Action = &v - return s -} - -// SetAutoAppliedAfterDate sets the AutoAppliedAfterDate field's value. -func (s *PendingMaintenanceAction) SetAutoAppliedAfterDate(v time.Time) *PendingMaintenanceAction { - s.AutoAppliedAfterDate = &v - return s -} - -// SetCurrentApplyDate sets the CurrentApplyDate field's value. -func (s *PendingMaintenanceAction) SetCurrentApplyDate(v time.Time) *PendingMaintenanceAction { - s.CurrentApplyDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *PendingMaintenanceAction) SetDescription(v string) *PendingMaintenanceAction { - s.Description = &v - return s -} - -// SetForcedApplyDate sets the ForcedApplyDate field's value. -func (s *PendingMaintenanceAction) SetForcedApplyDate(v time.Time) *PendingMaintenanceAction { - s.ForcedApplyDate = &v - return s -} - -// SetOptInStatus sets the OptInStatus field's value. -func (s *PendingMaintenanceAction) SetOptInStatus(v string) *PendingMaintenanceAction { - s.OptInStatus = &v - return s -} - // This data type is used as a response element in the ModifyDBInstance action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PendingModifiedValues type PendingModifiedValues struct { @@ -21155,109 +16217,31 @@ type PendingModifiedValues struct { // The license model for the DB instance. // - // Valid values: license-included | bring-your-own-license | general-public-license - LicenseModel *string `type:"string"` - - // Contains the pending or currently-in-progress change of the master credentials - // for the DB instance. - MasterUserPassword *string `type:"string"` - - // Indicates that the Single-AZ DB instance is to change to a Multi-AZ deployment. - MultiAZ *bool `type:"boolean"` - - // Specifies the pending port for the DB instance. - Port *int64 `type:"integer"` - - // Specifies the storage type to be associated with the DB instance. - StorageType *string `type:"string"` -} - -// String returns the string representation -func (s PendingModifiedValues) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s PendingModifiedValues) GoString() string { - return s.String() -} - -// SetAllocatedStorage sets the AllocatedStorage field's value. -func (s *PendingModifiedValues) SetAllocatedStorage(v int64) *PendingModifiedValues { - s.AllocatedStorage = &v - return s -} - -// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value. -func (s *PendingModifiedValues) SetBackupRetentionPeriod(v int64) *PendingModifiedValues { - s.BackupRetentionPeriod = &v - return s -} - -// SetCACertificateIdentifier sets the CACertificateIdentifier field's value. -func (s *PendingModifiedValues) SetCACertificateIdentifier(v string) *PendingModifiedValues { - s.CACertificateIdentifier = &v - return s -} - -// SetDBInstanceClass sets the DBInstanceClass field's value. -func (s *PendingModifiedValues) SetDBInstanceClass(v string) *PendingModifiedValues { - s.DBInstanceClass = &v - return s -} - -// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. -func (s *PendingModifiedValues) SetDBInstanceIdentifier(v string) *PendingModifiedValues { - s.DBInstanceIdentifier = &v - return s -} - -// SetDBSubnetGroupName sets the DBSubnetGroupName field's value. -func (s *PendingModifiedValues) SetDBSubnetGroupName(v string) *PendingModifiedValues { - s.DBSubnetGroupName = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *PendingModifiedValues) SetEngineVersion(v string) *PendingModifiedValues { - s.EngineVersion = &v - return s -} + // Valid values: license-included | bring-your-own-license | general-public-license + LicenseModel *string `type:"string"` -// SetIops sets the Iops field's value. -func (s *PendingModifiedValues) SetIops(v int64) *PendingModifiedValues { - s.Iops = &v - return s -} + // Contains the pending or currently-in-progress change of the master credentials + // for the DB instance. + MasterUserPassword *string `type:"string"` -// SetLicenseModel sets the LicenseModel field's value. -func (s *PendingModifiedValues) SetLicenseModel(v string) *PendingModifiedValues { - s.LicenseModel = &v - return s -} + // Indicates that the Single-AZ DB instance is to change to a Multi-AZ deployment. + MultiAZ *bool `type:"boolean"` -// SetMasterUserPassword sets the MasterUserPassword field's value. -func (s *PendingModifiedValues) SetMasterUserPassword(v string) *PendingModifiedValues { - s.MasterUserPassword = &v - return s -} + // Specifies the pending port for the DB instance. + Port *int64 `type:"integer"` -// SetMultiAZ sets the MultiAZ field's value. -func (s *PendingModifiedValues) SetMultiAZ(v bool) *PendingModifiedValues { - s.MultiAZ = &v - return s + // Specifies the storage type to be associated with the DB instance. + StorageType *string `type:"string"` } -// SetPort sets the Port field's value. -func (s *PendingModifiedValues) SetPort(v int64) *PendingModifiedValues { - s.Port = &v - return s +// String returns the string representation +func (s PendingModifiedValues) String() string { + return awsutil.Prettify(s) } -// SetStorageType sets the StorageType field's value. -func (s *PendingModifiedValues) SetStorageType(v string) *PendingModifiedValues { - s.StorageType = &v - return s +// GoString returns the string representation +func (s PendingModifiedValues) GoString() string { + return s.String() } // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBClusterMessage @@ -21301,12 +16285,6 @@ func (s *PromoteReadReplicaDBClusterInput) Validate() error { return nil } -// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. -func (s *PromoteReadReplicaDBClusterInput) SetDBClusterIdentifier(v string) *PromoteReadReplicaDBClusterInput { - s.DBClusterIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBClusterResult type PromoteReadReplicaDBClusterOutput struct { _ struct{} `type:"structure"` @@ -21334,12 +16312,6 @@ func (s PromoteReadReplicaDBClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBCluster sets the DBCluster field's value. -func (s *PromoteReadReplicaDBClusterOutput) SetDBCluster(v *DBCluster) *PromoteReadReplicaDBClusterOutput { - s.DBCluster = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaMessage type PromoteReadReplicaInput struct { _ struct{} `type:"structure"` @@ -21410,24 +16382,6 @@ func (s *PromoteReadReplicaInput) Validate() error { return nil } -// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value. -func (s *PromoteReadReplicaInput) SetBackupRetentionPeriod(v int64) *PromoteReadReplicaInput { - s.BackupRetentionPeriod = &v - return s -} - -// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. -func (s *PromoteReadReplicaInput) SetDBInstanceIdentifier(v string) *PromoteReadReplicaInput { - s.DBInstanceIdentifier = &v - return s -} - -// SetPreferredBackupWindow sets the PreferredBackupWindow field's value. -func (s *PromoteReadReplicaInput) SetPreferredBackupWindow(v string) *PromoteReadReplicaInput { - s.PreferredBackupWindow = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaResult type PromoteReadReplicaOutput struct { _ struct{} `type:"structure"` @@ -21455,12 +16409,6 @@ func (s PromoteReadReplicaOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBInstance sets the DBInstance field's value. -func (s *PromoteReadReplicaOutput) SetDBInstance(v *DBInstance) *PromoteReadReplicaOutput { - s.DBInstance = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PurchaseReservedDBInstancesOfferingMessage type PurchaseReservedDBInstancesOfferingInput struct { _ struct{} `type:"structure"` @@ -21510,30 +16458,6 @@ func (s *PurchaseReservedDBInstancesOfferingInput) Validate() error { return nil } -// SetDBInstanceCount sets the DBInstanceCount field's value. -func (s *PurchaseReservedDBInstancesOfferingInput) SetDBInstanceCount(v int64) *PurchaseReservedDBInstancesOfferingInput { - s.DBInstanceCount = &v - return s -} - -// SetReservedDBInstanceId sets the ReservedDBInstanceId field's value. -func (s *PurchaseReservedDBInstancesOfferingInput) SetReservedDBInstanceId(v string) *PurchaseReservedDBInstancesOfferingInput { - s.ReservedDBInstanceId = &v - return s -} - -// SetReservedDBInstancesOfferingId sets the ReservedDBInstancesOfferingId field's value. -func (s *PurchaseReservedDBInstancesOfferingInput) SetReservedDBInstancesOfferingId(v string) *PurchaseReservedDBInstancesOfferingInput { - s.ReservedDBInstancesOfferingId = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *PurchaseReservedDBInstancesOfferingInput) SetTags(v []Tag) *PurchaseReservedDBInstancesOfferingInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PurchaseReservedDBInstancesOfferingResult type PurchaseReservedDBInstancesOfferingOutput struct { _ struct{} `type:"structure"` @@ -21560,12 +16484,6 @@ func (s PurchaseReservedDBInstancesOfferingOutput) SDKResponseMetadata() aws.Res return s.responseMetadata } -// SetReservedDBInstance sets the ReservedDBInstance field's value. -func (s *PurchaseReservedDBInstancesOfferingOutput) SetReservedDBInstance(v *ReservedDBInstance) *PurchaseReservedDBInstancesOfferingOutput { - s.ReservedDBInstance = v - return s -} - // A range of integer values. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Range type Range struct { @@ -21594,24 +16512,6 @@ func (s Range) GoString() string { return s.String() } -// SetFrom sets the From field's value. -func (s *Range) SetFrom(v int64) *Range { - s.From = &v - return s -} - -// SetStep sets the Step field's value. -func (s *Range) SetStep(v int64) *Range { - s.Step = &v - return s -} - -// SetTo sets the To field's value. -func (s *Range) SetTo(v int64) *Range { - s.To = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstanceMessage type RebootDBInstanceInput struct { _ struct{} `type:"structure"` @@ -21656,18 +16556,6 @@ func (s *RebootDBInstanceInput) Validate() error { return nil } -// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. -func (s *RebootDBInstanceInput) SetDBInstanceIdentifier(v string) *RebootDBInstanceInput { - s.DBInstanceIdentifier = &v - return s -} - -// SetForceFailover sets the ForceFailover field's value. -func (s *RebootDBInstanceInput) SetForceFailover(v bool) *RebootDBInstanceInput { - s.ForceFailover = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstanceResult type RebootDBInstanceOutput struct { _ struct{} `type:"structure"` @@ -21695,12 +16583,6 @@ func (s RebootDBInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBInstance sets the DBInstance field's value. -func (s *RebootDBInstanceOutput) SetDBInstance(v *DBInstance) *RebootDBInstanceOutput { - s.DBInstance = v - return s -} - // This data type is used as a response element in the DescribeReservedDBInstances // and DescribeReservedDBInstancesOfferings actions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RecurringCharge @@ -21724,18 +16606,6 @@ func (s RecurringCharge) GoString() string { return s.String() } -// SetRecurringChargeAmount sets the RecurringChargeAmount field's value. -func (s *RecurringCharge) SetRecurringChargeAmount(v float64) *RecurringCharge { - s.RecurringChargeAmount = &v - return s -} - -// SetRecurringChargeFrequency sets the RecurringChargeFrequency field's value. -func (s *RecurringCharge) SetRecurringChargeFrequency(v string) *RecurringCharge { - s.RecurringChargeFrequency = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBClusterMessage type RemoveRoleFromDBClusterInput struct { _ struct{} `type:"structure"` @@ -21780,18 +16650,6 @@ func (s *RemoveRoleFromDBClusterInput) Validate() error { return nil } -// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. -func (s *RemoveRoleFromDBClusterInput) SetDBClusterIdentifier(v string) *RemoveRoleFromDBClusterInput { - s.DBClusterIdentifier = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *RemoveRoleFromDBClusterInput) SetRoleArn(v string) *RemoveRoleFromDBClusterInput { - s.RoleArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBClusterOutput type RemoveRoleFromDBClusterOutput struct { _ struct{} `type:"structure"` @@ -21859,18 +16717,6 @@ func (s *RemoveSourceIdentifierFromSubscriptionInput) Validate() error { return nil } -// SetSourceIdentifier sets the SourceIdentifier field's value. -func (s *RemoveSourceIdentifierFromSubscriptionInput) SetSourceIdentifier(v string) *RemoveSourceIdentifierFromSubscriptionInput { - s.SourceIdentifier = &v - return s -} - -// SetSubscriptionName sets the SubscriptionName field's value. -func (s *RemoveSourceIdentifierFromSubscriptionInput) SetSubscriptionName(v string) *RemoveSourceIdentifierFromSubscriptionInput { - s.SubscriptionName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveSourceIdentifierFromSubscriptionResult type RemoveSourceIdentifierFromSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -21897,12 +16743,6 @@ func (s RemoveSourceIdentifierFromSubscriptionOutput) SDKResponseMetadata() aws. return s.responseMetadata } -// SetEventSubscription sets the EventSubscription field's value. -func (s *RemoveSourceIdentifierFromSubscriptionOutput) SetEventSubscription(v *EventSubscription) *RemoveSourceIdentifierFromSubscriptionOutput { - s.EventSubscription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveTagsFromResourceMessage type RemoveTagsFromResourceInput struct { _ struct{} `type:"structure"` @@ -21948,18 +16788,6 @@ func (s *RemoveTagsFromResourceInput) Validate() error { return nil } -// SetResourceName sets the ResourceName field's value. -func (s *RemoveTagsFromResourceInput) SetResourceName(v string) *RemoveTagsFromResourceInput { - s.ResourceName = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *RemoveTagsFromResourceInput) SetTagKeys(v []string) *RemoveTagsFromResourceInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveTagsFromResourceOutput type RemoveTagsFromResourceOutput struct { _ struct{} `type:"structure"` @@ -22044,96 +16872,6 @@ func (s ReservedDBInstance) GoString() string { return s.String() } -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *ReservedDBInstance) SetCurrencyCode(v string) *ReservedDBInstance { - s.CurrencyCode = &v - return s -} - -// SetDBInstanceClass sets the DBInstanceClass field's value. -func (s *ReservedDBInstance) SetDBInstanceClass(v string) *ReservedDBInstance { - s.DBInstanceClass = &v - return s -} - -// SetDBInstanceCount sets the DBInstanceCount field's value. -func (s *ReservedDBInstance) SetDBInstanceCount(v int64) *ReservedDBInstance { - s.DBInstanceCount = &v - return s -} - -// SetDuration sets the Duration field's value. -func (s *ReservedDBInstance) SetDuration(v int64) *ReservedDBInstance { - s.Duration = &v - return s -} - -// SetFixedPrice sets the FixedPrice field's value. -func (s *ReservedDBInstance) SetFixedPrice(v float64) *ReservedDBInstance { - s.FixedPrice = &v - return s -} - -// SetMultiAZ sets the MultiAZ field's value. -func (s *ReservedDBInstance) SetMultiAZ(v bool) *ReservedDBInstance { - s.MultiAZ = &v - return s -} - -// SetOfferingType sets the OfferingType field's value. -func (s *ReservedDBInstance) SetOfferingType(v string) *ReservedDBInstance { - s.OfferingType = &v - return s -} - -// SetProductDescription sets the ProductDescription field's value. -func (s *ReservedDBInstance) SetProductDescription(v string) *ReservedDBInstance { - s.ProductDescription = &v - return s -} - -// SetRecurringCharges sets the RecurringCharges field's value. -func (s *ReservedDBInstance) SetRecurringCharges(v []RecurringCharge) *ReservedDBInstance { - s.RecurringCharges = v - return s -} - -// SetReservedDBInstanceArn sets the ReservedDBInstanceArn field's value. -func (s *ReservedDBInstance) SetReservedDBInstanceArn(v string) *ReservedDBInstance { - s.ReservedDBInstanceArn = &v - return s -} - -// SetReservedDBInstanceId sets the ReservedDBInstanceId field's value. -func (s *ReservedDBInstance) SetReservedDBInstanceId(v string) *ReservedDBInstance { - s.ReservedDBInstanceId = &v - return s -} - -// SetReservedDBInstancesOfferingId sets the ReservedDBInstancesOfferingId field's value. -func (s *ReservedDBInstance) SetReservedDBInstancesOfferingId(v string) *ReservedDBInstance { - s.ReservedDBInstancesOfferingId = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *ReservedDBInstance) SetStartTime(v time.Time) *ReservedDBInstance { - s.StartTime = &v - return s -} - -// SetState sets the State field's value. -func (s *ReservedDBInstance) SetState(v string) *ReservedDBInstance { - s.State = &v - return s -} - -// SetUsagePrice sets the UsagePrice field's value. -func (s *ReservedDBInstance) SetUsagePrice(v float64) *ReservedDBInstance { - s.UsagePrice = &v - return s -} - // This data type is used as a response element in the DescribeReservedDBInstancesOfferings // action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ReservedDBInstancesOffering @@ -22181,66 +16919,6 @@ func (s ReservedDBInstancesOffering) GoString() string { return s.String() } -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *ReservedDBInstancesOffering) SetCurrencyCode(v string) *ReservedDBInstancesOffering { - s.CurrencyCode = &v - return s -} - -// SetDBInstanceClass sets the DBInstanceClass field's value. -func (s *ReservedDBInstancesOffering) SetDBInstanceClass(v string) *ReservedDBInstancesOffering { - s.DBInstanceClass = &v - return s -} - -// SetDuration sets the Duration field's value. -func (s *ReservedDBInstancesOffering) SetDuration(v int64) *ReservedDBInstancesOffering { - s.Duration = &v - return s -} - -// SetFixedPrice sets the FixedPrice field's value. -func (s *ReservedDBInstancesOffering) SetFixedPrice(v float64) *ReservedDBInstancesOffering { - s.FixedPrice = &v - return s -} - -// SetMultiAZ sets the MultiAZ field's value. -func (s *ReservedDBInstancesOffering) SetMultiAZ(v bool) *ReservedDBInstancesOffering { - s.MultiAZ = &v - return s -} - -// SetOfferingType sets the OfferingType field's value. -func (s *ReservedDBInstancesOffering) SetOfferingType(v string) *ReservedDBInstancesOffering { - s.OfferingType = &v - return s -} - -// SetProductDescription sets the ProductDescription field's value. -func (s *ReservedDBInstancesOffering) SetProductDescription(v string) *ReservedDBInstancesOffering { - s.ProductDescription = &v - return s -} - -// SetRecurringCharges sets the RecurringCharges field's value. -func (s *ReservedDBInstancesOffering) SetRecurringCharges(v []RecurringCharge) *ReservedDBInstancesOffering { - s.RecurringCharges = v - return s -} - -// SetReservedDBInstancesOfferingId sets the ReservedDBInstancesOfferingId field's value. -func (s *ReservedDBInstancesOffering) SetReservedDBInstancesOfferingId(v string) *ReservedDBInstancesOffering { - s.ReservedDBInstancesOfferingId = &v - return s -} - -// SetUsagePrice sets the UsagePrice field's value. -func (s *ReservedDBInstancesOffering) SetUsagePrice(v float64) *ReservedDBInstancesOffering { - s.UsagePrice = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBClusterParameterGroupMessage type ResetDBClusterParameterGroupInput struct { _ struct{} `type:"structure"` @@ -22285,24 +16963,6 @@ func (s *ResetDBClusterParameterGroupInput) Validate() error { return nil } -// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value. -func (s *ResetDBClusterParameterGroupInput) SetDBClusterParameterGroupName(v string) *ResetDBClusterParameterGroupInput { - s.DBClusterParameterGroupName = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *ResetDBClusterParameterGroupInput) SetParameters(v []Parameter) *ResetDBClusterParameterGroupInput { - s.Parameters = v - return s -} - -// SetResetAllParameters sets the ResetAllParameters field's value. -func (s *ResetDBClusterParameterGroupInput) SetResetAllParameters(v bool) *ResetDBClusterParameterGroupInput { - s.ResetAllParameters = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterParameterGroupOutput type ResetDBClusterParameterGroupOutput struct { _ struct{} `type:"structure"` @@ -22338,12 +16998,6 @@ func (s ResetDBClusterParameterGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value. -func (s *ResetDBClusterParameterGroupOutput) SetDBClusterParameterGroupName(v string) *ResetDBClusterParameterGroupOutput { - s.DBClusterParameterGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBParameterGroupMessage type ResetDBParameterGroupInput struct { _ struct{} `type:"structure"` @@ -22414,24 +17068,6 @@ func (s *ResetDBParameterGroupInput) Validate() error { return nil } -// SetDBParameterGroupName sets the DBParameterGroupName field's value. -func (s *ResetDBParameterGroupInput) SetDBParameterGroupName(v string) *ResetDBParameterGroupInput { - s.DBParameterGroupName = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *ResetDBParameterGroupInput) SetParameters(v []Parameter) *ResetDBParameterGroupInput { - s.Parameters = v - return s -} - -// SetResetAllParameters sets the ResetAllParameters field's value. -func (s *ResetDBParameterGroupInput) SetResetAllParameters(v bool) *ResetDBParameterGroupInput { - s.ResetAllParameters = &v - return s -} - // Contains the result of a successful invocation of the ModifyDBParameterGroup // or ResetDBParameterGroup action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBParameterGroupOutput @@ -22459,12 +17095,6 @@ func (s ResetDBParameterGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBParameterGroupName sets the DBParameterGroupName field's value. -func (s *ResetDBParameterGroupOutput) SetDBParameterGroupName(v string) *ResetDBParameterGroupOutput { - s.DBParameterGroupName = &v - return s -} - // Describes the pending maintenance actions for a resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResourcePendingMaintenanceActions type ResourcePendingMaintenanceActions struct { @@ -22488,18 +17118,6 @@ func (s ResourcePendingMaintenanceActions) GoString() string { return s.String() } -// SetPendingMaintenanceActionDetails sets the PendingMaintenanceActionDetails field's value. -func (s *ResourcePendingMaintenanceActions) SetPendingMaintenanceActionDetails(v []PendingMaintenanceAction) *ResourcePendingMaintenanceActions { - s.PendingMaintenanceActionDetails = v - return s -} - -// SetResourceIdentifier sets the ResourceIdentifier field's value. -func (s *ResourcePendingMaintenanceActions) SetResourceIdentifier(v string) *ResourcePendingMaintenanceActions { - s.ResourceIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3Message type RestoreDBClusterFromS3Input struct { _ struct{} `type:"structure"` @@ -22756,156 +17374,6 @@ func (s *RestoreDBClusterFromS3Input) Validate() error { return nil } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *RestoreDBClusterFromS3Input) SetAvailabilityZones(v []string) *RestoreDBClusterFromS3Input { - s.AvailabilityZones = v - return s -} - -// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value. -func (s *RestoreDBClusterFromS3Input) SetBackupRetentionPeriod(v int64) *RestoreDBClusterFromS3Input { - s.BackupRetentionPeriod = &v - return s -} - -// SetCharacterSetName sets the CharacterSetName field's value. -func (s *RestoreDBClusterFromS3Input) SetCharacterSetName(v string) *RestoreDBClusterFromS3Input { - s.CharacterSetName = &v - return s -} - -// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. -func (s *RestoreDBClusterFromS3Input) SetDBClusterIdentifier(v string) *RestoreDBClusterFromS3Input { - s.DBClusterIdentifier = &v - return s -} - -// SetDBClusterParameterGroupName sets the DBClusterParameterGroupName field's value. -func (s *RestoreDBClusterFromS3Input) SetDBClusterParameterGroupName(v string) *RestoreDBClusterFromS3Input { - s.DBClusterParameterGroupName = &v - return s -} - -// SetDBSubnetGroupName sets the DBSubnetGroupName field's value. -func (s *RestoreDBClusterFromS3Input) SetDBSubnetGroupName(v string) *RestoreDBClusterFromS3Input { - s.DBSubnetGroupName = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *RestoreDBClusterFromS3Input) SetDatabaseName(v string) *RestoreDBClusterFromS3Input { - s.DatabaseName = &v - return s -} - -// SetEnableIAMDatabaseAuthentication sets the EnableIAMDatabaseAuthentication field's value. -func (s *RestoreDBClusterFromS3Input) SetEnableIAMDatabaseAuthentication(v bool) *RestoreDBClusterFromS3Input { - s.EnableIAMDatabaseAuthentication = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *RestoreDBClusterFromS3Input) SetEngine(v string) *RestoreDBClusterFromS3Input { - s.Engine = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *RestoreDBClusterFromS3Input) SetEngineVersion(v string) *RestoreDBClusterFromS3Input { - s.EngineVersion = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *RestoreDBClusterFromS3Input) SetKmsKeyId(v string) *RestoreDBClusterFromS3Input { - s.KmsKeyId = &v - return s -} - -// SetMasterUserPassword sets the MasterUserPassword field's value. -func (s *RestoreDBClusterFromS3Input) SetMasterUserPassword(v string) *RestoreDBClusterFromS3Input { - s.MasterUserPassword = &v - return s -} - -// SetMasterUsername sets the MasterUsername field's value. -func (s *RestoreDBClusterFromS3Input) SetMasterUsername(v string) *RestoreDBClusterFromS3Input { - s.MasterUsername = &v - return s -} - -// SetOptionGroupName sets the OptionGroupName field's value. -func (s *RestoreDBClusterFromS3Input) SetOptionGroupName(v string) *RestoreDBClusterFromS3Input { - s.OptionGroupName = &v - return s -} - -// SetPort sets the Port field's value. -func (s *RestoreDBClusterFromS3Input) SetPort(v int64) *RestoreDBClusterFromS3Input { - s.Port = &v - return s -} - -// SetPreferredBackupWindow sets the PreferredBackupWindow field's value. -func (s *RestoreDBClusterFromS3Input) SetPreferredBackupWindow(v string) *RestoreDBClusterFromS3Input { - s.PreferredBackupWindow = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *RestoreDBClusterFromS3Input) SetPreferredMaintenanceWindow(v string) *RestoreDBClusterFromS3Input { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetS3BucketName sets the S3BucketName field's value. -func (s *RestoreDBClusterFromS3Input) SetS3BucketName(v string) *RestoreDBClusterFromS3Input { - s.S3BucketName = &v - return s -} - -// SetS3IngestionRoleArn sets the S3IngestionRoleArn field's value. -func (s *RestoreDBClusterFromS3Input) SetS3IngestionRoleArn(v string) *RestoreDBClusterFromS3Input { - s.S3IngestionRoleArn = &v - return s -} - -// SetS3Prefix sets the S3Prefix field's value. -func (s *RestoreDBClusterFromS3Input) SetS3Prefix(v string) *RestoreDBClusterFromS3Input { - s.S3Prefix = &v - return s -} - -// SetSourceEngine sets the SourceEngine field's value. -func (s *RestoreDBClusterFromS3Input) SetSourceEngine(v string) *RestoreDBClusterFromS3Input { - s.SourceEngine = &v - return s -} - -// SetSourceEngineVersion sets the SourceEngineVersion field's value. -func (s *RestoreDBClusterFromS3Input) SetSourceEngineVersion(v string) *RestoreDBClusterFromS3Input { - s.SourceEngineVersion = &v - return s -} - -// SetStorageEncrypted sets the StorageEncrypted field's value. -func (s *RestoreDBClusterFromS3Input) SetStorageEncrypted(v bool) *RestoreDBClusterFromS3Input { - s.StorageEncrypted = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *RestoreDBClusterFromS3Input) SetTags(v []Tag) *RestoreDBClusterFromS3Input { - s.Tags = v - return s -} - -// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value. -func (s *RestoreDBClusterFromS3Input) SetVpcSecurityGroupIds(v []string) *RestoreDBClusterFromS3Input { - s.VpcSecurityGroupIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3Result type RestoreDBClusterFromS3Output struct { _ struct{} `type:"structure"` @@ -22933,12 +17401,6 @@ func (s RestoreDBClusterFromS3Output) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBCluster sets the DBCluster field's value. -func (s *RestoreDBClusterFromS3Output) SetDBCluster(v *DBCluster) *RestoreDBClusterFromS3Output { - s.DBCluster = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshotMessage type RestoreDBClusterFromSnapshotInput struct { _ struct{} `type:"structure"` @@ -23072,84 +17534,6 @@ func (s *RestoreDBClusterFromSnapshotInput) Validate() error { return nil } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *RestoreDBClusterFromSnapshotInput) SetAvailabilityZones(v []string) *RestoreDBClusterFromSnapshotInput { - s.AvailabilityZones = v - return s -} - -// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. -func (s *RestoreDBClusterFromSnapshotInput) SetDBClusterIdentifier(v string) *RestoreDBClusterFromSnapshotInput { - s.DBClusterIdentifier = &v - return s -} - -// SetDBSubnetGroupName sets the DBSubnetGroupName field's value. -func (s *RestoreDBClusterFromSnapshotInput) SetDBSubnetGroupName(v string) *RestoreDBClusterFromSnapshotInput { - s.DBSubnetGroupName = &v - return s -} - -// SetDatabaseName sets the DatabaseName field's value. -func (s *RestoreDBClusterFromSnapshotInput) SetDatabaseName(v string) *RestoreDBClusterFromSnapshotInput { - s.DatabaseName = &v - return s -} - -// SetEnableIAMDatabaseAuthentication sets the EnableIAMDatabaseAuthentication field's value. -func (s *RestoreDBClusterFromSnapshotInput) SetEnableIAMDatabaseAuthentication(v bool) *RestoreDBClusterFromSnapshotInput { - s.EnableIAMDatabaseAuthentication = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *RestoreDBClusterFromSnapshotInput) SetEngine(v string) *RestoreDBClusterFromSnapshotInput { - s.Engine = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *RestoreDBClusterFromSnapshotInput) SetEngineVersion(v string) *RestoreDBClusterFromSnapshotInput { - s.EngineVersion = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *RestoreDBClusterFromSnapshotInput) SetKmsKeyId(v string) *RestoreDBClusterFromSnapshotInput { - s.KmsKeyId = &v - return s -} - -// SetOptionGroupName sets the OptionGroupName field's value. -func (s *RestoreDBClusterFromSnapshotInput) SetOptionGroupName(v string) *RestoreDBClusterFromSnapshotInput { - s.OptionGroupName = &v - return s -} - -// SetPort sets the Port field's value. -func (s *RestoreDBClusterFromSnapshotInput) SetPort(v int64) *RestoreDBClusterFromSnapshotInput { - s.Port = &v - return s -} - -// SetSnapshotIdentifier sets the SnapshotIdentifier field's value. -func (s *RestoreDBClusterFromSnapshotInput) SetSnapshotIdentifier(v string) *RestoreDBClusterFromSnapshotInput { - s.SnapshotIdentifier = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *RestoreDBClusterFromSnapshotInput) SetTags(v []Tag) *RestoreDBClusterFromSnapshotInput { - s.Tags = v - return s -} - -// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value. -func (s *RestoreDBClusterFromSnapshotInput) SetVpcSecurityGroupIds(v []string) *RestoreDBClusterFromSnapshotInput { - s.VpcSecurityGroupIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshotResult type RestoreDBClusterFromSnapshotOutput struct { _ struct{} `type:"structure"` @@ -23177,12 +17561,6 @@ func (s RestoreDBClusterFromSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBCluster sets the DBCluster field's value. -func (s *RestoreDBClusterFromSnapshotOutput) SetDBCluster(v *DBCluster) *RestoreDBClusterFromSnapshotOutput { - s.DBCluster = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTimeMessage type RestoreDBClusterToPointInTimeInput struct { _ struct{} `type:"structure"` @@ -23316,94 +17694,22 @@ func (s RestoreDBClusterToPointInTimeInput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *RestoreDBClusterToPointInTimeInput) Validate() error { - invalidParams := aws.ErrInvalidParams{Context: "RestoreDBClusterToPointInTimeInput"} - - if s.DBClusterIdentifier == nil { - invalidParams.Add(aws.NewErrParamRequired("DBClusterIdentifier")) - } - - if s.SourceDBClusterIdentifier == nil { - invalidParams.Add(aws.NewErrParamRequired("SourceDBClusterIdentifier")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetDBClusterIdentifier sets the DBClusterIdentifier field's value. -func (s *RestoreDBClusterToPointInTimeInput) SetDBClusterIdentifier(v string) *RestoreDBClusterToPointInTimeInput { - s.DBClusterIdentifier = &v - return s -} - -// SetDBSubnetGroupName sets the DBSubnetGroupName field's value. -func (s *RestoreDBClusterToPointInTimeInput) SetDBSubnetGroupName(v string) *RestoreDBClusterToPointInTimeInput { - s.DBSubnetGroupName = &v - return s -} - -// SetEnableIAMDatabaseAuthentication sets the EnableIAMDatabaseAuthentication field's value. -func (s *RestoreDBClusterToPointInTimeInput) SetEnableIAMDatabaseAuthentication(v bool) *RestoreDBClusterToPointInTimeInput { - s.EnableIAMDatabaseAuthentication = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *RestoreDBClusterToPointInTimeInput) SetKmsKeyId(v string) *RestoreDBClusterToPointInTimeInput { - s.KmsKeyId = &v - return s -} - -// SetOptionGroupName sets the OptionGroupName field's value. -func (s *RestoreDBClusterToPointInTimeInput) SetOptionGroupName(v string) *RestoreDBClusterToPointInTimeInput { - s.OptionGroupName = &v - return s -} - -// SetPort sets the Port field's value. -func (s *RestoreDBClusterToPointInTimeInput) SetPort(v int64) *RestoreDBClusterToPointInTimeInput { - s.Port = &v - return s -} - -// SetRestoreToTime sets the RestoreToTime field's value. -func (s *RestoreDBClusterToPointInTimeInput) SetRestoreToTime(v time.Time) *RestoreDBClusterToPointInTimeInput { - s.RestoreToTime = &v - return s -} - -// SetRestoreType sets the RestoreType field's value. -func (s *RestoreDBClusterToPointInTimeInput) SetRestoreType(v string) *RestoreDBClusterToPointInTimeInput { - s.RestoreType = &v - return s -} - -// SetSourceDBClusterIdentifier sets the SourceDBClusterIdentifier field's value. -func (s *RestoreDBClusterToPointInTimeInput) SetSourceDBClusterIdentifier(v string) *RestoreDBClusterToPointInTimeInput { - s.SourceDBClusterIdentifier = &v - return s -} +// Validate inspects the fields of the type to determine if they are valid. +func (s *RestoreDBClusterToPointInTimeInput) Validate() error { + invalidParams := aws.ErrInvalidParams{Context: "RestoreDBClusterToPointInTimeInput"} -// SetTags sets the Tags field's value. -func (s *RestoreDBClusterToPointInTimeInput) SetTags(v []Tag) *RestoreDBClusterToPointInTimeInput { - s.Tags = v - return s -} + if s.DBClusterIdentifier == nil { + invalidParams.Add(aws.NewErrParamRequired("DBClusterIdentifier")) + } -// SetUseLatestRestorableTime sets the UseLatestRestorableTime field's value. -func (s *RestoreDBClusterToPointInTimeInput) SetUseLatestRestorableTime(v bool) *RestoreDBClusterToPointInTimeInput { - s.UseLatestRestorableTime = &v - return s -} + if s.SourceDBClusterIdentifier == nil { + invalidParams.Add(aws.NewErrParamRequired("SourceDBClusterIdentifier")) + } -// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value. -func (s *RestoreDBClusterToPointInTimeInput) SetVpcSecurityGroupIds(v []string) *RestoreDBClusterToPointInTimeInput { - s.VpcSecurityGroupIds = v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTimeResult @@ -23433,12 +17739,6 @@ func (s RestoreDBClusterToPointInTimeOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetDBCluster sets the DBCluster field's value. -func (s *RestoreDBClusterToPointInTimeOutput) SetDBCluster(v *DBCluster) *RestoreDBClusterToPointInTimeOutput { - s.DBCluster = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshotMessage type RestoreDBInstanceFromDBSnapshotInput struct { _ struct{} `type:"structure"` @@ -23674,138 +17974,6 @@ func (s *RestoreDBInstanceFromDBSnapshotInput) Validate() error { return nil } -// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetAutoMinorVersionUpgrade(v bool) *RestoreDBInstanceFromDBSnapshotInput { - s.AutoMinorVersionUpgrade = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetAvailabilityZone(v string) *RestoreDBInstanceFromDBSnapshotInput { - s.AvailabilityZone = &v - return s -} - -// SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetCopyTagsToSnapshot(v bool) *RestoreDBInstanceFromDBSnapshotInput { - s.CopyTagsToSnapshot = &v - return s -} - -// SetDBInstanceClass sets the DBInstanceClass field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBInstanceClass(v string) *RestoreDBInstanceFromDBSnapshotInput { - s.DBInstanceClass = &v - return s -} - -// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBInstanceIdentifier(v string) *RestoreDBInstanceFromDBSnapshotInput { - s.DBInstanceIdentifier = &v - return s -} - -// SetDBName sets the DBName field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBName(v string) *RestoreDBInstanceFromDBSnapshotInput { - s.DBName = &v - return s -} - -// SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBSnapshotIdentifier(v string) *RestoreDBInstanceFromDBSnapshotInput { - s.DBSnapshotIdentifier = &v - return s -} - -// SetDBSubnetGroupName sets the DBSubnetGroupName field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetDBSubnetGroupName(v string) *RestoreDBInstanceFromDBSnapshotInput { - s.DBSubnetGroupName = &v - return s -} - -// SetDomain sets the Domain field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetDomain(v string) *RestoreDBInstanceFromDBSnapshotInput { - s.Domain = &v - return s -} - -// SetDomainIAMRoleName sets the DomainIAMRoleName field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetDomainIAMRoleName(v string) *RestoreDBInstanceFromDBSnapshotInput { - s.DomainIAMRoleName = &v - return s -} - -// SetEnableIAMDatabaseAuthentication sets the EnableIAMDatabaseAuthentication field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetEnableIAMDatabaseAuthentication(v bool) *RestoreDBInstanceFromDBSnapshotInput { - s.EnableIAMDatabaseAuthentication = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetEngine(v string) *RestoreDBInstanceFromDBSnapshotInput { - s.Engine = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetIops(v int64) *RestoreDBInstanceFromDBSnapshotInput { - s.Iops = &v - return s -} - -// SetLicenseModel sets the LicenseModel field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetLicenseModel(v string) *RestoreDBInstanceFromDBSnapshotInput { - s.LicenseModel = &v - return s -} - -// SetMultiAZ sets the MultiAZ field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetMultiAZ(v bool) *RestoreDBInstanceFromDBSnapshotInput { - s.MultiAZ = &v - return s -} - -// SetOptionGroupName sets the OptionGroupName field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetOptionGroupName(v string) *RestoreDBInstanceFromDBSnapshotInput { - s.OptionGroupName = &v - return s -} - -// SetPort sets the Port field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetPort(v int64) *RestoreDBInstanceFromDBSnapshotInput { - s.Port = &v - return s -} - -// SetPubliclyAccessible sets the PubliclyAccessible field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetPubliclyAccessible(v bool) *RestoreDBInstanceFromDBSnapshotInput { - s.PubliclyAccessible = &v - return s -} - -// SetStorageType sets the StorageType field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetStorageType(v string) *RestoreDBInstanceFromDBSnapshotInput { - s.StorageType = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetTags(v []Tag) *RestoreDBInstanceFromDBSnapshotInput { - s.Tags = v - return s -} - -// SetTdeCredentialArn sets the TdeCredentialArn field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetTdeCredentialArn(v string) *RestoreDBInstanceFromDBSnapshotInput { - s.TdeCredentialArn = &v - return s -} - -// SetTdeCredentialPassword sets the TdeCredentialPassword field's value. -func (s *RestoreDBInstanceFromDBSnapshotInput) SetTdeCredentialPassword(v string) *RestoreDBInstanceFromDBSnapshotInput { - s.TdeCredentialPassword = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshotResult type RestoreDBInstanceFromDBSnapshotOutput struct { _ struct{} `type:"structure"` @@ -23833,12 +18001,6 @@ func (s RestoreDBInstanceFromDBSnapshotOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetDBInstance sets the DBInstance field's value. -func (s *RestoreDBInstanceFromDBSnapshotOutput) SetDBInstance(v *DBInstance) *RestoreDBInstanceFromDBSnapshotOutput { - s.DBInstance = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3Message type RestoreDBInstanceFromS3Input struct { _ struct{} `type:"structure"` @@ -24159,234 +18321,6 @@ func (s *RestoreDBInstanceFromS3Input) Validate() error { return nil } -// SetAllocatedStorage sets the AllocatedStorage field's value. -func (s *RestoreDBInstanceFromS3Input) SetAllocatedStorage(v int64) *RestoreDBInstanceFromS3Input { - s.AllocatedStorage = &v - return s -} - -// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. -func (s *RestoreDBInstanceFromS3Input) SetAutoMinorVersionUpgrade(v bool) *RestoreDBInstanceFromS3Input { - s.AutoMinorVersionUpgrade = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *RestoreDBInstanceFromS3Input) SetAvailabilityZone(v string) *RestoreDBInstanceFromS3Input { - s.AvailabilityZone = &v - return s -} - -// SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value. -func (s *RestoreDBInstanceFromS3Input) SetBackupRetentionPeriod(v int64) *RestoreDBInstanceFromS3Input { - s.BackupRetentionPeriod = &v - return s -} - -// SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value. -func (s *RestoreDBInstanceFromS3Input) SetCopyTagsToSnapshot(v bool) *RestoreDBInstanceFromS3Input { - s.CopyTagsToSnapshot = &v - return s -} - -// SetDBInstanceClass sets the DBInstanceClass field's value. -func (s *RestoreDBInstanceFromS3Input) SetDBInstanceClass(v string) *RestoreDBInstanceFromS3Input { - s.DBInstanceClass = &v - return s -} - -// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. -func (s *RestoreDBInstanceFromS3Input) SetDBInstanceIdentifier(v string) *RestoreDBInstanceFromS3Input { - s.DBInstanceIdentifier = &v - return s -} - -// SetDBName sets the DBName field's value. -func (s *RestoreDBInstanceFromS3Input) SetDBName(v string) *RestoreDBInstanceFromS3Input { - s.DBName = &v - return s -} - -// SetDBParameterGroupName sets the DBParameterGroupName field's value. -func (s *RestoreDBInstanceFromS3Input) SetDBParameterGroupName(v string) *RestoreDBInstanceFromS3Input { - s.DBParameterGroupName = &v - return s -} - -// SetDBSecurityGroups sets the DBSecurityGroups field's value. -func (s *RestoreDBInstanceFromS3Input) SetDBSecurityGroups(v []string) *RestoreDBInstanceFromS3Input { - s.DBSecurityGroups = v - return s -} - -// SetDBSubnetGroupName sets the DBSubnetGroupName field's value. -func (s *RestoreDBInstanceFromS3Input) SetDBSubnetGroupName(v string) *RestoreDBInstanceFromS3Input { - s.DBSubnetGroupName = &v - return s -} - -// SetEnableIAMDatabaseAuthentication sets the EnableIAMDatabaseAuthentication field's value. -func (s *RestoreDBInstanceFromS3Input) SetEnableIAMDatabaseAuthentication(v bool) *RestoreDBInstanceFromS3Input { - s.EnableIAMDatabaseAuthentication = &v - return s -} - -// SetEnablePerformanceInsights sets the EnablePerformanceInsights field's value. -func (s *RestoreDBInstanceFromS3Input) SetEnablePerformanceInsights(v bool) *RestoreDBInstanceFromS3Input { - s.EnablePerformanceInsights = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *RestoreDBInstanceFromS3Input) SetEngine(v string) *RestoreDBInstanceFromS3Input { - s.Engine = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *RestoreDBInstanceFromS3Input) SetEngineVersion(v string) *RestoreDBInstanceFromS3Input { - s.EngineVersion = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *RestoreDBInstanceFromS3Input) SetIops(v int64) *RestoreDBInstanceFromS3Input { - s.Iops = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *RestoreDBInstanceFromS3Input) SetKmsKeyId(v string) *RestoreDBInstanceFromS3Input { - s.KmsKeyId = &v - return s -} - -// SetLicenseModel sets the LicenseModel field's value. -func (s *RestoreDBInstanceFromS3Input) SetLicenseModel(v string) *RestoreDBInstanceFromS3Input { - s.LicenseModel = &v - return s -} - -// SetMasterUserPassword sets the MasterUserPassword field's value. -func (s *RestoreDBInstanceFromS3Input) SetMasterUserPassword(v string) *RestoreDBInstanceFromS3Input { - s.MasterUserPassword = &v - return s -} - -// SetMasterUsername sets the MasterUsername field's value. -func (s *RestoreDBInstanceFromS3Input) SetMasterUsername(v string) *RestoreDBInstanceFromS3Input { - s.MasterUsername = &v - return s -} - -// SetMonitoringInterval sets the MonitoringInterval field's value. -func (s *RestoreDBInstanceFromS3Input) SetMonitoringInterval(v int64) *RestoreDBInstanceFromS3Input { - s.MonitoringInterval = &v - return s -} - -// SetMonitoringRoleArn sets the MonitoringRoleArn field's value. -func (s *RestoreDBInstanceFromS3Input) SetMonitoringRoleArn(v string) *RestoreDBInstanceFromS3Input { - s.MonitoringRoleArn = &v - return s -} - -// SetMultiAZ sets the MultiAZ field's value. -func (s *RestoreDBInstanceFromS3Input) SetMultiAZ(v bool) *RestoreDBInstanceFromS3Input { - s.MultiAZ = &v - return s -} - -// SetOptionGroupName sets the OptionGroupName field's value. -func (s *RestoreDBInstanceFromS3Input) SetOptionGroupName(v string) *RestoreDBInstanceFromS3Input { - s.OptionGroupName = &v - return s -} - -// SetPerformanceInsightsKMSKeyId sets the PerformanceInsightsKMSKeyId field's value. -func (s *RestoreDBInstanceFromS3Input) SetPerformanceInsightsKMSKeyId(v string) *RestoreDBInstanceFromS3Input { - s.PerformanceInsightsKMSKeyId = &v - return s -} - -// SetPort sets the Port field's value. -func (s *RestoreDBInstanceFromS3Input) SetPort(v int64) *RestoreDBInstanceFromS3Input { - s.Port = &v - return s -} - -// SetPreferredBackupWindow sets the PreferredBackupWindow field's value. -func (s *RestoreDBInstanceFromS3Input) SetPreferredBackupWindow(v string) *RestoreDBInstanceFromS3Input { - s.PreferredBackupWindow = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *RestoreDBInstanceFromS3Input) SetPreferredMaintenanceWindow(v string) *RestoreDBInstanceFromS3Input { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetPubliclyAccessible sets the PubliclyAccessible field's value. -func (s *RestoreDBInstanceFromS3Input) SetPubliclyAccessible(v bool) *RestoreDBInstanceFromS3Input { - s.PubliclyAccessible = &v - return s -} - -// SetS3BucketName sets the S3BucketName field's value. -func (s *RestoreDBInstanceFromS3Input) SetS3BucketName(v string) *RestoreDBInstanceFromS3Input { - s.S3BucketName = &v - return s -} - -// SetS3IngestionRoleArn sets the S3IngestionRoleArn field's value. -func (s *RestoreDBInstanceFromS3Input) SetS3IngestionRoleArn(v string) *RestoreDBInstanceFromS3Input { - s.S3IngestionRoleArn = &v - return s -} - -// SetS3Prefix sets the S3Prefix field's value. -func (s *RestoreDBInstanceFromS3Input) SetS3Prefix(v string) *RestoreDBInstanceFromS3Input { - s.S3Prefix = &v - return s -} - -// SetSourceEngine sets the SourceEngine field's value. -func (s *RestoreDBInstanceFromS3Input) SetSourceEngine(v string) *RestoreDBInstanceFromS3Input { - s.SourceEngine = &v - return s -} - -// SetSourceEngineVersion sets the SourceEngineVersion field's value. -func (s *RestoreDBInstanceFromS3Input) SetSourceEngineVersion(v string) *RestoreDBInstanceFromS3Input { - s.SourceEngineVersion = &v - return s -} - -// SetStorageEncrypted sets the StorageEncrypted field's value. -func (s *RestoreDBInstanceFromS3Input) SetStorageEncrypted(v bool) *RestoreDBInstanceFromS3Input { - s.StorageEncrypted = &v - return s -} - -// SetStorageType sets the StorageType field's value. -func (s *RestoreDBInstanceFromS3Input) SetStorageType(v string) *RestoreDBInstanceFromS3Input { - s.StorageType = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *RestoreDBInstanceFromS3Input) SetTags(v []Tag) *RestoreDBInstanceFromS3Input { - s.Tags = v - return s -} - -// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value. -func (s *RestoreDBInstanceFromS3Input) SetVpcSecurityGroupIds(v []string) *RestoreDBInstanceFromS3Input { - s.VpcSecurityGroupIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3Result type RestoreDBInstanceFromS3Output struct { _ struct{} `type:"structure"` @@ -24414,12 +18348,6 @@ func (s RestoreDBInstanceFromS3Output) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBInstance sets the DBInstance field's value. -func (s *RestoreDBInstanceFromS3Output) SetDBInstance(v *DBInstance) *RestoreDBInstanceFromS3Output { - s.DBInstance = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTimeMessage type RestoreDBInstanceToPointInTimeInput struct { _ struct{} `type:"structure"` @@ -24665,150 +18593,6 @@ func (s *RestoreDBInstanceToPointInTimeInput) Validate() error { return nil } -// SetAutoMinorVersionUpgrade sets the AutoMinorVersionUpgrade field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetAutoMinorVersionUpgrade(v bool) *RestoreDBInstanceToPointInTimeInput { - s.AutoMinorVersionUpgrade = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetAvailabilityZone(v string) *RestoreDBInstanceToPointInTimeInput { - s.AvailabilityZone = &v - return s -} - -// SetCopyTagsToSnapshot sets the CopyTagsToSnapshot field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetCopyTagsToSnapshot(v bool) *RestoreDBInstanceToPointInTimeInput { - s.CopyTagsToSnapshot = &v - return s -} - -// SetDBInstanceClass sets the DBInstanceClass field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetDBInstanceClass(v string) *RestoreDBInstanceToPointInTimeInput { - s.DBInstanceClass = &v - return s -} - -// SetDBName sets the DBName field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetDBName(v string) *RestoreDBInstanceToPointInTimeInput { - s.DBName = &v - return s -} - -// SetDBSubnetGroupName sets the DBSubnetGroupName field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetDBSubnetGroupName(v string) *RestoreDBInstanceToPointInTimeInput { - s.DBSubnetGroupName = &v - return s -} - -// SetDomain sets the Domain field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetDomain(v string) *RestoreDBInstanceToPointInTimeInput { - s.Domain = &v - return s -} - -// SetDomainIAMRoleName sets the DomainIAMRoleName field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetDomainIAMRoleName(v string) *RestoreDBInstanceToPointInTimeInput { - s.DomainIAMRoleName = &v - return s -} - -// SetEnableIAMDatabaseAuthentication sets the EnableIAMDatabaseAuthentication field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetEnableIAMDatabaseAuthentication(v bool) *RestoreDBInstanceToPointInTimeInput { - s.EnableIAMDatabaseAuthentication = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetEngine(v string) *RestoreDBInstanceToPointInTimeInput { - s.Engine = &v - return s -} - -// SetIops sets the Iops field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetIops(v int64) *RestoreDBInstanceToPointInTimeInput { - s.Iops = &v - return s -} - -// SetLicenseModel sets the LicenseModel field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetLicenseModel(v string) *RestoreDBInstanceToPointInTimeInput { - s.LicenseModel = &v - return s -} - -// SetMultiAZ sets the MultiAZ field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetMultiAZ(v bool) *RestoreDBInstanceToPointInTimeInput { - s.MultiAZ = &v - return s -} - -// SetOptionGroupName sets the OptionGroupName field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetOptionGroupName(v string) *RestoreDBInstanceToPointInTimeInput { - s.OptionGroupName = &v - return s -} - -// SetPort sets the Port field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetPort(v int64) *RestoreDBInstanceToPointInTimeInput { - s.Port = &v - return s -} - -// SetPubliclyAccessible sets the PubliclyAccessible field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetPubliclyAccessible(v bool) *RestoreDBInstanceToPointInTimeInput { - s.PubliclyAccessible = &v - return s -} - -// SetRestoreTime sets the RestoreTime field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetRestoreTime(v time.Time) *RestoreDBInstanceToPointInTimeInput { - s.RestoreTime = &v - return s -} - -// SetSourceDBInstanceIdentifier sets the SourceDBInstanceIdentifier field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetSourceDBInstanceIdentifier(v string) *RestoreDBInstanceToPointInTimeInput { - s.SourceDBInstanceIdentifier = &v - return s -} - -// SetStorageType sets the StorageType field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetStorageType(v string) *RestoreDBInstanceToPointInTimeInput { - s.StorageType = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetTags(v []Tag) *RestoreDBInstanceToPointInTimeInput { - s.Tags = v - return s -} - -// SetTargetDBInstanceIdentifier sets the TargetDBInstanceIdentifier field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetTargetDBInstanceIdentifier(v string) *RestoreDBInstanceToPointInTimeInput { - s.TargetDBInstanceIdentifier = &v - return s -} - -// SetTdeCredentialArn sets the TdeCredentialArn field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetTdeCredentialArn(v string) *RestoreDBInstanceToPointInTimeInput { - s.TdeCredentialArn = &v - return s -} - -// SetTdeCredentialPassword sets the TdeCredentialPassword field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetTdeCredentialPassword(v string) *RestoreDBInstanceToPointInTimeInput { - s.TdeCredentialPassword = &v - return s -} - -// SetUseLatestRestorableTime sets the UseLatestRestorableTime field's value. -func (s *RestoreDBInstanceToPointInTimeInput) SetUseLatestRestorableTime(v bool) *RestoreDBInstanceToPointInTimeInput { - s.UseLatestRestorableTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTimeResult type RestoreDBInstanceToPointInTimeOutput struct { _ struct{} `type:"structure"` @@ -24836,12 +18620,6 @@ func (s RestoreDBInstanceToPointInTimeOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetDBInstance sets the DBInstance field's value. -func (s *RestoreDBInstanceToPointInTimeOutput) SetDBInstance(v *DBInstance) *RestoreDBInstanceToPointInTimeOutput { - s.DBInstance = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RevokeDBSecurityGroupIngressMessage type RevokeDBSecurityGroupIngressInput struct { _ struct{} `type:"structure"` @@ -24898,36 +18676,6 @@ func (s *RevokeDBSecurityGroupIngressInput) Validate() error { return nil } -// SetCIDRIP sets the CIDRIP field's value. -func (s *RevokeDBSecurityGroupIngressInput) SetCIDRIP(v string) *RevokeDBSecurityGroupIngressInput { - s.CIDRIP = &v - return s -} - -// SetDBSecurityGroupName sets the DBSecurityGroupName field's value. -func (s *RevokeDBSecurityGroupIngressInput) SetDBSecurityGroupName(v string) *RevokeDBSecurityGroupIngressInput { - s.DBSecurityGroupName = &v - return s -} - -// SetEC2SecurityGroupId sets the EC2SecurityGroupId field's value. -func (s *RevokeDBSecurityGroupIngressInput) SetEC2SecurityGroupId(v string) *RevokeDBSecurityGroupIngressInput { - s.EC2SecurityGroupId = &v - return s -} - -// SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value. -func (s *RevokeDBSecurityGroupIngressInput) SetEC2SecurityGroupName(v string) *RevokeDBSecurityGroupIngressInput { - s.EC2SecurityGroupName = &v - return s -} - -// SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value. -func (s *RevokeDBSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v string) *RevokeDBSecurityGroupIngressInput { - s.EC2SecurityGroupOwnerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RevokeDBSecurityGroupIngressResult type RevokeDBSecurityGroupIngressOutput struct { _ struct{} `type:"structure"` @@ -24956,12 +18704,6 @@ func (s RevokeDBSecurityGroupIngressOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBSecurityGroup sets the DBSecurityGroup field's value. -func (s *RevokeDBSecurityGroupIngressOutput) SetDBSecurityGroup(v *DBSecurityGroup) *RevokeDBSecurityGroupIngressOutput { - s.DBSecurityGroup = v - return s -} - // Contains an AWS Region name as the result of a successful call to the DescribeSourceRegions // action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SourceRegion @@ -24988,24 +18730,6 @@ func (s SourceRegion) GoString() string { return s.String() } -// SetEndpoint sets the Endpoint field's value. -func (s *SourceRegion) SetEndpoint(v string) *SourceRegion { - s.Endpoint = &v - return s -} - -// SetRegionName sets the RegionName field's value. -func (s *SourceRegion) SetRegionName(v string) *SourceRegion { - s.RegionName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *SourceRegion) SetStatus(v string) *SourceRegion { - s.Status = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstanceMessage type StartDBInstanceInput struct { _ struct{} `type:"structure"` @@ -25040,12 +18764,6 @@ func (s *StartDBInstanceInput) Validate() error { return nil } -// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. -func (s *StartDBInstanceInput) SetDBInstanceIdentifier(v string) *StartDBInstanceInput { - s.DBInstanceIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstanceResult type StartDBInstanceOutput struct { _ struct{} `type:"structure"` @@ -25073,12 +18791,6 @@ func (s StartDBInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBInstance sets the DBInstance field's value. -func (s *StartDBInstanceOutput) SetDBInstance(v *DBInstance) *StartDBInstanceOutput { - s.DBInstance = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstanceMessage type StopDBInstanceInput struct { _ struct{} `type:"structure"` @@ -25117,18 +18829,6 @@ func (s *StopDBInstanceInput) Validate() error { return nil } -// SetDBInstanceIdentifier sets the DBInstanceIdentifier field's value. -func (s *StopDBInstanceInput) SetDBInstanceIdentifier(v string) *StopDBInstanceInput { - s.DBInstanceIdentifier = &v - return s -} - -// SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value. -func (s *StopDBInstanceInput) SetDBSnapshotIdentifier(v string) *StopDBInstanceInput { - s.DBSnapshotIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstanceResult type StopDBInstanceOutput struct { _ struct{} `type:"structure"` @@ -25156,12 +18856,6 @@ func (s StopDBInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDBInstance sets the DBInstance field's value. -func (s *StopDBInstanceOutput) SetDBInstance(v *DBInstance) *StopDBInstanceOutput { - s.DBInstance = v - return s -} - // This data type is used as a response element in the DescribeDBSubnetGroups // action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Subnet @@ -25192,24 +18886,6 @@ func (s Subnet) GoString() string { return s.String() } -// SetSubnetAvailabilityZone sets the SubnetAvailabilityZone field's value. -func (s *Subnet) SetSubnetAvailabilityZone(v *AvailabilityZone) *Subnet { - s.SubnetAvailabilityZone = v - return s -} - -// SetSubnetIdentifier sets the SubnetIdentifier field's value. -func (s *Subnet) SetSubnetIdentifier(v string) *Subnet { - s.SubnetIdentifier = &v - return s -} - -// SetSubnetStatus sets the SubnetStatus field's value. -func (s *Subnet) SetSubnetStatus(v string) *Subnet { - s.SubnetStatus = &v - return s -} - // Metadata assigned to an Amazon RDS resource consisting of a key-value pair. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/Tag type Tag struct { @@ -25238,18 +18914,6 @@ func (s Tag) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // A time zone associated with a DBInstance or a DBSnapshot. This data type // is an element in the response to the DescribeDBInstances, the DescribeDBSnapshots, // and the DescribeDBEngineVersions actions. @@ -25271,12 +18935,6 @@ func (s Timezone) GoString() string { return s.String() } -// SetTimezoneName sets the TimezoneName field's value. -func (s *Timezone) SetTimezoneName(v string) *Timezone { - s.TimezoneName = &v - return s -} - // The version of the database engine that a DB instance can be upgraded to. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/UpgradeTarget type UpgradeTarget struct { @@ -25309,36 +18967,6 @@ func (s UpgradeTarget) GoString() string { return s.String() } -// SetAutoUpgrade sets the AutoUpgrade field's value. -func (s *UpgradeTarget) SetAutoUpgrade(v bool) *UpgradeTarget { - s.AutoUpgrade = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpgradeTarget) SetDescription(v string) *UpgradeTarget { - s.Description = &v - return s -} - -// SetEngine sets the Engine field's value. -func (s *UpgradeTarget) SetEngine(v string) *UpgradeTarget { - s.Engine = &v - return s -} - -// SetEngineVersion sets the EngineVersion field's value. -func (s *UpgradeTarget) SetEngineVersion(v string) *UpgradeTarget { - s.EngineVersion = &v - return s -} - -// SetIsMajorVersionUpgrade sets the IsMajorVersionUpgrade field's value. -func (s *UpgradeTarget) SetIsMajorVersionUpgrade(v bool) *UpgradeTarget { - s.IsMajorVersionUpgrade = &v - return s -} - // Information about valid modifications that you can make to your DB instance. // Contains the result of a successful call to the DescribeValidDBInstanceModifications // action. You can use this information when you call ModifyDBInstance. @@ -25360,12 +18988,6 @@ func (s ValidDBInstanceModificationsMessage) GoString() string { return s.String() } -// SetStorage sets the Storage field's value. -func (s *ValidDBInstanceModificationsMessage) SetStorage(v []ValidStorageOptions) *ValidDBInstanceModificationsMessage { - s.Storage = v - return s -} - // Information about valid modifications that you can make to your DB instance. // Contains the result of a successful call to the DescribeValidDBInstanceModifications // action. @@ -25398,30 +19020,6 @@ func (s ValidStorageOptions) GoString() string { return s.String() } -// SetIopsToStorageRatio sets the IopsToStorageRatio field's value. -func (s *ValidStorageOptions) SetIopsToStorageRatio(v []DoubleRange) *ValidStorageOptions { - s.IopsToStorageRatio = v - return s -} - -// SetProvisionedIops sets the ProvisionedIops field's value. -func (s *ValidStorageOptions) SetProvisionedIops(v []Range) *ValidStorageOptions { - s.ProvisionedIops = v - return s -} - -// SetStorageSize sets the StorageSize field's value. -func (s *ValidStorageOptions) SetStorageSize(v []Range) *ValidStorageOptions { - s.StorageSize = v - return s -} - -// SetStorageType sets the StorageType field's value. -func (s *ValidStorageOptions) SetStorageType(v string) *ValidStorageOptions { - s.StorageType = &v - return s -} - // This data type is used as a response element for queries on VPC security // group membership. // Please also see https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/VpcSecurityGroupMembership @@ -25445,18 +19043,6 @@ func (s VpcSecurityGroupMembership) GoString() string { return s.String() } -// SetStatus sets the Status field's value. -func (s *VpcSecurityGroupMembership) SetStatus(v string) *VpcSecurityGroupMembership { - s.Status = &v - return s -} - -// SetVpcSecurityGroupId sets the VpcSecurityGroupId field's value. -func (s *VpcSecurityGroupMembership) SetVpcSecurityGroupId(v string) *VpcSecurityGroupMembership { - s.VpcSecurityGroupId = &v - return s -} - type ApplyMethod string // Enum values for ApplyMethod diff --git a/service/redshift/api.go b/service/redshift/api.go index 3999255c47a..9a52d4a31d3 100644 --- a/service/redshift/api.go +++ b/service/redshift/api.go @@ -4421,18 +4421,6 @@ func (s AccountWithRestoreAccess) GoString() string { return s.String() } -// SetAccountAlias sets the AccountAlias field's value. -func (s *AccountWithRestoreAccess) SetAccountAlias(v string) *AccountWithRestoreAccess { - s.AccountAlias = &v - return s -} - -// SetAccountId sets the AccountId field's value. -func (s *AccountWithRestoreAccess) SetAccountId(v string) *AccountWithRestoreAccess { - s.AccountId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeClusterSecurityGroupIngressMessage type AuthorizeClusterSecurityGroupIngressInput struct { _ struct{} `type:"structure"` @@ -4480,30 +4468,6 @@ func (s *AuthorizeClusterSecurityGroupIngressInput) Validate() error { return nil } -// SetCIDRIP sets the CIDRIP field's value. -func (s *AuthorizeClusterSecurityGroupIngressInput) SetCIDRIP(v string) *AuthorizeClusterSecurityGroupIngressInput { - s.CIDRIP = &v - return s -} - -// SetClusterSecurityGroupName sets the ClusterSecurityGroupName field's value. -func (s *AuthorizeClusterSecurityGroupIngressInput) SetClusterSecurityGroupName(v string) *AuthorizeClusterSecurityGroupIngressInput { - s.ClusterSecurityGroupName = &v - return s -} - -// SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value. -func (s *AuthorizeClusterSecurityGroupIngressInput) SetEC2SecurityGroupName(v string) *AuthorizeClusterSecurityGroupIngressInput { - s.EC2SecurityGroupName = &v - return s -} - -// SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value. -func (s *AuthorizeClusterSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v string) *AuthorizeClusterSecurityGroupIngressInput { - s.EC2SecurityGroupOwnerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeClusterSecurityGroupIngressResult type AuthorizeClusterSecurityGroupIngressOutput struct { _ struct{} `type:"structure"` @@ -4529,12 +4493,6 @@ func (s AuthorizeClusterSecurityGroupIngressOutput) SDKResponseMetadata() aws.Re return s.responseMetadata } -// SetClusterSecurityGroup sets the ClusterSecurityGroup field's value. -func (s *AuthorizeClusterSecurityGroupIngressOutput) SetClusterSecurityGroup(v *ClusterSecurityGroup) *AuthorizeClusterSecurityGroupIngressOutput { - s.ClusterSecurityGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeSnapshotAccessMessage type AuthorizeSnapshotAccessInput struct { _ struct{} `type:"structure"` @@ -4586,24 +4544,6 @@ func (s *AuthorizeSnapshotAccessInput) Validate() error { return nil } -// SetAccountWithRestoreAccess sets the AccountWithRestoreAccess field's value. -func (s *AuthorizeSnapshotAccessInput) SetAccountWithRestoreAccess(v string) *AuthorizeSnapshotAccessInput { - s.AccountWithRestoreAccess = &v - return s -} - -// SetSnapshotClusterIdentifier sets the SnapshotClusterIdentifier field's value. -func (s *AuthorizeSnapshotAccessInput) SetSnapshotClusterIdentifier(v string) *AuthorizeSnapshotAccessInput { - s.SnapshotClusterIdentifier = &v - return s -} - -// SetSnapshotIdentifier sets the SnapshotIdentifier field's value. -func (s *AuthorizeSnapshotAccessInput) SetSnapshotIdentifier(v string) *AuthorizeSnapshotAccessInput { - s.SnapshotIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeSnapshotAccessResult type AuthorizeSnapshotAccessOutput struct { _ struct{} `type:"structure"` @@ -4629,12 +4569,6 @@ func (s AuthorizeSnapshotAccessOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSnapshot sets the Snapshot field's value. -func (s *AuthorizeSnapshotAccessOutput) SetSnapshot(v *Snapshot) *AuthorizeSnapshotAccessOutput { - s.Snapshot = v - return s -} - // Describes an availability zone. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AvailabilityZone type AvailabilityZone struct { @@ -4654,12 +4588,6 @@ func (s AvailabilityZone) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *AvailabilityZone) SetName(v string) *AvailabilityZone { - s.Name = &v - return s -} - // Describes a cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Cluster type Cluster struct { @@ -4841,204 +4769,6 @@ func (s Cluster) GoString() string { return s.String() } -// SetAllowVersionUpgrade sets the AllowVersionUpgrade field's value. -func (s *Cluster) SetAllowVersionUpgrade(v bool) *Cluster { - s.AllowVersionUpgrade = &v - return s -} - -// SetAutomatedSnapshotRetentionPeriod sets the AutomatedSnapshotRetentionPeriod field's value. -func (s *Cluster) SetAutomatedSnapshotRetentionPeriod(v int64) *Cluster { - s.AutomatedSnapshotRetentionPeriod = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *Cluster) SetAvailabilityZone(v string) *Cluster { - s.AvailabilityZone = &v - return s -} - -// SetClusterCreateTime sets the ClusterCreateTime field's value. -func (s *Cluster) SetClusterCreateTime(v time.Time) *Cluster { - s.ClusterCreateTime = &v - return s -} - -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *Cluster) SetClusterIdentifier(v string) *Cluster { - s.ClusterIdentifier = &v - return s -} - -// SetClusterNodes sets the ClusterNodes field's value. -func (s *Cluster) SetClusterNodes(v []ClusterNode) *Cluster { - s.ClusterNodes = v - return s -} - -// SetClusterParameterGroups sets the ClusterParameterGroups field's value. -func (s *Cluster) SetClusterParameterGroups(v []ClusterParameterGroupStatus) *Cluster { - s.ClusterParameterGroups = v - return s -} - -// SetClusterPublicKey sets the ClusterPublicKey field's value. -func (s *Cluster) SetClusterPublicKey(v string) *Cluster { - s.ClusterPublicKey = &v - return s -} - -// SetClusterRevisionNumber sets the ClusterRevisionNumber field's value. -func (s *Cluster) SetClusterRevisionNumber(v string) *Cluster { - s.ClusterRevisionNumber = &v - return s -} - -// SetClusterSecurityGroups sets the ClusterSecurityGroups field's value. -func (s *Cluster) SetClusterSecurityGroups(v []ClusterSecurityGroupMembership) *Cluster { - s.ClusterSecurityGroups = v - return s -} - -// SetClusterSnapshotCopyStatus sets the ClusterSnapshotCopyStatus field's value. -func (s *Cluster) SetClusterSnapshotCopyStatus(v *ClusterSnapshotCopyStatus) *Cluster { - s.ClusterSnapshotCopyStatus = v - return s -} - -// SetClusterStatus sets the ClusterStatus field's value. -func (s *Cluster) SetClusterStatus(v string) *Cluster { - s.ClusterStatus = &v - return s -} - -// SetClusterSubnetGroupName sets the ClusterSubnetGroupName field's value. -func (s *Cluster) SetClusterSubnetGroupName(v string) *Cluster { - s.ClusterSubnetGroupName = &v - return s -} - -// SetClusterVersion sets the ClusterVersion field's value. -func (s *Cluster) SetClusterVersion(v string) *Cluster { - s.ClusterVersion = &v - return s -} - -// SetDBName sets the DBName field's value. -func (s *Cluster) SetDBName(v string) *Cluster { - s.DBName = &v - return s -} - -// SetElasticIpStatus sets the ElasticIpStatus field's value. -func (s *Cluster) SetElasticIpStatus(v *ElasticIpStatus) *Cluster { - s.ElasticIpStatus = v - return s -} - -// SetEncrypted sets the Encrypted field's value. -func (s *Cluster) SetEncrypted(v bool) *Cluster { - s.Encrypted = &v - return s -} - -// SetEndpoint sets the Endpoint field's value. -func (s *Cluster) SetEndpoint(v *Endpoint) *Cluster { - s.Endpoint = v - return s -} - -// SetEnhancedVpcRouting sets the EnhancedVpcRouting field's value. -func (s *Cluster) SetEnhancedVpcRouting(v bool) *Cluster { - s.EnhancedVpcRouting = &v - return s -} - -// SetHsmStatus sets the HsmStatus field's value. -func (s *Cluster) SetHsmStatus(v *HsmStatus) *Cluster { - s.HsmStatus = v - return s -} - -// SetIamRoles sets the IamRoles field's value. -func (s *Cluster) SetIamRoles(v []ClusterIamRole) *Cluster { - s.IamRoles = v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *Cluster) SetKmsKeyId(v string) *Cluster { - s.KmsKeyId = &v - return s -} - -// SetMasterUsername sets the MasterUsername field's value. -func (s *Cluster) SetMasterUsername(v string) *Cluster { - s.MasterUsername = &v - return s -} - -// SetModifyStatus sets the ModifyStatus field's value. -func (s *Cluster) SetModifyStatus(v string) *Cluster { - s.ModifyStatus = &v - return s -} - -// SetNodeType sets the NodeType field's value. -func (s *Cluster) SetNodeType(v string) *Cluster { - s.NodeType = &v - return s -} - -// SetNumberOfNodes sets the NumberOfNodes field's value. -func (s *Cluster) SetNumberOfNodes(v int64) *Cluster { - s.NumberOfNodes = &v - return s -} - -// SetPendingModifiedValues sets the PendingModifiedValues field's value. -func (s *Cluster) SetPendingModifiedValues(v *PendingModifiedValues) *Cluster { - s.PendingModifiedValues = v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *Cluster) SetPreferredMaintenanceWindow(v string) *Cluster { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetPubliclyAccessible sets the PubliclyAccessible field's value. -func (s *Cluster) SetPubliclyAccessible(v bool) *Cluster { - s.PubliclyAccessible = &v - return s -} - -// SetRestoreStatus sets the RestoreStatus field's value. -func (s *Cluster) SetRestoreStatus(v *RestoreStatus) *Cluster { - s.RestoreStatus = v - return s -} - -// SetTags sets the Tags field's value. -func (s *Cluster) SetTags(v []Tag) *Cluster { - s.Tags = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *Cluster) SetVpcId(v string) *Cluster { - s.VpcId = &v - return s -} - -// SetVpcSecurityGroups sets the VpcSecurityGroups field's value. -func (s *Cluster) SetVpcSecurityGroups(v []VpcSecurityGroupMembership) *Cluster { - s.VpcSecurityGroups = v - return s -} - // An AWS Identity and Access Management (IAM) role that can be used by the // associated Amazon Redshift cluster to access other AWS services. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterIamRole @@ -5072,18 +4802,6 @@ func (s ClusterIamRole) GoString() string { return s.String() } -// SetApplyStatus sets the ApplyStatus field's value. -func (s *ClusterIamRole) SetApplyStatus(v string) *ClusterIamRole { - s.ApplyStatus = &v - return s -} - -// SetIamRoleArn sets the IamRoleArn field's value. -func (s *ClusterIamRole) SetIamRoleArn(v string) *ClusterIamRole { - s.IamRoleArn = &v - return s -} - // The identifier of a node in a cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterNode type ClusterNode struct { @@ -5109,24 +4827,6 @@ func (s ClusterNode) GoString() string { return s.String() } -// SetNodeRole sets the NodeRole field's value. -func (s *ClusterNode) SetNodeRole(v string) *ClusterNode { - s.NodeRole = &v - return s -} - -// SetPrivateIPAddress sets the PrivateIPAddress field's value. -func (s *ClusterNode) SetPrivateIPAddress(v string) *ClusterNode { - s.PrivateIPAddress = &v - return s -} - -// SetPublicIPAddress sets the PublicIPAddress field's value. -func (s *ClusterNode) SetPublicIPAddress(v string) *ClusterNode { - s.PublicIPAddress = &v - return s -} - // Describes a parameter group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterParameterGroup type ClusterParameterGroup struct { @@ -5156,30 +4856,6 @@ func (s ClusterParameterGroup) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *ClusterParameterGroup) SetDescription(v string) *ClusterParameterGroup { - s.Description = &v - return s -} - -// SetParameterGroupFamily sets the ParameterGroupFamily field's value. -func (s *ClusterParameterGroup) SetParameterGroupFamily(v string) *ClusterParameterGroup { - s.ParameterGroupFamily = &v - return s -} - -// SetParameterGroupName sets the ParameterGroupName field's value. -func (s *ClusterParameterGroup) SetParameterGroupName(v string) *ClusterParameterGroup { - s.ParameterGroupName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *ClusterParameterGroup) SetTags(v []Tag) *ClusterParameterGroup { - s.Tags = v - return s -} - // Describes the status of a parameter group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterParameterGroupStatus type ClusterParameterGroupStatus struct { @@ -5209,24 +4885,6 @@ func (s ClusterParameterGroupStatus) GoString() string { return s.String() } -// SetClusterParameterStatusList sets the ClusterParameterStatusList field's value. -func (s *ClusterParameterGroupStatus) SetClusterParameterStatusList(v []ClusterParameterStatus) *ClusterParameterGroupStatus { - s.ClusterParameterStatusList = v - return s -} - -// SetParameterApplyStatus sets the ParameterApplyStatus field's value. -func (s *ClusterParameterGroupStatus) SetParameterApplyStatus(v string) *ClusterParameterGroupStatus { - s.ParameterApplyStatus = &v - return s -} - -// SetParameterGroupName sets the ParameterGroupName field's value. -func (s *ClusterParameterGroupStatus) SetParameterGroupName(v string) *ClusterParameterGroupStatus { - s.ParameterGroupName = &v - return s -} - // Describes the status of a parameter group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterParameterStatus type ClusterParameterStatus struct { @@ -5275,24 +4933,6 @@ func (s ClusterParameterStatus) GoString() string { return s.String() } -// SetParameterApplyErrorDescription sets the ParameterApplyErrorDescription field's value. -func (s *ClusterParameterStatus) SetParameterApplyErrorDescription(v string) *ClusterParameterStatus { - s.ParameterApplyErrorDescription = &v - return s -} - -// SetParameterApplyStatus sets the ParameterApplyStatus field's value. -func (s *ClusterParameterStatus) SetParameterApplyStatus(v string) *ClusterParameterStatus { - s.ParameterApplyStatus = &v - return s -} - -// SetParameterName sets the ParameterName field's value. -func (s *ClusterParameterStatus) SetParameterName(v string) *ClusterParameterStatus { - s.ParameterName = &v - return s -} - // Describes a security group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterSecurityGroup type ClusterSecurityGroup struct { @@ -5326,36 +4966,6 @@ func (s ClusterSecurityGroup) GoString() string { return s.String() } -// SetClusterSecurityGroupName sets the ClusterSecurityGroupName field's value. -func (s *ClusterSecurityGroup) SetClusterSecurityGroupName(v string) *ClusterSecurityGroup { - s.ClusterSecurityGroupName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ClusterSecurityGroup) SetDescription(v string) *ClusterSecurityGroup { - s.Description = &v - return s -} - -// SetEC2SecurityGroups sets the EC2SecurityGroups field's value. -func (s *ClusterSecurityGroup) SetEC2SecurityGroups(v []EC2SecurityGroup) *ClusterSecurityGroup { - s.EC2SecurityGroups = v - return s -} - -// SetIPRanges sets the IPRanges field's value. -func (s *ClusterSecurityGroup) SetIPRanges(v []IPRange) *ClusterSecurityGroup { - s.IPRanges = v - return s -} - -// SetTags sets the Tags field's value. -func (s *ClusterSecurityGroup) SetTags(v []Tag) *ClusterSecurityGroup { - s.Tags = v - return s -} - // Describes a cluster security group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterSecurityGroupMembership type ClusterSecurityGroupMembership struct { @@ -5378,18 +4988,6 @@ func (s ClusterSecurityGroupMembership) GoString() string { return s.String() } -// SetClusterSecurityGroupName sets the ClusterSecurityGroupName field's value. -func (s *ClusterSecurityGroupMembership) SetClusterSecurityGroupName(v string) *ClusterSecurityGroupMembership { - s.ClusterSecurityGroupName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ClusterSecurityGroupMembership) SetStatus(v string) *ClusterSecurityGroupMembership { - s.Status = &v - return s -} - // Returns the destination region and retention period that are configured for // cross-region snapshot copy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterSnapshotCopyStatus @@ -5418,24 +5016,6 @@ func (s ClusterSnapshotCopyStatus) GoString() string { return s.String() } -// SetDestinationRegion sets the DestinationRegion field's value. -func (s *ClusterSnapshotCopyStatus) SetDestinationRegion(v string) *ClusterSnapshotCopyStatus { - s.DestinationRegion = &v - return s -} - -// SetRetentionPeriod sets the RetentionPeriod field's value. -func (s *ClusterSnapshotCopyStatus) SetRetentionPeriod(v int64) *ClusterSnapshotCopyStatus { - s.RetentionPeriod = &v - return s -} - -// SetSnapshotCopyGrantName sets the SnapshotCopyGrantName field's value. -func (s *ClusterSnapshotCopyStatus) SetSnapshotCopyGrantName(v string) *ClusterSnapshotCopyStatus { - s.SnapshotCopyGrantName = &v - return s -} - // Describes a subnet group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterSubnetGroup type ClusterSubnetGroup struct { @@ -5471,42 +5051,6 @@ func (s ClusterSubnetGroup) GoString() string { return s.String() } -// SetClusterSubnetGroupName sets the ClusterSubnetGroupName field's value. -func (s *ClusterSubnetGroup) SetClusterSubnetGroupName(v string) *ClusterSubnetGroup { - s.ClusterSubnetGroupName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ClusterSubnetGroup) SetDescription(v string) *ClusterSubnetGroup { - s.Description = &v - return s -} - -// SetSubnetGroupStatus sets the SubnetGroupStatus field's value. -func (s *ClusterSubnetGroup) SetSubnetGroupStatus(v string) *ClusterSubnetGroup { - s.SubnetGroupStatus = &v - return s -} - -// SetSubnets sets the Subnets field's value. -func (s *ClusterSubnetGroup) SetSubnets(v []Subnet) *ClusterSubnetGroup { - s.Subnets = v - return s -} - -// SetTags sets the Tags field's value. -func (s *ClusterSubnetGroup) SetTags(v []Tag) *ClusterSubnetGroup { - s.Tags = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *ClusterSubnetGroup) SetVpcId(v string) *ClusterSubnetGroup { - s.VpcId = &v - return s -} - // Describes a cluster version, including the parameter group family and description // of the version. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterVersion @@ -5533,24 +5077,6 @@ func (s ClusterVersion) GoString() string { return s.String() } -// SetClusterParameterGroupFamily sets the ClusterParameterGroupFamily field's value. -func (s *ClusterVersion) SetClusterParameterGroupFamily(v string) *ClusterVersion { - s.ClusterParameterGroupFamily = &v - return s -} - -// SetClusterVersion sets the ClusterVersion field's value. -func (s *ClusterVersion) SetClusterVersion(v string) *ClusterVersion { - s.ClusterVersion = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ClusterVersion) SetDescription(v string) *ClusterVersion { - s.Description = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CopyClusterSnapshotMessage type CopyClusterSnapshotInput struct { _ struct{} `type:"structure"` @@ -5620,24 +5146,6 @@ func (s *CopyClusterSnapshotInput) Validate() error { return nil } -// SetSourceSnapshotClusterIdentifier sets the SourceSnapshotClusterIdentifier field's value. -func (s *CopyClusterSnapshotInput) SetSourceSnapshotClusterIdentifier(v string) *CopyClusterSnapshotInput { - s.SourceSnapshotClusterIdentifier = &v - return s -} - -// SetSourceSnapshotIdentifier sets the SourceSnapshotIdentifier field's value. -func (s *CopyClusterSnapshotInput) SetSourceSnapshotIdentifier(v string) *CopyClusterSnapshotInput { - s.SourceSnapshotIdentifier = &v - return s -} - -// SetTargetSnapshotIdentifier sets the TargetSnapshotIdentifier field's value. -func (s *CopyClusterSnapshotInput) SetTargetSnapshotIdentifier(v string) *CopyClusterSnapshotInput { - s.TargetSnapshotIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CopyClusterSnapshotResult type CopyClusterSnapshotOutput struct { _ struct{} `type:"structure"` @@ -5663,12 +5171,6 @@ func (s CopyClusterSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSnapshot sets the Snapshot field's value. -func (s *CopyClusterSnapshotOutput) SetSnapshot(v *Snapshot) *CopyClusterSnapshotOutput { - s.Snapshot = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterMessage type CreateClusterInput struct { _ struct{} `type:"structure"` @@ -5977,168 +5479,6 @@ func (s *CreateClusterInput) Validate() error { return nil } -// SetAdditionalInfo sets the AdditionalInfo field's value. -func (s *CreateClusterInput) SetAdditionalInfo(v string) *CreateClusterInput { - s.AdditionalInfo = &v - return s -} - -// SetAllowVersionUpgrade sets the AllowVersionUpgrade field's value. -func (s *CreateClusterInput) SetAllowVersionUpgrade(v bool) *CreateClusterInput { - s.AllowVersionUpgrade = &v - return s -} - -// SetAutomatedSnapshotRetentionPeriod sets the AutomatedSnapshotRetentionPeriod field's value. -func (s *CreateClusterInput) SetAutomatedSnapshotRetentionPeriod(v int64) *CreateClusterInput { - s.AutomatedSnapshotRetentionPeriod = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *CreateClusterInput) SetAvailabilityZone(v string) *CreateClusterInput { - s.AvailabilityZone = &v - return s -} - -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *CreateClusterInput) SetClusterIdentifier(v string) *CreateClusterInput { - s.ClusterIdentifier = &v - return s -} - -// SetClusterParameterGroupName sets the ClusterParameterGroupName field's value. -func (s *CreateClusterInput) SetClusterParameterGroupName(v string) *CreateClusterInput { - s.ClusterParameterGroupName = &v - return s -} - -// SetClusterSecurityGroups sets the ClusterSecurityGroups field's value. -func (s *CreateClusterInput) SetClusterSecurityGroups(v []string) *CreateClusterInput { - s.ClusterSecurityGroups = v - return s -} - -// SetClusterSubnetGroupName sets the ClusterSubnetGroupName field's value. -func (s *CreateClusterInput) SetClusterSubnetGroupName(v string) *CreateClusterInput { - s.ClusterSubnetGroupName = &v - return s -} - -// SetClusterType sets the ClusterType field's value. -func (s *CreateClusterInput) SetClusterType(v string) *CreateClusterInput { - s.ClusterType = &v - return s -} - -// SetClusterVersion sets the ClusterVersion field's value. -func (s *CreateClusterInput) SetClusterVersion(v string) *CreateClusterInput { - s.ClusterVersion = &v - return s -} - -// SetDBName sets the DBName field's value. -func (s *CreateClusterInput) SetDBName(v string) *CreateClusterInput { - s.DBName = &v - return s -} - -// SetElasticIp sets the ElasticIp field's value. -func (s *CreateClusterInput) SetElasticIp(v string) *CreateClusterInput { - s.ElasticIp = &v - return s -} - -// SetEncrypted sets the Encrypted field's value. -func (s *CreateClusterInput) SetEncrypted(v bool) *CreateClusterInput { - s.Encrypted = &v - return s -} - -// SetEnhancedVpcRouting sets the EnhancedVpcRouting field's value. -func (s *CreateClusterInput) SetEnhancedVpcRouting(v bool) *CreateClusterInput { - s.EnhancedVpcRouting = &v - return s -} - -// SetHsmClientCertificateIdentifier sets the HsmClientCertificateIdentifier field's value. -func (s *CreateClusterInput) SetHsmClientCertificateIdentifier(v string) *CreateClusterInput { - s.HsmClientCertificateIdentifier = &v - return s -} - -// SetHsmConfigurationIdentifier sets the HsmConfigurationIdentifier field's value. -func (s *CreateClusterInput) SetHsmConfigurationIdentifier(v string) *CreateClusterInput { - s.HsmConfigurationIdentifier = &v - return s -} - -// SetIamRoles sets the IamRoles field's value. -func (s *CreateClusterInput) SetIamRoles(v []string) *CreateClusterInput { - s.IamRoles = v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CreateClusterInput) SetKmsKeyId(v string) *CreateClusterInput { - s.KmsKeyId = &v - return s -} - -// SetMasterUserPassword sets the MasterUserPassword field's value. -func (s *CreateClusterInput) SetMasterUserPassword(v string) *CreateClusterInput { - s.MasterUserPassword = &v - return s -} - -// SetMasterUsername sets the MasterUsername field's value. -func (s *CreateClusterInput) SetMasterUsername(v string) *CreateClusterInput { - s.MasterUsername = &v - return s -} - -// SetNodeType sets the NodeType field's value. -func (s *CreateClusterInput) SetNodeType(v string) *CreateClusterInput { - s.NodeType = &v - return s -} - -// SetNumberOfNodes sets the NumberOfNodes field's value. -func (s *CreateClusterInput) SetNumberOfNodes(v int64) *CreateClusterInput { - s.NumberOfNodes = &v - return s -} - -// SetPort sets the Port field's value. -func (s *CreateClusterInput) SetPort(v int64) *CreateClusterInput { - s.Port = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *CreateClusterInput) SetPreferredMaintenanceWindow(v string) *CreateClusterInput { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetPubliclyAccessible sets the PubliclyAccessible field's value. -func (s *CreateClusterInput) SetPubliclyAccessible(v bool) *CreateClusterInput { - s.PubliclyAccessible = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateClusterInput) SetTags(v []Tag) *CreateClusterInput { - s.Tags = v - return s -} - -// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value. -func (s *CreateClusterInput) SetVpcSecurityGroupIds(v []string) *CreateClusterInput { - s.VpcSecurityGroupIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterResult type CreateClusterOutput struct { _ struct{} `type:"structure"` @@ -6164,12 +5504,6 @@ func (s CreateClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *CreateClusterOutput) SetCluster(v *Cluster) *CreateClusterOutput { - s.Cluster = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterParameterGroupMessage type CreateClusterParameterGroupInput struct { _ struct{} `type:"structure"` @@ -6245,30 +5579,6 @@ func (s *CreateClusterParameterGroupInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateClusterParameterGroupInput) SetDescription(v string) *CreateClusterParameterGroupInput { - s.Description = &v - return s -} - -// SetParameterGroupFamily sets the ParameterGroupFamily field's value. -func (s *CreateClusterParameterGroupInput) SetParameterGroupFamily(v string) *CreateClusterParameterGroupInput { - s.ParameterGroupFamily = &v - return s -} - -// SetParameterGroupName sets the ParameterGroupName field's value. -func (s *CreateClusterParameterGroupInput) SetParameterGroupName(v string) *CreateClusterParameterGroupInput { - s.ParameterGroupName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateClusterParameterGroupInput) SetTags(v []Tag) *CreateClusterParameterGroupInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterParameterGroupResult type CreateClusterParameterGroupOutput struct { _ struct{} `type:"structure"` @@ -6294,12 +5604,6 @@ func (s CreateClusterParameterGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClusterParameterGroup sets the ClusterParameterGroup field's value. -func (s *CreateClusterParameterGroupOutput) SetClusterParameterGroup(v *ClusterParameterGroup) *CreateClusterParameterGroupOutput { - s.ClusterParameterGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSecurityGroupMessage type CreateClusterSecurityGroupInput struct { _ struct{} `type:"structure"` @@ -6358,24 +5662,6 @@ func (s *CreateClusterSecurityGroupInput) Validate() error { return nil } -// SetClusterSecurityGroupName sets the ClusterSecurityGroupName field's value. -func (s *CreateClusterSecurityGroupInput) SetClusterSecurityGroupName(v string) *CreateClusterSecurityGroupInput { - s.ClusterSecurityGroupName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateClusterSecurityGroupInput) SetDescription(v string) *CreateClusterSecurityGroupInput { - s.Description = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateClusterSecurityGroupInput) SetTags(v []Tag) *CreateClusterSecurityGroupInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSecurityGroupResult type CreateClusterSecurityGroupOutput struct { _ struct{} `type:"structure"` @@ -6401,12 +5687,6 @@ func (s CreateClusterSecurityGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClusterSecurityGroup sets the ClusterSecurityGroup field's value. -func (s *CreateClusterSecurityGroupOutput) SetClusterSecurityGroup(v *ClusterSecurityGroup) *CreateClusterSecurityGroupOutput { - s.ClusterSecurityGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSnapshotMessage type CreateClusterSnapshotInput struct { _ struct{} `type:"structure"` @@ -6466,24 +5746,6 @@ func (s *CreateClusterSnapshotInput) Validate() error { return nil } -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *CreateClusterSnapshotInput) SetClusterIdentifier(v string) *CreateClusterSnapshotInput { - s.ClusterIdentifier = &v - return s -} - -// SetSnapshotIdentifier sets the SnapshotIdentifier field's value. -func (s *CreateClusterSnapshotInput) SetSnapshotIdentifier(v string) *CreateClusterSnapshotInput { - s.SnapshotIdentifier = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateClusterSnapshotInput) SetTags(v []Tag) *CreateClusterSnapshotInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSnapshotResult type CreateClusterSnapshotOutput struct { _ struct{} `type:"structure"` @@ -6509,12 +5771,6 @@ func (s CreateClusterSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSnapshot sets the Snapshot field's value. -func (s *CreateClusterSnapshotOutput) SetSnapshot(v *Snapshot) *CreateClusterSnapshotOutput { - s.Snapshot = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSubnetGroupMessage type CreateClusterSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -6582,30 +5838,6 @@ func (s *CreateClusterSubnetGroupInput) Validate() error { return nil } -// SetClusterSubnetGroupName sets the ClusterSubnetGroupName field's value. -func (s *CreateClusterSubnetGroupInput) SetClusterSubnetGroupName(v string) *CreateClusterSubnetGroupInput { - s.ClusterSubnetGroupName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateClusterSubnetGroupInput) SetDescription(v string) *CreateClusterSubnetGroupInput { - s.Description = &v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *CreateClusterSubnetGroupInput) SetSubnetIds(v []string) *CreateClusterSubnetGroupInput { - s.SubnetIds = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateClusterSubnetGroupInput) SetTags(v []Tag) *CreateClusterSubnetGroupInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSubnetGroupResult type CreateClusterSubnetGroupOutput struct { _ struct{} `type:"structure"` @@ -6631,12 +5863,6 @@ func (s CreateClusterSubnetGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClusterSubnetGroup sets the ClusterSubnetGroup field's value. -func (s *CreateClusterSubnetGroupOutput) SetClusterSubnetGroup(v *ClusterSubnetGroup) *CreateClusterSubnetGroupOutput { - s.ClusterSubnetGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateEventSubscriptionMessage type CreateEventSubscriptionInput struct { _ struct{} `type:"structure"` @@ -6732,54 +5958,6 @@ func (s *CreateEventSubscriptionInput) Validate() error { return nil } -// SetEnabled sets the Enabled field's value. -func (s *CreateEventSubscriptionInput) SetEnabled(v bool) *CreateEventSubscriptionInput { - s.Enabled = &v - return s -} - -// SetEventCategories sets the EventCategories field's value. -func (s *CreateEventSubscriptionInput) SetEventCategories(v []string) *CreateEventSubscriptionInput { - s.EventCategories = v - return s -} - -// SetSeverity sets the Severity field's value. -func (s *CreateEventSubscriptionInput) SetSeverity(v string) *CreateEventSubscriptionInput { - s.Severity = &v - return s -} - -// SetSnsTopicArn sets the SnsTopicArn field's value. -func (s *CreateEventSubscriptionInput) SetSnsTopicArn(v string) *CreateEventSubscriptionInput { - s.SnsTopicArn = &v - return s -} - -// SetSourceIds sets the SourceIds field's value. -func (s *CreateEventSubscriptionInput) SetSourceIds(v []string) *CreateEventSubscriptionInput { - s.SourceIds = v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *CreateEventSubscriptionInput) SetSourceType(v string) *CreateEventSubscriptionInput { - s.SourceType = &v - return s -} - -// SetSubscriptionName sets the SubscriptionName field's value. -func (s *CreateEventSubscriptionInput) SetSubscriptionName(v string) *CreateEventSubscriptionInput { - s.SubscriptionName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateEventSubscriptionInput) SetTags(v []Tag) *CreateEventSubscriptionInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateEventSubscriptionResult type CreateEventSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -6805,12 +5983,6 @@ func (s CreateEventSubscriptionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventSubscription sets the EventSubscription field's value. -func (s *CreateEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *CreateEventSubscriptionOutput { - s.EventSubscription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmClientCertificateMessage type CreateHsmClientCertificateInput struct { _ struct{} `type:"structure"` @@ -6849,18 +6021,6 @@ func (s *CreateHsmClientCertificateInput) Validate() error { return nil } -// SetHsmClientCertificateIdentifier sets the HsmClientCertificateIdentifier field's value. -func (s *CreateHsmClientCertificateInput) SetHsmClientCertificateIdentifier(v string) *CreateHsmClientCertificateInput { - s.HsmClientCertificateIdentifier = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateHsmClientCertificateInput) SetTags(v []Tag) *CreateHsmClientCertificateInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmClientCertificateResult type CreateHsmClientCertificateOutput struct { _ struct{} `type:"structure"` @@ -6888,12 +6048,6 @@ func (s CreateHsmClientCertificateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHsmClientCertificate sets the HsmClientCertificate field's value. -func (s *CreateHsmClientCertificateOutput) SetHsmClientCertificate(v *HsmClientCertificate) *CreateHsmClientCertificateOutput { - s.HsmClientCertificate = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmConfigurationMessage type CreateHsmConfigurationInput struct { _ struct{} `type:"structure"` @@ -6978,48 +6132,6 @@ func (s *CreateHsmConfigurationInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateHsmConfigurationInput) SetDescription(v string) *CreateHsmConfigurationInput { - s.Description = &v - return s -} - -// SetHsmConfigurationIdentifier sets the HsmConfigurationIdentifier field's value. -func (s *CreateHsmConfigurationInput) SetHsmConfigurationIdentifier(v string) *CreateHsmConfigurationInput { - s.HsmConfigurationIdentifier = &v - return s -} - -// SetHsmIpAddress sets the HsmIpAddress field's value. -func (s *CreateHsmConfigurationInput) SetHsmIpAddress(v string) *CreateHsmConfigurationInput { - s.HsmIpAddress = &v - return s -} - -// SetHsmPartitionName sets the HsmPartitionName field's value. -func (s *CreateHsmConfigurationInput) SetHsmPartitionName(v string) *CreateHsmConfigurationInput { - s.HsmPartitionName = &v - return s -} - -// SetHsmPartitionPassword sets the HsmPartitionPassword field's value. -func (s *CreateHsmConfigurationInput) SetHsmPartitionPassword(v string) *CreateHsmConfigurationInput { - s.HsmPartitionPassword = &v - return s -} - -// SetHsmServerPublicCertificate sets the HsmServerPublicCertificate field's value. -func (s *CreateHsmConfigurationInput) SetHsmServerPublicCertificate(v string) *CreateHsmConfigurationInput { - s.HsmServerPublicCertificate = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateHsmConfigurationInput) SetTags(v []Tag) *CreateHsmConfigurationInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmConfigurationResult type CreateHsmConfigurationOutput struct { _ struct{} `type:"structure"` @@ -7047,12 +6159,6 @@ func (s CreateHsmConfigurationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHsmConfiguration sets the HsmConfiguration field's value. -func (s *CreateHsmConfigurationOutput) SetHsmConfiguration(v *HsmConfiguration) *CreateHsmConfigurationOutput { - s.HsmConfiguration = v - return s -} - // The result of the CreateSnapshotCopyGrant action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateSnapshotCopyGrantMessage type CreateSnapshotCopyGrantInput struct { @@ -7108,24 +6214,6 @@ func (s *CreateSnapshotCopyGrantInput) Validate() error { return nil } -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CreateSnapshotCopyGrantInput) SetKmsKeyId(v string) *CreateSnapshotCopyGrantInput { - s.KmsKeyId = &v - return s -} - -// SetSnapshotCopyGrantName sets the SnapshotCopyGrantName field's value. -func (s *CreateSnapshotCopyGrantInput) SetSnapshotCopyGrantName(v string) *CreateSnapshotCopyGrantInput { - s.SnapshotCopyGrantName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateSnapshotCopyGrantInput) SetTags(v []Tag) *CreateSnapshotCopyGrantInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateSnapshotCopyGrantResult type CreateSnapshotCopyGrantOutput struct { _ struct{} `type:"structure"` @@ -7157,12 +6245,6 @@ func (s CreateSnapshotCopyGrantOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSnapshotCopyGrant sets the SnapshotCopyGrant field's value. -func (s *CreateSnapshotCopyGrantOutput) SetSnapshotCopyGrant(v *SnapshotCopyGrant) *CreateSnapshotCopyGrantOutput { - s.SnapshotCopyGrant = v - return s -} - // Contains the output from the CreateTags action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateTagsMessage type CreateTagsInput struct { @@ -7212,18 +6294,6 @@ func (s *CreateTagsInput) Validate() error { return nil } -// SetResourceName sets the ResourceName field's value. -func (s *CreateTagsInput) SetResourceName(v string) *CreateTagsInput { - s.ResourceName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateTagsInput) SetTags(v []Tag) *CreateTagsInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateTagsOutput type CreateTagsOutput struct { _ struct{} `type:"structure"` @@ -7276,24 +6346,6 @@ func (s DefaultClusterParameters) GoString() string { return s.String() } -// SetMarker sets the Marker field's value. -func (s *DefaultClusterParameters) SetMarker(v string) *DefaultClusterParameters { - s.Marker = &v - return s -} - -// SetParameterGroupFamily sets the ParameterGroupFamily field's value. -func (s *DefaultClusterParameters) SetParameterGroupFamily(v string) *DefaultClusterParameters { - s.ParameterGroupFamily = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *DefaultClusterParameters) SetParameters(v []Parameter) *DefaultClusterParameters { - s.Parameters = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterMessage type DeleteClusterInput struct { _ struct{} `type:"structure"` @@ -7361,24 +6413,6 @@ func (s *DeleteClusterInput) Validate() error { return nil } -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *DeleteClusterInput) SetClusterIdentifier(v string) *DeleteClusterInput { - s.ClusterIdentifier = &v - return s -} - -// SetFinalClusterSnapshotIdentifier sets the FinalClusterSnapshotIdentifier field's value. -func (s *DeleteClusterInput) SetFinalClusterSnapshotIdentifier(v string) *DeleteClusterInput { - s.FinalClusterSnapshotIdentifier = &v - return s -} - -// SetSkipFinalClusterSnapshot sets the SkipFinalClusterSnapshot field's value. -func (s *DeleteClusterInput) SetSkipFinalClusterSnapshot(v bool) *DeleteClusterInput { - s.SkipFinalClusterSnapshot = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterResult type DeleteClusterOutput struct { _ struct{} `type:"structure"` @@ -7404,12 +6438,6 @@ func (s DeleteClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *DeleteClusterOutput) SetCluster(v *Cluster) *DeleteClusterOutput { - s.Cluster = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterParameterGroupMessage type DeleteClusterParameterGroupInput struct { _ struct{} `type:"structure"` @@ -7450,12 +6478,6 @@ func (s *DeleteClusterParameterGroupInput) Validate() error { return nil } -// SetParameterGroupName sets the ParameterGroupName field's value. -func (s *DeleteClusterParameterGroupInput) SetParameterGroupName(v string) *DeleteClusterParameterGroupInput { - s.ParameterGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterParameterGroupOutput type DeleteClusterParameterGroupOutput struct { _ struct{} `type:"structure"` @@ -7512,12 +6534,6 @@ func (s *DeleteClusterSecurityGroupInput) Validate() error { return nil } -// SetClusterSecurityGroupName sets the ClusterSecurityGroupName field's value. -func (s *DeleteClusterSecurityGroupInput) SetClusterSecurityGroupName(v string) *DeleteClusterSecurityGroupInput { - s.ClusterSecurityGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSecurityGroupOutput type DeleteClusterSecurityGroupOutput struct { _ struct{} `type:"structure"` @@ -7584,18 +6600,6 @@ func (s *DeleteClusterSnapshotInput) Validate() error { return nil } -// SetSnapshotClusterIdentifier sets the SnapshotClusterIdentifier field's value. -func (s *DeleteClusterSnapshotInput) SetSnapshotClusterIdentifier(v string) *DeleteClusterSnapshotInput { - s.SnapshotClusterIdentifier = &v - return s -} - -// SetSnapshotIdentifier sets the SnapshotIdentifier field's value. -func (s *DeleteClusterSnapshotInput) SetSnapshotIdentifier(v string) *DeleteClusterSnapshotInput { - s.SnapshotIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSnapshotResult type DeleteClusterSnapshotOutput struct { _ struct{} `type:"structure"` @@ -7621,12 +6625,6 @@ func (s DeleteClusterSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSnapshot sets the Snapshot field's value. -func (s *DeleteClusterSnapshotOutput) SetSnapshot(v *Snapshot) *DeleteClusterSnapshotOutput { - s.Snapshot = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSubnetGroupMessage type DeleteClusterSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -7661,12 +6659,6 @@ func (s *DeleteClusterSubnetGroupInput) Validate() error { return nil } -// SetClusterSubnetGroupName sets the ClusterSubnetGroupName field's value. -func (s *DeleteClusterSubnetGroupInput) SetClusterSubnetGroupName(v string) *DeleteClusterSubnetGroupInput { - s.ClusterSubnetGroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSubnetGroupOutput type DeleteClusterSubnetGroupOutput struct { _ struct{} `type:"structure"` @@ -7723,12 +6715,6 @@ func (s *DeleteEventSubscriptionInput) Validate() error { return nil } -// SetSubscriptionName sets the SubscriptionName field's value. -func (s *DeleteEventSubscriptionInput) SetSubscriptionName(v string) *DeleteEventSubscriptionInput { - s.SubscriptionName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteEventSubscriptionOutput type DeleteEventSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -7785,12 +6771,6 @@ func (s *DeleteHsmClientCertificateInput) Validate() error { return nil } -// SetHsmClientCertificateIdentifier sets the HsmClientCertificateIdentifier field's value. -func (s *DeleteHsmClientCertificateInput) SetHsmClientCertificateIdentifier(v string) *DeleteHsmClientCertificateInput { - s.HsmClientCertificateIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmClientCertificateOutput type DeleteHsmClientCertificateOutput struct { _ struct{} `type:"structure"` @@ -7847,12 +6827,6 @@ func (s *DeleteHsmConfigurationInput) Validate() error { return nil } -// SetHsmConfigurationIdentifier sets the HsmConfigurationIdentifier field's value. -func (s *DeleteHsmConfigurationInput) SetHsmConfigurationIdentifier(v string) *DeleteHsmConfigurationInput { - s.HsmConfigurationIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmConfigurationOutput type DeleteHsmConfigurationOutput struct { _ struct{} `type:"structure"` @@ -7910,12 +6884,6 @@ func (s *DeleteSnapshotCopyGrantInput) Validate() error { return nil } -// SetSnapshotCopyGrantName sets the SnapshotCopyGrantName field's value. -func (s *DeleteSnapshotCopyGrantInput) SetSnapshotCopyGrantName(v string) *DeleteSnapshotCopyGrantInput { - s.SnapshotCopyGrantName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteSnapshotCopyGrantOutput type DeleteSnapshotCopyGrantOutput struct { _ struct{} `type:"structure"` @@ -7983,18 +6951,6 @@ func (s *DeleteTagsInput) Validate() error { return nil } -// SetResourceName sets the ResourceName field's value. -func (s *DeleteTagsInput) SetResourceName(v string) *DeleteTagsInput { - s.ResourceName = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *DeleteTagsInput) SetTagKeys(v []string) *DeleteTagsInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteTagsOutput type DeleteTagsOutput struct { _ struct{} `type:"structure"` @@ -8070,36 +7026,6 @@ func (s DescribeClusterParameterGroupsInput) GoString() string { return s.String() } -// SetMarker sets the Marker field's value. -func (s *DescribeClusterParameterGroupsInput) SetMarker(v string) *DescribeClusterParameterGroupsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeClusterParameterGroupsInput) SetMaxRecords(v int64) *DescribeClusterParameterGroupsInput { - s.MaxRecords = &v - return s -} - -// SetParameterGroupName sets the ParameterGroupName field's value. -func (s *DescribeClusterParameterGroupsInput) SetParameterGroupName(v string) *DescribeClusterParameterGroupsInput { - s.ParameterGroupName = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *DescribeClusterParameterGroupsInput) SetTagKeys(v []string) *DescribeClusterParameterGroupsInput { - s.TagKeys = v - return s -} - -// SetTagValues sets the TagValues field's value. -func (s *DescribeClusterParameterGroupsInput) SetTagValues(v []string) *DescribeClusterParameterGroupsInput { - s.TagValues = v - return s -} - // Contains the output from the DescribeClusterParameterGroups action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterParameterGroupsMessage type DescribeClusterParameterGroupsOutput struct { @@ -8134,18 +7060,6 @@ func (s DescribeClusterParameterGroupsOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeClusterParameterGroupsOutput) SetMarker(v string) *DescribeClusterParameterGroupsOutput { - s.Marker = &v - return s -} - -// SetParameterGroups sets the ParameterGroups field's value. -func (s *DescribeClusterParameterGroupsOutput) SetParameterGroups(v []ClusterParameterGroup) *DescribeClusterParameterGroupsOutput { - s.ParameterGroups = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterParametersMessage type DescribeClusterParametersInput struct { _ struct{} `type:"structure"` @@ -8207,30 +7121,6 @@ func (s *DescribeClusterParametersInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *DescribeClusterParametersInput) SetMarker(v string) *DescribeClusterParametersInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeClusterParametersInput) SetMaxRecords(v int64) *DescribeClusterParametersInput { - s.MaxRecords = &v - return s -} - -// SetParameterGroupName sets the ParameterGroupName field's value. -func (s *DescribeClusterParametersInput) SetParameterGroupName(v string) *DescribeClusterParametersInput { - s.ParameterGroupName = &v - return s -} - -// SetSource sets the Source field's value. -func (s *DescribeClusterParametersInput) SetSource(v string) *DescribeClusterParametersInput { - s.Source = &v - return s -} - // Contains the output from the DescribeClusterParameters action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterParameterGroupDetails type DescribeClusterParametersOutput struct { @@ -8265,18 +7155,6 @@ func (s DescribeClusterParametersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeClusterParametersOutput) SetMarker(v string) *DescribeClusterParametersOutput { - s.Marker = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *DescribeClusterParametersOutput) SetParameters(v []Parameter) *DescribeClusterParametersOutput { - s.Parameters = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSecurityGroupsMessage type DescribeClusterSecurityGroupsInput struct { _ struct{} `type:"structure"` @@ -8336,36 +7214,6 @@ func (s DescribeClusterSecurityGroupsInput) GoString() string { return s.String() } -// SetClusterSecurityGroupName sets the ClusterSecurityGroupName field's value. -func (s *DescribeClusterSecurityGroupsInput) SetClusterSecurityGroupName(v string) *DescribeClusterSecurityGroupsInput { - s.ClusterSecurityGroupName = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeClusterSecurityGroupsInput) SetMarker(v string) *DescribeClusterSecurityGroupsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeClusterSecurityGroupsInput) SetMaxRecords(v int64) *DescribeClusterSecurityGroupsInput { - s.MaxRecords = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *DescribeClusterSecurityGroupsInput) SetTagKeys(v []string) *DescribeClusterSecurityGroupsInput { - s.TagKeys = v - return s -} - -// SetTagValues sets the TagValues field's value. -func (s *DescribeClusterSecurityGroupsInput) SetTagValues(v []string) *DescribeClusterSecurityGroupsInput { - s.TagValues = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterSecurityGroupMessage type DescribeClusterSecurityGroupsOutput struct { _ struct{} `type:"structure"` @@ -8398,18 +7246,6 @@ func (s DescribeClusterSecurityGroupsOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetClusterSecurityGroups sets the ClusterSecurityGroups field's value. -func (s *DescribeClusterSecurityGroupsOutput) SetClusterSecurityGroups(v []ClusterSecurityGroup) *DescribeClusterSecurityGroupsOutput { - s.ClusterSecurityGroups = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeClusterSecurityGroupsOutput) SetMarker(v string) *DescribeClusterSecurityGroupsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSnapshotsMessage type DescribeClusterSnapshotsInput struct { _ struct{} `type:"structure"` @@ -8491,66 +7327,6 @@ func (s DescribeClusterSnapshotsInput) GoString() string { return s.String() } -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *DescribeClusterSnapshotsInput) SetClusterIdentifier(v string) *DescribeClusterSnapshotsInput { - s.ClusterIdentifier = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *DescribeClusterSnapshotsInput) SetEndTime(v time.Time) *DescribeClusterSnapshotsInput { - s.EndTime = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeClusterSnapshotsInput) SetMarker(v string) *DescribeClusterSnapshotsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeClusterSnapshotsInput) SetMaxRecords(v int64) *DescribeClusterSnapshotsInput { - s.MaxRecords = &v - return s -} - -// SetOwnerAccount sets the OwnerAccount field's value. -func (s *DescribeClusterSnapshotsInput) SetOwnerAccount(v string) *DescribeClusterSnapshotsInput { - s.OwnerAccount = &v - return s -} - -// SetSnapshotIdentifier sets the SnapshotIdentifier field's value. -func (s *DescribeClusterSnapshotsInput) SetSnapshotIdentifier(v string) *DescribeClusterSnapshotsInput { - s.SnapshotIdentifier = &v - return s -} - -// SetSnapshotType sets the SnapshotType field's value. -func (s *DescribeClusterSnapshotsInput) SetSnapshotType(v string) *DescribeClusterSnapshotsInput { - s.SnapshotType = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *DescribeClusterSnapshotsInput) SetStartTime(v time.Time) *DescribeClusterSnapshotsInput { - s.StartTime = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *DescribeClusterSnapshotsInput) SetTagKeys(v []string) *DescribeClusterSnapshotsInput { - s.TagKeys = v - return s -} - -// SetTagValues sets the TagValues field's value. -func (s *DescribeClusterSnapshotsInput) SetTagValues(v []string) *DescribeClusterSnapshotsInput { - s.TagValues = v - return s -} - // Contains the output from the DescribeClusterSnapshots action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/SnapshotMessage type DescribeClusterSnapshotsOutput struct { @@ -8584,18 +7360,6 @@ func (s DescribeClusterSnapshotsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeClusterSnapshotsOutput) SetMarker(v string) *DescribeClusterSnapshotsOutput { - s.Marker = &v - return s -} - -// SetSnapshots sets the Snapshots field's value. -func (s *DescribeClusterSnapshotsOutput) SetSnapshots(v []Snapshot) *DescribeClusterSnapshotsOutput { - s.Snapshots = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSubnetGroupsMessage type DescribeClusterSubnetGroupsInput struct { _ struct{} `type:"structure"` @@ -8648,36 +7412,6 @@ func (s DescribeClusterSubnetGroupsInput) GoString() string { return s.String() } -// SetClusterSubnetGroupName sets the ClusterSubnetGroupName field's value. -func (s *DescribeClusterSubnetGroupsInput) SetClusterSubnetGroupName(v string) *DescribeClusterSubnetGroupsInput { - s.ClusterSubnetGroupName = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeClusterSubnetGroupsInput) SetMarker(v string) *DescribeClusterSubnetGroupsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeClusterSubnetGroupsInput) SetMaxRecords(v int64) *DescribeClusterSubnetGroupsInput { - s.MaxRecords = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *DescribeClusterSubnetGroupsInput) SetTagKeys(v []string) *DescribeClusterSubnetGroupsInput { - s.TagKeys = v - return s -} - -// SetTagValues sets the TagValues field's value. -func (s *DescribeClusterSubnetGroupsInput) SetTagValues(v []string) *DescribeClusterSubnetGroupsInput { - s.TagValues = v - return s -} - // Contains the output from the DescribeClusterSubnetGroups action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterSubnetGroupMessage type DescribeClusterSubnetGroupsOutput struct { @@ -8711,18 +7445,6 @@ func (s DescribeClusterSubnetGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClusterSubnetGroups sets the ClusterSubnetGroups field's value. -func (s *DescribeClusterSubnetGroupsOutput) SetClusterSubnetGroups(v []ClusterSubnetGroup) *DescribeClusterSubnetGroupsOutput { - s.ClusterSubnetGroups = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeClusterSubnetGroupsOutput) SetMarker(v string) *DescribeClusterSubnetGroupsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterVersionsMessage type DescribeClusterVersionsInput struct { _ struct{} `type:"structure"` @@ -8771,30 +7493,6 @@ func (s DescribeClusterVersionsInput) GoString() string { return s.String() } -// SetClusterParameterGroupFamily sets the ClusterParameterGroupFamily field's value. -func (s *DescribeClusterVersionsInput) SetClusterParameterGroupFamily(v string) *DescribeClusterVersionsInput { - s.ClusterParameterGroupFamily = &v - return s -} - -// SetClusterVersion sets the ClusterVersion field's value. -func (s *DescribeClusterVersionsInput) SetClusterVersion(v string) *DescribeClusterVersionsInput { - s.ClusterVersion = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeClusterVersionsInput) SetMarker(v string) *DescribeClusterVersionsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeClusterVersionsInput) SetMaxRecords(v int64) *DescribeClusterVersionsInput { - s.MaxRecords = &v - return s -} - // Contains the output from the DescribeClusterVersions action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterVersionsMessage type DescribeClusterVersionsOutput struct { @@ -8828,18 +7526,6 @@ func (s DescribeClusterVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClusterVersions sets the ClusterVersions field's value. -func (s *DescribeClusterVersionsOutput) SetClusterVersions(v []ClusterVersion) *DescribeClusterVersionsOutput { - s.ClusterVersions = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeClusterVersionsOutput) SetMarker(v string) *DescribeClusterVersionsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClustersMessage type DescribeClustersInput struct { _ struct{} `type:"structure"` @@ -8897,36 +7583,6 @@ func (s DescribeClustersInput) GoString() string { return s.String() } -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *DescribeClustersInput) SetClusterIdentifier(v string) *DescribeClustersInput { - s.ClusterIdentifier = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeClustersInput) SetMarker(v string) *DescribeClustersInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeClustersInput) SetMaxRecords(v int64) *DescribeClustersInput { - s.MaxRecords = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *DescribeClustersInput) SetTagKeys(v []string) *DescribeClustersInput { - s.TagKeys = v - return s -} - -// SetTagValues sets the TagValues field's value. -func (s *DescribeClustersInput) SetTagValues(v []string) *DescribeClustersInput { - s.TagValues = v - return s -} - // Contains the output from the DescribeClusters action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClustersMessage type DescribeClustersOutput struct { @@ -8960,18 +7616,6 @@ func (s DescribeClustersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClusters sets the Clusters field's value. -func (s *DescribeClustersOutput) SetClusters(v []Cluster) *DescribeClustersOutput { - s.Clusters = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeClustersOutput) SetMarker(v string) *DescribeClustersOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDefaultClusterParametersMessage type DescribeDefaultClusterParametersInput struct { _ struct{} `type:"structure"` @@ -9024,24 +7668,6 @@ func (s *DescribeDefaultClusterParametersInput) Validate() error { return nil } -// SetMarker sets the Marker field's value. -func (s *DescribeDefaultClusterParametersInput) SetMarker(v string) *DescribeDefaultClusterParametersInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeDefaultClusterParametersInput) SetMaxRecords(v int64) *DescribeDefaultClusterParametersInput { - s.MaxRecords = &v - return s -} - -// SetParameterGroupFamily sets the ParameterGroupFamily field's value. -func (s *DescribeDefaultClusterParametersInput) SetParameterGroupFamily(v string) *DescribeDefaultClusterParametersInput { - s.ParameterGroupFamily = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDefaultClusterParametersResult type DescribeDefaultClusterParametersOutput struct { _ struct{} `type:"structure"` @@ -9067,12 +7693,6 @@ func (s DescribeDefaultClusterParametersOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetDefaultClusterParameters sets the DefaultClusterParameters field's value. -func (s *DescribeDefaultClusterParametersOutput) SetDefaultClusterParameters(v *DefaultClusterParameters) *DescribeDefaultClusterParametersOutput { - s.DefaultClusterParameters = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventCategoriesMessage type DescribeEventCategoriesInput struct { _ struct{} `type:"structure"` @@ -9094,12 +7714,6 @@ func (s DescribeEventCategoriesInput) GoString() string { return s.String() } -// SetSourceType sets the SourceType field's value. -func (s *DescribeEventCategoriesInput) SetSourceType(v string) *DescribeEventCategoriesInput { - s.SourceType = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EventCategoriesMessage type DescribeEventCategoriesOutput struct { _ struct{} `type:"structure"` @@ -9125,12 +7739,6 @@ func (s DescribeEventCategoriesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventCategoriesMapList sets the EventCategoriesMapList field's value. -func (s *DescribeEventCategoriesOutput) SetEventCategoriesMapList(v []EventCategoriesMap) *DescribeEventCategoriesOutput { - s.EventCategoriesMapList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventSubscriptionsMessage type DescribeEventSubscriptionsInput struct { _ struct{} `type:"structure"` @@ -9183,36 +7791,6 @@ func (s DescribeEventSubscriptionsInput) GoString() string { return s.String() } -// SetMarker sets the Marker field's value. -func (s *DescribeEventSubscriptionsInput) SetMarker(v string) *DescribeEventSubscriptionsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeEventSubscriptionsInput) SetMaxRecords(v int64) *DescribeEventSubscriptionsInput { - s.MaxRecords = &v - return s -} - -// SetSubscriptionName sets the SubscriptionName field's value. -func (s *DescribeEventSubscriptionsInput) SetSubscriptionName(v string) *DescribeEventSubscriptionsInput { - s.SubscriptionName = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *DescribeEventSubscriptionsInput) SetTagKeys(v []string) *DescribeEventSubscriptionsInput { - s.TagKeys = v - return s -} - -// SetTagValues sets the TagValues field's value. -func (s *DescribeEventSubscriptionsInput) SetTagValues(v []string) *DescribeEventSubscriptionsInput { - s.TagValues = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EventSubscriptionsMessage type DescribeEventSubscriptionsOutput struct { _ struct{} `type:"structure"` @@ -9245,18 +7823,6 @@ func (s DescribeEventSubscriptionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventSubscriptionsList sets the EventSubscriptionsList field's value. -func (s *DescribeEventSubscriptionsOutput) SetEventSubscriptionsList(v []EventSubscription) *DescribeEventSubscriptionsOutput { - s.EventSubscriptionsList = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeEventSubscriptionsOutput) SetMarker(v string) *DescribeEventSubscriptionsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventsMessage type DescribeEventsInput struct { _ struct{} `type:"structure"` @@ -9345,48 +7911,6 @@ func (s DescribeEventsInput) GoString() string { return s.String() } -// SetDuration sets the Duration field's value. -func (s *DescribeEventsInput) SetDuration(v int64) *DescribeEventsInput { - s.Duration = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *DescribeEventsInput) SetEndTime(v time.Time) *DescribeEventsInput { - s.EndTime = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeEventsInput) SetMarker(v string) *DescribeEventsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeEventsInput) SetMaxRecords(v int64) *DescribeEventsInput { - s.MaxRecords = &v - return s -} - -// SetSourceIdentifier sets the SourceIdentifier field's value. -func (s *DescribeEventsInput) SetSourceIdentifier(v string) *DescribeEventsInput { - s.SourceIdentifier = &v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *DescribeEventsInput) SetSourceType(v SourceType) *DescribeEventsInput { - s.SourceType = v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *DescribeEventsInput) SetStartTime(v time.Time) *DescribeEventsInput { - s.StartTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EventsMessage type DescribeEventsOutput struct { _ struct{} `type:"structure"` @@ -9419,18 +7943,6 @@ func (s DescribeEventsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEvents sets the Events field's value. -func (s *DescribeEventsOutput) SetEvents(v []Event) *DescribeEventsOutput { - s.Events = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeEventsOutput) SetMarker(v string) *DescribeEventsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeHsmClientCertificatesMessage type DescribeHsmClientCertificatesInput struct { _ struct{} `type:"structure"` @@ -9485,36 +7997,6 @@ func (s DescribeHsmClientCertificatesInput) GoString() string { return s.String() } -// SetHsmClientCertificateIdentifier sets the HsmClientCertificateIdentifier field's value. -func (s *DescribeHsmClientCertificatesInput) SetHsmClientCertificateIdentifier(v string) *DescribeHsmClientCertificatesInput { - s.HsmClientCertificateIdentifier = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeHsmClientCertificatesInput) SetMarker(v string) *DescribeHsmClientCertificatesInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeHsmClientCertificatesInput) SetMaxRecords(v int64) *DescribeHsmClientCertificatesInput { - s.MaxRecords = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *DescribeHsmClientCertificatesInput) SetTagKeys(v []string) *DescribeHsmClientCertificatesInput { - s.TagKeys = v - return s -} - -// SetTagValues sets the TagValues field's value. -func (s *DescribeHsmClientCertificatesInput) SetTagValues(v []string) *DescribeHsmClientCertificatesInput { - s.TagValues = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/HsmClientCertificateMessage type DescribeHsmClientCertificatesOutput struct { _ struct{} `type:"structure"` @@ -9549,18 +8031,6 @@ func (s DescribeHsmClientCertificatesOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetHsmClientCertificates sets the HsmClientCertificates field's value. -func (s *DescribeHsmClientCertificatesOutput) SetHsmClientCertificates(v []HsmClientCertificate) *DescribeHsmClientCertificatesOutput { - s.HsmClientCertificates = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeHsmClientCertificatesOutput) SetMarker(v string) *DescribeHsmClientCertificatesOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeHsmConfigurationsMessage type DescribeHsmConfigurationsInput struct { _ struct{} `type:"structure"` @@ -9615,36 +8085,6 @@ func (s DescribeHsmConfigurationsInput) GoString() string { return s.String() } -// SetHsmConfigurationIdentifier sets the HsmConfigurationIdentifier field's value. -func (s *DescribeHsmConfigurationsInput) SetHsmConfigurationIdentifier(v string) *DescribeHsmConfigurationsInput { - s.HsmConfigurationIdentifier = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeHsmConfigurationsInput) SetMarker(v string) *DescribeHsmConfigurationsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeHsmConfigurationsInput) SetMaxRecords(v int64) *DescribeHsmConfigurationsInput { - s.MaxRecords = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *DescribeHsmConfigurationsInput) SetTagKeys(v []string) *DescribeHsmConfigurationsInput { - s.TagKeys = v - return s -} - -// SetTagValues sets the TagValues field's value. -func (s *DescribeHsmConfigurationsInput) SetTagValues(v []string) *DescribeHsmConfigurationsInput { - s.TagValues = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/HsmConfigurationMessage type DescribeHsmConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -9677,18 +8117,6 @@ func (s DescribeHsmConfigurationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHsmConfigurations sets the HsmConfigurations field's value. -func (s *DescribeHsmConfigurationsOutput) SetHsmConfigurations(v []HsmConfiguration) *DescribeHsmConfigurationsOutput { - s.HsmConfigurations = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeHsmConfigurationsOutput) SetMarker(v string) *DescribeHsmConfigurationsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeLoggingStatusMessage type DescribeLoggingStatusInput struct { _ struct{} `type:"structure"` @@ -9725,12 +8153,6 @@ func (s *DescribeLoggingStatusInput) Validate() error { return nil } -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *DescribeLoggingStatusInput) SetClusterIdentifier(v string) *DescribeLoggingStatusInput { - s.ClusterIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeOrderableClusterOptionsMessage type DescribeOrderableClusterOptionsInput struct { _ struct{} `type:"structure"` @@ -9776,30 +8198,6 @@ func (s DescribeOrderableClusterOptionsInput) GoString() string { return s.String() } -// SetClusterVersion sets the ClusterVersion field's value. -func (s *DescribeOrderableClusterOptionsInput) SetClusterVersion(v string) *DescribeOrderableClusterOptionsInput { - s.ClusterVersion = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeOrderableClusterOptionsInput) SetMarker(v string) *DescribeOrderableClusterOptionsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeOrderableClusterOptionsInput) SetMaxRecords(v int64) *DescribeOrderableClusterOptionsInput { - s.MaxRecords = &v - return s -} - -// SetNodeType sets the NodeType field's value. -func (s *DescribeOrderableClusterOptionsInput) SetNodeType(v string) *DescribeOrderableClusterOptionsInput { - s.NodeType = &v - return s -} - // Contains the output from the DescribeOrderableClusterOptions action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/OrderableClusterOptionsMessage type DescribeOrderableClusterOptionsOutput struct { @@ -9834,18 +8232,6 @@ func (s DescribeOrderableClusterOptionsOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeOrderableClusterOptionsOutput) SetMarker(v string) *DescribeOrderableClusterOptionsOutput { - s.Marker = &v - return s -} - -// SetOrderableClusterOptions sets the OrderableClusterOptions field's value. -func (s *DescribeOrderableClusterOptionsOutput) SetOrderableClusterOptions(v []OrderableClusterOption) *DescribeOrderableClusterOptionsOutput { - s.OrderableClusterOptions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeReservedNodeOfferingsMessage type DescribeReservedNodeOfferingsInput struct { _ struct{} `type:"structure"` @@ -9882,24 +8268,6 @@ func (s DescribeReservedNodeOfferingsInput) GoString() string { return s.String() } -// SetMarker sets the Marker field's value. -func (s *DescribeReservedNodeOfferingsInput) SetMarker(v string) *DescribeReservedNodeOfferingsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeReservedNodeOfferingsInput) SetMaxRecords(v int64) *DescribeReservedNodeOfferingsInput { - s.MaxRecords = &v - return s -} - -// SetReservedNodeOfferingId sets the ReservedNodeOfferingId field's value. -func (s *DescribeReservedNodeOfferingsInput) SetReservedNodeOfferingId(v string) *DescribeReservedNodeOfferingsInput { - s.ReservedNodeOfferingId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ReservedNodeOfferingsMessage type DescribeReservedNodeOfferingsOutput struct { _ struct{} `type:"structure"` @@ -9932,18 +8300,6 @@ func (s DescribeReservedNodeOfferingsOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeReservedNodeOfferingsOutput) SetMarker(v string) *DescribeReservedNodeOfferingsOutput { - s.Marker = &v - return s -} - -// SetReservedNodeOfferings sets the ReservedNodeOfferings field's value. -func (s *DescribeReservedNodeOfferingsOutput) SetReservedNodeOfferings(v []ReservedNodeOffering) *DescribeReservedNodeOfferingsOutput { - s.ReservedNodeOfferings = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeReservedNodesMessage type DescribeReservedNodesInput struct { _ struct{} `type:"structure"` @@ -9979,24 +8335,6 @@ func (s DescribeReservedNodesInput) GoString() string { return s.String() } -// SetMarker sets the Marker field's value. -func (s *DescribeReservedNodesInput) SetMarker(v string) *DescribeReservedNodesInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeReservedNodesInput) SetMaxRecords(v int64) *DescribeReservedNodesInput { - s.MaxRecords = &v - return s -} - -// SetReservedNodeId sets the ReservedNodeId field's value. -func (s *DescribeReservedNodesInput) SetReservedNodeId(v string) *DescribeReservedNodesInput { - s.ReservedNodeId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ReservedNodesMessage type DescribeReservedNodesOutput struct { _ struct{} `type:"structure"` @@ -10029,18 +8367,6 @@ func (s DescribeReservedNodesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeReservedNodesOutput) SetMarker(v string) *DescribeReservedNodesOutput { - s.Marker = &v - return s -} - -// SetReservedNodes sets the ReservedNodes field's value. -func (s *DescribeReservedNodesOutput) SetReservedNodes(v []ReservedNode) *DescribeReservedNodesOutput { - s.ReservedNodes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeResizeMessage type DescribeResizeInput struct { _ struct{} `type:"structure"` @@ -10079,12 +8405,6 @@ func (s *DescribeResizeInput) Validate() error { return nil } -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *DescribeResizeInput) SetClusterIdentifier(v string) *DescribeResizeInput { - s.ClusterIdentifier = &v - return s -} - // Describes the result of a cluster resize operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResizeProgressMessage type DescribeResizeOutput struct { @@ -10167,78 +8487,6 @@ func (s DescribeResizeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAvgResizeRateInMegaBytesPerSecond sets the AvgResizeRateInMegaBytesPerSecond field's value. -func (s *DescribeResizeOutput) SetAvgResizeRateInMegaBytesPerSecond(v float64) *DescribeResizeOutput { - s.AvgResizeRateInMegaBytesPerSecond = &v - return s -} - -// SetElapsedTimeInSeconds sets the ElapsedTimeInSeconds field's value. -func (s *DescribeResizeOutput) SetElapsedTimeInSeconds(v int64) *DescribeResizeOutput { - s.ElapsedTimeInSeconds = &v - return s -} - -// SetEstimatedTimeToCompletionInSeconds sets the EstimatedTimeToCompletionInSeconds field's value. -func (s *DescribeResizeOutput) SetEstimatedTimeToCompletionInSeconds(v int64) *DescribeResizeOutput { - s.EstimatedTimeToCompletionInSeconds = &v - return s -} - -// SetImportTablesCompleted sets the ImportTablesCompleted field's value. -func (s *DescribeResizeOutput) SetImportTablesCompleted(v []string) *DescribeResizeOutput { - s.ImportTablesCompleted = v - return s -} - -// SetImportTablesInProgress sets the ImportTablesInProgress field's value. -func (s *DescribeResizeOutput) SetImportTablesInProgress(v []string) *DescribeResizeOutput { - s.ImportTablesInProgress = v - return s -} - -// SetImportTablesNotStarted sets the ImportTablesNotStarted field's value. -func (s *DescribeResizeOutput) SetImportTablesNotStarted(v []string) *DescribeResizeOutput { - s.ImportTablesNotStarted = v - return s -} - -// SetProgressInMegaBytes sets the ProgressInMegaBytes field's value. -func (s *DescribeResizeOutput) SetProgressInMegaBytes(v int64) *DescribeResizeOutput { - s.ProgressInMegaBytes = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DescribeResizeOutput) SetStatus(v string) *DescribeResizeOutput { - s.Status = &v - return s -} - -// SetTargetClusterType sets the TargetClusterType field's value. -func (s *DescribeResizeOutput) SetTargetClusterType(v string) *DescribeResizeOutput { - s.TargetClusterType = &v - return s -} - -// SetTargetNodeType sets the TargetNodeType field's value. -func (s *DescribeResizeOutput) SetTargetNodeType(v string) *DescribeResizeOutput { - s.TargetNodeType = &v - return s -} - -// SetTargetNumberOfNodes sets the TargetNumberOfNodes field's value. -func (s *DescribeResizeOutput) SetTargetNumberOfNodes(v int64) *DescribeResizeOutput { - s.TargetNumberOfNodes = &v - return s -} - -// SetTotalResizeDataInMegaBytes sets the TotalResizeDataInMegaBytes field's value. -func (s *DescribeResizeOutput) SetTotalResizeDataInMegaBytes(v int64) *DescribeResizeOutput { - s.TotalResizeDataInMegaBytes = &v - return s -} - // The result of the DescribeSnapshotCopyGrants action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeSnapshotCopyGrantsMessage type DescribeSnapshotCopyGrantsInput struct { @@ -10295,36 +8543,6 @@ func (s DescribeSnapshotCopyGrantsInput) GoString() string { return s.String() } -// SetMarker sets the Marker field's value. -func (s *DescribeSnapshotCopyGrantsInput) SetMarker(v string) *DescribeSnapshotCopyGrantsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeSnapshotCopyGrantsInput) SetMaxRecords(v int64) *DescribeSnapshotCopyGrantsInput { - s.MaxRecords = &v - return s -} - -// SetSnapshotCopyGrantName sets the SnapshotCopyGrantName field's value. -func (s *DescribeSnapshotCopyGrantsInput) SetSnapshotCopyGrantName(v string) *DescribeSnapshotCopyGrantsInput { - s.SnapshotCopyGrantName = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *DescribeSnapshotCopyGrantsInput) SetTagKeys(v []string) *DescribeSnapshotCopyGrantsInput { - s.TagKeys = v - return s -} - -// SetTagValues sets the TagValues field's value. -func (s *DescribeSnapshotCopyGrantsInput) SetTagValues(v []string) *DescribeSnapshotCopyGrantsInput { - s.TagValues = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/SnapshotCopyGrantMessage type DescribeSnapshotCopyGrantsOutput struct { _ struct{} `type:"structure"` @@ -10361,18 +8579,6 @@ func (s DescribeSnapshotCopyGrantsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeSnapshotCopyGrantsOutput) SetMarker(v string) *DescribeSnapshotCopyGrantsOutput { - s.Marker = &v - return s -} - -// SetSnapshotCopyGrants sets the SnapshotCopyGrants field's value. -func (s *DescribeSnapshotCopyGrantsOutput) SetSnapshotCopyGrants(v []SnapshotCopyGrant) *DescribeSnapshotCopyGrantsOutput { - s.SnapshotCopyGrants = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeTableRestoreStatusMessage type DescribeTableRestoreStatusInput struct { _ struct{} `type:"structure"` @@ -10406,30 +8612,6 @@ func (s DescribeTableRestoreStatusInput) GoString() string { return s.String() } -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *DescribeTableRestoreStatusInput) SetClusterIdentifier(v string) *DescribeTableRestoreStatusInput { - s.ClusterIdentifier = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeTableRestoreStatusInput) SetMarker(v string) *DescribeTableRestoreStatusInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeTableRestoreStatusInput) SetMaxRecords(v int64) *DescribeTableRestoreStatusInput { - s.MaxRecords = &v - return s -} - -// SetTableRestoreRequestId sets the TableRestoreRequestId field's value. -func (s *DescribeTableRestoreStatusInput) SetTableRestoreRequestId(v string) *DescribeTableRestoreStatusInput { - s.TableRestoreRequestId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/TableRestoreStatusMessage type DescribeTableRestoreStatusOutput struct { _ struct{} `type:"structure"` @@ -10459,18 +8641,6 @@ func (s DescribeTableRestoreStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeTableRestoreStatusOutput) SetMarker(v string) *DescribeTableRestoreStatusOutput { - s.Marker = &v - return s -} - -// SetTableRestoreStatusDetails sets the TableRestoreStatusDetails field's value. -func (s *DescribeTableRestoreStatusOutput) SetTableRestoreStatusDetails(v []TableRestoreStatus) *DescribeTableRestoreStatusOutput { - s.TableRestoreStatusDetails = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeTagsMessage type DescribeTagsInput struct { _ struct{} `type:"structure"` @@ -10548,42 +8718,6 @@ func (s DescribeTagsInput) GoString() string { return s.String() } -// SetMarker sets the Marker field's value. -func (s *DescribeTagsInput) SetMarker(v string) *DescribeTagsInput { - s.Marker = &v - return s -} - -// SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeTagsInput) SetMaxRecords(v int64) *DescribeTagsInput { - s.MaxRecords = &v - return s -} - -// SetResourceName sets the ResourceName field's value. -func (s *DescribeTagsInput) SetResourceName(v string) *DescribeTagsInput { - s.ResourceName = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *DescribeTagsInput) SetResourceType(v string) *DescribeTagsInput { - s.ResourceType = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *DescribeTagsInput) SetTagKeys(v []string) *DescribeTagsInput { - s.TagKeys = v - return s -} - -// SetTagValues sets the TagValues field's value. -func (s *DescribeTagsInput) SetTagValues(v []string) *DescribeTagsInput { - s.TagValues = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/TaggedResourceListMessage type DescribeTagsOutput struct { _ struct{} `type:"structure"` @@ -10616,18 +8750,6 @@ func (s DescribeTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeTagsOutput) SetMarker(v string) *DescribeTagsOutput { - s.Marker = &v - return s -} - -// SetTaggedResources sets the TaggedResources field's value. -func (s *DescribeTagsOutput) SetTaggedResources(v []TaggedResource) *DescribeTagsOutput { - s.TaggedResources = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableLoggingMessage type DisableLoggingInput struct { _ struct{} `type:"structure"` @@ -10664,12 +8786,6 @@ func (s *DisableLoggingInput) Validate() error { return nil } -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *DisableLoggingInput) SetClusterIdentifier(v string) *DisableLoggingInput { - s.ClusterIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableSnapshotCopyMessage type DisableSnapshotCopyInput struct { _ struct{} `type:"structure"` @@ -10708,12 +8824,6 @@ func (s *DisableSnapshotCopyInput) Validate() error { return nil } -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *DisableSnapshotCopyInput) SetClusterIdentifier(v string) *DisableSnapshotCopyInput { - s.ClusterIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableSnapshotCopyResult type DisableSnapshotCopyOutput struct { _ struct{} `type:"structure"` @@ -10739,12 +8849,6 @@ func (s DisableSnapshotCopyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *DisableSnapshotCopyOutput) SetCluster(v *Cluster) *DisableSnapshotCopyOutput { - s.Cluster = v - return s -} - // Describes an Amazon EC2 security group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EC2SecurityGroup type EC2SecurityGroup struct { @@ -10774,30 +8878,6 @@ func (s EC2SecurityGroup) GoString() string { return s.String() } -// SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value. -func (s *EC2SecurityGroup) SetEC2SecurityGroupName(v string) *EC2SecurityGroup { - s.EC2SecurityGroupName = &v - return s -} - -// SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value. -func (s *EC2SecurityGroup) SetEC2SecurityGroupOwnerId(v string) *EC2SecurityGroup { - s.EC2SecurityGroupOwnerId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *EC2SecurityGroup) SetStatus(v string) *EC2SecurityGroup { - s.Status = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *EC2SecurityGroup) SetTags(v []Tag) *EC2SecurityGroup { - s.Tags = v - return s -} - // Describes the status of the elastic IP (EIP) address. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ElasticIpStatus type ElasticIpStatus struct { @@ -10820,18 +8900,6 @@ func (s ElasticIpStatus) GoString() string { return s.String() } -// SetElasticIp sets the ElasticIp field's value. -func (s *ElasticIpStatus) SetElasticIp(v string) *ElasticIpStatus { - s.ElasticIp = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ElasticIpStatus) SetStatus(v string) *ElasticIpStatus { - s.Status = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableLoggingMessage type EnableLoggingInput struct { _ struct{} `type:"structure"` @@ -10904,24 +8972,6 @@ func (s *EnableLoggingInput) Validate() error { return nil } -// SetBucketName sets the BucketName field's value. -func (s *EnableLoggingInput) SetBucketName(v string) *EnableLoggingInput { - s.BucketName = &v - return s -} - -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *EnableLoggingInput) SetClusterIdentifier(v string) *EnableLoggingInput { - s.ClusterIdentifier = &v - return s -} - -// SetS3KeyPrefix sets the S3KeyPrefix field's value. -func (s *EnableLoggingInput) SetS3KeyPrefix(v string) *EnableLoggingInput { - s.S3KeyPrefix = &v - return s -} - // Describes the status of logging for a cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableLoggingOutput type EnableLoggingOutput struct { @@ -10963,42 +9013,6 @@ func (s EnableLoggingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBucketName sets the BucketName field's value. -func (s *EnableLoggingOutput) SetBucketName(v string) *EnableLoggingOutput { - s.BucketName = &v - return s -} - -// SetLastFailureMessage sets the LastFailureMessage field's value. -func (s *EnableLoggingOutput) SetLastFailureMessage(v string) *EnableLoggingOutput { - s.LastFailureMessage = &v - return s -} - -// SetLastFailureTime sets the LastFailureTime field's value. -func (s *EnableLoggingOutput) SetLastFailureTime(v time.Time) *EnableLoggingOutput { - s.LastFailureTime = &v - return s -} - -// SetLastSuccessfulDeliveryTime sets the LastSuccessfulDeliveryTime field's value. -func (s *EnableLoggingOutput) SetLastSuccessfulDeliveryTime(v time.Time) *EnableLoggingOutput { - s.LastSuccessfulDeliveryTime = &v - return s -} - -// SetLoggingEnabled sets the LoggingEnabled field's value. -func (s *EnableLoggingOutput) SetLoggingEnabled(v bool) *EnableLoggingOutput { - s.LoggingEnabled = &v - return s -} - -// SetS3KeyPrefix sets the S3KeyPrefix field's value. -func (s *EnableLoggingOutput) SetS3KeyPrefix(v string) *EnableLoggingOutput { - s.S3KeyPrefix = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableSnapshotCopyMessage type EnableSnapshotCopyInput struct { _ struct{} `type:"structure"` @@ -11061,30 +9075,6 @@ func (s *EnableSnapshotCopyInput) Validate() error { return nil } -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *EnableSnapshotCopyInput) SetClusterIdentifier(v string) *EnableSnapshotCopyInput { - s.ClusterIdentifier = &v - return s -} - -// SetDestinationRegion sets the DestinationRegion field's value. -func (s *EnableSnapshotCopyInput) SetDestinationRegion(v string) *EnableSnapshotCopyInput { - s.DestinationRegion = &v - return s -} - -// SetRetentionPeriod sets the RetentionPeriod field's value. -func (s *EnableSnapshotCopyInput) SetRetentionPeriod(v int64) *EnableSnapshotCopyInput { - s.RetentionPeriod = &v - return s -} - -// SetSnapshotCopyGrantName sets the SnapshotCopyGrantName field's value. -func (s *EnableSnapshotCopyInput) SetSnapshotCopyGrantName(v string) *EnableSnapshotCopyInput { - s.SnapshotCopyGrantName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableSnapshotCopyResult type EnableSnapshotCopyOutput struct { _ struct{} `type:"structure"` @@ -11110,12 +9100,6 @@ func (s EnableSnapshotCopyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *EnableSnapshotCopyOutput) SetCluster(v *Cluster) *EnableSnapshotCopyOutput { - s.Cluster = v - return s -} - // Describes a connection endpoint. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Endpoint type Endpoint struct { @@ -11138,18 +9122,6 @@ func (s Endpoint) GoString() string { return s.String() } -// SetAddress sets the Address field's value. -func (s *Endpoint) SetAddress(v string) *Endpoint { - s.Address = &v - return s -} - -// SetPort sets the Port field's value. -func (s *Endpoint) SetPort(v int64) *Endpoint { - s.Port = &v - return s -} - // Describes an event. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Event type Event struct { @@ -11191,48 +9163,6 @@ func (s Event) GoString() string { return s.String() } -// SetDate sets the Date field's value. -func (s *Event) SetDate(v time.Time) *Event { - s.Date = &v - return s -} - -// SetEventCategories sets the EventCategories field's value. -func (s *Event) SetEventCategories(v []string) *Event { - s.EventCategories = v - return s -} - -// SetEventId sets the EventId field's value. -func (s *Event) SetEventId(v string) *Event { - s.EventId = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *Event) SetMessage(v string) *Event { - s.Message = &v - return s -} - -// SetSeverity sets the Severity field's value. -func (s *Event) SetSeverity(v string) *Event { - s.Severity = &v - return s -} - -// SetSourceIdentifier sets the SourceIdentifier field's value. -func (s *Event) SetSourceIdentifier(v string) *Event { - s.SourceIdentifier = &v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *Event) SetSourceType(v SourceType) *Event { - s.SourceType = v - return s -} - // Describes event categories. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EventCategoriesMap type EventCategoriesMap struct { @@ -11256,18 +9186,6 @@ func (s EventCategoriesMap) GoString() string { return s.String() } -// SetEvents sets the Events field's value. -func (s *EventCategoriesMap) SetEvents(v []EventInfoMap) *EventCategoriesMap { - s.Events = v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *EventCategoriesMap) SetSourceType(v string) *EventCategoriesMap { - s.SourceType = &v - return s -} - // Describes event information. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EventInfoMap type EventInfoMap struct { @@ -11298,30 +9216,6 @@ func (s EventInfoMap) GoString() string { return s.String() } -// SetEventCategories sets the EventCategories field's value. -func (s *EventInfoMap) SetEventCategories(v []string) *EventInfoMap { - s.EventCategories = v - return s -} - -// SetEventDescription sets the EventDescription field's value. -func (s *EventInfoMap) SetEventDescription(v string) *EventInfoMap { - s.EventDescription = &v - return s -} - -// SetEventId sets the EventId field's value. -func (s *EventInfoMap) SetEventId(v string) *EventInfoMap { - s.EventId = &v - return s -} - -// SetSeverity sets the Severity field's value. -func (s *EventInfoMap) SetSeverity(v string) *EventInfoMap { - s.Severity = &v - return s -} - // Describes event subscriptions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EventSubscription type EventSubscription struct { @@ -11390,72 +9284,6 @@ func (s EventSubscription) GoString() string { return s.String() } -// SetCustSubscriptionId sets the CustSubscriptionId field's value. -func (s *EventSubscription) SetCustSubscriptionId(v string) *EventSubscription { - s.CustSubscriptionId = &v - return s -} - -// SetCustomerAwsId sets the CustomerAwsId field's value. -func (s *EventSubscription) SetCustomerAwsId(v string) *EventSubscription { - s.CustomerAwsId = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *EventSubscription) SetEnabled(v bool) *EventSubscription { - s.Enabled = &v - return s -} - -// SetEventCategoriesList sets the EventCategoriesList field's value. -func (s *EventSubscription) SetEventCategoriesList(v []string) *EventSubscription { - s.EventCategoriesList = v - return s -} - -// SetSeverity sets the Severity field's value. -func (s *EventSubscription) SetSeverity(v string) *EventSubscription { - s.Severity = &v - return s -} - -// SetSnsTopicArn sets the SnsTopicArn field's value. -func (s *EventSubscription) SetSnsTopicArn(v string) *EventSubscription { - s.SnsTopicArn = &v - return s -} - -// SetSourceIdsList sets the SourceIdsList field's value. -func (s *EventSubscription) SetSourceIdsList(v []string) *EventSubscription { - s.SourceIdsList = v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *EventSubscription) SetSourceType(v string) *EventSubscription { - s.SourceType = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *EventSubscription) SetStatus(v string) *EventSubscription { - s.Status = &v - return s -} - -// SetSubscriptionCreationTime sets the SubscriptionCreationTime field's value. -func (s *EventSubscription) SetSubscriptionCreationTime(v time.Time) *EventSubscription { - s.SubscriptionCreationTime = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *EventSubscription) SetTags(v []Tag) *EventSubscription { - s.Tags = v - return s -} - // The request parameters to get cluster credentials. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetClusterCredentialsMessage type GetClusterCredentialsInput struct { @@ -11575,42 +9403,6 @@ func (s *GetClusterCredentialsInput) Validate() error { return nil } -// SetAutoCreate sets the AutoCreate field's value. -func (s *GetClusterCredentialsInput) SetAutoCreate(v bool) *GetClusterCredentialsInput { - s.AutoCreate = &v - return s -} - -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *GetClusterCredentialsInput) SetClusterIdentifier(v string) *GetClusterCredentialsInput { - s.ClusterIdentifier = &v - return s -} - -// SetDbGroups sets the DbGroups field's value. -func (s *GetClusterCredentialsInput) SetDbGroups(v []string) *GetClusterCredentialsInput { - s.DbGroups = v - return s -} - -// SetDbName sets the DbName field's value. -func (s *GetClusterCredentialsInput) SetDbName(v string) *GetClusterCredentialsInput { - s.DbName = &v - return s -} - -// SetDbUser sets the DbUser field's value. -func (s *GetClusterCredentialsInput) SetDbUser(v string) *GetClusterCredentialsInput { - s.DbUser = &v - return s -} - -// SetDurationSeconds sets the DurationSeconds field's value. -func (s *GetClusterCredentialsInput) SetDurationSeconds(v int64) *GetClusterCredentialsInput { - s.DurationSeconds = &v - return s -} - // Temporary credentials with authorization to log on to an Amazon Redshift // database. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ClusterCredentials @@ -11650,24 +9442,6 @@ func (s GetClusterCredentialsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDbPassword sets the DbPassword field's value. -func (s *GetClusterCredentialsOutput) SetDbPassword(v string) *GetClusterCredentialsOutput { - s.DbPassword = &v - return s -} - -// SetDbUser sets the DbUser field's value. -func (s *GetClusterCredentialsOutput) SetDbUser(v string) *GetClusterCredentialsOutput { - s.DbUser = &v - return s -} - -// SetExpiration sets the Expiration field's value. -func (s *GetClusterCredentialsOutput) SetExpiration(v time.Time) *GetClusterCredentialsOutput { - s.Expiration = &v - return s -} - // Returns information about an HSM client certificate. The certificate is stored // in a secure Hardware Storage Module (HSM), and used by the Amazon Redshift // cluster to encrypt data files. @@ -11696,24 +9470,6 @@ func (s HsmClientCertificate) GoString() string { return s.String() } -// SetHsmClientCertificateIdentifier sets the HsmClientCertificateIdentifier field's value. -func (s *HsmClientCertificate) SetHsmClientCertificateIdentifier(v string) *HsmClientCertificate { - s.HsmClientCertificateIdentifier = &v - return s -} - -// SetHsmClientCertificatePublicKey sets the HsmClientCertificatePublicKey field's value. -func (s *HsmClientCertificate) SetHsmClientCertificatePublicKey(v string) *HsmClientCertificate { - s.HsmClientCertificatePublicKey = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *HsmClientCertificate) SetTags(v []Tag) *HsmClientCertificate { - s.Tags = v - return s -} - // Returns information about an HSM configuration, which is an object that describes // to Amazon Redshift clusters the information they require to connect to an // HSM where they can store database encryption keys. @@ -11748,36 +9504,6 @@ func (s HsmConfiguration) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *HsmConfiguration) SetDescription(v string) *HsmConfiguration { - s.Description = &v - return s -} - -// SetHsmConfigurationIdentifier sets the HsmConfigurationIdentifier field's value. -func (s *HsmConfiguration) SetHsmConfigurationIdentifier(v string) *HsmConfiguration { - s.HsmConfigurationIdentifier = &v - return s -} - -// SetHsmIpAddress sets the HsmIpAddress field's value. -func (s *HsmConfiguration) SetHsmIpAddress(v string) *HsmConfiguration { - s.HsmIpAddress = &v - return s -} - -// SetHsmPartitionName sets the HsmPartitionName field's value. -func (s *HsmConfiguration) SetHsmPartitionName(v string) *HsmConfiguration { - s.HsmPartitionName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *HsmConfiguration) SetTags(v []Tag) *HsmConfiguration { - s.Tags = v - return s -} - // Describes the status of changes to HSM settings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/HsmStatus type HsmStatus struct { @@ -11808,24 +9534,6 @@ func (s HsmStatus) GoString() string { return s.String() } -// SetHsmClientCertificateIdentifier sets the HsmClientCertificateIdentifier field's value. -func (s *HsmStatus) SetHsmClientCertificateIdentifier(v string) *HsmStatus { - s.HsmClientCertificateIdentifier = &v - return s -} - -// SetHsmConfigurationIdentifier sets the HsmConfigurationIdentifier field's value. -func (s *HsmStatus) SetHsmConfigurationIdentifier(v string) *HsmStatus { - s.HsmConfigurationIdentifier = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *HsmStatus) SetStatus(v string) *HsmStatus { - s.Status = &v - return s -} - // Describes an IP range used in a security group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/IPRange type IPRange struct { @@ -11851,27 +9559,9 @@ func (s IPRange) GoString() string { return s.String() } -// SetCIDRIP sets the CIDRIP field's value. -func (s *IPRange) SetCIDRIP(v string) *IPRange { - s.CIDRIP = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *IPRange) SetStatus(v string) *IPRange { - s.Status = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *IPRange) SetTags(v []Tag) *IPRange { - s.Tags = v - return s -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterIamRolesMessage -type ModifyClusterIamRolesInput struct { - _ struct{} `type:"structure"` +// Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterIamRolesMessage +type ModifyClusterIamRolesInput struct { + _ struct{} `type:"structure"` // Zero or more IAM roles to associate with the cluster. The roles must be in // their Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles @@ -11913,24 +9603,6 @@ func (s *ModifyClusterIamRolesInput) Validate() error { return nil } -// SetAddIamRoles sets the AddIamRoles field's value. -func (s *ModifyClusterIamRolesInput) SetAddIamRoles(v []string) *ModifyClusterIamRolesInput { - s.AddIamRoles = v - return s -} - -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *ModifyClusterIamRolesInput) SetClusterIdentifier(v string) *ModifyClusterIamRolesInput { - s.ClusterIdentifier = &v - return s -} - -// SetRemoveIamRoles sets the RemoveIamRoles field's value. -func (s *ModifyClusterIamRolesInput) SetRemoveIamRoles(v []string) *ModifyClusterIamRolesInput { - s.RemoveIamRoles = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterIamRolesResult type ModifyClusterIamRolesOutput struct { _ struct{} `type:"structure"` @@ -11956,12 +9628,6 @@ func (s ModifyClusterIamRolesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *ModifyClusterIamRolesOutput) SetCluster(v *Cluster) *ModifyClusterIamRolesOutput { - s.Cluster = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterMessage type ModifyClusterInput struct { _ struct{} `type:"structure"` @@ -12189,114 +9855,6 @@ func (s *ModifyClusterInput) Validate() error { return nil } -// SetAllowVersionUpgrade sets the AllowVersionUpgrade field's value. -func (s *ModifyClusterInput) SetAllowVersionUpgrade(v bool) *ModifyClusterInput { - s.AllowVersionUpgrade = &v - return s -} - -// SetAutomatedSnapshotRetentionPeriod sets the AutomatedSnapshotRetentionPeriod field's value. -func (s *ModifyClusterInput) SetAutomatedSnapshotRetentionPeriod(v int64) *ModifyClusterInput { - s.AutomatedSnapshotRetentionPeriod = &v - return s -} - -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *ModifyClusterInput) SetClusterIdentifier(v string) *ModifyClusterInput { - s.ClusterIdentifier = &v - return s -} - -// SetClusterParameterGroupName sets the ClusterParameterGroupName field's value. -func (s *ModifyClusterInput) SetClusterParameterGroupName(v string) *ModifyClusterInput { - s.ClusterParameterGroupName = &v - return s -} - -// SetClusterSecurityGroups sets the ClusterSecurityGroups field's value. -func (s *ModifyClusterInput) SetClusterSecurityGroups(v []string) *ModifyClusterInput { - s.ClusterSecurityGroups = v - return s -} - -// SetClusterType sets the ClusterType field's value. -func (s *ModifyClusterInput) SetClusterType(v string) *ModifyClusterInput { - s.ClusterType = &v - return s -} - -// SetClusterVersion sets the ClusterVersion field's value. -func (s *ModifyClusterInput) SetClusterVersion(v string) *ModifyClusterInput { - s.ClusterVersion = &v - return s -} - -// SetElasticIp sets the ElasticIp field's value. -func (s *ModifyClusterInput) SetElasticIp(v string) *ModifyClusterInput { - s.ElasticIp = &v - return s -} - -// SetEnhancedVpcRouting sets the EnhancedVpcRouting field's value. -func (s *ModifyClusterInput) SetEnhancedVpcRouting(v bool) *ModifyClusterInput { - s.EnhancedVpcRouting = &v - return s -} - -// SetHsmClientCertificateIdentifier sets the HsmClientCertificateIdentifier field's value. -func (s *ModifyClusterInput) SetHsmClientCertificateIdentifier(v string) *ModifyClusterInput { - s.HsmClientCertificateIdentifier = &v - return s -} - -// SetHsmConfigurationIdentifier sets the HsmConfigurationIdentifier field's value. -func (s *ModifyClusterInput) SetHsmConfigurationIdentifier(v string) *ModifyClusterInput { - s.HsmConfigurationIdentifier = &v - return s -} - -// SetMasterUserPassword sets the MasterUserPassword field's value. -func (s *ModifyClusterInput) SetMasterUserPassword(v string) *ModifyClusterInput { - s.MasterUserPassword = &v - return s -} - -// SetNewClusterIdentifier sets the NewClusterIdentifier field's value. -func (s *ModifyClusterInput) SetNewClusterIdentifier(v string) *ModifyClusterInput { - s.NewClusterIdentifier = &v - return s -} - -// SetNodeType sets the NodeType field's value. -func (s *ModifyClusterInput) SetNodeType(v string) *ModifyClusterInput { - s.NodeType = &v - return s -} - -// SetNumberOfNodes sets the NumberOfNodes field's value. -func (s *ModifyClusterInput) SetNumberOfNodes(v int64) *ModifyClusterInput { - s.NumberOfNodes = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *ModifyClusterInput) SetPreferredMaintenanceWindow(v string) *ModifyClusterInput { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetPubliclyAccessible sets the PubliclyAccessible field's value. -func (s *ModifyClusterInput) SetPubliclyAccessible(v bool) *ModifyClusterInput { - s.PubliclyAccessible = &v - return s -} - -// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value. -func (s *ModifyClusterInput) SetVpcSecurityGroupIds(v []string) *ModifyClusterInput { - s.VpcSecurityGroupIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterResult type ModifyClusterOutput struct { _ struct{} `type:"structure"` @@ -12322,12 +9880,6 @@ func (s ModifyClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *ModifyClusterOutput) SetCluster(v *Cluster) *ModifyClusterOutput { - s.Cluster = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterParameterGroupMessage type ModifyClusterParameterGroupInput struct { _ struct{} `type:"structure"` @@ -12378,18 +9930,6 @@ func (s *ModifyClusterParameterGroupInput) Validate() error { return nil } -// SetParameterGroupName sets the ParameterGroupName field's value. -func (s *ModifyClusterParameterGroupInput) SetParameterGroupName(v string) *ModifyClusterParameterGroupInput { - s.ParameterGroupName = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *ModifyClusterParameterGroupInput) SetParameters(v []Parameter) *ModifyClusterParameterGroupInput { - s.Parameters = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterSubnetGroupMessage type ModifyClusterSubnetGroupInput struct { _ struct{} `type:"structure"` @@ -12437,24 +9977,6 @@ func (s *ModifyClusterSubnetGroupInput) Validate() error { return nil } -// SetClusterSubnetGroupName sets the ClusterSubnetGroupName field's value. -func (s *ModifyClusterSubnetGroupInput) SetClusterSubnetGroupName(v string) *ModifyClusterSubnetGroupInput { - s.ClusterSubnetGroupName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ModifyClusterSubnetGroupInput) SetDescription(v string) *ModifyClusterSubnetGroupInput { - s.Description = &v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *ModifyClusterSubnetGroupInput) SetSubnetIds(v []string) *ModifyClusterSubnetGroupInput { - s.SubnetIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterSubnetGroupResult type ModifyClusterSubnetGroupOutput struct { _ struct{} `type:"structure"` @@ -12480,12 +10002,6 @@ func (s ModifyClusterSubnetGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClusterSubnetGroup sets the ClusterSubnetGroup field's value. -func (s *ModifyClusterSubnetGroupOutput) SetClusterSubnetGroup(v *ClusterSubnetGroup) *ModifyClusterSubnetGroupOutput { - s.ClusterSubnetGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyEventSubscriptionMessage type ModifyEventSubscriptionInput struct { _ struct{} `type:"structure"` @@ -12561,48 +10077,6 @@ func (s *ModifyEventSubscriptionInput) Validate() error { return nil } -// SetEnabled sets the Enabled field's value. -func (s *ModifyEventSubscriptionInput) SetEnabled(v bool) *ModifyEventSubscriptionInput { - s.Enabled = &v - return s -} - -// SetEventCategories sets the EventCategories field's value. -func (s *ModifyEventSubscriptionInput) SetEventCategories(v []string) *ModifyEventSubscriptionInput { - s.EventCategories = v - return s -} - -// SetSeverity sets the Severity field's value. -func (s *ModifyEventSubscriptionInput) SetSeverity(v string) *ModifyEventSubscriptionInput { - s.Severity = &v - return s -} - -// SetSnsTopicArn sets the SnsTopicArn field's value. -func (s *ModifyEventSubscriptionInput) SetSnsTopicArn(v string) *ModifyEventSubscriptionInput { - s.SnsTopicArn = &v - return s -} - -// SetSourceIds sets the SourceIds field's value. -func (s *ModifyEventSubscriptionInput) SetSourceIds(v []string) *ModifyEventSubscriptionInput { - s.SourceIds = v - return s -} - -// SetSourceType sets the SourceType field's value. -func (s *ModifyEventSubscriptionInput) SetSourceType(v string) *ModifyEventSubscriptionInput { - s.SourceType = &v - return s -} - -// SetSubscriptionName sets the SubscriptionName field's value. -func (s *ModifyEventSubscriptionInput) SetSubscriptionName(v string) *ModifyEventSubscriptionInput { - s.SubscriptionName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyEventSubscriptionResult type ModifyEventSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -12628,12 +10102,6 @@ func (s ModifyEventSubscriptionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEventSubscription sets the EventSubscription field's value. -func (s *ModifyEventSubscriptionOutput) SetEventSubscription(v *EventSubscription) *ModifyEventSubscriptionOutput { - s.EventSubscription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotCopyRetentionPeriodMessage type ModifySnapshotCopyRetentionPeriodInput struct { _ struct{} `type:"structure"` @@ -12689,18 +10157,6 @@ func (s *ModifySnapshotCopyRetentionPeriodInput) Validate() error { return nil } -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *ModifySnapshotCopyRetentionPeriodInput) SetClusterIdentifier(v string) *ModifySnapshotCopyRetentionPeriodInput { - s.ClusterIdentifier = &v - return s -} - -// SetRetentionPeriod sets the RetentionPeriod field's value. -func (s *ModifySnapshotCopyRetentionPeriodInput) SetRetentionPeriod(v int64) *ModifySnapshotCopyRetentionPeriodInput { - s.RetentionPeriod = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotCopyRetentionPeriodResult type ModifySnapshotCopyRetentionPeriodOutput struct { _ struct{} `type:"structure"` @@ -12726,12 +10182,6 @@ func (s ModifySnapshotCopyRetentionPeriodOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *ModifySnapshotCopyRetentionPeriodOutput) SetCluster(v *Cluster) *ModifySnapshotCopyRetentionPeriodOutput { - s.Cluster = v - return s -} - // Describes an orderable cluster option. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/OrderableClusterOption type OrderableClusterOption struct { @@ -12760,30 +10210,6 @@ func (s OrderableClusterOption) GoString() string { return s.String() } -// SetAvailabilityZones sets the AvailabilityZones field's value. -func (s *OrderableClusterOption) SetAvailabilityZones(v []AvailabilityZone) *OrderableClusterOption { - s.AvailabilityZones = v - return s -} - -// SetClusterType sets the ClusterType field's value. -func (s *OrderableClusterOption) SetClusterType(v string) *OrderableClusterOption { - s.ClusterType = &v - return s -} - -// SetClusterVersion sets the ClusterVersion field's value. -func (s *OrderableClusterOption) SetClusterVersion(v string) *OrderableClusterOption { - s.ClusterVersion = &v - return s -} - -// SetNodeType sets the NodeType field's value. -func (s *OrderableClusterOption) SetNodeType(v string) *OrderableClusterOption { - s.NodeType = &v - return s -} - // Describes a parameter in a cluster parameter group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Parameter type Parameter struct { @@ -12833,60 +10259,6 @@ func (s Parameter) GoString() string { return s.String() } -// SetAllowedValues sets the AllowedValues field's value. -func (s *Parameter) SetAllowedValues(v string) *Parameter { - s.AllowedValues = &v - return s -} - -// SetApplyType sets the ApplyType field's value. -func (s *Parameter) SetApplyType(v ParameterApplyType) *Parameter { - s.ApplyType = v - return s -} - -// SetDataType sets the DataType field's value. -func (s *Parameter) SetDataType(v string) *Parameter { - s.DataType = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Parameter) SetDescription(v string) *Parameter { - s.Description = &v - return s -} - -// SetIsModifiable sets the IsModifiable field's value. -func (s *Parameter) SetIsModifiable(v bool) *Parameter { - s.IsModifiable = &v - return s -} - -// SetMinimumEngineVersion sets the MinimumEngineVersion field's value. -func (s *Parameter) SetMinimumEngineVersion(v string) *Parameter { - s.MinimumEngineVersion = &v - return s -} - -// SetParameterName sets the ParameterName field's value. -func (s *Parameter) SetParameterName(v string) *Parameter { - s.ParameterName = &v - return s -} - -// SetParameterValue sets the ParameterValue field's value. -func (s *Parameter) SetParameterValue(v string) *Parameter { - s.ParameterValue = &v - return s -} - -// SetSource sets the Source field's value. -func (s *Parameter) SetSource(v string) *Parameter { - s.Source = &v - return s -} - // Describes cluster attributes that are in a pending state. A change to one // or more the attributes was requested and is in progress or will be applied. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PendingModifiedValues @@ -12940,60 +10312,6 @@ func (s PendingModifiedValues) GoString() string { return s.String() } -// SetAutomatedSnapshotRetentionPeriod sets the AutomatedSnapshotRetentionPeriod field's value. -func (s *PendingModifiedValues) SetAutomatedSnapshotRetentionPeriod(v int64) *PendingModifiedValues { - s.AutomatedSnapshotRetentionPeriod = &v - return s -} - -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *PendingModifiedValues) SetClusterIdentifier(v string) *PendingModifiedValues { - s.ClusterIdentifier = &v - return s -} - -// SetClusterType sets the ClusterType field's value. -func (s *PendingModifiedValues) SetClusterType(v string) *PendingModifiedValues { - s.ClusterType = &v - return s -} - -// SetClusterVersion sets the ClusterVersion field's value. -func (s *PendingModifiedValues) SetClusterVersion(v string) *PendingModifiedValues { - s.ClusterVersion = &v - return s -} - -// SetEnhancedVpcRouting sets the EnhancedVpcRouting field's value. -func (s *PendingModifiedValues) SetEnhancedVpcRouting(v bool) *PendingModifiedValues { - s.EnhancedVpcRouting = &v - return s -} - -// SetMasterUserPassword sets the MasterUserPassword field's value. -func (s *PendingModifiedValues) SetMasterUserPassword(v string) *PendingModifiedValues { - s.MasterUserPassword = &v - return s -} - -// SetNodeType sets the NodeType field's value. -func (s *PendingModifiedValues) SetNodeType(v string) *PendingModifiedValues { - s.NodeType = &v - return s -} - -// SetNumberOfNodes sets the NumberOfNodes field's value. -func (s *PendingModifiedValues) SetNumberOfNodes(v int64) *PendingModifiedValues { - s.NumberOfNodes = &v - return s -} - -// SetPubliclyAccessible sets the PubliclyAccessible field's value. -func (s *PendingModifiedValues) SetPubliclyAccessible(v bool) *PendingModifiedValues { - s.PubliclyAccessible = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PurchaseReservedNodeOfferingMessage type PurchaseReservedNodeOfferingInput struct { _ struct{} `type:"structure"` @@ -13033,18 +10351,6 @@ func (s *PurchaseReservedNodeOfferingInput) Validate() error { return nil } -// SetNodeCount sets the NodeCount field's value. -func (s *PurchaseReservedNodeOfferingInput) SetNodeCount(v int64) *PurchaseReservedNodeOfferingInput { - s.NodeCount = &v - return s -} - -// SetReservedNodeOfferingId sets the ReservedNodeOfferingId field's value. -func (s *PurchaseReservedNodeOfferingInput) SetReservedNodeOfferingId(v string) *PurchaseReservedNodeOfferingInput { - s.ReservedNodeOfferingId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PurchaseReservedNodeOfferingResult type PurchaseReservedNodeOfferingOutput struct { _ struct{} `type:"structure"` @@ -13071,12 +10377,6 @@ func (s PurchaseReservedNodeOfferingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReservedNode sets the ReservedNode field's value. -func (s *PurchaseReservedNodeOfferingOutput) SetReservedNode(v *ReservedNode) *PurchaseReservedNodeOfferingOutput { - s.ReservedNode = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RebootClusterMessage type RebootClusterInput struct { _ struct{} `type:"structure"` @@ -13111,12 +10411,6 @@ func (s *RebootClusterInput) Validate() error { return nil } -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *RebootClusterInput) SetClusterIdentifier(v string) *RebootClusterInput { - s.ClusterIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RebootClusterResult type RebootClusterOutput struct { _ struct{} `type:"structure"` @@ -13142,12 +10436,6 @@ func (s RebootClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *RebootClusterOutput) SetCluster(v *Cluster) *RebootClusterOutput { - s.Cluster = v - return s -} - // Describes a recurring charge. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RecurringCharge type RecurringCharge struct { @@ -13171,18 +10459,6 @@ func (s RecurringCharge) GoString() string { return s.String() } -// SetRecurringChargeAmount sets the RecurringChargeAmount field's value. -func (s *RecurringCharge) SetRecurringChargeAmount(v float64) *RecurringCharge { - s.RecurringChargeAmount = &v - return s -} - -// SetRecurringChargeFrequency sets the RecurringChargeFrequency field's value. -func (s *RecurringCharge) SetRecurringChargeFrequency(v string) *RecurringCharge { - s.RecurringChargeFrequency = &v - return s -} - // Describes a reserved node. You can call the DescribeReservedNodeOfferings // API to obtain the available reserved node offerings. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ReservedNode @@ -13248,78 +10524,6 @@ func (s ReservedNode) GoString() string { return s.String() } -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *ReservedNode) SetCurrencyCode(v string) *ReservedNode { - s.CurrencyCode = &v - return s -} - -// SetDuration sets the Duration field's value. -func (s *ReservedNode) SetDuration(v int64) *ReservedNode { - s.Duration = &v - return s -} - -// SetFixedPrice sets the FixedPrice field's value. -func (s *ReservedNode) SetFixedPrice(v float64) *ReservedNode { - s.FixedPrice = &v - return s -} - -// SetNodeCount sets the NodeCount field's value. -func (s *ReservedNode) SetNodeCount(v int64) *ReservedNode { - s.NodeCount = &v - return s -} - -// SetNodeType sets the NodeType field's value. -func (s *ReservedNode) SetNodeType(v string) *ReservedNode { - s.NodeType = &v - return s -} - -// SetOfferingType sets the OfferingType field's value. -func (s *ReservedNode) SetOfferingType(v string) *ReservedNode { - s.OfferingType = &v - return s -} - -// SetRecurringCharges sets the RecurringCharges field's value. -func (s *ReservedNode) SetRecurringCharges(v []RecurringCharge) *ReservedNode { - s.RecurringCharges = v - return s -} - -// SetReservedNodeId sets the ReservedNodeId field's value. -func (s *ReservedNode) SetReservedNodeId(v string) *ReservedNode { - s.ReservedNodeId = &v - return s -} - -// SetReservedNodeOfferingId sets the ReservedNodeOfferingId field's value. -func (s *ReservedNode) SetReservedNodeOfferingId(v string) *ReservedNode { - s.ReservedNodeOfferingId = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *ReservedNode) SetStartTime(v time.Time) *ReservedNode { - s.StartTime = &v - return s -} - -// SetState sets the State field's value. -func (s *ReservedNode) SetState(v string) *ReservedNode { - s.State = &v - return s -} - -// SetUsagePrice sets the UsagePrice field's value. -func (s *ReservedNode) SetUsagePrice(v float64) *ReservedNode { - s.UsagePrice = &v - return s -} - // Describes a reserved node offering. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ReservedNodeOffering type ReservedNodeOffering struct { @@ -13365,54 +10569,6 @@ func (s ReservedNodeOffering) GoString() string { return s.String() } -// SetCurrencyCode sets the CurrencyCode field's value. -func (s *ReservedNodeOffering) SetCurrencyCode(v string) *ReservedNodeOffering { - s.CurrencyCode = &v - return s -} - -// SetDuration sets the Duration field's value. -func (s *ReservedNodeOffering) SetDuration(v int64) *ReservedNodeOffering { - s.Duration = &v - return s -} - -// SetFixedPrice sets the FixedPrice field's value. -func (s *ReservedNodeOffering) SetFixedPrice(v float64) *ReservedNodeOffering { - s.FixedPrice = &v - return s -} - -// SetNodeType sets the NodeType field's value. -func (s *ReservedNodeOffering) SetNodeType(v string) *ReservedNodeOffering { - s.NodeType = &v - return s -} - -// SetOfferingType sets the OfferingType field's value. -func (s *ReservedNodeOffering) SetOfferingType(v string) *ReservedNodeOffering { - s.OfferingType = &v - return s -} - -// SetRecurringCharges sets the RecurringCharges field's value. -func (s *ReservedNodeOffering) SetRecurringCharges(v []RecurringCharge) *ReservedNodeOffering { - s.RecurringCharges = v - return s -} - -// SetReservedNodeOfferingId sets the ReservedNodeOfferingId field's value. -func (s *ReservedNodeOffering) SetReservedNodeOfferingId(v string) *ReservedNodeOffering { - s.ReservedNodeOfferingId = &v - return s -} - -// SetUsagePrice sets the UsagePrice field's value. -func (s *ReservedNodeOffering) SetUsagePrice(v float64) *ReservedNodeOffering { - s.UsagePrice = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResetClusterParameterGroupMessage type ResetClusterParameterGroupInput struct { _ struct{} `type:"structure"` @@ -13459,24 +10615,6 @@ func (s *ResetClusterParameterGroupInput) Validate() error { return nil } -// SetParameterGroupName sets the ParameterGroupName field's value. -func (s *ResetClusterParameterGroupInput) SetParameterGroupName(v string) *ResetClusterParameterGroupInput { - s.ParameterGroupName = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *ResetClusterParameterGroupInput) SetParameters(v []Parameter) *ResetClusterParameterGroupInput { - s.Parameters = v - return s -} - -// SetResetAllParameters sets the ResetAllParameters field's value. -func (s *ResetClusterParameterGroupInput) SetResetAllParameters(v bool) *ResetClusterParameterGroupInput { - s.ResetAllParameters = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterParameterGroupOutput type ResetClusterParameterGroupOutput struct { _ struct{} `type:"structure"` @@ -13507,18 +10645,6 @@ func (s ResetClusterParameterGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetParameterGroupName sets the ParameterGroupName field's value. -func (s *ResetClusterParameterGroupOutput) SetParameterGroupName(v string) *ResetClusterParameterGroupOutput { - s.ParameterGroupName = &v - return s -} - -// SetParameterGroupStatus sets the ParameterGroupStatus field's value. -func (s *ResetClusterParameterGroupOutput) SetParameterGroupStatus(v string) *ResetClusterParameterGroupOutput { - s.ParameterGroupStatus = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshotMessage type RestoreFromClusterSnapshotInput struct { _ struct{} `type:"structure"` @@ -13720,138 +10846,6 @@ func (s *RestoreFromClusterSnapshotInput) Validate() error { return nil } -// SetAdditionalInfo sets the AdditionalInfo field's value. -func (s *RestoreFromClusterSnapshotInput) SetAdditionalInfo(v string) *RestoreFromClusterSnapshotInput { - s.AdditionalInfo = &v - return s -} - -// SetAllowVersionUpgrade sets the AllowVersionUpgrade field's value. -func (s *RestoreFromClusterSnapshotInput) SetAllowVersionUpgrade(v bool) *RestoreFromClusterSnapshotInput { - s.AllowVersionUpgrade = &v - return s -} - -// SetAutomatedSnapshotRetentionPeriod sets the AutomatedSnapshotRetentionPeriod field's value. -func (s *RestoreFromClusterSnapshotInput) SetAutomatedSnapshotRetentionPeriod(v int64) *RestoreFromClusterSnapshotInput { - s.AutomatedSnapshotRetentionPeriod = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *RestoreFromClusterSnapshotInput) SetAvailabilityZone(v string) *RestoreFromClusterSnapshotInput { - s.AvailabilityZone = &v - return s -} - -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *RestoreFromClusterSnapshotInput) SetClusterIdentifier(v string) *RestoreFromClusterSnapshotInput { - s.ClusterIdentifier = &v - return s -} - -// SetClusterParameterGroupName sets the ClusterParameterGroupName field's value. -func (s *RestoreFromClusterSnapshotInput) SetClusterParameterGroupName(v string) *RestoreFromClusterSnapshotInput { - s.ClusterParameterGroupName = &v - return s -} - -// SetClusterSecurityGroups sets the ClusterSecurityGroups field's value. -func (s *RestoreFromClusterSnapshotInput) SetClusterSecurityGroups(v []string) *RestoreFromClusterSnapshotInput { - s.ClusterSecurityGroups = v - return s -} - -// SetClusterSubnetGroupName sets the ClusterSubnetGroupName field's value. -func (s *RestoreFromClusterSnapshotInput) SetClusterSubnetGroupName(v string) *RestoreFromClusterSnapshotInput { - s.ClusterSubnetGroupName = &v - return s -} - -// SetElasticIp sets the ElasticIp field's value. -func (s *RestoreFromClusterSnapshotInput) SetElasticIp(v string) *RestoreFromClusterSnapshotInput { - s.ElasticIp = &v - return s -} - -// SetEnhancedVpcRouting sets the EnhancedVpcRouting field's value. -func (s *RestoreFromClusterSnapshotInput) SetEnhancedVpcRouting(v bool) *RestoreFromClusterSnapshotInput { - s.EnhancedVpcRouting = &v - return s -} - -// SetHsmClientCertificateIdentifier sets the HsmClientCertificateIdentifier field's value. -func (s *RestoreFromClusterSnapshotInput) SetHsmClientCertificateIdentifier(v string) *RestoreFromClusterSnapshotInput { - s.HsmClientCertificateIdentifier = &v - return s -} - -// SetHsmConfigurationIdentifier sets the HsmConfigurationIdentifier field's value. -func (s *RestoreFromClusterSnapshotInput) SetHsmConfigurationIdentifier(v string) *RestoreFromClusterSnapshotInput { - s.HsmConfigurationIdentifier = &v - return s -} - -// SetIamRoles sets the IamRoles field's value. -func (s *RestoreFromClusterSnapshotInput) SetIamRoles(v []string) *RestoreFromClusterSnapshotInput { - s.IamRoles = v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *RestoreFromClusterSnapshotInput) SetKmsKeyId(v string) *RestoreFromClusterSnapshotInput { - s.KmsKeyId = &v - return s -} - -// SetNodeType sets the NodeType field's value. -func (s *RestoreFromClusterSnapshotInput) SetNodeType(v string) *RestoreFromClusterSnapshotInput { - s.NodeType = &v - return s -} - -// SetOwnerAccount sets the OwnerAccount field's value. -func (s *RestoreFromClusterSnapshotInput) SetOwnerAccount(v string) *RestoreFromClusterSnapshotInput { - s.OwnerAccount = &v - return s -} - -// SetPort sets the Port field's value. -func (s *RestoreFromClusterSnapshotInput) SetPort(v int64) *RestoreFromClusterSnapshotInput { - s.Port = &v - return s -} - -// SetPreferredMaintenanceWindow sets the PreferredMaintenanceWindow field's value. -func (s *RestoreFromClusterSnapshotInput) SetPreferredMaintenanceWindow(v string) *RestoreFromClusterSnapshotInput { - s.PreferredMaintenanceWindow = &v - return s -} - -// SetPubliclyAccessible sets the PubliclyAccessible field's value. -func (s *RestoreFromClusterSnapshotInput) SetPubliclyAccessible(v bool) *RestoreFromClusterSnapshotInput { - s.PubliclyAccessible = &v - return s -} - -// SetSnapshotClusterIdentifier sets the SnapshotClusterIdentifier field's value. -func (s *RestoreFromClusterSnapshotInput) SetSnapshotClusterIdentifier(v string) *RestoreFromClusterSnapshotInput { - s.SnapshotClusterIdentifier = &v - return s -} - -// SetSnapshotIdentifier sets the SnapshotIdentifier field's value. -func (s *RestoreFromClusterSnapshotInput) SetSnapshotIdentifier(v string) *RestoreFromClusterSnapshotInput { - s.SnapshotIdentifier = &v - return s -} - -// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value. -func (s *RestoreFromClusterSnapshotInput) SetVpcSecurityGroupIds(v []string) *RestoreFromClusterSnapshotInput { - s.VpcSecurityGroupIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshotResult type RestoreFromClusterSnapshotOutput struct { _ struct{} `type:"structure"` @@ -13877,12 +10871,6 @@ func (s RestoreFromClusterSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *RestoreFromClusterSnapshotOutput) SetCluster(v *Cluster) *RestoreFromClusterSnapshotOutput { - s.Cluster = v - return s -} - // Describes the status of a cluster restore action. Returns null if the cluster // was not created by restoring a snapshot. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreStatus @@ -13922,42 +10910,6 @@ func (s RestoreStatus) GoString() string { return s.String() } -// SetCurrentRestoreRateInMegaBytesPerSecond sets the CurrentRestoreRateInMegaBytesPerSecond field's value. -func (s *RestoreStatus) SetCurrentRestoreRateInMegaBytesPerSecond(v float64) *RestoreStatus { - s.CurrentRestoreRateInMegaBytesPerSecond = &v - return s -} - -// SetElapsedTimeInSeconds sets the ElapsedTimeInSeconds field's value. -func (s *RestoreStatus) SetElapsedTimeInSeconds(v int64) *RestoreStatus { - s.ElapsedTimeInSeconds = &v - return s -} - -// SetEstimatedTimeToCompletionInSeconds sets the EstimatedTimeToCompletionInSeconds field's value. -func (s *RestoreStatus) SetEstimatedTimeToCompletionInSeconds(v int64) *RestoreStatus { - s.EstimatedTimeToCompletionInSeconds = &v - return s -} - -// SetProgressInMegaBytes sets the ProgressInMegaBytes field's value. -func (s *RestoreStatus) SetProgressInMegaBytes(v int64) *RestoreStatus { - s.ProgressInMegaBytes = &v - return s -} - -// SetSnapshotSizeInMegaBytes sets the SnapshotSizeInMegaBytes field's value. -func (s *RestoreStatus) SetSnapshotSizeInMegaBytes(v int64) *RestoreStatus { - s.SnapshotSizeInMegaBytes = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *RestoreStatus) SetStatus(v string) *RestoreStatus { - s.Status = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreTableFromClusterSnapshotMessage type RestoreTableFromClusterSnapshotInput struct { _ struct{} `type:"structure"` @@ -14040,54 +10992,6 @@ func (s *RestoreTableFromClusterSnapshotInput) Validate() error { return nil } -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *RestoreTableFromClusterSnapshotInput) SetClusterIdentifier(v string) *RestoreTableFromClusterSnapshotInput { - s.ClusterIdentifier = &v - return s -} - -// SetNewTableName sets the NewTableName field's value. -func (s *RestoreTableFromClusterSnapshotInput) SetNewTableName(v string) *RestoreTableFromClusterSnapshotInput { - s.NewTableName = &v - return s -} - -// SetSnapshotIdentifier sets the SnapshotIdentifier field's value. -func (s *RestoreTableFromClusterSnapshotInput) SetSnapshotIdentifier(v string) *RestoreTableFromClusterSnapshotInput { - s.SnapshotIdentifier = &v - return s -} - -// SetSourceDatabaseName sets the SourceDatabaseName field's value. -func (s *RestoreTableFromClusterSnapshotInput) SetSourceDatabaseName(v string) *RestoreTableFromClusterSnapshotInput { - s.SourceDatabaseName = &v - return s -} - -// SetSourceSchemaName sets the SourceSchemaName field's value. -func (s *RestoreTableFromClusterSnapshotInput) SetSourceSchemaName(v string) *RestoreTableFromClusterSnapshotInput { - s.SourceSchemaName = &v - return s -} - -// SetSourceTableName sets the SourceTableName field's value. -func (s *RestoreTableFromClusterSnapshotInput) SetSourceTableName(v string) *RestoreTableFromClusterSnapshotInput { - s.SourceTableName = &v - return s -} - -// SetTargetDatabaseName sets the TargetDatabaseName field's value. -func (s *RestoreTableFromClusterSnapshotInput) SetTargetDatabaseName(v string) *RestoreTableFromClusterSnapshotInput { - s.TargetDatabaseName = &v - return s -} - -// SetTargetSchemaName sets the TargetSchemaName field's value. -func (s *RestoreTableFromClusterSnapshotInput) SetTargetSchemaName(v string) *RestoreTableFromClusterSnapshotInput { - s.TargetSchemaName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreTableFromClusterSnapshotResult type RestoreTableFromClusterSnapshotOutput struct { _ struct{} `type:"structure"` @@ -14113,12 +11017,6 @@ func (s RestoreTableFromClusterSnapshotOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetTableRestoreStatus sets the TableRestoreStatus field's value. -func (s *RestoreTableFromClusterSnapshotOutput) SetTableRestoreStatus(v *TableRestoreStatus) *RestoreTableFromClusterSnapshotOutput { - s.TableRestoreStatus = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeClusterSecurityGroupIngressMessage type RevokeClusterSecurityGroupIngressInput struct { _ struct{} `type:"structure"` @@ -14171,30 +11069,6 @@ func (s *RevokeClusterSecurityGroupIngressInput) Validate() error { return nil } -// SetCIDRIP sets the CIDRIP field's value. -func (s *RevokeClusterSecurityGroupIngressInput) SetCIDRIP(v string) *RevokeClusterSecurityGroupIngressInput { - s.CIDRIP = &v - return s -} - -// SetClusterSecurityGroupName sets the ClusterSecurityGroupName field's value. -func (s *RevokeClusterSecurityGroupIngressInput) SetClusterSecurityGroupName(v string) *RevokeClusterSecurityGroupIngressInput { - s.ClusterSecurityGroupName = &v - return s -} - -// SetEC2SecurityGroupName sets the EC2SecurityGroupName field's value. -func (s *RevokeClusterSecurityGroupIngressInput) SetEC2SecurityGroupName(v string) *RevokeClusterSecurityGroupIngressInput { - s.EC2SecurityGroupName = &v - return s -} - -// SetEC2SecurityGroupOwnerId sets the EC2SecurityGroupOwnerId field's value. -func (s *RevokeClusterSecurityGroupIngressInput) SetEC2SecurityGroupOwnerId(v string) *RevokeClusterSecurityGroupIngressInput { - s.EC2SecurityGroupOwnerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeClusterSecurityGroupIngressResult type RevokeClusterSecurityGroupIngressOutput struct { _ struct{} `type:"structure"` @@ -14220,12 +11094,6 @@ func (s RevokeClusterSecurityGroupIngressOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetClusterSecurityGroup sets the ClusterSecurityGroup field's value. -func (s *RevokeClusterSecurityGroupIngressOutput) SetClusterSecurityGroup(v *ClusterSecurityGroup) *RevokeClusterSecurityGroupIngressOutput { - s.ClusterSecurityGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccessMessage type RevokeSnapshotAccessInput struct { _ struct{} `type:"structure"` @@ -14275,24 +11143,6 @@ func (s *RevokeSnapshotAccessInput) Validate() error { return nil } -// SetAccountWithRestoreAccess sets the AccountWithRestoreAccess field's value. -func (s *RevokeSnapshotAccessInput) SetAccountWithRestoreAccess(v string) *RevokeSnapshotAccessInput { - s.AccountWithRestoreAccess = &v - return s -} - -// SetSnapshotClusterIdentifier sets the SnapshotClusterIdentifier field's value. -func (s *RevokeSnapshotAccessInput) SetSnapshotClusterIdentifier(v string) *RevokeSnapshotAccessInput { - s.SnapshotClusterIdentifier = &v - return s -} - -// SetSnapshotIdentifier sets the SnapshotIdentifier field's value. -func (s *RevokeSnapshotAccessInput) SetSnapshotIdentifier(v string) *RevokeSnapshotAccessInput { - s.SnapshotIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccessResult type RevokeSnapshotAccessOutput struct { _ struct{} `type:"structure"` @@ -14318,12 +11168,6 @@ func (s RevokeSnapshotAccessOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSnapshot sets the Snapshot field's value. -func (s *RevokeSnapshotAccessOutput) SetSnapshot(v *Snapshot) *RevokeSnapshotAccessOutput { - s.Snapshot = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RotateEncryptionKeyMessage type RotateEncryptionKeyInput struct { _ struct{} `type:"structure"` @@ -14361,12 +11205,6 @@ func (s *RotateEncryptionKeyInput) Validate() error { return nil } -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *RotateEncryptionKeyInput) SetClusterIdentifier(v string) *RotateEncryptionKeyInput { - s.ClusterIdentifier = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RotateEncryptionKeyResult type RotateEncryptionKeyOutput struct { _ struct{} `type:"structure"` @@ -14392,12 +11230,6 @@ func (s RotateEncryptionKeyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCluster sets the Cluster field's value. -func (s *RotateEncryptionKeyOutput) SetCluster(v *Cluster) *RotateEncryptionKeyOutput { - s.Cluster = v - return s -} - // Describes a snapshot. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Snapshot type Snapshot struct { @@ -14531,180 +11363,6 @@ func (s Snapshot) GoString() string { return s.String() } -// SetAccountsWithRestoreAccess sets the AccountsWithRestoreAccess field's value. -func (s *Snapshot) SetAccountsWithRestoreAccess(v []AccountWithRestoreAccess) *Snapshot { - s.AccountsWithRestoreAccess = v - return s -} - -// SetActualIncrementalBackupSizeInMegaBytes sets the ActualIncrementalBackupSizeInMegaBytes field's value. -func (s *Snapshot) SetActualIncrementalBackupSizeInMegaBytes(v float64) *Snapshot { - s.ActualIncrementalBackupSizeInMegaBytes = &v - return s -} - -// SetAvailabilityZone sets the AvailabilityZone field's value. -func (s *Snapshot) SetAvailabilityZone(v string) *Snapshot { - s.AvailabilityZone = &v - return s -} - -// SetBackupProgressInMegaBytes sets the BackupProgressInMegaBytes field's value. -func (s *Snapshot) SetBackupProgressInMegaBytes(v float64) *Snapshot { - s.BackupProgressInMegaBytes = &v - return s -} - -// SetClusterCreateTime sets the ClusterCreateTime field's value. -func (s *Snapshot) SetClusterCreateTime(v time.Time) *Snapshot { - s.ClusterCreateTime = &v - return s -} - -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *Snapshot) SetClusterIdentifier(v string) *Snapshot { - s.ClusterIdentifier = &v - return s -} - -// SetClusterVersion sets the ClusterVersion field's value. -func (s *Snapshot) SetClusterVersion(v string) *Snapshot { - s.ClusterVersion = &v - return s -} - -// SetCurrentBackupRateInMegaBytesPerSecond sets the CurrentBackupRateInMegaBytesPerSecond field's value. -func (s *Snapshot) SetCurrentBackupRateInMegaBytesPerSecond(v float64) *Snapshot { - s.CurrentBackupRateInMegaBytesPerSecond = &v - return s -} - -// SetDBName sets the DBName field's value. -func (s *Snapshot) SetDBName(v string) *Snapshot { - s.DBName = &v - return s -} - -// SetElapsedTimeInSeconds sets the ElapsedTimeInSeconds field's value. -func (s *Snapshot) SetElapsedTimeInSeconds(v int64) *Snapshot { - s.ElapsedTimeInSeconds = &v - return s -} - -// SetEncrypted sets the Encrypted field's value. -func (s *Snapshot) SetEncrypted(v bool) *Snapshot { - s.Encrypted = &v - return s -} - -// SetEncryptedWithHSM sets the EncryptedWithHSM field's value. -func (s *Snapshot) SetEncryptedWithHSM(v bool) *Snapshot { - s.EncryptedWithHSM = &v - return s -} - -// SetEnhancedVpcRouting sets the EnhancedVpcRouting field's value. -func (s *Snapshot) SetEnhancedVpcRouting(v bool) *Snapshot { - s.EnhancedVpcRouting = &v - return s -} - -// SetEstimatedSecondsToCompletion sets the EstimatedSecondsToCompletion field's value. -func (s *Snapshot) SetEstimatedSecondsToCompletion(v int64) *Snapshot { - s.EstimatedSecondsToCompletion = &v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *Snapshot) SetKmsKeyId(v string) *Snapshot { - s.KmsKeyId = &v - return s -} - -// SetMasterUsername sets the MasterUsername field's value. -func (s *Snapshot) SetMasterUsername(v string) *Snapshot { - s.MasterUsername = &v - return s -} - -// SetNodeType sets the NodeType field's value. -func (s *Snapshot) SetNodeType(v string) *Snapshot { - s.NodeType = &v - return s -} - -// SetNumberOfNodes sets the NumberOfNodes field's value. -func (s *Snapshot) SetNumberOfNodes(v int64) *Snapshot { - s.NumberOfNodes = &v - return s -} - -// SetOwnerAccount sets the OwnerAccount field's value. -func (s *Snapshot) SetOwnerAccount(v string) *Snapshot { - s.OwnerAccount = &v - return s -} - -// SetPort sets the Port field's value. -func (s *Snapshot) SetPort(v int64) *Snapshot { - s.Port = &v - return s -} - -// SetRestorableNodeTypes sets the RestorableNodeTypes field's value. -func (s *Snapshot) SetRestorableNodeTypes(v []string) *Snapshot { - s.RestorableNodeTypes = v - return s -} - -// SetSnapshotCreateTime sets the SnapshotCreateTime field's value. -func (s *Snapshot) SetSnapshotCreateTime(v time.Time) *Snapshot { - s.SnapshotCreateTime = &v - return s -} - -// SetSnapshotIdentifier sets the SnapshotIdentifier field's value. -func (s *Snapshot) SetSnapshotIdentifier(v string) *Snapshot { - s.SnapshotIdentifier = &v - return s -} - -// SetSnapshotType sets the SnapshotType field's value. -func (s *Snapshot) SetSnapshotType(v string) *Snapshot { - s.SnapshotType = &v - return s -} - -// SetSourceRegion sets the SourceRegion field's value. -func (s *Snapshot) SetSourceRegion(v string) *Snapshot { - s.SourceRegion = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Snapshot) SetStatus(v string) *Snapshot { - s.Status = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *Snapshot) SetTags(v []Tag) *Snapshot { - s.Tags = v - return s -} - -// SetTotalBackupSizeInMegaBytes sets the TotalBackupSizeInMegaBytes field's value. -func (s *Snapshot) SetTotalBackupSizeInMegaBytes(v float64) *Snapshot { - s.TotalBackupSizeInMegaBytes = &v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *Snapshot) SetVpcId(v string) *Snapshot { - s.VpcId = &v - return s -} - // The snapshot copy grant that grants Amazon Redshift permission to encrypt // copied snapshots with the specified customer master key (CMK) from AWS KMS // in the destination region. @@ -14737,24 +11395,6 @@ func (s SnapshotCopyGrant) GoString() string { return s.String() } -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *SnapshotCopyGrant) SetKmsKeyId(v string) *SnapshotCopyGrant { - s.KmsKeyId = &v - return s -} - -// SetSnapshotCopyGrantName sets the SnapshotCopyGrantName field's value. -func (s *SnapshotCopyGrant) SetSnapshotCopyGrantName(v string) *SnapshotCopyGrant { - s.SnapshotCopyGrantName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *SnapshotCopyGrant) SetTags(v []Tag) *SnapshotCopyGrant { - s.Tags = v - return s -} - // Describes a subnet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Subnet type Subnet struct { @@ -14780,24 +11420,6 @@ func (s Subnet) GoString() string { return s.String() } -// SetSubnetAvailabilityZone sets the SubnetAvailabilityZone field's value. -func (s *Subnet) SetSubnetAvailabilityZone(v *AvailabilityZone) *Subnet { - s.SubnetAvailabilityZone = v - return s -} - -// SetSubnetIdentifier sets the SubnetIdentifier field's value. -func (s *Subnet) SetSubnetIdentifier(v string) *Subnet { - s.SubnetIdentifier = &v - return s -} - -// SetSubnetStatus sets the SubnetStatus field's value. -func (s *Subnet) SetSubnetStatus(v string) *Subnet { - s.SubnetStatus = &v - return s -} - // Describes the status of a RestoreTableFromClusterSnapshot operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/TableRestoreStatus type TableRestoreStatus struct { @@ -14861,90 +11483,6 @@ func (s TableRestoreStatus) GoString() string { return s.String() } -// SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *TableRestoreStatus) SetClusterIdentifier(v string) *TableRestoreStatus { - s.ClusterIdentifier = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *TableRestoreStatus) SetMessage(v string) *TableRestoreStatus { - s.Message = &v - return s -} - -// SetNewTableName sets the NewTableName field's value. -func (s *TableRestoreStatus) SetNewTableName(v string) *TableRestoreStatus { - s.NewTableName = &v - return s -} - -// SetProgressInMegaBytes sets the ProgressInMegaBytes field's value. -func (s *TableRestoreStatus) SetProgressInMegaBytes(v int64) *TableRestoreStatus { - s.ProgressInMegaBytes = &v - return s -} - -// SetRequestTime sets the RequestTime field's value. -func (s *TableRestoreStatus) SetRequestTime(v time.Time) *TableRestoreStatus { - s.RequestTime = &v - return s -} - -// SetSnapshotIdentifier sets the SnapshotIdentifier field's value. -func (s *TableRestoreStatus) SetSnapshotIdentifier(v string) *TableRestoreStatus { - s.SnapshotIdentifier = &v - return s -} - -// SetSourceDatabaseName sets the SourceDatabaseName field's value. -func (s *TableRestoreStatus) SetSourceDatabaseName(v string) *TableRestoreStatus { - s.SourceDatabaseName = &v - return s -} - -// SetSourceSchemaName sets the SourceSchemaName field's value. -func (s *TableRestoreStatus) SetSourceSchemaName(v string) *TableRestoreStatus { - s.SourceSchemaName = &v - return s -} - -// SetSourceTableName sets the SourceTableName field's value. -func (s *TableRestoreStatus) SetSourceTableName(v string) *TableRestoreStatus { - s.SourceTableName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *TableRestoreStatus) SetStatus(v TableRestoreStatusType) *TableRestoreStatus { - s.Status = v - return s -} - -// SetTableRestoreRequestId sets the TableRestoreRequestId field's value. -func (s *TableRestoreStatus) SetTableRestoreRequestId(v string) *TableRestoreStatus { - s.TableRestoreRequestId = &v - return s -} - -// SetTargetDatabaseName sets the TargetDatabaseName field's value. -func (s *TableRestoreStatus) SetTargetDatabaseName(v string) *TableRestoreStatus { - s.TargetDatabaseName = &v - return s -} - -// SetTargetSchemaName sets the TargetSchemaName field's value. -func (s *TableRestoreStatus) SetTargetSchemaName(v string) *TableRestoreStatus { - s.TargetSchemaName = &v - return s -} - -// SetTotalDataInMegaBytes sets the TotalDataInMegaBytes field's value. -func (s *TableRestoreStatus) SetTotalDataInMegaBytes(v int64) *TableRestoreStatus { - s.TotalDataInMegaBytes = &v - return s -} - // A tag consisting of a name/value pair for a resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/Tag type Tag struct { @@ -14967,18 +11505,6 @@ func (s Tag) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // A tag and its associated resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/TaggedResource type TaggedResource struct { @@ -15028,24 +11554,6 @@ func (s TaggedResource) GoString() string { return s.String() } -// SetResourceName sets the ResourceName field's value. -func (s *TaggedResource) SetResourceName(v string) *TaggedResource { - s.ResourceName = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *TaggedResource) SetResourceType(v string) *TaggedResource { - s.ResourceType = &v - return s -} - -// SetTag sets the Tag field's value. -func (s *TaggedResource) SetTag(v *Tag) *TaggedResource { - s.Tag = v - return s -} - // Describes the members of a VPC security group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/VpcSecurityGroupMembership type VpcSecurityGroupMembership struct { @@ -15068,18 +11576,6 @@ func (s VpcSecurityGroupMembership) GoString() string { return s.String() } -// SetStatus sets the Status field's value. -func (s *VpcSecurityGroupMembership) SetStatus(v string) *VpcSecurityGroupMembership { - s.Status = &v - return s -} - -// SetVpcSecurityGroupId sets the VpcSecurityGroupId field's value. -func (s *VpcSecurityGroupMembership) SetVpcSecurityGroupId(v string) *VpcSecurityGroupMembership { - s.VpcSecurityGroupId = &v - return s -} - type ParameterApplyType string // Enum values for ParameterApplyType diff --git a/service/rekognition/api.go b/service/rekognition/api.go index c3ff68a8528..5ece2ebe407 100644 --- a/service/rekognition/api.go +++ b/service/rekognition/api.go @@ -2637,18 +2637,6 @@ func (s AgeRange) GoString() string { return s.String() } -// SetHigh sets the High field's value. -func (s *AgeRange) SetHigh(v int64) *AgeRange { - s.High = &v - return s -} - -// SetLow sets the Low field's value. -func (s *AgeRange) SetLow(v int64) *AgeRange { - s.Low = &v - return s -} - // Indicates whether or not the face has a beard, and the confidence level in // the determination. type Beard struct { @@ -2671,18 +2659,6 @@ func (s Beard) GoString() string { return s.String() } -// SetConfidence sets the Confidence field's value. -func (s *Beard) SetConfidence(v float64) *Beard { - s.Confidence = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Beard) SetValue(v bool) *Beard { - s.Value = &v - return s -} - // Identifies the bounding box around the object, face or text. The left (x-coordinate) // and top (y-coordinate) are coordinates representing the top and left sides // of the bounding box. Note that the upper-left corner of the image is the @@ -2729,30 +2705,6 @@ func (s BoundingBox) GoString() string { return s.String() } -// SetHeight sets the Height field's value. -func (s *BoundingBox) SetHeight(v float64) *BoundingBox { - s.Height = &v - return s -} - -// SetLeft sets the Left field's value. -func (s *BoundingBox) SetLeft(v float64) *BoundingBox { - s.Left = &v - return s -} - -// SetTop sets the Top field's value. -func (s *BoundingBox) SetTop(v float64) *BoundingBox { - s.Top = &v - return s -} - -// SetWidth sets the Width field's value. -func (s *BoundingBox) SetWidth(v float64) *BoundingBox { - s.Width = &v - return s -} - // Provides information about a celebrity recognized by the operation. type Celebrity struct { _ struct{} `type:"structure"` @@ -2786,36 +2738,6 @@ func (s Celebrity) GoString() string { return s.String() } -// SetFace sets the Face field's value. -func (s *Celebrity) SetFace(v *ComparedFace) *Celebrity { - s.Face = v - return s -} - -// SetId sets the Id field's value. -func (s *Celebrity) SetId(v string) *Celebrity { - s.Id = &v - return s -} - -// SetMatchConfidence sets the MatchConfidence field's value. -func (s *Celebrity) SetMatchConfidence(v float64) *Celebrity { - s.MatchConfidence = &v - return s -} - -// SetName sets the Name field's value. -func (s *Celebrity) SetName(v string) *Celebrity { - s.Name = &v - return s -} - -// SetUrls sets the Urls field's value. -func (s *Celebrity) SetUrls(v []string) *Celebrity { - s.Urls = v - return s -} - // Information about a recognized celebrity. type CelebrityDetail struct { _ struct{} `type:"structure"` @@ -2850,42 +2772,6 @@ func (s CelebrityDetail) GoString() string { return s.String() } -// SetBoundingBox sets the BoundingBox field's value. -func (s *CelebrityDetail) SetBoundingBox(v *BoundingBox) *CelebrityDetail { - s.BoundingBox = v - return s -} - -// SetConfidence sets the Confidence field's value. -func (s *CelebrityDetail) SetConfidence(v float64) *CelebrityDetail { - s.Confidence = &v - return s -} - -// SetFace sets the Face field's value. -func (s *CelebrityDetail) SetFace(v *FaceDetail) *CelebrityDetail { - s.Face = v - return s -} - -// SetId sets the Id field's value. -func (s *CelebrityDetail) SetId(v string) *CelebrityDetail { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *CelebrityDetail) SetName(v string) *CelebrityDetail { - s.Name = &v - return s -} - -// SetUrls sets the Urls field's value. -func (s *CelebrityDetail) SetUrls(v []string) *CelebrityDetail { - s.Urls = v - return s -} - // Information about a detected celebrity and the time the celebrity was detected // in a stored video. For more information, see . type CelebrityRecognition struct { @@ -2909,18 +2795,6 @@ func (s CelebrityRecognition) GoString() string { return s.String() } -// SetCelebrity sets the Celebrity field's value. -func (s *CelebrityRecognition) SetCelebrity(v *CelebrityDetail) *CelebrityRecognition { - s.Celebrity = v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *CelebrityRecognition) SetTimestamp(v int64) *CelebrityRecognition { - s.Timestamp = &v - return s -} - type CompareFacesInput struct { _ struct{} `type:"structure"` @@ -2981,24 +2855,6 @@ func (s *CompareFacesInput) Validate() error { return nil } -// SetSimilarityThreshold sets the SimilarityThreshold field's value. -func (s *CompareFacesInput) SetSimilarityThreshold(v float64) *CompareFacesInput { - s.SimilarityThreshold = &v - return s -} - -// SetSourceImage sets the SourceImage field's value. -func (s *CompareFacesInput) SetSourceImage(v *Image) *CompareFacesInput { - s.SourceImage = v - return s -} - -// SetTargetImage sets the TargetImage field's value. -func (s *CompareFacesInput) SetTargetImage(v *Image) *CompareFacesInput { - s.TargetImage = v - return s -} - // Provides information about a face in a target image that matches the source // image face analysed by CompareFaces. The Face property contains the bounding // box of the face in the target image. The Similarity property is the confidence @@ -3024,18 +2880,6 @@ func (s CompareFacesMatch) GoString() string { return s.String() } -// SetFace sets the Face field's value. -func (s *CompareFacesMatch) SetFace(v *ComparedFace) *CompareFacesMatch { - s.Face = v - return s -} - -// SetSimilarity sets the Similarity field's value. -func (s *CompareFacesMatch) SetSimilarity(v float64) *CompareFacesMatch { - s.Similarity = &v - return s -} - type CompareFacesOutput struct { _ struct{} `type:"structure"` @@ -3097,36 +2941,6 @@ func (s CompareFacesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFaceMatches sets the FaceMatches field's value. -func (s *CompareFacesOutput) SetFaceMatches(v []CompareFacesMatch) *CompareFacesOutput { - s.FaceMatches = v - return s -} - -// SetSourceImageFace sets the SourceImageFace field's value. -func (s *CompareFacesOutput) SetSourceImageFace(v *ComparedSourceImageFace) *CompareFacesOutput { - s.SourceImageFace = v - return s -} - -// SetSourceImageOrientationCorrection sets the SourceImageOrientationCorrection field's value. -func (s *CompareFacesOutput) SetSourceImageOrientationCorrection(v OrientationCorrection) *CompareFacesOutput { - s.SourceImageOrientationCorrection = v - return s -} - -// SetTargetImageOrientationCorrection sets the TargetImageOrientationCorrection field's value. -func (s *CompareFacesOutput) SetTargetImageOrientationCorrection(v OrientationCorrection) *CompareFacesOutput { - s.TargetImageOrientationCorrection = v - return s -} - -// SetUnmatchedFaces sets the UnmatchedFaces field's value. -func (s *CompareFacesOutput) SetUnmatchedFaces(v []ComparedFace) *CompareFacesOutput { - s.UnmatchedFaces = v - return s -} - // Provides face metadata for target image faces that are analysed by CompareFaces // and RecognizeCelebrities. type ComparedFace struct { @@ -3158,36 +2972,6 @@ func (s ComparedFace) GoString() string { return s.String() } -// SetBoundingBox sets the BoundingBox field's value. -func (s *ComparedFace) SetBoundingBox(v *BoundingBox) *ComparedFace { - s.BoundingBox = v - return s -} - -// SetConfidence sets the Confidence field's value. -func (s *ComparedFace) SetConfidence(v float64) *ComparedFace { - s.Confidence = &v - return s -} - -// SetLandmarks sets the Landmarks field's value. -func (s *ComparedFace) SetLandmarks(v []Landmark) *ComparedFace { - s.Landmarks = v - return s -} - -// SetPose sets the Pose field's value. -func (s *ComparedFace) SetPose(v *Pose) *ComparedFace { - s.Pose = v - return s -} - -// SetQuality sets the Quality field's value. -func (s *ComparedFace) SetQuality(v *ImageQuality) *ComparedFace { - s.Quality = v - return s -} - // Type that describes the face Amazon Rekognition chose to compare with the // faces in the target. This contains a bounding box for the selected face and // confidence level that the bounding box contains a face. Note that Amazon @@ -3212,18 +2996,6 @@ func (s ComparedSourceImageFace) GoString() string { return s.String() } -// SetBoundingBox sets the BoundingBox field's value. -func (s *ComparedSourceImageFace) SetBoundingBox(v *BoundingBox) *ComparedSourceImageFace { - s.BoundingBox = v - return s -} - -// SetConfidence sets the Confidence field's value. -func (s *ComparedSourceImageFace) SetConfidence(v float64) *ComparedSourceImageFace { - s.Confidence = &v - return s -} - // Information about a moderation label detection in a stored video. type ContentModerationDetection struct { _ struct{} `type:"structure"` @@ -3246,18 +3018,6 @@ func (s ContentModerationDetection) GoString() string { return s.String() } -// SetModerationLabel sets the ModerationLabel field's value. -func (s *ContentModerationDetection) SetModerationLabel(v *ModerationLabel) *ContentModerationDetection { - s.ModerationLabel = v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *ContentModerationDetection) SetTimestamp(v int64) *ContentModerationDetection { - s.Timestamp = &v - return s -} - type CreateCollectionInput struct { _ struct{} `type:"structure"` @@ -3294,12 +3054,6 @@ func (s *CreateCollectionInput) Validate() error { return nil } -// SetCollectionId sets the CollectionId field's value. -func (s *CreateCollectionInput) SetCollectionId(v string) *CreateCollectionInput { - s.CollectionId = &v - return s -} - type CreateCollectionOutput struct { _ struct{} `type:"structure"` @@ -3332,24 +3086,6 @@ func (s CreateCollectionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCollectionArn sets the CollectionArn field's value. -func (s *CreateCollectionOutput) SetCollectionArn(v string) *CreateCollectionOutput { - s.CollectionArn = &v - return s -} - -// SetFaceModelVersion sets the FaceModelVersion field's value. -func (s *CreateCollectionOutput) SetFaceModelVersion(v string) *CreateCollectionOutput { - s.FaceModelVersion = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *CreateCollectionOutput) SetStatusCode(v int64) *CreateCollectionOutput { - s.StatusCode = &v - return s -} - type CreateStreamProcessorInput struct { _ struct{} `type:"structure"` @@ -3432,36 +3168,6 @@ func (s *CreateStreamProcessorInput) Validate() error { return nil } -// SetInput sets the Input field's value. -func (s *CreateStreamProcessorInput) SetInput(v *StreamProcessorInput) *CreateStreamProcessorInput { - s.Input = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateStreamProcessorInput) SetName(v string) *CreateStreamProcessorInput { - s.Name = &v - return s -} - -// SetOutput sets the Output field's value. -func (s *CreateStreamProcessorInput) SetOutput(v *StreamProcessorOutput) *CreateStreamProcessorInput { - s.Output = v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *CreateStreamProcessorInput) SetRoleArn(v string) *CreateStreamProcessorInput { - s.RoleArn = &v - return s -} - -// SetSettings sets the Settings field's value. -func (s *CreateStreamProcessorInput) SetSettings(v *StreamProcessorSettings) *CreateStreamProcessorInput { - s.Settings = v - return s -} - type CreateStreamProcessorOutput struct { _ struct{} `type:"structure"` @@ -3486,12 +3192,6 @@ func (s CreateStreamProcessorOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStreamProcessorArn sets the StreamProcessorArn field's value. -func (s *CreateStreamProcessorOutput) SetStreamProcessorArn(v string) *CreateStreamProcessorOutput { - s.StreamProcessorArn = &v - return s -} - type DeleteCollectionInput struct { _ struct{} `type:"structure"` @@ -3528,12 +3228,6 @@ func (s *DeleteCollectionInput) Validate() error { return nil } -// SetCollectionId sets the CollectionId field's value. -func (s *DeleteCollectionInput) SetCollectionId(v string) *DeleteCollectionInput { - s.CollectionId = &v - return s -} - type DeleteCollectionOutput struct { _ struct{} `type:"structure"` @@ -3558,12 +3252,6 @@ func (s DeleteCollectionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStatusCode sets the StatusCode field's value. -func (s *DeleteCollectionOutput) SetStatusCode(v int64) *DeleteCollectionOutput { - s.StatusCode = &v - return s -} - type DeleteFacesInput struct { _ struct{} `type:"structure"` @@ -3612,18 +3300,6 @@ func (s *DeleteFacesInput) Validate() error { return nil } -// SetCollectionId sets the CollectionId field's value. -func (s *DeleteFacesInput) SetCollectionId(v string) *DeleteFacesInput { - s.CollectionId = &v - return s -} - -// SetFaceIds sets the FaceIds field's value. -func (s *DeleteFacesInput) SetFaceIds(v []string) *DeleteFacesInput { - s.FaceIds = v - return s -} - type DeleteFacesOutput struct { _ struct{} `type:"structure"` @@ -3648,12 +3324,6 @@ func (s DeleteFacesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeletedFaces sets the DeletedFaces field's value. -func (s *DeleteFacesOutput) SetDeletedFaces(v []string) *DeleteFacesOutput { - s.DeletedFaces = v - return s -} - type DeleteStreamProcessorInput struct { _ struct{} `type:"structure"` @@ -3690,12 +3360,6 @@ func (s *DeleteStreamProcessorInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteStreamProcessorInput) SetName(v string) *DeleteStreamProcessorInput { - s.Name = &v - return s -} - type DeleteStreamProcessorOutput struct { _ struct{} `type:"structure"` @@ -3753,12 +3417,6 @@ func (s *DescribeStreamProcessorInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DescribeStreamProcessorInput) SetName(v string) *DescribeStreamProcessorInput { - s.Name = &v - return s -} - type DescribeStreamProcessorOutput struct { _ struct{} `type:"structure"` @@ -3814,66 +3472,6 @@ func (s DescribeStreamProcessorOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreationTimestamp sets the CreationTimestamp field's value. -func (s *DescribeStreamProcessorOutput) SetCreationTimestamp(v time.Time) *DescribeStreamProcessorOutput { - s.CreationTimestamp = &v - return s -} - -// SetInput sets the Input field's value. -func (s *DescribeStreamProcessorOutput) SetInput(v *StreamProcessorInput) *DescribeStreamProcessorOutput { - s.Input = v - return s -} - -// SetLastUpdateTimestamp sets the LastUpdateTimestamp field's value. -func (s *DescribeStreamProcessorOutput) SetLastUpdateTimestamp(v time.Time) *DescribeStreamProcessorOutput { - s.LastUpdateTimestamp = &v - return s -} - -// SetName sets the Name field's value. -func (s *DescribeStreamProcessorOutput) SetName(v string) *DescribeStreamProcessorOutput { - s.Name = &v - return s -} - -// SetOutput sets the Output field's value. -func (s *DescribeStreamProcessorOutput) SetOutput(v *StreamProcessorOutput) *DescribeStreamProcessorOutput { - s.Output = v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *DescribeStreamProcessorOutput) SetRoleArn(v string) *DescribeStreamProcessorOutput { - s.RoleArn = &v - return s -} - -// SetSettings sets the Settings field's value. -func (s *DescribeStreamProcessorOutput) SetSettings(v *StreamProcessorSettings) *DescribeStreamProcessorOutput { - s.Settings = v - return s -} - -// SetStatus sets the Status field's value. -func (s *DescribeStreamProcessorOutput) SetStatus(v StreamProcessorStatus) *DescribeStreamProcessorOutput { - s.Status = v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *DescribeStreamProcessorOutput) SetStatusMessage(v string) *DescribeStreamProcessorOutput { - s.StatusMessage = &v - return s -} - -// SetStreamProcessorArn sets the StreamProcessorArn field's value. -func (s *DescribeStreamProcessorOutput) SetStreamProcessorArn(v string) *DescribeStreamProcessorOutput { - s.StreamProcessorArn = &v - return s -} - type DetectFacesInput struct { _ struct{} `type:"structure"` @@ -3925,18 +3523,6 @@ func (s *DetectFacesInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *DetectFacesInput) SetAttributes(v []Attribute) *DetectFacesInput { - s.Attributes = v - return s -} - -// SetImage sets the Image field's value. -func (s *DetectFacesInput) SetImage(v *Image) *DetectFacesInput { - s.Image = v - return s -} - type DetectFacesOutput struct { _ struct{} `type:"structure"` @@ -3974,18 +3560,6 @@ func (s DetectFacesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFaceDetails sets the FaceDetails field's value. -func (s *DetectFacesOutput) SetFaceDetails(v []FaceDetail) *DetectFacesOutput { - s.FaceDetails = v - return s -} - -// SetOrientationCorrection sets the OrientationCorrection field's value. -func (s *DetectFacesOutput) SetOrientationCorrection(v OrientationCorrection) *DetectFacesOutput { - s.OrientationCorrection = v - return s -} - type DetectLabelsInput struct { _ struct{} `type:"structure"` @@ -4037,24 +3611,6 @@ func (s *DetectLabelsInput) Validate() error { return nil } -// SetImage sets the Image field's value. -func (s *DetectLabelsInput) SetImage(v *Image) *DetectLabelsInput { - s.Image = v - return s -} - -// SetMaxLabels sets the MaxLabels field's value. -func (s *DetectLabelsInput) SetMaxLabels(v int64) *DetectLabelsInput { - s.MaxLabels = &v - return s -} - -// SetMinConfidence sets the MinConfidence field's value. -func (s *DetectLabelsInput) SetMinConfidence(v float64) *DetectLabelsInput { - s.MinConfidence = &v - return s -} - type DetectLabelsOutput struct { _ struct{} `type:"structure"` @@ -4089,18 +3645,6 @@ func (s DetectLabelsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLabels sets the Labels field's value. -func (s *DetectLabelsOutput) SetLabels(v []Label) *DetectLabelsOutput { - s.Labels = v - return s -} - -// SetOrientationCorrection sets the OrientationCorrection field's value. -func (s *DetectLabelsOutput) SetOrientationCorrection(v OrientationCorrection) *DetectLabelsOutput { - s.OrientationCorrection = v - return s -} - type DetectModerationLabelsInput struct { _ struct{} `type:"structure"` @@ -4149,18 +3693,6 @@ func (s *DetectModerationLabelsInput) Validate() error { return nil } -// SetImage sets the Image field's value. -func (s *DetectModerationLabelsInput) SetImage(v *Image) *DetectModerationLabelsInput { - s.Image = v - return s -} - -// SetMinConfidence sets the MinConfidence field's value. -func (s *DetectModerationLabelsInput) SetMinConfidence(v float64) *DetectModerationLabelsInput { - s.MinConfidence = &v - return s -} - type DetectModerationLabelsOutput struct { _ struct{} `type:"structure"` @@ -4186,12 +3718,6 @@ func (s DetectModerationLabelsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetModerationLabels sets the ModerationLabels field's value. -func (s *DetectModerationLabelsOutput) SetModerationLabels(v []ModerationLabel) *DetectModerationLabelsOutput { - s.ModerationLabels = v - return s -} - type DetectTextInput struct { _ struct{} `type:"structure"` @@ -4231,12 +3757,6 @@ func (s *DetectTextInput) Validate() error { return nil } -// SetImage sets the Image field's value. -func (s *DetectTextInput) SetImage(v *Image) *DetectTextInput { - s.Image = v - return s -} - type DetectTextOutput struct { _ struct{} `type:"structure"` @@ -4261,12 +3781,6 @@ func (s DetectTextOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTextDetections sets the TextDetections field's value. -func (s *DetectTextOutput) SetTextDetections(v []TextDetection) *DetectTextOutput { - s.TextDetections = v - return s -} - // The emotions detected on the face, and the confidence level in the determination. // For example, HAPPY, SAD, and ANGRY. type Emotion struct { @@ -4289,18 +3803,6 @@ func (s Emotion) GoString() string { return s.String() } -// SetConfidence sets the Confidence field's value. -func (s *Emotion) SetConfidence(v float64) *Emotion { - s.Confidence = &v - return s -} - -// SetType sets the Type field's value. -func (s *Emotion) SetType(v EmotionName) *Emotion { - s.Type = v - return s -} - // Indicates whether or not the eyes on the face are open, and the confidence // level in the determination. type EyeOpen struct { @@ -4323,18 +3825,6 @@ func (s EyeOpen) GoString() string { return s.String() } -// SetConfidence sets the Confidence field's value. -func (s *EyeOpen) SetConfidence(v float64) *EyeOpen { - s.Confidence = &v - return s -} - -// SetValue sets the Value field's value. -func (s *EyeOpen) SetValue(v bool) *EyeOpen { - s.Value = &v - return s -} - // Indicates whether or not the face is wearing eye glasses, and the confidence // level in the determination. type Eyeglasses struct { @@ -4357,18 +3847,6 @@ func (s Eyeglasses) GoString() string { return s.String() } -// SetConfidence sets the Confidence field's value. -func (s *Eyeglasses) SetConfidence(v float64) *Eyeglasses { - s.Confidence = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Eyeglasses) SetValue(v bool) *Eyeglasses { - s.Value = &v - return s -} - // Describes the face properties such as the bounding box, face ID, image ID // of the input image, and external image ID that you assigned. type Face struct { @@ -4401,36 +3879,6 @@ func (s Face) GoString() string { return s.String() } -// SetBoundingBox sets the BoundingBox field's value. -func (s *Face) SetBoundingBox(v *BoundingBox) *Face { - s.BoundingBox = v - return s -} - -// SetConfidence sets the Confidence field's value. -func (s *Face) SetConfidence(v float64) *Face { - s.Confidence = &v - return s -} - -// SetExternalImageId sets the ExternalImageId field's value. -func (s *Face) SetExternalImageId(v string) *Face { - s.ExternalImageId = &v - return s -} - -// SetFaceId sets the FaceId field's value. -func (s *Face) SetFaceId(v string) *Face { - s.FaceId = &v - return s -} - -// SetImageId sets the ImageId field's value. -func (s *Face) SetImageId(v string) *Face { - s.ImageId = &v - return s -} - // Structure containing attributes of the face that the algorithm detected. type FaceDetail struct { _ struct{} `type:"structure"` @@ -4501,96 +3949,6 @@ func (s FaceDetail) GoString() string { return s.String() } -// SetAgeRange sets the AgeRange field's value. -func (s *FaceDetail) SetAgeRange(v *AgeRange) *FaceDetail { - s.AgeRange = v - return s -} - -// SetBeard sets the Beard field's value. -func (s *FaceDetail) SetBeard(v *Beard) *FaceDetail { - s.Beard = v - return s -} - -// SetBoundingBox sets the BoundingBox field's value. -func (s *FaceDetail) SetBoundingBox(v *BoundingBox) *FaceDetail { - s.BoundingBox = v - return s -} - -// SetConfidence sets the Confidence field's value. -func (s *FaceDetail) SetConfidence(v float64) *FaceDetail { - s.Confidence = &v - return s -} - -// SetEmotions sets the Emotions field's value. -func (s *FaceDetail) SetEmotions(v []Emotion) *FaceDetail { - s.Emotions = v - return s -} - -// SetEyeglasses sets the Eyeglasses field's value. -func (s *FaceDetail) SetEyeglasses(v *Eyeglasses) *FaceDetail { - s.Eyeglasses = v - return s -} - -// SetEyesOpen sets the EyesOpen field's value. -func (s *FaceDetail) SetEyesOpen(v *EyeOpen) *FaceDetail { - s.EyesOpen = v - return s -} - -// SetGender sets the Gender field's value. -func (s *FaceDetail) SetGender(v *Gender) *FaceDetail { - s.Gender = v - return s -} - -// SetLandmarks sets the Landmarks field's value. -func (s *FaceDetail) SetLandmarks(v []Landmark) *FaceDetail { - s.Landmarks = v - return s -} - -// SetMouthOpen sets the MouthOpen field's value. -func (s *FaceDetail) SetMouthOpen(v *MouthOpen) *FaceDetail { - s.MouthOpen = v - return s -} - -// SetMustache sets the Mustache field's value. -func (s *FaceDetail) SetMustache(v *Mustache) *FaceDetail { - s.Mustache = v - return s -} - -// SetPose sets the Pose field's value. -func (s *FaceDetail) SetPose(v *Pose) *FaceDetail { - s.Pose = v - return s -} - -// SetQuality sets the Quality field's value. -func (s *FaceDetail) SetQuality(v *ImageQuality) *FaceDetail { - s.Quality = v - return s -} - -// SetSmile sets the Smile field's value. -func (s *FaceDetail) SetSmile(v *Smile) *FaceDetail { - s.Smile = v - return s -} - -// SetSunglasses sets the Sunglasses field's value. -func (s *FaceDetail) SetSunglasses(v *Sunglasses) *FaceDetail { - s.Sunglasses = v - return s -} - // Information about a face detected in a video analysis request and the time // the face was detected in the video. type FaceDetection struct { @@ -4613,18 +3971,6 @@ func (s FaceDetection) GoString() string { return s.String() } -// SetFace sets the Face field's value. -func (s *FaceDetection) SetFace(v *FaceDetail) *FaceDetection { - s.Face = v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *FaceDetection) SetTimestamp(v int64) *FaceDetection { - s.Timestamp = &v - return s -} - // Provides face metadata. In addition, it also provides the confidence in the // match of this face with the input face. type FaceMatch struct { @@ -4648,18 +3994,6 @@ func (s FaceMatch) GoString() string { return s.String() } -// SetFace sets the Face field's value. -func (s *FaceMatch) SetFace(v *Face) *FaceMatch { - s.Face = v - return s -} - -// SetSimilarity sets the Similarity field's value. -func (s *FaceMatch) SetSimilarity(v float64) *FaceMatch { - s.Similarity = &v - return s -} - // Object containing both the face metadata (stored in the back-end database) // and facial attributes that are detected but aren't stored in the database. type FaceRecord struct { @@ -4683,18 +4017,6 @@ func (s FaceRecord) GoString() string { return s.String() } -// SetFace sets the Face field's value. -func (s *FaceRecord) SetFace(v *Face) *FaceRecord { - s.Face = v - return s -} - -// SetFaceDetail sets the FaceDetail field's value. -func (s *FaceRecord) SetFaceDetail(v *FaceDetail) *FaceRecord { - s.FaceDetail = v - return s -} - // Input face recognition parameters for an Amazon Rekognition stream processor. // FaceRecognitionSettings is a request parameter for . type FaceSearchSettings struct { @@ -4732,18 +4054,6 @@ func (s *FaceSearchSettings) Validate() error { return nil } -// SetCollectionId sets the CollectionId field's value. -func (s *FaceSearchSettings) SetCollectionId(v string) *FaceSearchSettings { - s.CollectionId = &v - return s -} - -// SetFaceMatchThreshold sets the FaceMatchThreshold field's value. -func (s *FaceSearchSettings) SetFaceMatchThreshold(v float64) *FaceSearchSettings { - s.FaceMatchThreshold = &v - return s -} - // Gender of the face and the confidence level in the determination. type Gender struct { _ struct{} `type:"structure"` @@ -4765,18 +4075,6 @@ func (s Gender) GoString() string { return s.String() } -// SetConfidence sets the Confidence field's value. -func (s *Gender) SetConfidence(v float64) *Gender { - s.Confidence = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Gender) SetValue(v GenderType) *Gender { - s.Value = v - return s -} - // Information about where text detected by is located on an image. type Geometry struct { _ struct{} `type:"structure"` @@ -4799,18 +4097,6 @@ func (s Geometry) GoString() string { return s.String() } -// SetBoundingBox sets the BoundingBox field's value. -func (s *Geometry) SetBoundingBox(v *BoundingBox) *Geometry { - s.BoundingBox = v - return s -} - -// SetPolygon sets the Polygon field's value. -func (s *Geometry) SetPolygon(v []Point) *Geometry { - s.Polygon = v - return s -} - type GetCelebrityInfoInput struct { _ struct{} `type:"structure"` @@ -4845,12 +4131,6 @@ func (s *GetCelebrityInfoInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *GetCelebrityInfoInput) SetId(v string) *GetCelebrityInfoInput { - s.Id = &v - return s -} - type GetCelebrityInfoOutput struct { _ struct{} `type:"structure"` @@ -4878,18 +4158,6 @@ func (s GetCelebrityInfoOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetName sets the Name field's value. -func (s *GetCelebrityInfoOutput) SetName(v string) *GetCelebrityInfoOutput { - s.Name = &v - return s -} - -// SetUrls sets the Urls field's value. -func (s *GetCelebrityInfoOutput) SetUrls(v []string) *GetCelebrityInfoOutput { - s.Urls = v - return s -} - type GetCelebrityRecognitionInput struct { _ struct{} `type:"structure"` @@ -4945,30 +4213,6 @@ func (s *GetCelebrityRecognitionInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *GetCelebrityRecognitionInput) SetJobId(v string) *GetCelebrityRecognitionInput { - s.JobId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetCelebrityRecognitionInput) SetMaxResults(v int64) *GetCelebrityRecognitionInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetCelebrityRecognitionInput) SetNextToken(v string) *GetCelebrityRecognitionInput { - s.NextToken = &v - return s -} - -// SetSortBy sets the SortBy field's value. -func (s *GetCelebrityRecognitionInput) SetSortBy(v CelebrityRecognitionSortBy) *GetCelebrityRecognitionInput { - s.SortBy = v - return s -} - type GetCelebrityRecognitionOutput struct { _ struct{} `type:"structure"` @@ -5008,36 +4252,6 @@ func (s GetCelebrityRecognitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCelebrities sets the Celebrities field's value. -func (s *GetCelebrityRecognitionOutput) SetCelebrities(v []CelebrityRecognition) *GetCelebrityRecognitionOutput { - s.Celebrities = v - return s -} - -// SetJobStatus sets the JobStatus field's value. -func (s *GetCelebrityRecognitionOutput) SetJobStatus(v VideoJobStatus) *GetCelebrityRecognitionOutput { - s.JobStatus = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetCelebrityRecognitionOutput) SetNextToken(v string) *GetCelebrityRecognitionOutput { - s.NextToken = &v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *GetCelebrityRecognitionOutput) SetStatusMessage(v string) *GetCelebrityRecognitionOutput { - s.StatusMessage = &v - return s -} - -// SetVideoMetadata sets the VideoMetadata field's value. -func (s *GetCelebrityRecognitionOutput) SetVideoMetadata(v *VideoMetadata) *GetCelebrityRecognitionOutput { - s.VideoMetadata = v - return s -} - type GetContentModerationInput struct { _ struct{} `type:"structure"` @@ -5092,30 +4306,6 @@ func (s *GetContentModerationInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *GetContentModerationInput) SetJobId(v string) *GetContentModerationInput { - s.JobId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetContentModerationInput) SetMaxResults(v int64) *GetContentModerationInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetContentModerationInput) SetNextToken(v string) *GetContentModerationInput { - s.NextToken = &v - return s -} - -// SetSortBy sets the SortBy field's value. -func (s *GetContentModerationInput) SetSortBy(v ContentModerationSortBy) *GetContentModerationInput { - s.SortBy = v - return s -} - type GetContentModerationOutput struct { _ struct{} `type:"structure"` @@ -5155,36 +4345,6 @@ func (s GetContentModerationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobStatus sets the JobStatus field's value. -func (s *GetContentModerationOutput) SetJobStatus(v VideoJobStatus) *GetContentModerationOutput { - s.JobStatus = v - return s -} - -// SetModerationLabels sets the ModerationLabels field's value. -func (s *GetContentModerationOutput) SetModerationLabels(v []ContentModerationDetection) *GetContentModerationOutput { - s.ModerationLabels = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetContentModerationOutput) SetNextToken(v string) *GetContentModerationOutput { - s.NextToken = &v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *GetContentModerationOutput) SetStatusMessage(v string) *GetContentModerationOutput { - s.StatusMessage = &v - return s -} - -// SetVideoMetadata sets the VideoMetadata field's value. -func (s *GetContentModerationOutput) SetVideoMetadata(v *VideoMetadata) *GetContentModerationOutput { - s.VideoMetadata = v - return s -} - type GetFaceDetectionInput struct { _ struct{} `type:"structure"` @@ -5233,24 +4393,6 @@ func (s *GetFaceDetectionInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *GetFaceDetectionInput) SetJobId(v string) *GetFaceDetectionInput { - s.JobId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetFaceDetectionInput) SetMaxResults(v int64) *GetFaceDetectionInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetFaceDetectionInput) SetNextToken(v string) *GetFaceDetectionInput { - s.NextToken = &v - return s -} - type GetFaceDetectionOutput struct { _ struct{} `type:"structure"` @@ -5292,36 +4434,6 @@ func (s GetFaceDetectionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFaces sets the Faces field's value. -func (s *GetFaceDetectionOutput) SetFaces(v []FaceDetection) *GetFaceDetectionOutput { - s.Faces = v - return s -} - -// SetJobStatus sets the JobStatus field's value. -func (s *GetFaceDetectionOutput) SetJobStatus(v VideoJobStatus) *GetFaceDetectionOutput { - s.JobStatus = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetFaceDetectionOutput) SetNextToken(v string) *GetFaceDetectionOutput { - s.NextToken = &v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *GetFaceDetectionOutput) SetStatusMessage(v string) *GetFaceDetectionOutput { - s.StatusMessage = &v - return s -} - -// SetVideoMetadata sets the VideoMetadata field's value. -func (s *GetFaceDetectionOutput) SetVideoMetadata(v *VideoMetadata) *GetFaceDetectionOutput { - s.VideoMetadata = v - return s -} - type GetFaceSearchInput struct { _ struct{} `type:"structure"` @@ -5375,30 +4487,6 @@ func (s *GetFaceSearchInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *GetFaceSearchInput) SetJobId(v string) *GetFaceSearchInput { - s.JobId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetFaceSearchInput) SetMaxResults(v int64) *GetFaceSearchInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetFaceSearchInput) SetNextToken(v string) *GetFaceSearchInput { - s.NextToken = &v - return s -} - -// SetSortBy sets the SortBy field's value. -func (s *GetFaceSearchInput) SetSortBy(v FaceSearchSortBy) *GetFaceSearchInput { - s.SortBy = v - return s -} - type GetFaceSearchOutput struct { _ struct{} `type:"structure"` @@ -5443,36 +4531,6 @@ func (s GetFaceSearchOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobStatus sets the JobStatus field's value. -func (s *GetFaceSearchOutput) SetJobStatus(v VideoJobStatus) *GetFaceSearchOutput { - s.JobStatus = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetFaceSearchOutput) SetNextToken(v string) *GetFaceSearchOutput { - s.NextToken = &v - return s -} - -// SetPersons sets the Persons field's value. -func (s *GetFaceSearchOutput) SetPersons(v []PersonMatch) *GetFaceSearchOutput { - s.Persons = v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *GetFaceSearchOutput) SetStatusMessage(v string) *GetFaceSearchOutput { - s.StatusMessage = &v - return s -} - -// SetVideoMetadata sets the VideoMetadata field's value. -func (s *GetFaceSearchOutput) SetVideoMetadata(v *VideoMetadata) *GetFaceSearchOutput { - s.VideoMetadata = v - return s -} - type GetLabelDetectionInput struct { _ struct{} `type:"structure"` @@ -5528,30 +4586,6 @@ func (s *GetLabelDetectionInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *GetLabelDetectionInput) SetJobId(v string) *GetLabelDetectionInput { - s.JobId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetLabelDetectionInput) SetMaxResults(v int64) *GetLabelDetectionInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetLabelDetectionInput) SetNextToken(v string) *GetLabelDetectionInput { - s.NextToken = &v - return s -} - -// SetSortBy sets the SortBy field's value. -func (s *GetLabelDetectionInput) SetSortBy(v LabelDetectionSortBy) *GetLabelDetectionInput { - s.SortBy = v - return s -} - type GetLabelDetectionOutput struct { _ struct{} `type:"structure"` @@ -5593,36 +4627,6 @@ func (s GetLabelDetectionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobStatus sets the JobStatus field's value. -func (s *GetLabelDetectionOutput) SetJobStatus(v VideoJobStatus) *GetLabelDetectionOutput { - s.JobStatus = v - return s -} - -// SetLabels sets the Labels field's value. -func (s *GetLabelDetectionOutput) SetLabels(v []LabelDetection) *GetLabelDetectionOutput { - s.Labels = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetLabelDetectionOutput) SetNextToken(v string) *GetLabelDetectionOutput { - s.NextToken = &v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *GetLabelDetectionOutput) SetStatusMessage(v string) *GetLabelDetectionOutput { - s.StatusMessage = &v - return s -} - -// SetVideoMetadata sets the VideoMetadata field's value. -func (s *GetLabelDetectionOutput) SetVideoMetadata(v *VideoMetadata) *GetLabelDetectionOutput { - s.VideoMetadata = v - return s -} - type GetPersonTrackingInput struct { _ struct{} `type:"structure"` @@ -5677,30 +4681,6 @@ func (s *GetPersonTrackingInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *GetPersonTrackingInput) SetJobId(v string) *GetPersonTrackingInput { - s.JobId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetPersonTrackingInput) SetMaxResults(v int64) *GetPersonTrackingInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetPersonTrackingInput) SetNextToken(v string) *GetPersonTrackingInput { - s.NextToken = &v - return s -} - -// SetSortBy sets the SortBy field's value. -func (s *GetPersonTrackingInput) SetSortBy(v PersonTrackingSortBy) *GetPersonTrackingInput { - s.SortBy = v - return s -} - type GetPersonTrackingOutput struct { _ struct{} `type:"structure"` @@ -5742,36 +4722,6 @@ func (s GetPersonTrackingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobStatus sets the JobStatus field's value. -func (s *GetPersonTrackingOutput) SetJobStatus(v VideoJobStatus) *GetPersonTrackingOutput { - s.JobStatus = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetPersonTrackingOutput) SetNextToken(v string) *GetPersonTrackingOutput { - s.NextToken = &v - return s -} - -// SetPersons sets the Persons field's value. -func (s *GetPersonTrackingOutput) SetPersons(v []PersonDetection) *GetPersonTrackingOutput { - s.Persons = v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *GetPersonTrackingOutput) SetStatusMessage(v string) *GetPersonTrackingOutput { - s.StatusMessage = &v - return s -} - -// SetVideoMetadata sets the VideoMetadata field's value. -func (s *GetPersonTrackingOutput) SetVideoMetadata(v *VideoMetadata) *GetPersonTrackingOutput { - s.VideoMetadata = v - return s -} - // Provides the input image either as bytes or an S3 object. // // You pass image bytes to a Rekognition API operation by using the Bytes property. @@ -5835,18 +4785,6 @@ func (s *Image) Validate() error { return nil } -// SetBytes sets the Bytes field's value. -func (s *Image) SetBytes(v []byte) *Image { - s.Bytes = v - return s -} - -// SetS3Object sets the S3Object field's value. -func (s *Image) SetS3Object(v *S3Object) *Image { - s.S3Object = v - return s -} - // Identifies face image brightness and sharpness. type ImageQuality struct { _ struct{} `type:"structure"` @@ -5870,18 +4808,6 @@ func (s ImageQuality) GoString() string { return s.String() } -// SetBrightness sets the Brightness field's value. -func (s *ImageQuality) SetBrightness(v float64) *ImageQuality { - s.Brightness = &v - return s -} - -// SetSharpness sets the Sharpness field's value. -func (s *ImageQuality) SetSharpness(v float64) *ImageQuality { - s.Sharpness = &v - return s -} - type IndexFacesInput struct { _ struct{} `type:"structure"` @@ -5952,30 +4878,6 @@ func (s *IndexFacesInput) Validate() error { return nil } -// SetCollectionId sets the CollectionId field's value. -func (s *IndexFacesInput) SetCollectionId(v string) *IndexFacesInput { - s.CollectionId = &v - return s -} - -// SetDetectionAttributes sets the DetectionAttributes field's value. -func (s *IndexFacesInput) SetDetectionAttributes(v []Attribute) *IndexFacesInput { - s.DetectionAttributes = v - return s -} - -// SetExternalImageId sets the ExternalImageId field's value. -func (s *IndexFacesInput) SetExternalImageId(v string) *IndexFacesInput { - s.ExternalImageId = &v - return s -} - -// SetImage sets the Image field's value. -func (s *IndexFacesInput) SetImage(v *Image) *IndexFacesInput { - s.Image = v - return s -} - type IndexFacesOutput struct { _ struct{} `type:"structure"` @@ -6013,26 +4915,8 @@ func (s IndexFacesOutput) GoString() string { } // SDKResponseMetdata return sthe response metadata for the API. -func (s IndexFacesOutput) SDKResponseMetadata() aws.Response { - return s.responseMetadata -} - -// SetFaceModelVersion sets the FaceModelVersion field's value. -func (s *IndexFacesOutput) SetFaceModelVersion(v string) *IndexFacesOutput { - s.FaceModelVersion = &v - return s -} - -// SetFaceRecords sets the FaceRecords field's value. -func (s *IndexFacesOutput) SetFaceRecords(v []FaceRecord) *IndexFacesOutput { - s.FaceRecords = v - return s -} - -// SetOrientationCorrection sets the OrientationCorrection field's value. -func (s *IndexFacesOutput) SetOrientationCorrection(v OrientationCorrection) *IndexFacesOutput { - s.OrientationCorrection = v - return s +func (s IndexFacesOutput) SDKResponseMetadata() aws.Response { + return s.responseMetadata } // The Kinesis data stream Amazon Rekognition to which the analysis results @@ -6055,12 +4939,6 @@ func (s KinesisDataStream) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *KinesisDataStream) SetArn(v string) *KinesisDataStream { - s.Arn = &v - return s -} - // Kinesis video stream stream that provides the source streaming video for // a Rekognition Video stream processor. For more information, see . type KinesisVideoStream struct { @@ -6080,12 +4958,6 @@ func (s KinesisVideoStream) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *KinesisVideoStream) SetArn(v string) *KinesisVideoStream { - s.Arn = &v - return s -} - // Structure containing details about the detected label, including name, and // level of confidence. type Label struct { @@ -6108,18 +4980,6 @@ func (s Label) GoString() string { return s.String() } -// SetConfidence sets the Confidence field's value. -func (s *Label) SetConfidence(v float64) *Label { - s.Confidence = &v - return s -} - -// SetName sets the Name field's value. -func (s *Label) SetName(v string) *Label { - s.Name = &v - return s -} - // Information about a label detected in a video analysis request and the time // the label was detected in the video. type LabelDetection struct { @@ -6142,18 +5002,6 @@ func (s LabelDetection) GoString() string { return s.String() } -// SetLabel sets the Label field's value. -func (s *LabelDetection) SetLabel(v *Label) *LabelDetection { - s.Label = v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *LabelDetection) SetTimestamp(v int64) *LabelDetection { - s.Timestamp = &v - return s -} - // Indicates the location of the landmark on the face. type Landmark struct { _ struct{} `type:"structure"` @@ -6182,24 +5030,6 @@ func (s Landmark) GoString() string { return s.String() } -// SetType sets the Type field's value. -func (s *Landmark) SetType(v LandmarkType) *Landmark { - s.Type = v - return s -} - -// SetX sets the X field's value. -func (s *Landmark) SetX(v float64) *Landmark { - s.X = &v - return s -} - -// SetY sets the Y field's value. -func (s *Landmark) SetY(v float64) *Landmark { - s.Y = &v - return s -} - type ListCollectionsInput struct { _ struct{} `type:"structure"` @@ -6220,18 +5050,6 @@ func (s ListCollectionsInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *ListCollectionsInput) SetMaxResults(v int64) *ListCollectionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListCollectionsInput) SetNextToken(v string) *ListCollectionsInput { - s.NextToken = &v - return s -} - type ListCollectionsOutput struct { _ struct{} `type:"structure"` @@ -6266,24 +5084,6 @@ func (s ListCollectionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCollectionIds sets the CollectionIds field's value. -func (s *ListCollectionsOutput) SetCollectionIds(v []string) *ListCollectionsOutput { - s.CollectionIds = v - return s -} - -// SetFaceModelVersions sets the FaceModelVersions field's value. -func (s *ListCollectionsOutput) SetFaceModelVersions(v []string) *ListCollectionsOutput { - s.FaceModelVersions = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListCollectionsOutput) SetNextToken(v string) *ListCollectionsOutput { - s.NextToken = &v - return s -} - type ListFacesInput struct { _ struct{} `type:"structure"` @@ -6328,24 +5128,6 @@ func (s *ListFacesInput) Validate() error { return nil } -// SetCollectionId sets the CollectionId field's value. -func (s *ListFacesInput) SetCollectionId(v string) *ListFacesInput { - s.CollectionId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListFacesInput) SetMaxResults(v int64) *ListFacesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFacesInput) SetNextToken(v string) *ListFacesInput { - s.NextToken = &v - return s -} - type ListFacesOutput struct { _ struct{} `type:"structure"` @@ -6378,24 +5160,6 @@ func (s ListFacesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFaceModelVersion sets the FaceModelVersion field's value. -func (s *ListFacesOutput) SetFaceModelVersion(v string) *ListFacesOutput { - s.FaceModelVersion = &v - return s -} - -// SetFaces sets the Faces field's value. -func (s *ListFacesOutput) SetFaces(v []Face) *ListFacesOutput { - s.Faces = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFacesOutput) SetNextToken(v string) *ListFacesOutput { - s.NextToken = &v - return s -} - type ListStreamProcessorsInput struct { _ struct{} `type:"structure"` @@ -6432,18 +5196,6 @@ func (s *ListStreamProcessorsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListStreamProcessorsInput) SetMaxResults(v int64) *ListStreamProcessorsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListStreamProcessorsInput) SetNextToken(v string) *ListStreamProcessorsInput { - s.NextToken = &v - return s -} - type ListStreamProcessorsOutput struct { _ struct{} `type:"structure"` @@ -6472,18 +5224,6 @@ func (s ListStreamProcessorsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListStreamProcessorsOutput) SetNextToken(v string) *ListStreamProcessorsOutput { - s.NextToken = &v - return s -} - -// SetStreamProcessors sets the StreamProcessors field's value. -func (s *ListStreamProcessorsOutput) SetStreamProcessors(v []StreamProcessor) *ListStreamProcessorsOutput { - s.StreamProcessors = v - return s -} - // Provides information about a single type of moderated content found in an // image or video. Each type of moderated content has a label within a hierarchical // taxonomy. For more information, see moderation. @@ -6516,24 +5256,6 @@ func (s ModerationLabel) GoString() string { return s.String() } -// SetConfidence sets the Confidence field's value. -func (s *ModerationLabel) SetConfidence(v float64) *ModerationLabel { - s.Confidence = &v - return s -} - -// SetName sets the Name field's value. -func (s *ModerationLabel) SetName(v string) *ModerationLabel { - s.Name = &v - return s -} - -// SetParentName sets the ParentName field's value. -func (s *ModerationLabel) SetParentName(v string) *ModerationLabel { - s.ParentName = &v - return s -} - // Indicates whether or not the mouth on the face is open, and the confidence // level in the determination. type MouthOpen struct { @@ -6556,18 +5278,6 @@ func (s MouthOpen) GoString() string { return s.String() } -// SetConfidence sets the Confidence field's value. -func (s *MouthOpen) SetConfidence(v float64) *MouthOpen { - s.Confidence = &v - return s -} - -// SetValue sets the Value field's value. -func (s *MouthOpen) SetValue(v bool) *MouthOpen { - s.Value = &v - return s -} - // Indicates whether or not the face has a mustache, and the confidence level // in the determination. type Mustache struct { @@ -6590,18 +5300,6 @@ func (s Mustache) GoString() string { return s.String() } -// SetConfidence sets the Confidence field's value. -func (s *Mustache) SetConfidence(v float64) *Mustache { - s.Confidence = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Mustache) SetValue(v bool) *Mustache { - s.Value = &v - return s -} - // The Amazon Simple Notification Service topic to which Amazon Rekognition // publishes the completion status of a video analysis operation. For more information, // see api-video. @@ -6649,18 +5347,6 @@ func (s *NotificationChannel) Validate() error { return nil } -// SetRoleArn sets the RoleArn field's value. -func (s *NotificationChannel) SetRoleArn(v string) *NotificationChannel { - s.RoleArn = &v - return s -} - -// SetSNSTopicArn sets the SNSTopicArn field's value. -func (s *NotificationChannel) SetSNSTopicArn(v string) *NotificationChannel { - s.SNSTopicArn = &v - return s -} - // Details about a person detected in a video analysis request. type PersonDetail struct { _ struct{} `type:"structure"` @@ -6687,24 +5373,6 @@ func (s PersonDetail) GoString() string { return s.String() } -// SetBoundingBox sets the BoundingBox field's value. -func (s *PersonDetail) SetBoundingBox(v *BoundingBox) *PersonDetail { - s.BoundingBox = v - return s -} - -// SetFace sets the Face field's value. -func (s *PersonDetail) SetFace(v *FaceDetail) *PersonDetail { - s.Face = v - return s -} - -// SetIndex sets the Index field's value. -func (s *PersonDetail) SetIndex(v int64) *PersonDetail { - s.Index = &v - return s -} - // Details and tracking information for a single time a person is tracked in // a video. Amazon Rekognition operations that track persons return an array // of PersonDetection objects with elements for each time a person is tracked @@ -6730,18 +5398,6 @@ func (s PersonDetection) GoString() string { return s.String() } -// SetPerson sets the Person field's value. -func (s *PersonDetection) SetPerson(v *PersonDetail) *PersonDetection { - s.Person = v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *PersonDetection) SetTimestamp(v int64) *PersonDetection { - s.Timestamp = &v - return s -} - // Information about a person whose face matches a face(s) in a Amazon Rekognition // collection. Includes information about the faces in the Amazon Rekognition // collection (,information about the person (PersonDetail) and the timestamp @@ -6772,24 +5428,6 @@ func (s PersonMatch) GoString() string { return s.String() } -// SetFaceMatches sets the FaceMatches field's value. -func (s *PersonMatch) SetFaceMatches(v []FaceMatch) *PersonMatch { - s.FaceMatches = v - return s -} - -// SetPerson sets the Person field's value. -func (s *PersonMatch) SetPerson(v *PersonDetail) *PersonMatch { - s.Person = v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *PersonMatch) SetTimestamp(v int64) *PersonMatch { - s.Timestamp = &v - return s -} - // The X and Y coordinates of a point on an image. The X and Y values returned // are ratios of the overall image size. For example, if the input image is // 700x200 and the operation returns X=0.5 and Y=0.25, then the point is at @@ -6817,18 +5455,6 @@ func (s Point) GoString() string { return s.String() } -// SetX sets the X field's value. -func (s *Point) SetX(v float64) *Point { - s.X = &v - return s -} - -// SetY sets the Y field's value. -func (s *Point) SetY(v float64) *Point { - s.Y = &v - return s -} - // Indicates the pose of the face as determined by its pitch, roll, and yaw. type Pose struct { _ struct{} `type:"structure"` @@ -6853,24 +5479,6 @@ func (s Pose) GoString() string { return s.String() } -// SetPitch sets the Pitch field's value. -func (s *Pose) SetPitch(v float64) *Pose { - s.Pitch = &v - return s -} - -// SetRoll sets the Roll field's value. -func (s *Pose) SetRoll(v float64) *Pose { - s.Roll = &v - return s -} - -// SetYaw sets the Yaw field's value. -func (s *Pose) SetYaw(v float64) *Pose { - s.Yaw = &v - return s -} - type RecognizeCelebritiesInput struct { _ struct{} `type:"structure"` @@ -6911,12 +5519,6 @@ func (s *RecognizeCelebritiesInput) Validate() error { return nil } -// SetImage sets the Image field's value. -func (s *RecognizeCelebritiesInput) SetImage(v *Image) *RecognizeCelebritiesInput { - s.Image = v - return s -} - type RecognizeCelebritiesOutput struct { _ struct{} `type:"structure"` @@ -6959,24 +5561,6 @@ func (s RecognizeCelebritiesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCelebrityFaces sets the CelebrityFaces field's value. -func (s *RecognizeCelebritiesOutput) SetCelebrityFaces(v []Celebrity) *RecognizeCelebritiesOutput { - s.CelebrityFaces = v - return s -} - -// SetOrientationCorrection sets the OrientationCorrection field's value. -func (s *RecognizeCelebritiesOutput) SetOrientationCorrection(v OrientationCorrection) *RecognizeCelebritiesOutput { - s.OrientationCorrection = v - return s -} - -// SetUnrecognizedFaces sets the UnrecognizedFaces field's value. -func (s *RecognizeCelebritiesOutput) SetUnrecognizedFaces(v []ComparedFace) *RecognizeCelebritiesOutput { - s.UnrecognizedFaces = v - return s -} - // Provides the S3 bucket name and object name. // // The region for the S3 bucket containing the S3 object must match the region @@ -7026,24 +5610,6 @@ func (s *S3Object) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *S3Object) SetBucket(v string) *S3Object { - s.Bucket = &v - return s -} - -// SetName sets the Name field's value. -func (s *S3Object) SetName(v string) *S3Object { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *S3Object) SetVersion(v string) *S3Object { - s.Version = &v - return s -} - type SearchFacesByImageInput struct { _ struct{} `type:"structure"` @@ -7108,30 +5674,6 @@ func (s *SearchFacesByImageInput) Validate() error { return nil } -// SetCollectionId sets the CollectionId field's value. -func (s *SearchFacesByImageInput) SetCollectionId(v string) *SearchFacesByImageInput { - s.CollectionId = &v - return s -} - -// SetFaceMatchThreshold sets the FaceMatchThreshold field's value. -func (s *SearchFacesByImageInput) SetFaceMatchThreshold(v float64) *SearchFacesByImageInput { - s.FaceMatchThreshold = &v - return s -} - -// SetImage sets the Image field's value. -func (s *SearchFacesByImageInput) SetImage(v *Image) *SearchFacesByImageInput { - s.Image = v - return s -} - -// SetMaxFaces sets the MaxFaces field's value. -func (s *SearchFacesByImageInput) SetMaxFaces(v int64) *SearchFacesByImageInput { - s.MaxFaces = &v - return s -} - type SearchFacesByImageOutput struct { _ struct{} `type:"structure"` @@ -7168,30 +5710,6 @@ func (s SearchFacesByImageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFaceMatches sets the FaceMatches field's value. -func (s *SearchFacesByImageOutput) SetFaceMatches(v []FaceMatch) *SearchFacesByImageOutput { - s.FaceMatches = v - return s -} - -// SetFaceModelVersion sets the FaceModelVersion field's value. -func (s *SearchFacesByImageOutput) SetFaceModelVersion(v string) *SearchFacesByImageOutput { - s.FaceModelVersion = &v - return s -} - -// SetSearchedFaceBoundingBox sets the SearchedFaceBoundingBox field's value. -func (s *SearchFacesByImageOutput) SetSearchedFaceBoundingBox(v *BoundingBox) *SearchFacesByImageOutput { - s.SearchedFaceBoundingBox = v - return s -} - -// SetSearchedFaceConfidence sets the SearchedFaceConfidence field's value. -func (s *SearchFacesByImageOutput) SetSearchedFaceConfidence(v float64) *SearchFacesByImageOutput { - s.SearchedFaceConfidence = &v - return s -} - type SearchFacesInput struct { _ struct{} `type:"structure"` @@ -7249,30 +5767,6 @@ func (s *SearchFacesInput) Validate() error { return nil } -// SetCollectionId sets the CollectionId field's value. -func (s *SearchFacesInput) SetCollectionId(v string) *SearchFacesInput { - s.CollectionId = &v - return s -} - -// SetFaceId sets the FaceId field's value. -func (s *SearchFacesInput) SetFaceId(v string) *SearchFacesInput { - s.FaceId = &v - return s -} - -// SetFaceMatchThreshold sets the FaceMatchThreshold field's value. -func (s *SearchFacesInput) SetFaceMatchThreshold(v float64) *SearchFacesInput { - s.FaceMatchThreshold = &v - return s -} - -// SetMaxFaces sets the MaxFaces field's value. -func (s *SearchFacesInput) SetMaxFaces(v int64) *SearchFacesInput { - s.MaxFaces = &v - return s -} - type SearchFacesOutput struct { _ struct{} `type:"structure"` @@ -7305,24 +5799,6 @@ func (s SearchFacesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFaceMatches sets the FaceMatches field's value. -func (s *SearchFacesOutput) SetFaceMatches(v []FaceMatch) *SearchFacesOutput { - s.FaceMatches = v - return s -} - -// SetFaceModelVersion sets the FaceModelVersion field's value. -func (s *SearchFacesOutput) SetFaceModelVersion(v string) *SearchFacesOutput { - s.FaceModelVersion = &v - return s -} - -// SetSearchedFaceId sets the SearchedFaceId field's value. -func (s *SearchFacesOutput) SetSearchedFaceId(v string) *SearchFacesOutput { - s.SearchedFaceId = &v - return s -} - // Indicates whether or not the face is smiling, and the confidence level in // the determination. type Smile struct { @@ -7345,18 +5821,6 @@ func (s Smile) GoString() string { return s.String() } -// SetConfidence sets the Confidence field's value. -func (s *Smile) SetConfidence(v float64) *Smile { - s.Confidence = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Smile) SetValue(v bool) *Smile { - s.Value = &v - return s -} - type StartCelebrityRecognitionInput struct { _ struct{} `type:"structure"` @@ -7421,30 +5885,6 @@ func (s *StartCelebrityRecognitionInput) Validate() error { return nil } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *StartCelebrityRecognitionInput) SetClientRequestToken(v string) *StartCelebrityRecognitionInput { - s.ClientRequestToken = &v - return s -} - -// SetJobTag sets the JobTag field's value. -func (s *StartCelebrityRecognitionInput) SetJobTag(v string) *StartCelebrityRecognitionInput { - s.JobTag = &v - return s -} - -// SetNotificationChannel sets the NotificationChannel field's value. -func (s *StartCelebrityRecognitionInput) SetNotificationChannel(v *NotificationChannel) *StartCelebrityRecognitionInput { - s.NotificationChannel = v - return s -} - -// SetVideo sets the Video field's value. -func (s *StartCelebrityRecognitionInput) SetVideo(v *Video) *StartCelebrityRecognitionInput { - s.Video = v - return s -} - type StartCelebrityRecognitionOutput struct { _ struct{} `type:"structure"` @@ -7470,12 +5910,6 @@ func (s StartCelebrityRecognitionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobId sets the JobId field's value. -func (s *StartCelebrityRecognitionOutput) SetJobId(v string) *StartCelebrityRecognitionOutput { - s.JobId = &v - return s -} - type StartContentModerationInput struct { _ struct{} `type:"structure"` @@ -7548,36 +5982,6 @@ func (s *StartContentModerationInput) Validate() error { return nil } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *StartContentModerationInput) SetClientRequestToken(v string) *StartContentModerationInput { - s.ClientRequestToken = &v - return s -} - -// SetJobTag sets the JobTag field's value. -func (s *StartContentModerationInput) SetJobTag(v string) *StartContentModerationInput { - s.JobTag = &v - return s -} - -// SetMinConfidence sets the MinConfidence field's value. -func (s *StartContentModerationInput) SetMinConfidence(v float64) *StartContentModerationInput { - s.MinConfidence = &v - return s -} - -// SetNotificationChannel sets the NotificationChannel field's value. -func (s *StartContentModerationInput) SetNotificationChannel(v *NotificationChannel) *StartContentModerationInput { - s.NotificationChannel = v - return s -} - -// SetVideo sets the Video field's value. -func (s *StartContentModerationInput) SetVideo(v *Video) *StartContentModerationInput { - s.Video = v - return s -} - type StartContentModerationOutput struct { _ struct{} `type:"structure"` @@ -7603,12 +6007,6 @@ func (s StartContentModerationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobId sets the JobId field's value. -func (s *StartContentModerationOutput) SetJobId(v string) *StartContentModerationOutput { - s.JobId = &v - return s -} - type StartFaceDetectionInput struct { _ struct{} `type:"structure"` @@ -7681,36 +6079,6 @@ func (s *StartFaceDetectionInput) Validate() error { return nil } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *StartFaceDetectionInput) SetClientRequestToken(v string) *StartFaceDetectionInput { - s.ClientRequestToken = &v - return s -} - -// SetFaceAttributes sets the FaceAttributes field's value. -func (s *StartFaceDetectionInput) SetFaceAttributes(v FaceAttributes) *StartFaceDetectionInput { - s.FaceAttributes = v - return s -} - -// SetJobTag sets the JobTag field's value. -func (s *StartFaceDetectionInput) SetJobTag(v string) *StartFaceDetectionInput { - s.JobTag = &v - return s -} - -// SetNotificationChannel sets the NotificationChannel field's value. -func (s *StartFaceDetectionInput) SetNotificationChannel(v *NotificationChannel) *StartFaceDetectionInput { - s.NotificationChannel = v - return s -} - -// SetVideo sets the Video field's value. -func (s *StartFaceDetectionInput) SetVideo(v *Video) *StartFaceDetectionInput { - s.Video = v - return s -} - type StartFaceDetectionOutput struct { _ struct{} `type:"structure"` @@ -7736,12 +6104,6 @@ func (s StartFaceDetectionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobId sets the JobId field's value. -func (s *StartFaceDetectionOutput) SetJobId(v string) *StartFaceDetectionOutput { - s.JobId = &v - return s -} - type StartFaceSearchInput struct { _ struct{} `type:"structure"` @@ -7821,42 +6183,6 @@ func (s *StartFaceSearchInput) Validate() error { return nil } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *StartFaceSearchInput) SetClientRequestToken(v string) *StartFaceSearchInput { - s.ClientRequestToken = &v - return s -} - -// SetCollectionId sets the CollectionId field's value. -func (s *StartFaceSearchInput) SetCollectionId(v string) *StartFaceSearchInput { - s.CollectionId = &v - return s -} - -// SetFaceMatchThreshold sets the FaceMatchThreshold field's value. -func (s *StartFaceSearchInput) SetFaceMatchThreshold(v float64) *StartFaceSearchInput { - s.FaceMatchThreshold = &v - return s -} - -// SetJobTag sets the JobTag field's value. -func (s *StartFaceSearchInput) SetJobTag(v string) *StartFaceSearchInput { - s.JobTag = &v - return s -} - -// SetNotificationChannel sets the NotificationChannel field's value. -func (s *StartFaceSearchInput) SetNotificationChannel(v *NotificationChannel) *StartFaceSearchInput { - s.NotificationChannel = v - return s -} - -// SetVideo sets the Video field's value. -func (s *StartFaceSearchInput) SetVideo(v *Video) *StartFaceSearchInput { - s.Video = v - return s -} - type StartFaceSearchOutput struct { _ struct{} `type:"structure"` @@ -7882,12 +6208,6 @@ func (s StartFaceSearchOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobId sets the JobId field's value. -func (s *StartFaceSearchOutput) SetJobId(v string) *StartFaceSearchOutput { - s.JobId = &v - return s -} - type StartLabelDetectionInput struct { _ struct{} `type:"structure"` @@ -7962,36 +6282,6 @@ func (s *StartLabelDetectionInput) Validate() error { return nil } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *StartLabelDetectionInput) SetClientRequestToken(v string) *StartLabelDetectionInput { - s.ClientRequestToken = &v - return s -} - -// SetJobTag sets the JobTag field's value. -func (s *StartLabelDetectionInput) SetJobTag(v string) *StartLabelDetectionInput { - s.JobTag = &v - return s -} - -// SetMinConfidence sets the MinConfidence field's value. -func (s *StartLabelDetectionInput) SetMinConfidence(v float64) *StartLabelDetectionInput { - s.MinConfidence = &v - return s -} - -// SetNotificationChannel sets the NotificationChannel field's value. -func (s *StartLabelDetectionInput) SetNotificationChannel(v *NotificationChannel) *StartLabelDetectionInput { - s.NotificationChannel = v - return s -} - -// SetVideo sets the Video field's value. -func (s *StartLabelDetectionInput) SetVideo(v *Video) *StartLabelDetectionInput { - s.Video = v - return s -} - type StartLabelDetectionOutput struct { _ struct{} `type:"structure"` @@ -8017,12 +6307,6 @@ func (s StartLabelDetectionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobId sets the JobId field's value. -func (s *StartLabelDetectionOutput) SetJobId(v string) *StartLabelDetectionOutput { - s.JobId = &v - return s -} - type StartPersonTrackingInput struct { _ struct{} `type:"structure"` @@ -8087,30 +6371,6 @@ func (s *StartPersonTrackingInput) Validate() error { return nil } -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *StartPersonTrackingInput) SetClientRequestToken(v string) *StartPersonTrackingInput { - s.ClientRequestToken = &v - return s -} - -// SetJobTag sets the JobTag field's value. -func (s *StartPersonTrackingInput) SetJobTag(v string) *StartPersonTrackingInput { - s.JobTag = &v - return s -} - -// SetNotificationChannel sets the NotificationChannel field's value. -func (s *StartPersonTrackingInput) SetNotificationChannel(v *NotificationChannel) *StartPersonTrackingInput { - s.NotificationChannel = v - return s -} - -// SetVideo sets the Video field's value. -func (s *StartPersonTrackingInput) SetVideo(v *Video) *StartPersonTrackingInput { - s.Video = v - return s -} - type StartPersonTrackingOutput struct { _ struct{} `type:"structure"` @@ -8136,12 +6396,6 @@ func (s StartPersonTrackingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobId sets the JobId field's value. -func (s *StartPersonTrackingOutput) SetJobId(v string) *StartPersonTrackingOutput { - s.JobId = &v - return s -} - type StartStreamProcessorInput struct { _ struct{} `type:"structure"` @@ -8178,12 +6432,6 @@ func (s *StartStreamProcessorInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *StartStreamProcessorInput) SetName(v string) *StartStreamProcessorInput { - s.Name = &v - return s -} - type StartStreamProcessorOutput struct { _ struct{} `type:"structure"` @@ -8241,12 +6489,6 @@ func (s *StopStreamProcessorInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *StopStreamProcessorInput) SetName(v string) *StopStreamProcessorInput { - s.Name = &v - return s -} - type StopStreamProcessorOutput struct { _ struct{} `type:"structure"` @@ -8292,18 +6534,6 @@ func (s StreamProcessor) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *StreamProcessor) SetName(v string) *StreamProcessor { - s.Name = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *StreamProcessor) SetStatus(v StreamProcessorStatus) *StreamProcessor { - s.Status = v - return s -} - // Information about the source streaming video. type StreamProcessorInput struct { _ struct{} `type:"structure"` @@ -8322,12 +6552,6 @@ func (s StreamProcessorInput) GoString() string { return s.String() } -// SetKinesisVideoStream sets the KinesisVideoStream field's value. -func (s *StreamProcessorInput) SetKinesisVideoStream(v *KinesisVideoStream) *StreamProcessorInput { - s.KinesisVideoStream = v - return s -} - // Information about the Amazon Kinesis Data Streams stream to which a Rekognition // Video stream processor streams the results of a video analysis. For more // information, see . @@ -8349,12 +6573,6 @@ func (s StreamProcessorOutput) GoString() string { return s.String() } -// SetKinesisDataStream sets the KinesisDataStream field's value. -func (s *StreamProcessorOutput) SetKinesisDataStream(v *KinesisDataStream) *StreamProcessorOutput { - s.KinesisDataStream = v - return s -} - // Input parameters used to recognize faces in a streaming video analyzed by // a Amazon Rekognition stream processor. type StreamProcessorSettings struct { @@ -8389,12 +6607,6 @@ func (s *StreamProcessorSettings) Validate() error { return nil } -// SetFaceSearch sets the FaceSearch field's value. -func (s *StreamProcessorSettings) SetFaceSearch(v *FaceSearchSettings) *StreamProcessorSettings { - s.FaceSearch = v - return s -} - // Indicates whether or not the face is wearing sunglasses, and the confidence // level in the determination. type Sunglasses struct { @@ -8417,18 +6629,6 @@ func (s Sunglasses) GoString() string { return s.String() } -// SetConfidence sets the Confidence field's value. -func (s *Sunglasses) SetConfidence(v float64) *Sunglasses { - s.Confidence = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Sunglasses) SetValue(v bool) *Sunglasses { - s.Value = &v - return s -} - // Information about a word or line of text detected by . // // The DetectedText field contains the text that Amazon Rekognition detected @@ -8477,42 +6677,6 @@ func (s TextDetection) GoString() string { return s.String() } -// SetConfidence sets the Confidence field's value. -func (s *TextDetection) SetConfidence(v float64) *TextDetection { - s.Confidence = &v - return s -} - -// SetDetectedText sets the DetectedText field's value. -func (s *TextDetection) SetDetectedText(v string) *TextDetection { - s.DetectedText = &v - return s -} - -// SetGeometry sets the Geometry field's value. -func (s *TextDetection) SetGeometry(v *Geometry) *TextDetection { - s.Geometry = v - return s -} - -// SetId sets the Id field's value. -func (s *TextDetection) SetId(v int64) *TextDetection { - s.Id = &v - return s -} - -// SetParentId sets the ParentId field's value. -func (s *TextDetection) SetParentId(v int64) *TextDetection { - s.ParentId = &v - return s -} - -// SetType sets the Type field's value. -func (s *TextDetection) SetType(v TextTypes) *TextDetection { - s.Type = v - return s -} - // Video file stored in an Amazon S3 bucket. Amazon Rekognition video start // operations such as use Video to specify a video for analysis. The supported // file formats are .mp4, .mov and .avi. @@ -8548,12 +6712,6 @@ func (s *Video) Validate() error { return nil } -// SetS3Object sets the S3Object field's value. -func (s *Video) SetS3Object(v *S3Object) *Video { - s.S3Object = v - return s -} - // Information about a video that Amazon Rekognition analyzed. Videometadata // is returned in every page of paginated responses from a Amazon Rekognition // video operation. @@ -8589,42 +6747,6 @@ func (s VideoMetadata) GoString() string { return s.String() } -// SetCodec sets the Codec field's value. -func (s *VideoMetadata) SetCodec(v string) *VideoMetadata { - s.Codec = &v - return s -} - -// SetDurationMillis sets the DurationMillis field's value. -func (s *VideoMetadata) SetDurationMillis(v int64) *VideoMetadata { - s.DurationMillis = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *VideoMetadata) SetFormat(v string) *VideoMetadata { - s.Format = &v - return s -} - -// SetFrameHeight sets the FrameHeight field's value. -func (s *VideoMetadata) SetFrameHeight(v int64) *VideoMetadata { - s.FrameHeight = &v - return s -} - -// SetFrameRate sets the FrameRate field's value. -func (s *VideoMetadata) SetFrameRate(v float64) *VideoMetadata { - s.FrameRate = &v - return s -} - -// SetFrameWidth sets the FrameWidth field's value. -func (s *VideoMetadata) SetFrameWidth(v int64) *VideoMetadata { - s.FrameWidth = &v - return s -} - type Attribute string // Enum values for Attribute diff --git a/service/resourcegroups/api.go b/service/resourcegroups/api.go index 94da5bbadbb..a525a259a2a 100644 --- a/service/resourcegroups/api.go +++ b/service/resourcegroups/api.go @@ -836,30 +836,6 @@ func (s *CreateGroupInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateGroupInput) SetDescription(v string) *CreateGroupInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateGroupInput) SetName(v string) *CreateGroupInput { - s.Name = &v - return s -} - -// SetResourceQuery sets the ResourceQuery field's value. -func (s *CreateGroupInput) SetResourceQuery(v *ResourceQuery) *CreateGroupInput { - s.ResourceQuery = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateGroupInput) SetTags(v map[string]string) *CreateGroupInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/CreateGroupOutput type CreateGroupOutput struct { _ struct{} `type:"structure"` @@ -891,24 +867,6 @@ func (s CreateGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroup sets the Group field's value. -func (s *CreateGroupOutput) SetGroup(v *Group) *CreateGroupOutput { - s.Group = v - return s -} - -// SetResourceQuery sets the ResourceQuery field's value. -func (s *CreateGroupOutput) SetResourceQuery(v *ResourceQuery) *CreateGroupOutput { - s.ResourceQuery = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateGroupOutput) SetTags(v map[string]string) *CreateGroupOutput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/DeleteGroupInput type DeleteGroupInput struct { _ struct{} `type:"structure"` @@ -946,12 +904,6 @@ func (s *DeleteGroupInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *DeleteGroupInput) SetGroupName(v string) *DeleteGroupInput { - s.GroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/DeleteGroupOutput type DeleteGroupOutput struct { _ struct{} `type:"structure"` @@ -977,12 +929,6 @@ func (s DeleteGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroup sets the Group field's value. -func (s *DeleteGroupOutput) SetGroup(v *Group) *DeleteGroupOutput { - s.Group = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GetGroupInput type GetGroupInput struct { _ struct{} `type:"structure"` @@ -1020,12 +966,6 @@ func (s *GetGroupInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *GetGroupInput) SetGroupName(v string) *GetGroupInput { - s.GroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GetGroupOutput type GetGroupOutput struct { _ struct{} `type:"structure"` @@ -1051,12 +991,6 @@ func (s GetGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroup sets the Group field's value. -func (s *GetGroupOutput) SetGroup(v *Group) *GetGroupOutput { - s.Group = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GetGroupQueryInput type GetGroupQueryInput struct { _ struct{} `type:"structure"` @@ -1094,12 +1028,6 @@ func (s *GetGroupQueryInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *GetGroupQueryInput) SetGroupName(v string) *GetGroupQueryInput { - s.GroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GetGroupQueryOutput type GetGroupQueryOutput struct { _ struct{} `type:"structure"` @@ -1125,12 +1053,6 @@ func (s GetGroupQueryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroupQuery sets the GroupQuery field's value. -func (s *GetGroupQueryOutput) SetGroupQuery(v *GroupQuery) *GetGroupQueryOutput { - s.GroupQuery = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GetTagsInput type GetTagsInput struct { _ struct{} `type:"structure"` @@ -1166,12 +1088,6 @@ func (s *GetTagsInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *GetTagsInput) SetArn(v string) *GetTagsInput { - s.Arn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GetTagsOutput type GetTagsOutput struct { _ struct{} `type:"structure"` @@ -1200,18 +1116,6 @@ func (s GetTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *GetTagsOutput) SetArn(v string) *GetTagsOutput { - s.Arn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *GetTagsOutput) SetTags(v map[string]string) *GetTagsOutput { - s.Tags = v - return s -} - // A resource group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/Group type Group struct { @@ -1241,24 +1145,6 @@ func (s Group) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *Group) SetDescription(v string) *Group { - s.Description = &v - return s -} - -// SetGroupArn sets the GroupArn field's value. -func (s *Group) SetGroupArn(v string) *Group { - s.GroupArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *Group) SetName(v string) *Group { - s.Name = &v - return s -} - // The underlying resource query of a resource group. Resources that match query // results are part of the group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GroupQuery @@ -1288,18 +1174,6 @@ func (s GroupQuery) GoString() string { return s.String() } -// SetGroupName sets the GroupName field's value. -func (s *GroupQuery) SetGroupName(v string) *GroupQuery { - s.GroupName = &v - return s -} - -// SetResourceQuery sets the ResourceQuery field's value. -func (s *GroupQuery) SetResourceQuery(v *ResourceQuery) *GroupQuery { - s.ResourceQuery = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/ListGroupResourcesInput type ListGroupResourcesInput struct { _ struct{} `type:"structure"` @@ -1349,24 +1223,6 @@ func (s *ListGroupResourcesInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *ListGroupResourcesInput) SetGroupName(v string) *ListGroupResourcesInput { - s.GroupName = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListGroupResourcesInput) SetMaxResults(v int64) *ListGroupResourcesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListGroupResourcesInput) SetNextToken(v string) *ListGroupResourcesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/ListGroupResourcesOutput type ListGroupResourcesOutput struct { _ struct{} `type:"structure"` @@ -1397,18 +1253,6 @@ func (s ListGroupResourcesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListGroupResourcesOutput) SetNextToken(v string) *ListGroupResourcesOutput { - s.NextToken = &v - return s -} - -// SetResourceIdentifiers sets the ResourceIdentifiers field's value. -func (s *ListGroupResourcesOutput) SetResourceIdentifiers(v []ResourceIdentifier) *ListGroupResourcesOutput { - s.ResourceIdentifiers = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/ListGroupsInput type ListGroupsInput struct { _ struct{} `type:"structure"` @@ -1446,18 +1290,6 @@ func (s *ListGroupsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListGroupsInput) SetMaxResults(v int64) *ListGroupsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListGroupsInput) SetNextToken(v string) *ListGroupsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/ListGroupsOutput type ListGroupsOutput struct { _ struct{} `type:"structure"` @@ -1487,18 +1319,6 @@ func (s ListGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroups sets the Groups field's value. -func (s *ListGroupsOutput) SetGroups(v []Group) *ListGroupsOutput { - s.Groups = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListGroupsOutput) SetNextToken(v string) *ListGroupsOutput { - s.NextToken = &v - return s -} - // The ARN of a resource, and its resource type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/ResourceIdentifier type ResourceIdentifier struct { @@ -1521,18 +1341,6 @@ func (s ResourceIdentifier) GoString() string { return s.String() } -// SetResourceArn sets the ResourceArn field's value. -func (s *ResourceIdentifier) SetResourceArn(v string) *ResourceIdentifier { - s.ResourceArn = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *ResourceIdentifier) SetResourceType(v string) *ResourceIdentifier { - s.ResourceType = &v - return s -} - // The query that is used to define a resource group or a search for resources. // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/ResourceQuery type ResourceQuery struct { @@ -1583,18 +1391,6 @@ func (s *ResourceQuery) Validate() error { return nil } -// SetQuery sets the Query field's value. -func (s *ResourceQuery) SetQuery(v string) *ResourceQuery { - s.Query = &v - return s -} - -// SetType sets the Type field's value. -func (s *ResourceQuery) SetType(v QueryType) *ResourceQuery { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/SearchResourcesInput type SearchResourcesInput struct { _ struct{} `type:"structure"` @@ -1647,24 +1443,6 @@ func (s *SearchResourcesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *SearchResourcesInput) SetMaxResults(v int64) *SearchResourcesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *SearchResourcesInput) SetNextToken(v string) *SearchResourcesInput { - s.NextToken = &v - return s -} - -// SetResourceQuery sets the ResourceQuery field's value. -func (s *SearchResourcesInput) SetResourceQuery(v *ResourceQuery) *SearchResourcesInput { - s.ResourceQuery = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/SearchResourcesOutput type SearchResourcesOutput struct { _ struct{} `type:"structure"` @@ -1695,18 +1473,6 @@ func (s SearchResourcesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *SearchResourcesOutput) SetNextToken(v string) *SearchResourcesOutput { - s.NextToken = &v - return s -} - -// SetResourceIdentifiers sets the ResourceIdentifiers field's value. -func (s *SearchResourcesOutput) SetResourceIdentifiers(v []ResourceIdentifier) *SearchResourcesOutput { - s.ResourceIdentifiers = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/TagInput type TagInput struct { _ struct{} `type:"structure"` @@ -1752,18 +1518,6 @@ func (s *TagInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *TagInput) SetArn(v string) *TagInput { - s.Arn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagInput) SetTags(v map[string]string) *TagInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/TagOutput type TagOutput struct { _ struct{} `type:"structure"` @@ -1792,18 +1546,6 @@ func (s TagOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *TagOutput) SetArn(v string) *TagOutput { - s.Arn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagOutput) SetTags(v map[string]string) *TagOutput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/UntagInput type UntagInput struct { _ struct{} `type:"structure"` @@ -1847,18 +1589,6 @@ func (s *UntagInput) Validate() error { return nil } -// SetArn sets the Arn field's value. -func (s *UntagInput) SetArn(v string) *UntagInput { - s.Arn = &v - return s -} - -// SetKeys sets the Keys field's value. -func (s *UntagInput) SetKeys(v []string) *UntagInput { - s.Keys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/UntagOutput type UntagOutput struct { _ struct{} `type:"structure"` @@ -1887,18 +1617,6 @@ func (s UntagOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetArn sets the Arn field's value. -func (s *UntagOutput) SetArn(v string) *UntagOutput { - s.Arn = &v - return s -} - -// SetKeys sets the Keys field's value. -func (s *UntagOutput) SetKeys(v []string) *UntagOutput { - s.Keys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/UpdateGroupInput type UpdateGroupInput struct { _ struct{} `type:"structure"` @@ -1941,18 +1659,6 @@ func (s *UpdateGroupInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *UpdateGroupInput) SetDescription(v string) *UpdateGroupInput { - s.Description = &v - return s -} - -// SetGroupName sets the GroupName field's value. -func (s *UpdateGroupInput) SetGroupName(v string) *UpdateGroupInput { - s.GroupName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/UpdateGroupOutput type UpdateGroupOutput struct { _ struct{} `type:"structure"` @@ -1978,12 +1684,6 @@ func (s UpdateGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroup sets the Group field's value. -func (s *UpdateGroupOutput) SetGroup(v *Group) *UpdateGroupOutput { - s.Group = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/UpdateGroupQueryInput type UpdateGroupQueryInput struct { _ struct{} `type:"structure"` @@ -2036,18 +1736,6 @@ func (s *UpdateGroupQueryInput) Validate() error { return nil } -// SetGroupName sets the GroupName field's value. -func (s *UpdateGroupQueryInput) SetGroupName(v string) *UpdateGroupQueryInput { - s.GroupName = &v - return s -} - -// SetResourceQuery sets the ResourceQuery field's value. -func (s *UpdateGroupQueryInput) SetResourceQuery(v *ResourceQuery) *UpdateGroupQueryInput { - s.ResourceQuery = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/UpdateGroupQueryOutput type UpdateGroupQueryOutput struct { _ struct{} `type:"structure"` @@ -2073,12 +1761,6 @@ func (s UpdateGroupQueryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroupQuery sets the GroupQuery field's value. -func (s *UpdateGroupQueryOutput) SetGroupQuery(v *GroupQuery) *UpdateGroupQueryOutput { - s.GroupQuery = v - return s -} - type QueryType string // Enum values for QueryType diff --git a/service/resourcegroupstaggingapi/api.go b/service/resourcegroupstaggingapi/api.go index 966f71989d6..76ef42fd4d2 100644 --- a/service/resourcegroupstaggingapi/api.go +++ b/service/resourcegroupstaggingapi/api.go @@ -482,24 +482,6 @@ func (s FailureInfo) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *FailureInfo) SetErrorCode(v ErrorCode) *FailureInfo { - s.ErrorCode = v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *FailureInfo) SetErrorMessage(v string) *FailureInfo { - s.ErrorMessage = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *FailureInfo) SetStatusCode(v int64) *FailureInfo { - s.StatusCode = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetResourcesInput type GetResourcesInput struct { _ struct{} `type:"structure"` @@ -590,36 +572,6 @@ func (s *GetResourcesInput) Validate() error { return nil } -// SetPaginationToken sets the PaginationToken field's value. -func (s *GetResourcesInput) SetPaginationToken(v string) *GetResourcesInput { - s.PaginationToken = &v - return s -} - -// SetResourceTypeFilters sets the ResourceTypeFilters field's value. -func (s *GetResourcesInput) SetResourceTypeFilters(v []string) *GetResourcesInput { - s.ResourceTypeFilters = v - return s -} - -// SetResourcesPerPage sets the ResourcesPerPage field's value. -func (s *GetResourcesInput) SetResourcesPerPage(v int64) *GetResourcesInput { - s.ResourcesPerPage = &v - return s -} - -// SetTagFilters sets the TagFilters field's value. -func (s *GetResourcesInput) SetTagFilters(v []TagFilter) *GetResourcesInput { - s.TagFilters = v - return s -} - -// SetTagsPerPage sets the TagsPerPage field's value. -func (s *GetResourcesInput) SetTagsPerPage(v int64) *GetResourcesInput { - s.TagsPerPage = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetResourcesOutput type GetResourcesOutput struct { _ struct{} `type:"structure"` @@ -650,18 +602,6 @@ func (s GetResourcesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPaginationToken sets the PaginationToken field's value. -func (s *GetResourcesOutput) SetPaginationToken(v string) *GetResourcesOutput { - s.PaginationToken = &v - return s -} - -// SetResourceTagMappingList sets the ResourceTagMappingList field's value. -func (s *GetResourcesOutput) SetResourceTagMappingList(v []ResourceTagMapping) *GetResourcesOutput { - s.ResourceTagMappingList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetTagKeysInput type GetTagKeysInput struct { _ struct{} `type:"structure"` @@ -682,12 +622,6 @@ func (s GetTagKeysInput) GoString() string { return s.String() } -// SetPaginationToken sets the PaginationToken field's value. -func (s *GetTagKeysInput) SetPaginationToken(v string) *GetTagKeysInput { - s.PaginationToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetTagKeysOutput type GetTagKeysOutput struct { _ struct{} `type:"structure"` @@ -718,18 +652,6 @@ func (s GetTagKeysOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPaginationToken sets the PaginationToken field's value. -func (s *GetTagKeysOutput) SetPaginationToken(v string) *GetTagKeysOutput { - s.PaginationToken = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *GetTagKeysOutput) SetTagKeys(v []string) *GetTagKeysOutput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetTagValuesInput type GetTagValuesInput struct { _ struct{} `type:"structure"` @@ -773,18 +695,6 @@ func (s *GetTagValuesInput) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *GetTagValuesInput) SetKey(v string) *GetTagValuesInput { - s.Key = &v - return s -} - -// SetPaginationToken sets the PaginationToken field's value. -func (s *GetTagValuesInput) SetPaginationToken(v string) *GetTagValuesInput { - s.PaginationToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetTagValuesOutput type GetTagValuesOutput struct { _ struct{} `type:"structure"` @@ -815,18 +725,6 @@ func (s GetTagValuesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPaginationToken sets the PaginationToken field's value. -func (s *GetTagValuesOutput) SetPaginationToken(v string) *GetTagValuesOutput { - s.PaginationToken = &v - return s -} - -// SetTagValues sets the TagValues field's value. -func (s *GetTagValuesOutput) SetTagValues(v []string) *GetTagValuesOutput { - s.TagValues = v - return s -} - // A list of resource ARNs and the tags (keys and values) that are associated // with each. // Please also see https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/ResourceTagMapping @@ -850,18 +748,6 @@ func (s ResourceTagMapping) GoString() string { return s.String() } -// SetResourceARN sets the ResourceARN field's value. -func (s *ResourceTagMapping) SetResourceARN(v string) *ResourceTagMapping { - s.ResourceARN = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *ResourceTagMapping) SetTags(v []Tag) *ResourceTagMapping { - s.Tags = v - return s -} - // The metadata that you apply to AWS resources to help you categorize and organize // them. Each tag consists of a key and an optional value, both of which you // define. For more information, see Tag Basics (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-basics) @@ -893,18 +779,6 @@ func (s Tag) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // A list of tags (keys and values) that are used to specify the associated // resources. // Please also see https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/TagFilter @@ -943,18 +817,6 @@ func (s *TagFilter) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *TagFilter) SetKey(v string) *TagFilter { - s.Key = &v - return s -} - -// SetValues sets the Values field's value. -func (s *TagFilter) SetValues(v []string) *TagFilter { - s.Values = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/TagResourcesInput type TagResourcesInput struct { _ struct{} `type:"structure"` @@ -1009,18 +871,6 @@ func (s *TagResourcesInput) Validate() error { return nil } -// SetResourceARNList sets the ResourceARNList field's value. -func (s *TagResourcesInput) SetResourceARNList(v []string) *TagResourcesInput { - s.ResourceARNList = v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagResourcesInput) SetTags(v map[string]string) *TagResourcesInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/TagResourcesOutput type TagResourcesOutput struct { _ struct{} `type:"structure"` @@ -1047,12 +897,6 @@ func (s TagResourcesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailedResourcesMap sets the FailedResourcesMap field's value. -func (s *TagResourcesOutput) SetFailedResourcesMap(v map[string]FailureInfo) *TagResourcesOutput { - s.FailedResourcesMap = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/UntagResourcesInput type UntagResourcesInput struct { _ struct{} `type:"structure"` @@ -1106,18 +950,6 @@ func (s *UntagResourcesInput) Validate() error { return nil } -// SetResourceARNList sets the ResourceARNList field's value. -func (s *UntagResourcesInput) SetResourceARNList(v []string) *UntagResourcesInput { - s.ResourceARNList = v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *UntagResourcesInput) SetTagKeys(v []string) *UntagResourcesInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/UntagResourcesOutput type UntagResourcesOutput struct { _ struct{} `type:"structure"` @@ -1144,12 +976,6 @@ func (s UntagResourcesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailedResourcesMap sets the FailedResourcesMap field's value. -func (s *UntagResourcesOutput) SetFailedResourcesMap(v map[string]FailureInfo) *UntagResourcesOutput { - s.FailedResourcesMap = v - return s -} - type ErrorCode string // Enum values for ErrorCode diff --git a/service/route53/api.go b/service/route53/api.go index 767ccb7a97c..c6d32eebef9 100644 --- a/service/route53/api.go +++ b/service/route53/api.go @@ -3588,18 +3588,6 @@ func (s AccountLimit) GoString() string { return s.String() } -// SetType sets the Type field's value. -func (s *AccountLimit) SetType(v AccountLimitType) *AccountLimit { - s.Type = v - return s -} - -// SetValue sets the Value field's value. -func (s *AccountLimit) SetValue(v int64) *AccountLimit { - s.Value = &v - return s -} - // A complex type that identifies the CloudWatch alarm that you want Amazon // Route 53 health checkers to use to determine whether this health check is // healthy. @@ -3655,18 +3643,6 @@ func (s *AlarmIdentifier) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *AlarmIdentifier) SetName(v string) *AlarmIdentifier { - s.Name = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *AlarmIdentifier) SetRegion(v CloudWatchRegion) *AlarmIdentifier { - s.Region = v - return s -} - // Alias resource record sets only: Information about the CloudFront distribution, // Elastic Beanstalk environment, ELB load balancer, Amazon S3 bucket, or Amazon // Route 53 resource record set that you're redirecting queries to. An Elastic @@ -3897,24 +3873,6 @@ func (s *AliasTarget) Validate() error { return nil } -// SetDNSName sets the DNSName field's value. -func (s *AliasTarget) SetDNSName(v string) *AliasTarget { - s.DNSName = &v - return s -} - -// SetEvaluateTargetHealth sets the EvaluateTargetHealth field's value. -func (s *AliasTarget) SetEvaluateTargetHealth(v bool) *AliasTarget { - s.EvaluateTargetHealth = &v - return s -} - -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *AliasTarget) SetHostedZoneId(v string) *AliasTarget { - s.HostedZoneId = &v - return s -} - // A complex type that contains information about the request to associate a // VPC with a private hosted zone. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AssociateVPCWithHostedZoneRequest @@ -3973,24 +3931,6 @@ func (s *AssociateVPCWithHostedZoneInput) Validate() error { return nil } -// SetComment sets the Comment field's value. -func (s *AssociateVPCWithHostedZoneInput) SetComment(v string) *AssociateVPCWithHostedZoneInput { - s.Comment = &v - return s -} - -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *AssociateVPCWithHostedZoneInput) SetHostedZoneId(v string) *AssociateVPCWithHostedZoneInput { - s.HostedZoneId = &v - return s -} - -// SetVPC sets the VPC field's value. -func (s *AssociateVPCWithHostedZoneInput) SetVPC(v *VPC) *AssociateVPCWithHostedZoneInput { - s.VPC = v - return s -} - // A complex type that contains the response information for the AssociateVPCWithHostedZone // request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AssociateVPCWithHostedZoneResponse @@ -4020,12 +3960,6 @@ func (s AssociateVPCWithHostedZoneOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeInfo sets the ChangeInfo field's value. -func (s *AssociateVPCWithHostedZoneOutput) SetChangeInfo(v *ChangeInfo) *AssociateVPCWithHostedZoneOutput { - s.ChangeInfo = v - return s -} - // The information for each resource record set that you want to change. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/Change type Change struct { @@ -4089,18 +4023,6 @@ func (s *Change) Validate() error { return nil } -// SetAction sets the Action field's value. -func (s *Change) SetAction(v ChangeAction) *Change { - s.Action = v - return s -} - -// SetResourceRecordSet sets the ResourceRecordSet field's value. -func (s *Change) SetResourceRecordSet(v *ResourceRecordSet) *Change { - s.ResourceRecordSet = v - return s -} - // The information for a change request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeBatch type ChangeBatch struct { @@ -4149,18 +4071,6 @@ func (s *ChangeBatch) Validate() error { return nil } -// SetChanges sets the Changes field's value. -func (s *ChangeBatch) SetChanges(v []Change) *ChangeBatch { - s.Changes = v - return s -} - -// SetComment sets the Comment field's value. -func (s *ChangeBatch) SetComment(v string) *ChangeBatch { - s.Comment = &v - return s -} - // A complex type that describes change information about changes made to your // hosted zone. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeInfo @@ -4204,30 +4114,6 @@ func (s ChangeInfo) GoString() string { return s.String() } -// SetComment sets the Comment field's value. -func (s *ChangeInfo) SetComment(v string) *ChangeInfo { - s.Comment = &v - return s -} - -// SetId sets the Id field's value. -func (s *ChangeInfo) SetId(v string) *ChangeInfo { - s.Id = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ChangeInfo) SetStatus(v ChangeStatus) *ChangeInfo { - s.Status = v - return s -} - -// SetSubmittedAt sets the SubmittedAt field's value. -func (s *ChangeInfo) SetSubmittedAt(v time.Time) *ChangeInfo { - s.SubmittedAt = &v - return s -} - // A complex type that contains change information for the resource record set. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeResourceRecordSetsRequest type ChangeResourceRecordSetsInput struct { @@ -4278,18 +4164,6 @@ func (s *ChangeResourceRecordSetsInput) Validate() error { return nil } -// SetChangeBatch sets the ChangeBatch field's value. -func (s *ChangeResourceRecordSetsInput) SetChangeBatch(v *ChangeBatch) *ChangeResourceRecordSetsInput { - s.ChangeBatch = v - return s -} - -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *ChangeResourceRecordSetsInput) SetHostedZoneId(v string) *ChangeResourceRecordSetsInput { - s.HostedZoneId = &v - return s -} - // A complex type containing the response for the request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeResourceRecordSetsResponse type ChangeResourceRecordSetsOutput struct { @@ -4322,12 +4196,6 @@ func (s ChangeResourceRecordSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeInfo sets the ChangeInfo field's value. -func (s *ChangeResourceRecordSetsOutput) SetChangeInfo(v *ChangeInfo) *ChangeResourceRecordSetsOutput { - s.ChangeInfo = v - return s -} - // A complex type that contains information about the tags that you want to // add, edit, or delete. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeTagsForResourceRequest @@ -4393,30 +4261,6 @@ func (s *ChangeTagsForResourceInput) Validate() error { return nil } -// SetAddTags sets the AddTags field's value. -func (s *ChangeTagsForResourceInput) SetAddTags(v []Tag) *ChangeTagsForResourceInput { - s.AddTags = v - return s -} - -// SetRemoveTagKeys sets the RemoveTagKeys field's value. -func (s *ChangeTagsForResourceInput) SetRemoveTagKeys(v []string) *ChangeTagsForResourceInput { - s.RemoveTagKeys = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *ChangeTagsForResourceInput) SetResourceId(v string) *ChangeTagsForResourceInput { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *ChangeTagsForResourceInput) SetResourceType(v TagResourceType) *ChangeTagsForResourceInput { - s.ResourceType = v - return s -} - // Empty response for the request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeTagsForResourceResponse type ChangeTagsForResourceOutput struct { @@ -4505,54 +4349,6 @@ func (s CloudWatchAlarmConfiguration) GoString() string { return s.String() } -// SetComparisonOperator sets the ComparisonOperator field's value. -func (s *CloudWatchAlarmConfiguration) SetComparisonOperator(v ComparisonOperator) *CloudWatchAlarmConfiguration { - s.ComparisonOperator = v - return s -} - -// SetDimensions sets the Dimensions field's value. -func (s *CloudWatchAlarmConfiguration) SetDimensions(v []Dimension) *CloudWatchAlarmConfiguration { - s.Dimensions = v - return s -} - -// SetEvaluationPeriods sets the EvaluationPeriods field's value. -func (s *CloudWatchAlarmConfiguration) SetEvaluationPeriods(v int64) *CloudWatchAlarmConfiguration { - s.EvaluationPeriods = &v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *CloudWatchAlarmConfiguration) SetMetricName(v string) *CloudWatchAlarmConfiguration { - s.MetricName = &v - return s -} - -// SetNamespace sets the Namespace field's value. -func (s *CloudWatchAlarmConfiguration) SetNamespace(v string) *CloudWatchAlarmConfiguration { - s.Namespace = &v - return s -} - -// SetPeriod sets the Period field's value. -func (s *CloudWatchAlarmConfiguration) SetPeriod(v int64) *CloudWatchAlarmConfiguration { - s.Period = &v - return s -} - -// SetStatistic sets the Statistic field's value. -func (s *CloudWatchAlarmConfiguration) SetStatistic(v Statistic) *CloudWatchAlarmConfiguration { - s.Statistic = v - return s -} - -// SetThreshold sets the Threshold field's value. -func (s *CloudWatchAlarmConfiguration) SetThreshold(v float64) *CloudWatchAlarmConfiguration { - s.Threshold = &v - return s -} - // A complex type that contains the health check request information. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHealthCheckRequest type CreateHealthCheckInput struct { @@ -4624,18 +4420,6 @@ func (s *CreateHealthCheckInput) Validate() error { return nil } -// SetCallerReference sets the CallerReference field's value. -func (s *CreateHealthCheckInput) SetCallerReference(v string) *CreateHealthCheckInput { - s.CallerReference = &v - return s -} - -// SetHealthCheckConfig sets the HealthCheckConfig field's value. -func (s *CreateHealthCheckInput) SetHealthCheckConfig(v *HealthCheckConfig) *CreateHealthCheckInput { - s.HealthCheckConfig = v - return s -} - // A complex type containing the response information for the new health check. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHealthCheckResponse type CreateHealthCheckOutput struct { @@ -4669,18 +4453,6 @@ func (s CreateHealthCheckOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHealthCheck sets the HealthCheck field's value. -func (s *CreateHealthCheckOutput) SetHealthCheck(v *HealthCheck) *CreateHealthCheckOutput { - s.HealthCheck = v - return s -} - -// SetLocation sets the Location field's value. -func (s *CreateHealthCheckOutput) SetLocation(v string) *CreateHealthCheckOutput { - s.Location = &v - return s -} - // A complex type that contains information about the request to create a hosted // zone. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHostedZoneRequest @@ -4771,36 +4543,6 @@ func (s *CreateHostedZoneInput) Validate() error { return nil } -// SetCallerReference sets the CallerReference field's value. -func (s *CreateHostedZoneInput) SetCallerReference(v string) *CreateHostedZoneInput { - s.CallerReference = &v - return s -} - -// SetDelegationSetId sets the DelegationSetId field's value. -func (s *CreateHostedZoneInput) SetDelegationSetId(v string) *CreateHostedZoneInput { - s.DelegationSetId = &v - return s -} - -// SetHostedZoneConfig sets the HostedZoneConfig field's value. -func (s *CreateHostedZoneInput) SetHostedZoneConfig(v *HostedZoneConfig) *CreateHostedZoneInput { - s.HostedZoneConfig = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateHostedZoneInput) SetName(v string) *CreateHostedZoneInput { - s.Name = &v - return s -} - -// SetVPC sets the VPC field's value. -func (s *CreateHostedZoneInput) SetVPC(v *VPC) *CreateHostedZoneInput { - s.VPC = v - return s -} - // A complex type containing the response information for the hosted zone. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHostedZoneResponse type CreateHostedZoneOutput struct { @@ -4848,36 +4590,6 @@ func (s CreateHostedZoneOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeInfo sets the ChangeInfo field's value. -func (s *CreateHostedZoneOutput) SetChangeInfo(v *ChangeInfo) *CreateHostedZoneOutput { - s.ChangeInfo = v - return s -} - -// SetDelegationSet sets the DelegationSet field's value. -func (s *CreateHostedZoneOutput) SetDelegationSet(v *DelegationSet) *CreateHostedZoneOutput { - s.DelegationSet = v - return s -} - -// SetHostedZone sets the HostedZone field's value. -func (s *CreateHostedZoneOutput) SetHostedZone(v *HostedZone) *CreateHostedZoneOutput { - s.HostedZone = v - return s -} - -// SetLocation sets the Location field's value. -func (s *CreateHostedZoneOutput) SetLocation(v string) *CreateHostedZoneOutput { - s.Location = &v - return s -} - -// SetVPC sets the VPC field's value. -func (s *CreateHostedZoneOutput) SetVPC(v *VPC) *CreateHostedZoneOutput { - s.VPC = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateQueryLoggingConfigRequest type CreateQueryLoggingConfigInput struct { _ struct{} `locationName:"CreateQueryLoggingConfigRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -4930,18 +4642,6 @@ func (s *CreateQueryLoggingConfigInput) Validate() error { return nil } -// SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value. -func (s *CreateQueryLoggingConfigInput) SetCloudWatchLogsLogGroupArn(v string) *CreateQueryLoggingConfigInput { - s.CloudWatchLogsLogGroupArn = &v - return s -} - -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *CreateQueryLoggingConfigInput) SetHostedZoneId(v string) *CreateQueryLoggingConfigInput { - s.HostedZoneId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateQueryLoggingConfigResponse type CreateQueryLoggingConfigOutput struct { _ struct{} `type:"structure"` @@ -4976,18 +4676,6 @@ func (s CreateQueryLoggingConfigOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLocation sets the Location field's value. -func (s *CreateQueryLoggingConfigOutput) SetLocation(v string) *CreateQueryLoggingConfigOutput { - s.Location = &v - return s -} - -// SetQueryLoggingConfig sets the QueryLoggingConfig field's value. -func (s *CreateQueryLoggingConfigOutput) SetQueryLoggingConfig(v *QueryLoggingConfig) *CreateQueryLoggingConfigOutput { - s.QueryLoggingConfig = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateReusableDelegationSetRequest type CreateReusableDelegationSetInput struct { _ struct{} `locationName:"CreateReusableDelegationSetRequest" type:"structure" xmlURI:"https://route53.amazonaws.com/doc/2013-04-01/"` @@ -5033,18 +4721,6 @@ func (s *CreateReusableDelegationSetInput) Validate() error { return nil } -// SetCallerReference sets the CallerReference field's value. -func (s *CreateReusableDelegationSetInput) SetCallerReference(v string) *CreateReusableDelegationSetInput { - s.CallerReference = &v - return s -} - -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *CreateReusableDelegationSetInput) SetHostedZoneId(v string) *CreateReusableDelegationSetInput { - s.HostedZoneId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateReusableDelegationSetResponse type CreateReusableDelegationSetOutput struct { _ struct{} `type:"structure"` @@ -5077,18 +4753,6 @@ func (s CreateReusableDelegationSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDelegationSet sets the DelegationSet field's value. -func (s *CreateReusableDelegationSetOutput) SetDelegationSet(v *DelegationSet) *CreateReusableDelegationSetOutput { - s.DelegationSet = v - return s -} - -// SetLocation sets the Location field's value. -func (s *CreateReusableDelegationSetOutput) SetLocation(v string) *CreateReusableDelegationSetOutput { - s.Location = &v - return s -} - // A complex type that contains information about the traffic policy that you // want to create. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyRequest @@ -5138,24 +4802,6 @@ func (s *CreateTrafficPolicyInput) Validate() error { return nil } -// SetComment sets the Comment field's value. -func (s *CreateTrafficPolicyInput) SetComment(v string) *CreateTrafficPolicyInput { - s.Comment = &v - return s -} - -// SetDocument sets the Document field's value. -func (s *CreateTrafficPolicyInput) SetDocument(v string) *CreateTrafficPolicyInput { - s.Document = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateTrafficPolicyInput) SetName(v string) *CreateTrafficPolicyInput { - s.Name = &v - return s -} - // A complex type that contains information about the resource record sets that // you want to create based on a specified traffic policy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyInstanceRequest @@ -5240,36 +4886,6 @@ func (s *CreateTrafficPolicyInstanceInput) Validate() error { return nil } -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *CreateTrafficPolicyInstanceInput) SetHostedZoneId(v string) *CreateTrafficPolicyInstanceInput { - s.HostedZoneId = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateTrafficPolicyInstanceInput) SetName(v string) *CreateTrafficPolicyInstanceInput { - s.Name = &v - return s -} - -// SetTTL sets the TTL field's value. -func (s *CreateTrafficPolicyInstanceInput) SetTTL(v int64) *CreateTrafficPolicyInstanceInput { - s.TTL = &v - return s -} - -// SetTrafficPolicyId sets the TrafficPolicyId field's value. -func (s *CreateTrafficPolicyInstanceInput) SetTrafficPolicyId(v string) *CreateTrafficPolicyInstanceInput { - s.TrafficPolicyId = &v - return s -} - -// SetTrafficPolicyVersion sets the TrafficPolicyVersion field's value. -func (s *CreateTrafficPolicyInstanceInput) SetTrafficPolicyVersion(v int64) *CreateTrafficPolicyInstanceInput { - s.TrafficPolicyVersion = &v - return s -} - // A complex type that contains the response information for the CreateTrafficPolicyInstance // request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyInstanceResponse @@ -5304,18 +4920,6 @@ func (s CreateTrafficPolicyInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLocation sets the Location field's value. -func (s *CreateTrafficPolicyInstanceOutput) SetLocation(v string) *CreateTrafficPolicyInstanceOutput { - s.Location = &v - return s -} - -// SetTrafficPolicyInstance sets the TrafficPolicyInstance field's value. -func (s *CreateTrafficPolicyInstanceOutput) SetTrafficPolicyInstance(v *TrafficPolicyInstance) *CreateTrafficPolicyInstanceOutput { - s.TrafficPolicyInstance = v - return s -} - // A complex type that contains the response information for the CreateTrafficPolicy // request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyResponse @@ -5350,18 +4954,6 @@ func (s CreateTrafficPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLocation sets the Location field's value. -func (s *CreateTrafficPolicyOutput) SetLocation(v string) *CreateTrafficPolicyOutput { - s.Location = &v - return s -} - -// SetTrafficPolicy sets the TrafficPolicy field's value. -func (s *CreateTrafficPolicyOutput) SetTrafficPolicy(v *TrafficPolicy) *CreateTrafficPolicyOutput { - s.TrafficPolicy = v - return s -} - // A complex type that contains information about the traffic policy that you // want to create a new version for. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyVersionRequest @@ -5416,24 +5008,6 @@ func (s *CreateTrafficPolicyVersionInput) Validate() error { return nil } -// SetComment sets the Comment field's value. -func (s *CreateTrafficPolicyVersionInput) SetComment(v string) *CreateTrafficPolicyVersionInput { - s.Comment = &v - return s -} - -// SetDocument sets the Document field's value. -func (s *CreateTrafficPolicyVersionInput) SetDocument(v string) *CreateTrafficPolicyVersionInput { - s.Document = &v - return s -} - -// SetId sets the Id field's value. -func (s *CreateTrafficPolicyVersionInput) SetId(v string) *CreateTrafficPolicyVersionInput { - s.Id = &v - return s -} - // A complex type that contains the response information for the CreateTrafficPolicyVersion // request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyVersionResponse @@ -5469,18 +5043,6 @@ func (s CreateTrafficPolicyVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLocation sets the Location field's value. -func (s *CreateTrafficPolicyVersionOutput) SetLocation(v string) *CreateTrafficPolicyVersionOutput { - s.Location = &v - return s -} - -// SetTrafficPolicy sets the TrafficPolicy field's value. -func (s *CreateTrafficPolicyVersionOutput) SetTrafficPolicy(v *TrafficPolicy) *CreateTrafficPolicyVersionOutput { - s.TrafficPolicy = v - return s -} - // A complex type that contains information about the request to authorize associating // a VPC with your private hosted zone. Authorization is only required when // a private hosted zone and a VPC were created by using different accounts. @@ -5534,18 +5096,6 @@ func (s *CreateVPCAssociationAuthorizationInput) Validate() error { return nil } -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *CreateVPCAssociationAuthorizationInput) SetHostedZoneId(v string) *CreateVPCAssociationAuthorizationInput { - s.HostedZoneId = &v - return s -} - -// SetVPC sets the VPC field's value. -func (s *CreateVPCAssociationAuthorizationInput) SetVPC(v *VPC) *CreateVPCAssociationAuthorizationInput { - s.VPC = v - return s -} - // A complex type that contains the response information from a CreateVPCAssociationAuthorization // request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateVPCAssociationAuthorizationResponse @@ -5580,18 +5130,6 @@ func (s CreateVPCAssociationAuthorizationOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *CreateVPCAssociationAuthorizationOutput) SetHostedZoneId(v string) *CreateVPCAssociationAuthorizationOutput { - s.HostedZoneId = &v - return s -} - -// SetVPC sets the VPC field's value. -func (s *CreateVPCAssociationAuthorizationOutput) SetVPC(v *VPC) *CreateVPCAssociationAuthorizationOutput { - s.VPC = v - return s -} - // A complex type that lists the name servers in a delegation set, as well as // the CallerReference and the ID for the delegation set. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DelegationSet @@ -5622,24 +5160,6 @@ func (s DelegationSet) GoString() string { return s.String() } -// SetCallerReference sets the CallerReference field's value. -func (s *DelegationSet) SetCallerReference(v string) *DelegationSet { - s.CallerReference = &v - return s -} - -// SetId sets the Id field's value. -func (s *DelegationSet) SetId(v string) *DelegationSet { - s.Id = &v - return s -} - -// SetNameServers sets the NameServers field's value. -func (s *DelegationSet) SetNameServers(v []string) *DelegationSet { - s.NameServers = v - return s -} - // This action deletes a health check. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHealthCheckRequest type DeleteHealthCheckInput struct { @@ -5675,12 +5195,6 @@ func (s *DeleteHealthCheckInput) Validate() error { return nil } -// SetHealthCheckId sets the HealthCheckId field's value. -func (s *DeleteHealthCheckInput) SetHealthCheckId(v string) *DeleteHealthCheckInput { - s.HealthCheckId = &v - return s -} - // An empty element. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHealthCheckResponse type DeleteHealthCheckOutput struct { @@ -5739,12 +5253,6 @@ func (s *DeleteHostedZoneInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DeleteHostedZoneInput) SetId(v string) *DeleteHostedZoneInput { - s.Id = &v - return s -} - // A complex type that contains the response to a DeleteHostedZone request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHostedZoneResponse type DeleteHostedZoneOutput struct { @@ -5774,12 +5282,6 @@ func (s DeleteHostedZoneOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeInfo sets the ChangeInfo field's value. -func (s *DeleteHostedZoneOutput) SetChangeInfo(v *ChangeInfo) *DeleteHostedZoneOutput { - s.ChangeInfo = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteQueryLoggingConfigRequest type DeleteQueryLoggingConfigInput struct { _ struct{} `type:"structure"` @@ -5817,12 +5319,6 @@ func (s *DeleteQueryLoggingConfigInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DeleteQueryLoggingConfigInput) SetId(v string) *DeleteQueryLoggingConfigInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteQueryLoggingConfigResponse type DeleteQueryLoggingConfigOutput struct { _ struct{} `type:"structure"` @@ -5880,12 +5376,6 @@ func (s *DeleteReusableDelegationSetInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DeleteReusableDelegationSetInput) SetId(v string) *DeleteReusableDelegationSetInput { - s.Id = &v - return s -} - // An empty element. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteReusableDelegationSetResponse type DeleteReusableDelegationSetOutput struct { @@ -5959,18 +5449,6 @@ func (s *DeleteTrafficPolicyInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DeleteTrafficPolicyInput) SetId(v string) *DeleteTrafficPolicyInput { - s.Id = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *DeleteTrafficPolicyInput) SetVersion(v int64) *DeleteTrafficPolicyInput { - s.Version = &v - return s -} - // A request to delete a specified traffic policy instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicyInstanceRequest type DeleteTrafficPolicyInstanceInput struct { @@ -6013,12 +5491,6 @@ func (s *DeleteTrafficPolicyInstanceInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DeleteTrafficPolicyInstanceInput) SetId(v string) *DeleteTrafficPolicyInstanceInput { - s.Id = &v - return s -} - // An empty element. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicyInstanceResponse type DeleteTrafficPolicyInstanceOutput struct { @@ -6120,18 +5592,6 @@ func (s *DeleteVPCAssociationAuthorizationInput) Validate() error { return nil } -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *DeleteVPCAssociationAuthorizationInput) SetHostedZoneId(v string) *DeleteVPCAssociationAuthorizationInput { - s.HostedZoneId = &v - return s -} - -// SetVPC sets the VPC field's value. -func (s *DeleteVPCAssociationAuthorizationInput) SetVPC(v *VPC) *DeleteVPCAssociationAuthorizationInput { - s.VPC = v - return s -} - // Empty response for the request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteVPCAssociationAuthorizationResponse type DeleteVPCAssociationAuthorizationOutput struct { @@ -6184,18 +5644,6 @@ func (s Dimension) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *Dimension) SetName(v string) *Dimension { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Dimension) SetValue(v string) *Dimension { - s.Value = &v - return s -} - // A complex type that contains information about the VPC that you want to disassociate // from a specified private hosted zone. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DisassociateVPCFromHostedZoneRequest @@ -6250,24 +5698,6 @@ func (s *DisassociateVPCFromHostedZoneInput) Validate() error { return nil } -// SetComment sets the Comment field's value. -func (s *DisassociateVPCFromHostedZoneInput) SetComment(v string) *DisassociateVPCFromHostedZoneInput { - s.Comment = &v - return s -} - -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *DisassociateVPCFromHostedZoneInput) SetHostedZoneId(v string) *DisassociateVPCFromHostedZoneInput { - s.HostedZoneId = &v - return s -} - -// SetVPC sets the VPC field's value. -func (s *DisassociateVPCFromHostedZoneInput) SetVPC(v *VPC) *DisassociateVPCFromHostedZoneInput { - s.VPC = v - return s -} - // A complex type that contains the response information for the disassociate // request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DisassociateVPCFromHostedZoneResponse @@ -6298,12 +5728,6 @@ func (s DisassociateVPCFromHostedZoneOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetChangeInfo sets the ChangeInfo field's value. -func (s *DisassociateVPCFromHostedZoneOutput) SetChangeInfo(v *ChangeInfo) *DisassociateVPCFromHostedZoneOutput { - s.ChangeInfo = v - return s -} - // A complex type that contains information about a geo location. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GeoLocation type GeoLocation struct { @@ -6354,24 +5778,6 @@ func (s *GeoLocation) Validate() error { return nil } -// SetContinentCode sets the ContinentCode field's value. -func (s *GeoLocation) SetContinentCode(v string) *GeoLocation { - s.ContinentCode = &v - return s -} - -// SetCountryCode sets the CountryCode field's value. -func (s *GeoLocation) SetCountryCode(v string) *GeoLocation { - s.CountryCode = &v - return s -} - -// SetSubdivisionCode sets the SubdivisionCode field's value. -func (s *GeoLocation) SetSubdivisionCode(v string) *GeoLocation { - s.SubdivisionCode = &v - return s -} - // A complex type that contains the codes and full continent, country, and subdivision // names for the specified geolocation code. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GeoLocationDetails @@ -6409,42 +5815,6 @@ func (s GeoLocationDetails) GoString() string { return s.String() } -// SetContinentCode sets the ContinentCode field's value. -func (s *GeoLocationDetails) SetContinentCode(v string) *GeoLocationDetails { - s.ContinentCode = &v - return s -} - -// SetContinentName sets the ContinentName field's value. -func (s *GeoLocationDetails) SetContinentName(v string) *GeoLocationDetails { - s.ContinentName = &v - return s -} - -// SetCountryCode sets the CountryCode field's value. -func (s *GeoLocationDetails) SetCountryCode(v string) *GeoLocationDetails { - s.CountryCode = &v - return s -} - -// SetCountryName sets the CountryName field's value. -func (s *GeoLocationDetails) SetCountryName(v string) *GeoLocationDetails { - s.CountryName = &v - return s -} - -// SetSubdivisionCode sets the SubdivisionCode field's value. -func (s *GeoLocationDetails) SetSubdivisionCode(v string) *GeoLocationDetails { - s.SubdivisionCode = &v - return s -} - -// SetSubdivisionName sets the SubdivisionName field's value. -func (s *GeoLocationDetails) SetSubdivisionName(v string) *GeoLocationDetails { - s.SubdivisionName = &v - return s -} - // A complex type that contains information about the request to create a hosted // zone. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetAccountLimitRequest @@ -6497,12 +5867,6 @@ func (s *GetAccountLimitInput) Validate() error { return nil } -// SetType sets the Type field's value. -func (s *GetAccountLimitInput) SetType(v AccountLimitType) *GetAccountLimitInput { - s.Type = v - return s -} - // A complex type that contains the requested limit. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetAccountLimitResponse type GetAccountLimitOutput struct { @@ -6542,18 +5906,6 @@ func (s GetAccountLimitOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCount sets the Count field's value. -func (s *GetAccountLimitOutput) SetCount(v int64) *GetAccountLimitOutput { - s.Count = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *GetAccountLimitOutput) SetLimit(v *AccountLimit) *GetAccountLimitOutput { - s.Limit = v - return s -} - // The input for a GetChange request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetChangeRequest type GetChangeInput struct { @@ -6591,12 +5943,6 @@ func (s *GetChangeInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *GetChangeInput) SetId(v string) *GetChangeInput { - s.Id = &v - return s -} - // A complex type that contains the ChangeInfo element. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetChangeResponse type GetChangeOutput struct { @@ -6625,12 +5971,6 @@ func (s GetChangeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeInfo sets the ChangeInfo field's value. -func (s *GetChangeOutput) SetChangeInfo(v *ChangeInfo) *GetChangeOutput { - s.ChangeInfo = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetCheckerIpRangesRequest type GetCheckerIpRangesInput struct { _ struct{} `type:"structure"` @@ -6671,12 +6011,6 @@ func (s GetCheckerIpRangesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCheckerIpRanges sets the CheckerIpRanges field's value. -func (s *GetCheckerIpRangesOutput) SetCheckerIpRanges(v []string) *GetCheckerIpRangesOutput { - s.CheckerIpRanges = v - return s -} - // A request for information about whether a specified geographic location is // supported for Amazon Route 53 geolocation resource record sets. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetGeoLocationRequest @@ -6740,24 +6074,6 @@ func (s *GetGeoLocationInput) Validate() error { return nil } -// SetContinentCode sets the ContinentCode field's value. -func (s *GetGeoLocationInput) SetContinentCode(v string) *GetGeoLocationInput { - s.ContinentCode = &v - return s -} - -// SetCountryCode sets the CountryCode field's value. -func (s *GetGeoLocationInput) SetCountryCode(v string) *GetGeoLocationInput { - s.CountryCode = &v - return s -} - -// SetSubdivisionCode sets the SubdivisionCode field's value. -func (s *GetGeoLocationInput) SetSubdivisionCode(v string) *GetGeoLocationInput { - s.SubdivisionCode = &v - return s -} - // A complex type that contains the response information for the specified geolocation // code. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetGeoLocationResponse @@ -6788,12 +6104,6 @@ func (s GetGeoLocationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGeoLocationDetails sets the GeoLocationDetails field's value. -func (s *GetGeoLocationOutput) SetGeoLocationDetails(v *GeoLocationDetails) *GetGeoLocationOutput { - s.GeoLocationDetails = v - return s -} - // A request for the number of health checks that are associated with the current // AWS account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckCountRequest @@ -6839,12 +6149,6 @@ func (s GetHealthCheckCountOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHealthCheckCount sets the HealthCheckCount field's value. -func (s *GetHealthCheckCountOutput) SetHealthCheckCount(v int64) *GetHealthCheckCountOutput { - s.HealthCheckCount = &v - return s -} - // A request to get information about a specified health check. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckRequest type GetHealthCheckInput struct { @@ -6883,12 +6187,6 @@ func (s *GetHealthCheckInput) Validate() error { return nil } -// SetHealthCheckId sets the HealthCheckId field's value. -func (s *GetHealthCheckInput) SetHealthCheckId(v string) *GetHealthCheckInput { - s.HealthCheckId = &v - return s -} - // A request for the reason that a health check failed most recently. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckLastFailureReasonRequest type GetHealthCheckLastFailureReasonInput struct { @@ -6930,12 +6228,6 @@ func (s *GetHealthCheckLastFailureReasonInput) Validate() error { return nil } -// SetHealthCheckId sets the HealthCheckId field's value. -func (s *GetHealthCheckLastFailureReasonInput) SetHealthCheckId(v string) *GetHealthCheckLastFailureReasonInput { - s.HealthCheckId = &v - return s -} - // A complex type that contains the response to a GetHealthCheckLastFailureReason // request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckLastFailureReasonResponse @@ -6966,12 +6258,6 @@ func (s GetHealthCheckLastFailureReasonOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetHealthCheckObservations sets the HealthCheckObservations field's value. -func (s *GetHealthCheckLastFailureReasonOutput) SetHealthCheckObservations(v []HealthCheckObservation) *GetHealthCheckLastFailureReasonOutput { - s.HealthCheckObservations = v - return s -} - // A complex type that contains the response to a GetHealthCheck request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckResponse type GetHealthCheckOutput struct { @@ -7001,12 +6287,6 @@ func (s GetHealthCheckOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHealthCheck sets the HealthCheck field's value. -func (s *GetHealthCheckOutput) SetHealthCheck(v *HealthCheck) *GetHealthCheckOutput { - s.HealthCheck = v - return s -} - // A request to get the status for a health check. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckStatusRequest type GetHealthCheckStatusInput struct { @@ -7048,12 +6328,6 @@ func (s *GetHealthCheckStatusInput) Validate() error { return nil } -// SetHealthCheckId sets the HealthCheckId field's value. -func (s *GetHealthCheckStatusInput) SetHealthCheckId(v string) *GetHealthCheckStatusInput { - s.HealthCheckId = &v - return s -} - // A complex type that contains the response to a GetHealthCheck request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckStatusResponse type GetHealthCheckStatusOutput struct { @@ -7083,12 +6357,6 @@ func (s GetHealthCheckStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHealthCheckObservations sets the HealthCheckObservations field's value. -func (s *GetHealthCheckStatusOutput) SetHealthCheckObservations(v []HealthCheckObservation) *GetHealthCheckStatusOutput { - s.HealthCheckObservations = v - return s -} - // A request to retrieve a count of all the hosted zones that are associated // with the current AWS account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneCountRequest @@ -7135,12 +6403,6 @@ func (s GetHostedZoneCountOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHostedZoneCount sets the HostedZoneCount field's value. -func (s *GetHostedZoneCountOutput) SetHostedZoneCount(v int64) *GetHostedZoneCountOutput { - s.HostedZoneCount = &v - return s -} - // A request to get information about a specified hosted zone. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneRequest type GetHostedZoneInput struct { @@ -7176,12 +6438,6 @@ func (s *GetHostedZoneInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *GetHostedZoneInput) SetId(v string) *GetHostedZoneInput { - s.Id = &v - return s -} - // A complex type that contains information about the request to create a hosted // zone. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneLimitRequest @@ -7232,18 +6488,6 @@ func (s *GetHostedZoneLimitInput) Validate() error { return nil } -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *GetHostedZoneLimitInput) SetHostedZoneId(v string) *GetHostedZoneLimitInput { - s.HostedZoneId = &v - return s -} - -// SetType sets the Type field's value. -func (s *GetHostedZoneLimitInput) SetType(v HostedZoneLimitType) *GetHostedZoneLimitInput { - s.Type = v - return s -} - // A complex type that contains the requested limit. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneLimitResponse type GetHostedZoneLimitOutput struct { @@ -7283,18 +6527,6 @@ func (s GetHostedZoneLimitOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCount sets the Count field's value. -func (s *GetHostedZoneLimitOutput) SetCount(v int64) *GetHostedZoneLimitOutput { - s.Count = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *GetHostedZoneLimitOutput) SetLimit(v *HostedZoneLimit) *GetHostedZoneLimitOutput { - s.Limit = v - return s -} - // A complex type that contain the response to a GetHostedZone request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneResponse type GetHostedZoneOutput struct { @@ -7332,24 +6564,6 @@ func (s GetHostedZoneOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDelegationSet sets the DelegationSet field's value. -func (s *GetHostedZoneOutput) SetDelegationSet(v *DelegationSet) *GetHostedZoneOutput { - s.DelegationSet = v - return s -} - -// SetHostedZone sets the HostedZone field's value. -func (s *GetHostedZoneOutput) SetHostedZone(v *HostedZone) *GetHostedZoneOutput { - s.HostedZone = v - return s -} - -// SetVPCs sets the VPCs field's value. -func (s *GetHostedZoneOutput) SetVPCs(v []VPC) *GetHostedZoneOutput { - s.VPCs = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetQueryLoggingConfigRequest type GetQueryLoggingConfigInput struct { _ struct{} `type:"structure"` @@ -7388,12 +6602,6 @@ func (s *GetQueryLoggingConfigInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *GetQueryLoggingConfigInput) SetId(v string) *GetQueryLoggingConfigInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetQueryLoggingConfigResponse type GetQueryLoggingConfigOutput struct { _ struct{} `type:"structure"` @@ -7422,12 +6630,6 @@ func (s GetQueryLoggingConfigOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetQueryLoggingConfig sets the QueryLoggingConfig field's value. -func (s *GetQueryLoggingConfigOutput) SetQueryLoggingConfig(v *QueryLoggingConfig) *GetQueryLoggingConfigOutput { - s.QueryLoggingConfig = v - return s -} - // A request to get information about a specified reusable delegation set. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetRequest type GetReusableDelegationSetInput struct { @@ -7464,12 +6666,6 @@ func (s *GetReusableDelegationSetInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *GetReusableDelegationSetInput) SetId(v string) *GetReusableDelegationSetInput { - s.Id = &v - return s -} - // A complex type that contains information about the request to create a hosted // zone. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetLimitRequest @@ -7516,18 +6712,6 @@ func (s *GetReusableDelegationSetLimitInput) Validate() error { return nil } -// SetDelegationSetId sets the DelegationSetId field's value. -func (s *GetReusableDelegationSetLimitInput) SetDelegationSetId(v string) *GetReusableDelegationSetLimitInput { - s.DelegationSetId = &v - return s -} - -// SetType sets the Type field's value. -func (s *GetReusableDelegationSetLimitInput) SetType(v ReusableDelegationSetLimitType) *GetReusableDelegationSetLimitInput { - s.Type = v - return s -} - // A complex type that contains the requested limit. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetLimitResponse type GetReusableDelegationSetLimitOutput struct { @@ -7563,18 +6747,6 @@ func (s GetReusableDelegationSetLimitOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetCount sets the Count field's value. -func (s *GetReusableDelegationSetLimitOutput) SetCount(v int64) *GetReusableDelegationSetLimitOutput { - s.Count = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *GetReusableDelegationSetLimitOutput) SetLimit(v *ReusableDelegationSetLimit) *GetReusableDelegationSetLimitOutput { - s.Limit = v - return s -} - // A complex type that contains the response to the GetReusableDelegationSet // request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetResponse @@ -7604,12 +6776,6 @@ func (s GetReusableDelegationSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDelegationSet sets the DelegationSet field's value. -func (s *GetReusableDelegationSetOutput) SetDelegationSet(v *DelegationSet) *GetReusableDelegationSetOutput { - s.DelegationSet = v - return s -} - // Gets information about a specific traffic policy version. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyRequest type GetTrafficPolicyInput struct { @@ -7661,18 +6827,6 @@ func (s *GetTrafficPolicyInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *GetTrafficPolicyInput) SetId(v string) *GetTrafficPolicyInput { - s.Id = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetTrafficPolicyInput) SetVersion(v int64) *GetTrafficPolicyInput { - s.Version = &v - return s -} - // Request to get the number of traffic policy instances that are associated // with the current AWS account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstanceCountRequest @@ -7720,12 +6874,6 @@ func (s GetTrafficPolicyInstanceCountOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetTrafficPolicyInstanceCount sets the TrafficPolicyInstanceCount field's value. -func (s *GetTrafficPolicyInstanceCountOutput) SetTrafficPolicyInstanceCount(v int64) *GetTrafficPolicyInstanceCountOutput { - s.TrafficPolicyInstanceCount = &v - return s -} - // Gets information about a specified traffic policy instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstanceRequest type GetTrafficPolicyInstanceInput struct { @@ -7764,12 +6912,6 @@ func (s *GetTrafficPolicyInstanceInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *GetTrafficPolicyInstanceInput) SetId(v string) *GetTrafficPolicyInstanceInput { - s.Id = &v - return s -} - // A complex type that contains information about the resource record sets that // Amazon Route 53 created based on a specified traffic policy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstanceResponse @@ -7799,12 +6941,6 @@ func (s GetTrafficPolicyInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTrafficPolicyInstance sets the TrafficPolicyInstance field's value. -func (s *GetTrafficPolicyInstanceOutput) SetTrafficPolicyInstance(v *TrafficPolicyInstance) *GetTrafficPolicyInstanceOutput { - s.TrafficPolicyInstance = v - return s -} - // A complex type that contains the response information for the request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyResponse type GetTrafficPolicyOutput struct { @@ -7833,12 +6969,6 @@ func (s GetTrafficPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTrafficPolicy sets the TrafficPolicy field's value. -func (s *GetTrafficPolicyOutput) SetTrafficPolicy(v *TrafficPolicy) *GetTrafficPolicyOutput { - s.TrafficPolicy = v - return s -} - // A complex type that contains information about one health check that is associated // with the current AWS account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HealthCheck @@ -7890,42 +7020,6 @@ func (s HealthCheck) GoString() string { return s.String() } -// SetCallerReference sets the CallerReference field's value. -func (s *HealthCheck) SetCallerReference(v string) *HealthCheck { - s.CallerReference = &v - return s -} - -// SetCloudWatchAlarmConfiguration sets the CloudWatchAlarmConfiguration field's value. -func (s *HealthCheck) SetCloudWatchAlarmConfiguration(v *CloudWatchAlarmConfiguration) *HealthCheck { - s.CloudWatchAlarmConfiguration = v - return s -} - -// SetHealthCheckConfig sets the HealthCheckConfig field's value. -func (s *HealthCheck) SetHealthCheckConfig(v *HealthCheckConfig) *HealthCheck { - s.HealthCheckConfig = v - return s -} - -// SetHealthCheckVersion sets the HealthCheckVersion field's value. -func (s *HealthCheck) SetHealthCheckVersion(v int64) *HealthCheck { - s.HealthCheckVersion = &v - return s -} - -// SetId sets the Id field's value. -func (s *HealthCheck) SetId(v string) *HealthCheck { - s.Id = &v - return s -} - -// SetLinkedService sets the LinkedService field's value. -func (s *HealthCheck) SetLinkedService(v *LinkedService) *HealthCheck { - s.LinkedService = v - return s -} - // A complex type that contains information about the health check. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HealthCheckConfig type HealthCheckConfig struct { @@ -8241,102 +7335,6 @@ func (s *HealthCheckConfig) Validate() error { return nil } -// SetAlarmIdentifier sets the AlarmIdentifier field's value. -func (s *HealthCheckConfig) SetAlarmIdentifier(v *AlarmIdentifier) *HealthCheckConfig { - s.AlarmIdentifier = v - return s -} - -// SetChildHealthChecks sets the ChildHealthChecks field's value. -func (s *HealthCheckConfig) SetChildHealthChecks(v []string) *HealthCheckConfig { - s.ChildHealthChecks = v - return s -} - -// SetEnableSNI sets the EnableSNI field's value. -func (s *HealthCheckConfig) SetEnableSNI(v bool) *HealthCheckConfig { - s.EnableSNI = &v - return s -} - -// SetFailureThreshold sets the FailureThreshold field's value. -func (s *HealthCheckConfig) SetFailureThreshold(v int64) *HealthCheckConfig { - s.FailureThreshold = &v - return s -} - -// SetFullyQualifiedDomainName sets the FullyQualifiedDomainName field's value. -func (s *HealthCheckConfig) SetFullyQualifiedDomainName(v string) *HealthCheckConfig { - s.FullyQualifiedDomainName = &v - return s -} - -// SetHealthThreshold sets the HealthThreshold field's value. -func (s *HealthCheckConfig) SetHealthThreshold(v int64) *HealthCheckConfig { - s.HealthThreshold = &v - return s -} - -// SetIPAddress sets the IPAddress field's value. -func (s *HealthCheckConfig) SetIPAddress(v string) *HealthCheckConfig { - s.IPAddress = &v - return s -} - -// SetInsufficientDataHealthStatus sets the InsufficientDataHealthStatus field's value. -func (s *HealthCheckConfig) SetInsufficientDataHealthStatus(v InsufficientDataHealthStatus) *HealthCheckConfig { - s.InsufficientDataHealthStatus = v - return s -} - -// SetInverted sets the Inverted field's value. -func (s *HealthCheckConfig) SetInverted(v bool) *HealthCheckConfig { - s.Inverted = &v - return s -} - -// SetMeasureLatency sets the MeasureLatency field's value. -func (s *HealthCheckConfig) SetMeasureLatency(v bool) *HealthCheckConfig { - s.MeasureLatency = &v - return s -} - -// SetPort sets the Port field's value. -func (s *HealthCheckConfig) SetPort(v int64) *HealthCheckConfig { - s.Port = &v - return s -} - -// SetRegions sets the Regions field's value. -func (s *HealthCheckConfig) SetRegions(v []HealthCheckRegion) *HealthCheckConfig { - s.Regions = v - return s -} - -// SetRequestInterval sets the RequestInterval field's value. -func (s *HealthCheckConfig) SetRequestInterval(v int64) *HealthCheckConfig { - s.RequestInterval = &v - return s -} - -// SetResourcePath sets the ResourcePath field's value. -func (s *HealthCheckConfig) SetResourcePath(v string) *HealthCheckConfig { - s.ResourcePath = &v - return s -} - -// SetSearchString sets the SearchString field's value. -func (s *HealthCheckConfig) SetSearchString(v string) *HealthCheckConfig { - s.SearchString = &v - return s -} - -// SetType sets the Type field's value. -func (s *HealthCheckConfig) SetType(v HealthCheckType) *HealthCheckConfig { - s.Type = v - return s -} - // A complex type that contains the last failure reason as reported by one Amazon // Route 53 health checker. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HealthCheckObservation @@ -8366,24 +7364,6 @@ func (s HealthCheckObservation) GoString() string { return s.String() } -// SetIPAddress sets the IPAddress field's value. -func (s *HealthCheckObservation) SetIPAddress(v string) *HealthCheckObservation { - s.IPAddress = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *HealthCheckObservation) SetRegion(v HealthCheckRegion) *HealthCheckObservation { - s.Region = v - return s -} - -// SetStatusReport sets the StatusReport field's value. -func (s *HealthCheckObservation) SetStatusReport(v *StatusReport) *HealthCheckObservation { - s.StatusReport = v - return s -} - // A complex type that contains general information about the hosted zone. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HostedZone type HostedZone struct { @@ -8434,42 +7414,6 @@ func (s HostedZone) GoString() string { return s.String() } -// SetCallerReference sets the CallerReference field's value. -func (s *HostedZone) SetCallerReference(v string) *HostedZone { - s.CallerReference = &v - return s -} - -// SetConfig sets the Config field's value. -func (s *HostedZone) SetConfig(v *HostedZoneConfig) *HostedZone { - s.Config = v - return s -} - -// SetId sets the Id field's value. -func (s *HostedZone) SetId(v string) *HostedZone { - s.Id = &v - return s -} - -// SetLinkedService sets the LinkedService field's value. -func (s *HostedZone) SetLinkedService(v *LinkedService) *HostedZone { - s.LinkedService = v - return s -} - -// SetName sets the Name field's value. -func (s *HostedZone) SetName(v string) *HostedZone { - s.Name = &v - return s -} - -// SetResourceRecordSetCount sets the ResourceRecordSetCount field's value. -func (s *HostedZone) SetResourceRecordSetCount(v int64) *HostedZone { - s.ResourceRecordSetCount = &v - return s -} - // A complex type that contains an optional comment about your hosted zone. // If you don't want to specify a comment, omit both the HostedZoneConfig and // Comment elements. @@ -8494,18 +7438,6 @@ func (s HostedZoneConfig) GoString() string { return s.String() } -// SetComment sets the Comment field's value. -func (s *HostedZoneConfig) SetComment(v string) *HostedZoneConfig { - s.Comment = &v - return s -} - -// SetPrivateZone sets the PrivateZone field's value. -func (s *HostedZoneConfig) SetPrivateZone(v bool) *HostedZoneConfig { - s.PrivateZone = &v - return s -} - // A complex type that contains the type of limit that you specified in the // request and the current value for that limit. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HostedZoneLimit @@ -8539,18 +7471,6 @@ func (s HostedZoneLimit) GoString() string { return s.String() } -// SetType sets the Type field's value. -func (s *HostedZoneLimit) SetType(v HostedZoneLimitType) *HostedZoneLimit { - s.Type = v - return s -} - -// SetValue sets the Value field's value. -func (s *HostedZoneLimit) SetValue(v int64) *HostedZoneLimit { - s.Value = &v - return s -} - // If a health check or hosted zone was created by another service, LinkedService // is a complex type that describes the service that created the resource. When // a resource is created by another service, you can't edit or delete it using @@ -8581,18 +7501,6 @@ func (s LinkedService) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *LinkedService) SetDescription(v string) *LinkedService { - s.Description = &v - return s -} - -// SetServicePrincipal sets the ServicePrincipal field's value. -func (s *LinkedService) SetServicePrincipal(v string) *LinkedService { - s.ServicePrincipal = &v - return s -} - // A request to get a list of geographic locations that Amazon Route 53 supports // for geolocation resource record sets. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListGeoLocationsRequest @@ -8665,30 +7573,6 @@ func (s *ListGeoLocationsInput) Validate() error { return nil } -// SetMaxItems sets the MaxItems field's value. -func (s *ListGeoLocationsInput) SetMaxItems(v string) *ListGeoLocationsInput { - s.MaxItems = &v - return s -} - -// SetStartContinentCode sets the StartContinentCode field's value. -func (s *ListGeoLocationsInput) SetStartContinentCode(v string) *ListGeoLocationsInput { - s.StartContinentCode = &v - return s -} - -// SetStartCountryCode sets the StartCountryCode field's value. -func (s *ListGeoLocationsInput) SetStartCountryCode(v string) *ListGeoLocationsInput { - s.StartCountryCode = &v - return s -} - -// SetStartSubdivisionCode sets the StartSubdivisionCode field's value. -func (s *ListGeoLocationsInput) SetStartSubdivisionCode(v string) *ListGeoLocationsInput { - s.StartSubdivisionCode = &v - return s -} - // A complex type containing the response information for the request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListGeoLocationsResponse type ListGeoLocationsOutput struct { @@ -8747,42 +7631,6 @@ func (s ListGeoLocationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGeoLocationDetailsList sets the GeoLocationDetailsList field's value. -func (s *ListGeoLocationsOutput) SetGeoLocationDetailsList(v []GeoLocationDetails) *ListGeoLocationsOutput { - s.GeoLocationDetailsList = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListGeoLocationsOutput) SetIsTruncated(v bool) *ListGeoLocationsOutput { - s.IsTruncated = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListGeoLocationsOutput) SetMaxItems(v string) *ListGeoLocationsOutput { - s.MaxItems = &v - return s -} - -// SetNextContinentCode sets the NextContinentCode field's value. -func (s *ListGeoLocationsOutput) SetNextContinentCode(v string) *ListGeoLocationsOutput { - s.NextContinentCode = &v - return s -} - -// SetNextCountryCode sets the NextCountryCode field's value. -func (s *ListGeoLocationsOutput) SetNextCountryCode(v string) *ListGeoLocationsOutput { - s.NextCountryCode = &v - return s -} - -// SetNextSubdivisionCode sets the NextSubdivisionCode field's value. -func (s *ListGeoLocationsOutput) SetNextSubdivisionCode(v string) *ListGeoLocationsOutput { - s.NextSubdivisionCode = &v - return s -} - // A request to retrieve a list of the health checks that are associated with // the current AWS account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHealthChecksRequest @@ -8817,18 +7665,6 @@ func (s ListHealthChecksInput) GoString() string { return s.String() } -// SetMarker sets the Marker field's value. -func (s *ListHealthChecksInput) SetMarker(v string) *ListHealthChecksInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListHealthChecksInput) SetMaxItems(v string) *ListHealthChecksInput { - s.MaxItems = &v - return s -} - // A complex type that contains the response to a ListHealthChecks request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHealthChecksResponse type ListHealthChecksOutput struct { @@ -8883,36 +7719,6 @@ func (s ListHealthChecksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHealthChecks sets the HealthChecks field's value. -func (s *ListHealthChecksOutput) SetHealthChecks(v []HealthCheck) *ListHealthChecksOutput { - s.HealthChecks = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListHealthChecksOutput) SetIsTruncated(v bool) *ListHealthChecksOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListHealthChecksOutput) SetMarker(v string) *ListHealthChecksOutput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListHealthChecksOutput) SetMaxItems(v string) *ListHealthChecksOutput { - s.MaxItems = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListHealthChecksOutput) SetNextMarker(v string) *ListHealthChecksOutput { - s.NextMarker = &v - return s -} - // Retrieves a list of the public and private hosted zones that are associated // with the current AWS account in ASCII order by domain name. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesByNameRequest @@ -8956,24 +7762,6 @@ func (s ListHostedZonesByNameInput) GoString() string { return s.String() } -// SetDNSName sets the DNSName field's value. -func (s *ListHostedZonesByNameInput) SetDNSName(v string) *ListHostedZonesByNameInput { - s.DNSName = &v - return s -} - -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *ListHostedZonesByNameInput) SetHostedZoneId(v string) *ListHostedZonesByNameInput { - s.HostedZoneId = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListHostedZonesByNameInput) SetMaxItems(v string) *ListHostedZonesByNameInput { - s.MaxItems = &v - return s -} - // A complex type that contains the response information for the request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesByNameResponse type ListHostedZonesByNameOutput struct { @@ -9042,48 +7830,6 @@ func (s ListHostedZonesByNameOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDNSName sets the DNSName field's value. -func (s *ListHostedZonesByNameOutput) SetDNSName(v string) *ListHostedZonesByNameOutput { - s.DNSName = &v - return s -} - -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *ListHostedZonesByNameOutput) SetHostedZoneId(v string) *ListHostedZonesByNameOutput { - s.HostedZoneId = &v - return s -} - -// SetHostedZones sets the HostedZones field's value. -func (s *ListHostedZonesByNameOutput) SetHostedZones(v []HostedZone) *ListHostedZonesByNameOutput { - s.HostedZones = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListHostedZonesByNameOutput) SetIsTruncated(v bool) *ListHostedZonesByNameOutput { - s.IsTruncated = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListHostedZonesByNameOutput) SetMaxItems(v string) *ListHostedZonesByNameOutput { - s.MaxItems = &v - return s -} - -// SetNextDNSName sets the NextDNSName field's value. -func (s *ListHostedZonesByNameOutput) SetNextDNSName(v string) *ListHostedZonesByNameOutput { - s.NextDNSName = &v - return s -} - -// SetNextHostedZoneId sets the NextHostedZoneId field's value. -func (s *ListHostedZonesByNameOutput) SetNextHostedZoneId(v string) *ListHostedZonesByNameOutput { - s.NextHostedZoneId = &v - return s -} - // A request to retrieve a list of the public and private hosted zones that // are associated with the current AWS account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesRequest @@ -9124,24 +7870,6 @@ func (s ListHostedZonesInput) GoString() string { return s.String() } -// SetDelegationSetId sets the DelegationSetId field's value. -func (s *ListHostedZonesInput) SetDelegationSetId(v string) *ListHostedZonesInput { - s.DelegationSetId = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListHostedZonesInput) SetMarker(v string) *ListHostedZonesInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListHostedZonesInput) SetMaxItems(v string) *ListHostedZonesInput { - s.MaxItems = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesResponse type ListHostedZonesOutput struct { _ struct{} `type:"structure"` @@ -9197,36 +7925,6 @@ func (s ListHostedZonesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHostedZones sets the HostedZones field's value. -func (s *ListHostedZonesOutput) SetHostedZones(v []HostedZone) *ListHostedZonesOutput { - s.HostedZones = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListHostedZonesOutput) SetIsTruncated(v bool) *ListHostedZonesOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListHostedZonesOutput) SetMarker(v string) *ListHostedZonesOutput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListHostedZonesOutput) SetMaxItems(v string) *ListHostedZonesOutput { - s.MaxItems = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListHostedZonesOutput) SetNextMarker(v string) *ListHostedZonesOutput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListQueryLoggingConfigsRequest type ListQueryLoggingConfigsInput struct { _ struct{} `type:"structure"` @@ -9267,24 +7965,6 @@ func (s ListQueryLoggingConfigsInput) GoString() string { return s.String() } -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *ListQueryLoggingConfigsInput) SetHostedZoneId(v string) *ListQueryLoggingConfigsInput { - s.HostedZoneId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListQueryLoggingConfigsInput) SetMaxResults(v string) *ListQueryLoggingConfigsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListQueryLoggingConfigsInput) SetNextToken(v string) *ListQueryLoggingConfigsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListQueryLoggingConfigsResponse type ListQueryLoggingConfigsOutput struct { _ struct{} `type:"structure"` @@ -9323,18 +8003,6 @@ func (s ListQueryLoggingConfigsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListQueryLoggingConfigsOutput) SetNextToken(v string) *ListQueryLoggingConfigsOutput { - s.NextToken = &v - return s -} - -// SetQueryLoggingConfigs sets the QueryLoggingConfigs field's value. -func (s *ListQueryLoggingConfigsOutput) SetQueryLoggingConfigs(v []QueryLoggingConfig) *ListQueryLoggingConfigsOutput { - s.QueryLoggingConfigs = v - return s -} - // A request for the resource record sets that are associated with a specified // hosted zone. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListResourceRecordSetsRequest @@ -9418,36 +8086,6 @@ func (s *ListResourceRecordSetsInput) Validate() error { return nil } -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *ListResourceRecordSetsInput) SetHostedZoneId(v string) *ListResourceRecordSetsInput { - s.HostedZoneId = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListResourceRecordSetsInput) SetMaxItems(v string) *ListResourceRecordSetsInput { - s.MaxItems = &v - return s -} - -// SetStartRecordIdentifier sets the StartRecordIdentifier field's value. -func (s *ListResourceRecordSetsInput) SetStartRecordIdentifier(v string) *ListResourceRecordSetsInput { - s.StartRecordIdentifier = &v - return s -} - -// SetStartRecordName sets the StartRecordName field's value. -func (s *ListResourceRecordSetsInput) SetStartRecordName(v string) *ListResourceRecordSetsInput { - s.StartRecordName = &v - return s -} - -// SetStartRecordType sets the StartRecordType field's value. -func (s *ListResourceRecordSetsInput) SetStartRecordType(v RRType) *ListResourceRecordSetsInput { - s.StartRecordType = v - return s -} - // A complex type that contains list information for the resource record set. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListResourceRecordSetsResponse type ListResourceRecordSetsOutput struct { @@ -9503,42 +8141,6 @@ func (s ListResourceRecordSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListResourceRecordSetsOutput) SetIsTruncated(v bool) *ListResourceRecordSetsOutput { - s.IsTruncated = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListResourceRecordSetsOutput) SetMaxItems(v string) *ListResourceRecordSetsOutput { - s.MaxItems = &v - return s -} - -// SetNextRecordIdentifier sets the NextRecordIdentifier field's value. -func (s *ListResourceRecordSetsOutput) SetNextRecordIdentifier(v string) *ListResourceRecordSetsOutput { - s.NextRecordIdentifier = &v - return s -} - -// SetNextRecordName sets the NextRecordName field's value. -func (s *ListResourceRecordSetsOutput) SetNextRecordName(v string) *ListResourceRecordSetsOutput { - s.NextRecordName = &v - return s -} - -// SetNextRecordType sets the NextRecordType field's value. -func (s *ListResourceRecordSetsOutput) SetNextRecordType(v RRType) *ListResourceRecordSetsOutput { - s.NextRecordType = v - return s -} - -// SetResourceRecordSets sets the ResourceRecordSets field's value. -func (s *ListResourceRecordSetsOutput) SetResourceRecordSets(v []ResourceRecordSet) *ListResourceRecordSetsOutput { - s.ResourceRecordSets = v - return s -} - // A request to get a list of the reusable delegation sets that are associated // with the current AWS account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListReusableDelegationSetsRequest @@ -9573,18 +8175,6 @@ func (s ListReusableDelegationSetsInput) GoString() string { return s.String() } -// SetMarker sets the Marker field's value. -func (s *ListReusableDelegationSetsInput) SetMarker(v string) *ListReusableDelegationSetsInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListReusableDelegationSetsInput) SetMaxItems(v string) *ListReusableDelegationSetsInput { - s.MaxItems = &v - return s -} - // A complex type that contains information about the reusable delegation sets // that are associated with the current AWS account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListReusableDelegationSetsResponse @@ -9639,36 +8229,6 @@ func (s ListReusableDelegationSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDelegationSets sets the DelegationSets field's value. -func (s *ListReusableDelegationSetsOutput) SetDelegationSets(v []DelegationSet) *ListReusableDelegationSetsOutput { - s.DelegationSets = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListReusableDelegationSetsOutput) SetIsTruncated(v bool) *ListReusableDelegationSetsOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListReusableDelegationSetsOutput) SetMarker(v string) *ListReusableDelegationSetsOutput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListReusableDelegationSetsOutput) SetMaxItems(v string) *ListReusableDelegationSetsOutput { - s.MaxItems = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListReusableDelegationSetsOutput) SetNextMarker(v string) *ListReusableDelegationSetsOutput { - s.NextMarker = &v - return s -} - // A complex type containing information about a request for a list of the tags // that are associated with an individual resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResourceRequest @@ -9717,18 +8277,6 @@ func (s *ListTagsForResourceInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *ListTagsForResourceInput) SetResourceId(v string) *ListTagsForResourceInput { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *ListTagsForResourceInput) SetResourceType(v TagResourceType) *ListTagsForResourceInput { - s.ResourceType = v - return s -} - // A complex type that contains information about the health checks or hosted // zones for which you want to list tags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResourceResponse @@ -9758,12 +8306,6 @@ func (s ListTagsForResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResourceTagSet sets the ResourceTagSet field's value. -func (s *ListTagsForResourceOutput) SetResourceTagSet(v *ResourceTagSet) *ListTagsForResourceOutput { - s.ResourceTagSet = v - return s -} - // A complex type that contains information about the health checks or hosted // zones for which you want to list tags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResourcesRequest @@ -9816,18 +8358,6 @@ func (s *ListTagsForResourcesInput) Validate() error { return nil } -// SetResourceIds sets the ResourceIds field's value. -func (s *ListTagsForResourcesInput) SetResourceIds(v []string) *ListTagsForResourcesInput { - s.ResourceIds = v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *ListTagsForResourcesInput) SetResourceType(v TagResourceType) *ListTagsForResourcesInput { - s.ResourceType = v - return s -} - // A complex type containing tags for the specified resources. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResourcesResponse type ListTagsForResourcesOutput struct { @@ -9856,12 +8386,6 @@ func (s ListTagsForResourcesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResourceTagSets sets the ResourceTagSets field's value. -func (s *ListTagsForResourcesOutput) SetResourceTagSets(v []ResourceTagSet) *ListTagsForResourcesOutput { - s.ResourceTagSets = v - return s -} - // A complex type that contains the information about the request to list the // traffic policies that are associated with the current AWS account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPoliciesRequest @@ -9909,18 +8433,6 @@ func (s *ListTrafficPoliciesInput) Validate() error { return nil } -// SetMaxItems sets the MaxItems field's value. -func (s *ListTrafficPoliciesInput) SetMaxItems(v string) *ListTrafficPoliciesInput { - s.MaxItems = &v - return s -} - -// SetTrafficPolicyIdMarker sets the TrafficPolicyIdMarker field's value. -func (s *ListTrafficPoliciesInput) SetTrafficPolicyIdMarker(v string) *ListTrafficPoliciesInput { - s.TrafficPolicyIdMarker = &v - return s -} - // A complex type that contains the response information for the request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPoliciesResponse type ListTrafficPoliciesOutput struct { @@ -9970,30 +8482,6 @@ func (s ListTrafficPoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListTrafficPoliciesOutput) SetIsTruncated(v bool) *ListTrafficPoliciesOutput { - s.IsTruncated = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListTrafficPoliciesOutput) SetMaxItems(v string) *ListTrafficPoliciesOutput { - s.MaxItems = &v - return s -} - -// SetTrafficPolicyIdMarker sets the TrafficPolicyIdMarker field's value. -func (s *ListTrafficPoliciesOutput) SetTrafficPolicyIdMarker(v string) *ListTrafficPoliciesOutput { - s.TrafficPolicyIdMarker = &v - return s -} - -// SetTrafficPolicySummaries sets the TrafficPolicySummaries field's value. -func (s *ListTrafficPoliciesOutput) SetTrafficPolicySummaries(v []TrafficPolicySummary) *ListTrafficPoliciesOutput { - s.TrafficPolicySummaries = v - return s -} - // A request for the traffic policy instances that you created in a specified // hosted zone. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByHostedZoneRequest @@ -10061,30 +8549,6 @@ func (s *ListTrafficPolicyInstancesByHostedZoneInput) Validate() error { return nil } -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *ListTrafficPolicyInstancesByHostedZoneInput) SetHostedZoneId(v string) *ListTrafficPolicyInstancesByHostedZoneInput { - s.HostedZoneId = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListTrafficPolicyInstancesByHostedZoneInput) SetMaxItems(v string) *ListTrafficPolicyInstancesByHostedZoneInput { - s.MaxItems = &v - return s -} - -// SetTrafficPolicyInstanceNameMarker sets the TrafficPolicyInstanceNameMarker field's value. -func (s *ListTrafficPolicyInstancesByHostedZoneInput) SetTrafficPolicyInstanceNameMarker(v string) *ListTrafficPolicyInstancesByHostedZoneInput { - s.TrafficPolicyInstanceNameMarker = &v - return s -} - -// SetTrafficPolicyInstanceTypeMarker sets the TrafficPolicyInstanceTypeMarker field's value. -func (s *ListTrafficPolicyInstancesByHostedZoneInput) SetTrafficPolicyInstanceTypeMarker(v RRType) *ListTrafficPolicyInstancesByHostedZoneInput { - s.TrafficPolicyInstanceTypeMarker = v - return s -} - // A complex type that contains the response information for the request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByHostedZoneResponse type ListTrafficPolicyInstancesByHostedZoneOutput struct { @@ -10124,48 +8588,18 @@ type ListTrafficPolicyInstancesByHostedZoneOutput struct { } // String returns the string representation -func (s ListTrafficPolicyInstancesByHostedZoneOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ListTrafficPolicyInstancesByHostedZoneOutput) GoString() string { - return s.String() -} - -// SDKResponseMetdata return sthe response metadata for the API. -func (s ListTrafficPolicyInstancesByHostedZoneOutput) SDKResponseMetadata() aws.Response { - return s.responseMetadata -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListTrafficPolicyInstancesByHostedZoneOutput) SetIsTruncated(v bool) *ListTrafficPolicyInstancesByHostedZoneOutput { - s.IsTruncated = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListTrafficPolicyInstancesByHostedZoneOutput) SetMaxItems(v string) *ListTrafficPolicyInstancesByHostedZoneOutput { - s.MaxItems = &v - return s -} - -// SetTrafficPolicyInstanceNameMarker sets the TrafficPolicyInstanceNameMarker field's value. -func (s *ListTrafficPolicyInstancesByHostedZoneOutput) SetTrafficPolicyInstanceNameMarker(v string) *ListTrafficPolicyInstancesByHostedZoneOutput { - s.TrafficPolicyInstanceNameMarker = &v - return s +func (s ListTrafficPolicyInstancesByHostedZoneOutput) String() string { + return awsutil.Prettify(s) } -// SetTrafficPolicyInstanceTypeMarker sets the TrafficPolicyInstanceTypeMarker field's value. -func (s *ListTrafficPolicyInstancesByHostedZoneOutput) SetTrafficPolicyInstanceTypeMarker(v RRType) *ListTrafficPolicyInstancesByHostedZoneOutput { - s.TrafficPolicyInstanceTypeMarker = v - return s +// GoString returns the string representation +func (s ListTrafficPolicyInstancesByHostedZoneOutput) GoString() string { + return s.String() } -// SetTrafficPolicyInstances sets the TrafficPolicyInstances field's value. -func (s *ListTrafficPolicyInstancesByHostedZoneOutput) SetTrafficPolicyInstances(v []TrafficPolicyInstance) *ListTrafficPolicyInstancesByHostedZoneOutput { - s.TrafficPolicyInstances = v - return s +// SDKResponseMetdata return sthe response metadata for the API. +func (s ListTrafficPolicyInstancesByHostedZoneOutput) SDKResponseMetadata() aws.Response { + return s.responseMetadata } // A complex type that contains the information about the request to list your @@ -10265,42 +8699,6 @@ func (s *ListTrafficPolicyInstancesByPolicyInput) Validate() error { return nil } -// SetHostedZoneIdMarker sets the HostedZoneIdMarker field's value. -func (s *ListTrafficPolicyInstancesByPolicyInput) SetHostedZoneIdMarker(v string) *ListTrafficPolicyInstancesByPolicyInput { - s.HostedZoneIdMarker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListTrafficPolicyInstancesByPolicyInput) SetMaxItems(v string) *ListTrafficPolicyInstancesByPolicyInput { - s.MaxItems = &v - return s -} - -// SetTrafficPolicyId sets the TrafficPolicyId field's value. -func (s *ListTrafficPolicyInstancesByPolicyInput) SetTrafficPolicyId(v string) *ListTrafficPolicyInstancesByPolicyInput { - s.TrafficPolicyId = &v - return s -} - -// SetTrafficPolicyInstanceNameMarker sets the TrafficPolicyInstanceNameMarker field's value. -func (s *ListTrafficPolicyInstancesByPolicyInput) SetTrafficPolicyInstanceNameMarker(v string) *ListTrafficPolicyInstancesByPolicyInput { - s.TrafficPolicyInstanceNameMarker = &v - return s -} - -// SetTrafficPolicyInstanceTypeMarker sets the TrafficPolicyInstanceTypeMarker field's value. -func (s *ListTrafficPolicyInstancesByPolicyInput) SetTrafficPolicyInstanceTypeMarker(v RRType) *ListTrafficPolicyInstancesByPolicyInput { - s.TrafficPolicyInstanceTypeMarker = v - return s -} - -// SetTrafficPolicyVersion sets the TrafficPolicyVersion field's value. -func (s *ListTrafficPolicyInstancesByPolicyInput) SetTrafficPolicyVersion(v int64) *ListTrafficPolicyInstancesByPolicyInput { - s.TrafficPolicyVersion = &v - return s -} - // A complex type that contains the response information for the request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByPolicyResponse type ListTrafficPolicyInstancesByPolicyOutput struct { @@ -10360,42 +8758,6 @@ func (s ListTrafficPolicyInstancesByPolicyOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetHostedZoneIdMarker sets the HostedZoneIdMarker field's value. -func (s *ListTrafficPolicyInstancesByPolicyOutput) SetHostedZoneIdMarker(v string) *ListTrafficPolicyInstancesByPolicyOutput { - s.HostedZoneIdMarker = &v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListTrafficPolicyInstancesByPolicyOutput) SetIsTruncated(v bool) *ListTrafficPolicyInstancesByPolicyOutput { - s.IsTruncated = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListTrafficPolicyInstancesByPolicyOutput) SetMaxItems(v string) *ListTrafficPolicyInstancesByPolicyOutput { - s.MaxItems = &v - return s -} - -// SetTrafficPolicyInstanceNameMarker sets the TrafficPolicyInstanceNameMarker field's value. -func (s *ListTrafficPolicyInstancesByPolicyOutput) SetTrafficPolicyInstanceNameMarker(v string) *ListTrafficPolicyInstancesByPolicyOutput { - s.TrafficPolicyInstanceNameMarker = &v - return s -} - -// SetTrafficPolicyInstanceTypeMarker sets the TrafficPolicyInstanceTypeMarker field's value. -func (s *ListTrafficPolicyInstancesByPolicyOutput) SetTrafficPolicyInstanceTypeMarker(v RRType) *ListTrafficPolicyInstancesByPolicyOutput { - s.TrafficPolicyInstanceTypeMarker = v - return s -} - -// SetTrafficPolicyInstances sets the TrafficPolicyInstances field's value. -func (s *ListTrafficPolicyInstancesByPolicyOutput) SetTrafficPolicyInstances(v []TrafficPolicyInstance) *ListTrafficPolicyInstancesByPolicyOutput { - s.TrafficPolicyInstances = v - return s -} - // A request to get information about the traffic policy instances that you // created by using the current AWS account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesRequest @@ -10454,30 +8816,6 @@ func (s ListTrafficPolicyInstancesInput) GoString() string { return s.String() } -// SetHostedZoneIdMarker sets the HostedZoneIdMarker field's value. -func (s *ListTrafficPolicyInstancesInput) SetHostedZoneIdMarker(v string) *ListTrafficPolicyInstancesInput { - s.HostedZoneIdMarker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListTrafficPolicyInstancesInput) SetMaxItems(v string) *ListTrafficPolicyInstancesInput { - s.MaxItems = &v - return s -} - -// SetTrafficPolicyInstanceNameMarker sets the TrafficPolicyInstanceNameMarker field's value. -func (s *ListTrafficPolicyInstancesInput) SetTrafficPolicyInstanceNameMarker(v string) *ListTrafficPolicyInstancesInput { - s.TrafficPolicyInstanceNameMarker = &v - return s -} - -// SetTrafficPolicyInstanceTypeMarker sets the TrafficPolicyInstanceTypeMarker field's value. -func (s *ListTrafficPolicyInstancesInput) SetTrafficPolicyInstanceTypeMarker(v RRType) *ListTrafficPolicyInstancesInput { - s.TrafficPolicyInstanceTypeMarker = v - return s -} - // A complex type that contains the response information for the request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesResponse type ListTrafficPolicyInstancesOutput struct { @@ -10538,42 +8876,6 @@ func (s ListTrafficPolicyInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHostedZoneIdMarker sets the HostedZoneIdMarker field's value. -func (s *ListTrafficPolicyInstancesOutput) SetHostedZoneIdMarker(v string) *ListTrafficPolicyInstancesOutput { - s.HostedZoneIdMarker = &v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListTrafficPolicyInstancesOutput) SetIsTruncated(v bool) *ListTrafficPolicyInstancesOutput { - s.IsTruncated = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListTrafficPolicyInstancesOutput) SetMaxItems(v string) *ListTrafficPolicyInstancesOutput { - s.MaxItems = &v - return s -} - -// SetTrafficPolicyInstanceNameMarker sets the TrafficPolicyInstanceNameMarker field's value. -func (s *ListTrafficPolicyInstancesOutput) SetTrafficPolicyInstanceNameMarker(v string) *ListTrafficPolicyInstancesOutput { - s.TrafficPolicyInstanceNameMarker = &v - return s -} - -// SetTrafficPolicyInstanceTypeMarker sets the TrafficPolicyInstanceTypeMarker field's value. -func (s *ListTrafficPolicyInstancesOutput) SetTrafficPolicyInstanceTypeMarker(v RRType) *ListTrafficPolicyInstancesOutput { - s.TrafficPolicyInstanceTypeMarker = v - return s -} - -// SetTrafficPolicyInstances sets the TrafficPolicyInstances field's value. -func (s *ListTrafficPolicyInstancesOutput) SetTrafficPolicyInstances(v []TrafficPolicyInstance) *ListTrafficPolicyInstancesOutput { - s.TrafficPolicyInstances = v - return s -} - // A complex type that contains the information about the request to list your // traffic policies. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyVersionsRequest @@ -10632,24 +8934,6 @@ func (s *ListTrafficPolicyVersionsInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *ListTrafficPolicyVersionsInput) SetId(v string) *ListTrafficPolicyVersionsInput { - s.Id = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListTrafficPolicyVersionsInput) SetMaxItems(v string) *ListTrafficPolicyVersionsInput { - s.MaxItems = &v - return s -} - -// SetTrafficPolicyVersionMarker sets the TrafficPolicyVersionMarker field's value. -func (s *ListTrafficPolicyVersionsInput) SetTrafficPolicyVersionMarker(v string) *ListTrafficPolicyVersionsInput { - s.TrafficPolicyVersionMarker = &v - return s -} - // A complex type that contains the response information for the request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyVersionsResponse type ListTrafficPolicyVersionsOutput struct { @@ -10703,30 +8987,6 @@ func (s ListTrafficPolicyVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListTrafficPolicyVersionsOutput) SetIsTruncated(v bool) *ListTrafficPolicyVersionsOutput { - s.IsTruncated = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListTrafficPolicyVersionsOutput) SetMaxItems(v string) *ListTrafficPolicyVersionsOutput { - s.MaxItems = &v - return s -} - -// SetTrafficPolicies sets the TrafficPolicies field's value. -func (s *ListTrafficPolicyVersionsOutput) SetTrafficPolicies(v []TrafficPolicy) *ListTrafficPolicyVersionsOutput { - s.TrafficPolicies = v - return s -} - -// SetTrafficPolicyVersionMarker sets the TrafficPolicyVersionMarker field's value. -func (s *ListTrafficPolicyVersionsOutput) SetTrafficPolicyVersionMarker(v string) *ListTrafficPolicyVersionsOutput { - s.TrafficPolicyVersionMarker = &v - return s -} - // A complex type that contains information about that can be associated with // your hosted zone. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListVPCAssociationAuthorizationsRequest @@ -10776,24 +9036,6 @@ func (s *ListVPCAssociationAuthorizationsInput) Validate() error { return nil } -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *ListVPCAssociationAuthorizationsInput) SetHostedZoneId(v string) *ListVPCAssociationAuthorizationsInput { - s.HostedZoneId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListVPCAssociationAuthorizationsInput) SetMaxResults(v string) *ListVPCAssociationAuthorizationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListVPCAssociationAuthorizationsInput) SetNextToken(v string) *ListVPCAssociationAuthorizationsInput { - s.NextToken = &v - return s -} - // A complex type that contains the response information for the request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListVPCAssociationAuthorizationsResponse type ListVPCAssociationAuthorizationsOutput struct { @@ -10835,24 +9077,6 @@ func (s ListVPCAssociationAuthorizationsOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *ListVPCAssociationAuthorizationsOutput) SetHostedZoneId(v string) *ListVPCAssociationAuthorizationsOutput { - s.HostedZoneId = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListVPCAssociationAuthorizationsOutput) SetNextToken(v string) *ListVPCAssociationAuthorizationsOutput { - s.NextToken = &v - return s -} - -// SetVPCs sets the VPCs field's value. -func (s *ListVPCAssociationAuthorizationsOutput) SetVPCs(v []VPC) *ListVPCAssociationAuthorizationsOutput { - s.VPCs = v - return s -} - // A complex type that contains information about a configuration for DNS query // logging. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/QueryLoggingConfig @@ -10886,24 +9110,6 @@ func (s QueryLoggingConfig) GoString() string { return s.String() } -// SetCloudWatchLogsLogGroupArn sets the CloudWatchLogsLogGroupArn field's value. -func (s *QueryLoggingConfig) SetCloudWatchLogsLogGroupArn(v string) *QueryLoggingConfig { - s.CloudWatchLogsLogGroupArn = &v - return s -} - -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *QueryLoggingConfig) SetHostedZoneId(v string) *QueryLoggingConfig { - s.HostedZoneId = &v - return s -} - -// SetId sets the Id field's value. -func (s *QueryLoggingConfig) SetId(v string) *QueryLoggingConfig { - s.Id = &v - return s -} - // Information specific to the resource record. // // If you're creating an alias resource record set, omit ResourceRecord. @@ -10950,12 +9156,6 @@ func (s *ResourceRecord) Validate() error { return nil } -// SetValue sets the Value field's value. -func (s *ResourceRecord) SetValue(v string) *ResourceRecord { - s.Value = &v - return s -} - // Information about the resource record set to create or delete. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ResourceRecordSet type ResourceRecordSet struct { @@ -11406,84 +9606,6 @@ func (s *ResourceRecordSet) Validate() error { return nil } -// SetAliasTarget sets the AliasTarget field's value. -func (s *ResourceRecordSet) SetAliasTarget(v *AliasTarget) *ResourceRecordSet { - s.AliasTarget = v - return s -} - -// SetFailover sets the Failover field's value. -func (s *ResourceRecordSet) SetFailover(v ResourceRecordSetFailover) *ResourceRecordSet { - s.Failover = v - return s -} - -// SetGeoLocation sets the GeoLocation field's value. -func (s *ResourceRecordSet) SetGeoLocation(v *GeoLocation) *ResourceRecordSet { - s.GeoLocation = v - return s -} - -// SetHealthCheckId sets the HealthCheckId field's value. -func (s *ResourceRecordSet) SetHealthCheckId(v string) *ResourceRecordSet { - s.HealthCheckId = &v - return s -} - -// SetMultiValueAnswer sets the MultiValueAnswer field's value. -func (s *ResourceRecordSet) SetMultiValueAnswer(v bool) *ResourceRecordSet { - s.MultiValueAnswer = &v - return s -} - -// SetName sets the Name field's value. -func (s *ResourceRecordSet) SetName(v string) *ResourceRecordSet { - s.Name = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *ResourceRecordSet) SetRegion(v ResourceRecordSetRegion) *ResourceRecordSet { - s.Region = v - return s -} - -// SetResourceRecords sets the ResourceRecords field's value. -func (s *ResourceRecordSet) SetResourceRecords(v []ResourceRecord) *ResourceRecordSet { - s.ResourceRecords = v - return s -} - -// SetSetIdentifier sets the SetIdentifier field's value. -func (s *ResourceRecordSet) SetSetIdentifier(v string) *ResourceRecordSet { - s.SetIdentifier = &v - return s -} - -// SetTTL sets the TTL field's value. -func (s *ResourceRecordSet) SetTTL(v int64) *ResourceRecordSet { - s.TTL = &v - return s -} - -// SetTrafficPolicyInstanceId sets the TrafficPolicyInstanceId field's value. -func (s *ResourceRecordSet) SetTrafficPolicyInstanceId(v string) *ResourceRecordSet { - s.TrafficPolicyInstanceId = &v - return s -} - -// SetType sets the Type field's value. -func (s *ResourceRecordSet) SetType(v RRType) *ResourceRecordSet { - s.Type = v - return s -} - -// SetWeight sets the Weight field's value. -func (s *ResourceRecordSet) SetWeight(v int64) *ResourceRecordSet { - s.Weight = &v - return s -} - // A complex type containing a resource and its associated tags. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ResourceTagSet type ResourceTagSet struct { @@ -11513,24 +9635,6 @@ func (s ResourceTagSet) GoString() string { return s.String() } -// SetResourceId sets the ResourceId field's value. -func (s *ResourceTagSet) SetResourceId(v string) *ResourceTagSet { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *ResourceTagSet) SetResourceType(v TagResourceType) *ResourceTagSet { - s.ResourceType = v - return s -} - -// SetTags sets the Tags field's value. -func (s *ResourceTagSet) SetTags(v []Tag) *ResourceTagSet { - s.Tags = v - return s -} - // A complex type that contains the type of limit that you specified in the // request and the current value for that limit. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ReusableDelegationSetLimit @@ -11560,18 +9664,6 @@ func (s ReusableDelegationSetLimit) GoString() string { return s.String() } -// SetType sets the Type field's value. -func (s *ReusableDelegationSetLimit) SetType(v ReusableDelegationSetLimitType) *ReusableDelegationSetLimit { - s.Type = v - return s -} - -// SetValue sets the Value field's value. -func (s *ReusableDelegationSetLimit) SetValue(v int64) *ReusableDelegationSetLimit { - s.Value = &v - return s -} - // A complex type that contains the status that one Amazon Route 53 health checker // reports and the time of the health check. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/StatusReport @@ -11599,18 +9691,6 @@ func (s StatusReport) GoString() string { return s.String() } -// SetCheckedTime sets the CheckedTime field's value. -func (s *StatusReport) SetCheckedTime(v time.Time) *StatusReport { - s.CheckedTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *StatusReport) SetStatus(v string) *StatusReport { - s.Status = &v - return s -} - // A complex type that contains information about a tag that you want to add // or edit for the specified health check or hosted zone. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/Tag @@ -11651,18 +9731,6 @@ func (s Tag) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Gets the value that Amazon Route 53 returns in response to a DNS request // for a specified record name and type. You can optionally specify the IP address // of a DNS resolver, an EDNS0 client subnet IP address, and a subnet mask. @@ -11738,42 +9806,6 @@ func (s *TestDNSAnswerInput) Validate() error { return nil } -// SetEDNS0ClientSubnetIP sets the EDNS0ClientSubnetIP field's value. -func (s *TestDNSAnswerInput) SetEDNS0ClientSubnetIP(v string) *TestDNSAnswerInput { - s.EDNS0ClientSubnetIP = &v - return s -} - -// SetEDNS0ClientSubnetMask sets the EDNS0ClientSubnetMask field's value. -func (s *TestDNSAnswerInput) SetEDNS0ClientSubnetMask(v string) *TestDNSAnswerInput { - s.EDNS0ClientSubnetMask = &v - return s -} - -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *TestDNSAnswerInput) SetHostedZoneId(v string) *TestDNSAnswerInput { - s.HostedZoneId = &v - return s -} - -// SetRecordName sets the RecordName field's value. -func (s *TestDNSAnswerInput) SetRecordName(v string) *TestDNSAnswerInput { - s.RecordName = &v - return s -} - -// SetRecordType sets the RecordType field's value. -func (s *TestDNSAnswerInput) SetRecordType(v RRType) *TestDNSAnswerInput { - s.RecordType = v - return s -} - -// SetResolverIP sets the ResolverIP field's value. -func (s *TestDNSAnswerInput) SetResolverIP(v string) *TestDNSAnswerInput { - s.ResolverIP = &v - return s -} - // A complex type that contains the response to a TestDNSAnswer request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TestDNSAnswerResponse type TestDNSAnswerOutput struct { @@ -11833,42 +9865,6 @@ func (s TestDNSAnswerOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNameserver sets the Nameserver field's value. -func (s *TestDNSAnswerOutput) SetNameserver(v string) *TestDNSAnswerOutput { - s.Nameserver = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *TestDNSAnswerOutput) SetProtocol(v string) *TestDNSAnswerOutput { - s.Protocol = &v - return s -} - -// SetRecordData sets the RecordData field's value. -func (s *TestDNSAnswerOutput) SetRecordData(v []string) *TestDNSAnswerOutput { - s.RecordData = v - return s -} - -// SetRecordName sets the RecordName field's value. -func (s *TestDNSAnswerOutput) SetRecordName(v string) *TestDNSAnswerOutput { - s.RecordName = &v - return s -} - -// SetRecordType sets the RecordType field's value. -func (s *TestDNSAnswerOutput) SetRecordType(v RRType) *TestDNSAnswerOutput { - s.RecordType = v - return s -} - -// SetResponseCode sets the ResponseCode field's value. -func (s *TestDNSAnswerOutput) SetResponseCode(v string) *TestDNSAnswerOutput { - s.ResponseCode = &v - return s -} - // A complex type that contains settings for a traffic policy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TrafficPolicy type TrafficPolicy struct { @@ -11918,42 +9914,6 @@ func (s TrafficPolicy) GoString() string { return s.String() } -// SetComment sets the Comment field's value. -func (s *TrafficPolicy) SetComment(v string) *TrafficPolicy { - s.Comment = &v - return s -} - -// SetDocument sets the Document field's value. -func (s *TrafficPolicy) SetDocument(v string) *TrafficPolicy { - s.Document = &v - return s -} - -// SetId sets the Id field's value. -func (s *TrafficPolicy) SetId(v string) *TrafficPolicy { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *TrafficPolicy) SetName(v string) *TrafficPolicy { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *TrafficPolicy) SetType(v RRType) *TrafficPolicy { - s.Type = v - return s -} - -// SetVersion sets the Version field's value. -func (s *TrafficPolicy) SetVersion(v int64) *TrafficPolicy { - s.Version = &v - return s -} - // A complex type that contains settings for the new traffic policy instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TrafficPolicyInstance type TrafficPolicyInstance struct { @@ -12033,60 +9993,6 @@ func (s TrafficPolicyInstance) GoString() string { return s.String() } -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *TrafficPolicyInstance) SetHostedZoneId(v string) *TrafficPolicyInstance { - s.HostedZoneId = &v - return s -} - -// SetId sets the Id field's value. -func (s *TrafficPolicyInstance) SetId(v string) *TrafficPolicyInstance { - s.Id = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *TrafficPolicyInstance) SetMessage(v string) *TrafficPolicyInstance { - s.Message = &v - return s -} - -// SetName sets the Name field's value. -func (s *TrafficPolicyInstance) SetName(v string) *TrafficPolicyInstance { - s.Name = &v - return s -} - -// SetState sets the State field's value. -func (s *TrafficPolicyInstance) SetState(v string) *TrafficPolicyInstance { - s.State = &v - return s -} - -// SetTTL sets the TTL field's value. -func (s *TrafficPolicyInstance) SetTTL(v int64) *TrafficPolicyInstance { - s.TTL = &v - return s -} - -// SetTrafficPolicyId sets the TrafficPolicyId field's value. -func (s *TrafficPolicyInstance) SetTrafficPolicyId(v string) *TrafficPolicyInstance { - s.TrafficPolicyId = &v - return s -} - -// SetTrafficPolicyType sets the TrafficPolicyType field's value. -func (s *TrafficPolicyInstance) SetTrafficPolicyType(v RRType) *TrafficPolicyInstance { - s.TrafficPolicyType = v - return s -} - -// SetTrafficPolicyVersion sets the TrafficPolicyVersion field's value. -func (s *TrafficPolicyInstance) SetTrafficPolicyVersion(v int64) *TrafficPolicyInstance { - s.TrafficPolicyVersion = &v - return s -} - // A complex type that contains information about the latest version of one // traffic policy that is associated with the current AWS account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TrafficPolicySummary @@ -12131,36 +10037,6 @@ func (s TrafficPolicySummary) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *TrafficPolicySummary) SetId(v string) *TrafficPolicySummary { - s.Id = &v - return s -} - -// SetLatestVersion sets the LatestVersion field's value. -func (s *TrafficPolicySummary) SetLatestVersion(v int64) *TrafficPolicySummary { - s.LatestVersion = &v - return s -} - -// SetName sets the Name field's value. -func (s *TrafficPolicySummary) SetName(v string) *TrafficPolicySummary { - s.Name = &v - return s -} - -// SetTrafficPolicyCount sets the TrafficPolicyCount field's value. -func (s *TrafficPolicySummary) SetTrafficPolicyCount(v int64) *TrafficPolicySummary { - s.TrafficPolicyCount = &v - return s -} - -// SetType sets the Type field's value. -func (s *TrafficPolicySummary) SetType(v RRType) *TrafficPolicySummary { - s.Type = v - return s -} - // A complex type that contains information about a request to update a health // check. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHealthCheckRequest @@ -12457,102 +10333,6 @@ func (s *UpdateHealthCheckInput) Validate() error { return nil } -// SetAlarmIdentifier sets the AlarmIdentifier field's value. -func (s *UpdateHealthCheckInput) SetAlarmIdentifier(v *AlarmIdentifier) *UpdateHealthCheckInput { - s.AlarmIdentifier = v - return s -} - -// SetChildHealthChecks sets the ChildHealthChecks field's value. -func (s *UpdateHealthCheckInput) SetChildHealthChecks(v []string) *UpdateHealthCheckInput { - s.ChildHealthChecks = v - return s -} - -// SetEnableSNI sets the EnableSNI field's value. -func (s *UpdateHealthCheckInput) SetEnableSNI(v bool) *UpdateHealthCheckInput { - s.EnableSNI = &v - return s -} - -// SetFailureThreshold sets the FailureThreshold field's value. -func (s *UpdateHealthCheckInput) SetFailureThreshold(v int64) *UpdateHealthCheckInput { - s.FailureThreshold = &v - return s -} - -// SetFullyQualifiedDomainName sets the FullyQualifiedDomainName field's value. -func (s *UpdateHealthCheckInput) SetFullyQualifiedDomainName(v string) *UpdateHealthCheckInput { - s.FullyQualifiedDomainName = &v - return s -} - -// SetHealthCheckId sets the HealthCheckId field's value. -func (s *UpdateHealthCheckInput) SetHealthCheckId(v string) *UpdateHealthCheckInput { - s.HealthCheckId = &v - return s -} - -// SetHealthCheckVersion sets the HealthCheckVersion field's value. -func (s *UpdateHealthCheckInput) SetHealthCheckVersion(v int64) *UpdateHealthCheckInput { - s.HealthCheckVersion = &v - return s -} - -// SetHealthThreshold sets the HealthThreshold field's value. -func (s *UpdateHealthCheckInput) SetHealthThreshold(v int64) *UpdateHealthCheckInput { - s.HealthThreshold = &v - return s -} - -// SetIPAddress sets the IPAddress field's value. -func (s *UpdateHealthCheckInput) SetIPAddress(v string) *UpdateHealthCheckInput { - s.IPAddress = &v - return s -} - -// SetInsufficientDataHealthStatus sets the InsufficientDataHealthStatus field's value. -func (s *UpdateHealthCheckInput) SetInsufficientDataHealthStatus(v InsufficientDataHealthStatus) *UpdateHealthCheckInput { - s.InsufficientDataHealthStatus = v - return s -} - -// SetInverted sets the Inverted field's value. -func (s *UpdateHealthCheckInput) SetInverted(v bool) *UpdateHealthCheckInput { - s.Inverted = &v - return s -} - -// SetPort sets the Port field's value. -func (s *UpdateHealthCheckInput) SetPort(v int64) *UpdateHealthCheckInput { - s.Port = &v - return s -} - -// SetRegions sets the Regions field's value. -func (s *UpdateHealthCheckInput) SetRegions(v []HealthCheckRegion) *UpdateHealthCheckInput { - s.Regions = v - return s -} - -// SetResetElements sets the ResetElements field's value. -func (s *UpdateHealthCheckInput) SetResetElements(v []ResettableElementName) *UpdateHealthCheckInput { - s.ResetElements = v - return s -} - -// SetResourcePath sets the ResourcePath field's value. -func (s *UpdateHealthCheckInput) SetResourcePath(v string) *UpdateHealthCheckInput { - s.ResourcePath = &v - return s -} - -// SetSearchString sets the SearchString field's value. -func (s *UpdateHealthCheckInput) SetSearchString(v string) *UpdateHealthCheckInput { - s.SearchString = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHealthCheckResponse type UpdateHealthCheckOutput struct { _ struct{} `type:"structure"` @@ -12581,12 +10361,6 @@ func (s UpdateHealthCheckOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHealthCheck sets the HealthCheck field's value. -func (s *UpdateHealthCheckOutput) SetHealthCheck(v *HealthCheck) *UpdateHealthCheckOutput { - s.HealthCheck = v - return s -} - // A request to update the comment for a hosted zone. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHostedZoneCommentRequest type UpdateHostedZoneCommentInput struct { @@ -12626,18 +10400,6 @@ func (s *UpdateHostedZoneCommentInput) Validate() error { return nil } -// SetComment sets the Comment field's value. -func (s *UpdateHostedZoneCommentInput) SetComment(v string) *UpdateHostedZoneCommentInput { - s.Comment = &v - return s -} - -// SetId sets the Id field's value. -func (s *UpdateHostedZoneCommentInput) SetId(v string) *UpdateHostedZoneCommentInput { - s.Id = &v - return s -} - // A complex type that contains the response to the UpdateHostedZoneComment // request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHostedZoneCommentResponse @@ -12667,12 +10429,6 @@ func (s UpdateHostedZoneCommentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetHostedZone sets the HostedZone field's value. -func (s *UpdateHostedZoneCommentOutput) SetHostedZone(v *HostedZone) *UpdateHostedZoneCommentOutput { - s.HostedZone = v - return s -} - // A complex type that contains information about the traffic policy that you // want to update the comment for. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyCommentRequest @@ -12735,24 +10491,6 @@ func (s *UpdateTrafficPolicyCommentInput) Validate() error { return nil } -// SetComment sets the Comment field's value. -func (s *UpdateTrafficPolicyCommentInput) SetComment(v string) *UpdateTrafficPolicyCommentInput { - s.Comment = &v - return s -} - -// SetId sets the Id field's value. -func (s *UpdateTrafficPolicyCommentInput) SetId(v string) *UpdateTrafficPolicyCommentInput { - s.Id = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *UpdateTrafficPolicyCommentInput) SetVersion(v int64) *UpdateTrafficPolicyCommentInput { - s.Version = &v - return s -} - // A complex type that contains the response information for the traffic policy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyCommentResponse type UpdateTrafficPolicyCommentOutput struct { @@ -12781,12 +10519,6 @@ func (s UpdateTrafficPolicyCommentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTrafficPolicy sets the TrafficPolicy field's value. -func (s *UpdateTrafficPolicyCommentOutput) SetTrafficPolicy(v *TrafficPolicy) *UpdateTrafficPolicyCommentOutput { - s.TrafficPolicy = v - return s -} - // A complex type that contains information about the resource record sets that // you want to update based on a specified traffic policy instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyInstanceRequest @@ -12862,30 +10594,6 @@ func (s *UpdateTrafficPolicyInstanceInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *UpdateTrafficPolicyInstanceInput) SetId(v string) *UpdateTrafficPolicyInstanceInput { - s.Id = &v - return s -} - -// SetTTL sets the TTL field's value. -func (s *UpdateTrafficPolicyInstanceInput) SetTTL(v int64) *UpdateTrafficPolicyInstanceInput { - s.TTL = &v - return s -} - -// SetTrafficPolicyId sets the TrafficPolicyId field's value. -func (s *UpdateTrafficPolicyInstanceInput) SetTrafficPolicyId(v string) *UpdateTrafficPolicyInstanceInput { - s.TrafficPolicyId = &v - return s -} - -// SetTrafficPolicyVersion sets the TrafficPolicyVersion field's value. -func (s *UpdateTrafficPolicyInstanceInput) SetTrafficPolicyVersion(v int64) *UpdateTrafficPolicyInstanceInput { - s.TrafficPolicyVersion = &v - return s -} - // A complex type that contains information about the resource record sets that // Amazon Route 53 created based on a specified traffic policy. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyInstanceResponse @@ -12915,12 +10623,6 @@ func (s UpdateTrafficPolicyInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTrafficPolicyInstance sets the TrafficPolicyInstance field's value. -func (s *UpdateTrafficPolicyInstanceOutput) SetTrafficPolicyInstance(v *TrafficPolicyInstance) *UpdateTrafficPolicyInstanceOutput { - s.TrafficPolicyInstance = v - return s -} - // (Private hosted zones only) A complex type that contains information about // an Amazon VPC. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/VPC @@ -12954,18 +10656,6 @@ func (s *VPC) Validate() error { return nil } -// SetVPCId sets the VPCId field's value. -func (s *VPC) SetVPCId(v string) *VPC { - s.VPCId = &v - return s -} - -// SetVPCRegion sets the VPCRegion field's value. -func (s *VPC) SetVPCRegion(v VPCRegion) *VPC { - s.VPCRegion = v - return s -} - type AccountLimitType string // Enum values for AccountLimitType diff --git a/service/route53domains/api.go b/service/route53domains/api.go index 1065bfa0968..55d1d589f63 100644 --- a/service/route53domains/api.go +++ b/service/route53domains/api.go @@ -1460,36 +1460,6 @@ func (s BillingRecord) GoString() string { return s.String() } -// SetBillDate sets the BillDate field's value. -func (s *BillingRecord) SetBillDate(v time.Time) *BillingRecord { - s.BillDate = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *BillingRecord) SetDomainName(v string) *BillingRecord { - s.DomainName = &v - return s -} - -// SetInvoiceId sets the InvoiceId field's value. -func (s *BillingRecord) SetInvoiceId(v string) *BillingRecord { - s.InvoiceId = &v - return s -} - -// SetOperation sets the Operation field's value. -func (s *BillingRecord) SetOperation(v OperationType) *BillingRecord { - s.Operation = v - return s -} - -// SetPrice sets the Price field's value. -func (s *BillingRecord) SetPrice(v float64) *BillingRecord { - s.Price = &v - return s -} - // The CheckDomainAvailability request contains the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CheckDomainAvailabilityRequest type CheckDomainAvailabilityInput struct { @@ -1532,18 +1502,6 @@ func (s *CheckDomainAvailabilityInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *CheckDomainAvailabilityInput) SetDomainName(v string) *CheckDomainAvailabilityInput { - s.DomainName = &v - return s -} - -// SetIdnLangCode sets the IdnLangCode field's value. -func (s *CheckDomainAvailabilityInput) SetIdnLangCode(v string) *CheckDomainAvailabilityInput { - s.IdnLangCode = &v - return s -} - // The CheckDomainAvailability response includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CheckDomainAvailabilityResponse type CheckDomainAvailabilityOutput struct { @@ -1599,12 +1557,6 @@ func (s CheckDomainAvailabilityOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAvailability sets the Availability field's value. -func (s *CheckDomainAvailabilityOutput) SetAvailability(v DomainAvailability) *CheckDomainAvailabilityOutput { - s.Availability = v - return s -} - // The CheckDomainTransferability request contains the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CheckDomainTransferabilityRequest type CheckDomainTransferabilityInput struct { @@ -1649,18 +1601,6 @@ func (s *CheckDomainTransferabilityInput) Validate() error { return nil } -// SetAuthCode sets the AuthCode field's value. -func (s *CheckDomainTransferabilityInput) SetAuthCode(v string) *CheckDomainTransferabilityInput { - s.AuthCode = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *CheckDomainTransferabilityInput) SetDomainName(v string) *CheckDomainTransferabilityInput { - s.DomainName = &v - return s -} - // The CheckDomainTransferability response includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CheckDomainTransferabilityResponse type CheckDomainTransferabilityOutput struct { @@ -1690,12 +1630,6 @@ func (s CheckDomainTransferabilityOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTransferability sets the Transferability field's value. -func (s *CheckDomainTransferabilityOutput) SetTransferability(v *DomainTransferability) *CheckDomainTransferabilityOutput { - s.Transferability = v - return s -} - // ContactDetail includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ContactDetail type ContactDetail struct { @@ -1781,90 +1715,6 @@ func (s *ContactDetail) Validate() error { return nil } -// SetAddressLine1 sets the AddressLine1 field's value. -func (s *ContactDetail) SetAddressLine1(v string) *ContactDetail { - s.AddressLine1 = &v - return s -} - -// SetAddressLine2 sets the AddressLine2 field's value. -func (s *ContactDetail) SetAddressLine2(v string) *ContactDetail { - s.AddressLine2 = &v - return s -} - -// SetCity sets the City field's value. -func (s *ContactDetail) SetCity(v string) *ContactDetail { - s.City = &v - return s -} - -// SetContactType sets the ContactType field's value. -func (s *ContactDetail) SetContactType(v ContactType) *ContactDetail { - s.ContactType = v - return s -} - -// SetCountryCode sets the CountryCode field's value. -func (s *ContactDetail) SetCountryCode(v CountryCode) *ContactDetail { - s.CountryCode = v - return s -} - -// SetEmail sets the Email field's value. -func (s *ContactDetail) SetEmail(v string) *ContactDetail { - s.Email = &v - return s -} - -// SetExtraParams sets the ExtraParams field's value. -func (s *ContactDetail) SetExtraParams(v []ExtraParam) *ContactDetail { - s.ExtraParams = v - return s -} - -// SetFax sets the Fax field's value. -func (s *ContactDetail) SetFax(v string) *ContactDetail { - s.Fax = &v - return s -} - -// SetFirstName sets the FirstName field's value. -func (s *ContactDetail) SetFirstName(v string) *ContactDetail { - s.FirstName = &v - return s -} - -// SetLastName sets the LastName field's value. -func (s *ContactDetail) SetLastName(v string) *ContactDetail { - s.LastName = &v - return s -} - -// SetOrganizationName sets the OrganizationName field's value. -func (s *ContactDetail) SetOrganizationName(v string) *ContactDetail { - s.OrganizationName = &v - return s -} - -// SetPhoneNumber sets the PhoneNumber field's value. -func (s *ContactDetail) SetPhoneNumber(v string) *ContactDetail { - s.PhoneNumber = &v - return s -} - -// SetState sets the State field's value. -func (s *ContactDetail) SetState(v string) *ContactDetail { - s.State = &v - return s -} - -// SetZipCode sets the ZipCode field's value. -func (s *ContactDetail) SetZipCode(v string) *ContactDetail { - s.ZipCode = &v - return s -} - // The DeleteTagsForDomainRequest includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DeleteTagsForDomainRequest type DeleteTagsForDomainInput struct { @@ -1909,18 +1759,6 @@ func (s *DeleteTagsForDomainInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DeleteTagsForDomainInput) SetDomainName(v string) *DeleteTagsForDomainInput { - s.DomainName = &v - return s -} - -// SetTagsToDelete sets the TagsToDelete field's value. -func (s *DeleteTagsForDomainInput) SetTagsToDelete(v []string) *DeleteTagsForDomainInput { - s.TagsToDelete = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DeleteTagsForDomainResponse type DeleteTagsForDomainOutput struct { _ struct{} `type:"structure"` @@ -1977,12 +1815,6 @@ func (s *DisableDomainAutoRenewInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DisableDomainAutoRenewInput) SetDomainName(v string) *DisableDomainAutoRenewInput { - s.DomainName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DisableDomainAutoRenewResponse type DisableDomainAutoRenewOutput struct { _ struct{} `type:"structure"` @@ -2040,12 +1872,6 @@ func (s *DisableDomainTransferLockInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DisableDomainTransferLockInput) SetDomainName(v string) *DisableDomainTransferLockInput { - s.DomainName = &v - return s -} - // The DisableDomainTransferLock response includes the following element. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DisableDomainTransferLockResponse type DisableDomainTransferLockOutput struct { @@ -2075,12 +1901,6 @@ func (s DisableDomainTransferLockOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperationId sets the OperationId field's value. -func (s *DisableDomainTransferLockOutput) SetOperationId(v string) *DisableDomainTransferLockOutput { - s.OperationId = &v - return s -} - // Information about one suggested domain name. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DomainSuggestion type DomainSuggestion struct { @@ -2130,18 +1950,6 @@ func (s DomainSuggestion) GoString() string { return s.String() } -// SetAvailability sets the Availability field's value. -func (s *DomainSuggestion) SetAvailability(v string) *DomainSuggestion { - s.Availability = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *DomainSuggestion) SetDomainName(v string) *DomainSuggestion { - s.DomainName = &v - return s -} - // Summary information about one domain. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DomainSummary type DomainSummary struct { @@ -2173,30 +1981,6 @@ func (s DomainSummary) GoString() string { return s.String() } -// SetAutoRenew sets the AutoRenew field's value. -func (s *DomainSummary) SetAutoRenew(v bool) *DomainSummary { - s.AutoRenew = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *DomainSummary) SetDomainName(v string) *DomainSummary { - s.DomainName = &v - return s -} - -// SetExpiry sets the Expiry field's value. -func (s *DomainSummary) SetExpiry(v time.Time) *DomainSummary { - s.Expiry = &v - return s -} - -// SetTransferLock sets the TransferLock field's value. -func (s *DomainSummary) SetTransferLock(v bool) *DomainSummary { - s.TransferLock = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DomainTransferability type DomainTransferability struct { _ struct{} `type:"structure"` @@ -2225,12 +2009,6 @@ func (s DomainTransferability) GoString() string { return s.String() } -// SetTransferable sets the Transferable field's value. -func (s *DomainTransferability) SetTransferable(v Transferable) *DomainTransferability { - s.Transferable = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/EnableDomainAutoRenewRequest type EnableDomainAutoRenewInput struct { _ struct{} `type:"structure"` @@ -2265,12 +2043,6 @@ func (s *EnableDomainAutoRenewInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *EnableDomainAutoRenewInput) SetDomainName(v string) *EnableDomainAutoRenewInput { - s.DomainName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/EnableDomainAutoRenewResponse type EnableDomainAutoRenewOutput struct { _ struct{} `type:"structure"` @@ -2328,12 +2100,6 @@ func (s *EnableDomainTransferLockInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *EnableDomainTransferLockInput) SetDomainName(v string) *EnableDomainTransferLockInput { - s.DomainName = &v - return s -} - // The EnableDomainTransferLock response includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/EnableDomainTransferLockResponse type EnableDomainTransferLockOutput struct { @@ -2363,12 +2129,6 @@ func (s EnableDomainTransferLockOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperationId sets the OperationId field's value. -func (s *EnableDomainTransferLockOutput) SetOperationId(v string) *EnableDomainTransferLockOutput { - s.OperationId = &v - return s -} - // ExtraParam includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ExtraParam type ExtraParam struct { @@ -2413,18 +2173,6 @@ func (s *ExtraParam) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *ExtraParam) SetName(v ExtraParamName) *ExtraParam { - s.Name = v - return s -} - -// SetValue sets the Value field's value. -func (s *ExtraParam) SetValue(v string) *ExtraParam { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetContactReachabilityStatusRequest type GetContactReachabilityStatusInput struct { _ struct{} `type:"structure"` @@ -2444,12 +2192,6 @@ func (s GetContactReachabilityStatusInput) GoString() string { return s.String() } -// SetDomainName sets the DomainName field's value. -func (s *GetContactReachabilityStatusInput) SetDomainName(v string) *GetContactReachabilityStatusInput { - s.DomainName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetContactReachabilityStatusResponse type GetContactReachabilityStatusOutput struct { _ struct{} `type:"structure"` @@ -2484,18 +2226,6 @@ func (s GetContactReachabilityStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDomainName sets the DomainName field's value. -func (s *GetContactReachabilityStatusOutput) SetDomainName(v string) *GetContactReachabilityStatusOutput { - s.DomainName = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetContactReachabilityStatusOutput) SetStatus(v ReachabilityStatus) *GetContactReachabilityStatusOutput { - s.Status = v - return s -} - // The GetDomainDetail request includes the following element. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetDomainDetailRequest type GetDomainDetailInput struct { @@ -2531,12 +2261,6 @@ func (s *GetDomainDetailInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *GetDomainDetailInput) SetDomainName(v string) *GetDomainDetailInput { - s.DomainName = &v - return s -} - // The GetDomainDetail response includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetDomainDetailResponse type GetDomainDetailOutput struct { @@ -2663,132 +2387,6 @@ func (s GetDomainDetailOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAbuseContactEmail sets the AbuseContactEmail field's value. -func (s *GetDomainDetailOutput) SetAbuseContactEmail(v string) *GetDomainDetailOutput { - s.AbuseContactEmail = &v - return s -} - -// SetAbuseContactPhone sets the AbuseContactPhone field's value. -func (s *GetDomainDetailOutput) SetAbuseContactPhone(v string) *GetDomainDetailOutput { - s.AbuseContactPhone = &v - return s -} - -// SetAdminContact sets the AdminContact field's value. -func (s *GetDomainDetailOutput) SetAdminContact(v *ContactDetail) *GetDomainDetailOutput { - s.AdminContact = v - return s -} - -// SetAdminPrivacy sets the AdminPrivacy field's value. -func (s *GetDomainDetailOutput) SetAdminPrivacy(v bool) *GetDomainDetailOutput { - s.AdminPrivacy = &v - return s -} - -// SetAutoRenew sets the AutoRenew field's value. -func (s *GetDomainDetailOutput) SetAutoRenew(v bool) *GetDomainDetailOutput { - s.AutoRenew = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *GetDomainDetailOutput) SetCreationDate(v time.Time) *GetDomainDetailOutput { - s.CreationDate = &v - return s -} - -// SetDnsSec sets the DnsSec field's value. -func (s *GetDomainDetailOutput) SetDnsSec(v string) *GetDomainDetailOutput { - s.DnsSec = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *GetDomainDetailOutput) SetDomainName(v string) *GetDomainDetailOutput { - s.DomainName = &v - return s -} - -// SetExpirationDate sets the ExpirationDate field's value. -func (s *GetDomainDetailOutput) SetExpirationDate(v time.Time) *GetDomainDetailOutput { - s.ExpirationDate = &v - return s -} - -// SetNameservers sets the Nameservers field's value. -func (s *GetDomainDetailOutput) SetNameservers(v []Nameserver) *GetDomainDetailOutput { - s.Nameservers = v - return s -} - -// SetRegistrantContact sets the RegistrantContact field's value. -func (s *GetDomainDetailOutput) SetRegistrantContact(v *ContactDetail) *GetDomainDetailOutput { - s.RegistrantContact = v - return s -} - -// SetRegistrantPrivacy sets the RegistrantPrivacy field's value. -func (s *GetDomainDetailOutput) SetRegistrantPrivacy(v bool) *GetDomainDetailOutput { - s.RegistrantPrivacy = &v - return s -} - -// SetRegistrarName sets the RegistrarName field's value. -func (s *GetDomainDetailOutput) SetRegistrarName(v string) *GetDomainDetailOutput { - s.RegistrarName = &v - return s -} - -// SetRegistrarUrl sets the RegistrarUrl field's value. -func (s *GetDomainDetailOutput) SetRegistrarUrl(v string) *GetDomainDetailOutput { - s.RegistrarUrl = &v - return s -} - -// SetRegistryDomainId sets the RegistryDomainId field's value. -func (s *GetDomainDetailOutput) SetRegistryDomainId(v string) *GetDomainDetailOutput { - s.RegistryDomainId = &v - return s -} - -// SetReseller sets the Reseller field's value. -func (s *GetDomainDetailOutput) SetReseller(v string) *GetDomainDetailOutput { - s.Reseller = &v - return s -} - -// SetStatusList sets the StatusList field's value. -func (s *GetDomainDetailOutput) SetStatusList(v []string) *GetDomainDetailOutput { - s.StatusList = v - return s -} - -// SetTechContact sets the TechContact field's value. -func (s *GetDomainDetailOutput) SetTechContact(v *ContactDetail) *GetDomainDetailOutput { - s.TechContact = v - return s -} - -// SetTechPrivacy sets the TechPrivacy field's value. -func (s *GetDomainDetailOutput) SetTechPrivacy(v bool) *GetDomainDetailOutput { - s.TechPrivacy = &v - return s -} - -// SetUpdatedDate sets the UpdatedDate field's value. -func (s *GetDomainDetailOutput) SetUpdatedDate(v time.Time) *GetDomainDetailOutput { - s.UpdatedDate = &v - return s -} - -// SetWhoIsServer sets the WhoIsServer field's value. -func (s *GetDomainDetailOutput) SetWhoIsServer(v string) *GetDomainDetailOutput { - s.WhoIsServer = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetDomainSuggestionsRequest type GetDomainSuggestionsInput struct { _ struct{} `type:"structure"` @@ -2849,24 +2447,6 @@ func (s *GetDomainSuggestionsInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *GetDomainSuggestionsInput) SetDomainName(v string) *GetDomainSuggestionsInput { - s.DomainName = &v - return s -} - -// SetOnlyAvailable sets the OnlyAvailable field's value. -func (s *GetDomainSuggestionsInput) SetOnlyAvailable(v bool) *GetDomainSuggestionsInput { - s.OnlyAvailable = &v - return s -} - -// SetSuggestionCount sets the SuggestionCount field's value. -func (s *GetDomainSuggestionsInput) SetSuggestionCount(v int64) *GetDomainSuggestionsInput { - s.SuggestionCount = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetDomainSuggestionsResponse type GetDomainSuggestionsOutput struct { _ struct{} `type:"structure"` @@ -2893,12 +2473,6 @@ func (s GetDomainSuggestionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSuggestionsList sets the SuggestionsList field's value. -func (s *GetDomainSuggestionsOutput) SetSuggestionsList(v []DomainSuggestion) *GetDomainSuggestionsOutput { - s.SuggestionsList = v - return s -} - // The GetOperationDetail request includes the following element. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetOperationDetailRequest type GetOperationDetailInput struct { @@ -2935,12 +2509,6 @@ func (s *GetOperationDetailInput) Validate() error { return nil } -// SetOperationId sets the OperationId field's value. -func (s *GetOperationDetailInput) SetOperationId(v string) *GetOperationDetailInput { - s.OperationId = &v - return s -} - // The GetOperationDetail response includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetOperationDetailResponse type GetOperationDetailOutput struct { @@ -2982,42 +2550,6 @@ func (s GetOperationDetailOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDomainName sets the DomainName field's value. -func (s *GetOperationDetailOutput) SetDomainName(v string) *GetOperationDetailOutput { - s.DomainName = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *GetOperationDetailOutput) SetMessage(v string) *GetOperationDetailOutput { - s.Message = &v - return s -} - -// SetOperationId sets the OperationId field's value. -func (s *GetOperationDetailOutput) SetOperationId(v string) *GetOperationDetailOutput { - s.OperationId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetOperationDetailOutput) SetStatus(v OperationStatus) *GetOperationDetailOutput { - s.Status = v - return s -} - -// SetSubmittedDate sets the SubmittedDate field's value. -func (s *GetOperationDetailOutput) SetSubmittedDate(v time.Time) *GetOperationDetailOutput { - s.SubmittedDate = &v - return s -} - -// SetType sets the Type field's value. -func (s *GetOperationDetailOutput) SetType(v OperationType) *GetOperationDetailOutput { - s.Type = v - return s -} - // The ListDomains request includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListDomainsRequest type ListDomainsInput struct { @@ -3049,18 +2581,6 @@ func (s ListDomainsInput) GoString() string { return s.String() } -// SetMarker sets the Marker field's value. -func (s *ListDomainsInput) SetMarker(v string) *ListDomainsInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListDomainsInput) SetMaxItems(v int64) *ListDomainsInput { - s.MaxItems = &v - return s -} - // The ListDomains response includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListDomainsResponse type ListDomainsOutput struct { @@ -3094,18 +2614,6 @@ func (s ListDomainsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDomains sets the Domains field's value. -func (s *ListDomainsOutput) SetDomains(v []DomainSummary) *ListDomainsOutput { - s.Domains = v - return s -} - -// SetNextPageMarker sets the NextPageMarker field's value. -func (s *ListDomainsOutput) SetNextPageMarker(v string) *ListDomainsOutput { - s.NextPageMarker = &v - return s -} - // The ListOperations request includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListOperationsRequest type ListOperationsInput struct { @@ -3135,18 +2643,6 @@ func (s ListOperationsInput) GoString() string { return s.String() } -// SetMarker sets the Marker field's value. -func (s *ListOperationsInput) SetMarker(v string) *ListOperationsInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListOperationsInput) SetMaxItems(v int64) *ListOperationsInput { - s.MaxItems = &v - return s -} - // The ListOperations response includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListOperationsResponse type ListOperationsOutput struct { @@ -3180,18 +2676,6 @@ func (s ListOperationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextPageMarker sets the NextPageMarker field's value. -func (s *ListOperationsOutput) SetNextPageMarker(v string) *ListOperationsOutput { - s.NextPageMarker = &v - return s -} - -// SetOperations sets the Operations field's value. -func (s *ListOperationsOutput) SetOperations(v []OperationSummary) *ListOperationsOutput { - s.Operations = v - return s -} - // The ListTagsForDomainRequest includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListTagsForDomainRequest type ListTagsForDomainInput struct { @@ -3227,12 +2711,6 @@ func (s *ListTagsForDomainInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *ListTagsForDomainInput) SetDomainName(v string) *ListTagsForDomainInput { - s.DomainName = &v - return s -} - // The ListTagsForDomain response includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListTagsForDomainResponse type ListTagsForDomainOutput struct { @@ -3261,12 +2739,6 @@ func (s ListTagsForDomainOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTagList sets the TagList field's value. -func (s *ListTagsForDomainOutput) SetTagList(v []Tag) *ListTagsForDomainOutput { - s.TagList = v - return s -} - // Nameserver includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/Nameserver type Nameserver struct { @@ -3312,18 +2784,6 @@ func (s *Nameserver) Validate() error { return nil } -// SetGlueIps sets the GlueIps field's value. -func (s *Nameserver) SetGlueIps(v []string) *Nameserver { - s.GlueIps = v - return s -} - -// SetName sets the Name field's value. -func (s *Nameserver) SetName(v string) *Nameserver { - s.Name = &v - return s -} - // OperationSummary includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/OperationSummary type OperationSummary struct { @@ -3360,30 +2820,6 @@ func (s OperationSummary) GoString() string { return s.String() } -// SetOperationId sets the OperationId field's value. -func (s *OperationSummary) SetOperationId(v string) *OperationSummary { - s.OperationId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *OperationSummary) SetStatus(v OperationStatus) *OperationSummary { - s.Status = v - return s -} - -// SetSubmittedDate sets the SubmittedDate field's value. -func (s *OperationSummary) SetSubmittedDate(v time.Time) *OperationSummary { - s.SubmittedDate = &v - return s -} - -// SetType sets the Type field's value. -func (s *OperationSummary) SetType(v OperationType) *OperationSummary { - s.Type = v - return s -} - // The RegisterDomain request includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RegisterDomainRequest type RegisterDomainInput struct { @@ -3516,66 +2952,6 @@ func (s *RegisterDomainInput) Validate() error { return nil } -// SetAdminContact sets the AdminContact field's value. -func (s *RegisterDomainInput) SetAdminContact(v *ContactDetail) *RegisterDomainInput { - s.AdminContact = v - return s -} - -// SetAutoRenew sets the AutoRenew field's value. -func (s *RegisterDomainInput) SetAutoRenew(v bool) *RegisterDomainInput { - s.AutoRenew = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *RegisterDomainInput) SetDomainName(v string) *RegisterDomainInput { - s.DomainName = &v - return s -} - -// SetDurationInYears sets the DurationInYears field's value. -func (s *RegisterDomainInput) SetDurationInYears(v int64) *RegisterDomainInput { - s.DurationInYears = &v - return s -} - -// SetIdnLangCode sets the IdnLangCode field's value. -func (s *RegisterDomainInput) SetIdnLangCode(v string) *RegisterDomainInput { - s.IdnLangCode = &v - return s -} - -// SetPrivacyProtectAdminContact sets the PrivacyProtectAdminContact field's value. -func (s *RegisterDomainInput) SetPrivacyProtectAdminContact(v bool) *RegisterDomainInput { - s.PrivacyProtectAdminContact = &v - return s -} - -// SetPrivacyProtectRegistrantContact sets the PrivacyProtectRegistrantContact field's value. -func (s *RegisterDomainInput) SetPrivacyProtectRegistrantContact(v bool) *RegisterDomainInput { - s.PrivacyProtectRegistrantContact = &v - return s -} - -// SetPrivacyProtectTechContact sets the PrivacyProtectTechContact field's value. -func (s *RegisterDomainInput) SetPrivacyProtectTechContact(v bool) *RegisterDomainInput { - s.PrivacyProtectTechContact = &v - return s -} - -// SetRegistrantContact sets the RegistrantContact field's value. -func (s *RegisterDomainInput) SetRegistrantContact(v *ContactDetail) *RegisterDomainInput { - s.RegistrantContact = v - return s -} - -// SetTechContact sets the TechContact field's value. -func (s *RegisterDomainInput) SetTechContact(v *ContactDetail) *RegisterDomainInput { - s.TechContact = v - return s -} - // The RegisterDomain response includes the following element. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RegisterDomainResponse type RegisterDomainOutput struct { @@ -3605,12 +2981,6 @@ func (s RegisterDomainOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperationId sets the OperationId field's value. -func (s *RegisterDomainOutput) SetOperationId(v string) *RegisterDomainOutput { - s.OperationId = &v - return s -} - // A RenewDomain request includes the number of years that you want to renew // for and the current expiration year. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RenewDomainRequest @@ -3668,24 +3038,6 @@ func (s *RenewDomainInput) Validate() error { return nil } -// SetCurrentExpiryYear sets the CurrentExpiryYear field's value. -func (s *RenewDomainInput) SetCurrentExpiryYear(v int64) *RenewDomainInput { - s.CurrentExpiryYear = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *RenewDomainInput) SetDomainName(v string) *RenewDomainInput { - s.DomainName = &v - return s -} - -// SetDurationInYears sets the DurationInYears field's value. -func (s *RenewDomainInput) SetDurationInYears(v int64) *RenewDomainInput { - s.DurationInYears = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RenewDomainResponse type RenewDomainOutput struct { _ struct{} `type:"structure"` @@ -3714,12 +3066,6 @@ func (s RenewDomainOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperationId sets the OperationId field's value. -func (s *RenewDomainOutput) SetOperationId(v string) *RenewDomainOutput { - s.OperationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ResendContactReachabilityEmailRequest type ResendContactReachabilityEmailInput struct { _ struct{} `type:"structure"` @@ -3739,12 +3085,6 @@ func (s ResendContactReachabilityEmailInput) GoString() string { return s.String() } -// SetDomainName sets the DomainName field's value. -func (s *ResendContactReachabilityEmailInput) SetDomainName(v string) *ResendContactReachabilityEmailInput { - s.DomainName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ResendContactReachabilityEmailResponse type ResendContactReachabilityEmailOutput struct { _ struct{} `type:"structure"` @@ -3779,24 +3119,6 @@ func (s ResendContactReachabilityEmailOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetDomainName sets the DomainName field's value. -func (s *ResendContactReachabilityEmailOutput) SetDomainName(v string) *ResendContactReachabilityEmailOutput { - s.DomainName = &v - return s -} - -// SetEmailAddress sets the EmailAddress field's value. -func (s *ResendContactReachabilityEmailOutput) SetEmailAddress(v string) *ResendContactReachabilityEmailOutput { - s.EmailAddress = &v - return s -} - -// SetIsAlreadyVerified sets the IsAlreadyVerified field's value. -func (s *ResendContactReachabilityEmailOutput) SetIsAlreadyVerified(v bool) *ResendContactReachabilityEmailOutput { - s.IsAlreadyVerified = &v - return s -} - // A request for the authorization code for the specified domain. To transfer // a domain to another registrar, you provide this value to the new registrar. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RetrieveDomainAuthCodeRequest @@ -3833,12 +3155,6 @@ func (s *RetrieveDomainAuthCodeInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *RetrieveDomainAuthCodeInput) SetDomainName(v string) *RetrieveDomainAuthCodeInput { - s.DomainName = &v - return s -} - // The RetrieveDomainAuthCode response includes the following element. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RetrieveDomainAuthCodeResponse type RetrieveDomainAuthCodeOutput struct { @@ -3867,12 +3183,6 @@ func (s RetrieveDomainAuthCodeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAuthCode sets the AuthCode field's value. -func (s *RetrieveDomainAuthCodeOutput) SetAuthCode(v string) *RetrieveDomainAuthCodeOutput { - s.AuthCode = &v - return s -} - // Each tag includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/Tag type Tag struct { @@ -3903,18 +3213,6 @@ func (s Tag) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // The TransferDomain request includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/TransferDomainRequest type TransferDomainInput struct { @@ -4059,78 +3357,6 @@ func (s *TransferDomainInput) Validate() error { return nil } -// SetAdminContact sets the AdminContact field's value. -func (s *TransferDomainInput) SetAdminContact(v *ContactDetail) *TransferDomainInput { - s.AdminContact = v - return s -} - -// SetAuthCode sets the AuthCode field's value. -func (s *TransferDomainInput) SetAuthCode(v string) *TransferDomainInput { - s.AuthCode = &v - return s -} - -// SetAutoRenew sets the AutoRenew field's value. -func (s *TransferDomainInput) SetAutoRenew(v bool) *TransferDomainInput { - s.AutoRenew = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *TransferDomainInput) SetDomainName(v string) *TransferDomainInput { - s.DomainName = &v - return s -} - -// SetDurationInYears sets the DurationInYears field's value. -func (s *TransferDomainInput) SetDurationInYears(v int64) *TransferDomainInput { - s.DurationInYears = &v - return s -} - -// SetIdnLangCode sets the IdnLangCode field's value. -func (s *TransferDomainInput) SetIdnLangCode(v string) *TransferDomainInput { - s.IdnLangCode = &v - return s -} - -// SetNameservers sets the Nameservers field's value. -func (s *TransferDomainInput) SetNameservers(v []Nameserver) *TransferDomainInput { - s.Nameservers = v - return s -} - -// SetPrivacyProtectAdminContact sets the PrivacyProtectAdminContact field's value. -func (s *TransferDomainInput) SetPrivacyProtectAdminContact(v bool) *TransferDomainInput { - s.PrivacyProtectAdminContact = &v - return s -} - -// SetPrivacyProtectRegistrantContact sets the PrivacyProtectRegistrantContact field's value. -func (s *TransferDomainInput) SetPrivacyProtectRegistrantContact(v bool) *TransferDomainInput { - s.PrivacyProtectRegistrantContact = &v - return s -} - -// SetPrivacyProtectTechContact sets the PrivacyProtectTechContact field's value. -func (s *TransferDomainInput) SetPrivacyProtectTechContact(v bool) *TransferDomainInput { - s.PrivacyProtectTechContact = &v - return s -} - -// SetRegistrantContact sets the RegistrantContact field's value. -func (s *TransferDomainInput) SetRegistrantContact(v *ContactDetail) *TransferDomainInput { - s.RegistrantContact = v - return s -} - -// SetTechContact sets the TechContact field's value. -func (s *TransferDomainInput) SetTechContact(v *ContactDetail) *TransferDomainInput { - s.TechContact = v - return s -} - // The TranserDomain response includes the following element. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/TransferDomainResponse type TransferDomainOutput struct { @@ -4160,12 +3386,6 @@ func (s TransferDomainOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperationId sets the OperationId field's value. -func (s *TransferDomainOutput) SetOperationId(v string) *TransferDomainOutput { - s.OperationId = &v - return s -} - // The UpdateDomainContact request includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContactRequest type UpdateDomainContactInput struct { @@ -4225,30 +3445,6 @@ func (s *UpdateDomainContactInput) Validate() error { return nil } -// SetAdminContact sets the AdminContact field's value. -func (s *UpdateDomainContactInput) SetAdminContact(v *ContactDetail) *UpdateDomainContactInput { - s.AdminContact = v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *UpdateDomainContactInput) SetDomainName(v string) *UpdateDomainContactInput { - s.DomainName = &v - return s -} - -// SetRegistrantContact sets the RegistrantContact field's value. -func (s *UpdateDomainContactInput) SetRegistrantContact(v *ContactDetail) *UpdateDomainContactInput { - s.RegistrantContact = v - return s -} - -// SetTechContact sets the TechContact field's value. -func (s *UpdateDomainContactInput) SetTechContact(v *ContactDetail) *UpdateDomainContactInput { - s.TechContact = v - return s -} - // The UpdateDomainContact response includes the following element. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContactResponse type UpdateDomainContactOutput struct { @@ -4278,12 +3474,6 @@ func (s UpdateDomainContactOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperationId sets the OperationId field's value. -func (s *UpdateDomainContactOutput) SetOperationId(v string) *UpdateDomainContactOutput { - s.OperationId = &v - return s -} - // The UpdateDomainContactPrivacy request includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContactPrivacyRequest type UpdateDomainContactPrivacyInput struct { @@ -4337,30 +3527,6 @@ func (s *UpdateDomainContactPrivacyInput) Validate() error { return nil } -// SetAdminPrivacy sets the AdminPrivacy field's value. -func (s *UpdateDomainContactPrivacyInput) SetAdminPrivacy(v bool) *UpdateDomainContactPrivacyInput { - s.AdminPrivacy = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *UpdateDomainContactPrivacyInput) SetDomainName(v string) *UpdateDomainContactPrivacyInput { - s.DomainName = &v - return s -} - -// SetRegistrantPrivacy sets the RegistrantPrivacy field's value. -func (s *UpdateDomainContactPrivacyInput) SetRegistrantPrivacy(v bool) *UpdateDomainContactPrivacyInput { - s.RegistrantPrivacy = &v - return s -} - -// SetTechPrivacy sets the TechPrivacy field's value. -func (s *UpdateDomainContactPrivacyInput) SetTechPrivacy(v bool) *UpdateDomainContactPrivacyInput { - s.TechPrivacy = &v - return s -} - // The UpdateDomainContactPrivacy response includes the following element. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContactPrivacyResponse type UpdateDomainContactPrivacyOutput struct { @@ -4390,12 +3556,6 @@ func (s UpdateDomainContactPrivacyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperationId sets the OperationId field's value. -func (s *UpdateDomainContactPrivacyOutput) SetOperationId(v string) *UpdateDomainContactPrivacyOutput { - s.OperationId = &v - return s -} - // Replaces the current set of name servers for the domain with the specified // set of name servers. If you use Amazon Route 53 as your DNS service, specify // the four name servers in the delegation set for the hosted zone for the domain. @@ -4456,24 +3616,6 @@ func (s *UpdateDomainNameserversInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *UpdateDomainNameserversInput) SetDomainName(v string) *UpdateDomainNameserversInput { - s.DomainName = &v - return s -} - -// SetFIAuthKey sets the FIAuthKey field's value. -func (s *UpdateDomainNameserversInput) SetFIAuthKey(v string) *UpdateDomainNameserversInput { - s.FIAuthKey = &v - return s -} - -// SetNameservers sets the Nameservers field's value. -func (s *UpdateDomainNameserversInput) SetNameservers(v []Nameserver) *UpdateDomainNameserversInput { - s.Nameservers = v - return s -} - // The UpdateDomainNameservers response includes the following element. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainNameserversResponse type UpdateDomainNameserversOutput struct { @@ -4503,12 +3645,6 @@ func (s UpdateDomainNameserversOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperationId sets the OperationId field's value. -func (s *UpdateDomainNameserversOutput) SetOperationId(v string) *UpdateDomainNameserversOutput { - s.OperationId = &v - return s -} - // The UpdateTagsForDomainRequest includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateTagsForDomainRequest type UpdateTagsForDomainInput struct { @@ -4548,18 +3684,6 @@ func (s *UpdateTagsForDomainInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *UpdateTagsForDomainInput) SetDomainName(v string) *UpdateTagsForDomainInput { - s.DomainName = &v - return s -} - -// SetTagsToUpdate sets the TagsToUpdate field's value. -func (s *UpdateTagsForDomainInput) SetTagsToUpdate(v []Tag) *UpdateTagsForDomainInput { - s.TagsToUpdate = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateTagsForDomainResponse type UpdateTagsForDomainOutput struct { _ struct{} `type:"structure"` @@ -4622,30 +3746,6 @@ func (s ViewBillingInput) GoString() string { return s.String() } -// SetEnd sets the End field's value. -func (s *ViewBillingInput) SetEnd(v time.Time) *ViewBillingInput { - s.End = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ViewBillingInput) SetMarker(v string) *ViewBillingInput { - s.Marker = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ViewBillingInput) SetMaxItems(v int64) *ViewBillingInput { - s.MaxItems = &v - return s -} - -// SetStart sets the Start field's value. -func (s *ViewBillingInput) SetStart(v time.Time) *ViewBillingInput { - s.Start = &v - return s -} - // The ViewBilling response includes the following elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ViewBillingResponse type ViewBillingOutput struct { @@ -4677,18 +3777,6 @@ func (s ViewBillingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBillingRecords sets the BillingRecords field's value. -func (s *ViewBillingOutput) SetBillingRecords(v []BillingRecord) *ViewBillingOutput { - s.BillingRecords = v - return s -} - -// SetNextPageMarker sets the NextPageMarker field's value. -func (s *ViewBillingOutput) SetNextPageMarker(v string) *ViewBillingOutput { - s.NextPageMarker = &v - return s -} - type ContactType string // Enum values for ContactType diff --git a/service/s3/api.go b/service/s3/api.go index fbf1be1c543..843b1e28183 100644 --- a/service/s3/api.go +++ b/service/s3/api.go @@ -4212,12 +4212,6 @@ func (s AbortIncompleteMultipartUpload) GoString() string { return s.String() } -// SetDaysAfterInitiation sets the DaysAfterInitiation field's value. -func (s *AbortIncompleteMultipartUpload) SetDaysAfterInitiation(v int64) *AbortIncompleteMultipartUpload { - s.DaysAfterInitiation = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUploadRequest type AbortMultipartUploadInput struct { _ struct{} `type:"structure"` @@ -4273,12 +4267,6 @@ func (s *AbortMultipartUploadInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *AbortMultipartUploadInput) SetBucket(v string) *AbortMultipartUploadInput { - s.Bucket = &v - return s -} - func (s *AbortMultipartUploadInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -4286,24 +4274,6 @@ func (s *AbortMultipartUploadInput) getBucket() (v string) { return *s.Bucket } -// SetKey sets the Key field's value. -func (s *AbortMultipartUploadInput) SetKey(v string) *AbortMultipartUploadInput { - s.Key = &v - return s -} - -// SetRequestPayer sets the RequestPayer field's value. -func (s *AbortMultipartUploadInput) SetRequestPayer(v RequestPayer) *AbortMultipartUploadInput { - s.RequestPayer = v - return s -} - -// SetUploadId sets the UploadId field's value. -func (s *AbortMultipartUploadInput) SetUploadId(v string) *AbortMultipartUploadInput { - s.UploadId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUploadOutput type AbortMultipartUploadOutput struct { _ struct{} `type:"structure"` @@ -4330,12 +4300,6 @@ func (s AbortMultipartUploadOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRequestCharged sets the RequestCharged field's value. -func (s *AbortMultipartUploadOutput) SetRequestCharged(v RequestCharged) *AbortMultipartUploadOutput { - s.RequestCharged = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccelerateConfiguration type AccelerateConfiguration struct { _ struct{} `type:"structure"` @@ -4354,12 +4318,6 @@ func (s AccelerateConfiguration) GoString() string { return s.String() } -// SetStatus sets the Status field's value. -func (s *AccelerateConfiguration) SetStatus(v BucketAccelerateStatus) *AccelerateConfiguration { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccessControlPolicy type AccessControlPolicy struct { _ struct{} `type:"structure"` @@ -4397,18 +4355,6 @@ func (s *AccessControlPolicy) Validate() error { return nil } -// SetGrants sets the Grants field's value. -func (s *AccessControlPolicy) SetGrants(v []Grant) *AccessControlPolicy { - s.Grants = v - return s -} - -// SetOwner sets the Owner field's value. -func (s *AccessControlPolicy) SetOwner(v *Owner) *AccessControlPolicy { - s.Owner = v - return s -} - // Container for information regarding the access control for replicas. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AccessControlTranslation type AccessControlTranslation struct { @@ -4443,12 +4389,6 @@ func (s *AccessControlTranslation) Validate() error { return nil } -// SetOwner sets the Owner field's value. -func (s *AccessControlTranslation) SetOwner(v OwnerOverride) *AccessControlTranslation { - s.Owner = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsAndOperator type AnalyticsAndOperator struct { _ struct{} `type:"structure"` @@ -4487,18 +4427,6 @@ func (s *AnalyticsAndOperator) Validate() error { return nil } -// SetPrefix sets the Prefix field's value. -func (s *AnalyticsAndOperator) SetPrefix(v string) *AnalyticsAndOperator { - s.Prefix = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *AnalyticsAndOperator) SetTags(v []Tag) *AnalyticsAndOperator { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsConfiguration type AnalyticsConfiguration struct { _ struct{} `type:"structure"` @@ -4558,24 +4486,6 @@ func (s *AnalyticsConfiguration) Validate() error { return nil } -// SetFilter sets the Filter field's value. -func (s *AnalyticsConfiguration) SetFilter(v *AnalyticsFilter) *AnalyticsConfiguration { - s.Filter = v - return s -} - -// SetId sets the Id field's value. -func (s *AnalyticsConfiguration) SetId(v string) *AnalyticsConfiguration { - s.Id = &v - return s -} - -// SetStorageClassAnalysis sets the StorageClassAnalysis field's value. -func (s *AnalyticsConfiguration) SetStorageClassAnalysis(v *StorageClassAnalysis) *AnalyticsConfiguration { - s.StorageClassAnalysis = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsExportDestination type AnalyticsExportDestination struct { _ struct{} `type:"structure"` @@ -4615,12 +4525,6 @@ func (s *AnalyticsExportDestination) Validate() error { return nil } -// SetS3BucketDestination sets the S3BucketDestination field's value. -func (s *AnalyticsExportDestination) SetS3BucketDestination(v *AnalyticsS3BucketDestination) *AnalyticsExportDestination { - s.S3BucketDestination = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsFilter type AnalyticsFilter struct { _ struct{} `type:"structure"` @@ -4666,24 +4570,6 @@ func (s *AnalyticsFilter) Validate() error { return nil } -// SetAnd sets the And field's value. -func (s *AnalyticsFilter) SetAnd(v *AnalyticsAndOperator) *AnalyticsFilter { - s.And = v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *AnalyticsFilter) SetPrefix(v string) *AnalyticsFilter { - s.Prefix = &v - return s -} - -// SetTag sets the Tag field's value. -func (s *AnalyticsFilter) SetTag(v *Tag) *AnalyticsFilter { - s.Tag = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AnalyticsS3BucketDestination type AnalyticsS3BucketDestination struct { _ struct{} `type:"structure"` @@ -4734,12 +4620,6 @@ func (s *AnalyticsS3BucketDestination) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *AnalyticsS3BucketDestination) SetBucket(v string) *AnalyticsS3BucketDestination { - s.Bucket = &v - return s -} - func (s *AnalyticsS3BucketDestination) getBucket() (v string) { if s.Bucket == nil { return v @@ -4747,24 +4627,6 @@ func (s *AnalyticsS3BucketDestination) getBucket() (v string) { return *s.Bucket } -// SetBucketAccountId sets the BucketAccountId field's value. -func (s *AnalyticsS3BucketDestination) SetBucketAccountId(v string) *AnalyticsS3BucketDestination { - s.BucketAccountId = &v - return s -} - -// SetFormat sets the Format field's value. -func (s *AnalyticsS3BucketDestination) SetFormat(v AnalyticsS3ExportFileFormat) *AnalyticsS3BucketDestination { - s.Format = v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *AnalyticsS3BucketDestination) SetPrefix(v string) *AnalyticsS3BucketDestination { - s.Prefix = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Bucket type Bucket struct { _ struct{} `type:"structure"` @@ -4786,18 +4648,6 @@ func (s Bucket) GoString() string { return s.String() } -// SetCreationDate sets the CreationDate field's value. -func (s *Bucket) SetCreationDate(v time.Time) *Bucket { - s.CreationDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *Bucket) SetName(v string) *Bucket { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/BucketLifecycleConfiguration type BucketLifecycleConfiguration struct { _ struct{} `type:"structure"` @@ -4837,12 +4687,6 @@ func (s *BucketLifecycleConfiguration) Validate() error { return nil } -// SetRules sets the Rules field's value. -func (s *BucketLifecycleConfiguration) SetRules(v []LifecycleRule) *BucketLifecycleConfiguration { - s.Rules = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/BucketLoggingStatus type BucketLoggingStatus struct { _ struct{} `type:"structure"` @@ -4875,12 +4719,6 @@ func (s *BucketLoggingStatus) Validate() error { return nil } -// SetLoggingEnabled sets the LoggingEnabled field's value. -func (s *BucketLoggingStatus) SetLoggingEnabled(v *LoggingEnabled) *BucketLoggingStatus { - s.LoggingEnabled = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSConfiguration type CORSConfiguration struct { _ struct{} `type:"structure"` @@ -4920,12 +4758,6 @@ func (s *CORSConfiguration) Validate() error { return nil } -// SetCORSRules sets the CORSRules field's value. -func (s *CORSConfiguration) SetCORSRules(v []CORSRule) *CORSConfiguration { - s.CORSRules = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSRule type CORSRule struct { _ struct{} `type:"structure"` @@ -4982,36 +4814,6 @@ func (s *CORSRule) Validate() error { return nil } -// SetAllowedHeaders sets the AllowedHeaders field's value. -func (s *CORSRule) SetAllowedHeaders(v []string) *CORSRule { - s.AllowedHeaders = v - return s -} - -// SetAllowedMethods sets the AllowedMethods field's value. -func (s *CORSRule) SetAllowedMethods(v []string) *CORSRule { - s.AllowedMethods = v - return s -} - -// SetAllowedOrigins sets the AllowedOrigins field's value. -func (s *CORSRule) SetAllowedOrigins(v []string) *CORSRule { - s.AllowedOrigins = v - return s -} - -// SetExposeHeaders sets the ExposeHeaders field's value. -func (s *CORSRule) SetExposeHeaders(v []string) *CORSRule { - s.ExposeHeaders = v - return s -} - -// SetMaxAgeSeconds sets the MaxAgeSeconds field's value. -func (s *CORSRule) SetMaxAgeSeconds(v int64) *CORSRule { - s.MaxAgeSeconds = &v - return s -} - // Describes how a CSV-formatted input object is formatted. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CSVInput type CSVInput struct { @@ -5048,42 +4850,6 @@ func (s CSVInput) GoString() string { return s.String() } -// SetComments sets the Comments field's value. -func (s *CSVInput) SetComments(v string) *CSVInput { - s.Comments = &v - return s -} - -// SetFieldDelimiter sets the FieldDelimiter field's value. -func (s *CSVInput) SetFieldDelimiter(v string) *CSVInput { - s.FieldDelimiter = &v - return s -} - -// SetFileHeaderInfo sets the FileHeaderInfo field's value. -func (s *CSVInput) SetFileHeaderInfo(v FileHeaderInfo) *CSVInput { - s.FileHeaderInfo = v - return s -} - -// SetQuoteCharacter sets the QuoteCharacter field's value. -func (s *CSVInput) SetQuoteCharacter(v string) *CSVInput { - s.QuoteCharacter = &v - return s -} - -// SetQuoteEscapeCharacter sets the QuoteEscapeCharacter field's value. -func (s *CSVInput) SetQuoteEscapeCharacter(v string) *CSVInput { - s.QuoteEscapeCharacter = &v - return s -} - -// SetRecordDelimiter sets the RecordDelimiter field's value. -func (s *CSVInput) SetRecordDelimiter(v string) *CSVInput { - s.RecordDelimiter = &v - return s -} - // Describes how CSV-formatted results are formatted. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CSVOutput type CSVOutput struct { @@ -5116,36 +4882,6 @@ func (s CSVOutput) GoString() string { return s.String() } -// SetFieldDelimiter sets the FieldDelimiter field's value. -func (s *CSVOutput) SetFieldDelimiter(v string) *CSVOutput { - s.FieldDelimiter = &v - return s -} - -// SetQuoteCharacter sets the QuoteCharacter field's value. -func (s *CSVOutput) SetQuoteCharacter(v string) *CSVOutput { - s.QuoteCharacter = &v - return s -} - -// SetQuoteEscapeCharacter sets the QuoteEscapeCharacter field's value. -func (s *CSVOutput) SetQuoteEscapeCharacter(v string) *CSVOutput { - s.QuoteEscapeCharacter = &v - return s -} - -// SetQuoteFields sets the QuoteFields field's value. -func (s *CSVOutput) SetQuoteFields(v QuoteFields) *CSVOutput { - s.QuoteFields = v - return s -} - -// SetRecordDelimiter sets the RecordDelimiter field's value. -func (s *CSVOutput) SetRecordDelimiter(v string) *CSVOutput { - s.RecordDelimiter = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CloudFunctionConfiguration type CloudFunctionConfiguration struct { _ struct{} `type:"structure"` @@ -5174,36 +4910,6 @@ func (s CloudFunctionConfiguration) GoString() string { return s.String() } -// SetCloudFunction sets the CloudFunction field's value. -func (s *CloudFunctionConfiguration) SetCloudFunction(v string) *CloudFunctionConfiguration { - s.CloudFunction = &v - return s -} - -// SetEvent sets the Event field's value. -func (s *CloudFunctionConfiguration) SetEvent(v Event) *CloudFunctionConfiguration { - s.Event = v - return s -} - -// SetEvents sets the Events field's value. -func (s *CloudFunctionConfiguration) SetEvents(v []Event) *CloudFunctionConfiguration { - s.Events = v - return s -} - -// SetId sets the Id field's value. -func (s *CloudFunctionConfiguration) SetId(v string) *CloudFunctionConfiguration { - s.Id = &v - return s -} - -// SetInvocationRole sets the InvocationRole field's value. -func (s *CloudFunctionConfiguration) SetInvocationRole(v string) *CloudFunctionConfiguration { - s.InvocationRole = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CommonPrefix type CommonPrefix struct { _ struct{} `type:"structure"` @@ -5221,12 +4927,6 @@ func (s CommonPrefix) GoString() string { return s.String() } -// SetPrefix sets the Prefix field's value. -func (s *CommonPrefix) SetPrefix(v string) *CommonPrefix { - s.Prefix = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUploadRequest type CompleteMultipartUploadInput struct { _ struct{} `type:"structure" payload:"MultipartUpload"` @@ -5284,12 +4984,6 @@ func (s *CompleteMultipartUploadInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *CompleteMultipartUploadInput) SetBucket(v string) *CompleteMultipartUploadInput { - s.Bucket = &v - return s -} - func (s *CompleteMultipartUploadInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -5297,30 +4991,6 @@ func (s *CompleteMultipartUploadInput) getBucket() (v string) { return *s.Bucket } -// SetKey sets the Key field's value. -func (s *CompleteMultipartUploadInput) SetKey(v string) *CompleteMultipartUploadInput { - s.Key = &v - return s -} - -// SetMultipartUpload sets the MultipartUpload field's value. -func (s *CompleteMultipartUploadInput) SetMultipartUpload(v *CompletedMultipartUpload) *CompleteMultipartUploadInput { - s.MultipartUpload = v - return s -} - -// SetRequestPayer sets the RequestPayer field's value. -func (s *CompleteMultipartUploadInput) SetRequestPayer(v RequestPayer) *CompleteMultipartUploadInput { - s.RequestPayer = v - return s -} - -// SetUploadId sets the UploadId field's value. -func (s *CompleteMultipartUploadInput) SetUploadId(v string) *CompleteMultipartUploadInput { - s.UploadId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUploadOutput type CompleteMultipartUploadOutput struct { _ struct{} `type:"structure"` @@ -5371,12 +5041,6 @@ func (s CompleteMultipartUploadOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBucket sets the Bucket field's value. -func (s *CompleteMultipartUploadOutput) SetBucket(v string) *CompleteMultipartUploadOutput { - s.Bucket = &v - return s -} - func (s *CompleteMultipartUploadOutput) getBucket() (v string) { if s.Bucket == nil { return v @@ -5384,54 +5048,6 @@ func (s *CompleteMultipartUploadOutput) getBucket() (v string) { return *s.Bucket } -// SetETag sets the ETag field's value. -func (s *CompleteMultipartUploadOutput) SetETag(v string) *CompleteMultipartUploadOutput { - s.ETag = &v - return s -} - -// SetExpiration sets the Expiration field's value. -func (s *CompleteMultipartUploadOutput) SetExpiration(v string) *CompleteMultipartUploadOutput { - s.Expiration = &v - return s -} - -// SetKey sets the Key field's value. -func (s *CompleteMultipartUploadOutput) SetKey(v string) *CompleteMultipartUploadOutput { - s.Key = &v - return s -} - -// SetLocation sets the Location field's value. -func (s *CompleteMultipartUploadOutput) SetLocation(v string) *CompleteMultipartUploadOutput { - s.Location = &v - return s -} - -// SetRequestCharged sets the RequestCharged field's value. -func (s *CompleteMultipartUploadOutput) SetRequestCharged(v RequestCharged) *CompleteMultipartUploadOutput { - s.RequestCharged = v - return s -} - -// SetSSEKMSKeyId sets the SSEKMSKeyId field's value. -func (s *CompleteMultipartUploadOutput) SetSSEKMSKeyId(v string) *CompleteMultipartUploadOutput { - s.SSEKMSKeyId = &v - return s -} - -// SetServerSideEncryption sets the ServerSideEncryption field's value. -func (s *CompleteMultipartUploadOutput) SetServerSideEncryption(v ServerSideEncryption) *CompleteMultipartUploadOutput { - s.ServerSideEncryption = v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *CompleteMultipartUploadOutput) SetVersionId(v string) *CompleteMultipartUploadOutput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompletedMultipartUpload type CompletedMultipartUpload struct { _ struct{} `type:"structure"` @@ -5449,12 +5065,6 @@ func (s CompletedMultipartUpload) GoString() string { return s.String() } -// SetParts sets the Parts field's value. -func (s *CompletedMultipartUpload) SetParts(v []CompletedPart) *CompletedMultipartUpload { - s.Parts = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompletedPart type CompletedPart struct { _ struct{} `type:"structure"` @@ -5477,18 +5087,6 @@ func (s CompletedPart) GoString() string { return s.String() } -// SetETag sets the ETag field's value. -func (s *CompletedPart) SetETag(v string) *CompletedPart { - s.ETag = &v - return s -} - -// SetPartNumber sets the PartNumber field's value. -func (s *CompletedPart) SetPartNumber(v int64) *CompletedPart { - s.PartNumber = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Condition type Condition struct { _ struct{} `type:"structure"` @@ -5520,18 +5118,6 @@ func (s Condition) GoString() string { return s.String() } -// SetHttpErrorCodeReturnedEquals sets the HttpErrorCodeReturnedEquals field's value. -func (s *Condition) SetHttpErrorCodeReturnedEquals(v string) *Condition { - s.HttpErrorCodeReturnedEquals = &v - return s -} - -// SetKeyPrefixEquals sets the KeyPrefixEquals field's value. -func (s *Condition) SetKeyPrefixEquals(v string) *Condition { - s.KeyPrefixEquals = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectRequest type CopyObjectInput struct { _ struct{} `type:"structure"` @@ -5700,18 +5286,6 @@ func (s *CopyObjectInput) Validate() error { return nil } -// SetACL sets the ACL field's value. -func (s *CopyObjectInput) SetACL(v ObjectCannedACL) *CopyObjectInput { - s.ACL = v - return s -} - -// SetBucket sets the Bucket field's value. -func (s *CopyObjectInput) SetBucket(v string) *CopyObjectInput { - s.Bucket = &v - return s -} - func (s *CopyObjectInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -5719,78 +5293,6 @@ func (s *CopyObjectInput) getBucket() (v string) { return *s.Bucket } -// SetCacheControl sets the CacheControl field's value. -func (s *CopyObjectInput) SetCacheControl(v string) *CopyObjectInput { - s.CacheControl = &v - return s -} - -// SetContentDisposition sets the ContentDisposition field's value. -func (s *CopyObjectInput) SetContentDisposition(v string) *CopyObjectInput { - s.ContentDisposition = &v - return s -} - -// SetContentEncoding sets the ContentEncoding field's value. -func (s *CopyObjectInput) SetContentEncoding(v string) *CopyObjectInput { - s.ContentEncoding = &v - return s -} - -// SetContentLanguage sets the ContentLanguage field's value. -func (s *CopyObjectInput) SetContentLanguage(v string) *CopyObjectInput { - s.ContentLanguage = &v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *CopyObjectInput) SetContentType(v string) *CopyObjectInput { - s.ContentType = &v - return s -} - -// SetCopySource sets the CopySource field's value. -func (s *CopyObjectInput) SetCopySource(v string) *CopyObjectInput { - s.CopySource = &v - return s -} - -// SetCopySourceIfMatch sets the CopySourceIfMatch field's value. -func (s *CopyObjectInput) SetCopySourceIfMatch(v string) *CopyObjectInput { - s.CopySourceIfMatch = &v - return s -} - -// SetCopySourceIfModifiedSince sets the CopySourceIfModifiedSince field's value. -func (s *CopyObjectInput) SetCopySourceIfModifiedSince(v time.Time) *CopyObjectInput { - s.CopySourceIfModifiedSince = &v - return s -} - -// SetCopySourceIfNoneMatch sets the CopySourceIfNoneMatch field's value. -func (s *CopyObjectInput) SetCopySourceIfNoneMatch(v string) *CopyObjectInput { - s.CopySourceIfNoneMatch = &v - return s -} - -// SetCopySourceIfUnmodifiedSince sets the CopySourceIfUnmodifiedSince field's value. -func (s *CopyObjectInput) SetCopySourceIfUnmodifiedSince(v time.Time) *CopyObjectInput { - s.CopySourceIfUnmodifiedSince = &v - return s -} - -// SetCopySourceSSECustomerAlgorithm sets the CopySourceSSECustomerAlgorithm field's value. -func (s *CopyObjectInput) SetCopySourceSSECustomerAlgorithm(v string) *CopyObjectInput { - s.CopySourceSSECustomerAlgorithm = &v - return s -} - -// SetCopySourceSSECustomerKey sets the CopySourceSSECustomerKey field's value. -func (s *CopyObjectInput) SetCopySourceSSECustomerKey(v string) *CopyObjectInput { - s.CopySourceSSECustomerKey = &v - return s -} - func (s *CopyObjectInput) getCopySourceSSECustomerKey() (v string) { if s.CopySourceSSECustomerKey == nil { return v @@ -5798,78 +5300,6 @@ func (s *CopyObjectInput) getCopySourceSSECustomerKey() (v string) { return *s.CopySourceSSECustomerKey } -// SetCopySourceSSECustomerKeyMD5 sets the CopySourceSSECustomerKeyMD5 field's value. -func (s *CopyObjectInput) SetCopySourceSSECustomerKeyMD5(v string) *CopyObjectInput { - s.CopySourceSSECustomerKeyMD5 = &v - return s -} - -// SetExpires sets the Expires field's value. -func (s *CopyObjectInput) SetExpires(v time.Time) *CopyObjectInput { - s.Expires = &v - return s -} - -// SetGrantFullControl sets the GrantFullControl field's value. -func (s *CopyObjectInput) SetGrantFullControl(v string) *CopyObjectInput { - s.GrantFullControl = &v - return s -} - -// SetGrantRead sets the GrantRead field's value. -func (s *CopyObjectInput) SetGrantRead(v string) *CopyObjectInput { - s.GrantRead = &v - return s -} - -// SetGrantReadACP sets the GrantReadACP field's value. -func (s *CopyObjectInput) SetGrantReadACP(v string) *CopyObjectInput { - s.GrantReadACP = &v - return s -} - -// SetGrantWriteACP sets the GrantWriteACP field's value. -func (s *CopyObjectInput) SetGrantWriteACP(v string) *CopyObjectInput { - s.GrantWriteACP = &v - return s -} - -// SetKey sets the Key field's value. -func (s *CopyObjectInput) SetKey(v string) *CopyObjectInput { - s.Key = &v - return s -} - -// SetMetadata sets the Metadata field's value. -func (s *CopyObjectInput) SetMetadata(v map[string]string) *CopyObjectInput { - s.Metadata = v - return s -} - -// SetMetadataDirective sets the MetadataDirective field's value. -func (s *CopyObjectInput) SetMetadataDirective(v MetadataDirective) *CopyObjectInput { - s.MetadataDirective = v - return s -} - -// SetRequestPayer sets the RequestPayer field's value. -func (s *CopyObjectInput) SetRequestPayer(v RequestPayer) *CopyObjectInput { - s.RequestPayer = v - return s -} - -// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value. -func (s *CopyObjectInput) SetSSECustomerAlgorithm(v string) *CopyObjectInput { - s.SSECustomerAlgorithm = &v - return s -} - -// SetSSECustomerKey sets the SSECustomerKey field's value. -func (s *CopyObjectInput) SetSSECustomerKey(v string) *CopyObjectInput { - s.SSECustomerKey = &v - return s -} - func (s *CopyObjectInput) getSSECustomerKey() (v string) { if s.SSECustomerKey == nil { return v @@ -5877,48 +5307,6 @@ func (s *CopyObjectInput) getSSECustomerKey() (v string) { return *s.SSECustomerKey } -// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. -func (s *CopyObjectInput) SetSSECustomerKeyMD5(v string) *CopyObjectInput { - s.SSECustomerKeyMD5 = &v - return s -} - -// SetSSEKMSKeyId sets the SSEKMSKeyId field's value. -func (s *CopyObjectInput) SetSSEKMSKeyId(v string) *CopyObjectInput { - s.SSEKMSKeyId = &v - return s -} - -// SetServerSideEncryption sets the ServerSideEncryption field's value. -func (s *CopyObjectInput) SetServerSideEncryption(v ServerSideEncryption) *CopyObjectInput { - s.ServerSideEncryption = v - return s -} - -// SetStorageClass sets the StorageClass field's value. -func (s *CopyObjectInput) SetStorageClass(v StorageClass) *CopyObjectInput { - s.StorageClass = v - return s -} - -// SetTagging sets the Tagging field's value. -func (s *CopyObjectInput) SetTagging(v string) *CopyObjectInput { - s.Tagging = &v - return s -} - -// SetTaggingDirective sets the TaggingDirective field's value. -func (s *CopyObjectInput) SetTaggingDirective(v TaggingDirective) *CopyObjectInput { - s.TaggingDirective = v - return s -} - -// SetWebsiteRedirectLocation sets the WebsiteRedirectLocation field's value. -func (s *CopyObjectInput) SetWebsiteRedirectLocation(v string) *CopyObjectInput { - s.WebsiteRedirectLocation = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectOutput type CopyObjectOutput struct { _ struct{} `type:"structure" payload:"CopyObjectResult"` @@ -5973,60 +5361,6 @@ func (s CopyObjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCopyObjectResult sets the CopyObjectResult field's value. -func (s *CopyObjectOutput) SetCopyObjectResult(v *CopyObjectResult) *CopyObjectOutput { - s.CopyObjectResult = v - return s -} - -// SetCopySourceVersionId sets the CopySourceVersionId field's value. -func (s *CopyObjectOutput) SetCopySourceVersionId(v string) *CopyObjectOutput { - s.CopySourceVersionId = &v - return s -} - -// SetExpiration sets the Expiration field's value. -func (s *CopyObjectOutput) SetExpiration(v string) *CopyObjectOutput { - s.Expiration = &v - return s -} - -// SetRequestCharged sets the RequestCharged field's value. -func (s *CopyObjectOutput) SetRequestCharged(v RequestCharged) *CopyObjectOutput { - s.RequestCharged = v - return s -} - -// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value. -func (s *CopyObjectOutput) SetSSECustomerAlgorithm(v string) *CopyObjectOutput { - s.SSECustomerAlgorithm = &v - return s -} - -// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. -func (s *CopyObjectOutput) SetSSECustomerKeyMD5(v string) *CopyObjectOutput { - s.SSECustomerKeyMD5 = &v - return s -} - -// SetSSEKMSKeyId sets the SSEKMSKeyId field's value. -func (s *CopyObjectOutput) SetSSEKMSKeyId(v string) *CopyObjectOutput { - s.SSEKMSKeyId = &v - return s -} - -// SetServerSideEncryption sets the ServerSideEncryption field's value. -func (s *CopyObjectOutput) SetServerSideEncryption(v ServerSideEncryption) *CopyObjectOutput { - s.ServerSideEncryption = v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *CopyObjectOutput) SetVersionId(v string) *CopyObjectOutput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectResult type CopyObjectResult struct { _ struct{} `type:"structure"` @@ -6046,18 +5380,6 @@ func (s CopyObjectResult) GoString() string { return s.String() } -// SetETag sets the ETag field's value. -func (s *CopyObjectResult) SetETag(v string) *CopyObjectResult { - s.ETag = &v - return s -} - -// SetLastModified sets the LastModified field's value. -func (s *CopyObjectResult) SetLastModified(v time.Time) *CopyObjectResult { - s.LastModified = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyPartResult type CopyPartResult struct { _ struct{} `type:"structure"` @@ -6079,18 +5401,6 @@ func (s CopyPartResult) GoString() string { return s.String() } -// SetETag sets the ETag field's value. -func (s *CopyPartResult) SetETag(v string) *CopyPartResult { - s.ETag = &v - return s -} - -// SetLastModified sets the LastModified field's value. -func (s *CopyPartResult) SetLastModified(v time.Time) *CopyPartResult { - s.LastModified = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketConfiguration type CreateBucketConfiguration struct { _ struct{} `type:"structure"` @@ -6110,12 +5420,6 @@ func (s CreateBucketConfiguration) GoString() string { return s.String() } -// SetLocationConstraint sets the LocationConstraint field's value. -func (s *CreateBucketConfiguration) SetLocationConstraint(v BucketLocationConstraint) *CreateBucketConfiguration { - s.LocationConstraint = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketRequest type CreateBucketInput struct { _ struct{} `type:"structure" payload:"CreateBucketConfiguration"` @@ -6169,18 +5473,6 @@ func (s *CreateBucketInput) Validate() error { return nil } -// SetACL sets the ACL field's value. -func (s *CreateBucketInput) SetACL(v BucketCannedACL) *CreateBucketInput { - s.ACL = v - return s -} - -// SetBucket sets the Bucket field's value. -func (s *CreateBucketInput) SetBucket(v string) *CreateBucketInput { - s.Bucket = &v - return s -} - func (s *CreateBucketInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -6188,42 +5480,6 @@ func (s *CreateBucketInput) getBucket() (v string) { return *s.Bucket } -// SetCreateBucketConfiguration sets the CreateBucketConfiguration field's value. -func (s *CreateBucketInput) SetCreateBucketConfiguration(v *CreateBucketConfiguration) *CreateBucketInput { - s.CreateBucketConfiguration = v - return s -} - -// SetGrantFullControl sets the GrantFullControl field's value. -func (s *CreateBucketInput) SetGrantFullControl(v string) *CreateBucketInput { - s.GrantFullControl = &v - return s -} - -// SetGrantRead sets the GrantRead field's value. -func (s *CreateBucketInput) SetGrantRead(v string) *CreateBucketInput { - s.GrantRead = &v - return s -} - -// SetGrantReadACP sets the GrantReadACP field's value. -func (s *CreateBucketInput) SetGrantReadACP(v string) *CreateBucketInput { - s.GrantReadACP = &v - return s -} - -// SetGrantWrite sets the GrantWrite field's value. -func (s *CreateBucketInput) SetGrantWrite(v string) *CreateBucketInput { - s.GrantWrite = &v - return s -} - -// SetGrantWriteACP sets the GrantWriteACP field's value. -func (s *CreateBucketInput) SetGrantWriteACP(v string) *CreateBucketInput { - s.GrantWriteACP = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketOutput type CreateBucketOutput struct { _ struct{} `type:"structure"` @@ -6248,12 +5504,6 @@ func (s CreateBucketOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLocation sets the Location field's value. -func (s *CreateBucketOutput) SetLocation(v string) *CreateBucketOutput { - s.Location = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUploadRequest type CreateMultipartUploadInput struct { _ struct{} `type:"structure"` @@ -6376,18 +5626,6 @@ func (s *CreateMultipartUploadInput) Validate() error { return nil } -// SetACL sets the ACL field's value. -func (s *CreateMultipartUploadInput) SetACL(v ObjectCannedACL) *CreateMultipartUploadInput { - s.ACL = v - return s -} - -// SetBucket sets the Bucket field's value. -func (s *CreateMultipartUploadInput) SetBucket(v string) *CreateMultipartUploadInput { - s.Bucket = &v - return s -} - func (s *CreateMultipartUploadInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -6395,96 +5633,6 @@ func (s *CreateMultipartUploadInput) getBucket() (v string) { return *s.Bucket } -// SetCacheControl sets the CacheControl field's value. -func (s *CreateMultipartUploadInput) SetCacheControl(v string) *CreateMultipartUploadInput { - s.CacheControl = &v - return s -} - -// SetContentDisposition sets the ContentDisposition field's value. -func (s *CreateMultipartUploadInput) SetContentDisposition(v string) *CreateMultipartUploadInput { - s.ContentDisposition = &v - return s -} - -// SetContentEncoding sets the ContentEncoding field's value. -func (s *CreateMultipartUploadInput) SetContentEncoding(v string) *CreateMultipartUploadInput { - s.ContentEncoding = &v - return s -} - -// SetContentLanguage sets the ContentLanguage field's value. -func (s *CreateMultipartUploadInput) SetContentLanguage(v string) *CreateMultipartUploadInput { - s.ContentLanguage = &v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *CreateMultipartUploadInput) SetContentType(v string) *CreateMultipartUploadInput { - s.ContentType = &v - return s -} - -// SetExpires sets the Expires field's value. -func (s *CreateMultipartUploadInput) SetExpires(v time.Time) *CreateMultipartUploadInput { - s.Expires = &v - return s -} - -// SetGrantFullControl sets the GrantFullControl field's value. -func (s *CreateMultipartUploadInput) SetGrantFullControl(v string) *CreateMultipartUploadInput { - s.GrantFullControl = &v - return s -} - -// SetGrantRead sets the GrantRead field's value. -func (s *CreateMultipartUploadInput) SetGrantRead(v string) *CreateMultipartUploadInput { - s.GrantRead = &v - return s -} - -// SetGrantReadACP sets the GrantReadACP field's value. -func (s *CreateMultipartUploadInput) SetGrantReadACP(v string) *CreateMultipartUploadInput { - s.GrantReadACP = &v - return s -} - -// SetGrantWriteACP sets the GrantWriteACP field's value. -func (s *CreateMultipartUploadInput) SetGrantWriteACP(v string) *CreateMultipartUploadInput { - s.GrantWriteACP = &v - return s -} - -// SetKey sets the Key field's value. -func (s *CreateMultipartUploadInput) SetKey(v string) *CreateMultipartUploadInput { - s.Key = &v - return s -} - -// SetMetadata sets the Metadata field's value. -func (s *CreateMultipartUploadInput) SetMetadata(v map[string]string) *CreateMultipartUploadInput { - s.Metadata = v - return s -} - -// SetRequestPayer sets the RequestPayer field's value. -func (s *CreateMultipartUploadInput) SetRequestPayer(v RequestPayer) *CreateMultipartUploadInput { - s.RequestPayer = v - return s -} - -// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value. -func (s *CreateMultipartUploadInput) SetSSECustomerAlgorithm(v string) *CreateMultipartUploadInput { - s.SSECustomerAlgorithm = &v - return s -} - -// SetSSECustomerKey sets the SSECustomerKey field's value. -func (s *CreateMultipartUploadInput) SetSSECustomerKey(v string) *CreateMultipartUploadInput { - s.SSECustomerKey = &v - return s -} - func (s *CreateMultipartUploadInput) getSSECustomerKey() (v string) { if s.SSECustomerKey == nil { return v @@ -6492,42 +5640,6 @@ func (s *CreateMultipartUploadInput) getSSECustomerKey() (v string) { return *s.SSECustomerKey } -// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. -func (s *CreateMultipartUploadInput) SetSSECustomerKeyMD5(v string) *CreateMultipartUploadInput { - s.SSECustomerKeyMD5 = &v - return s -} - -// SetSSEKMSKeyId sets the SSEKMSKeyId field's value. -func (s *CreateMultipartUploadInput) SetSSEKMSKeyId(v string) *CreateMultipartUploadInput { - s.SSEKMSKeyId = &v - return s -} - -// SetServerSideEncryption sets the ServerSideEncryption field's value. -func (s *CreateMultipartUploadInput) SetServerSideEncryption(v ServerSideEncryption) *CreateMultipartUploadInput { - s.ServerSideEncryption = v - return s -} - -// SetStorageClass sets the StorageClass field's value. -func (s *CreateMultipartUploadInput) SetStorageClass(v StorageClass) *CreateMultipartUploadInput { - s.StorageClass = v - return s -} - -// SetTagging sets the Tagging field's value. -func (s *CreateMultipartUploadInput) SetTagging(v string) *CreateMultipartUploadInput { - s.Tagging = &v - return s -} - -// SetWebsiteRedirectLocation sets the WebsiteRedirectLocation field's value. -func (s *CreateMultipartUploadInput) SetWebsiteRedirectLocation(v string) *CreateMultipartUploadInput { - s.WebsiteRedirectLocation = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUploadOutput type CreateMultipartUploadOutput struct { _ struct{} `type:"structure"` @@ -6588,24 +5700,6 @@ func (s CreateMultipartUploadOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAbortDate sets the AbortDate field's value. -func (s *CreateMultipartUploadOutput) SetAbortDate(v time.Time) *CreateMultipartUploadOutput { - s.AbortDate = &v - return s -} - -// SetAbortRuleId sets the AbortRuleId field's value. -func (s *CreateMultipartUploadOutput) SetAbortRuleId(v string) *CreateMultipartUploadOutput { - s.AbortRuleId = &v - return s -} - -// SetBucket sets the Bucket field's value. -func (s *CreateMultipartUploadOutput) SetBucket(v string) *CreateMultipartUploadOutput { - s.Bucket = &v - return s -} - func (s *CreateMultipartUploadOutput) getBucket() (v string) { if s.Bucket == nil { return v @@ -6613,48 +5707,6 @@ func (s *CreateMultipartUploadOutput) getBucket() (v string) { return *s.Bucket } -// SetKey sets the Key field's value. -func (s *CreateMultipartUploadOutput) SetKey(v string) *CreateMultipartUploadOutput { - s.Key = &v - return s -} - -// SetRequestCharged sets the RequestCharged field's value. -func (s *CreateMultipartUploadOutput) SetRequestCharged(v RequestCharged) *CreateMultipartUploadOutput { - s.RequestCharged = v - return s -} - -// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value. -func (s *CreateMultipartUploadOutput) SetSSECustomerAlgorithm(v string) *CreateMultipartUploadOutput { - s.SSECustomerAlgorithm = &v - return s -} - -// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. -func (s *CreateMultipartUploadOutput) SetSSECustomerKeyMD5(v string) *CreateMultipartUploadOutput { - s.SSECustomerKeyMD5 = &v - return s -} - -// SetSSEKMSKeyId sets the SSEKMSKeyId field's value. -func (s *CreateMultipartUploadOutput) SetSSEKMSKeyId(v string) *CreateMultipartUploadOutput { - s.SSEKMSKeyId = &v - return s -} - -// SetServerSideEncryption sets the ServerSideEncryption field's value. -func (s *CreateMultipartUploadOutput) SetServerSideEncryption(v ServerSideEncryption) *CreateMultipartUploadOutput { - s.ServerSideEncryption = v - return s -} - -// SetUploadId sets the UploadId field's value. -func (s *CreateMultipartUploadOutput) SetUploadId(v string) *CreateMultipartUploadOutput { - s.UploadId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Delete type Delete struct { _ struct{} `type:"structure"` @@ -6698,18 +5750,6 @@ func (s *Delete) Validate() error { return nil } -// SetObjects sets the Objects field's value. -func (s *Delete) SetObjects(v []ObjectIdentifier) *Delete { - s.Objects = v - return s -} - -// SetQuiet sets the Quiet field's value. -func (s *Delete) SetQuiet(v bool) *Delete { - s.Quiet = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfigurationRequest type DeleteBucketAnalyticsConfigurationInput struct { _ struct{} `type:"structure"` @@ -6753,12 +5793,6 @@ func (s *DeleteBucketAnalyticsConfigurationInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *DeleteBucketAnalyticsConfigurationInput) SetBucket(v string) *DeleteBucketAnalyticsConfigurationInput { - s.Bucket = &v - return s -} - func (s *DeleteBucketAnalyticsConfigurationInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -6766,12 +5800,6 @@ func (s *DeleteBucketAnalyticsConfigurationInput) getBucket() (v string) { return *s.Bucket } -// SetId sets the Id field's value. -func (s *DeleteBucketAnalyticsConfigurationInput) SetId(v string) *DeleteBucketAnalyticsConfigurationInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfigurationOutput type DeleteBucketAnalyticsConfigurationOutput struct { _ struct{} `type:"structure"` @@ -6826,12 +5854,6 @@ func (s *DeleteBucketCorsInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *DeleteBucketCorsInput) SetBucket(v string) *DeleteBucketCorsInput { - s.Bucket = &v - return s -} - func (s *DeleteBucketCorsInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -6896,12 +5918,6 @@ func (s *DeleteBucketEncryptionInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *DeleteBucketEncryptionInput) SetBucket(v string) *DeleteBucketEncryptionInput { - s.Bucket = &v - return s -} - func (s *DeleteBucketEncryptionInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -6963,12 +5979,6 @@ func (s *DeleteBucketInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *DeleteBucketInput) SetBucket(v string) *DeleteBucketInput { - s.Bucket = &v - return s -} - func (s *DeleteBucketInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -7019,12 +6029,6 @@ func (s *DeleteBucketInventoryConfigurationInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *DeleteBucketInventoryConfigurationInput) SetBucket(v string) *DeleteBucketInventoryConfigurationInput { - s.Bucket = &v - return s -} - func (s *DeleteBucketInventoryConfigurationInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -7032,12 +6036,6 @@ func (s *DeleteBucketInventoryConfigurationInput) getBucket() (v string) { return *s.Bucket } -// SetId sets the Id field's value. -func (s *DeleteBucketInventoryConfigurationInput) SetId(v string) *DeleteBucketInventoryConfigurationInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketInventoryConfigurationOutput type DeleteBucketInventoryConfigurationOutput struct { _ struct{} `type:"structure"` @@ -7092,12 +6090,6 @@ func (s *DeleteBucketLifecycleInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *DeleteBucketLifecycleInput) SetBucket(v string) *DeleteBucketLifecycleInput { - s.Bucket = &v - return s -} - func (s *DeleteBucketLifecycleInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -7170,12 +6162,6 @@ func (s *DeleteBucketMetricsConfigurationInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *DeleteBucketMetricsConfigurationInput) SetBucket(v string) *DeleteBucketMetricsConfigurationInput { - s.Bucket = &v - return s -} - func (s *DeleteBucketMetricsConfigurationInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -7183,12 +6169,6 @@ func (s *DeleteBucketMetricsConfigurationInput) getBucket() (v string) { return *s.Bucket } -// SetId sets the Id field's value. -func (s *DeleteBucketMetricsConfigurationInput) SetId(v string) *DeleteBucketMetricsConfigurationInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfigurationOutput type DeleteBucketMetricsConfigurationOutput struct { _ struct{} `type:"structure"` @@ -7265,12 +6245,6 @@ func (s *DeleteBucketPolicyInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *DeleteBucketPolicyInput) SetBucket(v string) *DeleteBucketPolicyInput { - s.Bucket = &v - return s -} - func (s *DeleteBucketPolicyInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -7332,12 +6306,6 @@ func (s *DeleteBucketReplicationInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *DeleteBucketReplicationInput) SetBucket(v string) *DeleteBucketReplicationInput { - s.Bucket = &v - return s -} - func (s *DeleteBucketReplicationInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -7399,12 +6367,6 @@ func (s *DeleteBucketTaggingInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *DeleteBucketTaggingInput) SetBucket(v string) *DeleteBucketTaggingInput { - s.Bucket = &v - return s -} - func (s *DeleteBucketTaggingInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -7466,12 +6428,6 @@ func (s *DeleteBucketWebsiteInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *DeleteBucketWebsiteInput) SetBucket(v string) *DeleteBucketWebsiteInput { - s.Bucket = &v - return s -} - func (s *DeleteBucketWebsiteInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -7531,36 +6487,6 @@ func (s DeleteMarkerEntry) GoString() string { return s.String() } -// SetIsLatest sets the IsLatest field's value. -func (s *DeleteMarkerEntry) SetIsLatest(v bool) *DeleteMarkerEntry { - s.IsLatest = &v - return s -} - -// SetKey sets the Key field's value. -func (s *DeleteMarkerEntry) SetKey(v string) *DeleteMarkerEntry { - s.Key = &v - return s -} - -// SetLastModified sets the LastModified field's value. -func (s *DeleteMarkerEntry) SetLastModified(v time.Time) *DeleteMarkerEntry { - s.LastModified = &v - return s -} - -// SetOwner sets the Owner field's value. -func (s *DeleteMarkerEntry) SetOwner(v *Owner) *DeleteMarkerEntry { - s.Owner = v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *DeleteMarkerEntry) SetVersionId(v string) *DeleteMarkerEntry { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectRequest type DeleteObjectInput struct { _ struct{} `type:"structure"` @@ -7616,12 +6542,6 @@ func (s *DeleteObjectInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *DeleteObjectInput) SetBucket(v string) *DeleteObjectInput { - s.Bucket = &v - return s -} - func (s *DeleteObjectInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -7629,30 +6549,6 @@ func (s *DeleteObjectInput) getBucket() (v string) { return *s.Bucket } -// SetKey sets the Key field's value. -func (s *DeleteObjectInput) SetKey(v string) *DeleteObjectInput { - s.Key = &v - return s -} - -// SetMFA sets the MFA field's value. -func (s *DeleteObjectInput) SetMFA(v string) *DeleteObjectInput { - s.MFA = &v - return s -} - -// SetRequestPayer sets the RequestPayer field's value. -func (s *DeleteObjectInput) SetRequestPayer(v RequestPayer) *DeleteObjectInput { - s.RequestPayer = v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *DeleteObjectInput) SetVersionId(v string) *DeleteObjectInput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectOutput type DeleteObjectOutput struct { _ struct{} `type:"structure"` @@ -7687,24 +6583,6 @@ func (s DeleteObjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeleteMarker sets the DeleteMarker field's value. -func (s *DeleteObjectOutput) SetDeleteMarker(v bool) *DeleteObjectOutput { - s.DeleteMarker = &v - return s -} - -// SetRequestCharged sets the RequestCharged field's value. -func (s *DeleteObjectOutput) SetRequestCharged(v RequestCharged) *DeleteObjectOutput { - s.RequestCharged = v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *DeleteObjectOutput) SetVersionId(v string) *DeleteObjectOutput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTaggingRequest type DeleteObjectTaggingInput struct { _ struct{} `type:"structure"` @@ -7750,12 +6628,6 @@ func (s *DeleteObjectTaggingInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *DeleteObjectTaggingInput) SetBucket(v string) *DeleteObjectTaggingInput { - s.Bucket = &v - return s -} - func (s *DeleteObjectTaggingInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -7763,18 +6635,6 @@ func (s *DeleteObjectTaggingInput) getBucket() (v string) { return *s.Bucket } -// SetKey sets the Key field's value. -func (s *DeleteObjectTaggingInput) SetKey(v string) *DeleteObjectTaggingInput { - s.Key = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *DeleteObjectTaggingInput) SetVersionId(v string) *DeleteObjectTaggingInput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTaggingOutput type DeleteObjectTaggingOutput struct { _ struct{} `type:"structure"` @@ -7800,12 +6660,6 @@ func (s DeleteObjectTaggingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVersionId sets the VersionId field's value. -func (s *DeleteObjectTaggingOutput) SetVersionId(v string) *DeleteObjectTaggingOutput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectsRequest type DeleteObjectsInput struct { _ struct{} `type:"structure" payload:"Delete"` @@ -7860,12 +6714,6 @@ func (s *DeleteObjectsInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *DeleteObjectsInput) SetBucket(v string) *DeleteObjectsInput { - s.Bucket = &v - return s -} - func (s *DeleteObjectsInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -7873,24 +6721,6 @@ func (s *DeleteObjectsInput) getBucket() (v string) { return *s.Bucket } -// SetDelete sets the Delete field's value. -func (s *DeleteObjectsInput) SetDelete(v *Delete) *DeleteObjectsInput { - s.Delete = v - return s -} - -// SetMFA sets the MFA field's value. -func (s *DeleteObjectsInput) SetMFA(v string) *DeleteObjectsInput { - s.MFA = &v - return s -} - -// SetRequestPayer sets the RequestPayer field's value. -func (s *DeleteObjectsInput) SetRequestPayer(v RequestPayer) *DeleteObjectsInput { - s.RequestPayer = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectsOutput type DeleteObjectsOutput struct { _ struct{} `type:"structure"` @@ -7921,24 +6751,6 @@ func (s DeleteObjectsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeleted sets the Deleted field's value. -func (s *DeleteObjectsOutput) SetDeleted(v []DeletedObject) *DeleteObjectsOutput { - s.Deleted = v - return s -} - -// SetErrors sets the Errors field's value. -func (s *DeleteObjectsOutput) SetErrors(v []Error) *DeleteObjectsOutput { - s.Errors = v - return s -} - -// SetRequestCharged sets the RequestCharged field's value. -func (s *DeleteObjectsOutput) SetRequestCharged(v RequestCharged) *DeleteObjectsOutput { - s.RequestCharged = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeletedObject type DeletedObject struct { _ struct{} `type:"structure"` @@ -7962,30 +6774,6 @@ func (s DeletedObject) GoString() string { return s.String() } -// SetDeleteMarker sets the DeleteMarker field's value. -func (s *DeletedObject) SetDeleteMarker(v bool) *DeletedObject { - s.DeleteMarker = &v - return s -} - -// SetDeleteMarkerVersionId sets the DeleteMarkerVersionId field's value. -func (s *DeletedObject) SetDeleteMarkerVersionId(v string) *DeletedObject { - s.DeleteMarkerVersionId = &v - return s -} - -// SetKey sets the Key field's value. -func (s *DeletedObject) SetKey(v string) *DeletedObject { - s.Key = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *DeletedObject) SetVersionId(v string) *DeletedObject { - s.VersionId = &v - return s -} - // Container for replication destination information. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Destination type Destination struct { @@ -8040,24 +6828,6 @@ func (s *Destination) Validate() error { return nil } -// SetAccessControlTranslation sets the AccessControlTranslation field's value. -func (s *Destination) SetAccessControlTranslation(v *AccessControlTranslation) *Destination { - s.AccessControlTranslation = v - return s -} - -// SetAccount sets the Account field's value. -func (s *Destination) SetAccount(v string) *Destination { - s.Account = &v - return s -} - -// SetBucket sets the Bucket field's value. -func (s *Destination) SetBucket(v string) *Destination { - s.Bucket = &v - return s -} - func (s *Destination) getBucket() (v string) { if s.Bucket == nil { return v @@ -8065,18 +6835,6 @@ func (s *Destination) getBucket() (v string) { return *s.Bucket } -// SetEncryptionConfiguration sets the EncryptionConfiguration field's value. -func (s *Destination) SetEncryptionConfiguration(v *EncryptionConfiguration) *Destination { - s.EncryptionConfiguration = v - return s -} - -// SetStorageClass sets the StorageClass field's value. -func (s *Destination) SetStorageClass(v StorageClass) *Destination { - s.StorageClass = v - return s -} - // Describes the server-side encryption that will be applied to the restore // results. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Encryption @@ -8121,24 +6879,6 @@ func (s *Encryption) Validate() error { return nil } -// SetEncryptionType sets the EncryptionType field's value. -func (s *Encryption) SetEncryptionType(v ServerSideEncryption) *Encryption { - s.EncryptionType = v - return s -} - -// SetKMSContext sets the KMSContext field's value. -func (s *Encryption) SetKMSContext(v string) *Encryption { - s.KMSContext = &v - return s -} - -// SetKMSKeyId sets the KMSKeyId field's value. -func (s *Encryption) SetKMSKeyId(v string) *Encryption { - s.KMSKeyId = &v - return s -} - // Container for information regarding encryption based configuration for replicas. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/EncryptionConfiguration type EncryptionConfiguration struct { @@ -8158,12 +6898,6 @@ func (s EncryptionConfiguration) GoString() string { return s.String() } -// SetReplicaKmsKeyID sets the ReplicaKmsKeyID field's value. -func (s *EncryptionConfiguration) SetReplicaKmsKeyID(v string) *EncryptionConfiguration { - s.ReplicaKmsKeyID = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Error type Error struct { _ struct{} `type:"structure"` @@ -8187,30 +6921,6 @@ func (s Error) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *Error) SetCode(v string) *Error { - s.Code = &v - return s -} - -// SetKey sets the Key field's value. -func (s *Error) SetKey(v string) *Error { - s.Key = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *Error) SetMessage(v string) *Error { - s.Message = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *Error) SetVersionId(v string) *Error { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ErrorDocument type ErrorDocument struct { _ struct{} `type:"structure"` @@ -8248,12 +6958,6 @@ func (s *ErrorDocument) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *ErrorDocument) SetKey(v string) *ErrorDocument { - s.Key = &v - return s -} - // Container for key value pair that defines the criteria for the filter rule. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/FilterRule type FilterRule struct { @@ -8278,18 +6982,6 @@ func (s FilterRule) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *FilterRule) SetName(v FilterRuleName) *FilterRule { - s.Name = v - return s -} - -// SetValue sets the Value field's value. -func (s *FilterRule) SetValue(v string) *FilterRule { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfigurationRequest type GetBucketAccelerateConfigurationInput struct { _ struct{} `type:"structure"` @@ -8324,12 +7016,6 @@ func (s *GetBucketAccelerateConfigurationInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetBucketAccelerateConfigurationInput) SetBucket(v string) *GetBucketAccelerateConfigurationInput { - s.Bucket = &v - return s -} - func (s *GetBucketAccelerateConfigurationInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -8362,12 +7048,6 @@ func (s GetBucketAccelerateConfigurationOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetStatus sets the Status field's value. -func (s *GetBucketAccelerateConfigurationOutput) SetStatus(v BucketAccelerateStatus) *GetBucketAccelerateConfigurationOutput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAclRequest type GetBucketAclInput struct { _ struct{} `type:"structure"` @@ -8400,12 +7080,6 @@ func (s *GetBucketAclInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetBucketAclInput) SetBucket(v string) *GetBucketAclInput { - s.Bucket = &v - return s -} - func (s *GetBucketAclInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -8440,18 +7114,6 @@ func (s GetBucketAclOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGrants sets the Grants field's value. -func (s *GetBucketAclOutput) SetGrants(v []Grant) *GetBucketAclOutput { - s.Grants = v - return s -} - -// SetOwner sets the Owner field's value. -func (s *GetBucketAclOutput) SetOwner(v *Owner) *GetBucketAclOutput { - s.Owner = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfigurationRequest type GetBucketAnalyticsConfigurationInput struct { _ struct{} `type:"structure"` @@ -8495,12 +7157,6 @@ func (s *GetBucketAnalyticsConfigurationInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetBucketAnalyticsConfigurationInput) SetBucket(v string) *GetBucketAnalyticsConfigurationInput { - s.Bucket = &v - return s -} - func (s *GetBucketAnalyticsConfigurationInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -8508,12 +7164,6 @@ func (s *GetBucketAnalyticsConfigurationInput) getBucket() (v string) { return *s.Bucket } -// SetId sets the Id field's value. -func (s *GetBucketAnalyticsConfigurationInput) SetId(v string) *GetBucketAnalyticsConfigurationInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfigurationOutput type GetBucketAnalyticsConfigurationOutput struct { _ struct{} `type:"structure" payload:"AnalyticsConfiguration"` @@ -8539,12 +7189,6 @@ func (s GetBucketAnalyticsConfigurationOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetAnalyticsConfiguration sets the AnalyticsConfiguration field's value. -func (s *GetBucketAnalyticsConfigurationOutput) SetAnalyticsConfiguration(v *AnalyticsConfiguration) *GetBucketAnalyticsConfigurationOutput { - s.AnalyticsConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketCorsRequest type GetBucketCorsInput struct { _ struct{} `type:"structure"` @@ -8577,12 +7221,6 @@ func (s *GetBucketCorsInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetBucketCorsInput) SetBucket(v string) *GetBucketCorsInput { - s.Bucket = &v - return s -} - func (s *GetBucketCorsInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -8614,12 +7252,6 @@ func (s GetBucketCorsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCORSRules sets the CORSRules field's value. -func (s *GetBucketCorsOutput) SetCORSRules(v []CORSRule) *GetBucketCorsOutput { - s.CORSRules = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketEncryptionRequest type GetBucketEncryptionInput struct { _ struct{} `type:"structure"` @@ -8655,12 +7287,6 @@ func (s *GetBucketEncryptionInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetBucketEncryptionInput) SetBucket(v string) *GetBucketEncryptionInput { - s.Bucket = &v - return s -} - func (s *GetBucketEncryptionInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -8694,12 +7320,6 @@ func (s GetBucketEncryptionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetServerSideEncryptionConfiguration sets the ServerSideEncryptionConfiguration field's value. -func (s *GetBucketEncryptionOutput) SetServerSideEncryptionConfiguration(v *ServerSideEncryptionConfiguration) *GetBucketEncryptionOutput { - s.ServerSideEncryptionConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfigurationRequest type GetBucketInventoryConfigurationInput struct { _ struct{} `type:"structure"` @@ -8743,12 +7363,6 @@ func (s *GetBucketInventoryConfigurationInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetBucketInventoryConfigurationInput) SetBucket(v string) *GetBucketInventoryConfigurationInput { - s.Bucket = &v - return s -} - func (s *GetBucketInventoryConfigurationInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -8756,12 +7370,6 @@ func (s *GetBucketInventoryConfigurationInput) getBucket() (v string) { return *s.Bucket } -// SetId sets the Id field's value. -func (s *GetBucketInventoryConfigurationInput) SetId(v string) *GetBucketInventoryConfigurationInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfigurationOutput type GetBucketInventoryConfigurationOutput struct { _ struct{} `type:"structure" payload:"InventoryConfiguration"` @@ -8787,12 +7395,6 @@ func (s GetBucketInventoryConfigurationOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetInventoryConfiguration sets the InventoryConfiguration field's value. -func (s *GetBucketInventoryConfigurationOutput) SetInventoryConfiguration(v *InventoryConfiguration) *GetBucketInventoryConfigurationOutput { - s.InventoryConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfigurationRequest type GetBucketLifecycleConfigurationInput struct { _ struct{} `type:"structure"` @@ -8825,12 +7427,6 @@ func (s *GetBucketLifecycleConfigurationInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetBucketLifecycleConfigurationInput) SetBucket(v string) *GetBucketLifecycleConfigurationInput { - s.Bucket = &v - return s -} - func (s *GetBucketLifecycleConfigurationInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -8862,12 +7458,6 @@ func (s GetBucketLifecycleConfigurationOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetRules sets the Rules field's value. -func (s *GetBucketLifecycleConfigurationOutput) SetRules(v []LifecycleRule) *GetBucketLifecycleConfigurationOutput { - s.Rules = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleRequest type GetBucketLifecycleInput struct { _ struct{} `type:"structure"` @@ -8900,12 +7490,6 @@ func (s *GetBucketLifecycleInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetBucketLifecycleInput) SetBucket(v string) *GetBucketLifecycleInput { - s.Bucket = &v - return s -} - func (s *GetBucketLifecycleInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -8937,12 +7521,6 @@ func (s GetBucketLifecycleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRules sets the Rules field's value. -func (s *GetBucketLifecycleOutput) SetRules(v []Rule) *GetBucketLifecycleOutput { - s.Rules = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocationRequest type GetBucketLocationInput struct { _ struct{} `type:"structure"` @@ -8975,12 +7553,6 @@ func (s *GetBucketLocationInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetBucketLocationInput) SetBucket(v string) *GetBucketLocationInput { - s.Bucket = &v - return s -} - func (s *GetBucketLocationInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -9012,12 +7584,6 @@ func (s GetBucketLocationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLocationConstraint sets the LocationConstraint field's value. -func (s *GetBucketLocationOutput) SetLocationConstraint(v BucketLocationConstraint) *GetBucketLocationOutput { - s.LocationConstraint = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLoggingRequest type GetBucketLoggingInput struct { _ struct{} `type:"structure"` @@ -9050,12 +7616,6 @@ func (s *GetBucketLoggingInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetBucketLoggingInput) SetBucket(v string) *GetBucketLoggingInput { - s.Bucket = &v - return s -} - func (s *GetBucketLoggingInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -9087,12 +7647,6 @@ func (s GetBucketLoggingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLoggingEnabled sets the LoggingEnabled field's value. -func (s *GetBucketLoggingOutput) SetLoggingEnabled(v *LoggingEnabled) *GetBucketLoggingOutput { - s.LoggingEnabled = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfigurationRequest type GetBucketMetricsConfigurationInput struct { _ struct{} `type:"structure"` @@ -9136,12 +7690,6 @@ func (s *GetBucketMetricsConfigurationInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetBucketMetricsConfigurationInput) SetBucket(v string) *GetBucketMetricsConfigurationInput { - s.Bucket = &v - return s -} - func (s *GetBucketMetricsConfigurationInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -9149,12 +7697,6 @@ func (s *GetBucketMetricsConfigurationInput) getBucket() (v string) { return *s.Bucket } -// SetId sets the Id field's value. -func (s *GetBucketMetricsConfigurationInput) SetId(v string) *GetBucketMetricsConfigurationInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfigurationOutput type GetBucketMetricsConfigurationOutput struct { _ struct{} `type:"structure" payload:"MetricsConfiguration"` @@ -9180,12 +7722,6 @@ func (s GetBucketMetricsConfigurationOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetMetricsConfiguration sets the MetricsConfiguration field's value. -func (s *GetBucketMetricsConfigurationOutput) SetMetricsConfiguration(v *MetricsConfiguration) *GetBucketMetricsConfigurationOutput { - s.MetricsConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotificationInput type GetBucketNotificationConfigurationInput struct { _ struct{} `type:"structure"` @@ -9220,12 +7756,6 @@ func (s *GetBucketNotificationConfigurationInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetBucketNotificationConfigurationInput) SetBucket(v string) *GetBucketNotificationConfigurationInput { - s.Bucket = &v - return s -} - func (s *GetBucketNotificationConfigurationInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -9294,24 +7824,6 @@ func (s GetBucketNotificationConfigurationOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetLambdaFunctionConfigurations sets the LambdaFunctionConfigurations field's value. -func (s *GetBucketNotificationConfigurationOutput) SetLambdaFunctionConfigurations(v []LambdaFunctionConfiguration) *GetBucketNotificationConfigurationOutput { - s.LambdaFunctionConfigurations = v - return s -} - -// SetQueueConfigurations sets the QueueConfigurations field's value. -func (s *GetBucketNotificationConfigurationOutput) SetQueueConfigurations(v []QueueConfiguration) *GetBucketNotificationConfigurationOutput { - s.QueueConfigurations = v - return s -} - -// SetTopicConfigurations sets the TopicConfigurations field's value. -func (s *GetBucketNotificationConfigurationOutput) SetTopicConfigurations(v []TopicConfiguration) *GetBucketNotificationConfigurationOutput { - s.TopicConfigurations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfigurationDeprecated type GetBucketNotificationOutput struct { _ struct{} `type:"structure"` @@ -9340,24 +7852,6 @@ func (s GetBucketNotificationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCloudFunctionConfiguration sets the CloudFunctionConfiguration field's value. -func (s *GetBucketNotificationOutput) SetCloudFunctionConfiguration(v *CloudFunctionConfiguration) *GetBucketNotificationOutput { - s.CloudFunctionConfiguration = v - return s -} - -// SetQueueConfiguration sets the QueueConfiguration field's value. -func (s *GetBucketNotificationOutput) SetQueueConfiguration(v *QueueConfigurationDeprecated) *GetBucketNotificationOutput { - s.QueueConfiguration = v - return s -} - -// SetTopicConfiguration sets the TopicConfiguration field's value. -func (s *GetBucketNotificationOutput) SetTopicConfiguration(v *TopicConfigurationDeprecated) *GetBucketNotificationOutput { - s.TopicConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyRequest type GetBucketPolicyInput struct { _ struct{} `type:"structure"` @@ -9390,12 +7884,6 @@ func (s *GetBucketPolicyInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetBucketPolicyInput) SetBucket(v string) *GetBucketPolicyInput { - s.Bucket = &v - return s -} - func (s *GetBucketPolicyInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -9428,12 +7916,6 @@ func (s GetBucketPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicy sets the Policy field's value. -func (s *GetBucketPolicyOutput) SetPolicy(v string) *GetBucketPolicyOutput { - s.Policy = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketReplicationRequest type GetBucketReplicationInput struct { _ struct{} `type:"structure"` @@ -9466,12 +7948,6 @@ func (s *GetBucketReplicationInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetBucketReplicationInput) SetBucket(v string) *GetBucketReplicationInput { - s.Bucket = &v - return s -} - func (s *GetBucketReplicationInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -9505,12 +7981,6 @@ func (s GetBucketReplicationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReplicationConfiguration sets the ReplicationConfiguration field's value. -func (s *GetBucketReplicationOutput) SetReplicationConfiguration(v *ReplicationConfiguration) *GetBucketReplicationOutput { - s.ReplicationConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketRequestPaymentRequest type GetBucketRequestPaymentInput struct { _ struct{} `type:"structure"` @@ -9543,12 +8013,6 @@ func (s *GetBucketRequestPaymentInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetBucketRequestPaymentInput) SetBucket(v string) *GetBucketRequestPaymentInput { - s.Bucket = &v - return s -} - func (s *GetBucketRequestPaymentInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -9581,12 +8045,6 @@ func (s GetBucketRequestPaymentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPayer sets the Payer field's value. -func (s *GetBucketRequestPaymentOutput) SetPayer(v Payer) *GetBucketRequestPaymentOutput { - s.Payer = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketTaggingRequest type GetBucketTaggingInput struct { _ struct{} `type:"structure"` @@ -9619,12 +8077,6 @@ func (s *GetBucketTaggingInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetBucketTaggingInput) SetBucket(v string) *GetBucketTaggingInput { - s.Bucket = &v - return s -} - func (s *GetBucketTaggingInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -9657,12 +8109,6 @@ func (s GetBucketTaggingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTagSet sets the TagSet field's value. -func (s *GetBucketTaggingOutput) SetTagSet(v []Tag) *GetBucketTaggingOutput { - s.TagSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketVersioningRequest type GetBucketVersioningInput struct { _ struct{} `type:"structure"` @@ -9695,12 +8141,6 @@ func (s *GetBucketVersioningInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetBucketVersioningInput) SetBucket(v string) *GetBucketVersioningInput { - s.Bucket = &v - return s -} - func (s *GetBucketVersioningInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -9738,18 +8178,6 @@ func (s GetBucketVersioningOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMFADelete sets the MFADelete field's value. -func (s *GetBucketVersioningOutput) SetMFADelete(v MFADeleteStatus) *GetBucketVersioningOutput { - s.MFADelete = v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetBucketVersioningOutput) SetStatus(v BucketVersioningStatus) *GetBucketVersioningOutput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketWebsiteRequest type GetBucketWebsiteInput struct { _ struct{} `type:"structure"` @@ -9782,12 +8210,6 @@ func (s *GetBucketWebsiteInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetBucketWebsiteInput) SetBucket(v string) *GetBucketWebsiteInput { - s.Bucket = &v - return s -} - func (s *GetBucketWebsiteInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -9825,30 +8247,6 @@ func (s GetBucketWebsiteOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetErrorDocument sets the ErrorDocument field's value. -func (s *GetBucketWebsiteOutput) SetErrorDocument(v *ErrorDocument) *GetBucketWebsiteOutput { - s.ErrorDocument = v - return s -} - -// SetIndexDocument sets the IndexDocument field's value. -func (s *GetBucketWebsiteOutput) SetIndexDocument(v *IndexDocument) *GetBucketWebsiteOutput { - s.IndexDocument = v - return s -} - -// SetRedirectAllRequestsTo sets the RedirectAllRequestsTo field's value. -func (s *GetBucketWebsiteOutput) SetRedirectAllRequestsTo(v *RedirectAllRequestsTo) *GetBucketWebsiteOutput { - s.RedirectAllRequestsTo = v - return s -} - -// SetRoutingRules sets the RoutingRules field's value. -func (s *GetBucketWebsiteOutput) SetRoutingRules(v []RoutingRule) *GetBucketWebsiteOutput { - s.RoutingRules = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAclRequest type GetObjectAclInput struct { _ struct{} `type:"structure"` @@ -9900,12 +8298,6 @@ func (s *GetObjectAclInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetObjectAclInput) SetBucket(v string) *GetObjectAclInput { - s.Bucket = &v - return s -} - func (s *GetObjectAclInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -9913,24 +8305,6 @@ func (s *GetObjectAclInput) getBucket() (v string) { return *s.Bucket } -// SetKey sets the Key field's value. -func (s *GetObjectAclInput) SetKey(v string) *GetObjectAclInput { - s.Key = &v - return s -} - -// SetRequestPayer sets the RequestPayer field's value. -func (s *GetObjectAclInput) SetRequestPayer(v RequestPayer) *GetObjectAclInput { - s.RequestPayer = v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *GetObjectAclInput) SetVersionId(v string) *GetObjectAclInput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAclOutput type GetObjectAclOutput struct { _ struct{} `type:"structure"` @@ -9962,24 +8336,6 @@ func (s GetObjectAclOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGrants sets the Grants field's value. -func (s *GetObjectAclOutput) SetGrants(v []Grant) *GetObjectAclOutput { - s.Grants = v - return s -} - -// SetOwner sets the Owner field's value. -func (s *GetObjectAclOutput) SetOwner(v *Owner) *GetObjectAclOutput { - s.Owner = v - return s -} - -// SetRequestCharged sets the RequestCharged field's value. -func (s *GetObjectAclOutput) SetRequestCharged(v RequestCharged) *GetObjectAclOutput { - s.RequestCharged = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectRequest type GetObjectInput struct { _ struct{} `type:"structure"` @@ -10089,12 +8445,6 @@ func (s *GetObjectInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetObjectInput) SetBucket(v string) *GetObjectInput { - s.Bucket = &v - return s -} - func (s *GetObjectInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -10102,102 +8452,6 @@ func (s *GetObjectInput) getBucket() (v string) { return *s.Bucket } -// SetIfMatch sets the IfMatch field's value. -func (s *GetObjectInput) SetIfMatch(v string) *GetObjectInput { - s.IfMatch = &v - return s -} - -// SetIfModifiedSince sets the IfModifiedSince field's value. -func (s *GetObjectInput) SetIfModifiedSince(v time.Time) *GetObjectInput { - s.IfModifiedSince = &v - return s -} - -// SetIfNoneMatch sets the IfNoneMatch field's value. -func (s *GetObjectInput) SetIfNoneMatch(v string) *GetObjectInput { - s.IfNoneMatch = &v - return s -} - -// SetIfUnmodifiedSince sets the IfUnmodifiedSince field's value. -func (s *GetObjectInput) SetIfUnmodifiedSince(v time.Time) *GetObjectInput { - s.IfUnmodifiedSince = &v - return s -} - -// SetKey sets the Key field's value. -func (s *GetObjectInput) SetKey(v string) *GetObjectInput { - s.Key = &v - return s -} - -// SetPartNumber sets the PartNumber field's value. -func (s *GetObjectInput) SetPartNumber(v int64) *GetObjectInput { - s.PartNumber = &v - return s -} - -// SetRange sets the Range field's value. -func (s *GetObjectInput) SetRange(v string) *GetObjectInput { - s.Range = &v - return s -} - -// SetRequestPayer sets the RequestPayer field's value. -func (s *GetObjectInput) SetRequestPayer(v RequestPayer) *GetObjectInput { - s.RequestPayer = v - return s -} - -// SetResponseCacheControl sets the ResponseCacheControl field's value. -func (s *GetObjectInput) SetResponseCacheControl(v string) *GetObjectInput { - s.ResponseCacheControl = &v - return s -} - -// SetResponseContentDisposition sets the ResponseContentDisposition field's value. -func (s *GetObjectInput) SetResponseContentDisposition(v string) *GetObjectInput { - s.ResponseContentDisposition = &v - return s -} - -// SetResponseContentEncoding sets the ResponseContentEncoding field's value. -func (s *GetObjectInput) SetResponseContentEncoding(v string) *GetObjectInput { - s.ResponseContentEncoding = &v - return s -} - -// SetResponseContentLanguage sets the ResponseContentLanguage field's value. -func (s *GetObjectInput) SetResponseContentLanguage(v string) *GetObjectInput { - s.ResponseContentLanguage = &v - return s -} - -// SetResponseContentType sets the ResponseContentType field's value. -func (s *GetObjectInput) SetResponseContentType(v string) *GetObjectInput { - s.ResponseContentType = &v - return s -} - -// SetResponseExpires sets the ResponseExpires field's value. -func (s *GetObjectInput) SetResponseExpires(v time.Time) *GetObjectInput { - s.ResponseExpires = &v - return s -} - -// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value. -func (s *GetObjectInput) SetSSECustomerAlgorithm(v string) *GetObjectInput { - s.SSECustomerAlgorithm = &v - return s -} - -// SetSSECustomerKey sets the SSECustomerKey field's value. -func (s *GetObjectInput) SetSSECustomerKey(v string) *GetObjectInput { - s.SSECustomerKey = &v - return s -} - func (s *GetObjectInput) getSSECustomerKey() (v string) { if s.SSECustomerKey == nil { return v @@ -10205,18 +8459,6 @@ func (s *GetObjectInput) getSSECustomerKey() (v string) { return *s.SSECustomerKey } -// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. -func (s *GetObjectInput) SetSSECustomerKeyMD5(v string) *GetObjectInput { - s.SSECustomerKeyMD5 = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *GetObjectInput) SetVersionId(v string) *GetObjectInput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectOutput type GetObjectOutput struct { _ struct{} `type:"structure" payload:"Body"` @@ -10340,174 +8582,6 @@ func (s GetObjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAcceptRanges sets the AcceptRanges field's value. -func (s *GetObjectOutput) SetAcceptRanges(v string) *GetObjectOutput { - s.AcceptRanges = &v - return s -} - -// SetBody sets the Body field's value. -func (s *GetObjectOutput) SetBody(v io.ReadCloser) *GetObjectOutput { - s.Body = v - return s -} - -// SetCacheControl sets the CacheControl field's value. -func (s *GetObjectOutput) SetCacheControl(v string) *GetObjectOutput { - s.CacheControl = &v - return s -} - -// SetContentDisposition sets the ContentDisposition field's value. -func (s *GetObjectOutput) SetContentDisposition(v string) *GetObjectOutput { - s.ContentDisposition = &v - return s -} - -// SetContentEncoding sets the ContentEncoding field's value. -func (s *GetObjectOutput) SetContentEncoding(v string) *GetObjectOutput { - s.ContentEncoding = &v - return s -} - -// SetContentLanguage sets the ContentLanguage field's value. -func (s *GetObjectOutput) SetContentLanguage(v string) *GetObjectOutput { - s.ContentLanguage = &v - return s -} - -// SetContentLength sets the ContentLength field's value. -func (s *GetObjectOutput) SetContentLength(v int64) *GetObjectOutput { - s.ContentLength = &v - return s -} - -// SetContentRange sets the ContentRange field's value. -func (s *GetObjectOutput) SetContentRange(v string) *GetObjectOutput { - s.ContentRange = &v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *GetObjectOutput) SetContentType(v string) *GetObjectOutput { - s.ContentType = &v - return s -} - -// SetDeleteMarker sets the DeleteMarker field's value. -func (s *GetObjectOutput) SetDeleteMarker(v bool) *GetObjectOutput { - s.DeleteMarker = &v - return s -} - -// SetETag sets the ETag field's value. -func (s *GetObjectOutput) SetETag(v string) *GetObjectOutput { - s.ETag = &v - return s -} - -// SetExpiration sets the Expiration field's value. -func (s *GetObjectOutput) SetExpiration(v string) *GetObjectOutput { - s.Expiration = &v - return s -} - -// SetExpires sets the Expires field's value. -func (s *GetObjectOutput) SetExpires(v string) *GetObjectOutput { - s.Expires = &v - return s -} - -// SetLastModified sets the LastModified field's value. -func (s *GetObjectOutput) SetLastModified(v time.Time) *GetObjectOutput { - s.LastModified = &v - return s -} - -// SetMetadata sets the Metadata field's value. -func (s *GetObjectOutput) SetMetadata(v map[string]string) *GetObjectOutput { - s.Metadata = v - return s -} - -// SetMissingMeta sets the MissingMeta field's value. -func (s *GetObjectOutput) SetMissingMeta(v int64) *GetObjectOutput { - s.MissingMeta = &v - return s -} - -// SetPartsCount sets the PartsCount field's value. -func (s *GetObjectOutput) SetPartsCount(v int64) *GetObjectOutput { - s.PartsCount = &v - return s -} - -// SetReplicationStatus sets the ReplicationStatus field's value. -func (s *GetObjectOutput) SetReplicationStatus(v ReplicationStatus) *GetObjectOutput { - s.ReplicationStatus = v - return s -} - -// SetRequestCharged sets the RequestCharged field's value. -func (s *GetObjectOutput) SetRequestCharged(v RequestCharged) *GetObjectOutput { - s.RequestCharged = v - return s -} - -// SetRestore sets the Restore field's value. -func (s *GetObjectOutput) SetRestore(v string) *GetObjectOutput { - s.Restore = &v - return s -} - -// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value. -func (s *GetObjectOutput) SetSSECustomerAlgorithm(v string) *GetObjectOutput { - s.SSECustomerAlgorithm = &v - return s -} - -// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. -func (s *GetObjectOutput) SetSSECustomerKeyMD5(v string) *GetObjectOutput { - s.SSECustomerKeyMD5 = &v - return s -} - -// SetSSEKMSKeyId sets the SSEKMSKeyId field's value. -func (s *GetObjectOutput) SetSSEKMSKeyId(v string) *GetObjectOutput { - s.SSEKMSKeyId = &v - return s -} - -// SetServerSideEncryption sets the ServerSideEncryption field's value. -func (s *GetObjectOutput) SetServerSideEncryption(v ServerSideEncryption) *GetObjectOutput { - s.ServerSideEncryption = v - return s -} - -// SetStorageClass sets the StorageClass field's value. -func (s *GetObjectOutput) SetStorageClass(v StorageClass) *GetObjectOutput { - s.StorageClass = v - return s -} - -// SetTagCount sets the TagCount field's value. -func (s *GetObjectOutput) SetTagCount(v int64) *GetObjectOutput { - s.TagCount = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *GetObjectOutput) SetVersionId(v string) *GetObjectOutput { - s.VersionId = &v - return s -} - -// SetWebsiteRedirectLocation sets the WebsiteRedirectLocation field's value. -func (s *GetObjectOutput) SetWebsiteRedirectLocation(v string) *GetObjectOutput { - s.WebsiteRedirectLocation = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTaggingRequest type GetObjectTaggingInput struct { _ struct{} `type:"structure"` @@ -10552,12 +8626,6 @@ func (s *GetObjectTaggingInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetObjectTaggingInput) SetBucket(v string) *GetObjectTaggingInput { - s.Bucket = &v - return s -} - func (s *GetObjectTaggingInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -10565,18 +8633,6 @@ func (s *GetObjectTaggingInput) getBucket() (v string) { return *s.Bucket } -// SetKey sets the Key field's value. -func (s *GetObjectTaggingInput) SetKey(v string) *GetObjectTaggingInput { - s.Key = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *GetObjectTaggingInput) SetVersionId(v string) *GetObjectTaggingInput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTaggingOutput type GetObjectTaggingOutput struct { _ struct{} `type:"structure"` @@ -10604,18 +8660,6 @@ func (s GetObjectTaggingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTagSet sets the TagSet field's value. -func (s *GetObjectTaggingOutput) SetTagSet(v []Tag) *GetObjectTaggingOutput { - s.TagSet = v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *GetObjectTaggingOutput) SetVersionId(v string) *GetObjectTaggingOutput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrentRequest type GetObjectTorrentInput struct { _ struct{} `type:"structure"` @@ -10664,12 +8708,6 @@ func (s *GetObjectTorrentInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *GetObjectTorrentInput) SetBucket(v string) *GetObjectTorrentInput { - s.Bucket = &v - return s -} - func (s *GetObjectTorrentInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -10677,18 +8715,6 @@ func (s *GetObjectTorrentInput) getBucket() (v string) { return *s.Bucket } -// SetKey sets the Key field's value. -func (s *GetObjectTorrentInput) SetKey(v string) *GetObjectTorrentInput { - s.Key = &v - return s -} - -// SetRequestPayer sets the RequestPayer field's value. -func (s *GetObjectTorrentInput) SetRequestPayer(v RequestPayer) *GetObjectTorrentInput { - s.RequestPayer = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrentOutput type GetObjectTorrentOutput struct { _ struct{} `type:"structure" payload:"Body"` @@ -10717,18 +8743,6 @@ func (s GetObjectTorrentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBody sets the Body field's value. -func (s *GetObjectTorrentOutput) SetBody(v io.ReadCloser) *GetObjectTorrentOutput { - s.Body = v - return s -} - -// SetRequestCharged sets the RequestCharged field's value. -func (s *GetObjectTorrentOutput) SetRequestCharged(v RequestCharged) *GetObjectTorrentOutput { - s.RequestCharged = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GlacierJobParameters type GlacierJobParameters struct { _ struct{} `type:"structure"` @@ -10762,12 +8776,6 @@ func (s *GlacierJobParameters) Validate() error { return nil } -// SetTier sets the Tier field's value. -func (s *GlacierJobParameters) SetTier(v Tier) *GlacierJobParameters { - s.Tier = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Grant type Grant struct { _ struct{} `type:"structure"` @@ -10803,18 +8811,6 @@ func (s *Grant) Validate() error { return nil } -// SetGrantee sets the Grantee field's value. -func (s *Grant) SetGrantee(v *Grantee) *Grant { - s.Grantee = v - return s -} - -// SetPermission sets the Permission field's value. -func (s *Grant) SetPermission(v Permission) *Grant { - s.Permission = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Grantee type Grantee struct { _ struct{} `type:"structure" xmlPrefix:"xsi" xmlURI:"http://www.w3.org/2001/XMLSchema-instance"` @@ -10860,36 +8856,6 @@ func (s *Grantee) Validate() error { return nil } -// SetDisplayName sets the DisplayName field's value. -func (s *Grantee) SetDisplayName(v string) *Grantee { - s.DisplayName = &v - return s -} - -// SetEmailAddress sets the EmailAddress field's value. -func (s *Grantee) SetEmailAddress(v string) *Grantee { - s.EmailAddress = &v - return s -} - -// SetID sets the ID field's value. -func (s *Grantee) SetID(v string) *Grantee { - s.ID = &v - return s -} - -// SetType sets the Type field's value. -func (s *Grantee) SetType(v Type) *Grantee { - s.Type = v - return s -} - -// SetURI sets the URI field's value. -func (s *Grantee) SetURI(v string) *Grantee { - s.URI = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucketRequest type HeadBucketInput struct { _ struct{} `type:"structure"` @@ -10922,12 +8888,6 @@ func (s *HeadBucketInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *HeadBucketInput) SetBucket(v string) *HeadBucketInput { - s.Bucket = &v - return s -} - func (s *HeadBucketInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -11049,12 +9009,6 @@ func (s *HeadObjectInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *HeadObjectInput) SetBucket(v string) *HeadObjectInput { - s.Bucket = &v - return s -} - func (s *HeadObjectInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -11062,66 +9016,6 @@ func (s *HeadObjectInput) getBucket() (v string) { return *s.Bucket } -// SetIfMatch sets the IfMatch field's value. -func (s *HeadObjectInput) SetIfMatch(v string) *HeadObjectInput { - s.IfMatch = &v - return s -} - -// SetIfModifiedSince sets the IfModifiedSince field's value. -func (s *HeadObjectInput) SetIfModifiedSince(v time.Time) *HeadObjectInput { - s.IfModifiedSince = &v - return s -} - -// SetIfNoneMatch sets the IfNoneMatch field's value. -func (s *HeadObjectInput) SetIfNoneMatch(v string) *HeadObjectInput { - s.IfNoneMatch = &v - return s -} - -// SetIfUnmodifiedSince sets the IfUnmodifiedSince field's value. -func (s *HeadObjectInput) SetIfUnmodifiedSince(v time.Time) *HeadObjectInput { - s.IfUnmodifiedSince = &v - return s -} - -// SetKey sets the Key field's value. -func (s *HeadObjectInput) SetKey(v string) *HeadObjectInput { - s.Key = &v - return s -} - -// SetPartNumber sets the PartNumber field's value. -func (s *HeadObjectInput) SetPartNumber(v int64) *HeadObjectInput { - s.PartNumber = &v - return s -} - -// SetRange sets the Range field's value. -func (s *HeadObjectInput) SetRange(v string) *HeadObjectInput { - s.Range = &v - return s -} - -// SetRequestPayer sets the RequestPayer field's value. -func (s *HeadObjectInput) SetRequestPayer(v RequestPayer) *HeadObjectInput { - s.RequestPayer = v - return s -} - -// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value. -func (s *HeadObjectInput) SetSSECustomerAlgorithm(v string) *HeadObjectInput { - s.SSECustomerAlgorithm = &v - return s -} - -// SetSSECustomerKey sets the SSECustomerKey field's value. -func (s *HeadObjectInput) SetSSECustomerKey(v string) *HeadObjectInput { - s.SSECustomerKey = &v - return s -} - func (s *HeadObjectInput) getSSECustomerKey() (v string) { if s.SSECustomerKey == nil { return v @@ -11129,18 +9023,6 @@ func (s *HeadObjectInput) getSSECustomerKey() (v string) { return *s.SSECustomerKey } -// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. -func (s *HeadObjectInput) SetSSECustomerKeyMD5(v string) *HeadObjectInput { - s.SSECustomerKeyMD5 = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *HeadObjectInput) SetVersionId(v string) *HeadObjectInput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObjectOutput type HeadObjectOutput struct { _ struct{} `type:"structure"` @@ -11255,156 +9137,6 @@ func (s HeadObjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAcceptRanges sets the AcceptRanges field's value. -func (s *HeadObjectOutput) SetAcceptRanges(v string) *HeadObjectOutput { - s.AcceptRanges = &v - return s -} - -// SetCacheControl sets the CacheControl field's value. -func (s *HeadObjectOutput) SetCacheControl(v string) *HeadObjectOutput { - s.CacheControl = &v - return s -} - -// SetContentDisposition sets the ContentDisposition field's value. -func (s *HeadObjectOutput) SetContentDisposition(v string) *HeadObjectOutput { - s.ContentDisposition = &v - return s -} - -// SetContentEncoding sets the ContentEncoding field's value. -func (s *HeadObjectOutput) SetContentEncoding(v string) *HeadObjectOutput { - s.ContentEncoding = &v - return s -} - -// SetContentLanguage sets the ContentLanguage field's value. -func (s *HeadObjectOutput) SetContentLanguage(v string) *HeadObjectOutput { - s.ContentLanguage = &v - return s -} - -// SetContentLength sets the ContentLength field's value. -func (s *HeadObjectOutput) SetContentLength(v int64) *HeadObjectOutput { - s.ContentLength = &v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *HeadObjectOutput) SetContentType(v string) *HeadObjectOutput { - s.ContentType = &v - return s -} - -// SetDeleteMarker sets the DeleteMarker field's value. -func (s *HeadObjectOutput) SetDeleteMarker(v bool) *HeadObjectOutput { - s.DeleteMarker = &v - return s -} - -// SetETag sets the ETag field's value. -func (s *HeadObjectOutput) SetETag(v string) *HeadObjectOutput { - s.ETag = &v - return s -} - -// SetExpiration sets the Expiration field's value. -func (s *HeadObjectOutput) SetExpiration(v string) *HeadObjectOutput { - s.Expiration = &v - return s -} - -// SetExpires sets the Expires field's value. -func (s *HeadObjectOutput) SetExpires(v string) *HeadObjectOutput { - s.Expires = &v - return s -} - -// SetLastModified sets the LastModified field's value. -func (s *HeadObjectOutput) SetLastModified(v time.Time) *HeadObjectOutput { - s.LastModified = &v - return s -} - -// SetMetadata sets the Metadata field's value. -func (s *HeadObjectOutput) SetMetadata(v map[string]string) *HeadObjectOutput { - s.Metadata = v - return s -} - -// SetMissingMeta sets the MissingMeta field's value. -func (s *HeadObjectOutput) SetMissingMeta(v int64) *HeadObjectOutput { - s.MissingMeta = &v - return s -} - -// SetPartsCount sets the PartsCount field's value. -func (s *HeadObjectOutput) SetPartsCount(v int64) *HeadObjectOutput { - s.PartsCount = &v - return s -} - -// SetReplicationStatus sets the ReplicationStatus field's value. -func (s *HeadObjectOutput) SetReplicationStatus(v ReplicationStatus) *HeadObjectOutput { - s.ReplicationStatus = v - return s -} - -// SetRequestCharged sets the RequestCharged field's value. -func (s *HeadObjectOutput) SetRequestCharged(v RequestCharged) *HeadObjectOutput { - s.RequestCharged = v - return s -} - -// SetRestore sets the Restore field's value. -func (s *HeadObjectOutput) SetRestore(v string) *HeadObjectOutput { - s.Restore = &v - return s -} - -// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value. -func (s *HeadObjectOutput) SetSSECustomerAlgorithm(v string) *HeadObjectOutput { - s.SSECustomerAlgorithm = &v - return s -} - -// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. -func (s *HeadObjectOutput) SetSSECustomerKeyMD5(v string) *HeadObjectOutput { - s.SSECustomerKeyMD5 = &v - return s -} - -// SetSSEKMSKeyId sets the SSEKMSKeyId field's value. -func (s *HeadObjectOutput) SetSSEKMSKeyId(v string) *HeadObjectOutput { - s.SSEKMSKeyId = &v - return s -} - -// SetServerSideEncryption sets the ServerSideEncryption field's value. -func (s *HeadObjectOutput) SetServerSideEncryption(v ServerSideEncryption) *HeadObjectOutput { - s.ServerSideEncryption = v - return s -} - -// SetStorageClass sets the StorageClass field's value. -func (s *HeadObjectOutput) SetStorageClass(v StorageClass) *HeadObjectOutput { - s.StorageClass = v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *HeadObjectOutput) SetVersionId(v string) *HeadObjectOutput { - s.VersionId = &v - return s -} - -// SetWebsiteRedirectLocation sets the WebsiteRedirectLocation field's value. -func (s *HeadObjectOutput) SetWebsiteRedirectLocation(v string) *HeadObjectOutput { - s.WebsiteRedirectLocation = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/IndexDocument type IndexDocument struct { _ struct{} `type:"structure"` @@ -11442,12 +9174,6 @@ func (s *IndexDocument) Validate() error { return nil } -// SetSuffix sets the Suffix field's value. -func (s *IndexDocument) SetSuffix(v string) *IndexDocument { - s.Suffix = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Initiator type Initiator struct { _ struct{} `type:"structure"` @@ -11470,18 +9196,6 @@ func (s Initiator) GoString() string { return s.String() } -// SetDisplayName sets the DisplayName field's value. -func (s *Initiator) SetDisplayName(v string) *Initiator { - s.DisplayName = &v - return s -} - -// SetID sets the ID field's value. -func (s *Initiator) SetID(v string) *Initiator { - s.ID = &v - return s -} - // Describes the serialization format of the object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InputSerialization type InputSerialization struct { @@ -11501,12 +9215,6 @@ func (s InputSerialization) GoString() string { return s.String() } -// SetCSV sets the CSV field's value. -func (s *InputSerialization) SetCSV(v *CSVInput) *InputSerialization { - s.CSV = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryConfiguration type InventoryConfiguration struct { _ struct{} `type:"structure"` @@ -11598,51 +9306,9 @@ func (s *InventoryConfiguration) Validate() error { return nil } -// SetDestination sets the Destination field's value. -func (s *InventoryConfiguration) SetDestination(v *InventoryDestination) *InventoryConfiguration { - s.Destination = v - return s -} - -// SetFilter sets the Filter field's value. -func (s *InventoryConfiguration) SetFilter(v *InventoryFilter) *InventoryConfiguration { - s.Filter = v - return s -} - -// SetId sets the Id field's value. -func (s *InventoryConfiguration) SetId(v string) *InventoryConfiguration { - s.Id = &v - return s -} - -// SetIncludedObjectVersions sets the IncludedObjectVersions field's value. -func (s *InventoryConfiguration) SetIncludedObjectVersions(v InventoryIncludedObjectVersions) *InventoryConfiguration { - s.IncludedObjectVersions = v - return s -} - -// SetIsEnabled sets the IsEnabled field's value. -func (s *InventoryConfiguration) SetIsEnabled(v bool) *InventoryConfiguration { - s.IsEnabled = &v - return s -} - -// SetOptionalFields sets the OptionalFields field's value. -func (s *InventoryConfiguration) SetOptionalFields(v []InventoryOptionalField) *InventoryConfiguration { - s.OptionalFields = v - return s -} - -// SetSchedule sets the Schedule field's value. -func (s *InventoryConfiguration) SetSchedule(v *InventorySchedule) *InventoryConfiguration { - s.Schedule = v - return s -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryDestination -type InventoryDestination struct { - _ struct{} `type:"structure"` +// Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryDestination +type InventoryDestination struct { + _ struct{} `type:"structure"` // Contains the bucket name, file format, bucket owner (optional), and prefix // (optional) where inventory results are published. @@ -11680,12 +9346,6 @@ func (s *InventoryDestination) Validate() error { return nil } -// SetS3BucketDestination sets the S3BucketDestination field's value. -func (s *InventoryDestination) SetS3BucketDestination(v *InventoryS3BucketDestination) *InventoryDestination { - s.S3BucketDestination = v - return s -} - // Contains the type of server-side encryption used to encrypt the inventory // results. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryEncryption @@ -11724,18 +9384,6 @@ func (s *InventoryEncryption) Validate() error { return nil } -// SetSSEKMS sets the SSEKMS field's value. -func (s *InventoryEncryption) SetSSEKMS(v *SSEKMS) *InventoryEncryption { - s.SSEKMS = v - return s -} - -// SetSSES3 sets the SSES3 field's value. -func (s *InventoryEncryption) SetSSES3(v *SSES3) *InventoryEncryption { - s.SSES3 = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryFilter type InventoryFilter struct { _ struct{} `type:"structure"` @@ -11770,12 +9418,6 @@ func (s *InventoryFilter) Validate() error { return nil } -// SetPrefix sets the Prefix field's value. -func (s *InventoryFilter) SetPrefix(v string) *InventoryFilter { - s.Prefix = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventoryS3BucketDestination type InventoryS3BucketDestination struct { _ struct{} `type:"structure"` @@ -11834,18 +9476,6 @@ func (s *InventoryS3BucketDestination) Validate() error { return nil } -// SetAccountId sets the AccountId field's value. -func (s *InventoryS3BucketDestination) SetAccountId(v string) *InventoryS3BucketDestination { - s.AccountId = &v - return s -} - -// SetBucket sets the Bucket field's value. -func (s *InventoryS3BucketDestination) SetBucket(v string) *InventoryS3BucketDestination { - s.Bucket = &v - return s -} - func (s *InventoryS3BucketDestination) getBucket() (v string) { if s.Bucket == nil { return v @@ -11853,24 +9483,6 @@ func (s *InventoryS3BucketDestination) getBucket() (v string) { return *s.Bucket } -// SetEncryption sets the Encryption field's value. -func (s *InventoryS3BucketDestination) SetEncryption(v *InventoryEncryption) *InventoryS3BucketDestination { - s.Encryption = v - return s -} - -// SetFormat sets the Format field's value. -func (s *InventoryS3BucketDestination) SetFormat(v InventoryFormat) *InventoryS3BucketDestination { - s.Format = v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *InventoryS3BucketDestination) SetPrefix(v string) *InventoryS3BucketDestination { - s.Prefix = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InventorySchedule type InventorySchedule struct { _ struct{} `type:"structure"` @@ -11904,12 +9516,6 @@ func (s *InventorySchedule) Validate() error { return nil } -// SetFrequency sets the Frequency field's value. -func (s *InventorySchedule) SetFrequency(v InventoryFrequency) *InventorySchedule { - s.Frequency = v - return s -} - // Container for object key name prefix and suffix filtering rules. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/S3KeyFilter type KeyFilter struct { @@ -11930,12 +9536,6 @@ func (s KeyFilter) GoString() string { return s.String() } -// SetFilterRules sets the FilterRules field's value. -func (s *KeyFilter) SetFilterRules(v []FilterRule) *KeyFilter { - s.FilterRules = v - return s -} - // Container for specifying the AWS Lambda notification configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LambdaFunctionConfiguration type LambdaFunctionConfiguration struct { @@ -11987,30 +9587,6 @@ func (s *LambdaFunctionConfiguration) Validate() error { return nil } -// SetEvents sets the Events field's value. -func (s *LambdaFunctionConfiguration) SetEvents(v []Event) *LambdaFunctionConfiguration { - s.Events = v - return s -} - -// SetFilter sets the Filter field's value. -func (s *LambdaFunctionConfiguration) SetFilter(v *NotificationConfigurationFilter) *LambdaFunctionConfiguration { - s.Filter = v - return s -} - -// SetId sets the Id field's value. -func (s *LambdaFunctionConfiguration) SetId(v string) *LambdaFunctionConfiguration { - s.Id = &v - return s -} - -// SetLambdaFunctionArn sets the LambdaFunctionArn field's value. -func (s *LambdaFunctionConfiguration) SetLambdaFunctionArn(v string) *LambdaFunctionConfiguration { - s.LambdaFunctionArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleConfiguration type LifecycleConfiguration struct { _ struct{} `type:"structure"` @@ -12050,12 +9626,6 @@ func (s *LifecycleConfiguration) Validate() error { return nil } -// SetRules sets the Rules field's value. -func (s *LifecycleConfiguration) SetRules(v []Rule) *LifecycleConfiguration { - s.Rules = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleExpiration type LifecycleExpiration struct { _ struct{} `type:"structure"` @@ -12085,24 +9655,6 @@ func (s LifecycleExpiration) GoString() string { return s.String() } -// SetDate sets the Date field's value. -func (s *LifecycleExpiration) SetDate(v time.Time) *LifecycleExpiration { - s.Date = &v - return s -} - -// SetDays sets the Days field's value. -func (s *LifecycleExpiration) SetDays(v int64) *LifecycleExpiration { - s.Days = &v - return s -} - -// SetExpiredObjectDeleteMarker sets the ExpiredObjectDeleteMarker field's value. -func (s *LifecycleExpiration) SetExpiredObjectDeleteMarker(v bool) *LifecycleExpiration { - s.ExpiredObjectDeleteMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRule type LifecycleRule struct { _ struct{} `type:"structure"` @@ -12170,60 +9722,6 @@ func (s *LifecycleRule) Validate() error { return nil } -// SetAbortIncompleteMultipartUpload sets the AbortIncompleteMultipartUpload field's value. -func (s *LifecycleRule) SetAbortIncompleteMultipartUpload(v *AbortIncompleteMultipartUpload) *LifecycleRule { - s.AbortIncompleteMultipartUpload = v - return s -} - -// SetExpiration sets the Expiration field's value. -func (s *LifecycleRule) SetExpiration(v *LifecycleExpiration) *LifecycleRule { - s.Expiration = v - return s -} - -// SetFilter sets the Filter field's value. -func (s *LifecycleRule) SetFilter(v *LifecycleRuleFilter) *LifecycleRule { - s.Filter = v - return s -} - -// SetID sets the ID field's value. -func (s *LifecycleRule) SetID(v string) *LifecycleRule { - s.ID = &v - return s -} - -// SetNoncurrentVersionExpiration sets the NoncurrentVersionExpiration field's value. -func (s *LifecycleRule) SetNoncurrentVersionExpiration(v *NoncurrentVersionExpiration) *LifecycleRule { - s.NoncurrentVersionExpiration = v - return s -} - -// SetNoncurrentVersionTransitions sets the NoncurrentVersionTransitions field's value. -func (s *LifecycleRule) SetNoncurrentVersionTransitions(v []NoncurrentVersionTransition) *LifecycleRule { - s.NoncurrentVersionTransitions = v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *LifecycleRule) SetPrefix(v string) *LifecycleRule { - s.Prefix = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *LifecycleRule) SetStatus(v ExpirationStatus) *LifecycleRule { - s.Status = v - return s -} - -// SetTransitions sets the Transitions field's value. -func (s *LifecycleRule) SetTransitions(v []Transition) *LifecycleRule { - s.Transitions = v - return s -} - // This is used in a Lifecycle Rule Filter to apply a logical AND to two or // more predicates. The Lifecycle Rule will apply to any object matching all // of the predicates configured inside the And operator. @@ -12265,18 +9763,6 @@ func (s *LifecycleRuleAndOperator) Validate() error { return nil } -// SetPrefix sets the Prefix field's value. -func (s *LifecycleRuleAndOperator) SetPrefix(v string) *LifecycleRuleAndOperator { - s.Prefix = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *LifecycleRuleAndOperator) SetTags(v []Tag) *LifecycleRuleAndOperator { - s.Tags = v - return s -} - // The Filter is used to identify objects that a Lifecycle Rule applies to. // A Filter must have exactly one of Prefix, Tag, or And specified. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRuleFilter @@ -12325,24 +9811,6 @@ func (s *LifecycleRuleFilter) Validate() error { return nil } -// SetAnd sets the And field's value. -func (s *LifecycleRuleFilter) SetAnd(v *LifecycleRuleAndOperator) *LifecycleRuleFilter { - s.And = v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *LifecycleRuleFilter) SetPrefix(v string) *LifecycleRuleFilter { - s.Prefix = &v - return s -} - -// SetTag sets the Tag field's value. -func (s *LifecycleRuleFilter) SetTag(v *Tag) *LifecycleRuleFilter { - s.Tag = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurationsRequest type ListBucketAnalyticsConfigurationsInput struct { _ struct{} `type:"structure"` @@ -12381,12 +9849,6 @@ func (s *ListBucketAnalyticsConfigurationsInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *ListBucketAnalyticsConfigurationsInput) SetBucket(v string) *ListBucketAnalyticsConfigurationsInput { - s.Bucket = &v - return s -} - func (s *ListBucketAnalyticsConfigurationsInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -12394,12 +9856,6 @@ func (s *ListBucketAnalyticsConfigurationsInput) getBucket() (v string) { return *s.Bucket } -// SetContinuationToken sets the ContinuationToken field's value. -func (s *ListBucketAnalyticsConfigurationsInput) SetContinuationToken(v string) *ListBucketAnalyticsConfigurationsInput { - s.ContinuationToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurationsOutput type ListBucketAnalyticsConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -12438,30 +9894,6 @@ func (s ListBucketAnalyticsConfigurationsOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetAnalyticsConfigurationList sets the AnalyticsConfigurationList field's value. -func (s *ListBucketAnalyticsConfigurationsOutput) SetAnalyticsConfigurationList(v []AnalyticsConfiguration) *ListBucketAnalyticsConfigurationsOutput { - s.AnalyticsConfigurationList = v - return s -} - -// SetContinuationToken sets the ContinuationToken field's value. -func (s *ListBucketAnalyticsConfigurationsOutput) SetContinuationToken(v string) *ListBucketAnalyticsConfigurationsOutput { - s.ContinuationToken = &v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListBucketAnalyticsConfigurationsOutput) SetIsTruncated(v bool) *ListBucketAnalyticsConfigurationsOutput { - s.IsTruncated = &v - return s -} - -// SetNextContinuationToken sets the NextContinuationToken field's value. -func (s *ListBucketAnalyticsConfigurationsOutput) SetNextContinuationToken(v string) *ListBucketAnalyticsConfigurationsOutput { - s.NextContinuationToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurationsRequest type ListBucketInventoryConfigurationsInput struct { _ struct{} `type:"structure"` @@ -12502,12 +9934,6 @@ func (s *ListBucketInventoryConfigurationsInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *ListBucketInventoryConfigurationsInput) SetBucket(v string) *ListBucketInventoryConfigurationsInput { - s.Bucket = &v - return s -} - func (s *ListBucketInventoryConfigurationsInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -12515,12 +9941,6 @@ func (s *ListBucketInventoryConfigurationsInput) getBucket() (v string) { return *s.Bucket } -// SetContinuationToken sets the ContinuationToken field's value. -func (s *ListBucketInventoryConfigurationsInput) SetContinuationToken(v string) *ListBucketInventoryConfigurationsInput { - s.ContinuationToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurationsOutput type ListBucketInventoryConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -12559,30 +9979,6 @@ func (s ListBucketInventoryConfigurationsOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetContinuationToken sets the ContinuationToken field's value. -func (s *ListBucketInventoryConfigurationsOutput) SetContinuationToken(v string) *ListBucketInventoryConfigurationsOutput { - s.ContinuationToken = &v - return s -} - -// SetInventoryConfigurationList sets the InventoryConfigurationList field's value. -func (s *ListBucketInventoryConfigurationsOutput) SetInventoryConfigurationList(v []InventoryConfiguration) *ListBucketInventoryConfigurationsOutput { - s.InventoryConfigurationList = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListBucketInventoryConfigurationsOutput) SetIsTruncated(v bool) *ListBucketInventoryConfigurationsOutput { - s.IsTruncated = &v - return s -} - -// SetNextContinuationToken sets the NextContinuationToken field's value. -func (s *ListBucketInventoryConfigurationsOutput) SetNextContinuationToken(v string) *ListBucketInventoryConfigurationsOutput { - s.NextContinuationToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurationsRequest type ListBucketMetricsConfigurationsInput struct { _ struct{} `type:"structure"` @@ -12623,12 +10019,6 @@ func (s *ListBucketMetricsConfigurationsInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *ListBucketMetricsConfigurationsInput) SetBucket(v string) *ListBucketMetricsConfigurationsInput { - s.Bucket = &v - return s -} - func (s *ListBucketMetricsConfigurationsInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -12636,12 +10026,6 @@ func (s *ListBucketMetricsConfigurationsInput) getBucket() (v string) { return *s.Bucket } -// SetContinuationToken sets the ContinuationToken field's value. -func (s *ListBucketMetricsConfigurationsInput) SetContinuationToken(v string) *ListBucketMetricsConfigurationsInput { - s.ContinuationToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurationsOutput type ListBucketMetricsConfigurationsOutput struct { _ struct{} `type:"structure"` @@ -12682,30 +10066,6 @@ func (s ListBucketMetricsConfigurationsOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetContinuationToken sets the ContinuationToken field's value. -func (s *ListBucketMetricsConfigurationsOutput) SetContinuationToken(v string) *ListBucketMetricsConfigurationsOutput { - s.ContinuationToken = &v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListBucketMetricsConfigurationsOutput) SetIsTruncated(v bool) *ListBucketMetricsConfigurationsOutput { - s.IsTruncated = &v - return s -} - -// SetMetricsConfigurationList sets the MetricsConfigurationList field's value. -func (s *ListBucketMetricsConfigurationsOutput) SetMetricsConfigurationList(v []MetricsConfiguration) *ListBucketMetricsConfigurationsOutput { - s.MetricsConfigurationList = v - return s -} - -// SetNextContinuationToken sets the NextContinuationToken field's value. -func (s *ListBucketMetricsConfigurationsOutput) SetNextContinuationToken(v string) *ListBucketMetricsConfigurationsOutput { - s.NextContinuationToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketsInput type ListBucketsInput struct { _ struct{} `type:"structure"` @@ -12747,18 +10107,6 @@ func (s ListBucketsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBuckets sets the Buckets field's value. -func (s *ListBucketsOutput) SetBuckets(v []Bucket) *ListBucketsOutput { - s.Buckets = v - return s -} - -// SetOwner sets the Owner field's value. -func (s *ListBucketsOutput) SetOwner(v *Owner) *ListBucketsOutput { - s.Owner = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploadsRequest type ListMultipartUploadsInput struct { _ struct{} `type:"structure"` @@ -12820,12 +10168,6 @@ func (s *ListMultipartUploadsInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *ListMultipartUploadsInput) SetBucket(v string) *ListMultipartUploadsInput { - s.Bucket = &v - return s -} - func (s *ListMultipartUploadsInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -12833,42 +10175,6 @@ func (s *ListMultipartUploadsInput) getBucket() (v string) { return *s.Bucket } -// SetDelimiter sets the Delimiter field's value. -func (s *ListMultipartUploadsInput) SetDelimiter(v string) *ListMultipartUploadsInput { - s.Delimiter = &v - return s -} - -// SetEncodingType sets the EncodingType field's value. -func (s *ListMultipartUploadsInput) SetEncodingType(v EncodingType) *ListMultipartUploadsInput { - s.EncodingType = v - return s -} - -// SetKeyMarker sets the KeyMarker field's value. -func (s *ListMultipartUploadsInput) SetKeyMarker(v string) *ListMultipartUploadsInput { - s.KeyMarker = &v - return s -} - -// SetMaxUploads sets the MaxUploads field's value. -func (s *ListMultipartUploadsInput) SetMaxUploads(v int64) *ListMultipartUploadsInput { - s.MaxUploads = &v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *ListMultipartUploadsInput) SetPrefix(v string) *ListMultipartUploadsInput { - s.Prefix = &v - return s -} - -// SetUploadIdMarker sets the UploadIdMarker field's value. -func (s *ListMultipartUploadsInput) SetUploadIdMarker(v string) *ListMultipartUploadsInput { - s.UploadIdMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploadsOutput type ListMultipartUploadsOutput struct { _ struct{} `type:"structure"` @@ -12931,12 +10237,6 @@ func (s ListMultipartUploadsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBucket sets the Bucket field's value. -func (s *ListMultipartUploadsOutput) SetBucket(v string) *ListMultipartUploadsOutput { - s.Bucket = &v - return s -} - func (s *ListMultipartUploadsOutput) getBucket() (v string) { if s.Bucket == nil { return v @@ -12944,72 +10244,6 @@ func (s *ListMultipartUploadsOutput) getBucket() (v string) { return *s.Bucket } -// SetCommonPrefixes sets the CommonPrefixes field's value. -func (s *ListMultipartUploadsOutput) SetCommonPrefixes(v []CommonPrefix) *ListMultipartUploadsOutput { - s.CommonPrefixes = v - return s -} - -// SetDelimiter sets the Delimiter field's value. -func (s *ListMultipartUploadsOutput) SetDelimiter(v string) *ListMultipartUploadsOutput { - s.Delimiter = &v - return s -} - -// SetEncodingType sets the EncodingType field's value. -func (s *ListMultipartUploadsOutput) SetEncodingType(v EncodingType) *ListMultipartUploadsOutput { - s.EncodingType = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListMultipartUploadsOutput) SetIsTruncated(v bool) *ListMultipartUploadsOutput { - s.IsTruncated = &v - return s -} - -// SetKeyMarker sets the KeyMarker field's value. -func (s *ListMultipartUploadsOutput) SetKeyMarker(v string) *ListMultipartUploadsOutput { - s.KeyMarker = &v - return s -} - -// SetMaxUploads sets the MaxUploads field's value. -func (s *ListMultipartUploadsOutput) SetMaxUploads(v int64) *ListMultipartUploadsOutput { - s.MaxUploads = &v - return s -} - -// SetNextKeyMarker sets the NextKeyMarker field's value. -func (s *ListMultipartUploadsOutput) SetNextKeyMarker(v string) *ListMultipartUploadsOutput { - s.NextKeyMarker = &v - return s -} - -// SetNextUploadIdMarker sets the NextUploadIdMarker field's value. -func (s *ListMultipartUploadsOutput) SetNextUploadIdMarker(v string) *ListMultipartUploadsOutput { - s.NextUploadIdMarker = &v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *ListMultipartUploadsOutput) SetPrefix(v string) *ListMultipartUploadsOutput { - s.Prefix = &v - return s -} - -// SetUploadIdMarker sets the UploadIdMarker field's value. -func (s *ListMultipartUploadsOutput) SetUploadIdMarker(v string) *ListMultipartUploadsOutput { - s.UploadIdMarker = &v - return s -} - -// SetUploads sets the Uploads field's value. -func (s *ListMultipartUploadsOutput) SetUploads(v []MultipartUpload) *ListMultipartUploadsOutput { - s.Uploads = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersionsRequest type ListObjectVersionsInput struct { _ struct{} `type:"structure"` @@ -13066,12 +10300,6 @@ func (s *ListObjectVersionsInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *ListObjectVersionsInput) SetBucket(v string) *ListObjectVersionsInput { - s.Bucket = &v - return s -} - func (s *ListObjectVersionsInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -13079,42 +10307,6 @@ func (s *ListObjectVersionsInput) getBucket() (v string) { return *s.Bucket } -// SetDelimiter sets the Delimiter field's value. -func (s *ListObjectVersionsInput) SetDelimiter(v string) *ListObjectVersionsInput { - s.Delimiter = &v - return s -} - -// SetEncodingType sets the EncodingType field's value. -func (s *ListObjectVersionsInput) SetEncodingType(v EncodingType) *ListObjectVersionsInput { - s.EncodingType = v - return s -} - -// SetKeyMarker sets the KeyMarker field's value. -func (s *ListObjectVersionsInput) SetKeyMarker(v string) *ListObjectVersionsInput { - s.KeyMarker = &v - return s -} - -// SetMaxKeys sets the MaxKeys field's value. -func (s *ListObjectVersionsInput) SetMaxKeys(v int64) *ListObjectVersionsInput { - s.MaxKeys = &v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *ListObjectVersionsInput) SetPrefix(v string) *ListObjectVersionsInput { - s.Prefix = &v - return s -} - -// SetVersionIdMarker sets the VersionIdMarker field's value. -func (s *ListObjectVersionsInput) SetVersionIdMarker(v string) *ListObjectVersionsInput { - s.VersionIdMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersionsOutput type ListObjectVersionsOutput struct { _ struct{} `type:"structure"` @@ -13172,84 +10364,6 @@ func (s ListObjectVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCommonPrefixes sets the CommonPrefixes field's value. -func (s *ListObjectVersionsOutput) SetCommonPrefixes(v []CommonPrefix) *ListObjectVersionsOutput { - s.CommonPrefixes = v - return s -} - -// SetDeleteMarkers sets the DeleteMarkers field's value. -func (s *ListObjectVersionsOutput) SetDeleteMarkers(v []DeleteMarkerEntry) *ListObjectVersionsOutput { - s.DeleteMarkers = v - return s -} - -// SetDelimiter sets the Delimiter field's value. -func (s *ListObjectVersionsOutput) SetDelimiter(v string) *ListObjectVersionsOutput { - s.Delimiter = &v - return s -} - -// SetEncodingType sets the EncodingType field's value. -func (s *ListObjectVersionsOutput) SetEncodingType(v EncodingType) *ListObjectVersionsOutput { - s.EncodingType = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListObjectVersionsOutput) SetIsTruncated(v bool) *ListObjectVersionsOutput { - s.IsTruncated = &v - return s -} - -// SetKeyMarker sets the KeyMarker field's value. -func (s *ListObjectVersionsOutput) SetKeyMarker(v string) *ListObjectVersionsOutput { - s.KeyMarker = &v - return s -} - -// SetMaxKeys sets the MaxKeys field's value. -func (s *ListObjectVersionsOutput) SetMaxKeys(v int64) *ListObjectVersionsOutput { - s.MaxKeys = &v - return s -} - -// SetName sets the Name field's value. -func (s *ListObjectVersionsOutput) SetName(v string) *ListObjectVersionsOutput { - s.Name = &v - return s -} - -// SetNextKeyMarker sets the NextKeyMarker field's value. -func (s *ListObjectVersionsOutput) SetNextKeyMarker(v string) *ListObjectVersionsOutput { - s.NextKeyMarker = &v - return s -} - -// SetNextVersionIdMarker sets the NextVersionIdMarker field's value. -func (s *ListObjectVersionsOutput) SetNextVersionIdMarker(v string) *ListObjectVersionsOutput { - s.NextVersionIdMarker = &v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *ListObjectVersionsOutput) SetPrefix(v string) *ListObjectVersionsOutput { - s.Prefix = &v - return s -} - -// SetVersionIdMarker sets the VersionIdMarker field's value. -func (s *ListObjectVersionsOutput) SetVersionIdMarker(v string) *ListObjectVersionsOutput { - s.VersionIdMarker = &v - return s -} - -// SetVersions sets the Versions field's value. -func (s *ListObjectVersionsOutput) SetVersions(v []ObjectVersion) *ListObjectVersionsOutput { - s.Versions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsRequest type ListObjectsInput struct { _ struct{} `type:"structure"` @@ -13308,12 +10422,6 @@ func (s *ListObjectsInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *ListObjectsInput) SetBucket(v string) *ListObjectsInput { - s.Bucket = &v - return s -} - func (s *ListObjectsInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -13321,42 +10429,6 @@ func (s *ListObjectsInput) getBucket() (v string) { return *s.Bucket } -// SetDelimiter sets the Delimiter field's value. -func (s *ListObjectsInput) SetDelimiter(v string) *ListObjectsInput { - s.Delimiter = &v - return s -} - -// SetEncodingType sets the EncodingType field's value. -func (s *ListObjectsInput) SetEncodingType(v EncodingType) *ListObjectsInput { - s.EncodingType = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListObjectsInput) SetMarker(v string) *ListObjectsInput { - s.Marker = &v - return s -} - -// SetMaxKeys sets the MaxKeys field's value. -func (s *ListObjectsInput) SetMaxKeys(v int64) *ListObjectsInput { - s.MaxKeys = &v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *ListObjectsInput) SetPrefix(v string) *ListObjectsInput { - s.Prefix = &v - return s -} - -// SetRequestPayer sets the RequestPayer field's value. -func (s *ListObjectsInput) SetRequestPayer(v RequestPayer) *ListObjectsInput { - s.RequestPayer = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsOutput type ListObjectsOutput struct { _ struct{} `type:"structure"` @@ -13409,66 +10481,6 @@ func (s ListObjectsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCommonPrefixes sets the CommonPrefixes field's value. -func (s *ListObjectsOutput) SetCommonPrefixes(v []CommonPrefix) *ListObjectsOutput { - s.CommonPrefixes = v - return s -} - -// SetContents sets the Contents field's value. -func (s *ListObjectsOutput) SetContents(v []Object) *ListObjectsOutput { - s.Contents = v - return s -} - -// SetDelimiter sets the Delimiter field's value. -func (s *ListObjectsOutput) SetDelimiter(v string) *ListObjectsOutput { - s.Delimiter = &v - return s -} - -// SetEncodingType sets the EncodingType field's value. -func (s *ListObjectsOutput) SetEncodingType(v EncodingType) *ListObjectsOutput { - s.EncodingType = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListObjectsOutput) SetIsTruncated(v bool) *ListObjectsOutput { - s.IsTruncated = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListObjectsOutput) SetMarker(v string) *ListObjectsOutput { - s.Marker = &v - return s -} - -// SetMaxKeys sets the MaxKeys field's value. -func (s *ListObjectsOutput) SetMaxKeys(v int64) *ListObjectsOutput { - s.MaxKeys = &v - return s -} - -// SetName sets the Name field's value. -func (s *ListObjectsOutput) SetName(v string) *ListObjectsOutput { - s.Name = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListObjectsOutput) SetNextMarker(v string) *ListObjectsOutput { - s.NextMarker = &v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *ListObjectsOutput) SetPrefix(v string) *ListObjectsOutput { - s.Prefix = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2Request type ListObjectsV2Input struct { _ struct{} `type:"structure"` @@ -13535,12 +10547,6 @@ func (s *ListObjectsV2Input) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *ListObjectsV2Input) SetBucket(v string) *ListObjectsV2Input { - s.Bucket = &v - return s -} - func (s *ListObjectsV2Input) getBucket() (v string) { if s.Bucket == nil { return v @@ -13548,54 +10554,6 @@ func (s *ListObjectsV2Input) getBucket() (v string) { return *s.Bucket } -// SetContinuationToken sets the ContinuationToken field's value. -func (s *ListObjectsV2Input) SetContinuationToken(v string) *ListObjectsV2Input { - s.ContinuationToken = &v - return s -} - -// SetDelimiter sets the Delimiter field's value. -func (s *ListObjectsV2Input) SetDelimiter(v string) *ListObjectsV2Input { - s.Delimiter = &v - return s -} - -// SetEncodingType sets the EncodingType field's value. -func (s *ListObjectsV2Input) SetEncodingType(v EncodingType) *ListObjectsV2Input { - s.EncodingType = v - return s -} - -// SetFetchOwner sets the FetchOwner field's value. -func (s *ListObjectsV2Input) SetFetchOwner(v bool) *ListObjectsV2Input { - s.FetchOwner = &v - return s -} - -// SetMaxKeys sets the MaxKeys field's value. -func (s *ListObjectsV2Input) SetMaxKeys(v int64) *ListObjectsV2Input { - s.MaxKeys = &v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *ListObjectsV2Input) SetPrefix(v string) *ListObjectsV2Input { - s.Prefix = &v - return s -} - -// SetRequestPayer sets the RequestPayer field's value. -func (s *ListObjectsV2Input) SetRequestPayer(v RequestPayer) *ListObjectsV2Input { - s.RequestPayer = v - return s -} - -// SetStartAfter sets the StartAfter field's value. -func (s *ListObjectsV2Input) SetStartAfter(v string) *ListObjectsV2Input { - s.StartAfter = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2Output type ListObjectsV2Output struct { _ struct{} `type:"structure"` @@ -13665,78 +10623,6 @@ func (s ListObjectsV2Output) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCommonPrefixes sets the CommonPrefixes field's value. -func (s *ListObjectsV2Output) SetCommonPrefixes(v []CommonPrefix) *ListObjectsV2Output { - s.CommonPrefixes = v - return s -} - -// SetContents sets the Contents field's value. -func (s *ListObjectsV2Output) SetContents(v []Object) *ListObjectsV2Output { - s.Contents = v - return s -} - -// SetContinuationToken sets the ContinuationToken field's value. -func (s *ListObjectsV2Output) SetContinuationToken(v string) *ListObjectsV2Output { - s.ContinuationToken = &v - return s -} - -// SetDelimiter sets the Delimiter field's value. -func (s *ListObjectsV2Output) SetDelimiter(v string) *ListObjectsV2Output { - s.Delimiter = &v - return s -} - -// SetEncodingType sets the EncodingType field's value. -func (s *ListObjectsV2Output) SetEncodingType(v EncodingType) *ListObjectsV2Output { - s.EncodingType = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListObjectsV2Output) SetIsTruncated(v bool) *ListObjectsV2Output { - s.IsTruncated = &v - return s -} - -// SetKeyCount sets the KeyCount field's value. -func (s *ListObjectsV2Output) SetKeyCount(v int64) *ListObjectsV2Output { - s.KeyCount = &v - return s -} - -// SetMaxKeys sets the MaxKeys field's value. -func (s *ListObjectsV2Output) SetMaxKeys(v int64) *ListObjectsV2Output { - s.MaxKeys = &v - return s -} - -// SetName sets the Name field's value. -func (s *ListObjectsV2Output) SetName(v string) *ListObjectsV2Output { - s.Name = &v - return s -} - -// SetNextContinuationToken sets the NextContinuationToken field's value. -func (s *ListObjectsV2Output) SetNextContinuationToken(v string) *ListObjectsV2Output { - s.NextContinuationToken = &v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *ListObjectsV2Output) SetPrefix(v string) *ListObjectsV2Output { - s.Prefix = &v - return s -} - -// SetStartAfter sets the StartAfter field's value. -func (s *ListObjectsV2Output) SetStartAfter(v string) *ListObjectsV2Output { - s.StartAfter = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListPartsRequest type ListPartsInput struct { _ struct{} `type:"structure"` @@ -13801,12 +10687,6 @@ func (s *ListPartsInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *ListPartsInput) SetBucket(v string) *ListPartsInput { - s.Bucket = &v - return s -} - func (s *ListPartsInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -13814,36 +10694,6 @@ func (s *ListPartsInput) getBucket() (v string) { return *s.Bucket } -// SetKey sets the Key field's value. -func (s *ListPartsInput) SetKey(v string) *ListPartsInput { - s.Key = &v - return s -} - -// SetMaxParts sets the MaxParts field's value. -func (s *ListPartsInput) SetMaxParts(v int64) *ListPartsInput { - s.MaxParts = &v - return s -} - -// SetPartNumberMarker sets the PartNumberMarker field's value. -func (s *ListPartsInput) SetPartNumberMarker(v int64) *ListPartsInput { - s.PartNumberMarker = &v - return s -} - -// SetRequestPayer sets the RequestPayer field's value. -func (s *ListPartsInput) SetRequestPayer(v RequestPayer) *ListPartsInput { - s.RequestPayer = v - return s -} - -// SetUploadId sets the UploadId field's value. -func (s *ListPartsInput) SetUploadId(v string) *ListPartsInput { - s.UploadId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListPartsOutput type ListPartsOutput struct { _ struct{} `type:"structure"` @@ -13910,24 +10760,6 @@ func (s ListPartsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAbortDate sets the AbortDate field's value. -func (s *ListPartsOutput) SetAbortDate(v time.Time) *ListPartsOutput { - s.AbortDate = &v - return s -} - -// SetAbortRuleId sets the AbortRuleId field's value. -func (s *ListPartsOutput) SetAbortRuleId(v string) *ListPartsOutput { - s.AbortRuleId = &v - return s -} - -// SetBucket sets the Bucket field's value. -func (s *ListPartsOutput) SetBucket(v string) *ListPartsOutput { - s.Bucket = &v - return s -} - func (s *ListPartsOutput) getBucket() (v string) { if s.Bucket == nil { return v @@ -13935,72 +10767,6 @@ func (s *ListPartsOutput) getBucket() (v string) { return *s.Bucket } -// SetInitiator sets the Initiator field's value. -func (s *ListPartsOutput) SetInitiator(v *Initiator) *ListPartsOutput { - s.Initiator = v - return s -} - -// SetIsTruncated sets the IsTruncated field's value. -func (s *ListPartsOutput) SetIsTruncated(v bool) *ListPartsOutput { - s.IsTruncated = &v - return s -} - -// SetKey sets the Key field's value. -func (s *ListPartsOutput) SetKey(v string) *ListPartsOutput { - s.Key = &v - return s -} - -// SetMaxParts sets the MaxParts field's value. -func (s *ListPartsOutput) SetMaxParts(v int64) *ListPartsOutput { - s.MaxParts = &v - return s -} - -// SetNextPartNumberMarker sets the NextPartNumberMarker field's value. -func (s *ListPartsOutput) SetNextPartNumberMarker(v int64) *ListPartsOutput { - s.NextPartNumberMarker = &v - return s -} - -// SetOwner sets the Owner field's value. -func (s *ListPartsOutput) SetOwner(v *Owner) *ListPartsOutput { - s.Owner = v - return s -} - -// SetPartNumberMarker sets the PartNumberMarker field's value. -func (s *ListPartsOutput) SetPartNumberMarker(v int64) *ListPartsOutput { - s.PartNumberMarker = &v - return s -} - -// SetParts sets the Parts field's value. -func (s *ListPartsOutput) SetParts(v []Part) *ListPartsOutput { - s.Parts = v - return s -} - -// SetRequestCharged sets the RequestCharged field's value. -func (s *ListPartsOutput) SetRequestCharged(v RequestCharged) *ListPartsOutput { - s.RequestCharged = v - return s -} - -// SetStorageClass sets the StorageClass field's value. -func (s *ListPartsOutput) SetStorageClass(v StorageClass) *ListPartsOutput { - s.StorageClass = v - return s -} - -// SetUploadId sets the UploadId field's value. -func (s *ListPartsOutput) SetUploadId(v string) *ListPartsOutput { - s.UploadId = &v - return s -} - // Describes an S3 location that will receive the results of the restore request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/S3Location type Location struct { @@ -14081,54 +10847,6 @@ func (s *Location) Validate() error { return nil } -// SetAccessControlList sets the AccessControlList field's value. -func (s *Location) SetAccessControlList(v []Grant) *Location { - s.AccessControlList = v - return s -} - -// SetBucketName sets the BucketName field's value. -func (s *Location) SetBucketName(v string) *Location { - s.BucketName = &v - return s -} - -// SetCannedACL sets the CannedACL field's value. -func (s *Location) SetCannedACL(v ObjectCannedACL) *Location { - s.CannedACL = v - return s -} - -// SetEncryption sets the Encryption field's value. -func (s *Location) SetEncryption(v *Encryption) *Location { - s.Encryption = v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *Location) SetPrefix(v string) *Location { - s.Prefix = &v - return s -} - -// SetStorageClass sets the StorageClass field's value. -func (s *Location) SetStorageClass(v StorageClass) *Location { - s.StorageClass = v - return s -} - -// SetTagging sets the Tagging field's value. -func (s *Location) SetTagging(v *Tagging) *Location { - s.Tagging = v - return s -} - -// SetUserMetadata sets the UserMetadata field's value. -func (s *Location) SetUserMetadata(v []MetadataEntry) *Location { - s.UserMetadata = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LoggingEnabled type LoggingEnabled struct { _ struct{} `type:"structure"` @@ -14175,24 +10893,6 @@ func (s *LoggingEnabled) Validate() error { return nil } -// SetTargetBucket sets the TargetBucket field's value. -func (s *LoggingEnabled) SetTargetBucket(v string) *LoggingEnabled { - s.TargetBucket = &v - return s -} - -// SetTargetGrants sets the TargetGrants field's value. -func (s *LoggingEnabled) SetTargetGrants(v []TargetGrant) *LoggingEnabled { - s.TargetGrants = v - return s -} - -// SetTargetPrefix sets the TargetPrefix field's value. -func (s *LoggingEnabled) SetTargetPrefix(v string) *LoggingEnabled { - s.TargetPrefix = &v - return s -} - // A metadata key-value pair to store with an object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetadataEntry type MetadataEntry struct { @@ -14213,18 +10913,6 @@ func (s MetadataEntry) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *MetadataEntry) SetName(v string) *MetadataEntry { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *MetadataEntry) SetValue(v string) *MetadataEntry { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsAndOperator type MetricsAndOperator struct { _ struct{} `type:"structure"` @@ -14263,18 +10951,6 @@ func (s *MetricsAndOperator) Validate() error { return nil } -// SetPrefix sets the Prefix field's value. -func (s *MetricsAndOperator) SetPrefix(v string) *MetricsAndOperator { - s.Prefix = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *MetricsAndOperator) SetTags(v []Tag) *MetricsAndOperator { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsConfiguration type MetricsConfiguration struct { _ struct{} `type:"structure"` @@ -14319,18 +10995,6 @@ func (s *MetricsConfiguration) Validate() error { return nil } -// SetFilter sets the Filter field's value. -func (s *MetricsConfiguration) SetFilter(v *MetricsFilter) *MetricsConfiguration { - s.Filter = v - return s -} - -// SetId sets the Id field's value. -func (s *MetricsConfiguration) SetId(v string) *MetricsConfiguration { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsFilter type MetricsFilter struct { _ struct{} `type:"structure"` @@ -14377,24 +11041,6 @@ func (s *MetricsFilter) Validate() error { return nil } -// SetAnd sets the And field's value. -func (s *MetricsFilter) SetAnd(v *MetricsAndOperator) *MetricsFilter { - s.And = v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *MetricsFilter) SetPrefix(v string) *MetricsFilter { - s.Prefix = &v - return s -} - -// SetTag sets the Tag field's value. -func (s *MetricsFilter) SetTag(v *Tag) *MetricsFilter { - s.Tag = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MultipartUpload type MultipartUpload struct { _ struct{} `type:"structure"` @@ -14427,42 +11073,6 @@ func (s MultipartUpload) GoString() string { return s.String() } -// SetInitiated sets the Initiated field's value. -func (s *MultipartUpload) SetInitiated(v time.Time) *MultipartUpload { - s.Initiated = &v - return s -} - -// SetInitiator sets the Initiator field's value. -func (s *MultipartUpload) SetInitiator(v *Initiator) *MultipartUpload { - s.Initiator = v - return s -} - -// SetKey sets the Key field's value. -func (s *MultipartUpload) SetKey(v string) *MultipartUpload { - s.Key = &v - return s -} - -// SetOwner sets the Owner field's value. -func (s *MultipartUpload) SetOwner(v *Owner) *MultipartUpload { - s.Owner = v - return s -} - -// SetStorageClass sets the StorageClass field's value. -func (s *MultipartUpload) SetStorageClass(v StorageClass) *MultipartUpload { - s.StorageClass = v - return s -} - -// SetUploadId sets the UploadId field's value. -func (s *MultipartUpload) SetUploadId(v string) *MultipartUpload { - s.UploadId = &v - return s -} - // Specifies when noncurrent object versions expire. Upon expiration, Amazon // S3 permanently deletes the noncurrent object versions. You set this lifecycle // configuration action on a bucket that has versioning enabled (or suspended) @@ -14489,12 +11099,6 @@ func (s NoncurrentVersionExpiration) GoString() string { return s.String() } -// SetNoncurrentDays sets the NoncurrentDays field's value. -func (s *NoncurrentVersionExpiration) SetNoncurrentDays(v int64) *NoncurrentVersionExpiration { - s.NoncurrentDays = &v - return s -} - // Container for the transition rule that describes when noncurrent objects // transition to the STANDARD_IA or GLACIER storage class. If your bucket is // versioning-enabled (or versioning is suspended), you can set this action @@ -14524,18 +11128,6 @@ func (s NoncurrentVersionTransition) GoString() string { return s.String() } -// SetNoncurrentDays sets the NoncurrentDays field's value. -func (s *NoncurrentVersionTransition) SetNoncurrentDays(v int64) *NoncurrentVersionTransition { - s.NoncurrentDays = &v - return s -} - -// SetStorageClass sets the StorageClass field's value. -func (s *NoncurrentVersionTransition) SetStorageClass(v TransitionStorageClass) *NoncurrentVersionTransition { - s.StorageClass = v - return s -} - // Container for object key name filtering rules. For information about key // name filtering, go to Configuring Event Notifications (http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html) // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/NotificationConfigurationFilter @@ -14556,12 +11148,6 @@ func (s NotificationConfigurationFilter) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *NotificationConfigurationFilter) SetKey(v *KeyFilter) *NotificationConfigurationFilter { - s.Key = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Object type Object struct { _ struct{} `type:"structure"` @@ -14590,42 +11176,6 @@ func (s Object) GoString() string { return s.String() } -// SetETag sets the ETag field's value. -func (s *Object) SetETag(v string) *Object { - s.ETag = &v - return s -} - -// SetKey sets the Key field's value. -func (s *Object) SetKey(v string) *Object { - s.Key = &v - return s -} - -// SetLastModified sets the LastModified field's value. -func (s *Object) SetLastModified(v time.Time) *Object { - s.LastModified = &v - return s -} - -// SetOwner sets the Owner field's value. -func (s *Object) SetOwner(v *Owner) *Object { - s.Owner = v - return s -} - -// SetSize sets the Size field's value. -func (s *Object) SetSize(v int64) *Object { - s.Size = &v - return s -} - -// SetStorageClass sets the StorageClass field's value. -func (s *Object) SetStorageClass(v ObjectStorageClass) *Object { - s.StorageClass = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectIdentifier type ObjectIdentifier struct { _ struct{} `type:"structure"` @@ -14666,18 +11216,6 @@ func (s *ObjectIdentifier) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *ObjectIdentifier) SetKey(v string) *ObjectIdentifier { - s.Key = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *ObjectIdentifier) SetVersionId(v string) *ObjectIdentifier { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectVersion type ObjectVersion struct { _ struct{} `type:"structure"` @@ -14716,54 +11254,6 @@ func (s ObjectVersion) GoString() string { return s.String() } -// SetETag sets the ETag field's value. -func (s *ObjectVersion) SetETag(v string) *ObjectVersion { - s.ETag = &v - return s -} - -// SetIsLatest sets the IsLatest field's value. -func (s *ObjectVersion) SetIsLatest(v bool) *ObjectVersion { - s.IsLatest = &v - return s -} - -// SetKey sets the Key field's value. -func (s *ObjectVersion) SetKey(v string) *ObjectVersion { - s.Key = &v - return s -} - -// SetLastModified sets the LastModified field's value. -func (s *ObjectVersion) SetLastModified(v time.Time) *ObjectVersion { - s.LastModified = &v - return s -} - -// SetOwner sets the Owner field's value. -func (s *ObjectVersion) SetOwner(v *Owner) *ObjectVersion { - s.Owner = v - return s -} - -// SetSize sets the Size field's value. -func (s *ObjectVersion) SetSize(v int64) *ObjectVersion { - s.Size = &v - return s -} - -// SetStorageClass sets the StorageClass field's value. -func (s *ObjectVersion) SetStorageClass(v ObjectVersionStorageClass) *ObjectVersion { - s.StorageClass = v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *ObjectVersion) SetVersionId(v string) *ObjectVersion { - s.VersionId = &v - return s -} - // Describes the location where the restore job's output is stored. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/OutputLocation type OutputLocation struct { @@ -14798,12 +11288,6 @@ func (s *OutputLocation) Validate() error { return nil } -// SetS3 sets the S3 field's value. -func (s *OutputLocation) SetS3(v *Location) *OutputLocation { - s.S3 = v - return s -} - // Describes how results of the Select job are serialized. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/OutputSerialization type OutputSerialization struct { @@ -14823,12 +11307,6 @@ func (s OutputSerialization) GoString() string { return s.String() } -// SetCSV sets the CSV field's value. -func (s *OutputSerialization) SetCSV(v *CSVOutput) *OutputSerialization { - s.CSV = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Owner type Owner struct { _ struct{} `type:"structure"` @@ -14848,18 +11326,6 @@ func (s Owner) GoString() string { return s.String() } -// SetDisplayName sets the DisplayName field's value. -func (s *Owner) SetDisplayName(v string) *Owner { - s.DisplayName = &v - return s -} - -// SetID sets the ID field's value. -func (s *Owner) SetID(v string) *Owner { - s.ID = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Part type Part struct { _ struct{} `type:"structure"` @@ -14888,30 +11354,6 @@ func (s Part) GoString() string { return s.String() } -// SetETag sets the ETag field's value. -func (s *Part) SetETag(v string) *Part { - s.ETag = &v - return s -} - -// SetLastModified sets the LastModified field's value. -func (s *Part) SetLastModified(v time.Time) *Part { - s.LastModified = &v - return s -} - -// SetPartNumber sets the PartNumber field's value. -func (s *Part) SetPartNumber(v int64) *Part { - s.PartNumber = &v - return s -} - -// SetSize sets the Size field's value. -func (s *Part) SetSize(v int64) *Part { - s.Size = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfigurationRequest type PutBucketAccelerateConfigurationInput struct { _ struct{} `type:"structure" payload:"AccelerateConfiguration"` @@ -14955,18 +11397,6 @@ func (s *PutBucketAccelerateConfigurationInput) Validate() error { return nil } -// SetAccelerateConfiguration sets the AccelerateConfiguration field's value. -func (s *PutBucketAccelerateConfigurationInput) SetAccelerateConfiguration(v *AccelerateConfiguration) *PutBucketAccelerateConfigurationInput { - s.AccelerateConfiguration = v - return s -} - -// SetBucket sets the Bucket field's value. -func (s *PutBucketAccelerateConfigurationInput) SetBucket(v string) *PutBucketAccelerateConfigurationInput { - s.Bucket = &v - return s -} - func (s *PutBucketAccelerateConfigurationInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -15054,24 +11484,6 @@ func (s *PutBucketAclInput) Validate() error { return nil } -// SetACL sets the ACL field's value. -func (s *PutBucketAclInput) SetACL(v BucketCannedACL) *PutBucketAclInput { - s.ACL = v - return s -} - -// SetAccessControlPolicy sets the AccessControlPolicy field's value. -func (s *PutBucketAclInput) SetAccessControlPolicy(v *AccessControlPolicy) *PutBucketAclInput { - s.AccessControlPolicy = v - return s -} - -// SetBucket sets the Bucket field's value. -func (s *PutBucketAclInput) SetBucket(v string) *PutBucketAclInput { - s.Bucket = &v - return s -} - func (s *PutBucketAclInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -15079,36 +11491,6 @@ func (s *PutBucketAclInput) getBucket() (v string) { return *s.Bucket } -// SetGrantFullControl sets the GrantFullControl field's value. -func (s *PutBucketAclInput) SetGrantFullControl(v string) *PutBucketAclInput { - s.GrantFullControl = &v - return s -} - -// SetGrantRead sets the GrantRead field's value. -func (s *PutBucketAclInput) SetGrantRead(v string) *PutBucketAclInput { - s.GrantRead = &v - return s -} - -// SetGrantReadACP sets the GrantReadACP field's value. -func (s *PutBucketAclInput) SetGrantReadACP(v string) *PutBucketAclInput { - s.GrantReadACP = &v - return s -} - -// SetGrantWrite sets the GrantWrite field's value. -func (s *PutBucketAclInput) SetGrantWrite(v string) *PutBucketAclInput { - s.GrantWrite = &v - return s -} - -// SetGrantWriteACP sets the GrantWriteACP field's value. -func (s *PutBucketAclInput) SetGrantWriteACP(v string) *PutBucketAclInput { - s.GrantWriteACP = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAclOutput type PutBucketAclOutput struct { _ struct{} `type:"structure"` @@ -15188,18 +11570,6 @@ func (s *PutBucketAnalyticsConfigurationInput) Validate() error { return nil } -// SetAnalyticsConfiguration sets the AnalyticsConfiguration field's value. -func (s *PutBucketAnalyticsConfigurationInput) SetAnalyticsConfiguration(v *AnalyticsConfiguration) *PutBucketAnalyticsConfigurationInput { - s.AnalyticsConfiguration = v - return s -} - -// SetBucket sets the Bucket field's value. -func (s *PutBucketAnalyticsConfigurationInput) SetBucket(v string) *PutBucketAnalyticsConfigurationInput { - s.Bucket = &v - return s -} - func (s *PutBucketAnalyticsConfigurationInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -15207,12 +11577,6 @@ func (s *PutBucketAnalyticsConfigurationInput) getBucket() (v string) { return *s.Bucket } -// SetId sets the Id field's value. -func (s *PutBucketAnalyticsConfigurationInput) SetId(v string) *PutBucketAnalyticsConfigurationInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfigurationOutput type PutBucketAnalyticsConfigurationOutput struct { _ struct{} `type:"structure"` @@ -15279,12 +11643,6 @@ func (s *PutBucketCorsInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *PutBucketCorsInput) SetBucket(v string) *PutBucketCorsInput { - s.Bucket = &v - return s -} - func (s *PutBucketCorsInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -15292,12 +11650,6 @@ func (s *PutBucketCorsInput) getBucket() (v string) { return *s.Bucket } -// SetCORSConfiguration sets the CORSConfiguration field's value. -func (s *PutBucketCorsInput) SetCORSConfiguration(v *CORSConfiguration) *PutBucketCorsInput { - s.CORSConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCorsOutput type PutBucketCorsOutput struct { _ struct{} `type:"structure"` @@ -15370,12 +11722,6 @@ func (s *PutBucketEncryptionInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *PutBucketEncryptionInput) SetBucket(v string) *PutBucketEncryptionInput { - s.Bucket = &v - return s -} - func (s *PutBucketEncryptionInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -15383,12 +11729,6 @@ func (s *PutBucketEncryptionInput) getBucket() (v string) { return *s.Bucket } -// SetServerSideEncryptionConfiguration sets the ServerSideEncryptionConfiguration field's value. -func (s *PutBucketEncryptionInput) SetServerSideEncryptionConfiguration(v *ServerSideEncryptionConfiguration) *PutBucketEncryptionInput { - s.ServerSideEncryptionConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketEncryptionOutput type PutBucketEncryptionOutput struct { _ struct{} `type:"structure"` @@ -15468,12 +11808,6 @@ func (s *PutBucketInventoryConfigurationInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *PutBucketInventoryConfigurationInput) SetBucket(v string) *PutBucketInventoryConfigurationInput { - s.Bucket = &v - return s -} - func (s *PutBucketInventoryConfigurationInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -15481,18 +11815,6 @@ func (s *PutBucketInventoryConfigurationInput) getBucket() (v string) { return *s.Bucket } -// SetId sets the Id field's value. -func (s *PutBucketInventoryConfigurationInput) SetId(v string) *PutBucketInventoryConfigurationInput { - s.Id = &v - return s -} - -// SetInventoryConfiguration sets the InventoryConfiguration field's value. -func (s *PutBucketInventoryConfigurationInput) SetInventoryConfiguration(v *InventoryConfiguration) *PutBucketInventoryConfigurationInput { - s.InventoryConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfigurationOutput type PutBucketInventoryConfigurationOutput struct { _ struct{} `type:"structure"` @@ -15554,12 +11876,6 @@ func (s *PutBucketLifecycleConfigurationInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *PutBucketLifecycleConfigurationInput) SetBucket(v string) *PutBucketLifecycleConfigurationInput { - s.Bucket = &v - return s -} - func (s *PutBucketLifecycleConfigurationInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -15567,12 +11883,6 @@ func (s *PutBucketLifecycleConfigurationInput) getBucket() (v string) { return *s.Bucket } -// SetLifecycleConfiguration sets the LifecycleConfiguration field's value. -func (s *PutBucketLifecycleConfigurationInput) SetLifecycleConfiguration(v *BucketLifecycleConfiguration) *PutBucketLifecycleConfigurationInput { - s.LifecycleConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfigurationOutput type PutBucketLifecycleConfigurationOutput struct { _ struct{} `type:"structure"` @@ -15634,12 +11944,6 @@ func (s *PutBucketLifecycleInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *PutBucketLifecycleInput) SetBucket(v string) *PutBucketLifecycleInput { - s.Bucket = &v - return s -} - func (s *PutBucketLifecycleInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -15647,12 +11951,6 @@ func (s *PutBucketLifecycleInput) getBucket() (v string) { return *s.Bucket } -// SetLifecycleConfiguration sets the LifecycleConfiguration field's value. -func (s *PutBucketLifecycleInput) SetLifecycleConfiguration(v *LifecycleConfiguration) *PutBucketLifecycleInput { - s.LifecycleConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleOutput type PutBucketLifecycleOutput struct { _ struct{} `type:"structure"` @@ -15719,12 +12017,6 @@ func (s *PutBucketLoggingInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *PutBucketLoggingInput) SetBucket(v string) *PutBucketLoggingInput { - s.Bucket = &v - return s -} - func (s *PutBucketLoggingInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -15732,12 +12024,6 @@ func (s *PutBucketLoggingInput) getBucket() (v string) { return *s.Bucket } -// SetBucketLoggingStatus sets the BucketLoggingStatus field's value. -func (s *PutBucketLoggingInput) SetBucketLoggingStatus(v *BucketLoggingStatus) *PutBucketLoggingInput { - s.BucketLoggingStatus = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLoggingOutput type PutBucketLoggingOutput struct { _ struct{} `type:"structure"` @@ -15817,12 +12103,6 @@ func (s *PutBucketMetricsConfigurationInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *PutBucketMetricsConfigurationInput) SetBucket(v string) *PutBucketMetricsConfigurationInput { - s.Bucket = &v - return s -} - func (s *PutBucketMetricsConfigurationInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -15830,18 +12110,6 @@ func (s *PutBucketMetricsConfigurationInput) getBucket() (v string) { return *s.Bucket } -// SetId sets the Id field's value. -func (s *PutBucketMetricsConfigurationInput) SetId(v string) *PutBucketMetricsConfigurationInput { - s.Id = &v - return s -} - -// SetMetricsConfiguration sets the MetricsConfiguration field's value. -func (s *PutBucketMetricsConfigurationInput) SetMetricsConfiguration(v *MetricsConfiguration) *PutBucketMetricsConfigurationInput { - s.MetricsConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfigurationOutput type PutBucketMetricsConfigurationOutput struct { _ struct{} `type:"structure"` @@ -15911,12 +12179,6 @@ func (s *PutBucketNotificationConfigurationInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *PutBucketNotificationConfigurationInput) SetBucket(v string) *PutBucketNotificationConfigurationInput { - s.Bucket = &v - return s -} - func (s *PutBucketNotificationConfigurationInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -15924,12 +12186,6 @@ func (s *PutBucketNotificationConfigurationInput) getBucket() (v string) { return *s.Bucket } -// SetNotificationConfiguration sets the NotificationConfiguration field's value. -func (s *PutBucketNotificationConfigurationInput) SetNotificationConfiguration(v *GetBucketNotificationConfigurationOutput) *PutBucketNotificationConfigurationInput { - s.NotificationConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfigurationOutput type PutBucketNotificationConfigurationOutput struct { _ struct{} `type:"structure"` @@ -15991,12 +12247,6 @@ func (s *PutBucketNotificationInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *PutBucketNotificationInput) SetBucket(v string) *PutBucketNotificationInput { - s.Bucket = &v - return s -} - func (s *PutBucketNotificationInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -16004,12 +12254,6 @@ func (s *PutBucketNotificationInput) getBucket() (v string) { return *s.Bucket } -// SetNotificationConfiguration sets the NotificationConfiguration field's value. -func (s *PutBucketNotificationInput) SetNotificationConfiguration(v *GetBucketNotificationOutput) *PutBucketNotificationInput { - s.NotificationConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationOutput type PutBucketNotificationOutput struct { _ struct{} `type:"structure"` @@ -16077,12 +12321,6 @@ func (s *PutBucketPolicyInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *PutBucketPolicyInput) SetBucket(v string) *PutBucketPolicyInput { - s.Bucket = &v - return s -} - func (s *PutBucketPolicyInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -16090,18 +12328,6 @@ func (s *PutBucketPolicyInput) getBucket() (v string) { return *s.Bucket } -// SetConfirmRemoveSelfBucketAccess sets the ConfirmRemoveSelfBucketAccess field's value. -func (s *PutBucketPolicyInput) SetConfirmRemoveSelfBucketAccess(v bool) *PutBucketPolicyInput { - s.ConfirmRemoveSelfBucketAccess = &v - return s -} - -// SetPolicy sets the Policy field's value. -func (s *PutBucketPolicyInput) SetPolicy(v string) *PutBucketPolicyInput { - s.Policy = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicyOutput type PutBucketPolicyOutput struct { _ struct{} `type:"structure"` @@ -16171,12 +12397,6 @@ func (s *PutBucketReplicationInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *PutBucketReplicationInput) SetBucket(v string) *PutBucketReplicationInput { - s.Bucket = &v - return s -} - func (s *PutBucketReplicationInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -16184,12 +12404,6 @@ func (s *PutBucketReplicationInput) getBucket() (v string) { return *s.Bucket } -// SetReplicationConfiguration sets the ReplicationConfiguration field's value. -func (s *PutBucketReplicationInput) SetReplicationConfiguration(v *ReplicationConfiguration) *PutBucketReplicationInput { - s.ReplicationConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplicationOutput type PutBucketReplicationOutput struct { _ struct{} `type:"structure"` @@ -16256,12 +12470,6 @@ func (s *PutBucketRequestPaymentInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *PutBucketRequestPaymentInput) SetBucket(v string) *PutBucketRequestPaymentInput { - s.Bucket = &v - return s -} - func (s *PutBucketRequestPaymentInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -16269,12 +12477,6 @@ func (s *PutBucketRequestPaymentInput) getBucket() (v string) { return *s.Bucket } -// SetRequestPaymentConfiguration sets the RequestPaymentConfiguration field's value. -func (s *PutBucketRequestPaymentInput) SetRequestPaymentConfiguration(v *RequestPaymentConfiguration) *PutBucketRequestPaymentInput { - s.RequestPaymentConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPaymentOutput type PutBucketRequestPaymentOutput struct { _ struct{} `type:"structure"` @@ -16341,12 +12543,6 @@ func (s *PutBucketTaggingInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *PutBucketTaggingInput) SetBucket(v string) *PutBucketTaggingInput { - s.Bucket = &v - return s -} - func (s *PutBucketTaggingInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -16354,12 +12550,6 @@ func (s *PutBucketTaggingInput) getBucket() (v string) { return *s.Bucket } -// SetTagging sets the Tagging field's value. -func (s *PutBucketTaggingInput) SetTagging(v *Tagging) *PutBucketTaggingInput { - s.Tagging = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTaggingOutput type PutBucketTaggingOutput struct { _ struct{} `type:"structure"` @@ -16425,12 +12615,6 @@ func (s *PutBucketVersioningInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *PutBucketVersioningInput) SetBucket(v string) *PutBucketVersioningInput { - s.Bucket = &v - return s -} - func (s *PutBucketVersioningInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -16438,18 +12622,6 @@ func (s *PutBucketVersioningInput) getBucket() (v string) { return *s.Bucket } -// SetMFA sets the MFA field's value. -func (s *PutBucketVersioningInput) SetMFA(v string) *PutBucketVersioningInput { - s.MFA = &v - return s -} - -// SetVersioningConfiguration sets the VersioningConfiguration field's value. -func (s *PutBucketVersioningInput) SetVersioningConfiguration(v *VersioningConfiguration) *PutBucketVersioningInput { - s.VersioningConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioningOutput type PutBucketVersioningOutput struct { _ struct{} `type:"structure"` @@ -16516,12 +12688,6 @@ func (s *PutBucketWebsiteInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *PutBucketWebsiteInput) SetBucket(v string) *PutBucketWebsiteInput { - s.Bucket = &v - return s -} - func (s *PutBucketWebsiteInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -16529,12 +12695,6 @@ func (s *PutBucketWebsiteInput) getBucket() (v string) { return *s.Bucket } -// SetWebsiteConfiguration sets the WebsiteConfiguration field's value. -func (s *PutBucketWebsiteInput) SetWebsiteConfiguration(v *WebsiteConfiguration) *PutBucketWebsiteInput { - s.WebsiteConfiguration = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsiteOutput type PutBucketWebsiteOutput struct { _ struct{} `type:"structure"` @@ -16634,24 +12794,6 @@ func (s *PutObjectAclInput) Validate() error { return nil } -// SetACL sets the ACL field's value. -func (s *PutObjectAclInput) SetACL(v ObjectCannedACL) *PutObjectAclInput { - s.ACL = v - return s -} - -// SetAccessControlPolicy sets the AccessControlPolicy field's value. -func (s *PutObjectAclInput) SetAccessControlPolicy(v *AccessControlPolicy) *PutObjectAclInput { - s.AccessControlPolicy = v - return s -} - -// SetBucket sets the Bucket field's value. -func (s *PutObjectAclInput) SetBucket(v string) *PutObjectAclInput { - s.Bucket = &v - return s -} - func (s *PutObjectAclInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -16659,54 +12801,6 @@ func (s *PutObjectAclInput) getBucket() (v string) { return *s.Bucket } -// SetGrantFullControl sets the GrantFullControl field's value. -func (s *PutObjectAclInput) SetGrantFullControl(v string) *PutObjectAclInput { - s.GrantFullControl = &v - return s -} - -// SetGrantRead sets the GrantRead field's value. -func (s *PutObjectAclInput) SetGrantRead(v string) *PutObjectAclInput { - s.GrantRead = &v - return s -} - -// SetGrantReadACP sets the GrantReadACP field's value. -func (s *PutObjectAclInput) SetGrantReadACP(v string) *PutObjectAclInput { - s.GrantReadACP = &v - return s -} - -// SetGrantWrite sets the GrantWrite field's value. -func (s *PutObjectAclInput) SetGrantWrite(v string) *PutObjectAclInput { - s.GrantWrite = &v - return s -} - -// SetGrantWriteACP sets the GrantWriteACP field's value. -func (s *PutObjectAclInput) SetGrantWriteACP(v string) *PutObjectAclInput { - s.GrantWriteACP = &v - return s -} - -// SetKey sets the Key field's value. -func (s *PutObjectAclInput) SetKey(v string) *PutObjectAclInput { - s.Key = &v - return s -} - -// SetRequestPayer sets the RequestPayer field's value. -func (s *PutObjectAclInput) SetRequestPayer(v RequestPayer) *PutObjectAclInput { - s.RequestPayer = v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *PutObjectAclInput) SetVersionId(v string) *PutObjectAclInput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAclOutput type PutObjectAclOutput struct { _ struct{} `type:"structure"` @@ -16733,12 +12827,6 @@ func (s PutObjectAclOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRequestCharged sets the RequestCharged field's value. -func (s *PutObjectAclOutput) SetRequestCharged(v RequestCharged) *PutObjectAclOutput { - s.RequestCharged = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRequest type PutObjectInput struct { _ struct{} `type:"structure" payload:"Body"` @@ -16875,24 +12963,6 @@ func (s *PutObjectInput) Validate() error { return nil } -// SetACL sets the ACL field's value. -func (s *PutObjectInput) SetACL(v ObjectCannedACL) *PutObjectInput { - s.ACL = v - return s -} - -// SetBody sets the Body field's value. -func (s *PutObjectInput) SetBody(v io.ReadSeeker) *PutObjectInput { - s.Body = v - return s -} - -// SetBucket sets the Bucket field's value. -func (s *PutObjectInput) SetBucket(v string) *PutObjectInput { - s.Bucket = &v - return s -} - func (s *PutObjectInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -16900,108 +12970,6 @@ func (s *PutObjectInput) getBucket() (v string) { return *s.Bucket } -// SetCacheControl sets the CacheControl field's value. -func (s *PutObjectInput) SetCacheControl(v string) *PutObjectInput { - s.CacheControl = &v - return s -} - -// SetContentDisposition sets the ContentDisposition field's value. -func (s *PutObjectInput) SetContentDisposition(v string) *PutObjectInput { - s.ContentDisposition = &v - return s -} - -// SetContentEncoding sets the ContentEncoding field's value. -func (s *PutObjectInput) SetContentEncoding(v string) *PutObjectInput { - s.ContentEncoding = &v - return s -} - -// SetContentLanguage sets the ContentLanguage field's value. -func (s *PutObjectInput) SetContentLanguage(v string) *PutObjectInput { - s.ContentLanguage = &v - return s -} - -// SetContentLength sets the ContentLength field's value. -func (s *PutObjectInput) SetContentLength(v int64) *PutObjectInput { - s.ContentLength = &v - return s -} - -// SetContentMD5 sets the ContentMD5 field's value. -func (s *PutObjectInput) SetContentMD5(v string) *PutObjectInput { - s.ContentMD5 = &v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *PutObjectInput) SetContentType(v string) *PutObjectInput { - s.ContentType = &v - return s -} - -// SetExpires sets the Expires field's value. -func (s *PutObjectInput) SetExpires(v time.Time) *PutObjectInput { - s.Expires = &v - return s -} - -// SetGrantFullControl sets the GrantFullControl field's value. -func (s *PutObjectInput) SetGrantFullControl(v string) *PutObjectInput { - s.GrantFullControl = &v - return s -} - -// SetGrantRead sets the GrantRead field's value. -func (s *PutObjectInput) SetGrantRead(v string) *PutObjectInput { - s.GrantRead = &v - return s -} - -// SetGrantReadACP sets the GrantReadACP field's value. -func (s *PutObjectInput) SetGrantReadACP(v string) *PutObjectInput { - s.GrantReadACP = &v - return s -} - -// SetGrantWriteACP sets the GrantWriteACP field's value. -func (s *PutObjectInput) SetGrantWriteACP(v string) *PutObjectInput { - s.GrantWriteACP = &v - return s -} - -// SetKey sets the Key field's value. -func (s *PutObjectInput) SetKey(v string) *PutObjectInput { - s.Key = &v - return s -} - -// SetMetadata sets the Metadata field's value. -func (s *PutObjectInput) SetMetadata(v map[string]string) *PutObjectInput { - s.Metadata = v - return s -} - -// SetRequestPayer sets the RequestPayer field's value. -func (s *PutObjectInput) SetRequestPayer(v RequestPayer) *PutObjectInput { - s.RequestPayer = v - return s -} - -// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value. -func (s *PutObjectInput) SetSSECustomerAlgorithm(v string) *PutObjectInput { - s.SSECustomerAlgorithm = &v - return s -} - -// SetSSECustomerKey sets the SSECustomerKey field's value. -func (s *PutObjectInput) SetSSECustomerKey(v string) *PutObjectInput { - s.SSECustomerKey = &v - return s -} - func (s *PutObjectInput) getSSECustomerKey() (v string) { if s.SSECustomerKey == nil { return v @@ -17009,42 +12977,6 @@ func (s *PutObjectInput) getSSECustomerKey() (v string) { return *s.SSECustomerKey } -// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. -func (s *PutObjectInput) SetSSECustomerKeyMD5(v string) *PutObjectInput { - s.SSECustomerKeyMD5 = &v - return s -} - -// SetSSEKMSKeyId sets the SSEKMSKeyId field's value. -func (s *PutObjectInput) SetSSEKMSKeyId(v string) *PutObjectInput { - s.SSEKMSKeyId = &v - return s -} - -// SetServerSideEncryption sets the ServerSideEncryption field's value. -func (s *PutObjectInput) SetServerSideEncryption(v ServerSideEncryption) *PutObjectInput { - s.ServerSideEncryption = v - return s -} - -// SetStorageClass sets the StorageClass field's value. -func (s *PutObjectInput) SetStorageClass(v StorageClass) *PutObjectInput { - s.StorageClass = v - return s -} - -// SetTagging sets the Tagging field's value. -func (s *PutObjectInput) SetTagging(v string) *PutObjectInput { - s.Tagging = &v - return s -} - -// SetWebsiteRedirectLocation sets the WebsiteRedirectLocation field's value. -func (s *PutObjectInput) SetWebsiteRedirectLocation(v string) *PutObjectInput { - s.WebsiteRedirectLocation = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectOutput type PutObjectOutput struct { _ struct{} `type:"structure"` @@ -17099,54 +13031,6 @@ func (s PutObjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetETag sets the ETag field's value. -func (s *PutObjectOutput) SetETag(v string) *PutObjectOutput { - s.ETag = &v - return s -} - -// SetExpiration sets the Expiration field's value. -func (s *PutObjectOutput) SetExpiration(v string) *PutObjectOutput { - s.Expiration = &v - return s -} - -// SetRequestCharged sets the RequestCharged field's value. -func (s *PutObjectOutput) SetRequestCharged(v RequestCharged) *PutObjectOutput { - s.RequestCharged = v - return s -} - -// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value. -func (s *PutObjectOutput) SetSSECustomerAlgorithm(v string) *PutObjectOutput { - s.SSECustomerAlgorithm = &v - return s -} - -// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. -func (s *PutObjectOutput) SetSSECustomerKeyMD5(v string) *PutObjectOutput { - s.SSECustomerKeyMD5 = &v - return s -} - -// SetSSEKMSKeyId sets the SSEKMSKeyId field's value. -func (s *PutObjectOutput) SetSSEKMSKeyId(v string) *PutObjectOutput { - s.SSEKMSKeyId = &v - return s -} - -// SetServerSideEncryption sets the ServerSideEncryption field's value. -func (s *PutObjectOutput) SetServerSideEncryption(v ServerSideEncryption) *PutObjectOutput { - s.ServerSideEncryption = v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *PutObjectOutput) SetVersionId(v string) *PutObjectOutput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTaggingRequest type PutObjectTaggingInput struct { _ struct{} `type:"structure" payload:"Tagging"` @@ -17203,12 +13087,6 @@ func (s *PutObjectTaggingInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *PutObjectTaggingInput) SetBucket(v string) *PutObjectTaggingInput { - s.Bucket = &v - return s -} - func (s *PutObjectTaggingInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -17216,24 +13094,6 @@ func (s *PutObjectTaggingInput) getBucket() (v string) { return *s.Bucket } -// SetKey sets the Key field's value. -func (s *PutObjectTaggingInput) SetKey(v string) *PutObjectTaggingInput { - s.Key = &v - return s -} - -// SetTagging sets the Tagging field's value. -func (s *PutObjectTaggingInput) SetTagging(v *Tagging) *PutObjectTaggingInput { - s.Tagging = v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *PutObjectTaggingInput) SetVersionId(v string) *PutObjectTaggingInput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTaggingOutput type PutObjectTaggingOutput struct { _ struct{} `type:"structure"` @@ -17258,12 +13118,6 @@ func (s PutObjectTaggingOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVersionId sets the VersionId field's value. -func (s *PutObjectTaggingOutput) SetVersionId(v string) *PutObjectTaggingOutput { - s.VersionId = &v - return s -} - // Container for specifying an configuration when you want Amazon S3 to publish // events to an Amazon Simple Queue Service (Amazon SQS) queue. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/QueueConfiguration @@ -17316,30 +13170,6 @@ func (s *QueueConfiguration) Validate() error { return nil } -// SetEvents sets the Events field's value. -func (s *QueueConfiguration) SetEvents(v []Event) *QueueConfiguration { - s.Events = v - return s -} - -// SetFilter sets the Filter field's value. -func (s *QueueConfiguration) SetFilter(v *NotificationConfigurationFilter) *QueueConfiguration { - s.Filter = v - return s -} - -// SetId sets the Id field's value. -func (s *QueueConfiguration) SetId(v string) *QueueConfiguration { - s.Id = &v - return s -} - -// SetQueueArn sets the QueueArn field's value. -func (s *QueueConfiguration) SetQueueArn(v string) *QueueConfiguration { - s.QueueArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/QueueConfigurationDeprecated type QueueConfigurationDeprecated struct { _ struct{} `type:"structure"` @@ -17366,30 +13196,6 @@ func (s QueueConfigurationDeprecated) GoString() string { return s.String() } -// SetEvent sets the Event field's value. -func (s *QueueConfigurationDeprecated) SetEvent(v Event) *QueueConfigurationDeprecated { - s.Event = v - return s -} - -// SetEvents sets the Events field's value. -func (s *QueueConfigurationDeprecated) SetEvents(v []Event) *QueueConfigurationDeprecated { - s.Events = v - return s -} - -// SetId sets the Id field's value. -func (s *QueueConfigurationDeprecated) SetId(v string) *QueueConfigurationDeprecated { - s.Id = &v - return s -} - -// SetQueue sets the Queue field's value. -func (s *QueueConfigurationDeprecated) SetQueue(v string) *QueueConfigurationDeprecated { - s.Queue = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Redirect type Redirect struct { _ struct{} `type:"structure"` @@ -17429,36 +13235,6 @@ func (s Redirect) GoString() string { return s.String() } -// SetHostName sets the HostName field's value. -func (s *Redirect) SetHostName(v string) *Redirect { - s.HostName = &v - return s -} - -// SetHttpRedirectCode sets the HttpRedirectCode field's value. -func (s *Redirect) SetHttpRedirectCode(v string) *Redirect { - s.HttpRedirectCode = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *Redirect) SetProtocol(v Protocol) *Redirect { - s.Protocol = v - return s -} - -// SetReplaceKeyPrefixWith sets the ReplaceKeyPrefixWith field's value. -func (s *Redirect) SetReplaceKeyPrefixWith(v string) *Redirect { - s.ReplaceKeyPrefixWith = &v - return s -} - -// SetReplaceKeyWith sets the ReplaceKeyWith field's value. -func (s *Redirect) SetReplaceKeyWith(v string) *Redirect { - s.ReplaceKeyWith = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RedirectAllRequestsTo type RedirectAllRequestsTo struct { _ struct{} `type:"structure"` @@ -17497,18 +13273,6 @@ func (s *RedirectAllRequestsTo) Validate() error { return nil } -// SetHostName sets the HostName field's value. -func (s *RedirectAllRequestsTo) SetHostName(v string) *RedirectAllRequestsTo { - s.HostName = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *RedirectAllRequestsTo) SetProtocol(v Protocol) *RedirectAllRequestsTo { - s.Protocol = v - return s -} - // Container for replication rules. You can add as many as 1,000 rules. Total // replication configuration size can be up to 2 MB. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationConfiguration @@ -17563,18 +13327,6 @@ func (s *ReplicationConfiguration) Validate() error { return nil } -// SetRole sets the Role field's value. -func (s *ReplicationConfiguration) SetRole(v string) *ReplicationConfiguration { - s.Role = &v - return s -} - -// SetRules sets the Rules field's value. -func (s *ReplicationConfiguration) SetRules(v []ReplicationRule) *ReplicationConfiguration { - s.Rules = v - return s -} - // Container for information about a particular replication rule. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationRule type ReplicationRule struct { @@ -17645,36 +13397,6 @@ func (s *ReplicationRule) Validate() error { return nil } -// SetDestination sets the Destination field's value. -func (s *ReplicationRule) SetDestination(v *Destination) *ReplicationRule { - s.Destination = v - return s -} - -// SetID sets the ID field's value. -func (s *ReplicationRule) SetID(v string) *ReplicationRule { - s.ID = &v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *ReplicationRule) SetPrefix(v string) *ReplicationRule { - s.Prefix = &v - return s -} - -// SetSourceSelectionCriteria sets the SourceSelectionCriteria field's value. -func (s *ReplicationRule) SetSourceSelectionCriteria(v *SourceSelectionCriteria) *ReplicationRule { - s.SourceSelectionCriteria = v - return s -} - -// SetStatus sets the Status field's value. -func (s *ReplicationRule) SetStatus(v ReplicationRuleStatus) *ReplicationRule { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RequestPaymentConfiguration type RequestPaymentConfiguration struct { _ struct{} `type:"structure"` @@ -17708,12 +13430,6 @@ func (s *RequestPaymentConfiguration) Validate() error { return nil } -// SetPayer sets the Payer field's value. -func (s *RequestPaymentConfiguration) SetPayer(v Payer) *RequestPaymentConfiguration { - s.Payer = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObjectRequest type RestoreObjectInput struct { _ struct{} `type:"structure" payload:"RestoreRequest"` @@ -17772,12 +13488,6 @@ func (s *RestoreObjectInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *RestoreObjectInput) SetBucket(v string) *RestoreObjectInput { - s.Bucket = &v - return s -} - func (s *RestoreObjectInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -17785,30 +13495,6 @@ func (s *RestoreObjectInput) getBucket() (v string) { return *s.Bucket } -// SetKey sets the Key field's value. -func (s *RestoreObjectInput) SetKey(v string) *RestoreObjectInput { - s.Key = &v - return s -} - -// SetRequestPayer sets the RequestPayer field's value. -func (s *RestoreObjectInput) SetRequestPayer(v RequestPayer) *RestoreObjectInput { - s.RequestPayer = v - return s -} - -// SetRestoreRequest sets the RestoreRequest field's value. -func (s *RestoreObjectInput) SetRestoreRequest(v *RestoreRequest) *RestoreObjectInput { - s.RestoreRequest = v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *RestoreObjectInput) SetVersionId(v string) *RestoreObjectInput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObjectOutput type RestoreObjectOutput struct { _ struct{} `type:"structure"` @@ -17839,18 +13525,6 @@ func (s RestoreObjectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRequestCharged sets the RequestCharged field's value. -func (s *RestoreObjectOutput) SetRequestCharged(v RequestCharged) *RestoreObjectOutput { - s.RequestCharged = v - return s -} - -// SetRestoreOutputPath sets the RestoreOutputPath field's value. -func (s *RestoreObjectOutput) SetRestoreOutputPath(v string) *RestoreObjectOutput { - s.RestoreOutputPath = &v - return s -} - // Container for restore job parameters. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreRequest type RestoreRequest struct { @@ -17915,48 +13589,6 @@ func (s *RestoreRequest) Validate() error { return nil } -// SetDays sets the Days field's value. -func (s *RestoreRequest) SetDays(v int64) *RestoreRequest { - s.Days = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *RestoreRequest) SetDescription(v string) *RestoreRequest { - s.Description = &v - return s -} - -// SetGlacierJobParameters sets the GlacierJobParameters field's value. -func (s *RestoreRequest) SetGlacierJobParameters(v *GlacierJobParameters) *RestoreRequest { - s.GlacierJobParameters = v - return s -} - -// SetOutputLocation sets the OutputLocation field's value. -func (s *RestoreRequest) SetOutputLocation(v *OutputLocation) *RestoreRequest { - s.OutputLocation = v - return s -} - -// SetSelectParameters sets the SelectParameters field's value. -func (s *RestoreRequest) SetSelectParameters(v *SelectParameters) *RestoreRequest { - s.SelectParameters = v - return s -} - -// SetTier sets the Tier field's value. -func (s *RestoreRequest) SetTier(v Tier) *RestoreRequest { - s.Tier = v - return s -} - -// SetType sets the Type field's value. -func (s *RestoreRequest) SetType(v RestoreRequestType) *RestoreRequest { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RoutingRule type RoutingRule struct { _ struct{} `type:"structure"` @@ -17999,18 +13631,6 @@ func (s *RoutingRule) Validate() error { return nil } -// SetCondition sets the Condition field's value. -func (s *RoutingRule) SetCondition(v *Condition) *RoutingRule { - s.Condition = v - return s -} - -// SetRedirect sets the Redirect field's value. -func (s *RoutingRule) SetRedirect(v *Redirect) *RoutingRule { - s.Redirect = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Rule type Rule struct { _ struct{} `type:"structure"` @@ -18079,54 +13699,6 @@ func (s *Rule) Validate() error { return nil } -// SetAbortIncompleteMultipartUpload sets the AbortIncompleteMultipartUpload field's value. -func (s *Rule) SetAbortIncompleteMultipartUpload(v *AbortIncompleteMultipartUpload) *Rule { - s.AbortIncompleteMultipartUpload = v - return s -} - -// SetExpiration sets the Expiration field's value. -func (s *Rule) SetExpiration(v *LifecycleExpiration) *Rule { - s.Expiration = v - return s -} - -// SetID sets the ID field's value. -func (s *Rule) SetID(v string) *Rule { - s.ID = &v - return s -} - -// SetNoncurrentVersionExpiration sets the NoncurrentVersionExpiration field's value. -func (s *Rule) SetNoncurrentVersionExpiration(v *NoncurrentVersionExpiration) *Rule { - s.NoncurrentVersionExpiration = v - return s -} - -// SetNoncurrentVersionTransition sets the NoncurrentVersionTransition field's value. -func (s *Rule) SetNoncurrentVersionTransition(v *NoncurrentVersionTransition) *Rule { - s.NoncurrentVersionTransition = v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *Rule) SetPrefix(v string) *Rule { - s.Prefix = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Rule) SetStatus(v ExpirationStatus) *Rule { - s.Status = v - return s -} - -// SetTransition sets the Transition field's value. -func (s *Rule) SetTransition(v *Transition) *Rule { - s.Transition = v - return s -} - // Specifies the use of SSE-KMS to encrypt delievered Inventory reports. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SSEKMS type SSEKMS struct { @@ -18163,12 +13735,6 @@ func (s *SSEKMS) Validate() error { return nil } -// SetKeyId sets the KeyId field's value. -func (s *SSEKMS) SetKeyId(v string) *SSEKMS { - s.KeyId = &v - return s -} - // Specifies the use of SSE-S3 to encrypt delievered Inventory reports. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SSES3 type SSES3 struct { @@ -18246,30 +13812,6 @@ func (s *SelectParameters) Validate() error { return nil } -// SetExpression sets the Expression field's value. -func (s *SelectParameters) SetExpression(v string) *SelectParameters { - s.Expression = &v - return s -} - -// SetExpressionType sets the ExpressionType field's value. -func (s *SelectParameters) SetExpressionType(v ExpressionType) *SelectParameters { - s.ExpressionType = v - return s -} - -// SetInputSerialization sets the InputSerialization field's value. -func (s *SelectParameters) SetInputSerialization(v *InputSerialization) *SelectParameters { - s.InputSerialization = v - return s -} - -// SetOutputSerialization sets the OutputSerialization field's value. -func (s *SelectParameters) SetOutputSerialization(v *OutputSerialization) *SelectParameters { - s.OutputSerialization = v - return s -} - // Describes the default server-side encryption to apply to new objects in the // bucket. If Put Object request does not specify any server-side encryption, // this default encryption will be applied. @@ -18310,18 +13852,6 @@ func (s *ServerSideEncryptionByDefault) Validate() error { return nil } -// SetKMSMasterKeyID sets the KMSMasterKeyID field's value. -func (s *ServerSideEncryptionByDefault) SetKMSMasterKeyID(v string) *ServerSideEncryptionByDefault { - s.KMSMasterKeyID = &v - return s -} - -// SetSSEAlgorithm sets the SSEAlgorithm field's value. -func (s *ServerSideEncryptionByDefault) SetSSEAlgorithm(v ServerSideEncryption) *ServerSideEncryptionByDefault { - s.SSEAlgorithm = v - return s -} - // Container for server-side encryption configuration rules. Currently S3 supports // one rule only. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ServerSideEncryptionConfiguration @@ -18366,12 +13896,6 @@ func (s *ServerSideEncryptionConfiguration) Validate() error { return nil } -// SetRules sets the Rules field's value. -func (s *ServerSideEncryptionConfiguration) SetRules(v []ServerSideEncryptionRule) *ServerSideEncryptionConfiguration { - s.Rules = v - return s -} - // Container for information about a particular server-side encryption configuration // rule. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ServerSideEncryptionRule @@ -18409,12 +13933,6 @@ func (s *ServerSideEncryptionRule) Validate() error { return nil } -// SetApplyServerSideEncryptionByDefault sets the ApplyServerSideEncryptionByDefault field's value. -func (s *ServerSideEncryptionRule) SetApplyServerSideEncryptionByDefault(v *ServerSideEncryptionByDefault) *ServerSideEncryptionRule { - s.ApplyServerSideEncryptionByDefault = v - return s -} - // Container for filters that define which source objects should be replicated. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SourceSelectionCriteria type SourceSelectionCriteria struct { @@ -18449,12 +13967,6 @@ func (s *SourceSelectionCriteria) Validate() error { return nil } -// SetSseKmsEncryptedObjects sets the SseKmsEncryptedObjects field's value. -func (s *SourceSelectionCriteria) SetSseKmsEncryptedObjects(v *SseKmsEncryptedObjects) *SourceSelectionCriteria { - s.SseKmsEncryptedObjects = v - return s -} - // Container for filter information of selection of KMS Encrypted S3 objects. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SseKmsEncryptedObjects type SseKmsEncryptedObjects struct { @@ -18490,12 +14002,6 @@ func (s *SseKmsEncryptedObjects) Validate() error { return nil } -// SetStatus sets the Status field's value. -func (s *SseKmsEncryptedObjects) SetStatus(v SseKmsEncryptedObjectsStatus) *SseKmsEncryptedObjects { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/StorageClassAnalysis type StorageClassAnalysis struct { _ struct{} `type:"structure"` @@ -18530,12 +14036,6 @@ func (s *StorageClassAnalysis) Validate() error { return nil } -// SetDataExport sets the DataExport field's value. -func (s *StorageClassAnalysis) SetDataExport(v *StorageClassAnalysisDataExport) *StorageClassAnalysis { - s.DataExport = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/StorageClassAnalysisDataExport type StorageClassAnalysisDataExport struct { _ struct{} `type:"structure"` @@ -18583,18 +14083,6 @@ func (s *StorageClassAnalysisDataExport) Validate() error { return nil } -// SetDestination sets the Destination field's value. -func (s *StorageClassAnalysisDataExport) SetDestination(v *AnalyticsExportDestination) *StorageClassAnalysisDataExport { - s.Destination = v - return s -} - -// SetOutputSchemaVersion sets the OutputSchemaVersion field's value. -func (s *StorageClassAnalysisDataExport) SetOutputSchemaVersion(v StorageClassAnalysisSchemaVersion) *StorageClassAnalysisDataExport { - s.OutputSchemaVersion = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Tag type Tag struct { _ struct{} `type:"structure"` @@ -18641,18 +14129,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Tagging type Tagging struct { _ struct{} `type:"structure"` @@ -18692,12 +14168,6 @@ func (s *Tagging) Validate() error { return nil } -// SetTagSet sets the TagSet field's value. -func (s *Tagging) SetTagSet(v []Tag) *Tagging { - s.TagSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TargetGrant type TargetGrant struct { _ struct{} `type:"structure"` @@ -18733,18 +14203,6 @@ func (s *TargetGrant) Validate() error { return nil } -// SetGrantee sets the Grantee field's value. -func (s *TargetGrant) SetGrantee(v *Grantee) *TargetGrant { - s.Grantee = v - return s -} - -// SetPermission sets the Permission field's value. -func (s *TargetGrant) SetPermission(v BucketLogsPermission) *TargetGrant { - s.Permission = v - return s -} - // Container for specifying the configuration when you want Amazon S3 to publish // events to an Amazon Simple Notification Service (Amazon SNS) topic. // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TopicConfiguration @@ -18797,30 +14255,6 @@ func (s *TopicConfiguration) Validate() error { return nil } -// SetEvents sets the Events field's value. -func (s *TopicConfiguration) SetEvents(v []Event) *TopicConfiguration { - s.Events = v - return s -} - -// SetFilter sets the Filter field's value. -func (s *TopicConfiguration) SetFilter(v *NotificationConfigurationFilter) *TopicConfiguration { - s.Filter = v - return s -} - -// SetId sets the Id field's value. -func (s *TopicConfiguration) SetId(v string) *TopicConfiguration { - s.Id = &v - return s -} - -// SetTopicArn sets the TopicArn field's value. -func (s *TopicConfiguration) SetTopicArn(v string) *TopicConfiguration { - s.TopicArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/TopicConfigurationDeprecated type TopicConfigurationDeprecated struct { _ struct{} `type:"structure"` @@ -18849,30 +14283,6 @@ func (s TopicConfigurationDeprecated) GoString() string { return s.String() } -// SetEvent sets the Event field's value. -func (s *TopicConfigurationDeprecated) SetEvent(v Event) *TopicConfigurationDeprecated { - s.Event = v - return s -} - -// SetEvents sets the Events field's value. -func (s *TopicConfigurationDeprecated) SetEvents(v []Event) *TopicConfigurationDeprecated { - s.Events = v - return s -} - -// SetId sets the Id field's value. -func (s *TopicConfigurationDeprecated) SetId(v string) *TopicConfigurationDeprecated { - s.Id = &v - return s -} - -// SetTopic sets the Topic field's value. -func (s *TopicConfigurationDeprecated) SetTopic(v string) *TopicConfigurationDeprecated { - s.Topic = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Transition type Transition struct { _ struct{} `type:"structure"` @@ -18899,24 +14309,6 @@ func (s Transition) GoString() string { return s.String() } -// SetDate sets the Date field's value. -func (s *Transition) SetDate(v time.Time) *Transition { - s.Date = &v - return s -} - -// SetDays sets the Days field's value. -func (s *Transition) SetDays(v int64) *Transition { - s.Days = &v - return s -} - -// SetStorageClass sets the StorageClass field's value. -func (s *Transition) SetStorageClass(v TransitionStorageClass) *Transition { - s.StorageClass = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopyRequest type UploadPartCopyInput struct { _ struct{} `type:"structure"` @@ -19043,12 +14435,6 @@ func (s *UploadPartCopyInput) Validate() error { return nil } -// SetBucket sets the Bucket field's value. -func (s *UploadPartCopyInput) SetBucket(v string) *UploadPartCopyInput { - s.Bucket = &v - return s -} - func (s *UploadPartCopyInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -19056,54 +14442,6 @@ func (s *UploadPartCopyInput) getBucket() (v string) { return *s.Bucket } -// SetCopySource sets the CopySource field's value. -func (s *UploadPartCopyInput) SetCopySource(v string) *UploadPartCopyInput { - s.CopySource = &v - return s -} - -// SetCopySourceIfMatch sets the CopySourceIfMatch field's value. -func (s *UploadPartCopyInput) SetCopySourceIfMatch(v string) *UploadPartCopyInput { - s.CopySourceIfMatch = &v - return s -} - -// SetCopySourceIfModifiedSince sets the CopySourceIfModifiedSince field's value. -func (s *UploadPartCopyInput) SetCopySourceIfModifiedSince(v time.Time) *UploadPartCopyInput { - s.CopySourceIfModifiedSince = &v - return s -} - -// SetCopySourceIfNoneMatch sets the CopySourceIfNoneMatch field's value. -func (s *UploadPartCopyInput) SetCopySourceIfNoneMatch(v string) *UploadPartCopyInput { - s.CopySourceIfNoneMatch = &v - return s -} - -// SetCopySourceIfUnmodifiedSince sets the CopySourceIfUnmodifiedSince field's value. -func (s *UploadPartCopyInput) SetCopySourceIfUnmodifiedSince(v time.Time) *UploadPartCopyInput { - s.CopySourceIfUnmodifiedSince = &v - return s -} - -// SetCopySourceRange sets the CopySourceRange field's value. -func (s *UploadPartCopyInput) SetCopySourceRange(v string) *UploadPartCopyInput { - s.CopySourceRange = &v - return s -} - -// SetCopySourceSSECustomerAlgorithm sets the CopySourceSSECustomerAlgorithm field's value. -func (s *UploadPartCopyInput) SetCopySourceSSECustomerAlgorithm(v string) *UploadPartCopyInput { - s.CopySourceSSECustomerAlgorithm = &v - return s -} - -// SetCopySourceSSECustomerKey sets the CopySourceSSECustomerKey field's value. -func (s *UploadPartCopyInput) SetCopySourceSSECustomerKey(v string) *UploadPartCopyInput { - s.CopySourceSSECustomerKey = &v - return s -} - func (s *UploadPartCopyInput) getCopySourceSSECustomerKey() (v string) { if s.CopySourceSSECustomerKey == nil { return v @@ -19111,42 +14449,6 @@ func (s *UploadPartCopyInput) getCopySourceSSECustomerKey() (v string) { return *s.CopySourceSSECustomerKey } -// SetCopySourceSSECustomerKeyMD5 sets the CopySourceSSECustomerKeyMD5 field's value. -func (s *UploadPartCopyInput) SetCopySourceSSECustomerKeyMD5(v string) *UploadPartCopyInput { - s.CopySourceSSECustomerKeyMD5 = &v - return s -} - -// SetKey sets the Key field's value. -func (s *UploadPartCopyInput) SetKey(v string) *UploadPartCopyInput { - s.Key = &v - return s -} - -// SetPartNumber sets the PartNumber field's value. -func (s *UploadPartCopyInput) SetPartNumber(v int64) *UploadPartCopyInput { - s.PartNumber = &v - return s -} - -// SetRequestPayer sets the RequestPayer field's value. -func (s *UploadPartCopyInput) SetRequestPayer(v RequestPayer) *UploadPartCopyInput { - s.RequestPayer = v - return s -} - -// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value. -func (s *UploadPartCopyInput) SetSSECustomerAlgorithm(v string) *UploadPartCopyInput { - s.SSECustomerAlgorithm = &v - return s -} - -// SetSSECustomerKey sets the SSECustomerKey field's value. -func (s *UploadPartCopyInput) SetSSECustomerKey(v string) *UploadPartCopyInput { - s.SSECustomerKey = &v - return s -} - func (s *UploadPartCopyInput) getSSECustomerKey() (v string) { if s.SSECustomerKey == nil { return v @@ -19154,18 +14456,6 @@ func (s *UploadPartCopyInput) getSSECustomerKey() (v string) { return *s.SSECustomerKey } -// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. -func (s *UploadPartCopyInput) SetSSECustomerKeyMD5(v string) *UploadPartCopyInput { - s.SSECustomerKeyMD5 = &v - return s -} - -// SetUploadId sets the UploadId field's value. -func (s *UploadPartCopyInput) SetUploadId(v string) *UploadPartCopyInput { - s.UploadId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopyOutput type UploadPartCopyOutput struct { _ struct{} `type:"structure" payload:"CopyPartResult"` @@ -19216,48 +14506,6 @@ func (s UploadPartCopyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCopyPartResult sets the CopyPartResult field's value. -func (s *UploadPartCopyOutput) SetCopyPartResult(v *CopyPartResult) *UploadPartCopyOutput { - s.CopyPartResult = v - return s -} - -// SetCopySourceVersionId sets the CopySourceVersionId field's value. -func (s *UploadPartCopyOutput) SetCopySourceVersionId(v string) *UploadPartCopyOutput { - s.CopySourceVersionId = &v - return s -} - -// SetRequestCharged sets the RequestCharged field's value. -func (s *UploadPartCopyOutput) SetRequestCharged(v RequestCharged) *UploadPartCopyOutput { - s.RequestCharged = v - return s -} - -// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value. -func (s *UploadPartCopyOutput) SetSSECustomerAlgorithm(v string) *UploadPartCopyOutput { - s.SSECustomerAlgorithm = &v - return s -} - -// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. -func (s *UploadPartCopyOutput) SetSSECustomerKeyMD5(v string) *UploadPartCopyOutput { - s.SSECustomerKeyMD5 = &v - return s -} - -// SetSSEKMSKeyId sets the SSEKMSKeyId field's value. -func (s *UploadPartCopyOutput) SetSSEKMSKeyId(v string) *UploadPartCopyOutput { - s.SSEKMSKeyId = &v - return s -} - -// SetServerSideEncryption sets the ServerSideEncryption field's value. -func (s *UploadPartCopyOutput) SetServerSideEncryption(v ServerSideEncryption) *UploadPartCopyOutput { - s.ServerSideEncryption = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartRequest type UploadPartInput struct { _ struct{} `type:"structure" payload:"Body"` @@ -19355,18 +14603,6 @@ func (s *UploadPartInput) Validate() error { return nil } -// SetBody sets the Body field's value. -func (s *UploadPartInput) SetBody(v io.ReadSeeker) *UploadPartInput { - s.Body = v - return s -} - -// SetBucket sets the Bucket field's value. -func (s *UploadPartInput) SetBucket(v string) *UploadPartInput { - s.Bucket = &v - return s -} - func (s *UploadPartInput) getBucket() (v string) { if s.Bucket == nil { return v @@ -19374,48 +14610,6 @@ func (s *UploadPartInput) getBucket() (v string) { return *s.Bucket } -// SetContentLength sets the ContentLength field's value. -func (s *UploadPartInput) SetContentLength(v int64) *UploadPartInput { - s.ContentLength = &v - return s -} - -// SetContentMD5 sets the ContentMD5 field's value. -func (s *UploadPartInput) SetContentMD5(v string) *UploadPartInput { - s.ContentMD5 = &v - return s -} - -// SetKey sets the Key field's value. -func (s *UploadPartInput) SetKey(v string) *UploadPartInput { - s.Key = &v - return s -} - -// SetPartNumber sets the PartNumber field's value. -func (s *UploadPartInput) SetPartNumber(v int64) *UploadPartInput { - s.PartNumber = &v - return s -} - -// SetRequestPayer sets the RequestPayer field's value. -func (s *UploadPartInput) SetRequestPayer(v RequestPayer) *UploadPartInput { - s.RequestPayer = v - return s -} - -// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value. -func (s *UploadPartInput) SetSSECustomerAlgorithm(v string) *UploadPartInput { - s.SSECustomerAlgorithm = &v - return s -} - -// SetSSECustomerKey sets the SSECustomerKey field's value. -func (s *UploadPartInput) SetSSECustomerKey(v string) *UploadPartInput { - s.SSECustomerKey = &v - return s -} - func (s *UploadPartInput) getSSECustomerKey() (v string) { if s.SSECustomerKey == nil { return v @@ -19423,18 +14617,6 @@ func (s *UploadPartInput) getSSECustomerKey() (v string) { return *s.SSECustomerKey } -// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. -func (s *UploadPartInput) SetSSECustomerKeyMD5(v string) *UploadPartInput { - s.SSECustomerKeyMD5 = &v - return s -} - -// SetUploadId sets the UploadId field's value. -func (s *UploadPartInput) SetUploadId(v string) *UploadPartInput { - s.UploadId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartOutput type UploadPartOutput struct { _ struct{} `type:"structure"` @@ -19482,42 +14664,6 @@ func (s UploadPartOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetETag sets the ETag field's value. -func (s *UploadPartOutput) SetETag(v string) *UploadPartOutput { - s.ETag = &v - return s -} - -// SetRequestCharged sets the RequestCharged field's value. -func (s *UploadPartOutput) SetRequestCharged(v RequestCharged) *UploadPartOutput { - s.RequestCharged = v - return s -} - -// SetSSECustomerAlgorithm sets the SSECustomerAlgorithm field's value. -func (s *UploadPartOutput) SetSSECustomerAlgorithm(v string) *UploadPartOutput { - s.SSECustomerAlgorithm = &v - return s -} - -// SetSSECustomerKeyMD5 sets the SSECustomerKeyMD5 field's value. -func (s *UploadPartOutput) SetSSECustomerKeyMD5(v string) *UploadPartOutput { - s.SSECustomerKeyMD5 = &v - return s -} - -// SetSSEKMSKeyId sets the SSEKMSKeyId field's value. -func (s *UploadPartOutput) SetSSEKMSKeyId(v string) *UploadPartOutput { - s.SSEKMSKeyId = &v - return s -} - -// SetServerSideEncryption sets the ServerSideEncryption field's value. -func (s *UploadPartOutput) SetServerSideEncryption(v ServerSideEncryption) *UploadPartOutput { - s.ServerSideEncryption = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/VersioningConfiguration type VersioningConfiguration struct { _ struct{} `type:"structure"` @@ -19541,18 +14687,6 @@ func (s VersioningConfiguration) GoString() string { return s.String() } -// SetMFADelete sets the MFADelete field's value. -func (s *VersioningConfiguration) SetMFADelete(v MFADelete) *VersioningConfiguration { - s.MFADelete = v - return s -} - -// SetStatus sets the Status field's value. -func (s *VersioningConfiguration) SetStatus(v BucketVersioningStatus) *VersioningConfiguration { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/WebsiteConfiguration type WebsiteConfiguration struct { _ struct{} `type:"structure"` @@ -19608,30 +14742,6 @@ func (s *WebsiteConfiguration) Validate() error { return nil } -// SetErrorDocument sets the ErrorDocument field's value. -func (s *WebsiteConfiguration) SetErrorDocument(v *ErrorDocument) *WebsiteConfiguration { - s.ErrorDocument = v - return s -} - -// SetIndexDocument sets the IndexDocument field's value. -func (s *WebsiteConfiguration) SetIndexDocument(v *IndexDocument) *WebsiteConfiguration { - s.IndexDocument = v - return s -} - -// SetRedirectAllRequestsTo sets the RedirectAllRequestsTo field's value. -func (s *WebsiteConfiguration) SetRedirectAllRequestsTo(v *RedirectAllRequestsTo) *WebsiteConfiguration { - s.RedirectAllRequestsTo = v - return s -} - -// SetRoutingRules sets the RoutingRules field's value. -func (s *WebsiteConfiguration) SetRoutingRules(v []RoutingRule) *WebsiteConfiguration { - s.RoutingRules = v - return s -} - type AnalyticsS3ExportFileFormat string // Enum values for AnalyticsS3ExportFileFormat diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go index 0d545a64346..ed358bc9c40 100644 --- a/service/sagemaker/api.go +++ b/service/sagemaker/api.go @@ -2030,18 +2030,6 @@ func (s *AddTagsInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *AddTagsInput) SetResourceArn(v string) *AddTagsInput { - s.ResourceArn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *AddTagsInput) SetTags(v []Tag) *AddTagsInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddTagsOutput type AddTagsOutput struct { _ struct{} `type:"structure"` @@ -2067,12 +2055,6 @@ func (s AddTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTags sets the Tags field's value. -func (s *AddTagsOutput) SetTags(v []Tag) *AddTagsOutput { - s.Tags = v - return s -} - // Specifies the training algorithm to use in a CreateTrainingJob (http://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateTrainingJob.html) // request. // @@ -2141,18 +2123,6 @@ func (s *AlgorithmSpecification) Validate() error { return nil } -// SetTrainingImage sets the TrainingImage field's value. -func (s *AlgorithmSpecification) SetTrainingImage(v string) *AlgorithmSpecification { - s.TrainingImage = &v - return s -} - -// SetTrainingInputMode sets the TrainingInputMode field's value. -func (s *AlgorithmSpecification) SetTrainingInputMode(v TrainingInputMode) *AlgorithmSpecification { - s.TrainingInputMode = v - return s -} - // A channel is a named input source that training algorithms can consume. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Channel type Channel struct { @@ -2220,36 +2190,6 @@ func (s *Channel) Validate() error { return nil } -// SetChannelName sets the ChannelName field's value. -func (s *Channel) SetChannelName(v string) *Channel { - s.ChannelName = &v - return s -} - -// SetCompressionType sets the CompressionType field's value. -func (s *Channel) SetCompressionType(v CompressionType) *Channel { - s.CompressionType = v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *Channel) SetContentType(v string) *Channel { - s.ContentType = &v - return s -} - -// SetDataSource sets the DataSource field's value. -func (s *Channel) SetDataSource(v *DataSource) *Channel { - s.DataSource = v - return s -} - -// SetRecordWrapperType sets the RecordWrapperType field's value. -func (s *Channel) SetRecordWrapperType(v RecordWrapper) *Channel { - s.RecordWrapperType = v - return s -} - // Describes the container, as part of model definition. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ContainerDefinition type ContainerDefinition struct { @@ -2302,30 +2242,6 @@ func (s *ContainerDefinition) Validate() error { return nil } -// SetContainerHostname sets the ContainerHostname field's value. -func (s *ContainerDefinition) SetContainerHostname(v string) *ContainerDefinition { - s.ContainerHostname = &v - return s -} - -// SetEnvironment sets the Environment field's value. -func (s *ContainerDefinition) SetEnvironment(v map[string]string) *ContainerDefinition { - s.Environment = v - return s -} - -// SetImage sets the Image field's value. -func (s *ContainerDefinition) SetImage(v string) *ContainerDefinition { - s.Image = &v - return s -} - -// SetModelDataUrl sets the ModelDataUrl field's value. -func (s *ContainerDefinition) SetModelDataUrl(v string) *ContainerDefinition { - s.ModelDataUrl = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfigInput type CreateEndpointConfigInput struct { _ struct{} `type:"structure"` @@ -2394,24 +2310,6 @@ func (s *CreateEndpointConfigInput) Validate() error { return nil } -// SetEndpointConfigName sets the EndpointConfigName field's value. -func (s *CreateEndpointConfigInput) SetEndpointConfigName(v string) *CreateEndpointConfigInput { - s.EndpointConfigName = &v - return s -} - -// SetProductionVariants sets the ProductionVariants field's value. -func (s *CreateEndpointConfigInput) SetProductionVariants(v []ProductionVariant) *CreateEndpointConfigInput { - s.ProductionVariants = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateEndpointConfigInput) SetTags(v []Tag) *CreateEndpointConfigInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfigOutput type CreateEndpointConfigOutput struct { _ struct{} `type:"structure"` @@ -2439,12 +2337,6 @@ func (s CreateEndpointConfigOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEndpointConfigArn sets the EndpointConfigArn field's value. -func (s *CreateEndpointConfigOutput) SetEndpointConfigArn(v string) *CreateEndpointConfigOutput { - s.EndpointConfigArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointInput type CreateEndpointInput struct { _ struct{} `type:"structure"` @@ -2502,24 +2394,6 @@ func (s *CreateEndpointInput) Validate() error { return nil } -// SetEndpointConfigName sets the EndpointConfigName field's value. -func (s *CreateEndpointInput) SetEndpointConfigName(v string) *CreateEndpointInput { - s.EndpointConfigName = &v - return s -} - -// SetEndpointName sets the EndpointName field's value. -func (s *CreateEndpointInput) SetEndpointName(v string) *CreateEndpointInput { - s.EndpointName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateEndpointInput) SetTags(v []Tag) *CreateEndpointInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointOutput type CreateEndpointOutput struct { _ struct{} `type:"structure"` @@ -2547,12 +2421,6 @@ func (s CreateEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEndpointArn sets the EndpointArn field's value. -func (s *CreateEndpointOutput) SetEndpointArn(v string) *CreateEndpointOutput { - s.EndpointArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelInput type CreateModelInput struct { _ struct{} `type:"structure"` @@ -2630,30 +2498,6 @@ func (s *CreateModelInput) Validate() error { return nil } -// SetExecutionRoleArn sets the ExecutionRoleArn field's value. -func (s *CreateModelInput) SetExecutionRoleArn(v string) *CreateModelInput { - s.ExecutionRoleArn = &v - return s -} - -// SetModelName sets the ModelName field's value. -func (s *CreateModelInput) SetModelName(v string) *CreateModelInput { - s.ModelName = &v - return s -} - -// SetPrimaryContainer sets the PrimaryContainer field's value. -func (s *CreateModelInput) SetPrimaryContainer(v *ContainerDefinition) *CreateModelInput { - s.PrimaryContainer = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateModelInput) SetTags(v []Tag) *CreateModelInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelOutput type CreateModelOutput struct { _ struct{} `type:"structure"` @@ -2681,12 +2525,6 @@ func (s CreateModelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetModelArn sets the ModelArn field's value. -func (s *CreateModelOutput) SetModelArn(v string) *CreateModelOutput { - s.ModelArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceInput type CreateNotebookInstanceInput struct { _ struct{} `type:"structure"` @@ -2769,48 +2607,6 @@ func (s *CreateNotebookInstanceInput) Validate() error { return nil } -// SetInstanceType sets the InstanceType field's value. -func (s *CreateNotebookInstanceInput) SetInstanceType(v InstanceType) *CreateNotebookInstanceInput { - s.InstanceType = v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *CreateNotebookInstanceInput) SetKmsKeyId(v string) *CreateNotebookInstanceInput { - s.KmsKeyId = &v - return s -} - -// SetNotebookInstanceName sets the NotebookInstanceName field's value. -func (s *CreateNotebookInstanceInput) SetNotebookInstanceName(v string) *CreateNotebookInstanceInput { - s.NotebookInstanceName = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *CreateNotebookInstanceInput) SetRoleArn(v string) *CreateNotebookInstanceInput { - s.RoleArn = &v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *CreateNotebookInstanceInput) SetSecurityGroupIds(v []string) *CreateNotebookInstanceInput { - s.SecurityGroupIds = v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *CreateNotebookInstanceInput) SetSubnetId(v string) *CreateNotebookInstanceInput { - s.SubnetId = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateNotebookInstanceInput) SetTags(v []Tag) *CreateNotebookInstanceInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceOutput type CreateNotebookInstanceOutput struct { _ struct{} `type:"structure"` @@ -2836,12 +2632,6 @@ func (s CreateNotebookInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNotebookInstanceArn sets the NotebookInstanceArn field's value. -func (s *CreateNotebookInstanceOutput) SetNotebookInstanceArn(v string) *CreateNotebookInstanceOutput { - s.NotebookInstanceArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrlInput type CreatePresignedNotebookInstanceUrlInput struct { _ struct{} `type:"structure"` @@ -2882,18 +2672,6 @@ func (s *CreatePresignedNotebookInstanceUrlInput) Validate() error { return nil } -// SetNotebookInstanceName sets the NotebookInstanceName field's value. -func (s *CreatePresignedNotebookInstanceUrlInput) SetNotebookInstanceName(v string) *CreatePresignedNotebookInstanceUrlInput { - s.NotebookInstanceName = &v - return s -} - -// SetSessionExpirationDurationInSeconds sets the SessionExpirationDurationInSeconds field's value. -func (s *CreatePresignedNotebookInstanceUrlInput) SetSessionExpirationDurationInSeconds(v int64) *CreatePresignedNotebookInstanceUrlInput { - s.SessionExpirationDurationInSeconds = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrlOutput type CreatePresignedNotebookInstanceUrlOutput struct { _ struct{} `type:"structure"` @@ -2919,12 +2697,6 @@ func (s CreatePresignedNotebookInstanceUrlOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetAuthorizedUrl sets the AuthorizedUrl field's value. -func (s *CreatePresignedNotebookInstanceUrlOutput) SetAuthorizedUrl(v string) *CreatePresignedNotebookInstanceUrlOutput { - s.AuthorizedUrl = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJobRequest type CreateTrainingJobInput struct { _ struct{} `type:"structure"` @@ -3111,60 +2883,6 @@ func (s *CreateTrainingJobInput) Validate() error { return nil } -// SetAlgorithmSpecification sets the AlgorithmSpecification field's value. -func (s *CreateTrainingJobInput) SetAlgorithmSpecification(v *AlgorithmSpecification) *CreateTrainingJobInput { - s.AlgorithmSpecification = v - return s -} - -// SetHyperParameters sets the HyperParameters field's value. -func (s *CreateTrainingJobInput) SetHyperParameters(v map[string]string) *CreateTrainingJobInput { - s.HyperParameters = v - return s -} - -// SetInputDataConfig sets the InputDataConfig field's value. -func (s *CreateTrainingJobInput) SetInputDataConfig(v []Channel) *CreateTrainingJobInput { - s.InputDataConfig = v - return s -} - -// SetOutputDataConfig sets the OutputDataConfig field's value. -func (s *CreateTrainingJobInput) SetOutputDataConfig(v *OutputDataConfig) *CreateTrainingJobInput { - s.OutputDataConfig = v - return s -} - -// SetResourceConfig sets the ResourceConfig field's value. -func (s *CreateTrainingJobInput) SetResourceConfig(v *ResourceConfig) *CreateTrainingJobInput { - s.ResourceConfig = v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *CreateTrainingJobInput) SetRoleArn(v string) *CreateTrainingJobInput { - s.RoleArn = &v - return s -} - -// SetStoppingCondition sets the StoppingCondition field's value. -func (s *CreateTrainingJobInput) SetStoppingCondition(v *StoppingCondition) *CreateTrainingJobInput { - s.StoppingCondition = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateTrainingJobInput) SetTags(v []Tag) *CreateTrainingJobInput { - s.Tags = v - return s -} - -// SetTrainingJobName sets the TrainingJobName field's value. -func (s *CreateTrainingJobInput) SetTrainingJobName(v string) *CreateTrainingJobInput { - s.TrainingJobName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJobResponse type CreateTrainingJobOutput struct { _ struct{} `type:"structure"` @@ -3192,12 +2910,6 @@ func (s CreateTrainingJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTrainingJobArn sets the TrainingJobArn field's value. -func (s *CreateTrainingJobOutput) SetTrainingJobArn(v string) *CreateTrainingJobOutput { - s.TrainingJobArn = &v - return s -} - // Describes the location of the channel data. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DataSource type DataSource struct { @@ -3238,12 +2950,6 @@ func (s *DataSource) Validate() error { return nil } -// SetS3DataSource sets the S3DataSource field's value. -func (s *DataSource) SetS3DataSource(v *S3DataSource) *DataSource { - s.S3DataSource = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointConfigInput type DeleteEndpointConfigInput struct { _ struct{} `type:"structure"` @@ -3278,12 +2984,6 @@ func (s *DeleteEndpointConfigInput) Validate() error { return nil } -// SetEndpointConfigName sets the EndpointConfigName field's value. -func (s *DeleteEndpointConfigInput) SetEndpointConfigName(v string) *DeleteEndpointConfigInput { - s.EndpointConfigName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointConfigOutput type DeleteEndpointConfigOutput struct { _ struct{} `type:"structure"` @@ -3340,12 +3040,6 @@ func (s *DeleteEndpointInput) Validate() error { return nil } -// SetEndpointName sets the EndpointName field's value. -func (s *DeleteEndpointInput) SetEndpointName(v string) *DeleteEndpointInput { - s.EndpointName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointOutput type DeleteEndpointOutput struct { _ struct{} `type:"structure"` @@ -3402,12 +3096,6 @@ func (s *DeleteModelInput) Validate() error { return nil } -// SetModelName sets the ModelName field's value. -func (s *DeleteModelInput) SetModelName(v string) *DeleteModelInput { - s.ModelName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelOutput type DeleteModelOutput struct { _ struct{} `type:"structure"` @@ -3464,12 +3152,6 @@ func (s *DeleteNotebookInstanceInput) Validate() error { return nil } -// SetNotebookInstanceName sets the NotebookInstanceName field's value. -func (s *DeleteNotebookInstanceInput) SetNotebookInstanceName(v string) *DeleteNotebookInstanceInput { - s.NotebookInstanceName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstanceOutput type DeleteNotebookInstanceOutput struct { _ struct{} `type:"structure"` @@ -3538,18 +3220,6 @@ func (s *DeleteTagsInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *DeleteTagsInput) SetResourceArn(v string) *DeleteTagsInput { - s.ResourceArn = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *DeleteTagsInput) SetTagKeys(v []string) *DeleteTagsInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTagsOutput type DeleteTagsOutput struct { _ struct{} `type:"structure"` @@ -3606,12 +3276,6 @@ func (s *DescribeEndpointConfigInput) Validate() error { return nil } -// SetEndpointConfigName sets the EndpointConfigName field's value. -func (s *DescribeEndpointConfigInput) SetEndpointConfigName(v string) *DescribeEndpointConfigInput { - s.EndpointConfigName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointConfigOutput type DescribeEndpointConfigOutput struct { _ struct{} `type:"structure"` @@ -3655,30 +3319,6 @@ func (s DescribeEndpointConfigOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreationTime sets the CreationTime field's value. -func (s *DescribeEndpointConfigOutput) SetCreationTime(v time.Time) *DescribeEndpointConfigOutput { - s.CreationTime = &v - return s -} - -// SetEndpointConfigArn sets the EndpointConfigArn field's value. -func (s *DescribeEndpointConfigOutput) SetEndpointConfigArn(v string) *DescribeEndpointConfigOutput { - s.EndpointConfigArn = &v - return s -} - -// SetEndpointConfigName sets the EndpointConfigName field's value. -func (s *DescribeEndpointConfigOutput) SetEndpointConfigName(v string) *DescribeEndpointConfigOutput { - s.EndpointConfigName = &v - return s -} - -// SetProductionVariants sets the ProductionVariants field's value. -func (s *DescribeEndpointConfigOutput) SetProductionVariants(v []ProductionVariant) *DescribeEndpointConfigOutput { - s.ProductionVariants = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointInput type DescribeEndpointInput struct { _ struct{} `type:"structure"` @@ -3713,12 +3353,6 @@ func (s *DescribeEndpointInput) Validate() error { return nil } -// SetEndpointName sets the EndpointName field's value. -func (s *DescribeEndpointInput) SetEndpointName(v string) *DescribeEndpointInput { - s.EndpointName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointOutput type DescribeEndpointOutput struct { _ struct{} `type:"structure"` @@ -3778,54 +3412,6 @@ func (s DescribeEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreationTime sets the CreationTime field's value. -func (s *DescribeEndpointOutput) SetCreationTime(v time.Time) *DescribeEndpointOutput { - s.CreationTime = &v - return s -} - -// SetEndpointArn sets the EndpointArn field's value. -func (s *DescribeEndpointOutput) SetEndpointArn(v string) *DescribeEndpointOutput { - s.EndpointArn = &v - return s -} - -// SetEndpointConfigName sets the EndpointConfigName field's value. -func (s *DescribeEndpointOutput) SetEndpointConfigName(v string) *DescribeEndpointOutput { - s.EndpointConfigName = &v - return s -} - -// SetEndpointName sets the EndpointName field's value. -func (s *DescribeEndpointOutput) SetEndpointName(v string) *DescribeEndpointOutput { - s.EndpointName = &v - return s -} - -// SetEndpointStatus sets the EndpointStatus field's value. -func (s *DescribeEndpointOutput) SetEndpointStatus(v EndpointStatus) *DescribeEndpointOutput { - s.EndpointStatus = v - return s -} - -// SetFailureReason sets the FailureReason field's value. -func (s *DescribeEndpointOutput) SetFailureReason(v string) *DescribeEndpointOutput { - s.FailureReason = &v - return s -} - -// SetLastModifiedTime sets the LastModifiedTime field's value. -func (s *DescribeEndpointOutput) SetLastModifiedTime(v time.Time) *DescribeEndpointOutput { - s.LastModifiedTime = &v - return s -} - -// SetProductionVariants sets the ProductionVariants field's value. -func (s *DescribeEndpointOutput) SetProductionVariants(v []ProductionVariantSummary) *DescribeEndpointOutput { - s.ProductionVariants = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelInput type DescribeModelInput struct { _ struct{} `type:"structure"` @@ -3860,12 +3446,6 @@ func (s *DescribeModelInput) Validate() error { return nil } -// SetModelName sets the ModelName field's value. -func (s *DescribeModelInput) SetModelName(v string) *DescribeModelInput { - s.ModelName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelOutput type DescribeModelOutput struct { _ struct{} `type:"structure"` @@ -3915,36 +3495,6 @@ func (s DescribeModelOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreationTime sets the CreationTime field's value. -func (s *DescribeModelOutput) SetCreationTime(v time.Time) *DescribeModelOutput { - s.CreationTime = &v - return s -} - -// SetExecutionRoleArn sets the ExecutionRoleArn field's value. -func (s *DescribeModelOutput) SetExecutionRoleArn(v string) *DescribeModelOutput { - s.ExecutionRoleArn = &v - return s -} - -// SetModelArn sets the ModelArn field's value. -func (s *DescribeModelOutput) SetModelArn(v string) *DescribeModelOutput { - s.ModelArn = &v - return s -} - -// SetModelName sets the ModelName field's value. -func (s *DescribeModelOutput) SetModelName(v string) *DescribeModelOutput { - s.ModelName = &v - return s -} - -// SetPrimaryContainer sets the PrimaryContainer field's value. -func (s *DescribeModelOutput) SetPrimaryContainer(v *ContainerDefinition) *DescribeModelOutput { - s.PrimaryContainer = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceInput type DescribeNotebookInstanceInput struct { _ struct{} `type:"structure"` @@ -3979,12 +3529,6 @@ func (s *DescribeNotebookInstanceInput) Validate() error { return nil } -// SetNotebookInstanceName sets the NotebookInstanceName field's value. -func (s *DescribeNotebookInstanceInput) SetNotebookInstanceName(v string) *DescribeNotebookInstanceInput { - s.NotebookInstanceName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceOutput type DescribeNotebookInstanceOutput struct { _ struct{} `type:"structure"` @@ -4051,84 +3595,6 @@ func (s DescribeNotebookInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreationTime sets the CreationTime field's value. -func (s *DescribeNotebookInstanceOutput) SetCreationTime(v time.Time) *DescribeNotebookInstanceOutput { - s.CreationTime = &v - return s -} - -// SetFailureReason sets the FailureReason field's value. -func (s *DescribeNotebookInstanceOutput) SetFailureReason(v string) *DescribeNotebookInstanceOutput { - s.FailureReason = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *DescribeNotebookInstanceOutput) SetInstanceType(v InstanceType) *DescribeNotebookInstanceOutput { - s.InstanceType = v - return s -} - -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *DescribeNotebookInstanceOutput) SetKmsKeyId(v string) *DescribeNotebookInstanceOutput { - s.KmsKeyId = &v - return s -} - -// SetLastModifiedTime sets the LastModifiedTime field's value. -func (s *DescribeNotebookInstanceOutput) SetLastModifiedTime(v time.Time) *DescribeNotebookInstanceOutput { - s.LastModifiedTime = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *DescribeNotebookInstanceOutput) SetNetworkInterfaceId(v string) *DescribeNotebookInstanceOutput { - s.NetworkInterfaceId = &v - return s -} - -// SetNotebookInstanceArn sets the NotebookInstanceArn field's value. -func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceArn(v string) *DescribeNotebookInstanceOutput { - s.NotebookInstanceArn = &v - return s -} - -// SetNotebookInstanceName sets the NotebookInstanceName field's value. -func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceName(v string) *DescribeNotebookInstanceOutput { - s.NotebookInstanceName = &v - return s -} - -// SetNotebookInstanceStatus sets the NotebookInstanceStatus field's value. -func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceStatus(v NotebookInstanceStatus) *DescribeNotebookInstanceOutput { - s.NotebookInstanceStatus = v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *DescribeNotebookInstanceOutput) SetRoleArn(v string) *DescribeNotebookInstanceOutput { - s.RoleArn = &v - return s -} - -// SetSecurityGroups sets the SecurityGroups field's value. -func (s *DescribeNotebookInstanceOutput) SetSecurityGroups(v []string) *DescribeNotebookInstanceOutput { - s.SecurityGroups = v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *DescribeNotebookInstanceOutput) SetSubnetId(v string) *DescribeNotebookInstanceOutput { - s.SubnetId = &v - return s -} - -// SetUrl sets the Url field's value. -func (s *DescribeNotebookInstanceOutput) SetUrl(v string) *DescribeNotebookInstanceOutput { - s.Url = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJobRequest type DescribeTrainingJobInput struct { _ struct{} `type:"structure"` @@ -4166,12 +3632,6 @@ func (s *DescribeTrainingJobInput) Validate() error { return nil } -// SetTrainingJobName sets the TrainingJobName field's value. -func (s *DescribeTrainingJobInput) SetTrainingJobName(v string) *DescribeTrainingJobInput { - s.TrainingJobName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJobResponse type DescribeTrainingJobOutput struct { _ struct{} `type:"structure"` @@ -4287,108 +3747,6 @@ func (s DescribeTrainingJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAlgorithmSpecification sets the AlgorithmSpecification field's value. -func (s *DescribeTrainingJobOutput) SetAlgorithmSpecification(v *AlgorithmSpecification) *DescribeTrainingJobOutput { - s.AlgorithmSpecification = v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *DescribeTrainingJobOutput) SetCreationTime(v time.Time) *DescribeTrainingJobOutput { - s.CreationTime = &v - return s -} - -// SetFailureReason sets the FailureReason field's value. -func (s *DescribeTrainingJobOutput) SetFailureReason(v string) *DescribeTrainingJobOutput { - s.FailureReason = &v - return s -} - -// SetHyperParameters sets the HyperParameters field's value. -func (s *DescribeTrainingJobOutput) SetHyperParameters(v map[string]string) *DescribeTrainingJobOutput { - s.HyperParameters = v - return s -} - -// SetInputDataConfig sets the InputDataConfig field's value. -func (s *DescribeTrainingJobOutput) SetInputDataConfig(v []Channel) *DescribeTrainingJobOutput { - s.InputDataConfig = v - return s -} - -// SetLastModifiedTime sets the LastModifiedTime field's value. -func (s *DescribeTrainingJobOutput) SetLastModifiedTime(v time.Time) *DescribeTrainingJobOutput { - s.LastModifiedTime = &v - return s -} - -// SetModelArtifacts sets the ModelArtifacts field's value. -func (s *DescribeTrainingJobOutput) SetModelArtifacts(v *ModelArtifacts) *DescribeTrainingJobOutput { - s.ModelArtifacts = v - return s -} - -// SetOutputDataConfig sets the OutputDataConfig field's value. -func (s *DescribeTrainingJobOutput) SetOutputDataConfig(v *OutputDataConfig) *DescribeTrainingJobOutput { - s.OutputDataConfig = v - return s -} - -// SetResourceConfig sets the ResourceConfig field's value. -func (s *DescribeTrainingJobOutput) SetResourceConfig(v *ResourceConfig) *DescribeTrainingJobOutput { - s.ResourceConfig = v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *DescribeTrainingJobOutput) SetRoleArn(v string) *DescribeTrainingJobOutput { - s.RoleArn = &v - return s -} - -// SetSecondaryStatus sets the SecondaryStatus field's value. -func (s *DescribeTrainingJobOutput) SetSecondaryStatus(v SecondaryStatus) *DescribeTrainingJobOutput { - s.SecondaryStatus = v - return s -} - -// SetStoppingCondition sets the StoppingCondition field's value. -func (s *DescribeTrainingJobOutput) SetStoppingCondition(v *StoppingCondition) *DescribeTrainingJobOutput { - s.StoppingCondition = v - return s -} - -// SetTrainingEndTime sets the TrainingEndTime field's value. -func (s *DescribeTrainingJobOutput) SetTrainingEndTime(v time.Time) *DescribeTrainingJobOutput { - s.TrainingEndTime = &v - return s -} - -// SetTrainingJobArn sets the TrainingJobArn field's value. -func (s *DescribeTrainingJobOutput) SetTrainingJobArn(v string) *DescribeTrainingJobOutput { - s.TrainingJobArn = &v - return s -} - -// SetTrainingJobName sets the TrainingJobName field's value. -func (s *DescribeTrainingJobOutput) SetTrainingJobName(v string) *DescribeTrainingJobOutput { - s.TrainingJobName = &v - return s -} - -// SetTrainingJobStatus sets the TrainingJobStatus field's value. -func (s *DescribeTrainingJobOutput) SetTrainingJobStatus(v TrainingJobStatus) *DescribeTrainingJobOutput { - s.TrainingJobStatus = v - return s -} - -// SetTrainingStartTime sets the TrainingStartTime field's value. -func (s *DescribeTrainingJobOutput) SetTrainingStartTime(v time.Time) *DescribeTrainingJobOutput { - s.TrainingStartTime = &v - return s -} - // Specifies weight and capacity values for a production variant. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DesiredWeightAndCapacity type DesiredWeightAndCapacity struct { @@ -4433,24 +3791,6 @@ func (s *DesiredWeightAndCapacity) Validate() error { return nil } -// SetDesiredInstanceCount sets the DesiredInstanceCount field's value. -func (s *DesiredWeightAndCapacity) SetDesiredInstanceCount(v int64) *DesiredWeightAndCapacity { - s.DesiredInstanceCount = &v - return s -} - -// SetDesiredWeight sets the DesiredWeight field's value. -func (s *DesiredWeightAndCapacity) SetDesiredWeight(v float64) *DesiredWeightAndCapacity { - s.DesiredWeight = &v - return s -} - -// SetVariantName sets the VariantName field's value. -func (s *DesiredWeightAndCapacity) SetVariantName(v string) *DesiredWeightAndCapacity { - s.VariantName = &v - return s -} - // Provides summary information for an endpoint configuration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EndpointConfigSummary type EndpointConfigSummary struct { @@ -4482,24 +3822,6 @@ func (s EndpointConfigSummary) GoString() string { return s.String() } -// SetCreationTime sets the CreationTime field's value. -func (s *EndpointConfigSummary) SetCreationTime(v time.Time) *EndpointConfigSummary { - s.CreationTime = &v - return s -} - -// SetEndpointConfigArn sets the EndpointConfigArn field's value. -func (s *EndpointConfigSummary) SetEndpointConfigArn(v string) *EndpointConfigSummary { - s.EndpointConfigArn = &v - return s -} - -// SetEndpointConfigName sets the EndpointConfigName field's value. -func (s *EndpointConfigSummary) SetEndpointConfigName(v string) *EndpointConfigSummary { - s.EndpointConfigName = &v - return s -} - // Provides summary information for an endpoint. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EndpointSummary type EndpointSummary struct { @@ -4541,36 +3863,6 @@ func (s EndpointSummary) GoString() string { return s.String() } -// SetCreationTime sets the CreationTime field's value. -func (s *EndpointSummary) SetCreationTime(v time.Time) *EndpointSummary { - s.CreationTime = &v - return s -} - -// SetEndpointArn sets the EndpointArn field's value. -func (s *EndpointSummary) SetEndpointArn(v string) *EndpointSummary { - s.EndpointArn = &v - return s -} - -// SetEndpointName sets the EndpointName field's value. -func (s *EndpointSummary) SetEndpointName(v string) *EndpointSummary { - s.EndpointName = &v - return s -} - -// SetEndpointStatus sets the EndpointStatus field's value. -func (s *EndpointSummary) SetEndpointStatus(v EndpointStatus) *EndpointSummary { - s.EndpointStatus = v - return s -} - -// SetLastModifiedTime sets the LastModifiedTime field's value. -func (s *EndpointSummary) SetLastModifiedTime(v time.Time) *EndpointSummary { - s.LastModifiedTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointConfigsInput type ListEndpointConfigsInput struct { _ struct{} `type:"structure"` @@ -4625,48 +3917,6 @@ func (s *ListEndpointConfigsInput) Validate() error { return nil } -// SetCreationTimeAfter sets the CreationTimeAfter field's value. -func (s *ListEndpointConfigsInput) SetCreationTimeAfter(v time.Time) *ListEndpointConfigsInput { - s.CreationTimeAfter = &v - return s -} - -// SetCreationTimeBefore sets the CreationTimeBefore field's value. -func (s *ListEndpointConfigsInput) SetCreationTimeBefore(v time.Time) *ListEndpointConfigsInput { - s.CreationTimeBefore = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListEndpointConfigsInput) SetMaxResults(v int64) *ListEndpointConfigsInput { - s.MaxResults = &v - return s -} - -// SetNameContains sets the NameContains field's value. -func (s *ListEndpointConfigsInput) SetNameContains(v string) *ListEndpointConfigsInput { - s.NameContains = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListEndpointConfigsInput) SetNextToken(v string) *ListEndpointConfigsInput { - s.NextToken = &v - return s -} - -// SetSortBy sets the SortBy field's value. -func (s *ListEndpointConfigsInput) SetSortBy(v EndpointConfigSortKey) *ListEndpointConfigsInput { - s.SortBy = v - return s -} - -// SetSortOrder sets the SortOrder field's value. -func (s *ListEndpointConfigsInput) SetSortOrder(v OrderKey) *ListEndpointConfigsInput { - s.SortOrder = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointConfigsOutput type ListEndpointConfigsOutput struct { _ struct{} `type:"structure"` @@ -4698,18 +3948,6 @@ func (s ListEndpointConfigsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEndpointConfigs sets the EndpointConfigs field's value. -func (s *ListEndpointConfigsOutput) SetEndpointConfigs(v []EndpointConfigSummary) *ListEndpointConfigsOutput { - s.EndpointConfigs = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListEndpointConfigsOutput) SetNextToken(v string) *ListEndpointConfigsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointsInput type ListEndpointsInput struct { _ struct{} `type:"structure"` @@ -4775,66 +4013,6 @@ func (s *ListEndpointsInput) Validate() error { return nil } -// SetCreationTimeAfter sets the CreationTimeAfter field's value. -func (s *ListEndpointsInput) SetCreationTimeAfter(v time.Time) *ListEndpointsInput { - s.CreationTimeAfter = &v - return s -} - -// SetCreationTimeBefore sets the CreationTimeBefore field's value. -func (s *ListEndpointsInput) SetCreationTimeBefore(v time.Time) *ListEndpointsInput { - s.CreationTimeBefore = &v - return s -} - -// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. -func (s *ListEndpointsInput) SetLastModifiedTimeAfter(v time.Time) *ListEndpointsInput { - s.LastModifiedTimeAfter = &v - return s -} - -// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. -func (s *ListEndpointsInput) SetLastModifiedTimeBefore(v time.Time) *ListEndpointsInput { - s.LastModifiedTimeBefore = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListEndpointsInput) SetMaxResults(v int64) *ListEndpointsInput { - s.MaxResults = &v - return s -} - -// SetNameContains sets the NameContains field's value. -func (s *ListEndpointsInput) SetNameContains(v string) *ListEndpointsInput { - s.NameContains = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListEndpointsInput) SetNextToken(v string) *ListEndpointsInput { - s.NextToken = &v - return s -} - -// SetSortBy sets the SortBy field's value. -func (s *ListEndpointsInput) SetSortBy(v EndpointSortKey) *ListEndpointsInput { - s.SortBy = v - return s -} - -// SetSortOrder sets the SortOrder field's value. -func (s *ListEndpointsInput) SetSortOrder(v OrderKey) *ListEndpointsInput { - s.SortOrder = v - return s -} - -// SetStatusEquals sets the StatusEquals field's value. -func (s *ListEndpointsInput) SetStatusEquals(v EndpointStatus) *ListEndpointsInput { - s.StatusEquals = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointsOutput type ListEndpointsOutput struct { _ struct{} `type:"structure"` @@ -4866,18 +4044,6 @@ func (s ListEndpointsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEndpoints sets the Endpoints field's value. -func (s *ListEndpointsOutput) SetEndpoints(v []EndpointSummary) *ListEndpointsOutput { - s.Endpoints = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListEndpointsOutput) SetNextToken(v string) *ListEndpointsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelsInput type ListModelsInput struct { _ struct{} `type:"structure"` @@ -4930,48 +4096,6 @@ func (s *ListModelsInput) Validate() error { return nil } -// SetCreationTimeAfter sets the CreationTimeAfter field's value. -func (s *ListModelsInput) SetCreationTimeAfter(v time.Time) *ListModelsInput { - s.CreationTimeAfter = &v - return s -} - -// SetCreationTimeBefore sets the CreationTimeBefore field's value. -func (s *ListModelsInput) SetCreationTimeBefore(v time.Time) *ListModelsInput { - s.CreationTimeBefore = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListModelsInput) SetMaxResults(v int64) *ListModelsInput { - s.MaxResults = &v - return s -} - -// SetNameContains sets the NameContains field's value. -func (s *ListModelsInput) SetNameContains(v string) *ListModelsInput { - s.NameContains = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListModelsInput) SetNextToken(v string) *ListModelsInput { - s.NextToken = &v - return s -} - -// SetSortBy sets the SortBy field's value. -func (s *ListModelsInput) SetSortBy(v ModelSortKey) *ListModelsInput { - s.SortBy = v - return s -} - -// SetSortOrder sets the SortOrder field's value. -func (s *ListModelsInput) SetSortOrder(v OrderKey) *ListModelsInput { - s.SortOrder = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelsOutput type ListModelsOutput struct { _ struct{} `type:"structure"` @@ -5003,18 +4127,6 @@ func (s ListModelsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetModels sets the Models field's value. -func (s *ListModelsOutput) SetModels(v []ModelSummary) *ListModelsOutput { - s.Models = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListModelsOutput) SetNextToken(v string) *ListModelsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstancesInput type ListNotebookInstancesInput struct { _ struct{} `type:"structure"` @@ -5084,66 +4196,6 @@ func (s *ListNotebookInstancesInput) Validate() error { return nil } -// SetCreationTimeAfter sets the CreationTimeAfter field's value. -func (s *ListNotebookInstancesInput) SetCreationTimeAfter(v time.Time) *ListNotebookInstancesInput { - s.CreationTimeAfter = &v - return s -} - -// SetCreationTimeBefore sets the CreationTimeBefore field's value. -func (s *ListNotebookInstancesInput) SetCreationTimeBefore(v time.Time) *ListNotebookInstancesInput { - s.CreationTimeBefore = &v - return s -} - -// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. -func (s *ListNotebookInstancesInput) SetLastModifiedTimeAfter(v time.Time) *ListNotebookInstancesInput { - s.LastModifiedTimeAfter = &v - return s -} - -// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. -func (s *ListNotebookInstancesInput) SetLastModifiedTimeBefore(v time.Time) *ListNotebookInstancesInput { - s.LastModifiedTimeBefore = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListNotebookInstancesInput) SetMaxResults(v int64) *ListNotebookInstancesInput { - s.MaxResults = &v - return s -} - -// SetNameContains sets the NameContains field's value. -func (s *ListNotebookInstancesInput) SetNameContains(v string) *ListNotebookInstancesInput { - s.NameContains = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListNotebookInstancesInput) SetNextToken(v string) *ListNotebookInstancesInput { - s.NextToken = &v - return s -} - -// SetSortBy sets the SortBy field's value. -func (s *ListNotebookInstancesInput) SetSortBy(v NotebookInstanceSortKey) *ListNotebookInstancesInput { - s.SortBy = v - return s -} - -// SetSortOrder sets the SortOrder field's value. -func (s *ListNotebookInstancesInput) SetSortOrder(v NotebookInstanceSortOrder) *ListNotebookInstancesInput { - s.SortOrder = v - return s -} - -// SetStatusEquals sets the StatusEquals field's value. -func (s *ListNotebookInstancesInput) SetStatusEquals(v NotebookInstanceStatus) *ListNotebookInstancesInput { - s.StatusEquals = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstancesOutput type ListNotebookInstancesOutput struct { _ struct{} `type:"structure"` @@ -5174,18 +4226,6 @@ func (s ListNotebookInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListNotebookInstancesOutput) SetNextToken(v string) *ListNotebookInstancesOutput { - s.NextToken = &v - return s -} - -// SetNotebookInstances sets the NotebookInstances field's value. -func (s *ListNotebookInstancesOutput) SetNotebookInstances(v []NotebookInstanceSummary) *ListNotebookInstancesOutput { - s.NotebookInstances = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTagsInput type ListTagsInput struct { _ struct{} `type:"structure"` @@ -5231,24 +4271,6 @@ func (s *ListTagsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListTagsInput) SetMaxResults(v int64) *ListTagsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTagsInput) SetNextToken(v string) *ListTagsInput { - s.NextToken = &v - return s -} - -// SetResourceArn sets the ResourceArn field's value. -func (s *ListTagsInput) SetResourceArn(v string) *ListTagsInput { - s.ResourceArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTagsOutput type ListTagsOutput struct { _ struct{} `type:"structure"` @@ -5278,18 +4300,6 @@ func (s ListTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTagsOutput) SetNextToken(v string) *ListTagsOutput { - s.NextToken = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *ListTagsOutput) SetTags(v []Tag) *ListTagsOutput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobsRequest type ListTrainingJobsInput struct { _ struct{} `type:"structure"` @@ -5354,66 +4364,6 @@ func (s *ListTrainingJobsInput) Validate() error { return nil } -// SetCreationTimeAfter sets the CreationTimeAfter field's value. -func (s *ListTrainingJobsInput) SetCreationTimeAfter(v time.Time) *ListTrainingJobsInput { - s.CreationTimeAfter = &v - return s -} - -// SetCreationTimeBefore sets the CreationTimeBefore field's value. -func (s *ListTrainingJobsInput) SetCreationTimeBefore(v time.Time) *ListTrainingJobsInput { - s.CreationTimeBefore = &v - return s -} - -// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value. -func (s *ListTrainingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListTrainingJobsInput { - s.LastModifiedTimeAfter = &v - return s -} - -// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value. -func (s *ListTrainingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListTrainingJobsInput { - s.LastModifiedTimeBefore = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListTrainingJobsInput) SetMaxResults(v int64) *ListTrainingJobsInput { - s.MaxResults = &v - return s -} - -// SetNameContains sets the NameContains field's value. -func (s *ListTrainingJobsInput) SetNameContains(v string) *ListTrainingJobsInput { - s.NameContains = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTrainingJobsInput) SetNextToken(v string) *ListTrainingJobsInput { - s.NextToken = &v - return s -} - -// SetSortBy sets the SortBy field's value. -func (s *ListTrainingJobsInput) SetSortBy(v SortBy) *ListTrainingJobsInput { - s.SortBy = v - return s -} - -// SetSortOrder sets the SortOrder field's value. -func (s *ListTrainingJobsInput) SetSortOrder(v SortOrder) *ListTrainingJobsInput { - s.SortOrder = v - return s -} - -// SetStatusEquals sets the StatusEquals field's value. -func (s *ListTrainingJobsInput) SetStatusEquals(v TrainingJobStatus) *ListTrainingJobsInput { - s.StatusEquals = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobsResponse type ListTrainingJobsOutput struct { _ struct{} `type:"structure"` @@ -5445,18 +4395,6 @@ func (s ListTrainingJobsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTrainingJobsOutput) SetNextToken(v string) *ListTrainingJobsOutput { - s.NextToken = &v - return s -} - -// SetTrainingJobSummaries sets the TrainingJobSummaries field's value. -func (s *ListTrainingJobsOutput) SetTrainingJobSummaries(v []TrainingJobSummary) *ListTrainingJobsOutput { - s.TrainingJobSummaries = v - return s -} - // Provides information about the location that is configured for storing model // artifacts. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelArtifacts @@ -5480,12 +4418,6 @@ func (s ModelArtifacts) GoString() string { return s.String() } -// SetS3ModelArtifacts sets the S3ModelArtifacts field's value. -func (s *ModelArtifacts) SetS3ModelArtifacts(v string) *ModelArtifacts { - s.S3ModelArtifacts = &v - return s -} - // Provides summary information about a model. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelSummary type ModelSummary struct { @@ -5517,24 +4449,6 @@ func (s ModelSummary) GoString() string { return s.String() } -// SetCreationTime sets the CreationTime field's value. -func (s *ModelSummary) SetCreationTime(v time.Time) *ModelSummary { - s.CreationTime = &v - return s -} - -// SetModelArn sets the ModelArn field's value. -func (s *ModelSummary) SetModelArn(v string) *ModelSummary { - s.ModelArn = &v - return s -} - -// SetModelName sets the ModelName field's value. -func (s *ModelSummary) SetModelName(v string) *ModelSummary { - s.ModelName = &v - return s -} - // Provides summary information for an Amazon SageMaker notebook instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/NotebookInstanceSummary type NotebookInstanceSummary struct { @@ -5577,48 +4491,6 @@ func (s NotebookInstanceSummary) GoString() string { return s.String() } -// SetCreationTime sets the CreationTime field's value. -func (s *NotebookInstanceSummary) SetCreationTime(v time.Time) *NotebookInstanceSummary { - s.CreationTime = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *NotebookInstanceSummary) SetInstanceType(v InstanceType) *NotebookInstanceSummary { - s.InstanceType = v - return s -} - -// SetLastModifiedTime sets the LastModifiedTime field's value. -func (s *NotebookInstanceSummary) SetLastModifiedTime(v time.Time) *NotebookInstanceSummary { - s.LastModifiedTime = &v - return s -} - -// SetNotebookInstanceArn sets the NotebookInstanceArn field's value. -func (s *NotebookInstanceSummary) SetNotebookInstanceArn(v string) *NotebookInstanceSummary { - s.NotebookInstanceArn = &v - return s -} - -// SetNotebookInstanceName sets the NotebookInstanceName field's value. -func (s *NotebookInstanceSummary) SetNotebookInstanceName(v string) *NotebookInstanceSummary { - s.NotebookInstanceName = &v - return s -} - -// SetNotebookInstanceStatus sets the NotebookInstanceStatus field's value. -func (s *NotebookInstanceSummary) SetNotebookInstanceStatus(v NotebookInstanceStatus) *NotebookInstanceSummary { - s.NotebookInstanceStatus = v - return s -} - -// SetUrl sets the Url field's value. -func (s *NotebookInstanceSummary) SetUrl(v string) *NotebookInstanceSummary { - s.Url = &v - return s -} - // Provides information about how to store model training results (model artifacts). // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/OutputDataConfig type OutputDataConfig struct { @@ -5669,18 +4541,6 @@ func (s *OutputDataConfig) Validate() error { return nil } -// SetKmsKeyId sets the KmsKeyId field's value. -func (s *OutputDataConfig) SetKmsKeyId(v string) *OutputDataConfig { - s.KmsKeyId = &v - return s -} - -// SetS3OutputPath sets the S3OutputPath field's value. -func (s *OutputDataConfig) SetS3OutputPath(v string) *OutputDataConfig { - s.S3OutputPath = &v - return s -} - // Identifies a model that you want to host and the resources to deploy for // hosting it. If you are deploying multiple models, tell Amazon SageMaker how // to distribute traffic among the models by specifying variant weights. @@ -5754,36 +4614,6 @@ func (s *ProductionVariant) Validate() error { return nil } -// SetInitialInstanceCount sets the InitialInstanceCount field's value. -func (s *ProductionVariant) SetInitialInstanceCount(v int64) *ProductionVariant { - s.InitialInstanceCount = &v - return s -} - -// SetInitialVariantWeight sets the InitialVariantWeight field's value. -func (s *ProductionVariant) SetInitialVariantWeight(v float64) *ProductionVariant { - s.InitialVariantWeight = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *ProductionVariant) SetInstanceType(v ProductionVariantInstanceType) *ProductionVariant { - s.InstanceType = v - return s -} - -// SetModelName sets the ModelName field's value. -func (s *ProductionVariant) SetModelName(v string) *ProductionVariant { - s.ModelName = &v - return s -} - -// SetVariantName sets the VariantName field's value. -func (s *ProductionVariant) SetVariantName(v string) *ProductionVariant { - s.VariantName = &v - return s -} - // Describes weight and capacities for a production variant associated with // an endpoint. If you sent a request to the UpdateWeightAndCapacities API and // the endpoint status is Updating, you get different desired and current values. @@ -5819,36 +4649,6 @@ func (s ProductionVariantSummary) GoString() string { return s.String() } -// SetCurrentInstanceCount sets the CurrentInstanceCount field's value. -func (s *ProductionVariantSummary) SetCurrentInstanceCount(v int64) *ProductionVariantSummary { - s.CurrentInstanceCount = &v - return s -} - -// SetCurrentWeight sets the CurrentWeight field's value. -func (s *ProductionVariantSummary) SetCurrentWeight(v float64) *ProductionVariantSummary { - s.CurrentWeight = &v - return s -} - -// SetDesiredInstanceCount sets the DesiredInstanceCount field's value. -func (s *ProductionVariantSummary) SetDesiredInstanceCount(v int64) *ProductionVariantSummary { - s.DesiredInstanceCount = &v - return s -} - -// SetDesiredWeight sets the DesiredWeight field's value. -func (s *ProductionVariantSummary) SetDesiredWeight(v float64) *ProductionVariantSummary { - s.DesiredWeight = &v - return s -} - -// SetVariantName sets the VariantName field's value. -func (s *ProductionVariantSummary) SetVariantName(v string) *ProductionVariantSummary { - s.VariantName = &v - return s -} - // Describes the resources, including ML compute instances and ML storage volumes, // to use for model training. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ResourceConfig @@ -5919,24 +4719,6 @@ func (s *ResourceConfig) Validate() error { return nil } -// SetInstanceCount sets the InstanceCount field's value. -func (s *ResourceConfig) SetInstanceCount(v int64) *ResourceConfig { - s.InstanceCount = &v - return s -} - -// SetInstanceType sets the InstanceType field's value. -func (s *ResourceConfig) SetInstanceType(v TrainingInstanceType) *ResourceConfig { - s.InstanceType = v - return s -} - -// SetVolumeSizeInGB sets the VolumeSizeInGB field's value. -func (s *ResourceConfig) SetVolumeSizeInGB(v int64) *ResourceConfig { - s.VolumeSizeInGB = &v - return s -} - // Describes the S3 data source. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/S3DataSource type S3DataSource struct { @@ -6039,24 +4821,6 @@ func (s *S3DataSource) Validate() error { return nil } -// SetS3DataDistributionType sets the S3DataDistributionType field's value. -func (s *S3DataSource) SetS3DataDistributionType(v S3DataDistribution) *S3DataSource { - s.S3DataDistributionType = v - return s -} - -// SetS3DataType sets the S3DataType field's value. -func (s *S3DataSource) SetS3DataType(v S3DataType) *S3DataSource { - s.S3DataType = v - return s -} - -// SetS3Uri sets the S3Uri field's value. -func (s *S3DataSource) SetS3Uri(v string) *S3DataSource { - s.S3Uri = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstanceInput type StartNotebookInstanceInput struct { _ struct{} `type:"structure"` @@ -6091,12 +4855,6 @@ func (s *StartNotebookInstanceInput) Validate() error { return nil } -// SetNotebookInstanceName sets the NotebookInstanceName field's value. -func (s *StartNotebookInstanceInput) SetNotebookInstanceName(v string) *StartNotebookInstanceInput { - s.NotebookInstanceName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstanceOutput type StartNotebookInstanceOutput struct { _ struct{} `type:"structure"` @@ -6153,12 +4911,6 @@ func (s *StopNotebookInstanceInput) Validate() error { return nil } -// SetNotebookInstanceName sets the NotebookInstanceName field's value. -func (s *StopNotebookInstanceInput) SetNotebookInstanceName(v string) *StopNotebookInstanceInput { - s.NotebookInstanceName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopNotebookInstanceOutput type StopNotebookInstanceOutput struct { _ struct{} `type:"structure"` @@ -6218,12 +4970,6 @@ func (s *StopTrainingJobInput) Validate() error { return nil } -// SetTrainingJobName sets the TrainingJobName field's value. -func (s *StopTrainingJobInput) SetTrainingJobName(v string) *StopTrainingJobInput { - s.TrainingJobName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingJobOutput type StopTrainingJobOutput struct { _ struct{} `type:"structure"` @@ -6293,12 +5039,6 @@ func (s *StoppingCondition) Validate() error { return nil } -// SetMaxRuntimeInSeconds sets the MaxRuntimeInSeconds field's value. -func (s *StoppingCondition) SetMaxRuntimeInSeconds(v int64) *StoppingCondition { - s.MaxRuntimeInSeconds = &v - return s -} - // Describes a tag. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Tag type Tag struct { @@ -6346,18 +5086,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Provides summary information about a training job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrainingJobSummary type TrainingJobSummary struct { @@ -6402,42 +5130,6 @@ func (s TrainingJobSummary) GoString() string { return s.String() } -// SetCreationTime sets the CreationTime field's value. -func (s *TrainingJobSummary) SetCreationTime(v time.Time) *TrainingJobSummary { - s.CreationTime = &v - return s -} - -// SetLastModifiedTime sets the LastModifiedTime field's value. -func (s *TrainingJobSummary) SetLastModifiedTime(v time.Time) *TrainingJobSummary { - s.LastModifiedTime = &v - return s -} - -// SetTrainingEndTime sets the TrainingEndTime field's value. -func (s *TrainingJobSummary) SetTrainingEndTime(v time.Time) *TrainingJobSummary { - s.TrainingEndTime = &v - return s -} - -// SetTrainingJobArn sets the TrainingJobArn field's value. -func (s *TrainingJobSummary) SetTrainingJobArn(v string) *TrainingJobSummary { - s.TrainingJobArn = &v - return s -} - -// SetTrainingJobName sets the TrainingJobName field's value. -func (s *TrainingJobSummary) SetTrainingJobName(v string) *TrainingJobSummary { - s.TrainingJobName = &v - return s -} - -// SetTrainingJobStatus sets the TrainingJobStatus field's value. -func (s *TrainingJobSummary) SetTrainingJobStatus(v TrainingJobStatus) *TrainingJobSummary { - s.TrainingJobStatus = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointInput type UpdateEndpointInput struct { _ struct{} `type:"structure"` @@ -6481,18 +5173,6 @@ func (s *UpdateEndpointInput) Validate() error { return nil } -// SetEndpointConfigName sets the EndpointConfigName field's value. -func (s *UpdateEndpointInput) SetEndpointConfigName(v string) *UpdateEndpointInput { - s.EndpointConfigName = &v - return s -} - -// SetEndpointName sets the EndpointName field's value. -func (s *UpdateEndpointInput) SetEndpointName(v string) *UpdateEndpointInput { - s.EndpointName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointOutput type UpdateEndpointOutput struct { _ struct{} `type:"structure"` @@ -6520,12 +5200,6 @@ func (s UpdateEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEndpointArn sets the EndpointArn field's value. -func (s *UpdateEndpointOutput) SetEndpointArn(v string) *UpdateEndpointOutput { - s.EndpointArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacitiesInput type UpdateEndpointWeightsAndCapacitiesInput struct { _ struct{} `type:"structure"` @@ -6579,18 +5253,6 @@ func (s *UpdateEndpointWeightsAndCapacitiesInput) Validate() error { return nil } -// SetDesiredWeightsAndCapacities sets the DesiredWeightsAndCapacities field's value. -func (s *UpdateEndpointWeightsAndCapacitiesInput) SetDesiredWeightsAndCapacities(v []DesiredWeightAndCapacity) *UpdateEndpointWeightsAndCapacitiesInput { - s.DesiredWeightsAndCapacities = v - return s -} - -// SetEndpointName sets the EndpointName field's value. -func (s *UpdateEndpointWeightsAndCapacitiesInput) SetEndpointName(v string) *UpdateEndpointWeightsAndCapacitiesInput { - s.EndpointName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacitiesOutput type UpdateEndpointWeightsAndCapacitiesOutput struct { _ struct{} `type:"structure"` @@ -6618,12 +5280,6 @@ func (s UpdateEndpointWeightsAndCapacitiesOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetEndpointArn sets the EndpointArn field's value. -func (s *UpdateEndpointWeightsAndCapacitiesOutput) SetEndpointArn(v string) *UpdateEndpointWeightsAndCapacitiesOutput { - s.EndpointArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceInput type UpdateNotebookInstanceInput struct { _ struct{} `type:"structure"` @@ -6667,24 +5323,6 @@ func (s *UpdateNotebookInstanceInput) Validate() error { return nil } -// SetInstanceType sets the InstanceType field's value. -func (s *UpdateNotebookInstanceInput) SetInstanceType(v InstanceType) *UpdateNotebookInstanceInput { - s.InstanceType = v - return s -} - -// SetNotebookInstanceName sets the NotebookInstanceName field's value. -func (s *UpdateNotebookInstanceInput) SetNotebookInstanceName(v string) *UpdateNotebookInstanceInput { - s.NotebookInstanceName = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *UpdateNotebookInstanceInput) SetRoleArn(v string) *UpdateNotebookInstanceInput { - s.RoleArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceOutput type UpdateNotebookInstanceOutput struct { _ struct{} `type:"structure"` diff --git a/service/sagemakerruntime/api.go b/service/sagemakerruntime/api.go index 91562ce6ecb..671413f17a3 100644 --- a/service/sagemakerruntime/api.go +++ b/service/sagemakerruntime/api.go @@ -116,30 +116,6 @@ func (s *InvokeEndpointInput) Validate() error { return nil } -// SetAccept sets the Accept field's value. -func (s *InvokeEndpointInput) SetAccept(v string) *InvokeEndpointInput { - s.Accept = &v - return s -} - -// SetBody sets the Body field's value. -func (s *InvokeEndpointInput) SetBody(v []byte) *InvokeEndpointInput { - s.Body = v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *InvokeEndpointInput) SetContentType(v string) *InvokeEndpointInput { - s.ContentType = &v - return s -} - -// SetEndpointName sets the EndpointName field's value. -func (s *InvokeEndpointInput) SetEndpointName(v string) *InvokeEndpointInput { - s.EndpointName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpointOutput type InvokeEndpointOutput struct { _ struct{} `type:"structure" payload:"Body"` @@ -172,21 +148,3 @@ func (s InvokeEndpointOutput) GoString() string { func (s InvokeEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } - -// SetBody sets the Body field's value. -func (s *InvokeEndpointOutput) SetBody(v []byte) *InvokeEndpointOutput { - s.Body = v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *InvokeEndpointOutput) SetContentType(v string) *InvokeEndpointOutput { - s.ContentType = &v - return s -} - -// SetInvokedProductionVariant sets the InvokedProductionVariant field's value. -func (s *InvokeEndpointOutput) SetInvokedProductionVariant(v string) *InvokeEndpointOutput { - s.InvokedProductionVariant = &v - return s -} diff --git a/service/serverlessapplicationrepository/api.go b/service/serverlessapplicationrepository/api.go index 797776260db..e8d9595ceed 100644 --- a/service/serverlessapplicationrepository/api.go +++ b/service/serverlessapplicationrepository/api.go @@ -476,24 +476,6 @@ func (s ApplicationPolicyStatement) GoString() string { return s.String() } -// SetActions sets the Actions field's value. -func (s *ApplicationPolicyStatement) SetActions(v []string) *ApplicationPolicyStatement { - s.Actions = v - return s -} - -// SetPrincipals sets the Principals field's value. -func (s *ApplicationPolicyStatement) SetPrincipals(v []string) *ApplicationPolicyStatement { - s.Principals = v - return s -} - -// SetStatementId sets the StatementId field's value. -func (s *ApplicationPolicyStatement) SetStatementId(v string) *ApplicationPolicyStatement { - s.StatementId = &v - return s -} - // Summary of details about the application. // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ApplicationSummary type ApplicationSummary struct { @@ -533,48 +515,6 @@ func (s ApplicationSummary) GoString() string { return s.String() } -// SetApplicationId sets the ApplicationId field's value. -func (s *ApplicationSummary) SetApplicationId(v string) *ApplicationSummary { - s.ApplicationId = &v - return s -} - -// SetAuthor sets the Author field's value. -func (s *ApplicationSummary) SetAuthor(v string) *ApplicationSummary { - s.Author = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *ApplicationSummary) SetCreationTime(v string) *ApplicationSummary { - s.CreationTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ApplicationSummary) SetDescription(v string) *ApplicationSummary { - s.Description = &v - return s -} - -// SetLabels sets the Labels field's value. -func (s *ApplicationSummary) SetLabels(v []string) *ApplicationSummary { - s.Labels = v - return s -} - -// SetName sets the Name field's value. -func (s *ApplicationSummary) SetName(v string) *ApplicationSummary { - s.Name = &v - return s -} - -// SetSpdxLicenseId sets the SpdxLicenseId field's value. -func (s *ApplicationSummary) SetSpdxLicenseId(v string) *ApplicationSummary { - s.SpdxLicenseId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationRequest type CreateApplicationInput struct { _ struct{} `type:"structure"` @@ -616,84 +556,6 @@ func (s CreateApplicationInput) GoString() string { return s.String() } -// SetAuthor sets the Author field's value. -func (s *CreateApplicationInput) SetAuthor(v string) *CreateApplicationInput { - s.Author = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateApplicationInput) SetDescription(v string) *CreateApplicationInput { - s.Description = &v - return s -} - -// SetLabels sets the Labels field's value. -func (s *CreateApplicationInput) SetLabels(v []string) *CreateApplicationInput { - s.Labels = v - return s -} - -// SetLicenseBody sets the LicenseBody field's value. -func (s *CreateApplicationInput) SetLicenseBody(v string) *CreateApplicationInput { - s.LicenseBody = &v - return s -} - -// SetLicenseUrl sets the LicenseUrl field's value. -func (s *CreateApplicationInput) SetLicenseUrl(v string) *CreateApplicationInput { - s.LicenseUrl = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateApplicationInput) SetName(v string) *CreateApplicationInput { - s.Name = &v - return s -} - -// SetReadmeBody sets the ReadmeBody field's value. -func (s *CreateApplicationInput) SetReadmeBody(v string) *CreateApplicationInput { - s.ReadmeBody = &v - return s -} - -// SetReadmeUrl sets the ReadmeUrl field's value. -func (s *CreateApplicationInput) SetReadmeUrl(v string) *CreateApplicationInput { - s.ReadmeUrl = &v - return s -} - -// SetSemanticVersion sets the SemanticVersion field's value. -func (s *CreateApplicationInput) SetSemanticVersion(v string) *CreateApplicationInput { - s.SemanticVersion = &v - return s -} - -// SetSourceCodeUrl sets the SourceCodeUrl field's value. -func (s *CreateApplicationInput) SetSourceCodeUrl(v string) *CreateApplicationInput { - s.SourceCodeUrl = &v - return s -} - -// SetSpdxLicenseId sets the SpdxLicenseId field's value. -func (s *CreateApplicationInput) SetSpdxLicenseId(v string) *CreateApplicationInput { - s.SpdxLicenseId = &v - return s -} - -// SetTemplateBody sets the TemplateBody field's value. -func (s *CreateApplicationInput) SetTemplateBody(v string) *CreateApplicationInput { - s.TemplateBody = &v - return s -} - -// SetTemplateUrl sets the TemplateUrl field's value. -func (s *CreateApplicationInput) SetTemplateUrl(v string) *CreateApplicationInput { - s.TemplateUrl = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationResponse type CreateApplicationOutput struct { _ struct{} `type:"structure"` @@ -737,66 +599,6 @@ func (s CreateApplicationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationId sets the ApplicationId field's value. -func (s *CreateApplicationOutput) SetApplicationId(v string) *CreateApplicationOutput { - s.ApplicationId = &v - return s -} - -// SetAuthor sets the Author field's value. -func (s *CreateApplicationOutput) SetAuthor(v string) *CreateApplicationOutput { - s.Author = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *CreateApplicationOutput) SetCreationTime(v string) *CreateApplicationOutput { - s.CreationTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateApplicationOutput) SetDescription(v string) *CreateApplicationOutput { - s.Description = &v - return s -} - -// SetLabels sets the Labels field's value. -func (s *CreateApplicationOutput) SetLabels(v []string) *CreateApplicationOutput { - s.Labels = v - return s -} - -// SetLicenseUrl sets the LicenseUrl field's value. -func (s *CreateApplicationOutput) SetLicenseUrl(v string) *CreateApplicationOutput { - s.LicenseUrl = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateApplicationOutput) SetName(v string) *CreateApplicationOutput { - s.Name = &v - return s -} - -// SetReadmeUrl sets the ReadmeUrl field's value. -func (s *CreateApplicationOutput) SetReadmeUrl(v string) *CreateApplicationOutput { - s.ReadmeUrl = &v - return s -} - -// SetSpdxLicenseId sets the SpdxLicenseId field's value. -func (s *CreateApplicationOutput) SetSpdxLicenseId(v string) *CreateApplicationOutput { - s.SpdxLicenseId = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *CreateApplicationOutput) SetVersion(v *Version) *CreateApplicationOutput { - s.Version = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationVersionRequest type CreateApplicationVersionInput struct { _ struct{} `type:"structure"` @@ -842,36 +644,6 @@ func (s *CreateApplicationVersionInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *CreateApplicationVersionInput) SetApplicationId(v string) *CreateApplicationVersionInput { - s.ApplicationId = &v - return s -} - -// SetSemanticVersion sets the SemanticVersion field's value. -func (s *CreateApplicationVersionInput) SetSemanticVersion(v string) *CreateApplicationVersionInput { - s.SemanticVersion = &v - return s -} - -// SetSourceCodeUrl sets the SourceCodeUrl field's value. -func (s *CreateApplicationVersionInput) SetSourceCodeUrl(v string) *CreateApplicationVersionInput { - s.SourceCodeUrl = &v - return s -} - -// SetTemplateBody sets the TemplateBody field's value. -func (s *CreateApplicationVersionInput) SetTemplateBody(v string) *CreateApplicationVersionInput { - s.TemplateBody = &v - return s -} - -// SetTemplateUrl sets the TemplateUrl field's value. -func (s *CreateApplicationVersionInput) SetTemplateUrl(v string) *CreateApplicationVersionInput { - s.TemplateUrl = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationVersionResponse type CreateApplicationVersionOutput struct { _ struct{} `type:"structure"` @@ -906,42 +678,6 @@ func (s CreateApplicationVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationId sets the ApplicationId field's value. -func (s *CreateApplicationVersionOutput) SetApplicationId(v string) *CreateApplicationVersionOutput { - s.ApplicationId = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *CreateApplicationVersionOutput) SetCreationTime(v string) *CreateApplicationVersionOutput { - s.CreationTime = &v - return s -} - -// SetParameterDefinitions sets the ParameterDefinitions field's value. -func (s *CreateApplicationVersionOutput) SetParameterDefinitions(v []ParameterDefinition) *CreateApplicationVersionOutput { - s.ParameterDefinitions = v - return s -} - -// SetSemanticVersion sets the SemanticVersion field's value. -func (s *CreateApplicationVersionOutput) SetSemanticVersion(v string) *CreateApplicationVersionOutput { - s.SemanticVersion = &v - return s -} - -// SetSourceCodeUrl sets the SourceCodeUrl field's value. -func (s *CreateApplicationVersionOutput) SetSourceCodeUrl(v string) *CreateApplicationVersionOutput { - s.SourceCodeUrl = &v - return s -} - -// SetTemplateUrl sets the TemplateUrl field's value. -func (s *CreateApplicationVersionOutput) SetTemplateUrl(v string) *CreateApplicationVersionOutput { - s.TemplateUrl = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationChangeSetRequest type CreateCloudFormationChangeSetInput struct { _ struct{} `type:"structure"` @@ -980,30 +716,6 @@ func (s *CreateCloudFormationChangeSetInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *CreateCloudFormationChangeSetInput) SetApplicationId(v string) *CreateCloudFormationChangeSetInput { - s.ApplicationId = &v - return s -} - -// SetParameterOverrides sets the ParameterOverrides field's value. -func (s *CreateCloudFormationChangeSetInput) SetParameterOverrides(v []ParameterValue) *CreateCloudFormationChangeSetInput { - s.ParameterOverrides = v - return s -} - -// SetSemanticVersion sets the SemanticVersion field's value. -func (s *CreateCloudFormationChangeSetInput) SetSemanticVersion(v string) *CreateCloudFormationChangeSetInput { - s.SemanticVersion = &v - return s -} - -// SetStackName sets the StackName field's value. -func (s *CreateCloudFormationChangeSetInput) SetStackName(v string) *CreateCloudFormationChangeSetInput { - s.StackName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationChangeSetResponse type CreateCloudFormationChangeSetOutput struct { _ struct{} `type:"structure"` @@ -1034,30 +746,6 @@ func (s CreateCloudFormationChangeSetOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetApplicationId sets the ApplicationId field's value. -func (s *CreateCloudFormationChangeSetOutput) SetApplicationId(v string) *CreateCloudFormationChangeSetOutput { - s.ApplicationId = &v - return s -} - -// SetChangeSetId sets the ChangeSetId field's value. -func (s *CreateCloudFormationChangeSetOutput) SetChangeSetId(v string) *CreateCloudFormationChangeSetOutput { - s.ChangeSetId = &v - return s -} - -// SetSemanticVersion sets the SemanticVersion field's value. -func (s *CreateCloudFormationChangeSetOutput) SetSemanticVersion(v string) *CreateCloudFormationChangeSetOutput { - s.SemanticVersion = &v - return s -} - -// SetStackId sets the StackId field's value. -func (s *CreateCloudFormationChangeSetOutput) SetStackId(v string) *CreateCloudFormationChangeSetOutput { - s.StackId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplicationRequest type GetApplicationInput struct { _ struct{} `type:"structure"` @@ -1092,18 +780,6 @@ func (s *GetApplicationInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetApplicationInput) SetApplicationId(v string) *GetApplicationInput { - s.ApplicationId = &v - return s -} - -// SetSemanticVersion sets the SemanticVersion field's value. -func (s *GetApplicationInput) SetSemanticVersion(v string) *GetApplicationInput { - s.SemanticVersion = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplicationResponse type GetApplicationOutput struct { _ struct{} `type:"structure"` @@ -1147,66 +823,6 @@ func (s GetApplicationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetApplicationOutput) SetApplicationId(v string) *GetApplicationOutput { - s.ApplicationId = &v - return s -} - -// SetAuthor sets the Author field's value. -func (s *GetApplicationOutput) SetAuthor(v string) *GetApplicationOutput { - s.Author = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *GetApplicationOutput) SetCreationTime(v string) *GetApplicationOutput { - s.CreationTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *GetApplicationOutput) SetDescription(v string) *GetApplicationOutput { - s.Description = &v - return s -} - -// SetLabels sets the Labels field's value. -func (s *GetApplicationOutput) SetLabels(v []string) *GetApplicationOutput { - s.Labels = v - return s -} - -// SetLicenseUrl sets the LicenseUrl field's value. -func (s *GetApplicationOutput) SetLicenseUrl(v string) *GetApplicationOutput { - s.LicenseUrl = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetApplicationOutput) SetName(v string) *GetApplicationOutput { - s.Name = &v - return s -} - -// SetReadmeUrl sets the ReadmeUrl field's value. -func (s *GetApplicationOutput) SetReadmeUrl(v string) *GetApplicationOutput { - s.ReadmeUrl = &v - return s -} - -// SetSpdxLicenseId sets the SpdxLicenseId field's value. -func (s *GetApplicationOutput) SetSpdxLicenseId(v string) *GetApplicationOutput { - s.SpdxLicenseId = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *GetApplicationOutput) SetVersion(v *Version) *GetApplicationOutput { - s.Version = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplicationPolicyRequest type GetApplicationPolicyInput struct { _ struct{} `type:"structure"` @@ -1239,12 +855,6 @@ func (s *GetApplicationPolicyInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *GetApplicationPolicyInput) SetApplicationId(v string) *GetApplicationPolicyInput { - s.ApplicationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplicationPolicyResponse type GetApplicationPolicyOutput struct { _ struct{} `type:"structure"` @@ -1269,12 +879,6 @@ func (s GetApplicationPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStatements sets the Statements field's value. -func (s *GetApplicationPolicyOutput) SetStatements(v []ApplicationPolicyStatement) *GetApplicationPolicyOutput { - s.Statements = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationVersionsRequest type ListApplicationVersionsInput struct { _ struct{} `type:"structure"` @@ -1314,24 +918,6 @@ func (s *ListApplicationVersionsInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *ListApplicationVersionsInput) SetApplicationId(v string) *ListApplicationVersionsInput { - s.ApplicationId = &v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListApplicationVersionsInput) SetMaxItems(v int64) *ListApplicationVersionsInput { - s.MaxItems = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListApplicationVersionsInput) SetNextToken(v string) *ListApplicationVersionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationVersionsResponse type ListApplicationVersionsOutput struct { _ struct{} `type:"structure"` @@ -1358,18 +944,6 @@ func (s ListApplicationVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListApplicationVersionsOutput) SetNextToken(v string) *ListApplicationVersionsOutput { - s.NextToken = &v - return s -} - -// SetVersions sets the Versions field's value. -func (s *ListApplicationVersionsOutput) SetVersions(v []VersionSummary) *ListApplicationVersionsOutput { - s.Versions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationsRequest type ListApplicationsInput struct { _ struct{} `type:"structure"` @@ -1402,18 +976,6 @@ func (s *ListApplicationsInput) Validate() error { return nil } -// SetMaxItems sets the MaxItems field's value. -func (s *ListApplicationsInput) SetMaxItems(v int64) *ListApplicationsInput { - s.MaxItems = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListApplicationsInput) SetNextToken(v string) *ListApplicationsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationsResponse type ListApplicationsOutput struct { _ struct{} `type:"structure"` @@ -1440,18 +1002,6 @@ func (s ListApplicationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplications sets the Applications field's value. -func (s *ListApplicationsOutput) SetApplications(v []ApplicationSummary) *ListApplicationsOutput { - s.Applications = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListApplicationsOutput) SetNextToken(v string) *ListApplicationsOutput { - s.NextToken = &v - return s -} - // Parameters supported by the application. // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ParameterDefinition type ParameterDefinition struct { @@ -1536,84 +1086,6 @@ func (s ParameterDefinition) GoString() string { return s.String() } -// SetAllowedPattern sets the AllowedPattern field's value. -func (s *ParameterDefinition) SetAllowedPattern(v string) *ParameterDefinition { - s.AllowedPattern = &v - return s -} - -// SetAllowedValues sets the AllowedValues field's value. -func (s *ParameterDefinition) SetAllowedValues(v []string) *ParameterDefinition { - s.AllowedValues = v - return s -} - -// SetConstraintDescription sets the ConstraintDescription field's value. -func (s *ParameterDefinition) SetConstraintDescription(v string) *ParameterDefinition { - s.ConstraintDescription = &v - return s -} - -// SetDefaultValue sets the DefaultValue field's value. -func (s *ParameterDefinition) SetDefaultValue(v string) *ParameterDefinition { - s.DefaultValue = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ParameterDefinition) SetDescription(v string) *ParameterDefinition { - s.Description = &v - return s -} - -// SetMaxLength sets the MaxLength field's value. -func (s *ParameterDefinition) SetMaxLength(v int64) *ParameterDefinition { - s.MaxLength = &v - return s -} - -// SetMaxValue sets the MaxValue field's value. -func (s *ParameterDefinition) SetMaxValue(v int64) *ParameterDefinition { - s.MaxValue = &v - return s -} - -// SetMinLength sets the MinLength field's value. -func (s *ParameterDefinition) SetMinLength(v int64) *ParameterDefinition { - s.MinLength = &v - return s -} - -// SetMinValue sets the MinValue field's value. -func (s *ParameterDefinition) SetMinValue(v int64) *ParameterDefinition { - s.MinValue = &v - return s -} - -// SetName sets the Name field's value. -func (s *ParameterDefinition) SetName(v string) *ParameterDefinition { - s.Name = &v - return s -} - -// SetNoEcho sets the NoEcho field's value. -func (s *ParameterDefinition) SetNoEcho(v bool) *ParameterDefinition { - s.NoEcho = &v - return s -} - -// SetReferencedByResources sets the ReferencedByResources field's value. -func (s *ParameterDefinition) SetReferencedByResources(v []string) *ParameterDefinition { - s.ReferencedByResources = v - return s -} - -// SetType sets the Type field's value. -func (s *ParameterDefinition) SetType(v string) *ParameterDefinition { - s.Type = &v - return s -} - // Parameter value of the application. // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ParameterValue type ParameterValue struct { @@ -1638,18 +1110,6 @@ func (s ParameterValue) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *ParameterValue) SetName(v string) *ParameterValue { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *ParameterValue) SetValue(v string) *ParameterValue { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/PutApplicationPolicyRequest type PutApplicationPolicyInput struct { _ struct{} `type:"structure"` @@ -1684,18 +1144,6 @@ func (s *PutApplicationPolicyInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *PutApplicationPolicyInput) SetApplicationId(v string) *PutApplicationPolicyInput { - s.ApplicationId = &v - return s -} - -// SetStatements sets the Statements field's value. -func (s *PutApplicationPolicyInput) SetStatements(v []ApplicationPolicyStatement) *PutApplicationPolicyInput { - s.Statements = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/PutApplicationPolicyResponse type PutApplicationPolicyOutput struct { _ struct{} `type:"structure"` @@ -1720,12 +1168,6 @@ func (s PutApplicationPolicyOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStatements sets the Statements field's value. -func (s *PutApplicationPolicyOutput) SetStatements(v []ApplicationPolicyStatement) *PutApplicationPolicyOutput { - s.Statements = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UpdateApplicationRequest type UpdateApplicationInput struct { _ struct{} `type:"structure"` @@ -1768,42 +1210,6 @@ func (s *UpdateApplicationInput) Validate() error { return nil } -// SetApplicationId sets the ApplicationId field's value. -func (s *UpdateApplicationInput) SetApplicationId(v string) *UpdateApplicationInput { - s.ApplicationId = &v - return s -} - -// SetAuthor sets the Author field's value. -func (s *UpdateApplicationInput) SetAuthor(v string) *UpdateApplicationInput { - s.Author = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateApplicationInput) SetDescription(v string) *UpdateApplicationInput { - s.Description = &v - return s -} - -// SetLabels sets the Labels field's value. -func (s *UpdateApplicationInput) SetLabels(v []string) *UpdateApplicationInput { - s.Labels = v - return s -} - -// SetReadmeBody sets the ReadmeBody field's value. -func (s *UpdateApplicationInput) SetReadmeBody(v string) *UpdateApplicationInput { - s.ReadmeBody = &v - return s -} - -// SetReadmeUrl sets the ReadmeUrl field's value. -func (s *UpdateApplicationInput) SetReadmeUrl(v string) *UpdateApplicationInput { - s.ReadmeUrl = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UpdateApplicationResponse type UpdateApplicationOutput struct { _ struct{} `type:"structure"` @@ -1847,66 +1253,6 @@ func (s UpdateApplicationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApplicationId sets the ApplicationId field's value. -func (s *UpdateApplicationOutput) SetApplicationId(v string) *UpdateApplicationOutput { - s.ApplicationId = &v - return s -} - -// SetAuthor sets the Author field's value. -func (s *UpdateApplicationOutput) SetAuthor(v string) *UpdateApplicationOutput { - s.Author = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *UpdateApplicationOutput) SetCreationTime(v string) *UpdateApplicationOutput { - s.CreationTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateApplicationOutput) SetDescription(v string) *UpdateApplicationOutput { - s.Description = &v - return s -} - -// SetLabels sets the Labels field's value. -func (s *UpdateApplicationOutput) SetLabels(v []string) *UpdateApplicationOutput { - s.Labels = v - return s -} - -// SetLicenseUrl sets the LicenseUrl field's value. -func (s *UpdateApplicationOutput) SetLicenseUrl(v string) *UpdateApplicationOutput { - s.LicenseUrl = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateApplicationOutput) SetName(v string) *UpdateApplicationOutput { - s.Name = &v - return s -} - -// SetReadmeUrl sets the ReadmeUrl field's value. -func (s *UpdateApplicationOutput) SetReadmeUrl(v string) *UpdateApplicationOutput { - s.ReadmeUrl = &v - return s -} - -// SetSpdxLicenseId sets the SpdxLicenseId field's value. -func (s *UpdateApplicationOutput) SetSpdxLicenseId(v string) *UpdateApplicationOutput { - s.SpdxLicenseId = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *UpdateApplicationOutput) SetVersion(v *Version) *UpdateApplicationOutput { - s.Version = v - return s -} - // Application version details. // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/Version type Version struct { @@ -1941,42 +1287,6 @@ func (s Version) GoString() string { return s.String() } -// SetApplicationId sets the ApplicationId field's value. -func (s *Version) SetApplicationId(v string) *Version { - s.ApplicationId = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *Version) SetCreationTime(v string) *Version { - s.CreationTime = &v - return s -} - -// SetParameterDefinitions sets the ParameterDefinitions field's value. -func (s *Version) SetParameterDefinitions(v []ParameterDefinition) *Version { - s.ParameterDefinitions = v - return s -} - -// SetSemanticVersion sets the SemanticVersion field's value. -func (s *Version) SetSemanticVersion(v string) *Version { - s.SemanticVersion = &v - return s -} - -// SetSourceCodeUrl sets the SourceCodeUrl field's value. -func (s *Version) SetSourceCodeUrl(v string) *Version { - s.SourceCodeUrl = &v - return s -} - -// SetTemplateUrl sets the TemplateUrl field's value. -func (s *Version) SetTemplateUrl(v string) *Version { - s.TemplateUrl = &v - return s -} - // Application version summary. // Please also see https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/VersionSummary type VersionSummary struct { @@ -2004,27 +1314,3 @@ func (s VersionSummary) String() string { func (s VersionSummary) GoString() string { return s.String() } - -// SetApplicationId sets the ApplicationId field's value. -func (s *VersionSummary) SetApplicationId(v string) *VersionSummary { - s.ApplicationId = &v - return s -} - -// SetCreationTime sets the CreationTime field's value. -func (s *VersionSummary) SetCreationTime(v string) *VersionSummary { - s.CreationTime = &v - return s -} - -// SetSemanticVersion sets the SemanticVersion field's value. -func (s *VersionSummary) SetSemanticVersion(v string) *VersionSummary { - s.SemanticVersion = &v - return s -} - -// SetSourceCodeUrl sets the SourceCodeUrl field's value. -func (s *VersionSummary) SetSourceCodeUrl(v string) *VersionSummary { - s.SourceCodeUrl = &v - return s -} diff --git a/service/servicecatalog/api.go b/service/servicecatalog/api.go index 2c5e119c1a5..fd51ba2190b 100644 --- a/service/servicecatalog/api.go +++ b/service/servicecatalog/api.go @@ -3279,18 +3279,6 @@ func (s *AcceptPortfolioShareInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *AcceptPortfolioShareInput) SetAcceptLanguage(v string) *AcceptPortfolioShareInput { - s.AcceptLanguage = &v - return s -} - -// SetPortfolioId sets the PortfolioId field's value. -func (s *AcceptPortfolioShareInput) SetPortfolioId(v string) *AcceptPortfolioShareInput { - s.PortfolioId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AcceptPortfolioShareOutput type AcceptPortfolioShareOutput struct { _ struct{} `type:"structure"` @@ -3341,18 +3329,6 @@ func (s AccessLevelFilter) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *AccessLevelFilter) SetKey(v AccessLevelFilterKey) *AccessLevelFilter { - s.Key = v - return s -} - -// SetValue sets the Value field's value. -func (s *AccessLevelFilter) SetValue(v string) *AccessLevelFilter { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociatePrincipalWithPortfolioInput type AssociatePrincipalWithPortfolioInput struct { _ struct{} `type:"structure"` @@ -3419,30 +3395,6 @@ func (s *AssociatePrincipalWithPortfolioInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *AssociatePrincipalWithPortfolioInput) SetAcceptLanguage(v string) *AssociatePrincipalWithPortfolioInput { - s.AcceptLanguage = &v - return s -} - -// SetPortfolioId sets the PortfolioId field's value. -func (s *AssociatePrincipalWithPortfolioInput) SetPortfolioId(v string) *AssociatePrincipalWithPortfolioInput { - s.PortfolioId = &v - return s -} - -// SetPrincipalARN sets the PrincipalARN field's value. -func (s *AssociatePrincipalWithPortfolioInput) SetPrincipalARN(v string) *AssociatePrincipalWithPortfolioInput { - s.PrincipalARN = &v - return s -} - -// SetPrincipalType sets the PrincipalType field's value. -func (s *AssociatePrincipalWithPortfolioInput) SetPrincipalType(v PrincipalType) *AssociatePrincipalWithPortfolioInput { - s.PrincipalType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociatePrincipalWithPortfolioOutput type AssociatePrincipalWithPortfolioOutput struct { _ struct{} `type:"structure"` @@ -3529,30 +3481,6 @@ func (s *AssociateProductWithPortfolioInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *AssociateProductWithPortfolioInput) SetAcceptLanguage(v string) *AssociateProductWithPortfolioInput { - s.AcceptLanguage = &v - return s -} - -// SetPortfolioId sets the PortfolioId field's value. -func (s *AssociateProductWithPortfolioInput) SetPortfolioId(v string) *AssociateProductWithPortfolioInput { - s.PortfolioId = &v - return s -} - -// SetProductId sets the ProductId field's value. -func (s *AssociateProductWithPortfolioInput) SetProductId(v string) *AssociateProductWithPortfolioInput { - s.ProductId = &v - return s -} - -// SetSourcePortfolioId sets the SourcePortfolioId field's value. -func (s *AssociateProductWithPortfolioInput) SetSourcePortfolioId(v string) *AssociateProductWithPortfolioInput { - s.SourcePortfolioId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateProductWithPortfolioOutput type AssociateProductWithPortfolioOutput struct { _ struct{} `type:"structure"` @@ -3621,18 +3549,6 @@ func (s *AssociateTagOptionWithResourceInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *AssociateTagOptionWithResourceInput) SetResourceId(v string) *AssociateTagOptionWithResourceInput { - s.ResourceId = &v - return s -} - -// SetTagOptionId sets the TagOptionId field's value. -func (s *AssociateTagOptionWithResourceInput) SetTagOptionId(v string) *AssociateTagOptionWithResourceInput { - s.TagOptionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateTagOptionWithResourceOutput type AssociateTagOptionWithResourceOutput struct { _ struct{} `type:"structure"` @@ -3689,30 +3605,6 @@ func (s ConstraintDetail) GoString() string { return s.String() } -// SetConstraintId sets the ConstraintId field's value. -func (s *ConstraintDetail) SetConstraintId(v string) *ConstraintDetail { - s.ConstraintId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ConstraintDetail) SetDescription(v string) *ConstraintDetail { - s.Description = &v - return s -} - -// SetOwner sets the Owner field's value. -func (s *ConstraintDetail) SetOwner(v string) *ConstraintDetail { - s.Owner = &v - return s -} - -// SetType sets the Type field's value. -func (s *ConstraintDetail) SetType(v string) *ConstraintDetail { - s.Type = &v - return s -} - // Summary information about a constraint. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ConstraintSummary type ConstraintSummary struct { @@ -3741,18 +3633,6 @@ func (s ConstraintSummary) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *ConstraintSummary) SetDescription(v string) *ConstraintSummary { - s.Description = &v - return s -} - -// SetType sets the Type field's value. -func (s *ConstraintSummary) SetType(v string) *ConstraintSummary { - s.Type = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CopyProductInput type CopyProductInput struct { _ struct{} `type:"structure"` @@ -3830,48 +3710,6 @@ func (s *CopyProductInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *CopyProductInput) SetAcceptLanguage(v string) *CopyProductInput { - s.AcceptLanguage = &v - return s -} - -// SetCopyOptions sets the CopyOptions field's value. -func (s *CopyProductInput) SetCopyOptions(v []CopyOption) *CopyProductInput { - s.CopyOptions = v - return s -} - -// SetIdempotencyToken sets the IdempotencyToken field's value. -func (s *CopyProductInput) SetIdempotencyToken(v string) *CopyProductInput { - s.IdempotencyToken = &v - return s -} - -// SetSourceProductArn sets the SourceProductArn field's value. -func (s *CopyProductInput) SetSourceProductArn(v string) *CopyProductInput { - s.SourceProductArn = &v - return s -} - -// SetSourceProvisioningArtifactIdentifiers sets the SourceProvisioningArtifactIdentifiers field's value. -func (s *CopyProductInput) SetSourceProvisioningArtifactIdentifiers(v []map[string]string) *CopyProductInput { - s.SourceProvisioningArtifactIdentifiers = v - return s -} - -// SetTargetProductId sets the TargetProductId field's value. -func (s *CopyProductInput) SetTargetProductId(v string) *CopyProductInput { - s.TargetProductId = &v - return s -} - -// SetTargetProductName sets the TargetProductName field's value. -func (s *CopyProductInput) SetTargetProductName(v string) *CopyProductInput { - s.TargetProductName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CopyProductOutput type CopyProductOutput struct { _ struct{} `type:"structure"` @@ -3897,12 +3735,6 @@ func (s CopyProductOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCopyProductToken sets the CopyProductToken field's value. -func (s *CopyProductOutput) SetCopyProductToken(v string) *CopyProductOutput { - s.CopyProductToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateConstraintInput type CreateConstraintInput struct { _ struct{} `type:"structure"` @@ -4017,48 +3849,6 @@ func (s *CreateConstraintInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *CreateConstraintInput) SetAcceptLanguage(v string) *CreateConstraintInput { - s.AcceptLanguage = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateConstraintInput) SetDescription(v string) *CreateConstraintInput { - s.Description = &v - return s -} - -// SetIdempotencyToken sets the IdempotencyToken field's value. -func (s *CreateConstraintInput) SetIdempotencyToken(v string) *CreateConstraintInput { - s.IdempotencyToken = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *CreateConstraintInput) SetParameters(v string) *CreateConstraintInput { - s.Parameters = &v - return s -} - -// SetPortfolioId sets the PortfolioId field's value. -func (s *CreateConstraintInput) SetPortfolioId(v string) *CreateConstraintInput { - s.PortfolioId = &v - return s -} - -// SetProductId sets the ProductId field's value. -func (s *CreateConstraintInput) SetProductId(v string) *CreateConstraintInput { - s.ProductId = &v - return s -} - -// SetType sets the Type field's value. -func (s *CreateConstraintInput) SetType(v string) *CreateConstraintInput { - s.Type = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateConstraintOutput type CreateConstraintOutput struct { _ struct{} `type:"structure"` @@ -4090,24 +3880,6 @@ func (s CreateConstraintOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConstraintDetail sets the ConstraintDetail field's value. -func (s *CreateConstraintOutput) SetConstraintDetail(v *ConstraintDetail) *CreateConstraintOutput { - s.ConstraintDetail = v - return s -} - -// SetConstraintParameters sets the ConstraintParameters field's value. -func (s *CreateConstraintOutput) SetConstraintParameters(v string) *CreateConstraintOutput { - s.ConstraintParameters = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *CreateConstraintOutput) SetStatus(v Status) *CreateConstraintOutput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioInput type CreatePortfolioInput struct { _ struct{} `type:"structure"` @@ -4193,42 +3965,6 @@ func (s *CreatePortfolioInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *CreatePortfolioInput) SetAcceptLanguage(v string) *CreatePortfolioInput { - s.AcceptLanguage = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreatePortfolioInput) SetDescription(v string) *CreatePortfolioInput { - s.Description = &v - return s -} - -// SetDisplayName sets the DisplayName field's value. -func (s *CreatePortfolioInput) SetDisplayName(v string) *CreatePortfolioInput { - s.DisplayName = &v - return s -} - -// SetIdempotencyToken sets the IdempotencyToken field's value. -func (s *CreatePortfolioInput) SetIdempotencyToken(v string) *CreatePortfolioInput { - s.IdempotencyToken = &v - return s -} - -// SetProviderName sets the ProviderName field's value. -func (s *CreatePortfolioInput) SetProviderName(v string) *CreatePortfolioInput { - s.ProviderName = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreatePortfolioInput) SetTags(v []Tag) *CreatePortfolioInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioOutput type CreatePortfolioOutput struct { _ struct{} `type:"structure"` @@ -4257,18 +3993,6 @@ func (s CreatePortfolioOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPortfolioDetail sets the PortfolioDetail field's value. -func (s *CreatePortfolioOutput) SetPortfolioDetail(v *PortfolioDetail) *CreatePortfolioOutput { - s.PortfolioDetail = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreatePortfolioOutput) SetTags(v []Tag) *CreatePortfolioOutput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShareInput type CreatePortfolioShareInput struct { _ struct{} `type:"structure"` @@ -4324,24 +4048,6 @@ func (s *CreatePortfolioShareInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *CreatePortfolioShareInput) SetAcceptLanguage(v string) *CreatePortfolioShareInput { - s.AcceptLanguage = &v - return s -} - -// SetAccountId sets the AccountId field's value. -func (s *CreatePortfolioShareInput) SetAccountId(v string) *CreatePortfolioShareInput { - s.AccountId = &v - return s -} - -// SetPortfolioId sets the PortfolioId field's value. -func (s *CreatePortfolioShareInput) SetPortfolioId(v string) *CreatePortfolioShareInput { - s.PortfolioId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShareOutput type CreatePortfolioShareOutput struct { _ struct{} `type:"structure"` @@ -4477,78 +4183,6 @@ func (s *CreateProductInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *CreateProductInput) SetAcceptLanguage(v string) *CreateProductInput { - s.AcceptLanguage = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateProductInput) SetDescription(v string) *CreateProductInput { - s.Description = &v - return s -} - -// SetDistributor sets the Distributor field's value. -func (s *CreateProductInput) SetDistributor(v string) *CreateProductInput { - s.Distributor = &v - return s -} - -// SetIdempotencyToken sets the IdempotencyToken field's value. -func (s *CreateProductInput) SetIdempotencyToken(v string) *CreateProductInput { - s.IdempotencyToken = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateProductInput) SetName(v string) *CreateProductInput { - s.Name = &v - return s -} - -// SetOwner sets the Owner field's value. -func (s *CreateProductInput) SetOwner(v string) *CreateProductInput { - s.Owner = &v - return s -} - -// SetProductType sets the ProductType field's value. -func (s *CreateProductInput) SetProductType(v ProductType) *CreateProductInput { - s.ProductType = v - return s -} - -// SetProvisioningArtifactParameters sets the ProvisioningArtifactParameters field's value. -func (s *CreateProductInput) SetProvisioningArtifactParameters(v *ProvisioningArtifactProperties) *CreateProductInput { - s.ProvisioningArtifactParameters = v - return s -} - -// SetSupportDescription sets the SupportDescription field's value. -func (s *CreateProductInput) SetSupportDescription(v string) *CreateProductInput { - s.SupportDescription = &v - return s -} - -// SetSupportEmail sets the SupportEmail field's value. -func (s *CreateProductInput) SetSupportEmail(v string) *CreateProductInput { - s.SupportEmail = &v - return s -} - -// SetSupportUrl sets the SupportUrl field's value. -func (s *CreateProductInput) SetSupportUrl(v string) *CreateProductInput { - s.SupportUrl = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateProductInput) SetTags(v []Tag) *CreateProductInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProductOutput type CreateProductOutput struct { _ struct{} `type:"structure"` @@ -4580,24 +4214,6 @@ func (s CreateProductOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetProductViewDetail sets the ProductViewDetail field's value. -func (s *CreateProductOutput) SetProductViewDetail(v *ProductViewDetail) *CreateProductOutput { - s.ProductViewDetail = v - return s -} - -// SetProvisioningArtifactDetail sets the ProvisioningArtifactDetail field's value. -func (s *CreateProductOutput) SetProvisioningArtifactDetail(v *ProvisioningArtifactDetail) *CreateProductOutput { - s.ProvisioningArtifactDetail = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateProductOutput) SetTags(v []Tag) *CreateProductOutput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProvisioningArtifactInput type CreateProvisioningArtifactInput struct { _ struct{} `type:"structure"` @@ -4672,30 +4288,6 @@ func (s *CreateProvisioningArtifactInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *CreateProvisioningArtifactInput) SetAcceptLanguage(v string) *CreateProvisioningArtifactInput { - s.AcceptLanguage = &v - return s -} - -// SetIdempotencyToken sets the IdempotencyToken field's value. -func (s *CreateProvisioningArtifactInput) SetIdempotencyToken(v string) *CreateProvisioningArtifactInput { - s.IdempotencyToken = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *CreateProvisioningArtifactInput) SetParameters(v *ProvisioningArtifactProperties) *CreateProvisioningArtifactInput { - s.Parameters = v - return s -} - -// SetProductId sets the ProductId field's value. -func (s *CreateProvisioningArtifactInput) SetProductId(v string) *CreateProvisioningArtifactInput { - s.ProductId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProvisioningArtifactOutput type CreateProvisioningArtifactOutput struct { _ struct{} `type:"structure"` @@ -4727,24 +4319,6 @@ func (s CreateProvisioningArtifactOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInfo sets the Info field's value. -func (s *CreateProvisioningArtifactOutput) SetInfo(v map[string]string) *CreateProvisioningArtifactOutput { - s.Info = v - return s -} - -// SetProvisioningArtifactDetail sets the ProvisioningArtifactDetail field's value. -func (s *CreateProvisioningArtifactOutput) SetProvisioningArtifactDetail(v *ProvisioningArtifactDetail) *CreateProvisioningArtifactOutput { - s.ProvisioningArtifactDetail = v - return s -} - -// SetStatus sets the Status field's value. -func (s *CreateProvisioningArtifactOutput) SetStatus(v Status) *CreateProvisioningArtifactOutput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateTagOptionInput type CreateTagOptionInput struct { _ struct{} `type:"structure"` @@ -4794,18 +4368,6 @@ func (s *CreateTagOptionInput) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *CreateTagOptionInput) SetKey(v string) *CreateTagOptionInput { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *CreateTagOptionInput) SetValue(v string) *CreateTagOptionInput { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateTagOptionOutput type CreateTagOptionOutput struct { _ struct{} `type:"structure"` @@ -4831,12 +4393,6 @@ func (s CreateTagOptionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTagOptionDetail sets the TagOptionDetail field's value. -func (s *CreateTagOptionOutput) SetTagOptionDetail(v *TagOptionDetail) *CreateTagOptionOutput { - s.TagOptionDetail = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteConstraintInput type DeleteConstraintInput struct { _ struct{} `type:"structure"` @@ -4883,18 +4439,6 @@ func (s *DeleteConstraintInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *DeleteConstraintInput) SetAcceptLanguage(v string) *DeleteConstraintInput { - s.AcceptLanguage = &v - return s -} - -// SetId sets the Id field's value. -func (s *DeleteConstraintInput) SetId(v string) *DeleteConstraintInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteConstraintOutput type DeleteConstraintOutput struct { _ struct{} `type:"structure"` @@ -4963,18 +4507,6 @@ func (s *DeletePortfolioInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *DeletePortfolioInput) SetAcceptLanguage(v string) *DeletePortfolioInput { - s.AcceptLanguage = &v - return s -} - -// SetId sets the Id field's value. -func (s *DeletePortfolioInput) SetId(v string) *DeletePortfolioInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioOutput type DeletePortfolioOutput struct { _ struct{} `type:"structure"` @@ -5052,24 +4584,6 @@ func (s *DeletePortfolioShareInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *DeletePortfolioShareInput) SetAcceptLanguage(v string) *DeletePortfolioShareInput { - s.AcceptLanguage = &v - return s -} - -// SetAccountId sets the AccountId field's value. -func (s *DeletePortfolioShareInput) SetAccountId(v string) *DeletePortfolioShareInput { - s.AccountId = &v - return s -} - -// SetPortfolioId sets the PortfolioId field's value. -func (s *DeletePortfolioShareInput) SetPortfolioId(v string) *DeletePortfolioShareInput { - s.PortfolioId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioShareOutput type DeletePortfolioShareOutput struct { _ struct{} `type:"structure"` @@ -5138,18 +4652,6 @@ func (s *DeleteProductInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *DeleteProductInput) SetAcceptLanguage(v string) *DeleteProductInput { - s.AcceptLanguage = &v - return s -} - -// SetId sets the Id field's value. -func (s *DeleteProductInput) SetId(v string) *DeleteProductInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProductOutput type DeleteProductOutput struct { _ struct{} `type:"structure"` @@ -5230,24 +4732,6 @@ func (s *DeleteProvisioningArtifactInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *DeleteProvisioningArtifactInput) SetAcceptLanguage(v string) *DeleteProvisioningArtifactInput { - s.AcceptLanguage = &v - return s -} - -// SetProductId sets the ProductId field's value. -func (s *DeleteProvisioningArtifactInput) SetProductId(v string) *DeleteProvisioningArtifactInput { - s.ProductId = &v - return s -} - -// SetProvisioningArtifactId sets the ProvisioningArtifactId field's value. -func (s *DeleteProvisioningArtifactInput) SetProvisioningArtifactId(v string) *DeleteProvisioningArtifactInput { - s.ProvisioningArtifactId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProvisioningArtifactOutput type DeleteProvisioningArtifactOutput struct { _ struct{} `type:"structure"` @@ -5316,18 +4800,6 @@ func (s *DescribeConstraintInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *DescribeConstraintInput) SetAcceptLanguage(v string) *DescribeConstraintInput { - s.AcceptLanguage = &v - return s -} - -// SetId sets the Id field's value. -func (s *DescribeConstraintInput) SetId(v string) *DescribeConstraintInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeConstraintOutput type DescribeConstraintOutput struct { _ struct{} `type:"structure"` @@ -5359,24 +4831,6 @@ func (s DescribeConstraintOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConstraintDetail sets the ConstraintDetail field's value. -func (s *DescribeConstraintOutput) SetConstraintDetail(v *ConstraintDetail) *DescribeConstraintOutput { - s.ConstraintDetail = v - return s -} - -// SetConstraintParameters sets the ConstraintParameters field's value. -func (s *DescribeConstraintOutput) SetConstraintParameters(v string) *DescribeConstraintOutput { - s.ConstraintParameters = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DescribeConstraintOutput) SetStatus(v Status) *DescribeConstraintOutput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeCopyProductStatusInput type DescribeCopyProductStatusInput struct { _ struct{} `type:"structure"` @@ -5423,18 +4877,6 @@ func (s *DescribeCopyProductStatusInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *DescribeCopyProductStatusInput) SetAcceptLanguage(v string) *DescribeCopyProductStatusInput { - s.AcceptLanguage = &v - return s -} - -// SetCopyProductToken sets the CopyProductToken field's value. -func (s *DescribeCopyProductStatusInput) SetCopyProductToken(v string) *DescribeCopyProductStatusInput { - s.CopyProductToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeCopyProductStatusOutput type DescribeCopyProductStatusOutput struct { _ struct{} `type:"structure"` @@ -5466,24 +4908,6 @@ func (s DescribeCopyProductStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCopyProductStatus sets the CopyProductStatus field's value. -func (s *DescribeCopyProductStatusOutput) SetCopyProductStatus(v CopyProductStatus) *DescribeCopyProductStatusOutput { - s.CopyProductStatus = v - return s -} - -// SetStatusDetail sets the StatusDetail field's value. -func (s *DescribeCopyProductStatusOutput) SetStatusDetail(v string) *DescribeCopyProductStatusOutput { - s.StatusDetail = &v - return s -} - -// SetTargetProductId sets the TargetProductId field's value. -func (s *DescribeCopyProductStatusOutput) SetTargetProductId(v string) *DescribeCopyProductStatusOutput { - s.TargetProductId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioInput type DescribePortfolioInput struct { _ struct{} `type:"structure"` @@ -5530,18 +4954,6 @@ func (s *DescribePortfolioInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *DescribePortfolioInput) SetAcceptLanguage(v string) *DescribePortfolioInput { - s.AcceptLanguage = &v - return s -} - -// SetId sets the Id field's value. -func (s *DescribePortfolioInput) SetId(v string) *DescribePortfolioInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioOutput type DescribePortfolioOutput struct { _ struct{} `type:"structure"` @@ -5573,24 +4985,6 @@ func (s DescribePortfolioOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPortfolioDetail sets the PortfolioDetail field's value. -func (s *DescribePortfolioOutput) SetPortfolioDetail(v *PortfolioDetail) *DescribePortfolioOutput { - s.PortfolioDetail = v - return s -} - -// SetTagOptions sets the TagOptions field's value. -func (s *DescribePortfolioOutput) SetTagOptions(v []TagOptionDetail) *DescribePortfolioOutput { - s.TagOptions = v - return s -} - -// SetTags sets the Tags field's value. -func (s *DescribePortfolioOutput) SetTags(v []Tag) *DescribePortfolioOutput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdminInput type DescribeProductAsAdminInput struct { _ struct{} `type:"structure"` @@ -5637,18 +5031,6 @@ func (s *DescribeProductAsAdminInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *DescribeProductAsAdminInput) SetAcceptLanguage(v string) *DescribeProductAsAdminInput { - s.AcceptLanguage = &v - return s -} - -// SetId sets the Id field's value. -func (s *DescribeProductAsAdminInput) SetId(v string) *DescribeProductAsAdminInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdminOutput type DescribeProductAsAdminOutput struct { _ struct{} `type:"structure"` @@ -5684,30 +5066,6 @@ func (s DescribeProductAsAdminOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetProductViewDetail sets the ProductViewDetail field's value. -func (s *DescribeProductAsAdminOutput) SetProductViewDetail(v *ProductViewDetail) *DescribeProductAsAdminOutput { - s.ProductViewDetail = v - return s -} - -// SetProvisioningArtifactSummaries sets the ProvisioningArtifactSummaries field's value. -func (s *DescribeProductAsAdminOutput) SetProvisioningArtifactSummaries(v []ProvisioningArtifactSummary) *DescribeProductAsAdminOutput { - s.ProvisioningArtifactSummaries = v - return s -} - -// SetTagOptions sets the TagOptions field's value. -func (s *DescribeProductAsAdminOutput) SetTagOptions(v []TagOptionDetail) *DescribeProductAsAdminOutput { - s.TagOptions = v - return s -} - -// SetTags sets the Tags field's value. -func (s *DescribeProductAsAdminOutput) SetTags(v []Tag) *DescribeProductAsAdminOutput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductInput type DescribeProductInput struct { _ struct{} `type:"structure"` @@ -5754,18 +5112,6 @@ func (s *DescribeProductInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *DescribeProductInput) SetAcceptLanguage(v string) *DescribeProductInput { - s.AcceptLanguage = &v - return s -} - -// SetId sets the Id field's value. -func (s *DescribeProductInput) SetId(v string) *DescribeProductInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductOutput type DescribeProductOutput struct { _ struct{} `type:"structure"` @@ -5794,18 +5140,6 @@ func (s DescribeProductOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetProductViewSummary sets the ProductViewSummary field's value. -func (s *DescribeProductOutput) SetProductViewSummary(v *ProductViewSummary) *DescribeProductOutput { - s.ProductViewSummary = v - return s -} - -// SetProvisioningArtifacts sets the ProvisioningArtifacts field's value. -func (s *DescribeProductOutput) SetProvisioningArtifacts(v []ProvisioningArtifact) *DescribeProductOutput { - s.ProvisioningArtifacts = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductViewInput type DescribeProductViewInput struct { _ struct{} `type:"structure"` @@ -5852,18 +5186,6 @@ func (s *DescribeProductViewInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *DescribeProductViewInput) SetAcceptLanguage(v string) *DescribeProductViewInput { - s.AcceptLanguage = &v - return s -} - -// SetId sets the Id field's value. -func (s *DescribeProductViewInput) SetId(v string) *DescribeProductViewInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductViewOutput type DescribeProductViewOutput struct { _ struct{} `type:"structure"` @@ -5892,18 +5214,6 @@ func (s DescribeProductViewOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetProductViewSummary sets the ProductViewSummary field's value. -func (s *DescribeProductViewOutput) SetProductViewSummary(v *ProductViewSummary) *DescribeProductViewOutput { - s.ProductViewSummary = v - return s -} - -// SetProvisioningArtifacts sets the ProvisioningArtifacts field's value. -func (s *DescribeProductViewOutput) SetProvisioningArtifacts(v []ProvisioningArtifact) *DescribeProductViewOutput { - s.ProvisioningArtifacts = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisionedProductInput type DescribeProvisionedProductInput struct { _ struct{} `type:"structure"` @@ -5950,18 +5260,6 @@ func (s *DescribeProvisionedProductInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *DescribeProvisionedProductInput) SetAcceptLanguage(v string) *DescribeProvisionedProductInput { - s.AcceptLanguage = &v - return s -} - -// SetId sets the Id field's value. -func (s *DescribeProvisionedProductInput) SetId(v string) *DescribeProvisionedProductInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisionedProductOutput type DescribeProvisionedProductOutput struct { _ struct{} `type:"structure"` @@ -5987,12 +5285,6 @@ func (s DescribeProvisionedProductOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetProvisionedProductDetail sets the ProvisionedProductDetail field's value. -func (s *DescribeProvisionedProductOutput) SetProvisionedProductDetail(v *ProvisionedProductDetail) *DescribeProvisionedProductOutput { - s.ProvisionedProductDetail = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningArtifactInput type DescribeProvisioningArtifactInput struct { _ struct{} `type:"structure"` @@ -6054,30 +5346,6 @@ func (s *DescribeProvisioningArtifactInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *DescribeProvisioningArtifactInput) SetAcceptLanguage(v string) *DescribeProvisioningArtifactInput { - s.AcceptLanguage = &v - return s -} - -// SetProductId sets the ProductId field's value. -func (s *DescribeProvisioningArtifactInput) SetProductId(v string) *DescribeProvisioningArtifactInput { - s.ProductId = &v - return s -} - -// SetProvisioningArtifactId sets the ProvisioningArtifactId field's value. -func (s *DescribeProvisioningArtifactInput) SetProvisioningArtifactId(v string) *DescribeProvisioningArtifactInput { - s.ProvisioningArtifactId = &v - return s -} - -// SetVerbose sets the Verbose field's value. -func (s *DescribeProvisioningArtifactInput) SetVerbose(v bool) *DescribeProvisioningArtifactInput { - s.Verbose = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningArtifactOutput type DescribeProvisioningArtifactOutput struct { _ struct{} `type:"structure"` @@ -6109,24 +5377,6 @@ func (s DescribeProvisioningArtifactOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInfo sets the Info field's value. -func (s *DescribeProvisioningArtifactOutput) SetInfo(v map[string]string) *DescribeProvisioningArtifactOutput { - s.Info = v - return s -} - -// SetProvisioningArtifactDetail sets the ProvisioningArtifactDetail field's value. -func (s *DescribeProvisioningArtifactOutput) SetProvisioningArtifactDetail(v *ProvisioningArtifactDetail) *DescribeProvisioningArtifactOutput { - s.ProvisioningArtifactDetail = v - return s -} - -// SetStatus sets the Status field's value. -func (s *DescribeProvisioningArtifactOutput) SetStatus(v Status) *DescribeProvisioningArtifactOutput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningParametersInput type DescribeProvisioningParametersInput struct { _ struct{} `type:"structure"` @@ -6193,35 +5443,11 @@ func (s *DescribeProvisioningParametersInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *DescribeProvisioningParametersInput) SetAcceptLanguage(v string) *DescribeProvisioningParametersInput { - s.AcceptLanguage = &v - return s -} +// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningParametersOutput +type DescribeProvisioningParametersOutput struct { + _ struct{} `type:"structure"` -// SetPathId sets the PathId field's value. -func (s *DescribeProvisioningParametersInput) SetPathId(v string) *DescribeProvisioningParametersInput { - s.PathId = &v - return s -} - -// SetProductId sets the ProductId field's value. -func (s *DescribeProvisioningParametersInput) SetProductId(v string) *DescribeProvisioningParametersInput { - s.ProductId = &v - return s -} - -// SetProvisioningArtifactId sets the ProvisioningArtifactId field's value. -func (s *DescribeProvisioningParametersInput) SetProvisioningArtifactId(v string) *DescribeProvisioningParametersInput { - s.ProvisioningArtifactId = &v - return s -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningParametersOutput -type DescribeProvisioningParametersOutput struct { - _ struct{} `type:"structure"` - - responseMetadata aws.Response + responseMetadata aws.Response // Information about the constraints used to provision the product. ConstraintSummaries []ConstraintSummary `type:"list"` @@ -6252,30 +5478,6 @@ func (s DescribeProvisioningParametersOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetConstraintSummaries sets the ConstraintSummaries field's value. -func (s *DescribeProvisioningParametersOutput) SetConstraintSummaries(v []ConstraintSummary) *DescribeProvisioningParametersOutput { - s.ConstraintSummaries = v - return s -} - -// SetProvisioningArtifactParameters sets the ProvisioningArtifactParameters field's value. -func (s *DescribeProvisioningParametersOutput) SetProvisioningArtifactParameters(v []ProvisioningArtifactParameter) *DescribeProvisioningParametersOutput { - s.ProvisioningArtifactParameters = v - return s -} - -// SetTagOptions sets the TagOptions field's value. -func (s *DescribeProvisioningParametersOutput) SetTagOptions(v []TagOptionSummary) *DescribeProvisioningParametersOutput { - s.TagOptions = v - return s -} - -// SetUsageInstructions sets the UsageInstructions field's value. -func (s *DescribeProvisioningParametersOutput) SetUsageInstructions(v []UsageInstruction) *DescribeProvisioningParametersOutput { - s.UsageInstructions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeRecordInput type DescribeRecordInput struct { _ struct{} `type:"structure"` @@ -6330,30 +5532,6 @@ func (s *DescribeRecordInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *DescribeRecordInput) SetAcceptLanguage(v string) *DescribeRecordInput { - s.AcceptLanguage = &v - return s -} - -// SetId sets the Id field's value. -func (s *DescribeRecordInput) SetId(v string) *DescribeRecordInput { - s.Id = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *DescribeRecordInput) SetPageSize(v int64) *DescribeRecordInput { - s.PageSize = &v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *DescribeRecordInput) SetPageToken(v string) *DescribeRecordInput { - s.PageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeRecordOutput type DescribeRecordOutput struct { _ struct{} `type:"structure"` @@ -6388,24 +5566,6 @@ func (s DescribeRecordOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextPageToken sets the NextPageToken field's value. -func (s *DescribeRecordOutput) SetNextPageToken(v string) *DescribeRecordOutput { - s.NextPageToken = &v - return s -} - -// SetRecordDetail sets the RecordDetail field's value. -func (s *DescribeRecordOutput) SetRecordDetail(v *RecordDetail) *DescribeRecordOutput { - s.RecordDetail = v - return s -} - -// SetRecordOutputs sets the RecordOutputs field's value. -func (s *DescribeRecordOutput) SetRecordOutputs(v []RecordOutput) *DescribeRecordOutput { - s.RecordOutputs = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeTagOptionInput type DescribeTagOptionInput struct { _ struct{} `type:"structure"` @@ -6443,12 +5603,6 @@ func (s *DescribeTagOptionInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DescribeTagOptionInput) SetId(v string) *DescribeTagOptionInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeTagOptionOutput type DescribeTagOptionOutput struct { _ struct{} `type:"structure"` @@ -6474,12 +5628,6 @@ func (s DescribeTagOptionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTagOptionDetail sets the TagOptionDetail field's value. -func (s *DescribeTagOptionOutput) SetTagOptionDetail(v *TagOptionDetail) *DescribeTagOptionOutput { - s.TagOptionDetail = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociatePrincipalFromPortfolioInput type DisassociatePrincipalFromPortfolioInput struct { _ struct{} `type:"structure"` @@ -6538,24 +5686,6 @@ func (s *DisassociatePrincipalFromPortfolioInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *DisassociatePrincipalFromPortfolioInput) SetAcceptLanguage(v string) *DisassociatePrincipalFromPortfolioInput { - s.AcceptLanguage = &v - return s -} - -// SetPortfolioId sets the PortfolioId field's value. -func (s *DisassociatePrincipalFromPortfolioInput) SetPortfolioId(v string) *DisassociatePrincipalFromPortfolioInput { - s.PortfolioId = &v - return s -} - -// SetPrincipalARN sets the PrincipalARN field's value. -func (s *DisassociatePrincipalFromPortfolioInput) SetPrincipalARN(v string) *DisassociatePrincipalFromPortfolioInput { - s.PrincipalARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociatePrincipalFromPortfolioOutput type DisassociatePrincipalFromPortfolioOutput struct { _ struct{} `type:"structure"` @@ -6636,24 +5766,6 @@ func (s *DisassociateProductFromPortfolioInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *DisassociateProductFromPortfolioInput) SetAcceptLanguage(v string) *DisassociateProductFromPortfolioInput { - s.AcceptLanguage = &v - return s -} - -// SetPortfolioId sets the PortfolioId field's value. -func (s *DisassociateProductFromPortfolioInput) SetPortfolioId(v string) *DisassociateProductFromPortfolioInput { - s.PortfolioId = &v - return s -} - -// SetProductId sets the ProductId field's value. -func (s *DisassociateProductFromPortfolioInput) SetProductId(v string) *DisassociateProductFromPortfolioInput { - s.ProductId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateProductFromPortfolioOutput type DisassociateProductFromPortfolioOutput struct { _ struct{} `type:"structure"` @@ -6722,18 +5834,6 @@ func (s *DisassociateTagOptionFromResourceInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *DisassociateTagOptionFromResourceInput) SetResourceId(v string) *DisassociateTagOptionFromResourceInput { - s.ResourceId = &v - return s -} - -// SetTagOptionId sets the TagOptionId field's value. -func (s *DisassociateTagOptionFromResourceInput) SetTagOptionId(v string) *DisassociateTagOptionFromResourceInput { - s.TagOptionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateTagOptionFromResourceOutput type DisassociateTagOptionFromResourceOutput struct { _ struct{} `type:"structure"` @@ -6784,30 +5884,6 @@ func (s LaunchPathSummary) GoString() string { return s.String() } -// SetConstraintSummaries sets the ConstraintSummaries field's value. -func (s *LaunchPathSummary) SetConstraintSummaries(v []ConstraintSummary) *LaunchPathSummary { - s.ConstraintSummaries = v - return s -} - -// SetId sets the Id field's value. -func (s *LaunchPathSummary) SetId(v string) *LaunchPathSummary { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *LaunchPathSummary) SetName(v string) *LaunchPathSummary { - s.Name = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *LaunchPathSummary) SetTags(v []Tag) *LaunchPathSummary { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListAcceptedPortfolioSharesInput type ListAcceptedPortfolioSharesInput struct { _ struct{} `type:"structure"` @@ -6839,24 +5915,6 @@ func (s ListAcceptedPortfolioSharesInput) GoString() string { return s.String() } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *ListAcceptedPortfolioSharesInput) SetAcceptLanguage(v string) *ListAcceptedPortfolioSharesInput { - s.AcceptLanguage = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *ListAcceptedPortfolioSharesInput) SetPageSize(v int64) *ListAcceptedPortfolioSharesInput { - s.PageSize = &v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *ListAcceptedPortfolioSharesInput) SetPageToken(v string) *ListAcceptedPortfolioSharesInput { - s.PageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListAcceptedPortfolioSharesOutput type ListAcceptedPortfolioSharesOutput struct { _ struct{} `type:"structure"` @@ -6886,18 +5944,6 @@ func (s ListAcceptedPortfolioSharesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListAcceptedPortfolioSharesOutput) SetNextPageToken(v string) *ListAcceptedPortfolioSharesOutput { - s.NextPageToken = &v - return s -} - -// SetPortfolioDetails sets the PortfolioDetails field's value. -func (s *ListAcceptedPortfolioSharesOutput) SetPortfolioDetails(v []PortfolioDetail) *ListAcceptedPortfolioSharesOutput { - s.PortfolioDetails = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListConstraintsForPortfolioInput type ListConstraintsForPortfolioInput struct { _ struct{} `type:"structure"` @@ -6957,36 +6003,6 @@ func (s *ListConstraintsForPortfolioInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *ListConstraintsForPortfolioInput) SetAcceptLanguage(v string) *ListConstraintsForPortfolioInput { - s.AcceptLanguage = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *ListConstraintsForPortfolioInput) SetPageSize(v int64) *ListConstraintsForPortfolioInput { - s.PageSize = &v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *ListConstraintsForPortfolioInput) SetPageToken(v string) *ListConstraintsForPortfolioInput { - s.PageToken = &v - return s -} - -// SetPortfolioId sets the PortfolioId field's value. -func (s *ListConstraintsForPortfolioInput) SetPortfolioId(v string) *ListConstraintsForPortfolioInput { - s.PortfolioId = &v - return s -} - -// SetProductId sets the ProductId field's value. -func (s *ListConstraintsForPortfolioInput) SetProductId(v string) *ListConstraintsForPortfolioInput { - s.ProductId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListConstraintsForPortfolioOutput type ListConstraintsForPortfolioOutput struct { _ struct{} `type:"structure"` @@ -7016,18 +6032,6 @@ func (s ListConstraintsForPortfolioOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConstraintDetails sets the ConstraintDetails field's value. -func (s *ListConstraintsForPortfolioOutput) SetConstraintDetails(v []ConstraintDetail) *ListConstraintsForPortfolioOutput { - s.ConstraintDetails = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListConstraintsForPortfolioOutput) SetNextPageToken(v string) *ListConstraintsForPortfolioOutput { - s.NextPageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListLaunchPathsInput type ListLaunchPathsInput struct { _ struct{} `type:"structure"` @@ -7081,30 +6085,6 @@ func (s *ListLaunchPathsInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *ListLaunchPathsInput) SetAcceptLanguage(v string) *ListLaunchPathsInput { - s.AcceptLanguage = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *ListLaunchPathsInput) SetPageSize(v int64) *ListLaunchPathsInput { - s.PageSize = &v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *ListLaunchPathsInput) SetPageToken(v string) *ListLaunchPathsInput { - s.PageToken = &v - return s -} - -// SetProductId sets the ProductId field's value. -func (s *ListLaunchPathsInput) SetProductId(v string) *ListLaunchPathsInput { - s.ProductId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListLaunchPathsOutput type ListLaunchPathsOutput struct { _ struct{} `type:"structure"` @@ -7134,18 +6114,6 @@ func (s ListLaunchPathsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLaunchPathSummaries sets the LaunchPathSummaries field's value. -func (s *ListLaunchPathsOutput) SetLaunchPathSummaries(v []LaunchPathSummary) *ListLaunchPathsOutput { - s.LaunchPathSummaries = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListLaunchPathsOutput) SetNextPageToken(v string) *ListLaunchPathsOutput { - s.NextPageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolioAccessInput type ListPortfolioAccessInput struct { _ struct{} `type:"structure"` @@ -7192,18 +6160,6 @@ func (s *ListPortfolioAccessInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *ListPortfolioAccessInput) SetAcceptLanguage(v string) *ListPortfolioAccessInput { - s.AcceptLanguage = &v - return s -} - -// SetPortfolioId sets the PortfolioId field's value. -func (s *ListPortfolioAccessInput) SetPortfolioId(v string) *ListPortfolioAccessInput { - s.PortfolioId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolioAccessOutput type ListPortfolioAccessOutput struct { _ struct{} `type:"structure"` @@ -7233,18 +6189,6 @@ func (s ListPortfolioAccessOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAccountIds sets the AccountIds field's value. -func (s *ListPortfolioAccessOutput) SetAccountIds(v []string) *ListPortfolioAccessOutput { - s.AccountIds = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListPortfolioAccessOutput) SetNextPageToken(v string) *ListPortfolioAccessOutput { - s.NextPageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosForProductInput type ListPortfoliosForProductInput struct { _ struct{} `type:"structure"` @@ -7298,30 +6242,6 @@ func (s *ListPortfoliosForProductInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *ListPortfoliosForProductInput) SetAcceptLanguage(v string) *ListPortfoliosForProductInput { - s.AcceptLanguage = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *ListPortfoliosForProductInput) SetPageSize(v int64) *ListPortfoliosForProductInput { - s.PageSize = &v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *ListPortfoliosForProductInput) SetPageToken(v string) *ListPortfoliosForProductInput { - s.PageToken = &v - return s -} - -// SetProductId sets the ProductId field's value. -func (s *ListPortfoliosForProductInput) SetProductId(v string) *ListPortfoliosForProductInput { - s.ProductId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosForProductOutput type ListPortfoliosForProductOutput struct { _ struct{} `type:"structure"` @@ -7351,18 +6271,6 @@ func (s ListPortfoliosForProductOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListPortfoliosForProductOutput) SetNextPageToken(v string) *ListPortfoliosForProductOutput { - s.NextPageToken = &v - return s -} - -// SetPortfolioDetails sets the PortfolioDetails field's value. -func (s *ListPortfoliosForProductOutput) SetPortfolioDetails(v []PortfolioDetail) *ListPortfoliosForProductOutput { - s.PortfolioDetails = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosInput type ListPortfoliosInput struct { _ struct{} `type:"structure"` @@ -7394,24 +6302,6 @@ func (s ListPortfoliosInput) GoString() string { return s.String() } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *ListPortfoliosInput) SetAcceptLanguage(v string) *ListPortfoliosInput { - s.AcceptLanguage = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *ListPortfoliosInput) SetPageSize(v int64) *ListPortfoliosInput { - s.PageSize = &v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *ListPortfoliosInput) SetPageToken(v string) *ListPortfoliosInput { - s.PageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosOutput type ListPortfoliosOutput struct { _ struct{} `type:"structure"` @@ -7441,18 +6331,6 @@ func (s ListPortfoliosOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListPortfoliosOutput) SetNextPageToken(v string) *ListPortfoliosOutput { - s.NextPageToken = &v - return s -} - -// SetPortfolioDetails sets the PortfolioDetails field's value. -func (s *ListPortfoliosOutput) SetPortfolioDetails(v []PortfolioDetail) *ListPortfoliosOutput { - s.PortfolioDetails = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPrincipalsForPortfolioInput type ListPrincipalsForPortfolioInput struct { _ struct{} `type:"structure"` @@ -7506,30 +6384,6 @@ func (s *ListPrincipalsForPortfolioInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *ListPrincipalsForPortfolioInput) SetAcceptLanguage(v string) *ListPrincipalsForPortfolioInput { - s.AcceptLanguage = &v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *ListPrincipalsForPortfolioInput) SetPageSize(v int64) *ListPrincipalsForPortfolioInput { - s.PageSize = &v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *ListPrincipalsForPortfolioInput) SetPageToken(v string) *ListPrincipalsForPortfolioInput { - s.PageToken = &v - return s -} - -// SetPortfolioId sets the PortfolioId field's value. -func (s *ListPrincipalsForPortfolioInput) SetPortfolioId(v string) *ListPrincipalsForPortfolioInput { - s.PortfolioId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPrincipalsForPortfolioOutput type ListPrincipalsForPortfolioOutput struct { _ struct{} `type:"structure"` @@ -7559,18 +6413,6 @@ func (s ListPrincipalsForPortfolioOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListPrincipalsForPortfolioOutput) SetNextPageToken(v string) *ListPrincipalsForPortfolioOutput { - s.NextPageToken = &v - return s -} - -// SetPrincipals sets the Principals field's value. -func (s *ListPrincipalsForPortfolioOutput) SetPrincipals(v []Principal) *ListPrincipalsForPortfolioOutput { - s.Principals = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisioningArtifactsInput type ListProvisioningArtifactsInput struct { _ struct{} `type:"structure"` @@ -7617,18 +6459,6 @@ func (s *ListProvisioningArtifactsInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *ListProvisioningArtifactsInput) SetAcceptLanguage(v string) *ListProvisioningArtifactsInput { - s.AcceptLanguage = &v - return s -} - -// SetProductId sets the ProductId field's value. -func (s *ListProvisioningArtifactsInput) SetProductId(v string) *ListProvisioningArtifactsInput { - s.ProductId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisioningArtifactsOutput type ListProvisioningArtifactsOutput struct { _ struct{} `type:"structure"` @@ -7658,18 +6488,6 @@ func (s ListProvisioningArtifactsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListProvisioningArtifactsOutput) SetNextPageToken(v string) *ListProvisioningArtifactsOutput { - s.NextPageToken = &v - return s -} - -// SetProvisioningArtifactDetails sets the ProvisioningArtifactDetails field's value. -func (s *ListProvisioningArtifactsOutput) SetProvisioningArtifactDetails(v []ProvisioningArtifactDetail) *ListProvisioningArtifactsOutput { - s.ProvisioningArtifactDetails = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistoryInput type ListRecordHistoryInput struct { _ struct{} `type:"structure"` @@ -7707,36 +6525,6 @@ func (s ListRecordHistoryInput) GoString() string { return s.String() } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *ListRecordHistoryInput) SetAcceptLanguage(v string) *ListRecordHistoryInput { - s.AcceptLanguage = &v - return s -} - -// SetAccessLevelFilter sets the AccessLevelFilter field's value. -func (s *ListRecordHistoryInput) SetAccessLevelFilter(v *AccessLevelFilter) *ListRecordHistoryInput { - s.AccessLevelFilter = v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *ListRecordHistoryInput) SetPageSize(v int64) *ListRecordHistoryInput { - s.PageSize = &v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *ListRecordHistoryInput) SetPageToken(v string) *ListRecordHistoryInput { - s.PageToken = &v - return s -} - -// SetSearchFilter sets the SearchFilter field's value. -func (s *ListRecordHistoryInput) SetSearchFilter(v *ListRecordHistorySearchFilter) *ListRecordHistoryInput { - s.SearchFilter = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistoryOutput type ListRecordHistoryOutput struct { _ struct{} `type:"structure"` @@ -7766,18 +6554,6 @@ func (s ListRecordHistoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListRecordHistoryOutput) SetNextPageToken(v string) *ListRecordHistoryOutput { - s.NextPageToken = &v - return s -} - -// SetRecordDetails sets the RecordDetails field's value. -func (s *ListRecordHistoryOutput) SetRecordDetails(v []RecordDetail) *ListRecordHistoryOutput { - s.RecordDetails = v - return s -} - // The search filter to use when listing history records. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistorySearchFilter type ListRecordHistorySearchFilter struct { @@ -7805,18 +6581,6 @@ func (s ListRecordHistorySearchFilter) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *ListRecordHistorySearchFilter) SetKey(v string) *ListRecordHistorySearchFilter { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *ListRecordHistorySearchFilter) SetValue(v string) *ListRecordHistorySearchFilter { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListResourcesForTagOptionInput type ListResourcesForTagOptionInput struct { _ struct{} `type:"structure"` @@ -7868,30 +6632,6 @@ func (s *ListResourcesForTagOptionInput) Validate() error { return nil } -// SetPageSize sets the PageSize field's value. -func (s *ListResourcesForTagOptionInput) SetPageSize(v int64) *ListResourcesForTagOptionInput { - s.PageSize = &v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *ListResourcesForTagOptionInput) SetPageToken(v string) *ListResourcesForTagOptionInput { - s.PageToken = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *ListResourcesForTagOptionInput) SetResourceType(v string) *ListResourcesForTagOptionInput { - s.ResourceType = &v - return s -} - -// SetTagOptionId sets the TagOptionId field's value. -func (s *ListResourcesForTagOptionInput) SetTagOptionId(v string) *ListResourcesForTagOptionInput { - s.TagOptionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListResourcesForTagOptionOutput type ListResourcesForTagOptionOutput struct { _ struct{} `type:"structure"` @@ -7921,18 +6661,6 @@ func (s ListResourcesForTagOptionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPageToken sets the PageToken field's value. -func (s *ListResourcesForTagOptionOutput) SetPageToken(v string) *ListResourcesForTagOptionOutput { - s.PageToken = &v - return s -} - -// SetResourceDetails sets the ResourceDetails field's value. -func (s *ListResourcesForTagOptionOutput) SetResourceDetails(v []ResourceDetail) *ListResourcesForTagOptionOutput { - s.ResourceDetails = v - return s -} - // Filters to use when listing TagOptions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptionsFilters type ListTagOptionsFilters struct { @@ -7974,24 +6702,6 @@ func (s *ListTagOptionsFilters) Validate() error { return nil } -// SetActive sets the Active field's value. -func (s *ListTagOptionsFilters) SetActive(v bool) *ListTagOptionsFilters { - s.Active = &v - return s -} - -// SetKey sets the Key field's value. -func (s *ListTagOptionsFilters) SetKey(v string) *ListTagOptionsFilters { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *ListTagOptionsFilters) SetValue(v string) *ListTagOptionsFilters { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptionsInput type ListTagOptionsInput struct { _ struct{} `type:"structure"` @@ -8033,24 +6743,6 @@ func (s *ListTagOptionsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *ListTagOptionsInput) SetFilters(v *ListTagOptionsFilters) *ListTagOptionsInput { - s.Filters = v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *ListTagOptionsInput) SetPageSize(v int64) *ListTagOptionsInput { - s.PageSize = &v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *ListTagOptionsInput) SetPageToken(v string) *ListTagOptionsInput { - s.PageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptionsOutput type ListTagOptionsOutput struct { _ struct{} `type:"structure"` @@ -8080,18 +6772,6 @@ func (s ListTagOptionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPageToken sets the PageToken field's value. -func (s *ListTagOptionsOutput) SetPageToken(v string) *ListTagOptionsOutput { - s.PageToken = &v - return s -} - -// SetTagOptionDetails sets the TagOptionDetails field's value. -func (s *ListTagOptionsOutput) SetTagOptionDetails(v []TagOptionDetail) *ListTagOptionsOutput { - s.TagOptionDetails = v - return s -} - // The constraints that the administrator has put on the parameter. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ParameterConstraints type ParameterConstraints struct { @@ -8111,12 +6791,6 @@ func (s ParameterConstraints) GoString() string { return s.String() } -// SetAllowedValues sets the AllowedValues field's value. -func (s *ParameterConstraints) SetAllowedValues(v []string) *ParameterConstraints { - s.AllowedValues = v - return s -} - // Information about a portfolio. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/PortfolioDetail type PortfolioDetail struct { @@ -8151,42 +6825,6 @@ func (s PortfolioDetail) GoString() string { return s.String() } -// SetARN sets the ARN field's value. -func (s *PortfolioDetail) SetARN(v string) *PortfolioDetail { - s.ARN = &v - return s -} - -// SetCreatedTime sets the CreatedTime field's value. -func (s *PortfolioDetail) SetCreatedTime(v time.Time) *PortfolioDetail { - s.CreatedTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *PortfolioDetail) SetDescription(v string) *PortfolioDetail { - s.Description = &v - return s -} - -// SetDisplayName sets the DisplayName field's value. -func (s *PortfolioDetail) SetDisplayName(v string) *PortfolioDetail { - s.DisplayName = &v - return s -} - -// SetId sets the Id field's value. -func (s *PortfolioDetail) SetId(v string) *PortfolioDetail { - s.Id = &v - return s -} - -// SetProviderName sets the ProviderName field's value. -func (s *PortfolioDetail) SetProviderName(v string) *PortfolioDetail { - s.ProviderName = &v - return s -} - // Information about a principal. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/Principal type Principal struct { @@ -8209,18 +6847,6 @@ func (s Principal) GoString() string { return s.String() } -// SetPrincipalARN sets the PrincipalARN field's value. -func (s *Principal) SetPrincipalARN(v string) *Principal { - s.PrincipalARN = &v - return s -} - -// SetPrincipalType sets the PrincipalType field's value. -func (s *Principal) SetPrincipalType(v PrincipalType) *Principal { - s.PrincipalType = v - return s -} - // A single product view aggregation value/count pair, containing metadata about // each product to which the calling user has access. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProductViewAggregationValue @@ -8244,18 +6870,6 @@ func (s ProductViewAggregationValue) GoString() string { return s.String() } -// SetApproximateCount sets the ApproximateCount field's value. -func (s *ProductViewAggregationValue) SetApproximateCount(v int64) *ProductViewAggregationValue { - s.ApproximateCount = &v - return s -} - -// SetValue sets the Value field's value. -func (s *ProductViewAggregationValue) SetValue(v string) *ProductViewAggregationValue { - s.Value = &v - return s -} - // Information about a product view. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProductViewDetail type ProductViewDetail struct { @@ -8291,30 +6905,6 @@ func (s ProductViewDetail) GoString() string { return s.String() } -// SetCreatedTime sets the CreatedTime field's value. -func (s *ProductViewDetail) SetCreatedTime(v time.Time) *ProductViewDetail { - s.CreatedTime = &v - return s -} - -// SetProductARN sets the ProductARN field's value. -func (s *ProductViewDetail) SetProductARN(v string) *ProductViewDetail { - s.ProductARN = &v - return s -} - -// SetProductViewSummary sets the ProductViewSummary field's value. -func (s *ProductViewDetail) SetProductViewSummary(v *ProductViewSummary) *ProductViewDetail { - s.ProductViewSummary = v - return s -} - -// SetStatus sets the Status field's value. -func (s *ProductViewDetail) SetStatus(v Status) *ProductViewDetail { - s.Status = v - return s -} - // Summary information about a product view. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProductViewSummary type ProductViewSummary struct { @@ -8371,72 +6961,6 @@ func (s ProductViewSummary) GoString() string { return s.String() } -// SetDistributor sets the Distributor field's value. -func (s *ProductViewSummary) SetDistributor(v string) *ProductViewSummary { - s.Distributor = &v - return s -} - -// SetHasDefaultPath sets the HasDefaultPath field's value. -func (s *ProductViewSummary) SetHasDefaultPath(v bool) *ProductViewSummary { - s.HasDefaultPath = &v - return s -} - -// SetId sets the Id field's value. -func (s *ProductViewSummary) SetId(v string) *ProductViewSummary { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *ProductViewSummary) SetName(v string) *ProductViewSummary { - s.Name = &v - return s -} - -// SetOwner sets the Owner field's value. -func (s *ProductViewSummary) SetOwner(v string) *ProductViewSummary { - s.Owner = &v - return s -} - -// SetProductId sets the ProductId field's value. -func (s *ProductViewSummary) SetProductId(v string) *ProductViewSummary { - s.ProductId = &v - return s -} - -// SetShortDescription sets the ShortDescription field's value. -func (s *ProductViewSummary) SetShortDescription(v string) *ProductViewSummary { - s.ShortDescription = &v - return s -} - -// SetSupportDescription sets the SupportDescription field's value. -func (s *ProductViewSummary) SetSupportDescription(v string) *ProductViewSummary { - s.SupportDescription = &v - return s -} - -// SetSupportEmail sets the SupportEmail field's value. -func (s *ProductViewSummary) SetSupportEmail(v string) *ProductViewSummary { - s.SupportEmail = &v - return s -} - -// SetSupportUrl sets the SupportUrl field's value. -func (s *ProductViewSummary) SetSupportUrl(v string) *ProductViewSummary { - s.SupportUrl = &v - return s -} - -// SetType sets the Type field's value. -func (s *ProductViewSummary) SetType(v ProductType) *ProductViewSummary { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionProductInput type ProvisionProductInput struct { _ struct{} `type:"structure"` @@ -8553,73 +7077,19 @@ func (s *ProvisionProductInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *ProvisionProductInput) SetAcceptLanguage(v string) *ProvisionProductInput { - s.AcceptLanguage = &v - return s -} +// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionProductOutput +type ProvisionProductOutput struct { + _ struct{} `type:"structure"` -// SetNotificationArns sets the NotificationArns field's value. -func (s *ProvisionProductInput) SetNotificationArns(v []string) *ProvisionProductInput { - s.NotificationArns = v - return s -} + responseMetadata aws.Response -// SetPathId sets the PathId field's value. -func (s *ProvisionProductInput) SetPathId(v string) *ProvisionProductInput { - s.PathId = &v - return s + // Information about the result of ProvisionProduct. + RecordDetail *RecordDetail `type:"structure"` } -// SetProductId sets the ProductId field's value. -func (s *ProvisionProductInput) SetProductId(v string) *ProvisionProductInput { - s.ProductId = &v - return s -} - -// SetProvisionToken sets the ProvisionToken field's value. -func (s *ProvisionProductInput) SetProvisionToken(v string) *ProvisionProductInput { - s.ProvisionToken = &v - return s -} - -// SetProvisionedProductName sets the ProvisionedProductName field's value. -func (s *ProvisionProductInput) SetProvisionedProductName(v string) *ProvisionProductInput { - s.ProvisionedProductName = &v - return s -} - -// SetProvisioningArtifactId sets the ProvisioningArtifactId field's value. -func (s *ProvisionProductInput) SetProvisioningArtifactId(v string) *ProvisionProductInput { - s.ProvisioningArtifactId = &v - return s -} - -// SetProvisioningParameters sets the ProvisioningParameters field's value. -func (s *ProvisionProductInput) SetProvisioningParameters(v []ProvisioningParameter) *ProvisionProductInput { - s.ProvisioningParameters = v - return s -} - -// SetTags sets the Tags field's value. -func (s *ProvisionProductInput) SetTags(v []Tag) *ProvisionProductInput { - s.Tags = v - return s -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionProductOutput -type ProvisionProductOutput struct { - _ struct{} `type:"structure"` - - responseMetadata aws.Response - - // Information about the result of ProvisionProduct. - RecordDetail *RecordDetail `type:"structure"` -} - -// String returns the string representation -func (s ProvisionProductOutput) String() string { - return awsutil.Prettify(s) +// String returns the string representation +func (s ProvisionProductOutput) String() string { + return awsutil.Prettify(s) } // GoString returns the string representation @@ -8632,12 +7102,6 @@ func (s ProvisionProductOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRecordDetail sets the RecordDetail field's value. -func (s *ProvisionProductOutput) SetRecordDetail(v *RecordDetail) *ProvisionProductOutput { - s.RecordDetail = v - return s -} - // Information about a provisioned product. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionedProductDetail type ProvisionedProductDetail struct { @@ -8698,60 +7162,6 @@ func (s ProvisionedProductDetail) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *ProvisionedProductDetail) SetArn(v string) *ProvisionedProductDetail { - s.Arn = &v - return s -} - -// SetCreatedTime sets the CreatedTime field's value. -func (s *ProvisionedProductDetail) SetCreatedTime(v time.Time) *ProvisionedProductDetail { - s.CreatedTime = &v - return s -} - -// SetId sets the Id field's value. -func (s *ProvisionedProductDetail) SetId(v string) *ProvisionedProductDetail { - s.Id = &v - return s -} - -// SetIdempotencyToken sets the IdempotencyToken field's value. -func (s *ProvisionedProductDetail) SetIdempotencyToken(v string) *ProvisionedProductDetail { - s.IdempotencyToken = &v - return s -} - -// SetLastRecordId sets the LastRecordId field's value. -func (s *ProvisionedProductDetail) SetLastRecordId(v string) *ProvisionedProductDetail { - s.LastRecordId = &v - return s -} - -// SetName sets the Name field's value. -func (s *ProvisionedProductDetail) SetName(v string) *ProvisionedProductDetail { - s.Name = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ProvisionedProductDetail) SetStatus(v ProvisionedProductStatus) *ProvisionedProductDetail { - s.Status = v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *ProvisionedProductDetail) SetStatusMessage(v string) *ProvisionedProductDetail { - s.StatusMessage = &v - return s -} - -// SetType sets the Type field's value. -func (s *ProvisionedProductDetail) SetType(v string) *ProvisionedProductDetail { - s.Type = &v - return s -} - // Information about a provisioning artifact. A provisioning artifact is also // known as a product version. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningArtifact @@ -8781,30 +7191,6 @@ func (s ProvisioningArtifact) GoString() string { return s.String() } -// SetCreatedTime sets the CreatedTime field's value. -func (s *ProvisioningArtifact) SetCreatedTime(v time.Time) *ProvisioningArtifact { - s.CreatedTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ProvisioningArtifact) SetDescription(v string) *ProvisioningArtifact { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *ProvisioningArtifact) SetId(v string) *ProvisioningArtifact { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *ProvisioningArtifact) SetName(v string) *ProvisioningArtifact { - s.Name = &v - return s -} - // Information about a provisioning artifact (also known as a version) for a // product. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningArtifactDetail @@ -8846,42 +7232,6 @@ func (s ProvisioningArtifactDetail) GoString() string { return s.String() } -// SetActive sets the Active field's value. -func (s *ProvisioningArtifactDetail) SetActive(v bool) *ProvisioningArtifactDetail { - s.Active = &v - return s -} - -// SetCreatedTime sets the CreatedTime field's value. -func (s *ProvisioningArtifactDetail) SetCreatedTime(v time.Time) *ProvisioningArtifactDetail { - s.CreatedTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ProvisioningArtifactDetail) SetDescription(v string) *ProvisioningArtifactDetail { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *ProvisioningArtifactDetail) SetId(v string) *ProvisioningArtifactDetail { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *ProvisioningArtifactDetail) SetName(v string) *ProvisioningArtifactDetail { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *ProvisioningArtifactDetail) SetType(v ProvisioningArtifactType) *ProvisioningArtifactDetail { - s.Type = v - return s -} - // Information about a parameter used to provision a product. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningArtifactParameter type ProvisioningArtifactParameter struct { @@ -8918,42 +7268,6 @@ func (s ProvisioningArtifactParameter) GoString() string { return s.String() } -// SetDefaultValue sets the DefaultValue field's value. -func (s *ProvisioningArtifactParameter) SetDefaultValue(v string) *ProvisioningArtifactParameter { - s.DefaultValue = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ProvisioningArtifactParameter) SetDescription(v string) *ProvisioningArtifactParameter { - s.Description = &v - return s -} - -// SetIsNoEcho sets the IsNoEcho field's value. -func (s *ProvisioningArtifactParameter) SetIsNoEcho(v bool) *ProvisioningArtifactParameter { - s.IsNoEcho = &v - return s -} - -// SetParameterConstraints sets the ParameterConstraints field's value. -func (s *ProvisioningArtifactParameter) SetParameterConstraints(v *ParameterConstraints) *ProvisioningArtifactParameter { - s.ParameterConstraints = v - return s -} - -// SetParameterKey sets the ParameterKey field's value. -func (s *ProvisioningArtifactParameter) SetParameterKey(v string) *ProvisioningArtifactParameter { - s.ParameterKey = &v - return s -} - -// SetParameterType sets the ParameterType field's value. -func (s *ProvisioningArtifactParameter) SetParameterType(v string) *ProvisioningArtifactParameter { - s.ParameterType = &v - return s -} - // Information about a provisioning artifact (also known as a version) for a // product. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningArtifactProperties @@ -9013,30 +7327,6 @@ func (s *ProvisioningArtifactProperties) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *ProvisioningArtifactProperties) SetDescription(v string) *ProvisioningArtifactProperties { - s.Description = &v - return s -} - -// SetInfo sets the Info field's value. -func (s *ProvisioningArtifactProperties) SetInfo(v map[string]string) *ProvisioningArtifactProperties { - s.Info = v - return s -} - -// SetName sets the Name field's value. -func (s *ProvisioningArtifactProperties) SetName(v string) *ProvisioningArtifactProperties { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *ProvisioningArtifactProperties) SetType(v ProvisioningArtifactType) *ProvisioningArtifactProperties { - s.Type = v - return s -} - // Summary information about a provisioning artifact (also known as a version) // for a product. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningArtifactSummary @@ -9070,36 +7360,6 @@ func (s ProvisioningArtifactSummary) GoString() string { return s.String() } -// SetCreatedTime sets the CreatedTime field's value. -func (s *ProvisioningArtifactSummary) SetCreatedTime(v time.Time) *ProvisioningArtifactSummary { - s.CreatedTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ProvisioningArtifactSummary) SetDescription(v string) *ProvisioningArtifactSummary { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *ProvisioningArtifactSummary) SetId(v string) *ProvisioningArtifactSummary { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *ProvisioningArtifactSummary) SetName(v string) *ProvisioningArtifactSummary { - s.Name = &v - return s -} - -// SetProvisioningArtifactMetadata sets the ProvisioningArtifactMetadata field's value. -func (s *ProvisioningArtifactSummary) SetProvisioningArtifactMetadata(v map[string]string) *ProvisioningArtifactSummary { - s.ProvisioningArtifactMetadata = v - return s -} - // Information about a parameter used to provision a product. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningParameter type ProvisioningParameter struct { @@ -9135,18 +7395,6 @@ func (s *ProvisioningParameter) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *ProvisioningParameter) SetKey(v string) *ProvisioningParameter { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *ProvisioningParameter) SetValue(v string) *ProvisioningParameter { - s.Value = &v - return s -} - // Information about a request operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RecordDetail type RecordDetail struct { @@ -9221,84 +7469,6 @@ func (s RecordDetail) GoString() string { return s.String() } -// SetCreatedTime sets the CreatedTime field's value. -func (s *RecordDetail) SetCreatedTime(v time.Time) *RecordDetail { - s.CreatedTime = &v - return s -} - -// SetPathId sets the PathId field's value. -func (s *RecordDetail) SetPathId(v string) *RecordDetail { - s.PathId = &v - return s -} - -// SetProductId sets the ProductId field's value. -func (s *RecordDetail) SetProductId(v string) *RecordDetail { - s.ProductId = &v - return s -} - -// SetProvisionedProductId sets the ProvisionedProductId field's value. -func (s *RecordDetail) SetProvisionedProductId(v string) *RecordDetail { - s.ProvisionedProductId = &v - return s -} - -// SetProvisionedProductName sets the ProvisionedProductName field's value. -func (s *RecordDetail) SetProvisionedProductName(v string) *RecordDetail { - s.ProvisionedProductName = &v - return s -} - -// SetProvisionedProductType sets the ProvisionedProductType field's value. -func (s *RecordDetail) SetProvisionedProductType(v string) *RecordDetail { - s.ProvisionedProductType = &v - return s -} - -// SetProvisioningArtifactId sets the ProvisioningArtifactId field's value. -func (s *RecordDetail) SetProvisioningArtifactId(v string) *RecordDetail { - s.ProvisioningArtifactId = &v - return s -} - -// SetRecordErrors sets the RecordErrors field's value. -func (s *RecordDetail) SetRecordErrors(v []RecordError) *RecordDetail { - s.RecordErrors = v - return s -} - -// SetRecordId sets the RecordId field's value. -func (s *RecordDetail) SetRecordId(v string) *RecordDetail { - s.RecordId = &v - return s -} - -// SetRecordTags sets the RecordTags field's value. -func (s *RecordDetail) SetRecordTags(v []RecordTag) *RecordDetail { - s.RecordTags = v - return s -} - -// SetRecordType sets the RecordType field's value. -func (s *RecordDetail) SetRecordType(v string) *RecordDetail { - s.RecordType = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *RecordDetail) SetStatus(v RecordStatus) *RecordDetail { - s.Status = v - return s -} - -// SetUpdatedTime sets the UpdatedTime field's value. -func (s *RecordDetail) SetUpdatedTime(v time.Time) *RecordDetail { - s.UpdatedTime = &v - return s -} - // The error code and description resulting from an operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RecordError type RecordError struct { @@ -9321,18 +7491,6 @@ func (s RecordError) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *RecordError) SetCode(v string) *RecordError { - s.Code = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *RecordError) SetDescription(v string) *RecordError { - s.Description = &v - return s -} - // The output for the product created as the result of a request. For example, // the output for a CloudFormation-backed product that creates an S3 bucket // would include the S3 bucket URL. @@ -9360,24 +7518,6 @@ func (s RecordOutput) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *RecordOutput) SetDescription(v string) *RecordOutput { - s.Description = &v - return s -} - -// SetOutputKey sets the OutputKey field's value. -func (s *RecordOutput) SetOutputKey(v string) *RecordOutput { - s.OutputKey = &v - return s -} - -// SetOutputValue sets the OutputValue field's value. -func (s *RecordOutput) SetOutputValue(v string) *RecordOutput { - s.OutputValue = &v - return s -} - // A tag associated with the record, stored as a key-value pair. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RecordTag type RecordTag struct { @@ -9400,18 +7540,6 @@ func (s RecordTag) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *RecordTag) SetKey(v string) *RecordTag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *RecordTag) SetValue(v string) *RecordTag { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RejectPortfolioShareInput type RejectPortfolioShareInput struct { _ struct{} `type:"structure"` @@ -9458,18 +7586,6 @@ func (s *RejectPortfolioShareInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *RejectPortfolioShareInput) SetAcceptLanguage(v string) *RejectPortfolioShareInput { - s.AcceptLanguage = &v - return s -} - -// SetPortfolioId sets the PortfolioId field's value. -func (s *RejectPortfolioShareInput) SetPortfolioId(v string) *RejectPortfolioShareInput { - s.PortfolioId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RejectPortfolioShareOutput type RejectPortfolioShareOutput struct { _ struct{} `type:"structure"` @@ -9523,36 +7639,6 @@ func (s ResourceDetail) GoString() string { return s.String() } -// SetARN sets the ARN field's value. -func (s *ResourceDetail) SetARN(v string) *ResourceDetail { - s.ARN = &v - return s -} - -// SetCreatedTime sets the CreatedTime field's value. -func (s *ResourceDetail) SetCreatedTime(v time.Time) *ResourceDetail { - s.CreatedTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ResourceDetail) SetDescription(v string) *ResourceDetail { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *ResourceDetail) SetId(v string) *ResourceDetail { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *ResourceDetail) SetName(v string) *ResourceDetail { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ScanProvisionedProductsInput type ScanProvisionedProductsInput struct { _ struct{} `type:"structure"` @@ -9587,30 +7673,6 @@ func (s ScanProvisionedProductsInput) GoString() string { return s.String() } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *ScanProvisionedProductsInput) SetAcceptLanguage(v string) *ScanProvisionedProductsInput { - s.AcceptLanguage = &v - return s -} - -// SetAccessLevelFilter sets the AccessLevelFilter field's value. -func (s *ScanProvisionedProductsInput) SetAccessLevelFilter(v *AccessLevelFilter) *ScanProvisionedProductsInput { - s.AccessLevelFilter = v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *ScanProvisionedProductsInput) SetPageSize(v int64) *ScanProvisionedProductsInput { - s.PageSize = &v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *ScanProvisionedProductsInput) SetPageToken(v string) *ScanProvisionedProductsInput { - s.PageToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ScanProvisionedProductsOutput type ScanProvisionedProductsOutput struct { _ struct{} `type:"structure"` @@ -9640,18 +7702,6 @@ func (s ScanProvisionedProductsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextPageToken sets the NextPageToken field's value. -func (s *ScanProvisionedProductsOutput) SetNextPageToken(v string) *ScanProvisionedProductsOutput { - s.NextPageToken = &v - return s -} - -// SetProvisionedProducts sets the ProvisionedProducts field's value. -func (s *ScanProvisionedProductsOutput) SetProvisionedProducts(v []ProvisionedProductDetail) *ScanProvisionedProductsOutput { - s.ProvisionedProducts = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsAsAdminInput type SearchProductsAsAdminInput struct { _ struct{} `type:"structure"` @@ -9712,54 +7762,6 @@ func (s *SearchProductsAsAdminInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *SearchProductsAsAdminInput) SetAcceptLanguage(v string) *SearchProductsAsAdminInput { - s.AcceptLanguage = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *SearchProductsAsAdminInput) SetFilters(v map[string][]string) *SearchProductsAsAdminInput { - s.Filters = v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *SearchProductsAsAdminInput) SetPageSize(v int64) *SearchProductsAsAdminInput { - s.PageSize = &v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *SearchProductsAsAdminInput) SetPageToken(v string) *SearchProductsAsAdminInput { - s.PageToken = &v - return s -} - -// SetPortfolioId sets the PortfolioId field's value. -func (s *SearchProductsAsAdminInput) SetPortfolioId(v string) *SearchProductsAsAdminInput { - s.PortfolioId = &v - return s -} - -// SetProductSource sets the ProductSource field's value. -func (s *SearchProductsAsAdminInput) SetProductSource(v ProductSource) *SearchProductsAsAdminInput { - s.ProductSource = v - return s -} - -// SetSortBy sets the SortBy field's value. -func (s *SearchProductsAsAdminInput) SetSortBy(v ProductViewSortBy) *SearchProductsAsAdminInput { - s.SortBy = v - return s -} - -// SetSortOrder sets the SortOrder field's value. -func (s *SearchProductsAsAdminInput) SetSortOrder(v SortOrder) *SearchProductsAsAdminInput { - s.SortOrder = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsAsAdminOutput type SearchProductsAsAdminOutput struct { _ struct{} `type:"structure"` @@ -9789,18 +7791,6 @@ func (s SearchProductsAsAdminOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextPageToken sets the NextPageToken field's value. -func (s *SearchProductsAsAdminOutput) SetNextPageToken(v string) *SearchProductsAsAdminOutput { - s.NextPageToken = &v - return s -} - -// SetProductViewDetails sets the ProductViewDetails field's value. -func (s *SearchProductsAsAdminOutput) SetProductViewDetails(v []ProductViewDetail) *SearchProductsAsAdminOutput { - s.ProductViewDetails = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsInput type SearchProductsInput struct { _ struct{} `type:"structure"` @@ -9842,42 +7832,6 @@ func (s SearchProductsInput) GoString() string { return s.String() } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *SearchProductsInput) SetAcceptLanguage(v string) *SearchProductsInput { - s.AcceptLanguage = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *SearchProductsInput) SetFilters(v map[string][]string) *SearchProductsInput { - s.Filters = v - return s -} - -// SetPageSize sets the PageSize field's value. -func (s *SearchProductsInput) SetPageSize(v int64) *SearchProductsInput { - s.PageSize = &v - return s -} - -// SetPageToken sets the PageToken field's value. -func (s *SearchProductsInput) SetPageToken(v string) *SearchProductsInput { - s.PageToken = &v - return s -} - -// SetSortBy sets the SortBy field's value. -func (s *SearchProductsInput) SetSortBy(v ProductViewSortBy) *SearchProductsInput { - s.SortBy = v - return s -} - -// SetSortOrder sets the SortOrder field's value. -func (s *SearchProductsInput) SetSortOrder(v SortOrder) *SearchProductsInput { - s.SortOrder = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsOutput type SearchProductsOutput struct { _ struct{} `type:"structure"` @@ -9910,24 +7864,6 @@ func (s SearchProductsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextPageToken sets the NextPageToken field's value. -func (s *SearchProductsOutput) SetNextPageToken(v string) *SearchProductsOutput { - s.NextPageToken = &v - return s -} - -// SetProductViewAggregations sets the ProductViewAggregations field's value. -func (s *SearchProductsOutput) SetProductViewAggregations(v map[string][]ProductViewAggregationValue) *SearchProductsOutput { - s.ProductViewAggregations = v - return s -} - -// SetProductViewSummaries sets the ProductViewSummaries field's value. -func (s *SearchProductsOutput) SetProductViewSummaries(v []ProductViewSummary) *SearchProductsOutput { - s.ProductViewSummaries = v - return s -} - // Information about a tag. A tag is a key-value pair. Tags are entirely discretionary // and are propagated to the resources created when provisioning a product. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/Tag @@ -9979,18 +7915,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Information about a TagOption. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TagOptionDetail type TagOptionDetail struct { @@ -10019,30 +7943,6 @@ func (s TagOptionDetail) GoString() string { return s.String() } -// SetActive sets the Active field's value. -func (s *TagOptionDetail) SetActive(v bool) *TagOptionDetail { - s.Active = &v - return s -} - -// SetId sets the Id field's value. -func (s *TagOptionDetail) SetId(v string) *TagOptionDetail { - s.Id = &v - return s -} - -// SetKey sets the Key field's value. -func (s *TagOptionDetail) SetKey(v string) *TagOptionDetail { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *TagOptionDetail) SetValue(v string) *TagOptionDetail { - s.Value = &v - return s -} - // Summary information about a TagOption. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TagOptionSummary type TagOptionSummary struct { @@ -10065,18 +7965,6 @@ func (s TagOptionSummary) GoString() string { return s.String() } -// SetKey sets the Key field's value. -func (s *TagOptionSummary) SetKey(v string) *TagOptionSummary { - s.Key = &v - return s -} - -// SetValues sets the Values field's value. -func (s *TagOptionSummary) SetValues(v []string) *TagOptionSummary { - s.Values = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TerminateProvisionedProductInput type TerminateProvisionedProductInput struct { _ struct{} `type:"structure"` @@ -10144,36 +8032,6 @@ func (s *TerminateProvisionedProductInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *TerminateProvisionedProductInput) SetAcceptLanguage(v string) *TerminateProvisionedProductInput { - s.AcceptLanguage = &v - return s -} - -// SetIgnoreErrors sets the IgnoreErrors field's value. -func (s *TerminateProvisionedProductInput) SetIgnoreErrors(v bool) *TerminateProvisionedProductInput { - s.IgnoreErrors = &v - return s -} - -// SetProvisionedProductId sets the ProvisionedProductId field's value. -func (s *TerminateProvisionedProductInput) SetProvisionedProductId(v string) *TerminateProvisionedProductInput { - s.ProvisionedProductId = &v - return s -} - -// SetProvisionedProductName sets the ProvisionedProductName field's value. -func (s *TerminateProvisionedProductInput) SetProvisionedProductName(v string) *TerminateProvisionedProductInput { - s.ProvisionedProductName = &v - return s -} - -// SetTerminateToken sets the TerminateToken field's value. -func (s *TerminateProvisionedProductInput) SetTerminateToken(v string) *TerminateProvisionedProductInput { - s.TerminateToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TerminateProvisionedProductOutput type TerminateProvisionedProductOutput struct { _ struct{} `type:"structure"` @@ -10199,12 +8057,6 @@ func (s TerminateProvisionedProductOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRecordDetail sets the RecordDetail field's value. -func (s *TerminateProvisionedProductOutput) SetRecordDetail(v *RecordDetail) *TerminateProvisionedProductOutput { - s.RecordDetail = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateConstraintInput type UpdateConstraintInput struct { _ struct{} `type:"structure"` @@ -10254,24 +8106,6 @@ func (s *UpdateConstraintInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *UpdateConstraintInput) SetAcceptLanguage(v string) *UpdateConstraintInput { - s.AcceptLanguage = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateConstraintInput) SetDescription(v string) *UpdateConstraintInput { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *UpdateConstraintInput) SetId(v string) *UpdateConstraintInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateConstraintOutput type UpdateConstraintOutput struct { _ struct{} `type:"structure"` @@ -10303,24 +8137,6 @@ func (s UpdateConstraintOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConstraintDetail sets the ConstraintDetail field's value. -func (s *UpdateConstraintOutput) SetConstraintDetail(v *ConstraintDetail) *UpdateConstraintOutput { - s.ConstraintDetail = v - return s -} - -// SetConstraintParameters sets the ConstraintParameters field's value. -func (s *UpdateConstraintOutput) SetConstraintParameters(v string) *UpdateConstraintOutput { - s.ConstraintParameters = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *UpdateConstraintOutput) SetStatus(v Status) *UpdateConstraintOutput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolioInput type UpdatePortfolioInput struct { _ struct{} `type:"structure"` @@ -10395,48 +8211,6 @@ func (s *UpdatePortfolioInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *UpdatePortfolioInput) SetAcceptLanguage(v string) *UpdatePortfolioInput { - s.AcceptLanguage = &v - return s -} - -// SetAddTags sets the AddTags field's value. -func (s *UpdatePortfolioInput) SetAddTags(v []Tag) *UpdatePortfolioInput { - s.AddTags = v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdatePortfolioInput) SetDescription(v string) *UpdatePortfolioInput { - s.Description = &v - return s -} - -// SetDisplayName sets the DisplayName field's value. -func (s *UpdatePortfolioInput) SetDisplayName(v string) *UpdatePortfolioInput { - s.DisplayName = &v - return s -} - -// SetId sets the Id field's value. -func (s *UpdatePortfolioInput) SetId(v string) *UpdatePortfolioInput { - s.Id = &v - return s -} - -// SetProviderName sets the ProviderName field's value. -func (s *UpdatePortfolioInput) SetProviderName(v string) *UpdatePortfolioInput { - s.ProviderName = &v - return s -} - -// SetRemoveTags sets the RemoveTags field's value. -func (s *UpdatePortfolioInput) SetRemoveTags(v []string) *UpdatePortfolioInput { - s.RemoveTags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolioOutput type UpdatePortfolioOutput struct { _ struct{} `type:"structure"` @@ -10465,18 +8239,6 @@ func (s UpdatePortfolioOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPortfolioDetail sets the PortfolioDetail field's value. -func (s *UpdatePortfolioOutput) SetPortfolioDetail(v *PortfolioDetail) *UpdatePortfolioOutput { - s.PortfolioDetail = v - return s -} - -// SetTags sets the Tags field's value. -func (s *UpdatePortfolioOutput) SetTags(v []Tag) *UpdatePortfolioOutput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProductInput type UpdateProductInput struct { _ struct{} `type:"structure"` @@ -10557,72 +8319,6 @@ func (s *UpdateProductInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *UpdateProductInput) SetAcceptLanguage(v string) *UpdateProductInput { - s.AcceptLanguage = &v - return s -} - -// SetAddTags sets the AddTags field's value. -func (s *UpdateProductInput) SetAddTags(v []Tag) *UpdateProductInput { - s.AddTags = v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateProductInput) SetDescription(v string) *UpdateProductInput { - s.Description = &v - return s -} - -// SetDistributor sets the Distributor field's value. -func (s *UpdateProductInput) SetDistributor(v string) *UpdateProductInput { - s.Distributor = &v - return s -} - -// SetId sets the Id field's value. -func (s *UpdateProductInput) SetId(v string) *UpdateProductInput { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateProductInput) SetName(v string) *UpdateProductInput { - s.Name = &v - return s -} - -// SetOwner sets the Owner field's value. -func (s *UpdateProductInput) SetOwner(v string) *UpdateProductInput { - s.Owner = &v - return s -} - -// SetRemoveTags sets the RemoveTags field's value. -func (s *UpdateProductInput) SetRemoveTags(v []string) *UpdateProductInput { - s.RemoveTags = v - return s -} - -// SetSupportDescription sets the SupportDescription field's value. -func (s *UpdateProductInput) SetSupportDescription(v string) *UpdateProductInput { - s.SupportDescription = &v - return s -} - -// SetSupportEmail sets the SupportEmail field's value. -func (s *UpdateProductInput) SetSupportEmail(v string) *UpdateProductInput { - s.SupportEmail = &v - return s -} - -// SetSupportUrl sets the SupportUrl field's value. -func (s *UpdateProductInput) SetSupportUrl(v string) *UpdateProductInput { - s.SupportUrl = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProductOutput type UpdateProductOutput struct { _ struct{} `type:"structure"` @@ -10651,18 +8347,6 @@ func (s UpdateProductOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetProductViewDetail sets the ProductViewDetail field's value. -func (s *UpdateProductOutput) SetProductViewDetail(v *ProductViewDetail) *UpdateProductOutput { - s.ProductViewDetail = v - return s -} - -// SetTags sets the Tags field's value. -func (s *UpdateProductOutput) SetTags(v []Tag) *UpdateProductOutput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProductInput type UpdateProvisionedProductInput struct { _ struct{} `type:"structure"` @@ -10752,54 +8436,6 @@ func (s *UpdateProvisionedProductInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *UpdateProvisionedProductInput) SetAcceptLanguage(v string) *UpdateProvisionedProductInput { - s.AcceptLanguage = &v - return s -} - -// SetPathId sets the PathId field's value. -func (s *UpdateProvisionedProductInput) SetPathId(v string) *UpdateProvisionedProductInput { - s.PathId = &v - return s -} - -// SetProductId sets the ProductId field's value. -func (s *UpdateProvisionedProductInput) SetProductId(v string) *UpdateProvisionedProductInput { - s.ProductId = &v - return s -} - -// SetProvisionedProductId sets the ProvisionedProductId field's value. -func (s *UpdateProvisionedProductInput) SetProvisionedProductId(v string) *UpdateProvisionedProductInput { - s.ProvisionedProductId = &v - return s -} - -// SetProvisionedProductName sets the ProvisionedProductName field's value. -func (s *UpdateProvisionedProductInput) SetProvisionedProductName(v string) *UpdateProvisionedProductInput { - s.ProvisionedProductName = &v - return s -} - -// SetProvisioningArtifactId sets the ProvisioningArtifactId field's value. -func (s *UpdateProvisionedProductInput) SetProvisioningArtifactId(v string) *UpdateProvisionedProductInput { - s.ProvisioningArtifactId = &v - return s -} - -// SetProvisioningParameters sets the ProvisioningParameters field's value. -func (s *UpdateProvisionedProductInput) SetProvisioningParameters(v []UpdateProvisioningParameter) *UpdateProvisionedProductInput { - s.ProvisioningParameters = v - return s -} - -// SetUpdateToken sets the UpdateToken field's value. -func (s *UpdateProvisionedProductInput) SetUpdateToken(v string) *UpdateProvisionedProductInput { - s.UpdateToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProductOutput type UpdateProvisionedProductOutput struct { _ struct{} `type:"structure"` @@ -10825,12 +8461,6 @@ func (s UpdateProvisionedProductOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRecordDetail sets the RecordDetail field's value. -func (s *UpdateProvisionedProductOutput) SetRecordDetail(v *RecordDetail) *UpdateProvisionedProductOutput { - s.RecordDetail = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisioningArtifactInput type UpdateProvisioningArtifactInput struct { _ struct{} `type:"structure"` @@ -10898,42 +8528,6 @@ func (s *UpdateProvisioningArtifactInput) Validate() error { return nil } -// SetAcceptLanguage sets the AcceptLanguage field's value. -func (s *UpdateProvisioningArtifactInput) SetAcceptLanguage(v string) *UpdateProvisioningArtifactInput { - s.AcceptLanguage = &v - return s -} - -// SetActive sets the Active field's value. -func (s *UpdateProvisioningArtifactInput) SetActive(v bool) *UpdateProvisioningArtifactInput { - s.Active = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateProvisioningArtifactInput) SetDescription(v string) *UpdateProvisioningArtifactInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateProvisioningArtifactInput) SetName(v string) *UpdateProvisioningArtifactInput { - s.Name = &v - return s -} - -// SetProductId sets the ProductId field's value. -func (s *UpdateProvisioningArtifactInput) SetProductId(v string) *UpdateProvisioningArtifactInput { - s.ProductId = &v - return s -} - -// SetProvisioningArtifactId sets the ProvisioningArtifactId field's value. -func (s *UpdateProvisioningArtifactInput) SetProvisioningArtifactId(v string) *UpdateProvisioningArtifactInput { - s.ProvisioningArtifactId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisioningArtifactOutput type UpdateProvisioningArtifactOutput struct { _ struct{} `type:"structure"` @@ -10965,24 +8559,6 @@ func (s UpdateProvisioningArtifactOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInfo sets the Info field's value. -func (s *UpdateProvisioningArtifactOutput) SetInfo(v map[string]string) *UpdateProvisioningArtifactOutput { - s.Info = v - return s -} - -// SetProvisioningArtifactDetail sets the ProvisioningArtifactDetail field's value. -func (s *UpdateProvisioningArtifactOutput) SetProvisioningArtifactDetail(v *ProvisioningArtifactDetail) *UpdateProvisioningArtifactOutput { - s.ProvisioningArtifactDetail = v - return s -} - -// SetStatus sets the Status field's value. -func (s *UpdateProvisioningArtifactOutput) SetStatus(v Status) *UpdateProvisioningArtifactOutput { - s.Status = v - return s -} - // The parameter key-value pair used to update a provisioned product. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisioningParameter type UpdateProvisioningParameter struct { @@ -11021,24 +8597,6 @@ func (s *UpdateProvisioningParameter) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *UpdateProvisioningParameter) SetKey(v string) *UpdateProvisioningParameter { - s.Key = &v - return s -} - -// SetUsePreviousValue sets the UsePreviousValue field's value. -func (s *UpdateProvisioningParameter) SetUsePreviousValue(v bool) *UpdateProvisioningParameter { - s.UsePreviousValue = &v - return s -} - -// SetValue sets the Value field's value. -func (s *UpdateProvisioningParameter) SetValue(v string) *UpdateProvisioningParameter { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateTagOptionInput type UpdateTagOptionInput struct { _ struct{} `type:"structure"` @@ -11085,24 +8643,6 @@ func (s *UpdateTagOptionInput) Validate() error { return nil } -// SetActive sets the Active field's value. -func (s *UpdateTagOptionInput) SetActive(v bool) *UpdateTagOptionInput { - s.Active = &v - return s -} - -// SetId sets the Id field's value. -func (s *UpdateTagOptionInput) SetId(v string) *UpdateTagOptionInput { - s.Id = &v - return s -} - -// SetValue sets the Value field's value. -func (s *UpdateTagOptionInput) SetValue(v string) *UpdateTagOptionInput { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateTagOptionOutput type UpdateTagOptionOutput struct { _ struct{} `type:"structure"` @@ -11128,12 +8668,6 @@ func (s UpdateTagOptionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTagOptionDetail sets the TagOptionDetail field's value. -func (s *UpdateTagOptionOutput) SetTagOptionDetail(v *TagOptionDetail) *UpdateTagOptionOutput { - s.TagOptionDetail = v - return s -} - // Additional information provided by the administrator. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UsageInstruction type UsageInstruction struct { @@ -11156,18 +8690,6 @@ func (s UsageInstruction) GoString() string { return s.String() } -// SetType sets the Type field's value. -func (s *UsageInstruction) SetType(v string) *UsageInstruction { - s.Type = &v - return s -} - -// SetValue sets the Value field's value. -func (s *UsageInstruction) SetValue(v string) *UsageInstruction { - s.Value = &v - return s -} - type AccessLevelFilterKey string // Enum values for AccessLevelFilterKey diff --git a/service/servicediscovery/api.go b/service/servicediscovery/api.go index 59b7ecd7764..ea87bf3360b 100644 --- a/service/servicediscovery/api.go +++ b/service/servicediscovery/api.go @@ -1235,30 +1235,6 @@ func (s *CreatePrivateDnsNamespaceInput) Validate() error { return nil } -// SetCreatorRequestId sets the CreatorRequestId field's value. -func (s *CreatePrivateDnsNamespaceInput) SetCreatorRequestId(v string) *CreatePrivateDnsNamespaceInput { - s.CreatorRequestId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreatePrivateDnsNamespaceInput) SetDescription(v string) *CreatePrivateDnsNamespaceInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreatePrivateDnsNamespaceInput) SetName(v string) *CreatePrivateDnsNamespaceInput { - s.Name = &v - return s -} - -// SetVpc sets the Vpc field's value. -func (s *CreatePrivateDnsNamespaceInput) SetVpc(v string) *CreatePrivateDnsNamespaceInput { - s.Vpc = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePrivateDnsNamespaceResponse type CreatePrivateDnsNamespaceOutput struct { _ struct{} `type:"structure"` @@ -1285,12 +1261,6 @@ func (s CreatePrivateDnsNamespaceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperationId sets the OperationId field's value. -func (s *CreatePrivateDnsNamespaceOutput) SetOperationId(v string) *CreatePrivateDnsNamespaceOutput { - s.OperationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePublicDnsNamespaceRequest type CreatePublicDnsNamespaceInput struct { _ struct{} `type:"structure"` @@ -1332,24 +1302,6 @@ func (s *CreatePublicDnsNamespaceInput) Validate() error { return nil } -// SetCreatorRequestId sets the CreatorRequestId field's value. -func (s *CreatePublicDnsNamespaceInput) SetCreatorRequestId(v string) *CreatePublicDnsNamespaceInput { - s.CreatorRequestId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreatePublicDnsNamespaceInput) SetDescription(v string) *CreatePublicDnsNamespaceInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreatePublicDnsNamespaceInput) SetName(v string) *CreatePublicDnsNamespaceInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePublicDnsNamespaceResponse type CreatePublicDnsNamespaceOutput struct { _ struct{} `type:"structure"` @@ -1376,12 +1328,6 @@ func (s CreatePublicDnsNamespaceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperationId sets the OperationId field's value. -func (s *CreatePublicDnsNamespaceOutput) SetOperationId(v string) *CreatePublicDnsNamespaceOutput { - s.OperationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateServiceRequest type CreateServiceInput struct { _ struct{} `type:"structure"` @@ -1462,36 +1408,6 @@ func (s *CreateServiceInput) Validate() error { return nil } -// SetCreatorRequestId sets the CreatorRequestId field's value. -func (s *CreateServiceInput) SetCreatorRequestId(v string) *CreateServiceInput { - s.CreatorRequestId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateServiceInput) SetDescription(v string) *CreateServiceInput { - s.Description = &v - return s -} - -// SetDnsConfig sets the DnsConfig field's value. -func (s *CreateServiceInput) SetDnsConfig(v *DnsConfig) *CreateServiceInput { - s.DnsConfig = v - return s -} - -// SetHealthCheckConfig sets the HealthCheckConfig field's value. -func (s *CreateServiceInput) SetHealthCheckConfig(v *HealthCheckConfig) *CreateServiceInput { - s.HealthCheckConfig = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateServiceInput) SetName(v string) *CreateServiceInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateServiceResponse type CreateServiceOutput struct { _ struct{} `type:"structure"` @@ -1517,12 +1433,6 @@ func (s CreateServiceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetService sets the Service field's value. -func (s *CreateServiceOutput) SetService(v *Service) *CreateServiceOutput { - s.Service = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteNamespaceRequest type DeleteNamespaceInput struct { _ struct{} `type:"structure"` @@ -1557,12 +1467,6 @@ func (s *DeleteNamespaceInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DeleteNamespaceInput) SetId(v string) *DeleteNamespaceInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteNamespaceResponse type DeleteNamespaceOutput struct { _ struct{} `type:"structure"` @@ -1589,12 +1493,6 @@ func (s DeleteNamespaceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperationId sets the OperationId field's value. -func (s *DeleteNamespaceOutput) SetOperationId(v string) *DeleteNamespaceOutput { - s.OperationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteServiceRequest type DeleteServiceInput struct { _ struct{} `type:"structure"` @@ -1629,12 +1527,6 @@ func (s *DeleteServiceInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DeleteServiceInput) SetId(v string) *DeleteServiceInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteServiceResponse type DeleteServiceOutput struct { _ struct{} `type:"structure"` @@ -1700,18 +1592,6 @@ func (s *DeregisterInstanceInput) Validate() error { return nil } -// SetInstanceId sets the InstanceId field's value. -func (s *DeregisterInstanceInput) SetInstanceId(v string) *DeregisterInstanceInput { - s.InstanceId = &v - return s -} - -// SetServiceId sets the ServiceId field's value. -func (s *DeregisterInstanceInput) SetServiceId(v string) *DeregisterInstanceInput { - s.ServiceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeregisterInstanceResponse type DeregisterInstanceOutput struct { _ struct{} `type:"structure"` @@ -1738,12 +1618,6 @@ func (s DeregisterInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperationId sets the OperationId field's value. -func (s *DeregisterInstanceOutput) SetOperationId(v string) *DeregisterInstanceOutput { - s.OperationId = &v - return s -} - // A complex type that contains information about the resource record sets that // you want Amazon Route 53 to create when you register an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DnsConfig @@ -1797,18 +1671,6 @@ func (s *DnsConfig) Validate() error { return nil } -// SetDnsRecords sets the DnsRecords field's value. -func (s *DnsConfig) SetDnsRecords(v []DnsRecord) *DnsConfig { - s.DnsRecords = v - return s -} - -// SetNamespaceId sets the NamespaceId field's value. -func (s *DnsConfig) SetNamespaceId(v string) *DnsConfig { - s.NamespaceId = &v - return s -} - // A complex type that contains information about changes to the resource record // sets that Amazon Route 53 creates when you register an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DnsConfigChange @@ -1853,12 +1715,6 @@ func (s *DnsConfigChange) Validate() error { return nil } -// SetDnsRecords sets the DnsRecords field's value. -func (s *DnsConfigChange) SetDnsRecords(v []DnsRecord) *DnsConfigChange { - s.DnsRecords = v - return s -} - // A complex type that contains the ID for the hosted zone that Amazon Route // 53 creates when you create a namespace. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DnsProperties @@ -1880,12 +1736,6 @@ func (s DnsProperties) GoString() string { return s.String() } -// SetHostedZoneId sets the HostedZoneId field's value. -func (s *DnsProperties) SetHostedZoneId(v string) *DnsProperties { - s.HostedZoneId = &v - return s -} - // A complex type that contains information about the resource record sets that // you want Amazon Route 53 to create when you register an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DnsRecord @@ -1947,18 +1797,6 @@ func (s *DnsRecord) Validate() error { return nil } -// SetTTL sets the TTL field's value. -func (s *DnsRecord) SetTTL(v int64) *DnsRecord { - s.TTL = &v - return s -} - -// SetType sets the Type field's value. -func (s *DnsRecord) SetType(v RecordType) *DnsRecord { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstanceRequest type GetInstanceInput struct { _ struct{} `type:"structure"` @@ -2002,18 +1840,6 @@ func (s *GetInstanceInput) Validate() error { return nil } -// SetInstanceId sets the InstanceId field's value. -func (s *GetInstanceInput) SetInstanceId(v string) *GetInstanceInput { - s.InstanceId = &v - return s -} - -// SetServiceId sets the ServiceId field's value. -func (s *GetInstanceInput) SetServiceId(v string) *GetInstanceInput { - s.ServiceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstanceResponse type GetInstanceOutput struct { _ struct{} `type:"structure"` @@ -2039,12 +1865,6 @@ func (s GetInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstance sets the Instance field's value. -func (s *GetInstanceOutput) SetInstance(v *Instance) *GetInstanceOutput { - s.Instance = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstancesHealthStatusRequest type GetInstancesHealthStatusInput struct { _ struct{} `type:"structure"` @@ -2105,30 +1925,6 @@ func (s *GetInstancesHealthStatusInput) Validate() error { return nil } -// SetInstances sets the Instances field's value. -func (s *GetInstancesHealthStatusInput) SetInstances(v []string) *GetInstancesHealthStatusInput { - s.Instances = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetInstancesHealthStatusInput) SetMaxResults(v int64) *GetInstancesHealthStatusInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetInstancesHealthStatusInput) SetNextToken(v string) *GetInstancesHealthStatusInput { - s.NextToken = &v - return s -} - -// SetServiceId sets the ServiceId field's value. -func (s *GetInstancesHealthStatusInput) SetServiceId(v string) *GetInstancesHealthStatusInput { - s.ServiceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstancesHealthStatusResponse type GetInstancesHealthStatusOutput struct { _ struct{} `type:"structure"` @@ -2160,18 +1956,6 @@ func (s GetInstancesHealthStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *GetInstancesHealthStatusOutput) SetNextToken(v string) *GetInstancesHealthStatusOutput { - s.NextToken = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetInstancesHealthStatusOutput) SetStatus(v map[string]HealthStatus) *GetInstancesHealthStatusOutput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetNamespaceRequest type GetNamespaceInput struct { _ struct{} `type:"structure"` @@ -2206,12 +1990,6 @@ func (s *GetNamespaceInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *GetNamespaceInput) SetId(v string) *GetNamespaceInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetNamespaceResponse type GetNamespaceOutput struct { _ struct{} `type:"structure"` @@ -2237,12 +2015,6 @@ func (s GetNamespaceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNamespace sets the Namespace field's value. -func (s *GetNamespaceOutput) SetNamespace(v *Namespace) *GetNamespaceOutput { - s.Namespace = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetOperationRequest type GetOperationInput struct { _ struct{} `type:"structure"` @@ -2277,12 +2049,6 @@ func (s *GetOperationInput) Validate() error { return nil } -// SetOperationId sets the OperationId field's value. -func (s *GetOperationInput) SetOperationId(v string) *GetOperationInput { - s.OperationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetOperationResponse type GetOperationOutput struct { _ struct{} `type:"structure"` @@ -2308,12 +2074,6 @@ func (s GetOperationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperation sets the Operation field's value. -func (s *GetOperationOutput) SetOperation(v *Operation) *GetOperationOutput { - s.Operation = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetServiceRequest type GetServiceInput struct { _ struct{} `type:"structure"` @@ -2348,12 +2108,6 @@ func (s *GetServiceInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *GetServiceInput) SetId(v string) *GetServiceInput { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetServiceResponse type GetServiceOutput struct { _ struct{} `type:"structure"` @@ -2379,12 +2133,6 @@ func (s GetServiceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetService sets the Service field's value. -func (s *GetServiceOutput) SetService(v *Service) *GetServiceOutput { - s.Service = v - return s -} - // Public DNS namespaces only. A complex type that contains settings for an // optional health check. If you specify settings for a health check, Amazon // Route 53 associates the health check with all the resource record sets that @@ -2469,24 +2217,6 @@ func (s *HealthCheckConfig) Validate() error { return nil } -// SetFailureThreshold sets the FailureThreshold field's value. -func (s *HealthCheckConfig) SetFailureThreshold(v int64) *HealthCheckConfig { - s.FailureThreshold = &v - return s -} - -// SetResourcePath sets the ResourcePath field's value. -func (s *HealthCheckConfig) SetResourcePath(v string) *HealthCheckConfig { - s.ResourcePath = &v - return s -} - -// SetType sets the Type field's value. -func (s *HealthCheckConfig) SetType(v HealthCheckType) *HealthCheckConfig { - s.Type = v - return s -} - // A complex type that contains information about an instance that Amazon Route // 53 creates when you submit a RegisterInstance request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Instance @@ -2539,24 +2269,6 @@ func (s Instance) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *Instance) SetAttributes(v map[string]string) *Instance { - s.Attributes = v - return s -} - -// SetCreatorRequestId sets the CreatorRequestId field's value. -func (s *Instance) SetCreatorRequestId(v string) *Instance { - s.CreatorRequestId = &v - return s -} - -// SetId sets the Id field's value. -func (s *Instance) SetId(v string) *Instance { - s.Id = &v - return s -} - // A complex type that contains information about the instances that you created // by using a specified service. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/InstanceSummary @@ -2590,18 +2302,6 @@ func (s InstanceSummary) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *InstanceSummary) SetAttributes(v map[string]string) *InstanceSummary { - s.Attributes = v - return s -} - -// SetId sets the Id field's value. -func (s *InstanceSummary) SetId(v string) *InstanceSummary { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListInstancesRequest type ListInstancesInput struct { _ struct{} `type:"structure"` @@ -2651,24 +2351,6 @@ func (s *ListInstancesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListInstancesInput) SetMaxResults(v int64) *ListInstancesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListInstancesInput) SetNextToken(v string) *ListInstancesInput { - s.NextToken = &v - return s -} - -// SetServiceId sets the ServiceId field's value. -func (s *ListInstancesInput) SetServiceId(v string) *ListInstancesInput { - s.ServiceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListInstancesResponse type ListInstancesOutput struct { _ struct{} `type:"structure"` @@ -2700,18 +2382,6 @@ func (s ListInstancesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstances sets the Instances field's value. -func (s *ListInstancesOutput) SetInstances(v []InstanceSummary) *ListInstancesOutput { - s.Instances = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListInstancesOutput) SetNextToken(v string) *ListInstancesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListNamespacesRequest type ListNamespacesInput struct { _ struct{} `type:"structure"` @@ -2766,24 +2436,6 @@ func (s *ListNamespacesInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *ListNamespacesInput) SetFilters(v []NamespaceFilter) *ListNamespacesInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListNamespacesInput) SetMaxResults(v int64) *ListNamespacesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListNamespacesInput) SetNextToken(v string) *ListNamespacesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListNamespacesResponse type ListNamespacesOutput struct { _ struct{} `type:"structure"` @@ -2815,18 +2467,6 @@ func (s ListNamespacesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNamespaces sets the Namespaces field's value. -func (s *ListNamespacesOutput) SetNamespaces(v []NamespaceSummary) *ListNamespacesOutput { - s.Namespaces = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListNamespacesOutput) SetNextToken(v string) *ListNamespacesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListOperationsRequest type ListOperationsInput struct { _ struct{} `type:"structure"` @@ -2882,24 +2522,6 @@ func (s *ListOperationsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *ListOperationsInput) SetFilters(v []OperationFilter) *ListOperationsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListOperationsInput) SetMaxResults(v int64) *ListOperationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListOperationsInput) SetNextToken(v string) *ListOperationsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListOperationsResponse type ListOperationsOutput struct { _ struct{} `type:"structure"` @@ -2930,18 +2552,6 @@ func (s ListOperationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListOperationsOutput) SetNextToken(v string) *ListOperationsOutput { - s.NextToken = &v - return s -} - -// SetOperations sets the Operations field's value. -func (s *ListOperationsOutput) SetOperations(v []OperationSummary) *ListOperationsOutput { - s.Operations = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListServicesRequest type ListServicesInput struct { _ struct{} `type:"structure"` @@ -2996,24 +2606,6 @@ func (s *ListServicesInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *ListServicesInput) SetFilters(v []ServiceFilter) *ListServicesInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListServicesInput) SetMaxResults(v int64) *ListServicesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListServicesInput) SetNextToken(v string) *ListServicesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListServicesResponse type ListServicesOutput struct { _ struct{} `type:"structure"` @@ -3046,18 +2638,6 @@ func (s ListServicesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListServicesOutput) SetNextToken(v string) *ListServicesOutput { - s.NextToken = &v - return s -} - -// SetServices sets the Services field's value. -func (s *ListServicesOutput) SetServices(v []ServiceSummary) *ListServicesOutput { - s.Services = v - return s -} - // A complex type that contains information about a specified namespace. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Namespace type Namespace struct { @@ -3105,60 +2685,6 @@ func (s Namespace) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Namespace) SetArn(v string) *Namespace { - s.Arn = &v - return s -} - -// SetCreateDate sets the CreateDate field's value. -func (s *Namespace) SetCreateDate(v time.Time) *Namespace { - s.CreateDate = &v - return s -} - -// SetCreatorRequestId sets the CreatorRequestId field's value. -func (s *Namespace) SetCreatorRequestId(v string) *Namespace { - s.CreatorRequestId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Namespace) SetDescription(v string) *Namespace { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *Namespace) SetId(v string) *Namespace { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *Namespace) SetName(v string) *Namespace { - s.Name = &v - return s -} - -// SetProperties sets the Properties field's value. -func (s *Namespace) SetProperties(v *NamespaceProperties) *Namespace { - s.Properties = v - return s -} - -// SetServiceCount sets the ServiceCount field's value. -func (s *Namespace) SetServiceCount(v int64) *Namespace { - s.ServiceCount = &v - return s -} - -// SetType sets the Type field's value. -func (s *Namespace) SetType(v NamespaceType) *Namespace { - s.Type = v - return s -} - // A complex type that identifies the namespaces that you want to list. You // can choose to list public or private namespaces. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/NamespaceFilter @@ -3217,24 +2743,6 @@ func (s *NamespaceFilter) Validate() error { return nil } -// SetCondition sets the Condition field's value. -func (s *NamespaceFilter) SetCondition(v FilterCondition) *NamespaceFilter { - s.Condition = v - return s -} - -// SetName sets the Name field's value. -func (s *NamespaceFilter) SetName(v NamespaceFilterName) *NamespaceFilter { - s.Name = v - return s -} - -// SetValues sets the Values field's value. -func (s *NamespaceFilter) SetValues(v []string) *NamespaceFilter { - s.Values = v - return s -} - // A complex type that contains information that is specific to the namespace // type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/NamespaceProperties @@ -3256,12 +2764,6 @@ func (s NamespaceProperties) GoString() string { return s.String() } -// SetDnsProperties sets the DnsProperties field's value. -func (s *NamespaceProperties) SetDnsProperties(v *DnsProperties) *NamespaceProperties { - s.DnsProperties = v - return s -} - // A complex type that contains information about a namespace. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/NamespaceSummary type NamespaceSummary struct { @@ -3292,30 +2794,6 @@ func (s NamespaceSummary) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *NamespaceSummary) SetArn(v string) *NamespaceSummary { - s.Arn = &v - return s -} - -// SetId sets the Id field's value. -func (s *NamespaceSummary) SetId(v string) *NamespaceSummary { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *NamespaceSummary) SetName(v string) *NamespaceSummary { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *NamespaceSummary) SetType(v NamespaceType) *NamespaceSummary { - s.Type = v - return s -} - // A complex type that contains information about a specified operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Operation type Operation struct { @@ -3373,54 +2851,6 @@ func (s Operation) GoString() string { return s.String() } -// SetCreateDate sets the CreateDate field's value. -func (s *Operation) SetCreateDate(v time.Time) *Operation { - s.CreateDate = &v - return s -} - -// SetErrorCode sets the ErrorCode field's value. -func (s *Operation) SetErrorCode(v string) *Operation { - s.ErrorCode = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *Operation) SetErrorMessage(v string) *Operation { - s.ErrorMessage = &v - return s -} - -// SetId sets the Id field's value. -func (s *Operation) SetId(v string) *Operation { - s.Id = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Operation) SetStatus(v OperationStatus) *Operation { - s.Status = v - return s -} - -// SetTargets sets the Targets field's value. -func (s *Operation) SetTargets(v map[string]string) *Operation { - s.Targets = v - return s -} - -// SetType sets the Type field's value. -func (s *Operation) SetType(v OperationType) *Operation { - s.Type = v - return s -} - -// SetUpdateDate sets the UpdateDate field's value. -func (s *Operation) SetUpdateDate(v time.Time) *Operation { - s.UpdateDate = &v - return s -} - // A complex type that lets you select the operations that you want to list. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/OperationFilter type OperationFilter struct { @@ -3505,24 +2935,6 @@ func (s *OperationFilter) Validate() error { return nil } -// SetCondition sets the Condition field's value. -func (s *OperationFilter) SetCondition(v FilterCondition) *OperationFilter { - s.Condition = v - return s -} - -// SetName sets the Name field's value. -func (s *OperationFilter) SetName(v OperationFilterName) *OperationFilter { - s.Name = v - return s -} - -// SetValues sets the Values field's value. -func (s *OperationFilter) SetValues(v []string) *OperationFilter { - s.Values = v - return s -} - // A complex type that contains information about an operation that matches // the criteria that you specified in a ListOperations request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/OperationSummary @@ -3555,18 +2967,6 @@ func (s OperationSummary) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *OperationSummary) SetId(v string) *OperationSummary { - s.Id = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *OperationSummary) SetStatus(v OperationStatus) *OperationSummary { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/RegisterInstanceRequest type RegisterInstanceInput struct { _ struct{} `type:"structure"` @@ -3643,30 +3043,6 @@ func (s *RegisterInstanceInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *RegisterInstanceInput) SetAttributes(v map[string]string) *RegisterInstanceInput { - s.Attributes = v - return s -} - -// SetCreatorRequestId sets the CreatorRequestId field's value. -func (s *RegisterInstanceInput) SetCreatorRequestId(v string) *RegisterInstanceInput { - s.CreatorRequestId = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *RegisterInstanceInput) SetInstanceId(v string) *RegisterInstanceInput { - s.InstanceId = &v - return s -} - -// SetServiceId sets the ServiceId field's value. -func (s *RegisterInstanceInput) SetServiceId(v string) *RegisterInstanceInput { - s.ServiceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/RegisterInstanceResponse type RegisterInstanceOutput struct { _ struct{} `type:"structure"` @@ -3693,12 +3069,6 @@ func (s RegisterInstanceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperationId sets the OperationId field's value. -func (s *RegisterInstanceOutput) SetOperationId(v string) *RegisterInstanceOutput { - s.OperationId = &v - return s -} - // A complex type that contains information about the specified service. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Service type Service struct { @@ -3764,60 +3134,6 @@ func (s Service) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *Service) SetArn(v string) *Service { - s.Arn = &v - return s -} - -// SetCreateDate sets the CreateDate field's value. -func (s *Service) SetCreateDate(v time.Time) *Service { - s.CreateDate = &v - return s -} - -// SetCreatorRequestId sets the CreatorRequestId field's value. -func (s *Service) SetCreatorRequestId(v string) *Service { - s.CreatorRequestId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Service) SetDescription(v string) *Service { - s.Description = &v - return s -} - -// SetDnsConfig sets the DnsConfig field's value. -func (s *Service) SetDnsConfig(v *DnsConfig) *Service { - s.DnsConfig = v - return s -} - -// SetHealthCheckConfig sets the HealthCheckConfig field's value. -func (s *Service) SetHealthCheckConfig(v *HealthCheckConfig) *Service { - s.HealthCheckConfig = v - return s -} - -// SetId sets the Id field's value. -func (s *Service) SetId(v string) *Service { - s.Id = &v - return s -} - -// SetInstanceCount sets the InstanceCount field's value. -func (s *Service) SetInstanceCount(v int64) *Service { - s.InstanceCount = &v - return s -} - -// SetName sets the Name field's value. -func (s *Service) SetName(v string) *Service { - s.Name = &v - return s -} - // A complex type that contains changes to an existing service. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ServiceChange type ServiceChange struct { @@ -3886,24 +3202,6 @@ func (s *ServiceChange) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *ServiceChange) SetDescription(v string) *ServiceChange { - s.Description = &v - return s -} - -// SetDnsConfig sets the DnsConfig field's value. -func (s *ServiceChange) SetDnsConfig(v *DnsConfigChange) *ServiceChange { - s.DnsConfig = v - return s -} - -// SetHealthCheckConfig sets the HealthCheckConfig field's value. -func (s *ServiceChange) SetHealthCheckConfig(v *HealthCheckConfig) *ServiceChange { - s.HealthCheckConfig = v - return s -} - // A complex type that lets you specify the namespaces that you want to list // services for. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ServiceFilter @@ -3959,24 +3257,6 @@ func (s *ServiceFilter) Validate() error { return nil } -// SetCondition sets the Condition field's value. -func (s *ServiceFilter) SetCondition(v FilterCondition) *ServiceFilter { - s.Condition = v - return s -} - -// SetName sets the Name field's value. -func (s *ServiceFilter) SetName(v ServiceFilterName) *ServiceFilter { - s.Name = v - return s -} - -// SetValues sets the Values field's value. -func (s *ServiceFilter) SetValues(v []string) *ServiceFilter { - s.Values = v - return s -} - // A complex type that contains information about a specified service. // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ServiceSummary type ServiceSummary struct { @@ -4011,36 +3291,6 @@ func (s ServiceSummary) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *ServiceSummary) SetArn(v string) *ServiceSummary { - s.Arn = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ServiceSummary) SetDescription(v string) *ServiceSummary { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *ServiceSummary) SetId(v string) *ServiceSummary { - s.Id = &v - return s -} - -// SetInstanceCount sets the InstanceCount field's value. -func (s *ServiceSummary) SetInstanceCount(v int64) *ServiceSummary { - s.InstanceCount = &v - return s -} - -// SetName sets the Name field's value. -func (s *ServiceSummary) SetName(v string) *ServiceSummary { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateServiceRequest type UpdateServiceInput struct { _ struct{} `type:"structure"` @@ -4089,18 +3339,6 @@ func (s *UpdateServiceInput) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *UpdateServiceInput) SetId(v string) *UpdateServiceInput { - s.Id = &v - return s -} - -// SetService sets the Service field's value. -func (s *UpdateServiceInput) SetService(v *ServiceChange) *UpdateServiceInput { - s.Service = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateServiceResponse type UpdateServiceOutput struct { _ struct{} `type:"structure"` @@ -4127,12 +3365,6 @@ func (s UpdateServiceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetOperationId sets the OperationId field's value. -func (s *UpdateServiceOutput) SetOperationId(v string) *UpdateServiceOutput { - s.OperationId = &v - return s -} - type FilterCondition string // Enum values for FilterCondition diff --git a/service/ses/api.go b/service/ses/api.go index dc744b1ad22..8f26b911311 100644 --- a/service/ses/api.go +++ b/service/ses/api.go @@ -4222,18 +4222,6 @@ func (s *AddHeaderAction) Validate() error { return nil } -// SetHeaderName sets the HeaderName field's value. -func (s *AddHeaderAction) SetHeaderName(v string) *AddHeaderAction { - s.HeaderName = &v - return s -} - -// SetHeaderValue sets the HeaderValue field's value. -func (s *AddHeaderAction) SetHeaderValue(v string) *AddHeaderAction { - s.HeaderValue = &v - return s -} - // Represents the body of the message. You can specify text, HTML, or both. // If you use both, then the message should display correctly in the widest // variety of email clients. @@ -4281,18 +4269,6 @@ func (s *Body) Validate() error { return nil } -// SetHtml sets the Html field's value. -func (s *Body) SetHtml(v *Content) *Body { - s.Html = v - return s -} - -// SetText sets the Text field's value. -func (s *Body) SetText(v *Content) *Body { - s.Text = v - return s -} - // When included in a receipt rule, this action rejects the received email by // returning a bounce response to the sender and, optionally, publishes a notification // to Amazon Simple Notification Service (Amazon SNS). @@ -4361,36 +4337,6 @@ func (s *BounceAction) Validate() error { return nil } -// SetMessage sets the Message field's value. -func (s *BounceAction) SetMessage(v string) *BounceAction { - s.Message = &v - return s -} - -// SetSender sets the Sender field's value. -func (s *BounceAction) SetSender(v string) *BounceAction { - s.Sender = &v - return s -} - -// SetSmtpReplyCode sets the SmtpReplyCode field's value. -func (s *BounceAction) SetSmtpReplyCode(v string) *BounceAction { - s.SmtpReplyCode = &v - return s -} - -// SetStatusCode sets the StatusCode field's value. -func (s *BounceAction) SetStatusCode(v string) *BounceAction { - s.StatusCode = &v - return s -} - -// SetTopicArn sets the TopicArn field's value. -func (s *BounceAction) SetTopicArn(v string) *BounceAction { - s.TopicArn = &v - return s -} - // Recipient-related information to include in the Delivery Status Notification // (DSN) when an email that Amazon SES receives on your behalf bounces. // @@ -4449,30 +4395,6 @@ func (s *BouncedRecipientInfo) Validate() error { return nil } -// SetBounceType sets the BounceType field's value. -func (s *BouncedRecipientInfo) SetBounceType(v BounceType) *BouncedRecipientInfo { - s.BounceType = v - return s -} - -// SetRecipient sets the Recipient field's value. -func (s *BouncedRecipientInfo) SetRecipient(v string) *BouncedRecipientInfo { - s.Recipient = &v - return s -} - -// SetRecipientArn sets the RecipientArn field's value. -func (s *BouncedRecipientInfo) SetRecipientArn(v string) *BouncedRecipientInfo { - s.RecipientArn = &v - return s -} - -// SetRecipientDsnFields sets the RecipientDsnFields field's value. -func (s *BouncedRecipientInfo) SetRecipientDsnFields(v *RecipientDsnFields) *BouncedRecipientInfo { - s.RecipientDsnFields = v - return s -} - // An array that contains one or more Destinations, as well as the tags and // replacement data associated with each of those Destinations. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/BulkEmailDestination @@ -4535,24 +4457,6 @@ func (s *BulkEmailDestination) Validate() error { return nil } -// SetDestination sets the Destination field's value. -func (s *BulkEmailDestination) SetDestination(v *Destination) *BulkEmailDestination { - s.Destination = v - return s -} - -// SetReplacementTags sets the ReplacementTags field's value. -func (s *BulkEmailDestination) SetReplacementTags(v []MessageTag) *BulkEmailDestination { - s.ReplacementTags = v - return s -} - -// SetReplacementTemplateData sets the ReplacementTemplateData field's value. -func (s *BulkEmailDestination) SetReplacementTemplateData(v string) *BulkEmailDestination { - s.ReplacementTemplateData = &v - return s -} - // An object that contains the response from the SendBulkTemplatedEmail operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/BulkEmailDestinationStatus type BulkEmailDestinationStatus struct { @@ -4622,24 +4526,6 @@ func (s BulkEmailDestinationStatus) GoString() string { return s.String() } -// SetError sets the Error field's value. -func (s *BulkEmailDestinationStatus) SetError(v string) *BulkEmailDestinationStatus { - s.Error = &v - return s -} - -// SetMessageId sets the MessageId field's value. -func (s *BulkEmailDestinationStatus) SetMessageId(v string) *BulkEmailDestinationStatus { - s.MessageId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *BulkEmailDestinationStatus) SetStatus(v BulkEmailStatus) *BulkEmailDestinationStatus { - s.Status = v - return s -} - // Represents a request to create a receipt rule set by cloning an existing // one. You use receipt rule sets to receive email with Amazon SES. For more // information, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). @@ -4693,18 +4579,6 @@ func (s *CloneReceiptRuleSetInput) Validate() error { return nil } -// SetOriginalRuleSetName sets the OriginalRuleSetName field's value. -func (s *CloneReceiptRuleSetInput) SetOriginalRuleSetName(v string) *CloneReceiptRuleSetInput { - s.OriginalRuleSetName = &v - return s -} - -// SetRuleSetName sets the RuleSetName field's value. -func (s *CloneReceiptRuleSetInput) SetRuleSetName(v string) *CloneReceiptRuleSetInput { - s.RuleSetName = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CloneReceiptRuleSetResponse type CloneReceiptRuleSetOutput struct { @@ -4776,12 +4650,6 @@ func (s *CloudWatchDestination) Validate() error { return nil } -// SetDimensionConfigurations sets the DimensionConfigurations field's value. -func (s *CloudWatchDestination) SetDimensionConfigurations(v []CloudWatchDimensionConfiguration) *CloudWatchDestination { - s.DimensionConfigurations = v - return s -} - // Contains the dimension configuration to use when you publish email sending // events to Amazon CloudWatch. // @@ -4855,24 +4723,6 @@ func (s *CloudWatchDimensionConfiguration) Validate() error { return nil } -// SetDefaultDimensionValue sets the DefaultDimensionValue field's value. -func (s *CloudWatchDimensionConfiguration) SetDefaultDimensionValue(v string) *CloudWatchDimensionConfiguration { - s.DefaultDimensionValue = &v - return s -} - -// SetDimensionName sets the DimensionName field's value. -func (s *CloudWatchDimensionConfiguration) SetDimensionName(v string) *CloudWatchDimensionConfiguration { - s.DimensionName = &v - return s -} - -// SetDimensionValueSource sets the DimensionValueSource field's value. -func (s *CloudWatchDimensionConfiguration) SetDimensionValueSource(v DimensionValueSource) *CloudWatchDimensionConfiguration { - s.DimensionValueSource = v - return s -} - // The name of the configuration set. // // Configuration sets let you create groups of rules that you can apply to the @@ -4918,12 +4768,6 @@ func (s *ConfigurationSet) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *ConfigurationSet) SetName(v string) *ConfigurationSet { - s.Name = &v - return s -} - // Represents textual data, plus an optional character set specification. // // By default, the text must be 7-bit ASCII, due to the constraints of the SMTP @@ -4966,18 +4810,6 @@ func (s *Content) Validate() error { return nil } -// SetCharset sets the Charset field's value. -func (s *Content) SetCharset(v string) *Content { - s.Charset = &v - return s -} - -// SetData sets the Data field's value. -func (s *Content) SetData(v string) *Content { - s.Data = &v - return s -} - // Represents a request to create a configuration set event destination. A configuration // set event destination, which can be either Amazon CloudWatch or Amazon Kinesis // Firehose, describes an AWS service in which Amazon SES publishes the email @@ -5033,18 +4865,6 @@ func (s *CreateConfigurationSetEventDestinationInput) Validate() error { return nil } -// SetConfigurationSetName sets the ConfigurationSetName field's value. -func (s *CreateConfigurationSetEventDestinationInput) SetConfigurationSetName(v string) *CreateConfigurationSetEventDestinationInput { - s.ConfigurationSetName = &v - return s -} - -// SetEventDestination sets the EventDestination field's value. -func (s *CreateConfigurationSetEventDestinationInput) SetEventDestination(v *EventDestination) *CreateConfigurationSetEventDestinationInput { - s.EventDestination = v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetEventDestinationResponse type CreateConfigurationSetEventDestinationOutput struct { @@ -5110,12 +4930,6 @@ func (s *CreateConfigurationSetInput) Validate() error { return nil } -// SetConfigurationSet sets the ConfigurationSet field's value. -func (s *CreateConfigurationSetInput) SetConfigurationSet(v *ConfigurationSet) *CreateConfigurationSetInput { - s.ConfigurationSet = v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetResponse type CreateConfigurationSetOutput struct { @@ -5191,18 +5005,6 @@ func (s *CreateConfigurationSetTrackingOptionsInput) Validate() error { return nil } -// SetConfigurationSetName sets the ConfigurationSetName field's value. -func (s *CreateConfigurationSetTrackingOptionsInput) SetConfigurationSetName(v string) *CreateConfigurationSetTrackingOptionsInput { - s.ConfigurationSetName = &v - return s -} - -// SetTrackingOptions sets the TrackingOptions field's value. -func (s *CreateConfigurationSetTrackingOptionsInput) SetTrackingOptions(v *TrackingOptions) *CreateConfigurationSetTrackingOptionsInput { - s.TrackingOptions = v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetTrackingOptionsResponse type CreateConfigurationSetTrackingOptionsOutput struct { @@ -5312,42 +5114,6 @@ func (s *CreateCustomVerificationEmailTemplateInput) Validate() error { return nil } -// SetFailureRedirectionURL sets the FailureRedirectionURL field's value. -func (s *CreateCustomVerificationEmailTemplateInput) SetFailureRedirectionURL(v string) *CreateCustomVerificationEmailTemplateInput { - s.FailureRedirectionURL = &v - return s -} - -// SetFromEmailAddress sets the FromEmailAddress field's value. -func (s *CreateCustomVerificationEmailTemplateInput) SetFromEmailAddress(v string) *CreateCustomVerificationEmailTemplateInput { - s.FromEmailAddress = &v - return s -} - -// SetSuccessRedirectionURL sets the SuccessRedirectionURL field's value. -func (s *CreateCustomVerificationEmailTemplateInput) SetSuccessRedirectionURL(v string) *CreateCustomVerificationEmailTemplateInput { - s.SuccessRedirectionURL = &v - return s -} - -// SetTemplateContent sets the TemplateContent field's value. -func (s *CreateCustomVerificationEmailTemplateInput) SetTemplateContent(v string) *CreateCustomVerificationEmailTemplateInput { - s.TemplateContent = &v - return s -} - -// SetTemplateName sets the TemplateName field's value. -func (s *CreateCustomVerificationEmailTemplateInput) SetTemplateName(v string) *CreateCustomVerificationEmailTemplateInput { - s.TemplateName = &v - return s -} - -// SetTemplateSubject sets the TemplateSubject field's value. -func (s *CreateCustomVerificationEmailTemplateInput) SetTemplateSubject(v string) *CreateCustomVerificationEmailTemplateInput { - s.TemplateSubject = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateCustomVerificationEmailTemplateOutput type CreateCustomVerificationEmailTemplateOutput struct { _ struct{} `type:"structure"` @@ -5413,12 +5179,6 @@ func (s *CreateReceiptFilterInput) Validate() error { return nil } -// SetFilter sets the Filter field's value. -func (s *CreateReceiptFilterInput) SetFilter(v *ReceiptFilter) *CreateReceiptFilterInput { - s.Filter = v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptFilterResponse type CreateReceiptFilterOutput struct { @@ -5499,24 +5259,6 @@ func (s *CreateReceiptRuleInput) Validate() error { return nil } -// SetAfter sets the After field's value. -func (s *CreateReceiptRuleInput) SetAfter(v string) *CreateReceiptRuleInput { - s.After = &v - return s -} - -// SetRule sets the Rule field's value. -func (s *CreateReceiptRuleInput) SetRule(v *ReceiptRule) *CreateReceiptRuleInput { - s.Rule = v - return s -} - -// SetRuleSetName sets the RuleSetName field's value. -func (s *CreateReceiptRuleInput) SetRuleSetName(v string) *CreateReceiptRuleInput { - s.RuleSetName = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRuleResponse type CreateReceiptRuleOutput struct { @@ -5584,12 +5326,6 @@ func (s *CreateReceiptRuleSetInput) Validate() error { return nil } -// SetRuleSetName sets the RuleSetName field's value. -func (s *CreateReceiptRuleSetInput) SetRuleSetName(v string) *CreateReceiptRuleSetInput { - s.RuleSetName = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRuleSetResponse type CreateReceiptRuleSetOutput struct { @@ -5655,12 +5391,6 @@ func (s *CreateTemplateInput) Validate() error { return nil } -// SetTemplate sets the Template field's value. -func (s *CreateTemplateInput) SetTemplate(v *Template) *CreateTemplateInput { - s.Template = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateTemplateResponse type CreateTemplateOutput struct { _ struct{} `type:"structure"` @@ -5716,36 +5446,6 @@ func (s CustomVerificationEmailTemplate) GoString() string { return s.String() } -// SetFailureRedirectionURL sets the FailureRedirectionURL field's value. -func (s *CustomVerificationEmailTemplate) SetFailureRedirectionURL(v string) *CustomVerificationEmailTemplate { - s.FailureRedirectionURL = &v - return s -} - -// SetFromEmailAddress sets the FromEmailAddress field's value. -func (s *CustomVerificationEmailTemplate) SetFromEmailAddress(v string) *CustomVerificationEmailTemplate { - s.FromEmailAddress = &v - return s -} - -// SetSuccessRedirectionURL sets the SuccessRedirectionURL field's value. -func (s *CustomVerificationEmailTemplate) SetSuccessRedirectionURL(v string) *CustomVerificationEmailTemplate { - s.SuccessRedirectionURL = &v - return s -} - -// SetTemplateName sets the TemplateName field's value. -func (s *CustomVerificationEmailTemplate) SetTemplateName(v string) *CustomVerificationEmailTemplate { - s.TemplateName = &v - return s -} - -// SetTemplateSubject sets the TemplateSubject field's value. -func (s *CustomVerificationEmailTemplate) SetTemplateSubject(v string) *CustomVerificationEmailTemplate { - s.TemplateSubject = &v - return s -} - // Represents a request to delete a configuration set event destination. Configuration // set event destinations are associated with configuration sets, which enable // you to publish email sending events. For information about using configuration @@ -5793,18 +5493,6 @@ func (s *DeleteConfigurationSetEventDestinationInput) Validate() error { return nil } -// SetConfigurationSetName sets the ConfigurationSetName field's value. -func (s *DeleteConfigurationSetEventDestinationInput) SetConfigurationSetName(v string) *DeleteConfigurationSetEventDestinationInput { - s.ConfigurationSetName = &v - return s -} - -// SetEventDestinationName sets the EventDestinationName field's value. -func (s *DeleteConfigurationSetEventDestinationInput) SetEventDestinationName(v string) *DeleteConfigurationSetEventDestinationInput { - s.EventDestinationName = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetEventDestinationResponse type DeleteConfigurationSetEventDestinationOutput struct { @@ -5865,12 +5553,6 @@ func (s *DeleteConfigurationSetInput) Validate() error { return nil } -// SetConfigurationSetName sets the ConfigurationSetName field's value. -func (s *DeleteConfigurationSetInput) SetConfigurationSetName(v string) *DeleteConfigurationSetInput { - s.ConfigurationSetName = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetResponse type DeleteConfigurationSetOutput struct { @@ -5931,12 +5613,6 @@ func (s *DeleteConfigurationSetTrackingOptionsInput) Validate() error { return nil } -// SetConfigurationSetName sets the ConfigurationSetName field's value. -func (s *DeleteConfigurationSetTrackingOptionsInput) SetConfigurationSetName(v string) *DeleteConfigurationSetTrackingOptionsInput { - s.ConfigurationSetName = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetTrackingOptionsResponse type DeleteConfigurationSetTrackingOptionsOutput struct { @@ -5995,12 +5671,6 @@ func (s *DeleteCustomVerificationEmailTemplateInput) Validate() error { return nil } -// SetTemplateName sets the TemplateName field's value. -func (s *DeleteCustomVerificationEmailTemplateInput) SetTemplateName(v string) *DeleteCustomVerificationEmailTemplateInput { - s.TemplateName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteCustomVerificationEmailTemplateOutput type DeleteCustomVerificationEmailTemplateOutput struct { _ struct{} `type:"structure"` @@ -6059,12 +5729,6 @@ func (s *DeleteIdentityInput) Validate() error { return nil } -// SetIdentity sets the Identity field's value. -func (s *DeleteIdentityInput) SetIdentity(v string) *DeleteIdentityInput { - s.Identity = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentityResponse type DeleteIdentityOutput struct { @@ -6142,18 +5806,6 @@ func (s *DeleteIdentityPolicyInput) Validate() error { return nil } -// SetIdentity sets the Identity field's value. -func (s *DeleteIdentityPolicyInput) SetIdentity(v string) *DeleteIdentityPolicyInput { - s.Identity = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *DeleteIdentityPolicyInput) SetPolicyName(v string) *DeleteIdentityPolicyInput { - s.PolicyName = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentityPolicyResponse type DeleteIdentityPolicyOutput struct { @@ -6214,12 +5866,6 @@ func (s *DeleteReceiptFilterInput) Validate() error { return nil } -// SetFilterName sets the FilterName field's value. -func (s *DeleteReceiptFilterInput) SetFilterName(v string) *DeleteReceiptFilterInput { - s.FilterName = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptFilterResponse type DeleteReceiptFilterOutput struct { @@ -6289,18 +5935,6 @@ func (s *DeleteReceiptRuleInput) Validate() error { return nil } -// SetRuleName sets the RuleName field's value. -func (s *DeleteReceiptRuleInput) SetRuleName(v string) *DeleteReceiptRuleInput { - s.RuleName = &v - return s -} - -// SetRuleSetName sets the RuleSetName field's value. -func (s *DeleteReceiptRuleInput) SetRuleSetName(v string) *DeleteReceiptRuleInput { - s.RuleSetName = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRuleResponse type DeleteReceiptRuleOutput struct { @@ -6361,12 +5995,6 @@ func (s *DeleteReceiptRuleSetInput) Validate() error { return nil } -// SetRuleSetName sets the RuleSetName field's value. -func (s *DeleteReceiptRuleSetInput) SetRuleSetName(v string) *DeleteReceiptRuleSetInput { - s.RuleSetName = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRuleSetResponse type DeleteReceiptRuleSetOutput struct { @@ -6426,12 +6054,6 @@ func (s *DeleteTemplateInput) Validate() error { return nil } -// SetTemplateName sets the TemplateName field's value. -func (s *DeleteTemplateInput) SetTemplateName(v string) *DeleteTemplateInput { - s.TemplateName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteTemplateResponse type DeleteTemplateOutput struct { _ struct{} `type:"structure"` @@ -6490,12 +6112,6 @@ func (s *DeleteVerifiedEmailAddressInput) Validate() error { return nil } -// SetEmailAddress sets the EmailAddress field's value. -func (s *DeleteVerifiedEmailAddressInput) SetEmailAddress(v string) *DeleteVerifiedEmailAddressInput { - s.EmailAddress = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteVerifiedEmailAddressOutput type DeleteVerifiedEmailAddressOutput struct { _ struct{} `type:"structure"` @@ -6568,18 +6184,6 @@ func (s DescribeActiveReceiptRuleSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMetadata sets the Metadata field's value. -func (s *DescribeActiveReceiptRuleSetOutput) SetMetadata(v *ReceiptRuleSetMetadata) *DescribeActiveReceiptRuleSetOutput { - s.Metadata = v - return s -} - -// SetRules sets the Rules field's value. -func (s *DescribeActiveReceiptRuleSetOutput) SetRules(v []ReceiptRule) *DescribeActiveReceiptRuleSetOutput { - s.Rules = v - return s -} - // Represents a request to return the details of a configuration set. Configuration // sets enable you to publish email sending events. For information about using // configuration sets, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html). @@ -6620,18 +6224,6 @@ func (s *DescribeConfigurationSetInput) Validate() error { return nil } -// SetConfigurationSetAttributeNames sets the ConfigurationSetAttributeNames field's value. -func (s *DescribeConfigurationSetInput) SetConfigurationSetAttributeNames(v []ConfigurationSetAttribute) *DescribeConfigurationSetInput { - s.ConfigurationSetAttributeNames = v - return s -} - -// SetConfigurationSetName sets the ConfigurationSetName field's value. -func (s *DescribeConfigurationSetInput) SetConfigurationSetName(v string) *DescribeConfigurationSetInput { - s.ConfigurationSetName = &v - return s -} - // Represents the details of a configuration set. Configuration sets enable // you to publish email sending events. For information about using configuration // sets, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html). @@ -6671,30 +6263,6 @@ func (s DescribeConfigurationSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConfigurationSet sets the ConfigurationSet field's value. -func (s *DescribeConfigurationSetOutput) SetConfigurationSet(v *ConfigurationSet) *DescribeConfigurationSetOutput { - s.ConfigurationSet = v - return s -} - -// SetEventDestinations sets the EventDestinations field's value. -func (s *DescribeConfigurationSetOutput) SetEventDestinations(v []EventDestination) *DescribeConfigurationSetOutput { - s.EventDestinations = v - return s -} - -// SetReputationOptions sets the ReputationOptions field's value. -func (s *DescribeConfigurationSetOutput) SetReputationOptions(v *ReputationOptions) *DescribeConfigurationSetOutput { - s.ReputationOptions = v - return s -} - -// SetTrackingOptions sets the TrackingOptions field's value. -func (s *DescribeConfigurationSetOutput) SetTrackingOptions(v *TrackingOptions) *DescribeConfigurationSetOutput { - s.TrackingOptions = v - return s -} - // Represents a request to return the details of a receipt rule. You use receipt // rules to receive email with Amazon SES. For more information, see the Amazon // SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). @@ -6741,18 +6309,6 @@ func (s *DescribeReceiptRuleInput) Validate() error { return nil } -// SetRuleName sets the RuleName field's value. -func (s *DescribeReceiptRuleInput) SetRuleName(v string) *DescribeReceiptRuleInput { - s.RuleName = &v - return s -} - -// SetRuleSetName sets the RuleSetName field's value. -func (s *DescribeReceiptRuleInput) SetRuleSetName(v string) *DescribeReceiptRuleInput { - s.RuleSetName = &v - return s -} - // Represents the details of a receipt rule. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRuleResponse type DescribeReceiptRuleOutput struct { @@ -6781,12 +6337,6 @@ func (s DescribeReceiptRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRule sets the Rule field's value. -func (s *DescribeReceiptRuleOutput) SetRule(v *ReceiptRule) *DescribeReceiptRuleOutput { - s.Rule = v - return s -} - // Represents a request to return the details of a receipt rule set. You use // receipt rule sets to receive email with Amazon SES. For more information, // see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). @@ -6824,12 +6374,6 @@ func (s *DescribeReceiptRuleSetInput) Validate() error { return nil } -// SetRuleSetName sets the RuleSetName field's value. -func (s *DescribeReceiptRuleSetInput) SetRuleSetName(v string) *DescribeReceiptRuleSetInput { - s.RuleSetName = &v - return s -} - // Represents the details of the specified receipt rule set. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRuleSetResponse type DescribeReceiptRuleSetOutput struct { @@ -6860,18 +6404,6 @@ func (s DescribeReceiptRuleSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMetadata sets the Metadata field's value. -func (s *DescribeReceiptRuleSetOutput) SetMetadata(v *ReceiptRuleSetMetadata) *DescribeReceiptRuleSetOutput { - s.Metadata = v - return s -} - -// SetRules sets the Rules field's value. -func (s *DescribeReceiptRuleSetOutput) SetRules(v []ReceiptRule) *DescribeReceiptRuleSetOutput { - s.Rules = v - return s -} - // Represents the destination of the message, consisting of To:, CC:, and BCC: // fields. // @@ -6906,24 +6438,6 @@ func (s Destination) GoString() string { return s.String() } -// SetBccAddresses sets the BccAddresses field's value. -func (s *Destination) SetBccAddresses(v []string) *Destination { - s.BccAddresses = v - return s -} - -// SetCcAddresses sets the CcAddresses field's value. -func (s *Destination) SetCcAddresses(v []string) *Destination { - s.CcAddresses = v - return s -} - -// SetToAddresses sets the ToAddresses field's value. -func (s *Destination) SetToAddresses(v []string) *Destination { - s.ToAddresses = v - return s -} - // Contains information about the event destination that the specified email // sending events will be published to. // @@ -7016,42 +6530,6 @@ func (s *EventDestination) Validate() error { return nil } -// SetCloudWatchDestination sets the CloudWatchDestination field's value. -func (s *EventDestination) SetCloudWatchDestination(v *CloudWatchDestination) *EventDestination { - s.CloudWatchDestination = v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *EventDestination) SetEnabled(v bool) *EventDestination { - s.Enabled = &v - return s -} - -// SetKinesisFirehoseDestination sets the KinesisFirehoseDestination field's value. -func (s *EventDestination) SetKinesisFirehoseDestination(v *KinesisFirehoseDestination) *EventDestination { - s.KinesisFirehoseDestination = v - return s -} - -// SetMatchingEventTypes sets the MatchingEventTypes field's value. -func (s *EventDestination) SetMatchingEventTypes(v []EventType) *EventDestination { - s.MatchingEventTypes = v - return s -} - -// SetName sets the Name field's value. -func (s *EventDestination) SetName(v string) *EventDestination { - s.Name = &v - return s -} - -// SetSNSDestination sets the SNSDestination field's value. -func (s *EventDestination) SetSNSDestination(v *SNSDestination) *EventDestination { - s.SNSDestination = v - return s -} - // Additional X-headers to include in the Delivery Status Notification (DSN) // when an email that Amazon SES receives on your behalf bounces. // @@ -7102,18 +6580,6 @@ func (s *ExtensionField) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *ExtensionField) SetName(v string) *ExtensionField { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *ExtensionField) SetValue(v string) *ExtensionField { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetAccountSendingEnabledInput type GetAccountSendingEnabledInput struct { _ struct{} `type:"structure"` @@ -7157,12 +6623,6 @@ func (s GetAccountSendingEnabledOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEnabled sets the Enabled field's value. -func (s *GetAccountSendingEnabledOutput) SetEnabled(v bool) *GetAccountSendingEnabledOutput { - s.Enabled = &v - return s -} - // Represents a request to retrieve an existing custom verification email template. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetCustomVerificationEmailTemplateRequest type GetCustomVerificationEmailTemplateInput struct { @@ -7198,12 +6658,6 @@ func (s *GetCustomVerificationEmailTemplateInput) Validate() error { return nil } -// SetTemplateName sets the TemplateName field's value. -func (s *GetCustomVerificationEmailTemplateInput) SetTemplateName(v string) *GetCustomVerificationEmailTemplateInput { - s.TemplateName = &v - return s -} - // The content of the custom verification email template. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetCustomVerificationEmailTemplateResponse type GetCustomVerificationEmailTemplateOutput struct { @@ -7247,42 +6701,6 @@ func (s GetCustomVerificationEmailTemplateOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetFailureRedirectionURL sets the FailureRedirectionURL field's value. -func (s *GetCustomVerificationEmailTemplateOutput) SetFailureRedirectionURL(v string) *GetCustomVerificationEmailTemplateOutput { - s.FailureRedirectionURL = &v - return s -} - -// SetFromEmailAddress sets the FromEmailAddress field's value. -func (s *GetCustomVerificationEmailTemplateOutput) SetFromEmailAddress(v string) *GetCustomVerificationEmailTemplateOutput { - s.FromEmailAddress = &v - return s -} - -// SetSuccessRedirectionURL sets the SuccessRedirectionURL field's value. -func (s *GetCustomVerificationEmailTemplateOutput) SetSuccessRedirectionURL(v string) *GetCustomVerificationEmailTemplateOutput { - s.SuccessRedirectionURL = &v - return s -} - -// SetTemplateContent sets the TemplateContent field's value. -func (s *GetCustomVerificationEmailTemplateOutput) SetTemplateContent(v string) *GetCustomVerificationEmailTemplateOutput { - s.TemplateContent = &v - return s -} - -// SetTemplateName sets the TemplateName field's value. -func (s *GetCustomVerificationEmailTemplateOutput) SetTemplateName(v string) *GetCustomVerificationEmailTemplateOutput { - s.TemplateName = &v - return s -} - -// SetTemplateSubject sets the TemplateSubject field's value. -func (s *GetCustomVerificationEmailTemplateOutput) SetTemplateSubject(v string) *GetCustomVerificationEmailTemplateOutput { - s.TemplateSubject = &v - return s -} - // Represents a request for the status of Amazon SES Easy DKIM signing for an // identity. For domain identities, this request also returns the DKIM tokens // that are required for Easy DKIM signing, and whether Amazon SES successfully @@ -7323,12 +6741,6 @@ func (s *GetIdentityDkimAttributesInput) Validate() error { return nil } -// SetIdentities sets the Identities field's value. -func (s *GetIdentityDkimAttributesInput) SetIdentities(v []string) *GetIdentityDkimAttributesInput { - s.Identities = v - return s -} - // Represents the status of Amazon SES Easy DKIM signing for an identity. For // domain identities, this response also contains the DKIM tokens that are required // for Easy DKIM signing, and whether Amazon SES successfully verified that @@ -7360,12 +6772,6 @@ func (s GetIdentityDkimAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDkimAttributes sets the DkimAttributes field's value. -func (s *GetIdentityDkimAttributesOutput) SetDkimAttributes(v map[string]IdentityDkimAttributes) *GetIdentityDkimAttributesOutput { - s.DkimAttributes = v - return s -} - // Represents a request to return the Amazon SES custom MAIL FROM attributes // for a list of identities. For information about using a custom MAIL FROM // domain, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from.html). @@ -7403,12 +6809,6 @@ func (s *GetIdentityMailFromDomainAttributesInput) Validate() error { return nil } -// SetIdentities sets the Identities field's value. -func (s *GetIdentityMailFromDomainAttributesInput) SetIdentities(v []string) *GetIdentityMailFromDomainAttributesInput { - s.Identities = v - return s -} - // Represents the custom MAIL FROM attributes for a list of identities. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityMailFromDomainAttributesResponse type GetIdentityMailFromDomainAttributesOutput struct { @@ -7437,12 +6837,6 @@ func (s GetIdentityMailFromDomainAttributesOutput) SDKResponseMetadata() aws.Res return s.responseMetadata } -// SetMailFromDomainAttributes sets the MailFromDomainAttributes field's value. -func (s *GetIdentityMailFromDomainAttributesOutput) SetMailFromDomainAttributes(v map[string]IdentityMailFromDomainAttributes) *GetIdentityMailFromDomainAttributesOutput { - s.MailFromDomainAttributes = v - return s -} - // Represents a request to return the notification attributes for a list of // identities you verified with Amazon SES. For information about Amazon SES // notifications, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html). @@ -7482,12 +6876,6 @@ func (s *GetIdentityNotificationAttributesInput) Validate() error { return nil } -// SetIdentities sets the Identities field's value. -func (s *GetIdentityNotificationAttributesInput) SetIdentities(v []string) *GetIdentityNotificationAttributesInput { - s.Identities = v - return s -} - // Represents the notification attributes for a list of identities. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityNotificationAttributesResponse type GetIdentityNotificationAttributesOutput struct { @@ -7516,12 +6904,6 @@ func (s GetIdentityNotificationAttributesOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetNotificationAttributes sets the NotificationAttributes field's value. -func (s *GetIdentityNotificationAttributesOutput) SetNotificationAttributes(v map[string]IdentityNotificationAttributes) *GetIdentityNotificationAttributesOutput { - s.NotificationAttributes = v - return s -} - // Represents a request to return the requested sending authorization policies // for an identity. Sending authorization is an Amazon SES feature that enables // you to authorize other senders to use your identities. For information, see @@ -7575,18 +6957,6 @@ func (s *GetIdentityPoliciesInput) Validate() error { return nil } -// SetIdentity sets the Identity field's value. -func (s *GetIdentityPoliciesInput) SetIdentity(v string) *GetIdentityPoliciesInput { - s.Identity = &v - return s -} - -// SetPolicyNames sets the PolicyNames field's value. -func (s *GetIdentityPoliciesInput) SetPolicyNames(v []string) *GetIdentityPoliciesInput { - s.PolicyNames = v - return s -} - // Represents the requested sending authorization policies. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityPoliciesResponse type GetIdentityPoliciesOutput struct { @@ -7615,12 +6985,6 @@ func (s GetIdentityPoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicies sets the Policies field's value. -func (s *GetIdentityPoliciesOutput) SetPolicies(v map[string]string) *GetIdentityPoliciesOutput { - s.Policies = v - return s -} - // Represents a request to return the Amazon SES verification status of a list // of identities. For domain identities, this request also returns the verification // token. For information about verifying identities with Amazon SES, see the @@ -7659,12 +7023,6 @@ func (s *GetIdentityVerificationAttributesInput) Validate() error { return nil } -// SetIdentities sets the Identities field's value. -func (s *GetIdentityVerificationAttributesInput) SetIdentities(v []string) *GetIdentityVerificationAttributesInput { - s.Identities = v - return s -} - // The Amazon SES verification status of a list of identities. For domain identities, // this response also contains the verification token. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityVerificationAttributesResponse @@ -7694,12 +7052,6 @@ func (s GetIdentityVerificationAttributesOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetVerificationAttributes sets the VerificationAttributes field's value. -func (s *GetIdentityVerificationAttributesOutput) SetVerificationAttributes(v map[string]IdentityVerificationAttributes) *GetIdentityVerificationAttributesOutput { - s.VerificationAttributes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendQuotaInput type GetSendQuotaInput struct { _ struct{} `type:"structure"` @@ -7753,24 +7105,6 @@ func (s GetSendQuotaOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMax24HourSend sets the Max24HourSend field's value. -func (s *GetSendQuotaOutput) SetMax24HourSend(v float64) *GetSendQuotaOutput { - s.Max24HourSend = &v - return s -} - -// SetMaxSendRate sets the MaxSendRate field's value. -func (s *GetSendQuotaOutput) SetMaxSendRate(v float64) *GetSendQuotaOutput { - s.MaxSendRate = &v - return s -} - -// SetSentLast24Hours sets the SentLast24Hours field's value. -func (s *GetSendQuotaOutput) SetSentLast24Hours(v float64) *GetSendQuotaOutput { - s.SentLast24Hours = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendStatisticsInput type GetSendStatisticsInput struct { _ struct{} `type:"structure"` @@ -7813,12 +7147,6 @@ func (s GetSendStatisticsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSendDataPoints sets the SendDataPoints field's value. -func (s *GetSendStatisticsOutput) SetSendDataPoints(v []SendDataPoint) *GetSendStatisticsOutput { - s.SendDataPoints = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetTemplateRequest type GetTemplateInput struct { _ struct{} `type:"structure"` @@ -7853,12 +7181,6 @@ func (s *GetTemplateInput) Validate() error { return nil } -// SetTemplateName sets the TemplateName field's value. -func (s *GetTemplateInput) SetTemplateName(v string) *GetTemplateInput { - s.TemplateName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetTemplateResponse type GetTemplateOutput struct { _ struct{} `type:"structure"` @@ -7885,12 +7207,6 @@ func (s GetTemplateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTemplate sets the Template field's value. -func (s *GetTemplateOutput) SetTemplate(v *Template) *GetTemplateOutput { - s.Template = v - return s -} - // Represents the DKIM attributes of a verified email address or a domain. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/IdentityDkimAttributes type IdentityDkimAttributes struct { @@ -7932,24 +7248,6 @@ func (s IdentityDkimAttributes) GoString() string { return s.String() } -// SetDkimEnabled sets the DkimEnabled field's value. -func (s *IdentityDkimAttributes) SetDkimEnabled(v bool) *IdentityDkimAttributes { - s.DkimEnabled = &v - return s -} - -// SetDkimTokens sets the DkimTokens field's value. -func (s *IdentityDkimAttributes) SetDkimTokens(v []string) *IdentityDkimAttributes { - s.DkimTokens = v - return s -} - -// SetDkimVerificationStatus sets the DkimVerificationStatus field's value. -func (s *IdentityDkimAttributes) SetDkimVerificationStatus(v VerificationStatus) *IdentityDkimAttributes { - s.DkimVerificationStatus = v - return s -} - // Represents the custom MAIL FROM domain attributes of a verified identity // (email address or domain). // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/IdentityMailFromDomainAttributes @@ -7994,24 +7292,6 @@ func (s IdentityMailFromDomainAttributes) GoString() string { return s.String() } -// SetBehaviorOnMXFailure sets the BehaviorOnMXFailure field's value. -func (s *IdentityMailFromDomainAttributes) SetBehaviorOnMXFailure(v BehaviorOnMXFailure) *IdentityMailFromDomainAttributes { - s.BehaviorOnMXFailure = v - return s -} - -// SetMailFromDomain sets the MailFromDomain field's value. -func (s *IdentityMailFromDomainAttributes) SetMailFromDomain(v string) *IdentityMailFromDomainAttributes { - s.MailFromDomain = &v - return s -} - -// SetMailFromDomainStatus sets the MailFromDomainStatus field's value. -func (s *IdentityMailFromDomainAttributes) SetMailFromDomainStatus(v CustomMailFromStatus) *IdentityMailFromDomainAttributes { - s.MailFromDomainStatus = v - return s -} - // Represents the notification attributes of an identity, including whether // an identity has Amazon Simple Notification Service (Amazon SNS) topics set // for bounce, complaint, and/or delivery notifications, and whether feedback @@ -8075,48 +7355,6 @@ func (s IdentityNotificationAttributes) GoString() string { return s.String() } -// SetBounceTopic sets the BounceTopic field's value. -func (s *IdentityNotificationAttributes) SetBounceTopic(v string) *IdentityNotificationAttributes { - s.BounceTopic = &v - return s -} - -// SetComplaintTopic sets the ComplaintTopic field's value. -func (s *IdentityNotificationAttributes) SetComplaintTopic(v string) *IdentityNotificationAttributes { - s.ComplaintTopic = &v - return s -} - -// SetDeliveryTopic sets the DeliveryTopic field's value. -func (s *IdentityNotificationAttributes) SetDeliveryTopic(v string) *IdentityNotificationAttributes { - s.DeliveryTopic = &v - return s -} - -// SetForwardingEnabled sets the ForwardingEnabled field's value. -func (s *IdentityNotificationAttributes) SetForwardingEnabled(v bool) *IdentityNotificationAttributes { - s.ForwardingEnabled = &v - return s -} - -// SetHeadersInBounceNotificationsEnabled sets the HeadersInBounceNotificationsEnabled field's value. -func (s *IdentityNotificationAttributes) SetHeadersInBounceNotificationsEnabled(v bool) *IdentityNotificationAttributes { - s.HeadersInBounceNotificationsEnabled = &v - return s -} - -// SetHeadersInComplaintNotificationsEnabled sets the HeadersInComplaintNotificationsEnabled field's value. -func (s *IdentityNotificationAttributes) SetHeadersInComplaintNotificationsEnabled(v bool) *IdentityNotificationAttributes { - s.HeadersInComplaintNotificationsEnabled = &v - return s -} - -// SetHeadersInDeliveryNotificationsEnabled sets the HeadersInDeliveryNotificationsEnabled field's value. -func (s *IdentityNotificationAttributes) SetHeadersInDeliveryNotificationsEnabled(v bool) *IdentityNotificationAttributes { - s.HeadersInDeliveryNotificationsEnabled = &v - return s -} - // Represents the verification attributes of a single identity. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/IdentityVerificationAttributes type IdentityVerificationAttributes struct { @@ -8142,18 +7380,6 @@ func (s IdentityVerificationAttributes) GoString() string { return s.String() } -// SetVerificationStatus sets the VerificationStatus field's value. -func (s *IdentityVerificationAttributes) SetVerificationStatus(v VerificationStatus) *IdentityVerificationAttributes { - s.VerificationStatus = v - return s -} - -// SetVerificationToken sets the VerificationToken field's value. -func (s *IdentityVerificationAttributes) SetVerificationToken(v string) *IdentityVerificationAttributes { - s.VerificationToken = &v - return s -} - // Contains the delivery stream ARN and the IAM role ARN associated with an // Amazon Kinesis Firehose event destination. // @@ -8206,18 +7432,6 @@ func (s *KinesisFirehoseDestination) Validate() error { return nil } -// SetDeliveryStreamARN sets the DeliveryStreamARN field's value. -func (s *KinesisFirehoseDestination) SetDeliveryStreamARN(v string) *KinesisFirehoseDestination { - s.DeliveryStreamARN = &v - return s -} - -// SetIAMRoleARN sets the IAMRoleARN field's value. -func (s *KinesisFirehoseDestination) SetIAMRoleARN(v string) *KinesisFirehoseDestination { - s.IAMRoleARN = &v - return s -} - // When included in a receipt rule, this action calls an AWS Lambda function // and, optionally, publishes a notification to Amazon Simple Notification Service // (Amazon SNS). @@ -8284,24 +7498,6 @@ func (s *LambdaAction) Validate() error { return nil } -// SetFunctionArn sets the FunctionArn field's value. -func (s *LambdaAction) SetFunctionArn(v string) *LambdaAction { - s.FunctionArn = &v - return s -} - -// SetInvocationType sets the InvocationType field's value. -func (s *LambdaAction) SetInvocationType(v InvocationType) *LambdaAction { - s.InvocationType = v - return s -} - -// SetTopicArn sets the TopicArn field's value. -func (s *LambdaAction) SetTopicArn(v string) *LambdaAction { - s.TopicArn = &v - return s -} - // Represents a request to list the configuration sets associated with your // AWS account. Configuration sets enable you to publish email sending events. // For information about using configuration sets, see the Amazon SES Developer @@ -8328,18 +7524,6 @@ func (s ListConfigurationSetsInput) GoString() string { return s.String() } -// SetMaxItems sets the MaxItems field's value. -func (s *ListConfigurationSetsInput) SetMaxItems(v int64) *ListConfigurationSetsInput { - s.MaxItems = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListConfigurationSetsInput) SetNextToken(v string) *ListConfigurationSetsInput { - s.NextToken = &v - return s -} - // A list of configuration sets associated with your AWS account. Configuration // sets enable you to publish email sending events. For information about using // configuration sets, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html). @@ -8372,18 +7556,6 @@ func (s ListConfigurationSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConfigurationSets sets the ConfigurationSets field's value. -func (s *ListConfigurationSetsOutput) SetConfigurationSets(v []ConfigurationSet) *ListConfigurationSetsOutput { - s.ConfigurationSets = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListConfigurationSetsOutput) SetNextToken(v string) *ListConfigurationSetsOutput { - s.NextToken = &v - return s -} - // Represents a request to list the existing custom verification email templates // for your account. // @@ -8428,18 +7600,6 @@ func (s *ListCustomVerificationEmailTemplatesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListCustomVerificationEmailTemplatesInput) SetMaxResults(v int64) *ListCustomVerificationEmailTemplatesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListCustomVerificationEmailTemplatesInput) SetNextToken(v string) *ListCustomVerificationEmailTemplatesInput { - s.NextToken = &v - return s -} - // A paginated list of custom verification email templates. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListCustomVerificationEmailTemplatesResponse type ListCustomVerificationEmailTemplatesOutput struct { @@ -8471,18 +7631,6 @@ func (s ListCustomVerificationEmailTemplatesOutput) SDKResponseMetadata() aws.Re return s.responseMetadata } -// SetCustomVerificationEmailTemplates sets the CustomVerificationEmailTemplates field's value. -func (s *ListCustomVerificationEmailTemplatesOutput) SetCustomVerificationEmailTemplates(v []CustomVerificationEmailTemplate) *ListCustomVerificationEmailTemplatesOutput { - s.CustomVerificationEmailTemplates = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListCustomVerificationEmailTemplatesOutput) SetNextToken(v string) *ListCustomVerificationEmailTemplatesOutput { - s.NextToken = &v - return s -} - // Represents a request to return a list of all identities (email addresses // and domains) that you have attempted to verify under your AWS account, regardless // of verification status. @@ -8511,24 +7659,6 @@ func (s ListIdentitiesInput) GoString() string { return s.String() } -// SetIdentityType sets the IdentityType field's value. -func (s *ListIdentitiesInput) SetIdentityType(v IdentityType) *ListIdentitiesInput { - s.IdentityType = v - return s -} - -// SetMaxItems sets the MaxItems field's value. -func (s *ListIdentitiesInput) SetMaxItems(v int64) *ListIdentitiesInput { - s.MaxItems = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIdentitiesInput) SetNextToken(v string) *ListIdentitiesInput { - s.NextToken = &v - return s -} - // A list of all identities that you have attempted to verify under your AWS // account, regardless of verification status. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentitiesResponse @@ -8561,18 +7691,6 @@ func (s ListIdentitiesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIdentities sets the Identities field's value. -func (s *ListIdentitiesOutput) SetIdentities(v []string) *ListIdentitiesOutput { - s.Identities = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIdentitiesOutput) SetNextToken(v string) *ListIdentitiesOutput { - s.NextToken = &v - return s -} - // Represents a request to return a list of sending authorization policies that // are attached to an identity. Sending authorization is an Amazon SES feature // that enables you to authorize other senders to use your identities. For information, @@ -8615,12 +7733,6 @@ func (s *ListIdentityPoliciesInput) Validate() error { return nil } -// SetIdentity sets the Identity field's value. -func (s *ListIdentityPoliciesInput) SetIdentity(v string) *ListIdentityPoliciesInput { - s.Identity = &v - return s -} - // A list of names of sending authorization policies that apply to an identity. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentityPoliciesResponse type ListIdentityPoliciesOutput struct { @@ -8649,12 +7761,6 @@ func (s ListIdentityPoliciesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPolicyNames sets the PolicyNames field's value. -func (s *ListIdentityPoliciesOutput) SetPolicyNames(v []string) *ListIdentityPoliciesOutput { - s.PolicyNames = v - return s -} - // Represents a request to list the IP address filters that exist under your // AWS account. You use IP address filters when you receive email with Amazon // SES. For more information, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). @@ -8700,12 +7806,6 @@ func (s ListReceiptFiltersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFilters sets the Filters field's value. -func (s *ListReceiptFiltersOutput) SetFilters(v []ReceiptFilter) *ListReceiptFiltersOutput { - s.Filters = v - return s -} - // Represents a request to list the receipt rule sets that exist under your // AWS account. You use receipt rule sets to receive email with Amazon SES. // For more information, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). @@ -8728,12 +7828,6 @@ func (s ListReceiptRuleSetsInput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListReceiptRuleSetsInput) SetNextToken(v string) *ListReceiptRuleSetsInput { - s.NextToken = &v - return s -} - // A list of receipt rule sets that exist under your AWS account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptRuleSetsResponse type ListReceiptRuleSetsOutput struct { @@ -8766,18 +7860,6 @@ func (s ListReceiptRuleSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListReceiptRuleSetsOutput) SetNextToken(v string) *ListReceiptRuleSetsOutput { - s.NextToken = &v - return s -} - -// SetRuleSets sets the RuleSets field's value. -func (s *ListReceiptRuleSetsOutput) SetRuleSets(v []ReceiptRuleSetMetadata) *ListReceiptRuleSetsOutput { - s.RuleSets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListTemplatesRequest type ListTemplatesInput struct { _ struct{} `type:"structure"` @@ -8803,18 +7885,6 @@ func (s ListTemplatesInput) GoString() string { return s.String() } -// SetMaxItems sets the MaxItems field's value. -func (s *ListTemplatesInput) SetMaxItems(v int64) *ListTemplatesInput { - s.MaxItems = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListTemplatesInput) SetNextToken(v string) *ListTemplatesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListTemplatesResponse type ListTemplatesOutput struct { _ struct{} `type:"structure"` @@ -8846,18 +7916,6 @@ func (s ListTemplatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTemplatesOutput) SetNextToken(v string) *ListTemplatesOutput { - s.NextToken = &v - return s -} - -// SetTemplatesMetadata sets the TemplatesMetadata field's value. -func (s *ListTemplatesOutput) SetTemplatesMetadata(v []TemplateMetadata) *ListTemplatesOutput { - s.TemplatesMetadata = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListVerifiedEmailAddressesInput type ListVerifiedEmailAddressesInput struct { _ struct{} `type:"structure"` @@ -8900,12 +7958,6 @@ func (s ListVerifiedEmailAddressesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVerifiedEmailAddresses sets the VerifiedEmailAddresses field's value. -func (s *ListVerifiedEmailAddressesOutput) SetVerifiedEmailAddresses(v []string) *ListVerifiedEmailAddressesOutput { - s.VerifiedEmailAddresses = v - return s -} - // Represents the message to be sent, composed of a subject and a body. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/Message type Message struct { @@ -8961,18 +8013,6 @@ func (s *Message) Validate() error { return nil } -// SetBody sets the Body field's value. -func (s *Message) SetBody(v *Body) *Message { - s.Body = v - return s -} - -// SetSubject sets the Subject field's value. -func (s *Message) SetSubject(v *Content) *Message { - s.Subject = v - return s -} - // Message-related information to include in the Delivery Status Notification // (DSN) when an email that Amazon SES receives on your behalf bounces. // @@ -9028,24 +8068,6 @@ func (s *MessageDsn) Validate() error { return nil } -// SetArrivalDate sets the ArrivalDate field's value. -func (s *MessageDsn) SetArrivalDate(v time.Time) *MessageDsn { - s.ArrivalDate = &v - return s -} - -// SetExtensionFields sets the ExtensionFields field's value. -func (s *MessageDsn) SetExtensionFields(v []ExtensionField) *MessageDsn { - s.ExtensionFields = v - return s -} - -// SetReportingMta sets the ReportingMta field's value. -func (s *MessageDsn) SetReportingMta(v string) *MessageDsn { - s.ReportingMta = &v - return s -} - // Contains the name and value of a tag that you can provide to SendEmail or // SendRawEmail to apply to an email. // @@ -9105,18 +8127,6 @@ func (s *MessageTag) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *MessageTag) SetName(v string) *MessageTag { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *MessageTag) SetValue(v string) *MessageTag { - s.Value = &v - return s -} - // Represents a request to add or update a sending authorization policy for // an identity. Sending authorization is an Amazon SES feature that enables // you to authorize other senders to use your identities. For information, see @@ -9189,24 +8199,6 @@ func (s *PutIdentityPolicyInput) Validate() error { return nil } -// SetIdentity sets the Identity field's value. -func (s *PutIdentityPolicyInput) SetIdentity(v string) *PutIdentityPolicyInput { - s.Identity = &v - return s -} - -// SetPolicy sets the Policy field's value. -func (s *PutIdentityPolicyInput) SetPolicy(v string) *PutIdentityPolicyInput { - s.Policy = &v - return s -} - -// SetPolicyName sets the PolicyName field's value. -func (s *PutIdentityPolicyInput) SetPolicyName(v string) *PutIdentityPolicyInput { - s.PolicyName = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/PutIdentityPolicyResponse type PutIdentityPolicyOutput struct { @@ -9283,12 +8275,6 @@ func (s *RawMessage) Validate() error { return nil } -// SetData sets the Data field's value. -func (s *RawMessage) SetData(v []byte) *RawMessage { - s.Data = v - return s -} - // An action that Amazon SES can take when it receives an email on behalf of // one or more email addresses or domains that you own. An instance of this // data type can represent only one action. @@ -9382,48 +8368,6 @@ func (s *ReceiptAction) Validate() error { return nil } -// SetAddHeaderAction sets the AddHeaderAction field's value. -func (s *ReceiptAction) SetAddHeaderAction(v *AddHeaderAction) *ReceiptAction { - s.AddHeaderAction = v - return s -} - -// SetBounceAction sets the BounceAction field's value. -func (s *ReceiptAction) SetBounceAction(v *BounceAction) *ReceiptAction { - s.BounceAction = v - return s -} - -// SetLambdaAction sets the LambdaAction field's value. -func (s *ReceiptAction) SetLambdaAction(v *LambdaAction) *ReceiptAction { - s.LambdaAction = v - return s -} - -// SetS3Action sets the S3Action field's value. -func (s *ReceiptAction) SetS3Action(v *S3Action) *ReceiptAction { - s.S3Action = v - return s -} - -// SetSNSAction sets the SNSAction field's value. -func (s *ReceiptAction) SetSNSAction(v *SNSAction) *ReceiptAction { - s.SNSAction = v - return s -} - -// SetStopAction sets the StopAction field's value. -func (s *ReceiptAction) SetStopAction(v *StopAction) *ReceiptAction { - s.StopAction = v - return s -} - -// SetWorkmailAction sets the WorkmailAction field's value. -func (s *ReceiptAction) SetWorkmailAction(v *WorkmailAction) *ReceiptAction { - s.WorkmailAction = v - return s -} - // A receipt IP address filter enables you to specify whether to accept or reject // mail originating from an IP address or range of IP addresses. // @@ -9485,18 +8429,6 @@ func (s *ReceiptFilter) Validate() error { return nil } -// SetIpFilter sets the IpFilter field's value. -func (s *ReceiptFilter) SetIpFilter(v *ReceiptIpFilter) *ReceiptFilter { - s.IpFilter = v - return s -} - -// SetName sets the Name field's value. -func (s *ReceiptFilter) SetName(v string) *ReceiptFilter { - s.Name = &v - return s -} - // A receipt IP address filter enables you to specify whether to accept or reject // mail originating from an IP address or range of IP addresses. // @@ -9547,18 +8479,6 @@ func (s *ReceiptIpFilter) Validate() error { return nil } -// SetCidr sets the Cidr field's value. -func (s *ReceiptIpFilter) SetCidr(v string) *ReceiptIpFilter { - s.Cidr = &v - return s -} - -// SetPolicy sets the Policy field's value. -func (s *ReceiptIpFilter) SetPolicy(v ReceiptFilterPolicy) *ReceiptIpFilter { - s.Policy = v - return s -} - // Receipt rules enable you to specify which actions Amazon SES should take // when it receives mail on behalf of one or more email addresses or domains // that you own. @@ -9640,42 +8560,6 @@ func (s *ReceiptRule) Validate() error { return nil } -// SetActions sets the Actions field's value. -func (s *ReceiptRule) SetActions(v []ReceiptAction) *ReceiptRule { - s.Actions = v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *ReceiptRule) SetEnabled(v bool) *ReceiptRule { - s.Enabled = &v - return s -} - -// SetName sets the Name field's value. -func (s *ReceiptRule) SetName(v string) *ReceiptRule { - s.Name = &v - return s -} - -// SetRecipients sets the Recipients field's value. -func (s *ReceiptRule) SetRecipients(v []string) *ReceiptRule { - s.Recipients = v - return s -} - -// SetScanEnabled sets the ScanEnabled field's value. -func (s *ReceiptRule) SetScanEnabled(v bool) *ReceiptRule { - s.ScanEnabled = &v - return s -} - -// SetTlsPolicy sets the TlsPolicy field's value. -func (s *ReceiptRule) SetTlsPolicy(v TlsPolicy) *ReceiptRule { - s.TlsPolicy = v - return s -} - // Information about a receipt rule set. // // A receipt rule set is a collection of rules that specify what Amazon SES @@ -9711,18 +8595,6 @@ func (s ReceiptRuleSetMetadata) GoString() string { return s.String() } -// SetCreatedTimestamp sets the CreatedTimestamp field's value. -func (s *ReceiptRuleSetMetadata) SetCreatedTimestamp(v time.Time) *ReceiptRuleSetMetadata { - s.CreatedTimestamp = &v - return s -} - -// SetName sets the Name field's value. -func (s *ReceiptRuleSetMetadata) SetName(v string) *ReceiptRuleSetMetadata { - s.Name = &v - return s -} - // Recipient-related information to include in the Delivery Status Notification // (DSN) when an email that Amazon SES receives on your behalf bounces. // @@ -9808,48 +8680,6 @@ func (s *RecipientDsnFields) Validate() error { return nil } -// SetAction sets the Action field's value. -func (s *RecipientDsnFields) SetAction(v DsnAction) *RecipientDsnFields { - s.Action = v - return s -} - -// SetDiagnosticCode sets the DiagnosticCode field's value. -func (s *RecipientDsnFields) SetDiagnosticCode(v string) *RecipientDsnFields { - s.DiagnosticCode = &v - return s -} - -// SetExtensionFields sets the ExtensionFields field's value. -func (s *RecipientDsnFields) SetExtensionFields(v []ExtensionField) *RecipientDsnFields { - s.ExtensionFields = v - return s -} - -// SetFinalRecipient sets the FinalRecipient field's value. -func (s *RecipientDsnFields) SetFinalRecipient(v string) *RecipientDsnFields { - s.FinalRecipient = &v - return s -} - -// SetLastAttemptDate sets the LastAttemptDate field's value. -func (s *RecipientDsnFields) SetLastAttemptDate(v time.Time) *RecipientDsnFields { - s.LastAttemptDate = &v - return s -} - -// SetRemoteMta sets the RemoteMta field's value. -func (s *RecipientDsnFields) SetRemoteMta(v string) *RecipientDsnFields { - s.RemoteMta = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *RecipientDsnFields) SetStatus(v string) *RecipientDsnFields { - s.Status = &v - return s -} - // Represents a request to reorder the receipt rules within a receipt rule set. // You use receipt rule sets to receive email with Amazon SES. For more information, // see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). @@ -9897,18 +8727,6 @@ func (s *ReorderReceiptRuleSetInput) Validate() error { return nil } -// SetRuleNames sets the RuleNames field's value. -func (s *ReorderReceiptRuleSetInput) SetRuleNames(v []string) *ReorderReceiptRuleSetInput { - s.RuleNames = v - return s -} - -// SetRuleSetName sets the RuleSetName field's value. -func (s *ReorderReceiptRuleSetInput) SetRuleSetName(v string) *ReorderReceiptRuleSetInput { - s.RuleSetName = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReorderReceiptRuleSetResponse type ReorderReceiptRuleSetOutput struct { @@ -9973,24 +8791,6 @@ func (s ReputationOptions) GoString() string { return s.String() } -// SetLastFreshStart sets the LastFreshStart field's value. -func (s *ReputationOptions) SetLastFreshStart(v time.Time) *ReputationOptions { - s.LastFreshStart = &v - return s -} - -// SetReputationMetricsEnabled sets the ReputationMetricsEnabled field's value. -func (s *ReputationOptions) SetReputationMetricsEnabled(v bool) *ReputationOptions { - s.ReputationMetricsEnabled = &v - return s -} - -// SetSendingEnabled sets the SendingEnabled field's value. -func (s *ReputationOptions) SetSendingEnabled(v bool) *ReputationOptions { - s.SendingEnabled = &v - return s -} - // When included in a receipt rule, this action saves the received message to // an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes // a notification to Amazon Simple Notification Service (Amazon SNS). @@ -10081,30 +8881,6 @@ func (s *S3Action) Validate() error { return nil } -// SetBucketName sets the BucketName field's value. -func (s *S3Action) SetBucketName(v string) *S3Action { - s.BucketName = &v - return s -} - -// SetKmsKeyArn sets the KmsKeyArn field's value. -func (s *S3Action) SetKmsKeyArn(v string) *S3Action { - s.KmsKeyArn = &v - return s -} - -// SetObjectKeyPrefix sets the ObjectKeyPrefix field's value. -func (s *S3Action) SetObjectKeyPrefix(v string) *S3Action { - s.ObjectKeyPrefix = &v - return s -} - -// SetTopicArn sets the TopicArn field's value. -func (s *S3Action) SetTopicArn(v string) *S3Action { - s.TopicArn = &v - return s -} - // When included in a receipt rule, this action publishes a notification to // Amazon Simple Notification Service (Amazon SNS). This action includes a complete // copy of the email content in the Amazon SNS notifications. Amazon SNS notifications @@ -10166,18 +8942,6 @@ func (s *SNSAction) Validate() error { return nil } -// SetEncoding sets the Encoding field's value. -func (s *SNSAction) SetEncoding(v SNSActionEncoding) *SNSAction { - s.Encoding = v - return s -} - -// SetTopicArn sets the TopicArn field's value. -func (s *SNSAction) SetTopicArn(v string) *SNSAction { - s.TopicArn = &v - return s -} - // Contains the topic ARN associated with an Amazon Simple Notification Service // (Amazon SNS) event destination. // @@ -10221,12 +8985,6 @@ func (s *SNSDestination) Validate() error { return nil } -// SetTopicARN sets the TopicARN field's value. -func (s *SNSDestination) SetTopicARN(v string) *SNSDestination { - s.TopicARN = &v - return s -} - // Represents a request to send a bounce message to the sender of an email you // received through Amazon SES. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBounceRequest @@ -10311,42 +9069,6 @@ func (s *SendBounceInput) Validate() error { return nil } -// SetBounceSender sets the BounceSender field's value. -func (s *SendBounceInput) SetBounceSender(v string) *SendBounceInput { - s.BounceSender = &v - return s -} - -// SetBounceSenderArn sets the BounceSenderArn field's value. -func (s *SendBounceInput) SetBounceSenderArn(v string) *SendBounceInput { - s.BounceSenderArn = &v - return s -} - -// SetBouncedRecipientInfoList sets the BouncedRecipientInfoList field's value. -func (s *SendBounceInput) SetBouncedRecipientInfoList(v []BouncedRecipientInfo) *SendBounceInput { - s.BouncedRecipientInfoList = v - return s -} - -// SetExplanation sets the Explanation field's value. -func (s *SendBounceInput) SetExplanation(v string) *SendBounceInput { - s.Explanation = &v - return s -} - -// SetMessageDsn sets the MessageDsn field's value. -func (s *SendBounceInput) SetMessageDsn(v *MessageDsn) *SendBounceInput { - s.MessageDsn = v - return s -} - -// SetOriginalMessageId sets the OriginalMessageId field's value. -func (s *SendBounceInput) SetOriginalMessageId(v string) *SendBounceInput { - s.OriginalMessageId = &v - return s -} - // Represents a unique message ID. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBounceResponse type SendBounceOutput struct { @@ -10373,12 +9095,6 @@ func (s SendBounceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMessageId sets the MessageId field's value. -func (s *SendBounceOutput) SetMessageId(v string) *SendBounceOutput { - s.MessageId = &v - return s -} - // Represents a request to send a templated email to multiple destinations using // Amazon SES. For more information, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html). // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBulkTemplatedEmailRequest @@ -10525,72 +9241,6 @@ func (s *SendBulkTemplatedEmailInput) Validate() error { return nil } -// SetConfigurationSetName sets the ConfigurationSetName field's value. -func (s *SendBulkTemplatedEmailInput) SetConfigurationSetName(v string) *SendBulkTemplatedEmailInput { - s.ConfigurationSetName = &v - return s -} - -// SetDefaultTags sets the DefaultTags field's value. -func (s *SendBulkTemplatedEmailInput) SetDefaultTags(v []MessageTag) *SendBulkTemplatedEmailInput { - s.DefaultTags = v - return s -} - -// SetDefaultTemplateData sets the DefaultTemplateData field's value. -func (s *SendBulkTemplatedEmailInput) SetDefaultTemplateData(v string) *SendBulkTemplatedEmailInput { - s.DefaultTemplateData = &v - return s -} - -// SetDestinations sets the Destinations field's value. -func (s *SendBulkTemplatedEmailInput) SetDestinations(v []BulkEmailDestination) *SendBulkTemplatedEmailInput { - s.Destinations = v - return s -} - -// SetReplyToAddresses sets the ReplyToAddresses field's value. -func (s *SendBulkTemplatedEmailInput) SetReplyToAddresses(v []string) *SendBulkTemplatedEmailInput { - s.ReplyToAddresses = v - return s -} - -// SetReturnPath sets the ReturnPath field's value. -func (s *SendBulkTemplatedEmailInput) SetReturnPath(v string) *SendBulkTemplatedEmailInput { - s.ReturnPath = &v - return s -} - -// SetReturnPathArn sets the ReturnPathArn field's value. -func (s *SendBulkTemplatedEmailInput) SetReturnPathArn(v string) *SendBulkTemplatedEmailInput { - s.ReturnPathArn = &v - return s -} - -// SetSource sets the Source field's value. -func (s *SendBulkTemplatedEmailInput) SetSource(v string) *SendBulkTemplatedEmailInput { - s.Source = &v - return s -} - -// SetSourceArn sets the SourceArn field's value. -func (s *SendBulkTemplatedEmailInput) SetSourceArn(v string) *SendBulkTemplatedEmailInput { - s.SourceArn = &v - return s -} - -// SetTemplate sets the Template field's value. -func (s *SendBulkTemplatedEmailInput) SetTemplate(v string) *SendBulkTemplatedEmailInput { - s.Template = &v - return s -} - -// SetTemplateArn sets the TemplateArn field's value. -func (s *SendBulkTemplatedEmailInput) SetTemplateArn(v string) *SendBulkTemplatedEmailInput { - s.TemplateArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBulkTemplatedEmailResponse type SendBulkTemplatedEmailOutput struct { _ struct{} `type:"structure"` @@ -10618,12 +9268,6 @@ func (s SendBulkTemplatedEmailOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStatus sets the Status field's value. -func (s *SendBulkTemplatedEmailOutput) SetStatus(v []BulkEmailDestinationStatus) *SendBulkTemplatedEmailOutput { - s.Status = v - return s -} - // Represents a request to send a custom verification email to a specified recipient. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendCustomVerificationEmailRequest type SendCustomVerificationEmailInput struct { @@ -10672,24 +9316,6 @@ func (s *SendCustomVerificationEmailInput) Validate() error { return nil } -// SetConfigurationSetName sets the ConfigurationSetName field's value. -func (s *SendCustomVerificationEmailInput) SetConfigurationSetName(v string) *SendCustomVerificationEmailInput { - s.ConfigurationSetName = &v - return s -} - -// SetEmailAddress sets the EmailAddress field's value. -func (s *SendCustomVerificationEmailInput) SetEmailAddress(v string) *SendCustomVerificationEmailInput { - s.EmailAddress = &v - return s -} - -// SetTemplateName sets the TemplateName field's value. -func (s *SendCustomVerificationEmailInput) SetTemplateName(v string) *SendCustomVerificationEmailInput { - s.TemplateName = &v - return s -} - // The response received when attempting to send the custom verification email. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendCustomVerificationEmailResponse type SendCustomVerificationEmailOutput struct { @@ -10717,12 +9343,6 @@ func (s SendCustomVerificationEmailOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMessageId sets the MessageId field's value. -func (s *SendCustomVerificationEmailOutput) SetMessageId(v string) *SendCustomVerificationEmailOutput { - s.MessageId = &v - return s -} - // Represents sending statistics data. Each SendDataPoint contains statistics // for a 15-minute period of sending activity. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendDataPoint @@ -10755,36 +9375,6 @@ func (s SendDataPoint) GoString() string { return s.String() } -// SetBounces sets the Bounces field's value. -func (s *SendDataPoint) SetBounces(v int64) *SendDataPoint { - s.Bounces = &v - return s -} - -// SetComplaints sets the Complaints field's value. -func (s *SendDataPoint) SetComplaints(v int64) *SendDataPoint { - s.Complaints = &v - return s -} - -// SetDeliveryAttempts sets the DeliveryAttempts field's value. -func (s *SendDataPoint) SetDeliveryAttempts(v int64) *SendDataPoint { - s.DeliveryAttempts = &v - return s -} - -// SetRejects sets the Rejects field's value. -func (s *SendDataPoint) SetRejects(v int64) *SendDataPoint { - s.Rejects = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *SendDataPoint) SetTimestamp(v time.Time) *SendDataPoint { - s.Timestamp = &v - return s -} - // Represents a request to send a single formatted email using Amazon SES. For // more information, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-formatted.html). // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendEmailRequest @@ -10917,60 +9507,6 @@ func (s *SendEmailInput) Validate() error { return nil } -// SetConfigurationSetName sets the ConfigurationSetName field's value. -func (s *SendEmailInput) SetConfigurationSetName(v string) *SendEmailInput { - s.ConfigurationSetName = &v - return s -} - -// SetDestination sets the Destination field's value. -func (s *SendEmailInput) SetDestination(v *Destination) *SendEmailInput { - s.Destination = v - return s -} - -// SetMessage sets the Message field's value. -func (s *SendEmailInput) SetMessage(v *Message) *SendEmailInput { - s.Message = v - return s -} - -// SetReplyToAddresses sets the ReplyToAddresses field's value. -func (s *SendEmailInput) SetReplyToAddresses(v []string) *SendEmailInput { - s.ReplyToAddresses = v - return s -} - -// SetReturnPath sets the ReturnPath field's value. -func (s *SendEmailInput) SetReturnPath(v string) *SendEmailInput { - s.ReturnPath = &v - return s -} - -// SetReturnPathArn sets the ReturnPathArn field's value. -func (s *SendEmailInput) SetReturnPathArn(v string) *SendEmailInput { - s.ReturnPathArn = &v - return s -} - -// SetSource sets the Source field's value. -func (s *SendEmailInput) SetSource(v string) *SendEmailInput { - s.Source = &v - return s -} - -// SetSourceArn sets the SourceArn field's value. -func (s *SendEmailInput) SetSourceArn(v string) *SendEmailInput { - s.SourceArn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *SendEmailInput) SetTags(v []MessageTag) *SendEmailInput { - s.Tags = v - return s -} - // Represents a unique message ID. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendEmailResponse type SendEmailOutput struct { @@ -10999,12 +9535,6 @@ func (s SendEmailOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMessageId sets the MessageId field's value. -func (s *SendEmailOutput) SetMessageId(v string) *SendEmailOutput { - s.MessageId = &v - return s -} - // Represents a request to send a single raw email using Amazon SES. For more // information, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html). // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendRawEmailRequest @@ -11149,54 +9679,6 @@ func (s *SendRawEmailInput) Validate() error { return nil } -// SetConfigurationSetName sets the ConfigurationSetName field's value. -func (s *SendRawEmailInput) SetConfigurationSetName(v string) *SendRawEmailInput { - s.ConfigurationSetName = &v - return s -} - -// SetDestinations sets the Destinations field's value. -func (s *SendRawEmailInput) SetDestinations(v []string) *SendRawEmailInput { - s.Destinations = v - return s -} - -// SetFromArn sets the FromArn field's value. -func (s *SendRawEmailInput) SetFromArn(v string) *SendRawEmailInput { - s.FromArn = &v - return s -} - -// SetRawMessage sets the RawMessage field's value. -func (s *SendRawEmailInput) SetRawMessage(v *RawMessage) *SendRawEmailInput { - s.RawMessage = v - return s -} - -// SetReturnPathArn sets the ReturnPathArn field's value. -func (s *SendRawEmailInput) SetReturnPathArn(v string) *SendRawEmailInput { - s.ReturnPathArn = &v - return s -} - -// SetSource sets the Source field's value. -func (s *SendRawEmailInput) SetSource(v string) *SendRawEmailInput { - s.Source = &v - return s -} - -// SetSourceArn sets the SourceArn field's value. -func (s *SendRawEmailInput) SetSourceArn(v string) *SendRawEmailInput { - s.SourceArn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *SendRawEmailInput) SetTags(v []MessageTag) *SendRawEmailInput { - s.Tags = v - return s -} - // Represents a unique message ID. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendRawEmailResponse type SendRawEmailOutput struct { @@ -11225,12 +9707,6 @@ func (s SendRawEmailOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMessageId sets the MessageId field's value. -func (s *SendRawEmailOutput) SetMessageId(v string) *SendRawEmailOutput { - s.MessageId = &v - return s -} - // Represents a request to send a templated email using Amazon SES. For more // information, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html). // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendTemplatedEmailRequest @@ -11373,72 +9849,6 @@ func (s *SendTemplatedEmailInput) Validate() error { return nil } -// SetConfigurationSetName sets the ConfigurationSetName field's value. -func (s *SendTemplatedEmailInput) SetConfigurationSetName(v string) *SendTemplatedEmailInput { - s.ConfigurationSetName = &v - return s -} - -// SetDestination sets the Destination field's value. -func (s *SendTemplatedEmailInput) SetDestination(v *Destination) *SendTemplatedEmailInput { - s.Destination = v - return s -} - -// SetReplyToAddresses sets the ReplyToAddresses field's value. -func (s *SendTemplatedEmailInput) SetReplyToAddresses(v []string) *SendTemplatedEmailInput { - s.ReplyToAddresses = v - return s -} - -// SetReturnPath sets the ReturnPath field's value. -func (s *SendTemplatedEmailInput) SetReturnPath(v string) *SendTemplatedEmailInput { - s.ReturnPath = &v - return s -} - -// SetReturnPathArn sets the ReturnPathArn field's value. -func (s *SendTemplatedEmailInput) SetReturnPathArn(v string) *SendTemplatedEmailInput { - s.ReturnPathArn = &v - return s -} - -// SetSource sets the Source field's value. -func (s *SendTemplatedEmailInput) SetSource(v string) *SendTemplatedEmailInput { - s.Source = &v - return s -} - -// SetSourceArn sets the SourceArn field's value. -func (s *SendTemplatedEmailInput) SetSourceArn(v string) *SendTemplatedEmailInput { - s.SourceArn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *SendTemplatedEmailInput) SetTags(v []MessageTag) *SendTemplatedEmailInput { - s.Tags = v - return s -} - -// SetTemplate sets the Template field's value. -func (s *SendTemplatedEmailInput) SetTemplate(v string) *SendTemplatedEmailInput { - s.Template = &v - return s -} - -// SetTemplateArn sets the TemplateArn field's value. -func (s *SendTemplatedEmailInput) SetTemplateArn(v string) *SendTemplatedEmailInput { - s.TemplateArn = &v - return s -} - -// SetTemplateData sets the TemplateData field's value. -func (s *SendTemplatedEmailInput) SetTemplateData(v string) *SendTemplatedEmailInput { - s.TemplateData = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendTemplatedEmailResponse type SendTemplatedEmailOutput struct { _ struct{} `type:"structure"` @@ -11466,12 +9876,6 @@ func (s SendTemplatedEmailOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMessageId sets the MessageId field's value. -func (s *SendTemplatedEmailOutput) SetMessageId(v string) *SendTemplatedEmailOutput { - s.MessageId = &v - return s -} - // Represents a request to set a receipt rule set as the active receipt rule // set. You use receipt rule sets to receive email with Amazon SES. For more // information, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-concepts.html). @@ -11494,12 +9898,6 @@ func (s SetActiveReceiptRuleSetInput) GoString() string { return s.String() } -// SetRuleSetName sets the RuleSetName field's value. -func (s *SetActiveReceiptRuleSetInput) SetRuleSetName(v string) *SetActiveReceiptRuleSetInput { - s.RuleSetName = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetActiveReceiptRuleSetResponse type SetActiveReceiptRuleSetOutput struct { @@ -11570,18 +9968,6 @@ func (s *SetIdentityDkimEnabledInput) Validate() error { return nil } -// SetDkimEnabled sets the DkimEnabled field's value. -func (s *SetIdentityDkimEnabledInput) SetDkimEnabled(v bool) *SetIdentityDkimEnabledInput { - s.DkimEnabled = &v - return s -} - -// SetIdentity sets the Identity field's value. -func (s *SetIdentityDkimEnabledInput) SetIdentity(v string) *SetIdentityDkimEnabledInput { - s.Identity = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityDkimEnabledResponse type SetIdentityDkimEnabledOutput struct { @@ -11657,18 +10043,6 @@ func (s *SetIdentityFeedbackForwardingEnabledInput) Validate() error { return nil } -// SetForwardingEnabled sets the ForwardingEnabled field's value. -func (s *SetIdentityFeedbackForwardingEnabledInput) SetForwardingEnabled(v bool) *SetIdentityFeedbackForwardingEnabledInput { - s.ForwardingEnabled = &v - return s -} - -// SetIdentity sets the Identity field's value. -func (s *SetIdentityFeedbackForwardingEnabledInput) SetIdentity(v string) *SetIdentityFeedbackForwardingEnabledInput { - s.Identity = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityFeedbackForwardingEnabledResponse type SetIdentityFeedbackForwardingEnabledOutput struct { @@ -11753,24 +10127,6 @@ func (s *SetIdentityHeadersInNotificationsEnabledInput) Validate() error { return nil } -// SetEnabled sets the Enabled field's value. -func (s *SetIdentityHeadersInNotificationsEnabledInput) SetEnabled(v bool) *SetIdentityHeadersInNotificationsEnabledInput { - s.Enabled = &v - return s -} - -// SetIdentity sets the Identity field's value. -func (s *SetIdentityHeadersInNotificationsEnabledInput) SetIdentity(v string) *SetIdentityHeadersInNotificationsEnabledInput { - s.Identity = &v - return s -} - -// SetNotificationType sets the NotificationType field's value. -func (s *SetIdentityHeadersInNotificationsEnabledInput) SetNotificationType(v NotificationType) *SetIdentityHeadersInNotificationsEnabledInput { - s.NotificationType = v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityHeadersInNotificationsEnabledResponse type SetIdentityHeadersInNotificationsEnabledOutput struct { @@ -11851,24 +10207,6 @@ func (s *SetIdentityMailFromDomainInput) Validate() error { return nil } -// SetBehaviorOnMXFailure sets the BehaviorOnMXFailure field's value. -func (s *SetIdentityMailFromDomainInput) SetBehaviorOnMXFailure(v BehaviorOnMXFailure) *SetIdentityMailFromDomainInput { - s.BehaviorOnMXFailure = v - return s -} - -// SetIdentity sets the Identity field's value. -func (s *SetIdentityMailFromDomainInput) SetIdentity(v string) *SetIdentityMailFromDomainInput { - s.Identity = &v - return s -} - -// SetMailFromDomain sets the MailFromDomain field's value. -func (s *SetIdentityMailFromDomainInput) SetMailFromDomain(v string) *SetIdentityMailFromDomainInput { - s.MailFromDomain = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityMailFromDomainResponse type SetIdentityMailFromDomainOutput struct { @@ -11946,24 +10284,6 @@ func (s *SetIdentityNotificationTopicInput) Validate() error { return nil } -// SetIdentity sets the Identity field's value. -func (s *SetIdentityNotificationTopicInput) SetIdentity(v string) *SetIdentityNotificationTopicInput { - s.Identity = &v - return s -} - -// SetNotificationType sets the NotificationType field's value. -func (s *SetIdentityNotificationTopicInput) SetNotificationType(v NotificationType) *SetIdentityNotificationTopicInput { - s.NotificationType = v - return s -} - -// SetSnsTopic sets the SnsTopic field's value. -func (s *SetIdentityNotificationTopicInput) SetSnsTopic(v string) *SetIdentityNotificationTopicInput { - s.SnsTopic = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityNotificationTopicResponse type SetIdentityNotificationTopicOutput struct { @@ -12036,24 +10356,6 @@ func (s *SetReceiptRulePositionInput) Validate() error { return nil } -// SetAfter sets the After field's value. -func (s *SetReceiptRulePositionInput) SetAfter(v string) *SetReceiptRulePositionInput { - s.After = &v - return s -} - -// SetRuleName sets the RuleName field's value. -func (s *SetReceiptRulePositionInput) SetRuleName(v string) *SetReceiptRulePositionInput { - s.RuleName = &v - return s -} - -// SetRuleSetName sets the RuleSetName field's value. -func (s *SetReceiptRulePositionInput) SetRuleSetName(v string) *SetReceiptRulePositionInput { - s.RuleSetName = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetReceiptRulePositionResponse type SetReceiptRulePositionOutput struct { @@ -12122,18 +10424,6 @@ func (s *StopAction) Validate() error { return nil } -// SetScope sets the Scope field's value. -func (s *StopAction) SetScope(v StopScope) *StopAction { - s.Scope = v - return s -} - -// SetTopicArn sets the TopicArn field's value. -func (s *StopAction) SetTopicArn(v string) *StopAction { - s.TopicArn = &v - return s -} - // The content of the email, composed of a subject line, an HTML part, and a // text-only part. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/Template @@ -12181,30 +10471,6 @@ func (s *Template) Validate() error { return nil } -// SetHtmlPart sets the HtmlPart field's value. -func (s *Template) SetHtmlPart(v string) *Template { - s.HtmlPart = &v - return s -} - -// SetSubjectPart sets the SubjectPart field's value. -func (s *Template) SetSubjectPart(v string) *Template { - s.SubjectPart = &v - return s -} - -// SetTemplateName sets the TemplateName field's value. -func (s *Template) SetTemplateName(v string) *Template { - s.TemplateName = &v - return s -} - -// SetTextPart sets the TextPart field's value. -func (s *Template) SetTextPart(v string) *Template { - s.TextPart = &v - return s -} - // Contains information about an email template. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/TemplateMetadata type TemplateMetadata struct { @@ -12227,18 +10493,6 @@ func (s TemplateMetadata) GoString() string { return s.String() } -// SetCreatedTimestamp sets the CreatedTimestamp field's value. -func (s *TemplateMetadata) SetCreatedTimestamp(v time.Time) *TemplateMetadata { - s.CreatedTimestamp = &v - return s -} - -// SetName sets the Name field's value. -func (s *TemplateMetadata) SetName(v string) *TemplateMetadata { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/TestRenderTemplateRequest type TestRenderTemplateInput struct { _ struct{} `type:"structure"` @@ -12284,18 +10538,6 @@ func (s *TestRenderTemplateInput) Validate() error { return nil } -// SetTemplateData sets the TemplateData field's value. -func (s *TestRenderTemplateInput) SetTemplateData(v string) *TestRenderTemplateInput { - s.TemplateData = &v - return s -} - -// SetTemplateName sets the TemplateName field's value. -func (s *TestRenderTemplateInput) SetTemplateName(v string) *TestRenderTemplateInput { - s.TemplateName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/TestRenderTemplateResponse type TestRenderTemplateOutput struct { _ struct{} `type:"structure"` @@ -12322,12 +10564,6 @@ func (s TestRenderTemplateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRenderedTemplate sets the RenderedTemplate field's value. -func (s *TestRenderTemplateOutput) SetRenderedTemplate(v string) *TestRenderTemplateOutput { - s.RenderedTemplate = &v - return s -} - // A domain that is used to redirect email recipients to an Amazon SES-operated // domain. This domain captures open and click events generated by Amazon SES // emails. @@ -12354,12 +10590,6 @@ func (s TrackingOptions) GoString() string { return s.String() } -// SetCustomRedirectDomain sets the CustomRedirectDomain field's value. -func (s *TrackingOptions) SetCustomRedirectDomain(v string) *TrackingOptions { - s.CustomRedirectDomain = &v - return s -} - // Represents a request to enable or disable the email sending capabilities // for your entire Amazon SES account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateAccountSendingEnabledRequest @@ -12381,12 +10611,6 @@ func (s UpdateAccountSendingEnabledInput) GoString() string { return s.String() } -// SetEnabled sets the Enabled field's value. -func (s *UpdateAccountSendingEnabledInput) SetEnabled(v bool) *UpdateAccountSendingEnabledInput { - s.Enabled = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateAccountSendingEnabledOutput type UpdateAccountSendingEnabledOutput struct { _ struct{} `type:"structure"` @@ -12462,18 +10686,6 @@ func (s *UpdateConfigurationSetEventDestinationInput) Validate() error { return nil } -// SetConfigurationSetName sets the ConfigurationSetName field's value. -func (s *UpdateConfigurationSetEventDestinationInput) SetConfigurationSetName(v string) *UpdateConfigurationSetEventDestinationInput { - s.ConfigurationSetName = &v - return s -} - -// SetEventDestination sets the EventDestination field's value. -func (s *UpdateConfigurationSetEventDestinationInput) SetEventDestination(v *EventDestination) *UpdateConfigurationSetEventDestinationInput { - s.EventDestination = v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetEventDestinationResponse type UpdateConfigurationSetEventDestinationOutput struct { @@ -12543,18 +10755,6 @@ func (s *UpdateConfigurationSetReputationMetricsEnabledInput) Validate() error { return nil } -// SetConfigurationSetName sets the ConfigurationSetName field's value. -func (s *UpdateConfigurationSetReputationMetricsEnabledInput) SetConfigurationSetName(v string) *UpdateConfigurationSetReputationMetricsEnabledInput { - s.ConfigurationSetName = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *UpdateConfigurationSetReputationMetricsEnabledInput) SetEnabled(v bool) *UpdateConfigurationSetReputationMetricsEnabledInput { - s.Enabled = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetReputationMetricsEnabledOutput type UpdateConfigurationSetReputationMetricsEnabledOutput struct { _ struct{} `type:"structure"` @@ -12623,18 +10823,6 @@ func (s *UpdateConfigurationSetSendingEnabledInput) Validate() error { return nil } -// SetConfigurationSetName sets the ConfigurationSetName field's value. -func (s *UpdateConfigurationSetSendingEnabledInput) SetConfigurationSetName(v string) *UpdateConfigurationSetSendingEnabledInput { - s.ConfigurationSetName = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *UpdateConfigurationSetSendingEnabledInput) SetEnabled(v bool) *UpdateConfigurationSetSendingEnabledInput { - s.Enabled = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetSendingEnabledOutput type UpdateConfigurationSetSendingEnabledOutput struct { _ struct{} `type:"structure"` @@ -12708,18 +10896,6 @@ func (s *UpdateConfigurationSetTrackingOptionsInput) Validate() error { return nil } -// SetConfigurationSetName sets the ConfigurationSetName field's value. -func (s *UpdateConfigurationSetTrackingOptionsInput) SetConfigurationSetName(v string) *UpdateConfigurationSetTrackingOptionsInput { - s.ConfigurationSetName = &v - return s -} - -// SetTrackingOptions sets the TrackingOptions field's value. -func (s *UpdateConfigurationSetTrackingOptionsInput) SetTrackingOptions(v *TrackingOptions) *UpdateConfigurationSetTrackingOptionsInput { - s.TrackingOptions = v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetTrackingOptionsResponse type UpdateConfigurationSetTrackingOptionsOutput struct { @@ -12799,42 +10975,6 @@ func (s *UpdateCustomVerificationEmailTemplateInput) Validate() error { return nil } -// SetFailureRedirectionURL sets the FailureRedirectionURL field's value. -func (s *UpdateCustomVerificationEmailTemplateInput) SetFailureRedirectionURL(v string) *UpdateCustomVerificationEmailTemplateInput { - s.FailureRedirectionURL = &v - return s -} - -// SetFromEmailAddress sets the FromEmailAddress field's value. -func (s *UpdateCustomVerificationEmailTemplateInput) SetFromEmailAddress(v string) *UpdateCustomVerificationEmailTemplateInput { - s.FromEmailAddress = &v - return s -} - -// SetSuccessRedirectionURL sets the SuccessRedirectionURL field's value. -func (s *UpdateCustomVerificationEmailTemplateInput) SetSuccessRedirectionURL(v string) *UpdateCustomVerificationEmailTemplateInput { - s.SuccessRedirectionURL = &v - return s -} - -// SetTemplateContent sets the TemplateContent field's value. -func (s *UpdateCustomVerificationEmailTemplateInput) SetTemplateContent(v string) *UpdateCustomVerificationEmailTemplateInput { - s.TemplateContent = &v - return s -} - -// SetTemplateName sets the TemplateName field's value. -func (s *UpdateCustomVerificationEmailTemplateInput) SetTemplateName(v string) *UpdateCustomVerificationEmailTemplateInput { - s.TemplateName = &v - return s -} - -// SetTemplateSubject sets the TemplateSubject field's value. -func (s *UpdateCustomVerificationEmailTemplateInput) SetTemplateSubject(v string) *UpdateCustomVerificationEmailTemplateInput { - s.TemplateSubject = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateCustomVerificationEmailTemplateOutput type UpdateCustomVerificationEmailTemplateOutput struct { _ struct{} `type:"structure"` @@ -12908,18 +11048,6 @@ func (s *UpdateReceiptRuleInput) Validate() error { return nil } -// SetRule sets the Rule field's value. -func (s *UpdateReceiptRuleInput) SetRule(v *ReceiptRule) *UpdateReceiptRuleInput { - s.Rule = v - return s -} - -// SetRuleSetName sets the RuleSetName field's value. -func (s *UpdateReceiptRuleInput) SetRuleSetName(v string) *UpdateReceiptRuleInput { - s.RuleSetName = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateReceiptRuleResponse type UpdateReceiptRuleOutput struct { @@ -12983,12 +11111,6 @@ func (s *UpdateTemplateInput) Validate() error { return nil } -// SetTemplate sets the Template field's value. -func (s *UpdateTemplateInput) SetTemplate(v *Template) *UpdateTemplateInput { - s.Template = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateTemplateResponse type UpdateTemplateOutput struct { _ struct{} `type:"structure"` @@ -13048,12 +11170,6 @@ func (s *VerifyDomainDkimInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *VerifyDomainDkimInput) SetDomain(v string) *VerifyDomainDkimInput { - s.Domain = &v - return s -} - // Returns CNAME records that you must publish to the DNS server of your domain // to set up Easy DKIM with Amazon SES. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainDkimResponse @@ -13093,12 +11209,6 @@ func (s VerifyDomainDkimOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDkimTokens sets the DkimTokens field's value. -func (s *VerifyDomainDkimOutput) SetDkimTokens(v []string) *VerifyDomainDkimOutput { - s.DkimTokens = v - return s -} - // Represents a request to begin Amazon SES domain verification and to generate // the TXT records that you must publish to the DNS server of your domain to // complete the verification. For information about domain verification, see @@ -13137,12 +11247,6 @@ func (s *VerifyDomainIdentityInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *VerifyDomainIdentityInput) SetDomain(v string) *VerifyDomainIdentityInput { - s.Domain = &v - return s -} - // Returns a TXT record that you must publish to the DNS server of your domain // to complete domain verification with Amazon SES. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainIdentityResponse @@ -13180,12 +11284,6 @@ func (s VerifyDomainIdentityOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVerificationToken sets the VerificationToken field's value. -func (s *VerifyDomainIdentityOutput) SetVerificationToken(v string) *VerifyDomainIdentityOutput { - s.VerificationToken = &v - return s -} - // Represents a request to begin email address verification with Amazon SES. // For information about email address verification, see the Amazon SES Developer // Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-email-addresses.html). @@ -13223,12 +11321,6 @@ func (s *VerifyEmailAddressInput) Validate() error { return nil } -// SetEmailAddress sets the EmailAddress field's value. -func (s *VerifyEmailAddressInput) SetEmailAddress(v string) *VerifyEmailAddressInput { - s.EmailAddress = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailAddressOutput type VerifyEmailAddressOutput struct { _ struct{} `type:"structure"` @@ -13288,12 +11380,6 @@ func (s *VerifyEmailIdentityInput) Validate() error { return nil } -// SetEmailAddress sets the EmailAddress field's value. -func (s *VerifyEmailIdentityInput) SetEmailAddress(v string) *VerifyEmailIdentityInput { - s.EmailAddress = &v - return s -} - // An empty element returned on a successful request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailIdentityResponse type VerifyEmailIdentityOutput struct { @@ -13367,18 +11453,6 @@ func (s *WorkmailAction) Validate() error { return nil } -// SetOrganizationArn sets the OrganizationArn field's value. -func (s *WorkmailAction) SetOrganizationArn(v string) *WorkmailAction { - s.OrganizationArn = &v - return s -} - -// SetTopicArn sets the TopicArn field's value. -func (s *WorkmailAction) SetTopicArn(v string) *WorkmailAction { - s.TopicArn = &v - return s -} - type BehaviorOnMXFailure string // Enum values for BehaviorOnMXFailure diff --git a/service/sfn/api.go b/service/sfn/api.go index 896660ed69a..61e1174ba66 100644 --- a/service/sfn/api.go +++ b/service/sfn/api.go @@ -1246,18 +1246,6 @@ func (s ActivityFailedEventDetails) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *ActivityFailedEventDetails) SetCause(v string) *ActivityFailedEventDetails { - s.Cause = &v - return s -} - -// SetError sets the Error field's value. -func (s *ActivityFailedEventDetails) SetError(v string) *ActivityFailedEventDetails { - s.Error = &v - return s -} - // Contains details about an activity. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityListItem type ActivityListItem struct { @@ -1301,24 +1289,6 @@ func (s ActivityListItem) GoString() string { return s.String() } -// SetActivityArn sets the ActivityArn field's value. -func (s *ActivityListItem) SetActivityArn(v string) *ActivityListItem { - s.ActivityArn = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *ActivityListItem) SetCreationDate(v time.Time) *ActivityListItem { - s.CreationDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *ActivityListItem) SetName(v string) *ActivityListItem { - s.Name = &v - return s -} - // Contains details about an activity schedule failure which occurred during // an execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityScheduleFailedEventDetails @@ -1342,18 +1312,6 @@ func (s ActivityScheduleFailedEventDetails) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *ActivityScheduleFailedEventDetails) SetCause(v string) *ActivityScheduleFailedEventDetails { - s.Cause = &v - return s -} - -// SetError sets the Error field's value. -func (s *ActivityScheduleFailedEventDetails) SetError(v string) *ActivityScheduleFailedEventDetails { - s.Error = &v - return s -} - // Contains details about an activity scheduled during an execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityScheduledEventDetails type ActivityScheduledEventDetails struct { @@ -1384,30 +1342,6 @@ func (s ActivityScheduledEventDetails) GoString() string { return s.String() } -// SetHeartbeatInSeconds sets the HeartbeatInSeconds field's value. -func (s *ActivityScheduledEventDetails) SetHeartbeatInSeconds(v int64) *ActivityScheduledEventDetails { - s.HeartbeatInSeconds = &v - return s -} - -// SetInput sets the Input field's value. -func (s *ActivityScheduledEventDetails) SetInput(v string) *ActivityScheduledEventDetails { - s.Input = &v - return s -} - -// SetResource sets the Resource field's value. -func (s *ActivityScheduledEventDetails) SetResource(v string) *ActivityScheduledEventDetails { - s.Resource = &v - return s -} - -// SetTimeoutInSeconds sets the TimeoutInSeconds field's value. -func (s *ActivityScheduledEventDetails) SetTimeoutInSeconds(v int64) *ActivityScheduledEventDetails { - s.TimeoutInSeconds = &v - return s -} - // Contains details about the start of an activity during an execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityStartedEventDetails type ActivityStartedEventDetails struct { @@ -1428,12 +1362,6 @@ func (s ActivityStartedEventDetails) GoString() string { return s.String() } -// SetWorkerName sets the WorkerName field's value. -func (s *ActivityStartedEventDetails) SetWorkerName(v string) *ActivityStartedEventDetails { - s.WorkerName = &v - return s -} - // Contains details about an activity which successfully terminated during an // execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivitySucceededEventDetails @@ -1454,12 +1382,6 @@ func (s ActivitySucceededEventDetails) GoString() string { return s.String() } -// SetOutput sets the Output field's value. -func (s *ActivitySucceededEventDetails) SetOutput(v string) *ActivitySucceededEventDetails { - s.Output = &v - return s -} - // Contains details about an activity timeout which occurred during an execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityTimedOutEventDetails type ActivityTimedOutEventDetails struct { @@ -1482,18 +1404,6 @@ func (s ActivityTimedOutEventDetails) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *ActivityTimedOutEventDetails) SetCause(v string) *ActivityTimedOutEventDetails { - s.Cause = &v - return s -} - -// SetError sets the Error field's value. -func (s *ActivityTimedOutEventDetails) SetError(v string) *ActivityTimedOutEventDetails { - s.Error = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateActivityInput type CreateActivityInput struct { _ struct{} `type:"structure"` @@ -1546,12 +1456,6 @@ func (s *CreateActivityInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *CreateActivityInput) SetName(v string) *CreateActivityInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateActivityOutput type CreateActivityOutput struct { _ struct{} `type:"structure"` @@ -1584,18 +1488,6 @@ func (s CreateActivityOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetActivityArn sets the ActivityArn field's value. -func (s *CreateActivityOutput) SetActivityArn(v string) *CreateActivityOutput { - s.ActivityArn = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *CreateActivityOutput) SetCreationDate(v time.Time) *CreateActivityOutput { - s.CreationDate = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachineInput type CreateStateMachineInput struct { _ struct{} `type:"structure"` @@ -1672,24 +1564,6 @@ func (s *CreateStateMachineInput) Validate() error { return nil } -// SetDefinition sets the Definition field's value. -func (s *CreateStateMachineInput) SetDefinition(v string) *CreateStateMachineInput { - s.Definition = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateStateMachineInput) SetName(v string) *CreateStateMachineInput { - s.Name = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *CreateStateMachineInput) SetRoleArn(v string) *CreateStateMachineInput { - s.RoleArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachineOutput type CreateStateMachineOutput struct { _ struct{} `type:"structure"` @@ -1722,18 +1596,6 @@ func (s CreateStateMachineOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreationDate sets the CreationDate field's value. -func (s *CreateStateMachineOutput) SetCreationDate(v time.Time) *CreateStateMachineOutput { - s.CreationDate = &v - return s -} - -// SetStateMachineArn sets the StateMachineArn field's value. -func (s *CreateStateMachineOutput) SetStateMachineArn(v string) *CreateStateMachineOutput { - s.StateMachineArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteActivityInput type DeleteActivityInput struct { _ struct{} `type:"structure"` @@ -1771,12 +1633,6 @@ func (s *DeleteActivityInput) Validate() error { return nil } -// SetActivityArn sets the ActivityArn field's value. -func (s *DeleteActivityInput) SetActivityArn(v string) *DeleteActivityInput { - s.ActivityArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteActivityOutput type DeleteActivityOutput struct { _ struct{} `type:"structure"` @@ -1836,12 +1692,6 @@ func (s *DeleteStateMachineInput) Validate() error { return nil } -// SetStateMachineArn sets the StateMachineArn field's value. -func (s *DeleteStateMachineInput) SetStateMachineArn(v string) *DeleteStateMachineInput { - s.StateMachineArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteStateMachineOutput type DeleteStateMachineOutput struct { _ struct{} `type:"structure"` @@ -1901,12 +1751,6 @@ func (s *DescribeActivityInput) Validate() error { return nil } -// SetActivityArn sets the ActivityArn field's value. -func (s *DescribeActivityInput) SetActivityArn(v string) *DescribeActivityInput { - s.ActivityArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeActivityOutput type DescribeActivityOutput struct { _ struct{} `type:"structure"` @@ -1956,24 +1800,6 @@ func (s DescribeActivityOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetActivityArn sets the ActivityArn field's value. -func (s *DescribeActivityOutput) SetActivityArn(v string) *DescribeActivityOutput { - s.ActivityArn = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *DescribeActivityOutput) SetCreationDate(v time.Time) *DescribeActivityOutput { - s.CreationDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *DescribeActivityOutput) SetName(v string) *DescribeActivityOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecutionInput type DescribeExecutionInput struct { _ struct{} `type:"structure"` @@ -2011,12 +1837,6 @@ func (s *DescribeExecutionInput) Validate() error { return nil } -// SetExecutionArn sets the ExecutionArn field's value. -func (s *DescribeExecutionInput) SetExecutionArn(v string) *DescribeExecutionInput { - s.ExecutionArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecutionOutput type DescribeExecutionOutput struct { _ struct{} `type:"structure"` @@ -2088,54 +1908,6 @@ func (s DescribeExecutionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExecutionArn sets the ExecutionArn field's value. -func (s *DescribeExecutionOutput) SetExecutionArn(v string) *DescribeExecutionOutput { - s.ExecutionArn = &v - return s -} - -// SetInput sets the Input field's value. -func (s *DescribeExecutionOutput) SetInput(v string) *DescribeExecutionOutput { - s.Input = &v - return s -} - -// SetName sets the Name field's value. -func (s *DescribeExecutionOutput) SetName(v string) *DescribeExecutionOutput { - s.Name = &v - return s -} - -// SetOutput sets the Output field's value. -func (s *DescribeExecutionOutput) SetOutput(v string) *DescribeExecutionOutput { - s.Output = &v - return s -} - -// SetStartDate sets the StartDate field's value. -func (s *DescribeExecutionOutput) SetStartDate(v time.Time) *DescribeExecutionOutput { - s.StartDate = &v - return s -} - -// SetStateMachineArn sets the StateMachineArn field's value. -func (s *DescribeExecutionOutput) SetStateMachineArn(v string) *DescribeExecutionOutput { - s.StateMachineArn = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DescribeExecutionOutput) SetStatus(v ExecutionStatus) *DescribeExecutionOutput { - s.Status = v - return s -} - -// SetStopDate sets the StopDate field's value. -func (s *DescribeExecutionOutput) SetStopDate(v time.Time) *DescribeExecutionOutput { - s.StopDate = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecutionInput type DescribeStateMachineForExecutionInput struct { _ struct{} `type:"structure"` @@ -2174,12 +1946,6 @@ func (s *DescribeStateMachineForExecutionInput) Validate() error { return nil } -// SetExecutionArn sets the ExecutionArn field's value. -func (s *DescribeStateMachineForExecutionInput) SetExecutionArn(v string) *DescribeStateMachineForExecutionInput { - s.ExecutionArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecutionOutput type DescribeStateMachineForExecutionOutput struct { _ struct{} `type:"structure"` @@ -2229,36 +1995,6 @@ func (s DescribeStateMachineForExecutionOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetDefinition sets the Definition field's value. -func (s *DescribeStateMachineForExecutionOutput) SetDefinition(v string) *DescribeStateMachineForExecutionOutput { - s.Definition = &v - return s -} - -// SetName sets the Name field's value. -func (s *DescribeStateMachineForExecutionOutput) SetName(v string) *DescribeStateMachineForExecutionOutput { - s.Name = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *DescribeStateMachineForExecutionOutput) SetRoleArn(v string) *DescribeStateMachineForExecutionOutput { - s.RoleArn = &v - return s -} - -// SetStateMachineArn sets the StateMachineArn field's value. -func (s *DescribeStateMachineForExecutionOutput) SetStateMachineArn(v string) *DescribeStateMachineForExecutionOutput { - s.StateMachineArn = &v - return s -} - -// SetUpdateDate sets the UpdateDate field's value. -func (s *DescribeStateMachineForExecutionOutput) SetUpdateDate(v time.Time) *DescribeStateMachineForExecutionOutput { - s.UpdateDate = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineInput type DescribeStateMachineInput struct { _ struct{} `type:"structure"` @@ -2296,12 +2032,6 @@ func (s *DescribeStateMachineInput) Validate() error { return nil } -// SetStateMachineArn sets the StateMachineArn field's value. -func (s *DescribeStateMachineInput) SetStateMachineArn(v string) *DescribeStateMachineInput { - s.StateMachineArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineOutput type DescribeStateMachineOutput struct { _ struct{} `type:"structure"` @@ -2366,42 +2096,6 @@ func (s DescribeStateMachineOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCreationDate sets the CreationDate field's value. -func (s *DescribeStateMachineOutput) SetCreationDate(v time.Time) *DescribeStateMachineOutput { - s.CreationDate = &v - return s -} - -// SetDefinition sets the Definition field's value. -func (s *DescribeStateMachineOutput) SetDefinition(v string) *DescribeStateMachineOutput { - s.Definition = &v - return s -} - -// SetName sets the Name field's value. -func (s *DescribeStateMachineOutput) SetName(v string) *DescribeStateMachineOutput { - s.Name = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *DescribeStateMachineOutput) SetRoleArn(v string) *DescribeStateMachineOutput { - s.RoleArn = &v - return s -} - -// SetStateMachineArn sets the StateMachineArn field's value. -func (s *DescribeStateMachineOutput) SetStateMachineArn(v string) *DescribeStateMachineOutput { - s.StateMachineArn = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DescribeStateMachineOutput) SetStatus(v StateMachineStatus) *DescribeStateMachineOutput { - s.Status = v - return s -} - // Contains details about an abort of an execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionAbortedEventDetails type ExecutionAbortedEventDetails struct { @@ -2424,18 +2118,6 @@ func (s ExecutionAbortedEventDetails) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *ExecutionAbortedEventDetails) SetCause(v string) *ExecutionAbortedEventDetails { - s.Cause = &v - return s -} - -// SetError sets the Error field's value. -func (s *ExecutionAbortedEventDetails) SetError(v string) *ExecutionAbortedEventDetails { - s.Error = &v - return s -} - // Contains details about an execution failure event. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionFailedEventDetails type ExecutionFailedEventDetails struct { @@ -2458,18 +2140,6 @@ func (s ExecutionFailedEventDetails) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *ExecutionFailedEventDetails) SetCause(v string) *ExecutionFailedEventDetails { - s.Cause = &v - return s -} - -// SetError sets the Error field's value. -func (s *ExecutionFailedEventDetails) SetError(v string) *ExecutionFailedEventDetails { - s.Error = &v - return s -} - // Contains details about an execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionListItem type ExecutionListItem struct { @@ -2526,42 +2196,6 @@ func (s ExecutionListItem) GoString() string { return s.String() } -// SetExecutionArn sets the ExecutionArn field's value. -func (s *ExecutionListItem) SetExecutionArn(v string) *ExecutionListItem { - s.ExecutionArn = &v - return s -} - -// SetName sets the Name field's value. -func (s *ExecutionListItem) SetName(v string) *ExecutionListItem { - s.Name = &v - return s -} - -// SetStartDate sets the StartDate field's value. -func (s *ExecutionListItem) SetStartDate(v time.Time) *ExecutionListItem { - s.StartDate = &v - return s -} - -// SetStateMachineArn sets the StateMachineArn field's value. -func (s *ExecutionListItem) SetStateMachineArn(v string) *ExecutionListItem { - s.StateMachineArn = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ExecutionListItem) SetStatus(v ExecutionStatus) *ExecutionListItem { - s.Status = v - return s -} - -// SetStopDate sets the StopDate field's value. -func (s *ExecutionListItem) SetStopDate(v time.Time) *ExecutionListItem { - s.StopDate = &v - return s -} - // Contains details about the start of the execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionStartedEventDetails type ExecutionStartedEventDetails struct { @@ -2585,18 +2219,6 @@ func (s ExecutionStartedEventDetails) GoString() string { return s.String() } -// SetInput sets the Input field's value. -func (s *ExecutionStartedEventDetails) SetInput(v string) *ExecutionStartedEventDetails { - s.Input = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *ExecutionStartedEventDetails) SetRoleArn(v string) *ExecutionStartedEventDetails { - s.RoleArn = &v - return s -} - // Contains details about the successful termination of the execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionSucceededEventDetails type ExecutionSucceededEventDetails struct { @@ -2616,12 +2238,6 @@ func (s ExecutionSucceededEventDetails) GoString() string { return s.String() } -// SetOutput sets the Output field's value. -func (s *ExecutionSucceededEventDetails) SetOutput(v string) *ExecutionSucceededEventDetails { - s.Output = &v - return s -} - // Contains details about the execution timeout which occurred during the execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionTimedOutEventDetails type ExecutionTimedOutEventDetails struct { @@ -2644,18 +2260,6 @@ func (s ExecutionTimedOutEventDetails) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *ExecutionTimedOutEventDetails) SetCause(v string) *ExecutionTimedOutEventDetails { - s.Cause = &v - return s -} - -// SetError sets the Error field's value. -func (s *ExecutionTimedOutEventDetails) SetError(v string) *ExecutionTimedOutEventDetails { - s.Error = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetActivityTaskInput type GetActivityTaskInput struct { _ struct{} `type:"structure"` @@ -2702,18 +2306,6 @@ func (s *GetActivityTaskInput) Validate() error { return nil } -// SetActivityArn sets the ActivityArn field's value. -func (s *GetActivityTaskInput) SetActivityArn(v string) *GetActivityTaskInput { - s.ActivityArn = &v - return s -} - -// SetWorkerName sets the WorkerName field's value. -func (s *GetActivityTaskInput) SetWorkerName(v string) *GetActivityTaskInput { - s.WorkerName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetActivityTaskOutput type GetActivityTaskOutput struct { _ struct{} `type:"structure"` @@ -2744,18 +2336,6 @@ func (s GetActivityTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInput sets the Input field's value. -func (s *GetActivityTaskOutput) SetInput(v string) *GetActivityTaskOutput { - s.Input = &v - return s -} - -// SetTaskToken sets the TaskToken field's value. -func (s *GetActivityTaskOutput) SetTaskToken(v string) *GetActivityTaskOutput { - s.TaskToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistoryInput type GetExecutionHistoryInput struct { _ struct{} `type:"structure"` @@ -2815,30 +2395,6 @@ func (s *GetExecutionHistoryInput) Validate() error { return nil } -// SetExecutionArn sets the ExecutionArn field's value. -func (s *GetExecutionHistoryInput) SetExecutionArn(v string) *GetExecutionHistoryInput { - s.ExecutionArn = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetExecutionHistoryInput) SetMaxResults(v int64) *GetExecutionHistoryInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetExecutionHistoryInput) SetNextToken(v string) *GetExecutionHistoryInput { - s.NextToken = &v - return s -} - -// SetReverseOrder sets the ReverseOrder field's value. -func (s *GetExecutionHistoryInput) SetReverseOrder(v bool) *GetExecutionHistoryInput { - s.ReverseOrder = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistoryOutput type GetExecutionHistoryOutput struct { _ struct{} `type:"structure"` @@ -2874,18 +2430,6 @@ func (s GetExecutionHistoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEvents sets the Events field's value. -func (s *GetExecutionHistoryOutput) SetEvents(v []HistoryEvent) *GetExecutionHistoryOutput { - s.Events = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetExecutionHistoryOutput) SetNextToken(v string) *GetExecutionHistoryOutput { - s.NextToken = &v - return s -} - // Contains details about the events of an execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/HistoryEvent type HistoryEvent struct { @@ -2983,144 +2527,6 @@ func (s HistoryEvent) GoString() string { return s.String() } -// SetActivityFailedEventDetails sets the ActivityFailedEventDetails field's value. -func (s *HistoryEvent) SetActivityFailedEventDetails(v *ActivityFailedEventDetails) *HistoryEvent { - s.ActivityFailedEventDetails = v - return s -} - -// SetActivityScheduleFailedEventDetails sets the ActivityScheduleFailedEventDetails field's value. -func (s *HistoryEvent) SetActivityScheduleFailedEventDetails(v *ActivityScheduleFailedEventDetails) *HistoryEvent { - s.ActivityScheduleFailedEventDetails = v - return s -} - -// SetActivityScheduledEventDetails sets the ActivityScheduledEventDetails field's value. -func (s *HistoryEvent) SetActivityScheduledEventDetails(v *ActivityScheduledEventDetails) *HistoryEvent { - s.ActivityScheduledEventDetails = v - return s -} - -// SetActivityStartedEventDetails sets the ActivityStartedEventDetails field's value. -func (s *HistoryEvent) SetActivityStartedEventDetails(v *ActivityStartedEventDetails) *HistoryEvent { - s.ActivityStartedEventDetails = v - return s -} - -// SetActivitySucceededEventDetails sets the ActivitySucceededEventDetails field's value. -func (s *HistoryEvent) SetActivitySucceededEventDetails(v *ActivitySucceededEventDetails) *HistoryEvent { - s.ActivitySucceededEventDetails = v - return s -} - -// SetActivityTimedOutEventDetails sets the ActivityTimedOutEventDetails field's value. -func (s *HistoryEvent) SetActivityTimedOutEventDetails(v *ActivityTimedOutEventDetails) *HistoryEvent { - s.ActivityTimedOutEventDetails = v - return s -} - -// SetExecutionAbortedEventDetails sets the ExecutionAbortedEventDetails field's value. -func (s *HistoryEvent) SetExecutionAbortedEventDetails(v *ExecutionAbortedEventDetails) *HistoryEvent { - s.ExecutionAbortedEventDetails = v - return s -} - -// SetExecutionFailedEventDetails sets the ExecutionFailedEventDetails field's value. -func (s *HistoryEvent) SetExecutionFailedEventDetails(v *ExecutionFailedEventDetails) *HistoryEvent { - s.ExecutionFailedEventDetails = v - return s -} - -// SetExecutionStartedEventDetails sets the ExecutionStartedEventDetails field's value. -func (s *HistoryEvent) SetExecutionStartedEventDetails(v *ExecutionStartedEventDetails) *HistoryEvent { - s.ExecutionStartedEventDetails = v - return s -} - -// SetExecutionSucceededEventDetails sets the ExecutionSucceededEventDetails field's value. -func (s *HistoryEvent) SetExecutionSucceededEventDetails(v *ExecutionSucceededEventDetails) *HistoryEvent { - s.ExecutionSucceededEventDetails = v - return s -} - -// SetExecutionTimedOutEventDetails sets the ExecutionTimedOutEventDetails field's value. -func (s *HistoryEvent) SetExecutionTimedOutEventDetails(v *ExecutionTimedOutEventDetails) *HistoryEvent { - s.ExecutionTimedOutEventDetails = v - return s -} - -// SetId sets the Id field's value. -func (s *HistoryEvent) SetId(v int64) *HistoryEvent { - s.Id = &v - return s -} - -// SetLambdaFunctionFailedEventDetails sets the LambdaFunctionFailedEventDetails field's value. -func (s *HistoryEvent) SetLambdaFunctionFailedEventDetails(v *LambdaFunctionFailedEventDetails) *HistoryEvent { - s.LambdaFunctionFailedEventDetails = v - return s -} - -// SetLambdaFunctionScheduleFailedEventDetails sets the LambdaFunctionScheduleFailedEventDetails field's value. -func (s *HistoryEvent) SetLambdaFunctionScheduleFailedEventDetails(v *LambdaFunctionScheduleFailedEventDetails) *HistoryEvent { - s.LambdaFunctionScheduleFailedEventDetails = v - return s -} - -// SetLambdaFunctionScheduledEventDetails sets the LambdaFunctionScheduledEventDetails field's value. -func (s *HistoryEvent) SetLambdaFunctionScheduledEventDetails(v *LambdaFunctionScheduledEventDetails) *HistoryEvent { - s.LambdaFunctionScheduledEventDetails = v - return s -} - -// SetLambdaFunctionStartFailedEventDetails sets the LambdaFunctionStartFailedEventDetails field's value. -func (s *HistoryEvent) SetLambdaFunctionStartFailedEventDetails(v *LambdaFunctionStartFailedEventDetails) *HistoryEvent { - s.LambdaFunctionStartFailedEventDetails = v - return s -} - -// SetLambdaFunctionSucceededEventDetails sets the LambdaFunctionSucceededEventDetails field's value. -func (s *HistoryEvent) SetLambdaFunctionSucceededEventDetails(v *LambdaFunctionSucceededEventDetails) *HistoryEvent { - s.LambdaFunctionSucceededEventDetails = v - return s -} - -// SetLambdaFunctionTimedOutEventDetails sets the LambdaFunctionTimedOutEventDetails field's value. -func (s *HistoryEvent) SetLambdaFunctionTimedOutEventDetails(v *LambdaFunctionTimedOutEventDetails) *HistoryEvent { - s.LambdaFunctionTimedOutEventDetails = v - return s -} - -// SetPreviousEventId sets the PreviousEventId field's value. -func (s *HistoryEvent) SetPreviousEventId(v int64) *HistoryEvent { - s.PreviousEventId = &v - return s -} - -// SetStateEnteredEventDetails sets the StateEnteredEventDetails field's value. -func (s *HistoryEvent) SetStateEnteredEventDetails(v *StateEnteredEventDetails) *HistoryEvent { - s.StateEnteredEventDetails = v - return s -} - -// SetStateExitedEventDetails sets the StateExitedEventDetails field's value. -func (s *HistoryEvent) SetStateExitedEventDetails(v *StateExitedEventDetails) *HistoryEvent { - s.StateExitedEventDetails = v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *HistoryEvent) SetTimestamp(v time.Time) *HistoryEvent { - s.Timestamp = &v - return s -} - -// SetType sets the Type field's value. -func (s *HistoryEvent) SetType(v HistoryEventType) *HistoryEvent { - s.Type = v - return s -} - // Contains details about a lambda function which failed during an execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionFailedEventDetails type LambdaFunctionFailedEventDetails struct { @@ -3143,18 +2549,6 @@ func (s LambdaFunctionFailedEventDetails) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *LambdaFunctionFailedEventDetails) SetCause(v string) *LambdaFunctionFailedEventDetails { - s.Cause = &v - return s -} - -// SetError sets the Error field's value. -func (s *LambdaFunctionFailedEventDetails) SetError(v string) *LambdaFunctionFailedEventDetails { - s.Error = &v - return s -} - // Contains details about a failed lambda function schedule event which occurred // during an execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionScheduleFailedEventDetails @@ -3178,18 +2572,6 @@ func (s LambdaFunctionScheduleFailedEventDetails) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *LambdaFunctionScheduleFailedEventDetails) SetCause(v string) *LambdaFunctionScheduleFailedEventDetails { - s.Cause = &v - return s -} - -// SetError sets the Error field's value. -func (s *LambdaFunctionScheduleFailedEventDetails) SetError(v string) *LambdaFunctionScheduleFailedEventDetails { - s.Error = &v - return s -} - // Contains details about a lambda function scheduled during an execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionScheduledEventDetails type LambdaFunctionScheduledEventDetails struct { @@ -3217,24 +2599,6 @@ func (s LambdaFunctionScheduledEventDetails) GoString() string { return s.String() } -// SetInput sets the Input field's value. -func (s *LambdaFunctionScheduledEventDetails) SetInput(v string) *LambdaFunctionScheduledEventDetails { - s.Input = &v - return s -} - -// SetResource sets the Resource field's value. -func (s *LambdaFunctionScheduledEventDetails) SetResource(v string) *LambdaFunctionScheduledEventDetails { - s.Resource = &v - return s -} - -// SetTimeoutInSeconds sets the TimeoutInSeconds field's value. -func (s *LambdaFunctionScheduledEventDetails) SetTimeoutInSeconds(v int64) *LambdaFunctionScheduledEventDetails { - s.TimeoutInSeconds = &v - return s -} - // Contains details about a lambda function which failed to start during an // execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionStartFailedEventDetails @@ -3258,18 +2622,6 @@ func (s LambdaFunctionStartFailedEventDetails) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *LambdaFunctionStartFailedEventDetails) SetCause(v string) *LambdaFunctionStartFailedEventDetails { - s.Cause = &v - return s -} - -// SetError sets the Error field's value. -func (s *LambdaFunctionStartFailedEventDetails) SetError(v string) *LambdaFunctionStartFailedEventDetails { - s.Error = &v - return s -} - // Contains details about a lambda function which successfully terminated during // an execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionSucceededEventDetails @@ -3290,12 +2642,6 @@ func (s LambdaFunctionSucceededEventDetails) GoString() string { return s.String() } -// SetOutput sets the Output field's value. -func (s *LambdaFunctionSucceededEventDetails) SetOutput(v string) *LambdaFunctionSucceededEventDetails { - s.Output = &v - return s -} - // Contains details about a lambda function timeout which occurred during an // execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/LambdaFunctionTimedOutEventDetails @@ -3319,18 +2665,6 @@ func (s LambdaFunctionTimedOutEventDetails) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *LambdaFunctionTimedOutEventDetails) SetCause(v string) *LambdaFunctionTimedOutEventDetails { - s.Cause = &v - return s -} - -// SetError sets the Error field's value. -func (s *LambdaFunctionTimedOutEventDetails) SetError(v string) *LambdaFunctionTimedOutEventDetails { - s.Error = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListActivitiesInput type ListActivitiesInput struct { _ struct{} `type:"structure"` @@ -3375,18 +2709,6 @@ func (s *ListActivitiesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListActivitiesInput) SetMaxResults(v int64) *ListActivitiesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListActivitiesInput) SetNextToken(v string) *ListActivitiesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListActivitiesOutput type ListActivitiesOutput struct { _ struct{} `type:"structure"` @@ -3422,18 +2744,6 @@ func (s ListActivitiesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetActivities sets the Activities field's value. -func (s *ListActivitiesOutput) SetActivities(v []ActivityListItem) *ListActivitiesOutput { - s.Activities = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListActivitiesOutput) SetNextToken(v string) *ListActivitiesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutionsInput type ListExecutionsInput struct { _ struct{} `type:"structure"` @@ -3494,30 +2804,6 @@ func (s *ListExecutionsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListExecutionsInput) SetMaxResults(v int64) *ListExecutionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListExecutionsInput) SetNextToken(v string) *ListExecutionsInput { - s.NextToken = &v - return s -} - -// SetStateMachineArn sets the StateMachineArn field's value. -func (s *ListExecutionsInput) SetStateMachineArn(v string) *ListExecutionsInput { - s.StateMachineArn = &v - return s -} - -// SetStatusFilter sets the StatusFilter field's value. -func (s *ListExecutionsInput) SetStatusFilter(v ExecutionStatus) *ListExecutionsInput { - s.StatusFilter = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutionsOutput type ListExecutionsOutput struct { _ struct{} `type:"structure"` @@ -3553,18 +2839,6 @@ func (s ListExecutionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExecutions sets the Executions field's value. -func (s *ListExecutionsOutput) SetExecutions(v []ExecutionListItem) *ListExecutionsOutput { - s.Executions = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListExecutionsOutput) SetNextToken(v string) *ListExecutionsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListStateMachinesInput type ListStateMachinesInput struct { _ struct{} `type:"structure"` @@ -3609,18 +2883,6 @@ func (s *ListStateMachinesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListStateMachinesInput) SetMaxResults(v int64) *ListStateMachinesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListStateMachinesInput) SetNextToken(v string) *ListStateMachinesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListStateMachinesOutput type ListStateMachinesOutput struct { _ struct{} `type:"structure"` @@ -3654,18 +2916,6 @@ func (s ListStateMachinesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListStateMachinesOutput) SetNextToken(v string) *ListStateMachinesOutput { - s.NextToken = &v - return s -} - -// SetStateMachines sets the StateMachines field's value. -func (s *ListStateMachinesOutput) SetStateMachines(v []StateMachineListItem) *ListStateMachinesOutput { - s.StateMachines = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskFailureInput type SendTaskFailureInput struct { _ struct{} `type:"structure"` @@ -3710,24 +2960,6 @@ func (s *SendTaskFailureInput) Validate() error { return nil } -// SetCause sets the Cause field's value. -func (s *SendTaskFailureInput) SetCause(v string) *SendTaskFailureInput { - s.Cause = &v - return s -} - -// SetError sets the Error field's value. -func (s *SendTaskFailureInput) SetError(v string) *SendTaskFailureInput { - s.Error = &v - return s -} - -// SetTaskToken sets the TaskToken field's value. -func (s *SendTaskFailureInput) SetTaskToken(v string) *SendTaskFailureInput { - s.TaskToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskFailureOutput type SendTaskFailureOutput struct { _ struct{} `type:"structure"` @@ -3788,12 +3020,6 @@ func (s *SendTaskHeartbeatInput) Validate() error { return nil } -// SetTaskToken sets the TaskToken field's value. -func (s *SendTaskHeartbeatInput) SetTaskToken(v string) *SendTaskHeartbeatInput { - s.TaskToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskHeartbeatOutput type SendTaskHeartbeatOutput struct { _ struct{} `type:"structure"` @@ -3863,18 +3089,6 @@ func (s *SendTaskSuccessInput) Validate() error { return nil } -// SetOutput sets the Output field's value. -func (s *SendTaskSuccessInput) SetOutput(v string) *SendTaskSuccessInput { - s.Output = &v - return s -} - -// SetTaskToken sets the TaskToken field's value. -func (s *SendTaskSuccessInput) SetTaskToken(v string) *SendTaskSuccessInput { - s.TaskToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccessOutput type SendTaskSuccessOutput struct { _ struct{} `type:"structure"` @@ -3977,24 +3191,6 @@ func (s *StartExecutionInput) Validate() error { return nil } -// SetInput sets the Input field's value. -func (s *StartExecutionInput) SetInput(v string) *StartExecutionInput { - s.Input = &v - return s -} - -// SetName sets the Name field's value. -func (s *StartExecutionInput) SetName(v string) *StartExecutionInput { - s.Name = &v - return s -} - -// SetStateMachineArn sets the StateMachineArn field's value. -func (s *StartExecutionInput) SetStateMachineArn(v string) *StartExecutionInput { - s.StateMachineArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecutionOutput type StartExecutionOutput struct { _ struct{} `type:"structure"` @@ -4027,18 +3223,6 @@ func (s StartExecutionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExecutionArn sets the ExecutionArn field's value. -func (s *StartExecutionOutput) SetExecutionArn(v string) *StartExecutionOutput { - s.ExecutionArn = &v - return s -} - -// SetStartDate sets the StartDate field's value. -func (s *StartExecutionOutput) SetStartDate(v time.Time) *StartExecutionOutput { - s.StartDate = &v - return s -} - // Contains details about a state entered during an execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateEnteredEventDetails type StateEnteredEventDetails struct { @@ -4063,18 +3247,6 @@ func (s StateEnteredEventDetails) GoString() string { return s.String() } -// SetInput sets the Input field's value. -func (s *StateEnteredEventDetails) SetInput(v string) *StateEnteredEventDetails { - s.Input = &v - return s -} - -// SetName sets the Name field's value. -func (s *StateEnteredEventDetails) SetName(v string) *StateEnteredEventDetails { - s.Name = &v - return s -} - // Contains details about an exit from a state during an execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateExitedEventDetails type StateExitedEventDetails struct { @@ -4111,18 +3283,6 @@ func (s StateExitedEventDetails) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *StateExitedEventDetails) SetName(v string) *StateExitedEventDetails { - s.Name = &v - return s -} - -// SetOutput sets the Output field's value. -func (s *StateExitedEventDetails) SetOutput(v string) *StateExitedEventDetails { - s.Output = &v - return s -} - // Contains details about the state machine. // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateMachineListItem type StateMachineListItem struct { @@ -4166,24 +3326,6 @@ func (s StateMachineListItem) GoString() string { return s.String() } -// SetCreationDate sets the CreationDate field's value. -func (s *StateMachineListItem) SetCreationDate(v time.Time) *StateMachineListItem { - s.CreationDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *StateMachineListItem) SetName(v string) *StateMachineListItem { - s.Name = &v - return s -} - -// SetStateMachineArn sets the StateMachineArn field's value. -func (s *StateMachineListItem) SetStateMachineArn(v string) *StateMachineListItem { - s.StateMachineArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StopExecutionInput type StopExecutionInput struct { _ struct{} `type:"structure"` @@ -4227,24 +3369,6 @@ func (s *StopExecutionInput) Validate() error { return nil } -// SetCause sets the Cause field's value. -func (s *StopExecutionInput) SetCause(v string) *StopExecutionInput { - s.Cause = &v - return s -} - -// SetError sets the Error field's value. -func (s *StopExecutionInput) SetError(v string) *StopExecutionInput { - s.Error = &v - return s -} - -// SetExecutionArn sets the ExecutionArn field's value. -func (s *StopExecutionInput) SetExecutionArn(v string) *StopExecutionInput { - s.ExecutionArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StopExecutionOutput type StopExecutionOutput struct { _ struct{} `type:"structure"` @@ -4272,12 +3396,6 @@ func (s StopExecutionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStopDate sets the StopDate field's value. -func (s *StopExecutionOutput) SetStopDate(v time.Time) *StopExecutionOutput { - s.StopDate = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UpdateStateMachineInput type UpdateStateMachineInput struct { _ struct{} `type:"structure"` @@ -4327,24 +3445,6 @@ func (s *UpdateStateMachineInput) Validate() error { return nil } -// SetDefinition sets the Definition field's value. -func (s *UpdateStateMachineInput) SetDefinition(v string) *UpdateStateMachineInput { - s.Definition = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *UpdateStateMachineInput) SetRoleArn(v string) *UpdateStateMachineInput { - s.RoleArn = &v - return s -} - -// SetStateMachineArn sets the StateMachineArn field's value. -func (s *UpdateStateMachineInput) SetStateMachineArn(v string) *UpdateStateMachineInput { - s.StateMachineArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UpdateStateMachineOutput type UpdateStateMachineOutput struct { _ struct{} `type:"structure"` @@ -4372,12 +3472,6 @@ func (s UpdateStateMachineOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUpdateDate sets the UpdateDate field's value. -func (s *UpdateStateMachineOutput) SetUpdateDate(v time.Time) *UpdateStateMachineOutput { - s.UpdateDate = &v - return s -} - type ExecutionStatus string // Enum values for ExecutionStatus diff --git a/service/shield/api.go b/service/shield/api.go index 5bdf123898f..ce0ce287ed2 100644 --- a/service/shield/api.go +++ b/service/shield/api.go @@ -547,54 +547,6 @@ func (s AttackDetail) GoString() string { return s.String() } -// SetAttackCounters sets the AttackCounters field's value. -func (s *AttackDetail) SetAttackCounters(v []SummarizedCounter) *AttackDetail { - s.AttackCounters = v - return s -} - -// SetAttackId sets the AttackId field's value. -func (s *AttackDetail) SetAttackId(v string) *AttackDetail { - s.AttackId = &v - return s -} - -// SetAttackProperties sets the AttackProperties field's value. -func (s *AttackDetail) SetAttackProperties(v []AttackProperty) *AttackDetail { - s.AttackProperties = v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *AttackDetail) SetEndTime(v time.Time) *AttackDetail { - s.EndTime = &v - return s -} - -// SetMitigations sets the Mitigations field's value. -func (s *AttackDetail) SetMitigations(v []Mitigation) *AttackDetail { - s.Mitigations = v - return s -} - -// SetResourceArn sets the ResourceArn field's value. -func (s *AttackDetail) SetResourceArn(v string) *AttackDetail { - s.ResourceArn = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *AttackDetail) SetStartTime(v time.Time) *AttackDetail { - s.StartTime = &v - return s -} - -// SetSubResources sets the SubResources field's value. -func (s *AttackDetail) SetSubResources(v []SubResourceSummary) *AttackDetail { - s.SubResources = v - return s -} - // Details of the described attack. // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AttackProperty type AttackProperty struct { @@ -629,36 +581,6 @@ func (s AttackProperty) GoString() string { return s.String() } -// SetAttackLayer sets the AttackLayer field's value. -func (s *AttackProperty) SetAttackLayer(v AttackLayer) *AttackProperty { - s.AttackLayer = v - return s -} - -// SetAttackPropertyIdentifier sets the AttackPropertyIdentifier field's value. -func (s *AttackProperty) SetAttackPropertyIdentifier(v AttackPropertyIdentifier) *AttackProperty { - s.AttackPropertyIdentifier = v - return s -} - -// SetTopContributors sets the TopContributors field's value. -func (s *AttackProperty) SetTopContributors(v []Contributor) *AttackProperty { - s.TopContributors = v - return s -} - -// SetTotal sets the Total field's value. -func (s *AttackProperty) SetTotal(v int64) *AttackProperty { - s.Total = &v - return s -} - -// SetUnit sets the Unit field's value. -func (s *AttackProperty) SetUnit(v Unit) *AttackProperty { - s.Unit = v - return s -} - // Summarizes all DDoS attacks for a specified time period. // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AttackSummary type AttackSummary struct { @@ -692,36 +614,6 @@ func (s AttackSummary) GoString() string { return s.String() } -// SetAttackId sets the AttackId field's value. -func (s *AttackSummary) SetAttackId(v string) *AttackSummary { - s.AttackId = &v - return s -} - -// SetAttackVectors sets the AttackVectors field's value. -func (s *AttackSummary) SetAttackVectors(v []AttackVectorDescription) *AttackSummary { - s.AttackVectors = v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *AttackSummary) SetEndTime(v time.Time) *AttackSummary { - s.EndTime = &v - return s -} - -// SetResourceArn sets the ResourceArn field's value. -func (s *AttackSummary) SetResourceArn(v string) *AttackSummary { - s.ResourceArn = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *AttackSummary) SetStartTime(v time.Time) *AttackSummary { - s.StartTime = &v - return s -} - // Describes the attack. // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AttackVectorDescription type AttackVectorDescription struct { @@ -773,12 +665,6 @@ func (s AttackVectorDescription) GoString() string { return s.String() } -// SetVectorType sets the VectorType field's value. -func (s *AttackVectorDescription) SetVectorType(v string) *AttackVectorDescription { - s.VectorType = &v - return s -} - // A contributor to the attack and their contribution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/Contributor type Contributor struct { @@ -804,18 +690,6 @@ func (s Contributor) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *Contributor) SetName(v string) *Contributor { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Contributor) SetValue(v int64) *Contributor { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateProtectionRequest type CreateProtectionInput struct { _ struct{} `type:"structure"` @@ -877,18 +751,6 @@ func (s *CreateProtectionInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *CreateProtectionInput) SetName(v string) *CreateProtectionInput { - s.Name = &v - return s -} - -// SetResourceArn sets the ResourceArn field's value. -func (s *CreateProtectionInput) SetResourceArn(v string) *CreateProtectionInput { - s.ResourceArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateProtectionResponse type CreateProtectionOutput struct { _ struct{} `type:"structure"` @@ -914,12 +776,6 @@ func (s CreateProtectionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetProtectionId sets the ProtectionId field's value. -func (s *CreateProtectionOutput) SetProtectionId(v string) *CreateProtectionOutput { - s.ProtectionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateSubscriptionRequest type CreateSubscriptionInput struct { _ struct{} `type:"structure"` @@ -994,12 +850,6 @@ func (s *DeleteProtectionInput) Validate() error { return nil } -// SetProtectionId sets the ProtectionId field's value. -func (s *DeleteProtectionInput) SetProtectionId(v string) *DeleteProtectionInput { - s.ProtectionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteProtectionResponse type DeleteProtectionOutput struct { _ struct{} `type:"structure"` @@ -1096,12 +946,6 @@ func (s *DescribeAttackInput) Validate() error { return nil } -// SetAttackId sets the AttackId field's value. -func (s *DescribeAttackInput) SetAttackId(v string) *DescribeAttackInput { - s.AttackId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeAttackResponse type DescribeAttackOutput struct { _ struct{} `type:"structure"` @@ -1127,12 +971,6 @@ func (s DescribeAttackOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttack sets the Attack field's value. -func (s *DescribeAttackOutput) SetAttack(v *AttackDetail) *DescribeAttackOutput { - s.Attack = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeProtectionRequest type DescribeProtectionInput struct { _ struct{} `type:"structure"` @@ -1170,12 +1008,6 @@ func (s *DescribeProtectionInput) Validate() error { return nil } -// SetProtectionId sets the ProtectionId field's value. -func (s *DescribeProtectionInput) SetProtectionId(v string) *DescribeProtectionInput { - s.ProtectionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeProtectionResponse type DescribeProtectionOutput struct { _ struct{} `type:"structure"` @@ -1201,12 +1033,6 @@ func (s DescribeProtectionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetProtection sets the Protection field's value. -func (s *DescribeProtectionOutput) SetProtection(v *Protection) *DescribeProtectionOutput { - s.Protection = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeSubscriptionRequest type DescribeSubscriptionInput struct { _ struct{} `type:"structure"` @@ -1247,12 +1073,6 @@ func (s DescribeSubscriptionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSubscription sets the Subscription field's value. -func (s *DescribeSubscriptionOutput) SetSubscription(v *Subscription) *DescribeSubscriptionOutput { - s.Subscription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/GetSubscriptionStateRequest type GetSubscriptionStateInput struct { _ struct{} `type:"structure"` @@ -1295,12 +1115,6 @@ func (s GetSubscriptionStateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSubscriptionState sets the SubscriptionState field's value. -func (s *GetSubscriptionStateOutput) SetSubscriptionState(v SubscriptionState) *GetSubscriptionStateOutput { - s.SubscriptionState = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListAttacksRequest type ListAttacksInput struct { _ struct{} `type:"structure"` @@ -1353,36 +1167,6 @@ func (s *ListAttacksInput) Validate() error { return nil } -// SetEndTime sets the EndTime field's value. -func (s *ListAttacksInput) SetEndTime(v *TimeRange) *ListAttacksInput { - s.EndTime = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListAttacksInput) SetMaxResults(v int64) *ListAttacksInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAttacksInput) SetNextToken(v string) *ListAttacksInput { - s.NextToken = &v - return s -} - -// SetResourceArns sets the ResourceArns field's value. -func (s *ListAttacksInput) SetResourceArns(v []string) *ListAttacksInput { - s.ResourceArns = v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *ListAttacksInput) SetStartTime(v *TimeRange) *ListAttacksInput { - s.StartTime = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListAttacksResponse type ListAttacksOutput struct { _ struct{} `type:"structure"` @@ -1414,18 +1198,6 @@ func (s ListAttacksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttackSummaries sets the AttackSummaries field's value. -func (s *ListAttacksOutput) SetAttackSummaries(v []AttackSummary) *ListAttacksOutput { - s.AttackSummaries = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAttacksOutput) SetNextToken(v string) *ListAttacksOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListProtectionsRequest type ListProtectionsInput struct { _ struct{} `type:"structure"` @@ -1462,18 +1234,6 @@ func (s *ListProtectionsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListProtectionsInput) SetMaxResults(v int64) *ListProtectionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListProtectionsInput) SetNextToken(v string) *ListProtectionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListProtectionsResponse type ListProtectionsOutput struct { _ struct{} `type:"structure"` @@ -1506,18 +1266,6 @@ func (s ListProtectionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListProtectionsOutput) SetNextToken(v string) *ListProtectionsOutput { - s.NextToken = &v - return s -} - -// SetProtections sets the Protections field's value. -func (s *ListProtectionsOutput) SetProtections(v []Protection) *ListProtectionsOutput { - s.Protections = v - return s -} - // The mitigation applied to a DDoS attack. // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/Mitigation type Mitigation struct { @@ -1537,12 +1285,6 @@ func (s Mitigation) GoString() string { return s.String() } -// SetMitigationName sets the MitigationName field's value. -func (s *Mitigation) SetMitigationName(v string) *Mitigation { - s.MitigationName = &v - return s -} - // An object that represents a resource that is under DDoS protection. // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/Protection type Protection struct { @@ -1568,24 +1310,6 @@ func (s Protection) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *Protection) SetId(v string) *Protection { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *Protection) SetName(v string) *Protection { - s.Name = &v - return s -} - -// SetResourceArn sets the ResourceArn field's value. -func (s *Protection) SetResourceArn(v string) *Protection { - s.ResourceArn = &v - return s -} - // The attack information for the specified SubResource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/SubResourceSummary type SubResourceSummary struct { @@ -1614,30 +1338,6 @@ func (s SubResourceSummary) GoString() string { return s.String() } -// SetAttackVectors sets the AttackVectors field's value. -func (s *SubResourceSummary) SetAttackVectors(v []SummarizedAttackVector) *SubResourceSummary { - s.AttackVectors = v - return s -} - -// SetCounters sets the Counters field's value. -func (s *SubResourceSummary) SetCounters(v []SummarizedCounter) *SubResourceSummary { - s.Counters = v - return s -} - -// SetId sets the Id field's value. -func (s *SubResourceSummary) SetId(v string) *SubResourceSummary { - s.Id = &v - return s -} - -// SetType sets the Type field's value. -func (s *SubResourceSummary) SetType(v SubResourceType) *SubResourceSummary { - s.Type = v - return s -} - // Information about the AWS Shield Advanced subscription for an account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/Subscription type Subscription struct { @@ -1661,18 +1361,6 @@ func (s Subscription) GoString() string { return s.String() } -// SetStartTime sets the StartTime field's value. -func (s *Subscription) SetStartTime(v time.Time) *Subscription { - s.StartTime = &v - return s -} - -// SetTimeCommitmentInSeconds sets the TimeCommitmentInSeconds field's value. -func (s *Subscription) SetTimeCommitmentInSeconds(v int64) *Subscription { - s.TimeCommitmentInSeconds = &v - return s -} - // A summary of information about the attack. // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/SummarizedAttackVector type SummarizedAttackVector struct { @@ -1697,18 +1385,6 @@ func (s SummarizedAttackVector) GoString() string { return s.String() } -// SetVectorCounters sets the VectorCounters field's value. -func (s *SummarizedAttackVector) SetVectorCounters(v []SummarizedCounter) *SummarizedAttackVector { - s.VectorCounters = v - return s -} - -// SetVectorType sets the VectorType field's value. -func (s *SummarizedAttackVector) SetVectorType(v string) *SummarizedAttackVector { - s.VectorType = &v - return s -} - // The counter that describes a DDoS attack. // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/SummarizedCounter type SummarizedCounter struct { @@ -1743,42 +1419,6 @@ func (s SummarizedCounter) GoString() string { return s.String() } -// SetAverage sets the Average field's value. -func (s *SummarizedCounter) SetAverage(v float64) *SummarizedCounter { - s.Average = &v - return s -} - -// SetMax sets the Max field's value. -func (s *SummarizedCounter) SetMax(v float64) *SummarizedCounter { - s.Max = &v - return s -} - -// SetN sets the N field's value. -func (s *SummarizedCounter) SetN(v int64) *SummarizedCounter { - s.N = &v - return s -} - -// SetName sets the Name field's value. -func (s *SummarizedCounter) SetName(v string) *SummarizedCounter { - s.Name = &v - return s -} - -// SetSum sets the Sum field's value. -func (s *SummarizedCounter) SetSum(v float64) *SummarizedCounter { - s.Sum = &v - return s -} - -// SetUnit sets the Unit field's value. -func (s *SummarizedCounter) SetUnit(v string) *SummarizedCounter { - s.Unit = &v - return s -} - // The time range. // Please also see https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/TimeRange type TimeRange struct { @@ -1803,18 +1443,6 @@ func (s TimeRange) GoString() string { return s.String() } -// SetFromInclusive sets the FromInclusive field's value. -func (s *TimeRange) SetFromInclusive(v time.Time) *TimeRange { - s.FromInclusive = &v - return s -} - -// SetToExclusive sets the ToExclusive field's value. -func (s *TimeRange) SetToExclusive(v time.Time) *TimeRange { - s.ToExclusive = &v - return s -} - type AttackLayer string // Enum values for AttackLayer diff --git a/service/simpledb/api.go b/service/simpledb/api.go index 0975c3baff9..6692226b1d3 100644 --- a/service/simpledb/api.go +++ b/service/simpledb/api.go @@ -777,30 +777,6 @@ func (s Attribute) GoString() string { return s.String() } -// SetAlternateNameEncoding sets the AlternateNameEncoding field's value. -func (s *Attribute) SetAlternateNameEncoding(v string) *Attribute { - s.AlternateNameEncoding = &v - return s -} - -// SetAlternateValueEncoding sets the AlternateValueEncoding field's value. -func (s *Attribute) SetAlternateValueEncoding(v string) *Attribute { - s.AlternateValueEncoding = &v - return s -} - -// SetName sets the Name field's value. -func (s *Attribute) SetName(v string) *Attribute { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Attribute) SetValue(v string) *Attribute { - s.Value = &v - return s -} - type BatchDeleteAttributesInput struct { _ struct{} `type:"structure"` @@ -850,18 +826,6 @@ func (s *BatchDeleteAttributesInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *BatchDeleteAttributesInput) SetDomainName(v string) *BatchDeleteAttributesInput { - s.DomainName = &v - return s -} - -// SetItems sets the Items field's value. -func (s *BatchDeleteAttributesInput) SetItems(v []DeletableItem) *BatchDeleteAttributesInput { - s.Items = v - return s -} - type BatchDeleteAttributesOutput struct { _ struct{} `type:"structure"` @@ -932,18 +896,6 @@ func (s *BatchPutAttributesInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *BatchPutAttributesInput) SetDomainName(v string) *BatchPutAttributesInput { - s.DomainName = &v - return s -} - -// SetItems sets the Items field's value. -func (s *BatchPutAttributesInput) SetItems(v []ReplaceableItem) *BatchPutAttributesInput { - s.Items = v - return s -} - type BatchPutAttributesOutput struct { _ struct{} `type:"structure"` @@ -999,12 +951,6 @@ func (s *CreateDomainInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *CreateDomainInput) SetDomainName(v string) *CreateDomainInput { - s.DomainName = &v - return s -} - type CreateDomainOutput struct { _ struct{} `type:"structure"` @@ -1062,18 +1008,6 @@ func (s *DeletableAttribute) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeletableAttribute) SetName(v string) *DeletableAttribute { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *DeletableAttribute) SetValue(v string) *DeletableAttribute { - s.Value = &v - return s -} - type DeletableItem struct { _ struct{} `type:"structure"` @@ -1114,18 +1048,6 @@ func (s *DeletableItem) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *DeletableItem) SetAttributes(v []DeletableAttribute) *DeletableItem { - s.Attributes = v - return s -} - -// SetName sets the Name field's value. -func (s *DeletableItem) SetName(v string) *DeletableItem { - s.Name = &v - return s -} - type DeleteAttributesInput struct { _ struct{} `type:"structure"` @@ -1185,30 +1107,6 @@ func (s *DeleteAttributesInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *DeleteAttributesInput) SetAttributes(v []DeletableAttribute) *DeleteAttributesInput { - s.Attributes = v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *DeleteAttributesInput) SetDomainName(v string) *DeleteAttributesInput { - s.DomainName = &v - return s -} - -// SetExpected sets the Expected field's value. -func (s *DeleteAttributesInput) SetExpected(v *UpdateCondition) *DeleteAttributesInput { - s.Expected = v - return s -} - -// SetItemName sets the ItemName field's value. -func (s *DeleteAttributesInput) SetItemName(v string) *DeleteAttributesInput { - s.ItemName = &v - return s -} - type DeleteAttributesOutput struct { _ struct{} `type:"structure"` @@ -1263,12 +1161,6 @@ func (s *DeleteDomainInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DeleteDomainInput) SetDomainName(v string) *DeleteDomainInput { - s.DomainName = &v - return s -} - type DeleteDomainOutput struct { _ struct{} `type:"structure"` @@ -1323,12 +1215,6 @@ func (s *DomainMetadataInput) Validate() error { return nil } -// SetDomainName sets the DomainName field's value. -func (s *DomainMetadataInput) SetDomainName(v string) *DomainMetadataInput { - s.DomainName = &v - return s -} - type DomainMetadataOutput struct { _ struct{} `type:"structure"` @@ -1371,48 +1257,6 @@ func (s DomainMetadataOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributeNameCount sets the AttributeNameCount field's value. -func (s *DomainMetadataOutput) SetAttributeNameCount(v int64) *DomainMetadataOutput { - s.AttributeNameCount = &v - return s -} - -// SetAttributeNamesSizeBytes sets the AttributeNamesSizeBytes field's value. -func (s *DomainMetadataOutput) SetAttributeNamesSizeBytes(v int64) *DomainMetadataOutput { - s.AttributeNamesSizeBytes = &v - return s -} - -// SetAttributeValueCount sets the AttributeValueCount field's value. -func (s *DomainMetadataOutput) SetAttributeValueCount(v int64) *DomainMetadataOutput { - s.AttributeValueCount = &v - return s -} - -// SetAttributeValuesSizeBytes sets the AttributeValuesSizeBytes field's value. -func (s *DomainMetadataOutput) SetAttributeValuesSizeBytes(v int64) *DomainMetadataOutput { - s.AttributeValuesSizeBytes = &v - return s -} - -// SetItemCount sets the ItemCount field's value. -func (s *DomainMetadataOutput) SetItemCount(v int64) *DomainMetadataOutput { - s.ItemCount = &v - return s -} - -// SetItemNamesSizeBytes sets the ItemNamesSizeBytes field's value. -func (s *DomainMetadataOutput) SetItemNamesSizeBytes(v int64) *DomainMetadataOutput { - s.ItemNamesSizeBytes = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *DomainMetadataOutput) SetTimestamp(v int64) *DomainMetadataOutput { - s.Timestamp = &v - return s -} - type GetAttributesInput struct { _ struct{} `type:"structure"` @@ -1462,30 +1306,6 @@ func (s *GetAttributesInput) Validate() error { return nil } -// SetAttributeNames sets the AttributeNames field's value. -func (s *GetAttributesInput) SetAttributeNames(v []string) *GetAttributesInput { - s.AttributeNames = v - return s -} - -// SetConsistentRead sets the ConsistentRead field's value. -func (s *GetAttributesInput) SetConsistentRead(v bool) *GetAttributesInput { - s.ConsistentRead = &v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *GetAttributesInput) SetDomainName(v string) *GetAttributesInput { - s.DomainName = &v - return s -} - -// SetItemName sets the ItemName field's value. -func (s *GetAttributesInput) SetItemName(v string) *GetAttributesInput { - s.ItemName = &v - return s -} - type GetAttributesOutput struct { _ struct{} `type:"structure"` @@ -1510,12 +1330,6 @@ func (s GetAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *GetAttributesOutput) SetAttributes(v []Attribute) *GetAttributesOutput { - s.Attributes = v - return s -} - type Item struct { _ struct{} `type:"structure"` @@ -1542,24 +1356,6 @@ func (s Item) GoString() string { return s.String() } -// SetAlternateNameEncoding sets the AlternateNameEncoding field's value. -func (s *Item) SetAlternateNameEncoding(v string) *Item { - s.AlternateNameEncoding = &v - return s -} - -// SetAttributes sets the Attributes field's value. -func (s *Item) SetAttributes(v []Attribute) *Item { - s.Attributes = v - return s -} - -// SetName sets the Name field's value. -func (s *Item) SetName(v string) *Item { - s.Name = &v - return s -} - type ListDomainsInput struct { _ struct{} `type:"structure"` @@ -1582,18 +1378,6 @@ func (s ListDomainsInput) GoString() string { return s.String() } -// SetMaxNumberOfDomains sets the MaxNumberOfDomains field's value. -func (s *ListDomainsInput) SetMaxNumberOfDomains(v int64) *ListDomainsInput { - s.MaxNumberOfDomains = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDomainsInput) SetNextToken(v string) *ListDomainsInput { - s.NextToken = &v - return s -} - type ListDomainsOutput struct { _ struct{} `type:"structure"` @@ -1622,18 +1406,6 @@ func (s ListDomainsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDomainNames sets the DomainNames field's value. -func (s *ListDomainsOutput) SetDomainNames(v []string) *ListDomainsOutput { - s.DomainNames = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDomainsOutput) SetNextToken(v string) *ListDomainsOutput { - s.NextToken = &v - return s -} - type PutAttributesInput struct { _ struct{} `type:"structure"` @@ -1697,30 +1469,6 @@ func (s *PutAttributesInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *PutAttributesInput) SetAttributes(v []ReplaceableAttribute) *PutAttributesInput { - s.Attributes = v - return s -} - -// SetDomainName sets the DomainName field's value. -func (s *PutAttributesInput) SetDomainName(v string) *PutAttributesInput { - s.DomainName = &v - return s -} - -// SetExpected sets the Expected field's value. -func (s *PutAttributesInput) SetExpected(v *UpdateCondition) *PutAttributesInput { - s.Expected = v - return s -} - -// SetItemName sets the ItemName field's value. -func (s *PutAttributesInput) SetItemName(v string) *PutAttributesInput { - s.ItemName = &v - return s -} - type PutAttributesOutput struct { _ struct{} `type:"structure"` @@ -1788,24 +1536,6 @@ func (s *ReplaceableAttribute) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *ReplaceableAttribute) SetName(v string) *ReplaceableAttribute { - s.Name = &v - return s -} - -// SetReplace sets the Replace field's value. -func (s *ReplaceableAttribute) SetReplace(v bool) *ReplaceableAttribute { - s.Replace = &v - return s -} - -// SetValue sets the Value field's value. -func (s *ReplaceableAttribute) SetValue(v string) *ReplaceableAttribute { - s.Value = &v - return s -} - type ReplaceableItem struct { _ struct{} `type:"structure"` @@ -1855,18 +1585,6 @@ func (s *ReplaceableItem) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *ReplaceableItem) SetAttributes(v []ReplaceableAttribute) *ReplaceableItem { - s.Attributes = v - return s -} - -// SetName sets the Name field's value. -func (s *ReplaceableItem) SetName(v string) *ReplaceableItem { - s.Name = &v - return s -} - type SelectInput struct { _ struct{} `type:"structure"` @@ -1907,24 +1625,6 @@ func (s *SelectInput) Validate() error { return nil } -// SetConsistentRead sets the ConsistentRead field's value. -func (s *SelectInput) SetConsistentRead(v bool) *SelectInput { - s.ConsistentRead = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *SelectInput) SetNextToken(v string) *SelectInput { - s.NextToken = &v - return s -} - -// SetSelectExpression sets the SelectExpression field's value. -func (s *SelectInput) SetSelectExpression(v string) *SelectInput { - s.SelectExpression = &v - return s -} - type SelectOutput struct { _ struct{} `type:"structure"` @@ -1952,18 +1652,6 @@ func (s SelectOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetItems sets the Items field's value. -func (s *SelectOutput) SetItems(v []Item) *SelectOutput { - s.Items = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *SelectOutput) SetNextToken(v string) *SelectOutput { - s.NextToken = &v - return s -} - // Specifies the conditions under which data should be updated. If an update // condition is specified for a request, the data will only be updated if the // condition is satisfied. For example, if an attribute with a specific name @@ -1995,21 +1683,3 @@ func (s UpdateCondition) String() string { func (s UpdateCondition) GoString() string { return s.String() } - -// SetExists sets the Exists field's value. -func (s *UpdateCondition) SetExists(v bool) *UpdateCondition { - s.Exists = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateCondition) SetName(v string) *UpdateCondition { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *UpdateCondition) SetValue(v string) *UpdateCondition { - s.Value = &v - return s -} diff --git a/service/sms/api.go b/service/sms/api.go index e8b66450f5b..eee2cb0e40d 100644 --- a/service/sms/api.go +++ b/service/sms/api.go @@ -842,66 +842,6 @@ func (s Connector) GoString() string { return s.String() } -// SetAssociatedOn sets the AssociatedOn field's value. -func (s *Connector) SetAssociatedOn(v time.Time) *Connector { - s.AssociatedOn = &v - return s -} - -// SetCapabilityList sets the CapabilityList field's value. -func (s *Connector) SetCapabilityList(v []ConnectorCapability) *Connector { - s.CapabilityList = v - return s -} - -// SetConnectorId sets the ConnectorId field's value. -func (s *Connector) SetConnectorId(v string) *Connector { - s.ConnectorId = &v - return s -} - -// SetIpAddress sets the IpAddress field's value. -func (s *Connector) SetIpAddress(v string) *Connector { - s.IpAddress = &v - return s -} - -// SetMacAddress sets the MacAddress field's value. -func (s *Connector) SetMacAddress(v string) *Connector { - s.MacAddress = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Connector) SetStatus(v ConnectorStatus) *Connector { - s.Status = v - return s -} - -// SetVersion sets the Version field's value. -func (s *Connector) SetVersion(v string) *Connector { - s.Version = &v - return s -} - -// SetVmManagerId sets the VmManagerId field's value. -func (s *Connector) SetVmManagerId(v string) *Connector { - s.VmManagerId = &v - return s -} - -// SetVmManagerName sets the VmManagerName field's value. -func (s *Connector) SetVmManagerName(v string) *Connector { - s.VmManagerName = &v - return s -} - -// SetVmManagerType sets the VmManagerType field's value. -func (s *Connector) SetVmManagerType(v VmManagerType) *Connector { - s.VmManagerType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/CreateReplicationJobRequest type CreateReplicationJobInput struct { _ struct{} `type:"structure"` @@ -965,42 +905,6 @@ func (s *CreateReplicationJobInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateReplicationJobInput) SetDescription(v string) *CreateReplicationJobInput { - s.Description = &v - return s -} - -// SetFrequency sets the Frequency field's value. -func (s *CreateReplicationJobInput) SetFrequency(v int64) *CreateReplicationJobInput { - s.Frequency = &v - return s -} - -// SetLicenseType sets the LicenseType field's value. -func (s *CreateReplicationJobInput) SetLicenseType(v LicenseType) *CreateReplicationJobInput { - s.LicenseType = v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *CreateReplicationJobInput) SetRoleName(v string) *CreateReplicationJobInput { - s.RoleName = &v - return s -} - -// SetSeedReplicationTime sets the SeedReplicationTime field's value. -func (s *CreateReplicationJobInput) SetSeedReplicationTime(v time.Time) *CreateReplicationJobInput { - s.SeedReplicationTime = &v - return s -} - -// SetServerId sets the ServerId field's value. -func (s *CreateReplicationJobInput) SetServerId(v string) *CreateReplicationJobInput { - s.ServerId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/CreateReplicationJobResponse type CreateReplicationJobOutput struct { _ struct{} `type:"structure"` @@ -1026,12 +930,6 @@ func (s CreateReplicationJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReplicationJobId sets the ReplicationJobId field's value. -func (s *CreateReplicationJobOutput) SetReplicationJobId(v string) *CreateReplicationJobOutput { - s.ReplicationJobId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteReplicationJobRequest type DeleteReplicationJobInput struct { _ struct{} `type:"structure"` @@ -1066,12 +964,6 @@ func (s *DeleteReplicationJobInput) Validate() error { return nil } -// SetReplicationJobId sets the ReplicationJobId field's value. -func (s *DeleteReplicationJobInput) SetReplicationJobId(v string) *DeleteReplicationJobInput { - s.ReplicationJobId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteReplicationJobResponse type DeleteReplicationJobOutput struct { _ struct{} `type:"structure"` @@ -1165,12 +1057,6 @@ func (s *DisassociateConnectorInput) Validate() error { return nil } -// SetConnectorId sets the ConnectorId field's value. -func (s *DisassociateConnectorInput) SetConnectorId(v string) *DisassociateConnectorInput { - s.ConnectorId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DisassociateConnectorResponse type DisassociateConnectorOutput struct { _ struct{} `type:"structure"` @@ -1215,18 +1101,6 @@ func (s GetConnectorsInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *GetConnectorsInput) SetMaxResults(v int64) *GetConnectorsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetConnectorsInput) SetNextToken(v string) *GetConnectorsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetConnectorsResponse type GetConnectorsOutput struct { _ struct{} `type:"structure"` @@ -1255,18 +1129,6 @@ func (s GetConnectorsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConnectorList sets the ConnectorList field's value. -func (s *GetConnectorsOutput) SetConnectorList(v []Connector) *GetConnectorsOutput { - s.ConnectorList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetConnectorsOutput) SetNextToken(v string) *GetConnectorsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationJobsRequest type GetReplicationJobsInput struct { _ struct{} `type:"structure"` @@ -1292,24 +1154,6 @@ func (s GetReplicationJobsInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *GetReplicationJobsInput) SetMaxResults(v int64) *GetReplicationJobsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetReplicationJobsInput) SetNextToken(v string) *GetReplicationJobsInput { - s.NextToken = &v - return s -} - -// SetReplicationJobId sets the ReplicationJobId field's value. -func (s *GetReplicationJobsInput) SetReplicationJobId(v string) *GetReplicationJobsInput { - s.ReplicationJobId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationJobsResponse type GetReplicationJobsOutput struct { _ struct{} `type:"structure"` @@ -1338,18 +1182,6 @@ func (s GetReplicationJobsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *GetReplicationJobsOutput) SetNextToken(v string) *GetReplicationJobsOutput { - s.NextToken = &v - return s -} - -// SetReplicationJobList sets the ReplicationJobList field's value. -func (s *GetReplicationJobsOutput) SetReplicationJobList(v []ReplicationJob) *GetReplicationJobsOutput { - s.ReplicationJobList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationRunsRequest type GetReplicationRunsInput struct { _ struct{} `type:"structure"` @@ -1391,24 +1223,6 @@ func (s *GetReplicationRunsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *GetReplicationRunsInput) SetMaxResults(v int64) *GetReplicationRunsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetReplicationRunsInput) SetNextToken(v string) *GetReplicationRunsInput { - s.NextToken = &v - return s -} - -// SetReplicationJobId sets the ReplicationJobId field's value. -func (s *GetReplicationRunsInput) SetReplicationJobId(v string) *GetReplicationRunsInput { - s.ReplicationJobId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationRunsResponse type GetReplicationRunsOutput struct { _ struct{} `type:"structure"` @@ -1440,24 +1254,6 @@ func (s GetReplicationRunsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *GetReplicationRunsOutput) SetNextToken(v string) *GetReplicationRunsOutput { - s.NextToken = &v - return s -} - -// SetReplicationJob sets the ReplicationJob field's value. -func (s *GetReplicationRunsOutput) SetReplicationJob(v *ReplicationJob) *GetReplicationRunsOutput { - s.ReplicationJob = v - return s -} - -// SetReplicationRunList sets the ReplicationRunList field's value. -func (s *GetReplicationRunsOutput) SetReplicationRunList(v []ReplicationRun) *GetReplicationRunsOutput { - s.ReplicationRunList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetServersRequest type GetServersInput struct { _ struct{} `type:"structure"` @@ -1480,18 +1276,6 @@ func (s GetServersInput) GoString() string { return s.String() } -// SetMaxResults sets the MaxResults field's value. -func (s *GetServersInput) SetMaxResults(v int64) *GetServersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetServersInput) SetNextToken(v string) *GetServersInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetServersResponse type GetServersOutput struct { _ struct{} `type:"structure"` @@ -1526,30 +1310,6 @@ func (s GetServersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetLastModifiedOn sets the LastModifiedOn field's value. -func (s *GetServersOutput) SetLastModifiedOn(v time.Time) *GetServersOutput { - s.LastModifiedOn = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetServersOutput) SetNextToken(v string) *GetServersOutput { - s.NextToken = &v - return s -} - -// SetServerCatalogStatus sets the ServerCatalogStatus field's value. -func (s *GetServersOutput) SetServerCatalogStatus(v ServerCatalogStatus) *GetServersOutput { - s.ServerCatalogStatus = v - return s -} - -// SetServerList sets the ServerList field's value. -func (s *GetServersOutput) SetServerList(v []Server) *GetServersOutput { - s.ServerList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ImportServerCatalogRequest type ImportServerCatalogInput struct { _ struct{} `type:"structure"` @@ -1647,90 +1407,6 @@ func (s ReplicationJob) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *ReplicationJob) SetDescription(v string) *ReplicationJob { - s.Description = &v - return s -} - -// SetFrequency sets the Frequency field's value. -func (s *ReplicationJob) SetFrequency(v int64) *ReplicationJob { - s.Frequency = &v - return s -} - -// SetLatestAmiId sets the LatestAmiId field's value. -func (s *ReplicationJob) SetLatestAmiId(v string) *ReplicationJob { - s.LatestAmiId = &v - return s -} - -// SetLicenseType sets the LicenseType field's value. -func (s *ReplicationJob) SetLicenseType(v LicenseType) *ReplicationJob { - s.LicenseType = v - return s -} - -// SetNextReplicationRunStartTime sets the NextReplicationRunStartTime field's value. -func (s *ReplicationJob) SetNextReplicationRunStartTime(v time.Time) *ReplicationJob { - s.NextReplicationRunStartTime = &v - return s -} - -// SetReplicationJobId sets the ReplicationJobId field's value. -func (s *ReplicationJob) SetReplicationJobId(v string) *ReplicationJob { - s.ReplicationJobId = &v - return s -} - -// SetReplicationRunList sets the ReplicationRunList field's value. -func (s *ReplicationJob) SetReplicationRunList(v []ReplicationRun) *ReplicationJob { - s.ReplicationRunList = v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *ReplicationJob) SetRoleName(v string) *ReplicationJob { - s.RoleName = &v - return s -} - -// SetSeedReplicationTime sets the SeedReplicationTime field's value. -func (s *ReplicationJob) SetSeedReplicationTime(v time.Time) *ReplicationJob { - s.SeedReplicationTime = &v - return s -} - -// SetServerId sets the ServerId field's value. -func (s *ReplicationJob) SetServerId(v string) *ReplicationJob { - s.ServerId = &v - return s -} - -// SetServerType sets the ServerType field's value. -func (s *ReplicationJob) SetServerType(v ServerType) *ReplicationJob { - s.ServerType = v - return s -} - -// SetState sets the State field's value. -func (s *ReplicationJob) SetState(v ReplicationJobState) *ReplicationJob { - s.State = v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *ReplicationJob) SetStatusMessage(v string) *ReplicationJob { - s.StatusMessage = &v - return s -} - -// SetVmServer sets the VmServer field's value. -func (s *ReplicationJob) SetVmServer(v *VmServer) *ReplicationJob { - s.VmServer = v - return s -} - // Object representing a Replication Run // Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ReplicationRun type ReplicationRun struct { @@ -1771,54 +1447,6 @@ func (s ReplicationRun) GoString() string { return s.String() } -// SetAmiId sets the AmiId field's value. -func (s *ReplicationRun) SetAmiId(v string) *ReplicationRun { - s.AmiId = &v - return s -} - -// SetCompletedTime sets the CompletedTime field's value. -func (s *ReplicationRun) SetCompletedTime(v time.Time) *ReplicationRun { - s.CompletedTime = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ReplicationRun) SetDescription(v string) *ReplicationRun { - s.Description = &v - return s -} - -// SetReplicationRunId sets the ReplicationRunId field's value. -func (s *ReplicationRun) SetReplicationRunId(v string) *ReplicationRun { - s.ReplicationRunId = &v - return s -} - -// SetScheduledStartTime sets the ScheduledStartTime field's value. -func (s *ReplicationRun) SetScheduledStartTime(v time.Time) *ReplicationRun { - s.ScheduledStartTime = &v - return s -} - -// SetState sets the State field's value. -func (s *ReplicationRun) SetState(v ReplicationRunState) *ReplicationRun { - s.State = v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *ReplicationRun) SetStatusMessage(v string) *ReplicationRun { - s.StatusMessage = &v - return s -} - -// SetType sets the Type field's value. -func (s *ReplicationRun) SetType(v ReplicationRunType) *ReplicationRun { - s.Type = v - return s -} - // Object representing a server // Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/Server type Server struct { @@ -1850,36 +1478,6 @@ func (s Server) GoString() string { return s.String() } -// SetReplicationJobId sets the ReplicationJobId field's value. -func (s *Server) SetReplicationJobId(v string) *Server { - s.ReplicationJobId = &v - return s -} - -// SetReplicationJobTerminated sets the ReplicationJobTerminated field's value. -func (s *Server) SetReplicationJobTerminated(v bool) *Server { - s.ReplicationJobTerminated = &v - return s -} - -// SetServerId sets the ServerId field's value. -func (s *Server) SetServerId(v string) *Server { - s.ServerId = &v - return s -} - -// SetServerType sets the ServerType field's value. -func (s *Server) SetServerType(v ServerType) *Server { - s.ServerType = v - return s -} - -// SetVmServer sets the VmServer field's value. -func (s *Server) SetVmServer(v *VmServer) *Server { - s.VmServer = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartOnDemandReplicationRunRequest type StartOnDemandReplicationRunInput struct { _ struct{} `type:"structure"` @@ -1917,18 +1515,6 @@ func (s *StartOnDemandReplicationRunInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *StartOnDemandReplicationRunInput) SetDescription(v string) *StartOnDemandReplicationRunInput { - s.Description = &v - return s -} - -// SetReplicationJobId sets the ReplicationJobId field's value. -func (s *StartOnDemandReplicationRunInput) SetReplicationJobId(v string) *StartOnDemandReplicationRunInput { - s.ReplicationJobId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartOnDemandReplicationRunResponse type StartOnDemandReplicationRunOutput struct { _ struct{} `type:"structure"` @@ -1954,12 +1540,6 @@ func (s StartOnDemandReplicationRunOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetReplicationRunId sets the ReplicationRunId field's value. -func (s *StartOnDemandReplicationRunOutput) SetReplicationRunId(v string) *StartOnDemandReplicationRunOutput { - s.ReplicationRunId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UpdateReplicationJobRequest type UpdateReplicationJobInput struct { _ struct{} `type:"structure"` @@ -2011,42 +1591,6 @@ func (s *UpdateReplicationJobInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *UpdateReplicationJobInput) SetDescription(v string) *UpdateReplicationJobInput { - s.Description = &v - return s -} - -// SetFrequency sets the Frequency field's value. -func (s *UpdateReplicationJobInput) SetFrequency(v int64) *UpdateReplicationJobInput { - s.Frequency = &v - return s -} - -// SetLicenseType sets the LicenseType field's value. -func (s *UpdateReplicationJobInput) SetLicenseType(v LicenseType) *UpdateReplicationJobInput { - s.LicenseType = v - return s -} - -// SetNextReplicationRunStartTime sets the NextReplicationRunStartTime field's value. -func (s *UpdateReplicationJobInput) SetNextReplicationRunStartTime(v time.Time) *UpdateReplicationJobInput { - s.NextReplicationRunStartTime = &v - return s -} - -// SetReplicationJobId sets the ReplicationJobId field's value. -func (s *UpdateReplicationJobInput) SetReplicationJobId(v string) *UpdateReplicationJobInput { - s.ReplicationJobId = &v - return s -} - -// SetRoleName sets the RoleName field's value. -func (s *UpdateReplicationJobInput) SetRoleName(v string) *UpdateReplicationJobInput { - s.RoleName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UpdateReplicationJobResponse type UpdateReplicationJobOutput struct { _ struct{} `type:"structure"` @@ -2100,36 +1644,6 @@ func (s VmServer) GoString() string { return s.String() } -// SetVmManagerName sets the VmManagerName field's value. -func (s *VmServer) SetVmManagerName(v string) *VmServer { - s.VmManagerName = &v - return s -} - -// SetVmManagerType sets the VmManagerType field's value. -func (s *VmServer) SetVmManagerType(v VmManagerType) *VmServer { - s.VmManagerType = v - return s -} - -// SetVmName sets the VmName field's value. -func (s *VmServer) SetVmName(v string) *VmServer { - s.VmName = &v - return s -} - -// SetVmPath sets the VmPath field's value. -func (s *VmServer) SetVmPath(v string) *VmServer { - s.VmPath = &v - return s -} - -// SetVmServerAddress sets the VmServerAddress field's value. -func (s *VmServer) SetVmServerAddress(v *VmServerAddress) *VmServer { - s.VmServerAddress = v - return s -} - // Object representing a server's location // Please also see https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/VmServerAddress type VmServerAddress struct { @@ -2152,18 +1666,6 @@ func (s VmServerAddress) GoString() string { return s.String() } -// SetVmId sets the VmId field's value. -func (s *VmServerAddress) SetVmId(v string) *VmServerAddress { - s.VmId = &v - return s -} - -// SetVmManagerId sets the VmManagerId field's value. -func (s *VmServerAddress) SetVmManagerId(v string) *VmServerAddress { - s.VmManagerId = &v - return s -} - // Capabilities for a Connector type ConnectorCapability string diff --git a/service/snowball/api.go b/service/snowball/api.go index a2f35158a35..2b09af6eb24 100644 --- a/service/snowball/api.go +++ b/service/snowball/api.go @@ -1133,90 +1133,6 @@ func (s *Address) Validate() error { return nil } -// SetAddressId sets the AddressId field's value. -func (s *Address) SetAddressId(v string) *Address { - s.AddressId = &v - return s -} - -// SetCity sets the City field's value. -func (s *Address) SetCity(v string) *Address { - s.City = &v - return s -} - -// SetCompany sets the Company field's value. -func (s *Address) SetCompany(v string) *Address { - s.Company = &v - return s -} - -// SetCountry sets the Country field's value. -func (s *Address) SetCountry(v string) *Address { - s.Country = &v - return s -} - -// SetIsRestricted sets the IsRestricted field's value. -func (s *Address) SetIsRestricted(v bool) *Address { - s.IsRestricted = &v - return s -} - -// SetLandmark sets the Landmark field's value. -func (s *Address) SetLandmark(v string) *Address { - s.Landmark = &v - return s -} - -// SetName sets the Name field's value. -func (s *Address) SetName(v string) *Address { - s.Name = &v - return s -} - -// SetPhoneNumber sets the PhoneNumber field's value. -func (s *Address) SetPhoneNumber(v string) *Address { - s.PhoneNumber = &v - return s -} - -// SetPostalCode sets the PostalCode field's value. -func (s *Address) SetPostalCode(v string) *Address { - s.PostalCode = &v - return s -} - -// SetPrefectureOrDistrict sets the PrefectureOrDistrict field's value. -func (s *Address) SetPrefectureOrDistrict(v string) *Address { - s.PrefectureOrDistrict = &v - return s -} - -// SetStateOrProvince sets the StateOrProvince field's value. -func (s *Address) SetStateOrProvince(v string) *Address { - s.StateOrProvince = &v - return s -} - -// SetStreet1 sets the Street1 field's value. -func (s *Address) SetStreet1(v string) *Address { - s.Street1 = &v - return s -} - -// SetStreet2 sets the Street2 field's value. -func (s *Address) SetStreet2(v string) *Address { - s.Street2 = &v - return s -} - -// SetStreet3 sets the Street3 field's value. -func (s *Address) SetStreet3(v string) *Address { - s.Street3 = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CancelClusterRequest type CancelClusterInput struct { _ struct{} `type:"structure"` @@ -1255,12 +1171,6 @@ func (s *CancelClusterInput) Validate() error { return nil } -// SetClusterId sets the ClusterId field's value. -func (s *CancelClusterInput) SetClusterId(v string) *CancelClusterInput { - s.ClusterId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CancelClusterResult type CancelClusterOutput struct { _ struct{} `type:"structure"` @@ -1321,12 +1231,6 @@ func (s *CancelJobInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *CancelJobInput) SetJobId(v string) *CancelJobInput { - s.JobId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CancelJobResult type CancelJobOutput struct { _ struct{} `type:"structure"` @@ -1379,30 +1283,6 @@ func (s ClusterListEntry) GoString() string { return s.String() } -// SetClusterId sets the ClusterId field's value. -func (s *ClusterListEntry) SetClusterId(v string) *ClusterListEntry { - s.ClusterId = &v - return s -} - -// SetClusterState sets the ClusterState field's value. -func (s *ClusterListEntry) SetClusterState(v ClusterState) *ClusterListEntry { - s.ClusterState = v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *ClusterListEntry) SetCreationDate(v time.Time) *ClusterListEntry { - s.CreationDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ClusterListEntry) SetDescription(v string) *ClusterListEntry { - s.Description = &v - return s -} - // Contains metadata about a specific cluster. // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ClusterMetadata type ClusterMetadata struct { @@ -1482,84 +1362,6 @@ func (s ClusterMetadata) GoString() string { return s.String() } -// SetAddressId sets the AddressId field's value. -func (s *ClusterMetadata) SetAddressId(v string) *ClusterMetadata { - s.AddressId = &v - return s -} - -// SetClusterId sets the ClusterId field's value. -func (s *ClusterMetadata) SetClusterId(v string) *ClusterMetadata { - s.ClusterId = &v - return s -} - -// SetClusterState sets the ClusterState field's value. -func (s *ClusterMetadata) SetClusterState(v ClusterState) *ClusterMetadata { - s.ClusterState = v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *ClusterMetadata) SetCreationDate(v time.Time) *ClusterMetadata { - s.CreationDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ClusterMetadata) SetDescription(v string) *ClusterMetadata { - s.Description = &v - return s -} - -// SetForwardingAddressId sets the ForwardingAddressId field's value. -func (s *ClusterMetadata) SetForwardingAddressId(v string) *ClusterMetadata { - s.ForwardingAddressId = &v - return s -} - -// SetJobType sets the JobType field's value. -func (s *ClusterMetadata) SetJobType(v JobType) *ClusterMetadata { - s.JobType = v - return s -} - -// SetKmsKeyARN sets the KmsKeyARN field's value. -func (s *ClusterMetadata) SetKmsKeyARN(v string) *ClusterMetadata { - s.KmsKeyARN = &v - return s -} - -// SetNotification sets the Notification field's value. -func (s *ClusterMetadata) SetNotification(v *Notification) *ClusterMetadata { - s.Notification = v - return s -} - -// SetResources sets the Resources field's value. -func (s *ClusterMetadata) SetResources(v *JobResource) *ClusterMetadata { - s.Resources = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *ClusterMetadata) SetRoleARN(v string) *ClusterMetadata { - s.RoleARN = &v - return s -} - -// SetShippingOption sets the ShippingOption field's value. -func (s *ClusterMetadata) SetShippingOption(v ShippingOption) *ClusterMetadata { - s.ShippingOption = v - return s -} - -// SetSnowballType sets the SnowballType field's value. -func (s *ClusterMetadata) SetSnowballType(v Type) *ClusterMetadata { - s.SnowballType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateAddressRequest type CreateAddressInput struct { _ struct{} `type:"structure"` @@ -1599,12 +1401,6 @@ func (s *CreateAddressInput) Validate() error { return nil } -// SetAddress sets the Address field's value. -func (s *CreateAddressInput) SetAddress(v *Address) *CreateAddressInput { - s.Address = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateAddressResult type CreateAddressOutput struct { _ struct{} `type:"structure"` @@ -1632,12 +1428,6 @@ func (s CreateAddressOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAddressId sets the AddressId field's value. -func (s *CreateAddressOutput) SetAddressId(v string) *CreateAddressOutput { - s.AddressId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateClusterRequest type CreateClusterInput struct { _ struct{} `type:"structure"` @@ -1760,66 +1550,6 @@ func (s *CreateClusterInput) Validate() error { return nil } -// SetAddressId sets the AddressId field's value. -func (s *CreateClusterInput) SetAddressId(v string) *CreateClusterInput { - s.AddressId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateClusterInput) SetDescription(v string) *CreateClusterInput { - s.Description = &v - return s -} - -// SetForwardingAddressId sets the ForwardingAddressId field's value. -func (s *CreateClusterInput) SetForwardingAddressId(v string) *CreateClusterInput { - s.ForwardingAddressId = &v - return s -} - -// SetJobType sets the JobType field's value. -func (s *CreateClusterInput) SetJobType(v JobType) *CreateClusterInput { - s.JobType = v - return s -} - -// SetKmsKeyARN sets the KmsKeyARN field's value. -func (s *CreateClusterInput) SetKmsKeyARN(v string) *CreateClusterInput { - s.KmsKeyARN = &v - return s -} - -// SetNotification sets the Notification field's value. -func (s *CreateClusterInput) SetNotification(v *Notification) *CreateClusterInput { - s.Notification = v - return s -} - -// SetResources sets the Resources field's value. -func (s *CreateClusterInput) SetResources(v *JobResource) *CreateClusterInput { - s.Resources = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *CreateClusterInput) SetRoleARN(v string) *CreateClusterInput { - s.RoleARN = &v - return s -} - -// SetShippingOption sets the ShippingOption field's value. -func (s *CreateClusterInput) SetShippingOption(v ShippingOption) *CreateClusterInput { - s.ShippingOption = v - return s -} - -// SetSnowballType sets the SnowballType field's value. -func (s *CreateClusterInput) SetSnowballType(v Type) *CreateClusterInput { - s.SnowballType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateClusterResult type CreateClusterOutput struct { _ struct{} `type:"structure"` @@ -1845,12 +1575,6 @@ func (s CreateClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClusterId sets the ClusterId field's value. -func (s *CreateClusterOutput) SetClusterId(v string) *CreateClusterOutput { - s.ClusterId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateJobRequest type CreateJobInput struct { _ struct{} `type:"structure"` @@ -1964,78 +1688,6 @@ func (s *CreateJobInput) Validate() error { return nil } -// SetAddressId sets the AddressId field's value. -func (s *CreateJobInput) SetAddressId(v string) *CreateJobInput { - s.AddressId = &v - return s -} - -// SetClusterId sets the ClusterId field's value. -func (s *CreateJobInput) SetClusterId(v string) *CreateJobInput { - s.ClusterId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateJobInput) SetDescription(v string) *CreateJobInput { - s.Description = &v - return s -} - -// SetForwardingAddressId sets the ForwardingAddressId field's value. -func (s *CreateJobInput) SetForwardingAddressId(v string) *CreateJobInput { - s.ForwardingAddressId = &v - return s -} - -// SetJobType sets the JobType field's value. -func (s *CreateJobInput) SetJobType(v JobType) *CreateJobInput { - s.JobType = v - return s -} - -// SetKmsKeyARN sets the KmsKeyARN field's value. -func (s *CreateJobInput) SetKmsKeyARN(v string) *CreateJobInput { - s.KmsKeyARN = &v - return s -} - -// SetNotification sets the Notification field's value. -func (s *CreateJobInput) SetNotification(v *Notification) *CreateJobInput { - s.Notification = v - return s -} - -// SetResources sets the Resources field's value. -func (s *CreateJobInput) SetResources(v *JobResource) *CreateJobInput { - s.Resources = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *CreateJobInput) SetRoleARN(v string) *CreateJobInput { - s.RoleARN = &v - return s -} - -// SetShippingOption sets the ShippingOption field's value. -func (s *CreateJobInput) SetShippingOption(v ShippingOption) *CreateJobInput { - s.ShippingOption = v - return s -} - -// SetSnowballCapacityPreference sets the SnowballCapacityPreference field's value. -func (s *CreateJobInput) SetSnowballCapacityPreference(v Capacity) *CreateJobInput { - s.SnowballCapacityPreference = v - return s -} - -// SetSnowballType sets the SnowballType field's value. -func (s *CreateJobInput) SetSnowballType(v Type) *CreateJobInput { - s.SnowballType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateJobResult type CreateJobOutput struct { _ struct{} `type:"structure"` @@ -2061,12 +1713,6 @@ func (s CreateJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobId sets the JobId field's value. -func (s *CreateJobOutput) SetJobId(v string) *CreateJobOutput { - s.JobId = &v - return s -} - // Defines the real-time status of a Snowball's data transfer while the appliance // is at AWS. This data is only available while a job has a JobState value of // InProgress, for both import and export jobs. @@ -2101,30 +1747,6 @@ func (s DataTransfer) GoString() string { return s.String() } -// SetBytesTransferred sets the BytesTransferred field's value. -func (s *DataTransfer) SetBytesTransferred(v int64) *DataTransfer { - s.BytesTransferred = &v - return s -} - -// SetObjectsTransferred sets the ObjectsTransferred field's value. -func (s *DataTransfer) SetObjectsTransferred(v int64) *DataTransfer { - s.ObjectsTransferred = &v - return s -} - -// SetTotalBytes sets the TotalBytes field's value. -func (s *DataTransfer) SetTotalBytes(v int64) *DataTransfer { - s.TotalBytes = &v - return s -} - -// SetTotalObjects sets the TotalObjects field's value. -func (s *DataTransfer) SetTotalObjects(v int64) *DataTransfer { - s.TotalObjects = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeAddressRequest type DescribeAddressInput struct { _ struct{} `type:"structure"` @@ -2162,12 +1784,6 @@ func (s *DescribeAddressInput) Validate() error { return nil } -// SetAddressId sets the AddressId field's value. -func (s *DescribeAddressInput) SetAddressId(v string) *DescribeAddressInput { - s.AddressId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeAddressResult type DescribeAddressOutput struct { _ struct{} `type:"structure"` @@ -2194,12 +1810,6 @@ func (s DescribeAddressOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAddress sets the Address field's value. -func (s *DescribeAddressOutput) SetAddress(v *Address) *DescribeAddressOutput { - s.Address = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeAddressesRequest type DescribeAddressesInput struct { _ struct{} `type:"structure"` @@ -2236,18 +1846,6 @@ func (s *DescribeAddressesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeAddressesInput) SetMaxResults(v int64) *DescribeAddressesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAddressesInput) SetNextToken(v string) *DescribeAddressesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeAddressesResult type DescribeAddressesOutput struct { _ struct{} `type:"structure"` @@ -2278,18 +1876,6 @@ func (s DescribeAddressesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAddresses sets the Addresses field's value. -func (s *DescribeAddressesOutput) SetAddresses(v []Address) *DescribeAddressesOutput { - s.Addresses = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAddressesOutput) SetNextToken(v string) *DescribeAddressesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeClusterRequest type DescribeClusterInput struct { _ struct{} `type:"structure"` @@ -2327,12 +1913,6 @@ func (s *DescribeClusterInput) Validate() error { return nil } -// SetClusterId sets the ClusterId field's value. -func (s *DescribeClusterInput) SetClusterId(v string) *DescribeClusterInput { - s.ClusterId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeClusterResult type DescribeClusterOutput struct { _ struct{} `type:"structure"` @@ -2359,12 +1939,6 @@ func (s DescribeClusterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClusterMetadata sets the ClusterMetadata field's value. -func (s *DescribeClusterOutput) SetClusterMetadata(v *ClusterMetadata) *DescribeClusterOutput { - s.ClusterMetadata = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeJobRequest type DescribeJobInput struct { _ struct{} `type:"structure"` @@ -2402,12 +1976,6 @@ func (s *DescribeJobInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *DescribeJobInput) SetJobId(v string) *DescribeJobInput { - s.JobId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeJobResult type DescribeJobOutput struct { _ struct{} `type:"structure"` @@ -2438,18 +2006,6 @@ func (s DescribeJobOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobMetadata sets the JobMetadata field's value. -func (s *DescribeJobOutput) SetJobMetadata(v *JobMetadata) *DescribeJobOutput { - s.JobMetadata = v - return s -} - -// SetSubJobMetadata sets the SubJobMetadata field's value. -func (s *DescribeJobOutput) SetSubJobMetadata(v []JobMetadata) *DescribeJobOutput { - s.SubJobMetadata = v - return s -} - // The container for the EventTriggerDefinition$EventResourceARN. // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/EventTriggerDefinition type EventTriggerDefinition struct { @@ -2470,12 +2026,6 @@ func (s EventTriggerDefinition) GoString() string { return s.String() } -// SetEventResourceARN sets the EventResourceARN field's value. -func (s *EventTriggerDefinition) SetEventResourceARN(v string) *EventTriggerDefinition { - s.EventResourceARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/GetJobManifestRequest type GetJobManifestInput struct { _ struct{} `type:"structure"` @@ -2514,12 +2064,6 @@ func (s *GetJobManifestInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *GetJobManifestInput) SetJobId(v string) *GetJobManifestInput { - s.JobId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/GetJobManifestResult type GetJobManifestOutput struct { _ struct{} `type:"structure"` @@ -2546,12 +2090,6 @@ func (s GetJobManifestOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetManifestURI sets the ManifestURI field's value. -func (s *GetJobManifestOutput) SetManifestURI(v string) *GetJobManifestOutput { - s.ManifestURI = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/GetJobUnlockCodeRequest type GetJobUnlockCodeInput struct { _ struct{} `type:"structure"` @@ -2590,12 +2128,6 @@ func (s *GetJobUnlockCodeInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *GetJobUnlockCodeInput) SetJobId(v string) *GetJobUnlockCodeInput { - s.JobId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/GetJobUnlockCodeResult type GetJobUnlockCodeOutput struct { _ struct{} `type:"structure"` @@ -2622,12 +2154,6 @@ func (s GetJobUnlockCodeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUnlockCode sets the UnlockCode field's value. -func (s *GetJobUnlockCodeOutput) SetUnlockCode(v string) *GetJobUnlockCodeOutput { - s.UnlockCode = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/GetSnowballUsageRequest type GetSnowballUsageInput struct { _ struct{} `type:"structure"` @@ -2672,18 +2198,6 @@ func (s GetSnowballUsageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSnowballLimit sets the SnowballLimit field's value. -func (s *GetSnowballUsageOutput) SetSnowballLimit(v int64) *GetSnowballUsageOutput { - s.SnowballLimit = &v - return s -} - -// SetSnowballsInUse sets the SnowballsInUse field's value. -func (s *GetSnowballUsageOutput) SetSnowballsInUse(v int64) *GetSnowballUsageOutput { - s.SnowballsInUse = &v - return s -} - // Each JobListEntry object contains a job's state, a job's ID, and a value // that indicates whether the job is a job part, in the case of an export job. // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/JobListEntry @@ -2728,48 +2242,6 @@ func (s JobListEntry) GoString() string { return s.String() } -// SetCreationDate sets the CreationDate field's value. -func (s *JobListEntry) SetCreationDate(v time.Time) *JobListEntry { - s.CreationDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *JobListEntry) SetDescription(v string) *JobListEntry { - s.Description = &v - return s -} - -// SetIsMaster sets the IsMaster field's value. -func (s *JobListEntry) SetIsMaster(v bool) *JobListEntry { - s.IsMaster = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *JobListEntry) SetJobId(v string) *JobListEntry { - s.JobId = &v - return s -} - -// SetJobState sets the JobState field's value. -func (s *JobListEntry) SetJobState(v JobState) *JobListEntry { - s.JobState = v - return s -} - -// SetJobType sets the JobType field's value. -func (s *JobListEntry) SetJobType(v JobType) *JobListEntry { - s.JobType = v - return s -} - -// SetSnowballType sets the SnowballType field's value. -func (s *JobListEntry) SetSnowballType(v Type) *JobListEntry { - s.SnowballType = v - return s -} - // Contains job logs. Whenever Snowball is used to import data into or export // data out of Amazon S3, you'll have the option of downloading a PDF job report. // Job logs are returned as a part of the response syntax of the DescribeJob @@ -2814,24 +2286,6 @@ func (s JobLogs) GoString() string { return s.String() } -// SetJobCompletionReportURI sets the JobCompletionReportURI field's value. -func (s *JobLogs) SetJobCompletionReportURI(v string) *JobLogs { - s.JobCompletionReportURI = &v - return s -} - -// SetJobFailureLogURI sets the JobFailureLogURI field's value. -func (s *JobLogs) SetJobFailureLogURI(v string) *JobLogs { - s.JobFailureLogURI = &v - return s -} - -// SetJobSuccessLogURI sets the JobSuccessLogURI field's value. -func (s *JobLogs) SetJobSuccessLogURI(v string) *JobLogs { - s.JobSuccessLogURI = &v - return s -} - // Contains information about a specific job including shipping information, // job status, and other important metadata. This information is returned as // a part of the response syntax of the DescribeJob action. @@ -2918,108 +2372,6 @@ func (s JobMetadata) GoString() string { return s.String() } -// SetAddressId sets the AddressId field's value. -func (s *JobMetadata) SetAddressId(v string) *JobMetadata { - s.AddressId = &v - return s -} - -// SetClusterId sets the ClusterId field's value. -func (s *JobMetadata) SetClusterId(v string) *JobMetadata { - s.ClusterId = &v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *JobMetadata) SetCreationDate(v time.Time) *JobMetadata { - s.CreationDate = &v - return s -} - -// SetDataTransferProgress sets the DataTransferProgress field's value. -func (s *JobMetadata) SetDataTransferProgress(v *DataTransfer) *JobMetadata { - s.DataTransferProgress = v - return s -} - -// SetDescription sets the Description field's value. -func (s *JobMetadata) SetDescription(v string) *JobMetadata { - s.Description = &v - return s -} - -// SetForwardingAddressId sets the ForwardingAddressId field's value. -func (s *JobMetadata) SetForwardingAddressId(v string) *JobMetadata { - s.ForwardingAddressId = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *JobMetadata) SetJobId(v string) *JobMetadata { - s.JobId = &v - return s -} - -// SetJobLogInfo sets the JobLogInfo field's value. -func (s *JobMetadata) SetJobLogInfo(v *JobLogs) *JobMetadata { - s.JobLogInfo = v - return s -} - -// SetJobState sets the JobState field's value. -func (s *JobMetadata) SetJobState(v JobState) *JobMetadata { - s.JobState = v - return s -} - -// SetJobType sets the JobType field's value. -func (s *JobMetadata) SetJobType(v JobType) *JobMetadata { - s.JobType = v - return s -} - -// SetKmsKeyARN sets the KmsKeyARN field's value. -func (s *JobMetadata) SetKmsKeyARN(v string) *JobMetadata { - s.KmsKeyARN = &v - return s -} - -// SetNotification sets the Notification field's value. -func (s *JobMetadata) SetNotification(v *Notification) *JobMetadata { - s.Notification = v - return s -} - -// SetResources sets the Resources field's value. -func (s *JobMetadata) SetResources(v *JobResource) *JobMetadata { - s.Resources = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *JobMetadata) SetRoleARN(v string) *JobMetadata { - s.RoleARN = &v - return s -} - -// SetShippingDetails sets the ShippingDetails field's value. -func (s *JobMetadata) SetShippingDetails(v *ShippingDetails) *JobMetadata { - s.ShippingDetails = v - return s -} - -// SetSnowballCapacityPreference sets the SnowballCapacityPreference field's value. -func (s *JobMetadata) SetSnowballCapacityPreference(v Capacity) *JobMetadata { - s.SnowballCapacityPreference = v - return s -} - -// SetSnowballType sets the SnowballType field's value. -func (s *JobMetadata) SetSnowballType(v Type) *JobMetadata { - s.SnowballType = v - return s -} - // Contains an array of S3Resource objects. Each S3Resource object represents // an Amazon S3 bucket that your transferred data will be exported from or imported // into. @@ -3061,18 +2413,6 @@ func (s *JobResource) Validate() error { return nil } -// SetLambdaResources sets the LambdaResources field's value. -func (s *JobResource) SetLambdaResources(v []LambdaResource) *JobResource { - s.LambdaResources = v - return s -} - -// SetS3Resources sets the S3Resources field's value. -func (s *JobResource) SetS3Resources(v []S3Resource) *JobResource { - s.S3Resources = v - return s -} - // Contains a key range. For export jobs, a S3Resource object can have an optional // KeyRange value. The length of the range is defined at job creation, and has // either an inclusive BeginMarker, an inclusive EndMarker, or both. Ranges @@ -3116,18 +2456,6 @@ func (s *KeyRange) Validate() error { return nil } -// SetBeginMarker sets the BeginMarker field's value. -func (s *KeyRange) SetBeginMarker(v string) *KeyRange { - s.BeginMarker = &v - return s -} - -// SetEndMarker sets the EndMarker field's value. -func (s *KeyRange) SetEndMarker(v string) *KeyRange { - s.EndMarker = &v - return s -} - // Identifies // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/LambdaResource type LambdaResource struct { @@ -3152,18 +2480,6 @@ func (s LambdaResource) GoString() string { return s.String() } -// SetEventTriggers sets the EventTriggers field's value. -func (s *LambdaResource) SetEventTriggers(v []EventTriggerDefinition) *LambdaResource { - s.EventTriggers = v - return s -} - -// SetLambdaArn sets the LambdaArn field's value. -func (s *LambdaResource) SetLambdaArn(v string) *LambdaResource { - s.LambdaArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListClusterJobsRequest type ListClusterJobsInput struct { _ struct{} `type:"structure"` @@ -3212,24 +2528,6 @@ func (s *ListClusterJobsInput) Validate() error { return nil } -// SetClusterId sets the ClusterId field's value. -func (s *ListClusterJobsInput) SetClusterId(v string) *ListClusterJobsInput { - s.ClusterId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListClusterJobsInput) SetMaxResults(v int64) *ListClusterJobsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListClusterJobsInput) SetNextToken(v string) *ListClusterJobsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListClusterJobsResult type ListClusterJobsOutput struct { _ struct{} `type:"structure"` @@ -3261,18 +2559,6 @@ func (s ListClusterJobsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobListEntries sets the JobListEntries field's value. -func (s *ListClusterJobsOutput) SetJobListEntries(v []JobListEntry) *ListClusterJobsOutput { - s.JobListEntries = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListClusterJobsOutput) SetNextToken(v string) *ListClusterJobsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListClustersRequest type ListClustersInput struct { _ struct{} `type:"structure"` @@ -3309,18 +2595,6 @@ func (s *ListClustersInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListClustersInput) SetMaxResults(v int64) *ListClustersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListClustersInput) SetNextToken(v string) *ListClustersInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListClustersResult type ListClustersOutput struct { _ struct{} `type:"structure"` @@ -3352,18 +2626,6 @@ func (s ListClustersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetClusterListEntries sets the ClusterListEntries field's value. -func (s *ListClustersOutput) SetClusterListEntries(v []ClusterListEntry) *ListClustersOutput { - s.ClusterListEntries = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListClustersOutput) SetNextToken(v string) *ListClustersOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListJobsRequest type ListJobsInput struct { _ struct{} `type:"structure"` @@ -3400,18 +2662,6 @@ func (s *ListJobsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListJobsInput) SetMaxResults(v int64) *ListJobsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListJobsResult type ListJobsOutput struct { _ struct{} `type:"structure"` @@ -3443,18 +2693,6 @@ func (s ListJobsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetJobListEntries sets the JobListEntries field's value. -func (s *ListJobsOutput) SetJobListEntries(v []JobListEntry) *ListJobsOutput { - s.JobListEntries = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput { - s.NextToken = &v - return s -} - // The Amazon Simple Notification Service (Amazon SNS) notification settings // associated with a specific job. The Notification object is returned as a // part of the response syntax of the DescribeJob action in the JobMetadata @@ -3494,24 +2732,6 @@ func (s Notification) GoString() string { return s.String() } -// SetJobStatesToNotify sets the JobStatesToNotify field's value. -func (s *Notification) SetJobStatesToNotify(v []JobState) *Notification { - s.JobStatesToNotify = v - return s -} - -// SetNotifyAll sets the NotifyAll field's value. -func (s *Notification) SetNotifyAll(v bool) *Notification { - s.NotifyAll = &v - return s -} - -// SetSnsTopicARN sets the SnsTopicARN field's value. -func (s *Notification) SetSnsTopicARN(v string) *Notification { - s.SnsTopicARN = &v - return s -} - // Each S3Resource object represents an Amazon S3 bucket that your transferred // data will be exported from or imported into. For export jobs, this object // can have an optional KeyRange value. The length of the range is defined at @@ -3556,18 +2776,6 @@ func (s *S3Resource) Validate() error { return nil } -// SetBucketArn sets the BucketArn field's value. -func (s *S3Resource) SetBucketArn(v string) *S3Resource { - s.BucketArn = &v - return s -} - -// SetKeyRange sets the KeyRange field's value. -func (s *S3Resource) SetKeyRange(v *KeyRange) *S3Resource { - s.KeyRange = v - return s -} - // The Status and TrackingNumber information for an inbound or outbound shipment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/Shipment type Shipment struct { @@ -3594,18 +2802,6 @@ func (s Shipment) GoString() string { return s.String() } -// SetStatus sets the Status field's value. -func (s *Shipment) SetStatus(v string) *Shipment { - s.Status = &v - return s -} - -// SetTrackingNumber sets the TrackingNumber field's value. -func (s *Shipment) SetTrackingNumber(v string) *Shipment { - s.TrackingNumber = &v - return s -} - // A job's shipping information, including inbound and outbound tracking numbers // and shipping speed options. // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ShippingDetails @@ -3650,24 +2846,6 @@ func (s ShippingDetails) GoString() string { return s.String() } -// SetInboundShipment sets the InboundShipment field's value. -func (s *ShippingDetails) SetInboundShipment(v *Shipment) *ShippingDetails { - s.InboundShipment = v - return s -} - -// SetOutboundShipment sets the OutboundShipment field's value. -func (s *ShippingDetails) SetOutboundShipment(v *Shipment) *ShippingDetails { - s.OutboundShipment = v - return s -} - -// SetShippingOption sets the ShippingOption field's value. -func (s *ShippingDetails) SetShippingOption(v ShippingOption) *ShippingDetails { - s.ShippingOption = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/UpdateClusterRequest type UpdateClusterInput struct { _ struct{} `type:"structure"` @@ -3744,54 +2922,6 @@ func (s *UpdateClusterInput) Validate() error { return nil } -// SetAddressId sets the AddressId field's value. -func (s *UpdateClusterInput) SetAddressId(v string) *UpdateClusterInput { - s.AddressId = &v - return s -} - -// SetClusterId sets the ClusterId field's value. -func (s *UpdateClusterInput) SetClusterId(v string) *UpdateClusterInput { - s.ClusterId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateClusterInput) SetDescription(v string) *UpdateClusterInput { - s.Description = &v - return s -} - -// SetForwardingAddressId sets the ForwardingAddressId field's value. -func (s *UpdateClusterInput) SetForwardingAddressId(v string) *UpdateClusterInput { - s.ForwardingAddressId = &v - return s -} - -// SetNotification sets the Notification field's value. -func (s *UpdateClusterInput) SetNotification(v *Notification) *UpdateClusterInput { - s.Notification = v - return s -} - -// SetResources sets the Resources field's value. -func (s *UpdateClusterInput) SetResources(v *JobResource) *UpdateClusterInput { - s.Resources = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *UpdateClusterInput) SetRoleARN(v string) *UpdateClusterInput { - s.RoleARN = &v - return s -} - -// SetShippingOption sets the ShippingOption field's value. -func (s *UpdateClusterInput) SetShippingOption(v ShippingOption) *UpdateClusterInput { - s.ShippingOption = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/UpdateClusterResult type UpdateClusterOutput struct { _ struct{} `type:"structure"` @@ -3894,60 +3024,6 @@ func (s *UpdateJobInput) Validate() error { return nil } -// SetAddressId sets the AddressId field's value. -func (s *UpdateJobInput) SetAddressId(v string) *UpdateJobInput { - s.AddressId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateJobInput) SetDescription(v string) *UpdateJobInput { - s.Description = &v - return s -} - -// SetForwardingAddressId sets the ForwardingAddressId field's value. -func (s *UpdateJobInput) SetForwardingAddressId(v string) *UpdateJobInput { - s.ForwardingAddressId = &v - return s -} - -// SetJobId sets the JobId field's value. -func (s *UpdateJobInput) SetJobId(v string) *UpdateJobInput { - s.JobId = &v - return s -} - -// SetNotification sets the Notification field's value. -func (s *UpdateJobInput) SetNotification(v *Notification) *UpdateJobInput { - s.Notification = v - return s -} - -// SetResources sets the Resources field's value. -func (s *UpdateJobInput) SetResources(v *JobResource) *UpdateJobInput { - s.Resources = v - return s -} - -// SetRoleARN sets the RoleARN field's value. -func (s *UpdateJobInput) SetRoleARN(v string) *UpdateJobInput { - s.RoleARN = &v - return s -} - -// SetShippingOption sets the ShippingOption field's value. -func (s *UpdateJobInput) SetShippingOption(v ShippingOption) *UpdateJobInput { - s.ShippingOption = v - return s -} - -// SetSnowballCapacityPreference sets the SnowballCapacityPreference field's value. -func (s *UpdateJobInput) SetSnowballCapacityPreference(v Capacity) *UpdateJobInput { - s.SnowballCapacityPreference = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/UpdateJobResult type UpdateJobOutput struct { _ struct{} `type:"structure"` diff --git a/service/sns/api.go b/service/sns/api.go index 500a7e16aa2..2474d4adbd9 100644 --- a/service/sns/api.go +++ b/service/sns/api.go @@ -1979,30 +1979,6 @@ func (s *AddPermissionInput) Validate() error { return nil } -// SetAWSAccountId sets the AWSAccountId field's value. -func (s *AddPermissionInput) SetAWSAccountId(v []string) *AddPermissionInput { - s.AWSAccountId = v - return s -} - -// SetActionName sets the ActionName field's value. -func (s *AddPermissionInput) SetActionName(v []string) *AddPermissionInput { - s.ActionName = v - return s -} - -// SetLabel sets the Label field's value. -func (s *AddPermissionInput) SetLabel(v string) *AddPermissionInput { - s.Label = &v - return s -} - -// SetTopicArn sets the TopicArn field's value. -func (s *AddPermissionInput) SetTopicArn(v string) *AddPermissionInput { - s.TopicArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/AddPermissionOutput type AddPermissionOutput struct { _ struct{} `type:"structure"` @@ -2060,12 +2036,6 @@ func (s *CheckIfPhoneNumberIsOptedOutInput) Validate() error { return nil } -// SetPhoneNumber sets the PhoneNumber field's value. -func (s *CheckIfPhoneNumberIsOptedOutInput) SetPhoneNumber(v string) *CheckIfPhoneNumberIsOptedOutInput { - s.PhoneNumber = &v - return s -} - // The response from the CheckIfPhoneNumberIsOptedOut action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CheckIfPhoneNumberIsOptedOutResponse type CheckIfPhoneNumberIsOptedOutOutput struct { @@ -2098,12 +2068,6 @@ func (s CheckIfPhoneNumberIsOptedOutOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIsOptedOut sets the IsOptedOut field's value. -func (s *CheckIfPhoneNumberIsOptedOutOutput) SetIsOptedOut(v bool) *CheckIfPhoneNumberIsOptedOutOutput { - s.IsOptedOut = &v - return s -} - // Input for ConfirmSubscription action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ConfirmSubscriptionInput type ConfirmSubscriptionInput struct { @@ -2154,24 +2118,6 @@ func (s *ConfirmSubscriptionInput) Validate() error { return nil } -// SetAuthenticateOnUnsubscribe sets the AuthenticateOnUnsubscribe field's value. -func (s *ConfirmSubscriptionInput) SetAuthenticateOnUnsubscribe(v string) *ConfirmSubscriptionInput { - s.AuthenticateOnUnsubscribe = &v - return s -} - -// SetToken sets the Token field's value. -func (s *ConfirmSubscriptionInput) SetToken(v string) *ConfirmSubscriptionInput { - s.Token = &v - return s -} - -// SetTopicArn sets the TopicArn field's value. -func (s *ConfirmSubscriptionInput) SetTopicArn(v string) *ConfirmSubscriptionInput { - s.TopicArn = &v - return s -} - // Response for ConfirmSubscriptions action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ConfirmSubscriptionResponse type ConfirmSubscriptionOutput struct { @@ -2198,12 +2144,6 @@ func (s ConfirmSubscriptionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSubscriptionArn sets the SubscriptionArn field's value. -func (s *ConfirmSubscriptionOutput) SetSubscriptionArn(v string) *ConfirmSubscriptionOutput { - s.SubscriptionArn = &v - return s -} - // Input for CreatePlatformApplication action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformApplicationInput type CreatePlatformApplicationInput struct { @@ -2260,24 +2200,6 @@ func (s *CreatePlatformApplicationInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *CreatePlatformApplicationInput) SetAttributes(v map[string]string) *CreatePlatformApplicationInput { - s.Attributes = v - return s -} - -// SetName sets the Name field's value. -func (s *CreatePlatformApplicationInput) SetName(v string) *CreatePlatformApplicationInput { - s.Name = &v - return s -} - -// SetPlatform sets the Platform field's value. -func (s *CreatePlatformApplicationInput) SetPlatform(v string) *CreatePlatformApplicationInput { - s.Platform = &v - return s -} - // Response from CreatePlatformApplication action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformApplicationResponse type CreatePlatformApplicationOutput struct { @@ -2304,12 +2226,6 @@ func (s CreatePlatformApplicationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPlatformApplicationArn sets the PlatformApplicationArn field's value. -func (s *CreatePlatformApplicationOutput) SetPlatformApplicationArn(v string) *CreatePlatformApplicationOutput { - s.PlatformApplicationArn = &v - return s -} - // Input for CreatePlatformEndpoint action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformEndpointInput type CreatePlatformEndpointInput struct { @@ -2366,30 +2282,6 @@ func (s *CreatePlatformEndpointInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *CreatePlatformEndpointInput) SetAttributes(v map[string]string) *CreatePlatformEndpointInput { - s.Attributes = v - return s -} - -// SetCustomUserData sets the CustomUserData field's value. -func (s *CreatePlatformEndpointInput) SetCustomUserData(v string) *CreatePlatformEndpointInput { - s.CustomUserData = &v - return s -} - -// SetPlatformApplicationArn sets the PlatformApplicationArn field's value. -func (s *CreatePlatformEndpointInput) SetPlatformApplicationArn(v string) *CreatePlatformEndpointInput { - s.PlatformApplicationArn = &v - return s -} - -// SetToken sets the Token field's value. -func (s *CreatePlatformEndpointInput) SetToken(v string) *CreatePlatformEndpointInput { - s.Token = &v - return s -} - // Response from CreateEndpoint action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateEndpointResponse type CreatePlatformEndpointOutput struct { @@ -2416,12 +2308,6 @@ func (s CreatePlatformEndpointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEndpointArn sets the EndpointArn field's value. -func (s *CreatePlatformEndpointOutput) SetEndpointArn(v string) *CreatePlatformEndpointOutput { - s.EndpointArn = &v - return s -} - // Input for CreateTopic action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateTopicInput type CreateTopicInput struct { @@ -2461,12 +2347,6 @@ func (s *CreateTopicInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *CreateTopicInput) SetName(v string) *CreateTopicInput { - s.Name = &v - return s -} - // Response from CreateTopic action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateTopicResponse type CreateTopicOutput struct { @@ -2493,12 +2373,6 @@ func (s CreateTopicOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTopicArn sets the TopicArn field's value. -func (s *CreateTopicOutput) SetTopicArn(v string) *CreateTopicOutput { - s.TopicArn = &v - return s -} - // Input for DeleteEndpoint action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteEndpointInput type DeleteEndpointInput struct { @@ -2534,12 +2408,6 @@ func (s *DeleteEndpointInput) Validate() error { return nil } -// SetEndpointArn sets the EndpointArn field's value. -func (s *DeleteEndpointInput) SetEndpointArn(v string) *DeleteEndpointInput { - s.EndpointArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteEndpointOutput type DeleteEndpointOutput struct { _ struct{} `type:"structure"` @@ -2597,12 +2465,6 @@ func (s *DeletePlatformApplicationInput) Validate() error { return nil } -// SetPlatformApplicationArn sets the PlatformApplicationArn field's value. -func (s *DeletePlatformApplicationInput) SetPlatformApplicationArn(v string) *DeletePlatformApplicationInput { - s.PlatformApplicationArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeletePlatformApplicationOutput type DeletePlatformApplicationOutput struct { _ struct{} `type:"structure"` @@ -2659,12 +2521,6 @@ func (s *DeleteTopicInput) Validate() error { return nil } -// SetTopicArn sets the TopicArn field's value. -func (s *DeleteTopicInput) SetTopicArn(v string) *DeleteTopicInput { - s.TopicArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteTopicOutput type DeleteTopicOutput struct { _ struct{} `type:"structure"` @@ -2709,18 +2565,6 @@ func (s Endpoint) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *Endpoint) SetAttributes(v map[string]string) *Endpoint { - s.Attributes = v - return s -} - -// SetEndpointArn sets the EndpointArn field's value. -func (s *Endpoint) SetEndpointArn(v string) *Endpoint { - s.EndpointArn = &v - return s -} - // Input for GetEndpointAttributes action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetEndpointAttributesInput type GetEndpointAttributesInput struct { @@ -2756,12 +2600,6 @@ func (s *GetEndpointAttributesInput) Validate() error { return nil } -// SetEndpointArn sets the EndpointArn field's value. -func (s *GetEndpointAttributesInput) SetEndpointArn(v string) *GetEndpointAttributesInput { - s.EndpointArn = &v - return s -} - // Response from GetEndpointAttributes of the EndpointArn. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetEndpointAttributesResponse type GetEndpointAttributesOutput struct { @@ -2801,12 +2639,6 @@ func (s GetEndpointAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *GetEndpointAttributesOutput) SetAttributes(v map[string]string) *GetEndpointAttributesOutput { - s.Attributes = v - return s -} - // Input for GetPlatformApplicationAttributes action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetPlatformApplicationAttributesInput type GetPlatformApplicationAttributesInput struct { @@ -2842,12 +2674,6 @@ func (s *GetPlatformApplicationAttributesInput) Validate() error { return nil } -// SetPlatformApplicationArn sets the PlatformApplicationArn field's value. -func (s *GetPlatformApplicationAttributesInput) SetPlatformApplicationArn(v string) *GetPlatformApplicationAttributesInput { - s.PlatformApplicationArn = &v - return s -} - // Response for GetPlatformApplicationAttributes action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetPlatformApplicationAttributesResponse type GetPlatformApplicationAttributesOutput struct { @@ -2887,12 +2713,6 @@ func (s GetPlatformApplicationAttributesOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *GetPlatformApplicationAttributesOutput) SetAttributes(v map[string]string) *GetPlatformApplicationAttributesOutput { - s.Attributes = v - return s -} - // The input for the GetSMSAttributes request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSAttributesInput type GetSMSAttributesInput struct { @@ -2917,12 +2737,6 @@ func (s GetSMSAttributesInput) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *GetSMSAttributesInput) SetAttributes(v []string) *GetSMSAttributesInput { - s.Attributes = v - return s -} - // The response from the GetSMSAttributes request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSAttributesResponse type GetSMSAttributesOutput struct { @@ -2949,12 +2763,6 @@ func (s GetSMSAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *GetSMSAttributesOutput) SetAttributes(v map[string]string) *GetSMSAttributesOutput { - s.Attributes = v - return s -} - // Input for GetSubscriptionAttributes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSubscriptionAttributesInput type GetSubscriptionAttributesInput struct { @@ -2990,12 +2798,6 @@ func (s *GetSubscriptionAttributesInput) Validate() error { return nil } -// SetSubscriptionArn sets the SubscriptionArn field's value. -func (s *GetSubscriptionAttributesInput) SetSubscriptionArn(v string) *GetSubscriptionAttributesInput { - s.SubscriptionArn = &v - return s -} - // Response for GetSubscriptionAttributes action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSubscriptionAttributesResponse type GetSubscriptionAttributesOutput struct { @@ -3039,12 +2841,6 @@ func (s GetSubscriptionAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *GetSubscriptionAttributesOutput) SetAttributes(v map[string]string) *GetSubscriptionAttributesOutput { - s.Attributes = v - return s -} - // Input for GetTopicAttributes action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetTopicAttributesInput type GetTopicAttributesInput struct { @@ -3080,12 +2876,6 @@ func (s *GetTopicAttributesInput) Validate() error { return nil } -// SetTopicArn sets the TopicArn field's value. -func (s *GetTopicAttributesInput) SetTopicArn(v string) *GetTopicAttributesInput { - s.TopicArn = &v - return s -} - // Response for GetTopicAttributes action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetTopicAttributesResponse type GetTopicAttributesOutput struct { @@ -3135,12 +2925,6 @@ func (s GetTopicAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *GetTopicAttributesOutput) SetAttributes(v map[string]string) *GetTopicAttributesOutput { - s.Attributes = v - return s -} - // Input for ListEndpointsByPlatformApplication action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListEndpointsByPlatformApplicationInput type ListEndpointsByPlatformApplicationInput struct { @@ -3181,18 +2965,6 @@ func (s *ListEndpointsByPlatformApplicationInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *ListEndpointsByPlatformApplicationInput) SetNextToken(v string) *ListEndpointsByPlatformApplicationInput { - s.NextToken = &v - return s -} - -// SetPlatformApplicationArn sets the PlatformApplicationArn field's value. -func (s *ListEndpointsByPlatformApplicationInput) SetPlatformApplicationArn(v string) *ListEndpointsByPlatformApplicationInput { - s.PlatformApplicationArn = &v - return s -} - // Response for ListEndpointsByPlatformApplication action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListEndpointsByPlatformApplicationResponse type ListEndpointsByPlatformApplicationOutput struct { @@ -3223,18 +2995,6 @@ func (s ListEndpointsByPlatformApplicationOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetEndpoints sets the Endpoints field's value. -func (s *ListEndpointsByPlatformApplicationOutput) SetEndpoints(v []Endpoint) *ListEndpointsByPlatformApplicationOutput { - s.Endpoints = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListEndpointsByPlatformApplicationOutput) SetNextToken(v string) *ListEndpointsByPlatformApplicationOutput { - s.NextToken = &v - return s -} - // The input for the ListPhoneNumbersOptedOut action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPhoneNumbersOptedOutInput type ListPhoneNumbersOptedOutInput struct { @@ -3256,12 +3016,6 @@ func (s ListPhoneNumbersOptedOutInput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListPhoneNumbersOptedOutInput) SetNextToken(v string) *ListPhoneNumbersOptedOutInput { - s.NextToken = &v - return s -} - // The response from the ListPhoneNumbersOptedOut action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPhoneNumbersOptedOutResponse type ListPhoneNumbersOptedOutOutput struct { @@ -3293,18 +3047,6 @@ func (s ListPhoneNumbersOptedOutOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListPhoneNumbersOptedOutOutput) SetNextToken(v string) *ListPhoneNumbersOptedOutOutput { - s.NextToken = &v - return s -} - -// SetPhoneNumbers sets the PhoneNumbers field's value. -func (s *ListPhoneNumbersOptedOutOutput) SetPhoneNumbers(v []string) *ListPhoneNumbersOptedOutOutput { - s.PhoneNumbers = v - return s -} - // Input for ListPlatformApplications action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPlatformApplicationsInput type ListPlatformApplicationsInput struct { @@ -3325,12 +3067,6 @@ func (s ListPlatformApplicationsInput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListPlatformApplicationsInput) SetNextToken(v string) *ListPlatformApplicationsInput { - s.NextToken = &v - return s -} - // Response for ListPlatformApplications action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPlatformApplicationsResponse type ListPlatformApplicationsOutput struct { @@ -3361,18 +3097,6 @@ func (s ListPlatformApplicationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListPlatformApplicationsOutput) SetNextToken(v string) *ListPlatformApplicationsOutput { - s.NextToken = &v - return s -} - -// SetPlatformApplications sets the PlatformApplications field's value. -func (s *ListPlatformApplicationsOutput) SetPlatformApplications(v []PlatformApplication) *ListPlatformApplicationsOutput { - s.PlatformApplications = v - return s -} - // Input for ListSubscriptionsByTopic action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsByTopicInput type ListSubscriptionsByTopicInput struct { @@ -3411,18 +3135,6 @@ func (s *ListSubscriptionsByTopicInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *ListSubscriptionsByTopicInput) SetNextToken(v string) *ListSubscriptionsByTopicInput { - s.NextToken = &v - return s -} - -// SetTopicArn sets the TopicArn field's value. -func (s *ListSubscriptionsByTopicInput) SetTopicArn(v string) *ListSubscriptionsByTopicInput { - s.TopicArn = &v - return s -} - // Response for ListSubscriptionsByTopic action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsByTopicResponse type ListSubscriptionsByTopicOutput struct { @@ -3453,18 +3165,6 @@ func (s ListSubscriptionsByTopicOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListSubscriptionsByTopicOutput) SetNextToken(v string) *ListSubscriptionsByTopicOutput { - s.NextToken = &v - return s -} - -// SetSubscriptions sets the Subscriptions field's value. -func (s *ListSubscriptionsByTopicOutput) SetSubscriptions(v []Subscription) *ListSubscriptionsByTopicOutput { - s.Subscriptions = v - return s -} - // Input for ListSubscriptions action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsInput type ListSubscriptionsInput struct { @@ -3484,12 +3184,6 @@ func (s ListSubscriptionsInput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListSubscriptionsInput) SetNextToken(v string) *ListSubscriptionsInput { - s.NextToken = &v - return s -} - // Response for ListSubscriptions action // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsResponse type ListSubscriptionsOutput struct { @@ -3520,18 +3214,6 @@ func (s ListSubscriptionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListSubscriptionsOutput) SetNextToken(v string) *ListSubscriptionsOutput { - s.NextToken = &v - return s -} - -// SetSubscriptions sets the Subscriptions field's value. -func (s *ListSubscriptionsOutput) SetSubscriptions(v []Subscription) *ListSubscriptionsOutput { - s.Subscriptions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListTopicsInput type ListTopicsInput struct { _ struct{} `type:"structure"` @@ -3550,12 +3232,6 @@ func (s ListTopicsInput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListTopicsInput) SetNextToken(v string) *ListTopicsInput { - s.NextToken = &v - return s -} - // Response for ListTopics action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListTopicsResponse type ListTopicsOutput struct { @@ -3586,18 +3262,6 @@ func (s ListTopicsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListTopicsOutput) SetNextToken(v string) *ListTopicsOutput { - s.NextToken = &v - return s -} - -// SetTopics sets the Topics field's value. -func (s *ListTopicsOutput) SetTopics(v []Topic) *ListTopicsOutput { - s.Topics = v - return s -} - // The user-specified message attribute value. For string data types, the value // attribute has the same restrictions on the content as the message body. For // more information, see Publish (http://docs.aws.amazon.com/sns/latest/api/API_Publish.html). @@ -3652,24 +3316,6 @@ func (s *MessageAttributeValue) Validate() error { return nil } -// SetBinaryValue sets the BinaryValue field's value. -func (s *MessageAttributeValue) SetBinaryValue(v []byte) *MessageAttributeValue { - s.BinaryValue = v - return s -} - -// SetDataType sets the DataType field's value. -func (s *MessageAttributeValue) SetDataType(v string) *MessageAttributeValue { - s.DataType = &v - return s -} - -// SetStringValue sets the StringValue field's value. -func (s *MessageAttributeValue) SetStringValue(v string) *MessageAttributeValue { - s.StringValue = &v - return s -} - // Input for the OptInPhoneNumber action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/OptInPhoneNumberInput type OptInPhoneNumberInput struct { @@ -3705,12 +3351,6 @@ func (s *OptInPhoneNumberInput) Validate() error { return nil } -// SetPhoneNumber sets the PhoneNumber field's value. -func (s *OptInPhoneNumberInput) SetPhoneNumber(v string) *OptInPhoneNumberInput { - s.PhoneNumber = &v - return s -} - // The response for the OptInPhoneNumber action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/OptInPhoneNumberResponse type OptInPhoneNumberOutput struct { @@ -3756,18 +3396,6 @@ func (s PlatformApplication) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *PlatformApplication) SetAttributes(v map[string]string) *PlatformApplication { - s.Attributes = v - return s -} - -// SetPlatformApplicationArn sets the PlatformApplicationArn field's value. -func (s *PlatformApplication) SetPlatformApplicationArn(v string) *PlatformApplication { - s.PlatformApplicationArn = &v - return s -} - // Input for Publish action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PublishInput type PublishInput struct { @@ -3896,48 +3524,6 @@ func (s *PublishInput) Validate() error { return nil } -// SetMessage sets the Message field's value. -func (s *PublishInput) SetMessage(v string) *PublishInput { - s.Message = &v - return s -} - -// SetMessageAttributes sets the MessageAttributes field's value. -func (s *PublishInput) SetMessageAttributes(v map[string]MessageAttributeValue) *PublishInput { - s.MessageAttributes = v - return s -} - -// SetMessageStructure sets the MessageStructure field's value. -func (s *PublishInput) SetMessageStructure(v string) *PublishInput { - s.MessageStructure = &v - return s -} - -// SetPhoneNumber sets the PhoneNumber field's value. -func (s *PublishInput) SetPhoneNumber(v string) *PublishInput { - s.PhoneNumber = &v - return s -} - -// SetSubject sets the Subject field's value. -func (s *PublishInput) SetSubject(v string) *PublishInput { - s.Subject = &v - return s -} - -// SetTargetArn sets the TargetArn field's value. -func (s *PublishInput) SetTargetArn(v string) *PublishInput { - s.TargetArn = &v - return s -} - -// SetTopicArn sets the TopicArn field's value. -func (s *PublishInput) SetTopicArn(v string) *PublishInput { - s.TopicArn = &v - return s -} - // Response for Publish action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PublishResponse type PublishOutput struct { @@ -3966,12 +3552,6 @@ func (s PublishOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMessageId sets the MessageId field's value. -func (s *PublishOutput) SetMessageId(v string) *PublishOutput { - s.MessageId = &v - return s -} - // Input for RemovePermission action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/RemovePermissionInput type RemovePermissionInput struct { @@ -4016,18 +3596,6 @@ func (s *RemovePermissionInput) Validate() error { return nil } -// SetLabel sets the Label field's value. -func (s *RemovePermissionInput) SetLabel(v string) *RemovePermissionInput { - s.Label = &v - return s -} - -// SetTopicArn sets the TopicArn field's value. -func (s *RemovePermissionInput) SetTopicArn(v string) *RemovePermissionInput { - s.TopicArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/RemovePermissionOutput type RemovePermissionOutput struct { _ struct{} `type:"structure"` @@ -4107,18 +3675,6 @@ func (s *SetEndpointAttributesInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *SetEndpointAttributesInput) SetAttributes(v map[string]string) *SetEndpointAttributesInput { - s.Attributes = v - return s -} - -// SetEndpointArn sets the EndpointArn field's value. -func (s *SetEndpointAttributesInput) SetEndpointArn(v string) *SetEndpointAttributesInput { - s.EndpointArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetEndpointAttributesOutput type SetEndpointAttributesOutput struct { _ struct{} `type:"structure"` @@ -4218,18 +3774,6 @@ func (s *SetPlatformApplicationAttributesInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *SetPlatformApplicationAttributesInput) SetAttributes(v map[string]string) *SetPlatformApplicationAttributesInput { - s.Attributes = v - return s -} - -// SetPlatformApplicationArn sets the PlatformApplicationArn field's value. -func (s *SetPlatformApplicationAttributesInput) SetPlatformApplicationArn(v string) *SetPlatformApplicationAttributesInput { - s.PlatformApplicationArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetPlatformApplicationAttributesOutput type SetPlatformApplicationAttributesOutput struct { _ struct{} `type:"structure"` @@ -4358,12 +3902,6 @@ func (s *SetSMSAttributesInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *SetSMSAttributesInput) SetAttributes(v map[string]string) *SetSMSAttributesInput { - s.Attributes = v - return s -} - // The response for the SetSMSAttributes action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSMSAttributesResponse type SetSMSAttributesOutput struct { @@ -4437,24 +3975,6 @@ func (s *SetSubscriptionAttributesInput) Validate() error { return nil } -// SetAttributeName sets the AttributeName field's value. -func (s *SetSubscriptionAttributesInput) SetAttributeName(v string) *SetSubscriptionAttributesInput { - s.AttributeName = &v - return s -} - -// SetAttributeValue sets the AttributeValue field's value. -func (s *SetSubscriptionAttributesInput) SetAttributeValue(v string) *SetSubscriptionAttributesInput { - s.AttributeValue = &v - return s -} - -// SetSubscriptionArn sets the SubscriptionArn field's value. -func (s *SetSubscriptionAttributesInput) SetSubscriptionArn(v string) *SetSubscriptionAttributesInput { - s.SubscriptionArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSubscriptionAttributesOutput type SetSubscriptionAttributesOutput struct { _ struct{} `type:"structure"` @@ -4527,24 +4047,6 @@ func (s *SetTopicAttributesInput) Validate() error { return nil } -// SetAttributeName sets the AttributeName field's value. -func (s *SetTopicAttributesInput) SetAttributeName(v string) *SetTopicAttributesInput { - s.AttributeName = &v - return s -} - -// SetAttributeValue sets the AttributeValue field's value. -func (s *SetTopicAttributesInput) SetAttributeValue(v string) *SetTopicAttributesInput { - s.AttributeValue = &v - return s -} - -// SetTopicArn sets the TopicArn field's value. -func (s *SetTopicAttributesInput) SetTopicArn(v string) *SetTopicAttributesInput { - s.TopicArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetTopicAttributesOutput type SetTopicAttributesOutput struct { _ struct{} `type:"structure"` @@ -4649,24 +4151,6 @@ func (s *SubscribeInput) Validate() error { return nil } -// SetEndpoint sets the Endpoint field's value. -func (s *SubscribeInput) SetEndpoint(v string) *SubscribeInput { - s.Endpoint = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *SubscribeInput) SetProtocol(v string) *SubscribeInput { - s.Protocol = &v - return s -} - -// SetTopicArn sets the TopicArn field's value. -func (s *SubscribeInput) SetTopicArn(v string) *SubscribeInput { - s.TopicArn = &v - return s -} - // Response for Subscribe action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SubscribeResponse type SubscribeOutput struct { @@ -4694,12 +4178,6 @@ func (s SubscribeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSubscriptionArn sets the SubscriptionArn field's value. -func (s *SubscribeOutput) SetSubscriptionArn(v string) *SubscribeOutput { - s.SubscriptionArn = &v - return s -} - // A wrapper type for the attributes of an Amazon SNS subscription. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Subscription type Subscription struct { @@ -4731,36 +4209,6 @@ func (s Subscription) GoString() string { return s.String() } -// SetEndpoint sets the Endpoint field's value. -func (s *Subscription) SetEndpoint(v string) *Subscription { - s.Endpoint = &v - return s -} - -// SetOwner sets the Owner field's value. -func (s *Subscription) SetOwner(v string) *Subscription { - s.Owner = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *Subscription) SetProtocol(v string) *Subscription { - s.Protocol = &v - return s -} - -// SetSubscriptionArn sets the SubscriptionArn field's value. -func (s *Subscription) SetSubscriptionArn(v string) *Subscription { - s.SubscriptionArn = &v - return s -} - -// SetTopicArn sets the TopicArn field's value. -func (s *Subscription) SetTopicArn(v string) *Subscription { - s.TopicArn = &v - return s -} - // A wrapper type for the topic's Amazon Resource Name (ARN). To retrieve a // topic's attributes, use GetTopicAttributes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Topic @@ -4781,12 +4229,6 @@ func (s Topic) GoString() string { return s.String() } -// SetTopicArn sets the TopicArn field's value. -func (s *Topic) SetTopicArn(v string) *Topic { - s.TopicArn = &v - return s -} - // Input for Unsubscribe action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/UnsubscribeInput type UnsubscribeInput struct { @@ -4822,12 +4264,6 @@ func (s *UnsubscribeInput) Validate() error { return nil } -// SetSubscriptionArn sets the SubscriptionArn field's value. -func (s *UnsubscribeInput) SetSubscriptionArn(v string) *UnsubscribeInput { - s.SubscriptionArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/UnsubscribeOutput type UnsubscribeOutput struct { _ struct{} `type:"structure"` diff --git a/service/sqs/api.go b/service/sqs/api.go index e4187764463..6b927e4628c 100644 --- a/service/sqs/api.go +++ b/service/sqs/api.go @@ -1439,30 +1439,6 @@ func (s *AddPermissionInput) Validate() error { return nil } -// SetAWSAccountIds sets the AWSAccountIds field's value. -func (s *AddPermissionInput) SetAWSAccountIds(v []string) *AddPermissionInput { - s.AWSAccountIds = v - return s -} - -// SetActions sets the Actions field's value. -func (s *AddPermissionInput) SetActions(v []string) *AddPermissionInput { - s.Actions = v - return s -} - -// SetLabel sets the Label field's value. -func (s *AddPermissionInput) SetLabel(v string) *AddPermissionInput { - s.Label = &v - return s -} - -// SetQueueUrl sets the QueueUrl field's value. -func (s *AddPermissionInput) SetQueueUrl(v string) *AddPermissionInput { - s.QueueUrl = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/AddPermissionOutput type AddPermissionOutput struct { _ struct{} `type:"structure"` @@ -1520,30 +1496,6 @@ func (s BatchResultErrorEntry) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *BatchResultErrorEntry) SetCode(v string) *BatchResultErrorEntry { - s.Code = &v - return s -} - -// SetId sets the Id field's value. -func (s *BatchResultErrorEntry) SetId(v string) *BatchResultErrorEntry { - s.Id = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *BatchResultErrorEntry) SetMessage(v string) *BatchResultErrorEntry { - s.Message = &v - return s -} - -// SetSenderFault sets the SenderFault field's value. -func (s *BatchResultErrorEntry) SetSenderFault(v bool) *BatchResultErrorEntry { - s.SenderFault = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityBatchRequest type ChangeMessageVisibilityBatchInput struct { _ struct{} `type:"structure"` @@ -1597,18 +1549,6 @@ func (s *ChangeMessageVisibilityBatchInput) Validate() error { return nil } -// SetEntries sets the Entries field's value. -func (s *ChangeMessageVisibilityBatchInput) SetEntries(v []ChangeMessageVisibilityBatchRequestEntry) *ChangeMessageVisibilityBatchInput { - s.Entries = v - return s -} - -// SetQueueUrl sets the QueueUrl field's value. -func (s *ChangeMessageVisibilityBatchInput) SetQueueUrl(v string) *ChangeMessageVisibilityBatchInput { - s.QueueUrl = &v - return s -} - // For each message in the batch, the response contains a ChangeMessageVisibilityBatchResultEntry // tag if the message succeeds or a BatchResultErrorEntry tag if the message // fails. @@ -1644,18 +1584,6 @@ func (s ChangeMessageVisibilityBatchOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailed sets the Failed field's value. -func (s *ChangeMessageVisibilityBatchOutput) SetFailed(v []BatchResultErrorEntry) *ChangeMessageVisibilityBatchOutput { - s.Failed = v - return s -} - -// SetSuccessful sets the Successful field's value. -func (s *ChangeMessageVisibilityBatchOutput) SetSuccessful(v []ChangeMessageVisibilityBatchResultEntry) *ChangeMessageVisibilityBatchOutput { - s.Successful = v - return s -} - // Encloses a receipt handle and an entry id for each message in ChangeMessageVisibilityBatch. // // All of the following list parameters must be prefixed with ChangeMessageVisibilityBatchRequestEntry.n, @@ -1716,24 +1644,6 @@ func (s *ChangeMessageVisibilityBatchRequestEntry) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *ChangeMessageVisibilityBatchRequestEntry) SetId(v string) *ChangeMessageVisibilityBatchRequestEntry { - s.Id = &v - return s -} - -// SetReceiptHandle sets the ReceiptHandle field's value. -func (s *ChangeMessageVisibilityBatchRequestEntry) SetReceiptHandle(v string) *ChangeMessageVisibilityBatchRequestEntry { - s.ReceiptHandle = &v - return s -} - -// SetVisibilityTimeout sets the VisibilityTimeout field's value. -func (s *ChangeMessageVisibilityBatchRequestEntry) SetVisibilityTimeout(v int64) *ChangeMessageVisibilityBatchRequestEntry { - s.VisibilityTimeout = &v - return s -} - // Encloses the Id of an entry in ChangeMessageVisibilityBatch. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityBatchResultEntry type ChangeMessageVisibilityBatchResultEntry struct { @@ -1755,12 +1665,6 @@ func (s ChangeMessageVisibilityBatchResultEntry) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *ChangeMessageVisibilityBatchResultEntry) SetId(v string) *ChangeMessageVisibilityBatchResultEntry { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityRequest type ChangeMessageVisibilityInput struct { _ struct{} `type:"structure"` @@ -1817,24 +1721,6 @@ func (s *ChangeMessageVisibilityInput) Validate() error { return nil } -// SetQueueUrl sets the QueueUrl field's value. -func (s *ChangeMessageVisibilityInput) SetQueueUrl(v string) *ChangeMessageVisibilityInput { - s.QueueUrl = &v - return s -} - -// SetReceiptHandle sets the ReceiptHandle field's value. -func (s *ChangeMessageVisibilityInput) SetReceiptHandle(v string) *ChangeMessageVisibilityInput { - s.ReceiptHandle = &v - return s -} - -// SetVisibilityTimeout sets the VisibilityTimeout field's value. -func (s *ChangeMessageVisibilityInput) SetVisibilityTimeout(v int64) *ChangeMessageVisibilityInput { - s.VisibilityTimeout = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityOutput type ChangeMessageVisibilityOutput struct { _ struct{} `type:"structure"` @@ -2020,18 +1906,6 @@ func (s *CreateQueueInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *CreateQueueInput) SetAttributes(v map[string]string) *CreateQueueInput { - s.Attributes = v - return s -} - -// SetQueueName sets the QueueName field's value. -func (s *CreateQueueInput) SetQueueName(v string) *CreateQueueInput { - s.QueueName = &v - return s -} - // Returns the QueueUrl attribute of the created queue. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/CreateQueueResult type CreateQueueOutput struct { @@ -2058,12 +1932,6 @@ func (s CreateQueueOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetQueueUrl sets the QueueUrl field's value. -func (s *CreateQueueOutput) SetQueueUrl(v string) *CreateQueueOutput { - s.QueueUrl = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageBatchRequest type DeleteMessageBatchInput struct { _ struct{} `type:"structure"` @@ -2116,18 +1984,6 @@ func (s *DeleteMessageBatchInput) Validate() error { return nil } -// SetEntries sets the Entries field's value. -func (s *DeleteMessageBatchInput) SetEntries(v []DeleteMessageBatchRequestEntry) *DeleteMessageBatchInput { - s.Entries = v - return s -} - -// SetQueueUrl sets the QueueUrl field's value. -func (s *DeleteMessageBatchInput) SetQueueUrl(v string) *DeleteMessageBatchInput { - s.QueueUrl = &v - return s -} - // For each message in the batch, the response contains a DeleteMessageBatchResultEntry // tag if the message is deleted or a BatchResultErrorEntry tag if the message // can't be deleted. @@ -2163,18 +2019,6 @@ func (s DeleteMessageBatchOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailed sets the Failed field's value. -func (s *DeleteMessageBatchOutput) SetFailed(v []BatchResultErrorEntry) *DeleteMessageBatchOutput { - s.Failed = v - return s -} - -// SetSuccessful sets the Successful field's value. -func (s *DeleteMessageBatchOutput) SetSuccessful(v []DeleteMessageBatchResultEntry) *DeleteMessageBatchOutput { - s.Successful = v - return s -} - // Encloses a receipt handle and an identifier for it. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageBatchRequestEntry type DeleteMessageBatchRequestEntry struct { @@ -2222,18 +2066,6 @@ func (s *DeleteMessageBatchRequestEntry) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *DeleteMessageBatchRequestEntry) SetId(v string) *DeleteMessageBatchRequestEntry { - s.Id = &v - return s -} - -// SetReceiptHandle sets the ReceiptHandle field's value. -func (s *DeleteMessageBatchRequestEntry) SetReceiptHandle(v string) *DeleteMessageBatchRequestEntry { - s.ReceiptHandle = &v - return s -} - // Encloses the Id of an entry in DeleteMessageBatch. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageBatchResultEntry type DeleteMessageBatchResultEntry struct { @@ -2255,12 +2087,6 @@ func (s DeleteMessageBatchResultEntry) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *DeleteMessageBatchResultEntry) SetId(v string) *DeleteMessageBatchResultEntry { - s.Id = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageRequest type DeleteMessageInput struct { _ struct{} `type:"structure"` @@ -2306,18 +2132,6 @@ func (s *DeleteMessageInput) Validate() error { return nil } -// SetQueueUrl sets the QueueUrl field's value. -func (s *DeleteMessageInput) SetQueueUrl(v string) *DeleteMessageInput { - s.QueueUrl = &v - return s -} - -// SetReceiptHandle sets the ReceiptHandle field's value. -func (s *DeleteMessageInput) SetReceiptHandle(v string) *DeleteMessageInput { - s.ReceiptHandle = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageOutput type DeleteMessageOutput struct { _ struct{} `type:"structure"` @@ -2376,12 +2190,6 @@ func (s *DeleteQueueInput) Validate() error { return nil } -// SetQueueUrl sets the QueueUrl field's value. -func (s *DeleteQueueInput) SetQueueUrl(v string) *DeleteQueueInput { - s.QueueUrl = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteQueueOutput type DeleteQueueOutput struct { _ struct{} `type:"structure"` @@ -2530,18 +2338,6 @@ func (s *GetQueueAttributesInput) Validate() error { return nil } -// SetAttributeNames sets the AttributeNames field's value. -func (s *GetQueueAttributesInput) SetAttributeNames(v []QueueAttributeName) *GetQueueAttributesInput { - s.AttributeNames = v - return s -} - -// SetQueueUrl sets the QueueUrl field's value. -func (s *GetQueueAttributesInput) SetQueueUrl(v string) *GetQueueAttributesInput { - s.QueueUrl = &v - return s -} - // A list of returned queue attributes. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueAttributesResult type GetQueueAttributesOutput struct { @@ -2568,12 +2364,6 @@ func (s GetQueueAttributesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttributes sets the Attributes field's value. -func (s *GetQueueAttributesOutput) SetAttributes(v map[string]string) *GetQueueAttributesOutput { - s.Attributes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueUrlRequest type GetQueueUrlInput struct { _ struct{} `type:"structure"` @@ -2614,18 +2404,6 @@ func (s *GetQueueUrlInput) Validate() error { return nil } -// SetQueueName sets the QueueName field's value. -func (s *GetQueueUrlInput) SetQueueName(v string) *GetQueueUrlInput { - s.QueueName = &v - return s -} - -// SetQueueOwnerAWSAccountId sets the QueueOwnerAWSAccountId field's value. -func (s *GetQueueUrlInput) SetQueueOwnerAWSAccountId(v string) *GetQueueUrlInput { - s.QueueOwnerAWSAccountId = &v - return s -} - // For more information, see Responses (http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/UnderstandingResponses.html) // in the Amazon Simple Queue Service Developer Guide. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueUrlResult @@ -2653,12 +2431,6 @@ func (s GetQueueUrlOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetQueueUrl sets the QueueUrl field's value. -func (s *GetQueueUrlOutput) SetQueueUrl(v string) *GetQueueUrlOutput { - s.QueueUrl = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListDeadLetterSourceQueuesRequest type ListDeadLetterSourceQueuesInput struct { _ struct{} `type:"structure"` @@ -2695,12 +2467,6 @@ func (s *ListDeadLetterSourceQueuesInput) Validate() error { return nil } -// SetQueueUrl sets the QueueUrl field's value. -func (s *ListDeadLetterSourceQueuesInput) SetQueueUrl(v string) *ListDeadLetterSourceQueuesInput { - s.QueueUrl = &v - return s -} - // A list of your dead letter source queues. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListDeadLetterSourceQueuesResult type ListDeadLetterSourceQueuesOutput struct { @@ -2730,12 +2496,6 @@ func (s ListDeadLetterSourceQueuesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetQueueUrls sets the QueueUrls field's value. -func (s *ListDeadLetterSourceQueuesOutput) SetQueueUrls(v []string) *ListDeadLetterSourceQueuesOutput { - s.QueueUrls = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueueTagsRequest type ListQueueTagsInput struct { _ struct{} `type:"structure"` @@ -2770,12 +2530,6 @@ func (s *ListQueueTagsInput) Validate() error { return nil } -// SetQueueUrl sets the QueueUrl field's value. -func (s *ListQueueTagsInput) SetQueueUrl(v string) *ListQueueTagsInput { - s.QueueUrl = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueueTagsResult type ListQueueTagsOutput struct { _ struct{} `type:"structure"` @@ -2801,12 +2555,6 @@ func (s ListQueueTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTags sets the Tags field's value. -func (s *ListQueueTagsOutput) SetTags(v map[string]string) *ListQueueTagsOutput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueuesRequest type ListQueuesInput struct { _ struct{} `type:"structure"` @@ -2828,12 +2576,6 @@ func (s ListQueuesInput) GoString() string { return s.String() } -// SetQueueNamePrefix sets the QueueNamePrefix field's value. -func (s *ListQueuesInput) SetQueueNamePrefix(v string) *ListQueuesInput { - s.QueueNamePrefix = &v - return s -} - // A list of your queues. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueuesResult type ListQueuesOutput struct { @@ -2860,12 +2602,6 @@ func (s ListQueuesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetQueueUrls sets the QueueUrls field's value. -func (s *ListQueuesOutput) SetQueueUrls(v []string) *ListQueuesOutput { - s.QueueUrls = v - return s -} - // An Amazon SQS message. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/Message type Message struct { @@ -2914,48 +2650,6 @@ func (s Message) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *Message) SetAttributes(v map[string]string) *Message { - s.Attributes = v - return s -} - -// SetBody sets the Body field's value. -func (s *Message) SetBody(v string) *Message { - s.Body = &v - return s -} - -// SetMD5OfBody sets the MD5OfBody field's value. -func (s *Message) SetMD5OfBody(v string) *Message { - s.MD5OfBody = &v - return s -} - -// SetMD5OfMessageAttributes sets the MD5OfMessageAttributes field's value. -func (s *Message) SetMD5OfMessageAttributes(v string) *Message { - s.MD5OfMessageAttributes = &v - return s -} - -// SetMessageAttributes sets the MessageAttributes field's value. -func (s *Message) SetMessageAttributes(v map[string]MessageAttributeValue) *Message { - s.MessageAttributes = v - return s -} - -// SetMessageId sets the MessageId field's value. -func (s *Message) SetMessageId(v string) *Message { - s.MessageId = &v - return s -} - -// SetReceiptHandle sets the ReceiptHandle field's value. -func (s *Message) SetReceiptHandle(v string) *Message { - s.ReceiptHandle = &v - return s -} - // The user-specified message attribute value. For string data types, the Value // attribute has the same restrictions on the content as the message body. For // more information, see SendMessage. @@ -3018,36 +2712,6 @@ func (s *MessageAttributeValue) Validate() error { return nil } -// SetBinaryListValues sets the BinaryListValues field's value. -func (s *MessageAttributeValue) SetBinaryListValues(v [][]byte) *MessageAttributeValue { - s.BinaryListValues = v - return s -} - -// SetBinaryValue sets the BinaryValue field's value. -func (s *MessageAttributeValue) SetBinaryValue(v []byte) *MessageAttributeValue { - s.BinaryValue = v - return s -} - -// SetDataType sets the DataType field's value. -func (s *MessageAttributeValue) SetDataType(v string) *MessageAttributeValue { - s.DataType = &v - return s -} - -// SetStringListValues sets the StringListValues field's value. -func (s *MessageAttributeValue) SetStringListValues(v []string) *MessageAttributeValue { - s.StringListValues = v - return s -} - -// SetStringValue sets the StringValue field's value. -func (s *MessageAttributeValue) SetStringValue(v string) *MessageAttributeValue { - s.StringValue = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/PurgeQueueRequest type PurgeQueueInput struct { _ struct{} `type:"structure"` @@ -3084,12 +2748,6 @@ func (s *PurgeQueueInput) Validate() error { return nil } -// SetQueueUrl sets the QueueUrl field's value. -func (s *PurgeQueueInput) SetQueueUrl(v string) *PurgeQueueInput { - s.QueueUrl = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/PurgeQueueOutput type PurgeQueueOutput struct { _ struct{} `type:"structure"` @@ -3303,48 +2961,6 @@ func (s *ReceiveMessageInput) Validate() error { return nil } -// SetAttributeNames sets the AttributeNames field's value. -func (s *ReceiveMessageInput) SetAttributeNames(v []QueueAttributeName) *ReceiveMessageInput { - s.AttributeNames = v - return s -} - -// SetMaxNumberOfMessages sets the MaxNumberOfMessages field's value. -func (s *ReceiveMessageInput) SetMaxNumberOfMessages(v int64) *ReceiveMessageInput { - s.MaxNumberOfMessages = &v - return s -} - -// SetMessageAttributeNames sets the MessageAttributeNames field's value. -func (s *ReceiveMessageInput) SetMessageAttributeNames(v []string) *ReceiveMessageInput { - s.MessageAttributeNames = v - return s -} - -// SetQueueUrl sets the QueueUrl field's value. -func (s *ReceiveMessageInput) SetQueueUrl(v string) *ReceiveMessageInput { - s.QueueUrl = &v - return s -} - -// SetReceiveRequestAttemptId sets the ReceiveRequestAttemptId field's value. -func (s *ReceiveMessageInput) SetReceiveRequestAttemptId(v string) *ReceiveMessageInput { - s.ReceiveRequestAttemptId = &v - return s -} - -// SetVisibilityTimeout sets the VisibilityTimeout field's value. -func (s *ReceiveMessageInput) SetVisibilityTimeout(v int64) *ReceiveMessageInput { - s.VisibilityTimeout = &v - return s -} - -// SetWaitTimeSeconds sets the WaitTimeSeconds field's value. -func (s *ReceiveMessageInput) SetWaitTimeSeconds(v int64) *ReceiveMessageInput { - s.WaitTimeSeconds = &v - return s -} - // A list of received messages. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ReceiveMessageResult type ReceiveMessageOutput struct { @@ -3371,12 +2987,6 @@ func (s ReceiveMessageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMessages sets the Messages field's value. -func (s *ReceiveMessageOutput) SetMessages(v []Message) *ReceiveMessageOutput { - s.Messages = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/RemovePermissionRequest type RemovePermissionInput struct { _ struct{} `type:"structure"` @@ -3423,18 +3033,6 @@ func (s *RemovePermissionInput) Validate() error { return nil } -// SetLabel sets the Label field's value. -func (s *RemovePermissionInput) SetLabel(v string) *RemovePermissionInput { - s.Label = &v - return s -} - -// SetQueueUrl sets the QueueUrl field's value. -func (s *RemovePermissionInput) SetQueueUrl(v string) *RemovePermissionInput { - s.QueueUrl = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/RemovePermissionOutput type RemovePermissionOutput struct { _ struct{} `type:"structure"` @@ -3509,18 +3107,6 @@ func (s *SendMessageBatchInput) Validate() error { return nil } -// SetEntries sets the Entries field's value. -func (s *SendMessageBatchInput) SetEntries(v []SendMessageBatchRequestEntry) *SendMessageBatchInput { - s.Entries = v - return s -} - -// SetQueueUrl sets the QueueUrl field's value. -func (s *SendMessageBatchInput) SetQueueUrl(v string) *SendMessageBatchInput { - s.QueueUrl = &v - return s -} - // For each message in the batch, the response contains a SendMessageBatchResultEntry // tag if the message succeeds or a BatchResultErrorEntry tag if the message // fails. @@ -3557,18 +3143,6 @@ func (s SendMessageBatchOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailed sets the Failed field's value. -func (s *SendMessageBatchOutput) SetFailed(v []BatchResultErrorEntry) *SendMessageBatchOutput { - s.Failed = v - return s -} - -// SetSuccessful sets the Successful field's value. -func (s *SendMessageBatchOutput) SetSuccessful(v []SendMessageBatchResultEntry) *SendMessageBatchOutput { - s.Successful = v - return s -} - // Contains the details of a single Amazon SQS message along with an Id. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageBatchRequestEntry type SendMessageBatchRequestEntry struct { @@ -3712,42 +3286,6 @@ func (s *SendMessageBatchRequestEntry) Validate() error { return nil } -// SetDelaySeconds sets the DelaySeconds field's value. -func (s *SendMessageBatchRequestEntry) SetDelaySeconds(v int64) *SendMessageBatchRequestEntry { - s.DelaySeconds = &v - return s -} - -// SetId sets the Id field's value. -func (s *SendMessageBatchRequestEntry) SetId(v string) *SendMessageBatchRequestEntry { - s.Id = &v - return s -} - -// SetMessageAttributes sets the MessageAttributes field's value. -func (s *SendMessageBatchRequestEntry) SetMessageAttributes(v map[string]MessageAttributeValue) *SendMessageBatchRequestEntry { - s.MessageAttributes = v - return s -} - -// SetMessageBody sets the MessageBody field's value. -func (s *SendMessageBatchRequestEntry) SetMessageBody(v string) *SendMessageBatchRequestEntry { - s.MessageBody = &v - return s -} - -// SetMessageDeduplicationId sets the MessageDeduplicationId field's value. -func (s *SendMessageBatchRequestEntry) SetMessageDeduplicationId(v string) *SendMessageBatchRequestEntry { - s.MessageDeduplicationId = &v - return s -} - -// SetMessageGroupId sets the MessageGroupId field's value. -func (s *SendMessageBatchRequestEntry) SetMessageGroupId(v string) *SendMessageBatchRequestEntry { - s.MessageGroupId = &v - return s -} - // Encloses a MessageId for a successfully-enqueued message in a SendMessageBatch. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageBatchResultEntry type SendMessageBatchResultEntry struct { @@ -3796,36 +3334,6 @@ func (s SendMessageBatchResultEntry) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *SendMessageBatchResultEntry) SetId(v string) *SendMessageBatchResultEntry { - s.Id = &v - return s -} - -// SetMD5OfMessageAttributes sets the MD5OfMessageAttributes field's value. -func (s *SendMessageBatchResultEntry) SetMD5OfMessageAttributes(v string) *SendMessageBatchResultEntry { - s.MD5OfMessageAttributes = &v - return s -} - -// SetMD5OfMessageBody sets the MD5OfMessageBody field's value. -func (s *SendMessageBatchResultEntry) SetMD5OfMessageBody(v string) *SendMessageBatchResultEntry { - s.MD5OfMessageBody = &v - return s -} - -// SetMessageId sets the MessageId field's value. -func (s *SendMessageBatchResultEntry) SetMessageId(v string) *SendMessageBatchResultEntry { - s.MessageId = &v - return s -} - -// SetSequenceNumber sets the SequenceNumber field's value. -func (s *SendMessageBatchResultEntry) SetSequenceNumber(v string) *SendMessageBatchResultEntry { - s.SequenceNumber = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageRequest type SendMessageInput struct { _ struct{} `type:"structure"` @@ -3976,42 +3484,6 @@ func (s *SendMessageInput) Validate() error { return nil } -// SetDelaySeconds sets the DelaySeconds field's value. -func (s *SendMessageInput) SetDelaySeconds(v int64) *SendMessageInput { - s.DelaySeconds = &v - return s -} - -// SetMessageAttributes sets the MessageAttributes field's value. -func (s *SendMessageInput) SetMessageAttributes(v map[string]MessageAttributeValue) *SendMessageInput { - s.MessageAttributes = v - return s -} - -// SetMessageBody sets the MessageBody field's value. -func (s *SendMessageInput) SetMessageBody(v string) *SendMessageInput { - s.MessageBody = &v - return s -} - -// SetMessageDeduplicationId sets the MessageDeduplicationId field's value. -func (s *SendMessageInput) SetMessageDeduplicationId(v string) *SendMessageInput { - s.MessageDeduplicationId = &v - return s -} - -// SetMessageGroupId sets the MessageGroupId field's value. -func (s *SendMessageInput) SetMessageGroupId(v string) *SendMessageInput { - s.MessageGroupId = &v - return s -} - -// SetQueueUrl sets the QueueUrl field's value. -func (s *SendMessageInput) SetQueueUrl(v string) *SendMessageInput { - s.QueueUrl = &v - return s -} - // The MD5OfMessageBody and MessageId elements. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageResult type SendMessageOutput struct { @@ -4060,30 +3532,6 @@ func (s SendMessageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMD5OfMessageAttributes sets the MD5OfMessageAttributes field's value. -func (s *SendMessageOutput) SetMD5OfMessageAttributes(v string) *SendMessageOutput { - s.MD5OfMessageAttributes = &v - return s -} - -// SetMD5OfMessageBody sets the MD5OfMessageBody field's value. -func (s *SendMessageOutput) SetMD5OfMessageBody(v string) *SendMessageOutput { - s.MD5OfMessageBody = &v - return s -} - -// SetMessageId sets the MessageId field's value. -func (s *SendMessageOutput) SetMessageId(v string) *SendMessageOutput { - s.MessageId = &v - return s -} - -// SetSequenceNumber sets the SequenceNumber field's value. -func (s *SendMessageOutput) SetSequenceNumber(v string) *SendMessageOutput { - s.SequenceNumber = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SetQueueAttributesRequest type SetQueueAttributesInput struct { _ struct{} `type:"structure"` @@ -4239,18 +3687,6 @@ func (s *SetQueueAttributesInput) Validate() error { return nil } -// SetAttributes sets the Attributes field's value. -func (s *SetQueueAttributesInput) SetAttributes(v map[string]string) *SetQueueAttributesInput { - s.Attributes = v - return s -} - -// SetQueueUrl sets the QueueUrl field's value. -func (s *SetQueueAttributesInput) SetQueueUrl(v string) *SetQueueAttributesInput { - s.QueueUrl = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SetQueueAttributesOutput type SetQueueAttributesOutput struct { _ struct{} `type:"structure"` @@ -4316,18 +3752,6 @@ func (s *TagQueueInput) Validate() error { return nil } -// SetQueueUrl sets the QueueUrl field's value. -func (s *TagQueueInput) SetQueueUrl(v string) *TagQueueInput { - s.QueueUrl = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagQueueInput) SetTags(v map[string]string) *TagQueueInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/TagQueueOutput type TagQueueOutput struct { _ struct{} `type:"structure"` @@ -4393,18 +3817,6 @@ func (s *UntagQueueInput) Validate() error { return nil } -// SetQueueUrl sets the QueueUrl field's value. -func (s *UntagQueueInput) SetQueueUrl(v string) *UntagQueueInput { - s.QueueUrl = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *UntagQueueInput) SetTagKeys(v []string) *UntagQueueInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/UntagQueueOutput type UntagQueueOutput struct { _ struct{} `type:"structure"` diff --git a/service/ssm/api.go b/service/ssm/api.go index 4a420a54418..c2725f5aa8a 100644 --- a/service/ssm/api.go +++ b/service/ssm/api.go @@ -5546,60 +5546,6 @@ func (s Activation) GoString() string { return s.String() } -// SetActivationId sets the ActivationId field's value. -func (s *Activation) SetActivationId(v string) *Activation { - s.ActivationId = &v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *Activation) SetCreatedDate(v time.Time) *Activation { - s.CreatedDate = &v - return s -} - -// SetDefaultInstanceName sets the DefaultInstanceName field's value. -func (s *Activation) SetDefaultInstanceName(v string) *Activation { - s.DefaultInstanceName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Activation) SetDescription(v string) *Activation { - s.Description = &v - return s -} - -// SetExpirationDate sets the ExpirationDate field's value. -func (s *Activation) SetExpirationDate(v time.Time) *Activation { - s.ExpirationDate = &v - return s -} - -// SetExpired sets the Expired field's value. -func (s *Activation) SetExpired(v bool) *Activation { - s.Expired = &v - return s -} - -// SetIamRole sets the IamRole field's value. -func (s *Activation) SetIamRole(v string) *Activation { - s.IamRole = &v - return s -} - -// SetRegistrationLimit sets the RegistrationLimit field's value. -func (s *Activation) SetRegistrationLimit(v int64) *Activation { - s.RegistrationLimit = &v - return s -} - -// SetRegistrationsCount sets the RegistrationsCount field's value. -func (s *Activation) SetRegistrationsCount(v int64) *Activation { - s.RegistrationsCount = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AddTagsToResourceRequest type AddTagsToResourceInput struct { _ struct{} `type:"structure"` @@ -5665,24 +5611,6 @@ func (s *AddTagsToResourceInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *AddTagsToResourceInput) SetResourceId(v string) *AddTagsToResourceInput { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *AddTagsToResourceInput) SetResourceType(v ResourceTypeForTagging) *AddTagsToResourceInput { - s.ResourceType = v - return s -} - -// SetTags sets the Tags field's value. -func (s *AddTagsToResourceInput) SetTags(v []Tag) *AddTagsToResourceInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AddTagsToResourceResult type AddTagsToResourceOutput struct { _ struct{} `type:"structure"` @@ -5752,66 +5680,6 @@ func (s Association) GoString() string { return s.String() } -// SetAssociationId sets the AssociationId field's value. -func (s *Association) SetAssociationId(v string) *Association { - s.AssociationId = &v - return s -} - -// SetAssociationName sets the AssociationName field's value. -func (s *Association) SetAssociationName(v string) *Association { - s.AssociationName = &v - return s -} - -// SetAssociationVersion sets the AssociationVersion field's value. -func (s *Association) SetAssociationVersion(v string) *Association { - s.AssociationVersion = &v - return s -} - -// SetDocumentVersion sets the DocumentVersion field's value. -func (s *Association) SetDocumentVersion(v string) *Association { - s.DocumentVersion = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *Association) SetInstanceId(v string) *Association { - s.InstanceId = &v - return s -} - -// SetLastExecutionDate sets the LastExecutionDate field's value. -func (s *Association) SetLastExecutionDate(v time.Time) *Association { - s.LastExecutionDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *Association) SetName(v string) *Association { - s.Name = &v - return s -} - -// SetOverview sets the Overview field's value. -func (s *Association) SetOverview(v *AssociationOverview) *Association { - s.Overview = v - return s -} - -// SetScheduleExpression sets the ScheduleExpression field's value. -func (s *Association) SetScheduleExpression(v string) *Association { - s.ScheduleExpression = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *Association) SetTargets(v []Target) *Association { - s.Targets = v - return s -} - // Describes the parameters for a document. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationDescription type AssociationDescription struct { @@ -5876,102 +5744,6 @@ func (s AssociationDescription) GoString() string { return s.String() } -// SetAssociationId sets the AssociationId field's value. -func (s *AssociationDescription) SetAssociationId(v string) *AssociationDescription { - s.AssociationId = &v - return s -} - -// SetAssociationName sets the AssociationName field's value. -func (s *AssociationDescription) SetAssociationName(v string) *AssociationDescription { - s.AssociationName = &v - return s -} - -// SetAssociationVersion sets the AssociationVersion field's value. -func (s *AssociationDescription) SetAssociationVersion(v string) *AssociationDescription { - s.AssociationVersion = &v - return s -} - -// SetDate sets the Date field's value. -func (s *AssociationDescription) SetDate(v time.Time) *AssociationDescription { - s.Date = &v - return s -} - -// SetDocumentVersion sets the DocumentVersion field's value. -func (s *AssociationDescription) SetDocumentVersion(v string) *AssociationDescription { - s.DocumentVersion = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *AssociationDescription) SetInstanceId(v string) *AssociationDescription { - s.InstanceId = &v - return s -} - -// SetLastExecutionDate sets the LastExecutionDate field's value. -func (s *AssociationDescription) SetLastExecutionDate(v time.Time) *AssociationDescription { - s.LastExecutionDate = &v - return s -} - -// SetLastSuccessfulExecutionDate sets the LastSuccessfulExecutionDate field's value. -func (s *AssociationDescription) SetLastSuccessfulExecutionDate(v time.Time) *AssociationDescription { - s.LastSuccessfulExecutionDate = &v - return s -} - -// SetLastUpdateAssociationDate sets the LastUpdateAssociationDate field's value. -func (s *AssociationDescription) SetLastUpdateAssociationDate(v time.Time) *AssociationDescription { - s.LastUpdateAssociationDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *AssociationDescription) SetName(v string) *AssociationDescription { - s.Name = &v - return s -} - -// SetOutputLocation sets the OutputLocation field's value. -func (s *AssociationDescription) SetOutputLocation(v *InstanceAssociationOutputLocation) *AssociationDescription { - s.OutputLocation = v - return s -} - -// SetOverview sets the Overview field's value. -func (s *AssociationDescription) SetOverview(v *AssociationOverview) *AssociationDescription { - s.Overview = v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *AssociationDescription) SetParameters(v map[string][]string) *AssociationDescription { - s.Parameters = v - return s -} - -// SetScheduleExpression sets the ScheduleExpression field's value. -func (s *AssociationDescription) SetScheduleExpression(v string) *AssociationDescription { - s.ScheduleExpression = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *AssociationDescription) SetStatus(v *AssociationStatus) *AssociationDescription { - s.Status = v - return s -} - -// SetTargets sets the Targets field's value. -func (s *AssociationDescription) SetTargets(v []Target) *AssociationDescription { - s.Targets = v - return s -} - // Describes a filter. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationFilter type AssociationFilter struct { @@ -6018,18 +5790,6 @@ func (s *AssociationFilter) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *AssociationFilter) SetKey(v AssociationFilterKey) *AssociationFilter { - s.Key = v - return s -} - -// SetValue sets the Value field's value. -func (s *AssociationFilter) SetValue(v string) *AssociationFilter { - s.Value = &v - return s -} - // Information about the association. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationOverview type AssociationOverview struct { @@ -6057,24 +5817,6 @@ func (s AssociationOverview) GoString() string { return s.String() } -// SetAssociationStatusAggregatedCount sets the AssociationStatusAggregatedCount field's value. -func (s *AssociationOverview) SetAssociationStatusAggregatedCount(v map[string]int64) *AssociationOverview { - s.AssociationStatusAggregatedCount = v - return s -} - -// SetDetailedStatus sets the DetailedStatus field's value. -func (s *AssociationOverview) SetDetailedStatus(v string) *AssociationOverview { - s.DetailedStatus = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *AssociationOverview) SetStatus(v string) *AssociationOverview { - s.Status = &v - return s -} - // Describes an association status. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationStatus type AssociationStatus struct { @@ -6133,30 +5875,6 @@ func (s *AssociationStatus) Validate() error { return nil } -// SetAdditionalInfo sets the AdditionalInfo field's value. -func (s *AssociationStatus) SetAdditionalInfo(v string) *AssociationStatus { - s.AdditionalInfo = &v - return s -} - -// SetDate sets the Date field's value. -func (s *AssociationStatus) SetDate(v time.Time) *AssociationStatus { - s.Date = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *AssociationStatus) SetMessage(v string) *AssociationStatus { - s.Message = &v - return s -} - -// SetName sets the Name field's value. -func (s *AssociationStatus) SetName(v AssociationStatusName) *AssociationStatus { - s.Name = v - return s -} - // Information about the association version. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociationVersionInfo type AssociationVersionInfo struct { @@ -6208,66 +5926,6 @@ func (s AssociationVersionInfo) GoString() string { return s.String() } -// SetAssociationId sets the AssociationId field's value. -func (s *AssociationVersionInfo) SetAssociationId(v string) *AssociationVersionInfo { - s.AssociationId = &v - return s -} - -// SetAssociationName sets the AssociationName field's value. -func (s *AssociationVersionInfo) SetAssociationName(v string) *AssociationVersionInfo { - s.AssociationName = &v - return s -} - -// SetAssociationVersion sets the AssociationVersion field's value. -func (s *AssociationVersionInfo) SetAssociationVersion(v string) *AssociationVersionInfo { - s.AssociationVersion = &v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *AssociationVersionInfo) SetCreatedDate(v time.Time) *AssociationVersionInfo { - s.CreatedDate = &v - return s -} - -// SetDocumentVersion sets the DocumentVersion field's value. -func (s *AssociationVersionInfo) SetDocumentVersion(v string) *AssociationVersionInfo { - s.DocumentVersion = &v - return s -} - -// SetName sets the Name field's value. -func (s *AssociationVersionInfo) SetName(v string) *AssociationVersionInfo { - s.Name = &v - return s -} - -// SetOutputLocation sets the OutputLocation field's value. -func (s *AssociationVersionInfo) SetOutputLocation(v *InstanceAssociationOutputLocation) *AssociationVersionInfo { - s.OutputLocation = v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *AssociationVersionInfo) SetParameters(v map[string][]string) *AssociationVersionInfo { - s.Parameters = v - return s -} - -// SetScheduleExpression sets the ScheduleExpression field's value. -func (s *AssociationVersionInfo) SetScheduleExpression(v string) *AssociationVersionInfo { - s.ScheduleExpression = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *AssociationVersionInfo) SetTargets(v []Target) *AssociationVersionInfo { - s.Targets = v - return s -} - // Detailed information about the current state of an individual Automation // execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AutomationExecution @@ -6356,138 +6014,6 @@ func (s AutomationExecution) GoString() string { return s.String() } -// SetAutomationExecutionId sets the AutomationExecutionId field's value. -func (s *AutomationExecution) SetAutomationExecutionId(v string) *AutomationExecution { - s.AutomationExecutionId = &v - return s -} - -// SetAutomationExecutionStatus sets the AutomationExecutionStatus field's value. -func (s *AutomationExecution) SetAutomationExecutionStatus(v AutomationExecutionStatus) *AutomationExecution { - s.AutomationExecutionStatus = v - return s -} - -// SetCurrentAction sets the CurrentAction field's value. -func (s *AutomationExecution) SetCurrentAction(v string) *AutomationExecution { - s.CurrentAction = &v - return s -} - -// SetCurrentStepName sets the CurrentStepName field's value. -func (s *AutomationExecution) SetCurrentStepName(v string) *AutomationExecution { - s.CurrentStepName = &v - return s -} - -// SetDocumentName sets the DocumentName field's value. -func (s *AutomationExecution) SetDocumentName(v string) *AutomationExecution { - s.DocumentName = &v - return s -} - -// SetDocumentVersion sets the DocumentVersion field's value. -func (s *AutomationExecution) SetDocumentVersion(v string) *AutomationExecution { - s.DocumentVersion = &v - return s -} - -// SetExecutedBy sets the ExecutedBy field's value. -func (s *AutomationExecution) SetExecutedBy(v string) *AutomationExecution { - s.ExecutedBy = &v - return s -} - -// SetExecutionEndTime sets the ExecutionEndTime field's value. -func (s *AutomationExecution) SetExecutionEndTime(v time.Time) *AutomationExecution { - s.ExecutionEndTime = &v - return s -} - -// SetExecutionStartTime sets the ExecutionStartTime field's value. -func (s *AutomationExecution) SetExecutionStartTime(v time.Time) *AutomationExecution { - s.ExecutionStartTime = &v - return s -} - -// SetFailureMessage sets the FailureMessage field's value. -func (s *AutomationExecution) SetFailureMessage(v string) *AutomationExecution { - s.FailureMessage = &v - return s -} - -// SetMaxConcurrency sets the MaxConcurrency field's value. -func (s *AutomationExecution) SetMaxConcurrency(v string) *AutomationExecution { - s.MaxConcurrency = &v - return s -} - -// SetMaxErrors sets the MaxErrors field's value. -func (s *AutomationExecution) SetMaxErrors(v string) *AutomationExecution { - s.MaxErrors = &v - return s -} - -// SetMode sets the Mode field's value. -func (s *AutomationExecution) SetMode(v ExecutionMode) *AutomationExecution { - s.Mode = v - return s -} - -// SetOutputs sets the Outputs field's value. -func (s *AutomationExecution) SetOutputs(v map[string][]string) *AutomationExecution { - s.Outputs = v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *AutomationExecution) SetParameters(v map[string][]string) *AutomationExecution { - s.Parameters = v - return s -} - -// SetParentAutomationExecutionId sets the ParentAutomationExecutionId field's value. -func (s *AutomationExecution) SetParentAutomationExecutionId(v string) *AutomationExecution { - s.ParentAutomationExecutionId = &v - return s -} - -// SetResolvedTargets sets the ResolvedTargets field's value. -func (s *AutomationExecution) SetResolvedTargets(v *ResolvedTargets) *AutomationExecution { - s.ResolvedTargets = v - return s -} - -// SetStepExecutions sets the StepExecutions field's value. -func (s *AutomationExecution) SetStepExecutions(v []StepExecution) *AutomationExecution { - s.StepExecutions = v - return s -} - -// SetStepExecutionsTruncated sets the StepExecutionsTruncated field's value. -func (s *AutomationExecution) SetStepExecutionsTruncated(v bool) *AutomationExecution { - s.StepExecutionsTruncated = &v - return s -} - -// SetTarget sets the Target field's value. -func (s *AutomationExecution) SetTarget(v string) *AutomationExecution { - s.Target = &v - return s -} - -// SetTargetParameterName sets the TargetParameterName field's value. -func (s *AutomationExecution) SetTargetParameterName(v string) *AutomationExecution { - s.TargetParameterName = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *AutomationExecution) SetTargets(v []Target) *AutomationExecution { - s.Targets = v - return s -} - // A filter used to match specific automation executions. This is used to limit // the scope of Automation execution information returned. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AutomationExecutionFilter @@ -6538,18 +6064,6 @@ func (s *AutomationExecutionFilter) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *AutomationExecutionFilter) SetKey(v AutomationExecutionFilterKey) *AutomationExecutionFilter { - s.Key = v - return s -} - -// SetValues sets the Values field's value. -func (s *AutomationExecutionFilter) SetValues(v []string) *AutomationExecutionFilter { - s.Values = v - return s -} - // Details about a specific Automation execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AutomationExecutionMetadata type AutomationExecutionMetadata struct { @@ -6628,126 +6142,6 @@ func (s AutomationExecutionMetadata) GoString() string { return s.String() } -// SetAutomationExecutionId sets the AutomationExecutionId field's value. -func (s *AutomationExecutionMetadata) SetAutomationExecutionId(v string) *AutomationExecutionMetadata { - s.AutomationExecutionId = &v - return s -} - -// SetAutomationExecutionStatus sets the AutomationExecutionStatus field's value. -func (s *AutomationExecutionMetadata) SetAutomationExecutionStatus(v AutomationExecutionStatus) *AutomationExecutionMetadata { - s.AutomationExecutionStatus = v - return s -} - -// SetCurrentAction sets the CurrentAction field's value. -func (s *AutomationExecutionMetadata) SetCurrentAction(v string) *AutomationExecutionMetadata { - s.CurrentAction = &v - return s -} - -// SetCurrentStepName sets the CurrentStepName field's value. -func (s *AutomationExecutionMetadata) SetCurrentStepName(v string) *AutomationExecutionMetadata { - s.CurrentStepName = &v - return s -} - -// SetDocumentName sets the DocumentName field's value. -func (s *AutomationExecutionMetadata) SetDocumentName(v string) *AutomationExecutionMetadata { - s.DocumentName = &v - return s -} - -// SetDocumentVersion sets the DocumentVersion field's value. -func (s *AutomationExecutionMetadata) SetDocumentVersion(v string) *AutomationExecutionMetadata { - s.DocumentVersion = &v - return s -} - -// SetExecutedBy sets the ExecutedBy field's value. -func (s *AutomationExecutionMetadata) SetExecutedBy(v string) *AutomationExecutionMetadata { - s.ExecutedBy = &v - return s -} - -// SetExecutionEndTime sets the ExecutionEndTime field's value. -func (s *AutomationExecutionMetadata) SetExecutionEndTime(v time.Time) *AutomationExecutionMetadata { - s.ExecutionEndTime = &v - return s -} - -// SetExecutionStartTime sets the ExecutionStartTime field's value. -func (s *AutomationExecutionMetadata) SetExecutionStartTime(v time.Time) *AutomationExecutionMetadata { - s.ExecutionStartTime = &v - return s -} - -// SetFailureMessage sets the FailureMessage field's value. -func (s *AutomationExecutionMetadata) SetFailureMessage(v string) *AutomationExecutionMetadata { - s.FailureMessage = &v - return s -} - -// SetLogFile sets the LogFile field's value. -func (s *AutomationExecutionMetadata) SetLogFile(v string) *AutomationExecutionMetadata { - s.LogFile = &v - return s -} - -// SetMaxConcurrency sets the MaxConcurrency field's value. -func (s *AutomationExecutionMetadata) SetMaxConcurrency(v string) *AutomationExecutionMetadata { - s.MaxConcurrency = &v - return s -} - -// SetMaxErrors sets the MaxErrors field's value. -func (s *AutomationExecutionMetadata) SetMaxErrors(v string) *AutomationExecutionMetadata { - s.MaxErrors = &v - return s -} - -// SetMode sets the Mode field's value. -func (s *AutomationExecutionMetadata) SetMode(v ExecutionMode) *AutomationExecutionMetadata { - s.Mode = v - return s -} - -// SetOutputs sets the Outputs field's value. -func (s *AutomationExecutionMetadata) SetOutputs(v map[string][]string) *AutomationExecutionMetadata { - s.Outputs = v - return s -} - -// SetParentAutomationExecutionId sets the ParentAutomationExecutionId field's value. -func (s *AutomationExecutionMetadata) SetParentAutomationExecutionId(v string) *AutomationExecutionMetadata { - s.ParentAutomationExecutionId = &v - return s -} - -// SetResolvedTargets sets the ResolvedTargets field's value. -func (s *AutomationExecutionMetadata) SetResolvedTargets(v *ResolvedTargets) *AutomationExecutionMetadata { - s.ResolvedTargets = v - return s -} - -// SetTarget sets the Target field's value. -func (s *AutomationExecutionMetadata) SetTarget(v string) *AutomationExecutionMetadata { - s.Target = &v - return s -} - -// SetTargetParameterName sets the TargetParameterName field's value. -func (s *AutomationExecutionMetadata) SetTargetParameterName(v string) *AutomationExecutionMetadata { - s.TargetParameterName = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *AutomationExecutionMetadata) SetTargets(v []Target) *AutomationExecutionMetadata { - s.Targets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelCommandRequest type CancelCommandInput struct { _ struct{} `type:"structure"` @@ -6790,18 +6184,6 @@ func (s *CancelCommandInput) Validate() error { return nil } -// SetCommandId sets the CommandId field's value. -func (s *CancelCommandInput) SetCommandId(v string) *CancelCommandInput { - s.CommandId = &v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *CancelCommandInput) SetInstanceIds(v []string) *CancelCommandInput { - s.InstanceIds = v - return s -} - // Whether or not the command was successfully canceled. There is no guarantee // that a request can be canceled. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelCommandResult @@ -6954,126 +6336,6 @@ func (s Command) GoString() string { return s.String() } -// SetCommandId sets the CommandId field's value. -func (s *Command) SetCommandId(v string) *Command { - s.CommandId = &v - return s -} - -// SetComment sets the Comment field's value. -func (s *Command) SetComment(v string) *Command { - s.Comment = &v - return s -} - -// SetCompletedCount sets the CompletedCount field's value. -func (s *Command) SetCompletedCount(v int64) *Command { - s.CompletedCount = &v - return s -} - -// SetDocumentName sets the DocumentName field's value. -func (s *Command) SetDocumentName(v string) *Command { - s.DocumentName = &v - return s -} - -// SetErrorCount sets the ErrorCount field's value. -func (s *Command) SetErrorCount(v int64) *Command { - s.ErrorCount = &v - return s -} - -// SetExpiresAfter sets the ExpiresAfter field's value. -func (s *Command) SetExpiresAfter(v time.Time) *Command { - s.ExpiresAfter = &v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *Command) SetInstanceIds(v []string) *Command { - s.InstanceIds = v - return s -} - -// SetMaxConcurrency sets the MaxConcurrency field's value. -func (s *Command) SetMaxConcurrency(v string) *Command { - s.MaxConcurrency = &v - return s -} - -// SetMaxErrors sets the MaxErrors field's value. -func (s *Command) SetMaxErrors(v string) *Command { - s.MaxErrors = &v - return s -} - -// SetNotificationConfig sets the NotificationConfig field's value. -func (s *Command) SetNotificationConfig(v *NotificationConfig) *Command { - s.NotificationConfig = v - return s -} - -// SetOutputS3BucketName sets the OutputS3BucketName field's value. -func (s *Command) SetOutputS3BucketName(v string) *Command { - s.OutputS3BucketName = &v - return s -} - -// SetOutputS3KeyPrefix sets the OutputS3KeyPrefix field's value. -func (s *Command) SetOutputS3KeyPrefix(v string) *Command { - s.OutputS3KeyPrefix = &v - return s -} - -// SetOutputS3Region sets the OutputS3Region field's value. -func (s *Command) SetOutputS3Region(v string) *Command { - s.OutputS3Region = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *Command) SetParameters(v map[string][]string) *Command { - s.Parameters = v - return s -} - -// SetRequestedDateTime sets the RequestedDateTime field's value. -func (s *Command) SetRequestedDateTime(v time.Time) *Command { - s.RequestedDateTime = &v - return s -} - -// SetServiceRole sets the ServiceRole field's value. -func (s *Command) SetServiceRole(v string) *Command { - s.ServiceRole = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Command) SetStatus(v CommandStatus) *Command { - s.Status = v - return s -} - -// SetStatusDetails sets the StatusDetails field's value. -func (s *Command) SetStatusDetails(v string) *Command { - s.StatusDetails = &v - return s -} - -// SetTargetCount sets the TargetCount field's value. -func (s *Command) SetTargetCount(v int64) *Command { - s.TargetCount = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *Command) SetTargets(v []Target) *Command { - s.Targets = v - return s -} - // Describes a command filter. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CommandFilter type CommandFilter struct { @@ -7120,18 +6382,6 @@ func (s *CommandFilter) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *CommandFilter) SetKey(v CommandFilterKey) *CommandFilter { - s.Key = v - return s -} - -// SetValue sets the Value field's value. -func (s *CommandFilter) SetValue(v string) *CommandFilter { - s.Value = &v - return s -} - // An invocation is copy of a command sent to a specific instance. A command // can apply to one or more instances. A command invocation applies to one instance. // For example, if a user executes SendCommand against three instances, then @@ -7245,94 +6495,10 @@ func (s CommandInvocation) GoString() string { return s.String() } -// SetCommandId sets the CommandId field's value. -func (s *CommandInvocation) SetCommandId(v string) *CommandInvocation { - s.CommandId = &v - return s -} - -// SetCommandPlugins sets the CommandPlugins field's value. -func (s *CommandInvocation) SetCommandPlugins(v []CommandPlugin) *CommandInvocation { - s.CommandPlugins = v - return s -} - -// SetComment sets the Comment field's value. -func (s *CommandInvocation) SetComment(v string) *CommandInvocation { - s.Comment = &v - return s -} - -// SetDocumentName sets the DocumentName field's value. -func (s *CommandInvocation) SetDocumentName(v string) *CommandInvocation { - s.DocumentName = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *CommandInvocation) SetInstanceId(v string) *CommandInvocation { - s.InstanceId = &v - return s -} - -// SetInstanceName sets the InstanceName field's value. -func (s *CommandInvocation) SetInstanceName(v string) *CommandInvocation { - s.InstanceName = &v - return s -} - -// SetNotificationConfig sets the NotificationConfig field's value. -func (s *CommandInvocation) SetNotificationConfig(v *NotificationConfig) *CommandInvocation { - s.NotificationConfig = v - return s -} - -// SetRequestedDateTime sets the RequestedDateTime field's value. -func (s *CommandInvocation) SetRequestedDateTime(v time.Time) *CommandInvocation { - s.RequestedDateTime = &v - return s -} - -// SetServiceRole sets the ServiceRole field's value. -func (s *CommandInvocation) SetServiceRole(v string) *CommandInvocation { - s.ServiceRole = &v - return s -} - -// SetStandardErrorUrl sets the StandardErrorUrl field's value. -func (s *CommandInvocation) SetStandardErrorUrl(v string) *CommandInvocation { - s.StandardErrorUrl = &v - return s -} - -// SetStandardOutputUrl sets the StandardOutputUrl field's value. -func (s *CommandInvocation) SetStandardOutputUrl(v string) *CommandInvocation { - s.StandardOutputUrl = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *CommandInvocation) SetStatus(v CommandInvocationStatus) *CommandInvocation { - s.Status = v - return s -} - -// SetStatusDetails sets the StatusDetails field's value. -func (s *CommandInvocation) SetStatusDetails(v string) *CommandInvocation { - s.StatusDetails = &v - return s -} - -// SetTraceOutput sets the TraceOutput field's value. -func (s *CommandInvocation) SetTraceOutput(v string) *CommandInvocation { - s.TraceOutput = &v - return s -} - -// Describes plugin details. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CommandPlugin -type CommandPlugin struct { - _ struct{} `type:"structure"` +// Describes plugin details. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CommandPlugin +type CommandPlugin struct { + _ struct{} `type:"structure"` // The name of the plugin. Must be one of the following: aws:updateAgent, aws:domainjoin, // aws:applications, aws:runPowerShellScript, aws:psmodule, aws:cloudWatch, @@ -7453,78 +6619,6 @@ func (s CommandPlugin) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *CommandPlugin) SetName(v string) *CommandPlugin { - s.Name = &v - return s -} - -// SetOutput sets the Output field's value. -func (s *CommandPlugin) SetOutput(v string) *CommandPlugin { - s.Output = &v - return s -} - -// SetOutputS3BucketName sets the OutputS3BucketName field's value. -func (s *CommandPlugin) SetOutputS3BucketName(v string) *CommandPlugin { - s.OutputS3BucketName = &v - return s -} - -// SetOutputS3KeyPrefix sets the OutputS3KeyPrefix field's value. -func (s *CommandPlugin) SetOutputS3KeyPrefix(v string) *CommandPlugin { - s.OutputS3KeyPrefix = &v - return s -} - -// SetOutputS3Region sets the OutputS3Region field's value. -func (s *CommandPlugin) SetOutputS3Region(v string) *CommandPlugin { - s.OutputS3Region = &v - return s -} - -// SetResponseCode sets the ResponseCode field's value. -func (s *CommandPlugin) SetResponseCode(v int64) *CommandPlugin { - s.ResponseCode = &v - return s -} - -// SetResponseFinishDateTime sets the ResponseFinishDateTime field's value. -func (s *CommandPlugin) SetResponseFinishDateTime(v time.Time) *CommandPlugin { - s.ResponseFinishDateTime = &v - return s -} - -// SetResponseStartDateTime sets the ResponseStartDateTime field's value. -func (s *CommandPlugin) SetResponseStartDateTime(v time.Time) *CommandPlugin { - s.ResponseStartDateTime = &v - return s -} - -// SetStandardErrorUrl sets the StandardErrorUrl field's value. -func (s *CommandPlugin) SetStandardErrorUrl(v string) *CommandPlugin { - s.StandardErrorUrl = &v - return s -} - -// SetStandardOutputUrl sets the StandardOutputUrl field's value. -func (s *CommandPlugin) SetStandardOutputUrl(v string) *CommandPlugin { - s.StandardOutputUrl = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *CommandPlugin) SetStatus(v CommandPluginStatus) *CommandPlugin { - s.Status = v - return s -} - -// SetStatusDetails sets the StatusDetails field's value. -func (s *CommandPlugin) SetStatusDetails(v string) *CommandPlugin { - s.StatusDetails = &v - return s -} - // A summary of the call execution that includes an execution ID, the type of // execution (for example, Command), and the date/time of the execution using // a datetime object that is saved in the following format: yyyy-MM-dd'T'HH:mm:ss'Z'. @@ -7570,24 +6664,6 @@ func (s *ComplianceExecutionSummary) Validate() error { return nil } -// SetExecutionId sets the ExecutionId field's value. -func (s *ComplianceExecutionSummary) SetExecutionId(v string) *ComplianceExecutionSummary { - s.ExecutionId = &v - return s -} - -// SetExecutionTime sets the ExecutionTime field's value. -func (s *ComplianceExecutionSummary) SetExecutionTime(v time.Time) *ComplianceExecutionSummary { - s.ExecutionTime = &v - return s -} - -// SetExecutionType sets the ExecutionType field's value. -func (s *ComplianceExecutionSummary) SetExecutionType(v string) *ComplianceExecutionSummary { - s.ExecutionType = &v - return s -} - // Information about the compliance as defined by the resource type. For example, // for a patch resource type, Items includes information about the PatchSeverity, // Classification, etc. @@ -7640,60 +6716,6 @@ func (s ComplianceItem) GoString() string { return s.String() } -// SetComplianceType sets the ComplianceType field's value. -func (s *ComplianceItem) SetComplianceType(v string) *ComplianceItem { - s.ComplianceType = &v - return s -} - -// SetDetails sets the Details field's value. -func (s *ComplianceItem) SetDetails(v map[string]string) *ComplianceItem { - s.Details = v - return s -} - -// SetExecutionSummary sets the ExecutionSummary field's value. -func (s *ComplianceItem) SetExecutionSummary(v *ComplianceExecutionSummary) *ComplianceItem { - s.ExecutionSummary = v - return s -} - -// SetId sets the Id field's value. -func (s *ComplianceItem) SetId(v string) *ComplianceItem { - s.Id = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *ComplianceItem) SetResourceId(v string) *ComplianceItem { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *ComplianceItem) SetResourceType(v string) *ComplianceItem { - s.ResourceType = &v - return s -} - -// SetSeverity sets the Severity field's value. -func (s *ComplianceItem) SetSeverity(v ComplianceSeverity) *ComplianceItem { - s.Severity = v - return s -} - -// SetStatus sets the Status field's value. -func (s *ComplianceItem) SetStatus(v ComplianceStatus) *ComplianceItem { - s.Status = v - return s -} - -// SetTitle sets the Title field's value. -func (s *ComplianceItem) SetTitle(v string) *ComplianceItem { - s.Title = &v - return s -} - // Information about a compliance item. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ComplianceItemEntry type ComplianceItemEntry struct { @@ -7752,36 +6774,6 @@ func (s *ComplianceItemEntry) Validate() error { return nil } -// SetDetails sets the Details field's value. -func (s *ComplianceItemEntry) SetDetails(v map[string]string) *ComplianceItemEntry { - s.Details = v - return s -} - -// SetId sets the Id field's value. -func (s *ComplianceItemEntry) SetId(v string) *ComplianceItemEntry { - s.Id = &v - return s -} - -// SetSeverity sets the Severity field's value. -func (s *ComplianceItemEntry) SetSeverity(v ComplianceSeverity) *ComplianceItemEntry { - s.Severity = v - return s -} - -// SetStatus sets the Status field's value. -func (s *ComplianceItemEntry) SetStatus(v ComplianceStatus) *ComplianceItemEntry { - s.Status = v - return s -} - -// SetTitle sets the Title field's value. -func (s *ComplianceItemEntry) SetTitle(v string) *ComplianceItemEntry { - s.Title = &v - return s -} - // One or more filters. Use a filter to return a more specific list of results. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ComplianceStringFilter type ComplianceStringFilter struct { @@ -7824,24 +6816,6 @@ func (s *ComplianceStringFilter) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *ComplianceStringFilter) SetKey(v string) *ComplianceStringFilter { - s.Key = &v - return s -} - -// SetType sets the Type field's value. -func (s *ComplianceStringFilter) SetType(v ComplianceQueryOperatorType) *ComplianceStringFilter { - s.Type = v - return s -} - -// SetValues sets the Values field's value. -func (s *ComplianceStringFilter) SetValues(v []string) *ComplianceStringFilter { - s.Values = v - return s -} - // A summary of compliance information by compliance type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ComplianceSummaryItem type ComplianceSummaryItem struct { @@ -7868,24 +6842,6 @@ func (s ComplianceSummaryItem) GoString() string { return s.String() } -// SetComplianceType sets the ComplianceType field's value. -func (s *ComplianceSummaryItem) SetComplianceType(v string) *ComplianceSummaryItem { - s.ComplianceType = &v - return s -} - -// SetCompliantSummary sets the CompliantSummary field's value. -func (s *ComplianceSummaryItem) SetCompliantSummary(v *CompliantSummary) *ComplianceSummaryItem { - s.CompliantSummary = v - return s -} - -// SetNonCompliantSummary sets the NonCompliantSummary field's value. -func (s *ComplianceSummaryItem) SetNonCompliantSummary(v *NonCompliantSummary) *ComplianceSummaryItem { - s.NonCompliantSummary = v - return s -} - // A summary of resources that are compliant. The summary is organized according // to the resource count for each compliance type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CompliantSummary @@ -7909,18 +6865,6 @@ func (s CompliantSummary) GoString() string { return s.String() } -// SetCompliantCount sets the CompliantCount field's value. -func (s *CompliantSummary) SetCompliantCount(v int64) *CompliantSummary { - s.CompliantCount = &v - return s -} - -// SetSeveritySummary sets the SeveritySummary field's value. -func (s *CompliantSummary) SetSeveritySummary(v *SeveritySummary) *CompliantSummary { - s.SeveritySummary = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateActivationRequest type CreateActivationInput struct { _ struct{} `type:"structure"` @@ -7975,36 +6919,6 @@ func (s *CreateActivationInput) Validate() error { return nil } -// SetDefaultInstanceName sets the DefaultInstanceName field's value. -func (s *CreateActivationInput) SetDefaultInstanceName(v string) *CreateActivationInput { - s.DefaultInstanceName = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateActivationInput) SetDescription(v string) *CreateActivationInput { - s.Description = &v - return s -} - -// SetExpirationDate sets the ExpirationDate field's value. -func (s *CreateActivationInput) SetExpirationDate(v time.Time) *CreateActivationInput { - s.ExpirationDate = &v - return s -} - -// SetIamRole sets the IamRole field's value. -func (s *CreateActivationInput) SetIamRole(v string) *CreateActivationInput { - s.IamRole = &v - return s -} - -// SetRegistrationLimit sets the RegistrationLimit field's value. -func (s *CreateActivationInput) SetRegistrationLimit(v int64) *CreateActivationInput { - s.RegistrationLimit = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateActivationResult type CreateActivationOutput struct { _ struct{} `type:"structure"` @@ -8035,18 +6949,6 @@ func (s CreateActivationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetActivationCode sets the ActivationCode field's value. -func (s *CreateActivationOutput) SetActivationCode(v string) *CreateActivationOutput { - s.ActivationCode = &v - return s -} - -// SetActivationId sets the ActivationId field's value. -func (s *CreateActivationOutput) SetActivationId(v string) *CreateActivationOutput { - s.ActivationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequest type CreateAssociationBatchInput struct { _ struct{} `type:"structure"` @@ -8091,12 +6993,6 @@ func (s *CreateAssociationBatchInput) Validate() error { return nil } -// SetEntries sets the Entries field's value. -func (s *CreateAssociationBatchInput) SetEntries(v []CreateAssociationBatchRequestEntry) *CreateAssociationBatchInput { - s.Entries = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchResult type CreateAssociationBatchOutput struct { _ struct{} `type:"structure"` @@ -8125,18 +7021,6 @@ func (s CreateAssociationBatchOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailed sets the Failed field's value. -func (s *CreateAssociationBatchOutput) SetFailed(v []FailedCreateAssociation) *CreateAssociationBatchOutput { - s.Failed = v - return s -} - -// SetSuccessful sets the Successful field's value. -func (s *CreateAssociationBatchOutput) SetSuccessful(v []AssociationDescription) *CreateAssociationBatchOutput { - s.Successful = v - return s -} - // Describes the association of a Systems Manager document and an instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatchRequestEntry type CreateAssociationBatchRequestEntry struct { @@ -8208,54 +7092,6 @@ func (s *CreateAssociationBatchRequestEntry) Validate() error { return nil } -// SetAssociationName sets the AssociationName field's value. -func (s *CreateAssociationBatchRequestEntry) SetAssociationName(v string) *CreateAssociationBatchRequestEntry { - s.AssociationName = &v - return s -} - -// SetDocumentVersion sets the DocumentVersion field's value. -func (s *CreateAssociationBatchRequestEntry) SetDocumentVersion(v string) *CreateAssociationBatchRequestEntry { - s.DocumentVersion = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *CreateAssociationBatchRequestEntry) SetInstanceId(v string) *CreateAssociationBatchRequestEntry { - s.InstanceId = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateAssociationBatchRequestEntry) SetName(v string) *CreateAssociationBatchRequestEntry { - s.Name = &v - return s -} - -// SetOutputLocation sets the OutputLocation field's value. -func (s *CreateAssociationBatchRequestEntry) SetOutputLocation(v *InstanceAssociationOutputLocation) *CreateAssociationBatchRequestEntry { - s.OutputLocation = v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *CreateAssociationBatchRequestEntry) SetParameters(v map[string][]string) *CreateAssociationBatchRequestEntry { - s.Parameters = v - return s -} - -// SetScheduleExpression sets the ScheduleExpression field's value. -func (s *CreateAssociationBatchRequestEntry) SetScheduleExpression(v string) *CreateAssociationBatchRequestEntry { - s.ScheduleExpression = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *CreateAssociationBatchRequestEntry) SetTargets(v []Target) *CreateAssociationBatchRequestEntry { - s.Targets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationRequest type CreateAssociationInput struct { _ struct{} `type:"structure"` @@ -8327,54 +7163,6 @@ func (s *CreateAssociationInput) Validate() error { return nil } -// SetAssociationName sets the AssociationName field's value. -func (s *CreateAssociationInput) SetAssociationName(v string) *CreateAssociationInput { - s.AssociationName = &v - return s -} - -// SetDocumentVersion sets the DocumentVersion field's value. -func (s *CreateAssociationInput) SetDocumentVersion(v string) *CreateAssociationInput { - s.DocumentVersion = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *CreateAssociationInput) SetInstanceId(v string) *CreateAssociationInput { - s.InstanceId = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateAssociationInput) SetName(v string) *CreateAssociationInput { - s.Name = &v - return s -} - -// SetOutputLocation sets the OutputLocation field's value. -func (s *CreateAssociationInput) SetOutputLocation(v *InstanceAssociationOutputLocation) *CreateAssociationInput { - s.OutputLocation = v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *CreateAssociationInput) SetParameters(v map[string][]string) *CreateAssociationInput { - s.Parameters = v - return s -} - -// SetScheduleExpression sets the ScheduleExpression field's value. -func (s *CreateAssociationInput) SetScheduleExpression(v string) *CreateAssociationInput { - s.ScheduleExpression = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *CreateAssociationInput) SetTargets(v []Target) *CreateAssociationInput { - s.Targets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationResult type CreateAssociationOutput struct { _ struct{} `type:"structure"` @@ -8400,12 +7188,6 @@ func (s CreateAssociationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssociationDescription sets the AssociationDescription field's value. -func (s *CreateAssociationOutput) SetAssociationDescription(v *AssociationDescription) *CreateAssociationOutput { - s.AssociationDescription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocumentRequest type CreateDocumentInput struct { _ struct{} `type:"structure"` @@ -8469,36 +7251,6 @@ func (s *CreateDocumentInput) Validate() error { return nil } -// SetContent sets the Content field's value. -func (s *CreateDocumentInput) SetContent(v string) *CreateDocumentInput { - s.Content = &v - return s -} - -// SetDocumentFormat sets the DocumentFormat field's value. -func (s *CreateDocumentInput) SetDocumentFormat(v DocumentFormat) *CreateDocumentInput { - s.DocumentFormat = v - return s -} - -// SetDocumentType sets the DocumentType field's value. -func (s *CreateDocumentInput) SetDocumentType(v DocumentType) *CreateDocumentInput { - s.DocumentType = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateDocumentInput) SetName(v string) *CreateDocumentInput { - s.Name = &v - return s -} - -// SetTargetType sets the TargetType field's value. -func (s *CreateDocumentInput) SetTargetType(v string) *CreateDocumentInput { - s.TargetType = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocumentResult type CreateDocumentOutput struct { _ struct{} `type:"structure"` @@ -8524,12 +7276,6 @@ func (s CreateDocumentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDocumentDescription sets the DocumentDescription field's value. -func (s *CreateDocumentOutput) SetDocumentDescription(v *DocumentDescription) *CreateDocumentOutput { - s.DocumentDescription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateMaintenanceWindowRequest type CreateMaintenanceWindowInput struct { _ struct{} `type:"structure"` @@ -8629,48 +7375,6 @@ func (s *CreateMaintenanceWindowInput) Validate() error { return nil } -// SetAllowUnassociatedTargets sets the AllowUnassociatedTargets field's value. -func (s *CreateMaintenanceWindowInput) SetAllowUnassociatedTargets(v bool) *CreateMaintenanceWindowInput { - s.AllowUnassociatedTargets = &v - return s -} - -// SetClientToken sets the ClientToken field's value. -func (s *CreateMaintenanceWindowInput) SetClientToken(v string) *CreateMaintenanceWindowInput { - s.ClientToken = &v - return s -} - -// SetCutoff sets the Cutoff field's value. -func (s *CreateMaintenanceWindowInput) SetCutoff(v int64) *CreateMaintenanceWindowInput { - s.Cutoff = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreateMaintenanceWindowInput) SetDescription(v string) *CreateMaintenanceWindowInput { - s.Description = &v - return s -} - -// SetDuration sets the Duration field's value. -func (s *CreateMaintenanceWindowInput) SetDuration(v int64) *CreateMaintenanceWindowInput { - s.Duration = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateMaintenanceWindowInput) SetName(v string) *CreateMaintenanceWindowInput { - s.Name = &v - return s -} - -// SetSchedule sets the Schedule field's value. -func (s *CreateMaintenanceWindowInput) SetSchedule(v string) *CreateMaintenanceWindowInput { - s.Schedule = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateMaintenanceWindowResult type CreateMaintenanceWindowOutput struct { _ struct{} `type:"structure"` @@ -8696,12 +7400,6 @@ func (s CreateMaintenanceWindowOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetWindowId sets the WindowId field's value. -func (s *CreateMaintenanceWindowOutput) SetWindowId(v string) *CreateMaintenanceWindowOutput { - s.WindowId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreatePatchBaselineRequest type CreatePatchBaselineInput struct { _ struct{} `type:"structure"` @@ -8783,60 +7481,6 @@ func (s *CreatePatchBaselineInput) Validate() error { return nil } -// SetApprovalRules sets the ApprovalRules field's value. -func (s *CreatePatchBaselineInput) SetApprovalRules(v *PatchRuleGroup) *CreatePatchBaselineInput { - s.ApprovalRules = v - return s -} - -// SetApprovedPatches sets the ApprovedPatches field's value. -func (s *CreatePatchBaselineInput) SetApprovedPatches(v []string) *CreatePatchBaselineInput { - s.ApprovedPatches = v - return s -} - -// SetApprovedPatchesComplianceLevel sets the ApprovedPatchesComplianceLevel field's value. -func (s *CreatePatchBaselineInput) SetApprovedPatchesComplianceLevel(v PatchComplianceLevel) *CreatePatchBaselineInput { - s.ApprovedPatchesComplianceLevel = v - return s -} - -// SetClientToken sets the ClientToken field's value. -func (s *CreatePatchBaselineInput) SetClientToken(v string) *CreatePatchBaselineInput { - s.ClientToken = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *CreatePatchBaselineInput) SetDescription(v string) *CreatePatchBaselineInput { - s.Description = &v - return s -} - -// SetGlobalFilters sets the GlobalFilters field's value. -func (s *CreatePatchBaselineInput) SetGlobalFilters(v *PatchFilterGroup) *CreatePatchBaselineInput { - s.GlobalFilters = v - return s -} - -// SetName sets the Name field's value. -func (s *CreatePatchBaselineInput) SetName(v string) *CreatePatchBaselineInput { - s.Name = &v - return s -} - -// SetOperatingSystem sets the OperatingSystem field's value. -func (s *CreatePatchBaselineInput) SetOperatingSystem(v OperatingSystem) *CreatePatchBaselineInput { - s.OperatingSystem = v - return s -} - -// SetRejectedPatches sets the RejectedPatches field's value. -func (s *CreatePatchBaselineInput) SetRejectedPatches(v []string) *CreatePatchBaselineInput { - s.RejectedPatches = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreatePatchBaselineResult type CreatePatchBaselineOutput struct { _ struct{} `type:"structure"` @@ -8862,12 +7506,6 @@ func (s CreatePatchBaselineOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBaselineId sets the BaselineId field's value. -func (s *CreatePatchBaselineOutput) SetBaselineId(v string) *CreatePatchBaselineOutput { - s.BaselineId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateResourceDataSyncRequest type CreateResourceDataSyncInput struct { _ struct{} `type:"structure"` @@ -8919,18 +7557,6 @@ func (s *CreateResourceDataSyncInput) Validate() error { return nil } -// SetS3Destination sets the S3Destination field's value. -func (s *CreateResourceDataSyncInput) SetS3Destination(v *ResourceDataSyncS3Destination) *CreateResourceDataSyncInput { - s.S3Destination = v - return s -} - -// SetSyncName sets the SyncName field's value. -func (s *CreateResourceDataSyncInput) SetSyncName(v string) *CreateResourceDataSyncInput { - s.SyncName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateResourceDataSyncResult type CreateResourceDataSyncOutput struct { _ struct{} `type:"structure"` @@ -8987,12 +7613,6 @@ func (s *DeleteActivationInput) Validate() error { return nil } -// SetActivationId sets the ActivationId field's value. -func (s *DeleteActivationInput) SetActivationId(v string) *DeleteActivationInput { - s.ActivationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteActivationResult type DeleteActivationOutput struct { _ struct{} `type:"structure"` @@ -9039,24 +7659,6 @@ func (s DeleteAssociationInput) GoString() string { return s.String() } -// SetAssociationId sets the AssociationId field's value. -func (s *DeleteAssociationInput) SetAssociationId(v string) *DeleteAssociationInput { - s.AssociationId = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *DeleteAssociationInput) SetInstanceId(v string) *DeleteAssociationInput { - s.InstanceId = &v - return s -} - -// SetName sets the Name field's value. -func (s *DeleteAssociationInput) SetName(v string) *DeleteAssociationInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteAssociationResult type DeleteAssociationOutput struct { _ struct{} `type:"structure"` @@ -9113,12 +7715,6 @@ func (s *DeleteDocumentInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteDocumentInput) SetName(v string) *DeleteDocumentInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteDocumentResult type DeleteDocumentOutput struct { _ struct{} `type:"structure"` @@ -9178,12 +7774,6 @@ func (s *DeleteMaintenanceWindowInput) Validate() error { return nil } -// SetWindowId sets the WindowId field's value. -func (s *DeleteMaintenanceWindowInput) SetWindowId(v string) *DeleteMaintenanceWindowInput { - s.WindowId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteMaintenanceWindowResult type DeleteMaintenanceWindowOutput struct { _ struct{} `type:"structure"` @@ -9209,12 +7799,6 @@ func (s DeleteMaintenanceWindowOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetWindowId sets the WindowId field's value. -func (s *DeleteMaintenanceWindowOutput) SetWindowId(v string) *DeleteMaintenanceWindowOutput { - s.WindowId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameterRequest type DeleteParameterInput struct { _ struct{} `type:"structure"` @@ -9252,12 +7836,6 @@ func (s *DeleteParameterInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeleteParameterInput) SetName(v string) *DeleteParameterInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameterResult type DeleteParameterOutput struct { _ struct{} `type:"structure"` @@ -9317,12 +7895,6 @@ func (s *DeleteParametersInput) Validate() error { return nil } -// SetNames sets the Names field's value. -func (s *DeleteParametersInput) SetNames(v []string) *DeleteParametersInput { - s.Names = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParametersResult type DeleteParametersOutput struct { _ struct{} `type:"structure"` @@ -9352,18 +7924,6 @@ func (s DeleteParametersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDeletedParameters sets the DeletedParameters field's value. -func (s *DeleteParametersOutput) SetDeletedParameters(v []string) *DeleteParametersOutput { - s.DeletedParameters = v - return s -} - -// SetInvalidParameters sets the InvalidParameters field's value. -func (s *DeleteParametersOutput) SetInvalidParameters(v []string) *DeleteParametersOutput { - s.InvalidParameters = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeletePatchBaselineRequest type DeletePatchBaselineInput struct { _ struct{} `type:"structure"` @@ -9401,12 +7961,6 @@ func (s *DeletePatchBaselineInput) Validate() error { return nil } -// SetBaselineId sets the BaselineId field's value. -func (s *DeletePatchBaselineInput) SetBaselineId(v string) *DeletePatchBaselineInput { - s.BaselineId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeletePatchBaselineResult type DeletePatchBaselineOutput struct { _ struct{} `type:"structure"` @@ -9432,12 +7986,6 @@ func (s DeletePatchBaselineOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBaselineId sets the BaselineId field's value. -func (s *DeletePatchBaselineOutput) SetBaselineId(v string) *DeletePatchBaselineOutput { - s.BaselineId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourceDataSyncRequest type DeleteResourceDataSyncInput struct { _ struct{} `type:"structure"` @@ -9475,12 +8023,6 @@ func (s *DeleteResourceDataSyncInput) Validate() error { return nil } -// SetSyncName sets the SyncName field's value. -func (s *DeleteResourceDataSyncInput) SetSyncName(v string) *DeleteResourceDataSyncInput { - s.SyncName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourceDataSyncResult type DeleteResourceDataSyncOutput struct { _ struct{} `type:"structure"` @@ -9538,12 +8080,6 @@ func (s *DeregisterManagedInstanceInput) Validate() error { return nil } -// SetInstanceId sets the InstanceId field's value. -func (s *DeregisterManagedInstanceInput) SetInstanceId(v string) *DeregisterManagedInstanceInput { - s.InstanceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterManagedInstanceResult type DeregisterManagedInstanceOutput struct { _ struct{} `type:"structure"` @@ -9615,18 +8151,6 @@ func (s *DeregisterPatchBaselineForPatchGroupInput) Validate() error { return nil } -// SetBaselineId sets the BaselineId field's value. -func (s *DeregisterPatchBaselineForPatchGroupInput) SetBaselineId(v string) *DeregisterPatchBaselineForPatchGroupInput { - s.BaselineId = &v - return s -} - -// SetPatchGroup sets the PatchGroup field's value. -func (s *DeregisterPatchBaselineForPatchGroupInput) SetPatchGroup(v string) *DeregisterPatchBaselineForPatchGroupInput { - s.PatchGroup = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterPatchBaselineForPatchGroupResult type DeregisterPatchBaselineForPatchGroupOutput struct { _ struct{} `type:"structure"` @@ -9655,18 +8179,6 @@ func (s DeregisterPatchBaselineForPatchGroupOutput) SDKResponseMetadata() aws.Re return s.responseMetadata } -// SetBaselineId sets the BaselineId field's value. -func (s *DeregisterPatchBaselineForPatchGroupOutput) SetBaselineId(v string) *DeregisterPatchBaselineForPatchGroupOutput { - s.BaselineId = &v - return s -} - -// SetPatchGroup sets the PatchGroup field's value. -func (s *DeregisterPatchBaselineForPatchGroupOutput) SetPatchGroup(v string) *DeregisterPatchBaselineForPatchGroupOutput { - s.PatchGroup = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTargetFromMaintenanceWindowRequest type DeregisterTargetFromMaintenanceWindowInput struct { _ struct{} `type:"structure"` @@ -9721,24 +8233,6 @@ func (s *DeregisterTargetFromMaintenanceWindowInput) Validate() error { return nil } -// SetSafe sets the Safe field's value. -func (s *DeregisterTargetFromMaintenanceWindowInput) SetSafe(v bool) *DeregisterTargetFromMaintenanceWindowInput { - s.Safe = &v - return s -} - -// SetWindowId sets the WindowId field's value. -func (s *DeregisterTargetFromMaintenanceWindowInput) SetWindowId(v string) *DeregisterTargetFromMaintenanceWindowInput { - s.WindowId = &v - return s -} - -// SetWindowTargetId sets the WindowTargetId field's value. -func (s *DeregisterTargetFromMaintenanceWindowInput) SetWindowTargetId(v string) *DeregisterTargetFromMaintenanceWindowInput { - s.WindowTargetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTargetFromMaintenanceWindowResult type DeregisterTargetFromMaintenanceWindowOutput struct { _ struct{} `type:"structure"` @@ -9767,18 +8261,6 @@ func (s DeregisterTargetFromMaintenanceWindowOutput) SDKResponseMetadata() aws.R return s.responseMetadata } -// SetWindowId sets the WindowId field's value. -func (s *DeregisterTargetFromMaintenanceWindowOutput) SetWindowId(v string) *DeregisterTargetFromMaintenanceWindowOutput { - s.WindowId = &v - return s -} - -// SetWindowTargetId sets the WindowTargetId field's value. -func (s *DeregisterTargetFromMaintenanceWindowOutput) SetWindowTargetId(v string) *DeregisterTargetFromMaintenanceWindowOutput { - s.WindowTargetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTaskFromMaintenanceWindowRequest type DeregisterTaskFromMaintenanceWindowInput struct { _ struct{} `type:"structure"` @@ -9828,18 +8310,6 @@ func (s *DeregisterTaskFromMaintenanceWindowInput) Validate() error { return nil } -// SetWindowId sets the WindowId field's value. -func (s *DeregisterTaskFromMaintenanceWindowInput) SetWindowId(v string) *DeregisterTaskFromMaintenanceWindowInput { - s.WindowId = &v - return s -} - -// SetWindowTaskId sets the WindowTaskId field's value. -func (s *DeregisterTaskFromMaintenanceWindowInput) SetWindowTaskId(v string) *DeregisterTaskFromMaintenanceWindowInput { - s.WindowTaskId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTaskFromMaintenanceWindowResult type DeregisterTaskFromMaintenanceWindowOutput struct { _ struct{} `type:"structure"` @@ -9868,18 +8338,6 @@ func (s DeregisterTaskFromMaintenanceWindowOutput) SDKResponseMetadata() aws.Res return s.responseMetadata } -// SetWindowId sets the WindowId field's value. -func (s *DeregisterTaskFromMaintenanceWindowOutput) SetWindowId(v string) *DeregisterTaskFromMaintenanceWindowOutput { - s.WindowId = &v - return s -} - -// SetWindowTaskId sets the WindowTaskId field's value. -func (s *DeregisterTaskFromMaintenanceWindowOutput) SetWindowTaskId(v string) *DeregisterTaskFromMaintenanceWindowOutput { - s.WindowTaskId = &v - return s -} - // Filter for the DescribeActivation API. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeActivationsFilter type DescribeActivationsFilter struct { @@ -9902,18 +8360,6 @@ func (s DescribeActivationsFilter) GoString() string { return s.String() } -// SetFilterKey sets the FilterKey field's value. -func (s *DescribeActivationsFilter) SetFilterKey(v DescribeActivationsFilterKeys) *DescribeActivationsFilter { - s.FilterKey = v - return s -} - -// SetFilterValues sets the FilterValues field's value. -func (s *DescribeActivationsFilter) SetFilterValues(v []string) *DescribeActivationsFilter { - s.FilterValues = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeActivationsRequest type DescribeActivationsInput struct { _ struct{} `type:"structure"` @@ -9953,24 +8399,6 @@ func (s *DescribeActivationsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeActivationsInput) SetFilters(v []DescribeActivationsFilter) *DescribeActivationsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeActivationsInput) SetMaxResults(v int64) *DescribeActivationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeActivationsInput) SetNextToken(v string) *DescribeActivationsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeActivationsResult type DescribeActivationsOutput struct { _ struct{} `type:"structure"` @@ -10000,18 +8428,6 @@ func (s DescribeActivationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetActivationList sets the ActivationList field's value. -func (s *DescribeActivationsOutput) SetActivationList(v []Activation) *DescribeActivationsOutput { - s.ActivationList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeActivationsOutput) SetNextToken(v string) *DescribeActivationsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociationRequest type DescribeAssociationInput struct { _ struct{} `type:"structure"` @@ -10042,30 +8458,6 @@ func (s DescribeAssociationInput) GoString() string { return s.String() } -// SetAssociationId sets the AssociationId field's value. -func (s *DescribeAssociationInput) SetAssociationId(v string) *DescribeAssociationInput { - s.AssociationId = &v - return s -} - -// SetAssociationVersion sets the AssociationVersion field's value. -func (s *DescribeAssociationInput) SetAssociationVersion(v string) *DescribeAssociationInput { - s.AssociationVersion = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *DescribeAssociationInput) SetInstanceId(v string) *DescribeAssociationInput { - s.InstanceId = &v - return s -} - -// SetName sets the Name field's value. -func (s *DescribeAssociationInput) SetName(v string) *DescribeAssociationInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociationResult type DescribeAssociationOutput struct { _ struct{} `type:"structure"` @@ -10091,12 +8483,6 @@ func (s DescribeAssociationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssociationDescription sets the AssociationDescription field's value. -func (s *DescribeAssociationOutput) SetAssociationDescription(v *AssociationDescription) *DescribeAssociationOutput { - s.AssociationDescription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationExecutionsRequest type DescribeAutomationExecutionsInput struct { _ struct{} `type:"structure"` @@ -10147,24 +8533,6 @@ func (s *DescribeAutomationExecutionsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeAutomationExecutionsInput) SetFilters(v []AutomationExecutionFilter) *DescribeAutomationExecutionsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeAutomationExecutionsInput) SetMaxResults(v int64) *DescribeAutomationExecutionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAutomationExecutionsInput) SetNextToken(v string) *DescribeAutomationExecutionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationExecutionsResult type DescribeAutomationExecutionsOutput struct { _ struct{} `type:"structure"` @@ -10195,18 +8563,6 @@ func (s DescribeAutomationExecutionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAutomationExecutionMetadataList sets the AutomationExecutionMetadataList field's value. -func (s *DescribeAutomationExecutionsOutput) SetAutomationExecutionMetadataList(v []AutomationExecutionMetadata) *DescribeAutomationExecutionsOutput { - s.AutomationExecutionMetadataList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAutomationExecutionsOutput) SetNextToken(v string) *DescribeAutomationExecutionsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationStepExecutionsRequest type DescribeAutomationStepExecutionsInput struct { _ struct{} `type:"structure"` @@ -10274,36 +8630,6 @@ func (s *DescribeAutomationStepExecutionsInput) Validate() error { return nil } -// SetAutomationExecutionId sets the AutomationExecutionId field's value. -func (s *DescribeAutomationStepExecutionsInput) SetAutomationExecutionId(v string) *DescribeAutomationStepExecutionsInput { - s.AutomationExecutionId = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *DescribeAutomationStepExecutionsInput) SetFilters(v []StepExecutionFilter) *DescribeAutomationStepExecutionsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeAutomationStepExecutionsInput) SetMaxResults(v int64) *DescribeAutomationStepExecutionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAutomationStepExecutionsInput) SetNextToken(v string) *DescribeAutomationStepExecutionsInput { - s.NextToken = &v - return s -} - -// SetReverseOrder sets the ReverseOrder field's value. -func (s *DescribeAutomationStepExecutionsInput) SetReverseOrder(v bool) *DescribeAutomationStepExecutionsInput { - s.ReverseOrder = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationStepExecutionsResult type DescribeAutomationStepExecutionsOutput struct { _ struct{} `type:"structure"` @@ -10333,18 +8659,6 @@ func (s DescribeAutomationStepExecutionsOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeAutomationStepExecutionsOutput) SetNextToken(v string) *DescribeAutomationStepExecutionsOutput { - s.NextToken = &v - return s -} - -// SetStepExecutions sets the StepExecutions field's value. -func (s *DescribeAutomationStepExecutionsOutput) SetStepExecutions(v []StepExecution) *DescribeAutomationStepExecutionsOutput { - s.StepExecutions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAvailablePatchesRequest type DescribeAvailablePatchesInput struct { _ struct{} `type:"structure"` @@ -10390,24 +8704,6 @@ func (s *DescribeAvailablePatchesInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeAvailablePatchesInput) SetFilters(v []PatchOrchestratorFilter) *DescribeAvailablePatchesInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeAvailablePatchesInput) SetMaxResults(v int64) *DescribeAvailablePatchesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAvailablePatchesInput) SetNextToken(v string) *DescribeAvailablePatchesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAvailablePatchesResult type DescribeAvailablePatchesOutput struct { _ struct{} `type:"structure"` @@ -10437,18 +8733,6 @@ func (s DescribeAvailablePatchesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeAvailablePatchesOutput) SetNextToken(v string) *DescribeAvailablePatchesOutput { - s.NextToken = &v - return s -} - -// SetPatches sets the Patches field's value. -func (s *DescribeAvailablePatchesOutput) SetPatches(v []Patch) *DescribeAvailablePatchesOutput { - s.Patches = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentRequest type DescribeDocumentInput struct { _ struct{} `type:"structure"` @@ -10487,18 +8771,6 @@ func (s *DescribeDocumentInput) Validate() error { return nil } -// SetDocumentVersion sets the DocumentVersion field's value. -func (s *DescribeDocumentInput) SetDocumentVersion(v string) *DescribeDocumentInput { - s.DocumentVersion = &v - return s -} - -// SetName sets the Name field's value. -func (s *DescribeDocumentInput) SetName(v string) *DescribeDocumentInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentResult type DescribeDocumentOutput struct { _ struct{} `type:"structure"` @@ -10524,12 +8796,6 @@ func (s DescribeDocumentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDocument sets the Document field's value. -func (s *DescribeDocumentOutput) SetDocument(v *DocumentDescription) *DescribeDocumentOutput { - s.Document = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermissionRequest type DescribeDocumentPermissionInput struct { _ struct{} `type:"structure"` @@ -10572,18 +8838,6 @@ func (s *DescribeDocumentPermissionInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DescribeDocumentPermissionInput) SetName(v string) *DescribeDocumentPermissionInput { - s.Name = &v - return s -} - -// SetPermissionType sets the PermissionType field's value. -func (s *DescribeDocumentPermissionInput) SetPermissionType(v DocumentPermissionType) *DescribeDocumentPermissionInput { - s.PermissionType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermissionResponse type DescribeDocumentPermissionOutput struct { _ struct{} `type:"structure"` @@ -10610,12 +8864,6 @@ func (s DescribeDocumentPermissionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAccountIds sets the AccountIds field's value. -func (s *DescribeDocumentPermissionOutput) SetAccountIds(v []string) *DescribeDocumentPermissionOutput { - s.AccountIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectiveInstanceAssociationsRequest type DescribeEffectiveInstanceAssociationsInput struct { _ struct{} `type:"structure"` @@ -10662,24 +8910,6 @@ func (s *DescribeEffectiveInstanceAssociationsInput) Validate() error { return nil } -// SetInstanceId sets the InstanceId field's value. -func (s *DescribeEffectiveInstanceAssociationsInput) SetInstanceId(v string) *DescribeEffectiveInstanceAssociationsInput { - s.InstanceId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeEffectiveInstanceAssociationsInput) SetMaxResults(v int64) *DescribeEffectiveInstanceAssociationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEffectiveInstanceAssociationsInput) SetNextToken(v string) *DescribeEffectiveInstanceAssociationsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectiveInstanceAssociationsResult type DescribeEffectiveInstanceAssociationsOutput struct { _ struct{} `type:"structure"` @@ -10709,18 +8939,6 @@ func (s DescribeEffectiveInstanceAssociationsOutput) SDKResponseMetadata() aws.R return s.responseMetadata } -// SetAssociations sets the Associations field's value. -func (s *DescribeEffectiveInstanceAssociationsOutput) SetAssociations(v []InstanceAssociation) *DescribeEffectiveInstanceAssociationsOutput { - s.Associations = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEffectiveInstanceAssociationsOutput) SetNextToken(v string) *DescribeEffectiveInstanceAssociationsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectivePatchesForPatchBaselineRequest type DescribeEffectivePatchesForPatchBaselineInput struct { _ struct{} `type:"structure"` @@ -10768,24 +8986,6 @@ func (s *DescribeEffectivePatchesForPatchBaselineInput) Validate() error { return nil } -// SetBaselineId sets the BaselineId field's value. -func (s *DescribeEffectivePatchesForPatchBaselineInput) SetBaselineId(v string) *DescribeEffectivePatchesForPatchBaselineInput { - s.BaselineId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeEffectivePatchesForPatchBaselineInput) SetMaxResults(v int64) *DescribeEffectivePatchesForPatchBaselineInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEffectivePatchesForPatchBaselineInput) SetNextToken(v string) *DescribeEffectivePatchesForPatchBaselineInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectivePatchesForPatchBaselineResult type DescribeEffectivePatchesForPatchBaselineOutput struct { _ struct{} `type:"structure"` @@ -10815,18 +9015,6 @@ func (s DescribeEffectivePatchesForPatchBaselineOutput) SDKResponseMetadata() aw return s.responseMetadata } -// SetEffectivePatches sets the EffectivePatches field's value. -func (s *DescribeEffectivePatchesForPatchBaselineOutput) SetEffectivePatches(v []EffectivePatch) *DescribeEffectivePatchesForPatchBaselineOutput { - s.EffectivePatches = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeEffectivePatchesForPatchBaselineOutput) SetNextToken(v string) *DescribeEffectivePatchesForPatchBaselineOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceAssociationsStatusRequest type DescribeInstanceAssociationsStatusInput struct { _ struct{} `type:"structure"` @@ -10873,24 +9061,6 @@ func (s *DescribeInstanceAssociationsStatusInput) Validate() error { return nil } -// SetInstanceId sets the InstanceId field's value. -func (s *DescribeInstanceAssociationsStatusInput) SetInstanceId(v string) *DescribeInstanceAssociationsStatusInput { - s.InstanceId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeInstanceAssociationsStatusInput) SetMaxResults(v int64) *DescribeInstanceAssociationsStatusInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeInstanceAssociationsStatusInput) SetNextToken(v string) *DescribeInstanceAssociationsStatusInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceAssociationsStatusResult type DescribeInstanceAssociationsStatusOutput struct { _ struct{} `type:"structure"` @@ -10920,18 +9090,6 @@ func (s DescribeInstanceAssociationsStatusOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetInstanceAssociationStatusInfos sets the InstanceAssociationStatusInfos field's value. -func (s *DescribeInstanceAssociationsStatusOutput) SetInstanceAssociationStatusInfos(v []InstanceAssociationStatusInfo) *DescribeInstanceAssociationsStatusOutput { - s.InstanceAssociationStatusInfos = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeInstanceAssociationsStatusOutput) SetNextToken(v string) *DescribeInstanceAssociationsStatusOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceInformationRequest type DescribeInstanceInformationInput struct { _ struct{} `type:"structure"` @@ -10989,30 +9147,6 @@ func (s *DescribeInstanceInformationInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeInstanceInformationInput) SetFilters(v []InstanceInformationStringFilter) *DescribeInstanceInformationInput { - s.Filters = v - return s -} - -// SetInstanceInformationFilterList sets the InstanceInformationFilterList field's value. -func (s *DescribeInstanceInformationInput) SetInstanceInformationFilterList(v []InstanceInformationFilter) *DescribeInstanceInformationInput { - s.InstanceInformationFilterList = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeInstanceInformationInput) SetMaxResults(v int64) *DescribeInstanceInformationInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeInstanceInformationInput) SetNextToken(v string) *DescribeInstanceInformationInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceInformationResult type DescribeInstanceInformationOutput struct { _ struct{} `type:"structure"` @@ -11042,18 +9176,6 @@ func (s DescribeInstanceInformationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstanceInformationList sets the InstanceInformationList field's value. -func (s *DescribeInstanceInformationOutput) SetInstanceInformationList(v []InstanceInformation) *DescribeInstanceInformationOutput { - s.InstanceInformationList = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeInstanceInformationOutput) SetNextToken(v string) *DescribeInstanceInformationOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesForPatchGroupRequest type DescribeInstancePatchStatesForPatchGroupInput struct { _ struct{} `type:"structure"` @@ -11118,30 +9240,6 @@ func (s *DescribeInstancePatchStatesForPatchGroupInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeInstancePatchStatesForPatchGroupInput) SetFilters(v []InstancePatchStateFilter) *DescribeInstancePatchStatesForPatchGroupInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeInstancePatchStatesForPatchGroupInput) SetMaxResults(v int64) *DescribeInstancePatchStatesForPatchGroupInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeInstancePatchStatesForPatchGroupInput) SetNextToken(v string) *DescribeInstancePatchStatesForPatchGroupInput { - s.NextToken = &v - return s -} - -// SetPatchGroup sets the PatchGroup field's value. -func (s *DescribeInstancePatchStatesForPatchGroupInput) SetPatchGroup(v string) *DescribeInstancePatchStatesForPatchGroupInput { - s.PatchGroup = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesForPatchGroupResult type DescribeInstancePatchStatesForPatchGroupOutput struct { _ struct{} `type:"structure"` @@ -11171,18 +9269,6 @@ func (s DescribeInstancePatchStatesForPatchGroupOutput) SDKResponseMetadata() aw return s.responseMetadata } -// SetInstancePatchStates sets the InstancePatchStates field's value. -func (s *DescribeInstancePatchStatesForPatchGroupOutput) SetInstancePatchStates(v []InstancePatchState) *DescribeInstancePatchStatesForPatchGroupOutput { - s.InstancePatchStates = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeInstancePatchStatesForPatchGroupOutput) SetNextToken(v string) *DescribeInstancePatchStatesForPatchGroupOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesRequest type DescribeInstancePatchStatesInput struct { _ struct{} `type:"structure"` @@ -11227,24 +9313,6 @@ func (s *DescribeInstancePatchStatesInput) Validate() error { return nil } -// SetInstanceIds sets the InstanceIds field's value. -func (s *DescribeInstancePatchStatesInput) SetInstanceIds(v []string) *DescribeInstancePatchStatesInput { - s.InstanceIds = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeInstancePatchStatesInput) SetMaxResults(v int64) *DescribeInstancePatchStatesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeInstancePatchStatesInput) SetNextToken(v string) *DescribeInstancePatchStatesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesResult type DescribeInstancePatchStatesOutput struct { _ struct{} `type:"structure"` @@ -11274,18 +9342,6 @@ func (s DescribeInstancePatchStatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstancePatchStates sets the InstancePatchStates field's value. -func (s *DescribeInstancePatchStatesOutput) SetInstancePatchStates(v []InstancePatchState) *DescribeInstancePatchStatesOutput { - s.InstancePatchStates = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeInstancePatchStatesOutput) SetNextToken(v string) *DescribeInstancePatchStatesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchesRequest type DescribeInstancePatchesInput struct { _ struct{} `type:"structure"` @@ -11344,30 +9400,6 @@ func (s *DescribeInstancePatchesInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeInstancePatchesInput) SetFilters(v []PatchOrchestratorFilter) *DescribeInstancePatchesInput { - s.Filters = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *DescribeInstancePatchesInput) SetInstanceId(v string) *DescribeInstancePatchesInput { - s.InstanceId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeInstancePatchesInput) SetMaxResults(v int64) *DescribeInstancePatchesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeInstancePatchesInput) SetNextToken(v string) *DescribeInstancePatchesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchesResult type DescribeInstancePatchesOutput struct { _ struct{} `type:"structure"` @@ -11412,18 +9444,6 @@ func (s DescribeInstancePatchesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeInstancePatchesOutput) SetNextToken(v string) *DescribeInstancePatchesOutput { - s.NextToken = &v - return s -} - -// SetPatches sets the Patches field's value. -func (s *DescribeInstancePatchesOutput) SetPatches(v []PatchComplianceData) *DescribeInstancePatchesOutput { - s.Patches = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTaskInvocationsRequest type DescribeMaintenanceWindowExecutionTaskInvocationsInput struct { _ struct{} `type:"structure"` @@ -11498,36 +9518,6 @@ func (s *DescribeMaintenanceWindowExecutionTaskInvocationsInput) Validate() erro return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeMaintenanceWindowExecutionTaskInvocationsInput) SetFilters(v []MaintenanceWindowFilter) *DescribeMaintenanceWindowExecutionTaskInvocationsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeMaintenanceWindowExecutionTaskInvocationsInput) SetMaxResults(v int64) *DescribeMaintenanceWindowExecutionTaskInvocationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeMaintenanceWindowExecutionTaskInvocationsInput) SetNextToken(v string) *DescribeMaintenanceWindowExecutionTaskInvocationsInput { - s.NextToken = &v - return s -} - -// SetTaskId sets the TaskId field's value. -func (s *DescribeMaintenanceWindowExecutionTaskInvocationsInput) SetTaskId(v string) *DescribeMaintenanceWindowExecutionTaskInvocationsInput { - s.TaskId = &v - return s -} - -// SetWindowExecutionId sets the WindowExecutionId field's value. -func (s *DescribeMaintenanceWindowExecutionTaskInvocationsInput) SetWindowExecutionId(v string) *DescribeMaintenanceWindowExecutionTaskInvocationsInput { - s.WindowExecutionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTaskInvocationsResult type DescribeMaintenanceWindowExecutionTaskInvocationsOutput struct { _ struct{} `type:"structure"` @@ -11557,18 +9547,6 @@ func (s DescribeMaintenanceWindowExecutionTaskInvocationsOutput) SDKResponseMeta return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeMaintenanceWindowExecutionTaskInvocationsOutput) SetNextToken(v string) *DescribeMaintenanceWindowExecutionTaskInvocationsOutput { - s.NextToken = &v - return s -} - -// SetWindowExecutionTaskInvocationIdentities sets the WindowExecutionTaskInvocationIdentities field's value. -func (s *DescribeMaintenanceWindowExecutionTaskInvocationsOutput) SetWindowExecutionTaskInvocationIdentities(v []MaintenanceWindowExecutionTaskInvocationIdentity) *DescribeMaintenanceWindowExecutionTaskInvocationsOutput { - s.WindowExecutionTaskInvocationIdentities = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTasksRequest type DescribeMaintenanceWindowExecutionTasksInput struct { _ struct{} `type:"structure"` @@ -11631,30 +9609,6 @@ func (s *DescribeMaintenanceWindowExecutionTasksInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeMaintenanceWindowExecutionTasksInput) SetFilters(v []MaintenanceWindowFilter) *DescribeMaintenanceWindowExecutionTasksInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeMaintenanceWindowExecutionTasksInput) SetMaxResults(v int64) *DescribeMaintenanceWindowExecutionTasksInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeMaintenanceWindowExecutionTasksInput) SetNextToken(v string) *DescribeMaintenanceWindowExecutionTasksInput { - s.NextToken = &v - return s -} - -// SetWindowExecutionId sets the WindowExecutionId field's value. -func (s *DescribeMaintenanceWindowExecutionTasksInput) SetWindowExecutionId(v string) *DescribeMaintenanceWindowExecutionTasksInput { - s.WindowExecutionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTasksResult type DescribeMaintenanceWindowExecutionTasksOutput struct { _ struct{} `type:"structure"` @@ -11684,18 +9638,6 @@ func (s DescribeMaintenanceWindowExecutionTasksOutput) SDKResponseMetadata() aws return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeMaintenanceWindowExecutionTasksOutput) SetNextToken(v string) *DescribeMaintenanceWindowExecutionTasksOutput { - s.NextToken = &v - return s -} - -// SetWindowExecutionTaskIdentities sets the WindowExecutionTaskIdentities field's value. -func (s *DescribeMaintenanceWindowExecutionTasksOutput) SetWindowExecutionTaskIdentities(v []MaintenanceWindowExecutionTaskIdentity) *DescribeMaintenanceWindowExecutionTasksOutput { - s.WindowExecutionTaskIdentities = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionsRequest type DescribeMaintenanceWindowExecutionsInput struct { _ struct{} `type:"structure"` @@ -11762,30 +9704,6 @@ func (s *DescribeMaintenanceWindowExecutionsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeMaintenanceWindowExecutionsInput) SetFilters(v []MaintenanceWindowFilter) *DescribeMaintenanceWindowExecutionsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeMaintenanceWindowExecutionsInput) SetMaxResults(v int64) *DescribeMaintenanceWindowExecutionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeMaintenanceWindowExecutionsInput) SetNextToken(v string) *DescribeMaintenanceWindowExecutionsInput { - s.NextToken = &v - return s -} - -// SetWindowId sets the WindowId field's value. -func (s *DescribeMaintenanceWindowExecutionsInput) SetWindowId(v string) *DescribeMaintenanceWindowExecutionsInput { - s.WindowId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionsResult type DescribeMaintenanceWindowExecutionsOutput struct { _ struct{} `type:"structure"` @@ -11815,18 +9733,6 @@ func (s DescribeMaintenanceWindowExecutionsOutput) SDKResponseMetadata() aws.Res return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeMaintenanceWindowExecutionsOutput) SetNextToken(v string) *DescribeMaintenanceWindowExecutionsOutput { - s.NextToken = &v - return s -} - -// SetWindowExecutions sets the WindowExecutions field's value. -func (s *DescribeMaintenanceWindowExecutionsOutput) SetWindowExecutions(v []MaintenanceWindowExecution) *DescribeMaintenanceWindowExecutionsOutput { - s.WindowExecutions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTargetsRequest type DescribeMaintenanceWindowTargetsInput struct { _ struct{} `type:"structure"` @@ -11887,30 +9793,6 @@ func (s *DescribeMaintenanceWindowTargetsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeMaintenanceWindowTargetsInput) SetFilters(v []MaintenanceWindowFilter) *DescribeMaintenanceWindowTargetsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeMaintenanceWindowTargetsInput) SetMaxResults(v int64) *DescribeMaintenanceWindowTargetsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeMaintenanceWindowTargetsInput) SetNextToken(v string) *DescribeMaintenanceWindowTargetsInput { - s.NextToken = &v - return s -} - -// SetWindowId sets the WindowId field's value. -func (s *DescribeMaintenanceWindowTargetsInput) SetWindowId(v string) *DescribeMaintenanceWindowTargetsInput { - s.WindowId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTargetsResult type DescribeMaintenanceWindowTargetsOutput struct { _ struct{} `type:"structure"` @@ -11940,18 +9822,6 @@ func (s DescribeMaintenanceWindowTargetsOutput) SDKResponseMetadata() aws.Respon return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeMaintenanceWindowTargetsOutput) SetNextToken(v string) *DescribeMaintenanceWindowTargetsOutput { - s.NextToken = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *DescribeMaintenanceWindowTargetsOutput) SetTargets(v []MaintenanceWindowTarget) *DescribeMaintenanceWindowTargetsOutput { - s.Targets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTasksRequest type DescribeMaintenanceWindowTasksInput struct { _ struct{} `type:"structure"` @@ -12012,30 +9882,6 @@ func (s *DescribeMaintenanceWindowTasksInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeMaintenanceWindowTasksInput) SetFilters(v []MaintenanceWindowFilter) *DescribeMaintenanceWindowTasksInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeMaintenanceWindowTasksInput) SetMaxResults(v int64) *DescribeMaintenanceWindowTasksInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeMaintenanceWindowTasksInput) SetNextToken(v string) *DescribeMaintenanceWindowTasksInput { - s.NextToken = &v - return s -} - -// SetWindowId sets the WindowId field's value. -func (s *DescribeMaintenanceWindowTasksInput) SetWindowId(v string) *DescribeMaintenanceWindowTasksInput { - s.WindowId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTasksResult type DescribeMaintenanceWindowTasksOutput struct { _ struct{} `type:"structure"` @@ -12065,18 +9911,6 @@ func (s DescribeMaintenanceWindowTasksOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeMaintenanceWindowTasksOutput) SetNextToken(v string) *DescribeMaintenanceWindowTasksOutput { - s.NextToken = &v - return s -} - -// SetTasks sets the Tasks field's value. -func (s *DescribeMaintenanceWindowTasksOutput) SetTasks(v []MaintenanceWindowTask) *DescribeMaintenanceWindowTasksOutput { - s.Tasks = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowsRequest type DescribeMaintenanceWindowsInput struct { _ struct{} `type:"structure"` @@ -12125,24 +9959,6 @@ func (s *DescribeMaintenanceWindowsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeMaintenanceWindowsInput) SetFilters(v []MaintenanceWindowFilter) *DescribeMaintenanceWindowsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeMaintenanceWindowsInput) SetMaxResults(v int64) *DescribeMaintenanceWindowsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeMaintenanceWindowsInput) SetNextToken(v string) *DescribeMaintenanceWindowsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowsResult type DescribeMaintenanceWindowsOutput struct { _ struct{} `type:"structure"` @@ -12172,18 +9988,6 @@ func (s DescribeMaintenanceWindowsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeMaintenanceWindowsOutput) SetNextToken(v string) *DescribeMaintenanceWindowsOutput { - s.NextToken = &v - return s -} - -// SetWindowIdentities sets the WindowIdentities field's value. -func (s *DescribeMaintenanceWindowsOutput) SetWindowIdentities(v []MaintenanceWindowIdentity) *DescribeMaintenanceWindowsOutput { - s.WindowIdentities = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParametersRequest type DescribeParametersInput struct { _ struct{} `type:"structure"` @@ -12241,30 +10045,6 @@ func (s *DescribeParametersInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribeParametersInput) SetFilters(v []ParametersFilter) *DescribeParametersInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeParametersInput) SetMaxResults(v int64) *DescribeParametersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeParametersInput) SetNextToken(v string) *DescribeParametersInput { - s.NextToken = &v - return s -} - -// SetParameterFilters sets the ParameterFilters field's value. -func (s *DescribeParametersInput) SetParameterFilters(v []ParameterStringFilter) *DescribeParametersInput { - s.ParameterFilters = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParametersResult type DescribeParametersOutput struct { _ struct{} `type:"structure"` @@ -12294,18 +10074,6 @@ func (s DescribeParametersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeParametersOutput) SetNextToken(v string) *DescribeParametersOutput { - s.NextToken = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *DescribeParametersOutput) SetParameters(v []ParameterMetadata) *DescribeParametersOutput { - s.Parameters = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchBaselinesRequest type DescribePatchBaselinesInput struct { _ struct{} `type:"structure"` @@ -12355,24 +10123,6 @@ func (s *DescribePatchBaselinesInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribePatchBaselinesInput) SetFilters(v []PatchOrchestratorFilter) *DescribePatchBaselinesInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribePatchBaselinesInput) SetMaxResults(v int64) *DescribePatchBaselinesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribePatchBaselinesInput) SetNextToken(v string) *DescribePatchBaselinesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchBaselinesResult type DescribePatchBaselinesOutput struct { _ struct{} `type:"structure"` @@ -12402,18 +10152,6 @@ func (s DescribePatchBaselinesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBaselineIdentities sets the BaselineIdentities field's value. -func (s *DescribePatchBaselinesOutput) SetBaselineIdentities(v []PatchBaselineIdentity) *DescribePatchBaselinesOutput { - s.BaselineIdentities = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribePatchBaselinesOutput) SetNextToken(v string) *DescribePatchBaselinesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupStateRequest type DescribePatchGroupStateInput struct { _ struct{} `type:"structure"` @@ -12451,12 +10189,6 @@ func (s *DescribePatchGroupStateInput) Validate() error { return nil } -// SetPatchGroup sets the PatchGroup field's value. -func (s *DescribePatchGroupStateInput) SetPatchGroup(v string) *DescribePatchGroupStateInput { - s.PatchGroup = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupStateResult type DescribePatchGroupStateOutput struct { _ struct{} `type:"structure"` @@ -12499,45 +10231,9 @@ func (s DescribePatchGroupStateOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInstances sets the Instances field's value. -func (s *DescribePatchGroupStateOutput) SetInstances(v int64) *DescribePatchGroupStateOutput { - s.Instances = &v - return s -} - -// SetInstancesWithFailedPatches sets the InstancesWithFailedPatches field's value. -func (s *DescribePatchGroupStateOutput) SetInstancesWithFailedPatches(v int64) *DescribePatchGroupStateOutput { - s.InstancesWithFailedPatches = &v - return s -} - -// SetInstancesWithInstalledOtherPatches sets the InstancesWithInstalledOtherPatches field's value. -func (s *DescribePatchGroupStateOutput) SetInstancesWithInstalledOtherPatches(v int64) *DescribePatchGroupStateOutput { - s.InstancesWithInstalledOtherPatches = &v - return s -} - -// SetInstancesWithInstalledPatches sets the InstancesWithInstalledPatches field's value. -func (s *DescribePatchGroupStateOutput) SetInstancesWithInstalledPatches(v int64) *DescribePatchGroupStateOutput { - s.InstancesWithInstalledPatches = &v - return s -} - -// SetInstancesWithMissingPatches sets the InstancesWithMissingPatches field's value. -func (s *DescribePatchGroupStateOutput) SetInstancesWithMissingPatches(v int64) *DescribePatchGroupStateOutput { - s.InstancesWithMissingPatches = &v - return s -} - -// SetInstancesWithNotApplicablePatches sets the InstancesWithNotApplicablePatches field's value. -func (s *DescribePatchGroupStateOutput) SetInstancesWithNotApplicablePatches(v int64) *DescribePatchGroupStateOutput { - s.InstancesWithNotApplicablePatches = &v - return s -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupsRequest -type DescribePatchGroupsInput struct { - _ struct{} `type:"structure"` +// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupsRequest +type DescribePatchGroupsInput struct { + _ struct{} `type:"structure"` // One or more filters. Use a filter to return a more specific list of results. Filters []PatchOrchestratorFilter `type:"list"` @@ -12580,24 +10276,6 @@ func (s *DescribePatchGroupsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *DescribePatchGroupsInput) SetFilters(v []PatchOrchestratorFilter) *DescribePatchGroupsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribePatchGroupsInput) SetMaxResults(v int64) *DescribePatchGroupsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribePatchGroupsInput) SetNextToken(v string) *DescribePatchGroupsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupsResult type DescribePatchGroupsOutput struct { _ struct{} `type:"structure"` @@ -12631,18 +10309,6 @@ func (s DescribePatchGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMappings sets the Mappings field's value. -func (s *DescribePatchGroupsOutput) SetMappings(v []PatchGroupPatchBaselineMapping) *DescribePatchGroupsOutput { - s.Mappings = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribePatchGroupsOutput) SetNextToken(v string) *DescribePatchGroupsOutput { - s.NextToken = &v - return s -} - // A default version of a document. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentDefaultVersionDescription type DocumentDefaultVersionDescription struct { @@ -12665,18 +10331,6 @@ func (s DocumentDefaultVersionDescription) GoString() string { return s.String() } -// SetDefaultVersion sets the DefaultVersion field's value. -func (s *DocumentDefaultVersionDescription) SetDefaultVersion(v string) *DocumentDefaultVersionDescription { - s.DefaultVersion = &v - return s -} - -// SetName sets the Name field's value. -func (s *DocumentDefaultVersionDescription) SetName(v string) *DocumentDefaultVersionDescription { - s.Name = &v - return s -} - // Describes a Systems Manager document. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentDescription type DocumentDescription struct { @@ -12754,114 +10408,6 @@ func (s DocumentDescription) GoString() string { return s.String() } -// SetCreatedDate sets the CreatedDate field's value. -func (s *DocumentDescription) SetCreatedDate(v time.Time) *DocumentDescription { - s.CreatedDate = &v - return s -} - -// SetDefaultVersion sets the DefaultVersion field's value. -func (s *DocumentDescription) SetDefaultVersion(v string) *DocumentDescription { - s.DefaultVersion = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *DocumentDescription) SetDescription(v string) *DocumentDescription { - s.Description = &v - return s -} - -// SetDocumentFormat sets the DocumentFormat field's value. -func (s *DocumentDescription) SetDocumentFormat(v DocumentFormat) *DocumentDescription { - s.DocumentFormat = v - return s -} - -// SetDocumentType sets the DocumentType field's value. -func (s *DocumentDescription) SetDocumentType(v DocumentType) *DocumentDescription { - s.DocumentType = v - return s -} - -// SetDocumentVersion sets the DocumentVersion field's value. -func (s *DocumentDescription) SetDocumentVersion(v string) *DocumentDescription { - s.DocumentVersion = &v - return s -} - -// SetHash sets the Hash field's value. -func (s *DocumentDescription) SetHash(v string) *DocumentDescription { - s.Hash = &v - return s -} - -// SetHashType sets the HashType field's value. -func (s *DocumentDescription) SetHashType(v DocumentHashType) *DocumentDescription { - s.HashType = v - return s -} - -// SetLatestVersion sets the LatestVersion field's value. -func (s *DocumentDescription) SetLatestVersion(v string) *DocumentDescription { - s.LatestVersion = &v - return s -} - -// SetName sets the Name field's value. -func (s *DocumentDescription) SetName(v string) *DocumentDescription { - s.Name = &v - return s -} - -// SetOwner sets the Owner field's value. -func (s *DocumentDescription) SetOwner(v string) *DocumentDescription { - s.Owner = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *DocumentDescription) SetParameters(v []DocumentParameter) *DocumentDescription { - s.Parameters = v - return s -} - -// SetPlatformTypes sets the PlatformTypes field's value. -func (s *DocumentDescription) SetPlatformTypes(v []PlatformType) *DocumentDescription { - s.PlatformTypes = v - return s -} - -// SetSchemaVersion sets the SchemaVersion field's value. -func (s *DocumentDescription) SetSchemaVersion(v string) *DocumentDescription { - s.SchemaVersion = &v - return s -} - -// SetSha1 sets the Sha1 field's value. -func (s *DocumentDescription) SetSha1(v string) *DocumentDescription { - s.Sha1 = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DocumentDescription) SetStatus(v DocumentStatus) *DocumentDescription { - s.Status = v - return s -} - -// SetTags sets the Tags field's value. -func (s *DocumentDescription) SetTags(v []Tag) *DocumentDescription { - s.Tags = v - return s -} - -// SetTargetType sets the TargetType field's value. -func (s *DocumentDescription) SetTargetType(v string) *DocumentDescription { - s.TargetType = &v - return s -} - // Describes a filter. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentFilter type DocumentFilter struct { @@ -12908,18 +10454,6 @@ func (s *DocumentFilter) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *DocumentFilter) SetKey(v DocumentFilterKey) *DocumentFilter { - s.Key = v - return s -} - -// SetValue sets the Value field's value. -func (s *DocumentFilter) SetValue(v string) *DocumentFilter { - s.Value = &v - return s -} - // Describes the name of a Systems Manager document. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentIdentifier type DocumentIdentifier struct { @@ -12966,60 +10500,6 @@ func (s DocumentIdentifier) GoString() string { return s.String() } -// SetDocumentFormat sets the DocumentFormat field's value. -func (s *DocumentIdentifier) SetDocumentFormat(v DocumentFormat) *DocumentIdentifier { - s.DocumentFormat = v - return s -} - -// SetDocumentType sets the DocumentType field's value. -func (s *DocumentIdentifier) SetDocumentType(v DocumentType) *DocumentIdentifier { - s.DocumentType = v - return s -} - -// SetDocumentVersion sets the DocumentVersion field's value. -func (s *DocumentIdentifier) SetDocumentVersion(v string) *DocumentIdentifier { - s.DocumentVersion = &v - return s -} - -// SetName sets the Name field's value. -func (s *DocumentIdentifier) SetName(v string) *DocumentIdentifier { - s.Name = &v - return s -} - -// SetOwner sets the Owner field's value. -func (s *DocumentIdentifier) SetOwner(v string) *DocumentIdentifier { - s.Owner = &v - return s -} - -// SetPlatformTypes sets the PlatformTypes field's value. -func (s *DocumentIdentifier) SetPlatformTypes(v []PlatformType) *DocumentIdentifier { - s.PlatformTypes = v - return s -} - -// SetSchemaVersion sets the SchemaVersion field's value. -func (s *DocumentIdentifier) SetSchemaVersion(v string) *DocumentIdentifier { - s.SchemaVersion = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *DocumentIdentifier) SetTags(v []Tag) *DocumentIdentifier { - s.Tags = v - return s -} - -// SetTargetType sets the TargetType field's value. -func (s *DocumentIdentifier) SetTargetType(v string) *DocumentIdentifier { - s.TargetType = &v - return s -} - // One or more filters. Use a filter to return a more specific list of documents. // // For keys, you can specify one or more tags that have been applied to a document. @@ -13079,18 +10559,6 @@ func (s *DocumentKeyValuesFilter) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *DocumentKeyValuesFilter) SetKey(v string) *DocumentKeyValuesFilter { - s.Key = &v - return s -} - -// SetValues sets the Values field's value. -func (s *DocumentKeyValuesFilter) SetValues(v []string) *DocumentKeyValuesFilter { - s.Values = v - return s -} - // Parameters specified in a System Manager document that execute on the server // when the command is run. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentParameter @@ -13122,30 +10590,6 @@ func (s DocumentParameter) GoString() string { return s.String() } -// SetDefaultValue sets the DefaultValue field's value. -func (s *DocumentParameter) SetDefaultValue(v string) *DocumentParameter { - s.DefaultValue = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *DocumentParameter) SetDescription(v string) *DocumentParameter { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *DocumentParameter) SetName(v string) *DocumentParameter { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *DocumentParameter) SetType(v DocumentParameterType) *DocumentParameter { - s.Type = v - return s -} - // Version information about the document. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DocumentVersionInfo type DocumentVersionInfo struct { @@ -13177,36 +10621,6 @@ func (s DocumentVersionInfo) GoString() string { return s.String() } -// SetCreatedDate sets the CreatedDate field's value. -func (s *DocumentVersionInfo) SetCreatedDate(v time.Time) *DocumentVersionInfo { - s.CreatedDate = &v - return s -} - -// SetDocumentFormat sets the DocumentFormat field's value. -func (s *DocumentVersionInfo) SetDocumentFormat(v DocumentFormat) *DocumentVersionInfo { - s.DocumentFormat = v - return s -} - -// SetDocumentVersion sets the DocumentVersion field's value. -func (s *DocumentVersionInfo) SetDocumentVersion(v string) *DocumentVersionInfo { - s.DocumentVersion = &v - return s -} - -// SetIsDefaultVersion sets the IsDefaultVersion field's value. -func (s *DocumentVersionInfo) SetIsDefaultVersion(v bool) *DocumentVersionInfo { - s.IsDefaultVersion = &v - return s -} - -// SetName sets the Name field's value. -func (s *DocumentVersionInfo) SetName(v string) *DocumentVersionInfo { - s.Name = &v - return s -} - // The EffectivePatch structure defines metadata about a patch along with the // approval state of the patch in a particular patch baseline. The approval // state includes information about whether the patch is currently approved, @@ -13237,18 +10651,6 @@ func (s EffectivePatch) GoString() string { return s.String() } -// SetPatch sets the Patch field's value. -func (s *EffectivePatch) SetPatch(v *Patch) *EffectivePatch { - s.Patch = v - return s -} - -// SetPatchStatus sets the PatchStatus field's value. -func (s *EffectivePatch) SetPatchStatus(v *PatchStatus) *EffectivePatch { - s.PatchStatus = v - return s -} - // Describes a failed association. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/FailedCreateAssociation type FailedCreateAssociation struct { @@ -13274,24 +10676,6 @@ func (s FailedCreateAssociation) GoString() string { return s.String() } -// SetEntry sets the Entry field's value. -func (s *FailedCreateAssociation) SetEntry(v *CreateAssociationBatchRequestEntry) *FailedCreateAssociation { - s.Entry = v - return s -} - -// SetFault sets the Fault field's value. -func (s *FailedCreateAssociation) SetFault(v Fault) *FailedCreateAssociation { - s.Fault = v - return s -} - -// SetMessage sets the Message field's value. -func (s *FailedCreateAssociation) SetMessage(v string) *FailedCreateAssociation { - s.Message = &v - return s -} - // Information about an Automation failure. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/FailureDetails type FailureDetails struct { @@ -13319,24 +10703,6 @@ func (s FailureDetails) GoString() string { return s.String() } -// SetDetails sets the Details field's value. -func (s *FailureDetails) SetDetails(v map[string][]string) *FailureDetails { - s.Details = v - return s -} - -// SetFailureStage sets the FailureStage field's value. -func (s *FailureDetails) SetFailureStage(v string) *FailureDetails { - s.FailureStage = &v - return s -} - -// SetFailureType sets the FailureType field's value. -func (s *FailureDetails) SetFailureType(v string) *FailureDetails { - s.FailureType = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAutomationExecutionRequest type GetAutomationExecutionInput struct { _ struct{} `type:"structure"` @@ -13376,12 +10742,6 @@ func (s *GetAutomationExecutionInput) Validate() error { return nil } -// SetAutomationExecutionId sets the AutomationExecutionId field's value. -func (s *GetAutomationExecutionInput) SetAutomationExecutionId(v string) *GetAutomationExecutionInput { - s.AutomationExecutionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAutomationExecutionResult type GetAutomationExecutionOutput struct { _ struct{} `type:"structure"` @@ -13407,12 +10767,6 @@ func (s GetAutomationExecutionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAutomationExecution sets the AutomationExecution field's value. -func (s *GetAutomationExecutionOutput) SetAutomationExecution(v *AutomationExecution) *GetAutomationExecutionOutput { - s.AutomationExecution = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocationRequest type GetCommandInvocationInput struct { _ struct{} `type:"structure"` @@ -13469,24 +10823,6 @@ func (s *GetCommandInvocationInput) Validate() error { return nil } -// SetCommandId sets the CommandId field's value. -func (s *GetCommandInvocationInput) SetCommandId(v string) *GetCommandInvocationInput { - s.CommandId = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *GetCommandInvocationInput) SetInstanceId(v string) *GetCommandInvocationInput { - s.InstanceId = &v - return s -} - -// SetPluginName sets the PluginName field's value. -func (s *GetCommandInvocationInput) SetPluginName(v string) *GetCommandInvocationInput { - s.PluginName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocationResult type GetCommandInvocationOutput struct { _ struct{} `type:"structure"` @@ -13623,96 +10959,6 @@ func (s GetCommandInvocationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCommandId sets the CommandId field's value. -func (s *GetCommandInvocationOutput) SetCommandId(v string) *GetCommandInvocationOutput { - s.CommandId = &v - return s -} - -// SetComment sets the Comment field's value. -func (s *GetCommandInvocationOutput) SetComment(v string) *GetCommandInvocationOutput { - s.Comment = &v - return s -} - -// SetDocumentName sets the DocumentName field's value. -func (s *GetCommandInvocationOutput) SetDocumentName(v string) *GetCommandInvocationOutput { - s.DocumentName = &v - return s -} - -// SetExecutionElapsedTime sets the ExecutionElapsedTime field's value. -func (s *GetCommandInvocationOutput) SetExecutionElapsedTime(v string) *GetCommandInvocationOutput { - s.ExecutionElapsedTime = &v - return s -} - -// SetExecutionEndDateTime sets the ExecutionEndDateTime field's value. -func (s *GetCommandInvocationOutput) SetExecutionEndDateTime(v string) *GetCommandInvocationOutput { - s.ExecutionEndDateTime = &v - return s -} - -// SetExecutionStartDateTime sets the ExecutionStartDateTime field's value. -func (s *GetCommandInvocationOutput) SetExecutionStartDateTime(v string) *GetCommandInvocationOutput { - s.ExecutionStartDateTime = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *GetCommandInvocationOutput) SetInstanceId(v string) *GetCommandInvocationOutput { - s.InstanceId = &v - return s -} - -// SetPluginName sets the PluginName field's value. -func (s *GetCommandInvocationOutput) SetPluginName(v string) *GetCommandInvocationOutput { - s.PluginName = &v - return s -} - -// SetResponseCode sets the ResponseCode field's value. -func (s *GetCommandInvocationOutput) SetResponseCode(v int64) *GetCommandInvocationOutput { - s.ResponseCode = &v - return s -} - -// SetStandardErrorContent sets the StandardErrorContent field's value. -func (s *GetCommandInvocationOutput) SetStandardErrorContent(v string) *GetCommandInvocationOutput { - s.StandardErrorContent = &v - return s -} - -// SetStandardErrorUrl sets the StandardErrorUrl field's value. -func (s *GetCommandInvocationOutput) SetStandardErrorUrl(v string) *GetCommandInvocationOutput { - s.StandardErrorUrl = &v - return s -} - -// SetStandardOutputContent sets the StandardOutputContent field's value. -func (s *GetCommandInvocationOutput) SetStandardOutputContent(v string) *GetCommandInvocationOutput { - s.StandardOutputContent = &v - return s -} - -// SetStandardOutputUrl sets the StandardOutputUrl field's value. -func (s *GetCommandInvocationOutput) SetStandardOutputUrl(v string) *GetCommandInvocationOutput { - s.StandardOutputUrl = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetCommandInvocationOutput) SetStatus(v CommandInvocationStatus) *GetCommandInvocationOutput { - s.Status = v - return s -} - -// SetStatusDetails sets the StatusDetails field's value. -func (s *GetCommandInvocationOutput) SetStatusDetails(v string) *GetCommandInvocationOutput { - s.StatusDetails = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaselineRequest type GetDefaultPatchBaselineInput struct { _ struct{} `type:"structure"` @@ -13731,12 +10977,6 @@ func (s GetDefaultPatchBaselineInput) GoString() string { return s.String() } -// SetOperatingSystem sets the OperatingSystem field's value. -func (s *GetDefaultPatchBaselineInput) SetOperatingSystem(v OperatingSystem) *GetDefaultPatchBaselineInput { - s.OperatingSystem = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaselineResult type GetDefaultPatchBaselineOutput struct { _ struct{} `type:"structure"` @@ -13765,18 +11005,6 @@ func (s GetDefaultPatchBaselineOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBaselineId sets the BaselineId field's value. -func (s *GetDefaultPatchBaselineOutput) SetBaselineId(v string) *GetDefaultPatchBaselineOutput { - s.BaselineId = &v - return s -} - -// SetOperatingSystem sets the OperatingSystem field's value. -func (s *GetDefaultPatchBaselineOutput) SetOperatingSystem(v OperatingSystem) *GetDefaultPatchBaselineOutput { - s.OperatingSystem = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDeployablePatchSnapshotForInstanceRequest type GetDeployablePatchSnapshotForInstanceInput struct { _ struct{} `type:"structure"` @@ -13824,18 +11052,6 @@ func (s *GetDeployablePatchSnapshotForInstanceInput) Validate() error { return nil } -// SetInstanceId sets the InstanceId field's value. -func (s *GetDeployablePatchSnapshotForInstanceInput) SetInstanceId(v string) *GetDeployablePatchSnapshotForInstanceInput { - s.InstanceId = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *GetDeployablePatchSnapshotForInstanceInput) SetSnapshotId(v string) *GetDeployablePatchSnapshotForInstanceInput { - s.SnapshotId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDeployablePatchSnapshotForInstanceResult type GetDeployablePatchSnapshotForInstanceOutput struct { _ struct{} `type:"structure"` @@ -13871,30 +11087,6 @@ func (s GetDeployablePatchSnapshotForInstanceOutput) SDKResponseMetadata() aws.R return s.responseMetadata } -// SetInstanceId sets the InstanceId field's value. -func (s *GetDeployablePatchSnapshotForInstanceOutput) SetInstanceId(v string) *GetDeployablePatchSnapshotForInstanceOutput { - s.InstanceId = &v - return s -} - -// SetProduct sets the Product field's value. -func (s *GetDeployablePatchSnapshotForInstanceOutput) SetProduct(v string) *GetDeployablePatchSnapshotForInstanceOutput { - s.Product = &v - return s -} - -// SetSnapshotDownloadUrl sets the SnapshotDownloadUrl field's value. -func (s *GetDeployablePatchSnapshotForInstanceOutput) SetSnapshotDownloadUrl(v string) *GetDeployablePatchSnapshotForInstanceOutput { - s.SnapshotDownloadUrl = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *GetDeployablePatchSnapshotForInstanceOutput) SetSnapshotId(v string) *GetDeployablePatchSnapshotForInstanceOutput { - s.SnapshotId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocumentRequest type GetDocumentInput struct { _ struct{} `type:"structure"` @@ -13936,24 +11128,6 @@ func (s *GetDocumentInput) Validate() error { return nil } -// SetDocumentFormat sets the DocumentFormat field's value. -func (s *GetDocumentInput) SetDocumentFormat(v DocumentFormat) *GetDocumentInput { - s.DocumentFormat = v - return s -} - -// SetDocumentVersion sets the DocumentVersion field's value. -func (s *GetDocumentInput) SetDocumentVersion(v string) *GetDocumentInput { - s.DocumentVersion = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetDocumentInput) SetName(v string) *GetDocumentInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocumentResult type GetDocumentOutput struct { _ struct{} `type:"structure"` @@ -13991,36 +11165,6 @@ func (s GetDocumentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetContent sets the Content field's value. -func (s *GetDocumentOutput) SetContent(v string) *GetDocumentOutput { - s.Content = &v - return s -} - -// SetDocumentFormat sets the DocumentFormat field's value. -func (s *GetDocumentOutput) SetDocumentFormat(v DocumentFormat) *GetDocumentOutput { - s.DocumentFormat = v - return s -} - -// SetDocumentType sets the DocumentType field's value. -func (s *GetDocumentOutput) SetDocumentType(v DocumentType) *GetDocumentOutput { - s.DocumentType = v - return s -} - -// SetDocumentVersion sets the DocumentVersion field's value. -func (s *GetDocumentOutput) SetDocumentVersion(v string) *GetDocumentOutput { - s.DocumentVersion = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetDocumentOutput) SetName(v string) *GetDocumentOutput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventoryRequest type GetInventoryInput struct { _ struct{} `type:"structure"` @@ -14100,36 +11244,6 @@ func (s *GetInventoryInput) Validate() error { return nil } -// SetAggregators sets the Aggregators field's value. -func (s *GetInventoryInput) SetAggregators(v []InventoryAggregator) *GetInventoryInput { - s.Aggregators = v - return s -} - -// SetFilters sets the Filters field's value. -func (s *GetInventoryInput) SetFilters(v []InventoryFilter) *GetInventoryInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetInventoryInput) SetMaxResults(v int64) *GetInventoryInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetInventoryInput) SetNextToken(v string) *GetInventoryInput { - s.NextToken = &v - return s -} - -// SetResultAttributes sets the ResultAttributes field's value. -func (s *GetInventoryInput) SetResultAttributes(v []ResultAttribute) *GetInventoryInput { - s.ResultAttributes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventoryResult type GetInventoryOutput struct { _ struct{} `type:"structure"` @@ -14159,18 +11273,6 @@ func (s GetInventoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEntities sets the Entities field's value. -func (s *GetInventoryOutput) SetEntities(v []InventoryResultEntity) *GetInventoryOutput { - s.Entities = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetInventoryOutput) SetNextToken(v string) *GetInventoryOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventorySchemaRequest type GetInventorySchemaInput struct { _ struct{} `type:"structure"` @@ -14219,36 +11321,6 @@ func (s *GetInventorySchemaInput) Validate() error { return nil } -// SetAggregator sets the Aggregator field's value. -func (s *GetInventorySchemaInput) SetAggregator(v bool) *GetInventorySchemaInput { - s.Aggregator = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetInventorySchemaInput) SetMaxResults(v int64) *GetInventorySchemaInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetInventorySchemaInput) SetNextToken(v string) *GetInventorySchemaInput { - s.NextToken = &v - return s -} - -// SetSubType sets the SubType field's value. -func (s *GetInventorySchemaInput) SetSubType(v bool) *GetInventorySchemaInput { - s.SubType = &v - return s -} - -// SetTypeName sets the TypeName field's value. -func (s *GetInventorySchemaInput) SetTypeName(v string) *GetInventorySchemaInput { - s.TypeName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventorySchemaResult type GetInventorySchemaOutput struct { _ struct{} `type:"structure"` @@ -14278,18 +11350,6 @@ func (s GetInventorySchemaOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *GetInventorySchemaOutput) SetNextToken(v string) *GetInventorySchemaOutput { - s.NextToken = &v - return s -} - -// SetSchemas sets the Schemas field's value. -func (s *GetInventorySchemaOutput) SetSchemas(v []InventoryItemSchema) *GetInventorySchemaOutput { - s.Schemas = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionRequest type GetMaintenanceWindowExecutionInput struct { _ struct{} `type:"structure"` @@ -14327,12 +11387,6 @@ func (s *GetMaintenanceWindowExecutionInput) Validate() error { return nil } -// SetWindowExecutionId sets the WindowExecutionId field's value. -func (s *GetMaintenanceWindowExecutionInput) SetWindowExecutionId(v string) *GetMaintenanceWindowExecutionInput { - s.WindowExecutionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionResult type GetMaintenanceWindowExecutionOutput struct { _ struct{} `type:"structure"` @@ -14373,42 +11427,6 @@ func (s GetMaintenanceWindowExecutionOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetEndTime sets the EndTime field's value. -func (s *GetMaintenanceWindowExecutionOutput) SetEndTime(v time.Time) *GetMaintenanceWindowExecutionOutput { - s.EndTime = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *GetMaintenanceWindowExecutionOutput) SetStartTime(v time.Time) *GetMaintenanceWindowExecutionOutput { - s.StartTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetMaintenanceWindowExecutionOutput) SetStatus(v MaintenanceWindowExecutionStatus) *GetMaintenanceWindowExecutionOutput { - s.Status = v - return s -} - -// SetStatusDetails sets the StatusDetails field's value. -func (s *GetMaintenanceWindowExecutionOutput) SetStatusDetails(v string) *GetMaintenanceWindowExecutionOutput { - s.StatusDetails = &v - return s -} - -// SetTaskIds sets the TaskIds field's value. -func (s *GetMaintenanceWindowExecutionOutput) SetTaskIds(v []string) *GetMaintenanceWindowExecutionOutput { - s.TaskIds = v - return s -} - -// SetWindowExecutionId sets the WindowExecutionId field's value. -func (s *GetMaintenanceWindowExecutionOutput) SetWindowExecutionId(v string) *GetMaintenanceWindowExecutionOutput { - s.WindowExecutionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskRequest type GetMaintenanceWindowExecutionTaskInput struct { _ struct{} `type:"structure"` @@ -14459,18 +11477,6 @@ func (s *GetMaintenanceWindowExecutionTaskInput) Validate() error { return nil } -// SetTaskId sets the TaskId field's value. -func (s *GetMaintenanceWindowExecutionTaskInput) SetTaskId(v string) *GetMaintenanceWindowExecutionTaskInput { - s.TaskId = &v - return s -} - -// SetWindowExecutionId sets the WindowExecutionId field's value. -func (s *GetMaintenanceWindowExecutionTaskInput) SetWindowExecutionId(v string) *GetMaintenanceWindowExecutionTaskInput { - s.WindowExecutionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskInvocationRequest type GetMaintenanceWindowExecutionTaskInvocationInput struct { _ struct{} `type:"structure"` @@ -14533,24 +11539,6 @@ func (s *GetMaintenanceWindowExecutionTaskInvocationInput) Validate() error { return nil } -// SetInvocationId sets the InvocationId field's value. -func (s *GetMaintenanceWindowExecutionTaskInvocationInput) SetInvocationId(v string) *GetMaintenanceWindowExecutionTaskInvocationInput { - s.InvocationId = &v - return s -} - -// SetTaskId sets the TaskId field's value. -func (s *GetMaintenanceWindowExecutionTaskInvocationInput) SetTaskId(v string) *GetMaintenanceWindowExecutionTaskInvocationInput { - s.TaskId = &v - return s -} - -// SetWindowExecutionId sets the WindowExecutionId field's value. -func (s *GetMaintenanceWindowExecutionTaskInvocationInput) SetWindowExecutionId(v string) *GetMaintenanceWindowExecutionTaskInvocationInput { - s.WindowExecutionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskInvocationResult type GetMaintenanceWindowExecutionTaskInvocationOutput struct { _ struct{} `type:"structure"` @@ -14612,83 +11600,11 @@ func (s GetMaintenanceWindowExecutionTaskInvocationOutput) SDKResponseMetadata() return s.responseMetadata } -// SetEndTime sets the EndTime field's value. -func (s *GetMaintenanceWindowExecutionTaskInvocationOutput) SetEndTime(v time.Time) *GetMaintenanceWindowExecutionTaskInvocationOutput { - s.EndTime = &v - return s -} +// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskResult +type GetMaintenanceWindowExecutionTaskOutput struct { + _ struct{} `type:"structure"` -// SetExecutionId sets the ExecutionId field's value. -func (s *GetMaintenanceWindowExecutionTaskInvocationOutput) SetExecutionId(v string) *GetMaintenanceWindowExecutionTaskInvocationOutput { - s.ExecutionId = &v - return s -} - -// SetInvocationId sets the InvocationId field's value. -func (s *GetMaintenanceWindowExecutionTaskInvocationOutput) SetInvocationId(v string) *GetMaintenanceWindowExecutionTaskInvocationOutput { - s.InvocationId = &v - return s -} - -// SetOwnerInformation sets the OwnerInformation field's value. -func (s *GetMaintenanceWindowExecutionTaskInvocationOutput) SetOwnerInformation(v string) *GetMaintenanceWindowExecutionTaskInvocationOutput { - s.OwnerInformation = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *GetMaintenanceWindowExecutionTaskInvocationOutput) SetParameters(v string) *GetMaintenanceWindowExecutionTaskInvocationOutput { - s.Parameters = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *GetMaintenanceWindowExecutionTaskInvocationOutput) SetStartTime(v time.Time) *GetMaintenanceWindowExecutionTaskInvocationOutput { - s.StartTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetMaintenanceWindowExecutionTaskInvocationOutput) SetStatus(v MaintenanceWindowExecutionStatus) *GetMaintenanceWindowExecutionTaskInvocationOutput { - s.Status = v - return s -} - -// SetStatusDetails sets the StatusDetails field's value. -func (s *GetMaintenanceWindowExecutionTaskInvocationOutput) SetStatusDetails(v string) *GetMaintenanceWindowExecutionTaskInvocationOutput { - s.StatusDetails = &v - return s -} - -// SetTaskExecutionId sets the TaskExecutionId field's value. -func (s *GetMaintenanceWindowExecutionTaskInvocationOutput) SetTaskExecutionId(v string) *GetMaintenanceWindowExecutionTaskInvocationOutput { - s.TaskExecutionId = &v - return s -} - -// SetTaskType sets the TaskType field's value. -func (s *GetMaintenanceWindowExecutionTaskInvocationOutput) SetTaskType(v MaintenanceWindowTaskType) *GetMaintenanceWindowExecutionTaskInvocationOutput { - s.TaskType = v - return s -} - -// SetWindowExecutionId sets the WindowExecutionId field's value. -func (s *GetMaintenanceWindowExecutionTaskInvocationOutput) SetWindowExecutionId(v string) *GetMaintenanceWindowExecutionTaskInvocationOutput { - s.WindowExecutionId = &v - return s -} - -// SetWindowTargetId sets the WindowTargetId field's value. -func (s *GetMaintenanceWindowExecutionTaskInvocationOutput) SetWindowTargetId(v string) *GetMaintenanceWindowExecutionTaskInvocationOutput { - s.WindowTargetId = &v - return s -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskResult -type GetMaintenanceWindowExecutionTaskOutput struct { - _ struct{} `type:"structure"` - - responseMetadata aws.Response + responseMetadata aws.Response // The time the task execution completed. EndTime *time.Time `type:"timestamp" timestampFormat:"unix"` @@ -14752,84 +11668,6 @@ func (s GetMaintenanceWindowExecutionTaskOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetEndTime sets the EndTime field's value. -func (s *GetMaintenanceWindowExecutionTaskOutput) SetEndTime(v time.Time) *GetMaintenanceWindowExecutionTaskOutput { - s.EndTime = &v - return s -} - -// SetMaxConcurrency sets the MaxConcurrency field's value. -func (s *GetMaintenanceWindowExecutionTaskOutput) SetMaxConcurrency(v string) *GetMaintenanceWindowExecutionTaskOutput { - s.MaxConcurrency = &v - return s -} - -// SetMaxErrors sets the MaxErrors field's value. -func (s *GetMaintenanceWindowExecutionTaskOutput) SetMaxErrors(v string) *GetMaintenanceWindowExecutionTaskOutput { - s.MaxErrors = &v - return s -} - -// SetPriority sets the Priority field's value. -func (s *GetMaintenanceWindowExecutionTaskOutput) SetPriority(v int64) *GetMaintenanceWindowExecutionTaskOutput { - s.Priority = &v - return s -} - -// SetServiceRole sets the ServiceRole field's value. -func (s *GetMaintenanceWindowExecutionTaskOutput) SetServiceRole(v string) *GetMaintenanceWindowExecutionTaskOutput { - s.ServiceRole = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *GetMaintenanceWindowExecutionTaskOutput) SetStartTime(v time.Time) *GetMaintenanceWindowExecutionTaskOutput { - s.StartTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *GetMaintenanceWindowExecutionTaskOutput) SetStatus(v MaintenanceWindowExecutionStatus) *GetMaintenanceWindowExecutionTaskOutput { - s.Status = v - return s -} - -// SetStatusDetails sets the StatusDetails field's value. -func (s *GetMaintenanceWindowExecutionTaskOutput) SetStatusDetails(v string) *GetMaintenanceWindowExecutionTaskOutput { - s.StatusDetails = &v - return s -} - -// SetTaskArn sets the TaskArn field's value. -func (s *GetMaintenanceWindowExecutionTaskOutput) SetTaskArn(v string) *GetMaintenanceWindowExecutionTaskOutput { - s.TaskArn = &v - return s -} - -// SetTaskExecutionId sets the TaskExecutionId field's value. -func (s *GetMaintenanceWindowExecutionTaskOutput) SetTaskExecutionId(v string) *GetMaintenanceWindowExecutionTaskOutput { - s.TaskExecutionId = &v - return s -} - -// SetTaskParameters sets the TaskParameters field's value. -func (s *GetMaintenanceWindowExecutionTaskOutput) SetTaskParameters(v []map[string]MaintenanceWindowTaskParameterValueExpression) *GetMaintenanceWindowExecutionTaskOutput { - s.TaskParameters = v - return s -} - -// SetType sets the Type field's value. -func (s *GetMaintenanceWindowExecutionTaskOutput) SetType(v MaintenanceWindowTaskType) *GetMaintenanceWindowExecutionTaskOutput { - s.Type = v - return s -} - -// SetWindowExecutionId sets the WindowExecutionId field's value. -func (s *GetMaintenanceWindowExecutionTaskOutput) SetWindowExecutionId(v string) *GetMaintenanceWindowExecutionTaskOutput { - s.WindowExecutionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowRequest type GetMaintenanceWindowInput struct { _ struct{} `type:"structure"` @@ -14867,12 +11705,6 @@ func (s *GetMaintenanceWindowInput) Validate() error { return nil } -// SetWindowId sets the WindowId field's value. -func (s *GetMaintenanceWindowInput) SetWindowId(v string) *GetMaintenanceWindowInput { - s.WindowId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowResult type GetMaintenanceWindowOutput struct { _ struct{} `type:"structure"` @@ -14927,66 +11759,6 @@ func (s GetMaintenanceWindowOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAllowUnassociatedTargets sets the AllowUnassociatedTargets field's value. -func (s *GetMaintenanceWindowOutput) SetAllowUnassociatedTargets(v bool) *GetMaintenanceWindowOutput { - s.AllowUnassociatedTargets = &v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *GetMaintenanceWindowOutput) SetCreatedDate(v time.Time) *GetMaintenanceWindowOutput { - s.CreatedDate = &v - return s -} - -// SetCutoff sets the Cutoff field's value. -func (s *GetMaintenanceWindowOutput) SetCutoff(v int64) *GetMaintenanceWindowOutput { - s.Cutoff = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *GetMaintenanceWindowOutput) SetDescription(v string) *GetMaintenanceWindowOutput { - s.Description = &v - return s -} - -// SetDuration sets the Duration field's value. -func (s *GetMaintenanceWindowOutput) SetDuration(v int64) *GetMaintenanceWindowOutput { - s.Duration = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *GetMaintenanceWindowOutput) SetEnabled(v bool) *GetMaintenanceWindowOutput { - s.Enabled = &v - return s -} - -// SetModifiedDate sets the ModifiedDate field's value. -func (s *GetMaintenanceWindowOutput) SetModifiedDate(v time.Time) *GetMaintenanceWindowOutput { - s.ModifiedDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetMaintenanceWindowOutput) SetName(v string) *GetMaintenanceWindowOutput { - s.Name = &v - return s -} - -// SetSchedule sets the Schedule field's value. -func (s *GetMaintenanceWindowOutput) SetSchedule(v string) *GetMaintenanceWindowOutput { - s.Schedule = &v - return s -} - -// SetWindowId sets the WindowId field's value. -func (s *GetMaintenanceWindowOutput) SetWindowId(v string) *GetMaintenanceWindowOutput { - s.WindowId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTaskRequest type GetMaintenanceWindowTaskInput struct { _ struct{} `type:"structure"` @@ -15036,18 +11808,6 @@ func (s *GetMaintenanceWindowTaskInput) Validate() error { return nil } -// SetWindowId sets the WindowId field's value. -func (s *GetMaintenanceWindowTaskInput) SetWindowId(v string) *GetMaintenanceWindowTaskInput { - s.WindowId = &v - return s -} - -// SetWindowTaskId sets the WindowTaskId field's value. -func (s *GetMaintenanceWindowTaskInput) SetWindowTaskId(v string) *GetMaintenanceWindowTaskInput { - s.WindowTaskId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTaskResult type GetMaintenanceWindowTaskOutput struct { _ struct{} `type:"structure"` @@ -15116,90 +11876,6 @@ func (s GetMaintenanceWindowTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDescription sets the Description field's value. -func (s *GetMaintenanceWindowTaskOutput) SetDescription(v string) *GetMaintenanceWindowTaskOutput { - s.Description = &v - return s -} - -// SetLoggingInfo sets the LoggingInfo field's value. -func (s *GetMaintenanceWindowTaskOutput) SetLoggingInfo(v *LoggingInfo) *GetMaintenanceWindowTaskOutput { - s.LoggingInfo = v - return s -} - -// SetMaxConcurrency sets the MaxConcurrency field's value. -func (s *GetMaintenanceWindowTaskOutput) SetMaxConcurrency(v string) *GetMaintenanceWindowTaskOutput { - s.MaxConcurrency = &v - return s -} - -// SetMaxErrors sets the MaxErrors field's value. -func (s *GetMaintenanceWindowTaskOutput) SetMaxErrors(v string) *GetMaintenanceWindowTaskOutput { - s.MaxErrors = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetMaintenanceWindowTaskOutput) SetName(v string) *GetMaintenanceWindowTaskOutput { - s.Name = &v - return s -} - -// SetPriority sets the Priority field's value. -func (s *GetMaintenanceWindowTaskOutput) SetPriority(v int64) *GetMaintenanceWindowTaskOutput { - s.Priority = &v - return s -} - -// SetServiceRoleArn sets the ServiceRoleArn field's value. -func (s *GetMaintenanceWindowTaskOutput) SetServiceRoleArn(v string) *GetMaintenanceWindowTaskOutput { - s.ServiceRoleArn = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *GetMaintenanceWindowTaskOutput) SetTargets(v []Target) *GetMaintenanceWindowTaskOutput { - s.Targets = v - return s -} - -// SetTaskArn sets the TaskArn field's value. -func (s *GetMaintenanceWindowTaskOutput) SetTaskArn(v string) *GetMaintenanceWindowTaskOutput { - s.TaskArn = &v - return s -} - -// SetTaskInvocationParameters sets the TaskInvocationParameters field's value. -func (s *GetMaintenanceWindowTaskOutput) SetTaskInvocationParameters(v *MaintenanceWindowTaskInvocationParameters) *GetMaintenanceWindowTaskOutput { - s.TaskInvocationParameters = v - return s -} - -// SetTaskParameters sets the TaskParameters field's value. -func (s *GetMaintenanceWindowTaskOutput) SetTaskParameters(v map[string]MaintenanceWindowTaskParameterValueExpression) *GetMaintenanceWindowTaskOutput { - s.TaskParameters = v - return s -} - -// SetTaskType sets the TaskType field's value. -func (s *GetMaintenanceWindowTaskOutput) SetTaskType(v MaintenanceWindowTaskType) *GetMaintenanceWindowTaskOutput { - s.TaskType = v - return s -} - -// SetWindowId sets the WindowId field's value. -func (s *GetMaintenanceWindowTaskOutput) SetWindowId(v string) *GetMaintenanceWindowTaskOutput { - s.WindowId = &v - return s -} - -// SetWindowTaskId sets the WindowTaskId field's value. -func (s *GetMaintenanceWindowTaskOutput) SetWindowTaskId(v string) *GetMaintenanceWindowTaskOutput { - s.WindowTaskId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistoryRequest type GetParameterHistoryInput struct { _ struct{} `type:"structure"` @@ -15253,30 +11929,6 @@ func (s *GetParameterHistoryInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *GetParameterHistoryInput) SetMaxResults(v int64) *GetParameterHistoryInput { - s.MaxResults = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetParameterHistoryInput) SetName(v string) *GetParameterHistoryInput { - s.Name = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetParameterHistoryInput) SetNextToken(v string) *GetParameterHistoryInput { - s.NextToken = &v - return s -} - -// SetWithDecryption sets the WithDecryption field's value. -func (s *GetParameterHistoryInput) SetWithDecryption(v bool) *GetParameterHistoryInput { - s.WithDecryption = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistoryResult type GetParameterHistoryOutput struct { _ struct{} `type:"structure"` @@ -15306,18 +11958,6 @@ func (s GetParameterHistoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *GetParameterHistoryOutput) SetNextToken(v string) *GetParameterHistoryOutput { - s.NextToken = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *GetParameterHistoryOutput) SetParameters(v []ParameterHistory) *GetParameterHistoryOutput { - s.Parameters = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterRequest type GetParameterInput struct { _ struct{} `type:"structure"` @@ -15359,18 +11999,6 @@ func (s *GetParameterInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *GetParameterInput) SetName(v string) *GetParameterInput { - s.Name = &v - return s -} - -// SetWithDecryption sets the WithDecryption field's value. -func (s *GetParameterInput) SetWithDecryption(v bool) *GetParameterInput { - s.WithDecryption = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterResult type GetParameterOutput struct { _ struct{} `type:"structure"` @@ -15396,12 +12024,6 @@ func (s GetParameterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetParameter sets the Parameter field's value. -func (s *GetParameterOutput) SetParameter(v *Parameter) *GetParameterOutput { - s.Parameter = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPathRequest type GetParametersByPathInput struct { _ struct{} `type:"structure"` @@ -15468,42 +12090,6 @@ func (s *GetParametersByPathInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *GetParametersByPathInput) SetMaxResults(v int64) *GetParametersByPathInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetParametersByPathInput) SetNextToken(v string) *GetParametersByPathInput { - s.NextToken = &v - return s -} - -// SetParameterFilters sets the ParameterFilters field's value. -func (s *GetParametersByPathInput) SetParameterFilters(v []ParameterStringFilter) *GetParametersByPathInput { - s.ParameterFilters = v - return s -} - -// SetPath sets the Path field's value. -func (s *GetParametersByPathInput) SetPath(v string) *GetParametersByPathInput { - s.Path = &v - return s -} - -// SetRecursive sets the Recursive field's value. -func (s *GetParametersByPathInput) SetRecursive(v bool) *GetParametersByPathInput { - s.Recursive = &v - return s -} - -// SetWithDecryption sets the WithDecryption field's value. -func (s *GetParametersByPathInput) SetWithDecryption(v bool) *GetParametersByPathInput { - s.WithDecryption = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPathResult type GetParametersByPathOutput struct { _ struct{} `type:"structure"` @@ -15533,18 +12119,6 @@ func (s GetParametersByPathOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *GetParametersByPathOutput) SetNextToken(v string) *GetParametersByPathOutput { - s.NextToken = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *GetParametersByPathOutput) SetParameters(v []Parameter) *GetParametersByPathOutput { - s.Parameters = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersRequest type GetParametersInput struct { _ struct{} `type:"structure"` @@ -15587,18 +12161,6 @@ func (s *GetParametersInput) Validate() error { return nil } -// SetNames sets the Names field's value. -func (s *GetParametersInput) SetNames(v []string) *GetParametersInput { - s.Names = v - return s -} - -// SetWithDecryption sets the WithDecryption field's value. -func (s *GetParametersInput) SetWithDecryption(v bool) *GetParametersInput { - s.WithDecryption = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersResult type GetParametersOutput struct { _ struct{} `type:"structure"` @@ -15628,18 +12190,6 @@ func (s GetParametersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInvalidParameters sets the InvalidParameters field's value. -func (s *GetParametersOutput) SetInvalidParameters(v []string) *GetParametersOutput { - s.InvalidParameters = v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *GetParametersOutput) SetParameters(v []Parameter) *GetParametersOutput { - s.Parameters = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroupRequest type GetPatchBaselineForPatchGroupInput struct { _ struct{} `type:"structure"` @@ -15681,18 +12231,6 @@ func (s *GetPatchBaselineForPatchGroupInput) Validate() error { return nil } -// SetOperatingSystem sets the OperatingSystem field's value. -func (s *GetPatchBaselineForPatchGroupInput) SetOperatingSystem(v OperatingSystem) *GetPatchBaselineForPatchGroupInput { - s.OperatingSystem = v - return s -} - -// SetPatchGroup sets the PatchGroup field's value. -func (s *GetPatchBaselineForPatchGroupInput) SetPatchGroup(v string) *GetPatchBaselineForPatchGroupInput { - s.PatchGroup = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroupResult type GetPatchBaselineForPatchGroupOutput struct { _ struct{} `type:"structure"` @@ -15724,24 +12262,6 @@ func (s GetPatchBaselineForPatchGroupOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetBaselineId sets the BaselineId field's value. -func (s *GetPatchBaselineForPatchGroupOutput) SetBaselineId(v string) *GetPatchBaselineForPatchGroupOutput { - s.BaselineId = &v - return s -} - -// SetOperatingSystem sets the OperatingSystem field's value. -func (s *GetPatchBaselineForPatchGroupOutput) SetOperatingSystem(v OperatingSystem) *GetPatchBaselineForPatchGroupOutput { - s.OperatingSystem = v - return s -} - -// SetPatchGroup sets the PatchGroup field's value. -func (s *GetPatchBaselineForPatchGroupOutput) SetPatchGroup(v string) *GetPatchBaselineForPatchGroupOutput { - s.PatchGroup = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineRequest type GetPatchBaselineInput struct { _ struct{} `type:"structure"` @@ -15779,12 +12299,6 @@ func (s *GetPatchBaselineInput) Validate() error { return nil } -// SetBaselineId sets the BaselineId field's value. -func (s *GetPatchBaselineInput) SetBaselineId(v string) *GetPatchBaselineInput { - s.BaselineId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineResult type GetPatchBaselineOutput struct { _ struct{} `type:"structure"` @@ -15844,78 +12358,6 @@ func (s GetPatchBaselineOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApprovalRules sets the ApprovalRules field's value. -func (s *GetPatchBaselineOutput) SetApprovalRules(v *PatchRuleGroup) *GetPatchBaselineOutput { - s.ApprovalRules = v - return s -} - -// SetApprovedPatches sets the ApprovedPatches field's value. -func (s *GetPatchBaselineOutput) SetApprovedPatches(v []string) *GetPatchBaselineOutput { - s.ApprovedPatches = v - return s -} - -// SetApprovedPatchesComplianceLevel sets the ApprovedPatchesComplianceLevel field's value. -func (s *GetPatchBaselineOutput) SetApprovedPatchesComplianceLevel(v PatchComplianceLevel) *GetPatchBaselineOutput { - s.ApprovedPatchesComplianceLevel = v - return s -} - -// SetBaselineId sets the BaselineId field's value. -func (s *GetPatchBaselineOutput) SetBaselineId(v string) *GetPatchBaselineOutput { - s.BaselineId = &v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *GetPatchBaselineOutput) SetCreatedDate(v time.Time) *GetPatchBaselineOutput { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *GetPatchBaselineOutput) SetDescription(v string) *GetPatchBaselineOutput { - s.Description = &v - return s -} - -// SetGlobalFilters sets the GlobalFilters field's value. -func (s *GetPatchBaselineOutput) SetGlobalFilters(v *PatchFilterGroup) *GetPatchBaselineOutput { - s.GlobalFilters = v - return s -} - -// SetModifiedDate sets the ModifiedDate field's value. -func (s *GetPatchBaselineOutput) SetModifiedDate(v time.Time) *GetPatchBaselineOutput { - s.ModifiedDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetPatchBaselineOutput) SetName(v string) *GetPatchBaselineOutput { - s.Name = &v - return s -} - -// SetOperatingSystem sets the OperatingSystem field's value. -func (s *GetPatchBaselineOutput) SetOperatingSystem(v OperatingSystem) *GetPatchBaselineOutput { - s.OperatingSystem = v - return s -} - -// SetPatchGroups sets the PatchGroups field's value. -func (s *GetPatchBaselineOutput) SetPatchGroups(v []string) *GetPatchBaselineOutput { - s.PatchGroups = v - return s -} - -// SetRejectedPatches sets the RejectedPatches field's value. -func (s *GetPatchBaselineOutput) SetRejectedPatches(v []string) *GetPatchBaselineOutput { - s.RejectedPatches = v - return s -} - // Status information about the aggregated associations. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceAggregatedAssociationOverview type InstanceAggregatedAssociationOverview struct { @@ -15938,18 +12380,6 @@ func (s InstanceAggregatedAssociationOverview) GoString() string { return s.String() } -// SetDetailedStatus sets the DetailedStatus field's value. -func (s *InstanceAggregatedAssociationOverview) SetDetailedStatus(v string) *InstanceAggregatedAssociationOverview { - s.DetailedStatus = &v - return s -} - -// SetInstanceAssociationStatusAggregatedCount sets the InstanceAssociationStatusAggregatedCount field's value. -func (s *InstanceAggregatedAssociationOverview) SetInstanceAssociationStatusAggregatedCount(v map[string]int64) *InstanceAggregatedAssociationOverview { - s.InstanceAssociationStatusAggregatedCount = v - return s -} - // One or more association documents on the instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceAssociation type InstanceAssociation struct { @@ -15978,30 +12408,6 @@ func (s InstanceAssociation) GoString() string { return s.String() } -// SetAssociationId sets the AssociationId field's value. -func (s *InstanceAssociation) SetAssociationId(v string) *InstanceAssociation { - s.AssociationId = &v - return s -} - -// SetAssociationVersion sets the AssociationVersion field's value. -func (s *InstanceAssociation) SetAssociationVersion(v string) *InstanceAssociation { - s.AssociationVersion = &v - return s -} - -// SetContent sets the Content field's value. -func (s *InstanceAssociation) SetContent(v string) *InstanceAssociation { - s.Content = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *InstanceAssociation) SetInstanceId(v string) *InstanceAssociation { - s.InstanceId = &v - return s -} - // An Amazon S3 bucket where you want to store the results of this request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceAssociationOutputLocation type InstanceAssociationOutputLocation struct { @@ -16036,12 +12442,6 @@ func (s *InstanceAssociationOutputLocation) Validate() error { return nil } -// SetS3Location sets the S3Location field's value. -func (s *InstanceAssociationOutputLocation) SetS3Location(v *S3OutputLocation) *InstanceAssociationOutputLocation { - s.S3Location = v - return s -} - // The URL of Amazon S3 bucket where you want to store the results of this request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceAssociationOutputUrl type InstanceAssociationOutputUrl struct { @@ -16061,12 +12461,6 @@ func (s InstanceAssociationOutputUrl) GoString() string { return s.String() } -// SetS3OutputUrl sets the S3OutputUrl field's value. -func (s *InstanceAssociationOutputUrl) SetS3OutputUrl(v *S3OutputUrl) *InstanceAssociationOutputUrl { - s.S3OutputUrl = v - return s -} - // Status information about the instance association. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceAssociationStatusInfo type InstanceAssociationStatusInfo struct { @@ -16120,78 +12514,6 @@ func (s InstanceAssociationStatusInfo) GoString() string { return s.String() } -// SetAssociationId sets the AssociationId field's value. -func (s *InstanceAssociationStatusInfo) SetAssociationId(v string) *InstanceAssociationStatusInfo { - s.AssociationId = &v - return s -} - -// SetAssociationName sets the AssociationName field's value. -func (s *InstanceAssociationStatusInfo) SetAssociationName(v string) *InstanceAssociationStatusInfo { - s.AssociationName = &v - return s -} - -// SetAssociationVersion sets the AssociationVersion field's value. -func (s *InstanceAssociationStatusInfo) SetAssociationVersion(v string) *InstanceAssociationStatusInfo { - s.AssociationVersion = &v - return s -} - -// SetDetailedStatus sets the DetailedStatus field's value. -func (s *InstanceAssociationStatusInfo) SetDetailedStatus(v string) *InstanceAssociationStatusInfo { - s.DetailedStatus = &v - return s -} - -// SetDocumentVersion sets the DocumentVersion field's value. -func (s *InstanceAssociationStatusInfo) SetDocumentVersion(v string) *InstanceAssociationStatusInfo { - s.DocumentVersion = &v - return s -} - -// SetErrorCode sets the ErrorCode field's value. -func (s *InstanceAssociationStatusInfo) SetErrorCode(v string) *InstanceAssociationStatusInfo { - s.ErrorCode = &v - return s -} - -// SetExecutionDate sets the ExecutionDate field's value. -func (s *InstanceAssociationStatusInfo) SetExecutionDate(v time.Time) *InstanceAssociationStatusInfo { - s.ExecutionDate = &v - return s -} - -// SetExecutionSummary sets the ExecutionSummary field's value. -func (s *InstanceAssociationStatusInfo) SetExecutionSummary(v string) *InstanceAssociationStatusInfo { - s.ExecutionSummary = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *InstanceAssociationStatusInfo) SetInstanceId(v string) *InstanceAssociationStatusInfo { - s.InstanceId = &v - return s -} - -// SetName sets the Name field's value. -func (s *InstanceAssociationStatusInfo) SetName(v string) *InstanceAssociationStatusInfo { - s.Name = &v - return s -} - -// SetOutputUrl sets the OutputUrl field's value. -func (s *InstanceAssociationStatusInfo) SetOutputUrl(v *InstanceAssociationOutputUrl) *InstanceAssociationStatusInfo { - s.OutputUrl = v - return s -} - -// SetStatus sets the Status field's value. -func (s *InstanceAssociationStatusInfo) SetStatus(v string) *InstanceAssociationStatusInfo { - s.Status = &v - return s -} - // Describes a filter for a specific list of instances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceInformation type InstanceInformation struct { @@ -16266,152 +12588,38 @@ func (s InstanceInformation) GoString() string { return s.String() } -// SetActivationId sets the ActivationId field's value. -func (s *InstanceInformation) SetActivationId(v string) *InstanceInformation { - s.ActivationId = &v - return s -} - -// SetAgentVersion sets the AgentVersion field's value. -func (s *InstanceInformation) SetAgentVersion(v string) *InstanceInformation { - s.AgentVersion = &v - return s -} - -// SetAssociationOverview sets the AssociationOverview field's value. -func (s *InstanceInformation) SetAssociationOverview(v *InstanceAggregatedAssociationOverview) *InstanceInformation { - s.AssociationOverview = v - return s -} +// Describes a filter for a specific list of instances. +// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceInformationFilter +type InstanceInformationFilter struct { + _ struct{} `type:"structure"` -// SetAssociationStatus sets the AssociationStatus field's value. -func (s *InstanceInformation) SetAssociationStatus(v string) *InstanceInformation { - s.AssociationStatus = &v - return s -} + // The name of the filter. + // + // Key is a required field + Key InstanceInformationFilterKey `locationName:"key" type:"string" required:"true" enum:"true"` -// SetComputerName sets the ComputerName field's value. -func (s *InstanceInformation) SetComputerName(v string) *InstanceInformation { - s.ComputerName = &v - return s + // The filter values. + // + // ValueSet is a required field + ValueSet []string `locationName:"valueSet" min:"1" type:"list" required:"true"` } -// SetIPAddress sets the IPAddress field's value. -func (s *InstanceInformation) SetIPAddress(v string) *InstanceInformation { - s.IPAddress = &v - return s +// String returns the string representation +func (s InstanceInformationFilter) String() string { + return awsutil.Prettify(s) } -// SetIamRole sets the IamRole field's value. -func (s *InstanceInformation) SetIamRole(v string) *InstanceInformation { - s.IamRole = &v - return s +// GoString returns the string representation +func (s InstanceInformationFilter) GoString() string { + return s.String() } -// SetInstanceId sets the InstanceId field's value. -func (s *InstanceInformation) SetInstanceId(v string) *InstanceInformation { - s.InstanceId = &v - return s -} - -// SetIsLatestVersion sets the IsLatestVersion field's value. -func (s *InstanceInformation) SetIsLatestVersion(v bool) *InstanceInformation { - s.IsLatestVersion = &v - return s -} - -// SetLastAssociationExecutionDate sets the LastAssociationExecutionDate field's value. -func (s *InstanceInformation) SetLastAssociationExecutionDate(v time.Time) *InstanceInformation { - s.LastAssociationExecutionDate = &v - return s -} - -// SetLastPingDateTime sets the LastPingDateTime field's value. -func (s *InstanceInformation) SetLastPingDateTime(v time.Time) *InstanceInformation { - s.LastPingDateTime = &v - return s -} - -// SetLastSuccessfulAssociationExecutionDate sets the LastSuccessfulAssociationExecutionDate field's value. -func (s *InstanceInformation) SetLastSuccessfulAssociationExecutionDate(v time.Time) *InstanceInformation { - s.LastSuccessfulAssociationExecutionDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *InstanceInformation) SetName(v string) *InstanceInformation { - s.Name = &v - return s -} - -// SetPingStatus sets the PingStatus field's value. -func (s *InstanceInformation) SetPingStatus(v PingStatus) *InstanceInformation { - s.PingStatus = v - return s -} - -// SetPlatformName sets the PlatformName field's value. -func (s *InstanceInformation) SetPlatformName(v string) *InstanceInformation { - s.PlatformName = &v - return s -} - -// SetPlatformType sets the PlatformType field's value. -func (s *InstanceInformation) SetPlatformType(v PlatformType) *InstanceInformation { - s.PlatformType = v - return s -} - -// SetPlatformVersion sets the PlatformVersion field's value. -func (s *InstanceInformation) SetPlatformVersion(v string) *InstanceInformation { - s.PlatformVersion = &v - return s -} - -// SetRegistrationDate sets the RegistrationDate field's value. -func (s *InstanceInformation) SetRegistrationDate(v time.Time) *InstanceInformation { - s.RegistrationDate = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *InstanceInformation) SetResourceType(v ResourceType) *InstanceInformation { - s.ResourceType = v - return s -} - -// Describes a filter for a specific list of instances. -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceInformationFilter -type InstanceInformationFilter struct { - _ struct{} `type:"structure"` - - // The name of the filter. - // - // Key is a required field - Key InstanceInformationFilterKey `locationName:"key" type:"string" required:"true" enum:"true"` - - // The filter values. - // - // ValueSet is a required field - ValueSet []string `locationName:"valueSet" min:"1" type:"list" required:"true"` -} - -// String returns the string representation -func (s InstanceInformationFilter) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s InstanceInformationFilter) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *InstanceInformationFilter) Validate() error { - invalidParams := aws.ErrInvalidParams{Context: "InstanceInformationFilter"} - if len(s.Key) == 0 { - invalidParams.Add(aws.NewErrParamRequired("Key")) - } +// Validate inspects the fields of the type to determine if they are valid. +func (s *InstanceInformationFilter) Validate() error { + invalidParams := aws.ErrInvalidParams{Context: "InstanceInformationFilter"} + if len(s.Key) == 0 { + invalidParams.Add(aws.NewErrParamRequired("Key")) + } if s.ValueSet == nil { invalidParams.Add(aws.NewErrParamRequired("ValueSet")) @@ -16426,18 +12634,6 @@ func (s *InstanceInformationFilter) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *InstanceInformationFilter) SetKey(v InstanceInformationFilterKey) *InstanceInformationFilter { - s.Key = v - return s -} - -// SetValueSet sets the ValueSet field's value. -func (s *InstanceInformationFilter) SetValueSet(v []string) *InstanceInformationFilter { - s.ValueSet = v - return s -} - // The filters to describe or get information about your managed instances. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstanceInformationStringFilter type InstanceInformationStringFilter struct { @@ -16491,18 +12687,6 @@ func (s *InstanceInformationStringFilter) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *InstanceInformationStringFilter) SetKey(v string) *InstanceInformationStringFilter { - s.Key = &v - return s -} - -// SetValues sets the Values field's value. -func (s *InstanceInformationStringFilter) SetValues(v []string) *InstanceInformationStringFilter { - s.Values = v - return s -} - // Defines the high-level patch compliance state for a managed instance, providing // information about the number of installed, missing, not applicable, and failed // patches along with metadata about the operation when this information was @@ -16581,84 +12765,6 @@ func (s InstancePatchState) GoString() string { return s.String() } -// SetBaselineId sets the BaselineId field's value. -func (s *InstancePatchState) SetBaselineId(v string) *InstancePatchState { - s.BaselineId = &v - return s -} - -// SetFailedCount sets the FailedCount field's value. -func (s *InstancePatchState) SetFailedCount(v int64) *InstancePatchState { - s.FailedCount = &v - return s -} - -// SetInstalledCount sets the InstalledCount field's value. -func (s *InstancePatchState) SetInstalledCount(v int64) *InstancePatchState { - s.InstalledCount = &v - return s -} - -// SetInstalledOtherCount sets the InstalledOtherCount field's value. -func (s *InstancePatchState) SetInstalledOtherCount(v int64) *InstancePatchState { - s.InstalledOtherCount = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *InstancePatchState) SetInstanceId(v string) *InstancePatchState { - s.InstanceId = &v - return s -} - -// SetMissingCount sets the MissingCount field's value. -func (s *InstancePatchState) SetMissingCount(v int64) *InstancePatchState { - s.MissingCount = &v - return s -} - -// SetNotApplicableCount sets the NotApplicableCount field's value. -func (s *InstancePatchState) SetNotApplicableCount(v int64) *InstancePatchState { - s.NotApplicableCount = &v - return s -} - -// SetOperation sets the Operation field's value. -func (s *InstancePatchState) SetOperation(v PatchOperationType) *InstancePatchState { - s.Operation = v - return s -} - -// SetOperationEndTime sets the OperationEndTime field's value. -func (s *InstancePatchState) SetOperationEndTime(v time.Time) *InstancePatchState { - s.OperationEndTime = &v - return s -} - -// SetOperationStartTime sets the OperationStartTime field's value. -func (s *InstancePatchState) SetOperationStartTime(v time.Time) *InstancePatchState { - s.OperationStartTime = &v - return s -} - -// SetOwnerInformation sets the OwnerInformation field's value. -func (s *InstancePatchState) SetOwnerInformation(v string) *InstancePatchState { - s.OwnerInformation = &v - return s -} - -// SetPatchGroup sets the PatchGroup field's value. -func (s *InstancePatchState) SetPatchGroup(v string) *InstancePatchState { - s.PatchGroup = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *InstancePatchState) SetSnapshotId(v string) *InstancePatchState { - s.SnapshotId = &v - return s -} - // Defines a filter used in DescribeInstancePatchStatesForPatchGroup used to // scope down the information returned by the API. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InstancePatchStateFilter @@ -16720,24 +12826,6 @@ func (s *InstancePatchStateFilter) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *InstancePatchStateFilter) SetKey(v string) *InstancePatchStateFilter { - s.Key = &v - return s -} - -// SetType sets the Type field's value. -func (s *InstancePatchStateFilter) SetType(v InstancePatchStateOperatorType) *InstancePatchStateFilter { - s.Type = v - return s -} - -// SetValues sets the Values field's value. -func (s *InstancePatchStateFilter) SetValues(v []string) *InstancePatchStateFilter { - s.Values = v - return s -} - // Specifies the inventory type and attribute for the aggregation execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryAggregator type InventoryAggregator struct { @@ -16783,18 +12871,6 @@ func (s *InventoryAggregator) Validate() error { return nil } -// SetAggregators sets the Aggregators field's value. -func (s *InventoryAggregator) SetAggregators(v []InventoryAggregator) *InventoryAggregator { - s.Aggregators = v - return s -} - -// SetExpression sets the Expression field's value. -func (s *InventoryAggregator) SetExpression(v string) *InventoryAggregator { - s.Expression = &v - return s -} - // One or more filters. Use a filter to return a more specific list of results. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryFilter type InventoryFilter struct { @@ -16850,24 +12926,6 @@ func (s *InventoryFilter) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *InventoryFilter) SetKey(v string) *InventoryFilter { - s.Key = &v - return s -} - -// SetType sets the Type field's value. -func (s *InventoryFilter) SetType(v InventoryQueryOperatorType) *InventoryFilter { - s.Type = v - return s -} - -// SetValues sets the Values field's value. -func (s *InventoryFilter) SetValues(v []string) *InventoryFilter { - s.Values = v - return s -} - // Information collected from managed instances based on your inventory policy // document // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryItem @@ -16942,42 +13000,6 @@ func (s *InventoryItem) Validate() error { return nil } -// SetCaptureTime sets the CaptureTime field's value. -func (s *InventoryItem) SetCaptureTime(v string) *InventoryItem { - s.CaptureTime = &v - return s -} - -// SetContent sets the Content field's value. -func (s *InventoryItem) SetContent(v []map[string]string) *InventoryItem { - s.Content = v - return s -} - -// SetContentHash sets the ContentHash field's value. -func (s *InventoryItem) SetContentHash(v string) *InventoryItem { - s.ContentHash = &v - return s -} - -// SetContext sets the Context field's value. -func (s *InventoryItem) SetContext(v map[string]string) *InventoryItem { - s.Context = v - return s -} - -// SetSchemaVersion sets the SchemaVersion field's value. -func (s *InventoryItem) SetSchemaVersion(v string) *InventoryItem { - s.SchemaVersion = &v - return s -} - -// SetTypeName sets the TypeName field's value. -func (s *InventoryItem) SetTypeName(v string) *InventoryItem { - s.TypeName = &v - return s -} - // Attributes are the entries within the inventory item content. It contains // name and value. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryItemAttribute @@ -17005,18 +13027,6 @@ func (s InventoryItemAttribute) GoString() string { return s.String() } -// SetDataType sets the DataType field's value. -func (s *InventoryItemAttribute) SetDataType(v InventoryAttributeDataType) *InventoryItemAttribute { - s.DataType = v - return s -} - -// SetName sets the Name field's value. -func (s *InventoryItemAttribute) SetName(v string) *InventoryItemAttribute { - s.Name = &v - return s -} - // The inventory item schema definition. Users can use this to compose inventory // query filters. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryItemSchema @@ -17055,30 +13065,6 @@ func (s InventoryItemSchema) GoString() string { return s.String() } -// SetAttributes sets the Attributes field's value. -func (s *InventoryItemSchema) SetAttributes(v []InventoryItemAttribute) *InventoryItemSchema { - s.Attributes = v - return s -} - -// SetDisplayName sets the DisplayName field's value. -func (s *InventoryItemSchema) SetDisplayName(v string) *InventoryItemSchema { - s.DisplayName = &v - return s -} - -// SetTypeName sets the TypeName field's value. -func (s *InventoryItemSchema) SetTypeName(v string) *InventoryItemSchema { - s.TypeName = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *InventoryItemSchema) SetVersion(v string) *InventoryItemSchema { - s.Version = &v - return s -} - // Inventory query results. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryResultEntity type InventoryResultEntity struct { @@ -17103,18 +13089,6 @@ func (s InventoryResultEntity) GoString() string { return s.String() } -// SetData sets the Data field's value. -func (s *InventoryResultEntity) SetData(v map[string]InventoryResultItem) *InventoryResultEntity { - s.Data = v - return s -} - -// SetId sets the Id field's value. -func (s *InventoryResultEntity) SetId(v string) *InventoryResultEntity { - s.Id = &v - return s -} - // The inventory result item. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryResultItem type InventoryResultItem struct { @@ -17156,36 +13130,6 @@ func (s InventoryResultItem) GoString() string { return s.String() } -// SetCaptureTime sets the CaptureTime field's value. -func (s *InventoryResultItem) SetCaptureTime(v string) *InventoryResultItem { - s.CaptureTime = &v - return s -} - -// SetContent sets the Content field's value. -func (s *InventoryResultItem) SetContent(v []map[string]string) *InventoryResultItem { - s.Content = v - return s -} - -// SetContentHash sets the ContentHash field's value. -func (s *InventoryResultItem) SetContentHash(v string) *InventoryResultItem { - s.ContentHash = &v - return s -} - -// SetSchemaVersion sets the SchemaVersion field's value. -func (s *InventoryResultItem) SetSchemaVersion(v string) *InventoryResultItem { - s.SchemaVersion = &v - return s -} - -// SetTypeName sets the TypeName field's value. -func (s *InventoryResultItem) SetTypeName(v string) *InventoryResultItem { - s.TypeName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersionsRequest type ListAssociationVersionsInput struct { _ struct{} `type:"structure"` @@ -17231,24 +13175,6 @@ func (s *ListAssociationVersionsInput) Validate() error { return nil } -// SetAssociationId sets the AssociationId field's value. -func (s *ListAssociationVersionsInput) SetAssociationId(v string) *ListAssociationVersionsInput { - s.AssociationId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListAssociationVersionsInput) SetMaxResults(v int64) *ListAssociationVersionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAssociationVersionsInput) SetNextToken(v string) *ListAssociationVersionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersionsResult type ListAssociationVersionsOutput struct { _ struct{} `type:"structure"` @@ -17279,18 +13205,6 @@ func (s ListAssociationVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssociationVersions sets the AssociationVersions field's value. -func (s *ListAssociationVersionsOutput) SetAssociationVersions(v []AssociationVersionInfo) *ListAssociationVersionsOutput { - s.AssociationVersions = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAssociationVersionsOutput) SetNextToken(v string) *ListAssociationVersionsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationsRequest type ListAssociationsInput struct { _ struct{} `type:"structure"` @@ -17341,24 +13255,6 @@ func (s *ListAssociationsInput) Validate() error { return nil } -// SetAssociationFilterList sets the AssociationFilterList field's value. -func (s *ListAssociationsInput) SetAssociationFilterList(v []AssociationFilter) *ListAssociationsInput { - s.AssociationFilterList = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListAssociationsInput) SetMaxResults(v int64) *ListAssociationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAssociationsInput) SetNextToken(v string) *ListAssociationsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationsResult type ListAssociationsOutput struct { _ struct{} `type:"structure"` @@ -17388,18 +13284,6 @@ func (s ListAssociationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssociations sets the Associations field's value. -func (s *ListAssociationsOutput) SetAssociations(v []Association) *ListAssociationsOutput { - s.Associations = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAssociationsOutput) SetNextToken(v string) *ListAssociationsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandInvocationsRequest type ListCommandInvocationsInput struct { _ struct{} `type:"structure"` @@ -17464,42 +13348,6 @@ func (s *ListCommandInvocationsInput) Validate() error { return nil } -// SetCommandId sets the CommandId field's value. -func (s *ListCommandInvocationsInput) SetCommandId(v string) *ListCommandInvocationsInput { - s.CommandId = &v - return s -} - -// SetDetails sets the Details field's value. -func (s *ListCommandInvocationsInput) SetDetails(v bool) *ListCommandInvocationsInput { - s.Details = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *ListCommandInvocationsInput) SetFilters(v []CommandFilter) *ListCommandInvocationsInput { - s.Filters = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *ListCommandInvocationsInput) SetInstanceId(v string) *ListCommandInvocationsInput { - s.InstanceId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListCommandInvocationsInput) SetMaxResults(v int64) *ListCommandInvocationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListCommandInvocationsInput) SetNextToken(v string) *ListCommandInvocationsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandInvocationsResult type ListCommandInvocationsOutput struct { _ struct{} `type:"structure"` @@ -17529,18 +13377,6 @@ func (s ListCommandInvocationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCommandInvocations sets the CommandInvocations field's value. -func (s *ListCommandInvocationsOutput) SetCommandInvocations(v []CommandInvocation) *ListCommandInvocationsOutput { - s.CommandInvocations = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListCommandInvocationsOutput) SetNextToken(v string) *ListCommandInvocationsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandsRequest type ListCommandsInput struct { _ struct{} `type:"structure"` @@ -17601,36 +13437,6 @@ func (s *ListCommandsInput) Validate() error { return nil } -// SetCommandId sets the CommandId field's value. -func (s *ListCommandsInput) SetCommandId(v string) *ListCommandsInput { - s.CommandId = &v - return s -} - -// SetFilters sets the Filters field's value. -func (s *ListCommandsInput) SetFilters(v []CommandFilter) *ListCommandsInput { - s.Filters = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *ListCommandsInput) SetInstanceId(v string) *ListCommandsInput { - s.InstanceId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListCommandsInput) SetMaxResults(v int64) *ListCommandsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListCommandsInput) SetNextToken(v string) *ListCommandsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandsResult type ListCommandsOutput struct { _ struct{} `type:"structure"` @@ -17660,18 +13466,6 @@ func (s ListCommandsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCommands sets the Commands field's value. -func (s *ListCommandsOutput) SetCommands(v []Command) *ListCommandsOutput { - s.Commands = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListCommandsOutput) SetNextToken(v string) *ListCommandsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceItemsRequest type ListComplianceItemsInput struct { _ struct{} `type:"structure"` @@ -17733,36 +13527,6 @@ func (s *ListComplianceItemsInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *ListComplianceItemsInput) SetFilters(v []ComplianceStringFilter) *ListComplianceItemsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListComplianceItemsInput) SetMaxResults(v int64) *ListComplianceItemsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListComplianceItemsInput) SetNextToken(v string) *ListComplianceItemsInput { - s.NextToken = &v - return s -} - -// SetResourceIds sets the ResourceIds field's value. -func (s *ListComplianceItemsInput) SetResourceIds(v []string) *ListComplianceItemsInput { - s.ResourceIds = v - return s -} - -// SetResourceTypes sets the ResourceTypes field's value. -func (s *ListComplianceItemsInput) SetResourceTypes(v []string) *ListComplianceItemsInput { - s.ResourceTypes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceItemsResult type ListComplianceItemsOutput struct { _ struct{} `type:"structure"` @@ -17792,18 +13556,6 @@ func (s ListComplianceItemsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetComplianceItems sets the ComplianceItems field's value. -func (s *ListComplianceItemsOutput) SetComplianceItems(v []ComplianceItem) *ListComplianceItemsOutput { - s.ComplianceItems = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListComplianceItemsOutput) SetNextToken(v string) *ListComplianceItemsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceSummariesRequest type ListComplianceSummariesInput struct { _ struct{} `type:"structure"` @@ -17851,24 +13603,6 @@ func (s *ListComplianceSummariesInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *ListComplianceSummariesInput) SetFilters(v []ComplianceStringFilter) *ListComplianceSummariesInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListComplianceSummariesInput) SetMaxResults(v int64) *ListComplianceSummariesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListComplianceSummariesInput) SetNextToken(v string) *ListComplianceSummariesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceSummariesResult type ListComplianceSummariesOutput struct { _ struct{} `type:"structure"` @@ -17900,18 +13634,6 @@ func (s ListComplianceSummariesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetComplianceSummaryItems sets the ComplianceSummaryItems field's value. -func (s *ListComplianceSummariesOutput) SetComplianceSummaryItems(v []ComplianceSummaryItem) *ListComplianceSummariesOutput { - s.ComplianceSummaryItems = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListComplianceSummariesOutput) SetNextToken(v string) *ListComplianceSummariesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersionsRequest type ListDocumentVersionsInput struct { _ struct{} `type:"structure"` @@ -17958,24 +13680,6 @@ func (s *ListDocumentVersionsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListDocumentVersionsInput) SetMaxResults(v int64) *ListDocumentVersionsInput { - s.MaxResults = &v - return s -} - -// SetName sets the Name field's value. -func (s *ListDocumentVersionsInput) SetName(v string) *ListDocumentVersionsInput { - s.Name = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDocumentVersionsInput) SetNextToken(v string) *ListDocumentVersionsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersionsResult type ListDocumentVersionsOutput struct { _ struct{} `type:"structure"` @@ -18005,18 +13709,6 @@ func (s ListDocumentVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDocumentVersions sets the DocumentVersions field's value. -func (s *ListDocumentVersionsOutput) SetDocumentVersions(v []DocumentVersionInfo) *ListDocumentVersionsOutput { - s.DocumentVersions = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDocumentVersionsOutput) SetNextToken(v string) *ListDocumentVersionsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentsRequest type ListDocumentsInput struct { _ struct{} `type:"structure"` @@ -18077,30 +13769,6 @@ func (s *ListDocumentsInput) Validate() error { return nil } -// SetDocumentFilterList sets the DocumentFilterList field's value. -func (s *ListDocumentsInput) SetDocumentFilterList(v []DocumentFilter) *ListDocumentsInput { - s.DocumentFilterList = v - return s -} - -// SetFilters sets the Filters field's value. -func (s *ListDocumentsInput) SetFilters(v []DocumentKeyValuesFilter) *ListDocumentsInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListDocumentsInput) SetMaxResults(v int64) *ListDocumentsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDocumentsInput) SetNextToken(v string) *ListDocumentsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentsResult type ListDocumentsOutput struct { _ struct{} `type:"structure"` @@ -18130,18 +13798,6 @@ func (s ListDocumentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDocumentIdentifiers sets the DocumentIdentifiers field's value. -func (s *ListDocumentsOutput) SetDocumentIdentifiers(v []DocumentIdentifier) *ListDocumentsOutput { - s.DocumentIdentifiers = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListDocumentsOutput) SetNextToken(v string) *ListDocumentsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListInventoryEntriesRequest type ListInventoryEntriesInput struct { _ struct{} `type:"structure"` @@ -18213,36 +13869,6 @@ func (s *ListInventoryEntriesInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *ListInventoryEntriesInput) SetFilters(v []InventoryFilter) *ListInventoryEntriesInput { - s.Filters = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *ListInventoryEntriesInput) SetInstanceId(v string) *ListInventoryEntriesInput { - s.InstanceId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListInventoryEntriesInput) SetMaxResults(v int64) *ListInventoryEntriesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListInventoryEntriesInput) SetNextToken(v string) *ListInventoryEntriesInput { - s.NextToken = &v - return s -} - -// SetTypeName sets the TypeName field's value. -func (s *ListInventoryEntriesInput) SetTypeName(v string) *ListInventoryEntriesInput { - s.TypeName = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListInventoryEntriesResult type ListInventoryEntriesOutput struct { _ struct{} `type:"structure"` @@ -18284,48 +13910,12 @@ func (s ListInventoryEntriesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCaptureTime sets the CaptureTime field's value. -func (s *ListInventoryEntriesOutput) SetCaptureTime(v string) *ListInventoryEntriesOutput { - s.CaptureTime = &v - return s -} +// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceComplianceSummariesRequest +type ListResourceComplianceSummariesInput struct { + _ struct{} `type:"structure"` -// SetEntries sets the Entries field's value. -func (s *ListInventoryEntriesOutput) SetEntries(v []map[string]string) *ListInventoryEntriesOutput { - s.Entries = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *ListInventoryEntriesOutput) SetInstanceId(v string) *ListInventoryEntriesOutput { - s.InstanceId = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListInventoryEntriesOutput) SetNextToken(v string) *ListInventoryEntriesOutput { - s.NextToken = &v - return s -} - -// SetSchemaVersion sets the SchemaVersion field's value. -func (s *ListInventoryEntriesOutput) SetSchemaVersion(v string) *ListInventoryEntriesOutput { - s.SchemaVersion = &v - return s -} - -// SetTypeName sets the TypeName field's value. -func (s *ListInventoryEntriesOutput) SetTypeName(v string) *ListInventoryEntriesOutput { - s.TypeName = &v - return s -} - -// Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceComplianceSummariesRequest -type ListResourceComplianceSummariesInput struct { - _ struct{} `type:"structure"` - - // One or more filters. Use a filter to return a more specific list of results. - Filters []ComplianceStringFilter `type:"list"` + // One or more filters. Use a filter to return a more specific list of results. + Filters []ComplianceStringFilter `type:"list"` // The maximum number of items to return for this call. The call also returns // a token that you can specify in a subsequent call to get the next set of @@ -18366,24 +13956,6 @@ func (s *ListResourceComplianceSummariesInput) Validate() error { return nil } -// SetFilters sets the Filters field's value. -func (s *ListResourceComplianceSummariesInput) SetFilters(v []ComplianceStringFilter) *ListResourceComplianceSummariesInput { - s.Filters = v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListResourceComplianceSummariesInput) SetMaxResults(v int64) *ListResourceComplianceSummariesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListResourceComplianceSummariesInput) SetNextToken(v string) *ListResourceComplianceSummariesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceComplianceSummariesResult type ListResourceComplianceSummariesOutput struct { _ struct{} `type:"structure"` @@ -18415,18 +13987,6 @@ func (s ListResourceComplianceSummariesOutput) SDKResponseMetadata() aws.Respons return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListResourceComplianceSummariesOutput) SetNextToken(v string) *ListResourceComplianceSummariesOutput { - s.NextToken = &v - return s -} - -// SetResourceComplianceSummaryItems sets the ResourceComplianceSummaryItems field's value. -func (s *ListResourceComplianceSummariesOutput) SetResourceComplianceSummaryItems(v []ResourceComplianceSummaryItem) *ListResourceComplianceSummariesOutput { - s.ResourceComplianceSummaryItems = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceDataSyncRequest type ListResourceDataSyncInput struct { _ struct{} `type:"structure"` @@ -18463,18 +14023,6 @@ func (s *ListResourceDataSyncInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListResourceDataSyncInput) SetMaxResults(v int64) *ListResourceDataSyncInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListResourceDataSyncInput) SetNextToken(v string) *ListResourceDataSyncInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceDataSyncResult type ListResourceDataSyncOutput struct { _ struct{} `type:"structure"` @@ -18504,18 +14052,6 @@ func (s ListResourceDataSyncOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListResourceDataSyncOutput) SetNextToken(v string) *ListResourceDataSyncOutput { - s.NextToken = &v - return s -} - -// SetResourceDataSyncItems sets the ResourceDataSyncItems field's value. -func (s *ListResourceDataSyncOutput) SetResourceDataSyncItems(v []ResourceDataSyncItem) *ListResourceDataSyncOutput { - s.ResourceDataSyncItems = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListTagsForResourceRequest type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -18558,18 +14094,6 @@ func (s *ListTagsForResourceInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *ListTagsForResourceInput) SetResourceId(v string) *ListTagsForResourceInput { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *ListTagsForResourceInput) SetResourceType(v ResourceTypeForTagging) *ListTagsForResourceInput { - s.ResourceType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListTagsForResourceResult type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` @@ -18595,12 +14119,6 @@ func (s ListTagsForResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTagList sets the TagList field's value. -func (s *ListTagsForResourceOutput) SetTagList(v []Tag) *ListTagsForResourceOutput { - s.TagList = v - return s -} - // Information about an Amazon S3 bucket to write instance-level logs to. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/LoggingInfo type LoggingInfo struct { @@ -18654,24 +14172,6 @@ func (s *LoggingInfo) Validate() error { return nil } -// SetS3BucketName sets the S3BucketName field's value. -func (s *LoggingInfo) SetS3BucketName(v string) *LoggingInfo { - s.S3BucketName = &v - return s -} - -// SetS3KeyPrefix sets the S3KeyPrefix field's value. -func (s *LoggingInfo) SetS3KeyPrefix(v string) *LoggingInfo { - s.S3KeyPrefix = &v - return s -} - -// SetS3Region sets the S3Region field's value. -func (s *LoggingInfo) SetS3Region(v string) *LoggingInfo { - s.S3Region = &v - return s -} - // The parameters for an AUTOMATION task type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowAutomationParameters type MaintenanceWindowAutomationParameters struct { @@ -18707,18 +14207,6 @@ func (s *MaintenanceWindowAutomationParameters) Validate() error { return nil } -// SetDocumentVersion sets the DocumentVersion field's value. -func (s *MaintenanceWindowAutomationParameters) SetDocumentVersion(v string) *MaintenanceWindowAutomationParameters { - s.DocumentVersion = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *MaintenanceWindowAutomationParameters) SetParameters(v map[string][]string) *MaintenanceWindowAutomationParameters { - s.Parameters = v - return s -} - // Describes the information about an execution of a Maintenance Window. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowExecution type MaintenanceWindowExecution struct { @@ -18753,42 +14241,6 @@ func (s MaintenanceWindowExecution) GoString() string { return s.String() } -// SetEndTime sets the EndTime field's value. -func (s *MaintenanceWindowExecution) SetEndTime(v time.Time) *MaintenanceWindowExecution { - s.EndTime = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *MaintenanceWindowExecution) SetStartTime(v time.Time) *MaintenanceWindowExecution { - s.StartTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *MaintenanceWindowExecution) SetStatus(v MaintenanceWindowExecutionStatus) *MaintenanceWindowExecution { - s.Status = v - return s -} - -// SetStatusDetails sets the StatusDetails field's value. -func (s *MaintenanceWindowExecution) SetStatusDetails(v string) *MaintenanceWindowExecution { - s.StatusDetails = &v - return s -} - -// SetWindowExecutionId sets the WindowExecutionId field's value. -func (s *MaintenanceWindowExecution) SetWindowExecutionId(v string) *MaintenanceWindowExecution { - s.WindowExecutionId = &v - return s -} - -// SetWindowId sets the WindowId field's value. -func (s *MaintenanceWindowExecution) SetWindowId(v string) *MaintenanceWindowExecution { - s.WindowId = &v - return s -} - // Information about a task execution performed as part of a Maintenance Window // execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowExecutionTaskIdentity @@ -18831,54 +14283,6 @@ func (s MaintenanceWindowExecutionTaskIdentity) GoString() string { return s.String() } -// SetEndTime sets the EndTime field's value. -func (s *MaintenanceWindowExecutionTaskIdentity) SetEndTime(v time.Time) *MaintenanceWindowExecutionTaskIdentity { - s.EndTime = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *MaintenanceWindowExecutionTaskIdentity) SetStartTime(v time.Time) *MaintenanceWindowExecutionTaskIdentity { - s.StartTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *MaintenanceWindowExecutionTaskIdentity) SetStatus(v MaintenanceWindowExecutionStatus) *MaintenanceWindowExecutionTaskIdentity { - s.Status = v - return s -} - -// SetStatusDetails sets the StatusDetails field's value. -func (s *MaintenanceWindowExecutionTaskIdentity) SetStatusDetails(v string) *MaintenanceWindowExecutionTaskIdentity { - s.StatusDetails = &v - return s -} - -// SetTaskArn sets the TaskArn field's value. -func (s *MaintenanceWindowExecutionTaskIdentity) SetTaskArn(v string) *MaintenanceWindowExecutionTaskIdentity { - s.TaskArn = &v - return s -} - -// SetTaskExecutionId sets the TaskExecutionId field's value. -func (s *MaintenanceWindowExecutionTaskIdentity) SetTaskExecutionId(v string) *MaintenanceWindowExecutionTaskIdentity { - s.TaskExecutionId = &v - return s -} - -// SetTaskType sets the TaskType field's value. -func (s *MaintenanceWindowExecutionTaskIdentity) SetTaskType(v MaintenanceWindowTaskType) *MaintenanceWindowExecutionTaskIdentity { - s.TaskType = v - return s -} - -// SetWindowExecutionId sets the WindowExecutionId field's value. -func (s *MaintenanceWindowExecutionTaskIdentity) SetWindowExecutionId(v string) *MaintenanceWindowExecutionTaskIdentity { - s.WindowExecutionId = &v - return s -} - // Describes the information about a task invocation for a particular target // as part of a task execution performed as part of a Maintenance Window execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowExecutionTaskInvocationIdentity @@ -18937,78 +14341,6 @@ func (s MaintenanceWindowExecutionTaskInvocationIdentity) GoString() string { return s.String() } -// SetEndTime sets the EndTime field's value. -func (s *MaintenanceWindowExecutionTaskInvocationIdentity) SetEndTime(v time.Time) *MaintenanceWindowExecutionTaskInvocationIdentity { - s.EndTime = &v - return s -} - -// SetExecutionId sets the ExecutionId field's value. -func (s *MaintenanceWindowExecutionTaskInvocationIdentity) SetExecutionId(v string) *MaintenanceWindowExecutionTaskInvocationIdentity { - s.ExecutionId = &v - return s -} - -// SetInvocationId sets the InvocationId field's value. -func (s *MaintenanceWindowExecutionTaskInvocationIdentity) SetInvocationId(v string) *MaintenanceWindowExecutionTaskInvocationIdentity { - s.InvocationId = &v - return s -} - -// SetOwnerInformation sets the OwnerInformation field's value. -func (s *MaintenanceWindowExecutionTaskInvocationIdentity) SetOwnerInformation(v string) *MaintenanceWindowExecutionTaskInvocationIdentity { - s.OwnerInformation = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *MaintenanceWindowExecutionTaskInvocationIdentity) SetParameters(v string) *MaintenanceWindowExecutionTaskInvocationIdentity { - s.Parameters = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *MaintenanceWindowExecutionTaskInvocationIdentity) SetStartTime(v time.Time) *MaintenanceWindowExecutionTaskInvocationIdentity { - s.StartTime = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *MaintenanceWindowExecutionTaskInvocationIdentity) SetStatus(v MaintenanceWindowExecutionStatus) *MaintenanceWindowExecutionTaskInvocationIdentity { - s.Status = v - return s -} - -// SetStatusDetails sets the StatusDetails field's value. -func (s *MaintenanceWindowExecutionTaskInvocationIdentity) SetStatusDetails(v string) *MaintenanceWindowExecutionTaskInvocationIdentity { - s.StatusDetails = &v - return s -} - -// SetTaskExecutionId sets the TaskExecutionId field's value. -func (s *MaintenanceWindowExecutionTaskInvocationIdentity) SetTaskExecutionId(v string) *MaintenanceWindowExecutionTaskInvocationIdentity { - s.TaskExecutionId = &v - return s -} - -// SetTaskType sets the TaskType field's value. -func (s *MaintenanceWindowExecutionTaskInvocationIdentity) SetTaskType(v MaintenanceWindowTaskType) *MaintenanceWindowExecutionTaskInvocationIdentity { - s.TaskType = v - return s -} - -// SetWindowExecutionId sets the WindowExecutionId field's value. -func (s *MaintenanceWindowExecutionTaskInvocationIdentity) SetWindowExecutionId(v string) *MaintenanceWindowExecutionTaskInvocationIdentity { - s.WindowExecutionId = &v - return s -} - -// SetWindowTargetId sets the WindowTargetId field's value. -func (s *MaintenanceWindowExecutionTaskInvocationIdentity) SetWindowTargetId(v string) *MaintenanceWindowExecutionTaskInvocationIdentity { - s.WindowTargetId = &v - return s -} - // Filter used in the request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowFilter type MaintenanceWindowFilter struct { @@ -19044,18 +14376,6 @@ func (s *MaintenanceWindowFilter) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *MaintenanceWindowFilter) SetKey(v string) *MaintenanceWindowFilter { - s.Key = &v - return s -} - -// SetValues sets the Values field's value. -func (s *MaintenanceWindowFilter) SetValues(v []string) *MaintenanceWindowFilter { - s.Values = v - return s -} - // Information about the Maintenance Window. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowIdentity type MaintenanceWindowIdentity struct { @@ -19091,42 +14411,6 @@ func (s MaintenanceWindowIdentity) GoString() string { return s.String() } -// SetCutoff sets the Cutoff field's value. -func (s *MaintenanceWindowIdentity) SetCutoff(v int64) *MaintenanceWindowIdentity { - s.Cutoff = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *MaintenanceWindowIdentity) SetDescription(v string) *MaintenanceWindowIdentity { - s.Description = &v - return s -} - -// SetDuration sets the Duration field's value. -func (s *MaintenanceWindowIdentity) SetDuration(v int64) *MaintenanceWindowIdentity { - s.Duration = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *MaintenanceWindowIdentity) SetEnabled(v bool) *MaintenanceWindowIdentity { - s.Enabled = &v - return s -} - -// SetName sets the Name field's value. -func (s *MaintenanceWindowIdentity) SetName(v string) *MaintenanceWindowIdentity { - s.Name = &v - return s -} - -// SetWindowId sets the WindowId field's value. -func (s *MaintenanceWindowIdentity) SetWindowId(v string) *MaintenanceWindowIdentity { - s.WindowId = &v - return s -} - // The parameters for a LAMBDA task type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowLambdaParameters type MaintenanceWindowLambdaParameters struct { @@ -19175,24 +14459,6 @@ func (s *MaintenanceWindowLambdaParameters) Validate() error { return nil } -// SetClientContext sets the ClientContext field's value. -func (s *MaintenanceWindowLambdaParameters) SetClientContext(v string) *MaintenanceWindowLambdaParameters { - s.ClientContext = &v - return s -} - -// SetPayload sets the Payload field's value. -func (s *MaintenanceWindowLambdaParameters) SetPayload(v []byte) *MaintenanceWindowLambdaParameters { - s.Payload = v - return s -} - -// SetQualifier sets the Qualifier field's value. -func (s *MaintenanceWindowLambdaParameters) SetQualifier(v string) *MaintenanceWindowLambdaParameters { - s.Qualifier = &v - return s -} - // The parameters for a RUN_COMMAND task type. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowRunCommandParameters type MaintenanceWindowRunCommandParameters struct { @@ -19255,60 +14521,6 @@ func (s *MaintenanceWindowRunCommandParameters) Validate() error { return nil } -// SetComment sets the Comment field's value. -func (s *MaintenanceWindowRunCommandParameters) SetComment(v string) *MaintenanceWindowRunCommandParameters { - s.Comment = &v - return s -} - -// SetDocumentHash sets the DocumentHash field's value. -func (s *MaintenanceWindowRunCommandParameters) SetDocumentHash(v string) *MaintenanceWindowRunCommandParameters { - s.DocumentHash = &v - return s -} - -// SetDocumentHashType sets the DocumentHashType field's value. -func (s *MaintenanceWindowRunCommandParameters) SetDocumentHashType(v DocumentHashType) *MaintenanceWindowRunCommandParameters { - s.DocumentHashType = v - return s -} - -// SetNotificationConfig sets the NotificationConfig field's value. -func (s *MaintenanceWindowRunCommandParameters) SetNotificationConfig(v *NotificationConfig) *MaintenanceWindowRunCommandParameters { - s.NotificationConfig = v - return s -} - -// SetOutputS3BucketName sets the OutputS3BucketName field's value. -func (s *MaintenanceWindowRunCommandParameters) SetOutputS3BucketName(v string) *MaintenanceWindowRunCommandParameters { - s.OutputS3BucketName = &v - return s -} - -// SetOutputS3KeyPrefix sets the OutputS3KeyPrefix field's value. -func (s *MaintenanceWindowRunCommandParameters) SetOutputS3KeyPrefix(v string) *MaintenanceWindowRunCommandParameters { - s.OutputS3KeyPrefix = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *MaintenanceWindowRunCommandParameters) SetParameters(v map[string][]string) *MaintenanceWindowRunCommandParameters { - s.Parameters = v - return s -} - -// SetServiceRoleArn sets the ServiceRoleArn field's value. -func (s *MaintenanceWindowRunCommandParameters) SetServiceRoleArn(v string) *MaintenanceWindowRunCommandParameters { - s.ServiceRoleArn = &v - return s -} - -// SetTimeoutSeconds sets the TimeoutSeconds field's value. -func (s *MaintenanceWindowRunCommandParameters) SetTimeoutSeconds(v int64) *MaintenanceWindowRunCommandParameters { - s.TimeoutSeconds = &v - return s -} - // The parameters for the STEP_FUNCTION execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowStepFunctionsParameters type MaintenanceWindowStepFunctionsParameters struct { @@ -19344,18 +14556,6 @@ func (s *MaintenanceWindowStepFunctionsParameters) Validate() error { return nil } -// SetInput sets the Input field's value. -func (s *MaintenanceWindowStepFunctionsParameters) SetInput(v string) *MaintenanceWindowStepFunctionsParameters { - s.Input = &v - return s -} - -// SetName sets the Name field's value. -func (s *MaintenanceWindowStepFunctionsParameters) SetName(v string) *MaintenanceWindowStepFunctionsParameters { - s.Name = &v - return s -} - // The target registered with the Maintenance Window. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTarget type MaintenanceWindowTarget struct { @@ -19395,48 +14595,6 @@ func (s MaintenanceWindowTarget) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *MaintenanceWindowTarget) SetDescription(v string) *MaintenanceWindowTarget { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *MaintenanceWindowTarget) SetName(v string) *MaintenanceWindowTarget { - s.Name = &v - return s -} - -// SetOwnerInformation sets the OwnerInformation field's value. -func (s *MaintenanceWindowTarget) SetOwnerInformation(v string) *MaintenanceWindowTarget { - s.OwnerInformation = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *MaintenanceWindowTarget) SetResourceType(v MaintenanceWindowResourceType) *MaintenanceWindowTarget { - s.ResourceType = v - return s -} - -// SetTargets sets the Targets field's value. -func (s *MaintenanceWindowTarget) SetTargets(v []Target) *MaintenanceWindowTarget { - s.Targets = v - return s -} - -// SetWindowId sets the WindowId field's value. -func (s *MaintenanceWindowTarget) SetWindowId(v string) *MaintenanceWindowTarget { - s.WindowId = &v - return s -} - -// SetWindowTargetId sets the WindowTargetId field's value. -func (s *MaintenanceWindowTarget) SetWindowTargetId(v string) *MaintenanceWindowTarget { - s.WindowTargetId = &v - return s -} - // Information about a task defined for a Maintenance Window. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTask type MaintenanceWindowTask struct { @@ -19499,84 +14657,6 @@ func (s MaintenanceWindowTask) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *MaintenanceWindowTask) SetDescription(v string) *MaintenanceWindowTask { - s.Description = &v - return s -} - -// SetLoggingInfo sets the LoggingInfo field's value. -func (s *MaintenanceWindowTask) SetLoggingInfo(v *LoggingInfo) *MaintenanceWindowTask { - s.LoggingInfo = v - return s -} - -// SetMaxConcurrency sets the MaxConcurrency field's value. -func (s *MaintenanceWindowTask) SetMaxConcurrency(v string) *MaintenanceWindowTask { - s.MaxConcurrency = &v - return s -} - -// SetMaxErrors sets the MaxErrors field's value. -func (s *MaintenanceWindowTask) SetMaxErrors(v string) *MaintenanceWindowTask { - s.MaxErrors = &v - return s -} - -// SetName sets the Name field's value. -func (s *MaintenanceWindowTask) SetName(v string) *MaintenanceWindowTask { - s.Name = &v - return s -} - -// SetPriority sets the Priority field's value. -func (s *MaintenanceWindowTask) SetPriority(v int64) *MaintenanceWindowTask { - s.Priority = &v - return s -} - -// SetServiceRoleArn sets the ServiceRoleArn field's value. -func (s *MaintenanceWindowTask) SetServiceRoleArn(v string) *MaintenanceWindowTask { - s.ServiceRoleArn = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *MaintenanceWindowTask) SetTargets(v []Target) *MaintenanceWindowTask { - s.Targets = v - return s -} - -// SetTaskArn sets the TaskArn field's value. -func (s *MaintenanceWindowTask) SetTaskArn(v string) *MaintenanceWindowTask { - s.TaskArn = &v - return s -} - -// SetTaskParameters sets the TaskParameters field's value. -func (s *MaintenanceWindowTask) SetTaskParameters(v map[string]MaintenanceWindowTaskParameterValueExpression) *MaintenanceWindowTask { - s.TaskParameters = v - return s -} - -// SetType sets the Type field's value. -func (s *MaintenanceWindowTask) SetType(v MaintenanceWindowTaskType) *MaintenanceWindowTask { - s.Type = v - return s -} - -// SetWindowId sets the WindowId field's value. -func (s *MaintenanceWindowTask) SetWindowId(v string) *MaintenanceWindowTask { - s.WindowId = &v - return s -} - -// SetWindowTaskId sets the WindowTaskId field's value. -func (s *MaintenanceWindowTask) SetWindowTaskId(v string) *MaintenanceWindowTask { - s.WindowTaskId = &v - return s -} - // The parameters for task execution. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTaskInvocationParameters type MaintenanceWindowTaskInvocationParameters struct { @@ -19635,30 +14715,6 @@ func (s *MaintenanceWindowTaskInvocationParameters) Validate() error { return nil } -// SetAutomation sets the Automation field's value. -func (s *MaintenanceWindowTaskInvocationParameters) SetAutomation(v *MaintenanceWindowAutomationParameters) *MaintenanceWindowTaskInvocationParameters { - s.Automation = v - return s -} - -// SetLambda sets the Lambda field's value. -func (s *MaintenanceWindowTaskInvocationParameters) SetLambda(v *MaintenanceWindowLambdaParameters) *MaintenanceWindowTaskInvocationParameters { - s.Lambda = v - return s -} - -// SetRunCommand sets the RunCommand field's value. -func (s *MaintenanceWindowTaskInvocationParameters) SetRunCommand(v *MaintenanceWindowRunCommandParameters) *MaintenanceWindowTaskInvocationParameters { - s.RunCommand = v - return s -} - -// SetStepFunctions sets the StepFunctions field's value. -func (s *MaintenanceWindowTaskInvocationParameters) SetStepFunctions(v *MaintenanceWindowStepFunctionsParameters) *MaintenanceWindowTaskInvocationParameters { - s.StepFunctions = v - return s -} - // Defines the values for a task parameter. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/MaintenanceWindowTaskParameterValueExpression type MaintenanceWindowTaskParameterValueExpression struct { @@ -19679,12 +14735,6 @@ func (s MaintenanceWindowTaskParameterValueExpression) GoString() string { return s.String() } -// SetValues sets the Values field's value. -func (s *MaintenanceWindowTaskParameterValueExpression) SetValues(v []string) *MaintenanceWindowTaskParameterValueExpression { - s.Values = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ModifyDocumentPermissionRequest type ModifyDocumentPermissionInput struct { _ struct{} `type:"structure"` @@ -19737,30 +14787,6 @@ func (s *ModifyDocumentPermissionInput) Validate() error { return nil } -// SetAccountIdsToAdd sets the AccountIdsToAdd field's value. -func (s *ModifyDocumentPermissionInput) SetAccountIdsToAdd(v []string) *ModifyDocumentPermissionInput { - s.AccountIdsToAdd = v - return s -} - -// SetAccountIdsToRemove sets the AccountIdsToRemove field's value. -func (s *ModifyDocumentPermissionInput) SetAccountIdsToRemove(v []string) *ModifyDocumentPermissionInput { - s.AccountIdsToRemove = v - return s -} - -// SetName sets the Name field's value. -func (s *ModifyDocumentPermissionInput) SetName(v string) *ModifyDocumentPermissionInput { - s.Name = &v - return s -} - -// SetPermissionType sets the PermissionType field's value. -func (s *ModifyDocumentPermissionInput) SetPermissionType(v DocumentPermissionType) *ModifyDocumentPermissionInput { - s.PermissionType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ModifyDocumentPermissionResponse type ModifyDocumentPermissionOutput struct { _ struct{} `type:"structure"` @@ -19806,18 +14832,6 @@ func (s NonCompliantSummary) GoString() string { return s.String() } -// SetNonCompliantCount sets the NonCompliantCount field's value. -func (s *NonCompliantSummary) SetNonCompliantCount(v int64) *NonCompliantSummary { - s.NonCompliantCount = &v - return s -} - -// SetSeveritySummary sets the SeveritySummary field's value. -func (s *NonCompliantSummary) SetSeveritySummary(v *SeveritySummary) *NonCompliantSummary { - s.SeveritySummary = v - return s -} - // Configurations for sending notifications. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/NotificationConfig type NotificationConfig struct { @@ -19850,24 +14864,6 @@ func (s NotificationConfig) GoString() string { return s.String() } -// SetNotificationArn sets the NotificationArn field's value. -func (s *NotificationConfig) SetNotificationArn(v string) *NotificationConfig { - s.NotificationArn = &v - return s -} - -// SetNotificationEvents sets the NotificationEvents field's value. -func (s *NotificationConfig) SetNotificationEvents(v []NotificationEvent) *NotificationConfig { - s.NotificationEvents = v - return s -} - -// SetNotificationType sets the NotificationType field's value. -func (s *NotificationConfig) SetNotificationType(v NotificationType) *NotificationConfig { - s.NotificationType = v - return s -} - // An Amazon EC2 Systems Manager parameter in Parameter Store. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Parameter type Parameter struct { @@ -19897,30 +14893,6 @@ func (s Parameter) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *Parameter) SetName(v string) *Parameter { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *Parameter) SetType(v ParameterType) *Parameter { - s.Type = v - return s -} - -// SetValue sets the Value field's value. -func (s *Parameter) SetValue(v string) *Parameter { - s.Value = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *Parameter) SetVersion(v int64) *Parameter { - s.Version = &v - return s -} - // Information about parameter usage. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterHistory type ParameterHistory struct { @@ -19966,60 +14938,6 @@ func (s ParameterHistory) GoString() string { return s.String() } -// SetAllowedPattern sets the AllowedPattern field's value. -func (s *ParameterHistory) SetAllowedPattern(v string) *ParameterHistory { - s.AllowedPattern = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ParameterHistory) SetDescription(v string) *ParameterHistory { - s.Description = &v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *ParameterHistory) SetKeyId(v string) *ParameterHistory { - s.KeyId = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *ParameterHistory) SetLastModifiedDate(v time.Time) *ParameterHistory { - s.LastModifiedDate = &v - return s -} - -// SetLastModifiedUser sets the LastModifiedUser field's value. -func (s *ParameterHistory) SetLastModifiedUser(v string) *ParameterHistory { - s.LastModifiedUser = &v - return s -} - -// SetName sets the Name field's value. -func (s *ParameterHistory) SetName(v string) *ParameterHistory { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *ParameterHistory) SetType(v ParameterType) *ParameterHistory { - s.Type = v - return s -} - -// SetValue sets the Value field's value. -func (s *ParameterHistory) SetValue(v string) *ParameterHistory { - s.Value = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *ParameterHistory) SetVersion(v int64) *ParameterHistory { - s.Version = &v - return s -} - // Metada includes information like the ARN of the last user and the date/time // the parameter was last used. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterMetadata @@ -20064,54 +14982,6 @@ func (s ParameterMetadata) GoString() string { return s.String() } -// SetAllowedPattern sets the AllowedPattern field's value. -func (s *ParameterMetadata) SetAllowedPattern(v string) *ParameterMetadata { - s.AllowedPattern = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ParameterMetadata) SetDescription(v string) *ParameterMetadata { - s.Description = &v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *ParameterMetadata) SetKeyId(v string) *ParameterMetadata { - s.KeyId = &v - return s -} - -// SetLastModifiedDate sets the LastModifiedDate field's value. -func (s *ParameterMetadata) SetLastModifiedDate(v time.Time) *ParameterMetadata { - s.LastModifiedDate = &v - return s -} - -// SetLastModifiedUser sets the LastModifiedUser field's value. -func (s *ParameterMetadata) SetLastModifiedUser(v string) *ParameterMetadata { - s.LastModifiedUser = &v - return s -} - -// SetName sets the Name field's value. -func (s *ParameterMetadata) SetName(v string) *ParameterMetadata { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *ParameterMetadata) SetType(v ParameterType) *ParameterMetadata { - s.Type = v - return s -} - -// SetVersion sets the Version field's value. -func (s *ParameterMetadata) SetVersion(v int64) *ParameterMetadata { - s.Version = &v - return s -} - // One or more filters. Use a filter to return a more specific list of results. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParameterStringFilter type ParameterStringFilter struct { @@ -20163,24 +15033,6 @@ func (s *ParameterStringFilter) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *ParameterStringFilter) SetKey(v string) *ParameterStringFilter { - s.Key = &v - return s -} - -// SetOption sets the Option field's value. -func (s *ParameterStringFilter) SetOption(v string) *ParameterStringFilter { - s.Option = &v - return s -} - -// SetValues sets the Values field's value. -func (s *ParameterStringFilter) SetValues(v []string) *ParameterStringFilter { - s.Values = v - return s -} - // This data type is deprecated. Instead, use ParameterStringFilter. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ParametersFilter type ParametersFilter struct { @@ -20227,18 +15079,6 @@ func (s *ParametersFilter) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *ParametersFilter) SetKey(v ParametersFilterKey) *ParametersFilter { - s.Key = v - return s -} - -// SetValues sets the Values field's value. -func (s *ParametersFilter) SetValues(v []string) *ParametersFilter { - s.Values = v - return s -} - // Represents metadata about a patch. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/Patch type Patch struct { @@ -20295,84 +15135,6 @@ func (s Patch) GoString() string { return s.String() } -// SetClassification sets the Classification field's value. -func (s *Patch) SetClassification(v string) *Patch { - s.Classification = &v - return s -} - -// SetContentUrl sets the ContentUrl field's value. -func (s *Patch) SetContentUrl(v string) *Patch { - s.ContentUrl = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *Patch) SetDescription(v string) *Patch { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *Patch) SetId(v string) *Patch { - s.Id = &v - return s -} - -// SetKbNumber sets the KbNumber field's value. -func (s *Patch) SetKbNumber(v string) *Patch { - s.KbNumber = &v - return s -} - -// SetLanguage sets the Language field's value. -func (s *Patch) SetLanguage(v string) *Patch { - s.Language = &v - return s -} - -// SetMsrcNumber sets the MsrcNumber field's value. -func (s *Patch) SetMsrcNumber(v string) *Patch { - s.MsrcNumber = &v - return s -} - -// SetMsrcSeverity sets the MsrcSeverity field's value. -func (s *Patch) SetMsrcSeverity(v string) *Patch { - s.MsrcSeverity = &v - return s -} - -// SetProduct sets the Product field's value. -func (s *Patch) SetProduct(v string) *Patch { - s.Product = &v - return s -} - -// SetProductFamily sets the ProductFamily field's value. -func (s *Patch) SetProductFamily(v string) *Patch { - s.ProductFamily = &v - return s -} - -// SetReleaseDate sets the ReleaseDate field's value. -func (s *Patch) SetReleaseDate(v time.Time) *Patch { - s.ReleaseDate = &v - return s -} - -// SetTitle sets the Title field's value. -func (s *Patch) SetTitle(v string) *Patch { - s.Title = &v - return s -} - -// SetVendor sets the Vendor field's value. -func (s *Patch) SetVendor(v string) *Patch { - s.Vendor = &v - return s -} - // Defines the basic information about a patch baseline. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchBaselineIdentity type PatchBaselineIdentity struct { @@ -20407,36 +15169,6 @@ func (s PatchBaselineIdentity) GoString() string { return s.String() } -// SetBaselineDescription sets the BaselineDescription field's value. -func (s *PatchBaselineIdentity) SetBaselineDescription(v string) *PatchBaselineIdentity { - s.BaselineDescription = &v - return s -} - -// SetBaselineId sets the BaselineId field's value. -func (s *PatchBaselineIdentity) SetBaselineId(v string) *PatchBaselineIdentity { - s.BaselineId = &v - return s -} - -// SetBaselineName sets the BaselineName field's value. -func (s *PatchBaselineIdentity) SetBaselineName(v string) *PatchBaselineIdentity { - s.BaselineName = &v - return s -} - -// SetDefaultBaseline sets the DefaultBaseline field's value. -func (s *PatchBaselineIdentity) SetDefaultBaseline(v bool) *PatchBaselineIdentity { - s.DefaultBaseline = &v - return s -} - -// SetOperatingSystem sets the OperatingSystem field's value. -func (s *PatchBaselineIdentity) SetOperatingSystem(v OperatingSystem) *PatchBaselineIdentity { - s.OperatingSystem = v - return s -} - // Information about the state of a patch on a particular instance as it relates // to the patch baseline used to patch the instance. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchComplianceData @@ -20472,54 +15204,18 @@ type PatchComplianceData struct { // The title of the patch. // - // Title is a required field - Title *string `type:"string" required:"true"` -} - -// String returns the string representation -func (s PatchComplianceData) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s PatchComplianceData) GoString() string { - return s.String() -} - -// SetClassification sets the Classification field's value. -func (s *PatchComplianceData) SetClassification(v string) *PatchComplianceData { - s.Classification = &v - return s -} - -// SetInstalledTime sets the InstalledTime field's value. -func (s *PatchComplianceData) SetInstalledTime(v time.Time) *PatchComplianceData { - s.InstalledTime = &v - return s -} - -// SetKBId sets the KBId field's value. -func (s *PatchComplianceData) SetKBId(v string) *PatchComplianceData { - s.KBId = &v - return s -} - -// SetSeverity sets the Severity field's value. -func (s *PatchComplianceData) SetSeverity(v string) *PatchComplianceData { - s.Severity = &v - return s + // Title is a required field + Title *string `type:"string" required:"true"` } -// SetState sets the State field's value. -func (s *PatchComplianceData) SetState(v PatchComplianceDataState) *PatchComplianceData { - s.State = v - return s +// String returns the string representation +func (s PatchComplianceData) String() string { + return awsutil.Prettify(s) } -// SetTitle sets the Title field's value. -func (s *PatchComplianceData) SetTitle(v string) *PatchComplianceData { - s.Title = &v - return s +// GoString returns the string representation +func (s PatchComplianceData) GoString() string { + return s.String() } // Defines a patch filter. @@ -20800,18 +15496,6 @@ func (s *PatchFilter) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *PatchFilter) SetKey(v PatchFilterKey) *PatchFilter { - s.Key = v - return s -} - -// SetValues sets the Values field's value. -func (s *PatchFilter) SetValues(v []string) *PatchFilter { - s.Values = v - return s -} - // A set of patch filters, typically used for approval rules. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchFilterGroup type PatchFilterGroup struct { @@ -20854,12 +15538,6 @@ func (s *PatchFilterGroup) Validate() error { return nil } -// SetPatchFilters sets the PatchFilters field's value. -func (s *PatchFilterGroup) SetPatchFilters(v []PatchFilter) *PatchFilterGroup { - s.PatchFilters = v - return s -} - // The mapping between a patch group and the patch baseline the patch group // is registered with. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchGroupPatchBaselineMapping @@ -20883,18 +15561,6 @@ func (s PatchGroupPatchBaselineMapping) GoString() string { return s.String() } -// SetBaselineIdentity sets the BaselineIdentity field's value. -func (s *PatchGroupPatchBaselineMapping) SetBaselineIdentity(v *PatchBaselineIdentity) *PatchGroupPatchBaselineMapping { - s.BaselineIdentity = v - return s -} - -// SetPatchGroup sets the PatchGroup field's value. -func (s *PatchGroupPatchBaselineMapping) SetPatchGroup(v string) *PatchGroupPatchBaselineMapping { - s.PatchGroup = &v - return s -} - // Defines a filter used in Patch Manager APIs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchOrchestratorFilter type PatchOrchestratorFilter struct { @@ -20930,18 +15596,6 @@ func (s *PatchOrchestratorFilter) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *PatchOrchestratorFilter) SetKey(v string) *PatchOrchestratorFilter { - s.Key = &v - return s -} - -// SetValues sets the Values field's value. -func (s *PatchOrchestratorFilter) SetValues(v []string) *PatchOrchestratorFilter { - s.Values = v - return s -} - // Defines an approval rule for a patch baseline. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchRule type PatchRule struct { @@ -20997,24 +15651,6 @@ func (s *PatchRule) Validate() error { return nil } -// SetApproveAfterDays sets the ApproveAfterDays field's value. -func (s *PatchRule) SetApproveAfterDays(v int64) *PatchRule { - s.ApproveAfterDays = &v - return s -} - -// SetComplianceLevel sets the ComplianceLevel field's value. -func (s *PatchRule) SetComplianceLevel(v PatchComplianceLevel) *PatchRule { - s.ComplianceLevel = v - return s -} - -// SetPatchFilterGroup sets the PatchFilterGroup field's value. -func (s *PatchRule) SetPatchFilterGroup(v *PatchFilterGroup) *PatchRule { - s.PatchFilterGroup = v - return s -} - // A set of rules defining the approval rules for a patch baseline. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchRuleGroup type PatchRuleGroup struct { @@ -21057,12 +15693,6 @@ func (s *PatchRuleGroup) Validate() error { return nil } -// SetPatchRules sets the PatchRules field's value. -func (s *PatchRuleGroup) SetPatchRules(v []PatchRule) *PatchRuleGroup { - s.PatchRules = v - return s -} - // Information about the approval status of a patch. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PatchStatus type PatchStatus struct { @@ -21089,24 +15719,6 @@ func (s PatchStatus) GoString() string { return s.String() } -// SetApprovalDate sets the ApprovalDate field's value. -func (s *PatchStatus) SetApprovalDate(v time.Time) *PatchStatus { - s.ApprovalDate = &v - return s -} - -// SetComplianceLevel sets the ComplianceLevel field's value. -func (s *PatchStatus) SetComplianceLevel(v PatchComplianceLevel) *PatchStatus { - s.ComplianceLevel = v - return s -} - -// SetDeploymentStatus sets the DeploymentStatus field's value. -func (s *PatchStatus) SetDeploymentStatus(v PatchDeploymentStatus) *PatchStatus { - s.DeploymentStatus = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutComplianceItemsRequest type PutComplianceItemsInput struct { _ struct{} `type:"structure"` @@ -21210,42 +15822,6 @@ func (s *PutComplianceItemsInput) Validate() error { return nil } -// SetComplianceType sets the ComplianceType field's value. -func (s *PutComplianceItemsInput) SetComplianceType(v string) *PutComplianceItemsInput { - s.ComplianceType = &v - return s -} - -// SetExecutionSummary sets the ExecutionSummary field's value. -func (s *PutComplianceItemsInput) SetExecutionSummary(v *ComplianceExecutionSummary) *PutComplianceItemsInput { - s.ExecutionSummary = v - return s -} - -// SetItemContentHash sets the ItemContentHash field's value. -func (s *PutComplianceItemsInput) SetItemContentHash(v string) *PutComplianceItemsInput { - s.ItemContentHash = &v - return s -} - -// SetItems sets the Items field's value. -func (s *PutComplianceItemsInput) SetItems(v []ComplianceItemEntry) *PutComplianceItemsInput { - s.Items = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *PutComplianceItemsInput) SetResourceId(v string) *PutComplianceItemsInput { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *PutComplianceItemsInput) SetResourceType(v string) *PutComplianceItemsInput { - s.ResourceType = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutComplianceItemsResult type PutComplianceItemsOutput struct { _ struct{} `type:"structure"` @@ -21321,18 +15897,6 @@ func (s *PutInventoryInput) Validate() error { return nil } -// SetInstanceId sets the InstanceId field's value. -func (s *PutInventoryInput) SetInstanceId(v string) *PutInventoryInput { - s.InstanceId = &v - return s -} - -// SetItems sets the Items field's value. -func (s *PutInventoryInput) SetItems(v []InventoryItem) *PutInventoryInput { - s.Items = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutInventoryResult type PutInventoryOutput struct { _ struct{} `type:"structure"` @@ -21437,48 +16001,6 @@ func (s *PutParameterInput) Validate() error { return nil } -// SetAllowedPattern sets the AllowedPattern field's value. -func (s *PutParameterInput) SetAllowedPattern(v string) *PutParameterInput { - s.AllowedPattern = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *PutParameterInput) SetDescription(v string) *PutParameterInput { - s.Description = &v - return s -} - -// SetKeyId sets the KeyId field's value. -func (s *PutParameterInput) SetKeyId(v string) *PutParameterInput { - s.KeyId = &v - return s -} - -// SetName sets the Name field's value. -func (s *PutParameterInput) SetName(v string) *PutParameterInput { - s.Name = &v - return s -} - -// SetOverwrite sets the Overwrite field's value. -func (s *PutParameterInput) SetOverwrite(v bool) *PutParameterInput { - s.Overwrite = &v - return s -} - -// SetType sets the Type field's value. -func (s *PutParameterInput) SetType(v ParameterType) *PutParameterInput { - s.Type = v - return s -} - -// SetValue sets the Value field's value. -func (s *PutParameterInput) SetValue(v string) *PutParameterInput { - s.Value = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameterResult type PutParameterOutput struct { _ struct{} `type:"structure"` @@ -21509,12 +16031,6 @@ func (s PutParameterOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVersion sets the Version field's value. -func (s *PutParameterOutput) SetVersion(v int64) *PutParameterOutput { - s.Version = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterDefaultPatchBaselineRequest type RegisterDefaultPatchBaselineInput struct { _ struct{} `type:"structure"` @@ -21552,12 +16068,6 @@ func (s *RegisterDefaultPatchBaselineInput) Validate() error { return nil } -// SetBaselineId sets the BaselineId field's value. -func (s *RegisterDefaultPatchBaselineInput) SetBaselineId(v string) *RegisterDefaultPatchBaselineInput { - s.BaselineId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterDefaultPatchBaselineResult type RegisterDefaultPatchBaselineOutput struct { _ struct{} `type:"structure"` @@ -21583,12 +16093,6 @@ func (s RegisterDefaultPatchBaselineOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBaselineId sets the BaselineId field's value. -func (s *RegisterDefaultPatchBaselineOutput) SetBaselineId(v string) *RegisterDefaultPatchBaselineOutput { - s.BaselineId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterPatchBaselineForPatchGroupRequest type RegisterPatchBaselineForPatchGroupInput struct { _ struct{} `type:"structure"` @@ -21638,18 +16142,6 @@ func (s *RegisterPatchBaselineForPatchGroupInput) Validate() error { return nil } -// SetBaselineId sets the BaselineId field's value. -func (s *RegisterPatchBaselineForPatchGroupInput) SetBaselineId(v string) *RegisterPatchBaselineForPatchGroupInput { - s.BaselineId = &v - return s -} - -// SetPatchGroup sets the PatchGroup field's value. -func (s *RegisterPatchBaselineForPatchGroupInput) SetPatchGroup(v string) *RegisterPatchBaselineForPatchGroupInput { - s.PatchGroup = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterPatchBaselineForPatchGroupResult type RegisterPatchBaselineForPatchGroupOutput struct { _ struct{} `type:"structure"` @@ -21678,18 +16170,6 @@ func (s RegisterPatchBaselineForPatchGroupOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetBaselineId sets the BaselineId field's value. -func (s *RegisterPatchBaselineForPatchGroupOutput) SetBaselineId(v string) *RegisterPatchBaselineForPatchGroupOutput { - s.BaselineId = &v - return s -} - -// SetPatchGroup sets the PatchGroup field's value. -func (s *RegisterPatchBaselineForPatchGroupOutput) SetPatchGroup(v string) *RegisterPatchBaselineForPatchGroupOutput { - s.PatchGroup = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTargetWithMaintenanceWindowRequest type RegisterTargetWithMaintenanceWindowInput struct { _ struct{} `type:"structure"` @@ -21777,48 +16257,6 @@ func (s *RegisterTargetWithMaintenanceWindowInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *RegisterTargetWithMaintenanceWindowInput) SetClientToken(v string) *RegisterTargetWithMaintenanceWindowInput { - s.ClientToken = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *RegisterTargetWithMaintenanceWindowInput) SetDescription(v string) *RegisterTargetWithMaintenanceWindowInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *RegisterTargetWithMaintenanceWindowInput) SetName(v string) *RegisterTargetWithMaintenanceWindowInput { - s.Name = &v - return s -} - -// SetOwnerInformation sets the OwnerInformation field's value. -func (s *RegisterTargetWithMaintenanceWindowInput) SetOwnerInformation(v string) *RegisterTargetWithMaintenanceWindowInput { - s.OwnerInformation = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *RegisterTargetWithMaintenanceWindowInput) SetResourceType(v MaintenanceWindowResourceType) *RegisterTargetWithMaintenanceWindowInput { - s.ResourceType = v - return s -} - -// SetTargets sets the Targets field's value. -func (s *RegisterTargetWithMaintenanceWindowInput) SetTargets(v []Target) *RegisterTargetWithMaintenanceWindowInput { - s.Targets = v - return s -} - -// SetWindowId sets the WindowId field's value. -func (s *RegisterTargetWithMaintenanceWindowInput) SetWindowId(v string) *RegisterTargetWithMaintenanceWindowInput { - s.WindowId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTargetWithMaintenanceWindowResult type RegisterTargetWithMaintenanceWindowOutput struct { _ struct{} `type:"structure"` @@ -21844,12 +16282,6 @@ func (s RegisterTargetWithMaintenanceWindowOutput) SDKResponseMetadata() aws.Res return s.responseMetadata } -// SetWindowTargetId sets the WindowTargetId field's value. -func (s *RegisterTargetWithMaintenanceWindowOutput) SetWindowTargetId(v string) *RegisterTargetWithMaintenanceWindowOutput { - s.WindowTargetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTaskWithMaintenanceWindowRequest type RegisterTaskWithMaintenanceWindowInput struct { _ struct{} `type:"structure"` @@ -22001,90 +16433,6 @@ func (s *RegisterTaskWithMaintenanceWindowInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *RegisterTaskWithMaintenanceWindowInput) SetClientToken(v string) *RegisterTaskWithMaintenanceWindowInput { - s.ClientToken = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *RegisterTaskWithMaintenanceWindowInput) SetDescription(v string) *RegisterTaskWithMaintenanceWindowInput { - s.Description = &v - return s -} - -// SetLoggingInfo sets the LoggingInfo field's value. -func (s *RegisterTaskWithMaintenanceWindowInput) SetLoggingInfo(v *LoggingInfo) *RegisterTaskWithMaintenanceWindowInput { - s.LoggingInfo = v - return s -} - -// SetMaxConcurrency sets the MaxConcurrency field's value. -func (s *RegisterTaskWithMaintenanceWindowInput) SetMaxConcurrency(v string) *RegisterTaskWithMaintenanceWindowInput { - s.MaxConcurrency = &v - return s -} - -// SetMaxErrors sets the MaxErrors field's value. -func (s *RegisterTaskWithMaintenanceWindowInput) SetMaxErrors(v string) *RegisterTaskWithMaintenanceWindowInput { - s.MaxErrors = &v - return s -} - -// SetName sets the Name field's value. -func (s *RegisterTaskWithMaintenanceWindowInput) SetName(v string) *RegisterTaskWithMaintenanceWindowInput { - s.Name = &v - return s -} - -// SetPriority sets the Priority field's value. -func (s *RegisterTaskWithMaintenanceWindowInput) SetPriority(v int64) *RegisterTaskWithMaintenanceWindowInput { - s.Priority = &v - return s -} - -// SetServiceRoleArn sets the ServiceRoleArn field's value. -func (s *RegisterTaskWithMaintenanceWindowInput) SetServiceRoleArn(v string) *RegisterTaskWithMaintenanceWindowInput { - s.ServiceRoleArn = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *RegisterTaskWithMaintenanceWindowInput) SetTargets(v []Target) *RegisterTaskWithMaintenanceWindowInput { - s.Targets = v - return s -} - -// SetTaskArn sets the TaskArn field's value. -func (s *RegisterTaskWithMaintenanceWindowInput) SetTaskArn(v string) *RegisterTaskWithMaintenanceWindowInput { - s.TaskArn = &v - return s -} - -// SetTaskInvocationParameters sets the TaskInvocationParameters field's value. -func (s *RegisterTaskWithMaintenanceWindowInput) SetTaskInvocationParameters(v *MaintenanceWindowTaskInvocationParameters) *RegisterTaskWithMaintenanceWindowInput { - s.TaskInvocationParameters = v - return s -} - -// SetTaskParameters sets the TaskParameters field's value. -func (s *RegisterTaskWithMaintenanceWindowInput) SetTaskParameters(v map[string]MaintenanceWindowTaskParameterValueExpression) *RegisterTaskWithMaintenanceWindowInput { - s.TaskParameters = v - return s -} - -// SetTaskType sets the TaskType field's value. -func (s *RegisterTaskWithMaintenanceWindowInput) SetTaskType(v MaintenanceWindowTaskType) *RegisterTaskWithMaintenanceWindowInput { - s.TaskType = v - return s -} - -// SetWindowId sets the WindowId field's value. -func (s *RegisterTaskWithMaintenanceWindowInput) SetWindowId(v string) *RegisterTaskWithMaintenanceWindowInput { - s.WindowId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTaskWithMaintenanceWindowResult type RegisterTaskWithMaintenanceWindowOutput struct { _ struct{} `type:"structure"` @@ -22110,12 +16458,6 @@ func (s RegisterTaskWithMaintenanceWindowOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetWindowTaskId sets the WindowTaskId field's value. -func (s *RegisterTaskWithMaintenanceWindowOutput) SetWindowTaskId(v string) *RegisterTaskWithMaintenanceWindowOutput { - s.WindowTaskId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RemoveTagsFromResourceRequest type RemoveTagsFromResourceInput struct { _ struct{} `type:"structure"` @@ -22167,24 +16509,6 @@ func (s *RemoveTagsFromResourceInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *RemoveTagsFromResourceInput) SetResourceId(v string) *RemoveTagsFromResourceInput { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *RemoveTagsFromResourceInput) SetResourceType(v ResourceTypeForTagging) *RemoveTagsFromResourceInput { - s.ResourceType = v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *RemoveTagsFromResourceInput) SetTagKeys(v []string) *RemoveTagsFromResourceInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RemoveTagsFromResourceResult type RemoveTagsFromResourceOutput struct { _ struct{} `type:"structure"` @@ -22230,18 +16554,6 @@ func (s ResolvedTargets) GoString() string { return s.String() } -// SetParameterValues sets the ParameterValues field's value. -func (s *ResolvedTargets) SetParameterValues(v []string) *ResolvedTargets { - s.ParameterValues = v - return s -} - -// SetTruncated sets the Truncated field's value. -func (s *ResolvedTargets) SetTruncated(v bool) *ResolvedTargets { - s.Truncated = &v - return s -} - // Compliance summary information for a specific resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceComplianceSummaryItem type ResourceComplianceSummaryItem struct { @@ -22283,54 +16595,6 @@ func (s ResourceComplianceSummaryItem) GoString() string { return s.String() } -// SetComplianceType sets the ComplianceType field's value. -func (s *ResourceComplianceSummaryItem) SetComplianceType(v string) *ResourceComplianceSummaryItem { - s.ComplianceType = &v - return s -} - -// SetCompliantSummary sets the CompliantSummary field's value. -func (s *ResourceComplianceSummaryItem) SetCompliantSummary(v *CompliantSummary) *ResourceComplianceSummaryItem { - s.CompliantSummary = v - return s -} - -// SetExecutionSummary sets the ExecutionSummary field's value. -func (s *ResourceComplianceSummaryItem) SetExecutionSummary(v *ComplianceExecutionSummary) *ResourceComplianceSummaryItem { - s.ExecutionSummary = v - return s -} - -// SetNonCompliantSummary sets the NonCompliantSummary field's value. -func (s *ResourceComplianceSummaryItem) SetNonCompliantSummary(v *NonCompliantSummary) *ResourceComplianceSummaryItem { - s.NonCompliantSummary = v - return s -} - -// SetOverallSeverity sets the OverallSeverity field's value. -func (s *ResourceComplianceSummaryItem) SetOverallSeverity(v ComplianceSeverity) *ResourceComplianceSummaryItem { - s.OverallSeverity = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *ResourceComplianceSummaryItem) SetResourceId(v string) *ResourceComplianceSummaryItem { - s.ResourceId = &v - return s -} - -// SetResourceType sets the ResourceType field's value. -func (s *ResourceComplianceSummaryItem) SetResourceType(v string) *ResourceComplianceSummaryItem { - s.ResourceType = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ResourceComplianceSummaryItem) SetStatus(v ComplianceStatus) *ResourceComplianceSummaryItem { - s.Status = v - return s -} - // Information about a Resource Data Sync configuration, including its current // status and last successful sync. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceDataSyncItem @@ -22366,42 +16630,6 @@ func (s ResourceDataSyncItem) GoString() string { return s.String() } -// SetLastStatus sets the LastStatus field's value. -func (s *ResourceDataSyncItem) SetLastStatus(v LastResourceDataSyncStatus) *ResourceDataSyncItem { - s.LastStatus = v - return s -} - -// SetLastSuccessfulSyncTime sets the LastSuccessfulSyncTime field's value. -func (s *ResourceDataSyncItem) SetLastSuccessfulSyncTime(v time.Time) *ResourceDataSyncItem { - s.LastSuccessfulSyncTime = &v - return s -} - -// SetLastSyncTime sets the LastSyncTime field's value. -func (s *ResourceDataSyncItem) SetLastSyncTime(v time.Time) *ResourceDataSyncItem { - s.LastSyncTime = &v - return s -} - -// SetS3Destination sets the S3Destination field's value. -func (s *ResourceDataSyncItem) SetS3Destination(v *ResourceDataSyncS3Destination) *ResourceDataSyncItem { - s.S3Destination = v - return s -} - -// SetSyncCreatedTime sets the SyncCreatedTime field's value. -func (s *ResourceDataSyncItem) SetSyncCreatedTime(v time.Time) *ResourceDataSyncItem { - s.SyncCreatedTime = &v - return s -} - -// SetSyncName sets the SyncName field's value. -func (s *ResourceDataSyncItem) SetSyncName(v string) *ResourceDataSyncItem { - s.SyncName = &v - return s -} - // Information about the target Amazon S3 bucket for the Resource Data Sync. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResourceDataSyncS3Destination type ResourceDataSyncS3Destination struct { @@ -22473,36 +16701,6 @@ func (s *ResourceDataSyncS3Destination) Validate() error { return nil } -// SetAWSKMSKeyARN sets the AWSKMSKeyARN field's value. -func (s *ResourceDataSyncS3Destination) SetAWSKMSKeyARN(v string) *ResourceDataSyncS3Destination { - s.AWSKMSKeyARN = &v - return s -} - -// SetBucketName sets the BucketName field's value. -func (s *ResourceDataSyncS3Destination) SetBucketName(v string) *ResourceDataSyncS3Destination { - s.BucketName = &v - return s -} - -// SetPrefix sets the Prefix field's value. -func (s *ResourceDataSyncS3Destination) SetPrefix(v string) *ResourceDataSyncS3Destination { - s.Prefix = &v - return s -} - -// SetRegion sets the Region field's value. -func (s *ResourceDataSyncS3Destination) SetRegion(v string) *ResourceDataSyncS3Destination { - s.Region = &v - return s -} - -// SetSyncFormat sets the SyncFormat field's value. -func (s *ResourceDataSyncS3Destination) SetSyncFormat(v ResourceDataSyncS3Format) *ResourceDataSyncS3Destination { - s.SyncFormat = v - return s -} - // The inventory item result attribute. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResultAttribute type ResultAttribute struct { @@ -22542,12 +16740,6 @@ func (s *ResultAttribute) Validate() error { return nil } -// SetTypeName sets the TypeName field's value. -func (s *ResultAttribute) SetTypeName(v string) *ResultAttribute { - s.TypeName = &v - return s -} - // An Amazon S3 bucket where you want to store the results of this request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/S3OutputLocation type S3OutputLocation struct { @@ -22591,24 +16783,6 @@ func (s *S3OutputLocation) Validate() error { return nil } -// SetOutputS3BucketName sets the OutputS3BucketName field's value. -func (s *S3OutputLocation) SetOutputS3BucketName(v string) *S3OutputLocation { - s.OutputS3BucketName = &v - return s -} - -// SetOutputS3KeyPrefix sets the OutputS3KeyPrefix field's value. -func (s *S3OutputLocation) SetOutputS3KeyPrefix(v string) *S3OutputLocation { - s.OutputS3KeyPrefix = &v - return s -} - -// SetOutputS3Region sets the OutputS3Region field's value. -func (s *S3OutputLocation) SetOutputS3Region(v string) *S3OutputLocation { - s.OutputS3Region = &v - return s -} - // A URL for the Amazon S3 bucket where you want to store the results of this // request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/S3OutputUrl @@ -22630,12 +16804,6 @@ func (s S3OutputUrl) GoString() string { return s.String() } -// SetOutputUrl sets the OutputUrl field's value. -func (s *S3OutputUrl) SetOutputUrl(v string) *S3OutputUrl { - s.OutputUrl = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendAutomationSignalRequest type SendAutomationSignalInput struct { _ struct{} `type:"structure"` @@ -22690,24 +16858,6 @@ func (s *SendAutomationSignalInput) Validate() error { return nil } -// SetAutomationExecutionId sets the AutomationExecutionId field's value. -func (s *SendAutomationSignalInput) SetAutomationExecutionId(v string) *SendAutomationSignalInput { - s.AutomationExecutionId = &v - return s -} - -// SetPayload sets the Payload field's value. -func (s *SendAutomationSignalInput) SetPayload(v map[string][]string) *SendAutomationSignalInput { - s.Payload = v - return s -} - -// SetSignalType sets the SignalType field's value. -func (s *SendAutomationSignalInput) SetSignalType(v SignalType) *SendAutomationSignalInput { - s.SignalType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendAutomationSignalResult type SendAutomationSignalOutput struct { _ struct{} `type:"structure"` @@ -22852,96 +17002,6 @@ func (s *SendCommandInput) Validate() error { return nil } -// SetComment sets the Comment field's value. -func (s *SendCommandInput) SetComment(v string) *SendCommandInput { - s.Comment = &v - return s -} - -// SetDocumentHash sets the DocumentHash field's value. -func (s *SendCommandInput) SetDocumentHash(v string) *SendCommandInput { - s.DocumentHash = &v - return s -} - -// SetDocumentHashType sets the DocumentHashType field's value. -func (s *SendCommandInput) SetDocumentHashType(v DocumentHashType) *SendCommandInput { - s.DocumentHashType = v - return s -} - -// SetDocumentName sets the DocumentName field's value. -func (s *SendCommandInput) SetDocumentName(v string) *SendCommandInput { - s.DocumentName = &v - return s -} - -// SetInstanceIds sets the InstanceIds field's value. -func (s *SendCommandInput) SetInstanceIds(v []string) *SendCommandInput { - s.InstanceIds = v - return s -} - -// SetMaxConcurrency sets the MaxConcurrency field's value. -func (s *SendCommandInput) SetMaxConcurrency(v string) *SendCommandInput { - s.MaxConcurrency = &v - return s -} - -// SetMaxErrors sets the MaxErrors field's value. -func (s *SendCommandInput) SetMaxErrors(v string) *SendCommandInput { - s.MaxErrors = &v - return s -} - -// SetNotificationConfig sets the NotificationConfig field's value. -func (s *SendCommandInput) SetNotificationConfig(v *NotificationConfig) *SendCommandInput { - s.NotificationConfig = v - return s -} - -// SetOutputS3BucketName sets the OutputS3BucketName field's value. -func (s *SendCommandInput) SetOutputS3BucketName(v string) *SendCommandInput { - s.OutputS3BucketName = &v - return s -} - -// SetOutputS3KeyPrefix sets the OutputS3KeyPrefix field's value. -func (s *SendCommandInput) SetOutputS3KeyPrefix(v string) *SendCommandInput { - s.OutputS3KeyPrefix = &v - return s -} - -// SetOutputS3Region sets the OutputS3Region field's value. -func (s *SendCommandInput) SetOutputS3Region(v string) *SendCommandInput { - s.OutputS3Region = &v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *SendCommandInput) SetParameters(v map[string][]string) *SendCommandInput { - s.Parameters = v - return s -} - -// SetServiceRoleArn sets the ServiceRoleArn field's value. -func (s *SendCommandInput) SetServiceRoleArn(v string) *SendCommandInput { - s.ServiceRoleArn = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *SendCommandInput) SetTargets(v []Target) *SendCommandInput { - s.Targets = v - return s -} - -// SetTimeoutSeconds sets the TimeoutSeconds field's value. -func (s *SendCommandInput) SetTimeoutSeconds(v int64) *SendCommandInput { - s.TimeoutSeconds = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendCommandResult type SendCommandOutput struct { _ struct{} `type:"structure"` @@ -22968,12 +17028,6 @@ func (s SendCommandOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCommand sets the Command field's value. -func (s *SendCommandOutput) SetCommand(v *Command) *SendCommandOutput { - s.Command = v - return s -} - // The number of managed instances found for each patch severity level defined // in the request filter. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SeveritySummary @@ -23021,42 +17075,6 @@ func (s SeveritySummary) GoString() string { return s.String() } -// SetCriticalCount sets the CriticalCount field's value. -func (s *SeveritySummary) SetCriticalCount(v int64) *SeveritySummary { - s.CriticalCount = &v - return s -} - -// SetHighCount sets the HighCount field's value. -func (s *SeveritySummary) SetHighCount(v int64) *SeveritySummary { - s.HighCount = &v - return s -} - -// SetInformationalCount sets the InformationalCount field's value. -func (s *SeveritySummary) SetInformationalCount(v int64) *SeveritySummary { - s.InformationalCount = &v - return s -} - -// SetLowCount sets the LowCount field's value. -func (s *SeveritySummary) SetLowCount(v int64) *SeveritySummary { - s.LowCount = &v - return s -} - -// SetMediumCount sets the MediumCount field's value. -func (s *SeveritySummary) SetMediumCount(v int64) *SeveritySummary { - s.MediumCount = &v - return s -} - -// SetUnspecifiedCount sets the UnspecifiedCount field's value. -func (s *SeveritySummary) SetUnspecifiedCount(v int64) *SeveritySummary { - s.UnspecifiedCount = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAutomationExecutionRequest type StartAutomationExecutionInput struct { _ struct{} `type:"structure"` @@ -23150,64 +17168,10 @@ func (s *StartAutomationExecutionInput) Validate() error { } } - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClientToken sets the ClientToken field's value. -func (s *StartAutomationExecutionInput) SetClientToken(v string) *StartAutomationExecutionInput { - s.ClientToken = &v - return s -} - -// SetDocumentName sets the DocumentName field's value. -func (s *StartAutomationExecutionInput) SetDocumentName(v string) *StartAutomationExecutionInput { - s.DocumentName = &v - return s -} - -// SetDocumentVersion sets the DocumentVersion field's value. -func (s *StartAutomationExecutionInput) SetDocumentVersion(v string) *StartAutomationExecutionInput { - s.DocumentVersion = &v - return s -} - -// SetMaxConcurrency sets the MaxConcurrency field's value. -func (s *StartAutomationExecutionInput) SetMaxConcurrency(v string) *StartAutomationExecutionInput { - s.MaxConcurrency = &v - return s -} - -// SetMaxErrors sets the MaxErrors field's value. -func (s *StartAutomationExecutionInput) SetMaxErrors(v string) *StartAutomationExecutionInput { - s.MaxErrors = &v - return s -} - -// SetMode sets the Mode field's value. -func (s *StartAutomationExecutionInput) SetMode(v ExecutionMode) *StartAutomationExecutionInput { - s.Mode = v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *StartAutomationExecutionInput) SetParameters(v map[string][]string) *StartAutomationExecutionInput { - s.Parameters = v - return s -} - -// SetTargetParameterName sets the TargetParameterName field's value. -func (s *StartAutomationExecutionInput) SetTargetParameterName(v string) *StartAutomationExecutionInput { - s.TargetParameterName = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *StartAutomationExecutionInput) SetTargets(v []Target) *StartAutomationExecutionInput { - s.Targets = v - return s + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAutomationExecutionResult @@ -23235,12 +17199,6 @@ func (s StartAutomationExecutionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAutomationExecutionId sets the AutomationExecutionId field's value. -func (s *StartAutomationExecutionOutput) SetAutomationExecutionId(v string) *StartAutomationExecutionOutput { - s.AutomationExecutionId = &v - return s -} - // Detailed information about an the execution state of an Automation step. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StepExecution type StepExecution struct { @@ -23310,102 +17268,6 @@ func (s StepExecution) GoString() string { return s.String() } -// SetAction sets the Action field's value. -func (s *StepExecution) SetAction(v string) *StepExecution { - s.Action = &v - return s -} - -// SetExecutionEndTime sets the ExecutionEndTime field's value. -func (s *StepExecution) SetExecutionEndTime(v time.Time) *StepExecution { - s.ExecutionEndTime = &v - return s -} - -// SetExecutionStartTime sets the ExecutionStartTime field's value. -func (s *StepExecution) SetExecutionStartTime(v time.Time) *StepExecution { - s.ExecutionStartTime = &v - return s -} - -// SetFailureDetails sets the FailureDetails field's value. -func (s *StepExecution) SetFailureDetails(v *FailureDetails) *StepExecution { - s.FailureDetails = v - return s -} - -// SetFailureMessage sets the FailureMessage field's value. -func (s *StepExecution) SetFailureMessage(v string) *StepExecution { - s.FailureMessage = &v - return s -} - -// SetInputs sets the Inputs field's value. -func (s *StepExecution) SetInputs(v map[string]string) *StepExecution { - s.Inputs = v - return s -} - -// SetMaxAttempts sets the MaxAttempts field's value. -func (s *StepExecution) SetMaxAttempts(v int64) *StepExecution { - s.MaxAttempts = &v - return s -} - -// SetOnFailure sets the OnFailure field's value. -func (s *StepExecution) SetOnFailure(v string) *StepExecution { - s.OnFailure = &v - return s -} - -// SetOutputs sets the Outputs field's value. -func (s *StepExecution) SetOutputs(v map[string][]string) *StepExecution { - s.Outputs = v - return s -} - -// SetOverriddenParameters sets the OverriddenParameters field's value. -func (s *StepExecution) SetOverriddenParameters(v map[string][]string) *StepExecution { - s.OverriddenParameters = v - return s -} - -// SetResponse sets the Response field's value. -func (s *StepExecution) SetResponse(v string) *StepExecution { - s.Response = &v - return s -} - -// SetResponseCode sets the ResponseCode field's value. -func (s *StepExecution) SetResponseCode(v string) *StepExecution { - s.ResponseCode = &v - return s -} - -// SetStepExecutionId sets the StepExecutionId field's value. -func (s *StepExecution) SetStepExecutionId(v string) *StepExecution { - s.StepExecutionId = &v - return s -} - -// SetStepName sets the StepName field's value. -func (s *StepExecution) SetStepName(v string) *StepExecution { - s.StepName = &v - return s -} - -// SetStepStatus sets the StepStatus field's value. -func (s *StepExecution) SetStepStatus(v AutomationExecutionStatus) *StepExecution { - s.StepStatus = v - return s -} - -// SetTimeoutSeconds sets the TimeoutSeconds field's value. -func (s *StepExecution) SetTimeoutSeconds(v int64) *StepExecution { - s.TimeoutSeconds = &v - return s -} - // A filter to limit the amount of step execution information returned by the // call. // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StepExecutionFilter @@ -23455,18 +17317,6 @@ func (s *StepExecutionFilter) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *StepExecutionFilter) SetKey(v StepExecutionFilterKey) *StepExecutionFilter { - s.Key = v - return s -} - -// SetValues sets the Values field's value. -func (s *StepExecutionFilter) SetValues(v []string) *StepExecutionFilter { - s.Values = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StopAutomationExecutionRequest type StopAutomationExecutionInput struct { _ struct{} `type:"structure"` @@ -23508,18 +17358,6 @@ func (s *StopAutomationExecutionInput) Validate() error { return nil } -// SetAutomationExecutionId sets the AutomationExecutionId field's value. -func (s *StopAutomationExecutionInput) SetAutomationExecutionId(v string) *StopAutomationExecutionInput { - s.AutomationExecutionId = &v - return s -} - -// SetType sets the Type field's value. -func (s *StopAutomationExecutionInput) SetType(v StopType) *StopAutomationExecutionInput { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StopAutomationExecutionResult type StopAutomationExecutionOutput struct { _ struct{} `type:"structure"` @@ -23595,18 +17433,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // An array of search criteria that targets instances using a Key,Value combination // that you specify. Targets is required if you don't provide one or more instance // IDs in the call. @@ -23651,18 +17477,6 @@ func (s *Target) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Target) SetKey(v string) *Target { - s.Key = &v - return s -} - -// SetValues sets the Values field's value. -func (s *Target) SetValues(v []string) *Target { - s.Values = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationRequest type UpdateAssociationInput struct { _ struct{} `type:"structure"` @@ -23739,60 +17553,6 @@ func (s *UpdateAssociationInput) Validate() error { return nil } -// SetAssociationId sets the AssociationId field's value. -func (s *UpdateAssociationInput) SetAssociationId(v string) *UpdateAssociationInput { - s.AssociationId = &v - return s -} - -// SetAssociationName sets the AssociationName field's value. -func (s *UpdateAssociationInput) SetAssociationName(v string) *UpdateAssociationInput { - s.AssociationName = &v - return s -} - -// SetAssociationVersion sets the AssociationVersion field's value. -func (s *UpdateAssociationInput) SetAssociationVersion(v string) *UpdateAssociationInput { - s.AssociationVersion = &v - return s -} - -// SetDocumentVersion sets the DocumentVersion field's value. -func (s *UpdateAssociationInput) SetDocumentVersion(v string) *UpdateAssociationInput { - s.DocumentVersion = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateAssociationInput) SetName(v string) *UpdateAssociationInput { - s.Name = &v - return s -} - -// SetOutputLocation sets the OutputLocation field's value. -func (s *UpdateAssociationInput) SetOutputLocation(v *InstanceAssociationOutputLocation) *UpdateAssociationInput { - s.OutputLocation = v - return s -} - -// SetParameters sets the Parameters field's value. -func (s *UpdateAssociationInput) SetParameters(v map[string][]string) *UpdateAssociationInput { - s.Parameters = v - return s -} - -// SetScheduleExpression sets the ScheduleExpression field's value. -func (s *UpdateAssociationInput) SetScheduleExpression(v string) *UpdateAssociationInput { - s.ScheduleExpression = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *UpdateAssociationInput) SetTargets(v []Target) *UpdateAssociationInput { - s.Targets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationResult type UpdateAssociationOutput struct { _ struct{} `type:"structure"` @@ -23818,12 +17578,6 @@ func (s UpdateAssociationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssociationDescription sets the AssociationDescription field's value. -func (s *UpdateAssociationOutput) SetAssociationDescription(v *AssociationDescription) *UpdateAssociationOutput { - s.AssociationDescription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatusRequest type UpdateAssociationStatusInput struct { _ struct{} `type:"structure"` @@ -23881,24 +17635,6 @@ func (s *UpdateAssociationStatusInput) Validate() error { return nil } -// SetAssociationStatus sets the AssociationStatus field's value. -func (s *UpdateAssociationStatusInput) SetAssociationStatus(v *AssociationStatus) *UpdateAssociationStatusInput { - s.AssociationStatus = v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *UpdateAssociationStatusInput) SetInstanceId(v string) *UpdateAssociationStatusInput { - s.InstanceId = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateAssociationStatusInput) SetName(v string) *UpdateAssociationStatusInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatusResult type UpdateAssociationStatusOutput struct { _ struct{} `type:"structure"` @@ -23924,12 +17660,6 @@ func (s UpdateAssociationStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssociationDescription sets the AssociationDescription field's value. -func (s *UpdateAssociationStatusOutput) SetAssociationDescription(v *AssociationDescription) *UpdateAssociationStatusOutput { - s.AssociationDescription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentDefaultVersionRequest type UpdateDocumentDefaultVersionInput struct { _ struct{} `type:"structure"` @@ -23973,18 +17703,6 @@ func (s *UpdateDocumentDefaultVersionInput) Validate() error { return nil } -// SetDocumentVersion sets the DocumentVersion field's value. -func (s *UpdateDocumentDefaultVersionInput) SetDocumentVersion(v string) *UpdateDocumentDefaultVersionInput { - s.DocumentVersion = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateDocumentDefaultVersionInput) SetName(v string) *UpdateDocumentDefaultVersionInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentDefaultVersionResult type UpdateDocumentDefaultVersionOutput struct { _ struct{} `type:"structure"` @@ -24011,12 +17729,6 @@ func (s UpdateDocumentDefaultVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDescription sets the Description field's value. -func (s *UpdateDocumentDefaultVersionOutput) SetDescription(v *DocumentDefaultVersionDescription) *UpdateDocumentDefaultVersionOutput { - s.Description = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentRequest type UpdateDocumentInput struct { _ struct{} `type:"structure"` @@ -24073,36 +17785,6 @@ func (s *UpdateDocumentInput) Validate() error { return nil } -// SetContent sets the Content field's value. -func (s *UpdateDocumentInput) SetContent(v string) *UpdateDocumentInput { - s.Content = &v - return s -} - -// SetDocumentFormat sets the DocumentFormat field's value. -func (s *UpdateDocumentInput) SetDocumentFormat(v DocumentFormat) *UpdateDocumentInput { - s.DocumentFormat = v - return s -} - -// SetDocumentVersion sets the DocumentVersion field's value. -func (s *UpdateDocumentInput) SetDocumentVersion(v string) *UpdateDocumentInput { - s.DocumentVersion = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateDocumentInput) SetName(v string) *UpdateDocumentInput { - s.Name = &v - return s -} - -// SetTargetType sets the TargetType field's value. -func (s *UpdateDocumentInput) SetTargetType(v string) *UpdateDocumentInput { - s.TargetType = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentResult type UpdateDocumentOutput struct { _ struct{} `type:"structure"` @@ -24128,12 +17810,6 @@ func (s UpdateDocumentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDocumentDescription sets the DocumentDescription field's value. -func (s *UpdateDocumentOutput) SetDocumentDescription(v *DocumentDescription) *UpdateDocumentOutput { - s.DocumentDescription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowRequest type UpdateMaintenanceWindowInput struct { _ struct{} `type:"structure"` @@ -24211,60 +17887,6 @@ func (s *UpdateMaintenanceWindowInput) Validate() error { return nil } -// SetAllowUnassociatedTargets sets the AllowUnassociatedTargets field's value. -func (s *UpdateMaintenanceWindowInput) SetAllowUnassociatedTargets(v bool) *UpdateMaintenanceWindowInput { - s.AllowUnassociatedTargets = &v - return s -} - -// SetCutoff sets the Cutoff field's value. -func (s *UpdateMaintenanceWindowInput) SetCutoff(v int64) *UpdateMaintenanceWindowInput { - s.Cutoff = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateMaintenanceWindowInput) SetDescription(v string) *UpdateMaintenanceWindowInput { - s.Description = &v - return s -} - -// SetDuration sets the Duration field's value. -func (s *UpdateMaintenanceWindowInput) SetDuration(v int64) *UpdateMaintenanceWindowInput { - s.Duration = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *UpdateMaintenanceWindowInput) SetEnabled(v bool) *UpdateMaintenanceWindowInput { - s.Enabled = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateMaintenanceWindowInput) SetName(v string) *UpdateMaintenanceWindowInput { - s.Name = &v - return s -} - -// SetReplace sets the Replace field's value. -func (s *UpdateMaintenanceWindowInput) SetReplace(v bool) *UpdateMaintenanceWindowInput { - s.Replace = &v - return s -} - -// SetSchedule sets the Schedule field's value. -func (s *UpdateMaintenanceWindowInput) SetSchedule(v string) *UpdateMaintenanceWindowInput { - s.Schedule = &v - return s -} - -// SetWindowId sets the WindowId field's value. -func (s *UpdateMaintenanceWindowInput) SetWindowId(v string) *UpdateMaintenanceWindowInput { - s.WindowId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowResult type UpdateMaintenanceWindowOutput struct { _ struct{} `type:"structure"` @@ -24313,54 +17935,6 @@ func (s UpdateMaintenanceWindowOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAllowUnassociatedTargets sets the AllowUnassociatedTargets field's value. -func (s *UpdateMaintenanceWindowOutput) SetAllowUnassociatedTargets(v bool) *UpdateMaintenanceWindowOutput { - s.AllowUnassociatedTargets = &v - return s -} - -// SetCutoff sets the Cutoff field's value. -func (s *UpdateMaintenanceWindowOutput) SetCutoff(v int64) *UpdateMaintenanceWindowOutput { - s.Cutoff = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdateMaintenanceWindowOutput) SetDescription(v string) *UpdateMaintenanceWindowOutput { - s.Description = &v - return s -} - -// SetDuration sets the Duration field's value. -func (s *UpdateMaintenanceWindowOutput) SetDuration(v int64) *UpdateMaintenanceWindowOutput { - s.Duration = &v - return s -} - -// SetEnabled sets the Enabled field's value. -func (s *UpdateMaintenanceWindowOutput) SetEnabled(v bool) *UpdateMaintenanceWindowOutput { - s.Enabled = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateMaintenanceWindowOutput) SetName(v string) *UpdateMaintenanceWindowOutput { - s.Name = &v - return s -} - -// SetSchedule sets the Schedule field's value. -func (s *UpdateMaintenanceWindowOutput) SetSchedule(v string) *UpdateMaintenanceWindowOutput { - s.Schedule = &v - return s -} - -// SetWindowId sets the WindowId field's value. -func (s *UpdateMaintenanceWindowOutput) SetWindowId(v string) *UpdateMaintenanceWindowOutput { - s.WindowId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTargetRequest type UpdateMaintenanceWindowTargetInput struct { _ struct{} `type:"structure"` @@ -24444,48 +18018,6 @@ func (s *UpdateMaintenanceWindowTargetInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *UpdateMaintenanceWindowTargetInput) SetDescription(v string) *UpdateMaintenanceWindowTargetInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateMaintenanceWindowTargetInput) SetName(v string) *UpdateMaintenanceWindowTargetInput { - s.Name = &v - return s -} - -// SetOwnerInformation sets the OwnerInformation field's value. -func (s *UpdateMaintenanceWindowTargetInput) SetOwnerInformation(v string) *UpdateMaintenanceWindowTargetInput { - s.OwnerInformation = &v - return s -} - -// SetReplace sets the Replace field's value. -func (s *UpdateMaintenanceWindowTargetInput) SetReplace(v bool) *UpdateMaintenanceWindowTargetInput { - s.Replace = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *UpdateMaintenanceWindowTargetInput) SetTargets(v []Target) *UpdateMaintenanceWindowTargetInput { - s.Targets = v - return s -} - -// SetWindowId sets the WindowId field's value. -func (s *UpdateMaintenanceWindowTargetInput) SetWindowId(v string) *UpdateMaintenanceWindowTargetInput { - s.WindowId = &v - return s -} - -// SetWindowTargetId sets the WindowTargetId field's value. -func (s *UpdateMaintenanceWindowTargetInput) SetWindowTargetId(v string) *UpdateMaintenanceWindowTargetInput { - s.WindowTargetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTargetResult type UpdateMaintenanceWindowTargetOutput struct { _ struct{} `type:"structure"` @@ -24526,42 +18058,6 @@ func (s UpdateMaintenanceWindowTargetOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetDescription sets the Description field's value. -func (s *UpdateMaintenanceWindowTargetOutput) SetDescription(v string) *UpdateMaintenanceWindowTargetOutput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateMaintenanceWindowTargetOutput) SetName(v string) *UpdateMaintenanceWindowTargetOutput { - s.Name = &v - return s -} - -// SetOwnerInformation sets the OwnerInformation field's value. -func (s *UpdateMaintenanceWindowTargetOutput) SetOwnerInformation(v string) *UpdateMaintenanceWindowTargetOutput { - s.OwnerInformation = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *UpdateMaintenanceWindowTargetOutput) SetTargets(v []Target) *UpdateMaintenanceWindowTargetOutput { - s.Targets = v - return s -} - -// SetWindowId sets the WindowId field's value. -func (s *UpdateMaintenanceWindowTargetOutput) SetWindowId(v string) *UpdateMaintenanceWindowTargetOutput { - s.WindowId = &v - return s -} - -// SetWindowTargetId sets the WindowTargetId field's value. -func (s *UpdateMaintenanceWindowTargetOutput) SetWindowTargetId(v string) *UpdateMaintenanceWindowTargetOutput { - s.WindowTargetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTaskRequest type UpdateMaintenanceWindowTaskInput struct { _ struct{} `type:"structure"` @@ -24692,90 +18188,6 @@ func (s *UpdateMaintenanceWindowTaskInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *UpdateMaintenanceWindowTaskInput) SetDescription(v string) *UpdateMaintenanceWindowTaskInput { - s.Description = &v - return s -} - -// SetLoggingInfo sets the LoggingInfo field's value. -func (s *UpdateMaintenanceWindowTaskInput) SetLoggingInfo(v *LoggingInfo) *UpdateMaintenanceWindowTaskInput { - s.LoggingInfo = v - return s -} - -// SetMaxConcurrency sets the MaxConcurrency field's value. -func (s *UpdateMaintenanceWindowTaskInput) SetMaxConcurrency(v string) *UpdateMaintenanceWindowTaskInput { - s.MaxConcurrency = &v - return s -} - -// SetMaxErrors sets the MaxErrors field's value. -func (s *UpdateMaintenanceWindowTaskInput) SetMaxErrors(v string) *UpdateMaintenanceWindowTaskInput { - s.MaxErrors = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateMaintenanceWindowTaskInput) SetName(v string) *UpdateMaintenanceWindowTaskInput { - s.Name = &v - return s -} - -// SetPriority sets the Priority field's value. -func (s *UpdateMaintenanceWindowTaskInput) SetPriority(v int64) *UpdateMaintenanceWindowTaskInput { - s.Priority = &v - return s -} - -// SetReplace sets the Replace field's value. -func (s *UpdateMaintenanceWindowTaskInput) SetReplace(v bool) *UpdateMaintenanceWindowTaskInput { - s.Replace = &v - return s -} - -// SetServiceRoleArn sets the ServiceRoleArn field's value. -func (s *UpdateMaintenanceWindowTaskInput) SetServiceRoleArn(v string) *UpdateMaintenanceWindowTaskInput { - s.ServiceRoleArn = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *UpdateMaintenanceWindowTaskInput) SetTargets(v []Target) *UpdateMaintenanceWindowTaskInput { - s.Targets = v - return s -} - -// SetTaskArn sets the TaskArn field's value. -func (s *UpdateMaintenanceWindowTaskInput) SetTaskArn(v string) *UpdateMaintenanceWindowTaskInput { - s.TaskArn = &v - return s -} - -// SetTaskInvocationParameters sets the TaskInvocationParameters field's value. -func (s *UpdateMaintenanceWindowTaskInput) SetTaskInvocationParameters(v *MaintenanceWindowTaskInvocationParameters) *UpdateMaintenanceWindowTaskInput { - s.TaskInvocationParameters = v - return s -} - -// SetTaskParameters sets the TaskParameters field's value. -func (s *UpdateMaintenanceWindowTaskInput) SetTaskParameters(v map[string]MaintenanceWindowTaskParameterValueExpression) *UpdateMaintenanceWindowTaskInput { - s.TaskParameters = v - return s -} - -// SetWindowId sets the WindowId field's value. -func (s *UpdateMaintenanceWindowTaskInput) SetWindowId(v string) *UpdateMaintenanceWindowTaskInput { - s.WindowId = &v - return s -} - -// SetWindowTaskId sets the WindowTaskId field's value. -func (s *UpdateMaintenanceWindowTaskInput) SetWindowTaskId(v string) *UpdateMaintenanceWindowTaskInput { - s.WindowTaskId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTaskResult type UpdateMaintenanceWindowTaskOutput struct { _ struct{} `type:"structure"` @@ -24837,84 +18249,6 @@ func (s UpdateMaintenanceWindowTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDescription sets the Description field's value. -func (s *UpdateMaintenanceWindowTaskOutput) SetDescription(v string) *UpdateMaintenanceWindowTaskOutput { - s.Description = &v - return s -} - -// SetLoggingInfo sets the LoggingInfo field's value. -func (s *UpdateMaintenanceWindowTaskOutput) SetLoggingInfo(v *LoggingInfo) *UpdateMaintenanceWindowTaskOutput { - s.LoggingInfo = v - return s -} - -// SetMaxConcurrency sets the MaxConcurrency field's value. -func (s *UpdateMaintenanceWindowTaskOutput) SetMaxConcurrency(v string) *UpdateMaintenanceWindowTaskOutput { - s.MaxConcurrency = &v - return s -} - -// SetMaxErrors sets the MaxErrors field's value. -func (s *UpdateMaintenanceWindowTaskOutput) SetMaxErrors(v string) *UpdateMaintenanceWindowTaskOutput { - s.MaxErrors = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateMaintenanceWindowTaskOutput) SetName(v string) *UpdateMaintenanceWindowTaskOutput { - s.Name = &v - return s -} - -// SetPriority sets the Priority field's value. -func (s *UpdateMaintenanceWindowTaskOutput) SetPriority(v int64) *UpdateMaintenanceWindowTaskOutput { - s.Priority = &v - return s -} - -// SetServiceRoleArn sets the ServiceRoleArn field's value. -func (s *UpdateMaintenanceWindowTaskOutput) SetServiceRoleArn(v string) *UpdateMaintenanceWindowTaskOutput { - s.ServiceRoleArn = &v - return s -} - -// SetTargets sets the Targets field's value. -func (s *UpdateMaintenanceWindowTaskOutput) SetTargets(v []Target) *UpdateMaintenanceWindowTaskOutput { - s.Targets = v - return s -} - -// SetTaskArn sets the TaskArn field's value. -func (s *UpdateMaintenanceWindowTaskOutput) SetTaskArn(v string) *UpdateMaintenanceWindowTaskOutput { - s.TaskArn = &v - return s -} - -// SetTaskInvocationParameters sets the TaskInvocationParameters field's value. -func (s *UpdateMaintenanceWindowTaskOutput) SetTaskInvocationParameters(v *MaintenanceWindowTaskInvocationParameters) *UpdateMaintenanceWindowTaskOutput { - s.TaskInvocationParameters = v - return s -} - -// SetTaskParameters sets the TaskParameters field's value. -func (s *UpdateMaintenanceWindowTaskOutput) SetTaskParameters(v map[string]MaintenanceWindowTaskParameterValueExpression) *UpdateMaintenanceWindowTaskOutput { - s.TaskParameters = v - return s -} - -// SetWindowId sets the WindowId field's value. -func (s *UpdateMaintenanceWindowTaskOutput) SetWindowId(v string) *UpdateMaintenanceWindowTaskOutput { - s.WindowId = &v - return s -} - -// SetWindowTaskId sets the WindowTaskId field's value. -func (s *UpdateMaintenanceWindowTaskOutput) SetWindowTaskId(v string) *UpdateMaintenanceWindowTaskOutput { - s.WindowTaskId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateManagedInstanceRoleRequest type UpdateManagedInstanceRoleInput struct { _ struct{} `type:"structure"` @@ -24958,18 +18292,6 @@ func (s *UpdateManagedInstanceRoleInput) Validate() error { return nil } -// SetIamRole sets the IamRole field's value. -func (s *UpdateManagedInstanceRoleInput) SetIamRole(v string) *UpdateManagedInstanceRoleInput { - s.IamRole = &v - return s -} - -// SetInstanceId sets the InstanceId field's value. -func (s *UpdateManagedInstanceRoleInput) SetInstanceId(v string) *UpdateManagedInstanceRoleInput { - s.InstanceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateManagedInstanceRoleResult type UpdateManagedInstanceRoleOutput struct { _ struct{} `type:"structure"` @@ -25066,54 +18388,6 @@ func (s *UpdatePatchBaselineInput) Validate() error { return nil } -// SetApprovalRules sets the ApprovalRules field's value. -func (s *UpdatePatchBaselineInput) SetApprovalRules(v *PatchRuleGroup) *UpdatePatchBaselineInput { - s.ApprovalRules = v - return s -} - -// SetApprovedPatches sets the ApprovedPatches field's value. -func (s *UpdatePatchBaselineInput) SetApprovedPatches(v []string) *UpdatePatchBaselineInput { - s.ApprovedPatches = v - return s -} - -// SetApprovedPatchesComplianceLevel sets the ApprovedPatchesComplianceLevel field's value. -func (s *UpdatePatchBaselineInput) SetApprovedPatchesComplianceLevel(v PatchComplianceLevel) *UpdatePatchBaselineInput { - s.ApprovedPatchesComplianceLevel = v - return s -} - -// SetBaselineId sets the BaselineId field's value. -func (s *UpdatePatchBaselineInput) SetBaselineId(v string) *UpdatePatchBaselineInput { - s.BaselineId = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdatePatchBaselineInput) SetDescription(v string) *UpdatePatchBaselineInput { - s.Description = &v - return s -} - -// SetGlobalFilters sets the GlobalFilters field's value. -func (s *UpdatePatchBaselineInput) SetGlobalFilters(v *PatchFilterGroup) *UpdatePatchBaselineInput { - s.GlobalFilters = v - return s -} - -// SetName sets the Name field's value. -func (s *UpdatePatchBaselineInput) SetName(v string) *UpdatePatchBaselineInput { - s.Name = &v - return s -} - -// SetRejectedPatches sets the RejectedPatches field's value. -func (s *UpdatePatchBaselineInput) SetRejectedPatches(v []string) *UpdatePatchBaselineInput { - s.RejectedPatches = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdatePatchBaselineResult type UpdatePatchBaselineOutput struct { _ struct{} `type:"structure"` @@ -25170,72 +18444,6 @@ func (s UpdatePatchBaselineOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApprovalRules sets the ApprovalRules field's value. -func (s *UpdatePatchBaselineOutput) SetApprovalRules(v *PatchRuleGroup) *UpdatePatchBaselineOutput { - s.ApprovalRules = v - return s -} - -// SetApprovedPatches sets the ApprovedPatches field's value. -func (s *UpdatePatchBaselineOutput) SetApprovedPatches(v []string) *UpdatePatchBaselineOutput { - s.ApprovedPatches = v - return s -} - -// SetApprovedPatchesComplianceLevel sets the ApprovedPatchesComplianceLevel field's value. -func (s *UpdatePatchBaselineOutput) SetApprovedPatchesComplianceLevel(v PatchComplianceLevel) *UpdatePatchBaselineOutput { - s.ApprovedPatchesComplianceLevel = v - return s -} - -// SetBaselineId sets the BaselineId field's value. -func (s *UpdatePatchBaselineOutput) SetBaselineId(v string) *UpdatePatchBaselineOutput { - s.BaselineId = &v - return s -} - -// SetCreatedDate sets the CreatedDate field's value. -func (s *UpdatePatchBaselineOutput) SetCreatedDate(v time.Time) *UpdatePatchBaselineOutput { - s.CreatedDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *UpdatePatchBaselineOutput) SetDescription(v string) *UpdatePatchBaselineOutput { - s.Description = &v - return s -} - -// SetGlobalFilters sets the GlobalFilters field's value. -func (s *UpdatePatchBaselineOutput) SetGlobalFilters(v *PatchFilterGroup) *UpdatePatchBaselineOutput { - s.GlobalFilters = v - return s -} - -// SetModifiedDate sets the ModifiedDate field's value. -func (s *UpdatePatchBaselineOutput) SetModifiedDate(v time.Time) *UpdatePatchBaselineOutput { - s.ModifiedDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdatePatchBaselineOutput) SetName(v string) *UpdatePatchBaselineOutput { - s.Name = &v - return s -} - -// SetOperatingSystem sets the OperatingSystem field's value. -func (s *UpdatePatchBaselineOutput) SetOperatingSystem(v OperatingSystem) *UpdatePatchBaselineOutput { - s.OperatingSystem = v - return s -} - -// SetRejectedPatches sets the RejectedPatches field's value. -func (s *UpdatePatchBaselineOutput) SetRejectedPatches(v []string) *UpdatePatchBaselineOutput { - s.RejectedPatches = v - return s -} - type AssociationFilterKey string // Enum values for AssociationFilterKey diff --git a/service/storagegateway/api.go b/service/storagegateway/api.go index 18567a26dfa..de066431fdb 100644 --- a/service/storagegateway/api.go +++ b/service/storagegateway/api.go @@ -4011,48 +4011,6 @@ func (s *ActivateGatewayInput) Validate() error { return nil } -// SetActivationKey sets the ActivationKey field's value. -func (s *ActivateGatewayInput) SetActivationKey(v string) *ActivateGatewayInput { - s.ActivationKey = &v - return s -} - -// SetGatewayName sets the GatewayName field's value. -func (s *ActivateGatewayInput) SetGatewayName(v string) *ActivateGatewayInput { - s.GatewayName = &v - return s -} - -// SetGatewayRegion sets the GatewayRegion field's value. -func (s *ActivateGatewayInput) SetGatewayRegion(v string) *ActivateGatewayInput { - s.GatewayRegion = &v - return s -} - -// SetGatewayTimezone sets the GatewayTimezone field's value. -func (s *ActivateGatewayInput) SetGatewayTimezone(v string) *ActivateGatewayInput { - s.GatewayTimezone = &v - return s -} - -// SetGatewayType sets the GatewayType field's value. -func (s *ActivateGatewayInput) SetGatewayType(v string) *ActivateGatewayInput { - s.GatewayType = &v - return s -} - -// SetMediumChangerType sets the MediumChangerType field's value. -func (s *ActivateGatewayInput) SetMediumChangerType(v string) *ActivateGatewayInput { - s.MediumChangerType = &v - return s -} - -// SetTapeDriveType sets the TapeDriveType field's value. -func (s *ActivateGatewayInput) SetTapeDriveType(v string) *ActivateGatewayInput { - s.TapeDriveType = &v - return s -} - // AWS Storage Gateway returns the Amazon Resource Name (ARN) of the activated // gateway. It is a string made of information such as your account, gateway // name, and region. This ARN is used to reference the gateway in other API @@ -4087,12 +4045,6 @@ func (s ActivateGatewayOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGatewayARN sets the GatewayARN field's value. -func (s *ActivateGatewayOutput) SetGatewayARN(v string) *ActivateGatewayOutput { - s.GatewayARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddCacheInput type AddCacheInput struct { _ struct{} `type:"structure"` @@ -4138,18 +4090,6 @@ func (s *AddCacheInput) Validate() error { return nil } -// SetDiskIds sets the DiskIds field's value. -func (s *AddCacheInput) SetDiskIds(v []string) *AddCacheInput { - s.DiskIds = v - return s -} - -// SetGatewayARN sets the GatewayARN field's value. -func (s *AddCacheInput) SetGatewayARN(v string) *AddCacheInput { - s.GatewayARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddCacheOutput type AddCacheOutput struct { _ struct{} `type:"structure"` @@ -4176,12 +4116,6 @@ func (s AddCacheOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGatewayARN sets the GatewayARN field's value. -func (s *AddCacheOutput) SetGatewayARN(v string) *AddCacheOutput { - s.GatewayARN = &v - return s -} - // AddTagsToResourceInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddTagsToResourceInput type AddTagsToResourceInput struct { @@ -4240,18 +4174,6 @@ func (s *AddTagsToResourceInput) Validate() error { return nil } -// SetResourceARN sets the ResourceARN field's value. -func (s *AddTagsToResourceInput) SetResourceARN(v string) *AddTagsToResourceInput { - s.ResourceARN = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *AddTagsToResourceInput) SetTags(v []Tag) *AddTagsToResourceInput { - s.Tags = v - return s -} - // AddTagsToResourceOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddTagsToResourceOutput type AddTagsToResourceOutput struct { @@ -4278,12 +4200,6 @@ func (s AddTagsToResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResourceARN sets the ResourceARN field's value. -func (s *AddTagsToResourceOutput) SetResourceARN(v string) *AddTagsToResourceOutput { - s.ResourceARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddUploadBufferInput type AddUploadBufferInput struct { _ struct{} `type:"structure"` @@ -4329,18 +4245,6 @@ func (s *AddUploadBufferInput) Validate() error { return nil } -// SetDiskIds sets the DiskIds field's value. -func (s *AddUploadBufferInput) SetDiskIds(v []string) *AddUploadBufferInput { - s.DiskIds = v - return s -} - -// SetGatewayARN sets the GatewayARN field's value. -func (s *AddUploadBufferInput) SetGatewayARN(v string) *AddUploadBufferInput { - s.GatewayARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddUploadBufferOutput type AddUploadBufferOutput struct { _ struct{} `type:"structure"` @@ -4367,12 +4271,6 @@ func (s AddUploadBufferOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGatewayARN sets the GatewayARN field's value. -func (s *AddUploadBufferOutput) SetGatewayARN(v string) *AddUploadBufferOutput { - s.GatewayARN = &v - return s -} - // A JSON object containing one or more of the following fields: // // * AddWorkingStorageInput$DiskIds @@ -4425,18 +4323,6 @@ func (s *AddWorkingStorageInput) Validate() error { return nil } -// SetDiskIds sets the DiskIds field's value. -func (s *AddWorkingStorageInput) SetDiskIds(v []string) *AddWorkingStorageInput { - s.DiskIds = v - return s -} - -// SetGatewayARN sets the GatewayARN field's value. -func (s *AddWorkingStorageInput) SetGatewayARN(v string) *AddWorkingStorageInput { - s.GatewayARN = &v - return s -} - // A JSON object containing the of the gateway for which working storage was // configured. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddWorkingStorageOutput @@ -4465,12 +4351,6 @@ func (s AddWorkingStorageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGatewayARN sets the GatewayARN field's value. -func (s *AddWorkingStorageOutput) SetGatewayARN(v string) *AddWorkingStorageOutput { - s.GatewayARN = &v - return s -} - // Describes an iSCSI cached volume. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CachediSCSIVolume type CachediSCSIVolume struct { @@ -4525,66 +4405,6 @@ func (s CachediSCSIVolume) GoString() string { return s.String() } -// SetCreatedDate sets the CreatedDate field's value. -func (s *CachediSCSIVolume) SetCreatedDate(v time.Time) *CachediSCSIVolume { - s.CreatedDate = &v - return s -} - -// SetSourceSnapshotId sets the SourceSnapshotId field's value. -func (s *CachediSCSIVolume) SetSourceSnapshotId(v string) *CachediSCSIVolume { - s.SourceSnapshotId = &v - return s -} - -// SetVolumeARN sets the VolumeARN field's value. -func (s *CachediSCSIVolume) SetVolumeARN(v string) *CachediSCSIVolume { - s.VolumeARN = &v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *CachediSCSIVolume) SetVolumeId(v string) *CachediSCSIVolume { - s.VolumeId = &v - return s -} - -// SetVolumeProgress sets the VolumeProgress field's value. -func (s *CachediSCSIVolume) SetVolumeProgress(v float64) *CachediSCSIVolume { - s.VolumeProgress = &v - return s -} - -// SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value. -func (s *CachediSCSIVolume) SetVolumeSizeInBytes(v int64) *CachediSCSIVolume { - s.VolumeSizeInBytes = &v - return s -} - -// SetVolumeStatus sets the VolumeStatus field's value. -func (s *CachediSCSIVolume) SetVolumeStatus(v string) *CachediSCSIVolume { - s.VolumeStatus = &v - return s -} - -// SetVolumeType sets the VolumeType field's value. -func (s *CachediSCSIVolume) SetVolumeType(v string) *CachediSCSIVolume { - s.VolumeType = &v - return s -} - -// SetVolumeUsedInBytes sets the VolumeUsedInBytes field's value. -func (s *CachediSCSIVolume) SetVolumeUsedInBytes(v int64) *CachediSCSIVolume { - s.VolumeUsedInBytes = &v - return s -} - -// SetVolumeiSCSIAttributes sets the VolumeiSCSIAttributes field's value. -func (s *CachediSCSIVolume) SetVolumeiSCSIAttributes(v *VolumeiSCSIAttributes) *CachediSCSIVolume { - s.VolumeiSCSIAttributes = v - return s -} - // CancelArchivalInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelArchivalInput type CancelArchivalInput struct { @@ -4637,18 +4457,6 @@ func (s *CancelArchivalInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *CancelArchivalInput) SetGatewayARN(v string) *CancelArchivalInput { - s.GatewayARN = &v - return s -} - -// SetTapeARN sets the TapeARN field's value. -func (s *CancelArchivalInput) SetTapeARN(v string) *CancelArchivalInput { - s.TapeARN = &v - return s -} - // CancelArchivalOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelArchivalOutput type CancelArchivalOutput struct { @@ -4676,12 +4484,6 @@ func (s CancelArchivalOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTapeARN sets the TapeARN field's value. -func (s *CancelArchivalOutput) SetTapeARN(v string) *CancelArchivalOutput { - s.TapeARN = &v - return s -} - // CancelRetrievalInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelRetrievalInput type CancelRetrievalInput struct { @@ -4734,18 +4536,6 @@ func (s *CancelRetrievalInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *CancelRetrievalInput) SetGatewayARN(v string) *CancelRetrievalInput { - s.GatewayARN = &v - return s -} - -// SetTapeARN sets the TapeARN field's value. -func (s *CancelRetrievalInput) SetTapeARN(v string) *CancelRetrievalInput { - s.TapeARN = &v - return s -} - // CancelRetrievalOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelRetrievalOutput type CancelRetrievalOutput struct { @@ -4773,12 +4563,6 @@ func (s CancelRetrievalOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTapeARN sets the TapeARN field's value. -func (s *CancelRetrievalOutput) SetTapeARN(v string) *CancelRetrievalOutput { - s.TapeARN = &v - return s -} - // Describes Challenge-Handshake Authentication Protocol (CHAP) information // that supports authentication between your gateway and iSCSI initiators. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ChapInfo @@ -4813,30 +4597,6 @@ func (s ChapInfo) GoString() string { return s.String() } -// SetInitiatorName sets the InitiatorName field's value. -func (s *ChapInfo) SetInitiatorName(v string) *ChapInfo { - s.InitiatorName = &v - return s -} - -// SetSecretToAuthenticateInitiator sets the SecretToAuthenticateInitiator field's value. -func (s *ChapInfo) SetSecretToAuthenticateInitiator(v string) *ChapInfo { - s.SecretToAuthenticateInitiator = &v - return s -} - -// SetSecretToAuthenticateTarget sets the SecretToAuthenticateTarget field's value. -func (s *ChapInfo) SetSecretToAuthenticateTarget(v string) *ChapInfo { - s.SecretToAuthenticateTarget = &v - return s -} - -// SetTargetARN sets the TargetARN field's value. -func (s *ChapInfo) SetTargetARN(v string) *ChapInfo { - s.TargetARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateCachediSCSIVolumeInput type CreateCachediSCSIVolumeInput struct { _ struct{} `type:"structure"` @@ -4920,48 +4680,6 @@ func (s *CreateCachediSCSIVolumeInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *CreateCachediSCSIVolumeInput) SetClientToken(v string) *CreateCachediSCSIVolumeInput { - s.ClientToken = &v - return s -} - -// SetGatewayARN sets the GatewayARN field's value. -func (s *CreateCachediSCSIVolumeInput) SetGatewayARN(v string) *CreateCachediSCSIVolumeInput { - s.GatewayARN = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *CreateCachediSCSIVolumeInput) SetNetworkInterfaceId(v string) *CreateCachediSCSIVolumeInput { - s.NetworkInterfaceId = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *CreateCachediSCSIVolumeInput) SetSnapshotId(v string) *CreateCachediSCSIVolumeInput { - s.SnapshotId = &v - return s -} - -// SetSourceVolumeARN sets the SourceVolumeARN field's value. -func (s *CreateCachediSCSIVolumeInput) SetSourceVolumeARN(v string) *CreateCachediSCSIVolumeInput { - s.SourceVolumeARN = &v - return s -} - -// SetTargetName sets the TargetName field's value. -func (s *CreateCachediSCSIVolumeInput) SetTargetName(v string) *CreateCachediSCSIVolumeInput { - s.TargetName = &v - return s -} - -// SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value. -func (s *CreateCachediSCSIVolumeInput) SetVolumeSizeInBytes(v int64) *CreateCachediSCSIVolumeInput { - s.VolumeSizeInBytes = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateCachediSCSIVolumeOutput type CreateCachediSCSIVolumeOutput struct { _ struct{} `type:"structure"` @@ -4988,18 +4706,6 @@ func (s CreateCachediSCSIVolumeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTargetARN sets the TargetARN field's value. -func (s *CreateCachediSCSIVolumeOutput) SetTargetARN(v string) *CreateCachediSCSIVolumeOutput { - s.TargetARN = &v - return s -} - -// SetVolumeARN sets the VolumeARN field's value. -func (s *CreateCachediSCSIVolumeOutput) SetVolumeARN(v string) *CreateCachediSCSIVolumeOutput { - s.VolumeARN = &v - return s -} - // CreateNFSFileShareInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateNFSFileShareInput type CreateNFSFileShareInput struct { @@ -5131,78 +4837,6 @@ func (s *CreateNFSFileShareInput) Validate() error { return nil } -// SetClientList sets the ClientList field's value. -func (s *CreateNFSFileShareInput) SetClientList(v []string) *CreateNFSFileShareInput { - s.ClientList = v - return s -} - -// SetClientToken sets the ClientToken field's value. -func (s *CreateNFSFileShareInput) SetClientToken(v string) *CreateNFSFileShareInput { - s.ClientToken = &v - return s -} - -// SetDefaultStorageClass sets the DefaultStorageClass field's value. -func (s *CreateNFSFileShareInput) SetDefaultStorageClass(v string) *CreateNFSFileShareInput { - s.DefaultStorageClass = &v - return s -} - -// SetGatewayARN sets the GatewayARN field's value. -func (s *CreateNFSFileShareInput) SetGatewayARN(v string) *CreateNFSFileShareInput { - s.GatewayARN = &v - return s -} - -// SetGuessMIMETypeEnabled sets the GuessMIMETypeEnabled field's value. -func (s *CreateNFSFileShareInput) SetGuessMIMETypeEnabled(v bool) *CreateNFSFileShareInput { - s.GuessMIMETypeEnabled = &v - return s -} - -// SetKMSEncrypted sets the KMSEncrypted field's value. -func (s *CreateNFSFileShareInput) SetKMSEncrypted(v bool) *CreateNFSFileShareInput { - s.KMSEncrypted = &v - return s -} - -// SetKMSKey sets the KMSKey field's value. -func (s *CreateNFSFileShareInput) SetKMSKey(v string) *CreateNFSFileShareInput { - s.KMSKey = &v - return s -} - -// SetLocationARN sets the LocationARN field's value. -func (s *CreateNFSFileShareInput) SetLocationARN(v string) *CreateNFSFileShareInput { - s.LocationARN = &v - return s -} - -// SetNFSFileShareDefaults sets the NFSFileShareDefaults field's value. -func (s *CreateNFSFileShareInput) SetNFSFileShareDefaults(v *NFSFileShareDefaults) *CreateNFSFileShareInput { - s.NFSFileShareDefaults = v - return s -} - -// SetReadOnly sets the ReadOnly field's value. -func (s *CreateNFSFileShareInput) SetReadOnly(v bool) *CreateNFSFileShareInput { - s.ReadOnly = &v - return s -} - -// SetRole sets the Role field's value. -func (s *CreateNFSFileShareInput) SetRole(v string) *CreateNFSFileShareInput { - s.Role = &v - return s -} - -// SetSquash sets the Squash field's value. -func (s *CreateNFSFileShareInput) SetSquash(v string) *CreateNFSFileShareInput { - s.Squash = &v - return s -} - // CreateNFSFileShareOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateNFSFileShareOutput type CreateNFSFileShareOutput struct { @@ -5229,12 +4863,6 @@ func (s CreateNFSFileShareOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFileShareARN sets the FileShareARN field's value. -func (s *CreateNFSFileShareOutput) SetFileShareARN(v string) *CreateNFSFileShareOutput { - s.FileShareARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSnapshotFromVolumeRecoveryPointInput type CreateSnapshotFromVolumeRecoveryPointInput struct { _ struct{} `type:"structure"` @@ -5280,18 +4908,6 @@ func (s *CreateSnapshotFromVolumeRecoveryPointInput) Validate() error { return nil } -// SetSnapshotDescription sets the SnapshotDescription field's value. -func (s *CreateSnapshotFromVolumeRecoveryPointInput) SetSnapshotDescription(v string) *CreateSnapshotFromVolumeRecoveryPointInput { - s.SnapshotDescription = &v - return s -} - -// SetVolumeARN sets the VolumeARN field's value. -func (s *CreateSnapshotFromVolumeRecoveryPointInput) SetVolumeARN(v string) *CreateSnapshotFromVolumeRecoveryPointInput { - s.VolumeARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSnapshotFromVolumeRecoveryPointOutput type CreateSnapshotFromVolumeRecoveryPointOutput struct { _ struct{} `type:"structure"` @@ -5320,24 +4936,6 @@ func (s CreateSnapshotFromVolumeRecoveryPointOutput) SDKResponseMetadata() aws.R return s.responseMetadata } -// SetSnapshotId sets the SnapshotId field's value. -func (s *CreateSnapshotFromVolumeRecoveryPointOutput) SetSnapshotId(v string) *CreateSnapshotFromVolumeRecoveryPointOutput { - s.SnapshotId = &v - return s -} - -// SetVolumeARN sets the VolumeARN field's value. -func (s *CreateSnapshotFromVolumeRecoveryPointOutput) SetVolumeARN(v string) *CreateSnapshotFromVolumeRecoveryPointOutput { - s.VolumeARN = &v - return s -} - -// SetVolumeRecoveryPointTime sets the VolumeRecoveryPointTime field's value. -func (s *CreateSnapshotFromVolumeRecoveryPointOutput) SetVolumeRecoveryPointTime(v string) *CreateSnapshotFromVolumeRecoveryPointOutput { - s.VolumeRecoveryPointTime = &v - return s -} - // A JSON object containing one or more of the following fields: // // * CreateSnapshotInput$SnapshotDescription @@ -5395,18 +4993,6 @@ func (s *CreateSnapshotInput) Validate() error { return nil } -// SetSnapshotDescription sets the SnapshotDescription field's value. -func (s *CreateSnapshotInput) SetSnapshotDescription(v string) *CreateSnapshotInput { - s.SnapshotDescription = &v - return s -} - -// SetVolumeARN sets the VolumeARN field's value. -func (s *CreateSnapshotInput) SetVolumeARN(v string) *CreateSnapshotInput { - s.VolumeARN = &v - return s -} - // A JSON object containing the following fields: // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSnapshotOutput type CreateSnapshotOutput struct { @@ -5438,18 +5024,6 @@ func (s CreateSnapshotOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSnapshotId sets the SnapshotId field's value. -func (s *CreateSnapshotOutput) SetSnapshotId(v string) *CreateSnapshotOutput { - s.SnapshotId = &v - return s -} - -// SetVolumeARN sets the VolumeARN field's value. -func (s *CreateSnapshotOutput) SetVolumeARN(v string) *CreateSnapshotOutput { - s.VolumeARN = &v - return s -} - // A JSON object containing one or more of the following fields: // // * CreateStorediSCSIVolumeInput$DiskId @@ -5560,42 +5134,6 @@ func (s *CreateStorediSCSIVolumeInput) Validate() error { return nil } -// SetDiskId sets the DiskId field's value. -func (s *CreateStorediSCSIVolumeInput) SetDiskId(v string) *CreateStorediSCSIVolumeInput { - s.DiskId = &v - return s -} - -// SetGatewayARN sets the GatewayARN field's value. -func (s *CreateStorediSCSIVolumeInput) SetGatewayARN(v string) *CreateStorediSCSIVolumeInput { - s.GatewayARN = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *CreateStorediSCSIVolumeInput) SetNetworkInterfaceId(v string) *CreateStorediSCSIVolumeInput { - s.NetworkInterfaceId = &v - return s -} - -// SetPreserveExistingData sets the PreserveExistingData field's value. -func (s *CreateStorediSCSIVolumeInput) SetPreserveExistingData(v bool) *CreateStorediSCSIVolumeInput { - s.PreserveExistingData = &v - return s -} - -// SetSnapshotId sets the SnapshotId field's value. -func (s *CreateStorediSCSIVolumeInput) SetSnapshotId(v string) *CreateStorediSCSIVolumeInput { - s.SnapshotId = &v - return s -} - -// SetTargetName sets the TargetName field's value. -func (s *CreateStorediSCSIVolumeInput) SetTargetName(v string) *CreateStorediSCSIVolumeInput { - s.TargetName = &v - return s -} - // A JSON object containing the following fields: // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateStorediSCSIVolumeOutput type CreateStorediSCSIVolumeOutput struct { @@ -5629,24 +5167,6 @@ func (s CreateStorediSCSIVolumeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTargetARN sets the TargetARN field's value. -func (s *CreateStorediSCSIVolumeOutput) SetTargetARN(v string) *CreateStorediSCSIVolumeOutput { - s.TargetARN = &v - return s -} - -// SetVolumeARN sets the VolumeARN field's value. -func (s *CreateStorediSCSIVolumeOutput) SetVolumeARN(v string) *CreateStorediSCSIVolumeOutput { - s.VolumeARN = &v - return s -} - -// SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value. -func (s *CreateStorediSCSIVolumeOutput) SetVolumeSizeInBytes(v int64) *CreateStorediSCSIVolumeOutput { - s.VolumeSizeInBytes = &v - return s -} - // CreateTapeWithBarcodeInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapeWithBarcodeInput type CreateTapeWithBarcodeInput struct { @@ -5713,24 +5233,6 @@ func (s *CreateTapeWithBarcodeInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *CreateTapeWithBarcodeInput) SetGatewayARN(v string) *CreateTapeWithBarcodeInput { - s.GatewayARN = &v - return s -} - -// SetTapeBarcode sets the TapeBarcode field's value. -func (s *CreateTapeWithBarcodeInput) SetTapeBarcode(v string) *CreateTapeWithBarcodeInput { - s.TapeBarcode = &v - return s -} - -// SetTapeSizeInBytes sets the TapeSizeInBytes field's value. -func (s *CreateTapeWithBarcodeInput) SetTapeSizeInBytes(v int64) *CreateTapeWithBarcodeInput { - s.TapeSizeInBytes = &v - return s -} - // CreateTapeOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapeWithBarcodeOutput type CreateTapeWithBarcodeOutput struct { @@ -5758,12 +5260,6 @@ func (s CreateTapeWithBarcodeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTapeARN sets the TapeARN field's value. -func (s *CreateTapeWithBarcodeOutput) SetTapeARN(v string) *CreateTapeWithBarcodeOutput { - s.TapeARN = &v - return s -} - // CreateTapesInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapesInput type CreateTapesInput struct { @@ -5858,36 +5354,6 @@ func (s *CreateTapesInput) Validate() error { return nil } -// SetClientToken sets the ClientToken field's value. -func (s *CreateTapesInput) SetClientToken(v string) *CreateTapesInput { - s.ClientToken = &v - return s -} - -// SetGatewayARN sets the GatewayARN field's value. -func (s *CreateTapesInput) SetGatewayARN(v string) *CreateTapesInput { - s.GatewayARN = &v - return s -} - -// SetNumTapesToCreate sets the NumTapesToCreate field's value. -func (s *CreateTapesInput) SetNumTapesToCreate(v int64) *CreateTapesInput { - s.NumTapesToCreate = &v - return s -} - -// SetTapeBarcodePrefix sets the TapeBarcodePrefix field's value. -func (s *CreateTapesInput) SetTapeBarcodePrefix(v string) *CreateTapesInput { - s.TapeBarcodePrefix = &v - return s -} - -// SetTapeSizeInBytes sets the TapeSizeInBytes field's value. -func (s *CreateTapesInput) SetTapeSizeInBytes(v int64) *CreateTapesInput { - s.TapeSizeInBytes = &v - return s -} - // CreateTapeOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapesOutput type CreateTapesOutput struct { @@ -5915,12 +5381,6 @@ func (s CreateTapesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTapeARNs sets the TapeARNs field's value. -func (s *CreateTapesOutput) SetTapeARNs(v []string) *CreateTapesOutput { - s.TapeARNs = v - return s -} - // A JSON object containing the following fields: // // * DeleteBandwidthRateLimitInput$BandwidthType @@ -5977,18 +5437,6 @@ func (s *DeleteBandwidthRateLimitInput) Validate() error { return nil } -// SetBandwidthType sets the BandwidthType field's value. -func (s *DeleteBandwidthRateLimitInput) SetBandwidthType(v string) *DeleteBandwidthRateLimitInput { - s.BandwidthType = &v - return s -} - -// SetGatewayARN sets the GatewayARN field's value. -func (s *DeleteBandwidthRateLimitInput) SetGatewayARN(v string) *DeleteBandwidthRateLimitInput { - s.GatewayARN = &v - return s -} - // A JSON object containing the of the gateway whose bandwidth rate information // was deleted. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteBandwidthRateLimitOutput @@ -6017,12 +5465,6 @@ func (s DeleteBandwidthRateLimitOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGatewayARN sets the GatewayARN field's value. -func (s *DeleteBandwidthRateLimitOutput) SetGatewayARN(v string) *DeleteBandwidthRateLimitOutput { - s.GatewayARN = &v - return s -} - // A JSON object containing one or more of the following fields: // // * DeleteChapCredentialsInput$InitiatorName @@ -6078,18 +5520,6 @@ func (s *DeleteChapCredentialsInput) Validate() error { return nil } -// SetInitiatorName sets the InitiatorName field's value. -func (s *DeleteChapCredentialsInput) SetInitiatorName(v string) *DeleteChapCredentialsInput { - s.InitiatorName = &v - return s -} - -// SetTargetARN sets the TargetARN field's value. -func (s *DeleteChapCredentialsInput) SetTargetARN(v string) *DeleteChapCredentialsInput { - s.TargetARN = &v - return s -} - // A JSON object containing the following fields: // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteChapCredentialsOutput type DeleteChapCredentialsOutput struct { @@ -6119,18 +5549,6 @@ func (s DeleteChapCredentialsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInitiatorName sets the InitiatorName field's value. -func (s *DeleteChapCredentialsOutput) SetInitiatorName(v string) *DeleteChapCredentialsOutput { - s.InitiatorName = &v - return s -} - -// SetTargetARN sets the TargetARN field's value. -func (s *DeleteChapCredentialsOutput) SetTargetARN(v string) *DeleteChapCredentialsOutput { - s.TargetARN = &v - return s -} - // DeleteFileShareInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteFileShareInput type DeleteFileShareInput struct { @@ -6175,18 +5593,6 @@ func (s *DeleteFileShareInput) Validate() error { return nil } -// SetFileShareARN sets the FileShareARN field's value. -func (s *DeleteFileShareInput) SetFileShareARN(v string) *DeleteFileShareInput { - s.FileShareARN = &v - return s -} - -// SetForceDelete sets the ForceDelete field's value. -func (s *DeleteFileShareInput) SetForceDelete(v bool) *DeleteFileShareInput { - s.ForceDelete = &v - return s -} - // DeleteFileShareOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteFileShareOutput type DeleteFileShareOutput struct { @@ -6213,12 +5619,6 @@ func (s DeleteFileShareOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFileShareARN sets the FileShareARN field's value. -func (s *DeleteFileShareOutput) SetFileShareARN(v string) *DeleteFileShareOutput { - s.FileShareARN = &v - return s -} - // A JSON object containing the ID of the gateway to delete. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteGatewayInput type DeleteGatewayInput struct { @@ -6258,12 +5658,6 @@ func (s *DeleteGatewayInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *DeleteGatewayInput) SetGatewayARN(v string) *DeleteGatewayInput { - s.GatewayARN = &v - return s -} - // A JSON object containing the ID of the deleted gateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteGatewayOutput type DeleteGatewayOutput struct { @@ -6291,12 +5685,6 @@ func (s DeleteGatewayOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGatewayARN sets the GatewayARN field's value. -func (s *DeleteGatewayOutput) SetGatewayARN(v string) *DeleteGatewayOutput { - s.GatewayARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteSnapshotScheduleInput type DeleteSnapshotScheduleInput struct { _ struct{} `type:"structure"` @@ -6332,12 +5720,6 @@ func (s *DeleteSnapshotScheduleInput) Validate() error { return nil } -// SetVolumeARN sets the VolumeARN field's value. -func (s *DeleteSnapshotScheduleInput) SetVolumeARN(v string) *DeleteSnapshotScheduleInput { - s.VolumeARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteSnapshotScheduleOutput type DeleteSnapshotScheduleOutput struct { _ struct{} `type:"structure"` @@ -6362,12 +5744,6 @@ func (s DeleteSnapshotScheduleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVolumeARN sets the VolumeARN field's value. -func (s *DeleteSnapshotScheduleOutput) SetVolumeARN(v string) *DeleteSnapshotScheduleOutput { - s.VolumeARN = &v - return s -} - // DeleteTapeArchiveInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapeArchiveInput type DeleteTapeArchiveInput struct { @@ -6407,12 +5783,6 @@ func (s *DeleteTapeArchiveInput) Validate() error { return nil } -// SetTapeARN sets the TapeARN field's value. -func (s *DeleteTapeArchiveInput) SetTapeARN(v string) *DeleteTapeArchiveInput { - s.TapeARN = &v - return s -} - // DeleteTapeArchiveOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapeArchiveOutput type DeleteTapeArchiveOutput struct { @@ -6440,12 +5810,6 @@ func (s DeleteTapeArchiveOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTapeARN sets the TapeARN field's value. -func (s *DeleteTapeArchiveOutput) SetTapeARN(v string) *DeleteTapeArchiveOutput { - s.TapeARN = &v - return s -} - // DeleteTapeInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapeInput type DeleteTapeInput struct { @@ -6498,18 +5862,6 @@ func (s *DeleteTapeInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *DeleteTapeInput) SetGatewayARN(v string) *DeleteTapeInput { - s.GatewayARN = &v - return s -} - -// SetTapeARN sets the TapeARN field's value. -func (s *DeleteTapeInput) SetTapeARN(v string) *DeleteTapeInput { - s.TapeARN = &v - return s -} - // DeleteTapeOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapeOutput type DeleteTapeOutput struct { @@ -6536,12 +5888,6 @@ func (s DeleteTapeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTapeARN sets the TapeARN field's value. -func (s *DeleteTapeOutput) SetTapeARN(v string) *DeleteTapeOutput { - s.TapeARN = &v - return s -} - // A JSON object containing the DeleteVolumeInput$VolumeARN to delete. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteVolumeInput type DeleteVolumeInput struct { @@ -6581,12 +5927,6 @@ func (s *DeleteVolumeInput) Validate() error { return nil } -// SetVolumeARN sets the VolumeARN field's value. -func (s *DeleteVolumeInput) SetVolumeARN(v string) *DeleteVolumeInput { - s.VolumeARN = &v - return s -} - // A JSON object containing the of the storage volume that was deleted // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteVolumeOutput type DeleteVolumeOutput struct { @@ -6614,12 +5954,6 @@ func (s DeleteVolumeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVolumeARN sets the VolumeARN field's value. -func (s *DeleteVolumeOutput) SetVolumeARN(v string) *DeleteVolumeOutput { - s.VolumeARN = &v - return s -} - // A JSON object containing the of the gateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeBandwidthRateLimitInput type DescribeBandwidthRateLimitInput struct { @@ -6659,12 +5993,6 @@ func (s *DescribeBandwidthRateLimitInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *DescribeBandwidthRateLimitInput) SetGatewayARN(v string) *DescribeBandwidthRateLimitInput { - s.GatewayARN = &v - return s -} - // A JSON object containing the following fields: // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeBandwidthRateLimitOutput type DescribeBandwidthRateLimitOutput struct { @@ -6700,24 +6028,6 @@ func (s DescribeBandwidthRateLimitOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAverageDownloadRateLimitInBitsPerSec sets the AverageDownloadRateLimitInBitsPerSec field's value. -func (s *DescribeBandwidthRateLimitOutput) SetAverageDownloadRateLimitInBitsPerSec(v int64) *DescribeBandwidthRateLimitOutput { - s.AverageDownloadRateLimitInBitsPerSec = &v - return s -} - -// SetAverageUploadRateLimitInBitsPerSec sets the AverageUploadRateLimitInBitsPerSec field's value. -func (s *DescribeBandwidthRateLimitOutput) SetAverageUploadRateLimitInBitsPerSec(v int64) *DescribeBandwidthRateLimitOutput { - s.AverageUploadRateLimitInBitsPerSec = &v - return s -} - -// SetGatewayARN sets the GatewayARN field's value. -func (s *DescribeBandwidthRateLimitOutput) SetGatewayARN(v string) *DescribeBandwidthRateLimitOutput { - s.GatewayARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCacheInput type DescribeCacheInput struct { _ struct{} `type:"structure"` @@ -6756,12 +6066,6 @@ func (s *DescribeCacheInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *DescribeCacheInput) SetGatewayARN(v string) *DescribeCacheInput { - s.GatewayARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCacheOutput type DescribeCacheOutput struct { _ struct{} `type:"structure"` @@ -6800,48 +6104,6 @@ func (s DescribeCacheOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCacheAllocatedInBytes sets the CacheAllocatedInBytes field's value. -func (s *DescribeCacheOutput) SetCacheAllocatedInBytes(v int64) *DescribeCacheOutput { - s.CacheAllocatedInBytes = &v - return s -} - -// SetCacheDirtyPercentage sets the CacheDirtyPercentage field's value. -func (s *DescribeCacheOutput) SetCacheDirtyPercentage(v float64) *DescribeCacheOutput { - s.CacheDirtyPercentage = &v - return s -} - -// SetCacheHitPercentage sets the CacheHitPercentage field's value. -func (s *DescribeCacheOutput) SetCacheHitPercentage(v float64) *DescribeCacheOutput { - s.CacheHitPercentage = &v - return s -} - -// SetCacheMissPercentage sets the CacheMissPercentage field's value. -func (s *DescribeCacheOutput) SetCacheMissPercentage(v float64) *DescribeCacheOutput { - s.CacheMissPercentage = &v - return s -} - -// SetCacheUsedPercentage sets the CacheUsedPercentage field's value. -func (s *DescribeCacheOutput) SetCacheUsedPercentage(v float64) *DescribeCacheOutput { - s.CacheUsedPercentage = &v - return s -} - -// SetDiskIds sets the DiskIds field's value. -func (s *DescribeCacheOutput) SetDiskIds(v []string) *DescribeCacheOutput { - s.DiskIds = v - return s -} - -// SetGatewayARN sets the GatewayARN field's value. -func (s *DescribeCacheOutput) SetGatewayARN(v string) *DescribeCacheOutput { - s.GatewayARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCachediSCSIVolumesInput type DescribeCachediSCSIVolumesInput struct { _ struct{} `type:"structure"` @@ -6874,12 +6136,6 @@ func (s *DescribeCachediSCSIVolumesInput) Validate() error { return nil } -// SetVolumeARNs sets the VolumeARNs field's value. -func (s *DescribeCachediSCSIVolumesInput) SetVolumeARNs(v []string) *DescribeCachediSCSIVolumesInput { - s.VolumeARNs = v - return s -} - // A JSON object containing the following fields: // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCachediSCSIVolumesOutput type DescribeCachediSCSIVolumesOutput struct { @@ -6907,12 +6163,6 @@ func (s DescribeCachediSCSIVolumesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCachediSCSIVolumes sets the CachediSCSIVolumes field's value. -func (s *DescribeCachediSCSIVolumesOutput) SetCachediSCSIVolumes(v []CachediSCSIVolume) *DescribeCachediSCSIVolumesOutput { - s.CachediSCSIVolumes = v - return s -} - // A JSON object containing the Amazon Resource Name (ARN) of the iSCSI volume // target. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeChapCredentialsInput @@ -6953,12 +6203,6 @@ func (s *DescribeChapCredentialsInput) Validate() error { return nil } -// SetTargetARN sets the TargetARN field's value. -func (s *DescribeChapCredentialsInput) SetTargetARN(v string) *DescribeChapCredentialsInput { - s.TargetARN = &v - return s -} - // A JSON object containing a . // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeChapCredentialsOutput type DescribeChapCredentialsOutput struct { @@ -6999,12 +6243,6 @@ func (s DescribeChapCredentialsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChapCredentials sets the ChapCredentials field's value. -func (s *DescribeChapCredentialsOutput) SetChapCredentials(v []ChapInfo) *DescribeChapCredentialsOutput { - s.ChapCredentials = v - return s -} - // A JSON object containing the ID of the gateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeGatewayInformationInput type DescribeGatewayInformationInput struct { @@ -7044,12 +6282,6 @@ func (s *DescribeGatewayInformationInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *DescribeGatewayInformationInput) SetGatewayARN(v string) *DescribeGatewayInformationInput { - s.GatewayARN = &v - return s -} - // A JSON object containing the following fields: // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeGatewayInformationOutput type DescribeGatewayInformationOutput struct { @@ -7108,60 +6340,6 @@ func (s DescribeGatewayInformationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGatewayARN sets the GatewayARN field's value. -func (s *DescribeGatewayInformationOutput) SetGatewayARN(v string) *DescribeGatewayInformationOutput { - s.GatewayARN = &v - return s -} - -// SetGatewayId sets the GatewayId field's value. -func (s *DescribeGatewayInformationOutput) SetGatewayId(v string) *DescribeGatewayInformationOutput { - s.GatewayId = &v - return s -} - -// SetGatewayName sets the GatewayName field's value. -func (s *DescribeGatewayInformationOutput) SetGatewayName(v string) *DescribeGatewayInformationOutput { - s.GatewayName = &v - return s -} - -// SetGatewayNetworkInterfaces sets the GatewayNetworkInterfaces field's value. -func (s *DescribeGatewayInformationOutput) SetGatewayNetworkInterfaces(v []NetworkInterface) *DescribeGatewayInformationOutput { - s.GatewayNetworkInterfaces = v - return s -} - -// SetGatewayState sets the GatewayState field's value. -func (s *DescribeGatewayInformationOutput) SetGatewayState(v string) *DescribeGatewayInformationOutput { - s.GatewayState = &v - return s -} - -// SetGatewayTimezone sets the GatewayTimezone field's value. -func (s *DescribeGatewayInformationOutput) SetGatewayTimezone(v string) *DescribeGatewayInformationOutput { - s.GatewayTimezone = &v - return s -} - -// SetGatewayType sets the GatewayType field's value. -func (s *DescribeGatewayInformationOutput) SetGatewayType(v string) *DescribeGatewayInformationOutput { - s.GatewayType = &v - return s -} - -// SetLastSoftwareUpdate sets the LastSoftwareUpdate field's value. -func (s *DescribeGatewayInformationOutput) SetLastSoftwareUpdate(v string) *DescribeGatewayInformationOutput { - s.LastSoftwareUpdate = &v - return s -} - -// SetNextUpdateAvailabilityDate sets the NextUpdateAvailabilityDate field's value. -func (s *DescribeGatewayInformationOutput) SetNextUpdateAvailabilityDate(v string) *DescribeGatewayInformationOutput { - s.NextUpdateAvailabilityDate = &v - return s -} - // A JSON object containing the of the gateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeMaintenanceStartTimeInput type DescribeMaintenanceStartTimeInput struct { @@ -7201,12 +6379,6 @@ func (s *DescribeMaintenanceStartTimeInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *DescribeMaintenanceStartTimeInput) SetGatewayARN(v string) *DescribeMaintenanceStartTimeInput { - s.GatewayARN = &v - return s -} - // A JSON object containing the following fields: // // * DescribeMaintenanceStartTimeOutput$DayOfWeek @@ -7259,36 +6431,6 @@ func (s DescribeMaintenanceStartTimeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDayOfWeek sets the DayOfWeek field's value. -func (s *DescribeMaintenanceStartTimeOutput) SetDayOfWeek(v int64) *DescribeMaintenanceStartTimeOutput { - s.DayOfWeek = &v - return s -} - -// SetGatewayARN sets the GatewayARN field's value. -func (s *DescribeMaintenanceStartTimeOutput) SetGatewayARN(v string) *DescribeMaintenanceStartTimeOutput { - s.GatewayARN = &v - return s -} - -// SetHourOfDay sets the HourOfDay field's value. -func (s *DescribeMaintenanceStartTimeOutput) SetHourOfDay(v int64) *DescribeMaintenanceStartTimeOutput { - s.HourOfDay = &v - return s -} - -// SetMinuteOfHour sets the MinuteOfHour field's value. -func (s *DescribeMaintenanceStartTimeOutput) SetMinuteOfHour(v int64) *DescribeMaintenanceStartTimeOutput { - s.MinuteOfHour = &v - return s -} - -// SetTimezone sets the Timezone field's value. -func (s *DescribeMaintenanceStartTimeOutput) SetTimezone(v string) *DescribeMaintenanceStartTimeOutput { - s.Timezone = &v - return s -} - // DescribeNFSFileSharesInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeNFSFileSharesInput type DescribeNFSFileSharesInput struct { @@ -7328,12 +6470,6 @@ func (s *DescribeNFSFileSharesInput) Validate() error { return nil } -// SetFileShareARNList sets the FileShareARNList field's value. -func (s *DescribeNFSFileSharesInput) SetFileShareARNList(v []string) *DescribeNFSFileSharesInput { - s.FileShareARNList = v - return s -} - // DescribeNFSFileSharesOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeNFSFileSharesOutput type DescribeNFSFileSharesOutput struct { @@ -7360,12 +6496,6 @@ func (s DescribeNFSFileSharesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNFSFileShareInfoList sets the NFSFileShareInfoList field's value. -func (s *DescribeNFSFileSharesOutput) SetNFSFileShareInfoList(v []NFSFileShareInfo) *DescribeNFSFileSharesOutput { - s.NFSFileShareInfoList = v - return s -} - // A JSON object containing the DescribeSnapshotScheduleInput$VolumeARN of the // volume. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSnapshotScheduleInput @@ -7406,12 +6536,6 @@ func (s *DescribeSnapshotScheduleInput) Validate() error { return nil } -// SetVolumeARN sets the VolumeARN field's value. -func (s *DescribeSnapshotScheduleInput) SetVolumeARN(v string) *DescribeSnapshotScheduleInput { - s.VolumeARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSnapshotScheduleOutput type DescribeSnapshotScheduleOutput struct { _ struct{} `type:"structure"` @@ -7444,36 +6568,6 @@ func (s DescribeSnapshotScheduleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDescription sets the Description field's value. -func (s *DescribeSnapshotScheduleOutput) SetDescription(v string) *DescribeSnapshotScheduleOutput { - s.Description = &v - return s -} - -// SetRecurrenceInHours sets the RecurrenceInHours field's value. -func (s *DescribeSnapshotScheduleOutput) SetRecurrenceInHours(v int64) *DescribeSnapshotScheduleOutput { - s.RecurrenceInHours = &v - return s -} - -// SetStartAt sets the StartAt field's value. -func (s *DescribeSnapshotScheduleOutput) SetStartAt(v int64) *DescribeSnapshotScheduleOutput { - s.StartAt = &v - return s -} - -// SetTimezone sets the Timezone field's value. -func (s *DescribeSnapshotScheduleOutput) SetTimezone(v string) *DescribeSnapshotScheduleOutput { - s.Timezone = &v - return s -} - -// SetVolumeARN sets the VolumeARN field's value. -func (s *DescribeSnapshotScheduleOutput) SetVolumeARN(v string) *DescribeSnapshotScheduleOutput { - s.VolumeARN = &v - return s -} - // A JSON object containing a list of DescribeStorediSCSIVolumesInput$VolumeARNs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeStorediSCSIVolumesInput type DescribeStorediSCSIVolumesInput struct { @@ -7511,12 +6605,6 @@ func (s *DescribeStorediSCSIVolumesInput) Validate() error { return nil } -// SetVolumeARNs sets the VolumeARNs field's value. -func (s *DescribeStorediSCSIVolumesInput) SetVolumeARNs(v []string) *DescribeStorediSCSIVolumesInput { - s.VolumeARNs = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeStorediSCSIVolumesOutput type DescribeStorediSCSIVolumesOutput struct { _ struct{} `type:"structure"` @@ -7541,12 +6629,6 @@ func (s DescribeStorediSCSIVolumesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStorediSCSIVolumes sets the StorediSCSIVolumes field's value. -func (s *DescribeStorediSCSIVolumesOutput) SetStorediSCSIVolumes(v []StorediSCSIVolume) *DescribeStorediSCSIVolumesOutput { - s.StorediSCSIVolumes = v - return s -} - // DescribeTapeArchivesInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapeArchivesInput type DescribeTapeArchivesInput struct { @@ -7591,24 +6673,6 @@ func (s *DescribeTapeArchivesInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *DescribeTapeArchivesInput) SetLimit(v int64) *DescribeTapeArchivesInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeTapeArchivesInput) SetMarker(v string) *DescribeTapeArchivesInput { - s.Marker = &v - return s -} - -// SetTapeARNs sets the TapeARNs field's value. -func (s *DescribeTapeArchivesInput) SetTapeARNs(v []string) *DescribeTapeArchivesInput { - s.TapeARNs = v - return s -} - // DescribeTapeArchivesOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapeArchivesOutput type DescribeTapeArchivesOutput struct { @@ -7645,18 +6709,6 @@ func (s DescribeTapeArchivesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeTapeArchivesOutput) SetMarker(v string) *DescribeTapeArchivesOutput { - s.Marker = &v - return s -} - -// SetTapeArchives sets the TapeArchives field's value. -func (s *DescribeTapeArchivesOutput) SetTapeArchives(v []TapeArchive) *DescribeTapeArchivesOutput { - s.TapeArchives = v - return s -} - // DescribeTapeRecoveryPointsInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapeRecoveryPointsInput type DescribeTapeRecoveryPointsInput struct { @@ -7710,24 +6762,6 @@ func (s *DescribeTapeRecoveryPointsInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *DescribeTapeRecoveryPointsInput) SetGatewayARN(v string) *DescribeTapeRecoveryPointsInput { - s.GatewayARN = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeTapeRecoveryPointsInput) SetLimit(v int64) *DescribeTapeRecoveryPointsInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeTapeRecoveryPointsInput) SetMarker(v string) *DescribeTapeRecoveryPointsInput { - s.Marker = &v - return s -} - // DescribeTapeRecoveryPointsOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapeRecoveryPointsOutput type DescribeTapeRecoveryPointsOutput struct { @@ -7766,24 +6800,6 @@ func (s DescribeTapeRecoveryPointsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGatewayARN sets the GatewayARN field's value. -func (s *DescribeTapeRecoveryPointsOutput) SetGatewayARN(v string) *DescribeTapeRecoveryPointsOutput { - s.GatewayARN = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeTapeRecoveryPointsOutput) SetMarker(v string) *DescribeTapeRecoveryPointsOutput { - s.Marker = &v - return s -} - -// SetTapeRecoveryPointInfos sets the TapeRecoveryPointInfos field's value. -func (s *DescribeTapeRecoveryPointsOutput) SetTapeRecoveryPointInfos(v []TapeRecoveryPointInfo) *DescribeTapeRecoveryPointsOutput { - s.TapeRecoveryPointInfos = v - return s -} - // DescribeTapesInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapesInput type DescribeTapesInput struct { @@ -7847,30 +6863,6 @@ func (s *DescribeTapesInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *DescribeTapesInput) SetGatewayARN(v string) *DescribeTapesInput { - s.GatewayARN = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeTapesInput) SetLimit(v int64) *DescribeTapesInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeTapesInput) SetMarker(v string) *DescribeTapesInput { - s.Marker = &v - return s -} - -// SetTapeARNs sets the TapeARNs field's value. -func (s *DescribeTapesInput) SetTapeARNs(v []string) *DescribeTapesInput { - s.TapeARNs = v - return s -} - // DescribeTapesOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapesOutput type DescribeTapesOutput struct { @@ -7904,18 +6896,6 @@ func (s DescribeTapesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeTapesOutput) SetMarker(v string) *DescribeTapesOutput { - s.Marker = &v - return s -} - -// SetTapes sets the Tapes field's value. -func (s *DescribeTapesOutput) SetTapes(v []Tape) *DescribeTapesOutput { - s.Tapes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeUploadBufferInput type DescribeUploadBufferInput struct { _ struct{} `type:"structure"` @@ -7954,12 +6934,6 @@ func (s *DescribeUploadBufferInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *DescribeUploadBufferInput) SetGatewayARN(v string) *DescribeUploadBufferInput { - s.GatewayARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeUploadBufferOutput type DescribeUploadBufferOutput struct { _ struct{} `type:"structure"` @@ -7992,30 +6966,6 @@ func (s DescribeUploadBufferOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDiskIds sets the DiskIds field's value. -func (s *DescribeUploadBufferOutput) SetDiskIds(v []string) *DescribeUploadBufferOutput { - s.DiskIds = v - return s -} - -// SetGatewayARN sets the GatewayARN field's value. -func (s *DescribeUploadBufferOutput) SetGatewayARN(v string) *DescribeUploadBufferOutput { - s.GatewayARN = &v - return s -} - -// SetUploadBufferAllocatedInBytes sets the UploadBufferAllocatedInBytes field's value. -func (s *DescribeUploadBufferOutput) SetUploadBufferAllocatedInBytes(v int64) *DescribeUploadBufferOutput { - s.UploadBufferAllocatedInBytes = &v - return s -} - -// SetUploadBufferUsedInBytes sets the UploadBufferUsedInBytes field's value. -func (s *DescribeUploadBufferOutput) SetUploadBufferUsedInBytes(v int64) *DescribeUploadBufferOutput { - s.UploadBufferUsedInBytes = &v - return s -} - // DescribeVTLDevicesInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeVTLDevicesInput type DescribeVTLDevicesInput struct { @@ -8077,30 +7027,6 @@ func (s *DescribeVTLDevicesInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *DescribeVTLDevicesInput) SetGatewayARN(v string) *DescribeVTLDevicesInput { - s.GatewayARN = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeVTLDevicesInput) SetLimit(v int64) *DescribeVTLDevicesInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeVTLDevicesInput) SetMarker(v string) *DescribeVTLDevicesInput { - s.Marker = &v - return s -} - -// SetVTLDeviceARNs sets the VTLDeviceARNs field's value. -func (s *DescribeVTLDevicesInput) SetVTLDeviceARNs(v []string) *DescribeVTLDevicesInput { - s.VTLDeviceARNs = v - return s -} - // DescribeVTLDevicesOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeVTLDevicesOutput type DescribeVTLDevicesOutput struct { @@ -8138,24 +7064,6 @@ func (s DescribeVTLDevicesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGatewayARN sets the GatewayARN field's value. -func (s *DescribeVTLDevicesOutput) SetGatewayARN(v string) *DescribeVTLDevicesOutput { - s.GatewayARN = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeVTLDevicesOutput) SetMarker(v string) *DescribeVTLDevicesOutput { - s.Marker = &v - return s -} - -// SetVTLDevices sets the VTLDevices field's value. -func (s *DescribeVTLDevicesOutput) SetVTLDevices(v []VTLDevice) *DescribeVTLDevicesOutput { - s.VTLDevices = v - return s -} - // A JSON object containing the of the gateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeWorkingStorageInput type DescribeWorkingStorageInput struct { @@ -8195,12 +7103,6 @@ func (s *DescribeWorkingStorageInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *DescribeWorkingStorageInput) SetGatewayARN(v string) *DescribeWorkingStorageInput { - s.GatewayARN = &v - return s -} - // A JSON object containing the following fields: // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeWorkingStorageOutput type DescribeWorkingStorageOutput struct { @@ -8242,30 +7144,6 @@ func (s DescribeWorkingStorageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDiskIds sets the DiskIds field's value. -func (s *DescribeWorkingStorageOutput) SetDiskIds(v []string) *DescribeWorkingStorageOutput { - s.DiskIds = v - return s -} - -// SetGatewayARN sets the GatewayARN field's value. -func (s *DescribeWorkingStorageOutput) SetGatewayARN(v string) *DescribeWorkingStorageOutput { - s.GatewayARN = &v - return s -} - -// SetWorkingStorageAllocatedInBytes sets the WorkingStorageAllocatedInBytes field's value. -func (s *DescribeWorkingStorageOutput) SetWorkingStorageAllocatedInBytes(v int64) *DescribeWorkingStorageOutput { - s.WorkingStorageAllocatedInBytes = &v - return s -} - -// SetWorkingStorageUsedInBytes sets the WorkingStorageUsedInBytes field's value. -func (s *DescribeWorkingStorageOutput) SetWorkingStorageUsedInBytes(v int64) *DescribeWorkingStorageOutput { - s.WorkingStorageUsedInBytes = &v - return s -} - // Lists iSCSI information about a VTL device. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeviceiSCSIAttributes type DeviceiSCSIAttributes struct { @@ -8295,30 +7173,6 @@ func (s DeviceiSCSIAttributes) GoString() string { return s.String() } -// SetChapEnabled sets the ChapEnabled field's value. -func (s *DeviceiSCSIAttributes) SetChapEnabled(v bool) *DeviceiSCSIAttributes { - s.ChapEnabled = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *DeviceiSCSIAttributes) SetNetworkInterfaceId(v string) *DeviceiSCSIAttributes { - s.NetworkInterfaceId = &v - return s -} - -// SetNetworkInterfacePort sets the NetworkInterfacePort field's value. -func (s *DeviceiSCSIAttributes) SetNetworkInterfacePort(v int64) *DeviceiSCSIAttributes { - s.NetworkInterfacePort = &v - return s -} - -// SetTargetARN sets the TargetARN field's value. -func (s *DeviceiSCSIAttributes) SetTargetARN(v string) *DeviceiSCSIAttributes { - s.TargetARN = &v - return s -} - // DisableGatewayInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DisableGatewayInput type DisableGatewayInput struct { @@ -8358,12 +7212,6 @@ func (s *DisableGatewayInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *DisableGatewayInput) SetGatewayARN(v string) *DisableGatewayInput { - s.GatewayARN = &v - return s -} - // DisableGatewayOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DisableGatewayOutput type DisableGatewayOutput struct { @@ -8390,12 +7238,6 @@ func (s DisableGatewayOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGatewayARN sets the GatewayARN field's value. -func (s *DisableGatewayOutput) SetGatewayARN(v string) *DisableGatewayOutput { - s.GatewayARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/Disk type Disk struct { _ struct{} `type:"structure"` @@ -8425,48 +7267,6 @@ func (s Disk) GoString() string { return s.String() } -// SetDiskAllocationResource sets the DiskAllocationResource field's value. -func (s *Disk) SetDiskAllocationResource(v string) *Disk { - s.DiskAllocationResource = &v - return s -} - -// SetDiskAllocationType sets the DiskAllocationType field's value. -func (s *Disk) SetDiskAllocationType(v string) *Disk { - s.DiskAllocationType = &v - return s -} - -// SetDiskId sets the DiskId field's value. -func (s *Disk) SetDiskId(v string) *Disk { - s.DiskId = &v - return s -} - -// SetDiskNode sets the DiskNode field's value. -func (s *Disk) SetDiskNode(v string) *Disk { - s.DiskNode = &v - return s -} - -// SetDiskPath sets the DiskPath field's value. -func (s *Disk) SetDiskPath(v string) *Disk { - s.DiskPath = &v - return s -} - -// SetDiskSizeInBytes sets the DiskSizeInBytes field's value. -func (s *Disk) SetDiskSizeInBytes(v int64) *Disk { - s.DiskSizeInBytes = &v - return s -} - -// SetDiskStatus sets the DiskStatus field's value. -func (s *Disk) SetDiskStatus(v string) *Disk { - s.DiskStatus = &v - return s -} - // Provides additional information about an error that was returned by the service // as an or. See the errorCode and errorDetails members for more information // about the error. @@ -8491,18 +7291,6 @@ func (s Error) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *Error) SetErrorCode(v ErrorCode) *Error { - s.ErrorCode = v - return s -} - -// SetErrorDetails sets the ErrorDetails field's value. -func (s *Error) SetErrorDetails(v map[string]string) *Error { - s.ErrorDetails = v - return s -} - // Describes a file share. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/FileShareInfo type FileShareInfo struct { @@ -8533,30 +7321,6 @@ func (s FileShareInfo) GoString() string { return s.String() } -// SetFileShareARN sets the FileShareARN field's value. -func (s *FileShareInfo) SetFileShareARN(v string) *FileShareInfo { - s.FileShareARN = &v - return s -} - -// SetFileShareId sets the FileShareId field's value. -func (s *FileShareInfo) SetFileShareId(v string) *FileShareInfo { - s.FileShareId = &v - return s -} - -// SetFileShareStatus sets the FileShareStatus field's value. -func (s *FileShareInfo) SetFileShareStatus(v string) *FileShareInfo { - s.FileShareStatus = &v - return s -} - -// SetGatewayARN sets the GatewayARN field's value. -func (s *FileShareInfo) SetGatewayARN(v string) *FileShareInfo { - s.GatewayARN = &v - return s -} - // Describes a gateway object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/GatewayInfo type GatewayInfo struct { @@ -8593,36 +7357,6 @@ func (s GatewayInfo) GoString() string { return s.String() } -// SetGatewayARN sets the GatewayARN field's value. -func (s *GatewayInfo) SetGatewayARN(v string) *GatewayInfo { - s.GatewayARN = &v - return s -} - -// SetGatewayId sets the GatewayId field's value. -func (s *GatewayInfo) SetGatewayId(v string) *GatewayInfo { - s.GatewayId = &v - return s -} - -// SetGatewayName sets the GatewayName field's value. -func (s *GatewayInfo) SetGatewayName(v string) *GatewayInfo { - s.GatewayName = &v - return s -} - -// SetGatewayOperationalState sets the GatewayOperationalState field's value. -func (s *GatewayInfo) SetGatewayOperationalState(v string) *GatewayInfo { - s.GatewayOperationalState = &v - return s -} - -// SetGatewayType sets the GatewayType field's value. -func (s *GatewayInfo) SetGatewayType(v string) *GatewayInfo { - s.GatewayType = &v - return s -} - // ListFileShareInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListFileSharesInput type ListFileSharesInput struct { @@ -8672,24 +7406,6 @@ func (s *ListFileSharesInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *ListFileSharesInput) SetGatewayARN(v string) *ListFileSharesInput { - s.GatewayARN = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListFileSharesInput) SetLimit(v int64) *ListFileSharesInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListFileSharesInput) SetMarker(v string) *ListFileSharesInput { - s.Marker = &v - return s -} - // ListFileShareOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListFileSharesOutput type ListFileSharesOutput struct { @@ -8724,24 +7440,6 @@ func (s ListFileSharesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFileShareInfoList sets the FileShareInfoList field's value. -func (s *ListFileSharesOutput) SetFileShareInfoList(v []FileShareInfo) *ListFileSharesOutput { - s.FileShareInfoList = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListFileSharesOutput) SetMarker(v string) *ListFileSharesOutput { - s.Marker = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListFileSharesOutput) SetNextMarker(v string) *ListFileSharesOutput { - s.NextMarker = &v - return s -} - // A JSON object containing zero or more of the following fields: // // * ListGatewaysInput$Limit @@ -8786,18 +7484,6 @@ func (s *ListGatewaysInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListGatewaysInput) SetLimit(v int64) *ListGatewaysInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListGatewaysInput) SetMarker(v string) *ListGatewaysInput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListGatewaysOutput type ListGatewaysOutput struct { _ struct{} `type:"structure"` @@ -8824,18 +7510,6 @@ func (s ListGatewaysOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGateways sets the Gateways field's value. -func (s *ListGatewaysOutput) SetGateways(v []GatewayInfo) *ListGatewaysOutput { - s.Gateways = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListGatewaysOutput) SetMarker(v string) *ListGatewaysOutput { - s.Marker = &v - return s -} - // A JSON object containing the of the gateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListLocalDisksInput type ListLocalDisksInput struct { @@ -8875,12 +7549,6 @@ func (s *ListLocalDisksInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *ListLocalDisksInput) SetGatewayARN(v string) *ListLocalDisksInput { - s.GatewayARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListLocalDisksOutput type ListLocalDisksOutput struct { _ struct{} `type:"structure"` @@ -8909,18 +7577,6 @@ func (s ListLocalDisksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDisks sets the Disks field's value. -func (s *ListLocalDisksOutput) SetDisks(v []Disk) *ListLocalDisksOutput { - s.Disks = v - return s -} - -// SetGatewayARN sets the GatewayARN field's value. -func (s *ListLocalDisksOutput) SetGatewayARN(v string) *ListLocalDisksOutput { - s.GatewayARN = &v - return s -} - // ListTagsForResourceInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTagsForResourceInput type ListTagsForResourceInput struct { @@ -8974,24 +7630,6 @@ func (s *ListTagsForResourceInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListTagsForResourceInput) SetLimit(v int64) *ListTagsForResourceInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListTagsForResourceInput) SetMarker(v string) *ListTagsForResourceInput { - s.Marker = &v - return s -} - -// SetResourceARN sets the ResourceARN field's value. -func (s *ListTagsForResourceInput) SetResourceARN(v string) *ListTagsForResourceInput { - s.ResourceARN = &v - return s -} - // ListTagsForResourceOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTagsForResourceOutput type ListTagsForResourceOutput struct { @@ -9026,24 +7664,6 @@ func (s ListTagsForResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *ListTagsForResourceOutput) SetMarker(v string) *ListTagsForResourceOutput { - s.Marker = &v - return s -} - -// SetResourceARN sets the ResourceARN field's value. -func (s *ListTagsForResourceOutput) SetResourceARN(v string) *ListTagsForResourceOutput { - s.ResourceARN = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *ListTagsForResourceOutput) SetTags(v []Tag) *ListTagsForResourceOutput { - s.Tags = v - return s -} - // A JSON object that contains one or more of the following fields: // // * ListTapesInput$Limit @@ -9094,24 +7714,6 @@ func (s *ListTapesInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListTapesInput) SetLimit(v int64) *ListTapesInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListTapesInput) SetMarker(v string) *ListTapesInput { - s.Marker = &v - return s -} - -// SetTapeARNs sets the TapeARNs field's value. -func (s *ListTapesInput) SetTapeARNs(v []string) *ListTapesInput { - s.TapeARNs = v - return s -} - // A JSON object containing the following fields: // // * ListTapesOutput$Marker @@ -9150,18 +7752,6 @@ func (s ListTapesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *ListTapesOutput) SetMarker(v string) *ListTapesOutput { - s.Marker = &v - return s -} - -// SetTapeInfos sets the TapeInfos field's value. -func (s *ListTapesOutput) SetTapeInfos(v []TapeInfo) *ListTapesOutput { - s.TapeInfos = v - return s -} - // ListVolumeInitiatorsInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumeInitiatorsInput type ListVolumeInitiatorsInput struct { @@ -9201,12 +7791,6 @@ func (s *ListVolumeInitiatorsInput) Validate() error { return nil } -// SetVolumeARN sets the VolumeARN field's value. -func (s *ListVolumeInitiatorsInput) SetVolumeARN(v string) *ListVolumeInitiatorsInput { - s.VolumeARN = &v - return s -} - // ListVolumeInitiatorsOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumeInitiatorsOutput type ListVolumeInitiatorsOutput struct { @@ -9234,12 +7818,6 @@ func (s ListVolumeInitiatorsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInitiators sets the Initiators field's value. -func (s *ListVolumeInitiatorsOutput) SetInitiators(v []string) *ListVolumeInitiatorsOutput { - s.Initiators = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumeRecoveryPointsInput type ListVolumeRecoveryPointsInput struct { _ struct{} `type:"structure"` @@ -9278,12 +7856,6 @@ func (s *ListVolumeRecoveryPointsInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *ListVolumeRecoveryPointsInput) SetGatewayARN(v string) *ListVolumeRecoveryPointsInput { - s.GatewayARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumeRecoveryPointsOutput type ListVolumeRecoveryPointsOutput struct { _ struct{} `type:"structure"` @@ -9312,18 +7884,6 @@ func (s ListVolumeRecoveryPointsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGatewayARN sets the GatewayARN field's value. -func (s *ListVolumeRecoveryPointsOutput) SetGatewayARN(v string) *ListVolumeRecoveryPointsOutput { - s.GatewayARN = &v - return s -} - -// SetVolumeRecoveryPointInfos sets the VolumeRecoveryPointInfos field's value. -func (s *ListVolumeRecoveryPointsOutput) SetVolumeRecoveryPointInfos(v []VolumeRecoveryPointInfo) *ListVolumeRecoveryPointsOutput { - s.VolumeRecoveryPointInfos = v - return s -} - // A JSON object that contains one or more of the following fields: // // * ListVolumesInput$Limit @@ -9376,24 +7936,6 @@ func (s *ListVolumesInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *ListVolumesInput) SetGatewayARN(v string) *ListVolumesInput { - s.GatewayARN = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *ListVolumesInput) SetLimit(v int64) *ListVolumesInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListVolumesInput) SetMarker(v string) *ListVolumesInput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumesOutput type ListVolumesOutput struct { _ struct{} `type:"structure"` @@ -9424,24 +7966,6 @@ func (s ListVolumesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGatewayARN sets the GatewayARN field's value. -func (s *ListVolumesOutput) SetGatewayARN(v string) *ListVolumesOutput { - s.GatewayARN = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *ListVolumesOutput) SetMarker(v string) *ListVolumesOutput { - s.Marker = &v - return s -} - -// SetVolumeInfos sets the VolumeInfos field's value. -func (s *ListVolumesOutput) SetVolumeInfos(v []VolumeInfo) *ListVolumesOutput { - s.VolumeInfos = v - return s -} - // Describes file share default values. Files and folders stored as Amazon S3 // objects in S3 buckets don't, by default, have Unix file permissions assigned // to them. Upon discovery in an S3 bucket by Storage Gateway, the S3 objects @@ -9495,30 +8019,6 @@ func (s *NFSFileShareDefaults) Validate() error { return nil } -// SetDirectoryMode sets the DirectoryMode field's value. -func (s *NFSFileShareDefaults) SetDirectoryMode(v string) *NFSFileShareDefaults { - s.DirectoryMode = &v - return s -} - -// SetFileMode sets the FileMode field's value. -func (s *NFSFileShareDefaults) SetFileMode(v string) *NFSFileShareDefaults { - s.FileMode = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *NFSFileShareDefaults) SetGroupId(v int64) *NFSFileShareDefaults { - s.GroupId = &v - return s -} - -// SetOwnerId sets the OwnerId field's value. -func (s *NFSFileShareDefaults) SetOwnerId(v int64) *NFSFileShareDefaults { - s.OwnerId = &v - return s -} - // The Unix file permissions and ownership information assigned, by default, // to native S3 objects when file gateway discovers them in S3 buckets. This // operation is only supported in file gateways. @@ -9591,104 +8091,14 @@ type NFSFileShareInfo struct { Squash *string `min:"5" type:"string"` } -// String returns the string representation -func (s NFSFileShareInfo) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s NFSFileShareInfo) GoString() string { - return s.String() -} - -// SetClientList sets the ClientList field's value. -func (s *NFSFileShareInfo) SetClientList(v []string) *NFSFileShareInfo { - s.ClientList = v - return s -} - -// SetDefaultStorageClass sets the DefaultStorageClass field's value. -func (s *NFSFileShareInfo) SetDefaultStorageClass(v string) *NFSFileShareInfo { - s.DefaultStorageClass = &v - return s -} - -// SetFileShareARN sets the FileShareARN field's value. -func (s *NFSFileShareInfo) SetFileShareARN(v string) *NFSFileShareInfo { - s.FileShareARN = &v - return s -} - -// SetFileShareId sets the FileShareId field's value. -func (s *NFSFileShareInfo) SetFileShareId(v string) *NFSFileShareInfo { - s.FileShareId = &v - return s -} - -// SetFileShareStatus sets the FileShareStatus field's value. -func (s *NFSFileShareInfo) SetFileShareStatus(v string) *NFSFileShareInfo { - s.FileShareStatus = &v - return s -} - -// SetGatewayARN sets the GatewayARN field's value. -func (s *NFSFileShareInfo) SetGatewayARN(v string) *NFSFileShareInfo { - s.GatewayARN = &v - return s -} - -// SetGuessMIMETypeEnabled sets the GuessMIMETypeEnabled field's value. -func (s *NFSFileShareInfo) SetGuessMIMETypeEnabled(v bool) *NFSFileShareInfo { - s.GuessMIMETypeEnabled = &v - return s -} - -// SetKMSEncrypted sets the KMSEncrypted field's value. -func (s *NFSFileShareInfo) SetKMSEncrypted(v bool) *NFSFileShareInfo { - s.KMSEncrypted = &v - return s -} - -// SetKMSKey sets the KMSKey field's value. -func (s *NFSFileShareInfo) SetKMSKey(v string) *NFSFileShareInfo { - s.KMSKey = &v - return s -} - -// SetLocationARN sets the LocationARN field's value. -func (s *NFSFileShareInfo) SetLocationARN(v string) *NFSFileShareInfo { - s.LocationARN = &v - return s -} - -// SetNFSFileShareDefaults sets the NFSFileShareDefaults field's value. -func (s *NFSFileShareInfo) SetNFSFileShareDefaults(v *NFSFileShareDefaults) *NFSFileShareInfo { - s.NFSFileShareDefaults = v - return s -} - -// SetPath sets the Path field's value. -func (s *NFSFileShareInfo) SetPath(v string) *NFSFileShareInfo { - s.Path = &v - return s -} - -// SetReadOnly sets the ReadOnly field's value. -func (s *NFSFileShareInfo) SetReadOnly(v bool) *NFSFileShareInfo { - s.ReadOnly = &v - return s -} - -// SetRole sets the Role field's value. -func (s *NFSFileShareInfo) SetRole(v string) *NFSFileShareInfo { - s.Role = &v - return s +// String returns the string representation +func (s NFSFileShareInfo) String() string { + return awsutil.Prettify(s) } -// SetSquash sets the Squash field's value. -func (s *NFSFileShareInfo) SetSquash(v string) *NFSFileShareInfo { - s.Squash = &v - return s +// GoString returns the string representation +func (s NFSFileShareInfo) GoString() string { + return s.String() } // Describes a gateway's network interface. @@ -9719,24 +8129,6 @@ func (s NetworkInterface) GoString() string { return s.String() } -// SetIpv4Address sets the Ipv4Address field's value. -func (s *NetworkInterface) SetIpv4Address(v string) *NetworkInterface { - s.Ipv4Address = &v - return s -} - -// SetIpv6Address sets the Ipv6Address field's value. -func (s *NetworkInterface) SetIpv6Address(v string) *NetworkInterface { - s.Ipv6Address = &v - return s -} - -// SetMacAddress sets the MacAddress field's value. -func (s *NetworkInterface) SetMacAddress(v string) *NetworkInterface { - s.MacAddress = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/NotifyWhenUploadedInput type NotifyWhenUploadedInput struct { _ struct{} `type:"structure"` @@ -9774,12 +8166,6 @@ func (s *NotifyWhenUploadedInput) Validate() error { return nil } -// SetFileShareARN sets the FileShareARN field's value. -func (s *NotifyWhenUploadedInput) SetFileShareARN(v string) *NotifyWhenUploadedInput { - s.FileShareARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/NotifyWhenUploadedOutput type NotifyWhenUploadedOutput struct { _ struct{} `type:"structure"` @@ -9809,18 +8195,6 @@ func (s NotifyWhenUploadedOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFileShareARN sets the FileShareARN field's value. -func (s *NotifyWhenUploadedOutput) SetFileShareARN(v string) *NotifyWhenUploadedOutput { - s.FileShareARN = &v - return s -} - -// SetNotificationId sets the NotificationId field's value. -func (s *NotifyWhenUploadedOutput) SetNotificationId(v string) *NotifyWhenUploadedOutput { - s.NotificationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RefreshCacheInput type RefreshCacheInput struct { _ struct{} `type:"structure"` @@ -9858,12 +8232,6 @@ func (s *RefreshCacheInput) Validate() error { return nil } -// SetFileShareARN sets the FileShareARN field's value. -func (s *RefreshCacheInput) SetFileShareARN(v string) *RefreshCacheInput { - s.FileShareARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RefreshCacheOutput type RefreshCacheOutput struct { _ struct{} `type:"structure"` @@ -9889,12 +8257,6 @@ func (s RefreshCacheOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFileShareARN sets the FileShareARN field's value. -func (s *RefreshCacheOutput) SetFileShareARN(v string) *RefreshCacheOutput { - s.FileShareARN = &v - return s -} - // RemoveTagsFromResourceInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RemoveTagsFromResourceInput type RemoveTagsFromResourceInput struct { @@ -9944,18 +8306,6 @@ func (s *RemoveTagsFromResourceInput) Validate() error { return nil } -// SetResourceARN sets the ResourceARN field's value. -func (s *RemoveTagsFromResourceInput) SetResourceARN(v string) *RemoveTagsFromResourceInput { - s.ResourceARN = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *RemoveTagsFromResourceInput) SetTagKeys(v []string) *RemoveTagsFromResourceInput { - s.TagKeys = v - return s -} - // RemoveTagsFromResourceOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RemoveTagsFromResourceOutput type RemoveTagsFromResourceOutput struct { @@ -9983,12 +8333,6 @@ func (s RemoveTagsFromResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResourceARN sets the ResourceARN field's value. -func (s *RemoveTagsFromResourceOutput) SetResourceARN(v string) *RemoveTagsFromResourceOutput { - s.ResourceARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ResetCacheInput type ResetCacheInput struct { _ struct{} `type:"structure"` @@ -10027,12 +8371,6 @@ func (s *ResetCacheInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *ResetCacheInput) SetGatewayARN(v string) *ResetCacheInput { - s.GatewayARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ResetCacheOutput type ResetCacheOutput struct { _ struct{} `type:"structure"` @@ -10059,12 +8397,6 @@ func (s ResetCacheOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGatewayARN sets the GatewayARN field's value. -func (s *ResetCacheOutput) SetGatewayARN(v string) *ResetCacheOutput { - s.GatewayARN = &v - return s -} - // RetrieveTapeArchiveInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RetrieveTapeArchiveInput type RetrieveTapeArchiveInput struct { @@ -10121,18 +8453,6 @@ func (s *RetrieveTapeArchiveInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *RetrieveTapeArchiveInput) SetGatewayARN(v string) *RetrieveTapeArchiveInput { - s.GatewayARN = &v - return s -} - -// SetTapeARN sets the TapeARN field's value. -func (s *RetrieveTapeArchiveInput) SetTapeARN(v string) *RetrieveTapeArchiveInput { - s.TapeARN = &v - return s -} - // RetrieveTapeArchiveOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RetrieveTapeArchiveOutput type RetrieveTapeArchiveOutput struct { @@ -10159,12 +8479,6 @@ func (s RetrieveTapeArchiveOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTapeARN sets the TapeARN field's value. -func (s *RetrieveTapeArchiveOutput) SetTapeARN(v string) *RetrieveTapeArchiveOutput { - s.TapeARN = &v - return s -} - // RetrieveTapeRecoveryPointInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RetrieveTapeRecoveryPointInput type RetrieveTapeRecoveryPointInput struct { @@ -10217,18 +8531,6 @@ func (s *RetrieveTapeRecoveryPointInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *RetrieveTapeRecoveryPointInput) SetGatewayARN(v string) *RetrieveTapeRecoveryPointInput { - s.GatewayARN = &v - return s -} - -// SetTapeARN sets the TapeARN field's value. -func (s *RetrieveTapeRecoveryPointInput) SetTapeARN(v string) *RetrieveTapeRecoveryPointInput { - s.TapeARN = &v - return s -} - // RetrieveTapeRecoveryPointOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RetrieveTapeRecoveryPointOutput type RetrieveTapeRecoveryPointOutput struct { @@ -10256,12 +8558,6 @@ func (s RetrieveTapeRecoveryPointOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTapeARN sets the TapeARN field's value. -func (s *RetrieveTapeRecoveryPointOutput) SetTapeARN(v string) *RetrieveTapeRecoveryPointOutput { - s.TapeARN = &v - return s -} - // SetLocalConsolePasswordInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/SetLocalConsolePasswordInput type SetLocalConsolePasswordInput struct { @@ -10313,18 +8609,6 @@ func (s *SetLocalConsolePasswordInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *SetLocalConsolePasswordInput) SetGatewayARN(v string) *SetLocalConsolePasswordInput { - s.GatewayARN = &v - return s -} - -// SetLocalConsolePassword sets the LocalConsolePassword field's value. -func (s *SetLocalConsolePasswordInput) SetLocalConsolePassword(v string) *SetLocalConsolePasswordInput { - s.LocalConsolePassword = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/SetLocalConsolePasswordOutput type SetLocalConsolePasswordOutput struct { _ struct{} `type:"structure"` @@ -10351,12 +8635,6 @@ func (s SetLocalConsolePasswordOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGatewayARN sets the GatewayARN field's value. -func (s *SetLocalConsolePasswordOutput) SetGatewayARN(v string) *SetLocalConsolePasswordOutput { - s.GatewayARN = &v - return s -} - // A JSON object containing the of the gateway to shut down. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ShutdownGatewayInput type ShutdownGatewayInput struct { @@ -10396,12 +8674,6 @@ func (s *ShutdownGatewayInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *ShutdownGatewayInput) SetGatewayARN(v string) *ShutdownGatewayInput { - s.GatewayARN = &v - return s -} - // A JSON object containing the of the gateway that was shut down. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ShutdownGatewayOutput type ShutdownGatewayOutput struct { @@ -10429,12 +8701,6 @@ func (s ShutdownGatewayOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGatewayARN sets the GatewayARN field's value. -func (s *ShutdownGatewayOutput) SetGatewayARN(v string) *ShutdownGatewayOutput { - s.GatewayARN = &v - return s -} - // A JSON object containing the of the gateway to start. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StartGatewayInput type StartGatewayInput struct { @@ -10474,12 +8740,6 @@ func (s *StartGatewayInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *StartGatewayInput) SetGatewayARN(v string) *StartGatewayInput { - s.GatewayARN = &v - return s -} - // A JSON object containing the of the gateway that was restarted. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StartGatewayOutput type StartGatewayOutput struct { @@ -10507,12 +8767,6 @@ func (s StartGatewayOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGatewayARN sets the GatewayARN field's value. -func (s *StartGatewayOutput) SetGatewayARN(v string) *StartGatewayOutput { - s.GatewayARN = &v - return s -} - // Describes an iSCSI stored volume. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StorediSCSIVolume type StorediSCSIVolume struct { @@ -10577,78 +8831,6 @@ func (s StorediSCSIVolume) GoString() string { return s.String() } -// SetCreatedDate sets the CreatedDate field's value. -func (s *StorediSCSIVolume) SetCreatedDate(v time.Time) *StorediSCSIVolume { - s.CreatedDate = &v - return s -} - -// SetPreservedExistingData sets the PreservedExistingData field's value. -func (s *StorediSCSIVolume) SetPreservedExistingData(v bool) *StorediSCSIVolume { - s.PreservedExistingData = &v - return s -} - -// SetSourceSnapshotId sets the SourceSnapshotId field's value. -func (s *StorediSCSIVolume) SetSourceSnapshotId(v string) *StorediSCSIVolume { - s.SourceSnapshotId = &v - return s -} - -// SetVolumeARN sets the VolumeARN field's value. -func (s *StorediSCSIVolume) SetVolumeARN(v string) *StorediSCSIVolume { - s.VolumeARN = &v - return s -} - -// SetVolumeDiskId sets the VolumeDiskId field's value. -func (s *StorediSCSIVolume) SetVolumeDiskId(v string) *StorediSCSIVolume { - s.VolumeDiskId = &v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *StorediSCSIVolume) SetVolumeId(v string) *StorediSCSIVolume { - s.VolumeId = &v - return s -} - -// SetVolumeProgress sets the VolumeProgress field's value. -func (s *StorediSCSIVolume) SetVolumeProgress(v float64) *StorediSCSIVolume { - s.VolumeProgress = &v - return s -} - -// SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value. -func (s *StorediSCSIVolume) SetVolumeSizeInBytes(v int64) *StorediSCSIVolume { - s.VolumeSizeInBytes = &v - return s -} - -// SetVolumeStatus sets the VolumeStatus field's value. -func (s *StorediSCSIVolume) SetVolumeStatus(v string) *StorediSCSIVolume { - s.VolumeStatus = &v - return s -} - -// SetVolumeType sets the VolumeType field's value. -func (s *StorediSCSIVolume) SetVolumeType(v string) *StorediSCSIVolume { - s.VolumeType = &v - return s -} - -// SetVolumeUsedInBytes sets the VolumeUsedInBytes field's value. -func (s *StorediSCSIVolume) SetVolumeUsedInBytes(v int64) *StorediSCSIVolume { - s.VolumeUsedInBytes = &v - return s -} - -// SetVolumeiSCSIAttributes sets the VolumeiSCSIAttributes field's value. -func (s *StorediSCSIVolume) SetVolumeiSCSIAttributes(v *VolumeiSCSIAttributes) *StorediSCSIVolume { - s.VolumeiSCSIAttributes = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/Tag type Tag struct { _ struct{} `type:"structure"` @@ -10691,18 +8873,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Describes a virtual tape object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/Tape type Tape struct { @@ -10749,54 +8919,6 @@ func (s Tape) GoString() string { return s.String() } -// SetProgress sets the Progress field's value. -func (s *Tape) SetProgress(v float64) *Tape { - s.Progress = &v - return s -} - -// SetTapeARN sets the TapeARN field's value. -func (s *Tape) SetTapeARN(v string) *Tape { - s.TapeARN = &v - return s -} - -// SetTapeBarcode sets the TapeBarcode field's value. -func (s *Tape) SetTapeBarcode(v string) *Tape { - s.TapeBarcode = &v - return s -} - -// SetTapeCreatedDate sets the TapeCreatedDate field's value. -func (s *Tape) SetTapeCreatedDate(v time.Time) *Tape { - s.TapeCreatedDate = &v - return s -} - -// SetTapeSizeInBytes sets the TapeSizeInBytes field's value. -func (s *Tape) SetTapeSizeInBytes(v int64) *Tape { - s.TapeSizeInBytes = &v - return s -} - -// SetTapeStatus sets the TapeStatus field's value. -func (s *Tape) SetTapeStatus(v string) *Tape { - s.TapeStatus = &v - return s -} - -// SetTapeUsedInBytes sets the TapeUsedInBytes field's value. -func (s *Tape) SetTapeUsedInBytes(v int64) *Tape { - s.TapeUsedInBytes = &v - return s -} - -// SetVTLDevice sets the VTLDevice field's value. -func (s *Tape) SetVTLDevice(v string) *Tape { - s.VTLDevice = &v - return s -} - // Represents a virtual tape that is archived in the virtual tape shelf (VTS). // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/TapeArchive type TapeArchive struct { @@ -10844,54 +8966,6 @@ func (s TapeArchive) GoString() string { return s.String() } -// SetCompletionTime sets the CompletionTime field's value. -func (s *TapeArchive) SetCompletionTime(v time.Time) *TapeArchive { - s.CompletionTime = &v - return s -} - -// SetRetrievedTo sets the RetrievedTo field's value. -func (s *TapeArchive) SetRetrievedTo(v string) *TapeArchive { - s.RetrievedTo = &v - return s -} - -// SetTapeARN sets the TapeARN field's value. -func (s *TapeArchive) SetTapeARN(v string) *TapeArchive { - s.TapeARN = &v - return s -} - -// SetTapeBarcode sets the TapeBarcode field's value. -func (s *TapeArchive) SetTapeBarcode(v string) *TapeArchive { - s.TapeBarcode = &v - return s -} - -// SetTapeCreatedDate sets the TapeCreatedDate field's value. -func (s *TapeArchive) SetTapeCreatedDate(v time.Time) *TapeArchive { - s.TapeCreatedDate = &v - return s -} - -// SetTapeSizeInBytes sets the TapeSizeInBytes field's value. -func (s *TapeArchive) SetTapeSizeInBytes(v int64) *TapeArchive { - s.TapeSizeInBytes = &v - return s -} - -// SetTapeStatus sets the TapeStatus field's value. -func (s *TapeArchive) SetTapeStatus(v string) *TapeArchive { - s.TapeStatus = &v - return s -} - -// SetTapeUsedInBytes sets the TapeUsedInBytes field's value. -func (s *TapeArchive) SetTapeUsedInBytes(v int64) *TapeArchive { - s.TapeUsedInBytes = &v - return s -} - // Describes a virtual tape. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/TapeInfo type TapeInfo struct { @@ -10924,36 +8998,6 @@ func (s TapeInfo) GoString() string { return s.String() } -// SetGatewayARN sets the GatewayARN field's value. -func (s *TapeInfo) SetGatewayARN(v string) *TapeInfo { - s.GatewayARN = &v - return s -} - -// SetTapeARN sets the TapeARN field's value. -func (s *TapeInfo) SetTapeARN(v string) *TapeInfo { - s.TapeARN = &v - return s -} - -// SetTapeBarcode sets the TapeBarcode field's value. -func (s *TapeInfo) SetTapeBarcode(v string) *TapeInfo { - s.TapeBarcode = &v - return s -} - -// SetTapeSizeInBytes sets the TapeSizeInBytes field's value. -func (s *TapeInfo) SetTapeSizeInBytes(v int64) *TapeInfo { - s.TapeSizeInBytes = &v - return s -} - -// SetTapeStatus sets the TapeStatus field's value. -func (s *TapeInfo) SetTapeStatus(v string) *TapeInfo { - s.TapeStatus = &v - return s -} - // Describes a recovery point. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/TapeRecoveryPointInfo type TapeRecoveryPointInfo struct { @@ -10985,30 +9029,6 @@ func (s TapeRecoveryPointInfo) GoString() string { return s.String() } -// SetTapeARN sets the TapeARN field's value. -func (s *TapeRecoveryPointInfo) SetTapeARN(v string) *TapeRecoveryPointInfo { - s.TapeARN = &v - return s -} - -// SetTapeRecoveryPointTime sets the TapeRecoveryPointTime field's value. -func (s *TapeRecoveryPointInfo) SetTapeRecoveryPointTime(v time.Time) *TapeRecoveryPointInfo { - s.TapeRecoveryPointTime = &v - return s -} - -// SetTapeSizeInBytes sets the TapeSizeInBytes field's value. -func (s *TapeRecoveryPointInfo) SetTapeSizeInBytes(v int64) *TapeRecoveryPointInfo { - s.TapeSizeInBytes = &v - return s -} - -// SetTapeStatus sets the TapeStatus field's value. -func (s *TapeRecoveryPointInfo) SetTapeStatus(v string) *TapeRecoveryPointInfo { - s.TapeStatus = &v - return s -} - // A JSON object containing one or more of the following fields: // // * UpdateBandwidthRateLimitInput$AverageDownloadRateLimitInBitsPerSec @@ -11064,24 +9084,6 @@ func (s *UpdateBandwidthRateLimitInput) Validate() error { return nil } -// SetAverageDownloadRateLimitInBitsPerSec sets the AverageDownloadRateLimitInBitsPerSec field's value. -func (s *UpdateBandwidthRateLimitInput) SetAverageDownloadRateLimitInBitsPerSec(v int64) *UpdateBandwidthRateLimitInput { - s.AverageDownloadRateLimitInBitsPerSec = &v - return s -} - -// SetAverageUploadRateLimitInBitsPerSec sets the AverageUploadRateLimitInBitsPerSec field's value. -func (s *UpdateBandwidthRateLimitInput) SetAverageUploadRateLimitInBitsPerSec(v int64) *UpdateBandwidthRateLimitInput { - s.AverageUploadRateLimitInBitsPerSec = &v - return s -} - -// SetGatewayARN sets the GatewayARN field's value. -func (s *UpdateBandwidthRateLimitInput) SetGatewayARN(v string) *UpdateBandwidthRateLimitInput { - s.GatewayARN = &v - return s -} - // A JSON object containing the of the gateway whose throttle information was // updated. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateBandwidthRateLimitOutput @@ -11110,12 +9112,6 @@ func (s UpdateBandwidthRateLimitOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGatewayARN sets the GatewayARN field's value. -func (s *UpdateBandwidthRateLimitOutput) SetGatewayARN(v string) *UpdateBandwidthRateLimitOutput { - s.GatewayARN = &v - return s -} - // A JSON object containing one or more of the following fields: // // * UpdateChapCredentialsInput$InitiatorName @@ -11201,30 +9197,6 @@ func (s *UpdateChapCredentialsInput) Validate() error { return nil } -// SetInitiatorName sets the InitiatorName field's value. -func (s *UpdateChapCredentialsInput) SetInitiatorName(v string) *UpdateChapCredentialsInput { - s.InitiatorName = &v - return s -} - -// SetSecretToAuthenticateInitiator sets the SecretToAuthenticateInitiator field's value. -func (s *UpdateChapCredentialsInput) SetSecretToAuthenticateInitiator(v string) *UpdateChapCredentialsInput { - s.SecretToAuthenticateInitiator = &v - return s -} - -// SetSecretToAuthenticateTarget sets the SecretToAuthenticateTarget field's value. -func (s *UpdateChapCredentialsInput) SetSecretToAuthenticateTarget(v string) *UpdateChapCredentialsInput { - s.SecretToAuthenticateTarget = &v - return s -} - -// SetTargetARN sets the TargetARN field's value. -func (s *UpdateChapCredentialsInput) SetTargetARN(v string) *UpdateChapCredentialsInput { - s.TargetARN = &v - return s -} - // A JSON object containing the following fields: // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateChapCredentialsOutput type UpdateChapCredentialsOutput struct { @@ -11256,18 +9228,6 @@ func (s UpdateChapCredentialsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetInitiatorName sets the InitiatorName field's value. -func (s *UpdateChapCredentialsOutput) SetInitiatorName(v string) *UpdateChapCredentialsOutput { - s.InitiatorName = &v - return s -} - -// SetTargetARN sets the TargetARN field's value. -func (s *UpdateChapCredentialsOutput) SetTargetARN(v string) *UpdateChapCredentialsOutput { - s.TargetARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateGatewayInformationInput type UpdateGatewayInformationInput struct { _ struct{} `type:"structure"` @@ -11317,24 +9277,6 @@ func (s *UpdateGatewayInformationInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *UpdateGatewayInformationInput) SetGatewayARN(v string) *UpdateGatewayInformationInput { - s.GatewayARN = &v - return s -} - -// SetGatewayName sets the GatewayName field's value. -func (s *UpdateGatewayInformationInput) SetGatewayName(v string) *UpdateGatewayInformationInput { - s.GatewayName = &v - return s -} - -// SetGatewayTimezone sets the GatewayTimezone field's value. -func (s *UpdateGatewayInformationInput) SetGatewayTimezone(v string) *UpdateGatewayInformationInput { - s.GatewayTimezone = &v - return s -} - // A JSON object containing the ARN of the gateway that was updated. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateGatewayInformationOutput type UpdateGatewayInformationOutput struct { @@ -11364,18 +9306,6 @@ func (s UpdateGatewayInformationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGatewayARN sets the GatewayARN field's value. -func (s *UpdateGatewayInformationOutput) SetGatewayARN(v string) *UpdateGatewayInformationOutput { - s.GatewayARN = &v - return s -} - -// SetGatewayName sets the GatewayName field's value. -func (s *UpdateGatewayInformationOutput) SetGatewayName(v string) *UpdateGatewayInformationOutput { - s.GatewayName = &v - return s -} - // A JSON object containing the of the gateway to update. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateGatewaySoftwareNowInput type UpdateGatewaySoftwareNowInput struct { @@ -11415,12 +9345,6 @@ func (s *UpdateGatewaySoftwareNowInput) Validate() error { return nil } -// SetGatewayARN sets the GatewayARN field's value. -func (s *UpdateGatewaySoftwareNowInput) SetGatewayARN(v string) *UpdateGatewaySoftwareNowInput { - s.GatewayARN = &v - return s -} - // A JSON object containing the of the gateway that was updated. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateGatewaySoftwareNowOutput type UpdateGatewaySoftwareNowOutput struct { @@ -11448,12 +9372,6 @@ func (s UpdateGatewaySoftwareNowOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGatewayARN sets the GatewayARN field's value. -func (s *UpdateGatewaySoftwareNowOutput) SetGatewayARN(v string) *UpdateGatewaySoftwareNowOutput { - s.GatewayARN = &v - return s -} - // A JSON object containing the following fields: // // * UpdateMaintenanceStartTimeInput$DayOfWeek @@ -11531,30 +9449,6 @@ func (s *UpdateMaintenanceStartTimeInput) Validate() error { return nil } -// SetDayOfWeek sets the DayOfWeek field's value. -func (s *UpdateMaintenanceStartTimeInput) SetDayOfWeek(v int64) *UpdateMaintenanceStartTimeInput { - s.DayOfWeek = &v - return s -} - -// SetGatewayARN sets the GatewayARN field's value. -func (s *UpdateMaintenanceStartTimeInput) SetGatewayARN(v string) *UpdateMaintenanceStartTimeInput { - s.GatewayARN = &v - return s -} - -// SetHourOfDay sets the HourOfDay field's value. -func (s *UpdateMaintenanceStartTimeInput) SetHourOfDay(v int64) *UpdateMaintenanceStartTimeInput { - s.HourOfDay = &v - return s -} - -// SetMinuteOfHour sets the MinuteOfHour field's value. -func (s *UpdateMaintenanceStartTimeInput) SetMinuteOfHour(v int64) *UpdateMaintenanceStartTimeInput { - s.MinuteOfHour = &v - return s -} - // A JSON object containing the of the gateway whose maintenance start time // is updated. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateMaintenanceStartTimeOutput @@ -11583,12 +9477,6 @@ func (s UpdateMaintenanceStartTimeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGatewayARN sets the GatewayARN field's value. -func (s *UpdateMaintenanceStartTimeOutput) SetGatewayARN(v string) *UpdateMaintenanceStartTimeOutput { - s.GatewayARN = &v - return s -} - // UpdateNFSFileShareInput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateNFSFileShareInput type UpdateNFSFileShareInput struct { @@ -11681,60 +9569,6 @@ func (s *UpdateNFSFileShareInput) Validate() error { return nil } -// SetClientList sets the ClientList field's value. -func (s *UpdateNFSFileShareInput) SetClientList(v []string) *UpdateNFSFileShareInput { - s.ClientList = v - return s -} - -// SetDefaultStorageClass sets the DefaultStorageClass field's value. -func (s *UpdateNFSFileShareInput) SetDefaultStorageClass(v string) *UpdateNFSFileShareInput { - s.DefaultStorageClass = &v - return s -} - -// SetFileShareARN sets the FileShareARN field's value. -func (s *UpdateNFSFileShareInput) SetFileShareARN(v string) *UpdateNFSFileShareInput { - s.FileShareARN = &v - return s -} - -// SetGuessMIMETypeEnabled sets the GuessMIMETypeEnabled field's value. -func (s *UpdateNFSFileShareInput) SetGuessMIMETypeEnabled(v bool) *UpdateNFSFileShareInput { - s.GuessMIMETypeEnabled = &v - return s -} - -// SetKMSEncrypted sets the KMSEncrypted field's value. -func (s *UpdateNFSFileShareInput) SetKMSEncrypted(v bool) *UpdateNFSFileShareInput { - s.KMSEncrypted = &v - return s -} - -// SetKMSKey sets the KMSKey field's value. -func (s *UpdateNFSFileShareInput) SetKMSKey(v string) *UpdateNFSFileShareInput { - s.KMSKey = &v - return s -} - -// SetNFSFileShareDefaults sets the NFSFileShareDefaults field's value. -func (s *UpdateNFSFileShareInput) SetNFSFileShareDefaults(v *NFSFileShareDefaults) *UpdateNFSFileShareInput { - s.NFSFileShareDefaults = v - return s -} - -// SetReadOnly sets the ReadOnly field's value. -func (s *UpdateNFSFileShareInput) SetReadOnly(v bool) *UpdateNFSFileShareInput { - s.ReadOnly = &v - return s -} - -// SetSquash sets the Squash field's value. -func (s *UpdateNFSFileShareInput) SetSquash(v string) *UpdateNFSFileShareInput { - s.Squash = &v - return s -} - // UpdateNFSFileShareOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateNFSFileShareOutput type UpdateNFSFileShareOutput struct { @@ -11761,12 +9595,6 @@ func (s UpdateNFSFileShareOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFileShareARN sets the FileShareARN field's value. -func (s *UpdateNFSFileShareOutput) SetFileShareARN(v string) *UpdateNFSFileShareOutput { - s.FileShareARN = &v - return s -} - // A JSON object containing one or more of the following fields: // // * UpdateSnapshotScheduleInput$Description @@ -11843,30 +9671,6 @@ func (s *UpdateSnapshotScheduleInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *UpdateSnapshotScheduleInput) SetDescription(v string) *UpdateSnapshotScheduleInput { - s.Description = &v - return s -} - -// SetRecurrenceInHours sets the RecurrenceInHours field's value. -func (s *UpdateSnapshotScheduleInput) SetRecurrenceInHours(v int64) *UpdateSnapshotScheduleInput { - s.RecurrenceInHours = &v - return s -} - -// SetStartAt sets the StartAt field's value. -func (s *UpdateSnapshotScheduleInput) SetStartAt(v int64) *UpdateSnapshotScheduleInput { - s.StartAt = &v - return s -} - -// SetVolumeARN sets the VolumeARN field's value. -func (s *UpdateSnapshotScheduleInput) SetVolumeARN(v string) *UpdateSnapshotScheduleInput { - s.VolumeARN = &v - return s -} - // A JSON object containing the of the updated storage volume. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSnapshotScheduleOutput type UpdateSnapshotScheduleOutput struct { @@ -11892,12 +9696,6 @@ func (s UpdateSnapshotScheduleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVolumeARN sets the VolumeARN field's value. -func (s *UpdateSnapshotScheduleOutput) SetVolumeARN(v string) *UpdateSnapshotScheduleOutput { - s.VolumeARN = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateVTLDeviceTypeInput type UpdateVTLDeviceTypeInput struct { _ struct{} `type:"structure"` @@ -11949,18 +9747,6 @@ func (s *UpdateVTLDeviceTypeInput) Validate() error { return nil } -// SetDeviceType sets the DeviceType field's value. -func (s *UpdateVTLDeviceTypeInput) SetDeviceType(v string) *UpdateVTLDeviceTypeInput { - s.DeviceType = &v - return s -} - -// SetVTLDeviceARN sets the VTLDeviceARN field's value. -func (s *UpdateVTLDeviceTypeInput) SetVTLDeviceARN(v string) *UpdateVTLDeviceTypeInput { - s.VTLDeviceARN = &v - return s -} - // UpdateVTLDeviceTypeOutput // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateVTLDeviceTypeOutput type UpdateVTLDeviceTypeOutput struct { @@ -11987,12 +9773,6 @@ func (s UpdateVTLDeviceTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetVTLDeviceARN sets the VTLDeviceARN field's value. -func (s *UpdateVTLDeviceTypeOutput) SetVTLDeviceARN(v string) *UpdateVTLDeviceTypeOutput { - s.VTLDeviceARN = &v - return s -} - // Represents a device object associated with a tape gateway. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/VTLDevice type VTLDevice struct { @@ -12022,36 +9802,6 @@ func (s VTLDevice) GoString() string { return s.String() } -// SetDeviceiSCSIAttributes sets the DeviceiSCSIAttributes field's value. -func (s *VTLDevice) SetDeviceiSCSIAttributes(v *DeviceiSCSIAttributes) *VTLDevice { - s.DeviceiSCSIAttributes = v - return s -} - -// SetVTLDeviceARN sets the VTLDeviceARN field's value. -func (s *VTLDevice) SetVTLDeviceARN(v string) *VTLDevice { - s.VTLDeviceARN = &v - return s -} - -// SetVTLDeviceProductIdentifier sets the VTLDeviceProductIdentifier field's value. -func (s *VTLDevice) SetVTLDeviceProductIdentifier(v string) *VTLDevice { - s.VTLDeviceProductIdentifier = &v - return s -} - -// SetVTLDeviceType sets the VTLDeviceType field's value. -func (s *VTLDevice) SetVTLDeviceType(v string) *VTLDevice { - s.VTLDeviceType = &v - return s -} - -// SetVTLDeviceVendor sets the VTLDeviceVendor field's value. -func (s *VTLDevice) SetVTLDeviceVendor(v string) *VTLDevice { - s.VTLDeviceVendor = &v - return s -} - // Describes a storage volume object. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/VolumeInfo type VolumeInfo struct { @@ -12104,42 +9854,6 @@ func (s VolumeInfo) GoString() string { return s.String() } -// SetGatewayARN sets the GatewayARN field's value. -func (s *VolumeInfo) SetGatewayARN(v string) *VolumeInfo { - s.GatewayARN = &v - return s -} - -// SetGatewayId sets the GatewayId field's value. -func (s *VolumeInfo) SetGatewayId(v string) *VolumeInfo { - s.GatewayId = &v - return s -} - -// SetVolumeARN sets the VolumeARN field's value. -func (s *VolumeInfo) SetVolumeARN(v string) *VolumeInfo { - s.VolumeARN = &v - return s -} - -// SetVolumeId sets the VolumeId field's value. -func (s *VolumeInfo) SetVolumeId(v string) *VolumeInfo { - s.VolumeId = &v - return s -} - -// SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value. -func (s *VolumeInfo) SetVolumeSizeInBytes(v int64) *VolumeInfo { - s.VolumeSizeInBytes = &v - return s -} - -// SetVolumeType sets the VolumeType field's value. -func (s *VolumeInfo) SetVolumeType(v string) *VolumeInfo { - s.VolumeType = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/VolumeRecoveryPointInfo type VolumeRecoveryPointInfo struct { _ struct{} `type:"structure"` @@ -12163,30 +9877,6 @@ func (s VolumeRecoveryPointInfo) GoString() string { return s.String() } -// SetVolumeARN sets the VolumeARN field's value. -func (s *VolumeRecoveryPointInfo) SetVolumeARN(v string) *VolumeRecoveryPointInfo { - s.VolumeARN = &v - return s -} - -// SetVolumeRecoveryPointTime sets the VolumeRecoveryPointTime field's value. -func (s *VolumeRecoveryPointInfo) SetVolumeRecoveryPointTime(v string) *VolumeRecoveryPointInfo { - s.VolumeRecoveryPointTime = &v - return s -} - -// SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value. -func (s *VolumeRecoveryPointInfo) SetVolumeSizeInBytes(v int64) *VolumeRecoveryPointInfo { - s.VolumeSizeInBytes = &v - return s -} - -// SetVolumeUsageInBytes sets the VolumeUsageInBytes field's value. -func (s *VolumeRecoveryPointInfo) SetVolumeUsageInBytes(v int64) *VolumeRecoveryPointInfo { - s.VolumeUsageInBytes = &v - return s -} - // Lists iSCSI information about a volume. // Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/VolumeiSCSIAttributes type VolumeiSCSIAttributes struct { @@ -12218,36 +9908,6 @@ func (s VolumeiSCSIAttributes) GoString() string { return s.String() } -// SetChapEnabled sets the ChapEnabled field's value. -func (s *VolumeiSCSIAttributes) SetChapEnabled(v bool) *VolumeiSCSIAttributes { - s.ChapEnabled = &v - return s -} - -// SetLunNumber sets the LunNumber field's value. -func (s *VolumeiSCSIAttributes) SetLunNumber(v int64) *VolumeiSCSIAttributes { - s.LunNumber = &v - return s -} - -// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. -func (s *VolumeiSCSIAttributes) SetNetworkInterfaceId(v string) *VolumeiSCSIAttributes { - s.NetworkInterfaceId = &v - return s -} - -// SetNetworkInterfacePort sets the NetworkInterfacePort field's value. -func (s *VolumeiSCSIAttributes) SetNetworkInterfacePort(v int64) *VolumeiSCSIAttributes { - s.NetworkInterfacePort = &v - return s -} - -// SetTargetARN sets the TargetARN field's value. -func (s *VolumeiSCSIAttributes) SetTargetARN(v string) *VolumeiSCSIAttributes { - s.TargetARN = &v - return s -} - type ErrorCode string // Enum values for ErrorCode diff --git a/service/sts/api.go b/service/sts/api.go index 7e13e703c7e..e0e56cbfa32 100644 --- a/service/sts/api.go +++ b/service/sts/api.go @@ -898,48 +898,6 @@ func (s *AssumeRoleInput) Validate() error { return nil } -// SetDurationSeconds sets the DurationSeconds field's value. -func (s *AssumeRoleInput) SetDurationSeconds(v int64) *AssumeRoleInput { - s.DurationSeconds = &v - return s -} - -// SetExternalId sets the ExternalId field's value. -func (s *AssumeRoleInput) SetExternalId(v string) *AssumeRoleInput { - s.ExternalId = &v - return s -} - -// SetPolicy sets the Policy field's value. -func (s *AssumeRoleInput) SetPolicy(v string) *AssumeRoleInput { - s.Policy = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *AssumeRoleInput) SetRoleArn(v string) *AssumeRoleInput { - s.RoleArn = &v - return s -} - -// SetRoleSessionName sets the RoleSessionName field's value. -func (s *AssumeRoleInput) SetRoleSessionName(v string) *AssumeRoleInput { - s.RoleSessionName = &v - return s -} - -// SetSerialNumber sets the SerialNumber field's value. -func (s *AssumeRoleInput) SetSerialNumber(v string) *AssumeRoleInput { - s.SerialNumber = &v - return s -} - -// SetTokenCode sets the TokenCode field's value. -func (s *AssumeRoleInput) SetTokenCode(v string) *AssumeRoleInput { - s.TokenCode = &v - return s -} - // Contains the response to a successful AssumeRole request, including temporary // AWS credentials that can be used to make AWS requests. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleResponse @@ -985,24 +943,6 @@ func (s AssumeRoleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssumedRoleUser sets the AssumedRoleUser field's value. -func (s *AssumeRoleOutput) SetAssumedRoleUser(v *AssumedRoleUser) *AssumeRoleOutput { - s.AssumedRoleUser = v - return s -} - -// SetCredentials sets the Credentials field's value. -func (s *AssumeRoleOutput) SetCredentials(v *Credentials) *AssumeRoleOutput { - s.Credentials = v - return s -} - -// SetPackedPolicySize sets the PackedPolicySize field's value. -func (s *AssumeRoleOutput) SetPackedPolicySize(v int64) *AssumeRoleOutput { - s.PackedPolicySize = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAMLRequest type AssumeRoleWithSAMLInput struct { _ struct{} `type:"structure"` @@ -1115,36 +1055,6 @@ func (s *AssumeRoleWithSAMLInput) Validate() error { return nil } -// SetDurationSeconds sets the DurationSeconds field's value. -func (s *AssumeRoleWithSAMLInput) SetDurationSeconds(v int64) *AssumeRoleWithSAMLInput { - s.DurationSeconds = &v - return s -} - -// SetPolicy sets the Policy field's value. -func (s *AssumeRoleWithSAMLInput) SetPolicy(v string) *AssumeRoleWithSAMLInput { - s.Policy = &v - return s -} - -// SetPrincipalArn sets the PrincipalArn field's value. -func (s *AssumeRoleWithSAMLInput) SetPrincipalArn(v string) *AssumeRoleWithSAMLInput { - s.PrincipalArn = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *AssumeRoleWithSAMLInput) SetRoleArn(v string) *AssumeRoleWithSAMLInput { - s.RoleArn = &v - return s -} - -// SetSAMLAssertion sets the SAMLAssertion field's value. -func (s *AssumeRoleWithSAMLInput) SetSAMLAssertion(v string) *AssumeRoleWithSAMLInput { - s.SAMLAssertion = &v - return s -} - // Contains the response to a successful AssumeRoleWithSAML request, including // temporary AWS credentials that can be used to make AWS requests. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAMLResponse @@ -1218,54 +1128,6 @@ func (s AssumeRoleWithSAMLOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssumedRoleUser sets the AssumedRoleUser field's value. -func (s *AssumeRoleWithSAMLOutput) SetAssumedRoleUser(v *AssumedRoleUser) *AssumeRoleWithSAMLOutput { - s.AssumedRoleUser = v - return s -} - -// SetAudience sets the Audience field's value. -func (s *AssumeRoleWithSAMLOutput) SetAudience(v string) *AssumeRoleWithSAMLOutput { - s.Audience = &v - return s -} - -// SetCredentials sets the Credentials field's value. -func (s *AssumeRoleWithSAMLOutput) SetCredentials(v *Credentials) *AssumeRoleWithSAMLOutput { - s.Credentials = v - return s -} - -// SetIssuer sets the Issuer field's value. -func (s *AssumeRoleWithSAMLOutput) SetIssuer(v string) *AssumeRoleWithSAMLOutput { - s.Issuer = &v - return s -} - -// SetNameQualifier sets the NameQualifier field's value. -func (s *AssumeRoleWithSAMLOutput) SetNameQualifier(v string) *AssumeRoleWithSAMLOutput { - s.NameQualifier = &v - return s -} - -// SetPackedPolicySize sets the PackedPolicySize field's value. -func (s *AssumeRoleWithSAMLOutput) SetPackedPolicySize(v int64) *AssumeRoleWithSAMLOutput { - s.PackedPolicySize = &v - return s -} - -// SetSubject sets the Subject field's value. -func (s *AssumeRoleWithSAMLOutput) SetSubject(v string) *AssumeRoleWithSAMLOutput { - s.Subject = &v - return s -} - -// SetSubjectType sets the SubjectType field's value. -func (s *AssumeRoleWithSAMLOutput) SetSubjectType(v string) *AssumeRoleWithSAMLOutput { - s.SubjectType = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentityRequest type AssumeRoleWithWebIdentityInput struct { _ struct{} `type:"structure"` @@ -1394,42 +1256,6 @@ func (s *AssumeRoleWithWebIdentityInput) Validate() error { return nil } -// SetDurationSeconds sets the DurationSeconds field's value. -func (s *AssumeRoleWithWebIdentityInput) SetDurationSeconds(v int64) *AssumeRoleWithWebIdentityInput { - s.DurationSeconds = &v - return s -} - -// SetPolicy sets the Policy field's value. -func (s *AssumeRoleWithWebIdentityInput) SetPolicy(v string) *AssumeRoleWithWebIdentityInput { - s.Policy = &v - return s -} - -// SetProviderId sets the ProviderId field's value. -func (s *AssumeRoleWithWebIdentityInput) SetProviderId(v string) *AssumeRoleWithWebIdentityInput { - s.ProviderId = &v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *AssumeRoleWithWebIdentityInput) SetRoleArn(v string) *AssumeRoleWithWebIdentityInput { - s.RoleArn = &v - return s -} - -// SetRoleSessionName sets the RoleSessionName field's value. -func (s *AssumeRoleWithWebIdentityInput) SetRoleSessionName(v string) *AssumeRoleWithWebIdentityInput { - s.RoleSessionName = &v - return s -} - -// SetWebIdentityToken sets the WebIdentityToken field's value. -func (s *AssumeRoleWithWebIdentityInput) SetWebIdentityToken(v string) *AssumeRoleWithWebIdentityInput { - s.WebIdentityToken = &v - return s -} - // Contains the response to a successful AssumeRoleWithWebIdentity request, // including temporary AWS credentials that can be used to make AWS requests. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentityResponse @@ -1494,42 +1320,6 @@ func (s AssumeRoleWithWebIdentityOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAssumedRoleUser sets the AssumedRoleUser field's value. -func (s *AssumeRoleWithWebIdentityOutput) SetAssumedRoleUser(v *AssumedRoleUser) *AssumeRoleWithWebIdentityOutput { - s.AssumedRoleUser = v - return s -} - -// SetAudience sets the Audience field's value. -func (s *AssumeRoleWithWebIdentityOutput) SetAudience(v string) *AssumeRoleWithWebIdentityOutput { - s.Audience = &v - return s -} - -// SetCredentials sets the Credentials field's value. -func (s *AssumeRoleWithWebIdentityOutput) SetCredentials(v *Credentials) *AssumeRoleWithWebIdentityOutput { - s.Credentials = v - return s -} - -// SetPackedPolicySize sets the PackedPolicySize field's value. -func (s *AssumeRoleWithWebIdentityOutput) SetPackedPolicySize(v int64) *AssumeRoleWithWebIdentityOutput { - s.PackedPolicySize = &v - return s -} - -// SetProvider sets the Provider field's value. -func (s *AssumeRoleWithWebIdentityOutput) SetProvider(v string) *AssumeRoleWithWebIdentityOutput { - s.Provider = &v - return s -} - -// SetSubjectFromWebIdentityToken sets the SubjectFromWebIdentityToken field's value. -func (s *AssumeRoleWithWebIdentityOutput) SetSubjectFromWebIdentityToken(v string) *AssumeRoleWithWebIdentityOutput { - s.SubjectFromWebIdentityToken = &v - return s -} - // The identifiers for the temporary security credentials that the operation // returns. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumedRoleUser @@ -1562,18 +1352,6 @@ func (s AssumedRoleUser) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *AssumedRoleUser) SetArn(v string) *AssumedRoleUser { - s.Arn = &v - return s -} - -// SetAssumedRoleId sets the AssumedRoleId field's value. -func (s *AssumedRoleUser) SetAssumedRoleId(v string) *AssumedRoleUser { - s.AssumedRoleId = &v - return s -} - // AWS credentials for API authentication. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/Credentials type Credentials struct { @@ -1610,30 +1388,6 @@ func (s Credentials) GoString() string { return s.String() } -// SetAccessKeyId sets the AccessKeyId field's value. -func (s *Credentials) SetAccessKeyId(v string) *Credentials { - s.AccessKeyId = &v - return s -} - -// SetExpiration sets the Expiration field's value. -func (s *Credentials) SetExpiration(v time.Time) *Credentials { - s.Expiration = &v - return s -} - -// SetSecretAccessKey sets the SecretAccessKey field's value. -func (s *Credentials) SetSecretAccessKey(v string) *Credentials { - s.SecretAccessKey = &v - return s -} - -// SetSessionToken sets the SessionToken field's value. -func (s *Credentials) SetSessionToken(v string) *Credentials { - s.SessionToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessageRequest type DecodeAuthorizationMessageInput struct { _ struct{} `type:"structure"` @@ -1671,12 +1425,6 @@ func (s *DecodeAuthorizationMessageInput) Validate() error { return nil } -// SetEncodedMessage sets the EncodedMessage field's value. -func (s *DecodeAuthorizationMessageInput) SetEncodedMessage(v string) *DecodeAuthorizationMessageInput { - s.EncodedMessage = &v - return s -} - // A document that contains additional information about the authorization status // of a request from an encoded message that is returned in response to an AWS // request. @@ -1705,12 +1453,6 @@ func (s DecodeAuthorizationMessageOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDecodedMessage sets the DecodedMessage field's value. -func (s *DecodeAuthorizationMessageOutput) SetDecodedMessage(v string) *DecodeAuthorizationMessageOutput { - s.DecodedMessage = &v - return s -} - // Identifiers for the federated user that is associated with the credentials. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/FederatedUser type FederatedUser struct { @@ -1741,18 +1483,6 @@ func (s FederatedUser) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *FederatedUser) SetArn(v string) *FederatedUser { - s.Arn = &v - return s -} - -// SetFederatedUserId sets the FederatedUserId field's value. -func (s *FederatedUser) SetFederatedUserId(v string) *FederatedUser { - s.FederatedUserId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentityRequest type GetCallerIdentityInput struct { _ struct{} `type:"structure"` @@ -1805,24 +1535,6 @@ func (s GetCallerIdentityOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAccount sets the Account field's value. -func (s *GetCallerIdentityOutput) SetAccount(v string) *GetCallerIdentityOutput { - s.Account = &v - return s -} - -// SetArn sets the Arn field's value. -func (s *GetCallerIdentityOutput) SetArn(v string) *GetCallerIdentityOutput { - s.Arn = &v - return s -} - -// SetUserId sets the UserId field's value. -func (s *GetCallerIdentityOutput) SetUserId(v string) *GetCallerIdentityOutput { - s.UserId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationTokenRequest type GetFederationTokenInput struct { _ struct{} `type:"structure"` @@ -1913,24 +1625,6 @@ func (s *GetFederationTokenInput) Validate() error { return nil } -// SetDurationSeconds sets the DurationSeconds field's value. -func (s *GetFederationTokenInput) SetDurationSeconds(v int64) *GetFederationTokenInput { - s.DurationSeconds = &v - return s -} - -// SetName sets the Name field's value. -func (s *GetFederationTokenInput) SetName(v string) *GetFederationTokenInput { - s.Name = &v - return s -} - -// SetPolicy sets the Policy field's value. -func (s *GetFederationTokenInput) SetPolicy(v string) *GetFederationTokenInput { - s.Policy = &v - return s -} - // Contains the response to a successful GetFederationToken request, including // temporary AWS credentials that can be used to make AWS requests. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationTokenResponse @@ -1975,24 +1669,6 @@ func (s GetFederationTokenOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCredentials sets the Credentials field's value. -func (s *GetFederationTokenOutput) SetCredentials(v *Credentials) *GetFederationTokenOutput { - s.Credentials = v - return s -} - -// SetFederatedUser sets the FederatedUser field's value. -func (s *GetFederationTokenOutput) SetFederatedUser(v *FederatedUser) *GetFederationTokenOutput { - s.FederatedUser = v - return s -} - -// SetPackedPolicySize sets the PackedPolicySize field's value. -func (s *GetFederationTokenOutput) SetPackedPolicySize(v int64) *GetFederationTokenOutput { - s.PackedPolicySize = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionTokenRequest type GetSessionTokenInput struct { _ struct{} `type:"structure"` @@ -2058,24 +1734,6 @@ func (s *GetSessionTokenInput) Validate() error { return nil } -// SetDurationSeconds sets the DurationSeconds field's value. -func (s *GetSessionTokenInput) SetDurationSeconds(v int64) *GetSessionTokenInput { - s.DurationSeconds = &v - return s -} - -// SetSerialNumber sets the SerialNumber field's value. -func (s *GetSessionTokenInput) SetSerialNumber(v string) *GetSessionTokenInput { - s.SerialNumber = &v - return s -} - -// SetTokenCode sets the TokenCode field's value. -func (s *GetSessionTokenInput) SetTokenCode(v string) *GetSessionTokenInput { - s.TokenCode = &v - return s -} - // Contains the response to a successful GetSessionToken request, including // temporary AWS credentials that can be used to make AWS requests. // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionTokenResponse @@ -2108,9 +1766,3 @@ func (s GetSessionTokenOutput) GoString() string { func (s GetSessionTokenOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } - -// SetCredentials sets the Credentials field's value. -func (s *GetSessionTokenOutput) SetCredentials(v *Credentials) *GetSessionTokenOutput { - s.Credentials = v - return s -} diff --git a/service/support/api.go b/service/support/api.go index 55041fe0a3c..0b35b983a3f 100644 --- a/service/support/api.go +++ b/service/support/api.go @@ -990,18 +990,6 @@ func (s *AddAttachmentsToSetInput) Validate() error { return nil } -// SetAttachmentSetId sets the AttachmentSetId field's value. -func (s *AddAttachmentsToSetInput) SetAttachmentSetId(v string) *AddAttachmentsToSetInput { - s.AttachmentSetId = &v - return s -} - -// SetAttachments sets the Attachments field's value. -func (s *AddAttachmentsToSetInput) SetAttachments(v []Attachment) *AddAttachmentsToSetInput { - s.Attachments = v - return s -} - // The ID and expiry time of the attachment set returned by the AddAttachmentsToSet // operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/AddAttachmentsToSetResponse @@ -1035,18 +1023,6 @@ func (s AddAttachmentsToSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttachmentSetId sets the AttachmentSetId field's value. -func (s *AddAttachmentsToSetOutput) SetAttachmentSetId(v string) *AddAttachmentsToSetOutput { - s.AttachmentSetId = &v - return s -} - -// SetExpiryTime sets the ExpiryTime field's value. -func (s *AddAttachmentsToSetOutput) SetExpiryTime(v string) *AddAttachmentsToSetOutput { - s.ExpiryTime = &v - return s -} - // To be written. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/AddCommunicationToCaseRequest type AddCommunicationToCaseInput struct { @@ -1097,30 +1073,6 @@ func (s *AddCommunicationToCaseInput) Validate() error { return nil } -// SetAttachmentSetId sets the AttachmentSetId field's value. -func (s *AddCommunicationToCaseInput) SetAttachmentSetId(v string) *AddCommunicationToCaseInput { - s.AttachmentSetId = &v - return s -} - -// SetCaseId sets the CaseId field's value. -func (s *AddCommunicationToCaseInput) SetCaseId(v string) *AddCommunicationToCaseInput { - s.CaseId = &v - return s -} - -// SetCcEmailAddresses sets the CcEmailAddresses field's value. -func (s *AddCommunicationToCaseInput) SetCcEmailAddresses(v []string) *AddCommunicationToCaseInput { - s.CcEmailAddresses = v - return s -} - -// SetCommunicationBody sets the CommunicationBody field's value. -func (s *AddCommunicationToCaseInput) SetCommunicationBody(v string) *AddCommunicationToCaseInput { - s.CommunicationBody = &v - return s -} - // The result of the AddCommunicationToCase operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/AddCommunicationToCaseResponse type AddCommunicationToCaseOutput struct { @@ -1147,12 +1099,6 @@ func (s AddCommunicationToCaseOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResult sets the Result field's value. -func (s *AddCommunicationToCaseOutput) SetResult(v bool) *AddCommunicationToCaseOutput { - s.Result = &v - return s -} - // An attachment to a case communication. The attachment consists of the file // name and the content of the file. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/Attachment @@ -1178,18 +1124,6 @@ func (s Attachment) GoString() string { return s.String() } -// SetData sets the Data field's value. -func (s *Attachment) SetData(v []byte) *Attachment { - s.Data = v - return s -} - -// SetFileName sets the FileName field's value. -func (s *Attachment) SetFileName(v string) *Attachment { - s.FileName = &v - return s -} - // The file name and ID of an attachment to a case communication. You can use // the ID to retrieve the attachment with the DescribeAttachment operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/AttachmentDetails @@ -1213,18 +1147,6 @@ func (s AttachmentDetails) GoString() string { return s.String() } -// SetAttachmentId sets the AttachmentId field's value. -func (s *AttachmentDetails) SetAttachmentId(v string) *AttachmentDetails { - s.AttachmentId = &v - return s -} - -// SetFileName sets the FileName field's value. -func (s *AttachmentDetails) SetFileName(v string) *AttachmentDetails { - s.FileName = &v - return s -} - // A JSON-formatted object that contains the metadata for a support case. It // is contained the response from a DescribeCases request. CaseDetails contains // the following fields: @@ -1318,78 +1240,6 @@ func (s CaseDetails) GoString() string { return s.String() } -// SetCaseId sets the CaseId field's value. -func (s *CaseDetails) SetCaseId(v string) *CaseDetails { - s.CaseId = &v - return s -} - -// SetCategoryCode sets the CategoryCode field's value. -func (s *CaseDetails) SetCategoryCode(v string) *CaseDetails { - s.CategoryCode = &v - return s -} - -// SetCcEmailAddresses sets the CcEmailAddresses field's value. -func (s *CaseDetails) SetCcEmailAddresses(v []string) *CaseDetails { - s.CcEmailAddresses = v - return s -} - -// SetDisplayId sets the DisplayId field's value. -func (s *CaseDetails) SetDisplayId(v string) *CaseDetails { - s.DisplayId = &v - return s -} - -// SetLanguage sets the Language field's value. -func (s *CaseDetails) SetLanguage(v string) *CaseDetails { - s.Language = &v - return s -} - -// SetRecentCommunications sets the RecentCommunications field's value. -func (s *CaseDetails) SetRecentCommunications(v *RecentCaseCommunications) *CaseDetails { - s.RecentCommunications = v - return s -} - -// SetServiceCode sets the ServiceCode field's value. -func (s *CaseDetails) SetServiceCode(v string) *CaseDetails { - s.ServiceCode = &v - return s -} - -// SetSeverityCode sets the SeverityCode field's value. -func (s *CaseDetails) SetSeverityCode(v string) *CaseDetails { - s.SeverityCode = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *CaseDetails) SetStatus(v string) *CaseDetails { - s.Status = &v - return s -} - -// SetSubject sets the Subject field's value. -func (s *CaseDetails) SetSubject(v string) *CaseDetails { - s.Subject = &v - return s -} - -// SetSubmittedBy sets the SubmittedBy field's value. -func (s *CaseDetails) SetSubmittedBy(v string) *CaseDetails { - s.SubmittedBy = &v - return s -} - -// SetTimeCreated sets the TimeCreated field's value. -func (s *CaseDetails) SetTimeCreated(v string) *CaseDetails { - s.TimeCreated = &v - return s -} - // A JSON-formatted name/value pair that represents the category name and category // code of the problem, selected from the DescribeServices response for each // AWS service. @@ -1414,18 +1264,6 @@ func (s Category) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *Category) SetCode(v string) *Category { - s.Code = &v - return s -} - -// SetName sets the Name field's value. -func (s *Category) SetName(v string) *Category { - s.Name = &v - return s -} - // A communication associated with an AWS Support case. The communication consists // of the case ID, the message body, attachment information, the account email // address, and the date and time of the communication. @@ -1460,36 +1298,6 @@ func (s Communication) GoString() string { return s.String() } -// SetAttachmentSet sets the AttachmentSet field's value. -func (s *Communication) SetAttachmentSet(v []AttachmentDetails) *Communication { - s.AttachmentSet = v - return s -} - -// SetBody sets the Body field's value. -func (s *Communication) SetBody(v string) *Communication { - s.Body = &v - return s -} - -// SetCaseId sets the CaseId field's value. -func (s *Communication) SetCaseId(v string) *Communication { - s.CaseId = &v - return s -} - -// SetSubmittedBy sets the SubmittedBy field's value. -func (s *Communication) SetSubmittedBy(v string) *Communication { - s.SubmittedBy = &v - return s -} - -// SetTimeCreated sets the TimeCreated field's value. -func (s *Communication) SetTimeCreated(v string) *Communication { - s.TimeCreated = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/CreateCaseRequest type CreateCaseInput struct { _ struct{} `type:"structure"` @@ -1566,60 +1374,6 @@ func (s *CreateCaseInput) Validate() error { return nil } -// SetAttachmentSetId sets the AttachmentSetId field's value. -func (s *CreateCaseInput) SetAttachmentSetId(v string) *CreateCaseInput { - s.AttachmentSetId = &v - return s -} - -// SetCategoryCode sets the CategoryCode field's value. -func (s *CreateCaseInput) SetCategoryCode(v string) *CreateCaseInput { - s.CategoryCode = &v - return s -} - -// SetCcEmailAddresses sets the CcEmailAddresses field's value. -func (s *CreateCaseInput) SetCcEmailAddresses(v []string) *CreateCaseInput { - s.CcEmailAddresses = v - return s -} - -// SetCommunicationBody sets the CommunicationBody field's value. -func (s *CreateCaseInput) SetCommunicationBody(v string) *CreateCaseInput { - s.CommunicationBody = &v - return s -} - -// SetIssueType sets the IssueType field's value. -func (s *CreateCaseInput) SetIssueType(v string) *CreateCaseInput { - s.IssueType = &v - return s -} - -// SetLanguage sets the Language field's value. -func (s *CreateCaseInput) SetLanguage(v string) *CreateCaseInput { - s.Language = &v - return s -} - -// SetServiceCode sets the ServiceCode field's value. -func (s *CreateCaseInput) SetServiceCode(v string) *CreateCaseInput { - s.ServiceCode = &v - return s -} - -// SetSeverityCode sets the SeverityCode field's value. -func (s *CreateCaseInput) SetSeverityCode(v string) *CreateCaseInput { - s.SeverityCode = &v - return s -} - -// SetSubject sets the Subject field's value. -func (s *CreateCaseInput) SetSubject(v string) *CreateCaseInput { - s.Subject = &v - return s -} - // The AWS Support case ID returned by a successful completion of the CreateCase // operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/CreateCaseResponse @@ -1648,12 +1402,6 @@ func (s CreateCaseOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCaseId sets the CaseId field's value. -func (s *CreateCaseOutput) SetCaseId(v string) *CreateCaseOutput { - s.CaseId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeAttachmentRequest type DescribeAttachmentInput struct { _ struct{} `type:"structure"` @@ -1689,12 +1437,6 @@ func (s *DescribeAttachmentInput) Validate() error { return nil } -// SetAttachmentId sets the AttachmentId field's value. -func (s *DescribeAttachmentInput) SetAttachmentId(v string) *DescribeAttachmentInput { - s.AttachmentId = &v - return s -} - // The content and file name of the attachment returned by the DescribeAttachment // operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeAttachmentResponse @@ -1722,12 +1464,6 @@ func (s DescribeAttachmentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAttachment sets the Attachment field's value. -func (s *DescribeAttachmentOutput) SetAttachment(v *Attachment) *DescribeAttachmentOutput { - s.Attachment = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeCasesRequest type DescribeCasesInput struct { _ struct{} `type:"structure"` @@ -1790,60 +1526,6 @@ func (s *DescribeCasesInput) Validate() error { return nil } -// SetAfterTime sets the AfterTime field's value. -func (s *DescribeCasesInput) SetAfterTime(v string) *DescribeCasesInput { - s.AfterTime = &v - return s -} - -// SetBeforeTime sets the BeforeTime field's value. -func (s *DescribeCasesInput) SetBeforeTime(v string) *DescribeCasesInput { - s.BeforeTime = &v - return s -} - -// SetCaseIdList sets the CaseIdList field's value. -func (s *DescribeCasesInput) SetCaseIdList(v []string) *DescribeCasesInput { - s.CaseIdList = v - return s -} - -// SetDisplayId sets the DisplayId field's value. -func (s *DescribeCasesInput) SetDisplayId(v string) *DescribeCasesInput { - s.DisplayId = &v - return s -} - -// SetIncludeCommunications sets the IncludeCommunications field's value. -func (s *DescribeCasesInput) SetIncludeCommunications(v bool) *DescribeCasesInput { - s.IncludeCommunications = &v - return s -} - -// SetIncludeResolvedCases sets the IncludeResolvedCases field's value. -func (s *DescribeCasesInput) SetIncludeResolvedCases(v bool) *DescribeCasesInput { - s.IncludeResolvedCases = &v - return s -} - -// SetLanguage sets the Language field's value. -func (s *DescribeCasesInput) SetLanguage(v string) *DescribeCasesInput { - s.Language = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeCasesInput) SetMaxResults(v int64) *DescribeCasesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeCasesInput) SetNextToken(v string) *DescribeCasesInput { - s.NextToken = &v - return s -} - // Returns an array of CaseDetails objects and a nextToken that defines a point // for pagination in the result set. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeCasesResponse @@ -1874,18 +1556,6 @@ func (s DescribeCasesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCases sets the Cases field's value. -func (s *DescribeCasesOutput) SetCases(v []CaseDetails) *DescribeCasesOutput { - s.Cases = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeCasesOutput) SetNextToken(v string) *DescribeCasesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeCommunicationsRequest type DescribeCommunicationsInput struct { _ struct{} `type:"structure"` @@ -1938,36 +1608,6 @@ func (s *DescribeCommunicationsInput) Validate() error { return nil } -// SetAfterTime sets the AfterTime field's value. -func (s *DescribeCommunicationsInput) SetAfterTime(v string) *DescribeCommunicationsInput { - s.AfterTime = &v - return s -} - -// SetBeforeTime sets the BeforeTime field's value. -func (s *DescribeCommunicationsInput) SetBeforeTime(v string) *DescribeCommunicationsInput { - s.BeforeTime = &v - return s -} - -// SetCaseId sets the CaseId field's value. -func (s *DescribeCommunicationsInput) SetCaseId(v string) *DescribeCommunicationsInput { - s.CaseId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeCommunicationsInput) SetMaxResults(v int64) *DescribeCommunicationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeCommunicationsInput) SetNextToken(v string) *DescribeCommunicationsInput { - s.NextToken = &v - return s -} - // The communications returned by the DescribeCommunications operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeCommunicationsResponse type DescribeCommunicationsOutput struct { @@ -1997,18 +1637,6 @@ func (s DescribeCommunicationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCommunications sets the Communications field's value. -func (s *DescribeCommunicationsOutput) SetCommunications(v []Communication) *DescribeCommunicationsOutput { - s.Communications = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeCommunicationsOutput) SetNextToken(v string) *DescribeCommunicationsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeServicesRequest type DescribeServicesInput struct { _ struct{} `type:"structure"` @@ -2032,18 +1660,6 @@ func (s DescribeServicesInput) GoString() string { return s.String() } -// SetLanguage sets the Language field's value. -func (s *DescribeServicesInput) SetLanguage(v string) *DescribeServicesInput { - s.Language = &v - return s -} - -// SetServiceCodeList sets the ServiceCodeList field's value. -func (s *DescribeServicesInput) SetServiceCodeList(v []string) *DescribeServicesInput { - s.ServiceCodeList = v - return s -} - // The list of AWS services returned by the DescribeServices operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeServicesResponse type DescribeServicesOutput struct { @@ -2070,12 +1686,6 @@ func (s DescribeServicesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetServices sets the Services field's value. -func (s *DescribeServicesOutput) SetServices(v []Service) *DescribeServicesOutput { - s.Services = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeSeverityLevelsRequest type DescribeSeverityLevelsInput struct { _ struct{} `type:"structure"` @@ -2096,12 +1706,6 @@ func (s DescribeSeverityLevelsInput) GoString() string { return s.String() } -// SetLanguage sets the Language field's value. -func (s *DescribeSeverityLevelsInput) SetLanguage(v string) *DescribeSeverityLevelsInput { - s.Language = &v - return s -} - // The list of severity levels returned by the DescribeSeverityLevels operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeSeverityLevelsResponse type DescribeSeverityLevelsOutput struct { @@ -2129,12 +1733,6 @@ func (s DescribeSeverityLevelsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSeverityLevels sets the SeverityLevels field's value. -func (s *DescribeSeverityLevelsOutput) SetSeverityLevels(v []SeverityLevel) *DescribeSeverityLevelsOutput { - s.SeverityLevels = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorCheckRefreshStatusesRequest type DescribeTrustedAdvisorCheckRefreshStatusesInput struct { _ struct{} `type:"structure"` @@ -2171,12 +1769,6 @@ func (s *DescribeTrustedAdvisorCheckRefreshStatusesInput) Validate() error { return nil } -// SetCheckIds sets the CheckIds field's value. -func (s *DescribeTrustedAdvisorCheckRefreshStatusesInput) SetCheckIds(v []string) *DescribeTrustedAdvisorCheckRefreshStatusesInput { - s.CheckIds = v - return s -} - // The statuses of the Trusted Advisor checks returned by the DescribeTrustedAdvisorCheckRefreshStatuses // operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorCheckRefreshStatusesResponse @@ -2206,12 +1798,6 @@ func (s DescribeTrustedAdvisorCheckRefreshStatusesOutput) SDKResponseMetadata() return s.responseMetadata } -// SetStatuses sets the Statuses field's value. -func (s *DescribeTrustedAdvisorCheckRefreshStatusesOutput) SetStatuses(v []TrustedAdvisorCheckRefreshStatus) *DescribeTrustedAdvisorCheckRefreshStatusesOutput { - s.Statuses = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorCheckResultRequest type DescribeTrustedAdvisorCheckResultInput struct { _ struct{} `type:"structure"` @@ -2251,18 +1837,6 @@ func (s *DescribeTrustedAdvisorCheckResultInput) Validate() error { return nil } -// SetCheckId sets the CheckId field's value. -func (s *DescribeTrustedAdvisorCheckResultInput) SetCheckId(v string) *DescribeTrustedAdvisorCheckResultInput { - s.CheckId = &v - return s -} - -// SetLanguage sets the Language field's value. -func (s *DescribeTrustedAdvisorCheckResultInput) SetLanguage(v string) *DescribeTrustedAdvisorCheckResultInput { - s.Language = &v - return s -} - // The result of the Trusted Advisor check returned by the DescribeTrustedAdvisorCheckResult // operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorCheckResultResponse @@ -2290,12 +1864,6 @@ func (s DescribeTrustedAdvisorCheckResultOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetResult sets the Result field's value. -func (s *DescribeTrustedAdvisorCheckResultOutput) SetResult(v *TrustedAdvisorCheckResult) *DescribeTrustedAdvisorCheckResultOutput { - s.Result = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorCheckSummariesRequest type DescribeTrustedAdvisorCheckSummariesInput struct { _ struct{} `type:"structure"` @@ -2330,12 +1898,6 @@ func (s *DescribeTrustedAdvisorCheckSummariesInput) Validate() error { return nil } -// SetCheckIds sets the CheckIds field's value. -func (s *DescribeTrustedAdvisorCheckSummariesInput) SetCheckIds(v []string) *DescribeTrustedAdvisorCheckSummariesInput { - s.CheckIds = v - return s -} - // The summaries of the Trusted Advisor checks returned by the DescribeTrustedAdvisorCheckSummaries // operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorCheckSummariesResponse @@ -2365,12 +1927,6 @@ func (s DescribeTrustedAdvisorCheckSummariesOutput) SDKResponseMetadata() aws.Re return s.responseMetadata } -// SetSummaries sets the Summaries field's value. -func (s *DescribeTrustedAdvisorCheckSummariesOutput) SetSummaries(v []TrustedAdvisorCheckSummary) *DescribeTrustedAdvisorCheckSummariesOutput { - s.Summaries = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorChecksRequest type DescribeTrustedAdvisorChecksInput struct { _ struct{} `type:"structure"` @@ -2407,12 +1963,6 @@ func (s *DescribeTrustedAdvisorChecksInput) Validate() error { return nil } -// SetLanguage sets the Language field's value. -func (s *DescribeTrustedAdvisorChecksInput) SetLanguage(v string) *DescribeTrustedAdvisorChecksInput { - s.Language = &v - return s -} - // Information about the Trusted Advisor checks returned by the DescribeTrustedAdvisorChecks // operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorChecksResponse @@ -2442,12 +1992,6 @@ func (s DescribeTrustedAdvisorChecksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChecks sets the Checks field's value. -func (s *DescribeTrustedAdvisorChecksOutput) SetChecks(v []TrustedAdvisorCheckDescription) *DescribeTrustedAdvisorChecksOutput { - s.Checks = v - return s -} - // The five most recent communications associated with the case. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/RecentCaseCommunications type RecentCaseCommunications struct { @@ -2470,18 +2014,6 @@ func (s RecentCaseCommunications) GoString() string { return s.String() } -// SetCommunications sets the Communications field's value. -func (s *RecentCaseCommunications) SetCommunications(v []Communication) *RecentCaseCommunications { - s.Communications = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *RecentCaseCommunications) SetNextToken(v string) *RecentCaseCommunications { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/RefreshTrustedAdvisorCheckRequest type RefreshTrustedAdvisorCheckInput struct { _ struct{} `type:"structure"` @@ -2518,12 +2050,6 @@ func (s *RefreshTrustedAdvisorCheckInput) Validate() error { return nil } -// SetCheckId sets the CheckId field's value. -func (s *RefreshTrustedAdvisorCheckInput) SetCheckId(v string) *RefreshTrustedAdvisorCheckInput { - s.CheckId = &v - return s -} - // The current refresh status of a Trusted Advisor check. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/RefreshTrustedAdvisorCheckResponse type RefreshTrustedAdvisorCheckOutput struct { @@ -2553,12 +2079,6 @@ func (s RefreshTrustedAdvisorCheckOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetStatus sets the Status field's value. -func (s *RefreshTrustedAdvisorCheckOutput) SetStatus(v *TrustedAdvisorCheckRefreshStatus) *RefreshTrustedAdvisorCheckOutput { - s.Status = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/ResolveCaseRequest type ResolveCaseInput struct { _ struct{} `type:"structure"` @@ -2578,12 +2098,6 @@ func (s ResolveCaseInput) GoString() string { return s.String() } -// SetCaseId sets the CaseId field's value. -func (s *ResolveCaseInput) SetCaseId(v string) *ResolveCaseInput { - s.CaseId = &v - return s -} - // The status of the case returned by the ResolveCase operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/ResolveCaseResponse type ResolveCaseOutput struct { @@ -2613,18 +2127,6 @@ func (s ResolveCaseOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFinalCaseStatus sets the FinalCaseStatus field's value. -func (s *ResolveCaseOutput) SetFinalCaseStatus(v string) *ResolveCaseOutput { - s.FinalCaseStatus = &v - return s -} - -// SetInitialCaseStatus sets the InitialCaseStatus field's value. -func (s *ResolveCaseOutput) SetInitialCaseStatus(v string) *ResolveCaseOutput { - s.InitialCaseStatus = &v - return s -} - // Information about an AWS service returned by the DescribeServices operation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/Service type Service struct { @@ -2654,24 +2156,6 @@ func (s Service) GoString() string { return s.String() } -// SetCategories sets the Categories field's value. -func (s *Service) SetCategories(v []Category) *Service { - s.Categories = v - return s -} - -// SetCode sets the Code field's value. -func (s *Service) SetCode(v string) *Service { - s.Code = &v - return s -} - -// SetName sets the Name field's value. -func (s *Service) SetName(v string) *Service { - s.Name = &v - return s -} - // A code and name pair that represent a severity level that can be applied // to a support case. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/SeverityLevel @@ -2696,18 +2180,6 @@ func (s SeverityLevel) GoString() string { return s.String() } -// SetCode sets the Code field's value. -func (s *SeverityLevel) SetCode(v string) *SeverityLevel { - s.Code = &v - return s -} - -// SetName sets the Name field's value. -func (s *SeverityLevel) SetName(v string) *SeverityLevel { - s.Name = &v - return s -} - // The container for summary information that relates to the category of the // Trusted Advisor check. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/TrustedAdvisorCategorySpecificSummary @@ -2729,12 +2201,6 @@ func (s TrustedAdvisorCategorySpecificSummary) GoString() string { return s.String() } -// SetCostOptimizing sets the CostOptimizing field's value. -func (s *TrustedAdvisorCategorySpecificSummary) SetCostOptimizing(v *TrustedAdvisorCostOptimizingSummary) *TrustedAdvisorCategorySpecificSummary { - s.CostOptimizing = v - return s -} - // The description and metadata for a Trusted Advisor check. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/TrustedAdvisorCheckDescription type TrustedAdvisorCheckDescription struct { @@ -2781,36 +2247,6 @@ func (s TrustedAdvisorCheckDescription) GoString() string { return s.String() } -// SetCategory sets the Category field's value. -func (s *TrustedAdvisorCheckDescription) SetCategory(v string) *TrustedAdvisorCheckDescription { - s.Category = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *TrustedAdvisorCheckDescription) SetDescription(v string) *TrustedAdvisorCheckDescription { - s.Description = &v - return s -} - -// SetId sets the Id field's value. -func (s *TrustedAdvisorCheckDescription) SetId(v string) *TrustedAdvisorCheckDescription { - s.Id = &v - return s -} - -// SetMetadata sets the Metadata field's value. -func (s *TrustedAdvisorCheckDescription) SetMetadata(v []string) *TrustedAdvisorCheckDescription { - s.Metadata = v - return s -} - -// SetName sets the Name field's value. -func (s *TrustedAdvisorCheckDescription) SetName(v string) *TrustedAdvisorCheckDescription { - s.Name = &v - return s -} - // The refresh status of a Trusted Advisor check. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/TrustedAdvisorCheckRefreshStatus type TrustedAdvisorCheckRefreshStatus struct { @@ -2844,24 +2280,6 @@ func (s TrustedAdvisorCheckRefreshStatus) GoString() string { return s.String() } -// SetCheckId sets the CheckId field's value. -func (s *TrustedAdvisorCheckRefreshStatus) SetCheckId(v string) *TrustedAdvisorCheckRefreshStatus { - s.CheckId = &v - return s -} - -// SetMillisUntilNextRefreshable sets the MillisUntilNextRefreshable field's value. -func (s *TrustedAdvisorCheckRefreshStatus) SetMillisUntilNextRefreshable(v int64) *TrustedAdvisorCheckRefreshStatus { - s.MillisUntilNextRefreshable = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *TrustedAdvisorCheckRefreshStatus) SetStatus(v string) *TrustedAdvisorCheckRefreshStatus { - s.Status = &v - return s -} - // The results of a Trusted Advisor check returned by DescribeTrustedAdvisorCheckResult. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/TrustedAdvisorCheckResult type TrustedAdvisorCheckResult struct { @@ -2911,42 +2329,6 @@ func (s TrustedAdvisorCheckResult) GoString() string { return s.String() } -// SetCategorySpecificSummary sets the CategorySpecificSummary field's value. -func (s *TrustedAdvisorCheckResult) SetCategorySpecificSummary(v *TrustedAdvisorCategorySpecificSummary) *TrustedAdvisorCheckResult { - s.CategorySpecificSummary = v - return s -} - -// SetCheckId sets the CheckId field's value. -func (s *TrustedAdvisorCheckResult) SetCheckId(v string) *TrustedAdvisorCheckResult { - s.CheckId = &v - return s -} - -// SetFlaggedResources sets the FlaggedResources field's value. -func (s *TrustedAdvisorCheckResult) SetFlaggedResources(v []TrustedAdvisorResourceDetail) *TrustedAdvisorCheckResult { - s.FlaggedResources = v - return s -} - -// SetResourcesSummary sets the ResourcesSummary field's value. -func (s *TrustedAdvisorCheckResult) SetResourcesSummary(v *TrustedAdvisorResourcesSummary) *TrustedAdvisorCheckResult { - s.ResourcesSummary = v - return s -} - -// SetStatus sets the Status field's value. -func (s *TrustedAdvisorCheckResult) SetStatus(v string) *TrustedAdvisorCheckResult { - s.Status = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *TrustedAdvisorCheckResult) SetTimestamp(v string) *TrustedAdvisorCheckResult { - s.Timestamp = &v - return s -} - // A summary of a Trusted Advisor check result, including the alert status, // last refresh, and number of resources examined. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/TrustedAdvisorCheckSummary @@ -2995,42 +2377,6 @@ func (s TrustedAdvisorCheckSummary) GoString() string { return s.String() } -// SetCategorySpecificSummary sets the CategorySpecificSummary field's value. -func (s *TrustedAdvisorCheckSummary) SetCategorySpecificSummary(v *TrustedAdvisorCategorySpecificSummary) *TrustedAdvisorCheckSummary { - s.CategorySpecificSummary = v - return s -} - -// SetCheckId sets the CheckId field's value. -func (s *TrustedAdvisorCheckSummary) SetCheckId(v string) *TrustedAdvisorCheckSummary { - s.CheckId = &v - return s -} - -// SetHasFlaggedResources sets the HasFlaggedResources field's value. -func (s *TrustedAdvisorCheckSummary) SetHasFlaggedResources(v bool) *TrustedAdvisorCheckSummary { - s.HasFlaggedResources = &v - return s -} - -// SetResourcesSummary sets the ResourcesSummary field's value. -func (s *TrustedAdvisorCheckSummary) SetResourcesSummary(v *TrustedAdvisorResourcesSummary) *TrustedAdvisorCheckSummary { - s.ResourcesSummary = v - return s -} - -// SetStatus sets the Status field's value. -func (s *TrustedAdvisorCheckSummary) SetStatus(v string) *TrustedAdvisorCheckSummary { - s.Status = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *TrustedAdvisorCheckSummary) SetTimestamp(v string) *TrustedAdvisorCheckSummary { - s.Timestamp = &v - return s -} - // The estimated cost savings that might be realized if the recommended actions // are taken. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/TrustedAdvisorCostOptimizingSummary @@ -3060,18 +2406,6 @@ func (s TrustedAdvisorCostOptimizingSummary) GoString() string { return s.String() } -// SetEstimatedMonthlySavings sets the EstimatedMonthlySavings field's value. -func (s *TrustedAdvisorCostOptimizingSummary) SetEstimatedMonthlySavings(v float64) *TrustedAdvisorCostOptimizingSummary { - s.EstimatedMonthlySavings = &v - return s -} - -// SetEstimatedPercentMonthlySavings sets the EstimatedPercentMonthlySavings field's value. -func (s *TrustedAdvisorCostOptimizingSummary) SetEstimatedPercentMonthlySavings(v float64) *TrustedAdvisorCostOptimizingSummary { - s.EstimatedPercentMonthlySavings = &v - return s -} - // Contains information about a resource identified by a Trusted Advisor check. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/TrustedAdvisorResourceDetail type TrustedAdvisorResourceDetail struct { @@ -3114,36 +2448,6 @@ func (s TrustedAdvisorResourceDetail) GoString() string { return s.String() } -// SetIsSuppressed sets the IsSuppressed field's value. -func (s *TrustedAdvisorResourceDetail) SetIsSuppressed(v bool) *TrustedAdvisorResourceDetail { - s.IsSuppressed = &v - return s -} - -// SetMetadata sets the Metadata field's value. -func (s *TrustedAdvisorResourceDetail) SetMetadata(v []string) *TrustedAdvisorResourceDetail { - s.Metadata = v - return s -} - -// SetRegion sets the Region field's value. -func (s *TrustedAdvisorResourceDetail) SetRegion(v string) *TrustedAdvisorResourceDetail { - s.Region = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *TrustedAdvisorResourceDetail) SetResourceId(v string) *TrustedAdvisorResourceDetail { - s.ResourceId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *TrustedAdvisorResourceDetail) SetStatus(v string) *TrustedAdvisorResourceDetail { - s.Status = &v - return s -} - // Details about AWS resources that were analyzed in a call to Trusted Advisor // DescribeTrustedAdvisorCheckSummaries. // Please also see https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/TrustedAdvisorResourcesSummary @@ -3183,27 +2487,3 @@ func (s TrustedAdvisorResourcesSummary) String() string { func (s TrustedAdvisorResourcesSummary) GoString() string { return s.String() } - -// SetResourcesFlagged sets the ResourcesFlagged field's value. -func (s *TrustedAdvisorResourcesSummary) SetResourcesFlagged(v int64) *TrustedAdvisorResourcesSummary { - s.ResourcesFlagged = &v - return s -} - -// SetResourcesIgnored sets the ResourcesIgnored field's value. -func (s *TrustedAdvisorResourcesSummary) SetResourcesIgnored(v int64) *TrustedAdvisorResourcesSummary { - s.ResourcesIgnored = &v - return s -} - -// SetResourcesProcessed sets the ResourcesProcessed field's value. -func (s *TrustedAdvisorResourcesSummary) SetResourcesProcessed(v int64) *TrustedAdvisorResourcesSummary { - s.ResourcesProcessed = &v - return s -} - -// SetResourcesSuppressed sets the ResourcesSuppressed field's value. -func (s *TrustedAdvisorResourcesSummary) SetResourcesSuppressed(v int64) *TrustedAdvisorResourcesSummary { - s.ResourcesSuppressed = &v - return s -} diff --git a/service/swf/api.go b/service/swf/api.go index ae0ac333270..4c6bc7e81bd 100644 --- a/service/swf/api.go +++ b/service/swf/api.go @@ -2800,18 +2800,6 @@ func (s ActivityTaskCancelRequestedEventAttributes) GoString() string { return s.String() } -// SetActivityId sets the ActivityId field's value. -func (s *ActivityTaskCancelRequestedEventAttributes) SetActivityId(v string) *ActivityTaskCancelRequestedEventAttributes { - s.ActivityId = &v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *ActivityTaskCancelRequestedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *ActivityTaskCancelRequestedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - // Provides the details of the ActivityTaskCanceled event. type ActivityTaskCanceledEventAttributes struct { _ struct{} `type:"structure"` @@ -2849,30 +2837,6 @@ func (s ActivityTaskCanceledEventAttributes) GoString() string { return s.String() } -// SetDetails sets the Details field's value. -func (s *ActivityTaskCanceledEventAttributes) SetDetails(v string) *ActivityTaskCanceledEventAttributes { - s.Details = &v - return s -} - -// SetLatestCancelRequestedEventId sets the LatestCancelRequestedEventId field's value. -func (s *ActivityTaskCanceledEventAttributes) SetLatestCancelRequestedEventId(v int64) *ActivityTaskCanceledEventAttributes { - s.LatestCancelRequestedEventId = &v - return s -} - -// SetScheduledEventId sets the ScheduledEventId field's value. -func (s *ActivityTaskCanceledEventAttributes) SetScheduledEventId(v int64) *ActivityTaskCanceledEventAttributes { - s.ScheduledEventId = &v - return s -} - -// SetStartedEventId sets the StartedEventId field's value. -func (s *ActivityTaskCanceledEventAttributes) SetStartedEventId(v int64) *ActivityTaskCanceledEventAttributes { - s.StartedEventId = &v - return s -} - // Provides the details of the ActivityTaskCompleted event. type ActivityTaskCompletedEventAttributes struct { _ struct{} `type:"structure"` @@ -2905,24 +2869,6 @@ func (s ActivityTaskCompletedEventAttributes) GoString() string { return s.String() } -// SetResult sets the Result field's value. -func (s *ActivityTaskCompletedEventAttributes) SetResult(v string) *ActivityTaskCompletedEventAttributes { - s.Result = &v - return s -} - -// SetScheduledEventId sets the ScheduledEventId field's value. -func (s *ActivityTaskCompletedEventAttributes) SetScheduledEventId(v int64) *ActivityTaskCompletedEventAttributes { - s.ScheduledEventId = &v - return s -} - -// SetStartedEventId sets the StartedEventId field's value. -func (s *ActivityTaskCompletedEventAttributes) SetStartedEventId(v int64) *ActivityTaskCompletedEventAttributes { - s.StartedEventId = &v - return s -} - // Provides the details of the ActivityTaskFailed event. type ActivityTaskFailedEventAttributes struct { _ struct{} `type:"structure"` @@ -2958,30 +2904,6 @@ func (s ActivityTaskFailedEventAttributes) GoString() string { return s.String() } -// SetDetails sets the Details field's value. -func (s *ActivityTaskFailedEventAttributes) SetDetails(v string) *ActivityTaskFailedEventAttributes { - s.Details = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *ActivityTaskFailedEventAttributes) SetReason(v string) *ActivityTaskFailedEventAttributes { - s.Reason = &v - return s -} - -// SetScheduledEventId sets the ScheduledEventId field's value. -func (s *ActivityTaskFailedEventAttributes) SetScheduledEventId(v int64) *ActivityTaskFailedEventAttributes { - s.ScheduledEventId = &v - return s -} - -// SetStartedEventId sets the StartedEventId field's value. -func (s *ActivityTaskFailedEventAttributes) SetStartedEventId(v int64) *ActivityTaskFailedEventAttributes { - s.StartedEventId = &v - return s -} - // Provides the details of the ActivityTaskScheduled event. type ActivityTaskScheduledEventAttributes struct { _ struct{} `type:"structure"` @@ -3054,72 +2976,6 @@ func (s ActivityTaskScheduledEventAttributes) GoString() string { return s.String() } -// SetActivityId sets the ActivityId field's value. -func (s *ActivityTaskScheduledEventAttributes) SetActivityId(v string) *ActivityTaskScheduledEventAttributes { - s.ActivityId = &v - return s -} - -// SetActivityType sets the ActivityType field's value. -func (s *ActivityTaskScheduledEventAttributes) SetActivityType(v *ActivityType) *ActivityTaskScheduledEventAttributes { - s.ActivityType = v - return s -} - -// SetControl sets the Control field's value. -func (s *ActivityTaskScheduledEventAttributes) SetControl(v string) *ActivityTaskScheduledEventAttributes { - s.Control = &v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *ActivityTaskScheduledEventAttributes) SetDecisionTaskCompletedEventId(v int64) *ActivityTaskScheduledEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - -// SetHeartbeatTimeout sets the HeartbeatTimeout field's value. -func (s *ActivityTaskScheduledEventAttributes) SetHeartbeatTimeout(v string) *ActivityTaskScheduledEventAttributes { - s.HeartbeatTimeout = &v - return s -} - -// SetInput sets the Input field's value. -func (s *ActivityTaskScheduledEventAttributes) SetInput(v string) *ActivityTaskScheduledEventAttributes { - s.Input = &v - return s -} - -// SetScheduleToCloseTimeout sets the ScheduleToCloseTimeout field's value. -func (s *ActivityTaskScheduledEventAttributes) SetScheduleToCloseTimeout(v string) *ActivityTaskScheduledEventAttributes { - s.ScheduleToCloseTimeout = &v - return s -} - -// SetScheduleToStartTimeout sets the ScheduleToStartTimeout field's value. -func (s *ActivityTaskScheduledEventAttributes) SetScheduleToStartTimeout(v string) *ActivityTaskScheduledEventAttributes { - s.ScheduleToStartTimeout = &v - return s -} - -// SetStartToCloseTimeout sets the StartToCloseTimeout field's value. -func (s *ActivityTaskScheduledEventAttributes) SetStartToCloseTimeout(v string) *ActivityTaskScheduledEventAttributes { - s.StartToCloseTimeout = &v - return s -} - -// SetTaskList sets the TaskList field's value. -func (s *ActivityTaskScheduledEventAttributes) SetTaskList(v *TaskList) *ActivityTaskScheduledEventAttributes { - s.TaskList = v - return s -} - -// SetTaskPriority sets the TaskPriority field's value. -func (s *ActivityTaskScheduledEventAttributes) SetTaskPriority(v string) *ActivityTaskScheduledEventAttributes { - s.TaskPriority = &v - return s -} - // Provides the details of the ActivityTaskStarted event. type ActivityTaskStartedEventAttributes struct { _ struct{} `type:"structure"` @@ -3146,18 +3002,6 @@ func (s ActivityTaskStartedEventAttributes) GoString() string { return s.String() } -// SetIdentity sets the Identity field's value. -func (s *ActivityTaskStartedEventAttributes) SetIdentity(v string) *ActivityTaskStartedEventAttributes { - s.Identity = &v - return s -} - -// SetScheduledEventId sets the ScheduledEventId field's value. -func (s *ActivityTaskStartedEventAttributes) SetScheduledEventId(v int64) *ActivityTaskStartedEventAttributes { - s.ScheduledEventId = &v - return s -} - // Provides the details of the ActivityTaskTimedOut event. type ActivityTaskTimedOutEventAttributes struct { _ struct{} `type:"structure"` @@ -3196,30 +3040,6 @@ func (s ActivityTaskTimedOutEventAttributes) GoString() string { return s.String() } -// SetDetails sets the Details field's value. -func (s *ActivityTaskTimedOutEventAttributes) SetDetails(v string) *ActivityTaskTimedOutEventAttributes { - s.Details = &v - return s -} - -// SetScheduledEventId sets the ScheduledEventId field's value. -func (s *ActivityTaskTimedOutEventAttributes) SetScheduledEventId(v int64) *ActivityTaskTimedOutEventAttributes { - s.ScheduledEventId = &v - return s -} - -// SetStartedEventId sets the StartedEventId field's value. -func (s *ActivityTaskTimedOutEventAttributes) SetStartedEventId(v int64) *ActivityTaskTimedOutEventAttributes { - s.StartedEventId = &v - return s -} - -// SetTimeoutType sets the TimeoutType field's value. -func (s *ActivityTaskTimedOutEventAttributes) SetTimeoutType(v ActivityTaskTimeoutType) *ActivityTaskTimedOutEventAttributes { - s.TimeoutType = v - return s -} - // Represents an activity type. type ActivityType struct { _ struct{} `type:"structure"` @@ -3275,18 +3095,6 @@ func (s *ActivityType) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *ActivityType) SetName(v string) *ActivityType { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *ActivityType) SetVersion(v string) *ActivityType { - s.Version = &v - return s -} - // Configuration settings registered with the activity type. type ActivityTypeConfiguration struct { _ struct{} `type:"structure"` @@ -3358,42 +3166,6 @@ func (s ActivityTypeConfiguration) GoString() string { return s.String() } -// SetDefaultTaskHeartbeatTimeout sets the DefaultTaskHeartbeatTimeout field's value. -func (s *ActivityTypeConfiguration) SetDefaultTaskHeartbeatTimeout(v string) *ActivityTypeConfiguration { - s.DefaultTaskHeartbeatTimeout = &v - return s -} - -// SetDefaultTaskList sets the DefaultTaskList field's value. -func (s *ActivityTypeConfiguration) SetDefaultTaskList(v *TaskList) *ActivityTypeConfiguration { - s.DefaultTaskList = v - return s -} - -// SetDefaultTaskPriority sets the DefaultTaskPriority field's value. -func (s *ActivityTypeConfiguration) SetDefaultTaskPriority(v string) *ActivityTypeConfiguration { - s.DefaultTaskPriority = &v - return s -} - -// SetDefaultTaskScheduleToCloseTimeout sets the DefaultTaskScheduleToCloseTimeout field's value. -func (s *ActivityTypeConfiguration) SetDefaultTaskScheduleToCloseTimeout(v string) *ActivityTypeConfiguration { - s.DefaultTaskScheduleToCloseTimeout = &v - return s -} - -// SetDefaultTaskScheduleToStartTimeout sets the DefaultTaskScheduleToStartTimeout field's value. -func (s *ActivityTypeConfiguration) SetDefaultTaskScheduleToStartTimeout(v string) *ActivityTypeConfiguration { - s.DefaultTaskScheduleToStartTimeout = &v - return s -} - -// SetDefaultTaskStartToCloseTimeout sets the DefaultTaskStartToCloseTimeout field's value. -func (s *ActivityTypeConfiguration) SetDefaultTaskStartToCloseTimeout(v string) *ActivityTypeConfiguration { - s.DefaultTaskStartToCloseTimeout = &v - return s -} - // Detailed information about an activity type. type ActivityTypeInfo struct { _ struct{} `type:"structure"` @@ -3430,36 +3202,6 @@ func (s ActivityTypeInfo) GoString() string { return s.String() } -// SetActivityType sets the ActivityType field's value. -func (s *ActivityTypeInfo) SetActivityType(v *ActivityType) *ActivityTypeInfo { - s.ActivityType = v - return s -} - -// SetCreationDate sets the CreationDate field's value. -func (s *ActivityTypeInfo) SetCreationDate(v time.Time) *ActivityTypeInfo { - s.CreationDate = &v - return s -} - -// SetDeprecationDate sets the DeprecationDate field's value. -func (s *ActivityTypeInfo) SetDeprecationDate(v time.Time) *ActivityTypeInfo { - s.DeprecationDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *ActivityTypeInfo) SetDescription(v string) *ActivityTypeInfo { - s.Description = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ActivityTypeInfo) SetStatus(v RegistrationStatus) *ActivityTypeInfo { - s.Status = v - return s -} - // Provides the details of the CancelTimer decision. // // Access Control @@ -3516,12 +3258,6 @@ func (s *CancelTimerDecisionAttributes) Validate() error { return nil } -// SetTimerId sets the TimerId field's value. -func (s *CancelTimerDecisionAttributes) SetTimerId(v string) *CancelTimerDecisionAttributes { - s.TimerId = &v - return s -} - // Provides the details of the CancelTimerFailed event. type CancelTimerFailedEventAttributes struct { _ struct{} `type:"structure"` @@ -3561,24 +3297,6 @@ func (s CancelTimerFailedEventAttributes) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *CancelTimerFailedEventAttributes) SetCause(v CancelTimerFailedCause) *CancelTimerFailedEventAttributes { - s.Cause = v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *CancelTimerFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *CancelTimerFailedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - -// SetTimerId sets the TimerId field's value. -func (s *CancelTimerFailedEventAttributes) SetTimerId(v string) *CancelTimerFailedEventAttributes { - s.TimerId = &v - return s -} - // Provides the details of the CancelWorkflowExecution decision. // // Access Control @@ -3616,12 +3334,6 @@ func (s CancelWorkflowExecutionDecisionAttributes) GoString() string { return s.String() } -// SetDetails sets the Details field's value. -func (s *CancelWorkflowExecutionDecisionAttributes) SetDetails(v string) *CancelWorkflowExecutionDecisionAttributes { - s.Details = &v - return s -} - // Provides the details of the CancelWorkflowExecutionFailed event. type CancelWorkflowExecutionFailedEventAttributes struct { _ struct{} `type:"structure"` @@ -3656,18 +3368,6 @@ func (s CancelWorkflowExecutionFailedEventAttributes) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *CancelWorkflowExecutionFailedEventAttributes) SetCause(v CancelWorkflowExecutionFailedCause) *CancelWorkflowExecutionFailedEventAttributes { - s.Cause = v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *CancelWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *CancelWorkflowExecutionFailedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - // Provide details of the ChildWorkflowExecutionCanceled event. type ChildWorkflowExecutionCanceledEventAttributes struct { _ struct{} `type:"structure"` @@ -3711,36 +3411,6 @@ func (s ChildWorkflowExecutionCanceledEventAttributes) GoString() string { return s.String() } -// SetDetails sets the Details field's value. -func (s *ChildWorkflowExecutionCanceledEventAttributes) SetDetails(v string) *ChildWorkflowExecutionCanceledEventAttributes { - s.Details = &v - return s -} - -// SetInitiatedEventId sets the InitiatedEventId field's value. -func (s *ChildWorkflowExecutionCanceledEventAttributes) SetInitiatedEventId(v int64) *ChildWorkflowExecutionCanceledEventAttributes { - s.InitiatedEventId = &v - return s -} - -// SetStartedEventId sets the StartedEventId field's value. -func (s *ChildWorkflowExecutionCanceledEventAttributes) SetStartedEventId(v int64) *ChildWorkflowExecutionCanceledEventAttributes { - s.StartedEventId = &v - return s -} - -// SetWorkflowExecution sets the WorkflowExecution field's value. -func (s *ChildWorkflowExecutionCanceledEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ChildWorkflowExecutionCanceledEventAttributes { - s.WorkflowExecution = v - return s -} - -// SetWorkflowType sets the WorkflowType field's value. -func (s *ChildWorkflowExecutionCanceledEventAttributes) SetWorkflowType(v *WorkflowType) *ChildWorkflowExecutionCanceledEventAttributes { - s.WorkflowType = v - return s -} - // Provides the details of the ChildWorkflowExecutionCompleted event. type ChildWorkflowExecutionCompletedEventAttributes struct { _ struct{} `type:"structure"` @@ -3784,36 +3454,6 @@ func (s ChildWorkflowExecutionCompletedEventAttributes) GoString() string { return s.String() } -// SetInitiatedEventId sets the InitiatedEventId field's value. -func (s *ChildWorkflowExecutionCompletedEventAttributes) SetInitiatedEventId(v int64) *ChildWorkflowExecutionCompletedEventAttributes { - s.InitiatedEventId = &v - return s -} - -// SetResult sets the Result field's value. -func (s *ChildWorkflowExecutionCompletedEventAttributes) SetResult(v string) *ChildWorkflowExecutionCompletedEventAttributes { - s.Result = &v - return s -} - -// SetStartedEventId sets the StartedEventId field's value. -func (s *ChildWorkflowExecutionCompletedEventAttributes) SetStartedEventId(v int64) *ChildWorkflowExecutionCompletedEventAttributes { - s.StartedEventId = &v - return s -} - -// SetWorkflowExecution sets the WorkflowExecution field's value. -func (s *ChildWorkflowExecutionCompletedEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ChildWorkflowExecutionCompletedEventAttributes { - s.WorkflowExecution = v - return s -} - -// SetWorkflowType sets the WorkflowType field's value. -func (s *ChildWorkflowExecutionCompletedEventAttributes) SetWorkflowType(v *WorkflowType) *ChildWorkflowExecutionCompletedEventAttributes { - s.WorkflowType = v - return s -} - // Provides the details of the ChildWorkflowExecutionFailed event. type ChildWorkflowExecutionFailedEventAttributes struct { _ struct{} `type:"structure"` @@ -3860,42 +3500,6 @@ func (s ChildWorkflowExecutionFailedEventAttributes) GoString() string { return s.String() } -// SetDetails sets the Details field's value. -func (s *ChildWorkflowExecutionFailedEventAttributes) SetDetails(v string) *ChildWorkflowExecutionFailedEventAttributes { - s.Details = &v - return s -} - -// SetInitiatedEventId sets the InitiatedEventId field's value. -func (s *ChildWorkflowExecutionFailedEventAttributes) SetInitiatedEventId(v int64) *ChildWorkflowExecutionFailedEventAttributes { - s.InitiatedEventId = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *ChildWorkflowExecutionFailedEventAttributes) SetReason(v string) *ChildWorkflowExecutionFailedEventAttributes { - s.Reason = &v - return s -} - -// SetStartedEventId sets the StartedEventId field's value. -func (s *ChildWorkflowExecutionFailedEventAttributes) SetStartedEventId(v int64) *ChildWorkflowExecutionFailedEventAttributes { - s.StartedEventId = &v - return s -} - -// SetWorkflowExecution sets the WorkflowExecution field's value. -func (s *ChildWorkflowExecutionFailedEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ChildWorkflowExecutionFailedEventAttributes { - s.WorkflowExecution = v - return s -} - -// SetWorkflowType sets the WorkflowType field's value. -func (s *ChildWorkflowExecutionFailedEventAttributes) SetWorkflowType(v *WorkflowType) *ChildWorkflowExecutionFailedEventAttributes { - s.WorkflowType = v - return s -} - // Provides the details of the ChildWorkflowExecutionStarted event. type ChildWorkflowExecutionStartedEventAttributes struct { _ struct{} `type:"structure"` @@ -3929,24 +3533,6 @@ func (s ChildWorkflowExecutionStartedEventAttributes) GoString() string { return s.String() } -// SetInitiatedEventId sets the InitiatedEventId field's value. -func (s *ChildWorkflowExecutionStartedEventAttributes) SetInitiatedEventId(v int64) *ChildWorkflowExecutionStartedEventAttributes { - s.InitiatedEventId = &v - return s -} - -// SetWorkflowExecution sets the WorkflowExecution field's value. -func (s *ChildWorkflowExecutionStartedEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ChildWorkflowExecutionStartedEventAttributes { - s.WorkflowExecution = v - return s -} - -// SetWorkflowType sets the WorkflowType field's value. -func (s *ChildWorkflowExecutionStartedEventAttributes) SetWorkflowType(v *WorkflowType) *ChildWorkflowExecutionStartedEventAttributes { - s.WorkflowType = v - return s -} - // Provides the details of the ChildWorkflowExecutionTerminated event. type ChildWorkflowExecutionTerminatedEventAttributes struct { _ struct{} `type:"structure"` @@ -3987,30 +3573,6 @@ func (s ChildWorkflowExecutionTerminatedEventAttributes) GoString() string { return s.String() } -// SetInitiatedEventId sets the InitiatedEventId field's value. -func (s *ChildWorkflowExecutionTerminatedEventAttributes) SetInitiatedEventId(v int64) *ChildWorkflowExecutionTerminatedEventAttributes { - s.InitiatedEventId = &v - return s -} - -// SetStartedEventId sets the StartedEventId field's value. -func (s *ChildWorkflowExecutionTerminatedEventAttributes) SetStartedEventId(v int64) *ChildWorkflowExecutionTerminatedEventAttributes { - s.StartedEventId = &v - return s -} - -// SetWorkflowExecution sets the WorkflowExecution field's value. -func (s *ChildWorkflowExecutionTerminatedEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ChildWorkflowExecutionTerminatedEventAttributes { - s.WorkflowExecution = v - return s -} - -// SetWorkflowType sets the WorkflowType field's value. -func (s *ChildWorkflowExecutionTerminatedEventAttributes) SetWorkflowType(v *WorkflowType) *ChildWorkflowExecutionTerminatedEventAttributes { - s.WorkflowType = v - return s -} - // Provides the details of the ChildWorkflowExecutionTimedOut event. type ChildWorkflowExecutionTimedOutEventAttributes struct { _ struct{} `type:"structure"` @@ -4057,36 +3619,6 @@ func (s ChildWorkflowExecutionTimedOutEventAttributes) GoString() string { return s.String() } -// SetInitiatedEventId sets the InitiatedEventId field's value. -func (s *ChildWorkflowExecutionTimedOutEventAttributes) SetInitiatedEventId(v int64) *ChildWorkflowExecutionTimedOutEventAttributes { - s.InitiatedEventId = &v - return s -} - -// SetStartedEventId sets the StartedEventId field's value. -func (s *ChildWorkflowExecutionTimedOutEventAttributes) SetStartedEventId(v int64) *ChildWorkflowExecutionTimedOutEventAttributes { - s.StartedEventId = &v - return s -} - -// SetTimeoutType sets the TimeoutType field's value. -func (s *ChildWorkflowExecutionTimedOutEventAttributes) SetTimeoutType(v WorkflowExecutionTimeoutType) *ChildWorkflowExecutionTimedOutEventAttributes { - s.TimeoutType = v - return s -} - -// SetWorkflowExecution sets the WorkflowExecution field's value. -func (s *ChildWorkflowExecutionTimedOutEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ChildWorkflowExecutionTimedOutEventAttributes { - s.WorkflowExecution = v - return s -} - -// SetWorkflowType sets the WorkflowType field's value. -func (s *ChildWorkflowExecutionTimedOutEventAttributes) SetWorkflowType(v *WorkflowType) *ChildWorkflowExecutionTimedOutEventAttributes { - s.WorkflowType = v - return s -} - // Used to filter the closed workflow executions in visibility APIs by their // close status. type CloseStatusFilter struct { @@ -4122,12 +3654,6 @@ func (s *CloseStatusFilter) Validate() error { return nil } -// SetStatus sets the Status field's value. -func (s *CloseStatusFilter) SetStatus(v CloseStatus) *CloseStatusFilter { - s.Status = v - return s -} - // Provides the details of the CompleteWorkflowExecution decision. // // Access Control @@ -4166,12 +3692,6 @@ func (s CompleteWorkflowExecutionDecisionAttributes) GoString() string { return s.String() } -// SetResult sets the Result field's value. -func (s *CompleteWorkflowExecutionDecisionAttributes) SetResult(v string) *CompleteWorkflowExecutionDecisionAttributes { - s.Result = &v - return s -} - // Provides the details of the CompleteWorkflowExecutionFailed event. type CompleteWorkflowExecutionFailedEventAttributes struct { _ struct{} `type:"structure"` @@ -4206,18 +3726,6 @@ func (s CompleteWorkflowExecutionFailedEventAttributes) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *CompleteWorkflowExecutionFailedEventAttributes) SetCause(v CompleteWorkflowExecutionFailedCause) *CompleteWorkflowExecutionFailedEventAttributes { - s.Cause = v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *CompleteWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *CompleteWorkflowExecutionFailedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - // Provides the details of the ContinueAsNewWorkflowExecution decision. // // Access Control @@ -4357,60 +3865,6 @@ func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) Validate() error { return nil } -// SetChildPolicy sets the ChildPolicy field's value. -func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetChildPolicy(v ChildPolicy) *ContinueAsNewWorkflowExecutionDecisionAttributes { - s.ChildPolicy = v - return s -} - -// SetExecutionStartToCloseTimeout sets the ExecutionStartToCloseTimeout field's value. -func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetExecutionStartToCloseTimeout(v string) *ContinueAsNewWorkflowExecutionDecisionAttributes { - s.ExecutionStartToCloseTimeout = &v - return s -} - -// SetInput sets the Input field's value. -func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetInput(v string) *ContinueAsNewWorkflowExecutionDecisionAttributes { - s.Input = &v - return s -} - -// SetLambdaRole sets the LambdaRole field's value. -func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetLambdaRole(v string) *ContinueAsNewWorkflowExecutionDecisionAttributes { - s.LambdaRole = &v - return s -} - -// SetTagList sets the TagList field's value. -func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetTagList(v []string) *ContinueAsNewWorkflowExecutionDecisionAttributes { - s.TagList = v - return s -} - -// SetTaskList sets the TaskList field's value. -func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetTaskList(v *TaskList) *ContinueAsNewWorkflowExecutionDecisionAttributes { - s.TaskList = v - return s -} - -// SetTaskPriority sets the TaskPriority field's value. -func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetTaskPriority(v string) *ContinueAsNewWorkflowExecutionDecisionAttributes { - s.TaskPriority = &v - return s -} - -// SetTaskStartToCloseTimeout sets the TaskStartToCloseTimeout field's value. -func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetTaskStartToCloseTimeout(v string) *ContinueAsNewWorkflowExecutionDecisionAttributes { - s.TaskStartToCloseTimeout = &v - return s -} - -// SetWorkflowTypeVersion sets the WorkflowTypeVersion field's value. -func (s *ContinueAsNewWorkflowExecutionDecisionAttributes) SetWorkflowTypeVersion(v string) *ContinueAsNewWorkflowExecutionDecisionAttributes { - s.WorkflowTypeVersion = &v - return s -} - // Provides the details of the ContinueAsNewWorkflowExecutionFailed event. type ContinueAsNewWorkflowExecutionFailedEventAttributes struct { _ struct{} `type:"structure"` @@ -4445,18 +3899,6 @@ func (s ContinueAsNewWorkflowExecutionFailedEventAttributes) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *ContinueAsNewWorkflowExecutionFailedEventAttributes) SetCause(v ContinueAsNewWorkflowExecutionFailedCause) *ContinueAsNewWorkflowExecutionFailedEventAttributes { - s.Cause = v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *ContinueAsNewWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *ContinueAsNewWorkflowExecutionFailedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - type CountClosedWorkflowExecutionsInput struct { _ struct{} `type:"structure"` @@ -4564,48 +4006,6 @@ func (s *CountClosedWorkflowExecutionsInput) Validate() error { return nil } -// SetCloseStatusFilter sets the CloseStatusFilter field's value. -func (s *CountClosedWorkflowExecutionsInput) SetCloseStatusFilter(v *CloseStatusFilter) *CountClosedWorkflowExecutionsInput { - s.CloseStatusFilter = v - return s -} - -// SetCloseTimeFilter sets the CloseTimeFilter field's value. -func (s *CountClosedWorkflowExecutionsInput) SetCloseTimeFilter(v *ExecutionTimeFilter) *CountClosedWorkflowExecutionsInput { - s.CloseTimeFilter = v - return s -} - -// SetDomain sets the Domain field's value. -func (s *CountClosedWorkflowExecutionsInput) SetDomain(v string) *CountClosedWorkflowExecutionsInput { - s.Domain = &v - return s -} - -// SetExecutionFilter sets the ExecutionFilter field's value. -func (s *CountClosedWorkflowExecutionsInput) SetExecutionFilter(v *WorkflowExecutionFilter) *CountClosedWorkflowExecutionsInput { - s.ExecutionFilter = v - return s -} - -// SetStartTimeFilter sets the StartTimeFilter field's value. -func (s *CountClosedWorkflowExecutionsInput) SetStartTimeFilter(v *ExecutionTimeFilter) *CountClosedWorkflowExecutionsInput { - s.StartTimeFilter = v - return s -} - -// SetTagFilter sets the TagFilter field's value. -func (s *CountClosedWorkflowExecutionsInput) SetTagFilter(v *TagFilter) *CountClosedWorkflowExecutionsInput { - s.TagFilter = v - return s -} - -// SetTypeFilter sets the TypeFilter field's value. -func (s *CountClosedWorkflowExecutionsInput) SetTypeFilter(v *WorkflowTypeFilter) *CountClosedWorkflowExecutionsInput { - s.TypeFilter = v - return s -} - type CountOpenWorkflowExecutionsInput struct { _ struct{} `type:"structure"` @@ -4692,36 +4092,6 @@ func (s *CountOpenWorkflowExecutionsInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *CountOpenWorkflowExecutionsInput) SetDomain(v string) *CountOpenWorkflowExecutionsInput { - s.Domain = &v - return s -} - -// SetExecutionFilter sets the ExecutionFilter field's value. -func (s *CountOpenWorkflowExecutionsInput) SetExecutionFilter(v *WorkflowExecutionFilter) *CountOpenWorkflowExecutionsInput { - s.ExecutionFilter = v - return s -} - -// SetStartTimeFilter sets the StartTimeFilter field's value. -func (s *CountOpenWorkflowExecutionsInput) SetStartTimeFilter(v *ExecutionTimeFilter) *CountOpenWorkflowExecutionsInput { - s.StartTimeFilter = v - return s -} - -// SetTagFilter sets the TagFilter field's value. -func (s *CountOpenWorkflowExecutionsInput) SetTagFilter(v *TagFilter) *CountOpenWorkflowExecutionsInput { - s.TagFilter = v - return s -} - -// SetTypeFilter sets the TypeFilter field's value. -func (s *CountOpenWorkflowExecutionsInput) SetTypeFilter(v *WorkflowTypeFilter) *CountOpenWorkflowExecutionsInput { - s.TypeFilter = v - return s -} - // Contains the count of workflow executions returned from CountOpenWorkflowExecutions // or CountClosedWorkflowExecutions type CountOpenWorkflowExecutionsOutput struct { @@ -4754,18 +4124,6 @@ func (s CountOpenWorkflowExecutionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCount sets the Count field's value. -func (s *CountOpenWorkflowExecutionsOutput) SetCount(v int64) *CountOpenWorkflowExecutionsOutput { - s.Count = &v - return s -} - -// SetTruncated sets the Truncated field's value. -func (s *CountOpenWorkflowExecutionsOutput) SetTruncated(v bool) *CountOpenWorkflowExecutionsOutput { - s.Truncated = &v - return s -} - type CountPendingActivityTasksInput struct { _ struct{} `type:"structure"` @@ -4816,18 +4174,6 @@ func (s *CountPendingActivityTasksInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *CountPendingActivityTasksInput) SetDomain(v string) *CountPendingActivityTasksInput { - s.Domain = &v - return s -} - -// SetTaskList sets the TaskList field's value. -func (s *CountPendingActivityTasksInput) SetTaskList(v *TaskList) *CountPendingActivityTasksInput { - s.TaskList = v - return s -} - type CountPendingDecisionTasksInput struct { _ struct{} `type:"structure"` @@ -4878,18 +4224,6 @@ func (s *CountPendingDecisionTasksInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *CountPendingDecisionTasksInput) SetDomain(v string) *CountPendingDecisionTasksInput { - s.Domain = &v - return s -} - -// SetTaskList sets the TaskList field's value. -func (s *CountPendingDecisionTasksInput) SetTaskList(v *TaskList) *CountPendingDecisionTasksInput { - s.TaskList = v - return s -} - // Contains the count of tasks in a task list. type CountPendingDecisionTasksOutput struct { _ struct{} `type:"structure"` @@ -4921,18 +4255,6 @@ func (s CountPendingDecisionTasksOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCount sets the Count field's value. -func (s *CountPendingDecisionTasksOutput) SetCount(v int64) *CountPendingDecisionTasksOutput { - s.Count = &v - return s -} - -// SetTruncated sets the Truncated field's value. -func (s *CountPendingDecisionTasksOutput) SetTruncated(v bool) *CountPendingDecisionTasksOutput { - s.Truncated = &v - return s -} - // Specifies a decision made by the decider. A decision can be one of these // types: // @@ -5234,90 +4556,6 @@ func (s *Decision) Validate() error { return nil } -// SetCancelTimerDecisionAttributes sets the CancelTimerDecisionAttributes field's value. -func (s *Decision) SetCancelTimerDecisionAttributes(v *CancelTimerDecisionAttributes) *Decision { - s.CancelTimerDecisionAttributes = v - return s -} - -// SetCancelWorkflowExecutionDecisionAttributes sets the CancelWorkflowExecutionDecisionAttributes field's value. -func (s *Decision) SetCancelWorkflowExecutionDecisionAttributes(v *CancelWorkflowExecutionDecisionAttributes) *Decision { - s.CancelWorkflowExecutionDecisionAttributes = v - return s -} - -// SetCompleteWorkflowExecutionDecisionAttributes sets the CompleteWorkflowExecutionDecisionAttributes field's value. -func (s *Decision) SetCompleteWorkflowExecutionDecisionAttributes(v *CompleteWorkflowExecutionDecisionAttributes) *Decision { - s.CompleteWorkflowExecutionDecisionAttributes = v - return s -} - -// SetContinueAsNewWorkflowExecutionDecisionAttributes sets the ContinueAsNewWorkflowExecutionDecisionAttributes field's value. -func (s *Decision) SetContinueAsNewWorkflowExecutionDecisionAttributes(v *ContinueAsNewWorkflowExecutionDecisionAttributes) *Decision { - s.ContinueAsNewWorkflowExecutionDecisionAttributes = v - return s -} - -// SetDecisionType sets the DecisionType field's value. -func (s *Decision) SetDecisionType(v DecisionType) *Decision { - s.DecisionType = v - return s -} - -// SetFailWorkflowExecutionDecisionAttributes sets the FailWorkflowExecutionDecisionAttributes field's value. -func (s *Decision) SetFailWorkflowExecutionDecisionAttributes(v *FailWorkflowExecutionDecisionAttributes) *Decision { - s.FailWorkflowExecutionDecisionAttributes = v - return s -} - -// SetRecordMarkerDecisionAttributes sets the RecordMarkerDecisionAttributes field's value. -func (s *Decision) SetRecordMarkerDecisionAttributes(v *RecordMarkerDecisionAttributes) *Decision { - s.RecordMarkerDecisionAttributes = v - return s -} - -// SetRequestCancelActivityTaskDecisionAttributes sets the RequestCancelActivityTaskDecisionAttributes field's value. -func (s *Decision) SetRequestCancelActivityTaskDecisionAttributes(v *RequestCancelActivityTaskDecisionAttributes) *Decision { - s.RequestCancelActivityTaskDecisionAttributes = v - return s -} - -// SetRequestCancelExternalWorkflowExecutionDecisionAttributes sets the RequestCancelExternalWorkflowExecutionDecisionAttributes field's value. -func (s *Decision) SetRequestCancelExternalWorkflowExecutionDecisionAttributes(v *RequestCancelExternalWorkflowExecutionDecisionAttributes) *Decision { - s.RequestCancelExternalWorkflowExecutionDecisionAttributes = v - return s -} - -// SetScheduleActivityTaskDecisionAttributes sets the ScheduleActivityTaskDecisionAttributes field's value. -func (s *Decision) SetScheduleActivityTaskDecisionAttributes(v *ScheduleActivityTaskDecisionAttributes) *Decision { - s.ScheduleActivityTaskDecisionAttributes = v - return s -} - -// SetScheduleLambdaFunctionDecisionAttributes sets the ScheduleLambdaFunctionDecisionAttributes field's value. -func (s *Decision) SetScheduleLambdaFunctionDecisionAttributes(v *ScheduleLambdaFunctionDecisionAttributes) *Decision { - s.ScheduleLambdaFunctionDecisionAttributes = v - return s -} - -// SetSignalExternalWorkflowExecutionDecisionAttributes sets the SignalExternalWorkflowExecutionDecisionAttributes field's value. -func (s *Decision) SetSignalExternalWorkflowExecutionDecisionAttributes(v *SignalExternalWorkflowExecutionDecisionAttributes) *Decision { - s.SignalExternalWorkflowExecutionDecisionAttributes = v - return s -} - -// SetStartChildWorkflowExecutionDecisionAttributes sets the StartChildWorkflowExecutionDecisionAttributes field's value. -func (s *Decision) SetStartChildWorkflowExecutionDecisionAttributes(v *StartChildWorkflowExecutionDecisionAttributes) *Decision { - s.StartChildWorkflowExecutionDecisionAttributes = v - return s -} - -// SetStartTimerDecisionAttributes sets the StartTimerDecisionAttributes field's value. -func (s *Decision) SetStartTimerDecisionAttributes(v *StartTimerDecisionAttributes) *Decision { - s.StartTimerDecisionAttributes = v - return s -} - // Provides the details of the DecisionTaskCompleted event. type DecisionTaskCompletedEventAttributes struct { _ struct{} `type:"structure"` @@ -5350,24 +4588,6 @@ func (s DecisionTaskCompletedEventAttributes) GoString() string { return s.String() } -// SetExecutionContext sets the ExecutionContext field's value. -func (s *DecisionTaskCompletedEventAttributes) SetExecutionContext(v string) *DecisionTaskCompletedEventAttributes { - s.ExecutionContext = &v - return s -} - -// SetScheduledEventId sets the ScheduledEventId field's value. -func (s *DecisionTaskCompletedEventAttributes) SetScheduledEventId(v int64) *DecisionTaskCompletedEventAttributes { - s.ScheduledEventId = &v - return s -} - -// SetStartedEventId sets the StartedEventId field's value. -func (s *DecisionTaskCompletedEventAttributes) SetStartedEventId(v int64) *DecisionTaskCompletedEventAttributes { - s.StartedEventId = &v - return s -} - // Provides details about the DecisionTaskScheduled event. type DecisionTaskScheduledEventAttributes struct { _ struct{} `type:"structure"` @@ -5404,24 +4624,6 @@ func (s DecisionTaskScheduledEventAttributes) GoString() string { return s.String() } -// SetStartToCloseTimeout sets the StartToCloseTimeout field's value. -func (s *DecisionTaskScheduledEventAttributes) SetStartToCloseTimeout(v string) *DecisionTaskScheduledEventAttributes { - s.StartToCloseTimeout = &v - return s -} - -// SetTaskList sets the TaskList field's value. -func (s *DecisionTaskScheduledEventAttributes) SetTaskList(v *TaskList) *DecisionTaskScheduledEventAttributes { - s.TaskList = v - return s -} - -// SetTaskPriority sets the TaskPriority field's value. -func (s *DecisionTaskScheduledEventAttributes) SetTaskPriority(v string) *DecisionTaskScheduledEventAttributes { - s.TaskPriority = &v - return s -} - // Provides the details of the DecisionTaskStarted event. type DecisionTaskStartedEventAttributes struct { _ struct{} `type:"structure"` @@ -5448,18 +4650,6 @@ func (s DecisionTaskStartedEventAttributes) GoString() string { return s.String() } -// SetIdentity sets the Identity field's value. -func (s *DecisionTaskStartedEventAttributes) SetIdentity(v string) *DecisionTaskStartedEventAttributes { - s.Identity = &v - return s -} - -// SetScheduledEventId sets the ScheduledEventId field's value. -func (s *DecisionTaskStartedEventAttributes) SetScheduledEventId(v int64) *DecisionTaskStartedEventAttributes { - s.ScheduledEventId = &v - return s -} - // Provides the details of the DecisionTaskTimedOut event. type DecisionTaskTimedOutEventAttributes struct { _ struct{} `type:"structure"` @@ -5494,24 +4684,6 @@ func (s DecisionTaskTimedOutEventAttributes) GoString() string { return s.String() } -// SetScheduledEventId sets the ScheduledEventId field's value. -func (s *DecisionTaskTimedOutEventAttributes) SetScheduledEventId(v int64) *DecisionTaskTimedOutEventAttributes { - s.ScheduledEventId = &v - return s -} - -// SetStartedEventId sets the StartedEventId field's value. -func (s *DecisionTaskTimedOutEventAttributes) SetStartedEventId(v int64) *DecisionTaskTimedOutEventAttributes { - s.StartedEventId = &v - return s -} - -// SetTimeoutType sets the TimeoutType field's value. -func (s *DecisionTaskTimedOutEventAttributes) SetTimeoutType(v DecisionTaskTimeoutType) *DecisionTaskTimedOutEventAttributes { - s.TimeoutType = v - return s -} - type DeprecateActivityTypeInput struct { _ struct{} `type:"structure"` @@ -5562,18 +4734,6 @@ func (s *DeprecateActivityTypeInput) Validate() error { return nil } -// SetActivityType sets the ActivityType field's value. -func (s *DeprecateActivityTypeInput) SetActivityType(v *ActivityType) *DeprecateActivityTypeInput { - s.ActivityType = v - return s -} - -// SetDomain sets the Domain field's value. -func (s *DeprecateActivityTypeInput) SetDomain(v string) *DeprecateActivityTypeInput { - s.Domain = &v - return s -} - type DeprecateActivityTypeOutput struct { _ struct{} `type:"structure"` @@ -5631,12 +4791,6 @@ func (s *DeprecateDomainInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DeprecateDomainInput) SetName(v string) *DeprecateDomainInput { - s.Name = &v - return s -} - type DeprecateDomainOutput struct { _ struct{} `type:"structure"` @@ -5708,18 +4862,6 @@ func (s *DeprecateWorkflowTypeInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *DeprecateWorkflowTypeInput) SetDomain(v string) *DeprecateWorkflowTypeInput { - s.Domain = &v - return s -} - -// SetWorkflowType sets the WorkflowType field's value. -func (s *DeprecateWorkflowTypeInput) SetWorkflowType(v *WorkflowType) *DeprecateWorkflowTypeInput { - s.WorkflowType = v - return s -} - type DeprecateWorkflowTypeOutput struct { _ struct{} `type:"structure"` @@ -5792,18 +4934,6 @@ func (s *DescribeActivityTypeInput) Validate() error { return nil } -// SetActivityType sets the ActivityType field's value. -func (s *DescribeActivityTypeInput) SetActivityType(v *ActivityType) *DescribeActivityTypeInput { - s.ActivityType = v - return s -} - -// SetDomain sets the Domain field's value. -func (s *DescribeActivityTypeInput) SetDomain(v string) *DescribeActivityTypeInput { - s.Domain = &v - return s -} - // Detailed information about an activity type. type DescribeActivityTypeOutput struct { _ struct{} `type:"structure"` @@ -5846,18 +4976,6 @@ func (s DescribeActivityTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConfiguration sets the Configuration field's value. -func (s *DescribeActivityTypeOutput) SetConfiguration(v *ActivityTypeConfiguration) *DescribeActivityTypeOutput { - s.Configuration = v - return s -} - -// SetTypeInfo sets the TypeInfo field's value. -func (s *DescribeActivityTypeOutput) SetTypeInfo(v *ActivityTypeInfo) *DescribeActivityTypeOutput { - s.TypeInfo = v - return s -} - type DescribeDomainInput struct { _ struct{} `type:"structure"` @@ -5894,12 +5012,6 @@ func (s *DescribeDomainInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *DescribeDomainInput) SetName(v string) *DescribeDomainInput { - s.Name = &v - return s -} - // Contains details of a domain. type DescribeDomainOutput struct { _ struct{} `type:"structure"` @@ -5933,18 +5045,6 @@ func (s DescribeDomainOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConfiguration sets the Configuration field's value. -func (s *DescribeDomainOutput) SetConfiguration(v *DomainConfiguration) *DescribeDomainOutput { - s.Configuration = v - return s -} - -// SetDomainInfo sets the DomainInfo field's value. -func (s *DescribeDomainOutput) SetDomainInfo(v *DomainInfo) *DescribeDomainOutput { - s.DomainInfo = v - return s -} - type DescribeWorkflowExecutionInput struct { _ struct{} `type:"structure"` @@ -5995,18 +5095,6 @@ func (s *DescribeWorkflowExecutionInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *DescribeWorkflowExecutionInput) SetDomain(v string) *DescribeWorkflowExecutionInput { - s.Domain = &v - return s -} - -// SetExecution sets the Execution field's value. -func (s *DescribeWorkflowExecutionInput) SetExecution(v *WorkflowExecution) *DescribeWorkflowExecutionInput { - s.Execution = v - return s -} - // Contains details about a workflow execution. type DescribeWorkflowExecutionOutput struct { _ struct{} `type:"structure"` @@ -6056,36 +5144,6 @@ func (s DescribeWorkflowExecutionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExecutionConfiguration sets the ExecutionConfiguration field's value. -func (s *DescribeWorkflowExecutionOutput) SetExecutionConfiguration(v *WorkflowExecutionConfiguration) *DescribeWorkflowExecutionOutput { - s.ExecutionConfiguration = v - return s -} - -// SetExecutionInfo sets the ExecutionInfo field's value. -func (s *DescribeWorkflowExecutionOutput) SetExecutionInfo(v *WorkflowExecutionInfo) *DescribeWorkflowExecutionOutput { - s.ExecutionInfo = v - return s -} - -// SetLatestActivityTaskTimestamp sets the LatestActivityTaskTimestamp field's value. -func (s *DescribeWorkflowExecutionOutput) SetLatestActivityTaskTimestamp(v time.Time) *DescribeWorkflowExecutionOutput { - s.LatestActivityTaskTimestamp = &v - return s -} - -// SetLatestExecutionContext sets the LatestExecutionContext field's value. -func (s *DescribeWorkflowExecutionOutput) SetLatestExecutionContext(v string) *DescribeWorkflowExecutionOutput { - s.LatestExecutionContext = &v - return s -} - -// SetOpenCounts sets the OpenCounts field's value. -func (s *DescribeWorkflowExecutionOutput) SetOpenCounts(v *WorkflowExecutionOpenCounts) *DescribeWorkflowExecutionOutput { - s.OpenCounts = v - return s -} - type DescribeWorkflowTypeInput struct { _ struct{} `type:"structure"` @@ -6136,18 +5194,6 @@ func (s *DescribeWorkflowTypeInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *DescribeWorkflowTypeInput) SetDomain(v string) *DescribeWorkflowTypeInput { - s.Domain = &v - return s -} - -// SetWorkflowType sets the WorkflowType field's value. -func (s *DescribeWorkflowTypeInput) SetWorkflowType(v *WorkflowType) *DescribeWorkflowTypeInput { - s.WorkflowType = v - return s -} - // Contains details about a workflow type. type DescribeWorkflowTypeOutput struct { _ struct{} `type:"structure"` @@ -6190,18 +5236,6 @@ func (s DescribeWorkflowTypeOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetConfiguration sets the Configuration field's value. -func (s *DescribeWorkflowTypeOutput) SetConfiguration(v *WorkflowTypeConfiguration) *DescribeWorkflowTypeOutput { - s.Configuration = v - return s -} - -// SetTypeInfo sets the TypeInfo field's value. -func (s *DescribeWorkflowTypeOutput) SetTypeInfo(v *WorkflowTypeInfo) *DescribeWorkflowTypeOutput { - s.TypeInfo = v - return s -} - // Contains the configuration settings of a domain. type DomainConfiguration struct { _ struct{} `type:"structure"` @@ -6222,12 +5256,6 @@ func (s DomainConfiguration) GoString() string { return s.String() } -// SetWorkflowExecutionRetentionPeriodInDays sets the WorkflowExecutionRetentionPeriodInDays field's value. -func (s *DomainConfiguration) SetWorkflowExecutionRetentionPeriodInDays(v string) *DomainConfiguration { - s.WorkflowExecutionRetentionPeriodInDays = &v - return s -} - // Contains general information about a domain. type DomainInfo struct { _ struct{} `type:"structure"` @@ -6263,24 +5291,6 @@ func (s DomainInfo) GoString() string { return s.String() } -// SetDescription sets the Description field's value. -func (s *DomainInfo) SetDescription(v string) *DomainInfo { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *DomainInfo) SetName(v string) *DomainInfo { - s.Name = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *DomainInfo) SetStatus(v RegistrationStatus) *DomainInfo { - s.Status = v - return s -} - // Used to filter the workflow executions in visibility APIs by various time-based // rules. Each parameter, if specified, defines a rule that must be satisfied // by each returned query result. The parameter values are in the Unix Time @@ -6322,18 +5332,6 @@ func (s *ExecutionTimeFilter) Validate() error { return nil } -// SetLatestDate sets the LatestDate field's value. -func (s *ExecutionTimeFilter) SetLatestDate(v time.Time) *ExecutionTimeFilter { - s.LatestDate = &v - return s -} - -// SetOldestDate sets the OldestDate field's value. -func (s *ExecutionTimeFilter) SetOldestDate(v time.Time) *ExecutionTimeFilter { - s.OldestDate = &v - return s -} - // Provides the details of the ExternalWorkflowExecutionCancelRequested event. type ExternalWorkflowExecutionCancelRequestedEventAttributes struct { _ struct{} `type:"structure"` @@ -6362,18 +5360,6 @@ func (s ExternalWorkflowExecutionCancelRequestedEventAttributes) GoString() stri return s.String() } -// SetInitiatedEventId sets the InitiatedEventId field's value. -func (s *ExternalWorkflowExecutionCancelRequestedEventAttributes) SetInitiatedEventId(v int64) *ExternalWorkflowExecutionCancelRequestedEventAttributes { - s.InitiatedEventId = &v - return s -} - -// SetWorkflowExecution sets the WorkflowExecution field's value. -func (s *ExternalWorkflowExecutionCancelRequestedEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ExternalWorkflowExecutionCancelRequestedEventAttributes { - s.WorkflowExecution = v - return s -} - // Provides the details of the ExternalWorkflowExecutionSignaled event. type ExternalWorkflowExecutionSignaledEventAttributes struct { _ struct{} `type:"structure"` @@ -6402,18 +5388,6 @@ func (s ExternalWorkflowExecutionSignaledEventAttributes) GoString() string { return s.String() } -// SetInitiatedEventId sets the InitiatedEventId field's value. -func (s *ExternalWorkflowExecutionSignaledEventAttributes) SetInitiatedEventId(v int64) *ExternalWorkflowExecutionSignaledEventAttributes { - s.InitiatedEventId = &v - return s -} - -// SetWorkflowExecution sets the WorkflowExecution field's value. -func (s *ExternalWorkflowExecutionSignaledEventAttributes) SetWorkflowExecution(v *WorkflowExecution) *ExternalWorkflowExecutionSignaledEventAttributes { - s.WorkflowExecution = v - return s -} - // Provides the details of the FailWorkflowExecution decision. // // Access Control @@ -6454,18 +5428,6 @@ func (s FailWorkflowExecutionDecisionAttributes) GoString() string { return s.String() } -// SetDetails sets the Details field's value. -func (s *FailWorkflowExecutionDecisionAttributes) SetDetails(v string) *FailWorkflowExecutionDecisionAttributes { - s.Details = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *FailWorkflowExecutionDecisionAttributes) SetReason(v string) *FailWorkflowExecutionDecisionAttributes { - s.Reason = &v - return s -} - // Provides the details of the FailWorkflowExecutionFailed event. type FailWorkflowExecutionFailedEventAttributes struct { _ struct{} `type:"structure"` @@ -6500,18 +5462,6 @@ func (s FailWorkflowExecutionFailedEventAttributes) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *FailWorkflowExecutionFailedEventAttributes) SetCause(v FailWorkflowExecutionFailedCause) *FailWorkflowExecutionFailedEventAttributes { - s.Cause = v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *FailWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *FailWorkflowExecutionFailedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - type GetWorkflowExecutionHistoryInput struct { _ struct{} `type:"structure"` @@ -6583,36 +5533,6 @@ func (s *GetWorkflowExecutionHistoryInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *GetWorkflowExecutionHistoryInput) SetDomain(v string) *GetWorkflowExecutionHistoryInput { - s.Domain = &v - return s -} - -// SetExecution sets the Execution field's value. -func (s *GetWorkflowExecutionHistoryInput) SetExecution(v *WorkflowExecution) *GetWorkflowExecutionHistoryInput { - s.Execution = v - return s -} - -// SetMaximumPageSize sets the MaximumPageSize field's value. -func (s *GetWorkflowExecutionHistoryInput) SetMaximumPageSize(v int64) *GetWorkflowExecutionHistoryInput { - s.MaximumPageSize = &v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetWorkflowExecutionHistoryInput) SetNextPageToken(v string) *GetWorkflowExecutionHistoryInput { - s.NextPageToken = &v - return s -} - -// SetReverseOrder sets the ReverseOrder field's value. -func (s *GetWorkflowExecutionHistoryInput) SetReverseOrder(v bool) *GetWorkflowExecutionHistoryInput { - s.ReverseOrder = &v - return s -} - // Paginated representation of a workflow history for a workflow execution. // This is the up to date, complete and authoritative record of the events related // to all tasks and events in the life of the workflow execution. @@ -6650,18 +5570,6 @@ func (s GetWorkflowExecutionHistoryOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEvents sets the Events field's value. -func (s *GetWorkflowExecutionHistoryOutput) SetEvents(v []HistoryEvent) *GetWorkflowExecutionHistoryOutput { - s.Events = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *GetWorkflowExecutionHistoryOutput) SetNextPageToken(v string) *GetWorkflowExecutionHistoryOutput { - s.NextPageToken = &v - return s -} - // Event within a workflow execution. A history event can be one of these types: // // * ActivityTaskCancelRequested – A RequestCancelActivityTask decision was @@ -7084,348 +5992,6 @@ func (s HistoryEvent) GoString() string { return s.String() } -// SetActivityTaskCancelRequestedEventAttributes sets the ActivityTaskCancelRequestedEventAttributes field's value. -func (s *HistoryEvent) SetActivityTaskCancelRequestedEventAttributes(v *ActivityTaskCancelRequestedEventAttributes) *HistoryEvent { - s.ActivityTaskCancelRequestedEventAttributes = v - return s -} - -// SetActivityTaskCanceledEventAttributes sets the ActivityTaskCanceledEventAttributes field's value. -func (s *HistoryEvent) SetActivityTaskCanceledEventAttributes(v *ActivityTaskCanceledEventAttributes) *HistoryEvent { - s.ActivityTaskCanceledEventAttributes = v - return s -} - -// SetActivityTaskCompletedEventAttributes sets the ActivityTaskCompletedEventAttributes field's value. -func (s *HistoryEvent) SetActivityTaskCompletedEventAttributes(v *ActivityTaskCompletedEventAttributes) *HistoryEvent { - s.ActivityTaskCompletedEventAttributes = v - return s -} - -// SetActivityTaskFailedEventAttributes sets the ActivityTaskFailedEventAttributes field's value. -func (s *HistoryEvent) SetActivityTaskFailedEventAttributes(v *ActivityTaskFailedEventAttributes) *HistoryEvent { - s.ActivityTaskFailedEventAttributes = v - return s -} - -// SetActivityTaskScheduledEventAttributes sets the ActivityTaskScheduledEventAttributes field's value. -func (s *HistoryEvent) SetActivityTaskScheduledEventAttributes(v *ActivityTaskScheduledEventAttributes) *HistoryEvent { - s.ActivityTaskScheduledEventAttributes = v - return s -} - -// SetActivityTaskStartedEventAttributes sets the ActivityTaskStartedEventAttributes field's value. -func (s *HistoryEvent) SetActivityTaskStartedEventAttributes(v *ActivityTaskStartedEventAttributes) *HistoryEvent { - s.ActivityTaskStartedEventAttributes = v - return s -} - -// SetActivityTaskTimedOutEventAttributes sets the ActivityTaskTimedOutEventAttributes field's value. -func (s *HistoryEvent) SetActivityTaskTimedOutEventAttributes(v *ActivityTaskTimedOutEventAttributes) *HistoryEvent { - s.ActivityTaskTimedOutEventAttributes = v - return s -} - -// SetCancelTimerFailedEventAttributes sets the CancelTimerFailedEventAttributes field's value. -func (s *HistoryEvent) SetCancelTimerFailedEventAttributes(v *CancelTimerFailedEventAttributes) *HistoryEvent { - s.CancelTimerFailedEventAttributes = v - return s -} - -// SetCancelWorkflowExecutionFailedEventAttributes sets the CancelWorkflowExecutionFailedEventAttributes field's value. -func (s *HistoryEvent) SetCancelWorkflowExecutionFailedEventAttributes(v *CancelWorkflowExecutionFailedEventAttributes) *HistoryEvent { - s.CancelWorkflowExecutionFailedEventAttributes = v - return s -} - -// SetChildWorkflowExecutionCanceledEventAttributes sets the ChildWorkflowExecutionCanceledEventAttributes field's value. -func (s *HistoryEvent) SetChildWorkflowExecutionCanceledEventAttributes(v *ChildWorkflowExecutionCanceledEventAttributes) *HistoryEvent { - s.ChildWorkflowExecutionCanceledEventAttributes = v - return s -} - -// SetChildWorkflowExecutionCompletedEventAttributes sets the ChildWorkflowExecutionCompletedEventAttributes field's value. -func (s *HistoryEvent) SetChildWorkflowExecutionCompletedEventAttributes(v *ChildWorkflowExecutionCompletedEventAttributes) *HistoryEvent { - s.ChildWorkflowExecutionCompletedEventAttributes = v - return s -} - -// SetChildWorkflowExecutionFailedEventAttributes sets the ChildWorkflowExecutionFailedEventAttributes field's value. -func (s *HistoryEvent) SetChildWorkflowExecutionFailedEventAttributes(v *ChildWorkflowExecutionFailedEventAttributes) *HistoryEvent { - s.ChildWorkflowExecutionFailedEventAttributes = v - return s -} - -// SetChildWorkflowExecutionStartedEventAttributes sets the ChildWorkflowExecutionStartedEventAttributes field's value. -func (s *HistoryEvent) SetChildWorkflowExecutionStartedEventAttributes(v *ChildWorkflowExecutionStartedEventAttributes) *HistoryEvent { - s.ChildWorkflowExecutionStartedEventAttributes = v - return s -} - -// SetChildWorkflowExecutionTerminatedEventAttributes sets the ChildWorkflowExecutionTerminatedEventAttributes field's value. -func (s *HistoryEvent) SetChildWorkflowExecutionTerminatedEventAttributes(v *ChildWorkflowExecutionTerminatedEventAttributes) *HistoryEvent { - s.ChildWorkflowExecutionTerminatedEventAttributes = v - return s -} - -// SetChildWorkflowExecutionTimedOutEventAttributes sets the ChildWorkflowExecutionTimedOutEventAttributes field's value. -func (s *HistoryEvent) SetChildWorkflowExecutionTimedOutEventAttributes(v *ChildWorkflowExecutionTimedOutEventAttributes) *HistoryEvent { - s.ChildWorkflowExecutionTimedOutEventAttributes = v - return s -} - -// SetCompleteWorkflowExecutionFailedEventAttributes sets the CompleteWorkflowExecutionFailedEventAttributes field's value. -func (s *HistoryEvent) SetCompleteWorkflowExecutionFailedEventAttributes(v *CompleteWorkflowExecutionFailedEventAttributes) *HistoryEvent { - s.CompleteWorkflowExecutionFailedEventAttributes = v - return s -} - -// SetContinueAsNewWorkflowExecutionFailedEventAttributes sets the ContinueAsNewWorkflowExecutionFailedEventAttributes field's value. -func (s *HistoryEvent) SetContinueAsNewWorkflowExecutionFailedEventAttributes(v *ContinueAsNewWorkflowExecutionFailedEventAttributes) *HistoryEvent { - s.ContinueAsNewWorkflowExecutionFailedEventAttributes = v - return s -} - -// SetDecisionTaskCompletedEventAttributes sets the DecisionTaskCompletedEventAttributes field's value. -func (s *HistoryEvent) SetDecisionTaskCompletedEventAttributes(v *DecisionTaskCompletedEventAttributes) *HistoryEvent { - s.DecisionTaskCompletedEventAttributes = v - return s -} - -// SetDecisionTaskScheduledEventAttributes sets the DecisionTaskScheduledEventAttributes field's value. -func (s *HistoryEvent) SetDecisionTaskScheduledEventAttributes(v *DecisionTaskScheduledEventAttributes) *HistoryEvent { - s.DecisionTaskScheduledEventAttributes = v - return s -} - -// SetDecisionTaskStartedEventAttributes sets the DecisionTaskStartedEventAttributes field's value. -func (s *HistoryEvent) SetDecisionTaskStartedEventAttributes(v *DecisionTaskStartedEventAttributes) *HistoryEvent { - s.DecisionTaskStartedEventAttributes = v - return s -} - -// SetDecisionTaskTimedOutEventAttributes sets the DecisionTaskTimedOutEventAttributes field's value. -func (s *HistoryEvent) SetDecisionTaskTimedOutEventAttributes(v *DecisionTaskTimedOutEventAttributes) *HistoryEvent { - s.DecisionTaskTimedOutEventAttributes = v - return s -} - -// SetEventId sets the EventId field's value. -func (s *HistoryEvent) SetEventId(v int64) *HistoryEvent { - s.EventId = &v - return s -} - -// SetEventTimestamp sets the EventTimestamp field's value. -func (s *HistoryEvent) SetEventTimestamp(v time.Time) *HistoryEvent { - s.EventTimestamp = &v - return s -} - -// SetEventType sets the EventType field's value. -func (s *HistoryEvent) SetEventType(v EventType) *HistoryEvent { - s.EventType = v - return s -} - -// SetExternalWorkflowExecutionCancelRequestedEventAttributes sets the ExternalWorkflowExecutionCancelRequestedEventAttributes field's value. -func (s *HistoryEvent) SetExternalWorkflowExecutionCancelRequestedEventAttributes(v *ExternalWorkflowExecutionCancelRequestedEventAttributes) *HistoryEvent { - s.ExternalWorkflowExecutionCancelRequestedEventAttributes = v - return s -} - -// SetExternalWorkflowExecutionSignaledEventAttributes sets the ExternalWorkflowExecutionSignaledEventAttributes field's value. -func (s *HistoryEvent) SetExternalWorkflowExecutionSignaledEventAttributes(v *ExternalWorkflowExecutionSignaledEventAttributes) *HistoryEvent { - s.ExternalWorkflowExecutionSignaledEventAttributes = v - return s -} - -// SetFailWorkflowExecutionFailedEventAttributes sets the FailWorkflowExecutionFailedEventAttributes field's value. -func (s *HistoryEvent) SetFailWorkflowExecutionFailedEventAttributes(v *FailWorkflowExecutionFailedEventAttributes) *HistoryEvent { - s.FailWorkflowExecutionFailedEventAttributes = v - return s -} - -// SetLambdaFunctionCompletedEventAttributes sets the LambdaFunctionCompletedEventAttributes field's value. -func (s *HistoryEvent) SetLambdaFunctionCompletedEventAttributes(v *LambdaFunctionCompletedEventAttributes) *HistoryEvent { - s.LambdaFunctionCompletedEventAttributes = v - return s -} - -// SetLambdaFunctionFailedEventAttributes sets the LambdaFunctionFailedEventAttributes field's value. -func (s *HistoryEvent) SetLambdaFunctionFailedEventAttributes(v *LambdaFunctionFailedEventAttributes) *HistoryEvent { - s.LambdaFunctionFailedEventAttributes = v - return s -} - -// SetLambdaFunctionScheduledEventAttributes sets the LambdaFunctionScheduledEventAttributes field's value. -func (s *HistoryEvent) SetLambdaFunctionScheduledEventAttributes(v *LambdaFunctionScheduledEventAttributes) *HistoryEvent { - s.LambdaFunctionScheduledEventAttributes = v - return s -} - -// SetLambdaFunctionStartedEventAttributes sets the LambdaFunctionStartedEventAttributes field's value. -func (s *HistoryEvent) SetLambdaFunctionStartedEventAttributes(v *LambdaFunctionStartedEventAttributes) *HistoryEvent { - s.LambdaFunctionStartedEventAttributes = v - return s -} - -// SetLambdaFunctionTimedOutEventAttributes sets the LambdaFunctionTimedOutEventAttributes field's value. -func (s *HistoryEvent) SetLambdaFunctionTimedOutEventAttributes(v *LambdaFunctionTimedOutEventAttributes) *HistoryEvent { - s.LambdaFunctionTimedOutEventAttributes = v - return s -} - -// SetMarkerRecordedEventAttributes sets the MarkerRecordedEventAttributes field's value. -func (s *HistoryEvent) SetMarkerRecordedEventAttributes(v *MarkerRecordedEventAttributes) *HistoryEvent { - s.MarkerRecordedEventAttributes = v - return s -} - -// SetRecordMarkerFailedEventAttributes sets the RecordMarkerFailedEventAttributes field's value. -func (s *HistoryEvent) SetRecordMarkerFailedEventAttributes(v *RecordMarkerFailedEventAttributes) *HistoryEvent { - s.RecordMarkerFailedEventAttributes = v - return s -} - -// SetRequestCancelActivityTaskFailedEventAttributes sets the RequestCancelActivityTaskFailedEventAttributes field's value. -func (s *HistoryEvent) SetRequestCancelActivityTaskFailedEventAttributes(v *RequestCancelActivityTaskFailedEventAttributes) *HistoryEvent { - s.RequestCancelActivityTaskFailedEventAttributes = v - return s -} - -// SetRequestCancelExternalWorkflowExecutionFailedEventAttributes sets the RequestCancelExternalWorkflowExecutionFailedEventAttributes field's value. -func (s *HistoryEvent) SetRequestCancelExternalWorkflowExecutionFailedEventAttributes(v *RequestCancelExternalWorkflowExecutionFailedEventAttributes) *HistoryEvent { - s.RequestCancelExternalWorkflowExecutionFailedEventAttributes = v - return s -} - -// SetRequestCancelExternalWorkflowExecutionInitiatedEventAttributes sets the RequestCancelExternalWorkflowExecutionInitiatedEventAttributes field's value. -func (s *HistoryEvent) SetRequestCancelExternalWorkflowExecutionInitiatedEventAttributes(v *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) *HistoryEvent { - s.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = v - return s -} - -// SetScheduleActivityTaskFailedEventAttributes sets the ScheduleActivityTaskFailedEventAttributes field's value. -func (s *HistoryEvent) SetScheduleActivityTaskFailedEventAttributes(v *ScheduleActivityTaskFailedEventAttributes) *HistoryEvent { - s.ScheduleActivityTaskFailedEventAttributes = v - return s -} - -// SetScheduleLambdaFunctionFailedEventAttributes sets the ScheduleLambdaFunctionFailedEventAttributes field's value. -func (s *HistoryEvent) SetScheduleLambdaFunctionFailedEventAttributes(v *ScheduleLambdaFunctionFailedEventAttributes) *HistoryEvent { - s.ScheduleLambdaFunctionFailedEventAttributes = v - return s -} - -// SetSignalExternalWorkflowExecutionFailedEventAttributes sets the SignalExternalWorkflowExecutionFailedEventAttributes field's value. -func (s *HistoryEvent) SetSignalExternalWorkflowExecutionFailedEventAttributes(v *SignalExternalWorkflowExecutionFailedEventAttributes) *HistoryEvent { - s.SignalExternalWorkflowExecutionFailedEventAttributes = v - return s -} - -// SetSignalExternalWorkflowExecutionInitiatedEventAttributes sets the SignalExternalWorkflowExecutionInitiatedEventAttributes field's value. -func (s *HistoryEvent) SetSignalExternalWorkflowExecutionInitiatedEventAttributes(v *SignalExternalWorkflowExecutionInitiatedEventAttributes) *HistoryEvent { - s.SignalExternalWorkflowExecutionInitiatedEventAttributes = v - return s -} - -// SetStartChildWorkflowExecutionFailedEventAttributes sets the StartChildWorkflowExecutionFailedEventAttributes field's value. -func (s *HistoryEvent) SetStartChildWorkflowExecutionFailedEventAttributes(v *StartChildWorkflowExecutionFailedEventAttributes) *HistoryEvent { - s.StartChildWorkflowExecutionFailedEventAttributes = v - return s -} - -// SetStartChildWorkflowExecutionInitiatedEventAttributes sets the StartChildWorkflowExecutionInitiatedEventAttributes field's value. -func (s *HistoryEvent) SetStartChildWorkflowExecutionInitiatedEventAttributes(v *StartChildWorkflowExecutionInitiatedEventAttributes) *HistoryEvent { - s.StartChildWorkflowExecutionInitiatedEventAttributes = v - return s -} - -// SetStartLambdaFunctionFailedEventAttributes sets the StartLambdaFunctionFailedEventAttributes field's value. -func (s *HistoryEvent) SetStartLambdaFunctionFailedEventAttributes(v *StartLambdaFunctionFailedEventAttributes) *HistoryEvent { - s.StartLambdaFunctionFailedEventAttributes = v - return s -} - -// SetStartTimerFailedEventAttributes sets the StartTimerFailedEventAttributes field's value. -func (s *HistoryEvent) SetStartTimerFailedEventAttributes(v *StartTimerFailedEventAttributes) *HistoryEvent { - s.StartTimerFailedEventAttributes = v - return s -} - -// SetTimerCanceledEventAttributes sets the TimerCanceledEventAttributes field's value. -func (s *HistoryEvent) SetTimerCanceledEventAttributes(v *TimerCanceledEventAttributes) *HistoryEvent { - s.TimerCanceledEventAttributes = v - return s -} - -// SetTimerFiredEventAttributes sets the TimerFiredEventAttributes field's value. -func (s *HistoryEvent) SetTimerFiredEventAttributes(v *TimerFiredEventAttributes) *HistoryEvent { - s.TimerFiredEventAttributes = v - return s -} - -// SetTimerStartedEventAttributes sets the TimerStartedEventAttributes field's value. -func (s *HistoryEvent) SetTimerStartedEventAttributes(v *TimerStartedEventAttributes) *HistoryEvent { - s.TimerStartedEventAttributes = v - return s -} - -// SetWorkflowExecutionCancelRequestedEventAttributes sets the WorkflowExecutionCancelRequestedEventAttributes field's value. -func (s *HistoryEvent) SetWorkflowExecutionCancelRequestedEventAttributes(v *WorkflowExecutionCancelRequestedEventAttributes) *HistoryEvent { - s.WorkflowExecutionCancelRequestedEventAttributes = v - return s -} - -// SetWorkflowExecutionCanceledEventAttributes sets the WorkflowExecutionCanceledEventAttributes field's value. -func (s *HistoryEvent) SetWorkflowExecutionCanceledEventAttributes(v *WorkflowExecutionCanceledEventAttributes) *HistoryEvent { - s.WorkflowExecutionCanceledEventAttributes = v - return s -} - -// SetWorkflowExecutionCompletedEventAttributes sets the WorkflowExecutionCompletedEventAttributes field's value. -func (s *HistoryEvent) SetWorkflowExecutionCompletedEventAttributes(v *WorkflowExecutionCompletedEventAttributes) *HistoryEvent { - s.WorkflowExecutionCompletedEventAttributes = v - return s -} - -// SetWorkflowExecutionContinuedAsNewEventAttributes sets the WorkflowExecutionContinuedAsNewEventAttributes field's value. -func (s *HistoryEvent) SetWorkflowExecutionContinuedAsNewEventAttributes(v *WorkflowExecutionContinuedAsNewEventAttributes) *HistoryEvent { - s.WorkflowExecutionContinuedAsNewEventAttributes = v - return s -} - -// SetWorkflowExecutionFailedEventAttributes sets the WorkflowExecutionFailedEventAttributes field's value. -func (s *HistoryEvent) SetWorkflowExecutionFailedEventAttributes(v *WorkflowExecutionFailedEventAttributes) *HistoryEvent { - s.WorkflowExecutionFailedEventAttributes = v - return s -} - -// SetWorkflowExecutionSignaledEventAttributes sets the WorkflowExecutionSignaledEventAttributes field's value. -func (s *HistoryEvent) SetWorkflowExecutionSignaledEventAttributes(v *WorkflowExecutionSignaledEventAttributes) *HistoryEvent { - s.WorkflowExecutionSignaledEventAttributes = v - return s -} - -// SetWorkflowExecutionStartedEventAttributes sets the WorkflowExecutionStartedEventAttributes field's value. -func (s *HistoryEvent) SetWorkflowExecutionStartedEventAttributes(v *WorkflowExecutionStartedEventAttributes) *HistoryEvent { - s.WorkflowExecutionStartedEventAttributes = v - return s -} - -// SetWorkflowExecutionTerminatedEventAttributes sets the WorkflowExecutionTerminatedEventAttributes field's value. -func (s *HistoryEvent) SetWorkflowExecutionTerminatedEventAttributes(v *WorkflowExecutionTerminatedEventAttributes) *HistoryEvent { - s.WorkflowExecutionTerminatedEventAttributes = v - return s -} - -// SetWorkflowExecutionTimedOutEventAttributes sets the WorkflowExecutionTimedOutEventAttributes field's value. -func (s *HistoryEvent) SetWorkflowExecutionTimedOutEventAttributes(v *WorkflowExecutionTimedOutEventAttributes) *HistoryEvent { - s.WorkflowExecutionTimedOutEventAttributes = v - return s -} - // Provides the details of the LambdaFunctionCompleted event. It isn't set for // other event types. type LambdaFunctionCompletedEventAttributes struct { @@ -7459,24 +6025,6 @@ func (s LambdaFunctionCompletedEventAttributes) GoString() string { return s.String() } -// SetResult sets the Result field's value. -func (s *LambdaFunctionCompletedEventAttributes) SetResult(v string) *LambdaFunctionCompletedEventAttributes { - s.Result = &v - return s -} - -// SetScheduledEventId sets the ScheduledEventId field's value. -func (s *LambdaFunctionCompletedEventAttributes) SetScheduledEventId(v int64) *LambdaFunctionCompletedEventAttributes { - s.ScheduledEventId = &v - return s -} - -// SetStartedEventId sets the StartedEventId field's value. -func (s *LambdaFunctionCompletedEventAttributes) SetStartedEventId(v int64) *LambdaFunctionCompletedEventAttributes { - s.StartedEventId = &v - return s -} - // Provides the details of the LambdaFunctionFailed event. It isn't set for // other event types. type LambdaFunctionFailedEventAttributes struct { @@ -7513,30 +6061,6 @@ func (s LambdaFunctionFailedEventAttributes) GoString() string { return s.String() } -// SetDetails sets the Details field's value. -func (s *LambdaFunctionFailedEventAttributes) SetDetails(v string) *LambdaFunctionFailedEventAttributes { - s.Details = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *LambdaFunctionFailedEventAttributes) SetReason(v string) *LambdaFunctionFailedEventAttributes { - s.Reason = &v - return s -} - -// SetScheduledEventId sets the ScheduledEventId field's value. -func (s *LambdaFunctionFailedEventAttributes) SetScheduledEventId(v int64) *LambdaFunctionFailedEventAttributes { - s.ScheduledEventId = &v - return s -} - -// SetStartedEventId sets the StartedEventId field's value. -func (s *LambdaFunctionFailedEventAttributes) SetStartedEventId(v int64) *LambdaFunctionFailedEventAttributes { - s.StartedEventId = &v - return s -} - // Provides the details of the LambdaFunctionScheduled event. It isn't set for // other event types. type LambdaFunctionScheduledEventAttributes struct { @@ -7581,42 +6105,6 @@ func (s LambdaFunctionScheduledEventAttributes) GoString() string { return s.String() } -// SetControl sets the Control field's value. -func (s *LambdaFunctionScheduledEventAttributes) SetControl(v string) *LambdaFunctionScheduledEventAttributes { - s.Control = &v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *LambdaFunctionScheduledEventAttributes) SetDecisionTaskCompletedEventId(v int64) *LambdaFunctionScheduledEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - -// SetId sets the Id field's value. -func (s *LambdaFunctionScheduledEventAttributes) SetId(v string) *LambdaFunctionScheduledEventAttributes { - s.Id = &v - return s -} - -// SetInput sets the Input field's value. -func (s *LambdaFunctionScheduledEventAttributes) SetInput(v string) *LambdaFunctionScheduledEventAttributes { - s.Input = &v - return s -} - -// SetName sets the Name field's value. -func (s *LambdaFunctionScheduledEventAttributes) SetName(v string) *LambdaFunctionScheduledEventAttributes { - s.Name = &v - return s -} - -// SetStartToCloseTimeout sets the StartToCloseTimeout field's value. -func (s *LambdaFunctionScheduledEventAttributes) SetStartToCloseTimeout(v string) *LambdaFunctionScheduledEventAttributes { - s.StartToCloseTimeout = &v - return s -} - // Provides the details of the LambdaFunctionStarted event. It isn't set for // other event types. type LambdaFunctionStartedEventAttributes struct { @@ -7640,12 +6128,6 @@ func (s LambdaFunctionStartedEventAttributes) GoString() string { return s.String() } -// SetScheduledEventId sets the ScheduledEventId field's value. -func (s *LambdaFunctionStartedEventAttributes) SetScheduledEventId(v int64) *LambdaFunctionStartedEventAttributes { - s.ScheduledEventId = &v - return s -} - // Provides details of the LambdaFunctionTimedOut event. type LambdaFunctionTimedOutEventAttributes struct { _ struct{} `type:"structure"` @@ -7678,24 +6160,6 @@ func (s LambdaFunctionTimedOutEventAttributes) GoString() string { return s.String() } -// SetScheduledEventId sets the ScheduledEventId field's value. -func (s *LambdaFunctionTimedOutEventAttributes) SetScheduledEventId(v int64) *LambdaFunctionTimedOutEventAttributes { - s.ScheduledEventId = &v - return s -} - -// SetStartedEventId sets the StartedEventId field's value. -func (s *LambdaFunctionTimedOutEventAttributes) SetStartedEventId(v int64) *LambdaFunctionTimedOutEventAttributes { - s.StartedEventId = &v - return s -} - -// SetTimeoutType sets the TimeoutType field's value. -func (s *LambdaFunctionTimedOutEventAttributes) SetTimeoutType(v LambdaFunctionTimeoutType) *LambdaFunctionTimedOutEventAttributes { - s.TimeoutType = v - return s -} - type ListActivityTypesInput struct { _ struct{} `type:"structure"` @@ -7767,42 +6231,6 @@ func (s *ListActivityTypesInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *ListActivityTypesInput) SetDomain(v string) *ListActivityTypesInput { - s.Domain = &v - return s -} - -// SetMaximumPageSize sets the MaximumPageSize field's value. -func (s *ListActivityTypesInput) SetMaximumPageSize(v int64) *ListActivityTypesInput { - s.MaximumPageSize = &v - return s -} - -// SetName sets the Name field's value. -func (s *ListActivityTypesInput) SetName(v string) *ListActivityTypesInput { - s.Name = &v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListActivityTypesInput) SetNextPageToken(v string) *ListActivityTypesInput { - s.NextPageToken = &v - return s -} - -// SetRegistrationStatus sets the RegistrationStatus field's value. -func (s *ListActivityTypesInput) SetRegistrationStatus(v RegistrationStatus) *ListActivityTypesInput { - s.RegistrationStatus = v - return s -} - -// SetReverseOrder sets the ReverseOrder field's value. -func (s *ListActivityTypesInput) SetReverseOrder(v bool) *ListActivityTypesInput { - s.ReverseOrder = &v - return s -} - // Contains a paginated list of activity type information structures. type ListActivityTypesOutput struct { _ struct{} `type:"structure"` @@ -7838,18 +6266,6 @@ func (s ListActivityTypesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListActivityTypesOutput) SetNextPageToken(v string) *ListActivityTypesOutput { - s.NextPageToken = &v - return s -} - -// SetTypeInfos sets the TypeInfos field's value. -func (s *ListActivityTypesOutput) SetTypeInfos(v []ActivityTypeInfo) *ListActivityTypesOutput { - s.TypeInfos = v - return s -} - type ListClosedWorkflowExecutionsInput struct { _ struct{} `type:"structure"` @@ -7982,66 +6398,6 @@ func (s *ListClosedWorkflowExecutionsInput) Validate() error { return nil } -// SetCloseStatusFilter sets the CloseStatusFilter field's value. -func (s *ListClosedWorkflowExecutionsInput) SetCloseStatusFilter(v *CloseStatusFilter) *ListClosedWorkflowExecutionsInput { - s.CloseStatusFilter = v - return s -} - -// SetCloseTimeFilter sets the CloseTimeFilter field's value. -func (s *ListClosedWorkflowExecutionsInput) SetCloseTimeFilter(v *ExecutionTimeFilter) *ListClosedWorkflowExecutionsInput { - s.CloseTimeFilter = v - return s -} - -// SetDomain sets the Domain field's value. -func (s *ListClosedWorkflowExecutionsInput) SetDomain(v string) *ListClosedWorkflowExecutionsInput { - s.Domain = &v - return s -} - -// SetExecutionFilter sets the ExecutionFilter field's value. -func (s *ListClosedWorkflowExecutionsInput) SetExecutionFilter(v *WorkflowExecutionFilter) *ListClosedWorkflowExecutionsInput { - s.ExecutionFilter = v - return s -} - -// SetMaximumPageSize sets the MaximumPageSize field's value. -func (s *ListClosedWorkflowExecutionsInput) SetMaximumPageSize(v int64) *ListClosedWorkflowExecutionsInput { - s.MaximumPageSize = &v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListClosedWorkflowExecutionsInput) SetNextPageToken(v string) *ListClosedWorkflowExecutionsInput { - s.NextPageToken = &v - return s -} - -// SetReverseOrder sets the ReverseOrder field's value. -func (s *ListClosedWorkflowExecutionsInput) SetReverseOrder(v bool) *ListClosedWorkflowExecutionsInput { - s.ReverseOrder = &v - return s -} - -// SetStartTimeFilter sets the StartTimeFilter field's value. -func (s *ListClosedWorkflowExecutionsInput) SetStartTimeFilter(v *ExecutionTimeFilter) *ListClosedWorkflowExecutionsInput { - s.StartTimeFilter = v - return s -} - -// SetTagFilter sets the TagFilter field's value. -func (s *ListClosedWorkflowExecutionsInput) SetTagFilter(v *TagFilter) *ListClosedWorkflowExecutionsInput { - s.TagFilter = v - return s -} - -// SetTypeFilter sets the TypeFilter field's value. -func (s *ListClosedWorkflowExecutionsInput) SetTypeFilter(v *WorkflowTypeFilter) *ListClosedWorkflowExecutionsInput { - s.TypeFilter = v - return s -} - type ListDomainsInput struct { _ struct{} `type:"structure"` @@ -8095,30 +6451,6 @@ func (s *ListDomainsInput) Validate() error { return nil } -// SetMaximumPageSize sets the MaximumPageSize field's value. -func (s *ListDomainsInput) SetMaximumPageSize(v int64) *ListDomainsInput { - s.MaximumPageSize = &v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListDomainsInput) SetNextPageToken(v string) *ListDomainsInput { - s.NextPageToken = &v - return s -} - -// SetRegistrationStatus sets the RegistrationStatus field's value. -func (s *ListDomainsInput) SetRegistrationStatus(v RegistrationStatus) *ListDomainsInput { - s.RegistrationStatus = v - return s -} - -// SetReverseOrder sets the ReverseOrder field's value. -func (s *ListDomainsInput) SetReverseOrder(v bool) *ListDomainsInput { - s.ReverseOrder = &v - return s -} - // Contains a paginated collection of DomainInfo structures. type ListDomainsOutput struct { _ struct{} `type:"structure"` @@ -8154,18 +6486,6 @@ func (s ListDomainsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDomainInfos sets the DomainInfos field's value. -func (s *ListDomainsOutput) SetDomainInfos(v []DomainInfo) *ListDomainsOutput { - s.DomainInfos = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListDomainsOutput) SetNextPageToken(v string) *ListDomainsOutput { - s.NextPageToken = &v - return s -} - type ListOpenWorkflowExecutionsInput struct { _ struct{} `type:"structure"` @@ -8272,54 +6592,6 @@ func (s *ListOpenWorkflowExecutionsInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *ListOpenWorkflowExecutionsInput) SetDomain(v string) *ListOpenWorkflowExecutionsInput { - s.Domain = &v - return s -} - -// SetExecutionFilter sets the ExecutionFilter field's value. -func (s *ListOpenWorkflowExecutionsInput) SetExecutionFilter(v *WorkflowExecutionFilter) *ListOpenWorkflowExecutionsInput { - s.ExecutionFilter = v - return s -} - -// SetMaximumPageSize sets the MaximumPageSize field's value. -func (s *ListOpenWorkflowExecutionsInput) SetMaximumPageSize(v int64) *ListOpenWorkflowExecutionsInput { - s.MaximumPageSize = &v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListOpenWorkflowExecutionsInput) SetNextPageToken(v string) *ListOpenWorkflowExecutionsInput { - s.NextPageToken = &v - return s -} - -// SetReverseOrder sets the ReverseOrder field's value. -func (s *ListOpenWorkflowExecutionsInput) SetReverseOrder(v bool) *ListOpenWorkflowExecutionsInput { - s.ReverseOrder = &v - return s -} - -// SetStartTimeFilter sets the StartTimeFilter field's value. -func (s *ListOpenWorkflowExecutionsInput) SetStartTimeFilter(v *ExecutionTimeFilter) *ListOpenWorkflowExecutionsInput { - s.StartTimeFilter = v - return s -} - -// SetTagFilter sets the TagFilter field's value. -func (s *ListOpenWorkflowExecutionsInput) SetTagFilter(v *TagFilter) *ListOpenWorkflowExecutionsInput { - s.TagFilter = v - return s -} - -// SetTypeFilter sets the TypeFilter field's value. -func (s *ListOpenWorkflowExecutionsInput) SetTypeFilter(v *WorkflowTypeFilter) *ListOpenWorkflowExecutionsInput { - s.TypeFilter = v - return s -} - // Contains a paginated list of information about workflow executions. type ListOpenWorkflowExecutionsOutput struct { _ struct{} `type:"structure"` @@ -8355,18 +6627,6 @@ func (s ListOpenWorkflowExecutionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetExecutionInfos sets the ExecutionInfos field's value. -func (s *ListOpenWorkflowExecutionsOutput) SetExecutionInfos(v []WorkflowExecutionInfo) *ListOpenWorkflowExecutionsOutput { - s.ExecutionInfos = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListOpenWorkflowExecutionsOutput) SetNextPageToken(v string) *ListOpenWorkflowExecutionsOutput { - s.NextPageToken = &v - return s -} - type ListWorkflowTypesInput struct { _ struct{} `type:"structure"` @@ -8439,42 +6699,6 @@ func (s *ListWorkflowTypesInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *ListWorkflowTypesInput) SetDomain(v string) *ListWorkflowTypesInput { - s.Domain = &v - return s -} - -// SetMaximumPageSize sets the MaximumPageSize field's value. -func (s *ListWorkflowTypesInput) SetMaximumPageSize(v int64) *ListWorkflowTypesInput { - s.MaximumPageSize = &v - return s -} - -// SetName sets the Name field's value. -func (s *ListWorkflowTypesInput) SetName(v string) *ListWorkflowTypesInput { - s.Name = &v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListWorkflowTypesInput) SetNextPageToken(v string) *ListWorkflowTypesInput { - s.NextPageToken = &v - return s -} - -// SetRegistrationStatus sets the RegistrationStatus field's value. -func (s *ListWorkflowTypesInput) SetRegistrationStatus(v RegistrationStatus) *ListWorkflowTypesInput { - s.RegistrationStatus = v - return s -} - -// SetReverseOrder sets the ReverseOrder field's value. -func (s *ListWorkflowTypesInput) SetReverseOrder(v bool) *ListWorkflowTypesInput { - s.ReverseOrder = &v - return s -} - // Contains a paginated list of information structures about workflow types. type ListWorkflowTypesOutput struct { _ struct{} `type:"structure"` @@ -8510,18 +6734,6 @@ func (s ListWorkflowTypesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextPageToken sets the NextPageToken field's value. -func (s *ListWorkflowTypesOutput) SetNextPageToken(v string) *ListWorkflowTypesOutput { - s.NextPageToken = &v - return s -} - -// SetTypeInfos sets the TypeInfos field's value. -func (s *ListWorkflowTypesOutput) SetTypeInfos(v []WorkflowTypeInfo) *ListWorkflowTypesOutput { - s.TypeInfos = v - return s -} - // Provides the details of the MarkerRecorded event. type MarkerRecordedEventAttributes struct { _ struct{} `type:"structure"` @@ -8553,24 +6765,6 @@ func (s MarkerRecordedEventAttributes) GoString() string { return s.String() } -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *MarkerRecordedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *MarkerRecordedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - -// SetDetails sets the Details field's value. -func (s *MarkerRecordedEventAttributes) SetDetails(v string) *MarkerRecordedEventAttributes { - s.Details = &v - return s -} - -// SetMarkerName sets the MarkerName field's value. -func (s *MarkerRecordedEventAttributes) SetMarkerName(v string) *MarkerRecordedEventAttributes { - s.MarkerName = &v - return s -} - type PollForActivityTaskInput struct { _ struct{} `type:"structure"` @@ -8630,24 +6824,6 @@ func (s *PollForActivityTaskInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *PollForActivityTaskInput) SetDomain(v string) *PollForActivityTaskInput { - s.Domain = &v - return s -} - -// SetIdentity sets the Identity field's value. -func (s *PollForActivityTaskInput) SetIdentity(v string) *PollForActivityTaskInput { - s.Identity = &v - return s -} - -// SetTaskList sets the TaskList field's value. -func (s *PollForActivityTaskInput) SetTaskList(v *TaskList) *PollForActivityTaskInput { - s.TaskList = v - return s -} - // Unit of work sent to an activity worker. type PollForActivityTaskOutput struct { _ struct{} `type:"structure"` @@ -8701,42 +6877,6 @@ func (s PollForActivityTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetActivityId sets the ActivityId field's value. -func (s *PollForActivityTaskOutput) SetActivityId(v string) *PollForActivityTaskOutput { - s.ActivityId = &v - return s -} - -// SetActivityType sets the ActivityType field's value. -func (s *PollForActivityTaskOutput) SetActivityType(v *ActivityType) *PollForActivityTaskOutput { - s.ActivityType = v - return s -} - -// SetInput sets the Input field's value. -func (s *PollForActivityTaskOutput) SetInput(v string) *PollForActivityTaskOutput { - s.Input = &v - return s -} - -// SetStartedEventId sets the StartedEventId field's value. -func (s *PollForActivityTaskOutput) SetStartedEventId(v int64) *PollForActivityTaskOutput { - s.StartedEventId = &v - return s -} - -// SetTaskToken sets the TaskToken field's value. -func (s *PollForActivityTaskOutput) SetTaskToken(v string) *PollForActivityTaskOutput { - s.TaskToken = &v - return s -} - -// SetWorkflowExecution sets the WorkflowExecution field's value. -func (s *PollForActivityTaskOutput) SetWorkflowExecution(v *WorkflowExecution) *PollForActivityTaskOutput { - s.WorkflowExecution = v - return s -} - type PollForDecisionTaskInput struct { _ struct{} `type:"structure"` @@ -8822,42 +6962,6 @@ func (s *PollForDecisionTaskInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *PollForDecisionTaskInput) SetDomain(v string) *PollForDecisionTaskInput { - s.Domain = &v - return s -} - -// SetIdentity sets the Identity field's value. -func (s *PollForDecisionTaskInput) SetIdentity(v string) *PollForDecisionTaskInput { - s.Identity = &v - return s -} - -// SetMaximumPageSize sets the MaximumPageSize field's value. -func (s *PollForDecisionTaskInput) SetMaximumPageSize(v int64) *PollForDecisionTaskInput { - s.MaximumPageSize = &v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *PollForDecisionTaskInput) SetNextPageToken(v string) *PollForDecisionTaskInput { - s.NextPageToken = &v - return s -} - -// SetReverseOrder sets the ReverseOrder field's value. -func (s *PollForDecisionTaskInput) SetReverseOrder(v bool) *PollForDecisionTaskInput { - s.ReverseOrder = &v - return s -} - -// SetTaskList sets the TaskList field's value. -func (s *PollForDecisionTaskInput) SetTaskList(v *TaskList) *PollForDecisionTaskInput { - s.TaskList = v - return s -} - // A structure that represents a decision task. Decision tasks are sent to deciders // in order for them to make decisions. type PollForDecisionTaskOutput struct { @@ -8923,48 +7027,6 @@ func (s PollForDecisionTaskOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEvents sets the Events field's value. -func (s *PollForDecisionTaskOutput) SetEvents(v []HistoryEvent) *PollForDecisionTaskOutput { - s.Events = v - return s -} - -// SetNextPageToken sets the NextPageToken field's value. -func (s *PollForDecisionTaskOutput) SetNextPageToken(v string) *PollForDecisionTaskOutput { - s.NextPageToken = &v - return s -} - -// SetPreviousStartedEventId sets the PreviousStartedEventId field's value. -func (s *PollForDecisionTaskOutput) SetPreviousStartedEventId(v int64) *PollForDecisionTaskOutput { - s.PreviousStartedEventId = &v - return s -} - -// SetStartedEventId sets the StartedEventId field's value. -func (s *PollForDecisionTaskOutput) SetStartedEventId(v int64) *PollForDecisionTaskOutput { - s.StartedEventId = &v - return s -} - -// SetTaskToken sets the TaskToken field's value. -func (s *PollForDecisionTaskOutput) SetTaskToken(v string) *PollForDecisionTaskOutput { - s.TaskToken = &v - return s -} - -// SetWorkflowExecution sets the WorkflowExecution field's value. -func (s *PollForDecisionTaskOutput) SetWorkflowExecution(v *WorkflowExecution) *PollForDecisionTaskOutput { - s.WorkflowExecution = v - return s -} - -// SetWorkflowType sets the WorkflowType field's value. -func (s *PollForDecisionTaskOutput) SetWorkflowType(v *WorkflowType) *PollForDecisionTaskOutput { - s.WorkflowType = v - return s -} - type RecordActivityTaskHeartbeatInput struct { _ struct{} `type:"structure"` @@ -9008,18 +7070,6 @@ func (s *RecordActivityTaskHeartbeatInput) Validate() error { return nil } -// SetDetails sets the Details field's value. -func (s *RecordActivityTaskHeartbeatInput) SetDetails(v string) *RecordActivityTaskHeartbeatInput { - s.Details = &v - return s -} - -// SetTaskToken sets the TaskToken field's value. -func (s *RecordActivityTaskHeartbeatInput) SetTaskToken(v string) *RecordActivityTaskHeartbeatInput { - s.TaskToken = &v - return s -} - // Status information about an activity task. type RecordActivityTaskHeartbeatOutput struct { _ struct{} `type:"structure"` @@ -9047,12 +7097,6 @@ func (s RecordActivityTaskHeartbeatOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCancelRequested sets the CancelRequested field's value. -func (s *RecordActivityTaskHeartbeatOutput) SetCancelRequested(v bool) *RecordActivityTaskHeartbeatOutput { - s.CancelRequested = &v - return s -} - // Provides the details of the RecordMarker decision. // // Access Control @@ -9112,18 +7156,6 @@ func (s *RecordMarkerDecisionAttributes) Validate() error { return nil } -// SetDetails sets the Details field's value. -func (s *RecordMarkerDecisionAttributes) SetDetails(v string) *RecordMarkerDecisionAttributes { - s.Details = &v - return s -} - -// SetMarkerName sets the MarkerName field's value. -func (s *RecordMarkerDecisionAttributes) SetMarkerName(v string) *RecordMarkerDecisionAttributes { - s.MarkerName = &v - return s -} - // Provides the details of the RecordMarkerFailed event. type RecordMarkerFailedEventAttributes struct { _ struct{} `type:"structure"` @@ -9163,24 +7195,6 @@ func (s RecordMarkerFailedEventAttributes) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *RecordMarkerFailedEventAttributes) SetCause(v RecordMarkerFailedCause) *RecordMarkerFailedEventAttributes { - s.Cause = v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *RecordMarkerFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *RecordMarkerFailedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - -// SetMarkerName sets the MarkerName field's value. -func (s *RecordMarkerFailedEventAttributes) SetMarkerName(v string) *RecordMarkerFailedEventAttributes { - s.MarkerName = &v - return s -} - type RegisterActivityTypeInput struct { _ struct{} `type:"structure"` @@ -9312,66 +7326,6 @@ func (s *RegisterActivityTypeInput) Validate() error { return nil } -// SetDefaultTaskHeartbeatTimeout sets the DefaultTaskHeartbeatTimeout field's value. -func (s *RegisterActivityTypeInput) SetDefaultTaskHeartbeatTimeout(v string) *RegisterActivityTypeInput { - s.DefaultTaskHeartbeatTimeout = &v - return s -} - -// SetDefaultTaskList sets the DefaultTaskList field's value. -func (s *RegisterActivityTypeInput) SetDefaultTaskList(v *TaskList) *RegisterActivityTypeInput { - s.DefaultTaskList = v - return s -} - -// SetDefaultTaskPriority sets the DefaultTaskPriority field's value. -func (s *RegisterActivityTypeInput) SetDefaultTaskPriority(v string) *RegisterActivityTypeInput { - s.DefaultTaskPriority = &v - return s -} - -// SetDefaultTaskScheduleToCloseTimeout sets the DefaultTaskScheduleToCloseTimeout field's value. -func (s *RegisterActivityTypeInput) SetDefaultTaskScheduleToCloseTimeout(v string) *RegisterActivityTypeInput { - s.DefaultTaskScheduleToCloseTimeout = &v - return s -} - -// SetDefaultTaskScheduleToStartTimeout sets the DefaultTaskScheduleToStartTimeout field's value. -func (s *RegisterActivityTypeInput) SetDefaultTaskScheduleToStartTimeout(v string) *RegisterActivityTypeInput { - s.DefaultTaskScheduleToStartTimeout = &v - return s -} - -// SetDefaultTaskStartToCloseTimeout sets the DefaultTaskStartToCloseTimeout field's value. -func (s *RegisterActivityTypeInput) SetDefaultTaskStartToCloseTimeout(v string) *RegisterActivityTypeInput { - s.DefaultTaskStartToCloseTimeout = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *RegisterActivityTypeInput) SetDescription(v string) *RegisterActivityTypeInput { - s.Description = &v - return s -} - -// SetDomain sets the Domain field's value. -func (s *RegisterActivityTypeInput) SetDomain(v string) *RegisterActivityTypeInput { - s.Domain = &v - return s -} - -// SetName sets the Name field's value. -func (s *RegisterActivityTypeInput) SetName(v string) *RegisterActivityTypeInput { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *RegisterActivityTypeInput) SetVersion(v string) *RegisterActivityTypeInput { - s.Version = &v - return s -} - type RegisterActivityTypeOutput struct { _ struct{} `type:"structure"` @@ -9459,24 +7413,6 @@ func (s *RegisterDomainInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *RegisterDomainInput) SetDescription(v string) *RegisterDomainInput { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *RegisterDomainInput) SetName(v string) *RegisterDomainInput { - s.Name = &v - return s -} - -// SetWorkflowExecutionRetentionPeriodInDays sets the WorkflowExecutionRetentionPeriodInDays field's value. -func (s *RegisterDomainInput) SetWorkflowExecutionRetentionPeriodInDays(v string) *RegisterDomainInput { - s.WorkflowExecutionRetentionPeriodInDays = &v - return s -} - type RegisterDomainOutput struct { _ struct{} `type:"structure"` @@ -9643,66 +7579,6 @@ func (s *RegisterWorkflowTypeInput) Validate() error { return nil } -// SetDefaultChildPolicy sets the DefaultChildPolicy field's value. -func (s *RegisterWorkflowTypeInput) SetDefaultChildPolicy(v ChildPolicy) *RegisterWorkflowTypeInput { - s.DefaultChildPolicy = v - return s -} - -// SetDefaultExecutionStartToCloseTimeout sets the DefaultExecutionStartToCloseTimeout field's value. -func (s *RegisterWorkflowTypeInput) SetDefaultExecutionStartToCloseTimeout(v string) *RegisterWorkflowTypeInput { - s.DefaultExecutionStartToCloseTimeout = &v - return s -} - -// SetDefaultLambdaRole sets the DefaultLambdaRole field's value. -func (s *RegisterWorkflowTypeInput) SetDefaultLambdaRole(v string) *RegisterWorkflowTypeInput { - s.DefaultLambdaRole = &v - return s -} - -// SetDefaultTaskList sets the DefaultTaskList field's value. -func (s *RegisterWorkflowTypeInput) SetDefaultTaskList(v *TaskList) *RegisterWorkflowTypeInput { - s.DefaultTaskList = v - return s -} - -// SetDefaultTaskPriority sets the DefaultTaskPriority field's value. -func (s *RegisterWorkflowTypeInput) SetDefaultTaskPriority(v string) *RegisterWorkflowTypeInput { - s.DefaultTaskPriority = &v - return s -} - -// SetDefaultTaskStartToCloseTimeout sets the DefaultTaskStartToCloseTimeout field's value. -func (s *RegisterWorkflowTypeInput) SetDefaultTaskStartToCloseTimeout(v string) *RegisterWorkflowTypeInput { - s.DefaultTaskStartToCloseTimeout = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *RegisterWorkflowTypeInput) SetDescription(v string) *RegisterWorkflowTypeInput { - s.Description = &v - return s -} - -// SetDomain sets the Domain field's value. -func (s *RegisterWorkflowTypeInput) SetDomain(v string) *RegisterWorkflowTypeInput { - s.Domain = &v - return s -} - -// SetName sets the Name field's value. -func (s *RegisterWorkflowTypeInput) SetName(v string) *RegisterWorkflowTypeInput { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *RegisterWorkflowTypeInput) SetVersion(v string) *RegisterWorkflowTypeInput { - s.Version = &v - return s -} - type RegisterWorkflowTypeOutput struct { _ struct{} `type:"structure"` @@ -9780,12 +7656,6 @@ func (s *RequestCancelActivityTaskDecisionAttributes) Validate() error { return nil } -// SetActivityId sets the ActivityId field's value. -func (s *RequestCancelActivityTaskDecisionAttributes) SetActivityId(v string) *RequestCancelActivityTaskDecisionAttributes { - s.ActivityId = &v - return s -} - // Provides the details of the RequestCancelActivityTaskFailed event. type RequestCancelActivityTaskFailedEventAttributes struct { _ struct{} `type:"structure"` @@ -9825,24 +7695,6 @@ func (s RequestCancelActivityTaskFailedEventAttributes) GoString() string { return s.String() } -// SetActivityId sets the ActivityId field's value. -func (s *RequestCancelActivityTaskFailedEventAttributes) SetActivityId(v string) *RequestCancelActivityTaskFailedEventAttributes { - s.ActivityId = &v - return s -} - -// SetCause sets the Cause field's value. -func (s *RequestCancelActivityTaskFailedEventAttributes) SetCause(v RequestCancelActivityTaskFailedCause) *RequestCancelActivityTaskFailedEventAttributes { - s.Cause = v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *RequestCancelActivityTaskFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *RequestCancelActivityTaskFailedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - // Provides the details of the RequestCancelExternalWorkflowExecution decision. // // Access Control @@ -9906,24 +7758,6 @@ func (s *RequestCancelExternalWorkflowExecutionDecisionAttributes) Validate() er return nil } -// SetControl sets the Control field's value. -func (s *RequestCancelExternalWorkflowExecutionDecisionAttributes) SetControl(v string) *RequestCancelExternalWorkflowExecutionDecisionAttributes { - s.Control = &v - return s -} - -// SetRunId sets the RunId field's value. -func (s *RequestCancelExternalWorkflowExecutionDecisionAttributes) SetRunId(v string) *RequestCancelExternalWorkflowExecutionDecisionAttributes { - s.RunId = &v - return s -} - -// SetWorkflowId sets the WorkflowId field's value. -func (s *RequestCancelExternalWorkflowExecutionDecisionAttributes) SetWorkflowId(v string) *RequestCancelExternalWorkflowExecutionDecisionAttributes { - s.WorkflowId = &v - return s -} - // Provides the details of the RequestCancelExternalWorkflowExecutionFailed // event. type RequestCancelExternalWorkflowExecutionFailedEventAttributes struct { @@ -9980,42 +7814,6 @@ func (s RequestCancelExternalWorkflowExecutionFailedEventAttributes) GoString() return s.String() } -// SetCause sets the Cause field's value. -func (s *RequestCancelExternalWorkflowExecutionFailedEventAttributes) SetCause(v RequestCancelExternalWorkflowExecutionFailedCause) *RequestCancelExternalWorkflowExecutionFailedEventAttributes { - s.Cause = v - return s -} - -// SetControl sets the Control field's value. -func (s *RequestCancelExternalWorkflowExecutionFailedEventAttributes) SetControl(v string) *RequestCancelExternalWorkflowExecutionFailedEventAttributes { - s.Control = &v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *RequestCancelExternalWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *RequestCancelExternalWorkflowExecutionFailedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - -// SetInitiatedEventId sets the InitiatedEventId field's value. -func (s *RequestCancelExternalWorkflowExecutionFailedEventAttributes) SetInitiatedEventId(v int64) *RequestCancelExternalWorkflowExecutionFailedEventAttributes { - s.InitiatedEventId = &v - return s -} - -// SetRunId sets the RunId field's value. -func (s *RequestCancelExternalWorkflowExecutionFailedEventAttributes) SetRunId(v string) *RequestCancelExternalWorkflowExecutionFailedEventAttributes { - s.RunId = &v - return s -} - -// SetWorkflowId sets the WorkflowId field's value. -func (s *RequestCancelExternalWorkflowExecutionFailedEventAttributes) SetWorkflowId(v string) *RequestCancelExternalWorkflowExecutionFailedEventAttributes { - s.WorkflowId = &v - return s -} - // Provides the details of the RequestCancelExternalWorkflowExecutionInitiated // event. type RequestCancelExternalWorkflowExecutionInitiatedEventAttributes struct { @@ -10052,30 +7850,6 @@ func (s RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GoString return s.String() } -// SetControl sets the Control field's value. -func (s *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) SetControl(v string) *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes { - s.Control = &v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - -// SetRunId sets the RunId field's value. -func (s *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) SetRunId(v string) *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes { - s.RunId = &v - return s -} - -// SetWorkflowId sets the WorkflowId field's value. -func (s *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) SetWorkflowId(v string) *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes { - s.WorkflowId = &v - return s -} - type RequestCancelWorkflowExecutionInput struct { _ struct{} `type:"structure"` @@ -10127,24 +7901,6 @@ func (s *RequestCancelWorkflowExecutionInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *RequestCancelWorkflowExecutionInput) SetDomain(v string) *RequestCancelWorkflowExecutionInput { - s.Domain = &v - return s -} - -// SetRunId sets the RunId field's value. -func (s *RequestCancelWorkflowExecutionInput) SetRunId(v string) *RequestCancelWorkflowExecutionInput { - s.RunId = &v - return s -} - -// SetWorkflowId sets the WorkflowId field's value. -func (s *RequestCancelWorkflowExecutionInput) SetWorkflowId(v string) *RequestCancelWorkflowExecutionInput { - s.WorkflowId = &v - return s -} - type RequestCancelWorkflowExecutionOutput struct { _ struct{} `type:"structure"` @@ -10209,18 +7965,6 @@ func (s *RespondActivityTaskCanceledInput) Validate() error { return nil } -// SetDetails sets the Details field's value. -func (s *RespondActivityTaskCanceledInput) SetDetails(v string) *RespondActivityTaskCanceledInput { - s.Details = &v - return s -} - -// SetTaskToken sets the TaskToken field's value. -func (s *RespondActivityTaskCanceledInput) SetTaskToken(v string) *RespondActivityTaskCanceledInput { - s.TaskToken = &v - return s -} - type RespondActivityTaskCanceledOutput struct { _ struct{} `type:"structure"` @@ -10286,18 +8030,6 @@ func (s *RespondActivityTaskCompletedInput) Validate() error { return nil } -// SetResult sets the Result field's value. -func (s *RespondActivityTaskCompletedInput) SetResult(v string) *RespondActivityTaskCompletedInput { - s.Result = &v - return s -} - -// SetTaskToken sets the TaskToken field's value. -func (s *RespondActivityTaskCompletedInput) SetTaskToken(v string) *RespondActivityTaskCompletedInput { - s.TaskToken = &v - return s -} - type RespondActivityTaskCompletedOutput struct { _ struct{} `type:"structure"` @@ -10365,24 +8097,6 @@ func (s *RespondActivityTaskFailedInput) Validate() error { return nil } -// SetDetails sets the Details field's value. -func (s *RespondActivityTaskFailedInput) SetDetails(v string) *RespondActivityTaskFailedInput { - s.Details = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *RespondActivityTaskFailedInput) SetReason(v string) *RespondActivityTaskFailedInput { - s.Reason = &v - return s -} - -// SetTaskToken sets the TaskToken field's value. -func (s *RespondActivityTaskFailedInput) SetTaskToken(v string) *RespondActivityTaskFailedInput { - s.TaskToken = &v - return s -} - type RespondActivityTaskFailedOutput struct { _ struct{} `type:"structure"` @@ -10459,24 +8173,6 @@ func (s *RespondDecisionTaskCompletedInput) Validate() error { return nil } -// SetDecisions sets the Decisions field's value. -func (s *RespondDecisionTaskCompletedInput) SetDecisions(v []Decision) *RespondDecisionTaskCompletedInput { - s.Decisions = v - return s -} - -// SetExecutionContext sets the ExecutionContext field's value. -func (s *RespondDecisionTaskCompletedInput) SetExecutionContext(v string) *RespondDecisionTaskCompletedInput { - s.ExecutionContext = &v - return s -} - -// SetTaskToken sets the TaskToken field's value. -func (s *RespondDecisionTaskCompletedInput) SetTaskToken(v string) *RespondDecisionTaskCompletedInput { - s.TaskToken = &v - return s -} - type RespondDecisionTaskCompletedOutput struct { _ struct{} `type:"structure"` @@ -10664,66 +8360,6 @@ func (s *ScheduleActivityTaskDecisionAttributes) Validate() error { return nil } -// SetActivityId sets the ActivityId field's value. -func (s *ScheduleActivityTaskDecisionAttributes) SetActivityId(v string) *ScheduleActivityTaskDecisionAttributes { - s.ActivityId = &v - return s -} - -// SetActivityType sets the ActivityType field's value. -func (s *ScheduleActivityTaskDecisionAttributes) SetActivityType(v *ActivityType) *ScheduleActivityTaskDecisionAttributes { - s.ActivityType = v - return s -} - -// SetControl sets the Control field's value. -func (s *ScheduleActivityTaskDecisionAttributes) SetControl(v string) *ScheduleActivityTaskDecisionAttributes { - s.Control = &v - return s -} - -// SetHeartbeatTimeout sets the HeartbeatTimeout field's value. -func (s *ScheduleActivityTaskDecisionAttributes) SetHeartbeatTimeout(v string) *ScheduleActivityTaskDecisionAttributes { - s.HeartbeatTimeout = &v - return s -} - -// SetInput sets the Input field's value. -func (s *ScheduleActivityTaskDecisionAttributes) SetInput(v string) *ScheduleActivityTaskDecisionAttributes { - s.Input = &v - return s -} - -// SetScheduleToCloseTimeout sets the ScheduleToCloseTimeout field's value. -func (s *ScheduleActivityTaskDecisionAttributes) SetScheduleToCloseTimeout(v string) *ScheduleActivityTaskDecisionAttributes { - s.ScheduleToCloseTimeout = &v - return s -} - -// SetScheduleToStartTimeout sets the ScheduleToStartTimeout field's value. -func (s *ScheduleActivityTaskDecisionAttributes) SetScheduleToStartTimeout(v string) *ScheduleActivityTaskDecisionAttributes { - s.ScheduleToStartTimeout = &v - return s -} - -// SetStartToCloseTimeout sets the StartToCloseTimeout field's value. -func (s *ScheduleActivityTaskDecisionAttributes) SetStartToCloseTimeout(v string) *ScheduleActivityTaskDecisionAttributes { - s.StartToCloseTimeout = &v - return s -} - -// SetTaskList sets the TaskList field's value. -func (s *ScheduleActivityTaskDecisionAttributes) SetTaskList(v *TaskList) *ScheduleActivityTaskDecisionAttributes { - s.TaskList = v - return s -} - -// SetTaskPriority sets the TaskPriority field's value. -func (s *ScheduleActivityTaskDecisionAttributes) SetTaskPriority(v string) *ScheduleActivityTaskDecisionAttributes { - s.TaskPriority = &v - return s -} - // Provides the details of the ScheduleActivityTaskFailed event. type ScheduleActivityTaskFailedEventAttributes struct { _ struct{} `type:"structure"` @@ -10768,30 +8404,6 @@ func (s ScheduleActivityTaskFailedEventAttributes) GoString() string { return s.String() } -// SetActivityId sets the ActivityId field's value. -func (s *ScheduleActivityTaskFailedEventAttributes) SetActivityId(v string) *ScheduleActivityTaskFailedEventAttributes { - s.ActivityId = &v - return s -} - -// SetActivityType sets the ActivityType field's value. -func (s *ScheduleActivityTaskFailedEventAttributes) SetActivityType(v *ActivityType) *ScheduleActivityTaskFailedEventAttributes { - s.ActivityType = v - return s -} - -// SetCause sets the Cause field's value. -func (s *ScheduleActivityTaskFailedEventAttributes) SetCause(v ScheduleActivityTaskFailedCause) *ScheduleActivityTaskFailedEventAttributes { - s.Cause = v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *ScheduleActivityTaskFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *ScheduleActivityTaskFailedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - // Decision attributes specified in scheduleLambdaFunctionDecisionAttributes // within the list of decisions decisions passed to RespondDecisionTaskCompleted. type ScheduleLambdaFunctionDecisionAttributes struct { @@ -10854,36 +8466,6 @@ func (s *ScheduleLambdaFunctionDecisionAttributes) Validate() error { return nil } -// SetControl sets the Control field's value. -func (s *ScheduleLambdaFunctionDecisionAttributes) SetControl(v string) *ScheduleLambdaFunctionDecisionAttributes { - s.Control = &v - return s -} - -// SetId sets the Id field's value. -func (s *ScheduleLambdaFunctionDecisionAttributes) SetId(v string) *ScheduleLambdaFunctionDecisionAttributes { - s.Id = &v - return s -} - -// SetInput sets the Input field's value. -func (s *ScheduleLambdaFunctionDecisionAttributes) SetInput(v string) *ScheduleLambdaFunctionDecisionAttributes { - s.Input = &v - return s -} - -// SetName sets the Name field's value. -func (s *ScheduleLambdaFunctionDecisionAttributes) SetName(v string) *ScheduleLambdaFunctionDecisionAttributes { - s.Name = &v - return s -} - -// SetStartToCloseTimeout sets the StartToCloseTimeout field's value. -func (s *ScheduleLambdaFunctionDecisionAttributes) SetStartToCloseTimeout(v string) *ScheduleLambdaFunctionDecisionAttributes { - s.StartToCloseTimeout = &v - return s -} - // Provides the details of the ScheduleLambdaFunctionFailed event. It isn't // set for other event types. type ScheduleLambdaFunctionFailedEventAttributes struct { @@ -10928,30 +8510,6 @@ func (s ScheduleLambdaFunctionFailedEventAttributes) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *ScheduleLambdaFunctionFailedEventAttributes) SetCause(v ScheduleLambdaFunctionFailedCause) *ScheduleLambdaFunctionFailedEventAttributes { - s.Cause = v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *ScheduleLambdaFunctionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *ScheduleLambdaFunctionFailedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - -// SetId sets the Id field's value. -func (s *ScheduleLambdaFunctionFailedEventAttributes) SetId(v string) *ScheduleLambdaFunctionFailedEventAttributes { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *ScheduleLambdaFunctionFailedEventAttributes) SetName(v string) *ScheduleLambdaFunctionFailedEventAttributes { - s.Name = &v - return s -} - // Provides the details of the SignalExternalWorkflowExecution decision. // // Access Control @@ -11032,36 +8590,6 @@ func (s *SignalExternalWorkflowExecutionDecisionAttributes) Validate() error { return nil } -// SetControl sets the Control field's value. -func (s *SignalExternalWorkflowExecutionDecisionAttributes) SetControl(v string) *SignalExternalWorkflowExecutionDecisionAttributes { - s.Control = &v - return s -} - -// SetInput sets the Input field's value. -func (s *SignalExternalWorkflowExecutionDecisionAttributes) SetInput(v string) *SignalExternalWorkflowExecutionDecisionAttributes { - s.Input = &v - return s -} - -// SetRunId sets the RunId field's value. -func (s *SignalExternalWorkflowExecutionDecisionAttributes) SetRunId(v string) *SignalExternalWorkflowExecutionDecisionAttributes { - s.RunId = &v - return s -} - -// SetSignalName sets the SignalName field's value. -func (s *SignalExternalWorkflowExecutionDecisionAttributes) SetSignalName(v string) *SignalExternalWorkflowExecutionDecisionAttributes { - s.SignalName = &v - return s -} - -// SetWorkflowId sets the WorkflowId field's value. -func (s *SignalExternalWorkflowExecutionDecisionAttributes) SetWorkflowId(v string) *SignalExternalWorkflowExecutionDecisionAttributes { - s.WorkflowId = &v - return s -} - // Provides the details of the SignalExternalWorkflowExecutionFailed event. type SignalExternalWorkflowExecutionFailedEventAttributes struct { _ struct{} `type:"structure"` @@ -11118,42 +8646,6 @@ func (s SignalExternalWorkflowExecutionFailedEventAttributes) GoString() string return s.String() } -// SetCause sets the Cause field's value. -func (s *SignalExternalWorkflowExecutionFailedEventAttributes) SetCause(v SignalExternalWorkflowExecutionFailedCause) *SignalExternalWorkflowExecutionFailedEventAttributes { - s.Cause = v - return s -} - -// SetControl sets the Control field's value. -func (s *SignalExternalWorkflowExecutionFailedEventAttributes) SetControl(v string) *SignalExternalWorkflowExecutionFailedEventAttributes { - s.Control = &v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *SignalExternalWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *SignalExternalWorkflowExecutionFailedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - -// SetInitiatedEventId sets the InitiatedEventId field's value. -func (s *SignalExternalWorkflowExecutionFailedEventAttributes) SetInitiatedEventId(v int64) *SignalExternalWorkflowExecutionFailedEventAttributes { - s.InitiatedEventId = &v - return s -} - -// SetRunId sets the RunId field's value. -func (s *SignalExternalWorkflowExecutionFailedEventAttributes) SetRunId(v string) *SignalExternalWorkflowExecutionFailedEventAttributes { - s.RunId = &v - return s -} - -// SetWorkflowId sets the WorkflowId field's value. -func (s *SignalExternalWorkflowExecutionFailedEventAttributes) SetWorkflowId(v string) *SignalExternalWorkflowExecutionFailedEventAttributes { - s.WorkflowId = &v - return s -} - // Provides the details of the SignalExternalWorkflowExecutionInitiated event. type SignalExternalWorkflowExecutionInitiatedEventAttributes struct { _ struct{} `type:"structure"` @@ -11197,42 +8689,6 @@ func (s SignalExternalWorkflowExecutionInitiatedEventAttributes) GoString() stri return s.String() } -// SetControl sets the Control field's value. -func (s *SignalExternalWorkflowExecutionInitiatedEventAttributes) SetControl(v string) *SignalExternalWorkflowExecutionInitiatedEventAttributes { - s.Control = &v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *SignalExternalWorkflowExecutionInitiatedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *SignalExternalWorkflowExecutionInitiatedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - -// SetInput sets the Input field's value. -func (s *SignalExternalWorkflowExecutionInitiatedEventAttributes) SetInput(v string) *SignalExternalWorkflowExecutionInitiatedEventAttributes { - s.Input = &v - return s -} - -// SetRunId sets the RunId field's value. -func (s *SignalExternalWorkflowExecutionInitiatedEventAttributes) SetRunId(v string) *SignalExternalWorkflowExecutionInitiatedEventAttributes { - s.RunId = &v - return s -} - -// SetSignalName sets the SignalName field's value. -func (s *SignalExternalWorkflowExecutionInitiatedEventAttributes) SetSignalName(v string) *SignalExternalWorkflowExecutionInitiatedEventAttributes { - s.SignalName = &v - return s -} - -// SetWorkflowId sets the WorkflowId field's value. -func (s *SignalExternalWorkflowExecutionInitiatedEventAttributes) SetWorkflowId(v string) *SignalExternalWorkflowExecutionInitiatedEventAttributes { - s.WorkflowId = &v - return s -} - type SignalWorkflowExecutionInput struct { _ struct{} `type:"structure"` @@ -11300,36 +8756,6 @@ func (s *SignalWorkflowExecutionInput) Validate() error { return nil } -// SetDomain sets the Domain field's value. -func (s *SignalWorkflowExecutionInput) SetDomain(v string) *SignalWorkflowExecutionInput { - s.Domain = &v - return s -} - -// SetInput sets the Input field's value. -func (s *SignalWorkflowExecutionInput) SetInput(v string) *SignalWorkflowExecutionInput { - s.Input = &v - return s -} - -// SetRunId sets the RunId field's value. -func (s *SignalWorkflowExecutionInput) SetRunId(v string) *SignalWorkflowExecutionInput { - s.RunId = &v - return s -} - -// SetSignalName sets the SignalName field's value. -func (s *SignalWorkflowExecutionInput) SetSignalName(v string) *SignalWorkflowExecutionInput { - s.SignalName = &v - return s -} - -// SetWorkflowId sets the WorkflowId field's value. -func (s *SignalWorkflowExecutionInput) SetWorkflowId(v string) *SignalWorkflowExecutionInput { - s.WorkflowId = &v - return s -} - type SignalWorkflowExecutionOutput struct { _ struct{} `type:"structure"` @@ -11530,72 +8956,6 @@ func (s *StartChildWorkflowExecutionDecisionAttributes) Validate() error { return nil } -// SetChildPolicy sets the ChildPolicy field's value. -func (s *StartChildWorkflowExecutionDecisionAttributes) SetChildPolicy(v ChildPolicy) *StartChildWorkflowExecutionDecisionAttributes { - s.ChildPolicy = v - return s -} - -// SetControl sets the Control field's value. -func (s *StartChildWorkflowExecutionDecisionAttributes) SetControl(v string) *StartChildWorkflowExecutionDecisionAttributes { - s.Control = &v - return s -} - -// SetExecutionStartToCloseTimeout sets the ExecutionStartToCloseTimeout field's value. -func (s *StartChildWorkflowExecutionDecisionAttributes) SetExecutionStartToCloseTimeout(v string) *StartChildWorkflowExecutionDecisionAttributes { - s.ExecutionStartToCloseTimeout = &v - return s -} - -// SetInput sets the Input field's value. -func (s *StartChildWorkflowExecutionDecisionAttributes) SetInput(v string) *StartChildWorkflowExecutionDecisionAttributes { - s.Input = &v - return s -} - -// SetLambdaRole sets the LambdaRole field's value. -func (s *StartChildWorkflowExecutionDecisionAttributes) SetLambdaRole(v string) *StartChildWorkflowExecutionDecisionAttributes { - s.LambdaRole = &v - return s -} - -// SetTagList sets the TagList field's value. -func (s *StartChildWorkflowExecutionDecisionAttributes) SetTagList(v []string) *StartChildWorkflowExecutionDecisionAttributes { - s.TagList = v - return s -} - -// SetTaskList sets the TaskList field's value. -func (s *StartChildWorkflowExecutionDecisionAttributes) SetTaskList(v *TaskList) *StartChildWorkflowExecutionDecisionAttributes { - s.TaskList = v - return s -} - -// SetTaskPriority sets the TaskPriority field's value. -func (s *StartChildWorkflowExecutionDecisionAttributes) SetTaskPriority(v string) *StartChildWorkflowExecutionDecisionAttributes { - s.TaskPriority = &v - return s -} - -// SetTaskStartToCloseTimeout sets the TaskStartToCloseTimeout field's value. -func (s *StartChildWorkflowExecutionDecisionAttributes) SetTaskStartToCloseTimeout(v string) *StartChildWorkflowExecutionDecisionAttributes { - s.TaskStartToCloseTimeout = &v - return s -} - -// SetWorkflowId sets the WorkflowId field's value. -func (s *StartChildWorkflowExecutionDecisionAttributes) SetWorkflowId(v string) *StartChildWorkflowExecutionDecisionAttributes { - s.WorkflowId = &v - return s -} - -// SetWorkflowType sets the WorkflowType field's value. -func (s *StartChildWorkflowExecutionDecisionAttributes) SetWorkflowType(v *WorkflowType) *StartChildWorkflowExecutionDecisionAttributes { - s.WorkflowType = v - return s -} - // Provides the details of the StartChildWorkflowExecutionFailed event. type StartChildWorkflowExecutionFailedEventAttributes struct { _ struct{} `type:"structure"` @@ -11656,42 +9016,6 @@ func (s StartChildWorkflowExecutionFailedEventAttributes) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *StartChildWorkflowExecutionFailedEventAttributes) SetCause(v StartChildWorkflowExecutionFailedCause) *StartChildWorkflowExecutionFailedEventAttributes { - s.Cause = v - return s -} - -// SetControl sets the Control field's value. -func (s *StartChildWorkflowExecutionFailedEventAttributes) SetControl(v string) *StartChildWorkflowExecutionFailedEventAttributes { - s.Control = &v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *StartChildWorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *StartChildWorkflowExecutionFailedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - -// SetInitiatedEventId sets the InitiatedEventId field's value. -func (s *StartChildWorkflowExecutionFailedEventAttributes) SetInitiatedEventId(v int64) *StartChildWorkflowExecutionFailedEventAttributes { - s.InitiatedEventId = &v - return s -} - -// SetWorkflowId sets the WorkflowId field's value. -func (s *StartChildWorkflowExecutionFailedEventAttributes) SetWorkflowId(v string) *StartChildWorkflowExecutionFailedEventAttributes { - s.WorkflowId = &v - return s -} - -// SetWorkflowType sets the WorkflowType field's value. -func (s *StartChildWorkflowExecutionFailedEventAttributes) SetWorkflowType(v *WorkflowType) *StartChildWorkflowExecutionFailedEventAttributes { - s.WorkflowType = v - return s -} - // Provides the details of the StartChildWorkflowExecutionInitiated event. type StartChildWorkflowExecutionInitiatedEventAttributes struct { _ struct{} `type:"structure"` @@ -11784,78 +9108,6 @@ func (s StartChildWorkflowExecutionInitiatedEventAttributes) GoString() string { return s.String() } -// SetChildPolicy sets the ChildPolicy field's value. -func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetChildPolicy(v ChildPolicy) *StartChildWorkflowExecutionInitiatedEventAttributes { - s.ChildPolicy = v - return s -} - -// SetControl sets the Control field's value. -func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetControl(v string) *StartChildWorkflowExecutionInitiatedEventAttributes { - s.Control = &v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *StartChildWorkflowExecutionInitiatedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - -// SetExecutionStartToCloseTimeout sets the ExecutionStartToCloseTimeout field's value. -func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetExecutionStartToCloseTimeout(v string) *StartChildWorkflowExecutionInitiatedEventAttributes { - s.ExecutionStartToCloseTimeout = &v - return s -} - -// SetInput sets the Input field's value. -func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetInput(v string) *StartChildWorkflowExecutionInitiatedEventAttributes { - s.Input = &v - return s -} - -// SetLambdaRole sets the LambdaRole field's value. -func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetLambdaRole(v string) *StartChildWorkflowExecutionInitiatedEventAttributes { - s.LambdaRole = &v - return s -} - -// SetTagList sets the TagList field's value. -func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetTagList(v []string) *StartChildWorkflowExecutionInitiatedEventAttributes { - s.TagList = v - return s -} - -// SetTaskList sets the TaskList field's value. -func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetTaskList(v *TaskList) *StartChildWorkflowExecutionInitiatedEventAttributes { - s.TaskList = v - return s -} - -// SetTaskPriority sets the TaskPriority field's value. -func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetTaskPriority(v string) *StartChildWorkflowExecutionInitiatedEventAttributes { - s.TaskPriority = &v - return s -} - -// SetTaskStartToCloseTimeout sets the TaskStartToCloseTimeout field's value. -func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetTaskStartToCloseTimeout(v string) *StartChildWorkflowExecutionInitiatedEventAttributes { - s.TaskStartToCloseTimeout = &v - return s -} - -// SetWorkflowId sets the WorkflowId field's value. -func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetWorkflowId(v string) *StartChildWorkflowExecutionInitiatedEventAttributes { - s.WorkflowId = &v - return s -} - -// SetWorkflowType sets the WorkflowType field's value. -func (s *StartChildWorkflowExecutionInitiatedEventAttributes) SetWorkflowType(v *WorkflowType) *StartChildWorkflowExecutionInitiatedEventAttributes { - s.WorkflowType = v - return s -} - // Provides the details of the StartLambdaFunctionFailed event. It isn't set // for other event types. type StartLambdaFunctionFailedEventAttributes struct { @@ -11889,24 +9141,6 @@ func (s StartLambdaFunctionFailedEventAttributes) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *StartLambdaFunctionFailedEventAttributes) SetCause(v StartLambdaFunctionFailedCause) *StartLambdaFunctionFailedEventAttributes { - s.Cause = v - return s -} - -// SetMessage sets the Message field's value. -func (s *StartLambdaFunctionFailedEventAttributes) SetMessage(v string) *StartLambdaFunctionFailedEventAttributes { - s.Message = &v - return s -} - -// SetScheduledEventId sets the ScheduledEventId field's value. -func (s *StartLambdaFunctionFailedEventAttributes) SetScheduledEventId(v int64) *StartLambdaFunctionFailedEventAttributes { - s.ScheduledEventId = &v - return s -} - // Provides the details of the StartTimer decision. // // Access Control @@ -11986,24 +9220,6 @@ func (s *StartTimerDecisionAttributes) Validate() error { return nil } -// SetControl sets the Control field's value. -func (s *StartTimerDecisionAttributes) SetControl(v string) *StartTimerDecisionAttributes { - s.Control = &v - return s -} - -// SetStartToFireTimeout sets the StartToFireTimeout field's value. -func (s *StartTimerDecisionAttributes) SetStartToFireTimeout(v string) *StartTimerDecisionAttributes { - s.StartToFireTimeout = &v - return s -} - -// SetTimerId sets the TimerId field's value. -func (s *StartTimerDecisionAttributes) SetTimerId(v string) *StartTimerDecisionAttributes { - s.TimerId = &v - return s -} - // Provides the details of the StartTimerFailed event. type StartTimerFailedEventAttributes struct { _ struct{} `type:"structure"` @@ -12043,24 +9259,6 @@ func (s StartTimerFailedEventAttributes) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *StartTimerFailedEventAttributes) SetCause(v StartTimerFailedCause) *StartTimerFailedEventAttributes { - s.Cause = v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *StartTimerFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *StartTimerFailedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - -// SetTimerId sets the TimerId field's value. -func (s *StartTimerFailedEventAttributes) SetTimerId(v string) *StartTimerFailedEventAttributes { - s.TimerId = &v - return s -} - type StartWorkflowExecutionInput struct { _ struct{} `type:"structure"` @@ -12235,72 +9433,6 @@ func (s *StartWorkflowExecutionInput) Validate() error { return nil } -// SetChildPolicy sets the ChildPolicy field's value. -func (s *StartWorkflowExecutionInput) SetChildPolicy(v ChildPolicy) *StartWorkflowExecutionInput { - s.ChildPolicy = v - return s -} - -// SetDomain sets the Domain field's value. -func (s *StartWorkflowExecutionInput) SetDomain(v string) *StartWorkflowExecutionInput { - s.Domain = &v - return s -} - -// SetExecutionStartToCloseTimeout sets the ExecutionStartToCloseTimeout field's value. -func (s *StartWorkflowExecutionInput) SetExecutionStartToCloseTimeout(v string) *StartWorkflowExecutionInput { - s.ExecutionStartToCloseTimeout = &v - return s -} - -// SetInput sets the Input field's value. -func (s *StartWorkflowExecutionInput) SetInput(v string) *StartWorkflowExecutionInput { - s.Input = &v - return s -} - -// SetLambdaRole sets the LambdaRole field's value. -func (s *StartWorkflowExecutionInput) SetLambdaRole(v string) *StartWorkflowExecutionInput { - s.LambdaRole = &v - return s -} - -// SetTagList sets the TagList field's value. -func (s *StartWorkflowExecutionInput) SetTagList(v []string) *StartWorkflowExecutionInput { - s.TagList = v - return s -} - -// SetTaskList sets the TaskList field's value. -func (s *StartWorkflowExecutionInput) SetTaskList(v *TaskList) *StartWorkflowExecutionInput { - s.TaskList = v - return s -} - -// SetTaskPriority sets the TaskPriority field's value. -func (s *StartWorkflowExecutionInput) SetTaskPriority(v string) *StartWorkflowExecutionInput { - s.TaskPriority = &v - return s -} - -// SetTaskStartToCloseTimeout sets the TaskStartToCloseTimeout field's value. -func (s *StartWorkflowExecutionInput) SetTaskStartToCloseTimeout(v string) *StartWorkflowExecutionInput { - s.TaskStartToCloseTimeout = &v - return s -} - -// SetWorkflowId sets the WorkflowId field's value. -func (s *StartWorkflowExecutionInput) SetWorkflowId(v string) *StartWorkflowExecutionInput { - s.WorkflowId = &v - return s -} - -// SetWorkflowType sets the WorkflowType field's value. -func (s *StartWorkflowExecutionInput) SetWorkflowType(v *WorkflowType) *StartWorkflowExecutionInput { - s.WorkflowType = v - return s -} - // Specifies the runId of a workflow execution. type StartWorkflowExecutionOutput struct { _ struct{} `type:"structure"` @@ -12327,12 +9459,6 @@ func (s StartWorkflowExecutionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRunId sets the RunId field's value. -func (s *StartWorkflowExecutionOutput) SetRunId(v string) *StartWorkflowExecutionOutput { - s.RunId = &v - return s -} - // Used to filter the workflow executions in visibility APIs based on a tag. type TagFilter struct { _ struct{} `type:"structure"` @@ -12368,12 +9494,6 @@ func (s *TagFilter) Validate() error { return nil } -// SetTag sets the Tag field's value. -func (s *TagFilter) SetTag(v string) *TagFilter { - s.Tag = &v - return s -} - // Represents a task list. type TaskList struct { _ struct{} `type:"structure"` @@ -12411,12 +9531,6 @@ func (s *TaskList) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *TaskList) SetName(v string) *TaskList { - s.Name = &v - return s -} - type TerminateWorkflowExecutionInput struct { _ struct{} `type:"structure"` @@ -12496,42 +9610,6 @@ func (s *TerminateWorkflowExecutionInput) Validate() error { return nil } -// SetChildPolicy sets the ChildPolicy field's value. -func (s *TerminateWorkflowExecutionInput) SetChildPolicy(v ChildPolicy) *TerminateWorkflowExecutionInput { - s.ChildPolicy = v - return s -} - -// SetDetails sets the Details field's value. -func (s *TerminateWorkflowExecutionInput) SetDetails(v string) *TerminateWorkflowExecutionInput { - s.Details = &v - return s -} - -// SetDomain sets the Domain field's value. -func (s *TerminateWorkflowExecutionInput) SetDomain(v string) *TerminateWorkflowExecutionInput { - s.Domain = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *TerminateWorkflowExecutionInput) SetReason(v string) *TerminateWorkflowExecutionInput { - s.Reason = &v - return s -} - -// SetRunId sets the RunId field's value. -func (s *TerminateWorkflowExecutionInput) SetRunId(v string) *TerminateWorkflowExecutionInput { - s.RunId = &v - return s -} - -// SetWorkflowId sets the WorkflowId field's value. -func (s *TerminateWorkflowExecutionInput) SetWorkflowId(v string) *TerminateWorkflowExecutionInput { - s.WorkflowId = &v - return s -} - type TerminateWorkflowExecutionOutput struct { _ struct{} `type:"structure"` @@ -12588,24 +9666,6 @@ func (s TimerCanceledEventAttributes) GoString() string { return s.String() } -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *TimerCanceledEventAttributes) SetDecisionTaskCompletedEventId(v int64) *TimerCanceledEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - -// SetStartedEventId sets the StartedEventId field's value. -func (s *TimerCanceledEventAttributes) SetStartedEventId(v int64) *TimerCanceledEventAttributes { - s.StartedEventId = &v - return s -} - -// SetTimerId sets the TimerId field's value. -func (s *TimerCanceledEventAttributes) SetTimerId(v string) *TimerCanceledEventAttributes { - s.TimerId = &v - return s -} - // Provides the details of the TimerFired event. type TimerFiredEventAttributes struct { _ struct{} `type:"structure"` @@ -12633,18 +9693,6 @@ func (s TimerFiredEventAttributes) GoString() string { return s.String() } -// SetStartedEventId sets the StartedEventId field's value. -func (s *TimerFiredEventAttributes) SetStartedEventId(v int64) *TimerFiredEventAttributes { - s.StartedEventId = &v - return s -} - -// SetTimerId sets the TimerId field's value. -func (s *TimerFiredEventAttributes) SetTimerId(v string) *TimerFiredEventAttributes { - s.TimerId = &v - return s -} - // Provides the details of the TimerStarted event. type TimerStartedEventAttributes struct { _ struct{} `type:"structure"` @@ -12685,30 +9733,6 @@ func (s TimerStartedEventAttributes) GoString() string { return s.String() } -// SetControl sets the Control field's value. -func (s *TimerStartedEventAttributes) SetControl(v string) *TimerStartedEventAttributes { - s.Control = &v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *TimerStartedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *TimerStartedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - -// SetStartToFireTimeout sets the StartToFireTimeout field's value. -func (s *TimerStartedEventAttributes) SetStartToFireTimeout(v string) *TimerStartedEventAttributes { - s.StartToFireTimeout = &v - return s -} - -// SetTimerId sets the TimerId field's value. -func (s *TimerStartedEventAttributes) SetTimerId(v string) *TimerStartedEventAttributes { - s.TimerId = &v - return s -} - // Represents a workflow execution. type WorkflowExecution struct { _ struct{} `type:"structure"` @@ -12758,18 +9782,6 @@ func (s *WorkflowExecution) Validate() error { return nil } -// SetRunId sets the RunId field's value. -func (s *WorkflowExecution) SetRunId(v string) *WorkflowExecution { - s.RunId = &v - return s -} - -// SetWorkflowId sets the WorkflowId field's value. -func (s *WorkflowExecution) SetWorkflowId(v string) *WorkflowExecution { - s.WorkflowId = &v - return s -} - // Provides the details of the WorkflowExecutionCancelRequested event. type WorkflowExecutionCancelRequestedEventAttributes struct { _ struct{} `type:"structure"` @@ -12800,24 +9812,6 @@ func (s WorkflowExecutionCancelRequestedEventAttributes) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *WorkflowExecutionCancelRequestedEventAttributes) SetCause(v WorkflowExecutionCancelRequestedCause) *WorkflowExecutionCancelRequestedEventAttributes { - s.Cause = v - return s -} - -// SetExternalInitiatedEventId sets the ExternalInitiatedEventId field's value. -func (s *WorkflowExecutionCancelRequestedEventAttributes) SetExternalInitiatedEventId(v int64) *WorkflowExecutionCancelRequestedEventAttributes { - s.ExternalInitiatedEventId = &v - return s -} - -// SetExternalWorkflowExecution sets the ExternalWorkflowExecution field's value. -func (s *WorkflowExecutionCancelRequestedEventAttributes) SetExternalWorkflowExecution(v *WorkflowExecution) *WorkflowExecutionCancelRequestedEventAttributes { - s.ExternalWorkflowExecution = v - return s -} - // Provides the details of the WorkflowExecutionCanceled event. type WorkflowExecutionCanceledEventAttributes struct { _ struct{} `type:"structure"` @@ -12844,18 +9838,6 @@ func (s WorkflowExecutionCanceledEventAttributes) GoString() string { return s.String() } -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *WorkflowExecutionCanceledEventAttributes) SetDecisionTaskCompletedEventId(v int64) *WorkflowExecutionCanceledEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - -// SetDetails sets the Details field's value. -func (s *WorkflowExecutionCanceledEventAttributes) SetDetails(v string) *WorkflowExecutionCanceledEventAttributes { - s.Details = &v - return s -} - // Provides the details of the WorkflowExecutionCompleted event. type WorkflowExecutionCompletedEventAttributes struct { _ struct{} `type:"structure"` @@ -12882,18 +9864,6 @@ func (s WorkflowExecutionCompletedEventAttributes) GoString() string { return s.String() } -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *WorkflowExecutionCompletedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *WorkflowExecutionCompletedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - -// SetResult sets the Result field's value. -func (s *WorkflowExecutionCompletedEventAttributes) SetResult(v string) *WorkflowExecutionCompletedEventAttributes { - s.Result = &v - return s -} - // The configuration settings for a workflow execution including timeout values, // tasklist etc. These configuration settings are determined from the defaults // specified when registering the workflow type and those specified when starting @@ -12963,42 +9933,6 @@ func (s WorkflowExecutionConfiguration) GoString() string { return s.String() } -// SetChildPolicy sets the ChildPolicy field's value. -func (s *WorkflowExecutionConfiguration) SetChildPolicy(v ChildPolicy) *WorkflowExecutionConfiguration { - s.ChildPolicy = v - return s -} - -// SetExecutionStartToCloseTimeout sets the ExecutionStartToCloseTimeout field's value. -func (s *WorkflowExecutionConfiguration) SetExecutionStartToCloseTimeout(v string) *WorkflowExecutionConfiguration { - s.ExecutionStartToCloseTimeout = &v - return s -} - -// SetLambdaRole sets the LambdaRole field's value. -func (s *WorkflowExecutionConfiguration) SetLambdaRole(v string) *WorkflowExecutionConfiguration { - s.LambdaRole = &v - return s -} - -// SetTaskList sets the TaskList field's value. -func (s *WorkflowExecutionConfiguration) SetTaskList(v *TaskList) *WorkflowExecutionConfiguration { - s.TaskList = v - return s -} - -// SetTaskPriority sets the TaskPriority field's value. -func (s *WorkflowExecutionConfiguration) SetTaskPriority(v string) *WorkflowExecutionConfiguration { - s.TaskPriority = &v - return s -} - -// SetTaskStartToCloseTimeout sets the TaskStartToCloseTimeout field's value. -func (s *WorkflowExecutionConfiguration) SetTaskStartToCloseTimeout(v string) *WorkflowExecutionConfiguration { - s.TaskStartToCloseTimeout = &v - return s -} - // Provides the details of the WorkflowExecutionContinuedAsNew event. type WorkflowExecutionContinuedAsNewEventAttributes struct { _ struct{} `type:"structure"` @@ -13080,72 +10014,6 @@ func (s WorkflowExecutionContinuedAsNewEventAttributes) GoString() string { return s.String() } -// SetChildPolicy sets the ChildPolicy field's value. -func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetChildPolicy(v ChildPolicy) *WorkflowExecutionContinuedAsNewEventAttributes { - s.ChildPolicy = v - return s -} - -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetDecisionTaskCompletedEventId(v int64) *WorkflowExecutionContinuedAsNewEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - -// SetExecutionStartToCloseTimeout sets the ExecutionStartToCloseTimeout field's value. -func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetExecutionStartToCloseTimeout(v string) *WorkflowExecutionContinuedAsNewEventAttributes { - s.ExecutionStartToCloseTimeout = &v - return s -} - -// SetInput sets the Input field's value. -func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetInput(v string) *WorkflowExecutionContinuedAsNewEventAttributes { - s.Input = &v - return s -} - -// SetLambdaRole sets the LambdaRole field's value. -func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetLambdaRole(v string) *WorkflowExecutionContinuedAsNewEventAttributes { - s.LambdaRole = &v - return s -} - -// SetNewExecutionRunId sets the NewExecutionRunId field's value. -func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetNewExecutionRunId(v string) *WorkflowExecutionContinuedAsNewEventAttributes { - s.NewExecutionRunId = &v - return s -} - -// SetTagList sets the TagList field's value. -func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetTagList(v []string) *WorkflowExecutionContinuedAsNewEventAttributes { - s.TagList = v - return s -} - -// SetTaskList sets the TaskList field's value. -func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetTaskList(v *TaskList) *WorkflowExecutionContinuedAsNewEventAttributes { - s.TaskList = v - return s -} - -// SetTaskPriority sets the TaskPriority field's value. -func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetTaskPriority(v string) *WorkflowExecutionContinuedAsNewEventAttributes { - s.TaskPriority = &v - return s -} - -// SetTaskStartToCloseTimeout sets the TaskStartToCloseTimeout field's value. -func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetTaskStartToCloseTimeout(v string) *WorkflowExecutionContinuedAsNewEventAttributes { - s.TaskStartToCloseTimeout = &v - return s -} - -// SetWorkflowType sets the WorkflowType field's value. -func (s *WorkflowExecutionContinuedAsNewEventAttributes) SetWorkflowType(v *WorkflowType) *WorkflowExecutionContinuedAsNewEventAttributes { - s.WorkflowType = v - return s -} - // Provides the details of the WorkflowExecutionFailed event. type WorkflowExecutionFailedEventAttributes struct { _ struct{} `type:"structure"` @@ -13175,24 +10043,6 @@ func (s WorkflowExecutionFailedEventAttributes) GoString() string { return s.String() } -// SetDecisionTaskCompletedEventId sets the DecisionTaskCompletedEventId field's value. -func (s *WorkflowExecutionFailedEventAttributes) SetDecisionTaskCompletedEventId(v int64) *WorkflowExecutionFailedEventAttributes { - s.DecisionTaskCompletedEventId = &v - return s -} - -// SetDetails sets the Details field's value. -func (s *WorkflowExecutionFailedEventAttributes) SetDetails(v string) *WorkflowExecutionFailedEventAttributes { - s.Details = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *WorkflowExecutionFailedEventAttributes) SetReason(v string) *WorkflowExecutionFailedEventAttributes { - s.Reason = &v - return s -} - // Used to filter the workflow executions in visibility APIs by their workflowId. type WorkflowExecutionFilter struct { _ struct{} `type:"structure"` @@ -13230,12 +10080,6 @@ func (s *WorkflowExecutionFilter) Validate() error { return nil } -// SetWorkflowId sets the WorkflowId field's value. -func (s *WorkflowExecutionFilter) SetWorkflowId(v string) *WorkflowExecutionFilter { - s.WorkflowId = &v - return s -} - // Contains information about a workflow execution. type WorkflowExecutionInfo struct { _ struct{} `type:"structure"` @@ -13307,60 +10151,6 @@ func (s WorkflowExecutionInfo) GoString() string { return s.String() } -// SetCancelRequested sets the CancelRequested field's value. -func (s *WorkflowExecutionInfo) SetCancelRequested(v bool) *WorkflowExecutionInfo { - s.CancelRequested = &v - return s -} - -// SetCloseStatus sets the CloseStatus field's value. -func (s *WorkflowExecutionInfo) SetCloseStatus(v CloseStatus) *WorkflowExecutionInfo { - s.CloseStatus = v - return s -} - -// SetCloseTimestamp sets the CloseTimestamp field's value. -func (s *WorkflowExecutionInfo) SetCloseTimestamp(v time.Time) *WorkflowExecutionInfo { - s.CloseTimestamp = &v - return s -} - -// SetExecution sets the Execution field's value. -func (s *WorkflowExecutionInfo) SetExecution(v *WorkflowExecution) *WorkflowExecutionInfo { - s.Execution = v - return s -} - -// SetExecutionStatus sets the ExecutionStatus field's value. -func (s *WorkflowExecutionInfo) SetExecutionStatus(v ExecutionStatus) *WorkflowExecutionInfo { - s.ExecutionStatus = v - return s -} - -// SetParent sets the Parent field's value. -func (s *WorkflowExecutionInfo) SetParent(v *WorkflowExecution) *WorkflowExecutionInfo { - s.Parent = v - return s -} - -// SetStartTimestamp sets the StartTimestamp field's value. -func (s *WorkflowExecutionInfo) SetStartTimestamp(v time.Time) *WorkflowExecutionInfo { - s.StartTimestamp = &v - return s -} - -// SetTagList sets the TagList field's value. -func (s *WorkflowExecutionInfo) SetTagList(v []string) *WorkflowExecutionInfo { - s.TagList = v - return s -} - -// SetWorkflowType sets the WorkflowType field's value. -func (s *WorkflowExecutionInfo) SetWorkflowType(v *WorkflowType) *WorkflowExecutionInfo { - s.WorkflowType = v - return s -} - // Contains the counts of open tasks, child workflow executions and timers for // a workflow execution. type WorkflowExecutionOpenCounts struct { @@ -13402,36 +10192,6 @@ func (s WorkflowExecutionOpenCounts) GoString() string { return s.String() } -// SetOpenActivityTasks sets the OpenActivityTasks field's value. -func (s *WorkflowExecutionOpenCounts) SetOpenActivityTasks(v int64) *WorkflowExecutionOpenCounts { - s.OpenActivityTasks = &v - return s -} - -// SetOpenChildWorkflowExecutions sets the OpenChildWorkflowExecutions field's value. -func (s *WorkflowExecutionOpenCounts) SetOpenChildWorkflowExecutions(v int64) *WorkflowExecutionOpenCounts { - s.OpenChildWorkflowExecutions = &v - return s -} - -// SetOpenDecisionTasks sets the OpenDecisionTasks field's value. -func (s *WorkflowExecutionOpenCounts) SetOpenDecisionTasks(v int64) *WorkflowExecutionOpenCounts { - s.OpenDecisionTasks = &v - return s -} - -// SetOpenLambdaFunctions sets the OpenLambdaFunctions field's value. -func (s *WorkflowExecutionOpenCounts) SetOpenLambdaFunctions(v int64) *WorkflowExecutionOpenCounts { - s.OpenLambdaFunctions = &v - return s -} - -// SetOpenTimers sets the OpenTimers field's value. -func (s *WorkflowExecutionOpenCounts) SetOpenTimers(v int64) *WorkflowExecutionOpenCounts { - s.OpenTimers = &v - return s -} - // Provides the details of the WorkflowExecutionSignaled event. type WorkflowExecutionSignaledEventAttributes struct { _ struct{} `type:"structure"` @@ -13469,30 +10229,6 @@ func (s WorkflowExecutionSignaledEventAttributes) GoString() string { return s.String() } -// SetExternalInitiatedEventId sets the ExternalInitiatedEventId field's value. -func (s *WorkflowExecutionSignaledEventAttributes) SetExternalInitiatedEventId(v int64) *WorkflowExecutionSignaledEventAttributes { - s.ExternalInitiatedEventId = &v - return s -} - -// SetExternalWorkflowExecution sets the ExternalWorkflowExecution field's value. -func (s *WorkflowExecutionSignaledEventAttributes) SetExternalWorkflowExecution(v *WorkflowExecution) *WorkflowExecutionSignaledEventAttributes { - s.ExternalWorkflowExecution = v - return s -} - -// SetInput sets the Input field's value. -func (s *WorkflowExecutionSignaledEventAttributes) SetInput(v string) *WorkflowExecutionSignaledEventAttributes { - s.Input = &v - return s -} - -// SetSignalName sets the SignalName field's value. -func (s *WorkflowExecutionSignaledEventAttributes) SetSignalName(v string) *WorkflowExecutionSignaledEventAttributes { - s.SignalName = &v - return s -} - // Provides details of WorkflowExecutionStarted event. type WorkflowExecutionStartedEventAttributes struct { _ struct{} `type:"structure"` @@ -13578,78 +10314,6 @@ func (s WorkflowExecutionStartedEventAttributes) GoString() string { return s.String() } -// SetChildPolicy sets the ChildPolicy field's value. -func (s *WorkflowExecutionStartedEventAttributes) SetChildPolicy(v ChildPolicy) *WorkflowExecutionStartedEventAttributes { - s.ChildPolicy = v - return s -} - -// SetContinuedExecutionRunId sets the ContinuedExecutionRunId field's value. -func (s *WorkflowExecutionStartedEventAttributes) SetContinuedExecutionRunId(v string) *WorkflowExecutionStartedEventAttributes { - s.ContinuedExecutionRunId = &v - return s -} - -// SetExecutionStartToCloseTimeout sets the ExecutionStartToCloseTimeout field's value. -func (s *WorkflowExecutionStartedEventAttributes) SetExecutionStartToCloseTimeout(v string) *WorkflowExecutionStartedEventAttributes { - s.ExecutionStartToCloseTimeout = &v - return s -} - -// SetInput sets the Input field's value. -func (s *WorkflowExecutionStartedEventAttributes) SetInput(v string) *WorkflowExecutionStartedEventAttributes { - s.Input = &v - return s -} - -// SetLambdaRole sets the LambdaRole field's value. -func (s *WorkflowExecutionStartedEventAttributes) SetLambdaRole(v string) *WorkflowExecutionStartedEventAttributes { - s.LambdaRole = &v - return s -} - -// SetParentInitiatedEventId sets the ParentInitiatedEventId field's value. -func (s *WorkflowExecutionStartedEventAttributes) SetParentInitiatedEventId(v int64) *WorkflowExecutionStartedEventAttributes { - s.ParentInitiatedEventId = &v - return s -} - -// SetParentWorkflowExecution sets the ParentWorkflowExecution field's value. -func (s *WorkflowExecutionStartedEventAttributes) SetParentWorkflowExecution(v *WorkflowExecution) *WorkflowExecutionStartedEventAttributes { - s.ParentWorkflowExecution = v - return s -} - -// SetTagList sets the TagList field's value. -func (s *WorkflowExecutionStartedEventAttributes) SetTagList(v []string) *WorkflowExecutionStartedEventAttributes { - s.TagList = v - return s -} - -// SetTaskList sets the TaskList field's value. -func (s *WorkflowExecutionStartedEventAttributes) SetTaskList(v *TaskList) *WorkflowExecutionStartedEventAttributes { - s.TaskList = v - return s -} - -// SetTaskPriority sets the TaskPriority field's value. -func (s *WorkflowExecutionStartedEventAttributes) SetTaskPriority(v string) *WorkflowExecutionStartedEventAttributes { - s.TaskPriority = &v - return s -} - -// SetTaskStartToCloseTimeout sets the TaskStartToCloseTimeout field's value. -func (s *WorkflowExecutionStartedEventAttributes) SetTaskStartToCloseTimeout(v string) *WorkflowExecutionStartedEventAttributes { - s.TaskStartToCloseTimeout = &v - return s -} - -// SetWorkflowType sets the WorkflowType field's value. -func (s *WorkflowExecutionStartedEventAttributes) SetWorkflowType(v *WorkflowType) *WorkflowExecutionStartedEventAttributes { - s.WorkflowType = v - return s -} - // Provides the details of the WorkflowExecutionTerminated event. type WorkflowExecutionTerminatedEventAttributes struct { _ struct{} `type:"structure"` @@ -13692,30 +10356,6 @@ func (s WorkflowExecutionTerminatedEventAttributes) GoString() string { return s.String() } -// SetCause sets the Cause field's value. -func (s *WorkflowExecutionTerminatedEventAttributes) SetCause(v WorkflowExecutionTerminatedCause) *WorkflowExecutionTerminatedEventAttributes { - s.Cause = v - return s -} - -// SetChildPolicy sets the ChildPolicy field's value. -func (s *WorkflowExecutionTerminatedEventAttributes) SetChildPolicy(v ChildPolicy) *WorkflowExecutionTerminatedEventAttributes { - s.ChildPolicy = v - return s -} - -// SetDetails sets the Details field's value. -func (s *WorkflowExecutionTerminatedEventAttributes) SetDetails(v string) *WorkflowExecutionTerminatedEventAttributes { - s.Details = &v - return s -} - -// SetReason sets the Reason field's value. -func (s *WorkflowExecutionTerminatedEventAttributes) SetReason(v string) *WorkflowExecutionTerminatedEventAttributes { - s.Reason = &v - return s -} - // Provides the details of the WorkflowExecutionTimedOut event. type WorkflowExecutionTimedOutEventAttributes struct { _ struct{} `type:"structure"` @@ -13752,18 +10392,6 @@ func (s WorkflowExecutionTimedOutEventAttributes) GoString() string { return s.String() } -// SetChildPolicy sets the ChildPolicy field's value. -func (s *WorkflowExecutionTimedOutEventAttributes) SetChildPolicy(v ChildPolicy) *WorkflowExecutionTimedOutEventAttributes { - s.ChildPolicy = v - return s -} - -// SetTimeoutType sets the TimeoutType field's value. -func (s *WorkflowExecutionTimedOutEventAttributes) SetTimeoutType(v WorkflowExecutionTimeoutType) *WorkflowExecutionTimedOutEventAttributes { - s.TimeoutType = v - return s -} - // Represents a workflow type. type WorkflowType struct { _ struct{} `type:"structure"` @@ -13819,18 +10447,6 @@ func (s *WorkflowType) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *WorkflowType) SetName(v string) *WorkflowType { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *WorkflowType) SetVersion(v string) *WorkflowType { - s.Version = &v - return s -} - // The configuration settings of a workflow type. type WorkflowTypeConfiguration struct { _ struct{} `type:"structure"` @@ -13913,42 +10529,6 @@ func (s WorkflowTypeConfiguration) GoString() string { return s.String() } -// SetDefaultChildPolicy sets the DefaultChildPolicy field's value. -func (s *WorkflowTypeConfiguration) SetDefaultChildPolicy(v ChildPolicy) *WorkflowTypeConfiguration { - s.DefaultChildPolicy = v - return s -} - -// SetDefaultExecutionStartToCloseTimeout sets the DefaultExecutionStartToCloseTimeout field's value. -func (s *WorkflowTypeConfiguration) SetDefaultExecutionStartToCloseTimeout(v string) *WorkflowTypeConfiguration { - s.DefaultExecutionStartToCloseTimeout = &v - return s -} - -// SetDefaultLambdaRole sets the DefaultLambdaRole field's value. -func (s *WorkflowTypeConfiguration) SetDefaultLambdaRole(v string) *WorkflowTypeConfiguration { - s.DefaultLambdaRole = &v - return s -} - -// SetDefaultTaskList sets the DefaultTaskList field's value. -func (s *WorkflowTypeConfiguration) SetDefaultTaskList(v *TaskList) *WorkflowTypeConfiguration { - s.DefaultTaskList = v - return s -} - -// SetDefaultTaskPriority sets the DefaultTaskPriority field's value. -func (s *WorkflowTypeConfiguration) SetDefaultTaskPriority(v string) *WorkflowTypeConfiguration { - s.DefaultTaskPriority = &v - return s -} - -// SetDefaultTaskStartToCloseTimeout sets the DefaultTaskStartToCloseTimeout field's value. -func (s *WorkflowTypeConfiguration) SetDefaultTaskStartToCloseTimeout(v string) *WorkflowTypeConfiguration { - s.DefaultTaskStartToCloseTimeout = &v - return s -} - // Used to filter workflow execution query results by type. Each parameter, // if specified, defines a rule that must be satisfied by each returned result. type WorkflowTypeFilter struct { @@ -13990,18 +10570,6 @@ func (s *WorkflowTypeFilter) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *WorkflowTypeFilter) SetName(v string) *WorkflowTypeFilter { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *WorkflowTypeFilter) SetVersion(v string) *WorkflowTypeFilter { - s.Version = &v - return s -} - // Contains information about a workflow type. type WorkflowTypeInfo struct { _ struct{} `type:"structure"` @@ -14039,36 +10607,6 @@ func (s WorkflowTypeInfo) GoString() string { return s.String() } -// SetCreationDate sets the CreationDate field's value. -func (s *WorkflowTypeInfo) SetCreationDate(v time.Time) *WorkflowTypeInfo { - s.CreationDate = &v - return s -} - -// SetDeprecationDate sets the DeprecationDate field's value. -func (s *WorkflowTypeInfo) SetDeprecationDate(v time.Time) *WorkflowTypeInfo { - s.DeprecationDate = &v - return s -} - -// SetDescription sets the Description field's value. -func (s *WorkflowTypeInfo) SetDescription(v string) *WorkflowTypeInfo { - s.Description = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *WorkflowTypeInfo) SetStatus(v RegistrationStatus) *WorkflowTypeInfo { - s.Status = v - return s -} - -// SetWorkflowType sets the WorkflowType field's value. -func (s *WorkflowTypeInfo) SetWorkflowType(v *WorkflowType) *WorkflowTypeInfo { - s.WorkflowType = v - return s -} - type ActivityTaskTimeoutType string // Enum values for ActivityTaskTimeoutType diff --git a/service/translate/api.go b/service/translate/api.go index 13fe4d59918..8993855fb5a 100644 --- a/service/translate/api.go +++ b/service/translate/api.go @@ -133,24 +133,6 @@ func (s *TextInput) Validate() error { return nil } -// SetSourceLanguageCode sets the SourceLanguageCode field's value. -func (s *TextInput) SetSourceLanguageCode(v string) *TextInput { - s.SourceLanguageCode = &v - return s -} - -// SetTargetLanguageCode sets the TargetLanguageCode field's value. -func (s *TextInput) SetTargetLanguageCode(v string) *TextInput { - s.TargetLanguageCode = &v - return s -} - -// SetText sets the Text field's value. -func (s *TextInput) SetText(v string) *TextInput { - s.Text = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/TextResponse type TextOutput struct { _ struct{} `type:"structure"` @@ -187,21 +169,3 @@ func (s TextOutput) GoString() string { func (s TextOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } - -// SetSourceLanguageCode sets the SourceLanguageCode field's value. -func (s *TextOutput) SetSourceLanguageCode(v string) *TextOutput { - s.SourceLanguageCode = &v - return s -} - -// SetTargetLanguageCode sets the TargetLanguageCode field's value. -func (s *TextOutput) SetTargetLanguageCode(v string) *TextOutput { - s.TargetLanguageCode = &v - return s -} - -// SetTranslatedText sets the TranslatedText field's value. -func (s *TextOutput) SetTranslatedText(v string) *TextOutput { - s.TranslatedText = &v - return s -} diff --git a/service/waf/api.go b/service/waf/api.go index 48fa695396a..7d18928b893 100644 --- a/service/waf/api.go +++ b/service/waf/api.go @@ -4257,36 +4257,6 @@ func (s *ActivatedRule) Validate() error { return nil } -// SetAction sets the Action field's value. -func (s *ActivatedRule) SetAction(v *WafAction) *ActivatedRule { - s.Action = v - return s -} - -// SetOverrideAction sets the OverrideAction field's value. -func (s *ActivatedRule) SetOverrideAction(v *WafOverrideAction) *ActivatedRule { - s.OverrideAction = v - return s -} - -// SetPriority sets the Priority field's value. -func (s *ActivatedRule) SetPriority(v int64) *ActivatedRule { - s.Priority = &v - return s -} - -// SetRuleId sets the RuleId field's value. -func (s *ActivatedRule) SetRuleId(v string) *ActivatedRule { - s.RuleId = &v - return s -} - -// SetType sets the Type field's value. -func (s *ActivatedRule) SetType(v WafRuleType) *ActivatedRule { - s.Type = v - return s -} - // In a GetByteMatchSet request, ByteMatchSet is a complex type that contains // the ByteMatchSetId and Name of a ByteMatchSet, and the values that you specified // when you updated the ByteMatchSet. @@ -4332,24 +4302,6 @@ func (s ByteMatchSet) GoString() string { return s.String() } -// SetByteMatchSetId sets the ByteMatchSetId field's value. -func (s *ByteMatchSet) SetByteMatchSetId(v string) *ByteMatchSet { - s.ByteMatchSetId = &v - return s -} - -// SetByteMatchTuples sets the ByteMatchTuples field's value. -func (s *ByteMatchSet) SetByteMatchTuples(v []ByteMatchTuple) *ByteMatchSet { - s.ByteMatchTuples = v - return s -} - -// SetName sets the Name field's value. -func (s *ByteMatchSet) SetName(v string) *ByteMatchSet { - s.Name = &v - return s -} - // Returned by ListByteMatchSets. Each ByteMatchSetSummary object includes the // Name and ByteMatchSetId for one ByteMatchSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ByteMatchSetSummary @@ -4382,18 +4334,6 @@ func (s ByteMatchSetSummary) GoString() string { return s.String() } -// SetByteMatchSetId sets the ByteMatchSetId field's value. -func (s *ByteMatchSetSummary) SetByteMatchSetId(v string) *ByteMatchSetSummary { - s.ByteMatchSetId = &v - return s -} - -// SetName sets the Name field's value. -func (s *ByteMatchSetSummary) SetName(v string) *ByteMatchSetSummary { - s.Name = &v - return s -} - // In an UpdateByteMatchSet request, ByteMatchSetUpdate specifies whether to // insert or delete a ByteMatchTuple and includes the settings for the ByteMatchTuple. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ByteMatchSetUpdate @@ -4446,18 +4386,6 @@ func (s *ByteMatchSetUpdate) Validate() error { return nil } -// SetAction sets the Action field's value. -func (s *ByteMatchSetUpdate) SetAction(v ChangeAction) *ByteMatchSetUpdate { - s.Action = v - return s -} - -// SetByteMatchTuple sets the ByteMatchTuple field's value. -func (s *ByteMatchSetUpdate) SetByteMatchTuple(v *ByteMatchTuple) *ByteMatchSetUpdate { - s.ByteMatchTuple = v - return s -} - // The bytes (typically a string that corresponds with ASCII characters) that // you want AWS WAF to search for in web requests, the location in requests // that you want AWS WAF to search, and other settings. @@ -4685,30 +4613,6 @@ func (s *ByteMatchTuple) Validate() error { return nil } -// SetFieldToMatch sets the FieldToMatch field's value. -func (s *ByteMatchTuple) SetFieldToMatch(v *FieldToMatch) *ByteMatchTuple { - s.FieldToMatch = v - return s -} - -// SetPositionalConstraint sets the PositionalConstraint field's value. -func (s *ByteMatchTuple) SetPositionalConstraint(v PositionalConstraint) *ByteMatchTuple { - s.PositionalConstraint = v - return s -} - -// SetTargetString sets the TargetString field's value. -func (s *ByteMatchTuple) SetTargetString(v []byte) *ByteMatchTuple { - s.TargetString = v - return s -} - -// SetTextTransformation sets the TextTransformation field's value. -func (s *ByteMatchTuple) SetTextTransformation(v TextTransformation) *ByteMatchTuple { - s.TextTransformation = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateByteMatchSetRequest type CreateByteMatchSetInput struct { _ struct{} `type:"structure"` @@ -4759,18 +4663,6 @@ func (s *CreateByteMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateByteMatchSetInput) SetChangeToken(v string) *CreateByteMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateByteMatchSetInput) SetName(v string) *CreateByteMatchSetInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateByteMatchSetResponse type CreateByteMatchSetOutput struct { _ struct{} `type:"structure"` @@ -4801,18 +4693,6 @@ func (s CreateByteMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetByteMatchSet sets the ByteMatchSet field's value. -func (s *CreateByteMatchSetOutput) SetByteMatchSet(v *ByteMatchSet) *CreateByteMatchSetOutput { - s.ByteMatchSet = v - return s -} - -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateByteMatchSetOutput) SetChangeToken(v string) *CreateByteMatchSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateGeoMatchSetRequest type CreateGeoMatchSetInput struct { _ struct{} `type:"structure"` @@ -4863,18 +4743,6 @@ func (s *CreateGeoMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateGeoMatchSetInput) SetChangeToken(v string) *CreateGeoMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateGeoMatchSetInput) SetName(v string) *CreateGeoMatchSetInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateGeoMatchSetResponse type CreateGeoMatchSetOutput struct { _ struct{} `type:"structure"` @@ -4906,18 +4774,6 @@ func (s CreateGeoMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateGeoMatchSetOutput) SetChangeToken(v string) *CreateGeoMatchSetOutput { - s.ChangeToken = &v - return s -} - -// SetGeoMatchSet sets the GeoMatchSet field's value. -func (s *CreateGeoMatchSetOutput) SetGeoMatchSet(v *GeoMatchSet) *CreateGeoMatchSetOutput { - s.GeoMatchSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateIPSetRequest type CreateIPSetInput struct { _ struct{} `type:"structure"` @@ -4968,18 +4824,6 @@ func (s *CreateIPSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateIPSetInput) SetChangeToken(v string) *CreateIPSetInput { - s.ChangeToken = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateIPSetInput) SetName(v string) *CreateIPSetInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateIPSetResponse type CreateIPSetOutput struct { _ struct{} `type:"structure"` @@ -5010,18 +4854,6 @@ func (s CreateIPSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateIPSetOutput) SetChangeToken(v string) *CreateIPSetOutput { - s.ChangeToken = &v - return s -} - -// SetIPSet sets the IPSet field's value. -func (s *CreateIPSetOutput) SetIPSet(v *IPSet) *CreateIPSetOutput { - s.IPSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRateBasedRuleRequest type CreateRateBasedRuleInput struct { _ struct{} `type:"structure"` @@ -5113,36 +4945,6 @@ func (s *CreateRateBasedRuleInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateRateBasedRuleInput) SetChangeToken(v string) *CreateRateBasedRuleInput { - s.ChangeToken = &v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *CreateRateBasedRuleInput) SetMetricName(v string) *CreateRateBasedRuleInput { - s.MetricName = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateRateBasedRuleInput) SetName(v string) *CreateRateBasedRuleInput { - s.Name = &v - return s -} - -// SetRateKey sets the RateKey field's value. -func (s *CreateRateBasedRuleInput) SetRateKey(v RateKey) *CreateRateBasedRuleInput { - s.RateKey = v - return s -} - -// SetRateLimit sets the RateLimit field's value. -func (s *CreateRateBasedRuleInput) SetRateLimit(v int64) *CreateRateBasedRuleInput { - s.RateLimit = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRateBasedRuleResponse type CreateRateBasedRuleOutput struct { _ struct{} `type:"structure"` @@ -5173,18 +4975,6 @@ func (s CreateRateBasedRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateRateBasedRuleOutput) SetChangeToken(v string) *CreateRateBasedRuleOutput { - s.ChangeToken = &v - return s -} - -// SetRule sets the Rule field's value. -func (s *CreateRateBasedRuleOutput) SetRule(v *RateBasedRule) *CreateRateBasedRuleOutput { - s.Rule = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexMatchSetRequest type CreateRegexMatchSetInput struct { _ struct{} `type:"structure"` @@ -5235,18 +5025,6 @@ func (s *CreateRegexMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateRegexMatchSetInput) SetChangeToken(v string) *CreateRegexMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateRegexMatchSetInput) SetName(v string) *CreateRegexMatchSetInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexMatchSetResponse type CreateRegexMatchSetOutput struct { _ struct{} `type:"structure"` @@ -5277,18 +5055,6 @@ func (s CreateRegexMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateRegexMatchSetOutput) SetChangeToken(v string) *CreateRegexMatchSetOutput { - s.ChangeToken = &v - return s -} - -// SetRegexMatchSet sets the RegexMatchSet field's value. -func (s *CreateRegexMatchSetOutput) SetRegexMatchSet(v *RegexMatchSet) *CreateRegexMatchSetOutput { - s.RegexMatchSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexPatternSetRequest type CreateRegexPatternSetInput struct { _ struct{} `type:"structure"` @@ -5339,18 +5105,6 @@ func (s *CreateRegexPatternSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateRegexPatternSetInput) SetChangeToken(v string) *CreateRegexPatternSetInput { - s.ChangeToken = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateRegexPatternSetInput) SetName(v string) *CreateRegexPatternSetInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexPatternSetResponse type CreateRegexPatternSetOutput struct { _ struct{} `type:"structure"` @@ -5381,18 +5135,6 @@ func (s CreateRegexPatternSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateRegexPatternSetOutput) SetChangeToken(v string) *CreateRegexPatternSetOutput { - s.ChangeToken = &v - return s -} - -// SetRegexPatternSet sets the RegexPatternSet field's value. -func (s *CreateRegexPatternSetOutput) SetRegexPatternSet(v *RegexPatternSet) *CreateRegexPatternSetOutput { - s.RegexPatternSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRuleGroupRequest type CreateRuleGroupInput struct { _ struct{} `type:"structure"` @@ -5455,24 +5197,6 @@ func (s *CreateRuleGroupInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateRuleGroupInput) SetChangeToken(v string) *CreateRuleGroupInput { - s.ChangeToken = &v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *CreateRuleGroupInput) SetMetricName(v string) *CreateRuleGroupInput { - s.MetricName = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateRuleGroupInput) SetName(v string) *CreateRuleGroupInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRuleGroupResponse type CreateRuleGroupOutput struct { _ struct{} `type:"structure"` @@ -5503,18 +5227,6 @@ func (s CreateRuleGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateRuleGroupOutput) SetChangeToken(v string) *CreateRuleGroupOutput { - s.ChangeToken = &v - return s -} - -// SetRuleGroup sets the RuleGroup field's value. -func (s *CreateRuleGroupOutput) SetRuleGroup(v *RuleGroup) *CreateRuleGroupOutput { - s.RuleGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRuleRequest type CreateRuleInput struct { _ struct{} `type:"structure"` @@ -5577,24 +5289,6 @@ func (s *CreateRuleInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateRuleInput) SetChangeToken(v string) *CreateRuleInput { - s.ChangeToken = &v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *CreateRuleInput) SetMetricName(v string) *CreateRuleInput { - s.MetricName = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateRuleInput) SetName(v string) *CreateRuleInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRuleResponse type CreateRuleOutput struct { _ struct{} `type:"structure"` @@ -5625,18 +5319,6 @@ func (s CreateRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateRuleOutput) SetChangeToken(v string) *CreateRuleOutput { - s.ChangeToken = &v - return s -} - -// SetRule sets the Rule field's value. -func (s *CreateRuleOutput) SetRule(v *Rule) *CreateRuleOutput { - s.Rule = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSizeConstraintSetRequest type CreateSizeConstraintSetInput struct { _ struct{} `type:"structure"` @@ -5687,18 +5369,6 @@ func (s *CreateSizeConstraintSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateSizeConstraintSetInput) SetChangeToken(v string) *CreateSizeConstraintSetInput { - s.ChangeToken = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateSizeConstraintSetInput) SetName(v string) *CreateSizeConstraintSetInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSizeConstraintSetResponse type CreateSizeConstraintSetOutput struct { _ struct{} `type:"structure"` @@ -5729,18 +5399,6 @@ func (s CreateSizeConstraintSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateSizeConstraintSetOutput) SetChangeToken(v string) *CreateSizeConstraintSetOutput { - s.ChangeToken = &v - return s -} - -// SetSizeConstraintSet sets the SizeConstraintSet field's value. -func (s *CreateSizeConstraintSetOutput) SetSizeConstraintSet(v *SizeConstraintSet) *CreateSizeConstraintSetOutput { - s.SizeConstraintSet = v - return s -} - // A request to create a SqlInjectionMatchSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSqlInjectionMatchSetRequest type CreateSqlInjectionMatchSetInput struct { @@ -5792,18 +5450,6 @@ func (s *CreateSqlInjectionMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateSqlInjectionMatchSetInput) SetChangeToken(v string) *CreateSqlInjectionMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateSqlInjectionMatchSetInput) SetName(v string) *CreateSqlInjectionMatchSetInput { - s.Name = &v - return s -} - // The response to a CreateSqlInjectionMatchSet request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSqlInjectionMatchSetResponse type CreateSqlInjectionMatchSetOutput struct { @@ -5835,18 +5481,6 @@ func (s CreateSqlInjectionMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateSqlInjectionMatchSetOutput) SetChangeToken(v string) *CreateSqlInjectionMatchSetOutput { - s.ChangeToken = &v - return s -} - -// SetSqlInjectionMatchSet sets the SqlInjectionMatchSet field's value. -func (s *CreateSqlInjectionMatchSetOutput) SetSqlInjectionMatchSet(v *SqlInjectionMatchSet) *CreateSqlInjectionMatchSetOutput { - s.SqlInjectionMatchSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateWebACLRequest type CreateWebACLInput struct { _ struct{} `type:"structure"` @@ -5924,30 +5558,6 @@ func (s *CreateWebACLInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateWebACLInput) SetChangeToken(v string) *CreateWebACLInput { - s.ChangeToken = &v - return s -} - -// SetDefaultAction sets the DefaultAction field's value. -func (s *CreateWebACLInput) SetDefaultAction(v *WafAction) *CreateWebACLInput { - s.DefaultAction = v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *CreateWebACLInput) SetMetricName(v string) *CreateWebACLInput { - s.MetricName = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateWebACLInput) SetName(v string) *CreateWebACLInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateWebACLResponse type CreateWebACLOutput struct { _ struct{} `type:"structure"` @@ -5978,18 +5588,6 @@ func (s CreateWebACLOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateWebACLOutput) SetChangeToken(v string) *CreateWebACLOutput { - s.ChangeToken = &v - return s -} - -// SetWebACL sets the WebACL field's value. -func (s *CreateWebACLOutput) SetWebACL(v *WebACL) *CreateWebACLOutput { - s.WebACL = v - return s -} - // A request to create an XssMatchSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateXssMatchSetRequest type CreateXssMatchSetInput struct { @@ -6041,18 +5639,6 @@ func (s *CreateXssMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateXssMatchSetInput) SetChangeToken(v string) *CreateXssMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateXssMatchSetInput) SetName(v string) *CreateXssMatchSetInput { - s.Name = &v - return s -} - // The response to a CreateXssMatchSet request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateXssMatchSetResponse type CreateXssMatchSetOutput struct { @@ -6084,18 +5670,6 @@ func (s CreateXssMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateXssMatchSetOutput) SetChangeToken(v string) *CreateXssMatchSetOutput { - s.ChangeToken = &v - return s -} - -// SetXssMatchSet sets the XssMatchSet field's value. -func (s *CreateXssMatchSetOutput) SetXssMatchSet(v *XssMatchSet) *CreateXssMatchSetOutput { - s.XssMatchSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteByteMatchSetRequest type DeleteByteMatchSetInput struct { _ struct{} `type:"structure"` @@ -6146,18 +5720,6 @@ func (s *DeleteByteMatchSetInput) Validate() error { return nil } -// SetByteMatchSetId sets the ByteMatchSetId field's value. -func (s *DeleteByteMatchSetInput) SetByteMatchSetId(v string) *DeleteByteMatchSetInput { - s.ByteMatchSetId = &v - return s -} - -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteByteMatchSetInput) SetChangeToken(v string) *DeleteByteMatchSetInput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteByteMatchSetResponse type DeleteByteMatchSetOutput struct { _ struct{} `type:"structure"` @@ -6185,12 +5747,6 @@ func (s DeleteByteMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteByteMatchSetOutput) SetChangeToken(v string) *DeleteByteMatchSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteGeoMatchSetRequest type DeleteGeoMatchSetInput struct { _ struct{} `type:"structure"` @@ -6241,18 +5797,6 @@ func (s *DeleteGeoMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteGeoMatchSetInput) SetChangeToken(v string) *DeleteGeoMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetGeoMatchSetId sets the GeoMatchSetId field's value. -func (s *DeleteGeoMatchSetInput) SetGeoMatchSetId(v string) *DeleteGeoMatchSetInput { - s.GeoMatchSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteGeoMatchSetResponse type DeleteGeoMatchSetOutput struct { _ struct{} `type:"structure"` @@ -6280,12 +5824,6 @@ func (s DeleteGeoMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteGeoMatchSetOutput) SetChangeToken(v string) *DeleteGeoMatchSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteIPSetRequest type DeleteIPSetInput struct { _ struct{} `type:"structure"` @@ -6336,18 +5874,6 @@ func (s *DeleteIPSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteIPSetInput) SetChangeToken(v string) *DeleteIPSetInput { - s.ChangeToken = &v - return s -} - -// SetIPSetId sets the IPSetId field's value. -func (s *DeleteIPSetInput) SetIPSetId(v string) *DeleteIPSetInput { - s.IPSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteIPSetResponse type DeleteIPSetOutput struct { _ struct{} `type:"structure"` @@ -6375,12 +5901,6 @@ func (s DeleteIPSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteIPSetOutput) SetChangeToken(v string) *DeleteIPSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRateBasedRuleRequest type DeleteRateBasedRuleInput struct { _ struct{} `type:"structure"` @@ -6431,18 +5951,6 @@ func (s *DeleteRateBasedRuleInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteRateBasedRuleInput) SetChangeToken(v string) *DeleteRateBasedRuleInput { - s.ChangeToken = &v - return s -} - -// SetRuleId sets the RuleId field's value. -func (s *DeleteRateBasedRuleInput) SetRuleId(v string) *DeleteRateBasedRuleInput { - s.RuleId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRateBasedRuleResponse type DeleteRateBasedRuleOutput struct { _ struct{} `type:"structure"` @@ -6470,12 +5978,6 @@ func (s DeleteRateBasedRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteRateBasedRuleOutput) SetChangeToken(v string) *DeleteRateBasedRuleOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexMatchSetRequest type DeleteRegexMatchSetInput struct { _ struct{} `type:"structure"` @@ -6526,18 +6028,6 @@ func (s *DeleteRegexMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteRegexMatchSetInput) SetChangeToken(v string) *DeleteRegexMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetRegexMatchSetId sets the RegexMatchSetId field's value. -func (s *DeleteRegexMatchSetInput) SetRegexMatchSetId(v string) *DeleteRegexMatchSetInput { - s.RegexMatchSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexMatchSetResponse type DeleteRegexMatchSetOutput struct { _ struct{} `type:"structure"` @@ -6565,12 +6055,6 @@ func (s DeleteRegexMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteRegexMatchSetOutput) SetChangeToken(v string) *DeleteRegexMatchSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexPatternSetRequest type DeleteRegexPatternSetInput struct { _ struct{} `type:"structure"` @@ -6621,18 +6105,6 @@ func (s *DeleteRegexPatternSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteRegexPatternSetInput) SetChangeToken(v string) *DeleteRegexPatternSetInput { - s.ChangeToken = &v - return s -} - -// SetRegexPatternSetId sets the RegexPatternSetId field's value. -func (s *DeleteRegexPatternSetInput) SetRegexPatternSetId(v string) *DeleteRegexPatternSetInput { - s.RegexPatternSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexPatternSetResponse type DeleteRegexPatternSetOutput struct { _ struct{} `type:"structure"` @@ -6660,12 +6132,6 @@ func (s DeleteRegexPatternSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteRegexPatternSetOutput) SetChangeToken(v string) *DeleteRegexPatternSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRuleGroupRequest type DeleteRuleGroupInput struct { _ struct{} `type:"structure"` @@ -6716,18 +6182,6 @@ func (s *DeleteRuleGroupInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteRuleGroupInput) SetChangeToken(v string) *DeleteRuleGroupInput { - s.ChangeToken = &v - return s -} - -// SetRuleGroupId sets the RuleGroupId field's value. -func (s *DeleteRuleGroupInput) SetRuleGroupId(v string) *DeleteRuleGroupInput { - s.RuleGroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRuleGroupResponse type DeleteRuleGroupOutput struct { _ struct{} `type:"structure"` @@ -6755,12 +6209,6 @@ func (s DeleteRuleGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteRuleGroupOutput) SetChangeToken(v string) *DeleteRuleGroupOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRuleRequest type DeleteRuleInput struct { _ struct{} `type:"structure"` @@ -6811,18 +6259,6 @@ func (s *DeleteRuleInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteRuleInput) SetChangeToken(v string) *DeleteRuleInput { - s.ChangeToken = &v - return s -} - -// SetRuleId sets the RuleId field's value. -func (s *DeleteRuleInput) SetRuleId(v string) *DeleteRuleInput { - s.RuleId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRuleResponse type DeleteRuleOutput struct { _ struct{} `type:"structure"` @@ -6850,12 +6286,6 @@ func (s DeleteRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteRuleOutput) SetChangeToken(v string) *DeleteRuleOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSizeConstraintSetRequest type DeleteSizeConstraintSetInput struct { _ struct{} `type:"structure"` @@ -6906,18 +6336,6 @@ func (s *DeleteSizeConstraintSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteSizeConstraintSetInput) SetChangeToken(v string) *DeleteSizeConstraintSetInput { - s.ChangeToken = &v - return s -} - -// SetSizeConstraintSetId sets the SizeConstraintSetId field's value. -func (s *DeleteSizeConstraintSetInput) SetSizeConstraintSetId(v string) *DeleteSizeConstraintSetInput { - s.SizeConstraintSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSizeConstraintSetResponse type DeleteSizeConstraintSetOutput struct { _ struct{} `type:"structure"` @@ -6945,12 +6363,6 @@ func (s DeleteSizeConstraintSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteSizeConstraintSetOutput) SetChangeToken(v string) *DeleteSizeConstraintSetOutput { - s.ChangeToken = &v - return s -} - // A request to delete a SqlInjectionMatchSet from AWS WAF. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSqlInjectionMatchSetRequest type DeleteSqlInjectionMatchSetInput struct { @@ -7002,18 +6414,6 @@ func (s *DeleteSqlInjectionMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteSqlInjectionMatchSetInput) SetChangeToken(v string) *DeleteSqlInjectionMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetSqlInjectionMatchSetId sets the SqlInjectionMatchSetId field's value. -func (s *DeleteSqlInjectionMatchSetInput) SetSqlInjectionMatchSetId(v string) *DeleteSqlInjectionMatchSetInput { - s.SqlInjectionMatchSetId = &v - return s -} - // The response to a request to delete a SqlInjectionMatchSet from AWS WAF. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSqlInjectionMatchSetResponse type DeleteSqlInjectionMatchSetOutput struct { @@ -7042,12 +6442,6 @@ func (s DeleteSqlInjectionMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteSqlInjectionMatchSetOutput) SetChangeToken(v string) *DeleteSqlInjectionMatchSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteWebACLRequest type DeleteWebACLInput struct { _ struct{} `type:"structure"` @@ -7098,18 +6492,6 @@ func (s *DeleteWebACLInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteWebACLInput) SetChangeToken(v string) *DeleteWebACLInput { - s.ChangeToken = &v - return s -} - -// SetWebACLId sets the WebACLId field's value. -func (s *DeleteWebACLInput) SetWebACLId(v string) *DeleteWebACLInput { - s.WebACLId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteWebACLResponse type DeleteWebACLOutput struct { _ struct{} `type:"structure"` @@ -7137,12 +6519,6 @@ func (s DeleteWebACLOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteWebACLOutput) SetChangeToken(v string) *DeleteWebACLOutput { - s.ChangeToken = &v - return s -} - // A request to delete an XssMatchSet from AWS WAF. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteXssMatchSetRequest type DeleteXssMatchSetInput struct { @@ -7194,18 +6570,6 @@ func (s *DeleteXssMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteXssMatchSetInput) SetChangeToken(v string) *DeleteXssMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetXssMatchSetId sets the XssMatchSetId field's value. -func (s *DeleteXssMatchSetInput) SetXssMatchSetId(v string) *DeleteXssMatchSetInput { - s.XssMatchSetId = &v - return s -} - // The response to a request to delete an XssMatchSet from AWS WAF. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteXssMatchSetResponse type DeleteXssMatchSetOutput struct { @@ -7234,12 +6598,6 @@ func (s DeleteXssMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteXssMatchSetOutput) SetChangeToken(v string) *DeleteXssMatchSetOutput { - s.ChangeToken = &v - return s -} - // Specifies where in a web request to look for TargetString. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/FieldToMatch type FieldToMatch struct { @@ -7304,18 +6662,6 @@ func (s *FieldToMatch) Validate() error { return nil } -// SetData sets the Data field's value. -func (s *FieldToMatch) SetData(v string) *FieldToMatch { - s.Data = &v - return s -} - -// SetType sets the Type field's value. -func (s *FieldToMatch) SetType(v MatchFieldType) *FieldToMatch { - s.Type = v - return s -} - // The country from which web requests originate that you want AWS WAF to search // for. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GeoMatchConstraint @@ -7360,18 +6706,6 @@ func (s *GeoMatchConstraint) Validate() error { return nil } -// SetType sets the Type field's value. -func (s *GeoMatchConstraint) SetType(v GeoMatchConstraintType) *GeoMatchConstraint { - s.Type = v - return s -} - -// SetValue sets the Value field's value. -func (s *GeoMatchConstraint) SetValue(v GeoMatchConstraintValue) *GeoMatchConstraint { - s.Value = v - return s -} - // Contains one or more countries that AWS WAF will search for. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GeoMatchSet type GeoMatchSet struct { @@ -7408,24 +6742,6 @@ func (s GeoMatchSet) GoString() string { return s.String() } -// SetGeoMatchConstraints sets the GeoMatchConstraints field's value. -func (s *GeoMatchSet) SetGeoMatchConstraints(v []GeoMatchConstraint) *GeoMatchSet { - s.GeoMatchConstraints = v - return s -} - -// SetGeoMatchSetId sets the GeoMatchSetId field's value. -func (s *GeoMatchSet) SetGeoMatchSetId(v string) *GeoMatchSet { - s.GeoMatchSetId = &v - return s -} - -// SetName sets the Name field's value. -func (s *GeoMatchSet) SetName(v string) *GeoMatchSet { - s.Name = &v - return s -} - // Contains the identifier and the name of the GeoMatchSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GeoMatchSetSummary type GeoMatchSetSummary struct { @@ -7454,18 +6770,6 @@ func (s GeoMatchSetSummary) GoString() string { return s.String() } -// SetGeoMatchSetId sets the GeoMatchSetId field's value. -func (s *GeoMatchSetSummary) SetGeoMatchSetId(v string) *GeoMatchSetSummary { - s.GeoMatchSetId = &v - return s -} - -// SetName sets the Name field's value. -func (s *GeoMatchSetSummary) SetName(v string) *GeoMatchSetSummary { - s.Name = &v - return s -} - // Specifies the type of update to perform to an GeoMatchSet with UpdateGeoMatchSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GeoMatchSetUpdate type GeoMatchSetUpdate struct { @@ -7515,18 +6819,6 @@ func (s *GeoMatchSetUpdate) Validate() error { return nil } -// SetAction sets the Action field's value. -func (s *GeoMatchSetUpdate) SetAction(v ChangeAction) *GeoMatchSetUpdate { - s.Action = v - return s -} - -// SetGeoMatchConstraint sets the GeoMatchConstraint field's value. -func (s *GeoMatchSetUpdate) SetGeoMatchConstraint(v *GeoMatchConstraint) *GeoMatchSetUpdate { - s.GeoMatchConstraint = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetByteMatchSetRequest type GetByteMatchSetInput struct { _ struct{} `type:"structure"` @@ -7565,12 +6857,6 @@ func (s *GetByteMatchSetInput) Validate() error { return nil } -// SetByteMatchSetId sets the ByteMatchSetId field's value. -func (s *GetByteMatchSetInput) SetByteMatchSetId(v string) *GetByteMatchSetInput { - s.ByteMatchSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetByteMatchSetResponse type GetByteMatchSetOutput struct { _ struct{} `type:"structure"` @@ -7605,12 +6891,6 @@ func (s GetByteMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetByteMatchSet sets the ByteMatchSet field's value. -func (s *GetByteMatchSetOutput) SetByteMatchSet(v *ByteMatchSet) *GetByteMatchSetOutput { - s.ByteMatchSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeTokenRequest type GetChangeTokenInput struct { _ struct{} `type:"structure"` @@ -7652,12 +6932,6 @@ func (s GetChangeTokenOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *GetChangeTokenOutput) SetChangeToken(v string) *GetChangeTokenOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeTokenStatusRequest type GetChangeTokenStatusInput struct { _ struct{} `type:"structure"` @@ -7696,12 +6970,6 @@ func (s *GetChangeTokenStatusInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *GetChangeTokenStatusInput) SetChangeToken(v string) *GetChangeTokenStatusInput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeTokenStatusResponse type GetChangeTokenStatusOutput struct { _ struct{} `type:"structure"` @@ -7727,12 +6995,6 @@ func (s GetChangeTokenStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeTokenStatus sets the ChangeTokenStatus field's value. -func (s *GetChangeTokenStatusOutput) SetChangeTokenStatus(v ChangeTokenStatus) *GetChangeTokenStatusOutput { - s.ChangeTokenStatus = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetGeoMatchSetRequest type GetGeoMatchSetInput struct { _ struct{} `type:"structure"` @@ -7771,12 +7033,6 @@ func (s *GetGeoMatchSetInput) Validate() error { return nil } -// SetGeoMatchSetId sets the GeoMatchSetId field's value. -func (s *GetGeoMatchSetInput) SetGeoMatchSetId(v string) *GetGeoMatchSetInput { - s.GeoMatchSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetGeoMatchSetResponse type GetGeoMatchSetOutput struct { _ struct{} `type:"structure"` @@ -7804,12 +7060,6 @@ func (s GetGeoMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGeoMatchSet sets the GeoMatchSet field's value. -func (s *GetGeoMatchSetOutput) SetGeoMatchSet(v *GeoMatchSet) *GetGeoMatchSetOutput { - s.GeoMatchSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetIPSetRequest type GetIPSetInput struct { _ struct{} `type:"structure"` @@ -7848,12 +7098,6 @@ func (s *GetIPSetInput) Validate() error { return nil } -// SetIPSetId sets the IPSetId field's value. -func (s *GetIPSetInput) SetIPSetId(v string) *GetIPSetInput { - s.IPSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetIPSetResponse type GetIPSetOutput struct { _ struct{} `type:"structure"` @@ -7885,12 +7129,6 @@ func (s GetIPSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIPSet sets the IPSet field's value. -func (s *GetIPSetOutput) SetIPSet(v *IPSet) *GetIPSetOutput { - s.IPSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRuleRequest type GetRateBasedRuleInput struct { _ struct{} `type:"structure"` @@ -7929,12 +7167,6 @@ func (s *GetRateBasedRuleInput) Validate() error { return nil } -// SetRuleId sets the RuleId field's value. -func (s *GetRateBasedRuleInput) SetRuleId(v string) *GetRateBasedRuleInput { - s.RuleId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRuleManagedKeysRequest type GetRateBasedRuleManagedKeysInput struct { _ struct{} `type:"structure"` @@ -7979,18 +7211,6 @@ func (s *GetRateBasedRuleManagedKeysInput) Validate() error { return nil } -// SetNextMarker sets the NextMarker field's value. -func (s *GetRateBasedRuleManagedKeysInput) SetNextMarker(v string) *GetRateBasedRuleManagedKeysInput { - s.NextMarker = &v - return s -} - -// SetRuleId sets the RuleId field's value. -func (s *GetRateBasedRuleManagedKeysInput) SetRuleId(v string) *GetRateBasedRuleManagedKeysInput { - s.RuleId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRuleManagedKeysResponse type GetRateBasedRuleManagedKeysOutput struct { _ struct{} `type:"structure"` @@ -8019,18 +7239,6 @@ func (s GetRateBasedRuleManagedKeysOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetManagedKeys sets the ManagedKeys field's value. -func (s *GetRateBasedRuleManagedKeysOutput) SetManagedKeys(v []string) *GetRateBasedRuleManagedKeysOutput { - s.ManagedKeys = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *GetRateBasedRuleManagedKeysOutput) SetNextMarker(v string) *GetRateBasedRuleManagedKeysOutput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRuleResponse type GetRateBasedRuleOutput struct { _ struct{} `type:"structure"` @@ -8057,12 +7265,6 @@ func (s GetRateBasedRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRule sets the Rule field's value. -func (s *GetRateBasedRuleOutput) SetRule(v *RateBasedRule) *GetRateBasedRuleOutput { - s.Rule = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexMatchSetRequest type GetRegexMatchSetInput struct { _ struct{} `type:"structure"` @@ -8101,12 +7303,6 @@ func (s *GetRegexMatchSetInput) Validate() error { return nil } -// SetRegexMatchSetId sets the RegexMatchSetId field's value. -func (s *GetRegexMatchSetInput) SetRegexMatchSetId(v string) *GetRegexMatchSetInput { - s.RegexMatchSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexMatchSetResponse type GetRegexMatchSetOutput struct { _ struct{} `type:"structure"` @@ -8133,12 +7329,6 @@ func (s GetRegexMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRegexMatchSet sets the RegexMatchSet field's value. -func (s *GetRegexMatchSetOutput) SetRegexMatchSet(v *RegexMatchSet) *GetRegexMatchSetOutput { - s.RegexMatchSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexPatternSetRequest type GetRegexPatternSetInput struct { _ struct{} `type:"structure"` @@ -8177,12 +7367,6 @@ func (s *GetRegexPatternSetInput) Validate() error { return nil } -// SetRegexPatternSetId sets the RegexPatternSetId field's value. -func (s *GetRegexPatternSetInput) SetRegexPatternSetId(v string) *GetRegexPatternSetInput { - s.RegexPatternSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexPatternSetResponse type GetRegexPatternSetOutput struct { _ struct{} `type:"structure"` @@ -8210,12 +7394,6 @@ func (s GetRegexPatternSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRegexPatternSet sets the RegexPatternSet field's value. -func (s *GetRegexPatternSetOutput) SetRegexPatternSet(v *RegexPatternSet) *GetRegexPatternSetOutput { - s.RegexPatternSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRuleGroupRequest type GetRuleGroupInput struct { _ struct{} `type:"structure"` @@ -8254,12 +7432,6 @@ func (s *GetRuleGroupInput) Validate() error { return nil } -// SetRuleGroupId sets the RuleGroupId field's value. -func (s *GetRuleGroupInput) SetRuleGroupId(v string) *GetRuleGroupInput { - s.RuleGroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRuleGroupResponse type GetRuleGroupOutput struct { _ struct{} `type:"structure"` @@ -8285,12 +7457,6 @@ func (s GetRuleGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRuleGroup sets the RuleGroup field's value. -func (s *GetRuleGroupOutput) SetRuleGroup(v *RuleGroup) *GetRuleGroupOutput { - s.RuleGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRuleRequest type GetRuleInput struct { _ struct{} `type:"structure"` @@ -8329,12 +7495,6 @@ func (s *GetRuleInput) Validate() error { return nil } -// SetRuleId sets the RuleId field's value. -func (s *GetRuleInput) SetRuleId(v string) *GetRuleInput { - s.RuleId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRuleResponse type GetRuleOutput struct { _ struct{} `type:"structure"` @@ -8366,12 +7526,6 @@ func (s GetRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRule sets the Rule field's value. -func (s *GetRuleOutput) SetRule(v *Rule) *GetRuleOutput { - s.Rule = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSampledRequestsRequest type GetSampledRequestsInput struct { _ struct{} `type:"structure"` @@ -8460,30 +7614,6 @@ func (s *GetSampledRequestsInput) Validate() error { return nil } -// SetMaxItems sets the MaxItems field's value. -func (s *GetSampledRequestsInput) SetMaxItems(v int64) *GetSampledRequestsInput { - s.MaxItems = &v - return s -} - -// SetRuleId sets the RuleId field's value. -func (s *GetSampledRequestsInput) SetRuleId(v string) *GetSampledRequestsInput { - s.RuleId = &v - return s -} - -// SetTimeWindow sets the TimeWindow field's value. -func (s *GetSampledRequestsInput) SetTimeWindow(v *TimeWindow) *GetSampledRequestsInput { - s.TimeWindow = v - return s -} - -// SetWebAclId sets the WebAclId field's value. -func (s *GetSampledRequestsInput) SetWebAclId(v string) *GetSampledRequestsInput { - s.WebAclId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSampledRequestsResponse type GetSampledRequestsOutput struct { _ struct{} `type:"structure"` @@ -8521,24 +7651,6 @@ func (s GetSampledRequestsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPopulationSize sets the PopulationSize field's value. -func (s *GetSampledRequestsOutput) SetPopulationSize(v int64) *GetSampledRequestsOutput { - s.PopulationSize = &v - return s -} - -// SetSampledRequests sets the SampledRequests field's value. -func (s *GetSampledRequestsOutput) SetSampledRequests(v []SampledHTTPRequest) *GetSampledRequestsOutput { - s.SampledRequests = v - return s -} - -// SetTimeWindow sets the TimeWindow field's value. -func (s *GetSampledRequestsOutput) SetTimeWindow(v *TimeWindow) *GetSampledRequestsOutput { - s.TimeWindow = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSizeConstraintSetRequest type GetSizeConstraintSetInput struct { _ struct{} `type:"structure"` @@ -8577,12 +7689,6 @@ func (s *GetSizeConstraintSetInput) Validate() error { return nil } -// SetSizeConstraintSetId sets the SizeConstraintSetId field's value. -func (s *GetSizeConstraintSetInput) SetSizeConstraintSetId(v string) *GetSizeConstraintSetInput { - s.SizeConstraintSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSizeConstraintSetResponse type GetSizeConstraintSetOutput struct { _ struct{} `type:"structure"` @@ -8618,12 +7724,6 @@ func (s GetSizeConstraintSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSizeConstraintSet sets the SizeConstraintSet field's value. -func (s *GetSizeConstraintSetOutput) SetSizeConstraintSet(v *SizeConstraintSet) *GetSizeConstraintSetOutput { - s.SizeConstraintSet = v - return s -} - // A request to get a SqlInjectionMatchSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSqlInjectionMatchSetRequest type GetSqlInjectionMatchSetInput struct { @@ -8663,12 +7763,6 @@ func (s *GetSqlInjectionMatchSetInput) Validate() error { return nil } -// SetSqlInjectionMatchSetId sets the SqlInjectionMatchSetId field's value. -func (s *GetSqlInjectionMatchSetInput) SetSqlInjectionMatchSetId(v string) *GetSqlInjectionMatchSetInput { - s.SqlInjectionMatchSetId = &v - return s -} - // The response to a GetSqlInjectionMatchSet request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSqlInjectionMatchSetResponse type GetSqlInjectionMatchSetOutput struct { @@ -8704,12 +7798,6 @@ func (s GetSqlInjectionMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSqlInjectionMatchSet sets the SqlInjectionMatchSet field's value. -func (s *GetSqlInjectionMatchSetOutput) SetSqlInjectionMatchSet(v *SqlInjectionMatchSet) *GetSqlInjectionMatchSetOutput { - s.SqlInjectionMatchSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetWebACLRequest type GetWebACLInput struct { _ struct{} `type:"structure"` @@ -8748,12 +7836,6 @@ func (s *GetWebACLInput) Validate() error { return nil } -// SetWebACLId sets the WebACLId field's value. -func (s *GetWebACLInput) SetWebACLId(v string) *GetWebACLInput { - s.WebACLId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetWebACLResponse type GetWebACLOutput struct { _ struct{} `type:"structure"` @@ -8790,12 +7872,6 @@ func (s GetWebACLOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetWebACL sets the WebACL field's value. -func (s *GetWebACLOutput) SetWebACL(v *WebACL) *GetWebACLOutput { - s.WebACL = v - return s -} - // A request to get an XssMatchSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetXssMatchSetRequest type GetXssMatchSetInput struct { @@ -8835,12 +7911,6 @@ func (s *GetXssMatchSetInput) Validate() error { return nil } -// SetXssMatchSetId sets the XssMatchSetId field's value. -func (s *GetXssMatchSetInput) SetXssMatchSetId(v string) *GetXssMatchSetInput { - s.XssMatchSetId = &v - return s -} - // The response to a GetXssMatchSet request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetXssMatchSetResponse type GetXssMatchSetOutput struct { @@ -8875,12 +7945,6 @@ func (s GetXssMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetXssMatchSet sets the XssMatchSet field's value. -func (s *GetXssMatchSetOutput) SetXssMatchSet(v *XssMatchSet) *GetXssMatchSetOutput { - s.XssMatchSet = v - return s -} - // The response from a GetSampledRequests request includes an HTTPHeader complex // type that appears as Headers in the response syntax. HTTPHeader contains // the names and values of all of the headers that appear in one of the web @@ -8906,18 +7970,6 @@ func (s HTTPHeader) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *HTTPHeader) SetName(v string) *HTTPHeader { - s.Name = &v - return s -} - -// SetValue sets the Value field's value. -func (s *HTTPHeader) SetValue(v string) *HTTPHeader { - s.Value = &v - return s -} - // The response from a GetSampledRequests request includes an HTTPRequest complex // type that appears as Request in the response syntax. HTTPRequest contains // information about one of the web requests that were returned by GetSampledRequests. @@ -8966,42 +8018,6 @@ func (s HTTPRequest) GoString() string { return s.String() } -// SetClientIP sets the ClientIP field's value. -func (s *HTTPRequest) SetClientIP(v string) *HTTPRequest { - s.ClientIP = &v - return s -} - -// SetCountry sets the Country field's value. -func (s *HTTPRequest) SetCountry(v string) *HTTPRequest { - s.Country = &v - return s -} - -// SetHTTPVersion sets the HTTPVersion field's value. -func (s *HTTPRequest) SetHTTPVersion(v string) *HTTPRequest { - s.HTTPVersion = &v - return s -} - -// SetHeaders sets the Headers field's value. -func (s *HTTPRequest) SetHeaders(v []HTTPHeader) *HTTPRequest { - s.Headers = v - return s -} - -// SetMethod sets the Method field's value. -func (s *HTTPRequest) SetMethod(v string) *HTTPRequest { - s.Method = &v - return s -} - -// SetURI sets the URI field's value. -func (s *HTTPRequest) SetURI(v string) *HTTPRequest { - s.URI = &v - return s -} - // Contains one or more IP addresses or blocks of IP addresses specified in // Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports /8, /16, // /24, and /32 IP address ranges for IPv4, and /24, /32, /48, /56, /64 and @@ -9050,24 +8066,6 @@ func (s IPSet) GoString() string { return s.String() } -// SetIPSetDescriptors sets the IPSetDescriptors field's value. -func (s *IPSet) SetIPSetDescriptors(v []IPSetDescriptor) *IPSet { - s.IPSetDescriptors = v - return s -} - -// SetIPSetId sets the IPSetId field's value. -func (s *IPSet) SetIPSetId(v string) *IPSet { - s.IPSetId = &v - return s -} - -// SetName sets the Name field's value. -func (s *IPSet) SetName(v string) *IPSet { - s.Name = &v - return s -} - // Specifies the IP address type (IPV4 or IPV6) and the IP address range (in // CIDR format) that web requests originate from. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/IPSetDescriptor @@ -9130,18 +8128,6 @@ func (s *IPSetDescriptor) Validate() error { return nil } -// SetType sets the Type field's value. -func (s *IPSetDescriptor) SetType(v IPSetDescriptorType) *IPSetDescriptor { - s.Type = v - return s -} - -// SetValue sets the Value field's value. -func (s *IPSetDescriptor) SetValue(v string) *IPSetDescriptor { - s.Value = &v - return s -} - // Contains the identifier and the name of the IPSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/IPSetSummary type IPSetSummary struct { @@ -9170,18 +8156,6 @@ func (s IPSetSummary) GoString() string { return s.String() } -// SetIPSetId sets the IPSetId field's value. -func (s *IPSetSummary) SetIPSetId(v string) *IPSetSummary { - s.IPSetId = &v - return s -} - -// SetName sets the Name field's value. -func (s *IPSetSummary) SetName(v string) *IPSetSummary { - s.Name = &v - return s -} - // Specifies the type of update to perform to an IPSet with UpdateIPSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/IPSetUpdate type IPSetUpdate struct { @@ -9231,18 +8205,6 @@ func (s *IPSetUpdate) Validate() error { return nil } -// SetAction sets the Action field's value. -func (s *IPSetUpdate) SetAction(v ChangeAction) *IPSetUpdate { - s.Action = v - return s -} - -// SetIPSetDescriptor sets the IPSetDescriptor field's value. -func (s *IPSetUpdate) SetIPSetDescriptor(v *IPSetDescriptor) *IPSetUpdate { - s.IPSetDescriptor = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListActivatedRulesInRuleGroupRequest type ListActivatedRulesInRuleGroupInput struct { _ struct{} `type:"structure"` @@ -9291,24 +8253,6 @@ func (s *ListActivatedRulesInRuleGroupInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListActivatedRulesInRuleGroupInput) SetLimit(v int64) *ListActivatedRulesInRuleGroupInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListActivatedRulesInRuleGroupInput) SetNextMarker(v string) *ListActivatedRulesInRuleGroupInput { - s.NextMarker = &v - return s -} - -// SetRuleGroupId sets the RuleGroupId field's value. -func (s *ListActivatedRulesInRuleGroupInput) SetRuleGroupId(v string) *ListActivatedRulesInRuleGroupInput { - s.RuleGroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListActivatedRulesInRuleGroupResponse type ListActivatedRulesInRuleGroupOutput struct { _ struct{} `type:"structure"` @@ -9340,18 +8284,6 @@ func (s ListActivatedRulesInRuleGroupOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetActivatedRules sets the ActivatedRules field's value. -func (s *ListActivatedRulesInRuleGroupOutput) SetActivatedRules(v []ActivatedRule) *ListActivatedRulesInRuleGroupOutput { - s.ActivatedRules = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListActivatedRulesInRuleGroupOutput) SetNextMarker(v string) *ListActivatedRulesInRuleGroupOutput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListByteMatchSetsRequest type ListByteMatchSetsInput struct { _ struct{} `type:"structure"` @@ -9393,18 +8325,6 @@ func (s *ListByteMatchSetsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListByteMatchSetsInput) SetLimit(v int64) *ListByteMatchSetsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListByteMatchSetsInput) SetNextMarker(v string) *ListByteMatchSetsInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListByteMatchSetsResponse type ListByteMatchSetsOutput struct { _ struct{} `type:"structure"` @@ -9437,18 +8357,6 @@ func (s ListByteMatchSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetByteMatchSets sets the ByteMatchSets field's value. -func (s *ListByteMatchSetsOutput) SetByteMatchSets(v []ByteMatchSetSummary) *ListByteMatchSetsOutput { - s.ByteMatchSets = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListByteMatchSetsOutput) SetNextMarker(v string) *ListByteMatchSetsOutput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListGeoMatchSetsRequest type ListGeoMatchSetsInput struct { _ struct{} `type:"structure"` @@ -9490,18 +8398,6 @@ func (s *ListGeoMatchSetsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListGeoMatchSetsInput) SetLimit(v int64) *ListGeoMatchSetsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListGeoMatchSetsInput) SetNextMarker(v string) *ListGeoMatchSetsInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListGeoMatchSetsResponse type ListGeoMatchSetsOutput struct { _ struct{} `type:"structure"` @@ -9534,18 +8430,6 @@ func (s ListGeoMatchSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGeoMatchSets sets the GeoMatchSets field's value. -func (s *ListGeoMatchSetsOutput) SetGeoMatchSets(v []GeoMatchSetSummary) *ListGeoMatchSetsOutput { - s.GeoMatchSets = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListGeoMatchSetsOutput) SetNextMarker(v string) *ListGeoMatchSetsOutput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListIPSetsRequest type ListIPSetsInput struct { _ struct{} `type:"structure"` @@ -9587,18 +8471,6 @@ func (s *ListIPSetsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListIPSetsInput) SetLimit(v int64) *ListIPSetsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListIPSetsInput) SetNextMarker(v string) *ListIPSetsInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListIPSetsResponse type ListIPSetsOutput struct { _ struct{} `type:"structure"` @@ -9630,18 +8502,6 @@ func (s ListIPSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIPSets sets the IPSets field's value. -func (s *ListIPSetsOutput) SetIPSets(v []IPSetSummary) *ListIPSetsOutput { - s.IPSets = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListIPSetsOutput) SetNextMarker(v string) *ListIPSetsOutput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRateBasedRulesRequest type ListRateBasedRulesInput struct { _ struct{} `type:"structure"` @@ -9682,18 +8542,6 @@ func (s *ListRateBasedRulesInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListRateBasedRulesInput) SetLimit(v int64) *ListRateBasedRulesInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListRateBasedRulesInput) SetNextMarker(v string) *ListRateBasedRulesInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRateBasedRulesResponse type ListRateBasedRulesOutput struct { _ struct{} `type:"structure"` @@ -9725,18 +8573,6 @@ func (s ListRateBasedRulesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListRateBasedRulesOutput) SetNextMarker(v string) *ListRateBasedRulesOutput { - s.NextMarker = &v - return s -} - -// SetRules sets the Rules field's value. -func (s *ListRateBasedRulesOutput) SetRules(v []RuleSummary) *ListRateBasedRulesOutput { - s.Rules = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexMatchSetsRequest type ListRegexMatchSetsInput struct { _ struct{} `type:"structure"` @@ -9779,18 +8615,6 @@ func (s *ListRegexMatchSetsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListRegexMatchSetsInput) SetLimit(v int64) *ListRegexMatchSetsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListRegexMatchSetsInput) SetNextMarker(v string) *ListRegexMatchSetsInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexMatchSetsResponse type ListRegexMatchSetsOutput struct { _ struct{} `type:"structure"` @@ -9823,18 +8647,6 @@ func (s ListRegexMatchSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListRegexMatchSetsOutput) SetNextMarker(v string) *ListRegexMatchSetsOutput { - s.NextMarker = &v - return s -} - -// SetRegexMatchSets sets the RegexMatchSets field's value. -func (s *ListRegexMatchSetsOutput) SetRegexMatchSets(v []RegexMatchSetSummary) *ListRegexMatchSetsOutput { - s.RegexMatchSets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexPatternSetsRequest type ListRegexPatternSetsInput struct { _ struct{} `type:"structure"` @@ -9877,18 +8689,6 @@ func (s *ListRegexPatternSetsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListRegexPatternSetsInput) SetLimit(v int64) *ListRegexPatternSetsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListRegexPatternSetsInput) SetNextMarker(v string) *ListRegexPatternSetsInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexPatternSetsResponse type ListRegexPatternSetsOutput struct { _ struct{} `type:"structure"` @@ -9921,18 +8721,6 @@ func (s ListRegexPatternSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListRegexPatternSetsOutput) SetNextMarker(v string) *ListRegexPatternSetsOutput { - s.NextMarker = &v - return s -} - -// SetRegexPatternSets sets the RegexPatternSets field's value. -func (s *ListRegexPatternSetsOutput) SetRegexPatternSets(v []RegexPatternSetSummary) *ListRegexPatternSetsOutput { - s.RegexPatternSets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRuleGroupsRequest type ListRuleGroupsInput struct { _ struct{} `type:"structure"` @@ -9974,18 +8762,6 @@ func (s *ListRuleGroupsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListRuleGroupsInput) SetLimit(v int64) *ListRuleGroupsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListRuleGroupsInput) SetNextMarker(v string) *ListRuleGroupsInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRuleGroupsResponse type ListRuleGroupsOutput struct { _ struct{} `type:"structure"` @@ -10017,18 +8793,6 @@ func (s ListRuleGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListRuleGroupsOutput) SetNextMarker(v string) *ListRuleGroupsOutput { - s.NextMarker = &v - return s -} - -// SetRuleGroups sets the RuleGroups field's value. -func (s *ListRuleGroupsOutput) SetRuleGroups(v []RuleGroupSummary) *ListRuleGroupsOutput { - s.RuleGroups = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRulesRequest type ListRulesInput struct { _ struct{} `type:"structure"` @@ -10069,18 +8833,6 @@ func (s *ListRulesInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListRulesInput) SetLimit(v int64) *ListRulesInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListRulesInput) SetNextMarker(v string) *ListRulesInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRulesResponse type ListRulesOutput struct { _ struct{} `type:"structure"` @@ -10112,18 +8864,6 @@ func (s ListRulesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListRulesOutput) SetNextMarker(v string) *ListRulesOutput { - s.NextMarker = &v - return s -} - -// SetRules sets the Rules field's value. -func (s *ListRulesOutput) SetRules(v []RuleSummary) *ListRulesOutput { - s.Rules = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSizeConstraintSetsRequest type ListSizeConstraintSetsInput struct { _ struct{} `type:"structure"` @@ -10165,18 +8905,6 @@ func (s *ListSizeConstraintSetsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListSizeConstraintSetsInput) SetLimit(v int64) *ListSizeConstraintSetsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListSizeConstraintSetsInput) SetNextMarker(v string) *ListSizeConstraintSetsInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSizeConstraintSetsResponse type ListSizeConstraintSetsOutput struct { _ struct{} `type:"structure"` @@ -10209,18 +8937,6 @@ func (s ListSizeConstraintSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListSizeConstraintSetsOutput) SetNextMarker(v string) *ListSizeConstraintSetsOutput { - s.NextMarker = &v - return s -} - -// SetSizeConstraintSets sets the SizeConstraintSets field's value. -func (s *ListSizeConstraintSetsOutput) SetSizeConstraintSets(v []SizeConstraintSetSummary) *ListSizeConstraintSetsOutput { - s.SizeConstraintSets = v - return s -} - // A request to list the SqlInjectionMatchSet objects created by the current // AWS account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSqlInjectionMatchSetsRequest @@ -10264,18 +8980,6 @@ func (s *ListSqlInjectionMatchSetsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListSqlInjectionMatchSetsInput) SetLimit(v int64) *ListSqlInjectionMatchSetsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListSqlInjectionMatchSetsInput) SetNextMarker(v string) *ListSqlInjectionMatchSetsInput { - s.NextMarker = &v - return s -} - // The response to a ListSqlInjectionMatchSets request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSqlInjectionMatchSetsResponse type ListSqlInjectionMatchSetsOutput struct { @@ -10309,18 +9013,6 @@ func (s ListSqlInjectionMatchSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListSqlInjectionMatchSetsOutput) SetNextMarker(v string) *ListSqlInjectionMatchSetsOutput { - s.NextMarker = &v - return s -} - -// SetSqlInjectionMatchSets sets the SqlInjectionMatchSets field's value. -func (s *ListSqlInjectionMatchSetsOutput) SetSqlInjectionMatchSets(v []SqlInjectionMatchSetSummary) *ListSqlInjectionMatchSetsOutput { - s.SqlInjectionMatchSets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSubscribedRuleGroupsRequest type ListSubscribedRuleGroupsInput struct { _ struct{} `type:"structure"` @@ -10363,18 +9055,6 @@ func (s *ListSubscribedRuleGroupsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListSubscribedRuleGroupsInput) SetLimit(v int64) *ListSubscribedRuleGroupsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListSubscribedRuleGroupsInput) SetNextMarker(v string) *ListSubscribedRuleGroupsInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSubscribedRuleGroupsResponse type ListSubscribedRuleGroupsOutput struct { _ struct{} `type:"structure"` @@ -10406,18 +9086,6 @@ func (s ListSubscribedRuleGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListSubscribedRuleGroupsOutput) SetNextMarker(v string) *ListSubscribedRuleGroupsOutput { - s.NextMarker = &v - return s -} - -// SetRuleGroups sets the RuleGroups field's value. -func (s *ListSubscribedRuleGroupsOutput) SetRuleGroups(v []SubscribedRuleGroupSummary) *ListSubscribedRuleGroupsOutput { - s.RuleGroups = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListWebACLsRequest type ListWebACLsInput struct { _ struct{} `type:"structure"` @@ -10460,18 +9128,6 @@ func (s *ListWebACLsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListWebACLsInput) SetLimit(v int64) *ListWebACLsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListWebACLsInput) SetNextMarker(v string) *ListWebACLsInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListWebACLsResponse type ListWebACLsOutput struct { _ struct{} `type:"structure"` @@ -10503,18 +9159,6 @@ func (s ListWebACLsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListWebACLsOutput) SetNextMarker(v string) *ListWebACLsOutput { - s.NextMarker = &v - return s -} - -// SetWebACLs sets the WebACLs field's value. -func (s *ListWebACLsOutput) SetWebACLs(v []WebACLSummary) *ListWebACLsOutput { - s.WebACLs = v - return s -} - // A request to list the XssMatchSet objects created by the current AWS account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListXssMatchSetsRequest type ListXssMatchSetsInput struct { @@ -10557,18 +9201,6 @@ func (s *ListXssMatchSetsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListXssMatchSetsInput) SetLimit(v int64) *ListXssMatchSetsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListXssMatchSetsInput) SetNextMarker(v string) *ListXssMatchSetsInput { - s.NextMarker = &v - return s -} - // The response to a ListXssMatchSets request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListXssMatchSetsResponse type ListXssMatchSetsOutput struct { @@ -10602,18 +9234,6 @@ func (s ListXssMatchSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListXssMatchSetsOutput) SetNextMarker(v string) *ListXssMatchSetsOutput { - s.NextMarker = &v - return s -} - -// SetXssMatchSets sets the XssMatchSets field's value. -func (s *ListXssMatchSetsOutput) SetXssMatchSets(v []XssMatchSetSummary) *ListXssMatchSetsOutput { - s.XssMatchSets = v - return s -} - // Specifies the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, // GeoMatchSet, and SizeConstraintSet objects that you want to add to a Rule // and, for each object, indicates whether you want to negate the settings, @@ -10683,24 +9303,6 @@ func (s *Predicate) Validate() error { return nil } -// SetDataId sets the DataId field's value. -func (s *Predicate) SetDataId(v string) *Predicate { - s.DataId = &v - return s -} - -// SetNegated sets the Negated field's value. -func (s *Predicate) SetNegated(v bool) *Predicate { - s.Negated = &v - return s -} - -// SetType sets the Type field's value. -func (s *Predicate) SetType(v PredicateType) *Predicate { - s.Type = v - return s -} - // A RateBasedRule is identical to a regular Rule, with one addition: a RateBasedRule // counts the number of requests that arrive from a specified IP address every // five minutes. For example, based on recent requests that you've seen from @@ -10773,42 +9375,6 @@ func (s RateBasedRule) GoString() string { return s.String() } -// SetMatchPredicates sets the MatchPredicates field's value. -func (s *RateBasedRule) SetMatchPredicates(v []Predicate) *RateBasedRule { - s.MatchPredicates = v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *RateBasedRule) SetMetricName(v string) *RateBasedRule { - s.MetricName = &v - return s -} - -// SetName sets the Name field's value. -func (s *RateBasedRule) SetName(v string) *RateBasedRule { - s.Name = &v - return s -} - -// SetRateKey sets the RateKey field's value. -func (s *RateBasedRule) SetRateKey(v RateKey) *RateBasedRule { - s.RateKey = v - return s -} - -// SetRateLimit sets the RateLimit field's value. -func (s *RateBasedRule) SetRateLimit(v int64) *RateBasedRule { - s.RateLimit = &v - return s -} - -// SetRuleId sets the RuleId field's value. -func (s *RateBasedRule) SetRuleId(v string) *RateBasedRule { - s.RuleId = &v - return s -} - // In a GetRegexMatchSet request, RegexMatchSet is a complex type that contains // the RegexMatchSetId and Name of a RegexMatchSet, and the values that you // specified when you updated the RegexMatchSet. @@ -10858,24 +9424,6 @@ func (s RegexMatchSet) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *RegexMatchSet) SetName(v string) *RegexMatchSet { - s.Name = &v - return s -} - -// SetRegexMatchSetId sets the RegexMatchSetId field's value. -func (s *RegexMatchSet) SetRegexMatchSetId(v string) *RegexMatchSet { - s.RegexMatchSetId = &v - return s -} - -// SetRegexMatchTuples sets the RegexMatchTuples field's value. -func (s *RegexMatchSet) SetRegexMatchTuples(v []RegexMatchTuple) *RegexMatchSet { - s.RegexMatchTuples = v - return s -} - // Returned by ListRegexMatchSets. Each RegexMatchSetSummary object includes // the Name and RegexMatchSetId for one RegexMatchSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RegexMatchSetSummary @@ -10904,20 +9452,8 @@ func (s RegexMatchSetSummary) String() string { } // GoString returns the string representation -func (s RegexMatchSetSummary) GoString() string { - return s.String() -} - -// SetName sets the Name field's value. -func (s *RegexMatchSetSummary) SetName(v string) *RegexMatchSetSummary { - s.Name = &v - return s -} - -// SetRegexMatchSetId sets the RegexMatchSetId field's value. -func (s *RegexMatchSetSummary) SetRegexMatchSetId(v string) *RegexMatchSetSummary { - s.RegexMatchSetId = &v - return s +func (s RegexMatchSetSummary) GoString() string { + return s.String() } // In an UpdateRegexMatchSet request, RegexMatchSetUpdate specifies whether @@ -10973,18 +9509,6 @@ func (s *RegexMatchSetUpdate) Validate() error { return nil } -// SetAction sets the Action field's value. -func (s *RegexMatchSetUpdate) SetAction(v ChangeAction) *RegexMatchSetUpdate { - s.Action = v - return s -} - -// SetRegexMatchTuple sets the RegexMatchTuple field's value. -func (s *RegexMatchSetUpdate) SetRegexMatchTuple(v *RegexMatchTuple) *RegexMatchSetUpdate { - s.RegexMatchTuple = v - return s -} - // The regular expression pattern that you want AWS WAF to search for in web // requests, the location in requests that you want AWS WAF to search, and other // settings. Each RegexMatchTuple object contains: @@ -11131,24 +9655,6 @@ func (s *RegexMatchTuple) Validate() error { return nil } -// SetFieldToMatch sets the FieldToMatch field's value. -func (s *RegexMatchTuple) SetFieldToMatch(v *FieldToMatch) *RegexMatchTuple { - s.FieldToMatch = v - return s -} - -// SetRegexPatternSetId sets the RegexPatternSetId field's value. -func (s *RegexMatchTuple) SetRegexPatternSetId(v string) *RegexMatchTuple { - s.RegexPatternSetId = &v - return s -} - -// SetTextTransformation sets the TextTransformation field's value. -func (s *RegexMatchTuple) SetTextTransformation(v TextTransformation) *RegexMatchTuple { - s.TextTransformation = v - return s -} - // The RegexPatternSet specifies the regular expression (regex) pattern that // you want AWS WAF to search for, such as B[a@]dB[o0]t. You can then configure // AWS WAF to reject those requests. @@ -11186,24 +9692,6 @@ func (s RegexPatternSet) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *RegexPatternSet) SetName(v string) *RegexPatternSet { - s.Name = &v - return s -} - -// SetRegexPatternSetId sets the RegexPatternSetId field's value. -func (s *RegexPatternSet) SetRegexPatternSetId(v string) *RegexPatternSet { - s.RegexPatternSetId = &v - return s -} - -// SetRegexPatternStrings sets the RegexPatternStrings field's value. -func (s *RegexPatternSet) SetRegexPatternStrings(v []string) *RegexPatternSet { - s.RegexPatternStrings = v - return s -} - // Returned by ListRegexPatternSets. Each RegexPatternSetSummary object includes // the Name and RegexPatternSetId for one RegexPatternSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RegexPatternSetSummary @@ -11237,18 +9725,6 @@ func (s RegexPatternSetSummary) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *RegexPatternSetSummary) SetName(v string) *RegexPatternSetSummary { - s.Name = &v - return s -} - -// SetRegexPatternSetId sets the RegexPatternSetId field's value. -func (s *RegexPatternSetSummary) SetRegexPatternSetId(v string) *RegexPatternSetSummary { - s.RegexPatternSetId = &v - return s -} - // In an UpdateRegexPatternSet request, RegexPatternSetUpdate specifies whether // to insert or delete a RegexPatternString and includes the settings for the // RegexPatternString. @@ -11298,18 +9774,6 @@ func (s *RegexPatternSetUpdate) Validate() error { return nil } -// SetAction sets the Action field's value. -func (s *RegexPatternSetUpdate) SetAction(v ChangeAction) *RegexPatternSetUpdate { - s.Action = v - return s -} - -// SetRegexPatternString sets the RegexPatternString field's value. -func (s *RegexPatternSetUpdate) SetRegexPatternString(v string) *RegexPatternSetUpdate { - s.RegexPatternString = &v - return s -} - // A combination of ByteMatchSet, IPSet, and/or SqlInjectionMatchSet objects // that identify the web requests that you want to allow, block, or count. For // example, you might create a Rule that includes the following predicates: @@ -11362,30 +9826,6 @@ func (s Rule) GoString() string { return s.String() } -// SetMetricName sets the MetricName field's value. -func (s *Rule) SetMetricName(v string) *Rule { - s.MetricName = &v - return s -} - -// SetName sets the Name field's value. -func (s *Rule) SetName(v string) *Rule { - s.Name = &v - return s -} - -// SetPredicates sets the Predicates field's value. -func (s *Rule) SetPredicates(v []Predicate) *Rule { - s.Predicates = v - return s -} - -// SetRuleId sets the RuleId field's value. -func (s *Rule) SetRuleId(v string) *Rule { - s.RuleId = &v - return s -} - // A collection of predefined rules that you can add to a web ACL. // // Rule groups are subject to the following limits: @@ -11431,24 +9871,6 @@ func (s RuleGroup) GoString() string { return s.String() } -// SetMetricName sets the MetricName field's value. -func (s *RuleGroup) SetMetricName(v string) *RuleGroup { - s.MetricName = &v - return s -} - -// SetName sets the Name field's value. -func (s *RuleGroup) SetName(v string) *RuleGroup { - s.Name = &v - return s -} - -// SetRuleGroupId sets the RuleGroupId field's value. -func (s *RuleGroup) SetRuleGroupId(v string) *RuleGroup { - s.RuleGroupId = &v - return s -} - // Contains the identifier and the friendly name or description of the RuleGroup. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RuleGroupSummary type RuleGroupSummary struct { @@ -11481,18 +9903,6 @@ func (s RuleGroupSummary) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *RuleGroupSummary) SetName(v string) *RuleGroupSummary { - s.Name = &v - return s -} - -// SetRuleGroupId sets the RuleGroupId field's value. -func (s *RuleGroupSummary) SetRuleGroupId(v string) *RuleGroupSummary { - s.RuleGroupId = &v - return s -} - // Specifies an ActivatedRule and indicates whether you want to add it to a // RuleGroup or delete it from a RuleGroup. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RuleGroupUpdate @@ -11545,18 +9955,6 @@ func (s *RuleGroupUpdate) Validate() error { return nil } -// SetAction sets the Action field's value. -func (s *RuleGroupUpdate) SetAction(v ChangeAction) *RuleGroupUpdate { - s.Action = v - return s -} - -// SetActivatedRule sets the ActivatedRule field's value. -func (s *RuleGroupUpdate) SetActivatedRule(v *ActivatedRule) *RuleGroupUpdate { - s.ActivatedRule = v - return s -} - // Contains the identifier and the friendly name or description of the Rule. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RuleSummary type RuleSummary struct { @@ -11589,18 +9987,6 @@ func (s RuleSummary) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *RuleSummary) SetName(v string) *RuleSummary { - s.Name = &v - return s -} - -// SetRuleId sets the RuleId field's value. -func (s *RuleSummary) SetRuleId(v string) *RuleSummary { - s.RuleId = &v - return s -} - // Specifies a Predicate (such as an IPSet) and indicates whether you want to // add it to a Rule or delete it from a Rule. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/RuleUpdate @@ -11651,18 +10037,6 @@ func (s *RuleUpdate) Validate() error { return nil } -// SetAction sets the Action field's value. -func (s *RuleUpdate) SetAction(v ChangeAction) *RuleUpdate { - s.Action = v - return s -} - -// SetPredicate sets the Predicate field's value. -func (s *RuleUpdate) SetPredicate(v *Predicate) *RuleUpdate { - s.Predicate = v - return s -} - // The response from a GetSampledRequests request includes a SampledHTTPRequests // complex type that appears as SampledRequests in the response syntax. SampledHTTPRequests // contains one SampledHTTPRequest object for each web request that is returned @@ -11708,36 +10082,6 @@ func (s SampledHTTPRequest) GoString() string { return s.String() } -// SetAction sets the Action field's value. -func (s *SampledHTTPRequest) SetAction(v string) *SampledHTTPRequest { - s.Action = &v - return s -} - -// SetRequest sets the Request field's value. -func (s *SampledHTTPRequest) SetRequest(v *HTTPRequest) *SampledHTTPRequest { - s.Request = v - return s -} - -// SetRuleWithinRuleGroup sets the RuleWithinRuleGroup field's value. -func (s *SampledHTTPRequest) SetRuleWithinRuleGroup(v string) *SampledHTTPRequest { - s.RuleWithinRuleGroup = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *SampledHTTPRequest) SetTimestamp(v time.Time) *SampledHTTPRequest { - s.Timestamp = &v - return s -} - -// SetWeight sets the Weight field's value. -func (s *SampledHTTPRequest) SetWeight(v int64) *SampledHTTPRequest { - s.Weight = &v - return s -} - // Specifies a constraint on the size of a part of the web request. AWS WAF // uses the Size, ComparisonOperator, and FieldToMatch to build an expression // in the form of "SizeComparisonOperator size in bytes of FieldToMatch". If @@ -11904,30 +10248,6 @@ func (s *SizeConstraint) Validate() error { return nil } -// SetComparisonOperator sets the ComparisonOperator field's value. -func (s *SizeConstraint) SetComparisonOperator(v ComparisonOperator) *SizeConstraint { - s.ComparisonOperator = v - return s -} - -// SetFieldToMatch sets the FieldToMatch field's value. -func (s *SizeConstraint) SetFieldToMatch(v *FieldToMatch) *SizeConstraint { - s.FieldToMatch = v - return s -} - -// SetSize sets the Size field's value. -func (s *SizeConstraint) SetSize(v int64) *SizeConstraint { - s.Size = &v - return s -} - -// SetTextTransformation sets the TextTransformation field's value. -func (s *SizeConstraint) SetTextTransformation(v TextTransformation) *SizeConstraint { - s.TextTransformation = v - return s -} - // A complex type that contains SizeConstraint objects, which specify the parts // of web requests that you want AWS WAF to inspect the size of. If a SizeConstraintSet // contains more than one SizeConstraint object, a request only needs to match @@ -11966,24 +10286,6 @@ func (s SizeConstraintSet) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *SizeConstraintSet) SetName(v string) *SizeConstraintSet { - s.Name = &v - return s -} - -// SetSizeConstraintSetId sets the SizeConstraintSetId field's value. -func (s *SizeConstraintSet) SetSizeConstraintSetId(v string) *SizeConstraintSet { - s.SizeConstraintSetId = &v - return s -} - -// SetSizeConstraints sets the SizeConstraints field's value. -func (s *SizeConstraintSet) SetSizeConstraints(v []SizeConstraint) *SizeConstraintSet { - s.SizeConstraints = v - return s -} - // The Id and Name of a SizeConstraintSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SizeConstraintSetSummary type SizeConstraintSetSummary struct { @@ -12016,18 +10318,6 @@ func (s SizeConstraintSetSummary) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *SizeConstraintSetSummary) SetName(v string) *SizeConstraintSetSummary { - s.Name = &v - return s -} - -// SetSizeConstraintSetId sets the SizeConstraintSetId field's value. -func (s *SizeConstraintSetSummary) SetSizeConstraintSetId(v string) *SizeConstraintSetSummary { - s.SizeConstraintSetId = &v - return s -} - // Specifies the part of a web request that you want to inspect the size of // and indicates whether you want to add the specification to a SizeConstraintSet // or delete it from a SizeConstraintSet. @@ -12082,18 +10372,6 @@ func (s *SizeConstraintSetUpdate) Validate() error { return nil } -// SetAction sets the Action field's value. -func (s *SizeConstraintSetUpdate) SetAction(v ChangeAction) *SizeConstraintSetUpdate { - s.Action = v - return s -} - -// SetSizeConstraint sets the SizeConstraint field's value. -func (s *SizeConstraintSetUpdate) SetSizeConstraint(v *SizeConstraint) *SizeConstraintSetUpdate { - s.SizeConstraint = v - return s -} - // A complex type that contains SqlInjectionMatchTuple objects, which specify // the parts of web requests that you want AWS WAF to inspect for snippets of // malicious SQL code and, if you want AWS WAF to inspect a header, the name @@ -12135,24 +10413,6 @@ func (s SqlInjectionMatchSet) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *SqlInjectionMatchSet) SetName(v string) *SqlInjectionMatchSet { - s.Name = &v - return s -} - -// SetSqlInjectionMatchSetId sets the SqlInjectionMatchSetId field's value. -func (s *SqlInjectionMatchSet) SetSqlInjectionMatchSetId(v string) *SqlInjectionMatchSet { - s.SqlInjectionMatchSetId = &v - return s -} - -// SetSqlInjectionMatchTuples sets the SqlInjectionMatchTuples field's value. -func (s *SqlInjectionMatchSet) SetSqlInjectionMatchTuples(v []SqlInjectionMatchTuple) *SqlInjectionMatchSet { - s.SqlInjectionMatchTuples = v - return s -} - // The Id and Name of a SqlInjectionMatchSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SqlInjectionMatchSetSummary type SqlInjectionMatchSetSummary struct { @@ -12185,18 +10445,6 @@ func (s SqlInjectionMatchSetSummary) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *SqlInjectionMatchSetSummary) SetName(v string) *SqlInjectionMatchSetSummary { - s.Name = &v - return s -} - -// SetSqlInjectionMatchSetId sets the SqlInjectionMatchSetId field's value. -func (s *SqlInjectionMatchSetSummary) SetSqlInjectionMatchSetId(v string) *SqlInjectionMatchSetSummary { - s.SqlInjectionMatchSetId = &v - return s -} - // Specifies the part of a web request that you want to inspect for snippets // of malicious SQL code and indicates whether you want to add the specification // to a SqlInjectionMatchSet or delete it from a SqlInjectionMatchSet. @@ -12250,18 +10498,6 @@ func (s *SqlInjectionMatchSetUpdate) Validate() error { return nil } -// SetAction sets the Action field's value. -func (s *SqlInjectionMatchSetUpdate) SetAction(v ChangeAction) *SqlInjectionMatchSetUpdate { - s.Action = v - return s -} - -// SetSqlInjectionMatchTuple sets the SqlInjectionMatchTuple field's value. -func (s *SqlInjectionMatchSetUpdate) SetSqlInjectionMatchTuple(v *SqlInjectionMatchTuple) *SqlInjectionMatchSetUpdate { - s.SqlInjectionMatchTuple = v - return s -} - // Specifies the part of a web request that you want AWS WAF to inspect for // snippets of malicious SQL code and, if you want AWS WAF to inspect a header, // the name of the header. @@ -12381,18 +10617,6 @@ func (s *SqlInjectionMatchTuple) Validate() error { return nil } -// SetFieldToMatch sets the FieldToMatch field's value. -func (s *SqlInjectionMatchTuple) SetFieldToMatch(v *FieldToMatch) *SqlInjectionMatchTuple { - s.FieldToMatch = v - return s -} - -// SetTextTransformation sets the TextTransformation field's value. -func (s *SqlInjectionMatchTuple) SetTextTransformation(v TextTransformation) *SqlInjectionMatchTuple { - s.TextTransformation = v - return s -} - // A summary of the rule groups you are subscribed to. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/SubscribedRuleGroupSummary type SubscribedRuleGroupSummary struct { @@ -12428,24 +10652,6 @@ func (s SubscribedRuleGroupSummary) GoString() string { return s.String() } -// SetMetricName sets the MetricName field's value. -func (s *SubscribedRuleGroupSummary) SetMetricName(v string) *SubscribedRuleGroupSummary { - s.MetricName = &v - return s -} - -// SetName sets the Name field's value. -func (s *SubscribedRuleGroupSummary) SetName(v string) *SubscribedRuleGroupSummary { - s.Name = &v - return s -} - -// SetRuleGroupId sets the RuleGroupId field's value. -func (s *SubscribedRuleGroupSummary) SetRuleGroupId(v string) *SubscribedRuleGroupSummary { - s.RuleGroupId = &v - return s -} - // In a GetSampledRequests request, the StartTime and EndTime objects specify // the time range for which you want AWS WAF to return a sample of web requests. // @@ -12505,18 +10711,6 @@ func (s *TimeWindow) Validate() error { return nil } -// SetEndTime sets the EndTime field's value. -func (s *TimeWindow) SetEndTime(v time.Time) *TimeWindow { - s.EndTime = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *TimeWindow) SetStartTime(v time.Time) *TimeWindow { - s.StartTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateByteMatchSetRequest type UpdateByteMatchSetInput struct { _ struct{} `type:"structure"` @@ -12594,24 +10788,6 @@ func (s *UpdateByteMatchSetInput) Validate() error { return nil } -// SetByteMatchSetId sets the ByteMatchSetId field's value. -func (s *UpdateByteMatchSetInput) SetByteMatchSetId(v string) *UpdateByteMatchSetInput { - s.ByteMatchSetId = &v - return s -} - -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateByteMatchSetInput) SetChangeToken(v string) *UpdateByteMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateByteMatchSetInput) SetUpdates(v []ByteMatchSetUpdate) *UpdateByteMatchSetInput { - s.Updates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateByteMatchSetResponse type UpdateByteMatchSetOutput struct { _ struct{} `type:"structure"` @@ -12639,12 +10815,6 @@ func (s UpdateByteMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateByteMatchSetOutput) SetChangeToken(v string) *UpdateByteMatchSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateGeoMatchSetRequest type UpdateGeoMatchSetInput struct { _ struct{} `type:"structure"` @@ -12722,24 +10892,6 @@ func (s *UpdateGeoMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateGeoMatchSetInput) SetChangeToken(v string) *UpdateGeoMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetGeoMatchSetId sets the GeoMatchSetId field's value. -func (s *UpdateGeoMatchSetInput) SetGeoMatchSetId(v string) *UpdateGeoMatchSetInput { - s.GeoMatchSetId = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateGeoMatchSetInput) SetUpdates(v []GeoMatchSetUpdate) *UpdateGeoMatchSetInput { - s.Updates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateGeoMatchSetResponse type UpdateGeoMatchSetOutput struct { _ struct{} `type:"structure"` @@ -12767,12 +10919,6 @@ func (s UpdateGeoMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateGeoMatchSetOutput) SetChangeToken(v string) *UpdateGeoMatchSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateIPSetRequest type UpdateIPSetInput struct { _ struct{} `type:"structure"` @@ -12847,24 +10993,6 @@ func (s *UpdateIPSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateIPSetInput) SetChangeToken(v string) *UpdateIPSetInput { - s.ChangeToken = &v - return s -} - -// SetIPSetId sets the IPSetId field's value. -func (s *UpdateIPSetInput) SetIPSetId(v string) *UpdateIPSetInput { - s.IPSetId = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateIPSetInput) SetUpdates(v []IPSetUpdate) *UpdateIPSetInput { - s.Updates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateIPSetResponse type UpdateIPSetOutput struct { _ struct{} `type:"structure"` @@ -12892,12 +11020,6 @@ func (s UpdateIPSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateIPSetOutput) SetChangeToken(v string) *UpdateIPSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRateBasedRuleRequest type UpdateRateBasedRuleInput struct { _ struct{} `type:"structure"` @@ -12981,30 +11103,6 @@ func (s *UpdateRateBasedRuleInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateRateBasedRuleInput) SetChangeToken(v string) *UpdateRateBasedRuleInput { - s.ChangeToken = &v - return s -} - -// SetRateLimit sets the RateLimit field's value. -func (s *UpdateRateBasedRuleInput) SetRateLimit(v int64) *UpdateRateBasedRuleInput { - s.RateLimit = &v - return s -} - -// SetRuleId sets the RuleId field's value. -func (s *UpdateRateBasedRuleInput) SetRuleId(v string) *UpdateRateBasedRuleInput { - s.RuleId = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateRateBasedRuleInput) SetUpdates(v []RuleUpdate) *UpdateRateBasedRuleInput { - s.Updates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRateBasedRuleResponse type UpdateRateBasedRuleOutput struct { _ struct{} `type:"structure"` @@ -13032,12 +11130,6 @@ func (s UpdateRateBasedRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateRateBasedRuleOutput) SetChangeToken(v string) *UpdateRateBasedRuleOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexMatchSetRequest type UpdateRegexMatchSetInput struct { _ struct{} `type:"structure"` @@ -13108,24 +11200,6 @@ func (s *UpdateRegexMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateRegexMatchSetInput) SetChangeToken(v string) *UpdateRegexMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetRegexMatchSetId sets the RegexMatchSetId field's value. -func (s *UpdateRegexMatchSetInput) SetRegexMatchSetId(v string) *UpdateRegexMatchSetInput { - s.RegexMatchSetId = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateRegexMatchSetInput) SetUpdates(v []RegexMatchSetUpdate) *UpdateRegexMatchSetInput { - s.Updates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexMatchSetResponse type UpdateRegexMatchSetOutput struct { _ struct{} `type:"structure"` @@ -13153,12 +11227,6 @@ func (s UpdateRegexMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateRegexMatchSetOutput) SetChangeToken(v string) *UpdateRegexMatchSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexPatternSetRequest type UpdateRegexPatternSetInput struct { _ struct{} `type:"structure"` @@ -13229,24 +11297,6 @@ func (s *UpdateRegexPatternSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateRegexPatternSetInput) SetChangeToken(v string) *UpdateRegexPatternSetInput { - s.ChangeToken = &v - return s -} - -// SetRegexPatternSetId sets the RegexPatternSetId field's value. -func (s *UpdateRegexPatternSetInput) SetRegexPatternSetId(v string) *UpdateRegexPatternSetInput { - s.RegexPatternSetId = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateRegexPatternSetInput) SetUpdates(v []RegexPatternSetUpdate) *UpdateRegexPatternSetInput { - s.Updates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexPatternSetResponse type UpdateRegexPatternSetOutput struct { _ struct{} `type:"structure"` @@ -13274,12 +11324,6 @@ func (s UpdateRegexPatternSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateRegexPatternSetOutput) SetChangeToken(v string) *UpdateRegexPatternSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRuleGroupRequest type UpdateRuleGroupInput struct { _ struct{} `type:"structure"` @@ -13356,24 +11400,6 @@ func (s *UpdateRuleGroupInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateRuleGroupInput) SetChangeToken(v string) *UpdateRuleGroupInput { - s.ChangeToken = &v - return s -} - -// SetRuleGroupId sets the RuleGroupId field's value. -func (s *UpdateRuleGroupInput) SetRuleGroupId(v string) *UpdateRuleGroupInput { - s.RuleGroupId = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateRuleGroupInput) SetUpdates(v []RuleGroupUpdate) *UpdateRuleGroupInput { - s.Updates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRuleGroupResponse type UpdateRuleGroupOutput struct { _ struct{} `type:"structure"` @@ -13401,12 +11427,6 @@ func (s UpdateRuleGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateRuleGroupOutput) SetChangeToken(v string) *UpdateRuleGroupOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRuleRequest type UpdateRuleInput struct { _ struct{} `type:"structure"` @@ -13480,24 +11500,6 @@ func (s *UpdateRuleInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateRuleInput) SetChangeToken(v string) *UpdateRuleInput { - s.ChangeToken = &v - return s -} - -// SetRuleId sets the RuleId field's value. -func (s *UpdateRuleInput) SetRuleId(v string) *UpdateRuleInput { - s.RuleId = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateRuleInput) SetUpdates(v []RuleUpdate) *UpdateRuleInput { - s.Updates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRuleResponse type UpdateRuleOutput struct { _ struct{} `type:"structure"` @@ -13525,12 +11527,6 @@ func (s UpdateRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateRuleOutput) SetChangeToken(v string) *UpdateRuleOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSizeConstraintSetRequest type UpdateSizeConstraintSetInput struct { _ struct{} `type:"structure"` @@ -13609,24 +11605,6 @@ func (s *UpdateSizeConstraintSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateSizeConstraintSetInput) SetChangeToken(v string) *UpdateSizeConstraintSetInput { - s.ChangeToken = &v - return s -} - -// SetSizeConstraintSetId sets the SizeConstraintSetId field's value. -func (s *UpdateSizeConstraintSetInput) SetSizeConstraintSetId(v string) *UpdateSizeConstraintSetInput { - s.SizeConstraintSetId = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateSizeConstraintSetInput) SetUpdates(v []SizeConstraintSetUpdate) *UpdateSizeConstraintSetInput { - s.Updates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSizeConstraintSetResponse type UpdateSizeConstraintSetOutput struct { _ struct{} `type:"structure"` @@ -13654,12 +11632,6 @@ func (s UpdateSizeConstraintSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateSizeConstraintSetOutput) SetChangeToken(v string) *UpdateSizeConstraintSetOutput { - s.ChangeToken = &v - return s -} - // A request to update a SqlInjectionMatchSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSqlInjectionMatchSetRequest type UpdateSqlInjectionMatchSetInput struct { @@ -13738,24 +11710,6 @@ func (s *UpdateSqlInjectionMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateSqlInjectionMatchSetInput) SetChangeToken(v string) *UpdateSqlInjectionMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetSqlInjectionMatchSetId sets the SqlInjectionMatchSetId field's value. -func (s *UpdateSqlInjectionMatchSetInput) SetSqlInjectionMatchSetId(v string) *UpdateSqlInjectionMatchSetInput { - s.SqlInjectionMatchSetId = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateSqlInjectionMatchSetInput) SetUpdates(v []SqlInjectionMatchSetUpdate) *UpdateSqlInjectionMatchSetInput { - s.Updates = v - return s -} - // The response to an UpdateSqlInjectionMatchSets request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSqlInjectionMatchSetResponse type UpdateSqlInjectionMatchSetOutput struct { @@ -13784,12 +11738,6 @@ func (s UpdateSqlInjectionMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateSqlInjectionMatchSetOutput) SetChangeToken(v string) *UpdateSqlInjectionMatchSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateWebACLRequest type UpdateWebACLInput struct { _ struct{} `type:"structure"` @@ -13872,30 +11820,6 @@ func (s *UpdateWebACLInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateWebACLInput) SetChangeToken(v string) *UpdateWebACLInput { - s.ChangeToken = &v - return s -} - -// SetDefaultAction sets the DefaultAction field's value. -func (s *UpdateWebACLInput) SetDefaultAction(v *WafAction) *UpdateWebACLInput { - s.DefaultAction = v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateWebACLInput) SetUpdates(v []WebACLUpdate) *UpdateWebACLInput { - s.Updates = v - return s -} - -// SetWebACLId sets the WebACLId field's value. -func (s *UpdateWebACLInput) SetWebACLId(v string) *UpdateWebACLInput { - s.WebACLId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateWebACLResponse type UpdateWebACLOutput struct { _ struct{} `type:"structure"` @@ -13923,12 +11847,6 @@ func (s UpdateWebACLOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateWebACLOutput) SetChangeToken(v string) *UpdateWebACLOutput { - s.ChangeToken = &v - return s -} - // A request to update an XssMatchSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateXssMatchSetRequest type UpdateXssMatchSetInput struct { @@ -14006,24 +11924,6 @@ func (s *UpdateXssMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateXssMatchSetInput) SetChangeToken(v string) *UpdateXssMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateXssMatchSetInput) SetUpdates(v []XssMatchSetUpdate) *UpdateXssMatchSetInput { - s.Updates = v - return s -} - -// SetXssMatchSetId sets the XssMatchSetId field's value. -func (s *UpdateXssMatchSetInput) SetXssMatchSetId(v string) *UpdateXssMatchSetInput { - s.XssMatchSetId = &v - return s -} - // The response to an UpdateXssMatchSets request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateXssMatchSetResponse type UpdateXssMatchSetOutput struct { @@ -14052,12 +11952,6 @@ func (s UpdateXssMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateXssMatchSetOutput) SetChangeToken(v string) *UpdateXssMatchSetOutput { - s.ChangeToken = &v - return s -} - // For the action that is associated with a rule in a WebACL, specifies the // action that you want AWS WAF to perform when a web request matches all of // the conditions in a rule. For the default action in a WebACL, specifies the @@ -14106,12 +12000,6 @@ func (s *WafAction) Validate() error { return nil } -// SetType sets the Type field's value. -func (s *WafAction) SetType(v WafActionType) *WafAction { - s.Type = v - return s -} - // The action to take if any rule within the RuleGroup matches a request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WafOverrideAction type WafOverrideAction struct { @@ -14147,12 +12035,6 @@ func (s *WafOverrideAction) Validate() error { return nil } -// SetType sets the Type field's value. -func (s *WafOverrideAction) SetType(v WafOverrideActionType) *WafOverrideAction { - s.Type = v - return s -} - // Contains the Rules that identify the requests that you want to allow, block, // or count. In a WebACL, you also specify a default action (ALLOW or BLOCK), // and the action for each Rule that you add to a WebACL, for example, block @@ -14206,36 +12088,6 @@ func (s WebACL) GoString() string { return s.String() } -// SetDefaultAction sets the DefaultAction field's value. -func (s *WebACL) SetDefaultAction(v *WafAction) *WebACL { - s.DefaultAction = v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *WebACL) SetMetricName(v string) *WebACL { - s.MetricName = &v - return s -} - -// SetName sets the Name field's value. -func (s *WebACL) SetName(v string) *WebACL { - s.Name = &v - return s -} - -// SetRules sets the Rules field's value. -func (s *WebACL) SetRules(v []ActivatedRule) *WebACL { - s.Rules = v - return s -} - -// SetWebACLId sets the WebACLId field's value. -func (s *WebACL) SetWebACLId(v string) *WebACL { - s.WebACLId = &v - return s -} - // Contains the identifier and the name or description of the WebACL. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WebACLSummary type WebACLSummary struct { @@ -14267,18 +12119,6 @@ func (s WebACLSummary) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *WebACLSummary) SetName(v string) *WebACLSummary { - s.Name = &v - return s -} - -// SetWebACLId sets the WebACLId field's value. -func (s *WebACLSummary) SetWebACLId(v string) *WebACLSummary { - s.WebACLId = &v - return s -} - // Specifies whether to insert a Rule into or delete a Rule from a WebACL. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/WebACLUpdate type WebACLUpdate struct { @@ -14330,18 +12170,6 @@ func (s *WebACLUpdate) Validate() error { return nil } -// SetAction sets the Action field's value. -func (s *WebACLUpdate) SetAction(v ChangeAction) *WebACLUpdate { - s.Action = v - return s -} - -// SetActivatedRule sets the ActivatedRule field's value. -func (s *WebACLUpdate) SetActivatedRule(v *ActivatedRule) *WebACLUpdate { - s.ActivatedRule = v - return s -} - // A complex type that contains XssMatchTuple objects, which specify the parts // of web requests that you want AWS WAF to inspect for cross-site scripting // attacks and, if you want AWS WAF to inspect a header, the name of the header. @@ -14382,24 +12210,6 @@ func (s XssMatchSet) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *XssMatchSet) SetName(v string) *XssMatchSet { - s.Name = &v - return s -} - -// SetXssMatchSetId sets the XssMatchSetId field's value. -func (s *XssMatchSet) SetXssMatchSetId(v string) *XssMatchSet { - s.XssMatchSetId = &v - return s -} - -// SetXssMatchTuples sets the XssMatchTuples field's value. -func (s *XssMatchSet) SetXssMatchTuples(v []XssMatchTuple) *XssMatchSet { - s.XssMatchTuples = v - return s -} - // The Id and Name of an XssMatchSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/XssMatchSetSummary type XssMatchSetSummary struct { @@ -14431,18 +12241,6 @@ func (s XssMatchSetSummary) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *XssMatchSetSummary) SetName(v string) *XssMatchSetSummary { - s.Name = &v - return s -} - -// SetXssMatchSetId sets the XssMatchSetId field's value. -func (s *XssMatchSetSummary) SetXssMatchSetId(v string) *XssMatchSetSummary { - s.XssMatchSetId = &v - return s -} - // Specifies the part of a web request that you want to inspect for cross-site // scripting attacks and indicates whether you want to add the specification // to an XssMatchSet or delete it from an XssMatchSet. @@ -14496,18 +12294,6 @@ func (s *XssMatchSetUpdate) Validate() error { return nil } -// SetAction sets the Action field's value. -func (s *XssMatchSetUpdate) SetAction(v ChangeAction) *XssMatchSetUpdate { - s.Action = v - return s -} - -// SetXssMatchTuple sets the XssMatchTuple field's value. -func (s *XssMatchSetUpdate) SetXssMatchTuple(v *XssMatchTuple) *XssMatchSetUpdate { - s.XssMatchTuple = v - return s -} - // Specifies the part of a web request that you want AWS WAF to inspect for // cross-site scripting attacks and, if you want AWS WAF to inspect a header, // the name of the header. @@ -14627,18 +12413,6 @@ func (s *XssMatchTuple) Validate() error { return nil } -// SetFieldToMatch sets the FieldToMatch field's value. -func (s *XssMatchTuple) SetFieldToMatch(v *FieldToMatch) *XssMatchTuple { - s.FieldToMatch = v - return s -} - -// SetTextTransformation sets the TextTransformation field's value. -func (s *XssMatchTuple) SetTextTransformation(v TextTransformation) *XssMatchTuple { - s.TextTransformation = v - return s -} - type ChangeAction string // Enum values for ChangeAction diff --git a/service/wafregional/api.go b/service/wafregional/api.go index cc38523092a..c21b85e0734 100644 --- a/service/wafregional/api.go +++ b/service/wafregional/api.go @@ -4391,18 +4391,6 @@ func (s *AssociateWebACLInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *AssociateWebACLInput) SetResourceArn(v string) *AssociateWebACLInput { - s.ResourceArn = &v - return s -} - -// SetWebACLId sets the WebACLId field's value. -func (s *AssociateWebACLInput) SetWebACLId(v string) *AssociateWebACLInput { - s.WebACLId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/AssociateWebACLResponse type AssociateWebACLOutput struct { _ struct{} `type:"structure"` @@ -4475,18 +4463,6 @@ func (s *CreateByteMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateByteMatchSetInput) SetChangeToken(v string) *CreateByteMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateByteMatchSetInput) SetName(v string) *CreateByteMatchSetInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateByteMatchSetResponse type CreateByteMatchSetOutput struct { _ struct{} `type:"structure"` @@ -4517,18 +4493,6 @@ func (s CreateByteMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetByteMatchSet sets the ByteMatchSet field's value. -func (s *CreateByteMatchSetOutput) SetByteMatchSet(v *waf.ByteMatchSet) *CreateByteMatchSetOutput { - s.ByteMatchSet = v - return s -} - -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateByteMatchSetOutput) SetChangeToken(v string) *CreateByteMatchSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateGeoMatchSetRequest type CreateGeoMatchSetInput struct { _ struct{} `type:"structure"` @@ -4579,18 +4543,6 @@ func (s *CreateGeoMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateGeoMatchSetInput) SetChangeToken(v string) *CreateGeoMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateGeoMatchSetInput) SetName(v string) *CreateGeoMatchSetInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateGeoMatchSetResponse type CreateGeoMatchSetOutput struct { _ struct{} `type:"structure"` @@ -4622,18 +4574,6 @@ func (s CreateGeoMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateGeoMatchSetOutput) SetChangeToken(v string) *CreateGeoMatchSetOutput { - s.ChangeToken = &v - return s -} - -// SetGeoMatchSet sets the GeoMatchSet field's value. -func (s *CreateGeoMatchSetOutput) SetGeoMatchSet(v *waf.GeoMatchSet) *CreateGeoMatchSetOutput { - s.GeoMatchSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateIPSetRequest type CreateIPSetInput struct { _ struct{} `type:"structure"` @@ -4684,18 +4624,6 @@ func (s *CreateIPSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateIPSetInput) SetChangeToken(v string) *CreateIPSetInput { - s.ChangeToken = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateIPSetInput) SetName(v string) *CreateIPSetInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateIPSetResponse type CreateIPSetOutput struct { _ struct{} `type:"structure"` @@ -4726,18 +4654,6 @@ func (s CreateIPSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateIPSetOutput) SetChangeToken(v string) *CreateIPSetOutput { - s.ChangeToken = &v - return s -} - -// SetIPSet sets the IPSet field's value. -func (s *CreateIPSetOutput) SetIPSet(v *waf.IPSet) *CreateIPSetOutput { - s.IPSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRateBasedRuleRequest type CreateRateBasedRuleInput struct { _ struct{} `type:"structure"` @@ -4829,36 +4745,6 @@ func (s *CreateRateBasedRuleInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateRateBasedRuleInput) SetChangeToken(v string) *CreateRateBasedRuleInput { - s.ChangeToken = &v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *CreateRateBasedRuleInput) SetMetricName(v string) *CreateRateBasedRuleInput { - s.MetricName = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateRateBasedRuleInput) SetName(v string) *CreateRateBasedRuleInput { - s.Name = &v - return s -} - -// SetRateKey sets the RateKey field's value. -func (s *CreateRateBasedRuleInput) SetRateKey(v RateKey) *CreateRateBasedRuleInput { - s.RateKey = v - return s -} - -// SetRateLimit sets the RateLimit field's value. -func (s *CreateRateBasedRuleInput) SetRateLimit(v int64) *CreateRateBasedRuleInput { - s.RateLimit = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRateBasedRuleResponse type CreateRateBasedRuleOutput struct { _ struct{} `type:"structure"` @@ -4889,18 +4775,6 @@ func (s CreateRateBasedRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateRateBasedRuleOutput) SetChangeToken(v string) *CreateRateBasedRuleOutput { - s.ChangeToken = &v - return s -} - -// SetRule sets the Rule field's value. -func (s *CreateRateBasedRuleOutput) SetRule(v *waf.RateBasedRule) *CreateRateBasedRuleOutput { - s.Rule = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRegexMatchSetRequest type CreateRegexMatchSetInput struct { _ struct{} `type:"structure"` @@ -4951,18 +4825,6 @@ func (s *CreateRegexMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateRegexMatchSetInput) SetChangeToken(v string) *CreateRegexMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateRegexMatchSetInput) SetName(v string) *CreateRegexMatchSetInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRegexMatchSetResponse type CreateRegexMatchSetOutput struct { _ struct{} `type:"structure"` @@ -4993,18 +4855,6 @@ func (s CreateRegexMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateRegexMatchSetOutput) SetChangeToken(v string) *CreateRegexMatchSetOutput { - s.ChangeToken = &v - return s -} - -// SetRegexMatchSet sets the RegexMatchSet field's value. -func (s *CreateRegexMatchSetOutput) SetRegexMatchSet(v *waf.RegexMatchSet) *CreateRegexMatchSetOutput { - s.RegexMatchSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRegexPatternSetRequest type CreateRegexPatternSetInput struct { _ struct{} `type:"structure"` @@ -5055,18 +4905,6 @@ func (s *CreateRegexPatternSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateRegexPatternSetInput) SetChangeToken(v string) *CreateRegexPatternSetInput { - s.ChangeToken = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateRegexPatternSetInput) SetName(v string) *CreateRegexPatternSetInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRegexPatternSetResponse type CreateRegexPatternSetOutput struct { _ struct{} `type:"structure"` @@ -5097,18 +4935,6 @@ func (s CreateRegexPatternSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateRegexPatternSetOutput) SetChangeToken(v string) *CreateRegexPatternSetOutput { - s.ChangeToken = &v - return s -} - -// SetRegexPatternSet sets the RegexPatternSet field's value. -func (s *CreateRegexPatternSetOutput) SetRegexPatternSet(v *waf.RegexPatternSet) *CreateRegexPatternSetOutput { - s.RegexPatternSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRuleGroupRequest type CreateRuleGroupInput struct { _ struct{} `type:"structure"` @@ -5171,24 +4997,6 @@ func (s *CreateRuleGroupInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateRuleGroupInput) SetChangeToken(v string) *CreateRuleGroupInput { - s.ChangeToken = &v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *CreateRuleGroupInput) SetMetricName(v string) *CreateRuleGroupInput { - s.MetricName = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateRuleGroupInput) SetName(v string) *CreateRuleGroupInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRuleGroupResponse type CreateRuleGroupOutput struct { _ struct{} `type:"structure"` @@ -5219,18 +5027,6 @@ func (s CreateRuleGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateRuleGroupOutput) SetChangeToken(v string) *CreateRuleGroupOutput { - s.ChangeToken = &v - return s -} - -// SetRuleGroup sets the RuleGroup field's value. -func (s *CreateRuleGroupOutput) SetRuleGroup(v *waf.RuleGroup) *CreateRuleGroupOutput { - s.RuleGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRuleRequest type CreateRuleInput struct { _ struct{} `type:"structure"` @@ -5293,24 +5089,6 @@ func (s *CreateRuleInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateRuleInput) SetChangeToken(v string) *CreateRuleInput { - s.ChangeToken = &v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *CreateRuleInput) SetMetricName(v string) *CreateRuleInput { - s.MetricName = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateRuleInput) SetName(v string) *CreateRuleInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRuleResponse type CreateRuleOutput struct { _ struct{} `type:"structure"` @@ -5341,18 +5119,6 @@ func (s CreateRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateRuleOutput) SetChangeToken(v string) *CreateRuleOutput { - s.ChangeToken = &v - return s -} - -// SetRule sets the Rule field's value. -func (s *CreateRuleOutput) SetRule(v *waf.Rule) *CreateRuleOutput { - s.Rule = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateSizeConstraintSetRequest type CreateSizeConstraintSetInput struct { _ struct{} `type:"structure"` @@ -5403,18 +5169,6 @@ func (s *CreateSizeConstraintSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateSizeConstraintSetInput) SetChangeToken(v string) *CreateSizeConstraintSetInput { - s.ChangeToken = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateSizeConstraintSetInput) SetName(v string) *CreateSizeConstraintSetInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateSizeConstraintSetResponse type CreateSizeConstraintSetOutput struct { _ struct{} `type:"structure"` @@ -5445,18 +5199,6 @@ func (s CreateSizeConstraintSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateSizeConstraintSetOutput) SetChangeToken(v string) *CreateSizeConstraintSetOutput { - s.ChangeToken = &v - return s -} - -// SetSizeConstraintSet sets the SizeConstraintSet field's value. -func (s *CreateSizeConstraintSetOutput) SetSizeConstraintSet(v *waf.SizeConstraintSet) *CreateSizeConstraintSetOutput { - s.SizeConstraintSet = v - return s -} - // A request to create a SqlInjectionMatchSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateSqlInjectionMatchSetRequest type CreateSqlInjectionMatchSetInput struct { @@ -5508,18 +5250,6 @@ func (s *CreateSqlInjectionMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateSqlInjectionMatchSetInput) SetChangeToken(v string) *CreateSqlInjectionMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateSqlInjectionMatchSetInput) SetName(v string) *CreateSqlInjectionMatchSetInput { - s.Name = &v - return s -} - // The response to a CreateSqlInjectionMatchSet request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateSqlInjectionMatchSetResponse type CreateSqlInjectionMatchSetOutput struct { @@ -5551,18 +5281,6 @@ func (s CreateSqlInjectionMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateSqlInjectionMatchSetOutput) SetChangeToken(v string) *CreateSqlInjectionMatchSetOutput { - s.ChangeToken = &v - return s -} - -// SetSqlInjectionMatchSet sets the SqlInjectionMatchSet field's value. -func (s *CreateSqlInjectionMatchSetOutput) SetSqlInjectionMatchSet(v *waf.SqlInjectionMatchSet) *CreateSqlInjectionMatchSetOutput { - s.SqlInjectionMatchSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACLRequest type CreateWebACLInput struct { _ struct{} `type:"structure"` @@ -5640,30 +5358,6 @@ func (s *CreateWebACLInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateWebACLInput) SetChangeToken(v string) *CreateWebACLInput { - s.ChangeToken = &v - return s -} - -// SetDefaultAction sets the DefaultAction field's value. -func (s *CreateWebACLInput) SetDefaultAction(v *waf.WafAction) *CreateWebACLInput { - s.DefaultAction = v - return s -} - -// SetMetricName sets the MetricName field's value. -func (s *CreateWebACLInput) SetMetricName(v string) *CreateWebACLInput { - s.MetricName = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateWebACLInput) SetName(v string) *CreateWebACLInput { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACLResponse type CreateWebACLOutput struct { _ struct{} `type:"structure"` @@ -5694,18 +5388,6 @@ func (s CreateWebACLOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateWebACLOutput) SetChangeToken(v string) *CreateWebACLOutput { - s.ChangeToken = &v - return s -} - -// SetWebACL sets the WebACL field's value. -func (s *CreateWebACLOutput) SetWebACL(v *waf.WebACL) *CreateWebACLOutput { - s.WebACL = v - return s -} - // A request to create an XssMatchSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateXssMatchSetRequest type CreateXssMatchSetInput struct { @@ -5757,18 +5439,6 @@ func (s *CreateXssMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateXssMatchSetInput) SetChangeToken(v string) *CreateXssMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateXssMatchSetInput) SetName(v string) *CreateXssMatchSetInput { - s.Name = &v - return s -} - // The response to a CreateXssMatchSet request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateXssMatchSetResponse type CreateXssMatchSetOutput struct { @@ -5800,18 +5470,6 @@ func (s CreateXssMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *CreateXssMatchSetOutput) SetChangeToken(v string) *CreateXssMatchSetOutput { - s.ChangeToken = &v - return s -} - -// SetXssMatchSet sets the XssMatchSet field's value. -func (s *CreateXssMatchSetOutput) SetXssMatchSet(v *waf.XssMatchSet) *CreateXssMatchSetOutput { - s.XssMatchSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteByteMatchSetRequest type DeleteByteMatchSetInput struct { _ struct{} `type:"structure"` @@ -5862,18 +5520,6 @@ func (s *DeleteByteMatchSetInput) Validate() error { return nil } -// SetByteMatchSetId sets the ByteMatchSetId field's value. -func (s *DeleteByteMatchSetInput) SetByteMatchSetId(v string) *DeleteByteMatchSetInput { - s.ByteMatchSetId = &v - return s -} - -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteByteMatchSetInput) SetChangeToken(v string) *DeleteByteMatchSetInput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteByteMatchSetResponse type DeleteByteMatchSetOutput struct { _ struct{} `type:"structure"` @@ -5901,12 +5547,6 @@ func (s DeleteByteMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteByteMatchSetOutput) SetChangeToken(v string) *DeleteByteMatchSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteGeoMatchSetRequest type DeleteGeoMatchSetInput struct { _ struct{} `type:"structure"` @@ -5957,18 +5597,6 @@ func (s *DeleteGeoMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteGeoMatchSetInput) SetChangeToken(v string) *DeleteGeoMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetGeoMatchSetId sets the GeoMatchSetId field's value. -func (s *DeleteGeoMatchSetInput) SetGeoMatchSetId(v string) *DeleteGeoMatchSetInput { - s.GeoMatchSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteGeoMatchSetResponse type DeleteGeoMatchSetOutput struct { _ struct{} `type:"structure"` @@ -5996,12 +5624,6 @@ func (s DeleteGeoMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteGeoMatchSetOutput) SetChangeToken(v string) *DeleteGeoMatchSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteIPSetRequest type DeleteIPSetInput struct { _ struct{} `type:"structure"` @@ -6052,18 +5674,6 @@ func (s *DeleteIPSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteIPSetInput) SetChangeToken(v string) *DeleteIPSetInput { - s.ChangeToken = &v - return s -} - -// SetIPSetId sets the IPSetId field's value. -func (s *DeleteIPSetInput) SetIPSetId(v string) *DeleteIPSetInput { - s.IPSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteIPSetResponse type DeleteIPSetOutput struct { _ struct{} `type:"structure"` @@ -6091,12 +5701,6 @@ func (s DeleteIPSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteIPSetOutput) SetChangeToken(v string) *DeleteIPSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRateBasedRuleRequest type DeleteRateBasedRuleInput struct { _ struct{} `type:"structure"` @@ -6147,18 +5751,6 @@ func (s *DeleteRateBasedRuleInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteRateBasedRuleInput) SetChangeToken(v string) *DeleteRateBasedRuleInput { - s.ChangeToken = &v - return s -} - -// SetRuleId sets the RuleId field's value. -func (s *DeleteRateBasedRuleInput) SetRuleId(v string) *DeleteRateBasedRuleInput { - s.RuleId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRateBasedRuleResponse type DeleteRateBasedRuleOutput struct { _ struct{} `type:"structure"` @@ -6186,12 +5778,6 @@ func (s DeleteRateBasedRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteRateBasedRuleOutput) SetChangeToken(v string) *DeleteRateBasedRuleOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRegexMatchSetRequest type DeleteRegexMatchSetInput struct { _ struct{} `type:"structure"` @@ -6242,18 +5828,6 @@ func (s *DeleteRegexMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteRegexMatchSetInput) SetChangeToken(v string) *DeleteRegexMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetRegexMatchSetId sets the RegexMatchSetId field's value. -func (s *DeleteRegexMatchSetInput) SetRegexMatchSetId(v string) *DeleteRegexMatchSetInput { - s.RegexMatchSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRegexMatchSetResponse type DeleteRegexMatchSetOutput struct { _ struct{} `type:"structure"` @@ -6281,12 +5855,6 @@ func (s DeleteRegexMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteRegexMatchSetOutput) SetChangeToken(v string) *DeleteRegexMatchSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRegexPatternSetRequest type DeleteRegexPatternSetInput struct { _ struct{} `type:"structure"` @@ -6337,18 +5905,6 @@ func (s *DeleteRegexPatternSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteRegexPatternSetInput) SetChangeToken(v string) *DeleteRegexPatternSetInput { - s.ChangeToken = &v - return s -} - -// SetRegexPatternSetId sets the RegexPatternSetId field's value. -func (s *DeleteRegexPatternSetInput) SetRegexPatternSetId(v string) *DeleteRegexPatternSetInput { - s.RegexPatternSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRegexPatternSetResponse type DeleteRegexPatternSetOutput struct { _ struct{} `type:"structure"` @@ -6376,12 +5932,6 @@ func (s DeleteRegexPatternSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteRegexPatternSetOutput) SetChangeToken(v string) *DeleteRegexPatternSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRuleGroupRequest type DeleteRuleGroupInput struct { _ struct{} `type:"structure"` @@ -6432,18 +5982,6 @@ func (s *DeleteRuleGroupInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteRuleGroupInput) SetChangeToken(v string) *DeleteRuleGroupInput { - s.ChangeToken = &v - return s -} - -// SetRuleGroupId sets the RuleGroupId field's value. -func (s *DeleteRuleGroupInput) SetRuleGroupId(v string) *DeleteRuleGroupInput { - s.RuleGroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRuleGroupResponse type DeleteRuleGroupOutput struct { _ struct{} `type:"structure"` @@ -6471,12 +6009,6 @@ func (s DeleteRuleGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteRuleGroupOutput) SetChangeToken(v string) *DeleteRuleGroupOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRuleRequest type DeleteRuleInput struct { _ struct{} `type:"structure"` @@ -6527,18 +6059,6 @@ func (s *DeleteRuleInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteRuleInput) SetChangeToken(v string) *DeleteRuleInput { - s.ChangeToken = &v - return s -} - -// SetRuleId sets the RuleId field's value. -func (s *DeleteRuleInput) SetRuleId(v string) *DeleteRuleInput { - s.RuleId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRuleResponse type DeleteRuleOutput struct { _ struct{} `type:"structure"` @@ -6566,12 +6086,6 @@ func (s DeleteRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteRuleOutput) SetChangeToken(v string) *DeleteRuleOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteSizeConstraintSetRequest type DeleteSizeConstraintSetInput struct { _ struct{} `type:"structure"` @@ -6622,18 +6136,6 @@ func (s *DeleteSizeConstraintSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteSizeConstraintSetInput) SetChangeToken(v string) *DeleteSizeConstraintSetInput { - s.ChangeToken = &v - return s -} - -// SetSizeConstraintSetId sets the SizeConstraintSetId field's value. -func (s *DeleteSizeConstraintSetInput) SetSizeConstraintSetId(v string) *DeleteSizeConstraintSetInput { - s.SizeConstraintSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteSizeConstraintSetResponse type DeleteSizeConstraintSetOutput struct { _ struct{} `type:"structure"` @@ -6661,12 +6163,6 @@ func (s DeleteSizeConstraintSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteSizeConstraintSetOutput) SetChangeToken(v string) *DeleteSizeConstraintSetOutput { - s.ChangeToken = &v - return s -} - // A request to delete a SqlInjectionMatchSet from AWS WAF. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteSqlInjectionMatchSetRequest type DeleteSqlInjectionMatchSetInput struct { @@ -6718,18 +6214,6 @@ func (s *DeleteSqlInjectionMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteSqlInjectionMatchSetInput) SetChangeToken(v string) *DeleteSqlInjectionMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetSqlInjectionMatchSetId sets the SqlInjectionMatchSetId field's value. -func (s *DeleteSqlInjectionMatchSetInput) SetSqlInjectionMatchSetId(v string) *DeleteSqlInjectionMatchSetInput { - s.SqlInjectionMatchSetId = &v - return s -} - // The response to a request to delete a SqlInjectionMatchSet from AWS WAF. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteSqlInjectionMatchSetResponse type DeleteSqlInjectionMatchSetOutput struct { @@ -6758,12 +6242,6 @@ func (s DeleteSqlInjectionMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteSqlInjectionMatchSetOutput) SetChangeToken(v string) *DeleteSqlInjectionMatchSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteWebACLRequest type DeleteWebACLInput struct { _ struct{} `type:"structure"` @@ -6814,18 +6292,6 @@ func (s *DeleteWebACLInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteWebACLInput) SetChangeToken(v string) *DeleteWebACLInput { - s.ChangeToken = &v - return s -} - -// SetWebACLId sets the WebACLId field's value. -func (s *DeleteWebACLInput) SetWebACLId(v string) *DeleteWebACLInput { - s.WebACLId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteWebACLResponse type DeleteWebACLOutput struct { _ struct{} `type:"structure"` @@ -6853,12 +6319,6 @@ func (s DeleteWebACLOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteWebACLOutput) SetChangeToken(v string) *DeleteWebACLOutput { - s.ChangeToken = &v - return s -} - // A request to delete an XssMatchSet from AWS WAF. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteXssMatchSetRequest type DeleteXssMatchSetInput struct { @@ -6910,18 +6370,6 @@ func (s *DeleteXssMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteXssMatchSetInput) SetChangeToken(v string) *DeleteXssMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetXssMatchSetId sets the XssMatchSetId field's value. -func (s *DeleteXssMatchSetInput) SetXssMatchSetId(v string) *DeleteXssMatchSetInput { - s.XssMatchSetId = &v - return s -} - // The response to a request to delete an XssMatchSet from AWS WAF. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteXssMatchSetResponse type DeleteXssMatchSetOutput struct { @@ -6950,12 +6398,6 @@ func (s DeleteXssMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *DeleteXssMatchSetOutput) SetChangeToken(v string) *DeleteXssMatchSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DisassociateWebACLRequest type DisassociateWebACLInput struct { _ struct{} `type:"structure"` @@ -6994,12 +6436,6 @@ func (s *DisassociateWebACLInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *DisassociateWebACLInput) SetResourceArn(v string) *DisassociateWebACLInput { - s.ResourceArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DisassociateWebACLResponse type DisassociateWebACLOutput struct { _ struct{} `type:"structure"` @@ -7060,12 +6496,6 @@ func (s *GetByteMatchSetInput) Validate() error { return nil } -// SetByteMatchSetId sets the ByteMatchSetId field's value. -func (s *GetByteMatchSetInput) SetByteMatchSetId(v string) *GetByteMatchSetInput { - s.ByteMatchSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetByteMatchSetResponse type GetByteMatchSetOutput struct { _ struct{} `type:"structure"` @@ -7100,12 +6530,6 @@ func (s GetByteMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetByteMatchSet sets the ByteMatchSet field's value. -func (s *GetByteMatchSetOutput) SetByteMatchSet(v *waf.ByteMatchSet) *GetByteMatchSetOutput { - s.ByteMatchSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetChangeTokenRequest type GetChangeTokenInput struct { _ struct{} `type:"structure"` @@ -7147,12 +6571,6 @@ func (s GetChangeTokenOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *GetChangeTokenOutput) SetChangeToken(v string) *GetChangeTokenOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetChangeTokenStatusRequest type GetChangeTokenStatusInput struct { _ struct{} `type:"structure"` @@ -7191,12 +6609,6 @@ func (s *GetChangeTokenStatusInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *GetChangeTokenStatusInput) SetChangeToken(v string) *GetChangeTokenStatusInput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetChangeTokenStatusResponse type GetChangeTokenStatusOutput struct { _ struct{} `type:"structure"` @@ -7222,12 +6634,6 @@ func (s GetChangeTokenStatusOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeTokenStatus sets the ChangeTokenStatus field's value. -func (s *GetChangeTokenStatusOutput) SetChangeTokenStatus(v ChangeTokenStatus) *GetChangeTokenStatusOutput { - s.ChangeTokenStatus = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetGeoMatchSetRequest type GetGeoMatchSetInput struct { _ struct{} `type:"structure"` @@ -7266,12 +6672,6 @@ func (s *GetGeoMatchSetInput) Validate() error { return nil } -// SetGeoMatchSetId sets the GeoMatchSetId field's value. -func (s *GetGeoMatchSetInput) SetGeoMatchSetId(v string) *GetGeoMatchSetInput { - s.GeoMatchSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetGeoMatchSetResponse type GetGeoMatchSetOutput struct { _ struct{} `type:"structure"` @@ -7299,12 +6699,6 @@ func (s GetGeoMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGeoMatchSet sets the GeoMatchSet field's value. -func (s *GetGeoMatchSetOutput) SetGeoMatchSet(v *waf.GeoMatchSet) *GetGeoMatchSetOutput { - s.GeoMatchSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetIPSetRequest type GetIPSetInput struct { _ struct{} `type:"structure"` @@ -7343,12 +6737,6 @@ func (s *GetIPSetInput) Validate() error { return nil } -// SetIPSetId sets the IPSetId field's value. -func (s *GetIPSetInput) SetIPSetId(v string) *GetIPSetInput { - s.IPSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetIPSetResponse type GetIPSetOutput struct { _ struct{} `type:"structure"` @@ -7380,12 +6768,6 @@ func (s GetIPSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIPSet sets the IPSet field's value. -func (s *GetIPSetOutput) SetIPSet(v *waf.IPSet) *GetIPSetOutput { - s.IPSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRateBasedRuleRequest type GetRateBasedRuleInput struct { _ struct{} `type:"structure"` @@ -7424,12 +6806,6 @@ func (s *GetRateBasedRuleInput) Validate() error { return nil } -// SetRuleId sets the RuleId field's value. -func (s *GetRateBasedRuleInput) SetRuleId(v string) *GetRateBasedRuleInput { - s.RuleId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRateBasedRuleManagedKeysRequest type GetRateBasedRuleManagedKeysInput struct { _ struct{} `type:"structure"` @@ -7474,18 +6850,6 @@ func (s *GetRateBasedRuleManagedKeysInput) Validate() error { return nil } -// SetNextMarker sets the NextMarker field's value. -func (s *GetRateBasedRuleManagedKeysInput) SetNextMarker(v string) *GetRateBasedRuleManagedKeysInput { - s.NextMarker = &v - return s -} - -// SetRuleId sets the RuleId field's value. -func (s *GetRateBasedRuleManagedKeysInput) SetRuleId(v string) *GetRateBasedRuleManagedKeysInput { - s.RuleId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRateBasedRuleManagedKeysResponse type GetRateBasedRuleManagedKeysOutput struct { _ struct{} `type:"structure"` @@ -7514,18 +6878,6 @@ func (s GetRateBasedRuleManagedKeysOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetManagedKeys sets the ManagedKeys field's value. -func (s *GetRateBasedRuleManagedKeysOutput) SetManagedKeys(v []string) *GetRateBasedRuleManagedKeysOutput { - s.ManagedKeys = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *GetRateBasedRuleManagedKeysOutput) SetNextMarker(v string) *GetRateBasedRuleManagedKeysOutput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRateBasedRuleResponse type GetRateBasedRuleOutput struct { _ struct{} `type:"structure"` @@ -7552,12 +6904,6 @@ func (s GetRateBasedRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRule sets the Rule field's value. -func (s *GetRateBasedRuleOutput) SetRule(v *waf.RateBasedRule) *GetRateBasedRuleOutput { - s.Rule = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRegexMatchSetRequest type GetRegexMatchSetInput struct { _ struct{} `type:"structure"` @@ -7596,12 +6942,6 @@ func (s *GetRegexMatchSetInput) Validate() error { return nil } -// SetRegexMatchSetId sets the RegexMatchSetId field's value. -func (s *GetRegexMatchSetInput) SetRegexMatchSetId(v string) *GetRegexMatchSetInput { - s.RegexMatchSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRegexMatchSetResponse type GetRegexMatchSetOutput struct { _ struct{} `type:"structure"` @@ -7628,12 +6968,6 @@ func (s GetRegexMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRegexMatchSet sets the RegexMatchSet field's value. -func (s *GetRegexMatchSetOutput) SetRegexMatchSet(v *waf.RegexMatchSet) *GetRegexMatchSetOutput { - s.RegexMatchSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRegexPatternSetRequest type GetRegexPatternSetInput struct { _ struct{} `type:"structure"` @@ -7672,12 +7006,6 @@ func (s *GetRegexPatternSetInput) Validate() error { return nil } -// SetRegexPatternSetId sets the RegexPatternSetId field's value. -func (s *GetRegexPatternSetInput) SetRegexPatternSetId(v string) *GetRegexPatternSetInput { - s.RegexPatternSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRegexPatternSetResponse type GetRegexPatternSetOutput struct { _ struct{} `type:"structure"` @@ -7705,12 +7033,6 @@ func (s GetRegexPatternSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRegexPatternSet sets the RegexPatternSet field's value. -func (s *GetRegexPatternSetOutput) SetRegexPatternSet(v *waf.RegexPatternSet) *GetRegexPatternSetOutput { - s.RegexPatternSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRuleGroupRequest type GetRuleGroupInput struct { _ struct{} `type:"structure"` @@ -7749,12 +7071,6 @@ func (s *GetRuleGroupInput) Validate() error { return nil } -// SetRuleGroupId sets the RuleGroupId field's value. -func (s *GetRuleGroupInput) SetRuleGroupId(v string) *GetRuleGroupInput { - s.RuleGroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRuleGroupResponse type GetRuleGroupOutput struct { _ struct{} `type:"structure"` @@ -7780,12 +7096,6 @@ func (s GetRuleGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRuleGroup sets the RuleGroup field's value. -func (s *GetRuleGroupOutput) SetRuleGroup(v *waf.RuleGroup) *GetRuleGroupOutput { - s.RuleGroup = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRuleRequest type GetRuleInput struct { _ struct{} `type:"structure"` @@ -7824,12 +7134,6 @@ func (s *GetRuleInput) Validate() error { return nil } -// SetRuleId sets the RuleId field's value. -func (s *GetRuleInput) SetRuleId(v string) *GetRuleInput { - s.RuleId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRuleResponse type GetRuleOutput struct { _ struct{} `type:"structure"` @@ -7861,12 +7165,6 @@ func (s GetRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetRule sets the Rule field's value. -func (s *GetRuleOutput) SetRule(v *waf.Rule) *GetRuleOutput { - s.Rule = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSampledRequestsRequest type GetSampledRequestsInput struct { _ struct{} `type:"structure"` @@ -7955,30 +7253,6 @@ func (s *GetSampledRequestsInput) Validate() error { return nil } -// SetMaxItems sets the MaxItems field's value. -func (s *GetSampledRequestsInput) SetMaxItems(v int64) *GetSampledRequestsInput { - s.MaxItems = &v - return s -} - -// SetRuleId sets the RuleId field's value. -func (s *GetSampledRequestsInput) SetRuleId(v string) *GetSampledRequestsInput { - s.RuleId = &v - return s -} - -// SetTimeWindow sets the TimeWindow field's value. -func (s *GetSampledRequestsInput) SetTimeWindow(v *waf.TimeWindow) *GetSampledRequestsInput { - s.TimeWindow = v - return s -} - -// SetWebAclId sets the WebAclId field's value. -func (s *GetSampledRequestsInput) SetWebAclId(v string) *GetSampledRequestsInput { - s.WebAclId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSampledRequestsResponse type GetSampledRequestsOutput struct { _ struct{} `type:"structure"` @@ -8016,24 +7290,6 @@ func (s GetSampledRequestsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPopulationSize sets the PopulationSize field's value. -func (s *GetSampledRequestsOutput) SetPopulationSize(v int64) *GetSampledRequestsOutput { - s.PopulationSize = &v - return s -} - -// SetSampledRequests sets the SampledRequests field's value. -func (s *GetSampledRequestsOutput) SetSampledRequests(v []waf.SampledHTTPRequest) *GetSampledRequestsOutput { - s.SampledRequests = v - return s -} - -// SetTimeWindow sets the TimeWindow field's value. -func (s *GetSampledRequestsOutput) SetTimeWindow(v *waf.TimeWindow) *GetSampledRequestsOutput { - s.TimeWindow = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSizeConstraintSetRequest type GetSizeConstraintSetInput struct { _ struct{} `type:"structure"` @@ -8072,12 +7328,6 @@ func (s *GetSizeConstraintSetInput) Validate() error { return nil } -// SetSizeConstraintSetId sets the SizeConstraintSetId field's value. -func (s *GetSizeConstraintSetInput) SetSizeConstraintSetId(v string) *GetSizeConstraintSetInput { - s.SizeConstraintSetId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSizeConstraintSetResponse type GetSizeConstraintSetOutput struct { _ struct{} `type:"structure"` @@ -8113,12 +7363,6 @@ func (s GetSizeConstraintSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSizeConstraintSet sets the SizeConstraintSet field's value. -func (s *GetSizeConstraintSetOutput) SetSizeConstraintSet(v *waf.SizeConstraintSet) *GetSizeConstraintSetOutput { - s.SizeConstraintSet = v - return s -} - // A request to get a SqlInjectionMatchSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSqlInjectionMatchSetRequest type GetSqlInjectionMatchSetInput struct { @@ -8158,12 +7402,6 @@ func (s *GetSqlInjectionMatchSetInput) Validate() error { return nil } -// SetSqlInjectionMatchSetId sets the SqlInjectionMatchSetId field's value. -func (s *GetSqlInjectionMatchSetInput) SetSqlInjectionMatchSetId(v string) *GetSqlInjectionMatchSetInput { - s.SqlInjectionMatchSetId = &v - return s -} - // The response to a GetSqlInjectionMatchSet request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSqlInjectionMatchSetResponse type GetSqlInjectionMatchSetOutput struct { @@ -8199,12 +7437,6 @@ func (s GetSqlInjectionMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetSqlInjectionMatchSet sets the SqlInjectionMatchSet field's value. -func (s *GetSqlInjectionMatchSetOutput) SetSqlInjectionMatchSet(v *waf.SqlInjectionMatchSet) *GetSqlInjectionMatchSetOutput { - s.SqlInjectionMatchSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACLForResourceRequest type GetWebACLForResourceInput struct { _ struct{} `type:"structure"` @@ -8242,12 +7474,6 @@ func (s *GetWebACLForResourceInput) Validate() error { return nil } -// SetResourceArn sets the ResourceArn field's value. -func (s *GetWebACLForResourceInput) SetResourceArn(v string) *GetWebACLForResourceInput { - s.ResourceArn = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACLForResourceResponse type GetWebACLForResourceOutput struct { _ struct{} `type:"structure"` @@ -8274,12 +7500,6 @@ func (s GetWebACLForResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetWebACLSummary sets the WebACLSummary field's value. -func (s *GetWebACLForResourceOutput) SetWebACLSummary(v *waf.WebACLSummary) *GetWebACLForResourceOutput { - s.WebACLSummary = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACLRequest type GetWebACLInput struct { _ struct{} `type:"structure"` @@ -8318,12 +7538,6 @@ func (s *GetWebACLInput) Validate() error { return nil } -// SetWebACLId sets the WebACLId field's value. -func (s *GetWebACLInput) SetWebACLId(v string) *GetWebACLInput { - s.WebACLId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACLResponse type GetWebACLOutput struct { _ struct{} `type:"structure"` @@ -8360,12 +7574,6 @@ func (s GetWebACLOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetWebACL sets the WebACL field's value. -func (s *GetWebACLOutput) SetWebACL(v *waf.WebACL) *GetWebACLOutput { - s.WebACL = v - return s -} - // A request to get an XssMatchSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetXssMatchSetRequest type GetXssMatchSetInput struct { @@ -8405,12 +7613,6 @@ func (s *GetXssMatchSetInput) Validate() error { return nil } -// SetXssMatchSetId sets the XssMatchSetId field's value. -func (s *GetXssMatchSetInput) SetXssMatchSetId(v string) *GetXssMatchSetInput { - s.XssMatchSetId = &v - return s -} - // The response to a GetXssMatchSet request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetXssMatchSetResponse type GetXssMatchSetOutput struct { @@ -8445,12 +7647,6 @@ func (s GetXssMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetXssMatchSet sets the XssMatchSet field's value. -func (s *GetXssMatchSetOutput) SetXssMatchSet(v *waf.XssMatchSet) *GetXssMatchSetOutput { - s.XssMatchSet = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListActivatedRulesInRuleGroupRequest type ListActivatedRulesInRuleGroupInput struct { _ struct{} `type:"structure"` @@ -8499,24 +7695,6 @@ func (s *ListActivatedRulesInRuleGroupInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListActivatedRulesInRuleGroupInput) SetLimit(v int64) *ListActivatedRulesInRuleGroupInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListActivatedRulesInRuleGroupInput) SetNextMarker(v string) *ListActivatedRulesInRuleGroupInput { - s.NextMarker = &v - return s -} - -// SetRuleGroupId sets the RuleGroupId field's value. -func (s *ListActivatedRulesInRuleGroupInput) SetRuleGroupId(v string) *ListActivatedRulesInRuleGroupInput { - s.RuleGroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListActivatedRulesInRuleGroupResponse type ListActivatedRulesInRuleGroupOutput struct { _ struct{} `type:"structure"` @@ -8548,18 +7726,6 @@ func (s ListActivatedRulesInRuleGroupOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetActivatedRules sets the ActivatedRules field's value. -func (s *ListActivatedRulesInRuleGroupOutput) SetActivatedRules(v []waf.ActivatedRule) *ListActivatedRulesInRuleGroupOutput { - s.ActivatedRules = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListActivatedRulesInRuleGroupOutput) SetNextMarker(v string) *ListActivatedRulesInRuleGroupOutput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListByteMatchSetsRequest type ListByteMatchSetsInput struct { _ struct{} `type:"structure"` @@ -8601,18 +7767,6 @@ func (s *ListByteMatchSetsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListByteMatchSetsInput) SetLimit(v int64) *ListByteMatchSetsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListByteMatchSetsInput) SetNextMarker(v string) *ListByteMatchSetsInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListByteMatchSetsResponse type ListByteMatchSetsOutput struct { _ struct{} `type:"structure"` @@ -8645,18 +7799,6 @@ func (s ListByteMatchSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetByteMatchSets sets the ByteMatchSets field's value. -func (s *ListByteMatchSetsOutput) SetByteMatchSets(v []waf.ByteMatchSetSummary) *ListByteMatchSetsOutput { - s.ByteMatchSets = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListByteMatchSetsOutput) SetNextMarker(v string) *ListByteMatchSetsOutput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListGeoMatchSetsRequest type ListGeoMatchSetsInput struct { _ struct{} `type:"structure"` @@ -8698,18 +7840,6 @@ func (s *ListGeoMatchSetsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListGeoMatchSetsInput) SetLimit(v int64) *ListGeoMatchSetsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListGeoMatchSetsInput) SetNextMarker(v string) *ListGeoMatchSetsInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListGeoMatchSetsResponse type ListGeoMatchSetsOutput struct { _ struct{} `type:"structure"` @@ -8742,18 +7872,6 @@ func (s ListGeoMatchSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGeoMatchSets sets the GeoMatchSets field's value. -func (s *ListGeoMatchSetsOutput) SetGeoMatchSets(v []waf.GeoMatchSetSummary) *ListGeoMatchSetsOutput { - s.GeoMatchSets = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListGeoMatchSetsOutput) SetNextMarker(v string) *ListGeoMatchSetsOutput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListIPSetsRequest type ListIPSetsInput struct { _ struct{} `type:"structure"` @@ -8795,18 +7913,6 @@ func (s *ListIPSetsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListIPSetsInput) SetLimit(v int64) *ListIPSetsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListIPSetsInput) SetNextMarker(v string) *ListIPSetsInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListIPSetsResponse type ListIPSetsOutput struct { _ struct{} `type:"structure"` @@ -8838,18 +7944,6 @@ func (s ListIPSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetIPSets sets the IPSets field's value. -func (s *ListIPSetsOutput) SetIPSets(v []waf.IPSetSummary) *ListIPSetsOutput { - s.IPSets = v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListIPSetsOutput) SetNextMarker(v string) *ListIPSetsOutput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRateBasedRulesRequest type ListRateBasedRulesInput struct { _ struct{} `type:"structure"` @@ -8890,18 +7984,6 @@ func (s *ListRateBasedRulesInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListRateBasedRulesInput) SetLimit(v int64) *ListRateBasedRulesInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListRateBasedRulesInput) SetNextMarker(v string) *ListRateBasedRulesInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRateBasedRulesResponse type ListRateBasedRulesOutput struct { _ struct{} `type:"structure"` @@ -8933,18 +8015,6 @@ func (s ListRateBasedRulesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListRateBasedRulesOutput) SetNextMarker(v string) *ListRateBasedRulesOutput { - s.NextMarker = &v - return s -} - -// SetRules sets the Rules field's value. -func (s *ListRateBasedRulesOutput) SetRules(v []waf.RuleSummary) *ListRateBasedRulesOutput { - s.Rules = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRegexMatchSetsRequest type ListRegexMatchSetsInput struct { _ struct{} `type:"structure"` @@ -8987,18 +8057,6 @@ func (s *ListRegexMatchSetsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListRegexMatchSetsInput) SetLimit(v int64) *ListRegexMatchSetsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListRegexMatchSetsInput) SetNextMarker(v string) *ListRegexMatchSetsInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRegexMatchSetsResponse type ListRegexMatchSetsOutput struct { _ struct{} `type:"structure"` @@ -9031,18 +8089,6 @@ func (s ListRegexMatchSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListRegexMatchSetsOutput) SetNextMarker(v string) *ListRegexMatchSetsOutput { - s.NextMarker = &v - return s -} - -// SetRegexMatchSets sets the RegexMatchSets field's value. -func (s *ListRegexMatchSetsOutput) SetRegexMatchSets(v []waf.RegexMatchSetSummary) *ListRegexMatchSetsOutput { - s.RegexMatchSets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRegexPatternSetsRequest type ListRegexPatternSetsInput struct { _ struct{} `type:"structure"` @@ -9085,18 +8131,6 @@ func (s *ListRegexPatternSetsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListRegexPatternSetsInput) SetLimit(v int64) *ListRegexPatternSetsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListRegexPatternSetsInput) SetNextMarker(v string) *ListRegexPatternSetsInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRegexPatternSetsResponse type ListRegexPatternSetsOutput struct { _ struct{} `type:"structure"` @@ -9129,18 +8163,6 @@ func (s ListRegexPatternSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListRegexPatternSetsOutput) SetNextMarker(v string) *ListRegexPatternSetsOutput { - s.NextMarker = &v - return s -} - -// SetRegexPatternSets sets the RegexPatternSets field's value. -func (s *ListRegexPatternSetsOutput) SetRegexPatternSets(v []waf.RegexPatternSetSummary) *ListRegexPatternSetsOutput { - s.RegexPatternSets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListResourcesForWebACLRequest type ListResourcesForWebACLInput struct { _ struct{} `type:"structure"` @@ -9179,12 +8201,6 @@ func (s *ListResourcesForWebACLInput) Validate() error { return nil } -// SetWebACLId sets the WebACLId field's value. -func (s *ListResourcesForWebACLInput) SetWebACLId(v string) *ListResourcesForWebACLInput { - s.WebACLId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListResourcesForWebACLResponse type ListResourcesForWebACLOutput struct { _ struct{} `type:"structure"` @@ -9212,12 +8228,6 @@ func (s ListResourcesForWebACLOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResourceArns sets the ResourceArns field's value. -func (s *ListResourcesForWebACLOutput) SetResourceArns(v []string) *ListResourcesForWebACLOutput { - s.ResourceArns = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRuleGroupsRequest type ListRuleGroupsInput struct { _ struct{} `type:"structure"` @@ -9259,18 +8269,6 @@ func (s *ListRuleGroupsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListRuleGroupsInput) SetLimit(v int64) *ListRuleGroupsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListRuleGroupsInput) SetNextMarker(v string) *ListRuleGroupsInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRuleGroupsResponse type ListRuleGroupsOutput struct { _ struct{} `type:"structure"` @@ -9302,18 +8300,6 @@ func (s ListRuleGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListRuleGroupsOutput) SetNextMarker(v string) *ListRuleGroupsOutput { - s.NextMarker = &v - return s -} - -// SetRuleGroups sets the RuleGroups field's value. -func (s *ListRuleGroupsOutput) SetRuleGroups(v []waf.RuleGroupSummary) *ListRuleGroupsOutput { - s.RuleGroups = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRulesRequest type ListRulesInput struct { _ struct{} `type:"structure"` @@ -9354,18 +8340,6 @@ func (s *ListRulesInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListRulesInput) SetLimit(v int64) *ListRulesInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListRulesInput) SetNextMarker(v string) *ListRulesInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRulesResponse type ListRulesOutput struct { _ struct{} `type:"structure"` @@ -9397,18 +8371,6 @@ func (s ListRulesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListRulesOutput) SetNextMarker(v string) *ListRulesOutput { - s.NextMarker = &v - return s -} - -// SetRules sets the Rules field's value. -func (s *ListRulesOutput) SetRules(v []waf.RuleSummary) *ListRulesOutput { - s.Rules = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSizeConstraintSetsRequest type ListSizeConstraintSetsInput struct { _ struct{} `type:"structure"` @@ -9450,18 +8412,6 @@ func (s *ListSizeConstraintSetsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListSizeConstraintSetsInput) SetLimit(v int64) *ListSizeConstraintSetsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListSizeConstraintSetsInput) SetNextMarker(v string) *ListSizeConstraintSetsInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSizeConstraintSetsResponse type ListSizeConstraintSetsOutput struct { _ struct{} `type:"structure"` @@ -9494,18 +8444,6 @@ func (s ListSizeConstraintSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListSizeConstraintSetsOutput) SetNextMarker(v string) *ListSizeConstraintSetsOutput { - s.NextMarker = &v - return s -} - -// SetSizeConstraintSets sets the SizeConstraintSets field's value. -func (s *ListSizeConstraintSetsOutput) SetSizeConstraintSets(v []waf.SizeConstraintSetSummary) *ListSizeConstraintSetsOutput { - s.SizeConstraintSets = v - return s -} - // A request to list the SqlInjectionMatchSet objects created by the current // AWS account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSqlInjectionMatchSetsRequest @@ -9549,18 +8487,6 @@ func (s *ListSqlInjectionMatchSetsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListSqlInjectionMatchSetsInput) SetLimit(v int64) *ListSqlInjectionMatchSetsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListSqlInjectionMatchSetsInput) SetNextMarker(v string) *ListSqlInjectionMatchSetsInput { - s.NextMarker = &v - return s -} - // The response to a ListSqlInjectionMatchSets request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSqlInjectionMatchSetsResponse type ListSqlInjectionMatchSetsOutput struct { @@ -9594,18 +8520,6 @@ func (s ListSqlInjectionMatchSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListSqlInjectionMatchSetsOutput) SetNextMarker(v string) *ListSqlInjectionMatchSetsOutput { - s.NextMarker = &v - return s -} - -// SetSqlInjectionMatchSets sets the SqlInjectionMatchSets field's value. -func (s *ListSqlInjectionMatchSetsOutput) SetSqlInjectionMatchSets(v []waf.SqlInjectionMatchSetSummary) *ListSqlInjectionMatchSetsOutput { - s.SqlInjectionMatchSets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSubscribedRuleGroupsRequest type ListSubscribedRuleGroupsInput struct { _ struct{} `type:"structure"` @@ -9648,18 +8562,6 @@ func (s *ListSubscribedRuleGroupsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListSubscribedRuleGroupsInput) SetLimit(v int64) *ListSubscribedRuleGroupsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListSubscribedRuleGroupsInput) SetNextMarker(v string) *ListSubscribedRuleGroupsInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSubscribedRuleGroupsResponse type ListSubscribedRuleGroupsOutput struct { _ struct{} `type:"structure"` @@ -9691,18 +8593,6 @@ func (s ListSubscribedRuleGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListSubscribedRuleGroupsOutput) SetNextMarker(v string) *ListSubscribedRuleGroupsOutput { - s.NextMarker = &v - return s -} - -// SetRuleGroups sets the RuleGroups field's value. -func (s *ListSubscribedRuleGroupsOutput) SetRuleGroups(v []waf.SubscribedRuleGroupSummary) *ListSubscribedRuleGroupsOutput { - s.RuleGroups = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListWebACLsRequest type ListWebACLsInput struct { _ struct{} `type:"structure"` @@ -9745,18 +8635,6 @@ func (s *ListWebACLsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListWebACLsInput) SetLimit(v int64) *ListWebACLsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListWebACLsInput) SetNextMarker(v string) *ListWebACLsInput { - s.NextMarker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListWebACLsResponse type ListWebACLsOutput struct { _ struct{} `type:"structure"` @@ -9788,18 +8666,6 @@ func (s ListWebACLsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListWebACLsOutput) SetNextMarker(v string) *ListWebACLsOutput { - s.NextMarker = &v - return s -} - -// SetWebACLs sets the WebACLs field's value. -func (s *ListWebACLsOutput) SetWebACLs(v []waf.WebACLSummary) *ListWebACLsOutput { - s.WebACLs = v - return s -} - // A request to list the XssMatchSet objects created by the current AWS account. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListXssMatchSetsRequest type ListXssMatchSetsInput struct { @@ -9842,18 +8708,6 @@ func (s *ListXssMatchSetsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *ListXssMatchSetsInput) SetLimit(v int64) *ListXssMatchSetsInput { - s.Limit = &v - return s -} - -// SetNextMarker sets the NextMarker field's value. -func (s *ListXssMatchSetsInput) SetNextMarker(v string) *ListXssMatchSetsInput { - s.NextMarker = &v - return s -} - // The response to a ListXssMatchSets request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListXssMatchSetsResponse type ListXssMatchSetsOutput struct { @@ -9887,18 +8741,6 @@ func (s ListXssMatchSetsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextMarker sets the NextMarker field's value. -func (s *ListXssMatchSetsOutput) SetNextMarker(v string) *ListXssMatchSetsOutput { - s.NextMarker = &v - return s -} - -// SetXssMatchSets sets the XssMatchSets field's value. -func (s *ListXssMatchSetsOutput) SetXssMatchSets(v []waf.XssMatchSetSummary) *ListXssMatchSetsOutput { - s.XssMatchSets = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateByteMatchSetRequest type UpdateByteMatchSetInput struct { _ struct{} `type:"structure"` @@ -9976,24 +8818,6 @@ func (s *UpdateByteMatchSetInput) Validate() error { return nil } -// SetByteMatchSetId sets the ByteMatchSetId field's value. -func (s *UpdateByteMatchSetInput) SetByteMatchSetId(v string) *UpdateByteMatchSetInput { - s.ByteMatchSetId = &v - return s -} - -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateByteMatchSetInput) SetChangeToken(v string) *UpdateByteMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateByteMatchSetInput) SetUpdates(v []waf.ByteMatchSetUpdate) *UpdateByteMatchSetInput { - s.Updates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateByteMatchSetResponse type UpdateByteMatchSetOutput struct { _ struct{} `type:"structure"` @@ -10021,12 +8845,6 @@ func (s UpdateByteMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateByteMatchSetOutput) SetChangeToken(v string) *UpdateByteMatchSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateGeoMatchSetRequest type UpdateGeoMatchSetInput struct { _ struct{} `type:"structure"` @@ -10104,24 +8922,6 @@ func (s *UpdateGeoMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateGeoMatchSetInput) SetChangeToken(v string) *UpdateGeoMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetGeoMatchSetId sets the GeoMatchSetId field's value. -func (s *UpdateGeoMatchSetInput) SetGeoMatchSetId(v string) *UpdateGeoMatchSetInput { - s.GeoMatchSetId = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateGeoMatchSetInput) SetUpdates(v []waf.GeoMatchSetUpdate) *UpdateGeoMatchSetInput { - s.Updates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateGeoMatchSetResponse type UpdateGeoMatchSetOutput struct { _ struct{} `type:"structure"` @@ -10149,12 +8949,6 @@ func (s UpdateGeoMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateGeoMatchSetOutput) SetChangeToken(v string) *UpdateGeoMatchSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateIPSetRequest type UpdateIPSetInput struct { _ struct{} `type:"structure"` @@ -10229,24 +9023,6 @@ func (s *UpdateIPSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateIPSetInput) SetChangeToken(v string) *UpdateIPSetInput { - s.ChangeToken = &v - return s -} - -// SetIPSetId sets the IPSetId field's value. -func (s *UpdateIPSetInput) SetIPSetId(v string) *UpdateIPSetInput { - s.IPSetId = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateIPSetInput) SetUpdates(v []waf.IPSetUpdate) *UpdateIPSetInput { - s.Updates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateIPSetResponse type UpdateIPSetOutput struct { _ struct{} `type:"structure"` @@ -10274,12 +9050,6 @@ func (s UpdateIPSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateIPSetOutput) SetChangeToken(v string) *UpdateIPSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRateBasedRuleRequest type UpdateRateBasedRuleInput struct { _ struct{} `type:"structure"` @@ -10363,30 +9133,6 @@ func (s *UpdateRateBasedRuleInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateRateBasedRuleInput) SetChangeToken(v string) *UpdateRateBasedRuleInput { - s.ChangeToken = &v - return s -} - -// SetRateLimit sets the RateLimit field's value. -func (s *UpdateRateBasedRuleInput) SetRateLimit(v int64) *UpdateRateBasedRuleInput { - s.RateLimit = &v - return s -} - -// SetRuleId sets the RuleId field's value. -func (s *UpdateRateBasedRuleInput) SetRuleId(v string) *UpdateRateBasedRuleInput { - s.RuleId = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateRateBasedRuleInput) SetUpdates(v []waf.RuleUpdate) *UpdateRateBasedRuleInput { - s.Updates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRateBasedRuleResponse type UpdateRateBasedRuleOutput struct { _ struct{} `type:"structure"` @@ -10414,12 +9160,6 @@ func (s UpdateRateBasedRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateRateBasedRuleOutput) SetChangeToken(v string) *UpdateRateBasedRuleOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRegexMatchSetRequest type UpdateRegexMatchSetInput struct { _ struct{} `type:"structure"` @@ -10490,24 +9230,6 @@ func (s *UpdateRegexMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateRegexMatchSetInput) SetChangeToken(v string) *UpdateRegexMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetRegexMatchSetId sets the RegexMatchSetId field's value. -func (s *UpdateRegexMatchSetInput) SetRegexMatchSetId(v string) *UpdateRegexMatchSetInput { - s.RegexMatchSetId = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateRegexMatchSetInput) SetUpdates(v []waf.RegexMatchSetUpdate) *UpdateRegexMatchSetInput { - s.Updates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRegexMatchSetResponse type UpdateRegexMatchSetOutput struct { _ struct{} `type:"structure"` @@ -10535,12 +9257,6 @@ func (s UpdateRegexMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateRegexMatchSetOutput) SetChangeToken(v string) *UpdateRegexMatchSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRegexPatternSetRequest type UpdateRegexPatternSetInput struct { _ struct{} `type:"structure"` @@ -10611,24 +9327,6 @@ func (s *UpdateRegexPatternSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateRegexPatternSetInput) SetChangeToken(v string) *UpdateRegexPatternSetInput { - s.ChangeToken = &v - return s -} - -// SetRegexPatternSetId sets the RegexPatternSetId field's value. -func (s *UpdateRegexPatternSetInput) SetRegexPatternSetId(v string) *UpdateRegexPatternSetInput { - s.RegexPatternSetId = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateRegexPatternSetInput) SetUpdates(v []waf.RegexPatternSetUpdate) *UpdateRegexPatternSetInput { - s.Updates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRegexPatternSetResponse type UpdateRegexPatternSetOutput struct { _ struct{} `type:"structure"` @@ -10656,12 +9354,6 @@ func (s UpdateRegexPatternSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateRegexPatternSetOutput) SetChangeToken(v string) *UpdateRegexPatternSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRuleGroupRequest type UpdateRuleGroupInput struct { _ struct{} `type:"structure"` @@ -10738,24 +9430,6 @@ func (s *UpdateRuleGroupInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateRuleGroupInput) SetChangeToken(v string) *UpdateRuleGroupInput { - s.ChangeToken = &v - return s -} - -// SetRuleGroupId sets the RuleGroupId field's value. -func (s *UpdateRuleGroupInput) SetRuleGroupId(v string) *UpdateRuleGroupInput { - s.RuleGroupId = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateRuleGroupInput) SetUpdates(v []waf.RuleGroupUpdate) *UpdateRuleGroupInput { - s.Updates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRuleGroupResponse type UpdateRuleGroupOutput struct { _ struct{} `type:"structure"` @@ -10783,12 +9457,6 @@ func (s UpdateRuleGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateRuleGroupOutput) SetChangeToken(v string) *UpdateRuleGroupOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRuleRequest type UpdateRuleInput struct { _ struct{} `type:"structure"` @@ -10862,24 +9530,6 @@ func (s *UpdateRuleInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateRuleInput) SetChangeToken(v string) *UpdateRuleInput { - s.ChangeToken = &v - return s -} - -// SetRuleId sets the RuleId field's value. -func (s *UpdateRuleInput) SetRuleId(v string) *UpdateRuleInput { - s.RuleId = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateRuleInput) SetUpdates(v []waf.RuleUpdate) *UpdateRuleInput { - s.Updates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRuleResponse type UpdateRuleOutput struct { _ struct{} `type:"structure"` @@ -10907,12 +9557,6 @@ func (s UpdateRuleOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateRuleOutput) SetChangeToken(v string) *UpdateRuleOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateSizeConstraintSetRequest type UpdateSizeConstraintSetInput struct { _ struct{} `type:"structure"` @@ -10991,24 +9635,6 @@ func (s *UpdateSizeConstraintSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateSizeConstraintSetInput) SetChangeToken(v string) *UpdateSizeConstraintSetInput { - s.ChangeToken = &v - return s -} - -// SetSizeConstraintSetId sets the SizeConstraintSetId field's value. -func (s *UpdateSizeConstraintSetInput) SetSizeConstraintSetId(v string) *UpdateSizeConstraintSetInput { - s.SizeConstraintSetId = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateSizeConstraintSetInput) SetUpdates(v []waf.SizeConstraintSetUpdate) *UpdateSizeConstraintSetInput { - s.Updates = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateSizeConstraintSetResponse type UpdateSizeConstraintSetOutput struct { _ struct{} `type:"structure"` @@ -11036,12 +9662,6 @@ func (s UpdateSizeConstraintSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateSizeConstraintSetOutput) SetChangeToken(v string) *UpdateSizeConstraintSetOutput { - s.ChangeToken = &v - return s -} - // A request to update a SqlInjectionMatchSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateSqlInjectionMatchSetRequest type UpdateSqlInjectionMatchSetInput struct { @@ -11120,24 +9740,6 @@ func (s *UpdateSqlInjectionMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateSqlInjectionMatchSetInput) SetChangeToken(v string) *UpdateSqlInjectionMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetSqlInjectionMatchSetId sets the SqlInjectionMatchSetId field's value. -func (s *UpdateSqlInjectionMatchSetInput) SetSqlInjectionMatchSetId(v string) *UpdateSqlInjectionMatchSetInput { - s.SqlInjectionMatchSetId = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateSqlInjectionMatchSetInput) SetUpdates(v []waf.SqlInjectionMatchSetUpdate) *UpdateSqlInjectionMatchSetInput { - s.Updates = v - return s -} - // The response to an UpdateSqlInjectionMatchSets request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateSqlInjectionMatchSetResponse type UpdateSqlInjectionMatchSetOutput struct { @@ -11166,12 +9768,6 @@ func (s UpdateSqlInjectionMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateSqlInjectionMatchSetOutput) SetChangeToken(v string) *UpdateSqlInjectionMatchSetOutput { - s.ChangeToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateWebACLRequest type UpdateWebACLInput struct { _ struct{} `type:"structure"` @@ -11254,30 +9850,6 @@ func (s *UpdateWebACLInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateWebACLInput) SetChangeToken(v string) *UpdateWebACLInput { - s.ChangeToken = &v - return s -} - -// SetDefaultAction sets the DefaultAction field's value. -func (s *UpdateWebACLInput) SetDefaultAction(v *waf.WafAction) *UpdateWebACLInput { - s.DefaultAction = v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateWebACLInput) SetUpdates(v []waf.WebACLUpdate) *UpdateWebACLInput { - s.Updates = v - return s -} - -// SetWebACLId sets the WebACLId field's value. -func (s *UpdateWebACLInput) SetWebACLId(v string) *UpdateWebACLInput { - s.WebACLId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateWebACLResponse type UpdateWebACLOutput struct { _ struct{} `type:"structure"` @@ -11305,12 +9877,6 @@ func (s UpdateWebACLOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateWebACLOutput) SetChangeToken(v string) *UpdateWebACLOutput { - s.ChangeToken = &v - return s -} - // A request to update an XssMatchSet. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateXssMatchSetRequest type UpdateXssMatchSetInput struct { @@ -11388,24 +9954,6 @@ func (s *UpdateXssMatchSetInput) Validate() error { return nil } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateXssMatchSetInput) SetChangeToken(v string) *UpdateXssMatchSetInput { - s.ChangeToken = &v - return s -} - -// SetUpdates sets the Updates field's value. -func (s *UpdateXssMatchSetInput) SetUpdates(v []waf.XssMatchSetUpdate) *UpdateXssMatchSetInput { - s.Updates = v - return s -} - -// SetXssMatchSetId sets the XssMatchSetId field's value. -func (s *UpdateXssMatchSetInput) SetXssMatchSetId(v string) *UpdateXssMatchSetInput { - s.XssMatchSetId = &v - return s -} - // The response to an UpdateXssMatchSets request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateXssMatchSetResponse type UpdateXssMatchSetOutput struct { @@ -11434,12 +9982,6 @@ func (s UpdateXssMatchSetOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetChangeToken sets the ChangeToken field's value. -func (s *UpdateXssMatchSetOutput) SetChangeToken(v string) *UpdateXssMatchSetOutput { - s.ChangeToken = &v - return s -} - type ChangeAction string // Enum values for ChangeAction diff --git a/service/workdocs/api.go b/service/workdocs/api.go index 48eab6d9f2d..755dcf50d80 100644 --- a/service/workdocs/api.go +++ b/service/workdocs/api.go @@ -2275,24 +2275,6 @@ func (s *AbortDocumentVersionUploadInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *AbortDocumentVersionUploadInput) SetAuthenticationToken(v string) *AbortDocumentVersionUploadInput { - s.AuthenticationToken = &v - return s -} - -// SetDocumentId sets the DocumentId field's value. -func (s *AbortDocumentVersionUploadInput) SetDocumentId(v string) *AbortDocumentVersionUploadInput { - s.DocumentId = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *AbortDocumentVersionUploadInput) SetVersionId(v string) *AbortDocumentVersionUploadInput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/AbortDocumentVersionUploadOutput type AbortDocumentVersionUploadOutput struct { _ struct{} `type:"structure"` @@ -2359,18 +2341,6 @@ func (s *ActivateUserInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *ActivateUserInput) SetAuthenticationToken(v string) *ActivateUserInput { - s.AuthenticationToken = &v - return s -} - -// SetUserId sets the UserId field's value. -func (s *ActivateUserInput) SetUserId(v string) *ActivateUserInput { - s.UserId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ActivateUserResponse type ActivateUserOutput struct { _ struct{} `type:"structure"` @@ -2396,12 +2366,6 @@ func (s ActivateUserOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUser sets the User field's value. -func (s *ActivateUserOutput) SetUser(v *User) *ActivateUserOutput { - s.User = v - return s -} - // Describes the activity information. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/Activity type Activity struct { @@ -2446,54 +2410,6 @@ func (s Activity) GoString() string { return s.String() } -// SetCommentMetadata sets the CommentMetadata field's value. -func (s *Activity) SetCommentMetadata(v *CommentMetadata) *Activity { - s.CommentMetadata = v - return s -} - -// SetInitiator sets the Initiator field's value. -func (s *Activity) SetInitiator(v *UserMetadata) *Activity { - s.Initiator = v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *Activity) SetOrganizationId(v string) *Activity { - s.OrganizationId = &v - return s -} - -// SetOriginalParent sets the OriginalParent field's value. -func (s *Activity) SetOriginalParent(v *ResourceMetadata) *Activity { - s.OriginalParent = v - return s -} - -// SetParticipants sets the Participants field's value. -func (s *Activity) SetParticipants(v *Participants) *Activity { - s.Participants = v - return s -} - -// SetResourceMetadata sets the ResourceMetadata field's value. -func (s *Activity) SetResourceMetadata(v *ResourceMetadata) *Activity { - s.ResourceMetadata = v - return s -} - -// SetTimeStamp sets the TimeStamp field's value. -func (s *Activity) SetTimeStamp(v time.Time) *Activity { - s.TimeStamp = &v - return s -} - -// SetType sets the Type field's value. -func (s *Activity) SetType(v ActivityType) *Activity { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/AddResourcePermissionsRequest type AddResourcePermissionsInput struct { _ struct{} `type:"structure"` @@ -2557,30 +2473,6 @@ func (s *AddResourcePermissionsInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *AddResourcePermissionsInput) SetAuthenticationToken(v string) *AddResourcePermissionsInput { - s.AuthenticationToken = &v - return s -} - -// SetNotificationOptions sets the NotificationOptions field's value. -func (s *AddResourcePermissionsInput) SetNotificationOptions(v *NotificationOptions) *AddResourcePermissionsInput { - s.NotificationOptions = v - return s -} - -// SetPrincipals sets the Principals field's value. -func (s *AddResourcePermissionsInput) SetPrincipals(v []SharePrincipal) *AddResourcePermissionsInput { - s.Principals = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *AddResourcePermissionsInput) SetResourceId(v string) *AddResourcePermissionsInput { - s.ResourceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/AddResourcePermissionsResponse type AddResourcePermissionsOutput struct { _ struct{} `type:"structure"` @@ -2606,12 +2498,6 @@ func (s AddResourcePermissionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetShareResults sets the ShareResults field's value. -func (s *AddResourcePermissionsOutput) SetShareResults(v []ShareResult) *AddResourcePermissionsOutput { - s.ShareResults = v - return s -} - // Describes a comment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/Comment type Comment struct { @@ -2660,60 +2546,6 @@ func (s Comment) GoString() string { return s.String() } -// SetCommentId sets the CommentId field's value. -func (s *Comment) SetCommentId(v string) *Comment { - s.CommentId = &v - return s -} - -// SetContributor sets the Contributor field's value. -func (s *Comment) SetContributor(v *User) *Comment { - s.Contributor = v - return s -} - -// SetCreatedTimestamp sets the CreatedTimestamp field's value. -func (s *Comment) SetCreatedTimestamp(v time.Time) *Comment { - s.CreatedTimestamp = &v - return s -} - -// SetParentId sets the ParentId field's value. -func (s *Comment) SetParentId(v string) *Comment { - s.ParentId = &v - return s -} - -// SetRecipientId sets the RecipientId field's value. -func (s *Comment) SetRecipientId(v string) *Comment { - s.RecipientId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Comment) SetStatus(v CommentStatusType) *Comment { - s.Status = v - return s -} - -// SetText sets the Text field's value. -func (s *Comment) SetText(v string) *Comment { - s.Text = &v - return s -} - -// SetThreadId sets the ThreadId field's value. -func (s *Comment) SetThreadId(v string) *Comment { - s.ThreadId = &v - return s -} - -// SetVisibility sets the Visibility field's value. -func (s *Comment) SetVisibility(v CommentVisibilityType) *Comment { - s.Visibility = v - return s -} - // Describes the metadata of a comment. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CommentMetadata type CommentMetadata struct { @@ -2745,36 +2577,6 @@ func (s CommentMetadata) GoString() string { return s.String() } -// SetCommentId sets the CommentId field's value. -func (s *CommentMetadata) SetCommentId(v string) *CommentMetadata { - s.CommentId = &v - return s -} - -// SetCommentStatus sets the CommentStatus field's value. -func (s *CommentMetadata) SetCommentStatus(v CommentStatusType) *CommentMetadata { - s.CommentStatus = v - return s -} - -// SetContributor sets the Contributor field's value. -func (s *CommentMetadata) SetContributor(v *User) *CommentMetadata { - s.Contributor = v - return s -} - -// SetCreatedTimestamp sets the CreatedTimestamp field's value. -func (s *CommentMetadata) SetCreatedTimestamp(v time.Time) *CommentMetadata { - s.CreatedTimestamp = &v - return s -} - -// SetRecipientId sets the RecipientId field's value. -func (s *CommentMetadata) SetRecipientId(v string) *CommentMetadata { - s.RecipientId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateCommentRequest type CreateCommentInput struct { _ struct{} `type:"structure"` @@ -2864,54 +2666,6 @@ func (s *CreateCommentInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *CreateCommentInput) SetAuthenticationToken(v string) *CreateCommentInput { - s.AuthenticationToken = &v - return s -} - -// SetDocumentId sets the DocumentId field's value. -func (s *CreateCommentInput) SetDocumentId(v string) *CreateCommentInput { - s.DocumentId = &v - return s -} - -// SetNotifyCollaborators sets the NotifyCollaborators field's value. -func (s *CreateCommentInput) SetNotifyCollaborators(v bool) *CreateCommentInput { - s.NotifyCollaborators = &v - return s -} - -// SetParentId sets the ParentId field's value. -func (s *CreateCommentInput) SetParentId(v string) *CreateCommentInput { - s.ParentId = &v - return s -} - -// SetText sets the Text field's value. -func (s *CreateCommentInput) SetText(v string) *CreateCommentInput { - s.Text = &v - return s -} - -// SetThreadId sets the ThreadId field's value. -func (s *CreateCommentInput) SetThreadId(v string) *CreateCommentInput { - s.ThreadId = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *CreateCommentInput) SetVersionId(v string) *CreateCommentInput { - s.VersionId = &v - return s -} - -// SetVisibility sets the Visibility field's value. -func (s *CreateCommentInput) SetVisibility(v CommentVisibilityType) *CreateCommentInput { - s.Visibility = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateCommentResponse type CreateCommentOutput struct { _ struct{} `type:"structure"` @@ -2937,12 +2691,6 @@ func (s CreateCommentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetComment sets the Comment field's value. -func (s *CreateCommentOutput) SetComment(v *Comment) *CreateCommentOutput { - s.Comment = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateCustomMetadataRequest type CreateCustomMetadataInput struct { _ struct{} `type:"structure"` @@ -3006,30 +2754,6 @@ func (s *CreateCustomMetadataInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *CreateCustomMetadataInput) SetAuthenticationToken(v string) *CreateCustomMetadataInput { - s.AuthenticationToken = &v - return s -} - -// SetCustomMetadata sets the CustomMetadata field's value. -func (s *CreateCustomMetadataInput) SetCustomMetadata(v map[string]string) *CreateCustomMetadataInput { - s.CustomMetadata = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *CreateCustomMetadataInput) SetResourceId(v string) *CreateCustomMetadataInput { - s.ResourceId = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *CreateCustomMetadataInput) SetVersionId(v string) *CreateCustomMetadataInput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateCustomMetadataResponse type CreateCustomMetadataOutput struct { _ struct{} `type:"structure"` @@ -3102,24 +2826,6 @@ func (s *CreateFolderInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *CreateFolderInput) SetAuthenticationToken(v string) *CreateFolderInput { - s.AuthenticationToken = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateFolderInput) SetName(v string) *CreateFolderInput { - s.Name = &v - return s -} - -// SetParentFolderId sets the ParentFolderId field's value. -func (s *CreateFolderInput) SetParentFolderId(v string) *CreateFolderInput { - s.ParentFolderId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateFolderResponse type CreateFolderOutput struct { _ struct{} `type:"structure"` @@ -3145,12 +2851,6 @@ func (s CreateFolderOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMetadata sets the Metadata field's value. -func (s *CreateFolderOutput) SetMetadata(v *FolderMetadata) *CreateFolderOutput { - s.Metadata = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateLabelsRequest type CreateLabelsInput struct { _ struct{} `type:"structure"` @@ -3204,24 +2904,6 @@ func (s *CreateLabelsInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *CreateLabelsInput) SetAuthenticationToken(v string) *CreateLabelsInput { - s.AuthenticationToken = &v - return s -} - -// SetLabels sets the Labels field's value. -func (s *CreateLabelsInput) SetLabels(v []string) *CreateLabelsInput { - s.Labels = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *CreateLabelsInput) SetResourceId(v string) *CreateLabelsInput { - s.ResourceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateLabelsResponse type CreateLabelsOutput struct { _ struct{} `type:"structure"` @@ -3311,30 +2993,6 @@ func (s *CreateNotificationSubscriptionInput) Validate() error { return nil } -// SetEndpoint sets the Endpoint field's value. -func (s *CreateNotificationSubscriptionInput) SetEndpoint(v string) *CreateNotificationSubscriptionInput { - s.Endpoint = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *CreateNotificationSubscriptionInput) SetOrganizationId(v string) *CreateNotificationSubscriptionInput { - s.OrganizationId = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *CreateNotificationSubscriptionInput) SetProtocol(v SubscriptionProtocolType) *CreateNotificationSubscriptionInput { - s.Protocol = v - return s -} - -// SetSubscriptionType sets the SubscriptionType field's value. -func (s *CreateNotificationSubscriptionInput) SetSubscriptionType(v SubscriptionType) *CreateNotificationSubscriptionInput { - s.SubscriptionType = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateNotificationSubscriptionResponse type CreateNotificationSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -3360,12 +3018,6 @@ func (s CreateNotificationSubscriptionOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetSubscription sets the Subscription field's value. -func (s *CreateNotificationSubscriptionOutput) SetSubscription(v *Subscription) *CreateNotificationSubscriptionOutput { - s.Subscription = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateUserRequest type CreateUserInput struct { _ struct{} `type:"structure"` @@ -3467,60 +3119,6 @@ func (s *CreateUserInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *CreateUserInput) SetAuthenticationToken(v string) *CreateUserInput { - s.AuthenticationToken = &v - return s -} - -// SetEmailAddress sets the EmailAddress field's value. -func (s *CreateUserInput) SetEmailAddress(v string) *CreateUserInput { - s.EmailAddress = &v - return s -} - -// SetGivenName sets the GivenName field's value. -func (s *CreateUserInput) SetGivenName(v string) *CreateUserInput { - s.GivenName = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *CreateUserInput) SetOrganizationId(v string) *CreateUserInput { - s.OrganizationId = &v - return s -} - -// SetPassword sets the Password field's value. -func (s *CreateUserInput) SetPassword(v string) *CreateUserInput { - s.Password = &v - return s -} - -// SetStorageRule sets the StorageRule field's value. -func (s *CreateUserInput) SetStorageRule(v *StorageRuleType) *CreateUserInput { - s.StorageRule = v - return s -} - -// SetSurname sets the Surname field's value. -func (s *CreateUserInput) SetSurname(v string) *CreateUserInput { - s.Surname = &v - return s -} - -// SetTimeZoneId sets the TimeZoneId field's value. -func (s *CreateUserInput) SetTimeZoneId(v string) *CreateUserInput { - s.TimeZoneId = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *CreateUserInput) SetUsername(v string) *CreateUserInput { - s.Username = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateUserResponse type CreateUserOutput struct { _ struct{} `type:"structure"` @@ -3546,12 +3144,6 @@ func (s CreateUserOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUser sets the User field's value. -func (s *CreateUserOutput) SetUser(v *User) *CreateUserOutput { - s.User = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeactivateUserRequest type DeactivateUserInput struct { _ struct{} `type:"structure"` @@ -3596,18 +3188,6 @@ func (s *DeactivateUserInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *DeactivateUserInput) SetAuthenticationToken(v string) *DeactivateUserInput { - s.AuthenticationToken = &v - return s -} - -// SetUserId sets the UserId field's value. -func (s *DeactivateUserInput) SetUserId(v string) *DeactivateUserInput { - s.UserId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeactivateUserOutput type DeactivateUserOutput struct { _ struct{} `type:"structure"` @@ -3698,30 +3278,6 @@ func (s *DeleteCommentInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *DeleteCommentInput) SetAuthenticationToken(v string) *DeleteCommentInput { - s.AuthenticationToken = &v - return s -} - -// SetCommentId sets the CommentId field's value. -func (s *DeleteCommentInput) SetCommentId(v string) *DeleteCommentInput { - s.CommentId = &v - return s -} - -// SetDocumentId sets the DocumentId field's value. -func (s *DeleteCommentInput) SetDocumentId(v string) *DeleteCommentInput { - s.DocumentId = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *DeleteCommentInput) SetVersionId(v string) *DeleteCommentInput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteCommentOutput type DeleteCommentOutput struct { _ struct{} `type:"structure"` @@ -3802,36 +3358,6 @@ func (s *DeleteCustomMetadataInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *DeleteCustomMetadataInput) SetAuthenticationToken(v string) *DeleteCustomMetadataInput { - s.AuthenticationToken = &v - return s -} - -// SetDeleteAll sets the DeleteAll field's value. -func (s *DeleteCustomMetadataInput) SetDeleteAll(v bool) *DeleteCustomMetadataInput { - s.DeleteAll = &v - return s -} - -// SetKeys sets the Keys field's value. -func (s *DeleteCustomMetadataInput) SetKeys(v []string) *DeleteCustomMetadataInput { - s.Keys = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *DeleteCustomMetadataInput) SetResourceId(v string) *DeleteCustomMetadataInput { - s.ResourceId = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *DeleteCustomMetadataInput) SetVersionId(v string) *DeleteCustomMetadataInput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteCustomMetadataResponse type DeleteCustomMetadataOutput struct { _ struct{} `type:"structure"` @@ -3898,18 +3424,6 @@ func (s *DeleteDocumentInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *DeleteDocumentInput) SetAuthenticationToken(v string) *DeleteDocumentInput { - s.AuthenticationToken = &v - return s -} - -// SetDocumentId sets the DocumentId field's value. -func (s *DeleteDocumentInput) SetDocumentId(v string) *DeleteDocumentInput { - s.DocumentId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteDocumentOutput type DeleteDocumentOutput struct { _ struct{} `type:"structure"` @@ -3976,18 +3490,6 @@ func (s *DeleteFolderContentsInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *DeleteFolderContentsInput) SetAuthenticationToken(v string) *DeleteFolderContentsInput { - s.AuthenticationToken = &v - return s -} - -// SetFolderId sets the FolderId field's value. -func (s *DeleteFolderContentsInput) SetFolderId(v string) *DeleteFolderContentsInput { - s.FolderId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteFolderContentsOutput type DeleteFolderContentsOutput struct { _ struct{} `type:"structure"` @@ -4054,18 +3556,6 @@ func (s *DeleteFolderInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *DeleteFolderInput) SetAuthenticationToken(v string) *DeleteFolderInput { - s.AuthenticationToken = &v - return s -} - -// SetFolderId sets the FolderId field's value. -func (s *DeleteFolderInput) SetFolderId(v string) *DeleteFolderInput { - s.FolderId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteFolderOutput type DeleteFolderOutput struct { _ struct{} `type:"structure"` @@ -4138,30 +3628,6 @@ func (s *DeleteLabelsInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *DeleteLabelsInput) SetAuthenticationToken(v string) *DeleteLabelsInput { - s.AuthenticationToken = &v - return s -} - -// SetDeleteAll sets the DeleteAll field's value. -func (s *DeleteLabelsInput) SetDeleteAll(v bool) *DeleteLabelsInput { - s.DeleteAll = &v - return s -} - -// SetLabels sets the Labels field's value. -func (s *DeleteLabelsInput) SetLabels(v []string) *DeleteLabelsInput { - s.Labels = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *DeleteLabelsInput) SetResourceId(v string) *DeleteLabelsInput { - s.ResourceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteLabelsResponse type DeleteLabelsOutput struct { _ struct{} `type:"structure"` @@ -4233,18 +3699,6 @@ func (s *DeleteNotificationSubscriptionInput) Validate() error { return nil } -// SetOrganizationId sets the OrganizationId field's value. -func (s *DeleteNotificationSubscriptionInput) SetOrganizationId(v string) *DeleteNotificationSubscriptionInput { - s.OrganizationId = &v - return s -} - -// SetSubscriptionId sets the SubscriptionId field's value. -func (s *DeleteNotificationSubscriptionInput) SetSubscriptionId(v string) *DeleteNotificationSubscriptionInput { - s.SubscriptionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteNotificationSubscriptionOutput type DeleteNotificationSubscriptionOutput struct { _ struct{} `type:"structure"` @@ -4311,18 +3765,6 @@ func (s *DeleteUserInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *DeleteUserInput) SetAuthenticationToken(v string) *DeleteUserInput { - s.AuthenticationToken = &v - return s -} - -// SetUserId sets the UserId field's value. -func (s *DeleteUserInput) SetUserId(v string) *DeleteUserInput { - s.UserId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteUserOutput type DeleteUserOutput struct { _ struct{} `type:"structure"` @@ -4412,48 +3854,6 @@ func (s *DescribeActivitiesInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *DescribeActivitiesInput) SetAuthenticationToken(v string) *DescribeActivitiesInput { - s.AuthenticationToken = &v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *DescribeActivitiesInput) SetEndTime(v time.Time) *DescribeActivitiesInput { - s.EndTime = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeActivitiesInput) SetLimit(v int64) *DescribeActivitiesInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeActivitiesInput) SetMarker(v string) *DescribeActivitiesInput { - s.Marker = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *DescribeActivitiesInput) SetOrganizationId(v string) *DescribeActivitiesInput { - s.OrganizationId = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *DescribeActivitiesInput) SetStartTime(v time.Time) *DescribeActivitiesInput { - s.StartTime = &v - return s -} - -// SetUserId sets the UserId field's value. -func (s *DescribeActivitiesInput) SetUserId(v string) *DescribeActivitiesInput { - s.UserId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeActivitiesResponse type DescribeActivitiesOutput struct { _ struct{} `type:"structure"` @@ -4482,18 +3882,6 @@ func (s DescribeActivitiesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeActivitiesOutput) SetMarker(v string) *DescribeActivitiesOutput { - s.Marker = &v - return s -} - -// SetUserActivities sets the UserActivities field's value. -func (s *DescribeActivitiesOutput) SetUserActivities(v []Activity) *DescribeActivitiesOutput { - s.UserActivities = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeCommentsRequest type DescribeCommentsInput struct { _ struct{} `type:"structure"` @@ -4563,36 +3951,6 @@ func (s *DescribeCommentsInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *DescribeCommentsInput) SetAuthenticationToken(v string) *DescribeCommentsInput { - s.AuthenticationToken = &v - return s -} - -// SetDocumentId sets the DocumentId field's value. -func (s *DescribeCommentsInput) SetDocumentId(v string) *DescribeCommentsInput { - s.DocumentId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeCommentsInput) SetLimit(v int64) *DescribeCommentsInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeCommentsInput) SetMarker(v string) *DescribeCommentsInput { - s.Marker = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *DescribeCommentsInput) SetVersionId(v string) *DescribeCommentsInput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeCommentsResponse type DescribeCommentsOutput struct { _ struct{} `type:"structure"` @@ -4622,18 +3980,6 @@ func (s DescribeCommentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetComments sets the Comments field's value. -func (s *DescribeCommentsOutput) SetComments(v []Comment) *DescribeCommentsOutput { - s.Comments = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeCommentsOutput) SetMarker(v string) *DescribeCommentsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeDocumentVersionsRequest type DescribeDocumentVersionsInput struct { _ struct{} `type:"structure"` @@ -4705,42 +4051,6 @@ func (s *DescribeDocumentVersionsInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *DescribeDocumentVersionsInput) SetAuthenticationToken(v string) *DescribeDocumentVersionsInput { - s.AuthenticationToken = &v - return s -} - -// SetDocumentId sets the DocumentId field's value. -func (s *DescribeDocumentVersionsInput) SetDocumentId(v string) *DescribeDocumentVersionsInput { - s.DocumentId = &v - return s -} - -// SetFields sets the Fields field's value. -func (s *DescribeDocumentVersionsInput) SetFields(v string) *DescribeDocumentVersionsInput { - s.Fields = &v - return s -} - -// SetInclude sets the Include field's value. -func (s *DescribeDocumentVersionsInput) SetInclude(v string) *DescribeDocumentVersionsInput { - s.Include = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeDocumentVersionsInput) SetLimit(v int64) *DescribeDocumentVersionsInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDocumentVersionsInput) SetMarker(v string) *DescribeDocumentVersionsInput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeDocumentVersionsResponse type DescribeDocumentVersionsOutput struct { _ struct{} `type:"structure"` @@ -4770,18 +4080,6 @@ func (s DescribeDocumentVersionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDocumentVersions sets the DocumentVersions field's value. -func (s *DescribeDocumentVersionsOutput) SetDocumentVersions(v []DocumentVersionMetadata) *DescribeDocumentVersionsOutput { - s.DocumentVersions = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeDocumentVersionsOutput) SetMarker(v string) *DescribeDocumentVersionsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeFolderContentsRequest type DescribeFolderContentsInput struct { _ struct{} `type:"structure"` @@ -4854,54 +4152,6 @@ func (s *DescribeFolderContentsInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *DescribeFolderContentsInput) SetAuthenticationToken(v string) *DescribeFolderContentsInput { - s.AuthenticationToken = &v - return s -} - -// SetFolderId sets the FolderId field's value. -func (s *DescribeFolderContentsInput) SetFolderId(v string) *DescribeFolderContentsInput { - s.FolderId = &v - return s -} - -// SetInclude sets the Include field's value. -func (s *DescribeFolderContentsInput) SetInclude(v string) *DescribeFolderContentsInput { - s.Include = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeFolderContentsInput) SetLimit(v int64) *DescribeFolderContentsInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeFolderContentsInput) SetMarker(v string) *DescribeFolderContentsInput { - s.Marker = &v - return s -} - -// SetOrder sets the Order field's value. -func (s *DescribeFolderContentsInput) SetOrder(v OrderType) *DescribeFolderContentsInput { - s.Order = v - return s -} - -// SetSort sets the Sort field's value. -func (s *DescribeFolderContentsInput) SetSort(v ResourceSortType) *DescribeFolderContentsInput { - s.Sort = v - return s -} - -// SetType sets the Type field's value. -func (s *DescribeFolderContentsInput) SetType(v FolderContentType) *DescribeFolderContentsInput { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeFolderContentsResponse type DescribeFolderContentsOutput struct { _ struct{} `type:"structure"` @@ -4934,24 +4184,6 @@ func (s DescribeFolderContentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDocuments sets the Documents field's value. -func (s *DescribeFolderContentsOutput) SetDocuments(v []DocumentMetadata) *DescribeFolderContentsOutput { - s.Documents = v - return s -} - -// SetFolders sets the Folders field's value. -func (s *DescribeFolderContentsOutput) SetFolders(v []FolderMetadata) *DescribeFolderContentsOutput { - s.Folders = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeFolderContentsOutput) SetMarker(v string) *DescribeFolderContentsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeGroupsRequest type DescribeGroupsInput struct { _ struct{} `type:"structure"` @@ -5015,36 +4247,6 @@ func (s *DescribeGroupsInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *DescribeGroupsInput) SetAuthenticationToken(v string) *DescribeGroupsInput { - s.AuthenticationToken = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeGroupsInput) SetLimit(v int64) *DescribeGroupsInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeGroupsInput) SetMarker(v string) *DescribeGroupsInput { - s.Marker = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *DescribeGroupsInput) SetOrganizationId(v string) *DescribeGroupsInput { - s.OrganizationId = &v - return s -} - -// SetSearchQuery sets the SearchQuery field's value. -func (s *DescribeGroupsInput) SetSearchQuery(v string) *DescribeGroupsInput { - s.SearchQuery = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeGroupsResponse type DescribeGroupsOutput struct { _ struct{} `type:"structure"` @@ -5074,18 +4276,6 @@ func (s DescribeGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroups sets the Groups field's value. -func (s *DescribeGroupsOutput) SetGroups(v []GroupMetadata) *DescribeGroupsOutput { - s.Groups = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeGroupsOutput) SetMarker(v string) *DescribeGroupsOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeNotificationSubscriptionsRequest type DescribeNotificationSubscriptionsInput struct { _ struct{} `type:"structure"` @@ -5136,24 +4326,6 @@ func (s *DescribeNotificationSubscriptionsInput) Validate() error { return nil } -// SetLimit sets the Limit field's value. -func (s *DescribeNotificationSubscriptionsInput) SetLimit(v int64) *DescribeNotificationSubscriptionsInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeNotificationSubscriptionsInput) SetMarker(v string) *DescribeNotificationSubscriptionsInput { - s.Marker = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *DescribeNotificationSubscriptionsInput) SetOrganizationId(v string) *DescribeNotificationSubscriptionsInput { - s.OrganizationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeNotificationSubscriptionsResponse type DescribeNotificationSubscriptionsOutput struct { _ struct{} `type:"structure"` @@ -5183,18 +4355,6 @@ func (s DescribeNotificationSubscriptionsOutput) SDKResponseMetadata() aws.Respo return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeNotificationSubscriptionsOutput) SetMarker(v string) *DescribeNotificationSubscriptionsOutput { - s.Marker = &v - return s -} - -// SetSubscriptions sets the Subscriptions field's value. -func (s *DescribeNotificationSubscriptionsOutput) SetSubscriptions(v []Subscription) *DescribeNotificationSubscriptionsOutput { - s.Subscriptions = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeResourcePermissionsRequest type DescribeResourcePermissionsInput struct { _ struct{} `type:"structure"` @@ -5258,36 +4418,6 @@ func (s *DescribeResourcePermissionsInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *DescribeResourcePermissionsInput) SetAuthenticationToken(v string) *DescribeResourcePermissionsInput { - s.AuthenticationToken = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeResourcePermissionsInput) SetLimit(v int64) *DescribeResourcePermissionsInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeResourcePermissionsInput) SetMarker(v string) *DescribeResourcePermissionsInput { - s.Marker = &v - return s -} - -// SetPrincipalId sets the PrincipalId field's value. -func (s *DescribeResourcePermissionsInput) SetPrincipalId(v string) *DescribeResourcePermissionsInput { - s.PrincipalId = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *DescribeResourcePermissionsInput) SetResourceId(v string) *DescribeResourcePermissionsInput { - s.ResourceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeResourcePermissionsResponse type DescribeResourcePermissionsOutput struct { _ struct{} `type:"structure"` @@ -5317,18 +4447,6 @@ func (s DescribeResourcePermissionsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeResourcePermissionsOutput) SetMarker(v string) *DescribeResourcePermissionsOutput { - s.Marker = &v - return s -} - -// SetPrincipals sets the Principals field's value. -func (s *DescribeResourcePermissionsOutput) SetPrincipals(v []Principal) *DescribeResourcePermissionsOutput { - s.Principals = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeRootFoldersRequest type DescribeRootFoldersInput struct { _ struct{} `type:"structure"` @@ -5380,24 +4498,6 @@ func (s *DescribeRootFoldersInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *DescribeRootFoldersInput) SetAuthenticationToken(v string) *DescribeRootFoldersInput { - s.AuthenticationToken = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeRootFoldersInput) SetLimit(v int64) *DescribeRootFoldersInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeRootFoldersInput) SetMarker(v string) *DescribeRootFoldersInput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeRootFoldersResponse type DescribeRootFoldersOutput struct { _ struct{} `type:"structure"` @@ -5426,18 +4526,6 @@ func (s DescribeRootFoldersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFolders sets the Folders field's value. -func (s *DescribeRootFoldersOutput) SetFolders(v []FolderMetadata) *DescribeRootFoldersOutput { - s.Folders = v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeRootFoldersOutput) SetMarker(v string) *DescribeRootFoldersOutput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeUsersRequest type DescribeUsersInput struct { _ struct{} `type:"structure"` @@ -5517,66 +4605,6 @@ func (s *DescribeUsersInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *DescribeUsersInput) SetAuthenticationToken(v string) *DescribeUsersInput { - s.AuthenticationToken = &v - return s -} - -// SetFields sets the Fields field's value. -func (s *DescribeUsersInput) SetFields(v string) *DescribeUsersInput { - s.Fields = &v - return s -} - -// SetInclude sets the Include field's value. -func (s *DescribeUsersInput) SetInclude(v UserFilterType) *DescribeUsersInput { - s.Include = v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeUsersInput) SetLimit(v int64) *DescribeUsersInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *DescribeUsersInput) SetMarker(v string) *DescribeUsersInput { - s.Marker = &v - return s -} - -// SetOrder sets the Order field's value. -func (s *DescribeUsersInput) SetOrder(v OrderType) *DescribeUsersInput { - s.Order = v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *DescribeUsersInput) SetOrganizationId(v string) *DescribeUsersInput { - s.OrganizationId = &v - return s -} - -// SetQuery sets the Query field's value. -func (s *DescribeUsersInput) SetQuery(v string) *DescribeUsersInput { - s.Query = &v - return s -} - -// SetSort sets the Sort field's value. -func (s *DescribeUsersInput) SetSort(v UserSortType) *DescribeUsersInput { - s.Sort = v - return s -} - -// SetUserIds sets the UserIds field's value. -func (s *DescribeUsersInput) SetUserIds(v string) *DescribeUsersInput { - s.UserIds = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeUsersResponse type DescribeUsersOutput struct { _ struct{} `type:"structure"` @@ -5609,24 +4637,6 @@ func (s DescribeUsersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMarker sets the Marker field's value. -func (s *DescribeUsersOutput) SetMarker(v string) *DescribeUsersOutput { - s.Marker = &v - return s -} - -// SetTotalNumberOfUsers sets the TotalNumberOfUsers field's value. -func (s *DescribeUsersOutput) SetTotalNumberOfUsers(v int64) *DescribeUsersOutput { - s.TotalNumberOfUsers = &v - return s -} - -// SetUsers sets the Users field's value. -func (s *DescribeUsersOutput) SetUsers(v []User) *DescribeUsersOutput { - s.Users = v - return s -} - // Describes the document. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DocumentMetadata type DocumentMetadata struct { @@ -5667,54 +4677,6 @@ func (s DocumentMetadata) GoString() string { return s.String() } -// SetCreatedTimestamp sets the CreatedTimestamp field's value. -func (s *DocumentMetadata) SetCreatedTimestamp(v time.Time) *DocumentMetadata { - s.CreatedTimestamp = &v - return s -} - -// SetCreatorId sets the CreatorId field's value. -func (s *DocumentMetadata) SetCreatorId(v string) *DocumentMetadata { - s.CreatorId = &v - return s -} - -// SetId sets the Id field's value. -func (s *DocumentMetadata) SetId(v string) *DocumentMetadata { - s.Id = &v - return s -} - -// SetLabels sets the Labels field's value. -func (s *DocumentMetadata) SetLabels(v []string) *DocumentMetadata { - s.Labels = v - return s -} - -// SetLatestVersionMetadata sets the LatestVersionMetadata field's value. -func (s *DocumentMetadata) SetLatestVersionMetadata(v *DocumentVersionMetadata) *DocumentMetadata { - s.LatestVersionMetadata = v - return s -} - -// SetModifiedTimestamp sets the ModifiedTimestamp field's value. -func (s *DocumentMetadata) SetModifiedTimestamp(v time.Time) *DocumentMetadata { - s.ModifiedTimestamp = &v - return s -} - -// SetParentFolderId sets the ParentFolderId field's value. -func (s *DocumentMetadata) SetParentFolderId(v string) *DocumentMetadata { - s.ParentFolderId = &v - return s -} - -// SetResourceState sets the ResourceState field's value. -func (s *DocumentMetadata) SetResourceState(v ResourceStateType) *DocumentMetadata { - s.ResourceState = v - return s -} - // Describes a version of a document. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DocumentVersionMetadata type DocumentVersionMetadata struct { @@ -5770,84 +4732,6 @@ func (s DocumentVersionMetadata) GoString() string { return s.String() } -// SetContentCreatedTimestamp sets the ContentCreatedTimestamp field's value. -func (s *DocumentVersionMetadata) SetContentCreatedTimestamp(v time.Time) *DocumentVersionMetadata { - s.ContentCreatedTimestamp = &v - return s -} - -// SetContentModifiedTimestamp sets the ContentModifiedTimestamp field's value. -func (s *DocumentVersionMetadata) SetContentModifiedTimestamp(v time.Time) *DocumentVersionMetadata { - s.ContentModifiedTimestamp = &v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *DocumentVersionMetadata) SetContentType(v string) *DocumentVersionMetadata { - s.ContentType = &v - return s -} - -// SetCreatedTimestamp sets the CreatedTimestamp field's value. -func (s *DocumentVersionMetadata) SetCreatedTimestamp(v time.Time) *DocumentVersionMetadata { - s.CreatedTimestamp = &v - return s -} - -// SetCreatorId sets the CreatorId field's value. -func (s *DocumentVersionMetadata) SetCreatorId(v string) *DocumentVersionMetadata { - s.CreatorId = &v - return s -} - -// SetId sets the Id field's value. -func (s *DocumentVersionMetadata) SetId(v string) *DocumentVersionMetadata { - s.Id = &v - return s -} - -// SetModifiedTimestamp sets the ModifiedTimestamp field's value. -func (s *DocumentVersionMetadata) SetModifiedTimestamp(v time.Time) *DocumentVersionMetadata { - s.ModifiedTimestamp = &v - return s -} - -// SetName sets the Name field's value. -func (s *DocumentVersionMetadata) SetName(v string) *DocumentVersionMetadata { - s.Name = &v - return s -} - -// SetSignature sets the Signature field's value. -func (s *DocumentVersionMetadata) SetSignature(v string) *DocumentVersionMetadata { - s.Signature = &v - return s -} - -// SetSize sets the Size field's value. -func (s *DocumentVersionMetadata) SetSize(v int64) *DocumentVersionMetadata { - s.Size = &v - return s -} - -// SetSource sets the Source field's value. -func (s *DocumentVersionMetadata) SetSource(v map[string]string) *DocumentVersionMetadata { - s.Source = v - return s -} - -// SetStatus sets the Status field's value. -func (s *DocumentVersionMetadata) SetStatus(v DocumentStatusType) *DocumentVersionMetadata { - s.Status = v - return s -} - -// SetThumbnail sets the Thumbnail field's value. -func (s *DocumentVersionMetadata) SetThumbnail(v map[string]string) *DocumentVersionMetadata { - s.Thumbnail = v - return s -} - // Describes a folder. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/FolderMetadata type FolderMetadata struct { @@ -5897,72 +4781,6 @@ func (s FolderMetadata) GoString() string { return s.String() } -// SetCreatedTimestamp sets the CreatedTimestamp field's value. -func (s *FolderMetadata) SetCreatedTimestamp(v time.Time) *FolderMetadata { - s.CreatedTimestamp = &v - return s -} - -// SetCreatorId sets the CreatorId field's value. -func (s *FolderMetadata) SetCreatorId(v string) *FolderMetadata { - s.CreatorId = &v - return s -} - -// SetId sets the Id field's value. -func (s *FolderMetadata) SetId(v string) *FolderMetadata { - s.Id = &v - return s -} - -// SetLabels sets the Labels field's value. -func (s *FolderMetadata) SetLabels(v []string) *FolderMetadata { - s.Labels = v - return s -} - -// SetLatestVersionSize sets the LatestVersionSize field's value. -func (s *FolderMetadata) SetLatestVersionSize(v int64) *FolderMetadata { - s.LatestVersionSize = &v - return s -} - -// SetModifiedTimestamp sets the ModifiedTimestamp field's value. -func (s *FolderMetadata) SetModifiedTimestamp(v time.Time) *FolderMetadata { - s.ModifiedTimestamp = &v - return s -} - -// SetName sets the Name field's value. -func (s *FolderMetadata) SetName(v string) *FolderMetadata { - s.Name = &v - return s -} - -// SetParentFolderId sets the ParentFolderId field's value. -func (s *FolderMetadata) SetParentFolderId(v string) *FolderMetadata { - s.ParentFolderId = &v - return s -} - -// SetResourceState sets the ResourceState field's value. -func (s *FolderMetadata) SetResourceState(v ResourceStateType) *FolderMetadata { - s.ResourceState = v - return s -} - -// SetSignature sets the Signature field's value. -func (s *FolderMetadata) SetSignature(v string) *FolderMetadata { - s.Signature = &v - return s -} - -// SetSize sets the Size field's value. -func (s *FolderMetadata) SetSize(v int64) *FolderMetadata { - s.Size = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetCurrentUserRequest type GetCurrentUserInput struct { _ struct{} `type:"structure"` @@ -6001,12 +4819,6 @@ func (s *GetCurrentUserInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *GetCurrentUserInput) SetAuthenticationToken(v string) *GetCurrentUserInput { - s.AuthenticationToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetCurrentUserResponse type GetCurrentUserOutput struct { _ struct{} `type:"structure"` @@ -6032,12 +4844,6 @@ func (s GetCurrentUserOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUser sets the User field's value. -func (s *GetCurrentUserOutput) SetUser(v *User) *GetCurrentUserOutput { - s.User = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocumentRequest type GetDocumentInput struct { _ struct{} `type:"structure"` @@ -6085,24 +4891,6 @@ func (s *GetDocumentInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *GetDocumentInput) SetAuthenticationToken(v string) *GetDocumentInput { - s.AuthenticationToken = &v - return s -} - -// SetDocumentId sets the DocumentId field's value. -func (s *GetDocumentInput) SetDocumentId(v string) *GetDocumentInput { - s.DocumentId = &v - return s -} - -// SetIncludeCustomMetadata sets the IncludeCustomMetadata field's value. -func (s *GetDocumentInput) SetIncludeCustomMetadata(v bool) *GetDocumentInput { - s.IncludeCustomMetadata = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocumentResponse type GetDocumentOutput struct { _ struct{} `type:"structure"` @@ -6131,18 +4919,6 @@ func (s GetDocumentOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCustomMetadata sets the CustomMetadata field's value. -func (s *GetDocumentOutput) SetCustomMetadata(v map[string]string) *GetDocumentOutput { - s.CustomMetadata = v - return s -} - -// SetMetadata sets the Metadata field's value. -func (s *GetDocumentOutput) SetMetadata(v *DocumentMetadata) *GetDocumentOutput { - s.Metadata = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocumentPathRequest type GetDocumentPathInput struct { _ struct{} `type:"structure"` @@ -6206,36 +4982,6 @@ func (s *GetDocumentPathInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *GetDocumentPathInput) SetAuthenticationToken(v string) *GetDocumentPathInput { - s.AuthenticationToken = &v - return s -} - -// SetDocumentId sets the DocumentId field's value. -func (s *GetDocumentPathInput) SetDocumentId(v string) *GetDocumentPathInput { - s.DocumentId = &v - return s -} - -// SetFields sets the Fields field's value. -func (s *GetDocumentPathInput) SetFields(v string) *GetDocumentPathInput { - s.Fields = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *GetDocumentPathInput) SetLimit(v int64) *GetDocumentPathInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *GetDocumentPathInput) SetMarker(v string) *GetDocumentPathInput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocumentPathResponse type GetDocumentPathOutput struct { _ struct{} `type:"structure"` @@ -6261,12 +5007,6 @@ func (s GetDocumentPathOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPath sets the Path field's value. -func (s *GetDocumentPathOutput) SetPath(v *ResourcePath) *GetDocumentPathOutput { - s.Path = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocumentVersionRequest type GetDocumentVersionInput struct { _ struct{} `type:"structure"` @@ -6333,36 +5073,6 @@ func (s *GetDocumentVersionInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *GetDocumentVersionInput) SetAuthenticationToken(v string) *GetDocumentVersionInput { - s.AuthenticationToken = &v - return s -} - -// SetDocumentId sets the DocumentId field's value. -func (s *GetDocumentVersionInput) SetDocumentId(v string) *GetDocumentVersionInput { - s.DocumentId = &v - return s -} - -// SetFields sets the Fields field's value. -func (s *GetDocumentVersionInput) SetFields(v string) *GetDocumentVersionInput { - s.Fields = &v - return s -} - -// SetIncludeCustomMetadata sets the IncludeCustomMetadata field's value. -func (s *GetDocumentVersionInput) SetIncludeCustomMetadata(v bool) *GetDocumentVersionInput { - s.IncludeCustomMetadata = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *GetDocumentVersionInput) SetVersionId(v string) *GetDocumentVersionInput { - s.VersionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocumentVersionResponse type GetDocumentVersionOutput struct { _ struct{} `type:"structure"` @@ -6391,18 +5101,6 @@ func (s GetDocumentVersionOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCustomMetadata sets the CustomMetadata field's value. -func (s *GetDocumentVersionOutput) SetCustomMetadata(v map[string]string) *GetDocumentVersionOutput { - s.CustomMetadata = v - return s -} - -// SetMetadata sets the Metadata field's value. -func (s *GetDocumentVersionOutput) SetMetadata(v *DocumentVersionMetadata) *GetDocumentVersionOutput { - s.Metadata = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetFolderRequest type GetFolderInput struct { _ struct{} `type:"structure"` @@ -6450,24 +5148,6 @@ func (s *GetFolderInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *GetFolderInput) SetAuthenticationToken(v string) *GetFolderInput { - s.AuthenticationToken = &v - return s -} - -// SetFolderId sets the FolderId field's value. -func (s *GetFolderInput) SetFolderId(v string) *GetFolderInput { - s.FolderId = &v - return s -} - -// SetIncludeCustomMetadata sets the IncludeCustomMetadata field's value. -func (s *GetFolderInput) SetIncludeCustomMetadata(v bool) *GetFolderInput { - s.IncludeCustomMetadata = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetFolderResponse type GetFolderOutput struct { _ struct{} `type:"structure"` @@ -6496,18 +5176,6 @@ func (s GetFolderOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetCustomMetadata sets the CustomMetadata field's value. -func (s *GetFolderOutput) SetCustomMetadata(v map[string]string) *GetFolderOutput { - s.CustomMetadata = v - return s -} - -// SetMetadata sets the Metadata field's value. -func (s *GetFolderOutput) SetMetadata(v *FolderMetadata) *GetFolderOutput { - s.Metadata = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetFolderPathRequest type GetFolderPathInput struct { _ struct{} `type:"structure"` @@ -6571,36 +5239,6 @@ func (s *GetFolderPathInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *GetFolderPathInput) SetAuthenticationToken(v string) *GetFolderPathInput { - s.AuthenticationToken = &v - return s -} - -// SetFields sets the Fields field's value. -func (s *GetFolderPathInput) SetFields(v string) *GetFolderPathInput { - s.Fields = &v - return s -} - -// SetFolderId sets the FolderId field's value. -func (s *GetFolderPathInput) SetFolderId(v string) *GetFolderPathInput { - s.FolderId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *GetFolderPathInput) SetLimit(v int64) *GetFolderPathInput { - s.Limit = &v - return s -} - -// SetMarker sets the Marker field's value. -func (s *GetFolderPathInput) SetMarker(v string) *GetFolderPathInput { - s.Marker = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetFolderPathResponse type GetFolderPathOutput struct { _ struct{} `type:"structure"` @@ -6626,12 +5264,6 @@ func (s GetFolderPathOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetPath sets the Path field's value. -func (s *GetFolderPathOutput) SetPath(v *ResourcePath) *GetFolderPathOutput { - s.Path = v - return s -} - // Describes the metadata of a user group. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GroupMetadata type GroupMetadata struct { @@ -6654,18 +5286,6 @@ func (s GroupMetadata) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *GroupMetadata) SetId(v string) *GroupMetadata { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *GroupMetadata) SetName(v string) *GroupMetadata { - s.Name = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/InitiateDocumentVersionUploadRequest type InitiateDocumentVersionUploadInput struct { _ struct{} `type:"structure"` @@ -6737,54 +5357,6 @@ func (s *InitiateDocumentVersionUploadInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *InitiateDocumentVersionUploadInput) SetAuthenticationToken(v string) *InitiateDocumentVersionUploadInput { - s.AuthenticationToken = &v - return s -} - -// SetContentCreatedTimestamp sets the ContentCreatedTimestamp field's value. -func (s *InitiateDocumentVersionUploadInput) SetContentCreatedTimestamp(v time.Time) *InitiateDocumentVersionUploadInput { - s.ContentCreatedTimestamp = &v - return s -} - -// SetContentModifiedTimestamp sets the ContentModifiedTimestamp field's value. -func (s *InitiateDocumentVersionUploadInput) SetContentModifiedTimestamp(v time.Time) *InitiateDocumentVersionUploadInput { - s.ContentModifiedTimestamp = &v - return s -} - -// SetContentType sets the ContentType field's value. -func (s *InitiateDocumentVersionUploadInput) SetContentType(v string) *InitiateDocumentVersionUploadInput { - s.ContentType = &v - return s -} - -// SetDocumentSizeInBytes sets the DocumentSizeInBytes field's value. -func (s *InitiateDocumentVersionUploadInput) SetDocumentSizeInBytes(v int64) *InitiateDocumentVersionUploadInput { - s.DocumentSizeInBytes = &v - return s -} - -// SetId sets the Id field's value. -func (s *InitiateDocumentVersionUploadInput) SetId(v string) *InitiateDocumentVersionUploadInput { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *InitiateDocumentVersionUploadInput) SetName(v string) *InitiateDocumentVersionUploadInput { - s.Name = &v - return s -} - -// SetParentFolderId sets the ParentFolderId field's value. -func (s *InitiateDocumentVersionUploadInput) SetParentFolderId(v string) *InitiateDocumentVersionUploadInput { - s.ParentFolderId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/InitiateDocumentVersionUploadResponse type InitiateDocumentVersionUploadOutput struct { _ struct{} `type:"structure"` @@ -6813,18 +5385,6 @@ func (s InitiateDocumentVersionUploadOutput) SDKResponseMetadata() aws.Response return s.responseMetadata } -// SetMetadata sets the Metadata field's value. -func (s *InitiateDocumentVersionUploadOutput) SetMetadata(v *DocumentMetadata) *InitiateDocumentVersionUploadOutput { - s.Metadata = v - return s -} - -// SetUploadMetadata sets the UploadMetadata field's value. -func (s *InitiateDocumentVersionUploadOutput) SetUploadMetadata(v *UploadMetadata) *InitiateDocumentVersionUploadOutput { - s.UploadMetadata = v - return s -} - // Set of options which defines notification preferences of given action. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/NotificationOptions type NotificationOptions struct { @@ -6847,18 +5407,6 @@ func (s NotificationOptions) GoString() string { return s.String() } -// SetEmailMessage sets the EmailMessage field's value. -func (s *NotificationOptions) SetEmailMessage(v string) *NotificationOptions { - s.EmailMessage = &v - return s -} - -// SetSendEmail sets the SendEmail field's value. -func (s *NotificationOptions) SetSendEmail(v bool) *NotificationOptions { - s.SendEmail = &v - return s -} - // Describes the users or user groups. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/Participants type Participants struct { @@ -6881,18 +5429,6 @@ func (s Participants) GoString() string { return s.String() } -// SetGroups sets the Groups field's value. -func (s *Participants) SetGroups(v []GroupMetadata) *Participants { - s.Groups = v - return s -} - -// SetUsers sets the Users field's value. -func (s *Participants) SetUsers(v []UserMetadata) *Participants { - s.Users = v - return s -} - // Describes the permissions. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/PermissionInfo type PermissionInfo struct { @@ -6915,18 +5451,6 @@ func (s PermissionInfo) GoString() string { return s.String() } -// SetRole sets the Role field's value. -func (s *PermissionInfo) SetRole(v RoleType) *PermissionInfo { - s.Role = v - return s -} - -// SetType sets the Type field's value. -func (s *PermissionInfo) SetType(v RolePermissionType) *PermissionInfo { - s.Type = v - return s -} - // Describes a resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/Principal type Principal struct { @@ -6952,24 +5476,6 @@ func (s Principal) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *Principal) SetId(v string) *Principal { - s.Id = &v - return s -} - -// SetRoles sets the Roles field's value. -func (s *Principal) SetRoles(v []PermissionInfo) *Principal { - s.Roles = v - return s -} - -// SetType sets the Type field's value. -func (s *Principal) SetType(v PrincipalType) *Principal { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/RemoveAllResourcePermissionsRequest type RemoveAllResourcePermissionsInput struct { _ struct{} `type:"structure"` @@ -7014,18 +5520,6 @@ func (s *RemoveAllResourcePermissionsInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *RemoveAllResourcePermissionsInput) SetAuthenticationToken(v string) *RemoveAllResourcePermissionsInput { - s.AuthenticationToken = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *RemoveAllResourcePermissionsInput) SetResourceId(v string) *RemoveAllResourcePermissionsInput { - s.ResourceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/RemoveAllResourcePermissionsOutput type RemoveAllResourcePermissionsOutput struct { _ struct{} `type:"structure"` @@ -7107,30 +5601,6 @@ func (s *RemoveResourcePermissionInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *RemoveResourcePermissionInput) SetAuthenticationToken(v string) *RemoveResourcePermissionInput { - s.AuthenticationToken = &v - return s -} - -// SetPrincipalId sets the PrincipalId field's value. -func (s *RemoveResourcePermissionInput) SetPrincipalId(v string) *RemoveResourcePermissionInput { - s.PrincipalId = &v - return s -} - -// SetPrincipalType sets the PrincipalType field's value. -func (s *RemoveResourcePermissionInput) SetPrincipalType(v PrincipalType) *RemoveResourcePermissionInput { - s.PrincipalType = v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *RemoveResourcePermissionInput) SetResourceId(v string) *RemoveResourcePermissionInput { - s.ResourceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/RemoveResourcePermissionOutput type RemoveResourcePermissionOutput struct { _ struct{} `type:"structure"` @@ -7191,48 +5661,6 @@ func (s ResourceMetadata) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *ResourceMetadata) SetId(v string) *ResourceMetadata { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *ResourceMetadata) SetName(v string) *ResourceMetadata { - s.Name = &v - return s -} - -// SetOriginalName sets the OriginalName field's value. -func (s *ResourceMetadata) SetOriginalName(v string) *ResourceMetadata { - s.OriginalName = &v - return s -} - -// SetOwner sets the Owner field's value. -func (s *ResourceMetadata) SetOwner(v *UserMetadata) *ResourceMetadata { - s.Owner = v - return s -} - -// SetParentId sets the ParentId field's value. -func (s *ResourceMetadata) SetParentId(v string) *ResourceMetadata { - s.ParentId = &v - return s -} - -// SetType sets the Type field's value. -func (s *ResourceMetadata) SetType(v ResourceType) *ResourceMetadata { - s.Type = v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *ResourceMetadata) SetVersionId(v string) *ResourceMetadata { - s.VersionId = &v - return s -} - // Describes the path information of a resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ResourcePath type ResourcePath struct { @@ -7252,12 +5680,6 @@ func (s ResourcePath) GoString() string { return s.String() } -// SetComponents sets the Components field's value. -func (s *ResourcePath) SetComponents(v []ResourcePathComponent) *ResourcePath { - s.Components = v - return s -} - // Describes the resource path. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ResourcePathComponent type ResourcePathComponent struct { @@ -7280,18 +5702,6 @@ func (s ResourcePathComponent) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *ResourcePathComponent) SetId(v string) *ResourcePathComponent { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *ResourcePathComponent) SetName(v string) *ResourcePathComponent { - s.Name = &v - return s -} - // Describes the recipient type and ID, if available. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/SharePrincipal type SharePrincipal struct { @@ -7346,24 +5756,6 @@ func (s *SharePrincipal) Validate() error { return nil } -// SetId sets the Id field's value. -func (s *SharePrincipal) SetId(v string) *SharePrincipal { - s.Id = &v - return s -} - -// SetRole sets the Role field's value. -func (s *SharePrincipal) SetRole(v RoleType) *SharePrincipal { - s.Role = v - return s -} - -// SetType sets the Type field's value. -func (s *SharePrincipal) SetType(v PrincipalType) *SharePrincipal { - s.Type = v - return s -} - // Describes the share results of a resource. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ShareResult type ShareResult struct { @@ -7395,36 +5787,6 @@ func (s ShareResult) GoString() string { return s.String() } -// SetPrincipalId sets the PrincipalId field's value. -func (s *ShareResult) SetPrincipalId(v string) *ShareResult { - s.PrincipalId = &v - return s -} - -// SetRole sets the Role field's value. -func (s *ShareResult) SetRole(v RoleType) *ShareResult { - s.Role = v - return s -} - -// SetShareId sets the ShareId field's value. -func (s *ShareResult) SetShareId(v string) *ShareResult { - s.ShareId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *ShareResult) SetStatus(v ShareStatusType) *ShareResult { - s.Status = v - return s -} - -// SetStatusMessage sets the StatusMessage field's value. -func (s *ShareResult) SetStatusMessage(v string) *ShareResult { - s.StatusMessage = &v - return s -} - // Describes the storage for a user. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/StorageRuleType type StorageRuleType struct { @@ -7447,18 +5809,6 @@ func (s StorageRuleType) GoString() string { return s.String() } -// SetStorageAllocatedInBytes sets the StorageAllocatedInBytes field's value. -func (s *StorageRuleType) SetStorageAllocatedInBytes(v int64) *StorageRuleType { - s.StorageAllocatedInBytes = &v - return s -} - -// SetStorageType sets the StorageType field's value. -func (s *StorageRuleType) SetStorageType(v StorageType) *StorageRuleType { - s.StorageType = v - return s -} - // Describes a subscription. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/Subscription type Subscription struct { @@ -7484,24 +5834,6 @@ func (s Subscription) GoString() string { return s.String() } -// SetEndPoint sets the EndPoint field's value. -func (s *Subscription) SetEndPoint(v string) *Subscription { - s.EndPoint = &v - return s -} - -// SetProtocol sets the Protocol field's value. -func (s *Subscription) SetProtocol(v SubscriptionProtocolType) *Subscription { - s.Protocol = v - return s -} - -// SetSubscriptionId sets the SubscriptionId field's value. -func (s *Subscription) SetSubscriptionId(v string) *Subscription { - s.SubscriptionId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateDocumentRequest type UpdateDocumentInput struct { _ struct{} `type:"structure"` @@ -7561,36 +5893,6 @@ func (s *UpdateDocumentInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *UpdateDocumentInput) SetAuthenticationToken(v string) *UpdateDocumentInput { - s.AuthenticationToken = &v - return s -} - -// SetDocumentId sets the DocumentId field's value. -func (s *UpdateDocumentInput) SetDocumentId(v string) *UpdateDocumentInput { - s.DocumentId = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateDocumentInput) SetName(v string) *UpdateDocumentInput { - s.Name = &v - return s -} - -// SetParentFolderId sets the ParentFolderId field's value. -func (s *UpdateDocumentInput) SetParentFolderId(v string) *UpdateDocumentInput { - s.ParentFolderId = &v - return s -} - -// SetResourceState sets the ResourceState field's value. -func (s *UpdateDocumentInput) SetResourceState(v ResourceStateType) *UpdateDocumentInput { - s.ResourceState = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateDocumentOutput type UpdateDocumentOutput struct { _ struct{} `type:"structure"` @@ -7672,30 +5974,6 @@ func (s *UpdateDocumentVersionInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *UpdateDocumentVersionInput) SetAuthenticationToken(v string) *UpdateDocumentVersionInput { - s.AuthenticationToken = &v - return s -} - -// SetDocumentId sets the DocumentId field's value. -func (s *UpdateDocumentVersionInput) SetDocumentId(v string) *UpdateDocumentVersionInput { - s.DocumentId = &v - return s -} - -// SetVersionId sets the VersionId field's value. -func (s *UpdateDocumentVersionInput) SetVersionId(v string) *UpdateDocumentVersionInput { - s.VersionId = &v - return s -} - -// SetVersionStatus sets the VersionStatus field's value. -func (s *UpdateDocumentVersionInput) SetVersionStatus(v DocumentVersionStatus) *UpdateDocumentVersionInput { - s.VersionStatus = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateDocumentVersionOutput type UpdateDocumentVersionOutput struct { _ struct{} `type:"structure"` @@ -7778,36 +6056,6 @@ func (s *UpdateFolderInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *UpdateFolderInput) SetAuthenticationToken(v string) *UpdateFolderInput { - s.AuthenticationToken = &v - return s -} - -// SetFolderId sets the FolderId field's value. -func (s *UpdateFolderInput) SetFolderId(v string) *UpdateFolderInput { - s.FolderId = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateFolderInput) SetName(v string) *UpdateFolderInput { - s.Name = &v - return s -} - -// SetParentFolderId sets the ParentFolderId field's value. -func (s *UpdateFolderInput) SetParentFolderId(v string) *UpdateFolderInput { - s.ParentFolderId = &v - return s -} - -// SetResourceState sets the ResourceState field's value. -func (s *UpdateFolderInput) SetResourceState(v ResourceStateType) *UpdateFolderInput { - s.ResourceState = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateFolderOutput type UpdateFolderOutput struct { _ struct{} `type:"structure"` @@ -7904,60 +6152,6 @@ func (s *UpdateUserInput) Validate() error { return nil } -// SetAuthenticationToken sets the AuthenticationToken field's value. -func (s *UpdateUserInput) SetAuthenticationToken(v string) *UpdateUserInput { - s.AuthenticationToken = &v - return s -} - -// SetGivenName sets the GivenName field's value. -func (s *UpdateUserInput) SetGivenName(v string) *UpdateUserInput { - s.GivenName = &v - return s -} - -// SetGrantPoweruserPrivileges sets the GrantPoweruserPrivileges field's value. -func (s *UpdateUserInput) SetGrantPoweruserPrivileges(v BooleanEnumType) *UpdateUserInput { - s.GrantPoweruserPrivileges = v - return s -} - -// SetLocale sets the Locale field's value. -func (s *UpdateUserInput) SetLocale(v LocaleType) *UpdateUserInput { - s.Locale = v - return s -} - -// SetStorageRule sets the StorageRule field's value. -func (s *UpdateUserInput) SetStorageRule(v *StorageRuleType) *UpdateUserInput { - s.StorageRule = v - return s -} - -// SetSurname sets the Surname field's value. -func (s *UpdateUserInput) SetSurname(v string) *UpdateUserInput { - s.Surname = &v - return s -} - -// SetTimeZoneId sets the TimeZoneId field's value. -func (s *UpdateUserInput) SetTimeZoneId(v string) *UpdateUserInput { - s.TimeZoneId = &v - return s -} - -// SetType sets the Type field's value. -func (s *UpdateUserInput) SetType(v UserType) *UpdateUserInput { - s.Type = v - return s -} - -// SetUserId sets the UserId field's value. -func (s *UpdateUserInput) SetUserId(v string) *UpdateUserInput { - s.UserId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateUserResponse type UpdateUserOutput struct { _ struct{} `type:"structure"` @@ -7983,12 +6177,6 @@ func (s UpdateUserOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUser sets the User field's value. -func (s *UpdateUserOutput) SetUser(v *User) *UpdateUserOutput { - s.User = v - return s -} - // Describes the upload. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UploadMetadata type UploadMetadata struct { @@ -8011,18 +6199,6 @@ func (s UploadMetadata) GoString() string { return s.String() } -// SetSignedHeaders sets the SignedHeaders field's value. -func (s *UploadMetadata) SetSignedHeaders(v map[string]string) *UploadMetadata { - s.SignedHeaders = v - return s -} - -// SetUploadUrl sets the UploadUrl field's value. -func (s *UploadMetadata) SetUploadUrl(v string) *UploadMetadata { - s.UploadUrl = &v - return s -} - // Describes a user. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/User type User struct { @@ -8084,96 +6260,6 @@ func (s User) GoString() string { return s.String() } -// SetCreatedTimestamp sets the CreatedTimestamp field's value. -func (s *User) SetCreatedTimestamp(v time.Time) *User { - s.CreatedTimestamp = &v - return s -} - -// SetEmailAddress sets the EmailAddress field's value. -func (s *User) SetEmailAddress(v string) *User { - s.EmailAddress = &v - return s -} - -// SetGivenName sets the GivenName field's value. -func (s *User) SetGivenName(v string) *User { - s.GivenName = &v - return s -} - -// SetId sets the Id field's value. -func (s *User) SetId(v string) *User { - s.Id = &v - return s -} - -// SetLocale sets the Locale field's value. -func (s *User) SetLocale(v LocaleType) *User { - s.Locale = v - return s -} - -// SetModifiedTimestamp sets the ModifiedTimestamp field's value. -func (s *User) SetModifiedTimestamp(v time.Time) *User { - s.ModifiedTimestamp = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *User) SetOrganizationId(v string) *User { - s.OrganizationId = &v - return s -} - -// SetRecycleBinFolderId sets the RecycleBinFolderId field's value. -func (s *User) SetRecycleBinFolderId(v string) *User { - s.RecycleBinFolderId = &v - return s -} - -// SetRootFolderId sets the RootFolderId field's value. -func (s *User) SetRootFolderId(v string) *User { - s.RootFolderId = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *User) SetStatus(v UserStatusType) *User { - s.Status = v - return s -} - -// SetStorage sets the Storage field's value. -func (s *User) SetStorage(v *UserStorageMetadata) *User { - s.Storage = v - return s -} - -// SetSurname sets the Surname field's value. -func (s *User) SetSurname(v string) *User { - s.Surname = &v - return s -} - -// SetTimeZoneId sets the TimeZoneId field's value. -func (s *User) SetTimeZoneId(v string) *User { - s.TimeZoneId = &v - return s -} - -// SetType sets the Type field's value. -func (s *User) SetType(v UserType) *User { - s.Type = v - return s -} - -// SetUsername sets the Username field's value. -func (s *User) SetUsername(v string) *User { - s.Username = &v - return s -} - // Describes the metadata of the user. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UserMetadata type UserMetadata struct { @@ -8205,36 +6291,6 @@ func (s UserMetadata) GoString() string { return s.String() } -// SetEmailAddress sets the EmailAddress field's value. -func (s *UserMetadata) SetEmailAddress(v string) *UserMetadata { - s.EmailAddress = &v - return s -} - -// SetGivenName sets the GivenName field's value. -func (s *UserMetadata) SetGivenName(v string) *UserMetadata { - s.GivenName = &v - return s -} - -// SetId sets the Id field's value. -func (s *UserMetadata) SetId(v string) *UserMetadata { - s.Id = &v - return s -} - -// SetSurname sets the Surname field's value. -func (s *UserMetadata) SetSurname(v string) *UserMetadata { - s.Surname = &v - return s -} - -// SetUsername sets the Username field's value. -func (s *UserMetadata) SetUsername(v string) *UserMetadata { - s.Username = &v - return s -} - // Describes the storage for a user. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UserStorageMetadata type UserStorageMetadata struct { @@ -8257,18 +6313,6 @@ func (s UserStorageMetadata) GoString() string { return s.String() } -// SetStorageRule sets the StorageRule field's value. -func (s *UserStorageMetadata) SetStorageRule(v *StorageRuleType) *UserStorageMetadata { - s.StorageRule = v - return s -} - -// SetStorageUtilizedInBytes sets the StorageUtilizedInBytes field's value. -func (s *UserStorageMetadata) SetStorageUtilizedInBytes(v int64) *UserStorageMetadata { - s.StorageUtilizedInBytes = &v - return s -} - type ActivityType string // Enum values for ActivityType diff --git a/service/workmail/api.go b/service/workmail/api.go index 14568bf8284..93f1f3a0535 100644 --- a/service/workmail/api.go +++ b/service/workmail/api.go @@ -1792,24 +1792,6 @@ func (s *AssociateDelegateToResourceInput) Validate() error { return nil } -// SetEntityId sets the EntityId field's value. -func (s *AssociateDelegateToResourceInput) SetEntityId(v string) *AssociateDelegateToResourceInput { - s.EntityId = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *AssociateDelegateToResourceInput) SetOrganizationId(v string) *AssociateDelegateToResourceInput { - s.OrganizationId = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *AssociateDelegateToResourceInput) SetResourceId(v string) *AssociateDelegateToResourceInput { - s.ResourceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/AssociateDelegateToResourceResponse type AssociateDelegateToResourceOutput struct { _ struct{} `type:"structure"` @@ -1890,24 +1872,6 @@ func (s *AssociateMemberToGroupInput) Validate() error { return nil } -// SetGroupId sets the GroupId field's value. -func (s *AssociateMemberToGroupInput) SetGroupId(v string) *AssociateMemberToGroupInput { - s.GroupId = &v - return s -} - -// SetMemberId sets the MemberId field's value. -func (s *AssociateMemberToGroupInput) SetMemberId(v string) *AssociateMemberToGroupInput { - s.MemberId = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *AssociateMemberToGroupInput) SetOrganizationId(v string) *AssociateMemberToGroupInput { - s.OrganizationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/AssociateMemberToGroupResponse type AssociateMemberToGroupOutput struct { _ struct{} `type:"structure"` @@ -1957,24 +1921,6 @@ func (s BookingOptions) GoString() string { return s.String() } -// SetAutoAcceptRequests sets the AutoAcceptRequests field's value. -func (s *BookingOptions) SetAutoAcceptRequests(v bool) *BookingOptions { - s.AutoAcceptRequests = &v - return s -} - -// SetAutoDeclineConflictingRequests sets the AutoDeclineConflictingRequests field's value. -func (s *BookingOptions) SetAutoDeclineConflictingRequests(v bool) *BookingOptions { - s.AutoDeclineConflictingRequests = &v - return s -} - -// SetAutoDeclineRecurringRequests sets the AutoDeclineRecurringRequests field's value. -func (s *BookingOptions) SetAutoDeclineRecurringRequests(v bool) *BookingOptions { - s.AutoDeclineRecurringRequests = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateAliasRequest type CreateAliasInput struct { _ struct{} `type:"structure"` @@ -2033,24 +1979,6 @@ func (s *CreateAliasInput) Validate() error { return nil } -// SetAlias sets the Alias field's value. -func (s *CreateAliasInput) SetAlias(v string) *CreateAliasInput { - s.Alias = &v - return s -} - -// SetEntityId sets the EntityId field's value. -func (s *CreateAliasInput) SetEntityId(v string) *CreateAliasInput { - s.EntityId = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *CreateAliasInput) SetOrganizationId(v string) *CreateAliasInput { - s.OrganizationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateAliasResponse type CreateAliasOutput struct { _ struct{} `type:"structure"` @@ -2119,18 +2047,6 @@ func (s *CreateGroupInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *CreateGroupInput) SetName(v string) *CreateGroupInput { - s.Name = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *CreateGroupInput) SetOrganizationId(v string) *CreateGroupInput { - s.OrganizationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateGroupResponse type CreateGroupOutput struct { _ struct{} `type:"structure"` @@ -2156,12 +2072,6 @@ func (s CreateGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroupId sets the GroupId field's value. -func (s *CreateGroupOutput) SetGroupId(v string) *CreateGroupOutput { - s.GroupId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateResourceRequest type CreateResourceInput struct { _ struct{} `type:"structure"` @@ -2217,24 +2127,6 @@ func (s *CreateResourceInput) Validate() error { return nil } -// SetName sets the Name field's value. -func (s *CreateResourceInput) SetName(v string) *CreateResourceInput { - s.Name = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *CreateResourceInput) SetOrganizationId(v string) *CreateResourceInput { - s.OrganizationId = &v - return s -} - -// SetType sets the Type field's value. -func (s *CreateResourceInput) SetType(v ResourceType) *CreateResourceInput { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateResourceResponse type CreateResourceOutput struct { _ struct{} `type:"structure"` @@ -2260,12 +2152,6 @@ func (s CreateResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetResourceId sets the ResourceId field's value. -func (s *CreateResourceOutput) SetResourceId(v string) *CreateResourceOutput { - s.ResourceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateUserRequest type CreateUserInput struct { _ struct{} `type:"structure"` @@ -2330,30 +2216,6 @@ func (s *CreateUserInput) Validate() error { return nil } -// SetDisplayName sets the DisplayName field's value. -func (s *CreateUserInput) SetDisplayName(v string) *CreateUserInput { - s.DisplayName = &v - return s -} - -// SetName sets the Name field's value. -func (s *CreateUserInput) SetName(v string) *CreateUserInput { - s.Name = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *CreateUserInput) SetOrganizationId(v string) *CreateUserInput { - s.OrganizationId = &v - return s -} - -// SetPassword sets the Password field's value. -func (s *CreateUserInput) SetPassword(v string) *CreateUserInput { - s.Password = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateUserResponse type CreateUserOutput struct { _ struct{} `type:"structure"` @@ -2379,12 +2241,6 @@ func (s CreateUserOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUserId sets the UserId field's value. -func (s *CreateUserOutput) SetUserId(v string) *CreateUserOutput { - s.UserId = &v - return s -} - // The name of the attribute, which is one of the values defined in the UserAttribute // enumeration. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/Delegate @@ -2412,18 +2268,6 @@ func (s Delegate) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *Delegate) SetId(v string) *Delegate { - s.Id = &v - return s -} - -// SetType sets the Type field's value. -func (s *Delegate) SetType(v MemberType) *Delegate { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteAliasRequest type DeleteAliasInput struct { _ struct{} `type:"structure"` @@ -2484,24 +2328,6 @@ func (s *DeleteAliasInput) Validate() error { return nil } -// SetAlias sets the Alias field's value. -func (s *DeleteAliasInput) SetAlias(v string) *DeleteAliasInput { - s.Alias = &v - return s -} - -// SetEntityId sets the EntityId field's value. -func (s *DeleteAliasInput) SetEntityId(v string) *DeleteAliasInput { - s.EntityId = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *DeleteAliasInput) SetOrganizationId(v string) *DeleteAliasInput { - s.OrganizationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteAliasResponse type DeleteAliasOutput struct { _ struct{} `type:"structure"` @@ -2570,18 +2396,6 @@ func (s *DeleteGroupInput) Validate() error { return nil } -// SetGroupId sets the GroupId field's value. -func (s *DeleteGroupInput) SetGroupId(v string) *DeleteGroupInput { - s.GroupId = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *DeleteGroupInput) SetOrganizationId(v string) *DeleteGroupInput { - s.OrganizationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteGroupResponse type DeleteGroupOutput struct { _ struct{} `type:"structure"` @@ -2648,18 +2462,6 @@ func (s *DeleteResourceInput) Validate() error { return nil } -// SetOrganizationId sets the OrganizationId field's value. -func (s *DeleteResourceInput) SetOrganizationId(v string) *DeleteResourceInput { - s.OrganizationId = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *DeleteResourceInput) SetResourceId(v string) *DeleteResourceInput { - s.ResourceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteResourceResponse type DeleteResourceOutput struct { _ struct{} `type:"structure"` @@ -2728,18 +2530,6 @@ func (s *DeleteUserInput) Validate() error { return nil } -// SetOrganizationId sets the OrganizationId field's value. -func (s *DeleteUserInput) SetOrganizationId(v string) *DeleteUserInput { - s.OrganizationId = &v - return s -} - -// SetUserId sets the UserId field's value. -func (s *DeleteUserInput) SetUserId(v string) *DeleteUserInput { - s.UserId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteUserResponse type DeleteUserOutput struct { _ struct{} `type:"structure"` @@ -2809,18 +2599,6 @@ func (s *DeregisterFromWorkMailInput) Validate() error { return nil } -// SetEntityId sets the EntityId field's value. -func (s *DeregisterFromWorkMailInput) SetEntityId(v string) *DeregisterFromWorkMailInput { - s.EntityId = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *DeregisterFromWorkMailInput) SetOrganizationId(v string) *DeregisterFromWorkMailInput { - s.OrganizationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeregisterFromWorkMailResponse type DeregisterFromWorkMailOutput struct { _ struct{} `type:"structure"` @@ -2889,18 +2667,6 @@ func (s *DescribeGroupInput) Validate() error { return nil } -// SetGroupId sets the GroupId field's value. -func (s *DescribeGroupInput) SetGroupId(v string) *DescribeGroupInput { - s.GroupId = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *DescribeGroupInput) SetOrganizationId(v string) *DescribeGroupInput { - s.OrganizationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeGroupResponse type DescribeGroupOutput struct { _ struct{} `type:"structure"` @@ -2944,42 +2710,6 @@ func (s DescribeGroupOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDisabledDate sets the DisabledDate field's value. -func (s *DescribeGroupOutput) SetDisabledDate(v time.Time) *DescribeGroupOutput { - s.DisabledDate = &v - return s -} - -// SetEmail sets the Email field's value. -func (s *DescribeGroupOutput) SetEmail(v string) *DescribeGroupOutput { - s.Email = &v - return s -} - -// SetEnabledDate sets the EnabledDate field's value. -func (s *DescribeGroupOutput) SetEnabledDate(v time.Time) *DescribeGroupOutput { - s.EnabledDate = &v - return s -} - -// SetGroupId sets the GroupId field's value. -func (s *DescribeGroupOutput) SetGroupId(v string) *DescribeGroupOutput { - s.GroupId = &v - return s -} - -// SetName sets the Name field's value. -func (s *DescribeGroupOutput) SetName(v string) *DescribeGroupOutput { - s.Name = &v - return s -} - -// SetState sets the State field's value. -func (s *DescribeGroupOutput) SetState(v EntityState) *DescribeGroupOutput { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeOrganizationRequest type DescribeOrganizationInput struct { _ struct{} `type:"structure"` @@ -3014,12 +2744,6 @@ func (s *DescribeOrganizationInput) Validate() error { return nil } -// SetOrganizationId sets the OrganizationId field's value. -func (s *DescribeOrganizationInput) SetOrganizationId(v string) *DescribeOrganizationInput { - s.OrganizationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeOrganizationResponse type DescribeOrganizationOutput struct { _ struct{} `type:"structure"` @@ -3068,54 +2792,6 @@ func (s DescribeOrganizationOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAlias sets the Alias field's value. -func (s *DescribeOrganizationOutput) SetAlias(v string) *DescribeOrganizationOutput { - s.Alias = &v - return s -} - -// SetCompletedDate sets the CompletedDate field's value. -func (s *DescribeOrganizationOutput) SetCompletedDate(v time.Time) *DescribeOrganizationOutput { - s.CompletedDate = &v - return s -} - -// SetDefaultMailDomain sets the DefaultMailDomain field's value. -func (s *DescribeOrganizationOutput) SetDefaultMailDomain(v string) *DescribeOrganizationOutput { - s.DefaultMailDomain = &v - return s -} - -// SetDirectoryId sets the DirectoryId field's value. -func (s *DescribeOrganizationOutput) SetDirectoryId(v string) *DescribeOrganizationOutput { - s.DirectoryId = &v - return s -} - -// SetDirectoryType sets the DirectoryType field's value. -func (s *DescribeOrganizationOutput) SetDirectoryType(v string) *DescribeOrganizationOutput { - s.DirectoryType = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *DescribeOrganizationOutput) SetErrorMessage(v string) *DescribeOrganizationOutput { - s.ErrorMessage = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *DescribeOrganizationOutput) SetOrganizationId(v string) *DescribeOrganizationOutput { - s.OrganizationId = &v - return s -} - -// SetState sets the State field's value. -func (s *DescribeOrganizationOutput) SetState(v string) *DescribeOrganizationOutput { - s.State = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeResourceRequest type DescribeResourceInput struct { _ struct{} `type:"structure"` @@ -3160,18 +2836,6 @@ func (s *DescribeResourceInput) Validate() error { return nil } -// SetOrganizationId sets the OrganizationId field's value. -func (s *DescribeResourceInput) SetOrganizationId(v string) *DescribeResourceInput { - s.OrganizationId = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *DescribeResourceInput) SetResourceId(v string) *DescribeResourceInput { - s.ResourceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeResourceResponse type DescribeResourceOutput struct { _ struct{} `type:"structure"` @@ -3221,54 +2885,6 @@ func (s DescribeResourceOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBookingOptions sets the BookingOptions field's value. -func (s *DescribeResourceOutput) SetBookingOptions(v *BookingOptions) *DescribeResourceOutput { - s.BookingOptions = v - return s -} - -// SetDisabledDate sets the DisabledDate field's value. -func (s *DescribeResourceOutput) SetDisabledDate(v time.Time) *DescribeResourceOutput { - s.DisabledDate = &v - return s -} - -// SetEmail sets the Email field's value. -func (s *DescribeResourceOutput) SetEmail(v string) *DescribeResourceOutput { - s.Email = &v - return s -} - -// SetEnabledDate sets the EnabledDate field's value. -func (s *DescribeResourceOutput) SetEnabledDate(v time.Time) *DescribeResourceOutput { - s.EnabledDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *DescribeResourceOutput) SetName(v string) *DescribeResourceOutput { - s.Name = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *DescribeResourceOutput) SetResourceId(v string) *DescribeResourceOutput { - s.ResourceId = &v - return s -} - -// SetState sets the State field's value. -func (s *DescribeResourceOutput) SetState(v EntityState) *DescribeResourceOutput { - s.State = v - return s -} - -// SetType sets the Type field's value. -func (s *DescribeResourceOutput) SetType(v ResourceType) *DescribeResourceOutput { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeUserRequest type DescribeUserInput struct { _ struct{} `type:"structure"` @@ -3315,18 +2931,6 @@ func (s *DescribeUserInput) Validate() error { return nil } -// SetOrganizationId sets the OrganizationId field's value. -func (s *DescribeUserInput) SetOrganizationId(v string) *DescribeUserInput { - s.OrganizationId = &v - return s -} - -// SetUserId sets the UserId field's value. -func (s *DescribeUserInput) SetUserId(v string) *DescribeUserInput { - s.UserId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeUserResponse type DescribeUserOutput struct { _ struct{} `type:"structure"` @@ -3381,54 +2985,6 @@ func (s DescribeUserOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDisabledDate sets the DisabledDate field's value. -func (s *DescribeUserOutput) SetDisabledDate(v time.Time) *DescribeUserOutput { - s.DisabledDate = &v - return s -} - -// SetDisplayName sets the DisplayName field's value. -func (s *DescribeUserOutput) SetDisplayName(v string) *DescribeUserOutput { - s.DisplayName = &v - return s -} - -// SetEmail sets the Email field's value. -func (s *DescribeUserOutput) SetEmail(v string) *DescribeUserOutput { - s.Email = &v - return s -} - -// SetEnabledDate sets the EnabledDate field's value. -func (s *DescribeUserOutput) SetEnabledDate(v time.Time) *DescribeUserOutput { - s.EnabledDate = &v - return s -} - -// SetName sets the Name field's value. -func (s *DescribeUserOutput) SetName(v string) *DescribeUserOutput { - s.Name = &v - return s -} - -// SetState sets the State field's value. -func (s *DescribeUserOutput) SetState(v EntityState) *DescribeUserOutput { - s.State = v - return s -} - -// SetUserId sets the UserId field's value. -func (s *DescribeUserOutput) SetUserId(v string) *DescribeUserOutput { - s.UserId = &v - return s -} - -// SetUserRole sets the UserRole field's value. -func (s *DescribeUserOutput) SetUserRole(v UserRole) *DescribeUserOutput { - s.UserRole = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DisassociateDelegateFromResourceRequest type DisassociateDelegateFromResourceInput struct { _ struct{} `type:"structure"` @@ -3485,24 +3041,6 @@ func (s *DisassociateDelegateFromResourceInput) Validate() error { return nil } -// SetEntityId sets the EntityId field's value. -func (s *DisassociateDelegateFromResourceInput) SetEntityId(v string) *DisassociateDelegateFromResourceInput { - s.EntityId = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *DisassociateDelegateFromResourceInput) SetOrganizationId(v string) *DisassociateDelegateFromResourceInput { - s.OrganizationId = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *DisassociateDelegateFromResourceInput) SetResourceId(v string) *DisassociateDelegateFromResourceInput { - s.ResourceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DisassociateDelegateFromResourceResponse type DisassociateDelegateFromResourceOutput struct { _ struct{} `type:"structure"` @@ -3583,24 +3121,6 @@ func (s *DisassociateMemberFromGroupInput) Validate() error { return nil } -// SetGroupId sets the GroupId field's value. -func (s *DisassociateMemberFromGroupInput) SetGroupId(v string) *DisassociateMemberFromGroupInput { - s.GroupId = &v - return s -} - -// SetMemberId sets the MemberId field's value. -func (s *DisassociateMemberFromGroupInput) SetMemberId(v string) *DisassociateMemberFromGroupInput { - s.MemberId = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *DisassociateMemberFromGroupInput) SetOrganizationId(v string) *DisassociateMemberFromGroupInput { - s.OrganizationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DisassociateMemberFromGroupResponse type DisassociateMemberFromGroupOutput struct { _ struct{} `type:"structure"` @@ -3657,42 +3177,6 @@ func (s Group) GoString() string { return s.String() } -// SetDisabledDate sets the DisabledDate field's value. -func (s *Group) SetDisabledDate(v time.Time) *Group { - s.DisabledDate = &v - return s -} - -// SetEmail sets the Email field's value. -func (s *Group) SetEmail(v string) *Group { - s.Email = &v - return s -} - -// SetEnabledDate sets the EnabledDate field's value. -func (s *Group) SetEnabledDate(v time.Time) *Group { - s.EnabledDate = &v - return s -} - -// SetId sets the Id field's value. -func (s *Group) SetId(v string) *Group { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *Group) SetName(v string) *Group { - s.Name = &v - return s -} - -// SetState sets the State field's value. -func (s *Group) SetState(v EntityState) *Group { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListAliasesRequest type ListAliasesInput struct { _ struct{} `type:"structure"` @@ -3752,30 +3236,6 @@ func (s *ListAliasesInput) Validate() error { return nil } -// SetEntityId sets the EntityId field's value. -func (s *ListAliasesInput) SetEntityId(v string) *ListAliasesInput { - s.EntityId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListAliasesInput) SetMaxResults(v int64) *ListAliasesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAliasesInput) SetNextToken(v string) *ListAliasesInput { - s.NextToken = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *ListAliasesInput) SetOrganizationId(v string) *ListAliasesInput { - s.OrganizationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListAliasesResponse type ListAliasesOutput struct { _ struct{} `type:"structure"` @@ -3805,18 +3265,6 @@ func (s ListAliasesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetAliases sets the Aliases field's value. -func (s *ListAliasesOutput) SetAliases(v []string) *ListAliasesOutput { - s.Aliases = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAliasesOutput) SetNextToken(v string) *ListAliasesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListGroupMembersRequest type ListGroupMembersInput struct { _ struct{} `type:"structure"` @@ -3876,30 +3324,6 @@ func (s *ListGroupMembersInput) Validate() error { return nil } -// SetGroupId sets the GroupId field's value. -func (s *ListGroupMembersInput) SetGroupId(v string) *ListGroupMembersInput { - s.GroupId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListGroupMembersInput) SetMaxResults(v int64) *ListGroupMembersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListGroupMembersInput) SetNextToken(v string) *ListGroupMembersInput { - s.NextToken = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *ListGroupMembersInput) SetOrganizationId(v string) *ListGroupMembersInput { - s.OrganizationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListGroupMembersResponse type ListGroupMembersOutput struct { _ struct{} `type:"structure"` @@ -3929,18 +3353,6 @@ func (s ListGroupMembersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetMembers sets the Members field's value. -func (s *ListGroupMembersOutput) SetMembers(v []Member) *ListGroupMembersOutput { - s.Members = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListGroupMembersOutput) SetNextToken(v string) *ListGroupMembersOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListGroupsRequest type ListGroupsInput struct { _ struct{} `type:"structure"` @@ -3988,24 +3400,6 @@ func (s *ListGroupsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListGroupsInput) SetMaxResults(v int64) *ListGroupsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListGroupsInput) SetNextToken(v string) *ListGroupsInput { - s.NextToken = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *ListGroupsInput) SetOrganizationId(v string) *ListGroupsInput { - s.OrganizationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListGroupsResponse type ListGroupsOutput struct { _ struct{} `type:"structure"` @@ -4035,18 +3429,6 @@ func (s ListGroupsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetGroups sets the Groups field's value. -func (s *ListGroupsOutput) SetGroups(v []Group) *ListGroupsOutput { - s.Groups = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListGroupsOutput) SetNextToken(v string) *ListGroupsOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListOrganizationsRequest type ListOrganizationsInput struct { _ struct{} `type:"structure"` @@ -4085,18 +3467,6 @@ func (s *ListOrganizationsInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListOrganizationsInput) SetMaxResults(v int64) *ListOrganizationsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListOrganizationsInput) SetNextToken(v string) *ListOrganizationsInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListOrganizationsResponse type ListOrganizationsOutput struct { _ struct{} `type:"structure"` @@ -4126,18 +3496,6 @@ func (s ListOrganizationsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListOrganizationsOutput) SetNextToken(v string) *ListOrganizationsOutput { - s.NextToken = &v - return s -} - -// SetOrganizationSummaries sets the OrganizationSummaries field's value. -func (s *ListOrganizationsOutput) SetOrganizationSummaries(v []OrganizationSummary) *ListOrganizationsOutput { - s.OrganizationSummaries = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListResourceDelegatesRequest type ListResourceDelegatesInput struct { _ struct{} `type:"structure"` @@ -4197,30 +3555,6 @@ func (s *ListResourceDelegatesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListResourceDelegatesInput) SetMaxResults(v int64) *ListResourceDelegatesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListResourceDelegatesInput) SetNextToken(v string) *ListResourceDelegatesInput { - s.NextToken = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *ListResourceDelegatesInput) SetOrganizationId(v string) *ListResourceDelegatesInput { - s.OrganizationId = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *ListResourceDelegatesInput) SetResourceId(v string) *ListResourceDelegatesInput { - s.ResourceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListResourceDelegatesResponse type ListResourceDelegatesOutput struct { _ struct{} `type:"structure"` @@ -4251,18 +3585,6 @@ func (s ListResourceDelegatesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDelegates sets the Delegates field's value. -func (s *ListResourceDelegatesOutput) SetDelegates(v []Delegate) *ListResourceDelegatesOutput { - s.Delegates = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListResourceDelegatesOutput) SetNextToken(v string) *ListResourceDelegatesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListResourcesRequest type ListResourcesInput struct { _ struct{} `type:"structure"` @@ -4310,24 +3632,6 @@ func (s *ListResourcesInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListResourcesInput) SetMaxResults(v int64) *ListResourcesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListResourcesInput) SetNextToken(v string) *ListResourcesInput { - s.NextToken = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *ListResourcesInput) SetOrganizationId(v string) *ListResourcesInput { - s.OrganizationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListResourcesResponse type ListResourcesOutput struct { _ struct{} `type:"structure"` @@ -4358,18 +3662,6 @@ func (s ListResourcesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListResourcesOutput) SetNextToken(v string) *ListResourcesOutput { - s.NextToken = &v - return s -} - -// SetResources sets the Resources field's value. -func (s *ListResourcesOutput) SetResources(v []Resource) *ListResourcesOutput { - s.Resources = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListUsersRequest type ListUsersInput struct { _ struct{} `type:"structure"` @@ -4416,24 +3708,6 @@ func (s *ListUsersInput) Validate() error { return nil } -// SetMaxResults sets the MaxResults field's value. -func (s *ListUsersInput) SetMaxResults(v int64) *ListUsersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListUsersInput) SetNextToken(v string) *ListUsersInput { - s.NextToken = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *ListUsersInput) SetOrganizationId(v string) *ListUsersInput { - s.OrganizationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListUsersResponse type ListUsersOutput struct { _ struct{} `type:"structure"` @@ -4463,18 +3737,6 @@ func (s ListUsersOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *ListUsersOutput) SetNextToken(v string) *ListUsersOutput { - s.NextToken = &v - return s -} - -// SetUsers sets the Users field's value. -func (s *ListUsersOutput) SetUsers(v []User) *ListUsersOutput { - s.Users = v - return s -} - // The representation of a group member (user or group). // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/Member type Member struct { @@ -4509,42 +3771,6 @@ func (s Member) GoString() string { return s.String() } -// SetDisabledDate sets the DisabledDate field's value. -func (s *Member) SetDisabledDate(v time.Time) *Member { - s.DisabledDate = &v - return s -} - -// SetEnabledDate sets the EnabledDate field's value. -func (s *Member) SetEnabledDate(v time.Time) *Member { - s.EnabledDate = &v - return s -} - -// SetId sets the Id field's value. -func (s *Member) SetId(v string) *Member { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *Member) SetName(v string) *Member { - s.Name = &v - return s -} - -// SetState sets the State field's value. -func (s *Member) SetState(v EntityState) *Member { - s.State = v - return s -} - -// SetType sets the Type field's value. -func (s *Member) SetType(v MemberType) *Member { - s.Type = v - return s -} - // The brief overview associated with an organization. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/OrganizationSummary type OrganizationSummary struct { @@ -4575,30 +3801,6 @@ func (s OrganizationSummary) GoString() string { return s.String() } -// SetAlias sets the Alias field's value. -func (s *OrganizationSummary) SetAlias(v string) *OrganizationSummary { - s.Alias = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *OrganizationSummary) SetErrorMessage(v string) *OrganizationSummary { - s.ErrorMessage = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *OrganizationSummary) SetOrganizationId(v string) *OrganizationSummary { - s.OrganizationId = &v - return s -} - -// SetState sets the State field's value. -func (s *OrganizationSummary) SetState(v string) *OrganizationSummary { - s.State = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/RegisterToWorkMailRequest type RegisterToWorkMailInput struct { _ struct{} `type:"structure"` @@ -4658,24 +3860,6 @@ func (s *RegisterToWorkMailInput) Validate() error { return nil } -// SetEmail sets the Email field's value. -func (s *RegisterToWorkMailInput) SetEmail(v string) *RegisterToWorkMailInput { - s.Email = &v - return s -} - -// SetEntityId sets the EntityId field's value. -func (s *RegisterToWorkMailInput) SetEntityId(v string) *RegisterToWorkMailInput { - s.EntityId = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *RegisterToWorkMailInput) SetOrganizationId(v string) *RegisterToWorkMailInput { - s.OrganizationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/RegisterToWorkMailResponse type RegisterToWorkMailOutput struct { _ struct{} `type:"structure"` @@ -4754,24 +3938,6 @@ func (s *ResetPasswordInput) Validate() error { return nil } -// SetOrganizationId sets the OrganizationId field's value. -func (s *ResetPasswordInput) SetOrganizationId(v string) *ResetPasswordInput { - s.OrganizationId = &v - return s -} - -// SetPassword sets the Password field's value. -func (s *ResetPasswordInput) SetPassword(v string) *ResetPasswordInput { - s.Password = &v - return s -} - -// SetUserId sets the UserId field's value. -func (s *ResetPasswordInput) SetUserId(v string) *ResetPasswordInput { - s.UserId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ResetPasswordResponse type ResetPasswordOutput struct { _ struct{} `type:"structure"` @@ -4831,48 +3997,6 @@ func (s Resource) GoString() string { return s.String() } -// SetDisabledDate sets the DisabledDate field's value. -func (s *Resource) SetDisabledDate(v time.Time) *Resource { - s.DisabledDate = &v - return s -} - -// SetEmail sets the Email field's value. -func (s *Resource) SetEmail(v string) *Resource { - s.Email = &v - return s -} - -// SetEnabledDate sets the EnabledDate field's value. -func (s *Resource) SetEnabledDate(v time.Time) *Resource { - s.EnabledDate = &v - return s -} - -// SetId sets the Id field's value. -func (s *Resource) SetId(v string) *Resource { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *Resource) SetName(v string) *Resource { - s.Name = &v - return s -} - -// SetState sets the State field's value. -func (s *Resource) SetState(v EntityState) *Resource { - s.State = v - return s -} - -// SetType sets the Type field's value. -func (s *Resource) SetType(v ResourceType) *Resource { - s.Type = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdatePrimaryEmailAddressRequest type UpdatePrimaryEmailAddressInput struct { _ struct{} `type:"structure"` @@ -4931,24 +4055,6 @@ func (s *UpdatePrimaryEmailAddressInput) Validate() error { return nil } -// SetEmail sets the Email field's value. -func (s *UpdatePrimaryEmailAddressInput) SetEmail(v string) *UpdatePrimaryEmailAddressInput { - s.Email = &v - return s -} - -// SetEntityId sets the EntityId field's value. -func (s *UpdatePrimaryEmailAddressInput) SetEntityId(v string) *UpdatePrimaryEmailAddressInput { - s.EntityId = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *UpdatePrimaryEmailAddressInput) SetOrganizationId(v string) *UpdatePrimaryEmailAddressInput { - s.OrganizationId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdatePrimaryEmailAddressResponse type UpdatePrimaryEmailAddressOutput struct { _ struct{} `type:"structure"` @@ -5024,30 +4130,6 @@ func (s *UpdateResourceInput) Validate() error { return nil } -// SetBookingOptions sets the BookingOptions field's value. -func (s *UpdateResourceInput) SetBookingOptions(v *BookingOptions) *UpdateResourceInput { - s.BookingOptions = v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateResourceInput) SetName(v string) *UpdateResourceInput { - s.Name = &v - return s -} - -// SetOrganizationId sets the OrganizationId field's value. -func (s *UpdateResourceInput) SetOrganizationId(v string) *UpdateResourceInput { - s.OrganizationId = &v - return s -} - -// SetResourceId sets the ResourceId field's value. -func (s *UpdateResourceInput) SetResourceId(v string) *UpdateResourceInput { - s.ResourceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateResourceResponse type UpdateResourceOutput struct { _ struct{} `type:"structure"` @@ -5110,54 +4192,6 @@ func (s User) GoString() string { return s.String() } -// SetDisabledDate sets the DisabledDate field's value. -func (s *User) SetDisabledDate(v time.Time) *User { - s.DisabledDate = &v - return s -} - -// SetDisplayName sets the DisplayName field's value. -func (s *User) SetDisplayName(v string) *User { - s.DisplayName = &v - return s -} - -// SetEmail sets the Email field's value. -func (s *User) SetEmail(v string) *User { - s.Email = &v - return s -} - -// SetEnabledDate sets the EnabledDate field's value. -func (s *User) SetEnabledDate(v time.Time) *User { - s.EnabledDate = &v - return s -} - -// SetId sets the Id field's value. -func (s *User) SetId(v string) *User { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *User) SetName(v string) *User { - s.Name = &v - return s -} - -// SetState sets the State field's value. -func (s *User) SetState(v EntityState) *User { - s.State = v - return s -} - -// SetUserRole sets the UserRole field's value. -func (s *User) SetUserRole(v UserRole) *User { - s.UserRole = v - return s -} - type EntityState string // Enum values for EntityState diff --git a/service/workspaces/api.go b/service/workspaces/api.go index 52cc6cce356..2f03aacdca9 100644 --- a/service/workspaces/api.go +++ b/service/workspaces/api.go @@ -919,12 +919,6 @@ func (s ComputeType) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *ComputeType) SetName(v Compute) *ComputeType { - s.Name = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateTagsRequest type CreateTagsInput struct { _ struct{} `type:"structure"` @@ -978,18 +972,6 @@ func (s *CreateTagsInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *CreateTagsInput) SetResourceId(v string) *CreateTagsInput { - s.ResourceId = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateTagsInput) SetTags(v []Tag) *CreateTagsInput { - s.Tags = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateTagsResult type CreateTagsOutput struct { _ struct{} `type:"structure"` @@ -1056,12 +1038,6 @@ func (s *CreateWorkspacesInput) Validate() error { return nil } -// SetWorkspaces sets the Workspaces field's value. -func (s *CreateWorkspacesInput) SetWorkspaces(v []WorkspaceRequest) *CreateWorkspacesInput { - s.Workspaces = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspacesResult type CreateWorkspacesOutput struct { _ struct{} `type:"structure"` @@ -1094,18 +1070,6 @@ func (s CreateWorkspacesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailedRequests sets the FailedRequests field's value. -func (s *CreateWorkspacesOutput) SetFailedRequests(v []FailedCreateWorkspaceRequest) *CreateWorkspacesOutput { - s.FailedRequests = v - return s -} - -// SetPendingRequests sets the PendingRequests field's value. -func (s *CreateWorkspacesOutput) SetPendingRequests(v []Workspace) *CreateWorkspacesOutput { - s.PendingRequests = v - return s -} - // Information about defaults used to create a WorkSpace. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DefaultWorkspaceCreationProperties type DefaultWorkspaceCreationProperties struct { @@ -1138,36 +1102,6 @@ func (s DefaultWorkspaceCreationProperties) GoString() string { return s.String() } -// SetCustomSecurityGroupId sets the CustomSecurityGroupId field's value. -func (s *DefaultWorkspaceCreationProperties) SetCustomSecurityGroupId(v string) *DefaultWorkspaceCreationProperties { - s.CustomSecurityGroupId = &v - return s -} - -// SetDefaultOu sets the DefaultOu field's value. -func (s *DefaultWorkspaceCreationProperties) SetDefaultOu(v string) *DefaultWorkspaceCreationProperties { - s.DefaultOu = &v - return s -} - -// SetEnableInternetAccess sets the EnableInternetAccess field's value. -func (s *DefaultWorkspaceCreationProperties) SetEnableInternetAccess(v bool) *DefaultWorkspaceCreationProperties { - s.EnableInternetAccess = &v - return s -} - -// SetEnableWorkDocs sets the EnableWorkDocs field's value. -func (s *DefaultWorkspaceCreationProperties) SetEnableWorkDocs(v bool) *DefaultWorkspaceCreationProperties { - s.EnableWorkDocs = &v - return s -} - -// SetUserEnabledAsLocalAdministrator sets the UserEnabledAsLocalAdministrator field's value. -func (s *DefaultWorkspaceCreationProperties) SetUserEnabledAsLocalAdministrator(v bool) *DefaultWorkspaceCreationProperties { - s.UserEnabledAsLocalAdministrator = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteTagsRequest type DeleteTagsInput struct { _ struct{} `type:"structure"` @@ -1214,18 +1148,6 @@ func (s *DeleteTagsInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *DeleteTagsInput) SetResourceId(v string) *DeleteTagsInput { - s.ResourceId = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *DeleteTagsInput) SetTagKeys(v []string) *DeleteTagsInput { - s.TagKeys = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteTagsResult type DeleteTagsOutput struct { _ struct{} `type:"structure"` @@ -1285,12 +1207,6 @@ func (s *DescribeTagsInput) Validate() error { return nil } -// SetResourceId sets the ResourceId field's value. -func (s *DescribeTagsInput) SetResourceId(v string) *DescribeTagsInput { - s.ResourceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeTagsResult type DescribeTagsOutput struct { _ struct{} `type:"structure"` @@ -1316,12 +1232,6 @@ func (s DescribeTagsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetTagList sets the TagList field's value. -func (s *DescribeTagsOutput) SetTagList(v []Tag) *DescribeTagsOutput { - s.TagList = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceBundlesRequest type DescribeWorkspaceBundlesInput struct { _ struct{} `type:"structure"` @@ -1368,24 +1278,6 @@ func (s *DescribeWorkspaceBundlesInput) Validate() error { return nil } -// SetBundleIds sets the BundleIds field's value. -func (s *DescribeWorkspaceBundlesInput) SetBundleIds(v []string) *DescribeWorkspaceBundlesInput { - s.BundleIds = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeWorkspaceBundlesInput) SetNextToken(v string) *DescribeWorkspaceBundlesInput { - s.NextToken = &v - return s -} - -// SetOwner sets the Owner field's value. -func (s *DescribeWorkspaceBundlesInput) SetOwner(v string) *DescribeWorkspaceBundlesInput { - s.Owner = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceBundlesResult type DescribeWorkspaceBundlesOutput struct { _ struct{} `type:"structure"` @@ -1416,18 +1308,6 @@ func (s DescribeWorkspaceBundlesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetBundles sets the Bundles field's value. -func (s *DescribeWorkspaceBundlesOutput) SetBundles(v []WorkspaceBundle) *DescribeWorkspaceBundlesOutput { - s.Bundles = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeWorkspaceBundlesOutput) SetNextToken(v string) *DescribeWorkspaceBundlesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectoriesRequest type DescribeWorkspaceDirectoriesInput struct { _ struct{} `type:"structure"` @@ -1467,18 +1347,6 @@ func (s *DescribeWorkspaceDirectoriesInput) Validate() error { return nil } -// SetDirectoryIds sets the DirectoryIds field's value. -func (s *DescribeWorkspaceDirectoriesInput) SetDirectoryIds(v []string) *DescribeWorkspaceDirectoriesInput { - s.DirectoryIds = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeWorkspaceDirectoriesInput) SetNextToken(v string) *DescribeWorkspaceDirectoriesInput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectoriesResult type DescribeWorkspaceDirectoriesOutput struct { _ struct{} `type:"structure"` @@ -1509,18 +1377,6 @@ func (s DescribeWorkspaceDirectoriesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetDirectories sets the Directories field's value. -func (s *DescribeWorkspaceDirectoriesOutput) SetDirectories(v []WorkspaceDirectory) *DescribeWorkspaceDirectoriesOutput { - s.Directories = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeWorkspaceDirectoriesOutput) SetNextToken(v string) *DescribeWorkspaceDirectoriesOutput { - s.NextToken = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesConnectionStatusRequest type DescribeWorkspacesConnectionStatusInput struct { _ struct{} `type:"structure"` @@ -1559,18 +1415,6 @@ func (s *DescribeWorkspacesConnectionStatusInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *DescribeWorkspacesConnectionStatusInput) SetNextToken(v string) *DescribeWorkspacesConnectionStatusInput { - s.NextToken = &v - return s -} - -// SetWorkspaceIds sets the WorkspaceIds field's value. -func (s *DescribeWorkspacesConnectionStatusInput) SetWorkspaceIds(v []string) *DescribeWorkspacesConnectionStatusInput { - s.WorkspaceIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesConnectionStatusResult type DescribeWorkspacesConnectionStatusOutput struct { _ struct{} `type:"structure"` @@ -1600,18 +1444,6 @@ func (s DescribeWorkspacesConnectionStatusOutput) SDKResponseMetadata() aws.Resp return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeWorkspacesConnectionStatusOutput) SetNextToken(v string) *DescribeWorkspacesConnectionStatusOutput { - s.NextToken = &v - return s -} - -// SetWorkspacesConnectionStatus sets the WorkspacesConnectionStatus field's value. -func (s *DescribeWorkspacesConnectionStatusOutput) SetWorkspacesConnectionStatus(v []WorkspaceConnectionStatus) *DescribeWorkspacesConnectionStatusOutput { - s.WorkspacesConnectionStatus = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesRequest type DescribeWorkspacesInput struct { _ struct{} `type:"structure"` @@ -1676,42 +1508,6 @@ func (s *DescribeWorkspacesInput) Validate() error { return nil } -// SetBundleId sets the BundleId field's value. -func (s *DescribeWorkspacesInput) SetBundleId(v string) *DescribeWorkspacesInput { - s.BundleId = &v - return s -} - -// SetDirectoryId sets the DirectoryId field's value. -func (s *DescribeWorkspacesInput) SetDirectoryId(v string) *DescribeWorkspacesInput { - s.DirectoryId = &v - return s -} - -// SetLimit sets the Limit field's value. -func (s *DescribeWorkspacesInput) SetLimit(v int64) *DescribeWorkspacesInput { - s.Limit = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeWorkspacesInput) SetNextToken(v string) *DescribeWorkspacesInput { - s.NextToken = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *DescribeWorkspacesInput) SetUserName(v string) *DescribeWorkspacesInput { - s.UserName = &v - return s -} - -// SetWorkspaceIds sets the WorkspaceIds field's value. -func (s *DescribeWorkspacesInput) SetWorkspaceIds(v []string) *DescribeWorkspacesInput { - s.WorkspaceIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesResult type DescribeWorkspacesOutput struct { _ struct{} `type:"structure"` @@ -1745,18 +1541,6 @@ func (s DescribeWorkspacesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *DescribeWorkspacesOutput) SetNextToken(v string) *DescribeWorkspacesOutput { - s.NextToken = &v - return s -} - -// SetWorkspaces sets the Workspaces field's value. -func (s *DescribeWorkspacesOutput) SetWorkspaces(v []Workspace) *DescribeWorkspacesOutput { - s.Workspaces = v - return s -} - // Information about a WorkSpace that could not be created. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/FailedCreateWorkspaceRequest type FailedCreateWorkspaceRequest struct { @@ -1782,24 +1566,6 @@ func (s FailedCreateWorkspaceRequest) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *FailedCreateWorkspaceRequest) SetErrorCode(v string) *FailedCreateWorkspaceRequest { - s.ErrorCode = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *FailedCreateWorkspaceRequest) SetErrorMessage(v string) *FailedCreateWorkspaceRequest { - s.ErrorMessage = &v - return s -} - -// SetWorkspaceRequest sets the WorkspaceRequest field's value. -func (s *FailedCreateWorkspaceRequest) SetWorkspaceRequest(v *WorkspaceRequest) *FailedCreateWorkspaceRequest { - s.WorkspaceRequest = v - return s -} - // Information about a WorkSpace that could not be rebooted (RebootWorkspaces), // rebuilt (RebuildWorkspaces), terminated (TerminateWorkspaces), started (StartWorkspaces), // or stopped (StopWorkspaces). @@ -1827,24 +1593,6 @@ func (s FailedWorkspaceChangeRequest) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *FailedWorkspaceChangeRequest) SetErrorCode(v string) *FailedWorkspaceChangeRequest { - s.ErrorCode = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *FailedWorkspaceChangeRequest) SetErrorMessage(v string) *FailedWorkspaceChangeRequest { - s.ErrorMessage = &v - return s -} - -// SetWorkspaceId sets the WorkspaceId field's value. -func (s *FailedWorkspaceChangeRequest) SetWorkspaceId(v string) *FailedWorkspaceChangeRequest { - s.WorkspaceId = &v - return s -} - // Information about a WorkSpace modification. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModificationState type ModificationState struct { @@ -1867,18 +1615,6 @@ func (s ModificationState) GoString() string { return s.String() } -// SetResource sets the Resource field's value. -func (s *ModificationState) SetResource(v ModificationResourceEnum) *ModificationState { - s.Resource = v - return s -} - -// SetState sets the State field's value. -func (s *ModificationState) SetState(v ModificationStateEnum) *ModificationState { - s.State = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspacePropertiesRequest type ModifyWorkspacePropertiesInput struct { _ struct{} `type:"structure"` @@ -1922,18 +1658,6 @@ func (s *ModifyWorkspacePropertiesInput) Validate() error { return nil } -// SetWorkspaceId sets the WorkspaceId field's value. -func (s *ModifyWorkspacePropertiesInput) SetWorkspaceId(v string) *ModifyWorkspacePropertiesInput { - s.WorkspaceId = &v - return s -} - -// SetWorkspaceProperties sets the WorkspaceProperties field's value. -func (s *ModifyWorkspacePropertiesInput) SetWorkspaceProperties(v *WorkspaceProperties) *ModifyWorkspacePropertiesInput { - s.WorkspaceProperties = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspacePropertiesResult type ModifyWorkspacePropertiesOutput struct { _ struct{} `type:"structure"` @@ -1991,12 +1715,6 @@ func (s *RebootRequest) Validate() error { return nil } -// SetWorkspaceId sets the WorkspaceId field's value. -func (s *RebootRequest) SetWorkspaceId(v string) *RebootRequest { - s.WorkspaceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebootWorkspacesRequest type RebootWorkspacesInput struct { _ struct{} `type:"structure"` @@ -2041,12 +1759,6 @@ func (s *RebootWorkspacesInput) Validate() error { return nil } -// SetRebootWorkspaceRequests sets the RebootWorkspaceRequests field's value. -func (s *RebootWorkspacesInput) SetRebootWorkspaceRequests(v []RebootRequest) *RebootWorkspacesInput { - s.RebootWorkspaceRequests = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebootWorkspacesResult type RebootWorkspacesOutput struct { _ struct{} `type:"structure"` @@ -2072,12 +1784,6 @@ func (s RebootWorkspacesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailedRequests sets the FailedRequests field's value. -func (s *RebootWorkspacesOutput) SetFailedRequests(v []FailedWorkspaceChangeRequest) *RebootWorkspacesOutput { - s.FailedRequests = v - return s -} - // Information used to rebuild a WorkSpace. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebuildRequest type RebuildRequest struct { @@ -2113,12 +1819,6 @@ func (s *RebuildRequest) Validate() error { return nil } -// SetWorkspaceId sets the WorkspaceId field's value. -func (s *RebuildRequest) SetWorkspaceId(v string) *RebuildRequest { - s.WorkspaceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebuildWorkspacesRequest type RebuildWorkspacesInput struct { _ struct{} `type:"structure"` @@ -2163,12 +1863,6 @@ func (s *RebuildWorkspacesInput) Validate() error { return nil } -// SetRebuildWorkspaceRequests sets the RebuildWorkspaceRequests field's value. -func (s *RebuildWorkspacesInput) SetRebuildWorkspaceRequests(v []RebuildRequest) *RebuildWorkspacesInput { - s.RebuildWorkspaceRequests = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebuildWorkspacesResult type RebuildWorkspacesOutput struct { _ struct{} `type:"structure"` @@ -2194,12 +1888,6 @@ func (s RebuildWorkspacesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailedRequests sets the FailedRequests field's value. -func (s *RebuildWorkspacesOutput) SetFailedRequests(v []FailedWorkspaceChangeRequest) *RebuildWorkspacesOutput { - s.FailedRequests = v - return s -} - // Information about the root volume for a WorkSpace bundle. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RootStorage type RootStorage struct { @@ -2219,12 +1907,6 @@ func (s RootStorage) GoString() string { return s.String() } -// SetCapacity sets the Capacity field's value. -func (s *RootStorage) SetCapacity(v string) *RootStorage { - s.Capacity = &v - return s -} - // Information used to start a WorkSpace. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StartRequest type StartRequest struct { @@ -2244,12 +1926,6 @@ func (s StartRequest) GoString() string { return s.String() } -// SetWorkspaceId sets the WorkspaceId field's value. -func (s *StartRequest) SetWorkspaceId(v string) *StartRequest { - s.WorkspaceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StartWorkspacesRequest type StartWorkspacesInput struct { _ struct{} `type:"structure"` @@ -2287,12 +1963,6 @@ func (s *StartWorkspacesInput) Validate() error { return nil } -// SetStartWorkspaceRequests sets the StartWorkspaceRequests field's value. -func (s *StartWorkspacesInput) SetStartWorkspaceRequests(v []StartRequest) *StartWorkspacesInput { - s.StartWorkspaceRequests = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StartWorkspacesResult type StartWorkspacesOutput struct { _ struct{} `type:"structure"` @@ -2318,12 +1988,6 @@ func (s StartWorkspacesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailedRequests sets the FailedRequests field's value. -func (s *StartWorkspacesOutput) SetFailedRequests(v []FailedWorkspaceChangeRequest) *StartWorkspacesOutput { - s.FailedRequests = v - return s -} - // Information used to stop a WorkSpace. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StopRequest type StopRequest struct { @@ -2343,12 +2007,6 @@ func (s StopRequest) GoString() string { return s.String() } -// SetWorkspaceId sets the WorkspaceId field's value. -func (s *StopRequest) SetWorkspaceId(v string) *StopRequest { - s.WorkspaceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StopWorkspacesRequest type StopWorkspacesInput struct { _ struct{} `type:"structure"` @@ -2386,12 +2044,6 @@ func (s *StopWorkspacesInput) Validate() error { return nil } -// SetStopWorkspaceRequests sets the StopWorkspaceRequests field's value. -func (s *StopWorkspacesInput) SetStopWorkspaceRequests(v []StopRequest) *StopWorkspacesInput { - s.StopWorkspaceRequests = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StopWorkspacesResult type StopWorkspacesOutput struct { _ struct{} `type:"structure"` @@ -2417,12 +2069,6 @@ func (s StopWorkspacesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailedRequests sets the FailedRequests field's value. -func (s *StopWorkspacesOutput) SetFailedRequests(v []FailedWorkspaceChangeRequest) *StopWorkspacesOutput { - s.FailedRequests = v - return s -} - // Information about a tag. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/Tag type Tag struct { @@ -2464,18 +2110,6 @@ func (s *Tag) Validate() error { return nil } -// SetKey sets the Key field's value. -func (s *Tag) SetKey(v string) *Tag { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Tag) SetValue(v string) *Tag { - s.Value = &v - return s -} - // Information used to terminate a WorkSpace. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateRequest type TerminateRequest struct { @@ -2511,12 +2145,6 @@ func (s *TerminateRequest) Validate() error { return nil } -// SetWorkspaceId sets the WorkspaceId field's value. -func (s *TerminateRequest) SetWorkspaceId(v string) *TerminateRequest { - s.WorkspaceId = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateWorkspacesRequest type TerminateWorkspacesInput struct { _ struct{} `type:"structure"` @@ -2561,12 +2189,6 @@ func (s *TerminateWorkspacesInput) Validate() error { return nil } -// SetTerminateWorkspaceRequests sets the TerminateWorkspaceRequests field's value. -func (s *TerminateWorkspacesInput) SetTerminateWorkspaceRequests(v []TerminateRequest) *TerminateWorkspacesInput { - s.TerminateWorkspaceRequests = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateWorkspacesResult type TerminateWorkspacesOutput struct { _ struct{} `type:"structure"` @@ -2592,12 +2214,6 @@ func (s TerminateWorkspacesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetFailedRequests sets the FailedRequests field's value. -func (s *TerminateWorkspacesOutput) SetFailedRequests(v []FailedWorkspaceChangeRequest) *TerminateWorkspacesOutput { - s.FailedRequests = v - return s -} - // Information about the user storage for a WorkSpace bundle. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UserStorage type UserStorage struct { @@ -2617,12 +2233,6 @@ func (s UserStorage) GoString() string { return s.String() } -// SetCapacity sets the Capacity field's value. -func (s *UserStorage) SetCapacity(v string) *UserStorage { - s.Capacity = &v - return s -} - // Information about a WorkSpace. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/Workspace type Workspace struct { @@ -2685,96 +2295,6 @@ func (s Workspace) GoString() string { return s.String() } -// SetBundleId sets the BundleId field's value. -func (s *Workspace) SetBundleId(v string) *Workspace { - s.BundleId = &v - return s -} - -// SetComputerName sets the ComputerName field's value. -func (s *Workspace) SetComputerName(v string) *Workspace { - s.ComputerName = &v - return s -} - -// SetDirectoryId sets the DirectoryId field's value. -func (s *Workspace) SetDirectoryId(v string) *Workspace { - s.DirectoryId = &v - return s -} - -// SetErrorCode sets the ErrorCode field's value. -func (s *Workspace) SetErrorCode(v string) *Workspace { - s.ErrorCode = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *Workspace) SetErrorMessage(v string) *Workspace { - s.ErrorMessage = &v - return s -} - -// SetIpAddress sets the IpAddress field's value. -func (s *Workspace) SetIpAddress(v string) *Workspace { - s.IpAddress = &v - return s -} - -// SetModificationStates sets the ModificationStates field's value. -func (s *Workspace) SetModificationStates(v []ModificationState) *Workspace { - s.ModificationStates = v - return s -} - -// SetRootVolumeEncryptionEnabled sets the RootVolumeEncryptionEnabled field's value. -func (s *Workspace) SetRootVolumeEncryptionEnabled(v bool) *Workspace { - s.RootVolumeEncryptionEnabled = &v - return s -} - -// SetState sets the State field's value. -func (s *Workspace) SetState(v WorkspaceState) *Workspace { - s.State = v - return s -} - -// SetSubnetId sets the SubnetId field's value. -func (s *Workspace) SetSubnetId(v string) *Workspace { - s.SubnetId = &v - return s -} - -// SetUserName sets the UserName field's value. -func (s *Workspace) SetUserName(v string) *Workspace { - s.UserName = &v - return s -} - -// SetUserVolumeEncryptionEnabled sets the UserVolumeEncryptionEnabled field's value. -func (s *Workspace) SetUserVolumeEncryptionEnabled(v bool) *Workspace { - s.UserVolumeEncryptionEnabled = &v - return s -} - -// SetVolumeEncryptionKey sets the VolumeEncryptionKey field's value. -func (s *Workspace) SetVolumeEncryptionKey(v string) *Workspace { - s.VolumeEncryptionKey = &v - return s -} - -// SetWorkspaceId sets the WorkspaceId field's value. -func (s *Workspace) SetWorkspaceId(v string) *Workspace { - s.WorkspaceId = &v - return s -} - -// SetWorkspaceProperties sets the WorkspaceProperties field's value. -func (s *Workspace) SetWorkspaceProperties(v *WorkspaceProperties) *Workspace { - s.WorkspaceProperties = v - return s -} - // Information about a WorkSpace bundle. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceBundle type WorkspaceBundle struct { @@ -2813,48 +2333,6 @@ func (s WorkspaceBundle) GoString() string { return s.String() } -// SetBundleId sets the BundleId field's value. -func (s *WorkspaceBundle) SetBundleId(v string) *WorkspaceBundle { - s.BundleId = &v - return s -} - -// SetComputeType sets the ComputeType field's value. -func (s *WorkspaceBundle) SetComputeType(v *ComputeType) *WorkspaceBundle { - s.ComputeType = v - return s -} - -// SetDescription sets the Description field's value. -func (s *WorkspaceBundle) SetDescription(v string) *WorkspaceBundle { - s.Description = &v - return s -} - -// SetName sets the Name field's value. -func (s *WorkspaceBundle) SetName(v string) *WorkspaceBundle { - s.Name = &v - return s -} - -// SetOwner sets the Owner field's value. -func (s *WorkspaceBundle) SetOwner(v string) *WorkspaceBundle { - s.Owner = &v - return s -} - -// SetRootStorage sets the RootStorage field's value. -func (s *WorkspaceBundle) SetRootStorage(v *RootStorage) *WorkspaceBundle { - s.RootStorage = v - return s -} - -// SetUserStorage sets the UserStorage field's value. -func (s *WorkspaceBundle) SetUserStorage(v *UserStorage) *WorkspaceBundle { - s.UserStorage = v - return s -} - // Describes the connection status of a WorkSpace. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceConnectionStatus type WorkspaceConnectionStatus struct { @@ -2884,30 +2362,6 @@ func (s WorkspaceConnectionStatus) GoString() string { return s.String() } -// SetConnectionState sets the ConnectionState field's value. -func (s *WorkspaceConnectionStatus) SetConnectionState(v ConnectionState) *WorkspaceConnectionStatus { - s.ConnectionState = v - return s -} - -// SetConnectionStateCheckTimestamp sets the ConnectionStateCheckTimestamp field's value. -func (s *WorkspaceConnectionStatus) SetConnectionStateCheckTimestamp(v time.Time) *WorkspaceConnectionStatus { - s.ConnectionStateCheckTimestamp = &v - return s -} - -// SetLastKnownUserConnectionTimestamp sets the LastKnownUserConnectionTimestamp field's value. -func (s *WorkspaceConnectionStatus) SetLastKnownUserConnectionTimestamp(v time.Time) *WorkspaceConnectionStatus { - s.LastKnownUserConnectionTimestamp = &v - return s -} - -// SetWorkspaceId sets the WorkspaceId field's value. -func (s *WorkspaceConnectionStatus) SetWorkspaceId(v string) *WorkspaceConnectionStatus { - s.WorkspaceId = &v - return s -} - // Contains information about an AWS Directory Service directory for use with // Amazon WorkSpaces. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceDirectory @@ -2963,78 +2417,6 @@ func (s WorkspaceDirectory) GoString() string { return s.String() } -// SetAlias sets the Alias field's value. -func (s *WorkspaceDirectory) SetAlias(v string) *WorkspaceDirectory { - s.Alias = &v - return s -} - -// SetCustomerUserName sets the CustomerUserName field's value. -func (s *WorkspaceDirectory) SetCustomerUserName(v string) *WorkspaceDirectory { - s.CustomerUserName = &v - return s -} - -// SetDirectoryId sets the DirectoryId field's value. -func (s *WorkspaceDirectory) SetDirectoryId(v string) *WorkspaceDirectory { - s.DirectoryId = &v - return s -} - -// SetDirectoryName sets the DirectoryName field's value. -func (s *WorkspaceDirectory) SetDirectoryName(v string) *WorkspaceDirectory { - s.DirectoryName = &v - return s -} - -// SetDirectoryType sets the DirectoryType field's value. -func (s *WorkspaceDirectory) SetDirectoryType(v WorkspaceDirectoryType) *WorkspaceDirectory { - s.DirectoryType = v - return s -} - -// SetDnsIpAddresses sets the DnsIpAddresses field's value. -func (s *WorkspaceDirectory) SetDnsIpAddresses(v []string) *WorkspaceDirectory { - s.DnsIpAddresses = v - return s -} - -// SetIamRoleId sets the IamRoleId field's value. -func (s *WorkspaceDirectory) SetIamRoleId(v string) *WorkspaceDirectory { - s.IamRoleId = &v - return s -} - -// SetRegistrationCode sets the RegistrationCode field's value. -func (s *WorkspaceDirectory) SetRegistrationCode(v string) *WorkspaceDirectory { - s.RegistrationCode = &v - return s -} - -// SetState sets the State field's value. -func (s *WorkspaceDirectory) SetState(v WorkspaceDirectoryState) *WorkspaceDirectory { - s.State = v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *WorkspaceDirectory) SetSubnetIds(v []string) *WorkspaceDirectory { - s.SubnetIds = v - return s -} - -// SetWorkspaceCreationProperties sets the WorkspaceCreationProperties field's value. -func (s *WorkspaceDirectory) SetWorkspaceCreationProperties(v *DefaultWorkspaceCreationProperties) *WorkspaceDirectory { - s.WorkspaceCreationProperties = v - return s -} - -// SetWorkspaceSecurityGroupId sets the WorkspaceSecurityGroupId field's value. -func (s *WorkspaceDirectory) SetWorkspaceSecurityGroupId(v string) *WorkspaceDirectory { - s.WorkspaceSecurityGroupId = &v - return s -} - // Information about a WorkSpace. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceProperties type WorkspaceProperties struct { @@ -3068,36 +2450,6 @@ func (s WorkspaceProperties) GoString() string { return s.String() } -// SetComputeTypeName sets the ComputeTypeName field's value. -func (s *WorkspaceProperties) SetComputeTypeName(v Compute) *WorkspaceProperties { - s.ComputeTypeName = v - return s -} - -// SetRootVolumeSizeGib sets the RootVolumeSizeGib field's value. -func (s *WorkspaceProperties) SetRootVolumeSizeGib(v int64) *WorkspaceProperties { - s.RootVolumeSizeGib = &v - return s -} - -// SetRunningMode sets the RunningMode field's value. -func (s *WorkspaceProperties) SetRunningMode(v RunningMode) *WorkspaceProperties { - s.RunningMode = v - return s -} - -// SetRunningModeAutoStopTimeoutInMinutes sets the RunningModeAutoStopTimeoutInMinutes field's value. -func (s *WorkspaceProperties) SetRunningModeAutoStopTimeoutInMinutes(v int64) *WorkspaceProperties { - s.RunningModeAutoStopTimeoutInMinutes = &v - return s -} - -// SetUserVolumeSizeGib sets the UserVolumeSizeGib field's value. -func (s *WorkspaceProperties) SetUserVolumeSizeGib(v int64) *WorkspaceProperties { - s.UserVolumeSizeGib = &v - return s -} - // Information used to create a WorkSpace. // Please also see https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceRequest type WorkspaceRequest struct { @@ -3179,54 +2531,6 @@ func (s *WorkspaceRequest) Validate() error { return nil } -// SetBundleId sets the BundleId field's value. -func (s *WorkspaceRequest) SetBundleId(v string) *WorkspaceRequest { - s.BundleId = &v - return s -} - -// SetDirectoryId sets the DirectoryId field's value. -func (s *WorkspaceRequest) SetDirectoryId(v string) *WorkspaceRequest { - s.DirectoryId = &v - return s -} - -// SetRootVolumeEncryptionEnabled sets the RootVolumeEncryptionEnabled field's value. -func (s *WorkspaceRequest) SetRootVolumeEncryptionEnabled(v bool) *WorkspaceRequest { - s.RootVolumeEncryptionEnabled = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *WorkspaceRequest) SetTags(v []Tag) *WorkspaceRequest { - s.Tags = v - return s -} - -// SetUserName sets the UserName field's value. -func (s *WorkspaceRequest) SetUserName(v string) *WorkspaceRequest { - s.UserName = &v - return s -} - -// SetUserVolumeEncryptionEnabled sets the UserVolumeEncryptionEnabled field's value. -func (s *WorkspaceRequest) SetUserVolumeEncryptionEnabled(v bool) *WorkspaceRequest { - s.UserVolumeEncryptionEnabled = &v - return s -} - -// SetVolumeEncryptionKey sets the VolumeEncryptionKey field's value. -func (s *WorkspaceRequest) SetVolumeEncryptionKey(v string) *WorkspaceRequest { - s.VolumeEncryptionKey = &v - return s -} - -// SetWorkspaceProperties sets the WorkspaceProperties field's value. -func (s *WorkspaceRequest) SetWorkspaceProperties(v *WorkspaceProperties) *WorkspaceRequest { - s.WorkspaceProperties = v - return s -} - type Compute string // Enum values for Compute diff --git a/service/xray/api.go b/service/xray/api.go index 768d1e66052..d2b9bf41514 100644 --- a/service/xray/api.go +++ b/service/xray/api.go @@ -620,24 +620,6 @@ func (s Alias) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *Alias) SetName(v string) *Alias { - s.Name = &v - return s -} - -// SetNames sets the Names field's value. -func (s *Alias) SetNames(v []string) *Alias { - s.Names = v - return s -} - -// SetType sets the Type field's value. -func (s *Alias) SetType(v string) *Alias { - s.Type = &v - return s -} - // Value of a segment annotation. Has one of three value types: Number, Boolean // or String. // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/AnnotationValue @@ -664,24 +646,6 @@ func (s AnnotationValue) GoString() string { return s.String() } -// SetBooleanValue sets the BooleanValue field's value. -func (s *AnnotationValue) SetBooleanValue(v bool) *AnnotationValue { - s.BooleanValue = &v - return s -} - -// SetNumberValue sets the NumberValue field's value. -func (s *AnnotationValue) SetNumberValue(v float64) *AnnotationValue { - s.NumberValue = &v - return s -} - -// SetStringValue sets the StringValue field's value. -func (s *AnnotationValue) SetStringValue(v string) *AnnotationValue { - s.StringValue = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/BackendConnectionErrors type BackendConnectionErrors struct { _ struct{} `type:"structure"` @@ -709,42 +673,6 @@ func (s BackendConnectionErrors) GoString() string { return s.String() } -// SetConnectionRefusedCount sets the ConnectionRefusedCount field's value. -func (s *BackendConnectionErrors) SetConnectionRefusedCount(v int64) *BackendConnectionErrors { - s.ConnectionRefusedCount = &v - return s -} - -// SetHTTPCode4XXCount sets the HTTPCode4XXCount field's value. -func (s *BackendConnectionErrors) SetHTTPCode4XXCount(v int64) *BackendConnectionErrors { - s.HTTPCode4XXCount = &v - return s -} - -// SetHTTPCode5XXCount sets the HTTPCode5XXCount field's value. -func (s *BackendConnectionErrors) SetHTTPCode5XXCount(v int64) *BackendConnectionErrors { - s.HTTPCode5XXCount = &v - return s -} - -// SetOtherCount sets the OtherCount field's value. -func (s *BackendConnectionErrors) SetOtherCount(v int64) *BackendConnectionErrors { - s.OtherCount = &v - return s -} - -// SetTimeoutCount sets the TimeoutCount field's value. -func (s *BackendConnectionErrors) SetTimeoutCount(v int64) *BackendConnectionErrors { - s.TimeoutCount = &v - return s -} - -// SetUnknownHostCount sets the UnknownHostCount field's value. -func (s *BackendConnectionErrors) SetUnknownHostCount(v int64) *BackendConnectionErrors { - s.UnknownHostCount = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/BatchGetTracesRequest type BatchGetTracesInput struct { _ struct{} `type:"structure"` @@ -782,18 +710,6 @@ func (s *BatchGetTracesInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *BatchGetTracesInput) SetNextToken(v string) *BatchGetTracesInput { - s.NextToken = &v - return s -} - -// SetTraceIds sets the TraceIds field's value. -func (s *BatchGetTracesInput) SetTraceIds(v []string) *BatchGetTracesInput { - s.TraceIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/BatchGetTracesResult type BatchGetTracesOutput struct { _ struct{} `type:"structure"` @@ -825,24 +741,6 @@ func (s BatchGetTracesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *BatchGetTracesOutput) SetNextToken(v string) *BatchGetTracesOutput { - s.NextToken = &v - return s -} - -// SetTraces sets the Traces field's value. -func (s *BatchGetTracesOutput) SetTraces(v []Trace) *BatchGetTracesOutput { - s.Traces = v - return s -} - -// SetUnprocessedTraceIds sets the UnprocessedTraceIds field's value. -func (s *BatchGetTracesOutput) SetUnprocessedTraceIds(v []string) *BatchGetTracesOutput { - s.UnprocessedTraceIds = v - return s -} - // Information about a connection between two services. // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Edge type Edge struct { @@ -877,42 +775,6 @@ func (s Edge) GoString() string { return s.String() } -// SetAliases sets the Aliases field's value. -func (s *Edge) SetAliases(v []Alias) *Edge { - s.Aliases = v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *Edge) SetEndTime(v time.Time) *Edge { - s.EndTime = &v - return s -} - -// SetReferenceId sets the ReferenceId field's value. -func (s *Edge) SetReferenceId(v int64) *Edge { - s.ReferenceId = &v - return s -} - -// SetResponseTimeHistogram sets the ResponseTimeHistogram field's value. -func (s *Edge) SetResponseTimeHistogram(v []HistogramEntry) *Edge { - s.ResponseTimeHistogram = v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *Edge) SetStartTime(v time.Time) *Edge { - s.StartTime = &v - return s -} - -// SetSummaryStatistics sets the SummaryStatistics field's value. -func (s *Edge) SetSummaryStatistics(v *EdgeStatistics) *Edge { - s.SummaryStatistics = v - return s -} - // Response statistics for an edge. // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/EdgeStatistics type EdgeStatistics struct { @@ -944,36 +806,6 @@ func (s EdgeStatistics) GoString() string { return s.String() } -// SetErrorStatistics sets the ErrorStatistics field's value. -func (s *EdgeStatistics) SetErrorStatistics(v *ErrorStatistics) *EdgeStatistics { - s.ErrorStatistics = v - return s -} - -// SetFaultStatistics sets the FaultStatistics field's value. -func (s *EdgeStatistics) SetFaultStatistics(v *FaultStatistics) *EdgeStatistics { - s.FaultStatistics = v - return s -} - -// SetOkCount sets the OkCount field's value. -func (s *EdgeStatistics) SetOkCount(v int64) *EdgeStatistics { - s.OkCount = &v - return s -} - -// SetTotalCount sets the TotalCount field's value. -func (s *EdgeStatistics) SetTotalCount(v int64) *EdgeStatistics { - s.TotalCount = &v - return s -} - -// SetTotalResponseTime sets the TotalResponseTime field's value. -func (s *EdgeStatistics) SetTotalResponseTime(v float64) *EdgeStatistics { - s.TotalResponseTime = &v - return s -} - // Information about requests that failed with a 4xx Client Error status code. // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ErrorStatistics type ErrorStatistics struct { @@ -1000,24 +832,6 @@ func (s ErrorStatistics) GoString() string { return s.String() } -// SetOtherCount sets the OtherCount field's value. -func (s *ErrorStatistics) SetOtherCount(v int64) *ErrorStatistics { - s.OtherCount = &v - return s -} - -// SetThrottleCount sets the ThrottleCount field's value. -func (s *ErrorStatistics) SetThrottleCount(v int64) *ErrorStatistics { - s.ThrottleCount = &v - return s -} - -// SetTotalCount sets the TotalCount field's value. -func (s *ErrorStatistics) SetTotalCount(v int64) *ErrorStatistics { - s.TotalCount = &v - return s -} - // Information about requests that failed with a 5xx Server Error status code. // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/FaultStatistics type FaultStatistics struct { @@ -1041,18 +855,6 @@ func (s FaultStatistics) GoString() string { return s.String() } -// SetOtherCount sets the OtherCount field's value. -func (s *FaultStatistics) SetOtherCount(v int64) *FaultStatistics { - s.OtherCount = &v - return s -} - -// SetTotalCount sets the TotalCount field's value. -func (s *FaultStatistics) SetTotalCount(v int64) *FaultStatistics { - s.TotalCount = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetServiceGraphRequest type GetServiceGraphInput struct { _ struct{} `type:"structure"` @@ -1099,24 +901,6 @@ func (s *GetServiceGraphInput) Validate() error { return nil } -// SetEndTime sets the EndTime field's value. -func (s *GetServiceGraphInput) SetEndTime(v time.Time) *GetServiceGraphInput { - s.EndTime = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetServiceGraphInput) SetNextToken(v string) *GetServiceGraphInput { - s.NextToken = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *GetServiceGraphInput) SetStartTime(v time.Time) *GetServiceGraphInput { - s.StartTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetServiceGraphResult type GetServiceGraphOutput struct { _ struct{} `type:"structure"` @@ -1152,30 +936,6 @@ func (s GetServiceGraphOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetEndTime sets the EndTime field's value. -func (s *GetServiceGraphOutput) SetEndTime(v time.Time) *GetServiceGraphOutput { - s.EndTime = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetServiceGraphOutput) SetNextToken(v string) *GetServiceGraphOutput { - s.NextToken = &v - return s -} - -// SetServices sets the Services field's value. -func (s *GetServiceGraphOutput) SetServices(v []Service) *GetServiceGraphOutput { - s.Services = v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *GetServiceGraphOutput) SetStartTime(v time.Time) *GetServiceGraphOutput { - s.StartTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceGraphRequest type GetTraceGraphInput struct { _ struct{} `type:"structure"` @@ -1213,18 +973,6 @@ func (s *GetTraceGraphInput) Validate() error { return nil } -// SetNextToken sets the NextToken field's value. -func (s *GetTraceGraphInput) SetNextToken(v string) *GetTraceGraphInput { - s.NextToken = &v - return s -} - -// SetTraceIds sets the TraceIds field's value. -func (s *GetTraceGraphInput) SetTraceIds(v []string) *GetTraceGraphInput { - s.TraceIds = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceGraphResult type GetTraceGraphOutput struct { _ struct{} `type:"structure"` @@ -1253,18 +1001,6 @@ func (s GetTraceGraphOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetNextToken sets the NextToken field's value. -func (s *GetTraceGraphOutput) SetNextToken(v string) *GetTraceGraphOutput { - s.NextToken = &v - return s -} - -// SetServices sets the Services field's value. -func (s *GetTraceGraphOutput) SetServices(v []Service) *GetTraceGraphOutput { - s.Services = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceSummariesRequest type GetTraceSummariesInput struct { _ struct{} `type:"structure"` @@ -1322,36 +1058,6 @@ func (s *GetTraceSummariesInput) Validate() error { return nil } -// SetEndTime sets the EndTime field's value. -func (s *GetTraceSummariesInput) SetEndTime(v time.Time) *GetTraceSummariesInput { - s.EndTime = &v - return s -} - -// SetFilterExpression sets the FilterExpression field's value. -func (s *GetTraceSummariesInput) SetFilterExpression(v string) *GetTraceSummariesInput { - s.FilterExpression = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetTraceSummariesInput) SetNextToken(v string) *GetTraceSummariesInput { - s.NextToken = &v - return s -} - -// SetSampling sets the Sampling field's value. -func (s *GetTraceSummariesInput) SetSampling(v bool) *GetTraceSummariesInput { - s.Sampling = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *GetTraceSummariesInput) SetStartTime(v time.Time) *GetTraceSummariesInput { - s.StartTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceSummariesResult type GetTraceSummariesOutput struct { _ struct{} `type:"structure"` @@ -1388,30 +1094,6 @@ func (s GetTraceSummariesOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetApproximateTime sets the ApproximateTime field's value. -func (s *GetTraceSummariesOutput) SetApproximateTime(v time.Time) *GetTraceSummariesOutput { - s.ApproximateTime = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetTraceSummariesOutput) SetNextToken(v string) *GetTraceSummariesOutput { - s.NextToken = &v - return s -} - -// SetTraceSummaries sets the TraceSummaries field's value. -func (s *GetTraceSummariesOutput) SetTraceSummaries(v []TraceSummary) *GetTraceSummariesOutput { - s.TraceSummaries = v - return s -} - -// SetTracesProcessedCount sets the TracesProcessedCount field's value. -func (s *GetTraceSummariesOutput) SetTracesProcessedCount(v int64) *GetTraceSummariesOutput { - s.TracesProcessedCount = &v - return s -} - // An entry in a histogram for a statistic. A histogram maps the range of observed // values on the X axis, and the prevalence of each value on the Y axis. // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/HistogramEntry @@ -1435,18 +1117,6 @@ func (s HistogramEntry) GoString() string { return s.String() } -// SetCount sets the Count field's value. -func (s *HistogramEntry) SetCount(v int64) *HistogramEntry { - s.Count = &v - return s -} - -// SetValue sets the Value field's value. -func (s *HistogramEntry) SetValue(v float64) *HistogramEntry { - s.Value = &v - return s -} - // Information about an HTTP request. // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Http type Http struct { @@ -1478,36 +1148,6 @@ func (s Http) GoString() string { return s.String() } -// SetClientIp sets the ClientIp field's value. -func (s *Http) SetClientIp(v string) *Http { - s.ClientIp = &v - return s -} - -// SetHttpMethod sets the HttpMethod field's value. -func (s *Http) SetHttpMethod(v string) *Http { - s.HttpMethod = &v - return s -} - -// SetHttpStatus sets the HttpStatus field's value. -func (s *Http) SetHttpStatus(v int64) *Http { - s.HttpStatus = &v - return s -} - -// SetHttpURL sets the HttpURL field's value. -func (s *Http) SetHttpURL(v string) *Http { - s.HttpURL = &v - return s -} - -// SetUserAgent sets the UserAgent field's value. -func (s *Http) SetUserAgent(v string) *Http { - s.UserAgent = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTelemetryRecordsRequest type PutTelemetryRecordsInput struct { _ struct{} `type:"structure"` @@ -1553,30 +1193,6 @@ func (s *PutTelemetryRecordsInput) Validate() error { return nil } -// SetEC2InstanceId sets the EC2InstanceId field's value. -func (s *PutTelemetryRecordsInput) SetEC2InstanceId(v string) *PutTelemetryRecordsInput { - s.EC2InstanceId = &v - return s -} - -// SetHostname sets the Hostname field's value. -func (s *PutTelemetryRecordsInput) SetHostname(v string) *PutTelemetryRecordsInput { - s.Hostname = &v - return s -} - -// SetResourceARN sets the ResourceARN field's value. -func (s *PutTelemetryRecordsInput) SetResourceARN(v string) *PutTelemetryRecordsInput { - s.ResourceARN = &v - return s -} - -// SetTelemetryRecords sets the TelemetryRecords field's value. -func (s *PutTelemetryRecordsInput) SetTelemetryRecords(v []TelemetryRecord) *PutTelemetryRecordsInput { - s.TelemetryRecords = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTelemetryRecordsResult type PutTelemetryRecordsOutput struct { _ struct{} `type:"structure"` @@ -1633,12 +1249,6 @@ func (s *PutTraceSegmentsInput) Validate() error { return nil } -// SetTraceSegmentDocuments sets the TraceSegmentDocuments field's value. -func (s *PutTraceSegmentsInput) SetTraceSegmentDocuments(v []string) *PutTraceSegmentsInput { - s.TraceSegmentDocuments = v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTraceSegmentsResult type PutTraceSegmentsOutput struct { _ struct{} `type:"structure"` @@ -1664,12 +1274,6 @@ func (s PutTraceSegmentsOutput) SDKResponseMetadata() aws.Response { return s.responseMetadata } -// SetUnprocessedTraceSegments sets the UnprocessedTraceSegments field's value. -func (s *PutTraceSegmentsOutput) SetUnprocessedTraceSegments(v []UnprocessedTraceSegment) *PutTraceSegmentsOutput { - s.UnprocessedTraceSegments = v - return s -} - // A segment from a trace that has been ingested by the X-Ray service. The segment // can be compiled from documents uploaded with PutTraceSegments, or an inferred // segment for a downstream service, generated from a subsegment sent by the @@ -1695,18 +1299,6 @@ func (s Segment) GoString() string { return s.String() } -// SetDocument sets the Document field's value. -func (s *Segment) SetDocument(v string) *Segment { - s.Document = &v - return s -} - -// SetId sets the Id field's value. -func (s *Segment) SetId(v string) *Segment { - s.Id = &v - return s -} - // Information about an application that processed requests, users that made // requests, or downstream services, resources and applications that an application // used. @@ -1776,84 +1368,6 @@ func (s Service) GoString() string { return s.String() } -// SetAccountId sets the AccountId field's value. -func (s *Service) SetAccountId(v string) *Service { - s.AccountId = &v - return s -} - -// SetDurationHistogram sets the DurationHistogram field's value. -func (s *Service) SetDurationHistogram(v []HistogramEntry) *Service { - s.DurationHistogram = v - return s -} - -// SetEdges sets the Edges field's value. -func (s *Service) SetEdges(v []Edge) *Service { - s.Edges = v - return s -} - -// SetEndTime sets the EndTime field's value. -func (s *Service) SetEndTime(v time.Time) *Service { - s.EndTime = &v - return s -} - -// SetName sets the Name field's value. -func (s *Service) SetName(v string) *Service { - s.Name = &v - return s -} - -// SetNames sets the Names field's value. -func (s *Service) SetNames(v []string) *Service { - s.Names = v - return s -} - -// SetReferenceId sets the ReferenceId field's value. -func (s *Service) SetReferenceId(v int64) *Service { - s.ReferenceId = &v - return s -} - -// SetResponseTimeHistogram sets the ResponseTimeHistogram field's value. -func (s *Service) SetResponseTimeHistogram(v []HistogramEntry) *Service { - s.ResponseTimeHistogram = v - return s -} - -// SetRoot sets the Root field's value. -func (s *Service) SetRoot(v bool) *Service { - s.Root = &v - return s -} - -// SetStartTime sets the StartTime field's value. -func (s *Service) SetStartTime(v time.Time) *Service { - s.StartTime = &v - return s -} - -// SetState sets the State field's value. -func (s *Service) SetState(v string) *Service { - s.State = &v - return s -} - -// SetSummaryStatistics sets the SummaryStatistics field's value. -func (s *Service) SetSummaryStatistics(v *ServiceStatistics) *Service { - s.SummaryStatistics = v - return s -} - -// SetType sets the Type field's value. -func (s *Service) SetType(v string) *Service { - s.Type = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ServiceId type ServiceId struct { _ struct{} `type:"structure"` @@ -1877,30 +1391,6 @@ func (s ServiceId) GoString() string { return s.String() } -// SetAccountId sets the AccountId field's value. -func (s *ServiceId) SetAccountId(v string) *ServiceId { - s.AccountId = &v - return s -} - -// SetName sets the Name field's value. -func (s *ServiceId) SetName(v string) *ServiceId { - s.Name = &v - return s -} - -// SetNames sets the Names field's value. -func (s *ServiceId) SetNames(v []string) *ServiceId { - s.Names = v - return s -} - -// SetType sets the Type field's value. -func (s *ServiceId) SetType(v string) *ServiceId { - s.Type = &v - return s -} - // Response statistics for a service. // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ServiceStatistics type ServiceStatistics struct { @@ -1932,36 +1422,6 @@ func (s ServiceStatistics) GoString() string { return s.String() } -// SetErrorStatistics sets the ErrorStatistics field's value. -func (s *ServiceStatistics) SetErrorStatistics(v *ErrorStatistics) *ServiceStatistics { - s.ErrorStatistics = v - return s -} - -// SetFaultStatistics sets the FaultStatistics field's value. -func (s *ServiceStatistics) SetFaultStatistics(v *FaultStatistics) *ServiceStatistics { - s.FaultStatistics = v - return s -} - -// SetOkCount sets the OkCount field's value. -func (s *ServiceStatistics) SetOkCount(v int64) *ServiceStatistics { - s.OkCount = &v - return s -} - -// SetTotalCount sets the TotalCount field's value. -func (s *ServiceStatistics) SetTotalCount(v int64) *ServiceStatistics { - s.TotalCount = &v - return s -} - -// SetTotalResponseTime sets the TotalResponseTime field's value. -func (s *ServiceStatistics) SetTotalResponseTime(v float64) *ServiceStatistics { - s.TotalResponseTime = &v - return s -} - // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TelemetryRecord type TelemetryRecord struct { _ struct{} `type:"structure"` @@ -2004,42 +1464,6 @@ func (s *TelemetryRecord) Validate() error { return nil } -// SetBackendConnectionErrors sets the BackendConnectionErrors field's value. -func (s *TelemetryRecord) SetBackendConnectionErrors(v *BackendConnectionErrors) *TelemetryRecord { - s.BackendConnectionErrors = v - return s -} - -// SetSegmentsReceivedCount sets the SegmentsReceivedCount field's value. -func (s *TelemetryRecord) SetSegmentsReceivedCount(v int64) *TelemetryRecord { - s.SegmentsReceivedCount = &v - return s -} - -// SetSegmentsRejectedCount sets the SegmentsRejectedCount field's value. -func (s *TelemetryRecord) SetSegmentsRejectedCount(v int64) *TelemetryRecord { - s.SegmentsRejectedCount = &v - return s -} - -// SetSegmentsSentCount sets the SegmentsSentCount field's value. -func (s *TelemetryRecord) SetSegmentsSentCount(v int64) *TelemetryRecord { - s.SegmentsSentCount = &v - return s -} - -// SetSegmentsSpilloverCount sets the SegmentsSpilloverCount field's value. -func (s *TelemetryRecord) SetSegmentsSpilloverCount(v int64) *TelemetryRecord { - s.SegmentsSpilloverCount = &v - return s -} - -// SetTimestamp sets the Timestamp field's value. -func (s *TelemetryRecord) SetTimestamp(v time.Time) *TelemetryRecord { - s.Timestamp = &v - return s -} - // A collection of segment documents with matching trace IDs. // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Trace type Trace struct { @@ -2067,24 +1491,6 @@ func (s Trace) GoString() string { return s.String() } -// SetDuration sets the Duration field's value. -func (s *Trace) SetDuration(v float64) *Trace { - s.Duration = &v - return s -} - -// SetId sets the Id field's value. -func (s *Trace) SetId(v string) *Trace { - s.Id = &v - return s -} - -// SetSegments sets the Segments field's value. -func (s *Trace) SetSegments(v []Segment) *Trace { - s.Segments = v - return s -} - // Metadata generated from the segment documents in a trace. // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TraceSummary type TraceSummary struct { @@ -2139,72 +1545,6 @@ func (s TraceSummary) GoString() string { return s.String() } -// SetAnnotations sets the Annotations field's value. -func (s *TraceSummary) SetAnnotations(v map[string][]ValueWithServiceIds) *TraceSummary { - s.Annotations = v - return s -} - -// SetDuration sets the Duration field's value. -func (s *TraceSummary) SetDuration(v float64) *TraceSummary { - s.Duration = &v - return s -} - -// SetHasError sets the HasError field's value. -func (s *TraceSummary) SetHasError(v bool) *TraceSummary { - s.HasError = &v - return s -} - -// SetHasFault sets the HasFault field's value. -func (s *TraceSummary) SetHasFault(v bool) *TraceSummary { - s.HasFault = &v - return s -} - -// SetHasThrottle sets the HasThrottle field's value. -func (s *TraceSummary) SetHasThrottle(v bool) *TraceSummary { - s.HasThrottle = &v - return s -} - -// SetHttp sets the Http field's value. -func (s *TraceSummary) SetHttp(v *Http) *TraceSummary { - s.Http = v - return s -} - -// SetId sets the Id field's value. -func (s *TraceSummary) SetId(v string) *TraceSummary { - s.Id = &v - return s -} - -// SetIsPartial sets the IsPartial field's value. -func (s *TraceSummary) SetIsPartial(v bool) *TraceSummary { - s.IsPartial = &v - return s -} - -// SetResponseTime sets the ResponseTime field's value. -func (s *TraceSummary) SetResponseTime(v float64) *TraceSummary { - s.ResponseTime = &v - return s -} - -// SetServiceIds sets the ServiceIds field's value. -func (s *TraceSummary) SetServiceIds(v []ServiceId) *TraceSummary { - s.ServiceIds = v - return s -} - -// SetUsers sets the Users field's value. -func (s *TraceSummary) SetUsers(v []TraceUser) *TraceSummary { - s.Users = v - return s -} - // Information about a user recorded in segment documents. // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TraceUser type TraceUser struct { @@ -2227,18 +1567,6 @@ func (s TraceUser) GoString() string { return s.String() } -// SetServiceIds sets the ServiceIds field's value. -func (s *TraceUser) SetServiceIds(v []ServiceId) *TraceUser { - s.ServiceIds = v - return s -} - -// SetUserName sets the UserName field's value. -func (s *TraceUser) SetUserName(v string) *TraceUser { - s.UserName = &v - return s -} - // Information about a segment that failed processing. // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UnprocessedTraceSegment type UnprocessedTraceSegment struct { @@ -2264,24 +1592,6 @@ func (s UnprocessedTraceSegment) GoString() string { return s.String() } -// SetErrorCode sets the ErrorCode field's value. -func (s *UnprocessedTraceSegment) SetErrorCode(v string) *UnprocessedTraceSegment { - s.ErrorCode = &v - return s -} - -// SetId sets the Id field's value. -func (s *UnprocessedTraceSegment) SetId(v string) *UnprocessedTraceSegment { - s.Id = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *UnprocessedTraceSegment) SetMessage(v string) *UnprocessedTraceSegment { - s.Message = &v - return s -} - // Information about a segment annotation. // Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ValueWithServiceIds type ValueWithServiceIds struct { @@ -2303,15 +1613,3 @@ func (s ValueWithServiceIds) String() string { func (s ValueWithServiceIds) GoString() string { return s.String() } - -// SetAnnotationValue sets the AnnotationValue field's value. -func (s *ValueWithServiceIds) SetAnnotationValue(v *AnnotationValue) *ValueWithServiceIds { - s.AnnotationValue = v - return s -} - -// SetServiceIds sets the ServiceIds field's value. -func (s *ValueWithServiceIds) SetServiceIds(v []ServiceId) *ValueWithServiceIds { - s.ServiceIds = v - return s -}