AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetReportGroupTrendRequest.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/ReportGroupTrendFieldType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodeBuild
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CODEBUILD_API GetReportGroupTrendRequest() = default;
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 "GetReportGroupTrend"; }
32
33 AWS_CODEBUILD_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetReportGroupArn() const { return m_reportGroupArn; }
43 inline bool ReportGroupArnHasBeenSet() const { return m_reportGroupArnHasBeenSet; }
44 template<typename ReportGroupArnT = Aws::String>
45 void SetReportGroupArn(ReportGroupArnT&& value) { m_reportGroupArnHasBeenSet = true; m_reportGroupArn = std::forward<ReportGroupArnT>(value); }
46 template<typename ReportGroupArnT = Aws::String>
47 GetReportGroupTrendRequest& WithReportGroupArn(ReportGroupArnT&& value) { SetReportGroupArn(std::forward<ReportGroupArnT>(value)); return *this;}
49
51
56 inline int GetNumOfReports() const { return m_numOfReports; }
57 inline bool NumOfReportsHasBeenSet() const { return m_numOfReportsHasBeenSet; }
58 inline void SetNumOfReports(int value) { m_numOfReportsHasBeenSet = true; m_numOfReports = value; }
59 inline GetReportGroupTrendRequest& WithNumOfReports(int value) { SetNumOfReports(value); return *this;}
61
63
82 inline ReportGroupTrendFieldType GetTrendField() const { return m_trendField; }
83 inline bool TrendFieldHasBeenSet() const { return m_trendFieldHasBeenSet; }
84 inline void SetTrendField(ReportGroupTrendFieldType value) { m_trendFieldHasBeenSet = true; m_trendField = value; }
87 private:
88
89 Aws::String m_reportGroupArn;
90 bool m_reportGroupArnHasBeenSet = false;
91
92 int m_numOfReports{0};
93 bool m_numOfReportsHasBeenSet = false;
94
96 bool m_trendFieldHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace CodeBuild
101} // namespace Aws
GetReportGroupTrendRequest & WithTrendField(ReportGroupTrendFieldType value)
AWS_CODEBUILD_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
GetReportGroupTrendRequest & WithNumOfReports(int value)
GetReportGroupTrendRequest & WithReportGroupArn(ReportGroupArnT &&value)
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CODEBUILD_API GetReportGroupTrendRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String