AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
RepositoryLinkInfo.h
1
6#pragma once
7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/codestar-connections/model/ProviderType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CodeStarconnections {
21namespace Model {
22
31 public:
32 AWS_CODESTARCONNECTIONS_API RepositoryLinkInfo() = default;
33 AWS_CODESTARCONNECTIONS_API RepositoryLinkInfo(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CODESTARCONNECTIONS_API RepositoryLinkInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetConnectionArn() const { return m_connectionArn; }
43 inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; }
44 template <typename ConnectionArnT = Aws::String>
45 void SetConnectionArn(ConnectionArnT&& value) {
46 m_connectionArnHasBeenSet = true;
47 m_connectionArn = std::forward<ConnectionArnT>(value);
48 }
49 template <typename ConnectionArnT = Aws::String>
50 RepositoryLinkInfo& WithConnectionArn(ConnectionArnT&& value) {
51 SetConnectionArn(std::forward<ConnectionArnT>(value));
52 return *this;
53 }
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) {
65 m_encryptionKeyArnHasBeenSet = true;
66 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
67 }
68 template <typename EncryptionKeyArnT = Aws::String>
69 RepositoryLinkInfo& WithEncryptionKeyArn(EncryptionKeyArnT&& value) {
70 SetEncryptionKeyArn(std::forward<EncryptionKeyArnT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetOwnerId() const { return m_ownerId; }
81 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
82 template <typename OwnerIdT = Aws::String>
83 void SetOwnerId(OwnerIdT&& value) {
84 m_ownerIdHasBeenSet = true;
85 m_ownerId = std::forward<OwnerIdT>(value);
86 }
87 template <typename OwnerIdT = Aws::String>
88 RepositoryLinkInfo& WithOwnerId(OwnerIdT&& value) {
89 SetOwnerId(std::forward<OwnerIdT>(value));
90 return *this;
91 }
93
95
99 inline ProviderType GetProviderType() const { return m_providerType; }
100 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
101 inline void SetProviderType(ProviderType value) {
102 m_providerTypeHasBeenSet = true;
103 m_providerType = value;
104 }
106 SetProviderType(value);
107 return *this;
108 }
110
112
115 inline const Aws::String& GetRepositoryLinkArn() const { return m_repositoryLinkArn; }
116 inline bool RepositoryLinkArnHasBeenSet() const { return m_repositoryLinkArnHasBeenSet; }
117 template <typename RepositoryLinkArnT = Aws::String>
118 void SetRepositoryLinkArn(RepositoryLinkArnT&& value) {
119 m_repositoryLinkArnHasBeenSet = true;
120 m_repositoryLinkArn = std::forward<RepositoryLinkArnT>(value);
121 }
122 template <typename RepositoryLinkArnT = Aws::String>
123 RepositoryLinkInfo& WithRepositoryLinkArn(RepositoryLinkArnT&& value) {
124 SetRepositoryLinkArn(std::forward<RepositoryLinkArnT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::String& GetRepositoryLinkId() const { return m_repositoryLinkId; }
134 inline bool RepositoryLinkIdHasBeenSet() const { return m_repositoryLinkIdHasBeenSet; }
135 template <typename RepositoryLinkIdT = Aws::String>
136 void SetRepositoryLinkId(RepositoryLinkIdT&& value) {
137 m_repositoryLinkIdHasBeenSet = true;
138 m_repositoryLinkId = std::forward<RepositoryLinkIdT>(value);
139 }
140 template <typename RepositoryLinkIdT = Aws::String>
141 RepositoryLinkInfo& WithRepositoryLinkId(RepositoryLinkIdT&& value) {
142 SetRepositoryLinkId(std::forward<RepositoryLinkIdT>(value));
143 return *this;
144 }
146
148
151 inline const Aws::String& GetRepositoryName() const { return m_repositoryName; }
152 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
153 template <typename RepositoryNameT = Aws::String>
154 void SetRepositoryName(RepositoryNameT&& value) {
155 m_repositoryNameHasBeenSet = true;
156 m_repositoryName = std::forward<RepositoryNameT>(value);
157 }
158 template <typename RepositoryNameT = Aws::String>
159 RepositoryLinkInfo& WithRepositoryName(RepositoryNameT&& value) {
160 SetRepositoryName(std::forward<RepositoryNameT>(value));
161 return *this;
162 }
164 private:
165 Aws::String m_connectionArn;
166
167 Aws::String m_encryptionKeyArn;
168
169 Aws::String m_ownerId;
170
171 ProviderType m_providerType{ProviderType::NOT_SET};
172
173 Aws::String m_repositoryLinkArn;
174
175 Aws::String m_repositoryLinkId;
176
177 Aws::String m_repositoryName;
178 bool m_connectionArnHasBeenSet = false;
179 bool m_encryptionKeyArnHasBeenSet = false;
180 bool m_ownerIdHasBeenSet = false;
181 bool m_providerTypeHasBeenSet = false;
182 bool m_repositoryLinkArnHasBeenSet = false;
183 bool m_repositoryLinkIdHasBeenSet = false;
184 bool m_repositoryNameHasBeenSet = false;
185};
186
187} // namespace Model
188} // namespace CodeStarconnections
189} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue