AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ThirdPartySourceRepository.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
33 {
34 public:
39
40
44 inline const Aws::String& GetName() const{ return m_name; }
45
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50
54 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65
69 inline ThirdPartySourceRepository& WithName(const Aws::String& value) { SetName(value); return *this;}
70
74 inline ThirdPartySourceRepository& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75
79 inline ThirdPartySourceRepository& WithName(const char* value) { SetName(value); return *this;}
80
81
90 inline const Aws::String& GetConnectionArn() const{ return m_connectionArn; }
91
100 inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; }
101
110 inline void SetConnectionArn(const Aws::String& value) { m_connectionArnHasBeenSet = true; m_connectionArn = value; }
111
120 inline void SetConnectionArn(Aws::String&& value) { m_connectionArnHasBeenSet = true; m_connectionArn = std::move(value); }
121
130 inline void SetConnectionArn(const char* value) { m_connectionArnHasBeenSet = true; m_connectionArn.assign(value); }
131
140 inline ThirdPartySourceRepository& WithConnectionArn(const Aws::String& value) { SetConnectionArn(value); return *this;}
141
150 inline ThirdPartySourceRepository& WithConnectionArn(Aws::String&& value) { SetConnectionArn(std::move(value)); return *this;}
151
160 inline ThirdPartySourceRepository& WithConnectionArn(const char* value) { SetConnectionArn(value); return *this;}
161
162
169 inline const Aws::String& GetOwner() const{ return m_owner; }
170
177 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
178
185 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
186
193 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
194
201 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
202
209 inline ThirdPartySourceRepository& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
210
217 inline ThirdPartySourceRepository& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
218
225 inline ThirdPartySourceRepository& WithOwner(const char* value) { SetOwner(value); return *this;}
226
227 private:
228
229 Aws::String m_name;
230 bool m_nameHasBeenSet = false;
231
232 Aws::String m_connectionArn;
233 bool m_connectionArnHasBeenSet = false;
234
235 Aws::String m_owner;
236 bool m_ownerHasBeenSet = false;
237 };
238
239} // namespace Model
240} // namespace CodeGuruReviewer
241} // namespace Aws
#define AWS_CODEGURUREVIEWER_API
ThirdPartySourceRepository & WithName(Aws::String &&value)
ThirdPartySourceRepository & WithConnectionArn(const char *value)
ThirdPartySourceRepository & WithOwner(const Aws::String &value)
ThirdPartySourceRepository & WithName(const Aws::String &value)
ThirdPartySourceRepository & WithName(const char *value)
AWS_CODEGURUREVIEWER_API ThirdPartySourceRepository(Aws::Utils::Json::JsonView jsonValue)
ThirdPartySourceRepository & WithConnectionArn(Aws::String &&value)
ThirdPartySourceRepository & WithConnectionArn(const Aws::String &value)
ThirdPartySourceRepository & WithOwner(const char *value)
ThirdPartySourceRepository & WithOwner(Aws::String &&value)
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEGURUREVIEWER_API ThirdPartySourceRepository & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String