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
56 inline void SetAssociationId(
const char* value) { m_associationIdHasBeenSet =
true; m_associationId.assign(value); }
70 inline void SetAssociationArn(
const char* value) { m_associationArnHasBeenSet =
true; m_associationArn.assign(value); }
89 inline void SetConnectionArn(
const char* value) { m_connectionArnHasBeenSet =
true; m_connectionArn.assign(value); }
103 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
121 inline void SetOwner(
const char* value) { m_ownerHasBeenSet =
true; m_owner.assign(value); }
180 inline void SetStateReason(
const char* value) { m_stateReasonHasBeenSet =
true; m_stateReason.assign(value); }
241 bool m_associationIdHasBeenSet =
false;
244 bool m_associationArnHasBeenSet =
false;
247 bool m_connectionArnHasBeenSet =
false;
250 bool m_nameHasBeenSet =
false;
253 bool m_ownerHasBeenSet =
false;
256 bool m_providerTypeHasBeenSet =
false;
259 bool m_stateHasBeenSet =
false;
262 bool m_stateReasonHasBeenSet =
false;
265 bool m_lastUpdatedTimeStampHasBeenSet =
false;
268 bool m_createdTimeStampHasBeenSet =
false;
271 bool m_kMSKeyDetailsHasBeenSet =
false;
274 bool m_s3RepositoryDetailsHasBeenSet =
false;
void SetConnectionArn(const char *value)
const Aws::String & GetConnectionArn() const
RepositoryAssociation & WithLastUpdatedTimeStamp(const Aws::Utils::DateTime &value)
const RepositoryAssociationState & GetState() const
RepositoryAssociation & WithName(const Aws::String &value)
void SetCreatedTimeStamp(Aws::Utils::DateTime &&value)
void SetConnectionArn(const Aws::String &value)
RepositoryAssociation & WithAssociationArn(const char *value)
void SetOwner(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedTimeStamp() const
RepositoryAssociation & WithAssociationId(const Aws::String &value)
RepositoryAssociation & WithState(RepositoryAssociationState &&value)
void SetName(const char *value)
RepositoryAssociation & WithAssociationArn(Aws::String &&value)
bool NameHasBeenSet() const
RepositoryAssociation & WithStateReason(const Aws::String &value)
void SetName(Aws::String &&value)
const Aws::String & GetAssociationId() const
RepositoryAssociation & WithOwner(const char *value)
void SetStateReason(Aws::String &&value)
void SetState(const RepositoryAssociationState &value)
RepositoryAssociation & WithStateReason(Aws::String &&value)
RepositoryAssociation & WithKMSKeyDetails(const KMSKeyDetails &value)
const Aws::String & GetOwner() const
void SetName(const Aws::String &value)
void SetKMSKeyDetails(const KMSKeyDetails &value)
bool AssociationArnHasBeenSet() const
void SetOwner(Aws::String &&value)
void SetConnectionArn(Aws::String &&value)
RepositoryAssociation & WithS3RepositoryDetails(const S3RepositoryDetails &value)
RepositoryAssociation & WithConnectionArn(const char *value)
void SetS3RepositoryDetails(const S3RepositoryDetails &value)
void SetS3RepositoryDetails(S3RepositoryDetails &&value)
RepositoryAssociation & WithName(Aws::String &&value)
bool StateReasonHasBeenSet() const
RepositoryAssociation & WithAssociationId(Aws::String &&value)
void SetAssociationArn(const Aws::String &value)
void SetOwner(const char *value)
bool LastUpdatedTimeStampHasBeenSet() const
RepositoryAssociation & WithKMSKeyDetails(KMSKeyDetails &&value)
void SetState(RepositoryAssociationState &&value)
void SetAssociationId(const char *value)
void SetAssociationId(const Aws::String &value)
void SetProviderType(const ProviderType &value)
void SetLastUpdatedTimeStamp(Aws::Utils::DateTime &&value)
bool S3RepositoryDetailsHasBeenSet() const
bool ConnectionArnHasBeenSet() const
RepositoryAssociation & WithState(const RepositoryAssociationState &value)
void SetAssociationArn(Aws::String &&value)
bool StateHasBeenSet() const
RepositoryAssociation & WithCreatedTimeStamp(const Aws::Utils::DateTime &value)
const Aws::String & GetStateReason() const
const KMSKeyDetails & GetKMSKeyDetails() const
RepositoryAssociation & WithStateReason(const char *value)
RepositoryAssociation & WithProviderType(ProviderType &&value)
void SetStateReason(const Aws::String &value)
void SetStateReason(const char *value)
RepositoryAssociation & WithName(const char *value)
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
RepositoryAssociation & WithCreatedTimeStamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedTimeStamp() const
RepositoryAssociation & WithS3RepositoryDetails(S3RepositoryDetails &&value)
void SetLastUpdatedTimeStamp(const Aws::Utils::DateTime &value)
const ProviderType & GetProviderType() const
RepositoryAssociation & WithConnectionArn(const Aws::String &value)
bool ProviderTypeHasBeenSet() const
RepositoryAssociation & WithLastUpdatedTimeStamp(Aws::Utils::DateTime &&value)
bool CreatedTimeStampHasBeenSet() const
RepositoryAssociation & WithOwner(Aws::String &&value)
bool KMSKeyDetailsHasBeenSet() const
AWS_CODEGURUREVIEWER_API RepositoryAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
const S3RepositoryDetails & GetS3RepositoryDetails() const
AWS_CODEGURUREVIEWER_API RepositoryAssociation()
void SetProviderType(ProviderType &&value)
void SetKMSKeyDetails(KMSKeyDetails &&value)
RepositoryAssociation & WithOwner(const Aws::String &value)
void SetAssociationArn(const char *value)
void SetCreatedTimeStamp(const Aws::Utils::DateTime &value)
void SetAssociationId(Aws::String &&value)
const Aws::String & GetAssociationArn() const
RepositoryAssociation & WithConnectionArn(Aws::String &&value)
RepositoryAssociation & WithAssociationArn(const Aws::String &value)
RepositoryAssociation & WithAssociationId(const char *value)
AWS_CODEGURUREVIEWER_API RepositoryAssociation(Aws::Utils::Json::JsonView jsonValue)
RepositoryAssociation & WithProviderType(const ProviderType &value)
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