AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CodeCommitRepository.h
Go to the documentation of this file.
1
6#pragma once
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 CodeGuruReviewer
22{
23namespace Model
24{
25
35 {
36 public:
41
42
49 inline const Aws::String& GetName() const{ return m_name; }
50
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58
65 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
66
73 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
74
81 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
82
89 inline CodeCommitRepository& WithName(const Aws::String& value) { SetName(value); return *this;}
90
97 inline CodeCommitRepository& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
98
105 inline CodeCommitRepository& WithName(const char* value) { SetName(value); return *this;}
106
107 private:
108
109 Aws::String m_name;
110 bool m_nameHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace CodeGuruReviewer
115} // namespace Aws
#define AWS_CODEGURUREVIEWER_API
CodeCommitRepository & WithName(const Aws::String &value)
AWS_CODEGURUREVIEWER_API CodeCommitRepository & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
CodeCommitRepository & WithName(const char *value)
AWS_CODEGURUREVIEWER_API CodeCommitRepository(Aws::Utils::Json::JsonView jsonValue)
CodeCommitRepository & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String