1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - |
|
3 - | /// <p>Represents a condition to be compared with an attribute value. This condition can be used with <code>DeleteItem</code>, <code>PutItem</code>, or <code>UpdateItem</code> operations; if the comparison evaluates to true, the operation succeeds; if not, the operation fails. You can use <code>ExpectedAttributeValue</code> in one of two different ways:</p>
|
2 + | /* StructureGenerator.kt:197 */
|
3 + | /// /* StructureGenerator.kt:197 */<p>Represents a condition to be compared with an attribute value. This condition can be used with <code>DeleteItem</code>, <code>PutItem</code>, or <code>UpdateItem</code> operations; if the comparison evaluates to true, the operation succeeds; if not, the operation fails. You can use <code>ExpectedAttributeValue</code> in one of two different ways:</p>
|
4 4 | /// <ul>
|
5 5 | /// <li>
|
6 6 | /// <p>Use <code>AttributeValueList</code> to specify one or more values to compare against an attribute. Use <code>ComparisonOperator</code> to specify how you want to perform the comparison. If the comparison evaluates to true, then the conditional operation succeeds.</p></li>
|
7 7 | /// <li>
|
8 8 | /// <p>Use <code>Value</code> to specify a value that DynamoDB will compare against an attribute. If the values match, then <code>ExpectedAttributeValue</code> evaluates to true and the conditional operation succeeds. Optionally, you can also set <code>Exists</code> to false, indicating that you <i>do not</i> expect to find the attribute value in the table. In this case, the conditional operation succeeds only if the comparison evaluates to false.</p></li>
|
9 9 | /// </ul>
|
10 10 | /// <p><code>Value</code> and <code>Exists</code> are incompatible with <code>AttributeValueList</code> and <code>ComparisonOperator</code>. Note that if you use both sets of parameters at once, DynamoDB will return a <code>ValidationException</code> exception.</p>
|
11 + | /* RustType.kt:516 */
|
11 12 | #[non_exhaustive]
|
13 + | /* RustType.kt:516 */
|
12 14 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
|
13 - | pub struct ExpectedAttributeValue {
|
14 - | /// <p>Represents the data for the expected attribute.</p>
|
15 + | pub /* StructureGenerator.kt:201 */ struct ExpectedAttributeValue {
|
16 + | /// /* StructureGenerator.kt:231 */<p>Represents the data for the expected attribute.</p>
|
15 17 | /// <p>Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.</p>
|
16 18 | /// <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes">Data Types</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
|
17 19 | pub value: ::std::option::Option<crate::types::AttributeValue>,
|
18 - | /// <p>Causes DynamoDB to evaluate the value before attempting a conditional operation:</p>
|
20 + | /// /* StructureGenerator.kt:231 */<p>Causes DynamoDB to evaluate the value before attempting a conditional operation:</p>
|
19 21 | /// <ul>
|
20 22 | /// <li>
|
21 23 | /// <p>If <code>Exists</code> is <code>true</code>, DynamoDB will check to see if that attribute value already exists in the table. If it is found, then the operation succeeds. If it is not found, the operation fails with a <code>ConditionCheckFailedException</code>.</p></li>
|
22 24 | /// <li>
|
23 25 | /// <p>If <code>Exists</code> is <code>false</code>, DynamoDB assumes that the attribute value does not exist in the table. If in fact the value does not exist, then the assumption is valid and the operation succeeds. If the value is found, despite the assumption that it does not exist, the operation fails with a <code>ConditionCheckFailedException</code>.</p></li>
|
24 26 | /// </ul>
|
25 27 | /// <p>The default setting for <code>Exists</code> is <code>true</code>. If you supply a <code>Value</code> all by itself, DynamoDB assumes the attribute exists: You don't have to set <code>Exists</code> to <code>true</code>, because it is implied.</p>
|
26 28 | /// <p>DynamoDB returns a <code>ValidationException</code> if:</p>
|
27 29 | /// <ul>
|
28 30 | /// <li>
|
29 31 | /// <p><code>Exists</code> is <code>true</code> but there is no <code>Value</code> to check. (You expect a value to exist, but don't specify what that value is.)</p></li>
|
30 32 | /// <li>
|
31 33 | /// <p><code>Exists</code> is <code>false</code> but you also provide a <code>Value</code>. (You cannot expect an attribute to have a value, while also expecting it not to exist.)</p></li>
|
32 34 | /// </ul>
|
33 35 | pub exists: ::std::option::Option<bool>,
|
34 - | /// <p>A comparator for evaluating attributes in the <code>AttributeValueList</code>. For example, equals, greater than, less than, etc.</p>
|
36 + | /// /* StructureGenerator.kt:231 */<p>A comparator for evaluating attributes in the <code>AttributeValueList</code>. For example, equals, greater than, less than, etc.</p>
|
35 37 | /// <p>The following comparison operators are available:</p>
|
36 38 | /// <p><code>EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | BEGINS_WITH | IN | BETWEEN</code></p>
|
37 39 | /// <p>The following are descriptions of each comparison operator.</p>
|
38 40 | /// <ul>
|
39 41 | /// <li>
|
40 42 | /// <p><code>EQ</code> : Equal. <code>EQ</code> is supported for all data types, including lists and maps.</p>
|
41 43 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, Binary, String Set, Number Set, or Binary Set. If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not equal <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
42 44 | /// <p></p></li>
|
43 45 | /// <li>
|
44 46 | /// <p><code>NE</code> : Not equal. <code>NE</code> is supported for all data types, including lists and maps.</p>
|
45 47 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> of type String, Number, Binary, String Set, Number Set, or Binary Set. If an item contains an <code>AttributeValue</code> of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not equal <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
46 48 | /// <p></p></li>
|
47 49 | /// <li>
|
48 50 | /// <p><code>LE</code> : Less than or equal.</p>
|
49 51 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
50 52 | /// <p></p></li>
|
51 53 | /// <li>
|
52 54 | /// <p><code>LT</code> : Less than.</p>
|
53 55 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> of type String, Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
54 56 | /// <p></p></li>
|
55 57 | /// <li>
|
56 58 | /// <p><code>GE</code> : Greater than or equal.</p>
|
57 59 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
58 60 | /// <p></p></li>
|
59 61 | /// <li>
|
60 62 | /// <p><code>GT</code> : Greater than.</p>
|
61 63 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
62 64 | /// <p></p></li>
|
63 65 | /// <li>
|
64 66 | /// <p><code>NOT_NULL</code> : The attribute exists. <code>NOT_NULL</code> is supported for all data types, including lists and maps.</p><note>
|
65 67 | /// <p>This operator tests for the existence of an attribute, not its data type. If the data type of attribute "<code>a</code>" is null, and you evaluate it using <code>NOT_NULL</code>, the result is a Boolean <code>true</code>. This result is because the attribute "<code>a</code>" exists; its data type is not relevant to the <code>NOT_NULL</code> comparison operator.</p>
|
66 68 | /// </note></li>
|
67 69 | /// <li>
|
68 70 | /// <p><code>NULL</code> : The attribute does not exist. <code>NULL</code> is supported for all data types, including lists and maps.</p><note>
|
69 71 | /// <p>This operator tests for the nonexistence of an attribute, not its data type. If the data type of attribute "<code>a</code>" is null, and you evaluate it using <code>NULL</code>, the result is a Boolean <code>false</code>. This is because the attribute "<code>a</code>" exists; its data type is not relevant to the <code>NULL</code> comparison operator.</p>
|
70 72 | /// </note></li>
|
71 73 | /// <li>
|
72 74 | /// <p><code>CONTAINS</code> : Checks for a subsequence, or value in a set.</p>
|
73 75 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If the target attribute of the comparison is of type String, then the operator checks for a substring match. If the target attribute of the comparison is of type Binary, then the operator looks for a subsequence of the target that matches the input. If the target attribute of the comparison is a set ("<code>SS</code>", "<code>NS</code>", or "<code>BS</code>"), then the operator evaluates to true if it finds an exact match with any member of the set.</p>
|
74 76 | /// <p>CONTAINS is supported for lists: When evaluating "<code>a CONTAINS b</code>", "<code>a</code>" can be a list; however, "<code>b</code>" cannot be a set, a map, or a list.</p></li>
|
75 77 | /// <li>
|
76 78 | /// <p><code>NOT_CONTAINS</code> : Checks for absence of a subsequence, or absence of a value in a set.</p>
|
77 79 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If the target attribute of the comparison is a String, then the operator checks for the absence of a substring match. If the target attribute of the comparison is Binary, then the operator checks for the absence of a subsequence of the target that matches the input. If the target attribute of the comparison is a set ("<code>SS</code>", "<code>NS</code>", or "<code>BS</code>"), then the operator evaluates to true if it <i>does not</i> find an exact match with any member of the set.</p>
|
78 80 | /// <p>NOT_CONTAINS is supported for lists: When evaluating "<code>a NOT CONTAINS b</code>", "<code>a</code>" can be a list; however, "<code>b</code>" cannot be a set, a map, or a list.</p></li>
|
79 81 | /// <li>
|
80 82 | /// <p><code>BEGINS_WITH</code> : Checks for a prefix.</p>
|
81 83 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> of type String or Binary (not a Number or a set type). The target attribute of the comparison must be of type String or Binary (not a Number or a set type).</p>
|
82 84 | /// <p></p></li>
|
83 85 | /// <li>
|
84 86 | /// <p><code>IN</code> : Checks for matching elements in a list.</p>
|
85 87 | /// <p><code>AttributeValueList</code> can contain one or more <code>AttributeValue</code> elements of type String, Number, or Binary. These attributes are compared against an existing attribute of an item. If any elements of the input are equal to the item attribute, the expression evaluates to true.</p></li>
|
86 88 | /// <li>
|
87 89 | /// <p><code>BETWEEN</code> : Greater than or equal to the first value, and less than or equal to the second value.</p>
|
88 90 | /// <p><code>AttributeValueList</code> must contain two <code>AttributeValue</code> elements of the same type, either String, Number, or Binary (not a set type). A target attribute matches if the target value is greater than, or equal to, the first element and less than, or equal to, the second element. If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not compare to <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code></p></li>
|
89 91 | /// </ul>
|
90 92 | pub comparison_operator: ::std::option::Option<crate::types::ComparisonOperator>,
|
91 - | /// <p>One or more values to evaluate against the supplied attribute. The number of values in the list depends on the <code>ComparisonOperator</code> being used.</p>
|
93 + | /// /* StructureGenerator.kt:231 */<p>One or more values to evaluate against the supplied attribute. The number of values in the list depends on the <code>ComparisonOperator</code> being used.</p>
|
92 94 | /// <p>For type Number, value comparisons are numeric.</p>
|
93 95 | /// <p>String value comparisons for greater than, equals, or less than are based on ASCII character code values. For example, <code>a</code> is greater than <code>A</code>, and <code>a</code> is greater than <code>B</code>. For a list of code values, see <a href="http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters">http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters</a>.</p>
|
94 96 | /// <p>For Binary, DynamoDB treats each byte of the binary data as unsigned when it compares binary values.</p>
|
95 97 | /// <p>For information on specifying data types in JSON, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataFormat.html">JSON Data Format</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
|
96 98 | pub attribute_value_list: ::std::option::Option<::std::vec::Vec<crate::types::AttributeValue>>,
|
99 + | /* StructureGenerator.kt:201 */
|
97 100 | }
|
101 + | /* StructureGenerator.kt:135 */
|
98 102 | impl ExpectedAttributeValue {
|
99 - | /// <p>Represents the data for the expected attribute.</p>
|
103 + | /// /* StructureGenerator.kt:231 */<p>Represents the data for the expected attribute.</p>
|
100 104 | /// <p>Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.</p>
|
101 105 | /// <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes">Data Types</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
|
106 + | /* StructureGenerator.kt:166 */
|
102 107 | pub fn value(&self) -> ::std::option::Option<&crate::types::AttributeValue> {
|
108 + | /* StructureGenerator.kt:170 */
|
103 109 | self.value.as_ref()
|
110 + | /* StructureGenerator.kt:166 */
|
104 111 | }
|
105 - | /// <p>Causes DynamoDB to evaluate the value before attempting a conditional operation:</p>
|
112 + | /// /* StructureGenerator.kt:231 */<p>Causes DynamoDB to evaluate the value before attempting a conditional operation:</p>
|
106 113 | /// <ul>
|
107 114 | /// <li>
|
108 115 | /// <p>If <code>Exists</code> is <code>true</code>, DynamoDB will check to see if that attribute value already exists in the table. If it is found, then the operation succeeds. If it is not found, the operation fails with a <code>ConditionCheckFailedException</code>.</p></li>
|
109 116 | /// <li>
|
110 117 | /// <p>If <code>Exists</code> is <code>false</code>, DynamoDB assumes that the attribute value does not exist in the table. If in fact the value does not exist, then the assumption is valid and the operation succeeds. If the value is found, despite the assumption that it does not exist, the operation fails with a <code>ConditionCheckFailedException</code>.</p></li>
|
111 118 | /// </ul>
|
112 119 | /// <p>The default setting for <code>Exists</code> is <code>true</code>. If you supply a <code>Value</code> all by itself, DynamoDB assumes the attribute exists: You don't have to set <code>Exists</code> to <code>true</code>, because it is implied.</p>
|
113 120 | /// <p>DynamoDB returns a <code>ValidationException</code> if:</p>
|
114 121 | /// <ul>
|
115 122 | /// <li>
|
116 123 | /// <p><code>Exists</code> is <code>true</code> but there is no <code>Value</code> to check. (You expect a value to exist, but don't specify what that value is.)</p></li>
|
117 124 | /// <li>
|
118 125 | /// <p><code>Exists</code> is <code>false</code> but you also provide a <code>Value</code>. (You cannot expect an attribute to have a value, while also expecting it not to exist.)</p></li>
|
119 126 | /// </ul>
|
127 + | /* StructureGenerator.kt:166 */
|
120 128 | pub fn exists(&self) -> ::std::option::Option<bool> {
|
129 + | /* StructureGenerator.kt:168 */
|
121 130 | self.exists
|
131 + | /* StructureGenerator.kt:166 */
|
122 132 | }
|
123 - | /// <p>A comparator for evaluating attributes in the <code>AttributeValueList</code>. For example, equals, greater than, less than, etc.</p>
|
133 + | /// /* StructureGenerator.kt:231 */<p>A comparator for evaluating attributes in the <code>AttributeValueList</code>. For example, equals, greater than, less than, etc.</p>
|
124 134 | /// <p>The following comparison operators are available:</p>
|
125 135 | /// <p><code>EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | BEGINS_WITH | IN | BETWEEN</code></p>
|
126 136 | /// <p>The following are descriptions of each comparison operator.</p>
|
127 137 | /// <ul>
|
128 138 | /// <li>
|
129 139 | /// <p><code>EQ</code> : Equal. <code>EQ</code> is supported for all data types, including lists and maps.</p>
|
130 140 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, Binary, String Set, Number Set, or Binary Set. If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not equal <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
131 141 | /// <p></p></li>
|
132 142 | /// <li>
|
133 143 | /// <p><code>NE</code> : Not equal. <code>NE</code> is supported for all data types, including lists and maps.</p>
|
134 144 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> of type String, Number, Binary, String Set, Number Set, or Binary Set. If an item contains an <code>AttributeValue</code> of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not equal <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
135 145 | /// <p></p></li>
|
136 146 | /// <li>
|
137 147 | /// <p><code>LE</code> : Less than or equal.</p>
|
138 148 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
139 149 | /// <p></p></li>
|
140 150 | /// <li>
|
141 151 | /// <p><code>LT</code> : Less than.</p>
|
142 152 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> of type String, Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
143 153 | /// <p></p></li>
|
144 154 | /// <li>
|
145 155 | /// <p><code>GE</code> : Greater than or equal.</p>
|
146 156 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
147 157 | /// <p></p></li>
|
148 158 | /// <li>
|
149 159 | /// <p><code>GT</code> : Greater than.</p>
|
150 160 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
151 161 | /// <p></p></li>
|
152 162 | /// <li>
|
153 163 | /// <p><code>NOT_NULL</code> : The attribute exists. <code>NOT_NULL</code> is supported for all data types, including lists and maps.</p><note>
|
154 164 | /// <p>This operator tests for the existence of an attribute, not its data type. If the data type of attribute "<code>a</code>" is null, and you evaluate it using <code>NOT_NULL</code>, the result is a Boolean <code>true</code>. This result is because the attribute "<code>a</code>" exists; its data type is not relevant to the <code>NOT_NULL</code> comparison operator.</p>
|
155 165 | /// </note></li>
|
156 166 | /// <li>
|
157 167 | /// <p><code>NULL</code> : The attribute does not exist. <code>NULL</code> is supported for all data types, including lists and maps.</p><note>
|
158 168 | /// <p>This operator tests for the nonexistence of an attribute, not its data type. If the data type of attribute "<code>a</code>" is null, and you evaluate it using <code>NULL</code>, the result is a Boolean <code>false</code>. This is because the attribute "<code>a</code>" exists; its data type is not relevant to the <code>NULL</code> comparison operator.</p>
|
159 169 | /// </note></li>
|
160 170 | /// <li>
|
161 171 | /// <p><code>CONTAINS</code> : Checks for a subsequence, or value in a set.</p>
|
162 172 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If the target attribute of the comparison is of type String, then the operator checks for a substring match. If the target attribute of the comparison is of type Binary, then the operator looks for a subsequence of the target that matches the input. If the target attribute of the comparison is a set ("<code>SS</code>", "<code>NS</code>", or "<code>BS</code>"), then the operator evaluates to true if it finds an exact match with any member of the set.</p>
|
163 173 | /// <p>CONTAINS is supported for lists: When evaluating "<code>a CONTAINS b</code>", "<code>a</code>" can be a list; however, "<code>b</code>" cannot be a set, a map, or a list.</p></li>
|
164 174 | /// <li>
|
165 175 | /// <p><code>NOT_CONTAINS</code> : Checks for absence of a subsequence, or absence of a value in a set.</p>
|
166 176 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If the target attribute of the comparison is a String, then the operator checks for the absence of a substring match. If the target attribute of the comparison is Binary, then the operator checks for the absence of a subsequence of the target that matches the input. If the target attribute of the comparison is a set ("<code>SS</code>", "<code>NS</code>", or "<code>BS</code>"), then the operator evaluates to true if it <i>does not</i> find an exact match with any member of the set.</p>
|
167 177 | /// <p>NOT_CONTAINS is supported for lists: When evaluating "<code>a NOT CONTAINS b</code>", "<code>a</code>" can be a list; however, "<code>b</code>" cannot be a set, a map, or a list.</p></li>
|
168 178 | /// <li>
|
169 179 | /// <p><code>BEGINS_WITH</code> : Checks for a prefix.</p>
|
170 180 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> of type String or Binary (not a Number or a set type). The target attribute of the comparison must be of type String or Binary (not a Number or a set type).</p>
|
171 181 | /// <p></p></li>
|
172 182 | /// <li>
|
173 183 | /// <p><code>IN</code> : Checks for matching elements in a list.</p>
|
174 184 | /// <p><code>AttributeValueList</code> can contain one or more <code>AttributeValue</code> elements of type String, Number, or Binary. These attributes are compared against an existing attribute of an item. If any elements of the input are equal to the item attribute, the expression evaluates to true.</p></li>
|
175 185 | /// <li>
|
176 186 | /// <p><code>BETWEEN</code> : Greater than or equal to the first value, and less than or equal to the second value.</p>
|
177 187 | /// <p><code>AttributeValueList</code> must contain two <code>AttributeValue</code> elements of the same type, either String, Number, or Binary (not a set type). A target attribute matches if the target value is greater than, or equal to, the first element and less than, or equal to, the second element. If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not compare to <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code></p></li>
|
178 188 | /// </ul>
|
189 + | /* StructureGenerator.kt:166 */
|
179 190 | pub fn comparison_operator(&self) -> ::std::option::Option<&crate::types::ComparisonOperator> {
|
191 + | /* StructureGenerator.kt:170 */
|
180 192 | self.comparison_operator.as_ref()
|
193 + | /* StructureGenerator.kt:166 */
|
181 194 | }
|
182 - | /// <p>One or more values to evaluate against the supplied attribute. The number of values in the list depends on the <code>ComparisonOperator</code> being used.</p>
|
195 + | /// /* StructureGenerator.kt:231 */<p>One or more values to evaluate against the supplied attribute. The number of values in the list depends on the <code>ComparisonOperator</code> being used.</p>
|
183 196 | /// <p>For type Number, value comparisons are numeric.</p>
|
184 197 | /// <p>String value comparisons for greater than, equals, or less than are based on ASCII character code values. For example, <code>a</code> is greater than <code>A</code>, and <code>a</code> is greater than <code>B</code>. For a list of code values, see <a href="http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters">http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters</a>.</p>
|
185 198 | /// <p>For Binary, DynamoDB treats each byte of the binary data as unsigned when it compares binary values.</p>
|
186 199 | /// <p>For information on specifying data types in JSON, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataFormat.html">JSON Data Format</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
|
187 - | ///
|
188 - | /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.attribute_value_list.is_none()`.
|
200 + | /// /* StructureGenerator.kt:162 */
|
201 + | /// /* StructureGenerator.kt:163 */If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.attribute_value_list.is_none()`.
|
202 + | /* StructureGenerator.kt:166 */
|
189 203 | pub fn attribute_value_list(&self) -> &[crate::types::AttributeValue] {
|
190 - | self.attribute_value_list.as_deref().unwrap_or_default()
|
204 + | /* StructureGenerator.kt:169 */
|
205 + | self.attribute_value_list
|
206 + | .as_deref()
|
207 + | /* StructureGenerator.kt:175 */
|
208 + | .unwrap_or_default()
|
209 + | /* StructureGenerator.kt:166 */
|
191 210 | }
|
211 + | /* StructureGenerator.kt:135 */
|
192 212 | }
|
213 + | /* ClientCodegenVisitor.kt:237 */
|
193 214 | impl ExpectedAttributeValue {
|
194 - | /// Creates a new builder-style object to manufacture [`ExpectedAttributeValue`](crate::types::ExpectedAttributeValue).
|
215 + | /// /* BuilderGenerator.kt:173 */Creates a new builder-style object to manufacture [`ExpectedAttributeValue`](crate::types::ExpectedAttributeValue).
|
216 + | /* BuilderGenerator.kt:175 */
|
195 217 | pub fn builder() -> crate::types::builders::ExpectedAttributeValueBuilder {
|
218 + | /* BuilderGenerator.kt:176 */
|
196 219 | crate::types::builders::ExpectedAttributeValueBuilder::default()
|
220 + | /* BuilderGenerator.kt:175 */
|
197 221 | }
|
222 + | /* ClientCodegenVisitor.kt:237 */
|
198 223 | }
|
199 224 |
|
200 - | /// A builder for [`ExpectedAttributeValue`](crate::types::ExpectedAttributeValue).
|
225 + | /// /* BuilderGenerator.kt:342 */A builder for [`ExpectedAttributeValue`](crate::types::ExpectedAttributeValue).
|
226 + | /* RustType.kt:516 */
|
201 227 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
|
228 + | /* RustType.kt:516 */
|
202 229 | #[non_exhaustive]
|
230 + | /* BuilderGenerator.kt:345 */
|
203 231 | pub struct ExpectedAttributeValueBuilder {
|
204 - | pub(crate) value: ::std::option::Option<crate::types::AttributeValue>,
|
205 - | pub(crate) exists: ::std::option::Option<bool>,
|
206 - | pub(crate) comparison_operator: ::std::option::Option<crate::types::ComparisonOperator>,
|
232 + | /* BuilderGenerator.kt:275 */ pub(crate) value: ::std::option::Option<crate::types::AttributeValue>,
|
233 + | /* BuilderGenerator.kt:275 */ pub(crate) exists: ::std::option::Option<bool>,
|
234 + | /* BuilderGenerator.kt:275 */ pub(crate) comparison_operator: ::std::option::Option<crate::types::ComparisonOperator>,
|
235 + | /* BuilderGenerator.kt:275 */
|
207 236 | pub(crate) attribute_value_list: ::std::option::Option<::std::vec::Vec<crate::types::AttributeValue>>,
|
237 + | /* BuilderGenerator.kt:345 */
|
208 238 | }
|
239 + | /* BuilderGenerator.kt:355 */
|
209 240 | impl ExpectedAttributeValueBuilder {
|
210 - | /// <p>Represents the data for the expected attribute.</p>
|
241 + | /// /* BuilderGenerator.kt:286 */<p>Represents the data for the expected attribute.</p>
|
211 242 | /// <p>Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.</p>
|
212 243 | /// <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes">Data Types</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
|
244 + | /* BuilderGenerator.kt:291 */
|
213 245 | pub fn value(mut self, input: crate::types::AttributeValue) -> Self {
|
246 + | /* BuilderGenerator.kt:292 */
|
214 247 | self.value = ::std::option::Option::Some(input);
|
248 + | /* BuilderGenerator.kt:293 */
|
215 249 | self
|
250 + | /* BuilderGenerator.kt:291 */
|
216 251 | }
|
217 - | /// <p>Represents the data for the expected attribute.</p>
|
252 + | /// /* BuilderGenerator.kt:312 */<p>Represents the data for the expected attribute.</p>
|
218 253 | /// <p>Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.</p>
|
219 254 | /// <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes">Data Types</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
|
255 + | /* BuilderGenerator.kt:314 */
|
220 256 | pub fn set_value(mut self, input: ::std::option::Option<crate::types::AttributeValue>) -> Self {
|
257 + | /* BuilderGenerator.kt:315 */
|
221 258 | self.value = input;
|
222 259 | self
|
260 + | /* BuilderGenerator.kt:314 */
|
223 261 | }
|
224 - | /// <p>Represents the data for the expected attribute.</p>
|
262 + | /// /* BuilderGenerator.kt:334 */<p>Represents the data for the expected attribute.</p>
|
225 263 | /// <p>Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.</p>
|
226 264 | /// <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes">Data Types</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
|
265 + | /* BuilderGenerator.kt:336 */
|
227 266 | pub fn get_value(&self) -> &::std::option::Option<crate::types::AttributeValue> {
|
267 + | /* BuilderGenerator.kt:337 */
|
228 268 | &self.value
|
269 + | /* BuilderGenerator.kt:336 */
|
229 270 | }
|
230 - | /// <p>Causes DynamoDB to evaluate the value before attempting a conditional operation:</p>
|
271 + | /// /* BuilderGenerator.kt:286 */<p>Causes DynamoDB to evaluate the value before attempting a conditional operation:</p>
|
231 272 | /// <ul>
|
232 273 | /// <li>
|
233 274 | /// <p>If <code>Exists</code> is <code>true</code>, DynamoDB will check to see if that attribute value already exists in the table. If it is found, then the operation succeeds. If it is not found, the operation fails with a <code>ConditionCheckFailedException</code>.</p></li>
|
234 275 | /// <li>
|
235 276 | /// <p>If <code>Exists</code> is <code>false</code>, DynamoDB assumes that the attribute value does not exist in the table. If in fact the value does not exist, then the assumption is valid and the operation succeeds. If the value is found, despite the assumption that it does not exist, the operation fails with a <code>ConditionCheckFailedException</code>.</p></li>
|
236 277 | /// </ul>
|
237 278 | /// <p>The default setting for <code>Exists</code> is <code>true</code>. If you supply a <code>Value</code> all by itself, DynamoDB assumes the attribute exists: You don't have to set <code>Exists</code> to <code>true</code>, because it is implied.</p>
|
238 279 | /// <p>DynamoDB returns a <code>ValidationException</code> if:</p>
|
239 280 | /// <ul>
|
240 281 | /// <li>
|
241 282 | /// <p><code>Exists</code> is <code>true</code> but there is no <code>Value</code> to check. (You expect a value to exist, but don't specify what that value is.)</p></li>
|
242 283 | /// <li>
|
243 284 | /// <p><code>Exists</code> is <code>false</code> but you also provide a <code>Value</code>. (You cannot expect an attribute to have a value, while also expecting it not to exist.)</p></li>
|
244 285 | /// </ul>
|
286 + | /* BuilderGenerator.kt:291 */
|
245 287 | pub fn exists(mut self, input: bool) -> Self {
|
288 + | /* BuilderGenerator.kt:292 */
|
246 289 | self.exists = ::std::option::Option::Some(input);
|
290 + | /* BuilderGenerator.kt:293 */
|
247 291 | self
|
292 + | /* BuilderGenerator.kt:291 */
|
248 293 | }
|
249 - | /// <p>Causes DynamoDB to evaluate the value before attempting a conditional operation:</p>
|
294 + | /// /* BuilderGenerator.kt:312 */<p>Causes DynamoDB to evaluate the value before attempting a conditional operation:</p>
|
250 295 | /// <ul>
|
251 296 | /// <li>
|
252 297 | /// <p>If <code>Exists</code> is <code>true</code>, DynamoDB will check to see if that attribute value already exists in the table. If it is found, then the operation succeeds. If it is not found, the operation fails with a <code>ConditionCheckFailedException</code>.</p></li>
|
253 298 | /// <li>
|
254 299 | /// <p>If <code>Exists</code> is <code>false</code>, DynamoDB assumes that the attribute value does not exist in the table. If in fact the value does not exist, then the assumption is valid and the operation succeeds. If the value is found, despite the assumption that it does not exist, the operation fails with a <code>ConditionCheckFailedException</code>.</p></li>
|
255 300 | /// </ul>
|
256 301 | /// <p>The default setting for <code>Exists</code> is <code>true</code>. If you supply a <code>Value</code> all by itself, DynamoDB assumes the attribute exists: You don't have to set <code>Exists</code> to <code>true</code>, because it is implied.</p>
|
257 302 | /// <p>DynamoDB returns a <code>ValidationException</code> if:</p>
|
258 303 | /// <ul>
|
259 304 | /// <li>
|
260 305 | /// <p><code>Exists</code> is <code>true</code> but there is no <code>Value</code> to check. (You expect a value to exist, but don't specify what that value is.)</p></li>
|
261 306 | /// <li>
|
262 307 | /// <p><code>Exists</code> is <code>false</code> but you also provide a <code>Value</code>. (You cannot expect an attribute to have a value, while also expecting it not to exist.)</p></li>
|
263 308 | /// </ul>
|
309 + | /* BuilderGenerator.kt:314 */
|
264 310 | pub fn set_exists(mut self, input: ::std::option::Option<bool>) -> Self {
|
311 + | /* BuilderGenerator.kt:315 */
|
265 312 | self.exists = input;
|
266 313 | self
|
314 + | /* BuilderGenerator.kt:314 */
|
267 315 | }
|
268 - | /// <p>Causes DynamoDB to evaluate the value before attempting a conditional operation:</p>
|
316 + | /// /* BuilderGenerator.kt:334 */<p>Causes DynamoDB to evaluate the value before attempting a conditional operation:</p>
|
269 317 | /// <ul>
|
270 318 | /// <li>
|
271 319 | /// <p>If <code>Exists</code> is <code>true</code>, DynamoDB will check to see if that attribute value already exists in the table. If it is found, then the operation succeeds. If it is not found, the operation fails with a <code>ConditionCheckFailedException</code>.</p></li>
|
272 320 | /// <li>
|
273 321 | /// <p>If <code>Exists</code> is <code>false</code>, DynamoDB assumes that the attribute value does not exist in the table. If in fact the value does not exist, then the assumption is valid and the operation succeeds. If the value is found, despite the assumption that it does not exist, the operation fails with a <code>ConditionCheckFailedException</code>.</p></li>
|
274 322 | /// </ul>
|
275 323 | /// <p>The default setting for <code>Exists</code> is <code>true</code>. If you supply a <code>Value</code> all by itself, DynamoDB assumes the attribute exists: You don't have to set <code>Exists</code> to <code>true</code>, because it is implied.</p>
|
276 324 | /// <p>DynamoDB returns a <code>ValidationException</code> if:</p>
|
277 325 | /// <ul>
|
278 326 | /// <li>
|
279 327 | /// <p><code>Exists</code> is <code>true</code> but there is no <code>Value</code> to check. (You expect a value to exist, but don't specify what that value is.)</p></li>
|
280 328 | /// <li>
|
281 329 | /// <p><code>Exists</code> is <code>false</code> but you also provide a <code>Value</code>. (You cannot expect an attribute to have a value, while also expecting it not to exist.)</p></li>
|
282 330 | /// </ul>
|
331 + | /* BuilderGenerator.kt:336 */
|
283 332 | pub fn get_exists(&self) -> &::std::option::Option<bool> {
|
333 + | /* BuilderGenerator.kt:337 */
|
284 334 | &self.exists
|
335 + | /* BuilderGenerator.kt:336 */
|
285 336 | }
|
286 - | /// <p>A comparator for evaluating attributes in the <code>AttributeValueList</code>. For example, equals, greater than, less than, etc.</p>
|
337 + | /// /* BuilderGenerator.kt:286 */<p>A comparator for evaluating attributes in the <code>AttributeValueList</code>. For example, equals, greater than, less than, etc.</p>
|
287 338 | /// <p>The following comparison operators are available:</p>
|
288 339 | /// <p><code>EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | BEGINS_WITH | IN | BETWEEN</code></p>
|
289 340 | /// <p>The following are descriptions of each comparison operator.</p>
|
290 341 | /// <ul>
|
291 342 | /// <li>
|
292 343 | /// <p><code>EQ</code> : Equal. <code>EQ</code> is supported for all data types, including lists and maps.</p>
|
293 344 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, Binary, String Set, Number Set, or Binary Set. If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not equal <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
294 345 | /// <p></p></li>
|
295 346 | /// <li>
|
296 347 | /// <p><code>NE</code> : Not equal. <code>NE</code> is supported for all data types, including lists and maps.</p>
|
297 348 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> of type String, Number, Binary, String Set, Number Set, or Binary Set. If an item contains an <code>AttributeValue</code> of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not equal <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
298 349 | /// <p></p></li>
|
299 350 | /// <li>
|
300 351 | /// <p><code>LE</code> : Less than or equal.</p>
|
301 352 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
302 353 | /// <p></p></li>
|
303 354 | /// <li>
|
304 355 | /// <p><code>LT</code> : Less than.</p>
|
305 356 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> of type String, Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
306 357 | /// <p></p></li>
|
307 358 | /// <li>
|
308 359 | /// <p><code>GE</code> : Greater than or equal.</p>
|
309 360 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
310 361 | /// <p></p></li>
|
311 362 | /// <li>
|
312 363 | /// <p><code>GT</code> : Greater than.</p>
|
313 364 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
314 365 | /// <p></p></li>
|
315 366 | /// <li>
|
316 367 | /// <p><code>NOT_NULL</code> : The attribute exists. <code>NOT_NULL</code> is supported for all data types, including lists and maps.</p><note>
|
317 368 | /// <p>This operator tests for the existence of an attribute, not its data type. If the data type of attribute "<code>a</code>" is null, and you evaluate it using <code>NOT_NULL</code>, the result is a Boolean <code>true</code>. This result is because the attribute "<code>a</code>" exists; its data type is not relevant to the <code>NOT_NULL</code> comparison operator.</p>
|
318 369 | /// </note></li>
|
319 370 | /// <li>
|
320 371 | /// <p><code>NULL</code> : The attribute does not exist. <code>NULL</code> is supported for all data types, including lists and maps.</p><note>
|
321 372 | /// <p>This operator tests for the nonexistence of an attribute, not its data type. If the data type of attribute "<code>a</code>" is null, and you evaluate it using <code>NULL</code>, the result is a Boolean <code>false</code>. This is because the attribute "<code>a</code>" exists; its data type is not relevant to the <code>NULL</code> comparison operator.</p>
|
322 373 | /// </note></li>
|
323 374 | /// <li>
|
324 375 | /// <p><code>CONTAINS</code> : Checks for a subsequence, or value in a set.</p>
|
325 376 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If the target attribute of the comparison is of type String, then the operator checks for a substring match. If the target attribute of the comparison is of type Binary, then the operator looks for a subsequence of the target that matches the input. If the target attribute of the comparison is a set ("<code>SS</code>", "<code>NS</code>", or "<code>BS</code>"), then the operator evaluates to true if it finds an exact match with any member of the set.</p>
|
326 377 | /// <p>CONTAINS is supported for lists: When evaluating "<code>a CONTAINS b</code>", "<code>a</code>" can be a list; however, "<code>b</code>" cannot be a set, a map, or a list.</p></li>
|
327 378 | /// <li>
|
328 379 | /// <p><code>NOT_CONTAINS</code> : Checks for absence of a subsequence, or absence of a value in a set.</p>
|
329 380 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If the target attribute of the comparison is a String, then the operator checks for the absence of a substring match. If the target attribute of the comparison is Binary, then the operator checks for the absence of a subsequence of the target that matches the input. If the target attribute of the comparison is a set ("<code>SS</code>", "<code>NS</code>", or "<code>BS</code>"), then the operator evaluates to true if it <i>does not</i> find an exact match with any member of the set.</p>
|
330 381 | /// <p>NOT_CONTAINS is supported for lists: When evaluating "<code>a NOT CONTAINS b</code>", "<code>a</code>" can be a list; however, "<code>b</code>" cannot be a set, a map, or a list.</p></li>
|
331 382 | /// <li>
|
332 383 | /// <p><code>BEGINS_WITH</code> : Checks for a prefix.</p>
|
333 384 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> of type String or Binary (not a Number or a set type). The target attribute of the comparison must be of type String or Binary (not a Number or a set type).</p>
|
334 385 | /// <p></p></li>
|
335 386 | /// <li>
|
336 387 | /// <p><code>IN</code> : Checks for matching elements in a list.</p>
|
337 388 | /// <p><code>AttributeValueList</code> can contain one or more <code>AttributeValue</code> elements of type String, Number, or Binary. These attributes are compared against an existing attribute of an item. If any elements of the input are equal to the item attribute, the expression evaluates to true.</p></li>
|
338 389 | /// <li>
|
339 390 | /// <p><code>BETWEEN</code> : Greater than or equal to the first value, and less than or equal to the second value.</p>
|
340 391 | /// <p><code>AttributeValueList</code> must contain two <code>AttributeValue</code> elements of the same type, either String, Number, or Binary (not a set type). A target attribute matches if the target value is greater than, or equal to, the first element and less than, or equal to, the second element. If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not compare to <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code></p></li>
|
341 392 | /// </ul>
|
393 + | /* BuilderGenerator.kt:291 */
|
342 394 | pub fn comparison_operator(mut self, input: crate::types::ComparisonOperator) -> Self {
|
395 + | /* BuilderGenerator.kt:292 */
|
343 396 | self.comparison_operator = ::std::option::Option::Some(input);
|
397 + | /* BuilderGenerator.kt:293 */
|
344 398 | self
|
399 + | /* BuilderGenerator.kt:291 */
|
345 400 | }
|
346 - | /// <p>A comparator for evaluating attributes in the <code>AttributeValueList</code>. For example, equals, greater than, less than, etc.</p>
|
401 + | /// /* BuilderGenerator.kt:312 */<p>A comparator for evaluating attributes in the <code>AttributeValueList</code>. For example, equals, greater than, less than, etc.</p>
|
347 402 | /// <p>The following comparison operators are available:</p>
|
348 403 | /// <p><code>EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | BEGINS_WITH | IN | BETWEEN</code></p>
|
349 404 | /// <p>The following are descriptions of each comparison operator.</p>
|
350 405 | /// <ul>
|
351 406 | /// <li>
|
352 407 | /// <p><code>EQ</code> : Equal. <code>EQ</code> is supported for all data types, including lists and maps.</p>
|
353 408 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, Binary, String Set, Number Set, or Binary Set. If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not equal <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
354 409 | /// <p></p></li>
|
355 410 | /// <li>
|
356 411 | /// <p><code>NE</code> : Not equal. <code>NE</code> is supported for all data types, including lists and maps.</p>
|
357 412 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> of type String, Number, Binary, String Set, Number Set, or Binary Set. If an item contains an <code>AttributeValue</code> of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not equal <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
358 413 | /// <p></p></li>
|
359 414 | /// <li>
|
360 415 | /// <p><code>LE</code> : Less than or equal.</p>
|
361 416 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
362 417 | /// <p></p></li>
|
363 418 | /// <li>
|
364 419 | /// <p><code>LT</code> : Less than.</p>
|
365 420 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> of type String, Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
366 421 | /// <p></p></li>
|
367 422 | /// <li>
|
368 423 | /// <p><code>GE</code> : Greater than or equal.</p>
|
369 424 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
370 425 | /// <p></p></li>
|
371 426 | /// <li>
|
372 427 | /// <p><code>GT</code> : Greater than.</p>
|
373 428 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
374 429 | /// <p></p></li>
|
375 430 | /// <li>
|
376 431 | /// <p><code>NOT_NULL</code> : The attribute exists. <code>NOT_NULL</code> is supported for all data types, including lists and maps.</p><note>
|
377 432 | /// <p>This operator tests for the existence of an attribute, not its data type. If the data type of attribute "<code>a</code>" is null, and you evaluate it using <code>NOT_NULL</code>, the result is a Boolean <code>true</code>. This result is because the attribute "<code>a</code>" exists; its data type is not relevant to the <code>NOT_NULL</code> comparison operator.</p>
|
378 433 | /// </note></li>
|
379 434 | /// <li>
|
380 435 | /// <p><code>NULL</code> : The attribute does not exist. <code>NULL</code> is supported for all data types, including lists and maps.</p><note>
|
381 436 | /// <p>This operator tests for the nonexistence of an attribute, not its data type. If the data type of attribute "<code>a</code>" is null, and you evaluate it using <code>NULL</code>, the result is a Boolean <code>false</code>. This is because the attribute "<code>a</code>" exists; its data type is not relevant to the <code>NULL</code> comparison operator.</p>
|
382 437 | /// </note></li>
|
383 438 | /// <li>
|
384 439 | /// <p><code>CONTAINS</code> : Checks for a subsequence, or value in a set.</p>
|
385 440 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If the target attribute of the comparison is of type String, then the operator checks for a substring match. If the target attribute of the comparison is of type Binary, then the operator looks for a subsequence of the target that matches the input. If the target attribute of the comparison is a set ("<code>SS</code>", "<code>NS</code>", or "<code>BS</code>"), then the operator evaluates to true if it finds an exact match with any member of the set.</p>
|
386 441 | /// <p>CONTAINS is supported for lists: When evaluating "<code>a CONTAINS b</code>", "<code>a</code>" can be a list; however, "<code>b</code>" cannot be a set, a map, or a list.</p></li>
|
387 442 | /// <li>
|
388 443 | /// <p><code>NOT_CONTAINS</code> : Checks for absence of a subsequence, or absence of a value in a set.</p>
|
389 444 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If the target attribute of the comparison is a String, then the operator checks for the absence of a substring match. If the target attribute of the comparison is Binary, then the operator checks for the absence of a subsequence of the target that matches the input. If the target attribute of the comparison is a set ("<code>SS</code>", "<code>NS</code>", or "<code>BS</code>"), then the operator evaluates to true if it <i>does not</i> find an exact match with any member of the set.</p>
|
390 445 | /// <p>NOT_CONTAINS is supported for lists: When evaluating "<code>a NOT CONTAINS b</code>", "<code>a</code>" can be a list; however, "<code>b</code>" cannot be a set, a map, or a list.</p></li>
|
391 446 | /// <li>
|
392 447 | /// <p><code>BEGINS_WITH</code> : Checks for a prefix.</p>
|
393 448 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> of type String or Binary (not a Number or a set type). The target attribute of the comparison must be of type String or Binary (not a Number or a set type).</p>
|
394 449 | /// <p></p></li>
|
395 450 | /// <li>
|
396 451 | /// <p><code>IN</code> : Checks for matching elements in a list.</p>
|
397 452 | /// <p><code>AttributeValueList</code> can contain one or more <code>AttributeValue</code> elements of type String, Number, or Binary. These attributes are compared against an existing attribute of an item. If any elements of the input are equal to the item attribute, the expression evaluates to true.</p></li>
|
398 453 | /// <li>
|
399 454 | /// <p><code>BETWEEN</code> : Greater than or equal to the first value, and less than or equal to the second value.</p>
|
400 455 | /// <p><code>AttributeValueList</code> must contain two <code>AttributeValue</code> elements of the same type, either String, Number, or Binary (not a set type). A target attribute matches if the target value is greater than, or equal to, the first element and less than, or equal to, the second element. If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not compare to <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code></p></li>
|
401 456 | /// </ul>
|
457 + | /* BuilderGenerator.kt:314 */
|
402 458 | pub fn set_comparison_operator(mut self, input: ::std::option::Option<crate::types::ComparisonOperator>) -> Self {
|
459 + | /* BuilderGenerator.kt:315 */
|
403 460 | self.comparison_operator = input;
|
404 461 | self
|
462 + | /* BuilderGenerator.kt:314 */
|
405 463 | }
|
406 - | /// <p>A comparator for evaluating attributes in the <code>AttributeValueList</code>. For example, equals, greater than, less than, etc.</p>
|
464 + | /// /* BuilderGenerator.kt:334 */<p>A comparator for evaluating attributes in the <code>AttributeValueList</code>. For example, equals, greater than, less than, etc.</p>
|
407 465 | /// <p>The following comparison operators are available:</p>
|
408 466 | /// <p><code>EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | BEGINS_WITH | IN | BETWEEN</code></p>
|
409 467 | /// <p>The following are descriptions of each comparison operator.</p>
|
410 468 | /// <ul>
|
411 469 | /// <li>
|
412 470 | /// <p><code>EQ</code> : Equal. <code>EQ</code> is supported for all data types, including lists and maps.</p>
|
413 471 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, Binary, String Set, Number Set, or Binary Set. If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not equal <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
414 472 | /// <p></p></li>
|
415 473 | /// <li>
|
416 474 | /// <p><code>NE</code> : Not equal. <code>NE</code> is supported for all data types, including lists and maps.</p>
|
417 475 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> of type String, Number, Binary, String Set, Number Set, or Binary Set. If an item contains an <code>AttributeValue</code> of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not equal <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
418 476 | /// <p></p></li>
|
419 477 | /// <li>
|
420 478 | /// <p><code>LE</code> : Less than or equal.</p>
|
421 479 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
422 480 | /// <p></p></li>
|
423 481 | /// <li>
|
424 482 | /// <p><code>LT</code> : Less than.</p>
|
425 483 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> of type String, Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
426 484 | /// <p></p></li>
|
427 485 | /// <li>
|
428 486 | /// <p><code>GE</code> : Greater than or equal.</p>
|
429 487 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
430 488 | /// <p></p></li>
|
431 489 | /// <li>
|
432 490 | /// <p><code>GT</code> : Greater than.</p>
|
433 491 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not equal <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code>.</p>
|
434 492 | /// <p></p></li>
|
435 493 | /// <li>
|
436 494 | /// <p><code>NOT_NULL</code> : The attribute exists. <code>NOT_NULL</code> is supported for all data types, including lists and maps.</p><note>
|
437 495 | /// <p>This operator tests for the existence of an attribute, not its data type. If the data type of attribute "<code>a</code>" is null, and you evaluate it using <code>NOT_NULL</code>, the result is a Boolean <code>true</code>. This result is because the attribute "<code>a</code>" exists; its data type is not relevant to the <code>NOT_NULL</code> comparison operator.</p>
|
438 496 | /// </note></li>
|
439 497 | /// <li>
|
440 498 | /// <p><code>NULL</code> : The attribute does not exist. <code>NULL</code> is supported for all data types, including lists and maps.</p><note>
|
441 499 | /// <p>This operator tests for the nonexistence of an attribute, not its data type. If the data type of attribute "<code>a</code>" is null, and you evaluate it using <code>NULL</code>, the result is a Boolean <code>false</code>. This is because the attribute "<code>a</code>" exists; its data type is not relevant to the <code>NULL</code> comparison operator.</p>
|
442 500 | /// </note></li>
|
443 501 | /// <li>
|
444 502 | /// <p><code>CONTAINS</code> : Checks for a subsequence, or value in a set.</p>
|
445 503 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If the target attribute of the comparison is of type String, then the operator checks for a substring match. If the target attribute of the comparison is of type Binary, then the operator looks for a subsequence of the target that matches the input. If the target attribute of the comparison is a set ("<code>SS</code>", "<code>NS</code>", or "<code>BS</code>"), then the operator evaluates to true if it finds an exact match with any member of the set.</p>
|
446 504 | /// <p>CONTAINS is supported for lists: When evaluating "<code>a CONTAINS b</code>", "<code>a</code>" can be a list; however, "<code>b</code>" cannot be a set, a map, or a list.</p></li>
|
447 505 | /// <li>
|
448 506 | /// <p><code>NOT_CONTAINS</code> : Checks for absence of a subsequence, or absence of a value in a set.</p>
|
449 507 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String, Number, or Binary (not a set type). If the target attribute of the comparison is a String, then the operator checks for the absence of a substring match. If the target attribute of the comparison is Binary, then the operator checks for the absence of a subsequence of the target that matches the input. If the target attribute of the comparison is a set ("<code>SS</code>", "<code>NS</code>", or "<code>BS</code>"), then the operator evaluates to true if it <i>does not</i> find an exact match with any member of the set.</p>
|
450 508 | /// <p>NOT_CONTAINS is supported for lists: When evaluating "<code>a NOT CONTAINS b</code>", "<code>a</code>" can be a list; however, "<code>b</code>" cannot be a set, a map, or a list.</p></li>
|
451 509 | /// <li>
|
452 510 | /// <p><code>BEGINS_WITH</code> : Checks for a prefix.</p>
|
453 511 | /// <p><code>AttributeValueList</code> can contain only one <code>AttributeValue</code> of type String or Binary (not a Number or a set type). The target attribute of the comparison must be of type String or Binary (not a Number or a set type).</p>
|
454 512 | /// <p></p></li>
|
455 513 | /// <li>
|
456 514 | /// <p><code>IN</code> : Checks for matching elements in a list.</p>
|
457 515 | /// <p><code>AttributeValueList</code> can contain one or more <code>AttributeValue</code> elements of type String, Number, or Binary. These attributes are compared against an existing attribute of an item. If any elements of the input are equal to the item attribute, the expression evaluates to true.</p></li>
|
458 516 | /// <li>
|
459 517 | /// <p><code>BETWEEN</code> : Greater than or equal to the first value, and less than or equal to the second value.</p>
|
460 518 | /// <p><code>AttributeValueList</code> must contain two <code>AttributeValue</code> elements of the same type, either String, Number, or Binary (not a set type). A target attribute matches if the target value is greater than, or equal to, the first element and less than, or equal to, the second element. If an item contains an <code>AttributeValue</code> element of a different type than the one provided in the request, the value does not match. For example, <code>{"S":"6"}</code> does not compare to <code>{"N":"6"}</code>. Also, <code>{"N":"6"}</code> does not compare to <code>{"NS":\["6", "2", "1"\]}</code></p></li>
|
461 519 | /// </ul>
|
520 + | /* BuilderGenerator.kt:336 */
|
462 521 | pub fn get_comparison_operator(&self) -> &::std::option::Option<crate::types::ComparisonOperator> {
|
522 + | /* BuilderGenerator.kt:337 */
|
463 523 | &self.comparison_operator
|
524 + | /* BuilderGenerator.kt:336 */
|
464 525 | }
|
465 - | /// Appends an item to `attribute_value_list`.
|
526 + | /// /* BuilderGenerator.kt:410 */Appends an item to `attribute_value_list`.
|
527 + | /* BuilderGenerator.kt:411 */
|
466 528 | ///
|
467 - | /// To override the contents of this collection use [`set_attribute_value_list`](Self::set_attribute_value_list).
|
529 + | /// /* BuilderGenerator.kt:412 */To override the contents of this collection use [`set_attribute_value_list`](Self::set_attribute_value_list).
|
530 + | /* BuilderGenerator.kt:413 */
|
468 531 | ///
|
469 - | /// <p>One or more values to evaluate against the supplied attribute. The number of values in the list depends on the <code>ComparisonOperator</code> being used.</p>
|
532 + | /// /* BuilderGenerator.kt:414 */<p>One or more values to evaluate against the supplied attribute. The number of values in the list depends on the <code>ComparisonOperator</code> being used.</p>
|
470 533 | /// <p>For type Number, value comparisons are numeric.</p>
|
471 534 | /// <p>String value comparisons for greater than, equals, or less than are based on ASCII character code values. For example, <code>a</code> is greater than <code>A</code>, and <code>a</code> is greater than <code>B</code>. For a list of code values, see <a href="http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters">http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters</a>.</p>
|
472 535 | /// <p>For Binary, DynamoDB treats each byte of the binary data as unsigned when it compares binary values.</p>
|
473 536 | /// <p>For information on specifying data types in JSON, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataFormat.html">JSON Data Format</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
|
537 + | /* BuilderGenerator.kt:418 */
|
474 538 | pub fn attribute_value_list(mut self, input: crate::types::AttributeValue) -> Self {
|
539 + | /* BuilderGenerator.kt:419 */
|
475 540 | let mut v = self.attribute_value_list.unwrap_or_default();
|
476 541 | v.push(input);
|
477 542 | self.attribute_value_list = ::std::option::Option::Some(v);
|
478 543 | self
|
544 + | /* BuilderGenerator.kt:418 */
|
479 545 | }
|
480 - | /// <p>One or more values to evaluate against the supplied attribute. The number of values in the list depends on the <code>ComparisonOperator</code> being used.</p>
|
546 + | /// /* BuilderGenerator.kt:312 */<p>One or more values to evaluate against the supplied attribute. The number of values in the list depends on the <code>ComparisonOperator</code> being used.</p>
|
481 547 | /// <p>For type Number, value comparisons are numeric.</p>
|
482 548 | /// <p>String value comparisons for greater than, equals, or less than are based on ASCII character code values. For example, <code>a</code> is greater than <code>A</code>, and <code>a</code> is greater than <code>B</code>. For a list of code values, see <a href="http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters">http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters</a>.</p>
|
483 549 | /// <p>For Binary, DynamoDB treats each byte of the binary data as unsigned when it compares binary values.</p>
|
484 550 | /// <p>For information on specifying data types in JSON, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataFormat.html">JSON Data Format</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
|
551 + | /* BuilderGenerator.kt:314 */
|
485 552 | pub fn set_attribute_value_list(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::AttributeValue>>) -> Self {
|
553 + | /* BuilderGenerator.kt:315 */
|
486 554 | self.attribute_value_list = input;
|
487 555 | self
|
556 + | /* BuilderGenerator.kt:314 */
|
488 557 | }
|
489 - | /// <p>One or more values to evaluate against the supplied attribute. The number of values in the list depends on the <code>ComparisonOperator</code> being used.</p>
|
558 + | /// /* BuilderGenerator.kt:334 */<p>One or more values to evaluate against the supplied attribute. The number of values in the list depends on the <code>ComparisonOperator</code> being used.</p>
|
490 559 | /// <p>For type Number, value comparisons are numeric.</p>
|
491 560 | /// <p>String value comparisons for greater than, equals, or less than are based on ASCII character code values. For example, <code>a</code> is greater than <code>A</code>, and <code>a</code> is greater than <code>B</code>. For a list of code values, see <a href="http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters">http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters</a>.</p>
|
492 561 | /// <p>For Binary, DynamoDB treats each byte of the binary data as unsigned when it compares binary values.</p>
|
493 562 | /// <p>For information on specifying data types in JSON, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataFormat.html">JSON Data Format</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
|
563 + | /* BuilderGenerator.kt:336 */
|
494 564 | pub fn get_attribute_value_list(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::AttributeValue>> {
|
565 + | /* BuilderGenerator.kt:337 */
|
495 566 | &self.attribute_value_list
|
567 + | /* BuilderGenerator.kt:336 */
|
496 568 | }
|
497 - | /// Consumes the builder and constructs a [`ExpectedAttributeValue`](crate::types::ExpectedAttributeValue).
|
569 + | /// /* BuilderGenerator.kt:240 */Consumes the builder and constructs a [`ExpectedAttributeValue`](crate::types::ExpectedAttributeValue).
|
570 + | /* BuilderGenerator.kt:253 */
|
498 571 | pub fn build(self) -> crate::types::ExpectedAttributeValue {
|
572 + | /* BuilderGenerator.kt:477 */
|
499 573 | crate::types::ExpectedAttributeValue {
|
500 - | value: self.value,
|
574 + | /* BuilderGenerator.kt:481 */ value: self.value,
|
575 + | /* BuilderGenerator.kt:481 */
|
501 576 | exists: self.exists,
|
577 + | /* BuilderGenerator.kt:481 */
|
502 578 | comparison_operator: self.comparison_operator,
|
579 + | /* BuilderGenerator.kt:481 */
|
503 580 | attribute_value_list: self.attribute_value_list,
|
581 + | /* BuilderGenerator.kt:477 */
|
504 582 | }
|
583 + | /* BuilderGenerator.kt:253 */
|
505 584 | }
|
585 + | /* BuilderGenerator.kt:355 */
|
506 586 | }
|