AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetRecommendationsRequest.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/codeguruprofiler/CodeGuruProfilerRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace CodeGuruProfiler
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_CODEGURUPROFILER_API GetRecommendationsRequest() = default;
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "GetRecommendations"; }
40
41 AWS_CODEGURUPROFILER_API Aws::String SerializePayload() const override;
42
43 AWS_CODEGURUPROFILER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44
45
47
53 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
54 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
55 template<typename EndTimeT = Aws::Utils::DateTime>
56 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
57 template<typename EndTimeT = Aws::Utils::DateTime>
58 GetRecommendationsRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
60
62
75 inline const Aws::String& GetLocale() const { return m_locale; }
76 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
77 template<typename LocaleT = Aws::String>
78 void SetLocale(LocaleT&& value) { m_localeHasBeenSet = true; m_locale = std::forward<LocaleT>(value); }
79 template<typename LocaleT = Aws::String>
80 GetRecommendationsRequest& WithLocale(LocaleT&& value) { SetLocale(std::forward<LocaleT>(value)); return *this;}
82
84
87 inline const Aws::String& GetProfilingGroupName() const { return m_profilingGroupName; }
88 inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
89 template<typename ProfilingGroupNameT = Aws::String>
90 void SetProfilingGroupName(ProfilingGroupNameT&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::forward<ProfilingGroupNameT>(value); }
91 template<typename ProfilingGroupNameT = Aws::String>
92 GetRecommendationsRequest& WithProfilingGroupName(ProfilingGroupNameT&& value) { SetProfilingGroupName(std::forward<ProfilingGroupNameT>(value)); return *this;}
94
96
102 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
103 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
104 template<typename StartTimeT = Aws::Utils::DateTime>
105 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
106 template<typename StartTimeT = Aws::Utils::DateTime>
107 GetRecommendationsRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
109 private:
110
111 Aws::Utils::DateTime m_endTime{};
112 bool m_endTimeHasBeenSet = false;
113
114 Aws::String m_locale;
115 bool m_localeHasBeenSet = false;
116
117 Aws::String m_profilingGroupName;
118 bool m_profilingGroupNameHasBeenSet = false;
119
120 Aws::Utils::DateTime m_startTime{};
121 bool m_startTimeHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace CodeGuruProfiler
126} // namespace Aws
GetRecommendationsRequest & WithStartTime(StartTimeT &&value)
AWS_CODEGURUPROFILER_API GetRecommendationsRequest()=default
AWS_CODEGURUPROFILER_API Aws::String SerializePayload() const override
GetRecommendationsRequest & WithProfilingGroupName(ProfilingGroupNameT &&value)
AWS_CODEGURUPROFILER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetRecommendationsRequest & WithLocale(LocaleT &&value)
GetRecommendationsRequest & WithEndTime(EndTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String