AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RepositoryAssociationSummary.h
1
6#pragma once
7#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/codeguru-reviewer/model/ProviderType.h>
11#include <aws/codeguru-reviewer/model/RepositoryAssociationState.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CodeGuruReviewer
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_CODEGURUREVIEWER_API RepositoryAssociationSummary();
41 AWS_CODEGURUREVIEWER_API RepositoryAssociationSummary(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
53 inline const Aws::String& GetAssociationArn() const{ return m_associationArn; }
54 inline bool AssociationArnHasBeenSet() const { return m_associationArnHasBeenSet; }
55 inline void SetAssociationArn(const Aws::String& value) { m_associationArnHasBeenSet = true; m_associationArn = value; }
56 inline void SetAssociationArn(Aws::String&& value) { m_associationArnHasBeenSet = true; m_associationArn = std::move(value); }
57 inline void SetAssociationArn(const char* value) { m_associationArnHasBeenSet = true; m_associationArn.assign(value); }
59 inline RepositoryAssociationSummary& WithAssociationArn(Aws::String&& value) { SetAssociationArn(std::move(value)); return *this;}
60 inline RepositoryAssociationSummary& WithAssociationArn(const char* value) { SetAssociationArn(value); return *this;}
62
64
72 inline const Aws::String& GetConnectionArn() const{ return m_connectionArn; }
73 inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; }
74 inline void SetConnectionArn(const Aws::String& value) { m_connectionArnHasBeenSet = true; m_connectionArn = value; }
75 inline void SetConnectionArn(Aws::String&& value) { m_connectionArnHasBeenSet = true; m_connectionArn = std::move(value); }
76 inline void SetConnectionArn(const char* value) { m_connectionArnHasBeenSet = true; m_connectionArn.assign(value); }
77 inline RepositoryAssociationSummary& WithConnectionArn(const Aws::String& value) { SetConnectionArn(value); return *this;}
78 inline RepositoryAssociationSummary& WithConnectionArn(Aws::String&& value) { SetConnectionArn(std::move(value)); return *this;}
79 inline RepositoryAssociationSummary& WithConnectionArn(const char* value) { SetConnectionArn(value); return *this;}
81
83
87 inline const Aws::Utils::DateTime& GetLastUpdatedTimeStamp() const{ return m_lastUpdatedTimeStamp; }
88 inline bool LastUpdatedTimeStampHasBeenSet() const { return m_lastUpdatedTimeStampHasBeenSet; }
89 inline void SetLastUpdatedTimeStamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeStampHasBeenSet = true; m_lastUpdatedTimeStamp = value; }
90 inline void SetLastUpdatedTimeStamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeStampHasBeenSet = true; m_lastUpdatedTimeStamp = std::move(value); }
94
96
99 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
100 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
101 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
102 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
103 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
104 inline RepositoryAssociationSummary& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
105 inline RepositoryAssociationSummary& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
106 inline RepositoryAssociationSummary& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
108
110
113 inline const Aws::String& GetName() const{ return m_name; }
114 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
115 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
116 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
117 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
118 inline RepositoryAssociationSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
119 inline RepositoryAssociationSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
120 inline RepositoryAssociationSummary& WithName(const char* value) { SetName(value); return *this;}
122
124
131 inline const Aws::String& GetOwner() const{ return m_owner; }
132 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
133 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
134 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
135 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
136 inline RepositoryAssociationSummary& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
137 inline RepositoryAssociationSummary& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
138 inline RepositoryAssociationSummary& WithOwner(const char* value) { SetOwner(value); return *this;}
140
142
145 inline const ProviderType& GetProviderType() const{ return m_providerType; }
146 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
147 inline void SetProviderType(const ProviderType& value) { m_providerTypeHasBeenSet = true; m_providerType = value; }
148 inline void SetProviderType(ProviderType&& value) { m_providerTypeHasBeenSet = true; m_providerType = std::move(value); }
149 inline RepositoryAssociationSummary& WithProviderType(const ProviderType& value) { SetProviderType(value); return *this;}
150 inline RepositoryAssociationSummary& WithProviderType(ProviderType&& value) { SetProviderType(std::move(value)); return *this;}
152
154
178 inline const RepositoryAssociationState& GetState() const{ return m_state; }
179 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
180 inline void SetState(const RepositoryAssociationState& value) { m_stateHasBeenSet = true; m_state = value; }
181 inline void SetState(RepositoryAssociationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
182 inline RepositoryAssociationSummary& WithState(const RepositoryAssociationState& value) { SetState(value); return *this;}
183 inline RepositoryAssociationSummary& WithState(RepositoryAssociationState&& value) { SetState(std::move(value)); return *this;}
185 private:
186
187 Aws::String m_associationArn;
188 bool m_associationArnHasBeenSet = false;
189
190 Aws::String m_connectionArn;
191 bool m_connectionArnHasBeenSet = false;
192
193 Aws::Utils::DateTime m_lastUpdatedTimeStamp;
194 bool m_lastUpdatedTimeStampHasBeenSet = false;
195
196 Aws::String m_associationId;
197 bool m_associationIdHasBeenSet = false;
198
199 Aws::String m_name;
200 bool m_nameHasBeenSet = false;
201
202 Aws::String m_owner;
203 bool m_ownerHasBeenSet = false;
204
205 ProviderType m_providerType;
206 bool m_providerTypeHasBeenSet = false;
207
209 bool m_stateHasBeenSet = false;
210 };
211
212} // namespace Model
213} // namespace CodeGuruReviewer
214} // namespace Aws
RepositoryAssociationSummary & WithAssociationId(const char *value)
RepositoryAssociationSummary & WithName(Aws::String &&value)
RepositoryAssociationSummary & WithAssociationId(Aws::String &&value)
AWS_CODEGURUREVIEWER_API RepositoryAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
RepositoryAssociationSummary & WithAssociationArn(Aws::String &&value)
RepositoryAssociationSummary & WithState(const RepositoryAssociationState &value)
RepositoryAssociationSummary & WithLastUpdatedTimeStamp(Aws::Utils::DateTime &&value)
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
RepositoryAssociationSummary & WithLastUpdatedTimeStamp(const Aws::Utils::DateTime &value)
RepositoryAssociationSummary & WithConnectionArn(const char *value)
RepositoryAssociationSummary & WithAssociationId(const Aws::String &value)
RepositoryAssociationSummary & WithOwner(Aws::String &&value)
RepositoryAssociationSummary & WithOwner(const Aws::String &value)
RepositoryAssociationSummary & WithState(RepositoryAssociationState &&value)
RepositoryAssociationSummary & WithProviderType(const ProviderType &value)
RepositoryAssociationSummary & WithName(const char *value)
RepositoryAssociationSummary & WithAssociationArn(const char *value)
RepositoryAssociationSummary & WithName(const Aws::String &value)
RepositoryAssociationSummary & WithAssociationArn(const Aws::String &value)
RepositoryAssociationSummary & WithOwner(const char *value)
AWS_CODEGURUREVIEWER_API RepositoryAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RepositoryAssociationSummary & WithConnectionArn(const Aws::String &value)
RepositoryAssociationSummary & WithProviderType(ProviderType &&value)
RepositoryAssociationSummary & WithConnectionArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue