AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PostAgentProfileRequest.h
1
6#pragma once
7#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/codeguruprofiler/CodeGuruProfilerRequest.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace CodeGuruProfiler
21{
22namespace Model
23{
24
32 {
33 public:
34 AWS_CODEGURUPROFILER_API PostAgentProfileRequest() = default;
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "PostAgentProfile"; }
41
42 AWS_CODEGURUPROFILER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
51 inline const Aws::String& GetProfileToken() const { return m_profileToken; }
52 inline bool ProfileTokenHasBeenSet() const { return m_profileTokenHasBeenSet; }
53 template<typename ProfileTokenT = Aws::String>
54 void SetProfileToken(ProfileTokenT&& value) { m_profileTokenHasBeenSet = true; m_profileToken = std::forward<ProfileTokenT>(value); }
55 template<typename ProfileTokenT = Aws::String>
56 PostAgentProfileRequest& WithProfileToken(ProfileTokenT&& value) { SetProfileToken(std::forward<ProfileTokenT>(value)); return *this;}
58
60
64 inline const Aws::String& GetProfilingGroupName() const { return m_profilingGroupName; }
65 inline bool ProfilingGroupNameHasBeenSet() const { return m_profilingGroupNameHasBeenSet; }
66 template<typename ProfilingGroupNameT = Aws::String>
67 void SetProfilingGroupName(ProfilingGroupNameT&& value) { m_profilingGroupNameHasBeenSet = true; m_profilingGroupName = std::forward<ProfilingGroupNameT>(value); }
68 template<typename ProfilingGroupNameT = Aws::String>
69 PostAgentProfileRequest& WithProfilingGroupName(ProfilingGroupNameT&& value) { SetProfilingGroupName(std::forward<ProfilingGroupNameT>(value)); return *this;}
71 private:
72
73
75 bool m_profileTokenHasBeenSet = true;
76
77 Aws::String m_profilingGroupName;
78 bool m_profilingGroupNameHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace CodeGuruProfiler
83} // namespace Aws
AWS_CODEGURUPROFILER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_CODEGURUPROFILER_API PostAgentProfileRequest()=default
PostAgentProfileRequest & WithProfilingGroupName(ProfilingGroupNameT &&value)
PostAgentProfileRequest & WithProfileToken(ProfileTokenT &&value)
bool ProfileTokenHasBeenSet() const
void SetProfilingGroupName(ProfilingGroupNameT &&value)
bool ProfilingGroupNameHasBeenSet() const
const Aws::String & GetProfilingGroupName() const
void SetProfileToken(ProfileTokenT &&value)
const Aws::String & GetProfileToken() const
virtual const char * GetServiceRequestName() const override
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String