7#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codeguru-reviewer/model/ProviderType.h>
10#include <aws/codeguru-reviewer/model/RepositoryAssociationState.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/codeguru-reviewer/model/KMSKeyDetails.h>
13#include <aws/codeguru-reviewer/model/S3RepositoryDetails.h>
26namespace CodeGuruReviewer
54 template<
typename AssociationIdT = Aws::String>
55 void SetAssociationId(AssociationIdT&& value) { m_associationIdHasBeenSet =
true; m_associationId = std::forward<AssociationIdT>(value); }
56 template<
typename AssociationIdT = Aws::String>
66 template<
typename AssociationArnT = Aws::String>
67 void SetAssociationArn(AssociationArnT&& value) { m_associationArnHasBeenSet =
true; m_associationArn = std::forward<AssociationArnT>(value); }
68 template<
typename AssociationArnT = Aws::String>
83 template<
typename ConnectionArnT = Aws::String>
84 void SetConnectionArn(ConnectionArnT&& value) { m_connectionArnHasBeenSet =
true; m_connectionArn = std::forward<ConnectionArnT>(value); }
85 template<
typename ConnectionArnT = Aws::String>
95 template<
typename NameT = Aws::String>
96 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
97 template<
typename NameT = Aws::String>
111 template<
typename OwnerT = Aws::String>
112 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
113 template<
typename OwnerT = Aws::String>
164 template<
typename StateReasonT = Aws::String>
165 void SetStateReason(StateReasonT&& value) { m_stateReasonHasBeenSet =
true; m_stateReason = std::forward<StateReasonT>(value); }
166 template<
typename StateReasonT = Aws::String>
177 template<
typename LastUpdatedTimeStampT = Aws::Utils::DateTime>
178 void SetLastUpdatedTimeStamp(LastUpdatedTimeStampT&& value) { m_lastUpdatedTimeStampHasBeenSet =
true; m_lastUpdatedTimeStamp = std::forward<LastUpdatedTimeStampT>(value); }
179 template<
typename LastUpdatedTimeStampT = Aws::Utils::DateTime>
190 template<
typename CreatedTimeStampT = Aws::Utils::DateTime>
191 void SetCreatedTimeStamp(CreatedTimeStampT&& value) { m_createdTimeStampHasBeenSet =
true; m_createdTimeStamp = std::forward<CreatedTimeStampT>(value); }
192 template<
typename CreatedTimeStampT = Aws::Utils::DateTime>
207 template<
typename KMSKeyDetailsT = KMSKeyDetails>
208 void SetKMSKeyDetails(KMSKeyDetailsT&& value) { m_kMSKeyDetailsHasBeenSet =
true; m_kMSKeyDetails = std::forward<KMSKeyDetailsT>(value); }
209 template<
typename KMSKeyDetailsT = KMSKeyDetails>
217 template<
typename S3RepositoryDetailsT = S3RepositoryDetails>
218 void SetS3RepositoryDetails(S3RepositoryDetailsT&& value) { m_s3RepositoryDetailsHasBeenSet =
true; m_s3RepositoryDetails = std::forward<S3RepositoryDetailsT>(value); }
219 template<
typename S3RepositoryDetailsT = S3RepositoryDetails>
225 bool m_associationIdHasBeenSet =
false;
228 bool m_associationArnHasBeenSet =
false;
231 bool m_connectionArnHasBeenSet =
false;
234 bool m_nameHasBeenSet =
false;
237 bool m_ownerHasBeenSet =
false;
240 bool m_providerTypeHasBeenSet =
false;
243 bool m_stateHasBeenSet =
false;
246 bool m_stateReasonHasBeenSet =
false;
249 bool m_lastUpdatedTimeStampHasBeenSet =
false;
252 bool m_createdTimeStampHasBeenSet =
false;
254 KMSKeyDetails m_kMSKeyDetails;
255 bool m_kMSKeyDetailsHasBeenSet =
false;
257 S3RepositoryDetails m_s3RepositoryDetails;
258 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