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/application-insights/ApplicationInsights_EXPORTS.h>
  #include <aws/application-insights/model/LogPattern.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <utility>
  
  namespace Aws
  {
  template<typename RESULT_TYPE>
  class AmazonWebServiceResult;
  
  namespace Utils
  {
  namespace Json
  {
    class JsonValue;
  } // namespace Json
  } // namespace Utils
  namespace ApplicationInsights
  {
  namespace Model
  {
    class AWS_APPLICATIONINSIGHTS_API CreateLogPatternResult
    {
    public:
      CreateLogPatternResult();
      CreateLogPatternResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
      CreateLogPatternResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
  
  
      /**
       * <p>The successfully created log pattern.</p>
       */
      inline const LogPattern& GetLogPattern() const{ return m_logPattern; }
  
      /**
       * <p>The successfully created log pattern.</p>
       */
      inline void SetLogPattern(const LogPattern& value) { m_logPattern = value; }
  
      /**
       * <p>The successfully created log pattern.</p>
       */
      inline void SetLogPattern(LogPattern&& value) { m_logPattern = std::move(value); }
  
      /**
       * <p>The successfully created log pattern.</p>
       */
      inline CreateLogPatternResult& WithLogPattern(const LogPattern& value) { SetLogPattern(value); return *this;}
  
      /**
       * <p>The successfully created log pattern.</p>
       */
      inline CreateLogPatternResult& WithLogPattern(LogPattern&& value) { SetLogPattern(std::move(value)); return *this;}
  
  
      /**
       * <p>The name of the resource group.</p>
       */
      inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; }
  
      /**
       * <p>The name of the resource group.</p>
       */
      inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupName = value; }
  
      /**
       * <p>The name of the resource group.</p>
       */
      inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupName = std::move(value); }
  
      /**
       * <p>The name of the resource group.</p>
       */
      inline void SetResourceGroupName(const char* value) { m_resourceGroupName.assign(value); }
  
      /**
       * <p>The name of the resource group.</p>
       */
      inline CreateLogPatternResult& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
  
      /**
       * <p>The name of the resource group.</p>
       */
      inline CreateLogPatternResult& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
  
      /**
       * <p>The name of the resource group.</p>
       */
      inline CreateLogPatternResult& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;}
  
    private:
  
      LogPattern m_logPattern;
  
      Aws::String m_resourceGroupName;
    };
  
  } // namespace Model
  } // namespace ApplicationInsights
  } // namespace Aws
  