From 12f3db40fbc628c005b975f1912c90bbbea0e654 Mon Sep 17 00:00:00 2001
From: aws-sdk-cpp-automation This section provides documentation for the Amazon CodeGuru Reviewer API
@@ -123,10 +153,10 @@ namespace Model
/**
* Associates an AWS CodeCommit repository with Amazon CodeGuru Reviewer. When
* you associate an AWS CodeCommit repository with Amazon CodeGuru Reviewer, Amazon
- * CodeGuru Reviewer will provide recommendations for each pull request. You can
- * view recommendations in the AWS CodeCommit repository. You can associate
- * a GitHub repository using the Amazon CodeGuru Reviewer console. You can associate a GitHub repository using the Amazon
+ * CodeGuru Reviewer console.See
- * Also:
See Also:
AWS
* API Reference
Associates an AWS CodeCommit repository with Amazon CodeGuru Reviewer. When * you associate an AWS CodeCommit repository with Amazon CodeGuru Reviewer, Amazon - * CodeGuru Reviewer will provide recommendations for each pull request. You can - * view recommendations in the AWS CodeCommit repository.
You can associate - * a GitHub repository using the Amazon CodeGuru Reviewer console.
You can associate a GitHub repository using the Amazon + * CodeGuru Reviewer console.
Associates an AWS CodeCommit repository with Amazon CodeGuru Reviewer. When * you associate an AWS CodeCommit repository with Amazon CodeGuru Reviewer, Amazon - * CodeGuru Reviewer will provide recommendations for each pull request. You can - * view recommendations in the AWS CodeCommit repository.
You can associate - * a GitHub repository using the Amazon CodeGuru Reviewer console.
You can associate a GitHub repository using the Amazon + * CodeGuru Reviewer console.
Returns the metadaata associated with the code review along with its + * status.
Returns the metadaata associated with the code review along with its + * status.
Returns the metadaata associated with the code review along with its + * status.
Describes the customer feedback for a CodeGuru Reviewer recommendation. + *
Describes the customer feedback for a CodeGuru Reviewer recommendation. + *
Describes the customer feedback for a CodeGuru Reviewer recommendation. + *
Describes a repository association.
Lists all the code reviews that the customer has created in the past 90 + * days.
Lists all the code reviews that the customer has created in the past 90 + * days.
Lists all the code reviews that the customer has created in the past 90 + * days.
Lists the customer feedback for a CodeGuru Reviewer recommendation for all + * users. This API will be used from the console to extract the previously given + * feedback by the user to pre-populate the feedback emojis for all + * recommendations.
Lists the customer feedback for a CodeGuru Reviewer recommendation for all + * users. This API will be used from the console to extract the previously given + * feedback by the user to pre-populate the feedback emojis for all + * recommendations.
Lists the customer feedback for a CodeGuru Reviewer recommendation for all + * users. This API will be used from the console to extract the previously given + * feedback by the user to pre-populate the feedback emojis for all + * recommendations.
Returns the list of all recommendations for a completed code review. + *
Returns the list of all recommendations for a completed code review. + *
Returns the list of all recommendations for a completed code review. + *
Lists repository associations. You can optionally filter on one or more of
* the following recommendation properties: provider types, states, names, and
@@ -244,14 +420,51 @@ namespace Model
*/
virtual void ListRepositoryAssociationsAsync(const Model::ListRepositoryAssociationsRequest& request, const ListRepositoryAssociationsResponseReceivedHandler& handler, const std::shared_ptr Stores customer feedback for a CodeGuru-Reviewer recommendation. When this
+ * API is called again with different reactions the previous feedback is
+ * overwritten. See Also:
AWS
+ * API Reference
Stores customer feedback for a CodeGuru-Reviewer recommendation. When this + * API is called again with different reactions the previous feedback is + * overwritten.
Stores customer feedback for a CodeGuru-Reviewer recommendation. When this + * API is called again with different reactions the previous feedback is + * overwritten.
Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.
If you want to add a new repository association, this - * parameter specifies a unique identifier for the new repository association that - * helps ensure idempotency.
If you use the AWS CLI or one of the AWS SDK to - * call this operation, then you can leave this parameter empty. The CLI or SDK - * generates a random UUID for you and includes that in the request. If you don't - * use the SDK and instead generate a raw HTTP request to the Secrets Manager - * service endpoint, then you must generate a ClientRequestToken yourself for new - * versions and include that value in the request.
You typically only need - * to interact with this value if you implement your own retry logic and want to - * ensure that a given repository association is not created twice. We recommend - * that you generate a UUID-type value to ensure uniqueness within the specified - * repository association.
Amazon CodeGuru Reviewer uses this value to - * prevent the accidental creation of duplicate repository associations if there - * are failures and retries.
+ * of the request.To add a new repository association, this parameter + * specifies a unique identifier for the new repository association that helps + * ensure idempotency.
If you use the AWS CLI or one of the AWS SDKs to call + * this operation, you can leave this parameter empty. The CLI or SDK generates a + * random UUID for you and includes that in the request. If you don't use the SDK + * and instead generate a raw HTTP request to the Secrets Manager service endpoint, + * you must generate a ClientRequestToken yourself for new versions and include + * that value in the request.
You typically interact with this value if you + * implement your own retry logic and want to ensure that a given repository + * association is not created twice. We recommend that you generate a UUID-type + * value to ensure uniqueness within the specified repository association.
+ *Amazon CodeGuru Reviewer uses this value to prevent the accidental creation + * of duplicate repository associations if there are failures and retries.
*/ inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } /** *Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.
If you want to add a new repository association, this - * parameter specifies a unique identifier for the new repository association that - * helps ensure idempotency.
If you use the AWS CLI or one of the AWS SDK to - * call this operation, then you can leave this parameter empty. The CLI or SDK - * generates a random UUID for you and includes that in the request. If you don't - * use the SDK and instead generate a raw HTTP request to the Secrets Manager - * service endpoint, then you must generate a ClientRequestToken yourself for new - * versions and include that value in the request.
You typically only need - * to interact with this value if you implement your own retry logic and want to - * ensure that a given repository association is not created twice. We recommend - * that you generate a UUID-type value to ensure uniqueness within the specified - * repository association.
Amazon CodeGuru Reviewer uses this value to - * prevent the accidental creation of duplicate repository associations if there - * are failures and retries.
+ * of the request.To add a new repository association, this parameter + * specifies a unique identifier for the new repository association that helps + * ensure idempotency.
If you use the AWS CLI or one of the AWS SDKs to call + * this operation, you can leave this parameter empty. The CLI or SDK generates a + * random UUID for you and includes that in the request. If you don't use the SDK + * and instead generate a raw HTTP request to the Secrets Manager service endpoint, + * you must generate a ClientRequestToken yourself for new versions and include + * that value in the request.
You typically interact with this value if you + * implement your own retry logic and want to ensure that a given repository + * association is not created twice. We recommend that you generate a UUID-type + * value to ensure uniqueness within the specified repository association.
+ *Amazon CodeGuru Reviewer uses this value to prevent the accidental creation + * of duplicate repository associations if there are failures and retries.
*/ inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } /** *Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.
If you want to add a new repository association, this - * parameter specifies a unique identifier for the new repository association that - * helps ensure idempotency.
If you use the AWS CLI or one of the AWS SDK to - * call this operation, then you can leave this parameter empty. The CLI or SDK - * generates a random UUID for you and includes that in the request. If you don't - * use the SDK and instead generate a raw HTTP request to the Secrets Manager - * service endpoint, then you must generate a ClientRequestToken yourself for new - * versions and include that value in the request.
You typically only need - * to interact with this value if you implement your own retry logic and want to - * ensure that a given repository association is not created twice. We recommend - * that you generate a UUID-type value to ensure uniqueness within the specified - * repository association.
Amazon CodeGuru Reviewer uses this value to - * prevent the accidental creation of duplicate repository associations if there - * are failures and retries.
+ * of the request.To add a new repository association, this parameter + * specifies a unique identifier for the new repository association that helps + * ensure idempotency.
If you use the AWS CLI or one of the AWS SDKs to call + * this operation, you can leave this parameter empty. The CLI or SDK generates a + * random UUID for you and includes that in the request. If you don't use the SDK + * and instead generate a raw HTTP request to the Secrets Manager service endpoint, + * you must generate a ClientRequestToken yourself for new versions and include + * that value in the request.
You typically interact with this value if you + * implement your own retry logic and want to ensure that a given repository + * association is not created twice. We recommend that you generate a UUID-type + * value to ensure uniqueness within the specified repository association.
+ *Amazon CodeGuru Reviewer uses this value to prevent the accidental creation + * of duplicate repository associations if there are failures and retries.
*/ inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } /** *Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.
If you want to add a new repository association, this - * parameter specifies a unique identifier for the new repository association that - * helps ensure idempotency.
If you use the AWS CLI or one of the AWS SDK to - * call this operation, then you can leave this parameter empty. The CLI or SDK - * generates a random UUID for you and includes that in the request. If you don't - * use the SDK and instead generate a raw HTTP request to the Secrets Manager - * service endpoint, then you must generate a ClientRequestToken yourself for new - * versions and include that value in the request.
You typically only need - * to interact with this value if you implement your own retry logic and want to - * ensure that a given repository association is not created twice. We recommend - * that you generate a UUID-type value to ensure uniqueness within the specified - * repository association.
Amazon CodeGuru Reviewer uses this value to - * prevent the accidental creation of duplicate repository associations if there - * are failures and retries.
+ * of the request.To add a new repository association, this parameter + * specifies a unique identifier for the new repository association that helps + * ensure idempotency.
If you use the AWS CLI or one of the AWS SDKs to call + * this operation, you can leave this parameter empty. The CLI or SDK generates a + * random UUID for you and includes that in the request. If you don't use the SDK + * and instead generate a raw HTTP request to the Secrets Manager service endpoint, + * you must generate a ClientRequestToken yourself for new versions and include + * that value in the request.
You typically interact with this value if you + * implement your own retry logic and want to ensure that a given repository + * association is not created twice. We recommend that you generate a UUID-type + * value to ensure uniqueness within the specified repository association.
+ *Amazon CodeGuru Reviewer uses this value to prevent the accidental creation + * of duplicate repository associations if there are failures and retries.
*/ inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } /** *Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.
If you want to add a new repository association, this - * parameter specifies a unique identifier for the new repository association that - * helps ensure idempotency.
If you use the AWS CLI or one of the AWS SDK to - * call this operation, then you can leave this parameter empty. The CLI or SDK - * generates a random UUID for you and includes that in the request. If you don't - * use the SDK and instead generate a raw HTTP request to the Secrets Manager - * service endpoint, then you must generate a ClientRequestToken yourself for new - * versions and include that value in the request.
You typically only need - * to interact with this value if you implement your own retry logic and want to - * ensure that a given repository association is not created twice. We recommend - * that you generate a UUID-type value to ensure uniqueness within the specified - * repository association.
Amazon CodeGuru Reviewer uses this value to - * prevent the accidental creation of duplicate repository associations if there - * are failures and retries.
+ * of the request.To add a new repository association, this parameter + * specifies a unique identifier for the new repository association that helps + * ensure idempotency.
If you use the AWS CLI or one of the AWS SDKs to call + * this operation, you can leave this parameter empty. The CLI or SDK generates a + * random UUID for you and includes that in the request. If you don't use the SDK + * and instead generate a raw HTTP request to the Secrets Manager service endpoint, + * you must generate a ClientRequestToken yourself for new versions and include + * that value in the request.
You typically interact with this value if you + * implement your own retry logic and want to ensure that a given repository + * association is not created twice. We recommend that you generate a UUID-type + * value to ensure uniqueness within the specified repository association.
+ *Amazon CodeGuru Reviewer uses this value to prevent the accidental creation + * of duplicate repository associations if there are failures and retries.
*/ inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } /** *Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.
If you want to add a new repository association, this - * parameter specifies a unique identifier for the new repository association that - * helps ensure idempotency.
If you use the AWS CLI or one of the AWS SDK to - * call this operation, then you can leave this parameter empty. The CLI or SDK - * generates a random UUID for you and includes that in the request. If you don't - * use the SDK and instead generate a raw HTTP request to the Secrets Manager - * service endpoint, then you must generate a ClientRequestToken yourself for new - * versions and include that value in the request.
You typically only need - * to interact with this value if you implement your own retry logic and want to - * ensure that a given repository association is not created twice. We recommend - * that you generate a UUID-type value to ensure uniqueness within the specified - * repository association.
Amazon CodeGuru Reviewer uses this value to - * prevent the accidental creation of duplicate repository associations if there - * are failures and retries.
+ * of the request.To add a new repository association, this parameter + * specifies a unique identifier for the new repository association that helps + * ensure idempotency.
If you use the AWS CLI or one of the AWS SDKs to call + * this operation, you can leave this parameter empty. The CLI or SDK generates a + * random UUID for you and includes that in the request. If you don't use the SDK + * and instead generate a raw HTTP request to the Secrets Manager service endpoint, + * you must generate a ClientRequestToken yourself for new versions and include + * that value in the request.
You typically interact with this value if you + * implement your own retry logic and want to ensure that a given repository + * association is not created twice. We recommend that you generate a UUID-type + * value to ensure uniqueness within the specified repository association.
+ *Amazon CodeGuru Reviewer uses this value to prevent the accidental creation + * of duplicate repository associations if there are failures and retries.
*/ inline AssociateRepositoryRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} /** *Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.
If you want to add a new repository association, this - * parameter specifies a unique identifier for the new repository association that - * helps ensure idempotency.
If you use the AWS CLI or one of the AWS SDK to - * call this operation, then you can leave this parameter empty. The CLI or SDK - * generates a random UUID for you and includes that in the request. If you don't - * use the SDK and instead generate a raw HTTP request to the Secrets Manager - * service endpoint, then you must generate a ClientRequestToken yourself for new - * versions and include that value in the request.
You typically only need - * to interact with this value if you implement your own retry logic and want to - * ensure that a given repository association is not created twice. We recommend - * that you generate a UUID-type value to ensure uniqueness within the specified - * repository association.
Amazon CodeGuru Reviewer uses this value to - * prevent the accidental creation of duplicate repository associations if there - * are failures and retries.
+ * of the request.To add a new repository association, this parameter + * specifies a unique identifier for the new repository association that helps + * ensure idempotency.
If you use the AWS CLI or one of the AWS SDKs to call + * this operation, you can leave this parameter empty. The CLI or SDK generates a + * random UUID for you and includes that in the request. If you don't use the SDK + * and instead generate a raw HTTP request to the Secrets Manager service endpoint, + * you must generate a ClientRequestToken yourself for new versions and include + * that value in the request.
You typically interact with this value if you + * implement your own retry logic and want to ensure that a given repository + * association is not created twice. We recommend that you generate a UUID-type + * value to ensure uniqueness within the specified repository association.
+ *Amazon CodeGuru Reviewer uses this value to prevent the accidental creation + * of duplicate repository associations if there are failures and retries.
*/ inline AssociateRepositoryRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} /** *Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.
If you want to add a new repository association, this - * parameter specifies a unique identifier for the new repository association that - * helps ensure idempotency.
If you use the AWS CLI or one of the AWS SDK to - * call this operation, then you can leave this parameter empty. The CLI or SDK - * generates a random UUID for you and includes that in the request. If you don't - * use the SDK and instead generate a raw HTTP request to the Secrets Manager - * service endpoint, then you must generate a ClientRequestToken yourself for new - * versions and include that value in the request.
You typically only need - * to interact with this value if you implement your own retry logic and want to - * ensure that a given repository association is not created twice. We recommend - * that you generate a UUID-type value to ensure uniqueness within the specified - * repository association.
Amazon CodeGuru Reviewer uses this value to - * prevent the accidental creation of duplicate repository associations if there - * are failures and retries.
+ * of the request.To add a new repository association, this parameter + * specifies a unique identifier for the new repository association that helps + * ensure idempotency.
If you use the AWS CLI or one of the AWS SDKs to call + * this operation, you can leave this parameter empty. The CLI or SDK generates a + * random UUID for you and includes that in the request. If you don't use the SDK + * and instead generate a raw HTTP request to the Secrets Manager service endpoint, + * you must generate a ClientRequestToken yourself for new versions and include + * that value in the request.
You typically interact with this value if you + * implement your own retry logic and want to ensure that a given repository + * association is not created twice. We recommend that you generate a UUID-type + * value to ensure uniqueness within the specified repository association.
+ *Amazon CodeGuru Reviewer uses this value to prevent the accidental creation + * of duplicate repository associations if there are failures and retries.
*/ inline AssociateRepositoryRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} diff --git a/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/CodeReview.h b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/CodeReview.h new file mode 100644 index 00000000000..0ab83d57adb --- /dev/null +++ b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/CodeReview.h @@ -0,0 +1,574 @@ +/* +* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ + +#pragma once +#includeInformation about a code review.
The name of the code review.
+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *The name of the code review.
+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *The name of the code review.
+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *The name of the code review.
+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *The name of the code review.
+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *The name of the code review.
+ */ + inline CodeReview& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *The name of the code review.
+ */ + inline CodeReview& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *The name of the code review.
+ */ + inline CodeReview& WithName(const char* value) { SetName(value); return *this;} + + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline const Aws::String& GetCodeReviewArn() const{ return m_codeReviewArn; } + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline bool CodeReviewArnHasBeenSet() const { return m_codeReviewArnHasBeenSet; } + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline void SetCodeReviewArn(const Aws::String& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = value; } + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline void SetCodeReviewArn(Aws::String&& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = std::move(value); } + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline void SetCodeReviewArn(const char* value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn.assign(value); } + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline CodeReview& WithCodeReviewArn(const Aws::String& value) { SetCodeReviewArn(value); return *this;} + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline CodeReview& WithCodeReviewArn(Aws::String&& value) { SetCodeReviewArn(std::move(value)); return *this;} + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline CodeReview& WithCodeReviewArn(const char* value) { SetCodeReviewArn(value); return *this;} + + + /** + *The name of the repository.
+ */ + inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } + + /** + *The name of the repository.
+ */ + inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; } + + /** + *The name of the repository.
+ */ + inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } + + /** + *The name of the repository.
+ */ + inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); } + + /** + *The name of the repository.
+ */ + inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } + + /** + *The name of the repository.
+ */ + inline CodeReview& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} + + /** + *The name of the repository.
+ */ + inline CodeReview& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;} + + /** + *The name of the repository.
+ */ + inline CodeReview& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} + + + /** + *The owner of the repository.
+ */ + inline const Aws::String& GetOwner() const{ return m_owner; } + + /** + *The owner of the repository.
+ */ + inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } + + /** + *The owner of the repository.
+ */ + inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } + + /** + *The owner of the repository.
+ */ + inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } + + /** + *The owner of the repository.
+ */ + inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } + + /** + *The owner of the repository.
+ */ + inline CodeReview& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} + + /** + *The owner of the repository.
+ */ + inline CodeReview& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} + + /** + *The owner of the repository.
+ */ + inline CodeReview& WithOwner(const char* value) { SetOwner(value); return *this;} + + + /** + *The provider type of the repository association.
+ */ + inline const ProviderType& GetProviderType() const{ return m_providerType; } + + /** + *The provider type of the repository association.
+ */ + inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; } + + /** + *The provider type of the repository association.
+ */ + inline void SetProviderType(const ProviderType& value) { m_providerTypeHasBeenSet = true; m_providerType = value; } + + /** + *The provider type of the repository association.
+ */ + inline void SetProviderType(ProviderType&& value) { m_providerTypeHasBeenSet = true; m_providerType = std::move(value); } + + /** + *The provider type of the repository association.
+ */ + inline CodeReview& WithProviderType(const ProviderType& value) { SetProviderType(value); return *this;} + + /** + *The provider type of the repository association.
+ */ + inline CodeReview& WithProviderType(ProviderType&& value) { SetProviderType(std::move(value)); return *this;} + + + /** + *The state of the code review.
+ */ + inline const JobState& GetState() const{ return m_state; } + + /** + *The state of the code review.
+ */ + inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } + + /** + *The state of the code review.
+ */ + inline void SetState(const JobState& value) { m_stateHasBeenSet = true; m_state = value; } + + /** + *The state of the code review.
+ */ + inline void SetState(JobState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } + + /** + *The state of the code review.
+ */ + inline CodeReview& WithState(const JobState& value) { SetState(value); return *this;} + + /** + *The state of the code review.
+ */ + inline CodeReview& WithState(JobState&& value) { SetState(std::move(value)); return *this;} + + + /** + *The reason for the state of the code review.
+ */ + inline const Aws::String& GetStateReason() const{ return m_stateReason; } + + /** + *The reason for the state of the code review.
+ */ + inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; } + + /** + *The reason for the state of the code review.
+ */ + inline void SetStateReason(const Aws::String& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; } + + /** + *The reason for the state of the code review.
+ */ + inline void SetStateReason(Aws::String&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); } + + /** + *The reason for the state of the code review.
+ */ + inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); } + + /** + *The reason for the state of the code review.
+ */ + inline CodeReview& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;} + + /** + *The reason for the state of the code review.
+ */ + inline CodeReview& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;} + + /** + *The reason for the state of the code review.
+ */ + inline CodeReview& WithStateReason(const char* value) { SetStateReason(value); return *this;} + + + /** + *The time, in milliseconds since the epoch, when the code review was created. + *
+ */ + inline const Aws::Utils::DateTime& GetCreatedTimeStamp() const{ return m_createdTimeStamp; } + + /** + *The time, in milliseconds since the epoch, when the code review was created. + *
+ */ + inline bool CreatedTimeStampHasBeenSet() const { return m_createdTimeStampHasBeenSet; } + + /** + *The time, in milliseconds since the epoch, when the code review was created. + *
+ */ + inline void SetCreatedTimeStamp(const Aws::Utils::DateTime& value) { m_createdTimeStampHasBeenSet = true; m_createdTimeStamp = value; } + + /** + *The time, in milliseconds since the epoch, when the code review was created. + *
+ */ + inline void SetCreatedTimeStamp(Aws::Utils::DateTime&& value) { m_createdTimeStampHasBeenSet = true; m_createdTimeStamp = std::move(value); } + + /** + *The time, in milliseconds since the epoch, when the code review was created. + *
+ */ + inline CodeReview& WithCreatedTimeStamp(const Aws::Utils::DateTime& value) { SetCreatedTimeStamp(value); return *this;} + + /** + *The time, in milliseconds since the epoch, when the code review was created. + *
+ */ + inline CodeReview& WithCreatedTimeStamp(Aws::Utils::DateTime&& value) { SetCreatedTimeStamp(std::move(value)); return *this;} + + + /** + *The time, in milliseconds since the epoch, when the code review was last + * updated.
+ */ + inline const Aws::Utils::DateTime& GetLastUpdatedTimeStamp() const{ return m_lastUpdatedTimeStamp; } + + /** + *The time, in milliseconds since the epoch, when the code review was last + * updated.
+ */ + inline bool LastUpdatedTimeStampHasBeenSet() const { return m_lastUpdatedTimeStampHasBeenSet; } + + /** + *The time, in milliseconds since the epoch, when the code review was last + * updated.
+ */ + inline void SetLastUpdatedTimeStamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeStampHasBeenSet = true; m_lastUpdatedTimeStamp = value; } + + /** + *The time, in milliseconds since the epoch, when the code review was last + * updated.
+ */ + inline void SetLastUpdatedTimeStamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeStampHasBeenSet = true; m_lastUpdatedTimeStamp = std::move(value); } + + /** + *The time, in milliseconds since the epoch, when the code review was last + * updated.
+ */ + inline CodeReview& WithLastUpdatedTimeStamp(const Aws::Utils::DateTime& value) { SetLastUpdatedTimeStamp(value); return *this;} + + /** + *The time, in milliseconds since the epoch, when the code review was last + * updated.
+ */ + inline CodeReview& WithLastUpdatedTimeStamp(Aws::Utils::DateTime&& value) { SetLastUpdatedTimeStamp(std::move(value)); return *this;} + + + /** + *The type of code review.
+ */ + inline const Type& GetType() const{ return m_type; } + + /** + *The type of code review.
+ */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + *The type of code review.
+ */ + inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; } + + /** + *The type of code review.
+ */ + inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + + /** + *The type of code review.
+ */ + inline CodeReview& WithType(const Type& value) { SetType(value); return *this;} + + /** + *The type of code review.
+ */ + inline CodeReview& WithType(Type&& value) { SetType(std::move(value)); return *this;} + + + /** + *The pull request ID for the code review.
+ */ + inline const Aws::String& GetPullRequestId() const{ return m_pullRequestId; } + + /** + *The pull request ID for the code review.
+ */ + inline bool PullRequestIdHasBeenSet() const { return m_pullRequestIdHasBeenSet; } + + /** + *The pull request ID for the code review.
+ */ + inline void SetPullRequestId(const Aws::String& value) { m_pullRequestIdHasBeenSet = true; m_pullRequestId = value; } + + /** + *The pull request ID for the code review.
+ */ + inline void SetPullRequestId(Aws::String&& value) { m_pullRequestIdHasBeenSet = true; m_pullRequestId = std::move(value); } + + /** + *The pull request ID for the code review.
+ */ + inline void SetPullRequestId(const char* value) { m_pullRequestIdHasBeenSet = true; m_pullRequestId.assign(value); } + + /** + *The pull request ID for the code review.
+ */ + inline CodeReview& WithPullRequestId(const Aws::String& value) { SetPullRequestId(value); return *this;} + + /** + *The pull request ID for the code review.
+ */ + inline CodeReview& WithPullRequestId(Aws::String&& value) { SetPullRequestId(std::move(value)); return *this;} + + /** + *The pull request ID for the code review.
+ */ + inline CodeReview& WithPullRequestId(const char* value) { SetPullRequestId(value); return *this;} + + + /** + *The type of the source code for the code review.
+ */ + inline const SourceCodeType& GetSourceCodeType() const{ return m_sourceCodeType; } + + /** + *The type of the source code for the code review.
+ */ + inline bool SourceCodeTypeHasBeenSet() const { return m_sourceCodeTypeHasBeenSet; } + + /** + *The type of the source code for the code review.
+ */ + inline void SetSourceCodeType(const SourceCodeType& value) { m_sourceCodeTypeHasBeenSet = true; m_sourceCodeType = value; } + + /** + *The type of the source code for the code review.
+ */ + inline void SetSourceCodeType(SourceCodeType&& value) { m_sourceCodeTypeHasBeenSet = true; m_sourceCodeType = std::move(value); } + + /** + *The type of the source code for the code review.
+ */ + inline CodeReview& WithSourceCodeType(const SourceCodeType& value) { SetSourceCodeType(value); return *this;} + + /** + *The type of the source code for the code review.
+ */ + inline CodeReview& WithSourceCodeType(SourceCodeType&& value) { SetSourceCodeType(std::move(value)); return *this;} + + + /** + *The statistics from the code review.
+ */ + inline const Metrics& GetMetrics() const{ return m_metrics; } + + /** + *The statistics from the code review.
+ */ + inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; } + + /** + *The statistics from the code review.
+ */ + inline void SetMetrics(const Metrics& value) { m_metricsHasBeenSet = true; m_metrics = value; } + + /** + *The statistics from the code review.
+ */ + inline void SetMetrics(Metrics&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); } + + /** + *The statistics from the code review.
+ */ + inline CodeReview& WithMetrics(const Metrics& value) { SetMetrics(value); return *this;} + + /** + *The statistics from the code review.
+ */ + inline CodeReview& WithMetrics(Metrics&& value) { SetMetrics(std::move(value)); return *this;} + + private: + + Aws::String m_name; + bool m_nameHasBeenSet; + + Aws::String m_codeReviewArn; + bool m_codeReviewArnHasBeenSet; + + Aws::String m_repositoryName; + bool m_repositoryNameHasBeenSet; + + Aws::String m_owner; + bool m_ownerHasBeenSet; + + ProviderType m_providerType; + bool m_providerTypeHasBeenSet; + + JobState m_state; + bool m_stateHasBeenSet; + + Aws::String m_stateReason; + bool m_stateReasonHasBeenSet; + + Aws::Utils::DateTime m_createdTimeStamp; + bool m_createdTimeStampHasBeenSet; + + Aws::Utils::DateTime m_lastUpdatedTimeStamp; + bool m_lastUpdatedTimeStampHasBeenSet; + + Type m_type; + bool m_typeHasBeenSet; + + Aws::String m_pullRequestId; + bool m_pullRequestIdHasBeenSet; + + SourceCodeType m_sourceCodeType; + bool m_sourceCodeTypeHasBeenSet; + + Metrics m_metrics; + bool m_metricsHasBeenSet; + }; + +} // namespace Model +} // namespace CodeGuruReviewer +} // namespace Aws diff --git a/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/CodeReviewSummary.h b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/CodeReviewSummary.h new file mode 100644 index 00000000000..150fe52cd03 --- /dev/null +++ b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/CodeReviewSummary.h @@ -0,0 +1,496 @@ +/* +* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ + +#pragma once +#includeInformation about the summary of the code review.
The name of the code review.
+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *The name of the code review.
+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *The name of the code review.
+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *The name of the code review.
+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *The name of the code review.
+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *The name of the code review.
+ */ + inline CodeReviewSummary& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *The name of the code review.
+ */ + inline CodeReviewSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *The name of the code review.
+ */ + inline CodeReviewSummary& WithName(const char* value) { SetName(value); return *this;} + + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline const Aws::String& GetCodeReviewArn() const{ return m_codeReviewArn; } + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline bool CodeReviewArnHasBeenSet() const { return m_codeReviewArnHasBeenSet; } + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline void SetCodeReviewArn(const Aws::String& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = value; } + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline void SetCodeReviewArn(Aws::String&& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = std::move(value); } + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline void SetCodeReviewArn(const char* value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn.assign(value); } + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline CodeReviewSummary& WithCodeReviewArn(const Aws::String& value) { SetCodeReviewArn(value); return *this;} + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline CodeReviewSummary& WithCodeReviewArn(Aws::String&& value) { SetCodeReviewArn(std::move(value)); return *this;} + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline CodeReviewSummary& WithCodeReviewArn(const char* value) { SetCodeReviewArn(value); return *this;} + + + /** + *The name of the repository.
+ */ + inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } + + /** + *The name of the repository.
+ */ + inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; } + + /** + *The name of the repository.
+ */ + inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } + + /** + *The name of the repository.
+ */ + inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); } + + /** + *The name of the repository.
+ */ + inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } + + /** + *The name of the repository.
+ */ + inline CodeReviewSummary& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} + + /** + *The name of the repository.
+ */ + inline CodeReviewSummary& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;} + + /** + *The name of the repository.
+ */ + inline CodeReviewSummary& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} + + + /** + *The owner of the repository.
+ */ + inline const Aws::String& GetOwner() const{ return m_owner; } + + /** + *The owner of the repository.
+ */ + inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } + + /** + *The owner of the repository.
+ */ + inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } + + /** + *The owner of the repository.
+ */ + inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } + + /** + *The owner of the repository.
+ */ + inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } + + /** + *The owner of the repository.
+ */ + inline CodeReviewSummary& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} + + /** + *The owner of the repository.
+ */ + inline CodeReviewSummary& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} + + /** + *The owner of the repository.
+ */ + inline CodeReviewSummary& WithOwner(const char* value) { SetOwner(value); return *this;} + + + /** + *The provider type of the repository association.
+ */ + inline const ProviderType& GetProviderType() const{ return m_providerType; } + + /** + *The provider type of the repository association.
+ */ + inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; } + + /** + *The provider type of the repository association.
+ */ + inline void SetProviderType(const ProviderType& value) { m_providerTypeHasBeenSet = true; m_providerType = value; } + + /** + *The provider type of the repository association.
+ */ + inline void SetProviderType(ProviderType&& value) { m_providerTypeHasBeenSet = true; m_providerType = std::move(value); } + + /** + *The provider type of the repository association.
+ */ + inline CodeReviewSummary& WithProviderType(const ProviderType& value) { SetProviderType(value); return *this;} + + /** + *The provider type of the repository association.
+ */ + inline CodeReviewSummary& WithProviderType(ProviderType&& value) { SetProviderType(std::move(value)); return *this;} + + + /** + *The state of the code review.
+ */ + inline const JobState& GetState() const{ return m_state; } + + /** + *The state of the code review.
+ */ + inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } + + /** + *The state of the code review.
+ */ + inline void SetState(const JobState& value) { m_stateHasBeenSet = true; m_state = value; } + + /** + *The state of the code review.
+ */ + inline void SetState(JobState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } + + /** + *The state of the code review.
+ */ + inline CodeReviewSummary& WithState(const JobState& value) { SetState(value); return *this;} + + /** + *The state of the code review.
+ */ + inline CodeReviewSummary& WithState(JobState&& value) { SetState(std::move(value)); return *this;} + + + /** + *The time, in milliseconds since the epoch, when the code review was created. + *
+ */ + inline const Aws::Utils::DateTime& GetCreatedTimeStamp() const{ return m_createdTimeStamp; } + + /** + *The time, in milliseconds since the epoch, when the code review was created. + *
+ */ + inline bool CreatedTimeStampHasBeenSet() const { return m_createdTimeStampHasBeenSet; } + + /** + *The time, in milliseconds since the epoch, when the code review was created. + *
+ */ + inline void SetCreatedTimeStamp(const Aws::Utils::DateTime& value) { m_createdTimeStampHasBeenSet = true; m_createdTimeStamp = value; } + + /** + *The time, in milliseconds since the epoch, when the code review was created. + *
+ */ + inline void SetCreatedTimeStamp(Aws::Utils::DateTime&& value) { m_createdTimeStampHasBeenSet = true; m_createdTimeStamp = std::move(value); } + + /** + *The time, in milliseconds since the epoch, when the code review was created. + *
+ */ + inline CodeReviewSummary& WithCreatedTimeStamp(const Aws::Utils::DateTime& value) { SetCreatedTimeStamp(value); return *this;} + + /** + *The time, in milliseconds since the epoch, when the code review was created. + *
+ */ + inline CodeReviewSummary& WithCreatedTimeStamp(Aws::Utils::DateTime&& value) { SetCreatedTimeStamp(std::move(value)); return *this;} + + + /** + *The time, in milliseconds since the epoch, when the code review was last + * updated.
+ */ + inline const Aws::Utils::DateTime& GetLastUpdatedTimeStamp() const{ return m_lastUpdatedTimeStamp; } + + /** + *The time, in milliseconds since the epoch, when the code review was last + * updated.
+ */ + inline bool LastUpdatedTimeStampHasBeenSet() const { return m_lastUpdatedTimeStampHasBeenSet; } + + /** + *The time, in milliseconds since the epoch, when the code review was last + * updated.
+ */ + inline void SetLastUpdatedTimeStamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeStampHasBeenSet = true; m_lastUpdatedTimeStamp = value; } + + /** + *The time, in milliseconds since the epoch, when the code review was last + * updated.
+ */ + inline void SetLastUpdatedTimeStamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeStampHasBeenSet = true; m_lastUpdatedTimeStamp = std::move(value); } + + /** + *The time, in milliseconds since the epoch, when the code review was last + * updated.
+ */ + inline CodeReviewSummary& WithLastUpdatedTimeStamp(const Aws::Utils::DateTime& value) { SetLastUpdatedTimeStamp(value); return *this;} + + /** + *The time, in milliseconds since the epoch, when the code review was last + * updated.
+ */ + inline CodeReviewSummary& WithLastUpdatedTimeStamp(Aws::Utils::DateTime&& value) { SetLastUpdatedTimeStamp(std::move(value)); return *this;} + + + /** + *The type of the code review.
+ */ + inline const Type& GetType() const{ return m_type; } + + /** + *The type of the code review.
+ */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + *The type of the code review.
+ */ + inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; } + + /** + *The type of the code review.
+ */ + inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + + /** + *The type of the code review.
+ */ + inline CodeReviewSummary& WithType(const Type& value) { SetType(value); return *this;} + + /** + *The type of the code review.
+ */ + inline CodeReviewSummary& WithType(Type&& value) { SetType(std::move(value)); return *this;} + + + /** + *The pull request ID for the code review.
+ */ + inline const Aws::String& GetPullRequestId() const{ return m_pullRequestId; } + + /** + *The pull request ID for the code review.
+ */ + inline bool PullRequestIdHasBeenSet() const { return m_pullRequestIdHasBeenSet; } + + /** + *The pull request ID for the code review.
+ */ + inline void SetPullRequestId(const Aws::String& value) { m_pullRequestIdHasBeenSet = true; m_pullRequestId = value; } + + /** + *The pull request ID for the code review.
+ */ + inline void SetPullRequestId(Aws::String&& value) { m_pullRequestIdHasBeenSet = true; m_pullRequestId = std::move(value); } + + /** + *The pull request ID for the code review.
+ */ + inline void SetPullRequestId(const char* value) { m_pullRequestIdHasBeenSet = true; m_pullRequestId.assign(value); } + + /** + *The pull request ID for the code review.
+ */ + inline CodeReviewSummary& WithPullRequestId(const Aws::String& value) { SetPullRequestId(value); return *this;} + + /** + *The pull request ID for the code review.
+ */ + inline CodeReviewSummary& WithPullRequestId(Aws::String&& value) { SetPullRequestId(std::move(value)); return *this;} + + /** + *The pull request ID for the code review.
+ */ + inline CodeReviewSummary& WithPullRequestId(const char* value) { SetPullRequestId(value); return *this;} + + + /** + *The statistics from the code review.
+ */ + inline const MetricsSummary& GetMetricsSummary() const{ return m_metricsSummary; } + + /** + *The statistics from the code review.
+ */ + inline bool MetricsSummaryHasBeenSet() const { return m_metricsSummaryHasBeenSet; } + + /** + *The statistics from the code review.
+ */ + inline void SetMetricsSummary(const MetricsSummary& value) { m_metricsSummaryHasBeenSet = true; m_metricsSummary = value; } + + /** + *The statistics from the code review.
+ */ + inline void SetMetricsSummary(MetricsSummary&& value) { m_metricsSummaryHasBeenSet = true; m_metricsSummary = std::move(value); } + + /** + *The statistics from the code review.
+ */ + inline CodeReviewSummary& WithMetricsSummary(const MetricsSummary& value) { SetMetricsSummary(value); return *this;} + + /** + *The statistics from the code review.
+ */ + inline CodeReviewSummary& WithMetricsSummary(MetricsSummary&& value) { SetMetricsSummary(std::move(value)); return *this;} + + private: + + Aws::String m_name; + bool m_nameHasBeenSet; + + Aws::String m_codeReviewArn; + bool m_codeReviewArnHasBeenSet; + + Aws::String m_repositoryName; + bool m_repositoryNameHasBeenSet; + + Aws::String m_owner; + bool m_ownerHasBeenSet; + + ProviderType m_providerType; + bool m_providerTypeHasBeenSet; + + JobState m_state; + bool m_stateHasBeenSet; + + Aws::Utils::DateTime m_createdTimeStamp; + bool m_createdTimeStampHasBeenSet; + + Aws::Utils::DateTime m_lastUpdatedTimeStamp; + bool m_lastUpdatedTimeStampHasBeenSet; + + Type m_type; + bool m_typeHasBeenSet; + + Aws::String m_pullRequestId; + bool m_pullRequestIdHasBeenSet; + + MetricsSummary m_metricsSummary; + bool m_metricsSummaryHasBeenSet; + }; + +} // namespace Model +} // namespace CodeGuruReviewer +} // namespace Aws diff --git a/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/CommitDiffSourceCodeType.h b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/CommitDiffSourceCodeType.h new file mode 100644 index 00000000000..aebffebe9ef --- /dev/null +++ b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/CommitDiffSourceCodeType.h @@ -0,0 +1,142 @@ +/* +* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ + +#pragma once +#includeThe commit diff for the pull request.
Source Commit SHA.
+ */ + inline const Aws::String& GetSourceCommit() const{ return m_sourceCommit; } + + /** + *Source Commit SHA.
+ */ + inline bool SourceCommitHasBeenSet() const { return m_sourceCommitHasBeenSet; } + + /** + *Source Commit SHA.
+ */ + inline void SetSourceCommit(const Aws::String& value) { m_sourceCommitHasBeenSet = true; m_sourceCommit = value; } + + /** + *Source Commit SHA.
+ */ + inline void SetSourceCommit(Aws::String&& value) { m_sourceCommitHasBeenSet = true; m_sourceCommit = std::move(value); } + + /** + *Source Commit SHA.
+ */ + inline void SetSourceCommit(const char* value) { m_sourceCommitHasBeenSet = true; m_sourceCommit.assign(value); } + + /** + *Source Commit SHA.
+ */ + inline CommitDiffSourceCodeType& WithSourceCommit(const Aws::String& value) { SetSourceCommit(value); return *this;} + + /** + *Source Commit SHA.
+ */ + inline CommitDiffSourceCodeType& WithSourceCommit(Aws::String&& value) { SetSourceCommit(std::move(value)); return *this;} + + /** + *Source Commit SHA.
+ */ + inline CommitDiffSourceCodeType& WithSourceCommit(const char* value) { SetSourceCommit(value); return *this;} + + + /** + *Destination Commit SHA
+ */ + inline const Aws::String& GetDestinationCommit() const{ return m_destinationCommit; } + + /** + *Destination Commit SHA
+ */ + inline bool DestinationCommitHasBeenSet() const { return m_destinationCommitHasBeenSet; } + + /** + *Destination Commit SHA
+ */ + inline void SetDestinationCommit(const Aws::String& value) { m_destinationCommitHasBeenSet = true; m_destinationCommit = value; } + + /** + *Destination Commit SHA
+ */ + inline void SetDestinationCommit(Aws::String&& value) { m_destinationCommitHasBeenSet = true; m_destinationCommit = std::move(value); } + + /** + *Destination Commit SHA
+ */ + inline void SetDestinationCommit(const char* value) { m_destinationCommitHasBeenSet = true; m_destinationCommit.assign(value); } + + /** + *Destination Commit SHA
+ */ + inline CommitDiffSourceCodeType& WithDestinationCommit(const Aws::String& value) { SetDestinationCommit(value); return *this;} + + /** + *Destination Commit SHA
+ */ + inline CommitDiffSourceCodeType& WithDestinationCommit(Aws::String&& value) { SetDestinationCommit(std::move(value)); return *this;} + + /** + *Destination Commit SHA
+ */ + inline CommitDiffSourceCodeType& WithDestinationCommit(const char* value) { SetDestinationCommit(value); return *this;} + + private: + + Aws::String m_sourceCommit; + bool m_sourceCommitHasBeenSet; + + Aws::String m_destinationCommit; + bool m_destinationCommitHasBeenSet; + }; + +} // namespace Model +} // namespace CodeGuruReviewer +} // namespace Aws diff --git a/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/DescribeCodeReviewRequest.h b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/DescribeCodeReviewRequest.h new file mode 100644 index 00000000000..d1883ebc747 --- /dev/null +++ b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/DescribeCodeReviewRequest.h @@ -0,0 +1,93 @@ +/* +* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ + +#pragma once +#includeThe Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline const Aws::String& GetCodeReviewArn() const{ return m_codeReviewArn; } + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline bool CodeReviewArnHasBeenSet() const { return m_codeReviewArnHasBeenSet; } + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline void SetCodeReviewArn(const Aws::String& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = value; } + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline void SetCodeReviewArn(Aws::String&& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = std::move(value); } + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline void SetCodeReviewArn(const char* value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn.assign(value); } + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline DescribeCodeReviewRequest& WithCodeReviewArn(const Aws::String& value) { SetCodeReviewArn(value); return *this;} + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline DescribeCodeReviewRequest& WithCodeReviewArn(Aws::String&& value) { SetCodeReviewArn(std::move(value)); return *this;} + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline DescribeCodeReviewRequest& WithCodeReviewArn(const char* value) { SetCodeReviewArn(value); return *this;} + + private: + + Aws::String m_codeReviewArn; + bool m_codeReviewArnHasBeenSet; + }; + +} // namespace Model +} // namespace CodeGuruReviewer +} // namespace Aws diff --git a/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/DescribeCodeReviewResult.h b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/DescribeCodeReviewResult.h new file mode 100644 index 00000000000..a7392963220 --- /dev/null +++ b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/DescribeCodeReviewResult.h @@ -0,0 +1,77 @@ +/* +* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ + +#pragma once +#includeInformation about the code review.
+ */ + inline const CodeReview& GetCodeReview() const{ return m_codeReview; } + + /** + *Information about the code review.
+ */ + inline void SetCodeReview(const CodeReview& value) { m_codeReview = value; } + + /** + *Information about the code review.
+ */ + inline void SetCodeReview(CodeReview&& value) { m_codeReview = std::move(value); } + + /** + *Information about the code review.
+ */ + inline DescribeCodeReviewResult& WithCodeReview(const CodeReview& value) { SetCodeReview(value); return *this;} + + /** + *Information about the code review.
+ */ + inline DescribeCodeReviewResult& WithCodeReview(CodeReview&& value) { SetCodeReview(std::move(value)); return *this;} + + private: + + CodeReview m_codeReview; + }; + +} // namespace Model +} // namespace CodeGuruReviewer +} // namespace Aws diff --git a/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/DescribeRecommendationFeedbackRequest.h b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/DescribeRecommendationFeedbackRequest.h new file mode 100644 index 00000000000..aee49feb21a --- /dev/null +++ b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/DescribeRecommendationFeedbackRequest.h @@ -0,0 +1,203 @@ +/* +* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ + +#pragma once +#includeThe Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline const Aws::String& GetCodeReviewArn() const{ return m_codeReviewArn; } + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline bool CodeReviewArnHasBeenSet() const { return m_codeReviewArnHasBeenSet; } + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline void SetCodeReviewArn(const Aws::String& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = value; } + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline void SetCodeReviewArn(Aws::String&& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = std::move(value); } + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline void SetCodeReviewArn(const char* value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn.assign(value); } + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline DescribeRecommendationFeedbackRequest& WithCodeReviewArn(const Aws::String& value) { SetCodeReviewArn(value); return *this;} + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline DescribeRecommendationFeedbackRequest& WithCodeReviewArn(Aws::String&& value) { SetCodeReviewArn(std::move(value)); return *this;} + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline DescribeRecommendationFeedbackRequest& WithCodeReviewArn(const char* value) { SetCodeReviewArn(value); return *this;} + + + /** + *The recommendation ID that can be used to track the provided recommendations + * and then to collect the feedback.
+ */ + inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; } + + /** + *The recommendation ID that can be used to track the provided recommendations + * and then to collect the feedback.
+ */ + inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; } + + /** + *The recommendation ID that can be used to track the provided recommendations + * and then to collect the feedback.
+ */ + inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; } + + /** + *The recommendation ID that can be used to track the provided recommendations + * and then to collect the feedback.
+ */ + inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); } + + /** + *The recommendation ID that can be used to track the provided recommendations + * and then to collect the feedback.
+ */ + inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); } + + /** + *The recommendation ID that can be used to track the provided recommendations + * and then to collect the feedback.
+ */ + inline DescribeRecommendationFeedbackRequest& WithRecommendationId(const Aws::String& value) { SetRecommendationId(value); return *this;} + + /** + *The recommendation ID that can be used to track the provided recommendations + * and then to collect the feedback.
+ */ + inline DescribeRecommendationFeedbackRequest& WithRecommendationId(Aws::String&& value) { SetRecommendationId(std::move(value)); return *this;} + + /** + *The recommendation ID that can be used to track the provided recommendations + * and then to collect the feedback.
+ */ + inline DescribeRecommendationFeedbackRequest& WithRecommendationId(const char* value) { SetRecommendationId(value); return *this;} + + + /** + *Optional parameter to describe the feedback for a given user. If this is not + * supplied, it defaults to the user making the request.
+ */ + inline const Aws::String& GetUserId() const{ return m_userId; } + + /** + *Optional parameter to describe the feedback for a given user. If this is not + * supplied, it defaults to the user making the request.
+ */ + inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } + + /** + *Optional parameter to describe the feedback for a given user. If this is not + * supplied, it defaults to the user making the request.
+ */ + inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } + + /** + *Optional parameter to describe the feedback for a given user. If this is not + * supplied, it defaults to the user making the request.
+ */ + inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } + + /** + *Optional parameter to describe the feedback for a given user. If this is not + * supplied, it defaults to the user making the request.
+ */ + inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } + + /** + *Optional parameter to describe the feedback for a given user. If this is not + * supplied, it defaults to the user making the request.
+ */ + inline DescribeRecommendationFeedbackRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} + + /** + *Optional parameter to describe the feedback for a given user. If this is not + * supplied, it defaults to the user making the request.
+ */ + inline DescribeRecommendationFeedbackRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} + + /** + *Optional parameter to describe the feedback for a given user. If this is not + * supplied, it defaults to the user making the request.
+ */ + inline DescribeRecommendationFeedbackRequest& WithUserId(const char* value) { SetUserId(value); return *this;} + + private: + + Aws::String m_codeReviewArn; + bool m_codeReviewArnHasBeenSet; + + Aws::String m_recommendationId; + bool m_recommendationIdHasBeenSet; + + Aws::String m_userId; + bool m_userIdHasBeenSet; + }; + +} // namespace Model +} // namespace CodeGuruReviewer +} // namespace Aws diff --git a/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/DescribeRecommendationFeedbackResult.h b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/DescribeRecommendationFeedbackResult.h new file mode 100644 index 00000000000..0259422f805 --- /dev/null +++ b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/DescribeRecommendationFeedbackResult.h @@ -0,0 +1,77 @@ +/* +* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ + +#pragma once +#includeThe recommendation feedback given by the user.
+ */ + inline const RecommendationFeedback& GetRecommendationFeedback() const{ return m_recommendationFeedback; } + + /** + *The recommendation feedback given by the user.
+ */ + inline void SetRecommendationFeedback(const RecommendationFeedback& value) { m_recommendationFeedback = value; } + + /** + *The recommendation feedback given by the user.
+ */ + inline void SetRecommendationFeedback(RecommendationFeedback&& value) { m_recommendationFeedback = std::move(value); } + + /** + *The recommendation feedback given by the user.
+ */ + inline DescribeRecommendationFeedbackResult& WithRecommendationFeedback(const RecommendationFeedback& value) { SetRecommendationFeedback(value); return *this;} + + /** + *The recommendation feedback given by the user.
+ */ + inline DescribeRecommendationFeedbackResult& WithRecommendationFeedback(RecommendationFeedback&& value) { SetRecommendationFeedback(std::move(value)); return *this;} + + private: + + RecommendationFeedback m_recommendationFeedback; + }; + +} // namespace Model +} // namespace CodeGuruReviewer +} // namespace Aws diff --git a/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/DescribeRepositoryAssociationRequest.h b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/DescribeRepositoryAssociationRequest.h index 2341371bc0d..15bfca975f0 100644 --- a/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/DescribeRepositoryAssociationRequest.h +++ b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/DescribeRepositoryAssociationRequest.h @@ -43,42 +43,50 @@ namespace Model /** - *The Amazon Resource Name (ARN) identifying the association.
+ *The Amazon Resource Name (ARN) identifying the association. You can retrieve
+ * this ARN by calling ListRepositories
.
The Amazon Resource Name (ARN) identifying the association.
+ *The Amazon Resource Name (ARN) identifying the association. You can retrieve
+ * this ARN by calling ListRepositories
.
The Amazon Resource Name (ARN) identifying the association.
+ *The Amazon Resource Name (ARN) identifying the association. You can retrieve
+ * this ARN by calling ListRepositories
.
The Amazon Resource Name (ARN) identifying the association.
+ *The Amazon Resource Name (ARN) identifying the association. You can retrieve
+ * this ARN by calling ListRepositories
.
The Amazon Resource Name (ARN) identifying the association.
+ *The Amazon Resource Name (ARN) identifying the association. You can retrieve
+ * this ARN by calling ListRepositories
.
The Amazon Resource Name (ARN) identifying the association.
+ *The Amazon Resource Name (ARN) identifying the association. You can retrieve
+ * this ARN by calling ListRepositories
.
The Amazon Resource Name (ARN) identifying the association.
+ *The Amazon Resource Name (ARN) identifying the association. You can retrieve
+ * this ARN by calling ListRepositories
.
The Amazon Resource Name (ARN) identifying the association.
+ *The Amazon Resource Name (ARN) identifying the association. You can retrieve
+ * this ARN by calling ListRepositories
.
List of provider types for filtering that needs to be applied before + * displaying the result. For example, "providerTypes=[GitHub]" will list code + * reviews from GitHub.
+ */ + inline const Aws::VectorList of provider types for filtering that needs to be applied before + * displaying the result. For example, "providerTypes=[GitHub]" will list code + * reviews from GitHub.
+ */ + inline bool ProviderTypesHasBeenSet() const { return m_providerTypesHasBeenSet; } + + /** + *List of provider types for filtering that needs to be applied before + * displaying the result. For example, "providerTypes=[GitHub]" will list code + * reviews from GitHub.
+ */ + inline void SetProviderTypes(const Aws::VectorList of provider types for filtering that needs to be applied before + * displaying the result. For example, "providerTypes=[GitHub]" will list code + * reviews from GitHub.
+ */ + inline void SetProviderTypes(Aws::VectorList of provider types for filtering that needs to be applied before + * displaying the result. For example, "providerTypes=[GitHub]" will list code + * reviews from GitHub.
+ */ + inline ListCodeReviewsRequest& WithProviderTypes(const Aws::VectorList of provider types for filtering that needs to be applied before + * displaying the result. For example, "providerTypes=[GitHub]" will list code + * reviews from GitHub.
+ */ + inline ListCodeReviewsRequest& WithProviderTypes(Aws::VectorList of provider types for filtering that needs to be applied before + * displaying the result. For example, "providerTypes=[GitHub]" will list code + * reviews from GitHub.
+ */ + inline ListCodeReviewsRequest& AddProviderTypes(const ProviderType& value) { m_providerTypesHasBeenSet = true; m_providerTypes.push_back(value); return *this; } + + /** + *List of provider types for filtering that needs to be applied before + * displaying the result. For example, "providerTypes=[GitHub]" will list code + * reviews from GitHub.
+ */ + inline ListCodeReviewsRequest& AddProviderTypes(ProviderType&& value) { m_providerTypesHasBeenSet = true; m_providerTypes.push_back(std::move(value)); return *this; } + + + /** + *List of states for filtering that needs to be applied before displaying the + * result. For example, "states=[Pending]" will list code reviews in the Pending + * state.
+ */ + inline const Aws::VectorList of states for filtering that needs to be applied before displaying the + * result. For example, "states=[Pending]" will list code reviews in the Pending + * state.
+ */ + inline bool StatesHasBeenSet() const { return m_statesHasBeenSet; } + + /** + *List of states for filtering that needs to be applied before displaying the + * result. For example, "states=[Pending]" will list code reviews in the Pending + * state.
+ */ + inline void SetStates(const Aws::VectorList of states for filtering that needs to be applied before displaying the + * result. For example, "states=[Pending]" will list code reviews in the Pending + * state.
+ */ + inline void SetStates(Aws::VectorList of states for filtering that needs to be applied before displaying the + * result. For example, "states=[Pending]" will list code reviews in the Pending + * state.
+ */ + inline ListCodeReviewsRequest& WithStates(const Aws::VectorList of states for filtering that needs to be applied before displaying the + * result. For example, "states=[Pending]" will list code reviews in the Pending + * state.
+ */ + inline ListCodeReviewsRequest& WithStates(Aws::VectorList of states for filtering that needs to be applied before displaying the + * result. For example, "states=[Pending]" will list code reviews in the Pending + * state.
+ */ + inline ListCodeReviewsRequest& AddStates(const JobState& value) { m_statesHasBeenSet = true; m_states.push_back(value); return *this; } + + /** + *List of states for filtering that needs to be applied before displaying the + * result. For example, "states=[Pending]" will list code reviews in the Pending + * state.
+ */ + inline ListCodeReviewsRequest& AddStates(JobState&& value) { m_statesHasBeenSet = true; m_states.push_back(std::move(value)); return *this; } + + + /** + *List of repository names for filtering that needs to be applied before + * displaying the result.
+ */ + inline const Aws::VectorList of repository names for filtering that needs to be applied before + * displaying the result.
+ */ + inline bool RepositoryNamesHasBeenSet() const { return m_repositoryNamesHasBeenSet; } + + /** + *List of repository names for filtering that needs to be applied before + * displaying the result.
+ */ + inline void SetRepositoryNames(const Aws::VectorList of repository names for filtering that needs to be applied before + * displaying the result.
+ */ + inline void SetRepositoryNames(Aws::VectorList of repository names for filtering that needs to be applied before + * displaying the result.
+ */ + inline ListCodeReviewsRequest& WithRepositoryNames(const Aws::VectorList of repository names for filtering that needs to be applied before + * displaying the result.
+ */ + inline ListCodeReviewsRequest& WithRepositoryNames(Aws::VectorList of repository names for filtering that needs to be applied before + * displaying the result.
+ */ + inline ListCodeReviewsRequest& AddRepositoryNames(const Aws::String& value) { m_repositoryNamesHasBeenSet = true; m_repositoryNames.push_back(value); return *this; } + + /** + *List of repository names for filtering that needs to be applied before + * displaying the result.
+ */ + inline ListCodeReviewsRequest& AddRepositoryNames(Aws::String&& value) { m_repositoryNamesHasBeenSet = true; m_repositoryNames.push_back(std::move(value)); return *this; } + + /** + *List of repository names for filtering that needs to be applied before + * displaying the result.
+ */ + inline ListCodeReviewsRequest& AddRepositoryNames(const char* value) { m_repositoryNamesHasBeenSet = true; m_repositoryNames.push_back(value); return *this; } + + + /** + *The type of code reviews to list in the response.
+ */ + inline const Type& GetType() const{ return m_type; } + + /** + *The type of code reviews to list in the response.
+ */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + *The type of code reviews to list in the response.
+ */ + inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; } + + /** + *The type of code reviews to list in the response.
+ */ + inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + + /** + *The type of code reviews to list in the response.
+ */ + inline ListCodeReviewsRequest& WithType(const Type& value) { SetType(value); return *this;} + + /** + *The type of code reviews to list in the response.
+ */ + inline ListCodeReviewsRequest& WithType(Type&& value) { SetType(std::move(value)); return *this;} + + + /** + *The maximum number of results that are returned per call. The default is + * 100.
+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *The maximum number of results that are returned per call. The default is + * 100.
+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *The maximum number of results that are returned per call. The default is + * 100.
+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *The maximum number of results that are returned per call. The default is + * 100.
+ */ + inline ListCodeReviewsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline ListCodeReviewsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline ListCodeReviewsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline ListCodeReviewsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + private: + + Aws::VectorA list of code reviews that meet the criteria of the request.
+ */ + inline const Aws::VectorA list of code reviews that meet the criteria of the request.
+ */ + inline void SetCodeReviewSummaries(const Aws::VectorA list of code reviews that meet the criteria of the request.
+ */ + inline void SetCodeReviewSummaries(Aws::VectorA list of code reviews that meet the criteria of the request.
+ */ + inline ListCodeReviewsResult& WithCodeReviewSummaries(const Aws::VectorA list of code reviews that meet the criteria of the request.
+ */ + inline ListCodeReviewsResult& WithCodeReviewSummaries(Aws::VectorA list of code reviews that meet the criteria of the request.
+ */ + inline ListCodeReviewsResult& AddCodeReviewSummaries(const CodeReviewSummary& value) { m_codeReviewSummaries.push_back(value); return *this; } + + /** + *A list of code reviews that meet the criteria of the request.
+ */ + inline ListCodeReviewsResult& AddCodeReviewSummaries(CodeReviewSummary&& value) { m_codeReviewSummaries.push_back(std::move(value)); return *this; } + + + /** + *Pagination token.
+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *Pagination token.
+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *Pagination token.
+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *Pagination token.
+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *Pagination token.
+ */ + inline ListCodeReviewsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *Pagination token.
+ */ + inline ListCodeReviewsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *Pagination token.
+ */ + inline ListCodeReviewsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + private: + + Aws::VectorIf nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline ListRecommendationFeedbackRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline ListRecommendationFeedbackRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline ListRecommendationFeedbackRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *The maximum number of results that are returned per call. The default is + * 100.
+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *The maximum number of results that are returned per call. The default is + * 100.
+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *The maximum number of results that are returned per call. The default is + * 100.
+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *The maximum number of results that are returned per call. The default is + * 100.
+ */ + inline ListRecommendationFeedbackRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline const Aws::String& GetCodeReviewArn() const{ return m_codeReviewArn; } + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline bool CodeReviewArnHasBeenSet() const { return m_codeReviewArnHasBeenSet; } + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline void SetCodeReviewArn(const Aws::String& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = value; } + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline void SetCodeReviewArn(Aws::String&& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = std::move(value); } + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline void SetCodeReviewArn(const char* value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn.assign(value); } + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline ListRecommendationFeedbackRequest& WithCodeReviewArn(const Aws::String& value) { SetCodeReviewArn(value); return *this;} + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline ListRecommendationFeedbackRequest& WithCodeReviewArn(Aws::String&& value) { SetCodeReviewArn(std::move(value)); return *this;} + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline ListRecommendationFeedbackRequest& WithCodeReviewArn(const char* value) { SetCodeReviewArn(value); return *this;} + + + /** + *Filter on userIds that need to be applied before displaying the result. This + * can be used to query all the recommendation feedback for a code review from a + * given user.
+ */ + inline const Aws::VectorFilter on userIds that need to be applied before displaying the result. This + * can be used to query all the recommendation feedback for a code review from a + * given user.
+ */ + inline bool UserIdsHasBeenSet() const { return m_userIdsHasBeenSet; } + + /** + *Filter on userIds that need to be applied before displaying the result. This + * can be used to query all the recommendation feedback for a code review from a + * given user.
+ */ + inline void SetUserIds(const Aws::VectorFilter on userIds that need to be applied before displaying the result. This + * can be used to query all the recommendation feedback for a code review from a + * given user.
+ */ + inline void SetUserIds(Aws::VectorFilter on userIds that need to be applied before displaying the result. This + * can be used to query all the recommendation feedback for a code review from a + * given user.
+ */ + inline ListRecommendationFeedbackRequest& WithUserIds(const Aws::VectorFilter on userIds that need to be applied before displaying the result. This + * can be used to query all the recommendation feedback for a code review from a + * given user.
+ */ + inline ListRecommendationFeedbackRequest& WithUserIds(Aws::VectorFilter on userIds that need to be applied before displaying the result. This + * can be used to query all the recommendation feedback for a code review from a + * given user.
+ */ + inline ListRecommendationFeedbackRequest& AddUserIds(const Aws::String& value) { m_userIdsHasBeenSet = true; m_userIds.push_back(value); return *this; } + + /** + *Filter on userIds that need to be applied before displaying the result. This + * can be used to query all the recommendation feedback for a code review from a + * given user.
+ */ + inline ListRecommendationFeedbackRequest& AddUserIds(Aws::String&& value) { m_userIdsHasBeenSet = true; m_userIds.push_back(std::move(value)); return *this; } + + /** + *Filter on userIds that need to be applied before displaying the result. This + * can be used to query all the recommendation feedback for a code review from a + * given user.
+ */ + inline ListRecommendationFeedbackRequest& AddUserIds(const char* value) { m_userIdsHasBeenSet = true; m_userIds.push_back(value); return *this; } + + + /** + *Filter on recommendationIds that need to be applied before displaying the + * result. This can be used to query all the recommendation feedback for a given + * recommendation.
+ */ + inline const Aws::VectorFilter on recommendationIds that need to be applied before displaying the + * result. This can be used to query all the recommendation feedback for a given + * recommendation.
+ */ + inline bool RecommendationIdsHasBeenSet() const { return m_recommendationIdsHasBeenSet; } + + /** + *Filter on recommendationIds that need to be applied before displaying the + * result. This can be used to query all the recommendation feedback for a given + * recommendation.
+ */ + inline void SetRecommendationIds(const Aws::VectorFilter on recommendationIds that need to be applied before displaying the + * result. This can be used to query all the recommendation feedback for a given + * recommendation.
+ */ + inline void SetRecommendationIds(Aws::VectorFilter on recommendationIds that need to be applied before displaying the + * result. This can be used to query all the recommendation feedback for a given + * recommendation.
+ */ + inline ListRecommendationFeedbackRequest& WithRecommendationIds(const Aws::VectorFilter on recommendationIds that need to be applied before displaying the + * result. This can be used to query all the recommendation feedback for a given + * recommendation.
+ */ + inline ListRecommendationFeedbackRequest& WithRecommendationIds(Aws::VectorFilter on recommendationIds that need to be applied before displaying the + * result. This can be used to query all the recommendation feedback for a given + * recommendation.
+ */ + inline ListRecommendationFeedbackRequest& AddRecommendationIds(const Aws::String& value) { m_recommendationIdsHasBeenSet = true; m_recommendationIds.push_back(value); return *this; } + + /** + *Filter on recommendationIds that need to be applied before displaying the + * result. This can be used to query all the recommendation feedback for a given + * recommendation.
+ */ + inline ListRecommendationFeedbackRequest& AddRecommendationIds(Aws::String&& value) { m_recommendationIdsHasBeenSet = true; m_recommendationIds.push_back(std::move(value)); return *this; } + + /** + *Filter on recommendationIds that need to be applied before displaying the + * result. This can be used to query all the recommendation feedback for a given + * recommendation.
+ */ + inline ListRecommendationFeedbackRequest& AddRecommendationIds(const char* value) { m_recommendationIdsHasBeenSet = true; m_recommendationIds.push_back(value); return *this; } + + private: + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet; + + int m_maxResults; + bool m_maxResultsHasBeenSet; + + Aws::String m_codeReviewArn; + bool m_codeReviewArnHasBeenSet; + + Aws::VectorRecommendation feedback summaries corresponding to the code reivew ARN.
+ */ + inline const Aws::VectorRecommendation feedback summaries corresponding to the code reivew ARN.
+ */ + inline void SetRecommendationFeedbackSummaries(const Aws::VectorRecommendation feedback summaries corresponding to the code reivew ARN.
+ */ + inline void SetRecommendationFeedbackSummaries(Aws::VectorRecommendation feedback summaries corresponding to the code reivew ARN.
+ */ + inline ListRecommendationFeedbackResult& WithRecommendationFeedbackSummaries(const Aws::VectorRecommendation feedback summaries corresponding to the code reivew ARN.
+ */ + inline ListRecommendationFeedbackResult& WithRecommendationFeedbackSummaries(Aws::VectorRecommendation feedback summaries corresponding to the code reivew ARN.
+ */ + inline ListRecommendationFeedbackResult& AddRecommendationFeedbackSummaries(const RecommendationFeedbackSummary& value) { m_recommendationFeedbackSummaries.push_back(value); return *this; } + + /** + *Recommendation feedback summaries corresponding to the code reivew ARN.
+ */ + inline ListRecommendationFeedbackResult& AddRecommendationFeedbackSummaries(RecommendationFeedbackSummary&& value) { m_recommendationFeedbackSummaries.push_back(std::move(value)); return *this; } + + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline ListRecommendationFeedbackResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline ListRecommendationFeedbackResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *If nextToken is returned, there are more results available. The value of + * nextToken is a unique pagination token for each page. Make the call again using + * the returned token to retrieve the next page. Keep all other arguments + * unchanged.
+ */ + inline ListRecommendationFeedbackResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + private: + + Aws::VectorPagination token.
+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *Pagination token.
+ */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *Pagination token.
+ */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *Pagination token.
+ */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *Pagination token.
+ */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *Pagination token.
+ */ + inline ListRecommendationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *Pagination token.
+ */ + inline ListRecommendationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *Pagination token.
+ */ + inline ListRecommendationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *The maximum number of results that are returned per call. The default is + * 100.
+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *The maximum number of results that are returned per call. The default is + * 100.
+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *The maximum number of results that are returned per call. The default is + * 100.
+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *The maximum number of results that are returned per call. The default is + * 100.
+ */ + inline ListRecommendationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline const Aws::String& GetCodeReviewArn() const{ return m_codeReviewArn; } + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline bool CodeReviewArnHasBeenSet() const { return m_codeReviewArnHasBeenSet; } + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline void SetCodeReviewArn(const Aws::String& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = value; } + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline void SetCodeReviewArn(Aws::String&& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = std::move(value); } + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline void SetCodeReviewArn(const char* value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn.assign(value); } + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline ListRecommendationsRequest& WithCodeReviewArn(const Aws::String& value) { SetCodeReviewArn(value); return *this;} + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline ListRecommendationsRequest& WithCodeReviewArn(Aws::String&& value) { SetCodeReviewArn(std::move(value)); return *this;} + + /** + *The Amazon Resource Name (ARN) of the code review to describe.
+ */ + inline ListRecommendationsRequest& WithCodeReviewArn(const char* value) { SetCodeReviewArn(value); return *this;} + + private: + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet; + + int m_maxResults; + bool m_maxResultsHasBeenSet; + + Aws::String m_codeReviewArn; + bool m_codeReviewArnHasBeenSet; + }; + +} // namespace Model +} // namespace CodeGuruReviewer +} // namespace Aws diff --git a/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/ListRecommendationsResult.h b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/ListRecommendationsResult.h new file mode 100644 index 00000000000..4c6be9c4c7a --- /dev/null +++ b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/ListRecommendationsResult.h @@ -0,0 +1,127 @@ +/* +* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ + +#pragma once +#includeList of recommendations for the requested code review.
+ */ + inline const Aws::VectorList of recommendations for the requested code review.
+ */ + inline void SetRecommendationSummaries(const Aws::VectorList of recommendations for the requested code review.
+ */ + inline void SetRecommendationSummaries(Aws::VectorList of recommendations for the requested code review.
+ */ + inline ListRecommendationsResult& WithRecommendationSummaries(const Aws::VectorList of recommendations for the requested code review.
+ */ + inline ListRecommendationsResult& WithRecommendationSummaries(Aws::VectorList of recommendations for the requested code review.
+ */ + inline ListRecommendationsResult& AddRecommendationSummaries(const RecommendationSummary& value) { m_recommendationSummaries.push_back(value); return *this; } + + /** + *List of recommendations for the requested code review.
+ */ + inline ListRecommendationsResult& AddRecommendationSummaries(RecommendationSummary&& value) { m_recommendationSummaries.push_back(std::move(value)); return *this; } + + + /** + *Pagination token.
+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *Pagination token.
+ */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *Pagination token.
+ */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *Pagination token.
+ */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *Pagination token.
+ */ + inline ListRecommendationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *Pagination token.
+ */ + inline ListRecommendationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *Pagination token.
+ */ + inline ListRecommendationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + private: + + Aws::VectorList of names to use as a filter.
+ *List of repository names to use as a filter.
*/ inline const Aws::VectorList of names to use as a filter.
+ *List of repository names to use as a filter.
*/ inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; } /** - *List of names to use as a filter.
+ *List of repository names to use as a filter.
*/ inline void SetNames(const Aws::VectorList of names to use as a filter.
+ *List of repository names to use as a filter.
*/ inline void SetNames(Aws::VectorList of names to use as a filter.
+ *List of repository names to use as a filter.
*/ inline ListRepositoryAssociationsRequest& WithNames(const Aws::VectorList of names to use as a filter.
+ *List of repository names to use as a filter.
*/ inline ListRepositoryAssociationsRequest& WithNames(Aws::VectorList of names to use as a filter.
+ *List of repository names to use as a filter.
*/ inline ListRepositoryAssociationsRequest& AddNames(const Aws::String& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; } /** - *List of names to use as a filter.
+ *List of repository names to use as a filter.
*/ inline ListRepositoryAssociationsRequest& AddNames(Aws::String&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; } /** - *List of names to use as a filter.
+ *List of repository names to use as a filter.
*/ inline ListRepositoryAssociationsRequest& AddNames(const char* value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; } /** - *List of owners to use as a filter. For AWS CodeCommit, the owner is the AWS - * account id. For GitHub, it is the GitHub account name.
+ *List of owners to use as a filter. For GitHub, this is name of the GitHub + * account that was used to associate the repository. For AWS CodeCommit, it is the + * name of the CodeCommit account that was used to associate the repository.
*/ inline const Aws::VectorList of owners to use as a filter. For AWS CodeCommit, the owner is the AWS - * account id. For GitHub, it is the GitHub account name.
+ *List of owners to use as a filter. For GitHub, this is name of the GitHub + * account that was used to associate the repository. For AWS CodeCommit, it is the + * name of the CodeCommit account that was used to associate the repository.
*/ inline bool OwnersHasBeenSet() const { return m_ownersHasBeenSet; } /** - *List of owners to use as a filter. For AWS CodeCommit, the owner is the AWS - * account id. For GitHub, it is the GitHub account name.
+ *List of owners to use as a filter. For GitHub, this is name of the GitHub + * account that was used to associate the repository. For AWS CodeCommit, it is the + * name of the CodeCommit account that was used to associate the repository.
*/ inline void SetOwners(const Aws::VectorList of owners to use as a filter. For AWS CodeCommit, the owner is the AWS - * account id. For GitHub, it is the GitHub account name.
+ *List of owners to use as a filter. For GitHub, this is name of the GitHub + * account that was used to associate the repository. For AWS CodeCommit, it is the + * name of the CodeCommit account that was used to associate the repository.
*/ inline void SetOwners(Aws::VectorList of owners to use as a filter. For AWS CodeCommit, the owner is the AWS - * account id. For GitHub, it is the GitHub account name.
+ *List of owners to use as a filter. For GitHub, this is name of the GitHub + * account that was used to associate the repository. For AWS CodeCommit, it is the + * name of the CodeCommit account that was used to associate the repository.
*/ inline ListRepositoryAssociationsRequest& WithOwners(const Aws::VectorList of owners to use as a filter. For AWS CodeCommit, the owner is the AWS - * account id. For GitHub, it is the GitHub account name.
+ *List of owners to use as a filter. For GitHub, this is name of the GitHub + * account that was used to associate the repository. For AWS CodeCommit, it is the + * name of the CodeCommit account that was used to associate the repository.
*/ inline ListRepositoryAssociationsRequest& WithOwners(Aws::VectorList of owners to use as a filter. For AWS CodeCommit, the owner is the AWS - * account id. For GitHub, it is the GitHub account name.
+ *List of owners to use as a filter. For GitHub, this is name of the GitHub + * account that was used to associate the repository. For AWS CodeCommit, it is the + * name of the CodeCommit account that was used to associate the repository.
*/ inline ListRepositoryAssociationsRequest& AddOwners(const Aws::String& value) { m_ownersHasBeenSet = true; m_owners.push_back(value); return *this; } /** - *List of owners to use as a filter. For AWS CodeCommit, the owner is the AWS - * account id. For GitHub, it is the GitHub account name.
+ *List of owners to use as a filter. For GitHub, this is name of the GitHub + * account that was used to associate the repository. For AWS CodeCommit, it is the + * name of the CodeCommit account that was used to associate the repository.
*/ inline ListRepositoryAssociationsRequest& AddOwners(Aws::String&& value) { m_ownersHasBeenSet = true; m_owners.push_back(std::move(value)); return *this; } /** - *List of owners to use as a filter. For AWS CodeCommit, the owner is the AWS - * account id. For GitHub, it is the GitHub account name.
+ *List of owners to use as a filter. For GitHub, this is name of the GitHub + * account that was used to associate the repository. For AWS CodeCommit, it is the + * name of the CodeCommit account that was used to associate the repository.
*/ inline ListRepositoryAssociationsRequest& AddOwners(const char* value) { m_ownersHasBeenSet = true; m_owners.push_back(value); return *this; } @@ -238,13 +247,12 @@ namespace Model *The maximum number of repository association results returned by
* ListRepositoryAssociations
in paginated output. When this parameter
* is used, ListRepositoryAssociations
only returns
- * maxResults
results in a single page along with a
- * nextToken
response element. The remaining results of the initial
- * request can be seen by sending another ListRepositoryAssociations
- * request with the returned nextToken
value. This value can be
- * between 1 and 100. If this parameter is not used, then
- * ListRepositoryAssociations
returns up to 100 results and a
- * nextToken
value if applicable.
maxResults
results in a single page with a nextToken
+ * response element. The remaining results of the initial request can be seen by
+ * sending another ListRepositoryAssociations
request with the
+ * returned nextToken
value. This value can be between 1 and 25. If
+ * this parameter is not used, ListRepositoryAssociations
returns up
+ * to 25 results and a nextToken
value if applicable.
*/
inline int GetMaxResults() const{ return m_maxResults; }
@@ -252,13 +260,12 @@ namespace Model
* The maximum number of repository association results returned by
* ListRepositoryAssociations
in paginated output. When this parameter
* is used, ListRepositoryAssociations
only returns
- * maxResults
results in a single page along with a
- * nextToken
response element. The remaining results of the initial
- * request can be seen by sending another ListRepositoryAssociations
- * request with the returned nextToken
value. This value can be
- * between 1 and 100. If this parameter is not used, then
- * ListRepositoryAssociations
returns up to 100 results and a
- * nextToken
value if applicable.
maxResults
results in a single page with a nextToken
+ * response element. The remaining results of the initial request can be seen by
+ * sending another ListRepositoryAssociations
request with the
+ * returned nextToken
value. This value can be between 1 and 25. If
+ * this parameter is not used, ListRepositoryAssociations
returns up
+ * to 25 results and a nextToken
value if applicable.
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
@@ -266,13 +273,12 @@ namespace Model
* The maximum number of repository association results returned by
* ListRepositoryAssociations
in paginated output. When this parameter
* is used, ListRepositoryAssociations
only returns
- * maxResults
results in a single page along with a
- * nextToken
response element. The remaining results of the initial
- * request can be seen by sending another ListRepositoryAssociations
- * request with the returned nextToken
value. This value can be
- * between 1 and 100. If this parameter is not used, then
- * ListRepositoryAssociations
returns up to 100 results and a
- * nextToken
value if applicable.
maxResults
results in a single page with a nextToken
+ * response element. The remaining results of the initial request can be seen by
+ * sending another ListRepositoryAssociations
request with the
+ * returned nextToken
value. This value can be between 1 and 25. If
+ * this parameter is not used, ListRepositoryAssociations
returns up
+ * to 25 results and a nextToken
value if applicable.
*/
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
@@ -280,13 +286,12 @@ namespace Model
* The maximum number of repository association results returned by
* ListRepositoryAssociations
in paginated output. When this parameter
* is used, ListRepositoryAssociations
only returns
- * maxResults
results in a single page along with a
- * nextToken
response element. The remaining results of the initial
- * request can be seen by sending another ListRepositoryAssociations
- * request with the returned nextToken
value. This value can be
- * between 1 and 100. If this parameter is not used, then
- * ListRepositoryAssociations
returns up to 100 results and a
- * nextToken
value if applicable.
maxResults
results in a single page with a nextToken
+ * response element. The remaining results of the initial request can be seen by
+ * sending another ListRepositoryAssociations
request with the
+ * returned nextToken
value. This value can be between 1 and 25. If
+ * this parameter is not used, ListRepositoryAssociations
returns up
+ * to 25 results and a nextToken
value if applicable.
*/
inline ListRepositoryAssociationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
@@ -296,9 +301,9 @@ namespace Model
* ListRepositoryAssociations
request where maxResults
* was used and the results exceeded the value of that parameter. Pagination
* continues from the end of the previous results that returned the
- * nextToken
value. This token should be treated as an - * opaque identifier that is only used to retrieve the next items in a list and not - * for other programmatic purposes.
nextToken
value. Treat this token as an opaque + * identifier that is only used to retrieve the next items in a list and not for + * other programmatic purposes.
ListRepositoryAssociations
request where maxResults
* was used and the results exceeded the value of that parameter. Pagination
* continues from the end of the previous results that returned the
- * nextToken
value. This token should be treated as an - * opaque identifier that is only used to retrieve the next items in a list and not - * for other programmatic purposes.
nextToken
value. Treat this token as an opaque + * identifier that is only used to retrieve the next items in a list and not for + * other programmatic purposes.
ListRepositoryAssociations
request where maxResults
* was used and the results exceeded the value of that parameter. Pagination
* continues from the end of the previous results that returned the
- * nextToken
value. This token should be treated as an - * opaque identifier that is only used to retrieve the next items in a list and not - * for other programmatic purposes.
nextToken
value. Treat this token as an opaque + * identifier that is only used to retrieve the next items in a list and not for + * other programmatic purposes.
ListRepositoryAssociations
request where maxResults
* was used and the results exceeded the value of that parameter. Pagination
* continues from the end of the previous results that returned the
- * nextToken
value. This token should be treated as an - * opaque identifier that is only used to retrieve the next items in a list and not - * for other programmatic purposes.
nextToken
value. Treat this token as an opaque + * identifier that is only used to retrieve the next items in a list and not for + * other programmatic purposes.
ListRepositoryAssociations
request where maxResults
* was used and the results exceeded the value of that parameter. Pagination
* continues from the end of the previous results that returned the
- * nextToken
value. This token should be treated as an - * opaque identifier that is only used to retrieve the next items in a list and not - * for other programmatic purposes.
nextToken
value. Treat this token as an opaque + * identifier that is only used to retrieve the next items in a list and not for + * other programmatic purposes.
ListRepositoryAssociations
request where maxResults
* was used and the results exceeded the value of that parameter. Pagination
* continues from the end of the previous results that returned the
- * nextToken
value. This token should be treated as an - * opaque identifier that is only used to retrieve the next items in a list and not - * for other programmatic purposes.
nextToken
value. Treat this token as an opaque + * identifier that is only used to retrieve the next items in a list and not for + * other programmatic purposes.
ListRepositoryAssociations
request where maxResults
* was used and the results exceeded the value of that parameter. Pagination
* continues from the end of the previous results that returned the
- * nextToken
value. This token should be treated as an - * opaque identifier that is only used to retrieve the next items in a list and not - * for other programmatic purposes.
nextToken
value. Treat this token as an opaque + * identifier that is only used to retrieve the next items in a list and not for + * other programmatic purposes.
ListRepositoryAssociations
request where maxResults
* was used and the results exceeded the value of that parameter. Pagination
* continues from the end of the previous results that returned the
- * nextToken
value. This token should be treated as an - * opaque identifier that is only used to retrieve the next items in a list and not - * for other programmatic purposes.
nextToken
value. Treat this token as an opaque + * identifier that is only used to retrieve the next items in a list and not for + * other programmatic purposes.
Information about the statistics from the code review.
Lines of code metered in the code review.
+ */ + inline long long GetMeteredLinesOfCodeCount() const{ return m_meteredLinesOfCodeCount; } + + /** + *Lines of code metered in the code review.
+ */ + inline bool MeteredLinesOfCodeCountHasBeenSet() const { return m_meteredLinesOfCodeCountHasBeenSet; } + + /** + *Lines of code metered in the code review.
+ */ + inline void SetMeteredLinesOfCodeCount(long long value) { m_meteredLinesOfCodeCountHasBeenSet = true; m_meteredLinesOfCodeCount = value; } + + /** + *Lines of code metered in the code review.
+ */ + inline Metrics& WithMeteredLinesOfCodeCount(long long value) { SetMeteredLinesOfCodeCount(value); return *this;} + + + /** + *Total number of recommendations found in the code review.
+ */ + inline long long GetFindingsCount() const{ return m_findingsCount; } + + /** + *Total number of recommendations found in the code review.
+ */ + inline bool FindingsCountHasBeenSet() const { return m_findingsCountHasBeenSet; } + + /** + *Total number of recommendations found in the code review.
+ */ + inline void SetFindingsCount(long long value) { m_findingsCountHasBeenSet = true; m_findingsCount = value; } + + /** + *Total number of recommendations found in the code review.
+ */ + inline Metrics& WithFindingsCount(long long value) { SetFindingsCount(value); return *this;} + + private: + + long long m_meteredLinesOfCodeCount; + bool m_meteredLinesOfCodeCountHasBeenSet; + + long long m_findingsCount; + bool m_findingsCountHasBeenSet; + }; + +} // namespace Model +} // namespace CodeGuruReviewer +} // namespace Aws diff --git a/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/MetricsSummary.h b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/MetricsSummary.h new file mode 100644 index 00000000000..84c1def5b25 --- /dev/null +++ b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/MetricsSummary.h @@ -0,0 +1,100 @@ +/* +* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ + +#pragma once +#includeInformation about metrics summaries.
Lines of code metered in the code review.
+ */ + inline long long GetMeteredLinesOfCodeCount() const{ return m_meteredLinesOfCodeCount; } + + /** + *Lines of code metered in the code review.
+ */ + inline bool MeteredLinesOfCodeCountHasBeenSet() const { return m_meteredLinesOfCodeCountHasBeenSet; } + + /** + *Lines of code metered in the code review.
+ */ + inline void SetMeteredLinesOfCodeCount(long long value) { m_meteredLinesOfCodeCountHasBeenSet = true; m_meteredLinesOfCodeCount = value; } + + /** + *Lines of code metered in the code review.
+ */ + inline MetricsSummary& WithMeteredLinesOfCodeCount(long long value) { SetMeteredLinesOfCodeCount(value); return *this;} + + + /** + *Total number of recommendations found in the code review.
+ */ + inline long long GetFindingsCount() const{ return m_findingsCount; } + + /** + *Total number of recommendations found in the code review.
+ */ + inline bool FindingsCountHasBeenSet() const { return m_findingsCountHasBeenSet; } + + /** + *Total number of recommendations found in the code review.
+ */ + inline void SetFindingsCount(long long value) { m_findingsCountHasBeenSet = true; m_findingsCount = value; } + + /** + *Total number of recommendations found in the code review.
+ */ + inline MetricsSummary& WithFindingsCount(long long value) { SetFindingsCount(value); return *this;} + + private: + + long long m_meteredLinesOfCodeCount; + bool m_meteredLinesOfCodeCountHasBeenSet; + + long long m_findingsCount; + bool m_findingsCountHasBeenSet; + }; + +} // namespace Model +} // namespace CodeGuruReviewer +} // namespace Aws diff --git a/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/PutRecommendationFeedbackRequest.h b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/PutRecommendationFeedbackRequest.h new file mode 100644 index 00000000000..1c59ee8ea1e --- /dev/null +++ b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/PutRecommendationFeedbackRequest.h @@ -0,0 +1,199 @@ +/* +* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ + +#pragma once +#includeThe Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline const Aws::String& GetCodeReviewArn() const{ return m_codeReviewArn; } + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline bool CodeReviewArnHasBeenSet() const { return m_codeReviewArnHasBeenSet; } + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline void SetCodeReviewArn(const Aws::String& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = value; } + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline void SetCodeReviewArn(Aws::String&& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = std::move(value); } + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline void SetCodeReviewArn(const char* value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn.assign(value); } + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline PutRecommendationFeedbackRequest& WithCodeReviewArn(const Aws::String& value) { SetCodeReviewArn(value); return *this;} + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline PutRecommendationFeedbackRequest& WithCodeReviewArn(Aws::String&& value) { SetCodeReviewArn(std::move(value)); return *this;} + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline PutRecommendationFeedbackRequest& WithCodeReviewArn(const char* value) { SetCodeReviewArn(value); return *this;} + + + /** + *The recommendation ID that can be used to track the provided recommendations + * and then to collect the feedback.
+ */ + inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; } + + /** + *The recommendation ID that can be used to track the provided recommendations + * and then to collect the feedback.
+ */ + inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; } + + /** + *The recommendation ID that can be used to track the provided recommendations + * and then to collect the feedback.
+ */ + inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; } + + /** + *The recommendation ID that can be used to track the provided recommendations + * and then to collect the feedback.
+ */ + inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); } + + /** + *The recommendation ID that can be used to track the provided recommendations + * and then to collect the feedback.
+ */ + inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); } + + /** + *The recommendation ID that can be used to track the provided recommendations + * and then to collect the feedback.
+ */ + inline PutRecommendationFeedbackRequest& WithRecommendationId(const Aws::String& value) { SetRecommendationId(value); return *this;} + + /** + *The recommendation ID that can be used to track the provided recommendations + * and then to collect the feedback.
+ */ + inline PutRecommendationFeedbackRequest& WithRecommendationId(Aws::String&& value) { SetRecommendationId(std::move(value)); return *this;} + + /** + *The recommendation ID that can be used to track the provided recommendations + * and then to collect the feedback.
+ */ + inline PutRecommendationFeedbackRequest& WithRecommendationId(const char* value) { SetRecommendationId(value); return *this;} + + + /** + *List for storing reactions. Reactions are utf-8 text code for emojis. If you + * send an empty list it clears all your feedback.
+ */ + inline const Aws::VectorList for storing reactions. Reactions are utf-8 text code for emojis. If you + * send an empty list it clears all your feedback.
+ */ + inline bool ReactionsHasBeenSet() const { return m_reactionsHasBeenSet; } + + /** + *List for storing reactions. Reactions are utf-8 text code for emojis. If you + * send an empty list it clears all your feedback.
+ */ + inline void SetReactions(const Aws::VectorList for storing reactions. Reactions are utf-8 text code for emojis. If you + * send an empty list it clears all your feedback.
+ */ + inline void SetReactions(Aws::VectorList for storing reactions. Reactions are utf-8 text code for emojis. If you + * send an empty list it clears all your feedback.
+ */ + inline PutRecommendationFeedbackRequest& WithReactions(const Aws::VectorList for storing reactions. Reactions are utf-8 text code for emojis. If you + * send an empty list it clears all your feedback.
+ */ + inline PutRecommendationFeedbackRequest& WithReactions(Aws::VectorList for storing reactions. Reactions are utf-8 text code for emojis. If you + * send an empty list it clears all your feedback.
+ */ + inline PutRecommendationFeedbackRequest& AddReactions(const Reaction& value) { m_reactionsHasBeenSet = true; m_reactions.push_back(value); return *this; } + + /** + *List for storing reactions. Reactions are utf-8 text code for emojis. If you + * send an empty list it clears all your feedback.
+ */ + inline PutRecommendationFeedbackRequest& AddReactions(Reaction&& value) { m_reactionsHasBeenSet = true; m_reactions.push_back(std::move(value)); return *this; } + + private: + + Aws::String m_codeReviewArn; + bool m_codeReviewArnHasBeenSet; + + Aws::String m_recommendationId; + bool m_recommendationIdHasBeenSet; + + Aws::VectorInformation about the recommendation feedback.
The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline const Aws::String& GetCodeReviewArn() const{ return m_codeReviewArn; } + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline bool CodeReviewArnHasBeenSet() const { return m_codeReviewArnHasBeenSet; } + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline void SetCodeReviewArn(const Aws::String& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = value; } + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline void SetCodeReviewArn(Aws::String&& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = std::move(value); } + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline void SetCodeReviewArn(const char* value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn.assign(value); } + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline RecommendationFeedback& WithCodeReviewArn(const Aws::String& value) { SetCodeReviewArn(value); return *this;} + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline RecommendationFeedback& WithCodeReviewArn(Aws::String&& value) { SetCodeReviewArn(std::move(value)); return *this;} + + /** + *The Amazon Resource Name (ARN) that identifies the code review.
+ */ + inline RecommendationFeedback& WithCodeReviewArn(const char* value) { SetCodeReviewArn(value); return *this;} + + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; } + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; } + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; } + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); } + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); } + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline RecommendationFeedback& WithRecommendationId(const Aws::String& value) { SetRecommendationId(value); return *this;} + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline RecommendationFeedback& WithRecommendationId(Aws::String&& value) { SetRecommendationId(std::move(value)); return *this;} + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline RecommendationFeedback& WithRecommendationId(const char* value) { SetRecommendationId(value); return *this;} + + + /** + *List for storing reactions. Reactions are utf-8 text code for emojis. You + * can send an empty list to clear off all your feedback.
+ */ + inline const Aws::VectorList for storing reactions. Reactions are utf-8 text code for emojis. You + * can send an empty list to clear off all your feedback.
+ */ + inline bool ReactionsHasBeenSet() const { return m_reactionsHasBeenSet; } + + /** + *List for storing reactions. Reactions are utf-8 text code for emojis. You + * can send an empty list to clear off all your feedback.
+ */ + inline void SetReactions(const Aws::VectorList for storing reactions. Reactions are utf-8 text code for emojis. You + * can send an empty list to clear off all your feedback.
+ */ + inline void SetReactions(Aws::VectorList for storing reactions. Reactions are utf-8 text code for emojis. You + * can send an empty list to clear off all your feedback.
+ */ + inline RecommendationFeedback& WithReactions(const Aws::VectorList for storing reactions. Reactions are utf-8 text code for emojis. You + * can send an empty list to clear off all your feedback.
+ */ + inline RecommendationFeedback& WithReactions(Aws::VectorList for storing reactions. Reactions are utf-8 text code for emojis. You + * can send an empty list to clear off all your feedback.
+ */ + inline RecommendationFeedback& AddReactions(const Reaction& value) { m_reactionsHasBeenSet = true; m_reactions.push_back(value); return *this; } + + /** + *List for storing reactions. Reactions are utf-8 text code for emojis. You + * can send an empty list to clear off all your feedback.
+ */ + inline RecommendationFeedback& AddReactions(Reaction&& value) { m_reactionsHasBeenSet = true; m_reactions.push_back(std::move(value)); return *this; } + + + /** + *The user principal that made the API call.
+ */ + inline const Aws::String& GetUserId() const{ return m_userId; } + + /** + *The user principal that made the API call.
+ */ + inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } + + /** + *The user principal that made the API call.
+ */ + inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } + + /** + *The user principal that made the API call.
+ */ + inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } + + /** + *The user principal that made the API call.
+ */ + inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } + + /** + *The user principal that made the API call.
+ */ + inline RecommendationFeedback& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} + + /** + *The user principal that made the API call.
+ */ + inline RecommendationFeedback& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} + + /** + *The user principal that made the API call.
+ */ + inline RecommendationFeedback& WithUserId(const char* value) { SetUserId(value); return *this;} + + + /** + *The time at which the feedback was created.
+ */ + inline const Aws::Utils::DateTime& GetCreatedTimeStamp() const{ return m_createdTimeStamp; } + + /** + *The time at which the feedback was created.
+ */ + inline bool CreatedTimeStampHasBeenSet() const { return m_createdTimeStampHasBeenSet; } + + /** + *The time at which the feedback was created.
+ */ + inline void SetCreatedTimeStamp(const Aws::Utils::DateTime& value) { m_createdTimeStampHasBeenSet = true; m_createdTimeStamp = value; } + + /** + *The time at which the feedback was created.
+ */ + inline void SetCreatedTimeStamp(Aws::Utils::DateTime&& value) { m_createdTimeStampHasBeenSet = true; m_createdTimeStamp = std::move(value); } + + /** + *The time at which the feedback was created.
+ */ + inline RecommendationFeedback& WithCreatedTimeStamp(const Aws::Utils::DateTime& value) { SetCreatedTimeStamp(value); return *this;} + + /** + *The time at which the feedback was created.
+ */ + inline RecommendationFeedback& WithCreatedTimeStamp(Aws::Utils::DateTime&& value) { SetCreatedTimeStamp(std::move(value)); return *this;} + + + /** + *The time at which the feedback was last updated.
+ */ + inline const Aws::Utils::DateTime& GetLastUpdatedTimeStamp() const{ return m_lastUpdatedTimeStamp; } + + /** + *The time at which the feedback was last updated.
+ */ + inline bool LastUpdatedTimeStampHasBeenSet() const { return m_lastUpdatedTimeStampHasBeenSet; } + + /** + *The time at which the feedback was last updated.
+ */ + inline void SetLastUpdatedTimeStamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeStampHasBeenSet = true; m_lastUpdatedTimeStamp = value; } + + /** + *The time at which the feedback was last updated.
+ */ + inline void SetLastUpdatedTimeStamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeStampHasBeenSet = true; m_lastUpdatedTimeStamp = std::move(value); } + + /** + *The time at which the feedback was last updated.
+ */ + inline RecommendationFeedback& WithLastUpdatedTimeStamp(const Aws::Utils::DateTime& value) { SetLastUpdatedTimeStamp(value); return *this;} + + /** + *The time at which the feedback was last updated.
+ */ + inline RecommendationFeedback& WithLastUpdatedTimeStamp(Aws::Utils::DateTime&& value) { SetLastUpdatedTimeStamp(std::move(value)); return *this;} + + private: + + Aws::String m_codeReviewArn; + bool m_codeReviewArnHasBeenSet; + + Aws::String m_recommendationId; + bool m_recommendationIdHasBeenSet; + + Aws::VectorInformation about recommendation feedback summaries.
The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; } + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; } + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; } + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); } + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); } + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline RecommendationFeedbackSummary& WithRecommendationId(const Aws::String& value) { SetRecommendationId(value); return *this;} + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline RecommendationFeedbackSummary& WithRecommendationId(Aws::String&& value) { SetRecommendationId(std::move(value)); return *this;} + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline RecommendationFeedbackSummary& WithRecommendationId(const char* value) { SetRecommendationId(value); return *this;} + + + /** + *List for storing reactions. Reactions are utf-8 text code for emojis.
+ */ + inline const Aws::VectorList for storing reactions. Reactions are utf-8 text code for emojis.
+ */ + inline bool ReactionsHasBeenSet() const { return m_reactionsHasBeenSet; } + + /** + *List for storing reactions. Reactions are utf-8 text code for emojis.
+ */ + inline void SetReactions(const Aws::VectorList for storing reactions. Reactions are utf-8 text code for emojis.
+ */ + inline void SetReactions(Aws::VectorList for storing reactions. Reactions are utf-8 text code for emojis.
+ */ + inline RecommendationFeedbackSummary& WithReactions(const Aws::VectorList for storing reactions. Reactions are utf-8 text code for emojis.
+ */ + inline RecommendationFeedbackSummary& WithReactions(Aws::VectorList for storing reactions. Reactions are utf-8 text code for emojis.
+ */ + inline RecommendationFeedbackSummary& AddReactions(const Reaction& value) { m_reactionsHasBeenSet = true; m_reactions.push_back(value); return *this; } + + /** + *List for storing reactions. Reactions are utf-8 text code for emojis.
+ */ + inline RecommendationFeedbackSummary& AddReactions(Reaction&& value) { m_reactionsHasBeenSet = true; m_reactions.push_back(std::move(value)); return *this; } + + + /** + *The identifier for the user that gave the feedback.
+ */ + inline const Aws::String& GetUserId() const{ return m_userId; } + + /** + *The identifier for the user that gave the feedback.
+ */ + inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } + + /** + *The identifier for the user that gave the feedback.
+ */ + inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } + + /** + *The identifier for the user that gave the feedback.
+ */ + inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } + + /** + *The identifier for the user that gave the feedback.
+ */ + inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } + + /** + *The identifier for the user that gave the feedback.
+ */ + inline RecommendationFeedbackSummary& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} + + /** + *The identifier for the user that gave the feedback.
+ */ + inline RecommendationFeedbackSummary& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} + + /** + *The identifier for the user that gave the feedback.
+ */ + inline RecommendationFeedbackSummary& WithUserId(const char* value) { SetUserId(value); return *this;} + + private: + + Aws::String m_recommendationId; + bool m_recommendationIdHasBeenSet; + + Aws::VectorInformation about recommendations.
Name of the file on which a recommendation is provided.
+ */ + inline const Aws::String& GetFilePath() const{ return m_filePath; } + + /** + *Name of the file on which a recommendation is provided.
+ */ + inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; } + + /** + *Name of the file on which a recommendation is provided.
+ */ + inline void SetFilePath(const Aws::String& value) { m_filePathHasBeenSet = true; m_filePath = value; } + + /** + *Name of the file on which a recommendation is provided.
+ */ + inline void SetFilePath(Aws::String&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); } + + /** + *Name of the file on which a recommendation is provided.
+ */ + inline void SetFilePath(const char* value) { m_filePathHasBeenSet = true; m_filePath.assign(value); } + + /** + *Name of the file on which a recommendation is provided.
+ */ + inline RecommendationSummary& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;} + + /** + *Name of the file on which a recommendation is provided.
+ */ + inline RecommendationSummary& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;} + + /** + *Name of the file on which a recommendation is provided.
+ */ + inline RecommendationSummary& WithFilePath(const char* value) { SetFilePath(value); return *this;} + + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; } + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; } + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; } + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); } + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); } + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline RecommendationSummary& WithRecommendationId(const Aws::String& value) { SetRecommendationId(value); return *this;} + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline RecommendationSummary& WithRecommendationId(Aws::String&& value) { SetRecommendationId(std::move(value)); return *this;} + + /** + *The recommendation ID that can be used to track the provided + * recommendations. Later on it can be used to collect the feedback.
+ */ + inline RecommendationSummary& WithRecommendationId(const char* value) { SetRecommendationId(value); return *this;} + + + /** + *Start line from where the recommendation is applicable in the source commit + * or source branch.
+ */ + inline int GetStartLine() const{ return m_startLine; } + + /** + *Start line from where the recommendation is applicable in the source commit + * or source branch.
+ */ + inline bool StartLineHasBeenSet() const { return m_startLineHasBeenSet; } + + /** + *Start line from where the recommendation is applicable in the source commit + * or source branch.
+ */ + inline void SetStartLine(int value) { m_startLineHasBeenSet = true; m_startLine = value; } + + /** + *Start line from where the recommendation is applicable in the source commit + * or source branch.
+ */ + inline RecommendationSummary& WithStartLine(int value) { SetStartLine(value); return *this;} + + + /** + *Last line where the recommendation is applicable in the source commit or + * source branch. For a single line comment the start line and end line values will + * be the same.
+ */ + inline int GetEndLine() const{ return m_endLine; } + + /** + *Last line where the recommendation is applicable in the source commit or + * source branch. For a single line comment the start line and end line values will + * be the same.
+ */ + inline bool EndLineHasBeenSet() const { return m_endLineHasBeenSet; } + + /** + *Last line where the recommendation is applicable in the source commit or + * source branch. For a single line comment the start line and end line values will + * be the same.
+ */ + inline void SetEndLine(int value) { m_endLineHasBeenSet = true; m_endLine = value; } + + /** + *Last line where the recommendation is applicable in the source commit or + * source branch. For a single line comment the start line and end line values will + * be the same.
+ */ + inline RecommendationSummary& WithEndLine(int value) { SetEndLine(value); return *this;} + + + /** + *A description of the recommendation generated by CodeGuru Reviewer for the + * lines of code between the start line and the end line.
+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *A description of the recommendation generated by CodeGuru Reviewer for the + * lines of code between the start line and the end line.
+ */ + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + + /** + *A description of the recommendation generated by CodeGuru Reviewer for the + * lines of code between the start line and the end line.
+ */ + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + + /** + *A description of the recommendation generated by CodeGuru Reviewer for the + * lines of code between the start line and the end line.
+ */ + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + + /** + *A description of the recommendation generated by CodeGuru Reviewer for the + * lines of code between the start line and the end line.
+ */ + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + + /** + *A description of the recommendation generated by CodeGuru Reviewer for the + * lines of code between the start line and the end line.
+ */ + inline RecommendationSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *A description of the recommendation generated by CodeGuru Reviewer for the + * lines of code between the start line and the end line.
+ */ + inline RecommendationSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *A description of the recommendation generated by CodeGuru Reviewer for the + * lines of code between the start line and the end line.
+ */ + inline RecommendationSummary& WithDescription(const char* value) { SetDescription(value); return *this;} + + private: + + Aws::String m_filePath; + bool m_filePathHasBeenSet; + + Aws::String m_recommendationId; + bool m_recommendationIdHasBeenSet; + + int m_startLine; + bool m_startLineHasBeenSet; + + int m_endLine; + bool m_endLineHasBeenSet; + + Aws::String m_description; + bool m_descriptionHasBeenSet; + }; + +} // namespace Model +} // namespace CodeGuruReviewer +} // namespace Aws diff --git a/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/RepositoryAssociation.h b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/RepositoryAssociation.h index 2df8a2b061f..b51b3c4abb0 100644 --- a/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/RepositoryAssociation.h +++ b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/RepositoryAssociation.h @@ -51,42 +51,42 @@ namespace Model /** - *The id of the repository association.
+ *The ID of the repository association.
*/ inline const Aws::String& GetAssociationId() const{ return m_associationId; } /** - *The id of the repository association.
+ *The ID of the repository association.
*/ inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; } /** - *The id of the repository association.
+ *The ID of the repository association.
*/ inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; } /** - *The id of the repository association.
+ *The ID of the repository association.
*/ inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); } /** - *The id of the repository association.
+ *The ID of the repository association.
*/ inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); } /** - *The id of the repository association.
+ *The ID of the repository association.
*/ inline RepositoryAssociation& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;} /** - *The id of the repository association.
+ *The ID of the repository association.
*/ inline RepositoryAssociation& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;} /** - *The id of the repository association.
+ *The ID of the repository association.
*/ inline RepositoryAssociation& WithAssociationId(const char* value) { SetAssociationId(value); return *this;} diff --git a/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/RepositoryAssociationSummary.h b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/RepositoryAssociationSummary.h index bb1e2e97c03..2ec1baaa769 100644 --- a/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/RepositoryAssociationSummary.h +++ b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/RepositoryAssociationSummary.h @@ -286,8 +286,7 @@ namespace Model *The state of the repository association.
Amazon CodeGuru Reviewer is associated with the repository.
The association is in progress.
The association failed. For more information about - * troubleshooting (or why it failed), see [troubleshooting topic].
The association failed.
Amazon CodeGuru Reviewer is in the process of * disassociating with the repository.
The state of the repository association.
Amazon CodeGuru Reviewer is associated with the repository.
The association is in progress.
The association failed. For more information about - * troubleshooting (or why it failed), see [troubleshooting topic].
The association failed.
Amazon CodeGuru Reviewer is in the process of * disassociating with the repository.
The state of the repository association.
Amazon CodeGuru Reviewer is associated with the repository.
The association is in progress.
The association failed. For more information about - * troubleshooting (or why it failed), see [troubleshooting topic].
The association failed.
Amazon CodeGuru Reviewer is in the process of * disassociating with the repository.
The state of the repository association.
Amazon CodeGuru Reviewer is associated with the repository.
The association is in progress.
The association failed. For more information about - * troubleshooting (or why it failed), see [troubleshooting topic].
The association failed.
Amazon CodeGuru Reviewer is in the process of * disassociating with the repository.
The state of the repository association.
Amazon CodeGuru Reviewer is associated with the repository.
The association is in progress.
The association failed. For more information about - * troubleshooting (or why it failed), see [troubleshooting topic].
The association failed.
Amazon CodeGuru Reviewer is in the process of * disassociating with the repository.
The state of the repository association.
Amazon CodeGuru Reviewer is associated with the repository.
The association is in progress.
The association failed. For more information about - * troubleshooting (or why it failed), see [troubleshooting topic].
The association failed.
Amazon CodeGuru Reviewer is in the process of * disassociating with the repository.
Information about the source code type.
The commit diff for the pull request.
+ */ + inline const CommitDiffSourceCodeType& GetCommitDiff() const{ return m_commitDiff; } + + /** + *The commit diff for the pull request.
+ */ + inline bool CommitDiffHasBeenSet() const { return m_commitDiffHasBeenSet; } + + /** + *The commit diff for the pull request.
+ */ + inline void SetCommitDiff(const CommitDiffSourceCodeType& value) { m_commitDiffHasBeenSet = true; m_commitDiff = value; } + + /** + *The commit diff for the pull request.
+ */ + inline void SetCommitDiff(CommitDiffSourceCodeType&& value) { m_commitDiffHasBeenSet = true; m_commitDiff = std::move(value); } + + /** + *The commit diff for the pull request.
+ */ + inline SourceCodeType& WithCommitDiff(const CommitDiffSourceCodeType& value) { SetCommitDiff(value); return *this;} + + /** + *The commit diff for the pull request.
+ */ + inline SourceCodeType& WithCommitDiff(CommitDiffSourceCodeType&& value) { SetCommitDiff(std::move(value)); return *this;} + + private: + + CommitDiffSourceCodeType m_commitDiff; + bool m_commitDiffHasBeenSet; + }; + +} // namespace Model +} // namespace CodeGuruReviewer +} // namespace Aws diff --git a/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/Type.h b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/Type.h new file mode 100644 index 00000000000..fafd1b2f4c2 --- /dev/null +++ b/aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/Type.h @@ -0,0 +1,40 @@ +/* +* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. +* +* Licensed under the Apache License, Version 2.0 (the "License"). +* You may not use this file except in compliance with the License. +* A copy of the License is located at +* +* http://aws.amazon.com/apache2.0 +* +* or in the "license" file accompanying this file. This file is distributed +* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +* express or implied. See the License for the specific language governing +* permissions and limitations under the License. +*/ + +#pragma once +#include