AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeTestCasesRequest.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/TestCaseFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodeBuild
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CODEBUILD_API DescribeTestCasesRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeTestCases"; }
32
33 AWS_CODEBUILD_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetReportArn() const{ return m_reportArn; }
43 inline bool ReportArnHasBeenSet() const { return m_reportArnHasBeenSet; }
44 inline void SetReportArn(const Aws::String& value) { m_reportArnHasBeenSet = true; m_reportArn = value; }
45 inline void SetReportArn(Aws::String&& value) { m_reportArnHasBeenSet = true; m_reportArn = std::move(value); }
46 inline void SetReportArn(const char* value) { m_reportArnHasBeenSet = true; m_reportArn.assign(value); }
47 inline DescribeTestCasesRequest& WithReportArn(const Aws::String& value) { SetReportArn(value); return *this;}
48 inline DescribeTestCasesRequest& WithReportArn(Aws::String&& value) { SetReportArn(std::move(value)); return *this;}
49 inline DescribeTestCasesRequest& WithReportArn(const char* value) { SetReportArn(value); return *this;}
51
53
62 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
63 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
64 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
65 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
66 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
67 inline DescribeTestCasesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
68 inline DescribeTestCasesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
69 inline DescribeTestCasesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
71
73
78 inline int GetMaxResults() const{ return m_maxResults; }
79 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
80 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
81 inline DescribeTestCasesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
83
85
89 inline const TestCaseFilter& GetFilter() const{ return m_filter; }
90 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
91 inline void SetFilter(const TestCaseFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
92 inline void SetFilter(TestCaseFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
93 inline DescribeTestCasesRequest& WithFilter(const TestCaseFilter& value) { SetFilter(value); return *this;}
94 inline DescribeTestCasesRequest& WithFilter(TestCaseFilter&& value) { SetFilter(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_reportArn;
99 bool m_reportArnHasBeenSet = false;
100
101 Aws::String m_nextToken;
102 bool m_nextTokenHasBeenSet = false;
103
104 int m_maxResults;
105 bool m_maxResultsHasBeenSet = false;
106
107 TestCaseFilter m_filter;
108 bool m_filterHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace CodeBuild
113} // namespace Aws
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CODEBUILD_API Aws::String SerializePayload() const override
DescribeTestCasesRequest & WithReportArn(const Aws::String &value)
DescribeTestCasesRequest & WithNextToken(const char *value)
DescribeTestCasesRequest & WithMaxResults(int value)
DescribeTestCasesRequest & WithFilter(TestCaseFilter &&value)
DescribeTestCasesRequest & WithReportArn(const char *value)
DescribeTestCasesRequest & WithNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DescribeTestCasesRequest & WithFilter(const TestCaseFilter &value)
DescribeTestCasesRequest & WithReportArn(Aws::String &&value)
DescribeTestCasesRequest & WithNextToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String