text: ﻿/*
  * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
  *
  * Licensed under the Apache License, Version 2.0 (the "License").
  * You may not use this file except in compliance with the License.
  * A copy of the License is located at
  *
  *  http://aws.amazon.com/apache2.0
  *
  * or in the "license" file accompanying this file. This file is distributed
  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
  * express or implied. See the License for the specific language governing
  * permissions and limitations under the License.
  */
  
  #pragma once
  #include <aws/chime/Chime_EXPORTS.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <utility>
  
  namespace Aws
  {
  namespace Utils
  {
  namespace Json
  {
    class JsonValue;
    class JsonView;
  } // namespace Json
  } // namespace Utils
  namespace Chime
  {
  namespace Model
  {
  
    /**
     * <p>The Amazon Chime Business Calling settings for the administrator's AWS
     * account. Includes any Amazon S3 buckets designated for storing call detail
     * records.</p><p><h3>See Also:</h3>   <a
     * href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BusinessCallingSettings">AWS
     * API Reference</a></p>
     */
    class AWS_CHIME_API BusinessCallingSettings
    {
    public:
      BusinessCallingSettings();
      BusinessCallingSettings(Aws::Utils::Json::JsonView jsonValue);
      BusinessCallingSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
      Aws::Utils::Json::JsonValue Jsonize() const;
  
  
      /**
       * <p>The Amazon S3 bucket designated for call detail record storage.</p>
       */
      inline const Aws::String& GetCdrBucket() const{ return m_cdrBucket; }
  
      /**
       * <p>The Amazon S3 bucket designated for call detail record storage.</p>
       */
      inline bool CdrBucketHasBeenSet() const { return m_cdrBucketHasBeenSet; }
  
      /**
       * <p>The Amazon S3 bucket designated for call detail record storage.</p>
       */
      inline void SetCdrBucket(const Aws::String& value) { m_cdrBucketHasBeenSet = true; m_cdrBucket = value; }
  
      /**
       * <p>The Amazon S3 bucket designated for call detail record storage.</p>
       */
      inline void SetCdrBucket(Aws::String&& value) { m_cdrBucketHasBeenSet = true; m_cdrBucket = std::move(value); }
  
      /**
       * <p>The Amazon S3 bucket designated for call detail record storage.</p>
       */
      inline void SetCdrBucket(const char* value) { m_cdrBucketHasBeenSet = true; m_cdrBucket.assign(value); }
  
      /**
       * <p>The Amazon S3 bucket designated for call detail record storage.</p>
       */
      inline BusinessCallingSettings& WithCdrBucket(const Aws::String& value) { SetCdrBucket(value); return *this;}
  
      /**
       * <p>The Amazon S3 bucket designated for call detail record storage.</p>
       */
      inline BusinessCallingSettings& WithCdrBucket(Aws::String&& value) { SetCdrBucket(std::move(value)); return *this;}
  
      /**
       * <p>The Amazon S3 bucket designated for call detail record storage.</p>
       */
      inline BusinessCallingSettings& WithCdrBucket(const char* value) { SetCdrBucket(value); return *this;}
  
    private:
  
      Aws::String m_cdrBucket;
      bool m_cdrBucketHasBeenSet;
    };
  
  } // namespace Model
  } // namespace Chime
  } // namespace Aws
  