AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeCodeCoveragesRequest.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/CodeBuildRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codebuild/model/SortOrderType.h>
11#include <aws/codebuild/model/ReportCodeCoverageSortByType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CodeBuild
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CODEBUILD_API DescribeCodeCoveragesRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeCodeCoverages"; }
33
34 AWS_CODEBUILD_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetReportArn() const{ return m_reportArn; }
44 inline bool ReportArnHasBeenSet() const { return m_reportArnHasBeenSet; }
45 inline void SetReportArn(const Aws::String& value) { m_reportArnHasBeenSet = true; m_reportArn = value; }
46 inline void SetReportArn(Aws::String&& value) { m_reportArnHasBeenSet = true; m_reportArn = std::move(value); }
47 inline void SetReportArn(const char* value) { m_reportArnHasBeenSet = true; m_reportArn.assign(value); }
48 inline DescribeCodeCoveragesRequest& WithReportArn(const Aws::String& value) { SetReportArn(value); return *this;}
49 inline DescribeCodeCoveragesRequest& WithReportArn(Aws::String&& value) { SetReportArn(std::move(value)); return *this;}
50 inline DescribeCodeCoveragesRequest& WithReportArn(const char* value) { SetReportArn(value); return *this;}
52
54
59 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
60 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
61 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
62 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
63 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
64 inline DescribeCodeCoveragesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
65 inline DescribeCodeCoveragesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
66 inline DescribeCodeCoveragesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
68
70
73 inline int GetMaxResults() const{ return m_maxResults; }
74 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
75 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
76 inline DescribeCodeCoveragesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
78
80
83 inline const SortOrderType& GetSortOrder() const{ return m_sortOrder; }
84 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
85 inline void SetSortOrder(const SortOrderType& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
86 inline void SetSortOrder(SortOrderType&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
87 inline DescribeCodeCoveragesRequest& WithSortOrder(const SortOrderType& value) { SetSortOrder(value); return *this;}
88 inline DescribeCodeCoveragesRequest& WithSortOrder(SortOrderType&& value) { SetSortOrder(std::move(value)); return *this;}
90
92
98 inline const ReportCodeCoverageSortByType& GetSortBy() const{ return m_sortBy; }
99 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
100 inline void SetSortBy(const ReportCodeCoverageSortByType& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
101 inline void SetSortBy(ReportCodeCoverageSortByType&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
103 inline DescribeCodeCoveragesRequest& WithSortBy(ReportCodeCoverageSortByType&& value) { SetSortBy(std::move(value)); return *this;}
105
107
110 inline double GetMinLineCoveragePercentage() const{ return m_minLineCoveragePercentage; }
111 inline bool MinLineCoveragePercentageHasBeenSet() const { return m_minLineCoveragePercentageHasBeenSet; }
112 inline void SetMinLineCoveragePercentage(double value) { m_minLineCoveragePercentageHasBeenSet = true; m_minLineCoveragePercentage = value; }
115
117
120 inline double GetMaxLineCoveragePercentage() const{ return m_maxLineCoveragePercentage; }
121 inline bool MaxLineCoveragePercentageHasBeenSet() const { return m_maxLineCoveragePercentageHasBeenSet; }
122 inline void SetMaxLineCoveragePercentage(double value) { m_maxLineCoveragePercentageHasBeenSet = true; m_maxLineCoveragePercentage = value; }
125 private:
126
127 Aws::String m_reportArn;
128 bool m_reportArnHasBeenSet = false;
129
130 Aws::String m_nextToken;
131 bool m_nextTokenHasBeenSet = false;
132
133 int m_maxResults;
134 bool m_maxResultsHasBeenSet = false;
135
136 SortOrderType m_sortOrder;
137 bool m_sortOrderHasBeenSet = false;
138
140 bool m_sortByHasBeenSet = false;
141
142 double m_minLineCoveragePercentage;
143 bool m_minLineCoveragePercentageHasBeenSet = false;
144
145 double m_maxLineCoveragePercentage;
146 bool m_maxLineCoveragePercentageHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace CodeBuild
151} // namespace Aws
DescribeCodeCoveragesRequest & WithNextToken(Aws::String &&value)
DescribeCodeCoveragesRequest & WithNextToken(const char *value)
DescribeCodeCoveragesRequest & WithReportArn(Aws::String &&value)
DescribeCodeCoveragesRequest & WithMaxLineCoveragePercentage(double value)
void SetSortBy(const ReportCodeCoverageSortByType &value)
DescribeCodeCoveragesRequest & WithSortBy(ReportCodeCoverageSortByType &&value)
DescribeCodeCoveragesRequest & WithSortOrder(const SortOrderType &value)
DescribeCodeCoveragesRequest & WithSortOrder(SortOrderType &&value)
DescribeCodeCoveragesRequest & WithNextToken(const Aws::String &value)
DescribeCodeCoveragesRequest & WithReportArn(const char *value)
DescribeCodeCoveragesRequest & WithReportArn(const Aws::String &value)
DescribeCodeCoveragesRequest & WithMaxResults(int value)
DescribeCodeCoveragesRequest & WithMinLineCoveragePercentage(double value)
DescribeCodeCoveragesRequest & WithSortBy(const ReportCodeCoverageSortByType &value)
const ReportCodeCoverageSortByType & GetSortBy() const
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CODEBUILD_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String