AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetContext(const Aws::String& value) { m_contextHasBeenSet = true; m_context = value; }
57 inline void SetContext(Aws::String&& value) { m_contextHasBeenSet = true; m_context = std::move(value); }
58 inline void SetContext(const char* value) { m_contextHasBeenSet = true; m_context.assign(value); }
59 inline BuildStatusConfig& WithContext(const Aws::String& value) { SetContext(value); return *this;}
60 inline BuildStatusConfig& WithContext(Aws::String&& value) { SetContext(std::move(value)); return *this;}
61 inline BuildStatusConfig& WithContext(const char* value) { SetContext(value); return *this;}
63
65
77 inline const Aws::String& GetTargetUrl() const{ return m_targetUrl; }
78 inline bool TargetUrlHasBeenSet() const { return m_targetUrlHasBeenSet; }
79 inline void SetTargetUrl(const Aws::String& value) { m_targetUrlHasBeenSet = true; m_targetUrl = value; }
80 inline void SetTargetUrl(Aws::String&& value) { m_targetUrlHasBeenSet = true; m_targetUrl = std::move(value); }
81 inline void SetTargetUrl(const char* value) { m_targetUrlHasBeenSet = true; m_targetUrl.assign(value); }
82 inline BuildStatusConfig& WithTargetUrl(const Aws::String& value) { SetTargetUrl(value); return *this;}
83 inline BuildStatusConfig& WithTargetUrl(Aws::String&& value) { SetTargetUrl(std::move(value)); return *this;}
84 inline BuildStatusConfig& WithTargetUrl(const char* value) { SetTargetUrl(value); return *this;}
86 private:
87
88 Aws::String m_context;
89 bool m_contextHasBeenSet = false;
90
91 Aws::String m_targetUrl;
92 bool m_targetUrlHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace CodeBuild
97} // namespace Aws
void SetTargetUrl(const Aws::String &value)
BuildStatusConfig & WithContext(const Aws::String &value)
BuildStatusConfig & WithTargetUrl(const Aws::String &value)
BuildStatusConfig & WithTargetUrl(const char *value)
const Aws::String & GetTargetUrl() const
AWS_CODEBUILD_API BuildStatusConfig(Aws::Utils::Json::JsonView jsonValue)
void SetContext(const Aws::String &value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
BuildStatusConfig & WithTargetUrl(Aws::String &&value)
BuildStatusConfig & WithContext(const char *value)
BuildStatusConfig & WithContext(Aws::String &&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