AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBadgeRequestUrl(const Aws::String& value) { m_badgeRequestUrlHasBeenSet = true; m_badgeRequestUrl = value; }
60 inline void SetBadgeRequestUrl(Aws::String&& value) { m_badgeRequestUrlHasBeenSet = true; m_badgeRequestUrl = std::move(value); }
61 inline void SetBadgeRequestUrl(const char* value) { m_badgeRequestUrlHasBeenSet = true; m_badgeRequestUrl.assign(value); }
62 inline ProjectBadge& WithBadgeRequestUrl(const Aws::String& value) { SetBadgeRequestUrl(value); return *this;}
63 inline ProjectBadge& WithBadgeRequestUrl(Aws::String&& value) { SetBadgeRequestUrl(std::move(value)); return *this;}
64 inline ProjectBadge& WithBadgeRequestUrl(const char* value) { SetBadgeRequestUrl(value); return *this;}
66 private:
67
68 bool m_badgeEnabled;
69 bool m_badgeEnabledHasBeenSet = false;
70
71 Aws::String m_badgeRequestUrl;
72 bool m_badgeRequestUrlHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace CodeBuild
77} // namespace Aws
ProjectBadge & WithBadgeRequestUrl(const char *value)
void SetBadgeRequestUrl(Aws::String &&value)
void SetBadgeRequestUrl(const char *value)
ProjectBadge & WithBadgeRequestUrl(const Aws::String &value)
AWS_CODEBUILD_API ProjectBadge(Aws::Utils::Json::JsonView jsonValue)
ProjectBadge & WithBadgeEnabled(bool value)
AWS_CODEBUILD_API ProjectBadge & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBadgeRequestUrl(const Aws::String &value)
const Aws::String & GetBadgeRequestUrl() const
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectBadge & WithBadgeRequestUrl(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue