AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#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 BuildStatusConfig() = default;
36 AWS_CODEBUILD_API BuildStatusConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
54 inline const Aws::String& GetContext() const { return m_context; }
55 inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; }
56 template<typename ContextT = Aws::String>
57 void SetContext(ContextT&& value) { m_contextHasBeenSet = true; m_context = std::forward<ContextT>(value); }
58 template<typename ContextT = Aws::String>
59 BuildStatusConfig& WithContext(ContextT&& value) { SetContext(std::forward<ContextT>(value)); return *this;}
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) { m_targetUrlHasBeenSet = true; m_targetUrl = std::forward<TargetUrlT>(value); }
79 template<typename TargetUrlT = Aws::String>
80 BuildStatusConfig& WithTargetUrl(TargetUrlT&& value) { SetTargetUrl(std::forward<TargetUrlT>(value)); return *this;}
82 private:
83
84 Aws::String m_context;
85 bool m_contextHasBeenSet = false;
86
87 Aws::String m_targetUrl;
88 bool m_targetUrlHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace CodeBuild
93} // 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