7#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
8#include <aws/codeguru-reviewer/model/KMSKeyDetails.h>
9#include <aws/codeguru-reviewer/model/ProviderType.h>
10#include <aws/codeguru-reviewer/model/RepositoryAssociationState.h>
11#include <aws/codeguru-reviewer/model/S3RepositoryDetails.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
24namespace CodeGuruReviewer {
48 template <
typename AssociationIdT = Aws::String>
50 m_associationIdHasBeenSet =
true;
51 m_associationId = std::forward<AssociationIdT>(value);
53 template <
typename AssociationIdT = Aws::String>
66 template <
typename AssociationArnT = Aws::String>
68 m_associationArnHasBeenSet =
true;
69 m_associationArn = std::forward<AssociationArnT>(value);
71 template <
typename AssociationArnT = Aws::String>
89 template <
typename ConnectionArnT = Aws::String>
91 m_connectionArnHasBeenSet =
true;
92 m_connectionArn = std::forward<ConnectionArnT>(value);
94 template <
typename ConnectionArnT = Aws::String>
107 template <
typename NameT = Aws::String>
109 m_nameHasBeenSet =
true;
110 m_name = std::forward<NameT>(value);
112 template <
typename NameT = Aws::String>
114 SetName(std::forward<NameT>(value));
129 template <
typename OwnerT = Aws::String>
131 m_ownerHasBeenSet =
true;
132 m_owner = std::forward<OwnerT>(value);
134 template <
typename OwnerT = Aws::String>
136 SetOwner(std::forward<OwnerT>(value));
148 m_providerTypeHasBeenSet =
true;
149 m_providerType = value;
185 m_stateHasBeenSet =
true;
200 template <
typename StateReasonT = Aws::String>
202 m_stateReasonHasBeenSet =
true;
203 m_stateReason = std::forward<StateReasonT>(value);
205 template <
typename StateReasonT = Aws::String>
219 template <
typename LastUpdatedTimeStampT = Aws::Utils::DateTime>
221 m_lastUpdatedTimeStampHasBeenSet =
true;
222 m_lastUpdatedTimeStamp = std::forward<LastUpdatedTimeStampT>(value);
224 template <
typename LastUpdatedTimeStampT = Aws::Utils::DateTime>
238 template <
typename CreatedTimeStampT = Aws::Utils::DateTime>
240 m_createdTimeStampHasBeenSet =
true;
241 m_createdTimeStamp = std::forward<CreatedTimeStampT>(value);
243 template <
typename CreatedTimeStampT = Aws::Utils::DateTime>
261 template <
typename KMSKeyDetailsT = KMSKeyDetails>
263 m_kMSKeyDetailsHasBeenSet =
true;
264 m_kMSKeyDetails = std::forward<KMSKeyDetailsT>(value);
266 template <
typename KMSKeyDetailsT = KMSKeyDetails>
277 template <
typename S3RepositoryDetailsT = S3RepositoryDetails>
279 m_s3RepositoryDetailsHasBeenSet =
true;
280 m_s3RepositoryDetails = std::forward<S3RepositoryDetailsT>(value);
282 template <
typename S3RepositoryDetailsT = S3RepositoryDetails>
309 KMSKeyDetails m_kMSKeyDetails;
311 S3RepositoryDetails m_s3RepositoryDetails;
312 bool m_associationIdHasBeenSet =
false;
313 bool m_associationArnHasBeenSet =
false;
314 bool m_connectionArnHasBeenSet =
false;
315 bool m_nameHasBeenSet =
false;
316 bool m_ownerHasBeenSet =
false;
317 bool m_providerTypeHasBeenSet =
false;
318 bool m_stateHasBeenSet =
false;
319 bool m_stateReasonHasBeenSet =
false;
320 bool m_lastUpdatedTimeStampHasBeenSet =
false;
321 bool m_createdTimeStampHasBeenSet =
false;
322 bool m_kMSKeyDetailsHasBeenSet =
false;
323 bool m_s3RepositoryDetailsHasBeenSet =
false;
AWS_CODEGURUREVIEWER_API RepositoryAssociation()=default
const Aws::String & GetConnectionArn() const
void SetS3RepositoryDetails(S3RepositoryDetailsT &&value)
RepositoryAssociation & WithName(NameT &&value)
void SetStateReason(StateReasonT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTimeStamp() const
void SetName(NameT &&value)
bool NameHasBeenSet() const
RepositoryAssociation & WithOwner(OwnerT &&value)
const Aws::String & GetAssociationId() const
void SetProviderType(ProviderType value)
RepositoryAssociation & WithProviderType(ProviderType value)
const Aws::String & GetOwner() const
RepositoryAssociation & WithCreatedTimeStamp(CreatedTimeStampT &&value)
bool AssociationArnHasBeenSet() const
void SetAssociationArn(AssociationArnT &&value)
ProviderType GetProviderType() const
bool StateReasonHasBeenSet() const
RepositoryAssociation & WithConnectionArn(ConnectionArnT &&value)
void SetLastUpdatedTimeStamp(LastUpdatedTimeStampT &&value)
bool LastUpdatedTimeStampHasBeenSet() const
RepositoryAssociation & WithAssociationId(AssociationIdT &&value)
RepositoryAssociation & WithState(RepositoryAssociationState value)
RepositoryAssociation & WithLastUpdatedTimeStamp(LastUpdatedTimeStampT &&value)
RepositoryAssociation & WithStateReason(StateReasonT &&value)
bool S3RepositoryDetailsHasBeenSet() const
bool ConnectionArnHasBeenSet() const
bool StateHasBeenSet() const
RepositoryAssociationState GetState() const
const Aws::String & GetStateReason() const
const KMSKeyDetails & GetKMSKeyDetails() const
void SetConnectionArn(ConnectionArnT &&value)
RepositoryAssociation & WithAssociationArn(AssociationArnT &&value)
RepositoryAssociation & WithS3RepositoryDetails(S3RepositoryDetailsT &&value)
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedTimeStamp() const
void SetAssociationId(AssociationIdT &&value)
void SetKMSKeyDetails(KMSKeyDetailsT &&value)
bool ProviderTypeHasBeenSet() const
void SetCreatedTimeStamp(CreatedTimeStampT &&value)
bool CreatedTimeStampHasBeenSet() const
bool KMSKeyDetailsHasBeenSet() const
AWS_CODEGURUREVIEWER_API RepositoryAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetState(RepositoryAssociationState value)
RepositoryAssociation & WithKMSKeyDetails(KMSKeyDetailsT &&value)
const S3RepositoryDetails & GetS3RepositoryDetails() const
void SetOwner(OwnerT &&value)
const Aws::String & GetAssociationArn() const
AWS_CODEGURUREVIEWER_API RepositoryAssociation(Aws::Utils::Json::JsonView jsonValue)
bool OwnerHasBeenSet() const
const Aws::String & GetName() const
bool AssociationIdHasBeenSet() const
RepositoryAssociationState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue