AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetProfileRequest.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/codeguruprofiler/CodeGuruProfilerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.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 GetProfileRequest();
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 "GetProfile"; }
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 AWS_CODEGURUPROFILER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
46
47
49
60 inline const Aws::String& GetAccept() const{ return m_accept; }
61 inline bool AcceptHasBeenSet() const { return m_acceptHasBeenSet; }
62 inline void SetAccept(const Aws::String& value) { m_acceptHasBeenSet = true; m_accept = value; }
63 inline void SetAccept(Aws::String&& value) { m_acceptHasBeenSet = true; m_accept = std::move(value); }
64 inline void SetAccept(const char* value) { m_acceptHasBeenSet = true; m_accept.assign(value); }
65 inline GetProfileRequest& WithAccept(const Aws::String& value) { SetAccept(value); return *this;}
66 inline GetProfileRequest& WithAccept(Aws::String&& value) { SetAccept(std::move(value)); return *this;}
67 inline GetProfileRequest& WithAccept(const char* value) { SetAccept(value); return *this;}
69
71
77 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
78 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
79 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
80 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
81 inline GetProfileRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
82 inline GetProfileRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
84
86
94 inline int GetMaxDepth() const{ return m_maxDepth; }
95 inline bool MaxDepthHasBeenSet() const { return m_maxDepthHasBeenSet; }
96 inline void SetMaxDepth(int value) { m_maxDepthHasBeenSet = true; m_maxDepth = value; }
97 inline GetProfileRequest& WithMaxDepth(int value) { SetMaxDepth(value); return *this;}
99
101
108 inline const Aws::String& GetPeriod() const{ return m_period; }
109 inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; }
110 inline void SetPeriod(const Aws::String& value) { m_periodHasBeenSet = true; m_period = value; }
111 inline void SetPeriod(Aws::String&& value) { m_periodHasBeenSet = true; m_period = std::move(value); }
112 inline void SetPeriod(const char* value) { m_periodHasBeenSet = true; m_period.assign(value); }
113 inline GetProfileRequest& WithPeriod(const Aws::String& value) { SetPeriod(value); return *this;}
114 inline GetProfileRequest& WithPeriod(Aws::String&& value) { SetPeriod(std::move(value)); return *this;}
115 inline GetProfileRequest& WithPeriod(const char* value) { SetPeriod(value); return *this;}
117
119
122 inline const Aws::String& GetProfilingGroupName() const{ return m_profilingGroupName; }
123 inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
124 inline void SetProfilingGroupName(const Aws::String& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = value; }
125 inline void SetProfilingGroupName(Aws::String&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::move(value); }
126 inline void SetProfilingGroupName(const char* value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName.assign(value); }
127 inline GetProfileRequest& WithProfilingGroupName(const Aws::String& value) { SetProfilingGroupName(value); return *this;}
128 inline GetProfileRequest& WithProfilingGroupName(Aws::String&& value) { SetProfilingGroupName(std::move(value)); return *this;}
129 inline GetProfileRequest& WithProfilingGroupName(const char* value) { SetProfilingGroupName(value); return *this;}
131
133
141 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
142 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
143 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
144 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
145 inline GetProfileRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
146 inline GetProfileRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
148 private:
149
150 Aws::String m_accept;
151 bool m_acceptHasBeenSet = false;
152
153 Aws::Utils::DateTime m_endTime;
154 bool m_endTimeHasBeenSet = false;
155
156 int m_maxDepth;
157 bool m_maxDepthHasBeenSet = false;
158
159 Aws::String m_period;
160 bool m_periodHasBeenSet = false;
161
162 Aws::String m_profilingGroupName;
163 bool m_profilingGroupNameHasBeenSet = false;
164
165 Aws::Utils::DateTime m_startTime;
166 bool m_startTimeHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace CodeGuruProfiler
171} // namespace Aws
virtual const char * GetServiceRequestName() const override
GetProfileRequest & WithAccept(const Aws::String &value)
void SetStartTime(const Aws::Utils::DateTime &value)
GetProfileRequest & WithEndTime(Aws::Utils::DateTime &&value)
GetProfileRequest & WithStartTime(Aws::Utils::DateTime &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
AWS_CODEGURUPROFILER_API GetProfileRequest()
GetProfileRequest & WithProfilingGroupName(const Aws::String &value)
GetProfileRequest & WithAccept(const char *value)
AWS_CODEGURUPROFILER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_CODEGURUPROFILER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetProfileRequest & WithPeriod(const char *value)
const Aws::Utils::DateTime & GetEndTime() const
GetProfileRequest & WithProfilingGroupName(const char *value)
AWS_CODEGURUPROFILER_API Aws::String SerializePayload() const override
void SetEndTime(Aws::Utils::DateTime &&value)
GetProfileRequest & WithEndTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartTime() const
GetProfileRequest & WithProfilingGroupName(Aws::String &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
GetProfileRequest & WithAccept(Aws::String &&value)
GetProfileRequest & WithStartTime(const Aws::Utils::DateTime &value)
GetProfileRequest & WithPeriod(const Aws::String &value)
void SetProfilingGroupName(const Aws::String &value)
GetProfileRequest & WithPeriod(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String