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/codebuild/CodeBuild_EXPORTS.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <utility>
  
  namespace Aws
  {
  namespace Utils
  {
  namespace Json
  {
    class JsonValue;
  } // namespace Json
  } // namespace Utils
  namespace CodeBuild
  {
  namespace Model
  {
  
    /**
     * <p>Information about build output artifacts.</p><p><h3>See Also:</h3>   <a
     * href="http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildArtifacts">AWS
     * API Reference</a></p>
     */
    class AWS_CODEBUILD_API BuildArtifacts
    {
    public:
      BuildArtifacts();
      BuildArtifacts(const Aws::Utils::Json::JsonValue& jsonValue);
      BuildArtifacts& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
      Aws::Utils::Json::JsonValue Jsonize() const;
  
  
      /**
       * <p>Information about the location of the build artifacts.</p>
       */
      inline const Aws::String& GetLocation() const{ return m_location; }
  
      /**
       * <p>Information about the location of the build artifacts.</p>
       */
      inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
  
      /**
       * <p>Information about the location of the build artifacts.</p>
       */
      inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
  
      /**
       * <p>Information about the location of the build artifacts.</p>
       */
      inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
  
      /**
       * <p>Information about the location of the build artifacts.</p>
       */
      inline BuildArtifacts& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
  
      /**
       * <p>Information about the location of the build artifacts.</p>
       */
      inline BuildArtifacts& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
  
      /**
       * <p>Information about the location of the build artifacts.</p>
       */
      inline BuildArtifacts& WithLocation(const char* value) { SetLocation(value); return *this;}
  
  
      /**
       * <p>The SHA-256 hash of the build artifact.</p> <p>You can use this hash along
       * with a checksum tool to confirm both file integrity and authenticity.</p> <note>
       * <p>This value is available only if the build project's <code>packaging</code>
       * value is set to <code>ZIP</code>.</p> </note>
       */
      inline const Aws::String& GetSha256sum() const{ return m_sha256sum; }
  
      /**
       * <p>The SHA-256 hash of the build artifact.</p> <p>You can use this hash along
       * with a checksum tool to confirm both file integrity and authenticity.</p> <note>
       * <p>This value is available only if the build project's <code>packaging</code>
       * value is set to <code>ZIP</code>.</p> </note>
       */
      inline void SetSha256sum(const Aws::String& value) { m_sha256sumHasBeenSet = true; m_sha256sum = value; }
  
      /**
       * <p>The SHA-256 hash of the build artifact.</p> <p>You can use this hash along
       * with a checksum tool to confirm both file integrity and authenticity.</p> <note>
       * <p>This value is available only if the build project's <code>packaging</code>
       * value is set to <code>ZIP</code>.</p> </note>
       */
      inline void SetSha256sum(Aws::String&& value) { m_sha256sumHasBeenSet = true; m_sha256sum = std::move(value); }
  
      /**
       * <p>The SHA-256 hash of the build artifact.</p> <p>You can use this hash along
       * with a checksum tool to confirm both file integrity and authenticity.</p> <note>
       * <p>This value is available only if the build project's <code>packaging</code>
       * value is set to <code>ZIP</code>.</p> </note>
       */
      inline void SetSha256sum(const char* value) { m_sha256sumHasBeenSet = true; m_sha256sum.assign(value); }
  
      /**
       * <p>The SHA-256 hash of the build artifact.</p> <p>You can use this hash along
       * with a checksum tool to confirm both file integrity and authenticity.</p> <note>
       * <p>This value is available only if the build project's <code>packaging</code>
       * value is set to <code>ZIP</code>.</p> </note>
       */
      inline BuildArtifacts& WithSha256sum(const Aws::String& value) { SetSha256sum(value); return *this;}
  
      /**
       * <p>The SHA-256 hash of the build artifact.</p> <p>You can use this hash along
       * with a checksum tool to confirm both file integrity and authenticity.</p> <note>
       * <p>This value is available only if the build project's <code>packaging</code>
       * value is set to <code>ZIP</code>.</p> </note>
       */
      inline BuildArtifacts& WithSha256sum(Aws::String&& value) { SetSha256sum(std::move(value)); return *this;}
  
      /**
       * <p>The SHA-256 hash of the build artifact.</p> <p>You can use this hash along
       * with a checksum tool to confirm both file integrity and authenticity.</p> <note>
       * <p>This value is available only if the build project's <code>packaging</code>
       * value is set to <code>ZIP</code>.</p> </note>
       */
      inline BuildArtifacts& WithSha256sum(const char* value) { SetSha256sum(value); return *this;}
  
  
      /**
       * <p>The MD5 hash of the build artifact.</p> <p>You can use this hash along with a
       * checksum tool to confirm both file integrity and authenticity.</p> <note>
       * <p>This value is available only if the build project's <code>packaging</code>
       * value is set to <code>ZIP</code>.</p> </note>
       */
      inline const Aws::String& GetMd5sum() const{ return m_md5sum; }
  
      /**
       * <p>The MD5 hash of the build artifact.</p> <p>You can use this hash along with a
       * checksum tool to confirm both file integrity and authenticity.</p> <note>
       * <p>This value is available only if the build project's <code>packaging</code>
       * value is set to <code>ZIP</code>.</p> </note>
       */
      inline void SetMd5sum(const Aws::String& value) { m_md5sumHasBeenSet = true; m_md5sum = value; }
  
      /**
       * <p>The MD5 hash of the build artifact.</p> <p>You can use this hash along with a
       * checksum tool to confirm both file integrity and authenticity.</p> <note>
       * <p>This value is available only if the build project's <code>packaging</code>
       * value is set to <code>ZIP</code>.</p> </note>
       */
      inline void SetMd5sum(Aws::String&& value) { m_md5sumHasBeenSet = true; m_md5sum = std::move(value); }
  
      /**
       * <p>The MD5 hash of the build artifact.</p> <p>You can use this hash along with a
       * checksum tool to confirm both file integrity and authenticity.</p> <note>
       * <p>This value is available only if the build project's <code>packaging</code>
       * value is set to <code>ZIP</code>.</p> </note>
       */
      inline void SetMd5sum(const char* value) { m_md5sumHasBeenSet = true; m_md5sum.assign(value); }
  
      /**
       * <p>The MD5 hash of the build artifact.</p> <p>You can use this hash along with a
       * checksum tool to confirm both file integrity and authenticity.</p> <note>
       * <p>This value is available only if the build project's <code>packaging</code>
       * value is set to <code>ZIP</code>.</p> </note>
       */
      inline BuildArtifacts& WithMd5sum(const Aws::String& value) { SetMd5sum(value); return *this;}
  
      /**
       * <p>The MD5 hash of the build artifact.</p> <p>You can use this hash along with a
       * checksum tool to confirm both file integrity and authenticity.</p> <note>
       * <p>This value is available only if the build project's <code>packaging</code>
       * value is set to <code>ZIP</code>.</p> </note>
       */
      inline BuildArtifacts& WithMd5sum(Aws::String&& value) { SetMd5sum(std::move(value)); return *this;}
  
      /**
       * <p>The MD5 hash of the build artifact.</p> <p>You can use this hash along with a
       * checksum tool to confirm both file integrity and authenticity.</p> <note>
       * <p>This value is available only if the build project's <code>packaging</code>
       * value is set to <code>ZIP</code>.</p> </note>
       */
      inline BuildArtifacts& WithMd5sum(const char* value) { SetMd5sum(value); return *this;}
  
    private:
  
      Aws::String m_location;
      bool m_locationHasBeenSet;
  
      Aws::String m_sha256sum;
      bool m_sha256sumHasBeenSet;
  
      Aws::String m_md5sum;
      bool m_md5sumHasBeenSet;
    };
  
  } // namespace Model
  } // namespace CodeBuild
  } // namespace Aws
  