/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace CodeGuruProfiler { namespace Model { /** *

The structure representing the ListFindingsReportsRequest.

See * Also:

AWS * API Reference

*/ class ListFindingsReportsRequest : public CodeGuruProfilerRequest { public: AWS_CODEGURUPROFILER_API ListFindingsReportsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListFindingsReports"; } AWS_CODEGURUPROFILER_API Aws::String SerializePayload() const override; AWS_CODEGURUPROFILER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

A Boolean value indicating whether to only return reports from * daily profiles. If set to True, only analysis data from daily * profiles is returned. If set to False, analysis data is returned * from smaller time windows (for example, one hour).

*/ inline bool GetDailyReportsOnly() const{ return m_dailyReportsOnly; } /** *

A Boolean value indicating whether to only return reports from * daily profiles. If set to True, only analysis data from daily * profiles is returned. If set to False, analysis data is returned * from smaller time windows (for example, one hour).

*/ inline bool DailyReportsOnlyHasBeenSet() const { return m_dailyReportsOnlyHasBeenSet; } /** *

A Boolean value indicating whether to only return reports from * daily profiles. If set to True, only analysis data from daily * profiles is returned. If set to False, analysis data is returned * from smaller time windows (for example, one hour).

*/ inline void SetDailyReportsOnly(bool value) { m_dailyReportsOnlyHasBeenSet = true; m_dailyReportsOnly = value; } /** *

A Boolean value indicating whether to only return reports from * daily profiles. If set to True, only analysis data from daily * profiles is returned. If set to False, analysis data is returned * from smaller time windows (for example, one hour).

*/ inline ListFindingsReportsRequest& WithDailyReportsOnly(bool value) { SetDailyReportsOnly(value); return *this;} /** *

The end time of the profile to get analysis data about. You must specify * startTime and endTime. This is specified using the ISO * 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past * June 1, 2020 1:15:02 PM UTC.

*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *

The end time of the profile to get analysis data about. You must specify * startTime and endTime. This is specified using the ISO * 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past * June 1, 2020 1:15:02 PM UTC.

*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *

The end time of the profile to get analysis data about. You must specify * startTime and endTime. This is specified using the ISO * 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past * June 1, 2020 1:15:02 PM UTC.

*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *

The end time of the profile to get analysis data about. You must specify * startTime and endTime. This is specified using the ISO * 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past * June 1, 2020 1:15:02 PM UTC.

*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *

The end time of the profile to get analysis data about. You must specify * startTime and endTime. This is specified using the ISO * 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past * June 1, 2020 1:15:02 PM UTC.

*/ inline ListFindingsReportsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

The end time of the profile to get analysis data about. You must specify * startTime and endTime. This is specified using the ISO * 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past * June 1, 2020 1:15:02 PM UTC.

*/ inline ListFindingsReportsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *

The maximum number of report results returned by * ListFindingsReports in paginated output. When this parameter is * used, ListFindingsReports only returns maxResults * results in a single page along with a nextToken response element. * The remaining results of the initial request can be seen by sending another * ListFindingsReports request with the returned * nextToken value.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of report results returned by * ListFindingsReports in paginated output. When this parameter is * used, ListFindingsReports only returns maxResults * results in a single page along with a nextToken response element. * The remaining results of the initial request can be seen by sending another * ListFindingsReports request with the returned * nextToken value.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of report results returned by * ListFindingsReports in paginated output. When this parameter is * used, ListFindingsReports only returns maxResults * results in a single page along with a nextToken response element. * The remaining results of the initial request can be seen by sending another * ListFindingsReports request with the returned * nextToken value.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of report results returned by * ListFindingsReports in paginated output. When this parameter is * used, ListFindingsReports only returns maxResults * results in a single page along with a nextToken response element. * The remaining results of the initial request can be seen by sending another * ListFindingsReports request with the returned * nextToken value.

*/ inline ListFindingsReportsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

The nextToken value returned from a previous paginated * ListFindingsReportsRequest request where maxResults * was used and the results exceeded the value of that parameter. Pagination * continues from the end of the previous results that returned the * nextToken value.

This token should be treated as an * opaque identifier that is only used to retrieve the next items in a list and not * for other programmatic purposes.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The nextToken value returned from a previous paginated * ListFindingsReportsRequest request where maxResults * was used and the results exceeded the value of that parameter. Pagination * continues from the end of the previous results that returned the * nextToken value.

This token should be treated as an * opaque identifier that is only used to retrieve the next items in a list and not * for other programmatic purposes.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

The nextToken value returned from a previous paginated * ListFindingsReportsRequest request where maxResults * was used and the results exceeded the value of that parameter. Pagination * continues from the end of the previous results that returned the * nextToken value.

This token should be treated as an * opaque identifier that is only used to retrieve the next items in a list and not * for other programmatic purposes.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

The nextToken value returned from a previous paginated * ListFindingsReportsRequest request where maxResults * was used and the results exceeded the value of that parameter. Pagination * continues from the end of the previous results that returned the * nextToken value.

This token should be treated as an * opaque identifier that is only used to retrieve the next items in a list and not * for other programmatic purposes.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

The nextToken value returned from a previous paginated * ListFindingsReportsRequest request where maxResults * was used and the results exceeded the value of that parameter. Pagination * continues from the end of the previous results that returned the * nextToken value.

This token should be treated as an * opaque identifier that is only used to retrieve the next items in a list and not * for other programmatic purposes.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

The nextToken value returned from a previous paginated * ListFindingsReportsRequest request where maxResults * was used and the results exceeded the value of that parameter. Pagination * continues from the end of the previous results that returned the * nextToken value.

This token should be treated as an * opaque identifier that is only used to retrieve the next items in a list and not * for other programmatic purposes.

*/ inline ListFindingsReportsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The nextToken value returned from a previous paginated * ListFindingsReportsRequest request where maxResults * was used and the results exceeded the value of that parameter. Pagination * continues from the end of the previous results that returned the * nextToken value.

This token should be treated as an * opaque identifier that is only used to retrieve the next items in a list and not * for other programmatic purposes.

*/ inline ListFindingsReportsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The nextToken value returned from a previous paginated * ListFindingsReportsRequest request where maxResults * was used and the results exceeded the value of that parameter. Pagination * continues from the end of the previous results that returned the * nextToken value.

This token should be treated as an * opaque identifier that is only used to retrieve the next items in a list and not * for other programmatic purposes.

*/ inline ListFindingsReportsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The name of the profiling group from which to search for analysis data.

*/ inline const Aws::String& GetProfilingGroupName() const{ return m_profilingGroupName; } /** *

The name of the profiling group from which to search for analysis data.

*/ inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; } /** *

The name of the profiling group from which to search for analysis data.

*/ inline void SetProfilingGroupName(const Aws::String& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = value; } /** *

The name of the profiling group from which to search for analysis data.

*/ inline void SetProfilingGroupName(Aws::String&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::move(value); } /** *

The name of the profiling group from which to search for analysis data.

*/ inline void SetProfilingGroupName(const char* value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName.assign(value); } /** *

The name of the profiling group from which to search for analysis data.

*/ inline ListFindingsReportsRequest& WithProfilingGroupName(const Aws::String& value) { SetProfilingGroupName(value); return *this;} /** *

The name of the profiling group from which to search for analysis data.

*/ inline ListFindingsReportsRequest& WithProfilingGroupName(Aws::String&& value) { SetProfilingGroupName(std::move(value)); return *this;} /** *

The name of the profiling group from which to search for analysis data.

*/ inline ListFindingsReportsRequest& WithProfilingGroupName(const char* value) { SetProfilingGroupName(value); return *this;} /** *

The start time of the profile to get analysis data about. You must specify * startTime and endTime. This is specified using the ISO * 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past * June 1, 2020 1:15:02 PM UTC.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

The start time of the profile to get analysis data about. You must specify * startTime and endTime. This is specified using the ISO * 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past * June 1, 2020 1:15:02 PM UTC.

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

The start time of the profile to get analysis data about. You must specify * startTime and endTime. This is specified using the ISO * 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past * June 1, 2020 1:15:02 PM UTC.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

The start time of the profile to get analysis data about. You must specify * startTime and endTime. This is specified using the ISO * 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past * June 1, 2020 1:15:02 PM UTC.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

The start time of the profile to get analysis data about. You must specify * startTime and endTime. This is specified using the ISO * 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past * June 1, 2020 1:15:02 PM UTC.

*/ inline ListFindingsReportsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

The start time of the profile to get analysis data about. You must specify * startTime and endTime. This is specified using the ISO * 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past * June 1, 2020 1:15:02 PM UTC.

*/ inline ListFindingsReportsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} private: bool m_dailyReportsOnly; bool m_dailyReportsOnlyHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_profilingGroupName; bool m_profilingGroupNameHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; }; } // namespace Model } // namespace CodeGuruProfiler } // namespace Aws