AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ThirdPartySourceRepository.h
1
6#pragma once
7#include <aws/codeguru-reviewer/CodeGuruReviewer_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 CodeGuruReviewer
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CODEGURUREVIEWER_API ThirdPartySourceRepository();
36 AWS_CODEGURUREVIEWER_API ThirdPartySourceRepository(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline ThirdPartySourceRepository& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline ThirdPartySourceRepository& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline ThirdPartySourceRepository& WithName(const char* value) { SetName(value); return *this;}
54
56
64 inline const Aws::String& GetConnectionArn() const{ return m_connectionArn; }
65 inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; }
66 inline void SetConnectionArn(const Aws::String& value) { m_connectionArnHasBeenSet = true; m_connectionArn = value; }
67 inline void SetConnectionArn(Aws::String&& value) { m_connectionArnHasBeenSet = true; m_connectionArn = std::move(value); }
68 inline void SetConnectionArn(const char* value) { m_connectionArnHasBeenSet = true; m_connectionArn.assign(value); }
69 inline ThirdPartySourceRepository& WithConnectionArn(const Aws::String& value) { SetConnectionArn(value); return *this;}
70 inline ThirdPartySourceRepository& WithConnectionArn(Aws::String&& value) { SetConnectionArn(std::move(value)); return *this;}
71 inline ThirdPartySourceRepository& WithConnectionArn(const char* value) { SetConnectionArn(value); return *this;}
73
75
81 inline const Aws::String& GetOwner() const{ return m_owner; }
82 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
83 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
84 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
85 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
86 inline ThirdPartySourceRepository& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
87 inline ThirdPartySourceRepository& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
88 inline ThirdPartySourceRepository& WithOwner(const char* value) { SetOwner(value); return *this;}
90 private:
91
92 Aws::String m_name;
93 bool m_nameHasBeenSet = false;
94
95 Aws::String m_connectionArn;
96 bool m_connectionArnHasBeenSet = false;
97
98 Aws::String m_owner;
99 bool m_ownerHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace CodeGuruReviewer
104} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue