/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the build badge for the build project.See
* Also:
AWS
* API Reference
Set this to true to generate a publicly accessible URL for your project's * build badge.
*/ inline bool GetBadgeEnabled() const{ return m_badgeEnabled; } /** *Set this to true to generate a publicly accessible URL for your project's * build badge.
*/ inline bool BadgeEnabledHasBeenSet() const { return m_badgeEnabledHasBeenSet; } /** *Set this to true to generate a publicly accessible URL for your project's * build badge.
*/ inline void SetBadgeEnabled(bool value) { m_badgeEnabledHasBeenSet = true; m_badgeEnabled = value; } /** *Set this to true to generate a publicly accessible URL for your project's * build badge.
*/ inline ProjectBadge& WithBadgeEnabled(bool value) { SetBadgeEnabled(value); return *this;} /** *The publicly-accessible URL through which you can access the build badge for * your project.
*/ inline const Aws::String& GetBadgeRequestUrl() const{ return m_badgeRequestUrl; } /** *The publicly-accessible URL through which you can access the build badge for * your project.
*/ inline bool BadgeRequestUrlHasBeenSet() const { return m_badgeRequestUrlHasBeenSet; } /** *The publicly-accessible URL through which you can access the build badge for * your project.
*/ inline void SetBadgeRequestUrl(const Aws::String& value) { m_badgeRequestUrlHasBeenSet = true; m_badgeRequestUrl = value; } /** *The publicly-accessible URL through which you can access the build badge for * your project.
*/ inline void SetBadgeRequestUrl(Aws::String&& value) { m_badgeRequestUrlHasBeenSet = true; m_badgeRequestUrl = std::move(value); } /** *The publicly-accessible URL through which you can access the build badge for * your project.
*/ inline void SetBadgeRequestUrl(const char* value) { m_badgeRequestUrlHasBeenSet = true; m_badgeRequestUrl.assign(value); } /** *The publicly-accessible URL through which you can access the build badge for * your project.
*/ inline ProjectBadge& WithBadgeRequestUrl(const Aws::String& value) { SetBadgeRequestUrl(value); return *this;} /** *The publicly-accessible URL through which you can access the build badge for * your project.
*/ inline ProjectBadge& WithBadgeRequestUrl(Aws::String&& value) { SetBadgeRequestUrl(std::move(value)); return *this;} /** *The publicly-accessible URL through which you can access the build badge for * your project.
*/ inline ProjectBadge& WithBadgeRequestUrl(const char* value) { SetBadgeRequestUrl(value); return *this;} private: bool m_badgeEnabled; bool m_badgeEnabledHasBeenSet = false; Aws::String m_badgeRequestUrl; bool m_badgeRequestUrlHasBeenSet = false; }; } // namespace Model } // namespace CodeBuild } // namespace Aws