forked from ClickHouse/aws-sdk-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for code review and recommendation feedback APIs.
This release is to support AWS Firewall Manager policy with Organizational Unit scope. Amazon Redshift support for usage limits This change adds a new field 'OptionalDeployment' to ServiceSoftwareOptions to indicate whether a service software update is optional or mandatory. If True, it indicates that the update is optional, and the service software is not automatically updated. If False, the service software is automatically updated after AutomatedUpdateDate. Adding ServiceUnavailableException as one of the expected exceptions
- Loading branch information
aws-sdk-cpp-automation
committed
Apr 22, 2020
1 parent
c04706c
commit 12f3db4
Showing
99 changed files
with
12,862 additions
and
530 deletions.
There are no files selected for viewing
237 changes: 225 additions & 12 deletions
237
aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/CodeGuruReviewerClient.h
Large diffs are not rendered by default.
Oops, something went wrong.
216 changes: 104 additions & 112 deletions
216
...pp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/AssociateRepositoryRequest.h
Large diffs are not rendered by default.
Oops, something went wrong.
574 changes: 574 additions & 0 deletions
574
aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/CodeReview.h
Large diffs are not rendered by default.
Oops, something went wrong.
496 changes: 496 additions & 0 deletions
496
aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/CodeReviewSummary.h
Large diffs are not rendered by default.
Oops, something went wrong.
142 changes: 142 additions & 0 deletions
142
aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/CommitDiffSourceCodeType.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h> | ||
#include <aws/core/utils/memory/stl/AWSString.h> | ||
#include <utility> | ||
|
||
namespace Aws | ||
{ | ||
namespace Utils | ||
{ | ||
namespace Json | ||
{ | ||
class JsonValue; | ||
class JsonView; | ||
} // namespace Json | ||
} // namespace Utils | ||
namespace CodeGuruReviewer | ||
{ | ||
namespace Model | ||
{ | ||
|
||
/** | ||
* <p> The commit diff for the pull request. </p><p><h3>See Also:</h3> <a | ||
* href="http://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/CommitDiffSourceCodeType">AWS | ||
* API Reference</a></p> | ||
*/ | ||
class AWS_CODEGURUREVIEWER_API CommitDiffSourceCodeType | ||
{ | ||
public: | ||
CommitDiffSourceCodeType(); | ||
CommitDiffSourceCodeType(Aws::Utils::Json::JsonView jsonValue); | ||
CommitDiffSourceCodeType& operator=(Aws::Utils::Json::JsonView jsonValue); | ||
Aws::Utils::Json::JsonValue Jsonize() const; | ||
|
||
|
||
/** | ||
* <p> Source Commit SHA. </p> | ||
*/ | ||
inline const Aws::String& GetSourceCommit() const{ return m_sourceCommit; } | ||
|
||
/** | ||
* <p> Source Commit SHA. </p> | ||
*/ | ||
inline bool SourceCommitHasBeenSet() const { return m_sourceCommitHasBeenSet; } | ||
|
||
/** | ||
* <p> Source Commit SHA. </p> | ||
*/ | ||
inline void SetSourceCommit(const Aws::String& value) { m_sourceCommitHasBeenSet = true; m_sourceCommit = value; } | ||
|
||
/** | ||
* <p> Source Commit SHA. </p> | ||
*/ | ||
inline void SetSourceCommit(Aws::String&& value) { m_sourceCommitHasBeenSet = true; m_sourceCommit = std::move(value); } | ||
|
||
/** | ||
* <p> Source Commit SHA. </p> | ||
*/ | ||
inline void SetSourceCommit(const char* value) { m_sourceCommitHasBeenSet = true; m_sourceCommit.assign(value); } | ||
|
||
/** | ||
* <p> Source Commit SHA. </p> | ||
*/ | ||
inline CommitDiffSourceCodeType& WithSourceCommit(const Aws::String& value) { SetSourceCommit(value); return *this;} | ||
|
||
/** | ||
* <p> Source Commit SHA. </p> | ||
*/ | ||
inline CommitDiffSourceCodeType& WithSourceCommit(Aws::String&& value) { SetSourceCommit(std::move(value)); return *this;} | ||
|
||
/** | ||
* <p> Source Commit SHA. </p> | ||
*/ | ||
inline CommitDiffSourceCodeType& WithSourceCommit(const char* value) { SetSourceCommit(value); return *this;} | ||
|
||
|
||
/** | ||
* <p> Destination Commit SHA </p> | ||
*/ | ||
inline const Aws::String& GetDestinationCommit() const{ return m_destinationCommit; } | ||
|
||
/** | ||
* <p> Destination Commit SHA </p> | ||
*/ | ||
inline bool DestinationCommitHasBeenSet() const { return m_destinationCommitHasBeenSet; } | ||
|
||
/** | ||
* <p> Destination Commit SHA </p> | ||
*/ | ||
inline void SetDestinationCommit(const Aws::String& value) { m_destinationCommitHasBeenSet = true; m_destinationCommit = value; } | ||
|
||
/** | ||
* <p> Destination Commit SHA </p> | ||
*/ | ||
inline void SetDestinationCommit(Aws::String&& value) { m_destinationCommitHasBeenSet = true; m_destinationCommit = std::move(value); } | ||
|
||
/** | ||
* <p> Destination Commit SHA </p> | ||
*/ | ||
inline void SetDestinationCommit(const char* value) { m_destinationCommitHasBeenSet = true; m_destinationCommit.assign(value); } | ||
|
||
/** | ||
* <p> Destination Commit SHA </p> | ||
*/ | ||
inline CommitDiffSourceCodeType& WithDestinationCommit(const Aws::String& value) { SetDestinationCommit(value); return *this;} | ||
|
||
/** | ||
* <p> Destination Commit SHA </p> | ||
*/ | ||
inline CommitDiffSourceCodeType& WithDestinationCommit(Aws::String&& value) { SetDestinationCommit(std::move(value)); return *this;} | ||
|
||
/** | ||
* <p> Destination Commit SHA </p> | ||
*/ | ||
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 |
93 changes: 93 additions & 0 deletions
93
...cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/DescribeCodeReviewRequest.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h> | ||
#include <aws/codeguru-reviewer/CodeGuruReviewerRequest.h> | ||
#include <aws/core/utils/memory/stl/AWSString.h> | ||
#include <utility> | ||
|
||
namespace Aws | ||
{ | ||
namespace CodeGuruReviewer | ||
{ | ||
namespace Model | ||
{ | ||
|
||
/** | ||
*/ | ||
class AWS_CODEGURUREVIEWER_API DescribeCodeReviewRequest : public CodeGuruReviewerRequest | ||
{ | ||
public: | ||
DescribeCodeReviewRequest(); | ||
|
||
// Service request name is the Operation name which will send this request out, | ||
// each operation should has unique request name, so that we can get operation's name from this request. | ||
// Note: this is not true for response, multiple operations may have the same response name, | ||
// so we can not get operation's name from response. | ||
inline virtual const char* GetServiceRequestName() const override { return "DescribeCodeReview"; } | ||
|
||
Aws::String SerializePayload() const override; | ||
|
||
|
||
/** | ||
* <p> The Amazon Resource Name (ARN) of the code review to describe. </p> | ||
*/ | ||
inline const Aws::String& GetCodeReviewArn() const{ return m_codeReviewArn; } | ||
|
||
/** | ||
* <p> The Amazon Resource Name (ARN) of the code review to describe. </p> | ||
*/ | ||
inline bool CodeReviewArnHasBeenSet() const { return m_codeReviewArnHasBeenSet; } | ||
|
||
/** | ||
* <p> The Amazon Resource Name (ARN) of the code review to describe. </p> | ||
*/ | ||
inline void SetCodeReviewArn(const Aws::String& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = value; } | ||
|
||
/** | ||
* <p> The Amazon Resource Name (ARN) of the code review to describe. </p> | ||
*/ | ||
inline void SetCodeReviewArn(Aws::String&& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = std::move(value); } | ||
|
||
/** | ||
* <p> The Amazon Resource Name (ARN) of the code review to describe. </p> | ||
*/ | ||
inline void SetCodeReviewArn(const char* value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn.assign(value); } | ||
|
||
/** | ||
* <p> The Amazon Resource Name (ARN) of the code review to describe. </p> | ||
*/ | ||
inline DescribeCodeReviewRequest& WithCodeReviewArn(const Aws::String& value) { SetCodeReviewArn(value); return *this;} | ||
|
||
/** | ||
* <p> The Amazon Resource Name (ARN) of the code review to describe. </p> | ||
*/ | ||
inline DescribeCodeReviewRequest& WithCodeReviewArn(Aws::String&& value) { SetCodeReviewArn(std::move(value)); return *this;} | ||
|
||
/** | ||
* <p> The Amazon Resource Name (ARN) of the code review to describe. </p> | ||
*/ | ||
inline DescribeCodeReviewRequest& WithCodeReviewArn(const char* value) { SetCodeReviewArn(value); return *this;} | ||
|
||
private: | ||
|
||
Aws::String m_codeReviewArn; | ||
bool m_codeReviewArnHasBeenSet; | ||
}; | ||
|
||
} // namespace Model | ||
} // namespace CodeGuruReviewer | ||
} // namespace Aws |
77 changes: 77 additions & 0 deletions
77
aws-cpp-sdk-codeguru-reviewer/include/aws/codeguru-reviewer/model/DescribeCodeReviewResult.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h> | ||
#include <aws/codeguru-reviewer/model/CodeReview.h> | ||
#include <utility> | ||
|
||
namespace Aws | ||
{ | ||
template<typename RESULT_TYPE> | ||
class AmazonWebServiceResult; | ||
|
||
namespace Utils | ||
{ | ||
namespace Json | ||
{ | ||
class JsonValue; | ||
} // namespace Json | ||
} // namespace Utils | ||
namespace CodeGuruReviewer | ||
{ | ||
namespace Model | ||
{ | ||
class AWS_CODEGURUREVIEWER_API DescribeCodeReviewResult | ||
{ | ||
public: | ||
DescribeCodeReviewResult(); | ||
DescribeCodeReviewResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); | ||
DescribeCodeReviewResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); | ||
|
||
|
||
/** | ||
* <p> Information about the code review. </p> | ||
*/ | ||
inline const CodeReview& GetCodeReview() const{ return m_codeReview; } | ||
|
||
/** | ||
* <p> Information about the code review. </p> | ||
*/ | ||
inline void SetCodeReview(const CodeReview& value) { m_codeReview = value; } | ||
|
||
/** | ||
* <p> Information about the code review. </p> | ||
*/ | ||
inline void SetCodeReview(CodeReview&& value) { m_codeReview = std::move(value); } | ||
|
||
/** | ||
* <p> Information about the code review. </p> | ||
*/ | ||
inline DescribeCodeReviewResult& WithCodeReview(const CodeReview& value) { SetCodeReview(value); return *this;} | ||
|
||
/** | ||
* <p> Information about the code review. </p> | ||
*/ | ||
inline DescribeCodeReviewResult& WithCodeReview(CodeReview&& value) { SetCodeReview(std::move(value)); return *this;} | ||
|
||
private: | ||
|
||
CodeReview m_codeReview; | ||
}; | ||
|
||
} // namespace Model | ||
} // namespace CodeGuruReviewer | ||
} // namespace Aws |
Oops, something went wrong.