AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
BuildStatusConfig.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 BuildStatusConfig() = default;
31 AWS_CODEBUILD_API BuildStatusConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
48 inline const Aws::String& GetContext() const { return m_context; }
49 inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; }
50 template <typename ContextT = Aws::String>
51 void SetContext(ContextT&& value) {
52 m_contextHasBeenSet = true;
53 m_context = std::forward<ContextT>(value);
54 }
55 template <typename ContextT = Aws::String>
56 BuildStatusConfig& WithContext(ContextT&& value) {
57 SetContext(std::forward<ContextT>(value));
58 return *this;
59 }
61
63
75 inline const Aws::String& GetTargetUrl() const { return m_targetUrl; }
76 inline bool TargetUrlHasBeenSet() const { return m_targetUrlHasBeenSet; }
77 template <typename TargetUrlT = Aws::String>
78 void SetTargetUrl(TargetUrlT&& value) {
79 m_targetUrlHasBeenSet = true;
80 m_targetUrl = std::forward<TargetUrlT>(value);
81 }
82 template <typename TargetUrlT = Aws::String>
83 BuildStatusConfig& WithTargetUrl(TargetUrlT&& value) {
84 SetTargetUrl(std::forward<TargetUrlT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_context;
90
91 Aws::String m_targetUrl;
92 bool m_contextHasBeenSet = false;
93 bool m_targetUrlHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace CodeBuild
98} // namespace Aws
BuildStatusConfig & WithContext(ContextT &&value)
const Aws::String & GetTargetUrl() const
AWS_CODEBUILD_API BuildStatusConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEBUILD_API BuildStatusConfig()=default
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
BuildStatusConfig & WithTargetUrl(TargetUrlT &&value)
AWS_CODEBUILD_API BuildStatusConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue