aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RoutingRule.h
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:45:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:01 +0300
commit2d37894b1b037cf24231090eda8589bbb44fb6fc (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RoutingRule.h
parent718c552901d703c502ccbefdfc3c9028d608b947 (diff)
downloadydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RoutingRule.h')
-rw-r--r--contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RoutingRule.h264
1 files changed, 132 insertions, 132 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RoutingRule.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RoutingRule.h
index cf494e1811..ff37fa473e 100644
--- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RoutingRule.h
+++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/RoutingRule.h
@@ -1,114 +1,114 @@
-/**
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0.
- */
-
-#pragma once
-#include <aws/s3/S3_EXPORTS.h>
-#include <aws/s3/model/Condition.h>
-#include <aws/s3/model/Redirect.h>
-#include <utility>
-
-namespace Aws
-{
-namespace Utils
-{
-namespace Xml
-{
- class XmlNode;
-} // namespace Xml
-} // namespace Utils
-namespace S3
-{
-namespace Model
-{
-
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include <aws/s3/S3_EXPORTS.h>
+#include <aws/s3/model/Condition.h>
+#include <aws/s3/model/Redirect.h>
+#include <utility>
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Xml
+{
+ class XmlNode;
+} // namespace Xml
+} // namespace Utils
+namespace S3
+{
+namespace Model
+{
+
/**
- * <p>Specifies the redirect behavior and when a redirect is applied. For more
- * information about routing rules, see <a
- * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html#advanced-conditional-redirects">Configuring
- * advanced conditional redirects</a> in the <i>Amazon Simple Storage Service
- * Developer Guide</i>.</p><p><h3>See Also:</h3> <a
+ * <p>Specifies the redirect behavior and when a redirect is applied. For more
+ * information about routing rules, see <a
+ * href="https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html#advanced-conditional-redirects">Configuring
+ * advanced conditional redirects</a> in the <i>Amazon Simple Storage Service
+ * Developer Guide</i>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RoutingRule">AWS API
* Reference</a></p>
*/
- class AWS_S3_API RoutingRule
- {
- public:
- RoutingRule();
- RoutingRule(const Aws::Utils::Xml::XmlNode& xmlNode);
- RoutingRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
-
- void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
-
-
- /**
- * <p>A container for describing a condition that must be met for the specified
- * redirect to apply. For example, 1. If request is for pages in the
- * <code>/docs</code> folder, redirect to the <code>/documents</code> folder. 2. If
- * request results in HTTP error 4xx, redirect request to another host where you
- * might process the error.</p>
- */
- inline const Condition& GetCondition() const{ return m_condition; }
-
- /**
- * <p>A container for describing a condition that must be met for the specified
- * redirect to apply. For example, 1. If request is for pages in the
- * <code>/docs</code> folder, redirect to the <code>/documents</code> folder. 2. If
- * request results in HTTP error 4xx, redirect request to another host where you
- * might process the error.</p>
- */
+ class AWS_S3_API RoutingRule
+ {
+ public:
+ RoutingRule();
+ RoutingRule(const Aws::Utils::Xml::XmlNode& xmlNode);
+ RoutingRule& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
+
+ void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
+
+
+ /**
+ * <p>A container for describing a condition that must be met for the specified
+ * redirect to apply. For example, 1. If request is for pages in the
+ * <code>/docs</code> folder, redirect to the <code>/documents</code> folder. 2. If
+ * request results in HTTP error 4xx, redirect request to another host where you
+ * might process the error.</p>
+ */
+ inline const Condition& GetCondition() const{ return m_condition; }
+
+ /**
+ * <p>A container for describing a condition that must be met for the specified
+ * redirect to apply. For example, 1. If request is for pages in the
+ * <code>/docs</code> folder, redirect to the <code>/documents</code> folder. 2. If
+ * request results in HTTP error 4xx, redirect request to another host where you
+ * might process the error.</p>
+ */
inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
/**
* <p>A container for describing a condition that must be met for the specified
- * redirect to apply. For example, 1. If request is for pages in the
- * <code>/docs</code> folder, redirect to the <code>/documents</code> folder. 2. If
- * request results in HTTP error 4xx, redirect request to another host where you
- * might process the error.</p>
+ * redirect to apply. For example, 1. If request is for pages in the
+ * <code>/docs</code> folder, redirect to the <code>/documents</code> folder. 2. If
+ * request results in HTTP error 4xx, redirect request to another host where you
+ * might process the error.</p>
+ */
+ inline void SetCondition(const Condition& value) { m_conditionHasBeenSet = true; m_condition = value; }
+
+ /**
+ * <p>A container for describing a condition that must be met for the specified
+ * redirect to apply. For example, 1. If request is for pages in the
+ * <code>/docs</code> folder, redirect to the <code>/documents</code> folder. 2. If
+ * request results in HTTP error 4xx, redirect request to another host where you
+ * might process the error.</p>
+ */
+ inline void SetCondition(Condition&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); }
+
+ /**
+ * <p>A container for describing a condition that must be met for the specified
+ * redirect to apply. For example, 1. If request is for pages in the
+ * <code>/docs</code> folder, redirect to the <code>/documents</code> folder. 2. If
+ * request results in HTTP error 4xx, redirect request to another host where you
+ * might process the error.</p>
*/
- inline void SetCondition(const Condition& value) { m_conditionHasBeenSet = true; m_condition = value; }
-
- /**
- * <p>A container for describing a condition that must be met for the specified
- * redirect to apply. For example, 1. If request is for pages in the
- * <code>/docs</code> folder, redirect to the <code>/documents</code> folder. 2. If
- * request results in HTTP error 4xx, redirect request to another host where you
- * might process the error.</p>
- */
- inline void SetCondition(Condition&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); }
-
- /**
- * <p>A container for describing a condition that must be met for the specified
- * redirect to apply. For example, 1. If request is for pages in the
- * <code>/docs</code> folder, redirect to the <code>/documents</code> folder. 2. If
- * request results in HTTP error 4xx, redirect request to another host where you
- * might process the error.</p>
- */
- inline RoutingRule& WithCondition(const Condition& value) { SetCondition(value); return *this;}
-
- /**
- * <p>A container for describing a condition that must be met for the specified
- * redirect to apply. For example, 1. If request is for pages in the
- * <code>/docs</code> folder, redirect to the <code>/documents</code> folder. 2. If
- * request results in HTTP error 4xx, redirect request to another host where you
- * might process the error.</p>
- */
- inline RoutingRule& WithCondition(Condition&& value) { SetCondition(std::move(value)); return *this;}
-
-
- /**
- * <p>Container for redirect information. You can redirect requests to another
- * host, to another page, or with another protocol. In the event of an error, you
+ inline RoutingRule& WithCondition(const Condition& value) { SetCondition(value); return *this;}
+
+ /**
+ * <p>A container for describing a condition that must be met for the specified
+ * redirect to apply. For example, 1. If request is for pages in the
+ * <code>/docs</code> folder, redirect to the <code>/documents</code> folder. 2. If
+ * request results in HTTP error 4xx, redirect request to another host where you
+ * might process the error.</p>
+ */
+ inline RoutingRule& WithCondition(Condition&& value) { SetCondition(std::move(value)); return *this;}
+
+
+ /**
+ * <p>Container for redirect information. You can redirect requests to another
+ * host, to another page, or with another protocol. In the event of an error, you
* can specify a different error code to return.</p>
- */
- inline const Redirect& GetRedirect() const{ return m_redirect; }
-
- /**
- * <p>Container for redirect information. You can redirect requests to another
- * host, to another page, or with another protocol. In the event of an error, you
+ */
+ inline const Redirect& GetRedirect() const{ return m_redirect; }
+
+ /**
+ * <p>Container for redirect information. You can redirect requests to another
+ * host, to another page, or with another protocol. In the event of an error, you
* can specify a different error code to return.</p>
- */
+ */
inline bool RedirectHasBeenSet() const { return m_redirectHasBeenSet; }
/**
@@ -116,38 +116,38 @@ namespace Model
* host, to another page, or with another protocol. In the event of an error, you
* can specify a different error code to return.</p>
*/
- inline void SetRedirect(const Redirect& value) { m_redirectHasBeenSet = true; m_redirect = value; }
-
- /**
- * <p>Container for redirect information. You can redirect requests to another
- * host, to another page, or with another protocol. In the event of an error, you
+ inline void SetRedirect(const Redirect& value) { m_redirectHasBeenSet = true; m_redirect = value; }
+
+ /**
+ * <p>Container for redirect information. You can redirect requests to another
+ * host, to another page, or with another protocol. In the event of an error, you
* can specify a different error code to return.</p>
- */
- inline void SetRedirect(Redirect&& value) { m_redirectHasBeenSet = true; m_redirect = std::move(value); }
-
- /**
- * <p>Container for redirect information. You can redirect requests to another
- * host, to another page, or with another protocol. In the event of an error, you
+ */
+ inline void SetRedirect(Redirect&& value) { m_redirectHasBeenSet = true; m_redirect = std::move(value); }
+
+ /**
+ * <p>Container for redirect information. You can redirect requests to another
+ * host, to another page, or with another protocol. In the event of an error, you
* can specify a different error code to return.</p>
- */
- inline RoutingRule& WithRedirect(const Redirect& value) { SetRedirect(value); return *this;}
-
- /**
- * <p>Container for redirect information. You can redirect requests to another
- * host, to another page, or with another protocol. In the event of an error, you
+ */
+ inline RoutingRule& WithRedirect(const Redirect& value) { SetRedirect(value); return *this;}
+
+ /**
+ * <p>Container for redirect information. You can redirect requests to another
+ * host, to another page, or with another protocol. In the event of an error, you
* can specify a different error code to return.</p>
- */
- inline RoutingRule& WithRedirect(Redirect&& value) { SetRedirect(std::move(value)); return *this;}
-
- private:
-
- Condition m_condition;
- bool m_conditionHasBeenSet;
-
- Redirect m_redirect;
- bool m_redirectHasBeenSet;
- };
-
-} // namespace Model
-} // namespace S3
-} // namespace Aws
+ */
+ inline RoutingRule& WithRedirect(Redirect&& value) { SetRedirect(std::move(value)); return *this;}
+
+ private:
+
+ Condition m_condition;
+ bool m_conditionHasBeenSet;
+
+ Redirect m_redirect;
+ bool m_redirectHasBeenSet;
+ };
+
+} // namespace Model
+} // namespace S3
+} // namespace Aws