AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 ThirdPartySourceRepository& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
52
54
62 inline const Aws::String& GetConnectionArn() const { return m_connectionArn; }
63 inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; }
64 template<typename ConnectionArnT = Aws::String>
65 void SetConnectionArn(ConnectionArnT&& value) { m_connectionArnHasBeenSet = true; m_connectionArn = std::forward<ConnectionArnT>(value); }
66 template<typename ConnectionArnT = Aws::String>
67 ThirdPartySourceRepository& WithConnectionArn(ConnectionArnT&& value) { SetConnectionArn(std::forward<ConnectionArnT>(value)); return *this;}
69
71
77 inline const Aws::String& GetOwner() const { return m_owner; }
78 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
79 template<typename OwnerT = Aws::String>
80 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet = true; m_owner = std::forward<OwnerT>(value); }
81 template<typename OwnerT = Aws::String>
82 ThirdPartySourceRepository& WithOwner(OwnerT&& value) { SetOwner(std::forward<OwnerT>(value)); return *this;}
84 private:
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88
89 Aws::String m_connectionArn;
90 bool m_connectionArnHasBeenSet = false;
91
92 Aws::String m_owner;
93 bool m_ownerHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace CodeGuruReviewer
98} // namespace Aws
AWS_CODEGURUREVIEWER_API ThirdPartySourceRepository()=default
AWS_CODEGURUREVIEWER_API ThirdPartySourceRepository(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
ThirdPartySourceRepository & WithConnectionArn(ConnectionArnT &&value)
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