AWS SDK for C++

AWS SDK for C++ Version 1.11.718

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CodeBuild {
20namespace Model {
21
29 public:
30 AWS_CODEBUILD_API ProjectBadge() = default;
31 AWS_CODEBUILD_API ProjectBadge(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CODEBUILD_API ProjectBadge& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline bool GetBadgeEnabled() const { return m_badgeEnabled; }
41 inline bool BadgeEnabledHasBeenSet() const { return m_badgeEnabledHasBeenSet; }
42 inline void SetBadgeEnabled(bool value) {
43 m_badgeEnabledHasBeenSet = true;
44 m_badgeEnabled = value;
45 }
46 inline ProjectBadge& WithBadgeEnabled(bool value) {
47 SetBadgeEnabled(value);
48 return *this;
49 }
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) {
61 m_badgeRequestUrlHasBeenSet = true;
62 m_badgeRequestUrl = std::forward<BadgeRequestUrlT>(value);
63 }
64 template <typename BadgeRequestUrlT = Aws::String>
65 ProjectBadge& WithBadgeRequestUrl(BadgeRequestUrlT&& value) {
66 SetBadgeRequestUrl(std::forward<BadgeRequestUrlT>(value));
67 return *this;
68 }
70 private:
71 bool m_badgeEnabled{false};
72
73 Aws::String m_badgeRequestUrl;
74 bool m_badgeEnabledHasBeenSet = false;
75 bool m_badgeRequestUrlHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace CodeBuild
80} // 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