AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetConnectionArn(const Aws::String& value) { m_connectionArnHasBeenSet = true; m_connectionArn = value; }
51 inline void SetConnectionArn(Aws::String&& value) { m_connectionArnHasBeenSet = true; m_connectionArn = std::move(value); }
52 inline void SetConnectionArn(const char* value) { m_connectionArnHasBeenSet = true; m_connectionArn.assign(value); }
53 inline RepositoryLinkInfo& WithConnectionArn(const Aws::String& value) { SetConnectionArn(value); return *this;}
54 inline RepositoryLinkInfo& WithConnectionArn(Aws::String&& value) { SetConnectionArn(std::move(value)); return *this;}
55 inline RepositoryLinkInfo& WithConnectionArn(const char* value) { SetConnectionArn(value); return *this;}
57
59
63 inline const Aws::String& GetEncryptionKeyArn() const{ return m_encryptionKeyArn; }
64 inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
65 inline void SetEncryptionKeyArn(const Aws::String& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = value; }
66 inline void SetEncryptionKeyArn(Aws::String&& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = std::move(value); }
67 inline void SetEncryptionKeyArn(const char* value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn.assign(value); }
68 inline RepositoryLinkInfo& WithEncryptionKeyArn(const Aws::String& value) { SetEncryptionKeyArn(value); return *this;}
69 inline RepositoryLinkInfo& WithEncryptionKeyArn(Aws::String&& value) { SetEncryptionKeyArn(std::move(value)); return *this;}
70 inline RepositoryLinkInfo& WithEncryptionKeyArn(const char* value) { SetEncryptionKeyArn(value); return *this;}
72
74
78 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
79 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
80 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
81 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
82 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
83 inline RepositoryLinkInfo& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
84 inline RepositoryLinkInfo& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
85 inline RepositoryLinkInfo& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
87
89
93 inline const ProviderType& GetProviderType() const{ return m_providerType; }
94 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
95 inline void SetProviderType(const ProviderType& value) { m_providerTypeHasBeenSet = true; m_providerType = value; }
96 inline void SetProviderType(ProviderType&& value) { m_providerTypeHasBeenSet = true; m_providerType = std::move(value); }
97 inline RepositoryLinkInfo& WithProviderType(const ProviderType& value) { SetProviderType(value); return *this;}
98 inline RepositoryLinkInfo& WithProviderType(ProviderType&& value) { SetProviderType(std::move(value)); return *this;}
100
102
105 inline const Aws::String& GetRepositoryLinkArn() const{ return m_repositoryLinkArn; }
106 inline bool RepositoryLinkArnHasBeenSet() const { return m_repositoryLinkArnHasBeenSet; }
107 inline void SetRepositoryLinkArn(const Aws::String& value) { m_repositoryLinkArnHasBeenSet = true; m_repositoryLinkArn = value; }
108 inline void SetRepositoryLinkArn(Aws::String&& value) { m_repositoryLinkArnHasBeenSet = true; m_repositoryLinkArn = std::move(value); }
109 inline void SetRepositoryLinkArn(const char* value) { m_repositoryLinkArnHasBeenSet = true; m_repositoryLinkArn.assign(value); }
110 inline RepositoryLinkInfo& WithRepositoryLinkArn(const Aws::String& value) { SetRepositoryLinkArn(value); return *this;}
111 inline RepositoryLinkInfo& WithRepositoryLinkArn(Aws::String&& value) { SetRepositoryLinkArn(std::move(value)); return *this;}
112 inline RepositoryLinkInfo& WithRepositoryLinkArn(const char* value) { SetRepositoryLinkArn(value); return *this;}
114
116
119 inline const Aws::String& GetRepositoryLinkId() const{ return m_repositoryLinkId; }
120 inline bool RepositoryLinkIdHasBeenSet() const { return m_repositoryLinkIdHasBeenSet; }
121 inline void SetRepositoryLinkId(const Aws::String& value) { m_repositoryLinkIdHasBeenSet = true; m_repositoryLinkId = value; }
122 inline void SetRepositoryLinkId(Aws::String&& value) { m_repositoryLinkIdHasBeenSet = true; m_repositoryLinkId = std::move(value); }
123 inline void SetRepositoryLinkId(const char* value) { m_repositoryLinkIdHasBeenSet = true; m_repositoryLinkId.assign(value); }
124 inline RepositoryLinkInfo& WithRepositoryLinkId(const Aws::String& value) { SetRepositoryLinkId(value); return *this;}
125 inline RepositoryLinkInfo& WithRepositoryLinkId(Aws::String&& value) { SetRepositoryLinkId(std::move(value)); return *this;}
126 inline RepositoryLinkInfo& WithRepositoryLinkId(const char* value) { SetRepositoryLinkId(value); return *this;}
128
130
133 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
134 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
135 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
136 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
137 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
138 inline RepositoryLinkInfo& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
139 inline RepositoryLinkInfo& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
140 inline RepositoryLinkInfo& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
142 private:
143
144 Aws::String m_connectionArn;
145 bool m_connectionArnHasBeenSet = false;
146
147 Aws::String m_encryptionKeyArn;
148 bool m_encryptionKeyArnHasBeenSet = false;
149
150 Aws::String m_ownerId;
151 bool m_ownerIdHasBeenSet = false;
152
153 ProviderType m_providerType;
154 bool m_providerTypeHasBeenSet = false;
155
156 Aws::String m_repositoryLinkArn;
157 bool m_repositoryLinkArnHasBeenSet = false;
158
159 Aws::String m_repositoryLinkId;
160 bool m_repositoryLinkIdHasBeenSet = false;
161
162 Aws::String m_repositoryName;
163 bool m_repositoryNameHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace CodeStarconnections
168} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue