text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #pragma once
  #include <aws/auditmanager/AuditManager_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 AuditManager
  {
  namespace Model
  {
  
    /**
     * <p> An Amazon Web Service such as Amazon S3, CloudTrail, and so on.
     * </p><p><h3>See Also:</h3>   <a
     * href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/AWSService">AWS
     * API Reference</a></p>
     */
    class AWS_AUDITMANAGER_API AWSService
    {
    public:
      AWSService();
      AWSService(Aws::Utils::Json::JsonView jsonValue);
      AWSService& operator=(Aws::Utils::Json::JsonView jsonValue);
      Aws::Utils::Json::JsonValue Jsonize() const;
  
  
      /**
       * <p> The name of the Amazon Web Service. </p>
       */
      inline const Aws::String& GetServiceName() const{ return m_serviceName; }
  
      /**
       * <p> The name of the Amazon Web Service. </p>
       */
      inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
  
      /**
       * <p> The name of the Amazon Web Service. </p>
       */
      inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
  
      /**
       * <p> The name of the Amazon Web Service. </p>
       */
      inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
  
      /**
       * <p> The name of the Amazon Web Service. </p>
       */
      inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
  
      /**
       * <p> The name of the Amazon Web Service. </p>
       */
      inline AWSService& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
  
      /**
       * <p> The name of the Amazon Web Service. </p>
       */
      inline AWSService& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
  
      /**
       * <p> The name of the Amazon Web Service. </p>
       */
      inline AWSService& WithServiceName(const char* value) { SetServiceName(value); return *this;}
  
    private:
  
      Aws::String m_serviceName;
      bool m_serviceNameHasBeenSet;
    };
  
  } // namespace Model
  } // namespace AuditManager
  } // namespace Aws
  