@@ -33,34 +33,72 @@ class GetTagValuesRequest(object):
3333 and the value is json key in definition.
3434 """
3535 swagger_types = {
36+ 'match_type' : 'str' ,
3637 'max_results' : 'int' ,
3738 'next_token' : 'str' ,
38- 'tag_keys' : 'list[str]'
39+ 'tag_keys' : 'list[str]' ,
40+ 'tag_value' : 'str'
3941 }
4042
4143 attribute_map = {
44+ 'match_type' : 'MatchType' ,
4245 'max_results' : 'MaxResults' ,
4346 'next_token' : 'NextToken' ,
44- 'tag_keys' : 'TagKeys'
47+ 'tag_keys' : 'TagKeys' ,
48+ 'tag_value' : 'TagValue'
4549 }
4650
47- def __init__ (self , max_results = None , next_token = None , tag_keys = None , _configuration = None ): # noqa: E501
51+ def __init__ (self , match_type = None , max_results = None , next_token = None , tag_keys = None , tag_value = None , _configuration = None ): # noqa: E501
4852 """GetTagValuesRequest - a model defined in Swagger""" # noqa: E501
4953 if _configuration is None :
5054 _configuration = Configuration ()
5155 self ._configuration = _configuration
5256
57+ self ._match_type = None
5358 self ._max_results = None
5459 self ._next_token = None
5560 self ._tag_keys = None
61+ self ._tag_value = None
5662 self .discriminator = None
5763
64+ if match_type is not None :
65+ self .match_type = match_type
5866 if max_results is not None :
5967 self .max_results = max_results
6068 if next_token is not None :
6169 self .next_token = next_token
6270 if tag_keys is not None :
6371 self .tag_keys = tag_keys
72+ if tag_value is not None :
73+ self .tag_value = tag_value
74+
75+ @property
76+ def match_type (self ):
77+ """Gets the match_type of this GetTagValuesRequest. # noqa: E501
78+
79+
80+ :return: The match_type of this GetTagValuesRequest. # noqa: E501
81+ :rtype: str
82+ """
83+ return self ._match_type
84+
85+ @match_type .setter
86+ def match_type (self , match_type ):
87+ """Sets the match_type of this GetTagValuesRequest.
88+
89+
90+ :param match_type: The match_type of this GetTagValuesRequest. # noqa: E501
91+ :type: str
92+ """
93+ allowed_values = ["prefix" , "equals" , "contain" ] # noqa: E501
94+ if (self ._configuration .client_side_validation and
95+ match_type not in allowed_values ):
96+ raise ValueError (
97+ "Invalid value for `match_type` ({0}), must be one of {1}" # noqa: E501
98+ .format (match_type , allowed_values )
99+ )
100+
101+ self ._match_type = match_type
64102
65103 @property
66104 def max_results (self ):
@@ -125,6 +163,27 @@ def tag_keys(self, tag_keys):
125163
126164 self ._tag_keys = tag_keys
127165
166+ @property
167+ def tag_value (self ):
168+ """Gets the tag_value of this GetTagValuesRequest. # noqa: E501
169+
170+
171+ :return: The tag_value of this GetTagValuesRequest. # noqa: E501
172+ :rtype: str
173+ """
174+ return self ._tag_value
175+
176+ @tag_value .setter
177+ def tag_value (self , tag_value ):
178+ """Sets the tag_value of this GetTagValuesRequest.
179+
180+
181+ :param tag_value: The tag_value of this GetTagValuesRequest. # noqa: E501
182+ :type: str
183+ """
184+
185+ self ._tag_value = tag_value
186+
128187 def to_dict (self ):
129188 """Returns the model properties as a dict"""
130189 result = {}
0 commit comments