text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #pragma once
  #include <aws/s3-crt/S3Crt_EXPORTS.h>
  #include <aws/s3-crt/model/Payer.h>
  #include <utility>
  
  namespace Aws
  {
  template<typename RESULT_TYPE>
  class AmazonWebServiceResult;
  
  namespace Utils
  {
  namespace Xml
  {
    class XmlDocument;
  } // namespace Xml
  } // namespace Utils
  namespace S3Crt
  {
  namespace Model
  {
    class AWS_S3CRT_API GetBucketRequestPaymentResult
    {
    public:
      GetBucketRequestPaymentResult();
      GetBucketRequestPaymentResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
      GetBucketRequestPaymentResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
  
  
      /**
       * <p>Specifies who pays for the download and request fees.</p>
       */
      inline const Payer& GetPayer() const{ return m_payer; }
  
      /**
       * <p>Specifies who pays for the download and request fees.</p>
       */
      inline void SetPayer(const Payer& value) { m_payer = value; }
  
      /**
       * <p>Specifies who pays for the download and request fees.</p>
       */
      inline void SetPayer(Payer&& value) { m_payer = std::move(value); }
  
      /**
       * <p>Specifies who pays for the download and request fees.</p>
       */
      inline GetBucketRequestPaymentResult& WithPayer(const Payer& value) { SetPayer(value); return *this;}
  
      /**
       * <p>Specifies who pays for the download and request fees.</p>
       */
      inline GetBucketRequestPaymentResult& WithPayer(Payer&& value) { SetPayer(std::move(value)); return *this;}
  
    private:
  
      Payer m_payer;
    };
  
  } // namespace Model
  } // namespace S3Crt
  } // namespace Aws
  