aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/NoncurrentVersionExpiration.cpp
diff options
context:
space:
mode:
authordakovalkov <dakovalkov@yandex-team.com>2023-12-03 13:33:55 +0300
committerdakovalkov <dakovalkov@yandex-team.com>2023-12-03 14:04:39 +0300
commit2a718325637e5302334b6d0a6430f63168f8dbb3 (patch)
tree64be81080b7df9ec1d86d053a0c394ae53fcf1fe /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/NoncurrentVersionExpiration.cpp
parente0d94a470142d95c3007e9c5d80380994940664a (diff)
downloadydb-2a718325637e5302334b6d0a6430f63168f8dbb3.tar.gz
Update contrib/libs/aws-sdk-cpp to 1.11.37
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/NoncurrentVersionExpiration.cpp')
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/NoncurrentVersionExpiration.cpp22
1 files changed, 20 insertions, 2 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/NoncurrentVersionExpiration.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/NoncurrentVersionExpiration.cpp
index ab6db39f61..a3282e5fc9 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/NoncurrentVersionExpiration.cpp
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/NoncurrentVersionExpiration.cpp
@@ -22,13 +22,17 @@ namespace Model
NoncurrentVersionExpiration::NoncurrentVersionExpiration() :
m_noncurrentDays(0),
- m_noncurrentDaysHasBeenSet(false)
+ m_noncurrentDaysHasBeenSet(false),
+ m_newerNoncurrentVersions(0),
+ m_newerNoncurrentVersionsHasBeenSet(false)
{
}
NoncurrentVersionExpiration::NoncurrentVersionExpiration(const XmlNode& xmlNode) :
m_noncurrentDays(0),
- m_noncurrentDaysHasBeenSet(false)
+ m_noncurrentDaysHasBeenSet(false),
+ m_newerNoncurrentVersions(0),
+ m_newerNoncurrentVersionsHasBeenSet(false)
{
*this = xmlNode;
}
@@ -45,6 +49,12 @@ NoncurrentVersionExpiration& NoncurrentVersionExpiration::operator =(const XmlNo
m_noncurrentDays = StringUtils::ConvertToInt32(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(noncurrentDaysNode.GetText()).c_str()).c_str());
m_noncurrentDaysHasBeenSet = true;
}
+ XmlNode newerNoncurrentVersionsNode = resultNode.FirstChild("NewerNoncurrentVersions");
+ if(!newerNoncurrentVersionsNode.IsNull())
+ {
+ m_newerNoncurrentVersions = StringUtils::ConvertToInt32(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(newerNoncurrentVersionsNode.GetText()).c_str()).c_str());
+ m_newerNoncurrentVersionsHasBeenSet = true;
+ }
}
return *this;
@@ -61,6 +71,14 @@ void NoncurrentVersionExpiration::AddToNode(XmlNode& parentNode) const
ss.str("");
}
+ if(m_newerNoncurrentVersionsHasBeenSet)
+ {
+ XmlNode newerNoncurrentVersionsNode = parentNode.CreateChildElement("NewerNoncurrentVersions");
+ ss << m_newerNoncurrentVersions;
+ newerNoncurrentVersionsNode.SetText(ss.str());
+ ss.str("");
+ }
+
}
} // namespace Model