AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
56 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
57 inline GetRecommendationsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
58 inline GetRecommendationsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
60
62
75 inline const Aws::String& GetLocale() const{ return m_locale; }
76 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
77 inline void SetLocale(const Aws::String& value) { m_localeHasBeenSet = true; m_locale = value; }
78 inline void SetLocale(Aws::String&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
79 inline void SetLocale(const char* value) { m_localeHasBeenSet = true; m_locale.assign(value); }
80 inline GetRecommendationsRequest& WithLocale(const Aws::String& value) { SetLocale(value); return *this;}
81 inline GetRecommendationsRequest& WithLocale(Aws::String&& value) { SetLocale(std::move(value)); return *this;}
82 inline GetRecommendationsRequest& WithLocale(const char* value) { SetLocale(value); return *this;}
84
86
89 inline const Aws::String& GetProfilingGroupName() const{ return m_profilingGroupName; }
90 inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
91 inline void SetProfilingGroupName(const Aws::String& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = value; }
92 inline void SetProfilingGroupName(Aws::String&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::move(value); }
93 inline void SetProfilingGroupName(const char* value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName.assign(value); }
95 inline GetRecommendationsRequest& WithProfilingGroupName(Aws::String&& value) { SetProfilingGroupName(std::move(value)); return *this;}
96 inline GetRecommendationsRequest& WithProfilingGroupName(const char* value) { SetProfilingGroupName(value); return *this;}
98
100
106 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
107 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
108 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
109 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
110 inline GetRecommendationsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
111 inline GetRecommendationsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
113 private:
114
115 Aws::Utils::DateTime m_endTime;
116 bool m_endTimeHasBeenSet = false;
117
118 Aws::String m_locale;
119 bool m_localeHasBeenSet = false;
120
121 Aws::String m_profilingGroupName;
122 bool m_profilingGroupNameHasBeenSet = false;
123
124 Aws::Utils::DateTime m_startTime;
125 bool m_startTimeHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace CodeGuruProfiler
130} // namespace Aws
GetRecommendationsRequest & WithProfilingGroupName(Aws::String &&value)
GetRecommendationsRequest & WithStartTime(Aws::Utils::DateTime &&value)
AWS_CODEGURUPROFILER_API Aws::String SerializePayload() const override
GetRecommendationsRequest & WithLocale(Aws::String &&value)
GetRecommendationsRequest & WithProfilingGroupName(const Aws::String &value)
GetRecommendationsRequest & WithEndTime(Aws::Utils::DateTime &&value)
GetRecommendationsRequest & WithLocale(const Aws::String &value)
GetRecommendationsRequest & WithLocale(const char *value)
GetRecommendationsRequest & WithProfilingGroupName(const char *value)
AWS_CODEGURUPROFILER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetRecommendationsRequest & WithStartTime(const Aws::Utils::DateTime &value)
GetRecommendationsRequest & WithEndTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String