AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RepositoryLinkInfo.h
1
6#pragma once
7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codestar-connections/model/ProviderType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CodeStarconnections
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_CODESTARCONNECTIONS_API RepositoryLinkInfo() = default;
38 AWS_CODESTARCONNECTIONS_API RepositoryLinkInfo(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODESTARCONNECTIONS_API RepositoryLinkInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetConnectionArn() const { return m_connectionArn; }
49 inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; }
50 template<typename ConnectionArnT = Aws::String>
51 void SetConnectionArn(ConnectionArnT&& value) { m_connectionArnHasBeenSet = true; m_connectionArn = std::forward<ConnectionArnT>(value); }
52 template<typename ConnectionArnT = Aws::String>
53 RepositoryLinkInfo& WithConnectionArn(ConnectionArnT&& value) { SetConnectionArn(std::forward<ConnectionArnT>(value)); return *this;}
55
57
61 inline const Aws::String& GetEncryptionKeyArn() const { return m_encryptionKeyArn; }
62 inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
63 template<typename EncryptionKeyArnT = Aws::String>
64 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value); }
65 template<typename EncryptionKeyArnT = Aws::String>
66 RepositoryLinkInfo& WithEncryptionKeyArn(EncryptionKeyArnT&& value) { SetEncryptionKeyArn(std::forward<EncryptionKeyArnT>(value)); return *this;}
68
70
74 inline const Aws::String& GetOwnerId() const { return m_ownerId; }
75 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
76 template<typename OwnerIdT = Aws::String>
77 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::forward<OwnerIdT>(value); }
78 template<typename OwnerIdT = Aws::String>
79 RepositoryLinkInfo& WithOwnerId(OwnerIdT&& value) { SetOwnerId(std::forward<OwnerIdT>(value)); return *this;}
81
83
87 inline ProviderType GetProviderType() const { return m_providerType; }
88 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
89 inline void SetProviderType(ProviderType value) { m_providerTypeHasBeenSet = true; m_providerType = value; }
90 inline RepositoryLinkInfo& WithProviderType(ProviderType value) { SetProviderType(value); return *this;}
92
94
97 inline const Aws::String& GetRepositoryLinkArn() const { return m_repositoryLinkArn; }
98 inline bool RepositoryLinkArnHasBeenSet() const { return m_repositoryLinkArnHasBeenSet; }
99 template<typename RepositoryLinkArnT = Aws::String>
100 void SetRepositoryLinkArn(RepositoryLinkArnT&& value) { m_repositoryLinkArnHasBeenSet = true; m_repositoryLinkArn = std::forward<RepositoryLinkArnT>(value); }
101 template<typename RepositoryLinkArnT = Aws::String>
102 RepositoryLinkInfo& WithRepositoryLinkArn(RepositoryLinkArnT&& value) { SetRepositoryLinkArn(std::forward<RepositoryLinkArnT>(value)); return *this;}
104
106
109 inline const Aws::String& GetRepositoryLinkId() const { return m_repositoryLinkId; }
110 inline bool RepositoryLinkIdHasBeenSet() const { return m_repositoryLinkIdHasBeenSet; }
111 template<typename RepositoryLinkIdT = Aws::String>
112 void SetRepositoryLinkId(RepositoryLinkIdT&& value) { m_repositoryLinkIdHasBeenSet = true; m_repositoryLinkId = std::forward<RepositoryLinkIdT>(value); }
113 template<typename RepositoryLinkIdT = Aws::String>
114 RepositoryLinkInfo& WithRepositoryLinkId(RepositoryLinkIdT&& value) { SetRepositoryLinkId(std::forward<RepositoryLinkIdT>(value)); return *this;}
116
118
121 inline const Aws::String& GetRepositoryName() const { return m_repositoryName; }
122 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
123 template<typename RepositoryNameT = Aws::String>
124 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::forward<RepositoryNameT>(value); }
125 template<typename RepositoryNameT = Aws::String>
126 RepositoryLinkInfo& WithRepositoryName(RepositoryNameT&& value) { SetRepositoryName(std::forward<RepositoryNameT>(value)); return *this;}
128 private:
129
130 Aws::String m_connectionArn;
131 bool m_connectionArnHasBeenSet = false;
132
133 Aws::String m_encryptionKeyArn;
134 bool m_encryptionKeyArnHasBeenSet = false;
135
136 Aws::String m_ownerId;
137 bool m_ownerIdHasBeenSet = false;
138
139 ProviderType m_providerType{ProviderType::NOT_SET};
140 bool m_providerTypeHasBeenSet = false;
141
142 Aws::String m_repositoryLinkArn;
143 bool m_repositoryLinkArnHasBeenSet = false;
144
145 Aws::String m_repositoryLinkId;
146 bool m_repositoryLinkIdHasBeenSet = false;
147
148 Aws::String m_repositoryName;
149 bool m_repositoryNameHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace CodeStarconnections
154} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue