AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
DescribeCodeCoveragesRequest.h
1
6#pragma once
7#include <aws/codebuild/CodeBuildRequest.h>
8#include <aws/codebuild/CodeBuild_EXPORTS.h>
9#include <aws/codebuild/model/ReportCodeCoverageSortByType.h>
10#include <aws/codebuild/model/SortOrderType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace CodeBuild {
17namespace Model {
18
22 public:
23 AWS_CODEBUILD_API DescribeCodeCoveragesRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeCodeCoverages"; }
30
31 AWS_CODEBUILD_API Aws::String SerializePayload() const override;
32
34
36
39 inline const Aws::String& GetReportArn() const { return m_reportArn; }
40 inline bool ReportArnHasBeenSet() const { return m_reportArnHasBeenSet; }
41 template <typename ReportArnT = Aws::String>
42 void SetReportArn(ReportArnT&& value) {
43 m_reportArnHasBeenSet = true;
44 m_reportArn = std::forward<ReportArnT>(value);
45 }
46 template <typename ReportArnT = Aws::String>
48 SetReportArn(std::forward<ReportArnT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetNextToken() const { return m_nextToken; }
60 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
61 template <typename NextTokenT = Aws::String>
62 void SetNextToken(NextTokenT&& value) {
63 m_nextTokenHasBeenSet = true;
64 m_nextToken = std::forward<NextTokenT>(value);
65 }
66 template <typename NextTokenT = Aws::String>
68 SetNextToken(std::forward<NextTokenT>(value));
69 return *this;
70 }
72
74
77 inline int GetMaxResults() const { return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) {
80 m_maxResultsHasBeenSet = true;
81 m_maxResults = value;
82 }
84 SetMaxResults(value);
85 return *this;
86 }
88
90
93 inline SortOrderType GetSortOrder() const { return m_sortOrder; }
94 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
95 inline void SetSortOrder(SortOrderType value) {
96 m_sortOrderHasBeenSet = true;
97 m_sortOrder = value;
98 }
100 SetSortOrder(value);
101 return *this;
102 }
104
106
112 inline ReportCodeCoverageSortByType GetSortBy() const { return m_sortBy; }
113 inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
115 m_sortByHasBeenSet = true;
116 m_sortBy = value;
117 }
119 SetSortBy(value);
120 return *this;
121 }
123
125
128 inline double GetMinLineCoveragePercentage() const { return m_minLineCoveragePercentage; }
129 inline bool MinLineCoveragePercentageHasBeenSet() const { return m_minLineCoveragePercentageHasBeenSet; }
130 inline void SetMinLineCoveragePercentage(double value) {
131 m_minLineCoveragePercentageHasBeenSet = true;
132 m_minLineCoveragePercentage = value;
133 }
136 return *this;
137 }
139
141
144 inline double GetMaxLineCoveragePercentage() const { return m_maxLineCoveragePercentage; }
145 inline bool MaxLineCoveragePercentageHasBeenSet() const { return m_maxLineCoveragePercentageHasBeenSet; }
146 inline void SetMaxLineCoveragePercentage(double value) {
147 m_maxLineCoveragePercentageHasBeenSet = true;
148 m_maxLineCoveragePercentage = value;
149 }
152 return *this;
153 }
155 private:
156 Aws::String m_reportArn;
157 bool m_reportArnHasBeenSet = false;
158
159 Aws::String m_nextToken;
160 bool m_nextTokenHasBeenSet = false;
161
162 int m_maxResults{0};
163 bool m_maxResultsHasBeenSet = false;
164
166 bool m_sortOrderHasBeenSet = false;
167
169 bool m_sortByHasBeenSet = false;
170
171 double m_minLineCoveragePercentage{0.0};
172 bool m_minLineCoveragePercentageHasBeenSet = false;
173
174 double m_maxLineCoveragePercentage{0.0};
175 bool m_maxLineCoveragePercentageHasBeenSet = false;
176};
177
178} // namespace Model
179} // namespace CodeBuild
180} // 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