/** * 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 GetRecommendationsRequest.

See * Also:

AWS * API Reference

*/ class GetRecommendationsRequest : public CodeGuruProfilerRequest { public: AWS_CODEGURUPROFILER_API GetRecommendationsRequest(); // 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 "GetRecommendations"; } AWS_CODEGURUPROFILER_API Aws::String SerializePayload() const override; AWS_CODEGURUPROFILER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

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& GetEndTime() const{ return m_endTime; } /** *

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 EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *

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 SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = 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 SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = 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 GetRecommendationsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(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 GetRecommendationsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *

The language used to provide analysis. Specify using a string that is one of * the following BCP 47 language codes.

  • * de-DE - German, Germany

  • en-GB - * English, United Kingdom

  • en-US - English, United * States

  • es-ES - Spanish, Spain

  • *

    fr-FR - French, France

  • it-IT - * Italian, Italy

  • ja-JP - Japanese, Japan

    *
  • ko-KR - Korean, Republic of Korea

  • *

    pt-BR - Portugese, Brazil

  • * zh-CN - Chinese, China

  • zh-TW - * Chinese, Taiwan

*/ inline const Aws::String& GetLocale() const{ return m_locale; } /** *

The language used to provide analysis. Specify using a string that is one of * the following BCP 47 language codes.

  • * de-DE - German, Germany

  • en-GB - * English, United Kingdom

  • en-US - English, United * States

  • es-ES - Spanish, Spain

  • *

    fr-FR - French, France

  • it-IT - * Italian, Italy

  • ja-JP - Japanese, Japan

    *
  • ko-KR - Korean, Republic of Korea

  • *

    pt-BR - Portugese, Brazil

  • * zh-CN - Chinese, China

  • zh-TW - * Chinese, Taiwan

*/ inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; } /** *

The language used to provide analysis. Specify using a string that is one of * the following BCP 47 language codes.

  • * de-DE - German, Germany

  • en-GB - * English, United Kingdom

  • en-US - English, United * States

  • es-ES - Spanish, Spain

  • *

    fr-FR - French, France

  • it-IT - * Italian, Italy

  • ja-JP - Japanese, Japan

    *
  • ko-KR - Korean, Republic of Korea

  • *

    pt-BR - Portugese, Brazil

  • * zh-CN - Chinese, China

  • zh-TW - * Chinese, Taiwan

*/ inline void SetLocale(const Aws::String& value) { m_localeHasBeenSet = true; m_locale = value; } /** *

The language used to provide analysis. Specify using a string that is one of * the following BCP 47 language codes.

  • * de-DE - German, Germany

  • en-GB - * English, United Kingdom

  • en-US - English, United * States

  • es-ES - Spanish, Spain

  • *

    fr-FR - French, France

  • it-IT - * Italian, Italy

  • ja-JP - Japanese, Japan

    *
  • ko-KR - Korean, Republic of Korea

  • *

    pt-BR - Portugese, Brazil

  • * zh-CN - Chinese, China

  • zh-TW - * Chinese, Taiwan

*/ inline void SetLocale(Aws::String&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); } /** *

The language used to provide analysis. Specify using a string that is one of * the following BCP 47 language codes.

  • * de-DE - German, Germany

  • en-GB - * English, United Kingdom

  • en-US - English, United * States

  • es-ES - Spanish, Spain

  • *

    fr-FR - French, France

  • it-IT - * Italian, Italy

  • ja-JP - Japanese, Japan

    *
  • ko-KR - Korean, Republic of Korea

  • *

    pt-BR - Portugese, Brazil

  • * zh-CN - Chinese, China

  • zh-TW - * Chinese, Taiwan

*/ inline void SetLocale(const char* value) { m_localeHasBeenSet = true; m_locale.assign(value); } /** *

The language used to provide analysis. Specify using a string that is one of * the following BCP 47 language codes.

  • * de-DE - German, Germany

  • en-GB - * English, United Kingdom

  • en-US - English, United * States

  • es-ES - Spanish, Spain

  • *

    fr-FR - French, France

  • it-IT - * Italian, Italy

  • ja-JP - Japanese, Japan

    *
  • ko-KR - Korean, Republic of Korea

  • *

    pt-BR - Portugese, Brazil

  • * zh-CN - Chinese, China

  • zh-TW - * Chinese, Taiwan

*/ inline GetRecommendationsRequest& WithLocale(const Aws::String& value) { SetLocale(value); return *this;} /** *

The language used to provide analysis. Specify using a string that is one of * the following BCP 47 language codes.

  • * de-DE - German, Germany

  • en-GB - * English, United Kingdom

  • en-US - English, United * States

  • es-ES - Spanish, Spain

  • *

    fr-FR - French, France

  • it-IT - * Italian, Italy

  • ja-JP - Japanese, Japan

    *
  • ko-KR - Korean, Republic of Korea

  • *

    pt-BR - Portugese, Brazil

  • * zh-CN - Chinese, China

  • zh-TW - * Chinese, Taiwan

*/ inline GetRecommendationsRequest& WithLocale(Aws::String&& value) { SetLocale(std::move(value)); return *this;} /** *

The language used to provide analysis. Specify using a string that is one of * the following BCP 47 language codes.

  • * de-DE - German, Germany

  • en-GB - * English, United Kingdom

  • en-US - English, United * States

  • es-ES - Spanish, Spain

  • *

    fr-FR - French, France

  • it-IT - * Italian, Italy

  • ja-JP - Japanese, Japan

    *
  • ko-KR - Korean, Republic of Korea

  • *

    pt-BR - Portugese, Brazil

  • * zh-CN - Chinese, China

  • zh-TW - * Chinese, Taiwan

*/ inline GetRecommendationsRequest& WithLocale(const char* value) { SetLocale(value); return *this;} /** *

The name of the profiling group to get analysis data about.

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

The name of the profiling group to get analysis data about.

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

The name of the profiling group to get analysis data about.

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

The name of the profiling group to get analysis data about.

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

The name of the profiling group to get analysis data about.

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

The name of the profiling group to get analysis data about.

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

The name of the profiling group to get analysis data about.

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

The name of the profiling group to get analysis data about.

*/ inline GetRecommendationsRequest& WithProfilingGroupName(const char* value) { SetProfilingGroupName(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& GetStartTime() const{ return m_startTime; } /** *

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 StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

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 SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = 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 SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = 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 GetRecommendationsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(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 GetRecommendationsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} private: Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; Aws::String m_locale; bool m_localeHasBeenSet = false; Aws::String m_profilingGroupName; bool m_profilingGroupNameHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; }; } // namespace Model } // namespace CodeGuruProfiler } // namespace Aws