diff options
author | unril <unril@yandex-team.ru> | 2022-02-10 16:46:05 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:05 +0300 |
commit | 3b241dd57cf58f20bbbd63fa6a0a758dbec09b68 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetPublicAccessBlockResult.cpp | |
parent | 11ae9eca250d0188b7962459cbc6706719e7dca9 (diff) | |
download | ydb-3b241dd57cf58f20bbbd63fa6a0a758dbec09b68.tar.gz |
Restoring authorship annotation for <unril@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetPublicAccessBlockResult.cpp')
-rw-r--r-- | contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetPublicAccessBlockResult.cpp | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetPublicAccessBlockResult.cpp b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetPublicAccessBlockResult.cpp index 3ff065aab5..d8cd57631a 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetPublicAccessBlockResult.cpp +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/source/model/GetPublicAccessBlockResult.cpp @@ -2,37 +2,37 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ - -#include <aws/s3/model/GetPublicAccessBlockResult.h> -#include <aws/core/utils/xml/XmlSerializer.h> -#include <aws/core/AmazonWebServiceResult.h> -#include <aws/core/utils/StringUtils.h> - -#include <utility> - -using namespace Aws::S3::Model; -using namespace Aws::Utils::Xml; -using namespace Aws::Utils; -using namespace Aws; - -GetPublicAccessBlockResult::GetPublicAccessBlockResult() -{ -} - -GetPublicAccessBlockResult::GetPublicAccessBlockResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) -{ - *this = result; -} - -GetPublicAccessBlockResult& GetPublicAccessBlockResult::operator =(const Aws::AmazonWebServiceResult<XmlDocument>& result) -{ - const XmlDocument& xmlDocument = result.GetPayload(); - XmlNode resultNode = xmlDocument.GetRootElement(); - - if(!resultNode.IsNull()) - { - m_publicAccessBlockConfiguration = resultNode; - } - - return *this; -} + +#include <aws/s3/model/GetPublicAccessBlockResult.h> +#include <aws/core/utils/xml/XmlSerializer.h> +#include <aws/core/AmazonWebServiceResult.h> +#include <aws/core/utils/StringUtils.h> + +#include <utility> + +using namespace Aws::S3::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; +using namespace Aws; + +GetPublicAccessBlockResult::GetPublicAccessBlockResult() +{ +} + +GetPublicAccessBlockResult::GetPublicAccessBlockResult(const Aws::AmazonWebServiceResult<XmlDocument>& result) +{ + *this = result; +} + +GetPublicAccessBlockResult& GetPublicAccessBlockResult::operator =(const Aws::AmazonWebServiceResult<XmlDocument>& result) +{ + const XmlDocument& xmlDocument = result.GetPayload(); + XmlNode resultNode = xmlDocument.GetRootElement(); + + if(!resultNode.IsNull()) + { + m_publicAccessBlockConfiguration = resultNode; + } + + return *this; +} |