AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
RepositoryAssociationSummary.h
Go to the documentation of this file.
1
6#pragma once
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:
44
45
52 inline const Aws::String& GetAssociationArn() const{ return m_associationArn; }
53
60 inline bool AssociationArnHasBeenSet() const { return m_associationArnHasBeenSet; }
61
68 inline void SetAssociationArn(const Aws::String& value) { m_associationArnHasBeenSet = true; m_associationArn = value; }
69
76 inline void SetAssociationArn(Aws::String&& value) { m_associationArnHasBeenSet = true; m_associationArn = std::move(value); }
77
84 inline void SetAssociationArn(const char* value) { m_associationArnHasBeenSet = true; m_associationArn.assign(value); }
85
93
100 inline RepositoryAssociationSummary& WithAssociationArn(Aws::String&& value) { SetAssociationArn(std::move(value)); return *this;}
101
108 inline RepositoryAssociationSummary& WithAssociationArn(const char* value) { SetAssociationArn(value); return *this;}
109
110
119 inline const Aws::String& GetConnectionArn() const{ return m_connectionArn; }
120
129 inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; }
130
139 inline void SetConnectionArn(const Aws::String& value) { m_connectionArnHasBeenSet = true; m_connectionArn = value; }
140
149 inline void SetConnectionArn(Aws::String&& value) { m_connectionArnHasBeenSet = true; m_connectionArn = std::move(value); }
150
159 inline void SetConnectionArn(const char* value) { m_connectionArnHasBeenSet = true; m_connectionArn.assign(value); }
160
169 inline RepositoryAssociationSummary& WithConnectionArn(const Aws::String& value) { SetConnectionArn(value); return *this;}
170
179 inline RepositoryAssociationSummary& WithConnectionArn(Aws::String&& value) { SetConnectionArn(std::move(value)); return *this;}
180
189 inline RepositoryAssociationSummary& WithConnectionArn(const char* value) { SetConnectionArn(value); return *this;}
190
191
196 inline const Aws::Utils::DateTime& GetLastUpdatedTimeStamp() const{ return m_lastUpdatedTimeStamp; }
197
202 inline bool LastUpdatedTimeStampHasBeenSet() const { return m_lastUpdatedTimeStampHasBeenSet; }
203
208 inline void SetLastUpdatedTimeStamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeStampHasBeenSet = true; m_lastUpdatedTimeStamp = value; }
209
214 inline void SetLastUpdatedTimeStamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeStampHasBeenSet = true; m_lastUpdatedTimeStamp = std::move(value); }
215
221
227
228
232 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
233
237 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
238
242 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
243
247 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
248
252 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
253
257 inline RepositoryAssociationSummary& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
258
262 inline RepositoryAssociationSummary& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
263
267 inline RepositoryAssociationSummary& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
268
269
273 inline const Aws::String& GetName() const{ return m_name; }
274
278 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
279
283 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
284
288 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
289
293 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
294
298 inline RepositoryAssociationSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
299
303 inline RepositoryAssociationSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
304
308 inline RepositoryAssociationSummary& WithName(const char* value) { SetName(value); return *this;}
309
310
318 inline const Aws::String& GetOwner() const{ return m_owner; }
319
327 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
328
336 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
337
345 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
346
354 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
355
363 inline RepositoryAssociationSummary& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
364
372 inline RepositoryAssociationSummary& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
373
381 inline RepositoryAssociationSummary& WithOwner(const char* value) { SetOwner(value); return *this;}
382
383
387 inline const ProviderType& GetProviderType() const{ return m_providerType; }
388
392 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
393
397 inline void SetProviderType(const ProviderType& value) { m_providerTypeHasBeenSet = true; m_providerType = value; }
398
402 inline void SetProviderType(ProviderType&& value) { m_providerTypeHasBeenSet = true; m_providerType = std::move(value); }
403
407 inline RepositoryAssociationSummary& WithProviderType(const ProviderType& value) { SetProviderType(value); return *this;}
408
412 inline RepositoryAssociationSummary& WithProviderType(ProviderType&& value) { SetProviderType(std::move(value)); return *this;}
413
414
439 inline const RepositoryAssociationState& GetState() const{ return m_state; }
440
465 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
466
491 inline void SetState(const RepositoryAssociationState& value) { m_stateHasBeenSet = true; m_state = value; }
492
517 inline void SetState(RepositoryAssociationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
518
543 inline RepositoryAssociationSummary& WithState(const RepositoryAssociationState& value) { SetState(value); return *this;}
544
569 inline RepositoryAssociationSummary& WithState(RepositoryAssociationState&& value) { SetState(std::move(value)); return *this;}
570
571 private:
572
573 Aws::String m_associationArn;
574 bool m_associationArnHasBeenSet = false;
575
576 Aws::String m_connectionArn;
577 bool m_connectionArnHasBeenSet = false;
578
579 Aws::Utils::DateTime m_lastUpdatedTimeStamp;
580 bool m_lastUpdatedTimeStampHasBeenSet = false;
581
582 Aws::String m_associationId;
583 bool m_associationIdHasBeenSet = false;
584
585 Aws::String m_name;
586 bool m_nameHasBeenSet = false;
587
588 Aws::String m_owner;
589 bool m_ownerHasBeenSet = false;
590
591 ProviderType m_providerType;
592 bool m_providerTypeHasBeenSet = false;
593
595 bool m_stateHasBeenSet = false;
596 };
597
598} // namespace Model
599} // namespace CodeGuruReviewer
600} // namespace Aws
#define AWS_CODEGURUREVIEWER_API
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