AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ReportArnT = Aws::String>
46 void SetReportArn(ReportArnT&& value) { m_reportArnHasBeenSet = true; m_reportArn = std::forward<ReportArnT>(value); }
47 template<typename ReportArnT = Aws::String>
48 DescribeCodeCoveragesRequest& WithReportArn(ReportArnT&& value) { SetReportArn(std::forward<ReportArnT>(value)); return *this;}
50
52
57 inline const Aws::String& GetNextToken() const { return m_nextToken; }
58 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
59 template<typename NextTokenT = Aws::String>
60 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
61 template<typename NextTokenT = Aws::String>
62 DescribeCodeCoveragesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
64
66
69 inline int GetMaxResults() const { return m_maxResults; }
70 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
71 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
72 inline DescribeCodeCoveragesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
74
76
79 inline SortOrderType GetSortOrder() const { return m_sortOrder; }
80 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
81 inline void SetSortOrder(SortOrderType value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
84
86
92 inline ReportCodeCoverageSortByType GetSortBy() const { return m_sortBy; }
93 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
94 inline void SetSortBy(ReportCodeCoverageSortByType value) { m_sortByHasBeenSet = true; m_sortBy = value; }
97
99
102 inline double GetMinLineCoveragePercentage() const { return m_minLineCoveragePercentage; }
103 inline bool MinLineCoveragePercentageHasBeenSet() const { return m_minLineCoveragePercentageHasBeenSet; }
104 inline void SetMinLineCoveragePercentage(double value) { m_minLineCoveragePercentageHasBeenSet = true; m_minLineCoveragePercentage = value; }
107
109
112 inline double GetMaxLineCoveragePercentage() const { return m_maxLineCoveragePercentage; }
113 inline bool MaxLineCoveragePercentageHasBeenSet() const { return m_maxLineCoveragePercentageHasBeenSet; }
114 inline void SetMaxLineCoveragePercentage(double value) { m_maxLineCoveragePercentageHasBeenSet = true; m_maxLineCoveragePercentage = value; }
117 private:
118
119 Aws::String m_reportArn;
120 bool m_reportArnHasBeenSet = false;
121
122 Aws::String m_nextToken;
123 bool m_nextTokenHasBeenSet = false;
124
125 int m_maxResults{0};
126 bool m_maxResultsHasBeenSet = false;
127
129 bool m_sortOrderHasBeenSet = false;
130
132 bool m_sortByHasBeenSet = false;
133
134 double m_minLineCoveragePercentage{0.0};
135 bool m_minLineCoveragePercentageHasBeenSet = false;
136
137 double m_maxLineCoveragePercentage{0.0};
138 bool m_maxLineCoveragePercentageHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace CodeBuild
143} // namespace Aws
DescribeCodeCoveragesRequest & WithMaxLineCoveragePercentage(double value)
DescribeCodeCoveragesRequest & WithSortOrder(SortOrderType value)
DescribeCodeCoveragesRequest & WithNextToken(NextTokenT &&value)
AWS_CODEBUILD_API DescribeCodeCoveragesRequest()=default
DescribeCodeCoveragesRequest & WithReportArn(ReportArnT &&value)
DescribeCodeCoveragesRequest & WithMaxResults(int value)
DescribeCodeCoveragesRequest & WithSortBy(ReportCodeCoverageSortByType value)
DescribeCodeCoveragesRequest & WithMinLineCoveragePercentage(double value)
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