AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetReportGroupArn(const Aws::String& value) { m_reportGroupArnHasBeenSet = true; m_reportGroupArn = value; }
45 inline void SetReportGroupArn(Aws::String&& value) { m_reportGroupArnHasBeenSet = true; m_reportGroupArn = std::move(value); }
46 inline void SetReportGroupArn(const char* value) { m_reportGroupArnHasBeenSet = true; m_reportGroupArn.assign(value); }
47 inline GetReportGroupTrendRequest& WithReportGroupArn(const Aws::String& value) { SetReportGroupArn(value); return *this;}
48 inline GetReportGroupTrendRequest& WithReportGroupArn(Aws::String&& value) { SetReportGroupArn(std::move(value)); return *this;}
49 inline GetReportGroupTrendRequest& WithReportGroupArn(const char* value) { SetReportGroupArn(value); return *this;}
51
53
58 inline int GetNumOfReports() const{ return m_numOfReports; }
59 inline bool NumOfReportsHasBeenSet() const { return m_numOfReportsHasBeenSet; }
60 inline void SetNumOfReports(int value) { m_numOfReportsHasBeenSet = true; m_numOfReports = value; }
61 inline GetReportGroupTrendRequest& WithNumOfReports(int value) { SetNumOfReports(value); return *this;}
63
65
84 inline const ReportGroupTrendFieldType& GetTrendField() const{ return m_trendField; }
85 inline bool TrendFieldHasBeenSet() const { return m_trendFieldHasBeenSet; }
86 inline void SetTrendField(const ReportGroupTrendFieldType& value) { m_trendFieldHasBeenSet = true; m_trendField = value; }
87 inline void SetTrendField(ReportGroupTrendFieldType&& value) { m_trendFieldHasBeenSet = true; m_trendField = std::move(value); }
89 inline GetReportGroupTrendRequest& WithTrendField(ReportGroupTrendFieldType&& value) { SetTrendField(std::move(value)); return *this;}
91 private:
92
93 Aws::String m_reportGroupArn;
94 bool m_reportGroupArnHasBeenSet = false;
95
96 int m_numOfReports;
97 bool m_numOfReportsHasBeenSet = false;
98
99 ReportGroupTrendFieldType m_trendField;
100 bool m_trendFieldHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace CodeBuild
105} // namespace Aws
GetReportGroupTrendRequest & WithTrendField(ReportGroupTrendFieldType &&value)
void SetTrendField(const ReportGroupTrendFieldType &value)
AWS_CODEBUILD_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
GetReportGroupTrendRequest & WithNumOfReports(int value)
GetReportGroupTrendRequest & WithTrendField(const ReportGroupTrendFieldType &value)
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const ReportGroupTrendFieldType & GetTrendField() const
void SetTrendField(ReportGroupTrendFieldType &&value)
GetReportGroupTrendRequest & WithReportGroupArn(const char *value)
GetReportGroupTrendRequest & WithReportGroupArn(const Aws::String &value)
GetReportGroupTrendRequest & WithReportGroupArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String