AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ProjectBadge.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeBuild
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CODEBUILD_API ProjectBadge() = default;
36 AWS_CODEBUILD_API ProjectBadge(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODEBUILD_API ProjectBadge& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline bool GetBadgeEnabled() const { return m_badgeEnabled; }
47 inline bool BadgeEnabledHasBeenSet() const { return m_badgeEnabledHasBeenSet; }
48 inline void SetBadgeEnabled(bool value) { m_badgeEnabledHasBeenSet = true; m_badgeEnabled = value; }
49 inline ProjectBadge& WithBadgeEnabled(bool value) { SetBadgeEnabled(value); return *this;}
51
53
57 inline const Aws::String& GetBadgeRequestUrl() const { return m_badgeRequestUrl; }
58 inline bool BadgeRequestUrlHasBeenSet() const { return m_badgeRequestUrlHasBeenSet; }
59 template<typename BadgeRequestUrlT = Aws::String>
60 void SetBadgeRequestUrl(BadgeRequestUrlT&& value) { m_badgeRequestUrlHasBeenSet = true; m_badgeRequestUrl = std::forward<BadgeRequestUrlT>(value); }
61 template<typename BadgeRequestUrlT = Aws::String>
62 ProjectBadge& WithBadgeRequestUrl(BadgeRequestUrlT&& value) { SetBadgeRequestUrl(std::forward<BadgeRequestUrlT>(value)); return *this;}
64 private:
65
66 bool m_badgeEnabled{false};
67 bool m_badgeEnabledHasBeenSet = false;
68
69 Aws::String m_badgeRequestUrl;
70 bool m_badgeRequestUrlHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace CodeBuild
75} // namespace Aws
AWS_CODEBUILD_API ProjectBadge(Aws::Utils::Json::JsonView jsonValue)
ProjectBadge & WithBadgeEnabled(bool value)
AWS_CODEBUILD_API ProjectBadge & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBadgeRequestUrl() const
void SetBadgeRequestUrl(BadgeRequestUrlT &&value)
AWS_CODEBUILD_API ProjectBadge()=default
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectBadge & WithBadgeRequestUrl(BadgeRequestUrlT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue